1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1987,4368],{23333:()=>{},24368:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>u});var s=r(95155),n=r(39092),i=r.n(n),o=r(12115),a=r(50910),l=r(65460),d=r(18454);function u(){let e=(0,a.c)(),t=(0,l.usePartner)(),[r,n]=(0,o.useState)(""),[u,c]=(0,o.useState)("idle"),[h,p]=(0,o.useState)(""),f=t?.newsletterListId,b=(0,o.useCallback)(async t=>{if(t.preventDefault(),r.trim()&&f){c("sending"),p("");try{let t=await fetch("/api/partner-subscribe",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:r.trim(),list_id:f})}),s=await t.json();if(!t.ok||!s.success){if(409===t.status){c("success"),p(s.error||e("newsletter.alreadySubscribed"));return}throw Error(s.error||e("newsletter.somethingWentWrongTryAgain"))}c("success"),p(e("newsletter.youreSubscribed")),n(""),setTimeout(()=>c("idle"),5e3)}catch(t){c("error"),p(t instanceof Error?t.message:e("common.somethingWentWrong")),setTimeout(()=>c("idle"),5e3)}}},[r,f,e]);return t?.newsletterEnabled&&f?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"jsx-5fffde2b202bdb3e ptnr-sticky-note relative md:w-[380px] sm:w-[350px] rounded-2xl overflow-visible transition-all duration-300 hover:-translate-y-1",children:[(0,s.jsx)("div",{className:"jsx-5fffde2b202bdb3e ptnr-tape absolute -top-3 left-1/2 -translate-x-1/2 w-16 h-[22px] rounded-[3px] z-10"}),(0,s.jsxs)("div",{className:"jsx-5fffde2b202bdb3e px-6 pt-7 pb-1",children:[(0,s.jsx)("p",{className:"jsx-5fffde2b202bdb3e text-[16px] font-extrabold text-slate-800 dark:text-white tracking-[-0.03em] leading-snug",children:e("newsletter.neverMissADeal")}),(0,s.jsx)("p",{className:"jsx-5fffde2b202bdb3e text-[12px] text-slate-600 dark:text-slate-300 mt-1.5 leading-relaxed",children:e("newsletter.getExclusiveDeals")})]}),(0,s.jsxs)("div",{className:"jsx-5fffde2b202bdb3e px-6 pt-3 pb-5",children:[(0,s.jsxs)("div",{className:"jsx-5fffde2b202bdb3e flex flex-col gap-2",children:[(0,s.jsx)("form",{onSubmit:b,className:"jsx-5fffde2b202bdb3e",children:(0,s.jsxs)("div",{className:"jsx-5fffde2b202bdb3e relative",children:[(0,s.jsx)("svg",{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",className:"jsx-5fffde2b202bdb3e absolute left-3.5 top-1/2 -translate-y-1/2 w-[15px] h-[15px] text-[var(--partner-primary)]/70 pointer-events-none",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z",className:"jsx-5fffde2b202bdb3e"})}),(0,s.jsx)("input",{type:"email",value:r,onChange:e=>n(e.target.value),placeholder:e("common.yourEmailPlaceholder"),required:!0,disabled:"sending"===u,className:"jsx-5fffde2b202bdb3e w-full h-11 pl-10 pr-[120px] text-[13px] rounded-xl border border-slate-200/70 dark:border-slate-600/40 bg-white/70 dark:bg-slate-950/40 text-slate-800 dark:text-slate-200 placeholder:text-slate-600/50 dark:placeholder:text-slate-500 outline-none transition-all duration-200 focus:border-[var(--partner-primary)]/50 focus:bg-white/90 dark:focus:bg-slate-950/60 focus:ring-2 focus:ring-[var(--partner-primary)]/20 disabled:opacity-50"}),(0,s.jsx)("button",{type:"submit",disabled:"sending"===u,className:"jsx-5fffde2b202bdb3e absolute right-1.5 top-1/2 -translate-y-1/2 h-8 px-4 flex items-center justify-center gap-1.5 rounded-[10px] text-[11.5px] font-bold tracking-wide cursor-pointer transition-all duration-200 disabled:opacity-50 disabled:cursor-not-allowed border-none bg-[var(--partner-primary)] hover:opacity-90 shadow-sm hover:shadow-md text-white",children:"sending"===u?(0,s.jsx)(d.default,{size:"small",inline:!0}):(0,s.jsxs)(s.Fragment,{children:[e("newsletter.subscribe"),(0,s.jsx)("svg",{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",className:"jsx-5fffde2b202bdb3e w-3 h-3",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:"M14 5l7 7m0 0l-7 7m7-7H3",className:"jsx-5fffde2b202bdb3e"})})]})})]})}),"idle"!==u&&"sending"!==u&&h&&(0,s.jsxs)("div",{className:"jsx-5fffde2b202bdb3e animate-in fade-in slide-in-from-top-2 duration-300 px-1",children:["success"===u&&(0,s.jsxs)("p",{className:"jsx-5fffde2b202bdb3e text-[11px] text-success-600 dark:text-success-400 font-medium flex items-center gap-1.5",children:[(0,s.jsx)("svg",{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",className:"jsx-5fffde2b202bdb3e w-3 h-3 shrink-0",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7",className:"jsx-5fffde2b202bdb3e"})}),(0,s.jsx)("span",{className:"jsx-5fffde2b202bdb3e",children:h})]}),"error"===u&&(0,s.jsxs)("p",{className:"jsx-5fffde2b202bdb3e text-[11px] text-danger-500 dark:text-danger-400 font-medium flex items-center gap-1.5",children:[(0,s.jsx)("svg",{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",className:"jsx-5fffde2b202bdb3e w-3 h-3 shrink-0",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12",className:"jsx-5fffde2b202bdb3e"})}),(0,s.jsx)("span",{className:"jsx-5fffde2b202bdb3e",children:h})]})]})]}),(0,s.jsxs)("div",{className:"jsx-5fffde2b202bdb3e flex items-center justify-center gap-3 mt-3.5",children:[(0,s.jsxs)("span",{className:"jsx-5fffde2b202bdb3e flex items-center gap-1 text-[10px] text-slate-500 dark:text-slate-400",children:[(0,s.jsx)("svg",{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",className:"jsx-5fffde2b202bdb3e w-2.5 h-2.5",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z",className:"jsx-5fffde2b202bdb3e"})}),e("newsletter.noSpam")]}),(0,s.jsx)("span",{className:"jsx-5fffde2b202bdb3e w-px h-2.5 bg-slate-400/40 dark:bg-slate-500/40"}),(0,s.jsx)("span",{className:"jsx-5fffde2b202bdb3e text-[10px] text-slate-500 dark:text-slate-400",children:e("newsletter.unsubscribeAnytime")})]})]})]}),(0,s.jsx)(i(),{id:"5fffde2b202bdb3e",children:".ptnr-sticky-note{background:#fff;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border:1px solid rgba(0,0,0,.06);box-shadow:0 1px 2px rgba(0,0,0,.03),0 4px 16px -2px rgba(0,0,0,.06),0 16px 40px -8px rgba(0,0,0,.07);transform:rotate(1.5deg)}.ptnr-sticky-note:hover{transform:rotate(0deg)translatey(-4px);box-shadow:0 2px 4px rgba(0,0,0,.05),0 8px 24px -4px rgba(0,0,0,.1),0 24px 56px -12px rgba(0,0,0,.1)}:where(.dark) .ptnr-sticky-note{background:rgba(30,36,50,.92);border:1px solid rgba(255,255,255,.06);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:0 1px 3px rgba(0,0,0,.2),0 4px 16px -2px rgba(0,0,0,.3),0 16px 40px -8px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.04)}:where(.dark) .ptnr-sticky-note:hover{box-shadow:0 2px 6px rgba(0,0,0,.25),0 8px 28px -4px rgba(0,0,0,.4),0 24px 56px -12px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.06)}.ptnr-tape{background:linear-gradient(145deg,var(--partner-primary),var(--partner-primary));opacity:.45;border:1px solid rgba(0,0,0,.06);box-shadow:0 1px 3px rgba(0,0,0,.06)}:where(.dark) .ptnr-tape{opacity:.3;box-shadow:0 1px 3px rgba(0,0,0,.2)}"})]}):null}},39092:(e,t,r)=>{"use strict";e.exports=r(73279).style},73279:(e,t,r)=>{"use strict";var s=r(41463);r(23333);var n=r(12115),i=n&&"object"==typeof n&&"default"in n?n:{default:n},o=void 0!==s&&s.env&&!0,a=function(e){return"[object String]"===Object.prototype.toString.call(e)},l=function(){function e(e){var t=void 0===e?{}:e,r=t.name,s=void 0===r?"stylesheet":r,n=t.optimizeForSpeed,i=void 0===n?o:n;d(a(s),"`name` must be a string"),this._name=s,this._deletedRulePlaceholder="#"+s+"-deleted-rule____{}",d("boolean"==typeof i,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=i,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var l="u">typeof window&&document.querySelector('meta[property="csp-nonce"]');this._nonce=l?l.getAttribute("content"):null}var t,r=e.prototype;return r.setOptimizeForSpeed=function(e){d("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),d(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(d(!this._injected,"sheet already injected"),this._injected=!0,"u">typeof window&&this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.get
1Sheet(),this._optimizeForSpeed||(o||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(d(a(e),"`insertRule` accepts only strings"),"u"<typeof window)return"number"!=typeof t&&(t=this._serverSheet.cssRules.length),this._serverSheet.insertRule(e,t),this._rulesCount++;if(this._optimizeForSpeed){var r=this.getSheet();"number"!=typeof t&&(t=r.cssRules.length);try{r.insertRule(e,t)}catch(t){return o||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var s=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,s))}return this._rulesCount++},r.replaceRule=function(e,t){if(this._optimizeForSpeed||"u"<typeof window){var r="u">typeof window?this.getSheet():this._serverSheet;if(t.trim()||(t=this._deletedRulePlaceholder),!r.cssRules[e])return e;r.deleteRule(e);try{r.insertRule(t,e)}catch(s){o||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 s=this._tags[e];d(s,"old rule at index `"+e+"` not found"),s.textContent=t}return e},r.deleteRule=function(e){if("u"<typeof window)return void this._serverSheet.deleteRule(e);if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];d(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},r.flush=function(){this._injected=!1,this._rulesCount=0,"u">
1typeof window?(this._tags.forEach(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]):this._serverSheet.cssRules=[]},r.cssRules=function(){var e=this;return"u"<typeof window?this._serverSheet.cssRules: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&&d(a(t),"makeStyleTag accepts only strings as second parameter");var s=document.createElement("style");this._nonce&&s.setAttribute("nonce",this._nonce),s.type="text/css",s.setAttribute("data-"+e,""),t&&s.appendChild(document.createTextNode(t));var n=document.head||document.getElementsByTagName("head")[0];return r?n.insertBefore(s,r):n.appendChild(s),s},t=[{key:"length",get:function(){return this._rulesCount}}],function(e,t){for(var r=0;r<t.length;r++){var s=t[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}(e.prototype,t),e}();function d(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var u=function(e){for(var t=5381,r=e.length;r;)t=33*t^e.charCodeAt(--r);return t>>>0},c={};function h(e,t){if(!t)return"jsx-"+e;var r=String(t),s=e+r;return c[s]||(c[s]="jsx-"+u(e+"-"+r)),c[s]}function p(e,t){"u"<typeof window&&(t=t.replace(/\/style/gi,"\\/style"));var r=e+t;return c[r]||(c[r]=t.replace(/__jsx-style-dynamic-selector/g,e)),c[r]}var f=function(){function e(e){var t=void 0===e?{}:e,r=t.styleSheet,s=void 0===r?null:r,n=t.optimizeForSpeed,i=void 0!==n&&n;this._sheet=s||new l({name:"styled-jsx",optimizeForSpeed:i}),this._sheet.inject(),s&&"boolean"==typeof i&&(this._sheet.setOptimizeForSpeed(i),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()),"u">typeof window&&!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),s=r.styleId,n=r.rules;if(s in this._instancesCounts){this._instancesCounts[s]+=1;return}var i=n.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[s]=i,this._instancesCounts[s]=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 s=this._fromServer&&this._fromServer[r];s?(s.parentNode.removeChild(s),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],s=e[1];return i.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:r.nonce?r.nonce:void 0,dangerouslySetInnerHTML:{__html:s}})})},t.getIdAndRules=function(e){var t=e.children,r=e.dynamic,s=e.id;if(r){var n=h(s,r);return{styleId:n,rules:Array.isArray(t)?t.map(function(e){return p(n,e)}):[p(n,t)]}}return{styleId:h(s),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}(),b=n.createContext(null);b.displayName="StyleSheetContext";var x=i.default.useInsertionEffect||i.default.useLayoutEffect,m="u">typeof window?new f:void 0;function v(e){var t=m||n.useContext(b);return t&&("u"<typeof window?t.add(e):x(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)])),null}v.dynamic=function(e){return e.map(function(e){return h(e[0],e[1])}).join(" ")},t.style=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.