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AAC6jB,EAAAA,GAAa,KACZ7jB,EAAAA,cAAC8jB,GAActL,KAKzB,EChBMuL,GAAO/Y,SAASgZ,eAAe,WACrC,GAAID,GAAM,CACR,IAAME,IAAOC,EAAAA,EAAAA,GAAWH,IAClBrb,GAAOyb,KAAKC,MAAML,GAAKxU,aAAa,SAC1C0U,GAAKI,OAAOrkB,EAAAA,cAACskB,GAAQ5b,IACvB","sources":["webpack://partner/./app/javascript/react_dash/components/new_user_page/Sidebar.module.scss?ff1c","webpack://partner/./app/javascript/react_dash/components/new_user_page/Sidebar.jsx","webpack://partner/./app/javascript/react_dash/components/new_user_page/api.js","webpack://partner/./app/javascript/react_dash/components/new_user_page/index.module.scss?95d2","webpack://partner/./app/javascript/react_dash/components/helper.js","webpack://partner/./app/javascript/react_dash/components/new_user_page/NewUserForm.jsx","webpack://partner/./app/javascript/react_dash/components/layout/index.module.scss?ebf3","webpack://partner/./app/javascript/react_dash/components/new_user_page/index.jsx","webpack://partner/./app/javascript/react_dash/components/form_submitted/index.jsx","webpack://partner/./app/javascript/react_dash/components/form_submitted/index.module.scss?694d","webpack://partner/./app/javascript/react_dash/components/layout/Sidebar.module.scss?819d","webpack://partner/./app/javascript/react_dash/components/layout/Sidebar.jsx","webpack://partner/./app/javascript/react_dash/api/services.js","webpack://partner/./app/javascript/react_dash/components/settings/api.js","webpack://partner/./app/javascript/react_dash/components/layout/MobileMenu.jsx","webpack://partner/./app/javascript/react_dash/api/axios.js","webpack://partner/./app/javascript/react_dash/context/AxiosContext.jsx","webpack://partner/./app/javascript/react_dash/components/layout/index.jsx","webpack://partner/./app/javascript/utils/index.js","webpack://partner/./app/javascript/react_dash/components/dashboard/ReviewBanner.jsx","webpack://partner/./app/javascript/react_dash/components/dashboard/api.js","webpack://partner/./app/javascript/react_dash/components/dashboard/Analytics.jsx","webpack://partner/./app/javascript/react_dash/components/dashboard/Graph.jsx","webpack://partner/./app/javascript/react_dash/components/dashboard/index.jsx","webpack://partner/./app/javascript/react_dash/components/referrals/api.js","webpack://partner/./app/javascript/react_dash/components/page_header/index.jsx","webpack://partner/./app/javascript/react_dash/components/referrals/index.jsx","webpack://partner/./app/javascript/react_dash/components/settings/Email.jsx","webpack://partner/./app/javascript/react_dash/components/settings/Name.jsx","webpack://partner/./app/javascript/react_dash/components/settings/Business.jsx","webpack://partner/./app/javascript/react_dash/components/settings/Account.jsx","webpack://partner/./app/javascript/react_dash/components/settings/Body.jsx","webpack://partner/./app/javascript/react_dash/components/settings/index.module.scss?1db7","webpack://partner/./app/javascript/react_dash/components/settings/index.jsx","webpack://partner/./app/javascript/react_dash/components/common/ToastMessage.jsx","webpack://partner/./app/javascript/react_dash/components/common/index.module.scss?2e02","webpack://partner/./app/javascript/react_dash/components/payouts/index.jsx","webpack://partner/./app/javascript/react_dash/components/payouts/index.module.scss?df6e","webpack://partner/./app/javascript/react_dash/components/payouts/api.js","webpack://partner/./app/javascript/react_dash/components/affiliate_links/api.js","webpack://partner/./app/javascript/react_dash/components/affiliate_links/index.module.scss?8925","webpack://partner/./app/javascript/react_dash/components/affiliate_links/Table.jsx","webpack://partner/./app/javascript/react_dash/components/affiliate_links/TableHeader.jsx","webpack://partner/./app/javascript/react_dash/components/affiliate_links/index.jsx","webpack://partner/./app/javascript/react_dash/components/help/index.module.scss?cb16","webpack://partner/./app/javascript/react_dash/components/help/index.jsx","webpack://partner/./app/javascript/react_dash/components/visitors/api.js","webpack://partner/./app/javascript/react_dash/components/visitors/index.jsx","webpack://partner/./app/javascript/react_dash/routes.jsx","webpack://partner/./app/javascript/react_dash/App.jsx","webpack://partner/./app/javascript/react_dash/index.jsx"],"sourcesContent":["// extracted by mini-css-extract-plugin\nvar _1 = \"nCfxnqcRLscDWtBkDOov\";\nvar _2 = \"PUKhwRDksHOWOnfz9DLn\";\nvar _3 = \"SDdW6wY_mYGmNb3iQHge\";\nvar _4 = \"Cv_s14v4lBti_zZDBOyd\";\nvar _5 = \"KWpNzDLlYqqSBfOxDNJ_\";\nvar _6 = \"_Ij5VqyjAN2exaoRsFYA\";\nvar _7 = \"XNwg3Qe_M9S0CBYj9TJg\";\nvar _8 = \"ATBof5N5CwF9q3c0gkdW\";\nexport { _1 as \"body\", _2 as \"color\", _3 as \"container\", _4 as \"flex\", _5 as \"headContainer\", _6 as \"heading\", _7 as \"link\", _8 as \"listContainer\" }\n","import React from \"react\";\nimport { BlockStack, Link, Text, useBreakpoints, } from \"@shopify/polaris\";\nimport * as styles from \"./Sidebar.module.scss\";\nimport check from \"../../../assets/check.svg\";\n\nconst Sidebar = () => {\n const { smUp } = useBreakpoints();\n return (\n
\n \n
\n
\n Build world-class shopping experiences for your client and earn 20% revenue share on referrals.\n
\n \n Our largest partner earned $10K+ in 2023\n
\n
\n\n
\n
\n
\n \"\"\n
\n
Trusted by over 25000+ Shopify stores
\n
\n
\n
\n \"\"\n
\n
Powering over 1,000+ Shopify Plus stores
\n
\n
\n
\n \"\"\n
\n
4.9 star rating by thousands of satisfied brands
\n
\n
\n\n
\n Go to{' '}\n \n shopify app store\n \n
\n \n \n );\n};\n\n\nSidebar.propTypes = {\n // shop: PropTypes.object.isRequired,\n};\n\nexport default Sidebar;\n","import {\n useMutation,\n} from '@tanstack/react-query';\nimport axios from 'axios';\n\nconst CREATE_PARTNER = '/partners/create';\n\nexport function useCreatePartner({...requestOptions }) {\n return useMutation({\n ...requestOptions,\n mutationFn:(postBody) => axios.post(CREATE_PARTNER, postBody),\n });\n}","// extracted by mini-css-extract-plugin\nvar _1 = \"jbsfiz9pOu3Nm3Qzarpw\";\nvar _2 = \"Kue4HaU5aXQYS_FwN4Fk\";\nvar _3 = \"q_Q2MPPEuAYNzFJl4voC\";\nvar _4 = \"EuEjfSj3OzVZDrvOpLdB\";\nvar _5 = \"eljL9TG6CvbhmYzVMTCh\";\nvar _6 = \"ZZ_9fKlyINjlJoVsPlTV\";\nexport { _1 as \"formMargin\", _2 as \"imageStyle\", _3 as \"images\", _4 as \"mobilePage\", _5 as \"page\", _6 as \"pageHeight\" }\n","export const businessTypeOptions = [\n { label: 'Select business type', value: 'select' },\n { label: 'Shopify expert', value: 'shopify_expert' },\n { label: 'App developer', value: 'app_developer' },\n { label: 'Theme developer', value: 'theme_developer' },\n { label: 'e-commerce advisor', value: 'ecommerce_advisor' },\n { label: 'Content creator', value: 'content_creator' },\n { label: 'Other', value: 'other' },\n];\n\nexport const promoteOptions = [\n { label: 'Select promotion', value: 'select' },\n { label: 'Social media', value: 'social_media' },\n { label: 'Blog', value: 'blog' },\n { label: 'Recommend to clients', value: 'recommend_to_clients' },\n { label: 'Use in my own store', value: 'use_in_my_own_store' },\n { label: 'Paid ads', value: 'paid_ads' },\n { label: 'Email/Newsletter', value: 'email_newsletter' },\n { label: 'Other', value: 'other' },\n];\n\nexport const perksOptions = [\n { label: \"20% revenue share for myself sounds good\", value: \"affiliate_fee\" },\n { label: \"I don't need any perk, you may give 20% discount to the store\", value: \"merchant_discount\" },\n];","import React, { useEffect } from \"react\";\nimport { useForm, useField, notEmpty } from \"@shopify/react-form\";\nimport { BlockStack, Button, Card, Form, InlineGrid, InlineStack, Select, Text, TextField, useBreakpoints } from \"@shopify/polaris\";\nimport { useCreatePartner } from \"./api\";\nimport { useNavigate } from \"react-router-dom\";\nimport * as styles from \"./index.module.scss\";\nimport { businessTypeOptions, promoteOptions, perksOptions } from \"../helper\";\n\n\nconst NewUserForm = () => {\n const navigate = useNavigate();\n const { smUp, smDown } = useBreakpoints();\n\n const {\n mutate,\n isLoading,\n } = useCreatePartner({\n onSuccess: (response) => {\n response.data.errors.forEach((error) => {\n const messages = error.split(':');\n if (error.includes(\"Email\")) {\n fields.email.setError(messages[messages.length - 1]);\n }\n });\n if (response.data.status == 200) {\n reset();\n navigate(`/partners/form-submit?email=${fields.email.value}`);\n }\n },\n });\n const { fields, submit, dirty, reset } = useForm({\n // initial values\n fields: {\n first_name: useField({\n value: \"\",\n validates: [notEmpty(\"First name is required\")],\n }),\n last_name: useField({\n value: \"\",\n validates: [notEmpty(\"Last name is required\")],\n }),\n email: useField({\n value: \"\",\n validates: [\n notEmpty(\"Email is required\"),\n value => {\n const emailRegex = /^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/;\n if (!emailRegex.test(value)) return 'Please enter a valid email address';\n }\n ],\n }),\n company_name: useField({\n value: \"\",\n validates: [notEmpty(\"Business name is required\")],\n }),\n url: useField({\n value: \"\",\n validates: [notEmpty(\"Website is required\")],\n }),\n business_profile: useField({\n value: businessTypeOptions[0].value,\n validates: [\n notEmpty(\"Business type is required\"),\n (value) => {\n if (value === \"select\") {\n return \"Business type is required\";\n }\n return null;\n }\n ],\n }),\n promotion_type: useField({\n value: promoteOptions[0].value,\n validates: [\n notEmpty(\"Promotion type is required\"),\n (value) => {\n if (value === \"select\") {\n return \"Promotion type is required\";\n }\n return null;\n }\n ],\n }),\n discount_or_fee: useField({\n value: perksOptions[0].value,\n validates: [\n notEmpty(\"Perks is required\"),\n (value) => {\n if (value === \"select\") {\n return \"Perks is required\";\n }\n return null;\n }\n ],\n }),\n },\n // submit function\n onSubmit: async (form) => {\n mutate(form);\n return { status: \"success\" };\n },\n });\n\n const handleSignIn = () => {\n window.location.href = '/referrer_auths/sign_in';\n };\n\n useEffect(() => {\n if (smDown) {\n const thElements = document.querySelectorAll('.form-container form div');\n if (thElements.length > 0) {\n thElements[0].style.removeProperty('--pc-shadow-bevel-content-xs');\n }\n }\n }, [smDown]);\n\n return (\n
\n
\n \n
\n \n
\n \n \n Become a partner, sign up\n \n Already have an account?\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n \n \n \n );\n};\n\nexport default NewUserForm;\n","// extracted by mini-css-extract-plugin\nvar _1 = \"dvOYYmuga1Z2g9DmI5tG\";\nvar _2 = \"KtW3vESQHOE52JGWHdY6\";\nvar _3 = \"eH34ravHXb1mk82kUrMl\";\nvar _4 = \"bgBj2GMyVg16YczkBcsa\";\nvar _5 = \"TYsmxyYEyM0nwWZrlYm2\";\nvar _6 = \"No2ucM9bSxSa5_oCgKYG\";\nexport { _1 as \"activator\", _2 as \"header\", _3 as \"imageContainer\", _4 as \"images\", _5 as \"marginForLogout\", _6 as \"top\" }\n","import React from \"react\";\nimport { InlineGrid, useBreakpoints } from \"@shopify/polaris\";\nimport Sidebar from \"./Sidebar\";\nimport NewUserForm from \"./NewUserForm\";\nimport * as layoutStyles from '../layout/index.module.scss';\nimport * as styles from './index.module.scss';\n\nconst Body = () => {\n const { smUp } = useBreakpoints();\n return (\n \n \n
\n \n
\n \n
\n \n );\n};\n\nconst NewUserPage = () => {\n const { smUp } = useBreakpoints();\n return (\n
\n \n \n \n {\n smUp ?\n
\n \n
:\n \n }\n
\n );\n};\n\nexport default NewUserPage;\n","import React from \"react\";\nimport { Card, BlockStack, Text, useBreakpoints } from \"@shopify/polaris\";\nimport { useSearchParams } from \"react-router-dom\";\nimport * as styles from \"./index.module.scss\";\nimport PropTypes from \"prop-types\";\n\nconst Body = ({ email }) => {\n return (\n \n \n
\n
\n \"check\"\n\n
\n Thank You!\n Your application has been submitted for review. Please verify your email at {email} to complete the application.\n
\n \n
\n );\n};\n\nconst FormSubmitted = () => {\n const [searchParams] = useSearchParams();\n const email = searchParams.get('email') || 'your email';\n const { smUp } = useBreakpoints();\n\n return (\n smUp ? (\n
\n \n
\n ) : (\n \n )\n );\n\n};\n\nBody.propTypes = {\n email: PropTypes.any,\n};\n\nexport default FormSubmitted;\n","// extracted by mini-css-extract-plugin\nvar _1 = \"UnF0qcHHXhMCpPut_53Q\";\nvar _2 = \"g8oNNIEtSYSOqWO4lBem\";\nexport { _1 as \"container\", _2 as \"imageStyle\" }\n","// extracted by mini-css-extract-plugin\nvar _1 = \"oPmsBHfAOSok2jwo4zTo\";\nvar _2 = \"mnMVILtgVgVaRtPYMVAk\";\nvar _3 = \"MDhHK5pbdAUMvh2WiY_K\";\nexport { _1 as \"bottomPadding\", _2 as \"container\", _3 as \"maxHeight\" }\n","import { Icon } from '@shopify/polaris';\nimport React from 'react';\nimport { HomeIcon, SettingsIcon, ChatReferralIcon, TeamIcon, AffiliateIcon, ReceiptDollarIcon, QuestionCircleIcon, LockIcon } from '@shopify/polaris-icons';\nimport { Link, useLocation } from 'react-router-dom';\nimport * as styles from './Sidebar.module.scss';\n\nconst allowedUrls = [\"dashboard\", \"help\", \"settings\"];\nconst findLink = (currentUrl, admin_review) => {\n if (allowedUrls.includes(currentUrl)) return currentUrl;\n\n if (!admin_review) return \"dashboard\";\n\n return currentUrl;\n};\n\nconst Sidebar = ({ admin_review }) => {\n const location = useLocation(); // Get the current location pathname\n const pathname = location.pathname;\n\n const pathSegments = pathname.split('/');\n const lastSegment = pathSegments[pathSegments.length - 1];\n\n\n const routes = [\n {\n id: 1,\n url: 'dashboard',\n label: 'Dashboard',\n selected: false,\n icon: HomeIcon,\n subNavigationItems: [],\n },\n {\n id: 2,\n url: 'visitors',\n label: 'Visitors',\n selected: false,\n icon: TeamIcon,\n subNavigationItems: [],\n },\n {\n id: 3,\n url: 'referrals',\n label: 'Referrals',\n selected: false,\n icon: ChatReferralIcon,\n subNavigationItems: [],\n },\n {\n id: 4,\n url: 'affiliate-links',\n label: 'Affiliate links',\n selected: false,\n icon: AffiliateIcon,\n subNavigationItems: [],\n },\n {\n id: 5,\n url: 'payouts',\n label: 'Payouts',\n selected: false,\n icon: ReceiptDollarIcon,\n subNavigationItems: [],\n },\n {\n id: 6,\n url: 'settings',\n label: 'Settings',\n icon: SettingsIcon,\n selected: false,\n subNavigationItems: [],\n },\n {\n id: 7,\n url: 'help',\n label: 'Help',\n selected: false,\n icon: QuestionCircleIcon,\n subNavigationItems: [],\n },\n ];\n\n const findSelectedItem = (routes) => {\n let selectedRoute = {};\n let selectedSubRoute = {};\n\n routes.forEach((route) => {\n if (route.url === lastSegment) {\n selectedRoute = route;\n\n } else if (route.subNavigationItems) {\n route.subNavigationItems.forEach((subRoute) => {\n if (subRoute.url === route.url + '/' + lastSegment) {\n selectedRoute = route;\n selectedSubRoute = subRoute;\n }\n });\n }\n });\n\n return { selectedRoute, selectedSubRoute };\n };\n\n const { selectedRoute, selectedSubRoute } = findSelectedItem(routes);\n\n return (\n \n \n \n );\n};\n\nexport default Sidebar;","\nexport const getMethod = (query, axiosInstance) => axiosInstance.get(query);\n\nexport const patchMethod = ( query, axiosInstance ) => axiosInstance.patch(query);\n\nexport const deleteMethod = ( query, axiosInstance ) => axiosInstance.delete(query);\n\nexport const postMethod = ( query, payload, axiosInstance ) => axiosInstance.post(`${query}`, payload);\n","import {\n useQuery,\n useMutation,\n} from '@tanstack/react-query';\nimport { postMethod, patchMethod, getMethod } from '../../api/services';\nimport axios from 'axios';\n\nconst SETTINGS = \"/partners/settings_data\";\nconst PASSWORD = \"/referrer_auths/password\";\nconst SIGN_OUT = \"/referrer_auths/sign_out\";\nconst ADMIN_SIGN_OUT = \"/admins/sign_out\";\n\nlet csrfToken = document.querySelector('meta[name=\"csrf-token\"]').getAttribute('content');\n\nconst deleteMethod = (query) => axios.delete(query, {\n headers: {\n 'X-CSRF-Token': csrfToken\n }\n});\n\nexport function useFetchSettingsData({ axiosInstance, ...requestOptions }) {\n return useQuery({\n ...requestOptions,\n queryKey: ['settings'],\n queryFn: () => getMethod(SETTINGS, axiosInstance,),\n select: (response) => response.data,\n placeholder: [],\n });\n}\n\nexport function useUpdateSettings({axiosInstance, ...requestOptions }) {\n return useMutation({\n ...requestOptions,\n mutationFn:(postBody) => postMethod(SETTINGS, postBody, axiosInstance)\n });\n}\n\nexport function useUpdatePassword({axiosInstance, ...requestOptions }) {\n return useMutation({\n ...requestOptions,\n mutationFn: () => patchMethod(PASSWORD, axiosInstance),\n });\n}\n\nexport function useSignOut({ ...requestOptions }) {\n return useMutation({\n ...requestOptions,\n mutationFn: () => deleteMethod(SIGN_OUT),\n });\n}\n\nexport function useAdminSignOut({...requestOptions }) {\n return useMutation({\n ...requestOptions,\n mutationFn: () => deleteMethod(ADMIN_SIGN_OUT),\n });\n}","/* eslint-disable jsx-a11y/no-static-element-interactions */\n/* eslint-disable jsx-a11y/click-events-have-key-events */\nimport React from 'react';\nimport { Popover, ActionList, InlineStack, Text, Icon } from '@shopify/polaris';\nimport PropTypes from 'prop-types';\nimport { useNavigate } from 'react-router-dom';\nimport {\n HomeIcon,\n TeamIcon,\n ChatReferralIcon,\n AffiliateIcon,\n ReceiptDollarIcon,\n SettingsIcon,\n QuestionCircleIcon,\n LockIcon,\n} from '@shopify/polaris-icons';\n\nconst routes = [\n {\n id: 1,\n url: 'dashboard',\n label: 'Dashboard',\n icon: HomeIcon,\n },\n {\n id: 2,\n url: 'visitors',\n label: 'Visitors',\n icon: TeamIcon,\n },\n {\n id: 3,\n url: 'referrals',\n label: 'Referrals',\n icon: ChatReferralIcon,\n },\n {\n id: 4,\n url: 'affiliate-links',\n label: 'Affiliate Links',\n icon: AffiliateIcon,\n },\n {\n id: 5,\n url: 'payouts',\n label: 'Payouts',\n icon: ReceiptDollarIcon,\n },\n {\n id: 6,\n url: 'settings',\n label: 'Settings',\n icon: SettingsIcon,\n },\n {\n id: 7,\n url: 'help',\n label: 'Help',\n icon: QuestionCircleIcon,\n },\n];\n\nconst freeRoutes = [\"dashboard\", \"settings\", \"help\"];\n\nconst MobileMenu = ({ activator, active, toggleActive, adminReview }) => {\n const navigate = useNavigate();\n\n const handleClick = (url, isRestricted) => {\n if (isRestricted) return; // Do nothing if the route is restricted\n toggleActive();\n navigate(url);\n };\n\n return (\n toggleActive}\n autofocusTarget=\"first-node\"\n >\n {\n const isRestricted = !adminReview && !freeRoutes.includes(route.url);\n\n return {\n content: \n {route.label}\n {\n isRestricted &&\n
\n \n
\n }\n ,\n onAction: () => handleClick(route.url, isRestricted),\n icon: route.icon,\n };\n })}\n />\n \n );\n};\n\nMobileMenu.propTypes = {\n activator: PropTypes.any,\n active: PropTypes.any,\n toggleActive: PropTypes.func.isRequired,\n adminReview: PropTypes.bool, // New prop\n};\n\nexport default MobileMenu;\n","/* eslint-disable no-param-reassign */\n/* eslint-disable implicit-arrow-linebreak */\nimport axios from 'axios';\n\nconst adminAxiosInstance = axios.create({\n baseURL: '/admin/:referrer_id', // Placeholder for dynamic ID\n // other configurations\n});\n\n let csrf = document.querySelector('meta[name=\"csrf-token\"]').getAttribute('content');\n // Add a request interceptor to set the Authorization header before making the request\n adminAxiosInstance.interceptors.request.use(\n (config) => {\n // Modify config object to include Authorization header\n config.headers.Authorization = `Bearer ${window.sessionToken}`;\n config.headers['X-CSRF-TOKEN'] = csrf;\n\n return config;\n },\n (error) =>\n // Handle request error\n Promise.reject(error),\n\n );\n\nconst embedAxiosInstance = axios.create({\n baseURL: '/', // replace with your admin API base URL\n});\n\nembedAxiosInstance.interceptors.request.use(\n (config) => {\n // Modify config object to include Authorization header\n config.headers.Authorization = `Bearer ${window.sessionToken}`;\n config.headers['X-CSRF-TOKEN'] = csrf;\n\n return config;\n },\n (error) =>\n // Handle request error\n Promise.reject(error),\n\n );\n\nexport { adminAxiosInstance, embedAxiosInstance };\n","import React, { createContext, useContext } from 'react';\nimport PropTypes from 'prop-types';\n\nimport { adminAxiosInstance, embedAxiosInstance } from '../api/axios';\n\nconst AxiosContext = createContext(null);\n\nexport const useAxiosInstance = () => {\n return useContext(AxiosContext);\n};\n\nexport const AxiosProvider = ({ children, layout, referrer_id }) => {\n let axiosInstance;\n\n if (layout === 'admin') {\n axiosInstance = adminAxiosInstance;\n axiosInstance.defaults.baseURL = `/admin/${referrer_id}`;\n } else {\n axiosInstance = embedAxiosInstance;\n }\n\n return (\n \n {children}\n \n );\n};\n\nAxiosProvider.propTypes = {\n layout: PropTypes.string.isRequired,\n referrer_id: PropTypes.number,\n children: PropTypes.element.isRequired,\n};\n","/* eslint-disable jsx-a11y/no-noninteractive-element-interactions */\n/* eslint-disable react/jsx-no-comment-textnodes */\n/* eslint-disable jsx-a11y/no-static-element-interactions */\n/* eslint-disable jsx-a11y/click-events-have-key-events */\nimport React, { useState } from 'react';\nimport { Frame, Page, Popover, ActionList, Text, Icon, useBreakpoints } from '@shopify/polaris';\nimport { Outlet, useLocation, useNavigate } from 'react-router-dom';\nimport PropTypes from 'prop-types';\nimport Sidebar from './Sidebar';\nimport * as styles from './Sidebar.module.scss';\nimport { useAdminSignOut, useSignOut } from '../settings/api';\nimport * as style from './index.module.scss';\nimport { ExitIcon, MenuVerticalIcon } from '@shopify/polaris-icons';\nimport MobileMenu from './MobileMenu';\nimport { AxiosProvider } from '../../context/AxiosContext';\n\nconst Layout = ({ admin_review, email, referrer_id }) => {\n const navigate = useNavigate();\n const { smDown } = useBreakpoints();\n const { pathname } = useLocation();\n const route = pathname.split('/').pop();\n const fullWidthPages = ['dashboard', 'referrals', 'visitors'];\n const isFullWidth = fullWidthPages.includes(route);\n const isAdmin = pathname.includes(\"admin\");\n\n const { mutate } = useSignOut({\n onSuccess: () => {\n // Reload the page\n window.location.reload();\n },\n onError: () => {\n window.location.reload();\n }\n });\n\n const { mutate: adminMutate } = useAdminSignOut({\n onSuccess: () => {\n window.location.href = \"/referrers\";\n },\n onError: () => {\n window.location.href = \"/referrers\";\n }\n });\n\n const [popoverActive, setPopoverActive] = useState(false);\n const [mobileMenu, setMobileMenu] = useState(false);\n\n const togglePopoverActive = () => setPopoverActive((prev) => !prev);\n const toggleMobileMenu = () => setMobileMenu((prev) => !prev);\n\n const activator = (\n
togglePopoverActive()}>\n {email.charAt(0).toUpperCase()}\n
\n );\n\n const mobileActivator = (\n
\n \n
\n );\n\n const handleLogout = () => {\n // Handle logout logic here\n isAdmin ? adminMutate() : mutate();\n // Optionally close the popover after logout\n setPopoverActive(false);\n };\n\n return (\n \n
\n \n
\n navigate(\"dashboard\")}\n />\n {\n smDown &&\n \n }\n
\n \n togglePopoverActive}\n autofocusTarget=\"first-node\"\n >\n \n \n
\n \n }>\n \n \n \n \n \n
\n\n );\n};\n\nLayout.propTypes = {\n admin_review: PropTypes.bool,\n email: PropTypes.string,\n referrer_id: PropTypes.number\n};\n\nexport default Layout;\n","export const handleOpenSupportChat = (prefilledMsg = '') => {\n window.Intercom(\"showNewMessage\", prefilledMsg);\n};","import { Banner, BlockStack, Button, Text } from '@shopify/polaris';\nimport { CheckIcon, ChatIcon } from '@shopify/polaris-icons';\nimport React, { useState } from 'react';\nimport { handleOpenSupportChat } from '../../../utils';\n\nconst ReviewBanner = ({ admin_review, email }) => {\n const [active, setActive] = useState(!admin_review);\n return (\n <>\n {\n active &&\n setActive(false)}\n tone='success'\n >\n \n \n Our team is currently reviewing your application.\n We’ll keep you updated via email at {email}. If you need any assistance, feel free to reach out to our support team.\n \n
\n {\n handleOpenSupportChat();\n }}\n >\n Chat with us\n \n
\n
\n \n }\n \n );\n};\n\nexport default ReviewBanner;","import {\n useQuery,\n} from '@tanstack/react-query';\nimport { getMethod } from \"../../api/services\";\n\nconst GET_ANALYTICS = '/partners/analytics';\nconst GET_MONTHLY_VISITORS = \"/partners/monthly_visitors\";\n\nexport function useFetchAnalytics({ axiosInstance, ...requestOptions }) {\n return useQuery({\n ...requestOptions,\n queryKey: ['analytics'],\n queryFn: () => getMethod(GET_ANALYTICS, axiosInstance),\n select: (response) => response.data,\n placeholder: [],\n });\n}\n\nexport function useFetchMonthlyVisitors({ axiosInstance, ...requestOptions }) {\n return useQuery({\n ...requestOptions,\n queryKey: ['monthly-visitors'],\n queryFn: () => getMethod(GET_MONTHLY_VISITORS, axiosInstance),\n select: (response) => response.data.data,\n placeholder: [],\n });\n}","/* eslint-disable react/no-unescaped-entities */\nimport React from \"react\";\nimport { BlockStack, Card, InlineGrid, InlineStack, Text, useBreakpoints } from \"@shopify/polaris\";\nimport { useFetchAnalytics } from \"./api\";\nimport { useAxiosInstance } from '../../context/AxiosContext';\n\nfunction Analytics() {\n const axiosInstance = useAxiosInstance();\n const { smUp } = useBreakpoints();\n\n const { data, loading } = useFetchAnalytics({ axiosInstance });\n\n const totalEarnings = () => {\n return (\n \n \n Total earnings\n \n {loading ?\n -- :\n (\n \n $ {Number(data?.total_earnings || 0).toFixed(2)}\n \n )\n }\n \n \n \n );\n };\n\n const monthlyEarnings = () => {\n return (\n \n \n Last 30 day earnings\n \n {loading ?\n -- :\n (\n \n $ {Number(data?.monthly_earnings || 0).toFixed(2)}\n \n )\n }\n \n \n \n );\n };\n\n const pendingCommissions = () => {\n return (\n \n \n Pending commissions\n \n {loading ?\n -- :\n (\n \n $ {Number(data?.pending_commissions || 0).toFixed(2)}\n \n )\n }\n \n \n \n );\n };\n\n const activeReferrals = () => {\n return (\n \n \n Active referrals\n \n {loading ?\n -- :\n (\n {data?.referral_count}\n )\n }\n \n \n \n );\n };\n\n\n return (\n \n {totalEarnings()}\n {monthlyEarnings()}\n {pendingCommissions()}\n {activeReferrals()}\n \n );\n}\n\nexport default Analytics;\n","import { Card, Spinner, Text, useBreakpoints } from '@shopify/polaris';\nimport React, { useState, useEffect } from 'react';\nimport { BarChart } from '@mui/x-charts/BarChart';\nimport { useFetchMonthlyVisitors } from './api';\nimport { format, getDaysInMonth } from 'date-fns';\nimport { useAxiosInstance } from '../../context/AxiosContext';\n\nconst Graph = () => {\n const axiosInstance = useAxiosInstance();\n const { data, isLoading } = useFetchMonthlyVisitors({ axiosInstance }); // Assume data comes as { '2024-09-27': 5, ... }\n const { smDown } = useBreakpoints(); // Determine if the screen size is small\n\n const [xAxisDays, setXAxisDays] = useState([]);\n const [visitorsData, setVisitorsData] = useState([]);\n const [maxVisitors, setMaxVisitors] = useState(0);\n\n // Dynamically set the width based on whether the screen is small or not\n const chartWidth = smDown ? 360 : 1180; // Adjust width for small screens\n\n useEffect(() => {\n if (!isLoading && data) {\n // Get current month and year\n const currentDate = new Date();\n const year = currentDate.getFullYear();\n const month = currentDate.getMonth(); // 0-indexed (September is 8)\n\n // Get the number of days in the current month\n const daysInMonth = getDaysInMonth(currentDate);\n\n // Generate x-axis labels as 'Sep 1', 'Sep 2', ..., 'Sep 30'\n const daysArray = Array.from({ length: daysInMonth }, (_, i) => format(new Date(year, month, i + 1), 'MMM d'));\n\n // Create a visitors array with null or 0 for days with no data\n const visitorsArray = daysArray.map((day, index) => {\n const formattedDate = format(new Date(year, month, index + 1), 'yyyy-MM-dd');\n return data[formattedDate] || 0; // Use the data value if exists, otherwise 0\n });\n\n // Set the max value of visitors for y-axis scaling\n const maxVal = Math.max(...visitorsArray);\n setMaxVisitors(maxVal);\n\n setXAxisDays(daysArray);\n setVisitorsData(visitorsArray);\n }\n }, [data, isLoading]);\n\n if (isLoading) {\n return ;\n }\n\n return (\n \n Daily link visits\n \n \n );\n};\n\nexport default Graph;\n","import React from 'react';\nimport ReviewBanner from './ReviewBanner';\nimport Analytics from './Analytics';\nimport { BlockStack } from '@shopify/polaris';\nimport Graph from './Graph';\nconst Dashboard = (props) => {\n return (\n \n \n \n \n \n );\n};\n\nexport default Dashboard;","import {\n useQuery,\n} from '@tanstack/react-query';\nimport { getMethod } from '../../api/services';\n\nconst GET_ANALYTICS = '/partners/all_referrals';\n\nexport function useFetchAllReferrals({axiosInstance, ...requestOptions }) {\n return useQuery({\n ...requestOptions,\n queryKey: ['all-referrals'],\n queryFn: () => getMethod(GET_ANALYTICS, axiosInstance),\n select: (response) => response.data,\n placeholder: [],\n });\n}","import { Button, InlineStack, Text, useBreakpoints } from \"@shopify/polaris\";\nimport { ArrowLeftIcon } from \"@shopify/polaris-icons\";\nimport React from \"react\";\nimport { useNavigate } from \"react-router-dom\";\nimport PropTypes from \"prop-types\";\nfunction PageHeader(props) {\n const { title, url, marginLeft = 0, badge, onClick } = props;\n const navigate = useNavigate();\n const { smDown } = useBreakpoints();\n const handleNavigation = () => {\n if (typeof onClick !== \"undefined\" && !url) {\n onClick();\n } else {\n navigate(url);\n }\n\n };\n\n return (\n
\n \n {url || typeof onClick !== \"undefined\" ? (\n \n ) : (\n \"\"\n )}\n \n {title}\n \n {badge ? badge : null}\n \n
\n );\n}\n\nexport default PageHeader;\n\nPageHeader.propTypes = {\n title: PropTypes.string.isRequired,\n url: PropTypes.string,\n marginLeft: PropTypes.number,\n badge: PropTypes.element,\n onClick: PropTypes.func,\n};","import React from 'react';\nimport { BlockStack, Card, DataTable, Text, Badge, InlineStack, Link, useBreakpoints } from '@shopify/polaris';\nimport { useFetchAllReferrals } from './api';\nimport PageHeader from '../page_header';\nimport { useAxiosInstance } from '../../context/AxiosContext';\n\nconst AFFILIATE_LINK_PREFIX = \"https://partners.starapps.studio/\";\n\nconst Referrals = () => {\n const axiosInstance = useAxiosInstance();\n const { smUp } = useBreakpoints();\n const { data, isLoading } = useFetchAllReferrals({ axiosInstance });\n\n // Map data to rows or use an empty array if loading or no data\n let rows = isLoading || !data ? [] : data?.data?.map((row, index) => {\n const subscriptionText = row[4]; // First half of the subscription\n const subscriptionSubdued = `/${row[5]}`; // Second half to be subdued\n const planStatus = row[6];\n let badgeTone;\n\n // Determine badge tone based on plan status\n switch (planStatus) {\n case 'Trial':\n badgeTone = 'attention';\n break;\n case 'Active':\n case 'Free':\n badgeTone = 'success';\n break;\n case 'Paused':\n badgeTone = 'warning';\n break;\n default:\n badgeTone = 'default'; // Fallback tone\n }\n\n return [\n \n {row[0]}\n ,\n row[2],\n smUp && \n \n {subscriptionText}\n \n {subscriptionSubdued}\n \n ,\n smUp && {planStatus},\n smUp && (row[3]?.includes(AFFILIATE_LINK_PREFIX) ? row[3].split(AFFILIATE_LINK_PREFIX)[1] : row[3]),\n smUp && row[7],\n row[8],\n ];\n });\n\n return (\n \n \n \n Store,\n App,\n smUp && Subscription,\n smUp && Plan status,\n smUp && Affiliate link,\n smUp && Revenue,\n Partner earnings, // Fixed duplicate key\n ]}\n rows={rows}\n footerContent={rows.length === 0 ? Your referrals will be displayed here : null} // Optional footer message\n />\n \n \n );\n};\n\nexport default Referrals;\n","import React from 'react';\nimport { BlockStack, Card, Text, TextField } from '@shopify/polaris';\nimport PropTypes from 'prop-types';\n\nconst Email = ({ email }) => {\n return (\n \n \n Your email\n \n
\n {/* */}\n
\n
\n
\n );\n};\n\nEmail.propTypes = {\n email: PropTypes.string,\n};\n\nexport default Email;\n","import { BlockStack, Card, Text, TextField } from '@shopify/polaris';\nimport React from 'react';\nimport { useLocation } from 'react-router-dom';\nconst Name = ({ fields }) => {\n const { pathname } = useLocation();\n const isAdmin = pathname.includes(\"admin\");\n return (\n \n \n \n First name\n \n \n \n Last name\n \n \n \n \n )\n}\n\nexport default Name;","import React from 'react';\nimport { BlockStack, Card, Select, Text, TextField } from '@shopify/polaris';\nimport PropTypes from 'prop-types';\nimport { businessTypeOptions } from '../helper';\nimport { useLocation } from 'react-router-dom';\n\nconst Business = ({ fields, referralPlans }) => {\n const { pathname } = useLocation();\n const isAdmin = pathname.includes(\"admin\");\n return (\n \n \n \n Company Name\n \n \n \n \n \n \n Website\n \n \n \n Affiliate perks\n {\n referralPlans.map((plan) => (\n \n ))\n }\n\n \n \n \n );\n};\n\nBusiness.propTypes = {\n fields: PropTypes.any,\n referralPlans: PropTypes.any,\n};\n\nexport default Business;","import { BlockStack, Card, Select, Text, TextField } from '@shopify/polaris';\nimport React from 'react';\nimport { getData } from 'country-list';\nimport { useLocation } from 'react-router-dom';\n\nconst Account = ({ fields }) => {\n const { pathname } = useLocation();\n const isAdmin = pathname.includes(\"admin\");\n\n // Get the list of countries\n const countryOptions = [\n { label: 'Select country', value: '' }, // Placeholder option\n ...getData().map((country) => ({\n label: country.name,\n value: country.code,\n })),\n ];\n\n return (\n \n \n \n \n \n \n Paypal email\n \n \n \n \n );\n};\n\nexport default Account;\n","import React from 'react';\nimport { BlockStack, Box, ContextualSaveBar, Divider, Frame, InlineGrid, Link, Text, useBreakpoints } from '@shopify/polaris';\nimport { useUpdateSettings } from './api';\nimport { notEmpty, useField, useForm } from '@shopify/react-form';\nimport Email from './Email';\nimport Name from './Name';\nimport Business from './Business';\nimport Account from './Account';\nimport { useQueryClient } from '@tanstack/react-query';\nimport PropTypes from 'prop-types';\nimport * as styles from \"./index.module.scss\";\nimport { useAxiosInstance } from '../../context/AxiosContext';\n\n\nconst Body = ({ name, company_name, business_profile, url, paypal_email, country, email, referralPlans }) => {\n const axiosInstance = useAxiosInstance();\n const queryClient = useQueryClient();\n const { mutate, isLoading } = useUpdateSettings({\n axiosInstance,\n onSuccess: () => {\n queryClient.invalidateQueries({ queryKey: [\"settings\"] });\n }\n });\n const { smUp } = useBreakpoints();\n const { fields, submit, dirty, reset } = useForm({\n fields: {\n first_name: useField({\n value: name.split(\" \")[0],\n validates: [notEmpty(\"First name is required\")],\n }),\n last_name: useField({\n value: name.split(\" \")[1] || \"\",\n validates: [notEmpty(\"Last name is required\")],\n }),\n company_name: useField({\n value: company_name,\n validates: [notEmpty(\"Business name is required\")],\n }),\n business_profile: useField({\n value: business_profile,\n validates: [notEmpty(\"Business type is required\")],\n }),\n url: useField({\n value: url,\n validates: [notEmpty(\"Website is required\")],\n }),\n paypal_email: useField({\n value: paypal_email || \"\",\n validates: [\n notEmpty(\"Email is required\"),\n value => {\n const emailRegex = /^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/;\n if (!emailRegex.test(value)) return 'Please enter a valid email address';\n }\n ],\n }),\n country: useField(country || undefined),\n },\n onSubmit: async (form) => {\n mutate(form);\n return { status: \"success\" };\n },\n });\n\n // Render UI for information for individual segments\n const infoSection = (title, description, url = null, urlDescription = '') => {\n return (\n \n \n \n {title}\n \n \n {description} {' '}\n {url ?\n (\n {urlDescription}\n )\n : null\n }\n \n \n \n );\n };\n return (\n <>\n {\n dirty &&\n \n \n submit(),\n loading: isLoading,\n disabled: isLoading,\n }}\n discardAction={{\n onAction: () => reset(),\n }}\n />\n \n \n }\n \n {infoSection(\n 'Login details',\n 'Your email'\n )}\n \n \n \n \n {infoSection(\n 'Profile details',\n 'Your profile details'\n )}\n \n \n \n \n {infoSection(\n 'Business details',\n 'Your business details'\n )}\n \n \n \n \n {infoSection(\n 'Account settings',\n 'Your account settings'\n )}\n \n \n \n \n );\n};\n\nBody.propTypes = {\n name: PropTypes.any,\n company_name: PropTypes.any,\n business_profile: PropTypes.any,\n url: PropTypes.any,\n paypal_email: PropTypes.any,\n country: PropTypes.any,\n email: PropTypes.any,\n affiliate_fee: PropTypes.any,\n referralPlans: PropTypes.any,\n};\n\nexport default Body;","// extracted by mini-css-extract-plugin\nvar _1 = \"PJiKbJWUAyc5aKBwCsTg\";\nexport { _1 as \"frameHeight\" }\n","import React from 'react';\nimport { BlockStack, Spinner } from '@shopify/polaris';\nimport PageHeader from '../page_header';\nimport { useFetchSettingsData } from './api';\nimport { useAxiosInstance } from '../../context/AxiosContext';\nimport Body from './Body';\nconst Settings = () => {\n const axiosInstance = useAxiosInstance();\n const { data, isLoading } = useFetchSettingsData({ axiosInstance });\n return (\n \n \n {\n isLoading || !data?.data ?\n :\n \n }\n \n );\n};\n\nexport default Settings;","import { Frame, Toast } from \"@shopify/polaris\";\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport * as styles from \"./index.module.scss\";\n\nconst ToastMessage = ({ isActive, content, onDismiss }) => {\n return (\n isActive ? (\n \n \n \n \n \n ) : null\n );\n};\n\nToastMessage.propTypes = {\n isActive: PropTypes.bool.isRequired,\n content: PropTypes.string.isRequired,\n onDismiss: PropTypes.func.isRequired,\n};\n\nexport default ToastMessage;","// extracted by mini-css-extract-plugin\nvar _1 = \"LwXdN6yLlIVHiIyEZ8Pa\";\nexport { _1 as \"frames\" }\n","import React, { useState } from 'react';\nimport { BlockStack, Button, Card, DataTable, Icon, InlineGrid, InlineStack, Spinner, Text } from '@shopify/polaris';\nimport PageHeader from '../page_header';\nimport { useFetchAnalytics } from '../dashboard/api';\nimport PropTypes from \"prop-types\";\nimport {\n InfoIcon\n} from '@shopify/polaris-icons';\nimport { useFetchPayouts, usePayoutEmail } from './api';\nimport ToastMessage from '../common/ToastMessage';\nimport { useFetchSettingsData } from '../settings/api';\nimport * as styles from \"./index.module.scss\";\nimport { useAxiosInstance } from '../../context/AxiosContext';\n\nconst THRESHOLD_AMOUNT = 25;\n\nconst PaypalBody = ({ amount }) => {\n if (amount > THRESHOLD_AMOUNT) {\n return (\n \n \n PayPal\n \n \n \n \n \n );\n }\n return (\n \n \n \n To request a payout, your total earnings must meet a minimum threshold of $25.00 USD.\n \n \n );\n};\n\nconst Payouts = () => {\n const axiosInstance = useAxiosInstance();\n const { data: analytics, isLoading: analyticsLoading } = useFetchAnalytics({ axiosInstance });\n const { data, isLoading } = useFetchPayouts({ axiosInstance });\n const { data: settings, isLoading: settingLoading } = useFetchSettingsData({ axiosInstance });\n const { mutate } = usePayoutEmail({\n axiosInstance,\n onSuccess: () => {\n setToast({\n active: true,\n content: \"Notification sent successfully\"\n });\n }\n });\n const [toast, setToast] = useState({\n active: false,\n content: \"\"\n });\n let rows = isLoading || !data?.data ? [] : data.data;\n\n const handlePayout = () => {\n if (!settingLoading && (!settings.data.paypal_email)) {\n setToast({\n active: true,\n content: \"Update PayPal email in settings\"\n });\n return;\n }\n mutate();\n };\n\n const handleToast = () => {\n setToast({\n active: false,\n content: \"\"\n });\n };\n return (\n \n \n \n \n \n Request payout\n \n \n Unpaid earnings\n \n {\n analyticsLoading ?\n :\n ${Number(analytics.pending_commissions || 0).toFixed(2)}\n }\n \n \n \n \n {\n analyticsLoading ?\n :\n <>\n \n \n Request payout\n \n \n \n }\n \n \n \n \n \n Payout date,\n Payout amount,\n Payout method,\n ]}\n rows={rows}\n footerContent={rows.length === 0 ? Your payouts will be displayed here : null} // Optional footer message\n />\n \n {\n toast.active && \n }\n \n );\n};\n\nPaypalBody.propTypes = {\n amount: PropTypes.any,\n};\n\nexport default Payouts;","// extracted by mini-css-extract-plugin\nvar _1 = \"GZj5rVxLlprwLvapuNYW\";\nvar _2 = \"_3sOQqPpMGKz0ZlnX_HPe\";\nvar _3 = \"tSjjJ8jEMqMNGdQdx738\";\nexport { _1 as \"buttonHeight\", _2 as \"fullImageStyle\", _3 as \"imageContainer\" }\n","import {\n useQuery,\n useMutation,\n} from '@tanstack/react-query';\nimport { getMethod, postMethod } from '../../api/services';\n\nconst PAYOUTS = \"/partners/payouts_data\";\nconst PAYOUT_EMAIL = \"/partners/payout_email\";\n\nexport function usePayoutEmail({ axiosInstance, ...requestOptions }) {\n return useMutation({\n ...requestOptions,\n mutationFn:(postBody) => postMethod(PAYOUT_EMAIL, postBody, axiosInstance),\n });\n}\n\nexport function useFetchPayouts({axiosInstance, ...requestOptions }) {\n return useQuery({\n ...requestOptions,\n queryKey: ['payouts'],\n queryFn: () => getMethod(PAYOUTS, axiosInstance),\n select: (response) => response.data,\n placeholder: [],\n });\n}","import {\n useQuery,\n useMutation,\n} from '@tanstack/react-query';\nimport { getMethod, postMethod } from '../../api/services';\n\nconst AFFILIATE_LINKS = \"/partners/referral_plans_data\";\nconst CREATE_NEW_PLAN = \"/partners/create_new_plan\";\n\nexport function useFetchAffiliateLinks({axiosInstance, ...requestOptions }) {\n return useQuery({\n ...requestOptions,\n queryKey: ['affiliate-links'],\n queryFn: () => getMethod(AFFILIATE_LINKS, axiosInstance),\n select: (response) => response.data,\n placeholder: [],\n });\n}\n\nexport function useCreateNewPlan({axiosInstance, ...requestOptions }) {\n return useMutation({\n ...requestOptions,\n mutationFn:(postBody) => postMethod(CREATE_NEW_PLAN, postBody, axiosInstance),\n });\n}","// extracted by mini-css-extract-plugin\nvar _1 = \"SNw0R6BoGg4na_aiz9Vg\";\nexport { _1 as \"pointer\" }\n","/* eslint-disable jsx-a11y/no-static-element-interactions */\n/* eslint-disable jsx-a11y/click-events-have-key-events */\nimport { Card, DataTable, Icon, InlineStack, Text, Tooltip, useBreakpoints } from \"@shopify/polaris\";\nimport { DuplicateIcon } from \"@shopify/polaris-icons\";\nimport React from \"react\";\nimport * as styles from \"./index.module.scss\";\nimport PropTypes from \"prop-types\";\n\nconst AFFILIATE_LINK_PREFIX = \"https://partners.starapps.studio/\";\n\nconst copyToClipboard = (link) => {\n navigator.clipboard.writeText(link)\n .then(() => {\n console.log('Link copied to clipboard:', link);\n // Optionally show a success message here\n })\n .catch(err => {\n console.error('Failed to copy: ', err);\n });\n};\n\nfunction extractAppName(shortName) {\n const appNames = {\n \"all_apps\": \"All apps\",\n \"via\": \"StarApps Variant Image\",\n \"vsk\": \"Swatch King: Variant options\",\n \"vdk\": \"Variant Descriptions King\",\n \"asap\": \"Urgency King: Low Stock Alert\"\n };\n\n return appNames[shortName] || \"App\";\n}\n\nexport default function Table({ affiliate }) {\n const { smDown } = useBreakpoints();\n let rows = [];\n if (affiliate?.visits && typeof affiliate.visits === 'object') {\n Object.keys(affiliate.visits).forEach(key => {\n const visit = affiliate.visits[key];\n if (visit && Array.isArray(visit)) {\n rows.push([extractAppName(key),\n \n {smDown ? visit[0].split(AFFILIATE_LINK_PREFIX)[1] : visit[0]}\n copyToClipboard(visit[0])}\n className={styles.pointer}\n >\n \n \n \n \n \n , visit[1]]);\n }\n });\n }\n\n return (\n \n
\n App,\n Affiliate link,\n Views,\n ]}\n totalsName={{\n singular: \"App\",\n plural: \"App\"\n }}\n footerContent={rows.length === 0 ? Your affiliate links will be displayed here : null} // Optional footer message\n rows={rows}\n />\n
\n \n );\n}\n\nTable.propTypes = {\n affiliate: PropTypes.any,\n};","import React from \"react\";\nimport { BlockStack, InlineStack, Text } from \"@shopify/polaris\";\nimport PropTypes from \"prop-types\";\n\nexport default function TableHeader({ affiliate }) {\n return (\n \n \n \n Referral code:\n {affiliate?.referral_code}\n \n {affiliate?.affiliate_fee > 0 && {affiliate?.affiliate_fee}% revenue share. Lifetime}\n {affiliate?.merchant_discount > 0 && {affiliate?.merchant_discount}% merchant discount. Lifetime}\n \n \n \n Total earning:\n ${Number(affiliate?.amount || 0).toFixed(2)}\n \n \n \n );\n}\n\nTableHeader.propTypes = {\n affiliate: PropTypes.any,\n};","/* eslint-disable jsx-a11y/no-static-element-interactions */\n/* eslint-disable jsx-a11y/click-events-have-key-events */\nimport { BlockStack, Button, Card, InlineStack, Modal, Select, Spinner, TextField, useBreakpoints } from \"@shopify/polaris\";\nimport React, { useState } from \"react\";\nimport PageHeader from \"../page_header\";\nimport { useCreateNewPlan, useFetchAffiliateLinks } from \"./api\";\nimport { useQueryClient } from \"@tanstack/react-query\";\nimport Table from \"./Table\";\nimport TableHeader from \"./TableHeader\";\nimport ToastMessage from \"../common/ToastMessage\";\nimport { useAxiosInstance } from '../../context/AxiosContext';\n\nconst options = [\n { label: \"20% revenue share for myself sounds good\", value: \"affiliate_fee\" },\n { label: \"I don't need any perk, you may give 20% discount to the store\", value: \"merchant_discount\" },\n];\n\nfunction AffiliateLinks() {\n const axiosInstance = useAxiosInstance();\n const { smUp, smDown } = useBreakpoints();\n const queryClient = useQueryClient();\n const { data, isLoading: affiliateLoading } = useFetchAffiliateLinks({ axiosInstance });\n const { mutate, isLoading } = useCreateNewPlan({\n axiosInstance,\n onSuccess: (response) => {\n setReferralCode(\"\");\n setActive(false);\n if (response?.data?.status == 401) {\n setToast({\n active: true,\n content: response?.data?.message\n });\n return;\n }\n queryClient.invalidateQueries({ queryKey: [\"affiliate-links\"] });\n setToast({\n active: true,\n content: \"New links created\"\n });\n }\n });\n const [active, setActive] = useState(false);\n const [toast, setToast] = useState({\n active: false,\n content: \"\"\n });\n const [referralCode, setReferralCode] = useState('');\n const [error, setError] = useState('');\n const [selectedOption, setSelectedOption] = useState(options[0].value);\n\n const handleAddLink = () => {\n if (!referralCode.trim()) {\n setError('Referral code cannot be blank');\n return;\n }\n mutate({\n referral_code: referralCode.split(\" \").join(\"-\"),\n discount_or_fee: selectedOption\n });\n setError('');\n };\n\n const handleToast = () => {\n setToast({\n active: false,\n content: \"\"\n });\n };\n\n const handleSelectChange = (value) => {\n setSelectedOption(value);\n };\n\n return (\n \n \n \n setActive(true)}\n >Add link\n \n {\n affiliateLoading ? (\n \n ) : (\n <>\n {data?.data.map(affiliate => (\n \n \n \n \n \n \n ))}\n \n )\n }\n\n setActive(false)}\n title=\"Add new link\"\n footer={smDown && (\n \n \n Submit\n \n \n )}\n primaryAction={\n smUp && {\n content: \"Submit\",\n onAction: handleAddLink,\n disabled: isLoading,\n loading: isLoading\n }\n }\n >\n \n \n setReferralCode(value)}\n error={error}\n />\n \n \n \n \n {toast.active && }\n \n );\n}\n\nexport default AffiliateLinks;\n","// extracted by mini-css-extract-plugin\nvar _1 = \"eI3OWRCLeqkdMQ6LOb4h\";\nvar _2 = \"ogevO0an6VxMFH4x4t14\";\nexport { _1 as \"answer\", _2 as \"container\" }\n","/* eslint-disable jsx-a11y/no-static-element-interactions */\n/* eslint-disable jsx-a11y/click-events-have-key-events */\nimport React, { useCallback, useState } from 'react';\nimport { BlockStack, Card, Collapsible, Text, Divider, Icon, InlineStack, Button } from '@shopify/polaris';\nimport {\n CaretUpIcon, ChatIcon, ChevronDownIcon\n} from '@shopify/polaris-icons';\nimport PageHeader from '../page_header';\nimport * as styles from './index.module.scss';\nimport { handleOpenSupportChat } from '../../../utils';\n\nconst Contact = () => {\n return (\n \n \n Contact us\n Our support team is ready to help anytime.\n
\n {\n handleOpenSupportChat();\n }}\n >\n Chat with us\n \n
\n
\n
\n );\n};\nconst Help = () => {\n // Manage which question is open\n const [open1, setOpen1] = useState(false);\n const [open2, setOpen2] = useState(false);\n const [open3, setOpen3] = useState(false);\n const [open4, setOpen4] = useState(false);\n const [open5, setOpen5] = useState(false);\n\n const toggleOpen1 = useCallback(() => setOpen1((open) => !open), []);\n const toggleOpen2 = useCallback(() => setOpen2((open) => !open), []);\n const toggleOpen3 = useCallback(() => setOpen3((open) => !open), []);\n const toggleOpen4 = useCallback(() => setOpen4((open) => !open), []);\n const toggleOpen5 = useCallback(() => setOpen5((open) => !open), []);\n\n // Helper function to toggle background color\n const getBackgroundColor = (isOpen) => (isOpen ? '#FAFAFA' : 'transparent');\n\n return (\n \n \n \n \n \n \n
\n How long do commissions last for?\n
\n
\n
\n \n
Commissions last for the lifetime of the account
\n
\n \n \n\n \n \n
\n How do I get paid?\n
\n
\n
\n \n
\n At the end of each month, your commissions are calculated and available for cash-out via PayPal\n
\n
\n \n \n\n \n \n
\n When do I get paid?\n
\n
\n
\n \n
\n Payments are verified and paid-out the month after your commission is earned. For example, any commissions earned in February will be available March 16th\n
\n
\n \n \n\n \n \n
\n How long do cookies last for?\n
\n
\n
\n \n
\n We use Cookies to track your referrals. The cookies last for 90 days after someone clicks on your link. If they click again, the 90 days starts again.\n
\n
\n \n \n\n \n \n
\n What is the minimum amount I can withdraw?\n
\n
\n
\n \n
\n The minimum withdrawal amount is $25\n
\n
\n \n
\n
\n \n
\n );\n};\n\nexport default Help;\n","import {\n useQuery,\n} from '@tanstack/react-query';\nimport { getMethod } from '../../api/services';\n\nconst VISITORS = \"/partners/visitors_data\";\n\nexport function useFetchVisitors({axiosInstance, ...requestOptions }) {\n return useQuery({\n ...requestOptions,\n queryKey: ['visitors'],\n queryFn: () => getMethod(VISITORS, axiosInstance),\n select: (response) => response.data,\n placeholder: [],\n });\n}","import React from 'react';\nimport { BlockStack, Card, DataTable, Link, Text, Tooltip, useBreakpoints } from '@shopify/polaris';\nimport PageHeader from '../page_header';\nimport { useFetchVisitors } from './api';\nimport { useAxiosInstance } from '../../context/AxiosContext';\n\nconst AFFILIATE_LINK_PREFIX = \"https://partners.starapps.studio/\";\n\nconst Visitors = () => {\n const axiosInstance = useAxiosInstance();\n const { data, isLoading } = useFetchVisitors({ axiosInstance });\n const { smDown } = useBreakpoints();\n let visited_rows = isLoading ? [] : data?.visited?.map((row) => {\n return [\n smDown ? {row[0].split(AFFILIATE_LINK_PREFIX)[1]} : row[0],\n row[1]\n ];\n });\n return (\n \n \n \n Affiliate link,\n Time,\n ]}\n rows={visited_rows}\n footerContent={visited_rows.length === 0 ? Visited links will be displayed here : null} // Optional footer message\n />\n \n \n );\n};\n\nexport default Visitors;","import React from \"react\";\nimport { Routes, Route, useLocation, Navigate } from \"react-router-dom\";\nimport PropTypes from \"prop-types\";\nimport NewUserPage from \"./components/new_user_page\";\nimport FormSubmitted from \"./components/form_submitted\";\nimport Layout from \"./components/layout\";\nimport Dashboard from \"./components/dashboard\";\nimport Referrals from \"./components/referrals\";\nimport Settings from \"./components/settings\";\nimport Payouts from \"./components/payouts\";\nimport AffiliateLinks from \"./components/affiliate_links\";\nimport Help from \"./components/help\";\nimport Visitors from \"./components/visitors\";\n\nconst AppRoutes = (props) => {\n const { signUp, admin_review } = props;\n const { pathname } = useLocation();\n const subRoutes = <>\n } />\n {\n admin_review &&\n <>\n } />\n } />\n } />\n } />\n \n }\n } />\n } />\n {/* Wildcard route to catch unmatched paths */}\n } />\n ;\n\n const mainRoute = pathname.includes(\"admin\") ?\n } >\n } />\n {subRoutes}\n :\n } >\n {subRoutes}\n ;\n\n return (\n
\n {signUp ?\n \n } />\n } />\n } />\n :\n \n {mainRoute}\n } />\n \n }\n
\n );\n};\n\nAppRoutes.propTypes = {\n signUp: PropTypes.bool,\n admin_review: PropTypes.bool,\n};\n\nexport default AppRoutes;\n","import React from 'react';\nimport { AppProvider } from '@shopify/polaris';\nimport { BrowserRouter } from 'react-router-dom';\nimport AppRoutes from './routes'; // Ensure this import path is correct\nimport enTranslations from '@shopify/polaris/locales/en.json';\nimport { QueryClient, QueryClientProvider } from '@tanstack/react-query';\n// import { NavMenu } from '@shopify/app-bridge-react';\n// import { ShopDetailsProvider } from './context/ShopContext';\n\nconst queryClient = new QueryClient();\n\nconst App = (props) => {\n return (\n \n \n \n \n \n \n \n );\n};\n\nexport default App;\n","\nimport React from 'react';\nimport { createRoot } from 'react-dom/client';\nimport App from './App';\n//Render component with data\nconst node = document.getElementById('AppRoot');\nif (node) {\n const root = createRoot(node);\n const data = JSON.parse(node.getAttribute('data'));\n root.render();\n}\n"],"names":["_4","smUp","useBreakpoints","React","className","BlockStack","gap","styles","src","check","alt","Text","Link","removeUnderline","url","target","useCreatePartner","_ref","requestOptions","_extends","_objectDestructuringEmpty","useMutation","_objectSpread","mutationFn","postBody","axios","post","businessTypeOptions","label","value","promoteOptions","perksOptions","_regeneratorRuntime","e","t","r","Object","prototype","n","hasOwnProperty","o","defineProperty","i","Symbol","a","iterator","c","asyncIterator","u","toStringTag","define","enumerable","configurable","writable","wrap","Generator","create","Context","makeInvokeMethod","tryCatch","type","arg","call","h","l","f","s","y","GeneratorFunction","GeneratorFunctionPrototype","p","d","getPrototypeOf","v","values","g","defineIteratorMethods","forEach","_invoke","AsyncIterator","invoke","resolve","__await","then","callInvokeWithMethodAndArg","Error","done","method","delegate","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","TypeError","resultName","next","nextLoc","pushTryEntry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","isNaN","length","displayName","isGeneratorFunction","constructor","name","mark","setPrototypeOf","__proto__","awrap","async","Promise","keys","reverse","pop","prev","charAt","slice","stop","rval","handle","complete","finish","delegateYield","asyncGeneratorStep","_onSubmit","navigate","useNavigate","_useBreakpoints","smDown","_useCreatePartner","onSuccess","response","data","errors","error","messages","split","includes","fields","email","setError","status","concat","mutate","isLoading","_useForm","useForm","first_name","useField","validates","notEmpty","last_name","test","company_name","business_profile","promotion_type","discount_or_fee","onSubmit","_callee","form","_context","arguments","apply","_next","_throw","_x","submit","dirty","useEffect","thElements","document","querySelectorAll","style","removeProperty","Form","Card","variant","InlineStack","Button","onClick","window","location","href","InlineGrid","columns","TextField","assign","Select","options","loading","disabled","Body","Sidebar","NewUserForm","layoutStyles","inlineAlign","alignment","_slicedToArray","useSearchParams","get","allowedUrls","findLink","currentUrl","admin_review","pathSegments","useLocation","pathname","lastSegment","routes","id","selected","icon","HomeIcon","subNavigationItems","TeamIcon","ChatReferralIcon","AffiliateIcon","ReceiptDollarIcon","SettingsIcon","QuestionCircleIcon","_findSelectedItem","selectedRoute","selectedSubRoute","route","subRoute","findSelectedItem","map","key","to","Icon","source","tone","LockIcon","getMethod","query","axiosInstance","postMethod","payload","SETTINGS","csrfToken","querySelector","getAttribute","deleteMethod","headers","useFetchSettingsData","_objectWithoutProperties","_excluded","useQuery","queryKey","queryFn","select","placeholder","freeRoutes","activator","active","toggleActive","adminReview","Popover","onClose","autofocusTarget","ActionList","actionRole","items","isRestricted","content","align","onAction","handleClick","adminAxiosInstance","baseURL","csrf","interceptors","request","use","config","Authorization","sessionToken","reject","embedAxiosInstance","AxiosContext","createContext","useAxiosInstance","useContext","AxiosProvider","children","layout","referrer_id","defaults","Provider","_ref4","isFullWidth","isAdmin","reload","onError","_useAdminSignOut","_ref5","useAdminSignOut","adminMutate","_useState2","useState","popoverActive","setPopoverActive","_useState4","mobileMenu","setMobileMenu","togglePopoverActive","toggleMobileMenu","variation","toUpperCase","mobileActivator","MenuVerticalIcon","MobileMenu","ExitIcon","Frame","navigation","Page","fullWidth","Outlet","handleOpenSupportChat","prefilledMsg","undefined","Intercom","setActive","Banner","title","CheckIcon","onDismiss","ChatIcon","borderWidth","GET_ANALYTICS","useFetchAnalytics","_useFetchAnalytics","as","blockAlign","Number","total_earnings","toFixed","monthly_earnings","pending_commissions","referral_count","_useFetchMonthlyVisit","_ref2","_excluded2","useFetchMonthlyVisitors","xAxisDays","setXAxisDays","visitorsData","setVisitorsData","_useState6","maxVisitors","setMaxVisitors","chartWidth","currentDate","Date","year","getFullYear","month","getMonth","daysInMonth","getDaysInMonth","daysArray","Array","from","_","format","visitorsArray","day","index","formattedDate","maxVal","Math","max","_toConsumableArray","Spinner","BarChart","xAxis","scaleType","series","color","width","height","yAxis","min","ticksNumber","grid","horizontal","props","ReviewBanner","Analytics","Graph","useFetchAllReferrals","_props$marginLeft","marginLeft","badge","ArrowLeftIcon","breakWord","AFFILIATE_LINK_PREFIX","_data$data","_useFetchAllReferrals","rows","row","_row$","badgeTone","subscriptionText","subscriptionSubdued","planStatus","monochrome","Badge","PageHeader","padding","DataTable","stickyHeader","columnContentTypes","headings","fontWeight","footerContent","referralPlans","plan","referral_code","affiliate_fee","countryOptions","getData","country","code","paypal_email","queryClient","useQueryClient","_useUpdateSettings","useUpdateSettings","invalidateQueries","infoSection","description","urlDescription","Box","ContextualSaveBar","alignContentFlush","message","saveAction","discardAction","xs","md","Email","Divider","Name","Business","Account","_useFetchSettingsData","referral_plans","isActive","Toast","PaypalBody","amount","InfoIcon","analytics","analyticsLoading","_useFetchPayouts","useFetchPayouts","settings","settingLoading","_usePayoutEmail","usePayoutEmail","setToast","toast","size","ToastMessage","AFFILIATE_LINKS","CREATE_NEW_PLAN","copyToClipboard","link","navigator","clipboard","writeText","console","log","err","Table","affiliate","visits","shortName","visit","isArray","Tooltip","DuplicateIcon","accessibilityLabel","totals","totalsName","singular","plural","TableHeader","merchant_discount","_useFetchAffiliateLin","useFetchAffiliateLinks","affiliateLoading","_useCreateNewPlan","useCreateNewPlan","_response$data","_response$data2","setReferralCode","referralCode","_useState8","_useState10","selectedOption","setSelectedOption","handleAddLink","trim","join","Modal","open","footer","primaryAction","Section","onChange","Contact","open1","setOpen1","open2","setOpen2","open3","setOpen3","open4","setOpen4","open5","setOpen5","toggleOpen1","useCallback","toggleOpen2","toggleOpen3","toggleOpen4","toggleOpen5","getBackgroundColor","isOpen","backgroundColor","CaretUpIcon","ChevronDownIcon","Collapsible","transition","duration","useFetchVisitors","_data$visited","_useFetchVisitors","visited_rows","visited","signUp","subRoutes","Route","path","element","Dashboard","Referrals","Payouts","AffiliateLinks","Visitors","Settings","Help","Navigate","replace","mainRoute","Layout","Routes","NewUserPage","FormSubmitted","QueryClient","QueryClientProvider","client","AppProvider","i18n","enTranslations","BrowserRouter","AppRoutes","node","getElementById","root","createRoot","JSON","parse","render","App"],"sourceRoot":""}