1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2666,8430],{2350:function(){},2666:function(e,t,r){"use strict";r.r(t);var n=r(85893),i=r(36465),s=r.n(i),o=r(73858),a=r(3649),c=r(40056),l=r(20753),u=r(51565),d=r(76608),h=r(8430),p=r(86010),m=r(67294);let f=e=>{var t;let{background:r,backgroundColor:i,backgroundMobile:f,buttonLabel:g,buttonLabelUpsell:v,coupon:y,heading:_,headingUpsell:b,legal:S,legalUpsell:x,link:j,linkType:w,logo:z,priceId:k,priceIdUpsell:A,priceIdTest:R,priceIdUpsellTest:F,subheading:C,subheadingUpsell:N,textColor:U}=e,O=(0,m.useContext)(a.z),{locale:E,geolocate:I,url:T,upsell:q}=O.pageProps,[L,P]=(0,m.useState)(null),D=i||"transparent",Z=r?"url(".concat((0,c.y)(r,"all"),")"):"none",Q=f?"url(".concat((0,c.y)(f,"all"),")"):Z,B=null==T?void 0:null===(t=T.queries)||void 0===t?void 0:t.env,G=q?F:R,H=q&&null===A?null:("staging"===B||"dev"===B)&&G?G:q?A:k;if((0,m.useEffect)(()=>{let e=async()=>{try{var e,t;let r=await (0,l._l)({endpoint:"/api/pricing-v2?lang=".concat(E.cmsLocale,"&country=").concat(I.country,"&priceid=").concat(H).concat((null==T?void 0:null===(e=T.queries)||void 0===e?void 0:e.env)?"&env=".concat(T.queries.env):"").concat((null==T?void 0:null===(t=T.queries)||void 0===t?void 0:t._testdate)?"&_testdate=".concat(I.localTime):""),storageType:"session",env:T.queries.env});P({...r[0]})}catch(e){}};e()},[]),null!==H)return(0,n.jsxs)(n.Fragment,{children:[null!==L?(0,n.jsx)("section",{"data-module-template":"banner-image-pass",className:s().dynamic([["580a47812da3c462",[D,Q,Z]]])+" large-content",children:(0,n.jsxs)("div",{style:{...i&&{backgroundColor:i}},className:s().dynamic([["580a47812da3c462",[D,Q,Z]]])+" "+((0,p.Z)("relative grid w-full grid-rows-[1fr_25vw] grid-cols-1 mx-auto overflow-hidden bg-center rounded-lg max-w-7xl"," lg:grid-cols-[auto_1fr] lg:grid-rows-1")||""),children:[(0,n.jsxs)("div",{className:s().dynamic([["580a47812da3c462",[D,Q,Z]]])+" "+((0,p.Z)("w-full h-full flex flex-col gap-3 lg:gap-4 py-8 px-6 items-center justify-center","lg:col-start-1 lg:col-end-2 lg:row-start-1 lg:row-end-2 lg:py-12 lg:items-start lg:justify-center lg:w-fit lg:pl-8 lg:pr-1")||""),children:[z?(0,n.jsx)("img",{src:(0,c.y)(z,"all"),alt:H,loading:"lazy",className:s().dynamic([["580a47812da3c462",[D,Q,Z]]])+" w-auto h-8 lg:h-10"}):null,_?(0,n.jsx)("p",{style:{color:U},className:s().dynamic([["580a47812da3c462",[D,Q,Z]]])+" text-xl font-bold text-center sm:text-2xl text-balance lg:text-left",children:(0,d.vS)((0,h.dQ)({strg:q?b:_,lang:E.cmsLocale}),L)}):null,C?(0,n.jsx)("p",{style:{color:U},className:s().dynamic([["580a47812da3c462",[D,Q,Z]]])+" text-xs text-center font-base sm:text-sm text-balance lg:text-left",children:(0,d.vS)((0,h.dQ)({strg:q?N:C,lang:E.cmsLocale}),L)}):null,I.notAvailable?(0,n.jsx)("p",{className:s().dynamic([["580a47812da3c462",[D,Q,Z]]])+" p-2 text-xs text-center border rounded text-warning border-warning/30 bg-warning/10",children:I.notAvailableLabel}):(0,n.jsx)("a",{href:(0,u.cG)({coupon:y,url:T,linkType:w,link:j,priceData:L,locale:E,upsell:q}),"aria-label":q?v:g,style:{color:i,backgroundColor:U},"data-bna-c-click":!0,..."link"!==w?{"data-bna-c-pay":!0,"data-bna-c-priceid":null==L?void 0:L.priceId,"data-bna-c-priceuuid":null==L?void 0:L.uuid,"data-bna-c-price":null==L?void 0:L.rawPrice,"data-bna-c-pricecurrency":null==L?void 0:L.currency}:{},"data-bna-c-label":"bannerimagepass ".concat("link"!==w?"subscriptiontrigger ":"","- ").concat(q?v:g),className:s().dynamic([["580a47812da3c462",[D,Q,Z]]])+" main-button regular",children:q?v:g}),S?(0,n.jsx)("p",{className:s().dynamic([["580a47812da3c462",[D,Q,Z]]])+" text-xs text-center text-white font-base opacity-60",children:(0,d.vS)((0,h.dQ)({strg:q?x:S,lang:E.cmsLocale}),L)}):null]}),(0,n.jsx)("div",{className:s().dynamic([["580a47812da3c462",[D,Q,Z]]])+" "+((0,p.Z)("background","col-start-1 col-end-2 row-start-2 row-end-3","lg:col-start-2 lg:col-end-3 lg:row-start-1 lg:row-end-2")||"")})]})}):(0,n.jsx)("div",{className:s().dynamic([["580a47812da3c462",[D,Q,Z]]])+" flex items-center justify-center w-full h-full",children:(0,n.jsx)(o.Z,{className:"w-5 h-5 text-primary"})}),(0,n.jsx)(s(),{id:"580a47812da3c462",dynamic:[D,Q,Z],children:".background.__jsx-style-dynamic-selector{background-color:".concat(D,";background-image:").concat(Q,";-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;background-position:center;background-repeat:no-repeat}@media(min-width:768px){.background.__jsx-style-dynamic-selector{background-image:").concat(Z,";-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;background-position:left}}")})]})};t.default=f},69578:function(e,t,r){var n=r(34155);r(2350);var i=r(67294),s=i&&"object"==typeof i&&"default"in i?i:{default:i};function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var a=void 0!==n&&n.env&&!0,c=function(e){return"[object String]"===Object.prototype.toString.call(e)},l=function(){function e(e){var t=void 0===e?{}:e,r=t.name,n=void 0===r?"stylesheet":r,i=t.optimizeForSpeed,s=void 0===i?a:i;u(c(n),"`name` must be a string"),this._name=n,this._deletedRulePlaceholder="#"+n+"-deleted-rule____{}",u("boolean"==typeof s,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=s,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var o=document.querySelector('meta[property="csp-nonce"]');this._nonce=o?o.getAttribute("content"):null}var t,r=e.prototype;return r.setOptimizeForSpeed=function(e){u("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),u(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},r.isOptimizeForSpeed=function(){return this._optimizeForSpeed},r.inject=function(){var e=this;if(u(!this._injected,"sheet already injected"),this._injected=!0,this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.get
1Sheet(),this._optimizeForSpeed||(a||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,r){return"number"==typeof r?e._serverSheet.cssRules[r]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),r},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},r.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},r.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},r.insertRule=function(e,t){if(u(c(e),"`insertRule` accepts only strings"),this._optimizeForSpeed){var r=this.getSheet();"number"!=typeof t&&(t=r.cssRules.length);try{r.insertRule(e,t)}catch(t){return a||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var n=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,n))}return this._rulesCount++},r.replaceRule=function(e,t){if(this._optimizeForSpeed){var r=this.getSheet();if(t.trim()||(t=this._deletedRulePlaceholder),!r.cssRules[e])return e;r.deleteRule(e);try{r.insertRule(t,e)}catch(n){a||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),r.insertRule(this._deletedRulePlaceholder,e)}}else{var n=this._tags[e];u(n,"old rule at index `"+e+"` not found"),n.textContent=t}return e},r.deleteRule=function(e){if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];u(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},r.flush=function(){this._injected=!1,this._rulesCount=0,this._tags.forEac
1h(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]},r.cssRules=function(){var e=this;return this._tags.reduce(function(t,r){return r?t=t.concat(Array.prototype.map.call(e.getSheetForTag(r).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},r.makeStyleTag=function(e,t,r){t&&u(c(t),"makeStyleTag accepts only strings as second parameter");var n=document.createElement("style");this._nonce&&n.setAttribute("nonce",this._nonce),n.type="text/css",n.setAttribute("data-"+e,""),t&&n.appendChild(document.createTextNode(t));var i=document.head||document.getElementsByTagName("head")[0];return r?i.insertBefore(n,r):i.appendChild(n),n},o(e.prototype,[{key:"length",get:function(){return this._rulesCount}}]),t&&o(e,t),e}();function u(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var d=function(e){for(var t=5381,r=e.length;r;)t=33*t^e.charCodeAt(--r);return t>>>0},h={};function p(e,t){if(!t)return"jsx-"+e;var r=String(t),n=e+r;return h[n]||(h[n]="jsx-"+d(e+"-"+r)),h[n]}function m(e,t){var r=e+t;return h[r]||(h[r]=t.replace(/__jsx-style-dynamic-selector/g,e)),h[r]}var f=function(){function e(e){var t=void 0===e?{}:e,r=t.styleSheet,n=void 0===r?null:r,i=t.optimizeForSpeed,s=void 0!==i&&i;this._sheet=n||new l({name:"styled-jsx",optimizeForSpeed:s}),this._sheet.inject(),n&&"boolean"==typeof s&&(this._sheet.setOptimizeForSpeed(s),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var r=this.getIdAndRules(e),n=r.styleId,i=r.rules;if(n in this._instancesCounts){this._instancesCounts[n]+=1;return}var s=i.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[n]=s,this._instancesCounts[n]=1},t.remove=function(e){var t=this,r=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(r in this._instancesCounts,"styleId: `"+r+"` not found"),this._instancesCounts[r]-=1,this._instancesCounts[r]<1){var n=this._fromServer&&this._fromServer[r];n?(n.parentNode.removeChild(n),delete this._fromServer[r]):(this._indices[r].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[r]),delete this._instancesCounts[r]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],r=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return r[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,r;return t=this.cssRules(),void 0===(r=e)&&(r={}),t.map(function(e){var t=e[0],n=e[1];return s.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:r.nonce?r.nonce:void 0,dangerouslySetInnerHTML:{__html:n}})})},t.getIdAndRules=function(e){var t=e.children,r=e.dynamic,n=e.id;if(r){var i=p(n,r);return{styleId:i,rules:Array.isArray(t)?t.map(function(e){return m(i,e)}):[m(i,t)]}}return{styleId:p(n),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),g=i.createContext(null);g.displayName="StyleSheetContext";var v=s.default.useInsertionEffect||s.default.useLayoutEffect,y=new f;function _(e){var t=y||i.useContext(g);return t&&v(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)]),null}_.dynamic=function(e){return e.map(function(e){return p(e[0],e[1])}).join(" ")},t.style=_},36465:function(e,t,r){"use strict";e.exports=r(69578).style},51565:function(e,t,r){"use strict";r.d(t,{cG:function(){return s}});var n=r(76608);function i(e){if(!e)return null;try{let t=decodeURIComponent(e);try{return decodeURIComponent(t)}catch(e){return t}}catch(t){return e}}function s(e){var t,r,s;let{coupon:o,url:a,linkType:c,link:l,priceData:u,locale:d,upsell:h}=e,p=i(null==a?void 0:null===(t=a.queries)||void 0===t?void 0:t.successUrl);if(p)return p;let m=i(null==a?void 0:null===(r=a.queries)||void 0===r?void 0:r.returnUrl);return m||("link"===c&&l?(s=null==a?void 0:a.query)?l.includes("?")?"".concat(l,"&").concat(s):"".concat(l,"?").concat(s):l:(0,n.dW)({coupon:o,locale:d.urlLocale,priceItem:u,query:null==a?void 0:a.query,upsell:h}).href)}},8430:function(e,t,r){"use strict";r.d(t,{DB:function(){return l},FP:function(){return u},RI:function(){return i},dQ:function(){return c},do:function(){return h},fk:function(){return a},hs:function(){return d},wL:function(){return p}});var n=r(29533);r(42474);let i=e=>e.charAt(0).toUpperCase()+e.slice(1),s=e=>new Intl.NumberFormat({hant:"zh-Hant",hans:"zh-Hans"}[e]||e||"en",{style:"currency",currency:n.A.companyCapitalCurrency,minimumFractionDigits:2,maximumFractionDigits:2}).format(n.A.companyCapitalAmount),o=(e,t)=>Object.entries({"{capital}":s(t),"{contactUrl}":n.A.contactUrl,"{categrories}":n.A.nbreCategories,"{deeplinkWelcome}":n.A.deeplinkWelcome,"{downloadUrl}":n.A.downloadUrl,"{games}":n.A.nbreGames,"{gamesUrl}":n.A.gamesUrl,"{imgProd}
1":n.A.imgProd,"{accountURL}":n.A.accountURL,"{accountUrl}":n.A.accountURL,"{passwordUrl}":n.A.passwordUrl,"{profiles}":n.A.nbreProfiles,"{supportUrl}":n.A.supportUrl,"{subscribeUrl}":n.A.subscribeUrl,"{videoProd}":n.A.videoProd}).reduce((e,t)=>{let[r,n]=t;return e.replace(RegExp(r,"g"),n)},e).trim(),a=e=>{let{strg:t,lang:r}=e;if(!t)return"";let n=t.replace(/{lang}/g,r);return o(n,r)},c=e=>{let{strg:t,lang:r}=e;if(!t)return"";let n=t.replace(/(?!<br\/>)\n/g," \n").replace(/<br\/>\s*<br\/>/g,"\n\n").replace(/<br\/>\-/g,"\n-").replace(/{lang}/g,r);return o(n,r)},l=e=>{if(!e)return"";let t=e.replace(/(?!<br\/>)\n/g," \n").replace(/<br\/>\s*<br\/>/g,"\n\n").replace(/<br\/>\-/g,"\n-");return o(t,"en")},u=e=>/<([A-Z][A-Z0-9]*)\b[^>]*>(.*?)<\/\1>/i.test(e),d=e=>{if(!e||"string"!=typeof e)return"";let t=e.trim().toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"");return Object.entries({æ:"ae",Å:"oe",Ã:"ss",Ä:"d",ð:"d",þ:"th"}).forEach(e=>{let[r,n]=e;t=t.replace(RegExp(r,"g"),n)}),(t=t.replace(/[^a-z0-9\s-]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-").replace(/^-+|-+$/g,""))||"slug"},h=e=>e.replace(/-([a-z])/g,(e,t)=>t.toUpperCase()),p=e=>{if(!e)return"";let t=e.match(/[^.!?]*[.!?]/);return t?t[0].trim():""},m=e=>"string"==typeof e?e.trim():Array.isArray(e)?e.map(m):null===e||"object"!=typeof e||e instanceof Date?e:Object.fromEntries(Object.entries(e).map(e=>{let[t,r]=e;return[t,m(r)]})),f=(e,t)=>"string"==typeof e?e.replace(/\{(.*?)\}/g,(e,r)=>void 0!==t[r]?String(t[r]):"{".concat(r,"}")):Array.isArray(e)?e.map(e=>f(e,t)):null===e||"object"!=typeof e||e instanceof Date?e:Object.fromEntries(Object.entries(e).map(e=>{let[r,n]=e;return[r,f(n,t)]}))}}]);
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.