1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="06c03e64-483c-44b6-8b55-ba598182f8e8",e._sentryDebugIdIdentifier="sentry-dbid-06c03e64-483c-44b6-8b55-ba598182f8e8")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4240],{92395:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/payment/[brandId]/pricesAndPlans",function(){return n(31294)}])},85488:function(e,t,n){"use strict";n.d(t,{DM:function(){return b},EC:function(){return C},Ee:function(){return O},FA:function(){return r},GD:function(){return K},GP:function(){return F},GU:function(){return p},Gs:function(){return A},JD:function(){return S},Mx:function(){return N},R7:function(){return T},RB:function(){return D},RN:function(){return c},Tt:function(){return x},Vp:function(){return a},XO:function(){return z},_T:function(){return d},dH:function(){return i},gF:function(){return P},if:function(){return M},k1:function(){return _},k9:function(){return B},nR:function(){return I},nc:function(){return h},pg:function(){return f},sn:function(){return m},wx:function(){return o},xk:function(){return u},yE:function(){return s},zL:function(){return g}});var l=n(11516);let r=l.default.div.withConfig({displayName:"styles__PaymentPageWrapper",componentId:"sc-32ddd28e-0"})(["\n width: 100%;\n height: 100vh;\n overflow-y: auto;\n background-color: ",";\n"],e=>{let{theme:t}=e;return t.colors.primary.light6}),s=(0,l.css)(["\n width: 100%;\n"]),i=(0,l.css)(["\n width: 90%;\n max-width: 1000px;\n"]),a=l.default.div.withConfig({displayName:"styles__ProgressStepWrapper",componentId:"sc-32ddd28e-1"})(["\n padding-top: 32px;\n width: 300px;\n"]),o=(0,l.css)(["\n background-color: ",";\n padding: 24px;\n box-shadow: 2px 2px 4px 4px rgba(0, 0, 0, 0.04);\n"],e=>{let{theme:t}=e;return t.colors.neutral.white}),d=(0,l.css)(["\n position: sticky;\n top: 0;\n padding-top: 60px;\n height: fit-content;\n"]),c=(0,l.css)(["\n padding: 32px 0;\n width: 100%;\n"]),u=(0,l.css)(["\n padding: 60px 100px 0 0;\n"]),p=(0,l.css)(["\n flex-wrap: wrap;\n"]),m=(0,l.css)(["\n height: 32px;\n"]),y=(0,l.css)(["\n height: 22px;\n margin-bottom: 16px;\n"]),h=(0,l.css)(["\n height: ",";\n width: calc(\n ","% -\n ","\n );\n box-sizing: border-box;\n transition: all 0.4s linear;\n ","\n"],e=>{let{error:t}=e;return t?"94px":"80px"},e=>e.size?100/e.size:100,e=>1===e.size?"0px":"16px",e=>{let{title:t,text:n}=e;return t||n?"":y}),b=(0,l.css)(["\n opacity: ",";\n transition: none;\n ","\n"],e=>{let{hide:t}=e;return t?"0":"1"},e=>{let{hide:t}=e;return t?"height: 0px; padding: 0; margin: 0; font-size: 0;":""}),x=(0,l.css)(["\n height: fit-content;\n opacity: ",";\n transition: none;\n ","\n"],e=>{let{hide:t}=e;return t?"0":"1"},e=>{let{hide:t}=e;return t?"height: 0px; padding: 0; margin: 0; font-size: 0;":""}),g=l.default.div.withConfig({displayName:"styles__LoaderContainer",componentId:"sc-32ddd28e-2"})(["\n position: absolute;\n display: flex;\n flex-direction: column;\n width: 100vw;\n height: 100vh;\n background: ",";\n top: 0;\n bottom: 0;\n right: 0;\n left: 0;\n z-index: 101;\n justify-content: center;\n align-items: center;\n"],e=>{let{theme:t}=e;return t.colors.neutral.white}),f=l.default.fieldset.withConfig({displayName:"styles__Fieldset",componentId:"sc-32ddd28e-3"})(["\n border: 0px;\n padding: 0px;\n margin: 0px;\n"]),v=(0,l.css)(["\n &:hover,\n &:active,\n &:focus {\n border-color: ",";\n }\n"],e=>{let{theme:t}=e;return t.colors.primary.light2}),k=(0,l.css)(["\n border-color: ",";\n ","\n"],e=>{let{error:t,theme:n}=e;return t?n.colors.state.dangerDefault:n.colors.state.default},v),w=(0,l.css)(["\n color: ",";\n ",";\n ",";\n"],e=>{let{theme:t}=e;return t.colors.primary.dark},e=>{let{color:t,theme:n}=e;return"danger"===t&&"color: ".concat(n.colors.state.dangerDefault)},e=>{let{color:t,theme:n}=e;return"warning"===t&&"color: ".concat(n.colors.state.warningDefault)}
1),j=(0,l.css)(["\n cursor: not-allowed;\n &:hover,\n &:active,\n &:focus {\n border-color: ",";\n }\n ",";\n ",";\n"],e=>{let{theme:t}=e;return t.colors.primary.light2},e=>{let{color:t,theme:n}=e;return"danger"===t&&"color: ".concat(n.colors.state.dangerDefault)},e=>{let{color:t,theme:n}=e;return"warning"===t&&"color: ".concat(n.colors.state.warningDefault)}),S={style:{base:{fontFamily:"'Rubik',sans-serif",fontSize:13,"::placeholder":{color:"#C5C5D2"}},invalid:{color:"#FF001F"}}},F=l.default.label.withConfig({displayName:"styles__StripeElement",componentId:"sc-32ddd28e-4"})(["\n .StripeElement {\n height: 32px;\n border-radius: 3px;\n border-width: 1px;\n border-style: solid;\n width: 100%;\n padding: 8px;\n box-sizing: border-box;\n font-size: 13px;\n line-height: 17px;\n background-color: ",";\n outline: none;\n ","\n ","\n ","\n ","\n }\n"],e=>{let{theme:t}=e;return t.colors.neutral.white},k,w,e=>{let{disabled:t}=e;return t&&j},e=>{let{styles:t}=e;return t}),C=l.default.div.withConfig({displayName:"styles__PaymentSummaryContainer",componentId:"sc-32ddd28e-5"})(["\n border-top: 1px solid ",";\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: space-between;\n"],e=>{let{theme:t}=e;return t.colors.primary.light5}),A=l.default.div.withConfig({displayName:"styles__CouponContainer",componentId:"sc-32ddd28e-6"})(["\n border-top: 1px solid ",";\n"],e=>{let{theme:t}=e;return t.colors.primary.light5}),K=l.default.div.withConfig({displayName:"styles__AddCouponContainer",componentId:"sc-32ddd28e-7"})(["\n display: flex;\n flex-direction: column;\n align-items: center;\n"]),P=l.default.div.withConfig({displayName:"styles__AppliedCouponContainer",componentId:"sc-32ddd28e-8"})(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n"]),_=l.default.div.withConfig({displayName:"styles__RemoveCoupon",componentId:"sc-32ddd28e-9"})(["\n :hover,\n :active,\n :focus {\n cursor: pointer;\n user-select: none;\n svg,\n p {\n color: ",";\n }\n }\n"],e=>{let{theme:t}=e;return t.colors.app.default}),T=l.default.div.withConfig({displayName:"styles__AddCoupon",componentId:"sc-32ddd28e-10"})(["\n display: flex;\n align-items: center;\n :hover,\n :active,\n :focus {\n cursor: pointer;\n user-select: none;\n svg,\n p {\n color: ",";\n }\n }\n"],e=>{let{theme:t}=e;return t.colors.app.default}),I=(0,l.css)(["\n cursor: pointer;\n color: ",";\n"],e=>{let{theme:t}=e;return t.colors.primary.light4}),N=(0,l.css)(["\n width: 100%;\n height: 36px;\n"]),z={control:e=>({...e,":hover":{borderColor:"#7C7194"},":active":{borderColor:"#7C7194"},borderColor:"#C5C5D2",boxShadow:"0 0 0 1px transparent"})},D={control:e=>({...e,":hover":{borderColor:"#7C7194"},":active":{borderColor:"#7C7194"},borderColor:"#FF001F",boxShadow:"0 0 0 1px transparent"})};l.default.div.withConfig({displayName:"styles__Circle",componentId:"sc-32ddd28e-11"})(["\n border: 1px solid ",";\n background-color: ",";\n height: 160px;\n border-radius: 50%;\n width: 160px;\n padding: 12px;\n"],e=>{let{theme:t}=e;return t.colors.primary.dark},e=>{let{theme:t}=e;return t.colors.primary.light5});let O=l.default.img.withConfig({displayName:"styles__Image",componentId:"sc-32ddd28e-12"})(["\n width: 65%;\n height: 65%;\n"]),M=l.default.img.withConfig({displayName:"styles__HiddenImage",componentId:"sc-32ddd28e-13"})(["\n display: none;\n"]),B=l.default.div.withConfig({displayName:"styles__StyledSelectionContainer",componentId:"sc-32ddd28e-14"})(["\n position: relative;\n width: 100%;\n"])},17557:function(e,t,n){"use strict";n.d(t,{s:function(){return s}});var l=n(76118);function r(){let e=(0,l._)(["\n mutation reactivateSubscription($brandId: String!) {\n reactivateSubscription(brandId: $brandId) {\n message\n success\n }\n }\n"]);return r=function(){return e},e}let s=(0,n(7456).Ps)(r())},99176:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return a},noSSR:function(){return i}});let l=n(55120);n(60738),n(60737);let r=l._(n(98661));function s(e){return{default:(null==e?void 0:e.default)||e}}function i(e,t){return delete t.webpack,delete t.modules,e(t)}function a(e,t){let n=r.default,l={loading:e=>{let{error:t,isLoading:n,pastDelay:l}=e;return null}};e instanceof Promise?l.loader=()=>e:"function"==typeof e?l.loader=e:"object"==typeof e&&(l={...l,...e});let a=(l={...l,...t}).loader;return(l.loadableGenerated&&(l={...l,...l.loadableGenerated},delete l.loadableGenerated),"boolean"!=typeof l.ssr||l.ssr)?n({...l,loader:()=>null!=a?a().then(s):Promise.resolve(s(()=>null))}):(delete l.webpack,delete l.modules,i(n,l))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},32783:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return l}});let l=n(55120)._(n(60737)).default.createContext(null)},98661:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});let l=n(55120)._(n(60737)),r=n(32783),s=[],i=[],a=!1;function o(e){let t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then(e=>(n.loading=!1,n.loaded=e,e)).catch(e=>{throw n.loading=!1,n.error=e,e}),n}class d{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function c(e){return function(e,t){let n=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),s=null;function o(){if(!s){let t=new d(e,n);s={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return s.promise()}if(!a){let e=n.webpack?n.webpack():n.modules;e&&i.push(t=>{for(let n of e)if(t.includes(n))return o()})}function c(e,t){!function(){o();let e=l.default.useContext(r.LoadableContext);e&&Array.isArray(n.modules)&&n.modules.forEach(t=>{e(t)})}();let i=l.default.useSyncExternalStore(s.subscribe,s.getCurrentValue,s.getCurrentValue);return l.default.useImperativeHandle(t,()=>({retry:s.retry}),[]),l.default.useMemo(()=>{var t;return i.loading||i.error?l.default.createElement(n.loading,{isLoading:i.loading,pastDelay:i.pastDelay,timedOut:i.timedOut,error:i.error,retry:s.retry}):i.loaded?l.default.createElement((t=i.loaded)&&t.default?t.default:t,e):null},[e,i])}return c.preload=()=>o(),c.displayName="LoadableComponent",l.default.forwardRef(c)}(o,e)}function u(e,t){let n=[];for(;e.length;){let l=e.pop();n.push(l(t))}return Promise.all(n).then(()=>{if(e.length)return u(e,t)})}c.preloadAll=()=>new Promise((e,t)=>{u(s).then(e,t)}),c.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let n=()=>(a=!0,t());u(i,e).then(n,n)})),window.__NEXT_PRELOADREADY=c.preloadReady;let p=c},31294:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return n6}});var l=n(60738),r=n(26959),s=n(84223),i=n.n(s),a=n(60737),o=n(89341),d=n(13983),c=n(35799),u=n(21761),p=n(92938),m=n.n(p),y=n(87695),h=n.n(y),b=n(862),x=n(57982),g=n(60114),f=n(17557),v=n(96800),k=n(66320),w=n.n(k),j=n(33718),S=n(14568),F=n(70737);let C="margin: 0 4px;",A=e=>{let{t}=(0,o.q)(),{isOpen:n,onClose:r,errors:s=[]}=e;return(0,l.jsxs)(S.Modal,{isOpen:n,onClose:r,color:"state.dangerDefault",height:"375",titleStyle:["text-transform: none;"],title:t("prices.plans.modal.downgradeError.title"),children:[(0,l.jsx)(S.Text,{size:"14",bold:!0,children:t("prices.plans.modal.downgradeError.whyCantUpgrade.title")}),(0,l.jsx)(S.Spacing,{size:"8"}),s.map(e=>{let{limitName:n,exceededBy:r,limitValue:s,network:i}=e,a=t("prices.plans.modal.downgradeError.limit.label");if("influencersLimit"===n){let e=F.D.find(e=>{let{value:t}=e;return t===i});a=e?t("prices.plans.modal.downgradeError.profiles.label",{label:e.label}):t("prices.plans.modal.downgradeError.influencers.label")}if("listsLimit"===n&&(a=t("prices.plans.modal.downgradeError.lists.label")),"campaignLimit"===n&&(a=t("prices.plans.modal.downgradeError.campaigns.label")),"guestUsersLimit"===n&&(a=t("prices.plans.modal.downgradeError.guestUsers.label")),"reportsLimit"===n){let e=F.D.find(e=>{let{value:t}=e;return t===i});a=e?t("prices.plans.modal.downgradeError.reportsWithPosts.label",{network:e.label}):t("prices.plans.modal.downgradeError.reports.label")}return"programsLimit"===n&&(a=t("prices.plans.modal.downgradeError.programs.label")),"customFieldsLimit"===n&&(a=t("prices.plans.modal.downgradeError.customFields.label")),"alertsLimit"===n&&(a=t("prices.plans.modal.downgradeError.alertsLimit.label")),(0,l.jsxs)(S.Text,{size:"14",color:"primary.light3",children:[t("prices.plans.modal.downgradeError.error.exceededMaximun.title"),
1(0,l.jsx)(S.Text,{size:"14",color:"primary.light3",bold:!0,styles:C,variant:"span",children:a}),t("prices.plans.modal.downgradeError.error.exceededBy.title"),(0,l.jsx)(S.Text,{size:"14",color:"primary.light3",bold:!0,styles:C,variant:"span",children:r})]},n)}),(0,l.jsx)(S.Spacing,{size:"8"}),(0,l.jsxs)(S.Flex,{grow:"1",justify:"flex-end",align:"end",column:!0,children:[(0,l.jsx)(S.Text,{color:"primary.light3",children:t("prices.plans.modal.downgradeError.canUpgrade.title")}),(0,l.jsx)(S.Spacing,{size:"16"}),(0,l.jsx)(S.Button,{onClick:r,color:"danger",children:(0,l.jsx)(S.Text,{color:"inherit",size:"14",bold:!0,children:t("commons.button.goToPlatform")})})]})]})};var K=n(11516);let P=e=>{let{isOpen:t,onClose:n,handleDowngrade:r}=e,{t:s}=(0,o.q)(),{colors:{gradients:i}}=(0,a.useContext)(K.ThemeContext);return(0,l.jsxs)(S.Modal,{titleStyle:["text-transform: none;"],isOpen:t,onClose:n,height:"480",title:s("prices.plans.modal.confirmDowngrade.title"),gradient1:i[1][0],gradient2:i[1][1],children:[(0,l.jsx)(S.Text,{bold:!0,size:"14",children:s("prices.plans.modal.confirmDowngrade.loseBenefits.title")}),(0,l.jsx)(S.Spacing,{size:"16"}),(0,l.jsx)(S.Text,{size:"14",color:"primary.light3",children:s("prices.plans.modal.confirmDowngrade.resultSearchDecrease.title")}),(0,l.jsx)(S.Spacing,{size:"8"}),(0,l.jsx)(S.Text,{size:"14",color:"primary.light3",children:s("prices.plans.modal.confirmDowngrade.advancedSearchBlocked.titleParagraph")}),(0,l.jsx)(S.Spacing,{size:"8"}),(0,l.jsx)(S.Text,{size:"14",color:"primary.light3",children:s("prices.plans.modal.confirmDowngrade.influencersAmount.titleParagraph")}),(0,l.jsx)(S.Spacing,{size:"8"}),(0,l.jsx)(S.Text,{size:"14",color:"primary.light3",children:s("prices.plans.modal.confirmDowngrade.accessAdvancedInfluencers.titleParagraph")}),(0,l.jsx)(S.Spacing,{size:"8"}),(0,l.jsx)(S.Text,{size:"14",color:"primary.light3",children:s("prices.plans.modal.confirmDowngrade.pdfAndSharingTools.titleParagraph")}),(0,l.jsx)(S.Spacing,{size:"8"}),(0,l.jsx)(S.Text,{size:"14",color:"primary.light3",children:s("prices.plans.modal.confirmDowngrade.campaignsAmount.titleParagraph")}),(0,l.jsx)(S.Spacing,{size:"8"}),(0,l.jsx)(S.Text,{size:"14",color:"primary.light3",children:s("prices.plans.modal.confirmDowngrade.reportsAmount.titleParagraph")}),(0,l.jsx)(S.Spacing,{size:"8"}),(0,l.jsx)(S.Text,{size:"14",color:"primary.light3",children:s("prices.plans.modal.confirmDowngrade.userAccounts.titleParagraph")}),(0,l.jsxs)(S.Flex,{column:!0,grow:"1",justify:"flex-end",align:"end",children:[(0,l.jsx)(S.Text,{color:"primary.light3",children:s("prices.plans.modal.confirmDowngrade.changesSelectedPlan.titleParagraph")}),(0,l.jsx)(S.Spacing,{size:"16"}),(0,l.jsxs)(S.Flex,{children:[(0,l.jsx)(S.Button,{onClick:r,children:s("prices.plans.modal.confirmDowngrade.confirm.button.label")}),(0,l.jsx)(S.Spacing,{vertical:!0,size:"24"}),(0,l.jsx)(S.Button,{variant:"outline",onClick:n,children:s("prices.plans.modal.confirmDowngrade.cancel.button.label")})]})]})]})};var _=n(54599),T=n(29976),I=n(69273);let{publicRuntimeConfig:N={}}=n.n(I)()(),{helpCenterUrl:z}=N,D=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en";return{text:e("prices.plans.faqs.visitHelpCenter.link"),url:z&&z.replace("{0}",t)}},O=e=>({text:e("prices.bundles.contactBlock.notSure.titleParagraph1"),subText:e("prices.bundles.contactBlock.contacUs.titleParagraph1"),contactText:"[email protected]"});var M=n(1520),B=n(76118),R=n(7456);function E(){let e=(0,B._)(["\n query getBundlesCoupons {\n getBundlesCoupons {\n metadata\n amount_off\n duration_in_months\n name\n percent_off\n valid\n }\n }\n"]);return E=function(){return e},e}let q=(0,R.Ps)(E());var L=n(84816),H=n(2284);let G=(0,a.createContext)({value:{}}),$=e=>(0,l.jsx)(G.Provider,{value:{...e},children:e.children}),Q=e=>{let{nickname:t,min:n,getText:r,selectedSliders:s,variant:i="p",styles:a,locale:o}=e,d=s.find(e=>e.nickname===t);return(0,l.jsx)(S.Text,{size:"14",variant:i,styles:a,color:"primary.black",children:r(d&&d.quantity?d.quantity:n,o)})},U=(0,a.createContext)({value:{}}),W=e=>{let{changeRoute:t,children:n}=e,[r,s]=(0,S.useArray)([]),i=(0,S.useDebounce)(r,500);return(0,a.useEffect)(()=>{t(i)},[i]),(0,l.jsx)(U.Provider,{value:{selectedSliders:r,setSelectedSliders:s},children:n})},V=(0,K.default)(S.Text).withConfig({displayName:"BundlesPaymentSelectedSliders__StyledText",componentId:"sc-c3fc3718-0"})(["\n padding-bottom: 6px;\n"]),Y=(0,K.css)(['\n :before { \n content: "\\00a0 |\\00a0"; \n } \n padding-bottom: 6px;\n']),J=e=>{let{sliderConf:t,price:n,getPriceText:r}=e,{selectedSliders:s}=(0,a.useContext)(U),{locale:i}=(0,_.Qg)(),o=(0,L.mt)(t,n,s);return(0,l.jsxs)("div",{children:[(0,l.jsx)(V,{size:"14",color:"primary.black",variant:"span",children:o?r(o,i):"-"}),t&&t.map(e=>(0,l.jsx)(Q,{...e,selectedSliders:s,variant:"span",styles:Y,locale:i},e.nickname))]})};var X=n(80263);let Z=(0,K.css)(["\n position: relative;\n background: ",";\n border: 1px solid ",";\n :not(:last-child) {\n margin-bottom: 0.4rem;\n }\n padding: 4px 8px 8px 8px;\n border-radius: 8px;\n"],e=>{let{theme:t}=e;return t.colors.app.lightGray2},e=>{let{theme:t}=e;return t.colors.app.lightGray}),ee=(0,K.css)(["\n align-self: flex-end;\n position: absolute;\n margin-right: -8px;\n"]),et=(0,K.default)(S.Text).withConfig({displayName:"BundlesPaymentSelectedProduct__StyledText",componentId:"sc-9baf1dc5-0"})(["\n padding-bottom: 6px;\n"]),en=(0,K.css)(["\n padding-bottom: 4px;\n"]),el=e=>{let{nickname:t,fullName:n,networks:r,fakeNetworks:s,sliderConf:i,price:o,getSummaryPriceText:d,selectedProducts:c,extraNetworks:u,allNetworksText:p}=e,{selectedProductIds:m,setSelectedProductIds:y}=(0,a.useContext)(G),h=m.find(e=>{let{nickname:n}=e;return n===t}).network;return h&&(r=[h]),(0,l.jsxs)(S.Flex,{column:!0,styles:Z,children:[(0,l.jsx)(S.Flex,{styles:ee,children:(0,l.jsx)(S.IconAction,{name:"close",size:24,onClick:()=>{y((0,L.Dj)(c,m,t).concat(t),"deleteMultiple","nickname")}})}),(0,l.jsx)(S.Spacing,{size:"16"}),(0,l.jsx)(et,{bold:!0,size:"16",color:"primary.black",children:n}),(0,l.jsx)(X.H,{networkIds:s||r,styles:en,extraNetworks:u,allNetworksText:p}),(0,l.jsx)(J,{sliderConf:i,price:o,getPriceText:d}),(0,l.jsx)(S.Spacing,{size:"4"})]})},er=K.default.div.withConfig({displayName:"BundlesPaymentSelection__StyledSelectionContainer",componentId:"sc-636b9ae1-0"})(["\n position: relative;\n"]),es=K.default.div.withConfig({displayName:"BundlesPaymentSelection__StyledDivRef",componentId:"sc-636b9ae1-1"})(["\n max-height: fit-content;\n overflow: auto;\n @media only screen and (max-width: 48rem) {\n max-height: fit-content;\n }\n"]),ei=(0,K.css)(["\n padding-right: 0.5rem;\n"]),ea=e=>{let{selectedProducts:t}=e;return(0,l.jsx)(er,{children:(0,l.jsx)(S.Overhang,{children:e=>(0,l.jsx)(es,{ref:e,children:(0,l.jsx)(S.Flex,{column:!0,styles:ei,children:t.map(e=>(0,l.jsx)(el,{...e,selectedProducts:t},e.nickname))})})})})},eo=(0,K.css)(['\n @media only screen and (min-width: 48rem) {\n :after {\n content: "\\00a0";\n }\n }\n']),ed=(0,K.css)(["\n text-decoration: line-through;\n"]),ec=(0,K.css)(["\n @media only screen and (max-width: 48rem) {\n flex-direction: column;\n ","\n }\n"],e=>{let{mobileStyles:t}=e;return t&&t}),eu=e=>{let{selectedProducts:t,percentageOff:n,getPriceText:r,mobileStyles:s}=e,{selectedSliders:i}=(0,a.useContext)(U),o=(0,L.m_)(t,i);return(0,l.jsxs)(S.Flex,{align:"center",styles:ec,mobileStyles:s,children:[(0,l.jsx)(S.Text,{variant:"span",size:"16",bold:!0,color:"primary.majorelleBlue",styles:eo,children:r((100-n)*o/100)}),n>0&&(0,l.jsx)(S.Text,{variant:"span",size:"16",styles:ed,color:"app.gray2",children:r(o)})]})},ep=(0,K.default)(S.StateButton).withConfig({displayName:"BundlesPaymentButton__StyledButton",componentId:"sc-a73cafb7-0"})(["\n margin: 1.2rem;\n width: 100%;\n"]),em=(e,t)=>
1{let n=e.reduce((e,t)=>{let{sliderConf:n}=t;return n&&n.forEach(t=>{let{nickname:n}=t;e=e.concat(n)}),e},[]);return t.filter(e=>{let{nickname:t}=e;return n.indexOf(t)>-1})},ey=e=>{var t;return(null==e?void 0:e.length)!==1||(null===(t=e[0])||void 0===t?void 0:t.nickname)!=="social-media-basic"},eh=e=>{let{selectedProducts:t}=e,{selectedProductIds:n,handleBuyClick:r,activeProducts:s,disablePayButton:o,loadingPayButton:d,cancelAtPeriodEnd:c,planIsCanceled:u,bundlePaymentInfo:p}=(0,a.useContext)(G),{selectedSliders:y}=(0,a.useContext)(U),b=em(t,y),x=0===n.length||ey(n)&&0===b.length,g=h()(s,"nickname"),f=h()(n.concat(b),"nickname"),v=m()(g,f),k=(c||u)&&v,w=p.buttonText[x?"buy":"continue"],j=i()(p,"buttonText.restart");return(0,l.jsx)(ep,{size:"l",variant:"rounded",disabled:x||o||v&&!k,onClick:()=>{r(n.concat(b).filter(e=>e.quantity&&e.quantity>0))},loading:d,showLoader:!0,"data-cy":"bundles-payment-button",children:k?j:w})},eb=(0,K.css)(["\n border-radius: 4px;\n background: ",";\n border: 1px solid ",";\n padding: 0.4em 0.5em;\n opacity: 0;\n max-height: 0;\n transition: all 0.2s ease-in-out;\n ","\n ","\n"],e=>{let{theme:t}=e;return t.colors.app.lightGray2},e=>{let{theme:t}=e;return t.colors.app.lightGray},e=>{let{show:t}=e;return t&&"\n margin-top: 12px;\n opacity: 1;\n max-height: 200px;\n "},e=>{let{modal:t}=e;return t&&"justify-content: center;"}),ex=e=>{let{percentageOff:t,modal:n,getDiscountText:r}=e;return(0,l.jsx)(S.Flex,{styles:[eb],show:t>0,modal:n,children:(0,l.jsx)(S.Text,{color:"primary.black",children:r(t)})})},eg=(0,K.css)(["\n margin-top: 2rem;\n padding-bottom: 0.5rem;\n margin-right: 0.5rem;\n border-top: 1px solid ",";\n"],e=>{let{theme:t}=e;return t.colors.app.lightGray}),ef=(0,K.css)(["\n padding: 1rem 0 0.5rem 0;\n"]),ev=(0,K.css)(["\n ","\n"],e=>{let{disabled:t}=e;return!t&&"cursor: pointer;"}),ek=e=>{let{selectedProducts:t,monthlyPrice:n,getDiscountText:r,getPriceText:s,isEmpty:i,seePrices:o,handleSeePricesClick:d}=e,{selectedProductIds:c,couponsData:u}=(0,a.useContext)(G),{percentageOff:p}=(0,L.m7)(c,u);return(0,l.jsxs)(S.Flex,{center:!0,styles:eg,children:[(0,l.jsx)(S.Text,{size:"16",bold:!0,color:"primary.black",styles:ef,children:n}),(0,l.jsx)(eu,{selectedProducts:t,percentageOff:p,getPriceText:s}),(0,l.jsx)(ex,{percentageOff:p,getDiscountText:r}),(0,l.jsx)(eh,{selectedProducts:t}),(0,l.jsx)(S.Text,{bold:!0,size:"16",styles:ev,disabled:i,onClick:()=>{i||d()},color:"primary.black",children:o})]})},ew=(0,K.css)(["\n flex: 1 0 66%;\n"]),ej=(0,K.css)(["\n text-align: end;\n flex: 1 0 33%;\n"]),eS=e=>{let{nickname:t,min:n,tiers:r,getAdditionalText:s,getModalPriceText:i,selectedSliders:a,variant:o="p",styles:d,locale:c}=e,u=a.find(e=>e.nickname===t);return!u||u.quantity<=n?null:(0,l.jsxs)(S.Flex,{justify:"space-between",children:[(0,l.jsx)(S.Text,{size:"13",variant:o,styles:[ew,d],children:s(u.quantity-n,c)}),(0,l.jsx)(S.Text,{size:"14",styles:ej,children:i((0,L.qQ)(u.quantity,r),c)})]})},eF=(0,K.css)(["\n padding-top: 2rem;\n :last-child {\n padding-bottom: 2rem;\n }\n"]),eC=(0,K.css)(["\n text-align: end;\n"]),eA=K.default.div.withConfig({displayName:"BundlesPaymentModalSelectedProduct__StyledDiv",componentId:"sc-2cdbe2bb-0"})(["\n max-width: 66%;\n"]),eK=(0,K.css)(['\n :not(:last-child):after { \n content: "\\00a0 |\\00a0"; \n } \n \n :last-child:after {\n content: "\\00a0 ','"\n }\n'],e=>{let{included:t}=e;return t&&t}),eP=e=>{let{nickname:t,fullName:n,networks:r,fakeNetworks:s,sliderConf:i,price:o,getModalPriceText:d,extraNetworks:c,allNetworksText:u}=e,{selectedSliders:p}=(0,a.useContext)(U),{locale:m}=(0,_.Qg)(),{selectedProductIds:y}=(0,a.useContext)(G),h=y.find(e=>{let{nickname:n}=e;return n===t}).network;return h&&(r=[h]),(0,l.jsxs)(S.Flex,{column:!0,styles:eF,children:[(0,l.jsxs)(S.Flex,{justify:"space-between",align:"center",children:[(0,l.jsx)(S.Text,{size:"16",color:"primary.black",children:n}),(0,l.jsx)(S.Text,{size:"15",color:"primary.black",styles:eC,children:d(o,m)})]}),(0,l.jsx)(X.H,{networkIds:r||s,extraNetworks:c,allNetworksText:u}),i&&(0,l.jsxs)(a.Fragment,{children:[(0,l.jsx)(eA,{children:i.map(e=>{let{min:t,getText:n,nickname:r,included:s}=e;return(0,l.jsx)(S.Text,{size:"14",variant:"span",styles:eK,included:s,color:"primary.black",children:n(t)},r)})}),i.map(e=>(0,l.jsx)(eS,{...e,selectedSliders:p,getModalPriceText:d,locale:m},e.nickname))]})]})},e_=(0,K.css)(["\n justify-content: center;\n background: rgba(0, 0, 0, 0.5);\n"]),eT=(0,K.css)(["\n padding: 0;\n overflow: auto;\n max-height: 80vh;\n width: 480px;\n max-width: 90%;\n border-radius: 18px;\n @media only screen and (max-width: 48rem) {\n width: 100%;\n height: 100%;\n max-width: 100%;\n max-height: 100%;\n }\n background: ",";\n"],e=>{let{theme:t}=e;return t.colors.neutral.white}),eI=(0,K.css)(["\n margin: 2rem;\n"]),eN=(0,K.css)(["\n padding: 2rem;\n"]),ez=(0,K.css)(["\n padding: 2rem 0;\n border-top: 1px solid ",";\n"],e=>{let{theme:t}=e;return t.colors.state.default}),eD=(0,K.css)(["\n padding: 1rem;\n line-height: 18px;\n"]),eO=(0,K.css)(["\n align-items: flex-end;\n"]),eM=e=>{let{selectedProducts:t,isOpen:n,onClose:r}=e,{bundlePaymentInfo:s,selectedProductIds:i,couponsData:o}=(0,a.useContext)(G),{modal:{title:d,productsTitle:c,billingText:u,footer:p},monthlyPrice:m,getPriceText:y,getDiscountText:h}=s,{percentageOff:b}=(0,L.m7)(i,o);return(0,l.jsx)(S.ModalPage,{name:"plans",centerTitleNode:(0,l.jsx)(S.Text,{color:"primary.black",size:"26",children:d}),onClose:r,isOpen:n,pageStyles:e_,containerStyles:eT,titleStyles:eN,children:(0,l.jsxs)(S.Flex,{column:!0,styles:eI,children:[(0,l.jsx)(S.Text,{size:"16",color:"primary.black",children:c}),(0,l.jsx)(S.Flex,{column:!0,children:t.map(e=>(0,l.jsx)(eP,{...e},e.nickname))}),(0,l.jsx)(S.Flex,{column:!0,children:(0,l.jsxs)(S.Flex,{align:"flex-start",justify:"space-between",styles:ez,children:[(0,l.jsx)(S.Text,{size:"16",color:"primary.black",children:m}),(0,l.jsxs)(S.Flex,{column:!0,align:"flex-end",children:[(0,l.jsx)(eu,{selectedProducts:t,percentageOff:b,getPriceText:y,mobileStyles:eO}),(0,l.jsx)(S.Text,{size:"12",center:!0,color:"primary.black",children:u})]})]})}),(0,l.jsxs)(S.Flex,{column:!0,children:[(0,l.jsx)(ex,{percentageOff:b,modal:!0,getDiscountText:h}),(0,l.jsx)(S.Spacing,{size:"32"})]}),(0,l.jsx)(S.Text,{center:!0,size:"14",styles:eD,color:"primary.black",children:p})]})})};var eB=n(75143),eR=n(72728);let eE=(0,K.css)(["\n padding: 1.5rem 0.5rem 1rem 1rem;\n border-radius: 6px;\n border: 1px solid ",";\n box-shadow: 0 0 3px 0 whitesmoke;\n background: ",";\n"],e=>{let{theme:t}=e;return t.colors.app.lightGray},e=>{let{theme:t}=e;return t.colors.neutral.white}),eq=(0,K.css)(["\n padding-right: 0.5rem;\n"]),eL=(0,K.css)(["\n padding-bottom: 1rem;\n"]),eH=e=>{let{selectedProducts:t,styles:n,scrollOffset:r}=e,{t:s}=(0,o.q)(),{bundlePaymentInfo:i,footerInfo:d,canSelectCurrency:c}=(0,a.useContext)(G),[u,p]=(0,a.useState)(!1),m=0===t.length;return(0,l.jsxs)(a.Fragment,{children:[(0,l.jsx)(eM,{selectedProducts:t,isOpen:u,onClose:()=>p(!1)}),(0,l.jsxs)(S.Flex,{column:!0,scrollOffset:r,styles:n,children:[(0,l.jsxs)(S.Flex,{column:!0,styles:eE,children:[(0,l.jsxs)(S.Flex,{column:!0,styles:eq,children:[(0,l.jsxs)(S.Flex,{align:"center",justify:"space-between",children:[(0,l.jsx)(S.Text,{size:"16",color:"primary.black",styles:{fontWeight:"500"},children:s("entity.plans.pricesInUsd.label")}),(0,l.jsx)(S.Spacing,{vertical:!0,size:"10"}),(0,l.jsx)(eR.v,{disabled:!1===c})]}),(0,l.jsx)(S.Spacing,{size:"30"}),(0,l.jsx)(S.Text,{bold:!0,size:"20",color:"primary.black",styles:eL,children:i.title}),m&&(0,l.jsx)(S.Text,{size:"16",color:"primary.black",children:i.emptyText})]}),(0,l.jsx)(ea,{selectedProducts:t}),(0,l.jsx)(ek,{selectedProducts:t,isEmpty:m,...i,handleSeePrice
1sClick:()=>p(!0)})]}),(0,l.jsx)(eB.y,{...d})]})]})};var eG=n(43784);let e$=n.n(eG)()(n.e(305).then(n.bind(n,50305)),{loadableGenerated:{webpack:()=>[null]},ssr:!1}),eQ=(0,K.default)(e$).withConfig({displayName:"BundlesProductSlider__StyledSlider",componentId:"sc-f30991f-0"})(["\n margin-top: 1rem;\n height: 32px;\n"]),eU=(0,K.css)(["\n opacity: 0;\n pointer-events: none;\n"]),eW=K.default.div.withConfig({displayName:"BundlesProductSlider__StyledThumb",componentId:"sc-f30991f-1"})(["\n height: 24px;\n width: 24px;\n text-align: center;\n background-color: ",";\n border: 1px solid ",";\n color: #fff;\n border-radius: 50%;\n box-shadow: 0 0 1px 1px ",";\n cursor: pointer;\n ","\n"],e=>{let{theme:t}=e;return t.colors.neutral.white},e=>{let{theme:t}=e;return t.colors.state.deepSkyBlue},e=>{let{theme:t}=e;return t.colors.primary.deepSkyBlue},e=>{let{hide:t}=e;return t&&eU}),eV=(e,t)=>(0,l.jsx)(eW,{...e,hide:0===t.index}),eY=K.default.div.withConfig({displayName:"BundlesProductSlider__StyledTrack",componentId:"sc-f30991f-2"})(["\n top: 10px;\n bottom: 10px;\n height: 6px;\n border-radius: 6px;\n background: ",";\n"],e=>2===e.index?e.theme.colors.state.deepSkyBlue75:1===e.index?"".concat(e.theme.colors.state.deepSkyBlue):"repeating-linear-gradient(\n to right,\n ".concat(e.theme.colors.state.deepSkyBlue75,",\n ").concat(e.theme.colors.state.deepSkyBlue75," 2px,\n white 2px,\n white 5px\n );")),eJ=(e,t,n,r,s)=>0===t.index?(0,l.jsx)(S.Tooltip,{type:"dark",color:"neutral.white",place:"top",text:n,overridePosition:r,children:(0,l.jsx)(eY,{...e,index:t.index,ref:s})},t.index):(0,l.jsx)(eY,{...e,index:t.index}),eX=e=>{let{value:t,sliderConf:n,minSelected:r,onChange:s}=e,{setSelectedSliders:i}=(0,a.useContext)(U),{min:o,max:d,step:c,tooltip:u}=n,p=(0,a.useRef)(),m=e=>{let{left:t,top:n}=e;return{left:Math.max((2*t-parseInt(p.current.style.right,10)-24)/2,0),top:n}};return(0,a.useEffect)(()=>{t>0?i({nickname:n.nickname,quantity:t},"edit","nickname"):i(n.nickname,"delete","nickname")},[t,n]),(0,l.jsx)(eQ,{value:[r,t],min:o,max:d,step:c,snapDragDisabled:!0,onChange:e=>{s(e[1])},renderTrack:(e,t)=>eJ(e,t,u,m,p),renderThumb:eV})},eZ=(0,K.css)(["\n height: auto;\n width: 6rem;\n margin-left: 2rem;\n border-style: hidden;\n background: ",";\n border: 1px solid ",";\n text-align: end;\n padding: 8px;\n font-size: 14px;\n\n /* Chrome, Safari, Edge, Opera */\n ::-webkit-outer-spin-button,\n ::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n /* Firefox */\n -moz-appearance: textfield;\n"],e=>{let{theme:t}=e;return t.colors.app.lightGray2},e=>{let{theme:t}=e;return t.colors.app.gray}),e0=e=>{let{value:t,onInputChange:n,handleBlur:r}=e,{locale:s}=(0,_.Qg)();return(0,S.useKeyHandler)({onEnter:r}),(0,l.jsx)(S.InputNumber,{locale:s,onBlur:r,onChange:n,value:t,styles:eZ})},e1=K.default.div.withConfig({displayName:"BundlesProductSliderDescription__StyledDiv",componentId:"sc-25970c4a-0"})(["\n ","\n"],e=>{let{styles:t}=e;return t}),e2=(0,K.css)(["\n cursor: pointer;\n"]),e4=e=>{let{description:t,onMoreDetailsClick:n,styles:r}=e;return(0,l.jsx)(e1,{styles:r,children:t&&t.map((e,t)=>{let{text:r,type:s,bold:i,withSpace:a}=e;return"link"===s?(0,l.jsx)(S.Text,{size:"14",color:"primary.black",bold:!0,variant:"span",onClick:n,styles:e2,children:r},t):(0,l.jsx)(S.Text,{size:"14",color:"primary.black",bold:i,variant:"span",children:r},t)})})},e8=e=>{var t;let{min:n,max:r,conf:s}=e,{locale:i}=(0,_.Qg)();return(0,l.jsxs)(S.Flex,{flex:"1",justify:"space-between",children:[(0,l.jsx)(S.Text,{children:(0,l.jsx)(S.Number,{withSeparator:!0,locale:i,children:n})}),(0,l.jsx)(S.Text,{children:(0,l.jsx)(S.Number,{withSeparator:!0,locale:i,children:null!==(t=null==s?void 0:s.unlimited)&&void 0!==t?t:r})})]})},e6=(0,K.css)(["\n opacity: 0;\n max-height: 0;\n ","\n transition: all 0.3s ease-in-out;\n border-radius: 6px;\n background: ",";\n border: 1px solid ",";\n div {\n max-height: 0;\n ","\n transition: all 0.3s ease-in-out;\n padding: 2px 16px;\n }\n"],e=>{let{show:t}=e;return t&&"\n margin-top: 24px;\n opacity: 1;\n max-height: 200px;\n "},e=>{let{theme:t}=e;return t.colors.app.lightGray2},e=>{let{theme:t}=e;return t.colors.app.lightGray},e=>{let{show:t}=e;return t&&"\n max-height: 200px;\n :first-child {\n padding-top: 18px;\n }\n :last-child {\n padding-bottom: 18px;\n }\n "}),e3=e=>{let{showWarning:t,question:n,contact:r,onTalkToUs:s}=e;return(0,l.jsxs)(S.Flex,{column:!0,styles:e6,show:t,children:[(0,l.jsx)(e4,{description:n}),(0,l.jsx)(e4,{description:r,onMoreDetailsClick:s})]})},e5=K.default.div.withConfig({displayName:"BundlesProductSliderContent__StyledSliderContainer",componentId:"sc-2b62c723-0"})(["\n padding-top: 1.5rem;\n opacity: 0;\n ","\n transition: opacity 0.3s ease-in-out;\n"],e=>{let{isOpen:t}=e;return t&&"opacity: 1;"}),e7=(0,K.css)(["\n padding: 0.5rem 0 0.1rem 0;\n"]),e9=(0,K.css)(["\n -webkit-text-size-adjust: 100%;\n --trialHeaderHeight: 0px;\n -webkit-print-color-adjust: exact !important;\n overflow: visible;\n font-family: 'Rubik', sans-serif;\n margin: 0px;\n border-radius: 4px;\n border-width: 1px;\n box-sizing: border-box;\n line-height: 17px;\n outline: none;\n border-color: #c5c5d2;\n color: #270038;\n height: auto;\n width: 6rem;\n margin-left: 2rem;\n border-style: hidden;\n background: ",";\n text-align: end;\n padding: 8px;\n font-size: 14px;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n"],e=>{let{theme:t}=e;return t.colors.primary.light6}),te=(e,t)=>
1Math.max(e,t),tt=e=>{var t;let{title:n,conf:r={}}=e,{t:s}=(0,o.q)(),{isOpen:i}=(0,a.useContext)(S.AccordionContext),[d,c]=(0,a.useState)(0),[u,p]=(0,a.useState)(0),{description:m,min:y,max:h,step:b,onMoreDetailsClick:x,question:g,contact:f,onTalkToUs:v}=r,k=Math.ceil(((null==r?void 0:r.minSelected)||0)/b)*b,w=h===d,[j,F]=(0,a.useState)(!1);(0,a.useEffect)(()=>{let e=A((null==r?void 0:r.activeValue)||u);e!==u&&(C(e),p(e),c(e)),null==r||delete r.activeValue},[r]);let C=e=>{var t;(null==r?void 0:null===(t=r.nickname)||void 0===t?void 0:t.includes("tracking-limit"))&&F(e>=(null==r?void 0:r.max))};(0,a.useEffect)(()=>{let e=A(u);d!==u&&(C(e),c(e))},[u]);let A=e=>te(e>h?h:e<y?y:Math.ceil(e/b)*b,k);return(0,l.jsxs)(e5,{isOpen:i,children:[(0,l.jsx)(S.Text,{size:"16",bold:!0,color:"primary.black",children:n}),(0,l.jsxs)(S.Flex,{justify:"space-between",align:"center",styles:e7,children:[(0,l.jsx)(e4,{description:m,onMoreDetailsClick:x}),j?(0,l.jsx)(S.Text,{styles:e9,children:null!==(t=null==r?void 0:r.unlimited)&&void 0!==t?t:s("prices.bundles.reportsBlock.instagramTracking.input.unlimited.text",{},"Unlimited")}):(0,l.jsx)(e0,{value:u,onInputChange:e=>{p(e.target.value?+e.target.value:"")},handleBlur:()=>{p(A(u))},type:"number"})]}),(0,l.jsx)(eX,{value:d,sliderConf:r,minSelected:k,onChange:e=>{let t=te(e,k);c(t),t!==u&&(C(t),p(t))}}),(0,l.jsx)(e8,{min:y,max:h,conf:r}),void 0!==g&&void 0!==f&&(0,l.jsx)(e3,{showWarning:w,question:g,contact:f,onTalkToUs:v})]})},tn=(0,K.css)(["\n cursor: pointer;\n"]),tl=e=>{let{mail:t,contactText:n}=e;return(0,l.jsx)(S.Text,{onClick:e=>{window.open("mailto:".concat(t)),e.preventDefault()},styles:tn,size:"14",children:n})},tr=(0,K.css)(["\n margin-top: 1rem;\n border: 1px solid ",";\n"],e=>{let{theme:t}=e;return t.colors.primary.light3}),ts=(0,K.css)(["\n padding: 1rem;\n p {\n flex: 1;\n :last-child {\n text-align: end;\n }\n }\n"]),ti=(0,K.css)(["\n ","\n border-top: 1px dashed ",";\n"],ts,e=>{let{theme:t}=e;return t.colors.primary.light3}),ta=e=>{let{title:t,billedAt:n,getModalTierRange:r,getModalTierPrice:s,contactUsConf:a,tiers:o,step:d}=e;return(0,l.jsxs)(S.Flex,{column:!0,styles:tr,children:[(0,l.jsxs)(S.Flex,{flex:"1",justify:"space-between",align:"center",styles:ts,children:[(0,l.jsx)(S.Text,{bold:!0,color:"primary.dark",size:"14",children:t}),(0,l.jsx)(S.Text,{bold:!0,color:"primary.dark",size:"14",children:n})]}),o.map((e,t)=>{let{upTo:n,unitAmount:c}=e;return(0,l.jsxs)(S.Flex,{flex:"1",justify:"space-between",align:"center",styles:ti,children:[(0,l.jsx)(S.Text,{size:"14",children:r(i()(o,"[".concat(t-1,"].upTo")),n)}),n?(0,l.jsx)(S.Text,{size:"14",children:s(c*d,d)}):(0,l.jsx)(tl,{mail:a.mail,contactText:a.contactText})]},n)})]})};var to=n(10407);let td=(0,K.css)(["\n justify-content: center;\n background: rgba(0, 0, 0, 0.5);\n"]),tc=(0,K.css)(["\n padding: 24px;\n width: min(90%, 1184px);\n border-radius: 18px;\n @media only screen and (max-width: 48rem) {\n width: 100%;\n height: 100%;\n }\n background: ",";\n"],e=>{let{theme:t}=e;return t.colors.neutral.white}),tu=(0,K.css)(["\n padding: 1rem;\n * {\n font-weight: 400;\n }\n"]),tp=(0,K.css)(["\n max-height: 100vh;\n @media only screen and (max-width: 48rem) {\n max-height: 100vh;\n }\n overflow: hidden auto;\n"]),tm=(0,K.css)(["\n padding-right: 1rem;\n padding-left: 1rem;\n @media only screen and (max-width: 48rem) {\n padding-left: 1.5rem;\n }\n"]),ty=(0,K.css)(["\n border-bottom: 1px solid ",";\n padding-right: 6px;\n"],e=>{let{theme:t}=e;return t.colors.app.lightGray}),th=(0,K.css)(["\n text-align: center;\n padding-left: 1rem;\n padding-right: 1rem;\n"]),tb=(0,K.css)(["\n @media only screen and (max-width: 48rem) {\n display: none;\n }\n border-radius: 18px;\n border: 1px solid ",";\n"],e=>{let{theme:t}=e;return t.colors.app.lightGray});(0,K.css)(["\n padding-left: 2rem;\n ","\n"],to.do);let tx=(0,K.css)(["\n display: none;\n @media only screen and (max-width: 48rem) {\n display: flex;\n }\n"]),tg=(0,K.css)(["\n margin: 0.5rem 0;\n width: min(24rem, 90%);\n"]),tf=(0,K.css)(["\n ","\n padding-right: calc(1.5rem + 6px);\n"],th),tv=(0,K.default)(S.Text).withConfig({displayName:"styles__StyledModalPlanName",componentId:"sc-aa446c6d-0"})(["\n padding: 1rem 0;\n flex: 1;\n justify-content: center;\n ","\n"],e=>{let{styles:t}=e;return t}),tk=K.default.div.withConfig({displayName:"styles__StyledMobileRow",componentId:"sc-aa446c6d-1"})(["\n padding: 0 0.5rem;\n :first-child {\n padding-top: 1rem;\n }\n :last-child {\n padding-bottom: 1rem;\n }\n width: 100%;\n align-self: center;\n :not(:last-child) {\n border-bottom: 1px dashed #bebed8;\n }\n ","\n"],e=>{let{styles:t}=e;return t}),tw=(0,K.css)(["\n padding: 1rem 1.5rem;\n"]),tj=(0,K.css)(["\n padding: 0.4rem 1rem;\n align-self: center;\n"]),tS=(0,K.css)(["\n padding: 0.5rem 1.5rem;\n align-self: center;\n"]),tF=(0,K.css)(["\n padding: 0.4rem 1rem;\n"]),tC=(0,K.css)(["\n padding: 0.4rem 1.5rem 0.4rem 0;\n"]),tA=e=>{let{text:t,styles:n}=e;return(0,l.jsx)(tv,{color:"primary.black",size:"16",styles:n,children:t})},tK=(e,t,n,l)=>(t&&t.count&&(t.count=(0,S.i18nNumber)({value:t.count,withSeparator:!0})),e?l(e,t,n):n),tP=e=>{let{value:t,valueKey:n,valueKeyParams:r={},type:s,color:i="primary.dark",size:a="13"}=e,{t:d}=(0,o.q)();switch(s){case"icons":return(0,l.jsx)(S.Flex,{justify:"center",align:"center",styles:to.M,children:t.map(e=>(0,l.jsx)(S.Icon,{name:e,size:"16",styles:to.q7,color:i},e))});case"check":return(0,l.jsxs)(S.Flex,{center:!0,styles:to.M,children:[(0,l.jsx)(S.Icon,{name:"checkok",size:"16",styles:to.Rj,color:"state.deepSkyBlue"}),(0,l.jsx)(S.Icon,{name:"radiochecked",size:"16",styles:to.yQ,color:"state.deepSkyBlue"})]});default:return(0,l.jsx)(S.Flex,{center:!0,styles:to.M,children:(0,l.jsx)(S.Text,{styles:to.Yo,center:!0,size:t||n?a:18,color:t||n?i:"primary.light4",children:tK(n,r,t,d)||"x"})})}},t_=e=>{let{feature:t,plans:n}=e,{t:r}=(0,o.q)();return(0,l.jsx)(tk,{children:(0,l.jsxs)(S.Flex,{justify:"space-between",children:[(0,l.jsx)(S.Flex,{flex:"1",styles:tj,children:(0,l.jsx)(S.HelpTooltip,{name:t.id,text:r(t.tooltipKey,{},t.tooltip),children:(0,l.jsx)(S.Text,{color:"primary.black",size:"14",children:tK(t.valueKey,{},t.value,r)})})}),n.map((e,n)=>(0,l.jsx)(S.Flex,{center:!0,flex:"1",styles:tF,children:(0,l.jsx)(tP,{...e.allFeatures.find(e=>e.id===t.id),size:"14",color:"primary.black"})},n))]})})},tT=e=>{let{features:t,plans:n}=e,{t:r}=(0,o.q)();return(0,l.jsxs)(S.Flex,{column:!0,styles:tb,children:[(0,l.jsxs)(S.Flex,{justify:"space-around",styles:ty,children:[(0,l.jsx)(tA,{styles:tm,text:tK(t[0].valueKey,{},t[0].value,r)}),n.map((e,t)=>(0,l.jsx)(tA,{text:e.nameKey?r(e.nameKey,{},e.name):e.name,styles:th},t))]}),(0,l.jsx)(S.Flex,{column:!0,styles:tp,children:t.map((e,t)=>t>0&&(0,l.jsx)(t_,{feature:e,plans:n},e.id))})]})},tI=e=>{let{feature:t,planFeature:n}=e,{t:r}=(0,o.q)();return(0,l.jsx)(tk,{children:(0,l.jsxs)(S.Flex,{justify:"space-between",children:[(0,l.jsx)(S.Flex,{flex:"1",styles:tS,children:(0,l.jsx)(S.Text,{color:"primary.black",size:"13",children:tK(t.valueKey,{},t.value,r)})}),(0,l.jsx)(S.Flex,{center:!0,flex:"1",styles:tC,children:(0,l.jsx)(tP,{...n,color:"primary.black",size:"13"})})]})})},tN=e=>{let{plans:t,selectedPlan:n,setSelectedPlan:r}=e,{t:s}=(0,o.q)();return(0,l.jsx)(S.Flex,{justify:"space-around",styles:to.jq,children:t.map((e,t)=>(0,l.jsx)(S.Flex,{center:!0,styles:[{cursor:"pointer"},to.Qd,t===n?to.wS:""],onClick:()=>r(t),children:(0,l.jsx)(S.Text,{size:"15",color:"primary.light3",bold:!0,children:s(e.nameKey)})},t))})},tz=e=>{let{features:t,plans:n,selectedPlan:r,setSelectedPlan:s}=e,{t:i}=(0,o.q)(),a=n[r];return(0,l.jsxs)(S.Flex,{column:!0,styles:tx,children:[(0,l.jsx)(S.Flex,{center:!0,children:(0,l.jsx)(S.Flex,{center:!0,styles:tg,children:(0,l.jsx)(tN,{plans:n,selectedPlan:r,setSelectedPlan:s})})}),(0,l.jsxs)(S.Flex,{styles:ty,children:[(0,l.jsx)(tA,{styles:tw,text:tK(t[0].valueKey,{},t[0].value,i)}),(0,l.jsx)(tA,{text:i(a.nameKey,{},a.name),styles:tf})]}),(0,l.jsx)(S.Flex,{column:!0,styles:tp,children:t.map((e,t)=>t>0&&(0,l.jsx)(tI,{feature:e,planFeature:a.allFeatures.find(t=>
1t.id===e.id)},e.id))})]})},tD=(0,a.forwardRef)((e,t)=>{let{modalInfo:n,planData:r,selectedPlan:s,setSelectedPlan:i,isOpen:a,handleClose:o,isModal:d,containerStyles:c}=e,{features:u,plans:p}=r;return(0,l.jsxs)(S.ModalPage,{name:"plans",ref:t,title:(0,l.jsx)(S.HelpTooltip,{name:"title",text:n.tooltip,children:(0,l.jsx)(S.Text,{color:"primary.black",size:"26",children:n.title})}),onClose:o,isOpen:a,pageStyles:d?td:void 0,containerStyles:[tc,c],titleStyles:tu,children:[(0,l.jsx)(tT,{plans:p,features:u}),(0,l.jsx)(tz,{plans:p,features:u,selectedPlan:s,setSelectedPlan:i})]})}),tO=(0,K.css)(["\n background: ",";\n overflow: auto;\n max-height: 80vh;\n width: 484px;\n max-width: 90%;\n @media only screen and (max-width: 48rem) {\n width: 100%;\n height: 100%;\n max-width: 100%;\n max-height: 100%;\n }\n"],e=>{let{theme:t}=e;return t.colors.neutral.white}),tM=(0,K.css)(["\n padding: 1rem;\n"]),tB=(0,K.css)(["\n padding: 0 1rem 1rem 1rem;\n"]),tR=(0,K.css)(["\n padding-top: 1rem;\n"]),tE=(0,K.css)(["\n line-height: 23px;\n"]),tq=(0,K.css)(["\n line-height: 21px;\n"]),tL=e=>{let{title:t,conf:n,isOpen:r,onClose:s}=e,{title:i,introduction:a,billedAt:o,getModalTierRange:d,getModalTierPrice:c,contactUsConf:u,footer:p}=n.modal;return(0,l.jsx)(S.ModalPage,{isOpen:r,onClose:s,centerTitleNode:(0,l.jsx)(S.Text,{bold:!0,color:"primary.dark",variant:"h2",size:"18",children:i}),pageStyles:td,containerStyles:tO,titleStyles:tM,children:(0,l.jsxs)(S.Flex,{column:!0,styles:tB,children:[(0,l.jsx)(S.Text,{center:!0,bold:!0,color:"primary.dark",variant:"h2",size:"25",children:t}),a.map((e,t)=>(0,l.jsx)(S.Text,{size:"14",center:!0,styles:[tR,tE],children:e},t)),(0,l.jsx)(ta,{tiers:n.tiers,step:n.step,title:t,billedAt:o,getModalTierRange:d,getModalTierPrice:c,contactUsConf:u}),p.map((e,t)=>(0,l.jsx)(S.Text,{size:"13",styles:[tR,tq],children:"function"==typeof e?e(n.tiers,n.step,n.example):e},t))]})})},tH=e=>{let{title:t,explanation:n,conf:r}=e,[s,i]=(0,a.useState)(!1);return r.onMoreDetailsClick=()=>i(!0),(0,l.jsxs)(a.Fragment,{children:[r.modal&&(0,l.jsx)(tL,{isOpen:s,onClose:()=>i(!1),conf:r,title:t}),(0,l.jsx)(tt,{title:t,explanation:n,conf:r})]})},tG=(0,K.css)(["\n -webkit-touch-callout: none; /* iOS Safari */\n -webkit-user-select: none; /* Safari */\n -khtml-user-select: none; /* Konqueror HTML */\n -moz-user-select: none; /* Old versions of Firefox */\n -ms-user-select: none; /* Internet Explorer/Edge */\n user-select: none; /* Non-prefixed version, currently\n supported by Chrome, Edge, Opera and Firefox */\n"]),t$=(0,K.css)(["\n box-shadow: 0 0 3px 3px ",";\n"],e=>{let{theme:t}=e;return t.colors.state.default}),tQ=(0,K.css)(["\n cursor: pointer;\n transition: box-shadow 0.2s ease-in-out;\n :hover {\n ","\n }\n"],t$);(0,K.css)(['\n :before { \n content: "\\00a0"; \n }\n']),(0,K.css)(['\n :after { \n content: "\\00a0"; \n }\n']);let tU=(0,K.css)(["\n padding: 4px;\n :first-child {\n margin-top: 8px;\n }\n :last-child {\n margin-bottom: 8px;\n }\n :hover {\n background: ",";\n }\n"],e=>{let{theme:t}=e;return t.colors.primary.light5}),tW=(0,K.css)(["\n padding: 0 4px;\n"]),tV=e=>{let{id:t,text:n,handleClick:r}=e;return(0,l.jsxs)(S.Flex,{align:"center",styles:tU,onClick:e=>r(e,t),children:[(0,l.jsx)(S.Icon,{name:t,size:"18",color:"primary.dark",styles:tW}),(0,l.jsx)(S.Text,{variant:"span",size:"13",color:"primary.dark",children:n})]})},tY=(0,K.css)(["\n height: 24px;\n"]),tJ=(0,K.css)(["\n padding: 5px;\n"]),tX=(0,K.css)(["\n padding: 4px;\n"]),tZ=(0,K.css)(["\n position: absolute;\n right: 6px;\n"]),t0=e=>{let{selectedNetwork:t,handleClick:n,selectNetworkText:r}=e;return(0,l.jsxs)(S.Flex,{align:"center",justify:"center",onClick:e=>{e.stopPropagation(),n()},styles:tY,children:[t?(0,l.jsx)(S.Icon,{name:t,styles:tX,color:"primary.dark"}):(0,l.jsx)(S.Text,{variant:"span",size:"12",color:"app.gray2",styles:tJ,children:r}),(0,l.jsx)(S.Icon,{name:"arrowdown",size:"18",color:"app.gray2",styles:tZ})]})},t1=(0,K.css)(["\n background: ",";\n border: 1px solid ",";\n border-radius: 6px;\n transition: box-shadow 0.2s ease-in-out;
1\n cursor: pointer;\n"],e=>{let{theme:t}=e;return t.colors.app.lightGray2},e=>{let{theme:t}=e;return t.colors.app.gray}),t2=(0,K.css)(["\n width: 80%;\n position: relative;\n ","\n :hover {\n ","\n }\n"],t1,t$),t4=K.default.div.withConfig({displayName:"BundlesProductNetworkSelector__StyledSelectorContent",componentId:"sc-4c6d8eb4-0"})(["\n flex-direction: column;\n ","\n ","\n width: 100%;\n position: absolute;\n z-index: 1;\n display: none;\n ","\n"],t1,t$,e=>{let{isSelectorOpen:t}=e;return t&&"display: block;"}),t8=e=>{let{networkOptions:t,selectedNetwork:n,setSelectedNetwork:r,selectNetworkText:s}=e,[i,o]=(0,a.useState)(!1);(0,S.useKeyHandler)({onEscape:()=>{i&&o(!1)}});let d=(0,a.useRef)();(0,S.useDropdownClose)({dropdownRef:d,isOpen:i,setOpen:o});let c=()=>{i&&r(void 0),o(e=>!e)},u=(e,t)=>{e.stopPropagation(),r(t),o(e=>!e)};return(0,l.jsxs)(S.Flex,{column:!0,styles:t2,children:[(0,l.jsx)(t0,{selectedNetwork:n,handleClick:c,selectNetworkText:s}),(0,l.jsxs)(t4,{column:!0,isSelectorOpen:i,ref:d,children:[(0,l.jsx)(t0,{handleClick:c,selectNetworkText:s}),t.map(e=>(0,l.jsx)(tV,{...e,handleClick:u},e.id))]})]})},t6=K.default.div.withConfig({displayName:"BundlesProductActive__StyledContainer",componentId:"sc-1c7754ab-0"})(["\n position: absolute;\n width: 100%;\n top: 0;\n left: 0;\n background: ",";\n border-radius: 4px 4px 0 0;\n padding-top: ",";\n padding-bottom: 1px;\n ","\n"],e=>{let{theme:t}=e;return t.colors.state.deepSkyBlue},e=>{let{selected:t}=e;return t?"0":"1px"},tG),t3=e=>{let{selected:t}=e,{t:n}=(0,o.q)();return(0,l.jsx)(t6,{selected:t,children:(0,l.jsx)(S.Text,{center:!0,color:"neutral.white",size:"10",children:n("prices.table.Active.tagName",{},"Active")})})},t5=(0,K.css)(["\n padding: 3px;\n height: 18px;\n align-items: center;\n ","\n"],tG),t7=(0,K.css)(["\n padding: 0 0.1rem;\n"]),t9=(0,K.css)(["\n padding-left: 3px;\n ","\n"],tG),ne=e=>{var t;let{name:n,active:r,selected:s,networks:i,fakeNetworks:o,networkOptions:d,price:c,getPriceText:u,selectNetworkText:p,selectedNetwork:m,setSelectedNetwork:y,extraNetworks:h}=e,{locale:b}=(0,_.Qg)();return(0,l.jsxs)(a.Fragment,{children:[r&&(0,l.jsx)(t3,{selected:s}),(0,l.jsx)(S.Text,{size:"16",bold:!0,color:"primary.black",styles:t5,children:n}),d&&(0,l.jsx)(t8,{selectedNetwork:m,setSelectedNetwork:y,networkOptions:d,selectNetworkText:p}),(o||i||h)&&(0,l.jsxs)(S.Flex,{styles:t5,children:[null===(t=o||i)||void 0===t?void 0:t.map(e=>(0,l.jsx)(S.Icon,{name:e,size:18,color:"primary.black",styles:t7},e)),h&&(0,l.jsx)(S.Text,{size:"16",styles:t9,color:"primary.black",children:h})]}),(0,l.jsx)(S.Text,{size:"16",styles:t5,color:"primary.black",children:c?u(c,b):"-"})]})},nt=(0,K.css)(["\n position: relative;\n border-radius: 6px;\n :not(:last-child) {\n margin-right: 2rem;\n }\n @media only screen and (max-width: 74rem) {\n :not(:last-child) {\n margin-right: 1rem;\n }\n }\n @media only screen and (max-width: 38rem) {\n :not(:last-child) {\n margin-right: 0;\n margin-bottom: 1rem;\n }\n }\n height: 76px;\n box-sizing: content-box;\n"]),nn=(0,K.css)(["\n ","\n ","\n padding: 17px;\n border: 1px solid ",";\n"],nt,e=>{let{isNetworkSelected:t}=e;return t&&tQ},e=>{let{theme:t}=e;return t.colors.app.gray}),nl=(0,K.css)(["\n ","\n ","\n padding: 16px;\n background: ",";\n border: 2px solid ",";\n"],nt,tQ,e=>{let{theme:t}=e;return t.colors.state.deepSkyBlue75},e=>{let{theme:t}=e;return t.colors.state.deepSkyBlue}),nr=(0,K.css)(["\n ","\n pointer-events: none;\n opacity: 0.5;\n padding: 17px;\n border: 1px solid ",";\n background: ",";\n"],nt,e=>{let{theme:t}=e;return t.colors.primary.light5},e=>{let{theme:t}=e;return t.colors.primary.light5}),ns=(0,K.default)(S.Tooltip).withConfig({displayName:"BundlesProductPlan__StyledTooltip",componentId:"sc-3c03ecfb-0"})(["\n ","\n display: flex;\n align-items: center;\n height: 112px;\n flex: 1;\n"],nt),ni=e=>{let{plan:t,selectedPlanId:n,setSelectedPlanId:r,selectedProducts:s,selectedNetwork:i,setSelectedNetwork:o}=e,{selectedProductIds:d,setSelectedProductIds:c}=(0,a.useContext)(G),u=void 0!==i,p=t.networkOptions;(0,a.useEffect)(()=>{p&&y()},[i]);let m=()=>{c((0,L.Dj)(s,d,n).concat(n),"deleteMultiple","nickname"),r(void 0)},y=e=>{let l=t.nickname;if(p&&!u)n===l&&m();else if(n!==l||p&&u&&!e){let e={nickname:l,quantity:1};p&&i?e.network=i:t.networks&&1===t.networks.length&&(e.network=t.networks[0]);let s=[{item:e,action:"edit"}];
1n&&s.push({item:n,action:"delete",key:"nickname"}),c(s,"mix"),r(l)}else m()};return(0,l.jsx)(ns,{type:"dark",color:"neutral.white",text:(0,L.Lg)(t.allowsWhen,d)||t.disabled?t.tooltip:void 0,place:"top",children:(0,l.jsx)(S.Flex,{flex:"1",center:!0,isNetworkSelected:u||!p,styles:(0,L.Lg)(t.allowsWhen,d)||t.disabled?nr:t.nickname===n?nl:nn,onClick:()=>y(!0),children:(0,l.jsx)(ne,{...t,selected:t.nickname===n,selectedNetwork:i,setSelectedNetwork:o})},t.nickname)})},na=(0,K.css)(["\n @media only screen and (max-width: 38rem) {\n flex-direction: column;\n }\n"]),no=e=>{let{plans:t,selectedPlanId:n,setSelectedPlanId:r,selectedProducts:s,selectedNetwork:i,setSelectedNetwork:o}=e,{setOpen:d}=(0,a.useContext)(S.AccordionContext),{selectedProductIds:c}=(0,a.useContext)(G);return(0,a.useEffect)(()=>{c.some(e=>{let{nickname:t}=e;return t===n})?d(!0):(r(void 0),d(!1)),t.forEach(e=>{(0,L.AZ)(e,c)})},[c]),(0,l.jsx)(S.Flex,{flex:"1",styles:na,children:t.map(e=>(0,l.jsx)(ni,{plan:e,selectedPlanId:n,setSelectedPlanId:r,selectedProducts:s,selectedNetwork:i,setSelectedNetwork:o},e.nickname))})},nd=(0,K.css)(["\n padding: 6px 0;\n line-height: 20px;\n ","\n"],tG),nc=e=>{let{name:t,active:n,price:r,getPriceText:s,description:i,selected:a}=e,{locale:o}=(0,_.Qg)();return(0,l.jsxs)(S.Flex,{column:!0,children:[n&&(0,l.jsx)(t3,{selected:a}),(0,l.jsx)(S.Text,{size:"16",bold:!0,color:"primary.dark",styles:nd,children:t}),(0,l.jsx)(S.Text,{size:"16",styles:nd,children:r?s(r,o):"-"}),(0,l.jsx)(S.Text,{size:"14",styles:nd,children:i})]})},nu=(0,K.css)(["\n background: ",";\n @media only screen and (max-width: 38rem) {\n flex-direction: column;\n }\n gap: 17px;\n"],e=>{let{theme:t}=e;return t.colors.neutral.white}),np=(0,K.css)(["\n position: relative;\n border-radius: 6px;\n :not(:last-child) {\n margin-right: 32px;\n }\n @media only screen and (max-width: 38rem) {\n :not(:last-child) {\n margin-right: 0;\n margin-bottom: 1rem;\n }\n }\n"]),nm=(0,K.css)(["\n ","\n ","\n border-radius: 6px;\n padding: 17px;\n border: 1px solid ",";\n"],np,tQ,e=>{let{theme:t}=e;return t.colors.app.gray}),ny=(0,K.css)(["\n border-radius: 6px;\n padding: 16px;\n background: ",";\n border: 2px solid ",";\n"],e=>{let{theme:t}=e;return t.colors.state.deepSkyBlue75},e=>{let{theme:t}=e;return t.colors.state.deepSkyBlue}),nh=(0,K.css)(["\n border-radius: 6px;\n pointer-events: none;\n opacity: 0.5;\n padding: 17px;\n border: 1px solid ",";\n background: ",";\n"],e=>{let{theme:t}=e;return t.colors.primary.light5},e=>{let{theme:t}=e;return t.colors.primary.light5}),nb=(0,K.default)(S.Tooltip).withConfig({displayName:"BundlesProductAddOns__StyledTooltip",componentId:"sc-5a835141-0"})(["\n ","\n display: flex;\n"],np),nx=(0,K.default)(S.Flex).withConfig({displayName:"BundlesProductAddOns__StyledFlex",componentId:"sc-5a835141-1"})(["\n flex: 0 1 50%;\n"]),ng=e=>{let{addOns:t}=e,{selectedProductIds:n,setSelectedProductIds:r}=(0,a.useContext)(G),s=e=>n.some(t=>{let{nickname:n}=t;return n===e});return(0,l.jsx)(S.Flex,{styles:nu,children:t.map(e=>(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(nx,{children:(0,l.jsx)(nb,{type:"dark",color:"neutral.white",text:(0,L.Lg)(e.allowsWhen,n)?e.tooltip:void 0,place:"top",children:(0,l.jsx)(S.Flex,{justify:"center",column:!0,flex:"1",styles:[nm,(0,L.Lg)(e.allowsWhen,n)?nh:s(e.nickname)?ny:void 0],onClick:()=>{r({nickname:e.nickname,quantity:1},"toggle","nickname")},children:(0,l.jsx)(nc,{...e,selected:s(e.nickname)})})})},e.nickname)}))})},nf=(0,K.css)(["\n width: 884px;\n max-width: 90%;\n @media only screen and (max-width: 48rem) {\n width: 100%;\n height: 100%;\n max-width: 100%;\n max-height: 100%;\n }\n"]),nv=(0,K.css)(["\n padding-bottom: 3rem;\n background: ",";\n"],e=>{let{theme:t}=e;return t.colors.neutral.white}),nk=(0,K.css)(["\n padding-bottom: 0.5rem;\n"]),nw=(0,K.css)(["\n padding-bottom: 2rem;\n"]),nj=(0,K.css)(["\n text-align: end;\n cursor: pointer;\n"]),nS=(0,K.css)(["\n transform: none;\n"]),nF=(e,t)=>{if(e){let n=e.map(e=>{let{nickname:t}=e;return t}),l=t.find(e=>{let{nickname:t}=e;return n.indexOf(t)>-1});return l&&l.nickname}},nC={sliderTitle:"instagram tracking",sliderNickname:"more-reports-basic-tracking-limit"},nA=e=>{let{name:t,tooltip:n,subtitle:r,seeAllFeatures:s,plans:o,sliders:d,addOns:c,bundlesModal:u,selectedProducts:p}=e,{selectedProductIds:m,setSelectedProductIds:y}=(0,a.useContext)(G),h=nF(o,m),b=m.find(e=>{let{nickname:t}=e;return t===h}),x=i()(b,"network"),[g,f]=(0,a.useState)(h),[v,k]=(0,a.useState)(void 0),[w,j]=(0,a.useState)(void 0),F=(0,a.useRef)(),[C,A]=(0,a.useState)(0),[K,P]=(0,a.useState)(x),[_,T]=(0,a.useState)(d),{selectedSliders:I,setSelectedSliders:N}=(0,a.useContext)(U),z=(0,a.useMemo)(()=>({SAVE_LAST_SCROLL_POSITION:"SAVE_LAST_SCROLL_POSITION",SCROLL_TO_LAST_POSITION:"SCROLL_TO_LAST_POSITION"}),[]),D=(0,a.useCallback)(e=>{var t,n;return null===(n=window)||void 0===n?void 0:null===(t=n.parent)||void 0===t?void 0:t.postMessage({action:e},"*")},[]),O=(0,a.useCallback)(()=>{D(z.SAVE_LAST_SCROLL_POSITION),j(!0)},[]),M=(0,a.useCallback)(()=>{D(z.SCROLL_TO_LAST_POSITION),j(!1)},[]),B=()=>{y((0,L.Dj)(p,m),"deleteMultiple","nickname")};return(0,a.useEffect)(()=>
1{if(void 0!==g){let e=o.find(e=>e.nickname===g);e&&e.sliderConf&&(k(e.sliderConf),T(d),T(d.filter(e=>{var t;return(null==e?void 0:null===(t=e.title)||void 0===t?void 0:t.toLowerCase())!==nC.sliderTitle})),N(I.filter(e=>e.nickname!==nC.sliderNickname)),B())}},[g,o,K,m]),(0,l.jsxs)(a.Fragment,{children:[u&&(0,l.jsx)(tD,{modalInfo:{title:t,tooltip:n},planData:u,selectedPlan:C,setSelectedPlan:A,isOpen:w,handleClose:M,isModal:!0,containerStyles:nf,ref:F}),(0,l.jsxs)(S.Flex,{flex:"1",column:!0,styles:nv,children:[(0,l.jsxs)(S.Flex,{justify:"space-between",align:"center",children:[(0,l.jsx)(S.Text,{size:"24",color:"primary.black",bold:!0,variant:"h2",styles:nk,children:t}),u&&(0,l.jsx)(S.Text,{size:"13",color:"primary.black",bold:!0,styles:nj,onClick:O,children:s})]}),(0,l.jsx)(S.Text,{size:"18",color:"primary.black",styles:nw,children:r}),(0,l.jsxs)(S.Accordion,{children:[o&&(0,l.jsx)(no,{plans:o,selectedPlanId:g,setSelectedPlanId:f,selectedProducts:p,selectedNetwork:K,setSelectedNetwork:P}),(0,l.jsx)(S.AccordionContent,{slideContentAfterOpening:!0,openStyles:nS,maxHeight:"600",children:_&&_.map((e,t)=>v&&(0,l.jsx)(tH,{...e,conf:v[t]},t))}),c&&(0,l.jsx)(ng,{addOns:c})]})]})]})},nK=e=>{let{selectedProducts:t,styles:n}=e,{products:r,bundlesModalInfo:s}=(0,a.useContext)(G),o=i()(s,"allFeatures");return(0,l.jsx)(S.Flex,{flex:"1",column:!0,styles:n,children:r.map((e,n)=>(0,l.jsx)(nA,{...e,bundlesModal:e.id&&o?o[e.id]:void 0,selectedProducts:t},n))})};var nP=n(10890);let n_=(0,K.css)(["\n flex: 2.4;\n height: fit-content;\n padding-right: 3rem;\n @media only screen and (max-width: 74rem) {\n padding-right: 2rem;\n }\n @media only screen and (max-width: 56rem) {\n padding-right: 0;\n }\n"]),nT=(0,K.css)(["\n flex: 1;\n position: sticky;\n top: 64px;\n height: fit-content;\n min-width: 300px;\n transition: all 200ms ease-in-out;\n ","\n @media only screen and (max-width: 74rem) {\n top: 0;\n padding-top: ",";\n }\n @media only screen and (max-width: 56rem) {\n padding-top: 32px;\n }\n"],e=>{let{scrollOffset:t}=e;return t&&"padding-top: calc(".concat(t,"px - 20% + 150px);")},e=>{let{scrollOffset:t}=e;return"calc(".concat("".concat(t," - 20% + 150px")||0,"px)")}),nI=()=>{let[e,t]=(0,a.useState)(0),{products:n,selectedProductIds:r}=(0,a.useContext)(G),s=n.reduce((e,t)=>e.concat((t.plans||t.addOns).filter(e=>r.some(t=>{let{nickname:n}=t;return n===e.nickname}))),[]);return(0,nP.UD)(e=>{let{scrollOffset:n}=e;return t(n)}),(0,l.jsxs)(a.Fragment,{children:[(0,l.jsx)(nK,{selectedProducts:s,styles:n_}),(0,l.jsx)(eH,{selectedProducts:s,scrollOffset:e,styles:nT})]})};var nN=n(42765);let nz=(0,K.css)(["\n width: calc(100% - 64px);\n max-width: 1152px;\n padding-top: 6rem;\n @media only screen and (max-width: 56rem) {\n flex-direction: column;\n }\n @media only screen and (max-width: 38rem) {\n width: 90%;\n }\n"]),nD=(0,K.css)(["\n width: calc(100% - 64px);\n max-width: 1152px;\n @media only screen and (max-width: 38rem) {\n width: 90%;\n }\n margin-bottom: 1rem;\n"]),nO=()=>{let{helpInfo:e,footerInfo:t}=(0,a.useContext)(G),{language:n}=(0,_.Qg)();return(0,l.jsxs)(S.Flex,{column:!0,align:"center",styles:to.qI,children:[(0,l.jsx)(S.Flex,{styles:nz,children:(0,l.jsx)(nI,{})}),(0,l.jsxs)(S.Flex,{column:!0,styles:nD,children:[(0,l.jsx)(nN.q,{lang:n,helpInfo:e}),(0,l.jsx)(eB.y,{...t})]})]})};var nM=n(97554);let nB=(e,t)=>{let n=e=>{window.open("mailto:".concat(t.contactText)),e.preventDefault()};e.products.forEach(e=>{let{plans:t}=e;t&&t.forEach(e=>{let{sliderConf:t}=e;t&&t.forEach(e=>{e.onTalkToUs=n})})}),e.bundlePaymentFooterInfo.onClick=n,t&&(t.onClick=n)},nR=(e,t,n,l,r,s,a)=>{let o=(0,L.dY)(e,n,s),d=(0,L.$Q)(e,t,l),c=r?(0,L.$w)(r):[],u=r?(0,L.$w)(r):[];return o.products.forEach(e=>{let{plans:t,addOns:n}=e;(t||n).forEach(e=>{let t=c.find(t=>{let{nickname:n}=t;return n===e.nickname});if(t&&(e.active=!0,t.network&&(e.networks=[t.network],e.networkOptions=void 0),e.sliderConf&&e.sliderConf.forEach(e=>{let t=c.find(t=>{let{nickname:n}=t;return n===e.nickname});if(t){e.activeValue=i()(t,"quantity");let n=c.findIndex(t=>{let{nickname:n}=t;return n===e.nickname});c.splice(n,1)}})),s.some(t=>{let{nickname:n}=t;return n===e.nickname})&&e.sliderConf&&a.query.sliders){let t=a.query.sliders.split("|").map(e=>JSON.parse(e));
1e.sliderConf.forEach(e=>{let n=t.find(t=>{let{nickname:n}=t;return n===e.nickname});e.activeValue=n?n.quantity:0})}})}),{bundles:o,bundlesModal:d,activePlans:c,activeProducts:u}},nE=e=>{let{router:t,selectedProducts:n,slidersParams:l}=e;t.push({pathname:t.pathname,query:{...t.query,products:n?n.map(e=>{let{nickname:t}=e;return t}).join(","):t.query.products,sliders:l||t.query.sliders}})},nq=e=>e.products?(0,L.$w)(e.products.split(",").map(e=>({nickname:e,quantity:1}))):void 0,nL=e=>{let{brandId:t,showBundles:n,planItems:s,planIsCanceled:d,bundlesConf:u,helpInfo:p,footerInfo:m,bundlesModalInfo:y,handleOnBundlesPay:h,locale:b="en",disablePayButton:x,loadingPayButton:g,cancelAtPeriodEnd:f,handleReturnToPrices:v,canSelectCurrency:k}=e,{t:w}=(0,o.q)(),{currency:j}=(0,a.useContext)(nM.g),F=(0,r.useRouter)(),C=i()(F,"pathname","").includes("public"),A=!t||C||!n,[K,P]=(0,S.useArray)(nq(F.query)||[]),[_,T]=(0,a.useState)(),I=i()(_,"bundles"),N=i()(_,"bundlesModal"),z=i()(_,"activeProducts"),{data:D,loading:O}=(0,c.aM)(M.$,{fetchPolicy:"network-only",variables:{brandId:t,currency:j},skip:A}),{data:B}=(0,c.aM)(q,{skip:A}),R=i()(D,"getBundlesDefinition"),E=i()(B,"getBundlesCoupons");return((0,a.useEffect)(()=>{if(!O&&R&&y){nB(u,m);let e=nR(R,y,u,b,s,K,F);T(e),P(nq(F.query)||i()(e,"activePlans"))}},[R,y,n]),(0,a.useEffect)(()=>{n&&nE({router:F,selectedProducts:(0,L.fj)(K)})},[K]),n&&E&&_)?(0,l.jsxs)($,{...I,activeProducts:z,couponsData:E,helpInfo:p,footerInfo:m,bundlesModalInfo:N,handleBuyClick:h,selectedProductIds:K,setSelectedProductIds:P,disablePayButton:x,loadingPayButton:g,cancelAtPeriodEnd:f,planIsCanceled:d,canSelectCurrency:k,children:[(0,l.jsxs)(H.PZ,{children:[(0,l.jsx)(S.Text,{center:!0,size:"40",color:"primary.black",styles:{fontWeight:"500"},children:w("prices.bundles.titleHeader1")}),(0,l.jsx)(S.Spacing,{size:"10"}),(0,l.jsx)(S.Text,{center:!0,size:"18",color:"primary.black",children:w("prices.bundles.titleParagraph1")}),(0,l.jsx)(S.Spacing,{size:"20"}),(0,l.jsxs)(S.Button,{onClick:v,variant:"flat",withIcon:!0,children:[(0,l.jsx)(S.Icon,{name:"arrowleft"}),w("commons.button.returnToPlans")]})]}),(0,l.jsx)(W,{changeRoute:e=>{let t=e.map(e=>JSON.stringify(e)).join("|");t!==F.query.sliders&&nE({router:F,slidersParams:t})},children:(0,l.jsx)(nO,{})})]}):null};var nH=n(16222),nG=JSON.parse('{"allFeatures":{"discover":{"features":[{"id":"features","valueKey":"prices.table.column.features.label"},{"id":"influencersAccess","valueKey":"prices.table.seeAllFeatures.modal.bundle.discover.influencersAccess.label","tooltipKey":"prices.table.seeAllFeatures.modal.bundle.discover.influencersAccess.tooltip"},{"id":"socialNetworks","valueKey":"prices.table.seeAllFeatures.modal.bundle.discover.socialNetworks.label","tooltipKey":"prices.table.seeAllFeatures.modal.bundle.discover.socialNetworks.tooltip"},{"id":"numberOfSearches","valueKey":"prices.table.seeAllFeatures.modal.bundle.discover.numberOfSearches.label","tooltipKey":"prices.table.seeAllFeatures.modal.bundle.discover.socialNetworks.tooltip"},{"id":"monthlyResults","valueKey":"prices.table.seeAllFeatures.modal.bundle.discover.monthlyResults.label","tooltipKey":"prices.table.seeAllFeatures.modal.bundle.discover.monthlyResults.tooltip"},{"id":"influencersFilters","valueKey":"prices.table.seeAllFeatures.modal.bundle.discover.influencersFilters.label","tooltipKey":"prices.table.seeAllFeatures.modal.bundle.discover.influencersFilters.tooltip"},{"id":"audienceFilters","valueKey":"prices.table.seeAllFeatures.modal.bundle.discover.audienceFilters.label","tooltipKey":"prices.table.seeAllFeatures.modal.bundle.discover.audienceFilters.tooltip"},{"id":"contentFilters","valueKey":"prices.table.seeAllFeatures.modal.bundle.discover.contentFilters.label","tooltipKey":"prices.table.seeAllFeatures.modal.bundle.discover.contentFilters.tooltip"},{"id":"advancedFilters","valueKey":"prices.table.seeAllFeatures.modal.bundle.discover.advancedFilters.label","tooltipKey":"prices.table.seeAllFeatures.modal.bundle.discover.advancedFilters.tooltip"},{"id":"addMoreResults","valueKey":"prices.table.seeAllFeatures.modal.bundle.discover.addMoreResults.label","tooltipKey":"prices.table.seeAllFeatures.modal.bundle.discover.addMoreResults.tooltip"},{"id":"saveSearches","valueKey":"prices.table.seeAllFeatures.modal.bundle.discover.saveYourSearches.label","tooltipKey":"prices.table.seeAllFeatures.modal.bundle.discover.saveYourSearches.tooltip"}],"plans":[{"id":"basic","nameKey":"prices.bundles.basic.label","allFeatures":[{"id":"features"},{"id":"influencersAccess","type":"check"},{"id":"socialNetworks","valueKey":"prices.table.seeAllFeatures.modal.bundle.discover.basic.socialNetworks"},{"id":"numberOfSearches","valueKey":"prices.table.seeAllFeatures.modal.bundle.discover.basic.numberOfSearches"},{"id":"monthlyResults","valueKey":"prices.table.seeAllFeatures.modal.bundle.discover.basic.monthlyResults"},{"id":"influencersFilters","type":"check"},{"id":"audienceFilters","type":"check"},{"id":"contentFilters","type":"check"},{"id":"advancedFilters","type":"check"},{"id":"addMoreResults","type":"check"},{"id":"saveSearches","type":"check"}]},{"id":"pro","nameKey":"prices.bundles.pro.label","allFeatures":[{"id":"influencersAccess","type":"check"},{"id":"socialNetworks","valueKey":"prices.table.seeAllFeatures.modal.bundle.discover.professional.socialNetworks"},{"id":"numberOfSearches","valueKey":"prices.table.seeAllFeatures.modal.bundle.discover.professional.numberOfSearches"},{"id":"monthlyResults","valueKey":"prices.table.seeAllFeatures.modal.bundle.discover.professional.monthlyResults"},{"id":"influencersFilters","type":"check"},{"id":"audienceFilters","type":"check"},{"id":"contentFilters","type":"check"},{"id":"advancedFilters","type":"check"},{"id":"addMoreResults","type":"check"},{"id":"saveSearches","type":"check"}]}]},"network":{"features":[{"id":"features","valueKey":"prices.table.column.features.label"},{"id":"socialNetworks","valueKey":"prices.table.seeAllFeatures.modal.bundle.network.socialNetworks.label","tooltipKey":"prices.table.seeAllFeatures.modal.bundle.network.socialNetworks.tooltip"},{"id":"monthlyAnalyses","valueKey":"prices.table.seeAllFeatures.modal.bundle.network.monthlyAnalyses.label","tooltipKey":"prices.table.seeAllFeatures.modal.bundle.network.monthlyAnalyses.tooltip"},{"id":"performanceData","valueKey":"prices.table.seeAllFeatures.modal.bundle.network.performanceData.label","tooltipKey":"prices.table.seeAllFeatures.modal.bundle.network.performanceData.tooltip"},{"id":"historicalData","valueKey":"prices.table.seeAllFeatures.modal.bundle.network.historicalData.label","tooltipKey":"prices.table.seeAllFeatures.modal.bundle.network.historicalData.tooltip"},{"id":"activityData","valueKey":"prices.table.seeAllFeatures.modal.bundle.network.activityData.label","tooltipKey":"prices.table.seeAllFeatures.modal.bundle.network.activityData.tooltip"},{"id":"audienceDemographicData","valueKey":"prices.table.seeAllFeatures.modal.bundle.network.audience.label","tooltipKey":"prices.table.seeAllFeatures.modal.bundle.network.audience.tooltip"},{"id":"contactData","valueKey":"prices.table.seeAllFeatures.modal.bundle.network.contactData.label","tooltipKey":"prices.table.seeAllFeatures.modal.bundle.network.contactData.tooltip"},{"id":"fraudDetection","valueKey":"prices.table.seeAllFeatures.modal.bundle.network.fraudDetection.label","tooltipKey":"prices.table.seeAllFeatures.modal.bundle.network.fraudDetection.tooltip"},{"id":"notes","valueKey":"prices.table.seeAllFeatures.modal.bundle.network.notes.label","tooltipKey":"prices.table.seeAllFeatures.modal.bundle.network.notes.tooltip"},{"id":"historicalPrices","valueKey":"prices.table.seeAllFeatures.modal.bundle.network.historicalPrices.label","tooltipKey":"prices.table.seeAllFeatures.modal.bundle.network.historicalPrices.tooltip"},{"id":"lists","valueKey":"prices.table.seeAllFeatures.modal.bundle.network.lists.label","tooltipKey":"prices.table.seeAllFeatures.modal.bundle.network.lists.tooltip"},{"id":"audienceOverlap","valueKey":"prices.table.seeAllFeatures.modal.bundle.network.audienceOverlap.label","tooltipKey":"prices.table.seeAllFeatures.modal.bundle.network.audienceOverlap.tooltip"},{"id":"emailIntegration","valueKey":"prices.table.seeAllFeatures.modal.bundle.network.emailIntegration.label","tooltipKey":"prices.table.seeAllFeatures.modal.bundle.network.emailIntegration.tooltip"},{"id":"massiveComm","valueKey":"prices.table.seeAllFeatures.modal.bundle.irmAndData.bulkEmail.label","tooltipKey":"prices.table.seeAllFeatures.modal.bundle.irmAndData.bulkEmail.tooltip"},{"id":"outreach","valueKey":"prices.table.seeAllFeatures.modal.bundle.irmAndData.outreach.label","tooltipKey":"prices.table.seeAllFeatures.modal.bundle.irmAndData.outreach.tooltip"},{"id":"customFields","valueKey":"prices.table.seeAllFeatures.modal.bundle.irmAndData.customFields.label","tooltipKey":"prices.table.seeAllFeatures.modal.bundle.irmAndData.customFields.tooltip"}],"plans":[{"id":"basic","nameKey":"prices.bundles.basic.label","allFeatures":[{"id":"features"},{"id":"socialNetworks","valueKey":"prices.table.seeAllFeatures.modal.bundle.network.basic.socialNetworks"},{"id":"monthlyAnalyses","valueKey":"prices.table.seeAllFeatures.modal.bundle.network.basic.monthlyAnalyses"},{"id":"performanceData","type":"check"},{"id":"historicalData","type":"check"},{"id":"activityData","type":"check"},{"id":"audienceDemographicData","type":"check"},{"id":"contactData","type":"check"},{"id":"fraudDetection","type":"check"},{"id":"notes","type":"check"},{"id":"historicalPrices","type":"check"},{"id":"lists","value":1},{"id":"audienceOverlap","type":"check"},{"id":"massiveComm","type":"check"},{"id":"outreach","type":"check"},{"id":"customFields","value":"5"}]},{"id":"pro","nameKey":"prices.bundles.pro.label","allFeatures":[{"id":"features"},{"id":"socialNetworks","valueKey":"prices.table.seeAllFeatures.modal.bundle.network.pro.socialNetworks"},{"id":"monthlyAnalyses","valueKey":"prices.table.seeAllFeatures.modal.bundle.network.pro.monthlyAnalyses"},{"id":"performanceData","type":"check"},{"id":"historicalData","type":"check"},{"id":"activityData","type":"check"},{"id":"audienceDemographicData","type":"check"},{"id":"contactData","type":"check"},{"id":"fraudDetection","type":"check"},{"id":"notes","type":"check"},{"id":"historicalPrices","type":"check"},{"id":"lists","value":100},{"id":"audienceOverlap","type":"check"},{"id":"emailIntegration","type":"check"},{"id":"massiveComm","type":"check"},{"id":"outreach","type":"check"},{"id":"customFields","value":"20"}]}]},"socialMedia":{"features":[{"id":"features","valueKey":"prices.table.column.features.label"},{"id":"socialAccounts","valueKey":"entity.bundles.field.socialAccounts.label","tooltipKey":"entity.bundles.field.socialAccounts.tooltip"},{"id":"postPlanner","valueKey":"entity.bundles.field.postPlanner.label","tooltipKey":"entity.bundles.field.postPlanner.tooltip"},{"id":"postLimit","valueKey":"entity.bundles.field.postLimit.label","tooltipKey":"entity.bundles.field.postLimit.tooltip"},{"id":"autopublication","valueKey":"entity.bundles.field.autopublication.label","tooltipKey":"entity.bundles.field.autopublication.tooltip"},{"id":"postPromotion","valueKey":"entity.bundles.field.postPromotion.label"},{"id":"aiCopyAssistant","valueKey":"entity.bundles.field.aiCopyAssistant.label","tooltipKey":"entity.bundles.field.aiCopyAssistant.tooltip"},{"id":"socialNetworkAnalysis","valueKey":"entity.bundles.field.socialNetworkAnalysis.label","tooltipKey":"entity.bundles.field.socialNetworkAnalysis.tooltip"},{"id":"metricsStorage","valueKey":"entity.bundles.field.metricsStorage.label","tooltipKey":"entity.bundles.field.metricsStorage.tooltip"},{"id":"historicalData","valueKey":"entity.bundles.field.historicalData.label","tooltipKey":"entity.bundles.field.historicalData.tooltip"},{"id":"instagramReelsAndStoriesAnalytics","valueKey":"entity.bundles.field.instagramReelsAndStoriesAnalytics.label"},{"id":"competitorAnalysis","valueKey":"entity.bundles.field.competitorAnalysis.label"},{"id":"youtubeCompetitorsAnalysis","valueKey":"entity.bundles.field.youtubeCompetitorsAnalysis.label"},{"id":"twitterBenchmark","valueKey":"entity.bundles.field.twitterBenchmark.label"},{"id":"webBlogAnalytics","valueKey":"entity.bundles.field.webBlogAnalytics.label","tooltipKey":"entity.bundles.field.webBlogAnalytics.tooltip"},{"id":"exportReports","valueKey":"entity.bundles.field.exportReports.label","tooltipKey":"entity.bundles.field.exportReports.tooltip"},{"id":"automaticMonthlyReports","valueKey":"entity.bundles.field.automaticMonthlyReports.label","tooltipKey":"entity.bundles.field.automaticMonthlyReports.tooltip"},{"id":"inboxAndMessageManagement","valueKey":"entity.bundles.field.inboxAndMessageManagement.label","tooltipKey":"entity.bundles.field.inboxAndMessageManagement.tooltip"},{"id":"personalizedBioLinks","valueKey":"entity.bundles.field.personalizedBioLinks.label","tooltipKey":"entity.bundles.field.personalizedBioLinks.tooltip"}],"plans":[{"id":"basic","nameKey":"prices.bundles.basic.label","allFeatures":[{"id":"features","valueKey":"prices.table.column.features.label"},{"id":"socialAccounts","valueKey":"entity.bundles.value.profilesPerNetwork.label"},{"id":"postPlanner","type":"check"},{"id":"postLimit","valueKey":"entity.bundles.value.upToPerMonth.label","valueKeyParams":{"count":200}},{"id":"autopublication","type":"check"},{"id":"postPromotion","valueKey":"entity.bundles.value.forFacebook.label"},{"id":"aiCopyAssistant","valueKey":"entity.bundles.value.upToPerMonth.label","valueKeyParams":{"count":50}},{"id":"socialNetworkAnalysis","valueKey":"entity.bundles.value.profilesPerNetwork.label"},{"id":"metricsStorage","valueKey":"entity.bundles.value.unlimited.label"},{"id":"historicalData","valueKey":"entity.bundles.value.unlimited.label"},{"id":"instagramReelsAndStoriesAnalytics","type":"check"},{"id":"competitorAnalysis","valueKey":"entity.bundles.value.forFacebookInstagramTwitterAndTwitch.label"},{"id":"youtubeCompetitorsAnalysis","value":"10"},{"id":"twitterBenchmark","type":"check"},{"id":"webBlogAnalytics","type":"check"},{"id":"exportReports","type":"check"},{"id":"automaticMonthlyReports","type":"check"},{"id":"inboxAndMessageManagement","type":"check"},{"id":"personalizedBioLinks","valueKey":"entity.bundles.value.unlimited.label"}]}]},"campaigns":{"features":[{"id":"features","valueKey":"prices.table.column.features.label"},{"id":"socialNetworks","valueKey":"prices.table.seeAllFeatures.modal.bundle.campaigns.socialNetworks.label","tooltipKey":"prices.table.seeAllFeatures.modal.bundle.campaigns.socialNetwork.tooltip"},{"id":"campaignStorage","valueKey":"prices.table.seeAllFeatures.modal.bundle.campaigns.campaignStorage.label","tooltipKey":"prices.table.seeAllFeatures.modal.bundle.campaigns.campaignStorage.tooltip"},{"id":"numberOfInfluencersInCampaign","valueKey":"prices.table.seeAllFeatures.modal.bundle.campaigns.influencersInCampaign.label","tooltipKey":"prices.table.seeAllFeatures.modal.bundle.campaigns.influencersInCampaign.tooltip"},{"id":"taskManagement","valueKey":"prices.table.seeAllFeatures.modal.bundle.campaigns.taskManagement.label","tooltipKey":"prices.table.seeAllFeatures.modal.bundle.campaigns.taskManagement.tooltip"},{"id":"budgetControl","valueKey":"prices.table.seeAllFeatures.modal.bundle.campaigns.budgetControl.label","tooltipKey":"prices.table.seeAllFeatures.modal.bundle.campaigns.budgetControl.tooltip"},{"id":"estimatedResults","valueKey":"prices.table.seeAllFeatures.modal.bundle.campaigns.estimatedResults.label","tooltipKey":"prices.table.seeAllFeatures.modal.bundle.campaigns.estimatedResults.tooltip"},{"id":"customWorkflows","valueKey":"prices.table.seeAllFeatures.modal.bundle.campaigns.customWorkflows.label","tooltipKey":"prices.table.seeAllFeatures.modal.bundle.campaigns.customWorkflows.tooltip"},{"id":"programsStorage","valueKey":"prices.table.seeAllFeatures.modal.bundle.campaigns.programsStorage.label","tooltipKey":"prices.table.seeAllFeatures.modal.bundle.campaigns.programsStorage.tooltip"},{"id":"payments","valueKey":"entity.prices.field.payments.label","tooltipKey":"entity.prices.field.payments.tooltip"}],"plans":[{"id":"basic","nameKey":"prices.bundles.basic.label","allFeatures":[{"id":"features","valueKey":"prices.table.column.features.label"},{"id":"socialNetworks","valueKey":"prices.table.seeAllFeatures.
1modal.bundle.campaigns.basic.socialNetworks"},{"id":"campaignStorage","valueKey":"prices.table.seeAllFeatures.modal.bundle.campaigns.basic.campaingStorage"},{"id":"numberOfInfluencersInCampaign","valueKey":"prices.table.seeAllFeatures.modal.bundle.campaigns.basic.influencersInCampaign"},{"id":"taskManagement","type":"check"},{"id":"budgetControl","type":"check"},{"id":"estimatedResults","type":"check"},{"id":"customWorkflows"},{"id":"programsStorage","valueKey":"prices.table.seeAllFeatures.modal.bundle.campaigns.basic.programsStorage"},{"id":"payments","type":"check"}]}]},"socialListening":{"features":[{"id":"features","valueKey":"prices.table.column.features.label"},{"id":"numberOfAlerts","valueKey":"entity.bundles.field.numberOfAlerts.label","tooltipKey":"entity.bundles.field.numberOfAlerts.tooltip"},{"id":"numberOfMentions","valueKey":"entity.bundles.field.numberOfMentions.label","tooltipKey":"entity.bundles.field.numberOfMentions.tooltip"},{"id":"sourcesYouCanCrawl","valueKey":"entity.bundles.field.sourcesYouCanCrawl.label","tooltipKey":"entity.bundles.field.sourcesYouCanCrawl.tooltip"},{"id":"mentionsListReport","valueKey":"entity.bundles.field.mentionsListReport.label","tooltipKey":"entity.bundles.field.mentionsListReport.tooltip"},{"id":"mentionInsights","valueKey":"entity.bundles.field.mentionInsights.label","tooltipKey":"entity.bundles.field.mentionInsights.tooltip"},{"id":"previewMentions","valueKey":"entity.bundles.field.previewMentions.label","tooltipKey":"entity.bundles.field.previewMentions.tooltip"},{"id":"sortAndFilterMentions","valueKey":"entity.bundles.field.sortAndFilterMentions.label","tooltipKey":"entity.bundles.field.sortAndFilterMentions.tooltip"}],"plans":[{"id":"basic","nameKey":"prices.bundles.basic.label","allFeatures":[{"id":"features"},{"id":"numberOfAlerts","valueKey":"entity.bundles.value.unlimited.label"},{"id":"numberOfMentions","valueKey":"entity.bundles.value.upToPerMonth.label","valueKeyParams":{"count":100000}},{"id":"sourcesYouCanCrawl","valueKey":"entity.bundles.value.sourcesYouCanCrawl.label"},{"id":"mentionsListReport","type":"check"},{"id":"mentionInsights","valueKey":"entity.bundles.value.sentimentsEntitiesEmotionsThemesInterests.label"},{"id":"previewMentions","type":"check"},{"id":"sortAndFilterMentions","type":"check"}]}]},"reports":{"features":[{"id":"features","valueKey":"prices.table.column.features.label"},{"id":"socialNetworks","valueKey":"prices.table.seeAllFeatures.modal.bundle.reports.socialNetworks.label","tooltipKey":"prices.table.seeAllFeatures.modal.bundle.reports.socialNetworks.tooltip"},{"id":"reportStorage","valueKey":"prices.table.seeAllFeatures.modal.bundle.reports.reportStorage.label","tooltipKey":"prices.table.seeAllFeatures.modal.bundle.reports.reportStorage.tooltip"},{"id":"monthlyPosts","valueKey":"prices.table.seeAllFeatures.modal.bundle.reports.monthlyPosts.label","tooltipKey":"prices.table.seeAllFeatures.modal.bundle.reports.monthlyPosts.tooltip"},{"id":"audienceDemographicData","valueKey":"prices.table.seeAllFeatures.modal.bundle.reports.audience.label","tooltipKey":"prices.table.seeAllFeatures.modal.bundle.reports.audience.tooltip"},{"id":"metricsPerInfluencer","valueKey":"prices.table.seeAllFeatures.modal.bundle.reports.metricsPerInfluencer.label","tooltipKey":"prices.table.seeAllFeatures.modal.bundle.reports.metricsPerInfluencer.tooltip"},{"id":"metricsPerPost","valueKey":"prices.table.seeAllFeatures.modal.bundle.reports.metricsPerPost.label","tooltipKey":"prices.table.seeAllFeatures.modal.bundle.reports.metricsPerPost.tooltip"}],"plans":[{"id":"basic","nameKey":"prices.bundles.basic.label","allFeatures":[{"id":"features"},{"id":"socialNetworks","valueKey":"prices.table.seeAllFeatures.modal.bundle.reports.basic.socialNetworks"},{"id":"reportStorage","valueKey":"prices.table.seeAllFeatures.modal.bundle.reports.basic.reportStorage"},{"id":"monthlyPosts","valueKey":"prices.table.seeAllFeatures.modal.bundle.reports.basic.monthlyPosts"},{"id":"audienceDemographicData","type":"check"},{"id":"metricsPerInfluencer","type":"check"},{"id":"metricsPerPost","type":"check"}]},{"id":"pro","nameKey":"prices.bundles.pro.label","allFeatures":[{"id":"features"},{"id":"socialNetworks","valueKey":"prices.table.seeAllFeatures.modal.bundle.reports.pro.socialNetworks"},{"id":"reportStorage","valueKey":"prices.table.seeAllFeatures.modal.bundle.reports.pro.reportStorage"},{"id":"monthlyPosts","valueKey":"prices.table.seeAllFeatures.modal.bundle.reports.pro.monthlyPosts"},{"id":"audienceDemographicData","type":"check"},{"id":"metricsPerInfluencer","type":"check"},{"id":"metricsPerPost","type":"check"}]}]}}}'),n$=n(13106);let nQ=(0,K.css)(["\n position: absolute;\n inset: 0;\n width: 100%;\n min-width: 0;\n height: 100%;\n overflow: auto;\n box-sizing: border-box;\n"]),nU=(0,K.css)(["\n background: ",";\n width: 100%;\n min-width: 0;\n"],e=>{let{theme:t}=e;return t.colors.neutral.white}),nW=e=>{var t;let{brandId:n,planType:s,planItems:d,activePeriod:u,setActivePeriod:p,planIsCanceled:m,isBlocked:y,planPeriod:h,handleOnClickPay:b,handleOnBundlesPay:x,disablePayButton:g,loadingPayButton:f,cancelAtPeriodEnd:v,currentPlanId:k,plansData:w,canSelectCurrency:j,isTrial:F}=e,C=(0,r.useRouter)(),A=null==C?void 0:C.pathname,K=null==A?void 0:A.includes("public"),P=!n||K,{data:I,loading:N}=(0,c.aM)(n$.m4,{skip:P}),z=null==I?void 0:null===(t=I.self)||void 0===t?void 0:t.roles,{t:M}=(0,o.q)(),{locale:B}=(0,_.Qg)(),{currency:R}=(0,a.useContext)(nM.g),E=i()(C,"query.tab"),q=void 0!==E?+E:"bundle"===s?1:0,L=!!(null==z?void 0:z.includes("sales_manager")),H=!P&&N,G=0===q,$=e=>{C.push({pathname:C.pathname,query:{brandId:n,tab:e,products:C.query.products,sliders:C.query.sliders}})};return((0,a.useEffect)(()=>{H||1!==q||L||C.push({pathname:C.pathname,query:{brandId:n,tab:0,products:C.query.products,sliders:C.query.sliders}})},[q,n,H,L,C]),1===q&&(H||!L))?null:(0,l.jsxs)(S.Flex,{column:!0,styles:nQ,children:[void 0!==s&&G&&(0,l.jsx)(S.Flex,{styles:nU,children:(0,l.jsx)(T.P,{planType:s,planPeriod:h,planIsCanceled:m,isBlocked:y,language:"en",helpInfo:D(M,B),footerInfo:O(M),handleOnClick:b,cancelAtPeriodEnd:v,activePeriod:u,setActivePeriod:p,plansData:w,currentPlanId:k,canSelectCurrency:j,isSalesManager:L,isTrial:F})}),!G&&(0,l.jsx)(nL,{brandId:n,showBundles:!0,planItems:d,planIsCanceled:m,bundlesConf:(0,nH.Q)(M,B,R),helpInfo:D(M,B),footerInfo:O(M),bundlesModalInfo:nG,handleOnBundlesPay:x,disablePayButton:g,loadingPayButton:f,cancelAtPeriodEnd:v,handleReturnToPrices:()=>$(0),canSelectCurrency:j})]})};
1function nV(){let e=(0,B._)(["\n mutation sendDowngradeAttemptToSales(\n $brandId: String\n $planName: String\n $payPeriod: String\n $planId: String\n $planItems: [PlanItemsInputType]\n ) {\n sendDowngradeAttemptToSales(\n brandId: $brandId\n planName: $planName\n payPeriod: $payPeriod\n planId: $planId\n planItems: $planItems\n ) {\n currentPlanItems {\n nickname\n quantity\n }\n newPlanItems {\n nickname\n quantity\n }\n }\n }\n"]);return nV=function(){return e},e}let nY=(0,R.Ps)(nV()),nJ=e=>{let{isOpen:t,onClose:n,planName:s,payPeriod:d,planId:c,planItems:p}=e,{t:m}=(0,o.q)(),{colors:{gradients:y}}=(0,a.useContext)(K.ThemeContext),h=m("commons.button.talkToSales"),[x,g]=(0,a.useState)(""),[f,v]=(0,a.useState)(h),[k,w]=(0,a.useState)(!1),j=(0,r.useRouter)(),F=i()(j,"query.brandId"),[C,{loading:A}]=(0,u.D)(nY),P=()=>{g(""),w(!1),v(h),n()};return(0,l.jsxs)(S.Modal,{titleStyle:["text-transform: none;"],isOpen:t,onClose:P,title:k?m("prices.plans.talkToSales.modal.title.requestSent"):m("prices.plans.talkToSales.modal.title.notAvailable"),gradient1:y[1][0],gradient2:y[1][1],children:[(0,l.jsxs)(S.Flex,{column:!0,grow:"1",children:[!k&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(S.Text,{justify:!0,children:m("prices.plans.talkToSales.modal.notSent.paragraph1")}),(0,l.jsx)(S.Spacing,{}),(0,l.jsx)(S.Text,{justify:!0,children:m("prices.plans.talkToSales.modal.notSent.paragraph2")})]}),k&&(0,l.jsx)(S.Text,{justify:!0,children:m("prices.plans.talkToSales.modal.sent.paragraph1")}),x&&(0,l.jsx)(S.Flex,{grow:"1",align:"center",children:(0,l.jsx)(S.Text,{color:"state.dangerDefault",children:x})})]}),(0,l.jsxs)(S.Flex,{column:!0,align:"flex-start",children:[!k&&(0,l.jsxs)(S.Flex,{children:[(0,l.jsx)(S.StateButton,{onClick:()=>{g(""),C({variables:{brandId:F,planName:s,payPeriod:d,planId:c,planItems:p}}).then(()=>{w(!0),b.RouterHelper.traceEvent("send_bundle_download_attempt",p)}).catch(e=>{v(m("prices.plans.talkToSales.modal.button.error.retrySend")),g(m("prices.plans.talkToSales.modal.text.error.retrySend")),console.error(e)})},loading:A,showLoader:!0,children:f}),(0,l.jsx)(S.Spacing,{vertical:!0,size:"24"}),(0,l.jsx)(S.Button,{variant:"flat",color:"secondary",onClick:P,children:m("commons.button.cancel")})]}),k&&(0,l.jsx)(S.Button,{onClick:()=>{j.push(b.RouterHelper.getRoute("productsAndBilling",{brandId:F})),P()},children:m("commons.button.close")})]})]})};var nX=n(16858),nZ=n(57664);let n0=()=>{var e,t,n,s;let{t:p}=(0,o.q)(),{currency:y,setCurrency:k,setCurrencyLoading:F}=(0,a.useContext)(nM.g),[C,K]=(0,a.useState)(!1),[_,T]=(0,a.useState)(""),[I,N]=(0,a.useState)(1),z=I?"yearly":"monthly",[D,O]=(0,a.useState)(!1),[M,B]=(0,a.useState)(void 0),[R,E]=(0,a.useState)(!1),[q,H]=(0,a.useState)([]),[G,$]=(0,a.useState)(!1),[Q,U]=(0,a.useState)(!1),[W,V]=(0,a.useState)({skip:!0}),Y=(0,d.x)(),J=(0,r.useRouter)(),X=i()(J,"query.brandId"),Z=null==J?void 0:null===(e=J.pathname)||void 0===e?void 0:e.includes("public"),ee=null==J?void 0:null===(t=J.pathname)||void 0===t?void 0:t.includes("login"),{data:et,loading:en}=(0,c.aM)(x.UQ,{variables:{brandId:X},fetchPolicy:"network-only",skip:Z||ee||!X,notifyOnNetworkStatusChange:!0}),el=!X||Z,{data:er}=(0,c.aM)(n$.m4,{skip:el}),es=null==er?void 0:null===(n=er.self)||void 0===n?void 0:n.email,ei=null==er?void 0:null===(s=er.self)||void 0===s?void 0:s.roles,ea=!!(null==ei?void 0:ei.includes("sales_manager")),{loading:eo,data:ed}=(0,c.aM)(g.kW,W),[ec,{loading:eu}]=(0,u.D)(f.s),ep=i()(ed,"checkChangeSubscription.isValidBundleDowngrade"),em=i()(ed,"checkChangeSubscription.valid"),ey=i()(ed,"checkChangeSubscription.messageArray")||[],eh=i()(et,"brand.subscriptionInfo.status"),eb=i()(et,"brand.subscriptionInfo.isTrial"),ex=i()(et,"brand.billingInfo.planId"),eg=i()(et,"brand.subscriptionInfo.planType")||i()(et,"brand.billingInfo.planType"),ef=i()(et,"brand.subscriptionInfo.planPeriod")||i()(et,"brand.billingInfo.planPeriod"),ev=!!i()(et,"brand.subscriptionInfo.cancellationAt"),ek=ev||"canceled"===eh,ew=ev&&!function(e){let t=i()(e,"brand.subscriptionInfo.cancellationAt");return w()().isAfter(t)}(et),ej="active"===eh,{data:eS}=(0,c.aM)(v.Z,{variables:{currency:y},skip:ee||Z,fetchPolicy:"network-only"}
1),eF=i()(eS,"plans.plans")||[],eC=i()(et,"brand.billingInfo.subscriptionId"),eA=i()(et,"brand.billingInfo.planItems"),eK=i()(et,"brand.billingInfo.currency"),eP=!eo&&ed&&!em,e_=!eo&&ed&&em&&null===ep,eT=R||Q||eP||C,eI=()=>{V({skip:!0}),Y.cache.evict({id:"ROOT_QUERY",fieldName:"checkChangeSubscription"})};(0,a.useEffect)(()=>{eK&&k(eK)},[eK]),(0,a.useEffect)(()=>{F(en)},[en]),(0,a.useEffect)(()=>{"enterprise"===eg&&J.push(b.RouterHelper.getRoute("productsAndBilling",{brandId:X}))},[eg]);let eN=e=>{var t;let{text:n=p("commons.button.changePlan"),detail:l,bundle:r}=e,s=null==eF?void 0:eF.find(e=>{let{id:t}=e;return t===M}),i=null==s?void 0:null===(t=s[z])||void 0===t?void 0:t.price,a={subscription_plan:M,subscription_period:z,subscription_price:i,subscription_currency:y,text:n,detail:l};r&&(a.subscription_plan="bundle",a.subscription_period="monthly"),(0,nZ.$)("subscription_order_started",a)};if((0,a.useEffect)(()=>{if(!eo){if(!1===ep)U(!0),eN({detail:"Bundle downgrade not allowed"});else{if(eP){O(!0),eN({detail:"Downgrade not allowed"});return}e_&&E(!0),!0===ep&&(M?eO(M):eM(q))}}},[eP,e_,ep,ed]),!et)return null;let ez=(e,t)=>b.RouterHelper.getRoute(eC?"upgradeSubscription":"subscriptionForm",e,"",t),eD=e=>{T(120),K(!0),ec({variables:{brandId:X}}).then(()=>{eN({text:p("prices.table.restartNow.button"),detail:"restart",bundle:e}),T(220)}).catch(e=>{(0,nX.Tb)(e),T(453)})},eO=e=>{eN({});let t=ez({brandId:X},{planName:e,payPeriod:z,...y&&{currency:y}});J.push(t)},eM=e=>{eN({bundle:!0});let t=ez({brandId:X},{planName:"bundle",payPeriod:"monthly",planItems:encodeURIComponent(JSON.stringify(e)),...y&&{currency:y}});J.push(t)};return en||"enterprise"===eg?(0,l.jsx)(S.Loader,{fillSpace:!0}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(j.Z,{isOpen:C,setIsOpen:K,resultCode:_,brandId:X}),(0,l.jsx)(P,{isOpen:R,handleDowngrade:()=>{let e={brandId:X,planName:M,payPeriod:z,...y&&{currency:y}};J.push(b.RouterHelper.getRoute("upgradeSubscription",e)),E(!1),N(0)},onClose:()=>{E(!1),eI()}}),(0,l.jsx)(nJ,{isOpen:Q,onClose:()=>{U(!1),eI()},planId:G,planItems:q,planName:M,payPeriod:z}),(0,l.jsx)(A,{isOpen:D,onClose:()=>{O(!1),eI()},errors:ey}),(0,l.jsx)(nW,{brandId:X,planType:eg,planItems:eA,activePeriod:I,setActivePeriod:N,planIsCanceled:ek,isBlocked:"incomplete_expired"===eh,planPeriod:"yearly"===ef?1:0,handleOnClickPay:e=>{if("createBundle"===e&&ea){let{query:e}=J;J.push({pathname:J.pathname,query:{...e,brandId:X,tab:1}},null,{shallow:!0});return}if("createBundle"===e){J.push(b.RouterHelper.getRoute("salesForm",{brandId:X},"",{email:es}));return}if(B(e),e===eg&&ew){eD();return}if(ej){var t;let n=eF.find(t=>{let{id:n}=t;return n===e}),l=null==n?void 0:null===(t=n[z])||void 0===t?void 0:t.planId;if(l){$(l),V({variables:{brandId:X,planId:l,currency:y}});return}}eO(e)},handleOnBundlesPay:e=>{B(void 0),$(void 0);let t=(0,L.fj)(e),n=eA?(0,L.$w)(eA):[],l=h()(n,"nickname"),r=h()(e,"nickname");if(m()(l,r)&&ew){eD(!0);return}if(ej){H(t),V({variables:{brandId:X,planItems:t,currency:y}});return}eM(t)},disablePayButton:eT,loadingPayButton:eo||eu,cancelAtPeriodEnd:ew,currentPlanId:ex,plansData:eF,canSelectCurrency:"canceled"===eh||!0===eb,isTrial:eb})]})};var n1=n(87141);let n2=K.default.div.withConfig({displayName:"pricesAndPlans__LayoutRow",componentId:"sc-222d2ea8-0"})(["\n display: flex;\n height: 100vh;\n width: 100%;\n min-width: 0;\n overflow: hidden;\n"]),n4=K.default.section.withConfig({displayName:"pricesAndPlans__NavBarSpacing",componentId:"sc-222d2ea8-1"})(["\n display: flex;\n flex: 0 0 48px;\n width: 48px;\n height: 100%;\n flex-direction: column;\n"]),n8=K.default.section.withConfig({displayName:"pricesAndPlans__LayoutContent",componentId:"sc-222d2ea8-2"})(["\n display: flex;\n flex: 1 1 0;\n min-width: 0;\n height: 100%;\n flex-direction: column;\n overflow: hidden;\n position: relative;\n background: ",";\n"],e=>{let{color:t,theme:n}=e;return t||n.colors.neutral.white});var n6=()=>{let e=(0,r.useRouter)(),t=i()(e,"query.brandId");return(0,l.jsx)(nM.E,{children:(0,l.jsxs)(n2,{children:[(0,l.jsx)(n1.q,{}),(0,l.jsx)(n4,{}),(0,l.jsx)(n8,{color:"white",children:(0,l.jsx)(n0,{},t)})]})})}},87695:function(e,t,n){var l=n(67247),r=n(63774);e.exports=function(e,t,n,s){return null==e?[]:(r(t)||(t=null==t?[]:[t]),r(n=s?void 0:n)||(n=null==n?[]:[n]),l(e,t,n))}},43784:function(e,t,n){e.exports=n(99176)}},function(e){e.O(0,[623,9976,2888,9774,179],function(){return e(e.s=92395)}),_N_E=e.O()}]); 2//# sourceMappingURL=pricesAndPlans-d4106cf483d69e07.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.