1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4990,7802],{13061:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r,a,l,i=n(95155),s=n(74703),o=n(76800);n(59778);var c=n(12115);function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let d=function(e){return c.createElement("svg",u({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 96 96"},e),r||(r=c.createElement("path",{fill:"url(#loading-icon-v2_svg__paint0_linear_844_425)",d:"M9.6 48c0 21.21 17.19 38.4 38.4 38.4 16.17 0 30-9.99 35.67-24.135a4.8 4.8 0 0 1-6.24 2.67 4.81 4.81 0 0 1-2.67-6.255C70.515 69.3 60.135 76.8 48 76.8c-15.9 0-28.8-12.9-28.8-28.8S32.1 19.2 48 19.2c1.395 0 2.775.105 4.125.285a4.793 4.793 0 0 1-4.065-5.43 4.81 4.81 0 0 1 5.31-4.095A39.5 39.5 0 0 0 48 9.585c-21.21 0-38.4 17.19-38.4 38.4z",opacity:.2})),a||(a=c.createElement("path",{fill:"url(#loading-icon-v2_svg__paint1_linear_844_425)",d:"M48.045 14.055a4.793 4.793 0 0 1 5.43-4.065C72.09 12.66 86.4 28.65 86.4 48c0 5.025-.976 9.84-2.73 14.265a4.8 4.8 0 0 1-6.24 2.67 4.8 4.8 0 0 1-2.67-6.24c1.32-3.3 2.054-6.9 2.054-10.695 0-14.505-10.724-26.505-24.674-28.515a4.793 4.793 0 0 1-4.065-5.43z"})),l||(l=c.createElement("defs",null,c.createElement("linearGradient",{id:"loading-icon-v2_svg__paint0_linear_844_425",x1:46.635,x2:46.621,y1:9.585,y2:105.604,gradientUnits:"userSpaceOnUse"},c.createElement("stop",{stopColor:"#13C4D7"}),c.createElement("stop",{offset:.145,stopColor:"#17BED0"}),c.createElement("stop",{offset:1,stopColor:"#17B1D0"})),c.createElement("linearGradient",{id:"loading-icon-v2_svg__paint1_linear_844_425",x1:67.212,x2:67.198,y1:9.941,y2:79.118,gradientUnits:"userSpaceOnUse"},c.createElement("stop",{stopColor:"#13C4D7"}),c.createElement("stop",{offset:.145,stopColor:"#17BED0"}),c.createElement("stop",{offset:1,stopColor:"#17B1D0"})))))};function p({show:e=!1,loadingContent:t=null,children:n}){return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.N,{children:e&&(0,i.jsx)(o.P.div,{className:"loading-in-modal",initial:{opacity:1},animate:{opacity:1},exit:{opacity:0},transition:{duration:.3,ease:"easeInOut"},children:t||(0,i.jsx)(d,{})})}),(0,i.jsx)("div",{className:`modal-content-with-loading ${e?"loading-in-progress":""}`,children:n})]})}},42059:()=>{},46461:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return a}});let r=n(12115);function a(e,t){let n=(0,r.useRef)(null),a=(0,r.useRef)(null);return(0,r.useCallback)(r=>{if(null===r){let e=n.current;e&&(n.current=null,e());let t=a.current;t&&(a.current=null,t())}else e&&(n.current=l(e,r)),t&&(a.current=l(t,r))},[e,t])}function l(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let n=e(t);return"function"==typeof n?n:()=>e(null)}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},47520:(e,t,n)=>{"use strict";var r=n(64665);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(35650)),l=r(n(13977));function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach(function(t){(0,a.default)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!e)throw Error("Auth is required.");return(0,l.default)("userinfo",{auth:e,getlastsubscription:1,promoinfo:1,getpassmanagerinfo:1},function(n){t(s(s({},n),{},{auth:e}))},n)}},59778:()=>{},73786:()=>{}
1,82589:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>g});var r=n(95155),a=n(12115),l=n(92276),i=n(81322),s=n(4474),o=n(12035);n(42059);var c=n(90945),u=n(13061),d=n(38739),p=n(63915),f=n(33307),m=n(1684),v=n(79853);let g=({closeInstance:e=()=>{},options:t={},user:n,subscription:g,discountCode:b,onUpdateSubscriptionError:x=e=>{},..._})=>{let{t:y}=(0,i.useT)(),[h,w]=(0,a.useState)(!1),[j,C]=(0,a.useState)(!1),[E,O]=(0,a.useState)(!1),{updateSubscription:k,updateSubscriptionErrorMsg:P}=(0,m.M)({user:n,userPaymentProvider:v.r5[g.billingprovider],paymentSource:null,loadingUpdateSubscription:h,setLoadingUpdateSubscription:w,skipApiUpdate:!0,onUpdateSuccess:()=>{O(!0)}});return(0,a.useEffect)(()=>{setTimeout(()=>{k({period:g.period,products:g.products,additionalParams:{traffic:0,storage:0,discountcode:b}})},50)},[]),(0,a.useEffect)(()=>{P&&P.show&&(x(P.message),C(!0))},[P]),(0,r.jsx)(l.A,{closeInstance:e,preventClose:!j,forceCloseModal:j,..._,children:(0,r.jsx)("div",{className:"modal-wrap--inner",children:(0,r.jsx)("div",{className:"modal-wrap--inner--content",style:{maxWidth:"448px"},children:(0,r.jsxs)(u.A,{show:!E,children:[(0,r.jsx)("div",{className:"modal--icon",children:(0,r.jsx)(c.A,{})}),(0,r.jsxs)("div",{className:"modal--text-wrapper",children:[(0,r.jsx)("div",{className:"modal--text-wrapper--title",children:y("cancel_sub_get_discount_title","Thanks for staying!")}),(0,r.jsx)("div",{className:"modal--text-wrapper--description",children:(0,r.jsx)(d.default,{text:y("cancel_sub_get_discount_description","Your special offer is now active. You'll pay the new price starting with your <b>%billingDate%</b> bill.",{billingDate:(0,f.Wg)(g.nextbilling,!0," "," ",y)}),converters:[p.linkConverter,p.boldConverter,p.brTagConverter]})})]}),(0,r.jsx)("div",{className:"modal--cta-buttons",children:(0,r.jsx)(o.default,{template:"column",rowGap:"var(--spacing-md)",containerMinWidth:"100%",ctaButtons:[{link:s.v0,text:{t_text:"go_to_my_account",t_default:"GO TO MY ACCOUNT"},minWidth:"100%",className:"rounded-button-v2"}]})})]})})})})}},90945:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r,a,l=n(12115);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let s=function(e){return l.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 52 52"},e),r||(r=l.createElement("path",{fill:"url(#success-icon-v3_svg__paint0_linear_844_298)",d:"M25.6 51.2C11.46 51.2 0 39.74 0 25.6S11.46 0 25.6 0s25.6 11.46 25.6 25.6-11.46 25.6-25.6 25.6m0-48C13.23 3.2 3.2 13.23 3.2 25.6S13.23 48 25.6 48 48 37.97 48 25.6 37.97 3.2 25.6 3.2m8.31 13.46c.52-.71 1.52-.87 2.23-.35s.87 1.52.35 2.23l-12.8 17.6c-.28.38-.7.62-1.17.65s-.93-.13-1.26-.46l-6.4-6.4c-.62-.62-.62-1.64 0-2.26s1.64-.62 2.26 0l5.07 5.07 11.7-16.08z"})),a||(a=l.createElement("defs",null,l.createElement("linearGradient",{id:"success-icon-v3_svg__paint0_linear_844_298",x1:0,x2:53.095,y1:15.18,y2:22.78,gradientUnits:"userSpaceOnUse"},l.createElement("stop",{stopColor:"#1D1D1E"}),l.createElement("stop",{offset:1,stopColor:"#7B7B7F"})))))}},92276:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(95155),a=n(12115),l=n(74703),i=n(76800),s=n(4474);n(73786);let o=({background:e="rgba(255, 255, 255, 0.35)",backdropFilter:t="blur(42.5px)",closeIconSrc:n=s.w4+"images/close-icon-lighter.svg",closeIconBoxShadow:o="5px 5px 25px 5px rgba(0, 0, 0, 0.03)",closeInstance:c,preventClose:u,forceCloseModal:d,overlayClickClose:p=!1,onRequestClose:f,children:m})=>{let v,g=(0,a.useRef)(null),b=(0,a.useRef)(null),{show:x,closeModal:_,onCloseAnimationFinished:y}=(({closeInstance:e=()=>{},preventClose:t=!1,forceCloseModal:n=!1,onRequestClose:r})=>{let[l,i]=(0,a.useState)(!0),[s,o]=(0,a.useState)();(0,a.useEffect)(()=>(window.addEventListener("keydown",c),()=>{window.removeEventListener("keydown",c)}),[]),(0,a.useEffect)(()=>{(s||n)&&u()},[s,n]);let c=e=>{"Escape"===e.key&&o(e)},u=()=>{t||r&&r()||(i(!1),document.body.classList.remove("overlayed"))};return{show:l,closeModal:u,onCloseAnimationFinished:()=>{e()}}})({closeInstance:c,preventClose:u,forceCloseModal:d,onRequestClose:f});(0,a.useEffect)(()=>{x&&b.current&&b.current.focus()},[x]);let h=.3;return(0,r.jsx)(l.N,{mode:"wait",onExitComplete:y,children:x&&(0,r.jsx)(i.P.div,{ref:g,className:"modal-wrap",style:(v={},e&&"unset"!==e?v.background=e:t&&"unset"!==t&&t.includes("blur")?v.background="rgba(255, 255, 255, 0.35)":v.background="unset",t&&"unset"!==t&&(v.backdropFilter=t,v.WebkitBackdropFilter=t),v),role:"dialog","aria-modal":"true","aria-labelledby":"modal-title",variants:{hidden:{opacity:0}
1,visible:{opacity:1},exit:{opacity:0}},initial:"hidden",animate:"visible",exit:"exit",transition:{duration:h,ease:"easeInOut"},onClick:e=>{p&&!u&&(e.target.classList.contains("modal-wrap")||e.target.classList.contains("modal-wrap--inner"))&&_()},onAnimationComplete:e=>{"visible"===e&&document.body.classList.add("overlayed")},children:(0,r.jsxs)(i.P.div,{className:"modal-wrap__content-animator",variants:{hidden:{opacity:0,scale:.85},visible:{opacity:1,scale:1},exit:{opacity:0,scale:.85}},initial:"hidden",animate:"visible",exit:"exit",transition:{duration:h,ease:[.16,1,.3,1]},children:[m,u?null:(0,r.jsx)("button",{ref:b,className:"modal-close-wrapper",onClick:_,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),_())},style:{boxShadow:o},"aria-label":"Close modal",type:"button",children:(0,r.jsx)("img",{src:n,alt:"Close"})})]})})})};var c=n(99967),u=n(48233),d=n(82001);let p=({background:e="rgba(255, 255, 255, 0.35)",backdropFilter:t="blur(42.5px)",closeIconSrc:n,closeIconBoxShadow:a="5px 5px 25px 5px rgba(0, 0, 0, 0.03)",closeInstance:l,preventClose:i=!1,forceCloseModal:s=!1,overlayClickClose:p=!1,onRequestClose:f,callbackId:m,children:v,...g})=>{let b=(0,c.useDispatch)();return(0,r.jsx)(o,{background:e,backdropFilter:t,closeIconSrc:n,closeIconBoxShadow:a,preventClose:i,closeInstance:()=>{b((0,u.QC)(g?.toastId)),m&&d.g.remove(m),l()},forceCloseModal:s,overlayClickClose:p,onRequestClose:f,children:v})}}}]);
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.