1 2 // Merge in the client-visible compile-time environment. 3 window.process = { 4 ...window.process, 5 env: { 6 ...window.process?.env, 7 ...({"CI_COMMIT":"2c5c7131d4533d97accd3e00b00e60d713ff6981","CI_PIPELINE_ID":"41789dce-b5c6-4568-a140-bda74441f6f8","GOOGLE_CLOUD_PROJECT":"marketing-web-platform","DEPLOYMENT_TYPE":"production","NODE_ENV":"production","PREVIEW":"false","SITE_CONFIG":"ar"}) 8 } 9 }; 10 11 // Stop crashing when certain node libraries are imported. 12 window.global = window.global ?? {}; 13 14import{a as P0,b as Qe,c as Fn}from"./chunks/chunk-3WQRC2AG.mjs";import{a as Kk,b as Ft,c as w0,d as D0,e as is,f as $0,g as L0,h as H0}from"./chunks/chunk-KGSXCIES.mjs";import{a as Jl}from"./chunks/chunk-DJEXIDCS.mjs";import{A as Xt,Aa as it,B as Ad,C as u0,D as y0,E as Xe,F as cp,G as N0,H as Bt,I as Rd,J as Cb,K as Sa,L as JW,M as Fd,N as ar,O as Bd,P as ps,Q as $d,R as V0,S as O0,T as Ld,U as G0,V as di,W as z0,X as U0,Y as Hd,Z as ui,_ as cs,a as Cd,aa as W0,b as Bk,ba as ds,c as $k,ca as oe,d as pb,da as Ca,e as Lk,ea as q0,f as Hk,fa as Q0,g as Ji,ga as K0,h as un,ha as O,i as Vk,ia as j0,j as Ok,ja as Y0,k as xd,ka as dp,l as vd,la as Vd,m as F,ma as Od,n as $r,na as Me,o as ep,oa as X0,p as Gk,pa as J0,q as zk,qa as Z0,r as p0,ra as Pe,s as c0,sa as eM,t as d0,ta as tM,u as fa,ua as Be,v as Md,va as Bn,w as rs,wa as $n,x as nr,xa,y as uo,ya as Hr,z as Ue,za as fe}from"./chunks/chunk-O4HAT6GZ.mjs";import{A as I0,B as k0,C as M0,D as A0,E as Dd,F as T0,G as _0,H as Le,I as rr,J as Pd,K as Lo,L as Kt,a as ma,b as te,c as ub,d as rp,e as b0,f as S0,g as h0,h as C0,i as _d,j as wd,k as we,l as ap,m as x0,n as Ze,o as Rn,p as v0,q as ip,r as sp,s as lp,t as pp,u as yb,v as mb,w as gb,x as fb,y as bb,z as Sb}from"./chunks/chunk-PKBSZI62.mjs";import{a as hb,b as Ed,c as ro,d as us,e as oM,j as xb}from"./chunks/chunk-ZKY6PMPW.mjs";import{a as B0}from"./chunks/chunk-R3R5ZXB7.mjs";import{a as Nd,b as ss,c as ba,d as ls,e as R0,f as Gt,g as ha}from"./chunks/chunk-XX2CAYX7.mjs";import"./chunks/chunk-52COQ74A.mjs";import{a as ir,b as nM}from"./chunks/chunk-BKK7G3QL.mjs";import"./chunks/chunk-Z2YBKXZ5.mjs";import{a as E0}from"./chunks/chunk-A75TWWTU.mjs";import{a as De}from"./chunks/chunk-BNAP55G6.mjs";import"./chunks/chunk-Q2ENNH4G.mjs";import{a as Dk,b as hd,c as Pk,d as Nk,e as Ek,f as Rk,g as Fk,h as Je,i as Ct,j as at,k as m0,l as mn,m as Yo}from"./chunks/chunk-SDNP7SWK.mjs";import{b as Lr,c as er,d as jo}from"./chunks/chunk-T5DBBEKA.mjs";import{a as es,b as ct,c as e0,d as t0,e as Io,f as o0,g as n0,h as po,i as P,j as V,k as op,l as Ye,m as r0,n as Ot,o as a0,p as At,q as yn,r as i0,s as co,t as ci,u as ts,v as s0,w as kd,x as db}from"./chunks/chunk-IO7B6257.mjs";import"./chunks/chunk-OARRZRLI.mjs";import{a as XW}from"./chunks/chunk-GXOJUITC.mjs";import{a as F0}from"./chunks/chunk-EBVXR26R.mjs";import{a as ua}from"./chunks/chunk-IIM3TUQT.mjs";import{a as Zi,c as Wk,d as qk,e as vo,f as cb,i as Qk,j as tp,k as ht}from"./chunks/chunk-DAUCXRHA.mjs";import{B as Zk,E as l0,F as os,G as ko,I as or,L as En,M as ns,N as np,P as K,Q as YW,R as se,S as i,T as x,a as mk,b as E,c as xo,d as qW,e as QW,f as gk,g as fk,i as bk,m as $o,n as h,o as Uk,p as Nn,q as c,r,s as no,t as tr,u as jk,v as Yk,w as Jk,x as ya}from"./chunks/chunk-5NJA464I.mjs";import{a as as,b as g0,c as Td,e as f0}from"./chunks/chunk-Z647PVH6.mjs";import{C as Id,F as Xk,a as gd,b as Ck,d as fd,h as xk,i as da,j as bd,o as kk,p as Sd,q as Mk,r as Ak,u as Tk,w as _k,x as wk}from"./chunks/chunk-C45TSCXU.mjs";import{A as Ik,B as Ko,b as xe,d as T,f as Te,m as Sk,n as KW,o as Zl,p as hk,y as vk,z as jW}from"./chunks/chunk-SOCJ5NZ5.mjs";var iM=xe((zre,nq)=>{nq.exports={warning:"\u062A\u062D\u0630\u064A\u0631",message:`\u0644\u0627 \u062A\u062F\u062E\u0644 \u0631\u0645\u0632\u064B\u0627 \u0644\u0627 \u062A\u0641\u0647\u0645\u0647 \u0623\u0648 \u062A\u0644\u0635\u0642\u0647. 15\u0642\u062F \u064A\u0633\u0645\u062D \u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0648\u062D\u062F\u0629 \u0627\u0644\u062A\u062D\u0643\u0645 \u0647\u0630\u0647 \u0644\u0644\u0645\u0639\u062A\u062F\u064A\u0646 \u0628\u0627\u0646\u062A\u062D\u0627\u0644 \u0634\u062E\u0635\u064A\u062A\u0643 \u0648\u0633\u0631\u0642\u0629 \u0645\u0639\u0644\u0648\u0645\u0627\u062A\u0643 \u0628\u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0647\u062C\u0645\u0629 \u062A\u0633\u0645\u0649 "\u0627\u0644\u0647\u062C\u0648\u0645 \u0627\u0644\u0630\u0627\u062A\u064A XSS".`}});var sM=xe((Ure,rq)=>{rq.exports={warning:"\u09B8\u09A4\u09B0\u09CD\u0995\u09C0\u0995\u09B0\u09A3!",message:`\u0986\u09AA\u09A8\u09BF \u09AC\u09C1\u099D\u09A4\u09C7 \u09AA\u09BE\u09B0\u099B\u09C7 \u09A8\u09BE \u098F\u09AE\u09A8 \u0995\u09CB\u09A1 \u09B2\u09BF\u0996\u09AC\u09C7 \u09A8\u09BE \u09AC\u09BE \u09AA\u09C7\u09B8\u09CD\u099F \u0995\u09B0\u09AC\u09C7\u09A8 \u09A8\u09BE\u0964 16\u098F\u0987 \u0995\u09A8\u09B8\u09CB\u09B2\u099F\u09BF \u09AC\u09CD\u09AF\u09AC\u09B9\u09BE\u09B0 \u0995\u09B0\u09C7 \u0986\u0995\u09CD\u09B0\u09AE\u09A3\u0995\u09BE\u09B0\u09C0\u09B0\u09BE \u0986\u09AA\u09A8\u09BE\u09B0 \u099B\u09A6\u09CD\u09AE\u09AC\u09C7\u09B6 \u09A7\u09BE\u09B0\u09A3 \u0995\u09B0\u09A4\u09C7 \u09AA\u09BE\u09B0\u09C7 \u098F\u09AC\u0982 Self
16-XSS \u09A8\u09BE\u09AE\u0995 \u0986\u0995\u09CD\u09B0\u09AE\u09A3 \u09AA\u09A6\u09CD\u09A7\u09A4\u09BF \u09AC\u09CD\u09AF\u09AC\u09B9\u09BE\u09B0 \u0995\u09B0\u09C7 \u0986\u09AA\u09A8\u09BE\u09B0 \u09A4\u09A5\u09CD\u09AF \u099A\u09C1\u09B0\u09BF \u0995\u09B0\u09A4\u09C7 \u09AA\u09BE\u09B0\u09C7\u0964`}});var lM=xe((Wre,aq)=>{aq.exports={warning:"\u09B8\u09A4\u09B0\u09CD\u0995\u09A4\u09BE!",message:`\u0986\u09AA\u09A8\u09BF \u09AC\u09C1\u099D\u09A4\u09C7 \u09AA\u09BE\u09B0\u099B\u09C7 \u09A8\u09BE \u098F\u09AE\u09A8 \u0995\u09CB\u09A1 \u09B2\u09BF\u0996\u09AC\u09C7\u09A8 \u09A8\u09BE \u09AC\u09BE \u09AA\u09C7\u09B8\u09CD\u099F \u0995\u09B0\u09AC\u09C7\u09A8 \u09A8\u09BE\u0964 17\u098F\u0987 \u0995\u09A8\u09B8\u09CB\u09B2\u099F\u09BF \u09AC\u09CD\u09AF\u09AC\u09B9\u09BE\u09B0 \u0995\u09B0\u09C7 \u0986\u0995\u09CD\u09B0\u09AE\u09A3\u0995\u09BE\u09B0\u09C0\u09B0\u09BE \u0986\u09AA\u09A8\u09BE\u09B0 \u099B\u09A6\u09CD\u09AE\u09AC\u09C7\u09B6 \u09A8\u09BF\u09A4\u09C7 \u09AA\u09BE\u09B0\u09C7 \u098F\u09AC\u0982 Self-XSS \u09A8\u09BE\u09AE\u09C7 \u098F\u0995\u099F\u09BF \u0986\u0995\u09CD\u09B0\u09AE\u09A3 \u09AA\u09A6\u09CD\u09A7\u09A4\u09BF \u09AC\u09CD\u09AF\u09AC\u09B9\u09BE\u09B0 \u0995\u09B0\u09C7 \u0986\u09AA\u09A8\u09BE\u09B0 \u09A4\u09A5\u09CD\u09AF \u09B9\u09BE\u09A4\u09BF\u09DF\u09C7 \u09A8\u09BF\u09A4\u09C7 \u09AA\u09BE\u09B0\u09C7\u0964`}});var pM=xe((qre,iq)=>{iq.exports={warning:"ADVARSEL!",message:`Undlad at indtaste eller inds\xE6tte kode, som du ikke forst\xE5r. 18Brug af denne konsol kan s\xE6tte hackere i stand til at efterligne dig og stj\xE6le dine oplysninger ved hj\xE6lp af et angreb ved navn Self-XSS.`}});var cM=xe((Qre,sq)=>{sq.exports={warning:"WARNUNG!",message:`Gib oder f\xFCge keinen Code ein, den du nicht verstehst. 19Diese Konsole erm\xF6glicht es Angreifern, sich als du auszugeben und deine Daten mithilfe eines Angriffs namens Self-XSS zu stehlen.`}});var dM=xe((Kre,lq)=>{lq.exports={warning:"\u03A0\u03A1\u039F\u03A3\u039F\u03A7\u0397!",message:`\u039C\u03B7\u03BD \u03B5\u03B9\u03C3\u03AC\u03B3\u03B5\u03B9\u03C2 \u03AE \u03BA\u03AC\u03BD\u03B5\u03B9\u03C2 \u03B5\u03C0\u03B9\u03BA\u03CC\u03BB\u03BB\u03B7\u03C3\u03B7 \u03BA\u03C9\u03B4\u03B9\u03BA\u03CE\u03BD \u03C0\u03BF\u03C5 \u03B4\u03B5\u03BD \u03BA\u03B1\u03C4\u03B1\u03BD\u03BF\u03B5\u03AF\u03C2. 20\u0397 \u03C7\u03C1\u03AE\u03C3\u03B7 \u03B1\u03C5\u03C4\u03AE\u03C2 \u03C4\u03B7\u03C2 \u03BA\u03BF\u03BD\u03C3\u03CC\u03BB\u03B1\u03C2 \u03B5\u03AF\u03BD\u03B1\u03B9 \u03C0\u03B9\u03B8\u03B1\u03BD\u03CC \u03BD\u03B1 \u03B5\u03C0\u03B9\u03C4\u03C1\u03AD\u03C8\u03B5\u03B9 \u03C3\u03C4\u03BF\u03C5\u03C2 \u03B5\u03B9\u03C3\u03B2\u03BF\u03BB\u03B5\u03AF\u03C2 \u03BD\u03B1 \u03C0\u03C1\u03BF\u03C3\u03C0\u03BF\u03B9\u03B7\u03B8\u03BF\u03CD\u03BD \u03CC\u03C4\u03B9 \u03B5\u03AF\u03C3\u03B1\u03B9 \u03B5\u03C3\u03CD \u03BA\u03B1\u03B9 \u03BD\u03B1 \u03BA\u03BB\u03AD\u03C8\u03BF\u03C5\u03BD \u03C4\u03B9\u03C2 \u03C0\u03BB\u03B7\u03C1\u03BF\u03C6\u03BF\u03C1\u03AF\u03B5\u03C2 \u03C3\u03BF\u03C5 \u03BC\u03AD\u03C3\u03C9 \u03BC\u03B9\u03B1\u03C2 \u03B5\u03C0\u03AF\u03B8\u03B5\u03C3\u03B7\u03C2 \u03C0\u03BF\u03C5 \u03BB\u03AD\u03B3\u03B5\u03C4\u03B1\u03B9 Self-XSS.`}});var uM=xe((jre,pq)=>{pq.exports={warning:"WARNING!",message:`Do not enter or paste code that you do not understand. 21Using this console could allow attackers to impersonate you and steal your information using an attack called Self-XSS.`}});var yM=xe((Yre,cq)=>{cq.exports={warning:"WARNING!",message:`Do not enter or paste code that you do not understand. 22Using this console may allow attackers to impersonate you and steal your information using an attack called Self-XSS.`}});var mM=xe((Xre,dq)=>{dq.exports={warning:"\xA1ADVERTENCIA!",message:`No ingreses ni pegues c\xF3digo que no entiendas. 23Si us\xE1s esta consola, los atacantes podr\xEDan hacerse pasar por vos y robar tu informaci\xF3n por medio de un ataque llamado Self-XSS.`}});var gM=xe((Jre,uq)=>{uq.exports={warning:"\xA1ADVERTENCIA!",message:`No introduzcas ni pegues c\xF3digos que no comprendas. 24Si usas esta consola, los atacantes podr\xEDan suplantar tu identidad y robar tu informaci\xF3n mediante un ataque llamado Self-XSS.`}});var fM=xe((Zre,yq)=>{yq.exports={warning:"\xA1ADVERTENCIA!",message:`No escribas o pegues c\xF3digo que no entiendas. 25Usar esta consola podr\xEDa permitir que personas malintencionadas roben tu identidad y tu informaci\xF3n usando un ataque llamado Self-XSS.`}});var bM=xe((eae,mq)=>{mq.exports={warning:"\xA1ADVERTENCIA!",message:`No ingreses ni pegues c\xF3digo que no entiendes. 26Si usas esta consola, puedes permitir que los atacantes se hagan pasar por ti y roben tu informaci\xF3n con un ataque conocido como Self-XSS.`}});var SM=xe((tae,gq)=>{gq.exports={warning:"VAROITUS!",message:`\xC4l\xE4 anna tai liit\xE4 t\xE4h\xE4n koodia, jota et ymm\xE4rr\xE4. 27T\xE4m\xE4n konsolin k\xE4ytt\xE4minen saattaa johtaa XSS-hy\xF6kk\xE4ykseen, jolloin hy\xF6kk\xE4\xE4j\xE4t pystyv\xE4t esiintym\xE4\xE4n sinuna ja varastamaan tietosi.`}});var hM=xe((oae,fq)=>{fq.exports={warning:"BABALA!",message:`Huwag maglagay o mag-paste ng code na hindi mo naiintindihan 28Ang paggamit sa console na ito ay puwedeng magbigay-daan sa mga attacker na magpanggap bilang ikaw at nakawin ang iyong impormasyon gam
28it ang isang attack na tinatawag na Self-XSS.`}});var CM=xe((nae,bq)=>{bq.exports={warning:"ATTENTION\xA0!",message:`Ne saisissez pas ou ne collez pas de code que vous ne comprenez pas. 29L'utilisation de cette console risque de permettre aux hackers de se faire passer pour vous et de voler vos informations au moyen d'une attaque appel\xE9e Self-XSS.`}});var xM=xe((rae,Sq)=>{Sq.exports={warning:"\u0A9A\u0AC7\u0AA4\u0AB5\u0AA3\u0AC0!",message:`\u0AA4\u0AAE\u0AC7 \u0AB8\u0AAE\u0A9C\u0AA4\u0ABE \u0AA8 \u0AB9\u0ACB \u0A8F\u0AB5\u0ACB \u0A95\u0ACB\u0AA1 \u0AB2\u0A96\u0AB6\u0ACB \u0A95\u0AC7 \u0AAA\u0AC7\u0AB8\u0ACD\u0A9F \u0A95\u0AB0\u0AB6\u0ACB \u0AA8\u0AB9\u0AC0\u0A82. 30\u0A86 \u0A95\u0AA8\u0ACD\u0AB8\u0ACB\u0AB2\u0AA8\u0ACB \u0A89\u0AAA\u0AAF\u0ACB\u0A97 \u0A95\u0AB0\u0AB5\u0ABE\u0AA5\u0AC0 \u0AB9\u0AC1\u0AAE\u0AB2\u0ABE\u0A96\u0ACB\u0AB0\u0ACB \u0AB8\u0AC7\u0AB2\u0ACD\u0AAB-XSS \u0AA8\u0ABE\u0AAE\u0AA8\u0ABE \u0AB9\u0AC1\u0AAE\u0AB2\u0ABE\u0AA8\u0ACB \u0A89\u0AAA\u0AAF\u0ACB\u0A97 \u0A95\u0AB0\u0AC0\u0AA8\u0AC7 \u0AA4\u0AAE\u0AC7 \u0AB9\u0ACB\u0AB5\u0ABE\u0AA8\u0AC1\u0A82 \u0A85\u0AA8\u0AC1\u0A95\u0AB0\u0AA3 \u0A95\u0AB0\u0AC0 \u0AB6\u0A95\u0AC7 \u0A9B\u0AC7 \u0A85\u0AA8\u0AC7 \u0AA4\u0AAE\u0ABE\u0AB0\u0AC0 \u0AAE\u0ABE\u0AB9\u0ABF\u0AA4\u0AC0 \u0A9A\u0ACB\u0AB0\u0AC0 \u0AB6\u0A95\u0AC7 \u0A9B\u0AC7.`}});var vM=xe((aae,hq)=>{hq.exports={warning:"\u091A\u0947\u0924\u093E\u0935\u0928\u0940!",message:`\u0915\u094B\u0908 \u0910\u0938\u093E \u0915\u094B\u0921 \u0926\u0930\u094D\u091C \u092F\u093E \u092A\u0947\u0938\u094D\u091F \u0928 \u0915\u0930\u0947\u0902 \u091C\u094B \u0906\u092A\u0915\u0940 \u0938\u092E\u091D \u0938\u0947 \u092A\u0930\u0947 \u0939\u094B\u0964 31\u0907\u0938 \u0915\u0902\u0938\u094B\u0932 \u0915\u093E \u0907\u0938\u094D\u0924\u0947\u092E\u093E\u0932 \u0915\u0930\u0928\u0947 \u0938\u0947 \u0939\u092E\u0932\u093E\u0935\u0930 Self-XSS \u0915\u0939\u0947 \u091C\u093E\u0928\u0947 \u0935\u093E\u0932\u0947 \u0939\u092E\u0932\u0947 \u0915\u093E \u0907\u0938\u094D\u0924\u0947\u092E\u093E\u0932 \u0915\u0930\u0924\u0947 \u0939\u0941\u090F \u0906\u092A\u0915\u093E \u092D\u0947\u0937 \u0927\u093E\u0930\u0923 \u0915\u0930\u0915\u0947 \u0906\u092A\u0915\u0940 \u091C\u093E\u0928\u0915\u093E\u0930\u0940 \u091A\u0941\u0930\u093E \u0938\u0915\u0924\u0947 \u0939\u0948\u0902\u0964`}});var IM=xe((iae,Cq)=>{Cq.exports={warning:"PERINGATAN!",message:`Jangan memasukkan atau menempelkan kode yang tidak Anda pahami. 32Menggunakan konsol ini dapat memberikan akses kepada penyerang untuk menyamar sebagai Anda dan mencuri informasi menggunakan serangan yang disebut Self-XSS.`}});var kM=xe((sae,xq)=>{xq.exports={warning:"ATTENZIONE!",message:`Non inserire o incollare codici che non conosci. 33L'utilizzo di questa console potrebbe consentire a utenti malintenzionati di assumere la tua identit\xE0 e rubare le tue informazioni tramite un attacco chiamato Self-XSS.`}});var MM=xe((lae,vq)=>{vq.exports={warning:"\u8B66\u544A\uFF01",message:`\u4E0D\u660E\u306A\u30B3\u30FC\u30C9\u3092\u5165\u529B\u307E\u305F\u306F\u8CBC\u308A\u4ED8\u3051\u306A\u3044\u3067\u304F\u3060\u3055\u3044\u3002 34\u3053\u306E\u30B3\u30F3\u30BD\u30FC\u30EB\u3092\u4F7F\u7528\u3059\u308B\u3068\u3001\u653B\u6483\u8005\u304CSelf-XSS\u3068\u3044\u3046\u653B\u6483\u3092\u4F7F\u7528\u3057\u3066\u3042\u306A\u305F\u306B\u306A\u308A\u3059\u307E\u3057\u3001\u60C5\u5831\u3092\u76D7\u3080\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002`}});var AM=xe((pae,Iq)=>{Iq.exports={warning:"\u0C8E\u0C9A\u0CCD\u0C9A\u0CB0\u0CBF\u0C95\u0CC6!",message:`\u0CA8\u0CBF\u0CAE\u0C97\u0CC6 \u0C85\u0CB0\u0CCD\u0CA5\u0CB5\u0CBE\u0C97\u0CA6 \u0C95\u0CCB\u0CA1\u0CCD \u0C85\u0CA8\u0CCD\u0CA8\u0CC1 \u0CA8\u0CAE\u0CC2\u0CA6\u0CBF\u0CB8\u0CAC\u0CC7\u0CA1\u0CBF \u0C85\u0CA5\u0CB5\u0CBE \u0C85\u0C82\u0C9F\u0CBF\u0CB8\u0CAC\u0CC7\u0CA1\u0CBF. 35\u0C88 \u0C95\u0CA8\u0CCD\u0CB8\u0CCB\u0CB2\u0CCD \u0CAC\u0CB3\u0CB8\u0CC1\u0CB5\u0CC1\u0CA6\u0CB0\u0CBF\u0C82\u0CA6 \u0CA6\u0CBE\u0CB3\u0CBF\u0C95\u0CCB\u0CB0\u0CB0\u0CC1 \u0CA8\u0CBF\u0CAE\u0CCD\u0CAE\u0C82\u0CA4\u0CC6 \u0CB8\u0CCB\u0C97\u0CC1 \u0CB9\u0CBE\u0C95\u0CB2\u0CC1 \u0CAE\u0CA4\u0CCD\u0CA4\u0CC1 Self-XSS \u0C8E\u0CA8\u0CCD\u0CA8\u0CC1\u0CB5 \u0C92\u0C82\u0CA6\u0CC1 \u0CA6\u0CBE\u0CB3\u0CBF\u0CAF\u0CA8\u0CCD\u0CA8\u0CC1 \u0CAC\u0CB3\u0CB8\u0CBF\u0C95\u0CCA\u0C82\u0CA1\u0CC1 \u0CA8\u0CBF\u0CAE\u0CCD\u0CAE \u0CAE\u0CBE\u0CB9\u0CBF\u0CA4\u0CBF\u0CAF\u0CA8\u0CCD\u0CA8\u0CC1 \u0C95\u0CA6\u0CBF\u0CAF\u0CB2\u0CC1 \u0C85\u0CB5\u0C95\u0CBE\u0CB6 \u0CAE\u0CBE\u0CA1\u0CBF\u0C95\u0CCA\u0CA1\u0CAC\u0CB9\u0CC1\u0CA6\u0CC1.`}});var TM=xe((cae,kq)=>{kq.exports={warning:"\uACBD\uACE0!",message:`\uBAA8\uB974\uB294 \uCF54\uB4DC\uB97C \uC785\uB825\uD558\uAC70\uB098 \uBD99\uC5EC\uB123\uC9C0 \uB9C8\uC138\uC694. 36\uC774 \uCF58\uC194\uC744 \uC0AC\uC6A9\uD558\uBA74 \uD574\uCEE4\uAC00 Self-XSS\uB77C\uACE0 \uBD88\uB9AC\uB294 \uACF5\uACA9\uC744 \uC0AC\uC6A9\uD574 \uD68C\uC6D0\uB2D8\uC744 \uC0AC\uCE6D\uD558\uC5EC \uAC1C\uC778 \uC815\uBCF4\uB97C \uD6D4\uCCD0 \uAC08 \uC218\uB3C4 \uC788\uC2B5\uB2C8\uB2E4.`}});var _M=xe((dae,Mq)=>{Mq.exports={warning:"\u0D2E\u0D41\u0D28\u0D4D\u0D28\u0D31\u0D3F\u0D2F\u0D3F\u0D2A\u0D4D\u0D2A\u0D4D!",message:`\u0D28\u0D3F\u0D19\u0D4D\u0D19\u0D7E\u0D15\u0D4D\u0D15\u0D4D \u0D2E\u0D28\u0D38\u0D4D\u0D38\u0D3F\u0D32\u0D3E\u0D15\u0D3E\u0D24\u0D4D\u0D24 \u0D15\u0D4B\u0D21\u0D4D \u0D28\u0D7D\u0D15\u0D41\u0D15\u0D2F\u0D4B \u0D12\u0D1F\u0D4D\u0D1F\u0D3F\u0D15\u0D4D\u0D15\u0D41\u0D15\u0D2F\u0D4B \u0D1A\u0D46\u0D2F\u0D4D\u0D2F\u0D30\u0D41\u0D24\u0D4D. 37\u0D08 \u0D15\u0D7A\u0D38\u0D4B\u0D7E \u0D09\u0D2A\u0D2F\u0D4B\u0D1
377\u0D3F\u0D15\u0D4D\u0D15\u0D41\u0D28\u0D4D\u0D28\u0D24\u0D3F\u0D32\u0D42\u0D1F\u0D46, Self-XSS \u0D0E\u0D28\u0D4D\u0D28\u0D4D \u0D05\u0D31\u0D3F\u0D2F\u0D2A\u0D4D\u0D2A\u0D46\u0D1F\u0D41\u0D28\u0D4D\u0D28 \u0D06\u0D15\u0D4D\u0D30\u0D2E\u0D23\u0D02 \u0D35\u0D34\u0D3F \u0D05\u0D31\u0D4D\u0D31\u0D3E\u0D15\u0D4D\u0D15\u0D7C\u0D2E\u0D3E\u0D7C\u0D15\u0D4D\u0D15\u0D4D \u0D28\u0D3F\u0D19\u0D4D\u0D19\u0D33\u0D41\u0D1F\u0D46 \u0D35\u0D3F\u0D35\u0D30\u0D19\u0D4D\u0D19\u0D7E \u0D2E\u0D4B\u0D37\u0D4D\u0D1F\u0D3F\u0D15\u0D4D\u0D15\u0D3E\u0D28\u0D41\u0D02 \u0D28\u0D3F\u0D19\u0D4D\u0D19\u0D33\u0D3E\u0D2F\u0D3F \u0D06\u0D7E\u0D2E\u0D3E\u0D31\u0D3E\u0D1F\u0D4D\u0D1F\u0D02 \u0D28\u0D1F\u0D24\u0D4D\u0D24\u0D3E\u0D28\u0D41\u0D02 \u0D15\u0D34\u0D3F\u0D2F\u0D41\u0D02.`}});var wM=xe((uae,Aq)=>{Aq.exports={warning:"\u091A\u0947\u0924\u093E\u0935\u0923\u0940!",message:`\u0924\u0941\u092E\u094D\u0939\u093E\u0932\u093E \u0938\u092E\u091C\u0924 \u0928\u0938\u0947\u0932 \u0905\u0938\u093E \u0915\u094B\u0921 \u092A\u094D\u0930\u0935\u093F\u0937\u094D\u091F \u0915\u093F\u0902\u0935\u093E \u092A\u0947\u0938\u094D\u091F \u0915\u0930\u0942 \u0928\u0915\u093E. 38\u0939\u093E \u0915\u0902\u0938\u094B\u0932 \u0935\u093E\u092A\u0930\u0923\u094D\u092F\u093E\u0928\u0947 \u0906\u0915\u094D\u0930\u092E\u0923\u0915\u0930\u094D\u0924\u094D\u092F\u093E\u0902\u0928\u093E Self-XSS \u0928\u093E\u0935\u093E\u091A\u093E \u0906\u0915\u094D\u0930\u092E\u0923 \u0935\u093E\u092A\u0930\u0942\u0928 \u0924\u0941\u092E\u091A\u0940 \u0924\u094B\u0924\u092F\u093E\u0917\u093F\u0930\u0940 \u0915\u0930\u0923\u094D\u092F\u093E\u091A\u0940 \u0906\u0923\u093F \u0924\u0941\u092E\u091A\u0940 \u092E\u093E\u0939\u093F\u0924\u0940 \u091A\u094B\u0930\u0923\u094D\u092F\u093E\u091A\u0940 \u0905\u0928\u0941\u092E\u0924\u0940 \u092E\u093F\u0933\u0942 \u0936\u0915\u0924\u0947.`}});var DM=xe((yae,Tq)=>{Tq.exports={warning:"AMARAN!",message:`Jangan masukkan atau tampal kod yang anda tidak faham. 39Penggunaan konsol ini membenarkan penyerang untuk menyamar sebagai anda dan mencuri maklumat anda menggunakan serangan yang dipanggil XSS-Kendiri (Self-XSS)`}});var PM=xe((mae,_q)=>{_q.exports={warning:"ADVARSEL!",message:`Ikke skriv inn eller lim inn kode som du ikke forst\xE5r. 40Hvis du bruker denne konsollen, kan du gi uvedkommende anledning til \xE5 etterligne deg og stjele informasjon gjennom s\xE5kalte XSS-angrep.`}});var NM=xe((gae,wq)=>{wq.exports={warning:"WAARSCHUWING!",message:`Voer geen code in en plak geen code die je niet begrijpt. 41Met deze console kunnen aanvallers zich mogelijk als jou voordoen en gegevens stelen via een aanval die Self-XSS heet.`}});var EM=xe((fae,Dq)=>{Dq.exports={warning:"\u0A1A\u0A47\u0A24\u0A3E\u0A35\u0A28\u0A40!",message:`\u0A09\u0A39 \u0A15\u0A4B\u0A21 \u0A26\u0A3E\u0A16\u0A32 \u0A1C\u0A3E\u0A02 \u0A2A\u0A47\u0A38\u0A1F \u0A28\u0A3E \u0A15\u0A30\u0A4B \u0A1C\u0A3F\u0A38 \u0A26\u0A40 \u0A24\u0A41\u0A39\u0A3E\u0A28\u0A42\u0A70 \u0A38\u0A2E\u0A1D \u0A28\u0A39\u0A40\u0A02 \u0A39\u0A48\u0964 42\u0A07\u0A38 \u0A15\u0A70\u0A38\u0A4B\u0A32 \u0A26\u0A40 \u0A35\u0A30\u0A24\u0A4B\u0A02 \u0A15\u0A30\u0A28 \u0A28\u0A3E\u0A32 \u0A39\u0A2E\u0A32\u0A3E\u0A35\u0A30 \u0A24\u0A41\u0A39\u0A3E\u0A21\u0A40 \u0A2A\u0A1B\u0A3E\u0A23 \u0A2C\u0A23\u0A3E \u0A38\u0A15\u0A26\u0A47 \u0A39\u0A28 \u0A05\u0A24\u0A47 Self-XSS \u0A28\u0A3E\u0A2E\u0A15 \u0A39\u0A2E\u0A32\u0A47 \u0A26\u0A40 \u0A35\u0A30\u0A24\u0A4B\u0A02 \u0A15\u0A30\u0A15\u0A47 \u0A24\u0A41\u0A39\u0A3E\u0A21\u0A40 \u0A1C\u0A3E\u0A23\u0A15\u0A3E\u0A30\u0A40 \u0A1A\u0A4B\u0A30\u0A40 \u0A15\u0A30 \u0A38\u0A15\u0A26\u0A47 \u0A39\u0A28\u0964`}});var RM=xe((bae,Pq)=>{Pq.exports={warning:"OSTRZE\u017BENIE!",message:`Nie wpisuj ani nie wklejaj kodu, kt\xF3rego nie rozumiesz. 43U\u017Cywanie tej konsoli mo\u017Ce umo\u017Cliwia\u0107 osobom, kt\xF3re wykorzystuj\u0105 atak Self-XSS, podszywanie si\u0119 pod Ciebie i wykradanie informacji.`}});var FM=xe((Sae,Nq)=>{Nq.exports={warning:"AVISO!",message:`N\xE3o insira nem cole c\xF3digos que voc\xEA n\xE3o entende. 44O uso deste console pode permitir que invasores se passem por voc\xEA e roubem suas informa\xE7\xF5es usando um ataque chamado Self-XSS.`}});var BM=xe((hae,Eq)=>{Eq.exports={warning:"AVISO!",message:`N\xE3o introduzas nem coles c\xF3digo que n\xE3o compreendes. 45A utiliza\xE7\xE3o desta consola pode permitir que atacantes se fa\xE7am passar por ti e roubem as tuas informa\xE7\xF5es atrav\xE9s de um ataque chamado Self-XSS.`}});var $M=xe((Cae,Rq)=>
45{Rq.exports={warning:"AVERTIZARE!",message:`Nu introdu sau lipi cod pe care nu \xEEl \xEEn\u021Belegi. 46Dac\u0103 folose\u0219ti aceast\u0103 consol\u0103, le po\u021Bi permite atacatorilor s\u0103 \xEE\u021Bi fure identitatea \u0219i informa\u021Biile printr-un atac denumit Self-XSS.`}});var LM=xe((xae,Fq)=>{Fq.exports={warning:"\u0412\u041D\u0418\u041C\u0410\u041D\u0418\u0415!",message:`\u041D\u0435 \u0432\u0432\u043E\u0434\u0438\u0442\u0435 \u0438 \u043D\u0435 \u0432\u0441\u0442\u0430\u0432\u043B\u044F\u0439\u0442\u0435 \u043A\u043E\u0434, \u0444\u0443\u043D\u043A\u0446\u0438\u0438 \u043A\u043E\u0442\u043E\u0440\u043E\u0433\u043E \u0432\u044B \u043D\u0435 \u043F\u043E\u043D\u0438\u043C\u0430\u0435\u0442\u0435. 47\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435 \u044D\u0442\u043E\u0439 \u043A\u043E\u043D\u0441\u043E\u043B\u0438 \u043C\u043E\u0436\u0435\u0442 \u043F\u043E\u0437\u0432\u043E\u043B\u0438\u0442\u044C \u0437\u043B\u043E\u0443\u043C\u044B\u0448\u043B\u0435\u043D\u043D\u0438\u043A\u0430\u043C \u0432\u044B\u0434\u0430\u0442\u044C \u0441\u0435\u0431\u044F \u0437\u0430 \u0432\u0430\u0441 \u0438 \u0443\u043A\u0440\u0430\u0441\u0442\u044C \u0432\u0430\u0448\u0443 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044E \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u0430\u0442\u0430\u043A\u0438 \u0442\u0438\u043F\u0430 Self-XSS.`}});var HM=xe((vae,Bq)=>{Bq.exports={warning:"VARNING!",message:`Ange inte eller klistra in kod du inte f\xF6rst\xE5r. 48N\xE4r du anv\xE4nder den h\xE4r konsolen kan hackare h\xE4rma din identitet eller stj\xE4la din information med en attack som heter Self-XSS.`}});var VM=xe((Iae,$q)=>{$q.exports={warning:"\u0B8E\u0B9A\u0BCD\u0B9A\u0BB0\u0BBF\u0B95\u0BCD\u0B95\u0BC8!",message:`\u0B89\u0B99\u0BCD\u0B95\u0BB3\u0BC1\u0B95\u0BCD\u0B95\u0BC1\u0BAA\u0BCD \u0BAA\u0BC1\u0BB0\u0BBF\u0BAF\u0BBE\u0BA4 \u0B95\u0BC1\u0BB1\u0BBF\u0BAF\u0BC0\u0B9F\u0BCD\u0B9F\u0BC8 \u0B89\u0BB3\u0BCD\u0BB3\u0BBF\u0B9F\u0BBE\u0BA4\u0BC0\u0BB0\u0BCD\u0B95\u0BB3\u0BCD \u0B85\u0BB2\u0BCD\u0BB2\u0BA4\u0BC1 \u0B92\u0B9F\u0BCD\u0B9F\u0BBE\u0BA4\u0BC0\u0BB0\u0BCD\u0B95\u0BB3\u0BCD. 49\u0B87\u0BA8\u0BCD\u0BA4\u0B95\u0BCD \u0B95\u0B9F\u0BCD\u0B9F\u0BC1\u0BAA\u0BCD\u0BAA\u0BBE\u0B9F\u0BCD\u0B9F\u0BC1\u0BA4\u0BCD \u0BA4\u0BBF\u0BB0\u0BC8\u0BAF\u0BC8(Console\u0B90)\u0BAA\u0BCD \u0BAA\u0BAF\u0BA9\u0BCD\u0BAA\u0B9F\u0BC1\u0BA4\u0BCD\u0BA4\u0BC1\u0BB5\u0BA4\u0BA9\u0BCD \u0BAE\u0BC2\u0BB2\u0BAE\u0BCD,\u0BA4\u0BC0\u0B99\u0BCD\u0B95\u0BBF\u0BB4\u0BC8\u0BAA\u0BCD\u0BAA\u0BB5\u0BB0\u0BCD\u0B95\u0BB3\u0BCD Self-XSS \u0B8E\u0BA9\u0BAA\u0BCD\u0BAA\u0B9F\u0BC1\u0BAE\u0BCD \u0BA4\u0BBE\u0B95\u0BCD\u0B95\u0BC1\u0BA4\u0BB2\u0BC8\u0BAA\u0BCD \u0BAA\u0BAF\u0BA9\u0BCD\u0BAA\u0B9F\u0BC1\u0BA4\u0BCD\u0BA4\u0BBF \u0B89\u0B99\u0BCD\u0B95\u0BB3\u0BC8\u0BAA\u0BCD\u0BAA\u0BCB\u0BB2\u0BCD \u0BA8\u0B9F\u0BBF\u0B95\u0BCD\u0B95\u0BB5\u0BC1\u0BAE\u0BCD \u0B89\u0B99\u0BCD\u0B95\u0BB3\u0BCD \u0BA4\u0B95\u0BB5\u0BB2\u0BCD\u0B95\u0BB3\u0BC8\u0BA4\u0BCD \u0BA4\u0BBF\u0BB0\u0BC1\u0B9F\u0BB5\u0BC1\u0BAE\u0BCD \u0BAE\u0BC1\u0B9F\u0BBF\u0BAF\u0BC1\u0BAE\u0BCD.`}});var OM=xe((kae,Lq)=>{Lq.exports={warning:"\u0C39\u0C46\u0C1A\u0C4D\u0C1A\u0C30\u0C3F\u0C15!",message:`\u0C2E\u0C40\u0C15\u0C41 \u0C05\u0C30\u0C4D\u0C25\u0C02 \u0C15\u0C3E\u0C28\u0C3F \u0C15\u0C4B\u0C21\u0C4D\u200C\u0C28\u0C3F \u0C0E\u0C02\u0C1F\u0C30\u0C4D \u0C32\u0C47\u0C26\u0C3E \u0C2A\u0C47\u0C38\u0C4D\u0C1F\u0C4D \u0C1A\u0C47\u0C2F\u0C15\u0C02\u0C21\u0C3F. 50\u0C08 \u0C15\u0C28\u0C4D\u0C38\u0C4B\u0C32\u0C4D\u200C\u0C28\u0C3F \u0C09\u0C2A\u0C2F\u0C4B\u0C17\u0C3F\u0C02\u0C1A\u0C21\u0C02 \u0C35\u0C32\u0C28 \u0C26\u0C3E\u0C21\u0C3F \u0C1A\u0C47\u0C38\u0C47\u0C35\u0C3E\u0C30\u0C41 \u0C2E\u0C3F\u0C2E\u0C4D\u0C2E\u0C32\u0C4D\u0C28\u0C3F \u0C05\u0C28\u0C41\u0C15\u0C30\u0C3F\u0C38\u0C4D\u0C24\u0C42 \u0C2E\u0C30\u0C3F\u0C2F\u0C41 Self-XSS \u0C05\u0C28\u0C47 \u0C26\u0C3E\u0C21\u0C3F\u0C28\u0C3F \u0C09\u0C2A\u0C2F\u0C4B\u0C17\u0C3F\u0C02\u0C1A\u0C3F \u0C2E\u0C40 \u0C38\u0C2E\u0C3E\u0C1A\u0C3E\u0C30\u0C3E\u0C28\u0C4D\u0C28\u0C3F \u0C26\u0C4A\u0C02\u0C17\u0C3F\u0C32\u0C3F\u0C02\u0C1A\u0C35\u0C1A\u0C4D\u0C1A\u0C41.`}});var GM=xe((Mae,Hq)=>{Hq.exports={warning:"\u0E04\u0E33\u0E40\u0E15\u0E37\u0E2D\u0E19!",message:`\u0E2D\u0E22\u0E48\u0E32\u0E43\u0E2A\u0E48\u0E2B\u0E23\u0E37\u0E2D\u0E27\u0E32\u0E07\u0E23\u0E2B\u0E31\u0E2A\u0E17\u0E35\u0E48\u0E04\u0E38\u0E13\u0E44\u0E21\u0E48\u0E40\u0E02\u0E49\u0E32\u0E43\u0E08\u0E25\u0E07\u0E44\u0E1B 51\u0E01\u0E32\u0E23\u0E43\u0E0A\u0E49\u0E04\u0E2D\u0E19\u0E42\u0E0B\u0E25\u0E19\u0E35\u0E49\u0E2D\u0E32\u0E08\u0E17\u0E33\u0E43\u0E2B\u0E49\u0E1C\u0E39\u0E49\u0E42\u0E08\u0E21\u0E15\u0E35\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E41\u0E2D\u0E1A\u0E2D\u0E49\u0E32\u0E07\u0E27\u0E48\u0E32\u0E40\u0E1B\u0E47\u0E19\u0E04\u0E38\u0E13 \u0E41\u0E25\u0E30\u0E02\u0E42\u0E21\u0E22\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E42\u0E14\u0E22\u0E43\u0E0A\u0E49\u0E01\u0E32\u0E23\u0E42\u0E08\u0E21\u0E15\u0E35\u0E17\u0E35\u0E48\u0E40\u0E23\u0E35\u0E22\u0E01\u0E27\u0E48\u0E32 Self-XSS`}});var zM=xe((Aae,Vq)=>{Vq.exports={warning:"D\u0130KKAT!",message:`Anlamad\u0131\u011F\u0131n\u0131z kodu girmeyin veya yap\u0131\u015Ft\u0131rmay\u0131n. 52Bu konsolu kullanmak, sald\u0131rganlar\u0131n sizi taklit etmesine ve Self-XSS adl\u0131 bir sald\u0131r\u0131 kullanarak bilgilerinizi \xE7almas\u0131na izin verebilir.`}});var UM=xe((Tae,Oq)=>{Oq.exports={warning:"\u0627\u0646\u062A\u0628\u0627\u06C1!",message:`\u0627\u06CC\u0633\u0627 \u06A9\u0648\u0688 \u062F\u0631\u062C \u06CC\u0627 \u067E\u06CC\u0633\u0679 \u
520646\u06C1 \u06A9\u0631\u06CC\u06BA \u062C\u0648 \u0622\u067E \u0633\u0645\u062C\u06BE\u062A\u06D2 \u0646\u06C1 \u06C1\u0648\u06BA\u06D4 53\u06CC\u06C1 \u06A9\u0646\u0633\u0648\u0644 \u0627\u0633\u062A\u0639\u0645\u0627\u0644 \u06A9\u0631\u0646\u06D2 \u0633\u06D2 \u062D\u0645\u0644\u06C1 \u0622\u0648\u0631\u0648\u06BA \u06A9\u0648 Self-XSS \u0646\u0627\u0645\u06CC \u062D\u0645\u0644\u06D2 \u06A9\u06D2 \u0630\u0631\u06CC\u0639\u06D2 \u0622\u067E \u06A9\u06CC \u0646\u0642\u0627\u0644\u06CC \u0627\u0648\u0631 \u0622\u067E \u06A9\u06CC \u0645\u0639\u0644\u0648\u0645\u0627\u062A \u0686\u0631\u0627\u0646\u06D2 \u06A9\u0627 \u0645\u0648\u0642\u0639 \u0645\u0644 \u0633\u06A9\u062A\u0627 \u06C1\u06D2\u06D4`}});var WM=xe((_ae,Gq)=>{Gq.exports={warning:"C\u1EA2NH B\xC1O!",message:`\u0110\u1EEBng nh\u1EADp hay d\xE1n m\xE3 m\xE0 b\u1EA1n kh\xF4ng hi\u1EC3u r\xF5. 54N\u1EBFu b\u1EA1n s\u1EED d\u1EE5ng console n\xE0y, nh\u1EEFng k\u1EBB t\u1EA5n c\xF4ng c\xF3 th\u1EC3 m\u1EA1o nh\u1EADn b\u1EA1n, r\u1ED3i \u0111\xE1nh c\u1EAFp th\xF4ng tin c\u1EE7a b\u1EA1n b\u1EB1ng c\xE1ch s\u1EED d\u1EE5ng ph\u01B0\u01A1ng ph\xE1p t\u1EA5n c\xF4ng Self-XSS.`}});var qM=xe((wae,zq)=>{zq.exports={warning:"\u8B66\u544A\uFF01",message:`\u8BF7\u52FF\u8F93\u5165\u6216\u7C98\u8D34\u4F60\u4E0D\u4E86\u89E3\u7684\u4EE3\u7801\u3002 55\u5982\u679C\u4F7F\u7528\u6B64\u63A7\u5236\u53F0\uFF0C\u53EF\u80FD\u4F1A\u8BA9\u653B\u51FB\u8005\u80FD\u591F\u4F7F\u7528\u79F0\u4E3A Self-XSS \u7684\u653B\u51FB\u6A21\u4EFF\u4F60\u548C\u7A83\u53D6\u4F60\u7684\u4FE1\u606F\u3002`}});var QM=xe((Dae,Uq)=>{Uq.exports={warning:"\u8B66\u544A\uFF01",message:`\u8ACB\u52FF\u8F38\u5165\u6216\u8CBC\u4E0A\u4F60\u4E0D\u4E86\u89E3\u7684\u4EE3\u78BC\u3002 56\u4F7F\u7528\u6B64\u64CD\u4F5C\u4ECB\u9762\u53EF\u80FD\u6703\u8B93\u653B\u64CA\u8005\u5047\u5192\u4F60\u7684\u8EAB\u5206\uFF0C\u4E26\u4F7F\u7528 Self-XSS \u653B\u64CA\u65B9\u5F0F\u4F86\u7ACA\u53D6\u4F60\u7684\u8CC7\u8A0A\u3002`}});var KM=xe(Ib=>{"use strict";Object.defineProperty(Ib,"__esModule",{value:!0});var Wq=iM(),qq=sM(),Qq=lM(),Kq=pM(),jq=cM(),Yq=dM(),Xq=uM(),Jq=yM(),Zq=mM(),eQ=gM(),tQ=fM(),oQ=bM(),nQ=SM(),rQ=hM(),aQ=CM(),iQ=xM(),sQ=vM(),lQ=IM(),pQ=kM(),cQ=MM(),dQ=AM(),uQ=TM(),yQ=_M(),mQ=wM(),gQ=DM(),fQ=PM(),bQ=NM(),SQ=EM(),hQ=RM(),CQ=FM(),xQ=BM(),vQ=$M(),IQ=LM(),kQ=HM(),MQ=VM(),AQ=OM(),TQ=GM(),_Q=zM(),wQ=UM(),DQ=WM(),PQ=qM(),NQ=QM(),EQ={"ar-aa":Wq,"bn-bd":qq,"bn-in":Qq,"da-dk":Kq,"de-de":jq,"el-gr":Yq,"en-gb":Xq,"en-us":Jq,"es-ar":Zq,"es-es":eQ,"es-mx":tQ,es:oQ,"fi-fi":nQ,"fil-ph":rQ,"fr-fr":aQ,"gu-in":iQ,"hi-in":sQ,"id-id":lQ,"it-it":pQ,"ja-jp":cQ,"kn-in":dQ,"ko-kr":uQ,"ml-in":yQ,"mr-in":mQ,"ms-my":gQ,"nb-no":fQ,"nl-nl":bQ,"pa-in":SQ,"pl-pl":hQ,"pt-br":CQ,"pt-pt":xQ,"ro-ro":vQ,"ru-ru":IQ,"sv-se":kQ,"ta-in":MQ,"te-in":AQ,"th-th":TQ,"tr-tr":_Q,"ur-pk":wQ,"vi-vn":DQ,"zh-cn":PQ,"zh-tw":NQ};Ib.default=EQ});var YM=xe(Gd=>{"use strict";Object.defineProperty(Gd,"__esModule",{value:!0});Gd.printWarning=void 0;var kb=KM(),jM="en-us";function RQ(e){e===void 0&&(e=jM),e=e&&e.toLowerCase();var t=kb.default[e]?kb.default[e]:kb.default[jM];console.log("%c"+t.warning,"font-size: 30px; color: #F61F1F; background-color: #FFFF00;"),console.log("%c"+t.message,"font-size: 16px; color: #464656; background-color: #FFF;")}Gd.printWarning=RQ});var JM=xe(Mb=>{"use strict";var XM=ua();Mb.createRoot=XM.createRoot,Mb.hydrateRoot=XM.hydrateRoot;var Eae});var wN=xe(cy=>{"use strict";Object.defineProperty(cy,"__esModule",{value:!0});var Fp,dh=E(),st=(Fp=dh)&&typeof Fp=="object"&&"default"in Fp?Fp.default:Fp;function _N(e,t){return(_N=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,n){return o.__proto__=n,o})(e,t)}function xt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(function(e,t){t===void 0&&(t={});var o=t.insertAt;if(typeof document<"u"){var n=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css",o==="top"&&n.firstChild?n.insertBefore(a,n.firstChild):n.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}})('.multiSelectContainer,.multiSelectContainer *,.multiSelectContainer :after,.multiSelectContainer :before{box-sizing:border-box}.multiSelectContainer{position:relative;text-align:left;width:100%}.disable_ms{opacity:.5;pointer-events:none}.display-none{display:none}
56.searchWrapper{border:1px solid #ccc;border-radius:4px;min-height:22px;padding:5px;position:relative}.multiSelectContainer input{background:transparent;border:none;margin-top:3px}.multiSelectContainer input:focus{outline:none}.chip{align-items:center;background:#0096fb;border-radius:11px;color:#fff;display:inline-flex;font-size:13px;line-height:19px;margin-bottom:5px;margin-right:5px;padding:4px 10px}.chip,.singleChip{white-space:nowrap}.singleChip{background:none;border-radius:none;color:inherit}.singleChip i{display:none}.closeIcon{cursor:pointer;float:right;height:13px;margin-left:5px;width:13px}.optionListContainer{background:#fff;border-radius:4px;margin-top:1px;position:absolute;width:100%;z-index:2}.multiSelectContainer ul{border:1px solid #ccc;border-radius:4px;display:block;margin:0;max-height:250px;overflow-y:auto;padding:0}.multiSelectContainer li{padding:10px}.multiSelectContainer li:hover{background:#0096fb;color:#fff;cursor:pointer}.checkbox{margin-right:10px}.disableSelection{opacity:.5;pointer-events:none}.highlightOption{background:#0096fb;color:#fff}.displayBlock{display:block}.displayNone{display:none}.notFound{display:block;padding:10px}.singleSelect{padding-right:20px}li.groupHeading{color:#908e8e;padding:5px 15px;pointer-events:none}li.groupChildEle{padding-left:30px}.icon_down_dir{position:absolute;right:10px;top:50%;transform:translateY(-50%);width:14px}.icon_down_dir:before{content:"\\e803"}.custom-close{display:flex}');var TN={circle:"data:image/svg+xml,%3Csvg%20height%3D%22512px%22%20id%3D%22Layer_1%22%20style%3D%22enable-background%3Anew%200%200%20512%20512%3B%22%20version%3D%221.1%22%20viewBox%3D%220%200%20512%20512%22%20width%3D%22512px%22%20xml%3Aspace%3D%22preserve%22%20%20%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20%20%20%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Cstyle%20type%3D%22text%2Fcss%22%3E%20%20%20%20%20%20%20%20.st0%7B%20%20%20%20%20%20%20%20%20%20%20%20fill%3A%23fff%3B%20%20%20%20%20%20%20%20%7D%20%3C%2Fstyle%3E%20%20%20%20%3Cg%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st0%22%20d%3D%22M256%2C33C132.3%2C33%2C32%2C133.3%2C32%2C257c0%2C123.7%2C100.3%2C224%2C224%2C224c123.7%2C0%2C224-100.3%2C224-224C480%2C133.3%2C379.7%2C33%2C256%2C33z%20%20%20%20M364.3%2C332.5c1.5%2C1.5%2C2.3%2C3.5%2C2.3%2C5.6c0%2C2.1-0.8%2C4.2-2.3%2C5.6l-21.6%2C21.7c-1.6%2C1.6-3.6%2C2.3-5.6%2C2.3c-2%2C0-4.1-0.8-5.6-2.3L256%2C289.8%20%20%20l-75.4%2C75.7c-1.5%2C1.6-3.6%2C2.3-5.6%2C2.3c-2%2C0-4.1-0.8-5.6-2.3l-21.6-21.7c-1.5-1.5-2.3-3.5-2.3-5.6c0-2.1%2C0.8-4.2%2C2.3-5.6l75.7-76%20%20%20l-75.9-75c-3.1-3.1-3.1-8.2%2C0-11.3l21.6-21.7c1.5-1.5%2C3.5-2.3%2C5.6-2.3c2.1%2C0%2C4.1%2C0.8%2C5.6%2C2.3l75.7%2C74.7l75.7-74.7%20%20%20c1.5-1.5%2C3.5-2.3%2C5.6-2.3c2.1%2C0%2C4.1%2C0.8%2C5.6%2C2.3l21.6%2C21.7c3.1%2C3.1%2C3.1%2C8.2%2C0%2C11.3l-75.9%2C75L364.3%2C332.5z%22%2F%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E",circle2:"data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%2096%2096%22%20%20%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%20%20%20%20%3Cstyle%20type%3D%22text%2Fcss%22%3E%20%20%20%20%20%20%20%20.st0%7B%20%20%20%20%20%20%20%20%20%20%20%20fill%3A%23fff%3B%20%20%20%20%20%20%20%20%7D%20%3C%2Fstyle%3E%20%20%20%20%3Cg%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st0%22%20d%3D%22M48%2C0A48%2C48%2C0%2C1%2C0%2C96%2C48%2C48.0512%2C48.0512%2C0%2C0%2C0%2C48%2C0Zm0%2C84A36%2C36%2C0%2C1%2C1%2C84%2C48%2C36.0393%2C36.0393%2C0%2C0%2C1%2C48%2C84Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st0%22%20d%3D%22M64.2422%2C31.7578a5.9979%2C5.9979%2C0%2C0%2C0-8.4844%2C0L48%2C39.5156l-7.7578-7.7578a5.9994%2C5.9994%2C0%2C0%2C0-8.4844%2C8.4844L39.5156%2C48l-7.7578%2C7.7578a5.9994%2C5.9994%2C0%2C1%2C0%2C8.4844%2C8.4844L48%2C56.4844l7.7578%2C7.7578a5.9994%2C5.9994%2C0%2C0%2C0%2C8.4844-8.4844L56.4844%2C48l7.7578-7.7578A5.9979%2C5.9979%2C0%2C0%2C0%2C64.2422%2C31.7578Z%22%2F%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E",close:"data:image/svg+xml,%3Csvg%20height%3D%22135.467mm%22%20style%3D%22shape-rendering%3AgeometricPrecision%3B%20text-rendering%3AgeometricPrecision%3B%20image-rendering%3AoptimizeQuality%3B%20fill-rule%3Aevenodd%3B%20clip-rule%3Aevenodd%22%20viewBox%3D%220%200%2013547%2013547%22%20width%3D%22135.467mm%22%20xml%3Aspace%3D%22preserve%22%20%20%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20%20%20%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Cstyle%20type%3D%22text%2Fcss%22%3E%20%20%20%20%20%20%20%20%20%20%20%20.fil0%20%7Bfill%3Anone%7D%20%20%20%20%20%20%20%20%20%20%20%20.fil1%20%7Bfill%3A%23fff%7D%20%20%20%20%20%20%20%20%3C%2Fstyle%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22Ebene_x0020_1%22%3E%20%20%20%20%20%20%20%20%3Cpolygon%20class%3D%22fil0%22%20points%3D%220%2C0%2013547%2C0%2013547%2C13547%200%2C13547%20%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22fil1%22%20d%3D%22M714%2012832l12118%200%200%20-12117%20-12118%200%200%2012117zm4188%20-2990l1871%20-1871%201871%201871%201197%20-1197%20-1871%20-1871%201871%20-1871%20-1197%20-1197%20-1871%201871%20-1871%20-1871%20-1197%201197%201871%201871%20-1871%201871%201197%201197z%22%2F%3
56E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E",cancel:"data:image/svg+xml,%3Csvg%20height%3D%22512px%22%20id%3D%22Layer_1%22%20style%3D%22enable-background%3Anew%200%200%20512%20512%3B%22%20version%3D%221.1%22%20viewBox%3D%220%200%20512%20512%22%20width%3D%22512px%22%20xml%3Aspace%3D%22preserve%22%20%20%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20%20%20%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Cstyle%20type%3D%22text%2Fcss%22%3E%20%20%20%20%20%20%20%20.st0%7B%20%20%20%20%20%20%20%20%20%20%20%20fill%3A%23fff%3B%20%20%20%20%20%20%20%20%7D%20%3C%2Fstyle%3E%20%20%20%20%3Cpath%20class%3D%22st0%22%20d%3D%22M443.6%2C387.1L312.4%2C255.4l131.5-130c5.4-5.4%2C5.4-14.2%2C0-19.6l-37.4-37.6c-2.6-2.6-6.1-4-9.8-4c-3.7%2C0-7.2%2C1.5-9.8%2C4%20%20L256%2C197.8L124.9%2C68.3c-2.6-2.6-6.1-4-9.8-4c-3.7%2C0-7.2%2C1.5-9.8%2C4L68%2C105.9c-5.4%2C5.4-5.4%2C14.2%2C0%2C19.6l131.5%2C130L68.4%2C387.1%20%20c-2.6%2C2.6-4.1%2C6.1-4.1%2C9.8c0%2C3.7%2C1.4%2C7.2%2C4.1%2C9.8l37.4%2C37.6c2.7%2C2.7%2C6.2%2C4.1%2C9.8%2C4.1c3.5%2C0%2C7.1-1.3%2C9.8-4.1L256%2C313.1l130.7%2C131.1%20%20c2.7%2C2.7%2C6.2%2C4.1%2C9.8%2C4.1c3.5%2C0%2C7.1-1.3%2C9.8-4.1l37.4-37.6c2.6-2.6%2C4.1-6.1%2C4.1-9.8C447.7%2C393.2%2C446.2%2C389.7%2C443.6%2C387.1z%22%2F%3E%3C%2Fsvg%3E"};function rj(e){var t,o,n=dh.useRef(null);return o=e.outsideClick,dh.useEffect((function(){function a(s){t.current&&!t.current.contains(s.target)&&o()}return document.addEventListener("mousedown",a),function(){document.removeEventListener("mousedown",a)}}),[t=n]),st.createElement("div",{ref:n},e.children)}var ch=(function(e){var t,o;function n(s){var l;return(l=e.call(this,s)||this).state={inputValue:"",options:s.options,filteredOptions:s.options,unfilteredOptions:s.options,selectedValues:Object.assign([],s.selectedValues),preSelectedValues:Object.assign([],s.selectedValues),toggleOptionsList:!1,highlightOption:s.avoidHighlightFirstOption?-1:0,showCheckbox:s.showCheckbox,keepSearchTerm:s.keepSearchTerm,groupedObject:[],closeIconType:TN[s.closeIcon]||TN.circle},l.optionTimeout=null,l.searchWrapper=st.createRef(),l.searchBox=st.createRef(),l.onChange=l.onChange.bind(xt(l)),l.onKeyPress=l.onKeyPress.bind(xt(l)),l.onFocus=l.onFocus.bind(xt(l)),l.onBlur=l.onBlur.bind(xt(l)),l.renderMultiselectContainer=l.renderMultiselectContainer.bind(xt(l)),l.renderSelectedList=l.renderSelectedList.bind(xt(l)),l.onRemoveSelectedItem=l.onRemoveSelectedItem.bind(xt(l)),l.toggelOptionList=l.toggelOptionList.bind(xt(l)),l.onArrowKeyNavigation=l.onArrowKeyNavigation.bind(xt(l)),l.onSelectItem=l.onSelectItem.bind(xt(l)),l.filterOptionsByInput=l.filterOptionsByInput.bind(xt(l)),l.removeSelectedValuesFromOptions=l.removeSelectedValuesFromOptions.bind(xt(l)),l.isSelectedValue=l.isSelectedValue.bind(xt(l)),l.fadeOutSelection=l.fadeOutSelection.bind(xt(l)),l.isDisablePreSelectedValues=l.isDisablePreSelectedValues.bind(xt(l)),l.renderGroupByOptions=l.renderGroupByOptions.bind(xt(l)),l.renderNormalOption=l.renderNormalOption.bind(xt(l)),l.listenerCallback=l.listenerCallback.bind(xt(l)),l.resetSelectedValues=l.resetSelectedValues.bind(xt(l)),l.getSelectedItems=l.getSelectedItems.bind(xt(l)),l.getSelectedItemsCount=l.getSelectedItemsCount.bind(xt(l)),l.hideOnClickOutside=l.hideOnClickOutside.bind(xt(l)),l.onCloseOptionList=l.onCloseOptionList.bind(xt(l)),l.isVisible=l.isVisible.bind(xt(l)),l}o=e,(t=n).prototype=Object.create(o.prototype),t.prototype.constructor=t,_N(t,o);var a=n.prototype;return a.initialSetValue=function(){var s=this.props,l=s.groupBy,p=this.state.options;s.showCheckbox||s.singleSelect||this.removeSelectedValuesFromOptions(!1),l&&this.groupByOptions(p)},a.resetSelectedValues=function(){var s=this,l=this.state.unfilteredOptions;return new Promise((function(p){s.setState({selectedValues:[],preSelectedValues:[],options:l,filteredOptions:l},(function(){p(),s.initialSetValue()}))}))},a.getSelectedItems=function(){return this.state.selectedValues},a.getSelectedItemsCount=function(){return this.state.selectedValues.length},a.componentDidMount=function(){this.initialSetValue(),this.searchWrapper.current.addEventListener("click",this.listenerCallback)},a.componentDidUpdate=function(s){var l=this.props,p=l.options,d=l.selectedValues,u=s.selectedValues;JSON.stringify(s.options)!==JSON.stringify(p)&&this.setState({options:p,filteredOptions:p,unfilteredOptions:p},this.initialSetValue),JSON.stringify(u)!==JSON.stringify(d)&&this.setState({selectedValues:Object.assign([],d),preSelectedValues:Object.assign([],d)},this.initialSetValue)},a.listenerCallback=function(){this.searchBox.current.focus()},a.componentWillUnmount=function(){this.optionTimeout&&clearTimeout(this.optionTimeout),this.searchWra
56pper.current.removeEventListener("click",this.listenerCallback)},a.removeSelectedValuesFromOptions=function(s){var l=this.props,p=l.isObject,d=l.displayValue,u=l.groupBy,y=this.state,m=y.selectedValues,g=m===void 0?[]:m,f=y.unfilteredOptions;if(!s&&u&&this.groupByOptions(y.options),g.length||s){if(p){var b=f.filter((function(C){return g.findIndex((function(I){return I[d]===C[d]}))===-1}));return u&&this.groupByOptions(b),void this.setState({options:b,filteredOptions:b},this.filterOptionsByInput)}var S=f.filter((function(C){return g.indexOf(C)===-1}));this.setState({options:S,filteredOptions:S},this.filterOptionsByInput)}},a.groupByOptions=function(s){var l=this.props.groupBy,p=s.reduce((function(d,u){var y=u[l]||"Others";return d[y]=d[y]||[],d[y].push(u),d}),Object.create({}));this.setState({groupedObject:p})},a.onChange=function(s){var l=this.props.onSearch;this.setState({inputValue:s.target.value},this.filterOptionsByInput),l&&l(s.target.value)},a.onKeyPress=function(s){var l=this.props.onKeyPressFn;l&&l(s,s.target.value)},a.filterOptionsByInput=function(){var s,l=this,p=this.state,d=p.inputValue,u=this.props,y=u.displayValue;s=p.filteredOptions.filter(u.isObject?function(m){return l.matchValues(m[y],d)}:function(m){return l.matchValues(m,d)}),this.groupByOptions(s),this.setState({options:s})},a.matchValues=function(s,l){return this.props.caseSensitiveSearch?s.indexOf(l)>-1:s.toLowerCase?s.toLowerCase().indexOf(l.toLowerCase())>-1:s.toString().indexOf(l)>-1},a.onArrowKeyNavigation=function(s){var l=this.state,p=l.options,d=l.highlightOption,u=l.toggleOptionsList,y=l.selectedValues;if(s.keyCode!==8||l.inputValue||this.props.disablePreSelectedValues||!y.length||this.onRemoveSelectedItem(y.length-1),p.length){if(s.keyCode===38)this.setState(d>0?function(m){return{highlightOption:m.highlightOption-1}}:{highlightOption:p.length-1});else if(s.keyCode===40)this.setState(d<p.length-1?function(m){return{highlightOption:m.highlightOption+1}}:{highlightOption:0});else if(s.key==="Enter"&&p.length&&u){if(d===-1)return;this.onSelectItem(p[d])}}},a.onRemoveSelectedItem=function(s){var l,p=this,d=this.state.selectedValues,u=this.props,y=u.onRemove,m=u.showCheckbox,g=u.displayValue;l=u.isObject?d.findIndex((function(f){return f[g]===s[g]})):d.indexOf(s),d.splice(l,1),y(d,s),this.setState({selectedValues:d},(function(){m||p.removeSelectedValuesFromOptions(!0)})),this.props.closeOnSelect||this.searchBox.current.focus()},a.onSelectItem=function(s){var l=this,p=this.state.selectedValues,d=this.props,u=d.selectionLimit,y=d.onSelect,m=d.singleSelect,g=d.showCheckbox;if(this.state.keepSearchTerm||this.setState({inputValue:""}),m)return this.onSingleSelect(s),void y([s],s);this.isSelectedValue(s)?this.onRemoveSelectedItem(s):u!=p.length&&(p.push(s),y(p,s),this.setState({selectedValues:p},(function(){g?l.filterOptionsByInput():l.removeSelectedValuesFromOptions(!0)})),this.props.closeOnSelect||this.searchBox.current.focus())},a.onSingleSelect=function(s){this.setState({selectedValues:[s],toggleOptionsList:!1})},a.isSelectedValue=function(s){var l=this.props,p=l.displayValue,d=this.state.selectedValues;return l.isObject?d.filter((function(u){return u[p]===s[p]})).length>0:d.filter((function(u){return u===s})).length>0},a.renderOptionList=function(){var s=this.props,l=s.groupBy,p=s.style,d=s.emptyRecordMsg,u=s.loadingMessage,y=u===void 0?"loading...":u,m=this.state.options;return s.loading?st.createElement("ul",{className:"optionContainer",style:p.optionContainer},typeof y=="string"&&st.createElement("span",{style:p.loadingMessage,className:"notFound"},y),typeof y!="string"&&y):st.createElement("ul",{className:"optionContainer",style:p.optionContainer},m.length===0&&st.createElement("span",{style:p.notFound,className:"notFound"},d),l?this.renderGroupByOptions():this.renderNormalOption())},a.renderGroupByOptions=function(){var s=this,l=this.props,p=l.isObject,d=p!==void 0&&p,u=l.displayValue,y=l.showCheckbox,m=l.style,g=l.singleSelect,f=this.state.groupedObject;return Object.keys(f).map((function(b){return st.createElement(st.Fragment,{key:b},st.createElement("li",{className:"groupHeading",style:m.groupHeading},b),f[b].map((function(S,C){var I=s.isSelectedValue(S);return st.createElement("li",{key:"option"+C,style:m.option,className:"groupChildEle option "+(I?"selected":"")+" "+(s.fadeOutSelection(S)?"disableSelection":"")+" "+(s.isDisablePreSelectedValues(S)?"disableSelection":""),onClick:function(){return s.onSelectItem(S)}},y&&!g&&st.createElement("input",{type:"checkbox",className:"checkbox",readOnly:!0,checked:I}),s.props.optionValueDecorator(d?S[u]:(S||"").toString(),S))})))}))},a.renderNormalOption=function(){var s=this,l=this.props,p=l.isObject,d=p!==void 0&&p,u=l.displayValue,y=l.showCheckbox,m=l.style,g=l.singleSelect,f=this.state.highlightOption;return this.state.options.map((function(b,S){var C=s.isSelectedValue(b);return st.createElement("li",{key:"option"+S,style:m.option,className:"option "+(C?"selected":"")+" "+(f===S?"highlightOption highlight":"")+" "+(s.fadeOutSelection(b)?"disableSelection":"")+" "+(s.isDisablePreSelectedValues(b)?"disableSelection":""),onClick:function(){return s.onSelectItem(b)}},y&&!g&&st.createElement("input",{type:"checkbox",readOnly:!0,className:"checkbox",checked:C}),s.props.optionValueDecorator(d?b[u]:(b||"").toString(),b))}))},a.renderSelectedList=function(){var s=this,l=this.props,p=l.isObject,d=p!==void 0&&p,u=l.displayValue,y=l.style,m=l.singleSelect,g=l.customCloseIcon,f=this.state,b=f.closeIconType;return f.selectedValues.map((function(S,C){return st.createElement("span",{className:"chip "+(m&&"singleChip")+" "+(s.isDisablePreSelectedValues(S)&&"disableSelection"),key:C,style:y.chips},s.props.selectedValueDecorator(d?S[u]:(S||"").toString(),S),!s.isDisablePreSelectedValues(S)&&(g?st.createElement("i",{className:"custom-close",onClick:function(){return s.onRemoveSelectedItem(S)}},g):st.createElement("img",{className:"icon_cancel closeIcon",src:b,onClick:function(){return s.onRemoveSelectedItem(S)}})))}))},a.isDisablePreSelectedValues=function(s){var l=this.props,p=l.displayValue,d=this.state.preSelectedValues;return!(!l.disablePreSelectedValues||!d.length)&&(l.isObject?d.filter((function(u){return u[p]===s[p]})).length>0:d.filter((function(u){return u===s})).length>0)},a.fadeOutSelection=function(s){var l=this.props,p=l.selectionLimit;if(!l.singleSelect){var d=this.state.selectedValues;return p!=-1&&p==d.length&&(p==d.length?!l.showCheckbox||!this.isSelectedValue(s):void 0)}},a.toggelOptionList=function(){this.setState({toggleOptionsList:!this.state.toggleOptionsList,highlightOption:this.props.avoidHighlightFirstOption?-1:0})},a.onCloseOptionList=function(){this.setState({toggleOptionsList:!1,highlightOption:this.props.avoidHighlightFirstOption?-1:0,inputValue:""})},a.onFocus=function(){this.state.toggleOptionsList?clearTimeout(this.optionTimeout):this.toggelOptionList()},a.onBlur=function(){this.setState({inputValue:""},this.filterOptionsByInput),this.optionTimeout=setTimeout(this.onCloseOptionList,250)},a.isVisible=function(s){return!!s&&!!(s.offsetWidth||s.offsetHeight||s.getClientRects().length)},a.hideOnClickOutside=function(){var s=this,l=document.getElementsByClassName("multiselect-container")[0];document.addEventListener("click",(function(p){l&&!l.contains(p.target)&&s.isVisible(l)&&s.toggelOptionList()}))},a.renderMultiselectContainer=function(){var s=this.state,l=s.inputValue,p=s.toggleOptionsList,d=s.selectedValues,u=this.props,y=u.placeholder,m=u.style,g=u.singleSelect,f=u.id,b=u.name,S=u.hidePlaceholder,C=u.disable,I=u.showArrow,k=u.customArrow;return st.createElement("div",{className:"multiselect-container multiSelectContainer "+(C?"disable_ms":"")+" "+(u.className||""),id:f||"multiselectContainerReact",style:m.multiselectContainer}
56,st.createElement("div",{className:"search-wrapper searchWrapper "+(g?"singleSelect":""),ref:this.searchWrapper,style:m.searchBox,onClick:g?this.toggelOptionList:function(){}},!u.hideSelectedList&&this.renderSelectedList(),st.createElement("input",{type:"text",ref:this.searchBox,className:"searchBox "+(g&&d.length?"display-none":""),id:(f||"search")+"_input",name:(b||"search_name")+"_input",onChange:this.onChange,onKeyPress:this.onKeyPress,value:l,onFocus:this.onFocus,onBlur:this.onBlur,placeholder:g&&d.length||S&&d.length?"":y,onKeyDown:this.onArrowKeyNavigation,style:m.inputField,autoComplete:"off",disabled:g||C}),(g||I)&&st.createElement(st.Fragment,null,k?st.createElement("span",{className:"icon_down_dir"},k):st.createElement("img",{src:"data:image/svg+xml,%3Csvg%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20width%3D%2232%22%20%20%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%20%20%20%20%3Cg%20id%3D%22background%22%3E%20%20%20%20%20%20%20%20%3Crect%20fill%3D%22none%22%20height%3D%2232%22%20width%3D%2232%22%2F%3E%20%20%20%20%3C%2Fg%3E%20%20%20%20%3Cg%20id%3D%22arrow_x5F_down%22%3E%20%20%20%20%20%20%20%20%3Cpolygon%20points%3D%222.002%2C10%2016.001%2C24%2030.002%2C10%20%20%22%2F%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E",className:"icon_cancel icon_down_dir"}))),st.createElement("div",{className:"optionListContainer "+(p?"displayBlock":"displayNone"),onMouseDown:function(v){v.preventDefault()}},this.renderOptionList()))},a.render=function(){return st.createElement(rj,{outsideClick:this.onCloseOptionList},this.renderMultiselectContainer())},n})(st.Component);ch.defaultProps={options:[],disablePreSelectedValues:!1,selectedValues:[],isObject:!0,displayValue:"model",showCheckbox:!1,selectionLimit:-1,placeholder:"Select",groupBy:"",style:{},emptyRecordMsg:"No Options Available",onSelect:function(){},onRemove:function(){},onKeyPressFn:function(){},closeIcon:"circle2",singleSelect:!1,caseSensitiveSearch:!1,id:"",name:"",closeOnSelect:!0,avoidHighlightFirstOption:!1,hidePlaceholder:!1,showArrow:!1,keepSearchTerm:!1,customCloseIcon:"",className:"",customArrow:void 0,selectedValueDecorator:function(e){return e},optionValueDecorator:function(e){return e}},cy.Multiselect=ch,cy.default=ch});var PN=xe((axe,DN)=>{"use strict";DN.exports=wN()});var pE=xe((CIe,lE)=>{"use strict";var Ej=typeof Element<"u",Rj=typeof Map=="function",Fj=typeof Set=="function",Bj=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function Cy(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var o,n,a;if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!Cy(e[n],t[n]))return!1;return!0}var s;if(Rj&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(s=e.entries();!(n=s.next()).done;)if(!t.has(n.value[0]))return!1;for(s=e.entries();!(n=s.next()).done;)if(!Cy(n.value[1],t.get(n.value[0])))return!1;return!0}if(Fj&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(s=e.entries();!(n=s.next()).done;)if(!t.has(n.value[0]))return!1;return!0}if(Bj&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(o=e.length,o!=t.length)return!1;for(n=o;n--!==0;)if(e[n]!==t[n])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(a=Object.keys(e),o=a.length,o!==Object.keys(t).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[n]))return!1;if(Ej&&e instanceof Element)return!1;for(n=o;n--!==0;)if(!((a[n]==="_owner"||a[n]==="__v"||a[n]==="__o")&&e.$$typeof)&&!Cy(e[a[n]],t[a[n]]))return!1;return!0}return e!==e&&t!==t}lE.exports=function(t,o){try{return Cy(t,o)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}});var dE=xe((xIe,cE)=>{"use strict";var $j=function(e,t,o,n,a,s,l,p){if(!e){var d;if(t===void 0)d=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[o,n,a,s,l,p],y=0;d=new Error(t.replace(/%s/g,function(){return u[y++]})),d.name="Invariant Violation"}throw d.framesToPop=1,d}};cE.exports=$j});var yE=xe((vIe,uE)=>{"use strict";uE.exports=function(t,o,n,a){var s=n?n.call(a,t,o):void 0;if(s!==void 0)return!!s;
56if(t===o)return!0;if(typeof t!="object"||!t||typeof o!="object"||!o)return!1;var l=Object.keys(t),p=Object.keys(o);if(l.length!==p.length)return!1;for(var d=Object.prototype.hasOwnProperty.bind(o),u=0;u<l.length;u++){var y=l[u];if(!d(y))return!1;var m=t[y],g=o[y];if(s=n?n.call(a,m,g,y):void 0,s===!1||s===void 0&&m!==g)return!1}return!0}});var ME=xe((wIe,kE)=>{"use strict";var Hs=1e3,Vs=Hs*60,Os=Vs*60,ki=Os*24,Xj=ki*7,Jj=ki*365.25;kE.exports=function(e,t){t=t||{};var o=typeof e;if(o==="string"&&e.length>0)return Zj(e);if(o==="number"&&isFinite(e))return t.long?tY(e):eY(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function Zj(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var o=parseFloat(t[1]),n=(t[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return o*Jj;case"weeks":case"week":case"w":return o*Xj;case"days":case"day":case"d":return o*ki;case"hours":case"hour":case"hrs":case"hr":case"h":return o*Os;case"minutes":case"minute":case"mins":case"min":case"m":return o*Vs;case"seconds":case"second":case"secs":case"sec":case"s":return o*Hs;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return o;default:return}}}}function eY(e){var t=Math.abs(e);return t>=ki?Math.round(e/ki)+"d":t>=Os?Math.round(e/Os)+"h":t>=Vs?Math.round(e/Vs)+"m":t>=Hs?Math.round(e/Hs)+"s":e+"ms"}function tY(e){var t=Math.abs(e);return t>=ki?My(e,t,ki,"day"):t>=Os?My(e,t,Os,"hour"):t>=Vs?My(e,t,Vs,"minute"):t>=Hs?My(e,t,Hs,"second"):e+" ms"}function My(e,t,o,n){var a=t>=o*1.5;return Math.round(e/o)+" "+n+(a?"s":"")}});var TE=xe((DIe,AE)=>{"use strict";function oY(e){o.debug=o,o.default=o,o.coerce=d,o.disable=l,o.enable=a,o.enabled=p,o.humanize=ME(),o.destroy=u,Object.keys(e).forEach(y=>{o[y]=e[y]}),o.names=[],o.skips=[],o.formatters={};function t(y){let m=0;for(let g=0;g<y.length;g++)m=(m<<5)-m+y.charCodeAt(g),m|=0;return o.colors[Math.abs(m)%o.colors.length]}o.selectColor=t;function o(y){let m,g=null,f,b;function S(...C){if(!S.enabled)return;let I=S,k=Number(new Date),v=k-(m||k);I.diff=v,I.prev=m,I.curr=k,m=k,C[0]=o.coerce(C[0]),typeof C[0]!="string"&&C.unshift("%O");let w=0;C[0]=C[0].replace(/%([a-zA-Z%])/g,(D,M)=>{if(D==="%%")return"%";w++;let A=o.formatters[M];if(typeof A=="function"){let N=C[w];D=A.call(I,N),C.splice(w,1),w--}return D}),o.formatArgs.call(I,C),(I.log||o.log).apply(I,C)}return S.namespace=y,S.useColors=o.useColors(),S.color=o.selectColor(y),S.extend=n,S.destroy=o.destroy,Object.defineProperty(S,"enabled",{enumerable:!0,configurable:!1,get:()=>g!==null?g:(f!==o.namespaces&&(f=o.namespaces,b=o.enabled(y)),b),set:C=>{g=C}}),typeof o.init=="function"&&o.init(S),S}function n(y,m){let g=o(this.namespace+(typeof m>"u"?":":m)+y);return g.log=this.log,g}function a(y){o.save(y),o.namespaces=y,o.names=[],o.skips=[];let m=(typeof y=="string"?y:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let g of m)g[0]==="-"?o.skips.push(g.slice(1)):o.names.push(g)}function s(y,m){let g=0,f=0,b=-1,S=0;for(;g<y.length;)if(f<m.length&&(m[f]===y[g]||m[f]==="*"))m[f]==="*"?(b=f,S=g,f++):(g++,f++);else if(b!==-1)f=b+1,S++,g=S;else return!1;for(;f<m.length&&m[f]==="*";)f++;return f===m.length}function l(){let y=[...o.names,...o.skips.map(m=>"-"+m)].join(",");return o.enable(""),y}function p(y){for(let m of o.skips)if(s(y,m))return!1;for(let m of o.names)if(s(y,m))return!0;return!1}function d(y){return y instanceof Error?y.stack||y.message:y}function u(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return o.enable(o.load()),o}AE.exports=oY});var _E=xe((Zo,Ay)=>{"use strict";Zo.formatArgs=rY;Zo.save=aY;Zo.load=iY;Zo.useColors=nY;Zo.storage=sY();Zo.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();Zo.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33
56CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function nY(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function rY(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+Ay.exports.humanize(this.diff),!this.useColors)return;let t="color: "+this.color;e.splice(1,0,t,"color: inherit");let o=0,n=0;e[0].replace(/%[a-zA-Z%]/g,a=>{a!=="%%"&&(o++,a==="%c"&&(n=o))}),e.splice(n,0,t)}Zo.log=console.debug||console.log||(()=>{});function aY(e){try{e?Zo.storage.setItem("debug",e):Zo.storage.removeItem("debug")}catch{}}function iY(){let e;try{e=Zo.storage.getItem("debug")||Zo.storage.getItem("DEBUG")}catch{}return!e&&typeof process<"u"&&"env"in process&&(e=process.env.DEBUG),e}function sY(){try{return localStorage}catch{}}Ay.exports=TE()(Zo);var{formatters:lY}=Ay.exports;lY.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}});var PE=xe((PIe,DE)=>{"use strict";var wE=_E()("jsonp");DE.exports=dY;var pY=0;function cY(){}function dY(e,t,o){typeof t=="function"&&(o=t,t={}),t||(t={});var n=t.prefix||"__jp",a=t.name||n+pY++,s=t.param||"callback",l=t.timeout!=null?t.timeout:6e4,p=encodeURIComponent,d=document.getElementsByTagName("script")[0]||document.head,u,y;l&&(y=setTimeout(function(){m(),o&&o(new Error("Timeout"))},l));function m(){u.parentNode&&u.parentNode.removeChild(u),window[a]=cY,y&&clearTimeout(y)}function g(){window[a]&&m()}return window[a]=function(f){wE("jsonp got",f),m(),o&&o(null,f)},e+=(~e.indexOf("?")?"&":"?")+s+"="+p(a),e=e.replace("?&","?"),wE('jsonp req "%s"',e),u=document.createElement("script"),u.src=e,d.parentNode.insertBefore(u,d),g}});var wC=xe(A5=>{"use strict";var Ys=function(){return Ys=Object.assign||function(t){for(var o,n=1,a=arguments.length;n<a;n++){o=arguments[n];for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&(t[s]=o[s])}return t},Ys.apply(this,arguments)},vr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function VX(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var He={},Di={};Object.defineProperty(Di,"__esModule",{value:!0});Di.BLOCKS=void 0;var f5;(function(e){e.DOCUMENT="document",e.PARAGRAPH="paragraph",e.HEADING_1="heading-1",e.HEADING_2="heading-2",e.HEADING_3="heading-3",e.HEADING_4="heading-4",e.HEADING_5="heading-5",e.HEADING_6="heading-6",e.OL_LIST="ordered-list",e.UL_LIST="unordered-list",e.LIST_ITEM="list-item",e.HR="hr",e.QUOTE="blockquote",e.EMBEDDED_ENTRY="embedded-entry-block",e.EMBEDDED_ASSET="embedded-asset-block",e.EMBEDDED_RESOURCE="embedded-resource-block",e.TABLE="table",e.TABLE_ROW="table-row",e.TABLE_CELL="table-cell",e.TABLE_HEADER_CELL="table-header-cell"})(f5||(Di.BLOCKS=f5={}));var Xs={};Object.defineProperty(Xs,"__esModule",{value:!0});Xs.INLINES=void 0;var b5;(function(e){e.ASSET_HYPERLINK="asset-hyperlink",e.EMBEDDED_ENTRY="embedded-entry-inline",e.EMBEDDED_RESOURCE="embedded-resource-inline",e.ENTRY_HYPERLINK="entry-hyperlink",e.HYPERLINK="hyperlink",e.RESOURCE_HYPERLINK="resource-hyperlink"})(b5||(Xs.INLINES=b5={}));var dc={};Object.defineProperty(dc,"__esModule",{value:!0});dc.MARKS=void 0;var S5;(function(e){e.BOLD="bold",e.ITALIC="italic",e.UNDERLINE="underline",e.CODE="code",e.SUPERSCRIPT="superscript",e.SUBSCRIPT="subscript",e.STRIKETHROUGH="str
56ikethrough"})(S5||(dc.MARKS=S5={}));var x5={};(function(e){var t=vr&&vr.__spreadArray||function(l,p,d){if(d||arguments.length===2)for(var u=0,y=p.length,m;u<y;u++)(m||!(u in p))&&(m||(m=Array.prototype.slice.call(p,0,u)),m[u]=p[u]);return l.concat(m||Array.prototype.slice.call(p))},o;Object.defineProperty(e,"__esModule",{value:!0}),e.V1_MARKS=e.V1_NODE_TYPES=e.TEXT_CONTAINERS=e.HEADINGS=e.CONTAINERS=e.VOID_BLOCKS=e.TABLE_BLOCKS=e.LIST_ITEM_BLOCKS=e.TOP_LEVEL_BLOCKS=void 0;var n=Di,a=Xs,s=dc;e.TOP_LEVEL_BLOCKS=[n.BLOCKS.PARAGRAPH,n.BLOCKS.HEADING_1,n.BLOCKS.HEADING_2,n.BLOCKS.HEADING_3,n.BLOCKS.HEADING_4,n.BLOCKS.HEADING_5,n.BLOCKS.HEADING_6,n.BLOCKS.OL_LIST,n.BLOCKS.UL_LIST,n.BLOCKS.HR,n.BLOCKS.QUOTE,n.BLOCKS.EMBEDDED_ENTRY,n.BLOCKS.EMBEDDED_ASSET,n.BLOCKS.EMBEDDED_RESOURCE,n.BLOCKS.TABLE],e.LIST_ITEM_BLOCKS=[n.BLOCKS.PARAGRAPH,n.BLOCKS.HEADING_1,n.BLOCKS.HEADING_2,n.BLOCKS.HEADING_3,n.BLOCKS.HEADING_4,n.BLOCKS.HEADING_5,n.BLOCKS.HEADING_6,n.BLOCKS.OL_LIST,n.BLOCKS.UL_LIST,n.BLOCKS.HR,n.BLOCKS.QUOTE,n.BLOCKS.EMBEDDED_ENTRY,n.BLOCKS.EMBEDDED_ASSET,n.BLOCKS.EMBEDDED_RESOURCE],e.TABLE_BLOCKS=[n.BLOCKS.TABLE,n.BLOCKS.TABLE_ROW,n.BLOCKS.TABLE_CELL,n.BLOCKS.TABLE_HEADER_CELL],e.VOID_BLOCKS=[n.BLOCKS.HR,n.BLOCKS.EMBEDDED_ENTRY,n.BLOCKS.EMBEDDED_ASSET,n.BLOCKS.EMBEDDED_RESOURCE],e.CONTAINERS=(o={},o[n.BLOCKS.OL_LIST]=[n.BLOCKS.LIST_ITEM],o[n.BLOCKS.UL_LIST]=[n.BLOCKS.LIST_ITEM],o[n.BLOCKS.LIST_ITEM]=e.LIST_ITEM_BLOCKS,o[n.BLOCKS.QUOTE]=[n.BLOCKS.PARAGRAPH],o[n.BLOCKS.TABLE]=[n.BLOCKS.TABLE_ROW],o[n.BLOCKS.TABLE_ROW]=[n.BLOCKS.TABLE_CELL,n.BLOCKS.TABLE_HEADER_CELL],o[n.BLOCKS.TABLE_CELL]=[n.BLOCKS.PARAGRAPH,n.BLOCKS.UL_LIST,n.BLOCKS.OL_LIST],o[n.BLOCKS.TABLE_HEADER_CELL]=[n.BLOCKS.PARAGRAPH],o),e.HEADINGS=[n.BLOCKS.HEADING_1,n.BLOCKS.HEADING_2,n.BLOCKS.HEADING_3,n.BLOCKS.HEADING_4,n.BLOCKS.HEADING_5,n.BLOCKS.HEADING_6],e.TEXT_CONTAINERS=t([n.BLOCKS.PARAGRAPH],e.HEADINGS,!0),e.V1_NODE_TYPES=[n.BLOCKS.DOCUMENT,n.BLOCKS.PARAGRAPH,n.BLOCKS.HEADING_1,n.BLOCKS.HEADING_2,n.BLOCKS.HEADING_3,n.BLOCKS.HEADING_4,n.BLOCKS.HEADING_5,n.BLOCKS.HEADING_6,n.BLOCKS.OL_LIST,n.BLOCKS.UL_LIST,n.BLOCKS.LIST_ITEM,n.BLOCKS.HR,n.BLOCKS.QUOTE,n.BLOCKS.EMBEDDED_ENTRY,n.BLOCKS.EMBEDDED_ASSET,a.INLINES.HYPERLINK,a.INLINES.ENTRY_HYPERLINK,a.INLINES.ASSET_HYPERLINK,a.INLINES.EMBEDDED_ENTRY,"text"],e.V1_MARKS=[s.MARKS.BOLD,s.MARKS.CODE,s.MARKS.ITALIC,s.MARKS.UNDERLINE]})(x5);var v5={};Object.defineProperty(v5,"__esModule",{value:!0});var I5={};Object.defineProperty(I5,"__esModule",{value:!0});var Sm={};Object.defineProperty(Sm,"__esModule",{value:!0});Sm.EMPTY_DOCUMENT=void 0;var h5=Di;Sm.EMPTY_DOCUMENT={nodeType:h5.BLOCKS.DOCUMENT,data:{},content:[{nodeType:h5.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]};var uc={};Object.defineProperty(uc,"__esModule",{value:!0});uc.isInline=zX;uc.isBlock=UX;uc.isText=WX;var OX=Di,GX=Xs;function k5(e,t){for(var o=0,n=Object.keys(e);o<n.length;o++){var a=n[o];if(t===e[a])return!0}return!1}function zX(e){return k5(GX.INLINES,e.nodeType)}function UX(e){return k5(OX.BLOCKS,e.nodeType)}function WX(e){return e.nodeType==="text"}function qX(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var _C={};Object.defineProperty(_C,"__esModule",{value:!0});_C.getSchemaWithNodeType=QX;function QX(e){try{return qX("./generated/".concat(e,".json"))}catch{throw new Error('Schema for nodeType "'.concat(e,'" was not found.'))}}(function(e){var t=vr&&vr.__createBinding||(Object.create?(function(m,g,f,b){b===void 0&&(b=f);var S=Object.getOwnPropertyDescriptor(g,f);(!S||("get"in S?!g.__esModule:S.writable||S.configurable))&&(S={enumerable:!0,get:function(){return g[f]}}),Object.defineProperty(m,b,S)}):(function(m,g,f,b){b===void 0&&(b=f),m[b]=g[f]})),o=vr&&vr.__setModuleDefault||(Object.create?(function(m,g){Object.defineProperty(m,"default",{enumerable:!0,value:g})}):function(m,g){m.default=g}),n=vr&&vr.__exportStar||function(m,g){for(var f in m)f!=="default"&&!Object.prototype.hasOwnProperty.call(g,f)&&t(g,m,f)}
56,a=vr&&vr.__importStar||function(m){if(m&&m.__esModule)return m;var g={};if(m!=null)for(var f in m)f!=="default"&&Object.prototype.hasOwnProperty.call(m,f)&&t(g,m,f);return o(g,m),g};Object.defineProperty(e,"__esModule",{value:!0}),e.getSchemaWithNodeType=e.helpers=e.EMPTY_DOCUMENT=e.MARKS=e.INLINES=e.BLOCKS=void 0;var s=Di;Object.defineProperty(e,"BLOCKS",{enumerable:!0,get:function(){return s.BLOCKS}});var l=Xs;Object.defineProperty(e,"INLINES",{enumerable:!0,get:function(){return l.INLINES}});var p=dc;Object.defineProperty(e,"MARKS",{enumerable:!0,get:function(){return p.MARKS}}),n(x5,e),n(v5,e),n(I5,e);var d=Sm;Object.defineProperty(e,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return d.EMPTY_DOCUMENT}});var u=a(uc);e.helpers=u;var y=_C;Object.defineProperty(e,"getSchemaWithNodeType",{enumerable:!0,get:function(){return y.getSchemaWithNodeType}})})(He);var KX=/["'&<>]/,jX=YX;function YX(e){var t=""+e,o=KX.exec(t);if(!o)return t;var n,a="",s=0,l=0;for(s=o.index;s<t.length;s++){switch(t.charCodeAt(s)){case 34:n=""";break;case 38:n="&";break;case 39:n="'";break;case 60:n="<";break;case 62:n=">";break;default:continue}l!==s&&(a+=t.substring(l,s)),l=s+1,a+=n}return l!==s?a+t.substring(l,s):a}var cc=VX(jX),ut,Zr,XX=function(e){return'"'.concat(e.replace(/"/g,"""),'"')},JX=(ut={},ut[He.BLOCKS.PARAGRAPH]=function(e,t){return"<p>".concat(t(e.content),"</p>")},ut[He.BLOCKS.HEADING_1]=function(e,t){return"<h1>".concat(t(e.content),"</h1>")},ut[He.BLOCKS.HEADING_2]=function(e,t){return"<h2>".concat(t(e.content),"</h2>")},ut[He.BLOCKS.HEADING_3]=function(e,t){return"<h3>".concat(t(e.content),"</h3>")},ut[He.BLOCKS.HEADING_4]=function(e,t){return"<h4>".concat(t(e.content),"</h4>")},ut[He.BLOCKS.HEADING_5]=function(e,t){return"<h5>".concat(t(e.content),"</h5>")},ut[He.BLOCKS.HEADING_6]=function(e,t){return"<h6>".concat(t(e.content),"</h6>")},ut[He.BLOCKS.EMBEDDED_ENTRY]=function(e,t){return"<div>".concat(t(e.content),"</div>")},ut[He.BLOCKS.EMBEDDED_RESOURCE]=function(e,t){return"<div>".concat(t(e.content),"</div>")},ut[He.BLOCKS.UL_LIST]=function(e,t){return"<ul>".concat(t(e.content),"</ul>")},ut[He.BLOCKS.OL_LIST]=function(e,t){return"<ol>".concat(t(e.content),"</ol>")},ut[He.BLOCKS.LIST_ITEM]=function(e,t){return"<li>".concat(t(e.content),"</li>")},ut[He.BLOCKS.QUOTE]=function(e,t){return"<blockquote>".concat(t(e.content),"</blockquote>")},ut[He.BLOCKS.HR]=function(){return"<hr/>"},ut[He.BLOCKS.TABLE]=function(e,t){return"<table>".concat(t(e.content),"</table>")},ut[He.BLOCKS.TABLE_ROW]=function(e,t){return"<tr>".concat(t(e.content),"</tr>")},ut[He.BLOCKS.TABLE_HEADER_CELL]=function(e,t){return"<th>".concat(t(e.content),"</th>")},ut[He.BLOCKS.TABLE_CELL]=function(e,t){return"<td>".concat(t(e.content),"</td>")},ut[He.INLINES.ASSET_HYPERLINK]=function(e){return TC(He.INLINES.ASSET_HYPERLINK,e)},ut[He.INLINES.ENTRY_HYPERLINK]=function(e){return TC(He.INLINES.ENTRY_HYPERLINK,e)},ut[He.INLINES.RESOURCE_HYPERLINK]=function(e){return C5(He.INLINES.RESOURCE_HYPERLINK,e)},ut[He.INLINES.EMBEDDED_ENTRY]=function(e){return TC(He.INLINES.EMBEDDED_ENTRY,e)},ut[He.INLINES.EMBEDDED_RESOURCE]=function(e){return C5(He.INLINES.EMBEDDED_RESOURCE,e)},ut[He.INLINES.HYPERLINK]=function(e,t){var o=typeof e.data.uri=="string"?e.data.uri:"";return"<a href=".concat(XX(o),">").concat(t(e.content),"</a>")},ut),ZX=(Zr={},Zr[He.MARKS.BOLD]=function(e){return"<b>".concat(e,"</b>")},Zr[He.MARKS.ITALIC]=function(e){return"<i>".concat(e,"</i>")},Zr[He.MARKS.UNDERLINE]=function(e){return"<u>".concat(e,"</u>")},Zr[He.MARKS.CODE]=function(e){return"<code>".concat(e,"</code>")},Zr[He.MARKS.SUPERSCRIPT]=function(e){return"<sup>".concat(e,"</sup>")},Zr[He.MARKS.SUBSCRIPT]=function(e){return"<sub>".concat(e,"</sub>")},Zr[He.MARKS.STRIKETHROUGH]=function(e){return"<s>".concat(e,"</s>")},Zr),TC=function(e,t){return"<span>type: ".concat(cc(e)," id: ").concat(cc(t.data.target.sys.id),"</span>")},C5=function(e,t){return"<span>type: ".concat(cc(e)," urn: ").concat(cc(t.data.target.sys.urn),"</span>")};function eJ(e,t){return t===void 0&&(t={}),!e||!e.content?"":M5(e.content,{renderNode:Ys(Ys({},JX),t.renderNode),renderMark:Ys(Ys({},ZX),t.renderMark),preserveWhitespace:t.preserveWhitespace})}function M5(e,t){var o=t.renderNode,n=t.renderMark,a=t.preserveWhitespace;return e.map(function(s){return tJ(s,{renderNode:o,renderMark:n,preserveWhitespace:a})}).join("")}function tJ(e,t){var o=t.renderNode,n=t.renderMark,a=t.preserveWhitespace;if(He.helpers.isText(e)){var s=cc(e.value);return a&&(s=s.replace(/\n/g,"<br/>").replace(/ {2,}/g,function(p){return" ".repeat(p.length)})),e.marks.length>0?e.marks.reduce(function(p,d){return n[d.type]?n[d.type](p):p},s):s}else{var l=function(p){return M5(p,{renderMark:n,renderNode:o,preserveWhitespace:a})};return!e.nodeType||!o[e.nodeType]?"":o[e.nodeType](e,l)}}A5.documentToHtmlString=eJ});var OL=xe((a$e,VL)=>{"use strict";var UJ={}.toString;VL.exports=Array.isArray||function(e){return UJ.call(e)=="[object Array]"}});var WL=xe((i$e,el)=>{"use strict";var Vm=OL();el.exports=UL;el.exports.parse=tx;el.exports.compile=QJ;el.exports.tokensToFunction=GL;el.exports.tokensToRegExp=zL;
56var WJ=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function tx(e,t){for(var o=[],n=0,a=0,s="",l=t&&t.delimiter||"/",p;(p=WJ.exec(e))!=null;){var d=p[0],u=p[1],y=p.index;if(s+=e.slice(a,y),a=y+d.length,u){s+=u[1];continue}var m=e[a],g=p[2],f=p[3],b=p[4],S=p[5],C=p[6],I=p[7];s&&(o.push(s),s="");var k=g!=null&&m!=null&&m!==g,v=C==="+"||C==="*",w=C==="?"||C==="*",_=g||l,D=b||S,M=g||(typeof o[o.length-1]=="string"?o[o.length-1]:"");o.push({name:f||n++,prefix:g||"",delimiter:_,optional:w,repeat:v,partial:k,asterisk:!!I,pattern:D?YJ(D):I?".*":qJ(_,M)})}return a<e.length&&(s+=e.substr(a)),s&&o.push(s),o}function qJ(e,t){return!t||t.indexOf(e)>-1?"[^"+Ni(e)+"]+?":Ni(t)+"|(?:(?!"+Ni(t)+")[^"+Ni(e)+"])+?"}function QJ(e,t){return GL(tx(e,t),t)}function KJ(e){return encodeURI(e).replace(/[\/?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function jJ(e){return encodeURI(e).replace(/[?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function GL(e,t){for(var o=new Array(e.length),n=0;n<e.length;n++)typeof e[n]=="object"&&(o[n]=new RegExp("^(?:"+e[n].pattern+")$",nx(t)));return function(a,s){for(var l="",p=a||{},d=s||{},u=d.pretty?KJ:encodeURIComponent,y=0;y<e.length;y++){var m=e[y];if(typeof m=="string"){l+=m;continue}var g=p[m.name],f;if(g==null)if(m.optional){m.partial&&(l+=m.prefix);continue}else throw new TypeError('Expected "'+m.name+'" to be defined');if(Vm(g)){if(!m.repeat)throw new TypeError('Expected "'+m.name+'" to not repeat, but received `'+JSON.stringify(g)+"`");if(g.length===0){if(m.optional)continue;throw new TypeError('Expected "'+m.name+'" to not be empty')}for(var b=0;b<g.length;b++){if(f=u(g[b]),!o[y].test(f))throw new TypeError('Expected all "'+m.name+'" to match "'+m.pattern+'", but received `'+JSON.stringify(f)+"`");l+=(b===0?m.prefix:m.delimiter)+f}continue}if(f=m.asterisk?jJ(g):u(g),!o[y].test(f))throw new TypeError('Expected "'+m.name+'" to match "'+m.pattern+'", but received "'+f+'"');l+=m.prefix+f}return l}}function Ni(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function YJ(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function ox(e,t){return e.keys=t,e}function nx(e){return e&&e.sensitive?"":"i"}function XJ(e,t){var o=e.source.match(/\((?!\?)/g);if(o)for(var n=0;n<o.length;n++)t.push({name:n,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return ox(e,t)}function JJ(e,t,o){for(var n=[],a=0;a<e.length;a++)n.push(UL(e[a],t,o).source);var s=new RegExp("(?:"+n.join("|")+")",nx(o));return ox(s,t)}function ZJ(e,t,o){return zL(tx(e,o),t,o)}function zL(e,t,o){Vm(t)||(o=t||o,t=[]),o=o||{};for(var n=o.strict,a=o.end!==!1,s="",l=0;l<e.length;l++){var p=e[l];if(typeof p=="string")s+=Ni(p);else{var d=Ni(p.prefix),u="(?:"+p.pattern+")";t.push(p),p.repeat&&(u+="(?:"+d+u+")*"),p.optional?p.partial?u=d+"("+u+")?":u="(?:"+d+"("+u+"))?":u=d+"("+u+")",s+=u}}var y=Ni(o.delimiter||"/"),m=s.slice(-y.length)===y;return n||(s=(m?s.slice(0,-y.length):s)+"(?:"+y+"(?=$))?"),a?s+="$":s+=n&&m?"":"(?="+y+"|$)",ox(new RegExp("^"+s,nx(o)),t)}function UL(e,t,o){return Vm(t)||(o=t||o,t=[]),o=o||{},e instanceof RegExp?XJ(e,t):Vm(e)?JJ(e,t,o):ZJ(e,t,o)}});var Nc=xe(Ex=>{"use strict";Object.defineProperty(Ex,"__esModule",{value:!0});function tee(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var Px=E(),je=tee(Px),pl=function(){return pl=Object.assign||function(t){for(var o,n=1,a=arguments.length;n<a;n++){o=arguments[n];for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&(t[s]=o[s])}return t},pl.apply(this,arguments)},_r=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ra(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function aa(e,t){return t={exports:{}},e(t,t.exports),t.exports}var ge=aa(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.BLOCKS=void 0;var o;(function(n){n.DOCUMENT="document",n.PARAGRAPH="paragraph",n.HEADING_1="heading-1",n.HEADING_2="heading-2",n.HEADING_3="heading-3",n.HEADING_4="heading-4",n.HEADING_5="heading-5",n.HEADING_6="heading-6",n.O
56L_LIST="ordered-list",n.UL_LIST="unordered-list",n.LIST_ITEM="list-item",n.HR="hr",n.QUOTE="blockquote",n.EMBEDDED_ENTRY="embedded-entry-block",n.EMBEDDED_ASSET="embedded-asset-block",n.EMBEDDED_RESOURCE="embedded-resource-block",n.TABLE="table",n.TABLE_ROW="table-row",n.TABLE_CELL="table-cell",n.TABLE_HEADER_CELL="table-header-cell"})(o||(t.BLOCKS=o={}))});ra(ge);var A7e=ge.BLOCKS,ja=aa(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.INLINES=void 0;var o;(function(n){n.HYPERLINK="hyperlink",n.ENTRY_HYPERLINK="entry-hyperlink",n.ASSET_HYPERLINK="asset-hyperlink",n.RESOURCE_HYPERLINK="resource-hyperlink",n.EMBEDDED_ENTRY="embedded-entry-inline",n.EMBEDDED_RESOURCE="embedded-resource-inline"})(o||(t.INLINES=o={}))});ra(ja);var T7e=ja.INLINES,Li=aa(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.MARKS=void 0;var o;(function(n){n.BOLD="bold",n.ITALIC="italic",n.UNDERLINE="underline",n.CODE="code",n.SUPERSCRIPT="superscript",n.SUBSCRIPT="subscript"})(o||(t.MARKS=o={}))});ra(Li);var _7e=Li.MARKS,Xn=aa(function(e,t){var o=_r&&_r.__spreadArray||function(a,s,l){if(l||arguments.length===2)for(var p=0,d=s.length,u;p<d;p++)(u||!(p in s))&&(u||(u=Array.prototype.slice.call(s,0,p)),u[p]=s[p]);return a.concat(u||Array.prototype.slice.call(s))},n;Object.defineProperty(t,"__esModule",{value:!0}),t.V1_MARKS=t.V1_NODE_TYPES=t.TEXT_CONTAINERS=t.HEADINGS=t.CONTAINERS=t.VOID_BLOCKS=t.TABLE_BLOCKS=t.LIST_ITEM_BLOCKS=t.TOP_LEVEL_BLOCKS=void 0,t.TOP_LEVEL_BLOCKS=[ge.BLOCKS.PARAGRAPH,ge.BLOCKS.HEADING_1,ge.BLOCKS.HEADING_2,ge.BLOCKS.HEADING_3,ge.BLOCKS.HEADING_4,ge.BLOCKS.HEADING_5,ge.BLOCKS.HEADING_6,ge.BLOCKS.OL_LIST,ge.BLOCKS.UL_LIST,ge.BLOCKS.HR,ge.BLOCKS.QUOTE,ge.BLOCKS.EMBEDDED_ENTRY,ge.BLOCKS.EMBEDDED_ASSET,ge.BLOCKS.EMBEDDED_RESOURCE,ge.BLOCKS.TABLE],t.LIST_ITEM_BLOCKS=[ge.BLOCKS.PARAGRAPH,ge.BLOCKS.HEADING_1,ge.BLOCKS.HEADING_2,ge.BLOCKS.HEADING_3,ge.BLOCKS.HEADING_4,ge.BLOCKS.HEADING_5,ge.BLOCKS.HEADING_6,ge.BLOCKS.OL_LIST,ge.BLOCKS.UL_LIST,ge.BLOCKS.HR,ge.BLOCKS.QUOTE,ge.BLOCKS.EMBEDDED_ENTRY,ge.BLOCKS.EMBEDDED_ASSET,ge.BLOCKS.EMBEDDED_RESOURCE],t.TABLE_BLOCKS=[ge.BLOCKS.TABLE,ge.BLOCKS.TABLE_ROW,ge.BLOCKS.TABLE_CELL,ge.BLOCKS.TABLE_HEADER_CELL],t.VOID_BLOCKS=[ge.BLOCKS.HR,ge.BLOCKS.EMBEDDED_ENTRY,ge.BLOCKS.EMBEDDED_ASSET,ge.BLOCKS.EMBEDDED_RESOURCE],t.CONTAINERS=(n={},n[ge.BLOCKS.OL_LIST]=[ge.BLOCKS.LIST_ITEM],n[ge.BLOCKS.UL_LIST]=[ge.BLOCKS.LIST_ITEM],n[ge.BLOCKS.LIST_ITEM]=t.LIST_ITEM_BLOCKS,n[ge.BLOCKS.QUOTE]=[ge.BLOCKS.PARAGRAPH],n[ge.BLOCKS.TABLE]=[ge.BLOCKS.TABLE_ROW],n[ge.BLOCKS.TABLE_ROW]=[ge.BLOCKS.TABLE_CELL,ge.BLOCKS.TABLE_HEADER_CELL],n[ge.BLOCKS.TABLE_CELL]=[ge.BLOCKS.PARAGRAPH],n[ge.BLOCKS.TABLE_HEADER_CELL]=[ge.BLOCKS.PARAGRAPH],n),t.HEADINGS=[ge.BLOCKS.HEADING_1,ge.BLOCKS.HEADING_2,ge.BLOCKS.HEADING_3,ge.BLOCKS.HEADING_4,ge.BLOCKS.HEADING_5,ge.BLOCKS.HEADING_6],t.TEXT_CONTAINERS=o([ge.BLOCKS.PARAGRAPH],t.HEADINGS,!0),t.V1_NODE_TYPES=[ge.BLOCKS.DOCUMENT,ge.BLOCKS.PARAGRAPH,ge.BLOCKS.HEADING_1,ge.BLOCKS.HEADING_2,ge.BLOCKS.HEADING_3,ge.BLOCKS.HEADING_4,ge.BLOCKS.HEADING_5,ge.BLOCKS.HEADING_6,ge.BLOCKS.OL_LIST,ge.BLOCKS.UL_LIST,ge.BLOCKS.LIST_ITEM,ge.BLOCKS.HR,ge.BLOCKS.QUOTE,ge.BLOCKS.EMBEDDED_ENTRY,ge.BLOCKS.EMBEDDED_ASSET,ja.INLINES.HYPERLINK,ja.INLINES.ENTRY_HYPERLINK,ja.INLINES.ASSET_HYPERLINK,ja.INLINES.EMBEDDED_ENTRY,"text"],t.V1_MARKS=[Li.MARKS.BOLD,Li.MARKS.CODE,Li.MARKS.ITALIC,Li.MARKS.UNDERLINE]});ra(Xn);var w7e=Xn.V1_MARKS,D7e=Xn.V1_NODE_TYPES,P7e=Xn.TEXT_CONTAINERS,N7e=Xn.HEADINGS,E7e=Xn.CONTAINERS,R7e=Xn.VOID_BLOCKS,F7e=Xn.TABLE_BLOCKS,B7e=Xn.LIST_ITEM_BLOCKS,$7e=Xn.TOP_LEVEL_BLOCKS,E8=aa(function(e,t){Object.defineProperty(t,"__esModule",{value:!0})});ra(E8);var R8=aa(function(e,t){Object.defineProperty(t,"__esModule",{value:!0})});ra(R8);var Nx=aa(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.EMPTY_DOCUMENT=void 0,t.EMPTY_DOCUMENT={nodeType:ge.BLOCKS.DOCUMENT,data:{},content:[{nodeType:ge.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]}});ra(Nx);var L7e=Nx.EMPTY_DOCUMENT,Pc=aa(function(e,t){Object.defineProperty(t,"__esMo
56dule",{value:!0}),t.isText=t.isBlock=t.isInline=void 0;function o(l,p){for(var d=0,u=Object.keys(l);d<u.length;d++){var y=u[d];if(p===l[y])return!0}return!1}function n(l){return o(ja.INLINES,l.nodeType)}t.isInline=n;function a(l){return o(ge.BLOCKS,l.nodeType)}t.isBlock=a;function s(l){return l.nodeType==="text"}t.isText=s});ra(Pc);var H7e=Pc.isText,V7e=Pc.isBlock,O7e=Pc.isInline,cl=aa(function(e,t){var o=_r&&_r.__createBinding||(Object.create?(function(p,d,u,y){y===void 0&&(y=u);var m=Object.getOwnPropertyDescriptor(d,u);(!m||("get"in m?!d.__esModule:m.writable||m.configurable))&&(m={enumerable:!0,get:function(){return d[u]}}),Object.defineProperty(p,y,m)}):(function(p,d,u,y){y===void 0&&(y=u),p[y]=d[u]})),n=_r&&_r.__setModuleDefault||(Object.create?(function(p,d){Object.defineProperty(p,"default",{enumerable:!0,value:d})}):function(p,d){p.default=d}),a=_r&&_r.__exportStar||function(p,d){for(var u in p)u!=="default"&&!Object.prototype.hasOwnProperty.call(d,u)&&o(d,p,u)},s=_r&&_r.__importStar||function(p){if(p&&p.__esModule)return p;var d={};if(p!=null)for(var u in p)u!=="default"&&Object.prototype.hasOwnProperty.call(p,u)&&o(d,p,u);return n(d,p),d};Object.defineProperty(t,"__esModule",{value:!0}),t.helpers=t.EMPTY_DOCUMENT=t.MARKS=t.INLINES=t.BLOCKS=void 0,Object.defineProperty(t,"BLOCKS",{enumerable:!0,get:function(){return ge.BLOCKS}}),Object.defineProperty(t,"INLINES",{enumerable:!0,get:function(){return ja.INLINES}}),Object.defineProperty(t,"MARKS",{enumerable:!0,get:function(){return Li.MARKS}}),a(Xn,t),a(E8,t),a(R8,t),Object.defineProperty(t,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return Nx.EMPTY_DOCUMENT}});var l=s(Pc);t.helpers=l});ra(cl);var oee=cl.helpers,G7e=cl.EMPTY_DOCUMENT,ll=cl.MARKS,Yn=cl.INLINES,Jt=cl.BLOCKS;function nee(e,t){return Px.isValidElement(e)&&e.key===null?Px.cloneElement(e,{key:t}):e}function ree(e,t){return e.map(function(o,n){return nee(F8(o,t),n)})}function F8(e,t){var o=t.renderNode,n=t.renderMark,a=t.renderText,s=t.preserveWhitespace;if(oee.isText(e)){var l=a?a(e.value):e.value;if(s){l=l.replace(/ {2,}/g,function(y){return"\xA0".repeat(y.length)});var p=l.split(` 57`),d=[];p.forEach(function(y,m){d.push(y),m!==p.length-1&&d.push(je.createElement("br",null))}),l=d}return e.marks.reduce(function(y,m){return n[m.type]?n[m.type](y):y},l)}else{var u=ree(e.content,t);return!e.nodeType||!o[e.nodeType]?je.createElement(je.Fragment,null,u):o[e.nodeType](e,u)}}var lt,Ka,aee=(lt={},lt[Jt.DOCUMENT]=function(e,t){return t},lt[Jt.PARAGRAPH]=function(e,t){return je.createElement("p",null,t)},lt[Jt.HEADING_1]=function(e,t){return je.createElement("h1",null,t)},lt[Jt.HEADING_2]=function(e,t){return je.createElement("h2",null,t)},lt[Jt.HEADING_3]=function(e,t){return je.createElement("h3",null,t)},lt[Jt.HEADING_4]=function(e,t){return je.createElement("h4",null,t)},lt[Jt.HEADING_5]=function(e,t){return je.createElement("h5",null,t)},lt[Jt.HEADING_6]=function(e,t){return je.createElement("h6",null,t)},lt[Jt.EMBEDDED_ENTRY]=function(e,t){return je.createElement("div",null,t)},lt[Jt.EMBEDDED_RESOURCE]=function(e,t){return je.createElement("div",null,t)},lt[Jt.UL_LIST]=function(e,t){return je.createElement("ul",null,t)},lt[Jt.OL_LIST]=function(e,t){return je.createElement("ol",null,t)},lt[Jt.LIST_ITEM]=function(e,t){return je.createElement("li",null,t)},lt[Jt.QUOTE]=function(e,t){return je.createElement("blockquote",null,t)},lt[Jt.HR]=function(){return je.createElement("hr",null)},lt[Jt.TABLE]=function(e,t){return je.createElement("table",null,je.createElement("tbody",null,t))},lt[Jt.TABLE_ROW]=function(e,t){return je.createElement("tr",null,t)},lt[Jt.TABLE_HEADER_CELL]=function(e,t){return je.createElement("th",
57null,t)},lt[Jt.TABLE_CELL]=function(e,t){return je.createElement("td",null,t)},lt[Yn.ASSET_HYPERLINK]=function(e){return Dx(Yn.ASSET_HYPERLINK,e)},lt[Yn.ENTRY_HYPERLINK]=function(e){return Dx(Yn.ENTRY_HYPERLINK,e)},lt[Yn.RESOURCE_HYPERLINK]=function(e){return N8(Yn.RESOURCE_HYPERLINK,e)},lt[Yn.EMBEDDED_ENTRY]=function(e){return Dx(Yn.EMBEDDED_ENTRY,e)},lt[Yn.EMBEDDED_RESOURCE]=function(e,t){return N8(Yn.EMBEDDED_RESOURCE,e)},lt[Yn.HYPERLINK]=function(e,t){return je.createElement("a",{href:e.data.uri},t)},lt),iee=(Ka={},Ka[ll.BOLD]=function(e){return je.createElement("b",null,e)},Ka[ll.ITALIC]=function(e){return je.createElement("i",null,e)},Ka[ll.UNDERLINE]=function(e){return je.createElement("u",null,e)},Ka[ll.CODE]=function(e){return je.createElement("code",null,e)},Ka[ll.SUPERSCRIPT]=function(e){return je.createElement("sup",null,e)},Ka[ll.SUBSCRIPT]=function(e){return je.createElement("sub",null,e)},Ka);function Dx(e,t){return je.createElement("span",{key:t.data.target.sys.id},"type: ",t.nodeType," id: ",t.data.target.sys.id)}function N8(e,t){return je.createElement("span",{key:t.data.target.sys.urn},"type: ",t.nodeType," urn: ",t.data.target.sys.urn)}function see(e,t){return t===void 0&&(t={}),e?F8(e,{renderNode:pl(pl({},aee),t.renderNode),renderMark:pl(pl({},iee),t.renderMark),renderText:t.renderText,preserveWhitespace:t.preserveWhitespace}):null}Ex.documentToReactComponents=see});var _W=xe((p_t,TW)=>{"use strict";var cd={simple:function(e){return e.length?e.join("�"):"�"},json:function(e){if(!e.length)return"�";for(var t=[],o=e.length-1;o>=0;o--)t.push(JSON.stringify(e[o]));return t.join("�")}};function Mre(e){return e.forEach(function(t){if(typeof t=="string"&&!cd.hasOwnProperty(t))throw new Error('promise-memoize: unknown value "'+t+'" in resolve option')}),function(t){var o=Math.min(e.length,t.length);if(!o)return"�";for(var n=[],a=0;a<o;a++)typeof e[a]=="string"?n.push(cd[e[a]]([t[a]])):n.push(e[a](t[a]));return n.join("�")}}TW.exports=function(t){if(typeof t>"u")return cd.simple;if(typeof t=="string"&&cd.hasOwnProperty(t))return cd[t];if(Array.isArray(t))return Mre(t);if(Object.prototype.toString.call(t)==="[object Function]")return t;throw new Error("promise-memoize: invalid resolve option")}});var EW=xe((c_t,NW)=>{"use strict";var Are=_W();function Tre(){return!0}function _re(){return!1}function wW(e){return e.then(Tre,_re)}function wre(e){return e}function Dre(e){throw e}function DW(e){return e.then(wre,Dre)}function Pre(e,t){return{result:e,args:t,expire_id:0,prefetch_id:0,need_prefetch:!1}}function ab(e,t){e[t]&&(clearTimeout(e[t].expire_id),clearTimeout(e[t].prefetch_id),delete e[t])}function Nre(e,t){e[t]&&(e[t].need_prefetch=!0)}function Ere(e){var t=e[0],o=e[1],n=e[2],a=e[3];if(o[n]){if(t){if(!a.maxAge)return;o[n].expire_id=setTimeout(ab,a.maxAge,o,n),o[n].prefetch_id=setTimeout(Nre,a.maxAge*.7,o,n),o[n].expire_id.unref&&o[n].expire_id.unref(),o[n].prefetch_id.unref&&o[n].prefetch_id.unref();return}if(!a.maxErrorAge){ab(o,n);return}o[n].expire_id=setTimeout(ab,a.maxErrorAge,o,n),o[n].expire_id.unref&&o[n].expire_id.unref()}}function PW(e,t,o){var n=e[t].result.constructor;n.all([wW(e[t].result),e,t,o]).then(Ere)}function Rre(e){var t=e[0],o=e[1],n=e[2],a=e[3],s=e[4][0];o[n]&&t&&(o[n].result=s,clearTimeout(o[n].expire_id),PW(o,n,a))}function Fre(e,t,o){var n=DW(o.fn.apply(null,e[t].args)),a=n.constructor;e[t].need_prefetch=!1,a.all([wW(n),e,t,o,[n]]).then(Rre)}NW.exports=function(t,o){var n={},a=o||{},s=Are(a.resolve),l={fn:t,maxAge:a.maxAge||0,maxErrorAge:a.maxErrorAge||0};function p(){for(var d=new Array(arguments.length),u=0;u<d.length;u++)d[u]=arguments[u];var y=s(d);return n[y]?n[y].need_prefetch&&Fre(n,y,l):(n[y]=Pre(DW(l.fn.apply(null,d)),l.maxAge||l.maxErrorAge?d:null),PW(n,y,l)),n[y].result}return p.clear=function(){var d=Object.keys(n);return d.forEach(function(u){ab(n,u)}),d.length},p}});var FW=xe((d_t,RW)=>{"use strict";RW.exports=EW()});var ZW=Object.defineProperty,Vr=(e,t)=>ZW(e,"name",{value:t,configurable:!0}),ys,vb=(ys=class{constructor(t){this.onDataListeners=new Map,this.onErrorListeners=new Map,this.unsettledPromises=new Map,this.settledPromiseCount=0,this.register=Vr(o=>{let n=this.clock();if(this.resultCache.has(o.dataId)){let s=this.resultCache.get(o.dataId);if(s.expiryTime>=n)return s.error?{error:s.error,hasLoaded:!0,isLoading:!1}:{data:s.data,hasLoaded:!0,isLoading:!1};this.delete(o.dataId)}if(this.onDataListeners.has(o.dataId)||this.onDataListeners.set(o.dataId,new Set),this.onErrorListeners.has(o.dataId)||this.onErrorListeners.set(o.dataId,new Set),o.onData&&this.onDataListeners.get(o.dataId).add(o.onData),o.onError&&this.onErrorListeners.get(o.dataId).add(o.onError),this.unsettledPromises.has(o.dataId))return{hasLoaded:!1,isLoading:!0};let a=o.dataAsync();return this.unsettledPromises.set(o.dataId,a),a.then(s=>{this.resultCache.set(o.dataId,{data:s,expiryTime:this.clock()+(o.ttlMs??this.defaultExpiryTimeMs)});let l=this.onDataListeners.get(o.dataId);for(let p of l)try{p(s)}catch(d){try{this.errorHandler(d)}catch{}}l.clear()}).catch(s=>{this.resultCache.set(o.dataId,{error:s,expiryTime:this.clock()+(o.ttlMs??this.defaultExpiryTimeMs)});let l=this.onErrorListeners.get(o.dataId);for(let p of l)try{p(s)}catch(d){try{this.errorHandler(d)}catch{}}l.clear()}).finally(()=>{this.unsettledPromises.delete(o.dataId),this.settledPromiseCount++}),{isLoading:!0,hasLoaded:!1}},"register"),this.countUnsettledPromises=Vr(()=>this.unsettledPromises.size,"countUnsettledPromises"),this.countSettledPromises=Vr(()=>this.settledPromiseCount,"countSettledPromises"),this.unawaitedPromiseKeys=Vr(()=>[...this.unsettledPromises.keys()],"unawaitedPromiseKeys"),this.allUnawaitedPromises=Vr(async()=>{await Promise.allSettled(this.unsettledPromises.values())},"allUnawaitedPromises"),this.getCache=Vr(()=>(this.cleanCache(),this.resultCache),"getCache"),this.cleanCache=Vr(()=>{let o=0;return this.resultCache.forEach((n,a)=>{n.expiryTime<this.clock()&&(this.delete(a),o++)}),o},"cleanCache"),this.delete=Vr(o=>{this.resultCache.delete(o),this.onDataListeners.delete(o),this.onErrorListeners.delete(o)},"delete"),this.clock=t.clock??Date.now,this.resultCache=t.cache??new Map,this.defaultExpiryTimeMs=t.defaultExpiryTimeMs??3e4,this.errorHandler=t.errorHandler??console.error}},Vr(ys,"AsyncDataController"),ys),rM=new vb({clock:Date.now});var eq=Object.defineProperty,tq=(e,t)=>
57eq(e,"name",{value:t,configurable:!0}),oq={platformVersion:"platformVersion",architecture:"architecture",bitness:"bitness",model:"model",fullBrowsers:"fullVersionList"},ms,aM=(ms=class extends Dk{constructor(t=window){super({}),this.featuresWindow=t}computeLowEntropyHints(){let t=Fk(this.featuresWindow.navigator.userAgent);return{browsers:this.featuresWindow.navigator.userAgentData?.brands?.map(n=>({brand:Ek(n.brand),majorVersion:Number(Nk(n.version))}))??t.browsers,platform:Rk(this.featuresWindow.navigator.userAgentData?.platform)??t.platform,isMobile:this.featuresWindow.navigator.userAgentData?.mobile??t.isMobile,saveData:this.featuresWindow.navigator.connection?.saveData??t.isMobile,isSnapchatWebview:t.isSnapchatWebview}}async computeHighEntropyHintsAsync(...t){let o=await this.featuresWindow.navigator.userAgentData?.getHighEntropyValues(t.map(l=>oq[l]).filter(Boolean)),n=this.featuresWindow.matchMedia("(prefers-reduced-motion: reduce)").matches,a=this.featuresWindow.matchMedia("(prefers-color-scheme: dark)").matches,s=this.featuresWindow.matchMedia("(prefers-color-scheme: light)").matches;return{viewportWidth:this.featuresWindow.innerWidth,viewportHeight:this.featuresWindow.innerHeight,fullBrowsers:o?.fullVersionList?.map(l=>({brand:l.brand,fullVersion:l.version})),model:o?.model,downlinkMbps:this.featuresWindow.navigator.connection?.downlink,devicePixelRatio:this.featuresWindow.devicePixelRatio,connection:this.featuresWindow.navigator.connection?.effectiveType,architecture:o?.architecture,bitness:o?.bitness?Number(o?.bitness):void 0,reduceMotion:n,colorScheme:a?"dark":s?"light":void 0,platformVersion:o?.platformVersion}}},tq(ms,"ClientBrowserFeature"),ms);var VW=T(YM()),sb=T(JM());var Or=T(E(),1),FQ=Object.defineProperty,BQ=(e,t)=>FQ(e,"name",{value:t,configurable:!0}),Ab=(0,Or.createContext)({controller:rM});function Ln(e){let{controller:t}=(0,Or.useContext)(Ab),[o,n]=(0,Or.useState)(0),a=(0,Or.useCallback)(l=>{e.onData?.(l),n(p=>p+1)},[n,e.onData]),s=(0,Or.useCallback)(l=>{e.onError?.(l),n(p=>p+1)},[n,e.onError]);return e.skip?{hasLoaded:!0,isLoading:!1}:t.register({...e,onError:s,onData:a})}BQ(Ln,"useAsyncData");var an={Click:"Click",Warning:"Warning",LocaleSelect:"LocaleSelect"};var bA=T(E());var ae={Left:"Left",Start:"Start",Center:"Center",End:"End",Right:"Right"},Xo={Top:"Top",Middle:"Middle",Bottom:"Bottom"},yi={TopRight:"TopRight",TopLeft:"TopLeft",TopCenter:"TopCenter",BottomLeft:"BottomLeft",BottomRight:"BottomRight",BottomCenter:"BottomCenter"};var zd={Normal:"Normal",Fixed:"Fixed"};var Ud="[locale specific font fallback]",ZM={"bn-BD":"Noto Sans Bengali","bn-IN":"Noto Sans Bengali","zh-Hans":"Noto Sans SC","zh-Hant":"Noto Sans TC","hi-IN":"Noto Sans Devanagari","mr-IN":"Noto Sans Devanagari","gu-IN":"Noto Sans Gujarati","ja-JP":"Noto Sans Japanese","kn-IN":"Noto Sans Kannada","ko-KR":"Noto Sans KR","ml-IN":"Noto Sans Malayalam",pa:"Noto Sans Gurmukhi","ta-IN":"Noto Sans Tamil","te-IN":"Noto Sans Telugu"},eA={"--h1-font-family":`Program OT, Helvetica Heading, Tahoma Heading, ${Ud}, Arial, sans-serif`,"--h2-font-family":`Program OT, Helvetica Heading, Tahoma Heading, ${Ud}, Arial, sans-serif`};var Gr={M100:c` 58 font-size: 36px; 59 line-height: 42px; 60 font-weight: 600; 61 `,M200:c` 62 font-size: 32px; 63 line-height: 40px; 64 font-weight: 600; 65 `,M300:c` 66 font-size: 24px; 67 line-height: 28px; 68 font-weight: 500; 69 `,M400:c` 70 font-size: 20px; 71 font-weight: 600; 72 line-height: 23px; 73 `,M500:c` 74 font-size: 18px; 75 font-weight: 400; 76 line-height: 28px; 77 `,M600:c` 78 font-size: 16px; 79 font-weight: 500; 80 line-height: 19px; 81 `,M700:c` 82 font-size: 12px; 83 font-weight: 600; 84 line-height: 14px; 85 `},Xae={H100:c` 86 font-size: 64px; 87 font-weight: 600; 88 line-height: 70px; 89 ${P} { 90 ${Gr.M100} 91 } 92 `,H200:c` 93 font-size: 48px; 94 font-weight: 600; 95 line-height: 64px; 96 ${P} { 97 ${Gr.M200} 98 } 99 `,H300:c` 100 font-size: 28px; 101 font-weight: 500; 102 line-height: 34px; 103 ${P} { 104 ${Gr.M300} 105 } 106 `,H400:c` 107 font-size: 24px; 108 font-weight: 500; 109 line-height: 29px; 110 ${P} { 111 ${Gr.M400} 112 } 113 `,H500:c` 114 font-size: 20px; 115 font-weight: 500; 116 line-height: 28px; 117 ${P} { 118 ${Gr.M500} 119 } 120 `,H600:c` 121 font-size: 16px; 122 font-weight: 500; 123 line-height: 19px; 124 ${P} { 125 ${Gr.M600} 126 } 127 `,H700:c` 128 font-size: 12px; 129 font-weight: 600; 130 line-height: 14px; 131 ${P} { 132 ${Gr.M700} 133 } 134 `},Jae={P100:c` 135 font-size: 16px; 136 font-weight: 400;
137 line-height: 26px; 138 `};var tA=c` 139 overflow: -moz-scrollbars-none; /* Hide scroll bar in Firefox */ 140 -ms-overflow-style: none; /* Hide scroll bar in IE */ 141 ::-webkit-scrollbar { 142 width: 0 !important; /* Hide scrollbar in Webkit browsers */ 143 } 144`;var oA="sdsm-footer-bar",nA="sdsm-footer-bar-container",rA="sdsm-footer-bar-wrapper",aA="sdsm-footer-columns-desktop-wrapper",iA="sdsm-footer-columns-desktop-container",sA="sdsm-footer-social-wrapper",lA="sdsm-footer-social";var va="min(8vw, 112px)",Wd="global-links",qd="local-nav";var Tb="max(-8vw, -112px)";var Ia="level-tracker",up="--next-level-line-height";var zr={headerTopLevel:"sdsm-global-header",openButton:"sdsm-global-header-open",navItems:"sdsm-global-header-local-nav-items",siteName:"sdsm-global-header-site-name",endContents:"sdsm-global-header-end-contents"},pA="global-nav-menu-button";var _b=e=>{switch(e){case ae.Center:return"center";case ae.Start:case ae.Left:return"start";case ae.End:case ae.Right:return"end";default:throw new Error(`specified alignment: ${e} is not accounted for!`)}},sr=e=>{switch(e){case ae.Center:return"center";case ae.Start:case ae.Left:return"flex-start";case ae.End:case ae.Right:return"flex-end";default:throw new Error(`specified alignment: ${e} is not accounted for!`)}},mi=Object.values(ae),iie=Object.fromEntries(mi.map(e=>[e,c` 145 text-align: ${_b(e)}; 146 `])),wb=Object.fromEntries(mi.map(e=>[e,c` 147 align-items: ${sr(e)}; 148 `])),sie=Object.fromEntries(mi.map(e=>[e,c` 149 justify-items: ${sr(e)}; 150 `])),yp=Object.fromEntries(mi.map(e=>[e,c` 151 justify-content: ${sr(e)}; 152 `])),lie=Object.fromEntries(mi.map(e=>[e,c` 153 ${P} { 154 justify-content: ${sr(e)}; 155 } 156 `])),ka=Object.fromEntries(mi.map(e=>[e,c` 157 text-align: ${_b(e)}; 158 align-items: ${sr(e)}; 159 justify-items: ${sr(e)}; 160 justify-content: ${sr(e)}; 161 `])),Ma=Object.fromEntries(mi.map(e=>[e,c` 162 ${P} { 163 text-align: ${_b(e)}; 164 align-items: ${sr(e)}; 165 justify-items: ${sr(e)}; 166 justify-content: ${sr(e)}; 167 } 168 `]));var cA=T(E()),Qd=(0,cA.createContext)(void 0);var Kd=e=>{if(!(!e||Number.isNaN(e.getTime())))return e.toISOString().substring(0,10)};var $Q=(e,t="")=>e.replace(Ud,t).replace(/,\s*,/g,","),LQ=e=>Zk.includes(e),HQ=(e,t)=>{let o={};for(let n of Object.keys(e))if(LQ(n)){let a=e[n]??"";o[n]=$Q(a,t)}return o},dA=(e,t,o)=>{if(!t)return;let n=ZM[e];if(!n||!o)return t;let a=HQ(o,n);return ns(t,{name:`${t.name}Localized${e}`,fontFamily:[...t.fontFamily,n],"sdsm-default":{name:t["sdsm-default"].name,legacyName:t["sdsm-default"].legacyName,sdsm:{...t["sdsm-default"].sdsm,...a}}})};var Ne=e=>e?En(e):void 0;var Db=/^(?:[a-z]+:)?\/\//i,jd=(e,t)=>{if(!e||!Db.test(e))return e;try{let o=new URL(e);return Object.entries(t).forEach(([n,a])=>{o.searchParams.set(n,a)}),o.toString()}catch{return}};var Yd=T(E());function uA(e){let[t,o]=(0,Yd.useState)(!0);return(0,Yd.useEffect)(()=>{let n=()=>o(!1),a=()=>o(!0);return e?(window.addEventListener("blur",n),window.addEventListener("focus",a)):(window.removeEventListener("blur",n),window.removeEventListener("focus",n)),()=>{window.removeEventListener("blur",n),window.removeEventListener("focus",n)}},[e]),{isFocused:t}}var Zd=(e,t)=>r(`--block-vertical-padding-${e.toLowerCase()}-${t}`),Xd=e=>c` 169 /* Desktop in nonMobileMediaQuery so overrides win over denseLayoutBoundaryCss padding-block. */ 170 ${V} { 171 padding-top: ${Zd(e,"desktop")}; 172 } 173 174 ${P} { 175 padding-top: ${Zd(e,"mobile")}; 176 } 177`,Jd=e=>c` 178 /* Desktop in nonMobileMediaQuery so overrides win over denseLayoutBoundaryCss padding-block. */ 179 ${V} { 180 padding-bottom: ${Zd(e,"desktop")}; 181 } 182 183 ${P} { 184 padding-bottom: ${Zd(e,"mobile")}; 185 } 186`,VQ={None:Xd("None"),Small:Xd("Small"),Medium:Xd("Medium"),Large:Xd("Large")},OQ={None:Jd("None"),Small:Jd("Small"),Medium:Jd("Medium"),Large:Jd("Large")};function yA({topSpacing:e,bottomSpacing:t}){return h(e!==void 0&&VQ[e],t!==void 0&&OQ[t])||void 0}var mA=T(E()),eu=(0,mA.createContext)({multipleOpen:!1,openIds:[],setOpenIds:()=>null});var gA=c` 187 padding-bottom: ${r("--spacing-l")}; 188`,fA=c` 189 border-bottom: 1px solid ${r("--accordion-header-divider-border-color")}; 190 color: ${r("--accordion-header-color")}; 191 margin-block: 0; 192 padding: ${r("--accordion-header-padding")} 0; 193 194 ${V} { 195 font-size: ${r("--accordion-header-desktop-font-size")}; 196 font-weight: ${r("--accordion-header-desktop-font-weight")}; 197 line-height: ${r("--accordion-header-desktop-font-line-height")}; 198 } 199 200 ${P} { 201 font-size: ${r("--accordion-header-mobile-font-size")};
202 font-weight: ${r("--accordion-header-mobile-font-weight")}; 203 line-height: ${r("--accordion-header-mobile-font-line-height")}; 204 } 205`;var SA=({children:e,multipleOpen:t=!1,title:o,titleDataset:n,openIdsOverride:a,setOpenIdsOverride:s,className:l})=>{K("sdsm-accordion");let[p,d]=(0,bA.useState)([]);return i(eu.Provider,{value:{multipleOpen:t,openIds:a??p,setOpenIds:s??d},children:x("div",{"data-testid":"accordion",className:h("sdsm-accordion",gA,l),children:[o?i("h4",{className:fA,...te(n),children:o}):null,e]})})};var Mo=T(E());var gs=T(E());var GQ={initialValue:"off",onToggle:vo,transitionDurationMs:250},tu=e=>{let{initialValue:t,onToggle:o,transitionDurationMs:n}={...GQ,...e},[a,s]=(0,gs.useState)(t),l=(0,gs.useCallback)((y,m)=>{y!==m&&(s(y),o(y,m))},[o,s]);(0,gs.useEffect)(()=>{let y;return a==="turning-off"&&(y=setTimeout(l.bind(void 0,"off","turning-off"),n)),a==="turning-on"&&(y=setTimeout(l.bind(void 0,"on","turning-on"),n)),()=>{y&&clearTimeout(y)}},[a,n,l]);let p=()=>{a==="off"&&l("turning-on",a)},d=()=>{a==="on"&&l("turning-off",a)};return{state:a,toggle:(y="toggle")=>{y==="on"?p():y==="off"?d():a==="turning-off"||a==="off"?p():d()}}};var Aa=T(E());var Pb=Nn` 206 0% { 207 opacity: 0; 208 } 209 100% { 210 opacity: 1; 211 } 212`,Nb=Nn` 213 0% { 214 opacity: 1; 215 } 216 100% { 217 opacity: 0; 218 } 219`,ou=e=>["duration","curve","delay","iterationCount","direction","fillMode","playState"].map(n=>e[n]).filter(n=>!!n).join(" "),hA=(e={duration:"250ms",curve:"ease-out"})=>c` 220 animation: ${Pb} ${ou(e)}; 221`,CA=(e={duration:"250ms",curve:"ease-out"})=>c` 222 animation: ${Nb} ${ou(e)}; 223`;var Eb="cubic-bezier(0.4, 0.0, 0.2, 1)",Rb="cubic-bezier(0.0, 0.0, 0.2, 1)",xA=(e={duration:"250ms",curve:Eb})=>c` 224 @keyframes slideUp { 225 0% { 226 transform: translateY(0); 227 } 228 100% { 229 transform: translateY(-100vh); 230 } 231 } 232 233 animation: slideUp ${ou(e)}; 234`,vA=(e={duration:"250ms",curve:Rb})=>c` 235 @keyframes slideDown { 236 0% { 237 transform: translateY(-100vh); 238 } 239 100% { 240 transform: translateY(0); 241 } 242 } 243 244 animation: slideDown ${ou(e)}; 245`;var nu="--animation-duration",IA=c` 246 -webkit-box-orient: vertical; 247 -webkit-line-clamp: 3; 248 display: -webkit-box; 249 flex: 1; 250 min-width: 0; 251 overflow: hidden; 252 text-overflow: ellipsis; 253`,kA=c` 254 & > summary { 255 cursor: pointer; 256 /* Prevents selection when rapidly expanding and collapsing the content */ 257 user-select: none; 258 } 259 260 scroll-margin: 40px; 261 262 /* Prevents keyboard selection of focusable elements that the panel is collapsed. */ 263 &[data-state='off'] > summary + * { 264 visibility: hidden; 265 } 266`,MA=c` 267 &[data-state='turning-on'] > summary + * { 268 animation: ${Pb} var(${nu}) ease-out; 269 } 270 271 &[data-state='turning-off'] > summary + * { 272 animation: ${Nb} var(${nu}) ease-out; 273 } 274`,AA=c` 275 justify-self: center; 276 width: 12px; 277 height: 12px; 278 279 transform: rotate(0deg); /* 'up' */ 280 transition: transform 250ms; 281 282 details[data-state='on'] > summary > &, 283 details[data-state='turning-on'] > summary > & { 284 transform: rotate(180deg); /* 'down', ccw */ 285 } 286 287 *[dir='rtl'] details[data-state='on'] > summary > &, 288 *[dir='rtl'] details[data-state='turning-on'] > summary > & { 289 transform: rotate(-180deg); /* 'down', clockwise */ 290 } 291 position: absolute; 292 right: 0; 293 294 /* stylelint-disable-next-line no-descending-specificity */ 295 *[dir='rtl'] & { 296 right: unset; 297 left: 0; 298 } 299`,TA=c` 300 margin: 0; 301 position: relative; /* To position the chveron absolutely. */ 302 303 /* In webkit the arrow is rendered as a list icon; so we hide that, too. */ 304 /* We add our own arrow so we need to hid the default one. */ 305 ::-webkit-details-marker { 306 display: none; 307 } 308 list-style-type: none; 309 310 display: flex; 311 align-items: center; 312`;var sn=({showChevron:e=!0,chevronProps:t,onToggle:o,summaryOnClick:n,summary:a,summaryProps:s,children:l,className:p,fadeInAnimation:d=!0,transitionDurationMs:u,open:y,detailsRef:m,summaryRef:g,disableScrollToOnOpen:f,forceOpenAttribute:b,...S})=>{let C=!ht(y);K("sdsm-detail-summary");let I=(0,Aa.useRef)(),k=(0,Aa.useRef)(null),v=(0,Aa.useCallback)(L=>
312{m&&(m.current=L),k.current=L},[m]),{state:w,toggle:_}=tu({initialValue:C&&y?"on":"off",transitionDurationMs:u});(0,Aa.useEffect)(()=>{C&&_(y?"on":"off")},[C,y,_]),(0,Aa.useEffect)(()=>{C||!o||o(w==="on"?"on":"off")},[o,w,C]);let D=L=>{n?.(L),L.preventDefault(),C?o?.(y?"off":"on"):_(),f||(clearTimeout(I.current),(C?!y:!k?.current?.open)&&(I.current=setTimeout(()=>{k?.current?.scrollIntoView({behavior:"smooth",block:"nearest"})},u)))},M=b||w!=="off",{className:A,dataset:N,...$}=s??{},B=L=>{if(typeof L=="string")return L};return x("details",{ref:v,className:h("sdsm-detail-summary",kA,p,{[MA]:d}),open:M,"data-state":w,...S,style:{...S.style,[nu]:`${u??250}ms`},children:[x("summary",{ref:g,role:"button",tabIndex:0,title:B(a),className:h(TA,A),onClick:D,...te(N),...$,children:[a?i("span",{className:IA,children:a}):null,e&&i(we,{className:h(AA,t?.className),name:"chevron-down",fill:t?.fill})]}),l]})};sn.displayName="DetailsSummary";var _A=c` 313 border-bottom: 1px solid ${r("--accordion-divider-border-color")}; 314 scroll-margin: 40px; 315 overflow-y: hidden; 316 overflow-x: auto; 317 318 ${V} { 319 font-size: ${r("--accordion-item-body-desktop-font-size")}; 320 line-height: ${r("--accordion-item-body-desktop-font-line-height")}; 321 } 322 323 ${P} { 324 font-size: ${r("--accordion-item-body-mobile-font-size")}; 325 line-height: ${r("--accordion-item-body-mobile-font-line-height")}; 326 } 327 328 /* Body content — everything after the summary. Applies padding via motif var. 329 Also targets legacy <section> wrapper used by some DetailsSummary consumers. */ 330 > :not(summary) { 331 padding: ${r("--accordion-item-body-padding")}; 332 333 .${"sdsm-hyperlink"} { 334 color: ${r("--accordion-item-body-link-color")}; 335 font-size: inherit; 336 font-weight: ${r("--accordion-item-body-link-font-weight")}; 337 line-height: inherit; 338 339 &:hover { 340 color: ${r("--accordion-item-body-link-hover-color")}; 341 } 342 } 343 } 344 345 section { 346 margin-bottom: 0; 347 } 348`,wA=c` 349 align-items: center; 350 color: ${r("--accordion-item-color")}; 351 cursor: pointer; 352 display: flex; 353 justify-content: space-between; 354 margin: 0; 355 padding: ${r("--accordion-item-padding")}; 356 padding-inline-end: 52px; 357 user-select: none; 358 359 ${V} { 360 font-size: ${r("--accordion-item-desktop-font-size")}; 361 font-weight: ${r("--accordion-item-desktop-font-weight")}; 362 line-height: ${r("--accordion-item-desktop-font-line-height")}; 363 } 364 365 ${P} { 366 font-size: ${r("--accordion-item-mobile-font-size")}; 367 font-weight: ${r("--accordion-item-mobile-font-weight")}; 368 line-height: ${r("--accordion-item-mobile-font-line-height")}; 369 } 370 371 /* Prevents keyboard selection of focusable elements that the panel is collapsed. */ 372 &[data-state='off'] + * { 373 visibility: hidden; 374 } 375 376 /* In webkit the arrow is rendered as a list icon; so we hide that, too. */ 377 /* We add our own arrow so we need to hid the default one. */ 378 ::-webkit-details-marker { 379 display: none; 380 } 381 list-style-type: none; 382 383 > svg { 384 right: ${r("--accordion-item-icon-inset")}; 385 } 386 387 *[dir='rtl'] & svg { 388 left: ${r("--accordion-item-icon-inset")}; 389 right: unset; 390 } 391`,ru=c` 392 width: 20px; 393 height: 20px; 394 /* Override the inline fill="var(--icon-color)" so the chevron uses the item icon color. */ 395 fill: ${r("--accordion-item-icon-color")}; 396 /* we override top here since its already centered by flex */ 397 top: unset; 398`;var Fb=400,DA="ease-out",Bb=({id:e,anchorId:t,title:o,children:n,titleDataset:a,className:s,summaryClassName:l,onToggle:p})=>{let{multipleOpen:d,openIds:u,setOpenIds:y}=(0,Mo.useContext)(eu),m=(0,Mo.useRef)(null),g=(0,Mo.useRef)(null),f=(0,Mo.useRef)(null),b=(0,Mo.useRef)(!1),S=(0,Mo.useRef)(!1),C=u.includes(e);(0,Mo.useEffect)(()=>{m.current&&C!==m.current.open&&(m.current.open=C)},[]);let I=(0,Mo.useCallback)(()=>{if(b.current=!0,!m?.current||!g?.current)return;m.current.style.overflow="hidden";let D=`${m.current.offsetHeight}px`,M=`${g.current.offsetHeight}px`;f.current&&f.current.cancel(),f.current=m.current.animate?.({height:[D,M]},{duration:Fb,easing:DA}),f.current?.finished.then(()=>_(!1)).catch(()=>{b.current=!1})},[]);(0,Mo.useEffect)(()=>{C||m.current?.open&&I()},[C,I]);let k=(0,Mo.useCallback)(()=>
398{if(S.current=!0,!m.current||!g.current)return;m.current.style.overflow="hidden";let D=`${m.current.offsetHeight}px`,M=`${g.current.offsetHeight+m.current.scrollHeight-g.current.offsetHeight}px`;f.current&&f.current.cancel(),f.current=m.current.animate?.({height:[D,M]},{duration:Fb,easing:DA}),f.current?.finished.then(()=>_(!0)).catch(()=>{S.current=!1})},[]),v=(0,Mo.useCallback)(()=>{m.current&&(m.current.style.height=`${m.current.offsetHeight}px`,m.current.open=!0,window.requestAnimationFrame(k))},[k]),w=(0,Mo.useCallback)(D=>{y(d?D==="off"?u.filter(M=>M!==e):[...u,e]:D==="off"?[]:[e]),p?.(D==="on"),m.current&&(D==="on"?v():I())},[d,y,u,e,v,I,p]),_=D=>{m.current&&(m.current.open=D,m.current.style.height="",m.current.style.overflow="",S.current=!1,b.current=!1,f.current=null)};return i(sn,{id:t,detailsRef:m,summaryRef:g,summary:o,chevronProps:{className:ru,fill:r("--icon-color")},className:h(_A,s),onToggle:w,summaryProps:{dataset:a,className:h(wA,l)},transitionDurationMs:Fb,open:C,children:n})};var PA=c` 399 align-items: center; 400 background-color: ${r("--banner-ai-bg-color")}; 401 box-sizing: border-box; 402 display: flex; 403 justify-content: center; 404 width: 100%; 405 406 ${P} { 407 padding: ${r("--spacing-xl")}; 408 } 409`,NA=c` 410 display: flex; 411 flex-direction: column; 412 flex: 1 0 0; 413 gap: ${r("--spacing-xxs")}; 414 justify-content: center; 415 margin: 0px auto; 416 max-width: ${ct}px; 417 padding: ${r("--spacing-xl")} ${r("--spacing-xxxxl")}; 418 419 ${P} { 420 padding: 0; 421 } 422`,EA=c` 423 color: ${r("--banner-ai-fg-color")}; 424 ${Ue} 425`,RA=c` 426 color: ${r("--banner-ai-fg-color")}; 427 ${Xt} 428`;var FA=({title:e,description:t})=>(K("sdsm-ai-localization-banner"),!e&&!t?null:i("div",{className:h("sdsm-ai-localization-banner",PA),children:x("div",{className:NA,children:[e&&i("div",{className:EA,children:e}),t&&i("div",{className:RA,children:t})]})}));var $A=T(E()),$b=e=>"changedTouches"in e&&"touches"in e,BA=e=>e.touches.length>1||e.changedTouches.length>1,WQ=e=>e?"current"in e?e.current:e:null;function fs(e,t,o){(0,$A.useEffect)(()=>{let n=window.scrollX,a=window.scrollY,s,l=u=>{if(!$b(u)||BA(u))return;let y=u.changedTouches[0];y&&(s=y.clientY)},p=u=>{if(o?.(u)||!u.cancelable||!(u.target instanceof HTMLElement))return;let y=WQ(e);if(!y||$b(u)&&BA(u))return;let m="down";if(u instanceof WheelEvent&&(m=u.deltaY>0?"down":"up"),$b(u)){let S=u.changedTouches[0];if(!S)return;m=s>S.clientY?"down":"up"}let g=u.target,f=!1,b=!1;for(;g&&g!==document.body;){let S=g.scrollHeight-g.offsetHeight,C=m==="up"&&g.scrollTop>0,I=m==="down"&&g.scrollTop<S;if(S>0&&(I||C)&&(b=!0),g===y){f=!0;break}g=g?.parentElement}f&&b||u.preventDefault()},d={passive:!1,capture:!1};return document.body.addEventListener("wheel",p,d),document.body.addEventListener("touchstart",l),document.body.addEventListener("touchmove",p,d),()=>{t||window.scrollTo(n,a),document.body.removeEventListener("wheel",p,d),document.body.removeEventListener("touchstart",l),document.body.removeEventListener("touchmove",p,d)}},[e,t,o])}var HA=T(E()),qQ='button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])',QQ=e=>!!e.offsetParent||e.getClientRects().length>0,LA=e=>{let t=e.querySelectorAll(qQ);return Array.from(t).filter(o=>!o.hasAttribute("disabled")&&o.getAttribute("aria-hidden")!=="true"&&QQ(o))};function VA(e,t,o){(0,HA.useEffect)(()=>{if(!t)return;let n=e.current;if(!n)return;let a=document.activeElement,s,l,p=!1,d=()=>{if(p||n.contains(document.activeElement))return;LA(n)[0]?.focus()};o===void 0?d():s=setTimeout(()=>{l=requestAnimationFrame(d)},o);let u=y=>{if(y.key!=="Tab")return;let m=LA(n);if(m.length===0){y.preventDefault();return}let g=m[0],f=m[m.length-1],b=document.activeElement;y.shiftKey&&b===g?(y.preventDefault(),f.focus()):!y.shiftKey&&b===f&&(y.preventDefault(),g.focus())};return n.addEventListener("keydown",u),()=>{p=!0,s!==void 0&&clearTimeout(s),l!==void 0&&cancelAnimationFrame(l),n.removeEventListener("keydown",u),a?.focus?.()}},[e,t,o])}var au=T(E());function iu(e){let[t,o]=(0,au.useState)(!1);return(0,au.useEffect)(()=>{if(!e?.current)return;let n=new IntersectionObserver(([a])=>{o(a.isIntersecting)});return n.observe(e.current),()=>{n.disconnect()}},[e]),t}var _a=T(E());var pr=T(E());var bs=T(E());var Lb=es({min:ct}),OA=c` 429 align-items: center; 430 display: flex; 431 gap: ${r("--spacing-xxxl")}; 432 margin: 0 auto; 433 max-width: ${ct}px; 434 padding: 0 ${r("--spacing-xxxl")} ${r("--spacing-xxxxl")}; 435 width: 100%; 436`,GA=c` 437 flex-direction: row-reverse; 438`,zA=c` 439 gap: ${r("--spacing-m")}; 440 max-width: none; 441 padding: 0; 442`,UA=c` 443 max-width: 50%; 444 width: 50%; 445 446 ${Lb} { 447 flex: 1; 448 max-width: none; 449 width: auto; 450 } 451`,WA=c` 452 box-sizing: border-box; 453 /* Percentage padding resolves against the parent row width, so 6.25% of the row equals 12.5% of this 50%-wide column. */ 454 padding: 0 6.25%; 455`,qA=c` 456 max-width: 50%; 457 width: 50%; 458 459 ${Lb} { 460 /* This width value is specified in the designs. The accordion will fill the remaining horizontal space. */ 461 max-width: 416px; 462 min-width: 416px; 463 width: 416px; 464 } 465`,QA=c` 466 ${Lb} { 467 flex: 1; 468 max-width: none; 469 min-width: 0; 470 width: 50%; 471 } 472`,KA=c` 473 margin-bottom: ${r("--spacing-xl")}; 474 padding-inline-start: ${r("--spacing-m")}; 475 position: relative; 476 477 &:last-child { 478 margin-bottom: 0; 479 } 480`,jA=c` 481 scroll-margin: 40px; 482 overflow-y: hidden; 483 overflow-x: auto; 484`,YA=c` 485 -webkit-box-orient: vertical; 486 -webkit-line-clamp: 6; 487 display: -webkit-box; 488 color: ${r("--animated-accordion-body-color")}; 489 font-size: ${r("--animated-accordion-body-desktop-font-size")}; 490 font-weight: ${r("--animated-accordion-body-desktop-font-weight")}; 491 letter-spacing: ${r("--animated-accordion-body-desktop-font-letter-spacing")}; 492 line-height: ${r("--animated-accordion-body-desktop-font-line-height")}; 493 overflow: hidden; 494 text-overflow: ellipsis; 495 496 /* Restrict height of content when not active to prevent initial flash 497 of items appearing open without visibility due to functionality of 498 the underlying 'DetailSummary' component from SDS-M. 499 */ 500 max-height: 0; 501`,XA=c` 502 color: ${r("--animated-accordion-item-active")}; 503 max-height: none; 504 padding-top: ${r("--spacing-m")}; 505`,JA=c` 506 color: ${r("--animated-accordion-item-active")}; 507`,ZA=c` 508 color: ${r("--animated-accordion-item-inactive")}; 509`,eT=c` 510 align-items: center; 511 cursor: pointer; 512 display: flex; 513 font-size: ${r("--animated-accordion-title-desktop-font-size")}; 514 font-weight: ${r("--animated-accordion-title-desktop-font-weight")}; 515 justify-content: space-between; 516 letter-spacing: ${r("--animated-accordion-title-desktop-font-letter-spacing")}; 517 line-height: ${r("--animated-accordion-title-desktop-font-line-height")}; 518 margin: 0; 519 user-select: none; 520`,tT=c` 521 background: ${r("--animated-accordion-progress-indicator-track-desktop-color")}; 522 border-radius: ${r("--animated-accordion-progress-indicator-desktop-border-radius")}; 523 height: 100%; 524 inset-block-start: 0; 525 inset-inline-start: 0; 526 overflow: hidden; 527 position: absolute; 528 width: ${r("--animated-accordion-progress-indicator-desktop-width")}; 529`,oT=c` 530 background: ${r("--animated-accordion-progress-indicator-bar-desktop-color")}; 531 width: 100%; 532 height: 100%; 533 transform-origin: center top; 534 transform: scaleY(0); 535`,nT=c` 536 overflow: hidden; 537 position: relative; 538 width: 100%; 539`,rT=c` 540 aspect-ratio: 4 / 5; 541`,aT=c` 542 aspect-ratio: 1 / 1; 543`,iT=c` 544 aspect-ratio: 4 / 3; 545`,sT=c` 546 height: 100%; 547 left: 50%; 548 object-fit: contain; 549 opacity: 0; 550 pointer-events: none; 551 position: absolute; 552 top: 50%; 553 transform: translate(-50%, -50%); 554 transition: opacity 0.2s linear; 555 width: 100%; 556`,lT=c` 557 object-fit: cover; 558`,pT=c` 559 opacity: 1; 560 pointer-events: auto; 561 z-index: 1; 562`,cT=c` 563 display: grid; 564 height: 100%; 565 place-items: center; 566 width: 100%; 567`,dT=c` 568 inset: 0; 569 left: 0; 570 min-height: 0; 571 overflow: hidden; 572 top: 0; 573 transform: none; 574`,uT=c` 575 align-items: center; 576 display: flex; 577 height: 100%; 578 justify-content: center; 579 max-height: 100%; 580 min-height: 0; 581 min-width: 0; 582 width: 100%; 583`,yT=c` 584 line-height: 0; 585 max-height: 100%; 586 max-width: 100%; 587 position: relative; 588 589 & .sdsm-media-wrapper { 590 display: contents; 591 } 592`,Hb=c` 593 line-height: 0; 594 max-height: 100%; 595 max-width: 100%; 596 position: relative; 597 598 /* Media's no-device wrapper is layout-only; skip it so the frame sizes to the <video>. */ 599 & .sdsm-media-wrapper { 600 display: contents; 601 } 602`,mT=c` 603 display: block; 604 height: auto; 605 max-height: 100%; 606 max-width: 100%; 607 object-fit: contain; 608 width: auto; 609`,gT=c` 610 height: auto; 611 max-height: 100%; 612 object-fit: cover; 613 width: 100%; 614`,fT=c` 615 align-items: center; 616 background: rgba(0, 0, 0, 0.4); 617 border: none; 618 /* Always circular on media — EventPlayer-style; brand square tokens apply to other accordion chrome. */ 619 border-radius: 50%; 620 bottom: ${r("--spacing-m")}; 621 color: ${tr}; 622 cursor: pointer; 623 display: flex; 624 height: 32px; 625 inset-inline-end: ${r("--spacing-m")}; 626 justify-content: center; 627 margin: 0; 628 padding: 0; 629 position: absolute; 630 transition: background 0.15s linear; 631 width: 32px; 632 z-index: 2; 633 634 &:hover { 635 background: rgba(0, 0, 0, 0.6); 636 } 637 638 svg, 639 img { 640 display: block; 641 fill: currentColor; 642 height: 16px; 643 position: relative; 644 width: 16px; 645 z-index: 1; 646 } 647 648 /* Custom image icons (e.g. Stinson's static svgs) are drawn black; render them white over media. */ 649 img { 650 filter: brightness(0) invert(1); 651 } 652 653 ${P} { 654 background: transparent; 655 /* 40px hit target; 32px circle drawn on ::before so it matches desktop. */ 656 bottom: calc(${r("--spacing-m")} - 4px); 657 height: 40px; 658 inset-inline-end: calc(${r("--spacing-m")} - 4px); 659 width: 40px; 660 661 &::before { 662 background: rgba(0, 0, 0, 0.4); 663 border-radius: 50%; 664 content: ''; 665 height: 32px; 666 left: 50%; 667 pointer-events: none; 668 position: absolute; 669 top: 50%; 670 transform: translate(-50%, -50%); 671 transition: background 0.15s linear; 672 width: 32px; 673 } 674 675 &:hover { 676 background: transparent; 677 } 678 679 &:hover::before { 680 background: rgba(0, 0, 0, 0.6); 681 } 682 } 683`;
683var bT=({durationMs:e,isActive:t,isPaused:o,onAnimationComplete:n})=>{let a=(0,bs.useRef)(null),s=(0,bs.useRef)();return(0,bs.useEffect)(()=>{a.current&&(s.current=a.current.animate([{transform:"scaleY(0)"},{transform:"scaleY(1)"}],{duration:e,iterations:1,fill:"forwards"}),s.current.pause())},[]),(0,bs.useEffect)(()=>{s.current&&(t?o?s.current.pause():(s.current.play(),s.current.onfinish=()=>n?.()):(s.current.pause(),s.current.currentTime=0))},[o,t,n]),i("div",{className:tT,children:i("div",{ref:a,className:oT})})};var Vb={duration:400,easing:"ease-out"},ST=({isOpen:e,isPaused:t,progressIndicatorDurationMs:o,title:n,titleDataset:a,body:s,bodyDataset:l,onToggle:p,onMouseOver:d,onMouseLeave:u,onAnimationComplete:y})=>{let m=(0,pr.useRef)(null),g=(0,pr.useRef)(null),f=(0,pr.useRef)(null),[b,S]=(0,pr.useState)(!1),[C,I]=(0,pr.useState)(!1),k=(0,pr.useCallback)(()=>{if(!m?.current||!g?.current)return;S(!0),m.current.style.overflow="hidden";let _=`${m.current.offsetHeight}px`,D=`${g.current.offsetHeight}px`;f.current&&f.current.cancel(),f.current=m.current.animate?.({height:[_,D]},Vb),f.current?.finished?.then(()=>w(!1)).catch(()=>S(!1))},[]),v=(0,pr.useCallback)(()=>{if(!m.current||!g.current)return;I(!0),m.current.style.height=`${m.current.offsetHeight}px`,m.current.style.overflow="hidden",m.current.open=!0;let _=`${m.current.offsetHeight}px`,D=`${m.current.scrollHeight}px`;f.current&&f.current.cancel(),f.current=m.current.animate?.({height:[_,D]},Vb),f.current?.finished.then(()=>w(!0)).catch(()=>I(!1))},[]),w=_=>{m.current&&(m.current.open=_,m.current.style.height="",m.current.style.overflow="",f.current=null,I(!1),S(!1))};return Lr(()=>{m.current&&e!==m.current.open&&(m.current.open=e)},[]),Lr(()=>{window.requestAnimationFrame(e?v:k)},[e,v,k]),x("div",{className:KA,onMouseOver:d,onFocus:d,onMouseLeave:u,onBlur:u,children:[i(bT,{durationMs:o,isActive:e,isPaused:t,onAnimationComplete:y}),i(sn,{disableScrollToOnOpen:!0,detailsRef:m,summaryRef:g,summary:n,showChevron:!1,className:jA,onToggle:p,summaryProps:{className:h(eT,{[JA]:e,[ZA]:!e}),dataset:a},transitionDurationMs:Vb.duration,open:e,children:i("div",{className:h(YA,{[XA]:e||C||b}),...te(l),children:s})})]})};var mr=T(E());var vs=T(E());var Ta=(e,t)=>o=>{[e,t].forEach(n=>{n&&(typeof n=="function"?n(o):n.current=o)})};var DT=T(E());var cr=-16,hT=c` 684 height: auto; 685 pointer-events: none; 686 position: absolute; 687 width: 60px; 688 689 ${Ye} { 690 width: 80px; 691 } 692`,CT=c` 693 object-fit: contain; 694 width: 100%; 695`,xT=c` 696 width: 80px; 697 698 ${Ye} { 699 width: 110px; 700 } 701`,vT=c` 702 width: 80px; 703 704 ${Ye} { 705 width: 140px; 706 } 707`,IT=c` 708 inset-inline-start: var(--sticker-position-offset, ${cr}px); 709 top: var(--sticker-position-offset, ${cr}px); 710`,kT=c` 711 inset-inline-end: var(--sticker-position-offset, ${cr}px); 712 top: var(--sticker-position-offset, ${cr}px); 713`,MT=c` 714 bottom: var(--sticker-position-offset, ${cr}px); 715 inset-inline-start: var(--sticker-position-offset, ${cr}px); 716`,AT=c` 717 bottom: var(--sticker-position-offset, ${cr}px); 718 inset-inline-end: var(--sticker-position-offset, ${cr}px); 719`,TT=c` 720 transform: rotate(-15deg); 721`,_T=c` 722 transform: rotate(15deg); 723`,su=c` 724 ${P} { 725 display: none; 726 } 727`;var mp={TopStart:"Top-Start",TopEnd:"Top-End",BottomStart:"Bottom-Start",BottomEnd:"Bottom-End"},Ob={Negative15Degrees:"-15 degrees",ZeroDegrees:"0 degrees",Positive15Degrees:"15 degrees"},dr={Regular:"regular",Medium:"medium",Large:"large"},lu=({className:e,imgSrcs:t,position:o=mp.TopStart,rotation:n=Ob.ZeroDegrees,size:a=dr.Regular,insetPx:s=cr})=>i(Ze,{className:h(hT,{[xT]:a===dr.Medium,[vT]:a===dr.Large,[IT]:o===mp.TopStart,[kT]:o===mp.TopEnd,[MT]:o===mp.BottomStart,[AT]:o===mp.BottomEnd,[TT]:n===Ob.Negative15Degrees,[_T]:n===Ob.Positive15Degrees},e),style:{"--sticker-position-offset":`${s}px`},imgClassName:CT,imgSrcs:t,altText:""});var wT=c` 728 display: inline-block; /* Ensure container always covers image so that stickers align correctly */ 729 position: relative; 730 vertical-align: top; /* Ensure no additional space is added below image due to 'display: inline-block' */ 731`;var Hn=({altText:e,className:t,style:o,defaultSrc:n,imgClassName:a,imgSrcs:s,height:l,width:p,fetchPriority:d,dataset:u,isDraggable:y,handleSafariSourceSets:m,stickers:g=[]})=>
731{let f=!s?.sources?.length,b=(0,DT.useContext)(ap);return x("span",{className:h(wT,t),style:o,children:[x("picture",{children:[s?.sources?.map((S,C)=>i("source",{srcSet:S.url,type:S.type,sizes:S.sizes,media:S.media},`${S.type}${C}desktop`)),i("img",{ref:m?x0(s?.default??n,s?.defaultSrcSet):void 0,alt:e??"",className:a,sizes:s?.defaultSizes,height:l,width:p,src:f||!m?s?.default??n:void 0,srcSet:f||!m?s?.defaultSrcSet:void 0,loading:b?.lazy?"lazy":void 0,fetchpriority:d,...te(u),draggable:y})]}),g?.map((S,C)=>i(lu,{...S},C))]})};var Vn=e=>e?e.currentTime>0&&!e.paused&&!e.ended&&e.readyState>2:!1;var ur=T(E());var PT=T(E()),Ss=(0,PT.createContext)({});var NT=c` 732 display: block; 733 height: 100%; 734 position: relative; 735 width: 100%; 736`,pu=c` 737 width: 100%; 738 height: 100%; 739 display: block; 740`,KQ=c` 741 object-fit: cover; 742`,jQ=c` 743 object-fit: contain; 744`,cu=e=>e?KQ:jQ;var gi=(0,ur.forwardRef)((e,t)=>{let{source:o,mobileSource:n,sourceType:a="video/mp4",mobileSourceType:s="video/mp4",posterSource:l,altText:p,className:d,style:u,muted:y=!0,autoPlay:m=!0,loop:g=!0,controls:f=!1,playsInline:b=!0,onPlay:S,onPause:C,captionsSource:I,isBackgroundVideo:k,onTimeUpdate:v,dataset:w}=e,_=(0,ur.useRef)(null),{getLowEntropyHints:D}=(0,ur.useContext)(Je),M=D();(0,ur.useEffect)(()=>{let ue=_.current?.querySelector("track");if(_.current&&I&&!ue){let ie=document.createElement("track");ie.setAttribute("src",I),ie.setAttribute("kind","captions"),ie.setAttribute("srclang","en"),ie.setAttribute("label","English"),_.current.appendChild(ie)}},[I]);let{addOnTabChangeListener:A,removeOnTabChangeListener:N}=(0,ur.useContext)(Ss);(0,ur.useEffect)(()=>{if(!_.current||y||m)return;let ue=()=>{Vn(_.current||void 0)&&_.current?.pause()};return A?.(ue),()=>N?.(ue)},[A,N,_,y,m]);let $=cu(k),B=m?"auto":l?"none":"metadata",L=M.browsers.find(ue=>ue.brand==="Safari"),H=L&&B==="metadata"?`${o}#t=0.01`:o,z=n&&L&&B==="metadata"?`${n}#t=0.01`:n,j=n?`${o}-${n}`:o;return x("video",{className:h("video",pu,$,d),style:u,poster:l,autoPlay:m,loop:g,muted:y,controls:f,playsInline:b,onPlay:S,onPause:C,preload:B,"aria-describedby":p,ref:Ta(_,t),crossOrigin:"anonymous",onTimeUpdate:v,...te(w),children:[z&&i("source",{src:z,type:s,media:"(max-width: 768px)"}),i("source",{src:H,type:a})]},j)});gi.displayName="Video";var yr=T(E());var Ur=(0,yr.forwardRef)((e,t)=>{let{source:o,mobileSource:n,sourceType:a="video/mp4",mobileSourceType:s="video/mp4",posterSource:l,altText:p,className:d,style:u,muted:y=!0,autoPlay:m=!0,loop:g=!0,controls:f=!1,playsInline:b=!0,onPlay:S,onPause:C,captionsSource:I,isBackgroundVideo:k,onTimeUpdate:v,dataset:w,videoClassName:_,stickers:D=[]}=e,M=(0,yr.useRef)(null),{getLowEntropyHints:A}=(0,yr.useContext)(Je),N=A();(0,yr.useEffect)(()=>{let ne=M.current?.querySelector("track");if(M.current&&I&&!ne){let J=document.createElement("track");J.setAttribute("src",I),J.setAttribute("kind","captions"),J.setAttribute("srclang","en"),J.setAttribute("label","English"),M.current.appendChild(J)}},[I]);let{addOnTabChangeListener:$,removeOnTabChangeListener:B}=(0,yr.useContext)(Ss);(0,yr.useEffect)(()=>{if(!M.current||y||m)return;let ne=()=>{Vn(M.current||void 0)&&M.current?.pause()};return $?.(ne),()=>B?.(ne)},[$,B,M,y,m]);let L=cu(k),H=m?"auto":l?"none":"metadata",z=N.browsers.find(ne=>ne.brand==="Safari"),j=z&&H==="metadata"?`${o}#t=0.01`:o,ue=n&&z&&H==="metadata"?`${n}#t=0.01`:n,ie=n?`${o}-${n}`:o;return x("span",{className:h("video",NT,d),style:u,children:[x("video",{className:h(pu,L,_),poster:l,autoPlay:m,loop:g,muted:y,controls:f,playsInline:b,onPlay:S,onPause:C,preload:H,"aria-describedby":p,ref:Ta(M,t),crossOrigin:"anonymous",onTimeUpdate:v,...te(w),children:[ue&&i("source",{src:ue,type:s,media:"(max-width: 768px)"}),i("source",{src:j,type:a})]},ie),D?.map((ne,J)=>i(lu,{...ne},J))]})});Ur.displayName="VideoWithStickers";var gp=({children:e,className:t,maxHeight:o})=>{let n=c` 745 ${o?`max-height: ${o}px;`:""} 746 width: 100%; 747 & > svg { 748 /* Scaling the SVG */ 749 width: 100%; 750 } 751 `;return i("div",{className:h(n,t),children:x("svg",{viewBox:"0 0 654 366",width:"654",height:"366",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-testid":"laptop-wrapper",children:[i("g",{filter:"url
751(#J)",fillRule:"evenodd",children:i("path",{d:`M95.626 1.127L104.459 1h444.227l8.834.127c9.637.157 17.141 7.735 752 17.096 17.253.045-.115.285 5.943.285 8.833v292.992c0 1.781-.092 4.779-.172 753 6.782-.05 1.237-.152 3.513-.238 4.224-1.023 8.479-8.201 14.964-16.971 754 14.923.086.045-5.974.285-8.834.285H104.459c-2.861 0-8.92-.24-8.833-.285 755 -8.359.039-15.272-5.851-16.788-13.745-.208-1.083-.314-2.203-.309-3.351 756 -.045.114-.285-5.944-.285-8.833V27.214c0-2.876.24-8.948.285-8.833-.045-9.518 757 7.591-17.299 17.097-17.253z`,fill:"#303030"})}),i("g",{filter:"url(#L)",fillRule:"evenodd",children:i("path",{d:`M572.337 27.499l-.285-8.833c.045-7.935-6.31-14.449-14.247-14.404 758 -1.411-.051-6.09-.127-8.834-.127H104.459c-2.752 0-6.258.083-8.833.127 759 -7.937-.045-14.292 6.469-14.247 14.404-.057.246-.285 6.117-.285 8.833V322.12c0 760 .889.037 2.314.088 3.582.059 1.457.223 3.895.304 4.478.768 5.534 5.499 9.421 761 11.29 9.321-.039.112 4.331.285 6.269.285h454.77c2.043 0 6.421-.173 6.554-.285 762 6.229.11 11.335-4.713 11.398-11.112-.06.036.112-4.348 0-6.269l.57-294.621z`,fill:"#272727"})}),x("g",{fillRule:"evenodd",children:[i("path",{d:`M574.988 216.885v103.069l-.144 6.217-.393 5.834c-1.491 7.885-8.427 763 13.848-16.758 13.848l-8.884.24H104.133c-2.82 0-8.879-.24-8.879-.24-8.499 0 764 -15.286-6.207-16.53-14.328-.135-.879-.445-9.574-.445-11.552v-103.05l496.709 765 -.038z`,fill:"url(#O)",fillOpacity:".03"}),i("path",{d:`M93.346 24.365h466.453c.355 0 .57.215.57.569v291.203a.52.52 0 0 1 766 -.57.569H93.346a.52.52 0 0 1-.57-.569V24.934c0-.355.215-.569.57-.569z`,fill:"#111112"}),i("path",{d:`M272.029 350.802H100.508l-37.081-.284c-33.91.284-43.031-3.773-43.026 767 -4.748v-1.425h252.054l107.667.096h252.054v1.424c.004.976-9.117 5.033-43.027 768 4.749-.622.019-37.081.284-37.081.284H380.546l-108.517-.096z`,fill:"#1c1b1b"})]}),i("path",{d:`M21.255 336.082H631.32c.532 0 .855.313.855.57v9.118c0 .256-.323.57 769 -.855.57H21.255c-.532 0-.855-.314-.855-.57v-9.118c0-.257.322-.57.855-.57z`,fill:"#1d1c1c",fillRule:"evenodd"}),i("foreignObject",{x:"92",y:"24",width:"468",height:"293",requiredFeatures:"http://www.w3.org/TR/SVG11/feature#Extensibility",children:e}),x("defs",{children:[x("filter",{id:"J",x:"77.244",y:"0",width:"498.657",height:"347.42",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[i("feGaussianBlur",{stdDeviation:".5"}),i("feBlend",{in:"SourceGraphic",result:"C"}),i("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"D"}),i("feGaussianBlur",{stdDeviation:"1.5"}),i("feComposite",{in2:"D",operator:"arithmetic",k2:"-1",k3:"1"}),i("feBlend",{in2:"C"})]}),x("filter",{id:"L",x:"79.093",y:"2.134",width:"495.243",height:"339.652",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[i("feBlend",{in:"SourceGraphic",result:"C"}),i("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"D"}),i("feGaussianBlur",{stdDeviation:"2"}),i("feComposite",{in2:"D",operator:"arithmetic",k2:"-1",k3:"1"}),i("feBlend",{in2:"C",result:"E"}),i("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"}),i("feBlend",{in2:"E"})]}),x("linearGradient",{id:"O",x1:"111.017",y1:"227.897",x2:"111.017",y2:"340.072",gradientUnits:"userSpaceOnUse",children:[i("stop",{stopOpacity:".01"}),i("stop",{offset:"1"})]})]})]})})};gp.displayName="LaptopWrapper";var ET=c` 770 display: block; 771 object-fit: cover; 772`,hs=c` 773 ${ET} 774 border-width: ${r("--media-border-width")}; 775 border-radius: ${r("--media-border-radius")}; 776 border-color: ${r("--media-border-color")}; 777 border-style: solid; 778 height: auto; 779 margin: auto; 780 max-width: 100%; 781 overflow: hidden; 782 width: auto; 783`,Cs=c` 784 ${ET} 785 height: 100%; 786 width: 100%; 787`,du=c` 788 ${Cs} 789 object-fit: contain; 790`,uu=c` 791 ${hs} 792 object-fit: contain; 793`,yu=Cs,mu=hs,gu=c` 794 ${P} { 795 margin-top: 0; 796 } 797 ${Ot} { 798 margin-top: 0; 799 } 800`,fu=c` 801 position: fixed; 802`,bu=c` 803 width: 297px; 804 height: 550px; 805`,Su=c` 806 border-radius: ${r("--media-border-radius")}; 807`,xs=c`
808 box-shadow: ${r("--box-shadow-xl")}; 809 border-radius: ${r("--media-border-radius")}; 810`,hu=c` 811 display: flex; 812 justify-content: center; 813`,RT=c` 814 width: 100%; 815 height: 100%; 816`;var YQ=c` 817 display: flex; 818 justify-content: center; 819`,XQ=c` 820 background-image: url('https://images.ctfassets.net/kp51zybwznx4/5MBQ096OLy837zpHXtGsIa/0b35a1eadad459a767f935297483854c/iPhone.png'); 821 width: 250px; 822 height: 530px; 823 background-size: 100%; 824 background-repeat: no-repeat; 825 position: relative; 826 margin-bottom: 20px; 827 padding: 14px; 828`,fp=({children:e})=>i("div",{className:h("phone-wrapper",YQ),"data-testid":"phone-wrapper",children:i("div",{className:XQ,children:e})});fp.displayName="PhoneWrapper";var Gb="sdsm-media-wrapper",Ke=(0,vs.forwardRef)((e,t)=>{let{className:o,altText:n,imageSource:a,maxHeight:s,maxWidth:l,videoSource:p,mobileVideoSource:d,sourceType:u,mobileSourceType:y,wrap:m=Ct.None,showVideoControls:g=!1,autoplay:f=!g,posterSource:b,onPlay:S,onPause:C,captionsSource:I,isBackgroundVideo:k,onTimeUpdate:v,imgSrcs:w,dataset:_,height:D,width:M,isDraggable:A}=e;K("sdsm-media");let N=null,{getLowEntropyHints:$}=(0,vs.useContext)(Je),B=(0,vs.useRef)(null),L=$(),z=!!(L.platform==="macOS"&&L.browsers.find(ie=>ie.brand==="Safari"))&&m===Ct.Phone,j=m===Ct.Laptop||m===Ct.Phone,ue={maxHeight:s&&!j?`${s}px`:void 0,maxWidth:l&&!j?`${l}px`:void 0};if(a||w){let ie=h({[Cs]:j,[hs]:!j,[Su]:m===Ct.Phone,[xs]:m===Ct.Shadow},o);w?N=i(Ze,{className:"sdsm-media",imgSrcs:w,altText:n,imgClassName:ie,style:ue,dataset:_,height:D,width:M,isDraggable:A}):a&&(N=i(Ze,{className:"sdsm-media",altText:n,imgClassName:ie,style:ue,defaultSrc:a,dataset:_,height:D,width:M,isDraggable:A}))}else if(p){let ie=k?yu:du,ne=k?mu:uu,J=h({[gu]:m===Ct.Phone,[ie]:j,[bu]:m===Ct.Phone&&z,[ne]:!j,[xs]:m===Ct.Shadow},o);N=i(gi,{source:p,mobileSource:d,sourceType:u,mobileSourceType:y,altText:n,className:h("sdsm-media",J),style:ue,autoPlay:f,playsInline:!g,loop:!g,muted:!g,controls:g,posterSource:b,onPlay:S,onPause:C,captionsSource:I,onTimeUpdate:v,isBackgroundVideo:k,dataset:_,ref:Ta(B,t)},p),z&&(N=i("div",{"data-testid":"sdsm-media-safari-wrapper",className:fu,children:N}))}else return null;return m===Ct.Laptop?i(gp,{className:Gb,maxHeight:s,children:N}):m===Ct.Phone?i(fp,{className:Gb,maxHeight:s,children:N}):i("div",{className:h(Gb,hu),"data-testid":"no-device-wrapper",children:N})});Ke.displayName="Media";var ks=T(E());var Is="sdsm-media-wrapper",gn=(0,ks.forwardRef)((e,t)=>{let{className:o,mediaClassName:n,altText:a,imageSource:s,maxHeight:l,maxWidth:p,videoSource:d,mobileVideoSource:u,sourceType:y,mobileSourceType:m,wrap:g=Ct.None,showVideoControls:f=!1,autoplay:b=!f,posterSource:S,onPlay:C,onPause:I,captionsSource:k,isBackgroundVideo:v,onTimeUpdate:w,imgSrcs:_,dataset:D,height:M,width:A,isDraggable:N,stickers:$}=e;K("sdsm-media");let B=null,{getLowEntropyHints:L}=(0,ks.useContext)(Je),H=(0,ks.useRef)(null),z=L(),ue=!!(z.platform==="macOS"&&z.browsers.find(J=>J.brand==="Safari"))&&g===Ct.Phone,ie=g===Ct.Laptop||g===Ct.Phone,ne={maxHeight:l&&!ie?`${l}px`:void 0,maxWidth:p&&!ie?`${p}px`:void 0};if(s||_){let J=h({[Cs]:ie,[hs]:!ie,[Su]:g===Ct.Phone,[xs]:g===Ct.Shadow},n);_?B=i(Hn,{className:h("sdsm-media",o,{[RT]:ie}),imgSrcs:_,altText:a,imgClassName:J,style:ne,dataset:D,height:M,width:A,isDraggable:N,stickers:ie?void 0:$}):s&&(B=i(Hn,{className:h("sdsm-media",o),altText:a,imgClassName:J,style:ne,defaultSrc:s,dataset:D,height:M,width:A,isDraggable:N,stickers:ie?void 0:$}))}else if(d){let J=v?yu:du,pe=v?mu:uu,re=h({[gu]:g===Ct.Phone,[J]:ie,[bu]:g===Ct.Phone&&ue,[pe]:!ie,[xs]:g===Ct.Shadow},n);B=i(Ur,{source:d,mobileSource:u,sourceType:y,mobileSourceType:m,altText:a,className:h("sdsm-media",o),videoClassName:re,style:ne,autoPlay:b,playsInline:!f,loop:!f,muted:!f,controls:f,posterSource:S,onPlay:C,onPause:I,captionsSource:k,onTimeUpdate:w,isBackgroundVideo:v,dataset:D,ref:Ta(H,t),stickers:ie?void 0:$},d),ue&&(B=i("div",{"data-testid":"sdsm-media-safari-wrapper",className:fu,children:B}))}else return null;return g===Ct.Laptop?i(gp,{className:Is,maxHeight:l,children:B}):g===Ct.Phone?i(fp,{className:Is,maxHeight:l,children:B}):i("div",{className:h(Is,hu),"data-testid":"no-device-wrapper",children:B})});gn.displayName="MediaWithStickers";var bp=({item:e,isActive:t,className:o,isFullWidthLayout:n=!1,fitMediaToContainer:a=!1,playIcon:s=i(wd,{}),pauseIcon:l=i(_d,{}),onVideoPlayToggle:p})=>{let d=!!e.videoSource,[u,y]=(0,mr.useState)(null),[m,g]=(0,mr.useState)(!1),f=(0,mr.useCallback)(D=>{y(D)},[]);(0,mr.useEffect)(()=>
828{if(!d||!u||u.tagName!=="VIDEO")return;let D=u;if(!t){Vn(D)&&D.pause(),D.currentTime=0;return}D.play()?.catch(()=>{})},[d,t,u]);let b=(0,mr.useCallback)(()=>g(!0),[]),S=(0,mr.useCallback)(()=>g(!1),[]),C=(0,mr.useCallback)(D=>{if(D.stopPropagation(),!u||u.tagName!=="VIDEO")return;let M=u;if(m){M.pause(),p?.(!1);return}M.play()?.catch(()=>{}),p?.(!0)},[m,u,p]),k=d&&t&&i("button",{"aria-label":m?"Pause video":"Play video",className:fT,"data-testid":"animated-accordion-play-pause",type:"button",onClick:C,children:m?l:s}),v=h(mT,{[gT]:n}),w=i(Ke,{ref:f,className:d?v:o,imgSrcs:e.imgSrcs,altText:e.imageAltText,videoSource:e.videoSource,mobileVideoSource:e.mobileVideoSource,sourceType:e.sourceType,mobileSourceType:e.mobileSourceType,posterSource:e.posterSource,autoplay:d&&t,showVideoControls:!1,onPlay:b,onPause:S});if(!d)return w;let _=a?i("div",{className:h(Hb,uT),children:x("div",{className:yT,children:[w,k]})}):x("div",{className:Hb,children:[w,k]});return i("div",{className:h(o,cT,{[dT]:a}),children:_})};bp.displayName="AnimatedAccordionMediaPanel";var JQ="1:1",FT=({items:e=[],mediaDirection:t,autoPlaySpeedMs:o,mediaAspectRatio:n,useFullWidthLayout:a=!1,onItemSelect:s,playIcon:l,pauseIcon:p,onVideoPlayToggle:d})=>{let u=e.length>1,y=(0,_a.useRef)(null),m=iu(y),[g,f]=(0,_a.useState)(-1),[b,S]=(0,_a.useState)(!0),C=()=>{f(k=>k>=e.length-1?0:k+1)};(0,_a.useEffect)(()=>{u&&S(!1),f(0)},[u,S,f]),(0,_a.useEffect)(()=>{u&&S(!m)},[m,u,S]);let I=n??JQ;return x("div",{"data-testid":a?"animated-accordion-full-width":"animated-accordion-default",className:h(OA,{[zA]:a,[GA]:t==="Start"}),children:[i("div",{ref:y,className:h(UA,{[WA]:a}),children:e.map((k,v)=>i(ST,{isOpen:v===g,isPaused:b||v!==g,progressIndicatorDurationMs:o,title:k.title,titleDataset:k.titleDataset,body:k.body,bodyDataset:k.bodyDataset,onToggle:()=>{v===g||!u||(S(!1),f(v),s?.(v))},onMouseOver:()=>{v!==g||!u||S(!0)},onMouseLeave:()=>{v!==g||!u||S(!1)},onAnimationComplete:C},`${k.title}${v}`))}),i("div",{className:h(qA,{[QA]:a}),children:i("div",{"data-testid":"animated-accordion-media-frame",className:h(nT,{[rT]:I==="4:5",[aT]:I==="1:1",[iT]:I==="4:3"}),children:e.map((k,v)=>i(bp,{item:k,isActive:v===g,isFullWidthLayout:a,className:h(sT,{[lT]:a,[pT]:v===g}),playIcon:l,pauseIcon:p,onVideoPlayToggle:d},`${k.title}${v}`))})})]})};var fn=T(E());var Ms=T(E());var zb="--item-min-height",Ub="32px",BT=c` 829 text-align: start; 830`,$T=c` 831 text-align: center; 832`,LT=c` 833 text-align: end; 834`,HT=c` 835 display: none; 836`,Wb=c` 837 animation: fade-in 1s; 838 839 @keyframes fade-in { 840 from { 841 opacity: 0.4; 842 } 843 to { 844 opacity: 1; 845 } 846 } 847`,VT=c` 848 align-items: flex-start; 849 display: flex; 850 flex-direction: column; 851 gap: ${r("--spacing-l")}; 852 margin-block: ${r("--spacing-m")}; 853 min-height: var(${zb}); 854 855 &.dragging { 856 a { 857 pointer-events: none; 858 } 859 } 860`,OT=c` 861 aspect-ratio: 3/2; 862 overflow: hidden; 863 position: relative; 864 width: 100%; 865`,GT=c` 866 height: 100%; 867 left: 50%; 868 object-fit: contain; 869 position: absolute; 870 top: 50%; 871 transform: translate(-50%, -50%); 872 transition: opacity 0.2s linear; 873 width: 100%; 874`,zT=c` 875 align-self: stretch; 876 display: flex; 877 flex-direction: row; 878 gap: ${r("--spacing-xs")}; 879 justify-content: center; 880 overflow: hidden; 881`,UT=c` 882 align-items: center; 883 display: flex; 884 justify-content: center; 885`,WT=c` 886 align-items: center; 887 align-self: stretch; 888 display: flex; 889 flex-direction: column; 890 gap: ${r("--spacing-xs")}; 891 justify-content: center; 892 padding: 0 ${r("--spacing-s")}; 893`,qT=c` 894 background: ${r("--animated-accordion-progress-indicator-track-mobile-color")}; 895 border-radius: ${r("--animated-accordion-progress-indicator-mobile-border-radius")}; 896 height: ${r("--animated-accordion-progress-indicator-mobile-height")}; 897 inset-block-start: 0; 898 inset-inline-start: 0; 899 overflow: hidden; 900 width: ${Ub}; 901`,QT=c` 902 background: ${r("--animated-accordion-progress-indicator-bar-mobile-color")}; 903 border-radius: ${r("--animated-accordion-progress-indicator-mobile-border-radius")}; 904 height: 100%; 905 transform-origin: center left; 906 width: 100%; 907`,KT=c` 908 align-items: center; 909 display: flex; 910 gap: ${r("--spacing-xs")}; 911 justify-content: center; 912 padding: ${r("--spacing-m")} ${r("--spacing-s")}; 913`,jT=c` 914 align-items: center; 915 background: ${r("--animated-accordion-progress-indicator-track-mobile-color")}; 916 border-radius: ${r("--animated-accordion-dot-border-radius")}; 917 display: flex; 918 height: ${r("--animated-accordion-dot-height")}; 919 justify-content: flex-end; 920 width: ${r("--animated-accordion-dot-width")}; 921`,YT=c` 922 align-items: center; 923 background: ${r("--animated-accordion-nav-button-bg-color")}; 924 border: none; 925 border-radius: 50%; 926 cursor: pointer; 927 display: flex; 928 flex-shrink: 0; 929 height: 32px; 930 justify-content: center; 931 padding: 0; 932 width: 32px; 933 934 &:hover { 935 background: ${r("--animated-accordion-nav-button-hover-bg-color")}; 936 } 937 938 svg, 939 img { 940 display: block; 941 height: 16px; 942 width: 16px; 943 } 944`,XT=c` 945 align-items: flex-start; 946 align-self: stretch; 947 display: flex; 948 flex-direction: column; 949 gap: ${r("--spacing-m")}; 950`,JT=c` 951 -webkit-box-orient: vertical; 952 -webkit-line-clamp: 3; 953 align-self: stretch; 954 display: -webkit-box; 955 overflow: hidden; 956 text-overflow: ellipsis; 957 958 && { 959 font-size: ${r("--animated-accordion-title-mobile-font-size")};
960 font-weight: ${r("--animated-accordion-title-mobile-font-weight")}; 961 letter-spacing: ${r("--animated-accordion-title-mobile-font-letter-spacing")}; 962 line-height: ${r("--animated-accordion-title-mobile-font-line-height")}; 963 margin: 0; 964 padding: 0; 965 } 966`,ZT=c` 967 -webkit-box-orient: vertical; 968 -webkit-line-clamp: 6; 969 align-self: stretch; 970 color: ${r("--animated-accordion-body-color")}; 971 display: -webkit-box; 972 font-size: ${r("--animated-accordion-body-mobile-font-size")}; 973 font-weight: ${r("--animated-accordion-body-mobile-font-weight")}; 974 letter-spacing: ${r("--animated-accordion-body-mobile-font-letter-spacing")}; 975 line-height: ${r("--animated-accordion-body-mobile-font-line-height")}; 976 overflow: hidden; 977 padding-bottom: auto; 978 text-overflow: ellipsis; 979`;var e_=({durationMs:e,isActive:t,isPaused:o,onAnimationComplete:n})=>{let a=(0,Ms.useRef)(null),s=(0,Ms.useRef)();return(0,Ms.useEffect)(()=>{a.current&&(s.current=a.current.animate([{translate:`-${Ub}`},{translate:"0"}],{duration:e,iterations:1,fill:"forwards"}),s.current.pause())},[]),(0,Ms.useEffect)(()=>{s.current&&(t?o?s.current.pause():(s.current.play(),s.current.onfinish=()=>n?.()):(s.current.pause(),s.current.currentTime=0))},[o,t,n]),i("div",{className:qT,children:i("div",{ref:a,className:QT})})};var t_=e=>{let{currentItemIndex:t,durationMs:o=7e3,isActive:n,isPaused:a,itemsCount:s,onAnimationComplete:l,onPause:p,playIcon:d=i(wd,{}),pauseIcon:u=i(_d,{})}=e;return x("div",{className:zT,children:[i("div",{className:UT,children:Array.from({length:s}).map((y,m)=>t===m?i("div",{className:WT,children:i(e_,{durationMs:o,isActive:n,isPaused:a,onAnimationComplete:l})},m):i("div",{className:KT,children:i("div",{className:jT})},m))}),i("button",{"aria-label":a?"Play accordion":"Pause accordion",className:YT,type:"button",onClick:()=>p(),children:a?d:u})]})};var o_=e=>{let{items:t,textAlignment:o="Start",onItemSelect:n,playIcon:a,pauseIcon:s,onVideoPlayToggle:l}=e,p=t.length>1,d=(0,fn.useRef)([]),[u,y]=(0,fn.useState)(-1),[m,g]=(0,fn.useState)(!0),[f,b]=(0,fn.useState)(0),[S,C]=(0,fn.useState)(!1),[I,k]=(0,fn.useState)(0),[v,w]=(0,fn.useState)(0),_=v>0,D=()=>{y(H=>H>=t.length-1?0:H+1)};(0,fn.useEffect)(()=>{p&&g(!1),y(0)},[p]);let M=H=>{b(H.touches[0]?.clientX),C(!0)},A=H=>{if(f===null||!S)return;let j=H.touches[0]?.clientX-f;k(j)},N=()=>{if(f===null)return;Math.abs(I)>50&&(I>0?B():$()),C(!1),k(0),b(null)},$=()=>{y(H=>{let z=(H+1)%t.length;return n?.(z),z})},B=()=>{y(H=>{let z=H===0?t.length-1:H-1;return n?.(z),z})};(0,fn.useEffect)(()=>{if(!_&&p){let H=d.current.map(z=>z.clientHeight);w(Math.max(...H))}},[p,_,v]);let L={[zb]:`${v}px`};return i("div",{onTouchStart:M,onTouchMove:A,onTouchEnd:N,style:L,children:t?.map((H,z)=>x("div",{className:h(VT,{[BT]:o===ae.Start,[$T]:o===ae.Center,[LT]:o===ae.End,[HT]:p&&z!==u&&_}),ref:j=>{d.current[z]=j},onClick:()=>g(!m),children:[i("div",{className:h(OT,Wb),children:i(bp,{item:H,isActive:!p||z===u,className:GT,fitMediaToContainer:!0,playIcon:a,pauseIcon:s,onVideoPlayToggle:l})}),p&&i(t_,{currentItemIndex:z,isActive:z===u&&I===0,isPaused:m,itemsCount:t.length,onPause:()=>g(!m),onAnimationComplete:D,playIcon:a,pauseIcon:s}),x("div",{className:h(XT,Wb),children:[i("h6",{className:JT,...te(H.titleDataset),children:H.title}),i("section",{className:ZT,...te(H.bodyDataset),children:H.body})]})]},z))})};var n_=e=>{K("sdsm-animated-accordion");let o=Yo()===at.Mobile,{mediaDirection:n="Start",autoPlaySpeed:a=10,textAlignmentMobile:s=ae.Start,items:l=[],onItemSelect:p,useFullWidthLayout:d=!1,mediaAspectRatio:u,playIcon:y,pauseIcon:m,onVideoPlayToggle:g}=e;return o?i(o_,{items:l,textAlignment:s,onItemSelect:p,playIcon:y,pauseIcon:m,onVideoPlayToggle:g}):i(FT,{items:l,mediaDirection:n,autoPlaySpeedMs:a*1e3,mediaAspectRatio:u,useFullWidthLayout:d,onItemSelect:p,playIcon:y,pauseIcon:m,onVideoPlayToggle:g})};var r_=T(E()),As,ZQ=()=>As||(As=new IntersectionObserver(e=>{for(let t of e){let o=t.target;t.isIntersecting&&o instanceof HTMLElement&&(o.style.animationPlayState="running",As.unobserve(o))}return As}),As),eK=e=>{let t=e.animationName,o=e.delay?`${e.delay}ms`:"",n=e.direction?`${e.direction}`:"normal",a=e.duration?`${e.duration}ms`:"1000ms",s="forwards",l=e.iterationCount??1,p="paused",d=e.timingFunction??"",u=e.transformOrigin??"";return{animation:`${a} ${d} ${o} ${l} ${n} ${s} ${p} ${t}`,transformOrigin:`${u}`}};function Cu(e,t){if((0,r_.useEffect)(()=>
979{if(!t)return;let o=ZQ(),n=[],a=e.current;if(!a)return;if(window.matchMedia("(prefers-reduced-motion: reduce)").matches){a.style.animationName="",a.style.opacity="1";return}return o.observe(a),n.push(a),()=>{o.unobserve(a)}},[t,e]),!!t)return eK(t)}var a_=c` 980 line-height: ${32}px; 981 margin: ${8}px 0; 982`,Ype=c` 983 display: block; 984`;var i_=({author:e,date:t})=>!e&&!t?null:x("div",{className:a_,children:[e,e&&t&&i("br",{}),t]});var On=T(E());var Ts=T(E());var wa=T(E());var qb="table-with-headers",Sp="--column-count",s_=c` 985 background-color: ${r("--table-bg-color")}; 986 border-radius: ${r("--border-radius-s")}; 987 margin-bottom: ${r("--spacing-m")}; 988 overflow-x: auto; 989 990 /* Paragraph margins in table cells look like extra padding, so we remove them for tables */ 991 .${Rn.p} { 992 margin-bottom: 0; 993 overflow-wrap: break-word; 994 } 995`,l_=c` 996 /* Allow table to scroll horizontally on smaller viewpoints */ 997 border-collapse: collapse; 998 display: grid; 999 grid-template-columns: repeat( 1000 var(${Sp}), 1001 minmax(${r("--table-cell-min-width")}, 1fr) 1002 ); 1003 grid-row-gap: ${r("--table-desktop-row-gap")}; 1004 min-width: ${r("--table-cell-min-width")}; 1005 overflow-x: auto; 1006 width: 100%; 1007 padding: ${r("--spacing-m")} 0; 1008 1009 div[role='cell'] { 1010 padding: ${r("--table-cell-desktop-padding")}; 1011 1012 &:first-child { 1013 padding-inline-start: ${r("--table-cell-desktop-inline-edge-padding")}; 1014 } 1015 1016 &:last-child { 1017 padding-inline-end: ${r("--table-cell-desktop-inline-edge-padding")}; 1018 } 1019 } 1020 1021 &.${qb} { 1022 padding: unset; 1023 grid-template-columns: repeat( 1024 var(${Sp}), 1025 minmax(${r("--table-cell-min-width")}, 1fr) 1026 ); 1027 1028 div[role='cell'] { 1029 border-bottom: 1px solid ${r("--table-border-color")}; 1030 padding: ${r("--spacing-m")}; 1031 1032 &:first-child { 1033 padding-inline-start: ${r("--table-cell-desktop-inline-edge-padding")}; 1034 } 1035 1036 &:last-child { 1037 padding-inline-end: ${r("--table-cell-desktop-inline-edge-padding")}; 1038 } 1039 1040 ${P} { 1041 &:first-child { 1042 padding-inline-start: ${r("--table-cell-mobile-inline-edge-padding")}; 1043 } 1044 1045 &:last-child { 1046 padding-inline-end: ${r("--table-cell-mobile-inline-edge-padding")}; 1047 } 1048 } 1049 } 1050 } 1051`,p_=c` 1052 ${P} { 1053 overflow-x: scroll; 1054 } 1055`,c_=c` 1056 grid-template-columns: 1057 minmax(${r("--table-cell-min-width")}, ${r("--table-first-column-max-width")}) 1058 repeat(calc(var(${Sp}) - 1), minmax(${r("--table-cell-min-width")}, 1fr)); 1059 1060 /** mobile media query single column layout */ 1061 div[role='cell'] { 1062 padding: ${r("--table-cell-desktop-padding")}; 1063 1064 &:first-child { 1065 padding-inline-start: ${r("--table-cell-desktop-inline-edge-padding")}; 1066 } 1067 1068 &:last-child { 1069 padding-inline-end: ${r("--table-cell-desktop-inline-edge-padding")}; 1070 } 1071 } 1072 1073 ${P} { 1074 grid-row-gap: ${r("--table-mobile-row-gap")}; 1075 grid-auto-flow: row; 1076 grid-template-columns: minmax(0, 1fr); 1077 div[role='row'] { 1078 display: block; 1079 } 1080 div[role='cell'] { 1081 padding: ${r("--table-cell-mobile-padding")}; 1082 padding-inline-end: ${r("--table-cell-mobile-inline-edge-padding")}; 1083 padding-inline-start: ${r("--table-cell-mobile-inline-edge-padding")}; 1084 1085 &:first-child { 1086 padding-inline-start: ${r("--table-cell-mobile-inline-edge-padding")}; 1087 } 1088 1089 &:last-child { 1090 padding-inline-end: ${r("--table-cell-mobile-inline-edge-padding")}; 1091 } 1092 } 1093 } 1094`,d_=c` 1095 background-color: ${r("--table-cell-body-bg-color")}; 1096 color: ${r("--table-cell-fg-color")}; 1097`,u_=c` 1098 background-color: ${r("--table-cell-header-bg-color")}; 1099 border-bottom: 1px solid ${r("--table-border-color")}; 1100 color: ${r("--table-header-fg-color")}; 1101 font-weight: ${r("--table-header-font-weight")}; 1102 padding: ${r("--spacing-m")}; 1103 1104 &:first-child { 1105 padding-inline-start: ${r("--table-cell-desktop-inline-edge-padding")}; 1106 } 1107 1108 &:last-child { 1109 padding-inline-end: ${r("--table-cell-desktop-inline-edge-padding")}; 1110 } 1111 1112 ${P} { 1113 &:first-child { 1114 padding-inline-start: ${r("--table-cell-mobile-inline-edge-padding")}; 1115 } 1116 1117 &:last-child { 1118 padding-inline-end: ${r("--table-cell-mobile-inline-edge-padding")}; 1119 } 1120 } 1121`,y_=c` 1122 display: contents; 1123`;var xu=({children:e})=>i("div",{role:"cell",className:d_,children:e}),hp=({children:e})=>i("div",{role:"columnheader",className:u_,children:e}),vu=({children:e})=>i("div",{role:"row",className:y_,children:e});var m_=({children:e,collapseMobileTable:t=!1})=>{K("sdsm-primitive-table");let n=wa.Children.toArray(e).find(p=>(0,wa.isValidElement)(p)&&p.type===vu),a=n?wa.Children.toArray(n.props.children).filter(p=>(0,wa.isValidElement)(p)&&(p.type===hp||p.type===xu)).length:0,s=n?wa.Children.toArray(n.props.children).some(p=>(0,wa.isValidElement)(p)&&p.type===hp):!1,l={[Sp]:a};
1123return i("article",{style:l,className:h(s_,"sdsm-primitive-table"),children:i("div",{"aria-label":"Table",role:"table",className:h("sdsm-primitive-table",l_,{[c_]:t&&!s,[qb]:s,[p_]:s&&a>=2||a>=2&&!t}),children:e})})},g_=({children:e})=>i(m_,{collapseMobileTable:!0,children:e}),Qb=m_;var f_=c` 1124 &.small { 1125 --size: 28px; 1126 --icon-size: 24px; 1127 } 1128 &.medium { 1129 --size: 32px; 1130 --icon-size: 24px; 1131 } 1132 &.large { 1133 --size: 40px; 1134 --icon-size: 24px; 1135 } 1136 &.extra_large { 1137 --size: 64px; 1138 --icon-size: 40px; 1139 } 1140 1141 /* These are meant to be easily overridable via className prop. */ 1142 width: var(--size); 1143 height: var(--size); 1144 1145 cursor: pointer; 1146 transition: transform 0.2s linear; 1147 1148 border-radius: ${r("--icon-button-border-radius")}; 1149 box-shadow: ${r("--icon-button-box-shadow")}; 1150 1151 /* Center */ 1152 display: flex; 1153 align-items: center; 1154 justify-content: center; 1155 1156 --icon-color: ${r("--icon-button-fg-color")}; 1157 background: ${r("--icon-button-bg-color")}; 1158 border: ${r("--icon-button-border-width")} solid ${r("--icon-button-border-color")}; 1159 1160 :hover { 1161 background: ${r("--icon-button-hover-bg-color")}; 1162 border: ${r("--icon-button-border-width")} solid ${r("--icon-button-hover-border-color")}; 1163 transform: translate(0, -1px); 1164 } 1165 1166 :active, 1167 .active { 1168 transform: translate(0, 1px); 1169 } 1170 1171 :disabled, 1172 .disabled { 1173 cursor: not-allowed; 1174 transform: none; 1175 --icon-color: ${r("--icon-button-disabled-fg-color")}; 1176 background: ${r("--icon-button-disabled-bg-color")}; 1177 border: ${r("--icon-button-border-width")} solid ${r("--icon-button-disabled-border-color")}; 1178 } 1179 1180 > .icon { 1181 width: var(--icon-size); 1182 height: var(--icon-size); 1183 } 1184`;var Ao=(0,Ts.forwardRef)((e,t)=>{let{url:o,iconName:n,className:a,iconClassName:s,onClick:l,disabled:p,size:d="medium",...u}=e;K("sdsm-icon-button");let{Anchor:y}=(0,Ts.useContext)(Le),m=h("sdsm-icon-button",f_,d,{disabled:p},a),g=i(we,{name:n,size:24,fill:r("--icon-color"),className:h("icon",s)}),f=(0,Ts.useCallback)(()=>{p||l?.()},[p,l]);return o?i(y,{href:o,ref:t,className:m,onClick:f,...u,children:g}):i("button",{ref:t,disabled:p,className:m,onClick:f,...u,children:g})});var tK=400,b_=c` 1185 align-self: center; 1186 background-color: ${r("--autocomplete-bg-color")}; 1187 border-color: ${r("--autocomplete-border-color")}; 1188 border-radius: ${r("--autocomplete-input-border-radius")}; 1189 border-style: solid; 1190 border-width: ${r("--autocomplete-border-width")}; 1191 box-sizing: border-box; 1192 display: flex; 1193 flex-direction: column; 1194 height: ${r("--autocomplete-input-height")}; 1195 justify-content: center; 1196 margin: 0; 1197 position: relative; 1198 width: 100%; 1199 z-index: 20; 1200 1201 :has(input:hover) { 1202 border-color: ${r("--autocomplete-hover-border-color")}; 1203 box-shadow: ${r("--autocomplete-hover-box-shadow")}; 1204 } 1205 1206 :has(input:focus) { 1207 border-color: ${r("--autocomplete-active-border-color")}; 1208 box-shadow: ${r("--autocomplete-active-box-shadow")}; 1209 } 1210`,S_=c` 1211 border-bottom-left-radius: ${r("--autocomplete-input-border-radius")}; 1212 border-bottom-right-radius: ${r("--autocomplete-input-border-radius")}; 1213`,h_=c` 1214 margin-inline-start: auto; 1215 max-width: ${tK}px; 1216`,C_=c` 1217 background-color: ${r("--autocomplete-bg-color")}; 1218 border-style: none; 1219 box-sizing: border-box; 1220 color: ${r("--autocomplete-fg-color")}; 1221 font-family: ${r("--font-family")}; 1222 font-size: ${r("--autocomplete-mobile-font-size")}; 1223 font-weight: ${r("--autocomplete-mobile-font-weight")}; 1224 margin: ${r("--spacing-m")} 0; 1225 outline: none; 1226 padding: 0; 1227 vertical-align: middle; 1228 width: 100%; 1229 1230 *[dir='rtl'] & { 1231 text-align: right; 1232 } 1233 1234 ${V} { 1235 font-size: ${r("--autocomplete-desktop-font-size")}; 1236 font-weight: ${r("--autocomplete-desktop-font-weight")}; 1237 } 1238`,x_=e=>c` 1239 background: ${r("--autocomplete-bg-color")}; 1240 border: ${r("--border-width-xs")} solid ${r("--palette-black-v150")}; 1241 border-bottom: ${e?void 0:"0px"}; 1242 border-bottom-right-radius: ${e?`${r("--autocomplete-list-border-radius")};`:void 0}; 1243 border-bottom-left-radius: ${e?`${r("--autocomplete-list-border-radius")};`:void 0}; 1244 border-top: 0px; 1245 box-sizing: border-box; 1246 /** Because container is absolute positioned when adding a border 1px it was 1px inside of the parent container below fixed */ 1247 left: -1px; 1248 list-style: none; 1249 margin-top: ${r("--spacing-xs")}; 1250 max-height: 175px; 1251 overflow-y: auto; 1252 padding-left: 0; 1253 position: absolute; 1254 top: 41px; 1255 width: calc(100% + 2px); 1256 z-index: 20; 1257 webkit-scrollbar {
1258 width: 7px; 1259 } 1260 webkit-scrollbar-thumb { 1261 background-clip: padding-box; 1262 background-color: ${r("--palette-gray-v100")}; 1263 border-radius: ${r("--border-radius-s")}; 1264 border-right: 2px ${r("--autocomplete-bg-color")} solid; 1265 } 1266 :before { 1267 background: ${r("--palette-gray-v100")}; 1268 content: ''; 1269 height: 1px; 1270 left: ${r("--spacing-m")}; 1271 position: absolute; 1272 top: 0; 1273 width: calc(100% - ${r("--spacing-xl")};); 1274 } 1275 `,v_=x_(!0),I_=x_(!1),Iu=c` 1276 cursor: pointer; 1277 padding: ${r("--spacing-s")} ${r("--spacing-xl")}; 1278 margin: 0 ${r("--spacing-m")} 0 ${r("--spacing-m")}; 1279 font-size: 18px; 1280 color: ${r("--palette-gray-v300")}; 1281 line-height: 20px; 1282 border-radius: 6px; 1283 :hover { 1284 background: ${r("--palette-gray-v100")}; 1285 color: ${r("--palette-black-v150")}; 1286 } 1287`,k_=c` 1288 margin-inline: ${r("--spacing-m")} ${r("--spacing-s")}; 1289 margin-block: ${r("--spacing-m")}; 1290 min-width: 20px; 1291`,M_=c` 1292 background: transparent; 1293 border: none; 1294 color: ${r("--autocomplete-button-fg-color")}; 1295 cursor: pointer; 1296 font-family: ${r("--font-family")}; 1297 font-size: ${r("--action-mobile-font-size")}; 1298 font-weight: ${r("--action-mobile-font-weight")}; 1299 line-height: ${r("--action-mobile-font-line-height")}; 1300 margin-block: auto; 1301 margin-inline: ${r("--spacing-s")} ${r("--spacing-m")}; 1302 padding-inline: 0; 1303 white-space: nowrap; 1304 1305 :hover, 1306 :focus { 1307 color: ${r("--autocomplete-button-fg-hover-color")}; 1308 } 1309 1310 ${V} { 1311 font-size: ${r("--action-desktop-font-size")}; 1312 font-weight: ${r("--action-desktop-font-weight")}; 1313 line-height: ${r("--action-desktop-font-line-height")}; 1314 margin: ${r("--spacing-m")}; 1315 } 1316`,A_=c` 1317 background: transparent; 1318 border: ${r("--border-width-xs")} solid ${r("--fg-color")}; 1319 :hover { 1320 background: transparent; 1321 } 1322 1323 /* Overrides for the icon button style */ 1324 box-shadow: none; 1325 1326 && { 1327 --icon-size: 16px; 1328 --icon-color: ${r("--fg-color")}; 1329 } 1330 1331 /* Overrides for the icon button hover styles */ 1332 @media (hover: hover) { 1333 &:hover { 1334 --icon-color: ${r("--global-header-bg-color")}; 1335 background: ${r("--fg-color")}; 1336 border: ${r("--border-width-xs")} solid ${r("--fg-color")}; 1337 transform: none; 1338 } 1339 } 1340`,T_=c` 1341 align-items: center; 1342 display: flex; 1343 height: ${r("--autocomplete-input-height")}; 1344 1345 svg { 1346 path { 1347 fill: ${r("--autocomplete-placeholder-color")}; 1348 } 1349 } 1350`,__=c` 1351 background: ${r("--autocomplete-bg-color")}; 1352 border: ${r("--border-width-xs")} solid ${r("--palette-black-v150")}; 1353 border-bottom-left-radius: ${r("--autocomplete-list-border-radius")}; 1354 border-bottom-right-radius: ${r("--autocomplete-list-border-radius")}; 1355 border-top: 0px; 1356 color: ${r("--palette-blue-v200")}; 1357 cursor: pointer; 1358 font-size: ${r("--text-mobile-font-size")}; 1359 /** Because container is absolute positioned when adding a border 1px it was 1px inside of the parent container below fixed */ 1360 left: -1px; 1361 line-height: 20px; 1362 padding: ${r("--spacing-s")} ${r("--spacing-xxl")} ${r("--spacing-l")}; 1363 position: absolute; 1364 text-align: start; 1365 top: 224px; 1366 width: calc(100% + 2px); 1367 z-index: 20; 1368 1369 ${V} { 1370 font-size: ${r("--text-desktop-font-size")}; 1371 } 1372`;var oK={background:`${r("--palette-gray-v100")}`,color:`${r("--palette-black-v150")}`};function nK({term:e,onClick:t,setSelectedIndex:o,isActive:n,listItemStyles:a,resultAccessor:s,loadingAutocompleteTerms:l,loadingMessage:p}){let d=(0,On.useRef)(null);return(0,On.useEffect)(()=>{n&&d.current?.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"})},[n]),l?i("li",{className:Iu,children:p??"Loading..."}):i("li",{className:h(Iu,a),ref:d,style:n?oK:{},onMouseLeave:()=>o(-1),onClick:u=>{u.stopPropagation(),t(e)},children:s?s(e):String(e)},typeof e=="string"?e:s?.(e))}
1372function ku({onSelect:e,onChange:t,onKeyDown:o,onSeeResults:n,onCollapseChange:a,resultAccessor:s,autocompleteResults:l,loadingAutocompleteTerms:p,placeholder:d,cancelMessage:u,loadingMessage:y,seeResultsMessage:m,noResultsMessage:g,initialText:f,containerStyles:b,inputStyles:S,listItemStyles:C,collapsible:I,shortBar:k,disabled:v,hideSuggestions:w,hideCancelButton:_,iconButtonSize:D="large"}){K("sdsm-autocomplete");let[M,A]=(0,On.useState)(f??""),[N,$]=(0,On.useState)(!0),[B,L]=(0,On.useState)(w?!w:!1),[H,z]=(0,On.useState)(-1),j=(0,On.useRef)(null);(0,On.useEffect)(()=>{N===!1&&j.current?.focus()},[N]);let ue=U=>{w||L(U)},ie=U=>{U||ue(!1),$(U),I&&a&&a(N)},ne=U=>{t(U.target.value),A(U.target.value);let R=U.target.value.trimStart();ue(R.length>0),R.length>0&&z(-1)},J=U=>{I&&ie(!0),B&&(A(""),z(-1)),e(U)},pe=()=>{ie(!0),A(""),z(-1)},re=()=>{I&&ie(!0),B&&(A(""),z(-1)),n?.(M)},Q=U=>{let R=l.length;if(U.key==="Escape")ue(!1);else if(U.key==="ArrowUp"){let X=Math.max(H-1,0)%R;z(X),U.preventDefault()}else if(U.key==="ArrowDown"){let X=Math.min(H+1,R-1)%R;z(X),U.preventDefault()}else if(U.key==="Enter"){if(l.length>0||w){if(H<0&&n)return re();H<0?J(l[0]):J(l[H])}z(0)}o?.(U)},Y=()=>i("div",{className:l.length===0||p?v_:I_,children:l.length>0?l.map((U,R)=>i(nK,{term:U,onClick:J,index:R,isActive:H===R,setSelectedIndex:z,listItemStyles:C,resultAccessor:s,loadingAutocompleteTerms:p,loadingMessage:y},typeof U=="string"?U:s?.(U))):i("li",{className:Iu,children:g??"No results returned."})});if(I&&N)return i(Ao,{size:D,iconName:"search",disabled:v,className:A_,onClick:()=>ie(!1)});let Z=B&&!p&&m&&l.length>0;return x("div",{className:h("sdsm-autocomplete",b_,b,{[S_]:!B,[h_]:k}),onClick:()=>{ue(M.length>0),j.current?.focus()},children:[x("div",{className:T_,children:[i(we,{size:20,className:k_,name:"search"}),i("input",{className:h(C_,S),ref:j,onChange:ne,onKeyDown:Q,value:M,placeholder:d}),I&&!_&&i("button",{onClick:pe,className:M_,children:u})]}),B?Y():void 0,Z?i("button",{onClick:re,className:__,children:`${m} "${M}"`}):void 0]})}var R_=T(E());var D_=c` 1373 padding: 16px 60px; 1374 font-size: ${r("--banner-font-size")}; 1375 background-color: ${r("--banner-bg-color")}; 1376 color: ${r("--banner-fg-color")}; 1377 min-height: ${50}px; 1378 display: flex; 1379 align-items: center; 1380 justify-content: center; 1381 position: relative; 1382 line-height: ${r("--banner-font-line-height")}; 1383 box-sizing: border-box; 1384 1385 ${P} { 1386 padding: 16px 32px 16px 20px; 1387 } 1388`,P_=c` 1389 flex: 1; 1390 display: flex; 1391 justify-content: center; 1392 align-items: center; 1393`,N_=c` 1394 width: 60px; 1395 display: flex; 1396 align-items: center; 1397 justify-content: center; 1398 flex-shrink: 0; 1399 position: absolute; 1400 right: 0; 1401 1402 ${P} { 1403 width: 44px; 1404 } 1405`,E_=c` 1406 background: none; 1407 border: none; 1408 display: flex; 1409 justify-content: center; 1410 align-items: center; 1411 cursor: pointer; 1412 /* 44 x 44 for a11y */ 1413 width: 44px; 1414 height: 44px; 1415 1416 /* search icon */ 1417 .sds-icon-cross { 1418 fill: ${r("--banner-fg-color")}; 1419 } 1420`;var F_=({motifScheme:e,backgroundColor:t,className:o,children:n,contentClassName:a,dataset:s})=>{K("sdsm-banner");let[l,p]=(0,R_.useState)(!0);if(!l)return null;let d=e??Ne(t)??"sdsm-default";return x("div",{className:h("sdsm-banner",D_,o,d),...te(s),children:[i("div",{className:h(P_,a),children:n}),i("div",{className:N_,children:i("button",{className:E_,onClick:()=>p(!1),children:i(h0,{size:24})})})]})};var gS=T(E());var rK=c` 1421 margin: auto; 1422 max-width: ${ct}px; 1423`,aK=c` 1424 ${V} { 1425 max-width: ${e0}px; 1426 width: 80%; 1427 } 1428`,iK=c` 1429 max-width: ${t0}px; 1430`,Wr=({children:e,className:t,isNarrow:o,widthStyle:n,...a})=>(K("sdsm-block-boundary"),t=h("sdsm-block-boundary",rK,{[aK]:n==="reduced",[iK]:o||n==="narrow"},t),i("div",{...a,className:t,children:e}));Wr.displayName="BlockBoundary";var Tu=T(E());var B_=T(E()),et=(0,B_.createContext)({});var Mu=(e,t)=>c` 1431 & > * { 1432 margin-left: ${t/2}px; 1433 margin-right: ${t/2}px; 1434 } 1435 1436 & > *:first-child { 1437 margin-left: ${e}px; 1438 margin-right: ${t/2}px; 1439 1440 *[dir='rtl'] & { 1441 margin-right: ${e}px; 1442 margin-left: ${t/2}px; 1443 } 1444 } 1445 1446 /* stylelint-disable-next-line no-descending-specificity */ 1447 & > *:last-child { 1448 margin-left: ${t/2}px; 1449 margin-right: ${e}px; 1450 1451 *[dir='rtl'] & { 1452 margin-right: ${t/2}px; 1453 margin-left: ${e}px; 1454 } 1455 } 1456`,$_=c` 1457 height: ${64}px; 1458 max-height: ${64}px; 1459 1460 /* TODO: this doesnt really show well, and needs to work with subnav/banners. */
1461 /* box-shadow: ${r("--box-shadow-m")}; */ 1462 1463 color: ${r("--global-header-fg-color")}; 1464 background-color: ${r("--global-header-bg-color")}; 1465 1466 /* Prevent the header from expanding the body to fit its contents. */ 1467 max-width: 100vw; 1468 overflow-x: clip; 1469 overflow-y: revert; 1470 1471 /* Stretch the header to the sides and ensure it's visible. */ 1472 position: sticky; 1473 top: 0; 1474 left: 0; 1475 right: 0; 1476 z-index: ${De.NAVIGATOR}; 1477 1478 opacity: 1; 1479 &.hidden { 1480 opacity: 0; 1481 transform: translateY(-100%); 1482 } 1483 transition: opacity 250ms ease-in, transform 250ms ease-out; 1484`,Kb=r("--spacing-xl"),jb=r("--spacing-xxxl"),L_=c` 1485 ${Mu(0,16)} 1486 /* we have less margins with items, but padding is larger */ 1487 padding: 0 ${Kb}; 1488 1489 ${op} { 1490 padding: 0 ${jb}; 1491 } 1492`,H_=c` 1493 ${$_} 1494 /* Prevent the header from expanding the body to fit its contents. */ 1495 max-width: 100vw; 1496 overflow-x: clip; 1497 1498 /* Stretch the header to the sides and ensure it's visible. */ 1499 position: sticky; 1500 top: 0; 1501 left: 0; 1502 right: 0; 1503 z-index: ${De.NAVIGATOR}; 1504 1505 opacity: 1; 1506 &.hidden { 1507 opacity: 0; 1508 transform: translateY(-100%); 1509 } 1510 transition: opacity 250ms ease-in, transform 250ms ease-out; 1511`,V_=c` 1512 ${$_} 1513 display: flex; 1514 align-items: center; 1515 ${Mu(20,16)} 1516 & > *:first-child, 1517 & > *:last-child { 1518 display: flex; 1519 flex-grow: 1; 1520 flex-basis: 100px; 1521 } 1522 1523 & > *:first-child { 1524 justify-content: flex-start; 1525 } 1526 1527 & > *:last-child { 1528 justify-content: flex-end; 1529 } 1530`,Au=c` 1531 > svg { 1532 fill: ${r("--global-header-item-color")}; 1533 transition: all 0.15s ease-out; 1534 } 1535 1536 &&& { 1537 background: transparent; 1538 border: 0; 1539 box-shadow: none; 1540 padding: 0 7px; /* Must override the padding on button. */ 1541 } 1542 1543 &&&:hover { 1544 border-color: ${r("--global-header-item-hover-color")}; 1545 1546 /* Clearing out styles from the regular button. */ 1547 box-shadow: none; 1548 transform: none; 1549 1550 > svg { 1551 fill: ${r("--global-header-item-hover-color")}; 1552 } 1553 } 1554`,O_=c` 1555 background-color: transparent; 1556 border: none; 1557 color: ${r("--fg-color")}; 1558 padding: 4px 8px; 1559 cursor: pointer; 1560`,G_=c` 1561 border-bottom: 1px solid ${r("--global-header-border-color")}; 1562`,z_=c` 1563 display: flex; 1564 align-items: center; 1565 1566 ${Mu(0,16)} 1567`,sK=c` 1568 box-shadow: none; 1569 /* Hack to hide icons in CTAs. */ 1570 i[class^='icon-'], 1571 img, 1572 svg { 1573 display: none; 1574 } 1575`,U_=c` 1576 & > *:not(:first-child) { 1577 margin-left: 16px; 1578 *[dir='rtl'] & { 1579 margin-left: unset; 1580 margin-right: 16px; 1581 } 1582 } 1583 1584 /* NOTE: Triple specific selector to override button's double-specific styles. */ 1585 & .${"sdsm-button"}.${"sdsm-button"}.${"sdsm-button"} { 1586 ${sK} 1587 font-size: smaller; 1588 margin-right: 0; 1589 padding: 4px; 1590 width: inherit; /* buttons on mobile render full width by default which we don't want here */ 1591 *[dir='rtl'] & { 1592 margin-right: unset; 1593 margin-left: 0; 1594 } 1595 } 1596`,rde=c` 1597 width: 40px; 1598 height: 40px; 1599 border: ${r("--border-width-xs")} solid ${r("--neutral-v300")}; 1600 border-radius: 50%; 1601 background-color: transparent; 1602`,W_=c` 1603 align-items: center; 1604 display: flex; 1605 height: ${64}px; 1606 margin: 0 auto; 1607 max-height: ${64}px; 1608 max-width: ${po}px; 1609 padding: 0 40px; 1610 ${Mu(20,16)} 1611 1612 /* used to make the header take up the full width of the container */ 1613 /* this is needed when users click on the search icon */ 1614 flex-grow: 1; 1615 1616 /** 1617 * We are overriding the overflow from globalHeaderCss because of a bug 1618 * on Safari 16.2. Not sure why this works so this is a bandaid. Ideally we don't do this 1619 */ 1620 overflow: visible; 1621 1622 & > nav { 1623 flex-grow: 1; 1624 display: flex; 1625 justify-content: flex-end; 1626 } 1627 1628 span { 1629 font-weight: ${r("--action-desktop-font-weight")}; 1630 font-size: ${r("--action-desktop-font-size")}; 1631 margin: 0 ${r("--spacing-xs")}; 1632 1633 ${P} { 1634 font-weight: ${r("--action-mobile-font-weight")}; 1635 font-size: ${r("--action-mobile-font-size")}; 1636 } 1637 } 1638`,ade=c` 1639 margin: -7.5px -5px; 1640`,q_=c` 1641 span.site-name { 1642 font-family: ${r("--global-header-site-name-font-family")}; 1643 font-size: ${r("--global-header-site-name-font-size")}; 1644 } 1645`,Q_=c` 1646 background-color: ${r("--global-header-border-color")}; 1647 bottom: 0; 1648 height: ${r("--border-width-xs")}; 1649 left: 0; 1650 margin: auto; 1651 max-width: calc(${po}px - calc(${Kb} * 2)); 1652 position: absolute; 1653 right: 0; 1654 width: calc(100% - calc(${Kb} * 2)); 1655 1656 ${op} { 1657 max-width: calc(${po}px - calc(${jb} * 2)); 1658 width: calc(100% - calc(${jb} * 2)); 1659 } 1660`,K_=c` 1661 position: relative; 1662`;var lK=e=>{switch(e){case"left":return"flex-start";case"right":return"flex-end";case"center":return"center"}},Yb=({logo:e,siteName:t,className:o,cta:n,endChildrenClassName:a,localNavDesktop:s,toggleExpanded:l,showNavScreen:p,showGlobalLinks:d=!0,navItemAlignment:u="right",buttonAriaLabel:y,dataset:m,lessMargins:g,addBottomBorder:f,customIcon:b,headerClassName:S})=>i("header",{className:h(H_,q_,o,S),...te(m),children:x("div",{className:K_,children:[x("div",{className:h(W_,g&&L_),children:[d&&p&&i(Ao,{size:"large",className:h(pA,Au),iconName:b||"dots",onClick:l,"data-testid":zr.openButton,"aria-label":y}),e,i("span",{className:"site-name",children:t}),i("nav",{style:{justifyContent:lK(u)},"data-testid":zr.navItems,children:s}),!!n&&i("aside",{className:a??z_,"data-testid":zr.endContents,children:n})]}),f&&i("div",{className:Q_})]})});Yb.displayName="GlobalHeaderDesktop";var e1=T(E());var j_=c` 1663 background-color: transparent; 1664 cursor: pointer; 1665 display: grid; 1666 grid-template-columns: repeat(2, 12px); 1667 grid-template-rows: repeat(2, 12px); 1668 height: 24px; 1669 margin: 0; 1670 max-height: 24px; 1671 max-width: 24px; 1672 user-select: none; 1673 width: 24px; 1674 transition: transform ${450}ms ease-in-out; 1675 1676 &.expanded { 1677 transform: rotate(-180deg); 1678 1679 .dot { 1680 animation: dot-animation ${450}ms ease-out forwards; 1681 } 1682 } 1683 1684 &.collapsed { 1685 transform: rotate(0deg); 1686 1687 .dot { 1688 animation: dot-animation-reverse ${450}ms ease-in forwards; 1689 } 1690 } 1691 1692 /* RTL overrides - placed after base rules to satisfy specificity ordering */ 1693 [dir='rtl'] &.expanded { 1694 transform: rotate(180deg); /* Mirror: rotate clockwise instead of counter-clockwise */ 1695 } 1696 1697 [dir='rtl'] &.expanded .dot { 1698 animation: dot-animation-rtl ${450}ms ease-out forwards; 1699 } 1700 1701 [dir='rtl'] &.collapsed .dot { 1702 animation: dot-animation-reverse-rtl ${450}ms ease-in forwards; 1703 } 1704 1705 /** Animation for the dots when expanding */ 1706 @keyframes dot-animation { 1707 0% { 1708 border-radius: 50%; 1709 transform: translateX(0) scale(1, 1); 1710 } 1711 15% { 1712 border-radius: 50%; 1713 transform: translateX(0) scale(1, 1); 1714 } 1715 100% { 1716 border-radius: 0%; 1717 transform: translateX(4px) scale(2, 0.35); 1718 } 1719 } 1720 1721 @keyframes dot-animation-rtl { 1722 0% { 1723 border-radius: 50%; 1724 transform: translateX(0) scale(1, 1); 1725 } 1726 15% { 1727 border-radius: 50%; 1728 transform: translateX(0) scale(1, 1); 1729 } 1730 100% { 1731 border-radius: 0%; 1732 transform: translateX(-4px) scale(2, 0.35); 1733 } 1734 } 1735 1736 /** Animation for the dots when collapsing */ 1737 @keyframes dot-animation-reverse { 1738 0% { 1739 border-radius: 0%; 1740 transform: translateX(4px) scale(2, 0.35); 1741 } 1742 85% { 1743 border-radius: 50%; 1744 transform: translateX(0) scale(1, 1); 1745 } 1746 100% { 1747 border-radius: 50%; 1748 transform: translateX(0) scale(1, 1); 1749 } 1750 } 1751 1752 @keyframes dot-animation-reverse-rtl { 1753 0% { 1754 border-radius: 0%; 1755 transform: translateX(-4px) scale(2, 0.35); 1756 } 1757 85% { 1758 border-radius: 50%; 1759 transform: translateX(0) scale(1, 1); 1760 } 1761 100% { 1762 border-radius: 50%; 1763 transform: translateX(0) scale(1, 1); 1764 } 1765 } 1766`,xp=c` 1767 align-items: center; 1768 display: flex; 1769 flex-grow: 0; 1770 flex-shrink: 0; 1771 justify-content: center; 1772`,vp=c` 1773 background-color: ${r("--fg-color")}; 1774 border-radius: 50%; 1775 height: 7px; 1776 width: 7px; 1777`,Y_=c` 1778 rotate: 45deg; 1779 1780 [dir='rtl'] & { 1781 rotate: -45deg; 1782 } 1783`,X_=c` 1784 rotate: -45deg; 1785 1786 [dir='rtl'] & { 1787 rotate: 45deg; 1788 } 1789`,J_=c` 1790 rotate: 135deg; 1791 1792 [dir='rtl'] & { 1793 rotate: -135deg; 1794 } 1795`,Z_=c` 1796 rotate: -135deg; 1797 1798 [dir='rtl'] & { 1799 rotate: 135deg; 1800 } 1801`;var t1=()=>{let{screenState:e}=(0,e1.useContext)(et);return x("div",{className:h(j_,{expanded:e==="turning-on"||e==="on",collapsed:e==="turning-off"}),children:[i("div",{className:xp,children:i("div",{className:h("dot",vp,Y_)})}),i("div",{className:xp,children:i("div",{className:h("dot",vp,J_)})}),i("div",{className:xp,children:i("div",{className:h("dot",vp,X_)})}),i("div",{className:xp,children:i("div",{className:h("dot",vp,Z_)})})]})};var qr={navTopLevel:"sdsm-global-nav-screen",closeButton:"sdsm-global-nav-screen-close",navItems:"sdsm-global-nav-screen-items",navHighlights:"sdsm-global-nav-screen-highlights"};var Xb=({logo:e,cta:t,className:o,isExpanded:n,toggleExpanded:a,showNavScreen:s,endChildrenClassName:l,buttonAriaLabel:p,dataset:
1801d,addBottomBorder:u})=>x("header",{className:h(V_,u&&G_,o),...te(d),children:[s&&i("button",{onClick:a,className:O_,"data-testid":n?qr.closeButton:zr.openButton,"aria-label":p,children:i(t1,{})}),e,i("aside",{className:l??U_,"data-testid":zr.endContents,children:t})]});Xb.displayName="GlobalHeaderMobile";var Jb="home",Zb=({motifScheme:e,backgroundColor:t,className:o,defaultGroupKey:n,children:a,displayed:s,onToggleExpanded:l,stayOpenInvariant:p,trackingSiteName:d,showNavScreen:u=!0,dataset:y,isUrlCurrent:m,buttonAriaLabel:g,...f})=>{K("sdsm-header");let b=Yo(),{state:S,toggle:C}=tu({transitionDurationMs:450,onToggle:(M,A)=>{l&&(M==="turning-on"&&l(!0),M==="off"&&l(!1)),document?.activeElement?.blur()}});(0,Tu.useEffect)(()=>C("off"),[b,p]);let[I,k]=(0,Tu.useState)(b===at.Mobile?Jb:n??""),v=s??!0,w=h("sdsm-header",e??Ne(t),v?null:"hidden",o);y?.testid||(y={...y,testid:zr.headerTopLevel});let _=S!=="off",D=b===at.Mobile?Xb:Yb;return x(et.Provider,{value:{mode:b,groupKey:I,setGroupKey:k,toggleExpanded:C,screenState:S,trackingSiteName:d,isUrlCurrent:m},children:[i(D,{...f,isExpanded:_,toggleExpanded:C,className:w,showNavScreen:u,buttonAriaLabel:g,dataset:y}),_&&u&&a]})};Zb.displayName="GlobalHeader";var Qr=T(E());var o1=c` 1802 display: flex; 1803 justify-content: space-between; 1804 1805 & > .icon-external-link { 1806 color: ${r("--global-header-item-color")}; 1807 font-size: 16px; 1808 vertical-align: middle; 1809 align-self: center; 1810 } 1811 1812 & > a { 1813 position: relative; 1814 } 1815 1816 & a.selected { 1817 color: ${r("--global-header-item-active-color")}; 1818 } 1819 1820 padding: 0; 1821`,n1=c` 1822 summary.selected { 1823 color: ${r("--global-header-item-active-color")}; 1824 } 1825`,r1=c` 1826 &.icon-external-link { 1827 color: ${r("--global-header-item-color")}; 1828 font-size: 14px; 1829 margin: 0 9px; 1830 } 1831`,_u=c` 1832 width: 20px; 1833 height: 20px; 1834 fill: ${r("--global-header-item-color")}; 1835 1836 summary.selected > & { 1837 fill: ${r("--global-header-item-active-color")}; 1838 } 1839`,eS=c` 1840 && { 1841 && { 1842 color: ${r("--global-header-item-active-color")}; 1843 } 1844 } 1845`;var tS="--children-count",pK=c` 1846 overflow: hidden; 1847 1848 height: 0; 1849 opacity: 0; 1850 1851 transition-property: opacity, height; 1852 transition-duration: ${300}ms; 1853 transition-timing-function: ease-in; 1854 1855 details[data-state='on'] &, 1856 details[data-state='turning-on'] & { 1857 height: calc(var(${up}) * var(${tS})); 1858 opacity: 1; 1859 1860 transition-timing-function: ${Rb}; 1861 } 1862`,wu=c` 1863 list-style-type: none; 1864 padding: 0 0 0 16px; 1865 margin: 0; 1866 1867 *[dir='rtl'] & { 1868 padding-left: initial; 1869 padding-right: 12px; 1870 } 1871 1872 ${V} { 1873 ${pK} 1874 } 1875`,a1=c` 1876 & > summary { 1877 color: ${r("--global-header-item-hover-color")}; 1878 } 1879 &::before { 1880 visibility: visible; 1881 } 1882`,i1=c` 1883 & > summary { 1884 color: ${r("--global-header-item-active-color")}; 1885 } 1886 1887 &::before { 1888 visibility: visible; 1889 background-color: ${r("--global-header-indicator-active-color")}; 1890 } 1891`,s1=c` 1892 transition: color 0.125s; 1893 white-space: nowrap; 1894 scroll-margin: ${va}; 1895 1896 /* Hide the text that doesn't fit. */ 1897 > summary { 1898 text-overflow: ellipsis; 1899 overflow: hidden; 1900 } 1901 1902 &:hover, 1903 &:active, 1904 &:focus-within, 1905 [data-state='on'] > summary { 1906 color: ${r("--global-header-item-hover-color")}; 1907 } 1908 1909 /** Displays the knob on active and hover in desktop mode only */ 1910 ${V} { 1911 /* Move the summary over so we can position the knob inside */ 1912 left: ${Tb}; 1913 padding-left: ${va}; 1914 width: calc(${va} + 100%); 1915 1916 *[dir='rtl'] & { 1917 left: unset; 1918 padding-left: unset; 1919 right: ${Tb}; 1920 padding-right: ${va}; 1921 } 1922 1923 &::before { 1924 content: ' '; 1925 background-color: ${r("--global-header-indicator-hover-color")}; 1926 position: absolute; 1927 left: 0; 1928 top: 10px; 1929 width: 4px; 1930 height: 32px; 1931 border-start-end-radius: ${r("--action-indicator-border-radius")}; 1932 border-end-end-radius: ${r("--action-indicator-border-radius")}; 1933 visibility: hidden; 1934 } 1935 1936 *[dir='rtl'] &::before { 1937 left: unset; 1938 right: 0; 1939 } 1940 1941 &:focus-within::before, 1942 &:hover::before, 1943 &:active::before, 1944 details[data-state='on'] > &::before { 1945 visibility: visible; 1946 } 1947 } 1948`,l1=c` 1949 position: relative; 1950`;var oS=({navGroupKey:e,title:t,mobileHighlight:o,isActive:n,children:a,onSummaryClick:s})=>{let{groupKey:l,setGroupKey:p,mode:d,screenState:u}=(0,Qr.useContext)(et),[y,m]=(0,Qr.useState)(l===e);(0,Qr.useEffect)(()=>{let S=l===e;if(y===S)return;let C;return S&&u==="on"?C=setTimeout(m.bind(null,S),300):m(S),()=>{C&&clearTimeout(C)}},[l,e]);let g=i("ol",{className:wu,role:"menu",children:Qr.Children.map(a,(S,C)=>i("li",{children:S},`list-item-${C}`))}),f=S=>{S==="on"&&p?.(e)},b=d===at.Mobile;return x(sn,{forceOpenAttribute:b?void 0:!0,showChevron:d===at.Mobile,onToggle:f,summaryOnClick:s?()=>s():void 0,open:b?void 0:y,summary:t,chevronProps:{className:_u},className:h(Ia,b?void 0:l1,s1,{[a1]:y,[i1]:n}),fadeInAnimation:b,transitionDurationMs:300,"data-testid":`group-${e}`,style:{[tS]:Qr.Children.count(a)},children:[g,b&&o]})};oS.displayName="GlobalNavGroup";var m1=T(E());var ws="highlight-text",nS="highlight-text-title",rS="highlight-text-body",Pu="highlight-media-mobile",Nu="highlight-media-desktop",Da="cta",c1=e=>c` 1951 box-sizing: border-box; 1952
1953 /* Make the image/video cover the media space. These selectors are deep to account for any wrapper elements. */ 1954 & > .${e} * { 1955 width: 100%; 1956 height: 100%; 1957 } 1958 & > .${e} img, 1959 & > .${e} video { 1960 object-fit: cover; 1961 border-radius: ${r("--border-radius-l")}; 1962 } 1963 1964 & > .${Pu} img { 1965 width: 90%; 1966 margin: 0; 1967 } 1968`,d1=c` 1969 position: relative; /* For positioning the card */ 1970 filter: drop-shadow(0px 0px 32px rgba(0, 0, 0, 0.12)); /* Faint highlight shadow */ 1971 1972 & > .${Nu} { 1973 margin: 0; 1974 width: 100%; 1975 height: 100%; 1976 } 1977 1978 ${c1(Nu)} 1979`,cK=c` 1980 box-sizing: border-box; 1981 color: ${r("--fg-color")}; 1982 background-color: ${r("--bg-color")}; 1983 1984 padding: 0; 1985 border-radius: ${r("--border-radius-m")}; 1986 box-shadow: ${r("--box-shadow-m")}; 1987 border: ${r("--border-width-xs")} solid rgb(233, 234, 235); 1988 1989 & > .${ws} { 1990 & > .${nS} { 1991 color: ${r("--palette-black-v150")}; 1992 1993 font-weight: 500; 1994 font-size: 18px; 1995 line-height: 20px; 1996 white-space: nowrap; 1997 1998 display: inline-block; 1999 2000 max-width: 100%; 2001 2002 overflow: hidden; 2003 text-overflow: ellipsis; 2004 2005 /* The line height here is greater than in body, so we move it slightly so the top margin 2006 looks proportional to the card border. */ 2007 position: relative; 2008 bottom: 1px; 2009 } 2010 2011 & > .${rS} { 2012 /* Default <p> sets margin to 1em which is larger than what we want. */ 2013 margin-block-start: 2px; 2014 margin-block-end: 2px; 2015 2016 font-size: 12px; 2017 line-height: 16px; 2018 font-weight: 400; 2019 2020 color: ${r("--palette-black-v50")}; 2021 2022 /* 2023 Properties below work on Webkit AND Gecko. 96% browser support as of 2020-04. Note that vendor 2024 auto-prefixing does not work here, so '-webkit-' is required. 2025 */ 2026 display: -webkit-box; 2027 -webkit-box-orient: vertical; 2028 -webkit-line-clamp: 3; 2029 overflow: hidden; 2030 text-overflow: ellipsis; 2031 } 2032 } 2033`,aS=65,dK=16,uK=c` 2034 max-width: 500px; 2035 padding: 16px; 2036 2037 *[dir='rtl'] & { 2038 right: unset; 2039 left: ${aS}px; 2040 } 2041 2042 .${Da} { 2043 margin-left: 0; 2044 } 2045 2046 *[dir='rtl'] & .${Da} { 2047 margin-left: ${dK}px; 2048 margin-right: 0; 2049 } 2050`,yK=c` 2051 width: calc(100% - ${aS*2}px); 2052 2053 padding: 16px; 2054 2055 &, 2056 & > .${Da}, & > .${Da} .${"sdsm-button"} { 2057 display: flex; 2058 flex-direction: column; 2059 } 2060 2061 & > .${Da} { 2062 margin-top: 0; 2063 } 2064`,p1=1040,u1=c` 2065 ${cK} 2066 2067 display: flex; 2068 align-items: center; 2069 justify-content: space-between; 2070 gap: 16px; 2071 2072 & > .${ws} { 2073 min-width: 0; 2074 max-width: 100%; 2075 } 2076 2077 & > .${ws}, & > .${Da} { 2078 margin: 0; 2079 } 2080 2081 position: absolute; 2082 right: ${aS}px; 2083 bottom: 30px; 2084 2085 @media screen and (min-width: ${p1}px) { 2086 ${uK} 2087 } 2088 2089 @media screen and (max-width: ${p1}px) { 2090 ${yK} 2091 } 2092`,cue=c` 2093 width: 100%; 2094 cursor: pointer; 2095 margin-top: 15px; 2096 margin-bottom: 50px; 2097 2098 /** 2099 * NOTE: These values are important! 2100 * This first value is the height of the highlight. 2101 * The second is the height of the highlight description. The content is too tall 2102 * So we clip it after this size (1-line roughly) 2103 */ 2104 display: grid; 2105 grid-template-rows: 40vw 20px; 2106 2107 & > * { 2108 user-select: none; 2109 } 2110 2111 & > .${ws} { 2112 font-weight: 400; 2113 font-size: 14px; 2114 line-height: 40px; 2115 margin: 0 12px; 2116 } 2117 2118 & > .${Pu} { 2119 border-radius: ${r("--border-radius-m")}; 2120 margin: 0 20px 0 12px; 2121 } 2122 2123 [dir='rtl'] & > .${Pu} { 2124 margin: 0 12px 0 20px; 2125 } 2126 2127 ${c1(Pu)} 2128`,Du=10,y1=c` 2129 transition: transform ${500}ms ${Eb}; 2130 transform: translateY( 2131 calc(((-100% + ${Du*5}px) * var(--selected-index) + ${Du*3}px)) 2132 ); 2133 height: 100%; 2134 2135 margin: 0 32px 0 20px; 2136 2137 *[dir='rtl'] & { 2138 margin: 0 20px 0 32px; 2139 } 2140 2141 & > * { 2142 margin-top: 0; 2143 margin-bottom: ${Du*2}px; 2144 height: calc(100% - ${Du*7}px); 2145 } 2146`;var iS=({background:e,callToAction:t,cardTitleV2:o,cardBodyV2:n,cardTitle:a,cardBody:s})=>x("section",{className:d1,children:[i("figure",{className:Nu,children:e}),x("article",{className:h(Ne(no.White),u1),children:[x("figcaption",{className:ws,children:[i("label",{className:nS,children:o??a}),i("p",{className:rS,children:n??s})]}),i("div",{className:Da,children:t})]})]});iS.displayName="GlobalNavHighlightDesktop";var sS=e=>(0,m1.useContext)(et).mode===at.Mobile?null:i(iS,{...e});sS.displayName="GlobalNavHighlight";var Pa=T(E());var g1=({className:e,highlights:t})=>{let o=(0,Pa.useContext)(et),n=o.mode===at.Mobile,[a,s]=(0,Pa.useState)(0),l=Object.fromEntries([...t.entries()].filter(([d,u])=>!!u));if((0,Pa.useEffect)(()=>{let u=Object.keys(l).indexOf(o.groupKey??"");u!==-1&&u!==a&&s(u)},[o.groupKey,l,a]),n)return null;let p=c` 2147 --selected-index: ${a}; 2148 `;return i("section",{className:h(p,y1,e),children:Pa.Children.toArray(Object.values(l))})};var bi=T(E());var Eu=e=>{if(!e||!Db.test(e))return!1;try{return new URL(e).hostname!==window?.location.hostname}catch{return console.warn(`Unable to parse URL '${e}
2148'. It is invalid.`),!1}};var f1={utm_source:"global_nav",utm_medium:"referral",utm_content:"global_nav_item",utm_campaign:"universal_navigation"},b1=({title:e,children:t,isSelected:o,dataset:n,onToggle:a})=>{let s=(0,bi.useCallback)(()=>{a?.(e)},[a,e]);return i(sn,{summary:e,summaryProps:{className:h({selected:o}),dataset:n},chevronProps:{className:_u},className:h(Ia,n1,{[eS]:o}),summaryOnClick:s,children:i("ol",{className:wu,children:bi.Children.map(t,l=>i("li",{children:l}))})})};b1.displayName="GlobalNavItemWithChildren";var Si=({title:e,href:t,showExternalIcon:o,children:n,onClick:a,isSelected:s,dataset:l,addTrackingParams:p=!0,onToggle:d})=>{let{Anchor:u}=(0,bi.useContext)(Le),{toggleExpanded:y,trackingSiteName:m}=(0,bi.useContext)(et);if(n&&(!Array.isArray(n)||n.length))return i(b1,{title:e,isSelected:s,dataset:l,onToggle:d,children:n});let g=m?{...f1,utm_source:Qk(m)}:f1,f=jd(t,g),b=Eu(t),S=C=>{a?.(C),!b&&!C.ctrlKey&&(y?.(),setTimeout(()=>window.scrollTo(0,0),500))};return x("div",{className:o1,...te(l),children:[i(u,{className:h(Ia,{selected:s,[eS]:s}),href:b&&p?f:t,onClick:S,target:b?"_blank":"_self",rel:"noopener",children:e}),o&&b&&i(we,{className:r1,name:"external-link"})]})};Si.displayName="GlobalNavItem";var M1=T(E());var lS=({backgroundColor:e,thumbColor:t,trackWidth:o})=>c` 2149 /* Firefox. See developer.mozilla.org/en-US/docs/Web/CSS/CSS_Scrollbars */ 2150 scrollbar-width: ${o}; 2151 scrollbar-color: ${t} ${e}; 2152 2153 /* Edge / Chrome / Safari. See css-tricks.com/custom-scrollbars-in-webkit/ */ 2154 ::-webkit-scrollbar {
2155 width: ${o}; 2156 background-color: ${e}; 2157 } 2158 2159 ::-webkit-scrollbar-thumb { 2160 background-color: ${t}; 2161 border-radius: calc(${o} / 2); 2162 /* Can't control the width, so we add a border to introduce margin. */ 2163 border: ${r("--border-width-s")} solid ${e}; 2164 } 2165 2166 ::-webkit-scrollbar-track { 2167 background-color: ${jk}; 2168 } 2169`;var Ds=e=>`screen-state-${e}`,C1=c` 2170 background-color: ${r("--global-header-nav-screen-bg-color")}; 2171 box-sizing: border-box; 2172 color: ${r("--global-header-nav-screen-fg-color")}; 2173 /* Set font-family here or the var from the default motif is used */ 2174 font-family: ${r("--font-family")}; 2175 left: 0; 2176 position: fixed; 2177 top: 0; 2178 z-index: ${De.NAVIGATOR}; 2179 2180 & header { 2181 height: ${64}px; 2182 padding: 0 60px; 2183 display: flex; 2184 align-items: center; 2185 background-image: linear-gradient( 2186 0deg, 2187 transparent 0, 2188 ${r("--global-header-nav-screen-bg-color")} ${5}px 2189 ); 2190 margin-bottom: -${5}px; 2191 z-index: ${De.NAVIGATOR_HEADER}; 2192 2193 &.sticky { 2194 position: sticky; 2195 top: 0; 2196 } 2197 } 2198`,Mp=e=>`.${Ia} `.repeat(e),mK=c` 2199 & a { 2200 color: ${r("--global-header-item-color")}; 2201 text-decoration: none; 2202 position: relative; 2203 2204 &::after { 2205 left: 0; 2206 content: ' '; 2207 position: absolute; 2208 bottom: 5px; 2209 height: 0; 2210 width: 100%; 2211 border-bottom: 2px ${r("--global-header-item-hover-color")} solid; 2212 2213 transition: ease-in-out; 2214 transition-duration: 100ms; 2215 opacity: 0; 2216 } 2217 } 2218 2219 & a:hover, 2220 & a:focus { 2221 color: ${r("--global-header-item-hover-color")}; 2222 } 2223 2224 & ${Mp(1)} { 2225 font-size: 26px; 2226 line-height: 54px; 2227 font-weight: 600; 2228 ${up}: 36px; 2229 } 2230 2231 & ${Mp(2)} { 2232 font-size: 18px; 2233 line-height: 36px; 2234 font-weight: 400; 2235 ${up}: 16px; 2236 } 2237 2238 & ${Mp(3)} { 2239 font-size: 16px; 2240 font-weight: 400; 2241 line-height: 40px; 2242 } 2243`,gK=c` 2244 & a { 2245 color: ${r("--global-header-item-color")}; 2246 text-decoration: none; 2247 } 2248 & a:hover { 2249 color: ${r("--global-header-item-hover-color")}; 2250 } 2251 2252 .${Ia} { 2253 font-size: ${r("--p2-mobile-font-size")}; 2254 font-weight: 500; 2255 line-height: 40px; 2256 } 2257 2258 & ${Mp(2)}, & ${Mp(3)} { 2259 font-weight: 400; 2260 } 2261`,h1=400,pS="highlight",fK="no-scroll",Ru="left-nav",x1=c` 2262 ${C1} 2263 2264 ${xA({duration:`${500}ms`})} 2265 &.${Ds("on")}, 2266 &.${Ds("turning-on")} { 2267 ${vA({duration:`${500}ms`})} 2268 } 2269 2270 box-sizing: border-box; 2271 height: 100vh; 2272 max-height: 100vh; 2273 max-width: 100vw; 2274 overflow: hidden; 2275 width: 100vw; 2276`,v1=c` 2277 height: 100%; 2278 margin: 0 auto; 2279 max-width: ${po}px; 2280 position: relative; 2281 width: 100%; 2282 2283 & > .${Ru} { 2284 height: 100%; 2285 width: ${h1}px; 2286 max-height: 100%; 2287 overflow-y: scroll; 2288 overflow-x: hidden; 2289 2290 ${mK} 2291 2292 /* Styling scrollbar */ 2293 ${lS({thumbColor:r("--global-header-item-color"),backgroundColor:r("--global-header-nav-screen-bg-color"),trackWidth:"10px"})} 2294 } 2295 2296 & > .${Ru}.${fK} { 2297 ${lS({thumbColor:r("--global-header-nav-screen-bg-color"),backgroundColor:r("--global-header-nav-screen-bg-color"),trackWidth:"10px"})} 2298 } 2299 2300 & .menu { 2301 padding: 0px 20px 0px ${va}; 2302 box-sizing: border-box; 2303 } 2304 2305 *[dir='rtl'] & .menu { 2306 padding: 0px ${va} 0px 20px; 2307 } 2308 2309 & > .${pS} { 2310 position: absolute; 2311 right: 0; 2312 top: 0; 2313 height: 100%; 2314 width: calc(100% - ${h1}px); 2315 z-index: ${De.NAVIGATOR_HIGHLIGHT}; 2316 2317 *[dir='rtl'] & { 2318 right: unset; 2319 left: 0; 2320 } 2321 } 2322 2323 & .close { 2324 position: relative; 2325 } 2326`,I1=c` 2327 ${C1} 2328 ${gK} 2329 2330 ${hA({duration:`${500}ms`,curve:"ease-out"})} 2331 2332 &.${Ds("turning-off")} { 2333 ${CA({duration:`${500}ms`,curve:"ease-out"})} 2334 } 2335 2336 overflow: hidden scroll; 2337 display: flex; 2338 flex-direction: column; 2339 2340 & > .${qd} { 2341 padding: 20px; 2342 scroll-margin-top: 5px; 2343 } 2344 2345 & > .${Wd} { 2346 background-color: ${r("--global-header-nav-screen-global-links-bg-color")}; 2347 color: ${r("--global-header-nav-screen-fg-color")}; 2348 padding: 20px 20px 40px 20px; 2349 margin-bottom: -20px; /* Pushing background under the gradient in .highlight. */ 2350 flex-grow: 1; /* Pushes the gray background to the bottom for long pages. */ 2351 } 2352 2353 & hr { 2354 border-color: ${r("--global-header-menu-col-divider-color")}; 2355 border-style: inset; 2356 border-width: ${r("--border-width-xs")}; 2357 margin-block-start: ${r("--spacing-m")}; 2358 margin-block-end: ${r("--spacing-m")}; 2359 } 2360 2361 /* On mobile we show the header regardless, so we display the nav below it. */ 2362 /* NOTE: Reducing so that at 75% zoom a sliver of background doesn't show. */ 2363 top: ${64-.75}px; 2364 /* On mobile we need to subtract the header size. */ 2365 max-height: calc(100vh - ${64}
2365px); 2366 height: calc(100vh - ${64}px); 2367 /* stylelint-disable-next-line declaration-block-no-duplicate-properties */ 2368 max-height: calc(100dvh - ${64}px); 2369 height: calc(100dvh - ${64}px); 2370 2371 width: 100vw; 2372 max-width: 100vw; 2373`,k1=c` 2374 font-size: 14px; 2375 line-height: 40px; 2376 font-weight: 500; 2377 display: block; 2378`;var Ap=T(E());var cS=({className:e,onNavClose:t,highlight:o,globalNav:n,motifScheme:a,backgroundColor:s,screenState:l,dataset:p})=>{let d=(0,Ap.useRef)(null),u=(0,Ap.useRef)(null);return(0,Ap.useEffect)(()=>{l==="on"&&u.current?.focus()},[l]),p?.testid||(p={...p,testid:qr.navTopLevel}),fs(d.current),i("section",{className:h("sdsm-header",x1,a??Ne(s),e),...te(p),children:x("div",{className:v1,children:[x("div",{ref:d,className:Ru,children:[i("header",{className:"sticky",children:i(Ao,{size:"large",onClick:t,className:Au,iconName:"close",ref:u,"data-testid":qr.closeButton})}),i("nav",{className:"menu","data-testid":qr.navItems,children:n})]}),i("aside",{className:pS,"data-testid":qr.navHighlights,children:o})]})})};cS.displayName="GlobalNavScreenDesktop";var Fu=T(E());var dS=({className:e,localNavMobile:t,localNavMobileFooter:o,globalNav:n,globalNavHeading:a,motifScheme:s,backgroundColor:l,showMobileGlobalLinks:p,dataset:d})=>{let u=(0,Fu.useRef)(null),{screenState:y}=(0,Fu.useContext)(et),m=y==="turning-off";fs(u.current,m);let g=()=>x("section",{className:qd,children:[t,o&&x(se,{children:[i("hr",{}),o]})]});return d?.testid||(d={...d,testid:qr.navTopLevel}),x("nav",{ref:u,className:h("sdsm-header",I1,s??Ne(l),e),...te(d),children:[(t||o)&&i(g,{}),p&&x("section",{className:h(Wd,s??Ne(l)),children:[i("label",{className:k1,children:a}),n]})]})};dS.displayName="GlobalNavScreenMobile";var uS=e=>{let{screenState:t,mode:o}=(0,M1.useContext)(et);return t==="off"?null:o===at.Mobile?i(dS,{...e,className:Ds(t),screenState:t}):i(cS,{...e,className:Ds(t),screenState:t})};uS.displayName="GlobalNavScreen";var A1=c` 2379 scroll-margin-top: var(--total-header-height); 2380`;var yS=c` 2381 inset: 0; 2382 /* Prevent overflowing elements from adding extra page width, e.g. background media stickers */ 2383 overflow: hidden; 2384 position: absolute; 2385`,mS=c` 2386 height: 100%; 2387 object-fit: cover; 2388 width: 100%; 2389`,T1=c` 2390 /** Relative color syntax decomposes the hex --curtain-color into r g b channels so opacity can be applied dynamically */ 2391 background-color: rgb(from ${r("--curtain-color")} r g b / ${r("--curtain-opacity")}); 2392 backdrop-filter: ${r("--curtain-backdrop-filter")}; 2393 inset: 0; 2394 position: absolute; 2395 z-index: ${De.BLOCK_CURTAIN}; 2396`,_1=c` 2397 background-color: ${r("--bg-color")}; 2398`,w1=c` 2399 position: relative; 2400 width: 100%; 2401 background-image: ${r("--bg-image")}; 2402 color: ${r("--fg-color")}; 2403 2404 /** Styles for the background image if it gets set. Legacy */ 2405 background-repeat: no-repeat; 2406 background-size: cover; 2407 background-position: center; 2408`,D1=c` 2409 margin-left: auto; 2410 margin-right: auto; 2411 width: 100%; 2412 padding: ${r("--block-boundary-desktop-padding")}; 2413 position: relative; 2414 z-index: ${De.BLOCK_BOUNDARY}; 2415 2416 ${P} { 2417 padding: ${r("--block-boundary-mobile-padding")}; 2418 } 2419`,P1=c` 2420 ${V} { 2421 padding-block: ${r("--block-boundary-dense-layout-desktop-padding")}; 2422 } 2423`,N1=c` 2424 position: relative; 2425 margin-left: auto; 2426 margin-right: auto; 2427 width: 100%; 2428 max-width: 75%; 2429 padding: ${r("--block-header-desktop-padding")}; 2430 2431 ${P} { 2432 max-width: unset; 2433 padding: ${r("--block-header-mobile-padding")}; 2434 } 2435`,E1=c` 2436 color: ${r("--block-eyebrow-color")}; 2437 font-size: 14px; 2438 font-weight: 500; 2439 letter-spacing: -0.01em; 2440 line-height: 20px; 2441 margin: 0; 2442 margin-bottom: ${r("--spacing-xs")}; 2443`,R1=c` 2444 /* Overriding h* tags requires double specificity */ 2445 && { 2446 color: ${r("--block-title-color")}; 2447 font-size: ${r("--block-title-desktop-font-size")}; 2448 font-stretch: ${r("--block-title-desktop-font-stretch")}; 2449 line-height: ${r("--block-title-desktop-font-line-height")}; 2450 2451 &:has(.${"sdsm-empahasized-text"}) { 2452 color: ${r("--block-title-de-emphasized-color")}; 2453 } 2454 2455 ${P} { 2456 font-size: ${r("--block-title-mobile-font-size")}; 2457 padding: 0; 2458 } 2459 } 2460 margin: 0; /* Resets h* user stylesheet margin. */ 2461`,F1=c` 2462 -webkit-line-clamp: 6; 2463 -webkit-box-orient: vertical; 2464 color: ${r("--block-subtitle-color")}; 2465 display: -webkit-box; 2466 /* Resets h* user stylesheet margin. */ 2467 margin: 0; 2468 /* The margin between title/subtitle has to be on subtitle so that it collapses when there's only title. */ 2469 margin-top: ${r("--spacing-m")}; 2470 overflow: hidden; 2471 text-overflow: ellipsis; 2472 2473 a { 2474 color: currentColor; 2475 } 2476`,B1=c` 2477 display: flex; 2478 padding: ${r("--block-cta-desktop-padding")}; 2479 2480 > *:not(:last-child) { 2481 margin-right: ${r("--spacing-m")}; 2482 margin-left: 0; 2483 } 2484 2485 *[dir='rtl'] & > *:not(:last-child) { 2486 margin-right: 0; 2487 margin-left: ${r("--spacing-m")}; 2488 } 2489 2490 ${P} { 2491 padding: ${r("--block-cta-mobile-padding")}; 2492 flex-direction: column; 2493 > *:not(:last-child) { 2494 margin-bottom: ${r("--spacing-m")}; 2495 margin-right: 0; 2496 } 2497 } 2498`,Bu=c` 2499 --column-span: 2; 2500 display: grid; 2501 position: relative; 2502 grid-row-gap: ${r("--spacing-xl")}; 2503 grid-column-gap: ${r("--spacing-xl")}; 2504 justify-content: center; 2505 padding-inline: ${r("--block-content-desktop-padding-inline")}; 2506 2507 /* We make every column span 2 in desktop mode so we can half-column align. */ 2508 & > * { 2509 grid-column: span var(--column-span); 2510 } 2511 2512 ${P} { 2513 grid-template-columns: minmax(0, 1fr); 2514 grid-row-gap: ${r("--spacing-m")}; 2515 /* NOTE: grid-column-gap same as desktop */ 2516 padding-inline: ${r("--block-content-mobile-padding-inline")}; 2517 } 2518`,$u=c` 2519 grid-template-columns: repeat(var(--column-span), minmax(0, 1fr)); 2520`,$1=c` 2521 ${V} { 2522 grid-row-gap: ${r("--block-content-dense-layout-desktop-grid-row-gap")}; 2523 } 2524`,Lu=c` 2525 /* NOTE: We double the columns so we can do half-column adjustments */ 2526 grid-template-columns: repeat(calc(2 * var(--column-span)), minmax(0, 1fr)); 2527 2528 /* In order to center a case where the last row only has 1 content, 2529 * We shift the start of the column. 2530 * Note that we don't do this if there's only 1 row. 2531 */ 2532 ${V} { 2533 & > *:not(:first-child):nth-child(2n + 1):last-child { 2534 grid-column: var(--column-span) / span var(--column-span); 2535 } 2536 } 2537 2538 /* 2539 We are keeping the media queries above in addition to the container queries below in case: 2540 - this component is ever rendered without a wrapping SDS-M Page component 2541 - the browser does not support container queries (smart TVs, etc.) 2542 */ 2543 ${co} { 2544 grid-template-columns: repeat(var(--column-span), minmax(0, 1fr)); 2545 2546 /* Reset for cases where the screen-based media query is active but the container query is not */ 2547 & > *:not(:first-child):nth-child(2n + 1):last-child { 2548 grid-column: span var(--column-span); 2549 } 2550 } 2551`,Hu=c` 2552 /* Reduce grid column gap width by 8px on 3 column layout */ 2553 grid-row-gap: ${r("--spacing-l")}; 2554 grid-column-gap: ${r("--spacing-l")}; 2555 2556 /* NOTE: We double the columns so we can do half-column adjustments */ 2557 grid-template-columns: repeat(calc(3 * var(--column-span)), minmax(0, 1fr)); 2558 2559 /* The case where there are actually 3 columns. */ 2560 ${yn} { 2561 /* Handle the case where the last child can be in 1st position */ 2562 & > *:not(:first-child):last-child:nth-child(3n + 1) { 2563 grid-column: calc(1 + var(--column-span)) / span var(--column-span); 2564 } 2565 2566 /* When there are 2 children on the last row, we shift over the first one to center both */ 2567 & > *:not(:first-child):nth-child(3n + 1):nth-last-child(2) { 2568 grid-column: var(--column-span) / span var(--column-span); 2569 } 2570 } 2571 2572 ${At} { 2573 grid-template-columns: repeat(calc(2 * var(--column-span)), minmax(0, 1fr)); 2574 2575 ${V} { 2576 & > *:not(:first-child):nth-child(2n + 1):last-child { 2577 grid-column: var(--column-span) / span var(--column-span); 2578 } 2579 } 2580 } 2581 2582 /** TODO: Figure out if we can remove this. */ 2583 ${P} { 2584 grid-template-columns: repeat(var(--column-span), minmax(0, 1fr)); 2585 } 2586 2587 /* 2588 We are keeping the media queries above in addition to the container queries below in case: 2589 - this component is ever rendered without a wrapping SDS-M Page component 2590 - the browser does not support container queries (smart TVs, etc.) 2591 */ 2592 ${s0} { 2593 /* Handle the case where the last child can be in 1st position */ 2594 & > *:not(:first-child):last-child:nth-child(3n + 1) { 2595 grid-column: calc(1 + var(--column-span)) / span var(--column-span); 2596 } 2597 2598 /* When there are 2 children on the last row, we shift over the first one to center both */ 2599 & > *:not(:first-child):nth-child(3n + 1):nth-last-child(2) { 2600 grid-column: var(--column-span) / span var(--column-span); 2601 } 2602 } 2603 2604 ${ts} { 2605 grid-template-columns: repeat(calc(2 * var(--column-span)), minmax(0, 1fr)); 2606 2607 /* Reset for cases where the screen-based media query is active but the container query is not */ 2608 & > *:not(:first-child):last-child:nth-child(3n + 1) { 2609 grid-column: span var(--column-span); 2610 } 2611 2612 /* Reset for cases where the screen-based media query is active but the container query is not */ 2613 & > *:not(:first-child):nth-child(3n + 1):nth-last-child(2) { 2614 grid-column: span var(--column-span); 2615 } 2616 2617 ${ci} { 2618 /* Center the last child if the last row only has 1 child */ 2619 & > *:not(:first-child):nth-child(2n + 1):last-child { 2620 grid-column: var(--column-span) / span var(--column-span); 2621 } 2622 } 2623 } 2624 2625 ${co} { 2626 grid-template-columns: repeat(var(--column-span), minmax(0, 1fr)); 2627 2628 /* Reset for cases where the screen-based media query is active but the container query is not */ 2629 & > *:not(:first-child):nth-child(2n + 1):last-child { 2630 grid-column: span var(--column-span); 2631 } 2632 } 2633`,L1=c` 2634 /* Reduce grid column gap width by 8px on 4 column layout */ 2635 grid-row-gap: ${r("--spacing-l")}; 2636 grid-column-gap: ${r("--spacing-l")}; 2637 2638 /* NOTE: We double the columns so we can do half-column adjustments */ 2639 grid-template-columns: repeat(calc(4 * var(--column-span)), minmax(0, 1fr)); 2640 2641 ${i0} { 2642 grid-template-columns: repeat(calc(3 * var(--column-span)), minmax(0, 1fr)); 2643 } 2644 2645 ${At} { 2646 grid-template-columns: repeat(calc(2 * var(--column-span)), minmax(0, 1fr)); 2647 2648 ${V} { 2649 & > *:not(:first-child):nth-child(2n + 1):last-child { 2650 grid-column: var(--column-span) / span var(--column-span); 2651 } 2652 } 2653 } 2654 2655 ${P} { 2656 grid-template-columns: repeat(var(--column-span), minmax(0, 1fr)); 2657 } 2658 2659 /* 2660 We are keeping the media queries above in addition to the container queries below in case: 2661 - this component is ever rendered without a wrapping SDS-M Page component 2662 - the browser does not support container queries (smart TVs, etc.) 2663 */ 2664 ${kd} { 2665 grid-template-columns: repeat(calc(3 * var(--column-span)), minmax(0, 1fr)); 2666 } 2667 2668 ${ts} { 2669 grid-template-columns: repeat(calc(2 * var(--column-span)), minmax(0, 1fr)); 2670 2671 ${ci} { 2672 /* Center the last child if the last row only has 1 child */ 2673 & > *:not(:first-child):nth-child(2n + 1):last-child { 2674 grid-column: var(--column-span) / span var(--column-span); 2675 } 2676 } 2677 } 2678 2679 ${co} { 2680 grid-template-columns: repeat(var(--column-span), minmax(0, 1fr)); 2681 2682 /* Reset for cases where the screen-based media query is active but the container query is not */ 2683 & > *:not(:first-child):nth-child(2n + 1):last-child { 2684 grid-column: span var(--column-span); 2685 } 2686 } 2687`,H1=c` 2688 min-height: calc(100vh - ${64}
2688px); 2689 display: flex; 2690 background-size: cover; 2691 flex-direction: column; 2692`;var To=({showCurtain:e,backgroundVideoSource:t,backgroundPosterSource:o,mobileBackgroundVideoSource:n,backgroundImageSources:a,backgroundImageAltText:s,callsToAction:l,children:p,anchorId:d,maxColumns:u=4,motifScheme:y,backgroundColor:m,eyebrow:g,title:f,subtitle:b,titleAlignment:S=ae.Center,titleAlignmentMobile:C=ae.Start,widthStyle:I="full",fullHeight:k=!1,className:v,style:w,eyebrowDataset:_,titleDataset:D,subtitleDataset:M,preChildren:A,postChildren:N,backgroundMediaStickers:$,denseLayout:B=!1,topSpacing:L,bottomSpacing:H})=>{K("sdsm-block");let z=yA({topSpacing:L,bottomSpacing:H}),j=!!g||!!f||!!b,ue=gS.Children.toArray(p).length,ie=gS.Children.count(l);u=Math.max(1,Math.min(ue,u));let ne=u;I==="reduced"&&ne===4&&(ne=3),I==="narrow"&&ne>=3&&(ne=2);let J=$?.map(pe=>({...pe,size:dr.Large,insetPx:16,className:su}));return x("article",{id:d,className:h("sdsm-block",y??Ne(m),w1,A1,{[H1]:k,[_1]:!!y||!!m},v),style:w,children:[A,e&&i("div",{"data-testid":"sdsm-block-curtain",className:T1}),a&&i(Hn,{imgSrcs:a,altText:s,className:yS,imgClassName:mS,fetchPriority:"auto",stickers:J}),t&&i(Ur,{mobileSource:n,source:t,className:yS,videoClassName:mS,posterSource:o,isBackgroundVideo:!0,stickers:J}),i(Qd.Provider,{value:y??m,children:x(Wr,{"data-testid":"sdsm-block-boundary",widthStyle:I,className:h(D1,{[P1]:B},z),children:[j&&x("section",{"data-testid":"sdsm-block-title",className:h(N1,ka[S],Ma[C]),children:[g&&i("div",{className:E1,...te(_),children:g}),f&&i("h2",{"data-testid":"sdsm-block-title",className:h(R1),...te(D),children:f}),b&&i("div",{"data-testid":"sdsm-block-subtitle",className:h(uo,F1),...te(M),children:b})]}),p&&i("section",{"data-testid":"sdsm-block-children","data-max-columns":u,className:h(Bu,{[$u]:ne===1,[Lu]:ne===2,[Hu]:ne===3,[L1]:ne===4,[$1]:B&&ne===1}),children:p}),ie>0&&i("section",{"data-testid":"sdsm-block-ctas",className:h(ka[S],Ma[C],B1),children:l})]})}),N]})};To.displayName="Block";var fS=` 2693 content: ''; 2694 position: absolute; 2695 left: calc(-1 * ${r("--side-navigation-left-padding")}); 2696 top: 0; 2697 height: 100%; 2698 width: ${r("--spacing-xxs")}; 2699 background: ${r("--side-navigation-indicator-hover-color")}; 2700 border-radius: 0 ${r("--action-indicator-border-radius")} ${r("--action-indicator-border-radius")} 0; 2701`,_o=300,V1=c` 2702 background-color: ${r("--side-navigation-desktop-bar-bg-color")}; 2703 z-index: ${De.SIDENAV}; 2704 2705 ${V} { 2706 border-inline-end-color: ${r("--side-navigation-desktop-border-color")}; 2707 border-inline-end-style: solid; 2708 border-inline-end-width: ${r("--side-navigation-desktop-border-width")}; 2709 flex: 0 0 ${_o}px; 2710 2711 & > * { 2712 position: sticky; 2713 top: ${64}px; 2714 } 2715 } 2716 2717 ${P} { 2718 position: sticky; 2719 top: ${64}px; 2720 width: 100%; 2721 box-shadow: ${r("--box-shadow-m")}; 2722 } 2723`,O1=c` 2724 ${P} { 2725 box-shadow: ${r("--box-shadow-xs")}; 2726 } 2727`,G1=c` 2728 font-size: ${r("--action-desktop-font-size")}; 2729 line-height: ${r("--action-desktop-font-line-height")}; 2730 padding-block-start: ${r("--spacing-m")}; 2731 padding-inline-start: ${r("--side-navigation-left-padding")}; 2732 padding-inline-end: ${r("--side-navigation-right-padding")}; 2733 2734 ${P} { 2735 width: auto; 2736 font-size: ${r("--action-mobile-font-size")}; 2737 line-height: ${r("--action-mobile-font-line-height")}; 2738 background-color: ${r("--side-navigation-mobile-bg-color")}; 2739 padding: ${r("--spacing-s")} ${r("--spacing-xl")}; 2740 } 2741 2742 & ul { 2743 list-style: none; 2744 padding: 0; 2745 margin: 0; 2746 } 2747 2748 & > ul > li { 2749 padding-block: ${r("--spacing-m")}; 2750 } 2751 2752 & > ul > li > ul > li { 2753 font-size: ${r("--action-desktop-font-size")}; 2754 line-height: ${r("--action-desktop-font-line-height")}; 2755 margin-top: ${r("--spacing-m")}; 2756 margin-inline-start: ${r("--spacing-m")}; 2757 position: relative; 2758 2759 ${P} { 2760 font-size: ${r("--action-mobile-font-size")}; 2761 line-height: ${r("--action-mobile-font-line-height")}; 2762 } 2763 } 2764`,z1=c` 2765 padding: 0; 2766 font-family: ${r("--font-family")}; 2767 display: flex; 2768 color: ${r("--side-navigation-desktop-item-color")}; 2769 text-decoration: none; 2770 font-weight: ${r("--action-desktop-font-weight")}; 2771 background-color: transparent; 2772 border: 0; 2773 font-size: ${r("--action-desktop-font-size")}; 2774 line-height: ${r("--action-desktop-font-line-height")}; 2775 text-align: left; 2776 cursor: pointer; 2777 width: 100%; 2778 justify-content: space-between; 2779 align-items: center; 2780 min-height: 22px; 2781 position: relative; 2782 2783 *[dir='rtl'] & { 2784 text-align: right; 2785 } 2786 2787 :hover { 2788 color: ${r("--side-navigation-desktop-item-hover-color")}; 2789 &::before { 2790 ${fS} 2791 } 2792 } 2793 2794 ${P} { 2795 font-size: ${r("--action-mobile-font-size")}; 2796 line-height: ${r("--action-mobile-font-line-height")}; 2797 justify-content: space-between; 2798 color: ${r("--side-navigation-mobile-item-color")}; 2799 } 2800`,U1=c` 2801 color: ${r("--side-navigation-desktop-item-hover-color")}; 2802 &::before { 2803 ${fS} 2804 } 2805`,W1=c` 2806 color: ${r("--side-navigation-desktop-item-active-color")}; 2807 2808 &::before { 2809 ${fS} 2810 background: ${r("--side-navigation-indicator-active-color")}; 2811 2812 ${P} { 2813 background: ${r("--side-navigation-indicator-active-color")}; 2814 } 2815 } 2816 2817 &:hover { 2818 color: ${r("--side-navigation-desktop-item-active-color")}; 2819 &::before { 2820 background: ${r("--side-navigation-indicator-active-color")}; 2821 } 2822 } 2823 2824 ${P} { 2825 color: ${r("--side-navigation-mobile-item-active-color")}; 2826 } 2827`,q1=c` 2828 a { 2829 color: ${r("--side-navigation-desktop-item-color")}; 2830 display: block; 2831 text-decoration: none; 2832 font-size: ${r("--action-desktop-font-size")}; 2833 line-height: 140%; 2834 2835 *[dir='rtl'] & { 2836 &:before { 2837 right: calc(-1 * ${r("--spacing-m")}); 2838 border-radius: ${r("--action-indicator-border-radius")} 0 0 2839 ${r("--action-indicator-border-radius")}; 2840 } 2841 } 2842 2843 &:hover { 2844 color: ${r("--side-navigation-desktop-item-hover-color")}; 2845 } 2846 2847 ${P} { 2848 color: ${r("--side-navigation-mobile-item-color")}; 2849 } 2850 } 2851`,Q1=c` 2852 font-size: ${r("--action-desktop-font-size")}; 2853 2854 & svg:first-child { 2855 width: 22px; 2856 height: 22px; 2857 margin: -6px; 2858 } 2859 2860 & svg:nth-child(2) { 2861 display: none; 2862 } 2863 2864 & svg:nth-child(3) { 2865 display: none; 2866 } 2867 2868 *[dir='rtl'] & { 2869 & svg:nth-child(2) { 2870 display: none; 2871 } 2872 2873 & svg:nth-child(3) { 2874 display: none; 2875 } 2876 } 2877`,K1=c` 2878 position: relative; 2879 font-weight: ${r("--action-desktop-font-weight")}; 2880 2881 a, 2882 a:hover { 2883 color: ${r("--side-navigation-desktop-item-active-color")}; 2884 2885 ${P} { 2886 color: ${r("--side-navigation-mobile-item-active-color")}; 2887 } 2888 } 2889 2890 *[dir='rtl'] & { 2891 &:before { 2892 right: calc(-1 * ${r("--spacing-m")}); 2893 border-radius: ${r("--action-indicator-border-radius")} 0 0 2894 ${r("--action-indicator-border-radius")}; 2895 } 2896 } 2897`,j1=c` 2898 ${V} { 2899 display: none; 2900 } 2901 2902 ${P} { 2903 background-color: ${r("--side-navigation-mobile-bar-bg-color")}; 2904 color: ${r("--side-navigation-mobile-bar-fg-color")}; 2905 border: 0; 2906 padding: 0; 2907 font: inherit; 2908 outline: inherit; 2909 width: 100%; 2910 display: flex; 2911 align-items: center; 2912 justify-content: space-between; 2913 padding-inline: ${r("--spacing-xl")}; 2914 height: 48px; 2915 margin: auto; 2916 2917 & > span:first-child { 2918 font-family: ${r("--font-family")}; 2919 font-size: ${r("--action-mobile-font-size")}; 2920 line-height: ${r("--action-mobile-font-line-height")}; 2921 font-weight: ${r("--action-desktop-font-weight")}; 2922 text-overflow: ellipsis; 2923 overflow: hidden; 2924 white-space: nowrap; 2925 } 2926 } 2927`,Vu=c` 2928 fill: ${r("--side-navigation-desktop-item-color")}; 2929 margin: -4px -12px; 2930 2931 ${P} { 2932 fill: ${r("--side-navigation-mobile-item-color")}; 2933 } 2934`,Y1=c` 2935 width: 22px; 2936 height: 22px; 2937 margin: -6px; 2938 fill: ${r("--side-navigation-mobile-toggler-icon-color")}; 2939`;var X1=c` 2940 container-name: ${"sdsm-page"}; 2941 container-type: inline-size; 2942`,J1=c` 2943 position: relative; 2944 width: 100%; 2945`,Z1=c` 2946 ::before { 2947 background-color: ${r("--gutter-color")}; 2948 content: ''; 2949 height: 100vh; 2950 inset: 0; 2951 position: fixed; 2952 width: 100vw; 2953 z-index: -1; 2954 } 2955`,ew=c` 2956 background-color: ${r("--bg-color")}; 2957`,tw=c` 2958 background-color: transparent; 2959`;var eme=c` 2960 background-attachment: fixed; 2961`,bS=c` 2962 position: absolute; 2963 object-fit: cover; 2964 height: 100%; 2965 width: 100%; 2966 z-index: -1; 2967`,SS=c` 2968 object-fit: cover; 2969 width: 100vw; 2970 height: 100vh; 2971 position: fixed; 2972 top: 0; 2973 left: 0; 2974 z-index: -1; 2975`,tme=c` 2976 display: flex; 2977 justify-content: center; 2978 2979 background-color: ${tr}; 2980 2981 ${P} { 2982 flex-direction: column; 2983 } 2984`,ome=c` 2985 flex: 0 1 ${ct-_o}px; 2986 min-width: 0px; 2987 2988 ${P} { 2989 flex: none; 2990 } 2991`;var Ps=T(E());var hS=c` 2992 overflow: hidden; 2993`,CS=c` 2994 align-items: center; 2995 color: ${r("--breadcrumbs-item-color")}; 2996 display: flex; 2997 font-size: ${r("--annotation-mobile-font-size")};
2998 font-weight: ${r("--annotation-mobile-font-weight")}; 2999 gap: ${r("--spacing-xxs")}; 3000 letter-spacing: ${r("--annotation-mobile-font-letter-spacing")}; 3001 line-height: ${r("--annotation-mobile-font-line-height")}; 3002 overflow: hidden; 3003 padding: ${r("--spacing-xs")} ${r("--spacing-xxs")}; 3004 3005 ${V} { 3006 font-size: ${r("--annotation-desktop-font-size")}; 3007 font-weight: ${r("--annotation-desktop-font-weight")}; 3008 letter-spacing: ${r("--annotation-desktop-font-letter-spacing")}; 3009 line-height: ${r("--annotation-desktop-font-line-height")}; 3010 } 3011`,ow=c` 3012 text-decoration: none; 3013 3014 @media (hover: hover) { 3015 :hover { 3016 color: ${r("--breadcrumbs-item-hover-color")}; 3017 text-decoration: ${r("--breadcrumbs-item-hover-font-text-decoration")}; 3018 } 3019 } 3020`,nw=c` 3021 display: block; 3022 overflow: hidden; 3023 text-overflow: ellipsis; 3024 white-space: nowrap; 3025`,rw=c` 3026 color: ${r("--breadcrumbs-item-active-color")}; 3027`,aw=c` 3028 ${Xt} 3029 background-color: ${r("--neutral-v625")}; 3030 border-radius: 4px; 3031 color: ${r("--neutral-v0")}; 3032 left: 50%; 3033 opacity: 0; 3034 padding: ${r("--spacing-xs")} 21px; 3035 position: absolute; 3036 top: 120%; 3037 transform: translateX(-50%); 3038 transition: opacity 200ms, visibility 200ms; 3039 white-space: nowrap; 3040 pointer-events: none; 3041 visibility: hidden; 3042 3043 ${`.${hS}[data-truncated="true"]`}:hover & { 3044 opacity: 1; 3045 pointer-events: auto; 3046 visibility: visible; 3047 } 3048 3049 &::before { 3050 border-bottom: 12px solid ${r("--neutral-v625")}; 3051 border-left: 12px solid transparent; 3052 border-right: 12px solid transparent; 3053 bottom: 100%; 3054 content: ''; 3055 height: 0; 3056 left: 50%; 3057 position: absolute; 3058 transform: translateX(-50%); 3059 width: 0; 3060 } 3061`,iw=c` 3062 fill: ${r("--breadcrumbs-item-color")}; 3063 margin-inline-start: calc(${r("--spacing-xxs")} * -1); 3064 3065 [dir='rtl'] & { 3066 transform: scaleX(-1); 3067 } 3068 3069 ${V} { 3070 display: none; 3071 } 3072`;var xS=({breadcrumbText:e,slug:t,isCurrent:o,showBackIcon:n,onClick:a,breadcrumbTextDataset:s,hideTooltips:l=!1})=>{let{Anchor:p}=(0,Ps.useContext)(Le),d=(0,Ps.useRef)(null),[u,y]=(0,Ps.useState)(!1),m=()=>{if(l||!d.current)return;let{offsetWidth:b,scrollWidth:S}=d.current;y(S>b)},g=i("span",{ref:d,className:nw,children:e}),f=t&&!o?x(p,{href:t,className:h(CS,ow),onClick:a,...te(s),children:[n&&i(we,{name:"chevron-left",size:24,className:iw}),g]}):i("span",{"aria-current":o?"page":void 0,className:h(CS,{[rw]:o}),...te(s),children:g});return x("span",{className:hS,"data-truncated":l?void 0:u,onMouseEnter:l?void 0:m,children:[f,!l&&i("span",{role:"tooltip",className:aw,children:e})]})};xS.displayName="BreadcrumbItem";var sw=c` 3073 width: 100%; 3074`,lw=c` 3075 align-items: center; 3076 display: grid; 3077 grid-template-columns: repeat(auto-fit, minmax(0, auto)); 3078 justify-content: start; 3079 list-style: none; 3080 margin: 0; 3081 padding: 0; 3082`,pw=c` 3083 display: flex; 3084 position: relative; 3085`,cw=c` 3086 ${P} { 3087 display: none; 3088 } 3089`,dw=c` 3090 &:not(:last-of-type)::after { 3091 color: ${r("--breadcrumbs-item-color")}; 3092 content: '/'; 3093 font-size: ${r("--annotation-mobile-font-size")}; 3094 font-weight: ${r("--annotation-mobile-font-weight")}; 3095 letter-spacing: ${r("--annotation-mobile-font-letter-spacing")}; 3096 line-height: ${r("--annotation-mobile-font-line-height")}; 3097 margin: auto 0px; 3098 padding-inline: ${r("--spacing-xs")}; 3099 3100 ${V} { 3101 font-size: ${r("--annotation-desktop-font-size")}; 3102 font-weight: ${r("--annotation-desktop-font-weight")}; 3103 letter-spacing: ${r("--annotation-desktop-font-letter-spacing")}; 3104 line-height: ${r("--annotation-desktop-font-line-height")}; 3105 } 3106 } 3107`,uw=c` 3108 &:not(:last-of-type)::after { 3109 ${P} { 3110 display: none; 3111 } 3112 } 3113`,yw=c` 3114 color: ${r("--breadcrumbs-item-color")}; 3115 flex-shrink: 0; 3116 height: 16px; 3117 margin: auto ${r("--spacing-xxs")}; 3118 width: 16px; 3119 3120 [dir='rtl'] & { 3121 transform: scaleX(-1); 3122 } 3123`,mw=c` 3124 ${P} { 3125 display: none; 3126 } 3127`;var vS=({breadcrumbsItems:e,className:t,SeparatorIcon:o,shouldCollapseOnMobile:n=!1,hideTooltips:a=!1})=>{if(K("sdsm-breadcrumbs"),!e.length)return null;let s=e.length-1;return i("nav",{"aria-label":"breadcrumbs",className:h("sdsm-breadcrumbs",sw,t),children:i("ol",{className:lw,children:e.map((l,p)=>{let d=p===s,u=n&&p===s-1,y=!!o&&p<s;return x("li",{className:h(pw,{[cw]:n&&!u,[dw]:!o,[uw]:n&&!o}),children:[i(xS,{...l,hideTooltips:a,isCurrent:d,showBackIcon:u}
3127),y&&o&&i(o,{"aria-hidden":!0,className:h(yw,{[mw]:n}),focusable:!1})]},l.id)})})})};vS.displayName="Breadcrumbs";var gw=c` 3128 height: ${r("--break-total-desktop-height")}; 3129 ${P} { 3130 height: ${r("--break-total-mobile-height")}; 3131 } 3132`,bK=c` 3133 height: ${r("--break-half-desktop-height")}; 3134 ${P} { 3135 height: ${r("--break-half-mobile-height")}; 3136 } 3137`,fw=c` 3138 pointer-events: none; 3139 position: relative; 3140 z-index: ${De.BREAK}; 3141 ${gw} 3142`,Na=c` 3143 width: 100%; 3144 height: calc(100% - 2 * ${r("--break-overlap-height")}); 3145 position: relative; 3146 top: ${r("--break-overlap-height")}; 3147`,bw=c` 3148 left: 50%; 3149 max-height: 100%; 3150 position: absolute; 3151 top: 50%; 3152 transform: translate(-50%, -50%); 3153`,Sw=c` 3154 margin-top: calc(0px - ${r("--break-total-desktop-height")}); 3155 3156 ${P} { 3157 margin-top: calc(0px - ${r("--break-total-mobile-height")}); 3158 } 3159`,hw=c` 3160 margin-bottom: calc(0px - ${r("--break-total-desktop-height")}); 3161 3162 ${P} { 3163 margin-bottom: calc(0px - ${r("--break-total-mobile-height")}); 3164 } 3165`,Cw=c` 3166 margin-top: calc(0px - ${r("--break-half-desktop-height")}); 3167 3168 ${P} { 3169 margin-top: calc(0px - ${r("--break-half-mobile-height")}); 3170 } 3171`,xw=c` 3172 margin-bottom: calc(0px - ${r("--break-half-desktop-height")}); 3173 3174 ${P} { 3175 margin-bottom: calc(0px - ${r("--break-half-mobile-height")}); 3176 } 3177`,vw=c` 3178 pointer-events: none; 3179 width: 100%; 3180`,Iw=gw,kw=bK,Mw=c` 3181 background-color: ${r("--bg-color")}; 3182`;var Aw=e=>{let{topColor:t,bottomColor:o,shadowColor:n,shadowOpacity:a=.2,...s}=e;return x("svg",{width:"1440",height:"96",viewBox:"0 0 1440 96",fill:"none",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",role:"presentation",...s,children:[i("defs",{children:x("filter",{id:"break-head-shadow",x:"0",y:"0",width:"100%",height:"96",children:[i("feGaussianBlur",{stdDeviation:"15"}),i("feComposite",{operator:"out",in2:"SourceGraphic"})]})}),i("path",{d:"M1440 0H0L-0.00390625 65C228.186 32.4746 470.064 21 720.555 21C971.045 21 1212.14 32.5811 1439.99 65L1440 0Z",fill:t}),i("path",{d:"M1439.99 43.9999L1440 75C896.804 75.3096 544.733 75 -0.00292327 75L-0.00463491 44C228.185 11.4751 470.065 8.66536e-05 720.555 6.42749e-05C971.044 4.18962e-05 1212.14 11.5812 1439.99 43.9999Z",fill:o,transform:"translate(0 21)"}),i("path",{d:"M1440 0H0L-0.00390625 65C228.186 32.4746 470.064 21 720.555 21C971.045 21 1212.14 32.5811 1439.99 65L1440 0Z",fill:n,opacity:a,filter:"url(#break-head-shadow)"})]})};var Tw=e=>{let{topColor:t,bottomColor:o,shadowColor:n,shadowOpacity:a=.2,...s}=e;return x("svg",{width:"1440",height:"96",viewBox:"0 0 1440 96",fill:"none",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",role:"presentation",...s,children:[i("defs",{children:x("filter",{id:"break-headflipped-shadow",x:"0",y:"0",width:"100%",height:"96",children:[i("feGaussianBlur",{stdDeviation:"15"}),i("feComposite",{operator:"out",in2:"SourceGraphic"})]})}),i("path",{d:"M1440 0.000128746L4.27734e-06 9.68134e-08C228.19 32.5249 470.07 49.9999 720.56 49.9999C971.05 50 1212.15 32.4188 1440 0.000128746Z",fill:t}),i("path",{d:"M1440 96V0C1212.15 32.4189 971.051 50 720.561 50C470.07 50 228.189 32.5254 0 0V96H1440Z",fill:o}),i("path",{d:"M1440 0.000128746L4.27734e-06 9.68134e-08C228.19 32.5249 470.07 49.9999 720.56 49.9999C971.05 50 1212.15 32.4188 1440 0.000128746Z",fill:n,opacity:a,filter:"url(#break-headflipped-shadow)"})]})};var SK=c` 3183 align-items: center; 3184 background-color: ${r("--bg-color")}; 3185 display: flex; 3186 height: 100%; 3187 padding: ${r("--spacing-l")} ${r("--spacing-xl")}; 3188 width: 100%; 3189 3190 ${V} { 3191 padding: ${r("--spacing-l")} ${r("--spacing-xl")}; 3192 } 3193 ${op} { 3194 padding: ${r("--spacing-l")} ${r("--spacing-xxxl")}; 3195 } 3196`,hK=c` 3197 background-color: ${r("--fg-color")}; 3198 height: 1px; 3199 width: 100%; 3200`,_w=()=>i("div",{className:SK,children:i("div",{className:hK})});var ww=e=>{let{topColor:t,bottomColor:o,shadowColor:n,shadowOpacity:a=.2,...s}=e;return x("svg",{width:"1440",height:"96",viewBox:"0 0 1440 96",fill:"none",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",role:"presentation",...s,children:[i("defs",{children:x("filter",{id:"break-skirt-shadow",x:"0",y:"0",width:"100%",height:"96",children:[i("feGaussianBlur",{stdDeviation:"15"}),i("feComposite",{operator:"out",in2:"SourceGraphic"})]})}),i("path",{d:"M314.31 27.8046C510.98 21.076 546.9 47.315 818.11 47.9843C935 48.4325 1223.03 39.463 1440 0H0V41.5C27.99 42.3963 117.64 34.5331 314.31 27.8106V27.8046Z",fill:t}),i("path",{d:"M0 96H1440V0C1223.03 39.463 935 48.4325 818.11 47.9843C683.948 47.6532 607.363 41.065 540.415 35.3058C472.026 29.4227 413.692 24.4045 314.31 27.8046V27.8106C204.403 31.5674 127.919 35.6805 76.9403 38.4219C36.6967 40.5861 12.3481 41.8954 0 41.5V96Z",fill:o}),i("path",{d:"M314.31 27.8046C510.98 21.076 546.9 47.315 818.11 47.9843C935 48.4325 1223.03 39.463 1440 0H0V41.5C27.99 42.3963 117.64 34.5331 314.31 27.8106V27.8046Z",fill:n,opacity:a,filter:"url
3200(#break-skirt-shadow)"})]})};var Dw=e=>{let{topColor:t,bottomColor:o,shadowColor:n,shadowOpacity:a=.2,...s}=e;return x("svg",{width:"1440",height:"96",viewBox:"0 0 1440 96",fill:"none",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",role:"presentation",...s,children:[i("defs",{children:x("filter",{id:"break-skirt2-shadow",x:"0",y:"0",width:"100%",height:"96",children:[i("feGaussianBlur",{stdDeviation:"15"}),i("feComposite",{operator:"out",in2:"SourceGraphic"})]})}),i("path",{d:"M1440 0.0991211H0V50.1971C36.6091 43.6777 77.6641 37.7261 124.249 32.6745C310.648 12.4616 361 13.9746 528.797 31.5909C542.059 32.9831 555.219 35.2322 569.339 37.6453C599.237 42.755 633.435 48.5996 682 48.5996C731.565 48.3254 771.328 42.4257 813.924 36.1058C836.643 32.7351 860.166 29.2449 886.413 26.4248C944.864 20.7107 990.885 16.5365 1031.36 20.9347C1046.21 22.7434 1059.43 25.6192 1070.25 29.3933C1070.84 29.5968 1071.39 29.7913 1071.93 29.9783C1081.36 33.2595 1084.09 34.2084 1094.38 40.0996C1099.5 43.0274 1105.69 45.2946 1115.5 48.5996C1125.27 50.4244 1136.28 50.7567 1148.07 50.5944C1157.61 50.5266 1168.07 50.3572 1179.24 50.1765C1180.84 50.1505 1182.46 50.1243 1184.09 50.0982C1231.43 49.2382 1342.55 51.9494 1381.68 55.0925C1420.82 58.2357 1440 63.0996 1440 63.0996V0.0991211Z",fill:t}),i("path",{d:"M1440 79.2424V46.0986C1440 46.0986 1420.82 41.2347 1381.68 38.0915C1342.55 34.9484 1231.43 32.2372 1184.09 33.0972C1182.46 33.1233 1180.84 33.1495 1179.24 33.1755C1168.07 33.3562 1157.61 33.5256 1148.07 33.5935C1136.28 33.7557 1125.27 33.4234 1115.5 31.5986C1105.69 28.2936 1099.5 26.0264 1094.38 23.0986C1084.09 17.2074 1081.36 16.2586 1071.93 12.9773C1071.39 12.7904 1070.84 12.5958 1070.25 12.3924C1059.43 8.61827 1046.21 5.74244 1031.36 3.93377C990.885 -0.464426 944.864 3.70971 886.413 9.42386C860.166 12.244 836.643 15.7342 813.924 19.1048C771.328 25.4247 731.565 31.3244 682 31.5986C633.435 31.5986 599.237 25.754 569.339 20.6443C555.219 18.2313 542.059 15.9821 528.797 14.5899C361 -3.0264 310.648 -4.53937 124.249 15.6736C77.6641 20.7252 36.6091 26.6767 0 33.1961L4.37898e-05 79.2424H1440Z",fill:o,transform:"translate(0 17)"}),i("path",{d:"M1440 0.0991211H0V50.1971C36.6091 43.6777 77.6641 37.7261 124.249 32.6745C310.648 12.4616 361 13.9746 528.797 31.5909C542.059 32.9831 555.219 35.2322 569.339 37.6453C599.237 42.755 633.435 48.5996 682 48.5996C731.565 48.3254 771.328 42.4257 813.924 36.1058C836.643 32.7351 860.166 29.2449 886.413 26.4248C944.864 20.7107 990.885 16.5365 1031.36 20.9347C1046.21 22.7434 1059.43 25.6192 1070.25 29.3933C1070.84 29.5968 1071.39 29.7913 1071.93 29.9783C1081.36 33.2595 1084.09 34.2084 1094.38 40.0996C1099.5 43.0274 1105.69 45.2946 1115.5 48.5996C1125.27 50.4244 1136.28 50.7567 1148.07 50.5944C1157.61 50.5266 1168.07 50.3572 1179.24 50.1765C1180.84 50.1505 1182.46 50.1243 1184.09 50.0982C1231.43 49.2382 1342.55 51.9494 1381.68 55.0925C1420.82 58.2357 1440 63.0996 1440 63.0996V0.0991211Z",fill:n,opacity:a,filter:"url(#break-skirt2-shadow)"})]})};var Pw=e=>{let{topColor:t,bottomColor:o,shadowColor:n,shadowOpacity:a=.2,...s}=e;return x("svg",{width:"1440",height:"96",viewBox:"0 0 1440 96",fill:"none",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",role:"presentation",...s,children:[i("defs",{children:x("filter",{id:"break-skirt3-shadow",x:"0",y:"0",width:"100%",height:"96",children:[i("feGaussianBlur",{stdDeviation:"15"}),i("feComposite",{operator:"out",in2:"SourceGraphic"})]})}),i("path",{d:"M0 0C34.849 14.3283 113.946 7.9634 169.366 14.5723C193.656 18.3155 229.541 28.3275 253.444 30.9529C320.056 36.6478 380.164 24.0008 446.021 28.8655C538.848 36.8216 612.91 60.1738 720.005 58.9539C827.081 60.1738 901.18 36.8253 993.979 28.8619C1059.84 23.9972 1119.94 36.6442 1186.56 30.9529C1210.32 28.3166 1246.29 18.3191 1270.63 14.5686C1326.17 7.96341 1405.17 14.3283 1440 0.00364149V0H0Z",fill:t}),i("path",{d:"M1440 96V0C1418.53 8.83496 1380.26 9.80273 1341.06 10.7939C1316.67 11.4102 1291.93 12.0361 1270.63 14.5684C1259.9 16.2227 1246.9 19.0908 1233.69 22.0078C1216.94 25.7051 1199.84 29.4795 1186.56 30.9531C1152.46 33.8662 1120.06 31.9736 1087.73 30.0859C1056.9 28.2852 1026.12 26.4873 993.979 28.8623C958.615 31.8965 925.967 37.165 893.176 42.457C839.916 51.0527 786.275 59.709 720.004 58.9541C653.738 59.709 600.121 51.0557 546.877 42.4639C514.072 37.1699 481.41 31.8984 446.02
32001 28.8652C413.881 26.4912 383.107 28.2881 352.281 30.0879C319.943 31.9766 287.547 33.8682 253.443 30.9531C240.031 29.4795 222.848 25.6807 206.057 21.9688C192.922 19.0654 180.027 16.2148 169.367 14.5723C148.109 12.0371 123.369 11.4111 98.9785 10.7939C59.7793 9.80176 21.4824 8.83203 0 0V96H1440Z",fill:o}),i("path",{d:"M0 0C34.849 14.3283 113.946 7.9634 169.366 14.5723C193.656 18.3155 229.541 28.3275 253.444 30.9529C320.056 36.6478 380.164 24.0008 446.021 28.8655C538.848 36.8216 612.91 60.1738 720.005 58.9539C827.081 60.1738 901.18 36.8253 993.979 28.8619C1059.84 23.9972 1119.94 36.6442 1186.56 30.9529C1210.32 28.3166 1246.29 18.3191 1270.63 14.5686C1326.17 7.96341 1405.17 14.3283 1440 0.00364149V0H0Z",fill:n,opacity:a,filter:"url(#break-skirt3-shadow)"})]})};var IS=e=>{let{topColor:t,bottomColor:o,shadowColor:n,shadowOpacity:a=.2,...s}=e;return x("svg",{width:"1440",height:"96",viewBox:"0 0 1440 96",fill:"none",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",role:"presentation",...s,children:[i("defs",{children:x("filter",{id:"break-straight-shadow",x:"0",y:"0",width:"100%",height:"96",children:[i("feGaussianBlur",{stdDeviation:"15"}),i("feComposite",{operator:"out",in2:"SourceGraphic"})]})}),i("rect",{x:"0",y:"0",width:"100%",height:"48",fill:t}),i("rect",{x:"0",y:"0",width:"100%",height:"48",fill:o,transform:"translate(0 48)"}),i("rect",{x:"0",y:"0",width:"100%",height:"48",fill:n,opacity:a,filter:"url(#break-straight-shadow)"})]})};var Tp=({template:e,isTopTransparent:t,isBottomTransparent:o,isOverlaid:n})=>{if(!e)return"none";if(e===Xe.Line)return"topAndBottomHalfs";if(t&&o)return"none";let a=t&&!o,s=!t&&o;return n?e===Xe.Straight?"topAndBottomHalfs":a?"top":s?"bottom":"topAndBottomHalfs":a?e===Xe.Straight?"topHalf":"top":s?e===Xe.Straight?"bottomHalf":"bottom":"none"};var Ou=({template:e,imgSrcs:t,topColor:o,bottomColor:n,isOverlaid:a})=>{if(K("sdsm-break"),e==="None")return null;let s=!!t,l=!o,p=!n;if(l&&p)return null;let d=En(o),u=En(n),y=l?"transparent":np(d,"--bg-color")??"transparent",m=p?"transparent":np(u,"--bg-color")??"transparent",g=u==="sdsm-secondary"?r("--break-shadow-light-color"):r("--break-shadow-dark-color"),f=.2;d==="sdsm-secondary"&&u==="sdsm-secondary"&&(f=.4),d!=="sdsm-secondary"&&u==="sdsm-secondary"&&(f=.56);let b;if(s)b=i(IS,{className:Na,topColor:y,bottomColor:m,shadowColor:g,shadowOpacity:f});else switch(e){case Xe.Head:b=i(Aw,{className:Na,topColor:y,bottomColor:m,shadowColor:g,shadowOpacity:f});break;case Xe.HeadFlipped:b=i(Tw,{className:Na,topColor:y,bottomColor:m,shadowColor:g,shadowOpacity:f});break;case Xe.Line:b=i(_w,{});break;case Xe.Skirt:b=i(ww,{className:Na,topColor:y,bottomColor:m,shadowColor:g,shadowOpacity:f});break;case Xe.Skirt2:b=i(Dw,{className:Na,topColor:y,bottomColor:m,shadowColor:g,shadowOpacity:f});break;case Xe.Skirt3:b=i(Pw,{className:Na,topColor:y,bottomColor:m,shadowColor:g,shadowOpacity:f});break;case Xe.Straight:b=i(IS,{className:Na,topColor:y,bottomColor:m,shadowColor:g,shadowOpacity:f});break;default:break}if(!b)return null;let S=Tp({template:s?Xe.Straight:e,isTopTransparent:l,isBottomTransparent:p,isOverlaid:a});return x("div",{className:h("sdsm-break",d??"sdsm-default",fw,{[Sw]:S==="top",[hw]:S==="bottom",[Cw]:S==="topAndBottomHalfs"||S==="topHalf",[xw]:S==="topAndBottomHalfs"||S==="bottomHalf",[Mw]:!l&&!p}),"data-testid":`break-${e?.toLowerCase()}`,children:[b,!!t&&i(Ke,{className:bw,imgSrcs:t,altText:""})]})};Ou.displayName="Break";var _p=({type:e,location:t})=>{if(K("sdsm-break"),!e||e==="none")return null;let o=t==="top"&&e==="bottom"||t==="bottom"&&e==="top",n=e==="topAndBottomHalfs"||t==="top"&&e==="bottomHalf"||t==="bottom"&&e==="topHalf";return!o&&!n?null:i("div",{className:h(vw,{[Iw]:o,[kw]:n}),"data-testid":"break-spacer"})};_p.displayName="BreakSpacer";var Ho=T(E());var CK=es({min:Io+1,max:o0}),kS="editorial-gallery-card-media",Ea="editorial-gallery-card",Gu=c` 3201 align-items: center; 3202 background-color: ${r("--bg-color")}; 3203 display: flex; 3204 flex-direction: column; 3205 gap: 8px; 3206 position: relative; 3207 width: 100%; 3208 3209 &:hover { 3210 & .${kS} { 3211 opacity: 1; 3212 transform: scale(1); 3213 z-index: 2; 3214 3215 ${Ye} { 3216 box-shadow: ${r("--editorial-gallery-card-media-hover-box-shadow")}; 3217 } 3218 } 3219 } 3220 3221 &::before { 3222 transition: background-color 0.25s ease-out; 3223 background-color: transparent; 3224 content: ''; 3225 inset: 0 calc(${r("--spacing-xxxl")} * -1); 3226 position: absolute; 3227 3228 ${Ye} { 3229 width: calc(100% + 2 * ${r("--spacing-xxxl")}); 3230 } 3231 } 3232`,zu=c` 3233 align-items: flex-start; 3234 align-self: stretch; 3235 color: ${r("--fg-color")}; 3236 display: flex; 3237 justify-content: space-between; 3238 overflow: hidden; 3239 padding-block: ${r("--spacing-l")}; 3240 /* Containing block for the stretched link ::after pseudo-element 3241 in stretchedLinkCss, allowing it to cover the full card area. */ 3242 position: relative; 3243 3244 ${V} { 3245 overflow: visible; 3246 padding-block: ${r("--spacing-xxl")}; 3247 } 3248`,Uu=c` 3249 align-items: flex-start; 3250 display: flex; 3251 flex-direction: column; 3252 gap: ${r("--spacing-l")}; 3253 width: 100%; 3254 3255 ${V} { 3256 flex-direction: row; 3257 gap: 72px; 3258 } 3259`,Ew=c` 3260 align-items: flex-start; 3261 display: flex; 3262 flex-direction: row; 3263 flex-shrink: 0; 3264 justify-content: space-between; 3265 max-width: 100%; 3266 text-transform: uppercase; 3267 width: 100%; 3268 3269 ${V} { 3270 flex-direction: column; 3271 max-width: 100px; 3272 } 3273 3274 & > p { 3275 margin: 0; 3276 } 3277`,Wu=c` 3278 display: flex; 3279 flex-direction: row-reverse; 3280 gap: ${r("--spacing-m")}; 3281 width: 100%; 3282 3283 ${V} { 3284 flex-direction: row; 3285 gap: 72px; 3286 } 3287`,MS=c` 3288 font-size: ${r("--annotation-mobile-font-size")};
3289 font-weight: ${r("--annotation-mobile-font-weight")}; 3290 letter-spacing: ${r("--annotation-mobile-font-letter-spacing")}; 3291 line-height: ${r("--annotation-mobile-font-line-height")}; 3292 margin: 0; 3293 margin-inline-start: auto; 3294 overflow-wrap: break-word; 3295 3296 ${V} { 3297 font-size: ${r("--annotation-desktop-font-size")}; 3298 font-weight: ${r("--annotation-desktop-font-weight")}; 3299 letter-spacing: ${r("--annotation-desktop-font-letter-spacing")}; 3300 line-height: ${r("--annotation-desktop-font-line-height")}; 3301 margin-inline-start: 0; 3302 } 3303`,qu=c` 3304 align-items: flex-start; 3305 display: flex; 3306 flex-direction: column; 3307 flex-shrink: 0; 3308 justify-content: center; 3309 position: relative; 3310 width: 96px; 3311 3312 ${Ye} { 3313 width: 169px; 3314 } 3315`,Rw=c` 3316 ${CK} { 3317 width: 126px; 3318 } 3319`,Fw=c` 3320 aspect-ratio: 9/16; 3321 background-color: ${r("--bg-color")}; 3322 border-radius: ${r("--editorial-gallery-card-media-border-radius")}; 3323 opacity: 1; 3324 overflow: hidden; 3325 pointer-events: none; 3326 position: relative; 3327 top: 0; 3328 user-select: none; 3329 3330 ${V} { 3331 inset: 0; 3332 position: absolute; 3333 z-index: 1; 3334 } 3335 3336 ${Ye} { 3337 transition: transform 0.25s ease-out; 3338 transform: scale(0.7); 3339 } 3340`,Qu=c` 3341 display: flex; 3342 flex-direction: column; 3343 gap: ${r("--spacing-l")}; 3344 width: 100%; 3345 3346 ${V} { 3347 gap: ${r("--spacing-m")}; 3348 } 3349 3350 ${Ye} { 3351 flex-direction: row; 3352 justify-content: space-between; 3353 } 3354`,Bw=c` 3355 align-items: flex-start; 3356 display: flex; 3357 flex-direction: column; 3358 gap: 16px; 3359 3360 ${V} { 3361 height: 115px; 3362 width: 100%; 3363 } 3364 3365 ${Ye} { 3366 height: 151px; 3367 max-height: 151px; 3368 max-width: 480px; 3369 } 3370`,$w=c` 3371 -webkit-box-orient: vertical; 3372 -webkit-line-clamp: 4; 3373 display: -webkit-box; 3374 font-family: ${r("--font-family")}; 3375 letter-spacing: normal; 3376 margin: 0px; 3377 overflow: hidden; 3378 text-overflow: ellipsis; 3379 width: 100%; 3380 3381 && { 3382 font-size: ${r("--editorial-gallery-card-title-mobile-font-size")}; 3383 font-stretch: ${r("--editorial-gallery-card-title-mobile-font-stretch")}; 3384 font-weight: ${r("--editorial-gallery-card-title-mobile-font-weight")}; 3385 line-height: ${r("--editorial-gallery-card-title-mobile-font-line-height")}; 3386 3387 ${V} { 3388 font-size: ${r("--editorial-gallery-card-title-desktop-font-size")}; 3389 font-stretch: ${r("--editorial-gallery-card-title-desktop-font-stretch")}; 3390 font-weight: ${r("--editorial-gallery-card-title-desktop-font-weight")}; 3391 line-height: ${r("--editorial-gallery-card-title-desktop-font-line-height")}; 3392 } 3393 } 3394 3395 ${V} { 3396 -webkit-line-clamp: 2; 3397 } 3398`,Lw=c` 3399 ${Ue} 3400 -webkit-box-orient: vertical; 3401 -webkit-line-clamp: 2; 3402 display: none; 3403 margin: 0px; 3404 overflow: hidden; 3405 text-overflow: ellipsis; 3406 width: 100%; 3407 3408 ${V} { 3409 display: -webkit-box; 3410 } 3411`,Hw=c` 3412 display: flex; 3413 flex-grow: 0; 3414 height: fit-content; 3415 max-width: fit-content; 3416 3417 & svg { 3418 flex-shrink: 0; 3419 height: 24px; 3420 width: 24px; 3421 } 3422`,Vw=c` 3423 ${Ye} { 3424 &:hover { 3425 &::before { 3426 background-color: ${r("--neutral-v200")}; 3427 } 3428 & .${Ea} { 3429 color: ${r("--neutral-v700")}; 3430 } 3431 } 3432 } 3433`,Ow=c` 3434 ${Ye} { 3435 &:hover { 3436 &::before { 3437 background: ${r("--palette-yellow-v100")}; 3438 } 3439 & .${Ea} { 3440 color: ${r("--neutral-v700")}; 3441 } 3442 } 3443 } 3444`,Gw=c` 3445 ${Ye} { 3446 &:hover { 3447 &::before { 3448 background: linear-gradient( 3449 90deg, 3450 rgba(255, 252, 0, 1) 25%, 3451 rgba(217, 173, 224, 1) 75%, 3452 rgba(142, 102, 209, 1) 100% 3453 ); 3454 } 3455 & .${Ea} { 3456 color: ${r("--neutral-v700")}; 3457 } 3458 } 3459 } 3460`,zw=c` 3461 ${Ye} { 3462 &:hover { 3463 &::before { 3464 background: ${r("--neutral-v700")}; 3465 } 3466 & .${Ea} { 3467 color: ${r("--neutral-v0")}; 3468 } 3469 } 3470 } 3471`,Uw=c` 3472 ${Ye} { 3473 &:hover { 3474 &::before { 3475 background: ${r("--editorial-gallery-card-hover-background-color")}; 3476 } 3477 } 3478 } 3479`,Ww=c` 3480 &::after { 3481 content: ''; 3482 position: absolute; 3483 inset: 0; 3484 z-index: 1; 3485 } 3486 3487 &:hover:not([disabled]) { 3488 transform: none; 3489 } 3490 3491 &:active:not([disabled]) { 3492 transform: none; 3493 } 3494`,qw=c` 3495 background-color: ${r("--neutral-v200")}; 3496`,xK=Nn` 3497 0% { 3498 transform: translateX(-100%); 3499 } 3500 30% { 3501 transform: translateX(-100%); 3502 } 3503 100% { 3504 transform: translateX(100%); 3505 } 3506`,Qw=c` 3507 border-radius: ${r("--border-radius-m")}; 3508 overflow: hidden; 3509 position: relative; 3510 3511 &::before { 3512 animation: ${xK}
3512 2s infinite; 3513 background: linear-gradient(0.25turn, transparent, ${r("--bg-color")}, transparent); 3514 content: ''; 3515 height: 100%; 3516 left: 0; 3517 opacity: 0.8; 3518 pointer-events: none; 3519 position: absolute; 3520 top: 0; 3521 transform: translateX(-100%); 3522 width: 100%; 3523 } 3524 3525 @media (prefers-reduced-motion: reduce) { 3526 &::before { 3527 animation: none; 3528 } 3529 } 3530`,Kw=c` 3531 display: none; 3532 flex-direction: column; 3533 justify-content: center; 3534 gap: 10px; 3535 width: 100%; 3536 padding-block-end: 4px; 3537 3538 ${V} { 3539 display: flex; 3540 height: 52px; 3541 } 3542`,jw=c` 3543 display: flex; 3544 flex-direction: column; 3545 justify-content: center; 3546 gap: 6px; 3547 height: 96px; 3548 width: 100%; 3549 padding-block: 2px; 3550 3551 ${V} { 3552 height: 52px; 3553 } 3554`,Yw=c` 3555 display: flex; 3556 flex-direction: column; 3557 gap: 16px; 3558 width: 100%; 3559 3560 ${Ye} { 3561 height: 151px; 3562 max-height: 151px; 3563 max-width: 480px; 3564 } 3565`,Xw=c` 3566 aspect-ratio: 9 / 16; 3567 border-radius: ${r("--border-radius-l")}; 3568 flex-shrink: 0; 3569 position: absolute; 3570 width: 96px; 3571 3572 ${V} { 3573 width: 126px; 3574 } 3575 3576 ${Ye} { 3577 opacity: 0; 3578 width: 169px; 3579 } 3580`,Jw=c` 3581 align-items: flex-start; 3582 display: flex; 3583 flex-direction: row; 3584 flex-shrink: 0; 3585 gap: 8px; 3586 justify-content: space-between; 3587 max-width: 100%; 3588 padding-block: 4px; 3589 text-transform: uppercase; 3590 width: 100%; 3591 3592 ${V} { 3593 flex-direction: column; 3594 max-width: 100px; 3595 } 3596`,Zw=c` 3597 height: 12px; 3598 width: 60px; 3599`,eD=c` 3600 height: 12px; 3601 width: 75px; 3602`,AS=c` 3603 height: var(--skeleton-bar-height); 3604 width: var(--skeleton-bar-width); 3605`,tD=c` 3606 border-radius: 64px; 3607 height: 45px; 3608 width: 170px; 3609 3610 ${V} { 3611 height: 50px; 3612 } 3613`,oD=c` 3614 background-color: ${r("--fg-color")}; 3615 border-block: ${r("--border-width-xs")} solid ${r("--fg-color")}; 3616 display: flex; 3617 flex-direction: column; 3618 gap: 1px; 3619 margin-top: ${r("--spacing-xxxl")}; 3620`;var TS={lens:"Lens Studio",snap:"Snap Inc.",snapchat:"Snapchat",spectacles:"Specs"},vK={lens:Gw,snap:Vw,snapchat:Ow,spectacles:zw},_S=({date:e,dateTime:t,title:o,description:n,imgSrcs:a,videoSource:s,imgAltText:l,brand:p,isRtl:d=!1,link:u,ctaLabel:y="Read More",onClick:m,buttonSize:g=ma.Regular,dataset:f,brandDataset:b,titleDataset:S,descriptionDataset:C,dateDataset:I,mediaDataset:k,className:v,...w})=>{K("sdsm-editorial-gallery-card");let _=a||s;return i("div",{className:h(Gu,p?vK[p]:Uw,v),"data-testid":"editorial-gallery-card-container",...te(f),...w,children:i("div",{className:h(Ea,zu),children:x("div",{className:Uu,children:[x("div",{className:Ew,children:[p?i("p",{className:MS,...te(b),children:TS[p]}):null,e?i("time",{dateTime:Kd(t),className:MS,...te(I),children:e}):null]}),x("div",{className:Wu,children:[_?i("div",{className:h(qu,{[Rw]:!!u}),children:i(Ke,{imgSrcs:a,altText:l,videoSource:s,isBackgroundVideo:!0,className:h(kS,Fw),dataset:k})}):null,x("div",{className:Qu,children:[o||n?x("div",{className:Bw,children:[o?i("h5",{className:$w,...te(S),children:o}):null,n?i("p",{className:Lw,...te(C),children:n}):null]}):null,u?i(Kt,{type:Lo.Secondary,iconName:d?"arrow-left":"arrow-right",className:h(Hw,Ww),link:u,onClick:m,size:g,children:y}):null]})]})]})})})};_S.displayName="EditorialGalleryCard";var IK=[{height:20,width:85},{height:20,width:60}],kK=[{height:12,width:90},{height:12,width:70}],wS=({className:e})=>{let t=h(qw,Qw);return i("div",{className:h(Gu,e),"data-testid":"skeleton-editorial-gallery-card-container","aria-hidden":"true",children:i("div",{className:h(Ea,zu),children:x("div",{className:Uu,children:[x("div",{className:Jw,children:[i("div",{className:h(t,Zw)}),i("div",{className:h(t,eD)})]}),x("div",{className:Wu,children:[i("div",{className:qu,children:i("div",{className:h(t,Xw)})}),x("div",{className:Qu,children:[x("div",{className:Yw,children:[i("div",{className:jw,children:IK.map(({height:o,width:n},a)=>i("div",{className:h(t,AS),style:{"--skeleton-bar-height":`${o}px`,"--skeleton-bar-width":`${n}%`}},`skeleton-title-${a}`))}),i("div",{className:Kw,children:kK.map(({height:o,width:n},a)=>i("div",{className:h(t,AS),style:{"--skeleton-bar-height":`${o}px`,"--skeleton-bar-width":`${n}%`}},`skeleton-desc-${a}`))})]}),i("div",{className:h(t,tD)})]})]})]})})})};wS.displayName="SkeletonEditorialGalleryCard";var DS="24px",hi=e=>c` 3621 -webkit-line-clamp: ${e}; 3622 -webkit-box-orient: vertical; 3623 display: -webkit-box; 3624 overflow: hidden; 3625 text-overflow: ellipsis; 3626`,PS=c` 3627 border: ${r("--carousel-card-border-width")} solid ${r("--carousel-card-border-color")}; 3628 cursor: grab; 3629 display: flex; 3630 flex-direction: column; 3631 height: 100%; 3632 overflow: hidden; 3633 position: relative; 3634 transition: background-color 0.2s linear, border-color 0.2s linear, box-shadow 0.2s linear; 3635 user-select: none; 3636 3637 &:hover svg { 3638 fill: ${r("--action-text-hover-color")}; 3639 } 3640 3641 :hover { 3642 border-color: ${r("--carousel-card-hover-border-color")}; 3643 } 3644
3645 :hover .sdsm-carousel-card-text { 3646 background-color: ${r("--carousel-card-hover-bg-color")}; 3647 border-color: ${r("--carousel-card-hover-border-color")}; 3648 } 3649`,nD=c` 3650 color: ${r("--carousel-card-fg-color")}; 3651 cursor: pointer; 3652 display: flex; 3653 flex-direction: column; 3654 height: 100%; 3655 text-decoration: none; 3656`,rD=c` 3657 aspect-ratio: 9 / 16; 3658 flex-shrink: 0; 3659 margin: calc(${r("--carousel-card-border-width")} * -1); 3660 overflow: hidden; 3661 /** 3662 * To help video controls extend full width 3663 * https://github.sc-corp.net/Snapchat/marketing-web/pull/2555#discussion_r5071157 3664 */ 3665 position: relative; 3666 3667 > picture { 3668 pointer-events: none; 3669 } 3670 3671 /** To allow object-fit cover for the video element */ 3672 > div { 3673 height: 100%; 3674 } 3675 3676 & img { 3677 aspect-ratio: 16 / 9; 3678 } 3679`,aD=c` 3680 aspect-ratio: 16 / 9; 3681 3682 & img { 3683 aspect-ratio: 16 / 9; 3684 } 3685`,iD=c` 3686 aspect-ratio: 3 / 2; 3687 3688 & img { 3689 aspect-ratio: 16 / 9; 3690 } 3691`,sD=c` 3692 aspect-ratio: 1 / 1; 3693 3694 & img { 3695 aspect-ratio: 16 / 9; 3696 } 3697`,lD=c` 3698 background-color: rgb(232, 232, 235); 3699 overflow: hidden; 3700 position: relative; 3701 3702 &::before { 3703 animation: card-skeleton 2s infinite; 3704 background: linear-gradient(0.5turn, rgb(232, 232, 235), #fff, rgb(232, 232, 235)); 3705 content: ''; 3706 height: 100%; 3707 inset: 0; 3708 opacity: 0.8; 3709 pointer-events: none; 3710 position: absolute; 3711 transform: translateX(-100%); 3712 } 3713 3714 @keyframes card-skeleton { 3715 0% { 3716 transform: translateY(-100%); 3717 } 3718 100% { 3719 transform: translateY(100%); 3720 } 3721 } 3722`,pD=c` 3723 align-items: center; 3724 display: flex; 3725 inset: 0; 3726 justify-content: center; 3727 position: absolute; 3728 transition: opacity 0.2s linear; 3729 3730 :hover { 3731 opacity: 0; 3732 } 3733 3734 ::before { 3735 background-color: ${r("--neutral-v700")}; 3736 content: ''; 3737 inset: 0; 3738 opacity: 0.4; 3739 position: absolute; 3740 } 3741`,cD=c` 3742 max-height: 80%; 3743 max-width: 80%; 3744 z-index: 1; 3745`,dD=c` 3746 max-width: 100%; 3747 pointer-events: none; 3748`,uD=c` 3749 height: 32px; 3750 margin-bottom: ${r("--spacing-xs")}; 3751 padding-block: ${r("--spacing-xxs")}; 3752`,yD=c` 3753 max-height: 100%; 3754 pointer-events: none; 3755`,mD=c` 3756 width: ${r("--carousel-card-portrait-desktop-width")}; 3757 3758 ${P} { 3759 /* Fallback for browsers without container query support: keep the current fixed width. */ 3760 width: ${r("--carousel-card-portrait-mobile-width")}; 3761 /* Overrides the line above only where cqw is supported. */ 3762 width: 85cqw; 3763 max-width: ${r("--carousel-card-portrait-mobile-width")}; 3764 } 3765`,gD=c` 3766 width: ${r("--carousel-card-landscape-square-desktop-width")}; 3767 3768 ${P} { 3769 /* Fallback for browsers without container query support: keep the current fixed width. */ 3770 width: ${r("--carousel-card-landscape-square-mobile-width")}; 3771 /* Overrides the line above only where cqw is supported. */ 3772 width: 85cqw; 3773 max-width: ${r("--carousel-card-landscape-square-mobile-width")}; 3774 } 3775`,fD=c` 3776 ${V} { 3777 width: 100%; 3778 } 3779`,bD=c` 3780 max-width: ${r("--carousel-card-single-view-portrait-max-width")}; 3781 width: 100%; 3782`,SD=c` 3783 max-width: ${r("--carousel-card-single-view-landscape-max-width")}; 3784 width: 100%; 3785`,hD=c` 3786 display: flex; 3787 flex: 1; 3788 flex-direction: column; 3789 position: relative; 3790 word-break: break-word; 3791`,CD=c` 3792 align-content: flex-start; 3793 background-color: ${r("--carousel-card-bg-color")}; 3794 border: ${r("--carousel-card-border-width")} solid ${r("--carousel-card-border-color")}; 3795 color: ${r("--carousel-card-fg-color")}; 3796 display: grid; 3797 flex: 1; 3798 gap: 0 ${r("--spacing-m")}; 3799 grid-template-columns: 1fr ${DS}; 3800 margin: calc(${r("--carousel-card-border-width")} * -1); 3801 padding: ${r("--carousel-card-desktop-text-padding")}; 3802 3803 ${P} { 3804 padding: ${r("--carousel-card-mobile-text-padding")}; 3805 } 3806`,xD=c` 3807 fill: ${r("--action-text-default-color")}; 3808 grid-column: 2; 3809 height: ${DS}; 3810 width: ${DS}; 3811 3812 [dir='rtl'] & { 3813 transform: rotate(180deg); 3814 } 3815`,wp=c` 3816 grid-column: span 2; 3817 margin: 0; 3818 text-align: ${r("--carousel-card-desktop-text-align")}; 3819 3820 ${P} { 3821 text-align: ${r("--carousel-card-mobile-text-align")}; 3822 } 3823 3824 svg + & { 3825 grid-column: span 1; 3826 grid-row: 1; 3827 } 3828`,vD=c` 3829 ${rs} 3830 ${hi(2)} 3831 letter-spacing: 0.5px; 3832 margin-block-end: ${r("--spacing-xxs")}; 3833`,ID=c` 3834 ${hi(4)} 3835`,kD=c` 3836 ${nr} 3837 ${hi(2)} 3838 letter-spacing: 0.25px; 3839 margin-block-end: ${r("--spacing-xs")}; 3840`,MD=c` 3841 ${hi(5)} 3842`,AD=c` 3843 ${Xt} 3844 ${hi(3)} 3845 color: ${r("--carousel-card-body-color")}; 3846 3847 a { 3848 color: ${r("--carousel-card-body-color")}; 3849 } 3850`,TD=c` 3851 ${hi(5)} 3852`,_D=c` 3853 display: block; 3854 height: 100%; 3855 object-fit: cover; 3856 object-position: center; 3857 width: 100%; 3858`,wD=c` 3859 height: 100%; 3860 object-fit: cover; 3861 object-position: center; 3862 width: 100%; 3863`,DD=c` 3864 color: ${r("--carousel-card-fg-color")}; 3865 display: flex; 3866 font-size: ${r("--annotation-mobile-font-size")};
3867 font-weight: ${r("--annotation-mobile-font-weight")}; 3868 gap: ${r("--spacing-l")}; 3869 justify-content: space-between; 3870 letter-spacing: ${r("--annotation-mobile-font-letter-spacing")}; 3871 line-height: ${r("--annotation-mobile-font-line-height")}; 3872 margin-block-end: ${r("--spacing-xs")}; 3873 text-transform: uppercase; 3874 3875 ${V} { 3876 font-size: ${r("--annotation-desktop-font-size")}; 3877 font-weight: ${r("--annotation-desktop-font-weight")}; 3878 justify-content: flex-start; 3879 letter-spacing: ${r("--annotation-desktop-font-letter-spacing")}; 3880 margin-block-end: ${r("--spacing-xs")}; 3881 line-height: ${r("--annotation-desktop-font-line-height")}; 3882 } 3883`,NS=c` 3884 ${hi(1)} 3885 max-width: 100px; 3886`,PD=c` 3887 -webkit-box-orient: vertical; 3888 -webkit-line-clamp: ${r("--carousel-card-related-content-body-line-clamp")}; 3889 display: -webkit-box; 3890 overflow: hidden; 3891 text-overflow: ellipsis; 3892`;var Gn=({aspectRatio:e,autoplay:t,body:o,captionsSource:n,imgAltText:a,imgSrcs:s,shouldLoad:l,onPlay:p,onPause:d,onTimeUpdate:u,openNewTab:y,posterSource:m,isVisible:g,showVideoControls:f,subtitle:b,title:S,url:C,videoSource:I,mobileVideoSource:k,onClick:v,isSingleView:w=!1,isResponsiveWidth:_=!1,hideLinkArrow:D,logoSrcs:M,logoAltText:A,className:N,date:$,brand:B,relatedContent:L=!1,isInsideHero:H=!1})=>{let[z,j]=(0,Ho.useState)(),[ue,ie]=(0,Ho.useState)(!1),ne=(0,Ho.useCallback)(q=>j(q),[]),J=(0,Ho.useRef)(l),{Anchor:pe}=(0,Ho.useContext)(Le),re=Ft(),Q=_&&!w&&!re,Y=!re&&M,Z=(0,Ho.useCallback)(q=>{C&&v&&v(C,q)},[C,v]);(0,Ho.useEffect)(()=>{l&&(J.current=!0)},[l]),(0,Ho.useEffect)(()=>{if(z&&z.tagName==="VIDEO"){let q=z;if(Y){if(ue){try{q.play()}catch{}q.tabIndex=0}else Vn(q)&&q.pause(),q.tabIndex=-1,f||(q.currentTime=0);return}if(!g)Vn(q)&&q.pause(),q.tabIndex=-1,f||(q.currentTime=0);else{if(!f)try{q.play()}catch{}q.tabIndex=0}}},[g,f,z,Y,ue]);let U=b&&!H,R=o&&!H,X=!!(S||U||R),W=(0,Ho.useMemo)(()=>i(Ke,{showVideoControls:f,videoSource:I,mobileVideoSource:k,posterSource:m,onPlay:p,onPause:d,captionsSource:n,isBackgroundVideo:t,onTimeUpdate:u,altText:a,imgSrcs:s,className:I?wD:_D,ref:ne,isDraggable:!1,autoplay:Y?!1:void 0}),[I,f,m,p,d,n,t,u,ne]),le=x("div",{className:h(rD,{[iD]:e==="3:2"},{[sD]:e==="1:1"},{[aD]:e==="16:9"},{[lD]:!g&&!J.current}),children:[(g||J.current)&&W,Y&&i("div",{className:pD,onMouseEnter:()=>ie(!0),onMouseLeave:()=>ie(!1),children:i(Ze,{imgSrcs:M,altText:A,className:cD,imgClassName:dD})})]}),ee=i("div",{className:hD,children:x("div",{className:h(CD,"sdsm-carousel-card-text"),children:[!!C&&!D&&i(we,{className:xD,name:"arrow-right"}),re&&M&&i(Ze,{imgSrcs:M,altText:A,className:uD,imgClassName:yD}),(B||$)&&x("div",{className:h(wp,DD),children:[B?i("span",{className:NS,children:TS[B]}):null,$?i("span",{className:NS,children:$}):null]}),S&&i("h5",{className:h(wp,vD,{[ID]:!U&&!R}),title:S,children:S}),U&&i("h6",{className:h(wp,kD,{[MD]:!S&&!R}),title:b,children:b}),R&&i("p",{className:h(wp,AD,{[PD]:L,[TD]:!S&&!U}),title:o,children:o})]})}),be={[gD]:e!=="9:16"&&!w,[SD]:e!=="9:16"&&w,[mD]:e==="9:16"&&!w,[bD]:e==="9:16"&&w,[fD]:Q};return C?x(pe,{href:C,...y?{target:"_blank",rel:"noopener"}:{},className:h(PS,nD,be,N),tabIndex:g?void 0:-1,onClick:Z,draggable:"false","data-testid":"sdsm-carousel-card",children:[le,X&&ee]}):x("div",{className:h(PS,be,N),"data-testid":"sdsm-carousel-card",children:[le,X&&ee]})};Gn.displayName="CarouselCardItem";var Ku=T(E());var ND="24px",ED=c` 3893 color: ${r("--carousel-card-fg-color")}; 3894 cursor: pointer; 3895 display: flex; 3896 flex-direction: row-reverse; 3897 justify-content: space-between; 3898 text-decoration: none; 3899 3900 ${P} { 3901 padding: ${r("--spacing-l")}; 3902 } 3903`,ES=c` 3904 background: ${r("--carousel-text-item-bg-color")}; 3905 border-radius: ${r("--carousel-text-item-border-radius")}; 3906 color: ${r("--carousel-card-fg-color")}; 3907 cursor: grab; 3908 display: flex; 3909 flex-direction: column; 3910 max-width: ${r("--carousel-text-item-desktop-max-width")}; 3911 padding: ${r("--spacing-xl")}; 3912 position: relative; 3913 user-select: none; 3914 width: 100%; 3915 3916 ${P} { 3917 max-width: ${r("--carousel-text-item-mobile-max-width")}; 3918 width: 100%; 3919 } 3920 3921 ${V} { 3922 padding: ${r("--spacing-xl")} ${r("--spacing-xxxl")}; 3923 } 3924`,RS=c` 3925 margin: 0; 3926 -webkit-line-clamp: 15; 3927 -webkit-box-orient: vertical; 3928 display: -webkit-box; 3929 overflow: hidden; 3930 text-overflow: ellipsis; 3931`,FS=c` 3932 ${Xt} 3933 -webkit-line-clamp: 4; 3934 -webkit-box-orient: vertical; 3935 color: ${r("--carousel-text-item-sub-text-color")}; 3936 display: -webkit-box; 3937 margin-block: ${r("--spacing-m")} 0; 3938 overflow: hidden; 3939 text-overflow: ellipsis; 3940 3941 a { 3942 color: ${r("--carousel-text-item-sub-text-color")}; 3943 } 3944`,RD=c` 3945 fill: ${r("--action-text-default-color")}; 3946 height: ${ND}; 3947 width: ${ND}; 3948 flex-shrink: 0; 3949 3950 [dir='rtl'] & { 3951 transform: rotate(180deg); 3952 right: auto; 3953 } 3954`;var BS=({description:e,subText:t,url:o,openNewWTab:n,onClick:a,...s})=>{let{Anchor:l}=(0,Ku.useContext)(Le),p=(0,Ku.useCallback)(d=>{o&&a&&a(o,d)},[o,a]);return o?x(l,{href:o,className:h(ES,ED),...n?{target:"_blank",rel:"noreferrer"}:{},onClick:p,draggable:"false",...s,children:[i(we,{className:RD,name:"arrow-right"}),x("div",{children:[e&&i("div",{className:RS,children:e}),t&&i("div",{className:FS,children:t})]})]}):x("div",{className:ES,...s,children:[e&&i("div",{className:RS,children:e}),t&&i("div",{className:FS,children:t})]})};
3954BS.displayName="CarouselTextItem";function MK(e,t,o){return e===e&&(o!==void 0&&(e=e<=o?e:o),t!==void 0&&(e=e>=t?e:t)),e}var FD=MK;g0();function AK(e,t,o){return o===void 0&&(o=t,t=void 0),o!==void 0&&(o=as(o),o=o===o?o:0),t!==void 0&&(t=as(t),t=t===t?t:0),FD(as(e),t,o)}var BD=AK;var TK=Math.max,_K=Math.min;function wK(e,t,o){return e>=_K(t,o)&&e<TK(t,o)}var $D=wK;g0();function DK(e,t,o){return t=hb(t),o===void 0?(o=t,t=0):o=hb(o),e=as(e),$D(e,t,o)}var $S=DK;var Ge=T(E());var ju=300,LD=c` 3955 align-items: center; 3956 display: flex; 3957 flex-direction: column; 3958 justify-content: center; 3959 padding-block-end: 20px; 3960 width: 100%; 3961 3962 ${P} { 3963 overflow-x: hidden; 3964 } 3965`,HD=c` 3966 container-type: inline-size; 3967 max-height: 100%; 3968 overflow: hidden; 3969 width: 100%; 3970 3971 ${P} { 3972 /* Tells the browser this element only consumes horizontal pan gestures so that a horizontal 3973 swipe never triggers vertical page scroll. Pinch-zoom is preserved for accessibility. */ 3974 touch-action: pan-x pinch-zoom; 3975 } 3976 3977 &.dragging { 3978 a { 3979 pointer-events: none; 3980 } 3981 } 3982`,VD=c` 3983 mask-image: linear-gradient(to left, transparent, black 10%); 3984 html[dir='rtl'] & { 3985 mask-image: linear-gradient(to right, transparent, black 10%); 3986 } 3987`,OD=c` 3988 ${V} { 3989 mask-image: none; 3990 html[dir='rtl'] & { 3991 mask-image: none; 3992 } 3993 } 3994`,GD=c` 3995 justify-content: center; 3996`,zD=c` 3997 gap: ${r("--carousel-card-mobile-grid-gap")}; 3998 3999 ${V} { 4000 gap: ${r("--carousel-card-desktop-grid-gap")}; 4001 } 4002`,UD=c` 4003 transform: translateX(-100%); 4004 4005 html[dir='rtl'] & { 4006 transform: translateX(100%); 4007 } 4008`,WD=c` 4009 display: flex; 4010 margin-block: ${r("--spacing-xl")}; 4011 transition: all ${ju}ms linear; 4012 4013 html[dir='rtl'] &, 4014 body[dir='rtl'] & { 4015 direction: rtl; 4016 } 4017`,Yu=c` 4018 display: flex; 4019 flex-direction: column; 4020 opacity: 1; 4021 4022 &.fadeOut { 4023 opacity: 0; 4024 pointer-events: none; 4025 } 4026 4027 &.animate { 4028 transition: opacity ${ju/2}ms ease; 4029 } 4030`,Xu=c` 4031 ${V} { 4032 max-width: calc(33.33% - ((2 * ${r("--carousel-card-desktop-grid-gap")}) / 3)); 4033 min-width: calc(33.33% - ((2 * ${r("--carousel-card-desktop-grid-gap")}) / 3)); 4034 width: calc(33.33% - ((2 * ${r("--carousel-card-desktop-grid-gap")}) / 3)); 4035 } 4036`,Ju=c` 4037 align-items: center; 4038 display: flex; 4039 flex-grow: 0; 4040 flex-shrink: 0; 4041 justify-content: center; 4042 width: 100%; 4043`,qD=c` 4044 align-items: center; 4045 background-color: transparent; 4046 border: 0; 4047 box-sizing: border-box; 4048 display: flex; 4049 justify-content: center; 4050 height: 20px; 4051 width: 20px; 4052`,QD=c` 4053 background-color: ${r("--carousel-inactive-dot-color")}; 4054 border-radius: ${r("--carousel-dot-border-radius")}; 4055 height: 8px; 4056 transition: background-color 200ms; 4057 width: 8px; 4058 4059 ${V} { 4060 cursor: pointer; 4061 } 4062`,KD=c` 4063 background-color: ${r("--carousel-active-dot-color")}; 4064`,jD=c` 4065 -ms-overflow-style: none; 4066 align-items: center; 4067 display: flex; 4068 flex-direction: row; 4069 height: 20px; 4070 margin-block-end: ${r("--spacing-xl")}; 4071 padding-inline-start: 0; 4072 list-style: none; 4073 margin: 0 auto; 4074 scrollbar-width: none; 4075 4076 html[dir='rtl'] & { 4077 direction: rtl; 4078 } 4079 4080 > div:first-child { 4081 margin-inline-start: 0; 4082 } 4083`,YD=c` 4084 padding-block-end: 0; 4085`,XD=c` 4086 display: flex; 4087 justify-content: center; 4088`;var LS=({currentIndex:e,length:t,onDotClick:o})=>i("nav",{className:XD,children:i("ul",{className:jD,children:Array(t).fill(void 0).map((n,a)=>i("li",{"data-index":a,children:i("button",{onClick:()=>o(a),className:qD,children:i("span",{className:h(QD,{[KD]:e===a})})})},a))})});LS.displayName="Dots";var Zu=T(E());var HS=e=>{if(!e)return null;let t=e,o=e;return t.touches?.[0]?.clientX??t.changedTouches?.[0]?.clientX??o.clientX??null},JD=e=>e.type===Ra?!0:e.type.displayName==="CarouselV3",Dp=(e,t)=>t?e:e*-1;var ZD=(e,t,o)=>{let n=Math.abs(t-e),a=o-n,s=e<t?1:-1;return(Math.abs(n)>Math.abs(a)?-a:n)*s},eP=({dragStart:e,dragMove:t,dragEnd:o})=>{let a=Yo()===at.Mobile,s=(0,Zu.useRef)(null),l=(0,Zu.useRef)(null),p=(0,Zu.useRef)(null);return{handleDragStart:g=>{let f=HS(g)??0;s.current=f,l.current=f,p.current=Date.now(),e?.(g)},handleDragMove:g=>{if(s.current===null)return;let f=HS(g);if(f==null)return;l.current=f;let b=s.current-f;t?.(b,g)},handleDragEnd:g=>{a||g?.stopPropagation();let f=s.current??0,b=s.current===null?0:HS(g)??l.current??0,S=f-b,C=p.current===null?0:Math.max(0,Date.now()-p.current);s.current=null,l.current=null,p.current=null,o?.(S,g,{durationMs:C})},resetDrag:()=>{s.current=null,l.current=null,p.current=null}}};var PK=300,NK=20,EK=.3,RK=(e,t,o)=>{if(t<=0||Number.isNaN(t))return 0;let n=Math.abs(e),a=o>0?n/o:0;return o>0&&o<=PK&&n>=NK&&a>=EK?Math.sign(e):Math.round(e/t)},Ra=({children:e,isSingleView:t=!1,isRtl:o=!1,autoPlay:n=!0,autoPlaySpeed:a=3e3,enableOverflowDecoration:s=!1,isResponsiveWidth:l=!1,onSlideChange:p})=>{K("sdsm-carousel");let d=(0,Ge.useRef)(null),[u,y]=(0,Ge.useState)(null),m=(0,Ge.useCallback)(q=>{y(q)},[]),g=(0,Ge.useRef)([]),f=(0,Ge.useRef)(),b=(0,Ge.useRef)(!1),[S,C]=(0,Ge.useState)(!1),I=iu(d),[k,v]=(0,Ge.useState)(0),{isFocused:w}=uA(I),[_,D]=(0,Ge.useState)({width:0,gap:0}),M=Ge.Children.toArray(e),A=M.length,{width:N}=mn(),$=Ft(),B=l&&!t&&!$,L=(0,Ge.useMemo)(()=>{let q=u?.clientWidth;if(!q)return 0;let ce=_.width+_.gap;return ce?t?1:Math.ceil(q/ce):0},[N,u,t,_.gap,_.width]),H=(0,Ge.useMemo)(()=>B?A>L:A>=L,[A,L,B]),z=(0,Ge.useMemo)(()=>
4088{if(!H)return 0;let q=Math.min(L*2-1,A);return t?1:Math.max(0,q)},[H,t,L,A]);(0,Ge.useEffect)(()=>{if(!u)return;let ce=u?.firstChild?.clientWidth,me=window.getComputedStyle(u).getPropertyValue("gap"),Ie=Number.parseInt(me),he=Number.isNaN(Ie)?0:Ie;D({width:ce,gap:he})},[N,u,e,t,A]),(0,Ge.useEffect)(()=>{!t||!u?.children?.length||(g.current?.forEach(q=>clearTimeout(q)),g.current=Array.from(u.children).map((q,ce)=>{let _e=ce===z+k;return setTimeout(()=>{q.classList.toggle("fadeOut",!_e)},_e?ju/2:0)}))},[u?.children,k,t,z]);let j=(0,Ge.useMemo)(()=>(k+z)*(_.width+_.gap),[k,_,z]),ue=(0,Ge.useMemo)(()=>{if(!H)return!1;let q=u?.clientWidth??0,ce=_.width+_.gap;return(q+_.gap)%ce>_.gap},[u?.clientWidth,_.width,_.gap,H]),ie=(0,Ge.useCallback)(q=>{b.current=!0,v(ce=>ce+(o?-q:q))},[o,v]);(0,Ge.useEffect)(()=>(H&&!f.current&&n&&!S&&I&&w&&(f.current=setInterval(()=>{ie(1)},a)),()=>{clearInterval(f.current),f.current=void 0}),[f,S,I,w,ie,n,a,H]);let ne=(0,Ge.useCallback)(q=>{if(I){if(q.keyCode===37){ie(-1),p?.((k-1+A)%A,"keyboard");return}q.keyCode===39&&(ie(1),p?.((k+1)%A,"keyboard"))}},[I,ie,p,k,A]),J=(0,Ge.useCallback)(q=>{if(q===k||N&&N<=Io)return;b.current=!0;let ce=ZD(k,q,A),_e=k+ce;v(_e),p?.(q,"dot")},[A,k,N,p]),pe=eP({dragStart:()=>{},dragMove:(q,ce)=>{ce?.preventDefault(),d.current?.classList.add("dragging");let _e=j+Dp(q,!o);u.style.transform=`translateX(${Dp(_e,o)}px)`},dragEnd:(q,ce,_e)=>{d.current?.classList.remove("dragging");let me=t?_.width/2:_.width,Ie=RK(q,me,_e?.durationMs??0);if(b.current=!0,Ie===0||Number.isNaN(Ie)){u.style.transform=`translateX(${Dp(j,o)}px)`;return}let he=BD(Ie,-z,z);ie(he),p?.((k+he+A)%A,"drag")}}),re=(0,Ge.useCallback)(()=>C(!0),[C]),Q=(0,Ge.useCallback)(()=>{pe.handleDragEnd(),C(!1)},[pe,C]),Y=(0,Ge.useCallback)(()=>{pe.handleDragEnd()},[pe]),Z=(0,Ge.useCallback)(()=>{let q=(k+A)%A;q!==k&&(b.current=!1,v(q))},[k,A]),U=q=>{u===q.target&&(pe.resetDrag(),Z())},R=H&&!m0()?{transform:`translateX(${Dp(j,o)}px)`,transition:b.current?void 0:"none"}:void 0,X=H&&!!A,W=z>0?M.slice(-z):[],le=M.slice(0,z),ee=q=>$S(q,k,k+L),be=q=>$S(q,k-2,k+L+2);return x("div",{"data-testid":"sdsm-carousel",className:h(LD,"sdsm-carousel",{"sdsm-carousel-single-view":t,"sdsm-carousel-multi-view":!t,"sdsm-carousel-overflow":ue&&!t,[YD]:X}),onMouseEnter:H?re:void 0,onMouseLeave:H?Q:void 0,onMouseUp:H?Y:void 0,onKeyUp:H?ne:void 0,tabIndex:-1,children:[i("div",{className:h(HD,{[VD]:s&&ue&&!t,[OD]:B}),onTouchStart:H?pe.handleDragStart:void 0,onMouseDown:H?pe.handleDragStart:void 0,onTouchMove:H?pe.handleDragMove:void 0,onMouseMove:H?pe.handleDragMove:void 0,onTouchEnd:H?pe.handleDragEnd:void 0,onMouseUp:H?pe.handleDragEnd:void 0,ref:d,tabIndex:-1,children:x("div",{className:h(WD,{[GD]:!H,[UD]:t,[zD]:!t}),style:R,onTransitionEnd:U,ref:m,tabIndex:-1,children:[W.map((q,ce)=>i("div",{className:h(Yu,{[Ju]:t,[Xu]:B,fadeOut:t,animate:b.current}),"aria-hidden":!0,children:(0,Ge.cloneElement)(q,{shouldLoad:be(ce-W.length),isVisible:ee(ce-W.length),isSingleView:t})},`initial-duplicated-${q.key||ce}`)),M.map((q,ce)=>i("div",{className:h(Yu,{[Ju]:t,[Xu]:B,fadeOut:t&&ce!==k,animate:b.current}),children:(0,Ge.cloneElement)(q,{shouldLoad:be(ce),isVisible:ee(ce),isSingleView:t})},`carousel-item-${q.key||ce}`)),le.map((q,ce)=>i("div",{className:h(Yu,{[Ju]:t,[Xu]:B,fadeOut:t,animate:b.current}),"aria-hidden":!0,children:(0,Ge.cloneElement)(q,{shouldLoad:be(ce+M.length),isVisible:ee(ce+M.length),isSingleView:t})},`final-duplicated-${q.key||ce}`))]})}),X&&i(LS,{currentIndex:k,length:A,onDotClick:J})]})};var tP=c` 4089 display: block; 4090 font-size: 15px; 4091 font-weight: 700; 4092 line-height: ${32}px; 4093`;var oP=({title:e})=>i("span",{className:tP,children:e});var Ns=T(E());var nP=c` 4094 ${P} { 4095 display: none; 4096 } 4097`,rP=c` 4098 ${V} { 4099 display: none; 4100 } 4101`;var VS="--list-icon-url",aP=c` 4102 scroll-margin-top: var(--total-header-height); 4103`,iP=c` 4104 background-color: ${r("--bg-color")}; 4105 background-image: ${r("--bg-image")}; 4106 color: ${r("--fg-color")}; 4107 display: grid; 4108 /* we do only 1 column here because these are the default styles when there is only either Media or Text */ 4109 grid-template-columns: 1fr; 4110 grid-template-rows: auto; 4111 width: 100%; 4112 gap: ${r("--spacing-xl")}; 4113 border-color: ${r("--content-border-color")}; 4114 border-width: ${r("--content-border-width")}; 4115 border-style: solid; 4116 backdrop-filter: ${r("--content-backdrop-filter")}; 4117 box-shadow: ${r("--content-box-shadow")}; 4118 4119 ${P} { 4120 grid-template-columns: 1fr; 4121 grid-template-rows: auto; 4122 } 4123 4124 /* 4125 We are keeping the media queries above in addition to the container queries below in case: 4126 - this component is ever rendered without a wrapping SDS-M Page component 4127 - the browser does not support container queries (smart TVs, etc.) 4128 */ 4129 ${co} { 4130 grid-template-columns: 1fr; 4131 grid-template-rows: auto; 4132 } 4133`,sP=c` 4134 background-color: transparent; 4135 backdrop-filter: ${r("--content-backdrop-filter")}; 4136`,lP={Normal:c` 4137 align-items: center; 4138 justify-items: stretch; 4139 justify-content: center; 4140 `,Dense:c` 4141 align-items: start; 4142 justify-items: stretch; 4143 `},pP={Normal:{Left:c` 4144 grid-template-columns: auto minmax(auto, 600px); 4145 `,Right:c` 4146 grid-template-columns: minmax(auto, 600px) auto; 4147 `,Top:c` 4148 gap: ${r("--content-desktop-grid-gap")}; 4149 grid-template-rows: auto 1fr; 4150 align-items: start; 4151 `,Bottom:c` 4152 gap: ${r("--content-desktop-grid-gap")}; 4153 grid-template-rows: 1fr auto; 4154 align-items: start; 4155 `},Dense:{Left:c` 4156 grid-template-columns: auto minmax(auto, 1fr); 4157 `,Right:c` 4158 grid-template-columns: minmax(auto, 1fr) auto; 4159 `,Top:"",Bottom:""}},cP={Normal:{Top:c` 4160 ${P} { 4161 gap: ${r("--content-mobile-grid-gap")}; 4162 grid-template-rows: auto 1fr; 4163 align-items: start; 4164 } 4165 `,Bottom:c` 4166 ${P} { 4167 gap: ${r("--content-mobile-grid-gap")}; 4168 grid-template-rows: 1fr auto; 4169 align-items: start; 4170 } 4171 `},Dense:{Top:"",Bottom:""}},dP=c` 4172 align-items: center; 4173 display: flex; 4174 justify-content: center; 4175`,uP={Right:c` 4176 order: 1; 4177 `,Bottom:c` 4178 order: 1; 4179 `},yP={Top:c` 4180 ${P} { 4181 order: 0; 4182 } 4183 `,Bottom:c` 4184 ${P} { 4185 order: 1; 4186 } 4187 `}
4187,mP={Normal:c` 4188 border-radius: ${r("--content-border-radius")}; 4189 padding: ${r("--spacing-xl")}; 4190 ${P} { 4191 padding-left: ${r("--spacing-m")}; 4192 padding-right: ${r("--spacing-m")}; 4193 } 4194 `,Dense:c` 4195 border-radius: ${r("--content-border-radius")}; 4196 padding: ${r("--spacing-l")}; 4197 ${P} { 4198 padding-left: ${r("--spacing-m")}; 4199 padding-right: ${r("--spacing-m")}; 4200 } 4201 `},gP={Normal:c` 4202 border-radius: ${r("--content-border-radius")}; 4203 padding: ${r("--content-desktop-no-bg-padding")}; 4204 ${P} { 4205 padding: ${r("--content-mobile-no-bg-padding")}; 4206 } 4207 `,Dense:c` 4208 border-radius: ${r("--content-border-radius")}; 4209 `},fP=c` 4210 /* This is needed to make the PrimitiveTable component not overflow. */ 4211 max-width: 100%; 4212 /* https://weblog.west-wind.com/posts/2016/feb/15/flexbox-containers-pre-tags-and-managing-overflow */ 4213 /* This is needed to make the Code component not overflow. The above blog post kind of explains it-ish... */ 4214 min-width: 0; 4215 4216 display: flex; 4217 flex-direction: column; 4218 gap: var(--spacing-m); 4219 height: 100%; 4220`,bP=c` 4221 ${V} { 4222 justify-self: stretch; 4223 } 4224`,SP=c` 4225 height: unset; 4226`,hP=c` 4227 & ul:not(:has(ul)) { 4228 list-style: none; 4229 /* Remove padding-left from primitive styles */ 4230 padding-inline-start: 0; 4231 4232 & li { 4233 position: relative; 4234 /* 4235 This is the size of the icon 4236 https://www.figma.com/design/MuetHWEuhUF7rJap6giyq5/%5BEXT%5D-SDS-M-Refresh-2024?node-id=465-20259&t=NPQoIP8Xk8WG9Sus-11 4237 */ 4238 padding-inline-start: 24px; 4239 4240 &::before { 4241 background-image: var(${VS}); 4242 background-repeat: no-repeat; 4243 background-size: cover; 4244 content: ''; 4245 height: 18px; 4246 inset-block-start: 4px; 4247 inset-inline-start: 3px; 4248 position: absolute; 4249 width: 18px; 4250 } 4251 } 4252 } 4253 4254 /** Only top level of list items will have the bullet replaced by icon */ 4255 & ul ul { 4256 list-style: initial; 4257 4258 & li { 4259 padding-inline-start: initial; 4260 4261 &::before { 4262 content: none; 4263 } 4264 } 4265 } 4266`,CP=c` 4267 display: flex; 4268 flex-direction: column; 4269 flex-grow: 1; 4270 gap: ${r("--spacing-m")}; 4271 justify-content: space-between; 4272`,xP=c` 4273 ${Ue} 4274 4275 display: flex; 4276 flex-direction: column; 4277 4278 .${"sdsm-button"} { 4279 margin-top: ${r("--spacing-s")}; 4280 } 4281 4282 /** 4283 * Nested Hyperlink in content body text inherit font size, line height, 4284 * font weight, and font stretch to ensure consistent typography. 4285 * */ 4286 & p .${"sdsm-hyperlink"} { 4287 font-size: inherit; 4288 line-height: inherit; 4289 } 4290 4291 & ul { 4292 margin-block-end: ${r("--spacing-s")}; 4293 4294 /** Add margin bottom only to the top level list */ 4295 & ul { 4296 margin-block-end: 0; 4297 } 4298 } 4299`,vP=c` 4300 display: flex; 4301 flex-direction: column; 4302 gap: ${r("--spacing-xs")}; 4303`,IP=c` 4304 /** 4305 * The title is rendered as an <h3> so that there's a hierarchy of Hero Title (H1), 4306 * Block Title (H2) and Content Title (H3). However, visually we want it to look like 4307 * like an H4 because users put in very long content titles. 4308 * So we force an H4 look over an H3 element. 4309 * Note the double specificity to override default h3 styles. 4310 * See https://jira.sc-corp.net/browse/WEBP-9117 4311 */ 4312 && { 4313 ${Md} 4314 } 4315 color: ${r("--content-title-color")}; 4316`,kP=c` 4317 -webkit-box-orient: vertical; 4318 -webkit-line-clamp: 5; 4319 color: ${r("--content-subtitle-color")}; 4320 display: -webkit-box; 4321 overflow: hidden; 4322 text-overflow: ellipsis; 4323`,gr={[ae.Left]:c` 4324 align-items: stretch; 4325 justify-content: flex-start; 4326 text-align: start; 4327 `,[ae.Start]:c` 4328 align-items: stretch; 4329 justify-content: flex-start; 4330 text-align: start; 4331 `,[ae.Center]:c` 4332 align-items: center; 4333 justify-content: center; 4334 text-align: center; 4335 `,[ae.End]:c` 4336 align-items: stretch; 4337 justify-content: flex-end; 4338 text-align: end; 4339 `,[ae.Right]:c` 4340 align-items: stretch; 4341 justify-content: flex-end; 4342 text-align: end; 4343 `},OS=c` 4344 width: 100%; 4345`,GS={[ae.Left]:c` 4346 ${V} { 4347 ${gr[ae.Left]} 4348 } 4349 `,[ae.Start]:c` 4350 ${V} { 4351 ${gr[ae.Start]} 4352 } 4353 `,[ae.Center]:c` 4354 ${V} { 4355 ${gr[ae.Center]} 4356 } 4357 `,[ae.End]:c` 4358 ${V} { 4359 ${gr[ae.End]} 4360 } 4361 `,[ae.Right]:c` 4362 ${V} { 4363 ${gr[ae.Right]} 4364 } 4365 `},zS={[ae.Left]:c` 4366 ${P} { 4367 ${gr[ae.Left]} 4368 } 4369 `,[ae.Start]:c` 4370 ${P} { 4371 ${gr[ae.Start]} 4372 } 4373 `,[ae.Center]:c` 4374 ${P} { 4375 ${gr[ae.Center]} 4376 } 4377 `,[ae.End]:c` 4378 ${P} { 4379 ${gr[ae.End]} 4380 } 4381 `,[ae.Right]:c` 4382 ${P} { 4383 ${gr[ae.Right]} 4384 } 4385 `},MP=c` 4386 margin-bottom: ${r("--spacing-m")}; 4387 margin-top: auto; 4388`,AP=c` 4389 display: flex; 4390 align-items: center; 4391 flex-wrap: wrap; 4392 gap: ${r("--spacing-m")}; 4393`,TP=c` 4394 display: none; 4395`,US="--border-color",_P=c` 4396 border-color: var(${US}); 4397 border-width: ${r("--content-decoration-border-width")}; 4398`;var Es=({className:e,body:t,bodyAlignment:o,bodyAlignmentMobile:n,callsToAction:a,displayOn:s="All",layout:l="Normal",mediaDirection:p="Top",mediaDirectionMobile:d="Top",subtitle:u,title:y,titleAlignment:m,titleAlignmentMobile:g,motifScheme:f,backgroundColor:b,borderColor:S,anchorId:C,animation:I,isRTL:k,bodyDataset:v,titleDataset:w,subtitleDataset:_,asset:D,style:M,listIconUrl:A})=>{K("sdsm-content");let N=(0,Ns.useRef)(null),$=Cu(N,I),B=k?"rtl":void 0,L=(0,Ns.useContext)(Qd),H=f??b,z=S?void 0:H,j=S?void 0:H||L,ue=L===void 0!=(j===void 0)?!1:En(L)===En(j),ie=!!(y||u),ne=!!(a&&!Array.isArray(a)||Array.isArray(a)&&a.length),J=t||ne,pe=!!(y||u||J),re=!!D&&pe,Q=z?Ne(j):void 0,Y=(0,Ns.useMemo)(()=>
4398{if(!S)return M;let R=En(S),X=np(R,"--bg-color"),W=X?{[US]:X}:void 0;return{...M,...W}},[M,S]),Z=!S&&ue?gP[l]:mP[l],U=h("sdsm-content",Q,iP,Z,{[nP]:s==="DesktopOnly",[rP]:s==="MobileOnly",[TP]:s==="Neither",[lP[l]||""]:re,[pP[l]?.[p]]:re,[cP[l]?.[d]]:re,[sP]:!z||ue,[_P]:!!S},e);return x("section",{id:C,style:$?{...Y,...$}:Y,"data-testid":"sdsm-content",className:h(U,aP),ref:N,dir:B,children:[!!D&&i("div",{"data-testid":"sdsm-content-media-container",className:h(dP,uP[p],yP[d]),children:i("div",{"data-testid":"sdsm-content-media","data-animation-id":"content-media",children:D})}),pe&&x("div",{"data-testid":"sdsm-content-header-and-body",className:h(fP,{[bP]:p==="Top"||p==="Bottom",[SP]:p==="Left"||p==="Right"}),children:[ie&&i(FK,{title:y,titleAlignment:m,titleAlignmentMobile:g,titleDataset:w,subtitle:u,subtitleDataset:_}),J&&i(BK,{body:t,bodyAlignment:o,bodyAlignmentMobile:n,bodyDataset:v,callsToAction:a,listIconUrl:A,hasCallsToAction:ne})]})]})},FK=({title:e,titleDataset:t,subtitle:o,subtitleDataset:n,titleAlignment:a=ae.Start,titleAlignmentMobile:s=ae.Start})=>{let l=h(OS,GS[a],zS[s]);return x("div",{"data-testid":"sdsm-content-header",className:h(vP,l),children:[e&&i("h3",{className:h(IP,l,"sdsm-content-title"),"data-testid":"sdsm-content-title","data-animation-id":"content-title",...te(t),children:e}),o&&i("div",{className:h(uo,kP,"sdsm-content-subtitle"),"data-testid":"sdsm-content-subtitle","data-animation-id":"content-subtitle",...te(n),children:o})]})},BK=({body:e,bodyDataset:t,callsToAction:o,listIconUrl:n,hasCallsToAction:a,bodyAlignment:s=ae.Start,bodyAlignmentMobile:l=ae.Start})=>{let p=h(OS,GS[s],zS[l]),d=n?{[VS]:`url("${n}")`}:void 0;return x("div",{"data-testid":"sdsm-content-body",style:d,className:h("sdsm-content-body",CP),children:[e&&i("div",{className:h(xP,p,{[hP]:!!n}),"data-testid":"sdsm-content-body-content","data-animation-id":"content-body",...te(t),children:e}),a&&i("div",{"data-testid":"sdsm-content-cta",className:h(MP,"sdsm-content-cta"),children:i("div",{className:h(AP,p),"data-animation-id":"content-cta",children:o})})]})};var PP=T(E());var wP=c` 4399 background-color: ${r("--definition-bg-color")}; 4400 border-radius: ${r("--definition-border-radius")}; 4401 border-bottom: 2px solid ${r("--definition-border-color")}; 4402 cursor: pointer; 4403 margin: 0; 4404 padding: 0px 4px 2px 4px; 4405 /* Ensure element is scrolled to the center of the screen when scrolled into view here: 4406 * packages/web/src/Routes.tsx 4407 */ 4408 scroll-margin-top: 50vh; 4409 transition: background-color 150ms ease-in-out, border-color 150ms ease-in-out; 4410 4411 &:hover { 4412 background-color: ${r("--definition-hover-bg-color")}; 4413 border-bottom: 2px solid ${r("--definition-hover-border-color")}; 4414 } 4415`,DP=c` 4416 background-color: ${r("--definition-active-bg-color")}; 4417 border-bottom: 2px solid ${r("--definition-hover-border-color")}; 4418 4419 &:hover { 4420 background-color: ${r("--definition-active-bg-color")}; 4421 border-bottom: 2px solid ${r("--definition-hover-border-color")}; 4422 } 4423`;var NP=(0,PP.forwardRef)(({anchorId:e,isActive:t,onClick:o,className:n,children:a},s)=>(K("sdsm-definition"),i("span",{role:"button",tabIndex:0,id:e,ref:s,onClick:o,onKeyDown:p=>{["Enter"," "].includes(p.key)&&(p.preventDefault(),o?.())},className:h("sdsm-definition",wP,{[DP]:t},n),children:a})));var GP=T(ua());var Pp=c` 4424 opacity: 1; 4425 pointer-events: auto; 4426 visibility: visible; 4427`,HP=c` 4428 box-sizing: border-box; 4429 opacity: 0; 4430 pointer-events: none; 4431 position: fixed; 4432 transition: transform 750ms cubic-bezier(0.8, 0, 0.2, 1), 4433 opacity 750ms cubic-bezier(0.8, 0, 0.2, 1), visibility 750ms cubic-bezier(0.8, 0, 0.2, 1); 4434 visibility: hidden; 4435 z-index: ${De.DIRECTIONAL_OVERLAY_PANEL}; 4436 4437 @media (prefers-reduced-motion: reduce) { 4438 transition: none; 4439 } 4440`,$K=c` 4441 ${V} { 4442 height: 100vh; 4443 left: 0; 4444 right: auto; 4445 top: 0; 4446 transform: translateX(calc(-100% - var(--directional-overlay-lateral-outset, 0px))); 4447 transform-origin: 0 50%; 4448 width: min(100vw, calc(var(--directional-overlay-desktop-size-pct) * 1vw)); 4449 } 4450`,LK=c` 4451 ${V} { 4452 height: 100vh; 4453 left: auto; 4454 right: 0; 4455 top: 0; 4456 transform: translateX(calc(100% + var(--directional-overlay-lateral-outset, 0px))); 4457 transform-origin: 100% 50%; 4458 width: min(100vw, calc(var(--directional-overlay-desktop-size-pct) * 1vw)); 4459 } 4460`,HK=c` 4461 ${V} { 4462 bottom: auto; 4463 height: min(100vh, calc(var(--directional-overlay-desktop-size-pct) * 1vh)); 4464 left: 0; 4465 overflow: auto; 4466 right: 0; 4467 top: 0; 4468 transform: translateY(calc(-100% - var(--directional-overlay-vertical-outset, 0px))); 4469 transform-origin: 50% 0; 4470 width: 100%; 4471 } 4472`,VK=c` 4473 ${V} { 4474 bottom: 0; 4475 height: min(100vh, calc(var(--directional-overlay-desktop-size-pct) * 1vh)); 4476 left: 0; 4477 overflow: auto; 4478 right: 0; 4479 top: auto; 4480 transform: translateY(calc(100% + var(--directional-overlay-vertical-outset, 0px))); 4481 transform-origin: 50% 100%; 4482 width: 100%; 4483 } 4484`,EP=c` 4485 ${V} { 4486 transform: translateX(0); 4487 } 4488`,RP=c` 4489 ${V} { 4490 transform: translateY(0); 4491 } 4492`,OK=c` 4493 ${P} { 4494 height: 100vh; 4495 left: 0; 4496 right: auto; 4497 top: 0; 4498 transform: translateX(calc(-100% - var(--directional-overlay-lateral-outset, 0px))); 4499 transform-origin: 0 50%; 4500 width: min(100vw, calc(var(--directional-overlay-mobile-size-pct) * 1vw)); 4501 } 4502`,GK=c` 4503 ${P} { 4504 height: 100vh; 4505 left: auto; 4506 right: 0; 4507 top: 0; 4508 transform: translateX(calc(100% + var(--directional-overlay-lateral-outset, 0px))); 4509 transform-origin: 100% 50%; 4510 width: min(100vw, calc(var(--directional-overlay-mobile-size-pct) * 1vw)); 4511 } 4512`,zK=c` 4513 ${P} { 4514 bottom: auto; 4515 height: min(100vh, calc(var(--directional-overlay-mobile-size-pct) * 1vh)); 4516 left: 0; 4517 overflow: auto; 4518 right: 0; 4519 top: 0; 4520 transform: translateY(calc(-100% - var(--directional-overlay-vertical-outset, 0px))); 4521 transform-origin: 50% 0; 4522 width: 100%; 4523 } 4524`,UK=c` 4525 ${P} { 4526 bottom: 0; 4527 height: min(100vh, calc(var(--directional-overlay-mobile-size-pct) * 1vh)); 4528 left: 0; 4529 overflow: auto; 4530 right: 0; 4531 top: auto; 4532 transform: translateY(calc(100% + var(--directional-overlay-vertical-outset, 0px))); 4533 transform-origin: 50% 100%; 4534 width: 100%; 4535 } 4536`,FP=c` 4537 ${P} { 4538 transform: translateX(0); 4539 } 4540`,BP=c` 4541 ${P} { 4542 transform: translateY(0); 4543 } 4544`,WK=c` 4545 ${Ot} { 4546 height: 100vh; 4547 left: 0; 4548 right: auto; 4549 top: 0; 4550 transform: translateX(calc(-100% - var(--directional-overlay-lateral-outset, 0px))); 4551 transform-origin: 0 50%; 4552 width: min(100vw, calc(var(--directional-overlay-small-mobile-size-pct) * 1vw)); 4553 } 4554`,qK=c` 4555 ${Ot} { 4556 height: 100vh; 4557 left: auto; 4558 right: 0; 4559 top: 0; 4560 transform: translateX(calc(100% + var(--directional-overlay-lateral-outset, 0px))); 4561 transform-origin: 100% 50%; 4562 width: min(100vw, calc(var(--directional-overlay-small-mobile-size-pct) * 1vw)); 4563 } 4564`,QK=c` 4565 ${Ot} { 4566 bottom: auto; 4567 height: min(100vh, calc(var(--directional-overlay-small-mobile-size-pct) * 1vh)); 4568 left: 0; 4569 overflow: auto; 4570 right: 0; 4571 top: 0; 4572 transform: translateY(calc(-100% - var(--directional-overlay-vertical-outset, 0px))); 4573 transform-origin: 50% 0; 4574 width: 100%; 4575 } 4576`,KK=c` 4577 ${Ot} { 4578 bottom: 0; 4579 height: min(100vh, calc(var(--directional-overlay-small-mobile-size-pct) * 1vh)); 4580 left: 0; 4581 overflow: auto; 4582 right: 0; 4583 top: auto; 4584 transform: translateY(calc(100% + var(--directional-overlay-vertical-outset, 0px))); 4585 transform-origin: 50% 100%; 4586 width: 100%; 4587 } 4588`,$P=c` 4589 ${Ot} { 4590 transform: translateX(0); 4591 } 4592`,LP=c` 4593 ${Ot} { 4594 transform: translateY(0); 4595 } 4596`,VP=c` 4597 background-color: ${r("--palette-plain-black")}; 4598 height: 100vh; 4599 left: 0; 4600 opacity: 0; 4601 pointer-events: none; 4602 position: fixed; 4603 top: 0; 4604 transition: opacity 200ms ease-in-out, visibility 200ms ease-in-out, 4605 backdrop-filter 200ms ease-in-out; 4606 visibility: hidden; 4607 width: 100vw; 4608 z-index: ${De.DIRECTIONAL_OVERLAY_BACKDROP}; 4609 4610 @media (prefers-reduced-motion: reduce) { 4611 transition: none; 4612 } 4613`,OP=c` 4614 opacity: 0.3; 4615 pointer-events: auto; 4616 visibility: visible;
4617`,ey={left:{desktop:$K,desktopOpen:EP,mobile:OK,mobileOpen:FP,smallMobile:WK,smallMobileOpen:$P},right:{desktop:LK,desktopOpen:EP,mobile:GK,mobileOpen:FP,smallMobile:qK,smallMobileOpen:$P},top:{desktop:HK,desktopOpen:RP,mobile:zK,mobileOpen:BP,smallMobile:QK,smallMobileOpen:LP},bottom:{desktop:VK,desktopOpen:RP,mobile:UK,mobileOpen:BP,smallMobile:KK,smallMobileOpen:LP}};var WS=({isOpen:e,children:t,desktopDirection:o,mobileDirection:n,smallMobileDirection:a,desktopSizePercent:s,mobileSizePercent:l=s,smallMobileSizePercent:p,onBackdropClick:d,showBackdrop:u=!0,backdropRef:y,portalRoot:m,backdropClassName:g,backdropOpenClassName:f,className:b,style:S,dataset:C,"data-testid":I,role:k,"aria-modal":v,"aria-label":w,"aria-labelledby":_,"aria-describedby":D})=>{let M=n??o,A=l??s,$={...S,"--directional-overlay-desktop-size-pct":s,"--directional-overlay-mobile-size-pct":A,"--directional-overlay-small-mobile-size-pct":p??A},B=ne=>{(ne.key==="Enter"||ne.key===" ")&&(ne.preventDefault(),d?.(ne))},L=ey[o],H=ey[M],z=a?ey[a]:void 0,j=h(VP,e&&OP,g,e&&f),ue=h(HP,L.desktop,H.mobile,z?.smallMobile,e&&Pp,e&&L.desktopOpen,e&&H.mobileOpen,e&&z?.smallMobileOpen,b),ie=x(se,{children:[u&&i("div",{className:j,onClick:d,onKeyDown:B,ref:y,role:"presentation"}),i("aside",{...te(C),"aria-describedby":D,"aria-label":w,"aria-labelledby":_,"aria-modal":v,className:ue,"data-testid":I,role:k,style:$,children:t})]});return m?(0,GP.createPortal)(ie,m):ie};WS.displayName="DirectionalOverlay";var qS="toggleButtonsWrapper",QS="dropdownWrapper",KS="skeletonWrapper",zP=c` 4618 width: 100%; 4619`,jK=c` 4620 display: flex; 4621 justify-content: center; 4622 padding-top: ${r("--spacing-xxxs")}; 4623 flex-wrap: wrap; 4624 4625 ${P} { 4626 justify-content: start; 4627 overflow-x: auto; 4628 flex-wrap: nowrap; 4629 ${tA} 4630 } 4631 4632 *[dir='rtl'] & { 4633 flex-direction: row-reverse; 4634 } 4635`,YK=c` 4636 margin-inline: 0; 4637 4638 ${P} { 4639 &::before, 4640 &::after { 4641 content: ''; 4642 flex: 0 0 ${r("--spacing-xl")}; 4643 } 4644 margin-inline: calc(${r("--spacing-xl")} * -1); 4645 } 4646`,UP=c` 4647 ${jK} 4648 ${YK} 4649`,WP=c` 4650 display: flex; 4651 flex-wrap: wrap; 4652 justify-content: center; 4653 width: 100%; 4654 4655 & > div { 4656 margin: auto; 4657 4658 & > div:not(:last-of-type):not(.${qS}) { 4659 margin-bottom: calc(${r("--spacing-xxl")} * 2); 4660 } 4661 } 4662`,jS="toggleButton-active",XK=c` 4663 border-radius: 64px; 4664 cursor: pointer; 4665 font-weight: ${r("--action-desktop-font-weight")}; 4666 line-height: ${r("--action-desktop-font-line-height")}; 4667 text-decoration: none; 4668 transition: transform 150ms ease-in-out; 4669 white-space: nowrap; 4670 z-index: ${De.BUTTON}; 4671 4672 @media (hover: hover) { 4673 &:hover:not(:disabled) { 4674 box-shadow: ${r("--box-shadow-xl")}; 4675 transform: translateY(-2px); 4676 } 4677 } 4678 4679 &:active:not(:disabled) { 4680 box-shadow: ${r("--box-shadow-m")}; 4681 transform: translateY(-1px); 4682 } 4683 4684 ${P} { 4685 font-weight: ${r("--action-mobile-font-weight")}; 4686 line-height: ${r("--action-mobile-font-line-height")}; 4687 } 4688`,JK=c` 4689 margin-inline: ${r("--spacing-xs")}; 4690 margin-bottom: ${r("--spacing-xl")}; 4691 font-size: ${r("--action-desktop-font-size")}; 4692 padding: ${r("--spacing-s")} ${r("--spacing-xl")}; 4693 border: ${r("--border-width-xs")} solid ${r("--chart-toggle-buttons-border-color")}; 4694 background-color: ${r("--chart-toggle-buttons-bg-color")}; 4695 color: ${r("--chart-toggle-buttons-color")}; 4696 4697 ${P} { 4698 font-size: ${r("--action-mobile-font-size")}; 4699 } 4700 4701 &.${jS} { 4702 border: ${r("--border-width-xs")} solid ${r("--chart-toggle-buttons-active-border-color")}; 4703 background-color: ${r("--chart-toggle-buttons-active-bg-color")}; 4704 color: ${r("--chart-toggle-buttons-active-color")}; 4705 } 4706`,qP=c` 4707 ${XK} 4708 ${JK} 4709`,QP=c` 4710 display: flex; 4711 flex-wrap: wrap; 4712 justify-content: center; 4713 position: relative; 4714 width: 100%; 4715 4716 & > * { 4717 box-sizing: border-box; 4718 margin-left: ${r("--spacing-m")}; 4719 margin-right: ${r("--spacing-m")}; 4720 4721 ${P} { 4722 margin-left: 0; 4723 margin-right: 0; 4724 width: 100%; 4725 } 4726 4727 width: 100%; 4728 } 4729`,KP=c` 4730 align-items: flex-start; 4731 column-gap: ${r("--spacing-m")}; 4732 display: flex; 4733 min-height: 70vh; 4734 row-gap: ${r("--spacing-xl")}; 4735 4736 ${P} { 4737 flex-direction: column; 4738 4739 & > * { 4740 width: 100%; 4741 } 4742 4743 /** Style buttons in dropdown component */ 4744 button { 4745 width: 100%; 4746 } 4747 } 4748 4749 ${V} { 4750 flex-wrap: wrap; 4751 4752 & > *:not(.${QS}, .${KS}) { 4753 width: 100%; 4754 } 4755 } 4756`,jP=c` 4757 display: flex; 4758 flex-direction: column; 4759 gap: ${r("--spacing-xs")}; 4760 justify-content: end; 4761 4762 label { 4763 font-size: ${r("--action-desktop-font-size")}; 4764 font-weight: ${r("--action-desktop-font-weight")}; 4765 4766 ${P} { 4767 font-size: ${r("--action-mobile-font-size")};
4768 font-weight: ${r("--action-mobile-font-weight")}; 4769 } 4770 } 4771 4772 ${P} { 4773 width: 100%; 4774 } 4775`,YP=c` 4776 ${V} { 4777 margin-block-start: calc(24px + ${r("--spacing-xs")}); 4778 } 4779`;var ZK="rgb(232, 232, 235)",XP=c` 4780 /** align with dropdown */ 4781 margin-block-start: 17px; 4782`,JP=c` 4783 background-color: ${r("--dropdown-skeleton-animation-default-color")}; 4784 border-radius: ${r("--border-radius-m")}; 4785 height: 6px; 4786 margin-block-end: ${r("--spacing-xs")}; 4787 width: 51px; 4788`,ZP=c` 4789 align-items: center; 4790 background-color: ${r("--dropdown-menu-bg-color")}; 4791 border: ${r("--dropdown-button-border-width")} solid ${r("--dropdown-button-border-color")}; 4792 border-radius: ${r("--dropdown-button-border-radius")}; 4793 box-shadow: ${r("--dropdown-button-shadow")}; 4794 color: ${r("--fg-color")}; 4795 display: flex; 4796 gap: 6px; 4797 justify-content: space-between; 4798 min-width: 160px; 4799 padding: ${r("--spacing-s")} ${r("--spacing-m")}; 4800`,YS=c` 4801 background-color: ${r("--dropdown-skeleton-animation-default-color")}; 4802 border-radius: ${r("--border-radius-m")}; 4803 height: 12px; 4804 4805 &:nth-child(1) { 4806 flex: 0 0 48px; 4807 } 4808 4809 &:nth-child(2) { 4810 flex: 1 1 100%; 4811 } 4812 4813 ${V} { 4814 &:nth-child(1) { 4815 flex: 0 0 28px; 4816 } 4817 } 4818`,ty=c` 4819 overflow: hidden; 4820 position: relative; 4821 4822 &::before { 4823 animation: dropdown-skeleton 2s infinite; 4824 background: linear-gradient( 4825 0.25turn, 4826 transparent, 4827 ${r("--dropdown-skeleton-animation-color")}, 4828 transparent 4829 ); 4830 content: ''; 4831 height: 100%; 4832 left: 0; 4833 opacity: 0.8; 4834 pointer-events: none; 4835 position: absolute; 4836 top: 0; 4837 transform: translateX(-100%); 4838 width: 100%; 4839 } 4840 4841 @keyframes dropdown-skeleton { 4842 0% { 4843 transform: translateX(-100%); 4844 } 4845 30% { 4846 transform: translateX(-100%); 4847 } 4848 100% { 4849 transform: translateX(100%); 4850 } 4851 } 4852`,e2=c` 4853 flex: 0 0 20px; 4854`,t2=c` 4855 fill: ${ZK}; 4856 position: relative; 4857 top: 1px; 4858 transform: rotate(0deg); 4859 transition: transform 250ms; 4860`;var o2=()=>x("aside",{className:h("sdsm-dropdown-skeleton",KS,XP),children:[i("div",{className:h(JP,ty)}),x("div",{className:h(ZP),children:[i("div",{className:h(YS,ty)}),i("div",{className:h(YS,ty)}),i("div",{className:e2,children:i(we,{size:20,className:t2,name:"chevron-down"})})]})]});var n2=c` 4861 color: ${r("--emphasized-text-color")}; 4862 font-style: normal; 4863`;var r2=({text:e})=>(K("sdsm-empahasized-text"),e?i("em",{className:h("sdsm-empahasized-text",n2),children:e}):null);var c2=T(E());var a2=c` 4864 ${P} { 4865 display: none; 4866 } 4867 4868 ${V} { 4869 display: block; 4870 } 4871`,i2=c` 4872 border: none; 4873 background-color: inherit; 4874 color: ${r("--fg-color")}; 4875 cursor: pointer; 4876 align-items: center; 4877 display: flex; 4878 padding-block: ${16}px; 4879 margin-inline-end: ${32}px; 4880`,s2=c` 4881 ${P} { 4882 position: relative; 4883 } 4884 4885 ${V} { 4886 display: none; 4887 } 4888`,l2=c` 4889 ${P} { 4890 width: 100%; 4891 } 4892`,XS=c` 4893 cursor: pointer; 4894 font-family: inherit; 4895 overflow: hidden; 4896 text-overflow: ellipsis; 4897 white-space: nowrap; 4898 4899 *[dir='rtl'] & { 4900 text-align: right; 4901 } 4902 4903 ${P} { 4904 background: none; 4905 border: none; 4906 padding-block: ${8}px; 4907 padding-inline-end: ${32}px; 4908 /* stylelint-disable-next-line property-no-vendor-prefix */ 4909 -webkit-appearance: none; 4910 appearance: none; 4911 width: 100%; 4912 } 4913`,JS=c` 4914 font-size: ${r("--h6-desktop-font-size")}; 4915 font-weight: ${r("--h6-desktop-font-weight")}; 4916 line-height: 120%; 4917 4918 ${P} { 4919 ${Gr.M400}; 4920 line-height: 28px; 4921 } 4922`,p2=c` 4923 color: ${r("--fg-color")}; 4924 font-size: 14px; 4925 font-weight: 500; 4926 line-height: 20px; 4927 margin-inline-end: ${8}px; 4928 width: 100%; 4929`,ZS=c` 4930 font-size: 16px; 4931 pointer-events: none; 4932 4933 svg { 4934 fill: ${r("--fg-color")}; 4935 } 4936 4937 ${V} { 4938 margin-block-start: 3px; 4939 margin-inline-start: 9px; 4940 4941 *[dir='rtl'] & { 4942 margin-right: ${8}px; 4943 } 4944 } 4945 4946 ${P} { 4947 position: absolute; 4948 right: 4px; 4949 top: 50%; 4950 transform: translateY(-50%); 4951 4952 *[dir='rtl'] & { 4953 left: 4px; 4954 right: auto; 4955 } 4956 } 4957`;var oy="all",eh=({title:e,onChange:t,isStandalone:o=!0,value:n,allItemTitle:a,items:s,dataset:l})=>{K("sdsm-filter-dropdown-menu");let p=(0,c2.useMemo)(()=>[{title:a,id:oy,onClick:()=>t?.(void 0)},...s.map(({title:m,id:g})=>({title:m,id:g,onClick:()=>t?.(g)}))],[a,s,t]),d=y=>{y.target.value===oy?t?.(void 0):t?.(y.target.value)},u=y=>x("button",{type:"button",onClick:y.onClick,onKeyDown:y.onKeyDown,onMouseDown:y.onMouseDown,"data-testid":"sds-dropdown-menu",className:i2,role:"combobox","aria-expanded":y.isExpanded,"aria-controls":y.ariaControl
4957s,"aria-haspopup":"listbox","aria-labelledby":y.ariaLabelledBy,"aria-label":y.ariaLabelledBy?void 0:y.ariaLabel,...te(l),children:[i("div",{"data-testid":"sds-dropdown-menu-title",className:h(XS,JS),children:y.children}),i("div",{className:ZS,children:i(we,{size:24,name:y.isExpanded?"chevron-up":"chevron-down"})})]});return x(se,{children:[i("div",{"data-testid":"sds-dropdown-menu-container",className:h("sdsm-filter-dropdown-menu",a2),children:i(is,{placeholderText:e,selectedItemId:n,items:p,ariaLabel:e,buttonComponent:u})}),x("div",{"data-testid":"sds-dropdown-menu-container-mobile",className:s2,...te(l),children:[i("select",{"data-testid":"sds-dropdown-menu-mobile",className:h(l2,XS,{[JS]:o,[p2]:!o}),value:n,onChange:d,"aria-label":e,children:p.map(({title:y,id:m})=>i("option",{value:m,children:y},m))}),i("div",{className:ZS,children:i(we,{name:"chevron-down"})})]})]})};eh.displayName="FilterDropdownMenu";var wo=T(E());var ny=T(E());var d2=({links:e,isUrlCurrent:t,focusSection:o,isRTL:n})=>{let a=(0,ny.useRef)([]),{Anchor:s}=(0,ny.useContext)(Le),l=u=>y=>{if(y.key==="ArrowDown"){let m=a.current[u+1];m&&m.focus()}if(y.key==="ArrowUp"){let m=a.current[u-1];m&&m.focus()}y.key===(n()?"ArrowRight":"ArrowLeft")&&o()},p=u=>()=>{Eu(u)&&requestAnimationFrame(()=>window.scrollTo(0,0))},d=(u,y)=>{let m={ref:f=>{a.current[y]=f},onKeyDown:l(y),onClick:p(u.url),role:"menuitem"},g=t?.(u.url)?"page":void 0;return i(s,{href:u.url,target:u.inNewTab?"_blank":void 0,rel:u.inNewTab?"noopener":void 0,...m,"aria-current":g,children:u.title})};return i(se,{children:e.map((u,y)=>{let m=t?.(u.url);return i("li",{className:h(q1,{[K1]:m}),...te(u.dataset),children:d(u,y)},y)})})};var th=(0,wo.memo)(({className:e,items:t,isUrlCurrent:o,dataset:n,motifScheme:a,backgroundColor:s,motifSchemeMobile:l,mobileBackgroundColor:p,onSectionClick:d})=>{K("sdsm-side-navigation");let u=(0,wo.useContext)(Je),{formatMessage:y}=(0,wo.useContext)(Qe),{width:m}=mn(),g=Kk(u),f=(0,wo.useRef)(null),b=(0,wo.useRef)([]),S=t.findIndex(B=>B.links.find(L=>o?.(L.url))),[C,I]=(0,wo.useState)(S),[k,v]=(0,wo.useState)(!g);(0,wo.useEffect)(()=>{I(S)},[o]);let w=()=>!!f?.current?.closest('[dir="rtl"]'),_=B=>L=>{L.preventDefault();let H=B!==C;I(H?B:null),d?.(t[B]?.title??"unknown",H,t[B]?.id)},D=B=>L=>{if(L.key==="ArrowDown"){let H=b.current[B+1];H&&H.focus()}if(L.key==="ArrowUp"){let H=b.current[B-1];H&&H.focus()}L.key==="ArrowRight"&&I(w()?null:B),L.key==="ArrowLeft"&&I(w()?B:null)},M=B=>{let L=b.current[B];L&&L.focus()},A=()=>{v(!k)},N=(0,wo.useMemo)(()=>m&&m<=Io,[m]);(0,wo.useEffect)(()=>{v(!N)},[N]);let $=y({id:"secondaryNavigationLabel",defaultMessage:"Secondary Navigation"});return x("section",{"data-testid":"sdsm-side-navigation",className:h("sdsm-side-navigation",N?l??Ne(p):a??Ne(s),V1,{[O1]:!k},e),children:[x("button",{type:"button","data-testid":"sdsm-side-navigation-mobile-toggle","aria-label":t[S]?.title??$,className:j1,onClick:A,children:[i("span",{children:t[S]?.title??$}),i(we,{className:Y1,name:k?"chevron-up":"chevron-down"})]}),i("nav",{"data-testid":"sdsm-side-navigation-links","aria-label":$,ref:f,className:G1,style:{display:k?"block":"none"},...te(n),children:i("ul",{role:"menubar","aria-label":$,children:t.map((B,L)=>{let H=B.links.some(z=>o?.(z.url));return x("li",{children:[x("button",{ref:z=>{b.current[L]=z},type:"button",onKeyDown:D(L),onClick:_(L),role:"menuitem","aria-haspopup":t[L].links.length>0,"aria-expanded":C===L,className:h(z1,{[U1]:C===L,[W1]:H}),tabIndex:0,"aria-label":B.title,children:[i("span",{...te(B.dataset),children:B.title}),x("span",{className:Q1,children:[i(we,{className:Vu,name:C===L?"chevron-up":"chevron-down",size:18}),i(we,{className:Vu,name:C===L?"chevron-up":"chevron-down",size:18}),i(we,{className:Vu,name:C===L?"chevron-up":"chevron-down",size:18})]})]}),i("ul",{role:"menu","aria-label":B.title,style:{display:C===L?"block":"none"},children:i(d2,{links:B.links,isUrlCurrent:o,focusSection:()=>M(L),isRTL:w})})]},L)})})})]})});th.displayName="SideNavigation";var u2=c` 4958 color: ${r("--footer-bar-fg-color")}; 4959 background-color: ${r("--footer-bar-bg-color")}; 4960 border-top: 1px solid ${r("--footer-bar-divider-border-color")}; 4961 display: flex; 4962 justify-content: center; 4963`,y2=c` 4964 display: flex; 4965 justify-content: center; 4966 max-width: ${po}px; 4967 width: 100%; 4968`,m2=c` 4969 @media screen and (min-width: ${ct+1}px) { 4970 padding-inline-start: ${_o}px; 4971 } 4972`,ISe=c` 4973 max-width: unset; 4974`,g2=c` 4975 box-sizing: border-box; 4976 display: flex; 4977 flex-direction: column; 4978 justify-content: space-between; 4979 max-width: ${ct}px; 4980 padding-block: ${r("--spacing-xl")}; 4981 position: relative; 4982 white-space: nowrap; 4983 width: 100%; 4984 4985 ${V} { 4986 padding-block: ${r("--spacing-s")}; 4987 padding-inline: ${r("--spacing-xl")}; 4988 } 4989 4990 ${At} { 4991 gap: 27px; 4992 padding-block: ${r("--spacing-l")}; 4993 padding-inline: ${r("--spacing-xxxxl")}; 4994 } 4995 4996 ${yn} { 4997 flex-direction: row; 4998 gap: 0; 4999 padding-inline: ${r("--spacing-xxxxl")}; 5000 5001 div { 5002 width: auto; 5003 } 5004 } 5005 5006 ${P} { 5007 gap: 0; 5008 padding-inline: ${r("--spacing-xl")}; 5009 } 5010`;var oh=({children:e,backgroundColor:t,hasSideNav:o})=>i("div",{"data-testid":"footer-bar",className:h(rA,Ne(t),u2),children:i("div",{className:h(nA,y2,{[m2]:o}),children:i("div",{className:h(oA,g2),children:e})})});var P2=T(E());var f2=T(E()),Fa=(0,f2.createContext)({});var b2=c` 5011 border-top-color: ${r("--footer-border-color")}; 5012 border-top-style: solid; 5013 border-top-width: 1px; 5014 color: ${r("--footer-fg-color")}; 5015 background-color: ${r("--footer-bg-color")}; 5016 display: flex; 5017 justify-content: center; 5018`,S2=c` 5019 display: flex; 5020 justify-content: center; 5021 max-width: ${po}px; 5022 width: 100%; 5023`,h2=c` 5024 @media screen and (min-width: ${ct+1}px) { 5025 padding-inline-start: ${_o}px; 5026 } 5027`,Ci=c` 5028 box-sizing: border-box; 5029 display: flex; 5030 flex-wrap: wrap; 5031 gap: ${r("--spacing-m")}; 5032 max-width: ${ct}px; 5033 padding-block: ${r("--spacing-xl")}; 5034 padding-inline: ${r("--spacing-l")}; 5035 width: 100%; 5036 5037 ${At} { 5038 padding-inline: ${r("--spacing-xxxxl")}; 5039 } 5040 5041 ${yn} { 5042 padding-inline: ${r("--spacing-xxxxl")}; 5043 } 5044`,C2=c` 5045 justify-content: space-between; 5046`,x2=c` 5047 box-sizing: border-box; 5048`,v2=c` 5049 align-items: center; 5050 border-top: 1px solid ${r("--footer-divider-border-color")}; 5051 color: ${r("--footer-fg-color")}; 5052 background-color: ${r("--footer-bg-color")}; 5053 display: block; 5054 padding-block: ${r("--spacing-xl")} ${r("--spacing-xl")}; 5055 padding-inline: ${r("--spacing-xl")}; 5056`,I2=c` 5057 > div { 5058 width: 100%; 5059 } 5060`,k2=c` 5061 > div { 5062 width: calc((100% - ${r("--spacing-m")}) / 2); 5063 } 5064`,M2=c` 5065 > div { 5066 width: calc((100% - (${r("--spacing-m")} * 2)) / 3); 5067 } 5068`,A2=c` 5069 > div { 5070 width: calc((100% - (${r("--spacing-m")} * 3)) / 4); 5071 } 5072`,T2=c` 5073 > div { 5074 width: calc((100% - (${r("--spacing-m")} * 4)) / 5); 5075 } 5076 5077 ${yn} { 5078 > div { 5079 width: calc((100% - (${r("--spacing-m")} * 5)) / 6); 5080 } 5081 } 5082`;var _2=({hasSideNav:e,children:t})=>{let o=h(Ci),n=Array.isArray(t)?t.filter(a=>!!a).length:1;switch(n){case 1:o=h(Ci,I2);break;case 2:o=h(Ci,k2);break;case 3:o=h(Ci,M2);break;case 4:o=h(Ci,A2);break;default:o=h(Ci,T2);break}return n<=6&&(o=h(o,C2)),i("article",{"data-testid":"footer-columns-desktop",className:h(aA,b2),children:i("div",{className:h(iA,S2,{[h2]:e}),children:i("div",{className:o,children:t})})})};var w2=T(E());var D2=({children:e,backgroundColor:t})=>{let[o,n]=(0,w2.useState)();return i(Fa.Provider,{value:{mode:at.Mobile,expandedItem:o,setExpandedItem:n},children:i("div",{"data-testid":"footer-columns-mobile",className:h(Ne(t),v2,x2),children:e})})};var N2=({children:e,...t})=>{let{mode:o}=(0,P2.useContext)(Fa);return o===at.Mobile?i(D2,{...t,children:e}):i(_2,{...t,children:e})};var Np=T(E());var E2=c`
5083 font-weight: ${r("--footer-bar-header-font-weight")}; 5084 text-transform: ${r("--footer-bar-header-mobile-font-text-transform")}; 5085 padding-inline-end: ${r("--spacing-xl")}; 5086 word-break: break-word; 5087 5088 ${V} { 5089 padding-inline-end: 0; 5090 text-transform: ${r("--footer-bar-header-desktop-font-text-transform")}; 5091 } 5092`,R2=c` 5093 ${V} { 5094 margin-block-end: ${r("--spacing-xs")}; 5095 } 5096`,F2=c` 5097 border-bottom: 1px solid ${r("--footer-border-color")}; 5098 font-size: ${r("--footer-desktop-font-size")}; 5099 line-height: 16px; 5100 padding-block: ${r("--spacing-m")}; 5101 padding-inline: 0 ${r("--spacing-m")}; 5102 color: ${r("--fg-color")}; 5103 5104 &:first-child { 5105 padding-block-start: ${r("--spacing-s")}; 5106 } 5107 5108 &:last-child { 5109 border-bottom: 0; 5110 } 5111 5112 ${V} { 5113 border-bottom: 0; 5114 padding-bottom: ${r("--spacing-xxs")}; 5115 padding-inline: 0; 5116 padding-top: 0; 5117 5118 &:first-child { 5119 padding-block-start: 0; 5120 } 5121 } 5122 5123 ${P} { 5124 font-size: ${r("--footer-mobile-font-size")}; 5125 font-weight: ${r("--action-mobile-font-weight")}; 5126 } 5127`,nh=c` 5128 display: flex; 5129 flex-direction: column; 5130 list-style-type: none; 5131 margin: 0; 5132 padding-block: ${r("--spacing-s")} 0; 5133 padding-inline: 0; 5134 width: 100%; 5135 5136 ${V} { 5137 padding: 0; 5138 } 5139`,ry=c` 5140 a { 5141 margin-inline: 0; 5142 white-space: unset; 5143 } 5144 5145 li { 5146 margin: 0; 5147 } 5148 5149 align-items: flex-start; 5150 border: 0; 5151 display: flex; 5152 flex-direction: column; 5153 gap: ${r("--spacing-m")}; 5154 padding-block: ${r("--spacing-s")}; 5155 5156 ${V} { 5157 align-items: center; 5158 flex-direction: row; 5159 gap: ${r("--spacing-l")}; 5160 padding-block: 0; 5161 5162 &:first-child { 5163 padding-block-start: 0; 5164 } 5165 } 5166 5167 ${yn} { 5168 &:first-child { 5169 margin-inline-start: 0; 5170 } 5171 5172 &:last-child { 5173 margin-inline-end: 0; 5174 } 5175 } 5176`;var B2=({id:e,children:t,title:o,orientation:n="Vertical",isFooterBar:a,onToggle:s})=>{let{mode:l}=(0,Np.useContext)(Fa),p=h(F2,{[ry]:n==="Horizontal"}),d=h(E2,{[R2]:n==="Vertical"}),u=(0,Np.useMemo)(()=>o?typeof o!="string"?o:i("div",{className:d,children:i("span",{children:o})}):null,[o,d]),y=(0,Np.useMemo)(()=>t?i("ul",{className:h(nh,{[ry]:n==="Horizontal"}),children:t}):null,[t,n]);return a&&l===at.Mobile?i("ul",{className:h(nh,{[ry]:n==="Horizontal"}),children:t}):l===at.Mobile?i(sn,{showChevron:!!o,summary:o,summaryProps:{className:d},className:p,fadeInAnimation:!0,transitionDurationMs:300,disableScrollToOnOpen:a,summaryOnClick:()=>{s?.(e,typeof o=="string"?o:"unknown")},children:y}):x("div",{"data-testid":"footer-group",className:p,children:[u,y]})};var H2=T(E());var $2=c` 5177 margin: ${r("--spacing-s")} 0; 5178 5179 ${V} { 5180 margin: ${r("--spacing-xxs")} 0; 5181 } 5182`,L2=c` 5183 color: ${r("--action-text-default-color")}; 5184 /* Set font-family here or the var from the default motif is used */ 5185 font-family: ${r("--font-family")}; 5186 font-size: ${r("--footer-desktop-font-size")}; 5187 font-weight: ${r("--action-desktop-font-weight")}; 5188 text-decoration: none; 5189 white-space: pre-wrap; 5190 5191 @media (hover: hover) { 5192 &:hover { 5193 color: ${r("--action-text-hover-color")}; 5194 text-decoration: underline; 5195 text-decoration-thickness: ${r("--spacing-xxxs")}; 5196 text-underline-offset: ${r("--spacing-xxxs")}; 5197 } 5198 } 5199 5200 ${V} { 5201 margin: 0; 5202 margin-inline-end: ${r("--spacing-s")}; 5203 } 5204`;var V2=({id:e,url:t,title:o,onClick:n})=>{let{Anchor:a}=(0,H2.useContext)(Le);return i("li",{"data-testid":"footer-item",id:e,className:$2,children:i(a,{href:t,onClick:n,className:L2,children:o})})};var O2=c` 5205 color: ${r("--footer-fg-color")}; 5206 background-color: ${r("--footer-bg-color")}; 5207 border-top-color: ${r("--footer-divider-border-color")}; 5208 border-top-style: solid; 5209 border-top-width: 2px; 5210 display: flex; 5211 justify-content: center; 5212 width: 100%; 5213`,G2=c` 5214 display: flex; 5215 justify-content: center; 5216 max-width: ${po}px; 5217 width: 100%; 5218`,z2=c` 5219 @media screen and (min-width: ${ct+1}px) { 5220 padding-inline-start: ${_o}px; 5221 } 5222`,U2=c` 5223 align-items: center; 5224 color: ${r("--fg-color")}; 5225 display: flex; 5226 flex-direction: row; 5227 flex-wrap: wrap; 5228 gap: ${r("--spacing-l")}; 5229 max-width: ${ct}px; 5230 padding-block: ${r("--spacing-m")}; 5231 padding-inline: ${r("--spacing-xl")}; 5232 position: relative; 5233 width: 100%; 5234 5235 ${V} { 5236 flex-direction: row; 5237 justify-content: center; 5238 padding-block: ${r("--spacing-m")}; 5239 padding-inline: ${r("--spacing-xxxxl")}; 5240 } 5241`,W2=c` 5242 display: flex; 5243 flex-wrap: wrap; 5244 align-items: center; 5245 gap: ${r("--spacing-s")}; 5246`;var q2=({title:e,hasSideNav:t,children:o})=>i("section",{"data-testid":"footer-social",className:h(sA,O2),children:i("div",{className:h(lA,G2,{[z2]:t}),children:x("div",{className:U2,children:[e&&i("h5",{children:e}),i("div",{className:W2,children:o})]})})});var ay=({children:e,motifScheme:t,backgroundColor:o,className:n})=>{let a=Yo();return K("sdsm-footer"),i(Fa.Provider,{value:{mode:a},children:i("footer",{"data-testid":"footer-v2",className:h("sdsm-footer",t??Ne(o),n),children:e})})};var Q2=c` 5247 box-sizing: border-box; 5248 display: flex; 5249 gap: 0.25em; 5250 margin: 0 auto ${r("--spacing-m")}; 5251 max-width: ${ct}px; 5252 padding: 0 ${r("--spacing-xl")}; 5253 ${Xt} 5254 5255 ${P} { 5256 padding: 0 ${r("--spacing-m")}; 5257 } 5258 5259 p { 5260 margin-bottom: 0; 5261 } 5262 5263 a { 5264 ${Xt} 5265 5266 ${V} { 5267 font-weight: ${r("--hyperlink-desktop-font-weight")}; 5268 } 5269 5270 ${P} {
5271 font-weight: ${r("--hyperlink-mobile-font-weight")}; 5272 } 5273 } 5274`,K2=c` 5275 font-size: 10px; 5276 line-height: 18px; 5277`;var rh=({index:e,children:t})=>(K("sdsm-footnote"),x("div",{"data-testid":"sdsm-footnote",className:h("sdsm-footnote",Q2),children:[i("span",{className:K2,children:x(pp,{children:[e," "]})}),i("span",{children:t})]}));rh.displayName="Footnote";var Ba=T(E());var j2=c` 5278 background-color: ${r("--footnote-bg-color")}; 5279 border-top: 1px solid ${r("--footnote-border-color")}; 5280`,Y2=c` 5281 color: ${r("--footnote-fg-color")}; 5282 margin: 0px auto; 5283 max-width: ${ct}px; 5284 padding: 0 ${r("--spacing-xl")}; 5285 5286 ${P} { 5287 padding: 0 ${r("--spacing-m")}; 5288 } 5289`,X2=c` 5290 display: none; 5291 5292 @media print { 5293 display: block; 5294 padding-block: ${r("--spacing-l")}; 5295 } 5296`,J2=c` 5297 padding-bottom: 0; 5298 5299 @media print { 5300 display: none; 5301 } 5302`,ah=c` 5303 color: ${r("--footnote-title-color")}; 5304 font-size: ${r("--h6-desktop-font-size")}; 5305 font-weight: 500; 5306 height: 92px; 5307 line-height: 28px; 5308 margin: 0 auto; 5309 max-width: ${ct}px; 5310 padding-inline-start: ${r("--spacing-xl")}; 5311 5312 ${P} { 5313 padding: 0 ${r("--spacing-m")}; 5314 } 5315 5316 & > svg { 5317 background-color: transparent; 5318 border-radius: 100%; 5319 height: 32px; 5320 padding: 6px; 5321 transition: background-color 0.2s linear; 5322 width: 32px; 5323 } 5324 5325 &:hover { 5326 & > svg { 5327 background-color: ${r("--footnote-icon-hover-bg-color")}; 5328 } 5329 } 5330`,Z2=c` 5331 padding-bottom: ${r("--spacing-m")}; 5332`;var eN="White",ej=300,tj={className:ru,fill:r("--icon-color")},oj={className:ah},ih=({title:e,isOpenInitially:t,children:o,className:n})=>{let[a,s]=(0,Ba.useState)(t),l=(0,Ba.useRef)(null),p=(0,Ba.useCallback)(()=>{s(d=>!d)},[]);return Ba.Children.count(o)===0?null:i("footer",{"data-testid":"sdsm-footnotes",className:h(j2,
5332n),children:x("div",{className:Y2,children:[x("div",{className:X2,children:[i("h2",{className:ah,children:e}),o]}),i(sn,{summary:e,detailsRef:l,chevronProps:tj,className:J2,summaryProps:oj,onToggle:p,fadeInAnimation:!0,transitionDurationMs:ej,open:a,children:i("div",{className:Z2,children:o})})]})})};ih.displayName="FootnoteBlock";var zn=T(E());var aN=T(E());var tN=/^$|^(?:\P{L}*\p{L}){2}/u,oN={Email:new RegExp('^$|^(([^<>()[\\]\\.,;:\\s@"]+(\\.[^<>()[\\]\\.,;:\\s@"]+)*)|(".+"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$'),Name:/^(?!\s*$).+/,"Email (English only)":/^[a-z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+\/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,"Name (min two characters)":tN,"Business Name":tN,Domain:/^$|^(?=.{4,253}$)(?:[\p{L}\p{N}](?:[\p{L}\p{N}-]{0,61}[\p{L}\p{N}])?\.)+\p{L}{2,63}$/u,"Domain (English only)":/^$|^(?=.{4,253}$)(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,63}$/};function nN(e){if(e.error)return!1;for(let t of Object.keys(e.fields))if(e.fields[t]&&e.fields[t].hasError)return!1;return!0}var sh=(e,t)=>e.required&&(Array.isArray(t)&&t.length===0||!Array.isArray(t)&&(String(t).trim()===""||!t))?!0:!e.validation||!oN[e.validation]||typeof t!="string"?!1:!oN[e.validation].test(t),iy={type:"initial",fields:{},formBody:{}};function rN(e,t){switch(e=$o(e),t.type){case"registerField":{let o=or(e.fields[t.name]??{},t.field);e.fields[t.name]=o,e.formBody[t.name]=t.field.initialValue,e.type!=="initial"&&(o.hasError=sh(o,t.field.initialValue));break}case"changeFieldValue":{e.lastChangedFieldName=t.name,e.formBody=$o(e.formBody),e.formBody[t.name]=t.value,e.fields[t.name]||(e.fields[t.name]={});let o=e.fields[t.name];o.hasError=sh(o,t.value),e.type=nN(e)?"ready":"invalid",e.error=void 0;break}case"invalidateField":{e.fields[t.name].hasError=!0,e.type="invalid";break}case"submitTrigger":{for(let o of Object.keys(e.fields)){let n=e.fields[o];n&&(n.hasError=sh(n,e.formBody[o]))}e.type=nN(e)?"submitting":"invalid";break}case"submitFailure":{e.type="submitFailure",e.errorStatusCode=t.errorStatusCode,e.error=t.error;break}case"submitSuccess":{e.type="submitSuccess",e.formBody={};for(let o of Object.keys(e.fields)){let n=e.fields[o];n.hasError=!1,e.formBody[o]=n.shouldResetToInitial?n.initialValue:void 0}e.error=void 0;break}default:throw new Error(`Unhandled action type for ${JSON.stringify(t)}`)}return e}var yo=(0,aN.createContext)({state:iy,dispatch:vo});var vN=T(E());var iN=c` 5333 display: flex; 5334 align-items: center; 5335 flex-direction: column; 5336 width: 100% !important; 5337 max-width: 650px; 5338 margin: auto; 5339 /* extra margin for button shadow */ 5340 margin-bottom: ${r("--spacing-m")}; 5341`,sN=c` 5342 display: flex; 5343 align-items: flex-start; 5344 column-gap: ${r("--form-grid-gap")}; 5345 width: 100%; 5346 5347 /* Add extra top spacing if there is a label */ 5348 &:not(:first-child) label { 5349 margin-top: ${r("--spacing-m")}; 5350 } 5351 5352 ${P} { 5353 flex-direction: column; 5354 } 5355`,lN=c` 5356 margin-bottom: ${r("--spacing-xs")}; 5357`,lh=c` 5358 ${Ue} 5359 color: ${r("--form-input-placeholder-color")}; 5360 margin-top: ${r("--spacing-xs")}; 5361`,Ep=c` 5362 ${lh} 5363 5364 color: ${r("--form-input-error-color")}; 5365`,pN=c` 5366 width: 100%; 5367 text-align: center; 5368 margin-top: ${r("--spacing-m")}; 5369`,cN=c` 5370 display: block; 5371 text-align: start; 5372 border-color: ${r("--form-input-border-color")}; 5373 border-style: solid; 5374 border-width: ${r("--form-input-border-width")}; 5375 border-radius: ${r("--spacing-m")}; 5376 background-color: ${r("--form-input-bg-color")}; 5377 box-shadow: ${r("--form-input-box-shadow")}; 5378 color: ${r("--form-input-error-color")}; 5379 margin-top: ${r("--spacing-s")}; 5380 padding: ${r("--spacing-m")}; 5381 word-wrap: break-word; 5382`,dN=c` 5383 justify-content: center; 5384 5385 margin-top: ${r("--spacing-xl")}; 5386 margin-bottom: ${r("--spacing-xl")}; 5387 5388 ${P} { 5389 width: 100%; 5390 max-width: 350px; 5391 margin-top: ${r("--spacing-m")}; 5392 margin-bottom: ${r("--spacing-m")}; 5393 } 5394`,uN=c` 5395 display: flex; 5396 flex-direction: column; 5397 width: 100%; 5398 margin-bottom: ${r("--spacing-m")}; 5399 5400 *[dir='rtl'] & > select { 5401 background-position: left ${r("--spacing-l")} top 50%; 5402 } 5403`,Kr=c` 5404 border-color: ${r("--form-input-error-color")}; 5405 border-style: solid; 5406 border-width: ${r("--form-input-border-width")}; 5407 5408 &[type='checkbox'] { 5409 border-width: ${r("--form-input-selection-control-border-width")}; 5410 } 5411 5412 &:hover { 5413 border-color: ${r("--form-input-error-color")}; 5414 border-style: solid; 5415 border-width: ${r("--form-input-border-width")}; 5416 5417 &[type='checkbox'] { 5418 border-width: ${r("--form-input-selection-control-border-width")}; 5419 } 5420 } 5421`,ph=c`
5422 cursor: not-allowed; 5423 opacity: 0.8; 5424`,Rs=c` 5425 background-color: ${r("--form-input-bg-color")}; 5426 border-color: ${r("--form-input-border-color")}; 5427 border-style: solid; 5428 border-width: ${r("--form-input-border-width")}; 5429 border-radius: ${r("--form-input-border-radius")}; 5430 box-shadow: ${r("--form-input-box-shadow")}; 5431 box-sizing: border-box; 5432 color: ${r("--form-input-fg-color")}; 5433 font-family: ${r("--font-family")}; 5434 height: ${r("--form-input-height")}; 5435 padding: ${r("--form-input-padding")}; 5436 width: 100%; 5437 5438 &[readonly] { 5439 ${ph} 5440 } 5441 5442 &:active, 5443 &:focus { 5444 border-color: ${r("--form-input-active-border-color")}; 5445 box-shadow: ${r("--form-input-active-box-shadow")}; 5446 } 5447 5448 &:focus-visible { 5449 outline: ${r("--form-input-border-width")} solid ${r("--form-input-active-border-color")}; 5450 outline-offset: -2px; 5451 } 5452 5453 &:hover { 5454 border-color: ${r("--form-input-hover-border-color")}; 5455 box-shadow: ${r("--form-input-hover-box-shadow")}; 5456 } 5457 5458 &[type='number']::-webkit-inner-spin-button { 5459 opacity: 1; 5460 } 5461 5462 &[type='date']::-webkit-calendar-picker-indicator { 5463 filter: invert(50%); 5464 } 5465 5466 ${V} { 5467 font-size: ${r("--form-input-desktop-font-size")}; 5468 line-height: ${r("--form-input-desktop-font-line-height")}; 5469 font-weight: ${r("--form-input-desktop-font-weight")}; 5470 font-stretch: ${r("--form-input-desktop-font-stretch")}; 5471 } 5472 5473 ${P} { 5474 font-size: ${r("--form-input-mobile-font-size")}; 5475 line-height: ${r("--form-input-mobile-font-line-height")}; 5476 font-weight: ${r("--form-input-mobile-font-weight")}; 5477 font-stretch: ${r("--form-input-mobile-font-stretch")}; 5478 } 5479`,nj="M4.95801 10.8631C4.43001 10.8631 3.91701 10.6511 3.54301 10.2771L0.293006 7.02713C-0.0979941 6.63613 -0.0979941 6.00413 0.293006 5.61313C0.684006 5.22213 1.31601 5.22213 1.70701 5.61313L4.95701 8.86313L12.253 0.655126C12.619 0.242126 13.251 0.205126 13.664 0.572126C14.077 0.940126 14.114 1.57113 13.747 1.98513L6.45201 10.1921C6.08701 10.6021 5.56301 10.8461 5.01601 10.8621C4.99601 10.8631 4.97701 10.8631 4.95801 10.8631Z",yN=c` 5480 appearance: none; 5481 background-color: ${r("--form-input-bg-color")}; 5482 border-color: ${r("--form-input-border-color")}; 5483 border-style: solid; 5484 border-width: ${r("--form-input-selection-control-border-width")}; 5485 border-radius: ${r("--form-input-checkbox-border-radius")}; 5486 display: grid; 5487 font: inherit; 5488 height: 20px; 5489 margin: 0; 5490 place-content: center; 5491 width: 20px; 5492 5493 &::before { 5494 box-shadow: inset 1em 1em ${r("--form-input-selection-control-active-color")}; 5495 clip-path: path('${nj}'); 5496 content: ''; 5497 height: 20px; 5498 margin: 8px 0px 0px 6px; 5499 transform: scale(0); 5500 width: 20px; 5501 } 5502 5503 &:checked::before { 5504 transform: scale(1); 5505 } 5506 5507 &:checked { 5508 background-color: ${r("--form-input-active-border-color")}; 5509 border-width: ${r("--border-width-none")}; 5510 box-shadow: ${r("--form-input-active-box-shadow")}; 5511 } 5512 5513 &:focus-visible { 5514 outline-color: ${r("--form-input-active-border-color")}; 5515 outline-style: solid; 5516 outline-width: ${r("--form-input-selection-control-border-width")}; 5517 outline-offset: -2px; 5518 } 5519 5520 &:not(:checked):hover { 5521 border-color: ${r("--form-input-hover-border-color")}; 5522 box-shadow: ${r("--form-input-hover-box-shadow")}; 5523 } 5524 5525 &[required]:not(:checked)::before { 5526 border-color: ${r("--form-input-error-color")}; 5527 } 5528 5529 &[readonly] { 5530 ${ph} 5531 } 5532`,mN=c` 5533 && { 5534 align-items: center; 5535 display: flex; 5536 gap: ${r("--spacing-s")}; 5537 5538 label { 5539 align-items: center; 5540 display: flex; 5541 justify-content: center; 5542 margin-top: 0; 5543 5544 a { 5545 &, 5546 &:hover, 5547 &:visited { 5548 /* TODO: See if this should be hyperlink color or its own */ 5549 color: ${r("--fg-color")}; 5550 /* Ensure hyperlinks are displayed in the same font size and weight as the label */ 5551 font-size: inherit; 5552 font-weight: inherit; 5553 } 5554 } 5555 5556 /* Remove margin from the paragraph inside the label */ 5557 p { 5558 margin: 0; 5559 } 5560 } 5561 } 5562`,gN=c` 5563 appearance: none; 5564 ${Rs} 5565 font-family: ${r("--font-family")}; 5566 height: 133px; 5567 padding: ${r("--form-input-padding")}; 5568 resize: vertical; 5569 /* Add custom resizer icon as background */ 5570 background-image: url("data:image/svg+xml,%3Csvg height='9' viewBox='0 0 9 9' width='9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8L8 5M1 8L8 1' stroke='rgba(133, 141, 148, 1)'/%3E%3C/svg%3E"); 5571 background-repeat: no-repeat; 5572 background-position: bottom 4px right 4px; 5573 5574 &::-webkit-resizer { 5575 display: none; 5576 } 5577 5578 &[readonly] { 5579 ${ph} 5580 } 5581 5582 /* Change custom resizer icon position according to RTL */ 5583 *[dir='rtl'] & { 5584 background-image: url("data:image/svg+xml,%3Csvg height='9' viewBox='0 0 9 9' transform='scale(-1 1)' width='9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8L8 5M1 8L8 1' stroke='rgba(133, 141, 148, 1)'/%3E%3C/svg%3E"); 5585 background-position: bottom 4px left 4px; 5586 } 5587`,fN=c` 5588 ${Rs} 5589 appearance: none; 5590 height: ${r("--form-input-height")}; 5591 /* select with appearance:none clips text to the content box and this cuts it off. 5592 * fix by shrinking padding-block. */ 5593 padding-block: calc(${r("--form-input-padding")} - 2px); 5594 5595 &:-ms-expand { 5596 display: none; 5597 } 5598 5599 &:has(option:disabled:checked) { 5600 color: ${r("--form-input-placeholder-color")}; 5601 } 5602`,sy=c` 5603 position: relative; 5604 5605 i { 5606 margin-left: 10px; 5607 width: 10px; 5608 cursor: pointer; 5609 5610 svg { 5611 fill: ${r("--palette-gray-v300")}; 5612 } 5613 } 5614`,jr=c` 5615 input::-webkit-input-placeholder, 5616 textarea::-webkit-input-placeholder, 5617 input:-moz-placeholder, 5618 textarea:-moz-placeholder, 5619 input::-moz-placeholder, 5620 textarea::-moz-placeholder, 5621 input:-ms-input-placeholder, 5622 textarea:-ms-input-placeholder, 5623 input::-ms-input-placeholder, 5624 textarea::-ms-input-placeholder, 5625 input::placeholder, 5626 textarea::placeholder, 5627 ::placeholder { 5628 color: ${r("--form-input-placeholder-color")}; 5629 } 5630`,bN=c` 5631 pointer-events: none; 5632 position: absolute; 5633 right: ${r("--spacing-l")}; 5634 top: calc(50% - 5px);
5635 width: 20px; 5636 height: 20px; 5637 margin: -4px; 5638 fill: ${r("--form-input-fg-color")}; 5639 5640 html[dir='rtl'] & { 5641 right: unset; 5642 left: ${r("--spacing-l")}; 5643 } 5644`,SN=c` 5645 pointer-events: none; 5646 position: absolute; 5647 right: ${r("--spacing-l")}; 5648 top: calc(50% - 5px); 5649 width: 20px; 5650 height: 20px; 5651 margin: -4px; 5652 fill: ${r("--multi-select-fg-color")}; 5653 5654 html[dir='rtl'] & { 5655 right: unset; 5656 left: ${r("--spacing-l")}; 5657 } 5658`,hN=c` 5659 ${Rs} 5660 height: auto; 5661 padding: 0; 5662 5663 /** applies styles to multi select wrapper when displaying options */ 5664 &:has(.displayBlock) { 5665 border-color: ${r("--form-input-active-border-color")}; 5666 box-shadow: ${r("--form-input-active-box-shadow")}; 5667 } 5668 5669 .searchWrapper { 5670 color: ${r("--multi-select-fg-color")}; 5671 5672 .chip { 5673 background: ${r("--multi-select-chip-bg-color")}; 5674 color: ${r("--multi-select-chip-fg-color")}; 5675 5676 svg { 5677 fill: ${r("--multi-select-chip-fg-color")}; 5678 } 5679 } 5680 } 5681 5682 .optionListContainer .option { 5683 color: ${r("--multi-select-option-fg-color")}; 5684 5685 &.highlight, 5686 &:hover { 5687 background: ${r("--multi-select-chip-bg-color")}; 5688 color: ${r("--multi-select-option-fg-color")}; 5689 } 5690 5691 input[type='checkbox'] { 5692 &:checked { 5693 accent-color: ${r("--multi-select-option-fg-color")}; 5694 } 5695 } 5696 } 5697`,CN=c` 5698 & p:last-of-type { 5699 display: inline-block; 5700 } 5701 5702 &::after { 5703 color: ${r("--form-input-error-color")}; 5704 content: '*'; 5705 } 5706`,xN=c` 5707 ${v0} 5708 ${Xt} 5709 color: ${r("--form-description-fg-color")}; 5710 font-style: italic; 5711 font-weight: ${r("--action-desktop-font-weight")}; 5712 text-align: start; 5713 width: 100%; 5714`;var IN=({renderErrorMessage:e,on400ResponseMessage:t,on500ResponseMessage:o,onInvalidClientSideSubmissionMessage:n,renderErrorDetails:a})=>{let{state:s}=(0,vN.useContext)(yo),{errorStatusCode:l,error:p,type:d}=s;if(d==="invalid")return i("div",{className:Ep,children:n});if(!p)return null;let u;l===void 0?u=null:e?u=e?.(l):u=l===400?t:o;let y=JSON.stringify({name:p.name,message:p.message,callStack:p.stack},null,2);return x(se,{children:[i("div",{className:Ep,children:u}),a&&x("div",{className:pN,children:[i("h6",{children:"Error Object"}),i("code",{className:cN,children:y})]})]})};var kN=T(E());var MN=({formRequiredFieldsMessage:e})=>{let{state:t}=(0,kN.useContext)(yo);return!Object.values(t?.fields??{}).some(n=>n.required)||!e?null:i("p",{className:xN,children:e})};var Rp=({className:e,children:t,endpoint:o,submitText:n,submitSuccessText:a,submitTextDataset:s,onSubmitSuccess:l,onSubmitFailure:p,onFormBodyChange:d,formChildrenRenderer:u,extraParams:y,extraParamsAsync:m,on400ResponseMessage:g,on500ResponseMessage:f,renderErrorMessage:b,onInvalidClientSideSubmissionMessage:S,formRequiredFieldsMessage:C,renderErrorDetails:I=!1})=>{K("sdsm-form");let[k,v]=(0,zn.useReducer)(rN,ko(iy)),w=(0,zn.useMemo)(()=>({state:k,dispatch:v}),[k,v]);(0,zn.useEffect)(()=>{d?.(ko(k.formBody),k.lastChangedFieldName,k.type==="initial",k.type==="submitting"||k.type==="submitSuccess"||k.type==="submitFailure")},[d,k.formBody,k.lastChangedFieldName,k.type]);let _=(0,zn.useCallback)(B=>{B?.preventDefault(),v({type:"submitTrigger"})},[]);(0,zn.useEffect)(()=>{if(k.type!=="submitting")return;async function B(){let L=await m?.().catch(()=>({}))??{},H=or({},k.formBody,y,L);try{let z=await fetch(o,{method:"POST",body:JSON.stringify(H),headers:{"Content-Type":"application/json"}});if(v({type:"submitTrigger"}),z.ok)v({type:"submitSuccess"}),l?.(z,H);else{let j=await z.text(),ue=new Error(`Form submit failed. Server Response: ${z.status} ${z.statusText}.\r 5715 ${j}`);v({type:"submitFailure",errorStatusCode:z.status,error:ue}),p?.(ue,H,z)}}catch(z){let j=Bt(z);v({type:"submitFailure",error:j}),p?.(j,H)}}B()},[o,y,m,p,l,k.formBody,k.type]);let D=k.type==="submitting"||k.type==="submitSuccess"||Object.values(k.fields).some(B=>B.hasError)||tp(k.fields),M=k.type==="submitting",A=k.type==="submitSuccess",N=k.type==="submitSuccess"?a:n,$;return u?$=(0,zn.createElement)(u,{handleSubmit:_,disabled:D,loading:M,submitSuccess:A}):$=x(se,{children:[t,i(Kt,{nativeButtonType:"submit",onClick:_,type:Lo.Primary,size:"Large",disabled:D,loading:M,className:dN,buttonTextDataset:s,children:N})]}),i(yo.Provider,{value:w,children:x("form",{className:h("sdsm-form",iN,jr,e),noValidate:!0,children:[i(MN,{formRequiredFieldsMessage:C}),$,i(IN,{renderErrorMessage:b,on400ResponseMessage:g,on500ResponseMessage:f,onInvalidClientSideSubmissionMessage:S,renderErrorDetails:I})]})})};var ly=({children:e,...t})=>i("div",{className:h("sdsm-form-row",sN),...t,children:e});var Yr=T(E());var $a=({type:e,name:t,label:o,helpText:n,error:a,hasError:s,children:l,dataset:p,labelDataset:
5715d,helpTextDataset:u,errorDataset:y,required:m=!1})=>e==="Hidden"?i(se,{children:l}):x("div",{className:h("sdsm-form-field",h(uN)),...te(p),children:[o&&e!=="Checkbox"&&i("label",{htmlFor:t,className:h(nr,lN,{[CN]:m}),...te(d),children:o}),l,(n&&!s||n&&s&&!a)&&i("p",{className:lh,...te(u),children:n}),s&&a&&i("div",{id:`${t}-error`,className:Ep,...te(y),children:a})]});function fr(e){return e?Array.isArray(e)?e.join(","):String(e):""}function AN(e){return typeof e=="boolean"?e:typeof e=="string"?e==="true":Array.isArray(e)?e.length>0:!1}function Fs(e,t){return e&&t?`${e}*`:e}var py=(0,Yr.memo)(e=>{let{name:t,validation:o,required:n=!1,placeholder:a="",initialValue:s,type:l="Text",label:p,richLabel:d,labelDataset:u,richLabelDataset:y,readOnly:m,shouldResetToInitial:g,maxLength:f,minValue:b,maxValue:S,...C}=e,{state:I,dispatch:k}=(0,Yr.useContext)(yo),v=I.fields[t],w=I.formBody[t],_=Gt(C,"dataset","helpText","helpTextDataset","errorDataset","contentfulDescriptionDataset");(0,Yr.useEffect)(()=>{k({type:"registerField",name:t,field:{initialValue:s,validation:o,required:n,shouldResetToInitial:l==="Hidden"||g}})},[k,s,t,n,o,l,g]);let D=(0,Yr.useCallback)($=>{let B=$.target,H=B.type==="checkbox"?B.checked:B.value;k({type:"changeFieldValue",name:t,value:H})},[k,t]),M=(0,Yr.useCallback)(()=>{k({type:"invalidateField",name:t})},[k,t]),A=Fs(a,n&&!d&&!p&&!v?.hasError),N=()=>l==="Textarea"?i("textarea",{name:t,placeholder:A,value:fr(w),className:h(gN,jr,{[Kr]:v?.hasError}),required:n,onInvalid:M,readOnly:m,onChange:D,onBlur:D,maxLength:f??600,"aria-describedby":v?.hasError?`${t}-error`:void 0,"aria-invalid":v?.hasError??!1,..._}):l==="Checkbox"?x("div",{className:mN,children:[i("input",{type:"checkbox",name:t,id:t,onInvalid:M,placeholder:a,checked:AN(w),className:h(yN,jr,{[Kr]:v?.hasError}),required:n,onChange:D,onBlur:D,readOnly:m,"aria-describedby":v?.hasError?`${t}-error`:void 0,"aria-invalid":v?.hasError??!1,..._}),i("label",{htmlFor:t,...te(d?y:u),children:d??p})]}):l==="Number"||l==="Date"?i("input",{type:l,name:t,placeholder:A,value:fr(w),className:h(Rs,jr,{[Kr]:v?.hasError}),required:n,readOnly:m,onChange:D,onInvalid:M,onBlur:D,min:b,max:S,"aria-describedby":v?.hasError?`${t}-error`:void 0,"aria-invalid":v?.hasError??!1,..._}):i("input",{type:l==="Hidden"?"hidden":"text",name:t,placeholder:A,value:fr(w),className:h(Rs,jr,{[Kr]:v?.hasError}),required:n,readOnly:m,onChange:D,onInvalid:M,onBlur:D,maxLength:f,"aria-describedby":v?.hasError?`${t}-error`:void 0,"aria-invalid":v?.hasError??!1,..._});return i($a,{...e,label:d??p,hasError:v?.hasError??!1,type:l??"Hidden",children:N()})});py.displayName="Input";var Bs=T(E());var LN=T(PN()),Vo=T(E()),HN=T(ua());var NN=c` 5716 position: relative; 5717 5718 i { 5719 cursor: pointer; 5720 margin-left: 10px; 5721 width: 10px; 5722 } 5723`,EN=c` 5724 height: auto; 5725 padding: 0; 5726 5727 .displayNone { 5728 display: none; 5729 } 5730 5731 .searchWrapper { 5732 align-items: center; 5733 border: 0; 5734 color: ${r("--multi-select-fg-color")}; 5735 display: flex; 5736 flex-wrap: wrap; 5737 height: auto; 5738 min-height: ${r("--multi-select-min-height")}; 5739 padding: ${r("--multi-select-padding")}; 5740 5741 input { 5742 color: inherit; 5743 cursor: default; 5744 flex: 1 1 0%; 5745 font-family: inherit; 5746 font-size: inherit; 5747 min-width: 0px; 5748 padding-left: ${r("--spacing-xs")}; 5749 } 5750 5751 .chip { 5752 background: ${r("--multi-select-chip-bg-color")}; 5753 border-radius: ${r("--multi-select-chip-border-radius")}; 5754 color: ${r("--multi-select-chip-fg-color")}; 5755 cursor: default; 5756 font-size: inherit; 5757 margin: ${r("--multi-select-chip-margin")}; 5758 padding: ${r("--spacing-xs")}; 5759 5760 svg { 5761 fill: ${r("--multi-select-chip-fg-color")}; 5762 } 5763 } 5764 5765 .icon_down_dir { 5766 right: -60px; 5767 } 5768 } 5769 5770 .optionListContainer { 5771 background: ${r("--multi-select-bg-color")}; 5772 border-radius: ${r("--multi-select-border-radius")}; 5773 border: 1px solid ${r("--multi-select-border-color")}; 5774 border-top-color: transparent; 5775 box-shadow: ${r("--multi-select-box-shadow")}; 5776 list-style-type: none; 5777 padding: 0px ${r("--spacing-xs")}; 5778 z-index: 51; 5779 5780 .optionContainer { 5781 border: none; 5782 5783 &::-webkit-scrollbar {
5784 width: 7px; 5785 } 5786 5787 &::-webkit-scrollbar-thumb { 5788 background-color: rgba(0, 0, 0, 0.5); 5789 border-radius: ${r("--border-radius-s")}; 5790 box-shadow: 0 0 1px rgba(255, 255, 255, 0.5); 5791 } 5792 } 5793 5794 .option { 5795 align-items: center; 5796 border-radius: ${r("--multi-select-option-border-radius")}; 5797 color: ${r("--multi-select-option-fg-color")}; 5798 display: flex; 5799 margin: ${r("--spacing-xs")} 0px; 5800 padding: ${r("--multi-select-option-padding")}; 5801 5802 &.highlight, 5803 &:hover { 5804 background: ${r("--multi-select-chip-bg-color")}; 5805 color: ${r("--multi-select-option-fg-color")}; 5806 } 5807 5808 input[type='checkbox'] { 5809 height: 17px; 5810 width: 17px; 5811 5812 &:checked { 5813 accent-color: ${r("--multi-select-option-fg-color")}; 5814 } 5815 } 5816 } 5817 } 5818`,RN=c` 5819 appearance: none; 5820 background: none; 5821 border: none; 5822 cursor: pointer; 5823 height: 20px; 5824 margin: -4px; 5825 padding: 0; 5826 position: absolute; 5827 right: 16px; 5828 top: 19px; 5829 width: 20px; 5830 5831 svg { 5832 width: 100%; 5833 height: 100%; 5834 fill: ${r("--multi-select-fg-color")}; 5835 } 5836 5837 html[dir='rtl'] & { 5838 right: unset; 5839 left: 16px; 5840 } 5841`,FN=c` 5842 margin: -7px; 5843 5844 svg { 5845 fill: ${r("--multi-select-fg-color")}; 5846 } 5847`,BN=c` 5848 cursor: pointer; 5849 white-space: nowrap; 5850`;var $N=e=>e instanceof Element&&!!e.closest(".custom-close"),aj=e=>{let t=()=>e.querySelector(".searchWrapper input"),o,n=s=>{$N(s.target)&&s.preventDefault()},a=s=>{if(!$N(s.target))return;let l=t();!l||document.activeElement===l||(l.disabled=!0,clearTimeout(o),o=setTimeout(()=>{l.disabled=!1},0))};return e.addEventListener("mousedown",n,!0),e.addEventListener("click",a,!0),()=>{e.removeEventListener("mousedown",n,!0),e.removeEventListener("click",a,!0),clearTimeout(o)}},dy=({options:e,selectedValues:t,displayValue:o="name",placeholder:n,showCheckbox:a,hidePlaceholder:s=!0,avoidHighlightFirstOption:l=!0,onSelect:p,onRemove:d,onKeyPressFn:u,dropdownClassName:y,wrapperClassName:m,arrowClassName:g,maxVisibleChips:f})=>{K("sdsm-multi-select");let b=(0,Vo.useRef)(null),[S,C]=(0,Vo.useState)(null),I=(0,Vo.useMemo)(()=>i(we,{name:"cross",className:FN}),[]);(0,Vo.useLayoutEffect)(()=>{C(b.current?.querySelector(".searchWrapper")??null)},[]),(0,Vo.useEffect)(()=>{let N=b.current;if(N)return aj(N)},[]);let k=t?.length??0,v=f!=null&&k>f,w=v?k-f:0,_=(0,Vo.useMemo)(()=>{if(v)return c` 5851 .searchWrapper .chip:nth-child(n + ${f+1}):not([data-overflow]) { 5852 display: none; 5853 } 5854 .searchWrapper input { 5855 order: 1; 5856 } 5857 `},[v,f]),D=(0,Vo.useCallback)(N=>{N.preventDefault()},[]),M=(0,Vo.useCallback)(()=>{let N=b.current?.querySelector(".searchWrapper input");N&&(document.activeElement===N?N.blur():N.focus())},[]),A=(0,Vo.useCallback)(N=>{N.preventDefault()},[]);return x("div",{ref:b,className:h("sdsm-multi-select",NN,m),children:[i(LN.default,{options:e,selectedValues:t,displayValue:o,placeholder:n,showCheckbox:a,hidePlaceholder:s,avoidHighlightFirstOption:l,onSelect:p,onRemove:d,onKeyPressFn:u,className:h(EN,y,_),customCloseIcon:I}),v&&S&&(0,HN.createPortal)(x("span",{className:h("chip",BN),"data-overflow":!0,onMouseDown:A,children:["+",w," more"]}),S),i("button",{type:"button","aria-label":"Toggle dropdown",className:h(RN,g),onMouseDown:D,onClick:M,children:i(we,{name:"chevron-down"})})]})};dy.displayName="MultiSelect";var ij=[],uy=(0,Bs.memo)(e=>{let{name:t,placeholder:o,showCheckbox:n,options:a,required:s=!1,initialValues:l=ij}=e,{state:p,dispatch:d}=(0,Bs.useContext)(yo),u=p.formBody[t],y=p.fields[t];(0,Bs.useEffect)(()=>{d({type:"registerField",name:t,field:{initialValue:l,required:s}})},[l,d,t,s]);let m=b=>{d({type:"changeFieldValue",name:t,value:b})},g=b=>{b.preventDefault(),b.stopPropagation()},f=b=>{d({type:"changeFieldValue",name:t,value:b})};return i($a,{...e,hasError:y?.hasError,type:"MultiSelect",children:i(dy,{options:a,selectedValues:u,showCheckbox:n,onSelect:m,onRemove:f,hidePlaceholder:!0,avoidHighlightFirstOption:!0,placeholder:Fs(o,!!e.required&&!e.label&&!e.richLabel&&!y?.hasError),displayValue:"name",dropdownClassName:h(hN,jr,{[Kr]:y?.hasError}),wrapperClassName:sy,arrowClassName:SN,onKeyPressFn:g})})});uy.displayName="MultiSelectDropdown";var La=T(E());var xi=(0,La.memo)(e=>{let{name:t,placeholder:o,children:n,required:a=!1,initialValue:s="",allValues:l=[],shouldResetToInitial:p,fieldDataset:d,...u}=e,y={required:a,...Gt(u,"helpText","helpTextDataset","errorDataset","labelDataset","fieldDataset")},{state:m,dispatch:g}=(0,La.useContext)(yo),f=l.includes(fr(s))?s:"",b=m.fields[t],S=m.formBody[t];(0,La.useEffect)(()=>{g({type:"registerField",name:t,field:{required:a,initialValue:f,shouldResetToInitial:p}})},[g,t,a,f,p]);let C=k=>{g({type:"changeFieldValue",name:t,value:k.target.value})},I=(0,La.useCallback)(()=>{g({type:"invalidateField",name:t})},[g,t]);
5857return i($a,{hasError:b?.hasError,...Gt(e,"dataset"),dataset:d,type:"Select",children:x("div",{className:h(sy),children:[x("select",{value:fr(S),name:t,className:h(fN,{[Kr]:b?.hasError}),onChange:C,onBlur:C,onInvalid:I,"aria-describedby":b?.hasError?`${t}-error`:void 0,"aria-invalid":b?.hasError??!1,...y,children:[o&&i("option",{value:"",disabled:!0,children:Fs(o,a&&!e.label&&!e.richLabel&&!b?.hasError)}),n]}),i(we,{name:"chevron-down",className:bN})]})})});xi.displayName="Select";var yy=T(E());var VN=c` 5858 ${P} { 5859 display: none; 5860 } 5861 5862 ${V} { 5863 display: block; 5864 } 5865`,ON=c` 5866 ${P} { 5867 display: block; 5868 } 5869 5870 ${V} { 5871 display: none; 5872 } 5873`,Bp=c` 5874 background: none; 5875 border: none; 5876 color: ${r("--fg-color")}; 5877 cursor: pointer; 5878 padding: 0; 5879 /* stylelint-disable-next-line property-no-vendor-prefix */ 5880 -webkit-appearance: none; 5881 appearance: none; 5882`,uh=c` 5883 display: flex; 5884 width: 100%; 5885 5886 ${V} { 5887 align-items: center; 5888 flex-wrap: wrap; 5889 padding-bottom: 50px; 5890 } 5891 5892 ${P} { 5893 flex-direction: column; 5894 justify-content: flex-end; 5895 margin-block: ${r("--spacing-m")}; 5896 } 5897`,GN=c` 5898 align-items: center; 5899 display: flex; 5900 justify-content: space-between; 5901 padding-block: ${r("--spacing-m")}; 5902`,yh=c` 5903 font-size: ${r("--action-desktop-font-size")}; 5904 line-height: ${r("--action-desktop-font-line-height")}; 5905 5906 ${P} { 5907 font-size: ${r("--action-mobile-font-size")}; 5908 line-height: ${r("--action-mobile-font-line-height")}; 5909 } 5910`,zN=c` 5911 font-family: inherit; 5912 font-weight: ${r("--action-desktop-font-weight")}; 5913 5914 ${P} { 5915 font-weight: ${r("--action-mobile-font-weight")}; 5916 } 5917`,UN=c` 5918 font-weight: ${r("--p1-desktop-font-weight")}; 5919 5920 ${P} { 5921 font-weight: ${r("--p1-mobile-font-weight")}; 5922 } 5923`,WN=c` 5924 align-items: center; 5925 display: flex; 5926`,mh=c` 5927 font-family: inherit; 5928 font-size: ${r("--action-mobile-font-size")}; 5929 font-weight: ${r("--action-mobile-font-weight")}; 5930 line-height: ${r("--action-mobile-font-line-height")}; 5931 margin-inline-end: ${r("--spacing-m")}; 5932 5933 ${V} { 5934 padding-block: ${r("--spacing-m")}; 5935 font-size: ${r("--action-desktop-font-size")}; 5936 font-weight: ${r("--action-desktop-font-weight")}; 5937 line-height: ${r("--action-desktop-font-line-height")}; 5938 } 5939`,qN=c` 5940 align-items: center; 5941 display: flex; 5942 width: ${r("--spacing-l")}; 5943`,QN=c` 5944 fill: ${r("--fg-color")}; 5945 height: auto; 5946 transform: rotate(0deg); 5947 transform-origin: center; 5948 transition: transform 100ms cubic-bezier(0.4, 0, 0.2, 1); 5949 width: 100%; 5950`,KN=c` 5951 transform: rotate(-180deg); 5952`;var $p=({searchMenus:e=[],selectedFilters:t,onChangeFilter:o,mobileFiltersToggleLabel:n,onClearFilters:a,clearButtonLabel:s,mobileFiltersWrapperTextDataset:l,clearFiltersCtaCopyDataset:p})=>{K("sdsm-gallery");let[d,u]=(0,yy.useState)(!1),y=()=>u(!d),m=(0,yy.useMemo)(()=>Object.keys(t).length,[t]);if(e.length===0)return null;let f=e.map(({title:S,id:C,allItemTitle:I,items:k,dataset:v})=>({title:S,id:C,allItemTitle:I,items:k,dataset:v,value:t[C]?t[C]:oy,onChange:w=>o(C,w)})).map(S=>i(eh,{...S,isStandalone:e.length===1},S.id)),b=n??(e.length>1?"Filters":"Filter");return x("section",{className:"sdsm-gallery",children:[i("aside",{className:VN,children:x("div",{className:uh,children:[f,!!m&&i("button",{"data-testid":"clear-btn-desktop",type:"button",className:h(Bp,mh),onClick:a,...te(p),children:s??"Clear"})]})}),x("aside",{className:ON,children:[e.length>1&&x("div",{className:GN,"data-testid":"dropdowns-mobile-wrapper",children:[x("div",{children:[i("button",{type:"button",className:h(Bp,yh,zN),onClick:y,...te(l),children:b}),!!m&&i("span",{"data-testid":"selected-filters-counter-mobile",className:h(yh,UN),children:` (${m})`})]}),x("div",{className:WN,children:[!!m&&i("button",{"data-testid":"clear-btn-mobile",type:"button",className:h(Bp,mh),onClick:a,...te(p),children:s??"Clear"}),i("button",{type:"button",className:h(Bp,qN),onClick:y,children:i(we,{name:"bars-triangle",className:h(QN,{[KN]:d})})})]})]}),(d||e.length===1)&&i("div",{className:uh,children:f})]})]})};$p.displayName="GalleryFiltersV2";var jN=c` 5953 display: flex; 5954 justify-content: flex-start; 5955 flex-wrap: wrap; 5956 gap: ${r("--spacing-m")}; 5957 margin-bottom: ${r("--spacing-m")}; 5958 margin-inline: auto; 5959 5960 /* 5961 We are keeping the media queries in addition to the container queries in case: 5962 - this component is ever rendered without a wrapping SDS-M Page component 5963 - the browser does not support container queries (smart TVs, etc.) 5964 */ 5965 ${Ye} { 5966 gap: ${r("--spacing-l")}; 5967 margin-bottom: ${r("--spacing-l")}; 5968 } 5969
5970 ${kd} { 5971 gap: ${r("--spacing-m")}; 5972 } 5973 5974 ${db} { 5975 gap: ${r("--spacing-l")}; 5976 margin-bottom: ${r("--spacing-l")}; 5977 } 5978 5979 > * { 5980 width: 100%; 5981 5982 /* 5983 We are keeping the media queries in addition to the container queries in case: 5984 - this component is ever rendered without a wrapping SDS-M Page component 5985 - the browser does not support container queries (smart TVs, etc.) 5986 */ 5987 ${V} { 5988 /* 5989 Width calculation assumes 2 cards per line 5990 {50% of parent width} - { gap size / 2 } 5991 */ 5992 width: calc(50% - ${r("--spacing-m")} / 2); 5993 } 5994 5995 ${Ye} { 5996 /* 5997 Width calculation assumes 2 cards per line 5998 {50% of parent width} - { gap size / 2 } 5999 */ 6000 width: calc(50% - ${r("--spacing-l")} / 2); 6001 } 6002 6003 ${co} { 6004 width: 100%; 6005 } 6006 6007 ${ci} { 6008 /* 6009 Width calculation assumes 2 cards per line 6010 {50% of parent width} - { gap size / 2 } 6011 */ 6012 width: calc(50% - ${r("--spacing-m")} / 2); 6013 } 6014 6015 ${db} { 6016 /* 6017 Width calculation assumes 2 cards per line 6018 {50% of parent width} - { gap size / 2 } 6019 */ 6020 width: calc(50% - ${r("--spacing-l")} / 2); 6021 } 6022 } 6023`;var my=({children:e})=>(K("sdsm-gallery"),i("div",{"data-testid":"sdsm-gallery-grid",className:h("sdsm-gallery",jN),children:e}));my.displayName="GalleryGridV2";var sj=1,lj=2;function pj(e,t,o,n){var a=o.length,s=a,l=!n;if(e==null)return!s;for(e=Object(e);a--;){var p=o[a];if(l&&p[2]?p[1]!==e[p[0]]:!(p[0]in e))return!1}for(;++a<s;){p=o[a];var d=p[0],u=e[d],y=p[1];if(l&&p[2]){if(u===void 0&&!(d in e))return!1}else{var m=new Mk;if(n)var g=n(u,y,d,e,t,m);if(!(g===void 0?Ed(y,u,sj|lj,n,m):g))return!1}}return!0}var YN=pj;hk();function cj(e){return e===e&&!Zl(e)}var gy=cj;function dj(e){for(var t=Sd(e),o=t.length;o--;){var n=t[o],a=e[n];t[o]=[n,a,gy(a)]}return t}var XN=dj;function uj(e,t){return function(o){return o==null?!1:o[e]===t&&(t!==void 0||e in Object(o))}}var fy=uj;function yj(e){var t=XN(e);return t.length==1&&t[0][2]?fy(t[0][0],t[0][1]):function(o){return o===e||YN(o,e,t)}}var JN=yj;function mj(e,t,o){var n=e==null?void 0:ls(e,t);return n===void 0?o:n}var Lp=mj;function gj(e,t){return e!=null&&t in Object(e)}var ZN=gj;function fj(e,t,o){t=ss(t,e);for(var n=-1,a=t.length,s=!1;++n<a;){var l=ba(t[n]);if(!(s=e!=null&&o(e,l)))break;e=e[l]}return s||++n!=a?s:(a=e==null?0:e.length,!!a&&xk(a)&&bd(l,a)&&(Ko(e)||Ik(e)))}var eE=fj;function bj(e,t){return e!=null&&eE(e,t,ZN)}var by=bj;var Sj=1,hj=2;function Cj(e,t){return Nd(e)&&gy(t)?fy(ba(e),t):function(o){var n=Lp(o,e);return n===void 0&&n===t?by(o,e):Ed(t,n,Sj|hj)}}var tE=Cj;function xj(e){return function(t){return t?.[e]}}var Sy=xj;function vj(e){return function(t){return ls(t,e)}}var oE=vj;function Ij(e){return Nd(e)?Sy(ba(e)):oE(e)}var nE=Ij;function kj(e){return typeof e=="function"?e:e==null?fd:typeof e=="object"?Ko(e)?tE(e[0],e[1]):JN(e):nE(e)}var Jo=kj;function Mj(e,t){return function(o,n){if(o==null)return o;if(!da(o))return e(o,n);for(var a=o.length,s=t?a:-1,l=Object(o);(t?s--:++s<a)&&n(l[s],s,l)!==!1;);return o}}var rE=Mj;var Aj=rE(Rd),Ha=Aj;function Tj(e,t){var o=-1,n=da(e)?Array(e.length):[];return Ha(e,function(a,s,l){n[++o]=t(a,s,l)}),n}var aE=Tj;function _j(e,t){var o=Ko(e)?Id:aE;return o(e,Jo(t,3))}var hy=_j;var wj={"&":"&","<":"<",">":">",""":'"',"'":"'"},Dj=Yk(wj),iE=Dj;var sE=/&(?:amp|lt|gt|quot|#39);/g,Pj=RegExp(sE.source);function Nj(e){return e=Xk(e),e&&Pj.test(e)?e.replace(sE,iE):e}var br=Nj;var ln=T(E()),Oe=T(F0()),CE=T(pE()),hh=T(dE()),xE=T(yE());function zt(){return zt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},zt.apply(this,arguments)}function Ih(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ch(e,t)}function Ch(e,t){return Ch=Object.setPrototypeOf||function(o,n){return o.__proto__=n,o},Ch(e,t)}function mE(e,t){if(e==null)return{};var o,n,a={},s=Object.keys(e);for(n=0;n<s.length;n++)t.indexOf(o=s[n])>=0||(a[o]=e[o]);return a}var Ee={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},Lj={rel:["amphtml","canonical","alternate"]},Hj={type:["application/ld+json"]}
6023,Vj={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},gE=Object.keys(Ee).map(function(e){return Ee[e]}),Iy={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},Oj=Object.keys(Iy).reduce(function(e,t){return e[Iy[t]]=t,e},{}),Ls=function(e,t){for(var o=e.length-1;o>=0;o-=1){var n=e[o];if(Object.prototype.hasOwnProperty.call(n,t))return n[t]}return null},Gj=function(e){var t=Ls(e,Ee.TITLE),o=Ls(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),o&&t)return o.replace(/%s/g,function(){return t});var n=Ls(e,"defaultTitle");return t||n||void 0},zj=function(e){return Ls(e,"onChangeClientState")||function(){}},gh=function(e,t){return t.filter(function(o){return o[e]!==void 0}).map(function(o){return o[e]}).reduce(function(o,n){return zt({},o,n)},{})},Uj=function(e,t){return t.filter(function(o){return o[Ee.BASE]!==void 0}).map(function(o){return o[Ee.BASE]}).reverse().reduce(function(o,n){if(!o.length)for(var a=Object.keys(n),s=0;s<a.length;s+=1){var l=a[s].toLowerCase();if(e.indexOf(l)!==-1&&n[l])return o.concat(n)}return o},[])},Hp=function(e,t,o){var n={};return o.filter(function(a){return!!Array.isArray(a[e])||(a[e]!==void 0&&console&&typeof console.warn=="function"&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof a[e]+'"'),!1)}).map(function(a){return a[e]}).reverse().reduce(function(a,s){var l={};s.filter(function(m){for(var g,f=Object.keys(m),b=0;b<f.length;b+=1){var S=f[b],C=S.toLowerCase();t.indexOf(C)===-1||g==="rel"&&m[g].toLowerCase()==="canonical"||C==="rel"&&m[C].toLowerCase()==="stylesheet"||(g=C),t.indexOf(S)===-1||S!=="innerHTML"&&S!=="cssText"&&S!=="itemprop"||(g=S)}if(!g||!m[g])return!1;var I=m[g].toLowerCase();return n[g]||(n[g]={}),l[g]||(l[g]={}),!n[g][I]&&(l[g][I]=!0,!0)}).reverse().forEach(function(m){return a.push(m)});for(var p=Object.keys(l),d=0;d<p.length;d+=1){var u=p[d],y=zt({},n[u],l[u]);n[u]=y}return a},[]).reverse()},Wj=function(e,t){if(Array.isArray(e)&&e.length){for(var o=0;o<e.length;o+=1)if(e[o][t])return!0}return!1},vE=function(e){return Array.isArray(e)?e.join(""):e},fh=function(e,t){return Array.isArray(e)?e.reduce(function(o,n){return(function(a,s){for(var l=Object.keys(a),p=0;p<l.length;p+=1)if(s[l[p]]&&s[l[p]].includes(a[l[p]]))return!0;return!1})(n,t)?o.priority.push(n):o.default.push(n),o},{priority:[],default:[]}):{default:e}},fE=function(e,t){var o;return zt({},e,((o={})[t]=void 0,o))},qj=[Ee.NOSCRIPT,Ee.SCRIPT,Ee.STYLE],bh=function(e,t){return t===void 0&&(t=!0),t===!1?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},bE=function(e){return Object.keys(e).reduce(function(t,o){var n=e[o]!==void 0?o+'="'+e[o]+'"':""+o;return t?t+" "+n:n},"")},SE=function(e,t){return t===void 0&&(t={}),Object.keys(e).reduce(function(o,n){return o[Iy[n]||n]=e[n],o},t)},vy=function(e,t){return t.map(function(o,n){var a,s=((a={key:n})["data-rh"]=!0,a);return Object.keys(o).forEach(function(l){var p=Iy[l]||l;p==="innerHTML"||p==="cssText"?s.dangerouslySetInnerHTML={__html:o.innerHTML||o.cssText}:s[p]=o[l]}),ln.default.createElement(e,s)})},bn=function(e,t,o){switch(e){case Ee.TITLE:return{toComponent:function(){return a=t.titleAttributes,(s={key:n=t.title})["data-rh"]=!0,l=SE(a,s),[ln.default.createElement(Ee.TITLE,l,n)];var n,a,s,l},toString:function(){return(function(n,a,s,l){var p=bE(s),d=vE(a);return p?"<"+n+' data-rh="true" '+p+">"+bh(d,l)+"</"+n+">":"<"+n+' data-rh="true">'+bh(d,l)+"</"+n+">"})(e,t.title,t.titleAttributes,o)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return SE(t)},toString:function(){return bE(t)}};default:return{toComponent:function(){return vy(e,t)},toString:function(){return(function(n,a,s){return a.reduce(function(l,p){var d=Object.keys(p).filter(function(m){return!(m==="innerHTML"||m==="cssText")}).reduce(function(m,g){var f=p[g]===void 0?g:g+'="'+bh(p[g],s)+'"';return m?m+" "+f:f},""),u=p.innerHTML||p.cssText||"",y=qj.indexOf(n)===-1;return l+"<"+n+' data-rh="true" '+d+(y?"/>":">"+u+"</"+n+">")},"")})(e,t,o)}}}},xh=function(e){var t=e.baseTag,o=e.bodyAttributes,n=e.encode,a=e.htmlAttributes,s=e.noscriptTags,l=e.styleTags,p=e.title,d=p===void 0?"":p,u=e.titleAttributes,y=e.linkTags,m=e.metaTags,g=e.scriptTags,f={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var b=(function(S){var C=S.linkTags,I=S.scriptTags,
6023k=S.encode,v=fh(S.metaTags,Vj),w=fh(C,Lj),_=fh(I,Hj);return{priorityMethods:{toComponent:function(){return[].concat(vy(Ee.META,v.priority),vy(Ee.LINK,w.priority),vy(Ee.SCRIPT,_.priority))},toString:function(){return bn(Ee.META,v.priority,k)+" "+bn(Ee.LINK,w.priority,k)+" "+bn(Ee.SCRIPT,_.priority,k)}},metaTags:v.default,linkTags:w.default,scriptTags:_.default}})(e);f=b.priorityMethods,y=b.linkTags,m=b.metaTags,g=b.scriptTags}return{priority:f,base:bn(Ee.BASE,t,n),bodyAttributes:bn("bodyAttributes",o,n),htmlAttributes:bn("htmlAttributes",a,n),link:bn(Ee.LINK,y,n),meta:bn(Ee.META,m,n),noscript:bn(Ee.NOSCRIPT,s,n),script:bn(Ee.SCRIPT,g,n),style:bn(Ee.STYLE,l,n),title:bn(Ee.TITLE,{title:d,titleAttributes:u},n)}},xy=[],vh=function(e,t){var o=this;t===void 0&&(t=typeof document<"u"),this.instances=[],this.value={setHelmet:function(n){o.context.helmet=n},helmetInstances:{get:function(){return o.canUseDOM?xy:o.instances},add:function(n){(o.canUseDOM?xy:o.instances).push(n)},remove:function(n){var a=(o.canUseDOM?xy:o.instances).indexOf(n);(o.canUseDOM?xy:o.instances).splice(a,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=xh({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},IE=ln.default.createContext({}),Qj=Oe.default.shape({setHelmet:Oe.default.func,helmetInstances:Oe.default.shape({get:Oe.default.func,add:Oe.default.func,remove:Oe.default.func})}),Kj=typeof document<"u",vi=(function(e){function t(o){var n;return(n=e.call(this,o)||this).helmetData=new vh(n.props.context,t.canUseDOM),n}return Ih(t,e),t.prototype.render=function(){return ln.default.createElement(IE.Provider,{value:this.helmetData.value},this.props.children)},t})(ln.Component);vi.canUseDOM=Kj,vi.propTypes={context:Oe.default.shape({helmet:Oe.default.shape()}),children:Oe.default.node.isRequired},vi.defaultProps={context:{}},vi.displayName="HelmetProvider";var $s=function(e,t){var o,n=document.head||document.querySelector(Ee.HEAD),a=n.querySelectorAll(e+"[data-rh]"),s=[].slice.call(a),l=[];return t&&t.length&&t.forEach(function(p){var d=document.createElement(e);for(var u in p)Object.prototype.hasOwnProperty.call(p,u)&&(u==="innerHTML"?d.innerHTML=p.innerHTML:u==="cssText"?d.styleSheet?d.styleSheet.cssText=p.cssText:d.appendChild(document.createTextNode(p.cssText)):d.setAttribute(u,p[u]===void 0?"":p[u]));d.setAttribute("data-rh","true"),s.some(function(y,m){return o=m,d.isEqualNode(y)})?s.splice(o,1):l.push(d)}),s.forEach(function(p){return p.parentNode.removeChild(p)}),l.forEach(function(p){return n.appendChild(p)}),{oldTags:s,newTags:l}},Sh=function(e,t){var o=document.getElementsByTagName(e)[0];if(o){for(var n=o.getAttribute("data-rh"),a=n?n.split(","):[],s=[].concat(a),l=Object.keys(t),p=0;p<l.length;p+=1){var d=l[p],u=t[d]||"";o.getAttribute(d)!==u&&o.setAttribute(d,u),a.indexOf(d)===-1&&a.push(d);var y=s.indexOf(d);y!==-1&&s.splice(y,1)}for(var m=s.length-1;m>=0;m-=1)o.removeAttribute(s[m]);a.length===s.length?o.removeAttribute("data-rh"):o.getAttribute("data-rh")!==l.join(",")&&o.setAttribute("data-rh",l.join(","))}},hE=function(e,t){var o=e.baseTag,n=e.htmlAttributes,a=e.linkTags,s=e.metaTags,l=e.noscriptTags,p=e.onChangeClientState,d=e.scriptTags,u=e.styleTags,y=e.title,m=e.titleAttributes;Sh(Ee.BODY,e.bodyAttributes),Sh(Ee.HTML,n),(function(S,C){S!==void 0&&document.title!==S&&(document.title=vE(S)),Sh(Ee.TITLE,C)})(y,m);var g={baseTag:$s(Ee.BASE,o),linkTags:$s(Ee.LINK,a),metaTags:$s(Ee.META,s),noscriptTags:$s(Ee.NOSCRIPT,l),scriptTags:$s(Ee.SCRIPT,d),styleTags:$s(Ee.STYLE,u)},f={},b={};Object.keys(g).forEach(function(S){var C=g[S],I=C.newTags,k=C.oldTags;I.length&&(f[S]=I),k.length&&(b[S]=g[S].oldTags)}),t&&t(),p(e,f,b)},Vp=null,ky=(function(e){function t(){for(var n,a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];return(n=e.call.apply(e,[this].concat(s))||this).rendered=!1,n}Ih(t,e);var o=t.prototype;return o.shouldComponentUpdate=function(n){return!(0,xE.default)(n,this.props)},o.componentDidUpdate=function(){this.emitChange()},o.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},o.emitChange=function(){var n,a,s=this.props.context,l=s.setHelmet,p=null,d=(n=s.helmetInstances.get().map(function(u){var y=zt({},u.props);return delete y.context,y}),{baseTag:Uj(["href"],n),bodyAttributes:gh("bodyAttributes",n),defer:Ls(n,"defer"),encode:Ls(n,"encodeSpecialCharacters"),htmlAttributes:gh("htmlAttributes",n),linkTags:Hp(Ee.LINK,["rel","href"],n),metaTags:Hp(Ee.META,["name","charset","http-equiv","property","itemprop"],n),noscriptTags:Hp(Ee.NOSCRIPT,["innerHTML"],n),onChangeClientState:zj(n),scriptTags:Hp(Ee.SCRIPT,["src","innerHTML"],n),styleTags:Hp(Ee.STYLE,["cssText"],n),title:Gj(n),titleAttributes:gh("titleAttributes",n),prioritizeSeoTags:Wj(n,"prioritizeSeoTags")});vi.canUseDOM?(a=d,Vp&&cancelAnimationFrame(Vp),a.defer?Vp=requestAnimationFrame(function(){hE(a,function(){Vp=null})}):(hE(a),Vp=null)):xh&&(p=xh(d)),l(p)},o.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},o.render=function(){return this.init(),null},t})(ln.Component);ky.propTypes={context:Qj.isRequired},ky.displayName="HelmetDispatcher";var jj=["children"],Yj=["children"],vt=(function(e){function t(){return e.apply(this,arguments)||this}Ih(t,e);var o=t.prototype;return o.shouldComponentUpdate=function(n){return!(0,CE.default)(fE(this.props,"helmetData"),fE(n,"helmetData"))},o.mapNestedChildrenToProps=function(n,a){if(!a)return null;switch(n.type){case Ee.SCRIPT:case Ee.NOSCRIPT:return{innerHTML:a};case Ee.STYLE:return{cssText:a};default:throw new Error("<"+n.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},o.flattenArrayTypeChildren=function(n){var a,s=n.child,l=n.arrayTypeChildren;return zt({},l,((a={})[s.type]=[].concat(l[s.type]||[],[zt({},n.newChildProps,this.mapNestedChildrenToProps(s,n.nestedChildren))]),a))},o.mapObjectTypeChildren=function(n){var a,s,l=n.child,p=n.newProps,d=n.newChildProps,u=n.nestedChildren;switch(l.type){case Ee.TITLE:return zt({},p,((a={})[l.type]=u,a.titleAttributes=zt({},d),a));case Ee.BODY:return zt({},p,{bodyAttributes:zt({},d)});case Ee.HTML:return zt({},p,{htmlAttributes:zt({},d)});default:return zt({},p,((s={})[l.type]=zt({},d),s))}},o.mapArrayTypeChildrenToProps=function(n,a){var s=zt({},a);
6023return Object.keys(n).forEach(function(l){var p;s=zt({},s,((p={})[l]=n[l],p))}),s},o.warnOnInvalidChildren=function(n,a){return(0,hh.default)(gE.some(function(s){return n.type===s}),typeof n.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+gE.join(", ")+" are allowed. Helmet does not support rendering <"+n.type+"> elements. Refer to our API for more information."),(0,hh.default)(!a||typeof a=="string"||Array.isArray(a)&&!a.some(function(s){return typeof s!="string"}),"Helmet expects a string as a child of <"+n.type+">. Did you forget to wrap your children in braces? ( <"+n.type+">{``}</"+n.type+"> ) Refer to our API for more information."),!0},o.mapChildrenToProps=function(n,a){var s=this,l={};return ln.default.Children.forEach(n,function(p){if(p&&p.props){var d=p.props,u=d.children,y=mE(d,jj),m=Object.keys(y).reduce(function(f,b){return f[Oj[b]||b]=y[b],f},{}),g=p.type;switch(typeof g=="symbol"?g=g.toString():s.warnOnInvali
6023dChildren(p,u),g){case Ee.FRAGMENT:a=s.mapChildrenToProps(u,a);break;case Ee.LINK:case Ee.META:case Ee.NOSCRIPT:case Ee.SCRIPT:case Ee.STYLE:l=s.flattenArrayTypeChildren({child:p,arrayTypeChildren:l,newChildProps:m,nestedChildren:u});break;default:a=s.mapObjectTypeChildren({child:p,newProps:a,newChildProps:m,nestedChildren:u})}}}),this.mapArrayTypeChildrenToProps(l,a)},o.render=function(){var n=this.props,a=n.children,s=mE(n,Yj),l=zt({},s),p=s.helmetData;return a&&(l=this.mapChildrenToProps(a,l)),!p||p instanceof vh||(p=new vh(p.context,p.instances)),p?ln.default.createElement(ky,zt({},l,{context:p.value,helmetData:void 0})):ln.default.createElement(IE.Consumer,null,function(d){return ln.default.createElement(ky,zt({},l,{context:d}))})},t})(ln.Component);vt.propTypes={base:Oe.default.object,bodyAttributes:Oe.default.object,children:Oe.default.oneOfType([Oe.default.arrayOf(Oe.default.node),Oe.default.node]),defaultTitle:Oe.default.string,defer:Oe.default.bool,encodeSpecialCharacters:Oe.default.bool,htmlAttributes:Oe.default.object,link:Oe.default.arrayOf(Oe.default.object),meta:Oe.default.arrayOf(Oe.default.object),noscript:Oe.default.arrayOf(Oe.default.object),onChangeClientState:Oe.default.func,script:Oe.default.arrayOf(Oe.default.object),style:Oe.default.arrayOf(Oe.default.object),title:Oe.default.string,titleAttributes:Oe.default.object,titleTemplate:Oe.default.string,prioritizeSeoTags:Oe.default.bool,helmetData:Oe.default.object},vt.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},vt.displayName="Helmet";var Ii=({title:e,ogTitle:t,description:o,keywords:n,ogImage:a,ogVideo:s,noIndex:l,noFollow:p,customMetas:d})=>{let u;l&&p?u="noindex, nofollow":l?u="noindex":p&&(u="nofollow");let y=t||e;return x(vt,{children:[!!e&&i("title",{children:br(e)}),!!y&&i("meta",{property:"og:title",content:br(y)}),!!o&&i("meta",{name:"description",content:br(o)}),!!o&&i("meta",{property:"og:description",content:br(o)}),!!n&&i("meta",{name:"keywords",content:br(n.join(","))}),!!a&&i("meta",{property:"og:image",content:a}),!!a&&i("meta",{property:"og:image:secure_url",content:a}),!!s&&i("meta",{property:"og:video",content:s}),!!s&&i("meta",{property:"og:video:secure_url",content:s}),!!u&&i("meta",{name:"robots",content:u}),!!d&&hy(d,m=>i("meta",{name:m.name,content:m.content},m.name))]})};Ii.displayName="Header";var rF=T(E());var Dy=T(E());var Sr=T(YW()),Sn=T(E()),Mh=T(XW()),Va=T(PE()),uY=Object.defineProperty,yY=Object.defineProperties,mY=Object.getOwnPropertyDescriptors,Ty=Object.getOwnPropertySymbols,EE=Object.prototype.hasOwnProperty,RE=Object.prototype.propertyIsEnumerable,NE=(e,t,o)=>t in e?uY(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,pn=(e,t)=>{for(var o in t||(t={}))EE.call(t,o)&&NE(e,o,t[o]);if(Ty)for(var o of Ty(t))RE.call(t,o)&&NE(e,o,t[o]);return e},_y=(e,t)=>yY(e,mY(t)),wy=(e,t)=>{var o={};for(var n in e)EE.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(e!=null&&Ty)for(var n of Ty(e))t.indexOf(n)<0&&RE.call(e,n)&&(o[n]=e[n]);return o};function wt(e){return o=>{var n=o,{bgStyle:a={},borderRadius:s=0,iconFillColor:l="white",round:p=!1,size:d=64}=n,u=wy(n,["bgStyle","borderRadius","iconFillColor","round","size"]);return(0,Sr.jsxs)("svg",_y(pn({viewBox:"0 0 64 64",width:d,height:d},u),{children:[p?(0,Sr.jsx)("circle",{cx:"32",cy:"32",r:"32",fill:e.color,style:a}):(0,Sr.jsx)("rect",{width:"64",height:"64",rx:s,ry:s,fill:e.color,style:a}),(0,Sr.jsx)("path",{d:e.path,fill:l})]}))}}var NIe=wt({color:"#7f7f7f",networkName:"email",path:"M17,22v20h30V22H17z M41.1,25L32,32.1L22.9,25H41.1z M20,39V26.6l12,9.3l12-9.3V39H20z"});function dt(e){let t=Object.entries(e).filter(([,o])=>o!=null).map(([o,n])=>`${encodeURIComponent(o)}=${encodeURIComponent(String(n))}`);return t.length>0?`?${t.join("&")}`:""}var gY=e=>!!e&&(typeof e=="object"||typeof e=="function")&&typeof e.then=="function",fY=(e,t)=>({left:window.outerWidth/2+(window.screenX||window.screenLeft||0)-e/2,top:window.outerHeight/2+(window.screenY||window.screenTop||0)-t/2}),bY=(e,t)=>({top:(window.screen.height-t)/2,left:(window.screen.width-e)/2});function SY(e,t,o){var n=t,{height:a,width:s}=n,l=wy(n,["height","width"]);let p=pn({height:a,width:s,location:"no",toolbar:"no",status:"no",directories:"no",menubar:"no",scrollbars:"yes",resizable:"no",centerscreen:"yes",chrome:"yes"},l),d=window.open(e,"",Object.keys(p).map(u=>`${u}=${p[u]}`).join(", "));if(o){let u=window.setInterval(()=>{try{(d===null||d.closed)&&(window.clearInterval(u),o(d))}catch(y){console.error(y)}},1e3)}return d}function hY(e){var t=e,{beforeOnClick:o,children:n,className:a,disabled:s,disabledStyle:l={opacity:.6},forwardedRef:p,htmlTitle:d,networkLink:u,networkName:y,onClick:m,onShareWindowClose:g,openShareDialogOnClick:f=!0,opts:b,resetButtonStyle:S=!0,style:C,url:I,windowHeight:k=400,windowPosition:v="windowCenter",windowWidth:w=550}=t,_=wy(t,["beforeOnClick","children","className","disabled","disabledStyle","forwardedRef","htmlTitle","networkLink","networkName","onClick","onShareWindowClose","openShareDialogOnClick","opts","resetButtonStyle","style","url","windowHeight","windowPosition","windowWidth"]);let D=async N=>{let $=u(I,b);if(!s){if(N.preventDefault(),o){let B=o();gY(B)&&await B}if(f){let B=pn({height:k,width:w},v==="windowCenter"?fY(w,k):bY(w,k));SY($,B,g)}m&&m(N,$)}},M=(0,Mh.default)("react-share__ShareButton",{"react-share__ShareButton--disabled":!!s,disabled:!!s},a),A=pn(pn(S?{backgroundColor:"transparent",border:"none",padding:0,font:"inherit",color:"inherit",curs
6023or:"pointer"}:{},C),s&&l);return(0,Sr.jsx)("button",_y(pn({},_),{className:M,onClick:D,ref:p,style:A,title:d,children:n}))}function $t(e,t,o,n){function a(s,l){let p=o(s),d=pn({},s);return Object.keys(p).forEach(y=>{delete d[y]}),(0,Sr.jsx)(hY,_y(pn(pn({},n),d),{forwardedRef:l,networkName:e,networkLink:t,opts:o(s)}))}return a.displayName=`ShareButton-${e}`,(0,Sn.forwardRef)(a)}function CY(e,{subject:t,body:o,separator:n}){return"mailto:"+dt({subject:t,body:o?o+n+e:e})}var EIe=$t("email",CY,e=>({subject:e.subject,body:e.body,separator:e.separator||" "}),{openShareDialogOnClick:!1,onClick:(e,t)=>{window.location.href=t}});var RIe=wt({color:"#0965FE",networkName:"facebook",path:"M34.1,47V33.3h4.6l0.7-5.3h-5.3v-3.4c0-1.5,0.4-2.6,2.6-2.6l2.8,0v-4.8c-0.5-0.1-2.2-0.2-4.1-0.2 c-4.1,0-6.9,2.5-6.9,7V28H24v5.3h4.6V47H34.1z"});var FIe=wt({color:"#0A7CFF",networkName:"facebookmessenger",path:"M 53.066406 21.871094 C 52.667969 21.339844 51.941406 21.179688 51.359375 21.496094 L 37.492188 29.058594 L 28.867188 21.660156 C 28.339844 21.207031 27.550781 21.238281 27.054688 21.730469 L 11.058594 37.726562 C 10.539062 38.25 10.542969 39.09375 11.0625 39.613281 C 11.480469 40.027344 12.121094 40.121094 12.640625 39.839844 L 26.503906 32.28125 L 35.136719 39.679688 C 35.667969 40.132812 36.457031 40.101562 36.949219 39.609375 L 52.949219 23.613281 C 53.414062 23.140625 53.464844 22.398438 53.066406 21.871094 Z M 53.066406 21.871094"});function xY(e,{appId:t,redirectUri:o,to:n}){return"https://www.facebook.com/dialog/send"+dt({link:e,redirect_uri:o||e,app_id:t,to:n})}var BIe=$t("facebookmessenger",xY,e=>({appId:e.appId,redirectUri:e.redirectUri,to:e.to}),{windowWidth:1e3,windowHeight:820});var kh=class extends Error{constructor(t){super(t),this.name="AssertionError"}};function _t(e,t){if(!e)throw new kh(t)}function vY(e,{hashtag:t}){return _t(e,"facebook.url"),"https://www.facebook.com/sharer/sharer.php"+dt({u:e,hashtag:t})}var $Ie=$t("facebook",vY,e=>({hashtag:e.hashtag}),{windowWidth:550,windowHeight:400});function IY(){let e=(0,Sn.useRef)(!1);return(0,Sn.useEffect)(()=>(e.current=!0,()=>{e.current=!1}),[]),(0,Sn.useCallback)(()=>e.current,[])}function kY(e){var t=e,{children:o=g=>g,className:n,getCount:a,url:s}=t,l=wy(t,["children","className","getCount","url"]);let p=IY(),[d,u]=(0,Sn.useState)(void 0),[y,m]=(0,Sn.useState)(!1);return(0,Sn.useEffect)(()=>{m(!0),a(s,g=>{p()&&(u(g),m(!1))})},[s]),(0,Sr.jsx)("span",_y(pn({className:(0,Mh.default)("react-share__ShareCount",n)},l),{children:!y&&d!==void 0&&o(d)}))}function Mi(e){let t=o=>(0,Sr.jsx)(kY,pn({getCount:e},o));return t.displayName=`ShareCount(${e.name})`,t}function MY(e,t){let o=`https://graph.facebook.com/?id=${e}&fields=og_object{engagement}`;(0,Va.default)(o,(n,a)=>{t(!n&&a&&a.og_object&&a.og_object.engagement?a.og_object.engagement.count:void 0)})}var LIe=Mi(MY),HIe=wt({color:"#009ad9",networkName:"hatena",path:"M 36.164062 33.554688 C 34.988281 32.234375 33.347656 31.5 31.253906 31.34375 C 33.125 30.835938 34.476562 30.09375 35.335938 29.09375 C 36.191406 28.09375 36.609375 26.78125 36.609375 25.101562 C 36.628906 23.875 36.332031 22.660156 35.75 21.578125 C 35.160156 20.558594 34.292969 19.71875 33.253906 19.160156 C 32.304688 18.640625 31.175781 18.265625 29.847656 18.042969 C 28.523438 17.824219 26.195312 17.730469 22.867188 17.730469 L 14.769531 17.730469 L 14.769531 47.269531 L 23.113281 47.269531 C 26.46875 47.269531 28.886719 47.15625 30.367188 46.929688 C 31.851562 46.695312 33.085938 46.304688 34.085938 45.773438 C 35.289062 45.148438 36.28125 44.179688 36.933594 42.992188 C 37.597656 41.796875 37.933594 40.402344 37.933594 38.816406 C 37.933594 36.621094 37.347656 34.867188 36.164062 33.554688 Z M 22.257812 24.269531 L 23.984375 24.269531 C 25.988281 24.269531 27.332031 24.496094 28.015625 24.945312 C 28.703125 25.402344 29.042969 26.183594 29.042969 27.285156 C 29.042969 28.390625 28.664062 29.105469 27.9375 29.550781 C 27.210938 29.992188 25.84375 30.199219 23.855469 30.199219 L 22.257812 30.199219 Z M 29.121094 41.210938 C 28.328125 41.691406 26.976562 41.925781 25.078125 41.925781 L 22.257812 41.925781 L 22.257812 35.488281 L 25.195312 35.488281 C 27.144531 35.488281 28.496094 35.738281 29.210938 36.230469 C 29.925781 36.726562 30.304688 37.582031 30.304688 38.832031 C 30.304688 40.078125 29.914062 40.742188 29.105469 41.222656 Z M 29.121094 41.210938 M 46.488281 39.792969 C 44.421875 39.792969 42.742188 41.46875 42.742188 43.535156 C 42.742188 45.605469 44.421875 47.28125 46.488281 47.28125 C 48.554688 47.28125 50.230469 45.605469 50.230469 43.535156 C 50.230469 41.46875 48.554688 39.792969 46.488281 39.792969 Z M 46.488281 39.792969 M 43.238281 17.730469 L 49.738281 17.730469 L 49.738281 37.429688 L 43.238281 37.429688 Z M 43.238281 17.730469 "});function AY(e,{title:t}){return _t(e,"hatena.url"),`http://b.hatena.ne.jp/add?mode=confirm&url=${e}&title=${t}`}var VIe=$t("hatena",AY,e=>({title:e.title}),{windowWidth:660,windowHeight:460,windowPosition:"windowCenter"});function TY(e,t){(0,Va.default)("https://bookmark.hatenaapis.com/count/entry"+dt({url:e}),(n,a)=>{t(a??void 0)})}var OIe=Mi(TY),GIe=wt({color:"#1F1F1F",networkName:"instapaper",path:"M35.688 43.012c0 2.425.361 2.785 3.912 3.056V48H24.401v-1.932c3.555-.27 3.912-.63 3.912-3.056V20.944c0-2.379-.36-2.785-3.912-3.056V16H39.6v1.888c-3.55.27-3.912.675-3.912 3.056v22.068h.001z"});function _Y(e,{title:t,description:o}){return _t(e,"instapaper.url"),"http://www.instapaper.com/hello2"+dt({url:e,title:t,description:o})}
6023var zIe=$t("instapaper",_Y,e=>({title:e.title,description:e.description}),{windowWidth:500,windowHeight:500,windowPosition:"windowCenter"});var UIe=wt({color:"#00b800",networkName:"line",path:"M52.62 30.138c0 3.693-1.432 7.019-4.42 10.296h.001c-4.326 4.979-14 11.044-16.201 11.972-2.2.927-1.876-.591-1.786-1.112l.294-1.765c.069-.527.142-1.343-.066-1.865-.232-.574-1.146-.872-1.817-1.016-9.909-1.31-17.245-8.238-17.245-16.51 0-9.226 9.251-16.733 20.62-16.733 11.37 0 20.62 7.507 20.62 16.733zM27.81 25.68h-1.446a.402.402 0 0 0-.402.401v8.985c0 .221.18.4.402.4h1.446a.401.401 0 0 0 .402-.4v-8.985a.402.402 0 0 0-.402-.401zm9.956 0H36.32a.402.402 0 0 0-.402.401v5.338L31.8 25.858a.39.39 0 0 0-.031-.04l-.002-.003-.024-.025-.008-.007a.313.313 0 0 0-.032-.026.255.255 0 0 1-.021-.014l-.012-.007-.021-.012-.013-.006-.023-.01-.013-.005-.024-.008-.014-.003-.023-.005-.017-.002-.021-.003-.021-.002h-1.46a.402.402 0 0 0-.402.401v8.985c0 .221.18.4.402.4h1.446a.401.401 0 0 0 .402-.4v-5.337l4.123 5.568c.028.04.063.072.101.099l.004.003a.236.236 0 0 0 .025.015l.012.006.019.01a.154.154 0 0 1 .019.008l.012.004.028.01.005.001a.442.442 0 0 0 .104.013h1.446a.4.4 0 0 0 .401-.4v-8.985a.402.402 0 0 0-.401-.401zm-13.442 7.537h-3.93v-7.136a.401.401 0 0 0-.401-.401h-1.447a.4.4 0 0 0-.401.401v8.984a.392.392 0 0 0 .123.29c.072.068.17.111.278.111h5.778a.4.4 0 0 0 .401-.401v-1.447a.401.401 0 0 0-.401-.401zm21.429-5.287c.222 0 .401-.18.401-.402v-1.446a.401.401 0 0 0-.401-.402h-5.778a.398.398 0 0 0-.279.113l-.005.004-.006.008a.397.397 0 0 0-.111.276v8.984c0 .108.043.206.112.278l.005.006a.401.401 0 0 0 .284.117h5.778a.4.4 0 0 0 .401-.401v-1.447a.401.401 0 0 0-.401-.401h-3.93v-1.519h3.93c.222 0 .401-.18.401-.402V29.85a.401.401 0 0 0-.401-.402h-3.93V27.93h3.93z"});function wY(e,{title:t}){return _t(e,"line.url"),"https://social-plugins.line.me/lineit/share"+dt({url:e,text:t})}var WIe=$t("line",wY,e=>({title:e.title}),{windowWidth:500,windowHeight:500});var DY=wt({color:"#0077B5",networkName:"linkedin",path:"M20.4,44h5.4V26.6h-5.4V44z M23.1,18c-1.7,0-3.1,1.4-3.1,3.1c0,1.7,1.4,3.1,3.1,3.1 c1.7,0,3.1-1.4,3.1-3.1C26.2,19.4,24.8,18,23.1,18z M39.5,26.2c-2.6,0-4.4,1.4-5.1,2.8h-0.1v-2.4h-5.2V44h5.4v-8.6 c0-2.3,0.4-4.5,3.2-4.5c2.8,0,2.8,2.6,2.8,4.6V44H46v-9.5C46,29.8,45,26.2,39.5,26.2z"}),FE=DY;function PY(e,{title:t,summary:o,source:n}){return _t(e,"linkedin.url"),"https://linkedin.com/shareArticle"+dt({url:e,mini:"true",title:t,summary:o,source:n})}var NY=$t("linkedin",PY,({title:e,summary:t,source:o})=>({title:e,summary:t,source:o}),{windowWidth:750,windowHeight:600}),BE=NY,qIe=wt({color:"#21A5D8",networkName:"livejournal",path:"M18.3407821,28.1764706 L21.9441341,31.789916 L33.0055865,42.882353 C33.0055865,42.882353 33.0893855,42.9663866 33.0893855,42.9663866 L46.6648046,47 C46.6648046,47 46.6648046,47 46.7486034,47 C46.8324022,47 46.8324022,47 46.9162012,46.9159664 C47,46.8319327 47,46.8319327 47,46.7478991 L42.9776536,33.1344537 C42.9776536,33.1344537 42.9776536,33.1344537 42.8938548,33.0504202 L31.1620111,21.3697479 L31.1620111,21.3697479 L28.1452514,18.2605042 C27.3072626,17.4201681 26.5530726,17 25.7150838,17 C24.2905028,17 23.0335195,18.3445378 21.5251397,19.8571429 C21.273743,20.1092437 20.9385475,20.4453781 20.6871508,20.697479 C20.3519553,21.0336134 20.1005586,21.2857143 19.849162,21.5378151 C18.3407821,22.9663866 17.0837989,24.2268908 17,25.7394958 C17.0837989,26.4957983 17.5027933,27.3361345 18.3407821,28.1764706 Z M39.9012319,39.6134454 C39.7336341,39.4453781 39.4822374,37.6806724 40.2364275,36.8403362 C40.9906174,36.0840337 41.6610084,36 42.1638017,36 C42.3313995,36 42.4989973,36 42.5827961,36 L44.8453659,43.5630253 L43.5883828,44.8235295 L36.0464833,42.5546218 C35.9626843,42.2184874 35.8788855,41.2100841 36.8844722,40.2016807 C37.2196676,39.8655463 37.8900587,39.6134454 38.5604498,39.6134454 C39.147042,39.6134454 39.5660364,39.7815126 39.5660364,39.7815126 C39.6498353,39.8655463 39.8174331,39.8655463 39.8174331,39.7815126 C39.9850307,39.7815126 39.9850307,39.697479 39.9012319,39.6134454 Z"});function EY(e,{title:t,description:o}){return _t(e,"livejournal.url"),"https://www.livejournal.com/update.bml"+dt({subject:t,event:o})}var QIe=$t("livejournal",EY,e=>
6023({title:e.title,description:e.description}),{windowWidth:660,windowHeight:460});var KIe=wt({color:"#168DE2",networkName:"mailru",path:"M39.7107745,17 C41.6619755,17 43.3204965,18.732852 43.3204965,21.0072202 C43.3204965,23.2815885 41.7595357,25.0144404 39.7107745,25.0144404 C37.7595732,25.0144404 36.1010522,23.2815885 36.1010522,21.0072202 C36.1010522,18.732852 37.7595732,17 39.7107745,17 Z M24.3938451,17 C26.3450463,17 28.0035672,18.732852 28.0035672,21.0072202 C28.0035672,23.2815885 26.4426063,25.0144404 24.3938451,25.0144404 C22.4426439,25.0144404 20.7841229,23.2815885 20.7841229,21.0072202 C20.7841229,18.732852 22.4426439,17 24.3938451,17 Z M51.9057817,43.4259928 C51.7106617,44.0758123 51.4179815,44.6173285 50.9301812,44.9422383 C50.637501,45.1588448 50.2472607,45.267148 49.8570205,45.267148 C49.07654,45.267148 48.3936197,44.833935 48.0033795,44.0758123 L46.2472985,40.7184115 L45.759498,41.2599278 C42.5400162,44.9422383 37.466893,47 32.0035297,47 C26.5401664,47 21.5646034,44.9422383 18.2475614,41.2599278 L17.7597611,40.7184115 L16.00368,44.0758123 C15.6134398,44.833935 14.9305194,45.267148 14.1500389,45.267148 C13.7597986,45.267148 13.3695584,45.1588448 13.0768782,44.9422383 C12.0037176,44.2924187 11.7110374,42.7761733 12.2963978,41.5848375 L16.7841605,33.0288807 C17.1744007,32.270758 17.8573211,31.8375453 18.6378016,31.8375453 C19.0280418,31.8375453 19.4182821,31.9458485 19.7109623,32.1624548 C20.7841229,32.8122743 21.0768031,34.3285197 20.4914427,35.5198555 L20.1012025,36.2779783 L20.2963226,36.602888 C22.4426439,39.9602888 27.0279667,42.234657 31.9059697,42.234657 C36.7839727,42.234657 41.3692955,40.068592 43.5156167,36.602888 L43.7107367,36.2779783 L43.3204965,35.6281587 C43.0278165,35.0866425 42.9302562,34.436823 43.1253765,33.7870035 C43.3204965,33.137184 43.6131767,32.5956678 44.100977,32.270758 C44.3936572,32.0541515 44.7838975,31.9458485 45.1741377,31.9458485 C45.9546182,31.9458485 46.6375385,32.3790613 47.0277787,33.137184 L51.5155415,41.6931408 C52.003342,42.234657 52.100902,42.8844765 51.9057817,43.4259928 Z"});function RY(e,{title:t,description:o,imageUrl:n}){return _t(e,"mailru.url"),"https://connect.mail.ru/share"+dt({url:e,title:t,description:o,image_url:n})}var jIe=$t("mailru",RY,e=>({title:e.title,description:e.description,imageUrl:e.imageUrl}),{windowWidth:660,windowHeight:460});var YIe=wt({color:"#F97400",networkName:"ok",path:"M39,30c-1,0-3,2-7,2s-6-2-7-2c-1.1,0-2,0.9-2,2c0,1,0.6,1.5,1,1.7c1.2,0.7,5,2.3,5,2.3l-4.3,5.4 c0,0-0.8,0.9-0.8,1.6c0,1.1,0.9,2,2,2c1,0,1.5-0.7,1.5-0.7S32,39,32,39c0,0,4.5,5.3,4.5,5.3S37,45,38,45c1.1,0,2-0.9,2-2 c0-0.6-0.8-1.6-0.8-1.6L35,36c0,0,3.8-1.6,5-2.3c0.4-0.3,1-0.7,1-1.7C41,30.9,40.1,30,39,30z M32,15c-3.9,0-7,3.1-7,7s3.1,7,7,7c3.9,0,7-3.1,7-7S35.9,15,32,15z M32,25.5 c-1.9,0-3.5-1.6-3.5-3.5c0-1.9,1.6-3.5,3.5-3.5c1.9,0,3.5,1.6,3.5,3.5C35.5,23.9,33.9,22.5,35,22.5z "});function FY(e,{title:t,description:o,image:n}){return _t(e,"ok.url"),"https://connect.ok.ru/offer"+dt({url:e,title:t,description:o,imageUrl:n})}var XIe=$t("ok",FY,e=>({title:e.title,description:e.description,image:e.image}),{windowWidth:588,windowHeight:480,windowPosition:"screenCenter"});function BY(e,t){window.OK||(window.OK={Share:{count:function(s,l){var p,d;(d=(p=window.OK.callbacks)[s])==null||d.call(p,l)}},callbacks:[]});let o="https://connect.ok.ru/dk",n=window.OK.callbacks.length;return window.ODKL={updateCount(a,s){var l,p;let d=a===""?0:parseInt(a.replace("react-share-",""),10);(p=(l=window.OK.callbacks)[d])==null||p.call(l,s===""?void 0:parseInt(s,10))}},window.OK.callbacks.push(t),(0,Va.default)(o+dt({"st.cmd":"extLike",uid:`react-share-${n}`,ref:e}))}var JIe=Mi(BY),ZIe=wt({color:"#E60023",networkName:"pinterest",path:"M32,16c-8.8,0-16,7.2-16,16c0,6.6,3.9,12.2,9.6,14.7c0-1.1,0-2.5,0.3-3.7 c0.3-1.3,2.1-8.7,2.1-8.7s-0.5-1-0.5-2.5c0-2.4,1.4-4.1,3.1-4.1c1.5,0,2.2,1.1,2.2,2.4c0,1.5-0.9,3.7-1.4,5.7 c-0.4,1.7,0.9,3.1,2.5,3.1c3,0,5.1-3.9,5.1-8.5c0-3.5-2.4-6.1-6.7-6.1c-4.9,0-7.9,3.6-7.9,7.7c0,1.4,0.4,2.4,1.1,3.1 c0.3,0.3,0.3,0.5,0.2,0.9c-0.1,0.3-0.3,1-0.3,1.3c-0.1,0.4-0.4,0.6-0.8,0.4c-2.2-0.9-3.3-3.4-3.3-6.1c0-4.5,3.8-10,11.4-10 c6.1,0,10.1,4.4,10.1,9.2c0,6.3-3.5,11-8.6,11c-1.7,0-3.4-0.9-3.9-2c0,0-0.9,3.7-1.1,4.4c-0.3,1.2-1,2.5-1.6,3.4 c1.4,0.4,3,0.7,4.5,0.7c8.8,0,16-7.2,16-16C48,23.2,40.8,16,32,16z"});function $Y(e,{media:t,description:o,pinId:n}){return n?`https://pinterest.com/pin/${n}/repin/x/`:(_t(e,"pinterest.url"),_t(t,"pinterest.media"),"https://pinterest.com/pin/create/button/"+dt({url:e,media:t,description:o}))}var eke=$t("pinterest",$Y,e=>({media:e.media,description:e.description,pinId:e.pinId}),{windowWidth:1e3,windowHeight:730});function LY(e,t){(0,Va.default)("https://api.pinterest.com/v1/urls/count.json"+dt({url:e}),(n,a)=>{t(a?a.count:void 0)})}var tke=Mi(LY),oke=wt({color:"#EF3F56",networkName:"pocket",path:"M41.084 29.065l-7.528 7.882a2.104 2.104 0 0 1-1.521.666 2.106 2.106 0 0 1-1.522-.666l-7.528-7.882c-.876-.914-.902-2.43-.065-3.384.84-.955 2.228-.987 3.1-.072l6.015 6.286 6.022-6.286c.88-.918 2.263-.883 3.102.071.841.938.82 2.465-.06 3.383l-.015.002zm6.777-10.976C47.463 16.84 46.361 16 45.14 16H18.905c-1.2 0-2.289.82-2.716 2.044-.125.363-.189.743-.189 1.125v10.539l.112 2.096c.464 4.766 2.73 8.933 6.243 11.838.06.053.125.102.19.153l.04.033c1.882 1.499 3.986 2.514 6.259 3.014a14.662 14.662 0 0 0 6.13.052c.118-.042.235-.065.353-.087.03 0 .065-.022.098-.042a15.395 15.395 0 0 0 6.011-2.945l.039-.045.18-.153c3.502-2.902 5.765-7.072 6.248-11.852L48 29.674v-10.52c0-.366-.041-.728-.161-1.08l.022.015z"});function HY(e,{title:t}){return _t(e,"pocket.url"),"https://getpocket.com/save"+dt({url:e,title:t})}
6023var nke=$t("pocket",HY,e=>({title:e.title}),{windowWidth:500,windowHeight:500});var rke=wt({color:"#FF5700",networkName:"reddit",path:"M 53.34375 32 C 53.277344 30.160156 52.136719 28.53125 50.429688 27.839844 C 48.722656 27.148438 46.769531 27.523438 45.441406 28.800781 C 41.800781 26.324219 37.519531 24.957031 33.121094 24.863281 L 35.199219 14.878906 L 42.046875 16.320312 C 42.214844 17.882812 43.496094 19.09375 45.066406 19.171875 C 46.636719 19.253906 48.03125 18.183594 48.359375 16.644531 C 48.6875 15.105469 47.847656 13.558594 46.382812 12.992188 C 44.914062 12.425781 43.253906 13.007812 42.464844 14.367188 L 34.625 12.800781 C 34.363281 12.742188 34.09375 12.792969 33.871094 12.9375 C 33.648438 13.082031 33.492188 13.308594 33.441406 13.566406 L 31.070312 24.671875 C 26.617188 24.738281 22.277344 26.105469 18.59375 28.609375 C 17.242188 27.339844 15.273438 26.988281 13.570312 27.707031 C 11.863281 28.429688 10.746094 30.089844 10.71875 31.941406 C 10.691406 33.789062 11.757812 35.484375 13.441406 36.257812 C 13.402344 36.726562 13.402344 37.195312 13.441406 37.664062 C 13.441406 44.832031 21.792969 50.65625 32.097656 50.65625 C 42.398438 50.65625 50.753906 44.832031 50.753906 37.664062 C 50.789062 37.195312 50.789062 36.726562 50.753906 36.257812 C 52.363281 35.453125 53.371094 33.800781 53.34375 32 Z M 21.34375 35.199219 C 21.34375 33.433594 22.777344 32 24.542969 32 C 26.3125 32 27.742188 33.433594 27.742188 35.199219 C 27.742188 36.96875 26.3125 38.398438 24.542969 38.398438 C 22.777344 38.398438 21.34375 36.96875 21.34375 35.199219 Z M 39.9375 44 C 37.664062 45.710938 34.871094 46.582031 32.03125 46.464844 C 29.191406 46.582031 26.398438 45.710938 24.128906 44 C 23.847656 43.65625 23.871094 43.15625 24.183594 42.839844 C 24.5 42.527344 25 42.503906 25.34375 42.785156 C 27.269531 44.195312 29.617188 44.90625 32 44.800781 C 34.386719 44.929688 36.746094 44.242188 38.6875 42.847656 C 39.042969 42.503906 39.605469 42.511719 39.953125 42.863281 C 40.296875 43.21875 40.289062 43.785156 39.9375 44.128906 Z M 39.359375 38.527344 C 37.59375 38.527344 36.160156 37.09375 36.160156 35.328125 C 36.160156 33.5625 37.59375 32.128906 39.359375 32.128906 C 41.128906 32.128906 42.558594 33.5625 42.558594 35.328125 C 42.59375 36.203125 42.269531 37.054688 41.65625 37.6875 C 41.046875 38.316406 40.203125 38.664062 39.328125 38.65625 Z M 39.359375 38.527344"});function VY(e,{title:t}){return _t(e,"reddit.url"),"https://www.reddit.com/submit"+dt({url:e,title:t})}var ake=$t("reddit",VY,e=>({title:e.title}),{windowWidth:660,windowHeight:460,windowPosition:"windowCenter"});function OY(e,{title:t}){return _t(e,"gab.url"),"https://gab.com/compose"+dt({url:e,text:t})}var ike=$t("gab",OY,e=>({title:e.title}),{windowWidth:660,windowHeight:640,windowPosition:"windowCenter"});var ske=wt({color:"#00d178",networkName:"gab",path:"m17.0506,23.97457l5.18518,0l0,14.23933c0,6.82699 -3.72695,10.09328 -9.33471,10.09328c-2.55969,0 -4.82842,-0.87286 -6.22084,-2.0713l2.07477,-3.88283c1.19844,0.81051 2.33108,1.29543 3.85511,1.29543c2.75366,0 4.44049,-1.97432 4.44049,-4.82149l0,-0.87286c-1.16728,1.39242 -2.81947,2.0713 -4.63446,2.0713c-4.44048,0 -7.81068,-3.68885 -7.81068,-8.28521c0,-4.59289 3.37019,-8.28174 7.81068,-8.28174c1.81499,0 3.46718,0.67888 4.63446,2.0713l0,-1.55521zm-3.62997,11.39217c1.97777,0 3.62997,-1.6522 3.62997,-3.62652c0,-1.97432 -1.6522,-3.62305 -3.62997,-3.62305c-1.97778,0 -3.62997,1.64873 -3.62997,3.62305c0,1.97432 1.65219,3.62652 3.62997,3.62652zm25.7077,4.13913l-5.18518,0l0,-1.29197c-1.00448,1.13264 -2.3969,1.81152 -4.21188,1.81152c-3.62997,0 -5.63893,-2.52504 -5.63893,-5.4034c0,-4.27076 5.251,-5.85715 9.78846,-4.49937c-0.09698,-1.39241 -0.9733,-2.39343 -2.78829,-2.39343c-1.26426,0 -2.72248,0.48492 -3.62997,1.00102l-1.5552,-3.72003c1.19844,-0.77587 3.40136,-1.55174 5.96452,-1.55174c3.78931,0 7.25648,2.13365 7.25648,7.95962l0,8.08777zm-5.18518,-6.14809c-2.42806,-0.77587 -4.66563,-0.3533 -4.66563,1.36124c0,1.00101 0.84168,1.6799 1.84616,1.6799c1.20191,0 2.56315,-0.96984 2.81947,-3.04115zm13.00626,-17.66495l0,9.83695c1.16727,-1.39242 2.81946,-2.0713 4.63445,-2.0713c4.44048,0 7.81068,3.68885 7.81068,8.28174c0,4.59636 -3.37019,8.28521 -7.81068,8.28521c-1.81499,0 -3.46718,-0.67888 -4.63445,-2.0713l0,1.55174l-5.18519,0l0,-23.81304l5.18519,0zm3.62997,19.67391c1.97777,0 3.62997,-1.6522 3.62997,-3.62652c0,-1.97432 -1.6522,-3.62305 -3.62997,-3.62305c-1.97778,0 -3.62997,1.64873 -3.62997,3.62305c0,1.97432 1.65219,3.62652 3.62997,3.62652zm0,0"});function GY(e,t){let o=`https://www.reddit.com/api/info.json?limit=1&url=${e}`;(0,Va.default)(o,{param:"jsonp"},(n,a)=>{t(!n&&a&&a.data&&a.data.children.length>0&&a.data.children[0].data.score?a.data.children[0].data.score:void 0)})}var lke=Mi(GY),pke=wt({color:"#25A3E3",networkName:"telegram",path:"m45.90873,15.44335c-0.6901,-0.0281 -1.37668,0.14048 -1.96142,0.41265c-0.84989,0.32661 -8.63939,3.33986 -16.5237,6.39174c-3.9685,1.53296 -7.93349,3.06593 -10.98537,4.24067c-3.05012,1.1765 -5.34694,2.05098 -5.4681,2.09312c-0.80775,0.28096 -1.89996,0.63566 -2.82712,1.72788
6023c-0.23354,0.27218 -0.46884,0.62161 -0.58825,1.10275c-0.11941,0.48114 -0.06673,1.09222 0.16682,1.5716c0.46533,0.96052 1.25376,1.35737 2.18443,1.71383c3.09051,0.99037 6.28638,1.93508 8.93263,2.8236c0.97632,3.44171 1.91401,6.89571 2.84116,10.34268c0.30554,0.69185 0.97105,0.94823 1.65764,0.95525l-0.00351,0.03512c0,0 0.53908,0.05268 1.06412,-0.07375c0.52679,-0.12292 1.18879,-0.42846 1.79109,-0.99212c0.662,-0.62161 2.45836,-2.38812 3.47683,-3.38552l7.6736,5.66477l0.06146,0.03512c0,0 0.84989,0.59703 2.09312,0.68132c0.62161,0.04214 1.4399,-0.07726 2.14229,-0.59176c0.70766,-0.51626 1.1765,-1.34683 1.396,-2.29506c0.65673,-2.86224 5.00979,-23.57745 5.75257,-27.00686l-0.02107,0.08077c0.51977,-1.93157 0.32837,-3.70159 -0.87096,-4.74991c-0.60054,-0.52152 -1.2924,-0.7498 -1.98425,-0.77965l0,0.00176zm-0.2072,3.29069c0.04741,0.0439 0.0439,0.0439 0.00351,0.04741c-0.01229,-0.00351 0.14048,0.2072 -0.15804,1.32576l-0.01229,0.04214l-0.00878,0.03863c-0.75858,3.50668 -5.15554,24.40802 -5.74203,26.96472c-0.08077,0.34417 -0.11414,0.31959 -0.09482,0.29852c-0.1756,-0.02634 -0.50045,-0.16506 -0.52679,-0.1756l-13.13468,-9.70175c4.4988,-4.33199 9.09945,-8.25307 13.744,-12.43229c0.8218,-0.41265 0.68483,-1.68573 -0.29852,-1.70681c-1.04305,0.24584 -1.92279,0.99564 -2.8798,1.47502c-5.49971,3.2626 -11.11882,6.13186 -16.55882,9.49279c-2.792,-0.97105 -5.57873,-1.77704 -8.15298,-2.57601c2.2336,-0.89555 4.00889,-1.55579 5.75608,-2.23009c3.05188,-1.1765 7.01687,-2.7042 10.98537,-4.24067c7.94051,-3.06944 15.92667,-6.16346 16.62028,-6.43037l0.05619,-0.02283l0.05268,-0.02283c0.19316,-0.0878 0.30378,-0.09658 0.35471,-0.10009c0,0 -0.01756,-0.05795 -0.00351,-0.04566l-0.00176,0zm-20.91715,22.0638l2.16687,1.60145c-0.93418,0.91311 -1.81743,1.77353 -2.45485,2.38812l0.28798,-3.98957"});function zY(e,{title:t}){return _t(e,"telegram.url"),"https://telegram.me/share/url"+dt({url:e,text:t})}var cke=$t("telegram",zY,e=>({title:e.title}),{windowWidth:550,windowHeight:400});var dke=wt({color:"#34526f",networkName:"tumblr",path:"M39.2,41c-0.6,0.3-1.6,0.5-2.4,0.5c-2.4,0.1-2.9-1.7-2.9-3v-9.3h6v-4.5h-6V17c0,0-4.3,0-4.4,0 c-0.1,0-0.2,0.1-0.2,0.2c-0.3,2.3-1.4,6.4-5.9,8.1v3.9h3V39c0,3.4,2.5,8.1,9,8c2.2,0,4.7-1,5.2-1.8L39.2,41z"});function UY(e,{title:t,caption:o,tags:n,posttype:a}){return _t(e,"tumblr.url"),"https://www.tumblr.com/widgets/share/tool"+dt({canonicalUrl:e,title:t,caption:o,tags:n,posttype:a})}var uke=$t("tumblr",UY,e=>({title:e.title,tags:(e.tags||[]).join(","),caption:e.caption,posttype:e.posttype||"link"}),{windowWidth:660,windowHeight:460});function WY(e,t){return(0,Va.default)("https://api.tumblr.com/v2/share/stats"+dt({url:e}),(n,a)=>{t(!n&&a&&a.response?a.response.note_count:void 0)})}var yke=Mi(WY),qY=wt({color:"#00aced",networkName:"twitter",path:"M48,22.1c-1.2,0.5-2.4,0.9-3.8,1c1.4-0.8,2.4-2.1,2.9-3.6c-1.3,0.8-2.7,1.3-4.2,1.6 C41.7,19.8,40,19,38.2,19c-3.6,0-6.6,2.9-6.6,6.6c0,0.5,0.1,1,0.2,1.5c-5.5-0.3-10.3-2.9-13.5-6.9c-0.6,1-0.9,2.1-0.9,3.3 c0,2.3,1.2,4.3,2.9,5.5c-1.1,0-2.1-0.3-3-0.8c0,0,0,0.1,0,0.1c0,3.2,2.3,5.8,5.3,6.4c-0.6,0.1-1.1,0.2-1.7,0.2c-0.4,0-0.8,0-1.2-0.1 c0.8,2.6,3.3,4.5,6.1,4.6c-2.2,1.8-5.1,2.8-8.2,2.8c-0.5,0-1.1,0-1.6-0.1c2.9,1.9,6.4,2.9,10.1,2.9c12.1,0,18.7-10,18.7-18.7 c0-0.3,0-0.6,0-0.8C46,24.5,47.1,23.4,48,22.1z"}),$E=qY;function QY(e,{title:t,via:o,hashtags:n=[],related:a=[]}){return _t(e,"twitter.url"),_t(Array.isArray(n),"twitter.hashtags is not an array"),_t(Array.isArray(a),"twitter.related is not an array"),"https://twitter.com/intent/tweet"+dt({url:e,text:t,via:o,hashtags:n.length>0?n.join(","):void 0,related:a.length>0?a.join(","):void 0})}var KY=$t("twitter",QY,e=>({hashtags:e.hashtags,title:e.title,via:e.via,related:e.related}),{windowWidth:550,windowHeight:400}),LE=KY,mke=wt({color:"#7360f2",networkName:"viber",path:"m31.0,12.3c9.0,0.2 16.4,6.2 18.0,15.2c0.2,1.5 0.3,3.0 0.4,4.6a1.0,1.0 0 0 1 -0.8,1.2l-0.1,0a1.1,1.1 0 0 1 -1.0,-1.2l0,0c-0.0,-1.2 -0.1,-2.5 -0.3,-3.8a16.1,16.1 0 0 0 -13.0,-13.5c-1.0,-0.1 -2.0,-0.2 -3.0,-0.3c-0.6,-0.0 -1.4,-0.1 -1.6,-0.8a1.1,1.1 0 0 1 0.9,-1.2l0.6,0l0.0,-0.0zm10.6,39.2a19.9,19.9 0 0 1 -2.1,-0.6c-6.9,-2.9 -13.2,-6.6 -18.3,-12.2a47.5,47.5 0 0 1 -7.0,-10.7c-0.8,-1.8 -1.6,-3.7 -2.4,-5.6c-0.6,-1.7 0.3,-3.4 1.4,-4.7a11.3,11.3 0 0 1 3.7,-2.8a2.4,2.4 0 0 1 3.0,0.7a39.0,39.0 0 0 1 4.7,6.5a3.1,3.1 0 0 1 -0.8,4.2c-0.3,0.2 -0.6,0.5 -1.0,0.8a3.3,3.3 0 0 0 -0.7,0.7a2.1,2.1 0 0 0 -0.1,1.9c1.7,4.9 4.7,8.7 9.7,10.8a5.0,5.0 0 0 0 2.5,0.6c1.5,-0.1 2.0,-1.8 3.1,-2.7a2.9,2.9 0 0 1 3.5,-0.1c1.1,0.7 2.2,1.4 3.3,2.2a37.8,37.8 0 0 1 3.1,2.4a2.4,2.4 0 0 1 0.7,3.0a10.4,10.4 0 0 1 -4.4,4.8a10.8,10.8 0 0 1 -1.9,0.6c-0.7,-0.2 0.6,-0.2 0,0l0.0,0l0,-0.0zm3.1,-21.4a4.2,4.2 0 0 1 -0.0,0.6a1.0,1.0 0 0 1 -1.9,0.1a2.7,2.7 0 0 1 -0.1,-0.8a10.9,10.9 0 0 0 -1.4,-5.5a10.2,10.2 0 0 0 -4.2,-4.0a12.3,12.3 0 0 0 -3.4,-1.0c-0.5,-0.0 -1.0,-0.1 -1.5,-0.2a0.9,0.9 0 0 1 -0.9,-1.0l0,-0.
60231a0.9,0.9 0 0 1 0.9,-0.9l0.1,0a14.1,14.1 0 0 1 5.9,1.5a11.9,11.9 0 0 1 6.5,9.3c0,0.1 0.0,0.3 0.0,0.5c0,0.4 0.0,0.9 0.0,1.5l0,0l0.0,0.0zm-5.6,-0.2a1.1,1.1 0 0 1 -1.2,-0.9l0,-0.1a11.3,11.3 0 0 0 -0.2,-1.4a4.0,4.0 0 0 0 -1.5,-2.3a3.9,3.9 0 0 0 -1.2,-0.5c-0.5,-0.1 -1.1,-0.1 -1.6,-0.2a1.0,1.0 0 0 1 -0.8,-1.1l0,0l0,0a1.0,1.0 0 0 1 1.1,-0.8c3.4,0.2 6.0,2.0 6.3,6.2a2.8,2.8 0 0 1 0,0.8a0.8,0.8 0 0 1 -0.8,0.7l0,0l0.0,-0.0z"});function jY(e,{title:t,separator:o}){return _t(e,"viber.url"),"viber://forward"+dt({text:t?t+o+e:e})}var gke=$t("viber",jY,e=>({title:e.title,separator:e.separator||" "}),{windowWidth:660,windowHeight:460});var fke=wt({color:"#4C75A3",networkName:"vk",path:"M44.94,44.84h-0.2c-2.17-.36-3.66-1.92-4.92-3.37C39.1,40.66,38,38.81,36.7,39c-1.85.3-.93,3.52-1.71,4.9-0.62,1.11-3.29.91-5.12,0.71-5.79-.62-8.75-3.77-11.35-7.14A64.13,64.13,0,0,1,11.6,26a10.59,10.59,0,0,1-1.51-4.49C11,20.7,12.56,21,14.11,21c1.31,0,3.36-.29,4.32.2C19,21.46,19.57,23,20,24a37.18,37.18,0,0,0,3.31,5.82c0.56,0.81,1.41,2.35,2.41,2.14s1.06-2.63,1.1-4.18c0-1.77,0-4-.5-4.9S25,22,24.15,21.47c0.73-1.49,2.72-1.63,5.12-1.63,2,0,4.84-.23,5.62,1.12s0.25,3.85.2,5.71c-0.06,2.09-.41,4.25,1,5.21,1.09-.12,1.68-1.2,2.31-2A28,28,0,0,0,41.72,24c0.44-1,.91-2.65,1.71-3,1.21-.47,3.15-0.1,4.92-0.1,1.46,0,4.05-.41,4.52.61,0.39,0.85-.75,3-1.1,3.57a61.88,61.88,0,0,1-4.12,5.61c-0.58.78-1.78,2-1.71,3.27,0.05,0.94,1,1.67,1.71,2.35a33.12,33.12,0,0,1,3.92,4.18c0.47,0.62,1.5,2,1.4,2.76C52.66,45.81,46.88,44.24,44.94,44.84Z"});function YY(e,{title:t,image:o,noParse:n,noVkLinks:a}){return _t(e,"vk.url"),"https://vk.com/share.php"+dt({url:e,title:t,image:o,noparse:n?1:0,no_vk_links:a?1:0})}var bke=$t("vk",YY,e=>({title:e.title,image:e.image,noParse:e.noParse,noVkLinks:e.noVkLinks}),{windowWidth:660,windowHeight:460});function XY(e,t){window.VK||(window.VK={}),window.VK.Share={count:(a,s)=>{var l,p;return(p=(l=window.VK.callbacks)==null?void 0:l[a])==null?void 0:p.call(l,s)}},window.VK.callbacks=[];let o="https://vk.com/share.php",n=window.VK.callbacks.length;return window.VK.callbacks.push(t),(0,Va.default)(o+dt({act:"count",index:n,url:e}))}var Ske=Mi(XY),hke=wt({color:"#DF2029",networkName:"weibo",path:"M40.9756152,15.0217119 C40.5000732,15.0546301 39.9999314,15.1204666 39.5325878,15.2192213 C38.6634928,15.4085016 38.0977589,16.2643757 38.2863368,17.1284787 C38.4667163,18.0008129 39.3194143,18.5686519 40.1885094,18.3793715 C42.8613908,17.8115326 45.7720411,18.6427174 47.7316073,20.8153207 C49.6911735,22.996153 50.2077122,25.975254 49.3714112,28.5840234 C49.1008441,29.4316684 49.5763861,30.3533789 50.4208857,30.6249537 C51.2653852,30.8965286 52.1754769,30.4192153 52.4542425,29.5715703 C53.6349013,25.9011885 52.9133876,21.7699494 50.1585171,18.7085538 C48.0923641,16.4042776 45.2063093,15.1533848 42.3530505,15.0217119 C41.8775084,14.9970227 41.4511594,14.9887937 40.9756152,15.0217119 Z M27.9227762,19.8277737 C24.9957268,20.140498 20.863421,22.4365431 17.2312548,26.0822378 C13.2711279,30.0571148 11,34.2871065 11,37.9328012 C11,44.9032373 19.8713401,49.125 28.5786978,49.125 C39.9917329,49.125 47.600423,42.4261409 47.600423,37.1427636 C47.600423,33.9496952 44.9603397,32.1638816 42.549827,31.4149913 C41.9594976,31.2339421 41.5167516,31.1434164 41.8283133,30.3616079 C42.5006339,28.66632 42.6236176,27.1932286 41.8939054,26.1480742 C40.5328692,24.1894405 36.7203236,24.2881952 32.448635,26.0822378 C32.448635,26.0822378 31.1203949,26.6912261 31.4647526,25.6213825 C32.1206742,23.4981576 32.0304845,21.712342 31.0056075,20.6836478 C30.2840938,19.9512176 29.2510184,19.6878718 27.9227762,19.8277737 Z M42.0906819,20.6836478 C41.6233383,20.6589586 41.1723917,20.716566 40.7132466,20.8153207 C39.9671353,20.9716828 39.4997917,21.7781784 39.6637721,22.5270687 C39.8277525,23.275959 40.5574647,23.7450433 41.303576,23.5804521 C42.1972686,23.3911718 43.2057485,23.6380596 43.8616701,24.3704897 C44.5175916,25.1029198 44.6733735,26.0657797 44.3864073,26.9381118 C44.1486363,27.6705419 44.5093932,28.4770397 45.2391054,28.7156963 C45.9688176,28.9461239 46.780521,28.5922524 47.0100936,27.8598223 C47.584026,26.0740087 47.2396661,24.0248493 45.8950269,22.5270687 C44.886547,21.4078489 43.4845162,20.7494842 42.0906819,20.6836478 Z M29.496988,29.9665891 C35.3100922,30.1723275 39.9917329,33.0691319 40.3852858,37.0769272 C40.8362324,41.6607904 35.5970585,45.9319315 28.6442899,46.6232144 C21.6915214,47.3144973 15.6488446,44.154347 15.197898,39.5787128 C14.7469514,34.9948495 20.059916,30.7237084 27.004486,30.0324256 C27.8735831,29.950131 28.6688875,29.9336709 29.496988,29.9665891 Z M25.5614586,34.3776322 C23.183744,34.5916017 20.9372116,35.9577073 19.9205332,37.9328012 C18.5348994,40.6238672 19.9041362,43.6029661 23.0689567,44.582284 C26.340366,45.5945202 30.1857056,44.0638213 31.5303448,41.1587879 C32.8503864,38.3195909 31.1613894,35.3734082 27.9227762,34.5751416 C27.1438688,34.3776322 26.356763,34.3035667 25.5614586,34.3776322 Z M24.052839,38.7228388 C24.3316067,38.7310678 24.5857748,38.8215935 24.8399449,38.9203482 C25.8648218,39.3400561 26.1845841,40.4428158 25.5614586,41.4221338 C24.9219361,42.3932227 23.5690963,42.8623069 22.5442194,42.4096807 C21.5357395,41.9652856 21.2487754,40.8542948 21.8882979,39.9078951 C22.3638421,39.2001542 23.2247386,38.714
60236097 24.052839,38.7228388 Z"});function JY(e,{title:t,image:o}){return _t(e,"weibo.url"),"http://service.weibo.com/share/share.php"+dt({url:e,title:t,pic:o})}var Cke=$t("weibo",JY,e=>({title:e.title,image:e.image}),{windowWidth:660,windowHeight:550,windowPosition:"screenCenter"});var xke=wt({color:"#25D366",networkName:"whatsapp",path:"m42.32286,33.93287c-0.5178,-0.2589 -3.04726,-1.49644 -3.52105,-1.66732c-0.4712,-0.17346 -0.81554,-0.2589 -1.15987,0.2589c-0.34175,0.51004 -1.33075,1.66474 -1.63108,2.00648c-0.30032,0.33658 -0.60064,0.36247 -1.11327,0.12945c-0.5178,-0.2589 -2.17994,-0.80259 -4.14759,-2.56312c-1.53269,-1.37217 -2.56312,-3.05503 -2.86603,-3.57283c-0.30033,-0.5178 -0.03366,-0.80259 0.22524,-1.06149c0.23301,-0.23301 0.5178,-0.59547 0.7767,-0.90616c0.25372,-0.31068 0.33657,-0.5178 0.51262,-0.85437c0.17088,-0.36246 0.08544,-0.64725 -0.04402,-0.90615c-0.12945,-0.2589 -1.15987,-2.79613 -1.58964,-3.80584c-0.41424,-1.00971 -0.84142,-0.88027 -1.15987,-0.88027c-0.29773,-0.02588 -0.64208,-0.02588 -0.98382,-0.02588c-0.34693,0 -0.90616,0.12945 -1.37736,0.62136c-0.4712,0.5178 -1.80194,1.76053 -1.80194,4.27186c0,2.51134 1.84596,4.945 2.10227,5.30747c0.2589,0.33657 3.63497,5.51458 8.80262,7.74113c1.23237,0.5178 2.1903,0.82848 2.94111,1.08738c1.23237,0.38836 2.35599,0.33657 3.24402,0.20712c0.99159,-0.15534 3.04985,-1.24272 3.47963,-2.45956c0.44013,-1.21683 0.44013,-2.22654 0.31068,-2.45955c-0.12945,-0.23301 -0.46601,-0.36247 -0.98382,-0.59548m-9.40068,12.84407l-0.02589,0c-3.05503,0 -6.08417,-0.82849 -8.72495,-2.38189l-0.62136,-0.37023l-6.47252,1.68286l1.73463,-6.29129l-0.41424,-0.64725c-1.70875,-2.71846 -2.6149,-5.85116 -2.6149,-9.07706c0,-9.39809 7.68934,-17.06155 17.15993,-17.06155c4.58253,0 8.88029,1.78642 12.11655,5.02268c3.23625,3.21036 5.02267,7.50812 5.02267,12.06476c-0.0078,9.3981 -7.69712,17.06155 -17.14699,17.06155m14.58906,-31.58846c-3.93529,-3.80584 -9.1133,-5.95471 -14.62789,-5.95471c-11.36055,0 -20.60848,9.2065 -20.61625,20.52564c0,3.61684 0.94757,7.14565 2.75211,10.26282l-2.92557,10.63564l10.93337,-2.85309c3.0136,1.63108 6.4052,2.4958 9.85634,2.49839l0.01037,0c11.36574,0 20.61884,-9.2091 20.62403,-20.53082c0,-5.48093 -2.14111,-10.64081 -6.03239,-14.51915"});function ZY(){return/(android|iphone|ipad|mobile)/i.test(navigator.userAgent)}function eX(e,{title:t,separator:o}){return _t(e,"whatsapp.url"),"https://"+(ZY()?"api":"web")+".whatsapp.com/send"+dt({text:t?t+o+e:e})}var vke=$t("whatsapp",eX,e=>({title:e.title,separator:e.separator||" "}),{windowWidth:550,windowHeight:400});var Ike=wt({color:"#4326c4",networkName:"workplace",path:"M34.019,10.292c0.21,0.017,0.423,0.034,0.636,0.049 c3.657,0.262,6.976,1.464,9.929,3.635c3.331,2.448,5.635,5.65,6.914,9.584c0.699,2.152,0.983,4.365,0.885,6.623 c-0.136,3.171-1.008,6.13-2.619,8.867c-0.442,0.75-0.908,1.492-1.495,2.141c-0.588,0.651-1.29,1.141-2.146,1.383 c-1.496,0.426-3.247-0.283-3.961-1.642c-0.26-0.494-0.442-1.028-0.654-1.548c-1.156-2.838-2.311-5.679-3.465-8.519 c-0.017-0.042-0.037-0.082-0.065-0.145c-0.101,0.245-0.192,0.472-0.284,0.698c-1.237,3.051-2.475,6.103-3.711,9.155 c-0.466,1.153-1.351,1.815-2.538,2.045c-1.391,0.267-2.577-0.154-3.496-1.247c-0.174-0.209-0.31-0.464-0.415-0.717 c-2.128-5.22-4.248-10.442-6.37-15.665c-0.012-0.029-0.021-0.059-0.036-0.104c0.054-0.003,0.103-0.006,0.15-0.006 c1.498-0.001,2.997,0,4.495-0.004c0.12-0.001,0.176,0.03,0.222,0.146c1.557,3.846,3.117,7.691,4.679,11.536 c0.018,0.046,0.039,0.091,0.067,0.159c0.273-0.673,0.536-1.32,0.797-1.968c1.064-2.627,2.137-5.25,3.19-7.883 c0.482-1.208,1.376-1.917,2.621-2.135c1.454-0.255,2.644,0.257,3.522,1.449c0.133,0.18,0.229,0.393,0.313,0.603 c1.425,3.495,2.848,6.991,4.269,10.488c0.02,0.047,0.04,0.093,0.073,0.172c0.196-0.327,0.385-0.625,0.559-0.935 c0.783-1.397,1.323-2.886,1.614-4.461c0.242-1.312,0.304-2.634,0.187-3.962c-0.242-2.721-1.16-5.192-2.792-7.38 c-2.193-2.939-5.086-4.824-8.673-5.625c-1.553-0.346-3.124-0.405-4.705-0.257c-3.162,0.298-6.036,1.366-8.585,3.258 c-3.414,2.534-5.638,5.871-6.623,10.016c-0.417,1.76-0.546,3.547-0.384,5.348c0.417,4.601,2.359,8.444,5.804,11.517 c2.325,2.073,5.037,3.393,8.094,3.989c1.617,0.317,3.247,0.395,4.889,0.242c1-0.094,1.982-0.268,2.952-0.529 c0.04-0.01,0.081-0.018,0.128-0.028c0,1.526,0,3.047,0,4.586c-0.402,0.074-0.805,0.154-1.21,0.221 c-0.861,0.14-1.728,0.231-2.601,0.258c-0.035,0.002-0.071,0.013-0.108,0.021c-0.493,0-0.983,0-1.476,0 c-0.049-0.007-0.1-0.018-0.149-0.022c-0.315-0.019-0.629-0.033-0.945-0.058c-1.362-0.105-2.702-0.346-4.017-0.716 c-3.254-0.914-6.145-2.495-8.66-4.752c-2.195-1.971-3.926-4.29-5.176-6.963c-1.152-2.466-1.822-5.057-1.993-7.774 c-0.014-0.226-0.033-0.451-0.05-0.676c0-0.502,0-1.003,0-1.504c0.008-0.049,0.02-0.099,0.022-0.148 c0.036-1.025,0.152-2.043,0.338-3.052c0.481-2.616,1.409-5.066,2.8-7.331c2.226-3.625,5.25-6.386,9.074-8.254 c2.536-1.24,5.217-1.947,8.037-2.12
60236c0.23-0.015,0.461-0.034,0.691-0.051C33.052,10.292,33.535,10.292,34.019,10.292z"});function tX(e,{quote:t,hashtag:o}){return _t(e,"workplace.url"),"https://work.facebook.com/sharer.php"+dt({u:e,quote:t,hashtag:o})}var kke=$t("workplace",tX,e=>({quote:e.quote,hashtag:e.hashtag}),{windowWidth:550,windowHeight:400});var Mke=wt({color:"#000000",networkName:"X",path:"M 41.116 18.375 h 4.962 l -10.8405 12.39 l 12.753 16.86 H 38.005 l -7.821 -10.2255 L 21.235 47.625 H 16.27 l 11.595 -13.2525 L 15.631 18.375 H 25.87 l 7.0695 9.3465 z m -1.7415 26.28 h 2.7495 L 24.376 21.189 H 21.4255 z"});var Ah=({title:e,...t})=>{K("sdsm-social");let[o,n]=(0,Dy.useState)("");return K("sdsm-social"),(0,Dy.useEffect)(()=>{n(window.location.origin+window.location.pathname)},[]),x("article",{...t,className:h("sdsm-social",t.className),"data-testid":"sdsm-social",children:[i(BE,{title:e,url:o,children:i(FE,{size:32,round:!0})}),i(LE,{title:e,url:o,children:i($E,{size:32,round:!0})})]})};Ah.displayName="Social";var Th=256,HE=714,VE=1014,OE="860px",GE=375,Py="--hero-curtain-opacity",zE=c` 6024 align-items: start; 6025`,UE=c` 6026 align-items: end; 6027`,WE=c` 6028 display: flex; 6029 flex-direction: column; 6030 justify-content: center; 6031 padding-block: ${r("--spacing-xl")}; 6032 padding-inline: ${r("--spacing-xl")}; 6033 z-index: ${De.HERO_TEXT}; 6034 6035 ${P} { 6036 padding-inline: 0; 6037 width: 100%; 6038 } 6039`,_h=c` 6040 & .${"sdsm-topic"} { 6041 &:hover { 6042 background-color: rgba(0, 0, 0, calc(var(${Py}, 0) + 0.2)); 6043 } 6044 } 6045`,qE=c` 6046 overflow: hidden; 6047 max-height: 100%; 6048`,QE=c` 6049 background-color: ${r("--bg-color")}; 6050 background-image: ${r("--bg-image")}; 6051 position: relative; 6052 width: 100%; 6053 --hero-text-color-curtain-title-color: ${r("--hero-title-color")}; 6054 --hero-text-color-curtain-subtitle-color: ${r("--hero-subtitle-color")}; 6055 6056 &[data-curtain='true'] { 6057 --hero-text-color-curtain-title-color: ${r("--hero-text-color-curtain-active")}; 6058 --hero-text-color-curtain-subtitle-color: ${r("--hero-text-color-curtain-active")}; 6059 6060 & .${"sdsm-topic"} { 6061 border-color: ${r("--hero-text-color-curtain-active")}; 6062 color: ${r("--hero-text-color-curtain-active")}; 6063 } 6064 6065 ${_h} 6066 } 6067 6068 ${P} { 6069 min-height: ${Th}px; 6070 6071 & > video { 6072 min-height: ${Th}px; 6073 } 6074 } 6075`,KE=c` 6076 align-items: center; 6077 display: grid; 6078 grid-auto-columns: minmax(0, 100%) 40%; 6079 grid-auto-flow: column; 6080 grid-gap: ${r("--spacing-xl")}; 6081 min-height: ${HE}px; 6082 padding: ${r("--hero-content-desktop-padding")}; 6083 6084 ${P} { 6085 grid-auto-flow: row; 6086 padding: ${r("--hero-content-mobile-padding")}; 6087 min-height: ${Th}px; 6088 max-width: 100vw; 6089 } 6090 6091 ${Ot} { 6092 padding-bottom: ${r("--spacing-xl")}; 6093 } 6094`,jE=c` 6095 ${P} { 6096 padding-block-start: ${r("--spacing-xxl")}; 6097 } 6098 6099 ${V} { 6100 padding-block-start: ${r("--spacing-xxxxl")}; 6101 } 6102`,YE=c` 6103 inset-block: 0 auto; 6104 inset-inline: 0; 6105 position: absolute; 6106 /** Allow tooltip to show on top the Hero text */ 6107 z-index: 10; 6108 6109 & ol { 6110 padding-block: ${r("--spacing-xs")}; 6111 /** 6112 * Hardcoded calc(28px - var('--spacing-xxs')) to align the element with the first element on the header and to make 6113 * the dependency on the breadcrumb padding explicit. 6114 * Find the design in the jira ticket: https://jira.sc-corp.net/browse/WEBP-11085 6115 */ 6116 padding-inline: calc(28px - ${r("--spacing-xxs")}) ${r("--spacing-xxs")}; 6117 6118 ${V} { 6119 padding-block: ${r("--spacing-m")}; 6120 /** 6121 * Hardcoded calc(60px - var('--spacing-xxs')) to align the element with the first element on the header and to make 6122 * the dependency on the breadcrumb padding explicit. 6123 * Find the design in the jira ticket: https://jira.sc-corp.net/browse/WEBP-11085 6124 */ 6125 padding-inline: calc(60px - ${r("--spacing-xxs")}) ${r("--spacing-l")}; 6126 max-width: 50%; 6127 } 6128 } 6129`,XE=c` 6130 & ol { 6131 background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0)); 6132 } 6133`,JE=c` 6134 & ol { 6135 background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0)); 6136 } 6137`,ZE=c` 6138 min-height: 0px; 6139`,eR=c` 6140 /** Relative color syntax decomposes the hex --curtain-color into r g b channels so opacity can be applied dynamically */ 6141 background-color: rgb(from ${r("--curtain-color")} r g b / var(${Py}, 0)); 6142 backdrop-filter: ${r("--curtain-backdrop-filter")}; 6143 inset: 0; 6144 position: absolute; 6145 z-index: ${De.HERO_CURTAIN}; 6146`,tR=c` 6147 color: var(--hero-text-color-curtain-title-color); 6148`,oR=c` 6149 /** 6150 * using var instead of m function because this is not a motif variable. 6151 * It is a custom css var defined in heroCss. 6152 */ 6153 color: var(--hero-text-color-curtain-title-color); 6154 font-size: ${r("--annotation-desktop-font-size")}; 6155 line-height: ${r("--annotation-desktop-font-line-height")}; 6156 font-weight: ${r("--annotation-desktop-font-weight")}; 6157 letter-spacing: ${r("--annotation-desktop-font-letter-spacing")}; 6158 margin-block-end: ${r("--spacing-m")}; 6159 6160 ${P} { 6161 font-size: ${r("--annotation-mobile-font-size")}; 6162 line-height: ${r("--annotation-mobile-font-line-height")};
6163 font-weight: ${r("--annotation-mobile-font-weight")}; 6164 letter-spacing: ${r("--annotation-mobile-font-letter-spacing")}; 6165 } 6166`,wh=c` 6167 /** 6168 * using var instead of m function because this is not a motif variable. 6169 * It is a custom css var defined in heroCss. 6170 */ 6171 color: var(--hero-text-color-curtain-title-color); 6172 margin-block: 0 ${r("--spacing-m")}; 6173 6174 &:has(.${"sdsm-empahasized-text"}) { 6175 color: ${r("--hero-title-de-emphasized-color")}; 6176 } 6177 6178 ${P} { 6179 margin-block: 0 ${r("--spacing-xs")}; 6180 } 6181`,nR=c` 6182 ${wh} 6183 /** 6184 * Ensure Hero Split title uses compact desktop font size 6185 */ 6186 && { 6187 ${V} { 6188 && { 6189 font-size: ${r("--h1-desktop-font-size-compact")}; 6190 line-height: ${r("--h1-desktop-font-line-height-compact")}; 6191 } 6192 } 6193 } 6194`,rR=c` 6195 && { 6196 font-size: ${r("--hero-title-increased-font-size")}; 6197 line-height: ${r("--hero-title-increased-font-line-height")}; 6198 } 6199`,aR=c` 6200 ${uo} 6201 color: var(--hero-text-color-curtain-subtitle-color); 6202 margin-block-end: ${r("--spacing-m")}; 6203 max-width: ${OE}; 6204 6205 ${P} { 6206 margin-block-end: ${r("--spacing-xs")}; 6207 } 6208 6209 /** Overriding margin added from renderRichTextWithElementsNoHeadings*/ 6210 & p { 6211 margin: 0; 6212 } 6213`,iR=c` 6214 display: flex; 6215 flex-wrap: wrap; 6216 gap: ${r("--spacing-s")}; 6217 margin-top: ${r("--spacing-xs")}; 6218`,sR=c` 6219 ${Ue} 6220 color: var(--hero-text-color-curtain-subtitle-color); 6221 margin-block-end: ${r("--spacing-m")}; 6222 max-width: ${OE}; 6223 6224 ${P} { 6225 margin-block-end: ${r("--spacing-xs")}; 6226 } 6227 /** Overriding margin added from renderRichTextWithElementsNoHeadings */ 6228 & p { 6229 margin-bottom: 0; 6230 } 6231 6232 /** 6233 * If the body has multiple paragraphs, we need to add a top margin. 6234 * Do not add a margin bottom to avoid extra white space by adding the paragraph and parent margins. 6235 */ 6236 & p + p { 6237 margin-block-start: ${r("--spacing-s")}; 6238 } 6239`,lR=c` 6240 display: flex; 6241 gap: ${r("--spacing-m")}; 6242 margin-block-start: ${r("--spacing-m")}; 6243 6244 ${P} { 6245 flex-direction: column; 6246 } 6247 6248 ${Ot} { 6249 width: 100%; 6250 } 6251`,pR=c` 6252 ${Ue} 6253 color: var(--hero-text-color-curtain-subtitle-color); 6254 margin-block-start: ${r("--spacing-xl")}; 6255 6256 ${P} { 6257 margin-block-start: ${r("--spacing-l")}; 6258 text-align: center; 6259 } 6260`,cR=c` 6261 position: absolute; 6262 bottom: calc(${r("--break-total-desktop-height")} + ${r("--spacing-xl")}); 6263 left: ${r("--spacing-xl")}; 6264 z-index: ${De.HERO_CURTAIN}; 6265 6266 button { 6267 margin-right: ${r("--spacing-s")}; 6268 } 6269 6270 ${P} { 6271 bottom: calc(${r("--break-total-mobile-height")} + ${r("--spacing-m")}); 6272 left: ${r("--spacing-xl")}; 6273 } 6274`,Dh=c` 6275 ${V} { 6276 height: calc(100vh - ${64}px); 6277 max-height: 1600px; 6278 min-height: ${HE}px; 6279 } 6280`,Ph=c` 6281 height: 100%; 6282 left: 0; 6283 /* Prevent overflowing elements from adding extra page width, e.g. background media stickers */ 6284 overflow: hidden; 6285 position: absolute; 6286 top: 0; 6287 width: 100%; 6288`,Nh=c` 6289 height: 100%; 6290 object-fit: cover; 6291 width: 100%; 6292`,dR=c` 6293 ${P} { 6294 max-width: 100%; 6295 overflow-x: auto; 6296 } 6297`,uR=c` 6298 z-index: ${De.HERO_BOUNDARY}; 6299`,yR=c` 6300 bottom: ${r("--spacing-xl")}; 6301 position: absolute; 6302 left: 50%; 6303 transform: translateX(-50%); 6304 z-index: ${De.HERO_TEXT}; 6305`,mR=c` 6306 background: ${r("--hero-scroll-button-bg-color")}; 6307 border: none; 6308 box-shadow: none; 6309 transition: background 0.2s linear; 6310 6311 svg { 6312 fill: ${r("--hero-scroll-button-fg-color")}; 6313 } 6314 6315 &:hover { 6316 background: ${r("--hero-scroll-button-hover-bg-color")}; 6317 border: none; 6318 transform: none; 6319 6320 svg { 6321 fill: ${r("--hero-scroll-button-hover-fg-color")}; 6322 } 6323 } 6324 6325 [data-curtain='true'] & { 6326 background: ${r("--hero-scroll-button-curtain-active-bg-color")}; 6327 6328 svg { 6329 fill: ${r("--hero-scroll-button-curtain-active-fg-color")}; 6330 } 6331 6332 &:hover { 6333 background: ${r("--hero-scroll-button-curtain-active-hover-bg-color")}; 6334 6335 svg { 6336 fill: ${r("--hero-scroll-button-curtain-active-hover-fg-color")}; 6337 } 6338 } 6339 } 6340`,gR=c` 6341 align-items: stretch; 6342 display: flex; 6343 justify-content: space-between; 6344 6345 ${P} { 6346 flex-direction: column; 6347 flex-direction: column-reverse; 6348 } 6349`,fR=c` 6350 flex-direction: row-reverse; 6351`,Ny=c` 6352 width: 50%; 6353 ${P} { 6354 width: 100%; 6355 } 6356`,Eh=c` 6357 height: inherit; 6358 position: relative; 6359 6360 ${P} { 6361 height: ${GE}px; 6362 } 6363`,Rh=c` 6364 ${P} { 6365 max-height: ${GE}px; 6366 } 6367`;var SR=c` 6368 ${nr} 6369 display: flex; 6370 gap: ${r("--spacing-xs")}; 6371 margin-block-end: ${r("--spacing-xl")}; 6372 max-width: 100%; 6373`,hR=c` 6374 align-items: center; 6375 flex-direction: row; 6376 flex-wrap: wrap; 6377`,CR=c` 6378 flex-direction: column; 6379 flex-wrap: nowrap; 6380`,xR=c` 6381 ${SR} 6382 margin-block-end: ${r("--spacing-xs")}; 6383 6384 ${V} { 6385 display: none; 6386 } 6387`,vR=c` 6388 ${SR} 6389 6390 ${P} { 6391 display: none; 6392 } 6393`,IR=c` 6394 flex: 1 1 ${219}px; 6395 min-width: ${219}px; 6396`,kR=c` 6397 flex: 1 1 auto; 6398 min-width: 0; 6399 width: 100%; 6400`,MR=c` 6401 flex-shrink: 0; 6402 max-width: 100%; 6403 width: fit-content; 6404 6405 ${P} { 6406 max-width: min(${311}px, 100%); 6407 } 6408 6409 ${V} { 6410 max-width: min(${460}px, 100%); 6411 } 6412`,AR=c` 6413 border-radius: ${r("--spacing-xs")}; 6414 display: block; 6415 height: auto; 6416 max-height: ${84}px; 6417 object-fit: contain; 6418 width: auto; 6419 6420 ${P} { 6421 max-width: min(${311}px, 100%); 6422 min-height: ${24}px; 6423 } 6424 6425 ${V} { 6426 max-width: min(${460}px, 100%); 6427 min-height: ${32}px; 6428 } 6429`;function _R(e){return e?typeof e.getFullYear=="function":!1}var wR=e=>e.toLocaleDateString(void 0,{year:"numeric",month:"long",day:"numeric"}),DR=e=>e.toLocaleDateString(void 0,{year:"numeric",month:"numeric",day:"2-digit"}),Ai={Inline:"inline",Stacked:"stacked"},TR=e=>{let t=e?.width??0,o=e?.height??0;return t<=0||o<=0||t/o>1.1?Ai.Stacked:Ai.Inline},PR=e=>{let t=e?.desktop??e?.mobile,o=e?.mobile??e?.desktop;return{desktop:TR(t),mobile:TR(o)}};var NR=e=>{let t=e===Ai.Stacked;return{groupCss:t?CR:hR,textCss:t?kR:IR,isStacked:t}},Bh=({content:e,iconSrcs:t,iconAltText:o,headerMediaPixelSize:n,textAlign:a,textAlignMobile:s,headerDataset:l,className:p})=>{if(!e&&!t)return null;let d=_R(e),u=d?DR(e):e,y=d?wR(e):e,m=t?PR(n):{desktop:Ai.Inline,mobile:Ai.Inline},g=NR(m.desktop),f=NR(m.mobile),b=a??ae.Start,S=s??ae.Start,C=t&&i("div",{className:M
6429R,children:i(Ze,{imgSrcs:t,imgClassName:AR,altText:o})});return x(se,{children:[x("div",{"data-testid":"sdsm-hero-header",className:h(vR,g.groupCss,g.isStacked?wb[b]:yp[b],p),...te(l),children:[C,e&&i("span",{className:g.textCss,children:y})]}),x("div",{className:h(xR,f.groupCss,f.isStacked?wb[S]:yp[S],p),...te(l),children:[C,e&&i("span",{className:f.textCss,children:u})]})]})};Bh.displayName="HeroHeader";var nF=T(E());var ER=225,RR=180,FR=20,Op=c` 6430 color: ${r("--summary-card-fg-color")}; 6431 background-color: ${r("--summary-card-bg-color")}; 6432 border: ${r("--summary-card-border-width")} solid ${r("--summary-card-border-color")}; 6433 border-radius: ${r("--summary-card-border-radius")}; 6434 display: flex; 6435 box-shadow: ${r("--summary-card-box-shadow")}; 6436 flex-direction: row; 6437 height: ${RR}px; 6438 transition: background-color 0.2s linear, border-color 0.2s linear, box-shadow 0.2s linear; 6439 will-change: filter; 6440 6441 ${V} { 6442 height: ${ER}px; 6443 } 6444 6445 :hover { 6446 background-color: ${r("--summary-card-hover-bg-color")}; 6447 border-color: ${r("--summary-card-hover-border-color")}; 6448 box-shadow: ${r("--summary-card-hover-box-shadow")}; 6449 } 6450`,Ey=c` 6451 display: flex; 6452 flex-direction: row; 6453 width: 100%; 6454`,Ry=c` 6455 background-position: center; 6456 background-repeat: no-repeat; 6457 background-size: cover; 6458 height: 100%; 6459 min-width: 101px; 6460 width: 101px; 6461 6462 video { 6463 border-radius: 0; 6464 height: ${RR}px; 6465 width: 100%; 6466 6467 ${V} { 6468 height: ${ER}px; 6469 } 6470 } 6471 6472 ${Ye} { 6473 min-width: 126px; 6474 width: 126px; 6475 } 6476 6477 ${r0} { 6478 min-width: 134px; 6479 width: 134px; 6480 } 6481`,BR=c` 6482 /* stylelint-disable-next-line value-no-vendor-prefix */ 6483 display: -webkit-box; 6484 -webkit-box-orient: vertical; 6485 font-weight: 500; 6486 margin-bottom: ${r("--spacing-xxs")}; 6487 overflow: hidden; 6488 word-break: break-word; 6489 color: ${r("--summary-card-title-color")}; 6490 6491 ${Ye} { 6492 margin-bottom: ${r("--spacing-xs")}; 6493 } 6494`,$R=c` 6495 /* NOTE(dvazbynd): margin-block-start should match line-height of summaryCardDateCss */ 6496 margin-block-start: ${FR}px; 6497`,LR=c` 6498 -webkit-line-clamp: 4; 6499 font-size: 18px; 6500 line-height: 26px; 6501 6502 ${V} { 6503 font-size: 24px; 6504 line-height: 34px; 6505 } 6506`,HR=c` 6507 -webkit-line-clamp: 5; 6508 font-size: 14px; 6509 line-height: 20px; 6510 6511 ${V} { 6512 -webkit-line-clamp: 4; 6513 font-size: 20px; 6514 line-height: 30px; 6515 } 6516`,VR=c` 6517 -webkit-line-clamp: 3; 6518 font-size: 18px; 6519 line-height: 26px; 6520 6521 ${V} { 6522 -webkit-line-clamp: 4; 6523 font-size: 20px; 6524 line-height: 30px; 6525 } 6526`,OR=c` 6527 -webkit-line-clamp: 3; 6528 font-size: 18px; 6529 line-height: 26px; 6530 6531 ${V} { 6532 -webkit-line-clamp: 3; 6533 font-size: 20px; 6534 line-height: 30px; 6535 } 6536`,GR=c` 6537 -webkit-line-clamp: 3; 6538 font-size: 14px; 6539 line-height: 20px; 6540 6541 ${V} { 6542 font-size: 20px; 6543 line-height: 30px; 6544 } 6545`,$h=c` 6546 font-size: 12px; 6547 font-weight: 500; 6548 line-height: ${FR}px; 6549 margin-bottom: ${r("--spacing-xxs")}; 6550 6551 ${Ye} { 6552 font-size: 14px; 6553 margin-bottom: ${r("--spacing-xs")}; 6554 } 6555`,Fy=c` 6556 color: ${r("--summary-card-fg-color")}; 6557 display: flex; 6558 flex-direction: column; 6559 flex-grow: 1; 6560 padding: ${r("--spacing-m")}; 6561 6562 ${V} { 6563 padding: ${r("--spacing-l")}; 6564 } 6565`,zR=c` 6566 justify-content: space-between; 6567`,UR=c` 6568 -webkit-box-orient: vertical; 6569 color: ${r("--summary-card-description-color")}; 6570 /* stylelint-disable-next-line value-no-vendor-prefix */ 6571 display: -webkit-box; 6572 font-size: 14px; 6573 font-weight: 400; 6574 line-height: 20px; 6575 overflow: hidden; 6576 pointer-events: none; 6577 word-break: break-word; 6578 6579 b, 6580 strong, 6581 > * b, 6582 > * strong { 6583 font-weight: normal; 6584 } 6585 6586 i, 6587 > * i { 6588 font-style: normal; 6589 } 6590 6591 a, 6592 u, 6593 > * a, 6594 > * u { 6595 text-decoration: none; 6596 color: inherit; 6597 } 6598 6599 ${V} { 6600 font-size: 16px; 6601 line-height: 26px; 6602 } 6603 6604 > *:not(:first-child) { 6605 display: none; 6606 } 6607`,WR=c` 6608 -webkit-line-clamp: 3; 6609 6610 ${V} { 6611 -webkit-line-clamp: 2; 6612 } 6613`,qR=c` 6614 -webkit-line-clamp: 2; 6615`,QR=c` 6616 display: block; 6617 height: 100%; 6618 width: 100%; 6619`,KR=c` 6620 /* Due to stickers overlapping the image, we cannot have 'overflow: hidden' on the container or they 6621 * get clipped. Therefore, we need to set the border radius on the image as well. 6622 * 6623 * As the image is inside the outer card container, which has the border applied, the radius needs to 6624 * be smaller in order to match the curve of the container, so remove the border width from the radius. 6625 * 6626 * NOTE: Ensure that '--summary-card-border-width' has 'px' unit as it is required for 'calc()', which 6627 * will not work with '0'. 6628 */ 6629 border-end-end-radius: calc( 6630 ${r("--summary-card-border-radius")} - ${r("--summary-card-border-width")} 6631 ); 6632 border-start-end-radius: calc( 6633 ${r("--summary-card-border-radius")} - ${r("--summary-card-border-width")} 6634 ); 6635 height: 100%; 6636 object-fit: cover; 6637 object-position: center; 6638 width: 100%; 6639`,jR=c` 6640 text-decoration: none; 6641`,Lh=c` 6642 background-color: rgb(232, 232, 235); 6643`,YR=c` 6644 gap: 10px; 6645`,XR=c` 6646 border-radius: ${r("--border-radius-m")}; 6647`,Hh=c` 6648 position: relative; 6649 overflow: hidden; 6650 6651 &::before { 6652 position: absolute; 6653 top: 0; 6654 left: 0; 6655 height: 100%; 6656 width: 100%; 6657 transform: translateX(-100%); 6658 content: ''; 6659 background: linear-gradient(0.25turn, transparent, #fff, transparent); 6660 pointer-events: none; 6661 opacity: 0.8; 6662 animation: summary-card-skeleton 2s infinite; 6663 } 6664 6665 @keyframes summary-card-skeleton { 6666 0% { 6667 transform: translateX(-100%); 6668 } 6669 30% { 6670 transform: translateX(-100%); 6671 } 6672 100% { 6673 transform: translateX(100%); 6674 } 6675 } 6676`;var rX=[{height:8,items:[20]},{height:12,items:[40,17,25]},{height:12,items:[25,55]},{height:8,items:[36,19,27]},{height:8,items:[15,46,25]},{height:8,items:[22,39]}],Gp=({className:e})=>{let t=h(Op,e),o=h(Fy,zR),n=h(Ry,Lh),a=h(XR,Lh,Hh),s=h(Ey,YR);return x("div",{className:t,"data-testid":"skeleton-summary-card-container",children:[i("div",{className:o,children:rX.map(({height:l,items:p},d)=>i("div",{style:{height:l},className:s,children:p.map((u,y)=>i("div",{className:a,style:{height:l,width:`${u}%`}},`skeleton-line-${d}-${y}`))},`skeleton-line-${d}`))}),i("div",{className:h(n,Hh)})]})};Gp.displayName="SkeletonSummaryCard";var JR=T(E());var zp=({date:e,dateTime:t,className:o,title:n,description:a,onClick:s,link:l,imgSrcs:p,imgAltText:d,showMedia:u,showDescription:y,showDate:m,dataset:g,dateDataset:f,titleDataset:b,descriptionDataset:S,mediaDataset:C,eyebrowText:I,stickers:k})=>{K("sdsm-summary-card");let{Anchor:v}=(0,JR.useContext)(Le),w=h("sdsm-summary-card",{[Op]:!l,[Ey]:!!l},o),_=h(jR,{[Op]:!!l},o),D=h(BR,{[GR]:y&&u,[LR]:!y&&!u,[OR]:y&&!u&&m,[VR]:!y&&!u&&!m,[HR]:!y&&u,[$R]:!e&&m}),M=h(UR,{[WR]:u,[qR]:!u}),A=x("div",{className:w,"data-testid":"summary-card-container",...te(g),children:[x("div",{className:Fy,children:[I?i("span",{className:$h,children:I}):m&&e?i("time",{dateTime:Kd(t),className:$h,...te(f),children:e}):null,n?i("div",{className:D,...te(b),children:n}):null,y&&a?i("div",{className:M,...te(S),children:a}):null]}
6676),u?i("div",{className:Ry,children:p?i(Hn,{altText:d,imgSrcs:p,className:QR,imgClassName:KR,dataset:C,stickers:k}):null}):null]});return l?i(v,{href:l,className:_,onClick:s,children:A}):A};zp.displayName="SummaryCard";var ZR=e=>{let t=e;if(t?.type===zp||t?.type===Gp)return!0;let o=e.type;return o.displayName==="SummaryCard"||o.displayName==="SkeletonSummaryCard"};var eF=c` 6677 /* Setting height so that we reserve the space for the video/carousel. */ 6678 max-height: 650px; 6679 6680 /* Limiting the width to at least allow for 1 tile. */ 6681 min-width: 274px; 6682 max-width: 100%; 6683 6684 /* Matches the padding on the Hero Text container. */ 6685 padding-inline: ${r("--spacing-xxl")}; 6686 6687 /* TODO: Fix this for the case where VIDEOS overflow */ 6688 overflow: visible; 6689 6690 ${P} { 6691 height: unset; 6692 } 6693 6694 /* Limits the height of the video wrapper. Without this max-height is ignored */ 6695 * { 6696 max-height: 650px; 6697 } 6698`,tF=c` 6699 padding-inline: 0; 6700`,oF=c` 6701 max-height: 350px; 6702 6703 /* Limits the height of the video wrapper. Without this max-height is ignored */ 6704 * { 6705 max-height: 350px; 6706 } 6707`;var Vh=({className:e,foregroundMedia:t,imgSrcs:o,wrapMedia:n,showMediaMobile:a,size:s})=>{let l=Ft();if(n=t?.props?.wrap??n,l&&!a)return null;let p;return t?(p=t,JD(t)&&(p=(0,nF.cloneElement)(t,{isSingleView:!0}))):p=i(Ke,{imgSrcs:o,wrap:n}),i("aside",{"data-testid":"sdsm-hero-media",className:h(eF,e,{[oF]:s==="Compact"},{[tF]:t?ZR(t):!1}),children:p})};Vh.displayName="HeroMedia";var Ti={FullScreen:"Full screen",Start:"50% start",End:"50% end"},Oh=(0,rF.forwardRef)((e,t)=>{K("sdsm-hero");let{backgroundVideoSource:o,backgroundPosterSource:n,mobileBackgroundVideoSource:a,body:s,callsToAction:l,fitWindow:p=!1,foregroundMedia:d,curtainOpacityPercentage:u,headerImgSrcs:y,headerImgAltText:m,headerMediaPixelSize:g,eyebrow:f,title:b,motifScheme:S,backgroundColor:C,header:I,bgImgSrcs:k,bgImgAltText:v,imgSrcs:w,textAlign:_,textAlignMobile:D,verticalTextAlign:M=Xo.Middle,shareable:A=!1,className:N,footer:$,anchorId:B,eyebrowDataset:L,titleDataset:H,bodyDataset:z,headerDataset:j,postChildren:ue,showMediaMobile:ie,wrapMedia:ne,size:J,subTitle:pe,subTitleDataset:re,showScrollButton:Q,onScrollDownButtonClick:Y,backgroundMediaLayout:Z=Ti.FullScreen,breadcrumbs:U,breadcrumbsPropsOverride:R,topics:X,backgroundMediaStickers:W,increaseTitleFontSize:le=!1}=e,ee=!!(d||w),{width:be}=mn(),q=Ft(),ce=S??Ne(C)??"sdsm-secondary",_e=!!be&&be>Io&&be<VE,me=!tp(k)||!tp(o),Ie=J==="Compact",he=u;ht(he)&&(he=me?75:0);let Ae=Z===Ti.Start||Z===Ti.End,Pt,pt=W?.map(ye=>({...ye,size:Ae?dr.Medium:dr.Large,insetPx:16,className:su}));k?Pt=i(Hn,{imgSrcs:k,altText:v,className:h(Ph,{[Ny]:Ae,[Eh]:Ae,[Rh]:Ae}),imgClassName:Nh,fetchPriority:"high",stickers:pt}):o&&(Pt=i("div",{className:h({[Ny]:Ae,[Eh]:Ae}),children:i(Ur,{mobileSource:a,className:h(Ph,{[Rh]:Ae}),videoClassName:Nh,source:o,posterSource:n,isBackgroundVideo:!0,stickers:pt})}));let so=Ma[D??ae.Start],bo=ee?ae.Start:ae.Center,rt=ka[_??bo],ke=h({[zE]:M===Xo.Top,[UE]:M===Xo.Bottom}),Fe=!!he&&!Ae,Qo=Z===Ti.Start,lo=h(YE,{[XE]:Qo&&ce!=="sdsm-secondary",[JE]:Qo&&ce==="sdsm-secondary"});return x("section",{ref:t,className:h("sdsm-hero",ce,QE,{[Dh]:p,[gR]:Ae,[fR]:Z===Ti.End,[_h]:me},N),id:B,"data-curtain":Fe,children:[Pt,Fe&&i("div",{"data-testid":"sdsm-hero-curtain",className:eR,style:{[Py]:he/100}}),!!U?.length&&i(vS,{className:lo,breadcrumbsItems:U,shouldCollapseOnMobile:!0,...R}),x(Wr,{"data-testid":"sdsm-hero-block-content",className:h(KE,ke,{[jE]:!!U?.length},{[Dh]:p},{[ZE]:Ie,[Ny]:Ae}),children:[x("div",{"data-testid":"sdsm-hero-text",className:h(so,rt,WE,{[qE]:p}),children:[(I||y)&&i(Bh,{content:I,iconSrcs:y,iconAltText:m,headerMediaPixelSize:g,textAlign:_??bo,textAlignMobile:D,headerDataset:j,className:tR}),f&&i("div",{className:oR,...te(L),children:f}),b&&i("div",{className:dR,children:i("h1",{className:h({[wh]:!Ae&&!ee,[nR]:Ae||ee,[rR]:le&&!Ae&&!ee},rt,so),...te(H),children:b})}),pe&&i("div",{className:aR,...te(re),children:pe}),s&&i("div",{className:h(so,rt,sR),...te(z),children:s}),X&&i("div",{className:h(iR,rt),children:X}),l&&i("div",{className:h(so,lR),children:l}),$&&i("footer",{className:pR,children:$})]}
6707),ee&&!_e&&!Ae&&i(Vh,{className:uR,foregroundMedia:d,imgSrcs:w,wrapMedia:ne,showMediaMobile:ie,size:J}),p&&Q&&!q&&i("div",{className:yR,children:i(Ao,{size:"small",iconName:"chevron-down",className:mR,onClick:Y})})]}),A&&i(Ah,{className:cR,title:b?.toString()??""}),ue]})});Oh.displayName="Hero";var By=T(E());var aF=c` 6708 cursor: pointer; 6709 6710 /** TODO: Troubleshoot this w/ designers. */ 6711 text-decoration: underline; 6712 6713 color: ${r("--hyperlink-color")}; 6714 :hover { 6715 color: ${r("--hyperlink-hover-color")}; 6716 border-bottom: 0; 6717 } 6718 6719 ${P} { 6720 font-size: ${r("--hyperlink-mobile-font-size")}; 6721 font-weight: ${r("--hyperlink-mobile-font-weight")}; 6722 letter-spacing: ${r("--hyperlink-mobile-font-letter-spacing")}; 6723 line-height: ${r("--hyperlink-mobile-font-line-height")}; 6724 } 6725 6726 ${V} { 6727 font-size: ${r("--hyperlink-desktop-font-size")}; 6728 font-weight: ${r("--hyperlink-desktop-font-weight")}; 6729 letter-spacing: ${r("--hyperlink-desktop-font-letter-spacing")}; 6730 line-height: ${r("--hyperlink-desktop-font-line-height")}; 6731 } 6732`;var Up=(0,By.memo)(({children:e,link:t,target:o,draggable:n,onClick:a,className:s})=>{K("sdsm-hyperlink");let{Anchor:l}=(0,By.useContext)(Le);return i(l,{href:t,target:o,draggable:n,className:h("sdsm-hyperlink",aF,s),onClick:a,children:e})});Up.displayName="Hyperlink";var iF=T(E());var aX=c` 6733 background: none; 6734 border: none; 6735 cursor: pointer; 6736 outline: inherit; 6737`,Gs=({height:e,imgSrcs:t,url:o,width:n,onClick:a,altText:s,pictureClassName:l,className:p})=>{K("sdsm-image-button");let{Anchor:d}=(0,iF.useContext)(Le);return o?i(d,{href:o,className:h("sdsm-image-button",p),onClick:a,children:i(Ze,{className:l,altText:s,height:e,width:n,imgSrcs:t})}):i("button",{className:h("sdsm-image-button",aX,p),onClick:a,children:i(Ze,{className:l,altText:s,height:e,width:n,imgSrcs:t})})};var Xr=T(E());var sF=c` 6738 background-color: ${r("--bg-color")}; 6739`,lF=c` 6740 padding: ${r("--spacing-xxxl")} ${r("--spacing-l")}; 6741 6742 ${V} { 6743 padding-inline: ${r("--spacing-xxxxl")}; 6744 } 6745`,pF=c` 6746 display: grid; 6747 gap: ${r("--spacing-xl")}; 6748 grid-template-columns: 1fr; 6749 6750 ${V} { 6751 grid-template-areas: 'text text text text text . cards cards cards cards cards cards'; 6752 grid-template-columns: repeat(12, 1fr); 6753 } 6754`,cF=c` 6755 ${V} { 6756 grid-template-areas: 'cards cards cards cards cards cards . text text text text text'; 6757 } 6758`,dF=c` 6759 grid-column: span 1; 6760 6761 ${V} { 6762 align-items: center; 6763 display: flex; 6764 grid-area: text; 6765 height: calc(100vh - ${64}px); 6766 position: sticky; 6767 top: ${64}px; 6768 } 6769`,uF=c` 6770 ${V} { 6771 flex-direction: row-reverse; 6772 } 6773`,yF=c` 6774 display: none; 6775 list-style: none; 6776 6777 > li { 6778 line-height: 0; 6779 } 6780 6781 ${V} { 6782 display: flex; 6783 flex-direction: column; 6784 flex: 0 0 20%; 6785 gap: ${r("--spacing-m")}; 6786 } 6787`,mF=c` 6788 ${V} { 6789 align-items: flex-end; 6790 } 6791`,gF=r("--neutral-v700"),fF=r("--primary-v100"),bF=e=>c` 6792 background-color: transparent; 6793 height: 24px; 6794 transition: height 0.3s ease-in-out, background-color 0.3s ease-in-out; 6795 width: 14px; 6796 6797 &::before { 6798 background-color: rgba(133, 141, 148, 0.5); 6799 border-radius: ${r("--border-radius-s")}; 6800 content: ''; 6801 display: block; 6802 height: 100%; 6803 width: 4px; 6804 } 6805 6806 @media (hover: hover) { 6807 cursor: pointer; 6808 6809 &:hover { 6810 height: 56px; 6811 } 6812 6813 &:hover::before { 6814 background-color: ${e==="sdsm-secondary"?fF:gF}; 6815 } 6816 } 6817`,SF=e=>c` 6818 height: 56px; 6819 6820 &::before { 6821 background-color: ${e==="sdsm-secondary"?fF:gF}; 6822 } 6823`,hF=c` 6824 color: ${r("--fg-color")}; 6825 6826 ${P} { 6827 display: flex; 6828 flex-direction: column; 6829 flex: 0 0 80%; 6830 gap: ${r("--spacing-m")}; 6831 padding: ${r("--spacing-m")}; 6832 } 6833 6834 ${V} { 6835 align-self: center; 6836 flex: 1; 6837 padding-block: 134px; 6838 } 6839`,CF=c` 6840 ${P} { 6841 text-align: start; 6842 } 6843`,xF=c` 6844 ${P} { 6845 text-align: center; 6846 } 6847`,vF=c` 6848 ${P} { 6849 text-align: end; 6850 } 6851`,IF=c` 6852 grid-column: span 1; 6853 list-style: none; 6854 6855 ${P} { 6856 display: flex; 6857 flex-direction: column; 6858 gap: ${r("--spacing-m")}; 6859 } 6860 6861 ${V} { 6862 grid-area: cards; 6863 } 6864`,kF=c` 6865 align-items: center; 6866 display: flex; 6867 justify-content: center; 6868 6869 > div { 6870 cursor: initial; 6871 } 6872 6873 ${P} { 6874 transform: scale(0.7); 6875 transition: transform 50ms linear; 6876 will-change: transform; 6877 } 6878 6879 ${V} { 6880 padding-block: 134px; 6881 scroll-margin-top: ${64}px; 6882 6883 /* Override the Carousel Card width. Value defined by the design team. */ 6884 > div { 6885 width: 320px; 6886 } 6887 } 6888`,MF=c` 6889 /** 6890 * using var instead of m function because this is not a motif variable. 6891 * It is a custom css var defined in heroCss. 6892 */ 6893 color: ${r("--fg-color")}; 6894 font-size: ${r("--annotation-desktop-font-size")}; 6895 font-weight: ${r("--annotation-desktop-font-weight")}; 6896 letter-spacing: ${r("--annotation-desktop-font-letter-spacing")}; 6897 line-height: ${r("--annotation-desktop-font-line-height")}; 6898 6899 ${P} { 6900 font-size: ${r("--annotation-mobile-font-size")};
6901 font-weight: ${r("--annotation-mobile-font-weight")}; 6902 letter-spacing: ${r("--annotation-mobile-font-letter-spacing")}; 6903 line-height: ${r("--annotation-mobile-font-line-height")}; 6904 } 6905`,AF=c` 6906 ${d0} 6907 margin-block-start: ${r("--spacing-xs")}; 6908`,TF=c` 6909 ${uo} 6910 6911 ${V} { 6912 margin-block-start: ${r("--spacing-m")}; 6913 } 6914`;var $y=T(E()),_F=({cardRefs:e,childCount:t,options:o})=>{let{threshold:n=.5,isEnabled:a}=o,[s,l]=(0,$y.useState)(0);return(0,$y.useEffect)(()=>{if(!a){l(0);return}let p=e.current.slice(0,t);if(p.length===0)return;let d=new Map,u=g=>{for(let k of g)d.set(k.target,k.intersectionRatio);let f=-1,b=0,S=-1,C=0;for(let k=0;k<p.length;k++){let v=p[k];if(!v)continue;let w=d.get(v)??0;w>=n&&w>C&&(C=w,S=k),w>b&&(b=w,f=k)}let I=S!==-1?S:f;I!==-1&&l(I)},y=[0,.1,.2,.3,.4,.5,.6,.7,.8,.9,1],m=new IntersectionObserver(u,{threshold:y});for(let g of p)g&&m.observe(g);return()=>{m.disconnect()}},[e,t,n,a]),s};f0();var Wp=T(E());var wF=({childCount:e,elementRefs:t,isEnabled:o})=>{let n=(0,Wp.useRef)(new Set),a=(0,Wp.useRef)(!1);(0,Wp.useEffect)(()=>{let s=t.current.slice(0,e);if(!o){for(let m of s)m&&(m.style.transform="scale(1)");return}let l=()=>{let m=window.innerHeight/2+64;for(let g of n.current){let f=s[g];if(!f)continue;let b=f.getBoundingClientRect(),S=b.top+b.height/2,C=Math.abs(m-S),k=Math.max(0,C-30),v=Math.min(1,k/m),_=1-v*v*.3;f.style.transform=`scale(${_})`}},p=()=>{a.current||(window.requestAnimationFrame(()=>{l(),a.current=!1}),a.current=!0)},d=m=>{for(let g of m){let f=g.target,b=s.indexOf(f);if(b===-1)return;g.isIntersecting?n.current.add(b):n.current.delete(b)}},u=new IntersectionObserver(d,{rootMargin:"20px",threshold:0});for(let m of s)m&&u.observe(m);let y=Td(l,200,{trailing:!0});return window.addEventListener("scroll",p,{passive:!0}),window.addEventListener("resize",y),l(),()=>{window.removeEventListener("scroll",p),window.removeEventListener("resize",y),u.disconnect(),n.current.clear()}},[t,e,o])};var Gh=e=>{let{anchor:t,motifScheme:o,backgroundColor:n,children:a,eyebrow:s,text:l,textAlignmentMobile:p=ae.Center,tilesDirection:d=ae.End,title:u}=e;K("sdsm-carousel");let y=(0,Xr.useRef)([]),m=(0,Xr.useRef)(null),g=Xr.Children.count(a),f=Ft(),b=(0,Xr.useId)(),S=o??Ne(n)??"sdsm-secondary",C=(k,v)=>{y.current[v]=k};wF({elementRefs:y,childCount:g,isEnabled:f});let I=_F({cardRefs:y,childCount:g,options:{isEnabled:!f,threshold:.8}}
6914);return i("section",{"aria-labelledby":b,className:h(sF,S),id:t,ref:m,children:i(Wr,{className:lF,children:x("div",{className:h(pF,{[cF]:d===ae.Start}),children:[x("section",{className:h(dF,{[uF]:d===ae.Start}),children:[i("ul",{className:h(yF,{[mF]:d===ae.Start}),children:Xr.Children.map(a,(k,v)=>i("li",{children:i("button",{type:"button","aria-label":`Go to item ${v+1}`,onClick:()=>{y.current[v]?.scrollIntoView({behavior:"smooth"})},className:h(bF(S),{[SF(S)]:I===v}),"aria-current":I===v?"true":"false"})},v))}),x("div",{className:h(hF,{[CF]:p===ae.Start,[xF]:p===ae.Center,[vF]:p===ae.End}),children:[s&&i("div",{className:MF,children:s}),i("h2",{id:b,className:AF,children:u}),l&&i("div",{className:TF,children:l})]})]}),i("ul",{className:IF,children:Xr.Children.map(a,(k,v)=>i("li",{className:kF,ref:w=>C(w,v),children:k},v))})]})})})};Gh.displayName="ImmersiveScrollBlock";var DF=c` 6915 width: 100%; 6916 margin-top: ${r("--spacing-xs")}; 6917 padding: 0 0 ${r("--spacing-m")}; 6918`,PF=c` 6919 font-size: 2rem; 6920 font-weight: 600; 6921 line-height: 2.5rem; 6922 margin-bottom: 0; 6923 6924 :hover { 6925 text-decoration: underline; 6926 } 6927 6928 a { 6929 /* TODO: See if this should be hyperlink color or its own */ 6930 color: ${r("--fg-color")}; 6931 text-decoration: none; 6932 } 6933`;var NF=({anchorId:e,title:t,items:o,cta:n,motifScheme:a,backgroundColor:s,scrollSnap:l,className:p,preChildren:d,postChildren:u})=>{let y=i(se,{children:o.map((m,g)=>x("article",{"data-testid":"latest-post-item",className:DF,children:[m.category&&i(oP,{title:m.category}),i("div",{className:PF,children:m.title}),(m.author||m.date)&&i(i_,{author:m.author,date:m.date}),i("hr",{})]},g))});return i(To,{title:t,titleAlignment:ae.Center,anchorId:e,className:p,fullHeight:l,motifScheme:a,backgroundColor:s,maxColumns:1,preChildren:d,postChildren:u,children:i(Es,{body:y,callsToAction:n?[n]:void 0})})};var iX=c` 6934 @keyframes loader-animation { 6935 0% { 6936 left: -60%; 6937 } 6938 50% { 6939 left: 60%; 6940 } 6941 100% { 6942 left: -60%; 6943 } 6944 } 6945`,sX=c` 6946 position: absolute; 6947 height: 3.75px; 6948 width: 100%; 6949 overflow: hidden; 6950`,lX=c` 6951 position: relative; 6952 height: 5px; 6953 z-index: ${De.LOADING_BAR}; 6954 width: 75%; 6955 margin: 0; 6956 background: linear-gradient( 6957 90deg, 6958 transparent 0%, 6959 ${r("--loading-bar-left-color")} 14%, 6960 ${r("--loading-bar-right-color")} 86%, 6961 transparent 100% 6962 ); 6963 6964 animation-name: loader-animation; 6965 animation-duration: 2s; 6966 animation-iteration-count: infinite; 6967 animation-timing-function: ease-in-out; 6968`,EF=({className:e})=>(K("sdsm-loading-bar"),i("div",{className:h("sdsm-loading-bar",sX,iX,e),children:i("hr",{className:lX})}));var VF=T(E());var RF=c` 6969 fill: ${r("--logo-stroke-color")}; 6970`,FF=c` 6971 fill: ${r("--logo-fill-color")}; 6972`,BF=c` 6973 fill: ${r("--logo-stroke-color")}; 6974 fill-rule: evenodd; 6975`;var $F=({className:e,width:t,height:o})=>(K("sdsm-logo"),i("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 500 500",className:h("sdsm-logo",e),width:t,height:o,children:i("g",{id:"Layer_1",children:x("g",{children:[i("g",{children:i("path",{className:FF,d:`M484.6,369.3c-2-6.8-11.9-11.6-11.9-11.6l0,0c-0.9-0.5-1.7-0.9-2.4-1.3c-16.4-7.9-30.8-17.4-43.1-28.2 6976 c-9.8-8.7-18.2-18.2-25-28.4c-8.2-12.4-12.1-22.8-13.8-28.4c-0.9-3.7-0.8-5.1,0-7c0.6-1.6,2.5-3.1,3.4-3.8 6977 c5.5-3.9,14.4-9.7,19.9-13.2c4.7-3.1,8.8-5.7,11.2-7.4c7.7-5.4,12.9-10.8,16-16.7c4-7.6,4.5-16,1.4-24.3 6978 c-4.2-11.1-14.6-17.8-27.8-17.8c-2.9,0-6,0.3-9,1c-7.6,1.6-14.8,4.3-20.8,6.7c-0.4,0.2-0.9-0.2-0.9-0.6 6979 c0.6-14.9,1.3-34.9-0.3-53.9c-1.5-17.2-5-31.7-10.8-44.3c-5.8-12.7-13.4-22.1-19.3-28.9c-5.7-6.5-15.5-16-30.5-24.5 6980 c-21-12-45-18.1-71.1-18.1c-26.1,0-50,6.1-71.1,18.1c-15.8,9-25.9,19.2-30.5,24.5c-5.9,6.8-13.5,16.2-19.3,28.9 6981 c-5.8,12.6-9.3,27.1-10.8,44.3c-1.6,19.1-1,37.5-0.3,53.9c0,0.5-0.5,0.8-0.9,0.6c-6-2.3-13.2-5-20.7-6.7c-3-0.7-6-1-9-1 6982 c-13.2,0-23.6,6.7-27.8,17.8c-3.1,8.3-2.7,16.7,1.4,24.3c3.1,5.9,8.4,11.4,16,16.7c2.4,1.7,6.4,4.3,11.2,7.4 6983 c5.3,3.5,14,9.1,19.5,13c0.7,0.5,3,2.3,3.8,4.1c0.8,2,0.9,3.4-0.1,7.3c-1.7,5.7-5.6,15.9-13.7,28.1c-6.8,10.2-15.2,19.7-25,28.4 6984 C60.5,339,46,348.5,29.7,356.5c-0.8,0.4-1.7,0.8-2.7,1.4l0,0c0,0-9.8,5-11.6,11.4c-2.7,9.5,4.5,18.4,11.9,23.2 6985 c12.1,7.8,26.9,12,35.4,14.3c2.4,0.6,4.5,1.2,6.5,1.8c1.2,0.4,4.3,1.6,5.6,3.3c1.7,2.1,1.9,4.8,2.5,7.8v0c0.9,5,3,11.2,9.2,15.5 6986 c6.8,4.7,15.5,5,26.4,5.5c11.5,0.4,25.8,1,42.1,6.4c7.6,2.5,14.4,6.7,22.4,11.6c16.6,10.2,37.2,22.9,72.5,22.9 6987 c35.3,0,56.1-12.8,72.8-23c7.9-4.8,14.7-9,22.1-11.5c16.3-5.4,30.6-5.9,42.1-6.4c11-0.4,19.6-0.7,26.4-5.5 6988 c6.6-4.6,8.6-11.4,9.4-16.6c0.5-2.5,0.8-4.8,2.3-6.7c1.2-1.6,4.1-2.7,5.4-3.2c2-0.6,4.2-1.2,6.7-1.9c8.6-2.3,19.3-5,32.3-12.4 6989 C485.2,385.6,486.3,374.7,484.6,369.3z`})}),i("path",{className:RF,d:`M498.2,364c-3.5-9.5-10.1-14.5-17.6-18.7c-1.4-0.8-2.7-1.5-3.8-2c-2.2-1.2-4.5-2.3-6.8-3.5 6990 c-23.5-12.5-41.8-28.2-54.6-46.8c-4.3-6.3-7.3-12-9.4-16.6c-1.1-3.1-1-4.9-0.3-6.5c0.6-1.2,2.2-2.5,3-3.1c4-2.7,8.2-5.4,11-7.2 6991 c5-3.3,9-5.8,11.6-7.6c9.6-6.7,16.4-13.9,20.6-21.9c5.9-11.3,6.7-24.2,2.1-36.3c-6.4-16.8-22.3-27.3-41.5-27.3 6992 c-4,0-8,0.4-12.1,1.3c-1.1,0.2-2.1,0.5-3.1,0.7c0.2-11.4-0.1-23.6-1.1-35.6c-3.6-42-18.3-64-33.7-81.6c-6.4-7.3-17.5-18-34.2-27.6 6993 C305.1,10.6,278.8,3.9,250,3.9c-28.7,0-55,6.7-78.3,20c-16.8,9.6-27.9,20.3-34.3,27.6c-15.3,17.5-30,39.6-33.7,81.6 6994 c-1,11.9-1.3,24.1-1.1,35.6c-1-0.3-2.1-0.5-3.1-0.7c-4-0.9-8.1-1.3-12.1-1.3c-19.3,0-35.2,10.4-41.5,27.3 6995 c-4.6,12.1-3.8,25,2.1,36.3c4.2,8,11,15.2,20.6,21.9c2.6,1.8,6.6,4.4,11.6,7.6c2.7,1.8,6.7,4.3,10.6,6.9c0.6,0.4,2.7,1.9,3.4,3.4 6996 c0.8,1.7,0.8,3.5-0.4,6.8c-2.1,4.6-5,10.1-9.2,16.3c-12.4,18.2-30.3,33.6-53,46c-12,6.4-24.6,10.6-29.9,25 6997 c-4,10.9-1.4,23.2,8.8,33.6l0,0c3.3,3.6,7.5,6.8,12.8,9.7c12.4,6.9,23,10.2,31.3,12.5c1.5,0.4,4.8,1.5,6.3,2.8 6998 c3.7,3.2,3.2,8.1,8.1,15.2c3,4.4,6.4,7.4,9.2,9.4c10.3,7.1,21.9,7.6,34.2,8c11.1,0.4,23.7,0.9,38.1,5.7c6,2,12.1,5.8,19.3,10.2 6999 c17.2,10.6,40.8,25,80.2,25c39.4,0,63.1-14.5,80.5-25.2c7.1-4.4,13.3-8.1,19-10c14.4-4.7,27-5.2,38.1-5.7 7000 c12.3-0.5,23.9-0.9,34.2-8c3.2-2.2,7.3-5.9,10.5-11.5c3.5-6,3.4-10.2,6.8-13.2c1.4-1.2,4.3-2.2,5.9-2.7 7001 c8.4-2.3,19.1-5.7,31.7-12.6c5.6-3.1,10-6.5,13.4-10.3c0,0,0.1-0.1,0.1-0.1C499.7,386.6,502.1,374.6,498.2,364z M463.2,382.8 7002 c-21.4,11.8-35.6,10.5-46.6,17.7c-9.4,6-3.8,19.1-10.7,23.8c-8.4,5.8-33.2-0.4-65.1,10.2c-26.4,8.7-43.2,33.8-90.7,33.8 7003 c-47.6,0-64-25-90.7-33.8c-32-10.6-56.8-4.4-65.1-10.2c-6.8-4.7-1.3-17.7-10.7-23.8c-11-7.1-25.3-5.9-46.6-17.7 7004 c-13.6-7.5-5.9-12.2-1.4-14.4c77.4-37.5,89.8-95.4,90.3-99.7c0.7-5.2,1.4-9.3-4.3-14.6c-5.5-5.1-30.1-20.3-36.9-25 7005 c-11.3-7.9-16.2-15.7-12.6-25.4c2.5-6.7,8.8-9.2,15.4-9.2c2,0,4.1,0.2,6.1,0.7c12.4,2.7,24.4,8.9,31.3,10.6c1,0.2,1.8,0.3,2.6,0.3 7006 c3.7,0,5-1.9,4.8-6.1c-0.8-13.5-2.7-39.9-0.6-64.5c2.9-33.9,13.9-50.7,26.9-65.6c6.2-7.1,35.5-38.1,91.6-38.1 7007 c56.2,0,85.3,30.9,91.6,38.1c13,14.9,23.9,31.7,26.9,65.6c2.1,24.6,0.3,51-0.6,64.5c-0.3,4.5,1.1,6.1,4.8,6.1 7008 c0.8,0,1.6-0.1,2.6-0.3c6.9-1.7,19-7.9,31.3-10.6c2-0.4,4.1-0.7,6.1-0.7c6.6,0,12.8,2.5,15.4,9.2c3.7,9.7-1.3,17.5-12.6,25.4 7009 c-6.8,4.7-31.3,19.9-36.9,25c-5.7,5.3-5,9.4-4.3,14.6c0.6,4.4,12.9,62.2,90.3,99.7C469.1,370.6,476.8,375.3,463.2,382.8z`})]})})}));var LF=({className:e})=>(K("sdsm-logo"),i("svg",{className:h("sdsm-logo",e,BF),width:"89",height:"22",viewBox:"0 0 89 22",xmlns:"http://www.w3.org/2000/svg",children:x("g",{children:[i("path",{d:"M.261 15.794C.247 14.39.126 12.767.003 11.526a.513.513 0 0 1 .433-.559l.02-.003a.518.518 0 0 1 .58.38 5.99 5.99 0 0 0 .742 1.767c.308.484 1.386 2.155 3.65 2.155 1.65 0 2.86-1.166 2.86-2.64 0-1.362-1.1-1.912-3.255-2.726-.637-.264-1.297-.505-1.935-.791C2.218 8.69.15 7.723.15 5.039.15 2.05 2.548.29 5.605.29c.742 0 1.798.104 2.856.59.234.107.51.024.648-.192l.175-.276a.515.515 0 0 1 .422-.24.519.519 0 0 1 .53.48 55.8 55.8 0 0 0 .418 3.743.518.518 0 1 1-.994.255c-.276-.729-.432-1.07-.735-1.524-.725-.989-1.693-1.67-2.902-1.67-1.562 0-2.485 1.274-2.485 2.308 0 1.187 1.055 1.693 1.517 1.913.946.462 1.935.77 2.925 1.166 1.583.616 3.76 1.562 3.76 4.465 0 2.858-2.287 5.255-
70095.915 5.255-1.803 0-2.978-.57-3.66-1.003a.514.514 0 0 0-.714.17l-.195.322a.518.518 0 0 1-.402.246l-.037.003a.514.514 0 0 1-.556-.507M12.223 15.668c0-.219.157-.405.371-.441.332-.055.734-.198.795-.62.066-.507.066-1.826.066-2.156 0-.77-.022-2.023-.022-2.793 0-1.104-.37-1.407-.89-1.554a.445.445 0 0 1-.32-.429v-.052c0-.219.158-.403.373-.44 1.095-.192 2.751-.66 3.62-.96a.446.446 0 0 1 .57.283c.018.058.035.113.05.17a.447.447 0 0 0 .66.26c.83-.482 1.617-.84 2.776-.84.836 0 1.672.22 2.354.703 1.071.744 1.25 1.88 1.34 3.083v1.931c0 .33-.043 2.045-.043 2.42 0 .556.151.895.878 1.03a.442.442 0 0 1 .353.439.446.446 0 0 1-.475.446c-.623-.042-1.564-.069-3.11-.069-.872 0-1.353.024-1.8.063a.447.447 0 0 1-.487-.445v-.094c0-.201.135-.379.33-.43.643-.174.723-.481.704-1.82l-.044-3.431c-.022-1.055-.066-2.265-1.496-2.265-.595 0-1.056.218-1.5.553a.451.451 0 0 0-.184.374c.035 1.102.035 4.23.035 5.208 0 1.009.175 1.288.712 1.43.192.05.322.23.322.429v.058a.447.447 0 0 1-.475.447c-.747-.047-1.707-.077-3.506-.077-.692 0-1.094.022-1.469.058a.446.446 0 0 1-.488-.446v-.023zM31.379 12.006a.447.447 0 0 0-.56-.43c-.742.188-1.727.621-1.727 1.777 0 .594.308 1.253 1.144 1.253.426 0 .68-.129.947-.305a.444.444 0 0 0 .196-.37v-1.925zm5.082 2.544a.447.447 0 0 1 .041.66c-1.057 1.07-2.105 1.288-2.682 1.288a2.85 2.85 0 0 1-1.649-.55 2.385 2.385 0 0 1-.408-.42.44.44 0 0 0-.594-.102c-.605.393-1.854 1.093-3.242 1.093-2.024 0-2.507-1.363-2.507-2.176 0-2.513 3.867-3.564 5.618-3.878a.444.444 0 0 0 .364-.436c.002-.68.003-1.48-.089-1.756-.264-.77-1.143-.77-1.253-.77-.726 0-1.122.44-1.254.924-.066.286-.066.594-.132.88-.176.747-.792 1.033-1.341 1.033-.682 0-1.32-.44-1.32-1.253 0-1.628 3.013-2.948 5.74-2.948 1.891 0 3.276.616 3.276 2.442l-.043 4.904c-.022.374-.045 1.23.527 1.23.142 0 .276-.074.402-.172a.443.443 0 0 1 .546.007z"}),i("path",{d:"M42.65 15.002c1.627 0 2.22-2.265 2.22-3.76 0-1.584-.66-3.695-2.286-3.695-1.474 0-1.474 1.518-1.474 1.979 0 .506.023 2.969.023 3.519 0 .704 0 1.957 1.517 1.957zM37.482 9.79c.04-1.68-.2-2.076-.95-2.283a.425.425 0 0 1-.304-.412v-.11a.42.42 0 0 1 .372-.419c1.485-.159 3.056-.564 3.829-.774a.417.417 0 0 1 .52.32c.023.102.046.227.074.384a.421.421 0 0 0 .636.288c.863-.553 1.714-.842 2.794-.842 2.661 0 4.31 2.287 4.31 4.706 0 3.32-2.353 5.63-5.101 5.63-.843 0-1.457-.215-1.882-.444a.422.422 0 0 0-.625.368v2.538c0 .851.052 1.507.962 1.661a.416.416 0 0 1 .335.414.422.422 0 0 1-.432.422 150.558 150.558 0 0 0-3.262-.055c-.827 0-1.362.015-2.066.045a.422.422 0 0 1-.442-.42v-.055c0-.204.142-.387.344-.421.818-.14.888-.59.888-1.217.022-.418.022-1.715.022-2.199l-.022-7.125zM60.272 16.146c-.893-.066-1.477-.066-3.816-.066-1.28 0-1.791.015-2.54.068a.502.502 0 0 1-.11-.996c1.233-.173 1.286-.618 1.286-3.405V4.754c-.022-1.671-.043-2.177-.198-2.485-.166-.39-.427-.482-1.099-.594a.5.5 0 0 1-.418-.493c0-.308.232-.533.514-.525 1.236.033 2.473.05 3.708.05 1.24 0 2.035-.027 2.717-.05a.5.5 0 0 1 .082.997c-1.303.163-1.303.558-1.303 3.474l.022 6.817c.044 2.31.066 2.442.33 2.793.188.222.483.339.935.4a.5.5 0 0 1 .428.495.504.504 0 0 1-.538.513zM60.97 15.668c0-.219.157-.405.371-.441.332-.055.734-.198.795-.62.066-.507.066-1.826.066-2.156 0-.77-.022-2.023-.022-2.793 0-1.104-.37-1.407-.89-1.554a.445.445 0 0 1-.32-.429v-.052c0-.219.157-.403.373-.44 1.095-.192 2.75-.66 3.62-.96a.446.446 0 0 1 .57.283c.018.058.035.113.05.17a.447.447 0 0 0 .659.26c.83-.482 1.617-.84 2.777-.84.835 0 1.671.22 2.353.703 1.072.744 1.252 1.88 1.34 3.083.002.012.002.024.002.036v1.895c0 .33-.044 2.045-.044 2.42 0 .556.15.895.878 1.03a.442.442 0 0 1 .353.439.446.446 0 0 1-.476.446c-.622-.042-1.564-.069-3.109-.069-.873 0-1.353.024-1.8.063a.447.447 0 0 1-.487-.445v-.094c0-.201.135-.379.33-.43.643-.174.723-.481.704-1.82l-.044-3.431c-.023-1.055-.066-2.265-1.496-2.265-.595 0-1.057.218-1.501.553a.451.451 0 0 0-.183.374c.035 1.102.035 4.23.035 5.208 0 1.009.174 1.288.712 1.43.192.05.322.23.322.429v.058a.447.447 0 0 1-.475.447c-.747-.047-1.707-.077-3.506-.077-.692 0-1.094.022-1.469.058a.446.446 0 0 1-.488-.446v-.023zM83.847 13.754c.276.2.314.604.072.844a6.543 6.543 0 0 1-4.557 1.9c-3.145 0-5.454-2.178-5.454-5.169 0-3.144 2.683-5.167 5.96-5.167 2.155 0 4.2.945 4.2 2.529 0 .747-.637 1.385-1.385 1.385-.33 0-.726-.154-.968-.396-.198-.176-.242-.286-.
700966-1.231-.198-.418-.638-1.166-1.319-1.166-1.276 0-1.628 2.177-1.628 3.255 0 2.485 1.408 4.156 2.947 4.156.818 0 1.495-.376 2.096-.904a.558.558 0 0 1 .696-.036M86.884 12.539c1.078 0 2 .858 2 2.001 0 1.122-.922 1.98-1.978 1.98a1.96 1.96 0 0 1-1.98-1.936c0-1.363 1.056-2.045 1.958-2.045"})]})}));var pX=c` 7010 text-decoration: none; 7011 display: flex; 7012 padding-top: 0; 7013 padding-bottom: 0; 7014 cursor: pointer; 7015`,HF=c` 7016 max-width: 100%; 7017 /* Prevents large logo images from exceeding header height */ 7018 max-height: calc(${64}px - ${r("--spacing-m")}); 7019 7020 ${P} { 7021 max-width: 100%; 7022 } 7023 display: block; 7024`,cX=c` 7025 margin-left: ${r("--spacing-m")}; 7026 7027 *[dir='rtl'] & { 7028 margin-right: ${r("--spacing-m")}; 7029 margin-left: 0; 7030 } 7031 7032 ${u0} 7033`,_i=({imgSrcs:e,imageSource:t,label:o,url:n="/",onClick:a,innerLogoClassName:s,className:l,openInNewTab:p,logoType:d="Ghost",ariaLabel:u})=>{let{Anchor:y}=(0,VF.useContext)(Le),m;return e?m=i(Ze,{altText:"logo",imgClassName:HF,imgSrcs:e}):t?m=i(Ze,{altText:"logo",imgClassName:HF,defaultSrc:t}):d==="SnapInc"?m=i(LF,{className:s}):m=i($F,{className:s,width:32,height:32}),x(y,{href:n,onClick:a,className:h(l,pX),"aria-label":u,...p?{target:"_blank",rel:"noopener"}:{},children:[m,o&&i("span",{className:cX,children:o})]})};_i.displayName="Logo";var Hy=T(E()),jF=T(ua());var OF="sdsm-modal-content",Ly="sdsm-modal-close-button",GF="sdsm-modal-blocking",zF={[Xo.Top]:c` 7034 left: 50%; 7035 top: 0; 7036 transform: translateX(-50%); 7037 `,[Xo.Bottom]:c` 7038 bottom: 0; 7039 left: 50%; 7040 transform: translateX(-50%); 7041 `,[Xo.Middle]:c` 7042 left: 50%; 7043 top: 50%; 7044 transform: translate(-50%, -50%); 7045 `},UF=c` 7046 backdrop-filter: blur(4px); 7047 background: ${r("--modal-bg-color")}; 7048 box-shadow: none; 7049 height: 100%; 7050 left: 0; 7051 overflow: hidden; 7052 position: fixed; 7053 top: 0; 7054 width: 100%; 7055 z-index: ${De.MODAL}; 7056 7057 /* ========================================================================================================== 7058 Specific fix to address errant behavior in Safari browser when in fullscreen mode. 7059 Bug Behavior: certain CSS transforms (like blur) will cause the browser to stop honoring z-index values. 7060 Since this style is only applied when in full-screen mode, there should be no issues with 7061 removing the background blur since it should be hidden by the fullscreen content. 7062 Use Case: Rendering a Video player inside of the SDS-M Modal component. 7063 ========================================================================================================== */ 7064 :-webkit-full-screen-ancestor:not(iframe) { 7065 /* NOTE: Safari needs the prefix. See https://caniuse.com/css-backdrop-filter */ 7066 /* stylelint-disable-next-line property-no-vendor-prefix */ 7067 -webkit-backdrop-filter: unset; 7068 } 7069`,WF=c` 7070 background-color: ${r("--bg-color")}; 7071 border-radius: ${r("--modal-border-radius")}; 7072 overflow: hidden; 7073 padding: ${r("--spacing-xl")}; 7074 padding-block-start: 52px; 7075 position: fixed; 7076 7077 ${P} { 7078 padding-block-start: 36px; 7079 padding-inline: ${r("--spacing-m")}; 7080 } 7081 7082 ${Ot} { 7083 width: 80%; 7084 } 7085 7086 /* Modal paddings takes precedence over the immediate children's 7087 * paddings (i.e. the Content component paddings, etc.) 7088 */ 7089 & > *:not(.${Ly}) { 7090 padding: 0px; 7091 } 7092`,qF=c` 7093 align-items: center; 7094 background-color: transparent; 7095 border: none; 7096 color: ${r("--icon-color")}; 7097 cursor: pointer; 7098 display: flex; 7099 inset-block-start: ${r("--spacing-m")}; 7100 inset-inline-end: ${r("--spacing-m")}; 7101 justify-content: center; 7102 margin: 0; 7103 padding: ${r("--spacing-xs")}; 7104 position: absolute; 7105 z-index: ${De.MODAL+1}; 7106 7107 ${P} { 7108 inset-block-start: ${r("--spacing-xs")}; 7109 inset-inline-end: ${r("--spacing-xs")}; 7110 padding: ${r("--spacing-xxs")}; 7111 } 7112`,QF=c` 7113 && { 7114 padding: 0; 7115 } 7116`,KF=c` 7117 inset-block-start: ${r("--spacing-m")}; 7118 inset-inline-end: ${r("--spacing-m")}; 7119 position: absolute; 7120 z-index: ${De.MODAL+1}; 7121 7122 ${P} { 7123 inset-block-start: ${r("--spacing-xs")}; 7124 inset-inline-end: ${r("--spacing-xs")}; 7125 } 7126`;var Vy=({className:e,contentClassName:t,isBlocking:o=!1,verticalAlignment:n=Xo.Middle,onClose:a,isDisplayed:s=!1,portalRoot:l,style:p,dataset:
7126d,children:u,disableBackgroundScroll:y,shouldAllowScrollEvent:m,motifScheme:g,variant:f="default"})=>{K("sdsm-modal");let b=(0,Hy.useRef)(null),S=f==="flush",C=Ft();fs(o||y?b:null,void 0,m),VA(b,s),(0,Hy.useEffect)(()=>{if(!s||o||!a)return;let k=v=>{v.key==="Escape"&&(v.stopPropagation(),a(v))};return document.addEventListener("keydown",k),()=>{document.removeEventListener("keydown",k)}},[o,s,a]);let I=i("section",{className:h("sdsm-modal",UF,{[GF]:o},e),style:p,...te(d),children:x("div",{className:h(g,WF,OF,zF[n],t,{[QF]:S}),ref:b,children:[!o&&!S&&i("button",{type:"button",className:h(Ly,qF),"aria-label":"Close",onClick:a,children:i(we,{fill:r("--icon-color"),name:"cross",size:20})}),!o&&S&&i(Ao,{size:C?"small":"medium",className:h(Ly,KF),"aria-label":"Close",iconName:"cross",onClick:a}),u]})});return l?s?(0,jF.createPortal)(I,l):null:s?I:null};var Oo=T(E());var qp=T(E());var YF=c` 7127 display: flex; 7128 justify-content: center; 7129 padding: ${r("--spacing-m")} 0; 7130 margin-bottom: ${r("--spacing-xxxxl")}; 7131`,XF=(e,t)=>c` 7132 display: grid; 7133 grid-auto-flow: dense; 7134 transition: filter 0.2s; 7135 grid-template-columns: repeat(${Math.max(1,e??4)}, 1fr); 7136 7137 ${P} { 7138 grid-template-columns: repeat(${Math.max(1,t??e??2)}, 1fr); 7139 padding: 0 8px; 7140 } 7141 7142 /* 7143 We are keeping the media queries above in addition to the container queries below in case: 7144 - this component is ever rendered without a wrapping SDS-M Page component 7145 - the browser does not support container queries (smart TVs, etc.) 7146 */ 7147 ${co} { 7148 grid-template-columns: repeat(${Math.max(1,t??e??2)}, 1fr); 7149 } 7150`,JF=c` 7151 position: relative; 7152 border-radius: ${r("--border-radius-xl")}; 7153 overflow: hidden; 7154 z-index: 0; 7155 7156 &:before { 7157 content: ''; 7158 display: block; 7159 height: 0; 7160 } 7161 7162 @media (hover: hover) { 7163 transition: box-shadow 0.2s; 7164 7165 div[data-poster] { 7166 transition: opacity 0.2s; 7167 } 7168 7169 &:hover { 7170 box-shadow: ${r("--box-shadow-xl")}; 7171 7172 div[data-poster] { 7173 opacity: 0; 7174 } 7175 } 7176 } 7177`,ZF=c` 7178 min-height: 100%; 7179`,e3=c` 7180 position: absolute; 7181 inset: 0; 7182 z-index: 1; 7183 display: flex; 7184 align-content: center; 7185 flex-direction: row; 7186 align-items: flex-end; 7187 justify-content: flex-start; 7188 padding: ${r("--spacing-xl")}; 7189 font-size: 16px; 7190 7191 [data-playing='true'] > & { 7192 opacity: 0; 7193 } 7194 7195 [data-overlay='true'] > & { 7196 background: linear-gradient(180deg, rgba(0, 0, 0, 0) 42.19%, rgba(0, 0, 0, 0.9) 100%); 7197 } 7198 7199 [data-overlay='false'] > & { 7200 font-weight: 700; 7201 font-size: 24px; 7202 line-height: 38px; 7203 } 7204 7205 ${P} { 7206 padding: ${r("--spacing-m")}; 7207 } 7208`,t3=c` 7209 flex: 1 1 auto; 7210 width: 100%; 7211 color: ${r("--mosaic-title-color")}; 7212`,o3=c` 7213 display: inline-block; 7214 color: ${r("--mosaic-highlight-color")}; 7215 white-space: nowrap; 7216 7217 &:after { 7218 /* NOTE: Emotion has a rule that there has to be a space at the end here. */ 7219 content: '\\00a0 '; 7220 } 7221`,n3=c` 7222 margin-inline-start: auto; 7223 flex: 0 0 auto; 7224 color: ${r("--mosaic-duration-color")}; 7225`,r3=c` 7226 position: absolute; 7227 inset: 0; 7228 width: 100%; 7229 height: 100%; 7230 object-fit: cover; 7231`,a3=c` 7232 position: absolute; 7233 inset: 0; 7234 display: flex; 7235 align-items: center; 7236 justify-content: center; 7237 7238 [data-playing='true'] > & { 7239 opacity: 0; 7240 } 7241`,i3=(e,t,o,n)=>c` 7242 cursor: pointer; 7243 position: relative; 7244 padding: calc(${r("--mosaic-grid-gap")} / 2); 7245 grid-row: span ${Math.max(1,e??1)}; 7246 grid-column: span ${Math.max(1,t??1)}; 7247 7248 ${P} { 7249 padding: ${r("--spacing-xs")}; 7250 grid-row: span ${Math.max(1,o??e??1)}; 7251 grid-column: span ${Math.max(1,n??t??1)}; 7252 } 7253 7254 /* 7255 We are keeping the media queries above in addition to the container queries below in case: 7256 - this component is ever rendered without a wrapping SDS-M Page component 7257 - the browser does not support container queries (smart TVs, etc.) 7258 */ 7259 ${co} { 7260 grid-row: span ${Math.max(1,o??e??1)}; 7261 grid-column: span ${Math.max(1,n??t??1)}; 7262 } 7263`,s3=c` 7264 position: absolute; 7265 inset: 0; 7266`,l3=c` 7267 position: absolute; 7268 inset: 0; 7269 width: 100%; 7270 height: 100%; 7271 object-fit: cover; 7272 transition: opacity 0.2s; 7273`,p3=c` 7274 /* This is set such that the 40px close button fits in the middle. */ 7275 --lightbox-horizontal-padding: 80px; 7276 --lightbox-vertical-padding: 80px; 7277 7278 ${P} { 7279 --lightbox-horizontal-padding: 24px; 7280 --lightbox-vertical-padding: 80px; 7281 } 7282 7283 width: calc(100vw - calc(2 * var(--lightbox-horizontal-padding))); 7284 width: calc(100dvw - calc(2 * var(--lightbox-horizontal-padding))); 7285 height: calc(100vh - calc(2 * var(--lightbox-vertical-padding))); 7286 height: calc(100dvh - calc(2 * var(--lightbox-vertical-padding))); 7287`,c3=c` 7288 height: calc(100% + var(--lightbox-vertical-padding)); 7289 display: grid; 7290 grid-template-rows: calc(100% - 100px) auto; 7291 align-items: center; 7292 7293 margin: 0; 7294 margin-bottom: calc(0px - var(--lightbox-vertical-padding)); 7295 7296 z-index: ${De.MOSAIC_LIGHTBOX}; 7297 inset: ${64}px 0 0; 7298 transition: opacity 0.2s; 7299 7300 &[data-active='false'] { 7301 opacity: 0; 7302 pointer-events: none; 7303 } 7304`,d3=c` 7305 display: flex; 7306 flex-direction: row; 7307 align-items: center; 7308`,u3=c` 7309 color: ${r("--fg-color")}; 7310 width: 100%; 7311 padding: ${r("--spacing-l")}; 7312 text-align: center; 7313`,y3=c` 7314 border-radius: ${r("--border-radius-l")}; 7315 overflow: hidden; 7316 max-width: 100%; 7317 max-height: 100%; 7318 width: auto; 7319 height: auto; 7320`,m3=c` 7321 margin: 5px 0; 7322 transform: rotate(270deg); 7323 [dir='rtl'] & { 7324 transform: rotate(90deg); 7325 } 7326`,g3=c`
7327 margin: 5px -1px 5px 1px; 7328 transform: rotate(270deg); 7329 [dir='rtl'] & { 7330 transform: rotate(90deg); 7331 } 7332`;var zh=(0,qp.memo)(({filters:e,currentFilter:t,onSelectFilter:o})=>{let n=(0,qp.useCallback)(s=>()=>{o(t===s?"":s)},[t,o]),a=(0,qp.useCallback)(s=>l=>{l.key==="Enter"&&o(t===s?"":s),l.key==="Escape"&&o("")},[t,o]);return i("div",{className:h(YF),children:e.map(({id:s,icon:l,text:p},d)=>i("div",{"aria-pressed":t===s,onKeyPress:a(s),role:"button",tabIndex:0,children:l&&i($0,{icon:l,onClick:n(s),selected:t===s,id:s,index:d,text:p})},`${s}-${d}`))})});zh.displayName="MosaicFilters";var f3=T(E());var b3=({tile:e,handleKeyPress:t,goNext:o,goPrevious:n,close:a,className:s})=>((0,f3.useEffect)(()=>{e?.onOpen&&e.onOpen()},[e]),!e||!e.video?null:i(Vy,{contentClassName:p3,isBlocking:!1,isDisplayed:!!e,disableBackgroundScroll:!0,onClose:a,children:x("figure",{"data-testid":"sdsm-mosaic-lightbox",className:h(c3,s),children:[i(Ke,{loop:!0,className:y3,...e.video,showVideoControls:!0,autoplay:!0}),x("div",{"data-testid":"sdsm-mosaic-lightbox-controls",className:d3,children:[i(Ao,{iconName:"
7332chevron-up",iconClassName:m3,onClick:n,onKeyDown:t}),i("figcaption",{className:u3,children:e.title}),i(Ao,{iconName:"chevron-down",iconClassName:g3,onClick:o,onKeyDown:t})]})]},`${e.video.source}-${e.title}-${e.highlight}`)}));var Jr=T(E());var S3=({columns:e=1,rows:t=1,mobileColumns:o=e,mobileRows:n=t,cover:a=!0,poster:s,preview:l,showOverlay:p,highlight:d,title:u,duration:y,onEnter:m,onLeave:g})=>{let f=(0,Jr.useRef)(null),[b,S]=(0,Jr.useState)(!1),C=t/e,I=n/o,k=c` 7333 &:before { 7334 padding-bottom: ${C*100}%; 7335 } 7336 ${P} { 7337 &:before { 7338 padding-bottom: ${I*100}%; 7339 } 7340 } 7341 `,v=(0,Jr.useCallback)(async()=>{m?.();let _=f.current?.querySelector("video");_&&(await _.play(),S(!0))},[f,m]),w=(0,Jr.useCallback)(()=>{g?.();let _=f.current?.querySelector("video");_&&(Vn(_)&&_.pause(),_.currentTime=0,S(!1))},[f,g]);return(0,Jr.useEffect)(()=>{let _=f.current;return _?.addEventListener("mouseenter",v),_?.addEventListener("mouseleave",w),()=>{_?.removeEventListener("mouseenter",v),_?.removeEventListener("mouseleave",w)}},[f,v,w]),x("div",{ref:f,className:h(k,JF,a?ZF:void 0),"data-playing":b,"data-overlay":!!p,children:[l&&i(Ke,{className:r3,isBackgroundVideo:!0,autoPlay:!1,...l}),s&&i("div",{className:s3,"data-poster":!0,children:i("img",{alt:u??d??"",src:s.src,srcSet:s.srcSet,className:l3})}),x("div",{className:e3,children:[(u||d)&&x("div",{className:t3,children:[d&&i("div",{className:o3,children:d}),u]}),y&&i("div",{className:n3,children:y}),i("div",{className:a3,children:i(we,{name:"play-filled"})})]})]})};var Uh=(0,Oo.memo)(({tiles:e,columns:t,mobileColumns:o,filters:n,className:a,lightboxClassName:s})=>{K("sdsm-mosaic");let[l,p]=(0,Oo.useState)(),[d,u]=(0,Oo.useState)(""),[y,m]=(0,Oo.useState)(!1),g=(0,Oo.useCallback)(v=>{m(!!v?.closest('[dir="rtl"]'))},[]),f=(0,Oo.useRef)([]),b=(0,Oo.useCallback)(()=>{if(l===void 0)return;let v=(l+1)%e.length;p(v)},[l,e.length]),S=(0,Oo.useCallback)(()=>{if(l===void 0)return;let v=(l-1+e.length)%e.length;p(v)},[l,e.length]),C=()=>{p(void 0)},I=(0,Oo.useCallback)(v=>w=>{if(v!==void 0){if(w.key===(y?"ArrowLeft":"ArrowRight")){let _=(v+1)%e.length;l!==void 0&&p(_),f.current[_]?.focus()}if(w.key===(y?"ArrowRight":"ArrowLeft")){let _=(v-1+e.length)%e.length;l!==void 0&&p(_),f.current[_]?.focus()}w.key==="Enter"&&l===void 0&&p(v),w.key==="Escape"&&l!==void 0&&p(void 0)}},[l,y,e.length]),k=(0,Oo.useMemo)(()=>d?e.filter(v=>v.filters?.includes(d)):e,[d,e]);return x("div",{className:h("sdsm-mosaic",a),children:[i(b3,{className:s,tile:l!==void 0?e[l]:void 0,handleKeyPress:I(l),goNext:b,goPrevious:S,close:C}),n?.length?i(zh,{filters:n,onSelectFilter:u,currentFilter:d}):void 0,i("div",{ref:g,className:h(XF(t,o)),"data-active":l!==void 0,children:k.map((v,w)=>i("div",{className:h(i3(v.rows,v.columns,v.mobileRows,v.mobileColumns)),"aria-pressed":l===w,role:"button",tabIndex:0,onClick:()=>p(w),onKeyDown:I(w),ref:_=>{f.current[w]=_},children:i(S3,{...v})},`${w}-${v.poster?.src}`))})]})});Uh.displayName="Mosaic";var dX=864,uX=120,yX=369,mX=225,h3=c` 7342 display: flex; 7343 gap: ${r("--spacing-xl")}; 7344 justify-content: center; 7345 margin-block: 0; 7346 padding: ${r("--spacing-xl")} ${r("--spacing-xxxxl")}; 7347 width: 100%; 7348 7349 ${Ye} { 7350 align-items: center; 7351 } 7352 7353 ${P} { 7354 padding: ${r("--spacing-xl")}; 7355 } 7356`,C3=c` 7357 background-color: ${r("--bg-color")}; 7358 color: ${r("--fg-color")}; 7359 display: flex; 7360`,x3=c` 7361 max-width: ${dX}px; 7362 width: 100%; 7363`,v3=c` 7364 flex-direction: row-reverse; 7365`,I3=c` 7366 min-height: calc(100vh - ${64}px); 7367`,k3=c` 7368 display: flex; 7369 flex-direction: column; 7370 gap: ${r("--spacing-xxxl")}; 7371 width: 60%; 7372 7373 /** Dynamic padding for nonmobile devices such that content inside the block could be centered 7374 * Have to use dyanmic padding (should be a one-off case) instead of fixed padding 7375 * due to the media inside was complicatedly implemented (animated carousel, video were using fixed padding) 7376 * Ticket: https://jira.sc-corp.net/browse/WEBP-13033 7377 */ 7378 padding-inline-start: 6%; 7379 7380 ${es({max:1366})} { 7381 padding-inline-start: 3%; 7382 } 7383 7384 ${P} { 7385 gap: ${r("--spacing-xl")}; 7386 width: 100%; 7387 padding-inline-start: 0; 7388 } 7389`,M3=c` 7390 display: flex; 7391 flex-direction: column; 7392 gap: ${r("--spacing-l")}; 7393 overflow-wrap: break-word; 7394 7395 ${Ue} 7396`,A3=c` 7397 display: flex; 7398 flex-direction: column; 7399 gap: ${r("--spacing-xs")}; 7400`,T3=c` 7401 display: grid; 7402 gap: ${r("--spacing-l")}; 7403 grid-template-columns: repeat(2, 1fr);
7404 overflow-wrap: anywhere; 7405 7406 ${Ye} { 7407 display: flex; 7408 } 7409`,zs=c` 7410 box-sizing: border-box; 7411 display: flex; 7412 flex: 1 0 0; 7413 7414 ${Ad} 7415 7416 ${P} { 7417 flex-direction: column; 7418 gap: ${r("--spacing-xxs")}; 7419 } 7420`,Oy=c` 7421 display: flex; 7422 flex-direction: column; 7423 gap: ${r("--spacing-xs")}; 7424`,_3=c` 7425 display: flex; 7426 flex-shrink: 0; 7427 margin: 3px; 7428 pointer-events: none; 7429 user-select: none; 7430`,w3=c` 7431 height: 18px; 7432 width: 18px; 7433`,D3=c` 7434 fill: ${r("--fg-color")}; 7435 flex-shrink: 0; 7436 margin: 3px; 7437`,P3=c` 7438 flex-direction: column; 7439`,N3=c` 7440 ${fa} 7441 7442 /* Overriding h3 tags requires double specificity */ 7443 && { 7444 ${V} { 7445 font-size: ${r("--multi-value-prop-block-stat-desktop-font-size")}; 7446 line-height: ${r("--multi-value-prop-block-stat-desktop-font-line-height")}; 7447 } 7448 7449 ${P} { 7450 font-size: ${r("--multi-value-prop-block-stat-mobile-font-size")}; 7451 line-height: ${r("--multi-value-prop-block-stat-mobile-font-line-height")}; 7452 } 7453 } 7454`,E3=c` 7455 max-width: ${uX}px; 7456`,R3=c` 7457 aspect-ratio: 1 / 1; 7458`,F3=c` 7459 display: flex; 7460 flex-wrap: wrap; 7461 gap: ${r("--spacing-m")}; 7462`,B3=c` 7463 align-items: flex-start; 7464 display: flex; 7465 justify-content: center; 7466 padding-inline: 20px; 7467 width: 40%; 7468 7469 ${Ye} { 7470 align-items: center; 7471 } 7472 7473 ${P} { 7474 width: 100%; 7475 } 7476`,$3=c` 7477 display: block; 7478 object-fit: cover; 7479 object-position: center; 7480 width: 100%; 7481 7482 > picture { 7483 pointer-events: none; 7484 } 7485`,Wh=c` 7486 aspect-ratio: 9 / 16; 7487 width: ${yX}px; 7488 7489 & img { 7490 aspect-ratio: 9 / 16; 7491 } 7492`,qh=c` 7493 ${P} { 7494 aspect-ratio: 9 / 16; 7495 width: ${mX}px; 7496 7497 & img { 7498 aspect-ratio: 9 / 16; 7499 } 7500 } 7501`,Qh=c` 7502 aspect-ratio: 16 / 9; 7503 7504 & img { 7505 aspect-ratio: 16 / 9; 7506 } 7507`,L3=c` 7508 ${P} { 7509 ${Qh} 7510 } 7511`,Kh=c` 7512 aspect-ratio: 3 / 2; 7513 7514 & img { 7515 aspect-ratio: 3 / 2; 7516 } 7517`,H3=c` 7518 ${P} { 7519 ${Kh} 7520 } 7521`,jh=c` 7522 aspect-ratio: 1 / 1; 7523 7524 & img { 7525 aspect-ratio: 1 / 1; 7526 } 7527`,V3=c` 7528 ${P} { 7529 ${jh} 7530 } 7531`;var O3=e=>{let{title:t,imgSrcs:o}=e;return x("div",{className:h(zs,Oy),children:[i("div",{className:E3,children:i(Ke,{className:R3,imgSrcs:o})}),t&&i("h6",{className:nr,children:t})]})};var G3=e=>{K("sdsm-multi-value-prop-block");let t=Ft(),{anchor:o,motifScheme:n,backgroundColor:a,title:s,subtitle:l,body:p,children:d,mediaSources:u=[],desktopMediaAspectRatio:y="9:16",mobileMediaAspectRatio:m="9:16",mediaDirection:g=ae.End,autoplayCarousel:f,callsToAction:b,fullHeight:S,className:C,style:I,stickers:k,isRtl:v=!1}=e,w=u?.length||0,_=()=>w>0?i("section",{className:B3,children:w>1?i(Ra,{autoPlay:f,isSingleView:!0,isRtl:v,children:u.map((D,M)=>D&&i(Gn,{aspectRatio:t?m:y,imgSrcs:D?.sources,imgAltText:D?.altText,className:h({[Wh]:!t&&y==="9:16",[qh]:t&&m==="9:16"}),...D},`${D.type}-${M}`))}):w>0?i(gn,{mediaClassName:h($3,{[Wh]:y==="9:16",[qh]:m==="9:16",[Qh]:y==="16:9",[Kh]:y==="3:2",[jh]:y==="1:1",[L3]:m==="16:9",[H3]:m==="3:2",[V3]:m==="1:1"}),imgSrcs:u[0]?.sources,altText:u[0]?.altText,...u[0],stickers:k}):null}):null;return i("article",{id:o,className:h("sdsm-multi-value-prop-block",n??En(a),C3,{[I3]:S},C),style:I,children:x(Wr,{className:h(h3,{[v3]:!t&&g===ae.Start&&!v}),children:[x("section",{className:h(k3,{[x3]:w===0}),children:[x("div",{className:M3,children:[x("div",{className:A3,children:[i("h3",{className:fa,children:s}),l&&i("p",{className:uo,children:l})]}),t&&i(_,{}),p&&p]}),d&&i("div",{className:T3,children:d}),b&&i("div",{className:F3,children:b})]}),!t&&i(_,{})]})})};var z3=({stat:e,subtitle:t})=>(K("sdsm-multi-value-prop-block"),x("div",{className:h(zs,P3),children:[i("h3",{className:N3,children:e}),t]}));var U3=e=>{let{title:t,body:o,icon:n,imgSrcs:a}=e;return x("div",{className:zs,children:[n?i(we,{name:n,size:18,className:D3}):a&&i(Ze,{className:_3,imgClassName:w3,imgSrcs:a}),x("div",{className:Oy,children:[i("h6",{className:nr,children:t}),o]})]})};var Kp=T(E());var W3={[yi.TopLeft]:c` 7532 left: 2%; 7533 top: 4%; 7534 `,[yi.TopRight]:c` 7535 right: 2%; 7536 top: 4%; 7537 `,[yi.TopCenter]:c` 7538 left: 50%; 7539 top: 4%; 7540 transform: translateX(-50%); 7541 `,[yi.BottomLeft]:c` 7542 left: 2%; 7543 bottom: 4%; 7544 `,[yi.BottomRight]:c` 7545 right: 2%; 7546 bottom: 4%; 7547 `,[yi.BottomCenter]:c` 7548 left: 50%; 7549 bottom: 4%; 7550 transform: translateX(-50%); 7551 `},q3=c` 7552 position: absolute; 7553 7554 ${P} { 7555 left: 50%; 7556 right: auto; 7557 transform: translateX(-50%); 7558 } 7559`,Q3=c` 7560 width: 100%; 7561 height: 100%; 7562 display: flex; 7563 position: relative; 7564`,K3=c` 7565 width: 100%; 7566`,j3=c` 7567 display: flex; 7568 flex-direction: column; 7569 height: 100%; 7570 left: 0; 7571 position: absolute; 7572 top: 0; 7573 width: 100%; 7574`,Y3=c` 7575 flex: 1; 7576 position: relative; 7577`;var Qp=T(E());var gX=c` 7578 visibility: visible; 7579`,fX=c` 7580 position: absolute; 7581 visibility: hidden; 7582`,X3=({hasVideoSync:e,video:t,currentTime:o})=>{let n=(0,Qp.useRef)(null);return(0,Qp.useEffect)(()=>{ht(o)||!n.current||!e||(n.current.currentTime=o.current)},[t]),(0,Qp.useEffect)(()=>{let a=n.current;if(!a||!e)return;let s=l=>{let p=l.target;o.current=p.currentTime};
7582return a.addEventListener("timeupdate",s),()=>{a.removeEventListener("timeupdate",s)}},[o,t,e]),i(gi,{className:h(fX,{[gX]:!0}),source:t.media?.url,posterSource:t.thumbnailMedia?.url,isBackgroundVideo:!0,sourceType:t.media?.contentType,ref:n})};var Yh=({anchorId:e,children:t,className:o,hasVideoSync:n=!0,id:a,mobilePrimaryVideos:s,mobileSecondaryVideos:l,onVideoChange:p=vo,panelPosition:d,primaryVideos:u,style:y,secondaryVideos:m,toggleButtonIcons:g,togglePanelClassName:f,togglePanelLabel:b,preChildren:S,postChildren:C})=>{let[I,k]=(0,Kp.useState)(!1),[v,w]=(0,Kp.useState)(0),_=(0,Kp.useRef)(0);K("sdsm-multi-video-block");let M=Yo()===at.Mobile,A=M?[s,l]:[u,m],N=I?A[1]:A[0],$=N[v],B=M?[...s,...l]:[...u,...m],L=j=>{w(j),_.current=0,p(j,I)},H=j=>{k(j),p(v,j)},z=B.filter(j=>j?.media?.url).map((j,ue)=>i("link",{rel:"prefetch",as:"video",href:j.media.url},ue));return x("div",{id:e,style:y,className:h("sdsm-multi-video-block",Q3,o),children:[z,$?.thumbnailMedia?.url&&i("img",{className:K3,src:$.thumbnailMedia.url}),$&&i(X3,{hasVideoSync:n,isSelected:!0,video:$,currentTime:_}),t,x("div",{className:j3,children:[S,i("div",{className:Y3,children:i(H0,{id:a,items:N,label:b,sliderChecked:I,onSliderUpdate:H,onButtonToggle:L,hasToggleSlider:!!A[1]?.length,selectedId:N[v].id,className:h(W3[d],q3,f),buttonIcons:g})}),C]})]})};Yh.displayName="MultiVideoBlock";f0();var Go=T(E());function J3(e){return t=>{if(!e)return!1;try{let o=`${e.protocol}//${e.hostname}`,n=new URL(t,o),a=e.hostname,s=e.pathname;return a===n.hostname&&s===n.pathname}catch{return!1}}}var aB=T(E());var jp=({fill:e,icon:t,media:o,size:n})=>{if(t)return i(we,{size:n,name:t.name,fill:t.fill?t.fill:e});if(o){let{altText:a,imgSrcs:s}=o;return i(Ze,{imgSrcs:s,width:n,height:n,altText:a})}return null};jp.displayName="IconOrImage";var Gy="sdsm-nav-featured-link-title",zy=c` 7583 align-items: flex-start; 7584 background-color: ${r("--global-header-menu-featured-item-bg-color")}; 7585 border-radius: ${r("--global-header-menu-featured-item-border-radius")}; 7586 color: ${r("--global-header-menu-featured-item-fg-color")}; 7587 cursor: pointer; 7588 display: flex; 7589 flex-direction: column; 7590 gap: ${r("--spacing-s")}; 7591 padding: ${r("--spacing-m")}; 7592 text-decoration: none; 7593 transition: background-color 0.2s linear; 7594 7595 &:hover { 7596 color: ${r("--global-header-menu-featured-item-hover-color")}; 7597 background-color: ${r("--global-header-menu-featured-item-bg-hover-color")}; 7598 } 7599`,Z3=c` 7600 background-color: ${r("--global-header-menu-featured-item-bg-hover-color")}; 7601 color: ${r("--global-header-menu-featured-item-hover-color")}; 7602 7603 & .${Gy} { 7604 color: ${r("--global-header-menu-featured-item-active-color")}; 7605 } 7606 7607 &:hover { 7608 & .${Gy} { 7609 color: ${r("--global-header-menu-featured-item-active-color")}; 7610 } 7611 } 7612`,eB=c` 7613 && { 7614 font-size: ${r("--p2-desktop-font-size")}; 7615 font-weight: 500; 7616 line-height: ${r("--p2-desktop-font-line-height")}; 7617 margin: 0; 7618 } 7619`,tB=c` 7620 && { 7621 font-size: ${r("--p3-desktop-font-size")}; 7622 font-weight: 400; 7623 line-height: ${r("--p3-desktop-font-line-height")}; 7624 margin: 0; 7625 } 7626`,oB=c` 7627 && { 7628 align-items: center; 7629 display: flex; 7630 gap: ${r("--spacing-xs")}; 7631 justify-content: end; 7632 margin: auto 0 0 0; 7633 width: 100%; 7634 } 7635`,nB=c` 7636 && { 7637 font-size: ${r("--p3-desktop-font-size")}; 7638 font-weight: 400; 7639 line-height: ${r("--p3-desktop-font-line-height")}; 7640 margin: auto 0 0 0; 7641 overflow: hidden; 7642 text-overflow: ellipsis; 7643 white-space: nowrap; 7644 7645 ${V} { 7646 opacity: 0; 7647 transform: translateX(${r("--spacing-xs")}); 7648 transition: opacity 0.2s linear, transform 0.2s ease-in-out; 7649 7650 [dir='rtl'] & { 7651 transform: translateX(calc(${r("--spacing-xs")} * -1)); 7652 } 7653 7654 ${`.${zy}`}:hover &, 7655 ${`.${zy}`}:focus & { 7656 opacity: 1; 7657 transform: translateX(0); 7658 } 7659 } 7660 } 7661`,rB=c` 7662 [dir='rtl'] & { 7663 transform: scaleX(-1); 7664 } 7665`;var Yp=({url:e,title:t,dataset:o,description:n,icon:a,media:s,ctaLabel:l,onClick:p,isUrlCurrent:d})=>{let{Anchor:u}=(0,aB.useContext)(Le);return x(u,{className:h("sdsm-nav-featured-link",zy,{[Z3]:d}),href:e,role:"menuitem",onClick:p,...te(o),children:[(a||s)&&i(jp,{icon:a,media:s,size:48,fill:r("--global-header-menu-featured-item-icon-color")}),i("span",{className:h(Gy,eB),children:t}),i("span",{className:tB,children:n}),x("span",{className:oB,children:[i("span",{className:nB,children:l}),i(we,{className:rB,size:24,name:"arrow-right",fill:r("--global-header-menu-featured-item-fg-color")})]})]})};Yp.displayName="NavigatorItemFeaturedLink";var yB=T(E());var Xp="sdsm-navigator-item-link-text-title",iB=c` 7666 background-color: transparent; 7667 border-radius: ${r("--global-header-menu-item-border-radius")}; 7668 color: ${r("--global-header-menu-item-fg-color")}; 7669 cursor: pointer; 7670 display: flex; 7671 gap: 8px; 7672 padding: 16px; 7673 text-decoration: none; 7674 transition: background-color 0.2s linear; 7675 width: 100%; 7676 7677 :hover { 7678 background-color: ${r("--global-header-menu-item-bg-hover-color")}; 7679 7680 & .${Xp} { 7681 color: ${r("--global-header-menu-item-hover-color")}; 7682 } 7683 } 7684`,sB=c` 7685 background-color: ${r("--global-header-menu-item-bg-hover-color")}; 7686 color: ${r("--global-header-menu-item-hover-color")}; 7687 7688 & .${Xp} { 7689 color: ${r("--global-header-menu-item-active-color")}; 7690 } 7691 7692 :hover { 7693 & .${Xp} { 7694 color: ${r("--global-header-menu-item-active-color")}; 7695 } 7696 } 7697`,lB=c` 7698 && { 7699 margin: 1px 0 0 0; 7700 min-width: 24px; 7701 } 7702`,pB=c` 7703 && { 7704 display: flex; 7705 flex-direction: column; 7706 gap: ${r("--spacing-xs")}; 7707 margin: 0; 7708 7709 span { 7710 margin: 0; 7711 } 7712 } 7713`,cB=c` 7714 && { 7715 font-size: ${r("--p2-desktop-font-size")}; 7716 font-weight: 500; 7717 line-height: ${r("--p2-desktop-font-line-height")}; 7718 margin: 0; 7719 } 7720`,dB=c` 7721 && { 7722 font-size: ${r("--p3-desktop-font-size")}; 7723 font-weight: 400; 7724 line-height: ${r("--p3-desktop-font-line-height")}; 7725 margin: 0; 7726 } 7727`,uB=c` 7728 && { 7729 font-size: ${r("--p3-desktop-font-size")}; 7730 font-weight: 400; 7731 line-height: ${r("--p3-desktop-font-line-height")}; 7732 margin: 0 0 ${r("--spacing-xs")} 0; 7733 } 7734`;var Jp=({url:e,title:t,dataset:o,description:n,icon:a,media:s,showSpacer:l,onClick:p,isUrlCurrent:d})=>{let{Anchor:u}=(0,yB.useContext)(Le);return x(se,{children:[x(u,{className:h("sdsm-nav-link",iB,{[sB]:d}),href:e,role:"menuitem",onClick:p,...te(o),children:[(a||s)&&i("span",{className:lB,children:i(jp,{icon:a,media:s,size:24,fill:r("--global-header-menu-item-icon-color")})}),x("span",{className:pB,children:[i("span",{className:h(Xp,cB),children:t}),!!n&&i("span",{className:dB,children:n})]})]}),!n&&l?i("span",{className:uB,children:"\xA0"}):null]})};Jp.displayName="NavigatorItemLink";var Uy=({col1Label:e,col1Items:t=[],col2Label:o,col2Items:n=[],col3Label:a,c
7734ol3Items:s=[]})=>[{id:1,hasItems:!!t?.length,hasLabel:!!e},{id:2,hasItems:!!n?.length,hasLabel:!!o},{id:3,hasItems:!!s?.length,hasLabel:!!a}].filter(({hasItems:p})=>p).filter((p,d,u)=>{let y=u[d-1],m=d===0,g=p.hasLabel||y?.hasLabel;return!m&&g}).map(({id:p})=>p);var Xh=c` 7735 align-items: center; 7736 color: ${r("--global-header-navigator-item-color")}; 7737 display: flex; 7738 /* Set font-family here or the var from the default motif is used */ 7739 font-family: ${r("--font-family")}; 7740 font-size: ${r("--action-desktop-font-size")}; 7741 font-weight: 500; 7742 line-height: ${64}px; 7743 margin-left: ${r("--spacing-m")}; 7744 margin-right: ${r("--spacing-m")}; 7745 padding-bottom: 0; 7746 padding-top: 0; 7747 text-decoration: none; 7748 text-transform: ${r("--global-header-navigator-item-desktop-font-text-transform")}; 7749 white-space: nowrap; 7750 7751 ${P} { 7752 font-size: ${r("--action-mobile-font-size")}; 7753 } 7754 7755 &:hover { 7756 color: ${r("--global-header-navigator-item-hover-color")}; 7757 } 7758 7759 & span { 7760 position: relative; /* For the underline */ 7761 overflow-y: hidden; 7762 } 7763 7764 /** Custom underline */ 7765 & > span::after { 7766 /* TODO: consolidate the rounded underline css? */ 7767 background-color: ${r("--global-header-navigator-indicator-active-color")}; 7768 bottom: -8px; 7769 content: ''; 7770 height: 8px; 7771 left: 0; 7772 position: absolute; 7773 border-radius: ${r("--action-indicator-border-radius")}; 7774 transform: translateY(0); 7775 transition: all 0.15s ease; 7776 width: 100%; 7777 } 7778 7779 &:hover > span::after { 7780 opacity: ${r("--action-indicator-hover-opacity")}; 7781 transform: translateY(-4px); 7782 } 7783 7784 & > span.selected { 7785 color: ${r("--global-header-navigator-item-active-color")}; 7786 } 7787 7788 & > span.selected::after { 7789 opacity: 1; 7790 transform: translateY(-4px); 7791 } 7792 7793 &:hover > span.selected::after { 7794 background-color: ${r("--global-header-navigator-indicator-active-color")}; 7795 } 7796`,mB=c` 7797 cursor: pointer; 7798`,gB=c` 7799 /** 7800 * use negative margin to make icon take up space same as previous 7801 */ 7802 margin: calc(${r("--spacing-xxs")} * -1); 7803 fill: ${r("--global-header-navigator-item-color")}; 7804 7805 margin-left: calc(${r("--spacing-xs")} - 4px); 7806 *[dir='rtl'] & { 7807 margin-right: calc(${r("--spacing-xs")} - 4px); 7808 } 7809`,fB=c` 7810 background-color: ${r("--global-header-menu-bg-color")}; 7811 border: ${r("--border-width-xs")} solid ${r("--global-header-menu-border-color")}; 7812 border-radius: ${r("--global-header-menu-border-radius")}; 7813 border-top: none; 7814 box-shadow: ${r("--global-header-menu-box-shadow")}; 7815 /* Trim box shadow from the top, otherwise it will overlap the main header bar */ 7816 clip-path: inset(0 -20px -20px -20px); 7817 left: 50%; 7818 max-width: calc(100vw - 2 * ${r("--spacing-m")}); 7819 opacity: 0; 7820 padding: ${r("--spacing-l")}; 7821 position: absolute; 7822 top: 100%; 7823 7824 /* Safari fix: with the translateZ fix from below, we need this because for some 7825 reason there is a tiny 1px gap between the menu and the navbar sometimes. 7826 We accomadate for this by adding 1px of padding so visually looks the same */ 7827 margin-top: -1px; 7828 padding-top: calc(${r("--spacing-l")} + 1px); 7829 7830 /* 7831 We NEED translateZ(0) otherwise the menu flickers for some reason on safari 7832 https://developer.apple.com/forums/thread/705172 7833 not official, but other people have used this workaround 7834 */ 7835 transform: translate(-50%, 0) translateZ(0); 7836 transition: opacity 0.2s linear, visibility 0.2s linear; 7837 visibility: hidden; 7838 width: 1080px; 7839`,bB=c` 7840 width: 1280px; 7841`,SB=c` 7842 position: relative; 7843 7844 > div.sdsm-nav-item-menu { 7845 transform: unset; 7846 left: unset; 7847 right: 0; 7848 } 7849`,hB=c` 7850 position: relative; 7851 7852 > div.sdsm-nav-item-menu { 7853 transform: unset; 7854 left: 0; 7855 } 7856`,CB=c` 7857 opacity: 1; 7858 visibility: visible; 7859`,xB=c` 7860 display: grid; 7861 gap: ${r("--spacing-l")}; 7862 grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); 7863`,Zp=c` 7864 display: flex; 7865 flex-direction: column; 7866 height: 100%; 7867 position: relative; 7868`,Wy=c` 7869 &::before { 7870 background-color: ${r("--global-header-menu-col-divider-color")}; 7871 bottom: 0; 7872 content: ''; 7873 height: calc(100% - ${r("--spacing-m")}); 7874 left: calc(${r("--spacing-s")} * -1); 7875 position: absolute; 7876 width: 1px; 7877 7878 [dir='rtl'] & { 7879 left: auto; 7880 right: calc(${r("--spacing-s")} * -1); 7881 } 7882 } 7883`,qy=c` 7884 && { 7885 color: ${r("--global-header-menu-col-label-color")}; 7886 font-size: ${r("--p3-desktop-font-size")}; 7887 font-weight: 500; 7888 letter-spacing: -0.01em; 7889 line-height: ${r("--p3-desktop-font-line-height")}; 7890 margin: ${r("--spacing-m")}; 7891 overflow: hidden; 7892 text-overflow: ellipsis; 7893 text-transform: uppercase; 7894 white-space: nowrap; 7895 } 7896`;var bX=e=>{let t=typeof window>"u"?void 0:window?.location;return J3(t)(e)},ec=({url:e,onClick:t,isSelected:o,title:n,dataset:a,analytics:s,col1Label:l,col1Items:p=[],col2Label:d,col2Items:u=[],col3Label:y,col3Items:m=[],featuredItem:g})=>{K("sdsm-header");let{Anchor:f}=(0,Go.useContext)(Le),{isUrlCurrent:b}=(0,Go.useContext)(et),[S,C]=(0,Go.useState)(o??!1),[I,k]=(0,Go.useState)(!1),[v,w]=(0,Go.useState)();(0,Go.useEffect)(()=>
7896{if(o!==void 0){C(o);return}let X=[e,...p.map(W=>W.url),...u.map(W=>W.url),...m.map(W=>W.url),g?.url].some(W=>W?b?b(W):bX(W):!1);C(X)},[o,e,p,u,m,g?.url,b]);let _=(0,Go.useRef)(null),D=(0,Go.useRef)(null),M=I?"chevron-up":"chevron-down",A=(0,Go.useCallback)(()=>{if(typeof window>"u"||!_.current||!D.current)return;let R=window.innerWidth,X=_.current.offsetLeft,W=_.current.offsetWidth,le=X+W,ee=D.current.offsetWidth,be=R/2-ee/2,q=R/2+ee/2,ce=R>ct&&le>q,_e=R>ct&&X<be;w(ce?ae.Right:_e?ae.Left:ae.Center)},[]);(0,Go.useEffect)(()=>{let R=Td(A,500);return window.addEventListener("resize",R),()=>{window.removeEventListener("resize",R)}},[A]);let N=t||e?mB:null,$=h({selected:S}),B=i("span",{className:$,children:n}),L=R=>{R.stopPropagation(),R.key===" "&&R.preventDefault();let X=D.current?.querySelectorAll('a, button, input, textarea, select, details, [tabindex]:not([tabindex="-1"])'),W=X?.[0],le=X?.[X.length-1];v||A(),R.key==="Enter"||R.key===" "||R.key==="ArrowDown"?(k(!0),setTimeout(()=>W?.focus(),250)):R.key==="ArrowUp"&&(k(!0),setTimeout(()=>le?.focus(),250))},H=R=>{if(R.key==="Tab"){let X=D.current?.querySelectorAll('a, button, input, textarea, select, details, [tabindex]:not([tabindex="-1"])'),W=X?.[0],le=X?.[X.length-1];R.shiftKey?R.target===W&&k(!1):R.target===le&&k(!1)}},z=()=>{v||A(),k(!0)},j=()=>k(!1),ue=[p?.length,u?.length,m?.length,g].filter(R=>!!R).length,ie=3-ue;if(!ue)return i(f,{href:e,className:h("sdsm-header",Xh,N),onClick:()=>t?.(e,s?.label),tabIndex:0,...te(a),children:B});let ne=p?.some(R=>!!R.description),J=p?.some(R=>!!R.description),pe=p?.some(R=>!!R.description),re=Uy({col1Label:l,col1Items:p,col2Label:d,col2Items:u,col3Label:y,col3Items:m}),Q=p?.some(R=>R?.icon||R?.media),Y=u?.some(R=>R?.icon||R?.media),Z=m?.some(R=>R?.icon||R?.media),U=(R,X)=>{k(!1),t?.(R,X)};return x("section",{ref:_,className:h({[SB]:v===ae.Right,[hB]:v===ae.Left},"sdsm-nav-item-desktop"),children:[x(f,{className:h(Xh,N),onMouseEnter:z,onMouseLeave:j,onKeyDown:L,tabIndex:0,...te(a),children:[B,i(we,{size:24,className:gB,name:M})]}),i("div",{ref:D,className:h(fB,{[CB]:I,[bB]:ue===4},"sdsm-nav-item-menu"),onMouseEnter:z,onMouseLeave:j,onKeyDown:H,role:"menu","aria-label":"Menu",children:x("div",{className:xB,children:[!!p?.length&&i("div",{children:x("div",{className:h(Zp,{[Wy]:re.includes(1)}),children:[!!l&&i("span",{className:qy,children:l}),p?.map(({url:R,title:X,description:W,icon:le,media:ee,analytics:be,dataset:q},ce)=>i(Jp,{url:R,title:X,description:W,icon:Q?le:void 0,media:Q?ee:void 0,showSpacer:ne,onClick:()=>U(R,be?.label),dataset:I?q:void 0,isUrlCurrent:b?.(R)},ce))]})}),!!u?.length&&i("div",{children:x("div",{className:h(Zp,{[Wy]:re.includes(2)}),children:[!!d&&i("span",{className:qy,children:d}),u?.map(({url:R,title:X,description:W,icon:le,media:ee,analytics:be,dataset:q},ce)=>i(Jp,{url:R,title:X,description:W,icon:Y?le:void 0,media:Y?ee:void 0,showSpacer:J,onClick:()=>U(R,be?.label),dataset:I?q:void 0,isUrlCurrent:b?.(R)},ce))]})}),!!m?.length&&i("div",{children:x("div",{className:h(Zp,{[Wy]:re.includes(3)}),children:[!!y&&i("span",{className:qy,children:y}),m?.map(({url:R,title:X,description:W,icon:le,media:ee,analytics:be,dataset:q},ce)=>i(Jp,{url:R,title:X,description:W,icon:Z?le:void 0,media:Z?ee:void 0,showSpacer:pe,onClick:()=>U(R,be?.label),dataset:I?q:void 0,isUrlCurrent:b?.(R)},ce))]})}),Array.from({length:ie}).map((R,X)=>i("div",{},X)),!!g&&i("div",{children:i("div",{className:Zp,children:i(Yp,{url:g.url,t
7896itle:g.title,description:g.description,icon:g.icon,media:g.media,ctaLabel:g.ctaLabel,onClick:()=>U(g.url,g.analytics?.label),analytics:g.analytics,dataset:I?g.dataset:void 0,isUrlCurrent:b?.(g.url)})})})]})})]})};ec.displayName="NavigatorItemDesktop";var Jh=T(E());var vB=c` 7897 display: flex; 7898 flex-direction: column; 7899 gap: ${r("--spacing-s")}; 7900 padding: ${r("--spacing-m")} 0; 7901 padding-inline-start: ${r("--spacing-m")}; 7902`,Qy=c` 7903 display: flex; 7904 flex-direction: column; 7905 gap: ${r("--spacing-s")}; 7906`,Ky=c` 7907 border-top: 1px solid ${r("--global-header-menu-col-divider-color")}; 7908 margin-top: ${r("--spacing-s")}; 7909 padding-top: ${r("--spacing-l")}; 7910`,IB=c` 7911 && { 7912 color: ${r("--global-header-menu-item-fg-color")}; 7913 font-size: ${r("--p2-desktop-font-size")}; 7914 font-weight: 400; 7915 line-height: ${r("--p2-desktop-font-line-height")}; 7916 7917 a { 7918 color: ${r("--global-header-menu-item-fg-color")}; 7919 } 7920 7921 a:hover { 7922 color: ${r("--global-header-menu-item-hover-color")}; 7923 } 7924 } 7925`,kB=c` 7926 && { 7927 a { 7928 color: ${r("--global-header-menu-item-active-color")}; 7929 } 7930 7931 a:hover { 7932 color: ${r("--global-header-menu-item-active-color")}; 7933 } 7934 } 7935`,jy=c` 7936 && { 7937 color: ${r("--global-header-menu-col-label-color")}; 7938 font-size: ${r("--p3-desktop-font-size")}; 7939 font-weight: 500; 7940 letter-spacing: -0.01em; 7941 line-height: ${r("--p3-desktop-font-line-height")}; 7942 overflow: hidden; 7943 text-overflow: ellipsis; 7944 text-transform: uppercase; 7945 white-space: nowrap; 7946 } 7947`,MB=c` 7948 margin-top: ${r("--spacing-s")}; 7949 margin-inline-start: calc(${r("--spacing-m")} * -1); 7950 7951 :first-child { 7952 margin-top: 0; 7953 } 7954`;var tc=({col1Label:e,col1Items:t=[],col2Label:o,col2Items:n=[],col3Label:a,col3Items:s=[],featuredItem:l,onClick:p,className:d})=>{K("sdsm-header");let{Anchor:u}=(0,Jh.useContext)(Le),{isUrlCurrent:y}=(0,Jh.useContext)(et),m=Uy({col1Label:e,col1Items:t,col2Label:o,col2Items:n,col3Label:a,col3Items:s}),g=({url:f,title:b,analytics:S,dataset:C,isUrlCurrent:I})=>i("div",{className:h(IB,{[kB]:I}),...te(C),children:i(u,{className:"sdsm-nav-link",href:f,onClick:()=>p?.(f,S?.label),children:b})});return x("div",{className:h(vB,"sdsm-nav-item-mobile",d),children:[!!t?.length&&x("div",{className:h(Qy,{[Ky]:m.includes(1)}),children:[!!e&&i("div",{className:jy,children:e}),t?.map(({url:f,title:b,analytics:S,dataset:C},I)=>i(g,{url:f,title:b,analytics:S,dataset:C,isUrlCurrent:y?.(f)},I))]}),!!n?.length&&x("div",{className:h(Qy,{[Ky]:m.includes(2)}),children:[!!o&&i("div",{className:jy,children:o}),n?.map(({url:f,title:b,analytics:S,dataset:C},I)=>i(g,{url:f,title:b,analytics:S,dataset:C,isUrlCurrent:y?.(f)},I))]}),!!s?.length&&x("div",{className:h(Qy,{[Ky]:m.includes(3)}),children:[!!a&&i("div",{className:jy,children:a}),s?.map(({url:f,title:b,analytics:S,dataset:C},I)=>i(g,{url:f,title:b,analytics:S,dataset:C,isUrlCurrent:y?.(f)},I))]}),!!l&&i("div",{className:MB,children:i(Yp,{url:l.url,title:l.title,description:l.description,icon:l.icon,media:l.media,ctaLabel:l.ctaLabel,onClick:()=>p?.(l.url,l.analytics?.label),dataset:l.dataset,isUrlCurrent:y?.(l.url)})})]})};tc.displayName="NavigatorItemMobile";var Us=T(E());var SX=c` 7955 scroll-snap-align: center; 7956`,AB=({children:e})=>{(0,Us.useEffect)(()=>{if(typeof window>"u")return;let o=document.getElementsByTagName("html")[0],n=document.body;return o.style.scrollSnapType="y proximity",n.style.scrollSnapType="y proximity",()=>{o.style.scrollSnapType="none",n.style.scrollSnapType="none"}},[]);let t=Us.Children.toArray(e);return i(se,{children:e&&t.map((o,n)=>{let a=o,s=n===t.length-1;return(0,Us.cloneElement)(a,{className:h({[SX]:!s},a.className)})})})};var Zh=({motifScheme:e,backgroundColor:t,backgroundImageSources:o,backgroundMediaStyle:n=zd.Normal,backgroundPosterSource:a,backgroundVideoSource:s,children:l,className:p,mobileBackgroundVideoSource:d,scrollSnap:u,gutterMatchesPageBackground:y})=>{K("sdsm-page");let m=h(J1,e??Ne(t),Z1,p,o||s?tw:ew),g=y?{"--gutter-color":r("--bg-color")}:void 0;return i("div",{"data-testid":"sdsm-page",className:h(X1,"sdsm-page"),children:x("div",{className:m,style:g,children:[o&&i(Ze,{imgSrcs:o,imgClassName:n===zd.Fixed?SS:bS,fetchPriority:"auto"}),s?i(gi,{className:n===zd.Fixed?SS:bS,source:s,mobileSource:d,posterSource:a,isBackgroun
7956dVideo:!0}):void 0,u?i(AB,{children:l}):l]})})};Zh.displayName="Page";var RB=T(E());var TB=c` 7957 align-items: center; 7958 display: flex; 7959 height: 44px; 7960 justify-content: center; 7961 list-style: none; 7962 margin: 0; 7963 padding: ${r("--spacing-l")} 0; 7964 7965 ${V} { 7966 padding-block-start: ${r("--spacing-xxxl")}; 7967 } 7968 7969 li { 7970 display: flex; 7971 justify-content: center; 7972 position: relative; 7973 } 7974`,_B=c` 7975 background-color: transparent; 7976 border: 0; 7977 user-select: none; 7978 color: ${r("--pagination-item-color")}; 7979 cursor: pointer; 7980 font: inherit; 7981 font-size: 16px; 7982 height: 44px; 7983 letter-spacing: 0.01em; 7984 padding: 0; 7985 width: 44px; 7986 7987 ${Ot} { 7988 min-width: 40px; 7989 padding-inline: ${r("--spacing-xxs")}; 7990 width: auto; 7991 } 7992`,wB=c` 7993 ::after { 7994 border-radius: ${r("--spacing-xxs")} ${r("--spacing-xxs")} 0 0; 7995 bottom: 0; 7996 content: ' '; 7997 height: ${r("--spacing-xxs")}; 7998 position: absolute; 7999 width: ${r("--spacing-l")}; 8000 } 8001 8002 ${V} { 8003 &:hover::after { 8004 background-color: ${r("--pagination-indicator-hover-color")}; 8005 } 8006 } 8007`,DB=c` 8008 button { 8009 color: ${r("--pagination-item-active-color")}; 8010 font-weight: 500; 8011 } 8012 8013 ::after, 8014 &:hover::after { 8015 background-color: ${r("--pagination-indicator-active-color")}; 8016 } 8017`,eC=c` 8018 *[dir='rtl'] & { 8019 transform: rotate(180deg); 8020 } 8021`,PB=c` 8022 margin-inline-end: ${r("--spacing-xxs")}; 8023 8024 ${V} { 8025 margin-inline-end: ${r("--spacing-l")}; 8026 } 8027`,NB=c` 8028 margin-inline-start: ${r("--spacing-xxs")}; 8029 8030 ${V} { 8031 margin-inline-start: ${r("--spacing-l")}; 8032 } 8033`;var Yy=({ariaLabel:e,children:t,disabled:o,handlePageChange:n,isActive:a,type:s})=>s==="previous"?i("li",{children:i(Ao,{size:"small",iconName:"chevron-left","aria-label":e,className:h(eC,PB),disabled:o,onClick:n,tabIndex:o?-1:0,"data-testid":"pagination-item-previous"})}):s==="next"?i("li",{children:i(Ao,{size:"small",iconName:"chevron-right","aria-label":e,className:h(eC,NB),disabled:o,onClick:n,tabIndex:o?-1:0,"data-testid":"pagination-item-next"})}):i("li",{className:h(wB,{[DB]:a}),children:i("button",{"aria-label":e,"aria-current":a,className:_B,disabled:o,onClick:n,tabIndex:0,type:"button",children:t?.toLocaleString()})});var tC=(e,t)=>{let o=t-e+1;return Array.from({length:o},(n,a)=>e+a)},EB=(e,t)=>{let a=Math.max(Math.min(t-0,e-1-0-1),3),s=Math.min(Math.max(t+0,3),e-1-1),l=a>3,p=s<e-1-1,d=2<e-1?2:[],u=e-1>1?e-1:[],y=tC(2,a-1),m=tC(s+1,e-1);return[1,l?y:d,...tC(a,s),p?m:u,e]};var wi=({ariaLabel:e,className:t,totalPages:o,currentPage:n,onChange:a})=>{K("sdsm-pagination");let{formatMessage:s}=(0,RB.useContext)(Qe),l=s({id:"pagination-go-to-previous-page",defaultMessage:"Go to previous page"}),p=s({id:"pagination-go-to-next-page",defaultMessage:"Go to next page"}),d=m=>s({id:"pagination-go-to-page",defaultMessage:"Go to page {page}"},{page:m});if(!o||!n||o===1)return null;let u=m=>()=>{m>=1&&m<=o&&m!==n&&a(m)},y=EB(o,n);return i("nav",{"aria-label":e,className:h("sdsm-pagination",t),children:x("ul",{className:TB,children:[i(Yy,{disabled:n===1,handlePageChange:u(n-1),type:"previous",ariaLabel:l}),y.map((m,g)=>Array.isArray(m)?m.length?i("li",{children:i("span",{children:"..."})},g):null:i(Yy,{ariaLabel:m===n?`${m}`:`${d(String(m))}`,handlePageChange:u(m),isActive:m===n,disabled:m===n,children:m},g)),i(Yy,{disabled:n===o,handlePageChange:u(n+1),type:"next",ariaLabel:p})]})})};wi.displayName="Pagination";var oC=c` 8034 font-size: 40px; 8035 line-height: 40px; 8036 margin-bottom: -20px; 8037 margin-top: -8px; 8038`,FB=c` 8039 margin-inline-start: -16px; 8040 text-align: start; 8041`,BB=c` 8042 margin-inline-end: -20px; 8043 text-align: end; 8044`,$B=c` 8045 padding: ${r("--spacing-xl")}; 8046 border-radius: ${r("--border-radius-l")}; 8047 8048 background-color: ${r("--quote-bg-color")}; 8049 color: ${r("--quote-fg-color")}; 8050`,LB=c` 8051 text-align: end; 8052 margin-top: ${r("--spacing-s")}; 8053 8054 ${V} { 8055 font-size: ${r("--quote-author-desktop-font-size")}; 8056 font-weight: ${r("--quote-author-desktop-font-weight")}; 8057 } 8058 8059 ${P} { 8060 font-size: ${r("--quote-author-mobile-font-size")}; 8061 font-weight: ${r("--quote-author-mobile-font-weight")}; 8062 } 8063`;var nC=({author:e,children:t})=>(K("sdsm-quote"),x("div",{className:h("sdsm-quote",$B),children:[i("aside",{className:h(FB,oC),children:"\u201C"}),t,i("aside",{className:h(BB,oC),children:"\u201D"}),e&&x("div",{className:LB,children:["\u2014 ",e]})]}));nC.displayName="Quote";var rwe=c` 8064 font-size: 40px; 8065 line-height: 40px; 8066 margin-bottom: -20px; 8067 margin-top: -8px; 8068 text-align: start; 8069`,awe=c`
8070 margin-inline-start: -16px; 8071 text-align: start; 8072`,iwe=c` 8073 margin-inline-end: -20px; 8074 text-align: end; 8075`,HB=c` 8076 padding: ${r("--quote-card-desktop-padding")}; 8077 border-radius: ${r("--quote-border-radius")}; 8078 8079 background-color: ${r("--quote-bg-color")}; 8080 color: ${r("--quote-fg-color")}; 8081 box-shadow: ${r("--quote-box-shadow")}; 8082 font-family: ${r("--h5-font-family")}; 8083 line-height: 120%; 8084 8085 *[dir='rtl'] & { 8086 direction: rtl; 8087 } 8088 8089 ${V} { 8090 width: 70%; 8091 max-width: 700px; 8092 font-size: ${r("--h5-desktop-font-size")}; 8093 font-weight: ${r("--h5-desktop-font-weight")}; 8094 } 8095 8096 ${P} { 8097 width: 100%; 8098 padding: ${r("--quote-card-mobile-padding")}; 8099 font-size: ${r("--h5-mobile-font-size")}; 8100 font-weight: ${r("--h5-mobile-font-weight")}; 8101 } 8102`,VB=c` 8103 ${V} { 8104 width: 100%; 8105 } 8106`,OB=c` 8107 font-family: ${r("--font-family")}; 8108 color: ${r("--action-text-active-color")}; 8109 font-size: ${r("--quote-icon-desktop-font-size")}; 8110 line-height: ${r("--quote-icon-desktop-line-height")}; 8111 margin-bottom: ${r("--quote-icon-desktop-margin-bottom")}; 8112 8113 ${P} { 8114 font-size: ${r("--quote-icon-mobile-font-size")}; 8115 line-height: ${r("--quote-icon-mobile-line-height")}; 8116 margin-bottom: ${r("--quote-icon-mobile-margin-bottom")}; 8117 } 8118`,GB=c` 8119 display: block; 8120 clear: both; 8121`,zB=c` 8122 display: block; 8123 clear: both; 8124 font-family: ${r("--font-family")}; 8125 line-height: 120%; 8126 8127 ${V} { 8128 font-size: ${r("--p1-desktop-font-size")}; 8129 font-weight: ${r("--p1-desktop-font-weight")}; 8130 } 8131 8132 ${P} { 8133 font-size: ${r("--p1-mobile-font-size")}; 8134 font-weight: ${r("--p1-mobile-font-weight")}; 8135 } 8136`,rC=c` 8137 display: flex; 8138 justify-content: flex-end; 8139 width: 100%; 8140 max-height: 98px; 8141 margin-bottom: ${r("--spacing-l")}; 8142 margin-top: ${r("--spacing-l")}; 8143 8144 /* Override default button padding for logo alignment */ 8145 button { 8146 padding: 0; 8147 } 8148`,UB=c` 8149 display: flex; 8150 justify-content: flex-start; 8151 8152 ${P} { 8153 justify-content: center; 8154 } 8155`,aC=c` 8156 a { 8157 color: inherit; 8158 text-decoration: none; 8159 8160 &:hover { 8161 text-decoration: underline; 8162 } 8163 } 8164 8165 text-align: ${r("--quote-author-text-align")}; 8166 8167 ${V} { 8168 font-size: ${r("--quote-author-desktop-font-size")}; 8169 font-weight: ${r("--quote-author-desktop-font-weight")}; 8170 } 8171 8172 ${P} { 8173 font-size: ${r("--quote-author-mobile-font-size")}; 8174 font-weight: ${r("--quote-author-mobile-font-weight")}; 8175 } 8176`,WB=c` 8177 ${aC} 8178 margin-top: ${r("--spacing-l")}; 8179`,qB=c` 8180 ${rC} 8181`,QB=c` 8182 ${V} { 8183 flex-direction: row; 8184 gap: ${r("--quote-desktop-gap")}; 8185 } 8186 8187 ${P} { 8188 flex-direction: column; 8189 gap: ${r("--quote-mobile-gap")}; 8190 } 8191 8192 display: flex; 8193 align-items: center; 8194 justify-content: center; 8195 width: 100%; 8196 /* Force LTR for component layout, but text inside will still respect RTL */ 8197 direction: ltr; 8198`,KB=c` 8199 /* Figma doesn't support angle-unit tokens like "deg", so we multiply a number-type token by -1deg to get the correct rotate angle in css. */ 8200 transform: rotate(calc(${r("--quote-media-rotate")} * -1deg)) 8201 translateX(${r("--quote-media-desktop-translate-x")}); 8202 border-radius: ${r("--quote-media-border-radius")}; 8203 overflow: hidden; 8204 box-shadow: ${r("--quote-box-shadow")}; 8205 8206 ${V} { 8207 width: 30%; 8208 height: 100%; 8209 min-width: 280px; 8210 max-width: 320px; 8211 } 8212 8213 ${P} { 8214 width: 90%; 8215 max-width: 360px; 8216 transform: rotate(calc(${r("--quote-media-rotate")} * -1deg)) 8217 translateY(${r("--quote-media-mobile-translate-y")}); 8218 } 8219`,jB=c` 8220 display: block; 8221 height: 100%; 8222 object-fit: cover; 8223 object-position: center; 8224 width: 100%; 8225`,YB=c` 8226 height: 100%; 8227 object-fit: cover; 8228 object-position: center; 8229 width: 100%; 8230`;var iC=({author:e,children:t,logoImageSrc:o,isRtl:n=!1,isLongQuote:a=!1,imgSrcs:s,videoSrc:l,mobileVideoSrc:p})=>{K("sdsm-quote");let d=o?aC:WB,u=a?zB:GB,y=n?"\u201D":"\u201C",m=h(l?YB:jB),g=!!(s||l)&&!a;return x("div",{className:h("sdsm-quote-container",QB),children:[g&&i("div",{className:KB,children:i(Ke,{showVideoControls:!1,videoSource:l,mobileVideoSource:p,imgSrcs:s,className:m,isDraggable:!1})}),x("div",{className:h("sdsm-quote",HB,{[VB]:!g}),children:[i("div",{className:UB,children:x("div",{className:OB,children:[" ",y]})}),i("div",{className:u,children:t}),o&&i("div",{className:e?rC:qB,children:i(Gs,{width:98,imgSrcs:o,altText:"Quote background"})}),e&&i("div",{className:d,children:e})]})]})};iC.displayName="QuoteV2";var Oa=T(E());var o4=T(E());var XB=c` 8231 display: flex; 8232 flex-direction: column; 8233 gap: ${r("--spacing-xs")}; 8234`,sC=c`
8235 cursor: not-allowed; 8236 opacity: 0.8; 8237`,JB=c` 8238 align-items: center; 8239 display: flex; 8240 gap: ${r("--spacing-s")}; 8241 8242 label { 8243 align-items: center; 8244 display: flex; 8245 justify-content: center; 8246 margin-top: 0; 8247 8248 a { 8249 &, 8250 &:hover, 8251 &:visited { 8252 color: ${r("--fg-color")}; 8253 } 8254 } 8255 } 8256`,ZB=c` 8257 align-items: center; 8258 appearance: none; 8259 background-color: ${r("--form-input-bg-color")}; 8260 border-color: ${r("--form-input-border-color")}; 8261 border-radius: 50%; 8262 border-style: solid; 8263 border-width: ${r("--form-input-selection-control-border-width")}; 8264 display: flex; 8265 height: 20px; 8266 justify-content: center; 8267 margin: 0; 8268 padding: 0; 8269 width: 20px; 8270 8271 &:checked { 8272 border-color: ${r("--form-input-active-border-color")}; 8273 box-shadow: ${r("--form-input-active-box-shadow")}; 8274 } 8275 8276 &:checked::before { 8277 background-color: ${r("--form-input-active-border-color")}; 8278 border-radius: 50%; 8279 content: ''; 8280 display: block; 8281 height: 10px; 8282 margin: 3px; 8283 width: 10px; 8284 } 8285 8286 &:focus-visible { 8287 outline-color: ${r("--form-input-active-border-color")}; 8288 outline-style: solid; 8289 outline-width: ${r("--form-input-selection-control-border-width")}; 8290 outline-offset: -2px; 8291 } 8292 8293 &:not(:checked):hover { 8294 border-color: ${r("--form-input-hover-border-color")}; 8295 box-shadow: ${r("--form-input-hover-box-shadow")}; 8296 } 8297 8298 &[required]:not(:checked)::before { 8299 border-color: ${r("--form-input-error-color")}; 8300 } 8301 8302 &[readonly] { 8303 ${sC} 8304 } 8305 8306 &[readonly]:hover { 8307 border-color: ${r("--form-input-border-color")}; 8308 box-shadow: none; 8309 } 8310 8311 &[readonly]:checked { 8312 border-color: ${r("--form-input-active-border-color")}; 8313 box-shadow: none; 8314 } 8315`,e4=c` 8316 margin-top: 0 !important; 8317`,t4=c` 8318 border-color: ${r("--form-input-error-color")}; 8319 border-style: solid; 8320 border-width: ${r("--form-input-selection-control-border-width")}; 8321 8322 &:hover { 8323 border-color: ${r("--form-input-error-color")}; 8324 border-style: solid; 8325 border-width: ${r("--form-input-selection-control-border-width")}; 8326 } 8327`;var n4=e=>{let{id:t,handleChange:o,handleInvalid:n,hasError:a=!1,label:s,name:l,readOnly:p,value:d,...u}=e,{state:y}=(0,o4.useContext)(yo),m=fr(y.formBody[l]),g=fr(d);return x("div",{className:JB,children:[i("input",{type:"radio",name:l,id:t,value:g,checked:m===g,className:h(ZB,{[t4]:a}),disabled:p,onChange:o,onBlur:o,onInvalid:n,readOnly:p,...u}),i("label",{htmlFor:t,className:h(e4,{[sC]:p}),children:s})]})};var r4=(0,Oa.memo)(e=>{let{error:t,helpText:o,initialValue:n,label:a,name:s,options:l=[],required:p=!1,shouldResetToInitial:d=!1}=e,{state:u,dispatch:y}=(0,Oa.useContext)(yo);(0,Oa.useEffect)(()=>{y({type:"registerField",name:s,field:{required:p,initialValue:n,shouldResetToInitial:d}})},[y,n,s,p,d]);let m=u.fields[s],g=b=>{y({type:"changeFieldValue",name:s,value:b.target.value})},f=(0,Oa.useCallback)(()=>{y({type:"invalidateField",name:s})},[y,s]);return l.length===0?null:i($a,{type:"Radio",name:s,label:a,required:p,helpText:o,error:t,hasError:m?.hasError,children:i("div",{className:XB,children:l.map(({key:b,value:S})=>i(n4,{id:b,name:s,value:S??b,label:S??b,required:p,hasError:m?.hasError,handleChange:g,handleInvalid:f},b))})})});var a4=c` 8328 position: relative; 8329 display: flex; 8330 justify-content: center; 8331`,i4=c` 8332 position: sticky; 8333 top: 0; 8334 height: 100vh; 8335 width: 100%; 8336`;var s4=({className:e,containerRef:t,innerContainerClassName:o,children:n,dataset:a,style:s,anchorId:l})=>i("section",{ref:t,id:l,className:h(a4,e),style:{...s},...te(a),children:i("div",{className:h(i4,o),children:n})});var Ws=T(E());var l4=({calculateScrollProgress:e,className:t,videoMp4Src:o,videoWebmSrc:n,videoStart:a=0,videoEnd:s,scrubStart:l=0,scrubEnd:p=100,style:d,dataset:u})=>{let y=(0,Ws.useRef)(null),b=(0,Ws.useContext)(Je).getLowEntropyHints().browsers.some(S=>S.brand==="Firefox")?n:o;return(0,Ws.useEffect)(()=>{y.current&&(y.current.currentTime=a||0);let S=()=>
8336{if(y.current){let C=e(),I=(p-l)/100,k=(C-l/100)*(1/I);if(k>0&&k<=1){let w=(s?Math.min(s,y.current.duration):y.current.duration)-a,_=a+w*k;y.current.currentTime=Number.parseFloat(_.toFixed(3))}}};return window.addEventListener("scroll",S),window.addEventListener("resize",S),()=>{window.removeEventListener("scroll",S),window.removeEventListener("resize",S)}},[e,p,l,s,a]),i("video",{ref:y,src:b,className:t,style:d,...te(u)})};var Xy=T(E());var p4=340,hX=640,c4=c` 8337 /* Extra clearance beyond 100% so the panel clears the page container edge. */ 8338 --directional-overlay-lateral-outset: calc(2 * ${r("--spacing-l")}); 8339 8340 background-color: ${r("--side-overlay-bg-color")}; 8341 border: ${r("--border-width-xs")} solid ${r("--side-overlay-border-color")}; 8342 box-shadow: 0 12px 20px 0 #0000001f; 8343 display: flex; 8344 flex-direction: column; 8345 overflow: hidden; 8346 z-index: ${De.SIDE_OVERLAY}; 8347 8348 ${V} { 8349 border-radius: ${r("--side-overlay-desktop-border-radius")}; 8350 height: calc(100vh - var(--total-header-height, 0px) - (2 * ${r("--spacing-l")})); 8351 max-width: ${p4}px; 8352 top: calc(var(--total-header-height, 0px) + ${r("--spacing-l")}); 8353 width: ${p4}px; 8354 } 8355 8356 ${P} { 8357 border-radius: ${r("--side-overlay-mobile-border-radius")}; 8358 bottom: 0; 8359 height: auto; 8360 left: 0; 8361 margin-left: auto; 8362 margin-right: auto; 8363 max-height: calc(100vh - var(--total-header-height, 0px) - ${r("--spacing-m")}); 8364 max-width: ${hX}px; 8365 right: 0; 8366 width: calc(100vw - (2 * ${r("--spacing-m")})); 8367 8368 *[dir='rtl'] & { 8369 left: 0; 8370 right: 0; 8371 } 8372 } 8373`,d4=c` 8374 ${V} { 8375 /* 8376 * 50% --> move to center of the viewport (from the right) 8377 * 50cqw --> move back by half of the page container width to reach its right edge 8378 * var(--spacing-l) --> adjust to move away from the container edge 8379 */ 8380 && { 8381 right: calc(50% - 50cqw + ${r("--spacing-l")}); 8382 } 8383 8384 *[dir='rtl'] & { 8385 left: calc(50% - 50cqw + ${r("--spacing-l")}); 8386 right: auto; 8387 } 8388 8389 /* RTL: negate the direction-class transform so the panel slides from the left. */ 8390 *[dir='rtl'] &:not(.${Pp}) { 8391 transform: translateX(calc(-100% - var(--directional-overlay-lateral-outset, 0px))); 8392 } 8393 } 8394`,u4=c` 8395 ${V} { 8396 && { 8397 left: calc(50% - 50cqw + ${r("--spacing-l")}); 8398 right: auto; 8399 } 8400 8401 *[dir='rtl'] & { 8402 left: auto; 8403 right: calc(50% - 50cqw + ${r("--spacing-l")}); 8404 } 8405 8406 /* RTL: negate the direction-class transform so the panel slides from the right. */ 8407 *[dir='rtl'] &:not(.${Pp}) { 8408 transform: translateX(calc(100% + var(--directional-overlay-lateral-outset, 0px))); 8409 } 8410 } 8411`,y4=c` 8412 ${V} { 8413 /* 8414 * 50% --> move to center of the viewport (from the right) 8415 * 50cqw --> move back by half of the page container width to reach its right edge 8416 * desktopSideNavWidthPx / 2 --> move back by half of the side navigation width 8417 * var(--spacing-l) --> adjust to move away from the container edge 8418 */ 8419 && { 8420 right: calc(50% - 50cqw - ${_o/2}px + ${r("--spacing-l")}); 8421 } 8422 8423 *[dir='rtl'] & { 8424 left: calc(50% - 50cqw - ${_o/2}px + ${r("--spacing-l")}); 8425 right: auto; 8426 } 8427 } 8428`,m4=c` 8429 ${V} { 8430 && { 8431 left: calc(50% - 50cqw - ${_o/2}px + ${r("--spacing-l")}); 8432 right: auto; 8433 } 8434 8435 *[dir='rtl'] & { 8436 left: auto; 8437 right: calc(50% - 50cqw - ${_o/2}px + ${r("--spacing-l")}); 8438 } 8439 } 8440`,g4=c` 8441 display: flex; 8442 font-size: ${r("--h6-desktop-font-size")}; 8443 font-weight: ${r("--h6-desktop-font-weight")}; 8444 justify-content: end; 8445 line-height: ${r("--h6-desktop-font-line-height")}; 8446 padding: ${r("--spacing-m")}; 8447`,f4=c` 8448 background: transparent; 8449 border: none; 8450 cursor: pointer; 8451 margin: calc(${r("--spacing-m")} * -1); 8452 padding: ${r("--spacing-m")}; 8453`,b4=c` 8454 height: 100%; 8455 margin: 0; 8456 overflow-y: auto; 8457 padding: ${r("--spacing-xs")} ${r("--spacing-l")} ${r("--spacing-l")} ${r("--spacing-l")}; 8458 8459 ${P} { 8460 padding-bottom: ${r("--spacing-xxxxl")}; 8461 } 8462`,S4=c` 8463 color: ${r("--side-overlay-fg-color")}; 8464 font-size: ${r("--h6-desktop-font-size")}; 8465 font-weight: ${r("--h6-desktop-font-weight")}; 8466 line-height: ${r("--h6-desktop-font-line-height")}; 8467 margin: 0 0 ${r("--spacing-s")} 0; 8468 padding: 0; 8469`,h4=c` 8470 color: ${r("--side-overlay-fg-color")}; 8471 font-size: ${r("--p2-desktop-font-size")}; 8472 font-weight: ${r("--p2-desktop-font-weight")}; 8473 line-height: ${r("--p2-desktop-font-line-height")}; 8474 margin: 0; 8475 padding: 0; 8476`,C4=c` 8477 ${V} { 8478 display: none; 8479 } 8480`;var CX=24,xX=100,lC=({isOpen:e,title:t,body:o,onClose:n,className:a,hasSideNav:s,style:l,dataset:p,"data-testid":d,direction:u="right"})=>{K("sdsm-side-overlay");let y=(0,Xy.useRef)(null);(0,Xy.useEffect)(()=>{e&&setTimeout(()=>{y?.current?.focus()},250)},[e]);let m=f=>{n?.(f)},g=u==="left";return x(WS,{backdropClassName:C4,showBackdrop:!0,className:h("sdsm-side-overlay",c4,g?u4:d4,{[y4]:s&&!g,[m4]:s&&g},a),dataset:p,"data-testid":d,desktopDirection:u,desktopSizePercent:CX,isOpen:e,mobileDirection:"bottom",mobileSizePercent:xX,onBackdropClick:m,style:l,children:[i("div",{className:g4,children:i("button",{className:f4,type:"button",ref:y,onClick:n,onKeyDown:n,"aria-label":"Close",children:i(we,{name:"cross",size:24,fill:r("--side-overlay-fg-color")})})}),x("dl",{className:b4,children:[i("dt",{className:S4,children:t}),i("dd",{className:h4,children:o})]})]})};lC.displayName="SideOverlay";var qs=T(E());var x4=c` 8481 width: 100%; 8482 min-width: 300px; 8483 max-width: 416px; 8484 margin: 0 auto; 8485 8486 > iframe { 8487 aspect-ratio: 3 / 5; 8488 width: 100%; 8489 height: 100%; 8490 } 8491`,v4=c` 8492 background: #c4c4c4; 8493 border: 0; 8494 border-radius: 40px; 8495 box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.5), 0 1px 10px 0 rgba(0, 0, 0, 0.15); 8496 margin: 1px; 8497 min-width: 300px; 8498 max-width: 416px; 8499 padding: 0; 8500 width: 99.375%; 8501 display: flex; 8502 flex-direction: column; 8503 position: relative; 8504 height: 650px; 8505`,I4=c` 8506 display: flex; 8507 flex-direction: row; 8508 align-items: center; 8509`,k4=c` 8510 background-color: #f4f4f4; 8511 border-radius: 50%; 8512 flex-grow: 0; 8513 height: 40px; 8514 margin: 16px 14px 16px 16px; 8515 width: 40px; 8516 cursor: pointer; 8517`,M4=c` 8518 display: flex; 8519 flex-direction: column; 8520 flex-grow: 1; 8521 justify-content: center; 8522`,A4=c` 8523 flex: 1; 8524`,T4=c` 8525 display: flex; 8526 flex-direction: row; 8527 align-items: center; 8528 border-end-end-radius: 40px; 8529 border-end-start-radius: 40px; 8530`,_4=c` 8531 background-color: yellow; 8532 width: 100%; 8533 padding: 10px 20px; 8534 border: none; 8535 border-radius: inherit; 8536 cursor: pointer; 8537 text-align: center; 8538 display: flex; 8539 flex-direction: row; 8540 justify-content: center; 8541 text-decoration: none; 8542 color: black; 8543 align-items: center; 8544`,w4=c` 8545 margin-left: 4px; 8546 padding-bottom: 1px; 8547 font-size: 14px; 8548`;var Qs=e=>{let{url:t,dataset:o,className:n}=e,a=(0,qs.useRef)(null);K("sdsm-snapchat-embed");let{Anchor:s}=(0,qs.useContext)(Le);(0,qs.useEffect)(()=>{er("snapchat-embed","https://www.snapchat.com/embed.js",()=>{let d=new Event("loadEmbed",{bubbles:!0});a.current?.dispatchEvent(d)})},[t]);let l=new URL(t),p=`${l.origin}${l.pathname}`.replace(/\/$/,"");return i("div",{className:h("sdsm-snapchat-embed",x4,n),ref:a,...te(o),children:x("blockquote",{className:h(v4,"snapchat-embed"),"data-snapchat-embed-width":"416","data-snapchat-embed-height":"692","data-snapchat-embed-url":`${p}/embed`,"data-snapchat-embed-style":"border-radius: 40px;",children:[x("div",{className:I4,children:[i(s,{href:p,className:k4}),i("div",{className:M4})]}),i("div",{className:A4}),i("div",{className:T4,children:i(s,{href:p,className:_4,children:i("div",{className:w4,children:"View more on Snapchat"})})})]})})};var z4=T(E());var vX=400,D4=375,P4=592,IX=440,N4=c` 8549 align-items: stretch; 8550 background-color: ${r("--bg-color")}; 8551 display: flex; 8552 gap: 0; 8553 justify-content: center; 8554 min-height: ${vX}px; 8555 width: 100%; 8556 8557 ${P} { 8558 flex-direction: column; 8559 height: 100%; 8560 } 8561 8562 /* 8563 We are keeping the media queries above in addition to the container queries below in case: 8564 - this component is ever rendered without a wrapping SDS-M Page component 8565 - the browser does not support container queries (smart TVs, etc.) 8566 */ 8567 ${co} { 8568 flex-direction: column; 8569 height: 100%; 8570 } 8571`,E4=c` 8572 height: calc(100vh - ${64}
8572px); 8573`,pC=c` 8574 flex-direction: row-reverse; 8575`,R4=c` 8576 display: flex; 8577 flex-shrink: 0; 8578 justify-content: flex-end; 8579 padding: ${r("--spacing-xxxxl")}; 8580 width: 50%; 8581 8582 ${At} { 8583 width: 60%; 8584 } 8585 8586 ${P} { 8587 padding: 0; 8588 width: 100%; 8589 } 8590 8591 /* 8592 We are keeping the media queries above in addition to the container queries below in case: 8593 - this component is ever rendered without a wrapping SDS-M Page component 8594 - the browser does not support container queries (smart TVs, etc.) 8595 */ 8596 ${ts} { 8597 width: 60%; 8598 } 8599 8600 ${co} { 8601 padding: 0; 8602 width: 100%; 8603 } 8604`,F4=c` 8605 color: ${r("--fg-color")}; 8606 display: flex; 8607 flex-direction: column; 8608 gap: ${r("--spacing-m")}; 8609 padding: ${r("--spacing-xl")}; 8610 width: 100%; 8611 8612 ${V} { 8613 max-width: ${P4}px; 8614 } 8615 8616 /* 8617 We are keeping the media queries above in addition to the container queries below in case: 8618 - this component is ever rendered without a wrapping SDS-M Page component 8619 - the browser does not support container queries (smart TVs, etc.) 8620 */ 8621 ${co} { 8622 max-width: unset; 8623 } 8624 8625 ${ci} { 8626 max-width: ${P4}px; 8627 } 8628`,B4=c` 8629 ${c0} 8630 word-break: break-word; 8631`,$4=c` 8632 ${uo} 8633 word-break: break-word; 8634`,L4=c` 8635 ${Ue} 8636 margin-bottom: 0; 8637 word-break: break-word; 8638 8639 & .${Rn.p}:last-child { 8640 margin-bottom: 0; 8641 } 8642`,H4=c` 8643 align-items: center; 8644 display: flex; 8645 flex-wrap: wrap; 8646 gap: ${r("--spacing-m")}; 8647 margin-top: ${r("--spacing-m")}; 8648`,V4=c` 8649 background: ${r("--split-block-media-caption-bg-color")}; 8650 border-radius: ${r("--border-radius-s")}; 8651 bottom: ${r("--spacing-m")}; 8652 color: ${tr}; 8653 max-width: ${IX}px; 8654 padding: ${r("--spacing-xxs")} ${r("--spacing-xs")}; 8655 position: absolute; 8656 z-index: 2; 8657 ${Xt} 8658 8659 ${P} { 8660 margin-inline: ${r("--spacing-xl")}; 8661 max-width: 100%; 8662 } 8663 8664 /* 8665 We are keeping the media queries above in addition to the container queries below in case: 8666 - this component is ever rendered without a wrapping SDS-M Page component 8667 - the browser does not support container queries (smart TVs, etc.) 8668 */ 8669 ${co} { 8670 margin-inline: ${r("--spacing-xl")}; 8671 max-width: 100%; 8672 } 8673`,O4=c` 8674 &::before { 8675 /* Fallback for browsers without color-mix */ 8676 background: linear-gradient( 8677 180deg, 8678 transparent 26.62%, 8679 ${r("--split-block-media-caption-gradient-color")} 100% 8680 ); 8681 background: linear-gradient( 8682 180deg, 8683 color-mix(in srgb, ${r("--split-block-media-caption-gradient-color")} 0%, transparent) 26.62%, 8684 color-mix(in srgb, ${r("--split-block-media-caption-gradient-color")} 36%, transparent) 56.58%, 8685 color-mix(in srgb, ${r("--split-block-media-caption-gradient-color")} 45%, transparent) 71.27%, 8686 color-mix(in srgb, ${r("--split-block-media-caption-gradient-color")} 60%, transparent) 86.54% 8687 ); 8688 content: ''; 8689 inset: 0; 8690 pointer-events: none; 8691 position: absolute; 8692 z-index: 1; 8693 } 8694`,G4=c` 8695 display: flex; 8696 justify-content: center; 8697 position: relative; 8698 width: 50%; 8699 8700 ${At} { 8701 width: 40%; 8702 } 8703 8704 ${P} { 8705 height: ${D4}px; 8706 width: 100%; 8707 } 8708 8709 /* 8710 We are keeping the media queries above in addition to the container queries below in case: 8711 - this component is ever rendered without a wrapping SDS-M Page component 8712 - the browser does not support container queries (smart TVs, etc.) 8713 */ 8714 ${ts} { 8715 width: 40%; 8716 } 8717 8718 ${co} { 8719 height: ${D4}px; 8720 width: 100%; 8721 } 8722`,cC=c` 8723 inset: 0; 8724 /* Prevent overflowing elements from adding extra page width, e.g. background media stickers */ 8725 overflow: hidden; 8726 position: absolute; 8727 z-index: 0; 8728`,dC=c` 8729 height: 100%; 8730 object-fit: cover; 8731 width: 100%; 8732`;var U4=e=>{K("sdsm-split-block");let{anchorId:t,motifScheme:o,backgroundColor:n,body:a,bodyDataset:s,callsToAction:l,fitWindow:p=!1,imageSources:d,imageAltText:u,mediaCaption:y,mediaCaptionDataset:m,mediaContentType:g,mediaDirection:f=ae.End,mobileMediaContentType:b,mobileVideoSource:S,subtitle:C,subtitleDataset:I,textAlignment:k=ae.Start,textAlignmentMobile:v=ae.Center,title:w,titleDataset:_,verticalTextAlignment:D=ae.Center,videoSource:M,posterSource:A,stickers:N}=e,$=z4.Children.toArray(l).length,B=o??Ne(n)??"sdsm-secondary",L=N?.map(H=>({...H,size:dr.Medium,insetPx:16}));return x("article",{id:t,className:h("sdsm-split-block",B,N4,{[E4]:p,[pC]:f===ae.Start}),children:[i("section",{className:h(R4,{[pC]:f===ae.Start}),children:x("div",{className:h(F4,ka[k],Ma[v],yp[D]),children:[w&&i("h2",{className:B4,...te(_),children:w}),C&&i("div",{className:$4,...te(I),children:C}),a&&i("div",{className:L4,...te(s),children:a}),$>0?i("section",{className:h(H4,ka[k],Ma[v]),children:l}):null]})}),(d||M)&&x("section",{className:h(G4,{[O4]:!!y}),children:[d&&i(Hn,{altText:u,imgSrcs:d,className:cC,imgClassName:dC,fetchPriority:"auto",stickers:L}
8732),M&&i(Ur,{className:cC,videoClassName:dC,isBackgroundVideo:!0,mobileSource:S,mobileSourceType:b,source:M,sourceType:g,posterSource:A,stickers:L}),y&&i("div",{className:V4,...te(m),children:y})]})]})};var K4=T(E());var W4=c` 8733 align-items: center; 8734 display: flex; 8735 flex-direction: column; 8736 gap: ${r("--spacing-l")}; 8737 justify-content: center; 8738 text-align: center; 8739`,q4=c` 8740 color: ${r("--stats-color")}; 8741 font-family: ${r("--h1-font-family")}; 8742 font-size: ${r("--stats-font-size")}; 8743 font-stretch: condensed; 8744 font-weight: ${r("--stats-font-weight")}; 8745 line-height: ${r("--stats-font-line-height")}; 8746 margin: 0; 8747`,Q4=c` 8748 color: ${r("--stats-color")}; 8749 font-family: ${r("--h1-font-family")}; 8750 font-size: ${r("--stats-supplementary-text-font-size")}; 8751 font-stretch: condensed; 8752 font-weight: ${r("--stats-supplementary-text-font-weight")}; 8753 line-height: ${r("--stats-font-line-height")}; 8754 margin: 0; 8755`;var uC=({stat:e,optionalSupplementaryText:t,animation:o,style:n})=>{K("stats");let a=(0,K4.useRef)(null),s=Cu(a,o);return x("figure",{ref:a,className:h("stats",W4),style:{...s,...n},children:[i("span",{className:q4,children:e}),t&&i("span",{className:Q4,children:t})]})};uC.displayName="Stats";var nc=T(E());var j4=c` 8756 align-items: center; 8757 background-color: ${r("--bg-color")}; 8758 box-shadow: ${r("--sub-navigation-box-shadow")}; 8759 color: white; 8760 display: flex; 8761 height: 56px; 8762 justify-content: center; 8763 overflow: hidden; 8764 position: sticky; 8765 top: 125px; 8766 width: 100%; 8767 z-index: ${De.SUB_NAVIGATION}; 8768 8769 ${P} { 8770 justify-content: flex-start; 8771 } 8772`,Y4=c` 8773 align-items: center; 8774 display: flex; 8775 height: 100%; 8776 -ms-overflow-style: none; /* Hide scrollbar for IE and Edge */ 8777 overflow-x: scroll; 8778 overflow-y: hidden; 8779 scrollbar-width: none; /* Hide scrollbar for Firefox */ 8780 8781 &::-webkit-scrollbar {
8782 display: none; /* Hide scrollbar for Chrome and Safari */ 8783 } 8784`,X4=c` 8785 align-items: center; 8786 display: flex; 8787 gap: ${r("--spacing-xl")}; 8788 height: 100%; 8789 list-style: none; 8790 padding-inline: ${r("--spacing-xl")}; 8791`,J4=c` 8792 align-items: center; 8793 display: flex; 8794 height: 100%; 8795`,oc=8,Z4=c` 8796 align-items: center; 8797 color: ${r("--sub-navigation-item-color")}; 8798 display: flex; 8799 font-size: ${r("--action-desktop-font-size")}; 8800 font-weight: ${r("--action-desktop-font-weight")}; 8801 height: 100%; 8802 line-height: ${r("--action-desktop-font-line-height")}; 8803 position: relative; 8804 text-decoration: none; 8805 white-space: nowrap; 8806 8807 ${P} { 8808 font-size: ${r("--action-mobile-font-size")}; 8809 font-weight: ${r("--action-mobile-font-weight")}; 8810 line-height: ${r("--action-mobile-font-line-height")}; 8811 } 8812 8813 @media (hover: hover) { 8814 &:hover { 8815 color: ${r("--sub-navigation-item-hover-color")}; 8816 } 8817 8818 &:hover::after { 8819 transform: translateY(-${oc/2}px); 8820 } 8821 } 8822 8823 &::after { 8824 background-color: ${r("--sub-navigation-indicator-hover-color")}; 8825 bottom: -${oc}px; 8826 content: ''; 8827 height: ${oc}px; 8828 left: 0; 8829 position: absolute; 8830 border-radius: ${r("--action-indicator-border-radius")}; 8831 transform: translateY(0); 8832 transition: all 0.15s ease; 8833 width: 100%; 8834 } 8835 8836 @media (hover: hover) { 8837 &:hover { 8838 color: ${r("--sub-navigation-item-hover-color")}; 8839 } 8840 8841 &:hover::after { 8842 transform: translateY(-${oc/2}px); 8843 } 8844 } 8845`,e$=c` 8846 color: ${r("--sub-navigation-item-active-color")}; 8847 8848 &:hover { 8849 color: ${r("--sub-navigation-item-active-color")}; 8850 } 8851 8852 &::after { 8853 background-color: ${r("--sub-navigation-indicator-active-color")}; 8854 transform: translateY(-${oc/2}px); 8855 } 8856`,t$=c` 8857 background: linear-gradient(to left, transparent 10%, ${r("--bg-color")} 100%); 8858 content: ''; 8859 display: block; 8860 height: 100%; 8861 left: 0; 8862 pointer-events: none; 8863 position: absolute; 8864 width: 80px; 8865 z-index: 1; 8866`,o$=c` 8867 background: linear-gradient(to right, transparent 10%, ${r("--bg-color")} 100%); 8868 content: ''; 8869 display: block; 8870 height: 100%; 8871 right: 0; 8872 pointer-events: none; 8873 position: absolute; 8874 width: 80px; 8875 z-index: 1; 8876`;var n$=({motifScheme:e,backgroundColor:t,className:o,children:n,horizontalScrollRef:a,dataset:s})=>{K("sdsm-sub-navigation");let{width:l}=mn(),[p,d]=(0,nc.useState)(!1),[u,y]=(0,nc.useState)(0);Lr(()=>{d(!!a?.current?.closest('[dir="rtl"]'))},[a?.current,l]),(0,nc.useEffect)(()=>{let S=a?.current;if(!S)return;let C=()=>{y(Math.ceil(a?.current?.scrollLeft??0))};return S.addEventListener("scroll",C,{passive:!1}),S.addEventListener("touchmove",C,{passive:!1}),()=>{S.removeEventListener("scroll",C),S.removeEventListener("touchmove",C)}},[a]);let m=0,g=0;a?.current?.parentElement&&(m=a.current.parentElement.scrollWidth,g=a.current.scrollWidth);let f=!1,b=!1;return p?(f=Math.ceil(-u)<g-m,b=u<0):(f=u>0,b=u<g-m),x("nav",{className:h("sdsm-sub-navigation",j4,e??Ne(t),o),...te(s),children:[f&&i("div",{className:t$}),i("div",{ref:a,className:Y4,children:i("ul",{className:X4,children:n})}),b&&i("div",{className:o$})]})};var Ks=T(E());var yC=({href:e,isActive:t,onLinkClick:o,className:n,children:a,dataset:s})=>{let{Anchor:l}=(0,Ks.useContext)(Le),p=(0,Ks.useRef)(null);return(0,Ks.useEffect)(()=>{t&&p.current?.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"})},[t]),i("li",{ref:p,className:h(J4,n),...te(s),children:i(l,{className:h(Z4,{[e$]:t}),href:e,onClick:o,children:a})})};yC.displayName="SubNavigationItem";var zo=T(E());var r$=c` 8877 display: flex; 8878 flex-wrap: wrap; 8879 justify-content: center; 8880 width: 100%; 8881 8882 & > div { 8883 margin: auto; 8884 } 8885 8886 ${P} { 8887 margin-top: ${r("--spacing-m")}; 8888 } 8889`,a$=c` 8890 display: flex; 8891 z-index: ${De.HERO_CURTAIN}; 8892 background-color: ${r("--bg-color")}; 8893 min-width: 80px; 8894 justify-content: center; 8895 align-items: center; 8896 padding: 0 0 0 0; 8897 margin: 0 0 0 0; 8898 flex-direction: row; 8899 [dir='rtl'] & { 8900 flex-direction: row-reverse; 8901 } 8902 ${P} { 8903 display: none; 8904 } 8905`,i$=c` 8906 cursor: pointer; 8907 z-index: ${De.CAROUSEL_ARROW}; 8908 background-color: ${r("--bg-color")}; 8909 border: none; 8910 8911 :disabled { 8912 opacity: 50%; 8913 } 8914 ${P} { 8915 display: none; 8916 } 8917`,s$=c` 8918 background: linear-gradient(to left, transparent 10%, ${r("--bg-color")} 100%); 8919 content: ''; 8920 display: block; 8921 height: calc(${r("--spacing-xxxxl")} + 1px); 8922 left: 0; 8923 pointer-events: none; 8924 position: absolute; 8925 width: 80px; 8926 z-index: ${De.CAROUSEL_SIDE_GRADIENT}; 8927 8928 [dir='rtl'] & { 8929 /* 8930 The height is 1px less on the left-side (RTL) on desktop so that this gradient does not cover the bottom border line. 8931 This is because there are arrow buttons on desktop so the gradient is not the farthest element to the right. 8932 */ 8933 height: ${r("--spacing-xxxxl")}; 8934 left: ${r("--spacing-xxxxl")}; 8935 } 8936 8937 ${P} { 8938 height: calc(${r("--spacing-xxxxl")} + 1px); 8939 left: 0; 8940 8941 [dir='rtl'] & { 8942 height: calc(${r("--spacing-xxxxl")} + 1px); 8943 left: 0; 8944 } 8945 } 8946`,l$=c` 8947 background: linear-gradient(to right, transparent 10%, ${r("--bg-color")} 100%); 8948 content: ''; 8949 display: block; 8950 /* 8951 The height is 1px less on the right-side on desktop so that this gradient does not cover the bottom border line. 8952 This is because there are arrow buttons on desktop so the gradient is not the farthest element to the right. 8953 */ 8954 height: ${r("--spacing-xxxxl")}; 8955 pointer-events: none; 8956 position: absolute; 8957 right: ${r("--spacing-xxxxl")}; 8958 width: 80px; 8959 z-index: ${De.CAROUSEL_SIDE_GRADIENT}; 8960 8961 [dir='rtl'] & { 8962 height: calc(${r("--spacing-xxxxl")} + 1px); 8963 right: 0; 8964 } 8965 8966 ${P} { 8967 height: calc(${r("--spacing-xxxxl")} + 1px); 8968 right: 0; 8969 8970 [dir='rtl'] & { 8971 height: calc(${r("--spacing-xxxxl")} + 1px); 8972 right: 0; 8973 } 8974 } 8975`,p$=c` 8976 border-bottom: 1px ${r("--tabs-underline-color")} solid; 8977 display: flex; 8978 margin: 0 ${r("--spacing-xxxl")} 0 ${r("--spacing-xxxl")}; 8979 max-width: 100%; 8980 padding-top: ${r("--spacing-xl")}; 8981 position: relative; 8982 8983 ${P} { 8984 /* 8985 The border is applied to a different element on mobile due to different visual requirements: 8986 - Desktop: continue border under arrow buttons 8987 - Mobile: border stops at end of last item 8988 */ 8989 border-bottom: none; 8990 margin: 0 ${r("--spacing-xs")} 0 ${r("--spacing-xs")}; 8991 padding: 0; 8992 } 8993`,c$=c` 8994 ${P} { 8995 margin-inline-end: calc(50% - 50vw); 8996 position: relative; 8997 max-width: unset; 8998 } 8999`,d$=c` 9000 display: flex; 9001 overflow: hidden; 9002 position: relative; 9003 scroll-behavior: smooth; 9004 width: 100%; 9005 z-index: ${De.BUTTON}; 9006 9007 ${P} { 9008 overflow-x: auto; 9009 padding-inline-start: 0; 9010 9011 &::-webkit-scrollbar {
9012 display: none; 9013 } 9014 } 9015`,u$=c` 9016 padding-inline-end: ${r("--spacing-xl")}; 9017`,y$=c` 9018 align-items: center; 9019 display: flex; 9020 flex: 1; 9021 gap: ${r("--spacing-xl")}; 9022 list-style: none; 9023 margin: 0; 9024 padding: 0; 9025 9026 ${P} { 9027 border-bottom: 1px ${r("--tabs-underline-color")} solid; 9028 justify-content: start; 9029 } 9030`,m$=c` 9031 justify-content: center; 9032`,g$=c` 9033 justify-content: flex-start; 9034`,kX=c` 9035 &::after { 9036 bottom: 0px; 9037 content: ''; 9038 position: absolute; 9039 transition: all 0.15s ease; 9040 visibility: hidden; 9041 width: 100%; 9042 text-align: left; 9043 margin-left: 0; 9044 height: 0px; 9045 border-top: 5px solid; 9046 border-radius: ${r("--action-indicator-border-radius")}; 9047 margin-bottom: -5px; 9048 color: ${r("--tabs-item-color")}; 9049 } 9050 9051 &.active::after { 9052 visibility: visible; 9053 color: ${r("--tabs-indicator-active-color")}; 9054 } 9055 9056 &:hover::after { 9057 transform: translateY(${r("--tabs-indicator-transform-size")}); 9058 visibility: visible; 9059 color: ${r("--tabs-indicator-hover-color")}; 9060 } 9061`,MX=c` 9062 &::after { 9063 transform: translateY(${r("--tabs-indicator-transform-size")}); 9064 visibility: visible; 9065 color: ${r("--tabs-indicator-active-color")}; 9066 } 9067 &:hover::after { 9068 color: ${r("--tabs-indicator-active-color")}; 9069 } 9070`,f$=c` 9071 align-items: center; 9072 cursor: pointer; 9073 color: ${r("--tabs-item-color")}; 9074 display: flex; 9075 9076 :hover { 9077 color: ${r("--tabs-item-hover-color")}; 9078 } 9079 9080 position: relative; 9081 text-decoration: none; 9082 justify-content: center; 9083 white-space: nowrap; 9084 user-select: none; 9085 9086 ${P} { 9087 font-size: ${r("--action-mobile-font-size")}; 9088 font-weight: ${r("--action-mobile-font-weight")}; 9089 } 9090 9091 ${V} { 9092 font-size: ${r("--action-desktop-font-size")}; 9093 font-weight: ${r("--action-desktop-font-weight")}; 9094 } 9095 9096 line-height: ${r("--spacing-xxxxl")}; 9097 9098 ${kX} 9099`,b$=c` 9100 color: ${r("--tabs-item-active-color")}; 9101 9102 &:hover { 9103 color: ${r("--tabs-item-active-color")}; 9104 } 9105 9106 ${MX} 9107`,tPe=c` 9108 z-index: ${De.NAVIGATOR_BUTTON}; 9109 width: 100%; 9110 ${P} { 9111 width: calc(100% - ${r("--spacing-xl")}px); 9112 } 9113 height: 16px; 9114 position: relative; 9115 margin-top: -${r("--spacing-xs")}; 9116 background-color: ${r("--bg-color")}; 9117`;var mC=({direction:e,onClick:t,isDisabled:o})=>i("button",{disabled:o,className:i$,onClick:t,children:i(we,{name:e==="Left"?"chevron-left":"chevron-right",size:22})});var Jy=({items:e,className:t,selectTab:o,selectedTab:n})=>{K("sdsm-tab");let a=(0,zo.useRef)(null),s=(0,zo.useRef)(null),l=(0,zo.useRef)(null),[p,d]=(0,zo.useState)(!1),[u,y]=(0,zo.useState)(0),[m,g]=(0,zo.useState)(!1),{width:f}=mn(),b=(0,zo.useCallback)(B=>{if(s.current){let L=s.current.children[B];L&&L.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"})}},[]),S=(0,zo.useCallback)(B=>{if(a.current){let L=u+B;a.current.scrollLeft=L}},[u]),C=0,I=0;l.current&&a.current?.parentElement&&(C=a.current.parentElement.scrollWidth-l.current.scrollWidth,I=a.current.scrollWidth);let k=(0,zo.useCallback)(B=>{p?(B==="Left"&&-u+C<I&&S(Math.min(-C,-u)),B==="Right"&&u<0&&S(Math.max(C,u))):(B==="Left"&&u>0&&S(Math.max(-C,-u)),B==="Right"&&u+C<I&&S(Math.min(C,I-(u+C))))},[p,C,S,u,I]);Lr(()=>{let B=0,L=0,H=0;d(!!a?.current?.closest('[dir="rtl"]')),a.current?.parentElement&&(B=a.current.parentElement.scrollWidth,L=a.current.scrollWidth),l.current&&(H=l.current.scrollWidth);let z=B-H;L>z?g(!0):g(!1)},[f,e]);let w=Yo()===at.Mobile,[_,D]=(0,zo.useState)(0);(0,zo.useEffect)(()=>{let B=a?.current;if(!B)return;let L=()=>{D(Math.ceil(a?.current?.scrollLeft??0))},H=()=>{D(Math.ceil(a?.current?.scrollLeft??0)),y(Math.ceil(a?.current?.scrollLeft??0))};return B.addEventListener("touchmove",L,{passive:!1}),B.addEventListener("scroll",H,{passive:!1}),()=>{B.removeEventListener("touchmove",L),B.removeEventListener("scroll",H)}},[a]);let M=!1,A=!1;p?(M=u<=-I+C,A=u===0):(M=u===0,A=u>=I-C);let N=!1,$=!1;return p?w?(N=Math.ceil(-_)<I-C,$=_<0):(N=-u<=I-C,$=u<0):w?(N=_>0,$=_<I-C):(N=u>0,$=u<I-C),x("nav",{className:h("sdsm-tabs-item",p$,{[c$]:w&&m}),children:[N&&m&&i("div",{className:s$}),i("div",{ref:a,className:h(d$,{[u$]:w&&m}),children:i("ul",{ref:s,className:h(y$,{[g$]:m,[m$]:!m}),role:"tablist",children:e?.map((B,L)=>{let H=n===L;return i("li",{role:"tab",tabIndex:0,"aria-current":H,id:`tab-${L}`,className:h(f$,{[b$]:H},t),onClick:()=>{o(L),b(L)},onKeyUp:()=>{o(L),b(L)},children:B.text},`tabItem-${L}`)})})}),$&&m&&i("div",{className:l$}),m&&x("div",{ref:l,className:a$,children:[i(mC,{direction:"Left",onClick:()=>{k("Left")},isDisabled:M}),i(mC,{direction:"Right",onClick:()=>{k("Right")},isDisabled:A})]})]})};var js=T(E());var AX={1:$u,2:Lu,3:Hu},S$=({items:e,selectedTab:t})=>i("div",{className:r$,children:e.map((o,n)=>i("div",{role:"tabpanel",className:h(Bu,AX[o.maxColumns??3]),style:t!==n?{display:"none"}:void 0,children:o.content.map(a=>a)},`tabPanel-${n}`))});var h$=({items:e,defaultSelectedTab:t=0,onSelectTab:o})=>{let[n,a]=(0,js.useState)(t),s=(0,js.useRef)([]);K("sdsm-tab");let l=(0,js.useCallback)(p=>{a(p),o?.(p),s.current.forEach(d=>d?.())},[a,o]);return!e||e.length<2?null:i(Ss.Provider,{value:{addOnTabChangeListener(p){s.current.push(p)},removeOnTabChangeListener(p){s.current=s.current.filter(d=>d!==p)}},children:x("div",{className:"sdsm-tab","data-testid":"sdsm-tabs",children:[i(Jy,{items:e,selectTab:l,selectedTab:n}),i(S$,{items:e,selectedTab:n})]})})};var hr={Small:"Small",Medium:"Medium",Large:"Large"},Un={Contain:"Contain",Cover:"Cover"};var rc=29,em=rc+12,tm=28,TX=284,C$=260,x$=461,om=419,Zy=TX,gC=12+x$+em+4*tm,ac={[hr.Small]:Math.floor(Zy/2),[hr.Medium]:Zy,[hr.Large]:x$},ic=cb(ac,e=>gC-e-em),PPe=cb(ic,e=>Math.floor(e/tm)),NPe=32;var nm=T(E());var v$=c` 9118 text-decoration: none; 9119`,I$=c` 9120 display: flex; 9121 flex-direction: column; 9122 width: ${Zy}px; 9123 height: ${gC}px; 9124 border-radius: ${r("--spacing-xxs")};
9125 box-shadow: ${r("--box-shadow-m")}; 9126 background-color: ${r("--tile-bg-color")}; 9127 9128 *[dir='rtl'] & { 9129 text-align: right; 9130 } 9131 9132 &:hover { 9133 box-shadow: ${r("--box-shadow-l")}; 9134 } 9135`,k$=({imageSource:e,imageHeight:t,imageFit:o,imagePadding:n})=>c` 9136 background-position: center; 9137 background-repeat: no-repeat; 9138 background-image: url(${e}); 9139 height: ${n?t-12:t}px; 9140 margin-top: ${n?12:0}px; 9141 margin-left: ${n?24:0}px; 9142 margin-right: ${n?24:0}px; 9143 background-size: ${o===Un.Cover?"cover":"contain"}; 9144 border-radius: ${n?4:0}px; 9145 /* do the top corners of the image no matter what */ 9146 border-top-left-radius: ${r("--spacing-xxs")}; 9147 border-top-right-radius: ${r("--spacing-xxs")}; 9148 `,M$=c` 9149 font-size: 18px; 9150 line-height: ${rc}px; 9151 font-weight: normal; 9152 margin-bottom: ${r("--spacing-s")}; 9153`,A$=c` 9154 padding-left: ${r("--spacing-l")}; 9155 padding-right: ${r("--spacing-l")}; 9156 padding-top: ${r("--spacing-s")}; 9157 padding-bottom: ${r("--spacing-s")}; 9158 color: ${r("--tile-fg-color")}; 9159 display: flex; 9160 flex-direction: column; 9161 flex-grow: 1; 9162`,T$=c` 9163 ${uo} 9164 9165 /* stylelint-disable-next-line value-no-vendor-prefix */ 9166 display: -webkit-box; 9167 -webkit-box-orient: vertical; 9168 9169 text-overflow: ellipsis; 9170 overflow: hidden; 9171`,_$=({imageSource:e,imageHeight:t,imageFit:o,imagePadding:n})=>c` 9172 background-position: center; 9173 background-repeat: no-repeat; 9174 background-image: url(${e}); 9175 height: ${t}px; 9176 margin-top: 0; 9177 margin-left: ${n?12:0}px; 9178 margin-right: ${n?12:0}px; 9179 background-size: ${o===Un.Cover?"cover":"contain"}px; 9180 border-radius: ${r("--spacing-xs")}; 9181 box-shadow: ${r("--box-shadow-l")}; 9182 /* For node > picture > img */ 9183 img { 9184 border-radius: ${r("--spacing-xs")}; 9185 } 9186 `,w$=({imageHeight:e,imageFit:t,imagePadding:o})=>c` 9187 height: ${e}px; 9188 margin-top: 0; 9189 margin-left: ${o?12:0}; 9190 margin-right: ${o?12:0}; 9191 background-size: ${t===Un.Cover?"cover":"contain"}; 9192 border-radius: ${r("--spacing-xs")}; 9193 box-shadow: ${r("--box-shadow-l")}; 9194 9195 > div { 9196 margin: 0; 9197 } 9198 9199 video { 9200 height: ${e}px; 9201 width: 100%; 9202 } 9203 9204 ${P} { 9205 video { 9206 width: ${C$}px; 9207 } 9208 } 9209 `,D$=c` 9210 display: flex; 9211 flex-direction: column; 9212 border-radius: ${r("--spacing-xxs")}; 9213 background-color: transparent; 9214 align-items: center; 9215`,P$=c` 9216 width: 56px; 9217 height: 56px; 9218 margin: 16px auto 0 auto; 9219`,N$=c` 9220 /* Note: Not using --tile-fg-color here because it has no background. */ 9221 color: ${r("--fg-color")}; 9222 display: flex; 9223 flex-direction: column; 9224 flex-grow: 1; 9225 align-items: center; 9226 margin-top: 16px; 9227`,E$=c` 9228 ${uo} 9229 text-align: center; 9230 padding-left: ${r("--spacing-s")}; 9231 padding-right: ${r("--spacing-s")}; 9232`,R$=c` 9233 ${Ue} 9234 text-align: center; 9235 padding-left: ${r("--spacing-s")}; 9236 padding-right: ${r("--spacing-s")}; 9237`,fC=c` 9238 width: 100%; 9239 height: 100%; 9240 object-position: center; 9241`,bC=c` 9242 object-fit: cover; 9243`,SC=c` 9244 object-fit: contain; 9245`,hC=c` 9246 background-image: none; 9247`,F$=c` 9248 cursor: pointer; 9249`;var CC=({imageSize:e,label:t})=>{let o=ic[e];return t?o:o+em},B$=({imageSize:e,label:t})=>{let o=CC({imageSize:e,label:t});return Math.floor(o/tm)};var xC=({className:e,title:t,imageSource:o,videoSource:n,iconImageSource:a,label:s,onClick:l,imageSize:p=hr.Large,imageFit:d=Un.Cover,imagePadding:u=!1,link:y,tilesLayout:m,isRTL:g,iconImgSrcs:f,iconAltText:b,imgSrcs:S,imgAltText:C})=>{K("sdsm-tile");let{Anchor:I}=(0,nm.useContext)(Le),k=g?"rtl":void 0,v=(0,nm.useCallback)($=>{y&&l&&l(y,$)},[y,l]),w=ac[p],_=k$({imageSource:o,imageFit:d,imageHeight:w,imagePadding:u}),D=_$({imageSource:o,imageFit:d,imageHeight:om,imagePadding:u}),M=w$({imageFit:d,imageHeight:om,imagePadding:u}),A=x("div",{"data-testid":"sdsm-tile-default-inner",className:h("sdsm-tile",{[F$]:!!l},I$,e),onClick:y?void 0:v,dir:k,children:[(o||S)&&i("div",{"data-testid":"sdsm-tile-image",className:h(_,S?hC:void 0),children:S&&i(Ze,{altText:C,imgSrcs:S,imgClassName:h(fC,d===Un.Cover?bC:SC)})}),(t||s)&&x("div",{"data-testid":"sdsm-tile-text",className:h(A$,c` 9250 height: ${ic[p]+rc}px; 9251 `),children:[s&&i("div",{className:M$,children:s}),i("div",{className:T$,style:{WebkitLineClamp:B$({imageSize:p,label:s}),maxHeight:CC({imageSize:p,label:s})},children:t})]})]}),N=x("div",{"data-testid":"sdsm-tile-alternate-inner",className:h("sdsm-tile",D$,e),onClick:y?void 0:v,dir:k,children:[(o||S)&&i("div",{"data-testid":"sdsm-tile-alternate-image",className:h(D,S?hC:void 0),children:S&&i(Ze,{altText:C,imgSrcs:S,imgClassName:h(fC,d===Un.Cover?bC:SC)})}),!o&&n&&i("div",{"data-testid":"sdsm-tile-alternate-video",className:M,children:i(Ke,{showVideoControls:!1,videoSource:n,maxHeight:om,isBackgroun
9251dVideo:!0})}),(a||f)&&i(Ze,{altText:b,imgSrcs:f,imgClassName:P$,defaultSrc:a}),(t||s)&&x("div",{"data-testid":"sdsm-tile-alternate-text",className:N$,children:[t&&i("div",{className:E$,children:t}),s&&i("div",{className:R$,children:s})]})]});return y?i(I,{"data-testid":"sdsm-tile-click-handler",href:y,className:v$,onClick:v,children:m?N:A}):m?N:A};xC.displayName="Tile";var vC=c` 9252 align-items: center; 9253 background-color: ${r("--topic-bg-color")}; 9254 border: ${r("--topic-border-width")} solid ${r("--topic-border-color")}; 9255 border-radius: ${r("--topic-border-radius")}; 9256 color: ${r("--fg-color")}; 9257 display: flex; 9258 font-family: ${r("--font-family")}; 9259 font-size: ${r("--topic-font-size")}; 9260 font-weight: ${r("--topic-font-weight")}; 9261 justify-content: center; 9262 line-height: ${r("--topic-font-line-height")}; 9263 padding: ${r("--topic-padding")}; 9264 text-align: center; 9265 text-decoration: none; 9266 text-transform: capitalize; 9267 white-space: nowrap; 9268`,$$=c` 9269 transition: background-color 0.2s linear; 9270 9271 &:hover { 9272 background-color: ${r("--topic-hover-bg-color")}; 9273 } 9274`;var L$=e=>{K("sdsm-topic");let{displayText:t,url:o}=e;return t?o?i(Dd,{className:h("sdsm-topic",vC,$$),href:o,"data-testid":"sdsm-topic",children:t}):i("span",{className:h("sdsm-topic",vC),"data-testid":"sdsm-topic",children:t}):null};var H$=c` 9275 background-color: ${tr}; 9276 border-radius: ${r("--chart-skeleton-border-radius")}; 9277 display: flex; 9278 justify-content: center; 9279 padding: 20px; 9280 9281 ${yn} { 9282 padding: ${r("--spacing-xxl")}; 9283 } 9284`,V$=c` 9285 background-color: ${r("--chart-skeleton-bg-color")}; 9286 border-radius: ${r("--chart-skeleton-border-radius")}; 9287 overflow: hidden; 9288 position: relative; 9289 width: 100%; 9290 9291 ${yn} { 9292 margin: 0px 112px; 9293 } 9294`,O$=c` 9295 height: 100%; 9296 width: 100%; 9297`,G$=c` 9298 fill: url('#shimmerGradient'); 9299 mask: url('#shimmerMask'); 9300`,Wn=c` 9301 fill: ${r("--chart-skeleton-mask-color")}; 9302`,IC=c` 9303 stop-color: ${r("--chart-skeleton-dark-animation-color")}; 9304`,z$=c` 9305 stop-color: ${r("--chart-skeleton-light-animation-color")}; 9306`;var U$="2s",Do=()=>(K("sdsm-skeleton-chart"),i("article",{className:h("sdsm-skeleton-chart",H$),children:i("div",{className:V$,children:x("svg",{viewBox:"0 0 664 328",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:O$,children:[x("defs",{children:[x("linearGradient",{id:"shimmerGradient",x1:"0",y1:"0",x2:"1",y2:"0",children:[i("stop",{className:IC,offset:"0%",strokeOpacity:1}),i("stop",{className:z$,offset:"50%",strokeOpacity:1}),i("stop",{className:IC,offset:"100%",strokeOpacity:1}),i("animate",{attributeName:"x1",values:"-100%;100%",dur:U$,repeatCount:"indefinite"}),i("animate",{attributeName:"x2",values:"0%;200%",dur:U$,repeatCount:"indefinite"})]}),x("mask",{id:"shimmerMask",children:[i("rect",{className:Wn,height:"11.0865",rx:"5.54325",width:"31.4118",x:"36.955",y:"60.0518"}),i("rect",{className:Wn,height:"11.0865",rx:"5.54325",width:"31.4118",x:"36.955",y:"113.944"}),i("rect",{className:Wn,height:"11.0865",rx:"5.54325",width:"31.4118",x:"36.955",y:"167.838"}),i("rect",{className:Wn,height:"11.0865",rx:"5.54325",width:"31.4118",x:"36.955",y:"221.73"}),i("path",{className:Wn,clipRule:"evenodd",d:`M609.376 62.2274C613.179 65.7331 613.232 71.466 609.493 75.0322L484.305 194.434C479.871 198.663 9307 472.912 199.467 467.516 196.374L472.552 188.649L467.516 196.374L347.249 127.445L229.404 229.841C225.443 9308 233.282 219.686 234.2 214.734 232.18L218.588 223.877L214.734 232.18L98.1939 184.629C93.3034 182.634 9309 91.0641 177.299 93.1923 172.714C95.3205 168.128 101.01 166.029 105.901 168.024L219.015 214.177L337.294 9310 111.404C341.761 107.523 348.434 106.899 353.63 109.877L348.593 117.603L353.63 109.877L473.715 9311 178.703L595.719 62.3369C599.458 58.7707 605.573 58.7217 609.376 62.2274ZM470.541 181.73C470.538 9312 181.733 470.535 181.736 470.532 181.739L474.608 185.495L470.532 181.739L470.541 181.73Z`,fillRule:"evenodd"}),i("rect",{className:Wn,height:"11.0865",rx:"5.54325",width:"36.955",x:"77.6056",y:"265.152"}),i("rect",{className:Wn,height:"11.0865",rx:"5.54325",width:"36.955",x:"205.727",y:"265.152"}),i("rect",{className:Wn,height:"11.0865",rx:"5.54325",width:"36.955",x:"333.848",y:"265.152"}),i("rect",{className:Wn,height:"11.0865",rx:"5.54325",width:"36.955",x:"461.969",y:"265.152"}),i("rect",{className:Wn,height:"11.0865",rx:"5.54325",width:"36.955",x:"590.09",y:"265.152"})]})]}),i("rect",{x:"0",y:"0",width:"100%",height:"100%",className:G$})]})})}));var rm=T(E());var W$=({children:e,active:t,onClick:o})=>{let n=h(qP,t&&jS);return i("button",{role:"tab",onClick:o,className:n,children:e})};var q$=({items:e,selectedChart:t,selectChart:o})=>{let n=s=>{t!==s&&o(s)},a=h(zP,qS);return i("div",{className:a,children:i("nav",{className:UP,role:"tablist",children:e.map(({title:s},l)=>i(W$,{active:t===l,onClick:()=>n(l),children:s},`chart-button-${l}`))})})};var Q$=({items:e,selectedChart:t})=>i("div",{className:WP,role:"tabpanel",children:e.map(({content:o},n)=>t===n&&i("div",{className:QP,children:o},n))});var K$=({items:e})=>{let[t,o]=(0,rm.useState)(0);return K("sdsm-chart-toggle"),(0,rm.useEffect)(()=>{let{onToggle:n}=e[t];n?.()},[e,t]),e?.length?x("section",{className:"sdsm-chart-toggle",children:[i(q$,{items:e,selectedChart:t,selectChart:o}),i(Q$,{items:e,selectedChart:t})]}):null};var j$=({items:e,selectedChart:t})=>i(se,{children:e.map(({content:o},n)=>t===n.toString()&&o)});var am=T(E());var Y$=({label:e,items:t,selectedChart:o,selectChart:n})=>{let a=l=>{o!==l.id&&n(l.id)},s=t.map((l,p)=>({id:p.toString(),title:l.title,isSelected:p.toString()===o}));return x("div",{className:h(QS,jP,{[YP]:!e}),children:[e&&i("label",{children:e}),i(is,{items:s,selectedItemId:o,onItemSelect:a})]})};var X$=({items:e,label:t,isLoading:o})=>{let[n,a]=(0,am.useState)("0");return K("sdsm-chart-toggle"),(0,am.useEffect)(()=>
9312{if(!e?.length)return;let{onToggle:s}=e[Number(n)];s?.()},[e,n]),o?i(o2,{}):e?.length?x(se,{children:[i(Y$,{label:t,items:e,selectedChart:n,selectChart:a}),i(j$,{items:e,selectedChart:n})]}):null};var J$=({children:e})=>i("section",{className:h("sdsm-chart-toggle",KP),children:e});var Z$=T(Sa());var im=({document:e})=>typeof e=="string"?i(se,{children:e}):i(se,{children:(0,Z$.documentToPlainTextString)(e)});im.displayName="PlainRichText";function _X(e){return e&&e.length?e[0]:void 0}var Ga=_X;function wX(e){return e===void 0}var kC=wX;hk();function DX(e,t,o,n){if(!Zl(e))return e;t=ss(t,e);for(var a=-1,s=t.length,l=s-1,p=e;p!=null&&++a<s;){var d=ba(t[a]),u=o;if(d==="__proto__"||d==="constructor"||d==="prototype")return e;if(a!=l){var y=p[d];u=n?n(y,d,p):void 0,u===void 0&&(u=Zl(y)?y:bd(t[a+1])?[]:{})}Ck(p,d,u),p=p[d]}return e}var e5=DX;function PX(e,t,o){for(var n=-1,a=t.length,s={};++n<a;){var l=t[n],p=ls(e,l);o(p,l)&&e5(s,ss(l,e),p)}return s}var sm=PX;function NX(e,t){if(e==null)return{};var o=Id(_k(e),function(n){return[n]});return t=Jo(t),sm(e,o,function(n,a){return t(n,a[0])})}var t5=NX;var Ut=T(E());var o5=T(E()),Cr=(0,o5.createContext)({isPreview:!1,isSSR:!1,currentLocale:"en-US"});var n5=T(E());var sc=({component:e})=>(console.error(`${e} not implemented! This must be specified via DesignSystemContext.`),null),hn=(0,n5.createContext)({buttonComponent:()=>i(sc,{component:"buttonComponent"}),localeDropdownComponent:()=>i(sc,{component:"localeDropdownComponent"}),modalComponent:()=>i(sc,{component:"modalComponent"}),sectionComponent:()=>i(sc,{component:"sectionComponent"}),toggleComponent:()=>i(sc,{component:"toggleComponent"})});var lm={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"CookieModalQuery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"preview"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"locale"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"cookieModalCollection"},arguments:[{kind:"Argument",name:{kind:"Name",value:"preview"},value:{kind:"Variable",name:{kind:"Name",value:"preview"}}},{kind:"Argument",name:{kind:"Name",value:"locale"},value:{kind:"Variable",name:{kind:"Name",value:"locale"}}},{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"IntValue",value:"1"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"items"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"CookieModalAll"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"TrackingCookieAll"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"TrackingCookie"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sys"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"provider"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"json"}}]}},{kind:"Field",name:{kind:"Name",value:"domains"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"json"}}]}},{kind:"Field",name:{kind:"Name",value:"purpose"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"json"}}]}},{kind:"Field",name:{kind:"Name",value:"expiration"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"json"}}]}},{kind:"Field",name:{kind:"Name",value:"pattern"}},{kind:"Field",name:{kind:"Name",value:"subDomains"}},{kind:"Field",name:{kind:"Name",value:"path"}},{kind:"Field",name:{kind:"Name",value:"secure"}},{kind:"Field",name:{kind:"Name",value:"sameSite"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"CookieCategoryAll"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CookieCategory"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sys"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"description"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"json"}}]}},{kind:"Field",name:{kind:"Name",value:"categoryCookieName"}},{kind:"Field",name:{kind:"Name",value:"displayMode"}},{kind:"Field",name:{kind:"Name",value:"isEssential"}},{kind:"Field",name:{kind:"Name",value:"enableToggle"}},{kind:"Field",name:{kind:"Name",value:"cookiesCollection"},arguments:[{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"IntValue",value:"200"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"items"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"TrackingCookieAll"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"CookieModalAll"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CookieModal"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sys"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"landingScreenTitle"}},{kind:"Field",name:{kind:"Name",value:"content"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"json"}}]}},{kind:"Field",name:{kind:"Name",value:"acceptAllButtonText"}},{kind:"Field",name:{kind:"Name",value:"essentialOnlyButtonText"}},{kind:"Field",name:{kind:"Name",value:"settingsButtonText"}},{kind:"Field",name:{kind:"Name",value:"settingsScreenTitle"}},{kind:"Field",name:{kind:"Name",value:"cookieCategoriesCollection"},arguments:[{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"IntValue",value:"10"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"items"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"CookieCategoryAll"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"acceptSelectedButtonText"}},{kind:"Field",name:{kind:"Name",value:"saveChangesText"}},{kind:"Field",name:{kind:"Name",value:"changesSavedText"}},{kind:"Field",name:{kind:"Name",value:"toggleEnabledText"}},{kind:"Field",name:{kind:"Name",value:"toggleDisabledText"}},{kind:"Field",name:{kind:"Name",value:"gpcLocations"}},{kind:"Field",name:{kind:"Name",value:"enableCookieDeletion"}}]}}]};var MC=new Set(["localhost","sc-corp.net","appspot.com"]),za=class{constructor(t,o){Te(this,"client");Te(this,"initializeClient",(t,o)=>{let n=new $d,a=this.getGrapheneFlavor(o),s=this.getGrapheneFriendlyString(o),l=V0({partitionName:t,flavor:a,variant:s});return n.initialize({networkHandler:new Bd(l),debugMode:!1,logTimeInterval:5e3}),n});Te(this,"getGrapheneFlavor",t=>{let o=ha(t);return MC.has(o)?"development":"production"});Te(this,"getGrapheneFriendlyString",t=>{if(!t)return"Unknown";let o=/[\s.]+/g;return t.replace(o,"_")}
9312);Te(this,"logMetric",(t,o)=>{this.client.increment({metricsName:t,dimensions:o})});Te(this,"logError",(t,o,n)=>{let a={description:this.getGrapheneFriendlyString(o),error:this.getGrapheneFriendlyString(n.name)};this.client.increment({metricsName:`error_${t}`,dimensions:a})});this.client=this.initializeClient(t,o)}};var pm=e=>{let t={};for(let o of e){let{categoryCookieName:n}=o;t[n]=!0}return t},lc=e=>{let t={};for(let o of e){let{categoryCookieName:n,isEssential:a}=o;t[n]=a}return t},cm=(e,t)=>({...lc(e),...t});var r5=e=>{let t=ro.get(),o=new Set,n=[];for(let[s,l]of e)for(let{name:p,regex:d}of l)d?n.push(d):o.add(p);let a=[];for(let s in t)o.has(s)||n.some(l=>l.test(s))||a.push(s);return a};var EX=(e,t)=>{let{sys:o,name:n,pattern:a,subDomains:s,path:l,secure:p,sameSite:d}=t,u={id:o.id,name:n};return a&&(u.regex=new RegExp(a)),s?.includes(e)&&(u.domain=""),l&&(u.path=l),p&&(u.secure=!0),d&&(u.sameSite=d),u},dm=e=>{let t=new Map,o=(window?.location?.hostname??"").toLowerCase();for(let n of e){let a=new Set,s=n.categoryCookieName;for(let l of n.cookiesCollection.items){let p=EX(o,l);a.add(p)}t.set(s,a)}return t};var RX="https://www.snapchat.com/cookies/api/is_cookie_popup_eligible",a5=async()=>{let e=await fetch(RX);if(e.status!==200){let{status:o,statusText:n}=e;throw new Error(`${o} : ${n}`)}return(await e.json()).popupEnabled};var FX="https://www.snapchat.com/cookies/api/user_location",um=async()=>{let e=await fetch(FX);if(e.status!==200){let{status:a,statusText:s}=e;throw new Error(`${a} : ${s}`)}let t=await e.json(),o=t.country,n=t.region;return`${o}-${n}`};var BX=e=>ro.get(e),ym=e=>{let t={};for(let o of e){let{categoryCookieName:n}=o,a=BX(n);a&&(t[n]=a==="true")}return t};var mm=e=>{let t=e||(window?.location?.hostname??"").toLowerCase();return ha(t)};var $X=(e,t,o,n)=>{let a={domain:e.domain??t,path:e.path,secure:e.secure,sameSite:e.sameSite};if(e.regex)for(let s of Object.keys(o))e.regex.test(s)&&(ro.remove(s,a),n[s]={value:o[s]??""});else e.name in o&&(ro.remove(e.name,a),n[e.name]={value:o[e.name]??""})},LX=(e,t,o,n,a)=>{if(t==="sc-cookies-accepted")return;let s=n.get(t);if(s)for(let l of s)$X(l,e,o,a)},gm=(e,t,o,n=!1)=>{let a=ro.get(),s={};for(let p in t)t[p]||n&&LX(e,p,a,o,s);let l=ro.get();for(let p in s)s[p].wasRemoved=!l[p];return s};var HX=(e,t,o="")=>{ro.set(e,t,{expires:365,secure:!0,domain:o})},fm=(e,t)=>{for(let o in t)HX(o,t[o].toString(),e)};var i5=T(E());var xr=e=>{let{buttonComponent:t}=(0,i5.useContext)(hn);return t(e)};var s5=T(E());var l5=e=>{let{localeDropdownComponent:t}=(0,s5.useContext)(hn);return t(e)};var p5=T(E());var c5=e=>{let{modalComponent:t}=(0,p5.useContext)(hn);return t(e)};var d5=T(E());var u5=e=>{let{sectionComponent:t}=(0,d5.useContext)(hn);return t(e)};var y5=T(E());var m5=e=>{let{toggleComponent:t}=(0,y5.useContext)(hn);return t(e)};var g5=T(E());var AC=class extends g5.Component{constructor(t){super(t);let{partition:o,hostname:n}=t,a=o&&new za(o,n);this.state={hasError:!1,grapheneClient:a}}componentDidCatch(t){this.setState({hasError:!0}),this.state.grapheneClient?.logError(this.props.component,"unhandled",t),this.props.onError&&this.props.onError(t)}render(){let{children:t,renderInstead:o}=this.props,{hasError:n}=this.state;return n?o??null:t}};function bm(e,t,o){let n=e.displayName??"UnknownComponent";return s=>{let l=(window?.location?.hostname??"unknown").toLowerCase(),{onError:p}=s;return i(AC,{hostname:l,partition:t,component:n,onError:p,renderInstead:o,children:i(e,{...s})})}}var T5=T(wC());var _5=T(E());var hm=({document:e,className:t})=>{let{currentLocale:o}=(0,_5.useContext)(Cr),n=a=>{let s=new URL(a);return s.searchParams.has("lang")||s.searchParams.set("lang",o),s.href};return i("div",{"data-testid":"mwp-cookie-rich-text",className:h("contentful-rich-text",t),dangerouslySetInnerHTML:{__html:(0,T5.documentToHtmlString)(e,{renderNode:{hyperlink:a=>{let s=a.content.map(p=>{if(!(!p||p.nodeType!=="text"))return p.value},[]).join("");return`<a href="${n(a.data.uri)}" target="_blank" rel="noopener">${s}</a>`}}})}})};
9312var Cm=({children:e})=>i("div",{className:"modal-footer",children:e});var xm=T(E());var w5=({className:e,width:t,height:o,backgroundType:n="White"})=>{let a=n!=="Black"?"#FFFFFF":void 0,s=n==="Black"?"#FFFFFF":void 0;return i("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 500 500",className:e,width:t,height:o,children:i("g",{id:"Layer_1",children:x("g",{children:[i("g",{children:i("path",{style:{fill:a},d:`M484.6,369.3c-2-6.8-11.9-11.6-11.9-11.6l0,0c-0.9-0.5-1.7-0.9-2.4-1.3c-16.4-7.9-30.8-17.4-43.1-28.2 9313 c-9.8-8.7-18.2-18.2-25-28.4c-8.2-12.4-12.1-22.8-13.8-28.4c-0.9-3.7-0.8-5.1,0-7c0.6-1.6,2.5-3.1,3.4-3.8 9314 c5.5-3.9,14.4-9.7,19.9-13.2c4.7-3.1,8.8-5.7,11.2-7.4c7.7-5.4,12.9-10.8,16-16.7c4-7.6,4.5-16,1.4-24.3 9315 c-4.2-11.1-14.6-17.8-27.8-17.8c-2.9,0-6,0.3-9,1c-7.6,1.6-14.8,4.3-20.8,6.7c-0.4,0.2-0.9-0.2-0.9-0.6 9316 c0.6-14.9,1.3-34.9-0.3-53.9c-1.5-17.2-5-31.7-10.8-44.3c-5.8-12.7-13.4-22.1-19.3-28.9c-5.7-6.5-15.5-16-30.5-24.5 9317 c-21-12-45-18.1-71.1-18.1c-26.1,0-50,6.1-71.1,18.1c-15.8,9-25.9,19.2-30.5,24.5c-5.9,6.8-13.5,16.2-19.3,28.9 9318 c-5.8,12.6-9.3,27.1-10.8,44.3c-1.6,19.1-1,37.5-0.3,53.9c0,0.5-0.5,0.8-0.9,0.6c-6-2.3-13.2-5-20.7-6.7c-3-0.7-6-1-9-1 9319 c-13.2,0-23.6,6.7-27.8,17.8c-3.1,8.3-2.7,16.7,1.4,24.3c3.1,5.9,8.4,11.4,16,16.7c2.4,1.7,6.4,4.3,11.2,7.4 9320 c5.3,3.5,14,9.1,19.5,13c0.7,0.5,3,2.3,3.8,4.1c0.8,2,0.9,3.4-0.1,7.3c-1.7,5.7-5.6,15.9-13.7,28.1c-6.8,10.2-15.2,19.7-25,28.4 9321 C60.5,339,46,348.5,29.7,356.5c-0.8,0.4-1.7,0.8-2.7,1.4l0,0c0,0-9.8,5-11.6,11.4c-2.7,9.5,4.5,18.4,11.9,23.2 9322 c12.1,7.8,26.9,12,35.4,14.3c2.4,0.6,4.5,1.2,6.5,1.8c1.2,0.4,4.3,1.6,5.6,3.3c1.7,2.1,1.9,4.8,2.5,7.8v0c0.9,5,3,11.2,9.2,15.5 9323 c6.8,4.7,15.5,5,26.4,5.5c11.5,0.4,25.8,1,42.1,6.4c7.6,2.5,14.4,6.7,22.4,11.6c16.6,10.2,37.2,22.9,72.5,22.9 9324 c35.3,0,56.1-12.8,72.8-23c7.9-4.8,14.7-9,22.1-11.5c16.3-5.4,30.6-5.9,42.1-6.4c11-0.4,19.6-0.7,26.4-5.5 9325 c6.6-4.6,8.6-11.4,9.4-16.6c0.5-2.5,0.8-4.8,2.3-6.7c1.2-1.6,4.1-2.7,5.4-3.2c2-0.6,4.2-1.2,6.7-1.9c8.6-2.3,19.3-5,32.3-12.4 9326 C485.2,385.6,486.3,374.7,484.6,369.3z`})}),i("path",{style:{fill:s},d:`M498.2,364c-3.5-9.5-10.1-14.5-17.6-18.7c-1.4-0.8-2.7-1.5-3.8-2c-2.2-1.2-4.5-2.3-6.8-3.5 9327 c-23.5-12.5-41.8-28.2-54.6-46.8c-4.3-6.3-7.3-12-9.4-16.6c-1.1-3.1-1-4.9-0.3-6.5c0.6-1.2,2.2-2.5,3-3.1c4-2.7,8.2-5.4,11-7.2 9328 c5-3.3,9-5.8,11.6-7.6c9.6-6.7,16.4-13.9,20.6-21.9c5.9-11.3,6.7-24.2,2.1-36.3c-6.4-16.8-22.3-27.3-41.5-27.3 9329 c-4,0-8,0.4-12.1,1.3c-1.1,0.2-2.1,0.5-3.1,0.7c0.2-11.4-0.1-23.6-1.1-35.6c-3.6-42-18.3-64-33.7-81.6c-6.4-7.3-17.5-18-34.2-27.6 9330 C305.1,10.6,278.8,3.9,250,3.9c-28.7,0-55,6.7-78.3,20c-16.8,9.6-27.9,20.3-34.3,27.6c-15.3,17.5-30,39.6-33.7,81.6 9331 c-1,11.9-1.3,24.1-1.1,35.6c-1-0.3-2.1-0.5-3.1-0.7c-4-0.9-8.1-1.3-12.1-1.3c-19.3,0-35.2,10.4-41.5,27.3 9332 c-4.6,12.1-3.8,25,2.1,36.3c4.2,8,11,15.2,20.6,21.9c2.6,1.8,6.6,4.4,11.6,7.6c2.7,1.8,6.7,4.3,10.6,6.9c0.6,0.4,2.7,1.9,3.4,3.4 9333 c0.8,1.7,0.8,3.5-0.4,6.8c-2.1,4.6-5,10.1-9.2,16.3c-12.4,18.2-30.3,33.6-53,46c-12,6.4-24.6,10.6-29.9,25 9334 c-4,10.9-1.4,23.2,8.8,33.6l0,0c3.3,3.6,7.5,6.8,12.8,9.7c12.4,6.9,23,10.2,31.3,12.5c1.5,0.4,4.8,1.5,6.3,2.8 9335 c3.7,3.2,3.2,8.1,8.1,15.2c3,4.4,6.4,7.4,9.2,9.4c10.3,7.1,21.9,7.6,34.2,8c11.1,0.4,23.7,0.9,38.1,5.7c6,2,12.1,5.8,19.3,10.2 9336 c17.2,10.6,40.8,25,80.2,25c39.4,0,63.1-14.5,80.5-25.2c7.1-4.4,13.3-8.1,19-10c14.4-4.7,27-5.2,38.1-5.7 9337 c12.3-0.5,23.9-0.9,34.2-8c3.2-2.2,7.3-5.9,10.5-11.5c3.5-6,3.4-10.2,6.8-13.2c1.4-1.2,4.3-2.2,5.9-2.7 9338 c8.4-2.3,19.1-5.7,31.7-12.6c5.6-3.1,10-6.5,13.4-10.3c0,0,0.1-0.1,0.1-0.1C499.7,386.6,502.1,374.6,498.2,364z M463.2,382.8 9339 c-21.4,11.8-35.6,10.5-46.6,17.7c-9.4,6-3.8,19.1-10.7,23.8c-8.4,5.8-33.2-0.4-65.1,10.2c-26.4,8.7-43.2,33.8-90.7,33.8 9340 c-47.6,0-64-25-90.7-33.8c-32-10.6-56.8-4.4-65.1-10.2c-6.8-4.7-1.3-17.7-10.7-23.8c-11-7.1-25.3-5.9-46.6-17.7 9341 c-13.6-7.5-5.9-12.2-1.4-14.4c77.4-37.5,89.8-95.4,90.3-99.7c0.7-5.2,1.4-9.3-4.3-14.6c-5.5-5.1-30.1-20.3-36.9-25 9342 c-11.3-7.9-16.2-15.7-12.6-25.4c2.5-6.7,8.8-9.2,15.4-9.2c2,0,4.1,0.2,6.1,0.7c12.4,2.7,24.4,8.9,31.3,10.6c1,0.2,1.8,0.3,2.6,0.3 9343 c3.7,0,5-1.9,4.8-6.1c-0.8-13.5-2.7-39.9-0.6-64.5c2.9-33.9,13.9-50.7,26.9-65.6c6.2-7.1,35.5-38.1,91.6-38.1 9344 c56.2,0,85.3,30.9,91.6,38.1c13,14.9,23.9,31.7,26.9,65.6c2.1,24.6,0.3,51-0.6,64.5c-0.3,4.5,1.1,6.1,4.8,6.1 9345 c0.8,0,1.6-0.1,2.6-0.3c6.9-1.7,19-7.9,31.3-10.6c2-0.4,4.1-0.7,6.1-0.7c6.6,0,12.8,2.5,15.4,9.2c3.7,9.7-1.3,17.5-12.6,25.4 9346 c-6.8,4.7-31.3,19.9-36.9,25c-5.7,5.3-5,9.4-4.3,14.6c0.6,4.4,12.9,62.2,90.3,99.7C469.1,370.6,476.8,375.3,463.2,382.8z`})]})})})};var vm=({backgroundType:e,supportedLocales:t,onLocaleChange:o})=>{let{currentLocale:n}=(0,xm.useContext)(Cr),a=(0,xm.useRef)(null),s=()=>a.current;return x("div",{"data-testid":"mwp-cookie-modal-header",className:"modal-header",ref:a,children:[i("div",{className:"logo-container",children:i(w5,{width:24,height:24,backgroundType:e})}),i("div",{className:"locale-container",children:i(l5,{supportedLocales:t,currentLocale:t[n],onLocaleChange:o,containerProvider:s})})]})};var D5=({backgroundType:e,supportedLocales:t,title:o,content:n,settingsButtonText:a,acceptAllButtonText:s,essentialOnlyButtonText:l,onSettingsbuttonClick:p,onAcceptAllButtonClick:d,onAcceptEssentialButtonClick:u,onLocaleChange:y})=>x("div",{"data-testid":"mwp-cookie-landing-screen",className:"cookie-landing-screen",children:[i(vm,{backgroundType:e,supportedLocales:t,onLocaleChange:y}),x("div",{"data-testid":"mwp-cookie-modal-body",className:"modal-body",children:[i("h2",{className:"cookie-title",children:o}),i(hm,{document:n,className:"landing-content"})]}),x(Cm,{children:[i(xr,{isPrimary:!0,text:l,onClick:u}),i(xr,{isPrimary:!0,text:s,onClick:d}),i(xr,{isPrimary:!1,text:a,onClick:p})]})]});var Im=({title:e,cookieCategories:t,categoriesState:o,updateCategoriesState:n,activeToggleLabel:a,inactiveToggleLabel:s,isModal:l})=>x(se,{children:[i("h2",{className:"cookie-title",children:e}),t.map(p=>{if(l&&p.displayMode==="Settings Only")return null;let d=p.categoryCookieName,u=s;return p.isEssential&&!p.enableToggle&&(u=a),o[d]&&(u=a),i("div",{"data-testid":"mwp-cookie-category-description",children:x("div",{className:"category-border",children:[x("div",{className:"category-title-container",children:[i("h5",{className:"category-title",children:p.title}),i("p",{className:"category-status",children:u}),p.enableToggle===!0&&i("div",{className:"category-toggle",children:i(m5,{id:`${p.sys.id}-slider`,isChecked:!!o[d],onToggle:()=>n(d,!o[d])})})]}),i(hm,{className:"category-description",document:p.description.json})]})},p.sys.id)})]});var P5=({backgroundType:e,supportedLocales:t,onLocaleChange:o,title:n,cookieCategories:a,activeToggleLabel:s,inactiveToggleLabel:l,categoriesState:p,updateCategoriesState:d,acceptAllButtonText:u,essentialOnlyButtonText:y,acceptSelectedButtonText:m,onAcceptAllButtonClick:g,onAcceptEssentialButtonClick:f,onAcceptSelectedButtonClick:b})=>x("div",{"data-testid":"mwp-cookie-modal-settings-screen",className:"cookie-sett
9346ings-screen",children:[i(vm,{backgroundType:e,supportedLocales:t,onLocaleChange:o}),i("div",{className:"modal-body",children:i(Im,{title:n,cookieCategories:a,categoriesState:p,updateCategoriesState:d,activeToggleLabel:s,inactiveToggleLabel:l,isModal:!0})}),x(Cm,{children:[i(xr,{isPrimary:!0,text:y,onClick:f}),i(xr,{isPrimary:!0,text:u,onClick:g}),i(xr,{isPrimary:!0,text:m,onClick:b})]})]});var km="CookieModal",N5=({supportedLocales:e,cookieDomain:t,portalRoot:o,backgroundType:n="White",onLocaleChange:a,onComplete:s,onEvent:l,onGlobalPrivacyControlSet:p,globalPrivacyControl:d,forceVisible:u})=>{let y=(0,Ut.useContext)(Cr),{data:m}=ar(lm,y,{client:y.client}),g=Ga(m?.cookieModalCollection.items),f=g?.gpcLocations,{categorySettings:b,cookieCategoryMap:S,enableCookieDeletion:C}=(0,Ut.useMemo)(()=>{if(!g?.cookieCategoriesCollection?.items?.length)return{categorySettings:void 0,cookieCategoryMap:void 0,enableCookieDeletion:!1};let U=g.cookieCategoriesCollection.items,R=dm(g.cookieCategoriesCollection.items),{enableCookieDeletion:X}=g;return{categorySettings:U,cookieCategoryMap:R,enableCookieDeletion:X}},[g]),I=mm(t),[k,v]=(0,Ut.useState)(),[w,_]=(0,Ut.useState)("Unknown"),[D,M]=(0,Ut.useState)(!1),[A,N]=(0,Ut.useState)({}),$=(U,R)=>{let X=$o(A);X[U]=R,N(X)},[B,L]=(0,Ut.useState)(!1),[H,z]=(0,Ut.useState)("landing"),[j,ue]=(0,Ut.useState)(),ne=!!((window?.navigator?.globalPrivacyControl||d)&&S&&(f?.includes(w)||f?.length===0||!f)),J=(0,Ut.useCallback)(U=>{if(!!MC.has(I))return;let X=r5(U);for(let W of X){let le={cookieName:W,userLocation:w};j?.logMetric("modal_uncategorized_cookie",le)}},[j,I,w]),pe=(0,Ut.useCallback)((U,R)=>{if(!S||!b)return;let W=((ee,be={})=>t5(ee,(q,ce)=>kC(be[ce])||be[ce]!==q))(U,R);fm(I,W);let le=gm(I,U,S,C);for(let ee in le){if(le[ee]?.wasRemoved)continue;let be={cookieName:ee,userLocation:w};j?.logMetric("tracking_cookie_misconfiguration",be)}J(S),s?.({didUserInteract:D,userLocation:w,cookieAcceptance:U,isGlobalPrivacyControlApplied:ne}),M(!1)},[I,S,b,j,D,s,w,M,J,ne,C]);(0,Ut.useEffect)(()=>{let U=window.location.hostname,R=new za(ps.COOKIE_MODAL_COMPONENTS,U);ue(R)},[ue]),(0,Ut.useEffect)(()=>{if(!j)return;(async()=>{try{let R=await a5();v(R)}catch(R){let X=Bt(R);j.logError(km,"shouldDisplayModal",X),v(!0)}})()},[j,v]),(0,Ut.useEffect)(()=>{if(!j)return;(async()=>{try{let R=await um();_(R)}catch(R){let X=Bt(R);j.logError(km,"userLocation",X)}})()},[j,_]),(0,Ut.useEffect)(()=>{if(!b)return;let U=lc(b);N(U)},[b,N]),(0,Ut.useEffect)(()=>{if(kC(k)||!S||!b||B)return;L(!0);let U=ym(b),R=U["sc-cookies-accepted"],X={userLocation:w,cookieDomain:I};if(R){let le={...k?lc(b):pm(b),...U};ne&&U.Marketing?(pe({...le,Marketing:!1},U),p?.(),j?.logMetric("global_privacy_control",X)):pe(le,U);return}if(k)M(!0);else{let W=pm(b);ne?(pe({...W,Marketing:!1}),p?.(),j?.logMetric("global_privacy_control",X)):pe(W)}},[B,k,S,b,L,M,pe,d,w,ne,I,j,p]);let re=()=>{if(!b)return;let U=pm(b);pe(U),Q("accept_all",U)},Q=(U,R)=>{l?.({component:km,action:"Click",label:U});let X={preferences:`${R.Preferences??!1}`,performance:`${R.Performance??!1}`,marketing:`${R.Marketing??!1}`,userLocation:w};j?.logMetric(`${U}_clicks_modal`,X)},Y=()=>{if(!b)return;let U=lc(b);pe(U),Q("accept_essential",U)},Z=()=>{if(!b)return;let U=cm(b,A);pe(U),Q("accept_selected",U)};return g?x(c5,{isDisplayed:u??D,backgroundType:n,portalRoot:o,children:[H==="landing"&&i(D5,{backgroundType:n,supportedLocales:e,title:g.landingScreenTitle,content:g.content.json,settingsButtonText:g.settingsButtonText,onSettingsbuttonClick:()=>z("settings"),acceptAllButtonText:g.acceptAllButtonText,onAcceptAllButtonClick:re,essentialOnlyButtonText:g.essentialOnlyButtonText,onAcceptEssentialButtonClick:Y,onLocaleChange:a}),H==="settings"&&i(P5,{backgroundType:n,supportedLocales:e,title:g.landingScreenTitle,cookieCategories:g.cookieCategoriesCollection.items,activeToggleLabel:g.toggleEnabledText,inactiveToggleLabel:g.toggleDisabledText,categoriesState:A,updateCategoriesState:$,acceptAllButtonText:g.acceptAllButtonText,essentialOnlyButtonText:g.essentialOnlyButtonText,acceptSelectedButtonText:g.acceptSelectedButtonText,onAcceptAllButtonClick:re,onAcceptEssentialButtonClick:Y,onAcceptSelectedButtonClick:Z,onLocaleChange:a})]}):null};N5.displayName=km;var PC=bm(N5,ps.COOKIE_MODAL_COMPONENTS);var yc=({children:e,client:t,...o}
9346)=>{let{isPreview:n=!1,isSSR:a=!1,currentLocale:s="en-US"}=o,l={isPreview:n,isSSR:a,currentLocale:s,client:t},p=i(Cr.Provider,{value:l,children:i(hn.Provider,{value:o,children:e})});if(t)return p;let d=new vd({link:Fd,cache:new xd});return i(ep,{client:d,children:p})};var Uo=T(E());var NC="CookieSettings",E5=({backgroundType:e="White",cookieDomain:t,onSubmit:o,onEvent:n})=>{let a=(0,Uo.useContext)(Cr),{data:s}=ar(lm,a,{client:a.client}),l=Ga(s?.cookieModalCollection.items),{categorySettings:p,cookieCategoryMap:d,enableCookieDeletion:u}=(0,Uo.useMemo)(()=>{if(!l?.cookieCategoriesCollection?.items)return{categorySettings:void 0,cookieCategoryMap:void 0,enableCookieDeletion:!1};let N=l.cookieCategoriesCollection.items,$=dm(l.cookieCategoriesCollection.items),{enableCookieDeletion:B}=l;return{categorySettings:N,cookieCategoryMap:$,enableCookieDeletion:B}},[l]),y=mm(t),[m,g]=(0,Uo.useState)("Unknown"),[f,b]=(0,Uo.useState)({}),S=(N,$)=>{let B=$o(f);B[N]=$,b(B),I("Enabled")},[C,I]=(0,Uo.useState)("Disabled"),k=()=>{I("Saved"),setTimeout(()=>{I("Disabled")},3e3)},[v,w]=(0,Uo.useState)(),_=(0,Uo.useCallback)(N=>{if(!d||!p)return;fm(y,N);let $=gm(y,N,d,u);for(let B in $){if($[B]?.wasRemoved)continue;let L={cookieName:B,userLocation:m};v?.logMetric("tracking_cookie_misconfiguration",L)}},[y,m,d,p,v,u]);(0,Uo.useEffect)(()=>{let N=window.location.hostname,$=new za(ps.COOKIE_MODAL_COMPONENTS,N);w($)},[w]),(0,Uo.useEffect)(()=>{if(!p)return;let N=()=>{let B=ym(p);B["sc-cookies-accepted"]&&(b(B),clearInterval($))},$=setInterval(N,1e3);return N(),()=>clearInterval($)},[p,b]),(0,Uo.useEffect)(()=>{if(!v)return;(async()=>{try{let $=await um();g($)}catch($){let B=Bt($);v.logError(NC,"userLocation",B)}})()},[g,v]);let D=()=>{if(!p)return;let N=cm(p,f);_(N),k(),M("save_changes",N),o?.({userLocation:m,cookieAcceptance:N})},M=(N,$)=>{n?.({component:NC,action:"Click",label:N});let B={preferences:`${$.Preferences??!1}`,performance:`${$.Performance??!1}`,marketing:`${$.Marketing??!1}`,userLocation:m};v?.logMetric(`${N}_clicks_settings`,B)};if(!l)return null;let A={isDisabled:C==="Disabled",isPrimary:C!=="Saved",testId:"mwp-cookie-settings-save-btn",text:C==="Saved"?l.changesSavedText:l.saveChangesText,onClick:D};return x(u5,{backgroundType:e,children:[i("div",{"data-testid":"mwp-cookie-settings-page-body",className:"settings-page-body",children:i(Im,{title:l.settingsScreenTitle,cookieCategories:l.cookieCategoriesCollection.items,categoriesState:f,updateCategoriesState:S,activeToggleLabel:l.toggleEnabledText,inactiveToggleLabel:l.toggleDisabledText})}),i("div",{"data-testid":"mwp-cookie-settings-page-footer",className:"settings-page-footer",children:i(xr,{...A})})]})};E5.displayName=NC;var EC=bm(E5,ps.COOKIE_MODAL_COMPONENTS);var Pm=T(E());var R5=T(E());var Ir="en-US",Js={[Ir]:{code:Ir,name:"English (United States)"}},nJ=e=>{let t=new URL(e,window.location.href);return window.location.hostname!==t.hostname?!1:window.location.pathname!==t.pathname},rJ={currentLocale:Ir,supportedLocales:Js,onError:console.error,isPreview:!1,isSSR:!1,isUrlCurrent:nJ},We=(0,R5.createContext)({onError:e=>console.error(e),currentLocale:Ir,hostname:"unknown",supportedLocales:Js}),RC=({children:e,value:t})=>i(We.Provider,{value:or(rJ,t),children:e});var aJ=(e,t,o)=>{Am({"gtm.start":Date.now(),event:"gtm.js"});let n=e.createElement("script");n.async=!0,n.src=`https://www.googletagmanager.com/gtm.js?id=${t}`,o&&(n.nonce=o),e.head.appendChild(n)},Mm=(e,t)=>{if(e==="")return;let o=F5(e);window[`ga-disable-${o}`]=!t},F5=e=>e.includes("UA-")||e.includes("G-")?e:`UA-${e}`,Am=e=>{window.dataLayer=window.dataLayer??[],window.dataLayer.push(e)},iJ=(e,t,o)=>{window&&(Mm(t,!0),aJ(document,e,o))},sJ=e=>{(window.ga.q=window.ga.q??[]).push(...e)},lJ=e=>{window.GoogleAnalyticsObject="ga",window.ga=window.ga??sJ,window.ga.l=new Date().getTime;let t=document.createElement("script");t.async=!0,t.src="https://www.google-analytics.com/analytics.js",e&&(t.nonce=e),document.head.appendChild(t)},pJ=(e,t=[],o)=>{if(window)if(Mm(e,!0),e.includes("UA-"))lJ(o),ga("create",e,"auto"),t.forEach(n=>{ga("require",n.name,n.options)}),ga("set","anonymizeIp",!0),ga("send","pageview");else{window.dataLayer=window.dataLayer??[];let n=document.createElement("script");
9346n.async=!0,n.src=`https://www.googletagmanager.com/gtag/js?id=${e}`,n.onload=()=>{Am({js:new Date,config:e})},o&&(n.nonce=o),document.head.appendChild(n)}},B5=(e,t,o,n)=>{let a=F5(t);e&&t?iJ(e,a,n):t&&pJ(a,o,n)};var Tm=T(E());var $5="sc-language";var L5=c` 9347 .sdsm-dropdown-button { 9348 font-size: 14px; 9349 line-height: 20px; 9350 } 9351 9352 .${D0} { 9353 max-width: 200%; 9354 } 9355`;var Zs=({currentLocale:e,supportedLocales:t,onLocaleChange:o,className:n,buttonComponent:a})=>{let s=(0,Tm.useContext)(We);e??(e=s.currentLocale),t??(t=s.supportedLocales??Js),o??(o=s.onLocaleChange);let l=Object.values(t),p=(0,Tm.useCallback)(u=>{let y=u.id;ro.get("Preferences")==="true"&&ro.set($5,y,{domain:ha(window.location.host),secure:!0}),s.onEvent?.({action:an.LocaleSelect,component:"LocaleDropdown",label:`Language: ${y}`}),o?.(y)},[s,o]);l.sort((u,y)=>u.code.localeCompare(y.code));let d=l.map(u=>{let y=Ld[u.code]??u.name;return{id:u.code,title:y}});return i(is,{items:d,className:h(L5,n),"data-testid":"gc-locale-language",selectedItemId:e??Ir,onItemSelect:p,buttonComponent:a})};Zs.displayName="LocaleDropdown";var wm=T(E());var dJ=c` 9356 font-family: ${r("--font-family")}; 9357 9358 * { 9359 box-sizing: border-box; 9360 margin: 0; 9361 } 9362`,H5=c` 9363 ${rs} 9364 margin-bottom: ${r("--spacing-m")}; 9365 text-transform: uppercase; 9366`,_m=c` 9367 ${dJ} 9368 9369 /* override site settings that override header behaviors */ 9370 h1,h2,h3,h4,h5,h6 { 9371 font-family: ${r("--font-family")}; 9372 line-height: inherit; 9373 text-transform: initial; 9374 } 9375 9376 /* Ensure consistent rendering of lists */ 9377 ul { 9378 list-style: disc outside; 9379 } 9380`,uJ=c` 9381 .modal-header { 9382 display: flex; 9383 flex-direction: row; 9384 justify-content: space-between; 9385 margin-bottom: ${r("--spacing-xs")}; 9386 9387 .logo-container { 9388 display: flex; 9389 justify-content: center; 9390 flex-direction: column; 9391 opacity: ${r("--cookie-modal-logo-opacity")}; 9392 } 9393 9394 /* Ensure locale dropdown is aligned to the right regardless of logo display */ 9395 .locale-container { 9396 margin-inline-start: auto; 9397 } 9398 } 9399`,yJ=c` 9400 a { 9401 color: inherit; 9402 font-weight: 500; 9403 } 9404 > ul { 9405 padding-left: ${r("--spacing-l")}; 9406 margin-bottom: ${r("--spacing-s")}; 9407 } 9408 > ul > li { 9409 margin-bottom: ${r("--spacing-xxs")}; 9410 } 9411 > p { 9412 margin: 0 0 ${r("--spacing-xxs")}; 9413 } 9414 *[dir='rtl'] & { 9415 > ul { 9416 padding-left: unset; 9417 padding-right: ${r("--spacing-l")}; 9418 } 9419 } 9420`,mJ=c` 9421 .contentful-rich-text { 9422 /* Rich Text Base Styles */ 9423 ${V} { 9424 font-size: ${r("--cookie-modal-rich-text-base-desktop-font-size")}; 9425 font-weight: ${r("--cookie-modal-rich-text-base-desktop-font-weight")}; 9426 line-height: ${r("--cookie-modal-rich-text-base-desktop-font-line-height")}; 9427 font-stretch: ${r("--cookie-modal-rich-text-base-desktop-font-stretch")}; 9428 } 9429 9430 ${P} { 9431 font-size: ${r("--cookie-modal-rich-text-base-mobile-font-size")}; 9432 font-weight: ${r("--cookie-modal-rich-text-base-mobile-font-weight")}; 9433 line-height: ${r("--cookie-modal-rich-text-base-mobile-font-line-height")}; 9434 font-stretch: ${r("--cookie-modal-rich-text-base-mobile-font-stretch")}; 9435 } 9436 9437 /* Rich Text H3 Styles (title) */ 9438 h3 { 9439 ${V} { 9440 font-size: ${r("--cookie-modal-rich-text-title-desktop-font-size")}; 9441 line-height: ${r("--cookie-modal-rich-text-title-desktop-font-line-height")}; 9442 font-weight: ${r("--cookie-modal-rich-text-title-desktop-font-weight")}; 9443 font-stretch: ${r("--cookie-modal-rich-text-title-desktop-font-stretch")}; 9444 } 9445 ${P} { 9446 font-size: ${r("--cookie-modal-rich-text-title-mobile-font-size")}; 9447 line-height: ${r("--cookie-modal-rich-text-title-mobile-font-line-height")}; 9448 font-weight: ${r("--cookie-modal-rich-text-title-mobile-font-weight")}; 9449 font-stretch: ${r("--cookie-modal-rich-text-title-mobile-font-stretch")}; 9450 } 9451 } 9452 9453 ${yJ} 9454 } 9455`,V5=c` 9456 .category-border { 9457 border: ${r("--cookie-settings-category-border-width")} solid 9458 ${r("--cookie-settings-category-border-color")}; 9459 border-radius: ${r("--cookie-settings-category-border-radius")}; 9460 margin-bottom: ${r("--spacing-s")};
9461 padding: ${r("--cookie-settings-category-padding")}; 9462 } 9463 9464 .category-title-container { 9465 align-items: center; 9466 display: flex; 9467 margin-bottom: ${r("--spacing-xs")}; 9468 } 9469 9470 .category-title { 9471 flex: 1; 9472 9473 ${V} { 9474 font-size: ${r("--cookie-settings-category-title-desktop-font-size")}; 9475 font-stretch: ${r("--cookie-settings-category-title-desktop-font-stretch")}; 9476 font-weight: ${r("--cookie-settings-category-title-desktop-font-weight")}; 9477 line-height: ${r("--cookie-settings-category-title-desktop-font-line-height")}; 9478 } 9479 ${P} { 9480 font-size: ${r("--cookie-settings-category-title-mobile-font-size")}; 9481 font-stretch: ${r("--cookie-settings-category-title-mobile-font-stretch")}; 9482 font-weight: ${r("--cookie-settings-category-title-mobile-font-weight")}; 9483 line-height: ${r("--cookie-settings-category-title-mobile-font-line-height")}; 9484 } 9485 9486 *[dir='rtl'] & { 9487 text-align: right; 9488 } 9489 } 9490 9491 .category-status { 9492 font-size: 12px; 9493 margin-right: ${r("--spacing-xs")}; 9494 *[dir='rtl'] & { 9495 margin-right: unset; 9496 margin-left: ${r("--spacing-xs")}; 9497 } 9498 } 9499 9500 .category-toggle { 9501 display: flex; 9502 flex-direction: column; 9503 justify-content: center; 9504 } 9505 9506 /* Rich text base styles first; settings screen styles second for cascade priority */ 9507 ${mJ} 9508 9509 .category-description { 9510 ${V} { 9511 font-size: ${r("--cookie-settings-category-description-desktop-font-size")}; 9512 font-stretch: ${r("--cookie-settings-category-description-desktop-font-stretch")}; 9513 font-weight: ${r("--cookie-settings-category-description-desktop-font-weight")}; 9514 line-height: ${r("--cookie-settings-category-description-desktop-font-line-height")}; 9515 } 9516 ${P} { 9517 font-size: ${r("--cookie-settings-category-description-mobile-font-size")}; 9518 font-stretch: ${r("--cookie-settings-category-description-mobile-font-stretch")}; 9519 font-weight: ${r("--cookie-settings-category-description-mobile-font-weight")}; 9520 line-height: ${r("--cookie-settings-category-description-mobile-font-line-height")}; 9521 } 9522 } 9523`,gJ=c` 9524 .modal-footer { 9525 padding-top: ${r("--spacing-s")}; /* Padding set by design */ 9526 text-align: center; 9527 display: flex; 9528 /* Reverse direction so that when we wrap on smaller screens, the break happens on 1st, rather than last element. 9529 NOTE: requires that content be rendered in reverse order */ 9530 flex-direction: row-reverse; 9531 gap: ${r("--spacing-s")}; 9532 align-self: center; 9533 justify-content: center; 9534 9535 /* Button spacing managed via gap instead of margins */ 9536 .sdsm-button { 9537 margin: 0; 9538 } 9539 9540 ${P} { 9541 flex-wrap: wrap; 9542 width: 100%; 9543 } 9544 9545 ${Ot} { 9546 /* See note above, accounts for content rendered in reverse order. */ 9547 flex-direction: column-reverse; 9548 align-items: center; 9549 } 9550 } 9551`,fJ=c` 9552 .settings-page-footer { 9553 padding-top: ${r("--spacing-xl")}; 9554 display: flex; 9555 flex-direction: row; 9556 gap: ${r("--spacing-s")}; 9557 align-self: center; 9558 justify-content: center; 9559 9560 /* Button spacing managed via gap instead of margins */ 9561 .sdsm-button { 9562 margin: 0; 9563 } 9564 9565 ${Ot} { 9566 padding-top: unset; 9567 flex-direction: column; 9568 } 9569 } 9570`,mc=c` 9571 /* card style. */ 9572 background-color: ${r("--bg-color")}; 9573 border: ${r("--cookie-settings-border-width")} solid ${r("--cookie-modal-border-color")}; 9574 border-radius: ${r("--cookie-modal-border-radius")}; 9575 box-shadow: ${r("--cookie-settings-box-shadow")}; 9576 color: ${r("--fg-color")}; 9577 padding: ${r("--cookie-settings-padding")}; 9578`,O5=c` 9579 --padding-horizontal: ${r("--cookie-modal-desktop-horizontal-padding")}; 9580 --padding-vertical: ${r("--cookie-modal-desktop-vertical-padding")}; 9581 9582 ${P} { 9583 --padding-horizontal: ${r("--cookie-modal-mobile-horizontal-padding")}; 9584 --padding-vertical: ${r("--cookie-modal-mobile-vertical-padding")}; 9585 } 9586 9587 --max-height: calc(100vh - var(--padding-vertical)); 9588 /* stylelint-disable-next-line declaration-block-no-duplicate-custom-properties */ 9589 --max-height: calc(100dvh - var(--padding-vertical)); 9590 9591 .sdsm-modal-content { 9592 ${mc} 9593 border-width: ${r("--cookie-modal-border-width")}; 9594 box-shadow: ${r("--cookie-modal-box-shadow")}; 9595 padding: var(--padding-vertical) var(--padding-horizontal); 9596 width: max-content; 9597 9598 /* stop-gap solution to prevent any part from being hidden */ 9599 overflow: auto; 9600 9601 /* prevents overflow of this container. */ 9602 max-height: 100%; 9603 max-width: 100%; 9604 9605 ${V} {
9606 max-width: ${r("--cookie-settings-max-width")}; 9607 min-width: ${r("--cookie-modal-min-width")}; 9608 } 9609 } 9610 9611 .cookie-landing-screen, 9612 .cookie-settings-screen { 9613 max-height: calc(var(--max-height) - calc(2 * calc(1px + var(--padding-vertical)))); 9614 9615 display: flex; 9616 flex-direction: column; 9617 9618 /* Header Styles */ 9619 ${uJ} 9620 9621 /* Body Styles */ 9622 .modal-body { 9623 flex: 1; 9624 overflow-y: auto; 9625 min-height: 5em; 9626 margin-bottom: ${r("--spacing-xs")}; 9627 padding-right: ${r("--cookie-modal-body-inline-padding")}; 9628 9629 *[dir='rtl'] & { 9630 padding-right: unset; 9631 padding-left: ${r("--cookie-modal-body-inline-padding")}; 9632 } 9633 9634 .cookie-title { 9635 ${H5} 9636 } 9637 9638 h3, 9639 b { 9640 font-weight: 500; 9641 } 9642 9643 ${V5} 9644 } 9645 9646 /* Footer Styles */ 9647 ${gJ} 9648 } 9649`,G5=c` 9650 /* Container Styles */ 9651 justify-self: center; 9652 max-width: ${r("--cookie-settings-max-width")}; 9653 9654 /* Body Styles */ 9655 .settings-page-body { 9656 text-align: left; 9657 9658 .cookie-title { 9659 ${H5} 9660 } 9661 9662 ${V5} 9663 } 9664 9665 /* Footer Styles */ 9666 ${fJ} 9667`;var z5=({backgroundType:e,className:t,children:o,isDisplayed:n,portalRoot:a})=>{K("sdsm-cookie-modal-settings");let s=Yo(),{width:l}=mn(),[p,d]=(0,wm.useState)(Xo.Middle);return(0,wm.useEffect)(()=>{let u=Xo.Middle;s==="Mobile"&&(l??Number.POSITIVE_INFINITY)<=n0&&(u=Xo.Bottom),d(u)},[s,l,d]),i(Vy,{isBlocking:!0,disableBackgroundScroll:!0,verticalAlignment:p,isDisplayed:n,portalRoot:a,className:h("sdsm-cookie-modal-settings",_m,Ne(e),O5,t),contentClassName:h(mc),children:o})};var Dm={buttonComponent:({text:e,isDisabled:t,isPrimary:o,onClick:n})=>{let a=o?Lo.Primary:void 0;return i(Kt,{disabled:t,onClick:n,size:"Compact",type:a,children:e})},localeDropdownComponent:({currentLocale:e,supportedLocales:t,containerProvider:o,onLocaleChange:n})=>i(Zs,{currentLocale:e.code,supportedLocales:t,containerProvider:o,onLocaleChange:n}),modalComponent:({backgroundType:e,children:t,isDisplayed:o,portalRoot:n})=>i(z5,{backgroundType:e,isDisplayed:o,portalRoot:n,children:t}),sectionComponent:({backgroundType:e,children:t})=>i("section",{className:h(mc,Ne(e)),children:t}),toggleComponent:({id:e,isChecked:t,onToggle:o})=>i(L0,{id:e,isChecked:t,onToggle:o??(()=>{})})};var FC=({portalRoot:e,cookieDomain:t,supportedLocales:o,GTMID:n="",GAID:a="",nonce:s,plugins:l,onLocaleChange:p,onComplete:d,preferencesAcceptedCallback:u,performanceAnalyticsCallback:y,marketingAnalyticsCallback:m,backgroundType:g,forceVisible:f,globalPrivacyControl:b,onGlobalPrivacyControlSet:S})=>{(0,Pm.useEffect)(()=>{Mm(a,!1)},[a]);let C=(0,Pm.useContext)(We),{Anchor:I,globalApolloClient:k,currentLocale:v,isPreview:w,isSSR:_,onEvent:D,onError:M}=C;t??(t=C.hostname),o??(o=C.supportedLocales??Js),p??(p=C.onLocaleChange);let A={...Dm,isSSR:_,isPreview:w,currentLocale:v,client:k};return i(rr,{value:{Anchor:I},children:i(yc,{...A,children:i(PC,{...{supportedLocales:o,cookieDomain:t,portalRoot:e,backgroundType:g,onLocaleChange:p,onComplete:L=>{let{cookieAcceptance:H,userLocation:z}=L;Am({userLocation:z}),H.Performance&&B5(n,a,l,s),H.Preferences&&u?.(),H.Performance&&y?.(),H.Marketing&&m?.(),d?.(L)},onEvent:({label:L})=>D?.({component:"CookieModal",label:L,action:"Click"}),onError:M,forceVisible:f,globalPrivacyControl:b,onGlobalPrivacyControlSet:S}})})})};var U5=T(E());var BC=({backgroundType:e,cookieDomain:t,onSubmit:o})=>{K("sdsm-cookie-modal-settings");let n=(0,U5.useContext)(We),{Anchor:a,currentLocale:s,isPreview:l,isSSR:p,onEvent:d,onError:u,globalApolloClient:y}=n;t??(t=n.hostname);let m={...Dm,isSSR:p,isPreview:l,currentLocale:s,client:y},g={backgroundType:e,cookieDomain:t,onSubmit:o,onEvent:d,onError:u};return i(rr,{value:{Anchor:a},children:i("div",{"data-testid":"mwp-cookie-settings",className:h("sdsm-cookie-modal-settings",_m,G5),children:i(yc,{...m,children:i(EC,{...g})})})})};var bJ=Jk(function(e,t,o){return e+(o?"_":"")+t.toLowerCase()}),W5=bJ;var Q5=T(E());var q5={utm_source:"global_footer",utm_medium:"referral",utm_campaign:"universal_navigation",utm_content:"footer_item_link"},$C=e=>{let{id:t,url:o,title:n,analyticsLabel:a,trackingParameters:s}=e,{isUrlCurrent:l,onEvent:p,hostname:d}=(0,Q5.useContext)(We),u=s??(d?{...q5,utm_source:W5(d)}:q5),y=jd(o,u),m=()=>{p?.({action:an.Click,component:"FooterItem",label:a,url:y})};return i(V2,{id:t,isSelected:l?.(o??""),url:y,title:n,onClick:m},t)};var oL=T(E());var K5={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"FooterV3CollectionQuery"}
9667,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"preview"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"locale"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"footerV3Collection"},arguments:[{kind:"Argument",name:{kind:"Name",value:"preview"},value:{kind:"Variable",name:{kind:"Name",value:"preview"}}},{kind:"Argument",name:{kind:"Name",value:"locale"},value:{kind:"Variable",name:{kind:"Name",value:"locale"}}},{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"IntValue",value:"1"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"items"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"FooterV3All"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"AssetAll"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Asset"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sys"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"url"}},{kind:"Field",name:{kind:"Name",value:"contentType"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ImageAll"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Image"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sys"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"media"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AssetAll"}}]}},{kind:"Field",name:{kind:"Name",value:"wrap"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"FooterItemV3All"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FooterItemV3"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sys"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"url"}},{kind:"Field",name:{kind:"Name",value:"analytics"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sys"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"label"}}]}},{kind:"Field",name:{kind:"Name",value:"hideOnDomains"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"FooterLocaleDropdownAll"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FooterLocaleDropdown"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sys"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"hideOnDomains"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"FooterCookiesSettingsLinkAll"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FooterCookiesSettingsLink"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sys"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"hideOnDomains"}},{kind:"Field",name:{kind:"Name",value:"analytics"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sys"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"label"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"FooterGroupAll"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FooterGroup"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sys"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"groupKey"}},{kind:"Field",name:{kind:"Name",value:"itemsCollection"},arguments:[{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"IntValue",value:"10"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"items"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FooterItemV3"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"FooterItemV3All"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FooterLocaleDropdown"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"FooterLocaleDropdownAll"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FooterCookiesSettingsLink"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"FooterCookiesSettingsLinkAll"}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"analytics"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sys"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"label"}}]}},{kind:"Field",name:{kind:"Name",value:"hideOnDomains"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"FooterV3All"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FooterV3"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sys"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"logo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ImageAll"}}]}},{kind:"Field",name:{kind:"Name",value:"url"}},{kind:"Field",name:{kind:"Name",value:"hideLogoOnDomains"}},{kind:"Field",name:{kind:"Name",value:"columnsCollection"},arguments:[{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"IntValue",value:"10"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"items"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FooterGroup"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"FooterGroupAll"}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"barCollection"},arguments:[{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"IntValue",value:"10"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"items"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FooterGroup"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"FooterGroupAll"}}]}}]}}]}}]}}]};var j5={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GlobalNavConfigCollectionQuery"}
9667,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"preview"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"locale"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"globalNavConfigCollection"},arguments:[{kind:"Argument",name:{kind:"Name",value:"preview"},value:{kind:"Variable",name:{kind:"Name",value:"preview"}}},{kind:"Argument",name:{kind:"Name",value:"locale"},value:{kind:"Variable",name:{kind:"Name",value:"locale"}}},{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"IntValue",value:"1"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"items"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sys"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"globalNavLabel"}},{kind:"Field",name:{kind:"Name",value:"globalNavButtonAriaLabel"}},{kind:"Field",name:{kind:"Name",value:"globalNavGroupsCollection"},arguments:[{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"IntValue",value:"20"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"items"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"GlobalNavAll"}}]}}]}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"AnalyticsAll"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Analytics"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sys"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"label"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"AssetAll"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Asset"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sys"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"url"}},{kind:"Field",name:{kind:"Name",value:"contentType"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ImageAll"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Image"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sys"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"media"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AssetAll"}}]}},{kind:"Field",name:{kind:"Name",value:"wrap"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ButtonAll"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Button"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sys"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"title"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"json"}}]}},{kind:"Field",name:{kind:"Name",value:"url"}},{kind:"Field",name:{kind:"Name",value:"size"}},{kind:"Field",name:{kind:"Name",value:"theme"}},{kind:"Field",name:{kind:"Name",value:"buttonType"}},{kind:"Field",name:{kind:"Name",value:"image"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Image"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ImageAll"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"iconName"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"CallToActionAll"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CallToAction"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sys"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"analytics"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AnalyticsAll"}}]}},{kind:"Field",name:{kind:"Name",value:"presentation"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Button"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ButtonAll"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"url"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"GlobalNavHighlightAll"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"GlobalNavHighlight"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sys"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"cta"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"CallToActionAll"}}]}},{kind:"Field",name:{kind:"Name",value:"background"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AssetAll"}}]}},{kind:"Field",name:{kind:"Name",value:"cardTitleV2"}},{kind:"Field",name:{kind:"Name",value:"cardBodyV2"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"GlobalNavItemAll"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"GlobalNavItem"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sys"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"url"}},{kind:"Field",name:{kind:"Name",value:"hideHostnameRegex"}},{kind:"Field",name:{kind:"Name",value:"analytics"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AnalyticsAll"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"GlobalNavAll"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"GlobalNav"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sys"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"groupKey"}},{kind:"Field",name:{kind:"Name",value:"primaryHostnameRegex"}},{kind:"Field",name:{kind:"Name",value:"hideHostnameRegex"}},{kind:"Field",name:{kind:"Name",value:"highlight"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"GlobalNavHighlightAll"}}]}},{kind:"Field",name:{kind:"Name",value:"itemsCollection"},arguments:[{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"IntValue",value:"20"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"items"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"GlobalNavItemAll"}}]}}]}}]}}]};var Nm=({id:e,title:t,items:o,onClick:n,orientation:a="Vertical",isFooterBar:s,beforeItems:l,afterItems:p,onToggle:d})=>{if(!o?.length&&!l&&!p)return null;let u=o?.map((y,m)=>i($C,{id:y.id,url:y.url,title:y.title,analyticsLabel:y.analyticsLabel},y.id||m));return x(B2,{isFooterBar:s,id:e,title:t,onClick:n,orientation:a,onToggle:d,children:[l,...u,p]})};var LC=c` 9668 width: 100%; 9669 9670 ${V} { 9671 width: auto; 9672 } 9673`,Y5=c` 9674 display: flex; 9675 align-items: center; 9676 margin-top: ${r("--spacing-xxxs")}; 9677 9678 padding-block-end: ${r("--spacing-xs")}; 9679 9680 ${V} { 9681 padding-block-end: 0; 9682 } 9683`,X5=c` 9684 &.sdsm-logo { 9685 fill: #221f20; 9686 } 9687`;var J5=c` 9688 ${P} { 9689 width: 100%; 9690 .sdsm-dropdown, 9691 .sdsm-dropdown-button { 9692 width: 100%; 9693 } 9694 } 9695`,Z5=c` 9696 display: flex; 9697 flex-direction: column; 9698 gap: ${r("--spacing-s")}; 9699`,eL=c` 9700 flex-direction: row; 9701 align-items: center; 9702 9703 ${P} { 9704 flex-direction: column; 9705 align-items: flex-start; 9706 } 9707`,tL=c` 9708 color: ${r("--fg-color")}; 9709 /* Set font-family here or the var from the default motif is used */ 9710 font-family: ${r("--font-family")}; 9711 font-size: 14px; 9712 font-weight: 600; 9713 line-height: 16px; 9714`;var Em=({title:e,currentOrientation:t,buttonComponent:o})=>x("div",{className:h(Z5,{[eL]:t==="Horizontal"}),children:[e&&i("label",{className:tL,children:e}),i(Zs,{className:J5,buttonComponent:o})]});Em.displayName="FooterLocaleDropdown";var HC=(e,t,o)=>{let n=$o(t),a=e.reduce((l,p)=>{let d=n.findIndex(y=>y.groupKey.trim()===p.groupKey.trim()),u=hJ(p.itemsCollection.items,o);if(!u.length)return l;if(d>=0){let m=n.splice(d,1)[0],g={id:m.id??p.sys.id,title:m.title??p.title,items:m.items.concat(u),analyticsLabel:m.analyticsLabel??p.analytics?.label};l.push(g)}
9714else{let y={id:p.sys.id,title:p.title,items:u,analyticsLabel:p.analytics?.label};l.push(y)}return l},[]),s=n.map(l=>({id:l.id,title:l.title,items:l.items,analyticsLabel:l.analyticsLabel}));return[...a,...s]},VC=(e,t)=>e.filter(n=>!n.hideOnDomains||!n.hideOnDomains.includes(t)).map(n=>({...n,itemsCollection:{...n.itemsCollection,items:n.itemsCollection.items.filter(a=>!a.hideOnDomains||!a.hideOnDomains.includes(t))}})),hJ=(e,t)=>e.map(n=>{if(n.__typename==="FooterCookiesSettingsLink")return t?{id:n.sys.id,title:n.title,url:t}:void 0;if(n.__typename!=="FooterLocaleDropdown")return{analyticsLabel:n?.analytics?.label,id:n.sys.id,title:n.title,url:n.url}}).filter(n=>!!n);var nL=({customColumns:e,customFooterBar:t,motifScheme:o,backgroundColor:n,logo:a,socialBar:s,footerType:l="Full Footer",cookieSettingsUrl:p,hasSideNav:d,customLocaleDropdownButton:u,className:y,onGroupToggle:m})=>{let{Anchor:g,supportedLocales:f,currentLocale:b,hostname:S,isPreview:C,isSSR:I,globalApolloClient:k}=(0,oL.useContext)(We),{data:v,loading:w,error:_}=ar(K5,{currentLocale:b??Ir,isPreview:C??!1,isSSR:I??!1},{client:k});if(w||_||!S||!v)return null;let D=o??Ne(n)??"sdsm-tertiary",M=Object.keys(f||{}).length>1,A=Ga(v.footerV3Collection.items),N=A?.columnsCollection.items??[],$=VC(N,S),B=A?.barCollection.items??[],L=VC(B,S),H;L.forEach(ne=>{let J=ne.itemsCollection.items.find(pe=>pe.__typename==="FooterLocaleDropdown");J&&!J.hideOnDomains?.includes(S)&&(H={title:J.title,id:J.sys.id})});let z=HC($,e??[],p),j=HC(L,t??[],p),ue;if(j.length&&(a?ue=a:ue=i(_i,{url:A?.url,className:Y5,innerLogoClassName:D!=="sdsm-secondary"?X5:void 0,logoType:"SnapInc",openInNewTab:!0}),ue&&!A?.hideLogoOnDomains?.includes(S)&&(j[0].beforeItems=i("li",{children:ue})),H)){let ne=i("li",{id:H.id,className:LC,children:i(Em,{title:H.title,currentOrientation:"Horizontal",buttonComponent:u})},H.id);j.push({id:"localeDropdownGroup",title:"",items:[],orientation:"Horizontal",afterItems:ne})}let ie=null;if(l==="No Footer"){if(!M||!H)return null;let ne=i("li",{id:H.id,className:LC,children:i(Em,{title:H.title,currentOrientation:"Horizontal",buttonComponent:u})},H.id);ie=x(ay,{motifScheme:D,className:y,children:[s,i(oh,{hasSideNav:d,children:i(Nm,{id:"localeDropdown",title:"",items:[],orientation:"Horizontal",afterItems:ne},"noFooter")})]})}else{let ne=i(oh,{hasSideNav:d,children:j.map((J,pe)=>i(Nm,{id:J.id,title:J.title,items:J.items,orientation:"Horizontal",beforeItems:J.beforeItems,afterItems:J.afterItems,isFooterBar:!0},`${pe}-${J.id}`))});if(l==="Simple Footer")ie=x(ay,{motifScheme:D,className:y,children:[s,ne]});else{let J=z.map((pe,re)=>i(Nm,{id:pe.id,title:pe.title,items:pe.items,onToggle:m},`${re}-${pe.id}`));ie=x(ay,{motifScheme:D,className:y,children:[s,i(N2,{hasSideNav:d,children:J}),ne]})}}return i(rr,{value:{Anchor:g},children:ie})};var OC=({footerType:e="Full Footer",onGroupToggle:t,...o})=>i(nL,{footerType:e,...o,onGroupToggle:t});var Pi=T(E());var dL=T(E());var iL=T(E());var aL=T(E());var GC=e=>{let{Anchor:t,onEvent:o}=(0,aL.useContext)(We),{url:n,target:a,buttonType:s,theme:l,title:p,size:d,image:u,iconName:y}=e;return i(rr,{value:{Anchor:t},children:i(Kt,{link:n,target:a,type:s??l,onClick:()=>{o?.({action:an.Click,component:"Button",url:n,label:e.analyticsLabel})},size:d,image:u?.media?{...u?.media,width:24,height:24}:void 0,iconName:y,children:p?.json&&i(im,{document:p.json})})})};GC.displayName="Button";var zC=e=>{let{onError:t}=(0,iL.useContext)(We),{presentation:o,analytics:n,url:a}=e;return a&&t?.(new Error('The "url" field on CallToAction is no longer supported')),o.__typename==="Button"?i(GC,{analyticsLabel:n?.label,...o}):(t?.(new Error(`Unable to render CTA presentation "${o.__typename}"`)),null)};zC.displayName="CallToAction";var Rm=T(E());var sL=({triggered:e,ctaProps:t})=>{let o=(0,Rm.useContext)(We),{onEvent:n}=o,{presentation:a,url:s,analytics:l}=t??{},p=a?.__typename==="Button";(0,Rm.useEffect)(()=>{if(!e||!p)return;let d=s??a?.url;n&&n({action:an.Click,component:"VirtualCallToAction",label:l?.label,url:d}),window&&(window.location.href=d)},[e,s,l?.label,n,p,a?.url])};var UC=(e,t)=>{let o={baseDprSettings:{height:e}};return t<=e?o:e<t&&t<e*2?(o.additionalDpr={dpr:Number.parseFloat((t/e).toFixed(4)),settings:{height:t}},o):(o.additionalDpr={dpr:2,settings:{height:e*2}},o)},gc=(e,t,o)=>{let n=UC(e,t);return n.additionalDpr?{size:{sizeToUrl:[{size:"1x",settings:{...n.baseDprSettings,quality:o}},{size:`${n.additionalDpr.dpr}x`,settings:{...n.additionalDpr.settings,quality:o}}]}}:{image:{height:e,quality:o}}};var Cn=({imageUrl:e,settings:t,currentUrl:o})=>{if(!t||!e)return e??"";let{progressive:n,width:a,height:s,format:l,quality:p=40,fit:d}=t;
9714try{let u=new URL(e,o);return l&&u.searchParams.set("fm",l),d&&u.searchParams.set("fit",d),p>0&&p<=100?u.searchParams.set("q",String(p)):u.searchParams.set("q",String(40)),n&&u.searchParams.set("fl","progressive"),a&&0<a&&a<4e3&&u.searchParams.set("w",String(a)),s&&0<s&&s<4e3&&u.searchParams.set("h",String(s)),u.href}catch(u){return console.error("Error parsing URL",e,u),e}};var fc=T(E());var CJ=new Set(["slow-2g","2g","3g"]),lL=11,kr=(e,t,o)=>{if(!e)return"";if(t&&"size"in t&&t.size)return t.size.sizeToUrl.map(({size:a,settings:s})=>a?`${Cn({imageUrl:e,settings:{...s,format:o??s?.format}})} ${a}`:Cn({imageUrl:e,settings:{...s,format:o??s?.format}})).join(",");let n=t&&"image"in t&&t.image?t.image:void 0;return Cn({imageUrl:e,settings:{...n,format:o??n?.format}})};function ve(){let e=(0,fc.useContext)(Je),t=e.getCachedHighEntropyHints()?.connection,o=e.getLowEntropyHints().saveData||!!(t&&CJ.has(t)),n=e.getLowEntropyHints();return xJ({isSlowConnection:o,supportsAvif:hd(n),supportsWebP:Pk(n)})}var xJ=e=>{let{isSlowConnection:t,supportsAvif:o,supportsWebP:n}=e,a=(0,fc.useCallback)((l,p)=>{if(!l)return;p&&t&&("image"in p?or(p,{image:{quality:lL}}):p.quality=lL);let d=l.toLowerCase().endsWith(".svg"),u=[];if(d)u=[{type:"image/svg+xml",url:l}];else{let m=p&&"size"in p?p?.size?.sizes:void 0,g=p&&"media"in p?p?.media:void 0;u.unshift({type:"image/webp",url:kr(l,p,"webp"),sizes:m,media:g}),o&&u.unshift({type:"image/avif",url:kr(l,p,"avif"),sizes:m,media:g})}let y=p&&"image"in p?{image:p?.image}:void 0;return p&&"size"in p&&p.size&&(y={image:p.size.sizeToUrl.reduce((g,f)=>g&&Number.parseFloat(g.size)<Number.parseFloat(f.size)?g:f).settings}),{sources:u,default:kr(l,y,d?void 0:"webp")}},[t,o]),s=(0,fc.useCallback)((l,p)=>{if(!l)return;if(l.toLowerCase().endsWith(".svg"))return l;let d=o&&"avif"||n&&"webp"||"jpg",u={...p};return d&&(u.format=d),Cn({imageUrl:l,settings:u})},[o,n]);return{getImageSources:a,getBestBgImgSrc:s}};var pL=T(E());var bc=e=>e?e.startsWith("video"):!1,Fm=e=>e?e.startsWith("image"):!1;var cL=e=>{let{onError:t}=(0,pL.useContext)(We),{contentType:o,url:n,description:a,sizedSrcSets:s}=e,{getImageSources:l}=ve();if(Fm(o)){let p=l(n);return s&&(p=l(n,{size:s})),i(Ke,{sourceType:o,imgSrcs:p,altText:a})}return bc(o)?i(Ke,{sourceType:o,videoSource:n,showVideoControls:!0,maxHeight:600,altText:a}):(t?.(`Unsupported Mdea type ${o}`),null)};var vJ=[480,960,1440,1920,2560],IJ=452,Bm=`(max-width: ${Io}px) 100vw, calc(100vw - ${IJ}px)`,WC={sizeToUrl:vJ.map(e=>({size:`${e}w`,settings:{quality:70,width:e}})),sizes:Bm},Sc=e=>{let[t,o]=(0,dL.useState)(0);sL({triggered:t,ctaProps:e?.cta});let{cta:n,background:a,cardTitleV2:s,cardBodyV2:l}=e,p=()=>{o(t+1)};return i(sS,{cardTitleV2:s,cardBodyV2:l,background:i(cL,{...a,sizedSrcSets:WC}),callToAction:i(zC,{...n}),onActivate:p})};Sc.displayName="GlobalNavHighlight";var SL=T(E());function kJ(e,t){var o=[];return Ha(e,function(n,a,s){t(n,a,s)&&o.push(n)}),o}var uL=kJ;var MJ="Expected a function";function AJ(e){if(typeof e!="function")throw new TypeError(MJ);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}var yL=AJ;function TJ(e,t){var o=Ko(e)?Tk:uL;return o(e,yL(Jo(t,3)))}var mL=TJ;var bL=T(E());var fL=T(E());var gL=T(E());var _J=(e,t)=>!!e&&new RegExp(e).test(t),qC=({hideHostnameRegex:e,title:t,url:o,analytics:n})=>{let{onEvent:a,isUrlCurrent:s}=(0,gL.useContext)(We),l=()=>{a&&a({action:an.Click,component:"GlobalNavItem",label:n?.label,url:o})};return _J(e,window.location.hostname)?null:i(Si,{title:t,href:o,showExternalIcon:!1,onClick:l,isSelected:s?.(o)})};qC.displayName="GlobalNavItem";var QC=({title:e,groupKey:t,itemsCollection:o,highlight:n,onGlobalNavGroupSummaryClick:a})=>{let{isUrlCurrent:s}=(0,fL.useContext)(We),l=i(Sc,{...n}),p=a?()=>a({navGroupKey:t,title:e}):void 0;return i(oS,{navGroupKey:t,title:e,mobileHighlight:l,isExpandable:!0,isActive:o?.items.some(d=>s?.(d.url)),onSummaryClick:p,children:o?.items.map((d,u)=>i(qC,{...d},`nav-item-${u}`))})};QC.displayName="GlobalNavGroup";function wJ(e,t){return[...e.filter(t),...mL(e,t)]}var DJ=(e,t)=>e.filter(o=>!o.hideHostnameRegex||new RegExp(o.hideHostnameRegex).test(t)),KC=({navGroups:e,onGlobalNavGroupSummaryClick:t})=>{let{hostname:o}=(0,bL.useContext)(We),n=l=>!!l.primaryHostnameRegex&&new RegExp(l.primaryHostnameRegex).test(o),a=DJ(e,o),s=wJ(a,n);return i(se,{children:s.map(l=>i(QC,{...l,onGlobalNavGroupSummaryClick:t},l.groupKey))})};KC.displayName="GlobalNavGroupCollection";var jC=e=>{let t=new Map;return e.navGroups.filter(o=>!!o.highlight).forEach(o=>{t.set(o.groupKey,i(Sc,{...o.highlight}))}),i(g1,{highlights:t})};jC.displayName="GlobalNavHighlightCollection";var YC=({motifScheme:e,backgroundColor:t,localNavMobile:o,localNavMobileFooter:n,navGroups:a,globalNavHeading:s,showMobileGlobalLinks:l,onGlobalNavGroupSummaryClick:p})=>{let{toggleExpanded:d}=(0,SL.useContext)(et);return i(uS,{localNavMobile:o,localNavMobileFooter:n,onNavClose:d??(()=>null),motifScheme:e,backgroundColor:t,globalNavHeading:s,highlight:i(jC,{navGroups:a}),globalNav:i(KC,{navGroups:a,onGlobalNavGroupSummaryClick:p}),showMobileGlobalLinks:l})};YC.displayName="GlobalNavGroupScreen";var $m=T(E());var hL=(e,t=!1,o)=>{let{onError:n}=(0,$m.useContext)(We);(0,$m.useEffect)(()=>
9714{if(!(!document||!e)&&!o?.skipPreload?.())if(t){let a=e.map(s=>{let l=document.createElement("link");return l.rel="preload",l.as=bc(s.contentType)?"video":"image",l.href=s.url,l});document.head.append(...a)}else for(let a of e)if(bc(a.contentType)){let s=document.createElement("video"),l=document.createElement("source");l.type=a.contentType,l.src=a.url,s.appendChild(l),s.load()}else if(Fm(a.contentType)){if(!a.url)return;let s=document.createElement("picture"),l=document.createElement("source"),p=document.createElement("source"),d=document.createElement("img");if(a.url.endsWith(".svg"))d.src=a.url;else if(o?.sizedSrcSets){let{sizedSrcSets:u}=o;l.srcset=kr(a.url,{size:u},"avif"),l.type="image/avif",p.srcset=kr(a.url,{size:u},"webp"),p.type="image/webp",u.sizes&&(l.sizes=u.sizes,p.sizes=u.sizes,d.sizes=u.sizes),s.appendChild(l),s.appendChild(p),s.appendChild(d),d.srcset=kr(a.url,{size:u},"jpg")}else l.srcset=Cn({imageUrl:a.url,settings:{format:"avif"}}),l.type="image/avif",p.srcset=Cn({imageUrl:a.url,settings:{format:"webp"}}),p.type="image/webp",s.appendChild(l),s.appendChild(p),s.appendChild(d),d.src=a.url}else n?.(`Cannot preload assets of type ${a.contentType}`)},[e,t,n,o])};var CL=no.Black,PJ="snapchat";et.displayName="GlobalHeaderContextSDSM";var NJ={sizedSrcSets:WC,skipPreload:()=>window?window.innerWidth<=Io:!0},hc=({motifScheme:e,backgroundColor:t,className:o,defaultGroupKey:n,siteName:a,displayed:s,trackingSiteName:l,cta:p,ctaItems:d,localNavDesktop:u,localNavMenuItems:y,logo:m,logoProps:g,localNavMobile:f,localNavMobileFooter:b,onToggleExpanded:S,search:C,searchOpen:I,endChildrenDesktopClassName:k,endChildrenMobileClassName:v,showGlobalLinks:w=!0,showNavScreen:_,pathname:D,navItemAlignment:M,customIcon:A,lessMargins:N,addBottomBorder:$,headerClassName:B,onGlobalNavGroupSummaryClick:L})=>{let H=(0,Pi.useContext)(We),{Anchor:z,onEvent:j}=H,{data:ue}=ar(j5,{currentLocale:H.currentLocale??Ir,isPreview:H.isPreview??!1,isSSR:H.isSSR??!1},{client:H.globalApolloClient}),ie=Ga(ue?.globalNavConfigCollection.items),ne=(0,Pi.useMemo)(()=>ie?.globalNavGroupsCollection.items??[],[ie?.globalNavGroupsCollection.items]),J=Ft(),pe=(0,Pi.useMemo)(()=>w?ne.map(le=>le.highlight?.background).filter(le=>!!le):[],[ne,w]);hL(pe,!1,NJ);let re=le=>{j?.({component:"GlobalHeader",action:an.Click,label:le?"expand":"collapse"}),S?.(le)},Q=p??Pi.Children.toArray(d?.map((le,ee)=>i(Kt,{link:le.url,type:le.type,size:"Compact",onClick:le.onClick,children:le.title},ee))),Y=I?C:x(se,{children:[Q,C]}),Z=g?i(_i,{...g,logoType:"Ghost"}):null,U=!(I&&J),R=J?v:k,X,W;return f?X=f:y&&(X=y?.map(({id:le,url:ee,title:be,isSelected:q,col1Label:ce,col1Items:_e,col2Label:me,col2Items:Ie,col3Label:he,col3Items:Ae,featuredItem:Pt})=>i(Si,{showExternalIcon:!1,href:ee,title:be,isSelected:q,children:(_e?.length||Ie?.length||Ae?.length||!!Pt)&&i(tc,{col1Label:ce,col1Items:_e,col2Label:me,col2Items:Ie,col3Label:he,col3Items:Ae,featuredItem:Pt})},le))),u?W=u:y&&(W=y?.map(({id:le,url:ee,title:be,isSelected:q,col1Label:ce,col1Items:_e,col2Label:me,col2Items:Ie,col3Label:he,col3Items:Ae,featuredItem:Pt})=>i(ec,{url:ee,isSelected:q,title:be??"",col1Label:ce,col1Items:_e,col2Label:me,col2Items:Ie,col3Label:he,col3Items:Ae,featuredItem:Pt},le))),i(rr,{value:{Anchor:z},children:i(Zb,{className:o,siteName:a,motifScheme:e,backgroundColor:t??CL,displayed:s,logo:U&&(m??Z),onToggleExpanded:re,cta:Y,localNavDesktop:W,defaultGroupKey:n??PJ,stayOpenInvariant:D,trackingSiteName:l??H.hostname,endChildrenClassName:I?R:void 0,showGlobalLinks:w,showNavScreen:_,isUrlCurrent:H.isUrlCurrent,navItemAlignment:M,buttonAriaLabel:ie?.globalNavButtonAriaLabel,lessMargins:N,addBottomBorder:$,customIcon:A,headerClassName:B,children:ie&&i(YC,{motifScheme:e,backgroundColor:t??CL,localNavMobile:X,localNavMobileFooter:b,globalNavHeading:ie?.globalNavLabel,navGroups:ne,showMobileGlobalLinks:w,onGlobalNavGroupSummaryClick:L})})})};hc.displayName="GlobalHeader";function xL(e){var t=e||{},o=t.initial,n=o===void 0?300:o,a=t.jitter,s=a===void 0?!0:a,l=t.max,p=l===void 0?1/0:l,d=s?n:n/2;return function(y){var m=Math.min(p,d*Math.pow(2,y));return s&&(m=Math.random()*m),m}}function vL(e){var t=e||{},o=t.retryIf,n=t.max,a=n===void 0?5:n;return function(l,p,d){return l>=a?!1:o?o(d,p):!!d}}var EJ=(function(){function e(t,o,n,a,s){var l=this;this.observer=t,this.operation=o,this.forward=n,this.delayFor=a,this.retryIf=s,this.retryCount=0,this.currentSubscription=null,this.onError=function(p){return Bk(l,void 0,void 0,function(){var d;return $k(this,function(u){switch(u.label){case 0:return this.retryCount+=1,[4,this.retryIf(this.retryCount,this.operation,p)];case 1:return d=u.sent(),d?(this.scheduleRetry(this.delayFor(this.retryCount,this.operation,p)),[2]):(this.observer.error(p),[2])}})})},this.try()}return e.prototype.cancel=function(){this.currentSubscription&&this.currentSubscription.unsubscribe(),clearTimeout(this.timerId),this.timerId=void 0,this.currentSubscription=null},e.prototype.try=function(){this.currentSubscription=this.forward(this.operation).subscribe({next:this.observer.next.bind(this.observer),error:this.onError,complete:this.observer.complete.bind(this.observer)})},e.prototype.scheduleRetry=function(t){var o=this;if(this.timerId)throw new Error("RetryLink BUG! Encountered overlapping retries");this.timerId=setTimeout(function(){o.timerId=void 0,o.try()},t)},e})(),IL=(function(e){Cd(t,e);function t(o){var n=e.call(this)||this,a=o||{},s=a.attempts,l=a.delay;return n.delayFor=typeof l=="function"?l:xL(l),n.retryIf=typeof s=="function"?s:vL(s),n}return t.prototype.request=function(o,n){var a=this;return new Ji(function(s){var l=new EJ(s,o,n,a.delayFor,a.retryIf);return function(){l.cancel()}})},t})(un);var Dn=T(E());function Lm(e,t){return Lm=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,n){return o.__proto__=n,o}
9714,Lm(e,t)}function xn(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Lm(e,t)}var Dt=T(E()),ix=T(F0());function Hm(e){return e.charAt(0)==="/"}function XC(e,t){for(var o=t,n=o+1,a=e.length;n<a;o+=1,n+=1)e[o]=e[n];e.pop()}function RJ(e,t){t===void 0&&(t="");var o=e&&e.split("/")||[],n=t&&t.split("/")||[],a=e&&Hm(e),s=t&&Hm(t),l=a||s;if(e&&Hm(e)?n=o:o.length&&(n.pop(),n=n.concat(o)),!n.length)return"/";var p;if(n.length){var d=n[n.length-1];p=d==="."||d===".."||d===""}else p=!1;for(var u=0,y=n.length;y>=0;y--){var m=n[y];m==="."?XC(n,y):m===".."?(XC(n,y),u++):u&&(XC(n,y),u--)}if(!l)for(;u--;u)n.unshift("..");l&&n[0]!==""&&(!n[0]||!Hm(n[0]))&&n.unshift("");var g=n.join("/");return p&&g.substr(-1)!=="/"&&(g+="/"),g}var ML=RJ;var FJ=!0,JC="Invariant failed";function Mr(e,t){if(!e){if(FJ)throw new Error(JC);var o=typeof t=="function"?t():t,n=o?"".concat(JC,": ").concat(o):JC;throw new Error(n)}}function xc(e){return e.charAt(0)==="/"?e:"/"+e}function AL(e){return e.charAt(0)==="/"?e.substr(1):e}function BJ(e,t){return e.toLowerCase().indexOf(t.toLowerCase())===0&&"/?#".indexOf(e.charAt(t.length))!==-1}function NL(e,t){return BJ(e,t)?e.substr(t.length):e}function EL(e){return e.charAt(e.length-1)==="/"?e.slice(0,-1):e}function $J(e){var t=e||"/",o="",n="",a=t.indexOf("#");a!==-1&&(n=t.substr(a),t=t.substr(0,a));var s=t.indexOf("?");return s!==-1&&(o=t.substr(s),t=t.substr(0,s)),{pathname:t,search:o==="?"?"":o,hash:n==="#"?"":n}}function Po(e){var t=e.pathname,o=e.search,n=e.hash,a=t||"/";return o&&o!=="?"&&(a+=o.charAt(0)==="?"?o:"?"+o),n&&n!=="#"&&(a+=n.charAt(0)==="#"?n:"#"+n),a}function Wo(e,t,o,n){var a;typeof e=="string"?(a=$J(e),a.state=t):(a=xo({},e),a.pathname===void 0&&(a.pathname=""),a.search?a.search.charAt(0)!=="?"&&(a.search="?"+a.search):a.search="",a.hash?a.hash.charAt(0)!=="#"&&(a.hash="#"+a.hash):a.hash="",t!==void 0&&a.state===void 0&&(a.state=t));try{a.pathname=decodeURI(a.pathname)}catch(s){throw s instanceof URIError?new URIError('Pathname "'+a.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):s}return o&&(a.key=o),n?a.pathname?a.pathname.charAt(0)!=="/"&&(a.pathname=ML(a.pathname,n.pathname)):a.pathname=n.pathname:a.pathname||(a.pathname="/"),a}function ex(){var e=null;function t(l){return e=l,function(){e===l&&(e=null)}}function o(l,p,d,u){if(e!=null){var y=typeof e=="function"?e(l,p):e;typeof y=="string"?typeof d=="function"?d(y,u):u(!0):u(y!==!1)}else u(!0)}var n=[];function a(l){var p=!0;function d(){p&&l.apply(void 0,arguments)}return n.push(d),function(){p=!1,n=n.filter(function(u){return u!==d})}}function s(){for(var l=arguments.length,p=new Array(l),d=0;d<l;d++)p[d]=arguments[d];n.forEach(function(u){return u.apply(void 0,p)})}return{setPrompt:t,confirmTransitionTo:o,appendListener:a,notifyListeners:s}}var RL=!!(typeof window<"u"&&window.document&&window.document.createElement);function FL(e,t){t(window.confirm(e))}function LJ(){var e=window.navigator.userAgent;return(e.indexOf("Android 2.")!==-1||e.indexOf("Android 4.0")!==-1)&&e.indexOf("Mobile Safari")!==-1&&e.indexOf("Chrome")===-1&&e.indexOf("Windows Phone")===-1?!1:window.history&&"pushState"in window.history}function HJ(){return window.navigator.userAgent.indexOf("Trident")===-1}function VJ(){return window.navigator.userAgent.indexOf("Firefox")===-1}function OJ(e){return e.state===void 0&&navigator.userAgent.indexOf("CriOS")===-1}var TL="popstate",_L="hashchange";function wL(){try{return window.history.state||{}}catch{return{}}}function BL(e){e===void 0&&(e={}),RL||Mr(!1);var t=window.history,o=LJ(),n=!HJ(),a=e,s=a.forceRefresh,l=s===void 0?!1:s,p=a.getUserConfirmation,d=p===void 0?FL:p,u=a.keyLength,y=u===void 0?6:u,m=e.basename?EL(xc(e.basename)):"";function g(J){var pe=J||{},re=pe.key,Q=pe.state,Y=window.location,Z=Y.pathname,U=Y.search,R=Y.hash,X=Z+U+R;return m&&(X=NL(X,m)),Wo(X,Q,re)}function f(){return Math.random().toString(36).substr(2,y)}var b=ex();function S(J){xo(ne,J),ne.length=t.length,b.notifyListeners(ne.location,ne.action)}function C(J){OJ(J)||v(g(J.state))}function I(){v(g(wL()))}var k=!1;function v(J){if(k)k=!1,S();else{var pe="POP";b.confirmTransitionTo(J,pe,d,function(re){re?S({action:pe,location:J}):w(J)})}}function w(J){var pe=ne.location,re=D.indexOf(pe.key);re===-1&&(re=0);var Q=D.indexOf(J.key);Q===-1&&(Q=0);var Y=re-Q;Y&&(k=!0,$(Y))}var _=g(wL()),D=[_.key];function M(J){return m+Po(J)}function A(J,pe){var re="PUSH",Q=Wo(J,pe,f(),ne.location);b.confirmTransitionTo(Q,re,d,function(Y){if(Y){var Z=M(Q),U=Q.key,R=Q.state;if(o)if(t.pushState({key:U,state:R},null,Z),l)window.location.href=Z;else{var X=D.indexOf(ne.location.key),W=D.slice(0,X+1);W.push(Q.key),D=W,S({action:re,location:Q})}else window.location.href=Z}})}function N(J,pe){var re="REPLACE",Q=Wo(J,pe,f(),ne.location);b.confirmTransitionTo(Q,re,d,function(Y){if(Y){var Z=M(Q),U=Q.key,R=Q.state;if(o)if(t.replaceState({key:U,state:R},null,Z),l)window.location.replace(Z);else{var X=D.indexOf(ne.location.key);X!==-1&&(D[X]=Q.key),S({action:re,location:Q})}else window.location.replace(Z)}})}function $(J){t.go(J)}function B(){$(-1)}function L(){$(1)}var H=0;function z(J){H+=J,H===1&&J===1?(window.addEventListener(TL,C),n&&window.addEventListener(_L,I)):H===0&&(window.removeEventListener(TL,C),n&&window.removeEventListener(_L,I))}var j=!1;function ue(J){J===void 0&&(J=!1);var pe=b.setPrompt(J);return j||(z(1),j=!0),function(){return j&&(j=!1,z(-1)),pe()}}function ie(J){var pe=b.appendListener(J);return z(1),function(){z(-1),pe()}}var ne={length:t.length,action:"POP",location:_,createHref:M,push:A,replace:N,go:$,goBack:B,goForward:L,block:ue,listen:ie};return ne}var DL="hashchange",GJ={hashbang:{encodePath:function(t){return t.charAt(0)==="!"?t:"
9714!/"+AL(t)},decodePath:function(t){return t.charAt(0)==="!"?t.substr(1):t}},noslash:{encodePath:AL,decodePath:xc},slash:{encodePath:xc,decodePath:xc}};function $L(e){var t=e.indexOf("#");return t===-1?e:e.slice(0,t)}function Cc(){var e=window.location.href,t=e.indexOf("#");return t===-1?"":e.substring(t+1)}function zJ(e){window.location.hash=e}function ZC(e){window.location.replace($L(window.location.href)+"#"+e)}function LL(e){e===void 0&&(e={}),RL||Mr(!1);var t=window.history,o=VJ(),n=e,a=n.getUserConfirmation,s=a===void 0?FL:a,l=n.hashType,p=l===void 0?"slash":l,d=e.basename?EL(xc(e.basename)):"",u=GJ[p],y=u.encodePath,m=u.decodePath;function g(){var re=m(Cc());return d&&(re=NL(re,d)),Wo(re)}var f=ex();function b(re){xo(pe,re),pe.length=t.length,f.notifyListeners(pe.location,pe.action)}var S=!1,C=null;function I(re,Q){return re.pathname===Q.pathname&&re.search===Q.search&&re.hash===Q.hash}function k(){var re=Cc(),Q=y(re);if(re!==Q)ZC(Q);else{var Y=g(),Z=pe.location;if(!S&&I(Z,Y)||C===Po(Y))return;C=null,v(Y)}}function v(re){if(S)S=!1,b();else{var Q="POP";f.confirmTransitionTo(re,Q,s,function(Y){Y?b({action:Q,location:re}):w(re)})}}function w(re){var Q=pe.location,Y=A.lastIndexOf(Po(Q));Y===-1&&(Y=0);var Z=A.lastIndexOf(Po(re));Z===-1&&(Z=0);var U=Y-Z;U&&(S=!0,L(U))}var _=Cc(),D=y(_);_!==D&&ZC(D);var M=g(),A=[Po(M)];function N(re){var Q=document.querySelector("base"),Y="";return Q&&Q.getAttribute("href")&&(Y=$L(window.location.href)),Y+"#"+y(d+Po(re))}function $(re,Q){var Y="PUSH",Z=Wo(re,void 0,void 0,pe.location);f.confirmTransitionTo(Z,Y,s,function(U){if(U){var R=Po(Z),X=y(d+R),W=Cc()!==X;if(W){C=R,zJ(X);var le=A.lastIndexOf(Po(pe.location)),ee=A.slice(0,le+1);ee.push(R),A=ee,b({action:Y,location:Z})}else b()}})}function B(re,Q){var Y="REPLACE",Z=Wo(re,void 0,void 0,pe.location);f.confirmTransitionTo(Z,Y,s,function(U){if(U){var R=Po(Z),X=y(d+R),W=Cc()!==X;W&&(C=R,ZC(X));var le=A.indexOf(Po(pe.location));le!==-1&&(A[le]=R),b({action:Y,location:Z})}})}function L(re){t.go(re)}function H(){L(-1)}function z(){L(1)}var j=0;function ue(re){j+=re,j===1&&re===1?window.addEventListener(DL,k):j===0&&window.removeEventListener(DL,k)}var ie=!1;function ne(re){re===void 0&&(re=!1);var Q=f.setPrompt(re);return ie||(ue(1),ie=!0),function(){return ie&&(ie=!1,ue(-1)),Q()}}function J(re){var Q=f.appendListener(re);return ue(1),function(){ue(-1),Q()}}var pe={length:t.length,action:"POP",location:M,createHref:N,push:$,replace:B,go:L,goBack:H,goForward:z,block:ne,listen:J};return pe}function PL(e,t,o){return Math.min(Math.max(e,t),o)}function HL(e){e===void 0&&(e={});var t=e,o=t.getUserConfirmation,n=t.initialEntries,a=n===void 0?["/"]:n,s=t.initialIndex,l=s===void 0?0:s,p=t.keyLength,d=p===void 0?6:p,u=ex();function y(A){xo(M,A),M.length=M.entries.length,u.notifyListeners(M.location,M.action)}function m(){return Math.random().toString(36).substr(2,d)}var g=PL(l,0,a.length-1),f=a.map(function(A){return typeof A=="string"?Wo(A,void 0,m()):Wo(A,void 0,A.key||m())}),b=Po;function S(A,N){var $="PUSH",B=Wo(A,N,m(),M.location);u.confirmTransitionTo(B,$,o,function(L){if(L){var H=M.index,z=H+1,j=M.entries.slice(0);j.length>z?j.splice(z,j.length-z,B):j.push(B),y({action:$,location:B,index:z,entries:j})}})}function C(A,N){var $="REPLACE",B=Wo(A,N,m(),M.location);
9714u.confirmTransitionTo(B,$,o,function(L){L&&(M.entries[M.index]=B,y({action:$,location:B}))})}function I(A){var N=PL(M.index+A,0,M.entries.length-1),$="POP",B=M.entries[N];u.confirmTransitionTo(B,$,o,function(L){L?y({action:$,location:B,index:N}):y()})}function k(){I(-1)}function v(){I(1)}function w(A){var N=M.index+A;return N>=0&&N<M.entries.length}function _(A){return A===void 0&&(A=!1),u.setPrompt(A)}function D(A){return u.appendListener(A)}var M={length:f.length,action:"POP",location:f[g],index:g,entries:f,createHref:b,push:S,replace:C,go:I,goBack:k,goForward:v,canGo:w,block:_,listen:D};return M}var XL=T(WL()),y$e=T(qW());function tl(e,t){if(e==null)return{};var o={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;o[n]=e[n]}return o}var eZ=T(QW()),rx=1073741823,qL=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:{};function tZ(){var e="__global_unique_id__";return qL[e]=(qL[e]||0)+1}function oZ(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function nZ(e){var t=[];return{on:function(n){t.push(n)},off:function(n){t=t.filter(function(a){return a!==n})},get:function(){return e},set:function(n,a){e=n,t.forEach(function(s){return s(e,a)})}}}function rZ(e){return Array.isArray(e)?e[0]:e}function aZ(e,t){var o,n,a="__create-react-context-"+tZ()+"__",s=(function(p){xn(d,p);function d(){for(var y,m=arguments.length,g=new Array(m),f=0;f<m;f++)g[f]=arguments[f];return y=p.call.apply(p,[this].concat(g))||this,y.emitter=nZ(y.props.value),y}var u=d.prototype;return u.getChildContext=function(){var m;return m={},m[a]=this.emitter,m},u.componentWillReceiveProps=function(m){if(this.props.value!==m.value){var g=this.props.value,f=m.value,b;oZ(g,f)?b=0:(b=typeof t=="function"?t(g,f):rx,b|=0,b!==0&&this.emitter.set(m.value,b))}},u.render=function(){return this.props.children},d})(Dt.default.Component);s.childContextTypes=(o={},o[a]=ix.default.object.isRequired,o);var l=(function(p){xn(d,p);function d(){for(var y,m=arguments.length,g=new Array(m),f=0;f<m;f++)g[f]=arguments[f];return y=p.call.apply(p,[this].concat(g))||this,y.observedBits=void 0,y.state={value:y.getValue()},y.onUpdate=function(b,S){var C=y.observedBits|0;(C&S)!==0&&y.setState({value:y.getValue()})},y}var u=d.prototype;return u.componentWillReceiveProps=function(m){var g=m.observedBits;this.observedBits=g??rx},u.componentDidMount=function(){this.context[a]&&this.context[a].on(this.onUpdate);var m=this.props.observedBits;this.observedBits=m??rx},u.componentWillUnmount=function(){this.context[a]&&this.context[a].off(this.onUpdate)},u.getValue=function(){return this.context[a]?this.context[a].get():e},u.render=function(){return rZ(this.props.children)(this.state.value)},d})(Dt.default.Component);return l.contextTypes=(n={},n[a]=ix.default.object,n),{Provider:s,Consumer:l}}var iZ=Dt.default.createContext||aZ,JL=function(t){var o=iZ();return o.displayName=t,o},ZL=JL("Router-History"),Ar=JL("Router"),ol=(function(e){xn(t,e),t.computeRootMatch=function(a){return{path:"/",url:"/",params:{},isExact:a==="/"}};function t(n){var a;return a=e.call(this,n)||this,a.state={location:n.history.location},a._isMounted=!1,a._pendingLocation=null,n.staticContext||(a.unlisten=n.history.listen(function(s){a._pendingLocation=s})),a}var o=t.prototype;return o.componentDidMount=function(){var a=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen(function(s){a._isMounted&&a.setState({location:s})})),this._pendingLocation&&this.setState({location:this._pendingLocation})},o.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},o.render=function(){return Dt.default.createElement(Ar.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},Dt.default.createElement(ZL.Provider,{children:this.props.children||null,value:this.props.history}))},t})(Dt.default.Component),sZ=(function(e){xn(t,e);function t(){for(var n,a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];return n=e.call.apply(e,[this].concat(s))||this,n.history=HL(n.props),n}var o=t.prototype;return o.render=function(){return Dt.default.createElement(ol,{history:this.history,children:this.props.children})},t})(Dt.default.Component),f$e=(function(e){xn(t,e);function t(){return e.apply(this,arguments)||this}var o=t.prototype;return o.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},o.componentDidUpdate=function(a){this.props.onUpdate&&this.props.onUpdate.call(this,this,a)},o.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},o.render=function(){return null},t})(Dt.default.Component);var QL={},lZ=1e4,KL=0;function pZ(e,t){var o=""+t.end+t.strict+t.sensitive,n=QL[o]||(QL[o]={});if(n[e])return n[e];var a=[],s=(0,XL.default)(e,a,t),l={regexp:s,keys:a};return KL<lZ&&(n[e]=l,KL++),l}
9714function vc(e,t){t===void 0&&(t={}),(typeof t=="string"||Array.isArray(t))&&(t={path:t});var o=t,n=o.path,a=o.exact,s=a===void 0?!1:a,l=o.strict,p=l===void 0?!1:l,d=o.sensitive,u=d===void 0?!1:d,y=[].concat(n);return y.reduce(function(m,g){if(!g&&g!=="")return null;if(m)return m;var f=pZ(g,{end:s,strict:p,sensitive:u}),b=f.regexp,S=f.keys,C=b.exec(e);if(!C)return null;var I=C[0],k=C.slice(1),v=e===I;return s&&!v?null:{path:g,url:g==="/"&&I===""?"/":I,isExact:v,params:S.reduce(function(w,_,D){return w[_.name]=k[D],w},{})}},null)}function cZ(e){return Dt.default.Children.count(e)===0}var Ua=(function(e){xn(t,e);function t(){return e.apply(this,arguments)||this}var o=t.prototype;return o.render=function(){var a=this;return Dt.default.createElement(Ar.Consumer,null,function(s){s||Mr(!1);var l=a.props.location||s.location,p=a.props.computedMatch?a.props.computedMatch:a.props.path?vc(l.pathname,a.props):s.match,d=xo({},s,{location:l,match:p}),u=a.props,y=u.children,m=u.component,g=u.render;return Array.isArray(y)&&cZ(y)&&(y=null),Dt.default.createElement(Ar.Provider,{value:d},d.match?y?typeof y=="function"?y(d):y:m?Dt.default.createElement(m,d):g?g(d):null:typeof y=="function"?y(d):null)})},t})(Dt.default.Component);function sx(e){return e.charAt(0)==="/"?e:"/"+e}function dZ(e,t){return e?xo({},t,{pathname:sx(e)+t.pathname}):t}function uZ(e,t){if(!e)return t;var o=sx(e);return t.pathname.indexOf(o)!==0?t:xo({},t,{pathname:t.pathname.substr(o.length)})}function jL(e){return typeof e=="string"?e:Po(e)}function ax(e){return function(){Mr(!1)}}function YL(){}var lx=(function(e){xn(t,e);function t(){for(var n,a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];return n=e.call.apply(e,[this].concat(s))||this,n.handlePush=function(p){return n.navigateTo(p,"PUSH")},n.handleReplace=function(p){return n.navigateTo(p,"REPLACE")},n.handleListen=function(){return YL},n.handleBlock=function(){return YL},n}var o=t.prototype;return o.navigateTo=function(a,s){var l=this.props,p=l.basename,d=p===void 0?"":p,u=l.context,y=u===void 0?{}:u;y.action=s,y.location=dZ(d,Wo(a)),y.url=jL(y.location)},o.render=function(){var a=this.props,s=a.basename,l=s===void 0?"":s,p=a.context,d=p===void 0?{}:p,u=a.location,y=u===void 0?"/":u,m=tl(a,["basename","context","location"]),g={createHref:function(b){return sx(l+jL(b))},action:"POP",location:uZ(l,Wo(y)),push:this.handlePush,replace:this.handleReplace,go:ax("go"),goBack:ax("goBack"),goForward:ax("goForward"),listen:this.handleListen,block:this.handleBlock};return Dt.default.createElement(ol,xo({},m,{history:g,staticContext:d}))},t})(Dt.default.Component),px=(function(e){xn(t,e);function t(){return e.apply(this,arguments)||this}var o=t.prototype;return o.render=function(){var a=this;return Dt.default.createElement(Ar.Consumer,null,function(s){s||Mr(!1);var l=a.props.location||s.location,p,d;return Dt.default.Children.forEach(a.props.children,function(u){if(d==null&&Dt.default.isValidElement(u)){p=u;var y=u.props.path||u.props.from;d=y?vc(l.pathname,xo({},u.props,{path:y})):s.match}}),d?Dt.default.cloneElement(p,{location:l,computedMatch:d}):null})},t})(Dt.default.Component);var e6=Dt.default.useContext;function ea(){return e6(ZL)}function Wt(){return e6(Ar).location}var vn=T(E());var t6=(function(e){xn(t,e);function t(){for(var n,a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];return n=e.call.apply(e,[this].concat(s))||this,n.history=BL(n.props),n}var o=t.prototype;return o.render=function(){return vn.default.createElement(ol,{history:this.history,children:this.props.children})},t})(vn.default.Component),D$e=(function(e){xn(t,e);function t(){for(var n,a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];return n=e.call.apply(e,[this].concat(s))||this,n.history=LL(n.props),n}var o=t.prototype;return o.render=function(){return vn.default.createElement(ol,{history:this.history,children:this.props.children})},t})(vn.default.Component),cx=function(t,o){return typeof t=="function"?t(o):t},dx=function(t,o){return typeof t=="string"?Wo(t,null,null,o):t},ux=function(t){return t},nl=vn.default.forwardRef;typeof nl>"u"&&(nl=ux);function yZ(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}var mZ=nl(function(e,t){var o=e.innerRef,n=e.navigate,a=e.onClick,s=tl(e,["innerRef","navigate","onClick"]),l=s.target,p=xo({},s,{onClick:function(u){try{a&&a(u)}catch(y){throw u.preventDefault(),y}!u.defaultPrevented&&u.button===0&&(!l||l==="_self")&&!yZ(u)&&(u.preventDefault(),n())}});return ux!==nl?p.ref=t||o:p.ref=o,vn.default.createElement("a",p)}),Ic=nl(function(e,t){var o=e.component,n=o===void 0?mZ:o,a=e.replace,s=e.to,l=e.innerRef,p=tl(e,["component","replace","to","innerRef"]);return vn.default.createElement(Ar.Consumer,null,function(d){d||Mr(!1);var u=d.history,y=dx(cx(s,d.location),d.location),m=y?u.createHref(y):"",g=xo({},p,{href:m,navigate:function(){var b=cx(s,d.location),S=Po(d.location)===Po(dx(b)),C=a||S?u.replace:u.pu
9714sh;C(b)}});return ux!==nl?g.ref=t||l:g.innerRef=l,vn.default.createElement(n,g)})});var o6=function(t){return t},Om=vn.default.forwardRef;typeof Om>"u"&&(Om=o6);function gZ(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return t.filter(function(n){return n}).join(" ")}var P$e=Om(function(e,t){var o=e["aria-current"],n=o===void 0?"page":o,a=e.activeClassName,s=a===void 0?"active":a,l=e.activeStyle,p=e.className,d=e.exact,u=e.isActive,y=e.location,m=e.sensitive,g=e.strict,f=e.style,b=e.to,S=e.innerRef,C=tl(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return vn.default.createElement(Ar.Consumer,null,function(I){I||Mr(!1);var k=y||I.location,v=dx(cx(b,k),k),w=v.pathname,_=w&&w.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),D=_?vc(k.pathname,{path:_,exact:d,sensitive:m,strict:g}):null,M=!!(u?u(D,k):D),A=typeof p=="function"?p(M):p,N=typeof f=="function"?f(M):f;M&&(A=gZ(A,s),N=xo({},N,l));var $=xo({"aria-current":M&&n||null,className:A,style:N,to:v},C);return o6!==Om?$.ref=t||S:$.innerRef=S,vn.default.createElement(Ic,$)})});var Gm=T(E()),fZ=T(ua());var bZ="mwp-app-portal",n6=(0,Gm.memo)(e=>{let{appPortalRef:t}=(0,Gm.useContext)(oe);return i("aside",{className:e.className,"data-testid":bZ,ref:t})});var Qm=T(E());var SZ=[O.domainName,`www.${O.domainName}`,"localhost","127.0.0.1","[::]","[::1]",/.*-dot-entapps-web-dev.gae.sc-corp.net/],qo=e=>{for(let t of SZ)if(typeof t=="string"&&e.hostname===t||typeof t=="object"&&t.test(e.hostname))return!0;return!1},en=e=>{if(!e)return!1;try{let t=new URL(e);return qo(t)?!1:(O.sameTabDomains??[]).some(n=>t.hostname===n)}catch{}return!1},yx=e=>(t,o)=>{let n=new URL(e()),a=new URL(t,n);if(!qo(a))return!1;if(a.pathname==="/")return n.pathname==="/";if(!o?.ignoredPathPrefix)return n.pathname===a.pathname;let s=new RegExp(`^${o.ignoredPathPrefix}`);return n.pathname.replace(s,"")===a.pathname};var zm=[...O.persistentQueryParams??[],"gtm_debug","alternateMotif","mwp_debug","utm_source","utm_medium","utm_campaign","utm_content","utm_term"],r6=["lang"],a6=(e,t)=>qo(e)?!0:[...O.sameTabDomains??[],t.hostname].some(n=>e.hostname===n),i6=(e,t)=>{if(qo(e))return!0;let o=new Set(O.persistQueryParamsDomains??[]);return o.add(t.hostname),o.has(e.hostname)};var mx=T(E());var s6=T(E()),qn=(0,s6.createContext)({});var Um={stinsonPhase:"phase1",stinsonEnableTryOnTakePhoto:"true",testFeatureFlag:"false",homeRedirect:"false",disableLazyLoadLogging:"false",scrollToAnchor:"true",spsEnableAslStream:"true",spsEnableCaptions:"true",spsShowGoToStreamButton:"false",spsUseEventPlayer:"false",cookiesBasedBucketing:"false",enableDeviceSpecificMedia:"false",globalNavItemsPosition:"right",useChartDropdownToggle:"false",careersEnableJobDetailPage:"false",enableSiteSearch:"false",useContentAccordionItems:"true",enableHlsPlayback:"false",useSnapMotif:"false",useGhostMotif:"false",enablePersistentCtaScrollVisibility:"false",submitShopifyTrackingConsent:"true"};function It(){let{getCurrentUrl:e}=(0,mx.useContext)(oe),t=new URL(e()).searchParams,{sitewideValues:o}=(0,mx.useContext)(qn),a=o?.featureFlags?.featureFlags;return hZ(a,CZ(t))}function hZ(e,t){return{...Um,...O.featureFlags,...e,...t}}function CZ(e){let t={};if(!O.isDeploymentTypeProd)for(let o of Object.keys(Um)){let n=e.get(o);n&&(t[o]=n)}return t}var l6="businesshelp.snapchat.com",xZ={ar:"ar","da-DK":"da","de-DE":"de","el-GR":"el","en-GB":"en_GB","en-US":"en_US","es-ES":"es","es-MX":"es_MX","fi-FI":"fi","fr-CA":"fr","fr-FR":"fr","id-ID":"in","it-IT":"it","ja-JP":"ja","ko-KR":"ko","nb-NO":"no","nl-NL":"nl_NL","pl-PL":"pl","pt-BR":"pt_BR","pt-PT":"pt_PT","ru-RU":"ru","sv-SE":"sv","th-TH":"th","tr-TR":"tr","vi-VN":"vi","zh-Hans":"zh_CN","zh-Hant":"zh_TW"},p6=(e,t)=>{let o=xZ[t];o&&!e.searchParams.has("language")&&e.searchParams.set("language",o)};var vZ="http://",n5e=vZ.toUpperCase(),IZ="https://",r5e=IZ.toUpperCase();var kZ=(e,t,o)=>{let n=e.searchParams.get("referrer"),a=n?new URL(n):null;for(let s of o){let l=e.searchParams.get(s)??t.searchParams.get(s)??a?.searchParams.get(s);l&&(e.searchParams.set(s,l),a?.searchParams.set(s,l))}a&&e.searchParams.set("referrer",a.href)},Wm=(e,t,o=[])=>{kZ(e,t,[...j0,...Object.keys(Um),...o])},MZ=e=>e.hostname.includes("snap.com")||e.hostname.includes("snapchat.com")||e.hostname.includes("pixy.com")||e.hostname.includes("yellowla.com")||e.hostname.includes("spectacles.com")||e.hostname.includes("arcadiacreativestudio.com"),c6=(e,t)=>{!t||!MZ(e)||(e.hostname===l6?p6(e,t):e.searchParams.has("lang")||e.searchParams.set("lang",t))};var AZ=Object.keys(Ld);function qm(e){if(!e.destination)return{};let t=new URL(e.destination,e.currentUrl),o=a6(t,e.currentUrl),n=i6(t,e.currentUrl),a=e.newTab!==void 0?e.newTab:!o,s=qo(t);if(e.isDownload)return{href:t.href,rel:s?"opener":"noopener",target:"_blank"};let l=[...n?zm:[],...r6];if(Wm(t,e.currentUrl,l),s||c6(t,e.locale),s){let p=AZ.find(d=>t.pathname.match(`^/${d}(/|$)`));p&&(t.pathname=t.pathname.replace(`/${p}`,""))}return s&&t.pathname.length>1&&t.pathname[t.pathname.length-1]==="/"&&(t.pathname=t.pathname.slice(0,-1)),{href:t.href,rel:s?"opener":"noopener",target:a?"_blank":"_self"}}var kc=null,d6=()=>
9714{if(kc!==null)return kc;if(typeof window>"u"||typeof window.matchMedia!="function")return!1;let e=window.matchMedia("(prefers-reduced-motion: reduce)");return kc=e.matches,e.addEventListener("change",t=>{kc=t.matches}),kc};var Qn=(0,Qm.forwardRef)((e,t)=>{let{currentLocale:o,getCurrentUrl:n}=(0,Qm.useContext)(oe);if(!e.href)return i("a",{...e,ref:t});let a=new URL(n()),s=qm({destination:e.href,currentUrl:a,locale:o,isDownload:e.download}),l=new URL(s.href,a);if(qo(l)){let{href:p,onClick:d,...u}=e;return i(Ic,{...u,onClick:m=>{d?.(m);let g=m.metaKey||m.altKey||m.ctrlKey||m.shiftKey;if(m.defaultPrevented||m.button!==0||g)return;let f=new URL(n());!l.hash&&l.pathname===f.pathname&&l.search===f.search&&(document.body.tabIndex=-1,document.body.focus({preventScroll:!0}),document.body.removeAttribute("tabindex"),window.scrollTo({top:0,behavior:d6()?"auto":"smooth"}))},ref:t,to:{pathname:l.pathname,search:l.search,hash:l.hash},target:"_self"})}return i("a",{ref:t,...e,...s})});var Tc=T(E());var u6=T(E()),Se=(0,u6.createContext)({elementLocation:void 0});var jn=T(E());var P6=T(E());var Qt=T(E());var rl=T(E());var TZ="view",y6=({view:e,queryParameterName:t=TZ,onOpen:o,onClose:n,ignore:a=!1})=>{let s=ea(),{search:l}=Wt(),p=e??"",d=p!=="",u=(0,rl.useMemo)(()=>new URLSearchParams(l).get(t),[t,l]),y=!a&&d&&u===p,m=y,g=(0,rl.useCallback)(S=>{let C=s.location.search,I=new URLSearchParams(C);S===void 0?I.delete(t):I.set(t,S);let k=I.toString(),v=k?`?${k}`:"";v!==C&&s.push({hash:s.location.hash,pathname:s.location.pathname,search:v})},[s,t]),f=(0,rl.useCallback)(()=>{a||!d||(g(p),o?.())},[p,d,a,o,g]);return{closeDrawer:(0,rl.useCallback)(()=>{a||!y||(g(void 0),n?.())},[a,n,y,g]),isOpen:m,openDrawer:f}};var mo=T(E());var Km=T(E());var m6=T(E()),tn=(0,m6.createContext)({currentLocale:"en-US",supportedLocales:{}});function _Z(e){return typeof e=="function"?e:fd}var g6=_Z;function wZ(e,t){var o=Ko(e)?Ak:Ha;return o(e,g6(t))}var f6=wZ;var b6=e=>{let t="";return f6(e,(o,n)=>{ht(o)||(t.length===0?t=`${n}=${o}`:t=`${t}&${n}=${o}`)}),t},S6=e=>{let t={};return new URLSearchParams(e).forEach((o,n)=>{o&&(t[n]=o)}),t};var al=()=>{let{search:e}=Wt(),{getUrlParams:t}=(0,Km.useContext)(tn);return(0,Km.useMemo)(()=>{let o=t?.()??{};return new URLSearchParams(o)},[e,t])};async function h6(e,t){let o=new URLSearchParams({market:e});t&&o.set("lang",t);try{let n=await fetch(`/api/shopify/products?${o.toString()}`,{cache:"no-store",credentials:"same-origin"});return n.ok?await n.json():null}catch{return null}}var gx="mwp-stinson-market";function il(e){return e===di||x6(e)}var PZ={US:"USD",FR:"EUR",GB:"GBP"},C6=G0.map(e=>({countryCode:e,currencyCode:PZ[e]}));function NZ(e){if(e)return C6.find(t=>t.countryCode===e)}function x6(e){return NZ(e)!==void 0}function jm(){return C6[0]}function EZ(e){return e==="ZZ"?"US":e}function v6(e){let t=Array.isArray(e)?e[0]:e;if(!t)return;let o=t.toUpperCase();return il(o)?o:void 0}function I6(e){if(e)return il(e)?e.toLowerCase():void 0}function k6(e){let t=Array.isArray(e.queryParam)?e.queryParam[0]:e.queryParam;if(il(t))return t;let o=EZ(e.geoCountry);return x6(o)?o:e.fallback??jm().countryCode}var RZ=({node:e},t)=>{let o=Number(e.price.amount??"0"),n=t!=null&&t!==o;return{id:e.id,title:e.title,sku:e.sku,price:t??o,...n?{dueTodayPrice:o}:{},available:e.availableForSale,selectedOptions:e.selectedOptions.map(({name:a,value:s})=>({name:a,value:s})),compareAtPrice:e.compareAtPrice??null,currencyCode:e.price.currencyCode,quantityAvailable:e.quantityAvailable??null,quantityRule:e.quantityRule}},FZ=(e,t)=>{if(!e)return;let o=l=>Bn({component:"ShopifyProvider",message:`issue with "${t}.sellingplandata": ${l}`}),n;try{n=JSON.parse(e)}catch{o("invalid JSON \u2014 skipping");return}if(!n||typeof n!="object"||Array.isArray(n)){o(`expected an object keyed by currency code, got ${Array.isArray(n)?"array":typeof n}`);return}let a=Object.entries(n);if(a.length===0){o("object is empty");return}let s={};for(let[l,p]of a){if(!p||typeof p!="object"){o(`currency "${l}" value is not an object`);return}let d=p;if(typeof d.amount!="number"||d.amount<=0){o(`currency "${l}
9714" has invalid amount: ${JSON.stringify(d.amount)}`);return}let u=typeof d.selling_plan_id=="number"?`gid://shopify/SellingPlan/${d.selling_plan_id}`:void 0;s[l.toUpperCase()]={sellingPlanId:u,amount:d.amount}}return s},BZ=(e,t,o)=>{let n=(d,u)=>Be({component:"ShopifyProvider",message:`issue with "${t}.finalpricedata": ${d}`,error:u});if(!e){n("empty value \u2014 falling back to Shopify price");return}let a;try{a=JSON.parse(e)}catch(d){n("invalid JSON \u2014 falling back to Shopify price",d);return}if(!a||typeof a!="object"||Array.isArray(a)){n(`expected an object keyed by currency code, got ${Array.isArray(a)?"array":typeof a}`);return}let s=a[o.toUpperCase()];if(!s||typeof s!="object"||Array.isArray(s)){n(`missing valid "${o}" entry \u2014 falling back to Shopify price`);return}let{amount:l}=s,p=Number(l);if(!Number.isFinite(p)||p<=0){n(`currency "${o}" has invalid amount: ${JSON.stringify(l)}`);return}return p},$Z=(e,t)=>{let o=e?.find(a=>a?.namespace==="custom"&&a?.key==="maxquantity");if(o?.value)return Number.parseInt(o.value);let n=t?.node.metafields?.find(a=>a?.key==="maxQuantity");return n?Number.parseInt(n.value):void 0},LZ=(e,t,o)=>{let n=e?.node.metafields?.find(a=>a?.key==="ATPBufferDays");return n?o({available:t,atp:Number.parseInt(n.value)}):null},M6=(e,t)=>{let o={},n={};if(!e)return{catalog:o,productOptionById:n};for(let{node:a}of e.products.edges){let s=a.handle,l=a.variants.edges[0],p=a.priceRange.maxVariantPrice.currencyCode,d=a.metafields?.find(b=>b?.namespace==="custom"&&b?.key==="sellingplandata"),u=a.metafields?.find(b=>b?.namespace==="custom"&&b?.key==="finalpricedata"),y=u?BZ(u.value,s,p):void 0,m=y!=null?void 0:FZ(d?.value,s),g=a.variants.edges.map(b=>RZ(b,y)),f={productKey:s,nodeId:a.id,title:a.title,featuredImage:a.featuredImage?.url,images:a.images?.edges.map(b=>b.node)??[],available:a.availableForSale,options:g,maxQuantity:$Z(a.metafields,l),currencyCode:p,atpMessage:LZ(l,a.availableForSale,t),descriptionHtml:a.descriptionHtml,...m?{sellingPlan:{depositData:m,requiresPlan:a.requiresSellingPlan??!1}}:{}};o[s]=f;for(let b of g)n[b.id]={productKey:s,option:b}}return{catalog:o,productOptionById:n}};var HZ={catalog:{},productOptionById:{}},qt=(0,mo.createContext)(HZ),fx=({children:e,shopifyData:t})=>{let{userLocation:{country:o}}=(0,mo.useContext)(oe),{formatMessage:n}=(0,mo.useContext)(Qe),{currentLocale:a}=(0,mo.useContext)(We),s=ea(),l=al(),[p,d]=(0,mo.useState)(t),u=(0,mo.useRef)(),y=(0,mo.useCallback)(({available:D,atp:M=0})=>{if(M===0&&D)return n({id:"shopifyATPTodayFreeShipping",defaultMessage:"Ships for free today"});if(M>0&&D){if(M<7)return M===1?n({id:"shopifyATPDayFreeShipping",defaultMessage:"Ships for free in 1 day"}):n({id:"shopifyATPDaysFreeShipping",defaultMessage:"Ships for free in {days} days"},{days:String(M)});let A=M%7,N=(M-A)/7,$=`${N}-${N+1}`;return N===1?n({id:"shopifyATPWeekFreeShipping",defaultMessage:"Ships for free in 1 week"}):n({id:"shopifyATPWeeksFreeShipping",defaultMessage:"Ships for free in {weeks} weeks"},{weeks:$})}return null},[n]),m=(0,mo.useMemo)(()=>k6({queryParam:v6(l.get("market")),geoCountry:o,fallback:di}),[o,l]),g=m===di?jm().countryCode:m,f=(0,mo.useCallback)(async D=>{if(typeof window>"u"||!il(D))return;let M=D===di?jm().countryCode:D,A=(a??"en-US").slice(0,2).toUpperCase();u.current=D;let N=await h6(M,A);if(u.current!==D||!N)return;ui(gx,D);let $=new URL(window.location.href);$.searchParams.set("market",I6(D)??D),s.replace(`${$.pathname}${$.search}${$.hash}`),d(N)},[a,s]);if((0,mo.useEffect)(()=>{if(typeof window>"u"||l.has("market"))return;let D=cs(gx);il(D)&&D!==m&&f(D)},[m,l,f]),!O.shopify)return i(se,{children:e});let{catalog:b,productOptionById:S}=M6(p,y),C=O.shopify?.singleStoreMode===!0,I;if(C){let D=Object.keys(O.shopify?.stores??{});I=O.shopify.stores[D[0]]?.[O.deploymentType]}else{let D=O.shopify?.stores[g];I=D?D[O.deploymentType]:void 0}let v=Object.values(b)[0]?.currencyCode??p?.shop.paymentSettings.currencyCode,_=l.has("market")?m!==di:p?.shop?.shipsToCountries?.includes(m);return i(qt.Provider,{value:{catalog:b,productOptionById:S,store:I,currencyCode:v,shopData:p?.shop,rawShopifyResponse:p,isCountrySupported:_,market:g,selectedMarketCode:m,setMarket:f},children:e})};var A6=(e,t,o)=>{let n=t?.sellingPlan?.depositData&&o?t.sellingPlan.depositData[o]?.amount:void 0;return e.dueTodayPrice??n??e.price};var bx="???",Ei=({catalog:e,currencyCode:t,lines:o,productOptionById:n})=>{let a=0,s=o.map(({optionId:p,quantity:d})=>{let u=n[p],y=u?.option,m=u?e[u.productKey]:void 0;
9714if(!m||!y)return Bn({component:"Cart",message:`Unable to resolve product/option for cart analytics; logging placeholder values. productKey: ${u?.productKey??"undefined"}, optionId: ${p}`}),{item_id:bx,item_name:bx,item_variant:bx,price:0,quantity:d,shopify_id:p};let g=A6(y,m,t??void 0);return a+=g*d,{item_id:y.sku,item_name:m.title,item_variant:y.title,price:g,quantity:d,shopify_id:p}}),l=O.shopify?.options?.getExtraEcommerceItems?.(o);return l?.length&&s.push(...l),{value:a,currency:t??null,items:s}};var oa=(e,t,o)=>{if(e.optionId!==t)return!1;let n=o??{},a=e.attributes??{},s=Object.keys(n);return s.length!==Object.keys(a).length?!1:s.every(l=>n[l]===a[l])},T6={lines:[],isHydrated:!1},_6=(e,t)=>{switch(t.type){case"hydrate":return{lines:t.lines,isHydrated:!0};case"addLine":{let{optionId:o,productKey:n,attributes:a}=t,s=e.lines.findIndex(p=>oa(p,o,a)),l=s>=0?e.lines.map((p,d)=>d===s?{...p,quantity:p.quantity+1}:p):[...e.lines,{optionId:o,productKey:n,quantity:1,...a?{attributes:a}:{}}];return{...e,lines:l}}case"removeLine":{let{optionId:o,attributes:n}=t,a=e.lines.findIndex(p=>oa(p,o,n));if(a<0)return e;let l=e.lines[a].quantity<=1?e.lines.filter((p,d)=>d!==a):e.lines.map((p,d)=>d===a?{...p,quantity:p.quantity-1}:p);return{...e,lines:l}}case"removeLineEntirely":{let{optionId:o,attributes:n}=t,a=e.lines.findIndex(s=>oa(s,o,n));return a<0?e:{...e,lines:e.lines.filter((s,l)=>l!==a)}}case"updateLine":{let{optionId:o,attributes:n,newOptionId:a,newAttributes:s}=t,l=e.lines.findIndex(m=>oa(m,o,n)),p=e.lines[l];if(!p)return e;let d=e.lines.findIndex(m=>oa(m,a,s)),u=s&&Object.keys(s).length>0,y=d>=0&&d!==l?e.lines.map((m,g)=>g===d?{...m,quantity:m.quantity+p.quantity}:m).filter((m,g)=>g!==l):e.lines.map((m,g)=>g===l?{productKey:p.productKey,quantity:p.quantity,optionId:a,...u?{attributes:s}:{}}:m);return{...e,lines:y}}case"clearCart":return{...e,lines:[]};default:return e}};var w6="mwp-shopify-cart",D6={lines:[],cartOpen:!1,isHydrated:!1,addLine:ir,removeLine:ir,removeLineEntirely:ir,updateLine:ir,clearCart:ir,setCartOpen:ir,discountCode:"",setDiscountCode:ir},VZ=e=>{try{return new URL(e).searchParams.get("discount")??""}catch{return""}},OZ=e=>{if(!e||typeof e!="object")return null;let t=e;if("lineItems"in t&&!("lines"in t)||!Array.isArray(t.lines))return null;let o=t.lines;for(let n of o){if(!n||typeof n!="object")return null;let a=n;if(typeof a.optionId!="string"||typeof a.productKey!="string"||typeof a.quantity!="number"||a.quantity<1||a.attributes!==void 0&&(typeof a.attributes!="object"||a.attributes===null||!Object.values(a.attributes).every(s=>typeof s=="string")))return null}return t.lines},GZ=e=>{ui(w6,JSON.stringify({lines:e}))};var Sx=()=>{let e=(0,Qt.useContext)(oe),{elementLocation:t}=(0,Qt.useContext)(Se),{catalog:o,productOptionById:n}=(0,Qt.useContext)(qt),a=e.userLocation.country,s=VZ(e.getCurrentUrl()),[{lines:l,isHydrated:p},d]=(0,Qt.useReducer)(_6,T6),[u,y]=(0,Qt.useState)(s),{isOpen:m,openDrawer:g,closeDrawer:f}=y6({view:"cart"}),b=(0,Qt.useCallback)(D=>{it({eventCategory:"Cart",eventAction:"Click",eventLabel:D?"Open Cart":"Close Cart",subscribedEventType:"user_interaction"}),D?g():f()},[g,f]),S=(0,Qt.useCallback)(({productKey:D,optionId:M,currencyCode:A,openCart:N=!1,attributes:$})=>{o[D]&&(d({type:"addLine",optionId:M,productKey:D,attributes:$}),it({subscribedEventType:"ecommerce",eventCategory:"Cart",eventAction:"Add",eventLabel:M,context:{elementLocation:t},eventName:"add_to_cart",ecommerce:Ei({catalog:o,currencyCode:A,lines:[{optionId:M,quantity:1,attributes:$}],productOptionById:n})}),N&&g())},[o,t,g,n]),C=(0,Qt.useCallback)(({productKey:D,optionId:M,currencyCode:A,attributes:N})=>{!o[D]||l.findIndex(L=>oa(L,M,N))<0||(d({type:"removeLine",optionId:M,attributes:N}),it({subscribedEventType:"ecommerce",eventCategory:"Cart",eventAction:"Remove",eventLabel:M,context:{elementLocation:t},eventName:"remove_from_cart",ecommerce:Ei({catalog:o,currencyCode:A,lines:[{optionId:M,quantity:1,attributes:N}],productOptionById:n})}))},[l,o,t,n]),I=(0,Qt.useCallback)(({productKey:D,optionId:M,currencyCode:A,attributes:N})=>{if(!o[D])return;let B=l.findIndex(H=>oa(H,M,N));if(B<0)return;let L=l[B].quantity;d({type:"removeLineEntirely",optionId:M,attributes:N}),it({subscribedEventType:"ecommerce",eventCategory:"Cart",eventAction:"Remove",eventLabel:M,context:{elementLocation:t},eventName:"remove_from_cart",ecommerce:Ei({catalog:o,currencyCode:A,lines:[{optionId:M,quantity:L,attributes:N}],productOptionById:n})})},[l,o,t,n]),k=(0,Qt.useCallback)(({productKey:D,optionId:M,currencyCode:A,attributes:N,newOptionId:$,newAttributes:B})=>{if(!o[D]||M===$&&us(N??{},B??{}))return;let H=l.find(j=>oa(j,M,N));if(!H)return;let z=H.quantity;d({type:"updateLine",optionId:M,attributes:N,newOptionId:$,newAttributes:B}),it({subscribedEventType:"ecommerce",eventCategory:"Cart",eventAction:"Edit > Remove",eventLabel:M,context:{elementLocation:t},eventName:"remove_from_cart",ecommerce:Ei({catalog:o,currencyCode:A,lines:[{optionId:M,quantity:z,attributes:N}],productOptionById:n})}),it({subscribedEventType:"ecommerce",eventCategory:"Cart",eventAction:"Edit > Add",eventLabel:$,context:{elementLocation:t},eventName:"add_to_cart",ecommerce:Ei({catalog:o,currencyCode:A,lines:[{optionId:$,quantity:z,attributes:B}],productOptionById:n})})},[l,o,t,n]),v=(0,Qt.useCallback)(({currencyCode:D})=>{l.length&&it({subscribedEventType:"ecommerce",eventCategory:"Cart",eventAction:"Clear",eventLabel:null,context:{elementLocation:t},eventName:"remove_from_cart",ecommerce:Ei({catalog:o,currencyCode:D,lines:l,productOptionById:n})}),d({type:"clearCart"})},[l,o,t,n]),w=(0,Qt.useCallback)(()=>{let D=cs(w6);if(D)try{let M=JSON.parse(D),A=OZ(M);if(A){d({type:"hydrate",lines:A});return}}catch{}d({type:"hydrate",lines:[]})},[]);(0,Qt.useEffect)(()=>{O.shopify&&w()},[a,w]);let _=(0,Qt.useRef)(!1);return(0,Qt.useEffect)(()=>
9714{if(!_.current){_.current=!0;return}GZ(l)},[l]),{lines:l,cartOpen:m,isHydrated:p,addLine:S,removeLine:C,removeLineEntirely:I,updateLine:k,clearCart:v,setCartOpen:b,discountCode:u,setDiscountCode:y}};var on=(0,P6.createContext)(D6),Ym=({children:e})=>{let t=Sx();return i(on.Provider,{value:t,children:e})};Ym.displayName="CartProvider";var Xm=T(E());var zZ=e=>{let t=new Map;for(let o of e)t.set(o.productKey,(t.get(o.productKey)??0)+o.quantity);return t},hx=e=>{let{lines:t}=(0,Xm.useContext)(on);return(0,Xm.useMemo)(()=>e?zZ(t).get(e)??0:0,[t,e])};var UZ=[2560,1440,1024,768,425,375,320],FLe=UZ.reverse();var Ri=e=>`@media (min-width: ${e}px)`,Tr={over320_mobile_small:Ri(320),over375_mobile_medium:Ri(375),over425_mobile_large:Ri(425),over768_desktop_small:Ri(768),over1024_desktop_medium:Ri(1024),over1440_desktop_large:Ri(1440),over2560_desktop_larger:Ri(2560)};var N6=c` 9715 color: ${r("--palette-gray-v300")}; 9716 border: 1px solid ${r("--palette-gray-v300")}; 9717 background-color: ${r("--palette-gray-v200")}; 9718`,Cx=c` 9719 position: relative; 9720 margin-top: ${16}px; 9721`,E6=c` 9722 background: ${r("--palette-black-v200")}; 9723 border-radius: 6px; 9724 box-shadow: 0px 6px 12px 4px rgba(0, 0, 0, 0.1); 9725 color: ${r("--palette-plain-white")}; 9726 font-size: 14px; 9727 font-weight: 700; 9728 position: absolute; 9729 bottom: 125%; 9730 left: 0; 9731 padding: 6px 7px; 9732 text-align: center; 9733 width: 100%; 9734 9735 &:after { 9736 content: ''; 9737 position: absolute; 9738 top: 100%; 9739 left: 50%; 9740 margin-left: -5px; 9741 border-width: 5px; 9742 border-style: solid; 9743 border-color: ${r("--palette-black-v200")} transparent transparent transparent; 9744 } 9745 9746 ${Tr.over768_desktop_small} { 9747 padding: 6px ${8}px; 9748 } 9749`;var qZ=({productKey:e="",optionId:t,showTooltip:o,label:n,buttonType:a=Lo.Primary,buttonClassName:s,onAfterAdd:l,hideMaxQuantityTooltip:p,openCart:d=!0,attributes:u,buttonTextDataset:y,forceDisabled:m})=>{let g=(0,jn.useContext)(on),{catalog:f,currencyCode:b=""}=(0,jn.useContext)(qt),S=f[e],C=(0,jn.useContext)(Se).elementLocation,I=hx(e);if(!S)return null;let k=t||S.options[0]?.id,v=S.maxQuantity!=null&&I>=S.maxQuantity,w=v||!S.available||!!m,_=()=>v?i(Fn,{id:"maxCartQuantity",values:{quantity:String(S.maxQuantity)},defaultMessage:"Limit {quantity} per customer."}):null,D=()=>{w||(fe({eventCategory:"AddToCart",eventAction:"Click",eventLabel:`add_to_cart: ${e}`,context:{elementText:"Add to Cart",elementLocation:C}}),g.addLine({productKey:e,optionId:k??"",currencyCode:b,openCart:d,...u?{attributes:u}:{}}),l?.())};return x(se,{children:[i(Kt,{type:a,className:h(s,w&&!s?N6:void 0),onClick:D,disabled:w,buttonTextDataset:y,children:n??i(Fn,{id:"addToCart",defaultMessage:"Add to Cart"})}),o&&v&&!p&&i("span",{className:E6,children:_()})]})},Jm=({className:e,productKey:t="",optionId:o,label:n,buttonType:a,buttonClassName:s,onAfterAdd:l,hideMaxQuantityTooltip:p,keepButtonOnUnavailable:d,openCart:u,attributes:y,buttonTextDataset:m})=>{let{store:g,catalog:f,isCountrySupported:b}=(0,jn.useContext)(qt),S=!!g&&b!==!1,C=(0,jn.useRef)(null),[I,k]=(0,jn.useState)(!1),v=f[t],w=S&&!!v?.available;return(0,jn.useEffect)(()=>{let _=C.current;if(!_)return;let D=()=>k(!0),M=()=>k(!1);return _.addEventListener("mouseenter",D),_.addEventListener("mouseleave",M),()=>{_.removeEventListener("mouseenter",D),_.removeEventListener("mouseleave",M)}},[]),!w&&!d?i("div",{ref:C,className:h(e,"sdsm-default",Cx),children:"Product not available in your country"}):x("div",{ref:C,className:h(e,"sdsm-default",Cx),children:[i(qZ,{productKey:t,optionId:o,showTooltip:I,label:n,buttonType:a,buttonClassName:s,onAfterAdd:l,hideMaxQuantityTooltip:p,openCart:u,attributes:y,buttonTextDataset:m,forceDisabled:!w}),!w&&i("p",{children:"Product not available in your country"})]})};Jm.displayName="AddToCart";var Ac=T(E());var xx=T(E());var Mc=e=>{let{currentLocale:t}=(0,xx.useContext)(oe),{currencyCode:o}=(0,xx.useContext)(qt);return e===0?"":new Intl.NumberFormat(t,{style:"currency",currency:o??"USD"}).format(e)};var Fi=({productPrice:e,className:t})=>{let o=Mc(e);return i("div",{className:h("mw-price",t),children:o})};var R6=e=>c` 9750 background-color: ${r("--palette-plain-white")}; 9751 box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.06); 9752 display: flex; 9753 flex-direction: column; 9754 align-items: center;
9755 justify-content: ${e?"normal":"center"}; 9756 height: 100%; 9757 overflow-y: auto; 9758 pointer-events: none; 9759 position: fixed; 9760 right: -400px; 9761 top: 0; 9762 transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1); 9763 z-index: 100; 9764 width: 375px; 9765 text-align: center; 9766`,F6=c` 9767 opacity: 1; 9768 pointer-events: all; 9769 right: 0; 9770 left: 0; 9771 width: 100%; 9772 9773 ${Tr.over768_desktop_small} { 9774 left: unset; 9775 width: 400px; 9776 } 9777`,B6=c` 9778 background-color: ${tr}cc; 9779 position: fixed; 9780 opacity: 0; 9781 top: 0; 9782 right: 0; 9783 width: 100%; 9784 height: 100%; 9785 transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1); 9786 display: none; 9787 9788 ${Tr.over768_desktop_small} { 9789 display: unset; 9790 } 9791`,$6=c` 9792 opacity: 1; 9793 right: 400px; 9794`,L6=c` 9795 position: relative; 9796 display: flex; 9797 flex-direction: column; 9798 align-items: center; 9799`,H6=c` 9800 color: ${r("--palette-black-v200")}; 9801 cursor: pointer; 9802 background: transparent; 9803 border-radius: 50px; 9804 padding-top: ${16}px; 9805 padding-right: ${16}px; 9806`,V6=c` 9807 font-weight: bold; 9808`,O6=c` 9809 display: flex; 9810 flex-direction: column; 9811 align-items: center; 9812 margin: 0 ${8}px; 9813`,G6=e=>c` 9814 background: url(${e}) no-repeat center center; 9815 background-size: contain; 9816 width: 200px; 9817 height: 200px; 9818`,z6=c` 9819 display: flex; 9820 justify-content: flex-end; 9821 width: 100%; 9822 height: ${40}px; 9823`,U6=c` 9824 color: ${r("--palette-plain-white")}; 9825 width: ${40}px; 9826 height: ${40}px; 9827 background-color: ${r("--palette-black-v200")}; 9828 display: flex; 9829 align-items: center; 9830 justify-content: center; 9831 border-radius: 20px; 9832 margin: 20px 5px; 9833`,u6e=c` 9834 width: 100%; 9835 max-width: 400px; 9836 padding: 0 ${40}px; 9837`,y6e=c` 9838 display: flex; 9839 align-items: center; 9840 justify-content: space-between; 9841 border: 1px solid ${r("--palette-gray-v150")}; 9842 margin: ${16}px 0; 9843 padding: 0 ${16}px; 9844`,m6e=c` 9845 width: ${40}px; 9846 height: ${40}px; 9847 display: flex; 9848 align-items: center; 9849 justify-content: center; 9850 margin: 20px ${16}px; 9851`,W6=c` 9852 display: flex; 9853 align-items: center; 9854`,g6e=c` 9855 padding: ${12}px 0; 9856 text-align: left; 9857`,f6e=c` 9858 margin-bottom: ${4}px; 9859 font-weight: 500; 9860`,vx=c` 9861 background: ${r("--palette-plain-white")}; 9862 border: 1px solid ${r("--palette-gray-v200")}; 9863 color: ${r("--palette-black-v200")}; 9864 cursor: pointer; 9865 font-size: 12px; 9866 width: ${32}px; 9867 height: ${32}px; 9868 display: flex; 9869 align-items: center; 9870 justify-content: center; 9871 border-radius: 20px; 9872 margin: 0 ${4}px; 9873 transition: border 0.05s ease-in-out; 9874 9875 &:hover { 9876 border: 2px solid ${r("--palette-yellow-v100")}; 9877 box-shadow: 0 2px 4px rgba(0, 0, 0, 0.14); 9878 } 9879`,q6=c` 9880 background: ${r("--palette-gray-v100")}; 9881 border: unset; 9882 color: ${r("--palette-gray-v300")}; 9883 cursor: default; 9884 pointer-events: none; 9885`,b6e=c` 9886 background: ${r("--palette-plain-white")}; 9887 color: ${r("--palette-black-v200")}; 9888 cursor: pointer; 9889 font-size: 12px; 9890`,S6e=c` 9891 color: ${r("--palette-gray-v300")}; 9892 pointer-events: none; 9893`,Q6=c` 9894 margin: ${16}px 0; 9895 font-size: 30px; 9896`,K6=c` 9897 color: ${r("--palette-gray-v300")}; 9898`,j6=c` 9899 font-size: 24px; 9900`,Y6=c` 9901 margin-top: ${8}px; 9902 text-align: center; 9903`,X6=c` 9904 font-size: 16px; 9905 font-weight: 600; 9906`,J6=c` 9907 font-size: 12px; 9908 color: ${r("--palette-gray-v300")}; 9909`,Z6=c` 9910 font-size: 14px; 9911 color: ${r("--palette-gray-v300")}; 9912 text-decoration: line-through; 9913`,e8=c` 9914 margin-top: ${40}px; 9915 font-size: 24px; 9916 text-align: center; 9917`,t8=c` 9918 button.sdsm-button { 9919 background-color: transparent; 9920 } 9921 9922 margin-top: ${16}px; 9923 padding: 0 ${16}px; 9924`,o8=c` 9925 color: ${r("--palette-gray-v300")}; 9926 margin-top: ${32}px; 9927 padding-bottom: ${40}px; 9928`,n8=c` 9929 display: flex; 9930 flex: 1; 9931 flex-direction: column; 9932 align-items: center; 9933 justify-content: center; 9934`,r8=c` 9935 text-align: center; 9936 font-size: 24px; 9937`,a8=e=>c` 9938 background: url(${e}) no-repeat center center; 9939 background-size: contain; 9940 width: 200px; 9941 height: 200px; 9942`,i8=c` 9943 text-align: center; 9944 font-size: 30px; 9945`,s8=c` 9946 margin-top: ${16}px; 9947 font-size: 24px; 9948`,l8=c` 9949 margin-top: ${16}px; 9950`,p8=c` 9951 background: transparent; 9952 color: ${r("--palette-black-v200")}; 9953 cursor: pointer; 9954 font-size: 22px; 9955 display: flex; 9956 align-items: center; 9957 position: relative; 9958 text-decoration: none; 9959`,c8=c` 9960 background-color: ${r("--palette-yellow-v100")}; 9961 border-radius: 50%; 9962 position: absolute; 9963 font-size: 16px; 9964 font-weight: 400; 9965 top: -14px; 9966 left: 13px; 9967 text-align: center; 9968 padding: ${12}px; 9969 width: 8px; 9970 height: 8px; 9971 display: flex; 9972 align-items: center; 9973 justify-content: center; 9974 9975 ${Tr.over768_desktop_small} { 9976 top: -18px; 9977 left: 15px; 9978 } 9979`,d8=c` 9980 margin: 0 -2.5px; 9981`;var u8=({productKey:e,title:t,image:o,atpMessage:n,price:a,optionId:s,maxQuantity:l,optionTitle:p,sellingPlanDepositData:d})=>{let u=(0,Ac.useContext)(on),{currencyCode:y=""}=(0,Ac.useContext)(qt),{formatMessage:m}=(0,Ac.useContext)(Qe),g=(0,Ac.useContext)(Se).elementLocation,b=u.lines.find(k=>k.optionId===s)?.quantity??0,S=l===b,I=(d&&y?d[y]:null)?.amount??null;return x("div",{className:O6,children:[i("div",{className:G6(o)}),x("div",{className:Q6,children:[t,p&&p!=="Default Title"?` - ${p}`:""]}),I?x("div",{className:Y6,children:[i(Fi,{className:Z6,productPrice:a}),i(Fi,{className:X6,productPrice:I}),i("div",{className:J6,children:m({id:"depositDueToday",defaultMessage:"Deposit due today"})})]}):i(Fi,{className:j6,productPrice:a}),x("div",{className:W6,children:[i("button",{onClick:()=>{fe({eventCategory:"CartItem",eventAction:"ItemRemove",eventLabel:`line_item_remove: ${s}`,context:{elementText:t,elementLocation:g}}),u.removeLine({productKey:e,optionId:s,currencyCode:y})},className:vx,children:i(we,{name:"remove"})}),i("span",{className:U6,children:b}),i("button",{disabled:S,onClick:()=>{fe({eventCategory:"CartItem",eventAction:"ItemAdd",eventLabel:`line_item_add: ${s}`,context:{elementText:t,elementLocation:g}}),u.addLine({productKey:e,optionId:s,currencyCode:y})},className:h(vx,{[q6]:S}),children:i(we,{name:"add"})})]}),n&&i("div",{className:K6,children:n})]})};var Zm=T(E());var Ix=()=>{let{userLocation:e,getCurrentUrl:t,currentLocale:o}=(0,Zm.useContext)(oe),n=(0,Zm.useContext)(on),{store:a,currencyCode:s,catalog:l,market:p}=(0,Zm.useContext)(qt),{options:d}=O.shopify??{},u=[];
9981n.lines.forEach((k,v)=>{let w=k.optionId.match(/\/(\d+)/)?.[1];if(!w)return;u.push(`items[${v}][id]=${w}`),u.push(`items[${v}][quantity]=${k.quantity}`);let _=s&&l[k.productKey]?.sellingPlan?.depositData?.[s]?.sellingPlanId;if(_){let D=_.match(/\/(\d+)/)?.[1];D&&u.push(`items[${v}][selling_plan]=${D}`)}});let y={"attributes[locale]":o,locale:o,"checkout[shipping_address][country]":p??e.country,...s?{currency:s}:{},access_token:a?.storefrontAccessToken??"","attributes[source]":"web"};d?.checkoutQueryParams&&(y={...y,...d.checkoutQueryParams}),n.discountCode&&(y.discount=n.discountCode);let m=d?.getCheckoutAttributes?.(n.lines);m&&(y={...y,...m});let g=Object.entries(y).map(([k,v])=>`${k}=${v}`).join("&"),f=u.join("&"),b=new URL(`https://${a?.domain}/checkout?${g}`);Wm(b,new URL(t()),zm);let S=b.pathname+b.search,C=`/cart/add?${f}&return_to=${encodeURIComponent(S)}`;return new URL(`https://${a?.domain}/cart/clear?return_to=${encodeURIComponent(C)}`)};var kx=()=>{let e=(0,Tc.useContext)(Se).elementLocation,{formatMessage:t}=(0,Tc.useContext)(Qe),{catalog:o,productOptionById:n,currencyCode:a}=(0,Tc.useContext)(qt),s=(0,Tc.useContext)(on),l=O.shopify?.options.featuredProduct??"",p=o[l],d=Ix(),u=t({id:"cartCheckoutButton",defaultMessage:"Checkout"}),y=t({id:"cartCheckoutDisclaimer",defaultMessage:"Shipping calculated at checkout"}),m=t({id:"noCartItems",defaultMessage:"Nothing added to cart yet"}),g=s.lines.length>0,f=s.lines.reduce((v,w)=>{let _=n[w.optionId];return _?v+_.option.price*w.quantity:v},0),b=s.lines.reduce((v,w)=>{let _=n[w.optionId];if(_){let D=o[_.productKey],A=(D?.sellingPlan?.depositData&&a?D.sellingPlan.depositData[a]:void 0)?.amount??_.option.price;return v+A*w.quantity}return v},0),S=b!==f,C=Mc(S?b:f),I=t({id:S?"cartDepositTotal":"cartTotal",defaultMessage:S?"Due today {total}":"Total {total}"},{total:C}),k=()=>{fe({eventAction:"Click",eventCategory:"CheckoutButton",eventLabel:null,context:{targetUrl:d.href,elementText:u,elementLocation:e}}),Pe.flush()};return x("div",{className:h(R6(g),{[F6]:s?.cartOpen}),children:[i("div",{onClick:()=>s.setCartOpen(!1),className:h(B6,{[$6]:s?.cartOpen})}),i("div",{className:z6,children:i("button",{className:H6,onClick:()=>s.setCartOpen(!1),children:i(we,{name:"cross",className:V6})})}),i("div",{className:L6}),s.lines.map(v=>{let w=n[v.optionId];if(!w)return null;let _=o[w.productKey];return _?i(u8,{productKey:w.productKey,title:_.title,image:_.featuredImage??"",price:w.option.price,sku:w.option.sku,optionId:w.option.id,optionTitle:w.option.title,maxQuantity:_.maxQuantity,atpMessage:_.atpMessage,sellingPlanDepositData:_.sellingPlan?.depositData},v.optionId):null}),!g&&x("div",{className:n8,children:[i("div",{className:r8,children:m}),p&&x(se,{children:[i("div",{className:a8(p.featuredImage??"")}),i("div",{className:i8,children:p.title}),i(Fi,{className:s8,productPrice:p.options[0]?.price??0}),i(Jm,{className:l8,productKey:l})]})]}),g&&x(se,{children:[i("div",{className:e8,children:I}),i("div",{className:t8,children:i(Kt,{link:d.href,type:"Primary",onClick:k,children:u})}),i("div",{className:o8,children:y})]})]})};var y8=T(E());var Mx=()=>{let e=(0,y8.useContext)(on),t=e.lines.reduce((o,n)=>o+n.quantity,0);return x("button",{className:p8,onClick:()=>e.setCartOpen(!0),children:[t!==0&&i("span",{className:c8,children:t}),i(we,{name:"cart",size:27,className:d8})]})};var tg=T(E());var f8=T(E());var m8=T(E());var No="en-US";var Bi=(0,m8.createContext)({preview:!1,locale:No});Bi.displayName="ContentfulContext";function g8(e,t){let o="cache-first",n=t.get("contentfulFetchPolicy");return O.isClient&&!O.isDeploymentTypeProd&&n&&(o=n),!O.isClient&&O.isPreview&&(o="network-only"),{preview:O.isPreview,locale:e,fetchPolicy:o}}var sl=()=>{let e=(0,f8.useContext)(Bi);if(e===void 0)throw new Error("The useContentfulQuery hook can only be used in combination with ContentProvider");return e};var eg=T(E());var _c=(0,eg.createContext)({}),b8=({children:e})=>{let[t,o]=(0,eg.useState)(!1);return i(_c.Provider,{value:{hasLivePreview:t,setHasLivePreview:n=>o(n)},children:e})};var S8=()=>{let{locale:e}=sl(),{setHasLivePreview:t}=(0,tg.useContext)(_c),o=!O.isDeploymentTypeProd;return(0,tg.useInsertionEffect)(()=>{async function n(){let{ContentfulLivePreview:a}=await import("./chunks/live-preview-6TL7BCRU.mjs"),s=await a.init({locale:e,enableInspectorMode:!0,enableLiveUpdates:!0,experimental:{hideCoveredElementOutlines:!0}});return s&&(t?.(!0),Pe.logEvent({type:Me.USER_ACTION,component:"ContentfulLivePreview",action:"Open",label:"Live Preview Panel"})),s}o&&n()},[o,e]),null};var Tx=T(E());var Ax="sc-persona";function na(e){return e.getCookieJson(Ax)}function og(e,t){if(!t||e.getCookie("Preferences")!=="true")return;let n=na(e);if(us(t,n))return;let a=new Date;a.setFullYear(a.getFullYear()+1);let s=!O.isDeploymentTypeProd||!O.isCompilationModeProd?"":O.trackingSettings.cookieDomain;e.setCookieJson(Ax,t,{secure:!0,expires:a,sameSite:"strict",domain:s})}var QZ=5e3,wc,KZ=()=>wc||(wc=(async()=>
9981{if(window.Shopify?.customerPrivacy?.setTrackingConsent||(await new Promise(t=>{er("shopify-consent-tracking-api","https://cdn.shopify.com/shopifycloud/consent-tracking-api/v0.1/consent-tracking-api.js",t)}),window.Shopify?.customerPrivacy?.setTrackingConsent))return window.Shopify.customerPrivacy;let e=window.Shopify;if(!e?.loadFeatures)throw new Error("Shopify consent tracking API failed to initialize");if(await new Promise((t,o)=>{e.loadFeatures([{name:"consent-tracking-api",version:"0.1"}],n=>{if(n){o(n instanceof Error?n:new Error(String(n)));return}t()})}),!window.Shopify?.customerPrivacy?.setTrackingConsent)throw new Error("Shopify customerPrivacy API unavailable after loading consent-tracking-api");return window.Shopify.customerPrivacy})().catch(e=>{throw wc=void 0,e}),wc),jZ=(e,t,o)=>{let n=t.domain;return{marketing:e.Marketing===!0,analytics:e.Performance===!0,preferences:e.Preferences===!0,sale_of_data:o,headlessStorefront:!0,checkoutRootDomain:n,storefrontRootDomain:n,storefrontAccessToken:t.storefrontAccessToken}},ng=async({cookieAcceptance:e,store:t,saleOfData:o=!0,timeoutMs:n=QZ})=>{await Promise.race([(async()=>{let a=await KZ(),s=jZ(e,t,o);await new Promise(l=>a.setTrackingConsent(s,l))})(),new Promise((a,s)=>{window.setTimeout(()=>s(new Error(`Shopify tracking consent timed out after ${n}ms`)),n)})])};var YZ=no.White,h8=({isClient:e,backgroundColor:t=YZ,globalPrivacyControl:o})=>{let{cookieManager:n,personasRef:a}=(0,Tx.useContext)(oe),{store:s}=(0,Tx.useContext)(qt),p=It().submitShopifyTrackingConsent==="true";if(!e)return null;let d=t===no.Black?"Black":"White",u=!O.isDeploymentTypeProd||!O.isCompilationModeProd?"":void 0;return i(FC,{cookieDomain:u,backgroundType:d,onComplete:y=>{if(y.cookieAcceptance.Marketing&&eM().catch(m=>
9981Be({component:"CookiePopup",error:m})),y.cookieAcceptance.Performance&&tM().catch(m=>Be({component:"CookiePopup",error:m})),y.cookieAcceptance.Preferences&&og(n,a?.current??void 0),s&&p&&ng({cookieAcceptance:y.cookieAcceptance,store:s,saleOfData:!y.isGlobalPrivacyControlApplied}).catch(m=>Be({component:"CookiePopup",error:m})),O.site==="for-business"&&y.cookieAcceptance.Preferences){let g=na(n)?.snap??[];for(let f of g){let b=q0[f];b&&it({subscribedEventType:"internal",eventCategory:"SnapPersona",eventAction:"Get",eventLabel:b})}}},globalPrivacyControl:o})};var C8=T(E());var XZ=new Set(["ar","arc","dv","fa","ha","he","khw","ks","ku","ps","ur","yi"]),rg=e=>{let t=e??No,[o]=t.split("-");return XZ.has(o)?"rtl":"ltr"};var _x=()=>{let e=(0,C8.useContext)(oe);return i(vt,{children:i("html",{dir:rg(e?.currentLocale)})})};_x.displayName="DirectionDirective";var Wa=T(E());function JZ(e,t){var o={};return t=Jo(t,3),Rd(e,function(n,a,s){gd(o,a,t(n,a,s))}),o}var x8=JZ;function ag(e){if(e==null)return;if(typeof e!="object")return e;let t=$o(e),o=Array.isArray(e)?e.map(ag):x8(t,ag);return Object.freeze(o)}var de=(e,t)=>{let{getCurrentUrl:o}=(0,Wa.useContext)(oe),{preview:n,locale:a,fetchPolicy:s}=sl(),{hasLivePreview:l}=(0,Wa.useContext)(_c),p={fetchPolicy:s,...t,context:{currentUrl:o(),...t?.context},variables:{preview:n,locale:a,...t?.variables},ssr:t?.ssr??O.isSSR},d=zk(e,p);(0,Wa.useEffect)(()=>{if(t?.pollInterval)return d.startPolling(t.pollInterval),d.stopPolling},[d.data,t,d.startPolling,d.stopPolling]);let[u,y]=(0,Wa.useState)({});(0,Wa.useEffect)(()=>{let g=ir;async function f(){let{ContentfulLivePreview:b}=await import("./chunks/live-preview-6TL7BCRU.mjs"),S=Object.keys(d.data).filter(v=>d.data?.[v].sys&&d.data?.[v].__typename),C=Object.keys(d.data).filter(v=>d.data?.[v].items),I=S.map(v=>b.subscribe({data:d.data[v],locale:a,callback:w=>{y(_=>({..._,[v]:w}))},query:e})),k=C.map(v=>b.subscribe({data:d.data[v].items,locale:a,callback:w=>{y(_=>({..._,[v]:{items:w}}))},query:e}));g=()=>[...I,...k].forEach(v=>v())}return l&&d.data&&f(),g},[d.data,l,a,e]);let m=d;if(d.data){m=$o(d);let g=l&&Object.keys(u).length?u:d.data;m.data=ag(g)}return m};var G=F` 9982 fragment ContentfulSysId on Entry { 9983 sys { 9984 id 9985 } 9986 __typename 9987 } 9988`;var ig=T(E());var kn=e=>{if(e){let t=e.split("?")[0].split("/").pop();if(t){let o=t.split("."),n=o.slice(-1)[0];return{fileName:o.slice(0,o.length-1).join(".").trim(),extension:n}}}return{fileName:"",extension:""}};var v8=e=>{let t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight??document.documentElement.clientHeight)&&t.right<=(window.innerWidth??document.documentElement.clientWidth)};var Dc=e=>e.__typename==="Video",qa=({autoPlay:e=!0,eventLabel:t,getPreviousWatchTime:o,setPreviousWatchTime:n,elementLocation:a})=>l=>{if(e)return;let p=l.target,d=p.readyState>2,u=p.currentTime>0&&!p.paused&&!p.ended&&d,y=Math.abs(o()-p.currentTime),m=v8(p);u&&m&&!document.hidden&&y>=.9&&(xa({eventCategory:"Video",eventLabel:t,eventVariable:"video_watch",eventValue:Math.floor(p.currentTime),context:{elementLocation:a}}),n(p.currentTime))};var Mn=F` 9989 fragment AssetAll on Asset { 9990 sys { 9991 id 9992 } 9993 contentType 9994 width 9995 height 9996 title 9997 description 9998 url 9999 size 10000 } 10001`,kt={all:Mn},I8=F` 10002 query AssetsQuery($preview: Boolean!, $locale: String!, $id: String!) { 10003 asset(preview: $preview, locale: $locale, id: $id) { 10004 ...AssetAll 10005 } 10006 } 10007 ${Mn} 10008`;var ZZ=e=>e?e.startsWith("image"):!1,k8=c` 10009 margin-bottom: ${r("--spacing-m")}; 10010`,wx=e=>{let{data:t}=de(I8,{variables:{id:e.sys.id}}),{getImageSources:o}=ve(),n=(0,ig.useContext)(Se).elementLocation,[a,s]=(0,ig.useState)(!1),l=-1;if(!t)return null;let{asset:p}=t;if(!p)return null;let{contentType:d,url:u,description:y}=p;if(ZZ(d)){let b=gc(600,t.asset.height??0),S=o(u,b);return i(Ke,{className:e.isEmbedded?k8:void 0,imgSrcs:S,altText:y})}let m=b=>{if(u&&!a){let{fileName:S}=kn(u);fe({eventAction:"Play",eventCategory:"Video",eventLabel:S,context:{elementLocation:n}}),s(!0)}},g=b=>{if(u){let{fileName:S}=kn(u);fe({eventAction:"Pause",eventCategory:"Video",eventLabel:S,context:{elementLocation:n}})}},f=qa({autoPlay:!1,eventLabel:p.sys.id,getPreviousWatchTime:()=>l,setPreviousWatchTime:b=>{l=b},elementLocation:n});return i(Ke,{sourceType:d,className:e.isEmbedded?k8:void 0,videoSource:u,showVideoControls:!0,onPlay:m,onPause:g,onTimeUpdate:f,maxHeight:600,altText:y})};wx.displayName="Media";var eee={all:F` 10011 fragment FaviconAll on Favicon { 10012 ...ContentfulSysId 10013 asset { 10014 ...AssetAll 10015 } 10016 size 10017 } 10018 ${kt.all} 10019 ${G} 10020 `},M8=F` 10021 query FaviconCollectionQuery($preview: Boolean!, $locale: String!) { 10022 faviconCollection(preview: $preview, locale: $locale, order: sys_publishedAt_ASC) { 10023 items { 10024 ...FaviconAll 10025 } 10026 } 10027 } 10028 ${eee.all} 10029`;var A8=()=>{let{data:e}=de(M8,{});return e?e?.faviconCollection?.items?.some(o=>!!o.asset)?i(vt,{children:e.faviconCollection.items.filter(o=>!!o.asset).map(o=>{let{sys:n,asset:a,size:s}=o;return i("link",{rel:"icon",type:"image/png",href:`${a.url}?fm=png`,sizes:s?`${s}x${s}`:void 0},n.id)})}):i(vt,{children:i("link",{rel:"icon",type:"image/png",href:"/images/favicon.png"})}):null};var zi=T(E());var T8=T(E());
10029var An=(0,T8.createContext)({footerView:"Full Footer",headerView:"Full Header",hasSideNav:!1,hasSubNav:!1,hasCustomSideNav:!1});var _8=T(E());function Qa(e,t){let{getCurrentUrl:o}=(0,_8.useContext)(oe);if(O.isDeploymentTypeProd)return;let a=new URL(o()).searchParams.get("alternateMotif");if(!a)return;let s=e.alternateBrandPropOverrides;if(!s)return;let l=s[a];if(l)return l[t]}var w8=T(E());function nn(){let{getCurrentUrl:e}=(0,w8.useContext)(oe),t=Hd[O.site];if(O.site==="sandbox"){let n=new URL(e()).searchParams.get("alternateMotif");n&&l0.includes(n)&&(t=n)}return t}function tt(e){return nn()==="snap"?e??"sdsm-default":e??void 0}var f9=T(E());var D8=e=>!!e.id,ao=e=>e.sys!==void 0;var P8=e=>{let t=new Set(Object.keys(e));return["__typename","id","ids","sys"].forEach(o=>t.delete(o)),t.size===0},sg=e=>{let t=new Set(Object.keys(e));return["__typename","sys"].forEach(o=>t.delete(o)),t.size>0};function Re({entryId:e,fieldIds:t,locale:o}){if(O.isDeploymentTypeProd)return{};let n={};return t.forEach(a=>{let s=`${String(a)}Dataset`;n[s]={contentfulEntryId:e,contentfulFieldId:a,contentfulLocale:o}}),n}var u9=T(Sa());var y9=T(E());var p9=T(Nc());var B8=T(E());var Ya=({uri:e,draggable:t,className:o,onClick:n,children:a})=>{let s=(0,B8.useContext)(Se).elementLocation;return i(Up,{link:e,draggable:t,onClick:()=>{fe({eventAction:"Click",eventCategory:"Hyperlink",eventLabel:`Hyperlink: ${e}`,context:{targetUrl:e,elementLocation:s,elementText:typeof a=="string"?a:void 0}}),en(e)&&Pe.flush(),n?.()},className:o,children:a})};Ya.displayName="Hyperlink";var dl=c` 10030 && { 10031 line-height: 160%; 10032 } 10033`,lg=({children:e})=>i("div",{className:h(Rn.h1,Md,dl),children:e});
10033lg.displayName="H1";var pg=({children:e})=>i("div",{className:h(Rn.h2,rs,dl),children:e});pg.displayName="H2";var cg=({children:e})=>i("div",{className:h(Rn.h3,uo,dl),children:e});cg.displayName="H3";var dg=({children:e})=>i("div",{className:h(Rn.h4,Ue,dl),children:e});dg.displayName="H4";var ug=({children:e})=>i("div",{className:h(Rn.h5,Xt,dl),children:e});ug.displayName="H5";var yg=({children:e})=>i("div",{className:h(Rn.h6,Ad,dl),children:e});yg.displayName="H6";var i9=T(Nc()),mt=T(Cb());function lee(e,t,o,n){for(var a=-1,s=e==null?0:e.length;++a<s;){var l=e[a];t(n,l,o(l),e)}return n}var $8=lee;function pee(e,t,o,n){return Ha(e,function(a,s,l){t(n,a,o(a),l)}),n}var L8=pee;function cee(e,t){return function(o,n){var a=Ko(o)?$8:L8,s=t?t():{};return a(o,e,Jo(n,2),s)}}var H8=cee;var dee=H8(function(e,t,o){gd(e,o,t)}),Rx=dee;var Fx=e=>{let{item:t,children:o}=e,n=t.__typename,a=n!=="Slug"&&n!=="Asset",s=n==="Slug"&&!t.slug,l=n==="Asset"&&!t.url;if(!n||a||s||l)return Be({component:"AssetEntryLink",message:"Invalid data for hyperlink",context:{sysId:t.sys.id}}),null;let p="";return t.__typename==="Slug"&&(p=`https://${O.domainName}/${t.slug}`),t.__typename==="Asset"&&t.url&&(p=t.url),i(Ya,{uri:p,children:o})};Fx.displayName="AssetEntryHyperlink";var ul=T(E());var Eo=({children:e,fallbackElement:t=null})=>{let[o,n]=(0,ul.useState)(!0);return(0,ul.useEffect)(()=>{n(!1)},[]),o?t:i(ul.Suspense,{fallback:t,children:e})};var uee=jo(()=>import("./chunks/LazyCode-RSZNF2GD.mjs").then(e=>({default:e.Code}))),Bx=e=>i(Eo,{children:i(uee,{...e})});Bx.displayName="Code";var V8={all:F` 10034 fragment CodeAll on Code { 10035 ...ContentfulSysId 10036 code 10037 language 10038 } 10039 ${G} 10040 `};var Jn=T(E());var yl=T(E());var yee={isOpen:!1,open:()=>{},close:()=>{}},Ec=(0,yl.createContext)(yee),O8=({children:e})=>{let[t,o]=(0,yl.useState)(!1),[n,a]=(0,yl.useState)(),[s,l]=(0,yl.useState)(),p=({title:u,body:y},m)=>{a({title:u,body:y}),l(m),o(!0)},d=()=>{a(void 0),l(void 0),o(!1)};return i(Ec.Provider,{value:{isOpen:t,open:p,close:d,content:n,triggerRef:s},children:e})};var Rc=({displayText:e,fullText:t,anchorId:o,overlayTitle:n,overlayBody:a,className:s})=>{let{open:l,close:p,triggerRef:d}=(0,Jn.useContext)(Ec),u=(0,Jn.useContext)(Se).elementLocation,y=(0,Jn.useRef)(null),m=y===d,g=(0,Jn.useMemo)(()=>({title:n??e,body:a??Tn(t)}),[e,t,n,a]);(0,Jn.useEffect)(()=>{o&&window.location.hash===`#${o}`&&l(g,y)},[]);let f=(0,Jn.useCallback)(()=>{if(m){fe({eventCategory:"Definition",eventAction:"Close",eventLabel:null,context:{elementLocation:u}}),p();let b=new URL(window.location.href);b.hash="",window.history.replaceState(null,"",b)}else{fe({eventCategory:"Definition",eventAction:"Open",eventLabel:null,context:{elementLocation:u}}),l(g,y);let b=new URL(window.location.href);b.hash=o?`#${o}`:"",window.history.replaceState(null,"",b)}},[m,o,g,y,l,p,u]);return e?t?i(NP,{ref:y,anchorId:o,isActive:m,onClick:f,className:s,children:e}):i(se,{children:e}):null};Rc.displayName="Definition";var $x=T(E());var Lx=({className:e})=>{let{hasSideNav:t}=(0,$x.useContext)(An),{isOpen:o,close:n,content:a,triggerRef:s}=(0,$x.useContext)(Ec),l=p=>
10040{["Enter"," "].includes(p?.key)&&(p.preventDefault(),s?.current?.focus()),n();let d=new URL(window.location.href);d.hash="",window.history.replaceState(null,"",d)};return i(lC,{isOpen:o,title:a?.title,body:a?.body,onClose:l,className:e,hasSideNav:t})};Lx.displayName="DefinitionOverlay";var mee={all:F` 10041 fragment DownloadableAssetAll on DownloadableAsset { 10042 ...ContentfulSysId 10043 linkText 10044 file { 10045 url 10046 } 10047 } 10048 ${G} 10049 `},G8=F` 10050 query DownloadableAssetQuery($preview: Boolean!, $locale: String!, $id: String!) { 10051 downloadableAsset(preview: $preview, locale: $locale, id: $id) { 10052 ...DownloadableAssetAll 10053 } 10054 } 10055 ${mee.all} 10056`;var Hx=e=>{let t=!!e?.linkText&&!!e?.file?.url,{data:o}=de(G8,{variables:{id:D8(e)?e.id:e.sys.id},skip:t}),n=t?e:o?.downloadableAsset;return n?i(Ya,{uri:n?.file?.url,children:n?.linkText}):null};Hx.displayName="DownloadableAsset";var z8=e=>{let{text:t=""}=e;return i(r2,{text:t})};var Xa=F` 10057 fragment EmphasizedTextAll on EmphasizedText { 10058 ...ContentfulSysId 10059 text 10060 } 10061 ${G} 10062`;var U8=c` 10063 padding-bottom: 0; 10064`,W8=c` 10065 font-size: 10px; 10066 line-height: 18px; 10067`,q8=c` 10068 font-size: 10px; 10069 line-height: 20px; 10070 margin-inline-end: 0.125em; 10071`,Q8=c` 10072 display: flex; 10073`;var Vx=({number:e,displayText:t,fullText:o,...n})=>{let a=x(se,{children:[t,i("span",{className:W8,children:x(pp,{children:[" ",e]})})]}),s=x("div",{className:Q8,children:[i("span",{className:q8,children:x(pp,{children:[e," "]})}),Tn(o)]});return i(Rc,{...n,displayText:a,fullText:o,overlayTitle:"",overlayBody:s,className:t?void 0:U8})};Vx.displayName="FootnoteInline";function $e(e){if(!e.mobile)return e.desktop;if(e.desktop)return{sources:[...e.mobile.sources.map(t=>({...t,media:t.media??"(max-width: 768px)"})),...e.desktop.sources],default:e.desktop.default,defaultSrcSet:e.desktop.defaultSrcSet,defaultSizes:e.desktop.defaultSizes}}var mg=e=>({imageSource:e.url,imageAltText:e.description,imageSize:{height:e.height,width:e.width},contentType:e.contentType}),Ox=e=>({videoSource:e.url,contentType:e.contentType}),Ve=e=>!e||!e.url?{}:e.contentType?.startsWith("video")?Ox(e):e.contentType?.startsWith("image")?mg(e):{};var gg=e=>e.__typename==="Image",ot=({desktopHeight:e,mobileHeight:t,desktopDefaultHeight:o=800,mobileDefaultHeight:n=800,enableHighDpi:a=!1,qual
10073ity:s="Standard"})=>{let l=Ja[s],p={image:{height:o,quality:l}},d={image:{height:n,quality:l}},u=a?gc(o,e,l):p,y=a?gc(n,t??e,l):d;return{desktopSettings:{...u,quality:l},mobileSettings:{...y,quality:l}}};var Ja={Standard:40,High:65,"Very High":85},Gx=e=>{let{enableHighDpi:t,quality:o,dataset:n}=e,{imageSource:a,imageAltText:s}=Ve(e.media),{imageSource:l}=Ve(e.mobileMedia),{getImageSources:p}=ve(),{desktopSettings:d,mobileSettings:u}=ot({desktopHeight:e.media?.height??0,mobileHeight:e.mobileMedia?.height,enableHighDpi:t,quality:o}),y=$e({desktop:p(a,d),mobile:p(l??a,u)});return i(gn,{altText:s,imgSrcs:y,wrap:e.wrap??void 0,dataset:n})};Gx.displayName="Image";var Fc=F` 10074 fragment StickerAll on Sticker { 10075 ...ContentfulSysId 10076 asset { 10077 ...AssetAll 10078 } 10079 position 10080 rotation 10081 } 10082 ${G} 10083 ${kt.all} 10084`,WVe=F` 10085 query StickerQuery($preview: Boolean!, $locale: String!, $id: String!) { 10086 sticker(preview: $preview, locale: $locale, id: $id) { 10087 ...StickerAll 10088 } 10089 } 10090 ${Fc} 10091`;var ze={all:F` 10092 fragment ImageAll on Image { 10093 sys { 10094 id 10095 } 10096 media { 10097 ...AssetAll 10098 } 10099 mobileMedia { 10100 ...AssetAll 10101 } 10102 wrap 10103 enableHighDpi 10104 quality 10105 stickersCollection { 10106 items { 10107 ...StickerAll 10108 } 10109 } 10110 } 10111 ${kt.all} 10112 ${Fc} 10113 `},ZVe=F` 10114 query ImageQuery($preview: Boolean!, $locale: String!, $id: String!) { 10115 image(preview: $preview, locale: $locale, id: $id) { 10116 ...ImageAll 10117 } 10118 } 10119 ${ze.all} 10120`;var zx={all:F` 10121 fragment CustomerQuoteAll on CustomerQuote { 10122 ...ContentfulSysId 10123 author { 10124 json 10125 } 10126 authorName 10127 body { 10128 json 10129 } 10130 media { 10131 __typename 10132 ... on Video { 10133 ...VideoAll 10134 } 10135 ... on Image { 10136 ...ImageAll 10137 } 10138 } 10139 logo { 10140 ...ImageAll 10141 } 10142 isLongQuote 10143 } 10144 ${G} 10145 ${ze.all} 10146 `},K8=F` 10147 query CustomerQuotesQuery($preview: Boolean!, $locale: String!, $id: String!) { 10148 customerQuote(preview: $preview, locale: $locale, id: $id) { 10149 ...CustomerQuoteAll 10150 } 10151 } 10152 ${zx.all} 10153`;var j8=T(E());var Y8=e=>{let t=P8(e),{getImageSources:o}=ve(),{isRTL:n}=(0,j8.useContext)(oe),{data:a}=de(K8,{variables:{id:e.sys.id},skip:!t});if(t&&!a)return null;let{author:s,authorName:l,body:p,logo:d,isLongQuote:u,media:y}=a?.customerQuote??e,m=d?.media?.url?o(d.media.url):void 0,g=y?.__typename==="Image"?o(y.media.url):void 0,f=y?.__typename==="Video"?y.media.url:void 0,b=y?.__typename==="Video"?y.mobileMedia?.url:void 0,S=ht(s)?l:wr(s);return i(iC,{author:S,logoImageSrc:m,isRtl:n,isLongQuote:u??!1,imgSrcs:g,videoSrc:f,mobileVideoSrc:b,children:wr(p)})};var Bc=F` 10154 fragment SnapchatEmbedAll on SnapchatEmbed { 10155 ...ContentfulSysId 10156 url 10157 } 10158 ${G} 10159`,X8=F` 10160 query SnapchatEmbedQuery($preview: Boolean!, $locale: String!, $id: String!) { 10161 snapchatEmbed(preview: $preview, locale: $locale, id: $id) { 10162 ...SnapchatEmbedAll 10163 } 10164 } 10165 ${Bc} 10166`;var J8=e=>{let t=ao(e)?e.sys.id:void 0,{data:o}=de(X8,{skip:!t,variables:{id:t}});return o?i(Qs,{...o.snapchatEmbed}):null};var yt={all:F` 10167 fragment VideoAll on Video { 10168 ...ContentfulSysId 10169 media { 10170 ...AssetAll 10171 } 10172 disableStreaming 10173 streamUrl 10174 mobileMedia { 10175 ...AssetAll 10176 } 10177 mobileMediaStreamUrl 10178 thumbnailMedia { 10179 ...AssetAll 10180 } 10181 captions { 10182 ...AssetAll 10183 } 10184 autoPlay 10185 wrap 10186 externalId 10187 stickersCollection { 10188 items { 10189 ...StickerAll 10190 } 10191 } 10192 } 10193 ${kt.all} 10194 ${Fc} 10195 ${G} 10196 `},Z8=F` 10197 query VideoQuery($preview: Boolean!, $locale: String!, $id: String!) { 10198 video(preview: $preview, locale: $locale, id: $id) { 10199 ...VideoAll 10200 } 10201 } 10202 ${yt.all} 10203`;var bg=T(E());var t9=T(E());var gee=e=>({media:mg(e.media),mobileMedia:e.mobileMedia?mg(e.mobileMedia):{}}),e9=(e,t,o)=>{let n=Ox(e);if(!o||!t)return n;let a=W0(e.url,t);return a?{...n,videoSource:a.videoSource,contentType:a.contentType}:n},fee=(e,t,o=!1)=>{let n=e.media,a=e.mobileMedia,s=t(e.thumbnailMedia?.url),l=e9(n,e.streamUrl,o),p=a?e9(a,e.mobileMediaStreamUrl,o):{};return{media:l,mobileMedia:p,thumbnailSource:s}},o9=(e,{hlsFeatureEnabled:t,getBestBgImgSrc:o,onHlsVideo:n})=>{let a=e?.__typename==="Video"&&e.media.contentType?.startsWith("video"),s=e?.__typename==="Image"&&e.media.contentType?.startsWith("image"),l=a?e:void 0,p=l?.disableStreaming===!0,d=a&&!p&&(l?.streamUrl?.endsWith(".m3u8")||l?.mobileMediaStreamUrl?.endsWith(".m3u8"));return!O.isClient&&d&&t&&n(),e?a?fee(e,o,t&&!!d):s?gee(e):{media:{},mobileMedia:{}}:{media:{},mobileMedia:{}}},n9=()=>{let e=It(),t=(0,t9.useContext)(oe),{getBestBgImgSrc:o}=ve();
10203return{hlsFeatureEnabled:e.enableHlsPlayback==="true",getBestBgImgSrc:o,onHlsVideo:t.onHlsVideo}},Lt=e=>{let t=n9();return o9(e,t)},fg=e=>{let t=n9();return e?.map(o=>o9(o??void 0,t))??[]};var Sg=(e,t)=>{let{media:o,mobileMedia:n,thumbnailMedia:a,autoPlay:s=!0,wrap:l,captions:p}=e,{videoSource:d}=Ve(o),{videoSource:u}=Ve(n),y=t(e.thumbnailMedia?.url,{width:728});return{videoSource:d,mobileVideoSource:u,posterSource:y,showVideoControls:ht(s)?!1:!s,wrap:ht(l)?void 0:l,captionsSource:p?.url,altText:a?.description??o?.description}},Ux=e=>{let t=ao(e)?e.sys.id:void 0,{data:o}=de(Z8,{skip:!t,variables:{id:t}}),[n,a]=(0,bg.useState)(!1),{getBestBgImgSrc:s}=ve(),l=(0,bg.useContext)(Se).elementLocation,p=-1,{media:{videoSource:d},mobileMedia:{videoSource:u},thumbnailSource:y}=Lt(o?.video);if(!o)return null;let m=Sg(o.video,s),g=S=>{if(d&&!n){if(o.video.autoPlay)return;let{fileName:C}=kn(d);fe({eventAction:"Play",eventCategory:"Video",eventLabel:C,context:{elementLocation:l}}),a(!0)}},f=S=>{if(d&&!o.video.autoPlay){let{fileName:C}=kn(d);fe({eventAction:"Pause",eventCategory:"Video",eventLabel:C,context:{elementLocation:l}})}},b=qa({autoPlay:o.video.autoPlay,eventLabel:o.video.externalId??t??"unknown",getPreviousWatchTime:()=>p,setPreviousWatchTime:S=>{p=S},elementLocation:l});return i(gn,{mediaClassName:e.mediaClassName,onPlay:g,onPause:f,onTimeUpdate:b,dataset:e.dataset,...m,videoSource:d,mobileVideoSource:u,posterSource:y})};Ux.displayName="Video";var Wx="mwp-cta",bee=e=>{let o=Ft()?400:600;return e.url?i(wx,{...e,url:Cn({imageUrl:e.url,settings:{height:o}}),isEmbedded:!0}):null},See=e=>i(ft,{...e,className:Wx}),hg={FootNotes:Vx,CustomerQuote:Y8,Asset:bee,CallToAction:See,SnapchatEmbed:J8,Image:Gx,Video:Ux,Code:Bx,Definition:Rc,DownloadableAsset:Hx,EmphasizedText:z8};var r9=c` 10204 width: 100%; 10205`;var Kx=e=>e,$c=(e,t)=>t?i(se,{children:t}):(Be({component:"RenderText",message:"Default node renderer cannot render this node.",context:{node:JSON.stringify(e)}}),null),qx=e=>e?t=>i(e,{children:t}):Kx,io=e=>e?(t,o)=>i(e,{...t.data,children:o}):$c,hee=(e,t)=>o=>{let n=Rx(t,p=>p.sys.id),a=o.data.target.sys.id,s=n[a],l=s?.__typename;if(!l)return Be({component:"RenderText",message:"Node typename wasn't in the query response",context:{entryId:a}}),$c(o,null);if(l==="Asset")return Be({component:"RenderText",message:`Attempted to render embedded asset: ${a} but this is no longer supported.`,context:{entryId:a}}),null;if(l in e){if(l==="Video"){let d=e[l];return i(d,{...s,mediaClassName:r9})}let p=e[l];return i(p,{...s})}return Be({component:"RenderText",message:"No rich text renderer found",context:{typename:l}}),$c(o,null)},s9=e=>e.json!==void 0,Qx=e=>{let{data:t,contentfulComponentMap:o,accessPath:n}=e,a;if(!t||!s9(t))a=$c;else{let s=Lp(t,n);a=hee(o,s)}return a},a9=e=>{let{data:t,accessPath:o}=e;return!t||!s9(t)?$c:(n,a)=>{let s=Lp(t,o),p=Rx(s,d=>d.sys.id)[n.data.target.sys.id];return i(Fx,{item:p,children:a})}},Cee=e=>{let{data:t,components:o}=e,n=Qx({data:t,contentfulComponentMap:hg,accessPath:"links.assets.block"}),a=Qx({data:t,contentfulComponentMap:hg,accessPath:"links.entries.inline"}),s=Qx({data:t,contentfulComponentMap:hg,accessPath:"links.entries.block"}),l=a9({data:t,accessPath:"links.assets.hyperlink"}),p=a9({data:t,accessPath:"links.entries.hyperlink"});return{renderText:o.Text??Kx,renderMark:{[mt.MARKS.BOLD]:qx(o.Bold),[mt.MARKS.CODE]:Kx,[mt.MARKS.ITALIC]:qx(o.Italics),[mt.MARKS.UNDERLINE]:qx(o.Underline)},renderNode:{[mt.BLOCKS.DOCUMENT]:io(o.Document),[mt.BLOCKS.EMBEDDED_ASSET]:n,[mt.BLOCKS.EMBEDDED_ENTRY]:s,[mt.BLOCKS.HEADING_1]:io(o.H1),[mt.BLOCKS.HEADING_2]:io(o.H2),[mt.BLOCKS.HEADING_3]:io(o.H3),[mt.BLOCKS.HEADING_4]:io(o.H4),[mt.BLOCKS.HEADING_5]:io(o.H5),[mt.BLOCKS.HEADING_6]:io(o.H6),[mt.BLOCKS.HR]:io(o.HorizontalRule),[mt.BLOCKS.LIST_ITEM]:io(o.ListItem),[mt.BLOCKS.PARAGRAPH]:io(o.Paragraph),[mt.BLOCKS.QUOTE]:io(o.BlockQuote),[mt.BLOCKS.UL_LIST]:io(o.UnorderedList),[mt.BLOCKS.OL_LIST]:io(o.OrderedList),[mt.INLINES.ASSET_HYPERLINK]:l,[mt.INLINES.ENTRY_HYPERLINK]:p,[mt.INLINES.EMBEDDED_ENTRY]:a,[mt.INLINES.HYPERLINK]:io(o.Hyperlink),table:io(o.Table),"table-cell":io(o.TableCell),"table-header-cell":io(o.TableHeader),"table-row":io(o.TableRow)}}},Hi=e=>t=>{let{components:o={}}
10205=e;if(!t)return;if(typeof t=="string")return t;let n=Cee({data:t,components:o});return(0,i9.documentToReactComponents)(t.json,n)};var jx=T(E());var xee=c` 10206 max-width: 100%; 10207`,l9=({children:e})=>i("div",{"data-testid":"mwp-rich-text",className:xee,children:jx.Children.toArray(e)}),vee=c` 10208 margin: 0; 10209`,Yx=({children:e})=>i("p",{className:vee,children:jx.Children.toArray(e)});function Iee(e,t){return E0(hy(e,t),1)}var Xx=Iee;var kee=e=>Xx(e.split(` 10210`),(t,o)=>o>0?[i("br",{}),t]:[t]),Mee=e=>typeof e=="string"&&e.includes("Snap Inc.")?e.split("Snap Inc.").flatMap((o,n)=>n===0?[br(o)]:[i("span",{dir:"ltr",children:"Snap Inc."},o),br(o)]):[typeof e=="string"?br(e):e],Jx=(e="")=>{let t=kee(e);return Xx(t,Mee)};var Zx={Document:l9,Text:Jx,Bold:ip,Italics:sp,Underline:lp,H1:yb,H2:mb,H3:gb,H4:fb,H5:bb,H6:Sb,Paragraph:I0,Hyperlink:Ya,ListItem:A0,UnorderedList:k0,OrderedList:M0,Table:Qb,TableCell:xu,TableHeader:hp,TableRow:vu,HorizontalRule:T0,BlockQuote:nC},Vi=e=>{if(e)return typeof e=="string"?e:(0,p9.documentToReactComponents)(e.json)},jt=Hi({components:{Bold:ip,Italics:sp,Underline:lp}}),Mt=Hi({components:{Text:Jx,Bold:ip,Italics:sp,Underline:lp,Paragraph:Yx}}),c9=Hi({components:{Bold:ip,Italics:sp,Underline:lp,Hyperlink:Ya,Paragraph:Yx}}),Tn=Hi({components:Zx}),wr=Hi({components:{...Zx,H1:lg,H2:pg,H3:cg,H4:dg,H5:ug,H6:yg}}
10210),d9=(e=!1,t=!1)=>Hi({components:{...Zx,...e?{H1:yb,H2:mb,H3:gb,H4:fb,H5:bb,H6:Sb}:{H1:lg,H2:pg,H3:cg,H4:dg,H5:ug,H6:yg},Table:t?g_:Qb}});var ev=e=>{let{url:t,onClick:o,buttonType:n,title:a,size:s,image:l,iconName:p,targetAsset:d,className:u,buttonTextDataset:y}=e,m=(0,y9.useContext)(Se).elementLocation,{getImageSources:g}=ve(),f=()=>{o?.();let C;a?.json?C=(0,u9.documentToPlainTextString)(a.json):l?.media?.title?C=`${l.media.title} - Image`:C=p??"unknown",fe({eventCategory:"Button",eventAction:"Click",eventLabel:t?`to: ${t}`:null,context:{elementText:C,targetUrl:d?.url??t,elementLocation:m}}),en(t)&&Pe.flush()},b=n??Lo.Primary,S=g(l?.media?.url);return i(Kt,{className:u,link:d?.url??t,type:b,onClick:f,size:s,iconName:p??void 0,imgSrcs:S,imgAltText:l?.media?.title,buttonTextDataset:y,children:jt(a)})};ev.displayName="Button";var m9=F` 10211 fragment ButtonAll on Button { 10212 ...ContentfulSysId 10213 title { 10214 json 10215 } 10216 url 10217 targetAsset { 10218 ...AssetAll 10219 } 10220 size 10221 buttonType 10222 image { 10223 ... on Image { 10224 ...ImageAll 10225 } 10226 } 10227 iconName 10228 } 10229 ${kt.all} 10230 ${ze.all} 10231 ${G} 10232`;var Zt={all:F` 10233 fragment AnalyticsAll on Analytics { 10234 ...ContentfulSysId 10235 label 10236 } 10237 ${G} 10238 `},Sze=F` 10239 query AnalyticsQuery($preview: Boolean!, $locale: String!, $id: String!) { 10240 analytics(preview: $preview, locale: $locale, id: $id) { 10241 ...AnalyticsAll 10242 } 10243 } 10244 ${Zt.all} 10245`;var nt=F` 10246 fragment CallToActionAll on CallToAction { 10247 ...ContentfulSysId 10248 analytics { 10249 ...AnalyticsAll 10250 } 10251 presentation { 10252 ... on Entry { 10253 ...ContentfulSysId 10254 } 10255 ... on Button { 10256 ...ButtonAll 10257 } 10258 } 10259 url 10260 } 10261 ${m9} 10262 ${G} 10263 ${Zt.all} 10264`,g9=F` 10265 query CallToActionQuery($preview: Boolean!, $locale: String!, $id: String!) { 10266 callToAction(preview: $preview, locale: $locale, id: $id) { 10267 ...CallToActionAll 10268 } 10269 } 10270 ${nt} 10271`;var ft=e=>{let t=(0,f9.useContext)(Se).elementLocation,{className:o,...n}=e,{data:a}=de(g9,{skip:sg(n),variables:{id:e.sys.id}}),s=a?a?.callToAction:e;if(!s||!s.sys||!s.presentation)return null;let{presentation:l,analytics:p,url:d,className:u}=s,y=p?.label,m=()=>{(y||d)&&fe({eventCategory:"CTA",eventAction:"Click",eventLabel:y??(d?`to: ${d}`:null),context:{elementText:y,targetUrl:d,elementLocation:t}})};if(l.__typename==="Button"){let g=l,{titleDataset:f}=Re({entryId:g.sys.id,fieldIds:["title"]});return i(ev,{onClick:m,...g,className:h(o,u),buttonTextDataset:f})}return null};ft.displayName="CallToAction";var Lc=T(E());var Aee=e=>e.split(";").filter(Boolean).reduce((t,o)=>{let[n,a]=o.split(":").map(s=>s.trim());if(n&&a){let s=n.replace(/-([a-z])/g,(l,p)=>p.toUpperCase());t[s]=a}return t},{}),Tee={"Fade in left":Nn`from {opacity: 0; transform: translateX(-50px);} to {opacity: 1; transform: translateX(0);}`,"Fade in right":Nn`from {opacity: 0; transform: translateX(50px);} to {opacity: 1; transform: translateX(0);}`,"Fade in top":Nn`from {opacity: 0; transform: translateY(-50px);} to {opacity: 1; transform: translateY(0);}`,"Fade in bottom":Nn`from {opacity: 0; transform: translateY(50px);} to {opacity: 1; transform: translateY(0);}`},tv=e=>{if(!e)return{animation:void 0,styles:void 0};let t={},o="";return e?.advancedKeyframes?.keyframes?(o=Nn(e.advancedKeyframes.keyframes),e.advancedKeyframes.startingCss&&(t=Aee(e.advancedKeyframes.startingCss))):(t.opacity=0,o=e.animation?Tee[e.animation]??"":""),{animation:{animationName:o,delay:e?.delay,direction:e?.direction,duration:e?.duration,iterationCount:e?.iterationCount,timingFunction:e?.advancedKeyframes?.timingFunction,transformOrigin:e?.advancedKeyframes?.transformOrigin},styles:t}};var S9=T(E());var ov=F` 10272 fragment ImageButtonAll on ImageButton { 10273 ...ContentfulSysId 10274 url 10275 height 10276 width 10277 image { 10278 ...AssetAll 10279 } 10280 } 10281 10282 ${G} 10283 ${kt.all} 10284`,b9=F` 10285 query ImageButtonQuery($preview: Boolean!, $locale: String!, $id: String!) { 10286 imageButton(preview: $preview, locale: $locale, id: $id) { 10287 ...ImageButtonAll 10288 } 10289 } 10290 10291 ${ov} 10292`;var h9=e=>{let{data:t}=de(b9,{variables:{id:e.sys.id}}),{getImageSources:o}=ve(),n=(0,S9.useContext)(Se).elementLocation;if(!t?.imageButton)return null;let{url:a,image:s,...l}=t.imageButton,{imageSource:p,imageAltText:d}=Ve(s),u=o(p);return i(Gs,{...l,url:a,onClick:()=>{fe({eventAction:"Click",eventCategory:"ImageButton",eventLabel:null,context:{targetUrl:a,elementLocation:n}}),en(a)&&Pe.flush()},imgSrcs:u,altText:d})};
10292var C9=c` 10293 max-width: 100%; 10294 max-height: 400px; 10295`,x9=c` 10296 margin-bottom: inherit; 10297 max-height: 600px; 10298 10299 ${P} { 10300 max-width: 100%; 10301 height: inherit; 10302 } 10303`,v9=c` 10304 .${"sdsm-content-body"} { 10305 .${Is} { 10306 margin-block-end: ${r("--spacing-m")}; 10307 } 10308 10309 video { 10310 max-height: 800px; 10311 } 10312 } 10313 10314 /* Unset margin for media wrapper inside quote component */ 10315 /* For quote component, the asset should cover the entire container */ 10316 .sdsm-quote-container .${Is} { 10317 margin-block-end: unset; 10318 } 10319`,I9=c` 10320 /* Unlike images, videos will always expand to the width of their container. The benefits are two fold... 10321 10322 1. We don't have to worry about the poster image being a different size than the video. 10323 2. We don't have to worry about different video resolutions (but same aspect ratio) rendering as different sizes. 10324 10325 */ 10326 width: 100%; 10327`;var Hc=e=>{let[t,o]=(0,Lc.useState)(!1),{getImageSources:n}=ve(),a=(0,Lc.useContext)(Se).elementLocation,{isRTL:s}=(0,Lc.useContext)(oe),p=nn()==="snap",{sys:d,mediaWrap:u,showVideoControls:y,layout:m,mediaDirection:g,mediaDirectionMobile:f,displayOn:b,asset:S,title:C,subtitle:I,titleAlignment:k,titleAlignmentMobile:v,showFullResolutionMedia:w,body:_,bodyAlignment:D,bodyAlignmentMobile:M,callsToActionCollection:A,theme:N,brandBackgroundColor:$,backgroundColor:B,brandBorderColor:L,borderColor:H,anchorId:z,useHeadingTagsForBody:j,collapseMobileTable:ue,listIcon:ie,entranceAnimation:ne}=e,J=tt($),re=S&&!(C||I||_),{getBestBgImgSrc:Q}=ve(),Y=Q(ie?.media?.url,{width:72,height:72,resizeFocus:"center",fit:"fill"}),Z=d9(j,ue),{media:{imageSource:U,imageAltText:R,imageSize:X,videoSource:W},mobileMedia:{imageSource:le,imageSize:ee,videoSource:be},thumbnailSource:q}=Lt(S),ce=Re({entryId:d.id,fieldIds:["body","title","subtitle","asset"]}),{animation:_e,styles:me}=tv(ne),Ie=[];if(A?.items)for(let Fe of A.items)Fe.__typename==="ImageButton"?Ie.push(i(h9,{...Fe},Fe.sys.id)):Fe.__typename==="CallToAction"&&Ie.push(i(ft,{...Fe},Fe.sys.id));let he=w&&X?.height?X.height:re?600:400,{desktopSettings:Ae,mobileSettings:Pt}=ot({desktopHeight:X?.height??0,mobileHeight:ee?.height,desktopDefaultHeight:he,mobileDefaultHeight:he,enableHighDpi:S?.enableHighDpi,quality:S?.quality}),pt=$e({desktop:n(U,Ae),mobile:n(le,Pt)}),so=-1,bo=()=>{if(W&&!t){if(S.autoPlay)return;let{fileName:Fe}=kn(W);fe({eventAction:"Play",eventCategory:"Content",eventLabel:Fe,context:{elementLocation:a}}),o(!0)}},rt=()=>{if(W&&!S.autoPlay){let{fileName:Fe}=kn(W);fe({eventAction:"Pause",eventCategory:"Content",eventLabel:Fe,context:{elementLocation:a}})}},ke;if(S){let Fe=S.__typename,Qo=qa({autoPlay:S.autoPlay,eventLabel:S.externalId??S?.sys.id,getPreviousWatchTime:()=>so,setPreviousWatchTime:lo=>{so=lo},elementLocation:a});if(Fe==="Video"||Fe==="Image"){let lo=S.wrap,{thumbnailMedia:ye,captions:Vt,autoPlay:gt,media:St}=S,Nt=ye?.description??St.description,So=y??(ht(gt)?!1:!gt),Et=Fe==="Image"&&(X?.height??0)>(X?.width??0),ho=h({[x9]:!w&&re,[C9]:!w&&!re,"strict-height":!w&&Et,[I9]:Fe==="Video"}),Bo=S?.stickersCollection?.items?.map(Co=>({imgSrcs:n(Co?.asset?.url),position:Co?.position,rotation:Co?.rotation}));ke=i(gn,{mediaClassName:ho,altText:R??Nt,imgSrcs:pt,posterSource:q,wrap:lo??u,dataset:ce.assetDataset,imageSource:U,showVideoControls:So,videoSource:W,mobileVideoSource:be,onPlay:bo,onPause:rt,onTimeUpdate:Qo,captionsSource:Vt?.url,stickers:Bo})}else if(Fe==="SnapchatEmbed")ke=i(Qs,{...S,dataset:ce.assetDataset});else if(Fe==="Stats"){let lo=S;ke=i(uC,{stat:lo.stat,optionalSupplementaryText:lo.optionalSupplementaryText,animation:_e,style:me})}}return i(Es,{title:Mt(C),subtitle:Mt(I),titleAlignment:k??void 0,titleAlignmentMobile:v,body:Z(_),layout:m,mediaDirection:g,mediaDirectionMobile:f,bodyAlignment:D??void 0,bodyAlignmentMobile:M,className:v9,callsToAction:Ie,displayOn:b??void 0,motifScheme:J,backgroundColor:B??N,borderColor:L??(p?void 0:H),anchorId:z,animation:_e,isRTL:s,asset:ke,style:me,listIconUrl:Y,...ce})};Hc.displayName="Content";var EUe={contentAll:F` 10328 fragment ContentAnimationAll on ContentAnimation { 10329 keyframes { 10330 ...ContentfulSysId 10331 timingFunction 10332 transformOrigin 10333 } 10334 target 10335 } 10336 ${G} 10337 `},RUe=F` 10338 query AnimationCollectionQuery($preview: Boolean!, $locale: String!) { 10339 animationKeyframesCollection( 10340 preview: $preview 10341 locale: $locale 10342 limit: 20 10343 order: sys_publishedAt_ASC 10344 ) { 10345 items { 10346 ...ContentfulSysId 10347 timingFunction 10348 transformOrigin 10349 keyframes 10350 } 10351 } 10352 } 10353 ${G} 10354`,_ee=F` 10355 fragment AnimationKeyframesAll on AnimationKeyframes { 10356 ...ContentfulSysId 10357 timingFunction 10358 transformOrigin 10359 startingCss 10360 keyframes 10361 } 10362 ${G} 10363`,Cg=F` 10364 fragment EntranceAnimationAll on EntranceAnimation { 10365 ...ContentfulSysId 10366 delay 10367 direction 10368 duration 10369 iterationCount 10370 animation 10371 advancedKeyframes { 10372 ...ContentfulSysId 10373 ...AnimationKeyframesAll 10374 } 10375 } 10376 ${G} 10377 ${_ee} 10378`;var nv=F` 10379 fragment DefinitionAll on Definition { 10380 ...ContentfulSysId 10381 displayText 10382 fullText { 10383 json 10384 } 10385 anchorId 10386 } 10387 ${G} 10388`,LUe=F`
10389 query DefinitionQuery($preview: Boolean!, $locale: String!, $id: String!) { 10390 Definition(preview: $preview, locale: $locale, id: $id) { 10391 ...DefinitionAll 10392 } 10393 } 10394 ${nv} 10395`;var rv=e=>{let{number:t,fullText:o}=e;return o?i(rh,{index:String(t),children:Tn(o)}):null};rv.displayName="Footnote";var Vc={all:F` 10396 fragment FootNotesAll on FootNotes { 10397 ...ContentfulSysId 10398 number 10399 displayText 10400 fullText { 10401 json 10402 } 10403 anchorId 10404 } 10405 ${G} 10406 `},qUe=F` 10407 query FootNotesQuery($preview: Boolean!, $locale: String!, $id: String!) { 10408 footNotes(preview: $preview, locale: $locale, id: $id) { 10409 ...FootNotesAll 10410 } 10411 } 10412 ${Vc.all} 10413`;var xg=F` 10414 fragment StatsAll on Stats { 10415 __typename 10416 sys { 10417 id 10418 } 10419 stat 10420 optionalSupplementaryText 10421 entranceAnimation { 10422 ...EntranceAnimationAll 10423 } 10424 } 10425 ${Cg} 10426`,eWe=F` 10427 query StatsQuery($preview: Boolean!, $locale: String!, $id: String!) { 10428 stats(preview: $preview, locale: $locale, id: $id) { 10429 ...StatsAll 10430 } 10431 } 10432 ${xg} 10433`;var k9=F` 10434 fragment ContentAssetAll on ContentAsset { 10435 ...ContentfulSysId 10436 ... on Video { 10437 ...VideoAll 10438 } 10439 ... on Image { 10440 ...ImageAll 10441 } 10442 ... on SnapchatEmbed { 10443 ...SnapchatEmbedAll 10444 } 10445 ... on Stats { 10446 ...StatsAll 10447 } 10448 } 10449 ${G} 10450 ${ze.all} 10451 ${yt.all} 10452 ${Bc} 10453 ${xg} 10454`,av={all:F` 10455 fragment ContentAll on Content { 10456 ...ContentfulSysId 10457 title { 10458 json 10459 } 10460 subtitle { 10461 json 10462 } 10463 # CTA Collection limit has to be 3 or less for GraphQL query complexity issues. 10464 callsToActionCollection(limit: 3) { 10465 items { 10466 ... on CallToAction { 10467 ...CallToActionAll 10468 } 10469 ... on ImageButton { 10470 ...ContentfulSysId 10471 } 10472 } 10473 } 10474 showVideoControls 10475 mediaWrap 10476 layout 10477 mediaDirection 10478 mediaDirectionMobile 10479 titleAlignment 10480 titleAlignmentMobile 10481 bodyAlignment 10482 bodyAlignmentMobile 10483 listIcon { 10484 ...ContentfulSysId 10485 media { 10486 url 10487 } 10488 } 10489 useHeadingTagsForBody 10490 collapseMobileTable 10491 showFullResolutionMedia 10492 displayOn 10493 theme 10494 brandBackgroundColor 10495 backgroundColor 10496 brandBorderColor 10497 borderColor 10498 anchorId 10499 asset { 10500 ...ContentAssetAll 10501 } 10502 entranceAnimation { 10503 ...EntranceAnimationAll 10504 } 10505 body { 10506 json 10507 # TODO: There's an inline expansion into embedded content. Consider lazy-loading this 10508 # to reduce the query complexity for the typical use-case. 10509 links { 10510 entries { 10511 block { 10512 ...ContentfulSysId 10513 ... on CustomerQuote { 10514 ...CustomerQuoteAll 10515 } 10516 ... on CallToAction { 10517 ...CallToActionAll 10518 } 10519 ... on Code { 10520 ...CodeAll 10521 } 10522 ... on Image { 10523 ...ImageAll 10524 } 10525 } 10526 inline { 10527 ...ContentfulSysId 10528 ... on FootNotes { 10529 ...FootNotesAll 10530 } 10531 ... on CustomerQuote { 10532 ...CustomerQuoteAll 10533 } 10534 ... on CallToAction { 10535 ...CallToActionAll 10536 } 10537 ... on Definition { 10538 ...DefinitionAll 10539 } 10540 } 10541 hyperlink { 10542 ...ContentfulSysId 10543 ... on Slug { 10544 slug 10545 } 10546 } 10547 } 10548 assets { 10549 block { 10550 ...AssetAll 10551 } 10552 hyperlink { 10553 ...AssetAll 10554 } 10555 } 10556 } 10557 } 10558 } 10559 ${Mn} 10560 ${nt} 10561 ${Vc.all} 10562 ${nv} 10563 ${zx.all} 10564 ${yt.all} 10565 ${ze.all} 10566 ${V8.all} 10567 ${k9} 10568 ${Cg} 10569 `,media:F` 10570 fragment ContentMedia on Content { 10571 ...ContentfulSysId 10572 title { 10573 json 10574 } 10575 asset { 10576 ...ContentAssetAll 10577 } 10578 } 10579 ${G} 10580 ${k9} 10581 `},vg={all:F` 10582 query ContentQuery($preview: Boolean!, $locale: String!, $id: String!) { 10583 content(preview: $preview, locale: $locale, id: $id) { 10584 ...ContentAll 10585 } 10586 } 10587 ${av.all} 10588 `};var Oi=25,Za=F` 10589 fragment BlockAll on Block { 10590 ...ContentfulSysId 10591 anchorId 10592 theme
10593 brandBackgroundColor 10594 backgroundColor 10595 backgroundMediaV2 { 10596 __typename 10597 ... on Video { 10598 ...VideoAll 10599 } 10600 ... on Image { 10601 ...ImageAll 10602 } 10603 } 10604 showCurtain 10605 eyebrow 10606 title { 10607 json 10608 links { 10609 entries { 10610 inline { 10611 ...ContentfulSysId 10612 ... on EmphasizedText { 10613 ...EmphasizedTextAll 10614 } 10615 } 10616 } 10617 } 10618 } 10619 subtitle { 10620 json 10621 } 10622 titleAlignment 10623 titleAlignmentMobile 10624 maxColumns 10625 isNarrow 10626 widthStyle 10627 fullHeight 10628 topSpacing 10629 bottomSpacing 10630 contentsCollection(limit: 15) { 10631 items { 10632 ...ContentfulSysId 10633 } 10634 } 10635 callsToActionCollection(limit: 9) { 10636 items { 10637 ... on CallToAction { 10638 ...CallToActionAll 10639 } 10640 } 10641 } 10642 } 10643 ${G} 10644 ${nt} 10645 ${kt.all} 10646 ${yt.all} 10647 ${ze.all} 10648 ${Xa} 10649`,FWe=F` 10650 fragment BlockPreview on Block { 10651 ...ContentfulSysId 10652 title { 10653 json 10654 } 10655 contentsCollection(limit: 5) { 10656 items { 10657 ... on Content { 10658 ...ContentMedia 10659 } 10660 } 10661 } 10662 } 10663 ${G} 10664 ${av.media} 10665`,Ig=F` 10666 fragment BlockShallow on Block { 10667 ...ContentfulSysId 10668 contentsCollection(limit: 15) { 10669 items { 10670 ...ContentfulSysId 10671 } 10672 } 10673 } 10674 ${G} 10675`,BWe=F` 10676 query BlockQuery($preview: Boolean!, $locale: String!, $id: String!) { 10677 block(preview: $preview, locale: $locale, id: $id) { 10678 ...BlockAll 10679 } 10680 } 10681 ${Za} 10682`;var eo=F` 10683 fragment CriteriaAll on Criteria { 10684 ...ContentfulSysId 10685 trafficRangeStart 10686 trafficRangeEnd 10687 countryAction 10688 countries 10689 languageAction 10690 languages 10691 deviceAction 10692 devices 10693 platformAction 10694 platforms 10695 marketAction 10696 markets 10697 utmParams 10698 utmParamsAction 10699 businessPersonaAction 10700 businessPersonasMatchAll 10701 businessPersonas 10702 snapPersonaAction 10703 snapPersonas 10704 } 10705 ${G} 10706`,M9=F` 10707 fragment SiteMapExperiment on Experiment { 10708 sys { 10709 id 10710 } 10711 defaultReference { 10712 ...SiteMapPage 10713 } 10714 } 10715`;function kg(e,t,o,n=10){return F` 10716 fragment ExperimentOn${e}Loading${t} on Entry { 10717 ... on ${e} { 10718 ...${t} 10719 } 10720 ... on Experiment { 10721 ...ContentfulSysId 10722 defaultReference { 10723 ...${t} 10724 } 10725 experimentArmsCollection(limit: ${n}) { 10726 items { 10727 ...ContentfulSysId 10728 reference { 10729 ...${t} 10730 } 10731 criteria { 10732 ...CriteriaAll 10733 } 10734 abExperimentsCollection(limit: ${n}) { 10735 items { 10736 ...ContentfulSysId 10737 analyticsId 10738 seed 10739 reference { 10740 ...ContentfulSysId 10741 } 10742 abVariantsCollection(limit: 5) { 10743 items { 10744 ...ContentfulSysId 10745 replacement { 10746 ...ContentfulSysId 10747 ... on Page { 10748 # The standard page level block query has a set limit, which, at the time of writing this comment 10749 # is 25. However, this particular query, due to its nested nature, requires a lower limit, otherwise 10750 # it will break our query complexity cap. Therefore, we drastically lower the limit for this particular 10751 # query to be much smaller than the established "blockQueryLimit". 10752 # 10753 # Rather than hardcoding this limit, we use the existing blockQueryLimit constant, and scale it down 10754 # to 40% of its original value. This should ensure that this query stays sufficiently within the complexity 10755 # cap. 10756 blocksCollection(limit: ${Math.floor(Oi*(2/5))}) { 10757 items { 10758 ...ContentfulSysId 10759 ... on Block { 10760 ...BlockShallow 10761 } 10762 } 10763 } 10764 } 10765 ... on Block { 10766 ...ContentfulSysId 10767 contentsCollection(limit: 10) { 10768 items { 10769 ...ContentfulSysId 10770 } 10771 } 10772 } 10773 } 10774 trafficStartRange 10775 trafficEndRange 10776 analyticsId 10777 } 10778 } 10779 } 10780 } 10781 analyticsId 10782 } 10783 } 10784 analyticsId 10785 } 10786 } 10787 ${Ig} 10788 ${G} 10789 ${eo} 10790 ${o} 10791 `}function ei(e,t,o,n=10){return F` 10792 fragment ExperimentOn${e}Loading${t} on Entry { 10793 ... on ${e} { 10794 ...${t} 10795 } 10796 ... on Experiment { 10797 ...ContentfulSysId 10798 defaultReference { 10799 ...${t} 10800 } 10801 experimentArmsCollection(limit: ${n}) { 10802 items { 10803 ...ContentfulSysId 10804 reference { 10805 ...${t} 10806 } 10807 criteria { 10808 ...CriteriaAll 10809 } 10810 analyticsId 10811 } 10812 } 10813 analyticsId 10814 } 10815 } 10816 ${G} 10817 ${eo} 10818 ${o} 10819 `}var Gi=T(E());var ml=T(E());var A9=e=>{let t=0,o=0;for(let n=0;n<e.length;n++)t=(t+e.charCodeAt(n))%1024,o=(o+n*e.charCodeAt(n))%1024;return t+o};var wee="useAbExperiments";function Mg(){let{getUserInfo:e,getCurrentUrl:t}=(0,ml.useContext)(oe),[o,n]=(0,ml.useState)(!1),{data:a}=Ln({skip:!o,dataId:"userInfo",dataAsync:e,onError:l=>Pe.logError({component:wee,error:l})});return(0,ml.useCallback)(l=>(!o&&n(!0),Dee(l,{userInfo:a,getCurrentUrl:t})),[o,t,a])}var Dee=(e,t)=>
10819{let{userInfo:o,getCurrentUrl:n}=t;if(!o)return{isThinking:!0,decision:void 0};let a=o.experimentBucket.id+e.seed,l=A9(a)%1024/1024*100;if(!O.isDeploymentTypeProd){let d=new URL(n()).searchParams.get("experimentsUserBucket"),u=d?Number.parseInt(d):void 0;u!==void 0&&u>=0&&u<=100&&(l=u)}if(!e.variants)return{isThinking:!1,decision:e.default};for(let p of e.variants)if(!(ht(p.trafficStartRange)||ht(p.trafficEndRange))&&p.trafficStartRange<=l&&p.trafficEndRange>=l)return{isThinking:!1,decision:p};return{isThinking:!1,decision:e.default}};var gl=T(E());var Ag=class Ag{constructor(t){Te(this,"ref");Te(this,"deref",()=>this.ref);this.ref=t}get[Symbol.toStringTag](){return Ag.tag}};Te(Ag,"tag","WeakRef");var iv=Ag,Pee=50;function Nee(e,t){return e.length!==t.length?!1:e.every((o,n)=>{let a=t[n];return typeof a=="object"&&a!==null&&"deref"in a?o===a.deref():o===a})}function Eee(e){return typeof e=="object"&&e!==null?WeakRef?new WeakRef(e):new iv(e):typeof e=="string"||typeof e=="number"||typeof e=="boolean"?e:String(e)}function T9({key:e,callback:t,dependencies:o,cache:n}){n.has(e)||n.set(e,[]);let a=n.get(e);a.some(s=>Nee(o,s))||(a.length>=Pee&&a.shift(),a.push(o.map(Eee)),t())}var sv=(0,gl.createContext)(new Map);function Tg(){let e=(0,gl.useContext)(sv);return(0,gl.useCallback)(o=>T9({...o,cache:e}),[e])}var fl=T(E());var Ree="useUserBusinessProfile";function _9(){let{cookieManager:e,getPersona:t,personasRef:o}=(0,fl.useContext)(oe),[n,a]=(0,fl.useState)(!1),{data:s}=Ln({skip:!n,dataId:"persona",dataAsync:t,onError:p=>Pe.logError({component:Ree,error:p})});return(0,fl.useCallback)(()=>{let p=o?.current;if(p?.biz!==void 0)return{isThinking:!1,decision:p.biz};let d=na(e);return d?.biz!==void 0?{isThinking:!1,decision:d.biz}:(n||a(!0),Fee(s))},[e,n,s,o])}var Fee=e=>e?e?.matches?.length?{isThinking:!1,decision:[...e.matches]}:{isThinking:!1,decision:null}:{isThinking:!0,decision:void 0};var _g=T(E());function w9(){let{cookieManager:e,personasRef:t}=(0,_g.useContext)(oe);return(0,_g.useCallback)(()=>{if(t?.current?.snap!==void 0)return t.current.snap??[];let n=na(e);return n?.snap!==void 0?n.snap??[]:[]},[e,t])}var D9=e=>{let t=new URL(e),o={};for(let[n,a]of t.searchParams.entries()){let s=n.toLowerCase();s.startsWith("utm_")&&(o[s]=a)}return o};var Bee=!1;function ti(e,t,o,n){Bee&&(e??(e="synthetic"),n??(n="Allow"),console.debug(`Criteria not applicable for arm '${e}' because of check '${t}' in '${o}' has action '${n}'.`))}function rn(){let{cookieManager:e,currentLocale:t,userLocation:o,getCurrentUrl:n,personasRef:a,updatePersonas:s}=(0,Gi.useContext)(oe),l=(0,Gi.useContext)(Je),{selectedMarketCode:p}=(0,Gi.useContext)(qt),d=Tg(),u=Mg(),y=w9(),m=_9(),g=t??"Unknown",f=o.country??"Unknown",b=p??"Unknown",S=l.getLowEntropyHints().platform??"Unknown",C=l.getLowEntropyHints().isMobile?"Mobile":"Non-Mobile",I=D9(n()),k=(0,Gi.useCallback)(w=>P9(w,{language:g,country:f,market:b,platform:S,deviceType:C,utmParams:I}),[g,f,b,S,C,I]);return{decideExperiment:(0,Gi.useCallback)((w,_)=>Lee(w,{language:g,country:f,market:b,platform:S,deviceType:C,singleCallback:d,getCurrentUrl:n,decideAbExperiment:u,utmParams:I,getUserSnapProfile:y,getUserBusinessProfile:m,personasRef:a,updatePersonas:s,cookieManager:e},_),[g,f,b,S,C,d,u,n,I,y,m,a,s,e]),checkCriteria:k}}var bl=(e,t,o)=>(o??(o="Allow"),!!(o==="Allow"&&e&&!e.includes(t)||o==="Deny"&&e?.includes(t))),$ee=(e,t,o)=>bl(e?.map(n=>n.toLowerCase()),t.toLowerCase(),o);function P9(e,t,o){if(!e)return!0;if(bl(e.countries,t.country,e.countryAction))return ti(o,t.country,e.countries,e.countryAction),!1;if(bl(e.markets,t.market,e.marketAction))return ti(o,t.market,e.markets,e.marketAction),!1;if(bl(e.languages,t.language,e.languageAction))return ti(o,t.language,e.languages,e.languageAction),!1;if(bl(e.platforms,t.platform,e.platformAction))return ti(o,t.platform,e.platforms,e.platformAction),!1;if(bl(e.devices,t.deviceType,e.deviceAction))return ti(o,t.deviceType,e.devices,e.deviceAction),!1;if(e.utmParams)for(let[n,a]of Object.entries(e.utmParams)){if(a.length===0)continue;let s=t.utmParams[n.toLowerCase()]??"";
10819if($ee(a,s,e.utmParamsAction))return ti(o,s,a,e.utmParamsAction),!1}return!0}function Lee(e,t,o){if(e.__typename!=="Experiment")return o.logImpression&&it({subscribedEventType:"experiment_impression",experimentId:void 0,variantId:void 0,context:{locale:t.language}}),{decision:e};let n=e,a="default",s=n.defaultReference,l={},p=t.singleCallback,d=!1;for(let u of n.experimentArmsCollection?.items??[]){if(!u.criteria)continue;let y=P9(u.criteria,t,u.analyticsId),m=u.criteria?.snapPersonas,g=u.criteria?.businessPersonas,f=u.criteria?.businessPersonasMatchAll,b=!!g?.length||f,S=!!m?.length;if(!y&&!b&&!S)continue;if(b){let I=t.getUserBusinessProfile();if(I.isThinking){d=!0;break}let k=I.decision,w={...na(t.cookieManager)||t.personasRef?.current,biz:k};if(t.updatePersonas?.(w),og(t.cookieManager,w),!k||k.length===0)continue;let _=u.criteria?.businessPersonaAction??"Allow";if(f){if(_==="Deny")continue}else{let D=k.some(A=>g?.includes(A)),M=!1;if(_==="Allow"&&!D&&(M=!0),_==="Deny"&&D&&(M=!0),M){k.forEach(A=>{ti(u.analyticsId,A,g,_)});continue}}}if(S){let I=t.getUserSnapProfile(),k=u.criteria?.snapPersonaAction??"Allow",v=I.some(_=>m?.includes(_)),w=!1;if(k==="Allow"&&!v&&(w=!0),k==="Deny"&&v&&(w=!0),w){I.forEach(_=>{ti(u.analyticsId,_,m,k)});continue}}if(s=u.reference,a=u.analyticsId??a,(u.abExperimentsCollection?.items.length??0)>0&&u.abExperimentsCollection?.items.length){let I=u.abExperimentsCollection.items;for(let k of I){let v=k.reference?.sys.id,w=!1;if(!v)continue;let{isThinking:_,decision:D}=t.decideAbExperiment({seed:k.seed??k.sys.id,variants:k.abVariantsCollection?.items});D&&(D.replacement?.__typename==="Page"?s=D.replacement:D.replacement?l[v]={...D.replacement}:l[v]=void 0,p({key:"useExperimentVariantSwap",callback:()=>$n({eventCategory:"Experiment",eventAction:"experimentExposure",eventLabel:`${a}:${k.analyticsId}:${D.analyticsId}`,context:{locale:t.language}}),dependencies:[a,k.analyticsId,D.analyticsId]}),w=!0),!_&&!w&&p({key:"useExperimentDefault",callback:()=>$n({eventCategory:"Experiment",eventAction:"experimentExposure",eventLabel:`${a}:${k.analyticsId}:default`,context:{locale:t.language}}),dependencies:[a,k.analyticsId]})}}break}return d?{decision:s}:(p({key:"useExperiment",callback:()=>$n({eventCategory:"Experiment",eventAction:"useExperiment",eventLabel:`${ya(n.analyticsId??"")}:${ya(a)}`,context:{locale:t.language}}),dependencies:[n.analyticsId,a]}),o.logImpression&&p({key:"experimentImpression",callback:()=>it({subscribedEventType:"experiment_impression",experimentId:n.analyticsId??"Unknown",variantId:a,context:{locale:t.language}}),dependencies:[n.analyticsId,a]}),{decision:s,experimentId:n.analyticsId,variantId:a,replacements:l})}var N9=c` 10820 display: flex; 10821`,E9=c` 10822 display: flex; 10823 align-items: center; 10824`,R9=c` 10825 padding-block-end: ${r("--spacing-xs")}; 10826 10827 ${V} { 10828 padding-block-end: 0; 10829 } 10830`;var Hee=(e,t)=>{if(e.__typename==="FooterCookiesSettingsLink")return{id:e.sys.id,title:e.title??"",url:t};if(e.__typename!=="FooterLocaleDropdown"&&e.__typename==="FooterItem")return!e.url||!e.title?void 0:{analyticsLabel:e?.analytics?.label,id:e.sys.id,title:e.title,url:e.url}},lv=(e,t,o)=>{if(!o||!o.length)return[];let n=s=>s.reduce((l,p)=>{if(e(p)){let d=Hee(p,t);d&&l.push(d)}return l},[]);return(s=>s.reduce((l,p)=>{if(e(p)){if(!p.groupKey||!p.itemsCollection?.items)return l;l.push({items:n(p.itemsCollection.items),title:p.title??"",groupKey:p.groupKey})}return l},[]))(o)};var $9=({cookieSettingsUrl:e})=>{let{sitewideValues:t}=(0,zi.useContext)(qn),o=It().stinsonPhase,n=t?.customSitewideEntriesCollection?.items.find(s=>s?.__typename==="StinsonPhaseOneFooter")?.sys.id;if(!n)return null;let a={cookieSettingsUrl:e,footerId:n};return o==="phase2"?i(void 0,{...a}):i(void 0,{...a})};$9.displayName="StinsonFooter";var L9=({cookieSettingsUrl:e})=>{let{footerView:t,hasSideNav:o,hasCustomSideNav:n}=(0,zi.useContext)(An),{getImageSources:a}=ve(),s=(0,zi.useCallback)((M,A)=>{fe({eventCategory:"Footer",eventAction:"Click",eventLabel:`footer_group_toggle: ${M}`,context:{elementText:A,elementLocation:"Footer"}})},[]),l=Qa(O,"footer"),{formatMessage:p}=(0,zi.useContext)(Qe),d=p({id:"navigate-to-snap-com",defaultMessage:"Navigate to snap.com"}),u={...O.theme?.footerPropsOverride,...l},{sitewideValues:y}
10830=(0,zi.useContext)(qn),m=tt(y?.customFooter?.brandBackgroundColor),{checkCriteria:g}=rn(),f=t==="Simple Footer",b=t==="No Footer",S="Full Footer";if(b?S="No Footer":f&&(S="Simple Footer"),b)return null;if(O.site==="stinson")return i($9,{cookieSettingsUrl:e});let C=M=>g(M.criteria),I=y?.customFooter,k=lv(C,e,I?.columnsCollection?.items),v=lv(C,e,I?.barCollection?.items),w=I?.socialCollection?.items?.length?i(q2,{title:I?.socialLabel??void 0,hasSideNav:o||n,children:I?.socialCollection?.items?.map((M,A)=>{let{image:N,height:$,sys:B,url:L,width:H}=M;return i(Gs,{url:L,height:$,imgSrcs:a(N?.url),altText:N?.description,width:H,pictureClassName:N9,className:E9},`${B.id}-${A}`)})}):null,_=I?.logo,D;if(_){let M=a(_.media?.url,{image:{height:24}}),A=I?.url,N=i(Ke,{sourceType:_.media?.contentType,marginBottom:!1,imgSrcs:M,altText:_.media?.description});if(A){let $=I?.logoAriaLabel||d;D=i(Qn,{href:A,className:R9,"aria-label":$,children:N})}else D=N}return i(OC,{customColumns:k,customFooterBar:v,cookieSettingsUrl:e,motifScheme:m,backgroundColor:I?.backgroundColor,logo:D,socialBar:w,footerType:S,hasSideNav:o||n,onGroupToggle:s,...u})};var H9=()=>null;var _n=T(E());var V9=e=>{let{checkCriteria:t}=rn(),o=Wt(),{displayMode:n="DesktopHeader"}=e,a=o.pathname.substring(1)||"home",s=e.displayModes?.includes(n),l=!e.hideCriteria||t(e.hideCriteria),p=e.hideForSlugs?.some(d=>a===d);return!s||!l||p?null:e.callToAction?i(ft,{...e.callToAction}):null};var Gc=F` 10831 fragment NavigationCta on NavigationCallToAction { 10832 ...ContentfulSysId 10833 callToAction { 10834 ...CallToActionAll 10835 } 10836 displayModes 10837 hideCriteria { 10838 ...CriteriaAll 10839 } 10840 hideForSlugs 10841 } 10842 ${eo} 10843 ${G} 10844 ${nt} 10845`,uQe=F` 10846 query NavigationCtaQuery($preview: Boolean!, $locale: String!, $id: String!) { 10847 cavigationCta(preview: $preview, locale: $locale, id: $id) { 10848 ...NavigationCta 10849 } 10850 } 10851 ${Gc} 10852`;var cv=({displayRegion:e="Header",callsToAction:t})=>{let o=Ft();if(!t)return null;let n="DesktopHeader";o&&e==="Header"&&(n="MobileHeader"),o&&e==="Screen"&&(n="MobileScreen");let a=t.map(s=>{switch(s.__typename){case"NavigationCallToAction":{let l=ko(s),p=l.callToAction?.presentation;return!o||e==="Screen"?p&&(p.size=ma.Compact):p&&(p.buttonType=Lo.Flat),i(V9,{...l,displayMode:n},s.sys.id)}case"CallToAction":{let l=ko(s),p=l.presentation;return!o||e==="Screen"?p&&(p.size=ma.Compact):p&&(p.buttonType=Lo.Flat),i(ft,{...l},s.sys.id)}default:throw new Error(`Unknown navigation CTA ${s.__typename}`)}});return i(se,{children:a})};var dv=T(E());var O9=()=>{let{sitewideValues:e}=(0,dv.useContext)(qn),{formatMessage:t}=(0,dv.useContext)(Qe),o=t({id:"navigate-to-home",defaultMessage:"Navigate to home page"}),n=e?.navigationBar,{getImageSources:a}=ve();if(!n)return null;let{url:s,logoV2:l}=n,p=$e({mobile:a(l?.mobileMedia?.url),desktop:a(l?.media?.url)});return i(se,{children:i(_i,{imgSrcs:p,url:s,logoType:"Ghost",ariaLabel:o})})};var uv=T(E());var G9=({setSearchOpen:e,autocompleteProps:t})=>{let{formatMessage:o}=(0,uv.useContext)(Qe),{pathname:n}=Wt(),{onRedirect:a}=(0,uv.useContext)(oe),s=nn(),l=p=>{a?.(`/search?q=${encodeURIComponent(p)}`)};return i(ku,{autocompleteResults:[],cancelMessage:o({id:"globalHeaderSearchCancel",defaultMessage:"Cancel"}),collapsible:!0,disabled:n==="/search",hideSuggestions:!0,loadingAutocompleteTerms:!1,onChange:vo,onCollapseChange:p=>e(p),onSeeResults:l,onSelect:vo,placeholder:o({id:"placeholderSearchPageInput",defaultMessage:"Search..."}),shortBar:n!=="/search",iconButtonSize:s==="specs"?"medium":"large",...t})};var z9=T(E());var U9=({items:e})=>{let t=(0,z9.useContext)(Se).elementLocation;if(!e||!e.length)return null;let o=n=>{let{contentfulDescriptionDataset:a}=Re({entryId:n,fieldIds:["contentfulDescription"]});return a};return i(se,{children:e.map(n=>{let{sys:a,url:s,title:l,isSelected:p,analytics:d,column1Label:u,column1Items:y,column2Label:m,column2Items:g,column3Label:f,column3Items:b,featuredMenuItem:S}=n,C=a.id,I=(k,v)=>{fe({eventCategory:"NavigatorItem",eventAction:"Click",eventLabel:v??k,context:{targetUrl:k,elementText:l,elementLocation:t}}),en(k)&&Pe.flush()};return i(ec,{dataset:o(C),id:C,url:s??"",isSelected:p,title:l??"",analytics:d?.label?{label:d.label}:void 0,col1Label:u,col1Items:y,col2Label:m,col2Items:g,col3Label:f,col3Items:b,featuredItem:S,onClick:I},C)})})};var wg=T(E());var yv=T(E());var W9=({sys:e,url:t,title:o,isSelected:n,analytics:a,column1Label:s,column1Items:l,column2Label:p,column2Items:d,column3Label:u,column3Items:y,featuredMenuItem:m})=>{let g=(0,yv.useContext)(Se).elementLocation,{getCurrentUrl:f}=(0,yv.useContext)(oe),{contentfulDescriptionDataset:b}=Re({entryId:e.id,fieldIds:["contentfulDescription"]});if(!o)return null;let S=(v,w)=>{fe({eventAction:"Click",eventCategory:"LocalNavItemMobile",eventLabel:w??null,context:{elementText:o,targetUrl:v,elementLocation:g}}),en(v)&&Pe.flush()},C=new URL(t??"",f()),I=qo(C),k=!!(l?.length||d?.length||y?.length||m);return i(Si,{showExternalIcon:!I,href:t,title:o,onClick:()=>S(t??"",a?.label),isSelected:n,dataset:b,addTrackingParams:!I,onToggle:v=>{fe({eventAction:"Click",eventCategory:"LocalNavMobile",eventLabel:a?.label??null,context:{elementText:v,elementLocation:g}})},children:k&&i(tc,{col1Label:s,col1Items:l,col2Label:p,col2Items:d,col3Label:u,col3Items:y,featuredItem:m,onClick:S})})};var q9=({items:e})=>{let{setGroupKey:t}=(0,wg.useContext)(et);return(0,wg.useEffect)(()=>{t?.(Jb)},[t]),!e||!e.length?null:i(se,{children:e.map((o,n)=>i(W9,{...o},`${o.sys.id}-${n}`))})};var Q9=T(E());var Dg=()=>{let e=(0,Q9.useContext)(tn);
10852if(e===void 0)throw new Error("ConsumerContext can only be used in combination with ConsumerProvider");return e};var K9=c` 10853 width: 500px; 10854 &&& { 10855 margin-left: auto; 10856 } 10857`,j9=c` 10858 width: 100%; 10859 &&& { 10860 margin-left: auto; 10861 } 10862`,Y9=c` 10863 & > *:first-child { 10864 width: 100%; 10865 10866 ${P} { 10867 max-width: fit-content; 10868 } 10869 } 10870`,X9=c` 10871 display: inline-block; 10872 cursor: pointer; 10873 color: ${r("--fg-color")}; 10874 text-decoration: none; 10875`,J9=c` 10876 position: sticky; 10877 top: 0; 10878 left: 0; 10879 right: 0; 10880 z-index: ${De.NAVIGATOR}; 10881`,Z9=c` 10882 margin: 0; 10883`;function e7(e,t,o,n){let a=[];for(let s of e??[]){let l=Oee(s,t,o,n);l&&a.push(l)}return a}var Oee=(e,t,o,n)=>{if(!(o?.(e.hideCriteria)??!0))return null;let s=(!!e.url&&t?.(e.url))??!1,l=(k,v)=>{if(!(o?.(v.hideCriteria)??!0))return k;let _=(!!v.url&&t?.(v.url))??!1;return s||(s=_),k.push({title:v.title??"",url:v.url??"",description:v.description,analytics:t7(v),icon:o7(v),media:n7(v,n),dataset:Re({entryId:v.sys.id,fieldIds:["contentfulDescription"]}).contentfulDescriptionDataset}),k},{column1MenuItemsCollection:p,column2MenuItemsCollection:d,column3MenuItemsCollection:u,featuredHeaderMenuItem:y,...m}=e,g=p?.items.reduce(l,[]),f=d?.items.reduce(l,[]),b=u?.items.reduce(l,[]),S=Gee(e,n),C=o?.(e.featuredHeaderMenuItem?.hideCriteria)??!0;if(e.featuredHeaderMenuItem&&C){let k=(!!e.featuredHeaderMenuItem.url&&t?.(e.featuredHeaderMenuItem.url))??!1;s||(s=k)}return{...m,isSelected:s,column1Items:g,column2Items:f,column3Items:b,featuredMenuItem:S}},t7=e=>{let t=e.analytics?.label;if(t)return{label:t}},o7=e=>{let t=e.icon?.icon;if(t)return{name:t}},n7=(e,t)=>{let o=e.icon?.media?.contentType==="image/svg+xml",n=e.icon?.media;if(!o||!n||!t)return;let a=$e({desktop:t(n.url)});return{altText:n.description,imgSrcs:a}},Gee=(e,t)=>{if(!e.featuredHeaderMenuItem)return;let{title:o,url:n,description:a,ctaLabel:s}=e.featuredHeaderMenuItem;return{title:o??"",url:n??"",description:a,ctaLabel:s,analytics:t7(e.featuredHeaderMenuItem),icon:o7(e.featuredHeaderMenuItem),media:n7(e.featuredHeaderMenuItem,t),dataset:Re({entryId:e.featuredHeaderMenuItem.sys.id,fieldIds:["contentfulDescription"]}).contentfulDescriptionDataset}};var zc=T(E()),r7=T(ua());var zee="mwp-header-portal",mv=(0,zc.memo)(e=>{let{headerPortalRef:t}=(0,zc.useContext)(oe);return i("aside",{className:e.className,"data-testid":zee,ref:t})});mv.displayName="HeaderPortal";var Uee=({children:e})=>{let{headerPortalRef:t}=(0,zc.useContext)(oe);return t?.current?(0,r7.createPortal)(e,t.current):null};Uee.displayName="IntoHeaderPortal";var Ht="--total-header-height",Pg=()=>Number.parseInt(getComputedStyle(document.documentElement).getPropertyValue(Ht),10);var i7=({config:e})=>{let[t,o]=(0,_n.useState)(!1),n=Wt(),{checkCriteria:a}=rn(),{headerView:s,headerBackgroundColorOverride:l,setDefaultHeaderHeight:p}=(0,_n.useContext)(An),{sitewideValues:d}=(0,_n.useContext)(qn),{getImageSources:u}=ve(),y=Qa(O,"header"),m=It(),g=m.enableSiteSearch==="true",{isUrlCurrent:f}=Dg(),b=d?.navigationBar,S=tt(b?.brandBackgroundColor),C=b?.callsToActionCollection,I=e7(b?.headerMenuItemGroupsCollection?.items,f,a,u),k=(0,_n.useRef)(null),v=s==="No Header";(0,_n.useMemo)(()=>{typeof window>"u"&&p?.(v?0:64)},[v]),(0,_n.useEffect)(()=>{if(v){document.documentElement.style.setProperty(Ht,"0px");return}if(O.site==="stinson")return;let $=k.current;if(!$||typeof ResizeObserver>"u"){document.documentElement.style.setProperty(Ht,`${64}px`);return}let B,L=new ResizeObserver(H=>{let{height:z}=H[0].contentRect;B!==z&&(B=z,document.documentElement.style.setProperty(Ht,`${z}px`))});return L.observe($,{box:"border-box"}),()=>{L.disconnect()}},[v,s]);let w=(0,_n.useContext)(Se).elementLocation,_=$=>{fe({eventCategory:"GlobalNavGroup",eventAction:"Click",eventLabel:$.navGroupKey,context:{elementLocation:w,elementText:$.title}})};if(v)return null;if(O.site==="stinson")return i(void 0,{});let D=b?.title??e.theme?.globalNavProps?.siteName??"",M=$=>{fe({eventCategory:"Header",eventAction:$?"Open":"Close",eventLabel:null,context:{elementLocation:w}})},A={...e.theme?.globalNavProps,motifScheme:S,backgroundColor:l??b?.backgroundColor??void 0,logo:i(O9,{}),pathname:n.pathname,siteName:D,onToggleExpanded:M,onGlobalNavGroupSummaryClick:_};if((s==="Minimized Header"||s==="Reduced Header"||s==="Full Header")&&(A.cta=x(se,{children:[i(cv,{callsToAction:C?.items}),i(mv,{className:Z9}),O.shopify&&i(Mx,{})]}),A.endChildrenDesktopClassName=h(e.theme?.globalNavProps?.endChildrenDesktopClassName,K9),A.endChildrenMobileClassName=h(e.theme?.globalNavProps?.endChildrenMobileClassName,j9)),s==="Reduced Header"||s==="Full Header"){let $=n?.pathname!=="/search"&&g,B=i(Qn,{href:b?.url,className:X9,children:D});A.className=h(e.theme?.globalNavProps?.className,t?Y9:void 0),A.search=$&&i(G9,{setSearchOpen:o},"search"),A.searchOpen=t,A.siteName=B}if(s==="Full Header"){let $=()=>i(U9,{items:I}),B=()=>i(q9,{items:I}),L=C?.items.length;A.localNavDesktop=t?null:$({}),A.localNavMobile=B({}),A.localNavMobileFooter=L?i(cv,{callsToAction:C?.items,displayRegion:"Screen"}):null,A.navItemAlignment=m.globalNavItemsPosition}let N={...A,...y};return s==="Simple Header"||s==="Minimized Header"?i(hc,{...N,showGlobalLinks:!1,showNavScreen:!1}):i("div",{"data-testid":"mwp-header",ref:k,className:h(J9,e.headerProps?.className),children:i(hc,{...N})})};var c7=T(E());var s7=F` 10884 fragment MessageAll on Message { 10885 ...ContentfulSysId 10886 key 10887 value 10888 } 10889 ${G} 10890`,l7=F` 10891 query IntlMessages($preview: Boolean!, $locale: String!) { 10892 messageCollection(preview: $preview, locale: $locale) { 10893 items { 10894 ...MessageAll 10895 } 10896 } 10897 } 10898 ${s7} 10899`,p7=F` 10900 query LocalIntlMessages($preview: Boolean!, $locale: String!) { 10901 messageCollection(preview: $preview, locale: $locale, limit: 100) { 10902 items { 10903 ...MessageAll 10904 } 10905 } 10906 } 10907 ${s7} 10908`;var d7=({children:e})=>{let t=sl(),{globalApolloClient:o}=(0,c7.useContext)(We),{data:n}=de(p7),{data:a}=ar(l7,{currentLocale:t.locale,isPreview:t.preview,isSSR:O.isSSR},{client:o}),s=a?Object.fromEntries(a.messageCollection.items.map(u=>[u.key,u.value])):null,l=n?Object.fromEntries(n.messageCollection.items.map(u=>[u.key,u.value])):null;if(!s||!l)return i(Qe.Provider,{value:{formatMessage:P0},children:e});let p={...l,...s},d=(u,y)=>
10908{let m=p[u.id]??u.defaultMessage;if(!y)return m;for(let[g,f]of Object.entries(y))m=m.replace(`{${g}}`,f);return m};return i(Qe.Provider,{value:{formatMessage:d},children:e})};var y7=T(E());var u7=e=>{let t=e||No,[o]=t.split("-");return o};var fv=()=>{let e=(0,y7.useContext)(oe);return i(vt,{children:i("html",{lang:u7(e?.currentLocale)})})};fv.displayName="LanguageDirective";var Sl=T(E());var b7=T(JW());var Ng=class{constructor(){Te(this,"startSpan",t=>({endSpan:vo}));Te(this,"addEventListener",t=>vo)}};var m7=new Ng;function Ro(){return m7}function g7(e){m7=e}var f7=e=>{let{timeoutMs:t}=e,o=new AbortController,n=new Error(`Connection timed out after ${(t/1e3).toFixed(1)} seconds.`),a=setTimeout(()=>o.abort(n),t);return{signal:o.signal,clear:()=>clearTimeout(a)}};var Eg=new Set,Rg=new Set,wn=(e,t)=>new Promise((o,n)=>{Eg.forEach(f=>f());let a=Ro().startSpan(`Fetch: ${e}`),s=String(e).includes("contentful")?U0:3e4,l=O.isClient||t?.signal?void 0:f7({timeoutMs:s}),p=!1,d=t?.signal??l?.signal,u=!1,y=()=>{u||(u=!0,Rg.forEach(f=>f()),a.endSpan(),l?.clear(),d?.removeEventListener("abort",m))};function m(){p||(n(d?.reason??new Error("Request aborted.")),p=!0,y())}d?.addEventListener("abort",m);let g={...t,signal:d};(0,b7.default)(e,g).then(f=>{o(f)}).catch(f=>{p||(n(f),p=!0)}).finally(y)});var bv=(0,Sl.memo)(()=>{let[e,t]=(0,Sl.useState)(0);return(0,Sl.useEffect)(()=>{let o=()=>{setTimeout(()=>{t(a=>a+1)},0)},n=()=>{Y0(()=>t(a=>Math.max(0,a-1)),{timeout:5e3})};return Eg.add(o),Rg.add(n),()=>{Eg.delete(o),Rg.delete(n)}},[]),e===0?null:i(EF,{className:"react-loading-bar"})});bv.displayName="LoadingBar";var Fg=T(E(),1),qee=Object.defineProperty,Qee=(e,t)=>qee(e,"name",{value:t,configurable:!0});function dn(e,t){let o=(0,Fg.useRef)(null);(0,Fg.useEffect)(()=>{if(!us(o.current,t))return o.current=t,e()},t)}Qee(dn,"useImperativeEffect");var S7=()=>(dn(()=>{er("detect-ad-blocker","/openad.js",vo),setTimeout(()=>
10908{let e=ht(window.snapMarketingWeb?.hasAdBlocker);$n({eventAction:"Exists",eventCategory:"AdBlocker",eventLabel:`${e}`})},500)},[]),null);var C7=T(E());function Sv(e){if(e)try{let t=new URL(e);return`${t.origin}${t.pathname}`}catch{return e}}var h7={"https://www.googletagmanager.com/gtm.js":new Set(["eval"]),[`https://${O.domainName}/mwp-chunks/`]:new Set(["eval","properties"]),Unknown:new Set(["eval","inline"])},x7=()=>((0,C7.useEffect)(()=>{let e=new Set,t=o=>{let{blockedURI:n,violatedDirective:a,sourceFile:s}=o,l=`${n}|${a}|${s}`;if(!e.has(l)){for(let p in h7)if(h7[p]?.has(n)&&s.startsWith(p)){e.add(l);return}Be({component:"Csp",error:"CspViolationError",message:`Blocked ${n}, ${s}, ${a}`,context:{blockedUri:Sv(n),sourceFile:s,violatedDirective:Sv(a)}}),e.add(l)}};return document.addEventListener("securitypolicyviolation",t),()=>{document.removeEventListener("securitypolicyviolation",t)}},[]),null);function Kee(e,t){return sm(e,t,function(o,n){return by(e,n)})}var v7=Kee;var jee=R0(function(e,t){return e==null?{}:v7(e,t)}),oi=jee;function I7(){let e=performance.getEntriesByType("navigation"),[t]=e,o=["connectEnd","domComplete","domContentLoadedEventEnd","domInteractive","duration","loadEventEnd","responseEnd","transferSize"];for(let[n,a]of Object.entries(oi(t,o)))typeof a=="number"&&(n==="transferSize"?xa({eventCategory:"NavigationTiming",eventLabel:`${t.type} ${window.location.pathname}`,eventVariable:n,eventValue:a}):Hr({eventCategory:"NavigationTiming",eventLabel:`${t.type} ${window.location.pathname}`,eventVariable:n,eventValue:a}))}async function Yee(){let e=await wn("/api/profile");if(!e.ok)return;let t=await e.json();if(t?.profiles?.length)for(let o of t.profiles)it({subscribedEventType:"internal",eventCategory:"PersonaMatch",eventAction:"Fetch",eventLabel:`${o.id}:${o.tp}`});t.internal&&it({subscribedEventType:"internal",eventCategory:"InternalTrafficDetection",eventAction:"Fetch",eventLabel:t.internal?"true":"false"})}var k7=()=>(dn(()=>{it({subscribedEventType:"first_page_load"}),Yee()},[]),dn(()=>{if(document.readyState==="complete"){I7();return}let e=()=>{setTimeout(I7,0)};return window.addEventListener("load",e),()=>{window.removeEventListener("load",e)}},[]),null);var hl=T(E());var hv=[25,50,75,90,100],M7=()=>{let{pathname:e}=Wt(),t=(0,hl.useRef)(0),[o,n]=(0,hl.useState)(0);return(0,hl.useEffect)(()=>{let a=qk({interval:500},()=>{let s=window.scrollY,l=document.documentElement.scrollHeight-window.innerHeight,p=s/l,d=Math.round(p*100);n(d)});return window.addEventListener("scroll",a,{passive:!0}),()=>{window.removeEventListener("scroll",a)}},[n]),dn(()=>{t.current=0},[e]),dn(()=>{if(!(o<=t.current)){for(let a=0;a<hv.length;a++){let s=hv[a],l=hv[a+1],p=!l;if(!(t.current>=s||o<s||!p&&o>=l)){xa({eventCategory:"LogScrollDepth",eventLabel:`scroll breakpoint: ${s}%`,eventVariable:"scroll_percentage",eventValue:o});break}}t.current=o}},[o]),null};var _7=T(E());var A7=ns(os,{name:"Blue",fontFamily:["Ghost Sans"],"sdsm-default":{name:"Imported Deafult",legacyName:"Yellow","sdsm-hyperlink":{"--hyperlink-desktop-font-text-decoration":"underline","--hyperlink-mobile-font-text-decoration":"underline","--hyperlink-mobile-font-weight":"Medium","--hyperlink-desktop-font-weight":"Medium","--hyperlink-color":`${r("--action-text-hover-color")}`},sdsm:{"--border-radius-l":"12px","--border-radius-xl":"16px","--box-shadow-l":"0px 16px 32px 0 #000 12%","--bg-color":r("--palette-blue-v100"),"--action-text-default-color":r("--neutral-v500"),"--action-text-hover-color":r("--neutral-v600")},"sdsm-button":{"--button-primary-fg-color":r("--palette-blue-v50"),"--button-secondary-bg-color":r("--palette-blue-v50"),"--button-secondary-hover-bg-color":r("--palette-blue-v50"),"--button-secondary-border-color":r("--palette-blue-v50"),"--button-secondary-hover-border-color":r("--palette-blue-v50"),"--button-flat-fg-color":`${r("--fg-color")}`,"--button-border-radius":`${r("--border-radius-s")}`,"--button-hover-shadow":`${r("--box-shadow-l")}`,"--button-regular-padding":"var(--spacing-s) var(--spacing-m)","--button-compact-padding":"var(--spacing-xs) var(--spacing-m)"},"sdsm-header":{"--global-header-nav-screen-fg-color":r("--neutral-v650")},"sdsm-block":{"--block-eyebrow-color":r("--neutral-v700"),"--block-title-color":r("--neutral-v700"),"--block-subtitle-color":r("--neutral-v700")},"sdsm-tab":{},"sdsm-break":{},"sdsm-accordion":{"--accordion-header-color":`${r("--fg-color")}
10908`,"--accordion-divider-border-color":`${r("--fg-color")}`,"--accordion-header-divider-border-color":`${r("--fg-color")}`},"sdsm-quote":{"--quote-bg-color":r("--palette-blue-v50")},"sdsm-footer":{"--footer-bg-color":`${r("--bg-color")}`,"--footer-divider-border-color":`${r("--fg-color")}`,"--footer-bar-bg-color":`${r("--bg-color")}`},"sdsm-summary-card":{"--summary-card-title-color":r("--neutral-v700"),"--summary-card-description-color":r("--neutral-v600"),"--summary-card-bg-color":r("--palette-blue-v50")},"sdsm-form":{"--form-input-bg-color":r("--palette-blue-v50"),"--form-input-border-radius":`${r("--border-radius-xl")}`,"--form-input-padding":"var(--spacing-m) var(--spacing-l)","--form-grid-gap":`${r("--spacing-m")}`},"sdsm-footnote":{"--footnote-fg-color":r("--neutral-v500"),"--footnote-bg-color":r("--palette-blue-v50")},"sdsm-dropdown-menu":{"--dropdown-menu-bg-color":r("--palette-blue-v50")},"sdsm-banner":{"--banner-bg-color":`${r("--bg-color")}`,"--banner-fg-color":`${r("--fg-color")}`},"sdsm-content":{"--content-mobile-grid-gap":`${r("--spacing-l")}`},"sdsm-mosaic":{"--mosaic-border-radius":"24px","--mosaic-grid-gap":"32px","--mosaic-highlight-color":r("--palette-blue-v100"),"--mosaic-title-color":r("--palette-blue-v50")},"sdsm-media":{},"sdsm-search":{},"sdsm-pagination":{},"sdsm-side-navigation":{},"sdsm-spinner":{"--spinner-fg-color":`${r("--button-primary-fg-color")}`},"sdsm-modal":{"--modal-bg-color":"rgba(0,0,0,0.7)"},"sdsm-icon-button":{"--icon-button-bg-color":r("--neutral-v700"),"--icon-button-hover-bg-color":r("--neutral-v600"),"--icon-button-disabled-bg-color":"rgba(0,0,0,0)"}},"sdsm-secondary":{name:"Imported secondary",legacyName:"Black","sdsm-hyperlink":{"--hyperlink-desktop-font-text-decoration":"underline","--hyperlink-mobile-font-text-decoration":"underline","--hyperlink-mobile-font-weight":"Medium","--hyperlink-desktop-font-weight":"Medium","--hyperlink-color":`${r("--action-text-hover-color")}`},sdsm:{"--box-shadow-s":"0px 4px 8px 0 rgba(0, 0, 0, 0.12)","--box-shadow-m":"0px 8px 16px 0 rgba(0, 0, 0, 0.12)","--border-radius-xs":"1px","--border-radius-s":"4px","--border-radius-m":"8px","--border-radius-l":"12px","--border-radius-xl":"16px","--spacing-xxxs":"2px","--spacing-xxs":"4px","--spacing-xs":"8px","--spacing-s":"12px","--spacing-m":"16px","--spacing-l":"24px","--spacing-xl":"32px","--spacing-xxl":"40px","--spacing-xxxxl":"64px","--box-shadow-l":"0px 16px 32px 0 #000 12%","--fg-color":r("--palette-blue-v50"),"--action-text-default-color":r("--neutral-v500"),"--action-text-hover-color":r("--neutral-v600"),"--action-text-active-color":r("--neutral-v700")},"sdsm-button":{"--button-primary-bg-color":r("--palette-blue-v100"),"--button-primary-hover-bg-color":r("--palette-blue-v100"),"--button-primary-border-color":r("--palette-blue-v100"),"--button-primary-hover-border-color":r("--palette-blue-v100"),"--button-secondary-bg-color":r("--palette-blue-v50"),"--button-secondary-hover-bg-color":r("--palette-blue-v50"),"--button-secondary-border-color":r("--palette-blue-v50"),"--button-secondary-hover-border-color":r("--palette-blue-v50"),"--button-flat-fg-color":r("--palette-blue-v50"),"--button-border-radius":`${r("--border-radius-s")}`,"--button-hover-shadow":`${r("--box-shadow-l")}`,"--button-regular-padding":"var(--spacing-s) var(--spacing-m)","--button-compact-padding":"var(--spacing-xs) var(--spacing-m)"},"sdsm-header":{"--global-header-nav-screen-fg-color":r("--neutral-v650"),"--global-header-fg-color":r("--neutral-v200")},"sdsm-block":{"--block-eyebrow-color":r("--palette-blue-v50"),"--block-title-color":r("--palette-blue-v50"),"--block-subtitle-color":r("--palette-blue-v50")},"sdsm-tab":{"--tabs-underline-color":r("--neutral-v600")},"sdsm-break":{},"sdsm-accordion":{"--accordion-header-color":`${r("--fg-color")}`,"--accordion-divider-border-color":`${r("--fg-color")}`,"--accordion-header-divider-border-color":`${r("--fg-color")}`},"sdsm-quote":{"--quote-bg-color":r("--palette-blue-v50")},"sdsm-footer":{"--footer-bg-color":`${r("--bg-color")}`,"--footer-divider-border-color":`${r("--fg-color")}`,"--footer-bar-bg-color":`${r("--bg-color")}`},"sdsm-summary-card":{"--summary-card-title-color":r("--neutral-v700"),"--summary-card-description-color":r("--neutral-v600"),"--summary-card-bg-color":r("--p
10908alette-blue-v50")},"sdsm-form":{"--form-input-bg-color":r("--palette-blue-v50"),"--form-input-border-radius":`${r("--border-radius-xl")}`,"--form-input-padding":"var(--spacing-m) var(--spacing-l)","--form-grid-gap":`${r("--spacing-m")}`},"sdsm-footnote":{"--footnote-fg-color":r("--neutral-v500"),"--footnote-bg-color":r("--palette-blue-v50")},"sdsm-dropdown-menu":{"--dropdown-menu-bg-color":r("--neutral-v600")},"sdsm-banner":{"--banner-bg-color":`${r("--bg-color")}`,"--banner-fg-color":`${r("--fg-color")}`},"sdsm-content":{"--content-mobile-grid-gap":`${r("--spacing-l")}`},"sdsm-mosaic":{"--mosaic-border-radius":"24px","--mosaic-grid-gap":"32px","--mosaic-highlight-color":r("--palette-blue-v100"),"--mosaic-title-color":r("--palette-blue-v50")},"sdsm-media":{},"sdsm-search":{"--search-no-results-bg-color":r("--neutral-v150"),"--search-no-results-fg-color":r("--neutral-v650")},"sdsm-pagination":{"--pagination-item-color":r("--neutral-v400"),"--pagination-item-hover-color":r("--neutral-v300"),"--pagination-item-active-color":r("--palette-blue-v50"),"--pagination-indicator-hover-color":r("--neutral-v300")},"sdsm-spinner":{"--spinner-fg-color":`${r("--button-primary-fg-color")}`},"sdsm-modal":{"--modal-bg-color":"rgba(0,0,0,0.7)"},"sdsm-icon-button":{"--icon-button-hover-bg-color":r("--neutral-v200"),"--icon-button-disabled-bg-color":r("--neutral-v500"),"--icon-button-border-color":r("--neutral-v0"),"--icon-button-fg-color":r("--neutral-v700"),"--icon-button-disabled-fg-color":r("--neutral-v400")}},"sdsm-tertiary":{name:"Imported tertiary",legacyName:"White","sdsm-hyperlink":{"--hyperlink-desktop-font-text-decoration":"underline","--hyperlink-mobile-font-text-decoration":"underline","--hyperlink-mobile-font-weight":"Medium","--hyperlink-desktop-font-weight":"Medium","--hyperlink-color":`${r("--action-text-hover-color")}`},sdsm:{"--box-shadow-s":"0px 4px 8px 0 rgba(0, 0, 0, 0.12)","--box-shadow-m":"0px 8px 16px 0 rgba(0, 0, 0, 0.12)","--border-radius-xs":"1px","--border-radius-s":"4px","--border-radius-m":"8px","--border-radius-l":"12px","--border-radius-xl":"16px","--spacing-xxxs":"2px","--spacing-xxs":"4px","--spacing-xs":"8px","--spacing-s":"12px","--spacing-m":"16px","--spacing-l":"24px","--spacing-xl":"32px","--spacing-xxl":"40px","--spacing-xxxxl":"64px","--box-shadow-l":"0px 16px 32px 0 #000 12%","--bg-color":r("--palette-blue-v50"),"--action-text-default-color":r("--neutral-v500"),"--action-text-hover-color":r("--neutral-v600")},"sdsm-button":{"--button-primary-bg-color":r("--palette-blue-v100"),"--button-primary-hover-bg-color":r("--palette-blue-v100"),"--button-primary-border-color":r("--palette-blue-v100"),"--button-primary-hover-border-color":r("--palette-blue-v100"),"--button-secondary-fg-color":r("--palette-blue-v50"),"--button-border-radius":`${r("--border-radius-s")}`,"--button-hover-shadow":`${r("--box-shadow-l")}`,"--button-regular-padding":"var(--spacing-s) var(--spacing-m)","--button-compact-padding":"var(--spacing-xs) var(--spacing-m)"},"sdsm-header":{"--global-header-nav-screen-bg-color":r("--palette-blue-v50"),"--global-header-nav-screen-fg-color":r("--neutral-v650"),"--global-header-nav-screen-global-links-bg-color":r("--palette-blue-v50"),"--global-header-fg-color":r("--neutral-v650")},"sdsm-block":{"--block-eyebrow-color":r("--neutral-v700"),"--block-title-color":r("--neutral-v700"),"--block-subtitle-color":r("--neutral-v700")},"sdsm-tab":{},"sdsm-break":{},"sdsm-accordion":{"--accordion-header-color":`${r("--fg-color")}`,"--accordion-divider-border-color":`${r("--fg-color")}`,"--accordion-header-divider-border-color":`${r("--fg-color")}`},"sdsm-quote":{"--quote-bg-color":r("--palette-blue-v50")},"sdsm-footer":{"--footer-bg-color":`${r("--bg-color")}`},"sdsm-summary-card":{"--summary-card-title-color":r("--neutral-v700"),"--summary-card-description-color":r("--neutral-v600"),"--summary-card-bg-color":r("--palette-blue-v50")},"sdsm-form":{"--form-input-bg-color":r("--palette-blue-v50"),"--form-input-border-radius":`${r("--border-radius-xl")}`,"--form-input-padding":"var(--spacing-m) var(--spacing-l)","--form-grid-gap":`${r("--spacing-m")}`},"sdsm-footnote":{"--footnote-fg-color":r("--neutral-v500"),"--footnote-bg
10908-color":r("--palette-blue-v50")},"sdsm-dropdown-menu":{"--dropdown-menu-bg-color":r("--palette-blue-v50")},"sdsm-banner":{"--banner-bg-color":`${r("--bg-color")}`,"--banner-fg-color":`${r("--fg-color")}`},"sdsm-content":{"--content-mobile-grid-gap":`${r("--spacing-l")}`},"sdsm-mosaic":{"--mosaic-border-radius":"24px","--mosaic-grid-gap":"32px","--mosaic-highlight-color":r("--palette-blue-v100"),"--mosaic-title-color":r("--palette-blue-v50")},"sdsm-media":{},"sdsm-search":{"--search-no-results-bg-color":r("--neutral-v150"),"--search-no-results-fg-color":r("--neutral-v650")},"sdsm-pagination":{},"sdsm-spinner":{"--spinner-fg-color":`${r("--button-primary-fg-color")}`},"sdsm-modal":{"--modal-bg-color":"rgba(0,0,0,0.7)"},"sdsm-icon-button":{"--icon-button-bg-color":r("--neutral-v700"),"--icon-button-hover-bg-color":r("--neutral-v600"),"--icon-button-disabled-bg-color":"rgba(0,0,0,0)"}},"sdsm-quaternary":{name:"Imported quaternary",legacyName:"Gray","sdsm-hyperlink":{"--hyperlink-desktop-font-text-decoration":"underline","--hyperlink-mobile-font-text-decoration":"underline","--hyperlink-mobile-font-weight":"Medium","--hyperlink-desktop-font-weight":"Medium","--hyperlink-color":`${r("--action-text-hover-color")}`},sdsm:{"--box-shadow-s":"0px 4px 8px 0 rgba(0, 0, 0, 0.12)","--box-shadow-m":"0px 8px 16px 0 rgba(0, 0, 0, 0.12)","--border-radius-xs":"1px","--border-radius-s":"4px","--border-radius-m":"8px","--border-radius-l":"12px","--border-radius-xl":"16px","--spacing-xxxs":"2px","--spacing-xxs":"4px","--spacing-xs":"8px","--spacing-s":"12px","--spacing-m":"16px","--spacing-l":"24px","--spacing-xl":"32px","--spacing-xxl":"40px","--spacing-xxxxl":"64px","--box-shadow-l":"0px 16px 32px 0 #000 12%","--action-text-default-color":r("--neutral-v500"),"--action-text-hover-color":r("--neutral-v600")},"sdsm-button":{"--button-primary-bg-color":r("--palette-blue-v100"),"--button-primary-hover-bg-color":r("--palette-blue-v100"),"--button-primary-border-color":r("--palette-blue-v100"),"--button-primary-hover-border-color":r("--palette-blue-v100"),"--button-secondary-bg-color":r("--palette-blue-v50"),"--button-secondary-hover-bg-color":r("--palette-blue-v50"),"--button-secondary-border-color":r("--palette-blue-v50"),"--button-secondary-hover-border-color":r("--palette-blue-v50"),"--button-border-radius":`${r("--border-radius-s")}`,"--button-hover-shadow":`${r("--box-shadow-l")}`,"--button-regular-padding":"var(--spacing-s) var(--spacing-m)","--button-compact-padding":"var(--spacing-xs) var(--spacing-m)"},"sdsm-header":{"--global-header-nav-screen-bg-color":r("--palette-blue-v50"),"--global-header-nav-screen-fg-color":r("--neutral-v650"),"--global-header-nav-screen-global-links-bg-color":r("--palette-blue-v50"),"--global-header-fg-color":r("--neutral-v650")},"sdsm-block":{"--block-eyebrow-color":r("--palette-blue-v200"),"--block-title-color":r("--palette-blue-v200"),"--block-subtitle-color":r("--neutral-v700")},"sdsm-tab":{},"sdsm-break":{},"sdsm-accordion":{"--accordion-header-color":`${r("--fg-color")}`,"--accordion-divider-border-color":`${r("--fg-color")}`,"--accordion-header-divider-border-color":`${r("--fg-color")}`},"sdsm-quote":{"--quote-bg-color":r("--palette-blue-v50")},"sdsm-footer":{"--footer-bg-color":`${r("--bg-color")}`,"--footer-bar-bg-color":`${r("--bg-color")}`},"sdsm-summary-card":{"--summary-card-title-color":r("--neutral-v700"),"--summary-card-description-color":r("--neutral-v600"),"--summary-card-bg-color":r("--palette-blue-v50")},"sdsm-form":{"--form-input-bg-color":r("--palette-blue-v50"),"--form-input-border-radius":`${r("--border-radius-xl")}`,"--form-input-padding":"var(--spacing-m) var(--spacing-l)","--form-grid-gap":`${r("--spacing-m")}`},"sdsm-footnote":{"--footnote-fg-color":r("--neutral-v500"),"--footnote-bg-color":r("--palette-blue-v50")},"sdsm-dropdown-menu":{"--dropdown-menu-bg-color":r("--palette-blue-v50")},"sdsm-banner":{"--banner-bg-color":`${r("--bg-color")}`,"--banner-fg-color":`${r("--fg-color")}`},"sdsm-content":{"--content-mobile-grid-gap":`${r("--spacing-l")}`},"sdsm-mosaic":{"--mosaic-border-radius":"24px","--mosaic-grid-gap":"32px","--mosaic-highlight-color":r("--p
10908alette-blue-v100"),"--mosaic-title-color":r("--palette-blue-v50")},"sdsm-media":{},"sdsm-search":{"--search-no-results-bg-color":r("--neutral-v150"),"--search-no-results-fg-color":r("--neutral-v650")},"sdsm-pagination":{},"sdsm-spinner":{"--spinner-fg-color":`${r("--button-primary-fg-color")}`},"sdsm-modal":{"--modal-bg-color":"rgba(0,0,0,0.7)"},"sdsm-icon-button":{"--icon-button-bg-color":r("--neutral-v700"),"--icon-button-hover-bg-color":r("--neutral-v600"),"--icon-button-disabled-bg-color":"rgba(0,0,0,0)"}}});var T7=ns(os,{name:"Green",fontFamily:["Ghost Sans"],"sdsm-default":{name:"Imported Deafult",legacyName:"Yellow",sdsm:{"--border-radius-l":"12px","--border-radius-xl":"16px","--bg-color":"#02B790","--fg-color":"#042500"},"sdsm-button":{"--button-primary-bg-color":"#042500","--button-primary-hover-bg-color":"#042500","--button-primary-border-color":"#042500","--button-primary-hover-border-color":"#042500","--button-primary-fg-color":"#f0fff0","--button-secondary-bg-color":"#f0fff0","--button-secondary-hover-bg-color":"#f0fff0","--button-secondary-border-color":"#f0fff0","--button-secondary-hover-border-color":"#f0fff0","--button-secondary-fg-color":"#042500","--button-flat-fg-color":`${r("--fg-color")}`,"--button-border-radius":`${r("--border-radius-m")}`,"--button-hover-shadow":`${r("--box-shadow-l")}`,"--button-regular-padding":"var(--spacing-s) var(--spacing-xl)","--button-compact-padding":"var(--spacing-xs) var(--spacing-m)"},"sdsm-header":{},"sdsm-block":{"--block-eyebrow-color":"#042500","--block-title-color":"#042500","--block-subtitle-color":"#042500"},"sdsm-break":{},"sdsm-accordion":{"--accordion-header-color":`${r("--fg-color")}`},"sdsm-quote":{"--quote-bg-color":"#f0fff0","--quote-fg-color":"#042500"},"sdsm-footer":{"--footer-bg-color":`${r("--bg-color")}`,"--footer-bar-bg-color":`${r("--bg-color")}`},"sdsm-form":{"--form-grid-gap":`${r("--spacing-m")}`},"sdsm-footnote":{},"sdsm-dropdown-menu":{"--dropdown-menu-bg-color":"#f0fff0","--dropdown-item-fg-color":r("--neutral-v500"),"--dropdown-item-fg-active-color":"#042500","--dropdown-item-bg-hover-color":"#c6dfc6"},"sdsm-banner":{"--banner-bg-color":`${r("--bg-color")}`,"--banner-fg-color":`${r("--fg-color")}`},"sdsm-hyperlink":{"--hyperlink-color":r("--neutral-v600")},"sdsm-mosaic":{"--mosaic-border-radius":"24px","--mosaic-grid-gap":"32px","--mosaic-highlight-color":"#02B790","--mosaic-title-color":"#f0fff0"},"sdsm-search":{"--search-no-results-bg-color":"#c6dfc6"},"sdsm-pagination":{"--pagination-item-active-color":"#042500"},"sdsm-spinner":{"--spinner-fg-color":`${r("--button-primary-fg-color")}`},"sdsm-modal":{"--modal-bg-color":"rgba(0,0,0,0.7)"},"sdsm-icon-button":{"--icon-button-bg-color":r("--neutral-v700"),"--icon-button-hover-bg-color":r("--neutral-v600"),"--icon-button-disabled-bg-color":"rgba(0,0,0,0)"}},"sdsm-secondary":{name:"Imported secondary",legacyName:"Black",sdsm:{"--box-shadow-s":"0px 4px 8px 0 rgba(0, 0, 0, 0.12)","--box-shadow-m":"0px 8px 16px 0 rgba(0, 0, 0, 0.12)","--border-radius-xs":"1px","--border-radius-s":"4px","--border-radius-m":"8px","--border-radius-l":"12px","--border-radius-xl":"16px","--spacing-xxxs":"2px","--spacing-xxs":"4px","--spacing-xs":"8px","--spacing-s":"12px","--spacing-m":"16px","--spacing-l":"24px","--spacing-xl":"32px","--spacing-xxl":"40px","--spacing-xxxxl":"64px","--bg-color":"#042500","--fg-color":"#f0fff0"},"sdsm-button":{"--button-primary-bg-color":"#02B790","--button-primary-hover-bg-color":"#02B790","--button-primary-border-color":"#02B790","--button-primary-hover-border-color":"#02B790","--button-primary-fg-color":"#042500","--button-secondary-bg-color":"#f0fff0","--button-secondary-hover-bg-color":"#f0fff0","--button-secondary-border-color":"#f0fff0","--button-secondary-hover-border-color":"#f0fff0","--button-secondary-fg-color":"#042500","--button-flat-fg-color":"#f0fff0","--button-border-radius":`${r("--border-radius-m")}`,"--button-hover-shadow":`${r("--box-shadow-l")}`,"--button-regular-padding":"var(--spacing-s) var(--spacing-xl)","--button-compact-padding":"var(--spacing-xs) var(--spacing-m)"},"sdsm-header":{"--global-header-fg-color":r("--neutral-v200")},"sdsm-block":{"--block-eyebrow-color":"#f0fff0","--block-title-color":"#f0fff0","--block-subtitle-color":"#f0fff0"},"sdsm-break":{},"sdsm-accordion":{"--accordion-header-color":`${r("--fg-color")}`},"sdsm-quote":{"--quote-bg-color":"#f0fff0","--quote-fg-color":"#042500"},"sdsm-footer":{"--footer-bg-color":`${r("--bg-color")}`,"--footer-bar-bg-color":`${r("--bg-color")}`,"--footer-divider-border-color":`${r("--fg-color")}`},"sdsm-form":{"--form-grid-gap":`${r("--spacing-m")}`},"sdsm-footnote":{"--footnote-fg-color":r("--neutral-v400"),"--footnote-bg
10908-color":r("--neutral-v0")},"sdsm-dropdown-menu":{"--dropdown-menu-bg-color":r("--neutral-v600"),"--dropdown-item-fg-color":r("--neutral-v300"),"--dropdown-item-fg-active-color":"#f0fff0"},"sdsm-banner":{"--banner-bg-color":`${r("--bg-color")}`,"--banner-fg-color":`${r("--fg-color")}`},"sdsm-hyperlink":{"--hyperlink-color":r("--neutral-v250")},"sdsm-mosaic":{"--mosaic-border-radius":"24px","--mosaic-grid-gap":"32px","--mosaic-highlight-color":"#02B790","--mosaic-title-color":"#f0fff0"},"sdsm-search":{"--search-no-results-bg-color":"#c6dfc6","--search-no-results-fg-color":r("--neutral-v650")},"sdsm-pagination":{"--pagination-item-color":r("--neutral-v400"),"--pagination-item-hover-color":r("--neutral-v300"),"--pagination-item-active-color":"#f0fff0","--pagination-indicator-hover-color":r("--neutral-v300")},"sdsm-spinner":{"--spinner-fg-color":`${r("--button-primary-fg-color")}`},"sdsm-modal":{"--modal-bg-color":"rgba(0,0,0,0.7)"},"sdsm-icon-button":{"--icon-button-hover-bg-color":r("--neutral-v200"),"--icon-button-disabled-bg-color":r("--neutral-v500"),"--icon-button-border-color":r("--neutral-v0"),"--icon-button-fg-color":r("--neutral-v700"),"--icon-button-disabled-fg-color":r("--neutral-v400")}},"sdsm-tertiary":{name:"Imported tertiary",legacyName:"White",sdsm:{"--box-shadow-s":"0px 4px 8px 0 rgba(0, 0, 0, 0.12)","--box-shadow-m":"0px 8px 16px 0 rgba(0, 0, 0, 0.12)","--border-radius-xs":"1px","--border-radius-s":"4px","--border-radius-m":"8px","--border-radius-l":"12px","--border-radius-xl":"16px","--spacing-xxxs":"2px","--spacing-xxs":"4px","--spacing-xs":"8px","--spacing-s":"12px","--spacing-m":"16px","--spacing-l":"24px","--spacing-xl":"32px","--spacing-xxl":"40px","--spacing-xxxxl":"64px","--bg-color":"#f0fff0","--fg-color":"#042500"},"sdsm-button":{"--button-primary-bg-color":"#02B790","--button-primary-hover-bg-color":"#02B790","--button-primary-border-color":"#02B790","--button-primary-hover-border-color":"#02B790","--button-primary-fg-color":"#042500","--button-secondary-bg-color":"#042500","--button-secondary-hover-bg-color":"#042500","--button-secondary-border-color":"#042500","--button-secondary-hover-border-color":"#042500","--button-secondary-fg-color":"#f0fff0","--button-flat-fg-color":"#042500","--button-border-radius":`${r("--border-radius-m")}`,"--button-hover-shadow":`${r("--box-shadow-l")}`,"--button-regular-padding":"var(--spacing-s) var(--spacing-xl)","--button-compact-padding":"var(--spacing-xs) var(--spacing-m)"},"sdsm-header":{"--global-header-nav-screen-bg-color":"#f0fff0","--global-header-nav-screen-global-links-bg-color":"#f0fff0","--global-header-fg-color":r("--neutral-v650")},"sdsm-block":{"--block-eyebrow-color":"#042500","--block-title-color":"#042500","--block-subtitle-color":"#042500"},"sdsm-accordion":{"--accordion-header-color":`${r("--fg-color")}`},"sdsm-quote":{"--quote-bg-color":"#f0fff0","--quote-fg-color":"#042500"},"sdsm-footer":{"--footer-bg-color":`${r("--bg-color")}`,"--footer-bar-bg-color":"#c6dfc6"},"sdsm-form":{"--form-grid-gap":`${r("--spacing-m")}`},"sdsm-footnote":{"--footnote-fg-color":r("--neutral-v400"),"--footnote-bg-color":r("--neutral-v0")},"sdsm-dropdown-menu":{"--dropdown-menu-bg-color":"#f0fff0","--dropdown-item-fg-color":r("--neutral-v500"),"--dropdown-item-fg-active-color":"#042500","--dropdown-item-bg-hover-color":"#c6dfc6"},"sdsm-banner":{"--banner-bg-color":`${r("--bg-color")}`,"--banner-fg-color":`${r("--fg-color")}`},"sdsm-hyperlink":{"--hyperlink-color":r("--neutral-v600")},"sdsm-mosaic":{"--mosaic-border-radius":"24px","--mosaic-grid-gap":"32px","--mosaic-highlight-color":"#02B790","--mosaic-title-color":"#f0fff0"},"sdsm-search":{"--search-no-results-bg-color":"#c6dfc6","--search-no-results-fg-color":r("--neutral-v650")},"sdsm-pagination":{"--pagination-item-active-color":"#042500"},"sdsm-spinner":{"--spinner-fg-color":`${r("--button-primary-fg-color")}`},"sdsm-modal":{"--modal-bg-color":"rgba(0,0,0,0.7)"},"sdsm-icon-button":{"--icon-button-bg-color":r("--neutral-v700"),"--icon-button-hover-bg-color":r("--neutral-v600"),"--icon-button-disabled-bg-color":"rgba(0,0,0,0)"}},"sdsm-quaternary":{name:"Imported quaternary",legacyName:"Gray",sdsm:{"--box-sha
10908dow-s":"0px 4px 8px 0 rgba(0, 0, 0, 0.12)","--box-shadow-m":"0px 8px 16px 0 rgba(0, 0, 0, 0.12)","--border-radius-xs":"1px","--border-radius-s":"4px","--border-radius-m":"8px","--border-radius-l":"12px","--border-radius-xl":"16px","--spacing-xxxs":"2px","--spacing-xxs":"4px","--spacing-xs":"8px","--spacing-s":"12px","--spacing-m":"16px","--spacing-l":"24px","--spacing-xl":"32px","--spacing-xxl":"40px","--spacing-xxxxl":"64px","--bg-color":"#c6dfc6","--fg-color":"#042500"},"sdsm-button":{"--button-primary-bg-color":"#02B790","--button-primary-hover-bg-color":"#02B790","--button-primary-border-color":"#02B790","--button-primary-hover-border-color":"#02B790","--button-primary-fg-color":"#042500","--button-secondary-bg-color":"#f0fff0","--button-secondary-hover-bg-color":"#f0fff0","--button-secondary-border-color":"#f0fff0","--button-secondary-hover-border-color":"#f0fff0","--button-secondary-fg-color":"#042500","--button-flat-fg-color":"#042500","--button-border-radius":`${r("--border-radius-m")}`,"--button-hover-shadow":`${r("--box-shadow-l")}`,"--button-regular-padding":"var(--spacing-s) var(--spacing-xl)","--button-compact-padding":"var(--spacing-xs) var(--spacing-m)"},"sdsm-header":{"--global-header-nav-screen-bg-color":"#f0fff0","--global-header-nav-screen-global-links-bg-color":"#f0fff0","--global-header-fg-color":r("--neutral-v650")},"sdsm-block":{"--block-eyebrow-color":"#042500","--block-title-color":"#042500","--block-subtitle-color":"#042500"},"sdsm-break":{},"sdsm-accordion":{"--accordion-header-color":`${r("--fg-color")}`},"sdsm-quote":{"--quote-bg-color":"#f0fff0","--quote-fg-color":"#042500"},"sdsm-footer":{"--footer-bg-color":`${r("--bg-color")}`,"--footer-bar-bg-color":`${r("--bg-color")}`},"sdsm-form":{"--form-grid-gap":`${r("--spacing-m")}`},"sdsm-footnote":{"--footnote-fg-color":r("--neutral-v400"),"--footnote-bg-color":r("--neutral-v0")},"sdsm-dropdown-menu":{"--dropdown-menu-bg-color":"#f0fff0","--dropdown-item-fg-color":r("--neutral-v500"),"--dropdown-item-fg-active-color":"#042500","--dropdown-item-bg-hover-color":"#c6dfc6"},"sdsm-banner":{"--banner-bg-color":`${r("--bg-color")}`,"--banner-fg-color":`${r("--fg-color")}`},"sdsm-hyperlink":{"--hyperlink-color":r("--neutral-v600")},"sdsm-mosaic":{"--mosaic-border-radius":"24px","--mosaic-grid-gap":"32px","--mosaic-highlight-color":"#02B790","--mosaic-title-color":"#f0fff0"},"sdsm-search":{"--search-no-results-bg-color":"#c6dfc6","--search-no-results-fg-color":r("--neutral-v650")},"sdsm-pagination":{"--pagination-item-active-color":"#042500"},"sdsm-spinner":{"--spinner-fg-color":`${r("--button-primary-fg-color")}`},"sdsm-modal":{"--modal-bg-color":"rgba(0,0,0,0.7)"},"sdsm-icon-button":{"--icon-button-bg-color":r("--neutral-v700"),"--icon-button-hover-bg-color":r("--neutral-v600"),"--icon-button-disabled-bg-color":"rgba(0,0,0,0)"}}});var Jee=jo(async()=>import("./chunks/LazyCustomMotifHandler-4WNAU4OK.mjs").then(e=>({default:e.LazyCustomMotifHandler}))),N7=({children:e,motif:t,...o})=>{let{getCurrentUrl:n}=(0,_7.useContext)(oe),a=It(),s=t,p=new URL(n()).searchParams.get("alternateMotif");if(a.useGhostMotif==="true"&&O.site==="for-business"&&(s=void 0),!O.isDeploymentTypeProd){if(p==="true"||p==="green")s=T7;else if(p==="blue")s=A7;else if(p==="snap"&&O.site==="sandbox")s=void 0;else if(p==="specs"&&O.site==="sandbox")s=void 0;else if(p==="figma-upload")return i(Eo,{fallbackElement:i("p",{children:"...Loading"}),children:i(Jee,{motif:t,...o,children:e})})}return i(y0,{motif:s,...o,children:e})};var E7=T(E());var R7=()=>{let e=(0,E7.useContext)(Je),t="width=device-width, initial-scale=1";return e.getLowEntropyHints().platform==="iOS"&&(t+=", viewport-fit=cover"),i(vt,{children:i("meta",{name:"viewport",content:t})})};var Ui=T(E());var F7=({sessionValue:e,children:t})=>{let[o,n]=(0,Ui.useState)(e.footerView??"Full Footer"),[a,s]=(0,Ui.useState)(e.headerView??"Full Header"),[l,p]=(0,Ui.useState)(e.headerBackgroundColorOverride),[d,u]=(0,Ui.useState)(!1),[y,m]=(0,Ui.useState)(!1),[g,f]=(0,Ui.useState)(!1),b={footerView:o,headerView:a,headerBackgroundColorOverride:l,hasSideNav:d,hasSubNav:y,hasCustomSideNav:g,setFooterView:S=>{n(S),e.setFooterView?.(S)},setHeaderView:S=>{s(S),e.setHeaderView?.(S)},setDefaultHeaderHeight:S=>{e.setDefaultHeaderHeight?.(S)}
10908,setHeaderBackgroundColorOverride:S=>{p(S),e.setHeaderBackgroundColorOverride?.(S)},setHasSideNav:S=>u(S),setHasSubNav:S=>m(S),setHasCustomSideNav:S=>f(S)};return i(An.Provider,{value:b,children:t})};var L7=T(E());var Cv=F` 10909 fragment FooterItemAll on FooterItem { 10910 ...ContentfulSysId 10911 title 10912 url 10913 analytics { 10914 ...ContentfulSysId 10915 label 10916 } 10917 criteria { 10918 ...CriteriaAll 10919 } 10920 } 10921 ${G} 10922 ${eo} 10923`,xv=F` 10924 fragment FooterLocaleDropdownAll on FooterLocaleDropdown { 10925 ...ContentfulSysId 10926 title 10927 criteria { 10928 ...CriteriaAll 10929 } 10930 } 10931 ${G} 10932 ${eo} 10933`,vv=F` 10934 fragment FooterCookiesSettingsLinkAll on FooterCookiesSettingsLink { 10935 ...ContentfulSysId 10936 title 10937 criteria { 10938 ...CriteriaAll 10939 } 10940 } 10941 ${G} 10942 ${eo} 10943`,Iv=F` 10944 fragment FooterGroupAll on FooterGroup { 10945 ...ContentfulSysId 10946 __typename 10947 title 10948 groupKey 10949 itemsCollection(limit: 10) { 10950 items { 10951 __typename 10952 ... on FooterItem { 10953 ...FooterItemAll 10954 } 10955 10956 ... on FooterLocaleDropdown { 10957 ...FooterLocaleDropdownAll 10958 } 10959 10960 ... on FooterCookiesSettingsLink { 10961 ...FooterCookiesSettingsLinkAll 10962 } 10963 } 10964 } 10965 analytics { 10966 ...ContentfulSysId 10967 label 10968 } 10969 criteria { 10970 ...CriteriaAll 10971 } 10972 } 10973 ${G} 10974 ${Cv} 10975 ${xv} 10976 ${vv} 10977 ${eo} 10978`,Bg=F` 10979 fragment CustomFooterAll on CustomFooter { 10980 ...ContentfulSysId 10981 columnsCollection(limit: 10) { 10982 items { 10983 ... on FooterGroup { 10984 ...FooterGroupAll 10985 } 10986 } 10987 } 10988 barCollection(limit: 10) { 10989 items { 10990 ... on FooterGroup { 10991 ...FooterGroupAll 10992 } 10993 } 10994 } 10995 brandBackgroundColor 10996 backgroundColor 10997 logo { 10998 ...ImageAll 10999 } 11000 logoAriaLabel 11001 url 11002 socialLabel 11003 socialCollection(limit: 10) { 11004 items { 11005 ... on ImageButton { 11006 ...ImageButtonAll 11007 } 11008 } 11009 } 11010 } 11011 ${G} 11012 ${ov} 11013 ${ze.all} 11014 ${Iv} 11015`,zYe=F` 11016 query FooterQuery($preview: Boolean!, $locale: String!) { 11017 customFooterCollection(preview: $preview, locale: $locale, limit: 1) { 11018 items { 11019 ...CustomFooterAll 11020 } 11021 } 11022 } 11023 11024 ${Bg} 11025`;var kv=F` 11026 fragment HeaderMenuItemGroupFieldsOnly on HeaderMenuItemGroup { 11027 ...ContentfulSysId 11028 title 11029 url 11030 column1Label 11031 column1MenuItemsCollection { 11032 items { 11033 ...HeaderMenuItemFieldsOnly 11034 } 11035 } 11036 column2Label 11037 column2MenuItemsCollection { 11038 items { 11039 ...HeaderMenuItemFieldsOnly 11040 } 11041 } 11042 column3Label 11043 column3MenuItemsCollection { 11044 items { 11045 ...HeaderMenuItemFieldsOnly 11046 } 11047 } 11048 featuredHeaderMenuItem { 11049 ...FeaturedHeaderMenuItemFieldsOnly 11050 } 11051 } 11052 ${G} 11053`,Mv=F` 11054 fragment HeaderMenuItemFieldsOnly on HeaderMenuItem { 11055 ...ContentfulSysId 11056 title 11057 url 11058 description 11059 icon { 11060 ...ContentfulSysId 11061 icon 11062 media { 11063 ...AssetAll 11064 } 11065 } 11066 analytics { 11067 ...AnalyticsAll 11068 } 11069 hideCriteria { 11070 ...CriteriaAll 11071 } 11072 } 11073 ${G} 11074 ${Zt.all} 11075 ${eo} 11076 ${Mn} 11077`,Av=F` 11078 fragment FeaturedHeaderMenuItemFieldsOnly on FeaturedHeaderMenuItem { 11079 ...ContentfulSysId 11080 title 11081 url 11082 description 11083 icon { 11084 ...ContentfulSysId 11085 icon 11086 media { 11087 ...AssetAll 11088 } 11089 } 11090 ctaLabel 11091 analytics { 11092 ...AnalyticsAll 11093 } 11094 hideCriteria { 11095 ...CriteriaAll 11096 } 11097 } 11098 ${G} 11099 ${Zt.all} 11100 ${eo} 11101 ${Mn} 11102`,B7=F` 11103 fragment NavigatorLocal on Navigator { 11104 ...ContentfulSysId 11105 title 11106 logoV2 { 11107 ... on Image { 11108 ...ImageAll 11109 } 11110 } 11111 theme 11112 brandBackgroundColor 11113 backgroundColor 11114 headerMenuItemGroupsCollection(limit: 7) { 11115 items { 11116 ...HeaderMenuItemGroupFieldsOnly 11117 } 11118 total 11119 } 11120 callsToActionCollection(limit: 10) { 11121 items { 11122 ... on CallToAction { 11123 ...CallToActionAll 11124 } 11125 ... on NavigationCallToAction { 11126 ...NavigationCta 11127 } 11128 } 11129 } 11130 url 11131 analytics { 11132 ...AnalyticsAll 11133 } 11134 } 11135 ${G} 11136 ${Zt.all} 11137 ${kv} 11138 ${Mv} 11139 ${Av} 11140 ${nt} 11141 ${Gc} 11142 ${kt.all} 11143`;var Zee=F` 11144 fragment SitewideValuesAll on SitewideValues { 11145 ...ContentfulSysId 11146 navigationBar { 11147 ...NavigatorLocal 11148 } 11149 customFooter { 11150 ...CustomFooterAll 11151 } 11152 customSitewideEntriesCollection(limit: 5) { 11153 items { 11154 ...ContentfulSysId 11155 } 11156 } 11157 featureFlags { 11158 ...ContentfulSysId 11159 featureFlags 11160 } 11161 } 11162 ${G} 11163`,ete=F` 11164 fragment SitewideConfiguration on SitewideConfiguration { 11165 ...ContentfulSysId 11166 reference { 11167 ... on SitewideValues { 11168 ...SitewideValuesAll 11169 } 11170 ... on SitewideExperiment { 11171 ...ContentfulSysId 11172 default { 11173 ...SitewideValuesAll 11174 } 11175 seed 11176 variantsCollection(limit: 5) { 11177 items { 11178 ...ContentfulSysId 11179 trafficStartRange 11180 trafficEndRange 11181 analyticsId 11182 replacementsCollection(limit: 10) { 11183 items { 11184 ...ContentfulSysId 11185 replacementTarget { 11186 ...ContentfulSysId 11187 } 11188 replacement { 11189 ...ContentfulSysId 11190 ... on Navigator { 11191 ...NavigatorLocal 11192 } 11193 ... on HeaderMenuItemGroup { 11194 ...HeaderMenuItemGroupFieldsOnly 11195 } 11196 ... on HeaderMenuItem { 11197 ...HeaderMenuItemFieldsOnly 11198 } 11199 ... on FeaturedHeaderMenuItem { 11200 ...FeaturedHeaderMenuItemFieldsOnly 11201 } 11202 ... on NavigationCallToAction { 11203 ...NavigationCta 11204 } 11205 ... on CallToAction { 11206 ...CallToActionAll 11207 } 11208 ... on FeatureFlags { 11209 ...ContentfulSysId 11210 featureFlags 11211 } 11212 ... on CustomFooter { 11213 ...CustomFooterAll 11214 } 11215 ... on FooterCookiesSettingsLink { 11216 ...FooterCookiesSettingsLinkAll 11217 } 11218 ... on FooterGroup { 11219 ...FooterGroupAll 11220 } 11221 ... on FooterItem { 11222 ...FooterItemAll 11223 } 11224 ... on FooterLocaleDropdown { 11225 ...FooterLocaleDropdownAll 11226 } 11227 } 11228 } 11229 } 11230 } 11231 } 11232 analyticsId 11233 } 11234 } 11235 } 11236 ${G} 11237 ${B7} 11238 ${Bg} 11239 ${Zee} 11240 ${Gc} 11241 ${kv} 11242 ${Mv} 11243 ${Av} 11244 ${nt} 11245 ${Iv} 11246 ${vv} 11247 ${xv} 11248 ${Cv} 11249 ${Bg} 11250`,$7=F` 11251 query SitewideConfigurationQuery($preview: Boolean!, $locale: String!) { 11252 sitewideConfigurationCollection(preview: $preview, locale: $locale, limit: 1) { 11253 items { 11254 ...SitewideConfiguration 11255 } 11256 } 11257 } 11258 ${ete} 11259`;var tte=e=>typeof e=="object"&&e.sys?.id!==void 0,ote=e=>typeof e=="object"&&Array.isArray(e.items),nte=50;function $g(e,t,o=0){let n=$o(e);if(o>nte)return console.error("Max depth reached in replaceEntries"),n;
11259if(e.sys.id in t)return t[e.sys.id]===void 0?void 0:(n=t[e.sys.id],$g(n,t,o+1));for(let a in n){let s=n[a];if(a.endsWith("Collection")&&ote(s)){let l=s.items.map(p=>$g(p,t,o+1)).filter(p=>!!p);n[a]={...s,items:l}}else tte(s)&&(n[a]=$g(s,t,o+1))}return n}var H7=({children:e})=>{let t=Mg(),{currentLocale:o}=(0,L7.useContext)(oe),{data:n}=de($7),a=Tg(),l=(p=>{if(!p||!p?.sitewideConfigurationCollection?.items)return;let d=Zi(p.sitewideConfigurationCollection.items)?.reference;if(d){if(d.__typename==="SitewideValues")return{sitewideValues:d};if(d.__typename==="SitewideExperiment"){if(!d.default)return;let u=d.default,y={};if(!d.variantsCollection?.items)return{sitewideValues:u};let{isThinking:m,decision:g}=t({seed:d.seed??d.sys.id,variants:d.variantsCollection.items});if(g?.replacementsCollection?.items){for(let f of g.replacementsCollection.items)if(f?.replacementTarget?.sys.id){if(!f.replacementTarget.__typename)continue;if(f?.replacement===void 0){y[f.replacementTarget.sys.id]=void 0;continue}y[f.replacementTarget.sys.id]={...f.replacement}}a({key:"sitewideExperimentExposure",callback:()=>$n({eventCategory:"Experiment",eventAction:"sitewideExperimentExposure",eventLabel:`${d.analyticsId??"Unknown"}:${g.analyticsId??"Unknown"}`,context:{locale:o}}
11259),dependencies:[d.analyticsId,g.analyticsId]})}if(!m&&!g&&a({key:"sitewideExperimentExposure",callback:()=>$n({eventCategory:"Experiment",eventAction:"sitewideExperimentExposure",eventLabel:`${d.analyticsId??"Unknown"}:default`,context:{locale:o}}),dependencies:[d.analyticsId]}),Object.entries(y).length>0){u=ko(d.default);let f=$g(u,y);f&&(u=f)}return{sitewideValues:u}}}})(n)||{};return i(qn.Provider,{value:l,children:e})};var O7=T(E());var rte=c` 11260 display: flex; 11261 align-items: center; 11262 flex-direction: column; 11263 justify-content: center; 11264 overflow-x: hidden; 11265 position: relative; 11266 width: 100%; 11267 height: 100vh; 11268 text-align: center; 11269 background-color: #fffc00; 11270 11271 h1 { 11272 font-size: 7em; 11273 font-weight: 600; 11274 margin-bottom: 40px; 11275 } 11276 11277 p { 11278 margin-top: 0.5em; 11279 } 11280 11281 a { 11282 text-decoration: none; 11283 } 11284`,V7=()=>x("div",{className:rte,children:[i("h1",{children:"500"}),i("h2",{children:"Oops! Something went wrong"}),i("p",{children:i("a",{href:"/",children:"Go to home"})})]});var Lg=class extends O7.Component{constructor(t){super(t),this.state={hasError:!1}}componentDidCatch(t,o){this.setState({hasError:!0});let n=this.props.tracer?.startSpan("fetchError");wn("/error").then(a=>n?.endSpan()),Be({component:"UncaughtError",error:t??void 0,context:{componentStack:o?.componentStack}})}render(){let{children:t}=this.props,{hasError:o}=this.state;return o?i(V7,{}):t}};var G7="https://web-platform.snap.com/fonts/font.graphik.css",ate="https://snap-design-system.storage.googleapis.com/fonts/font.graphik.css",ite=()=>fetch(G7).then(()=>!0).catch(e=>(Bt(e).message==="Failed to fetch"?console.warn(`Your browser is blocking "${new URL(G7).hostname}" which hosts our fonts. Allow this domain through your content blocker to see this website the way it was meant to be seen.`):console.error("Failed to fetch fonts",e),!1)),z7=()=>(dn(()=>{ite().then(e=>{if(e)return;let t=document.createElement("link");t.type="text/css",t.rel="stylesheet",t.href=ate,document.head.appendChild(t)})},[]),null);var ste=Object.defineProperty,to=(e,t)=>ste(e,"name",{value:t,configurable:!0}),Cl,Tv=(Cl=class extends Vd{constructor(t){super({...t,requiredPermissions:["logging","performance"]}),this.flushInternal=to(()=>Promise.resolve(),"flushInternal"),this.props=t,this.init=this.init.bind(this),this.logEventInternal=this.logEventInternal.bind(this)}
11284async init(){let{initBlizzard:t,logEvent:o,CollectionMode:n}=await import("./chunks/dist-G5UJ7Z5G.mjs");await t({...this.props,appEnvironment:{appType:"WEB_DESKTOP",appBuild:"PROD"},cookiesArgs:{customDomain:this.props.isProd?this.props.cookieDomain:void 0},debugLoggingEnabled:!1,mode:this.props.isProd?n.PROD:n.STAGE}),this.logBlizzardEvent=o}logEventInternal(t,o){let n=this.props.eventFormatter(t,o);if(!n)return;let a=Array.isArray(n)?n:[n];for(let s of a)this.logBlizzardEvent(s)}},to(Cl,"BlizzardClientEventListener"),Cl),lte=to((e,t)=>{let o=new URL(window.location.href),n={event_name:"WEB_PLATFORM_EVENT",host:o.host,path:o.pathname,query:JSON.stringify(Object.fromEntries(o.searchParams.entries()))};switch(e.type){case Me.DEBUG:return{...n,type:Me.DEBUG,component:e.component,message:e.message};case Me.ERROR:{let a=Bt(e.error);return{...n,type:Me.ERROR,component:e.component,message:a.message,action:e.action}}case Me.INFO:return{...n,type:Me.INFO,component:e.component,action:e.action,label:e.label};case Me.TIMING:return{...n,type:Me.TIMING,component:e.component,variable:e.variable,value:e.valueMs.toString(),label:e.label};case Me.VALUE:return{...n,type:Me.VALUE,component:e.component,variable:e.variable,value:e.value.toString(),label:e.label};case Me.WARNING:return{...n,type:Me.WARNING,component:e.component,message:e.message,action:e.action}}},"formatWebPlatformEvent");function pte(e){return new Tv({isProd:e.isProd,cookieDomain:e.cookieDomain,eventFormatter:lte})}to(pte,"getCommonBlizzardClientEventListener");var ni,U7=(ni=class extends Z0{constructor(t={}){super({...t,messageTransform:ni.messageTransform}),this.clientProps=t}},to(ni,"ConsoleClientEventListener"),ni.messageTransform=to((t,o)=>{if(o.length<1)return o;let n=o.shift(),a=`%c${n}`;switch(t){case Me.ERROR:return[a,"color: bloodOrange;",...o];case Me.WARNING:return[a,"color: yellow;",...o];case Me.TIMING:return[a,"color: dodgerblue;",...o];case Me.VALUE:return[a,"color: dodgerblue;",...o];case Me.DEBUG:return[a,"color: gray;",...o];case Me.CUSTOM:return[a,"font-weight: bold;",...o];default:return[n,...o]}},"messageTransform"),ni);function W7(e,t){switch(e[0]){case"get":case"set":return!1}return e[2]||(e[2]={}),e[2].event_callback=t,e[2].event_timeout=2e3,!0}to(W7,"addGa4EventCallback");function q7(...e){window.dataLayer.push(arguments)}to(q7,"gtag");var xl,FXe=(xl=class extends Od{constructor(t){super(t),this.addEventCallback=W7,this.gaProps=t}addEventToDataLayer(t){if(!Array.isArray(t))throw new Error("Unexpected event for GA4. GA4 events are arrays.");q7(...t)}init(){window.dataLayer=window.dataLayer||[];let t=document.createElement("script");return t.async=!0,t.src=`https://www.googletagmanager.com/gtag/js?id=${this.gaProps.gaId}`,this.gaProps.nonce&&(t.nonce=this.gaProps.nonce),document.head.appendChild(t),this.gaProps.privacyConfig&&this.applyPrivacyConfig(this.gaProps.privacyConfig),this.addEventToDataLayer(["js",this.gaProps.clock?new Date(this.gaProps.clock()):new Date]),this.addEventToDataLayer(["config",this.gaProps.gaId,{debug_mode:this.gaProps.debugMode??!1,send_page_view:this.gaProps.sendPageView??!0,user_id:this.gaProps.userId}]),Promise.resolve()}applyPrivacyConfig(t){this.addEventToDataLayer(["consent","default",{ad_storage:"granted",analytics_storage:"granted",ad_user_data:"granted",ad_personalization:"granted",wait_for_update:500}]),t.restrictDataProcessing&&this.addEventToDataLayer(["set","restricted_data_processing",!0]),t.configureConsent&&this.addEventToDataLayer(["consent","update",{ad_storage:"denied",analytics_storage:"granted",ad_user_data:"denied",ad_personalization:"denied",wait_for_update:500}]),t.redactAdsData&&this.addEventToDataLayer(["set","ads_data_redaction",!0])}},to(xl,"GoogleAnalytics4ClientEventListener"),xl),cte="gtm-script";function Q7(e,t){if(typeof e!="object")throw new Error("Unexpected event for GTM. GTM events are objects.");return e.eventCallback=t,e.eventTimeout=2e3,!0}to(Q7,"addGtmEventCallback");function K7(...e){window.dataLayer.push(arguments)}to(K7,"gtag");var vl,j7=(vl=class extends Od{constructor(t){super(t),this.addEventCallback=Q7,this.gtmProps=t}addEventToDataLayer(t){typeof t=="object"&&t!==null&&!Array.isArray(t)?
11284window.dataLayer.push(t):K7(...t)}init(){window.dataLayer=window.dataLayer||[];let t=document.createElement("script");return t.async=!0,t.src=`https://www.googletagmanager.com/gtm.js?id=${this.gtmProps.gtmId}`,t.id=cte,this.gtmProps.nonce&&(t.nonce=this.gtmProps.nonce),document.head.appendChild(t),this.gtmProps.privacyConfig&&this.applyPrivacyConfig(this.gtmProps.privacyConfig),this.addEventToDataLayer({"gtm.start":Date.now(),event:"gtm.js"}),Promise.resolve()}applyPrivacyConfig(t){this.addEventToDataLayer(["consent","default",{ad_storage:"granted",analytics_storage:"granted",ad_user_data:"granted",ad_personalization:"granted",wait_for_update:500}]),t.restrictDataProcessing&&this.addEventToDataLayer(["set","restricted_data_processing",!0]),t.configureConsent&&this.addEventToDataLayer(["consent","update",{ad_storage:"denied",analytics_storage:"granted",ad_user_data:"denied",ad_personalization:"denied",wait_for_update:500}]),t.redactAdsData&&this.addEventToDataLayer(["set","ads_data_redaction",!0])}},to(vl,"GoogleTagManagerClientEventListener"),vl),Il,Y7=(Il=class extends X0{constructor(){super(...arguments),this.getNetworkHandler=to(t=>new Bd(t),"getNetworkHandler"),this.getClient=to(()=>new $d,"getClient")}},to(Il,"GrapheneClientEventListener"),Il),dte=/.*/,kl,X7=(kl=class extends J0{constructor(t){super(t),this.isInitCalled=!1,this.loadSentryAndInit=to(async()=>{if(this.isInitCalled)return;this.isInitCalled=!0;let{init:o,captureException:n,captureEvent:a}=await import("./chunks/dist-33H24RKC.mjs");this.clientCaptureException=n,this.clientCaptureEvent=a,o({allowUrls:[dte],...this.browserProps})},"loadSentryAndInit"),this.getExceptionCapturer=to(async()=>(await this.loadSentryAndInit(),this.clientCaptureException),"getExceptionCapturer"),this.getEventCapturer=to(async()=>(await this.loadSentryAndInit(),this.clientCaptureEvent),"getEventCapturer"),this.browserProps=t}},to(kl,"SentryClientEventListener"),kl);var Uc="analyticsEvent",ute="analyticsValueEvent",yte="analyticsTimingEvent",mte=(e,t)=>e!=="US"||t!=="ca"&&t!=="na",Wi=class Wi extends j7{constructor(o){let{initialContext:n,...a}=o;super({...a,eventFormatter:Wi.eventFormat});Te(this,"isOutsideCalifornia",!1);Te(this,"userLocation","Unknown");Te(this,"globalPrivacyControl",!1);Te(this,"isGtmDebug",!1);Te(this,"initialContext");Te(this,"hasAllPermissions",()=>{let o=new URL(window.location.href).searchParams.has("gtm_debug");if(o)return this.isGtmDebug=o,!0;if(this.isGtmDebug)return!0;let n=!0;for(let a of this.baseProps.requiredPermissions)if(!this.permissions.has(a)){n=!1;break}return!!n});Te(this,"checkRegion",async()=>{if(!this.isOutsideCalifornia)try{let n=await(await fetch("https://web-platform.snap.com/cookies/user_location")).json();this.userLocation=`${n.country}-${n.region}`,this.isOutsideCalifornia=mte(n.country,n.region)}catch(o){console.warn("Unable to determine user location:",Bt(o).message),this.isOutsideCalifornia=!0}});Te(this,"flushInternal",()=>Promise.resolve());this.initialContext=n}
11284async init(){window.dataLayer=window.dataLayer||[],await this.checkRegion(),window.dataLayer.push({userLocation:this.userLocation});let o=!this.isOutsideCalifornia,n=o&&this.initialContext.globalPrivacyControl;return this.applyPrivacyConfig({restrictDataProcessing:o,configureConsent:n,redactAdsData:n}),this.permissions.has("logging")&&this.allow("logging"),this.addEventToDataLayer({pageLocale:this.initialContext.locale}),await super.init()}static eventFormat(o,n){switch(o.type){case Me.USER_ACTION:return{event:Uc,eventAction:o.action,eventLabel:o.label||null,eventCategory:o.component,elementLocation:n.elementLocation??null,elementText:n.elementText??null,targetUrl:n.targetUrl??null,eventNonInt:!1};case Me.INFO:return{event:Uc,eventAction:o.action,eventLabel:o.label??null,eventCategory:o.component,elementLocation:n.elementLocation??null,elementText:n.elementText??null,targetUrl:n.targetUrl??null,eventNonInt:!0};case Me.VALUE:return{event:ute,eventCategory:o.component,eventVariable:o.variable,eventLabel:o.label??null,eventValue:o.value,elementLocation:n.elementLocation??null,elementText:n.elementText??null,targetUrl:n.targetUrl??null,eventNonInt:!0};case Me.TIMING:return{event:yte,eventCategory:o.component,eventVariable:o.variable,eventLabel:o.label??null,eventValue:o.valueMs,elementLocation:n.elementLocation??null,elementText:n.elementText??null,targetUrl:n.targetUrl??null,eventNonInt:!0};case Me.CUSTOM:{switch(o.subscribedEventType){case"page_load":{let a=Wi.getFieldsFromContext(n);return{type:"multiple",events:[{...a,event:"virtualPageview",eventNonInt:!0,eventAction:"View",eventCategory:"Page",virtualPageviewPath:window.location.pathname},{...a,event:Uc,eventNonInt:!0,eventAction:"Load",eventCategory:"Page",eventLabel:window.location.pathname}]}}case"ecommerce":{let a=Wi.getFieldsFromContext(n),{type:s,subscribedEventType:l,...p}=o;return{type:"multiple",events:[{ecommerce:null},{...a,...p,event:"ecommerce"}]}}case"experiment_impression":return!o.experimentId&&!o.variantId?null:{...Wi.getFieldsFromContext(n),event:"experiment_impression",experiment_id:o.experimentId,variant_id:`${o.experimentId}.${o.variantId}`,elementLocation:n.elementLocation??null,elementText:n.elementText??null,targetUrl:n.targetUrl??null}}return null}}return null}};Te(Wi,"getFieldsFromContext",o=>({pagePath:o?.path,pageLocation:o?.url?.toString(),pageLocale:o?.locale}));var Hg=Wi;var QI=T(E());var Nz=T(E());var nd=T(E());var J7=T(E());var gte={all:F` 11285 fragment AccordionAll on Accordion { 11286 ...ContentfulSysId 11287 title 11288 multipleOpen 11289 itemsCollection(limit: 30) { 11290 items { 11291 ...ContentfulSysId 11292 ... on AccordionItem { 11293 title 11294 body { 11295 json 11296 } 11297 callsToActionCollection(limit: 2) { 11298 items { 11299 ... on CallToAction { 11300 ...CallToActionAll 11301 } 11302 } 11303 } 11304 } 11305 } 11306 } 11307 } 11308 ${G} 11309 ${nt} 11310 `},Vg={all:F` 11311 query accordionQuery($preview: Boolean!, $locale: String!, $id: String!) { 11312 accordion(preview: $preview, locale: $locale, id: $id) { 11313 ...AccordionAll 11314 } 11315 } 11316 ${gte.all} 11317 `};var Z7=({sys:e,itemsCollection:t,multipleOpen:o,title:n})=>{let a=(0,J7.useContext)(Se).elementLocation,{titleDataset:s}=Re({entryId:e.id,fieldIds:["title"]});return i(SA,{"data-testid":"accordion",multipleOpen:o,title:n,titleDataset:s,children:t.items.map(l=>{let{titleDataset:p}=Re({entryId:l.sys.id,fieldIds:["title"]}),d=l.title?l.title:l.sys.id;return i(Bb,{id:l.sys.id,title:jt(l.title),titleDataset:p,onToggle:u=>{fe({eventCategory:"Accordion",eventAction:u?"Open":"Close",eventLabel:null,context:{elementText:d,elementLocation:a}})},children:i(Hc,{body:l.body,callsToActionCollection:l.callsToActionCollection??{items:[]},hasLinks:!1,sys:l.sys})},l.sys.id)})})};Z7.displayName="AccordionContent";var eH=e=>{let t=ao(e)?e.sys.id:void 0,{data:o}=de(Vg.all,{skip:!t,variables:{id:t}});return o?.accordion?i(Z7,{...o.accordion,sys:o.accordion.sys??e.sys}):null};var fte={all:F` 11318 fragment AnimatedAccordionAll on AnimatedAccordion { 11319 ...ContentfulSysId 11320 accordionContentsCollection { 11321 items { 11322 ...ContentfulSysId 11323 media { 11324 __typename 11325 ... on Video { 11326 ...VideoAll 11327 } 11328 ... on Image { 11329 ...ImageAll 11330 } 11331 } 11332 image { 11333 ...ImageAll 11334 } 11335 title 11336 body { 11337 json 11338 } 11339 } 11340 } 11341 mediaDirection 11342 autoPlaySpeed 11343 textAlignmentMobile 11344 useFullWidthLayout 11345 mediaAspectRatio 11346 } 11347 ${ze.all} 11348 ${yt.all} 11349 ${G} 11350 `},Og=F` 11351 query AnimatedAccordionQuery($preview: Boolean!, $locale: String!, $id: String!) { 11352 animatedAccordion(preview: $preview, locale: $locale, id: $id) { 11353 ...AnimatedAccordionAll 11354 } 11355 } 11356 ${fte.all} 11357`;var Ml=T(E());var rH=T(E());var tH=e=>{let{getImageSources:t}=ve(),{title:o,image:n}=e,{desktopSettings:a,mobileSettings:s}=ot({desktopHeight:n?.media?.height??0,mobileHeight:n?.mobileMedia?.height,desktopDefaultHeight:120,mobileDefaultHeight:120,enableHighDpi:n?.enableHighDpi,quality:n?.quality}),l=$e({desktop:t(n?.media?.url,a),mobile:t(n?.mobileMedia?.url,s)});return i(O3,{title:o,imgSrcs:l})};var oH=({stat:e="",subtitle:t})=>
11357i(z3,{stat:e,subtitle:Mt(t)});var nH=e=>{let{getImageSources:t}=ve(),{title:o="",icon:n,body:a}=e,s;return n?.media&&(s=$e({desktop:t(n?.media?.url)})),i(U3,{title:o,body:Mt(a),imgSrcs:s,icon:n?.icon})};var bte={"3:2":315,"9:16":656,"1:1":472,"16:9":265},Ste={"3:2":180,"9:16":400,"1:1":271,"16:9":152},Gg=e=>{let{getImageSources:t}=ve(),{isRTL:o}=(0,rH.useContext)(oe),{anchor:n,brandBackgroundColor:a,backgroundColor:s,title:l,multiValuePropBlockSubtitle:p,body:d,subtopicsCollection:u,callsToActionCollection:y,mediaCollection:m,desktopMediaAspectRatio:g,mobileMediaAspectRatio:f,mediaDirection:b,autoplayCarousel:S,fullHeight:C,style:I}=e,k=tt(a),v=y?.items?.map(A=>i(ft,{...A},A.sys.id)),w=fg(m?.items),_=m?.items?.map((A,N)=>{if(A.__typename==="Image"){let{desktopSettings:$,mobileSettings:B}=ot({desktopHeight:A.media?.height??0,mobileHeight:A.mobileMedia?.height,desktopDefaultHeight:bte[g],mobileDefaultHeight:Ste[f],enableHighDpi:A.enableHighDpi,quality:A.quality});return{type:A.__typename,altText:A.media.description,sources:$e({de
11357sktop:t(A.media.url,$),mobile:t(A.mobileMedia?.url,B)})}}if(A.__typename==="Video"){let{media:$,mobileMedia:B}=w[N]??{};return{type:A.__typename,autoPlay:!!A.autoPlay,videoSource:$?.videoSource??A.media.url,mobileVideoSource:B?.videoSource??A?.mobileMedia?.url,sourceType:$?.contentType??A.media.contentType}}}),D=u.items,M;return m?.items?.length===1&&(M=m.items[0]?.stickersCollection?.items?.map(N=>({imgSrcs:t(N?.asset?.url),position:N?.position,rotation:N?.rotation}))),i(G3,{anchor:n,motifScheme:k,backgroundColor:s,title:Mt(l),subtitle:p,body:wr(d),autoplayCarousel:S,callsToAction:v?.length?v:void 0,mediaSources:_,desktopMediaAspectRatio:g,mobileMediaAspectRatio:f,mediaDirection:b,fullHeight:C,style:I,stickers:M,isRtl:o,children:D.map(A=>A.__typename==="ImageSubtopic"?i(tH,{...A},A.sys.id):A.__typename==="StatSubtopic"?i(oH,{...A},A.sys.id):A.__typename==="TextSubtopic"?i(nH,{...A},A.sys.id):null)})};var aH=e=>{let{title:t,subtitle:o,titleAlignment:n,titleAlignmentMobile:a,brandBackgroundColor:s,backgroundColor:l=no.White,fullHeight:p=!1,tabsCollection:d,anchorId:u}=e,y=tt(s),m=(0,Ml.useContext)(Se).elementLocation,[g,f]=(0,Ml.useState)(0),b=(0,Ml.useCallback)(C=>{let I=d?.items?.[C]?.tabText;f(C),fe({eventAction:"Click",eventCategory:"Block Tab",eventLabel:`tab:${C}`,context:{elementLocation:m,elementText:I}})},[d,m]),S=d?.items?d.items.filter(C=>C.block.__typename==="MultiValuePropBlock").map((C,I)=>({text:C.tabText,content:[i(Gg,{...C.block,fullHeight:p,autoplayCarousel:g===I?C.block.autoplayCarousel:!1,brandBackgroundColor:s,backgroundColor:l,style:{display:g!==I?"none":"flex"}},C.sys.id)],maxColumns:1})):[];return x(se,{children:[i(To,{motifScheme:y,backgroundColor:l,title:Mt(t),subtitle:Mt(o),titleAlignment:n,titleAlignmentMobile:a,anchorId:u,children:S.length>=2&&i(Jy,{items:S,selectTab:b,selectedTab:g})}),S.map(C=>C.content)]})};var hte=$r` 11358 fragment TextSubtopicAll on TextSubtopic { 11359 ...ContentfulSysId 11360 icon { 11361 ...ContentfulSysId 11362 icon 11363 media { 11364 ...AssetAll 11365 } 11366 } 11367 title 11368 body { 11369 json 11370 } 11371 } 11372`,Cte=$r` 11373 fragment ImageSubtopicAll on ImageSubtopic { 11374 ...ContentfulSysId 11375 image { 11376 ... on Image { 11377 ...ImageAll 11378 } 11379 } 11380 title 11381 } 11382`,xte=$r` 11383 fragment StatSubtopicAll on StatSubtopic { 11384 ...ContentfulSysId 11385 stat 11386 subtitle { 11387 json 11388 } 11389 } 11390`,Wc=$r` 11391 fragment MultiValuePropBlockAll on MultiValuePropBlock { 11392 ...ContentfulSysId 11393 mediaCollection { 11394 items { 11395 ... on Video { 11396 ...VideoAll 11397 } 11398 ... on Image { 11399 ...ImageAll 11400 } 11401 } 11402 } 11403 anchor 11404 desktopMediaAspectRatio 11405 mobileMediaAspectRatio 11406 mediaDirection 11407 autoplayCarousel 11408 title { 11409 json 11410 } 11411 multiValuePropBlockSubtitle: subtitle 11412 body { 11413 json 11414 } 11415 subtopicsCollection { 11416 items { 11417 __typename 11418 ... on ImageSubtopic { 11419 ...ImageSubtopicAll 11420 } 11421 ... on StatSubtopic { 11422 ...StatSubtopicAll 11423 } 11424 ... on TextSubtopic { 11425 ...TextSubtopicAll 11426 } 11427 } 11428 } 11429 callsToActionCollection(limit: 2) { 11430 items { 11431 ... on CallToAction { 11432 ...CallToActionAll 11433 } 11434 } 11435 } 11436 brandBackgroundColor 11437 backgroundColor 11438 fullHeight 11439 } 11440 ${G} 11441 ${nt} 11442 ${ze.all} 11443 ${yt.all} 11444 ${Cte} 11445 ${xte} 11446 ${hte} 11447`,iH=$r` 11448 query MultiValuePropBlockQuery($preview: Boolean!, $locale: String!, $id: String!) { 11449 multiValuePropBlock(preview: $preview, locale: $locale, id: $id) { 11450 ...MultiValuePropBlockAll 11451 } 11452 } 11453 ${Wc} 11454`;var _v=$r` 11455 fragment BlockTabsAll on BlockTabs { 11456 ...ContentfulSysId 11457 tabsCollection { 11458 items { 11459 ...ContentfulSysId 11460 tabText 11461 block { 11462 ... on MultiValuePropBlock { 11463 ...MultiValuePropBlockAll 11464 } 11465 } 11466 } 11467 } 11468 title { 11469 json 11470 links { 11471 entries { 11472 inline { 11473 ...ContentfulSysId 11474 ... on EmphasizedText { 11475 ...EmphasizedTextAll 11476 } 11477 } 11478 } 11479 } 11480 } 11481 subtitle { 11482 json 11483 } 11484 titleAlignment 11485 titleAlignmentMobile
11486 brandBackgroundColor 11487 backgroundColor 11488 fullHeight 11489 anchorId 11490 } 11491 ${G} 11492 ${Xa} 11493 ${Wc} 11494`,sH=$r` 11495 query BlockTabs($preview: Boolean!, $locale: String!, $id: String!) { 11496 blockTabs(preview: $preview, locale: $locale, id: $id) { 11497 ...BlockTabsAll 11498 } 11499 } 11500 ${_v} 11501`;var wv=F` 11502 fragment BreakAll on Break { 11503 ...ContentfulSysId 11504 brandType 11505 type 11506 media { 11507 ...ImageAll 11508 } 11509 brandTopColor 11510 topColor 11511 brandBottomColor 11512 bottomColor 11513 isOverlaid 11514 } 11515 ${ze.all} 11516 ${G} 11517`,lH=F` 11518 query BreakQuery($preview: Boolean!, $locale: String!, $id: String!) { 11519 break(preview: $preview, locale: $locale, id: $id) { 11520 ...BreakAll 11521 } 11522 } 11523 ${wv} 11524`;var qg=T(E());var uH=T(E());var dH={desktop:512,mobile:553},vte={"16:9":{desktop:223,mobile:175},"3:2":{desktop:264,mobile:207},"1:1":{desktop:396,mobile:311}},Ite={"9:16":288,"16:9":396,"3:2":396,"1:1":396},pH=.8,cH=24,Dv=e=>e==="9:16"?dH:vte[e],zg=(e,t={})=>{let{height:o,width:n}=t,s=Dv(e).desktop*pH;if(!o||!n)return{desktop:Math.ceil(s),mobile:cH};let p=Ite[e]*pH*(o/n);return{desktop:Math.ceil(Math.min(s,p)),mobile:cH}},kte=(e,t)=>{let o=[e.mobile,e.desktop],n=o.map(a=>`${a}px`).join(", ");return{sizeToUrl:o.map(a=>({size:`${a}w`,settings:{height:a,quality:t}})),sizes:`(max-width: ${Io}px) ${n}`}},Pv=e=>kte(dH,e);var Nv=({cardItem:e,mediaAspectRatio:t,isVisible:o,shouldLoad:n,isResponsiveWidth:a,hideLinkArrow:s,isInsideHero:l,...p})=>{let d=e.media,{imageSource:u,imageAltText:y}=Ve(d.media),{imageSource:m}=Ve(d.mobileMedia),{getImageSources:g}=ve(),f=(0,uH.useContext)(Se).elementLocation,{desktop:b,mobile:S}=Dv(t),{desktopSettings:C,mobileSettings:I}=ot({desktopHeight:d.media?.height??0,mobileHeight:d.mobileMedia?.height,desktopDefaultHeight:b,mobileDefaultHeight:S,enableHighDpi:d.enableHighDpi,quality:d.quality}),k=$e({desktop:g(u,C),mobile:g(m??u,I)}),v=e.logo,w,_;if(v){let{imageSource:N,imageAltText:$}=Ve(v.media),{imageSource:B}=Ve(v.mobileMedia),{desktop:L,mobile:H}=zg(t,{height:v.media?.height,width:v.media?.width}),{desktopSettings:z,mobileSettings:j}=ot({desktopHeight:v.media?.height??0,mobileHeight:v.mobileMedia?.height,desktopDefaultHeight:L,mobileDefaultHeight:H,enableHighDpi:v.enableHighDpi,quality:v.quality});w=$e({desktop:g(N,z),mobile:g(B??N,j)}),_=$}let D=e.slugReference?.slug,M=D?`/${D}`:e.url,A=()=>{M&&(fe({eventAction:"Click",eventCategory:"CarouselV3",eventLabel:`CarouselV3.ImageItem - ${M}`,context:{targetUrl:M,elementLocation:f}}),en(M)&&Pe.flush())};return i(Gn,{aspectRatio:t,body:e.body,subtitle:e.subtitle,title:e.title,url:M,imgSrcs:k,imgAltText:y,isVisible:o,shouldLoad:n,onClick:A,isResponsiveWidth:a,hideLinkArrow:s,isInsideHero:l,logoSrcs:w,logoAltText:_,...p},e.sys.id)};Nv.displayName="CarouselV3ImageItem";var yH=T(Sa());var mH=T(E());var Ev=({textItem:e})=>{let t=Vi(e?.description),o=Vi(e?.subtext),n=e.slugReference?.slug,a=n?`/${n}`:e.url,s=(0,mH.useContext)(Se).elementLocation,l=e.description?.json?(0,yH.documentToPlainTextString)(e.description.json):void 0;return i(BS,{description:t,subText:o,url:a,onClick:()=>{a&&fe({eventAction:"Click",eventCategory:"CarouselV3",eventLabel:`CarouselV3.TextItem - ${a}`,context:{targetUrl:a,elementLocation:s,elementText:l}})}},e.sys.id)};Ev.displayName="CarouselV3TextItem";var Ug=T(E());var Rv=({cardItem:e,mediaAspectRatio:t,enableVideoControls:o,isVisible:n,shouldLoad:a,isResponsiveWidth:s,hideLinkArrow:l,isInsideHero:p,...d})=>{let[u,y]=(0,Ug.useState)(!1),m=-1,g=(0,Ug.useContext)(Se).elementLocation,f=e.media,{getBestBgImgSrc:b,getImageSources:S}=ve(),C=b(f.thumbnailMedia?.url,{width:728}),{media:{videoSource:I},mobileMedia:{videoSource:k}}=Lt(e.media),v=e.logo,w,_;if(v){let{imageSource:L,imageAltText:H}=Ve(v.media),{imageSource:z}=Ve(v.mobileMedia),{desktop:j,mobile:ue}=zg(t,{height:v.media?.height,width:v.media?.width}),{desktopSettings:ie,mobileSettings:ne}=ot({desktopHeight:v.media?.height??0,mobileHeight:v.mobileMedia?.height,desktopDefaultHeight:j,mobileDefaultHeight:ue,enableHighDpi:v.enableHighDpi,quality:v.quality});w=$e({desktop:S(L,ie),mobile:S(z??L,ne)}),_=H}let D=L=>{if(I&&!u){if(f.autoPlay)return;let{fileName:H}=kn(I);fe({eventAction:"Play",eventCategory:"Video",eventLabel:H,context:{elementLocation:g}}),y(!0)}},M=L=>
11524{if(I&&!f.autoPlay){let{fileName:H}=kn(I);fe({eventAction:"Pause",eventCategory:"Video",eventLabel:H,context:{elementLocation:g}})}},A=qa({autoPlay:f.autoPlay,eventLabel:f.externalId??e.sys.id,getPreviousWatchTime:()=>m,setPreviousWatchTime:L=>{m=L},elementLocation:g}),N=e.slugReference?.slug,$=N?`/${N}`:e.url,B=()=>{$&&(fe({eventAction:"Click",eventCategory:"CarouselV3",eventLabel:`CarouselV3.VideoItem - ${$}`,context:{targetUrl:$,elementLocation:g}}),en($)&&Pe.flush())};return i(Gn,{aspectRatio:t,body:e.body,showVideoControls:o,subtitle:e.subtitle,title:e.title,url:$,videoSource:I,mobileVideoSource:k,onPlay:D,onPause:M,onTimeUpdate:A,isVisible:n,shouldLoad:a,onClick:B,posterSource:C,isResponsiveWidth:s,hideLinkArrow:l,isInsideHero:p,logoSrcs:w,logoAltText:_,...d},e.sys.id)};Rv.displayName="CarouselV3VideoItem";var gH={text:F` 11525 fragment CarouselTextAll on CarouselText { 11526 ...ContentfulSysId 11527 description { 11528 json 11529 } 11530 subtext { 11531 json 11532 } 11533 slugReference { 11534 ...ContentfulSysId 11535 slug 11536 } 11537 url 11538 } 11539 ${G} 11540 `,card:F` 11541 fragment CarouselCardAll on CarouselCard { 11542 ...ContentfulSysId 11543 title 11544 subtitle 11545 body 11546 media { 11547 __typename 11548 ... on Video { 11549 ...VideoAll 11550 } 11551 ... on Image { 11552 ...ImageAll 11553 } 11554 } 11555 slugReference { 11556 ...ContentfulSysId 11557 slug 11558 } 11559 url 11560 } 11561 ${ze.all} 11562 ${yt.all} 11563 ${G} 11564 `},Mte={all:F` 11565 fragment CarouselV3All on CarouselV3 { 11566 ...ContentfulSysId 11567 layout 11568 enableOverflowDecoration 11569 mediaAspectRatio 11570 contentsCollection { 11571 items { 11572 ... on CarouselText { 11573 ...CarouselTextAll 11574 } 11575 ... on CarouselCard { 11576 ...CarouselCardAll 11577 } 11578 } 11579 } 11580 } 11581 ${gH.text} 11582 ${gH.card} 11583 `},Wg=F` 11584 query CarouselV3Query($preview: Boolean!, $locale: String!, $id: String!) { 11585 carouselV3(preview: $preview, locale: $locale, id: $id) { 11586 ...CarouselV3All 11587 } 11588 } 11589 ${Mte.all} 11590`;var qc=e=>{let{isRTL:t}=(0,qg.useContext)(oe),{getCurrentUrl:o}=(0,qg.useContext)(oe),n=(0,qg.useContext)(Se).elementLocation,a=new URL(o()),s=O.deploymentType!=="production"&&a.searchParams.get("pauseAnimations")==="true",l=Qa(O,"carousel"),{data:p}=de(Wg,{variables:{id:e.sys.id}}),d=p?.carouselV3?.contentsCollection?.items?.[0]?.__typename;if(!p?.carouselV3)return null;let{contentsCollection:u,mediaAspectRatio:y}=p.carouselV3,m=u.items,g=d==="CarouselText"||p?.carouselV3?.layout==="Single slide view",f=p?.carouselV3.enableOverflowDecoration??l?.defaultCarouselOverflowDecoration??O.theme?.defaultCarouselOverflowDecoration;return i(Ra,{isSingleView:g,autoPlay:!s,isRtl:t,enableOverflowDecoration:f,onSlideChange:(b,S)=>{fe({eventCategory:"Carousel",eventAction:S==="drag"?"Scroll":"Click",eventLabel:`slide_change: ${b}`,context:{elementLocation:n}})},children:m.map(b=>{if(b.__typename==="CarouselCard"){let S=b,C=S.media.__typename==="Video",I=S.media.autoPlay??!0;return C?i(Rv,{cardItem:S,mediaAspectRatio:y,enableVideoControls:C&&!I,isInsideHero:e.isInsideHero},S.sys.id):i(Nv,{cardItem:S,mediaAspectRatio:y,isInsideHero:e.isInsideHero},S.sys.id)}if(b.__typename==="CarouselText"){let S=b;return i(Ev,{textItem:S},S.sys.id)}return null})})};qc.displayName="CarouselV3";var bt=T(E());var Bv="form_submit",$v=O.isDeploymentTypeProd?"6LcIxP8sAAAAAEwO5rCTbP8YilRqP3ChpLPtPQhq":"6LdRmf4sAAAAAHl3BsZ9q3v48AdrHK2afAxVQ-I8",Vet=O.isDeploymentTypeProd?"marketing-web-platform":"entapps-web-dev",fH=`https://www.google.com/recaptcha/enterprise.js?render=${$v}`;function Ate(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]}function Tte(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t}var bH=(function(){function e(o){this.isSpeedy=o.speedy===void 0?!0:o.speedy,this.tags=[],this.ctr=0,this.nonce=o.nonce,this.key=o.key,this.container=o.container,this.before=null}var t=e.prototype;return t.insert=function(n){if(this.ctr%(this.isSpeedy?65e3:1)===0){var a=Tte(this),s;this.tags.length===0?s=this.before:s=this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(a,s),this.tags.push(a)}var l=this.tags[this.tags.length-1];if(this.isSpeedy){var p=Ate(l);
vendor: 8,937 bytes, line 11590
11590try{var d=n.charCodeAt(1)===105&&n.charCodeAt(0)===64;p.insertRule(n,d?0:p.cssRules.length)}catch{}}else l.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){return n.parentNode.removeChild(n)}),this.tags=[],this.ctr=0},e})();function _te(e){function t(Q,Y,Z,U,R){for(var X=0,W=0,le=0,ee=0,be,q,ce=0,_e=0,me,Ie=me=be=0,he=0,Ae=0,Pt=0,pt=0,so=Z.length,bo=so-1,rt,ke="",Fe="",Qo="",lo="",ye;he<so;){if(q=Z.charCodeAt(he),he===bo&&W+ee+le+X!==0&&(W!==0&&(q=W===47?10:47),ee=le=X=0,so++,bo++),W+ee+le+X===0){if(he===bo&&(0<Ae&&(ke=ke.replace(g,"")),0<ke.trim().length)){switch(q){case 32:case 9:case 59:case 13:case 10:break;default:ke+=Z.charAt(he)}q=59}switch(q){case 123:for(ke=ke.trim(),be=ke.charCodeAt(0),me=1,pt=++he;he<so;){switch(q=Z.charCodeAt(he)){case 123:me++;break;case 125:me--;break;case 47:switch(q=Z.charCodeAt(he+1)){case 42:case 47:e:{for(Ie=he+1;Ie<bo;++Ie)switch(Z.charCodeAt(Ie)){case 47:if(q===42&&Z.charCodeAt(Ie-1)===42&&he+2!==Ie){he=Ie+1;break e}break;case 10:if(q===47){he=Ie+1;break e}}he=Ie}}break;case 91:q++;case 40:q++;case 34:case 39:for(;he++<bo&&Z.charCodeAt(he)!==q;);}if(me===0)break;he++}switch(me=Z.substring(pt,he),be===0&&(be=(ke=ke.replace(m,"").trim()).charCodeAt(0)),be){case 64:switch(0<Ae&&(ke=ke.replace(g,"")),q=ke.charCodeAt(1),q){case 100:case 109:case 115:case 45:Ae=Y;break;default:Ae=ue}if(me=t(Y,Ae,me,q,R+1),pt=me.length,0<ne&&(Ae=o(ue,ke,Pt),ye=p(3,me,Ae,Y,H,L,pt,q,R,U),ke=Ae.join(""),ye!==void 0&&(pt=(me=ye.trim()).length)===0&&(q=0,me="")),0<pt)switch(q){case 115:ke=ke.replace(D,l);case 100:case 109:case 45:me=ke+"{"+me+"}";break;case 107:ke=ke.replace(k,"$1 $2"),me=ke+"{"+me+"}",me=j===1||j===2&&s("@"+me,3)?"@-webkit-"+me+"@"+me:"@"+me;break;default:me=ke+me,U===112&&(me=(Fe+=me,""))}else me="";break;default:me=t(Y,o(Y,ke,Pt),me,U,R+1)}Qo+=me,me=Pt=Ae=Ie=be=0,ke="",q=Z.charCodeAt(++he);break;case 125:case 59:if(ke=(0<Ae?ke.replace(g,""):ke).trim(),1<(pt=ke.length))switch(Ie===0&&(be=ke.charCodeAt(0),be===45||96<be&&123>be)&&(pt=(ke=ke.replace(" ",":")).length),0<ne&&(ye=p(1,ke,Y,Q,H,L,Fe.length,U,R,U))!==void 0&&(pt=(ke=ye.trim()).length)===0&&(ke="\0\0"),be=ke.charCodeAt(0),q=ke.charCodeAt(1),be){case 0:break;case 64:if(q===105||q===99){lo+=ke+Z.charAt(he);break}default:ke.charCodeAt(pt-1)!==58&&(Fe+=a(ke,be,q,ke.charCodeAt(2)))}Pt=Ae=Ie=be=0,ke="",q=Z.charCodeAt(++he)}}switch(q){case 13:case 10:W===47?W=0:1+be===0&&U!==107&&0<ke.length&&(Ae=1,ke+="\0"),0<ne*pe&&p(0,ke,Y,Q,H,L,Fe.length,U,R,U),L=1,H++;break;case 59:case 125:if(W+ee+le+X===0){L++;break}default:switch(L++,rt=Z.charAt(he),q){case 9:case 32:if(ee+X+W===0)switch(ce){case 44:case 58:case 9:case 32:rt="";break;default:q!==32&&(rt=" ")}break;case 0:rt="\\0";break;case 12:rt="\\f";break;case 11:rt="\\v";break;case 38:ee+W+X===0&&(Ae=Pt=1,rt="\f"+rt);break;case 108:if(ee+W+X+z===0&&0<Ie)switch(he-Ie){case 2:ce===112&&Z.charCodeAt(he-3)===58&&(z=ce);case 8:_e===111&&(z=_e)}break;case 58:ee+W+X===0&&(Ie=he);break;case 44:W+le+ee+X===0&&(Ae=1,rt+="\r");break;case 34:case 39:W===0&&(ee=ee===q?0:ee===0?q:ee);break;case 91:ee+W+le===0&&X++;break;case 93:ee+W+le===0&&X--;break;case 41:ee+W+X===0&&le--;break;case 40:if(ee+W+X===0){if(be===0)switch(2*ce+3*_e){case 533:break;default:be=1}le++}break;case 64:W+le+ee+X+Ie+me===0&&(me=1);break;case 42:case 47:if(!(0<ee+X+le))switch(W){case 0:switch(2*q+3*Z.charCodeAt(he+1)){case 235:W=47;break;case 220:pt=he,W=42}break;case 42:q===47&&ce===42&&pt+2!==he&&(Z.charCodeAt(pt+2)===33&&(Fe+=Z.substring(pt,he+1)),rt="",W=0)}}W===0&&(ke+=rt)}_e=ce,ce=q,he++}if(pt=Fe.length,0<pt){if(Ae=Y,0<ne&&(ye=p(2,Fe,Ae,Q,H,L,pt,U,R,U),ye!==void 0&&(Fe=ye).length===0))return lo+Fe+Qo;if(Fe=Ae.join(",")+"{"+Fe+"}",j*z!==0){switch(j!==2||s(Fe,2)||(z=0),z){case 111:Fe=Fe.replace(w,":-moz-$1")+Fe;break;case 112:Fe=Fe.replace(v,"::-webkit-input-$1")+Fe.replace(v,"::-moz-$1")+Fe.replace(v,":-ms-input-$1")+Fe}z=0}}return lo+Fe+Qo}function o(Q,Y,Z){var U=Y.trim().split(C);Y=U;var R=U.length,X=Q.length;switch(X){case 0:case 1:var W=0;for(Q=X===0?"":Q[0]+" ";W<R;++W)Y[W]=n(Q,Y[W],Z).trim();break;default:var le=W=0;for(Y=[];W<R;++W)for(var ee=0;ee<X;++ee)Y[le++]=n(Q[ee]+" ",U[W],Z).trim()}return Y}function n(Q,Y,Z){var U=Y.charCodeAt(0);switch(33>U&&(U=(Y=Y.trim()).charCodeAt(0)),U){case 38:return Y.replace(I,"$1"+Q.trim());case 58:return Q.trim()+Y.replace(I,"$1"+Q.trim());default:if(0<1*Z&&0<Y.indexOf("\f"))return Y.replace(I,(Q.charCodeAt(0)===58?"":"$1")+Q.trim())}return Q+Y}function a(Q,Y,Z,U){var R=Q+";",X=2*Y+3*Z+4*U;if(X===944){Q=R.indexOf(":",9)+1;var W=R.substring(Q,R.length-1).trim();return W=R.substring(0,Q).trim()+W+";",j===1||j===2&&s(W,1)?"-webkit-"+W+W:W}if(j===0||j===2&&!s(R,1))return R;switch(X){case 1015:return R.charCodeAt(10)===97?"-webkit-"+R+R:R;case 951:return R.charCodeAt(3)===116?"-webkit-"+R+R:R;case 963:return R.charCodeAt(5)===110?"-webkit-"+R+R:R;case 1009:if(R.charCodeAt(4)!==100)break;case 969:case 942:return"-webkit-"+R+R;case 978:return"-webkit-"+R+"-moz-"+R+R;case 1019:case 983:return"-webkit-"+R+"-moz-"+R+"-ms-"+R+R;case 883:if(R.charCodeAt(8)===45)return"-webkit-"+R+R;if(0<R.indexOf("image-set(",11))return R.replace(B,"$1-webkit-$2")+R;break;case 932:if(R.charCodeAt(4)===45)switch(R.charCodeAt(5)){case 103:return"-webkit-box-"+R.replace("-grow","")+"-webkit-"+R+"-ms-"+R.replace("grow","positive")+R;case 115:return"-webkit-"+R+"-ms-"+R.replace("shrink","negative")+R;case 98:return"-webkit-"+R+"-ms-"+R.replace("basis","preferred-size")+R}return"-webkit-"+R+"-ms-"+R+R;case 964:return"-webkit-"+R+"-ms-flex-"+R+R;case 1023:if(R.charCodeAt(8)!==99)break;return W=R.substring(R.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),"-webkit-box-pack"+W+"-webkit-"+R+"-ms-flex-pack"+W+R;case 1005:return b.test(R)?R.replace(f,":-webkit-")+R.replace(f,":-moz-")+R:R;case 1e3:switch(W=R.substring(13).trim(),Y=W.indexOf("-")+1,W.charCodeAt(0)+W.charCodeAt(Y)){case 226:W=R.replace(_,"tb");break;case 232:W=R.replace(_,"tb-rl");break;case 220:W=R.replace(_,"lr");break;default:return R}return"-webkit-"+R+"-ms-"+W+R;case 1017:if(R.indexOf("sticky",9)===-1)break;case 975:switch(Y=(R=Q).length-10,W=(R.charCodeAt(Y)===33?R.substring(0,Y):R).substring(Q.indexOf(":",7)+1).trim(),X=W.charCodeAt(0)+(W.charCodeAt(7)|0)){case 203:if(111>W.charCodeAt(8))break;case 115:R=R.replace(W,"-webkit-"+W)+";"+R;break;case 207:case 102:R=R.replace(W,"-webkit-"+(102<X?"inline-":"")+"box")+";"+R.replace(W,"-webkit-"+W)+";"+R.replace(W,"-ms-"+W+"box")+";"+R}return R+";";case 938:if(R.charCodeAt(5)===45)switch(R.charCodeAt(6)){case 105:return W=R.replace("-items",""),"-webkit-"+R+"-webkit-box-"+W+"-ms-flex-"+W+R;case 115:return"-webkit-"+R+"-ms-flex-item-"+R.replace(A,"")+R;default:return"-webkit-"+R+"-ms-flex-line-pack"+R.replace("align-content","").replace(A,"")+R}break;case 973:case 989:if(R.charCodeAt(3)!==45||R.charCodeAt(4)===122)break;case 931:case 953:if($.test(Q)===!0)return(W=Q.substring(Q.indexOf(":")+1)).charCodeAt(0)===115?a(Q.replace("stretch","fill-available"),Y,Z,U).replace(":fill-available",":stretch"):R.replace(W,"-webkit-"+W)+R.replace(W,"-moz-"+W.replace("fill-",""))+R;break;case 962:if(R="-webkit-"+R+(R.charCodeAt(5)===102?"-ms-"+R:"")+R,Z+U===211&&R.charCodeAt(13)===105&&0<R.indexOf("transform",10))return R.substring(0,R.indexOf(";",27)+1).replace(S,"$1-webkit-$2")+R}return R}function s(Q,Y){var Z=Q.indexOf(Y===1?":":"{"),U=Q.substring(0,Y!==3?Z:10);return Z=Q.substring(Z+1,Q.length-1),J(Y!==2?U:U.replace(N,"$1"),Z,Y)}function l(Q,Y){var Z=a(Y,Y.charCodeAt(0),Y.charCodeAt(1),Y.charCodeAt(2));return Z!==Y+";"?Z.replace(M," or ($1)").substring(4):"("+Y+")"}function p(Q,Y,Z,U,R,X,W,le,ee,be){for(var q=0,ce=Y,_e;q<ne;++q)switch(_e=ie[q].call(y,Q,ce,Z,U,R,X,W,le,ee,be)){case void 0:case!1:case!0:case null:break;default:ce=_e}if(ce!==Y)return ce}function d(Q){switch(Q){case void 0:case null:ne=ie.length=0;break;default:if(typeof Q=="function")ie[ne++]=Q;else if(typeof Q=="object")for(var Y=0,Z=Q.length;Y<Z;++Y)d(Q[Y]);else pe=!!Q|0}return d}function u(Q){return Q=Q.prefix,Q!==void 0&&(J=null,Q?typeof Q!="function"?j=1:(j=2,J=Q):j=0),u}function y(Q,Y){var Z=Q;if(33>Z.charCodeAt(0)&&(Z=Z.trim()),re=Z,Z=[re],0<ne){var U=p(-1,Y,Z,Z,H,L,0,0,0,0);U!==void 0&&typeof U=="string"&&(Y=U)}var R=t(ue,Z,Y,0,0);return 0<ne&&(U=p(-2,R,Z,Z,H,L,R.length,0,0,0),U!==void 0&&(R=U)),re="",z=0,L=H=1,R}var m=/^\0+/g,g=/[\0\r\f]/g,f=/: */g,b=/zoo|gra/,S=/([,: ])(transform)/g,C=/,\r+?/g,I=/([\t\r\n ])*\f?&/g,k=/@(k\w+)\s*(\S*)\s*/,v=/::(place)/g,w=/:(read-only)/g,_=/[svh]\w+-[tblr]{2}/,D=/\(\s*(.*)\s*\)/g,M=/([\s\S]*?);/g,A=/-self|flex-/g,N=/[^]*?(:[rp][el]a[\w-]+)[^]*/,$=/stretch|:\s*\w+\-(?:conte|avail)/,B=/([^-])(image-set\()/,L=1,H=1,z=0,j=1,ue=[],ie=[],ne=0,J=null,pe=0,re="";return y.use=d,y.set=u,e!==void 0&&u(e),y}var SH=_te;var Lv="/*|*/",wte=Lv+"}";function Dte(e){e&&Qg.current.insert(e+"}")}var Qg={current:null}
11590,Pte=function(t,o,n,a,s,l,p,d,u,y){switch(t){case 1:{switch(o.charCodeAt(0)){case 64:return Qg.current.insert(o+";"),"";case 108:if(o.charCodeAt(2)===98)return""}break}case 2:{if(d===0)return o+Lv;break}case 3:switch(d){case 102:case 112:return Qg.current.insert(n[0]+o),"";default:return o+(y===0?Lv:"")}case-2:o.split(wte).forEach(Dte)}},Nte=function(t){t===void 0&&(t={});var o=t.key||"css",n;t.prefix!==void 0&&(n={prefix:t.prefix});var a=new SH(n),s={},l;{l=t.container||document.head;var p=document.querySelectorAll("style[data-emotion-"+o+"]");Array.prototype.forEach.call(p,function(g){var f=g.getAttribute("data-emotion-"+o);f.split(" ").forEach(function(b){s[b]=!0}),g.parentNode!==l&&l.appendChild(g)})}var d;if(a.use(t.stylisPlugins)(Pte),d=function(f,b,S,C){var I=b.name;if(Qg.current=S,0)var k;a(f,b.styles),C&&(m.inserted[I]=!0)},0)var u,y;var m={key:o,sheet:new bH({key:o,container:l,nonce:t.nonce,speedy:t.speedy}),nonce:t.nonce,inserted:s,registered:{},insert:d};return m},hH=Nte;function Ete(e){var t={};return function(o){return t[o]===void 0&&(t[o]=e(o)),t[o]}}var CH=Ete;var Rte=/[A-Z]|^ms/g,Fte=/_EMO_([^_]+?)_([^]*?)_EMO_/g,kH=function(t){return t.charCodeAt(1)===45},xH=function(t){return t!=null&&typeof t!="boolean"},Hv=CH(function(e){return kH(e)?e:e.replace(Rte,"-$&").toLowerCase()}),vH=function(t,o){switch(t){case"animation":case"animationName":if(typeof o=="string")return o.replace(Fte,function(n,a,s){return Dr={name:a,styles:s,next:Dr},a})}return fk[t]!==1&&!kH(t)&&typeof o=="number"&&o!==0?o+"px":o};function Qc(e,t,o,n){if(o==null)return"";if(o.__emotion_styles!==void 0)return o;switch(typeof o){case"boolean":return"";case"object":{if(o.anim===1)return Dr={name:o.name,styles:o.styles,next:Dr},o.name;if(o.styles!==void 0){var a=o.next;if(a!==void 0)for(;a!==void 0;)Dr={name:a.name,styles:a.styles,next:Dr},a=a.next;var s=o.styles+";";return s}return Bte(e,t,o)}case"function":{if(e!==void 0){var l=Dr,p=o(e);return Dr=l,Qc(e,t,p,n)}break}case"string":if(0)var d,u;break}if(t==null)return o;var y=t[o];return y!==void 0&&!n?y:o}function Bte(e,t,o){var n="";if(Array.isArray(o))for(var a=0;a<o.length;a++)n+=Qc(e,t,o[a],!1);else for(var s in o){var l=o[s];if(typeof l!="object")t!=null&&t[l]!==void 0?n+=s+"{"+t[l]+"}":xH(l)&&(n+=Hv(s)+":"+vH(s,l)+";");else if(Array.isArray(l)&&typeof l[0]=="string"&&(t==null||t[l[0]]===void 0))for(var p=0;p<l.length;p++)xH(l[p])&&(n+=Hv(s)+":"+vH(s,l[p])+";");else{var d=Qc(e,t,l,!1);switch(s){case"animation":case"animationName":{n+=Hv(s)+":"+d+";";break}default:n+=s+"{"+d+"}"}}}return n}var IH=/label:\s*([^\s;\n{]+)\s*;/g;var Dr,Kg=function(t,o,n){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var a=!0,s="";Dr=void 0;var l=t[0];l==null||l.raw===void 0?(a=!1,s+=Qc(n,o,l,!1)):s+=l[0];for(var p=1;p<t.length;p++)s+=Qc(n,o,t[p],s.charCodeAt(s.length-1)===46),a&&(s+=l[p]);var d;IH.lastIndex=0;for(var u="",y;(y=IH.exec(s))!==null;)u+="-"+y[1];var m=gk(s)+u;return{name:m,styles:s,next:Dr}};var $te=!0;function Vv(e,t,o){var n="";return o.split(" ").forEach(function(a){e[a]!==void 0?t.push(e[a]):n+=a+" "}),n}var MH=function(t,o,n){var a=t.key+"-"+o.name;if((n===!1||$te===!1&&t.compat!==void 0)&&t.registered[a]===void 0&&(t.registered[a]=o.styles),t.inserted[o.name]===void 0){var s=o;do{var l=t.insert("."+a,s,t.sheet,!0);s=s.next}while(s!==void 0)}};function AH(e,t){if(e.inserted[t.name]===void 0)return e.insert("",t,e.sheet,!0)}function TH(e,t,o){var n=[],a=Vv(e,n,o);return n.length<2?o:a+t(n)}var Lte=function(t){var o=hH(t);o.sheet.speedy=function(p){this.isSpeedy=p},o.compat=!0;var n=function(){for(var d=arguments.length,u=new Array(d),y=0;y<d;y++)u[y]=arguments[y];var m=Kg(u,o.registered,void 0);return MH(o,m,!1),o.key+"-"+m.name},a=function(){for(var d=arguments.length,u=new Array(d),y=0;y<d;y++)u[y]=arguments[y];var m=Kg(u,o.registered),g="animation-"+m.name;return AH(o,{name:m.name,styles:"@keyframes "+g+"{"+m.styles+"}"}),g},s=function(){for(var d=arguments.length,u=new Array(d),y=0;y<d;y++)u[y]=arguments[y];var m=Kg(u,o.registered);AH(o,m)},l=function(){for(var d=arguments.length,u=new Array(d),y=0;y<d;y++)u[y]=arguments[y];return TH(o.registered,n,Hte(u))};return{css:n,cx:l,injectGlobal:s,keyframes:a,hydrate:function(d){d.forEach(function(u){o.inserted[u]=!0})},flush:function(){o.registered={},o.inserted={},o.sheet.flush()},sheet:o.sheet,cache:o,getRegisteredStyles:Vv.bind(null,o.registered),merge:TH.bind(null,o.registered,n)}},Hte=function e(t){for(var o="",n=0;n<t.length;n++){var a=t[n];if(a!=null){var s=void 0;switch(typeof a){case"boolean":break;case"object":{if(Array.isArray(a))s=e(a);else{s="";for(var l in a)a[l]&&l&&(s&&(s+=" "),s+=l)}break}default:s=a}
11590s&&(o&&(o+=" "),o+=s)}}return o},_H=Lte;var Pr=_H(),att=Pr.flush,itt=Pr.hydrate,stt=Pr.cx,ltt=Pr.merge,ptt=Pr.getRegisteredStyles,wH=Pr.injectGlobal,ctt=Pr.keyframes,dtt=Pr.css,utt=Pr.sheet,ytt=Pr.cache;var DH=T(E());var Vte=p0` 11591 .grecaptcha-badge { 11592 visibility: hidden; 11593 } 11594`,PH=({nonce:e,enableRecaptcha:t,recaptchaClientRef:o,onError:n})=>{(0,DH.useEffect)(()=>{if(!t)return;wH(Vte);let a={type:"text/javascript",async:"true",defer:"true"};e&&(a.nonce=e);let s=()=>{o.current||(o.current={run:async l=>{try{return await window.grecaptcha.enterprise.execute($v,{action:l})}catch(p){let d=Bt(p);throw n?.(d.message),d}}})};er("google-recaptcha",fH,()=>{window.grecaptcha?.enterprise.ready(()=>{s()})},a)},[])};var Al=T(Nc());var Ote=128,Gte=/^[A-Za-z0-9+/=]+$/,NH=e=>{let t=e?.trim()??"";if(t.length===0)return;let[o=""]=t.split(":");return B0(o)?o:void 0},EH=e=>{let t=e?.trim()??"";if(t.length!==0)return t.length<=Ote&&Gte.test(t)?t:void 0};var FH={US:"United States",AD:"Andorra",AE:"United Arab Emirates",AF:"Afghanistan",AG:"Antigua and Barbuda",AI:"Anguilla",AL:"Albania",AM:"Armenia",AO:"Angola",AQ:"Antarctica",AR:"Argentina",AT:"Austria",AU:"Australia",AW:"Aruba",AX:"Aland Islands",AZ:"Azerbaijan",BA:"Bosnia and Herzegovina",BB:"Barbados",BD:"Bangladesh",BE:"Belgium",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BL:"Saint Barth\xE9lemy",BM:"Bermuda",BN:"Brunei",BO:"Bolivia",BQ:"Bonaire, Sint Eustatius and Saba",BR:"Brazil",BS:"Bahamas",BT:"Bhutan",BV:"Bouvet Island",BW:"Botswana",BY:"Belarus",BZ:"Belize",CA:"Canada",CC:"Cocos (Keeling) Islands",CD:"Congo, the Democratic Republic of the",CF:"Central African Republic",CG:"Congo",CH:"Switzerland",CI:"Cote d'Ivoire",CK:"Cook Islands",CL:"Chile",CM:"Cameroon",CN:"China",CO:"Colombia",CR:"Costa Rica",CU:"Cuba",CV:"Cape Verde",CW:"Cura\xE7ao",CX:"Christmas Island",CY:"Cyprus",CZ:"Czech Republic",DE:"Germany",DJ:"Djibouti",DK:"Denmark",DM:"Dominica",DO:"Dominican Republic",DZ:"Algeria",EC:"Ecuador",EE:"Estonia",EG:"Egypt",EH:"Western Sahara",ER:"Eritrea",ES:"Spain",ET:"Ethiopia",FI:"Finland",FJ:"Fiji",FK:"Falkland Islands (Malvinas)",FO:"Faroe Islands",FR:"France",GA:"Gabon",GB:"United Kingdom",GD:"Grenada",GE:"Georgia",GF:"French Guiana",GG:"Guernsey",GH:"Ghana",GI:"Gibraltar",GL:"Greenland",GM:"Gambia",GN:"Guinea",GP:"Guadeloupe",GQ:"Equatorial Guinea",GR:"Greece",GS:"South Georgia and the South Sandwich Islands",GT:"Guatemala",GW:"Guinea-Bissau",GY:"Guyana",HK:"Hong Kong",HM:"Heard Island and McDonald Islands",HN:"Honduras",HR:"Croatia",HT:"Haiti",HU:"Hungary",ID:"Indonesia",IE:"Ireland",IL:"Israel",IM:"Isle of Man",IN:"India",IO:"British Indian Ocean Territory",IQ:"Iraq",IR:"Iran",IS:"Iceland",IT:"Italy",JE:"Jersey",JM:"Jamaica",JO:"Jordan",JP:"Japan",KE:"Kenya",KG:"Kyrgyzstan",KH:"Cambodia",KI:"Kiribati",KM:"Comoros",KN:"Saint Kitts and Nevis",KP:"Korea, Democratic People's Republic of",KR:"South Korea",KW:"Kuwait",KY:"Cayman Islands",KZ:"Kazakhstan",LA:"Laos",LB:"Lebanon",LC:"Saint Lucia",LI:"Liechtenstein",LK:"Sri Lanka",LR:"Liberia",LS:"Lesotho",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",LY:"Libya",MA:"Morocco",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MF:"Saint Martin",MG:"Madagascar",MK:"Macedonia",ML:"Mali",MM:"Myanmar",MN:"Mongolia",MO:"Macao",MQ:"Martinique",MR:"Mauritania",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MV:"Maldives",MW:"Malawi",MX:"Mexico",MY:"Malaysia",MZ:"Mozambique",NA:"Namibia",NC:"New Caledonia",NE:"Niger",NF:"Norfolk Island",NG:"Nigeria",NI:"Nicaragua",NL:"Netherlands",NO:"Norway",NP:"Nepal",NR:"Nauru",NU:"Niue",NZ:"New Zealand",OM:"Oman",PA:"Panama",PE:"Peru",PF:"French Polynesia",PG:"Papua New Guinea",PH:"Philippines",PK:"Pakistan",PL:"Poland",PM:"Saint Pierre and Miquelon",PN:"Pitcairn",PS:"Palestine",PT:"Portugal",PY:"Paraguay",QA:"Qatar",RE:"Reunion",RO:"Romania",RS:"Serbia",RU:"Russia",RW:"Rwanda",SA:"Saudi Arabia",SB:"Solomon Islands",SC:"Seychelles",SD:"Sudan",SE:"Sweden",SG:"Singapore",SH:"Saint Helena, Ascension and Tristan da Cunha",SI:"Slovenia",SJ:"Svalbard and Jan Mayen",SK:"Slovakia",SL:"Sierra Leone",SM:"San Marino",SN:"Senegal",SO:"Somalia",SR:"Suriname",SS:"South Sudan",ST:"Sao Tome and Principe",SV:"El Salvador",SX:"Sint Maarten (Dutch part)",SY:"Syrian Arab Republic",SZ:"Swaziland",TC:"Turks and Caicos Islands",TD:"Chad",TF:"French Southern Territories",TG:"Togo",TH:"Thailand",TJ:"Tajikistan",TK:"Tokelau",TL:"Timor-Leste",TM:"Turkmenistan",TN:"Tunisia",TO:"Tonga",TR:"Turkey",TT:"Trinidad and Tobago",TV:"Tuvalu",TW:"Taiwan",TZ:"Tanzania",UA:"Ukraine",UG:"Uganda",UY:"Uruguay",UZ:"Uzbekistan",VA:"Holy See (Vatican City State)",VC:"Saint Vincent and the Grenadines",VE:"Venezuela",VG:"Virgin Islands, British",VN:"Vietnam",VU:"Vanuatu",WF:"Wallis and Futuna",WS:"Samoa",YE:"Yemen",YT:"Mayotte",ZA:"South Africa",ZM:"Zambia",ZW:"Zimbabwe"},zte=Object.entries(FH).sort((e,t)=>
11594e[0]==="US"?-1:t[0]==="US"?1:e[1].localeCompare(t[1])),RH=Object.fromEntries(zte),BH={Countries:{defaultPlaceholder:"Country",data:Object.values(RH).map(e=>({key:e,value:e}))},"Countries (submit country code)":{defaultPlaceholder:"Country/Region",data:Object.keys(RH).map(e=>({key:FH[e],value:e}))}};function $H(e,t){for(let o of e.rowsCollection.items)for(let n of o.fieldsCollection.items)if(n.name===t)return n}var Ute=new Map(Object.entries({utmSourceFieldName:"utm_source",utmMediumFieldName:"utm_medium",utmCampaignFieldName:"utm_campaign",utmContentFieldName:"utm_content",utmTermFieldName:"utm_term",gclidFieldName:"gclid"})),Wte=new Map(Object.entries({blizzardClientIdFieldName:{cookie:xb.CLIENT_ID,parse:NH},blizzardWebSessionIdFieldName:{cookie:xb.WEB_SESSION_ID,parse:EH}})),LH=(e,t,o)=>{let n=e?.items.find(p=>p.__typename==="ExtraParametersFormFeature");if(!n)return;let{searchParams:a,pathname:s}=new URL(t),l={};for(let[p,d]of Object.entries(n)){if(!d)continue;if(p==="urlPathFieldName"){l[d]=s;continue}let u=Wte.get(p);if(u){let m=u.parse(o?.(u.cookie));m!==void 0&&(l[d]=m);continue}let y=Ute.get(p);y&&(l[d]=a.get(y)??"")}return l},HH=(e,t)=>{let o=new Map,n=new URL(e),a=new URLSearchParams(n.search);a.forEach((l,p)=>{if(p.startsWith("form_")){let d=p.replace("form_",""),u=a.getAll(p);o.set(d,u.length>1?u:u[0])}});let s=new Map;for(let[l,p]of o){let d=t(l);if(!(!d||!d.name))switch(d.__typename){case"DropdownField":s.set(d.name,p);break;case"MultiselectDropdownField":{let y=(Array.isArray(p)?p:[p]).map(m=>{let g=d.optionsCollection?.items.find(f=>f.key===m)?.value;if(g)return{id:m,name:g}}).filter(Boolean);s.set(d.name,y);break}case"InputField":{let u=Array.isArray(p)?p[0]:p;switch(d.type){case"Checkbox":{s.set(d.name,u==="true");break}case"Number":{s.set(d.name,u);break}default:{s.set(d.name,u);break}}break}case"PresetDropdownField":{s.set(d.name,p);break}default:{console.warn(`Unsupported field type: ${d.__typename} for url form parsing.`);break}}}return s};var qte=c` 11595 width: 100%; 11596 display: inline-flex; 11597 justify-content: center; 11598 11599 ${Tr.over768_desktop_small} { 11600 width: auto; 11601 } 11602`,Tl=({contentfulInputField:e,submitText:t,submitSuccessText:o,submitTextDataset:n,submitProps:a,initialValue:s})=>{let l=e.__typename,p=nn();if(l==="InputField"){let u=Re({entryId:e.sys.id,fieldIds:["richLabel","label","error","helpText","contentfulDescription"]}),y=e.error?(0,Al.documentToReactComponents)(e.error.json):null,m=e.richLabel?c9(e.richLabel):null,g=(e.type!=="Hidden"?s:void 0)??e.initialValue,f={id:e.name,name:e.name,type:e.type,validation:e.validation,label:e.label,required:e.required,placeholder:e.placeholder,readOnly:e.readOnly,maxLength:e.maxLength,shouldResetToInitial:e.shouldResetToInitial,helpText:e.helpText,minValue:e.minValue,maxValue:e.maxValue,dataset:u.contentfulDescriptionDataset,...u,error:y,richLabel:m,initialValue:g};if(p==="specs"){if(e.type==="Text"||e.type==="Number"||e.type==="Date")return i(void 0,{...f,type:e.type},e.sys.id);if(e.type==="Checkbox")return i(void 0,{...f},e.sys.id)}return i(py,{...f},e.sys.id)}let d=Re({entryId:e.sys.id,fieldIds:["label","error","helpText","contentfulDescription"]});if(l==="DropdownField"){let u=e.optionsCollection?.items??[],y=e.initialOption?.value,m=s??y,g=u.map(({value:S})=>S??""),f=typeof m=="string"&&g.includes(m)?m:y,b=e.error?(0,Al.documentToReactComponents)(e.error.json):null;return i(xi,{id:e.name,name:e.name,label:e.label,initialValue:f,allValues:g,error:b,shouldResetToInitial:e.shouldResetToInitial,helpText:e.helpText,required:e.required,placeholder:e.placeholder,...Gt(d,"contentfulDescriptionDataset"),fieldDataset:d.contentfulDescriptionDataset,children:u.map(({key:S,value:C})=>i("option",{value:C||S,children:S},S))},e.sys.id)}if(l==="MultiselectDropdownField"){let u=e.optionsCollection?.items??[],y=e.error?(0,Al.documentToReactComponents)(e.error.json):null,m=Array.isArray(s)&&s.every(f=>typeof f=="object")?s:void 0,g=u.map(({key:f,value:b})=>!b||!f?null:{name:b,id:f}).filter(Boolean);return i(uy,{name:e.name,label:e.label,showCheckbox:!0,options:g,required:e.required,placeholder:e.placeholder,error:y,...Gt(d,"contentfulDescriptionDataset"),dataset:
11602d.contentfulDescriptionDataset,initialValues:m})}if(l==="PresetDropdownField"){let u=e.preset?BH[e.preset]:void 0;if(!u)return null;let y=u.data.map(({value:g})=>g),m=e.error?(0,Al.documentToReactComponents)(e.error.json):null;return i(xi,{id:e.name,error:m,placeholder:e.placeholder??u.defaultPlaceholder,...Gt(d,"contentfulDescriptionDataset"),name:e.name,label:e.label,fieldDataset:d.contentfulDescriptionDataset,allValues:y,initialValue:s??e.initialValue,required:e.required,children:u.data.map(({key:g,value:f})=>i("option",{value:f,children:g},g))},e.sys.id)}if(l==="RadioSelectField"){let u=e.optionsCollection?.items?.map(({key:b,value:S})=>({key:b,value:S}))??[],y=e.initialOption?.value,m=u.map(({value:b})=>b??""),g=typeof y=="string"&&m.includes(y)?y:void 0,f=e.error?(0,Al.documentToReactComponents)(e.error.json):null;return i(r4,{error:f,helpText:e.helpText,initialValue:g,label:e.label,name:e.name,options:u,required:e.required,shouldResetToInitial:e.shouldResetToInitial},e.sys.id)}if(l==="SubmitButton"&&a){let{handleSubmit:u,disabled:y,loading:m,submitSuccess:g}=a;return i("div",{className:qte,children:i(Kt,{type:"Primary",size:"Large",onClick:u,disabled:y,loading:m,buttonTextDataset:n,children:g?o??t:t})})}return null};var Qte=c` 11603 opacity: 0; 11604 visibility: hidden; 11605`,Kte=4e3,Ov="mwp-form-data",VH=({rowAsText:e,sys:t,fieldsCollection:o,fieldRender:n})=>{let{rowAsTextDataset:a}=Re({entryId:t.id,fieldIds:["rowAsText"]});return e?i(ly,{dataset:a,children:wr(e)},t.id):i(ly,{children:o.items.map(n)},t.id)},jte=(e,t,o,n,a)=>l=>i(se,{children:e.items.map(p=>Jl(VH,{...p,key:p.sys.id,fieldRender:d=>i(Tl,{contentfulInputField:d,submitProps:l,submitText:t,submitSuccessText:o,submitTextDataset:n,initialValue:a?.[d.name]},d.sys.id)}))}),Yg=({rowsCollection:e,additionalFeaturesCollection:t,analytics:o,redirectUrl:n,submitText:a,submitSuccessText:s,endpoint:l,responseType:p,redirectTimeout:d=Kte,extraParams:u,callback:y,enableRecaptcha:m=O.enableRecaptchaOnForms,sys:g,persistFieldEdits:f,prepopulatePerQueryParams:b,onFormInit:S,onValueChange:C,renderErrorMessage:I,...k})=>{let[v,w]=(0,bt.useState)({}),_=(0,bt.useRef)({}),{userLocation:D,currentLocale:M,getCurrentUrl:A,cookieManager:N}=(0,bt.useContext)(oe),$=D.country;(0,bt.useEffect)(()=>{let me={};if(f){let Ie=JSON.parse(cs(Ov)??"{}");Ie[g.id]&&or(me,Ie[g.id]),_.current[g.id]=me}if(b){let Ie=A(),he=HH(Ie,Ae=>$H({rowsCollection:e},Ae));for(let[Ae,Pt]of he)me[Ae]=Pt}w(me),S?.(me)},[f,g.id,A,e,b,S]);let B=(0,bt.useContext)(Se).elementLocation,L=(0,bt.useRef)(!1),H=(0,bt.useRef)();PH({recaptchaClientRef:H,enableRecaptcha:m,onError:me=>{Be({component:"Form",error:me,message:"reCaptcha error",action:"Validate",context:{elementLocation:B}})}});let{formatMessage:z}=(0,bt.useContext)(Qe),j=z({id:"formApiResponse400ErrorMessage",defaultMessage:"400 Bad Request"}),ue=z({id:"formApiResponse500ErrorMessage",defaultMessage:"500 Internal Server"}),ie=z({id:"formInvalidErrorMessage",defaultMessage:"Please updates required fields"}),ne=z({id:"formRequiredFieldsMessage",defaultMessage:"Fields marked with * are required."});I=I??(me=>me===400?j:ue);let[J,pe]=(0,bt.useState)(void 0),re=(0,bt.useRef)(null),{submitTextDataset:Q}=Re({entryId:g.id,fieldIds:["submitText"]});(0,bt.useEffect)(()=>{J&&re.current&&re.current.click()},[J]);let Y=(0,bt.useCallback)(async(me,Ie)=>{try{o&&fe({eventCategory:"Form",eventAction:"FormSubmit",eventLabel:o.label,context:{elementLocation:B}}),y&&y(Ie,me);let he=n;try{if(p==="Downloadable Resource URL"){let Ae=await me.json();pe(Ae.url)}else p==="Redirect URL"&&!n&&(he=(await me.json()).url??"")}catch{pe(void 0)}he&&setTimeout(()=>{window.location.assign(he)},d),f&&(delete _.current[g.id],ui(Ov,JSON.stringify(_.current)))}catch(he){Be({component:"Form",error:he,context:{elementLocation:B}})}},[o,B,y,n,f,p,d,g.id]),Z=(0,bt.useCallback)((me,Ie,he)=>{y&&y(Ie,he),Be({component:"Form",error:me,message:"Form submit failed",action:"Submit",context:{elementLocation:B,elementText:a,targetUrl:l}})},[y,B,l,a]),U=(0,bt.useMemo)(()=>e.items.flatMap(me=>me.fieldsCollection.items).some(({__typename:me})=>me==="SubmitButton"),[e]),R=v,X=JSON.stringify(e),W=JSON.stringify(Q),le=JSON.stringify(R),ee=(0,bt.useMemo)(()=>
11605{if(U)return jte(e,a,s,Q,R)},[U,X,a,s,W,le]),be=(0,bt.useMemo)(()=>e.items.map(me=>Jl(VH,{...me,key:me.sys.id,fieldRender:Ie=>i(Tl,{contentfulInputField:Ie,submitText:a,submitSuccessText:s,initialValue:R?.[Ie.name]},Ie.sys.id)})),[R,e.items,s,a]),q=(0,bt.useCallback)(async()=>{if(!H.current){let Ie=new Error("reCaptcha client does not exist");return Be({component:"Form",message:Ie.message,action:"Submit",error:Ie,context:{elementLocation:B}}),{}}return{recaptchaToken:await H.current.run(Bv),recaptchaAction:Bv}},[B]),ce=(0,bt.useCallback)(Wk({delay:1e3},(me,Ie,he,Ae)=>{Ae||(Ie&&(!L.current&&o&&(fe({eventCategory:"Form",eventAction:"FormInitialInteraction",eventLabel:o.label,context:{elementLocation:B}}),L.current=!0),fe({eventCategory:"FormField",eventAction:"Change",eventLabel:Ie,context:{elementLocation:B}})),C?.(me,Ie,he),!(!f||he)&&(_.current[g.id]=me,ui(Ov,JSON.stringify({..._.current}))))}),[g.id]),_e=(0,bt.useCallback)(async()=>{let me=A(),Ie=LH(t,me,Ae=>N.getCookie(Ae)),he={};if(m)try{he=await q()}catch{he={}}return{...Ie,...u,locale:M,country:$,...he}},[t,u,A,N,M,$,m,q]);return x(se,{children:[i(Rp,{onSubmitSuccess:Y,onSubmitFailure:Z,submitText:a,submitSuccessText:s,submitTextDataset:Q,endpoint:l,formChildrenRenderer:ee,extraParamsAsync:_e,onF
11605ormBodyChange:ce,renderErrorMessage:I,onInvalidClientSideSubmissionMessage:ie,renderErrorDetails:O.isLocal,formRequiredFieldsMessage:ne,...k,children:be}),p==="Downloadable Resource URL"&&i("a",{"data-testid":"test-anchor-download",ref:re,href:J,download:!0,className:Qte,children:"Hidden trigger anchor"})]})};var Yte=F` 11606 fragment FormRowAll on FormRow { 11607 ...ContentfulSysId 11608 rowAsText { 11609 json 11610 } 11611 fieldsCollection(limit: 3) { 11612 items { 11613 __typename 11614 ... on InputField { 11615 ...ContentfulSysId 11616 name 11617 type 11618 label 11619 richLabel { 11620 json 11621 } 11622 initialValue 11623 shouldResetToInitial 11624 placeholder 11625 required 11626 validation 11627 helpText 11628 error { 11629 json 11630 } 11631 maxLength 11632 minValue 11633 maxValue 11634 } 11635 ... on SubmitButton { 11636 ...ContentfulSysId 11637 name 11638 } 11639 ... on PresetDropdownField { 11640 ...ContentfulSysId 11641 name 11642 label 11643 preset 11644 placeholder 11645 required 11646 helpText 11647 error { 11648 json 11649 } 11650 } 11651 ... on DropdownField { 11652 ...ContentfulSysId 11653 name 11654 label 11655 placeholder 11656 required 11657 helpText 11658 optionsCollection { 11659 items { 11660 ... on DropdownFieldOption { 11661 ...ContentfulSysId 11662 key 11663 value 11664 } 11665 } 11666 } 11667 initialOption { 11668 ... on DropdownFieldOption { 11669 ...ContentfulSysId 11670 key 11671 value 11672 } 11673 } 11674 shouldResetToInitial 11675 error { 11676 json 11677 } 11678 } 11679 ... on MultiselectDropdownField { 11680 ...ContentfulSysId 11681 name 11682 label 11683 placeholder 11684 required 11685 helpText 11686 optionsCollection { 11687 items { 11688 ... on DropdownFieldOption { 11689 ...ContentfulSysId 11690 key 11691 value 11692 } 11693 } 11694 } 11695 error { 11696 json 11697 } 11698 } 11699 ... on RadioSelectField { 11700 ...ContentfulSysId 11701 name 11702 helpText 11703 label 11704 required 11705 error { 11706 json 11707 } 11708 optionsCollection { 11709 items { 11710 ... on DropdownFieldOption { 11711 ...ContentfulSysId 11712 key 11713 value 11714 } 11715 } 11716 } 11717 initialOption { 11718 ... on DropdownFieldOption { 11719 ...ContentfulSysId 11720 key 11721 value 11722 } 11723 } 11724 shouldResetToInitial 11725 } 11726 } 11727 } 11728 } 11729 ${G} 11730`,Xte=F` 11731 fragment ExtraParametersFormFeatureAll on ExtraParametersFormFeature { 11732 ...ContentfulSysId 11733 utmCampaignFieldName 11734 utmContentFieldName 11735 utmMediumFieldName 11736 utmSourceFieldName 11737 utmTermFieldName 11738 urlPathFieldName 11739 gclidFieldName 11740 blizzardClientIdFieldName 11741 blizzardWebSessionIdFieldName 11742 } 11743 ${G} 11744`,Gv={all:F` 11745 fragment FormAll on Form { 11746 ...ContentfulSysId 11747 endpoint 11748 redirectUrl 11749 responseType 11750 redirectTimeout 11751 submitText 11752 submitSuccessText 11753 analytics { 11754 ...AnalyticsAll 11755 } 11756 persistFieldEdits 11757 prepopulatePerQueryParams 11758 # limit raised to 20 for avalon form use case 11759 rowsCollection(limit: 20) { 11760 items { 11761 ...FormRowAll 11762 } 11763 } 11764 # current expected case is a 0-1 features, but this way we can accommodate future cases w/ minimal effort 11765 additionalFeaturesCollection(limit: 5) { 11766 items { 11767 ... on ExtraParametersFormFeature { 11768 ...ExtraParametersFormFeatureAll 11769 } 11770 } 11771 } 11772 } 11773 ${Yte} 11774 ${Xte} 11775 ${G} 11776 ${Zt.all} 11777 `},Xg={shallow:F` 11778 query FormQuery($preview: Boolean!, $locale: String!, $id: String!) { 11779 form(preview: $preview, locale: $locale, id: $id) { 11780 ...ContentfulSysId 11781 } 11782 } 11783 ${G} 11784 `,all:F` 11785 query FormQuery($preview: Boolean!, $locale: String!, $id: String!) { 11786 form(preview: $preview, locale: $locale, id: $id) { 11787 ...FormAll 11788 } 11789 } 11790 ${Gv.all} 11791 `};var Kc=e=>{let{data:t}=de(Xg.all,{variables:{id:e.sys.id}});return t?.form?i(Yg,{...t.form}):null};Kc.displayName="Form";var _l="select_";var Jte={ByDate:"By Date",Unsorted:"Unsorted"},Jg=Jte.ByDate;var WH=T(Sa());var qH=T(E());var Zg="https://images.ctfassets.net/kp51zybwznx4/120IJvdruE5HeC9XBYjFiU/879b8f63bde0d27c0750ade94c4b1a39/Default_Gallery_Image.png",ef="Snap Inc.",OH={day:"2-digit",month:"short",year:"numeric",timeZone:"UTC"},GH={day:"2-digit",month:"2-digit",year:"2-digit",timeZone:"UTC"},zH=[360,450],Zte=zH.map(e=>`${e}px`).join(", "),tf=e=>({sizeToUrl:zH.map(t=>({size:`${t}w`,settings:{height:t,quality:e}})),sizes:`(max-width: ${Io}px) ${Zte}`});var of=T(E());var eoe="ar-EG-u-nu-latn";function Zn(){let{currentLocale:e}=(0,of.useContext)(oe);return{formatDate:(0,of.useCallback)((o,n)=>{if(!o)return"";let a=e.startsWith("ar")?eoe:e;return new Intl.DateTimeFormat(a,n).format(new Date(o))},[e])}}var toe=180,ooe=280,UH=c` 11792 height: ${toe}px; 11793 11794 ${V} { 11795 height: ${ooe}px; 11796 } 11797`;var zv=({analytics:e,date:t,label:o,media:n,showDates:a,showDescriptions:s,showMedia:l=!0,slugReference:p,sys:d,title:u,url:y,isHeroTile:m=!1,eyebrowText:g})=>{let{formatDate:f}=Zn(),b=(0,qH.useContext)(Se).elementLocation,{getImageSources:S}=ve(),C=y??(p?.slug?`/${p.slug}`:void 0),I=()=>{C&&fe({eventAction:"Click",eventCategory:"Summary Card",eventLabel:e?.label?`${e.label} - ${C}`:C,context:{elementText:u?.json?(0,WH.documentToPlainTextString)(u.json):void 0,targetUrl:C,elementLocation:b}}
11797)},{imageSource:k,imageAltText:v}=Ve(n?.media),{imageSource:w}=Ve(n?.mobileMedia);k||(k=Zg,v=ef);let _=Ja[n?.quality??"Standard"],D={size:tf(_)},M=$e({desktop:S(k,D),mobile:S(w,D)}),{contentfulDescriptionDataset:A,titleDataset:N,labelDataset:$,mediaDataset:B,dateDataset:L}=Re({entryId:d.id,fieldIds:["title","label","date","media","contentfulDescription"]}),H=n?.stickersCollection?.items?.map(z=>({imgSrcs:S(z?.asset?.url),position:z?.position,rotation:z?.rotation}));return i(zp,{onClick:I,title:jt(u),description:Vi(o),imgSrcs:M,imgAltText:v,link:C,showDate:a,showDescription:s,showMedia:l,date:f(t,OH),dateTime:t?new Date(t):void 0,dataset:A,titleDataset:N,descriptionDataset:$,mediaDataset:B,dateDataset:L,className:h({[UH]:m}),eyebrowText:g,stickers:H},d.id)};zv.displayName="SummaryCard";var ri={immersiveScrollBlockTile:F` 11798 fragment ImmersiveScrollBlockTile on Tile { 11799 ...ContentfulSysId 11800 title { 11801 json 11802 } 11803 label { 11804 json 11805 } 11806 media { 11807 __typename 11808 ... on Video { 11809 ...VideoAll 11810 } 11811 ... on Image { 11812 ...ImageAll 11813 } 11814 } 11815 slugReference { 11816 ...ContentfulSysId 11817 slug 11818 unlistedCriteria { 11819 ...CriteriaAll 11820 } 11821 } 11822 } 11823 ${ze.all} 11824 ${yt.all} 11825 ${eo} 11826 ${G} 11827 `,all:F` 11828 fragment TileAll on Tile { 11829 ...ContentfulSysId 11830 title { 11831 json 11832 } 11833 label { 11834 json 11835 } 11836 media { 11837 __typename 11838 ... on Video { 11839 ...VideoAll 11840 } 11841 ... on Image { 11842 ...ImageAll 11843 } 11844 } 11845 date 11846 secondaryMedia { 11847 ...ImageAll 11848 } 11849 imageSize 11850 imageFit 11851 url 11852 contentfulMetadata { 11853 tags { 11854 id 11855 } 11856 } 11857 analytics { 11858 ...AnalyticsAll 11859 } 11860 slugReference { 11861 ...ContentfulSysId 11862 slug 11863 unlistedCriteria { 11864 ...CriteriaAll 11865 } 11866 } 11867 brand 11868 } 11869 ${Zt.all} 11870 ${ze.all} 11871 ${yt.all} 11872 ${eo} 11873 ${G} 11874 `},QH={shallow:F` 11875 query TileQuery($preview: Boolean!, $locale: String!, $id: String!) { 11876 tile(preview: $preview, locale: $locale, id: $id) { 11877 ...ContentfulSysId 11878 } 11879 } 11880 ${G} 11881 `,all:F` 11882 query TileQuery($preview: Boolean!, $locale: String!, $id: String!) { 11883 tile(preview: $preview, locale: $locale, id: $id) { 11884 ...TileAll 11885 } 11886 } 11887 ${ri.all} 11888 `};var nf=F` 11889 fragment TopicAll on Topic { 11890 ...ContentfulSysId 11891 topicId 11892 displayText 11893 linksTo 11894 } 11895 ${G} 11896`;var noe=F` 11897 fragment GalleryDropdownAll on GalleryDropdown { 11898 ...ContentfulSysId 11899 title 11900 matchAllOptionsTitle 11901 dropdownItemsCollection { 11902 items { 11903 ... on Topic { 11904 ...TopicAll 11905 } 11906 } 11907 } 11908 queryParamKey 11909 } 11910 ${G} 11911 ${nf} 11912`,roe=F` 11913 fragment BrandImageAll on BrandImage { 11914 ...ContentfulSysId 11915 brand 11916 image { 11917 ...ImageAll 11918 } 11919 } 11920 ${G} 11921 ${ze.all} 11922`,aoe=F` 11923 fragment GalleryFragment on Gallery { 11924 ...ContentfulSysId 11925 dropdownsCollection(limit: 5) { 11926 total 11927 items { 11928 ... on GalleryDropdown { 11929 ...GalleryDropdownAll 11930 } 11931 } 11932 } 11933 sortBy 11934 showDates 11935 showMedia 11936 showDescriptions 11937 defaultImage { 11938 ...ImageAll 11939 } 11940 brandDefaultImagesCollection(limit: 4) { 11941 items { 11942 ... on BrandImage { 11943 ...BrandImageAll 11944 } 11945 } 11946 } 11947 emptyPlaceholder
11948 loadMoreCtaCopy 11949 mobileFiltersWrapperText 11950 clearFiltersCtaCopy 11951 itemsPerPage 11952 hidePagination 11953 hideFilters 11954 galleryType 11955 } 11956 ${G} 11957 ${noe} 11958 ${roe} 11959 ${ze.all} 11960`,rf=F` 11961 query GalleryQuery($preview: Boolean!, $locale: String!, $id: String!) { 11962 gallery(preview: $preview, locale: $locale, id: $id) { 11963 ...GalleryFragment 11964 } 11965 } 11966 ${aoe} 11967`,af=F` 11968 query TileQuery($preview: Boolean!, $locale: String!, $ids: [String]!) { 11969 tileCollection(preview: $preview, locale: $locale, where: { sys: { id_in: $ids } }) { 11970 total 11971 items { 11972 ...TileAll 11973 } 11974 } 11975 } 11976 ${ri.all} 11977`;var KH=c` 11978 margin-left: auto; 11979 margin-right: auto; 11980 margin-top: ${r("--spacing-m")}; 11981 margin-bottom: ${r("--spacing-m")}; 11982 scroll-margin-top: var(${Ht}); 11983 width: 100%; 11984`,sf=c` 11985 text-align: center; 11986 margin-top: ${r("--spacing-xl")}; 11987 margin-bottom: ${r("--spacing-xl")}; 11988 11989 ${fa} 11990`,dnt=c` 11991 padding-top: ${r("--spacing-xl")}; 11992 display: flex; 11993 justify-content: center; 11994`,jH=c` 11995 display: flex; 11996 flex-direction: column; 11997`,YH=c` 11998 padding-block-end: ${r("--spacing-xl")}; 11999 padding-block-start: ${r("--spacing-m")}; 12000 padding-inline: ${r("--spacing-xl")}; 12001 12002 ${V} { 12003 align-self: flex-end; 12004 padding-block: unset; 12005 padding-inline: ${r("--spacing-xxxl")}; 12006 } 12007`;var Uv=({emptyPlaceholder:e,tiles:t,emptyPlaceholderDataset:o,showDates:n,showDescriptions:a,showMedia:s,isGalleryLoading:l,defaultTileImage:p,brandDefaultTileImages:d,numberOfTiles:u})=>{let y=t?.map(b=>b.tileSysId)??[],{data:m,loading:g}=de(af,{variables:{ids:y}}),f=m?.tileCollection?.items.slice().sort((b,S)=>y.indexOf(b.sys.id)-y.indexOf(S.sys.id));return l||g?i(my,{children:Array.from({length:u??12}).map((b,S)=>i(Gp,{},`skeleton-summary-card-${S}`))}):i(se,{children:f?.length?i(my,{children:f.map(b=>{let S=b.brand?d?.find(C=>C?.brand===b.brand)?.image:void 0;return i(zv,{showDates:n,showDescriptions:a,showMedia:s,...b,media:b.media??S??p},b.sys.id)})}):i("div",{"data-testid":"mwp-gallery-placeholder",className:sf,children:i("p",{...te(o),children:e})})})};Uv.displayName="LazyTiles";var lf=(e,t=!1)=>{if(e)return e.map(({matchAllOptionsTitle:o,dropdownItemsCollection:n,queryParamKey:a,title:s,sys:l})=>{let{contentfulDescriptionDataset:p}=Re({entryId:l.id,fieldIds:["contentfulDescription"]});return{title:s,id:t?`${_l}${ya(a)}`:`${ya(a)}`,allItemTitle:o,items:n.items.map(({displayText:d,topicId:u})=>({title:d,id:u})).sort((d,u)=>d.title.localeCompare(u.title)),dataset:p}})};var wl={all:F` 12008 fragment BlockHeroAll on BlockHero { 12009 ...ContentfulSysId 12010 header { 12011 json 12012 } 12013 eyebrow 12014 title { 12015 json 12016 links { 12017 entries { 12018 inline { 12019 ...ContentfulSysId 12020 ... on EmphasizedText { 12021 ...EmphasizedTextAll 12022 } 12023 } 12024 } 12025 } 12026 } 12027 subTitle { 12028 json 12029 } 12030 body { 12031 json 12032 } 12033 callsToActionCollection(limit: 3) { 12034 items { 12035 ... on CallToAction { 12036 ...CallToActionAll 12037 } 12038 } 12039 } 12040 foreground { 12041 __typename 12042 ... on Image { 12043 ...ImageAll 12044 } 12045 ... on Video { 12046 ...VideoAll 12047 } 12048 ... on CarouselV3 { 12049 ...ContentfulSysId 12050 } 12051 ... on SnapchatEmbed { 12052 ...SnapchatEmbedAll 12053 } 12054 } 12055 backgroundMediaLayout 12056 backgroundMediaV2 { 12057 __typename 12058 ... on Video { 12059 ...VideoAll 12060 } 12061 ... on Image { 12062 ...ImageAll 12063 } 12064 } 12065 headerMediaV2 { 12066 __typename 12067 ... on Image { 12068 ...ImageAll 12069 } 12070 } 12071 mediaWrap 12072 isHeaderDate 12073 theme 12074 brandBackgroundColor 12075 backgroundColor 12076 textAlign 12077 textAlignMobile 12078 verticalTextAlign 12079 fitWindow 12080 curtainOpacityPercentage 12081 useLatestPost 12082 showMediaMobile 12083 anchorId 12084 size 12085 showScrollButton 12086 displayTopics 12087 increaseTitleFontSize 12088 } 12089 ${nt} 12090 ${yt.all} 12091 ${ze.all} 12092 ${kt.all} 12093 ${Bc} 12094 ${Xa} 12095 `},XH=F` 12096 query BlockHeroQuery($preview: Boolean!, $locale: String!, $id: String!) { 12097 blockHero(preview: $preview, locale: $locale, id: $id) { 12098 ...BlockHeroAll 12099 } 12100 } 12101 ${wl.all} 12102`;var Dl=F` 12103 fragment PageAssetAll on PageAsset { 12104 ...ContentfulSysId 12105 media { 12106 ...AssetAll 12107 } 12108 } 12109 ${Mn} 12110 ${G} 12111`;var ioe=F` 12112 fragment PageCategoryTitle on Page { 12113 ...ContentfulSysId 12114 title 12115 category { 12116 ...ContentfulSysId 12117 title 12118 } 12119 } 12120 ${G} 12121`,pf=F` 12122 query LatestPostBlockQuery($preview: Boolean!, $locale: String!, $id: String!) { 12123 latestPosts(preview: $preview, locale: $locale, id: $id) { 12124 ...ContentfulSysId 12125 title 12126 maxPosts
12127 brandBackgroundColor 12128 backgroundColor 12129 cta { 12130 ...ContentfulSysId 12131 } 12132 anchorId 12133 } 12134 slugCollection( 12135 preview: $preview 12136 locale: $locale 12137 limit: 4 12138 order: postedDate_DESC 12139 where: { AND: [{ slugType_contains: "Blog" }, { slug_not: "home" }] } 12140 ) { 12141 items { 12142 sys { 12143 id 12144 firstPublishedAt 12145 } 12146 __typename 12147 slug 12148 postedDate 12149 author { 12150 ...ContentfulSysId 12151 name 12152 position 12153 slug 12154 } 12155 page { 12156 ...PageAssetAll 12157 ...ExperimentOnPageLoadingPageCategoryTitle 12158 } 12159 } 12160 } 12161 } 12162 ${G} 12163 ${ei("Page","PageCategoryTitle",ioe)} 12164 ${Dl} 12165`;var Wv=e=>{let{formatDate:t}=Zn(),{decideExperiment:o}=rn(),{data:n}=de(pf,{variables:{id:e.sys.id}}),a=tt(n?.latestPosts?.brandBackgroundColor);if(!n)return null;let{latestPosts:{title:s,maxPosts:l,backgroundColor:p,cta:d,anchorId:u},slugCollection:y}=n,m=Math.min(l,y.items.length),g=Array(m).fill(0).map((b,S)=>{let C=y.items[S],I=t(C.postedDate?C.postedDate:C.sys.firstPublishedAt,{month:"long",day:"2-digit",year:"numeric",weekday:"long"}),k=C.author&&i(Fn,{id:"authorByline",values:{author:C.author.name},defaultMessage:"By <b>{author}</b>"}),v=I&&i(Fn,{id:"postedOn",values:{date:I},defaultMessage:"on {date}"});if(C.page.__typename==="PageAsset")return{title:i(Qn,{href:C.slug,children:C.page?.media?.title},C.slug),author:k,date:v};if(C.page.__typename==="Page"||C.page.__typename==="Experiment"){let{decision:w}=o(C.page,{logImpression:!1});return{title:i(Ic,{to:C.slug,children:w.title},C.slug),author:k,date:v,category:w.category?.title}}throw new Error("Unknown page type.")}),f=d&&i(ft,{...d},d.sys.id);return i(NF,{anchorId:u,title:s,items:g,cta:f,motifScheme:a,backgroundColor:p,preChildren:e.preChildren,postChildren:e.postChildren})};Wv.displayName="LatestPostBlock";var JH=T(E());var qv=e=>{let t=(0,JH.useContext)(Se).elementLocation,{getBestBgImgSrc:o,getImageSources:n}=ve(),{tilesCollection:a,columns:s,mobileColumns:l,filtersCollection:p}=e,d=a.items.map(({video:y,preview:m,thumbnail:g,filtersCollection:f,analytics:b,...S})=>{let C=n(g.url,{image:{width:768}}),I=b?.label??S.sys.id,k="MosaicTile";return{...S,onClose:()=>fe({eventAction:"Close",eventCategory:k,eventLabel:I,context:{elementText:I,elementLocation:t}}),onOpen:()=>fe({eventAction:"Open",eventCategory:k,eventLabel:I,context:{elementText:I,elementLocation:t}}),onEnter:()=>fe({eventAction:"Enter",eventCategory:k,eventLabel:I,context:{elementText:I,elementLocation:t}}),onLeave:()=>fe({eventAction:"Leave",eventCategory:k,eventLabel:I,context:{elementText:I,elementLocation:t}}),filters:f?.items?.map(v=>v.sys.id),poster:{src:C?.default,srcSet:C?.defaultSrcSet},video:y?Sg(y,o):void 0,preview:m?Sg(m,o):void 0}}),u=p.items?.map(({sys:y,isAll:m,...g})=>({id:m?"":y.id,...g}));return i(Uh,{tiles:d,columns:s,mobileColumns:l,filters:u})};qv.displayName="Mosaic";var soe={all:F` 12166 fragment MosaicAll on Mosaic { 12167 ...ContentfulSysId 12168 columns 12169 mobileColumns 12170 filtersCollection(limit: 20) { 12171 items { 12172 ...ContentfulSysId 12173 ... on MosaicFilters { 12174 ...ContentfulSysId 12175 text 12176 icon 12177 isAll 12178 } 12179 } 12180 } 12181 tilesCollection(limit: 100) { 12182 items { 12183 ...ContentfulSysId 12184 ... on MosaicTile { 12185 ...ContentfulSysId 12186 analytics { 12187 ...AnalyticsAll 12188 } 12189 title 12190 highlight 12191 showOverlay 12192 duration 12193 columns 12194 mobileColumns 12195 rows 12196 mobileRows 12197 preview { 12198 ...VideoAll 12199 } 12200 video { 12201 ...VideoAll 12202 } 12203 thumbnail { 12204 url 12205 contentType 12206 } 12207 filtersCollection(limit: 50) { 12208 items { 12209 ...ContentfulSysId 12210 } 12211 } 12212 } 12213 } 12214 } 12215 } 12216 ${Zt.all} 12217 ${yt.all} 12218 ${G} 12219 `},cf={shallow:F` 12220 query MosaicQuery($preview: Boolean!, $locale: String!, $id: String!) { 12221 mosaic(preview: $preview, locale: $locale, id: $id) { 12222 ...ContentfulSysId 12223 } 12224 } 12225 ${G} 12226 `,all:F` 12227 query MosaicQuery($preview: Boolean!, $locale: String!, $id: String!) { 12228 mosaic(preview: $preview, locale: $locale, id: $id) { 12229 ...MosaicAll 12230 } 12231 } 12232 ${soe.all} 12233 `};var loe={all:F` 12234 fragment MultiVideoBlockAll on MultiVideoBlock { 12235 ...ContentfulSysId 12236 anchorId 12237 panelPosition 12238 primaryVideosCollection(limit: 10) { 12239 items { 12240 ... on Video { 12241 ...VideoAll 12242 } 12243 } 12244 } 12245 secondaryVideosCollection(limit: 10) { 12246 items { 12247 ... on Video { 12248 ...VideoAll 12249 } 12250 } 12251 } 12252 mobilePrimaryVideosCollection(limit: 10) { 12253 items { 12254 ... on Video { 12255 ...VideoAll 12256 } 12257 } 12258 } 12259 mobileSecondaryVideosCollection(limit: 10) { 12260 items { 12261 ... on Video { 12262 ...VideoAll 12263 } 12264 } 12265 } 12266 } 12267 ${yt.all} 12268 ${G} 12269 `},df=F` 12270 query MultiVideoBlockQuery($preview: Boolean!, $locale: String!, $id: String!) { 12271 multiVideoBlock(preview: $preview, locale: $locale, id: $id) { 12272 ...MultiVideoBlockAll 12273 } 12274 } 12275 ${loe.all} 12276`;var Qv=F` 12277 fragment SplitBlockAll on SplitBlock { 12278 ...ContentfulSysId 12279 callsToActionCollection(limit: 2) { 12280 items { 12281 ... on CallToAction { 12282 ...CallToActionAll 12283 } 12284 } 12285 } 12286 splitBlockTitle: title 12287 splitBlockSubtitle: subtitle 12288 splitBlockBody: body { 12289 json 12290 } 12291 textAlignment 12292 textAlignmentMobile 12293 verticalTextAlignment 12294 media { 12295 __typename 12296 ... on Video { 12297 ...VideoAll 12298 } 12299 ... on Image { 12300 ...ImageAll 12301 } 12302 } 12303 mediaCaption 12304 mediaDirection
12305 brandBackgroundColor 12306 backgroundColor 12307 fitWindow 12308 anchorId 12309 } 12310 ${G} 12311 ${nt} 12312 ${ze.all} 12313 ${yt.all} 12314`,ZH=F` 12315 query SplitBlockQuery($preview: Boolean!, $locale: String!, $id: String!) { 12316 splitBlock(preview: $preview, locale: $locale, id: $id) { 12317 ...SplitBlockAll 12318 } 12319 } 12320 ${Qv} 12321`;var Kv=F` 12322 fragment SubNavigationAll on SubNavigation { 12323 ...ContentfulSysId 12324 brandBackgroundColor 12325 backgroundColor 12326 subNavigationItemsCollection { 12327 items { 12328 ...ContentfulSysId 12329 text 12330 anchorId 12331 } 12332 } 12333 } 12334 ${G} 12335`,eV=F` 12336 query SubNavigationQuery($preview: Boolean!, $locale: String!, $id: String!) { 12337 subNavigation(preview: $preview, locale: $locale, id: $id) { 12338 ...SubNavigationAll 12339 } 12340 } 12341 ${Kv} 12342`;var poe={all:F` 12343 fragment TabsAll on Tabs { 12344 ...ContentfulSysId 12345 itemsCollection(limit: 10) { 12346 items { 12347 ...ContentfulSysId 12348 title 12349 contentsCollection(limit: 10) { 12350 items { 12351 ...ContentfulSysId 12352 } 12353 } 12354 maxColumns 12355 } 12356 } 12357 } 12358 ${G} 12359 `},uf={shallow:F` 12360 query TabsShallowQuery($preview: Boolean!, $locale: String!, $id: String!) { 12361 tabs(preview: $preview, locale: $locale, id: $id) { 12362 ...ContentfulSysId 12363 } 12364 } 12365 ${G} 12366 `,all:F` 12367 query TabsQuery($preview: Boolean!, $locale: String!, $id: String!) { 12368 tabs(preview: $preview, locale: $locale, id: $id) { 12369 ...TabsAll 12370 } 12371 } 12372 ${poe.all} 12373 `};var tV=T(E());var jc=e=>{let{data:t}=de(vg.all,{variables:{id:e.sys.id}});return t?.content?i(Hc,{...t.content}):null};jc.displayName="ContentShallow";var jv=e=>{let{data:t}=de(uf.all,{variables:{id:e.sys.id}}),o=(0,tV.useContext)(Se).elementLocation;if(!t||!t.tabs)return null;let{itemsCollection:n}=t.tabs,a=l=>{fe({eventAction:"Click",eventCategory:"Tab",eventLabel:`tab:${l}`,context:{elementLocation:o,elementText:n?.items[l]?.title}})},s=n.items.map(l=>{let p=l.contentsCollection?l.contentsCollection.items.map(u=>{let y=u.sys.id;return u.__typename==="Form"?i(Kc,{...u},y):i(jc,{...u},y)}):[];return{text:l.title,content:p,maxColumns:l.maxColumns}});return i(h$,{items:s,onSelectTab:a})};jv.displayName="Tabs";var oV=T(E());var coe=jo(()=>import("./chunks/LazyBarChart-ZBJ6R6GN.mjs").then(e=>({default:e.BarChart}))),nV=e=>{let{chartData:t,yAxis:o,xAxes:n,stackKey:a,filters:s,width:l,height:p,hideXAxisLabels:d,hideYAxisLabels:u,hideXPercentLabels:y,hideLegend:m,chartTitle:g,dataColors:f,showAsPercent:b,numberOfDecimalPlaces:S}=e,{isRTL:C}=(0,oV.useContext)(oe);if(!t)return null;let I=Ca(t);return i(Eo,{fallbackElement:i(Do,{}),children:i(coe,{chartTitle:g,width:l,height:p??0,yAxis:o,xAxes:n,stackKey:a,filters:s,hideXAxisLabels:d,hideYAxisLabels:u,hideXPercentLabels:y,showAsPercent:b??!0,numberOfDecimalPlaces:S??1,hideLegend:m??!0,data:I,dataColors:f||["#A05CCC","#FEFC01","#3EDB9A","#3BB2F7"],isRTL:C})})};var Yv=F` 12374 fragment SeriesAll on Series { 12375 ...ContentfulSysId 12376 schema 12377 headerNames 12378 localizableProperties 12379 } 12380`,Nr=F` 12381 fragment ChartDataAll on ChartData { 12382 ...ContentfulSysId 12383 seriesName { 12384 ...SeriesAll 12385 } 12386 label 12387 data 12388 localizedData 12389 } 12390 ${G} 12391 ${Yv} 12392`;var Xv={all:F` 12393 fragment BarChartAll on BarChart { 12394 ...ContentfulSysId 12395 chartTitle 12396 chartData { 12397 ...ChartDataAll 12398 } 12399 yAxis 12400 xAxes 12401 stackKey 12402 filters 12403 width 12404 height 12405 hideXAxisLabels 12406 hideYAxisLabels 12407 hideXPercentLabels 12408 showAsPercent 12409 numberOfDecimalPlaces 12410 hideLegend 12411 dataColors 12412 } 12413 ${G} 12414 ${Nr} 12415 `,withTitle:F` 12416 fragment BarChartWithTitle on BarChart { 12417 ...ContentfulSysId 12418 chartTitle 12419 } 12420 ${G} 12421 `},yf={shallow:F` 12422 query barChartEntryQuery($preview: Boolean!, $locale: String!, $id: String!) { 12423 barChart(preview: $preview, locale: $locale, id: $id) { 12424 ...ContentfulSysId 12425 } 12426 } 12427 ${G} 12428 `,all:F` 12429 query barChartEntryQuery($preview: Boolean!, $locale: String!, $id: String!) { 12430 barChart(preview: $preview, locale: $locale, id: $id) { 12431 ...BarChartAll 12432 } 12433 } 12434 ${Xv.all} 12435 `};var Pl=e=>{let t=ao(e)?e.sys.id:void 0,{data:o,loading:n}=de(yf.all,{skip:!t,variables:{id:t}});if(n)return i(Do,{});if(!o)return null;let a=e.chartDataOverride??o.barChart.chartData,s=e.xAxesOverride??o.barChart.xAxes;return i(nV,{...o.barChart,chartData:a,xAxes:s})};var sV=T(E());var Nl=T(E());var doe=jo(async()=>import("./chunks/LazyGeoMap-EEQK6QXJ.mjs").then(e=>({default:e.GeoMap}))),uoe="https://storage.googleapis.com/snap-design-system-marketing/world-topo.json",rV=e=>{let{chartTitle:t,chartData:o,width:n,countryCodeKey:a,valueKey:s,dataScalingMethod:l}=e,[p,d]=(0,Nl.useState)(),{currentLocale:u}=(0,Nl.useContext)(oe);if((0,Nl.useEffect)(()=>{async function m(){let f=await(await wn(uoe)).json();d(f)}m().catch(g=>Be({component:"GeoVisualization",error:g}))},[]),!p||!o||!s)return null;let y=Ca(o);return i(Eo,{fallbackElement:i(Do,{}),children:i(doe,{width:n,data:y,fieldMetadata:{key:s,title:o.seriesName.headerNames?.[s]??s},countryFieldKey:a,chartTitle:t,topoData:p,locale:u,scaleMode:l})})};var mf={all:F` 12436 fragment GeoMapAll on GeoVisualization { 12437 ...ContentfulSysId 12438 chartTitle 12439 chartData { 12440 ...ChartDataAll 12441 } 12442 dataScalingMethod 12443 countryCodeKey 12444 valueKey 12445 } 12446 ${G} 12447 ${Nr} 12448 `,subset:F` 12449 fragment GeoMapSubset on GeoVisualization { 12450 ...ContentfulSysId 12451 countrySelectorFields 12452 } 12453 ${G} 12454 `,withTitle:F` 12455 fragment GeoMapWithTitle on GeoVisualization { 12456 ...ContentfulSysId 12457 chartTitle 12458 } 12459 ${G} 12460 `},gf={shallow:F` 12461 query geoMapEntryQuery($preview: Boolean!, $locale: String!, $id: String!) { 12462 geoVisualization(preview: $preview, locale: $locale, id: $id) { 12463 ...ContentfulSysId 12464 } 12465 } 12466 ${G} 12467 `,all:F` 12468 query geoMapEntryQuery($preview: Boolean!, $locale: String!, $id: String!) { 12469 geoVisualization(preview: $preview, locale: $locale, id: $id) { 12470 ...GeoMapAll 12471 } 12472 } 12473 ${mf.all} 12474 `,subset:F` 12475 query geoMapEntryQuery($preview: Boolean!, $id: String!) { 12476 geoVisualization(preview: $preview, id: $id) { 12477 ...GeoMapSubset 12478 } 12479 } 12480 ${mf.subset} 12481 `};var El=e=>{let t=ao(e)?e.sys.id:void 0,{data:o,loading:n}=de(gf.all,{skip:!t,variables:{id:t}});if(n)return i(Do,{});if(!o)return null;let a=e.chartDataOverride??o.geoVisualization.chartData,s=e.valueKeyOverride??o.geoVisualization.valueKey;return i(rV,{...o.geoVisualization,width:e.width,chartTitle:e.chartTitle,chartData:a,valueKey:s})};var yoe=jo(()=>import("./chunks/LazyLineChart-FPNKXAIV.mjs").then(e=>({default:e.LineChart}))),moe=(e,t)=>{let o={x:{},y:{}};for(let n of e)o.x[n]=a=>a[t],o.y[n]=a=>a[n];return o},aV=e=>{let{chartData:t,curve:o,xKey:n,yKeys:a,chartTitle:s}=e;if(!t)return null;let l=Ca(t);return i(Eo,{fallbackElement:i(Do,{}),children:i(yoe,{data:l,accessors:moe(a,n),chartTitle:s,curve:o,yKeys:a})})};var Jv={all:F` 12482 fragment LineChartAll on LineChart { 12483 ...ContentfulSysId 12484 chartTitle 12485 chartData { 12486 ...ChartDataAll 12487 } 12488 xKey 12489 yKeys 12490 curve 12491 } 12492 ${G} 12493 ${Nr} 12494 `,withTitle:F` 12495 fragment LineChartWithTitle on LineChart { 12496 ...ContentfulSysId 12497 chartTitle 12498 } 12499 ${G} 12500 `}
12500,ff={shallow:F` 12501 query lineChartEntryQuery($preview: Boolean!, $locale: String!, $id: String!) { 12502 lineChart(preview: $preview, locale: $locale, id: $id) { 12503 ...ContentfulSysId 12504 } 12505 } 12506 ${G} 12507 `,all:F` 12508 query lineChartEntryQuery($preview: Boolean!, $locale: String!, $id: String!) { 12509 lineChart(preview: $preview, locale: $locale, id: $id) { 12510 ...LineChartAll 12511 } 12512 } 12513 ${Jv.all} 12514 `};var Rl=e=>{let t=ao(e)?e.sys.id:void 0,{data:o,loading:n}=de(ff.all,{skip:!t,variables:{id:t}});if(n)return i(Do,{});if(!o)return null;let a=e.chartDataOverride??o.lineChart.chartData,s=e.yKeysOverride??o.lineChart.yKeys;return i(aV,{...o.lineChart,chartData:a,yKeys:s})};var Zv={all:F` 12515 fragment TableVisualizationAll on TableVisualization { 12516 ...ContentfulSysId 12517 chartTitle 12518 chartData { 12519 ...ChartDataAll 12520 } 12521 tableColumns 12522 enableSearch 12523 initialRowCount 12524 } 12525 ${G} 12526 ${Nr} 12527 `,withTitle:F` 12528 fragment TableVisualizationWithTitle on TableVisualization { 12529 ...ContentfulSysId 12530 chartTitle 12531 } 12532 ${G} 12533 `},bf={shallow:F` 12534 query tableVisualizationEntryQuery($preview: Boolean!, $locale: String!, $id: String!) { 12535 tableVisualization(preview: $preview, locale: $locale, id: $id) { 12536 ...ContentfulSysId 12537 } 12538 } 12539 ${G} 12540 `,all:F` 12541 query tableVisualizationEntryQuery($preview: Boolean!, $locale: String!, $id: String!) { 12542 tableVisualization(preview: $preview, locale: $locale, id: $id) { 12543 ...TableVisualizationAll 12544 } 12545 } 12546 ${Zv.all} 12547 `};var Sf=T(E());var goe="date",foe=jo(()=>import("./chunks/LazyTable-CUCMLWJR.mjs").then(e=>({default:e.Table}))),boe=(e,t,o,n)=>{let a=e.schema.items.properties;if(!a)throw new Error("Series schema is malformed!");let s=t[o],l=a[o].type,p=a[o].format;return l==="integer"||l==="number"?s.toLocaleString(n):p===goe?s.toLocaleDateString(n):s},Soe=(e,t,o)=>{let n=t.schema.items.properties,a=Object.keys(n);if(a.length!==e?.length)throw new Error("The number of table columns must equal the number of properties on the schema!");if(!a.every(l=>e.includes(l)))throw new Error("Table columns and schema properties do not match!");return e.map(l=>{let p=l;return t.headerNames?.[l]&&(p=t.headerNames[l]),{Header:p,accessor:d=>boe(t,d,l,o)}})},iV=e=>{let{chartData:t,tableColumns:o,enableSearch:n,initialRowCount:a}=e,{currentLocale:s}=(0,Sf.useContext)(oe),[l,p]=(0,Sf.useState)();if(!t)return null;let d,u;try{d=Ca(t),u=Soe(o,t.seriesName,s)}catch(y){l||(p(y),Pe.logError({component:"Table",error:y}))}return l&&O.deploymentType!=="production"?x("section",{children:[i("h5",{children:"Table Visualization Error"}),i("p",{children:`Error: ${l.message}`}),i("p",{children:`Entry id: ${e.id}`})]}):i(Eo,{fallbackElement:i(Do,{}),children:i(foe,{data:d,columns:u,searchable:n,initialRowCount:a})})};var Fl=e=>{let t=ao(e)?e.sys.id:void 0,{data:o,loading:n}=de(bf.all,{skip:!t,variables:{id:t}});if(n)return i(Do,{});if(!o)return null;let a=e.chartDataOverride??o.tableVisualization.chartData;return i(iV,{...o.tableVisualization,chartData:a,id:t})};var hf=F` 12548 query ChartToggleQuery($preview: Boolean!, $locale: String!, $id: String!) { 12549 chartToggle(preview: $preview, locale: $locale, id: $id) { 12550 ...ContentfulSysId 12551 label 12552 itemsCollection(limit: 10) { 12553 items { 12554 ...ContentfulSysId 12555 analytics { 12556 ...AnalyticsAll 12557 } 12558 title 12559 contentsCollection(limit: 10) { 12560 items { 12561 ... on Entry { 12562 ...ContentfulSysId 12563 } 12564 } 12565 total 12566 } 12567 } 12568 } 12569 } 12570 } 12571 ${G} 12572 ${Zt.all} 12573`;var lV=e=>{switch(e.__typename){case"ChartToggle":return i(Yc,{...e});case"BarChart":return i(Pl,{...e});case"LineChart":return i(Rl,{...e});case"GeoVisualization":return i(El,{...e});case"TableVisualization":return i(Fl,{...e});default:return console.error(`\u{1F4D9} Unknown chart type: ${e.__typename} with id: ${e.sys.id}`),i(se,{children:"\u{1F4D9}"})}};lV.displayName="Chart";var Yc=e=>{let o=It().useChartDropdownToggle==="true",{data:n,loading:a}=de(hf,{variables:{id:e.sys.id}}),s=(0,sV.useContext)(Se).elementLocation;if(!n&&!o)return null;
12573let l=n?.chartToggle.itemsCollection.items.map(({analytics:p,title:d,contentsCollection:u,sys:{id:y}})=>{let m=p?.label??y;return{onToggle:()=>fe({eventAction:"Open",eventCategory:"ChartToggle",eventLabel:m,context:{elementLocation:s}}),title:d,content:u.items.map(f=>i(lV,{...f},f.sys.id))}});return o?i(X$,{items:l??[],label:n?.chartToggle.label??"",isLoading:a}):i(K$,{items:l??[]})};Yc.displayName="ChartToggle";var eI=e=>It().useChartDropdownToggle==="true"?i(J$,{children:i(Yc,{...e})}):i(Yc,{...e});eI.displayName="ChartToggleWrapper";var Bl=T(E());var hoe={all:F` 12574 fragment VisualizationSelectorAll on VisualizationSelector { 12575 ...ContentfulSysId 12576 chartTitle 12577 visualizationsCollection { 12578 items { 12579 ... on BarChart { 12580 ...BarChartWithTitle 12581 } 12582 ... on LineChart { 12583 ...LineChartWithTitle 12584 } 12585 ... on GeoVisualization { 12586 ...GeoMapWithTitle 12587 } 12588 ... on TableVisualization { 12589 ...TableVisualizationWithTitle 12590 } 12591 } 12592 } 12593 seriesName { 12594 ...SeriesAll 12595 } 12596 chartDataCollection { 12597 items { 12598 ...ChartDataAll 12599 } 12600 } 12601 selectableFields 12602 } 12603 ${Xv.withTitle} 12604 ${Jv.withTitle} 12605 ${mf.withTitle} 12606 ${Zv.withTitle} 12607 ${Yv} 12608 ${Nr} 12609 ${G} 12610 `},Cf={shallow:F` 12611 query visualizationSelectorEntryQuery($preview: Boolean!, $locale: String!, $id: String!) { 12612 visualizationSelector(preview: $preview, locale: $locale, id: $id) { 12613 ...ContentfulSysId 12614 } 12615 } 12616 ${G} 12617 `,all:F` 12618 query visualizationSelectorEntryQuery($preview: Boolean!, $locale: String!, $id: String!) { 12619 visualizationSelector(preview: $preview, locale: $locale, id: $id) { 12620 ...VisualizationSelectorAll 12621 } 12622 } 12623 ${hoe.all} 12624 `};var Coe=jo(()=>import("./chunks/LazyMultiviz-6ADOKDYC.mjs").then(e=>({default:e.MultiVisualization}))),pV=e=>({id:e.sys.id,label:e.label??""}),cV=e=>({id:e.sys.id,title:e.chartTitle,key:e.__typename}),xoe=(e,t)=>{let o=e.filter(a=>a.seriesName.sys.id===t.sys.id),n=0;return o.map(a=>a.label?{...a,label:a.label}:(n++,{...a,label:`Unnamed Data ${n}`}))},voe=({chartTitle:e,seriesName:t,chartDataCollection:o,visualizationsCollection:n,selectableFields:a})=>{let{locale:s}=(0,Bl.useContext)(Bi),l=xoe(o.items,t),p=n.items.map(cV),d=l.map(pV),u=a?.map(v=>({key:v,title:t?.headerNames?.[v]??v})),[y,m]=(0,Bl.useState)(l[0]),[g,f]=(0,Bl.useState)(n.items[0]),[b,S]=(0,Bl.useState)(a?.[0]??void 0),C=v=>m(l.find(w=>w.sys.id===v.id)),I=v=>f(n.items.find(w=>w.sys.id===v.id)),k=v=>{if(!g||!y)return null;switch(v.key){case"TableVisualization":return i(Fl,{...g,chartDataOverride:y});case"BarChart":return i(Pl,{...g,chartDataOverride:y,xAxesOverride:b?[b]:void 0});case"LineChart":return i(Rl,{...g,chartDataOverride:y,yKeysOverride:b?[b]:void 0});case"GeoVisualization":return i(El,{...g,chartDataOverride:y,valueKeyOverride:b});default:return null}};return!y||!g?null:i(Eo,{children:i(Coe,{chartMetadataItems:d,selectedChartMetadata:pV(y),visualizationMetadataItems:p,selectedVisualizationMetadata:cV(g),visualizationTitle:e,fieldMetadataItems:u,locale:s,onDataSelected:C,onVisualizationSelected:I,onFieldSelected:v=>S(v.key),renderVisualization:k})})},dV=e=>{let t=ao(e)?e.sys.id:void 0,{data:o}=de(Cf.all,{skip:!t,variables:{id:t}});return o?i(voe,{...o.visualizationSelector}):null};var Ioe={all:F` 12625 fragment ArArkoseProtectedFormBlockAll on ArArkoseProtectedFormBlock { 12626 ...ContentfulSysId 12627 eyebrow 12628 maxColumns 12629 isNarrow 12630 anchorId 12631 showCurtain 12632 backgroundColor 12633 backgroundMedia { 12634 ...AssetAll 12635 } 12636 widthStyle 12637 title { 12638 json 12639 } 12640 titleFromEmail { 12641 json 12642 } 12643 subtitle { 12644 json 12645 } 12646 subtitleFromEmail { 12647 json 12648 } 12649 titleAlignment 12650 titleAlignmentMobile 12651 maxColumns 12652 callsToActionCollection(limit: 9) { 12653 items { 12654 ... on CallToAction { 12655 ...CallToActionAll 12656 } 12657 } 12658 } 12659 protectedForm { 12660 ... on Form { 12661 ...FormAll 12662 } 12663 } 12664 } 12665 ${G} 12666 ${Gv.all} 12667 ${nt} 12668 ${kt.all} 12669 `},xf=F` 12670 query ArArkoseProtectedFormBlockQuery($id: String!, $locale: String!) { 12671 arArkoseProtectedFormBlock(id: $id, locale: $locale) { 12672 ...ArArkoseProtectedFormBlockAll 12673 } 12674 } 12675 ${Ioe.all} 12676`;var koe={all:F` 12677 fragment ArDownloadFormBlockAll on ArDownloadFormBlock { 12678 ...ContentfulSysId 12679 title { 12680 json 12681 } 12682 supertitle { 12683 json 12684 } 12685 subtitle { 12686 json 12687 } 12688 backgroundColor 12689 backgroundMedia { 12690 ...AssetAll 12691 } 12692 backgroundMediaMobile { 12693 ...AssetAll 12694 } 12695 logo { 12696 ...AssetAll 12697 } 12698 endpoint 12699 submitText 12700 submitSuccessText 12701 successBlock { 12702 ...BlockAll 12703 } 12704 analytics { 12705 ...AnalyticsAll 12706 } 12707 eula { 12708 ...ContentfulSysId 12709 name 12710 type 12711 label 12712 richLabel { 12713 json 12714 } 12715 initialValue 12716 shouldResetToInitial 12717 placeholder 12718 required 12719 validation 12720 helpText 12721 error {
12722 json 12723 } 12724 } 12725 version { 12726 ...ContentfulSysId 12727 name 12728 type 12729 label 12730 initialValue 12731 } 12732 supportedPlatforms 12733 supportedPlatformsLabel { 12734 json 12735 } 12736 releaseNotesLinkText { 12737 json 12738 } 12739 isLatestVersion 12740 platform { 12741 ...ContentfulSysId 12742 name 12743 optionsCollection { 12744 items { 12745 ... on DropdownFieldOption { 12746 ...ContentfulSysId 12747 key 12748 value 12749 } 12750 } 12751 } 12752 initialOption { 12753 ... on DropdownFieldOption { 12754 ...ContentfulSysId 12755 key 12756 value 12757 } 12758 } 12759 shouldResetToInitial 12760 error { 12761 json 12762 } 12763 } 12764 } 12765 ${G} 12766 ${kt.all} 12767 ${Zt.all} 12768 ${Za} 12769 `},vf=F` 12770 query ARDownloadFormBlockQuery($id: String!, $preview: Boolean!, $locale: String!) { 12771 arDownloadFormBlock(id: $id, preview: $preview, locale: $locale) { 12772 ...ArDownloadFormBlockAll 12773 } 12774 } 12775 ${koe.all} 12776`;var tI={all:F` 12777 fragment ArDownloadLinkCardAll on ArDownloadLinkCard { 12778 ...ContentfulSysId 12779 contentfulDescription 12780 title { 12781 json 12782 } 12783 body { 12784 json 12785 } 12786 titleAlignment 12787 bodyAlignment 12788 flex 12789 backgroundImage { 12790 ... on Image { 12791 ...ImageAll 12792 } 12793 ... on Video { 12794 ...VideoAll 12795 } 12796 } 12797 backgroundColor 12798 ctaColor 12799 icon { 12800 ...ImageAll 12801 } 12802 callToActionsCollection(limit: 3) { 12803 items { 12804 ...CallToActionAll 12805 } 12806 } 12807 } 12808 ${G} 12809 ${ze.all} 12810 ${yt.all} 12811 ${nt} 12812 `},If=F` 12813 query ArDownloadLinkCardQuery($id: String!, $preview: Boolean!, $locale: String!) { 12814 arDownloadLinkCard(id: $id, preview: $preview, locale: $locale) { 12815 ...ArDownloadLinkCardAll 12816 } 12817 } 12818 ${tI.all} 12819`;var Moe={all:F` 12820 fragment ArLinkOutsBlockAll on ArLinkOutsBlock { 12821 ...ContentfulSysId 12822 contentfulDescription 12823 backgroundColor 12824 ctaColor 12825 linksCollection { 12826 items { 12827 ...ArDownloadLinkCardAll 12828 } 12829 } 12830 callsToActionCollection { 12831 items { 12832 ... on CallToAction { 12833 ...CallToActionAll 12834 } 12835 } 12836 } 12837 } 12838 ${G} 12839 ${tI.all} 12840 ${nt} 12841 `},kf=F` 12842 query ArLinkOutsBlockQuery($id: String!, $preview: Boolean!, $locale: String!) { 12843 arLinkOutsBlock(id: $id, preview: $preview, locale: $locale) { 12844 ...ArLinkOutsBlockAll 12845 } 12846 } 12847 ${Moe.all} 12848`;var wV={AiAgent:void 0,LatestPosts:pf,MultiVideoBlock:df,Content:vg.all,CarouselV3:Wg,Gallery:rf,Tabs:uf.all,Mosaic:cf.all,Form:Xg.all,ChartToggle:hf,BarChart:yf.all,LineChart:ff.all,GeoVisualization:gf.all,VisualizationSelector:Cf.all,TableVisualization:bf.all,Accordion:Vg.all,BlockHero:XH,Break:lH,SubNavigation:eV,LatestGalleryCardHero:void 0,AnimatedAccordion:Og,ArArkoseProtectedFormBlock:xf,ArDownloadFormBlock:vf,ArDownloadLinkCard:If,ArLinkOutsBlock:kf,LiveEvent:void 0,MultiValuePropBlock:iH,NewsBlock:void 0,SnapHomePage:void 0,SnapHomePageV2:void 0,BlockTabs:sH,SplitBlock:ZH,StinsonBreadcrumbsBlock:void 0,StinsonCollectionsCarousel:void 0,StinsonMediaFeatureBlock:void 0,StinsonSplitBlock:void 0,StinsonStoreEventsBlock:void 0,StinsonMultiVideoBlock:void 0,StinsonMultiVideoCarouselBlock:void 0,...void 0,StinsonRevealHome:void 0,StinsonUseCasesBlock:void 0,StinsonMediaBlock:void 0,StinsonVideoBlock:void 0,...void 0};function ia(e){let t=e.loc?.source.name;return e.definitions.filter(n=>n.kind==="OperationDefinition").map(n=>n).find(n=>n.operation==="query")?.name?.value??t??"Anonymous"}var DV=T(E()),Fo=(0,DV.createContext)({isShareable:!1});var oo=T(E());var Aoe="\u0591-\u07FF\uFB1D-\uFDFD\uFE70-\uFEFC",Toe=new RegExp(`[${Aoe}]`,"g"),PV=e=>e&&Toe.test(e)?"rtl":"ltr";var Af=e=>{let t=e.substring(1);return t===""?"home":cp(t)};var NV=T(E());var _oe=["lang"],woe=(e=O.metadataQueryParamsAllowlist??[])=>new Set([..._oe,...e]),Tf=(e,t=woe())=>{let o=new URL(e),n=new URL(o.href);n.hash="",n.search="";
12848for(let[a,s]of o.searchParams.entries())t.has(a)&&n.searchParams.append(a,s);return n},_f=(e,t)=>{let o=new URL(e),n=new URL(o.href);n.hash="",n.search="";for(let[a,s]of o.searchParams.entries())t[a]?.includes(s)&&n.searchParams.append(a,s);return n};var RV=({localizedIn:e=[No]})=>{let{getCurrentUrl:t}=(0,NV.useContext)(oe),o=O.site==="stinson"?_f(t(),void 0):Tf(t());o.searchParams.delete("lang");let n=e.filter(a=>a!==No);return x(vt,{children:[i("link",{rel:"alternate",hrefLang:"x-default",href:o.href}),i("link",{rel:"alternate",hrefLang:No,href:o.href},No),n?.map(a=>{let s=new URL(o.href);return s.searchParams.set("lang",a),i("link",{rel:"alternate",hrefLang:a,href:s.href},a)})]})};var VV=T(E());var $l=T(E());var FV=e=>e!=="stinson"?{}:{playIcon:i("img",{alt:"","aria-hidden":!0,draggable:!1,height:16,src:"/play.svg",width:16}),pauseIcon:i("img",{alt:"","aria-hidden":!0,draggable:!1,height:16,src:"/stop.svg",width:16})};function oI(e){return e.media??e.image}var zpt=c` 12849 ${V} { 12850 padding-top: ${32}px; 12851 } 12852`,BV=e=>{let t=(0,$l.useContext)(Se).elementLocation,{data:o}=de(Og,{variables:{id:e.sys.id}}),{accordionContentsCollection:n,mediaDirection:a="End",autoPlaySpeed:s=10,textAlignmentMobile:l=ae.Start,useFullWidthLayout:p=!1,mediaAspectRatio:d}=o?.animatedAccordion??{},u=n?.items??[],y=(0,$l.useMemo)(()=>u.map(C=>oI(C)),[u]),m=fg(y),{getImageSources:g}=ve(),{playIcon:f,pauseIcon:b}=(0,$l.useMemo)(()=>FV(O.site),[]),S=(0,$l.useMemo)(()=>u.map((C,I)=>{let k=jt(C.title),v=Tn(C.body),w=oI(C),{titleDataset:_,bodyDataset:D}=Re({entryId:C.sys.id,fieldIds:["title","body"]}),M={title:k,body:v,titleDataset:_,bodyDataset:D};if(!w)return M;if(w.__typename==="Video"){let{media:A,mobileMedia:N,thumbnailSource:$}=m[I]??{media:{},mobileMedia:{}};return{...M,videoSource:A.videoSource,mobileVideoSource:N.videoSource,sourceType:A.contentType,mobileSourceType:N.contentType,posterSource:$}}if(w.__typename==="Image"){let A=w,{imageSource:N,imageAltText:$}=Ve(A.media),{imageSource:B}=Ve(A.mobileMedia),{desktopSettings:L,mobileSettings:H}=ot({desktopHeight:A.media?.height??0,mobileHeight:A.mobileMedia?.height,enableHighDpi:A.enableHighDpi,quality:A.quality}),z=$e({desktop:g(N,L),mobile:g(B,H)});return{...M,imgSrcs:z,imageAltText:$}}return M}),[u,g,m]);return i(n_,{items:S,mediaDirection:a,autoPlaySpeed:s,textAlignmentMobile:l,useFullWidthLayout:p,mediaAspectRatio:d,playIcon:f,pauseIcon:b,onItemSelect:C=>{fe({eventCategory:"AnimatedAccordion",eventAction:"Click",eventLabel:`section: ${C}`,context:{elementLocation:t}})},onVideoPlayToggle:C=>{fe({eventCategory:"AnimatedAccordion",eventAction:"Click",eventLabel:C?"play video":"pause video",context:{elementLocation:t}})}})};var fo=T(E());var wf=T(E());var nI=({analytics:e,date:t,label:o,media:n,slugReference:a,sys:s,title:l,url:p,brand:d})=>{let{formatDate:u}=Zn(),{logEvent:y}=(0,wf.useContext)(tn),{getImageSources:m}=ve(),{isRTL:g}=(0,wf.useContext)(oe),{formatMessage:f}=(0,wf.useContext)(Qe),b=nn(),S=p??(a?.slug?`/${a.slug}`:void 0),C=()=>{S&&y?.({component:"Editorial Gallery Card",type:"Click",label:e?.label?`${e.label} - ${S}`:S,url:S})},{imageSource:I,imageAltText:k}=Ve(n?.media),{imageSource:v}=Ve(n?.mobileMedia);I||(I=Zg,k=ef);let w=Ja[n?.quality??"Standard"],_={size:tf(w)},D=$e({desktop:m(I,_),mobile:m(v,_)}),{contentfulDescriptionDataset:M,brandDataset:A,titleDataset:N,labelDataset:$,mediaDataset:B,dateDataset:L}=Re({entryId:s.id,fieldIds:["title","brand","label","date","media","contentfulDescription"]});return i(_S,{brand:d,title:jt(l),description:jt(o),dateTime:t?new Date(t):void 0,date:u(t,GH).replaceAll("/","."),onClick:C,imgSrcs:D,imgAltText:k,link:S,ctaLabel:f({id:"editorial-gallery-cta-label",defaultMessage:"Read More"}),isRtl:g,dataset:M,brandDataset:A,titleDataset:N,descriptionDataset:$,mediaDataset:B,dateDataset:L,buttonSize:b==="specs"?ma.Compact:ma.Regular},s.id)};nI.displayName="EditorialGalleryCard";var rI=({emptyPlaceholder:e,tiles:t,emptyPlaceholderDataset:o,isGalleryLoading:n,defaultTileImage:a,brandDefaultTileImages:s,numberOfTiles:l})=>{let p=t?.map(m=>m.tileSysId)??[],{data:d,loading:u}=de(af,{variables:{ids:p},skip:p.length===0||n}),y=d?.tileCollection?.items.slice().sort((m,g)=>p.indexOf(m.sys.id)-p.indexOf(g.sys.id));return n||u?i(se,{children:Array.from({length:l??6}).map((m,g)=>i(wS,{},`skeleton-editorial-gallery-card-${g}`))}):i(se,{children:y?.length?y.map(m=>{let g=m.brand?s?.find(f=>f?.brand===m.brand)?.image:void 0;return i(nI,{...m,media:m.media??g??a},m.sys.id)}):i("div",{"data-testid":"mwp-editorial-gallery-placeholder",className:sf,children:i("p",{...te(o),children:e})})})};rI.displayName="EditorialGalleryLazyTiles";var go=T(E());var qi=T(E());function Df({galleryId:e,page:t,tags:o,pageSize:n=12,sortBy:a=Jg}){let s=(0,qi.useContext)(oe),l=(0,qi.useContext)(Je),p=(0,qi.useRef)(0),d=(0,qi.useMemo)(()=>{let f=new URLSearchParams;f.append("galleryId",e),f.append("pageSize",`${n}`),f.append("sortBy",a),o.length&&f.append("tags",o.join(",")),f.append("page",`${t-1}`),s.currentLocale&&f.append("locale",s.currentLocale),s.userLocation.country&&f.append("country",s.userLocation.country);let b=l.getLowEntropyHints().platform;b&&f.append("platform",b);let S=l.getLowEntropyHints().isMobile?"Mobile":"Non-Mobile";return S&&f.append("device",S),f},[e,o,t,n,s.currentLocale,s.userLocation.country,l,a]),y=`${O.isClient?"":`http://localhost:${process.env.PORT??3e3}`}/api/gallery?${d}`,{data:m,isLoading:g}=Ln({dataId:`/api/gallery?${d}`,dataAsync:async()=>{try{return await(await fetch(y)).json()}catch(f){Pe.logError({component:"UseGalleryTiles",message:"Error loading gallery tiles",error:f})}}});return m?.total&&(p.current=m?.total),{paginationData:g?{tiles:[],total:p.current}:m,isLoading:g}}var aI=e=>{window.requestAnimationFrame(()=>{let t=Number.parseInt(getComputedStyle(document.documentElement).getPropertyValue(Ht),10),o=e?.getBoundingClientRect().top??0,n=window.scrollY;
12852window.scrollTo({top:o+n-(t+20),behavior:"smooth"})})},iI=e=>{let{gallery:t}=e,o=t.sys.id,{getUrlParams:n,setUrlParams:a}=(0,go.useContext)(tn),{onRedirect:s,getCurrentUrl:l}=(0,go.useContext)(oe),p=n?.()??{},[d,u]=(0,go.useState)(t.hidePagination?1:Number(p?.page??1)),y=(0,go.useMemo)(()=>{if(t?.dropdownsCollection)return lf(t.dropdownsCollection.items,!0)},[t]),m=(0,go.useMemo)(()=>y?y.map(M=>M.id):[],[y]),[g,f]=(0,go.useState)(oi(p,m));(0,go.useEffect)(()=>{let M=n?.()??{},A=oi(M,m),N=Number(M?.page??1);f(A),u(N)},[m,n]);let{paginationData:b,isLoading:S}=Df({galleryId:o,page:d,pageSize:t?.itemsPerPage,tags:Object.values(g),sortBy:t?.sortBy}),C=(0,go.useRef)(null),I=(0,go.useCallback)((M,A)=>{if(!a)return;let N=ko(g),$=n?.()??{},B=Gt($,m);A?N[M]=A:N=Gt(N,M),f(N),u(1),a({...B,...N,page:"1"})},[m,n,a,g]),k=(0,go.useCallback)(M=>{if(!a)return;let A=n?.()??{},N=ko(A);N.page=`${M}`,u(M),a(N),aI(C.current)},[n,a,C.current]),v=(0,go.useCallback)(()=>{if(!a)return;let M=n?.()??{},A=Gt(M,m);u(1),f({}),a({...A,page:"1"})},[m,n,a]),{mobileFiltersWrapperTextDataset:w,clearFiltersCtaCopyDataset:_,emptyPlaceholderDataset:D}=Re({entryId:o,fieldIds:["emptyPlaceholder","loadMoreCtaCopy","mobileFiltersWrapperText","clearFiltersCtaCopy"]});if(s&&O?.redirects?.queryRedirects){let M=new Set(Object.keys(O.redirects.queryRedirects));if(Object.keys(p).some($=>M.has($))){let $=new URL(l()),B=new URL(`${$.protocol}//${$.host}${$.pathname}`);for(let[L,H]of Object.entries(p)){if(M.has(L)){B.searchParams.set(`${_l}${L}`,String(H));continue}B.searchParams.set(L,String(H))}return B.hash=$.hash,s(`${B.pathname}${B.search}${B.hash}`,{newTab:!1}),null}}return x("div",{"data-testid":"mwp-lazy-gallery",ref:C,className:KH,children:[y&&!t.hideFilters?i($p,{searchMenus:y,selectedFilters:g,onChangeFilter:(M,A)=>I(M,A),onClearFilters:v,clearButtonLabel:t?.clearFiltersCtaCopy,mobileFiltersToggleLabel:t?.mobileFiltersWrapperText,mobileFiltersWrapperTextDataset:w,clearFiltersCtaCopyDataset:_}):null,i(Uv,{emptyPlaceholder:t.emptyPlaceholder,tiles:b?.tiles,showDates:t.showDates,showDescriptions:t.showDescriptions,showMedia:t.showMedia,emptyPlaceholderDataset:D,isGalleryLoading:S,defaultTileImage:t.defaultImage??void 0,brandDefaultTileImages:t.brandDefaultImagesCollection?.items,numberOfTiles:t?.itemsPerPage??12}),b?.total&&!t.hidePagination?i(wi,{totalPages:Math.floor((b.total-1)/(t?.itemsPerPage??12))+1,currentPage:d,onChange:k}):null]})};iI.displayName="Gallery";var sI=e=>{let{gallery:t}=e,o=t.sys.id,{getUrlParams:n,setUrlParams:a}=(0,fo.useContext)(tn),{onRedirect:s,getCurrentUrl:l}=(0,fo.useContext)(oe),p=n?.()??{},[d,u]=(0,fo.useState)(t.hidePagination?1:Number(p?.page??1)),y=(0,fo.useMemo)(()=>{if(t?.dropdownsCollection)return lf(t.dropdownsCollection.items,!0)},[t]),m=(0,fo.useMemo)(()=>y?y.map(M=>M.id):[],[y]),[g,f]=(0,fo.useState)(oi(p,m));(0,fo.useEffect)(()=>{let M=n?.()??{},A=oi(M,m),N=Number(M?.page??1);f(A),u(N)},[m,n]);let{paginationData:b,isLoading:S}=Df({galleryId:o,page:d,pageSize:t?.itemsPerPage||6,tags:Object.values(g),sortBy:t?.sortBy}),C=(0,fo.useRef)(null),I=(0,fo.useCallback)((M,A)=>{if(!a)return;let N=ko(g),$=n?.()??{},B=Gt($,m);A?N[M]=A:N=Gt(N,M),f(N),u(1),a({...B,...N,page:"1"})},[m,n,a,g]),k=(0,fo.useCallback)(M=>{if(!a)return;let A=n?.()??{},N=ko(A);N.page=`${M}`,u(M),a(N),aI(C.current)},[n,a,C.current]),v=(0,fo.useCallback)(()=>{if(!a)return;let M=n?.()??{},A=Gt(M,m);u(1),f({}),a({...A,page:"1"})},[m,n,a]),{mobileFiltersWrapperTextDataset:w,clearFiltersCtaCopyDataset:_,emptyPlaceholderDataset:D}=Re({entryId:o,fieldIds:["emptyPlaceholder","loadMoreCtaCopy","mobileFiltersWrapperText","clearFiltersCtaCopy"]});if(s&&O?.redirects?.queryRedirects){let M=new Set(Object.keys(O.redirects.queryRedirects));if(Object.keys(p).some($=>M.has($))){let $=new URL(l()),B=new URL(`${$.protocol}//${$.host}${$.pathname}`);for(let[L,H]of Object.entries(p)){if(M.has(L)){B.searchParams.set(`${_l}${L}`,String(H));continue}B.searchParams.set(L,String(H))}return B.hash=$.hash,s(`${B.pathname}${B.search}${B.hash}`,{newTab:!1}),null}}return x("div",{"data-testid":"mwp-lazy-editorial-gallery",ref:C,className:jH,children:[y&&!t.hideFilters?i($p,{searchMenus:y,selectedFilters:g,onChangeFilter:(M,A)=>I(M,A),onClearFilters:v,clearButtonLabel:t?.clearFiltersCtaCopy,mobileFiltersToggleLabel:t?.mobileFiltersWrapperText,mobileFiltersWrapperTextDataset:w,clearFiltersCtaCopyDataset:_}):null,i("div",{className:h({[oD]:!S&&b&&b?.tiles?.length>0}),children:i(rI,{emptyPlaceholder:t.emptyPlaceholder,tiles:b?.tiles,emptyPlaceholderDataset:D,isGalleryLoading:S,defaultTileImage:t.defaultImage??void 0,brandDefaultTileImages:t.brandDefaultImagesCollection?.items,numberOfTiles:t?.itemsPerPage??6})}),b?.total&&!t.hidePagination?i(wi,{totalPages:Math.floor((b.total-1)/(t?.itemsPerPage??6))+1,currentPage:d,onChange:k,className:YH}):null]})};sI.displayName="EditorialGallery";var lI=e=>{let t=e.sys.id,{data:o}=de(rf,{variables:{id:t}}),n=o?.gallery,a=n?.galleryType==="Editorial";return n?a?i(sI,{gallery:n}):i(iI,{gallery:n}):null};lI.displayName="LazyGallery";var pI=e=>{let{data:t}=de(cf.all,{variables:{id:e.sys.id}});return t?.mosaic?i(qv,{...t.mosaic,__typename:"Mosaic"}):null};pI.displayName="Mosaic";var cI=T(Sa());var dI=T(E());var $V=F` 12853 query TileAndRelatedContentQuery( 12854 $preview: Boolean! 12855 $locale: String! 12856 $ids: [String]! 12857 $relatedContentId: String! 12858 $slugId: String 12859 ) { 12860 tileCollection( 12861 preview: $preview 12862 locale: $locale 12863 where: { sys: { id_in: $ids }, slugReference: { sys: { id_not: $slugId } } } 12864 ) { 12865 total 12866 items { 12867 ...TileAll 12868 } 12869 } 12870 relatedContent(preview: $preview, locale: $locale, id: $relatedContentId) { 12871 defaultImage { 12872 ...ImageAll 12873 } 12874 } 12875 } 12876 ${ri.all} 12877 ${ze.all} 12878`;var Qi=T(E());function LV({page:e,tags:t,pageSize:o=12,sortBy:n=Jg}){let a=(0,Qi.useContext)(oe),s=(0,Qi.useContext)(Je),l=(0,Qi.useRef)(0),p=(0,Qi.useMemo)(()=>{let g=new URLSearchParams;g.append("pageSize",`${o}`),g.append("sortBy",n),t.length&&g.append("tags",t.join(",")),g.append("page",`${e-1}`),a.currentLocale&&g.append("locale",a.currentLocale),a.userLocation.country&&g.append("country",a.userLocation.country);
12878let f=s.getLowEntropyHints().platform;f&&g.append("platform",f);let b=s.getLowEntropyHints().isMobile?"Mobile":"Non-Mobile";return b&&g.append("device",b),g},[t,e,o,a.currentLocale,a.userLocation.country,s,n]),u=`${O.isClient?"":`http://localhost:${process.env.PORT??3e3}`}/api/related-content?${p}`,{data:y,isLoading:m}=Ln({dataId:`/api/related-content?${p}`,dataAsync:async()=>{try{return await(await fetch(u)).json()}catch(g){Pe.logError({component:"UseRelatedContent",message:"Error loading related content tiles",error:g})}}});return y?.total&&(l.current=y?.total),{paginationData:m?{tiles:[],total:l.current}:y,isLoading:m}}var Doe=10,Poe={day:"2-digit",month:"2-digit",year:"2-digit",timeZone:"UTC"},HV=e=>{let{topics:t,slugId:o=""}=(0,dI.useContext)(Fo),{getImageSources:n}=ve(),{isRTL:a}=(0,dI.useContext)(oe),{formatDate:s}=Zn(),l=t?.map(C=>C.topicId||"")??[],{paginationData:p,isLoading:d}=LV({page:1,pageSize:Doe,tags:l}),{data:u,loading:y}=de($V,{variables:{ids:p?.tiles?.map(C=>C?.tileSysId)??[],relatedContentId:e.sys.id,slugId:o}}),m="https://images.ctfassets.net/kp51zybwznx4/120IJvdruE5HeC9XBYjFiU/879b8f63bde0d27c0750ade94c4b1a39/Default_Gallery_Image.png",{media:{imageSource:g,imageAltText:f},mobileMedia:{imageSource:b}}=Lt(u?.relatedContent?.defaultImage),S=u?.tileCollection?.items.length||0;return!d&&!y&&S>0?i(Ra,{isRtl:a,children:u?.tileCollection?.items.map(C=>{let I=C.media?.media?.contentType,k=I?.startsWith("video/"),v=!!I,w=v?C.media:u?.relatedContent?.defaultImage,_=Ja[w?.quality??"Standard"],D={size:Pv(_),quality:_},M=$e({desktop:n(v?C.media?.media.url:g||m,D),mobile:n(v?C.media?.mobileMedia?.url:b,D)}),A=C.slugReference?.slug||"",N=C.title?.json?C.title.json:"",$=C.label?.json?C.label?.json:"",B=C.date?s(C.date,Poe).replaceAll("/","."):"";return i(Gn,{title:(0,cI.documentToPlainTextString)(N),body:(0,cI.documentToPlainTextString)($),date:B,brand:C?.brand,url:A?`/${A}`:void 0,imgSrcs:k?void 0:M,imgAltText:C.media?.media?.description||f,videoSource:k?C.media?.media?.url:void 0,mobileVideoSource:k?C.media?.mobileMedia?.url:void 0,aspectRatio:"9:16",hideLinkArrow:Hd[O.site]?.includes("snap"),relatedContent:!0},`${C.__typename}-${C.sys.id}`)})}):null};var OV=e=>{switch(e.__typename){case"Gallery":return i(lI,{...e});case"CarouselV3":return i(qc,{...e});case"Tabs":return i(jv,{...e});case"Mosaic":return i(pI,{...e,__typename:"Mosaic"});case"Form":return i(Kc,{...e});case"ChartToggle":return i(eI,{...e});case"BarChart":return i(Pl,{...e});case"LineChart":return i(Rl,{...e});case"GeoVisualization":return i(El,{...e});case"VisualizationSelector":return i(dV,{...e});case"TableVisualization":return i(Fl,{...e});case"Content":return i(jc,{...e});case"Accordion":return i(eH,{...e});case"AnimatedAccordion":return i(BV,{...e});case"RelatedContent":return i(HV,{...e});default:return Be({component:"Block",message:`Unknown content type: ${e.__typename} with id: ${e.sys.id}`}),i(se,{children:"\u{1F47F}"})}};OV.displayName="BlockContent";var Ll=e=>{let{maxColumns:t,eyebrow:o,title:n,subtitle:a,titleAlignment:s,titleAlignmentMobile:l,contentsCollection:p,callsToActionCollection:d,anchorId:u,isNarrow:y,widthStyle:m,fullHeight:g,brandBackgroundColor:f,backgroundColor:b,backgroundMediaV2:S,theme:C,isNextSameBackgroundColor:I,isPreviousSameBackgroundColor:k,className:v,sys:w,preChildren:_,postChildren:D,showCurtain:M,denseLayout:A,topSpacing:N,bottomSpacing:$}=e,B=tt(f),{replacements:L}=(0,VV.useContext)(Fo),H=p;if(p?.items.length&&L){let le=[...p.items];for(let ee=0;ee<le.length;ee++){let be=le[ee]?.sys?.id,q=le[ee]?.__typename;if(be&&L&&be in L){let ce=L[be];ce===void 0?le.splice(ee,1):ce&&ce.__typename===q&&(le[ee]={sys:{id:ce.sys.id},__typename:ce.__typename})}}H={items:le}}let{media:{imageSource:z,imageAltText:j,videoSource:ue},mobileMedia:{imageSource:ie,imageAltText:ne,videoSource:J},thumbnailSource:pe}=Lt(S),re=(H?.items??[]).map(le=>i(OV,{...le},le.sys.id)),Q=d.items.map(le=>i(ft,{...le},le.sys.id)),{getImageSources:Y}=ve(),Z;if(S?.__typename==="Image"){let{desktopSettings:le,mobileSettings:ee}=ot({desktopHeight:S.media?.height??0,mobileHeight:S.mobileMedia?.height,enableHighDpi:S.enableHighDpi,quality:S.qual
12878ity});Z=$e({desktop:Y(z,le),mobile:Y(ie,ee)})}let U=S?.stickersCollection?.items?.map(le=>({imgSrcs:Y(le?.asset?.url),position:le?.position,rotation:le?.rotation})),R=Re({entryId:w.id,fieldIds:["eyebrow","title","subtitle"]}),X=(!!Z||!!ue)&&M!==!1,W=i(To,{callsToAction:Q,anchorId:u,maxColumns:t??void 0,subtitle:Vi(a),eyebrow:o,title:Mt(n),titleAlignment:s,titleAlignmentMobile:l,widthStyle:m??(y?"narrow":void 0),motifScheme:B,backgroundColor:b??C,isNextSameBackgroundColor:I,isPreviousSameBackgroundColor:k,fullHeight:g,className:v,...R,preChildren:_,postChildren:D,backgroundVideoSource:ue,backgroundPosterSource:pe,mobileBackgroundVideoSource:J,backgroundImageSources:Z,backgroundImageAltText:j??ne,showCurtain:X,backgroundMediaStickers:U,denseLayout:A,topSpacing:N,bottomSpacing:$,children:re});return u?i(Se.Provider,{value:{elementLocation:`block#${u}`},children:W}):W};Ll.displayName="Block";var GV=T(E());var UV=({localizedIn:e=[No]})=>{let{currentLocale:t,getCurrentUrl:o}=(0,GV.useContext)(oe),n=O.site==="stinson"?_f(o(),void 0):Tf(o());return n.searchParams.delete("lang"),t!==No&&e.includes(t)&&n.searchParams.set("lang",t),i(vt,{children:i("link",{rel:"canonical",href:n.href})})};var Noe=Symbol.for("react.lazy"),Eoe=e=>e.$$typeof===Noe,Ki=({component:e})=>Eoe(e)?i(Eo,{children:i(e,{})}):i(e,{});Ki.displayName="ContentlessRenderer";var WV=({id:e})=>{let{data:t}=de(xf,{variables:{id:e}}),o=al(),n=o.get("utm_source")??"",a=o.get("utm_medium")??"",s=o.get("utm_campaign")??"",l=o.get("utm_term")??"",p=o.get("utm_content")??"",d=s==="mobileflow";if(!t?.arArkoseProtectedFormBlock)return null;let{protectedForm:u,anchorId:y,maxColumns:m,subtitle:g,subtitleFromEmail:f,eyebrow:b,titleAlignment:S,title:C,titleFromEmail:I,titleAlignmentMobile:k,widthStyle:v,backgroundColor:w,isNarrow:_}=t?.arArkoseProtectedFormBlock??{},D=d?I:C;return i(To,{anchorId:y,maxColumns:m??void 0,subtitle:Mt(d?f:g),eyebrow:b,title:Mt(D),titleAlignment:S,titleAlignmentMobile:k,widthStyle:v??(_?"narrow":void 0),backgroundColor:w,children:!d&&i(Yg,{...u,enableRecaptcha:!0,extraParams:{utmContent:p,utmMedium:a,utmSource:n,utmTerm:l}})})};var Ol=T(E());var QV=T(Nc()),KV=T(Cb());var qV=c` 12879 a { 12880 font-size: inherit; 12881 line-height: inherit; 12882 } 12883`;var Roe={renderNode:{[KV.INLINES.HYPERLINK]:(e,t)=>{let o=e.data.uri;return i("span",{className:qV,children:i(Up,{link:o,target:"_blank",children:t})})}}},uI=e=>{if(e)return typeof e=="string"?e:(0,QV.documentToReactComponents)(e.json,Roe)};var jV=({downloadId:e,version:t,platform:o})=>{let n=new URL(window.location.href);return n.searchParams.set("downloadId",e),n.searchParams.set("version",t),n.searchParams.set("platform",o),n.href};var Foe=e=>{let t=e.toLowerCase().replace(/[_-\W\s]/gm,"");return t.includes("osx")||t.includes("macos")?"MAC_OS":t.includes("windows")?"WINDOWS":""},Pf="sc-lsdownloads",Boe=e=>{let[t=0,o=0,n=0,a=0]=e.split(/[._-]/gm).map(s=>Number.parseInt(s)).filter(Number.isInteger);return[t,o,n,a].join("_")},yI=(e,t)=>{let o=Boe(e);return`${Foe(t).toLowerCase()}_${o}`},$oe=(e,{version:t,platform:o,downloadId:n})=>!t||!o||!n?e||{}:{...e,[yI(t,o)]:n},YV=(e,t)=>{let o=t.getCookieJson(Pf),n=$oe(o,e),a=new Date;a.setDate(a.getDate()+180),t.setCookieJson(Pf,n,{secure:!0,expires:a,sameSite:"strict"})};var si=T(E());var XV="34.5%",JV=c` 12884 .sdsm-block > div { 12885 padding-top: 0; 12886 padding-bottom: 0; 12887 max-width: none; 12888 } 12889 12890 /* 12891 Since this is custom component 12892 Page does not pass skipBreakTemplate, 2 breaks are rendered 12893 these styles are to prevent break from appearing 12894 */ 12895 + .sdsm-break-top-straight { 12896 display: none; 12897 } 12898 12899 + .sdsm-break-top-straight + .sdsm-break-bottom-straight { 12900 display: none; 12901 } 12902 12903 /* prevent block expanding when toggling the checkbox */ 12904 .sdsm-block { 12905 background-position-y: center; 12906 background-size: cover; 12907 /** accomodate box shadows */ 12908 overflow: visible; 12909 } 12910 12911 ${At} { 12912 /* Center the block children container */ 12913 section[data-testid='sdsm-block-children'] { 12914 margin: 0 auto; 12915 } 12916 } 12917`,ZV=c` 12918 padding: 26px; 12919 padding-bottom: 0; 12920 display: flex; 12921 flex-direction: column; 12922 justify-content: center; 12923 gap: ${r("--spacing-l")}; 12924 margin-left: 50%; 12925 width: 50%; 12926 position: relative; 12927 z-index: 1; 12928 12929 ${At} {
12930 align-items: center; 12931 margin-left: 0; 12932 width: 100%; 12933 padding-top: 300px; 12934 } 12935`,eO=c` 12936 width: 100%; 12937 align-items: flex-start; 12938 max-width: 600px; 12939 margin-left: 0; 12940 margin-right: 0; 12941 gap: ${r("--spacing-s")}; 12942 12943 /* Override responsive behavior for specific version pages */ 12944 ${At} { 12945 align-items: flex-start; 12946 margin-left: 0; 12947 width: 100%; 12948 padding-top: ${r("--spacing-l")}; 12949 } 12950`,tO=c` 12951 padding-top: ${r("--spacing-xxl")}; 12952 padding-bottom: ${r("--spacing-xxl")}; 12953 min-height: 680px; 12954 12955 ${P} { 12956 min-height: min(680px, 80vh); 12957 } 12958`,oO=c` 12959 padding-top: ${r("--spacing-l")}; 12960 padding-bottom: ${r("--spacing-l")}; 12961 min-height: auto; 12962 12963 ${P} { 12964 min-height: auto; 12965 } 12966`,nO=c` 12967 position: absolute; 12968 left: ${XV}; 12969 top: 50%; 12970 transform: translate(-50%, -50%); 12971 height: 220px; 12972 width: 220px; 12973 z-index: 1; 12974 12975 ${At} { 12976 left: 50%; 12977 top: 175px; 12978 } 12979`,rO=c` 12980 display: flex; 12981 flex-direction: column; 12982 gap: 2px; 12983`,Hl=c` 12984 /* Override the default text-transform from h1/h2 styles */ 12985 12986 && { 12987 text-transform: none; 12988 } 12989 12990 ${At} { 12991 text-align: center; 12992 } 12993`,Vl=c` 12994 ${At} { 12995 text-align: left; 12996 } 12997`,mI=c` 12998 && { 12999 font-size: ${r("--h2-desktop-font-size")}; 13000 } 13001`,aO=c` 13002 && { 13003 font-size: ${r("--h4-desktop-font-size")}; 13004 } 13005`,Nf=c` 13006 background: linear-gradient(270deg, #fff0b9 0%, #ffcff4 100%); 13007 background-clip: text; 13008 -webkit-text-fill-color: transparent; 13009`,iO=c` 13010 display: flex; 13011 gap: 30px; 13012 align-items: center; 13013 13014 ${At} { 13015 justify-content: center; 13016 } 13017`,sO=c` 13018 opacity: 0.7; 13019`,lO=c` 13020 align-items: flex-start; 13021 margin: 0; 13022`,gI=c` 13023 display: flex; 13024 align-items: center; 13025 gap: ${r("--spacing-m")}; 13026 13027 ${At} { 13028 justify-content: center; 13029 } 13030 13031 ${Ot} { 13032 flex-direction: column; 13033 } 13034`,fI=c` 13035 ${At} { 13036 justify-content: flex-start; 13037 } 13038`,pO=c` 13039 .sdsm-form-field { 13040 margin: 0; 13041 flex-basis: auto; 13042 flex-grow: 0; 13043 width: auto; 13044 } 13045 13046 select { 13047 padding-right: 80px; 13048 cursor: pointer; 13049 font-size: 16px; 13050 padding-top: 0; 13051 padding-bottom: 0; 13052 height: 40px; 13053 border-radius: 500px; 13054 background: ${r("--form-input-bg-color")}; 13055 13056 /* 13057 expanding orginal select styles 13058 packages/snap-design-system-marketing/src/components/Form/styles.ts#L127 13059 */ 13060 &:-ms-expand { 13061 display: none; 13062 } 13063 } 13064`,cO=c` 13065 display: flex; 13066 flex-direction: column; 13067 gap: ${r("--spacing-m")}; 13068`,dO=c` 13069 display: flex; 13070 align-items: center; 13071 justify-content: center; 13072 gap: 5px; 13073`,uO=c` 13074 select { 13075 height: 48px; 13076 } 13077`,yO=c` 13078 gap: ${r("--spacing-l")}; 13079`,mO=c` 13080 position: absolute; 13081 opacity: 0; 13082 pointer-events: none; 13083`,gO=c` 13084 align-items: flex-end; 13085`,fO=c` 13086 align-items: center; 13087`,bO=c` 13088 justify-content: flex-end; 13089`,SO=c` 13090 justify-content: center; 13091`,lyt=c` 13092 background-size: cover; 13093 background-position: center; 13094 background-repeat: no-repeat; 13095`,hO=c` 13096 min-height: 680px; 13097 overflow: visible; 13098 13099 ${P} { 13100 min-height: min(680px, 80vh); 13101 } 13102`,CO=c` 13103 min-height: auto; 13104 13105 ${P} { 13106 min-height: auto; 13107 } 13108`,xO=c` 13109 position: absolute; 13110 inset: 0; 13111 overflow: hidden; 13112`,vO=c` 13113 height: 100%; 13114 width: 100%; 13115 object-fit: cover; 13116 object-position: ${XV} center; 13117 13118 ${At} { 13119 object-position: center center; 13120 } 13121`;var ii=T(E());var Voe=(e,t,o)=>e==="macOS"?o?.toLowerCase()==="arm"&&t.some(({value:n})=>n==="MAC_OS_ARM")?"MAC_OS_ARM":"MAC_OS":"WINDOWS",IO=({version:e,platform:t,eula:o,submitText:n,submitSuccessText:a,alignment:s,formStyle:l,useCompactText:p=!1})=>{let d={[SO]:s===ae.Center,[bO]:s===ae.Right,[uO]:l==="Block"},u=h(cO,{[yO]:l==="Block"}),y=t.optionsCollection?.items??[],m=y.map(({value:f})=>f);return({handleSubmit:f,disabled:b,loading:S,submitSuccess:C})=>{let I=(0,ii.useContext)(Je),[k,v]=(0,ii.useState)();(0,ii.useEffect)(()=>{(async()=>{let D=await I.getHighEntropyHintsAsync({hints:["architecture"]});v(D.architecture)})().catch(D=>{Be({component:"ARDownloadForm",error:D})})},[I]);let w=(0,ii.useCallback)(_=>{_?.preventDefault();let D=_?.target.closest("form");if(D){let M=new FormData(D),A=[];M.forEach((L,H)=>{A.push([H,L])});
13121let N=Object.fromEntries(A),$=["eula","platform","version"],B=[];for(let L of $)(!(L in N)||N[L]===void 0)&&B.push(L);B.length>0&&Bn({component:"ARDownloadForm",message:`Missing fields in LS download form: ${B.join(", ")}`})}f()},[]);return x("div",{className:u,children:[x("div",{className:h(gI,d,Ue,{[fI]:p}),children:[i(Tl,{contentfulInputField:e,submitText:n}),i("div",{children:i(Tl,{contentfulInputField:o,submitText:n})})]}),x("div",{className:h(gI,pO,d,{[fI]:p}),children:[i(xi,{name:t.name,initialValue:Voe(I.getLowEntropyHints().platform,y,k),allValues:m,shouldResetToInitial:t.shouldResetToInitial,required:t.required,children:y.map(({key:_,value:D})=>i("option",{value:D||_,children:_},_))},t.sys.id),i(Kt,{type:"Primary",size:l==="Block"?"Regular":"Compact",onClick:w,disabled:b,loading:S,children:x("span",{className:dO,children:[" ",i(C0,{size:rp.Large}),C?a??n:n]})})]})]})}};var kO=({id:e,endpoint:t,version:o,eula:n,platform:a,analytics:s,submitText:l,submitSuccessText:p,alignment:d=ae.Left,formStyle:u="Block",useCompactText:y=!1,onDownloadSuccess:m})=>{let g=(0,si.useMemo)(()=>IO({version:o,eula:n,platform:a,formStyle:u,alignment:d,submitText:l,submitSuccessText:p,useCompactText:y}),[o,n,a,u,d,l,p,y]),f=(0,si.useContext)(Se).elementLocation,{userLocation:b,currentLocale:S,cookieManager:C}=(0,si.useContext)(oe),I=b.country,k=(0,si.useCallback)(async _=>{s&&fe({eventCategory:"ArDownloadForm",eventAction:"FormSubmit",eventLabel:s.label??e,context:{elementLocation:f}});try{let D=await _.json(),{url:M,downloadId:A,platform:N,version:$}=D;if(C.getCookie("sc-cookies-accepted")==="true"&&C.getCookie("Marketing")==="true"){YV({version:$,platform:N,downloadId:A},C);let L=jV({version:$,platform:N,downloadId:A});window.history.pushState({path:L},"",L),s&&fe({eventCategory:"ArDownloadForm",eventAction:"FormSubmit",eventLabel:"lens_studio_post_submit",context:{elementLocation:f}})}m(M)}catch{m(void 0)}},[s,f,e,C]),v=(_,D)=>{Be({component:"ArDownloadForm",error:_,message:`AR Download Form submit failed. Payload: ${JSON.stringify(D)}`,action:"Submit"})},w=(0,si.useMemo)(()=>({locale:S,country:I}),[S,I]);return i(se,{children:i(Rp,{className:h(lO,{[gO]:d===ae.Right,[fO]:d===ae.Center}),endpoint:t,formChildrenRenderer:g,onSubmitSuccess:k,onSubmitFailure:v,extraParams:w})})};var MO=({title:e,supertitle:t,subtitle:o,version:n,releaseNotesLinkText:a,forSpecificVersion:s=!1})=>x("header",{className:h(rO,"ar-dowload-form-header"),children:[t?x(se,{children:[x("p",{className:h(fa,Hl,{[Vl]:s}),children:[t," ",n&&!s&&n]}),i("h1",{className:h(Hl,Nf,{[Vl]:s,[mI]:s}),children:e})]}):x("h1",{className:h(Hl,{[Vl]:s,[mI]:s}),children:[e," ",n&&!s&&i("span",{className:Nf,children:n})]}),x("div",{className:h(iO),children:[i("span",{className:h(Ue,Hl,{[Vl]:s,[Nf]:!s,[aO]:s}),children:o}),a&&i("span",{className:h(Ue,Hl,sO,{[Vl]:s}),children:a})]})]});var Ef=T(E());var AO=c` 13122 position: absolute; 13123 left: 50%; 13124 top: 200px; 13125 transform: translate(-50%, -50%); 13126 height: 100px; 13127 width: 100px; 13128 z-index: 1; 13129`,TO=c` 13130 /* Target the actual background image element, not CSS background */ 13131 & > span { 13132 picture, 13133 img { 13134 object-position: top center; 13135 } 13136 } 13137 13138 /* Push down title and contents */ 13139 & .sdsm-block-boundary { 13140 padding-top: 250px; 13141 } 13142 13143 & [data-testid='sdsm-block-title'] h2 { 13144 /* Remove default capitalization */ 13145 text-transform: none; 13146 } 13147 13148 & [data-testid='sdsm-block-subtitle'] p { 13149 ${Ue} 13150 margin-bottom: 30px; 13151 } 13152 13153 /* Apply border-radius to all Content components */ 13154 & .sdsm-content { 13155 border-radius: 8px; 13156 overflow: hidden; 13157 position: relative; 13158 cursor: pointer; 13159 transition: transform 0.2s ease; 13160 13161 /* Hide the CTA button visually - we are converting the entire Content into a link */ 13162 & [data-testid='sdsm-content-cta'] { 13163 /* Negative margin to collapse the gap above it */ 13164 margin-top: calc(-1 * ${r("--spacing-xl")}); 13165 13166 /* Target the actual link/button element */ 13167 & a, 13168 & button { 13169 opacity: 0; 13170 position: absolute; 13171 inset: 0; 13172 z-index: 10; 13173 cursor: pointer; 13174 13175 /* Reset all button/link styling */ 13176 background: none; 13177 border: none; 13178 box-shadow: none; 13179 padding: 0; 13180 margin: 0; 13181 color: transparent; 13182 text-decoration: none; 13183 13184 /* Ensure it fills the space */ 13185 width: 100%; 13186 height: 100%; 13187 display: block; 13188 } 13189 } 13190 13191 /* Hover effect for the card */ 13192 &:hover { 13193 transform: translateY(-2px); 13194 } 13195 } 13196 13197 /* Reduce gap between title and body for all Content components */ 13198 & [data-testid='sdsm-content-header-and-body'] { 13199 gap: ${r("--spacing-xxs")}; 13200 } 13201 13202 /* Target the first Content component within the Block */ 13203 & .sdsm-content:nth-of-type(1) { 13204 background: linear-gradient(270deg, rgba(255, 240, 185, 0.4) 0%, rgba(255, 207, 244,
132040.4) 100%); 13205 border: 1px solid; 13206 border-image-source: linear-gradient( 13207 180deg, 13208 rgba(255, 255, 255, 0.2) 0%, 13209 rgba(255, 255, 255, 0) 100% 13210 ); 13211 } 13212 13213 /* Target the second Content component */ 13214 & .sdsm-content:nth-of-type(2) { 13215 background: linear-gradient(270deg, rgba(255, 240, 185, 0.2) 0%, rgba(255, 207, 244, 0.2) 100%); 13216 border: 1px solid; 13217 border-image-source: linear-gradient( 13218 180deg, 13219 rgba(255, 255, 255, 0.2) 0%, 13220 rgba(255, 255, 255, 0) 100% 13221 ); 13222 } 13223 13224 /* Target the last Content component - should have smaller title and body font sizes */ 13225 & .sdsm-content:last-of-type { 13226 background: linear-gradient(270deg, rgba(255, 240, 185, 0.2) 0%, rgba(255, 207, 244, 0.2) 100%); 13227 13228 /* Reduce top and bottom padding to --spacing-m */ 13229 padding-top: ${r("--spacing-m")}; 13230 padding-bottom: ${r("--spacing-m")}; 13231 13232 /* Change title to H6 size (18px) */ 13233 & [data-testid='sdsm-content-title'] { 13234 font-size: ${r("--h6-desktop-font-size")}; 13235 line-height: ${r("--h6-desktop-font-line-height")}; 13236 13237 ${P} { 13238 font-size: ${r("--h6-mobile-font-size")}; 13239 line-height: ${r("--h6-mobile-font-line-height")}; 13240 } 13241 } 13242 13243 /* Change body to P3 (14px) */ 13244 & .sdsm-content-body { 13245 font-size: ${r("--p3-desktop-font-size")}; 13246 line-height: ${r("--p3-desktop-font-line-height")}; 13247 13248 ${P} { 13249 font-size: ${r("--p3-mobile-font-size")}; 13250 line-height: ${r("--p3-mobile-font-line-height")}; 13251 } 13252 } 13253 } 13254`;var _O=({successBlock:e,downloadUrl:t,logoImageSource:o,logoAltText:n})=>{let a=(0,Ef.useRef)(null);return(0,Ef.useEffect)(()=>{t&&a.current&&a.current.click()},[t]),x(se,{children:[i(Dd,{"data-testid":"test-anchor-download",ref:a,href:t,download:!0,className:mO,children:"Hidden download link"}),e&&i(Ll,{...e,className:TO,preChildren:o?i("img",{className:AO,src:o,alt:n}):void 0})]})};var wO=c` 13255 display: flex; 13256 align-items: center; 13257 gap: 8px; 13258 background-color: #525759; 13259 border-radius: 8px; 13260 padding: 6px 8px; 13261`,DO=c` 13262 opacity: 0.5; 13263`;var PO=({name:e,isSupported:t})=>i("div",{className:h(wO,{[DO]:!t}),children:x(se,{children:[t?i(S0,{size:rp.Large,fill:ub.Green.V200}):i(b0,{size:rp.Large,fill:ub.Gray.V100}),i("span",{className:Ue,children:e})]})});var NO=c` 13264 display: flex; 13265 flex-direction: row; 13266 gap: 16px; 13267`,EO=c` 13268 display: flex; 13269 flex-direction: column; 13270 gap: 8px; 13271 13272 ${At} { 13273 align-items: center; 13274 } 13275`,RO=c` 13276 opacity: 0.5; 13277`;var FO=({platforms:e,supportedPlatformsLabel:t})=>x("div",{className:EO,children:[t&&i("div",{className:h(Ue,RO),children:t}),i("div",{className:NO,children:e.map(o=>i(PO,{...o},o.name))})]});var BO=({id:e})=>{let[t,o]=(0,Ol.useState)(void 0),{getImageSources:n}=ve(),{data:a}=de(vf,{variables:{id:e}}),s=!(a?.arDownloadFormBlock?.isLatestVersion??!1),l=(0,Ol.useCallback)(J=>{o(J)},[]),{imageSource:p}=Ve(a?.arDownloadFormBlock?.backgroundMedia),{imageSource:d}=Ve(a?.arDownloadFormBlock?.backgroundMediaMobile),u=(0,Ol.useMemo)(()=>{let J=n(p);if(!d)return J;let re=n(d)?.sources.map(Q=>({...Q,media:`(max-width: ${a0}px)`}))||[];return{...J,sources:[...re,...J?.sources||[]],default:J?.default||""}},[p,d,n]);if(!a?.arDownloadFormBlock)return null;let{backgroundColor:y,title:m,supertitle:g,subtitle:f,logo:b,endpoint:S,analytics:C,submitText:I,submitSuccessText:k,successBlock:v,version:w,platform:_,eula:D,supportedPlatforms:M,supportedPlatformsLabel:A,releaseNotesLinkText:N}=a.arDownloadFormBlock,$=jt(m),B=jt(g),L=jt(f),H=uI(A),z=uI(N),j=M||[],{imageSource:ue,imageAltText:ie}=Ve(b);return t!=null?i(_O,{successBlock:v,downloadUrl:t,logoImageSource:ue,logoAltText:ie}):i("div",{className:h("ar-download-from-container",JV),children:i(To,{backgroundColor:y,className:h(hO,{[CO]:s}),preChildren:s?void 0:x(se,{children:[u&&i(Ze,{imgSrcs:u,className:xO,imgClassName:vO,altText:""}),i("img",{className:nO,src:ue,alt:ie})]}),children:x("div",{className:h("ar-download-form-content",ZV,{[tO]:!s,[eO]:s,[oO]:s}),children:[i(MO,{title:$,supertitle:B,version:w.initialValue,subtitle:L,releaseNotesLinkText:z,forSpecificVersion:s}),i(FO,{platforms:j,supportedPlatformsLabel:H}),i(kO,{id:e,analytics:C,endpoint:S,version:w,eula:D,platform:_,submitText:I,submitSuccessText:k,useCompactText:s,onDownloadSuccess:l})]})})})};var Rf=T(E());var $O=(e,t,o)=>{if(t?.toLowerCase()!=="mac_os"&&t?.toLowerCase()!=="windows")return!1;let n=e?.replace(/[-_.]/gm,"_")??"";return/(\d+_){0,3}(\d+){1}/g.test(n)?Number.isInteger(Number.parseInt(o??"")):!1};var LO=c` 13278 display: flex; 13279 width: 100%; 13280 height: 100vh; 13281 justify-content: center; 13282 align-items: center; 13283`;var HO="http://127.0.0.1",VO="/auth",OO=()=>{let{cookieManager:e}=(0,Rf.useContext)(oe);return(0,Rf.useEffect)(()=>{let t=new URLSearchParams(window.location.search),o=t.get("version"),n=t.get("platform"),a=t.get("ls_port");if(o&&n&&$O(o,n,a)){let l=(e.getCookieJson(Pf)||{})[yI(o,n)]??"";window.location.assign(`${HO}:${a}${VO}?download_id=${l}`)}else Number.isInteger(Number.parseInt(a??""))&&window.location.assign(`${HO}:${a}${VO}`)},[e]),i("div",{"data-testid":"lens-studio-redirect",className:LO,children:i(Pd,{})})};
13283function Jc(e){let t=e.replace("#",""),o=Number.parseInt(t.substring(0,2),16),n=Number.parseInt(t.substring(2,4),16),a=Number.parseInt(t.substring(4,6),16);return(.299*o+.587*n+.114*a)/255>.5?"#000000":"#FFFFFF"}var GO=c` 13284 background-size: cover; 13285 background-position: center; 13286 background-repeat: no-repeat; 13287`,zO=c` 13288 border-radius: 8px; 13289 overflow: hidden; 13290 13291 /* Use dynamic text color based on background brightness for title, subtitle, and body */ 13292 [data-testid='sdsm-content-title'], 13293 [data-testid='sdsm-content-subtitle'] { 13294 color: var(--custom-text-color); 13295 } 13296 13297 /* Apply to body but exclude the entire CTA container */ 13298 .sdsm-content-body > *:not([data-testid='sdsm-content-cta']) { 13299 color: var(--custom-text-color); 13300 } 13301 13302 .sdsm-content-body > *:not([data-testid='sdsm-content-cta']) * { 13303 color: var(--custom-text-color); 13304 } 13305 13306 /* Make all text in the card bolder except buttons/links */ 13307 &.sdsm-content *:not([class*='button']):not(a) { 13308 font-weight: 600; 13309 } 13310 13311 [data-testid='sdsm-content-media'] { 13312 transform: translateY(${r("--spacing-m")}); 13313 } 13314 13315 /* Reduce gap only when body text is present */ 13316 [data-testid='sdsm-content-header-and-body']:has([data-testid='sdsm-content-body-content']) { 13317 gap: ${r("--spacing-xxs")}; 13318 } 13319 13320 .sdsm-content-body { 13321 gap: ${r("--spacing-s")}; 13322 } 13323`,UO=(e,t)=>c` 13324 /* Override all button types to use custom color */ 13325 &.sdsm-content a[class*='button'] { 13326 background-color: ${e}; 13327 border: 2px solid ${e}; 13328 color: ${t}; 13329 padding: 11px 31px; 13330 border-radius: 64px; 13331 } 13332 13333 &.sdsm-content a[class*='button']:hover { 13334 background-color: ${e}; 13335 border-color: ${e}; 13336 color: ${t}; 13337 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); 13338 transform: translateY(-2px); 13339 } 13340 13341 &.sdsm-content a[class*='button']:active { 13342 background-color: ${e}; 13343 border-color: ${e}; 13344 color: ${t}; 13345 transform: translateY(-1px); 13346 } 13347`;var Ff=e=>{let{data:t}=de(If,{variables:{id:e.id}}),{getImageSources:o}=ve(),{title:n,body:a,titleAlignment:s,bodyAlignment:l,backgroundImage:p,backgroundColor:d,ctaColor:u,icon:y,callToActionsCollection:m,flex:g}=t?.arDownloadLinkCard||{},{media:{imageSource:f}}=Lt(p),{media:{imageSource:b,imageAltText:S}}=Lt(y);if(!t?.arDownloadLinkCard)return null;let C=Mt(n),I=Mt(a),k=m?.items?.map(A=>i(ft,{...A},A.sys.id)),v=b?i(Ke,{imgSrcs:o(b),altText:S}):void 0,w=u?UO(u,Jc(u)):void 0,_=d||"#000000FF",M=!f||d?Jc(_):void 0;return i(Es,{title:C,body:I,bodyAlignment:l,titleAlignment:s,asset:v,callsToAction:k,className:h(zO,w,{[GO]:!!f}),style:{...f&&{backgroundImage:`url("${f}")`},...!f&&{backgroundColor:_},...g&&{flex:g},...M&&{"--custom-text-color":M}}})};var WO=c` 13348 /* Override Block's default background color */ 13349 --bg-color: var(--custom-bg-color); 13350 13351 /* Increase specificity to override default Block styles */ 13352 &&& { 13353 background-color: var(--custom-bg-color); 13354 } 13355 13356 /* Target the block-children section to make it a flex container */ 13357 section[data-testid='sdsm-block-children'] { 13358 display: flex; 13359 flex-wrap: wrap; 13360 gap: ${r("--spacing-xl")}; 13361 } 13362 13363 /* Target each content card to apply the flex value */ 13364 section[data-testid='sdsm-block-children'] > .sdsm-content { 13365 /* Flex value will be set inline via style prop on the Content component */ 13366 min-width: 0; /* Prevent flex items from overflowing */ 13367 } 13368`,qO=(e,t)=>c` 13369 display: flex; 13370 justify-content: center; 13371 gap: ${r("--spacing-m")}; 13372 width: 100%; /* Force CTAs to next row */ 13373 flex-shrink: 0; 13374 13375 ${e&&t?` 13376 & > a[class*='button'] { 13377 background-color: ${e}; 13378 border: 2px solid ${e}; 13379 color: ${t}; 13380 padding: 11px 31px; 13381 border-radius: 64px; 13382 } 13383 13384 & > a[class*='button']:hover { 13385 background-color: ${e}; 13386 border-color: ${e}; 13387 color: ${t}; 13388 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); 13389 transform: translateY(-2px); 13390 } 13391 13392 & > a[class*='button']:active { 13393 background-color: ${e}; 13394 border-color: ${e}; 13395 color: ${t}; 13396 transform: translateY(-1px); 13397 } 13398 `:""} 13399`;var QO=({id:e})=>{let{data:t}=de(kf,{variables:{id:e}});if(!t?.arLinkOutsBlock)return null;let{backgroundColor:o,ctaColor:n,linksCollection:a,callsToActionCollection:s}=t.arLinkOutsBlock,l=a?.items||[],p=s?.items||[];if(l.length===0&&p.length===0)return null;let d=o||"#000000FF",u=n?Jc(n):void 0,y=qO(n,u);return x(To,{className:WO,style:{"--custom-bg-color":d},children:[l.map(m=>i(Ff,{id:m.sys.id},m.sys.id)),p.length>0&&i("div",{className:y,children:p.map(m=>i(ft,{...m},m.sys.id))})]})};var KO={questionnaireAll:F` 13400 fragment QuestionnaireBlockAll on QuestionnaireBlock { 13401 ...ContentfulSysId 13402 questionnaireTitle: title 13403 body { 13404 json 13405 } 13406 image { 13407 url 13408 } 13409 questionsCollection(limit: 20) { 13410 items { 13411 ...QuestionnaireQuestionAll 13412 } 13413 } 13414 startLabel 13415 submitLabel 13416 nextLabel 13417 backLabel 13418 skipLabel 13419 trackingIdLabel 13420 anchorId 13421 } 13422 `,questionnaireQuestionAll:F` 13423 fragment QuestionnaireQuestionAll on QuestionnaireQuestion { 13424 ...ContentfulSysId 13425 questionType 13426 question 13427 backgroundImage { 13428 url 13429 } 13430 body { 13431 json 13432 } 13433 answersCollection { 13434 items { 13435 ... on QuestionnaireAnswer { 13436 ...ContentfulSysId 13437 title 13438 description { 13439 json 13440 } 13441 image { 13442 url 13443 } 13444 } 13445 } 13446 } 13447 required 13448 } 13449 ${G} 13450 `},jO=F` 13451 query QuestionnaireEntryQuery($preview: Boolean!, $locale: String!, $id: String!) { 13452 questionnaireBlock(preview: $preview, locale: $locale, id: $id) { 13453 ...QuestionnaireBlockAll 13454 } 13455 } 13456 ${KO.questionnaireAll} 13457 ${KO.questionnaireQuestionAll} 13458`;
13458var bI=e=>{let{data:t}=de(jO,{variables:{id:e.id}}),o=Ooe(t);return o?i(void 0,{...o}):null};bI.displayName="QuestionnaireBlock";function Ooe(e){if(!e)return null;let{questionnaireBlock:t}=e,{questionsCollection:o}=t,n=o.items.map(a=>({id:a.sys.id,question:a.question,body:a.body,questionType:a.questionType,image:a.backgroundImage?.url,answers:Goe(a.answersCollection),required:a.required}));return{title:t.questionnaireTitle,body:t.body,image:t.image?.url,submitLabel:t.submitLabel,startLabel:t.startLabel,nextLabel:t.nextLabel,backLabel:t.backLabel,skipLabel:t.skipLabel,anchorId:t.anchorId,questions:n}}function Goe(e){return e?e.items.map(o=>({id:o.sys.id,text:o.title,imageUrl:o.image?.url,isSelected:!1})):[]}function SI(){let e={AiAgent:void 0,ArDownloadFormBlock:BO,ArDownloadIdCaptureBlock:OO,ArDownloadLinkCard:Ff,ArLinkOutsBlock:QO,CheeriosBlock:void 0,CheeriosStaticBlock:void 0,ChiliPiperFormBlock:void 0,CookieInformationBlock:void 0,JobApplyNowBlock:void 0,JobDescriptionBlock:void 0,JobHero:void 0,JobPostings:void 0,JobMobileCallToAction:void 0,QuestionnaireBlock:bI,SandboxCookieTest:void 0,LatestGalleryCardHero:void 0,RegistrationFormBlock:void 0,ArArkoseProtectedFormBlock:WV,LeadGenFormBlock:void 0,ExperienceSps2024Registration:void 0,ExperienceSps2024Confirmation:void 0,CventAuthenticator:void 0,ZkipsterAuthenticator:void 0,LiveEvent:void 0,StinsonDeepLinkBlock:void 0,SnapHomePage:void 0,SnapHomePageV2:void 0,StinsonBreadcrumbsBlock:void 0,StinsonCollectionsCarousel:void 0,StinsonMediaFeatureBlock:void 0,StinsonMultiVideoBlock:void 0,StinsonMultiVideoCarouselBlock:void 0,StinsonSplitBlock:void 0,StinsonStoreEventsBlock:void 0,StinsonPhaseOneHome:void 0,StinsonPhaseOnePdpHero:void 0,StinsonRevealHome:void 0,StinsonUseCasesBlock:void 0,StinsonMediaBlock:void 0,StinsonVideoBlock:void 0},t={};for(let[o,n]of Object.entries(e))n&&(t[o]=n);return t}var Gl=T(E());var hI=F` 13459 fragment BreadcrumbsAll on Slug { 13460 breadcrumbText 13461 slugParent { 13462 ...ContentfulSysId 13463 slug 13464 breadcrumbText 13465 slugParent { 13466 ...ContentfulSysId 13467 slug 13468 breadcrumbText 13469 slugParent { 13470 ...ContentfulSysId 13471 slug 13472 breadcrumbText 13473 } 13474 } 13475 } 13476 } 13477 ${G} 13478`,Bgt=F` 13479 query BreadcrumbsQuery($preview: Boolean!, $locale: String!, $id: String!) { 13480 slug(preview: $preview, locale: $locale, id: $id) { 13481 ...ContentfulSysId 13482 slug 13483 ...BreadcrumbsAll 13484 } 13485 } 13486 ${G} 13487 ${hI} 13488`;var CI=e=>{if(!e)return;let t=e.slugParent,o=e.breadcrumbText;if(!t||!o)return;let n=[];if(e.slugParent?.slugParent?.breadcrumbText){let a=e.slugParent.slugParent,s=e.slugParent.slugParent.breadcrumbText;n.push({id:a.sys?.id??`breadcrumb-${n.length}`,slug:a.slug?`/${a.slug}`:void 0,breadcrumbText:s})}if(e.slugParent?.breadcrumbText){let a=e.slugParent,s=e.slugParent.breadcrumbText;n.push({id:a.sys?.id??`breadcrumb-${n.length}`,slug:a.slug?`/${a.slug}`:void 0,breadcrumbText:s})}return e.breadcrumbText&&n.push({id:e.sys?.id??`breadcrumb-${n.length}`,slug:e.slug?`/${e.slug}`:void 0,breadcrumbText:e.breadcrumbText}),n.length>1?n:void 0},DG=e=>{if(typeof window>"u")return;let t=CI(e);if(t?.length)return{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:t.map((o,n)=>({"@type":"ListItem",position:n+1,name:o.breadcrumbText,item:o.slug?`${window.location.origin}${o.slug}`:void 0}))}};var PG=T(Sa()),NG=e=>{if(e)return typeof e=="string"?e:(0,PG.documentToPlainTextString)(e.json)};var EG={month:"long",day:"2-digit",year:"numeric",timeZone:"UTC"},RG=({fallbackDate:e,header:t,isExpectingDate:o})=>{if(!o&&t)return()=>i(se,{children:jt(t)});let n=typeof t=="string"?t:NG(t)??"",a=new Date(n),s=!Number.isNaN(a.getTime());return o&&s?()=>{let{formatDate:l}=Zn();return i(se,{children:l(a,EG)})}:o&&e?()=>{let{formatDate:l}=Zn();return i(se,{children:l(e,EG)})}:null};var xI=e=>e?.__typename==="CarouselV3";var zoe={sizeToUrl:[1,2,3].map(e=>({size:`${e}x`,settings:{width:460*e,height:84*e}})),sizes:Bm},Uoe=(e,t)=>{let o=s=>{let l=s?.width??0,p=s?.height??0;if(!(l<=0||p<=0))return{height:p,width:l}},n=o(e),a=o(t);if(!(!n&&!a))return{desktop:n,mobile:a}},Woe=(e,t,o,n,a)=>{let s;if((Dc(e)||gg(e))&&(s=e?.stickersCollection?.items?.map(l=>({imgSrcs:t(l?.asset?.url),position:l?.position,rotation:l?.rotation}))),Dc(e)){let l=Ve(e.mobileMedia).videoSource;return i(gn,{mobileVideoSource:l,videoSource:n,posterSource:a,dataset:o,stickers:s})}if(gg(e)){let{imageSource:l,imageAltText:p}=Ve(e.media),{imageSource:d}=Ve(e.mobileMedia),{desktopSettings:u,mobileSettings:y}=ot({desktopHeight:e.media?.height??0,mobileHeight:e.mobileMedia?.height,desktopDefaultHeight:650,mobileDefaultHeight:650,enableHighDpi:e.enableHighDpi,quality:e.quality}),m=$e({desktop:t(l,u),mobile:t(d??l,y)});return i(gn,{imgSrcs:m,altText:p,dataset:o,stickers:s})}if(xI(e))return i(qc,{...e,isInsideHero:!0});if(e.__typename==="SnapchatEmbed")return i(Qs,{...e,dataset:o})},Zc=e=>{let{eyebrow:t,title:o,subTitle:n,body:a,backgroundMediaLayout:s=Ti.FullScreen,backgroundMediaV2:l,callsToActionCollection:p,isHeaderDate:d=!1,header:u,headerMediaV2:y,brandBackgroun
13488dColor:m,backgroundColor:g,theme:f,textAlign:b,textAlignMobile:S,verticalTextAlign:C,fitWindow:I=!1,curtainOpacityPercentage:k,foreground:v,mediaWrap:w,className:_,footer:D,showMediaMobile:M,anchorId:A,sys:N,postChildren:$,size:B,showScrollButton:L,topics:H=[],displayTopics:z,increaseTitleFontSize:j}=e,ue=tt(m),ie=(0,Gl.useContext)(Je),ne=(0,Gl.useContext)(Se).elementLocation,{breadcrumbData:J}=(0,Gl.useContext)(Fo),pe=CI(J),re=(0,Gl.useRef)(null),{fallbackDate:Q,shareable:Y=!1}=e,{media:{imageSource:Z,imageAltText:U,videoSource:R,imageSize:X},mobileMedia:{imageSource:W,imageAltText:le,videoSource:ee,imageSize:be},thumbnailSource:q}=Lt(l),ce=y?.media,{imageSource:_e,imageAltText:me,imageSize:Ie}=Ve(ce),he=y?.mobileMedia,{imageSource:Ae,imageSize:Pt}=Ve(he),pt=Uoe(Ie,Pt),so=p?.items?.map(Rt=>i(ft,{...Rt},Rt.sys.id)),bo=Re({entryId:N.id,fieldIds:["eyebrow","title","subTitle","body","header","foreground"]}),{getImageSources:rt}=ve(),{media:{videoSource:ke},thumbnailSource:Fe}=Lt(v&&Dc(v)?v:void 0),Qo=v?Woe(v,rt,bo.foregroundDataset,ke,Fe):void 0,lo=ht(g)?void 0:g,ye=ht(f)?void 0:f,Vt=RG({header:u,isExpectingDate:d,fallbackDate:Q}),gt={size:zoe},St=$e({desktop:rt(_e,gt),mobile:rt(Ae,gt)}),Nt=UC(800,X?.height??0),So;if(l?.__typename==="Image"){let{desktopSettings:Rt,mobileSettings:pa}=ot({desktopHeight:X?.height??0,mobileHeight:be?.height,enableHighDpi:l.enableHighDpi,quality:l.quality});So=$e({desktop:rt(Z,Rt),mobile:rt(W,pa)})}let Et,ho;if(hd(ie.getLowEntropyHints())&&Z&&So){let Rt=So.sources?.find(pa=>pa.type==="image/avif")?.url;Nt.additionalDpr?(Et={url:kr(Z,{image:{format:"avif",...Nt.baseDprSettings}}),dpr:Nt.additionalDpr.dpr-1e-4},ho={url:kr(Z,{image:{...Nt.additionalDpr.settings,format:"avif"}}),dpr:Nt.additionalDpr.dpr}):Rt&&(Et={url:Rt})}let Bo=B??"Regular";v&&xI(v)&&(Bo="Regular");let Co=()=>{if(!re.current)return;fe({eventCategory:"Hero",eventAction:"Click",eventLabel:null,context:{elementLocation:ne}});let Rt=Pg()??0,lb=re.current.getBoundingClientRect().bottom+window.scrollY-Rt;window.scrollTo({top:lb,left:0,behavior:"smooth"})},dd=z&&H.map(Rt=>i(L$,{displayText:Rt.displayText||"",url:Rt.linksTo},Rt.sys.id)),ud=l?.stickersCollection?.items?.map(Rt=>({imgSrcs:rt(Rt?.asset?.url),position:Rt?.position,rotation:Rt?.rotation}));return x(se,{children:[!O.isClient&&Et&&x(vt,{children:[i("link",{rel:"preload",href:Et.url,as:"image",fetchpriority:"high",media:ho?`(-webkit-max-device-pixel-ratio: ${Et.dpr})`:""}),ho&&i("link",{rel:"preload",href:ho.url,as:"image",fetchpriority:"high",media:`(-webkit-min-device-pixel-ratio: ${ho.dpr})`})]}),i(Oh,{ref:re,eyebrow:t,title:Mt(o),subTitle:wr(n),body:wr(a),backgroundMediaLayout:s,backgroundVideoSource:R,backgroundPosterSource:q,mobileBackgroundVideoSource:ee,callsToAction:so?.length?so:void 0,header:Vt?i(Vt,{}):void 0,foregroundMedia:Qo,motifScheme:ue,backgroundColor:lo||ye,bgImgSrcs:So,bgImgAltText:U??le,headerImgSrcs:St,headerImgAltText:me,headerMediaPixelSize:pt,textAlign:b,textAlignMobile:S,verticalTextAlign:C,fitWindow:ht(I)?!1:I,curtainOpacityPercentage:k??void 0,wrapMedia:w,shareable:Y,className:_,footer:D,showMediaMobile:M,anchorId:A,...Gt(bo,"foregroundDataset"),postChildren:$,size:Bo,showScrollButton:L,onScrollDownButtonClick:Co,breadcrumbs:pe,breadcrumbsPropsOverride:O.theme?.componentPropsOverrides?.breadcrumbs,topics:dd,backgroundMediaStickers:ud,increaseTitleFontSize:j})]})};Zc.displayName="Hero";var vI=T(Cb());var $G=T(E());var FG=F` 13489 fragment PageBlocksCollection on Page { 13490 ...ContentfulSysId 13491 blocksCollection(limit: ${Oi}) { 13492 items { 13493 __typename 13494 ... on BlockHero { 13495 ...BlockHeroAll 13496 } 13497 ... on Block { 13498 ...ContentfulSysId 13499 title { 13500 json 13501 } 13502 } 13503 } 13504 } 13505 } 13506 ${G} 13507`,BG=F` 13508 query LatestPostHero($locale: String!, $preview: Boolean!) { 13509 slugCollection( 13510 limit: 1 13511 order: postedDate_DESC 13512 where: { AND: [{ slugType_contains: "Blog" }] } 13513 locale: $locale 13514 preview: $preview 13515 ) { 13516 items { 13517 ...ContentfulSysId 13518 slug 13519 postedDate 13520 author { 13521 ...ContentfulSysId 13522 name 13523 position 13524 slug 13525 } 13526 page { 13527 ...PageAssetAll 13528 ...ExperimentOnPageLoadingPageBlocksCollection 13529 } 13530 } 13531 } 13532 } 13533 ${G} 13534 ${wl.all} 13535 ${FG} 13536 ${ei("Page","PageBlocksCollection",FG)} 13537 ${Dl} 13538`;var LG=({backgroundColor:e,postChildren:t})=>{let{data:o}=de(BG),{formatMessage:n}=(0,$G.useContext)(Qe),{pathname:a}=Wt(),s=n({id:"viewArticle",defaultMessage:"View Article"}),l={json:{data:{},content:[{data:{},content:[{data:{},marks:[],value:s,nodeType:"text"}],nodeType:vI.BLOCKS.PARAGRAPH}],nodeType:vI.BLOCKS.DOCUMENT},links:void 0},p=o?.slugCollection.items[0],d=p?.slug,u,y;switch(p?.page.__typename){case"Page":y=p.page.blocksCollection,u=y.items.find(f=>f.__typename==="BlockHero");break;case"PageAsset":u={__typename:"BlockHero",sys:{id:"asset_block_hero"},title:p?.page?.media?.title,body:p?.page?.media?.description};break;case"Experiment":{y=p.page.defaultReference.blocksCollection,u=y.items.find(f=>f.__typename==="BlockHero");break}}if(!u&&y){let f=y.items.find(b=>!!(b&&"title"in b&&b.title));f&&(Be({component:"LatestPostHero",message:`Latest post "${d}
13538" does not have a hero. Using fallback title from ${f.__typename}`}),u={__typename:"BlockHero",sys:{id:`fallback_from_${f.__typename}`},title:f.title,backgroundColor:no.Black})}let m={items:[{_id:"generated",sys:{id:"generated"},url:d,analytics:{_id:"generated",sys:{id:"generated"},label:`Latest Post Hero CTA: ${a}`},presentation:{__typename:"Button",_id:"generated",sys:{id:"generated"},url:d,title:l,buttonType:"Primary"}}]};if(!u)return null;let g=u.backgroundColor??e??no.White;return e??(e=no.White),i(Zc,{...u,callsToActionCollection:m,backgroundColor:g,theme:e,postChildren:t})};var $f=T(E());var HG=e=>window.matchMedia(e),qoe=(e,t=HG)=>{let o=e.getAttribute("media");return o?t(o).matches:!0},VG=(e,t=HG)=>{let o=Array.from(e.querySelectorAll("source"));for(let n of o){let a=n.getAttribute("src");if(a&&qoe(n,t))return a}return null};var ed="activeHlsSource",Qoe="deferHlsLoad",Koe="hlsLoadRequested",joe="mwp-hls-load-request",OG=e=>e.dataset[Qoe]==="true",II=e=>e.dataset[Koe]==="true";var GG=e=>{let t=VG(e);return t?.endsWith(".m3u8")?t:null},zG=(e,t,o)=>e.dataset[ed]!==t?!1:o.has(e)?!0:!!(window.Hls&&!window.Hls.isSupported()),UG=(e,t,o)=>e.isConnected?o.get(e)!==t:!0,WG=e=>({savedCurrentTime:e.currentTime,wasPlaying:!e.paused}),qG=(e,t)=>{e.dataset[ed]=t},QG=(e,t,o,n,a)=>{let s=new window.Hls({startLevel:-1,autoStartLoad:!OG(e)});return s.loadSource(t),s.attachMedia(e),s.on(window.Hls.Events.MANIFEST_PARSED,()=>{a.initGenerationByVideo.get(e)===o&&(e.currentTime=n.savedCurrentTime,n.wasPlaying&&e.play()?.catch(()=>{}))}),a.hlsByVideo.set(e,s),a.managedVideos.add(e),e.dataset[ed]=t,s},KG=(e,t,o)=>{if(e.getAttribute("preload")==="auto"&&!OG(e))return;let a=new AbortController;o.preloadListenerAbortByVideo.set(e,a);let{signal:s}=a;e.addEventListener("loadedmetadata",()=>{e.paused&&!II(e)&&t.stopLoad()},{once:!0,signal:s}),e.addEventListener("play",()=>t.startLoad(),{signal:s}),e.addEventListener(joe,()=>{II(e)?t.startLoad():t.stopLoad()},{signal:s}),(!e.paused||II(e))&&t.startLoad()};var jG=({children:e})=>{let t=It(),o=(0,$f.useRef)(null),n=t.enableHlsPlayback==="true";return(0,$f.useEffect)(()=>{if(!n||!o.current)return;let a=!0,s=new WeakMap,l=new Set,p=new WeakMap,d=new WeakMap,u=S=>{let C=d.get(S);C&&(C.abort(),d.delete(S));let I=s.get(S);I&&(I.destroy(),s.delete(S)),l.delete(S),delete S.dataset[ed]},y=()=>new Promise(S=>{if(window.Hls){S();return}er("hls.js","/hls.min.1.5.18.js",S)}),m={hlsByVideo:s,managedVideos:l,initGenerationByVideo:p,preloadListenerAbortByVideo:d},g=async S=>{let C=GG(S);if(!C||zG(S,C,s))return;let I=(p.get(S)??0)+1;if(p.set(S,I),await y(),!a||UG(S,I,p))return;let k=WG(S);if(u(S),!window.Hls.isSupported()){qG(S,C);return}let v=QG(S,C,I,k,m);KG(S,v,m)};(()=>{let S=o.current?.querySelectorAll("video")??[];for(let C of Array.from(S))g(C).catch(I=>{Be({component:"HlsInitializer",message:"Failed to initialize Hls for video",error:I})})})();let b=new MutationObserver(S=>{for(let D of l)D.isConnected||u(D);let I=S.filter(D=>D.type==="childList").flatMap(D=>Array.from(D.addedNodes)).filter(D=>D instanceof HTMLElement),k=I.filter(D=>D instanceof HTMLVideoElement),w=I.filter(D=>!(D instanceof HTMLVideoElement)).flatMap(D=>Array.from(D.querySelectorAll("video"))),_=[...k,...w];for(let D of _)g(D).catch(M=>{Be({component:"HlsInitializer",message:"Failed to initialize Hls for video",error:M})})});return b.observe(o.current,{childList:!0,subtree:!0}),()=>{a=!1;for(let S of[...l])u(S);b.disconnect()}},[n]),i("article",{ref:o,"data-testid":"mwp-hls-init",children:e})};var kI=T(Sa());var YG=e=>{let{getImageSources:t}=ve(),{media:{imageSource:o,videoSource:n,contentType:a},mobileMedia:{imageSource:s,videoSource:l,contentType:p},thumbnailSource:d}=Lt(e.media),u,y;if(e.media?.__typename==="Image"){let{desktopSettings:b,mobileSettings:S}=ot({desktopHeight:e.media.media?.height??0,mobileHeight:e.media.mobileMedia?.height,enableHighDpi:e.media.enableHighDpi,quality:e.media.quality});u=$e({desktop:t(o,b),mobile:t(s,S)})}e.media?.__typename==="Video"&&(y={source:n??"",mobileSource:l,sourceType:a,mobileSourceType:p,posterSource:d});let m=e.slugReference?.slug||"",g=e.title?.json?e.title.json:"",f=e.label?.json?e.label?.json:"";return i(Gn,{title:(0,kI.documentToPlainTextString)(g),body:(0,kI.documentToPlainTextString)(f),url:m?`/${m}`:void 0,imgSrcs:u,imgAltText:e.media?.media?.description,videoSource:y?.source,mobileVideoSource:y?.mobileSource,posterSource:y?.posterSource,aspectRatio:"9:16",shouldLoad:!0},`${e.__typename}-${e.sys.id}`)};var MI=e=>{let{title:t,tilesDirection:o,text:n,textAlignmentMobile:a,eyebrow:s,brandBackgroun
13538dColor:l,backgroundColor:p,anchor:d,tilesCollection:u}=e,y=tt(l);return i(Gh,{title:Mt(t),eyebrow:s,tilesDirection:o,text:n,textAlignmentMobile:a,motifScheme:y,backgroundColor:p,anchor:d,children:u.items.map(m=>YG(m))})};MI.displayName="ImmersiveScrollBlock";var AI=T(E());var Yoe=e=>{let{isRTL:t}=(0,AI.useContext)(oe),{getImageSources:o}=ve(),n=(0,AI.useContext)(Se).elementLocation,{data:a}=de(QH.all,{skip:sg(e),variables:{id:e.sys.id}}),s=a?.tile??e;if(!s)return null;let{url:l}=e,{title:p,label:d,media:u,imageSize:y,imageFit:m,url:g}=s,{afterClick:f,beforeClick:b,onClick:S,imageSize:C,imageFit:I}=e,{imageSource:k,imageAltText:v}=Ve(u?.media),w=()=>{b?.(),S?.(),fe({eventCategory:"Tile",eventAction:"Click",eventLabel:null,context:{targetUrl:M,elementLocation:n}}),f?.()},_=y??C,D=m??I,M=g??l,A=o(k,{image:{height:ac[_??hr.Large]*2}});return i(xC,{title:jt(p),label:jt(d),onClick:w,imageSize:_,imageFit:D,imgSrcs:A,imgAltText:v,imagePadding:_===hr.Small&&D===Un.Contain,link:M,isRTL:t})};Yoe.displayName="Tile";var TI=F` 13539 fragment ImmersiveScrollBlockAll on ImmersiveScrollBlock { 13540 ...ContentfulSysId 13541 eyebrow 13542 title { 13543 json 13544 links { 13545 entries { 13546 inline { 13547 ...ContentfulSysId 13548 ... on EmphasizedText { 13549 ...EmphasizedTextAll 13550 } 13551 } 13552 } 13553 } 13554 } 13555 text 13556 tilesCollection(limit: 4) { 13557 items { 13558 ...ContentfulSysId 13559 ...ImmersiveScrollBlockTile 13560 } 13561 } 13562 tilesDirection 13563 textAlignmentMobile 13564 brandBackgroundColor 13565 backgroundColor 13566 anchor 13567 } 13568 ${G} 13569 ${Xa} 13570 ${ri.immersiveScrollBlockTile} 13571`,Fbt=F` 13572 query ImmersiveScrollBlockQuery($preview: Boolean!, $locale: String!, $id: String!) { 13573 immersiveScrollBlock(preview: $preview, locale: $locale, id: $id) { 13574 ...ImmersiveScrollBlockAll 13575 } 13576 } 13577 ${TI} 13578`;function Xoe(e){if(e=e.trim(),e.startsWith("<meta")){let t=/name="([^"]+)"/.exec(e)?.[1]??"unknown",o=/content="([^"]+)"/.exec(e)?.[1]??"unknown";return{name:encodeURIComponent(t),content:encodeURIComponent(o)}}if(!/['"><]/.test(e)&&e.includes("=")){let[t,o]=e.split("=");return{name:encodeURIComponent(t.trim()),content:encodeURIComponent(o.trim())}}return Pe.logWarning({component:"Meta",action:"parse-custom-meta",message:`Unable to parse custom metadata: "${encodeURIComponent(e)}"`}),{name:"unparseable-meta",content:encodeURIComponent(e)}}var _I=e=>{let{customMetas:t}=e,o=t?.map(Xoe)??[],n=e.ogImage&&Cn({imageUrl:e.ogImage.url,settings:{height:512}}),a={description:e.description,ogTitle:e.ogTitle,ogImage:n,ogVideo:e.ogVideo?.url,noIndex:!!e.noIndex,noFollow:!!e.noFollow,customMetas:o};return i(Ii,{...a})};_I.displayName="Metas";var XG=F` 13579 fragment BlogSchemaAll on BlogSchema { 13580 ...ContentfulSysId 13581 headline 13582 description 13583 imagesCollection(limit: 10) { 13584 items { 13585 url 13586 } 13587 } 13588 } 13589 ${G} 13590`;var JG=F` 13591 fragment FaqPageSchemaAll on FaqPageSchema { 13592 itemsCollection { 13593 items { 13594 ...ContentfulSysId 13595 question 13596 answer { 13597 json 13598 } 13599 } 13600 } 13601 } 13602 ${G} 13603`;var ZG=T(wC()),wI="https://schema.org";function ez(e,t,o,n,a){switch(t.__typename){case"BlogSchema":return Joe(e,t,o,n,a);case"OrganizationSchema":return Zoe(e,t);case"FaqPageSchema":return ene(t);default:return}}function tz(e){return{"@type":"Organization",name:e.name,logo:e.logo?.url&&{"@type":"ImageObject",url:e.logo?.url},url:e.url}}function Joe(e,t,o,n,a){let s=a&&tz(a),l=t.imagesCollection?.items?.map(p=>p.url).filter(p=>p!==void 0);return{"@context":wI,"@type":"BlogPosting",mainEntityOfPage:{"@type":"WebPage","@id":e},headline:t.headline,description:t.description,image:l,author:s,publisher:s,datePublished:o?.toISOString(),dateModified:n?.toISOString()}}function Zoe(e,t){let o=tz(t);return{"@context":wI,"@type":"Organization",brand:o,description:t?.description,name:t?.name,sameAs:t?.sameAs,url:e}}function ene(e){let t=e.itemsCollection?.items?.map(o=>({"@type":"Question",name:o.question,acceptedAnswer:{"@type":"Answer",text:(0,ZG.documentToHtmlString)(o.answer.json)}}))??[];return{"@context":wI,"@type":"FAQPage",mainEntity:t}}var DI=F` 13604 fragment OrganizationSchemaAll on OrganizationSchema { 13605 ...ContentfulSysId 13606 name 13607 description 13608 url 13609 logo { 13610 url 13611 } 13612 sameAs 13613 } 13614 ${G} 13615`,oz=F` 13616 query OrganizationSchemaCollectionQuery($preview: Boolean!, $locale: String!) { 13617 organizationSchemaCollection(preview: $preview, locale: $locale, limit: 1) { 13618 items { 13619 ...OrganizationSchemaAll 13620 } 13621 } 13622 } 13623 ${DI} 13624`;var PI=T(E());var NI=e=>{let{schemas:t}=e,{getCurrentUrl:o}=(0,PI.useContext)(oe),{publishedAt:n,postedDate:a}=(0,PI.useContext)(Fo),s=o(),{data:l}=de(oz),p=t.map(d=>ez(s,d,a,n,Zi(l?.organizationSchemaCollection?.items||[])));return i(vt,{children:p.map((d,u)=>d&&i("script",{type:"application/ld+json",children:JSON.stringify(d)},`schema-${u}`))})};NI.displayName="WebSchemas";var EI={all:F` 13625 fragment MetaAll on Metas { 13626 ...ContentfulSysId 13627 description 13628 ogTitle 13629 ogImage { 13630 url 13631 } 13632 ogVideo { 13633 url 13634 } 13635 noIndex 13636 noFollow 13637 customMetas 13638 schemasCollection(limit: 5) { 13639 items { 13640 ...ContentfulSysId 13641 ...BlogSchemaAll 13642 ...OrganizationSchemaAll 13643 ...FaqPageSchemaAll 13644 } 13645 } 13646 } 13647 ${XG} 13648 ${DI} 13649 ${JG} 13650 ${G} 13651 `},hSt=F` 13652 query MetasQuery($preview: Boolean!, $locale: String!, $id: String!) { 13653 metas(preview: $preview, locale: $locale, id: $id) { 13654 ...MetaAll 13655 } 13656 } 13657 ${EI.all} 13658`;var Lf=e=>!e||!e.length?[]:e.map(t=>({...t,id:t.sys.id})),RI=({children:e,id:t,togglePanelClassName:o,togglePanelLabel:n,preChildren:a,postChildren:s,...l})=>{let{data:p}=de(df,{variables:{id:t}});if(p){let{anchorId:d,panelPosition:u,primaryVideosCollection:y,secondaryVideosCollection:m,mobilePrimaryVideosCollection:g,mobileSecondaryVideosCollection:f}=p.multiVideoBlock;
13658return i(Yh,{anchorId:d,id:t,toggleButtonIcons:["hover","reveal","follow","orbit"],panelPosition:u,primaryVideos:Lf(y?.items),secondaryVideos:Lf(m?.items),mobilePrimaryVideos:Lf(g?.items),mobileSecondaryVideos:Lf(f?.items),togglePanelLabel:n,togglePanelClassName:o,preChildren:a,postChildren:s,...l,children:e})}return null};RI.displayName="MultiVideoBlock";var zl=T(E());var nz=c` 13659 background-color: ${r("--bg-color")}; 13660 bottom: 0; 13661 opacity: 0; 13662 padding: ${r("--spacing-xs")}; 13663 position: sticky; 13664 transition: opacity 300ms ease-in-out, visibility 0s 300ms; 13665 visibility: hidden; 13666 z-index: ${De.MOBILE_CTA}; 13667 13668 .${"sdsm-button"}.${"sdsm-button"} { 13669 align-items: center; 13670 border-radius: ${r("--persistent-cta-button-border-radius")}; 13671 display: flex; 13672 justify-content: center; 13673 min-height: 54px; /* Custom for this feature. */ 13674 } 13675`,rz=c` 13676 opacity: 1; 13677 transition: opacity 300ms ease-in-out, visibility 0s 0s; 13678 visibility: visible; 13679`;var FI=({mobileCta:e,shouldScrollToShow:t})=>{let[o,n]=(0,zl.useState)(!t),a=(0,zl.useMemo)(()=>e.presentation?{...e.presentation,buttonType:Lo.Primary}:void 0,[e.presentation]);return(0,zl.useEffect)(()=>{if(!a||!t)return;let s=()=>{let l=window.scrollY>=window.innerHeight;n(l)};return document.addEventListener("scroll",s,{passive:!0}),s(),()=>{document.removeEventListener("scroll",s)}},[a,t]),a?i("aside",{"data-testid":"mwp-persistent-cta",className:h("sdsm-secondary",nz,{[rz]:o}),"aria-hidden":!o,children:i(ft,{...e,presentation:a})}):null};FI.displayName="PersistentCta";var tne=F` 13680 fragment ScrollAnimatedVideoAll on ScrollAnimatedVideo { 13681 ...ContentfulSysId 13682 mp4Source { 13683 ...AssetAll 13684 } 13685 webmSource { 13686 ...AssetAll 13687 } 13688 scrubStart 13689 scrubEnd 13690 videoStart 13691 videoEnd 13692 } 13693 ${G} 13694 ${Mn} 13695`,BI=F` 13696 fragment ScrollAnimatedSectionAll on ScrollAnimatedSection { 13697 ...ContentfulSysId 13698 scrollHeight 13699 animatedContentCollection { 13700 items { 13701 ...ScrollAnimatedVideoAll 13702 } 13703 } 13704 mobileContentCollection { 13705 items { 13706 ...BlockAll 13707 } 13708 } 13709 anchorId 13710 } 13711 ${tne} 13712 ${G} 13713 ${Mn} 13714 ${Za} 13715`,KSt=F` 13716 query ScrollAnimatedSectionQuery($preview: Boolean!, $locale: String!, $id: String!) { 13717 scrollAnimatedSection(preview: $preview, locale: $locale, id: $id) { 13718 ...ScrollAnimatedSectionAll 13719 } 13720 } 13721 ${BI} 13722`;var sa=T(E());var one=c` 13723 height: calc(100vh - var(${Ht})); 13724 top: var(${Ht}); 13725`,nne=c` 13726 position: absolute; 13727 object-fit: cover; 13728 width: 100%; 13729 height: 100%; 13730`,az=({anchorId:e,scrollHeight:t=1,animatedContentCollection:o})=>{let n=(0,sa.useRef)(null),a=(0,sa.useRef)(64);(0,sa.useEffect)(()=>{a.current=Pg()},[]);let s=(0,sa.useCallback)(()=>{if(!n.current)return 0;let p=(n.current.getBoundingClientRect().top-a.current)*-1,d=n.current.offsetHeight-window.innerHeight;return p/d},[]),l=(0,sa.useMemo)(()=>({height:`${t*100}vh`}),[t]);return i(s4,{anchorId:e,innerContainerClassName:one,containerRef:n,style:l,children:o?.items.map(p=>{let{sys:d,mp4Source:u,webmSource:y,videoStart:m,videoEnd:g,scrubStart:f=0,scrubEnd:b=100}=p;return!u?.url||!y?.url?null:i(l4,{calculateScrollProgress:s,className:nne,scrubEnd:b,scrubStart:f,videoEnd:g,videoMp4Src:u.url,videoStart:m,videoWebmSrc:y?.url},d.id)})})};var Hf=c` 13731 display: flex; 13732 width: 100%; 13733 justify-content: left; 13734 margin: auto; 13735 max-width: ${po}px; 13736 13737 html[dir='rtl'] & { 13738 justify-content: right; 13739 } 13740 13741 ${P} { 13742 display: block; 13743 } 13744`,Vf=c` 13745 ::before { 13746 background-color: ${r("--gutter-color")}; 13747 content: ''; 13748 height: 100vh; 13749 inset: 0; 13750 position: fixed; 13751 width: 100vw; 13752 z-index: -10; 13753 } 13754`,iz=c` 13755 overflow: clip; 13756`,Ul=c` 13757 min-height: calc(100vh - var(--total-header-height)); 13758 min-height: calc(100dvh - var(--total-header-height)); 13759`;var sz=e=>{let{getImageSources:t}=ve(),{splitBlockTitle:o,splitBlockSubtitle:n,splitBlockBody:a,media:s,callsToActionCollection:l,splitBlockBody:p,mediaCaption:d,anchorId:u,brandBackgroundColor:y,sys:m,...g}=e,f=tt(y),b=Re({entryId:m.id,fieldIds:["title","subtitle","body","mediaCaption"]}),{media:{imageSource:S,imageAltText:C,videoSource:I,contentType:k},mobileMedia:{imageSource:v,imageAltText:w,videoSource:_,contentType:D},thumbnailSource:M}=Lt(s),A=s.__typename,N,$;if(A==="Image"){let{desktopSettings:H,mobileSettings:z}=ot({desktopHeight:s.media?.height??0,mobileHeight:s.mobileMedia?.height,enableHighDpi:s.enableHighDpi,quality:s.quality});
13759N=$e({desktop:t(S,H),mobile:t(v,z)})}A==="Video"&&($={videoSource:I,mobileVideoSource:_,mediaContentType:k,mobileMediaContentType:D,posterSource:M});let B=l?.items?.map(H=>i(ft,{...H},H.sys.id)),L=s?.stickersCollection?.items?.map(H=>({imgSrcs:t(H?.asset?.url),position:H?.position,rotation:H?.rotation}));return i(U4,{title:o,subtitle:n,body:Tn(a),callsToAction:B?.length?B:void 0,imageSources:N,imageAltText:C??w??d,mediaCaption:d,stickers:L,motifScheme:f,anchorId:u,...b,...$,...g})};var la=T(E());var lz=["wheel","touchstart","pointerdown","keydown"],pz={capture:!0,passive:!0},Of,rne=e=>{e.scrollIntoView({behavior:"smooth"})},td=(e,t=rne)=>{Of?.();let o=document.getElementById(e.slice(1));if(!o||(t(o),typeof ResizeObserver>"u"))return;let n=new ResizeObserver(()=>t(o)),a=()=>{n.disconnect(),clearTimeout(s);for(let l of lz)window.removeEventListener(l,a,pz);Of===a&&(Of=void 0)},s=setTimeout(a,2e3);for(let l of lz)window.addEventListener(l,a,pz);n.observe(document.body),Of=a};var cz="mwp-page-sibling";var Gf=F` 13760 fragment PageShallow on Page { 13761 ...ContentfulSysId 13762 blocksCollection(limit: ${Oi}) { 13763 items { 13764 # For non-standard blocks, just preload their ids. 13765 ...ContentfulSysId 13766 # For blocks, alse preload the content ids. 13767 ... on Block { 13768 ...BlockShallow 13769 } 13770 } 13771 } 13772 } 13773 ${Ig} 13774 ${G} 13775`,ane=F` 13776 fragment BannerAll on Banner { 13777 ...ContentfulSysId 13778 content { 13779 json 13780 links { 13781 entries { 13782 inline { 13783 ... on CallToAction { 13784 ...CallToActionAll 13785 } 13786 } 13787 } 13788 } 13789 } 13790 brandBackgroundColor 13791 backgroundColor 13792 } 13793 ${G} 13794 ${nt} 13795`,ine={all:F` 13796 fragment PageAll on Page { 13797 ...ContentfulSysId 13798 title 13799 metas { 13800 ...MetaAll 13801 } 13802 banner { 13803 ...BannerAll 13804 # In case there's a MobileCta inside banner, we want to retrieve its ID. 13805 ...ContentfulSysId 13806 } 13807 brandBackgroundColor 13808 backgroundColor 13809 backgroundMediaV2 { 13810 __typename 13811 ... on Video { 13812 ...VideoAll 13813 } 13814 ... on Image { 13815 ...ImageAll 13816 } 13817 } 13818 backgroundMediaStyle 13819 stretchPageBackgroundColor 13820 blocksCollection(limit: ${Oi}) { 13821 items { 13822 ...ContentfulSysId 13823 ... on Block { 13824 ...BlockAll 13825 } 13826 ... on BlockHero { 13827 ...BlockHeroAll 13828 } 13829 ... on LatestPosts { 13830 brandBackgroundColor 13831 backgroundColor 13832 } 13833 ... on Break { 13834 ...BreakAll 13835 } 13836 ... on SubNavigation { 13837 ...SubNavigationAll 13838 } 13839 ... on ScrollAnimatedSection { 13840 ...ScrollAnimatedSectionAll 13841 } 13842 ... on SplitBlock { 13843 ...SplitBlockAll 13844 } 13845 ... on MultiValuePropBlock { 13846 ...MultiValuePropBlockAll 13847 } 13848 ... on BlockTabs { 13849 ...BlockTabsAll 13850 } 13851 ... on ImmersiveScrollBlock { 13852 ...ImmersiveScrollBlockAll 13853 } 13854 } 13855 } 13856 mobileCta { 13857 ...CallToActionAll 13858 } 13859 footnotesCollection(limit: 50) { 13860 items { 13861 ... on FootNotes { 13862 ...FootNotesAll 13863 } 13864 } 13865 } 13866 collapseFootnotes 13867 footerView 13868 headerView 13869 scrollSnap 13870 localizedIn 13871 showAiLocalizationBanner 13872 denseLayout 13873 } 13874 ${ane} 13875 ${Za} 13876 ${BI} 13877 ${kt.all} 13878 ${nt} 13879 ${wl.all} 13880 ${Vc.all} 13881 ${EI.all} 13882 ${G} 13883 ${Kv} 13884 ${wv} 13885 ${Qv} 13886 ${Wc} 13887 ${_v} 13888 ${TI} 13889 `},dz=F` 13890 fragment PageNavigationShallow on Page { 13891 ...ContentfulSysId 13892 sideNavigation { 13893 ...ContentfulSysId 13894 } 13895 } 13896 ${G} 13897`,uz=F` 13898 query PageQuery($preview: Boolean!, $locale: String!, $id: String!) { 13899 page(preview: $preview, locale: $locale, id: $id) { 13900 ...PageAll 13901 } 13902 } 13903 ${ine.all} 13904`,yz=F` 13905 fragment SiteMapPage on Page { 13906 sys { 13907 id 13908 } 13909 metas { 13910 noIndex 13911 } 13912 localizedIn 13913 } 13914`,mz=F` 13915 query PageBlocksCollectionQuery( 13916 $preview: Boolean! 13917 $locale: String! 13918 $ids: [String]! 13919 $limit: Int = 10 13920 ) { 13921 entryCollection( 13922 preview: $preview 13923 locale: $locale 13924 where: { sys: { id_in: $ids } } 13925 limit: $limit 13926 ) { 13927 items { 13928 ...ContentfulSysId 13929 ... on Block { 13930 ...BlockAll 13931 } 13932 ... on BlockHero { 13933 ...BlockHeroAll 13934 } 13935 } 13936 } 13937 } 13938 ${G} 13939 ${Za} 13940 ${wl.all} 13941`;var od="--page-sticky-height";var sne=(e,t)=>{let o=e.getBoundingClientRect(),n=t.getBoundingClientRect();return o.left>=n.left&&o.right<=n.right},lne=c` 13942 top: calc(var(${od}) + var(${Ht})); 13943`,pne=e=>{let t=Number(getComputedStyle(document.documentElement).getPropertyValue(Ht).replace("px",""));window.scrollTo({behavior:"smooth",top:e.getBoundingClientRect().top-document.body.getBoundingClientRect().top-t-56})}
13943,gz=({brandBackgroundColor:e,backgroundColor:t,sys:o,items:n=[]})=>{let a=tt(e),s=(0,la.useRef)(null),[l,p]=(0,la.useState)(),d=(0,la.useRef)(typeof window<"u"?-1:0),u=(0,la.useRef)();(0,la.useEffect)(()=>{let g=()=>{let f=window.scrollY;d.current===-1&&(d.current=f),f>d.current?u.current="DOWN":f<d.current&&(u.current="UP"),d.current=f<=0?0:f};return window.addEventListener("scroll",g,{passive:!0}),()=>{window.removeEventListener("scroll",g)}},[]),(0,la.useEffect)(()=>{let g=b=>{let S=b.filter(I=>I.isIntersecting),C=u.current==="DOWN"?S[S.length-1]:S[0];if(C){let I=C.target.id;p(I);let k=s?.current,v=k?.querySelector(`a[href='#${I}']`);k&&v&&!sne(v,k)&&k?.scroll({left:v?.offsetLeft-64,behavior:"smooth"})}},f=new IntersectionObserver(g,{rootMargin:"-30% 0px -70% 0px"});return n?.map(b=>b.anchorId).filter(b=>!!b).map(b=>document.getElementById(b)).filter(b=>!!b).forEach(b=>f.observe(b)),()=>{f.disconnect()}},[n]);let y=g=>f=>{f.preventDefault(),g&&td(`#${g}`,pne)},{contentfulDescriptionDataset:m}=Re({entryId:o.id,fieldIds:["contentfulDescription"]});return i(n$,{motifScheme:a,backgroundColor:t,className:lne,horizontalScrollRef:s,dataset:m,children:n?.map(g=>{let f=g.anchorId,{textDataset:b}=Re({entryId:g.sys.id,fieldIds:["text"]});return i(yC,{href:`#${f}`,onLinkClick:y(f),isActive:f===l,dataset:b,children:g.text},f)})})};var zf=T(E());var Uf=()=>{let e=(0,zf.useRef)(null);return(0,zf.useEffect)(()=>Ro().addEventListener((t,o,n,a)=>{e.current&&(e.current.dataset.events=`${a}`)}),[]),i("div",{"data-testid":"mwp-active-traced-events",ref:e,"data-events":"0",hidden:!0})};var fz=c` 13944 flex-grow: 1; 13945 max-width: ${po}px; 13946`,bz=c` 13947 max-width: ${po-_o}px; 13948`,$I=c` 13949 position: sticky; 13950 top: var(${Ht}); 13951 z-index: ${De.SUB_NAVIGATION}; 13952`,Sz=c` 13953 line-height: 20px; 13954 white-space: pre-wrap; 13955 13956 /* TODO: Swap this rule when use a proper <p> element for paragraphs */ 13957 .sdsm-p { 13958 margin-bottom: 0; 13959 } 13960 13961 .${Wx} { 13962 font-size: 14px; 13963 /* 13964 need to unset lineheight because it messes with alignment :( 13965 also need vertical align bottom to make it actually aligned for some reason 13966 */ 13967 line-height: unset; 13968 vertical-align: bottom; 13969 13970 /* 13971 hack because icons mess up alignment due to their taller size and 13972 we don't want to use flex because the text nodes won't be able to wrap 13973 properly then 13974 */ 13975 i { 13976 font-size: 14px; 13977 transform: scale(1.25); 13978 } 13979 13980 /* same as above for images, bad and will update in future */ 13981 img { 13982 height: 14px; 13983 transform: scale(1.5); 13984 margin-left: 2px; 13985 } 13986 } 13987`,hz=c` 13988 bottom: 0; 13989 /* Host is a full-width strip; children opt back in. Otherwise empty regions eat clicks. */ 13990 pointer-events: none; 13991 position: sticky; 13992 z-index: ${De.MOBILE_CTA}; 13993`,Cz=c` 13994 position: fixed; 13995 bottom: 0; 13996 z-index: ${De.PAGE_FIXED_PORTAL}; 13997`;var Wf=T(E()),cne=T(ua());var dne="mwp-page-bottom-sticky-portal",une=()=>{switch(O.site){case"stinson":return i(void 0,{});default:return null}},vz=(0,Wf.memo)(e=>{let{pageBottomStickyPortalRef:t}=(0,Wf.useContext)(oe);return i("aside",{className:e.className,"data-testid":dne,ref:t,children:i(une,{})})});var Wl=T(E()),yne=T(ua());var mne="mwp-page-fixed-portal",Iz=(0,Wl.memo)(e=>{let{pageFixedPortalRef:t}=(0,Wl.useContext)(oe);return i("aside",{className:e.className,"data-testid":mne,ref:t})});var gne=[Xe.Straight,Xe.Skirt,Xe.Straight,Xe.HeadFlipped,Xe.Straight,Xe.Head],fne=c` 13998 display: flex; 13999 flex-direction: column; 14000 min-height: calc(100vh - var(${Ht})); 14001`,bne=c` 14002 display: flex; 14003 flex-direction: column; 14004 margin-top: auto; 14005`,Sne=60,hne=c` 14006 display: flex; 14007 flex-direction: column; 14008 min-height: calc(100vh - calc(var(${Ht}) + ${Sne}px)); 14009`,Cne={lazy:!0},xne={lazy:!1},vne=["Break","SubNavigation","BlockHero","LatestPosts","MultiVideoBlock","Block","SplitBlock","MultiValuePropBlock","BlockTabs"],kz=e=>!vne.includes(e),LI=e=>{let{pathname:t}=Wt(),o=It(),{formatMessage:n}=(0,oo.useContext)(Qe),{currentLocale:a}=(0,oo.useContext)(oe),{getImageSources:s}=ve(),l=Ft(),d=nn()==="snap",u=tt(e.brandBackgroundColor),y=tt(e.banner?.__typename==="Banner"?e.banner?.brandBackgroun
14009dColor:void 0),m=Qa(O,"page"),g=(0,oo.useRef)(null),f=(0,oo.useRef)(null),b=(0,oo.useRef)(e.banner&&e.banner.__typename==="Banner"?50:0),S=(0,oo.useMemo)(()=>{if(typeof window<"u")return new ResizeObserver(ye=>{let{height:Vt}=ye[0].contentRect;b.current!==Vt&&(b.current=Vt,f.current?.style.setProperty(od,`${Vt}px`))})},[]);(0,oo.useEffect)(()=>{if(g.current&&S)return S.observe(g.current,{box:"border-box"}),()=>{S.disconnect()}},[S]),dn(()=>{it({subscribedEventType:"page_load"})},[t]);let{headerView:C,footerView:I,hasSideNav:k,hasSubNav:v,setHeaderView:w,setFooterView:_}=(0,oo.useContext)(An),D=e.headerView??"Full Header",M=e.footerView??"Full Footer";O.isClient||(w?.(D),_?.(M)),(0,oo.useEffect)(()=>{D!==C&&w?.(D)},[D,C,w]),(0,oo.useEffect)(()=>{M!==I&&_?.(M)},[M,I,_]);let A=(0,oo.useContext)(Fo),{title:N,metas:$,blocksCollection:B,footnotesCollection:L,collapseFootnotes:H,backgroundColor:z,backgroundMediaV2:j,backgroundMediaStyle:ue,scrollSnap:ie,mobileCta:ne,showAiLocalizationBanner:J=[],denseLayout:pe}=e,re=o.testFeatureFlag,Q=z??O.theme?.defaultPageBackgroundColor,Y=(void 0)?.[Af(t)],Z=L?.items?.map(ye=>i(rv,{...ye},ye.sys.id)),U=n({id:"footnotesTitle",defaultMessage:""}),R=Z?.length?i(ih,{title:U,isOpenInitially:!H,children:Z}):void 0,X=n({id:"aiLocalizationBannerTitle",defaultMessage:""}),W=n({id:"aiLocalizationBannerDescription",defaultMessage:""}),le=J?.includes(a)?i(FA,{title:X,description:W}):void 0,ee=[];ee.push(...B?.items??[]);let be=m?.breakTemplates??O.theme?.breakTemplates??gne,q=0,ce=-1,_e=[];ee.forEach((ye,Vt)=>{let{sys:gt,__typename:St}=ye,Nt=Vt===ee.length-1,So=ee?.[Vt-1],Et=ee?.[Vt+1],ho=ye?.backgroundColor,Bo=So?.backgroundColor,Co=Et?.backgroundColor,dd=ye?.brandBackgroundColor,ud=So?.brandBackgroundColor,Rt=Et?.brandBackgroundColor,pa=!!ye?.backgroundMediaV2,lb=!!So?.backgroundMediaV2,yd=!!Et?.backgroundMediaV2,uk=pa||!dd&&!ho?void 0:dd??Ne(ho),yk=yd||!Rt&&!Co?void 0:Rt??Ne(Co);switch(ce===-1&&St!=="SubNavigation"&&(ce=Vt),St){case"Break":{let Br=ye.brandType??ye.type;if(Br&&Br!=="None"){let ca=d?void 0:ye.topColor?ye.topColor==="Transparent"?"Transparent":Ne(ye.topColor):void 0,Pn=d?void 0:ye.bottomColor?ye.bottomColor==="Transparent"?"Transparent":Ne(ye.bottomColor):void 0,md=lb||!ud&&!Bo?"Transparent":ud??Ne(Bo),ji;Nt&&R?ji=Ne(eN):ji=yd||!Rt&&!Co?"Transparent":Rt??Ne(Co);let Yi=(d?ye.brandTopColor||"sdsm-default":ye.brandTopColor)??ca??md,Xi=(d?ye.brandBottomColor||"sdsm-default":ye.brandBottomColor)??Pn??ji,OW=Yi==="Transparent"?void 0:Yi,GW=Xi==="Transparent"?void 0:Xi,{desktopSettings:zW,mobileSettings:UW}=ot({desktopHeight:ye.media?.media?.height??0,mobileHeight:ye.media?.mobileMedia?.height,enableHighDpi:ye.media?.enableHighDpi,quality:ye.media?.quality}),WW=$e({desktop:s(ye.media?.media.url,zW),mobile:s(ye.media?.mobileMedia?.url,UW)});_e.push({data:{...ye,brandTopColor:Yi,brandBottomColor:Xi},component:i(Ou,{template:Xe[Br],imgSrcs:WW,topColor:OW,bottomColor:GW,isOverlaid:ye.isOverlaid&&!Nt},ye.sys.id)})}break}case"ScrollAnimatedSection":{if(l){let Br=ye.mobileContentCollection?.items??[];for(let ca of Br){let Pn=ca;_e.push({data:ye,component:i(Ll,{...Pn,isPreviousSameBackgroundColor:Pn.backgroundColor===Bo,isNextSameBackgroundColor:Pn.backgroundColor===Co,fullHeight:ie||Pn.fullHeight},gt.id)})}break}_e.push({data:ye,component:i(az,{...ye},gt.id)});break}case"SubNavigation":{_e.push({data:ye,component:i(gz,{items:ye?.subNavigationItemsCollection?.items??[],...ye},gt.id)});break}case"BlockHero":{_e.push({data:ye,component:ye.useLatestPost?i(LG,{backgroundColor:ye.backgroundColor},gt.id):i(Zc,{...ye,fitWindow:ie||ye.fitWindow,fallbackDate:A.postedDate??A.publishedAt,shareable:A.isShareable,topics:A.topics},gt.id)});break}case"LatestPosts":{_e.push({data:ye,component:Jl(Wv,{...ye,key:gt.id})});break}case"MultiVideoBlock":{_e.push({data:ye,component:i(RI,{id:gt.id},gt.id)});break}case"Block":{_e.push({data:ye,component:i(Ll,{...ye,isPreviousSameBackgroundColor:ye.backgroundColor===Bo,isNextSameBackgroundColor:ye.backgroundColor===Co,fullHeight:ie||ye.fullHeight,denseLayout:ye.denseLayout??pe},gt.id)});break}case"SplitBlock":{_e.push({data:ye,component:i(sz,{...ye},gt.id)});break}case"MultiValuePropBlock":{_e.push({data:ye,component:i(Gg,{...ye},gt.id)});break}case"BlockTabs":{_e.push({data:ye,component:i(aH,{...ye},gt.id)});break}case"ImmersiveScrollBlock":{_e.push({data:ye,component:i(MI,{...ye},gt.id)});break}default:{let Br=SI();if(St in Br){let ca=Br[St];_e.push({data:ye,component:i(ca,{id:gt.id},gt.id)})}else _e.push({data:{__typename:"Break",sys:{id:"__generated_error"},brandType:"Straight"},component:i(oo.Fragment,{children:!O.isCompilationModeProd&&`Dev error: Unknown component type ${St} with id ${gt.id}`},gt.id)})}}if(!Nt&&!(St==="Break"||Et?.__typename==="Break"||St==="SubNavigation"||Et?.__typename==="SubNavigation"||kz(St)||kz(Et?.__typename)||pa&&yd||uk===yk&&!pa&&!yd||be.length<=0)){let ca=m?.heroBreakTemplate??O.theme?.heroBreakTemplate,Pn;ca===Xe.None?Pn=Xe.None:ca===Xe.Straight?Pn=Xe.Straight:Pn=Xe.Skirt3;let md=St==="BlockHero"?Pn:be[q],ji=uk,Yi=yk,Xi=!1;_e.push({data:{__typename:"Break",sys:{id:"__generated"},brandType:md,brandTopColor:ji,brandBottomColor:Yi,isOverlaid:Xi}
14009,component:i(Ou,{template:md,topColor:ji,bottomColor:Yi,isOverlaid:Xi},`break ${Vt}`)}),St!=="BlockHero"&&(q=(q+1)%be.length)}});let me=_e.map((ye,Vt)=>{let{component:gt}=ye,St=_e?.[Vt-1],Nt=_e?.[Vt+1],So={};if(St&&St.data.__typename==="Break"){let Et=St?.data.brandType??St?.data.type;if(Et!==Xe.Straight&&Et!=="None"){let ho=St.data.brandTopColor??St.data.topColor,Bo=St.data.brandBottomColor??St.data.bottomColor,Co=Tp({template:Et,isTopTransparent:!ho||ho==="Transparent",isBottomTransparent:!Bo||Bo==="Transparent",isOverlaid:St.data.isOverlaid});So.preChildren=i(_p,{type:Co,location:"top"})}}if(Nt&&Nt.data.__typename==="Break"){let Et=Nt?.data.brandType??Nt?.data.type;if(Et!==Xe.Straight&&Et!=="None"){let ho=Nt.data.brandTopColor??Nt.data.topColor,Bo=Nt.data.brandBottomColor??Nt.data.bottomColor,Co=Tp({template:Et,isTopTransparent:!ho||ho==="Transparent",isBottomTransparent:!Bo||Bo==="Transparent",isOverlaid:Nt.data.isOverlaid});So.postChildren=i(_p,{type:Co,location:"bottom"})}}return!Nt&&!So.postChildren&&(So.postChildren=i(_p,{type:"topHalf",location:"bottom"})),(0,oo.cloneElement)(gt,So)}),Ie=R||le?x("div",{className:bne,children:[R,le]}):void 0,{media:{imageSource:he,videoSource:Ae},mobileMedia:{imageSource:Pt,videoSource:pt},thumbnailSource:so}=Lt(j),bo;if(j?.__typename==="Image"){let{desktopSettings:ye,mobileSettings:Vt}=ot({desktopHeight:j.media?.height??0,mobileHeight:j.mobileMedia?.height,enableHighDpi:j.enableHighDpi,quality:j.quality});bo=$e({desktop:s(he,ye),mobile:s(Pt,Vt)})}let rt=PV(N),ke=e.contentless?i(Ki,{component:e.contentless.component}):null,Fe=x(se,{children:[e.contentless?.placement==="before-blocks"&&ke,x(O8,{children:[i(ap.Provider,{value:xne,children:me.slice(0,ce+1)}),i(ap.Provider,{value:Cne,children:me.slice(ce+1)}),i(Lx,{})]}),e.contentless?.placement==="after-blocks"&&ke,Ie]}),Qo=null,lo=null;if(e?.banner?.__typename==="Banner"){let{contentfulDescriptionDataset:ye}=Re({entryId:e.banner.sys.id,fieldIds:["contentfulDescription"]});Qo=i(F_,{className:$I,contentClassName:Sz,motifScheme:y,backgroundColor:e.banner?.backgroundColor,dataset:ye,children:Tn(e.banner?.content)})}else if(e?.banner?.__typename){let ye=SI();if(ye[e.banner.__typename]){let Vt=ye[e.banner.__typename];lo=i(Vt,{id:e.banner.sys.id})}}return x("div",{"data-testid":"page",ref:f,className:h(fz,u??Ne(Q),{[bz]:k},Ul,"mwp-page"),dir:rt,"data-test-feature":re,style:{[od]:`${b.current}px`,...Y?{maxWidth:Y}:{}},children:[i(UV,{localizedIn:e.localizedIn}),i(RV,{localizedIn:e.localizedIn}),!!$&&i(_I,{...$}),!!$?.schemasCollection?.items&&i(NI,{schemas:$.schemasCollection.items}),Qo?i("div",{className:$I,ref:g,children:Qo}):null,x(jG,{children:[i(Ii,{title:N,ogTitle:$?.ogTitle}),x(Zh,{motifScheme:u,backgroundColor:Q,backgroundImageSources:bo,backgroundMediaStyle:ue,backgroundVideoSource:Ae,gutterMatchesPageBackground:e.stretchPageBackgroundColor,mobileBackgroundVideoSource:pt,backgroundPosterSource:so,className:h({[fne]:!v,[hne]:v}),scrollSnap:ie,children:[Fe,lo,l&&ne&&i(FI,{mobileCta:ne,shouldScrollToShow:o.enablePersistentCtaScrollVisibility==="true"}),i(vz,{className:hz}),i(Iz,{className:Cz})]}),i("div",{className:cz})]}),i(Uf,{})]})};LI.displayName="Page";var ql=e=>{let{data:t}=de(uz,{variables:{id:e.sys.id}}),o=(0,nd.useRef)(new Set),n=Gk(),{currentLocale:a,getCurrentUrl:s}=(0,nd.useContext)(oe),{replacements:l}=(0,nd.useContext)(Fo),p=l?e.blocksCollection.items.reduce((f,b)=>(l?.[b.sys.id]&&f.push(l[b.sys.id]?.sys.id??""),f),[]):[],d=de(mz,{skip:!p.length,variables:{ids:p}});function u(f){let b=wV[f.__typename];if(!b){Bn({component:"PageShallow",message:`Cannot preload item "${f.__typename}". Add it to 'contentfulTypeQueries'`,context:{type:f.__typename}});return}let S=`${ia(b)}:${f.sys.id}`;o.current.has(S)||(n.query({query:b,context:{currentUrl:s()},variables:{id:f.sys.id,preview:O.isPreview,locale:a}}).catch(C=>{Bn({component:"PageShallow",message:`Failed to preload item "${f.__typename}" due to error: ${Bt(C).message}`,context:{type:f.__typename}})}),o.current.add(S))}function y(){for(let f of e.blocksCollection.items)if(f.__typename==="Block"){let b=f;l?.[f.sys.id]?.sys.id&&(b={...f,sys:{id:l[f.sys.id]?.sys.id}});for(let S of b.contentsCollection.items)u(S)}else u(f)}if(!t||d.loading)return y(),null;let m=t.page.banner,g=t.page.blocksCollection;if(l&&t.page.banner&&t.page.banner.sys.id in l&&(m=d.data?.entryCollection.items.find(f=>t.page.banner?f.sys.id===l[t.page.banner.sys.id]?.sys.id:!1)),t.page.blocksCollection&&l){let f=[...t.page.blocksCollection.items];for(let b=0;b<f.length;b++){let S=f[b]?.sys?.id;if(S&&S in l){let C=d.data?.entryCollection.items.find(I=>I.sys.id===l[S]?.sys.id);C===void 0?f.splice(b,1):C&&C.__typename!=="Banner"&&(f[b]=C)}}g={items:f}}return i(LI,{...t.page,blocksCollection:g,banner:m,contentless:e.contentless})};ql.displayName="PageShallow";var Dz=T(E());
14009var Az=O.theme?.defaultPageBackgroundColor??no.White,Lxt=c` 14010 display: flex; 14011 justify-content: center; 14012`,Tz=c` 14013 align-items: center; 14014 display: flex; 14015 flex-direction: column; 14016 justify-content: center; 14017 background-color: ${r("--bg-color")}; 14018 color: ${r("--fg-color")}; 14019 min-height: max(600px, calc(100vh - var(--total-header-height))); 14020 padding: ${r("--spacing-xxl")}; 14021 text-align: center; 14022 width: 100%; 14023`,_z=c` 14024 margin-bottom: 10px; 14025 14026 ${Tr.over1024_desktop_medium} { 14027 font-size: 5rem; 14028 line-height: 5.5rem; 14029 } 14030`,wz=c` 14031 min-height: calc(100vh - var(--total-header-height)); 14032 min-height: calc(100dvh - var(--total-header-height)); 14033`;var Ine=c` 14034 max-width: 500px; 14035 width: 80%; 14036`,rd=()=>{let{formatMessage:e}=(0,Dz.useContext)(Qe),t=e({id:"noMatch.title",defaultMessage:"Well, this is awkward!"}),o=e({id:"noMatch.subtitle",defaultMessage:"We could not find what you were looking for."});return x("div",{className:h(Ne(Az),Tz,wz),"data-testid":"mwp-404-page",children:[i("h1",{className:_z,children:t}),i("h2",{children:o}),i("img",{className:Ine,src:"/images/404.png",alt:"404 Ghost Image"})]})};rd.displayName="NoMatchDefault";var kne=F` 14037 fragment Custom404 on Slug { 14038 ...ContentfulSysId 14039 page { 14040 ...ExperimentOnPageLoadingPageShallow 14041 } 14042 } 14043 ${kg("Page","PageShallow",Gf)} 14044 ${G} 14045`,Pz=F` 14046 query Custom404CollectionQuery($preview: Boolean!, $locale: String!) { 14047 slugCollection(preview: $preview, locale: $locale, where: { slug: "not-found" }, limit: 1) { 14048 items { 14049 ...Custom404 14050 } 14051 } 14052 } 14053 ${kne} 14054`;var li=()=>{let{staticContext:e}=(0,Nz.useContext)(Ar),{data:t}=de(Pz),{decideExperiment:o}=rn();if(e&&(e.statusCode=404),!t)return null;let n=t.slugCollection.items?.[0]?.page;if(!n)return i(rd,{});if(n.__typename==="Page")return i("section",{className:h(Hf,Ul,Vf),"data-testid":"mwp-404-page",children:i(ql,{...n})});let a=o(n,{logImpression:!0});return i(Fo.Provider,{value:{isShareable:!1,replacements:a.replacements},children:i("section",{"data-testid":"mwp-404-page",children:i(ql,{...a.decision})})})};li.displayName="NoMatch";function qf(e){switch(e){case"sandbox":return void 0;default:return{}}}var HI=({match:e})=>{let t=qf(O.site)[e.params.name];return t?i(Ki,{component:t}):i(li,{})};HI.displayName="ContentlessPreview";var kvt=F` 14055 query AllPageSideNavQuery($preview: Boolean!, $locale: String!, $limit: Int, $skip: Int) { 14056 slugCollection( 14057 limit: $limit 14058 skip: $skip 14059 preview: $preview 14060 locale: $locale 14061 where: { page_exists: true } 14062 ) { 14063 total 14064 items { 14065 ...ContentfulSysId 14066 slug 14067 page { 14068 ...ExperimentOnPageLoadingPageNavigationShallow 14069 } 14070 unlistedCriteria { 14071 ...CriteriaAll 14072 } 14073 } 14074 } 14075 } 14076 ${G} 14077 ${ei("Page","PageNavigationShallow",dz)} 14078`;var Kl=T(E());var VI=F` 14079 fragment NavigationItemLink on NavigatorItem { 14080 ...ContentfulSysId 14081 title { 14082 json 14083 } 14084 url 14085 hideCriteria { 14086 ...CriteriaAll 14087 } 14088 analytics { 14089 ...AnalyticsAll 14090 } 14091 } 14092 ${G} 14093 ${eo} 14094 ${Zt.all} 14095`;var Mne={all:F` 14096 fragment SideNavigationAll on SideNavigation { 14097 ...ContentfulSysId 14098 brandBackgroundColor 14099 backgroundColor 14100 brandBackgroundColorMobile 14101 mobileBackgroundColor 14102 navigatorItemsCollection(limit: 14) { 14103 items { 14104 ...NavigationItemLink 14105 navigatorItemsCollection(limit: 15) { 14106 items { 14107 ...NavigationItemLink 14108 } 14109 } 14110 } 14111 } 14112 } 14113 ${VI} 14114 `},Rz=F` 14115 query SideNavigationQuery($preview: Boolean!, $locale: String!, $id: String!) { 14116 sideNavigation(preview: $preview, locale: $locale, id: $id) { 14117 ...SideNavigationAll 14118 } 14119 } 14120 ${Mne.all} 14121`;var OI=T(Sa());var Bz=T(E());var Fz=c` 14122 ${V} { 14123 & > * { 14124 position: sticky; 14125 top: var(--total-header-height); 14126 } 14127 } 14128 14129 ${P} { 14130 position: sticky; 14131 top: var(--total-header-height); 14132 } 14133`;var Ane=({navigatorItemsCollection:e,brandBackgroundColor:t,backgroundColor:o,brandBackgroundColorMobile:n,mobileBackgroundColor:a,sys:s})=>{let l=tt(t),p=tt(n),{checkCriteria:d}=rn(),{isUrlCurrent:u}=Dg(),y=b=>d(b.hideCriteria),m=e.items.filter(y).map(b=>{let{titleDataset:S}=Re({entryId:b.sys.id,fieldIds:["title"]});return{title:b.title?(0,OI.documentToPlainTextString)(b.title.json):"",links:(b.navigatorItemsCollection?.items??[]).filter(y).map(C=>{let{titleDataset:I}=Re({entryId:C.sys.id,fieldIds:["title"]});return{title:C.title?(0,OI.documentToPlainTextString)(C.title.json):"",url:C.url??"",dataset:I}}),dataset:S}}),{contentfulDescriptionDataset:g}=Re({entryId:s.id,fieldIds:["contentfulDescription"]}),f=(0,Bz.useContext)(Se).elementLocation;return i(th,{className:Fz,items:m,isUrlCurrent:u,dataset:g,motifScheme:l,motifSchemeMobile:p,backgroundColor:o,mobileBackgroun
14133dColor:a,onSectionClick:(b,S)=>{fe({eventCategory:"SideNavigation",eventAction:S?"Open":"Close",eventLabel:null,context:{elementText:b,elementLocation:f}})}})},GI=e=>{let t=ao(e)?e.sys.id:void 0,{data:o}=de(Rz,{skip:!t,variables:{id:t}});return o?i(Ane,{...o.sideNavigation}):null};GI.displayName="SideNavigation";var $z={"latest-dev":0,staging:1,production:2};function Lz(e){let t=O.contentlessComponentsBySlug?.[e];if(!t||$z[O.deploymentType]>$z[t.applyUpTo])return;let o=qf(O.site)[t.component];return o?{component:o,placement:t.placement}:void 0}var Qf=T(E());var Tne=c` 14134 padding: 20px; 14135`,Ql=({path:e,newTab:t,isPermanent:o})=>{let{onRedirect:n,getCurrentUrl:a,currentLocale:s}=(0,Qf.useContext)(oe),l=e||"/",p=new URL(a()),{href:d}=qm({destination:l,currentUrl:p,locale:s,newTab:t}),u=d?new URL(d,p):void 0,y=u?qo(u)?`${u.pathname}${u.search}${u.hash}`:u.href:l;return O.isClient||n?.(y,{isPermanent:o,newTab:t}),(0,Qf.useEffect)(()=>{n?.(y,{isPermanent:o,newTab:t})},[n,y,t,o]),x("section",{className:Tne,children:["Redirecting to ",i("a",{href:y,children:y}),"."]})};var zI=F` 14136 fragment Redirect on Redirect { 14137 ...ContentfulSysId 14138 externalUrl 14139 isPermanent 14140 slug { 14141 sys { 14142 id 14143 } 14144 slug 14145 } 14146 } 14147 ${G} 14148`,Hz=F` 14149 fragment SiteMapRedirect on Redirect { 14150 ...ContentfulSysId 14151 } 14152 ${G} 14153`;var Vz=F` 14154 fragment Slug on Slug { 14155 sys { 14156 id 14157 publishedAt 14158 firstPublishedAt 14159 } 14160 __typename 14161 slug 14162 postedDate 14163 page { 14164 ...PageAssetAll 14165 ...ExperimentOnPageLoadingPageShallow 14166 ...ExperimentOnRedirectLoadingRedirect 14167 ...Redirect 14168 } 14169 unlistedCriteria { 14170 ...CriteriaAll 14171 } 14172 shareable 14173 ...BreadcrumbsAll 14174 topicsCollection { 14175 items { 14176 ...TopicAll 14177 } 14178 } 14179 } 14180 ${kg("Page","PageShallow",Gf)} 14181 ${ei("Redirect","Redirect",zI)} 14182 ${G} 14183 ${Dl} 14184 ${zI} 14185 ${hI} 14186 ${nf} 14187`,MIt=F` 14188 fragment SiteMapSlug on Slug { 14189 sys { 14190 id 14191 firstPublishedAt 14192 } 14193 __typename 14194 postedDate 14195 slug 14196 page { 14197 ...SiteMapPage 14198 ...SiteMapExperiment 14199 ...SiteMapRedirect 14200 } 14201 unlistedCriteria { 14202 ...CriteriaAll 14203 } 14204 } 14205 ${yz} 14206 ${M9} 14207 ${Hz} 14208 ${eo} 14209`;var Oz=F` 14210 query SlugCollectionQuery($preview: Boolean!, $locale: String!, $slug: String!) { 14211 slugCollection(preview: $preview, locale: $locale, where: { slug: $slug }, limit: 1) { 14212 total 14213 items { 14214 ...Slug 14215 } 14216 } 14217 } 14218 ${Vz} 14219`;var _ne="/404",UI=e=>{let{decideExperiment:t}=rn(),{data:o}=de(Oz,{variables:{slug:e.slug}}),n=Lz(e.slug);if(!o)return null;let a=Zi(o?.slugCollection.items),s=a?.page,l,p;if(s?.__typename==="Experiment"){let f=t(s,{logImpression:!0});if(O.isClient){let b=document.getElementsByTagName("main")[0];f?.experimentId&&b.setAttribute("data-experiment-id",f.experimentId),f.variantId&&b.setAttribute("data-experiment-arm-id",f.variantId)}l=f.decision,p=f.replacements}else l=s;if(!l||!a)return n?i(Ki,{component:n.component}):(it({eventCategory:"NoMatch",eventAction:"404-redirect",eventLabel:e.slug,subscribedEventType:"internal"}),i(Ql,{path:_ne}));if(l.__typename==="PageAsset")return l.media?.url?i(Ql,{path:l.media.url,newTab:!1}):i(li,{});if(l.__typename==="Redirect")return it({eventCategory:"Redirect",eventAction:"page-redirect",eventLabel:l.slug?.slug??l.externalUrl??null,subscribedEventType:"internal"}),l.slug?.slug?l.slug.slug==="home"?i(Ql,{path:"",newTab:!1,isPermanent:l.isPermanent}):i(Ql,{path:`/${l.slug.slug}`,newTab:!1,isPermanent:l.isPermanent}):l.externalUrl?i(Ql,{path:l.externalUrl,newTab:!1,isPermanent:l.isPermanent}):i(li,{});let d;a.sys.publishedAt&&(d=new Date(a.sys.publishedAt));let u=a.postedDate??a.sys.firstPublishedAt,y=u?new Date(u):void 0,m={sys:a.sys,slug:a.slug,breadcrumbText:a.breadcrumbText,slugParent:a.slugParent},g=DG(m);return x(se,{children:[g&&i(vt,{children:i("script",{type:"application/ld+json",children:JSON.stringify(g)})}),i(Fo.Provider,{value:{publishedAt:d,postedDate:y,isShareable:a.shareable??!1,replacements:p,breadcrumbData:m,topics:a.topicsCollection?.items,slugId:a.sys.id},children:i(ql,{...l,contentless:n})})]})};UI.displayName="SlugCollection";var Gz=F` 14220 query PagesWithSubOrSideNavQuery($preview: Boolean!) { 14221 pageCollection( 14222 locale: "en-US" # Always en-US because "linkedFrom" do not work in other languages. 14223 preview: $preview 14224 where: { sideNavigation_exists: true } 14225 limit: 500 14226 ) { 14227 total 14228 items { 14229 sideNavigation { 14230 ...ContentfulSysId 14231 } 14232 linkedFrom { 14233 entryCollection { 14234 total 14235 items { 14236 ...ContentfulSysId 14237 ... on Slug { 14238 slug 14239 } 14240 } 14241 } 14242 } 14243 ...ContentfulSysId 14244 } 14245 } 14246 } 14247 ${G} 14248`,zz=F` 14249 query ExperimentsByIdsLinkingToSlugsQuery($preview: Boolean!, $ids: [String]!) { 14250 experimentCollection( 14251 locale: "en-US" # Always en-US because "linkedFrom" do not work in other languages. 14252 preview: $preview 14253 where: { sys: { id_in: $ids } } 14254 limit: 500 14255 ) { 14256 total 14257 items { 14258 ...ContentfulSysId 14259 linkedFrom { 14260 entryCollection { 14261 total 14262 items { 14263 ...ContentfulSysId 14264 ... on Slug { 14265 slug 14266 } 14267 } 14268 } 14269 } 14270 } 14271 } 14272 } 14273 ${G} 14274`;function Uz(){let e=new Map,t=new Map,o=new Map,n=new Map,{data:a}=de(Gz);for(let p of a?.pageCollection.items??[])for(let d of p.linkedFrom.entryCollection.items)if(d)switch(d.__typename){case"Experiment":{p.sideNavigation&&o.set(d.sys.id,p.sideNavigation),p.subNavigation&&n.set(d.sys.id,p.subNavigation);break}case"Slug":{d.slug&&p.sideNavigation&&e.set(d.slug,p.sideNavigation),d.slug&&p.subNavigation&&t.set(d.slug,p.subNavigation);break}}let s=new Set([...o.keys(),...n.keys()]),{data:l}=de(zz,{variables:{ids:[...s]},skip:s.size===0});for(let p of l?.experimentCollection.items??[])for(let d of p.linkedFrom.entryCollection.items)if(d.__typename==="Slug"&&d.slug){let u=o.get(p.sys.id);u&&e.set(d.slug,u);let y=n.get(p.sys.id);y&&t.set(d.slug,y)}return{sideNavMap:e,subNavMap:t}}var qz=()=>{let e=Wt(),t=e.pathname.substring(1),o=Af(e.pathname),n=It(),a=(void 0)?.[o],s=n.homeRedirect==="true";(0,Kl.useEffect)(()=>
14274{if(s&&t==="home"&&O.isClient){let b=new URL(window.location.href);b.pathname="",window.history.replaceState(null,"",b)}},[t,s]),(0,Kl.useEffect)(()=>{window.scrollTo(0,0)},[o]);let{sideNavMap:l,subNavMap:p}=Uz(),d=l.has(o),u=l.get(o)?.sys.id,y=p.has(o),m=p.get(o)?.sys.id,{setHasSideNav:g,setHasSubNav:f}=(0,Kl.useContext)(An);return(0,Kl.useEffect)(()=>{g?.(d),f?.(y)},[d,y,g,f]),u&&m&&Bn({component:"Slug",message:"Having both a SideNav and a SubNav isn't supported.",context:{slug:o}}),x("div",{"data-testid":"mwp-slug",className:h(Hf,Ul,Vf,{[iz]:d}),style:a?{maxWidth:a}:void 0,children:[u&&i(Se.Provider,{value:{elementLocation:"SideNavigation"},children:i(GI,{sys:{id:u}})}),i(UI,{slug:o},o)]})};var Kf=T(E());var wne=no.White,Qz=c` 14275 padding-top: 0; 14276`,Kz=({cookieDomain:e,deploymentType:t,domainName:o,isClient:n,backgroundColor:a=wne,globalPrivacyControl:s})=>{(0,Kf.useEffect)(()=>{window.scrollTo(0,0)},[]);let{store:l}=(0,Kf.useContext)(qt);t!=="production"&&(o="",e="");let p=O.site==="stinson",u=It().submitShopifyTrackingConsent==="true",y=o===e||o===`www.${e}`,m=a===no.Black?"Black":"White";return y?n?i(To,{backgroundColor:a,className:Qz,children:i(BC,{cookieDomain:e,backgroundType:m,onSubmit:g=>{l&&u&&ng({cookieAcceptance:g.cookieAcceptance,store:l,saleOfData:!s}).catch(f=>Be({component:"CookieSettings",error:f}))}})}):p?i(To,{backgroundColor:a,className:Qz}):null:i(rd,{})};var Yt=T(E());var jz=c` 14277 align-items: center; 14278 display: flex; 14279 flex-direction: column; 14280 padding-block: ${r("--spacing-xl")} 128px; 14281 width: 100%; 14282`,Yz=c` 14283 margin-block-end: ${r("--spacing-xs")}; 14284`,Xz=c` 14285 ${Ue} 14286 margin-block-end: ${r("--spacing-l")}; 14287`,Jz=c` 14288 width: 268px; 14289 max-width: 90%; 14290`;var WI=()=>x("div",{className:jz,children:[i("h4",{className:Yz,children:i(Fn,{id:"searchNotFoundTitle",defaultMessage:"Sorry, no results were found"})}),i("p",{className:Xz,children:i(Fn,{id:"searchNotFoundSubtitle",defaultMessage:"Please try again with a different keyword."})}),i("img",{alt:"confused ghost logo",src:"/images/404.png",className:Jz})]});WI.displayName="NoResultsFound";var Zz="query",eU="offset",tU="page",oU="locale";var nU=c` 14291 margin-block: 0 ${r("--spacing-xxs")}; 14292`,rU=c` 14293 border-radius: ${r("--spacing-xxxs")}; 14294 color: ${r("--action-text-default-color")}; 14295 text-decoration: none; 14296 14297 @media (hover: hover) { 14298 &:hover { 14299 color: ${r("--action-text-hover-color")}; 14300 text-decoration-thickness: ${r("--spacing-xxxs")}; 14301 text-decoration: underline; 14302 text-underline-offset: ${r("--spacing-xxxs")}; 14303 } 14304 } 14305`,aU=c` 14306 ${Ue} 14307 -webkit-box-orient: vertical; 14308 -webkit-line-clamp: 4; 14309 color: ${r("--fg-color")}; 14310 display: -webkit-box; 14311 hyphens: auto; 14312 overflow: hidden; 14313 text-overflow: ellipsis; 14314 word-break: break-word; 14315 word-wrap: break-word; 14316 14317 ${V} { 14318 -webkit-line-clamp: 2; 14319 } 14320 14321 & strong { 14322 font-weight: 600; 14323 } 14324`;var Dne=e=>{let t=/<em>(.*?)<\/em>/gi;return e.split(t).map((n,a)=>a%2===1?i("strong",{children:n},a):n)},qI=({description:e,pageTitle:t,slug:o,onClick:n})=>x("article",{className:"sdsm-search",children:[i("h6",{className:nU,children:i(Qn,{href:o,className:rU,onClick:n,children:t})}),e&&i("p",{className:aU,children:Dne(e)})]});qI.displayName="SearchResultItem";var ad=T(E());function iU(e,t,o=1,n=20){let a=(0,ad.useRef)([]),s=(0,ad.useRef)(0),l={results:[],total:0},p=l,d=(0,ad.useMemo)(()=>{let b=new URLSearchParams,S=Math.max(0,(o-1)*n);return b.append(Zz,e??""),b.append(oU,t),b.append(eU,`${S}`),b.append(tU,`${n}`),b},[e,t,o,n]),y=`${O.isClient?"":`http://localhost:${process.env.PORT??3e3}`}/api/search?${d}`,{data:m,isLoading:g,error:f}=Ln({dataId:`/api/search?${d}`,dataAsync:async()=>{if(!e)return l;let b=await fetch(y);if(!b.ok){let C=await b.text();throw new Error(C)}return await b.json()}});return f&&Pe.logError({component:"useSearchResults",message:"Error loading search results",error:f}
14324),m&&(a.current=m.results,s.current=m.total,p=m),{data:g?{results:a.current,total:s.current}:p,isLoading:g,isErrored:!!f}}var sU=c` 14325 background-color: ${r("--bg-color")}; 14326 margin-inline: auto; 14327 max-width: ${r("--search-container-max-width")}; 14328 min-height: calc(100vh - ${64}px); 14329 min-height: calc(100dvh - ${64}px); 14330 padding-block: ${r("--spacing-xl")}; 14331 padding-inline: ${r("--spacing-xl")}; 14332 width: 100%; 14333 14334 ${P} { 14335 margin-block: ${r("--spacing-xxxl")}; 14336 } 14337`,lU=c` 14338 margin-block-end: ${r("--spacing-xxxl")}; 14339 14340 ${P} { 14341 margin-block-end: ${r("--spacing-xl")}; 14342 } 14343`,pU=c` 14344 ${Xt}; 14345 color: ${r("--search-subtitle-color")}; 14346 margin-block-start: ${r("--spacing-s")}; 14347`,cU=c` 14348 margin-block-end: ${r("--spacing-xxxl")}; 14349 14350 ${P} { 14351 margin-block-end: ${r("--spacing-xl")}; 14352 } 14353`,dU=c` 14354 display: flex; 14355 flex-wrap: wrap; 14356 gap: ${r("--search-results-list-gap")}; 14357 list-style: none; 14358 > li { 14359 width: 100%; 14360 } 14361`,uU=c` 14362 display: flex; 14363 justify-content: center; 14364`;var yU=20,Pne=250,Nne=1e3,Ene=e=>e.map(o=>o.replace(/ ?(\u2063+)/gm,"\u2026").replace(/^\u2026+|\u2026+$/g,"")).join("\u2026 "),Rne=e=>{window.requestAnimationFrame(()=>{let t=Number.parseInt(getComputedStyle(document.documentElement).getPropertyValue(Ht),10),o=e?.getBoundingClientRect().top??0,n=window.scrollY;window.scrollTo({top:o+n-(t+20),behavior:"smooth"})})},mU=()=>{let e=al(),t=e.get("q")??"",o=Number(e.get("page")??"1"),[n,a]=(0,Yt.useState)(!0);K("sdsm-search");let{currentLocale:s}=(0,Yt.useContext)(oe),{formatMessage:l}=(0,Yt.useContext)(Qe),{getUrlParams:p,setUrlParams:d}=(0,Yt.useContext)(tn),u=(0,Yt.useContext)(Se).elementLocation,y=(0,Yt.useRef)(null),[m,g]=(0,Yt.useState)(o),[f,b]=(0,Yt.useState)(t),[S,C]=(0,Yt.useState)(f);(0,Yt.useEffect)(()=>{if(f===S)return;let M=setTimeout(()=>{C(f),g(1),a(!0)},Pne);return()=>{clearTimeout(M)}},[f,S]),(0,Yt.useEffect)(()=>{let M=setTimeout(()=>{it({subscribedEventType:"page_load"})},Nne);return()=>{clearTimeout(M)}});let I=iU(S,s,m,yU);(0,Yt.useEffect)(()=>{I.isLoading||a(!1)},[I.isLoading]),(0,Yt.useEffect)(()=>{if(!p||!d)return;let M=new URLSearchParams(p());S===(M.get("q")??"")&&m.toString()===M.get("page")||(M.set("q",S),M.set("page",`${m}`),d({...Object.fromEntries(M)}))},[s,S,m,p,d]),(0,Yt.useEffect)(()=>{let M=o,A=t;g(M),b(A),C(A)},[o,t]);let k=M=>{let A=M.trimStart();b(A)},v=(0,Yt.useCallback)(M=>{g(M),Rne(y.current)},[y.current]),w=n&&I.isLoading&&!I.isErrored,_=!w&&!!I.data.total,D=!w&&!I.data.total;return x(se,{children:[i(Ii,{noIndex:!0}),x("div",{"data-testid":"mwp-search",className:sU,ref:y,children:[x("div",{className:lU,children:[i(ku,{autocompleteResults:[],collapsible:!1,hideSuggestions:!0,initialText:N0(cp(f)),loadingAutocompleteTerms:!1,onChange:k,onSelect:vo,placeholder:l({id:"placeholderSearchPageInput",defaultMessage:"Search..."})}),I&&i("p",{className:pU,children:i(Fn,{id:"searchResultsSubtitle",defaultMessage:'{total} search results for "{term}"',values:{total:String(I.data.total),term:cp(S)}})})]}),x("div",{className:cU,children:[w&&i("div",{className:uU,children:i(Pd,{})}),_&&i("ul",{className:dU,children:I.data.results.map((M,A)=>i("li",{children:i(qI,{description:Ene(M.highlights),pageTitle:M.pageTitle,slug:M.slug,onClick:()=>fe({eventCategory:"SearchResult",eventAction:"Click",eventLabel:M.slug,context:{targetUrl:`/${M.slug}`,elementText:M.pageTitle,elementLocation:u}})})},M.pageTitle+f+A*m))}),D&&i(WI,{})]}),_?i(wi,{currentPage:m,onChange:v,totalPages:Math.floor((I.data.total-1)/yU)+1}):null,!I.isLoading&&i(Uf,{})]})]})};var fU=({globalPrivacyControl:e})=>{let t=Wt(),o=ea(),a=It().enableSiteSearch==="true";return(0,QI.useEffect)(()=>{if(!t.hash)return;let l=setTimeout(()=>td(t.hash),1e3);return()=>{clearTimeout(l)}},[]),(0,QI.useEffect)(()=>o.listen(p=>
14364td(p.hash)),[o.listen]),x(px,{children:[i(Ua,{exact:!0,path:Q0,render:()=>i(Kz,{backgroundColor:O.theme?.defaultPageBackgroundColor,cookieDomain:O.trackingSettings.cookieDomain,deploymentType:O.deploymentType,domainName:O.domainName,isClient:O.isClient,globalPrivacyControl:e})}),a&&i(Ua,{exact:!0,path:"/search",component:mU}),O.site==="snap"&&i(Ua,{path:"/political-ads/asset/:assetId",component:void 0}),i(Ua,{path:"/404",component:li}),!O.isDeploymentTypeProd&&i(Ua,{exact:!0,path:"/preview/contentless/:name",component:HI}),i(Ua,{path:"*",component:qz})]})};var bU=()=>{switch(O.site){case"arcadia":return;case"cheerios":return;default:return eA}};function vU(){switch(O.site){case"arcadia":return void 0;case"cheerios":return void 0;case"careers":case"citizen":case"diversity":case"eng-blog":case"newsroom":case"snap":case"trust":return void 0;case"experience":case"stinson":return void 0;default:return os}}var pi,sd,EU,Yf,XI,RU=-1,Yl=function(e){addEventListener("pageshow",(function(t){t.persisted&&(RU=t.timeStamp,e(t))}),!0)},FU=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},JI=function(){var e=FU();return e&&e.activationStart||0},Rr=function(e,t){var o=FU(),n="navigate";return RU>=0?n="back-forward-cache":o&&(document.prerendering||JI()>0?n="prerender":document.wasDiscarded?n="restore":o.type&&(n=o.type.replace(/_/g,"-"))),{name:e,value:t===void 0?-1:t,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:n}},Xl=function(e,t,o){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var n=new PerformanceObserver((function(a){Promise.resolve().then((function(){t(a.getEntries())}))}));return n.observe(Object.assign({type:e,buffered:!0},o||{})),n}}catch{}},Fr=function(e,t,o,n){var a,s;return function(l){t.value>=0&&(l||n)&&((s=t.value-(a||0))||a===void 0)&&(a=t.value,t.delta=s,t.rating=(function(p,d){return p>d[1]?"poor":p>d[0]?"needs-improvement":"good"})(t.value,o),e(t))}},ZI=function(e){requestAnimationFrame((function(){return requestAnimationFrame((function(){return e()}))}))},Jf=function(e){var t=function(o){o.type!=="pagehide"&&document.visibilityState!=="hidden"||e(o)};addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0)},ek=function(e){var t=!1;return function(o){t||(e(o),t=!0)}},jl=-1,IU=function(){return document.visibilityState!=="hidden"||document.prerendering?1/0:0},Xf=function(e){document.visibilityState==="hidden"&&jl>-1&&(jl=e.type==="visibilitychange"?e.timeStamp:0,Fne())},kU=function(){addEventListener("visibilitychange",Xf,!0),addEventListener("prerenderingchange",Xf,!0)},Fne=function(){removeEventListener("visibilitychange",Xf,!0),removeEventListener("prerenderingchange",Xf,!0)},tk=function(){return jl<0&&(jl=IU(),kU(),Yl((function(){setTimeout((function(){jl=IU(),kU()}),0)}))),{get firstHiddenTime(){return jl}}},Zf=function(e){document.prerendering?addEventListener("prerenderingchange",(function(){return e()}),!0):e()},MU=[1800,3e3],Bne=function(e,t){t=t||{},Zf((function(){var o,n=tk(),a=Rr("FCP"),s=Xl("paint",(function(l){l.forEach((function(p){p.name==="first-contentful-paint"&&(s.disconnect(),p.startTime<n.firstHiddenTime&&(a.value=Math.max(p.startTime-JI(),0),a.entries.push(p),o(!0)))}))}));s&&(o=Fr(e,a,MU,t.reportAllChanges),Yl((function(l){a=Rr("FCP"),o=Fr(e,a,MU,t.reportAllChanges),ZI((function(){a.value=performance.now()-l.timeStamp,o(!0)}))})))}))},AU=[.1,.25],BU=function(e,t){t=t||{},Bne(ek((function(){var o,n=Rr("CLS",0),a=0,s=[],l=function(d){d.forEach((function(u){if(!u.hadRecentInput){var y=s[0],m=s[s.length-1];a&&u.startTime-m.startTime<1e3&&u.startTime-y.startTime<5e3?(a+=u.value,s.push(u)):(a=u.value,s=[u])}})),a>n.value&&(n.value=a,n.entries=s,o())},p=Xl("layout-shift",l);p&&(o=Fr(e,n,AU,t.reportAllChanges),Jf((function(){l(p.takeRecords()),o(!0)})),Yl((function(){a=0,n=Rr("CLS",0),o=Fr(e,n,AU,t.reportAllChanges),ZI((function(){return o()}))})),setTimeout(o,0))})))},id={passive:!0,capture:!0},$ne=new Date,TU=function(e,t){pi||(pi=t,sd=e,EU=new Date,LU(removeEventListener),$U())},$U=function(){if(sd>
14364=0&&sd<EU-$ne){var e={entryType:"first-input",name:pi.type,target:pi.target,cancelable:pi.cancelable,startTime:pi.timeStamp,processingStart:pi.timeStamp+sd};Yf.forEach((function(t){t(e)})),Yf=[]}},Lne=function(e){if(e.cancelable){var t=(e.timeStamp>1e12?new Date:performance.now())-e.timeStamp;e.type=="pointerdown"?(function(o,n){var a=function(){TU(o,n),l()},s=function(){l()},l=function(){removeEventListener("pointerup",a,id),removeEventListener("pointercancel",s,id)};addEventListener("pointerup",a,id),addEventListener("pointercancel",s,id)})(t,e):TU(t,e)}},LU=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach((function(t){return e(t,Lne,id)}))},_U=[100,300],HU=function(e,t){t=t||{},Zf((function(){var o,n=tk(),a=Rr("FID"),s=function(d){d.startTime<n.firstHiddenTime&&(a.value=d.processingStart-d.startTime,a.entries.push(d),o(!0))},l=function(d){d.forEach(s)},p=Xl("first-input",l);o=Fr(e,a,_U,t.reportAllChanges),p&&Jf(ek((function(){l(p.takeRecords()),p.disconnect()}))),p&&Yl((function(){var d;a=Rr("FID"),o=Fr(e,a,_U,t.reportAllChanges),Yf=[],sd=-1,pi=null,LU(addEventListener),d=s,Yf.push(d),$U()}))}))},VU=0,KI=1/0,jf=0,Hne=function(e){e.forEach((function(t){t.interactionId&&(KI=Math.min(KI,t.interactionId),jf=Math.max(jf,t.interactionId),VU=jf?(jf-KI)/7+1:0)}))},OU=function(){return XI?VU:performance.interactionCount||0},Vne=function(){"interactionCount"in performance||XI||(XI=Xl("event",Hne,{type:"event",buffered:!0,durationThreshold:0}))},wU=[200,500],GU=0,DU=function(){return OU()-GU},Er=[],jI={},PU=function(e){var t=Er[Er.length-1],o=jI[e.interactionId];if(o||Er.length<10||e.duration>t.latency){if(o)o.entries.push(e),o.latency=Math.max(o.latency,e.duration);else{var n={id:e.interactionId,latency:e.duration,entries:[e]};jI[n.id]=n,Er.push(n)}Er.sort((function(a,s){return s.latency-a.latency})),Er.splice(10).forEach((function(a){delete jI[a.id]}))}},zU=function(e,t){t=t||{},Zf((function(){var o;Vne();var n,a=Rr("INP"),s=function(p){p.forEach((function(y){y.interactionId&&PU(y),y.entryType==="first-input"&&!Er.some((function(m){return m.entries.some((function(g){return y.duration===g.duration&&y.startTime===g.startTime}))}))&&PU(y)}));var d,u=(d=Math.min(Er.length-1,Math.floor(DU()/50)),Er[d]);u&&u.latency!==a.value&&(a.value=u.latency,a.entries=u.entries,n())},l=Xl("event",s,{durationThreshold:(o=t.durationThreshold)!==null&&o!==void 0?o:40});n=Fr(e,a,wU,t.reportAllChanges),l&&("PerformanceEventTiming"in window&&"interactionId"in PerformanceEventTiming.prototype&&l.observe({type:"first-input",buffered:!0}),Jf((function(){s(l.takeRecords()),a.value<0&&DU()>0&&(a.value=0,a.entries=[]),n(!0)})),Yl((function(){Er=[],GU=OU(),a=Rr("INP"),n=Fr(e,a,wU,t.reportAllChanges)})))}))},NU=[2500,4e3],YI={},UU=function(e,t){t=t||{},Zf((function(){var o,n=tk(),a=Rr("LCP"),s=function(d){var u=d[d.length-1];u&&u.startTime<n.firstHiddenTime&&(a.value=Math.max(u.startTime-JI(),0),a.entries=[u],o())},l=Xl("largest-contentful-paint",s);if(l){o=Fr(e,a,NU,t.reportAllChanges);var p=ek((function(){YI[a.id]||(s(l.takeRecords()),l.disconnect(),YI[a.id]=!0,o(!0))}));["keydown","click"].forEach((function(d){addEventListener(d,(function(){return setTimeout(p,0)}),!0)})),Jf(p),Yl((function(d){a=Rr("LCP"),o=Fr(e,a,NU,t.reportAllChanges),ZI((function(){a.value=performance.now()-d.timeStamp,YI[a.id]=!0,o(!0)}))}))}}))};var WU=()=>{let e="WebVitals";BU(t=>xa({eventValue:t.value,eventLabel:window.location.pathname,eventVariable:"cumulative_layout_shift",eventCategory:e})),HU(t=>Hr({eventValue:t.value,eventLabel:window.location.pathname,eventVariable:"first_input_delay",eventCategory:e})),UU(t=>Hr({eventValue:t.value,eventLabel:window.location.pathname,eventVariable:"largest_contentful_paint",eventCategory:e})),zU(t=>{Hr({eventValue:t.value,eventLabel:window.location.pathname,eventVariable:"interaction_to_next_paint",eventCategory:e})})};function qU(e){let t=e.getLowEntropyHints(),o=t.browsers[0]?.majorVersion;return{isMobile:t.isMobile,brand:t.browsers[0]?.brand,brandVersion:o?String(o):void 0,platform:t.platform}}var One=({onHistory:e})=>{let t=ea();return e?.(t),null},KU=()=>nn()==="specs"?i(void 0,{}):null;KU.displayName="SpecsFontStylesheet";var jU=({getCurrentUrl:e,currentLocale:t,supportedLocales:o,routerContext:n,userLocation:a,shopifyData:s,helmetContext:l,pageLayoutContext:p,apolloClient:d,globalApolloClient:u,siteData:y,browserFeatures:m,onRedirect:g,onHistory:f,asyncDataController:b,globalPrivacyControl:S,cookieManager:C,getUserInfo:I,getPersona:k,createUuidV4:v,singleCallbackCache:w,onHlsVideo:_,initialPersonas:D,updatePersonas:M})=>{let A=Ro().startSpan("appRender"),N=new URL(e()),$;O.isClient?$=({children:ee})=>x(t6,{children:[i(One,{onHistory:f}),ee]}):$=({children:ee})=>i(lx,{location:N.pathname,context:n,children:ee}),$.displayName="Router",m.getHighEntropyHintsAsync({hints:["connection","reduceMotion"]});let B=qU(m),L=rg(t)==="rtl";Lr(()=>{let ee=()=>{let be=new URL(e());return{locale:t,url:be,hostname:be.hostname,userAgentHints:B,uaBrand:B?.brand,uaPlatform:B?.platform,path:be.pathname,userCountry:a.country,isRtl:L}};return Pe.addContextProvider(ee),()=>Pe.removeContextProvider(ee)}
14364,[t,N,L,B,a.country]),(0,Dn.useEffect)(()=>{WU()},[t,e,L,N.hostname,N.pathname,B,a.country]);let H={supportedLocales:o,currentLocale:o[t??ds.currentLocale].code,logEvent:({type:ee,label:be,url:q,component:ce})=>{ee&&(be||q)&&it({subscribedEventType:"user_interaction",eventCategory:ce??"CTA",eventAction:ee,eventLabel:be??(q?`to: ${q}`:null)})},isUrlCurrent:yx(e),getUrlParams:()=>{let ee=new URL(e()).search;return S6(ee)},setUrlParams:ee=>{if(!O.isClient)return;let{pathname:be}=window.location,q=b6(ee),ce=`${be}?${q}`;window.history.pushState(null,"",ce)}};if(et.displayName!=="GlobalHeaderContextSDSM")throw new Error("Duplicate SDS-M packages found. See https://jira.sc-corp.net/browse/ENTWEB-4284");let z={onError:ee=>{Be({component:"GlobalComponents",error:ee instanceof Error?ee:void 0,message:typeof ee=="string"?ee:void 0})},Anchor:Qn,currentLocale:t,isPreview:O.isPreview,isSSR:O.isSSR,hostname:O.domainName,onEvent:({component:ee,action:be,label:q,url:ce})=>{it({subscribedEventType:"user_interaction",event:Uc,eventCategory:ee??"GlobalComponent",eventAction:be,eventLabel:q??(ce?`to: ${ce}`:"generic")}),ce&&!qo(new URL(ce,e()))&&Pe.flush()},supportedLocales:o,onLocaleChange:ee=>{let be=new URL(window.location.href);be.searchParams.set("lang",ee),window.location.replace(be)},isUrlCurrent:yx(e),globalApolloClient:u},[j,ue]=(0,Dn.useState)(y),ie=(0,Dn.useRef)(null),ne=(0,Dn.useRef)(null),J=(0,Dn.useRef)(null),pe=(0,Dn.useRef)(null),re=(0,Dn.useRef)(D),Q={currentLocale:t,supportedLocales:o,userLocation:a,getCurrentUrl:e,isRTL:L,siteData:j,setSiteData:ue,headerPortalRef:ie,pageBottomStickyPortalRef:ne,pageFixedPortalRef:J,appPortalRef:pe,onRedirect:g,cookieManager:C,getUserInfo:I,getPersona:k,createUuidV4:v,onHlsVideo:_,personasRef:re,updatePersonas:ee=>{O.isClient||M?.(ee),re.current=ee}},Y=g8(t,N.searchParams),Z=K0(O.domainName,O.trackingSettings.cookieDomain),U=vU(),R=bU(),X=R?dA(t,U,R):U,W={..._0,Anchor:Qn};O.globalStyles&&Uk(O.globalStyles);let le=i(Dn.StrictMode,{children:i(Lg,{tracer:Ro(),children:i($,{children:i(Bi.Provider,{value:Y,children:i(b8,{children:i(ep,{client:d,children:i(Ab.Provider,{value:{controller:b},children:i(tn.Provider,{value:H,children:i(Le.Provider,{value:W,children:i(RC,{value:z,children:i(Je.Provider,{value:m,children:i(vi,{context:l,children:i(d7,{children:i(oe.Provider,{value:Q,children:x(sv.Provider,{value:w,children:[i(x7,{}),i(k7,{}),i(S7,{}),i(M7,{}),i(_x,{}),i(fv,{}),i(S8,{}),i(A8,{}),i(R7,{}),i(z7,{}),i(KU,{}),i(H7,{children:i(F7,{sessionValue:p,children:i(fx,{shopifyData:s,children:i(Ym,{children:x(N7,{motif:X,tag:"section",children:[i(H9,{}),i(Se.Provider,{value:{elementLocation:"Header"},children:i(i7,{config:O})}),i(bv,{}),i(Se.Provider,{value:{elementLocation:"Page"},children:i(fU,{globalPrivacyControl:S})}),i(n6,{}),i(Se.Provider,{value:{elementLocation:"Footer"},children:i(L9,{cookieSettingsUrl:Z})}),i(h8,{backgroundColor:O.theme?.defaultPageBackgroundColor,isClient:O.isClient,globalPrivacyControl:S}),O.shopify&&O.site!=="stinson"&&i(kx,{})]})})})})})]})})})})})})})})})})})})})})});return A.endSpan(),le};var eb=class{constructor(){Te(this,"getCookieJson",t=>{let o=this.getCookie(t);if(o)try{return JSON.parse(o)}catch(n){Be({component:"CookieManager",message:`Error parsing cookie: "${o}"`,error:n});return}});Te(this,"setCookieJson",(t,o,n)=>{o?this.setCookie(t,JSON.stringify(o),n):this.setCookie(t,"",n)})}};var tb=class extends eb{constructor(){super(...arguments);Te(this,"getCookie",o=>ro.get(o));Te(this,"setCookie",(o,n,a)=>{ro.set(o,n,a)});Te(this,"deleteCookie",o=>ro.remove(o))}};var Gne="XXXXXXXX-XXXX-4XXX-YXXX-XXXXXXXXXXXX",zne=()=>{let e=0,t=window.crypto.getRandomValues(new Uint8Array(32));return Gne.replace(/[XY]/g,o=>{let n=t[e++]%16;return o==="X"?n.toString(16):o==="Y"?(n>>2&128).toString(16):"0"})},YU=()=>"randomUUID"in window.crypto?window.crypto.randomUUID():zne();function Une(e){return function(t,o,n){var a=Object(t);if(!da(t)){var s=Jo(o,3);t=Sd(t),o=function(p){return s(a[p],p,a)}}var l=e(t,o,n);return l>-1?a[s?t[l]:l]:void 0}}var XU=Une;var Wne=Math.max,qne=Math.min;function Qne(e,t,o){var n=e==null?0:e.length;if(!n)return-1;var a=n-1;return o!==void 0&&(a=oM(o),a=o<0?Wne(n+a,0):qne(a,n-1)),nM(e,Jo(t,3),a,!0)}var JU=Qne;var Kne=XU(JU),ZU=Kne;KW();jW();var jne="[object String]";function Yne(e){return typeof e=="string"||!Ko(e)&&vk(e)&&Sk(e)==jne}var eW=Yne;var Xne=Sy("length"),tW=Xne;var nW="\\ud800-\\udfff",Jne="\\u0300-\\u036f",Zne="\\ufe20-\\ufe2f",ere="\\u20d0-\\u20ff",tre=Jne+Zne+ere,ore="\\ufe0e\\ufe0f",nre="["+nW+"]",ok="["+tre+"]",nk="\\ud83c[\\udffb-\\udfff]",rre="(?:"+ok+"|"+nk+")",rW="[^"+nW+"]",aW="(?:\\ud83c[\\udde6-\\uddff]){2}",iW="[\\ud800-\\udbff][\\udc00-\\udfff]",are="\\u200d",sW=rre+"?",lW="["+ore+"]?",ire="(?:"+are+"(?:"+[rW,aW,iW].join("|")+")"+lW+sW+")*",sre=lW+sW+ire,lre="(?:"+[rW+ok+"?",ok,aW,iW,nre].join("|")+")",oW=RegExp(nk+"(?="+nk+")|"+lre+sre,"g");function pre(e){for(var t=oW.lastIndex=0;oW.test(e);)++t;return t}var pW=pre;function cre(e){return w0(e)?pW(e):tW(e)}var cW=cre;var dre="[object Map]",ure="[object Set]";function yre(e){if(e==null)return 0;if(da(e))return eW(e)?cW(e):e.length;var t=wk(e);return t==dre||t==ure?e.size:kk(e).length}var dW=yre;var mre=(e,t)=>
14364{let o=t.url??new URL(window.location.href),n={host:o.host,path:o.pathname,query:JSON.stringify(Object.fromEntries(o.searchParams.entries())),page_locale:t.locale};switch(t.variantId&&(n.experiment_category="Page",n.experiment_group=t.variantId,n.experiment_id=t.experimentId??"None"),e.type){case Me.CUSTOM:{switch(e.subscribedEventType){case"page_load":case"first_page_load":return{event_name:"MARKETING_WEB_PAGE_VIEW",...n,is_landing_page:e.subscribedEventType==="first_page_load"};case"experiment_impression":return{event_name:"MARKETING_WEB_INTERNAL_EVENT",...n,type:"useExperiment",category:"Experiment",label:`${e.experimentId?.replace(/[ _]/,"-")}:${ya(e.variantId)}`,element_location:t.elementLocation,element_text:t.elementText,target_url:t.targetUrl};case"ecommerce":return{event_name:"MARKETING_WEB_SHOPIFY_EVENT",...n,type:e.eventAction,category:e.eventCategory,label:e.eventLabel??void 0,element_location:t.elementLocation,element_text:t.elementText,shopify_data:JSON.stringify(e.ecommerce)}}break}case Me.USER_ACTION:return{event_name:"MARKETING_WEB_USER_INTERACTION",...n,type:e.action,category:e.component,label:e.label,element_location:t.elementLocation,element_text:t.elementText,target_url:t.targetUrl};case Me.INFO:return{event_name:"MARKETING_WEB_INTERNAL_EVENT",...n,type:e.action,category:e.component,label:e.label,element_location:t.elementLocation,element_text:t.elementText,target_url:t.targetUrl};case Me.VALUE:return{event_name:"MARKETING_WEB_VALUE_EVENT",...n,metric:e.value,type:e.variable,category:e.component,label:e.label,element_location:t.elementLocation,element_text:t.elementText,target_url:t.targetUrl};case Me.TIMING:return{event_name:"MARKETING_WEB_TIMING_EVENT",...n,duration:e.valueMs,type:e.variable,category:e.component,label:e.label,element_location:t.elementLocation,element_text:t.elementText,target_url:t.targetUrl}}},gre=(e,t)=>{if(t.pixelId)return{event_name:"MARKETING_WEB_SNAP_PIXEL_EVENT",pixel_id:t.pixelId,triggering_event_name:e.event_name}},fre=(e,t)=>{if(t.webClientId)return{event_name:"MARKETING_WEB_CLIENT_ID_EVENT",web_client_id:t.webClientId,triggering_event_name:e.event_name}},ob=new Set;var ld=(e,t)=>{let o=[],n=mre(e,t);if(!n)return o;o.push(n);let a=gre(n,t);if(a){let l=[a.event_name,a.pixel_id].join(":");ob.has(l)||(o.push(a),ob.add(l))}let s=fre(n,t);if(s){let l=[s.event_name,s.web_client_id].join(":");ob.has(l)||(o.push(s),ob.add(l))}return o};var rk=(e,t)=>{let o=t.url??new URL(window.location.href),a={uri_info:JSON.stringify({href:o.href,host:o.host,path:o.pathname,filename:ZU(o.pathname.split("/"),dW)??"",query:Object.fromEntries(o.searchParams.entries())}),experiment_name:t.experimentId,experiment_variation:t.variantId,page_locale:t.locale},s=ld(e,t);switch(e.type){case Me.CUSTOM:{switch(e.subscribedEventType){case"first_page_load":{s.push({event_name:"FOR_BUSINESS_PAGE_VIEW",...a});break}case"page_load":{s.push({event_name:"FOR_BUSINESS_PAGE_NAVIGATION",...a});break}}break}case Me.USER_ACTION:{s.push({event_name:"FOR_BUSINESS_CLICK",...a,event_category:e.component,event_action:e.action,event_label:e.label,element_location:t.elementLocation,element_text:t.elementText,target_url:t.targetUrl});break}}return s};var uW=new Set([Me.INFO,Me.DEBUG,Me.USER_ACTION,Me.CUSTOM]),yW=e=>{switch(e.type){case Me.TIMING:return"app_measure_event";case Me.VALUE:return"app_measure_event";case Me.ERROR:{if(e.component==="Csp")return"csp_error";if(e.component==="Contentful")return"contentful_error"}}return null},mW=e=>({blockedUri:e.blockedUri,sourceFile:e.sourceFile,violatedDirective:e.violatedDirective,errorCode:e.errorCode,errorName:e.errorName,region:e.region,locale:e.locale,uaBrand:e.uaBrand,uaPlatform:e.uaPlatform}),gW=e=>{if((e.type===Me.TIMING||e.type===Me.VALUE)&&e.component==="NavigationTiming"){let t=dp(e);return t.label="[REDACTED]",t}if(e.type===Me.INFO&&e.component==="PersonaMatch"){let t=dp(e);return t.label="[REDACTED]",t}if((e.type===Me.TIMING||e.type===Me.VALUE)&&e.component==="WebVitals"){let t=dp(e);return t.label="[REDACTED]",t}if(e.type===Me.TIMING&&e.component==="Video"){let t=dp(e);return t.label="[REDACTED]",t}return e};var bre=["Can't find variable: ResizeObserver","Importing a module script failed.","o.flush is not a function","ResizeObserver loop limit exceeded","Cannot read properties of null (reading 'querySelector')","Form submit failed","Missing fields in LS download form: eula"],Sre=["Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed"];function fW(){return(e,t)=>{let o=e?.exception?.values?.[0]?.stacktrace?.frames,n=e.exception?.values?.[0]?.value??e.message;if(!n&&!o)return e;if(n?.includes("599")||Sre.some(l=>n?.includes(l)))return null;let a=n?.match(/Query execution error\. Link from entry(.*)cannot be resolved/);if(a?.length&&a[0])return e.fingerprint=[a[0]],e;if(n?.includes("Failed to fetch dynamically imported module"))return e.fingerprint=["Failed to fetch dynamically imported module"],e;if(n?.includes("Response closed without headers")&&o?.some(l=>l.module?.includes("@improbable-eng/grpc-web")))return e.fingerprint=["[grpc-web] Response closed without headers"],e;if(n?.includes("Failed to fetch")&&e.request?.url?.includes("download"))return e.fingerprint=["[download] Failed to fetch"],e;let s=e.request?.url??"/";
14364for(let l of bre)if(n?.includes(l))return e.fingerprint=[s,l],e;return e}}var hre="X-Snap-Mwp-Auth",nb=class extends Vd{constructor(o){super({requiredPermissions:["logging"],filter:o.filter});Te(this,"props");Te(this,"events");Te(this,"timeout");Te(this,"fetch");Te(this,"clock");Te(this,"exportEvents",async()=>{if(this.timeout=void 0,this.events.length===0)return;let o={events:this.getSerializedEvents(),timestamp:this.clock()};this.events=[];try{let n={events:[o.events[0]],timestamp:o.timestamp},a=await Cre(n),s=window.btoa(a),l=await this.fetch("/api/events",{method:"POST",body:JSON.stringify(o),headers:{[hre]:s,"Content-Type":"application/json"}});if(!l.ok){let p=await l.text();throw new Error(`Events export request failed - status: ${l.status}, value:${p} `)}}catch(n){this.props.onError?.(Bt(n))}this.ensureTimeout()});Te(this,"getSerializedEvents",()=>this.events.map(o=>{if(o.event.type!=="error")return o;let n=o.event;return n.message||!n.error||(n.message=Bt(n.error).message),o}));Te(this,"init",()=>Promise.resolve());Te(this,"flushInternal",async()=>{this.timeout&&clearTimeout(this.timeout),await this.exportEvents()});this.props=o,this.fetch=o.fetch??wn,this.events=[],this.clock=o.clock??Date.now}ensureTimeout(){this.timeout===void 0&&(this.timeout=setTimeout(this.exportEvents,this.props.logTimeIntervalMs))}logEventInternal(o,n){this.events.push({event:o,context:n??{}}),this.ensureTimeout()}};async function Cre(e){let t=typeof e=="string"?e:JSON.stringify(e),n=new TextEncoder().encode(t),a=await window.crypto.subtle.digest("SHA-256",n);return Array.from(new Uint8Array(a)).map(s=>s.toString(16).padStart(2,"0")).join("")}var bW=5e3;function SW(e){return new RegExp(`${e}=([^;]+);`).exec(document.cookie)?.[1]}function xre(){return{pixelId:SW("_scid")}}var ak=class{constructor(){Te(this,"experimentContext",{});Te(this,"getExperimentContext",()=>this.experimentContext);Te(this,"allow",()=>Promise.resolve());Te(this,"deny",()=>Promise.resolve());Te(this,"flush",()=>Promise.resolve())}logEvent(t,o){t.type===Me.CUSTOM&&t.subscribedEventType==="experiment_impression"&&(t.experimentId?(this.experimentContext.experimentId=t.experimentId,this.experimentContext.variantId=t.variantId):(this.experimentContext.experimentId=void 0,this.experimentContext.variantId=void 0))}},hW=e=>{if(e.isTest||!e.isClient)return;Pe.addContextProvider(()=>({region:e.region,buildNumber:e.buildNumber,eventOrigin:"client"}));let t=new ak;Pe.addEventListeners(t),Pe.addContextProvider(()=>t.getExperimentContext()),Pe.addContextProvider(xre),Pe.addContextProvider(()=>({webClientId:SW("sc-wcid")}));for(let o of e.trackingSettings.eventListeners)switch(o.vendor){case"Graphene":{Pe.addEventListeners(new Y7({partitionName:o.partitionName,variant:e.site,flavor:e.isDeploymentTypeProd?"production":"development",logTimeInterval:bW,getMetricName:yW,getAdditionalDimensions:mW,filter:n=>!uW.has(n.type),eventRewrite:gW}));break}case"MwpClientEventExport":{if(!e.isCompilationModeProd||!e.isDeploymentTypeProd||!e.buildNumber)break;Pe.addEventListeners(new nb({useAsync:!0,logTimeIntervalMs:bW,onError:n=>console.error(n)}));break}case"GoogleTagManager":{let n=document.querySelector("script[nonce]")?.nonce,a=new Hg({useAsync:!0,gtmId:o.googleTagManagerId,nonce:n,initialContext:{locale:e.locale,globalPrivacyControl:e.globalPrivacyControl}});Pe.addEventListeners(a);break}case"Blizzard":{let n=o.eventFormat==="ForBusiness"?rk:ld;Pe.addEventListeners(new Tv({useAsync:!0,isProd:e.isDeploymentTypeProd,cookieDomain:e.trackingSettings.cookieDomain,eventFormatter:n}));break}case"Sentry":{if(!e.isDeploymentTypeProd)break;let n=e.commit?.slice(0,9)??"unknown",a={dsn:o.dsn,tracesSampleRate:1,useAsync:!0,getContext:(s,l)=>({contexts:{location:{userCountry:l.userCountry??"unknown_country",locale:l.locale??"unknown_locale",region:l.region??"unknown_region"}}}),environment:e.deploymentType,release:`${o.projectName}@${n}`,filter(s,l){return!(s.type===Me.ERROR&&s.component==="Csp"||s.type===Me.DEBUG)},beforeSend:fW()};o.allowUrls&&(a.allowUrls=o.allowUrls),Pe.addEventListeners(new X7(a));break}case"Console":{Pe.addEventListeners(new U7({filter(n,a){return!(n.type===Me.TIMING&&n.component==="Contentful"&&n.variable==="request_duration"&&n.valueMs<1e3)},getFlatContext(n){return{elementLocation:n.elementLocation,elementText:n.elementText,targetUrl:n.targetUrl}},customEventFormatter(n,a){return n.subscribedEventType==="experiment_impression"?!n.experimentId||!n.variantId?null:`Experiment: Impression on ${n.experimentId}.${n.variantId}`:[Gt(n,"type")]}}));break}}};var CW=5e3;function xW(e){let t=e.featureFlags?.disableLazyLoadLogging==="true"||!e.isDeploymentTypeProd,o=performance.now(),n=()=>{Pe.allow("logging");let a=performance.now();Pe.logTiming({component:"logInit",variable:"allowLogging",valueMs:a-o})};t?setTimeout(n,10):typeof globalThis.requestIdleCallback=="function"?setTimeout(()=>{requestIdleCallback(n,{timeout:CW})},1e3):typeof globalThis.requestAnimationFrame=="function"?setTimeout(()=>{requestAnimationFrame(n)},1e3):setTimeout(n,CW)}function ik(e){return new un(function(t,o){return new Ji(function(n){var a,s,l;try{a=o(t).subscribe({next:function(p){if(p.errors&&(l=e({graphQLErrors:p.errors,response:p,operation:t,forward:o}),l)){s=l.subscribe({next:n.next.bind(n),error:n.error.bind(n),complete:n.complete.bind(n)});return}n.next(p)},error:function(p){if(l=e({operation:t,networkError:p,graphQLErrors:p&&p.result&&p.result.errors,forward:o}),l){s=l.subscribe({next:n.next.bind(n),error:n.error.bind(n),complete:n.complete.bind(n)});return}n.error(p)},complete:function(){l||n.complete.bind(n)()}})}catch(p){e({networkError:p,operation:t,forward:o}),n.error(p)}return function(){a&&a.unsubscribe(),s&&a.unsubscribe()}})})}var wTt=(function(e){Cd(t,e);function t(o){var n=e.call(this)||this;return n.link=ik(o),n}return t.prototype.request=function(o,n){return this.link.request(o,n)},t})(un);var sk=class extends xd{writeQuery(t){let o=Ro().startSpan(`InMemoryCache.writeQuery: ${ia(t.query)}`),n=super.writeQuery(t);return o.endSpan(),n}diff(t){let o=Ro().startSpan(`InMemoryCache.diff: ${ia(t.query)}`),n=super.diff(t);return o.endSpan(),n}readQuery(t,o){let n=Ro().startSpan(`InMemoryCache.readQuery: ${ia(t.query)}`),a=super.readQuery(t,o);return n.endSpan(),a}};function vW(e,t){let o=(l,p)=>{let d=l;return d.sys?.id?`${p.typename}:${d.sys.id}`:Hk(d.sys)?`${p.typename}:${d.sys.__ref.split(":")[1]}`:(console.info(`Apollo Query missing { sys { id }}
14364. Add '...ContentfulSysId' field. Type: ${p.typename}`),Ok(l))},n=Object.fromEntries(e.Entry.flatMap(l=>[[l,{keyFields:o}]])),a={possibleTypes:e,typePolicies:n},s=new sk(a);if(t){let l=Ro().startSpan("restoringContentfulCache");s.restore(t),l.endSpan()}return s}var IW=(e="")=>{let t=0;return()=>`${e}${++t}`},kW=new un((e,t)=>{let o={},n={},a=IW("f"),s=IW("v");pb(e.query,{VariableDefinition:u=>{let y=u.variable.name.value;n[y]||(n[y]=s())},FragmentDefinition:u=>{let y=u.name.value;o[y]||(o[y]=a())}});let l={};for(let u in e.variables){let y=n[u]||u;l[y]=e.variables[u]}e.variables=l;let p=ko(e.query),d={VariableDefinition:u=>{let y=n[u.variable.name.value];return y?{...u,variable:{...u.variable,name:{...u.variable.name,value:y}}}:!1},Variable:u=>{let y=n[u.name.value];return y?{...u,name:{...u.name,value:y}}:!1},FragmentDefinition:u=>{let y=o[u.name.value];return y?{...u,name:{...u.name,value:y}}:!1},FragmentSpread:u=>{let y=o[u.name.value];return y?{...u,name:{...u.name,value:y}}:!1}};return e.query=pb(p,d),t(e)});var MW=new un((e,t)=>{let o=e.operationName,n=e.variables.locale??"en-US",a="Contentful",s="request_duration",l=e.getContext().currentUrl,p=l?new URL(l).pathname:"/",d={queryName:o,locale:n,requestPath:p};return new Ji(u=>{e.setContext({startMs:performance.now()});let y=t(e).subscribe({next:m=>{u.next(m)},complete:()=>{let m=performance.now()-e.getContext().startMs,g=e.getContext().response,f=g?.status??200;Hr({eventCategory:a,eventVariable:s,eventValue:m,eventLabel:null,context:{...d,responseStatus:f,contentfulRequestStatus:"complete","x-contentful-region":g?.headers?.get("x-contentful-region"),"x-cache":g?.headers?.get("x-cache"),"x-contentful-request-id":g?.headers?.get("x-contentful-request-id"),"x-served-by":g?.headers?.get("x-served-by")}}),u.complete()},error:m=>{let g=performance.now()-e.getContext().startMs,f=e.getContext().response,b=f?.status??500;Hr({eventCategory:a,eventVariable:s,eventValue:g,eventLabel:null,context:{...d,responseStatus:b,contentfulRequestStatus:"error","x-contentful-region":f?.headers?.get("x-contentful-region"),"x-cache":f?.headers?.get("x-cache"),"x-contentful-request-id":f?.headers?.get("x-contentful-request-id"),"x-served-by":f?.headers?.get("x-served-by")}}),u.error(m)}});return()=>{y.unsubscribe()}})});var vre="https://unknown.url",Ire=new Map().set(400,"BadRequest").set(401,"AccessTokenInvalid").set(403,"AccessDenied").set(404,"NotFound").set(409,"VersionMismatch").set(422,"ValidationFailed").set(429,"RateLimitExceeded").set(500,"ServerError").set(502,"Hibernated"),lk=e=>{let t=e.environmentName?`https://graphql.contentful.com/content/v1/spaces/${e.spaceId}/environments/${e.environmentName}`:`https://graphql.contentful.com/content/v1/spaces/${e.spaceId}`,o={Authorization:`Bearer ${O.isPreview&&e.previewAccessToken?e.previewAccessToken:e.accessToken}`};return O.isClient||(o["fastly-debug"]="1"),{uri:t,credentials:"same-origin",headers:o,fetch:wn,print(n,a){return Lk(a(n))}}},rb=(e,t,o)=>{let n=new IL({delay:{max:100},attempts:{max:z0,retryIf:(d,u)=>{if(d){let y=Bt(d),m=u.getContext().response,g=m?.status??500,f=g===429||g>=500&&g<600;return f&&$n({eventAction:"RetryFetch",eventCategory:"Apollo",eventLabel:ia(u.query),context:{responseCode:String(g),errorMessage:y.message,"x-contentful-region":m?.headers?.get("x-contentful-region"),"x-cache":m?.headers?.get("x-cache"),"x-contentful-request-id":m?.headers?.get("x-contentful-request-id")}}),f}return!1}}}),a=ik(({graphQLErrors:d,networkError:u,operation:y})=>{if(d&&d.forEach(m=>{let g=m.extensions?.contentful?.code,f=y.getContext().response;Be({component:"Contentful",error:m,action:"GraphQlError",message:m.message,context:{errorName:g?.toLowerCase()??"unknown",variables:JSON.stringify(y.variables),queryName:ia(y.query),queryPath:m.path?.join(","),locations:m.locations?.join(","),requestUrl:y.getContext().currentUrl,"x-contentful-region":f?.headers?.get("x-contentful-region"),"x-cache":f?.headers?.get("x-cache"),"x-contentful-request-id":f?.headers?.get("x-contentful-request-id")}})}),u){let m=u.name==="ServerError"?u:void 0,g=y.getContext().response,f=m?.statusCode??599,b=Ire.get(f)??"Unknown";Be({component:"Contentful",error:u,action:"NetworkError",message:`${u.name}/${b} (${f}
14364)`,context:{name:u.name,errorCode:f,errorName:b,url:new URL(m?.response?.url??vre),requestUrl:y.getContext().currentUrl,"x-contentful-region":g?.headers?.get("x-contentful-region"),"x-cache":g?.headers?.get("x-cache"),"x-contentful-request-id":g?.headers?.get("x-contentful-request-id")}})}}),s=new un((d,u)=>{let y=Ro().startSpan(`ApolloQuery: ${d.operationName}`);return u(d).map(m=>(y.endSpan(),m))}),l=un.from([kW,s,MW,a,n,Vk(lk(e))]);return new vd({link:l,cache:vW(t,o),ssrMode:!O.isClient,ssrForceFetchDelay:O.isSSR?100:0})};var kre=3e4,pd=new Map;!O.isClient&&!O.isTest&&setInterval(()=>{for(let[e,[t,o]]of Array.from(pd.entries())){let n=o();pd.set(e,[n,o])}},kre);var pk=(e,t)=>{if(O.isPreview)return rb(...t);let n=`${t[0].spaceId}/${e}`;if(pd.has(n)){let[s]=pd.get(n);return s}let a=rb(...t);return pd.set(n,[a,()=>rb(...t)]),a};function AW(e,t){return O.isDeploymentTypeProd?e:{...e,environmentName:t.get("contentfulEnvironmentName")??e.environmentName}}var BW=T(FW());var ck=(0,BW.default)(async e=>{let t=lk(e),o=Ro().startSpan("generateFragmentTypes"),a=await(await wn(t.uri,{method:"POST",headers:{Authorization:t.headers?.Authorization??"","Content-Type":"application/json"},body:JSON.stringify({variables:{},query:"{__schema{types{kind name possibleTypes{name}}}}"})})).json();if(!a.data)throw Error(`Schema request failed: ${JSON.stringify(a)}`);let s=Bre(a.data);return o.endSpan(),s});function Bre(e){let t={};return e.__schema.types.forEach(o=>{o.possibleTypes&&(t[o.name]=o.possibleTypes.map(n=>n.name))}),t}var ib=class{constructor(){Te(this,"spanCount",0);Te(this,"listeners",new Set);Te(this,"activeEvents",0);Te(this,"startSpan",t=>{let o=`${this.spanCount++}: ${t}`;return this.activeEvents++,this.listeners.forEach(n=>n(o,t,"START",this.activeEvents)),performance.mark(`${o} start`),{endSpan:()=>this.endSpan(t,o)}});Te(this,"endSpan",(t,o)=>{performance.mark(`${o} end`),performance.measure(t,`${o} start`,`${o} end`),this.activeEvents--,this.listeners.forEach(n=>n(o,t,"END",this.activeEvents))});Te(this,"addEventListener",t=>(this.listeners.add(t),()=>{this.listeners.delete(t)}))}};var $W=new Set([".snapchat.com",".snap.com",".arcadiacreativestudio.com",".pixy.com",".yellowla.com",".specs.com",".spectacles.com",".snap-dev.net",".sc-corp.net","localhost"]),LW="EssentialSession",dk="sc-wcid";function HW(e){let{currentUrl:t,userLocation:o,cookieManager:n,createUuidV4:a}=e;if(n.getCookie(LW)==="false")return;let s=n.getCookie(dk);if(s)return s;let l=o.country?O0.has(o.country):!0,p=new Date;l?p.setDate(p.getDate()+1):p.setFullYear(p.getFullYear()+1);let d=ha(t.hostname);d!=="localhost"&&(d=`.${d}`),d===".appspot.com"&&(d=".sc-corp.net");let u={expires:new Date(p),path:"/",secure:!0,httpOnly:!1,credentials:"same-origin",domain:$W.has(d)?d:void 0},y=a();return n.setCookie(dk,y,u),y}var Lre={currentLocale:ds.currentLocale,supportedLocales:ds.supportedLocales,userLocation:ds.userLocation,pageLayoutContext:{footerView:"Full Footer",headerView:"Full Header",hasSubNav:!1,hasSideNav:!1,hasCustomSideNav:!1}};async function Hre(){let e=window.APP_STATE??Lre;(0,VW.printWarning)(e.currentLocale);let t={...O,locale:e.currentLocale,globalPrivacyControl:navigator.globalPrivacyControl};if(hW(t),xW(t),g7(new ib),window.location.pathname.startsWith(`/${e.currentLocale}`)){let N=new URL(window.location.href);N.pathname=N.pathname.replace(`/${e.currentLocale}`,""),e.currentLocale!==No&&N.searchParams.set("lang",e.currentLocale),window.history.pushState({},"",N)}let o=window.APOLLO_STATE,n=window.GLOBAL_APOLLO_STATE,a=new URLSearchParams(window.location.search),s=AW(O.contentful,a),l=window.APOLLO_FRAGMENTS&&Object.keys(window.APOLLO_FRAGMENTS).length>0?window.APOLLO_FRAGMENTS:await ck(s),p=window.GLOBAL_APOLLO_FRAGMENTS&&Object.keys(window.GLOBAL_APOLLO_FRAGMENTS).length>0?window.GLOBAL_APOLLO_FRAGMENTS:await ck(O.contentfulGlobal),d=pk(e.currentLocale,[s,l,o]),u=pk(e.currentLocale,[O.contentfulGlobal,p,n]),y=new Map;window.ASYNC_DATA_CONTROLLER_CACHE&&(y=new Map(Object.entries(window.ASYNC_DATA_CONTROLLER_CACHE??{})));let m=new vb({cache:y,defaultExpiryTimeMs:363e4,clock:Date.now}),g=new tb,f=YU,b=HW({cookieManager:g,createUuidV4:f,currentUrl:new URL(window.location.href),userLocation:e.userLocation}),S=()=>b?Promise.resolve({experimentBucket:{id:b}}):fetch("/api/userinfo").then(N=>N.json()).catch(()=>({experimentBucket:{id:"default"}})),C=()=>{let N=new URLSearchParams(window.location.search).get("overrideHashedIp"),B=`/api/persona${!O.isDeploymentTypeProd&&!!N?`?overrideHashedIp=${N}`:""}`;return fetch(B).then(L=>L.json()).catch(()=>({}))},I=(N,$)=>{let B=$?.newTab;if(N.startsWith("http")){window.open(N,B?"_blank":"_self");return}if(v&&!B){v.push(N),window.history.pushState(null,"",new URL(N,window.location.href));return}window.open(N,B?"_blank":"_self")},k=new aM,v,w={...e,getCurrentUrl:()=>window.location.href,routerContext:{},helmetContext:{},apolloClient:d,globalApolloClient:u,onRedirect:I,onHistory:N=>{v=N},browserFeatures:k,asyncDataController:m,globalPrivacyControl:navigator.globalPrivacyControl,cookieManager:g,createUuidV4:f,getUserInfo:S,getPersona:C,singleCallbackCache:new Map,onHlsVideo:()=>{}},_=mk({key:"marketing-web-emotion"}),D=i(bk,{value:_,children:i(jU,{...w})}),M=document.querySelector("main");M?M.hasChildNodes()??!1?(0,sb.hydrateRoot)(M,D):(0,sb.createRoot)(M).render(D):console.error("HTML must contain a <main> element.");let A=0;if(O.isLocal&&O.compilationMode==="development"){let N=new EventSource("/esbuild",{});N.addEventListener("error",()=>{console.error("/esbuild server disconnected."),A++,A>1e3&&(N.close(),console.info("Esbuild could not connnect after a 1000 attempts. Closing connection. Please reload."))}),N.addEventListener("change",$=>{let B=JSON.parse($.data);
14364B.errors?.length?B.errors.forEach(L=>{let H=L.location,z=`${H.file}:${H.line}:${H.column}`;console.error(` 'Build failed. Not reloading.', ${L.text} (${z})`)}):(console.info("Served content changed. Reloading"),location.reload())})}}Hre().catch(e=>console.error(e)); 14365/*! Bundled license information: 14366 14367@contentful/rich-text-html-renderer/dist/rich-text-html-renderer.es5.js: 14368 (*! 14369 * escape-html 14370 * Copyright(c) 2012-2013 TJ Holowaychuk 14371 * Copyright(c) 2015 Andreas Lubbe 14372 * Copyright(c) 2015 Tiancheng "Timothy" Gu 14373 * MIT Licensed 14374 *) 14375*/
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.