1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,46932,31178,37806,21476,47414,74008,64978,72846,e=>{"use strict";let t,i,s,r=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],o=new Set(r),n=(e,t,i)=>i>t?t:i<e?e:i,a={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},l={...a,transform:e=>n(0,1,e)},c={...a,default:1},d=e=>Math.round(1e5*e)/1e5,u=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,h=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,m=(e,t)=>i=>!!("string"==typeof i&&h.test(i)&&i.startsWith(e)||t&&null!=i&&Object.prototype.hasOwnProperty.call(i,t)),p=(e,t,i)=>s=>{if("string"!=typeof s)return s;let[r,o,n,a]=s.match(u);return{[e]:parseFloat(r),[t]:parseFloat(o),[i]:parseFloat(n),alpha:void 0!==a?parseFloat(a):1}},f={...a,transform:e=>Math.round(n(0,255,e))},g={test:m("rgb","red"),parse:p("red","green","blue"),transform:e=>{let{red:t,green:i,blue:s,alpha:r=1}=e;return"rgba("+f.transform(t)+", "+f.transform(i)+", "+f.transform(s)+", "+d(l.transform(r))+")"}},x={test:m("#"),parse:function(e){let t="",i="",s="",r="";return e.length>5?(t=e.substring(1,3),i=e.substring(3,5),s=e.substring(5,7),r=e.substring(7,9)):(t=e.substring(1,2),i=e.substring(2,3),s=e.substring(3,4),r=e.substring(4,5),t+=t,i+=i,s+=s,r+=r),{red:parseInt(t,16),green:parseInt(i,16),blue:parseInt(s,16),alpha:r?parseInt(r,16)/255:1}},transform:g.transform},v=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),y=v("deg"),b=v("%"),w=v("px"),k=v("vh"),j=v("vw"),C={...b,parse:e=>b.parse(e)/100,transform:e=>b.transform(100*e)},M={test:m("hsl","hue"),parse:p("hue","saturation","lightness"),transform:e=>{let{hue:t,saturation:i,lightness:s,alpha:r=1}=e;return"hsla("+Math.round(t)+", "+b.transform(d(i))+", "+b.transform(d(s))+", "+d(l.transform(r))+")"}},S={test:e=>g.test(e)||x.test(e)||M.test(e),parse:e=>g.test(e)?g.parse(e):M.test(e)?M.parse(e):x.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?g.transform(e):M.transform(e),getAnimatableNone:e=>{let t=S.parse(e);return t.alpha=0,S.transform(t)}},N=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,z="number",I="color",E=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function A(e){let t=e.toString(),i=[],s={color:[],number:[],var:[]},r=[],o=0,n=t.replace(E,e=>(S.test(e)?(s.color.push(o),r.push(I),i.push(S.parse(e))):e.startsWith("var(")?(s.var.push(o),r.push("var"),i.push(e)):(s.number.push(o),r.push(z),i.push(parseFloat(e))),++o,"${}")).split("${}");return{values:i,split:n,indexes:s,types:r}}function D(e){let{split:t,types:i}=e,s=t.length;return e=>{let r="";for(let o=0;o<s;o++)if(r+=t[o],void 0!==e[o]){let t=i[o];t===z?r+=d(e[o]):t===I?r+=S.transform(e[o]):r+=e[o]}return r}}let T={test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(u)?.length||0)+(e.match(N)?.length||0)>0},parse:function(e){return A(e).values},createTransformer:function(e){return D(A(e))},getAnimatableNone:function(e){let t=A(e);return D(t)(t.values.map((e,i)=>((e,t)=>"number"==typeof e?t?.trim().endsWith("/")?e:0:"number"==typeof e?0:S.test(e)?S.getAnimatableNone(e):e)(e,t.split[i])))}},F=new Set(["brightness","contrast","saturate","opacity"]);function P(e){let[t,i]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[s]=i.match(u)||[];if(!s)return e;let r=i.replace(s,""),o=+!!F.has(t);return s!==i&&(o*=100),t+"("+o+r+")"}let L=/\b([a-z-]*)\(.*?\)/gu,_={...T,getAnimatableNone:e=>{let t=e.match(L);return t?t.map(P).join(" "):e}},R={...T,getAnimatableNone:e=>{let t=T.parse(e);return T.createTransformer(e)(t.map(e=>"number"==typeof e?0:"object"==typeof e?{...e,alpha:1}:e))}},B={...a,transform:Math.round},V={borderWidth:w,borderTopWidth:w,borderRightWidth:w,borderBottomWidth:w,borderLeftWidth:w,borderRadius:w,borderTopLeftRadius:w,borderTopRightRadius:w,borderBottomRightRadius:w,borderBottomLeftRadius:w,width:w,maxWidth:w,height:w,maxHeight:w,top:w,right:w,bottom:w,left:w,inset:w,insetBlock:w,insetBlockStart:w,insetBlockEnd:w,insetInline:w,insetInlineStart:w,insetInlineEnd:w,padding:w,paddingTop:w,paddingRight:w,paddingBottom:w,paddingLeft:w,paddingBlock:w,paddingBlockStart:w,paddingBlockEnd:w,paddingInline:w,paddingInlineStart:w,paddingInlineEnd:w,margin:w,marginTop:w,marginRight:w,marginBottom:w,marginLeft:w,marginBlock:w,marginBlockStart:w,marginBlockEnd:w,marginInline:w,marginInlineStart:w,marginInlineEnd:w,fontSize:w,backgroundPositionX:w,backgroundPositionY:w,rotate:y,rotateX:y,rotateY:y,rotateZ:y,scale:c,scaleX:c,scaleY:c,scaleZ:c,skew:y,skewX:y,skewY:y,distance:w,translateX:w,translateY:w,translateZ:w,x:w,y:w,z:w,perspective:w,transformPerspective:w,opacity:l,originX:C,originY:C,originZ:w,zIndex:B,fillOpacity:l,strokeOpacity:l,numOctaves:B},O={...V,color:S,backgroundColor:S,outlineColor:S,fill:S,stroke:S,borderColor:S,borderTopColor:S,borderRightColor:S,borderBottomColor:S,borderLeftColor:S,filter:_,WebkitFilter:_,mask:R,WebkitMask:R},W=e=>O[e],$=()=>({translate:0,scale:1,origin:0,originPoint:0}),U=()=>({x:$(),y:$()}),H=()=>({min:0,max:0}),Y=()=>({x:H(),y:H()}),q=e=>!!(e&&e.getVelocity),K=new Set(["width","height","top","left","right","bottom",...r]),G=e=>t=>
1t.test(e),X=[a,w,b,y,j,k,{test:e=>"auto"===e,parse:e=>e}],Q=e=>X.find(G(e));var Z,J=e.i(47167);let ee=()=>{},et=()=>{};J.default;let ei=e=>t=>"string"==typeof t&&t.startsWith(e),es=ei("--"),er=ei("var(--"),eo=e=>!!er(e)&&en.test(e.split("/*")[0].trim()),en=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function ea(e){return"string"==typeof e&&e.split("/*")[0].includes("var(--")}let el=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,ec=e=>180*e/Math.PI,ed=e=>eh(ec(Math.atan2(e[1],e[0]))),eu={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:ed,rotateZ:ed,skewX:e=>ec(Math.atan(e[1])),skewY:e=>ec(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},eh=e=>((e%=360)<0&&(e+=360),e),em=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),ep=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),ef={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:em,scaleY:ep,scale:e=>(em(e)+ep(e))/2,rotateX:e=>eh(ec(Math.atan2(e[6],e[5]))),rotateY:e=>eh(ec(Math.atan2(-e[2],e[0]))),rotateZ:ed,rotate:ed,skewX:e=>ec(Math.atan(e[4])),skewY:e=>ec(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function eg(e){return+!!e.includes("scale")}function ex(e,t){let i,s;if(!e||"none"===e)return eg(t);let r=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(r)i=ef,s=r;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=eu,s=t}if(!s)return eg(t);let o=i[t],n=s[1].split(",").map(ev);return"function"==typeof o?o(n):n[o]}function ev(e){return parseFloat(e.trim())}let ey=e=>e===a||e===w,eb=new Set(["x","y","z"]),ew=r.filter(e=>!eb.has(e)),ek={width:(e,t)=>{let{x:i}=e,{paddingLeft:s="0",paddingRight:r="0",boxSizing:o}=t,n=i.max-i.min;return"border-box"===o?n:n-parseFloat(s)-parseFloat(r)},height:(e,t)=>{let{y:i}=e,{paddingTop:s="0",paddingBottom:r="0",boxSizing:o}=t,n=i.max-i.min;return"border-box"===o?n:n-parseFloat(s)-parseFloat(r)},top:(e,t)=>{let{top:i}=t;return parseFloat(i)},left:(e,t)=>{let{left:i}=t;return parseFloat(i)},bottom:(e,t)=>{let{y:i}=e,{top:s}=t;return parseFloat(s)+(i.max-i.min)},right:(e,t)=>{let{x:i}=e,{left:s}=t;return parseFloat(s)+(i.max-i.min)},x:(e,t)=>{let{transform:i}=t;return ex(i,"x")},y:(e,t)=>{let{transform:i}=t;return ex(i,"y")}};ek.translateX=ek.x,ek.translateY=ek.y;let ej=e=>e,eC={},eM=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function eS(e,t){let i=!1,s=!0,r={delta:0,timestamp:0,isProcessing:!1},o=()=>i=!0,n=eM.reduce((e,i)=>(e[i]=function(e,t){let i=new Set,s=new Set,r=!1,o=!1,n=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1},l=0;function c(t){n.has(t)&&(d.schedule(t),e()),l++,t(a)}let d={schedule:function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=o&&r?i:s;return t&&n.add(e),a.add(e),e},cancel:e=>{s.delete(e),n.delete(e)},process:e=>{if(a=e,r){o=!0;return}r=!0;let n=i;i=s,s=n,i.forEach(c),t,l=0,i.clear(),r=!1,o&&(o=!1,d.process(e))}};return d}(o,t?i:void 0),e),{}),{setup:a,read:l,resolveKeyframes:c,preUpdate:d,update:u,preRender:h,render:m,postRender:p}=n,f=()=>{let o=eC.useManualTiming,n=o?r.timestamp:performance.now();i=!1,o||(r.delta=s?1e3/60:Math.max(Math.min(n-r.timestamp,40),1)),r.timestamp=n,r.isProcessing=!0,a.process(r),l.process(r),c.process(r),d.process(r),u.process(r),h.process(r),m.process(r),p.process(r),r.isProcessing=!1,i&&t&&(s=!1,e(f))};return{schedule:eM.reduce((t,o)=>{let a=n[o];return t[o]=function(t){let o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!i&&(i=!0,s=!0,r.isProcessing||e(f)),a.schedule(t,o,n)},t},{}),cancel:e=>{for(let t=0;t<eM.length;t++)n[eM[t]].cancel(e)},state:r,steps:n}}let{schedule:eN,cancel:ez,state:eI,steps:eE}=eS("u">typeof requestAnimationFrame?requestAnimationFrame:ej,!0),eA=new Set,eD=!1,eT=!1,eF=!1;function eP(){if(eT){let e=Array.from(eA).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),i=new Map;t.forEach(e=>
1{let t,s=(t=[],ew.forEach(i=>{let s=e.getValue(i);void 0!==s&&(t.push([i,s.get()]),s.set(+!!i.startsWith("scale")))}),t);s.length&&(i.set(e,s),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=i.get(e);t&&t.forEach(t=>{let[i,s]=t;e.getValue(i)?.set(s)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}eT=!1,eD=!1,eA.forEach(e=>e.complete(eF)),eA.clear()}function eL(){eA.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(eT=!0)})}class e_{constructor(e,t,i,s,r,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=i,this.motionValue=s,this.element=r,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(eA.add(this),eD||(eD=!0,eN.read(eL),eN.resolveKeyframes(eP))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:i,motionValue:s}=this;if(null===e[0]){let r=s?.get(),o=e[e.length-1];if(void 0!==r)e[0]=r;else if(i&&t){let s=i.readValue(t,o);null!=s&&(e[0]=s)}void 0===e[0]&&(e[0]=o),s&&void 0===r&&s.set(e[0])}for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),eA.delete(this)}cancel(){"scheduled"===this.state&&(eA.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let eR=new Set([_,R]);function eB(e,t){let i=W(e);return eR.has(i)||(i=T),i.getAnimatableNone?i.getAnimatableNone(t):void 0}let eV=new Set(["auto","none","0"]);class eO extends e_{constructor(e,t,i,s,r){super(e,t,i,s,r,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:i}=this;if(!t||!t.current)return;super.readKeyframes();for(let i=0;i<e.length;i++){let s=e[i];if("string"==typeof s&&eo(s=s.trim())){let r=function e(t,i){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;et(s<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[r,o]=function(e){let t=el.exec(e);if(!t)return[,];let[,i,s,r]=t;return[`--${i??s}`,r]}(t);if(!r)return;let n=window.getComputedStyle(i).getPropertyValue(r);if(n){let e=n.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)?parseFloat(e):e}return eo(o)?e(o,i,s+1):o}(s,t.current);void 0!==r&&(e[i]=r),i===e.length-1&&(this.finalKeyframe=s)}}if(this.resolveNoneKeyframes(),!K.has(i)||2!==e.length)return;let[s,r]=e,o=Q(s),n=Q(r);if(ea(s)!==ea(r)&&ek[i]){this.needsMeasurement=!0;return}if(o!==n)if(ey(o)&&ey(n))for(let t=0;t<e.length;t++){let i=e[t];"string"==typeof i&&(e[t]=parseFloat(i))}else ek[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,i=[];for(let t=0;t<e.length;t++)(null===e[t]||function(e){if("number"==typeof e)return 0===e;if(null===e)return!0;return"none"===e||"0"===e||/^0[^.\s]+$/u.test(e)}(e[t]))&&i.push(t);i.length&&function(e,t,i){let s,r=0;for(;r<e.length&&!s;){let t=e[r];"string"==typeof t&&!eV.has(t)&&A(t).values.length&&(s=e[r]),r++}if(s&&i)for(let r of t)e[r]=eB(i,s)}(e,i,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:i}=this;if(!e||!e.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ek[i](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let s=t[t.length-1];void 0!==s&&e.getValue(i,s).jump(s,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:i}=this;if(!e||!e.current)return;let s=e.getValue(t);s&&s.jump(this.measuredOrigin,!1);let r=i.length-1,o=i[r];i[r]=ek[t](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(t=>{let[i,s]=t;e.getValue(i).set(s)}),this.resolveNoneKeyframes()}}let eW=e=>1e3*e;function e$(e,t){-1===e.indexOf(t)&&e.push(t)}function eU(e,t){let i=e.indexOf(t);i>-1&&e.splice(i,1)}class eH{constructor(){this.subscriptions=[]}add(e){return e$(this.subscriptions,e),()=>eU(this.subscriptions,e)}notify(e,t,i){let s=this.subscriptions.length;if(s)if(1===s)this.subscriptions[0](e,t,i);else for(let r=0;r<s;r++){let s=this.subscriptions[r];s&&s(e,t,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function eY(e,t,i){t.startsWith("--")?e.style.setProperty(t,i):e.style[t]=i}function eq(e){let t;return()=>(void 0===t&&(t=e()),t)}let eK={};function eG(e,t){let i=eq(e);return()=>eK[t]??i()}let eX=eG(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),eQ=e=>null!==e;function eZ(e,t,i){let{repeat:s,repeatType:r="loop"}=t,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,n=e.filter(eQ),a=o<0||s&&"loop"!==r&&s%2==1?0:n.length-1;return a&&void 0!==i?i:n[a]}class eJ{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}let e0={layout:0,mainThread:0,waapi:0},e1=e=>Array.isArray(e)&&"number"==typeof e[0],e2=eG(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),e3=function(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,s="",r=Math.max(Math.round(t/i),2);for(let t=0;t<r;t++)s+=Math.round(1e4*e(t/(r-1)))/1e4+", ";return`linear(${s.substring(0,s.length-2)})`},e6=e=>{let[t,i,s,r]=e;return`cubic-bezier(${t}, ${i}, ${s}, ${r})`},e4={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:e6([0,.65,.55,1]),circOut:e6([.55,0,1,.45]),backIn:e6([.31,.01,.66,-.59]),backOut:e6([.33,1.53,.69,.99])};function e7(e){return"function"==typeof e&&"applyToOptions"in e}class e5 extends eJ{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;const{element:t,name:i,keyframes:s,pseudoElement:r,allowFlatten:o=!1,finalKeyframe:n,onComplete:a}=e;this.isPseudoElement=!!r,this.allowFlatten=o,this.options=e,et("string"!=typeof e.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function(e){let{type:t,...i}=e;return e7(t)&&e2()?t.applyToOptions(i):(i.duration??(i.duration=300),i.ease??(i.ease="easeOut"),i)}(e);this.animation=function(e,t,i){let{delay:s=0,duration:r=300,repeat:o=0,repeatType:n="loop",ease:a="easeOut",times:l}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},c=arguments.length>4&&void 0!==arguments[4]?arguments[4]:void 0,d={[t]:i};l&&(d.offset=l);let u=function e(t,i){if(t)return"function"==typeof t?e2()?e3(t,i):"ease-out":e1(t)?e6(t):Array.isArray(t)?t.map(t=>e(t,i)||e4.easeOut):e4[t]}(a,r);Array.isArray(u)&&(d.easing=u);let h={delay:s,duration:r,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:o+1,direction:"reverse"===n?"alternate":"normal"};c&&(h.pseudoElement=c);let m=e.animate(d,h);return m}(t,i,s,l,r),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){let e=eZ(s,this.options,n,this.speed);this.updateMotionValue&&this.updateMotionValue(e),eY(t,i,e),this.animation.cancel()}a?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(e){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;"idle"!==e&&"finished"!==e&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){return Number(this.animation.effect?.getComputedTiming?.().duration||0)/1e3}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+e/1e3}get time(){return(Number(this.animation.currentTime)||0)/1e3}set time(e){let t=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=eW(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline(e){let{timeline:t,rangeStart:i,rangeEnd:s,observe:r}=e;return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&eX())?(this.animation.timeline=t,i&&(this.animation.rangeStart=i),s&&(this.animation.rangeEnd=s),ej):r(this)}}let e9=new Set(["opacity","clipPath","filter","transform"]),{schedule:e8}=eS(queueMicrotask,!1);function te(){t=void 0}let tt={now:()=>(void 0===t&&tt.set(eI.isProcessing||eC.useManualTiming?eI.timestamp:performance.now()),t),set:e=>{t=e,queueMicrotask(te)}},ti=(e,t)=>t?1e3/t*e:0,ts;class tr{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=tt.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=tt.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.current;this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new eH);let i=this.events[e].add(t);return"change"===e?()=>{i(),eN.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,i){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-i}jump(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return ts&&ts.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=tt.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return ti(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function to(e,t){return new tr(e,t)}let tn=[...X,S,T],ta=new WeakMap;function tl(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function tc(e){return"string"==typeof e||Array.isArray(e)}let td=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],tu=["initial",...td];function th(e){return tl(e.animate)||tu.some(t=>tc(e[t]))}function tm(e){return!!(th(e)||e.variants)}let tp={current:null},tf={current:!1},tg="u">typeof window;function tx(e){let t=[{},{}];
1return e?.values.forEach((e,i)=>{t[0][i]=e.get(),t[1][i]=e.getVelocity()}),t}function tv(e,t,i,s){if("function"==typeof t){let[r,o]=tx(s);t=t(void 0!==i?i:e.custom,r,o)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[r,o]=tx(s);t=t(void 0!==i?i:e.custom,r,o)}return t}let ty=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],tb={};class tw{scrapeMotionValuesFromProps(e,t,i){return{}}constructor({parent:e,props:t,presenceContext:i,reducedMotionConfig:s,skipAnimations:r,blockInitialAnimation:o,visualState:n},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=e_,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=tt.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,eN.render(this.render,!1,!0))};const{latestValues:l,renderState:c}=n;this.latestValues=l,this.baseTarget={...l},this.initialValues=t.initial?{...l}:{},this.renderState=c,this.parent=e,this.props=t,this.presenceContext=i,this.depth=e?e.depth+1:0,this.reducedMotionConfig=s,this.skipAnimationsConfig=r,this.options=a,this.blockInitialAnimation=!!o,this.isControllingVariants=th(t),this.isVariantNode=tm(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:d,...u}=this.scrapeMotionValuesFromProps(t,{},this);for(const e in u){const t=u[e];void 0!==l[e]&&q(t)&&t.set(l[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,ta.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(tf.current||function(){if(tf.current=!0,tg)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>tp.current=e.matches;e.addEventListener("change",t),t()}else tp.current=!1}(),this.shouldReduceMotion=tp.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let e in this.projection&&this.projection.unmount(),ez(this.notifyUpdate),ez(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){let i;if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&e9.has(e)&&this.current instanceof HTMLElement){let{factory:i,keyframes:s,times:r,ease:o,duration:n}=t.accelerate,a=new e5({element:this.current,name:e,keyframes:s,times:r,ease:o,duration:eW(n)}),l=i(a);this.valueSubscriptions.set(e,()=>{l(),a.cancel()});return}let s=o.has(e);s&&this.onBindTransform&&this.onBindTransform();let r=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&eN.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),i&&i()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in tb){let t=tb[e];if(!t)continue;let{isEnabled:i,Feature:s}=t;if(!this.features[e]&&s&&i(this.props)&&(this.features[e]=new s(this)),this.features[e]){let t=this.features[e];
1t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Y()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<ty.length;t++){let i=ty[t];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let s=e["on"+i];s&&(this.propEventSubscriptions[i]=this.on(i,s))}this.prevMotionValues=function(e,t,i){for(let s in t){let r=t[s],o=i[s];if(q(r))e.addValue(s,r);else if(q(o))e.addValue(s,to(r,{owner:e}));else if(o!==r)if(e.hasValue(s)){let t=e.getValue(s);!0===t.liveStyle?t.jump(r):t.hasAnimated||t.set(r)}else{let t=e.getStaticValue(s);e.addValue(s,to(void 0!==t?t:r,{owner:e}))}}for(let s in i)void 0===t[s]&&e.removeValue(s);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let i=this.values.get(e);t!==i&&(i&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let i=this.values.get(e);return void 0===i&&void 0!==t&&(i=to(null===t?void 0:t,{owner:this}),this.addValue(e,i)),i}readValue(e,t){let i=void 0===this.latestValues[e]&&this.current?this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];if(null!=i){let s,r;if("string"==typeof i&&(s=i,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(s)||(r=i,/^0[^.\s]+$/u.test(r))))i=parseFloat(i);else{let s;s=i,!tn.find(G(s))&&T.test(t)&&(i=eB(e,t))}this.setBaseTarget(e,q(i)?i.get():i)}return q(i)?i.get():i}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let t,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let s=tv(this.props,i,this.presenceContext?.custom);s&&(t=s[e])}if(i&&void 0!==t)return t;let s=this.getBaseTargetFromProps(this.props,e);return void 0===s||q(s)?void 0!==this.initialValues[e]&&void 0===t?void 0:this.baseTarget[e]:s}on(e,t){return this.events[e]||(this.events[e]=new eH),this.events[e].add(t)}notify(e){for(var t=arguments.length,i=Array(t>1?t-1:0),s=1;s<t;s++)i[s-1]=arguments[s];this.events[e]&&this.events[e].notify(...i)}scheduleRenderMicrotask(){e8.render(this.render)}}class tk extends tw{constructor(){super(...arguments),this.KeyframeResolver=eO}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){let i=e.style;return i?i[t]:void 0}removeValueFromRenderState(e,t){let{vars:i,style:s}=t;delete i[e],delete s[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;q(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}function tj(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}let tC=(e,t)=>t&&"number"==typeof e?t.transform(e):e,tM={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},tS=r.length;function tN(e,t,i){let{style:s,vars:n,transformOrigin:a}=e,l=!1,c=!1;for(let e in t){let i=t[e];if(o.has(e)){l=!0;continue}if(es(e)){n[e]=i;continue}{let t=tC(i,V[e]);e.startsWith("origin")?(c=!0,a[e]=t):s[e]=t}}if(!t.transform&&(l||i?s.transform=function(e,t,i){let s="",o=!0;for(let n=0;n<tS;n++){let a=r[n],l=e[a];if(void 0===l)continue;let c=!0;if("number"==typeof l)c=l===+!!a.startsWith("scale");else{let e=parseFloat(l);c=a.startsWith("scale")?1===e:0===e}if(!c||i){let e=tC(l,V[a]);if(!c){o=!1;let t=tM[a]||a;s+=`${t}(${e}) `}i&&(t[a]=e)}}return s=s.trim(),i?s=i(t,o?"":s):o&&(s="none"),s}(t,e.transform,i):s.transform&&(s.transform="none")),c){let{originX:e="50%",originY:t="50%",originZ:i=0}=a;s.transformOrigin=`${e} ${t} ${i}`}}let tz={offset:"stroke-dashoffset",array:"stroke-dasharray"},tI={offset:"strokeDashoffset",array:"strokeDasharray"},tE=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function tA(e,t,i,s,r){let{attrX:o,attrY:n,attrScale:a,pathLength:l,pathSpacing:c=1,pathOffset:d=0,...u}=t;
1if(tN(e,u,s),i){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:h,style:m}=e;for(let e of(h.transform&&(m.transform=h.transform,delete h.transform),(m.transform||h.transformOrigin)&&(m.transformOrigin=h.transformOrigin??"50% 50%",delete h.transformOrigin),m.transform&&(m.transformBox=r?.transformBox??"fill-box",delete h.transformBox),tE))void 0!==h[e]&&(m[e]=h[e],delete h[e]);void 0!==o&&(h.x=o),void 0!==n&&(h.y=n),void 0!==a&&(h.scale=a),void 0!==l&&function(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r=!(arguments.length>4)||void 0===arguments[4]||arguments[4];e.pathLength=1;let o=r?tz:tI;e[o.offset]=`${-s}`,e[o.array]=`${t} ${i}`}(h,l,c,d,!1)}let tD=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),tT=e=>"string"==typeof e&&"svg"===e.toLowerCase();function tF(e,t,i,s){let r,{style:o,vars:n}=t,a=e.style;for(r in o)a[r]=o[r];for(r in s?.applyProjectionStyles(a,i),n)a.setProperty(r,n[r])}function tP(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let tL={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e)if(!w.test(e))return e;else e=parseFloat(e);let i=tP(e,t.target.x),s=tP(e,t.target.y);return`${i}% ${s}%`}},t_=(e,t,i)=>e+(t-e)*i,tR={borderRadius:{...tL,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:tL,borderTopRightRadius:tL,borderBottomLeftRadius:tL,borderBottomRightRadius:tL,boxShadow:{correct:(e,t)=>{let{treeScale:i,projectionDelta:s}=t,r=T.parse(e);if(r.length>5)return e;let o=T.createTransformer(e),n=+("number"!=typeof r[0]),a=s.x.scale*i.x,l=s.y.scale*i.y;r[0+n]/=a,r[1+n]/=l;let c=t_(a,l,.5);return"number"==typeof r[2+n]&&(r[2+n]/=c),"number"==typeof r[3+n]&&(r[3+n]/=c),o(r)}}};function tB(e,t){let{layout:i,layoutId:s}=t;return o.has(e)||e.startsWith("origin")||(i||void 0!==s)&&(!!tR[e]||"opacity"===e)}function tV(e,t,i){let s=e.style,r=t?.style,o={};if(!s)return o;for(let t in s)(q(s[t])||r&&q(r[t])||tB(t,e)||i?.getValue(t)?.liveStyle!==void 0)&&(o[t]=s[t]);return o}function tO(e,t,i){let s=tV(e,t,i);for(let i in e)(q(e[i])||q(t[i]))&&(s[-1!==r.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=e[i]);return s}class tW extends tk{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Y}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(o.has(t)){let e=W(t);return e&&e.default||0}return t=tD.has(t)?t:tj(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,i){return tO(e,t,i)}build(e,t,i){tA(e,t,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(e,t,i,s){for(let i in tF(e,t,void 0,s),t.attrs)e.setAttribute(tD.has(i)?i:tj(i),t.attrs[i])}mount(e){this.isSVGTag=tT(e.tagName),super.mount(e)}}function t$(e){let{top:t,left:i,right:s,bottom:r}=e;return{x:{min:i,max:s},y:{min:t,max:r}}}function tU(e){return void 0===e||1===e}function tH(e){let{scale:t,scaleX:i,scaleY:s}=e;return!tU(t)||!tU(i)||!tU(s)}function tY(e){return tH(e)||tq(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function tq(e){var t,i;return(t=e.x)&&"0%"!==t||(i=e.y)&&"0%"!==i}function tK(e,t,i,s,r){return void 0!==r&&(e=s+r*(e-s)),s+i*(e-s)+t}function tG(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,s=arguments.length>3?arguments[3]:void 0,r=arguments.length>4?arguments[4]:void 0;e.min=tK(e.min,t,i,s,r),e.max=tK(e.max,t,i,s,r)}function tX(e,t){let{x:i,y:s}=t;tG(e.x,i.translate,i.scale,i.originPoint),tG(e.y,s.translate,s.scale,s.originPoint)}function tQ(e,t){e.min+=t,e.max+=t}function tZ(e,t,i,s){let r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:.5,o=t_(e.min,e.max,r);tG(e,t,i,o,s)}function tJ(e,t){return"string"==typeof e?parseFloat(e)/100*(t.max-t.min):e}function t0(e,t,i){let s=i??e;tZ(e.x,tJ(t.x,s.x),t.scaleX,t.scale,t.originX),tZ(e.y,tJ(t.y,s.y),t.scaleY,t.scale,t.originY)}function t1(e,t){return t$(function(e,t){if(!t)return e;let i=t({x:e.left,y:e.top}),s=t({x:e.right,y:e.bottom});return{top:i.y,left:i.x,bottom:s.y,right:s.x}}(e.getBoundingClientRect(),t))}class t2 extends tk{constructor(){super(...arguments),this.type="html",this.renderInstance=tF}readValueFromInstance(e,t){if(o.has(t))return this.projection?.isProjecting?eg(t):((e,t)=>{let{transform:i="none"}=getComputedStyle(e);return ex(i,t)})(e,t);
1{let i=window.getComputedStyle(e),s=(es(t)?i.getPropertyValue(t):i[t])||0;return"string"==typeof s?s.trim():s}}measureInstanceViewportBox(e,t){let{transformPagePoint:i}=t;return t1(e,i)}build(e,t,i){tN(e,t,i.transformTemplate)}scrapeMotionValuesFromProps(e,t,i){return tV(e,t,i)}}var t3=e.i(71645);let t6=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function t4(e){if("string"!=typeof e||e.includes("-"));else if(t6.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}var t7=e.i(43476);let t5=(0,t3.createContext)({});e.s(["LayoutGroupContext",0,t5],31178);let t9=(0,t3.createContext)({strict:!1}),t8=(0,t3.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});e.s(["MotionConfigContext",0,t8],37806);let ie=(0,t3.createContext)({});function it(e){return Array.isArray(e)?e.join(" "):e}let ii=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function is(e,t,i){for(let s in t)q(t[s])||tB(s,i)||(e[s]=t[s])}let ir=()=>({...ii(),attrs:{}}),io=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function ia(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||io.has(e)}let il=e=>!ia(e);try{Z=(()=>{let e=Error("Cannot find module '@emotion/is-prop-valid'");throw e.code="MODULE_NOT_FOUND",e})().default,"function"==typeof Z&&(il=e=>e.startsWith("on")?!ia(e):Z(e))}catch{}function ic(e){return q(e)?e.get():e}let id=(0,t3.createContext)(null);function iu(e){let t=(0,t3.useRef)(null);return null===t.current&&(t.current=e()),t.current}e.s(["PresenceContext",0,id],21476),e.s(["useConstant",0,iu],47414);let ih=e=>(t,i)=>{let s=(0,t3.useContext)(ie),r=(0,t3.useContext)(id),o=()=>(function(e,t,i,s){let{scrapeMotionValuesFromProps:r,createRenderState:o}=e;return{latestValues:function(e,t,i,s){let r={},o=s(e,{});for(let e in o)r[e]=ic(o[e]);let{initial:n,animate:a}=e,l=th(e),c=tm(e);t&&c&&!l&&!1!==e.inherit&&(void 0===n&&(n=t.initial),void 0===a&&(a=t.animate));let d=!!i&&!1===i.initial,u=(d=d||!1===n)?a:n;if(u&&"boolean"!=typeof u&&!tl(u)){let t=Array.isArray(u)?u:[u];for(let i=0;i<t.length;i++){let s=tv(e,t[i]);if(s){let{transitionEnd:e,transition:t,...i}=s;for(let e in i){let t=i[e];if(Array.isArray(t)){let e=d?t.length-1:0;t=t[e]}null!==t&&(r[e]=t)}for(let t in e)r[t]=e[t]}}}return r}(t,i,s,r),renderState:o()}})(e,t,s,r);return i?o():iu(o)},im=ih({scrapeMotionValuesFromProps:tV,createRenderState:ii}),ip=ih({scrapeMotionValuesFromProps:tO,createRenderState:ir}),ig={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},ix=!1;function iv(){return!function(){if(ix)return;let e={};for(let t in ig)e[t]={isEnabled:e=>ig[t].some(t=>!!e[t])};tb=e,ix=!0}(),tb}let iy=Symbol.for("motionComponentSymbol"),ib="data-"+tj("framerAppearId"),iw=(0,t3.createContext)({});function ik(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}let ij="u">typeof window?t3.useLayoutEffect:t3.useEffect;function iC(e){let{forwardMotionProps:t=!1,type:i}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;s&&function(e){let t=iv();for(let i in e)t[i]={...t[i],...e[i]};tb=t}(s);let o=i?"svg"===i:t4(e),n=o?ip:im;function a(i,s){var a;let l,c,d,u={...(0,t3.useContext)(t8),...i,layoutId:function(e){let{layoutId:t}=e,i=(0,t3.useContext)(t5).id;return i&&void 0!==t?i+"-"+t:t}(i)},{isStatic:h}=u,m=function(e){let{initial:t,animate:i}=function(e,t){if(th(e)){let{initial:t,animate:i}=e;return{initial:!1===t||tc(t)?t:void 0,animate:tc(i)?i:void 0}}return!1!==e.inherit?t:{}}(e,(0,t3.useContext)(ie));return(0,t3.useMemo)(()=>({initial:t,animate:i}),[it(t),it(i)])}(i),p=n(i,h);if(!h&&"u">typeof window){(0,t3.useContext)(t9).strict;let t=function(e){let{drag:t,layout:i}=iv();if(!t&&!i)return{};let s={...t,...i};return{MeasureLayout:t?.isEnabled(e)||i?.isEnabled(e)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}
1(u);l=t.MeasureLayout,m.visualElement=function(e,t,i,s,r,o){let{visualElement:n}=(0,t3.useContext)(ie),a=(0,t3.useContext)(t9),l=(0,t3.useContext)(id),c=(0,t3.useContext)(t8),d=c.reducedMotion,u=c.skipAnimations,h=(0,t3.useRef)(null),m=(0,t3.useRef)(!1);s=s||a.renderer,!h.current&&s&&(h.current=s(e,{visualState:t,parent:n,props:i,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:d,skipAnimations:u,isSVG:o}),m.current&&h.current&&(h.current.manuallyAnimateOnMount=!0));let p=h.current,f=(0,t3.useContext)(iw);p&&!p.projection&&r&&("html"===p.type||"svg"===p.type)&&function(e,t,i,s){let{layoutId:r,layout:o,drag:n,dragConstraints:a,layoutScroll:l,layoutRoot:c,layoutAnchor:d,layoutCrossfade:u}=t;e.projection=new i(e.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:r,layout:o,alwaysMeasureLayout:!!n||a&&ik(a),visualElement:e,animationType:"string"==typeof o?o:"both",initialPromotionConfig:s,crossfade:u,layoutScroll:l,layoutRoot:c,layoutAnchor:d})}(h.current,i,r,f);let g=(0,t3.useRef)(!1);(0,t3.useInsertionEffect)(()=>{p&&g.current&&p.update(i,l)});let x=i[ib],v=(0,t3.useRef)(!!x&&"u">typeof window&&!window.MotionHandoffIsComplete?.(x)&&window.MotionHasOptimisedAnimation?.(x));return ij(()=>{m.current=!0,p&&(g.current=!0,window.MotionIsMounted=!0,p.updateFeatures(),p.scheduleRenderMicrotask(),v.current&&p.animationState&&p.animationState.animateChanges())}),(0,t3.useEffect)(()=>{p&&(!v.current&&p.animationState&&p.animationState.animateChanges(),v.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(x)}),v.current=!1),p.enteringChildren=void 0)}),p}(e,p,u,r,t.ProjectionNode,o)}return(0,t7.jsxs)(ie.Provider,{value:m,children:[l&&m.visualElement?(0,t7.jsx)(l,{visualElement:m.visualElement,...u}):null,function(e,t,i,s,r){let{latestValues:o}=s,n=arguments.length>5&&void 0!==arguments[5]&&arguments[5],a=arguments.length>6?arguments[6]:void 0,l=(a??t4(e)?function(e,t,i,s){let r=(0,t3.useMemo)(()=>{let i=ir();return tA(i,t,tT(s),e.transformTemplate,e.style),{...i.attrs,style:{...i.style}}},[t]);if(e.style){let t={};is(t,e.style,e),r.style={...t,...r.style}}return r}:function(e,t){let i,s,r={},o=(i=e.style||{},is(s={},i,e),Object.assign(s,function(e,t){let{transformTemplate:i}=e;return(0,t3.useMemo)(()=>{let e=ii();return tN(e,t,i),Object.assign({},e.vars,e.style)},[t])}(e,t)),s);return e.drag&&!1!==e.dragListener&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=o,r})(t,o,r,e),c=function(e,t,i){let s={};for(let r in e)("values"!==r||"object"!=typeof e.values)&&!q(e[r])&&(il(r)||!0===i&&ia(r)||!t&&!ia(r)||e.draggable&&r.startsWith("onDrag"))&&(s[r]=e[r]);return s}(t,"string"==typeof e,n),d=e!==t3.Fragment?{...c,...l,ref:i}:{},{children:u}=t,h=(0,t3.useMemo)(()=>q(u)?u.get():u,[u]);return(0,t3.createElement)(e,{...d,children:h})}(e,i,(a=m.visualElement,c=(0,t3.useRef)(s),(0,t3.useInsertionEffect)(()=>{c.current=s}),d=(0,t3.useRef)(null),(0,t3.useCallback)(e=>{e&&p.onMount?.(e),a&&(e?a.mount(e):a.unmount());let t=c.current;if("function"==typeof t)if(e){let i=t(e);"function"==typeof i&&(d.current=i)}else d.current?(d.current(),d.current=null):t(e);else t&&(t.current=e)},[a])),p,h,t,o)]})}a.displayName=`motion.${"string"==typeof e?e:`create(${e.displayName??e.name??""})`}`;let l=(0,t3.forwardRef)(a);return l[iy]=e,l}e.s(["useIsomorphicLayoutEffect",0,ij],74008);class iM{constructor(e){this.isMounted=!1,this.node=e}update(){}}function iS(e,t,i){let s=e.getProps();return tv(s,t,void 0!==i?i:s.custom,e)}function iN(e,t){if(e?.inherit&&t){let{inherit:i,...s}=e;return{...t,...s}}return e}function iz(e,t){let i=e?.[t]??e?.default??e;return i!==e?iN(i,e):i}let iI=e=>Array.isArray(e);function iE(e,t){let i=e.getValue("willChange");if(q(i)&&i.add)return i.add(t);if(!i&&eC.WillChange){let i=new eC.WillChange("auto");
1e.addValue("willChange",i),i.add(t)}}let iA=function(){for(var e=arguments.length,t=Array(e),i=0;i<e;i++)t[i]=arguments[i];return t.reduce((e,t)=>i=>t(e(i)))};function iD(e,t,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?e+(t-e)*6*i:i<.5?t:i<2/3?e+(t-e)*(2/3-i)*6:e}function iT(e,t){return i=>i>0?t:e}let iF=(e,t,i)=>{let s=e*e,r=i*(t*t-s)+s;return r<0?0:Math.sqrt(r)},iP=[x,g,M];function iL(e){let t=iP.find(t=>t.test(e));if(ee(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let i=t.parse(e);return t===M&&(i=function(e){let{hue:t,saturation:i,lightness:s,alpha:r}=e;t/=360,s/=100;let o=0,n=0,a=0;if(i/=100){let e=s<.5?s*(1+i):s+i-s*i,r=2*s-e;o=iD(r,e,t+1/3),n=iD(r,e,t),a=iD(r,e,t-1/3)}else o=n=a=s;return{red:Math.round(255*o),green:Math.round(255*n),blue:Math.round(255*a),alpha:r}}(i)),i}let i_=(e,t)=>{let i=iL(e),s=iL(t);if(!i||!s)return iT(e,t);let r={...i};return e=>(r.red=iF(i.red,s.red,e),r.green=iF(i.green,s.green,e),r.blue=iF(i.blue,s.blue,e),r.alpha=t_(i.alpha,s.alpha,e),g.transform(r))},iR=new Set(["none","hidden"]);function iB(e,t){return i=>t_(e,t,i)}function iV(e){return"number"==typeof e?iB:"string"==typeof e?eo(e)?iT:S.test(e)?i_:i$:Array.isArray(e)?iO:"object"==typeof e?S.test(e)?i_:iW:iT}function iO(e,t){let i=[...e],s=i.length,r=e.map((e,i)=>iV(e)(e,t[i]));return e=>{for(let t=0;t<s;t++)i[t]=r[t](e);return i}}function iW(e,t){let i={...e,...t},s={};for(let r in i)void 0!==e[r]&&void 0!==t[r]&&(s[r]=iV(e[r])(e[r],t[r]));return e=>{for(let t in s)i[t]=s[t](e);return i}}let i$=(e,t)=>{let i=T.createTransformer(t),s=A(e),r=A(t);if(!(s.indexes.var.length===r.indexes.var.length&&s.indexes.color.length===r.indexes.color.length&&s.indexes.number.length>=r.indexes.number.length))return ee(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),iT(e,t);if(iR.has(e)&&!r.values.length||iR.has(t)&&!s.values.length)return iR.has(e)?i=>i<=0?e:t:i=>i>=1?t:e;return iA(iO(function(e,t){let i=[],s={color:0,var:0,number:0};for(let r=0;r<t.values.length;r++){let o=t.types[r],n=e.indexes[o][s[o]],a=e.values[n]??0;i[r]=a,s[o]++}return i}(s,r),r.values),i)};function iU(e,t,i){return"number"==typeof e&&"number"==typeof t&&"number"==typeof i?t_(e,t,i):iV(e)(e,t)}let iH=e=>{let t=t=>{let{timestamp:i}=t;return e(i)};return{start:function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return eN.update(t,e)},stop:()=>ez(t),now:()=>eI.isProcessing?eI.timestamp:tt.now()}};function iY(e){let t=0,i=e.next(t);for(;!i.done&&t<2e4;)t+=50,i=e.next(t);return t>=2e4?1/0:t}let iq=.01,iK=2,iG=.005,iX=.5;function iQ(e,t){return e*Math.sqrt(1-t*t)}let iZ=["duration","bounce"],iJ=["stiffness","damping","mass"];function i0(e,t){return t.some(t=>void 0!==e[t])}function i1(){let e,t,i,s,r,o,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.3,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.3,c="object"!=typeof a?{visualDuration:a,keyframes:[0,1],bounce:l}:a,{restSpeed:d,restDelta:u}=c,h=c.keyframes[0],m=c.keyframes[c.keyframes.length-1],p={done:!1,value:h},{stiffness:f,damping:g,mass:x,duration:v,velocity:y,isResolvedFromDuration:b}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!i0(e,iJ)&&i0(e,iZ))if(t.velocity=0,e.visualDuration){let i=2*Math.PI/(1.2*e.visualDuration),s=i*i,r=2*n(.05,1,1-(e.bounce||0))*Math.sqrt(s);t={...t,mass:1,stiffness:s,damping:r}}else{let i=function(e){let t,i,{duration:s=800,bounce:r=.3,velocity:o=0,mass:a=1}
1=e;ee(s<=eW(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let l=1-r;l=n(.05,1,l),s=n(.01,10,s/1e3),l<1?(t=e=>{let t=e*l,i=t*s;return .001-(t-o)/iQ(e,l)*Math.exp(-i)},i=e=>{let i=e*l*s,r=Math.pow(l,2)*Math.pow(e,2)*s,n=Math.exp(-i),a=iQ(Math.pow(e,2),l);return(i*o+o-r)*n*(-t(e)+.001>0?-1:1)/a}):(t=e=>-.001+Math.exp(-e*s)*((e-o)*s+1),i=e=>s*s*(o-e)*Math.exp(-e*s));let c=function(e,t,i){let s=i;for(let i=1;i<12;i++)s-=e(s)/t(s);return s}(t,i,5/s);if(s=eW(s),isNaN(c))return{stiffness:100,damping:10,duration:s};{let e=Math.pow(c,2)*a;return{stiffness:e,damping:2*l*Math.sqrt(a*e),duration:s}}}({...e,velocity:0});(t={...t,...i,mass:1}).isResolvedFromDuration=!0}return t}({...c,velocity:-((c.velocity||0)/1e3)}),w=y||0,k=g/(2*Math.sqrt(f*x)),j=m-h,C=Math.sqrt(f/x)/1e3,M=5>Math.abs(j);if(d||(d=M?iq:iK),u||(u=M?iG:iX),k<1)i=iQ(C,k),s=(w+k*C*j)/i,e=e=>m-Math.exp(-k*C*e)*(s*Math.sin(i*e)+j*Math.cos(i*e)),r=k*C*s+j*i,o=k*C*j-s*i,t=e=>Math.exp(-k*C*e)*(r*Math.sin(i*e)+o*Math.cos(i*e));else if(1===k){e=e=>m-Math.exp(-C*e)*(j+(w+C*j)*e);let i=w+C*j;t=e=>Math.exp(-C*e)*(C*i*e-w)}else{let i=C*Math.sqrt(k*k-1);e=e=>{let t=Math.exp(-k*C*e),s=Math.min(i*e,300);return m-t*((w+k*C*j)*Math.sinh(s)+i*j*Math.cosh(s))/i};let s=(w+k*C*j)/i,r=k*C*s-j*i,o=k*C*j-s*i;t=e=>{let t=Math.exp(-k*C*e),s=Math.min(i*e,300);return t*(r*Math.sinh(s)+o*Math.cosh(s))}}let S={calculatedDuration:b&&v||null,velocity:e=>eW(t(e)),next:n=>{if(!b&&k<1){let e=Math.exp(-k*C*n),t=Math.sin(i*n),a=Math.cos(i*n),l=m-e*(s*t+j*a);return p.done=Math.abs(eW(e*(r*t+o*a)))<=d&&Math.abs(m-l)<=u,p.value=p.done?m:l,p}let a=e(n);return b?p.done=n>=v:p.done=Math.abs(eW(t(n)))<=d&&Math.abs(m-a)<=u,p.value=p.done?m:a,p},toString:()=>{let e=Math.min(iY(S),2e4),t=e3(t=>S.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return S}function i2(e,t,i){let s=Math.max(t-5,0);return ti(i-e(s),t-s)}function i3(e){let t,i,{keyframes:s,velocity:r=0,power:o=.8,timeConstant:n=325,bounceDamping:a=10,bounceStiffness:l=500,modifyTarget:c,min:d,max:u,restDelta:h=.5,restSpeed:m}=e,p=s[0],f={done:!1,value:p},g=o*r,x=p+g,v=void 0===c?x:c(x);v!==x&&(g=v-p);let y=e=>-g*Math.exp(-e/n),b=e=>v+y(e),w=e=>{let t=y(e),i=b(e);f.done=Math.abs(t)<=h,f.value=f.done?v:i},k=e=>{let s;if(s=f.value,void 0!==d&&s<d||void 0!==u&&s>u){var r;t=e,i=i1({keyframes:[f.value,(r=f.value,void 0===d?u:void 0===u||Math.abs(d-r)<Math.abs(u-r)?d:u)],velocity:i2(b,e,f.value),damping:a,stiffness:l,restDelta:h,restSpeed:m})}};return k(0),{calculatedDuration:null,next:e=>{let s=!1;return(i||void 0!==t||(s=!0,w(e),k(e)),void 0!==t&&e>=t)?i.next(e-t):(s||w(e),f)}}}i1.applyToOptions=e=>{let t=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,i=arguments.length>2?arguments[2]:void 0,s=i({...e,keyframes:[0,t]}),r=Math.min(iY(s),2e4);return{type:"keyframes",ease:e=>s.next(r*e).value/t,duration:r/1e3}}(e,100,i1);return e.ease=t.ease,e.duration=eW(t.duration),e.type="keyframes",e};let i6=(e,t,i)=>(((1-3*i+3*t)*e+(3*i-6*t))*e+3*t)*e;function i4(e,t,i,s){return e===t&&i===s?ej:r=>0===r||1===r?r:i6(function(e,t,i,s,r){let o,n,a=0;do(o=i6(n=t+(i-t)/2,s,r)-e)>0?i=n:t=n;while(Math.abs(o)>1e-7&&++a<12)return n}(r,0,1,e,i),t,s)}let i7=i4(.42,0,1,1),i5=i4(0,0,.58,1),i9=i4(.42,0,.58,1),i8=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,se=e=>t=>1-e(1-t),st=i4(.33,1.53,.69,.99),si=se(st),ss=i8(si),sr=e=>e>=1?1:(e*=2)<1?.5*si(e):.5*(2-Math.pow(2,-10*(e-1))),so=e=>1-Math.sin(Math.acos(e)),sn=se(so),sa=i8(so),sl={linear:ej,easeIn:i7,easeInOut:i9,easeOut:i5,circIn:so,circInOut:sa,circOut:sn,backIn:si,backInOut:ss,backOut:st,anticipate:sr},sc=e=>{if(e1(e)){et(4===e.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[t,i,s,r]=e;return i4(t,i,s,r)}return"string"==typeof e?(et(void 0!==sl[e],`Invalid easing type '${e}'`,"invalid-easing-type"),sl[e]):e},sd=(e,t,i)=>{let s=t-e;return s?(i-e)/s:1};function su(e){var t;let i,{duration:s=300,keyframes:r,times:o,ease:a="easeInOut"}=e,l=Array.isArray(a)&&"number"!=typeof a[0]?a.map(sc):sc(a),c={done:!1,value:r[0]},d=function(e,t){let{clamp:i=!0,ease:s,mixer:r}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=e.length;if(et(o===t.length,"Both input and output ranges must be the same length","range-length"),1===o)return()=>t[0];if(2===o&&t[0]===t[1])return()=>t[1];let a=e[0]===e[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());let l=function(e,t,i){let s=[],r=i||eC.mix||iU,o=e.length-1;for(let i=0;i<o;
1i++){let o=r(e[i],e[i+1]);t&&(o=iA(Array.isArray(t)?t[i]||ej:t,o)),s.push(o)}return s}(t,s,r),c=l.length,d=i=>{if(a&&i<e[0])return t[0];let s=0;if(c>1)for(;s<e.length-2&&!(i<e[s+1]);s++);let r=sd(e[s],e[s+1],i);return l[s](r)};return i?t=>d(n(e[0],e[o-1],t)):d}((t=o&&o.length===r.length?o:(!function(e,t){let i=e[e.length-1];for(let s=1;s<=t;s++){let r=sd(0,t,s);e.push(t_(i,1,r))}}(i=[0],r.length-1),i),t.map(e=>e*s)),r,{ease:Array.isArray(l)?l:r.map(()=>l||i9).splice(0,r.length-1)});return{calculatedDuration:s,next:e=>(c.value=d(e),c.done=e>=s,c)}}let sh={decay:i3,inertia:i3,tween:su,keyframes:su,spring:i1};function sm(e){"string"==typeof e.type&&(e.type=sh[e.type])}let sp=e=>e/100;class sf extends eJ{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==tt.now()&&this.tick(tt.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},e0.mainThread++,this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){let{options:e}=this;sm(e);let{type:t=su,repeat:i=0,repeatDelay:s=0,repeatType:r,velocity:o=0}=e,{keyframes:n}=e,a=t||su;a!==su&&"number"!=typeof n[0]&&(this.mixKeyframes=iA(sp,iU(n[0],n[1])),n=[0,100]);let l=a({...e,keyframes:n});"mirror"===r&&(this.mirroredGenerator=a({...e,keyframes:[...n].reverse(),velocity:-o})),null===l.calculatedDuration&&(l.calculatedDuration=iY(l));let{calculatedDuration:c}=l;this.calculatedDuration=c,this.resolvedDuration=c+s,this.totalDuration=this.resolvedDuration*(i+1)-s,this.generator=l}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=t}tick(e){let t,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],{generator:s,totalDuration:r,mixKeyframes:o,mirroredGenerator:a,resolvedDuration:l,calculatedDuration:c}=this;if(null===this.startTime)return s.next(0);let{delay:d=0,keyframes:u,repeat:h,repeatType:m,repeatDelay:p,type:f,onUpdate:g,finalKeyframe:x}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),i?this.currentTime=e:this.updateTime(e);let v=this.currentTime-d*(this.playbackSpeed>=0?1:-1),y=this.playbackSpeed>=0?v<0:v>r;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=r);let b=this.currentTime,w=s;if(h){let e=Math.min(this.currentTime,r)/l,t=Math.floor(e),i=e%1;!i&&e>=1&&(i=1),1===i&&t--,(t=Math.min(t,h+1))%2&&("reverse"===m?(i=1-i,p&&(i-=p/l)):"mirror"===m&&(w=a)),b=n(0,1,i)*l}y?(this.delayState.value=u[0],t=this.delayState):t=w.next(b),o&&!y&&(t.value=o(t.value));let{done:k}=t;y||null===c||(k=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let j=null===this.holdTime&&("finished"===this.state||"running"===this.state&&k);return j&&f!==i3&&(t.value=eZ(u,this.options,x,this.speed)),g&&g(t.value),j&&this.finish(),t}then(e,t){return this.finished.then(e,t)}get duration(){return this.calculatedDuration/1e3}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+e/1e3}get time(){return this.currentTime/1e3}set time(e){e=eW(e),this.currentTime=e,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=e,this.tick(e))}getGeneratorVelocity(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let t=this.generator.next(e).value;return i2(e=>this.generator.next(e).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(tt.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:e=iH,startTime:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=t??i),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(tt.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,e0.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}let sg={anticipate:sr,backInOut:ss,circInOut:sa};class sx extends e5{constructor(e){!function(e){"string"==typeof e.ease&&e.ease in sg&&(e.ease=sg[e.ease])}(e),sm(e),super(e),void 0!==e.startTime&&!1!==e.autoplay&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:i,onComplete:s,element:r,...o}=this.options;if(!t)return;if(void 0!==e)return void t.set(e);let a=new sf({...o,autoplay:!1}),l=Math.max(10,tt.now()-this.startTime),c=n(0,10,l-10),d=a.sample(l).value,{name:u}=this.options;r&&u&&eY(r,u,d),t.setWithVelocity(a.sample(Math.max(0,l-c)).value,d,c),a.stop()}}let sv=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(T.test(e)||"0"===e)&&!e.startsWith("url("));function sy(e){e.duration=0,e.type="keyframes"}let sb=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,sw=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),sk=eq(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class sj extends eJ{constructor({autoplay:e=!0,delay:t=0,type:i="keyframes",repeat:s=0,repeatDelay:r=0,repeatType:
1o="loop",keyframes:n,name:a,motionValue:l,element:c,...d}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=tt.now();const u={autoplay:e,delay:t,type:i,repeat:s,repeatDelay:r,repeatType:o,name:a,motionValue:l,element:c,...d},h=c?.KeyframeResolver||e_;this.keyframeResolver=new h(n,(e,t,i)=>this.onKeyframesResolved(e,t,u,!i),a,l,c),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,i,s){let r;this.keyframeResolver=void 0;let{name:o,type:n,velocity:a,delay:l,isHandoff:c,onUpdate:d}=i;this.resolvedAt=tt.now();let u=!0;!function(e,t,i,s){let r=e[0];if(null===r)return!1;if("display"===t||"visibility"===t)return!0;let o=e[e.length-1],n=sv(r,t),a=sv(o,t);return ee(n===a,`You are trying to animate ${t} from "${r}" to "${o}". "${n?o:r}" is not an animatable value.`,"value-not-animatable"),!!n&&!!a&&(function(e){let t=e[0];if(1===e.length)return!0;for(let i=0;i<e.length;i++)if(e[i]!==t)return!0}(e)||("spring"===i||e7(i))&&s)}(e,o,n,a)&&(u=!1,(eC.instantAnimations||!l)&&d?.(eZ(e,i,t)),e[0]=e[e.length-1],sy(i),i.repeat=0);let h={startTime:s?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...i,keyframes:e},m=u&&!c&&function(e){let{motionValue:t,name:i,repeatDelay:s,repeatType:r,damping:o,type:n,keyframes:a}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:l,transformTemplate:c}=t.owner.getProps();return sk()&&i&&(e9.has(i)||sw.has(i)&&function(e){for(let t=0;t<e.length;t++)if("string"==typeof e[t]&&sb.test(e[t]))return!0;return!1}(a))&&("transform"!==i||!c)&&!l&&!s&&"mirror"!==r&&0!==o&&"inertia"!==n}(h),p=h.motionValue?.owner?.current;if(m)try{r=new sx({...h,element:p})}catch{r=new sf(h)}else r=new sf(h);r.finished.then(()=>{this.notifyFinished()}).catch(ej),this.pendingTimeline&&(this.stopTimeline=r.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=r}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),eF=!0,eL(),eP(),eF=!1),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let sC={type:"spring",stiffness:500,damping:25,restSpeed:10},sM={type:"keyframes",duration:.8},sS={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},sN=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),sz=function(e,t,i){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=arguments.length>4?arguments[4]:void 0,n=arguments.length>5?arguments[5]:void 0;return a=>{let l=iz(s,e)||{},c=l.delay||s.delay||0,{elapsed:d=0}=s;d-=eW(c);let u={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:t.getVelocity(),...l,delay:-d,onUpdate:e=>{t.set(e),l.onUpdate&&l.onUpdate(e)},onComplete:()=>{a(),l.onComplete&&l.onComplete()},name:e,motionValue:t,element:n?void 0:r};!function(e){for(let t in e)if(!sN.has(t))return!0;return!1}(l)&&Object.assign(u,((e,t)=>{let{keyframes:i}=t;return i.length>2?sM:o.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===i[1]?2*Math.sqrt(550):30,restSpeed:10}:sC:sS})(e,u)),u.duration&&(u.duration=eW(u.duration)),u.repeatDelay&&(u.repeatDelay=eW(u.repeatDelay)),void 0!==u.from&&(u.keyframes[0]=u.from);let h=!1;if(!1!==u.type&&(0!==u.duration||u.repeatDelay)||(sy(u),0===u.delay&&(h=!0)),(eC.instantAnimations||eC.skipAnimations||r?.shouldSkipAnimations||l.skipAnimations)&&(h=!0,sy(u),u.delay=0),u.allowFlatten=!l.type&&!l.ease,h&&!n&&void 0!==t.get()){let e=eZ(u.keyframes,l);if(void 0!==e)return void eN.update(()=>{u.onUpdate(e),u.onComplete()})}return l.isSync?new sf(u):new sj(u)}};
1function sI(e,t){let{delay:i=0,transitionOverride:s,type:r}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{transition:o,transitionEnd:n,...a}=t,l=e.getDefaultTransition();o=o?iN(o,l):l;let c=o?.reduceMotion,d=o?.skipAnimations;s&&(o=s);let u=[],h=r&&e.animationState&&e.animationState.getState()[r];for(let t in a){let s=e.getValue(t,e.latestValues[t]??null),r=a[t];if(void 0===r||h&&function(e,t){let{protectedKeys:i,needsAnimating:s}=e,r=i.hasOwnProperty(t)&&!0!==s[t];return s[t]=!1,r}(h,t))continue;let n={delay:i,...iz(o||{},t)};d&&(n.skipAnimations=!0);let l=s.get();if(void 0!==l&&!s.isAnimating()&&!Array.isArray(r)&&r===l&&!n.velocity){eN.update(()=>s.set(r));continue}let m=!1;if(window.MotionHandoffAnimation){let i=e.props[ib];if(i){let e=window.MotionHandoffAnimation(i,t,eN);null!==e&&(n.startTime=e,m=!0)}}iE(e,t);let p=c??e.shouldReduceMotion;s.start(sz(t,s,r,p&&K.has(t)?{type:!1}:n,e,m));let f=s.animation;f&&u.push(f)}if(n){let t=()=>eN.update(()=>{n&&function(e,t){let{transitionEnd:i={},transition:s={},...r}=iS(e,t)||{};for(let t in r={...r,...i}){var o;let i=iI(o=r[t])?o[o.length-1]||0:o;e.hasValue(t)?e.getValue(t).set(i):e.addValue(t,to(i))}}(e,n)});u.length?Promise.all(u).then(t):t()}return u}function sE(e,t,i){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),n=e.size,a=(n-1)*s;return"function"==typeof i?i(o,n):1===r?o*s:a-o*s}function sA(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=iS(e,t,"exit"===i.type?e.presenceContext?.custom:void 0),{transition:r=e.getDefaultTransition()||{}}=s||{};i.transitionOverride&&(r=i.transitionOverride);let o=s?()=>Promise.all(sI(e,s,i)):()=>Promise.resolve(),n=e.variantChildren&&e.variantChildren.size?function(){let s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,{delayChildren:o=0,staggerChildren:n,staggerDirection:a}=r;return function(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,n=arguments.length>6?arguments[6]:void 0,a=[];for(let l of e.variantChildren)l.notify("AnimationStart",t),a.push(sA(l,t,{...n,delay:i+("function"==typeof s?0:s)+sE(e.variantChildren,l,s,r,o)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(a)}(e,t,s,o,n,a,i)}:()=>Promise.resolve(),{when:a}=r;if(!a)return Promise.all([o(),n(i.delay)]);{let[e,t]="beforeChildren"===a?[o,n]:[n,o];return e().then(()=>t())}}let sD=tu.length;function sT(e,t){if(!Array.isArray(t))return!1;let i=t.length;if(i!==e.length)return!1;for(let s=0;s<i;s++)if(t[s]!==e[s])return!1;return!0}let sF=[...td].reverse(),sP=td.length;function sL(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function s_(){return{animate:sL(!0),whileInView:sL(),whileHover:sL(),whileTap:sL(),whileDrag:sL(),whileFocus:sL(),exit:sL()}}let sR=0;function sB(e){return[e("x"),e("y")]}function sV(e,t,i){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{passive:!0};return e.addEventListener(t,i,s),()=>e.removeEventListener(t,i)}let sO={x:!1,y:!1};function sW(e){return e.max-e.min}function s$(e,t,i){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5;e.origin=s,e.originPoint=t_(t.min,t.max,e.origin),e.scale=sW(i)/sW(t),e.translate=t_(i.min,i.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function sU(e,t,i,s){s$(e.x,t.x,i.x,s?s.originX:void 0),s$(e.y,t.y,i.y,s?s.originY:void 0)}function sH(e,t,i){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;e.min=(s?t_(i.min,i.max,s):i.min)+t.min,e.max=e.min+sW(t)}function sY(e,t,i){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r=s?t_(i.min,i.max,s):i.min;e.min=t.min-r,e.max=e.min+sW(t)}
1function sq(e,t,i,s){sY(e.x,t.x,i.x,s?.x),sY(e.y,t.y,i.y,s?.y)}let sK=e=>"object"==typeof e&&null!==e;function sG(e){return sK(e)&&"ownerSVGElement"in e}function sX(e,t,i){if(null==e)return[];if(e instanceof EventTarget)return[e];if("string"==typeof e){let s=document;t&&(s=t.current);let r=i?.[e]??s.querySelectorAll(e);return r?Array.from(r):[]}return Array.from(e).filter(e=>null!=e)}let sQ=new WeakMap,sZ=(e,t,i)=>(s,r)=>r&&r[0]?r[0][e+"Size"]:sG(s)&&"getBBox"in s?s.getBBox()[t]:s[i],sJ=sZ("inline","width","offsetWidth"),s0=sZ("block","height","offsetHeight");function s1(e){let{target:t,borderBoxSize:i}=e;sQ.get(t)?.forEach(e=>{e(t,{get width(){return sJ(t,i)},get height(){return s0(t,i)}})})}function s2(e){e.forEach(s1)}let s3=new Set;function s6(e,t){let r;return"function"==typeof e?(s3.add(e),s||(s=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};s3.forEach(t=>t(e))},window.addEventListener("resize",s)),()=>{s3.delete(e),s3.size||"function"!=typeof s||(window.removeEventListener("resize",s),s=void 0)}):(!i&&"u">typeof ResizeObserver&&(i=new ResizeObserver(s2)),(r=sX(e)).forEach(e=>{let s=sQ.get(e);s||(s=new Set,sQ.set(e,s)),s.add(t),i?.observe(e)}),()=>{r.forEach(e=>{let s=sQ.get(e);s?.delete(t),s?.size||i?.unobserve(e)})})}let s4=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),s7=new Set(["INPUT","SELECT","TEXTAREA"]),s5=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function s9(e){return{point:{x:e.pageX,y:e.pageY}}}function s8(e,t,i,s){return sV(e,t,e=>s5(e)&&i(e,s9(e)),s)}let re=e=>{let{current:t}=e;return t?t.ownerDocument.defaultView:null},rt=(e,t)=>Math.abs(e-t),ri=new Set(["auto","scroll"]);class rs{constructor(e,t,{transformPagePoint:i,contextWindow:s=window,dragSnapToOrigin:r=!1,distanceThreshold:o=3,element:n}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var e,t;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=rr(this.lastRawMoveEventInfo,this.transformPagePoint));let i=rn(this.lastMoveEventInfo,this.history),s=null!==this.startEvent,r=(e=i.offset,t={x:0,y:0},Math.sqrt(rt(e.x,t.x)**2+rt(e.y,t.y)**2)>=this.distanceThreshold);if(!s&&!r)return;let{point:o}=i,{timestamp:n}=eI;this.history.push({...o,timestamp:n});let{onStart:a,onMove:l}=this.handlers;s||(a&&a(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastRawMoveEventInfo=t,this.lastMoveEventInfo=rr(t,this.transformPagePoint),eN.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:i,onSessionEnd:s,resumeAnimation:r}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let o=rn("pointercancel"===e.type?this.lastMoveEventInfo:rr(t,this.transformPagePoint),this.history);this.startEvent&&i&&i(e,o),s&&s(e,o)},!s5(e))return;this.dragSnapToOrigin=r,this.handlers=t,this.transformPagePoint=i,this.distanceThreshold=o,this.contextWindow=s||window;const a=rr(s9(e),this.transformPagePoint),{point:l}=a,{timestamp:c}=eI;this.history=[{...l,timestamp:c}];const{onSessionStart:d}=t;d&&d(e,rn(a,this.history)),this.removeListeners=iA(s8(this.contextWindow,"pointermove",this.handlePointerMove),s8(this.contextWindow,"pointerup",this.handlePointerUp),s8(this.contextWindow,"pointercancel",this.handlePointerUp)),n&&this.startScrollTracking(n)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(ri.has(e.overflowX)||ri.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(e){let t=this.scrollPositions.get(e);if(!t)return;let i=e===window,s=i?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},r={x:s.x-t.x,y:s.y-t.y};(0!==r.x||0!==r.y)&&(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=r.x,this.lastMoveEventInfo.point.y+=r.y):this.history.length>0&&(this.history[0].x-=r.x,this.history[0].y-=r.y),this.scrollPositions.set(e,s),eN.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),ez(this.updatePoint)}}function rr(e,t){return t?{point:t(e.point)}:e}function ro(e,t){return{x:e.x-t.x,y:e.y-t.y}}function rn(e,t){let{point:i}=e;return{point:i,delta:ro(i,ra(t)),offset:ro(i,t[0]),velocity:function(e){if(e.length<2)return{x:0,y:0};let t=e.length-1,i=null,s=ra(e);for(;t>=0&&(i=e[t],!(s.timestamp-i.timestamp>eW(.1)));)t--;if(!i)return{x:0,y:0};i===e[0]&&e.length>2&&s.timestamp-i.timestamp>2*eW(.1)&&(i=e[1]);let r=(s.timestamp-i.timestamp)/1e3;if(0===r)return{x:0,y:0};let o={x:(s.x-i.x)/r,y:(s.y-i.y)/r};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(t)}}function ra(e){return e[e.length-1]}function rl(e,t,i){return{min:void 0!==t?e.min+t:void 0,max:void 0!==i?e.max+i-(e.max-e.min):void 0}}function rc(e,t){let i=t.min-e.min,s=t.max-e.max;return t.max-t.min<e.max-e.min&&([i,s]=[s,i]),{min:i,max:s}}function rd(e,t,i){return{min:ru(e,t),max:ru(e,i)}}function ru(e,t){return"number"==typeof e?e:e[t]||0}let rh=new WeakMap;class rm{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Y(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e){let{snapToCursor:t=!1,distanceThreshold:i}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{presenceContext:s}=this.visualElement;if(s&&!1===s.isPresent)return;let r=e=>{t&&this.snapToCursor(s9(e).point),this.stopAnimation()},o=(e,t)=>{let{drag:i,dragPropagation:s,onDragStart:r}=this.getProps();if(i&&!s&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(e){if("x"===e||"
1y"===e)if(sO[e])return null;else return sO[e]=!0,()=>{sO[e]=!1};return sO.x||sO.y?null:(sO.x=sO.y=!0,()=>{sO.x=sO.y=!1})}(i),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),sB(e=>{let t=this.getAxisMotionValue(e).get()||0;if(b.test(t)){let{projection:i}=this.visualElement;if(i&&i.layout){let s=i.layout.layoutBox[e];s&&(t=sW(s)*(parseFloat(t)/100))}}this.originPoint[e]=t}),r&&eN.update(()=>r(e,t),!1,!0),iE(this.visualElement,"transform");let{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},n=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:i,dragDirectionLock:s,onDirectionLock:r,onDrag:o}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:n}=t;if(s&&null===this.currentDirection){this.currentDirection=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,i=null;return Math.abs(e.y)>t?i="y":Math.abs(e.x)>t&&(i="x"),i}(n),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",t.point,n),this.updateAxis("y",t.point,n),this.visualElement.render(),o&&eN.update(()=>o(e,t),!1,!0)},a=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>{let{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:c}=this.getProps();this.panSession=new rs(e,{onSessionStart:r,onStart:o,onMove:n,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,distanceThreshold:i,contextWindow:re(this.visualElement),element:this.visualElement.current})}stop(e,t){let i=e||this.latestPointerEvent,s=t||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!s||!i)return;let{velocity:o}=s;this.startAnimation(o);let{onDragEnd:n}=this.getProps();n&&eN.postRender(()=>n(i,s))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,i){let{drag:s}=this.getProps();if(!i||!rf(e,s,this.currentDirection))return;let r=this.getAxisMotionValue(e),o=this.originPoint[e]+i[e];this.constraints&&this.constraints[e]&&(o=function(e,t,i){let{min:s,max:r}=t;return void 0!==s&&e<s?e=i?t_(s,e,i.min):Math.max(e,s):void 0!==r&&e>r&&(e=i?t_(r,e,i.max):Math.min(e,r)),e}(o,this.constraints[e],this.elastic[e])),r.set(o)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,s=this.constraints;e&&ik(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&i?this.constraints=function(e,t){let{top:i,left:s,bottom:r,right:o}=t;return{x:rl(e.x,s,o),y:rl(e.y,i,r)}}(i.layoutBox,e):this.constraints=!1,this.elastic=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.35;return!1===e?e=0:!0===e&&(e=.35),{x:rd(e,"left","right"),y:rd(e,"top","bottom")}}(t),s!==this.constraints&&!ik(e)&&i&&this.constraints&&!this.hasMutatedConstraints&&sB(e=>{var t,s;let r;!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=(t=i.layoutBox[e],s=this.constraints[e],r={},void 0!==s.min&&(r.min=s.min-t.min),void 0!==s.max&&(r.max=s.max-t.min),r))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:i}=this.getProps();if(!t||!ik(t))return!1;let s=t.current;et(null!==s,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;r.root&&(r.root.scroll=void 0,r.root.updateScroll());let o=function(e,t,i){let s=t1(e,i),{scroll:r}=t;return r&&(tQ(s.x,r.offset.x),tQ(s.y,r.offset.y)),s}(s,r.root,this.visualElement.getTransformPagePoint()),n=(e=r.layout.layoutBox,{x:rc(e.x,o.x),y:rc(e.y,o.y)});if(i){let e=i(function(e){let{x:t,y:i}=e;return{top:i.min,right:t.max,bottom:i.max,left:t.min}}(n));this.hasMutatedConstraints=!!e,e&&(n=t$(e))}return n}startAnimation(e){let{drag:t,dragMomentum:i,dragElastic:s,dragTransition:r,dragSnapToOrigin:o,onDragTransitionEnd:n}=this.getProps(),a=this.constraints||{};return Promise.all(sB(n=>{if(!rf(n,t,this.currentDirection))return;let l=a&&a[n]||{};(!0===o||o===n)&&(l={min:0,max:0});let c={type:"inertia",velocity:i?e[n]:0,bounceStiffness:s?200:1e6,bounceDamping:s?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(n,c)}
1)).then(n)}startAxisValueAnimation(e,t){let i=this.getAxisMotionValue(e);return iE(this.visualElement,e),i.start(sz(e,i,0,t,this.visualElement,!1))}stopAnimation(){sB(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`;return this.visualElement.getProps()[t]||this.visualElement.getValue(e,this.visualElement.latestValues[e]??0)}snapToCursor(e){sB(t=>{let{drag:i}=this.getProps();if(!rf(t,i,this.currentDirection))return;let{projection:s}=this.visualElement,r=this.getAxisMotionValue(t);if(s&&s.layout){let{min:i,max:o}=s.layout.layoutBox[t],n=r.get()||0;r.set(e[t]-t_(i,o,.5)+n)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:i}=this.visualElement;if(!ik(t)||!i||!this.constraints)return;this.stopAnimation();let s={x:0,y:0};sB(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){var i,r;let o,a,l,c=t.get();s[e]=(i={min:c,max:c},r=this.constraints[e],o=.5,a=sW(i),(l=sW(r))>a?o=sd(r.min,r.max-a,i.min):a>l&&(o=sd(i.min,i.max-l,r.min)),n(0,1,o))}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.constraints=!1,this.resolveConstraints(),sB(t=>{if(!rf(t,e,null))return;let i=this.getAxisMotionValue(t),{min:r,max:o}=this.constraints[t];i.set(t_(r,o,s[t]))}),this.visualElement.render()}addListeners(){let e;if(!this.visualElement.current)return;rh.set(this.visualElement,this);let t=this.visualElement.current,i=s8(t,"pointerdown",e=>{let{drag:i,dragListener:s=!0}=this.getProps(),r=e.target,o=r!==t&&(s7.has(r.tagName)||!0===r.isContentEditable);i&&s&&!o&&this.start(e)}),s=()=>{var i,s,r;let o,n,{dragConstraints:a}=this.getProps();ik(a)&&a.current&&(this.constraints=this.resolveRefConstraints(),e||(i=t,s=a.current,o=s6(i,rp(r=()=>this.scalePositionWithinConstraints())),n=s6(s,rp(r)),e=()=>{o(),n()}))},{projection:r}=this.visualElement,o=r.addEventListener("measure",s);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),eN.read(s);let n=sV(window,"resize",()=>this.scalePositionWithinConstraints()),a=r.addEventListener("didUpdate",e=>{let{delta:t,hasLayoutChanged:i}=e;this.isDragging&&i&&(sB(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{n(),i(),o(),a&&a(),e&&e()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:i=!1,dragPropagation:s=!1,dragConstraints:r=!1,dragElastic:o=.35,dragMomentum:n=!0}=e;return{...e,drag:t,dragDirectionLock:i,dragPropagation:s,dragConstraints:r,dragElastic:o,dragMomentum:n}}}function rp(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function rf(e,t,i){return(!0===t||t===e)&&(null===i||i===e)}let rg=e=>(t,i)=>{e&&eN.update(()=>e(t,i),!1,!0)},rx={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var rv=t3;function ry(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=(0,t3.useContext)(id);if(null===t)return[!0,null];let{isPresent:i,onExitComplete:s,register:r}=t,o=(0,t3.useId)();(0,t3.useEffect)(()=>{if(e)return r(o)},[e]);let n=(0,t3.useCallback)(()=>e&&s&&s(o),[o,s,e]);return!i&&s?[!1,n]:[!0]}e.s(["usePresence",0,ry],64978);let rb=!1;class rw extends rv.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:i,layoutId:s}=this.props,{projection:r}=e;r&&(t.group&&t.group.add(r),i&&i.register&&s&&i.register(r),rb&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),rx.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:i,drag:s,isPresent:r}=this.props,{projection:o}=i;return o&&(o.isPresent=r,e.layoutDependency!==t&&o.setOptions({...o.options,layoutDependency:t}),rb=!0,s||e.layoutDependency!==t||void 0===t||e.isPresent!==r?o.willUpdate():this.safeToRemove(),e.isPresent!==r&&(r?o.promote():o.relegate()||eN.postRender(()=>{let e=o.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:e,layoutAnchor:t}=this.props,{projection:i}=e;i&&(i.options.layoutAnchor=t,i.root.didUpdate(),e8.postRender(()=>{!i.currentAnimation&&i.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:i}=this.props,{projection:s}=e;rb=!0,s&&(s.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(s),i&&i.deregister&&i.deregister(s))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function rk(e){let[t,i]=ry(),s=(0,rv.useContext)(t5);return(0,t7.jsx)(rw,{...e,layoutGroup:s,switchLayoutGroup:(0,rv.useContext)(iw),isPresent:t,safeToRemove:i})}let rj=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],rC=rj.length,rM=e=>"string"==typeof e?parseFloat(e):e,rS=e=>"number"==typeof e||w.test(e);function rN(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let rz=rE(0,.5,sn),rI=rE(.5,.95,ej);function rE(e,t,i){return s=>s<e?0:s>t?1:i(sd(e,t,s))}function rA(e,t){e.min=t.min,e.max=t.max}function rD(e,t){rA(e.x,t.x),rA(e.y,t.y)}function rT(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function rF(e,t,i,s,r){return e-=t,e=s+1/i*(e-s),void 0!==r&&(e=s+1/r*(e-s)),e}function rP(e,t,i,s,r){let[o,n,a]=i;!function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5,r=arguments.length>4?arguments[4]:void 0,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e,n=arguments.length>6&&void 0!==arguments[6]?arguments[6]:e;if(b.test(t)&&(t=parseFloat(t),t=t_(n.min,n.max,t/100)-n.min),"number"!=typeof t)return;let a=t_(o.min,o.max,s);e===o&&(a-=t),e.min=rF(e.min,t,i,a,r),e.max=rF(e.max,t,i,a,r)}(e,t[o],t[n],t[a],t.scale,s,r)}let rL=["x","scaleX","originX"],r_=["y","scaleY","originY"];function rR(e,t,i,s){rP(e.x,t,rL,i?i.x:void 0,s?s.x:void 0),rP(e.y,t,r_,i?i.y:void 0,s?s.y:void 0)}function rB(e){return 0===e.translate&&1===e.scale}function rV(e){return rB(e.x)&&rB(e.y)}function rO(e,t){return e.min===t.min&&e.max===t.max}function rW(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function r$(e,t){return rW(e.x,t.x)&&rW(e.y,t.y)}function rU(e){return sW(e.x)/sW(e.y)}function rH(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class rY{constructor(){this.members=[]}add(e){e$(this.members,e);for(let t=this.members.length-1;t>=0;t--){let i=this.members[t];if(i===e||i===this.lead||i===this.prevLead)continue;let s=i.instance;s&&!1!==s.isConnected||i.snapshot||(eU(this.members,i),i.unmount())}e.scheduleRender()}remove(e){if(eU(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(!1!==e.isPresent&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let i=this.lead;if(e!==i&&(this.prevLead=i,this.lead=e,e.show(),i)){i.updateSnapshot(),e.scheduleRender();let{layoutDependency:s}=i.options,{layoutDependency:r}=e.options;(void 0===s||s!==r)&&(e.resumeFrom=i,t&&(i.preserveOpacity=!0),i.snapshot&&(e.snapshot=i.snapshot,e.snapshot.latestValues=i.animationValues||i.latestValues),e.root?.isU
1pdating&&(e.isLayoutDirty=!0)),!1===e.options.crossfade&&i.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}let rq=(e,t)=>e.depth-t.depth;class rK{constructor(){this.children=[],this.isDirty=!1}add(e){e$(this.children,e),this.isDirty=!0}remove(e){eU(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(rq),this.isDirty=!1,this.children.forEach(e)}}let rG=["","X","Y","Z"],rX=0;function rQ(e,t,i,s){let{latestValues:r}=t;r[e]&&(i[e]=r[e],t.setStaticValue(e,0),s&&(s[e]=0))}function rZ(e){let{attachResizeListener:t,defaultParent:i,measureScroll:s,checkIsScrollRoot:r,resetTransform:o}=e;return class{constructor(e={},t=i?.()){this.id=rX++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(r1),this.nodes.forEach(oe),this.nodes.forEach(ot),this.nodes.forEach(r2)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=t?t.root||t:this,this.path=t?[...t.path,t]:[],this.parent=t,this.depth=t?t.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new rK)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new eH),this.eventHandlers.get(e).add(t)}notifyListeners(e){for(var t=arguments.length,i=Array(t>1?t-1:0),s=1;s<t;s++)i[s-1]=arguments[s];let r=this.eventHandlers.get(e);r&&r.notify(...i)}hasListeners(e){return this.eventHandlers.has(e)}mount(e){if(this.instance)return;this.isSVG=sG(e)&&!(sG(e)&&"svg"===e.tagName),this.instance=e;let{layoutId:i,layout:s,visualElement:r}=this.options;if(r&&!r.current&&r.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(s||i)&&(this.isLayoutDirty=!0),t){let i,s=0,r=()=>this.root.updateBlockedByResize=!1;eN.read(()=>{s=window.innerWidth}),t(e,()=>{let e=window.innerWidth;if(e!==s){let t,o;s=e,this.root.updateBlockedByResize=!0,i&&i(),t=tt.now(),o=e=>{let{timestamp:i}=e,s=i-t;s>=250&&(ez(o),r(s-250))},eN.setup(o,!0),i=()=>ez(o),rx.hasAnimatedSinceResize&&(rx.hasAnimatedSinceResize=!1,this.nodes.forEach(r8))}})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&r&&(i||s)&&this.addEventListener("didUpdate",e=>{let{delta:t,hasLayoutChanged:i,hasRelativeLayoutChanged:s,layout:o}=e;if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let n=this.options.transition||r.getDefaultTransition()||oa,{onLayoutAnimationStart:a,onLayoutAnimationComplete:l}=r.getProps(),c=!this.targetLayout||!r$(this.targetLayout,o),d=!i&&s;if(this.options.layoutRoot||this.resumeFrom||d||i&&(c||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...iz(n,"layout"),onPlay:a,onComplete:l};(r.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,d)}else i||r8(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=o})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),ez(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEac
1h(oi),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function e(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;let{visualElement:i}=t.options;if(!i)return;let s=i.props[ib];if(window.MotionHasOptimisedAnimation(s,"transform")){let{layout:e,layoutId:i}=t.options;window.MotionCancelOptimisedAnimation(s,"transform",eN,!(e||i))}let{parent:r}=t;r&&!r.hasCheckedOptimisedAppear&&e(r)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,("string"==typeof t.latestValues.x||"string"==typeof t.latestValues.y)&&(t.isLayoutDirty=!0),t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:i}=this.options;if(void 0===t&&!i)return;let s=this.getTransformTemplate();this.prevTransformTemplateValue=s?s(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let e=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEach(r4),this.nodes.forEach(r6);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(r7);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(r5),this.nodes.forEach(r9),this.nodes.forEach(rJ),this.nodes.forEach(r0)):this.nodes.forEach(r7),this.clearAllSnapshots();let e=tt.now();eI.delta=n(0,1e3/60,e-eI.timestamp),eI.timestamp=e,eI.isProcessing=!0,eE.update.process(eI),eE.preRender.process(eI),eE.render.process(eI),eI.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,e8.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(r3),this.sharedNodes.forEach(os)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,eN.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){eN.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||sW(this.snapshot.measuredBox.x)||sW(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=Y()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"measure",t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:s(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!o)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!rV(this.projectionDelta),i=this.getTransformTemplate(),s=i?i(this.latestValues,""):void 0,r=s!==this.prevTransformTemplateValue;e&&this.instance&&(t||tY(this.latestValues)||r)&&(o(this.instance,s),this.shouldResetTransform=!1,this.scheduleRender())}measure(){var e;let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0],i=this.measurePageBox(),s=this.removeElementScroll(i);return t&&(s=this.removeTransform(s)),od((e=s).x),od(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:s,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return Y();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(oh))){let{scroll:e}=this.root;e&&(tQ(t.x,e.offset.x),tQ(t.y,e.offset.y))}return t}removeElementScroll(e){let t=Y();if(rD(t,e),this.scroll?.wasRoot)return t;for(let i=0;i<this.path.length;i++){let s=this.path[i],{scroll:r,options:o}=s;s!==this.root&&r&&o.layoutScroll&&(r.wasRoot&&rD(t,e),tQ(t.x,r.offset.x),tQ(t.y,r.offset.y))}return t}applyTransform(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2?arguments[2]:void 0,s=i||Y();rD(s,e);for(let e=0;e<this.path.length;e++){let i=this.path[e];!t&&i.options.layoutScroll&&i.scroll&&i!==i.root&&(tQ(s.x,-i.scroll.offset.x),tQ(s.y,-i.scroll.offset.y)),tY(i.latestValues)&&t0(s,i.latestValues,i.layout?.layoutBox)}return tY(this.latestValues)&&t0(s,this.latestValues,this.layout?.layoutBox),s}removeTransform(e){let t=Y();rD(t,e);for(let e=0;e<this.path.length;e++){let i,s=this.path[e];tY(s.latestValues)&&(s.instance&&(tH(s.latestValues)&&s.updateSnapshot(),rD(i=Y(),s.measurePageBox())),rR(t,s.latestValues,s.snapshot?.layoutBox,i))}return tY(this.latestValues)&&rR(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==eI.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=t.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=t.
1isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=t.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==t;if(!(e||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:s,layoutId:r}=this.options;if(!this.layout||!(s||r))return;this.resolvedRelativeTargetAt=eI.timestamp;let o=this.getClosestProjectingParent();if(o&&this.linkedParentVersion!==o.layoutVersion&&!o.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&o&&o.layout?this.createRelativeTarget(o,this.layout.layoutBox,o.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=Y(),this.targetWithTransforms=Y()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var n,a,l,c;this.forceRelativeParentToResolveTarget(),n=this.target,a=this.relativeTarget,l=this.relativeParent.target,c=this.options.layoutAnchor||void 0,sH(n.x,a.x,l.x,c?.x),sH(n.y,a.y,l.y,c?.y)}else this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):rD(this.target,this.layout.layoutBox),tX(this.target,this.targetDelta)):rD(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&o&&!!o.resumingFrom==!!this.resumingFrom&&!o.options.layoutScroll&&o.target&&1!==this.animationProgress?this.createRelativeTarget(o,this.target,o.target):this.relativeParent=this.relativeTarget=void 0)}}getClosestProjectingParent(){if(!(!this.parent||tH(this.parent.latestValues)||tq(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,i){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Y(),this.relativeTargetOrigin=Y(),sq(this.relativeTargetOrigin,t,i,this.options.layoutAnchor||void 0),rD(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,i=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===eI.timestamp&&(i=!1),i)return;let{layout:s,layoutId:r}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(s||r))return;rD(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,n=this.treeScale.y;!function(e,t,i){let s,r,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],n=i.length;if(n){t.x=t.y=1;for(let a=0;a<n;a++){r=(s=i[a]).projectionDelta;let{visualElement:n}=s.options;(!n||!n.props.style||"contents"!==n.props.style.display)&&(o&&s.options.layoutScroll&&s.scroll&&s!==s.root&&(tQ(e.x,-s.scroll.offset.x),tQ(e.y,-s.scroll.offset.y)),r&&(t.x*=r.x.scale,t.y*=r.y.scale,tX(e,r)),o&&tY(s.latestValues)&&t0(e,s.latestValues,s.layout?.layoutBox))}t.x<1.0000000000001&&t.x>.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}}(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=Y());let{target:a}=e;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(rT(this.prevProjectionDelta.x,this.projectionDelta.x),rT(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),sU(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===o&&this.treeScale.y===n&&rH(this.projectionDelta.x,this.prevProjectionDelta.x)&&rH(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=U(),this.projectionDelta=U(),this.projectionDeltaWithTransform=U()}setAnimationOrigin(e){let t,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=this.snapshot,r=s?s.latestValues:{},o={...this.latestValues},n=U();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!i;let a=Y(),l=(s?s.source:void 0)!==(this.layout?this.layout.source:void 0),c=this.getStack(),d=!c||c.members.length<=1,u=!!(l&&!d&&!0===this.options.crossfade&&!this.path.some(on));this.animationProgress=0,this.mixTargetDelta=i=>{let s=i/1e3;if(or(n.x,e.x,s),or(n.y,e.y,s),this.setTargetDelta(n),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var c,h,m,p,f,g;sq(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),m=this.relativeTarget,p=this.relativeTargetOrigin,f=a,g=s,oo(m.x,p.x,f.x,g),oo(m.y,p.y,f.y,g),t&&(c=this.relativeTarget,h=t,rO(c.x,h.x)&&rO(c.y,h.y))&&(this.isProjectionDirty=!1),t||(t=Y()),rD(t,this.relativeTarget)}l&&(this.animationValues=o,function(e,t,i,s,r,o){r?(e.opacity=t_(0,i.opacity??1,rz(s)),e.opacityExit=t_(t.opacity??1,0,rI(s))):o&&(e.opacity=t_(t.opacity??1,i.opacity??1,s));for(let r=0;r<rC;r++){let o=rj[r],n=rN(t,o),a=rN(i,o);(void 0!==n||void 0!==a)&&(n||(n=0),a||(a=0),0===n||0===a||rS(n)===rS(a)?(e[o]=Math.max(t_(rM(n),rM(a),s),0),(b.test(a)||b.test(n))&&(e[o]+="%")):e[o]=a)}(t.rotate||i.rotate)&&(e.rotate=t_(t.rotate||0,i.rotate||0,s))}(o,r,this.latestValues,s,u,d)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=s},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(ez(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=eN.update(()=>{var t,i,s;let r;rx.hasAnimatedSinceResize=!0,e0.layout++,this.motionValue||(this.motionValue=to(0)),this.motionValue.jump(0,!1),this.currentAnimation=(t=this.motionValue,i=[0,1e3],s={...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{e0.layout--},onComplete:()=>{e0.layout--,e.onComplete&&e.onComplete(),this.completeAnimation()}},(r=q(t)?t:to(t)).start(sz("",r,i,s)),r.animation),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:i,layout:s,latestValues:r}=e;if(t&&i&&s){if(this!==e&&this.layout&&s&&ou(this.options.animationType,this.layout.layoutBox,s.layoutBox)){i=this.target||Y();let t=sW(this.layout.layoutBox.x);i.x.min=e.target.x.min,i.x.max=i.x.min+t;let s=sW(this.layout.layoutBox.y);i.y.min=e.target.y.min,i.y.max=i.y.min+s}rD(t,i),t0(t,r),sU(this.projectionDeltaWithTransform,this.layoutCorrected,t,r)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new rY),this.sharedNodes.get(e).add(t);let i=t.options.initialPromotionConfig;t.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){let{layoutId:e}=this.options;
1return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote(){let{needsReset:e,transition:t,preserveFollowOpacity:i}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=this.getStack();s&&s.promote(this,i),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:i}=e;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(t=!0),!t)return;let s={};i.z&&rQ("z",e,s,this.animationValues);for(let t=0;t<rG.length;t++)rQ(`rotate${rG[t]}`,e,s,this.animationValues),rQ(`skew${rG[t]}`,e,s,this.animationValues);for(let t in e.render(),s)e.setStaticValue(t,s[t]),this.animationValues&&(this.animationValues[t]=s[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility="",e.opacity="",e.pointerEvents=ic(t?.pointerEvents)||"",e.transform=i?i(this.latestValues,""):"none";return}let s=this.getLead();if(!this.projectionDelta||!this.layout||!s.target){this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=ic(t?.pointerEvents)||""),this.hasProjected&&!tY(this.latestValues)&&(e.transform=i?i({},""):"none",this.hasProjected=!1);return}e.visibility="";let r=s.animationValues||s.latestValues;this.applyTransformsToTarget();
1let o=function(e,t,i){let s="",r=e.x.translate/t.x,o=e.y.translate/t.y,n=i?.z||0;if((r||o||n)&&(s=`translate3d(${r}px, ${o}px, ${n}px) `),(1!==t.x||1!==t.y)&&(s+=`scale(${1/t.x}, ${1/t.y}) `),i){let{transformPerspective:e,rotate:t,rotateX:r,rotateY:o,skewX:n,skewY:a}=i;e&&(s=`perspective(${e}px) ${s}`),t&&(s+=`rotate(${t}deg) `),r&&(s+=`rotateX(${r}deg) `),o&&(s+=`rotateY(${o}deg) `),n&&(s+=`skewX(${n}deg) `),a&&(s+=`skewY(${a}deg) `)}let a=e.x.scale*t.x,l=e.y.scale*t.y;return(1!==a||1!==l)&&(s+=`scale(${a}, ${l})`),s||"none"}(this.projectionDeltaWithTransform,this.treeScale,r);i&&(o=i(r,o)),e.transform=o;let{x:n,y:a}=this.projectionDelta;for(let t in e.transformOrigin=`${100*n.origin}% ${100*a.origin}% 0`,s.animationValues?e.opacity=s===this?r.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:r.opacityExit:e.opacity=s===this?void 0!==r.opacity?r.opacity:"":void 0!==r.opacityExit?r.opacityExit:0,tR){if(void 0===r[t])continue;let{correct:i,applyTo:n,isCSSVariable:a}=tR[t],l="none"===o?r[t]:i(r[t],s);if(n){let t=n.length;for(let i=0;i<t;i++)e[n[i]]=l}else a?this.options.visualElement.renderState.vars[t]=l:e[t]=l}this.options.layoutId&&(e.pointerEvents=s===this?ic(t?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(r6),this.root.sharedNodes.clear()}}}function rJ(e){e.updateLayout()}function r0(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:s}=e.layout,{animationType:r}=e.options,o=t.source!==e.layout.source;if("size"===r)sB(e=>{let s=o?t.measuredBox[e]:t.layoutBox[e],r=sW(s);s.min=i[e].min,s.max=s.min+r});else if("x"===r||"y"===r){let e="x"===r?"y":"x";rA(o?t.measuredBox[e]:t.layoutBox[e],i[e])}else ou(r,t.layoutBox,i)&&sB(s=>{let r=o?t.measuredBox[s]:t.layoutBox[s],n=sW(i[s]);r.max=r.min+n,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[s].max=e.relativeTarget[s].min+n)});let n=U();sU(n,i,t.layoutBox);let a=U();o?sU(a,e.applyTransform(s,!0),t.measuredBox):sU(a,i,t.layoutBox);let l=!rV(n),c=!1;if(!e.resumeFrom){let s=e.getClosestProjectingParent();if(s&&!s.resumeFrom){let{snapshot:r,layout:o}=s;if(r&&o){let n=e.options.layoutAnchor||void 0,a=Y();sq(a,t.layoutBox,r.layoutBox,n);let l=Y();sq(l,i,o.layoutBox,n),r$(a,l)||(c=!0),s.options.layoutRoot&&(e.relativeTarget=l,e.relativeTargetOrigin=a,e.relativeParent=s)}}}e.notifyListeners("didUpdate",{layout:i,snapshot:t,delta:a,layoutDelta:n,hasLayoutChanged:l,hasRelativeLayoutChanged:c})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function r1(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function r2(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function r3(e){e.clearSnapshot()}function r6(e){e.clearMeasurements()}function r4(e){e.isLayoutDirty=!0,e.updateLayout()}function r7(e){e.isLayoutDirty=!1}function r5(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function r9(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function r8(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function oe(e){e.resolveTargetDelta()}function ot(e){e.calcProjection()}function oi(e){e.resetSkewAndRotation()}function os(e){e.removeLeadSnapshot()}function or(e,t,i){e.translate=t_(t.translate,0,i),e.scale=t_(t.scale,1,i),e.origin=t.origin,e.originPoint=t.originPoint}function oo(e,t,i,s){e.min=t_(t.min,i.min,s),e.max=t_(t.max,i.max,s)}function on(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let oa={duration:.45,ease:[.4,0,.1,1]},ol=e=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),oc=ol("applewebkit/")&&!ol("chrome/")?Math.round:ej;function od(e){e.min=oc(e.min),e.max=oc(e.max)}function ou(e,t,i){return"position"===e||"preserve-aspect"===e&&!(.2>=Math.abs(rU(t)-rU(i)))}function oh(e){return e!==e.root&&e.scroll?.wasRoot}let om=rZ({attachResizeListener:(e,t)=>sV(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),op={current:void 0},of=rZ({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!op.current){let e=new om({});e.mount(window),e.setOptions({layoutScroll:!0}),op.current=e}return op.current},resetTransform:(e,t)=>
1{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position});function og(e,t){let i=sX(e),s=new AbortController;return[i,{passive:!0,...t,signal:s.signal},()=>s.abort()]}function ox(e,t,i){let{props:s}=e;e.animationState&&s.whileHover&&e.animationState.setActive("whileHover","Start"===i);let r=s["onHover"+i];r&&eN.postRender(()=>r(t,s9(t)))}function ov(e){return sK(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}e.s(["isHTMLElement",0,ov],72846);let oy=(e,t)=>!!t&&(e===t||oy(e,t.parentElement)),ob=new WeakSet;function ow(e){return t=>{"Enter"===t.key&&e(t)}}function ok(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function oj(e){return s5(e)&&!(sO.x||sO.y)}let oC=new WeakSet;function oM(e,t,i){let{props:s}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&s.whileTap&&e.animationState.setActive("whileTap","Start"===i);let r=s["onTap"+("End"===i?"":i)];r&&eN.postRender(()=>r(t,s9(t)))}let oS=new WeakMap,oN=new WeakMap,oz=e=>{let t=oS.get(e.target);t&&t(e)},oI=e=>{e.forEach(oz)},oE={some:0,all:1},oA=function(e,t){if("u"<typeof Proxy)return iC;let i=new Map,s=(i,s)=>iC(i,s,e,t);return new Proxy((e,t)=>s(e,t),{get:(r,o)=>"create"===o?s:(i.has(o)||i.set(o,iC(o,void 0,e,t)),i.get(o))})}({animation:{Feature:class extends iM{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(t=>{let{animation:i,options:s}=t;return function(e,t){let i,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e.notify("AnimationStart",t),Array.isArray(t))i=Promise.all(t.map(t=>sA(e,t,s)));else if("string"==typeof t)i=sA(e,t,s);else{let r="function"==typeof t?iS(e,t,s.custom):t;i=Promise.all(sI(e,r,s))}return i.then(()=>{e.notify("AnimationComplete",t)})}(e,i,s)})),i=s_(),s=!0,r=!1,o=t=>(i,s)=>{let r=iS(e,s,"exit"===t?e.presenceContext?.custom:void 0);if(r){let{transition:e,transitionEnd:t,...s}=r;i={...i,...s,...t}}return i};function n(n){let{props:a}=e,l=function e(t){if(!t)return;if(!t.isControllingVariants){let i=t.parent&&e(t.parent)||{};return void 0!==t.props.initial&&(i.initial=t.props.initial),i}let i={};for(let e=0;e<sD;e++){let s=tu[e],r=t.props[s];(tc(r)||!1===r)&&(i[s]=r)}return i}(e.parent)||{},c=[],d=new Set,u={},h=1/0;for(let t=0;t<sP;t++){var m,p;let f=sF[t],g=i[f],x=void 0!==a[f]?a[f]:l[f],v=tc(x),y=f===n?g.isActive:null;!1===y&&(h=t);let b=x===l[f]&&x!==a[f]&&v;if(b&&(s||r)&&e.manuallyAnimateOnMount&&(b=!1),g.protectedKeys={...u},!g.isActive&&null===y||!x&&!g.prevProp||tl(x)||"boolean"==typeof x)continue;if("exit"===f&&g.isActive&&!0!==y){g.prevResolvedValues&&(u={...u,...g.prevResolvedValues});continue}let w=(m=g.prevProp,"string"==typeof(p=x)?p!==m:!!Array.isArray(p)&&!sT(p,m)),k=w||f===n&&g.isActive&&!b&&v||t>h&&v,j=!1,C=Array.isArray(x)?x:[x],M=C.reduce(o(f),{});!1===y&&(M={});let{prevResolvedValues:S={}}=g,N={...S,...M},z=t=>{k=!0,d.has(t)&&(j=!0,d.delete(t)),g.needsAnimating[t]=!0;let i=e.getValue(t);i&&(i.liveStyle=!1)};for(let e in N){let t=M[e],i=S[e];if(!u.hasOwnProperty(e))(iI(t)&&iI(i)?!sT(t,i)||w:t!==i)?null!=t?z(e):d.add(e):void 0!==t&&d.has(e)?z(e):g.protectedKeys[e]=!0}g.prevProp=x,g.prevResolvedValues=M,g.isActive&&(u={...u,...M}),(s||r)&&e.blockInitialAnimation&&(k=!1);let I=b&&w,E=!I||j;k&&E&&c.push(...C.map(t=>{let i={type:f};if("string"==typeof t&&(s||r)&&!I&&e.manuallyAnimateOnMount&&e.parent){let{parent:s}=e,r=iS(s,t);if(s.enteringChildren&&r){let{delayChildren:t}=r.transition||{};i.delay=sE(s.enteringChildren,e,t)}}return{animation:t,options:i}}))}if(d.size){let t={};if("boolean"!=typeof a.initial){let i=iS(e,Array.isArray(a.initial)?a.initial[0]:a.initial);i&&i.transition&&(t.transition=i.transition)}d.forEach(i=>{let s=e.getBaseTarget(i),r=e.getValue(i);r&&(r.liveStyle=!0),t[i]=s??null}),c.push({animation:t})}let f=!!c.length;return s&&(!1===a.initial||a.initial===a.animate)&&!e.manuallyAnimateOnMount&&(f=!1),s=!1,r=!1,f?t(c):Promise.resolve()}return{animateChanges:n,setActive:function(t,s){if(i[t].isActive===s)return Promise.resolve();
1e.variantChildren?.forEach(e=>e.animationState?.setActive(t,s)),i[t].isActive=s;let r=n(t);for(let e in i)i[e].protectedKeys={};return r},setAnimateFunction:function(i){t=i(e)},getState:()=>i,reset:()=>{i=s_(),r=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();tl(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends iM{constructor(){super(...arguments),this.id=sR++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===i)return;if(e&&!1===i){if(this.isExitComplete){let{initial:e,custom:t}=this.node.getProps();if("string"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)){let i=iS(this.node,e,t);if(i){let{transition:e,transitionEnd:t,...s}=i;for(let e in s)this.node.getValue(e)?.jump(s[e])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let s=this.node.animationState.setActive("exit",!e);t&&!e&&s.then(()=>{this.isExitComplete=!0,t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}},inView:{Feature:class extends iM{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var e;let t;this.stopObserver?.();let{viewport:i={}}=this.node.getProps(),{root:s,margin:r,amount:o="some",once:n}=i,a={root:s?s.current:void 0,rootMargin:r,threshold:"number"==typeof o?o:oE[o]},l=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,n&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:i,onViewportLeave:s}=this.node.getProps(),r=t?i:s;r&&r(e)};this.stopObserver=(e=this.node.current,t=function(e){let{root:t,...i}=e,s=t||document;oN.has(s)||oN.set(s,{});let r=oN.get(s),o=JSON.stringify(i);return r[o]||(r[o]=new IntersectionObserver(oI,{root:t,...i})),r[o]}(a),oS.set(e,l),t.observe(e),()=>{oS.delete(e),t.unobserve(e)})}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function(e){let{viewport:t={}}=e,{viewport:i={}}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e=>t[e]!==i[e]}(e,t))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}},tap:{Feature:class extends iM{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:i}=this.node.props;this.unmount=function(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},[s,r,o]=og(e,i),n=e=>{let s=e.currentTarget;if(!oj(e)||oC.has(e))return;ob.add(s),i.stopPropagation&&oC.add(e);let o=t(s,e),n=(e,t)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),ob.has(s)&&ob.delete(s),oj(e)&&"function"==typeof o&&o(e,{success:t})},a=e=>{n(e,s===window||s===document||i.useGlobalTarget||oy(s,e.target))},l=e=>{n(e,!1)};window.addEventListener("pointerup",a,r),window.addEventListener("pointercancel",l,r)};return s.forEach(e=>{((i.useGlobalTarget?window:e).addEventListener("pointerdown",n,r),ov(e))&&(e.addEventListener("focus",e=>((e,t)=>{let i=e.currentTarget;if(!i)return;let s=ow(()=>{if(ob.has(i))return;ok(i,"down");let e=ow(()=>{ok(i,"up")});i.addEventListener("keyup",e,t),i.addEventListener("blur",()=>ok(i,"cancel"),t)});i.addEventListener("keydown",s,t),i.addEventListener("blur",()=>i.removeEventListener("keydown",s),t)})(e,r)),s4.has(e.tagName)||!0===e.isContentEditable||e.hasAttribute("tabindex")||(e.tabIndex=0))}),o}(e,(e,t)=>(oM(this.node,t,"Start"),(e,t)=>{let{success:i}=t;
1return oM(this.node,e,i?"End":"Cancel")}),{useGlobalTarget:t,stopPropagation:i?.tap===!1})}unmount(){}}},focus:{Feature:class extends iM{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=iA(sV(this.node.current,"focus",()=>this.onFocus()),sV(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends iM{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},[s,r,o]=og(e,i);return s.forEach(e=>{let i,s=!1,o=!1,n=t=>{i&&(i(t),i=void 0),e.removeEventListener("pointerleave",l)},a=e=>{s=!1,window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",a),o&&(o=!1,n(e))},l=e=>{if("touch"!==e.pointerType){if(s){o=!0;return}n(e)}};e.addEventListener("pointerenter",s=>{if("touch"===s.pointerType||sO.x||sO.y)return;o=!1;let n=t(e,s);"function"==typeof n&&(i=n,e.addEventListener("pointerleave",l,r))},r),e.addEventListener("pointerdown",()=>{s=!0,window.addEventListener("pointerup",a,r),window.addEventListener("pointercancel",a,r)},r)}),o}(e,(e,t)=>(ox(this.node,t,"Start"),e=>ox(this.node,e,"End"))))}unmount(){}}},pan:{Feature:class extends iM{constructor(){super(...arguments),this.removePointerDownListener=ej}onPointerDown(e){this.session=new rs(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:re(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:i,onPanEnd:s}=this.node.getProps();return{onSessionStart:rg(e),onStart:rg(t),onMove:rg(i),onEnd:(e,t)=>{delete this.session,s&&eN.postRender(()=>s(e,t))}}}mount(){this.removePointerDownListener=s8(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends iM{constructor(e){super(e),this.removeGroupControls=ej,this.removeListeners=ej,this.controls=new rm(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||ej}update(){let{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},ProjectionNode:of,MeasureLayout:rk},layout:{ProjectionNode:of,MeasureLayout:rk}},(e,t)=>t.isSVG??t4(e)?new tW(t):new t2(t,{allowProjection:e!==t3.Fragment}));e.s(["motion",0,oA],46932)},75254,e=>{"use strict";var t=e.i(71645);let i=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,i)=>i?i.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)},s=function(){for(var e=arguments.length,t=Array(e),i=0;i<e;i++)t[i]=arguments[i];return t.filter((e,t,i)=>!!e&&""!==e.trim()&&i.indexOf(e)===t).join(" ").trim()};var r={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let o=(0,t.forwardRef)((e,i)=>{let{color:o="currentColor",size:n=24,strokeWidth:a=2,absoluteStrokeWidth:l,className:c="",children:d,iconNode:u,...h}=e;return(0,t.createElement)("svg",{ref:i,...r,width:n,height:n,stroke:o,strokeWidth:l?24*Number(a)/Number(n):a,className:s("lucide",c),...!d&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0})(h)&&{"aria-hidden":"true"},...h},[...u.map(e=>{let[i,s]=e;return(0,t.createElement)(i,s)}),...Array.isArray(d)?d:[d]])});e.s(["default",0,(e,r)=>{let n=(0,t.forwardRef)((n,a)=>{let{className:l,...c}=n;return(0,t.createElement)(o,{ref:a,iconNode:r,className:s(`lucide-${i(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,l),...c})});return n.displayName=i(e),n}],75254)},89319,(e,t,i)=>{"use strict";var s=e.e&&e.e.__assign||function(){return(s=Object.assign||function(e){for(var t,i=1,s=arguments.length;i<s;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},r=e.e&&e.e.__rest||function(e,t){var i={};for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&0>t.indexOf(s)&&(i[s]=e[s]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,s=Object.getOwnPropertySymbols(e);r<s.length;r++)0>t.indexOf(s[r])&&Object.prototype.propertyIsEnumerable.call(e,s[r])&&(i[s[r]]=e[s[r]]);return i};Object.defineProperty(i,"__esModule",{value:!0}),i.iconList=void 0;var o=e.r(71645);i.iconList=function(e){return e&&Array.isArray(e.icons)?e.icons.map(function(e){return e.properties.name}):null},i.default=function(e){var t=e.iconSet,i=e.icon,n=e.size,a=e.title,l=e.disableFill,c=e.removeInlineStyle,d=e.native,u=e.SvgComponent,h=e.PathComponent,m=r(e,["iconSet","icon","size","title","disableFill","removeInlineStyle","native","SvgComponent","PathComponent"]);if(!t||!i)return null;var p=t.icons.find(function(e){return e.properties.name===i});if(!p)return null;
1var f={display:"inline-block",stroke:"currentColor",fill:"currentColor"};d&&(f.display="flex",f.flexDirection="row",f.flexWrap="wrap");var g=s(s(s({},c?{}:f),n?{width:n,height:n}:{}),m.style||{}),x=p.icon.width,v=p.icon.paths.map(function(e,t){var r,n=null==(r=p.icon.attrs)?void 0:r[t],a=s({d:e,key:i+t},!l&&n?n:{});return(0,o.createElement)(h||"path",a)});return a&&!d&&v.push((0,o.createElement)("title",{key:a},a)),(0,o.createElement)(u||"svg",s(s({},m),{viewBox:"0 0 ".concat(void 0===x?"1024":x," 1024"),style:g}),v)}},28477,(e,t,i)=>{t.exports=JSON.parse('{"IcoMoonType":"selection","icons":[{"icon":{"paths":["M697.549 697.549v0c-7.725 7.713-18.39 12.482-30.17 12.482s-22.445-4.77-30.17-12.483l-125.183-125.183-125.44 125.44c-7.728 7.737-18.409 12.524-30.208 12.524-23.579 0-42.693-19.114-42.693-42.693 0-11.78 4.771-22.446 12.486-30.17v0l125.44-125.44-125.44-125.44c-7.731-7.731-12.513-18.411-12.513-30.208 0-23.594 19.127-42.721 42.721-42.721 11.797 0 22.477 4.782 30.208 12.513v0l125.44 125.44 125.235-125.184c7.721-7.721 18.388-12.497 30.17-12.497 23.564 0 42.666 19.102 42.666 42.666 0 11.782-4.776 22.449-12.497 30.17l-125.184 125.184 125.184 125.235c7.713 7.725 12.482 18.39 12.482 30.17s-4.77 22.445-12.483 30.17l0.001-0.001z"],"isMulticolor":false,"isMulticolor2":false,"tags":["Close-Button"],"defaultCode":59648,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":1,"order":65,"ligatures":"","prevSize":32,"code":59648,"name":"Close-Button"},"setIdx":0,"setId":2,"iconIdx":0},{"icon":{"paths":["M320 640c82.475 0 149.333-66.859 149.333-149.333s-66.859-149.333-149.333-149.333c-82.475 0-149.333 66.859-149.333 149.333v0c0 82.475 66.859 149.333 149.333 149.333v0zM320 426.667c35.346 0 64 28.654 64 64s-28.654 64-64 64c-35.346 0-64-28.654-64-64v0c0-35.346 28.654-64 64-64v0zM661.333 512c106.039 0 192-85.961 192-192s-85.961-192-192-192c-106.039 0-192 85.961-192 192v0c0 106.039 85.961 192 192 192v0zM661.333 213.333c58.91 0 106.667 47.756 106.667 106.667s-47.756 106.667-106.667 106.667c-58.91 0-106.667-47.756-106.667-106.667v0c0-58.91 47.756-106.667 106.667-106.667v0zM810.667 554.667h-298.667c-47.128 0-85.333 38.205-85.333 85.333v0 42.667h-213.333c-47.128 0-85.333 38.205-85.333 85.333v0 128h768v-256c0-47.128-38.205-85.333-85.333-85.333v0zM426.667 810.667h-213.333v-42.667h213.333zM810.667 810.667h-298.667v-170.667h298.667z"],"isMulticolor":false,"isMulticolor2":false,"tags":["Age-Range"],"defaultCode":59649,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":2,"order":66,"ligatures":"","prevSize":32,"code":59649,"name":"Age-Range"},"setIdx":0,"setId":2,"iconIdx":1},{"icon":{"paths":["M713.088 484.693l-172.373-171.691c-7.579-7.524-18.020-12.174-29.547-12.174s-21.968 4.65-29.549 12.177l0.003-0.002c-7.576 7.523-12.266 17.945-12.266 29.461s4.69 21.938 12.263 29.459l0.002 0.002 97.792 97.408h-238.080c-23.564 0-42.667 19.103-42.667 42.667s19.103 42.667 42.667 42.667v0h242.389l-102.144 101.717c-7.522 7.548-12.172 17.962-12.172 29.461 0 23.052 18.688 41.74 41.74 41.74 11.553 0 22.009-4.693 29.567-12.278l0.001-0.001 172.373-171.691c7.566-7.528 12.248-17.948 12.248-29.461s-4.682-21.933-12.246-29.46l-0.002-0.002z"],"isMulticolor":false,"isMulticolor2":false,"tags":["Arrow-Small"],"defaultCode":59650,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":3,"order":67,"ligatures":"","prevSize":32,"code":59650,"name":"Arrow-Small"},"setIdx":0,"setId":2,"iconIdx":2},{"icon":{"paths":["M821.419 345.984v-217.984h-618.837v217.984c0.407 77.104 12.451 151.246 34.463 220.962l-1.439-5.282c39.133 145.099 135.919 262.532 263.639 328.37l12.755 5.966 9.003-4.267 0.512-0.256h0.64c130.516-67.204 227.219-184.582 265.49-325.977l0.835-3.623c20.548-64.432 32.59-138.571 33.023-215.46l0.001-0.22zM736.085 213.333v128h-448.171v-128zM512 800.043c-94.811-59.541-164.546-151.561-194.054-260.146l-0.719-3.107c-9.892-31.123-18.194-68.365-23.336-106.608l-0.387-3.515h436.992c-5.578 41.806-13.878 79.045-25.032 115.029l1.31-4.906c-30.235 111.689-99.968 203.706-192.932 262.173l-1.841 1.081z"],"isMulticolor":false,"isMulticolor2":false,"tags":["Shield"],"defaultCode":59651,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":4,"order":68,"ligatures":"","prevSize":32,"code":59651,"name":"Shield"},"setIdx":0,"setId":2,"iconIdx":3},{"icon":{"paths":["M874.667 298.667h-106.667l-128-128h-256l-128 128h-106.667c-11.782 0-21.333 9.551-21.333 21.333v0 469.333c0 11.782 9.551 21.333 21.333 21.333v0h725.333c11.782 0 21.333-9.551 21.333-21.333v0-469.333c0-11.782-9.551-21.333-21.333-21.333v0zM810.667 725.333h-597.333v-341.333h
177.995l128-128h185.344l128 128h77.995zM512 341.333c-94.257 0-170.667 76.41-170.667 170.667s76.41 170.667 170.667 170.667c94.257 0 170.667-76.41 170.667-170.667v0c0-94.257-76.41-170.667-170.667-170.667v0zM512 597.333c-47.128 0-85.333-38.205-85.333-85.333s38.205-85.333 85.333-85.333c47.128 0 85.333 38.205 85.333 85.333v0c0 47.128-38.205 85.333-85.333 85.333v0zM746.667 426.667c-11.782 0-21.333 9.551-21.333 21.333s9.551 21.333 21.333 21.333c11.782 0 21.333-9.551 21.333-21.333v0c0-11.782-9.551-21.333-21.333-21.333v0z"],"isMulticolor":false,"isMulticolor2":false,"tags":["Icon-Camera"],"defaultCode":59652,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":5,"order":69,"ligatures":"","prevSize":32,"code":59652,"name":"Icon-Camera"},"setIdx":0,"setId":2,"iconIdx":4},{"icon":{"paths":["M128 341.333h768c23.564 0 42.667-19.103 42.667-42.667s-19.103-42.667-42.667-42.667v0h-768c-23.564 0-42.667 19.103-42.667 42.667s19.103 42.667 42.667 42.667v0zM896 469.333h-768c-23.564 0-42.667 19.103-42.667 42.667s19.103 42.667 42.667 42.667v0h768c23.564 0 42.667-19.103 42.667-42.667s-19.103-42.667-42.667-42.667v0zM896 682.667h-768c-23.564 0-42.667 19.103-42.667 42.667s19.103 42.667 42.667 42.667v0h768c23.564 0 42.667-19.103 42.667-42.667s-19.103-42.667-42.667-42.667v0z"],"isMulticolor":false,"isMulticolor2":false,"tags":["Icon-Menu"],"defaultCode":59653,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":6,"order":70,"ligatures":"","prevSize":32,"code":59653,"name":"Icon-Menu"},"setIdx":0,"setId":2,"iconIdx":5},{"icon":{"paths":["M459.989 530.048l37.205-89.344h-44.629l26.027-70.741c-15.317-1.195-37.163-8.149-51.499 1.877-10.197 7.125-15.787 31.573-20.437 42.667-6.699 16.043-38.912 62.592-9.941 73.216 5.036 1.135 10.819 1.785 16.754 1.785 3.283 0 6.519-0.199 9.697-0.585l-0.382 0.038c-5.443 18.728-11.991 34.86-19.953 50.137l0.71-1.497c-3.243 7.467-8.96 17.835-4.992 26.027 8.533 17.877 41.472 11.179 57.728 11.179 7.168 0 15.573 1.365 21.077-4.267 6.971-10.507 12.506-22.705 15.938-35.756l0.19-0.852zM269.525 377.429c-3.712-10.325-38.784-11.605-47.147-5.589-10.155 7.339-4.267 42.453-4.267 53.973v122.837c0 12.8 4.736 37.248-1.877 48.427-6.187 10.453-21.333 7.424-31.616 7.424 2.167 14.898 7.893 28.16 16.285 39.3l-0.157-0.218c6.072 2.743 13.165 4.341 20.631 4.341 18.533 0 34.767-9.847 43.753-24.595l0.128-0.226c3.929-13.131 6.19-28.221 6.19-43.838 0-6.851-0.435-13.601-1.279-20.223l0.082 0.786v-119.125c1.263-8.844 1.984-19.058 1.984-29.441 0-11.943-0.954-23.664-2.79-35.090l0.166 1.256zM895.531 574.72c0-34.645 5.589-77.397-37.205-88.107-4.899-0.913-10.536-1.435-16.295-1.435-2.133 0-4.249 0.072-6.346 0.213l0.284-0.015c0-38.144 3.669-81.92-40.917-95.531-8.058-1.413-17.336-2.221-26.803-2.221-6.296 0-12.508 0.357-18.617 1.052l0.748-0.069v-18.603h-52.139v18.603h-33.493v52.096h33.493v44.672h-52.096v52.224h52.096v107.947h52.139v-107.947h56.021c2.68-0.424 5.771-0.666 8.918-0.666 6.115 0 12.017 0.914 17.577 2.612l-0.426-0.112c8.193 9.289 13.194 21.564 13.194 35.006 0 9.232-2.359 17.912-6.506 25.472l0.138-0.275c-9.728 9.131-31.829 4.949-44.032 4.949 1.317 15.029 7.191 28.479 16.215 39.188l-0.087-0.106c5.205 3.755 15.061 1.877 21.077 1.877 19.285 0 41.216 2.219 54.613-14.891 6.232-11.748 9.891-25.685 9.891-40.476 0-5.434-0.494-10.752-1.439-15.913l0.082 0.538zM783.957 485.461h-33.493v-44.757h33.493zM601.6 440.704h29.867v-52.096h-115.2v52.096h29.867v156.331l-47.147 1.877-19.84 46.549h171.221v-48.427h-48.768zM873.216 439.467c5.53-0.97 10.378-3.391 14.281-6.853l-0.030 0.026c30.251-33.237-30.336-65.621-42.667-25.6-1.201 6.34-1.887 13.633-1.887 21.086 0 4.37 0.236 8.685 0.696 12.933l-0.046-0.526c2.946 0.249 6.377 0.391 9.84 0.391 7.072 0 14.006-0.592 20.755-1.73l-0.728 0.101zM132.267 440.704l-11.179 122.837 22.357 59.733 25.6-44.672 15.488-137.728zM303.659 440.704c0 25.899 4.949 52.437 7.467 78.165 0.286 36.898 9.895 71.49 26.583 101.617l-0.556-1.094h7.467l22.315-55.851-11.136-122.837zM390.528 595.2l-19.84 50.261h81.877l18.603-48.384-52.096-1.237z"],"isMulticolor":false,"isMulticolor2":false,"tags":["Icon-Social-RedNote"],"defaultCode":59654,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":7,"order":71,"ligatures":"","prevSize":32,"code":59654,"name":"Icon-Social-RedNote"},"setIdx":0,"setId":2,"iconIdx":6},{"icon":{"paths":["M265.899 535.723c-2.491-1.166-5.385-1.97-8.429-2.254l-0.104-0.008c-3.115-0.299-6.059-0.469-8.917-0.469h-15.403v32.555h20.181c0.065 0 0.141 0.001 0.218 0.001 2.704 0 5.339-0.296 7.874-0.856l-0.241 0.045c2.559-0.486 4.835-1.392 6.87-2.652l-0.086 0.049c2.011-1.262 3.64-2.958 4.785-4.966l0.036-0.069c1.188-2.168 1.886-4.749 1.886-7.494 0-0.186-0.003-0.37-0.010-0.554l0.001 0.027c0.014-0.227 0.022-0.492 0.022-0.759 0-2.918-0.936-5.617-2.523-7.814l0.027 0.039c-1.601-2.092-3.684-3.737-6.088-4.783l-0.099-0.038zM416.256 594.517c2.411-5.417 3.815-11.737 3.815-18.386 0-0.451-0.006-0.901-0.019-1.35l0.001 0.066c0.006-0.258 0.010-0.561 0.010-0.866 0-6.063-1.405-11.798-3.907-16.896l0.1 0.226c-2.474-4.941-5.901-9.065-10.072-12.27l-0.
1083-0.061c-4.276-3.176-9.284-5.664-14.698-7.177l-0.32-0.076c-5.341-1.544-11.476-2.433-17.819-2.433-0.111 0-0.221 0-0.331 0.001h-17.818v81.408h15.701c0.158 0.001 0.344 0.002 0.531 0.002 6.71 0 13.239-0.778 19.501-2.249l-0.575 0.114c5.958-1.359 11.194-3.815 15.731-7.164l-0.115 0.081c4.425-3.392 7.944-7.745 10.28-12.761l0.088-0.21zM640 128h-384c-23.564 0-42.667 19.103-42.667 42.667v0 256h-85.333v298.667h85.333v128c0 23.564 19.103 42.667 42.667 42.667v0h512c23.564 0 42.667-19.103 42.667-42.667v0-554.667zM275.328 589.099c-5.898 1.276-12.673 2.007-19.619 2.007-0.198 0-0.395-0.001-0.593-0.002h-22.071v53.461h-30.208v-137.131h50.944c0.145-0.001 0.317-0.001 0.489-0.001 6.968 0 13.772 0.699 20.347 2.032l-0.654-0.111c6.266 1.223 11.825 3.557 16.725 6.805l-0.17-0.106c4.743 3.268 8.545 7.575 11.132 12.608l0.090 0.192c2.705 5.535 4.287 12.044 4.287 18.923 0 0.473-0.007 0.943-0.022 1.412l0.002-0.069c0.016 0.454 0.025 0.988 0.025 1.523 0 6.736-1.439 13.135-4.025 18.909l0.117-0.293c-2.457 5.211-6.070 9.522-10.528 12.734l-0.096 0.066c-4.59 3.283-10.018 5.731-15.886 6.989l-0.284 0.051zM725.333 810.667h-426.667v-85.333h341.333v-298.667h-341.333v-213.333h298.667v128h128zM324.907 644.565v-137.131h45.355c0.233-0.002 0.509-0.002 0.785-0.002 10.823 0 21.334 1.339 31.375 3.86l-0.886-0.188c9.87 2.341 18.531 6.461 26.046 12.039l-0.19-0.135c7.411 5.591 13.346 12.742 17.384 20.991l0.152 0.343c4.114 8.78 6.514 19.066 6.514 29.913 0 0.719-0.011 1.435-0.031 2.149l0.002-0.105c0.009 0.415 0.015 0.904 0.015 1.394 0 10.159-2.319 19.776-6.457 28.352l0.17-0.391c-4.205 8.481-9.956 15.598-16.947 21.24l-0.119 0.093c-6.946 5.623-15.114 10.069-24.011 12.872l-0.522 0.142c-8.411 2.711-18.087 4.273-28.129 4.273-0.386 0-0.772-0.002-1.157-0.007l0.059 0.001zM560.512 563.2v27.904h-57.045v53.461h-30.251v-137.131h92.075v27.861h-61.824v27.904z"],"isMulticolor":false,"isMulticolor2":false,"tags":["Icon---PDF"],"defaultCode":59655,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":8,"order":72,"ligatures":"","prevSize":32,"code":59655,"name":"Icon---PDF"},"setIdx":0,"setId":2,"iconIdx":7},{"icon":{"paths":["M853.333 682.667c-23.564 0-42.667 19.103-42.667 42.667v0 85.333h-597.333v-85.333c0-23.564-19.103-42.667-42.667-42.667s-42.667 19.103-42.667 42.667v0 128c0 23.564 19.103 42.667 42.667 42.667v0h682.667c23.564 0 42.667-19.103 42.667-42.667v0-128c0-23.564-19.103-42.667-42.667-42.667v0zM713.173 396.288c-7.523-7.576-17.945-12.266-29.461-12.266s-21.938 4.69-29.459 12.263l-0.002 0.002-99.584 99.925v-325.547c0-23.564-19.103-42.667-42.667-42.667s-42.667 19.103-42.667 42.667v0 325.547l-99.584-99.968c-7.507-7.305-17.772-11.81-29.089-11.81-23.046 0-41.728 18.682-41.728 41.728 0 11.38 4.556 21.697 11.943 29.225l-0.006-0.007 171.691 172.331c7.523 7.576 17.945 12.266 29.461 12.266s21.938-4.69 29.459-12.263l0.002-0.002 171.648-172.373c7.524-7.579 12.175-18.020 12.175-29.547 0-11.506-4.633-21.929-12.135-29.507l0.003 0.003z"],"isMulticolor":false,"isMulticolor2":false,"tags":["Icon---Download"],"defaultCode":59656,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":9,"order":73,"ligatures":"","prevSize":32,"code":59656,"name":"Icon---Download"},"setIdx":0,"setId":2,"iconIdx":8},{"icon":{"paths":["M476.757 675.2l-248.747-248.405c-9.029-8.975-14.618-21.403-14.618-35.136s5.589-26.161 14.615-35.134l0.002-0.002 0.512-0.597c9-9.026 21.448-14.611 35.2-14.611s26.2 5.585 35.199 14.61l212.908 212.822 213.333-212.821c8.968-9.027 21.389-14.614 35.115-14.614s26.147 5.587 35.112 14.612l0.003 0.003 0.683 0.597c9.029 8.975 14.618 21.403 14.618 35.136s-5.589 26.161-14.615 35.134l-0.002 0.002-248.405 247.851-0.256 0.597c-2.879 2.74-6.079 5.193-9.523 7.284l-0.248 0.14c-7.339 4.551-16.242 7.248-25.774 7.248-13.749 0-26.187-5.611-35.15-14.668l-0.004-0.004z"],"isMulticolor":false,"isMulticolor2":false,"tags":["Icon-Chevron-small"],"defaultCode":59657,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":10,"order":74,"ligatures":"","prevSize":32,"code":59657,"name":"Icon-Chevron-small"},"setIdx":0,"setId":2,"iconIdx":9},{"icon":{"paths":["M298.17 555.448c-23.525 0-42.596-19.071-42.596-42.596s19.071-42.596 42.596-42.596v0h425.957c23.525 0 42.596 19.071 42.596 42.596s-19.071 42.596-42.596 42.596v0z"],"width":1023,"isMulticolor":false,"isMulticolor2":false,"tags":["Icon-Minimize"],"defaultCode":59658,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":11,"order":75,"ligatures":"","prevSize":32,"code":59658,"name":"Icon-Minimize"},"setIdx":0,"setId":2,"iconIdx":10},{"icon":{"paths":["M255.403 873.301c-9.354-0.001-17.301-6.022-20.179-14.399l-0.045-0.15-28.672-85.333-85.333-28.672c-8.525-2.925-14.544-10.871-14.544-20.224s6.018-17.299 14.394-20.179l0.15-0.045 85.333-28.544 28.672-85.333c2.923-8.528 10.87-14.548 20.224-14.549v0c0.012 0 0.026 0 0.041 0 9.355 0 17.303 6.021 20.181 14.399l0.045 0.15 28.501 85.333 85.333 28.672c8.525 2.925 14.544 10.871 14.544 20.224s-6.018 17.299-14.394 20.179l-0.15 0.045-85.333 28.672-28.501 85.333c-2.923 8.528-10.871 14.549-20.226 14.549-0.014 0-0.029 0-0.043 0h0.002zM625.621 860.971c-0.008 0-0.017 0-0.026 0-9.371 0-17.33-6.041-20.196-14.442l-0.045-0.15-75.093-224.555-224.64-75.093c-8.525-2.925-14.544-10.871-14.544-20.224s6.018-17.299 14.394-20.179l0.15-0.045 224.683-75.221 75.093-224.555c2.906-8.559 10.869-14.607 20.245-14.607s17.34 6.049 20.201 14.457l0.044 0.15 75.093 224.555 224.555 75.221c8.525 2.925 14.544 10.871 14.544 20.224s-6.018 17.299-14.394 20.179l-0.15 0.045-224.512 75.093-75.093 224.555c-2.91 8.551-10.87 14.592-20.24 14.592-0.024 0-0.049 0-0.073 0h0.004zM255.403 446.635c-9.354-0.001-17.301-6.022-20.179-14.399l-0.045-0.15-28.672-85.333-85.333-28.672c-8.525-2.925-14.544-10.871-14.544-20.224s6.018-17.299 14.394-20.179l0.15-0.045 85.333-28.416 28.672-85.333c2.943-8.492 10.874-14.48 20.203-14.48s17.26 5.988 20.157 14.331l0.045 0.15 28.672 85.333 85.333 28.544c8.525 2.925 14.544 10.871 14.544 20.224s-6.018 17.299-14.394 20.179l-0.15 0.045-85.333 28.672-28.501 85.333c-2.91 8.551-10.87 14.592-20.24 14.592-0.009 0-0.019 0-0.028 0h0.001z"],"isMulticolor":false,"isMulticolor2":false,"tags":["Icon-AI"],"defaultCode":59659,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":12,"order":76,"ligatures":"","prevSize":32,"code":59659,"name":"Icon-AI"},"setIdx":0,"setId":2,"iconIdx":11},{"icon":{"paths":["M853.333 469.333h-298.667v-298.667c0-23.564-19.103-42.667-42.667-42.667s-42.667 19.103-42.667 42.667v0 298.667h-298.667c-23.564 0-42.667 19.103-42.667 42.667s19.103 42.667 42.667 42.667v0h298.667v298.667c0 23.564 19.103 42.667 42.667 42.667s42.667-19.103 42.667-42.667v0-298.667h298.667c23.564 0 42.667-19.103 42.667-42.667s-19.103-42.667-42.667-42.667v0z"],"isMulticolor":false,"isMulticolor2":false,"tags":["Icon-Add"],"defaultCode":59660,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":13,"order":77,"ligatures":"","prevSize":32,"code":59660,"name":"Icon-Add"},"setIdx":0,"setId":2,"iconIdx":12},{"icon":{"paths":["M85.333 512c0-235.641 191.025-426.667 426.667-426.667s426.667 191.025 426.667 426.667c0 235.641-191.025 426.667-426.667 426.667v0c-235.641 0-426.667-191.025-426.667-426.667v0zM170.667 512c0 188.513 152.82 341.333 341.333 341.333s341.333-152.82 341.333-341.333c0-188.513-152.82-341.333-341.333-341.333v0c-188.445 0.17-341.164 152.889-341.333 341.317v0.016zM469.333 682.667v-213.333c0-23.564 19.103-42.667 42.667-42.667s42.667 19.103 42.667 42.667v0 213.333c0 23.564-19.103 42.667-42.667 42.667s-42.667-19.103-42.667-42.667v0zM469.333 341.333c0-23.564 19.103-42.667 42.667-42.667s42.667 19.103 42.667 42.667c0 23.564-19.103 42.667-42.667 42.667v0c-23.564 0-42.667-19.103-42.667-42.667v0z"],"isMulticolor":false,"isMulticolor2":false,"tags":["Icon-Info"],"defaultCode":59661,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":14,"order":78,"ligatures":"","prevSize":32,"code":59661,"name":"Icon-Info"},"setIdx":0,"setId":2,"iconIdx":13},{"icon":{"paths":["M893.781 788.309l-343.723-595.328c-7.515-12.842-21.241-21.331-36.949-21.331s-29.435 8.489-36.84 21.13l-0.109 0.201-343.893 595.328c-3.594 6.12-5.716 13.479-5.716 21.333 0 23.564 19.102 42.666 42.665 42.667h687.616c23.564-0.001 42.666-19.103 42.666-42.667 0-7.855-2.123-15.214-5.825-21.535l0.109 0.201zM510.421 723.285v0c-23.564 0-42.667-19.103-42.667-42.667s19.103-42.667 42.667-42.667c23.564 0 42.667 19.103 42.667 42.667v0c0 23.564-19.103 42.667-42.667 42.667v0zM553.088 554.752c0 23.564-19.103 42.667-42.667 42.667s-42.667-19.103-42.667-42.667v0-126.72c0-23.564 19.103-42.667 42.667-42.667s42.667 19.103 42.667 42.667v0z"],"isMulticolor":false,"isMulticolor2":false,"tags":["Icon-Alert"],"defaultCode":59662,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":15,"order":79,"ligatures":"","prevSize":32,"code":59662,"name":"Icon-Alert"},"setIdx":0,"setId":2,"iconIdx":14},{"icon":{"paths":["M531.925 140.075l97.664 248.448 266.411 16.128c11.326 0.57 20.293 9.892 20.293 21.308 0 6.701-3.089 12.68-7.922 16.591l-0.040 0.031-206.037 169.643 67.029 258.432c0.468 1.667 0.737 3.582 0.737 5.559 0 11.782-9.551 21.333-21.333 21.333-4.337 0-8.372-1.294-11.739-3.518l0.080 0.049-225.067-143.573-225.067 143.573c-3.288 2.174-7.322 3.468-11.66 3.468-11.782 0-21.333-9.551-21.333-21.333 0-1.977 0.269-3.892 0.772-5.709l-0.035 0.15 67.029-258.432-206.123-169.643c-4.87-3.942-7.957-9.92-7.957-16.619 0-11.444 9.012-20.784 20.326-21.31l0.047-0.002 266.496-16.128 97.664-248.448c3.156-8.087 10.884-13.712 19.925-13.712s16.77 5.625 19.875 13.566l0.050 0.145z"],"isMulticolor":false,"isMulticolor2":false,"tags":["Icon-Star"],"defaultCode":59663,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":16,"order":80,"ligatures":"","prevSize":32,"code":59663,"name":"Icon-Star"},"setIdx":0,"setId":2,"iconIdx":15},{"icon":{"paths":["M713.387 483.285l-345.003-343.381c-7.402-7.353-17.602-11.898-28.864-11.898s-21.462 4.545-28.866 11.9l0.002-0.002c-7.39 7.338-11.965 17.503-11.965 28.736s4.574 21.398 11.962 28.734l0.002 0.002 316.117 314.624-316.117 314.667c-7.388 7.331-11.961 17.489-11.961 28.715s4.573 21.384 11.958 28.712l0.003 0.003c7.402 7.353 17.602 11.898 28.864 11.898s21.462-4.545 28.866-11.9l-0.002 0.002 345.003-343.339c7.39-7.338 11.965-17.503 11.965-28.736s-4.574-21.398-11.962-28.734l-0.002-0.002z"],"isMulticolor":false,"isMulticolor2":false,"tags":["Icon-Chevron-Large"],"defaultCode":59664,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":17,"order":81,"ligatures":"","prevSize":32,"code":59664,"name":"Icon-Chevron-Large"},"setIdx":0,"setId":2,"iconIdx":16},{"icon":{"paths":["M853.333 512c-23.564 0-42.667 19.103-42.667 42.667v0c0 0.107 0 0.233 0 0.359 0 164.949-133.718 298.667-298.667 298.667s-298.667-133.718-298.667-298.667c0-158.404 123.317-288.006 279.186-298.042l0.878-0.045-11.563 11.563c-8.036 7.769-13.026 18.647-13.026 30.69 0 23.564 19.103 42.667 42.667 42.667 12.043 0 22.92-4.989 30.678-13.014l85.345-85.345c7.718-7.721 12.492-18.386 12.492-30.165s-4.774-22.445-12.492-30.165l-85.333-85.333c-7.665-7.41-18.12-11.977-29.641-11.977-23.564 0-42.667 19.103-42.667 42.667 0 11.521 4.567 21.976 11.989 29.653l13.343 13.343c-204.463 9.384-366.677 177.431-366.677 383.364 0 211.936 171.808 383.744 383.744 383.744s383.744-171.808 383.744-383.744c0-0.077 0-0.153 0-0.23v0.012c0-23.564-19.103-42.667-42.667-42.667v0z"],"isMulticolor":false,"isMulticolor2":false,"tags":["Icon-Cycle"],"defaultCode":59665,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":18,"order":82,"ligatures":"","prevSize":32,"code":59665,"name":"Icon-Cycle"},"setIdx":0,"setId":2,"iconIdx":17},{"icon":{"paths":["M512 85.333c-235.641 0-426.667 191.025-426.667 426.667s191.025 426.667 426.667 426.667c235.641 0 426.667-191.025 426.667-426.667v0c0-235.641-191.025-426.667-426.667-426.667v0zM697.557 697.557v0c-7.721 7.718-18.386 12.492-30.165 12.492s-22.445-4.774-30.165-12.492l-125.227-125.184-125.483 125.483c-7.665 7.41-18.12 11.977-29.641 11.977-23.564 0-42.667-19.103-42.667-42.667 0-11.521 4.567-21.976 11.989-29.653l125.471-125.513-125.483-125.483c-7.41-7.665-11.977-18.12-11.977-29.641 0-23.564 19.103-42.667 42.667-42.667 11.521 0 21.976 4.567 29.653 11.989l125.471 125.471 125.227-125.184c7.665-7.41 18.12-11.977 29.641-11.977 23.564 0 42.667 19.103 42.667 42.667 0 11.521-4.567 21.976-11.989 29.653l-125.172 125.172 125.184 125.227c7.718 7.721 12.492 18.386 12.492 30.165s-4.774 22.445-12.492 30.165v0z"],"isMulticolor":false,"isMulticolor2":false,"tags":["Icon-Cross-Solid"],"defaultCode":59666,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":19,"order":83,"ligatures":"","prevSize":32,"code":59666,"name":"Icon-Cross-Solid"},"setIdx":0,"setId":2,"iconIdx":18},{"icon":{"paths":["M512 85.333c-235.641 0-426.667 191.025-426.667 426.667s191.025 426.667 426.667 426.667c235.641 0 426.667-191.025 426.667-426.667v0c0-235.641-191.025-426.667-426.667-426.667v0zM442.411 716.459l-128.981-88.704c-11.602-7.75-19.14-20.792-19.14-35.594 0-23.564 19.103-42.667 42.667-42.667 9.33 0 17.96 2.995 24.982 8.075l-0.125-0.086 94.080 64.896 200.832-286.805c7.812-11.102 20.57-18.267 35.002-18.267 9.275 0 17.859 2.96 24.859 7.986l-0.128-0.087c10.981 7.824 18.057 20.513 18.057 34.854 0 9.173-2.895 17.671-7.821 24.628l0.089-0.
1133-225.28 321.152c-7.818 11.045-20.543 18.167-34.932 18.167-9.031 0-17.406-2.806-24.302-7.593l0.141 0.092z"],"isMulticolor":false,"isMulticolor2":false,"tags":["Icon_Tick-Solid"],"defaultCode":59667,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":20,"order":84,"ligatures":"","prevSize":32,"code":59667,"name":"Icon_Tick-Solid"},"setIdx":0,"setId":2,"iconIdx":19},{"icon":{"paths":["M853.333 810.667h-42.667v-42.667c-0.039-108.256-57.75-203.023-144.076-255.252l-1.332-0.748c87.664-52.971 145.378-147.742 145.408-255.996v-42.671h42.667c23.564 0 42.667-19.103 42.667-42.667s-19.103-42.667-42.667-42.667v0h-682.667c-23.564 0-42.667 19.103-42.667 42.667s19.103 42.667 42.667 42.667v0h42.667v42.667c0.030 108.258 57.744 203.029 144.075 255.252l1.333 0.748c-87.658 52.977-145.369 147.744-145.408 255.994v42.673h-42.667c-23.564 0-42.667 19.103-42.667 42.667s19.103 42.667 42.667 42.667v0h682.667c23.564 0 42.667-19.103 42.667-42.667s-19.103-42.667-42.667-42.667v0zM725.333 213.333v42.667c-0.032 30.892-6.673 60.224-18.586 86.67l0.538-1.337h-390.528c-11.388-25.106-18.044-54.437-18.091-85.317v-42.684zM576.811 672.939c-15.743-18.289-38.922-29.798-64.789-29.798s-49.046 11.509-64.695 29.687l-0.094 0.112-118.059 137.728h-30.507v-42.667c0.203-102.921 73.141-188.748 170.136-208.827l1.384-0.239c1.751 21.711 19.802 38.667 41.813 38.667s40.062-16.956 41.804-38.519l0.010-0.149c98.379 20.318 171.317 106.145 171.52 209.044v42.689h-30.464z"],"isMulticolor":false,"isMulticolor2":false,"tags":["Icon-Hourglass"],"defaultCode":59668,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":21,"order":85,"ligatures":"","prevSize":32,"code":59668,"name":"Icon-Hourglass"},"setIdx":0,"setId":2,"iconIdx":20},{"icon":{"paths":["M892.715 154.368c-4.423-10.484-12.598-18.66-22.803-22.977l-0.28-0.105c-4.814-2.051-10.412-3.256-16.288-3.285h-170.678c-23.564 0-42.667 19.103-42.667 42.667s19.103 42.667 42.667 42.667v0h67.669l-281.003 281.003c-7.41 7.665-11.977 18.12-11.977 29.641 0 23.564 19.103 42.667 42.667 42.667 11.521 0 21.976-4.567 29.653-11.989l280.991-280.991v67.669c0 23.564 19.103 42.667 42.667 42.667s42.667-19.103 42.667-42.667v0-170.667c-0.006-5.885-1.214-11.486-3.39-16.574l0.105 0.276zM770.005 469.333h-3.968c-22.465 0-40.68 18.2-40.704 40.659v300.674h-512v-512h300.672c22.457 0 40.661-18.205 40.661-40.661v-4.011c0-22.457-18.205-40.661-40.661-40.661v0h-345.301c-22.465 0-40.68 18.2-40.704 40.659v599.341c0 23.564 19.103 42.667 42.667 42.667v0h599.339c22.457 0 40.661-18.205 40.661-40.661v0-345.344c0-22.457-18.205-40.661-40.661-40.661v0z"],"isMulticolor":false,"isMulticolor2":false,"tags":["Icon_External"],"defaultCode":59669,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":22,"order":86,"ligatures":"","prevSize":32,"code":59669,"name":"Icon_External"},"setIdx":0,"setId":2,"iconIdx":21},{"icon":{"paths":["M810.667 213.333h-597.333c-47.070 0.145-85.188 38.264-85.333 85.319v426.681c0.145 47.070 38.264 85.188 85.319 85.333h597.347c47.070-0.145 85.188-38.264 85.333-85.319v-426.681c-0.145-47.070-38.264-85.188-85.319-85.333h-0.014zM750.933 298.667l-238.933 238.933-238.933-238.933zM213.333 725.333v-366.933l238.933 238.933c15.052 15.789 36.246 25.606 59.733 25.606s44.681-9.818 59.702-25.573l0.031-0.033 238.933-238.933v366.933z"],"isMulticolor":false,"isMulticolor2":false,"tags":["Icon_Email"],"defaultCode":59670,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":23,"order":87,"ligatures":"","prevSize":32,"code":59670,"name":"Icon_Email"},"setIdx":0,"setId":2,"iconIdx":22},{"icon":{"paths":["M512 213.333c117.762 0.146 213.188 95.571 213.333 213.319v0.014c0 170.965-147.541 327.211-213.333 374.741-65.792-47.488-213.333-203.733-213.333-374.741 0.146-117.762 95.571-213.188 213.319-213.333h0.014zM512 128v0c-164.949 0-298.667 133.718-298.667 298.667v0 0c0 256 256 469.333 298.667 469.333v0c42.667 0 298.667-213.333 298.667-469.333v0c0-164.949-133.718-298.667-298.667-298.667v0zM597.333 426.667c0 47.128-38.205 85.333-85.333 85.333s-85.333-38.205-85.333-85.333c0-47.128 38.205-85.333 85.333-85.333s85.333 38.205 85.333 85.333z"],"isMulticolor":false,"isMulticolor2":false,"tags":["Icon-Pin"],"defaultCode":59671,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":24,"order":88,"ligatures":"","prevSize":32,"code":59671,"name":"Icon-Pin"},"setIdx":0,"setId":2,"iconIdx":23}
1,{"icon":{"paths":["M810.667 128h-426.667c-47.128 0-85.333 38.205-85.333 85.333v0 85.333h-85.333c-47.128 0-85.333 38.205-85.333 85.333v0 426.667c0 47.128 38.205 85.333 85.333 85.333v0h426.667c47.128 0 85.333-38.205 85.333-85.333v0-85.333h85.333c47.128 0 85.333-38.205 85.333-85.333v0-426.667c0-47.128-38.205-85.333-85.333-85.333v0zM640 810.667h-426.667v-426.667h426.667v426.667zM725.333 640v-256c0-47.128-38.205-85.333-85.333-85.333v0h-256v-85.333h426.667v426.667z"],"isMulticolor":false,"isMulticolor2":false,"tags":["Icon_Copy"],"defaultCode":59672,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":25,"order":89,"ligatures":"","prevSize":32,"code":59672,"name":"Icon_Copy"},"setIdx":0,"setId":2,"iconIdx":24},{"icon":{"paths":["M718.507 128h-413.013c-50.899 0-92.16 41.261-92.16 92.16v0 583.68c0 50.899 41.261 92.16 92.16 92.16v0h413.013c50.899 0 92.16-41.261 92.16-92.16v0-583.68c0-50.899-41.261-92.16-92.16-92.16v0zM725.333 803.84c0 3.77-3.056 6.827-6.827 6.827v0h-413.013c-3.77 0-6.827-3.056-6.827-6.827v0-583.68c0-3.77 3.056-6.827 6.827-6.827v0h413.013c3.77 0 6.827 3.056 6.827 6.827v0zM576 256h-128c-11.782 0-21.333 9.551-21.333 21.333v0c0 11.782 9.551 21.333 21.333 21.333v0h128c11.782 0 21.333-9.551 21.333-21.333v0c0-11.782-9.551-21.333-21.333-21.333v0zM554.667 725.333c0 23.564-19.103 42.667-42.667 42.667s-42.667-19.103-42.667-42.667c0-23.564 19.103-42.667 42.667-42.667s42.667 19.103 42.667 42.667z"],"isMulticolor":false,"isMulticolor2":false,"tags":["Icon_Phone"],"defaultCode":59673,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":26,"order":90,"ligatures":"","prevSize":32,"code":59673,"name":"Icon_Phone"},"setIdx":0,"setId":2,"iconIdx":25},{"icon":{"paths":["M883.2 823.467l-179.2-183.467c39.938-51.219 64.035-116.493 64.035-187.395 0-1.619-0.013-3.236-0.038-4.849l0.003 0.243c-1.319-176.198-143.802-318.681-319.874-319.999l-0.126-0.001c-176.198 1.319-318.681 143.802-319.999 319.874l-0.001 0.126c0 176.731 143.269 320 320 320 72.401 0 139.185-24.044 192.805-64.583l-0.805 0.583 183.467 183.467c7.746 7.064 18.094 11.39 29.453 11.39 24.177 0 43.776-19.599 43.776-43.776 0-12.42-5.172-23.632-13.48-31.599l-0.015-0.015zM213.333 448c0-129.603 105.064-234.667 234.667-234.667s234.667 105.064 234.667 234.667c0 129.603-105.064 234.667-234.667 234.667v0c-129.129-1.171-233.495-105.538-234.666-234.555l-0.001-0.112z"],"isMulticolor":false,"isMulticolor2":false,"tags":["Icon-Search"],"defaultCode":59674,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":27,"order":91,"ligatures":"","prevSize":32,"code":59674,"name":"Icon-Search"},"setIdx":0,"setId":2,"iconIdx":26},{"icon":{"paths":["M473.6 119.467c-7.889 7.529-12.794 18.125-12.794 29.867s4.905 22.338 12.777 29.851l0.016 0.015 285.867 290.133h-588.8c-23.564 0-42.667 19.103-42.667 42.667s19.103 42.667 42.667 42.667v0h588.8l-285.867 285.867c-7.465 7.613-12.072 18.051-12.072 29.565 0 23.329 18.911 42.24 42.24 42.24 11.514 0 21.952-4.607 29.572-12.078l358.393-358.393c7.889-7.529 12.794-18.125 12.794-29.867s-4.905-22.338-12.777-29.851l-0.016-0.015-358.4-358.4c-7.024-10.057-18.543-16.553-31.58-16.553-11.111 0-21.12 4.719-28.132 12.262l-0.022 0.024z"],"isMulticolor":false,"isMulticolor2":false,"tags":["Icon-Arrow"],"defaultCode":59675,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":28,"order":92,"ligatures":"","prevSize":32,"code":59675,"name":"Icon-Arrow"},"setIdx":0,"setId":2,"iconIdx":27},{"icon":{"paths":["M470.997 555.435v-137.984c-0.019-1.325-0.030-2.889-0.030-4.455 0-12.047 0.646-23.942 1.906-35.654l-0.127 1.453 1.408-13.227-13.355 1.365c-10.196 1.121-22.019 1.76-33.991 1.76-2.090 0-4.176-0.019-6.258-0.058l0.313 0.005h-113.152v-18.773c-0.022-1.407-0.035-3.068-0.035-4.732 0-14.593 0.974-28.959 2.861-43.036l-0.18 1.645 1.536-12.032h-81.493l1.877 12.288c1.633 11.392 2.565 24.549 2.565 37.922 0 3.499-0.064 6.983-0.19 10.451l0.015-0.501v17.067h-108.16c-0.697 0.005-1.521 0.008-2.345 0.008-13.122 0-26.074-0.731-38.816-2.155l1.566 0.142-12.8-1.323 1.195 12.8c1.15 10.572 1.806 22.834 1.806 35.25 0 1.108-0.005 2.214-0.016 3.319l0.001-0.169v138.453c0.028 1.612 0.045 3.513 0.045 5.417 0 13.578-0.822 26.964-2.42 40.111l0.157-1.581-1.451 11.947h75.904v-27.179h85.333v81.067c0.035 1.921 0.055 4.187 0.055 6.458 0 17.007-1.121 33.753-3.293 50.167l0.208-1.926-1.621 12.075h82.347l-1.707-12.16c-2.016-13.986-3.166-30.137-3.166-46.557 0-2.833 0.034-5.658 0.102-8.474l-0.008 0.418v-81.067h90.965v27.179h76.245l-1.664-12.117c-1.412-10.997-2.217-23.718-2.217-36.628 0-2.513 0.031-5.020 0.091-7.518l-0.007 0.37zM307.712 437.931h90.837v76.8h-90.837zM234.667 514.901h-85.333v-76.8h85.333zM940.971 654.933c-62.345-12.444-117.413-37.182-164.913-71.701l1.201 0.832c17.273-20.413 32.961-43.247 46.248-67.579l1.069-2.138c13.878-24.516 25.549-52.89 33.548-82.766l0.585-2.568h15.957c1.254-0.012 2.735-0.019 4.219-0.019 17.542 0 34.858 0.968 51.898 2.853l-2.1-0.189 11.819 1.323v-75.221l-12.075 1.621c-14.847 1.985-32.013 3.118-49.443 3.118-2.118 0-4.232-0.017-6.342-0.
1050l0.318 0.004h-115.883v-21.845c-0.016-0.8-0.025-1.744-0.025-2.689 0-10.421 1.081-20.589 3.137-30.398l-0.168 0.96 2.773-12.8h-83.883l2.816 12.8c1.893 8.847 2.976 19.012 2.976 29.43 0 1.084-0.012 2.165-0.035 3.243l0.003-0.161v21.333h-109.696c-1.736 0.028-3.784 0.043-5.835 0.043-17.391 0-34.518-1.132-51.311-3.327l1.978 0.211-12.075-1.451v75.221l11.819-1.323c15.29-1.691 33.020-2.655 50.975-2.655 1.085 0 2.168 0.004 3.251 0.011l-0.167-0.001h13.568c10.536 34.22 23.84 63.901 40.231 91.536l-1.063-1.936c14.606 24.912 30.216 46.459 47.653 66.367l-0.421-0.49c-46.739 34.718-102.125 60.792-162.194 74.604l-2.969 0.575-15.659 4.267 10.155 12.8c11.043 13.136 20.278 28.29 27.022 44.729l0.413 1.138 3.797 9.173 9.429-3.157c38.405-12.307 70.792-25.722 101.836-41.408l-3.959 1.814c31.924-16.741 59.398-34.881 84.859-55.418l-0.976 0.762c50.64 40.997 110.378 73.132 175.498 92.9l3.702 0.966 9.429 3.115 3.755-9.259c6.97-19.334 16.984-35.982 29.622-50.252l-0.14 0.161 11.349-13.397zM782.677 429.056c-6.947 23.244-15.798 43.427-26.753 62.235l0.726-1.35c-10.107 17.568-20.744 32.719-32.576 46.833l0.406-0.497c-12.224-13.611-23.485-28.631-33.356-44.601l-0.777-1.351c-11-17.58-20.696-37.827-28.043-59.168l-0.629-2.102z"],"isMulticolor":false,"isMulticolor2":false,"tags":["Icon---Lang"],"defaultCode":59676,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":29,"order":93,"ligatures":"","prevSize":32,"code":59676,"name":"Icon---Lang"},"setIdx":0,"setId":2,"iconIdx":28},{"icon":{"paths":["M512 85.333c-235.641 0-426.667 191.025-426.667 426.667s191.025 426.667 426.667 426.667c235.641 0 426.667-191.025 426.667-426.667v0c0-235.641-191.025-426.667-426.667-426.667v0zM512 853.333c-188.513 0-341.333-152.82-341.333-341.333s152.82-341.333 341.333-341.333c188.513 0 341.333 152.82 341.333 341.333v0c-0.218 188.425-152.908 341.115-341.312 341.333h-0.021zM640 469.333h-85.333v-170.667c0-23.564-19.103-42.667-42.667-42.667s-42.667 19.103-42.667 42.667v0 213.333c0 23.564 19.103 42.667 42.667 42.667v0h128c23.564 0 42.667-19.103 42.667-42.667s-19.103-42.667-42.667-42.667v0z"],"isMulticolor":false,"isMulticolor2":false,"tags":["Icon-Clock"],"defaultCode":59677,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":30,"order":94,"ligatures":"","prevSize":32,"code":59677,"name":"Icon-Clock"},"setIdx":0,"setId":2,"iconIdx":29},{"icon":{"paths":["M879.189 772.821c53.977-36.781 89.453-97.25 91.386-166.11l0.006-0.29c0-121.685-118.357-220.288-264.533-220.288s-264.533 98.603-264.533 220.288 118.357 220.331 264.533 220.331c0.057 0 0.124 0 0.192 0 30.676 0 60.321-4.41 88.337-12.632l-2.214 0.557 7.723-1.195c5.224 0.152 10.052 1.721 14.15 4.334l-0.112-0.067 57.899 33.408 5.077 1.664c4.878 0 8.832-3.954 8.832-8.832v0l-1.408
1-6.443-11.947-44.416-0.939-5.675c-0.001-0.065-0.001-0.141-0.001-0.217 0-5.951 2.964-11.209 7.497-14.38l0.057-0.038zM410.027 142.677c-175.189 0-317.269 118.357-317.269 264.533 2.23 83.064 44.818 155.726 108.792 199.339l0.861 0.554c5.372 3.84 8.841 10.045 8.875 17.061v0.005l-1.109 6.699-14.293 53.333-1.707 7.723c0 0.013 0 0.028 0 0.043 0 5.844 4.737 10.581 10.581 10.581 0 0 0 0 0 0v0l6.144-1.963 69.419-40.107c4.861-3.016 10.748-4.82 17.055-4.864h0.012l9.301 1.408c30.95 9.181 66.511 14.464 103.306 14.464 0.102 0 0.203 0 0.305 0h-0.016l17.408-0.427c-6.723-19.302-10.625-41.551-10.667-64.706v-0.019c0-133.205 129.579-241.195 289.365-241.195l17.067 0.427c-23.936-126.293-155.136-222.891-313.429-222.891zM618.027 571.008c-19.464 0-35.243-15.779-35.243-35.243v0c0-0.013 0-0.028 0-0.043 0-19.44 15.76-35.2 35.2-35.2 0.015 0 0.030 0 0.045 0h-0.002c0.013 0 0.028 0 0.043 0 19.44 0 35.2 15.76 35.2 35.2 0 0.015 0 0.030 0 0.045v-0.002c0 19.464-15.779 35.243-35.243 35.243v0zM794.283 571.008c-19.464 0-35.243-15.779-35.243-35.243v0c0-0.013 0-0.028 0-0.043 0-19.44 15.76-35.2 35.2-35.2 0.015 0 0.030 0 0.045 0h-0.002c0.013 0 0.028 0 0.043 0 19.44 0 35.2 15.76 35.2 35.2 0 0.015 0 0.030 0 0.045v-0.002c0 19.449-15.754 35.218-35.198 35.243h-0.002zM304.256 364.757c-23.352 0-42.283-18.931-42.283-42.283v0c0-0.013 0-0.028 0-0.043 0-23.352 18.931-42.283 42.283-42.283v0c0.013 0 0.028 0 0.043 0 23.352 0 42.283 18.931 42.283 42.283 0 0.015 0 0.030 0 0.045v-0.002c0 23.352-18.931 42.283-42.283 42.283-0.015 0-0.030 0-0.045 0h0.002zM515.755 364.757c-23.352 0-42.283-18.931-42.283-42.283v0c0-0.013 0-0.028 0-0.043 0-23.352 18.931-42.283 42.283-42.283v0c0.013 0 0.028 0 0.043 0 23.376 0 42.325 18.95 42.325 42.325v0c-0.024 23.357-18.965 42.283-42.325 42.283 0 0 0 0 0 0v0z"],"isMulticolor":false,"isMulticolor2":false,"tags":["Icon-Social-WC"],"defaultCode":59678,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":31,"order":95,"ligatures":"","prevSize":32,"code":59678,"name":"Icon-Social-WC"},"setIdx":0,"setId":2,"iconIdx":30},{"icon":{"paths":["M735.957 691.84l-1.024-0.597zM261.248 606.635c-46.677 27.296-77.534 77.174-77.534 134.258 0 28.55 7.719 55.298 21.183 78.27l-0.396-0.731c27.284 46.685 77.159 77.55 134.243 77.55 28.558 0 55.311-7.725 78.285-21.199l-0.73 0.396 318.464-183.851-355.755-152.704zM792.619 377.045c-9.318-11.988-20.404-22.069-32.968-30.025l-0.525-0.311-342.827-197.888c-22.241-13.069-48.989-20.787-77.539-20.787-57.085 0-106.962 30.857-133.862 76.802l-0.396 0.732c-13.069 22.241-20.787 48.989-20.787 77.539 0 57.085 30.857 106.962 76.802 133.862l0.732 0.396 473.813 273.835 24.192-13.952c13.089-8.267 24.175-18.348 33.278-30.048l0.216-0.288c29.628-36.387 47.574-83.313 47.574-134.43 0-0.169 0-0.339-0.001-0.508v0.026c0-0.109 0-0.238 0-0.367 0-51.189-17.996-98.174-48.008-134.975l0.306 0.387z"],"isMulticolor":false,"isMulticolor2":false,"tags":["Icon-Social-YK"],"defaultCode":59679,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":32,"order":96,"ligatures":"","prevSize":32,"code":59679,"name":"Icon-Social-YK"},"setIdx":0,"setId":2,"iconIdx":31},{"icon":{"paths":["M897.109 341.76c-6.749-35.349-22.576-66.226-44.951-91.093l0.151 0.171c-17.664-16.299-54.272-20.352-336.683-20.352s-319.061 4.267-336.64 20.352c-22.282 24.66-38.11 55.557-44.575 89.765l-0.182 1.158c-8.527 48.875-13.487 105.247-13.653 162.747v0.155c0 153.6 27.093 229.419 62.421 255.232s332.8 18.987 332.8 18.987 297.301 6.784 332.8-18.987 62.421-101.845 62.421-255.232c-0.32-57.768-5.366-114.118-14.771-168.98l0.862 6.078zM435.541 649.899v-290.517l222.592 145.067z"],"isMulticolor":false,"isMulticolor2":false,"tags":["Icon-Social-YT"],"defaultCode":59680,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":33,"order":97,"ligatures":"","prevSize":32,"code":59680,"name":"Icon-Social-YT"},"setIdx":0,"setId":2,"iconIdx":32},{"icon":{"paths":["M756.096 885.675v-270.635c0-30.421 6.997-123.392-91.093-123.392s-91.989 122.667-91.989 122.667v271.317h-163.243v-525.653h157.184v74.496c42.155-69.12 121.771-108.075 242.901-74.496s110.933 240.725 110.933 240.725v284.971zM143.275 885.675v-525.653h163.755v525.653zM131.115 193.536c0.073-52.304 42.491-94.677 94.805-94.677 52.36 0 94.805 42.446 94.805 94.805s-42.446 94.805-94.805 94.805c-0.045 0-0.090 0-0.135 0h0.007c-0.025 0-0.056 0-0.086 0-52.242 0-94.592-42.35-94.592-94.592 0-0.12 0-0.24 0.001-0.36v0.018z"],"isMulticolor":false,"isMulticolor2":false,"tags":["Icon-Social-LI"],"defaultCode":59681,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":34,"order":98,"ligatures":"","prevSize":32,"code":59681,"name":"Icon-Social-LI"},"setIdx":0,"setId":2,"iconIdx":33},{"icon":{"paths":["M895.744 680.96h-85.333v-85.333c0-23.564-19.103-42.667-42.667-42.667s-42.667 19.103-42.667 42.667v0 85.333h-85.333c-23.564 0-42.667 19.103-42.667 42.667s19.103 42.667 42.667 42.667v0h85.333v85.333c0 23.564 19.103 42.667 42.667 42.667s42.667-19.103 42.667-42.667v0-85.333h85.333c23.564 0 42.667-19.103 42.667-42.667s-19.103-42.667-42.667-42.667v0zM675.456 593.792c2.318-5.092 3.669-11.043 3.669-17.309 0-17.309-10.307-32.21-25.117-38.902l-0.269-0.109c-9.708-4.076-22.26-8.44-35.094-12.142l-2.666-0.658c65.579-37.238 109.099-106.604 109.099-186.135 0-117.821-95.513-213.333-213.333-213.333s-213.333 95.513-213.333 213.333c0 79.531 43.52 148.897 108.044 185.583l1.054 0.552c-147.274 42.602-256.723 167.117-276.615 319.771l-0.206 1.935c-0.185 1.498-0.291 3.233-0.291 4.992 0 23.706 19.217 42.923 42.923 42.923 0.012 0 0.025 0 0.037 0h-0.002c0.021 0 0.046 0 0.071 0 21.479 0 39.213-16.031 41.89-36.781l0.022-0.211c19.022-148.278 144.45-261.707 296.371-261.707 27.679 0 54.479 3.765 79.915 10.812l-2.099-0.496c12.305 3.309 22.345 6.69 32.124 10.587l-1.958-0.689c4.992 2.245 10.821 3.552 16.955 3.552 17.303 0 32.176-10.404 38.705-25.297l0.106-0.271zM511.744 467.627c-70.692 0-128-57.308-128-128s57.308-128 128-128c70.692 0 128 57.308 128 128v0c0 70.692-57.308 128-128 128v0z"],"isMulticolor":false,"isMulticolor2":false,"tags":["Icon-Profile_Add"],"defaultCode":59682,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":35,"order":99,"ligatures":"","prevSize":32,"code":59682,"name":"Icon-Profile_Add"},"setIdx":0,"setId":2,"iconIdx":34},{"icon":{"paths":["M274.347 388.011h121.515v-112.64c-0.028-1.188-0.044-2.588-0.044-3.992 0-48.862 19.395-93.195 50.906-125.719l-0.046 0.048c55.893-55.893 131.072-50.517 238.165-41.259v125.909h-79.189c-0.586-0.017-1.276-0.027-1.968-0.027-17.957 0-34.385 6.549-47.025 17.388l0.097-0.081c-8.863 12.051-14.183 27.184-14.183 43.56 0 2.239 0.099 4.454 0.294 6.643l-0.020-0.283v90.453h137.259l-17.493 140.075h-120.533v360.747h-145.664v-361.472h-122.069z"],"isMulticolor":false,"isMulticolor2":false,"tags":["Icon-Social-FB"],"defaultCode":59683,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":36,"order":100,"ligatures":"","prevSize":32,"code":59683,"name":"Icon-Social-FB"},"setIdx":0,"setId":2,"iconIdx":35}
1,{"icon":{"paths":["M363.776 919.381c-34.602-0.728-67.435-7.379-97.827-18.973l1.998 0.669c-27.368-10.559-50.71-26.046-69.998-45.55l-0.018-0.018c-19.554-19.254-35.003-42.616-44.954-68.693l-0.443-1.323c-11.012-28.379-17.737-61.205-18.511-95.499l-0.006-0.33c-1.92-42.197-2.432-55.467-2.432-162.901s0.512-120.704 2.432-162.901c0.78-34.625 7.505-67.45 19.189-97.814l-0.671 1.985c20.863-53.278 62.185-94.67 114.049-115.152l1.364-0.475c28.474-10.948 61.399-17.601 95.785-18.299l0.3-0.005c41.899-1.92 55.467-2.432 162.688-2.432s120.917 0.512 162.901 2.432c34.613 0.687 67.451 7.437 97.773 19.225l-1.943-0.665c27.399 10.378 50.762 25.814 69.993 45.331l0.023 0.023c19.522 19.306 35.009 42.648 45.11 68.676l0.458 1.34c10.947 28.398 17.587 61.239 18.257 95.542l0.004 0.287c2.005 42.197 2.517 55.467 2.517 162.901s-0.512 120.704-2.517 162.901c-0.708 34.596-7.344 67.432-18.93 97.826l0.668-1.997c-21.057 53.197-62.387 94.527-114.213 115.104l-1.371 0.48c-28.394 10.933-61.228 17.585-95.523 18.299l-0.307 0.005c-42.24 1.963-55.467 2.475-162.901 2.475s-120.789-0.512-162.944-2.475zM367.189 205.099c-26.472 0.474-51.645 5.424-74.992 14.121l1.563-0.51c-17.837 6.743-33.045 16.793-45.551 29.508l-0.017 0.017c-12.726 12.488-22.72 27.711-29.037 44.722l-0.275 0.846c-8.421 21.713-13.382 46.837-13.568 73.095v0.078c-2.005 41.728-2.517 54.144-2.517 159.744s0.512 118.059 2.517 159.488c0.163 26.422 5.126 51.637 14.059 74.883l-0.491-1.453c6.538 17.81 16.558 32.976 29.322 45.323l0.033 0.032c12.504 12.862 27.712 23.025 44.714 29.577l0.854 0.29c21.804 8.244 47.006 13.133 73.315 13.396l0.114 0.001c41.685 1.963 54.101 2.475 159.488 2.475s118.016-0.512 159.744-2.475c26.398-0.292 51.567-5.179 74.866-13.896l-1.522 0.499c34.525-13.667 61.332-40.529 74.613-74.204l0.309-0.89c8.314-21.706 13.29-46.805 13.652-73.018l0.002-0.155c1.92-41.728 2.176-54.187 2.176-159.744s-0.256-117.803-2.176-159.488c-0.367-26.458-5.342-51.644-14.156-74.945l0.503 1.515c-6.654-17.862-16.703-33.083-29.459-45.545l-0.024-0.023c-12.509-12.754-27.722-22.809-44.714-29.242l-0.854-0.284c-21.706-8.189-46.791-13.139-72.969-13.608l-0.205-0.003c-41.771-1.707-54.187-2.219-159.744-2.219s-117.931 0.384-159.573 2.091zM323.755 526.763c0-112.071 90.852-202.923 202.923-202.923s202.923 90.852 202.923 202.923c0 112.071-90.852 202.923-202.923 202.923v0c-112.042-0.073-202.85-90.881-202.923-202.916v-0.007zM394.923 526.763c0 72.743 58.969 131.712 131.712 131.712s131.712-58.969 131.712-131.712c0-72.727-58.945-131.688-131.667-131.712h-0.002c-72.732 0.049-131.682 58.984-131.755 131.705v0.007zM690.261 315.819c0.122-26.040 21.26-47.102 47.317-47.102 26.133 0 47.317 21.185 47.317 47.317s-21.185 47.317-47.317 47.317c-0.135 0-0.27-0.001-0.404-0.002h0.021c-25.957-0.169-46.935-21.25-46.935-47.231 0-0.12 0-0.241 0.001-0.361v0.018z"],"isMulticolor":false,"isMulticolor2":false,"tags":["Icon-Social-IG"],"defaultCode":59684,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":37,"order":101,"ligatures":"","prevSize":32,"code":59684,"name":"Icon-Social-IG"},"setIdx":0,"setId":2,"iconIdx":36},{"icon":{"paths":["M512 0c282.77 0 512 229.23 512 512s-229.23 512-512 512c-282.77 0-512-229.23-512-512s229.23-512 512-512z"],"isMulticolor":false,"isMulticolor2":false,"tags":["uniE925"],"defaultCode":59685,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":38,"order":102,"ligatures":"","prevSize":32,"code":59685,"name":"uniE925"},"setIdx":0,"setId":2,"iconIdx":37},{"icon":{"paths":["M512 10.667c276.879 0 501.333 224.455 501.333 501.333s-224.455 501.333-501.333 501.333c-276.879 0-501.333-224.455-501.333-501.333s224.455-501.333 501.333-501.333z"],"isMulticolor":false,"isMulticolor2":false,"tags":["uniE926"],"defaultCode":59686,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":39,"order":103,"ligatures":"","prevSize":32,"code":59686,"name":"uniE926"},"setIdx":0,"setId":2,"iconIdx":38},{"icon":{"paths":["M494.421 593.557l-124.416-124.181c-4.516-4.491-7.311-10.708-7.311-17.579s2.795-13.088 7.31-17.578l0.001-0.001 0.256-0.384c4.526-4.44 10.732-7.18 17.579-7.18s13.053 2.74 17.583 7.184l-0.004-0.004 106.667 106.496 106.496-106.368c4.5-4.495 10.715-7.275 17.579-7.275s13.078 2.78 17.579 7.275v0l0.384 0.256c4.495 4.5 7.275 10.715 7.275 17.579s-2.78 13.078-7.275 17.579v0l-124.459 124.181c-4.498 4.5-10.713 7.284-17.579 7.284s-13.081-2.784-17.579-7.284v0z"],"isMulticolor":false,"isMulticolor2":false,"tags":["uniE927"],"defaultCode":59687,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":40,"order":104,"ligatures":"","prevSize":32,"code":59687,"name":"uniE927"},"setIdx":0,"setId":2,"iconIdx":39},{"icon":{"paths":["M660.907 341.333l-127.061 0.256c-12.038 0.048-21.785 9.788-21.845 21.818v0.006c0 0.025 0 0.055 0 0.086 0 11.971 9.704 21.675 21.675 21.675 0.030 0 0.060 0 0.090 0h-0.005l105.259-0.192-0.192 105.259c0.379 11.744 9.991 21.121 21.792 21.121s21.413-9.376 21.791-21.086l0.001-0.035 0.256-127.147c0-0.025 0-0.055 0-0.086 0-11.971-9.704-21.675-21.675-21.675-0.030 0-0.060 0-0.090 0h0.005zM363.093 682.667l127.061-0.256c12.038-0.048 21.785-9.788 21.845-21.818v-0.006c0-0.025 0-0.055 0-0.086 0-11.971-9.704-21.675-21.675-21.675-0.030 0-0.060 0-0.090 0h0.005l-105.259 0.192 0.192-105.259c-0.379-11.744-9.991-21.121-21.792-21.121s-21.413 9.376-21.791 21.086l-0.001 0.035-0.256 127.147c0 0.025 0 0.055 0 0.086 0 11.971 9.704 21.675 21.675 21.675 0.030 0 0.060 0 0.090 0h-0.005zM350.059 643.776l297.701-297.701 30.17 30.17-297.701 297.701-30.17-30.17z"],"isMulticolor":false,"isMulticolor2":false,"tags":["Button-Expand"],"defaultCode":59688,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":41,"order":105,"ligatures":"","prevSize":32,"code":59688,"name":"Button-Expand"},"setIdx":0,"setId":2,"iconIdx":40},{"icon":{"paths":["M786.901 529.749v302.549c0 11.782-9.551 21.333-21.333 21.333v0h-146.901c-11.782 0-21.333-9.551-21.333-21.333v0-213.632c0-11.782-9.551-21.333-21.333-21.333v0h-128c-11.782 0-21.333 9.551-21.333 21.333v0 213.717c0 11.782-9.551 21.333-21.333 21.333v0h-146.987c-11.782 0-21.333-9.551-21.333-21.333v0-302.677c0.003-6.57 2.975-12.445 7.647-16.357l0.033-0.027 252.629-210.389c3.664-3.053 8.421-4.906 13.611-4.906s9.947 1.853 13.645 4.934l-0.034-0.028 254.592 210.219c4.757 3.942 7.765 9.851 7.765 16.463 0 0.002 0 0.005 0 0.007v0zM889.429 465.365l-102.485-85.632v-194.56c-0.152-8.107-6.759-14.62-14.888-14.62-0.648 0-1.285 0.041-1.9
111 0.122l0.074-0.008h-89.899c-0.551-0.072-1.188-0.114-1.835-0.114-8.174 0-14.809 6.586-14.89 14.741v92.040l-115.2-96.171c-9.997-7.806-22.742-12.516-36.587-12.516s-26.59 4.71-36.719 12.616l0.133-0.1-340.651 284.203c-3.974 2.724-6.547 7.24-6.547 12.356 0 4.165 1.705 7.931 4.454 10.639l0.002 0.002 29.312 33.451c2.231 3.948 6.4 6.569 11.181 6.569 3.884 0 7.364-1.73 9.711-4.461l0.014-0.017 314.667-262.571c3.668-3.063 8.433-4.924 13.632-4.924s9.964 1.86 13.666 4.951l-0.034-0.028 316.715 262.613c2.488 2.336 5.846 3.771 9.54 3.771 4.671 0 8.806-2.296 11.338-5.82l0.028-0.042 29.312-33.451c2.795-2.697 4.531-6.476 4.531-10.66 0-5.128-2.607-9.647-6.568-12.304l-0.053-0.034z"],"isMulticolor":false,"isMulticolor2":false,"tags":["Icon-Home"],"defaultCode":59689,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":42,"order":106,"ligatures":"","prevSize":32,"code":59689,"name":"Icon-Home"},"setIdx":0,"setId":2,"iconIdx":41},{"icon":{"paths":["M429.312 646.784c-2.264-3.949-5.341-7.19-9.023-9.577l-0.108-0.065c-3.878-2.489-8.612-3.968-13.691-3.968-0.047 0-0.094 0-0.141 0h-124.153v-91.904h102.187c0.117 0.002 0.256 0.003 0.395 0.003 4.543 0 8.816-1.155 12.543-3.186l-0.137 0.069c4.34-2.345 7.828-5.779 10.174-9.942l0.066-0.127c2.072-3.567 3.57-7.737 4.242-12.178l0.024-0.196c0.464-3.181 0.729-6.855 0.729-10.59 0-0.267-0.001-0.534-0.004-0.8v0.041c-0.143-4.305-0.571-8.392-1.271-12.387l0.076 0.525c-0.598-4.6-1.997-8.765-4.060-12.513l0.092 0.182c-2.16-3.919-5.108-7.154-8.653-9.582l-0.094-0.061c-3.95-2.673-8.82-4.268-14.062-4.268-0.081 0-0.162 0-0.244 0.001h-102.004v-76.288h122.155c0.065 0.001 0.141 0.001 0.218 0.001 4.85 0 9.385-1.349 13.251-3.692l-0.114 0.064c4.498-2.809 8.029-6.793 10.214-11.525l0.068-0.165c1.354-2.989 2.436-6.469 3.076-10.102l0.039-0.266c0.626-3.459 0.983-7.44 0.983-11.505 0-0.185-0.001-0.37-0.002-0.555v0.028c0.005-0.324 0.009-0.707 0.009-1.090 0-4.137-0.36-8.189-1.051-12.128l0.061 0.418c-0.708-3.932-1.774-7.424-3.193-10.728l0.121 0.318c-4.003-9.233-13.039-15.574-23.555-15.574-0.044 0-0.088 0-0.132 0h-170.404c-8.723 0.035-16.743 3.016-23.124 7.999l0.084-0.063c-8.019 6.473-13.106 16.303-13.106 27.321 0 0.896 0.034 1.784 0.1 2.663l-0.007-0.117v320.341c-0.070 0.828-0.11 1.792-0.11 2.766 0 10.91 5.006 20.651 12.847 27.051l0.063 0.050c6.285 4.951 14.31 7.951 23.034 7.979h172.379c0.096 0.001 0.209 0.002 0.323 0.002 4.792 0 9.265-1.367 13.050-3.732l-0.104 0.060c4.184-2.534 7.544-6.045 9.828-10.227l0.070-0.141c2.106-3.694 3.609-8.014 4.245-12.611l0.021-0.189c0.489-3.277 0.769-7.060 0.769-10.908 0-0.14 0-0.281-0.001-0.421v0.022c0.002-0.219 0.003-0.478 0.003-0.737 0-3.924-0.28-7.782-0.822-11.556l0.051 0.432c-0.611-4.785-2.119-9.112-4.355-12.965l0.088 0.165zM821.76 326.144c-2.765-3.924-6.453-7.023-10.756-9.019l-0.166-0.069c-3.871-1.83-8.367-3.102-13.099-3.57l-0.17-0.014c-4.073-0.402-8.804-0.632-13.589-0.632s-9.516 0.229-14.183 0.678l0.594-0.046c-4.716 0.427-9.057 1.579-13.065 3.347l0.265-0.104c-4.69 1.965-8.573 5.066-11.425 8.97l-0.053 0.076c-2.828 3.937-4.523 8.854-4.523 14.166 0 0.015 0 0.029 0 0.044v-0.002 208.427c-1.664-3.328-3.456-6.613-5.205-9.941-4.821-9.216-9.899-18.688-15.061-28.331l-83.968-157.568c-3.346-6.379-6.686-11.766-10.36-16.897l0.291 0.428c-3.604-4.965-7.835-9.196-12.638-12.688l-0.162-0.112c-4.651-3.432-10.132-6.054-16.066-7.528l-0.318-0.067c-5.149-1.226-11.061-1.929-17.138-1.929-0.41 0-0.819 0.003-1.228 0.010l0.062-0.001h-23.509c-9.386 0.028-18.017 3.236-24.879 8.601l0.090-0.067c-8.34 6.63-13.64 16.775-13.64 28.157 0 0.797 0.026 1.587 0.077 2.371l-0.006-0.107v331.392c0 0.037 0 0.080 0 0.123 0 4.935 1.465 9.527 3.983 13.367l-0.057-0.093c3.066 4.762 7.543 8.385 12.835 10.311l0.178 0.057c3.073 1.099 6.69 1.98 10.425 2.486l0.284 0.031c4.274 0.593 9.212 0.932 14.229 0.932s9.955-0.339 14.793-0.995l-0.563 0.063c4.037-0.541 7.655-1.392 11.131-2.554l-0.422 0.122c10.178-3.361 17.409-12.75 17.493-23.841v-220.895l108.032 201.472c3.954 7.722 7.949 14.257 12.369 20.467l-0.337-0.499c3.867 5.546 8.287 10.332 13.277 14.452l0.121 0.097c4.88 4.006 10.685 7.088 17.032 8.88l0.333 0.080c5.11 1.385 10.977 2.181 17.030 2.181 0.283 0 0.566-0.002 0.848-0.005h15.744c4.574-0.026 8.974-0.726 13.121-2.005l-0.321 0.085c5.007-1.557 9.344-3.95 13.076-7.048l-0.062 0.050c4.049-3.378 7.317-7.547 9.591-12.283l0.095-0.219c2.347-4.915 3.717-10.681 3.717-16.768 0-0.225-0.002-0.449-0.006-0.673v0.034-331.349c0-0.055 0.001-0.12 0.001-0.186 0-5.116-1.597-9.86-4.319-13.759l0.052 0.078z"],"isMulticolor":false,"isMulticolor2":false,"tags":["Icon-Lang-En"],"defaultCode":59690,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":43,"order":107,"ligatures":"","prevSize":32,"code":59690,"name":"Icon-Lang-En"},"setIdx":0,"setId":2,"iconIdx":42},{"icon":{"paths":["M294.4 419.968l-0.301 0.088c-16.839 5.705-28.96 21.637-28.969 40.402v392.875c0 23.564 19.103 42.667 42.667 42.667h79.232c23.564 0 42.667-19.103 42.667-42.667v-94.464h164.608v94.464c0 23.564 19.103 42.667 42.667 42.667h79.147c23.564 0 42.667-19.103 42.667-42.667v-392.874c0-0.004 0-0.007 0-0.011 0-18.741-12.083-34.66-29.184-40.48l-190.165-63.445v-91.392h149.333c23.564 0 42.667-19.103 42.667-42.667v-51.797c0-23.564-19.103-42.667-42.667-42.667h-161.536c-23.564 0-42.667 19.103-42.667 42.667v185.856zM854.869 896v0c-22.724 0-41.149-18.41-41.173-41.128v-273.069c0.029-5.869 4.793-10.616 10.66
17-10.616 1.206 0 2.365 0.2 3.446 0.569l-0.075-0.022 60.971 20.309c4.277 1.47 7.296 5.458 7.296 10.151 0 0.001 0 0.003 0 0.004v0 252.885c-0.024 22.706-18.425 41.106-41.128 41.131h-0.002zM169.131 896v0c-22.706-0.024-41.106-18.425-41.131-41.128v-252.887c0-0.001 0-0.003 0-0.004 0-4.693 3.019-8.681 7.221-10.128l0.075-0.023 60.971-20.096c1.006-0.346 2.165-0.547 3.371-0.547 5.888 0 10.662 4.771 10.667 10.658v0 273.067c-0.049 22.703-18.464 41.088-41.173 41.088 0 0 0 0 0 0v0zM512 484.565c45.413 0.024 82.219 36.845 82.219 82.261 0 45.432-36.83 82.261-82.261 82.261-45.417 0-82.237-36.805-82.261-82.216v-0.002c0-45.455 36.849-82.304 82.304-82.304v0z"],"isMulticolor":false,"isMulticolor2":false,"tags":["Icon-Schools"],"defaultCode":59691,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":44,"order":108,"ligatures":"","prevSize":32,"code":59691,"name":"Icon-Schools"},"setIdx":0,"setId":2,"iconIdx":43},{"icon":{"paths":["M767.147 213.333l-254.123 0.512c-24.076 0.096-43.57 19.576-43.691 43.636v0.012c0 0.051 0 0.111 0 0.171 0 23.941 19.408 43.349 43.349 43.349 0.060 0 0.12 0 0.18 0h-0.009l210.517-0.384-0.384 210.517c0.758 23.489 19.981 42.242 43.584 42.242s42.826-18.753 43.582-42.172l0.002-0.069 0.512-254.293c0-0.051 0-0.111 0-0.171 0-23.941-19.408-43.349-43.349-43.349-0.060 0-0.12 0-0.18 0h0.009zM256.853 810.667l254.123-0.512c24.076-0.096 43.57-19.576 43.691-43.636v-0.012c0-0.051 0-0.111 0-0.171 0-23.941-19.408-43.349-43.349-43.349-0.060 0-0.12 0-0.18 0h0.009l-210.517 0.384 0.384-210.517c-0.758-23.489-19.981-42.242-43.584-42.242s-42.826 18.753-43.582 42.172l-0.002 0.069-0.512 254.293c0 0.051 0 0.111 0 0.171 0 23.941 19.408 43.349 43.349 43.349 0.060 0 0.12 0 0.18 0h-0.009zM248.448 715.221l474.723-474.723 60.34 60.34-474.723 474.723-60.34-60.34z"],"isMulticolor":false,"isMulticolor2":false,"tags":["Icon---Expand"],"defaultCode":59692,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":45,"order":109,"ligatures":"","prevSize":32,"code":59692,"name":"Icon---Expand"},"setIdx":0,"setId":2,"iconIdx":44},{"icon":{"paths":["M365.714 73.143c68.571 2.286 68.571 2.286 146.286 36.571 64 112 64 112 109.714 219.429 48.274-12.069 96.549-24.137 146.286-36.571 84.516 104.615 140.043 204.298 189.714 329.143 12.587 30.926 25.174 61.851 38.143 93.714 28.143 89.143 28.143 89.143 28.143 235.429-337.92 0-675.84 0-1024 0 41.162-246.974 41.162-246.974 102.857-375.571 12.917-27.178 25.834-54.356 39.143-82.357 13.483-27.649 26.966-55.299 40.857-83.786 13.483-28.356 26.966-56.713 40.857-85.929 99.535-207.606 99.535-207.606 142-250.071zM402.286 146.286c-24.137 72.411-48.274 144.823-73.143 219.429 90.514 18.103 90.514 18.103 182.857 36.571-24.137-84.48-48.274-168.96-73.143-256-12.069 0-24.137 0-36.571 0z"],"isMulticolor":false,"isMulticolor2":false,"tags":["bag"],"defaultCode":59693,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":46,"order":110,"ligatures":"","prevSize":32,"code":59693,"name":"bag"},"setIdx":0,"setId":2,"iconIdx":45},{"icon":{"paths":["M728.714-19.429c133.727 34.25 218.817 127.051 295.286 238.857 0 73.143 0 73.143-54.857 132.571-18.103 16.594-36.206 33.189-54.857 50.286 36.206 54.309 36.206 54.309 73.143 109.714 8.881 160.739-8.169 292.494-107.429 420.571-154.114 112.083-291.43 113.99-477.714 91.429-99.107-38.279-167.443-84.296-256-146.286-22.629-15.086-45.257-30.171-68.571-45.714-70.225-109.24-67.23-228.665-77.714-356.571 72.411 24.137 144.823 48.274 219.429 73.143-12.069-72.411-24.137-144.823-36.571-219.429 84.48 24.137 168.96 48.274 256 73.143-12.069-12.069-24.137-24.137-36.571-36.571-10.332-116.229-8.962-198.145 36.571-306.286 93.092-75.637 171.274-84.118 289.857-78.857zM694.857 109.714c36.571 73.143 36.571 73.143 36.571 73.143zM219.429 548.571c36.571 73.143 36.571 73.143 36.571 73.143zM585.143 548.571c0 60.343 0 120.686 0 182.857 12.069 0 24.137 0 36.571 0 0-60.343 0-120.686 0-182.857-12.069 0-24.137 0-36.571 0z"],"isMulticolor":false,"isMulticolor2":false,"tags":["dock"],"defaultCode":59694,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":47,"order":111,"ligatures":"","prevSize":32,"code":59694,"name":"dock"},"setIdx":0,"setId":2,"iconIdx":46},{"icon":{"paths":["M987.429 36.571c2.974 52.537 5.096 105.123 6.857 157.714 1.909 43.914 1.909 43.914 3.857 88.714-10.714 82.714-10.714 82.714-56.429 147.857-112.888 78.618-222.645 51.158-356.571 44.571-12.069 48.274-24.137 96.549-36.571 146.286 84.48 0 168.96 0 256 0-5.159 53.35-10.533 106.68-16 160-2.97 29.7-5.94 59.4-9 90-11.571 79.143-11.571 79.143-48.143 152.286-144.823 0-289.646 0-438.857 0-65.096-162.74-80.904-235.415-73.143-402.286 72.411 0 144.823 0 219.429 0 0-24.137 0-48.274 0-73.143-39.223 8.297-78.446 16.594-118.857 25.143-137.143 11.429-137.143 11.429-226.286-20.571-90.973-123.723-74.342-258.265-57.143-406.857 12.069-24.137 24.137-48.274 36.571-73.143 24.137 0 48.274 0 73.143 0 0 24.137 0 48.274 0 73.143 40.731 4.526 81.463 9.051 123.429 13.714 132.571 22.857 132.571 22.857 205.714 96 12.069-21.874 24.137-43.749 36.571-66.286 125.886-137.688 295.63-213.076 475.429-153.143zM512 329.143c36.571 109.714 36.571 109.714 36.571 109.714zM475.429 438.857c36.571 73.143 36.571 73.143 36.571 73.143z"],"isMulticolor":false,"isMulticolor2":false,"tags":["plant"],"defaultCode":59695,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":48,"order":112,"ligatures":"","prevSize":32,"code":59695,"name":"plant"},"setIdx":0,"setId":2,"iconIdx":47},{"icon":{"paths":["M1088 128h-64v-64c0-35.2-28.8-64-64-64h-896c-35.2 0-64 28.8-64 64v768c0 35.2 28.8 64 64 64h64v64c0 35.2 28.8 64 64 64h896c35.2 0 64-28.8 64-64v-768c0-35.2-28.8-64-64-64zM128 192v640h-63.886c-0.040-0.034-0.082-0.076-0.114-0.116v-767.77c0.034-0.040 0.076-0.082 0.114-0.114h895.77c0.040 0.034 0.082 0.076 0.116 0.116v63.884h-768c-35.2 0-64 28.8-64 64v0zM1088 959.884c-0.034 0.040-0.076 0.082-0.116 0.116h-895.77c-0.040-0.034-0.082-0.076-0.114-0.116v-767.77c0.034-0.040 0.076-0.082 0.114-0.114h895.77c0.040 0.034 0.082 0.076 0.116 0.116v767.768zM960 352c0 53.020-42.98 96-96 96s-96-42.98-96-96 42.98-96 96-96 96 42.98 96 96zM1024 896h-768v-128l224-384 256 320h64l224-192z"],"width":1152,"isMulticolor":false,"isMulticolor2":false,"tags":["images"],"defaultCode":59696,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":49,"order":113,"ligatures":"","prevSize":32,"code":59698,"name":"images1"},"setIdx":0,"setId":2,"iconIdx":48},{"icon":{"paths":["M896 128v832h-672c-53.026 0-96-42.98-96-96s42.974-96 96-96h608v-768h-640c-70.398 0-128 57.6-128 128v768c0 70.4 57.602 128 128 128h768v-896h-64zM224.056 832v0c-0.018 0.002-0.038 0-0.056 0-17.672 0-32 14.326-32 32s14.328 32 32 32c0.018 0 0.038-0.002 0.056-0.002v0.002h607.89v-64h-607.89z"],"isMulticolor":false,"isMulticolor2":false,"tags":["book"],"defaultCode":59697,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":50,"order":114,"ligatures":"","prevSize":32,"code":59699,"name":"book1"},"setIdx":0,"setId":2,"iconIdx":49},{"icon":{"paths":["M941.098 223.146l-314.624-149.888c-69.256-41.368-155.456-42.102-225.408-1.92l-318.164 151.808c-1.194 0.598-2.432 1.238-3.584 1.92-75.504 43.172-101.716 139.378-58.544 214.882 14.634 25.596 36.16 46.568 62.128 60.532l87.766 41.814v209.066c0.052 93.486 60.882 176.078 150.144 203.862 62.118 17.97 126.528 26.768 191.19 26.112 64.652 0.724 129.062-8 191.19-25.898 89.262-27.782 150.092-110.376 150.144-203.862v-209.366l85.334-40.79v351.914c0 23.564 19.102 42.666 42.666 42.666s42.666-19.102 42.666-42.666v-512c0.284-50.102-39.276-96.386-82.904-118.186zM768 751.5
174c0.022 55.918-36.258 105.38-89.6 122.154-54.092 15.456-110.146 22.958-166.4 22.272-56.254 0.686-112.308-6.816-166.4-22.272-53.342-16.776-89.622-66.236-89.6-122.154v-168.618l141.526 67.414c34.92 20.736 74.802 31.632 115.414 31.53 38.656 0.274 76.662-9.96 109.952-29.61l145.108-69.336v168.62zM904.534 423.466l-321.792 153.6c-44.868 26.126-100.482 25.386-144.64-1.92l-314.838-149.76c-35.094-18.924-48.202-62.714-29.278-97.806 6.4-11.868 15.996-21.706 27.7-28.402l319.786-152.746c44.882-26.068 100.466-25.33 144.64 1.92l314.624 149.888c23.138 12.848 37.614 37.11 37.93 63.574 0.042 25.068-12.866 48.38-34.132 61.652v0z"],"isMulticolor":false,"isMulticolor2":false,"tags":["graduation-cap"],"defaultCode":59698,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":51,"order":115,"ligatures":"","prevSize":32,"code":59700,"name":"graduation-cap"},"setIdx":0,"setId":2,"iconIdx":50},{"icon":{"paths":["M475.685 117.577c-11.048-22.144-33.539-37.088-59.52-37.088s-48.472 14.943-59.346 36.704l-0.174 0.384-350.464 743.168c-3.612 7.749-5.719 16.823-5.719 26.39 0 35.205 28.539 63.744 63.744 63.744 0.584 0 1.165-0.008 1.745-0.023l-0.085 0.002h894.866c35.13-0.441 63.439-29.022 63.439-64.215 0-9.485-2.056-18.489-5.747-26.592l0.164 0.402-218.258-498.651c-9.872-22.629-32.051-38.159-57.856-38.159s-47.984 15.53-57.698 37.754l-0.158 0.405-45.166 103.205zM402.944 139.52c2.64-4.665 7.569-7.761 13.221-7.761s10.58 3.097 13.181 7.686l0.039 0.075 111.909 237.166-46.665 30.939c-2.442 1.579-5.427 2.517-8.631 2.517s-6.188-0.938-8.694-2.555l0.063 0.038-30.903-20.517c-10.389-6.933-23.163-11.063-36.901-11.063s-26.511 4.13-37.146 11.217l0.246-0.154-30.903 20.517c-2.442 1.579-5.427 2.517-8.631 2.517s-6.188-0.938-8.694-2.555l0.063 0.038-36.571-24.247z"],"isMulticolor":false,"isMulticolor2":false,"tags":["bucket"],"defaultCode":59699,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":52,"order":116,"ligatures":"","prevSize":32,"code":59701,"name":"bucket"},"setIdx":0,"setId":2,"iconIdx":51},{"icon":{"paths":["M447.744 499.419c18.436 15.271 34.731 31.96 49.134 50.211l0.53 0.696c17.422-56.334 44.457-105.116 79.524-146.935l-0.53 0.649c-57.307-78.921-60.562-229.486 68.169-284.306 80.786-34.487 217.381-6.656 249.6-103.168 3.423-9.677 12.493-16.486 23.154-16.486 9.673 0 18.037 5.605 22.021 13.744l0.064 0.145c0.293 0.658 118.784 247.259-9.070 385.353-110.409 119.223-270.629 56.759-315.977 35.291-44.181 52.729-74.418 118.544-84.226 190.85l-0.217 1.955h238.848c13.496 0.041 24.425 10.971 24.466 24.462v0.004l-1.463 112.457-71.826 240.896c-2.678 10.89-12.347 18.846-23.878 18.871h-368.094c-11.021-0.086-20.323-7.349-23.468-17.342l-0.048-0.176-73.691-250.807v-103.973c0.041-13.496 10.971-24.425 24.462-24.466h224.772c-11.528-40.642-36.677-74.225-70.095-96.301l-0.634-0.393c-46.043 21.577-205.458 83.346-315.575-35.438-128-138.24-9.362-384.695-9.070-385.353 3.937-8.412 12.331-14.136 22.061-14.136 10.657 0 19.711 6.865 22.98 16.415l0.051 0.171c55.259 101.998 153.6 68.462 237.495 98.45 140.434 50.249 139.483 206.921 80.457 288.658z"],"isMulticolor":false,"isMulticolor2":false,"tags":["plants"],"defaultCode":59700,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":53,"order":117,"ligatures":"","prevSize":32,"code":59702,"
1name":"plants"},"setIdx":0,"setId":2,"iconIdx":52},{"icon":{"paths":["M554.021 536.43c21.738 26.161 34.93 60.098 34.93 97.115 0 84.207-68.263 152.47-152.47 152.47-47.189 0-89.371-21.438-117.339-55.105l-0.202-0.25c-51.054-66.523-112.347-373.029-112.347-373.029s296.229 112.421 347.429 178.798zM911.616 321.865l112.421-76.8-122.551-96.914c-43.259-88.057-132.115-147.696-234.947-148.151h-0.061c-1.368-0.027-2.981-0.042-4.598-0.042-136.579 0-247.667 109.138-250.812 244.961l-0.005 0.292c1.235 63.403 26.282 120.727 66.536 163.605l-0.122-0.131c0.001 0.033 0.001 0.072 0.001 0.111 0 2.767-2.243 5.010-5.010 5.010-0.039 0-0.078 0-0.117-0.001h0.006c49.254 22.755 91.465 51.872 127.887 86.957l-0.143-0.137c29.21 34.334 46.977 79.189 46.977 128.193 0 7.029-0.366 13.972-1.079 20.813l0.072-0.855c-4.944 55.561-31.549 104.092-71.202 137.703l-0.295 0.244c-34.367 28.626-78.982 46.002-127.655 46.002-1.845 0-3.683-0.025-5.516-0.075l0.27 0.006c-0.177 0.001-0.386 0.001-0.595 0.001-62.742 0-119.043-27.573-157.448-71.264l-0.202-0.234c-34.159-52.783-60.662-114.24-76.025-179.982l-0.775-3.936c-143.067 20.443-199.241-122.624-204.361-102.144-1.364 10.732-2.142 23.15-2.142 35.749s0.778 25.016 2.289 37.206l-0.147-1.458c51.2 490.423 924.672 715.191 965.486 81.774-1.74-94.69-38.301-180.517-97.373-245.519l0.275 0.308c16.576-17.368 30.302-37.64 40.309-59.943l0.542-1.35zM717.495 204.361c-28.277 0-51.2-22.923-51.2-51.2s22.923-51.2 51.2-51.2c28.277 0 51.2 22.923 51.2 51.2v0c0 28.277-22.923 51.2-51.2 51.2v0z"],"isMulticolor":false,"isMulticolor2":false,"tags":["dock1"],"defaultCode":59701,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":54,"order":118,"ligatures":"","prevSize":32,"code":59703,"name":"dock1"},"setIdx":0,"setId":2,"iconIdx":53},{"icon":{"paths":["M512 896c-200.533-145.067-298.667-285.867-298.667-426.667 0-166.4 132.267-298.667 298.667-298.667s298.667 132.267 298.667 298.667c0 140.8-98.133 281.6-298.667 426.667zM512 776.533c140.8-106.667 213.333-209.067 213.333-307.2 0-119.467-93.867-213.333-213.333-213.333s-213.333 93.867-213.333 213.333c0 98.133 72.533 200.533 213.333 307.2zM512 597.333c-72.533 0-128-55.467-128-128s55.467-128 128-128 128 55.467 128 128-55.467 128-128 128zM512 512c25.6 0 42.667-17.067 42.667-42.667s-17.067-42.667-42.667-42.667-42.667 17.067-42.667 42.667 17.067 42.667 42.667 42.667z"],"isMulticolor":false,"isMulticolor2":false,"tags":["map3"],"defaultCode":59703,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":55,"order":119,"ligatures":"","prevSize":32,"code":59704,"name":"map3"},"setIdx":0,"setId":2,"iconIdx":54},{"icon":{"paths":["M801.999 347.13c0-152.773-138.191-276.63-291.783-276.63s-287.992 123.856-287.992 276.63c0 141.658 284.775 480.848 284.775 480.848s295-334.456 295-480.848v0 0zM418.426 356.913c0-52.268 43.308-94.689 96.65-94.689 53.407 0 96.649 42.355 96.649 94.689s-43.305 94.694-96.649 94.694c-53.342-0.063-96.65-42.422-96.65-94.694v0 0zM607.621 836.249c0.825 2.466 1.267 5.050 1.267 7.575 0 26.137-43.308 47.35-96.653 47.35-53.341 0-96.649-21.213-96.649-47.35 0-2.586 0.443-5.109 1.262-7.575-58.519 10.859-97.911 31.377-97.911 54.925 0 34.909 86.55 63.127 193.299 63.127 106.755 0 193.303-28.218 193.303-63.127-0.064-23.548-39.457-44.066-97.918-54.925v0 0z"],"isMulticolor":false,"isMulticolor2":false,"tags":["map2"],"defaultCode":59704,"grid":0,"attrs":[]},"attrs":[],"properties":{"id":56,"order":120,"ligatures":"","prevSize":32,"code":59705,"name":"map2"},"setIdx":0,"setId":2,"iconIdx":55},{"icon":{"paths":["M832 768h-640c-35.345 0-64 28.655-64 64s28.655 64 64 64h640c35.345 0 64-28.655 64-64s-28.655-64-64-64z","M268.855 725.333h53.376c17.668 0 33.51-10.889 39.838-27.388l33.024-86.106h233.813l33.024 86.106c6.327 16.499 22.17 27.388 39.838 27.388h53.376c30.003 0 50.637-30.153 39.77-58.121l-198.959-512c-6.374-16.405-22.17-27.213-39.77-27.213h-88.363c-17.6 0-33.395 10.807-39.77 27.213l-198.959 512c-10.871 27.968 9.762 58.121 39.77 58.121zM512.009 299.507l71.676 191.159h-144.23l72.555-191.159z"],"attrs":[{},{}],"isMulticolor":false,"isMulticolor2":false,"grid":0,"tags":["DCI-Icon_Curriculum-ALevel"]},"attrs":[{},{}],"properties":{"order":121,"id":4,"name":"DCI-Icon_Curriculum-ALevel","prevSize":32,"code":59706},"setIdx":1,"setId":3,"iconIdx":0},{"icon":{"paths":["M853.333 128c-23.561 0-42.667 19.106-42.667 42.667v512h-597.333v-256c0-23.561-19.106-42.667-42.667-42.667s-42.667 19.106-42.667 42.667v426.667c0 23.561 19.106 42.667 42.667 42.667s42.667-19.106 42.667-42.667v-85.333h597.333v85.333c0 23.561 19.106 42.667 42.667 42.667s42.667-19.106 42.667-42.667v-682.667c0-23.561-19.106-42.667-42.667-42.667z","M768 469.333h-469.333c-23.561 0-42.667 19.102-42.667 42.667v128h512v-170.667z","M597.333 426.667h128c23.467 0 42.667-19.2 42.667-42.667s-19.2-42.667-42.667-42.667h-128c-23.467 0-42.667 19.2-42.667 42.667s19.2 42.667 42.667 42.667z"],"attrs":[{},{},{}],"isMulticolor":false,"isMulticolor2":false,"grid":0,"tags":["DCI-Icon_Curriculum-BoardingA"]},"attrs":[{},{},{}],"properties":{"order":122,"id":3,"name":"DCI-Icon_Curriculum-BoardingA","prevSize":32,"code":59707},"setIdx":1,"setId":3,"iconIdx":1}
1,{"icon":{"paths":["M810.667 426.667v-213.333c0-47.061-38.272-85.333-85.333-85.333h-426.667c-47.061 0-85.333 38.272-85.333 85.333v213.333c-47.061 0-85.333 38.272-85.333 85.333v341.333c0 23.561 19.106 42.667 42.667 42.667s42.667-19.106 42.667-42.667v-128h597.333v128c0 23.561 19.106 42.667 42.667 42.667s42.667-19.106 42.667-42.667v-341.333c0-47.061-38.272-85.333-85.333-85.333zM298.667 213.333h426.667l0.064 213.333h-85.397c0-70.583-57.417-128-128-128s-128 57.417-128 128h-85.333v-213.333zM554.667 426.667h-85.333c0-23.522 19.145-42.667 42.667-42.667s42.667 19.145 42.667 42.667zM213.333 640v-128h597.333l0.043 85.129c0 0.073-0.043 0.132-0.043 0.205v42.667h-597.333z"],"attrs":[{}],"isMulticolor":false,"isMulticolor2":false,"grid":0,"tags":["DCI-Icon_Curriculum-BoardingB"]},"attrs":[{}],"properties":{"order":123,"id":2,"name":"DCI-Icon_Curriculum-BoardingB","prevSize":32,"code":59708},"setIdx":1,"setId":3,"iconIdx":2},{"icon":{"paths":["M512 85.333c-235.639 0-426.667 191.027-426.667 426.667s191.027 426.667 426.667 426.667 426.667-191.027 426.667-426.667-191.023-426.667-426.667-426.667zM554.667 850.368v-39.71c0-23.561-19.098-42.662-42.662-42.662h-0.009c-23.561 0-42.662 19.098-42.662 42.662v39.71c-154.095-19.345-276.356-141.606-295.701-295.701h39.71c23.561 0 42.662-19.102 42.662-42.662v-0.009c0-23.561-19.098-42.662-42.662-42.662h-39.71c19.345-154.095 141.606-276.356 295.701-295.701v39.71c0 23.561 19.102 42.662 42.662 42.662h0.009c23.561 0 42.662-19.102 42.662-42.662v-39.71c154.095 19.345 276.356 141.606 295.701 295.701h-295.706c-23.561 0-42.662 19.102-42.662 42.662v0.009c0 23.561 19.102 42.662 42.662 42.662h77.474c-17.668 49.557-64.589 85.333-120.137 85.333-70.583 0-128-57.417-128-128s57.417-128 128-128c31.228 0 61.269 11.354 84.625 31.979 17.707 15.625 44.625 13.875 60.228-3.729 15.603-17.668 13.918-44.646-3.729-60.228-38.98-34.415-89.084-53.355-141.124-53.355-117.623 0-213.333 95.71-213.333 213.333s95.71 213.333 213.333 213.333c103.014 0 189.197-73.417 209.020-170.667h129.348c-19.345 154.095-141.606 276.356-295.701 295.701z"],"attrs":[{}],"isMulticolor":false,"isMulticolor2":false,"grid":0,"tags":["DCI-Icon_Curriculum-IGCSE"]},"attrs":[{}],"properties":{"order":124,"id":1,"name":"DCI-Icon_Curriculum-IGCSE","prevSize":32,"code":59709},"setIdx":1,"setId":3,"iconIdx":3},{"icon":{"paths":["M832 128h-640c-35.345 0-64 28.655-64 64s28.655 64 64 64h640c35.345 0 64-28.655 64-64s-28.655-64-64-64z","M595.955 325.879c-6.374-16.405-22.17-27.213-39.77-27.213h-88.363c-17.6 0-33.395 10.807-39.77 27.213l-198.959 512c-10.871 27.968 9.762 58.121 39.77 58.121h53.376c17.668 0 33.51-10.889 39.838-27.388l33.024-86.106h233.813l33.024 86.106c6.327 16.499 22.17 27.388 39.838 27.388h53.376c30.003 0 50.637-30.153 39.77-58.121l-198.959-512zM439.454 661.329l72.555-191.159 71.676 191.159h-144.23z"],"attrs":[{},{}],"isMulticolor":false,"isMulticolor2":false,"grid":0,"tags":["DCI-Icon_Curriculum-Pre_ALevel"]},"attrs":[{},{}],"properties":{"order":125,"id":0,"name":"DCI-Icon_Curriculum-Pre_ALevel","prevSize":32,"code":59710},"setIdx":1,"setId":3,"iconIdx":4},{"icon":{"paths":["M932.5 881.3v-405c0-20.6-16.7-37.2-37.2-37.2h-123.3v-106.2c6.1 3.9 13 6 19.8 6 11.7 0 23.3-5.5 30.5-15.9 11.8-16.8 7.7-40.1-9.1-51.9l-279.9-196c-12.8-9-29.9-9-42.7 0l-279.8 196c-16.8 11.8-20.9 35-9.1 51.9 11.5 16.3 33.6 20.5 50.3 10v106.1h-123.2c-20.6 0-37.2 16.7-37.2 37.2v405c-19.8 0.8-35.7 17-35.7 37.1 0 20.6 16.7 37.2 37.2 37.2h837.7c20.6 0 37.2-16.7 37.2-37.2 0.1-20-15.7-36.2-35.5-37.1zM858 513.6v367.6h-86v-367.6h86zM512 151.1l185.9 130.2c-0.1 0.9-0.3 1.7-0.3 2.6v597.3h-63.8v-133.9c0-20.6-16.7-37.2-37.2-37.2h-169.1c-20.6 0-37.2 16.7-37.2 37.2v133.9h-63.8v-597.3c0-0.9-0.2-1.7-0.3-2.6l185.8-130.2zM559.3 881.2h-94.6v-96.7h94.6v96.7zM252 513.6v367.6h-86v-367.6h86z","M512 570.2c67.2 0 121.8-54.6 121.8-121.8s-54.6-121.8-121.8-121.8-121.8 54.6-121.8 121.8 54.6 121.8 121.8 121.8zM512 401.1c26.1 0 47.3 21.2 47.3 47.3s-21.2 47.3-47.3 47.3c-26.1 0-47.3-21.2-47.3-47.3s21.2-47.3 47.3-47.3z"],"attrs":[{"fill":"rgb(255, 255, 255)"},{"fill":"rgb(255, 255, 255)"}],"isMulticolor":false,"isMulticolor2":false,"grid":0,"tags":["Find a School_White"],"colorPermutations":{"21101912552552551":[{"f":1},{"f":1}]}},"attrs":[{"fill":"rgb(255, 255, 255)"},{"fill":"rgb(255, 255, 255)"}],"properties":{"order":126,"id":3,"name":"Find-a-School_White","prevSize":32,"code":59711},"setIdx":2,"setId":4,"iconIdx":0},{"icon":{"paths":["M852.8 782.208l140.672 140.672-56.576 56.576-139.968-139.968c-80.785 69.954-186.906 112.577-302.981 112.577-256.26 0-464-207.74-464-464s207.74-464 464-464c256.26 0 464 207.74 464 464 0 112.016-39.693 214.761-105.782 294.937l0.635-0.794zM494.016 872c212.077 0 384-171.923 384-384s-171.923-384-384-384v0c-212.077 0-384 171.923-384 384s171.923 384 384 384v0zM512.128 268.736c-42.522 0-76.992 34.47-76.992 76.992s34.47 76.992 76.992 76.992h0c42.522 0 76.992-34.47 76.992-76.992s-34.47-76.992-76.992-76.992h0zM673.024 729.984v-62.016c-0.432-34.309-28.345-61.955-62.715-61.955-0.227 0-0.453 0.001-0.679 0.004l0.034-0h-194.304c-0.191-0.002-0.418-0.003-0.644-0.
1003-34.393 0-62.32 27.683-62.716 61.982l-0 0.037v61.952h-71.040v-72.064c0-66.304 53.76-120.064 120.064-120.064h220.928c66.304 0 120.064 53.76 120.064 120.064v72.064h-68.992zM511.488 192c84.884 0 153.696 68.812 153.696 153.696s-68.812 153.696-153.696 153.696v-0c-84.884 0-153.696-68.812-153.696-153.696s68.812-153.696 153.696-153.696v-0z"],"attrs":[{"fill":"rgb(211, 0, 19)"}],"isMulticolor":false,"isMulticolor2":false,"grid":0,"tags":["Careers"],"colorPermutations":{"21101912552552551":[{"f":0}]}},"attrs":[{"fill":"rgb(211, 0, 19)"}],"properties":{"order":127,"id":2,"name":"Careers","prevSize":32,"code":59712},"setIdx":2,"setId":4,"iconIdx":1},{"icon":{"paths":["M932.5 881.3v-405c0-20.6-16.7-37.2-37.2-37.2h-123.3v-106.2c6.1 3.9 13 6 19.8 6 11.7 0 23.3-5.5 30.5-15.9 11.8-16.8 7.7-40.1-9.1-51.9l-279.9-196c-12.8-9-29.9-9-42.7 0l-279.8 196c-16.8 11.8-20.9 35-9.1 51.9 11.5 16.3 33.6 20.5 50.3 10v106.1h-123.2c-20.6 0-37.2 16.7-37.2 37.2v405c-19.8 0.8-35.7 17-35.7 37.1 0 20.6 16.7 37.2 37.2 37.2h837.7c20.6 0 37.2-16.7 37.2-37.2 0.1-20-15.7-36.2-35.5-37.1zM858 513.6v367.6h-86v-367.6h86zM512 151.1l185.9 130.2c-0.1 0.9-0.3 1.7-0.3 2.6v597.3h-63.8v-133.9c0-20.6-16.7-37.2-37.2-37.2h-169.1c-20.6 0-37.2 16.7-37.2 37.2v133.9h-63.8v-597.3c0-0.9-0.2-1.7-0.3-2.6l185.8-130.2zM559.3 881.2h-94.6v-96.7h94.6v96.7zM252 513.6v367.6h-86v-367.6h86z","M512 570.2c67.2 0 121.8-54.6 121.8-121.8s-54.6-121.8-121.8-121.8-121.8 54.6-121.8 121.8 54.6 121.8 121.8 121.8zM512 401.1c26.1 0 47.3 21.2 47.3 47.3s-21.2 47.3-47.3 47.3c-26.1 0-47.3-21.2-47.3-47.3s21.2-47.3 47.3-47.3z"],"attrs":[{"fill":"rgb(211, 0, 19)"},{"fill":"rgb(211, 0, 19)"}],"isMulticolor":false,"isMulticolor2":false,"grid":0,"tags":["Find a School_Red"],"colorPermutations":{"21101912552552551":[{"f":0},{"f":0}]}},"attrs":[{"fill":"rgb(211, 0, 19)"},{"fill":"rgb(211, 0, 19)"}],"properties":{"order":128,"id":1,"name":"Find-a-School_Red","prevSize":32,"code":59713},"setIdx":2,"setId":4,"iconIdx":2},{"icon":{"paths":["M282.9 451.1c-12.8 0-23.7-10.3-23.7-23.7 0-12.8 10.9-23.7 23.7-23.7h457.8c13.1 0 24.3 10.9 24.3 23.7 0 13.4-11.2 23.7-24.3 23.7h-457.8zM282.9 736.3c13.4 0 23.7 10.9 23.7 23.7s-10.3 23.7-23.7 23.7c-12.8 0-23.7-10.9-23.7-23.7s10.9-23.7 23.7-23.7zM282.9 625.4c13.4 0 23.7 10.9 23.7 23.7 0 13.1-10.3 23.2-23.7 23.2-12.8 0-23.7-10-23.7-23.2 0-12.8 10.9-23.7 23.7-23.7zM282.9 514.8c13.4 0 23.7 10 23.7 23.5 0 12.8-10.3 23.7-23.7 23.7-12.8 0-23.7-10.9-23.7-23.7 0-13.5 10.9-23.5 23.7-23.5zM377.9 783.8c-13.4 0-24-10.9-24-23.7s10.6-23.7 24-23.7h362.9c13.1 0 24.3 10.9 24.3 23.7s-11.2 23.7-24.3 23.7h-362.9zM377.9 562c-13.4 0-24-10.9-24-23.7 0-13.4 10.6-23.5 24-23.5h362.9c13.4 0 24.3 10 24.3 23.5 0 12.8-10.9 23.7-24.3 23.7h-362.9zM377.9 672.3c-13.4 0-24-10-24-23.2 0-12.8 10.6-23.7 24-23.7h362.9c13.4 0 24.3 10.9 24.3 23.7 0 13.1-10.9 23.2-24.3 23.2h-362.9zM169.5 0h466.2c10.9 0 20.7 4.7 28.2 11.7l284.7 284.6c7.5 8.4 11.4 18.2 11.4 28.5v593.6c0 28.8-11.7 55-31 74.6v0.3l-0.9 0.3c-19.3 18.7-45.5 30.4-73.8 30.4h-684.8c-29.1 0-55.3-11.7-74.3-30.7v0c-19.5-19.3-31.2-46.1-31.2-74.9v-812.8c0-28.8 11.7-55 31.3-74 18.9-19.3 44.9-31.6 74.2-31.6zM612 78.8h-442.5c-7.2 0-13.9 3.1-19 8.1-4.8 5-7.8 11.7-7.8 18.7v812.8c0 7.3 3 14 7.8 19 5 5.3 11.7 7.8 19 7.8h684.9c7.6 0 14-2.5 19-7.8 5-5 7.8-11.7 7.8-19v-570.3h-179.5c-24.3 0-46.9-9.8-62.9-26.3l-1.7-1.7c-15.4-16.5-25.2-38-25.2-61.7v-179.6h0.1zM841.3 300.8l-181.8-181.8v139.4c0 10.9 4.5 21.5 11.7 28.8l1.1 1.1c7.3 7.8 17.9 12.6 29.4 12.6l139.6-0.1z"],"attrs":[{"fill":"rgb(211, 0, 19)"}],"isMulticolor":false,"isMulticolor2":false,"grid":0,"tags":["Admissions"],"colorPermutations":{"21101912552552551":[{"f":0}]}},"attrs":[{"fill":"rgb(211, 0, 19)"}],"properties":{"order":129,"id":0,"name":"Admissions","prevSize":32,"code":59714},"setIdx":2,"setId":4,"iconIdx":3},{"icon":{"paths":["M891.749 0h173.815l-381.638 434.539 445.875 589.461h-349.898l-273.948-358.211-313.624 358.211h-173.815l404.31-464.768-426.982-559.232h358.589l247.498 327.227zM830.914 921.978h96.354l-623.469-823.734h-103.534z"],"attrs":[{}],"width":1134,"isMulticolor":false,"isMulticolor2":false,"grid":0,"tags":["X_logo_2023"]},"attrs":[{}],"properties":{"order":130,"id":0,"name":"X_logo_2023","prevSize":32,"code":59715},"setIdx":3,"setId":5,"iconIdx":0},{"icon":{"paths":["M938 458.8l-29.6-312.6c-1.5-16.2-14.4-29-30.6-30.6l-313-29.6c-3.2 0-5.7 1-7.6 2.9l-468.3 468.3c-3.9 3.9-3.9 10.2 0 14.1l363.8 363.8c1.9 1.9 4.4 2.9 7.1 2.9s5.2-1 7.1-2.9l468.3-468.3c2-2.1 3-5 2.8-8zM459.7 834.7l-270.4-270.4 399.7-399.7 247 23.4 23.4 247-399.7 399.7z","M680 256c-48.5 0-88 39.5-88 88s39.5 88 88 88 88-39.5 88-88-39.5-88-88-88zM680 376c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z"],"attrs":[{},{}],"isMulticolor":false,"isMulticolor2":false,"grid":0,"tags":["tag-21"]},"attrs":[{},{}],"properties":{"order":131,"id":0,"name":"tag-21","prevSize":32,"code":59716},"setIdx":4,"setId":6,"iconIdx":0},{"icon":{"paths":["M765.811 620.508c-57.6 77.692-149.678 128.234-253.777 128.234-104.111 0-196.245-50.543-253.788-128.234-103.213 77.352-170.327 200.266-170.327 339.136h848.162c0-138.87-67.057-261.784-170.27-339.136zM252.816 686.5c67.896 69.236 161.653 109.368 259.218 109.368 97.553 0 191.31-40.131 259.207-109.368 63.858
160.281 104.111 139.485 114.855 226.075h-748.135c10.745-86.59 50.997-165.794 114.855-226.075z","M512.034 196.732c-130.869 0-236.992 105.905-236.992 236.486 0 130.587 106.124 236.434 236.992 236.434 130.857 0 236.981-105.848 236.981-236.434 0-130.581-106.123-236.486-236.981-236.486zM512.034 622.579c-104.732 0-189.861-84.968-189.861-189.36 0-104.387 85.129-189.355 189.861-189.355 104.663 0 189.861 84.968 189.861 189.355 0 104.392-85.198 189.36-189.861 189.36z","M217.499 535.597c1.795 0 3.417-0.454 5.154-0.506v-211.016c-1.737-0.115-3.359-0.5-5.154-0.5-0.552 0-1.116 0.161-1.737 0.161 2.128-5.706 4.533-11.193 6.891-16.732v-3.302h1.392c49.375-110.047 159.525-186.842 287.989-186.842 128.395 0 238.557 76.794 287.978 186.841h1.346v3.302c2.404 5.539 4.809 11.027 6.879 16.732-0.564 0-1.116-0.161-1.737-0.161-1.737 0-3.405 0.385-5.142 0.5v211.017c1.737 0.052 3.405 0.506 5.142 0.506 58.555 0 106.020-47.471 106.020-106.014 0-34.702-16.911-65.21-42.657-84.577-39.573-161.032-184.546-280.65-357.83-280.65-173.353 0-318.325 119.618-357.841 280.65-25.803 19.367-42.703 49.875-42.703 84.577 0.002 58.543 47.467 106.014 106.010 106.014z"],"attrs":[{"fill":"rgb(216, 30, 6)"},{"fill":"rgb(216, 30, 6)"},{"fill":"rgb(216, 30, 6)"}],"isMulticolor":false,"isMulticolor2":false,"grid":0,"tags":["Contact Us_Icon"]},"attrs":[{"fill":"rgb(216, 30, 6)"},{"fill":"rgb(216, 30, 6)"},{"fill":"rgb(216, 30, 6)"}],"properties":{"order":133,"id":0,"name":"Contact-Us_Icon","prevSize":32,"code":59717},"setIdx":5,"setId":7,"iconIdx":0},{"icon":{"width":1152,"paths":["M1088 128h-64v-64c0-35.2-28.8-64-64-64h-896c-35.2 0-64 28.8-64 64v768c0 35.2 28.8 64 64 64h64v64c0 35.2 28.8 64 64 64h896c35.2 0 64-28.8 64-64v-768c0-35.2-28.8-64-64-64zM128 192v640h-63.886c-0.040-0.034-0.082-0.076-0.114-0.116v-767.77c0.034-0.040 0.076-0.082 0.114-0.114h895.77c0.040 0.034 0.082 0.076 0.116 0.116v63.884h-768c-35.2 0-64 28.8-64 64v0zM1088 959.884c-0.034 0.040-0.076 0.082-0.116 0.116h-895.77c-0.040-0.034-0.082-0.076-0.114-0.116v-767.77c0.034-0.040 0.076-0.082 0.114-0.114h895.77c0.040 0.034 0.082 0.076 0.116 0.116v767.768z","M960 352c0 53.020-42.98 96-96 96s-96-42.98-96-96 42.98-96 96-96 96 42.98 96 96z","M1024 896h-768v-128l224-384 256 320h64l224-192z"],"tags":["images","pictures","photos","graphics"],"defaultCode":59662,"grid":16,"attrs":[]},"attrs":[],"properties":{"ligatures":"images, pictures","name":"images","order":49,"id":15,"prevSize":32,"code":59696},"setIdx":6,"setId":1,"iconIdx":14},{"icon":{"paths":["M896 128v832h-672c-53.026 0-96-42.98-96-96s42.974-96 96-96h608v-768h-640c-70.398 0-128 57.6-128 128v768c0 70.4 57.602 128 128 128h768v-896h-64z","M224.056 832v0c-0.018 0.002-0.038 0-0.056 0-17.672 0-32 14.326-32 32s14.328 32 32 32c0.018 0 0.038-0.002 0.056-0.002v0.002h607.89v-64h-607.89z"],"tags":["book","read","reading"],"defaultCode":59679,"grid":16,"attrs":[]},"attrs":[],"properties":{"ligatures":"book, read","name":"book","order":48,"id":32,"prevSize":32,"code":59697},"setIdx":6,"setId":1,"iconIdx":31}],"height":1024,"metadata":{"name":"icomoon"},"preferences":{"showGlyphs":true,"showQuickUse":true,"showQuickUse2":true,"showSVGs":true,"fontPref":{"prefix":"icon-","metadata":{"fontFamily":"icomoon"},"metrics":{"emSize":1024,"baseline":6.25,"whitespace":50},"embed":false},"imagePref":{"prefix":"icon-","png":true,"useClassSelector":true,"color":0,"bgColor":16777215,"classSelector":".icon"},"historySize":50,"showCodes":true,"gridSize":16}}')},76411,e=>{"use strict";var t=e.i(43476);e.i(71645);var i=e.i(89319),s=e.i(28477);e.s(["default",0,e=>{let{icon:r,size:o=16,color:n,className:a,...l}=e;return(0,t.jsx)(i.default,{iconSet:s.default,icon:r,size:o,color:n,className:a,...l})}])},64659,e=>{"use strict";let t=(0,e.i(75254).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["ChevronDown",0,t],64659)},37727,e=>{"use strict";let t=(0,e.i(75254).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["X",0,t],37727)},76958,e=>{"use strict";var t,i=e.i(71645),s=e.i(74080),r=e.i(43476);function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],s=[],o=()=>{let t=s.map(e=>i.createContext(e));return function(s){let r=s?.[e]||t;return i.useMemo(()=>({[`__scope${e}`]:{...s,[e]:r}}),[s,r])}};return o.scopeName=e,[function(t,o){let n=i.createContext(o),a=s.length;s=[...s,o];let l=t=>{let{scope:s,children:o,...l}=t,c=s?.[e]?.[a]||n,d=i.useMemo(()=>l,Object.values(l));return(0,r.jsx)(c.Provider,{value:d,children:o})};return l.displayName=t+"Provider",[l,function(s,r){let l=r?.[e]?.[a]||n,c=i.useContext(l);if(c)return c;if(void 0!==o)return o;throw Error(`\`${s}\` must be used within \`${t}\``)}]},function(){for(var e=arguments.length,t=Array(e),s=0;s<e;s++)t[s]=arguments[s];let r=t[0];if(1===t.length)return r;let o=()=>{let e=t.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(t){let s=e.reduce((e,i)=>
1{let{useScope:s,scopeName:r}=i,o=s(t)[`__scope${r}`];return{...e,...o}},{});return i.useMemo(()=>({[`__scope${r.scopeName}`]:s}),[s])}};return o.scopeName=r.scopeName,o}(o,...t)]}function n(e,t){let{checkForDefaultPrevented:i=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function(s){if(e?.(s),!1===i||!s.defaultPrevented)return t?.(s)}}function a(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function l(){for(var e=arguments.length,t=Array(e),i=0;i<e;i++)t[i]=arguments[i];return e=>{let i=!1,s=t.map(t=>{let s=a(t,e);return i||"function"!=typeof s||(i=!0),s});if(i)return()=>{for(let e=0;e<s.length;e++){let i=s[e];"function"==typeof i?i():a(t[e],null)}}}}function c(){for(var e=arguments.length,t=Array(e),s=0;s<e;s++)t[s]=arguments[s];return i.useCallback(l(...t),t)}function d(e){var t;let s,o=(t=e,(s=i.forwardRef((e,t)=>{let{children:s,...r}=e;if(i.isValidElement(s)){var o;let e,n,a=(o=s,(n=(e=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.ref:(n=(e=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.props.ref:o.props.ref||o.ref),c=function(e,t){let i={...t};
1for(let s in t){let r=e[s],o=t[s];/^on[A-Z]/.test(s)?r&&o?i[s]=function(){for(var e=arguments.length,t=Array(e),i=0;i<e;i++)t[i]=arguments[i];let s=o(...t);return r(...t),s}:r&&(i[s]=r):"style"===s?i[s]={...r,...o}:"className"===s&&(i[s]=[r,o].filter(Boolean).join(" "))}return{...e,...i}}(r,s.props);return s.type!==i.Fragment&&(c.ref=t?l(t,a):a),i.cloneElement(s,c)}return i.Children.count(s)>1?i.Children.only(null):null})).displayName=`${t}.SlotClone`,s),n=i.forwardRef((e,t)=>{let{children:s,...n}=e,a=i.Children.toArray(s),l=a.find(h);if(l){let e=l.props.children,s=a.map(t=>t!==l?t:i.Children.count(e)>1?i.Children.only(null):i.isValidElement(e)?e.props.children:null);return(0,r.jsx)(o,{...n,ref:t,children:i.isValidElement(e)?i.cloneElement(e,void 0,s):null})}return(0,r.jsx)(o,{...n,ref:t,children:s})});return n.displayName=`${e}.Slot`,n}"u">typeof window&&window.document&&window.document.createElement;var u=Symbol("radix.slottable");function h(e){return i.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===u}var m=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let s=d(`Primitive.${t}`),o=i.forwardRef((e,i)=>{let{asChild:o,...n}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,r.jsx)(o?s:t,{...n,ref:i})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function p(e,t){e&&s.flushSync(()=>e.dispatchEvent(t))}var f=globalThis?.document?i.useLayoutEffect:()=>{};i[" useEffectEvent ".trim().toString()],i[" useInsertionEffect ".trim().toString()];var g=i[" useInsertionEffect ".trim().toString()]||f;function x(e){let{prop:t,defaultProp:s,onChange:r=()=>{},caller:o}=e,[n,a,l]=function(e){let{defaultProp:t,onChange:s}=e,[r,o]=i.useState(t),n=i.useRef(r),a=i.useRef(s);return g(()=>{a.current=s},[s]),i.useEffect(()=>{n.current!==r&&(a.current?.(r),n.current=r)},[r,n]),[r,o,a]}({defaultProp:s,onChange:r}),c=void 0!==t,d=c?t:n;{let e=i.useRef(void 0!==t);i.useEffect(()=>{let t=e.current;if(t!==c){let e=c?"controlled":"uncontrolled";console.warn(`${o} is changing from ${t?"controlled":"uncontrolled"} to ${e}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}e.current=c},[c,o])}return[d,i.useCallback(e=>{if(c){let i="function"==typeof e?e(t):e;i!==t&&l.current?.(i)}else a(e)},[c,t,a,l])]}Symbol("RADIX:SYNC_STATE");var v=i.createContext(void 0),y=e=>{var t;let s,r,{present:o,children:n}=e,a=function(e){var t,s;let[r,o]=i.useState(),n=i.useRef(null),a=i.useRef(e),l=i.useRef("none"),[c,d]=(t=e?"mounted":"unmounted",s={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},i.useReducer((e,t)=>s[e][t]??e,t));return i.useEffect(()=>{let e=b(n.current);l.current="mounted"===c?e:"none"},[c]),f(()=>{let t=n.current,i=a.current;if(i!==e){let s=l.current,r=b(t);e?d("MOUNT"):"none"===r||t?.display==="none"?d("UNMOUNT"):i&&s!==r?d("ANIMATION_OUT"):d("UNMOUNT"),a.current=e}},[e,d]),f(()=>{if(r){let e,t=r.ownerDocument.defaultView??window,i=i=>{let s=b(n.current).includes(CSS.escape(i.animationName));if(i.target===r&&s&&(d("ANIMATION_END"),!a.current)){let i=r.style.animationFillMode;r.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===r.style.animationFillMode&&(r.style.animationFillMode=i)})}},s=e=>{e.target===r&&(l.current=b(n.current))};return r.addEventListener("animationstart",s),r.addEventListener("animationcancel",i),r.addEventListener("animationend",i),()=>{t.clearTimeout(e),r.removeEventListener("animationstart",s),r.removeEventListener("animationcancel",i),r.removeEventListener("animationend",i)}}d("ANIMATION_END")},[r,d]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:i.useCallback(e=>{n.current=e?getComputedStyle(e):null,o(e)},[])}}(o),l="function"==typeof n?n({present:a.isPresent}):i.Children.only(n),d=c(a.ref,(t=l,(r=(s=Object.getOwnPropertyDescriptor(t.props,"ref")?.get)&&"isReactWarning"in s&&s.isReactWarning)?t.ref:(r=(s=Object.getOwnPropertyDescriptor(t,"ref")?.get)&&"isReactWarning"in s&&s.isReactWarning)?t.props.ref:t.props.ref||t.ref));return"function"==typeof n||a.isPresent?i.cloneElement(l,{ref:d}):null};function b(e){return e?.animationName||"none"}y.displayName="Presence";var w=i[" useId ".trim().toString()]||(()=>void 0),k=0;function j(e){let[t,s]=i.useState(w());return f(()=>{e||s(e=>e??String(k++))},[e]),e||(t?`radix-${t}`:"")}function C(e){let t=e+"CollectionProvider",[s,n]=o(t),[a,l]=s(t,{collectionRef:{current:null},itemMap:new Map}),u=e=>{let{scope:t,children:s}=e,o=i.default.useRef(null),n=i.default.useRef(new Map).current;return(0,r.jsx)(a,{scope:t,itemMap:n,collectionRef:o,children:s})};u.displayName=t;let h=e+"CollectionSlot",m=d(h),p=i.default.forwardRef((e,t)=>
1{let{scope:i,children:s}=e,o=c(t,l(h,i).collectionRef);return(0,r.jsx)(m,{ref:o,children:s})});p.displayName=h;let f=e+"CollectionItemSlot",g="data-radix-collection-item",x=d(f),v=i.default.forwardRef((e,t)=>{let{scope:s,children:o,...n}=e,a=i.default.useRef(null),d=c(t,a),u=l(f,s);return i.default.useEffect(()=>(u.itemMap.set(a,{ref:a,...n}),()=>void u.itemMap.delete(a))),(0,r.jsx)(x,{...{[g]:""},ref:d,children:o})});return v.displayName=f,[{Provider:u,Slot:p,ItemSlot:v},function(t){let s=l(e+"CollectionConsumer",t);return i.default.useCallback(()=>{let e=s.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${g}]`));return Array.from(s.itemMap.values()).sort((e,i)=>t.indexOf(e.ref.current)-t.indexOf(i.ref.current))},[s.collectionRef,s.itemMap])},n]}var M=new WeakMap;function S(e,t){var i,s;let r,o,n;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let a=(i=e,s=t,r=i.length,(n=(o=N(s))>=0?o:r+o)<0||n>=r?-1:n);return -1===a?void 0:e[a]}function N(e){return e!=e||0===e?0:Math.trunc(e)}function z(e){let t=i.useRef(e);return i.useEffect(()=>{t.current=e}),i.useMemo(()=>function(){for(var e=arguments.length,i=Array(e),s=0;s<e;s++)i[s]=arguments[s];return t.current?.(...i)},[])}(class e extends Map{#e;constructor(e){super(e),this.#e=[...super.keys()],M.set(this,!0)}set(e,t){return M.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,i){let s,r=this.has(t),o=this.#e.length,n=N(e),a=n>=0?n:o+n,l=a<0||a>=o?-1:a;if(l===this.size||r&&l===this.size-1||-1===l)return this.set(t,i),this;let c=this.size+ +!r;n<0&&a++;let d=[...this.#e],u=!1;for(let e=a;e<c;e++)if(a===e){let o=d[e];d[e]===t&&(o=d[e+1]),r&&this.delete(t),s=this.get(o),this.set(t,i)}else{u||d[e-1]!==t||(u=!0);let i=d[u?e:e-1],r=s;s=this.get(i),this.delete(i),this.set(i,r)}return this}with(t,i,s){let r=new e(this);return r.insert(t,i,s),r}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,i){let s=this.#e.indexOf(e);return -1===s?this:this.insert(s,t,i)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,i){let s=this.#e.indexOf(e);return -1===s?this:this.insert(s+1,t,i)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=S(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=S(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return S(this.#e,e)}from(e,t){let i=this.indexOf(e);if(-1===i)return;let s=i+t;return s<0&&(s=0),s>=this.size&&(s=this.size-1),this.at(s)}keyFrom(e,t){let i=this.indexOf(e);if(-1===i)return;let s=i+t;return s<0&&(s=0),s>=this.size&&(s=this.size-1),this.keyAt(s)}find(e,t){let i=0;for(let s of this){if(Reflect.apply(e,t,[s,i,this]))return s;i++}}findIndex(e,t){let i=0;for(let s of this){if(Reflect.apply(e,t,[s,i,this]))return i;i++}return -1}filter(t,i){let s=[],r=0;for(let e of this)Reflect.apply(t,i,[e,r,this])&&s.push(e),r++;return new e(s)}map(t,i){let s=[],r=0;for(let e of this)s.push([e[0],Reflect.apply(t,i,[e,r,this])]),r++;return new e(s)}reduce(){for(var e=arguments.length,t=Array(e),i=0;i<e;i++)t[i]=arguments[i];let[s,r]=t,o=0,n=r??this.at(0);for(let e of this)n=0===o&&1===t.length?e:Reflect.apply(s,this,[n,e,o,this]),o++;return n}reduceRight(){for(var e=arguments.length,t=Array(e),i=0;i<e;i++)t[i]=arguments[i];let[s,r]=t,o=r??this.at(-1);for(let e=this.size-1;e>=0;e--){let i=this.at(e);o=e===this.size-1&&1===t.length?i:Reflect.apply(s,this,[o,i,e,this])}return o}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let i=this.keyAt(e),s=this.get(i);t.set(i,s)}return t}toSpliced(){for(var t=arguments.length,i=Array(t),s=0;s<t;s++)i[s]=arguments[s];let r=[...this.entries()];return r.splice(...i),new e(r)}slice(t,i){let s=new e,r=this.size-1;if(void 0===t)return s;t<0&&(t+=this.size),void 0!==i&&i>0&&(r=i-1);for(let e=t;e<=r;e++){let t=this.keyAt(e),i=this.get(t);s.set(t,i)}return s}every(e,t){let i=0;for(let s of this){if(!Reflect.apply(e,t,[s,i,this]))return!1;i++}return!0}some(e,t){let i=0;for(let s of this){if(Reflect.apply(e,t,[s,i,this]))return!0;
1i++}return!1}});var I="dismissableLayer.update",E=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),A=i.forwardRef((e,s)=>{let{disableOutsidePointerEvents:o=!1,onEscapeKeyDown:a,onPointerDownOutside:l,onFocusOutside:d,onInteractOutside:u,onDismiss:h,...p}=e,f=i.useContext(E),[g,x]=i.useState(null),v=g?.ownerDocument??globalThis?.document,[,y]=i.useState({}),b=c(s,e=>x(e)),w=Array.from(f.layers),[k]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),j=w.indexOf(k),C=g?w.indexOf(g):-1,M=f.layersWithOutsidePointerEventsDisabled.size>0,S=C>=j,N=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:globalThis?.document,s=z(e),r=i.useRef(!1),o=i.useRef(()=>{});return i.useEffect(()=>{let e=e=>{if(e.target&&!r.current){let i=function(){T("dismissableLayer.pointerDownOutside",s,r,{discrete:!0})},r={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=i,t.addEventListener("click",o.current,{once:!0})):i()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}},[t,s]),{onPointerDownCapture:()=>r.current=!0}}(e=>{let t=e.target,i=[...f.branches].some(e=>e.contains(t));S&&!i&&(l?.(e),u?.(e),e.defaultPrevented||h?.())},v),A=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:globalThis?.document,s=z(e),r=i.useRef(!1);return i.useEffect(()=>{let e=e=>{e.target&&!r.current&&T("dismissableLayer.focusOutside",s,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,s]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}(e=>{let t=e.target;![...f.branches].some(e=>e.contains(t))&&(d?.(e),u?.(e),e.defaultPrevented||h?.())},v);return!function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:globalThis?.document,s=z(e);i.useEffect(()=>{let e=e=>{"Escape"===e.key&&s(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[s,t])}(e=>{C===f.layers.size-1&&(a?.(e),!e.defaultPrevented&&h&&(e.preventDefault(),h()))},v),i.useEffect(()=>{if(g)return o&&(0===f.layersWithOutsidePointerEventsDisabled.size&&(t=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(g)),f.layers.add(g),D(),()=>{o&&1===f.layersWithOutsidePointerEventsDisabled.size&&(v.body.style.pointerEvents=t)}},[g,v,o,f]),i.useEffect(()=>()=>{g&&(f.layers.delete(g),f.layersWithOutsidePointerEventsDisabled.delete(g),D())},[g,f]),i.useEffect(()=>{let e=()=>y({});return document.addEventListener(I,e),()=>document.removeEventListener(I,e)},[]),(0,r.jsx)(m.div,{...p,ref:b,style:{pointerEvents:M?S?"auto":"none":void 0,...e.style},onFocusCapture:n(e.onFocusCapture,A.onFocusCapture),onBlurCapture:n(e.onBlurCapture,A.onBlurCapture),onPointerDownCapture:n(e.onPointerDownCapture,N.onPointerDownCapture)})});function D(){let e=new CustomEvent(I);document.dispatchEvent(e)}function T(e,t,i,s){let{discrete:r}=s,o=i.originalEvent.target,n=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:i});t&&o.addEventListener(e,t,{once:!0}),r?p(o,n):o.dispatchEvent(n)}A.displayName="DismissableLayer",i.forwardRef((e,t)=>{let s=i.useContext(E),o=i.useRef(null),n=c(t,o);return i.useEffect(()=>{let e=o.current;if(e)return s.branches.add(e),()=>{s.branches.delete(e)}},[s.branches]),(0,r.jsx)(m.div,{...e,ref:n})}).displayName="DismissableLayerBranch";var F=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),P=i.forwardRef((e,t)=>(0,r.jsx)(m.span,{...e,ref:t,style:{...F,...e.style}}));P.displayName="VisuallyHidden";var L="NavigationMenu",[_,R,B]=C(L),[V,O,W]=C(L),[$,U]=o(L,[B,W]),[H,Y]=$(L),[q,K]=$(L),G=i.forwardRef((e,t)=>{let s,{__scopeNavigationMenu:o,value:n,onValueChange:a,defaultValue:l,delayDuration:d=200,skipDelayDuration:u=300,orientation:h="horizontal",dir:p,...f}=e,[g,y]=i.useState(null),b=c(t,e=>y(e)),w=(s=i.useContext(v),p||s||"ltr"),k=i.useRef(0),j=i.useRef(0),C=i.useRef(0),[M,S]=i.useState(!0),[N,z]=x({prop:n,onChange:e=>{let t=u>0;""!==e?(window.clearTimeout(C.current),t&&S(!1)):(window.clearTimeout(C.current),C.current=window.setTimeout(()=>S(!0),u)),a?.(e)},defaultProp:l??"",caller:L}),I=i.useCallback(()=>{window.clearTimeout(j.current),j.current=window.setTimeout(()=>z(""),150)},[z]),E=i.useCallback(e=>{window.clearTimeout(j.current),z(e)},[z]),A=i.useCallback(e=>{N===e?window.clearTimeout(j.current):k.current=window.setTimeout(()=>{window.clearTimeout(j.current),z(e)},d)},[N,z,d]);return i.useEffect(()=>()=>{window.clearTimeout(k.current),window.clearTimeout(j.current),window.clearTimeout(C.current)}
1,[]),(0,r.jsx)(Q,{scope:o,isRootMenu:!0,value:N,dir:w,orientation:h,rootNavigationMenu:g,onTriggerEnter:e=>{window.clearTimeout(k.current),M?A(e):E(e)},onTriggerLeave:()=>{window.clearTimeout(k.current),I()},onContentEnter:()=>window.clearTimeout(j.current),onContentLeave:I,onItemSelect:e=>{z(t=>t===e?"":e)},onItemDismiss:()=>z(""),children:(0,r.jsx)(m.nav,{"aria-label":"Main","data-orientation":h,dir:w,...f,ref:b})})});G.displayName=L;var X="NavigationMenuSub";i.forwardRef((e,t)=>{let{__scopeNavigationMenu:i,value:s,onValueChange:o,defaultValue:n,orientation:a="horizontal",...l}=e,c=Y(X,i),[d,u]=x({prop:s,onChange:o,defaultProp:n??"",caller:X});return(0,r.jsx)(Q,{scope:i,isRootMenu:!1,value:d,dir:c.dir,orientation:a,rootNavigationMenu:c.rootNavigationMenu,onTriggerEnter:e=>u(e),onItemSelect:e=>u(e),onItemDismiss:()=>u(""),children:(0,r.jsx)(m.div,{"data-orientation":a,...l,ref:t})})}).displayName=X;var Q=e=>{let t,{scope:s,isRootMenu:o,rootNavigationMenu:n,dir:a,orientation:l,children:c,value:d,onItemSelect:u,onItemDismiss:h,onTriggerEnter:m,onTriggerLeave:p,onContentEnter:f,onContentLeave:g}=e,[x,v]=i.useState(null),[y,b]=i.useState(new Map),[w,k]=i.useState(null);return(0,r.jsx)(H,{scope:s,isRootMenu:o,rootNavigationMenu:n,value:d,previousValue:(t=i.useRef({value:d,previous:d}),i.useMemo(()=>(t.current.value!==d&&(t.current.previous=t.current.value,t.current.value=d),t.current.previous),[d])),baseId:j(),dir:a,orientation:l,viewport:x,onViewportChange:v,indicatorTrack:w,onIndicatorTrackChange:k,onTriggerEnter:z(m),onTriggerLeave:z(p),onContentEnter:z(f),onContentLeave:z(g),onItemSelect:z(u),onItemDismiss:z(h),onViewportContentChange:i.useCallback((e,t)=>{b(i=>(i.set(e,t),new Map(i)))},[]),onViewportContentRemove:i.useCallback(e=>{b(t=>t.has(e)?(t.delete(e),new Map(t)):t)},[]),children:(0,r.jsx)(_.Provider,{scope:s,children:(0,r.jsx)(q,{scope:s,items:y,children:c})})})},Z="NavigationMenuList",J=i.forwardRef((e,t)=>{let{__scopeNavigationMenu:i,...s}=e,o=Y(Z,i),n=(0,r.jsx)(m.ul,{"data-orientation":o.orientation,...s,ref:t});return(0,r.jsx)(m.div,{style:{position:"relative"},ref:o.onIndicatorTrackChange,children:(0,r.jsx)(_.Slot,{scope:i,children:o.isRootMenu?(0,r.jsx)(ex,{asChild:!0,children:n}):n})})});J.displayName=Z;var ee="NavigationMenuItem",[et,ei]=$(ee),es=i.forwardRef((e,t)=>{let{__scopeNavigationMenu:s,value:o,...n}=e,a=j(),l=i.useRef(null),c=i.useRef(null),d=i.useRef(null),u=i.useRef(()=>{}),h=i.useRef(!1),p=i.useCallback(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"start";if(l.current){u.current();let t=eb(l.current);t.length&&ew("start"===e?t:t.reverse())}},[]),f=i.useCallback(()=>{if(l.current){var e;let t=eb(l.current);t.length&&((e=t).forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}),u.current=()=>{e.forEach(e=>{let t=e.dataset.tabindex;e.setAttribute("tabindex",t)})})}},[]);return(0,r.jsx)(et,{scope:s,value:o||a||"LEGACY_REACT_AUTO_VALUE",triggerRef:c,contentRef:l,focusProxyRef:d,wasEscapeCloseRef:h,onEntryKeyDown:p,onFocusProxyEnter:p,onRootContentClose:f,onContentFocusOutside:f,children:(0,r.jsx)(m.li,{...n,ref:t})})});es.displayName=ee;var er="NavigationMenuTrigger",eo=i.forwardRef((e,t)=>{let{__scopeNavigationMenu:s,disabled:o,...a}=e,l=Y(er,e.__scopeNavigationMenu),d=ei(er,e.__scopeNavigationMenu),u=i.useRef(null),h=c(u,d.triggerRef,t),p=eC(l.baseId,d.value),f=eM(l.baseId,d.value),g=i.useRef(!1),x=i.useRef(!1),v=d.value===l.value;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(_.ItemSlot,{scope:s,value:d.value,children:(0,r.jsx)(ey,{asChild:!0,children:(0,r.jsx)(m.button,{id:p,disabled:o,"data-disabled":o?"":void 0,"data-state":ej(v),"aria-expanded":v,"aria-controls":f,...a,ref:h,onPointerEnter:n(e.onPointerEnter,()=>{x.current=!1,d.wasEscapeCloseRef.current=!1}),onPointerMove:n(e.onPointerMove,eS(()=>{o||x.current||d.wasEscapeCloseRef.current||g.current||(l.onTriggerEnter(d.value),g.current=!0)})),onPointerLeave:n(e.onPointerLeave,eS(()=>{o||(l.onTriggerLeave(),g.current=!1)})),onClick:n(e.onClick,()=>{l.onItemSelect(d.value),x.current=v}),onKeyDown:n(e.onKeyDown,e=>{let t={horizontal:"ArrowDown",vertical:"rtl"===l.dir?"ArrowLeft":"ArrowRight"}[l.orientation];v&&e.key===t&&(d.onEntryKeyDown(),e.preventDefault())})})})}),v&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(P,{"aria-hidden":!0,tabIndex:0,ref:d.focusProxyRef,onFocus:e=>{let t=d.contentRef.current,i=e.relatedTarget,s=i===u.current,r=t?.contains(i);(s||!r)&&d.onFocusProxyEnter(s?"start":"end")}}),l.viewport&&(0,r.jsx)("span",{"aria-owns":f})]})]})});eo.displayName=er;var en="navigationMenu.linkSelect",ea=i.forwardRef((e,t)=>
1{let{__scopeNavigationMenu:i,active:s,onSelect:o,...a}=e;return(0,r.jsx)(ey,{asChild:!0,children:(0,r.jsx)(m.a,{"data-active":s?"":void 0,"aria-current":s?"page":void 0,...a,ref:t,onClick:n(e.onClick,e=>{let t=e.target,i=new CustomEvent(en,{bubbles:!0,cancelable:!0});t.addEventListener(en,e=>o?.(e),{once:!0}),p(t,i),i.defaultPrevented||e.metaKey||p(t,new CustomEvent(em,{bubbles:!0,cancelable:!0}))},{checkForDefaultPrevented:!1})})})});ea.displayName="NavigationMenuLink";var el="NavigationMenuIndicator";i.forwardRef((e,t)=>{let{forceMount:i,...o}=e,n=Y(el,e.__scopeNavigationMenu),a=!!n.value;return n.indicatorTrack?s.default.createPortal((0,r.jsx)(y,{present:i||a,children:(0,r.jsx)(ec,{...o,ref:t})}),n.indicatorTrack):null}).displayName=el;var ec=i.forwardRef((e,t)=>{let{__scopeNavigationMenu:s,...o}=e,n=Y(el,s),a=R(s),[l,c]=i.useState(null),[d,u]=i.useState(null),h="horizontal"===n.orientation,p=!!n.value;i.useEffect(()=>{let e=a(),t=e.find(e=>e.value===n.value)?.ref.current;t&&c(t)},[a,n.value]);let f=()=>{l&&u({size:h?l.offsetWidth:l.offsetHeight,offset:h?l.offsetLeft:l.offsetTop})};return ek(l,f),ek(n.indicatorTrack,f),d?(0,r.jsx)(m.div,{"aria-hidden":!0,"data-state":p?"visible":"hidden","data-orientation":n.orientation,...o,ref:t,style:{position:"absolute",...h?{left:0,width:d.size+"px",transform:`translateX(${d.offset}px)`}:{top:0,height:d.size+"px",transform:`translateY(${d.offset}px)`},...o.style}}):null}),ed="NavigationMenuContent",eu=i.forwardRef((e,t)=>{let{forceMount:i,...s}=e,o=Y(ed,e.__scopeNavigationMenu),a=ei(ed,e.__scopeNavigationMenu),l=c(a.contentRef,t),d=a.value===o.value,u={value:a.value,triggerRef:a.triggerRef,focusProxyRef:a.focusProxyRef,wasEscapeCloseRef:a.wasEscapeCloseRef,onContentFocusOutside:a.onContentFocusOutside,onRootContentClose:a.onRootContentClose,...s};return o.viewport?(0,r.jsx)(eh,{forceMount:i,...u,ref:l}):(0,r.jsx)(y,{present:i||d,children:(0,r.jsx)(ep,{"data-state":ej(d),...u,ref:l,onPointerEnter:n(e.onPointerEnter,o.onContentEnter),onPointerLeave:n(e.onPointerLeave,eS(o.onContentLeave)),style:{pointerEvents:!d&&o.isRootMenu?"none":void 0,...u.style}})})});eu.displayName=ed;var eh=i.forwardRef((e,t)=>{let{onViewportContentChange:i,onViewportContentRemove:s}=Y(ed,e.__scopeNavigationMenu);return f(()=>{i(e.value,{ref:t,...e})},[e,t,i]),f(()=>()=>s(e.value),[e.value,s]),null}),em="navigationMenu.rootContentDismiss",ep=i.forwardRef((e,t)=>{let{__scopeNavigationMenu:s,value:o,triggerRef:a,focusProxyRef:l,wasEscapeCloseRef:d,onRootContentClose:u,onContentFocusOutside:h,...m}=e,p=Y(ed,s),f=i.useRef(null),g=c(f,t),x=eC(p.baseId,o),v=eM(p.baseId,o),y=R(s),b=i.useRef(null),{onItemDismiss:w}=p;i.useEffect(()=>{let e=f.current;if(p.isRootMenu&&e){let t=()=>{w(),u(),e.contains(document.activeElement)&&a.current?.focus()};return e.addEventListener(em,t),()=>e.removeEventListener(em,t)}},[p.isRootMenu,e.value,a,w,u]);let k=i.useMemo(()=>{let e=y().map(e=>e.value);"rtl"===p.dir&&e.reverse();let t=e.indexOf(p.value),i=e.indexOf(p.previousValue),s=o===p.value,r=i===e.indexOf(o);if(!s&&!r)return b.current;let n=(()=>{if(t!==i){if(s&&-1!==i)return t>i?"from-end":"from-start";if(r&&-1!==t)return t>i?"to-start":"to-end"}return null})();return b.current=n,n},[p.previousValue,p.value,p.dir,y,o]);return(0,r.jsx)(ex,{asChild:!0,children:(0,r.jsx)(A,{id:v,"aria-labelledby":x,"data-motion":k,"data-orientation":p.orientation,...m,ref:g,disableOutsidePointerEvents:!1,onDismiss:()=>{let e=new Event(em,{bubbles:!0,cancelable:!0});f.current?.dispatchEvent(e)},onFocusOutside:n(e.onFocusOutside,e=>{h();let t=e.target;p.rootNavigationMenu?.contains(t)&&e.preventDefault()}),onPointerDownOutside:n(e.onPointerDownOutside,e=>{let t=e.target,i=y().some(e=>e.ref.current?.contains(t)),s=p.isRootMenu&&p.viewport?.contains(t);(i||s||!p.isRootMenu)&&e.preventDefault()}),onKeyDown:n(e.onKeyDown,e=>{let t=e.altKey||e.ctrlKey||e.metaKey;if("Tab"===e.key&&!t){let t=eb(e.currentTarget),i=document.activeElement,s=t.findIndex(e=>e===i);ew(e.shiftKey?t.slice(0,s).reverse():t.slice(s+1,t.length))?e.preventDefault():l.current?.focus()}}),onEscapeKeyDown:n(e.onEscapeKeyDown,e=>{d.current=!0})})})}),ef="NavigationMenuViewport";i.forwardRef((e,t)=>
1{let{forceMount:i,...s}=e,o=!!Y(ef,e.__scopeNavigationMenu).value;return(0,r.jsx)(y,{present:i||o,children:(0,r.jsx)(eg,{...s,ref:t})})}).displayName=ef;var eg=i.forwardRef((e,t)=>{let{__scopeNavigationMenu:s,children:o,...a}=e,d=Y(ef,s),u=c(t,d.onViewportChange),h=K(ed,e.__scopeNavigationMenu),[p,f]=i.useState(null),[g,x]=i.useState(null),v=p?p?.width+"px":void 0,b=p?p?.height+"px":void 0,w=!!d.value,k=w?d.value:d.previousValue;return ek(g,()=>{g&&f({width:g.offsetWidth,height:g.offsetHeight})}),(0,r.jsx)(m.div,{"data-state":ej(w),"data-orientation":d.orientation,...a,ref:u,style:{pointerEvents:!w&&d.isRootMenu?"none":void 0,"--radix-navigation-menu-viewport-width":v,"--radix-navigation-menu-viewport-height":b,...a.style},onPointerEnter:n(e.onPointerEnter,d.onContentEnter),onPointerLeave:n(e.onPointerLeave,eS(d.onContentLeave)),children:Array.from(h.items).map(e=>{let[t,{ref:i,forceMount:s,...o}]=e,n=k===t;return(0,r.jsx)(y,{present:s||n,children:(0,r.jsx)(ep,{...o,ref:l(i,e=>{n&&e&&x(e)})})},t)})})}),ex=i.forwardRef((e,t)=>{let{__scopeNavigationMenu:i,...s}=e,o=Y("FocusGroup",i);return(0,r.jsx)(V.Provider,{scope:i,children:(0,r.jsx)(V.Slot,{scope:i,children:(0,r.jsx)(m.div,{dir:o.dir,...s,ref:t})})})}),ev=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"],ey=i.forwardRef((e,t)=>{let{__scopeNavigationMenu:i,...s}=e,o=O(i),a=Y("FocusGroupItem",i);return(0,r.jsx)(V.ItemSlot,{scope:i,children:(0,r.jsx)(m.button,{...s,ref:t,onKeyDown:n(e.onKeyDown,e=>{if(["Home","End",...ev].includes(e.key)){let t=o().map(e=>e.ref.current);if(["rtl"===a.dir?"ArrowRight":"ArrowLeft","ArrowUp","End"].includes(e.key)&&t.reverse(),ev.includes(e.key)){let i=t.indexOf(e.currentTarget);t=t.slice(i+1)}setTimeout(()=>ew(t)),e.preventDefault()}})})})});function eb(e){let t=[],i=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;i.nextNode();)t.push(i.currentNode);return t}function ew(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}function ek(e,t){let i=z(t);f(()=>{let t=0;if(e){let s=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(i)});return s.observe(e),()=>{window.cancelAnimationFrame(t),s.unobserve(e)}}},[e,i])}function ej(e){return e?"open":"closed"}function eC(e,t){return`${e}-trigger-${t}`}function eM(e,t){return`${e}-content-${t}`}function eS(e){return t=>"mouse"===t.pointerType?e(t):void 0}e.s(["Content",0,eu,"Item",0,es,"Link",0,ea,"List",0,J,"Root",0,G,"Trigger",0,eo],76958)},21385,e=>{"use strict";var t=e.i(43476);e.i(71645);var i=e.i(37727),s=e.i(76411);e.s(["default",0,e=>{let{showSearchResults:r,setShowSearchResults:o,searchQuery:n,isSearching:a,searchResults:l,currentSearchPage:c,handleSearchPageChange:d,nav:u={}}=e;return r?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("style",{children:` 2 @keyframes modalZoomIn { 3 from { 4 opacity: 0; 5 transform: scale(0.8) translateY(20px); 6 } 7 to { 8 opacity: 1; 9 transform: scale(1) translateY(0); 10 } 11 } 12 13 @keyframes backdropFadeIn { 14 from { 15 opacity: 0; 16 } 17 to { 18 opacity: 1; 19 } 20 } 21
22 .modal-zoom-in { 23 animation: modalZoomIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); 24 } 25 26 .backdrop-fade-in { 27 animation: backdropFadeIn 0.3s ease-out; 28 } 29 30 .result-card-hover { 31 transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 32 } 33 34 .result-card-hover:hover { 35 transform: translateY(-4px); 36 box-shadow: 0 12px 24px rgba(211, 0, 19, 0.15); 37 } 38 39 /* Custom scrollbar styling for modal content */ 40 .modal-zoom-in .overflow-y-scroll { 41 scroll-behavior: smooth; 42 -webkit-overflow-scrolling: touch; 43 overscroll-behavior: contain; 44 scroll-padding: 20px; 45 will-change: scroll-position; 46 } 47 48 /* Smooth momentum scrolling for iOS */ 49 @supports (-webkit-overflow-scrolling: touch) { 50 .modal-zoom-in .overflow-y-scroll { 51 -webkit-overflow-scrolling: touch; 52 -webkit-transform: translateZ(0); 53 transform: translateZ(0); 54 } 55 } 56
57 .modal-zoom-in .overflow-y-scroll::-webkit-scrollbar { 58 width: 12px; 59 } 60 61 .modal-zoom-in .overflow-y-scroll::-webkit-scrollbar-track { 62 background: #f8f8f8; 63 border-radius: 10px; 64 margin: 8px 0; 65 } 66 67 .modal-zoom-in .overflow-y-scroll::-webkit-scrollbar-thumb { 68 background: #D30013; 69 border-radius: 10px; 70 border: 3px solid #f8f8f8; 71 transition: background 0.2s ease; 72 } 73 74 .modal-zoom-in .overflow-y-scroll::-webkit-scrollbar-thumb:hover { 75 background: #9E1422; 76 border: 2px solid #f8f8f8; 77 } 78 79 .modal-zoom-in .overflow-y-scroll::-webkit-scrollbar-thumb:active { 80 background: #7d0f19; 81 } 82 83 /* Firefox scrollbar */ 84 .modal-zoom-in .overflow-y-scroll { 85 scrollbar-width: thin; 86 scrollbar-color: #D30013 #f8f8f8; 87 } 88 89 /* Smooth scrolling animation */ 90 @media (prefers-reduced-motion: no-preference) { 91 .modal
91-zoom-in .overflow-y-scroll { 92 scroll-behavior: smooth; 93 } 94 } 95 `}),(0,t.jsx)("div",{className:"fixed inset-0 bg-black bg-opacity-60 z-[200] backdrop-fade-in"}),(0,t.jsx)("div",{className:"fixed inset-0 z-[201] flex items-center justify-center p-4 lg:p-6",children:(0,t.jsxs)("div",{className:"bg-white rounded-2xl shadow-2xl w-full max-w-5xl modal-zoom-in flex flex-col",style:{height:"85vh",maxHeight:"85vh",overflow:"hidden"},children:[(0,t.jsxs)("div",{className:"flex text-left items-center justify-between px-6 lg:px-8 py-5 lg:py-6 border-b border-gray-200 bg-gradient-to-r from-[#FAF7F5] to-white flex-shrink-0",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{className:"text-2xl lg:text-3xl font-bold text-[#9E1422]",children:u.searchResultsTitle||"Search Results"}),n&&(0,t.jsxs)("p",{className:"text-sm text-gray-600 mt-1 text-left",children:[u.searchSearchingFor||"Searching for:"," ",(0,t.jsxs)("span",{className:"font-semibold text-[#3C3C3B]",children:['"',n,'"']})]})]}),(0,t.jsx)("button",{onClick:()=>o(!1),className:"p-1 hover:bg-white rounded-full transition-all duration-200 hover:shadow-md","aria-label":"Close modal",children:(0,t.jsx)(s.default,{icon:"Close-Button",size:38,color:"#D30013"})})]}),(0,t.jsx)("div",{className:"overflow-y-scroll overflow-x-hidden px-6 lg:px-8 py-6",style:{flex:"1 1 auto",minHeight:0,WebkitOverflowScrolling:"touch",overscrollBehavior:"contain",scrollBehavior:"smooth"},"data-lenis-prevent":!0,children:a?(0,t.jsxs)("div",{className:"py-16 text-center",children:[(0,t.jsxs)("div",{className:"relative inline-flex",children:[(0,t.jsx)("div",{className:"animate-spin rounded-full h-16 w-16 border-b-4 border-t-4 border-[#D30013]"}),(0,t.jsx)("div",{className:"absolute top-0 left-0 animate-ping rounded-full h-16 w-16 border-4 border-[#D30013] opacity-20"})]}),(0,t.jsxs)("p",{className:"mt-6 text-lg font-medium text-gray-700",children:[u.searchSearchingFor||"Searching for",' "',n,'"...']}),(0,t.jsx)("p",{className:"mt-2 text-sm text-gray-500",children:"Please wait while we fetch the results"})]}):l?(0,t.jsx)("div",{children:l.content||l.results?(0,t.jsx)("div",{children:(l.content||l.results)&&(l.content||l.results).length>0?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"mb-6 flex items-center gap-3",children:[(0,t.jsxs)("div",{className:"inline-flex items-center gap-2 px-4 py-2 bg-gradient-to-r from-[#9E1422] to-[#D30013] text-white rounded-full shadow-md",children:[(0,t.jsx)(s.default,{icon:"Icon-Search",size:16,color:"white"}),(0,t.jsx)("span",{className:"font-semibold text-sm",children:l.total?`${l.total} Result${1!==l.total?"s":""}`:`${(l.content||l.results).length} Result${1!==(l.content||l.results).length?"s":""}`})]}),l.page&&(0,t.jsxs)("span",{className:"text-sm text-gray-600 font-medium",children:[u.searchPage||"Page"," ",l.page]})]}),(0,t.jsx)("div",{className:"space-y-4",children:(l.content||l.results).map((e,i)=>(0,t.jsxs)("a",{href:e.url||"#",className:"result-card-hover block p-5 lg:p-6 rounded-xl border-2 border-gray-200 hover:border-[#D30013] bg-white hover:bg-gradient-to-br hover:from-white hover:to-[#FEF2F2] group",onClick:t=>{e.url?o(!1):t.preventDefault()},style:{animationDelay:`${.05*i}s`},children:[(0,t.jsx)("h3",{className:"text-lg lg:text-xl font-bold text-[#3C3C3B] group-hover:text-[#D30013] transition-colors mb-3",children:e.title}),e.excerpt&&(0,t.jsx)("p",{className:"text-sm lg:text-base text-gray-700 mb-4 line-clamp-3 leading-relaxed",children:e.excerpt}),e.url&&(0,t.jsxs)("div",{className:"flex items-center gap-2 text-xs text-[#D30013] font-medium",children:[(0,t.jsx)(s.default,{icon:"Icon-Chevron-Large",size:12,color:"#D30013"}),(0,t.jsx)("span",{className:"truncate",children:e.url})]})]},e.id||i))}),(l.page>1||!l.noMore)&&(()=>{let e=l.page||c,i=l.totalPages||Math.ceil((l.total||100)/10),s=Math.max(1,e-Math.floor(3.5)),r=Math.min(i,s+7-1);r-s<6&&(s=Math.max(1,r-7+1));let o=[];for(let e=s;e<=r;e++)o.push(e);let n=!l.noMore&&e<i;return(0,t.jsxs)("div",{className:"flex items-center justify-center gap-3 mt-8 pt-6 border-t-2 border-gray-200 flex-wrap",children:[(0,t.jsxs)("button",{onClick:()=>d(e-1),disabled:1===e,className:"px-5 py-2.5 text-sm font-medium text-[#3C3737] bg-white border-2 border-gray-300 rounded-lg hover:bg-gray-50 hover:border-[#D30013] hover:text-[#D30013] disabled:opacity-40 disabled:cursor-not-allowed disabled:hover:bg-white disabled:hover:border-gray-300 disabled:hover:text-[#3C3737] transition-all duration-200 flex items-center gap-2",children:[(0,t.jsx)("svg",{className:"w-4 h-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 19l-7-7 7-7"})}),u.searchPrevious||"Previous"]}),(0,t.jsxs)("div",{className:"px-6 py-2.5 text-sm font-medium text-[#3C3737]",children:[u.searchPage||"Page"," ",e," / ",i]}),n&&(0,t.jsxs)("button",{onClick:()=>d(e+1),className:"px-5 py-2.5 text-sm font-medium text-[#3C3737] bg-white border-2 border-gray-300 rounded-lg hover:bg-gray-50 hover:border-[#D30013] hover:text-[#D30013] transition-all duration-200 flex items-center gap-2",children:[u.searchNext||"Next",(0,t.jsx)("svg",{className:"w-4 h-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 5l7 7-7 7"})})]})]})})()]}):(0,t.jsxs)("div",{className:"py-16 text-center",children:[(0,t.jsx)("div",{className:"flex justify-center mb-6",children:(0,t.jsx)("div",{className:"w-24 h-24 bg-gradient-to-br from-gray-100 to-gray-200 rounded-full flex items-center justify-center",children:(0,t.jsx)(s.default,{icon:"Icon-Search",size:48,color:"#9
95CA3AF"})})}),(0,t.jsx)("h3",{className:"text-2xl font-bold text-gray-700 mb-3",children:u.searchNoResults||"No Results Found"}),(0,t.jsxs)("p",{className:"text-lg text-gray-600 mb-2",children:[u.searchNoResultsDesc||"We couldn't find any matches for"," ",(0,t.jsxs)("span",{className:"font-semibold text-[#D30013]",children:['"',n,'"']})]}),(0,t.jsx)("p",{className:"text-sm text-gray-500 mt-4",children:u.searchTryDifferent||"Try using different keywords or check your spelling"})]})}):(0,t.jsx)("div",{className:"py-8",children:(0,t.jsx)("div",{className:"bg-gradient-to-br from-red-50 to-orange-50 border-2 border-red-200 rounded-xl p-6 lg:p-8",children:(0,t.jsxs)("div",{className:"flex items-start gap-4",children:[(0,t.jsx)("div",{className:"flex-shrink-0 w-12 h-12 bg-gradient-to-br from-[#D30013] to-[#9E1422] rounded-full flex items-center justify-center",children:(0,t.jsx)(i.X,{className:"w-6 h-6 text-white"})}),(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsx)("h3",{className:"text-xl lg:text-2xl font-bold text-[#D30013] mb-3",children:"Search Error"}),l.errors&&(0,t.jsx)("div",{className:"space-y-3",children:Object.entries(l.errors).map(e=>{let[i,s]=e;return(0,t.jsxs)("div",{className:"text-sm",children:[(0,t.jsxs)("span",{className:"font-semibold text-gray-700 capitalize block mb-2 text-base",children:[i,":"]}),Array.isArray(s)?(0,t.jsx)("ul",{className:"list-disc list-inside text-[#D30013] space-y-1 ml-2",children:s.map((e,i)=>(0,t.jsx)("li",{className:"text-sm",children:e},i))}):(0,t.jsx)("span",{className:"text-[#D30013]",children:s})]},i)})})]})]})})})}):null}),(0,t.jsx)("div",{className:"px-6 lg:px-8 py-5 border-t border-gray-200 bg-gradient-to-r from-gray-50 to-white flex-shrink-0",children:(0,t.jsx)("button",{onClick:()=>o(!1),className:"w-[200px] py-2.5 px-6 text-base font-semibold text-[#D30013] border-2 border-[#D30013] rounded-xl hover:bg-[#D30013] hover:text-white transition-all duration-300 transform hover:scale-[1.02] active:scale-[0.98] shadow-sm hover:shadow-md",children:u.searchResultsClose||"Close"})})]})})]}):null}])},18914,(e,t,i)=>{t.exports=JSON.parse('{"en":{"topBar":{"admissions":{"label":"Admissions","url":"/admissions"},"careers":{"label":"Careers","url":"/working-at-dulwich"},"contact":{"label":"Contact","url":"/contact"}},"siteMapLabel":"See Full Site Map","scList":"Schools","desktopNav":[{"id":"about","label":"About","links":[{"title":"Our Origins","url":"/about-dulwich/our-origins"},{"title":"Vision & Values","url":"/about-dulwich/vision-and-values"},{"title":"School Locations","url":"/about-dulwich/school-locations"},{"title":"Offerings","url":"/about-dulwich/offerings"}],"cards":[{"heading":"LIVE WORLDWISE","url":"/about-dulwich/live-worldwise","imageKey":"live","imageAlt":"Visit Us","description":"We nurture students to Live Worldwise and develop the skills and character to make a positive difference in the world.","buttonText":"Live Worldwise"},{"heading":"EDUCATIONAL LEADERSHIP","url":"/about-dulwich/educational-leadership","imageKey":"el","imageAlt":"Educational Leadership","description":"The Dulwich Educational Leadership team bring deep expertise and proven excellence to teaching and learning across our network.","buttonText":"Educational Leadership"}]},{"id":"live","label":"Live","links":[{"title":"Visual & Performing Arts","url":"/live/visual-performing-arts"},{"title":"Sports","url":"/live/sports"},{"title":"STEM","url":"/live/stem-se21"},{"title":"Mandarin","url":"/live/mandarin"},{"title":"Sustainability & Global Citizenship","url":"/live/sustainability-and-global-citizenship"},{"title":"Ignite: Switzerland","url":"/live/ignite-switzerland-programme"}],"cards":[{"heading":"STUDENT LEADERSHIP","url":"/live/student-leadership","imageKey":"sle","imageAlt":"Student Leadership","description":"Dulwich students are empowered with the motivation, confidence, and skillset to lead with purpose.","buttonText":"Student Leadership"},{"heading":"WELLBEING","url":"/live/wellbeing","imageKey":"well","imageAlt":"Wellbeing","description":"Students are our top priority. Their wellbeing, needs, and talents are at the heart of everything we do.","buttonText":"Wellbeing"}]},{"id":"world","label":"World","links":[{"title":"Family of Schools","url":"/world/one-family-of-schools"},{"title":"Global Partnership","url":"/world/global-partnerships"},{"title":"EIMx","url":"/world/eimx-summer-camps"},{"title":"Dulwich Life","url":"/dulwich-life"}],"cards":[{"heading":"WORLDWISE ALUMNI NETWORK","url":"/world/worldwise-alumni-network","imageKey":"wan","imageAlt":"Worldwise Alumni Network","description":"Our 8,000-strong Worldwise Alumni Network connects graduates around the world, fostering lifelong relationships, professional growth, and a shared commitment to positive impact.","buttonText":"Worldwise Alumni Network"},{"heading":"Worldwise Events","url":"/world/worldwise-events","imageKey":"we","imageAlt":"Worldwise Events","description":"Worldwise Events bring our global community together through collaborative learning with leading practitioners and educators, connecting theory with real-world impact.","buttonText":" Worldwise Events"}]},{"id":"wise","label":"Wise","links":[],"cards":[{"heading":"ACADEMIC EXCELLENCE","url":"/wise/academic-results","imageKey":"excel","imageAlt":"Academic Excellence","description":"Dulwich Colleges and high schools continue to deliver exceptional outcomes, with our campuses recognised among the best IB schools in their country and region.","buttonText":"Academic Excellence"},{"heading":"University Matriculation","url":"/wise/university-matriculation","imageKey":"matric","imageAlt":"University Matriculation","description":"Each year, Dulwich graduates matriculate to leading universities worldwide, reflecting their academic excellence, global outlook, and diverse ambitions.","buttonText":"University Matriculation"},{"heading":"University & Careers Counselling","url":"/wise/university-and-careers-counselling","imageKey":"uni","imageAlt":"uni","description":"We begin our unique university and careers counselling programme in Year 7, and introduce students to age-appropriate university and careers topics until they graduate. Our students are well prepared to leave Dulwich as Worldwise graduates.","buttonText":"University & Careers Counselling"}]}],"mobileNav":[{"id":"about","label":"About","type":"sectioned","borderFull":false,"sections":[{"heading":"HIGHLIGHTED","style":"highlighted","links":[{"title":"Educational Leadership","url":"/about-dulwich/educational-leadership","image":"el"},{"title":"Live Worldwise","url":"/about-dulwich/live-worldwise","image":"live"}]},{"heading":"ABOUT","style":"normal","links":[{"title":"Our Origins","url":"/about-dulwich/our-origins"},{"title":"Vision & Values","url":"/about-dulwich/vision-and-values"},{"title":"School Locations","url":"/about-dulwich/school-locations"}
95,{"title":"Offerings","url":"/about-dulwich/offerings"}]}]},{"id":"live","label":"Live","type":"sectioned","borderFull":false,"sections":[{"heading":"HIGHLIGHTED","style":"highlighted","links":[{"title":"Student Leadership","url":"/live/student-leadership","image":"sle"},{"title":"Wellbeing","url":"/live/wellbeing","image":"well"}]},{"heading":"LIVE","style":"normal","links":[{"title":"Visual & Performing Arts","url":"/live/visual-performing-arts"},{"title":"Sports","url":"/live/sports"},{"title":"STEM","url":"/live/stem-se21"},{"title":"Mandarin","url":"/live/mandarin"},{"title":"Sustainability & Global Citizenship","url":"/live/sustainability-and-global-citizenship"},{"title":"Ignite: Switzerland","url":"/live/ignite-switzerland-programme"}]}]},{"id":"world","label":"World","type":"sectioned","borderFull":false,"sections":[{"heading":"HIGHLIGHTED","style":"highlighted","links":[{"title":"Worldwise Alumni Network","url":"/world/worldwise-alumni-network","image":"wan"},{"title":"Worldwise Events","url":"/world/worldwise-events","image":"we"}]},{"heading":"WORLD","style":"normal","links":[{"title":"Family of Schools","url":"/world/one-family-of-schools"},{"title":"Global Partnership","url":"/world/global-partnerships"},{"title":"EIMx","url":"/world/eimx-summer-camps"},{"title":"Dulwich Life","url":"/dulwich-life"}]}]},{"id":"wise","label":"Wise","type":"sectioned","borderFull":true,"sections":[{"heading":"HIGHLIGHTED","style":"highlighted","links":[{"title":"Academic Excellence","url":"/wise/academic-results","image":"excel"},{"title":"University Matriculation","url":"/wise/university-matriculation","image":"matric"},{"title":"University & Careers Counselling","url":"/wise/university-and-careers-counselling","image":"uni"}]}]}],"mobileExtraLinks":[{"label":"See Full Site Map","href":"/sitemap"},{"label":"Admissions","href":"/admissions"},{"label":"Careers","href":"/working-at-dulwich"}]},"zh":{"topBar":{"admissions":{"label":"æç","url":"/zh/admissions"},"careers":{"label":"è䏿ºä¼","url":"/zh/working-at-dulwich"},"contact":{"label":"Contact","url":"/contact"}},"siteMapLabel":"æ¥ç宿´ç½ç«å°å¾","scList":"妿 ¡","desktopNav":[{"id":"about","label":"å
³äºå¾·å¨","links":[{"title":"èµ·æº","url":"/zh/about-dulwich/our-origins"},{"title":"æ¿æ¯ä¸ä»·å¼è§","url":"/zh/about-dulwich/vision-and-values"},{"title":"æ¥æ¾å¦æ ¡","url":"/zh/about-dulwich/school-locations"},{"title":"课ç¨ä½ç³»","url":"/zh/about-dulwich/offerings"}],"cards":[{"heading":"Live Worldwise","url":"/zh/about-dulwich/live-worldwise","imageKey":"live","imageAlt":"è®¿é®æä»¬","description":"å¾·å¨å¹å
»å¦çå¿æä¸çãç¿å¼æªæ¥ï¼åå±å¦ççè½åä¸åæ ¼ï¼ä¸ºä¸çåé 积æå½±åã","buttonText":"Live Worldwise"},{"heading":"妿¯é¢å¯¼å¢é","url":"/zh/about-dulwich/educational-leadership","imageKey":"el","imageAlt":"Educational Leadership","description":"å¾·å¨å¦æ¯é¢å¯¼å¢é以深åçä¸ä¸ç»éªä¸åè¶å®è·µï¼å¼é¢æ´ä¸ªå¦æ ¡å¤§å®¶åºçæå¦ä¸å¦ä¹ åå±ã","buttonText":"妿¯é¢å¯¼å¢é"}]},{"id":"live","label":"Live","links":[{"title":"è§è§ä¸è¡¨æ¼èºæ¯","url":"/zh/live/visual-performing-arts"},{"title":"è¿å¨","url":"/zh/live/sports"},{"title":"STEM","url":"/zh/live/stem-se21"},{"title":"ä¸æè¯¾ç¨","url":"/zh/live/mandarin"},{"title":"坿ç»åå±ä¸å
¨çå
¬æ°æè¯","url":"/zh/live/sustainability-and-global-citizenship"},{"title":"Ignite: Switzerland","url":"/zh/live/ignite-switzerland-programme"}],"cards":[{"heading":"å¦çé¢å¯¼å","url":"/zh/live/student-leadership","imageKey":"sle","imageAlt":"Student Leadership","description":"å¾·å¨å¦ç被èµè½ä»¥å¨åãèªä¿¡ä¸è½åï¼ä»¥ç®æ ä¸è´£ä»»æå¼é¢æªæ¥ã","buttonText":"å¦çé¢å¯¼å"},{"heading":"身å¿å¥åº·","url":"/zh/live/wellbeing","imageKey":"well","imageAlt":"å¥åº·","description":"å¦çå§ç»æ¯æä»¬çé¦è¦å
³æ³¨ï¼ä»ä»¬ç身å¿å¥åº·ãæé¿éæ±ä¸ä¸ªäººå¤©èµæ¯æä»¬ä¸åå·¥ä½çæ ¸å¿ã","buttonText":"身å¿å¥åº·"}]},{"id":"World","label":"World","links":[{"title":"å¾·å¨å¤§å®¶åº","url":"/zh/world/one-family-of-schools"},{"title":"å
¨çæç¥åä½","url":"/zh/world/global-partnerships"},{"title":"EIMx","url":"/zh/world/eimx-summer-camps"},{"title":"å¾·å¨èç¦","url":"/zh/dulwich-life"}],"cards":[{"heading":"æºèå
¨çæ ¡åä¼","url":"/zh/world/worldwise-alumni-network","imageKey":"wan","imageAlt":"Worldwise æ ¡åç½ç»","de
95scription":"è¶
è¿ 8,000 ä½åæåç»æçæ ¡åç½ç»è¿æ¥å
¨çæ¯ä¸çï¼ä¿è¿é¿ä¹
èç³»ä¸èä¸åå±ï¼å
±å积æå½±åã","buttonText":"æºèå
¨çæ ¡åä¼"},{"heading":"æºèå
¨çæ´»å¨","url":"/zh/world/worldwise-events","imageKey":"we","imageAlt":"å½é
ç»éª","description":"æºèå
¨çæ´»å¨éè¿ä¸ä¸çé¢å
å®è·µè
䏿è²è
çå使å¦ï¼å°å¾·å¨å
¨ç社åºè¿æ¥å¨ä¸èµ·ï¼è®©ç¥è¯ä¸ç°å®ä¸ç产ççæ£çèç³»ã","buttonText":"æºèå
¨çæ´»å¨"}]},{"id":"wise","label":"Wise","links":[],"cards":[{"heading":"妿¯åè¶","url":"/zh/wise/academic-results","imageKey":"excel","imageAlt":"妿¯åè¶","description":"妿¯åè¶æ¯å¾·å¨åç¾å¹´çä¼ ç»ï¼åæå¾·å¨å½é
妿 ¡è¢«å¹¿æ³è®¤å¯ä¸ºå
¨å½çè³äºæ´²é¡¶å°ç IB 妿 ¡ï¼å¾·å¨åå¹´èèä¸å½å½é
妿 ¡IBæè¡æ¦ç¬¬ä¸åã","buttonText":"妿¯åè¶"},{"heading":"大å¦å妿æ","url":"/zh/wise/university-matriculation","imageKey":"matric","imageAlt":"大å¦å
¥å¦èµæ ¼","description":"æ¯å¹´ï¼å¾·å¨æ¯ä¸çè¿å
¥ä¸çåå°é¡¶å°å¤§å¦æ·±é ï¼å±ç°åºåè¶ç妿¯è½åãå½é
è§éä¸å¤å
å¿åã","buttonText":"大å¦å妿æ"},{"heading":"åå¦å就䏿坼","url":"/zh/wise/university-and-careers-counselling","imageKey":"uni","imageAlt":"uni","description":"æä»¬ä»ä¸å¹´çº§å¼å§å¼å±ç¬ç¹ç大å¦ä¸èä¸è§åè¾
导项ç®ï¼å¹¶å¨å¦çæ¯ä¸ä¹åæç»åä»ä»¬ä»ç»ç¬¦åå
¶å¹´é¾é¶æ®µç大å¦åèä¸ç¸å
³å
容ãæä»¬çå¦çå¨ç¦»å¼å¾·å¨æ¶ï¼å·²ç»æé¿ä¸ºå
·æå
¨çè§éçæ¯ä¸çã","buttonText":"åå¦å就䏿坼"}]}],"mobileNav":[{"id":"about","label":"å
³äºæä»¬","type":"sectioned","borderFull":"false","sections":[{"heading":"é«äº®æ¾ç¤º","style":"highlighted","links":[{"title":"妿¯é¢å¯¼å¢é","url":"/zh/about-dulwich/educational-leadership","image":"el"},{"title":"Live Worldwise","url":"/zh/about-dulwich/live-worldwise","image":"live"}]},{"heading":"å
³äºæä»¬","style":"normal","links":[{"title":"èµ·æº","url":"/zh/about-dulwich/our-origins"},{"title":"æ¿æ¯ä¸ä»·å¼è§","url":"/zh/about-dulwich/vision-and-values"},{"title":"æ¥æ¾å¦æ ¡","url":"/zh/about-dulwich/school-locations"},{"title":"课ç¨ä»ç»","url":"/zh/about-dulwich/offerings"}]}]},{"id":"live","label":"Live","type":"sectioned","borderFull":"false","sections":[{"heading":"é«äº®æ¾ç¤º","style":"highlighted","links":[{"title":"å¦çé¢å¯¼å","url":"/zh/live/student-leadership","image":"sle"},{"title":"å¥åº·","url":"/zh/live/wellbeing","image":"well"}]},{"heading":"ç´æ","style":"normal","links":[{"title":"è§è§ä¸è¡¨æ¼èºæ¯","url":"/zh/live/visual-performing-arts"},{"title":"è¿å¨","url":"/zh/live/sports"},{"title":"STEM","url":"/zh/live/stem-se21"},{"title":"ä¸æè¯¾ç¨","url":"/zh/live/mandarin"},{"title":"坿ç»åå±ä¸å
¨çå
¬æ°æè¯","url":"/zh/live/sustainability-and-global-citizenship"},{"title":"Ignite: Switzerland","url":"/zh/live/ignite-switzerland-programme"}]}]},{"id":"World","label":"World","type":"sectioned","borderFull":false,"sections":[{"heading":"é«äº®æ¾ç¤º","style":"highlighted","links":[{"title":"æºèå
¨çæ ¡åä¼","url":"/zh/world/worldwise-alumni-network","image":"wan"},{"title":"æºèå
¨çæ´»å¨","url":"/zh/world/worldwise-events","image":"we"}]},{"heading":"World","style":"normal","links":[{"title":"å¾·å¨å¤§å®¶åº","url":"/zh/world/one-family-of-schools"},{"title":"å
¨çæç¥åä½","url":"/zh/world/global-partnerships"},{"title":"EIMx","url":"/zh/world/eimx-summer-camps"},{"title":"å¾·å¨èç¦","url":"/zh/dulwich-life"}]}]},{"id":"wise","label":"Wise","type":"sectioned","borderFull":true,"sections":[{"heading":"é«äº®æ¾ç¤º","style":"highlighted","links":[{"title":"åå¦å就䏿坼","url":"/zh/wise/academic-results","image":"excel"},{"title":"大å¦å妿æ","url":"/zh/wise/university-matriculation","image":"matric"},{"title":"大å¦åèä¸å¨è¯¢","url":"/zh/wise/university-and-careers-counselling","image":"uni"}]}]}],"mobileExtraLinks":[{"label":"宿´ç½ç«å°å¾","href":"/sitemap"},{"label":"æç","href":"/zh/admissions"},{"label":"è䏿ºä¼","href":"/zh/working-at-dulwich"}]}}')},41977,e=>{"use strict";e.i(47167);var t=e.i(43476),i=e.i(71645),s=e.i(76958),r=e.i(64659),o=e.i(76411),n=e.i(21385),a=e.i(54144),l=e.i(18914),c=e.i(21378);let d=e=>{let t=e.title?.toLowerCase()||"",i=e.highlight_menu?.description?.toLowerCase()||"";return t.includes("experiential learning")||i.includes("experiential")?"el":t.includes("live worldwise")||t.includes("worldwise")?"live":t.includes("matriculation")||t.includes("university")?"matric":t.includes("student leadership")||t.includes("leadership")?"sle":t.includes("wellbeing")||t.includes("well-being")?"wellbeing":t.includes("worldwide")||t.includes("global")?"wan":t.includes("we are dulwich")?"we":t.includes("excellence")||t.includes("excel")?"excel":t.includes("university")||t.includes("higher education")?"uni":t.includes("curriculum")||t.includes("academic")?"curriculum":t.includes("co-curricular")||t.includes("cocurricular")?"co-curricular":"curriculum"},u=e=>{let t=[];
95return Array.isArray(e)&&e.forEach(e=>{e.highlight_menu&&t.push(e),e.items&&e.items.length>0&&t.push(...u(e.items))}),t},h=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en",i="zh"===t;return{desktopNav:e?.success&&Array.isArray(e?.data)?e.data.map(e=>{let t=e.items||[],i=t.filter(e=>!e.highlight_menu).map(e=>({id:e.id,title:e.title,header_menu_title:e.header_menu_title,url:e.url&&"#"!==e.url?e.url:null,type:e.type||"Internal_page"})),s=u(t);s.sort((e,t)=>{let i=e=>{let t=e.highlight_menu?.weight;return null==t||""===t?999999:Number(t)};return i(e)-i(t)}),t.filter(e=>e.highlight_menu);let r=t.filter(e=>!e.highlight_menu);return{id:e.id,label:e.title,subsectionLinks:i,links:r.map(e=>({title:e.title,header_menu_title:e.header_menu_title,url:e.url,type:e.type||"Internal_page"})),cards:s.map(e=>({heading:e.title,url:e.url,imageKey:d(e),imageUrl:e.highlight_menu?.image,imageAlt:e.title,description:e.highlight_menu?.description||"",buttonText:"Learn More",type:e.type||"Internal_page"}))}}):[],mobileNav:e?.success&&Array.isArray(e?.data)?e.data.map(e=>{let t=e.items||[],i=t.filter(e=>e.highlight_menu),s=t.filter(e=>!e.highlight_menu),r=i.sort((e,t)=>{let i=e=>{let t=e.highlight_menu?.weight;return null==t||""===t?999999:Number(t)};return i(e)-i(t)}),o=i.length>0?"complex":"simple";if("simple"===o)return{id:e.id,label:e.title,url:e.url,type:o,linkType:e.type||"Internal_page",borderFull:!0,links:s.map(e=>({title:e.title,header_menu_title:e.header_menu_title,url:e.url,type:e.type||"Internal_page"}))};{let t=[];return r.length>0&&t.push({heading:"HIGHLIGHTED",style:"highlighted",links:r.map(e=>({title:e.title,header_menu_title:e.header_menu_title,url:e.url,image:d(e),imageUrl:e.highlight_menu?.image,type:e.type||"Internal_page"}))}),s.length>0&&t.push({heading:e.title.toUpperCase(),style:"regular",links:s.map(e=>({title:e.title,header_menu_title:e.header_menu_title,url:e.url,type:e.type||"Internal_page"}))}),{id:e.id,label:e.title,url:e.url,type:o,linkType:e.type||"Internal_page",borderFull:!0,sections:t}}}):[],topBar:{admissions:{label:i?"æç":"Admissions",url:i?"/zh/admissions":"/admissions"},careers:{label:i?"è䏿ºä¼":"Careers",url:i?"/zh/careers":"/careers"},contact:{label:i?"èç³»æä»¬":"Contact",url:i?"/zh/contact":"/contact"}},mobileExtraLinks:[{label:i?"æ¥ç宿´ç«ç¹å°å¾":"See Full Site Map",href:i?"/zh/sitemap":"/sitemap",icon:"Icon-Schools"}],scList:i?"æä»¬ç妿 ¡":"Our Schools",siteMapLabel:i?"æ¥ç宿´ç½ç«å°å¾":"See Full Site Map",searchResultsTitle:i?"æç´¢ç»æ":"Search Results",searchResultsClose:i?"å ³é":"Close"}};var m=e.i(94075);e.s(["default",0,function(e){let{selectedSchool:d,setSelectedSchool:u,setSelectedSchoolSlug:p,setChatOpen:f,chatOpen:g,pageLayoutType:x}=e,[v,y]=(0,i.useState)(!1),[b,w]=(0,i.useState)(!1),[k,j]=(0,i.useState)("EN"),[C,M]=(0,i.useState)(null),[S,N]=(0,i.useState)(!1),[z,I]=(0,i.useState)(!1),[E,A]=(0,i.useState)(""),[D,T]=(0,i.useState)(null),[F,P]=(0,i.useState)(!1),[L,_]=(0,i.useState)(!1),[R,B]=(0,i.useState)(!1),[V,O]=(0,i.useState)(1),[W,$]=(0,i.useState)(!1),U=i.default.useRef(null),H=i.default.useRef(null),{schools:Y}=(0,m.useSchools)(),q=z?"zh":"en",{data:K,isLoading:G,error:X}=(0,c.useDynamicMenu)(q),Q=i.default.useMemo(()=>K?.success?h(K,q):z?l.default.zh:l.default.en,[K,z,q]);if((0,i.useEffect)(()=>{$(!0)},[]),(0,i.useEffect)(()=>{let e=window.location.pathname,t=e.startsWith("/zh/")||"/zh"===e;I(t),j(t?"䏿":"EN")},[]),(0,i.useEffect)(()=>{let e=()=>{let e=window.scrollY>20;v!==e&&y(e)};return window.addEventListener("scroll",e,{passive:!0}),()=>{window.removeEventListener("scroll",e)}},[v]),(0,i.useEffect)(()=>(b?(document.body.style.overflow="hidden",document.body.style.position="fixed",document.body.style.width="100%",document.body.style.height="100%"):(document.body.style.overflow="",document.body.style.position="",document.body.style.width="",document.body.style.height=""),()=>{document.body.style.overflow="",document.body.style.position="",document.body.style.width="",document.body.style.height=""}),[b]),(0,i.useEffect)(()=>(g?(document.body.style.overflow="hidden",document.body.style.position="fixed",document.body.style.width="100%",document.body.style.height="100%"):(document.body.style.overflow="",document.body.style.position="",document.body.style.width="",document.body.style.height=""),()=>{document.body.style.overflow="",document.body.style.position="",document.body.style.width="",document.body.style.height=""}),[g]),(0,i.useEffect)(()=>(F?(document.body.style.overflow="hidden",document.body.style.position="fixed",document.body.style.width="100%",document.body.style.height="100%"):(document.body.style.overflow="",document.body.style.position="",document.body.style.width="",document.body.style.height="",O(1)),()=>{document.body.style.overflow="",document.body.style.position="",document.body.style.width="",document.body.style.height=""}),[F]),(0,i.useEffect)(()=>{R&&U.current&&H.current&&requestAnimationFrame(()=>{setTimeout(()=>{let e=U.current,t=H.current;if(e&&t){e.getBoundingClientRect();let i=t.getBoundingClientRect(),s=e.offsetTop-i.top-80;t.scrollTo({top:s,behavior:"smooth"})}},400)})},[R]),4===(null!=x?parseInt(x,10):null))return console.log("â Rendering MINIMAL header for international"),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("style",{children:` 96 /* Utility class for display none */ 97 .d-none { 98 display: none !important; 99 } 100 101 @keyframes smoothSlideDown { 102 from { 103 opacity: 0; 104 transform: scaleY(0.95) translateY(-10px); 105 } 106 to { 107 opacity: 1; 108 transform: scaleY(1) translateY(0); 109 } 110 } 111 112 @keyframes smoothSlideUp { 113 from { 114 opacity: 1; 115 transform: scaleY(1) translateY(0); 116 } 117 to { 118 opacity: 0; 119 transform: scaleY(0.95) translateY(-10px); 120 } 121 } 122 123 @keyframes slideInFromTop { 124 from { 125 opacity: 0; 126 transform: translateY(-10px); 127 max-height: 0; 128 } 129 to { 130 opacity: 1; 131 transform: translateY(0); 132 max-height: 2000px; 133 } 134 } 135 136 [data-radix-navigation-menu-content] { 137 transform-origin: top center; 138 } 139 140 [data-radix-navigation-menu-content][data-state="open"] { 141 animation: smoothSlideDown 200ms ease-out; 142 } 143 144 [data-radix-navigation-menu-content][data-state="closed"] { 145 animation: smoothSlideUp 150ms ease-in; 146 } 147
148 [data-state=open] .nav-content { 149 animation: smoothSlideDown 200ms ease-out; 150 transform-origin: top center; 151 } 152 153 [data-state=closed] .nav-content { 154 animation: smoothSlideUp 200ms ease-in; 155 transform-origin: top center; 156 } 157 158 /* Header minimize on scroll for page_layout_type 5 */ 159 body.header-minimized header { 160 height: 80px !important; 161 transition: height 0.3s ease-in-out; 162 overflow: hidden; 163 } 164 165 body.header-minimized header > div { 166 padding-top: 0.5rem !important; 167 padding-bottom: 0.5rem !important; 168 } 169 170 body.header-minimized header img { 171 height: 2.5rem !important; 172 transition: height 0.3s ease-in-out; 173 } 174 175 /* Custom scrollbar for mobile menu */ 176 .mobile-menu-scroll { 177 -webkit-overflow-scrolling: touch; 178 scroll-behavior: smooth; 179 overscroll-behavior: contain; 180 } 181 182 /* Prevent viewport from resizing on keyboard open */ 183 @supports (-webkit-touch-callout: none) { 184 .mobile-menu-scroll { 185 min-height: 100vh; 186 min-height: -webkit-fill-available; 187 } 188 } 189 190 .mobile-menu-scroll::-webkit-scrollbar {
191 width: 6px; 192 } 193 194 .mobile-menu-scroll::-webkit-scrollbar-track { 195 background: transparent; 196 } 197 198 .mobile-menu-scroll::-webkit-scrollbar-thumb { 199 background: #D1D5DB; 200 border-radius: 3px; 201 } 202 203 .mobile-menu-scroll::-webkit-scrollbar-thumb:hover { 204 background: #3C3737; 205 } 206 207 /* Smooth transition for mobile menu padding */ 208 .mobile-menu-scroll { 209 transition: padding-bottom 0.3s ease-out; 210 } 211 212 /* Smooth dropdown transitions */ 213 .dropdown-content { 214 overflow: hidden; 215 transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease-out; 216 } 217 218 .dropdown-content-enter { 219 max-height: 0; 220 opacity: 0; 221 } 222 223 .dropdown-content-enter-active { 224 max-height: 2000px; 225 opacity: 1; 226 } 227 228 .dropdown-content-exit { 229 max-height: 2000px; 230 opacity: 1; 231 } 232 233 .dropdown-content-exit-active { 234 max-height: 0; 235 opacity: 0; 236 } 237 238 /* Smooth chevron rotation */ 239 .chevron-rotate { 240 transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); 241 } 242 243 /* Smooth underline animation */ 244 .section-underline { 245 transform-origin: left; 246 transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); 247 } 248 249 /* Stagger animation for cards */ 250 @keyframes fadeInUp { 251 from { 252 opacity: 0; 253 transform: translateY(10px); 254 } 255 to { 256 opacity: 1; 257 transform: translateY(0); 258 } 259 } 260 261 .card-stagger-1 { 262 animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both; 263 } 264 265 .card-stagger-2 { 266 animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both; 267 } 268 269 /* Smooth link transitions */ 270 .link-item { 271 transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); 272 } 273 274 /* Search focus highlighting */ 275 .search-container-focused { 276 position: sticky; 277 bottom: 0; 278 z-index: 10; 279 } 280 281 /* Smooth keyboard appearance handling */ 282 @media screen and (max-width: 1023px) { 283 .mobile-menu-scroll { 284 scroll-padding-bottom: 400px; 285 } 286 } 287 `}),(0,t.jsx)("header",{className:"hidden lg:block fixed top-0 left-0 right-0 z-50 bg-white shadow-sm",children:(0,t.jsx)("div",{className:"px-4 py-4",children:(0,t.jsx)("div",{className:"max-w-[1120px] mx-auto flex items-left justify-left",children:(0,t.jsxs)("div",{className:"flex items-left gap-4",children:[(0,t.jsx)("img",{src:"/images/crest-logo.svg",alt:"Dulwich College",className:"h-12 w-[30px] hover:scale-110 cursor-pointer transition-all duration-200",onClick:()=>window.location.href=z?"/zh/":"/"}),(0,t.jsx)("img",{src:"/images/dci-group-logo.svg",alt:"Dulwich College International",className:"h-12 w-[305px] cursor-pointer transition-all duration-200",onClick:()=>window.location.href=z?"/zh/":"/"})]})})})}),(0,t.jsx)("header",{className:"lg:hidden fixed top-0 left-0 right-0 z-50 bg-white shadow-sm",children:(0,t.jsx)("div",{className:"px-4 py-3",children:(0,t.jsxs)("div",{className:"flex items-left justify-left",children:[(0,t.jsx)("img",{src:"/images/crest-logo.svg",alt:"Dulwich College",className:"h-12 w-auto cursor-pointer pr-3",onClick:()=>window.location.href=z?"/zh/":"/"}),(0,t.jsx)("img",{src:"/images/dci-group-logo.svg",alt:"Dulwich College International",className:"w-[220px] cursor-pointer",onClick:()=>window.location.href=z?"/zh/":"/"})]})})})]});let Z=e=>{let t;e.preventDefault();let i=window.location.pathname,s=window.location.search,r=window.location.hash;z?""===(t=i.replace(/^\/zh(\/|$)/,"/"))&&(t="/"):t="/"===i?"/zh/":i.startsWith("/")?"/zh"+i:"/zh/"+i,window.location.href=t+s+r},J=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;if(e&&e.preventDefault(),E.trim()){_(!0),P(!0),O(t);try{let e=new URLSearchParams({query:E.trim(),page:t.toString()}),i=(0,a.getCurrentSchool)();i&&e.append("school",`${i}`),z&&e.append("locale","zh");let s=await fetch(`https://cms.dulwich.org/api/search?${e.toString()}`),r=await s.json();
287T(r)}catch(e){console.error("Search error:",e),T({success:!1,errors:{general:["Failed to fetch search results"]}})}finally{_(!1)}}},ee=e=>{if(!e||"#"===e||!W)return!1;let t=window.location.pathname;try{let i;i=e.startsWith("http://")||e.startsWith("https://")?new URL(e).pathname:e.startsWith("/")?e:"/"+e;let s=t.replace(/\/$/,"").toLowerCase(),r=i.replace(/\/$/,"").toLowerCase(),o=s.replace(/^\/zh\//,"/"),n=r.replace(/^\/zh\//,"/");return o===n}catch(t){return console.error("Error matching link URL:",e,t),!1}};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("style",{children:` 288 @keyframes smoothSlideDown { 289 from { 290 opacity: 0; 291 transform: scaleY(0.95) translateY(-10px); 292 } 293 to { 294 opacity: 1; 295 transform: scaleY(1) translateY(0); 296 } 297 } 298 299 @keyframes smoothSlideUp { 300 from { 301 opacity: 1; 302 transform: scaleY(1) translateY(0); 303 } 304 to { 305 opacity: 0; 306 transform: scaleY(0.95) translateY(-10px); 307 } 308 } 309 310 @keyframes slideInFromTop { 311 from { 312 opacity: 0; 313 transform: translateY(-10px); 314 max-height: 0; 315 } 316 to { 317 opacity: 1; 318 transform: translateY(0); 319 max-height: 2000px; 320 } 321 } 322 323 [data-radix-navigation-menu-content] { 324 transform-origin: top center; 325 } 326 327 [data-radix-navigation-menu-content][data-state="open"] { 328 animation: smoothSlideDown 200ms ease-out; 329 } 330 331 [data-radix-navigation-menu-content][data-state="closed"] { 332 animation: smoothSlideUp 150ms ease-in; 333 } 334 335 /* Header minimize on scroll for page_layout_type 5 */ 336 body.header-minimized header { 337 height: 80px !important; 338 transition: height 0.3s ease-in-out; 339 overflow: hidden; 340 } 341 342 body.header-minimized header > div { 343 padding-top: 0.5rem !important; 344 padding-bottom: 0.5rem !important; 345 } 346 347 body.header-minimized header img { 348 height: 2.5rem !important; 349 transition: height 0.3s ease-in-out; 350 } 351 352 /* Custom scrollbar for mobile menu */ 353 .mobile-menu-scroll { 354 -webkit-overflow-scrolling: touch; 355 scroll-behavior: smooth; 356 overscroll-behavior: contain; 357 } 358 359 /* Prevent viewport from resizing on keyboard open */ 360 @supports (-webkit-touch-callout: none) { 361 .mobile-menu-scroll { 362 min-height: 100vh; 363 min-height: -webkit-fill-available; 364 } 365 } 366 367 .mobile-menu-scroll::-webkit-scrollbar {
368 width: 6px; 369 } 370 371 .mobile-menu-scroll::-webkit-scrollbar-track { 372 background: transparent; 373 } 374 375 .mobile-menu-scroll::-webkit-scrollbar-thumb { 376 background: #D1D5DB; 377 border-radius: 3px; 378 } 379 380 .mobile-menu-scroll::-webkit-scrollbar-thumb:hover { 381 background: #9CA3AF; 382 } 383 384 /* Smooth transition for mobile menu padding */ 385 .mobile-menu-scroll { 386 transition: padding-bottom 0.3s ease-out; 387 } 388 389 /* Smooth dropdown transitions */ 390 .dropdown-content { 391 overflow: hidden; 392 transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease-out; 393 } 394 395 .dropdown-content-enter { 396 max-height: 0; 397 opacity: 0; 398 } 399 400 .dropdown-content-enter-active { 401 max-height: 2000px; 402 opacity: 1; 403 } 404 405 .dropdown-content-exit { 406 max-height: 2000px; 407 opacity: 1; 408 } 409 410 .dropdown-content-exit-active { 411 max-height: 0; 412 opacity: 0; 413 } 414 415 /* Smooth chevron rotation */ 416 .chevron-rotate { 417 transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); 418 } 419 420 /* Smooth underline animation */ 421 .section-underline { 422 transform-origin: left; 423 transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); 424 } 425 426 /* Stagger animation for cards */ 427 @keyframes fadeInUp { 428 from { 429 opacity: 0; 430 transform: translateY(10px); 431 } 432 to { 433 opacity: 1; 434 transform: translateY(0); 435 } 436 } 437 438 .card-stagger-1 { 439 animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both; 440 } 441 442 .card-stagger-2 { 443 animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both; 444 } 445 446 /* Smooth link transitions */ 447 .link-item { 448 transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); 449 } 450 451 /* Search focus highlighting */ 452 .search-container-focused { 453 position: sticky; 454 bottom: 0; 455 z-index: 10; 456 } 457 458 /* Smooth keyboard appearance handling */ 459 @media screen and (max-width: 1023px) { 460 .mobile-menu-scroll { 461 scroll-padding-bottom: 400px; 462 } 463 } 464 465 /* Image loading skeleton animation */ 466 @keyframes shimmer { 467 0% { 468 background-position: -468px 0; 469 } 470 100% { 471 background-position: 468px 0; 472 } 473 } 474 475 .image-skeleton { 476 background: #f0f0f0; 477 background-image: linear-gradient( 478 to right, 479 #f0f0f0 0%, 480 #e0e0e0 20%, 481 #f0f0f0 40%, 482 #f0f0f0 100% 483 ); 484 background-repeat: no-repeat; 485 background-size: 800px 100%; 486 animation: shimmer 1.5s linear infinite; 487 } 488 489 .image-loaded { 490 animation: fadeIn 0.5s ease-in; 491 } 492 493 @keyframes fadeIn { 494 from { 495 opacity: 0; 496 } 497 to { 498 opacity: 1; 499 } 500 } 501 `}),(0,t.jsxs)("header",{className:"hidden lg:block fixed top-0 left-0 right-0 z-50 bg-white shadow-sm",children:[g&&(0,t.jsx)("div",{className:"",children:(0,t.jsxs)("div",{className:"max-w-[1120px] mx-auto flex items-center justify-end gap-3 shadow-sm",children:[(0,t.jsx)("button",{onClick:()=>f(!1),className:"w-5 h-5 flex items-center justify-center rounded-full bg-[#3d3d3d] hover:bg-[#555] transition-colors","aria-label":"Close chat",children:(0,t.jsx)(o.default,{icon:"Close-Button",size:24,color:"white"})}),(0,t.jsxs)("div",{className:"relative d-none",children:[(0,t.jsxs)("button",{className:"flex bg-[#FAF7F5] items-center gap-2 px-4 py-6 text-sm font-medium transition-all duration-300",style:{color:"##3C3737"},onClick:()=>f(!1),children:[z?"å¨è¯¢ AI":"Ask AI",(0,t.jsx)(o.default,{icon:"Icon-AI",size:20,color:"#D30013",className:"transition-all duration-300"})]}),(0,t.jsx)("div",{className:"absolute -bottom-0 left-0 right-0 h-2 bg-[#9E1422]"})]}),(0,t.jsx)("div",{className:"flex items-center gap-3 py-3",children:(0,t.jsx)("a",{href:z?"/zh/find-a-school":"/find-a-school",children:(0,t.jsxs)("button",{className:"group flex items-center gap-2 px-5 py-3.5 text-sm text-white rounded-lg transition-all duration-300 ease-in-out transform hover:scale-105 hover:shadow-lg active:scale-95",style:{backgroundColor:"#D30013"},onMouseEnter:e=>{e.currentTarget.style.backgroundColor="#B8000F"},onMouseLeave:e=>{e.currentTarget.style.backgroundColor="#D30013"}
501,children:[z?"æ¥æ¾å¦æ ¡":"Find a School",(0,t.jsx)(o.default,{icon:"Find-a-School_White",size:18,color:"white",className:"pb-[2px]"})]})})})]})}),!g&&(0,t.jsxs)(t.Fragment,{children:[!v&&(0,t.jsx)("div",{className:"px-4 py-2 transition-all duration-200 ease-out",children:(0,t.jsxs)("div",{className:"max-w-[1120px] mx-auto px-5 flex items-center justify-between",children:[(0,t.jsxs)("div",{className:"flex items-center gap-8",children:[(0,t.jsx)("img",{src:"/images/crest-logo.svg",alt:"Dulwich College",className:"transition-all duration-200 ease-out h-12 w-[30px] hover:scale-110 cursor-pointer",onClick:()=>window.location.href=z?"/zh/":"/"}),(0,t.jsx)("img",{src:"/images/dci-group-logo.svg",alt:"Dulwich College International",className:"h-12 w-[305px] transition-all duration-500 ease-out cursor-pointer",onClick:()=>window.location.href=z?"/zh/":"/"})]}),(0,t.jsxs)("div",{className:"flex items-center gap-4 font-medium text-sm text-[#3C3C3B]",children:[(0,t.jsx)("a",{href:Q.topBar.admissions.url,target:"_blank",rel:"noopener noreferrer",className:"link_dci_admissions ext-sm text-[#3C3C3B] hover:text-[#9E1422] transition-colors",style:{lineHeight:"2.2",borderRight:"1px solid #E3D9D1",paddingRight:"20px"},children:Q.topBar.admissions.label}),(0,t.jsx)("a",{href:Q.topBar.contact.url,className:"link_dci_contact hover:text-[#D30013] transition-colors",children:Q.topBar.contact.label}),"singapore"!==(0,a.getCurrentSchool)()&&(0,t.jsx)("a",{href:"",onClick:Z,className:"hover:text-[#9E1422] font-extrabold transition-colors px-2",children:z?"EN":"䏿"})]})]})}),(0,t.jsx)("div",{className:`px-4 ${v?"py-3":"py-4"} transition-all duration-200 ease-out`,children:(0,t.jsxs)("div",{className:"max-w-[1120px] mx-auto px-5 flex items-center justify-between",children:[(0,t.jsxs)("div",{className:`w-full flex items-center justify-left gap-5 transition-all duration-200 ease-out ${v?"ml-[0%]":"ml-[2%]"}`,children:[v&&(0,t.jsx)("div",{className:"flex items-center gap-4 transition-all duration-200 ease-out",style:{animation:"smoothSlideDown 200ms ease-out"},children:(0,t.jsx)("img",{src:"/images/crest-logo.svg",alt:"Dulwich College",className:"transition-all duration-200 ease-out h-12 w-12 hover:scale-110 cursor-pointer",onClick:()=>window.location.href=z?"/zh/":"/"})}),(0,t.jsx)(s.Root,{className:"flex",onValueChange:e=>N(!!e),delayDuration:100,children:(0,t.jsx)(s.List,{className:"flex items-left gap-1",children:Q.desktopNav.map(e=>{let i=(e=>{let t;if(!e||!W)return!1;let i=window.location.pathname;return(t=[],e.links&&Array.isArray(e.links)&&e.links.forEach(e=>{e.url&&t.push(e.url)}),e.cards&&Array.isArray(e.cards)&&e.cards.forEach(e=>{e.url&&t.push(e.url)}),e.sections&&Array.isArray(e.sections)&&e.sections.forEach(e=>{e.links&&Array.isArray(e.links)&&e.links.forEach(e=>{e.url&&t.push(e.url)})}),t).some(e=>{if(!e||"#"===e)return!1;try{let t;t=e.startsWith("http://")||e.startsWith("https://")?new URL(e).pathname:e.startsWith("/")?e:"/"+e;let s=i.replace(/\/$/,"").toLowerCase(),r=t.replace(/\/$/,"").toLowerCase(),o=s.replace(/^\/zh\//,"/"),n=r.replace(/^\/zh\//,"/");if(o===n||o.startsWith(n+"/"))return!0;return!1}catch(t){return console.error("Error matching URL:",e,t),!1}})})(e),r="Tab"===e.linkType,n="External_link"===e.linkType,a=!r&&e.url&&"#"!==e.url;return(0,t.jsxs)(s.Item,{children:[(0,t.jsx)(s.Trigger,{asChild:!0,className:"group px-5 py-1 text-[16px] font-base text-[#3C3C3B] hover:text-gray-900 data-[state=open]:text-gray-900 outline-none transition-all duration-200 relative cursor-pointer",children:a?(0,t.jsxs)("a",{href:e.url,target:n?"_blank":void 0,rel:n?"noopener noreferrer":void 0,children:[e.label,(0,t.jsx)("span",{className:`absolute -bottom-5 left-0 w-full h-2 bg-[#9E1422] ${i?"scale-x-100":"scale-x-0"} group-hover:scale-x-100 group-data-[state=open]:scale-x-100 transition-all duration-200 origin-left`})]}):(0,t.jsxs)("button",{children:[e.label,(0,t.jsx)("span",{className:`absolute -bottom-5 left-0 w-full h-2 bg-[#9E1422] ${i?"scale-x-100":"scale-x-0"} group-hover:scale-x-100 group-data-[state=open]:scale-x-100 transition-all duration-200 origin-left`})]})}),(0,t.jsx)(s.Content,{className:`fixed left-0 right-0 ${v?"top-[72px]":"top-[140px]"} w-full transition-all duration-200 ease-out z-[60]`,style:{transformOrigin:"top",animation:"none"},children:(0,t.jsx)("div",{className:"w-full bg-white",children:(0,t.jsxs)("div",{className:"w-[1120px] mx-auto px-4 py-8",children:[(0,t.jsxs)("div",{className:"grid grid-cols-3 gap-8 mb-8",children:[e.links.length>0&&(0,t.jsx)("div",{className:"text-left",children:(0,t.jsx)("ul",{className:"space-y-4",children:e.links.map((e,i)=>{let s=ee(e.url),r="Tab"===e.type,o="External_link"===e.type;return(0,t.jsx)("li",{children:r?(0,t.jsx)("span",{className:"text-base text-[#3C3C3B] cursor-default",children:e.header_menu_title||e.title}):(0,t.jsx)("a",{href:e.url,target:o?"_blank":void 0,rel:o?"noopener noreferrer":void 0,className:`text-base transition-colors ${s?"text-[#D30013] font-semibold":"text-[#3C3C3B] hover:text-[#D30013]"}`,children:e.header_menu_title||e.title})},i)})})}),e.cards.map((e,i)=>{let s="Tab"===e.type,r="External_link"===e.type;return(0,t.jsxs)("div",{className:"flex flex-col h-full",children:[(0,t.jsx)("h3",{className:"text-[12px] text-left font-bold text-[#3C3C3B] mb-4 tracking-widest uppercase h-8 flex items-start",children:e.heading}),(0,t.jsx)("div",{className:"w-full h-40 overflow-hidden relative rounded-lg mb-4 image-skeleton",children:(0,t.jsx)("img",{src:e.imageUrl,alt:e.imageAlt,className:"w-full h-full object-cover image-loaded",onLoad:e=>e.target.parentElement.classList.remove("image-skeleton")})}),(0,t.jsxs)("div",{className:"flex-1 flex flex-col",children:[(0,t.jsx)("p",{className:"text-xs text-left text-[#3C3C3B] mb-4 leading line-clamp-3",children:e.description}),s?(0,t.jsx)("span",{className:"block w-fit px-3 py-[7px] text-xs text-[#6B7280] border border-[#D1D5DB] rounded cursor-default text-center mt-auto",children:e.heading}):(0,t.jsx)("a",{href:e.url,target:r?"_blank":void 0,rel:r?"noopener noreferrer":void 0,className:"block w-fit px-3 py-[7px] text-xs text-[#D30013] border border-[#D30013] rounded hover:bg-[#9E1422] hover:text-white transition-all duration-200 text-center mt-auto",children:e.heading})]})]},i)})]}),(0,t.jsxs)("div",{className:"pt-6 border-t col-span-2 border-[#
501EAE8E4] flex items-center justify-between",children:[(0,t.jsx)("a",{href:z?"/zh/sitemap":"/sitemap",className:"text-sm text-[#3C3C3B] hover:text-[#D30013] transition-colors",children:Q.siteMapLabel}),(0,t.jsxs)("form",{onSubmit:J,className:"relative w-[50%]",children:[(0,t.jsx)("div",{className:"absolute left-3 top-1/2 -translate-y-1/2",children:(0,t.jsx)(o.default,{icon:"Icon-Search",size:16,color:"#9CA3AF"})}),(0,t.jsx)("input",{type:"text",placeholder:z?"æç´¢":"Search",value:E,onChange:e=>A(e.target.value),autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:"false",className:"w-full pl-10 pr-4 py-2 border border-[#EAE8E4] rounded-lg text-sm focus:outline-none focus:ring-2 focus:ring-[#D30013] focus:border-transparent"})]})]})]})})})]},e.id)})})})]}),(0,t.jsxs)("div",{className:"w-full flex justify-end items-center gap-3 d-none",children:[(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsxs)("button",{onClick:()=>f&&f(!g),className:`d-none hidden group items-center gap-2 px-4 py-3 text-sm font-medium border rounded-lg transition-all duration-300 ease-in-out transform hover:scale-105 active:scale-95 ${g?"shadow-md":""}`,style:{color:g?"white":"#D30013",borderColor:"#D30013",backgroundColor:g?"#D30013":"transparent"},onMouseEnter:e=>{g||(e.currentTarget.style.backgroundColor="#D30013",e.currentTarget.style.color="white")},onMouseLeave:e=>{g||(e.currentTarget.style.backgroundColor="transparent",e.currentTarget.style.color="#D30013")},children:[z?"å¨è¯¢ AI":"Ask AI",(0,t.jsx)(o.default,{icon:"Icon-AI",size:20,color:g?"white":void 0,className:"transition-all duration-300"})]}),g&&(0,t.jsx)("div",{className:"absolute -bottom-1 left-0 right-0 h-1 bg-[#D30013] rounded-full animate-in slide-in-from-bottom-2 duration-300",style:{animation:"slideIn 0.3s ease-out"}})]}),Q?.topBar?.careers&&(0,t.jsx)("a",{href:Q.topBar.careers.url,children:(0,t.jsxs)("button",{className:"cta_careers_desktop group flex items-center gap-2 px-4 py-3 text-sm font-medium border rounded-lg transition-all duration-300 ease-in-out transform hover:scale-105 active:scale-95",style:{color:"#D30013",borderColor:"#D30013"},onMouseEnter:e=>{e.currentTarget.style.backgroundColor="#FEF2F2"},onMouseLeave:e=>{e.currentTarget.style.backgroundColor="transparent"},children:[Q.topBar.careers.label,(0,t.jsx)(o.default,{icon:"Careers",size:18,color:"#D30013"})]})}),(0,t.jsx)("a",{href:z?"/zh/find-a-school":"/find-a-school",children:(0,t.jsxs)("button",{className:"cta_find-school_desktop group flex items-center gap-2 px-5 py-3.5 text-sm text-white rounded-lg transition-all duration-300 ease-in-out transform hover:scale-105 hover:shadow-lg active:scale-95",style:{backgroundColor:"#D30013"},onMouseEnter:e=>{e.currentTarget.style.backgroundColor="#B8000F"},onMouseLeave:e=>{e.currentTarget.style.backgroundColor="#D30013"},children:[z?"æ¥æ¾å¦æ ¡":"Find a School",(0,t.jsx)(o.default,{icon:"Find-a-School_White",size:18,color:"white",className:"pb-[2px]"})]})})]})]})})]})]}),S&&(0,t.jsx)("div",{className:" hidden lg:block fixed inset-0 bg-gray-400/40 z-40 transition-all duration-200 ease-out ",style:{top:v?"80px":"140px",opacity:+!!S}}),(0,t.jsx)("header",{className:"lg:hidden fixed top-0 left-0 right-0 z-50 bg-white shadow-sm",children:(0,t.jsx)("div",{className:"px-4 py-2.5 border-b border-gray-200",children:(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)("img",{src:"/images/crest-logo.svg",alt:"Dulwich College",className:"h-10 w-auto cursor-pointer pr-4",onClick:()=>window.location.href=z?"/zh/":"/"}),(0,t.jsx)("img",{src:"/images/dci-group-logo.svg",alt:"Dulwich College",className:"w-[220px] cursor-pointer",onClick:()=>window.location.href=z?"/zh/":"/"})]}),(0,t.jsx)("button",{onClick:()=>w(!0),className:"p-2 hover:bg-gray-100 rounded-lg transition-colors","aria-label":"Open menu",children:(0,t.jsx)(o.default,{icon:"Icon-Menu",size:24,color:"#D30013"})})]})})}),(0,t.jsx)("nav",{className:"lg:hidden fixed bottom-0 left-0 right-0 z-50 bg-white border-t border-gray-200 shadow-lg",children:(0,t.jsxs)("div",{className:"grid grid-cols-3 h-16",children:[(0,t.jsxs)("button",{onClick:()=>f&&f(!0),className:"hidden flex-col items-center justify-center gap-1 hover:bg-gray-50 transition-colors",children:[(0,t.jsx)(o.default,{icon:"Icon-AI",size:20,color:"#D30013"}),(0,t.jsx)("span",{className:"text-[12px] text-[#3C3C3B]",children:z?"å¨è¯¢ AI":"Ask AI"})]}),(0,t.jsxs)("a",{href:z?"/zh/admissions":"/admissions",className:"cta_admissions_mobile flex flex-col items-center justify-center gap-1 hover:bg-gray-50 transition-colors",children:[(0,t.jsx)(o.default,{icon:"Admissions",size:20,color:"#D30013"}),(0,t.jsx)("span",{className:"text-[12px] text-[#3C3C3B]",children:z?"æç":"Admissions"})]}),(0,t.jsxs)("a",{href:z?"/zh/careers":"/careers",className:"cta_careers_mobile flex flex-col items-center justify-center gap-1 hover:bg-gray-50 transition-colors",children:[(0,t.jsx)(o.default,{icon:"Careers",size:20,color:"#D30013"}),(0,t.jsx)("span",{className:"text-[12px] text-[#3C3C3B]",children:z?"èä¸åå±":"Careers"})]}),(0,t.jsxs)("a",{href:z?"/zh/find-a-school":"/find-a-school",className:"cta_find-school_mobile flex flex-col items-center justify-center gap-1 hover:bg-gray-50 transition-colors",children:[(0,t.jsx)(o.default,{icon:"Find-a-School_Red",size:18,color:"red",className:"transition-transform duration-300 group-hover:translate-x-1"}),(0,t.jsx)("span",{className:"text-[12px] text-[#3C3C3B]",children:z?"æ¥æ¾å¦æ ¡":"Find a School"})]})]})}),b&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"lg:hidden fixed inset-0 z-[100] bg-black bg-opacity-50 animate-in fade-in duration-300",onClick:()=>w(!1),style:{touchAction:"none"},onTouchMove:e=>e.preventDefault()}),(0,t.jsxs)("div",{className:"lg:hidden fixed top-0 right-0 bottom-0 w-full max-w-md z-[101] bg-white shadow-2xl transition-transform duration-300 ease-out flex flex-col",style:{transform:b?"translateX(0)":"translateX(100%)",maxHeight:"100vh",maxHeight:"100dvh"},children:[(0,t.jsxs)("div",{className:"bg-white px-3 py-4 flex items-center justify-between flex-shrink-0",children:[(0,t.jsxs)("a",{href:z?"/zh/":"/",className:"flex items-center gap-0 text-[#3C3C3B]] hover:text-[#D30013] transition-colors",children:[(0,t.jsx)("div",{className:"w-11 h-8 bg-white flex items-center justify-center",children:(0,t.jsx)(o.default,{icon:"Icon-Home",size:24,color:"#3C3C3B"})}),(0,t.jsx)("span",{className:"text-[12px] font-bold",children:z?"é¦é¡µ":"HOME"})]}),(0,t.jsx)("button",{onClick:()=>w(!1),className:"p-1 hover:bg-gray-100 rounded-full transition-colors",children:(0,t.jsx)(o.default,{icon:"Close-Button",size:38,color:"#D30013"})})]}),(0,t.jsxs)("div",{className:"flex flex-col flex-1 overflow-hidden",children:[(0,t.jsxs)("div",{ref:H,className:"flex-1 px-5 py-0 space-y-1 overflow-y-auto mobile-menu-scroll",style:{paddingBottom:R?"70vh":"1.5rem",transition:"padding-bottom 0.4s ease-out"},children:[Q.mobileNav.map(e=>
501{let s="Tab"===e.linkType,n="External_link"===e.linkType,a=!s&&e.url&&"#"!==e.url;return(0,t.jsxs)(i.default.Fragment,{children:[(0,t.jsxs)("div",{className:"relative border-b border-gray-100",children:[a?(0,t.jsxs)("div",{className:"w-full flex items-center py-4",children:[(0,t.jsx)("a",{href:e.url,target:n?"_blank":void 0,rel:n?"noopener noreferrer":void 0,className:"text-[20px] text-[#3C3C3B] font-normal hover:text-[#D30013] transition-colors",style:{width:"80%"},children:e.label}),(0,t.jsx)("button",{onClick:()=>M(C===e.id?null:e.id),className:"flex items-center justify-end",style:{width:"20%"},children:(0,t.jsx)(r.ChevronDown,{className:`chevron-rotate w-7 h-6 text-[#D30013] ${C===e.id?"rotate-180":"rotate-0"}`})})]}):(0,t.jsxs)("button",{onClick:()=>M(C===e.id?null:e.id),className:"w-full flex items-center justify-between py-4",children:[(0,t.jsx)("span",{className:"text-[20px] text-[#3C3C3B] font-normal",children:e.label}),(0,t.jsx)(r.ChevronDown,{className:`chevron-rotate w-7 h-6 text-[#D30013] ${C===e.id?"rotate-180":"rotate-0"}`})]}),(0,t.jsx)("div",{className:`section-underline absolute left-0 right-0 bottom-0 h-[4px] bg-[#9E1422] transition-transform duration-300 ${C===e.id?"scale-x-100":"scale-x-0"}`})]}),C===e.id&&(0,t.jsx)("div",{className:"dropdown-content bg-white px-0 py-3 mb-2 text-left",style:{animation:"slideInFromTop 0.4s cubic-bezier(0.4, 0, 0.2, 1)"},children:"simple"===e.type?(0,t.jsx)("div",{className:"space-y-3",children:e.links.map((e,i)=>{let s=ee(e.url),r="Tab"===e.type,o="External_link"===e.type;return r?(0,t.jsx)("span",{className:"link-item block text-[16px] py-2 text-[#3C3C3B] cursor-default",children:e.header_menu_title||e.title},i):(0,t.jsx)("a",{href:e.url,target:o?"_blank":void 0,rel:o?"noopener noreferrer":void 0,className:`link-item block text-[16px] hover:pl-2 py-2 ${s?"text-[#D30013] font-semibold bg-[#FEF2F2] pl-2":"text-[#3C3C3B] hover:text-[#D30013]"}`,children:e.header_menu_title||e.title},i)})}):(0,t.jsx)("div",{className:"space-y-6 text-left",children:e.sections.map((e,i)=>(0,t.jsxs)("div",{children:["highlighted"===e.style?(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("h3",{className:"text-[12px] font-bold text-[#3C3C3B] mb-3 uppercase tracking-[1.1px]",children:e.heading||"HIGHLIGHTED"})}):e.url&&"#"!==e.url?(0,t.jsx)("h3",{className:"text-[12px] font-bold text-[#3C3C3B] mb-4 uppercase tracking-widest",children:(0,t.jsx)("a",{href:e.url,className:"hover:text-[#D30013] transition-colors",children:e.heading})}):(0,t.jsx)("h3",{className:"text-[12px] font-bold text-[#3C3C3B] mb-4 uppercase tracking-widest",children:e.heading}),"highlighted"===e.style?(0,t.jsx)("div",{className:"grid grid-cols-2 gap-4 mb-6 text-left",children:e.links.map((e,i)=>{let s="Tab"===e.type,r="External_link"===e.type,n=s?{className:`block card-stagger-${i+1}`}:{href:e.url,target:r?"_blank":void 0,rel:r?"noopener noreferrer":void 0,className:`block group card-stagger-${i+1}`};return(0,t.jsx)(s?"div":"a",{...n,children:(0,t.jsxs)("div",{className:`bg-white rounded text-left overflow-hidden shadow-sm border border-[#F2EDE9] transition-all duration-300 ${s?"opacity-60 cursor-default":"hover:shadow-md"}`,children:[(e.imageUrl||e.image)&&(0,t.jsx)("div",{className:"aspect-[4/3] overflow-hidden relative image-skeleton",children:(0,t.jsx)("img",{src:e.imageUrl||e.image,alt:e.title,className:`w-full h-full min-w-[168px] object-cover transition-transform duration-300 image-loaded ${s?"":"group-hover:scale-105"}`,onLoad:e=>e.target.parentElement.classList.remove("image-skeleton")})}),(0,t.jsxs)("div",{className:"h-[36px] px-2 flex items-center justify-between bg-white",children:[(0,t.jsx)("span",{className:`text-[12px] leading-3 font-semibold ${s?"text-[#6B7280]":"text-[#D30013]"}`,children:e.header_menu_title||e.title}),!s&&(0,t.jsx)(o.default,{icon:"Icon-Chevron-Large",size:15,color:"#D30013",className:"font-semibold flex-shrink-0 group-hover:translate-x-1 transition-transform"})]})]})},i)})}):(0,t.jsx)("div",{className:"space-y-0",children:e.links.map((e,i)=>{let s=ee(e.url),r="Tab"===e.type,o="External_link"===e.type;return r?(0,t.jsx)("span",{className:"link-item block text-base py-3.5 border-b border-gray-100 last:border-b-0 text-[#3C3C3B] cursor-default",children:e.header_menu_title||e.title},i):(0,t.jsx)("a",{href:e.url,target:o?"_blank":void 0,rel:o?"noopener noreferrer":void 0,className:`link-item block text-base hover:pl-2 py-3.5 border-b border-gray-100 last:border-b-0 ${s?"text-[#D30013] font-semibold bg-[#FEF2F2] pl-2":"text-[#3C3C3B] hover:text-[#D30013]"}`,children:e.header_menu_title||e.title},i)})})]},i))})})]},e.id)}),(0,t.jsxs)("a",{href:z?"/zh/contact":"/contact",target:"_blank",rel:"noopener noreferrer",className:"link_dci_contact flex items-center gap-3 py-3.5 text-[14px] font-medium text-[#3C3C3B] hover:text-[#D30013] hover:pl-2 transition-colors",children:[(0,t.jsx)(o.default,{icon:"Contact-Us_Icon",size:18,color:"#000000"}),(0,t.jsx)("span",{children:z?"èç³»æä»¬":"Contact"})]}),Q.mobileExtraLinks.map((e,i)=>{let s=e.icon||({"Our Schools":"Icon-Menu","Parent Portal":"Icon_External","School C
501alendar":"Icon---Download"})[e.label]||"Icon-Arrow";if("Schools"===e.label)return null;let r="See Full Site Map"===e.label||"æ¥ç宿´ç½ç«å°å¾"===e.label?z?"/zh/sitemap":"/sitemap":e.href;return(0,t.jsxs)("a",{href:r,className:"link-item flex font-medium items-center gap-3 py-3.5 text-[14px] text-[#3C3C3B] hover:text-[#D30013] hover:pl-2",children:["See Full Site Map"===e.label||"æ¥ç宿´ç½ç«å°å¾"===e.label?(0,t.jsx)("img",{src:"/images/sitemap.png",alt:"Site Map",className:"w-5 h-5"}):(0,t.jsx)(o.default,{icon:s,size:20,color:"#3C3C3B"}),(0,t.jsx)("span",{children:e.label})]},i)}),Y&&Y.length>0&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("button",{onClick:()=>M("schools"===C?null:"schools"),className:"w-full flex items-center justify-between py-3.5 font-medium text-[14px] text-[#3C3C3B] hover:text-[#D30013] transition-colors",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)(o.default,{icon:"Icon-Menu",size:22,color:"#3C3C3B"}),(0,t.jsx)("span",{children:Q.scList||(z?"妿 ¡":"Our Schools")})]}),(0,t.jsx)(r.ChevronDown,{className:`chevron-rotate w-7 h-6x text-[#D30013] ${"schools"===C?"rotate-180":"rotate-0"}`})]}),"schools"===C&&(0,t.jsx)("div",{className:"dropdown-content rounded-lg p-3 mb-2 space-y-2",style:{animation:"slideInFromTop 0.4s cubic-bezier(0.4, 0, 0.2, 1)"},children:Y.map(e=>(0,t.jsx)("button",{onClick:()=>{let t=`${e.title}`;if(u&&u(t),p&&p(e.slug),e.url){let t=e.url.replace(/\\\//g,"/");window.location.assign(t)}w(!1)},className:`w-full text-left px-4 py-3 rounded-lg transition-all duration-300 ${d===`${e.title}`?"bg-white font-semibold text-[#D30013] scale-[1.02]":"hover:bg-white hover:scale-[1.02] text-[#4B5563]"}`,children:(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsxs)("span",{children:[" ",e.title]}),d===`${e.title}`&&(0,t.jsx)("span",{className:"text-[#D30013] text-lg",children:"â"})]})},e.id))})]}),(0,t.jsx)("div",{ref:U,className:`bg-[#fff] mt-4 pt-4 border-t border-[#F2EDE9] px-4 py-4 -mx-4 transition-all duration-300 ${R?"bg-[#FAF7F5] shadow-lg":"bg-[#FAF7F5]"}`,children:(0,t.jsxs)("div",{className:"flex items-center gap-3 ",children:[(0,t.jsxs)("form",{onSubmit:J,className:"relative flex-1 bg-[#FAF7F5]",children:[(0,t.jsx)("div",{className:"absolute left-3 top-1/2 -translate-y-1/2",children:(0,t.jsx)(o.default,{icon:"Icon-Search",size:20,color:"#3C3737"})}),(0,t.jsx)("input",{type:"text",placeholder:z?"æç´¢":"Search",value:E,onChange:e=>A(e.target.value),onFocus:()=>{B(!0)},onBlur:()=>{setTimeout(()=>{B(!1)},100)},autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:"false",inputMode:"search",className:`w-full pl-10 pr-4 py-2.5 bg-[#FAF7F5] border bottom-[#F2EDE9] rounded-lg text-sm transition-all duration-300 ${R?"border-[#D30013] ring-2 ring-[#D30013] ring-opacity-50 shadow-lg":"border-gray-300 focus:outline-none focus:ring-2 focus:ring-[#D30013] focus:border-transparent"}`})]}),"singapore"!==(0,a.getCurrentSchool)()&&(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsxs)("button",{onClick:e=>{z||Z(e)},className:`relative px-3 py-2.5 text-sm font-medium transition-colors ${"䏿"===k?"text-[#3C3737]":"text-[#3C3737] hover:text-[#3C3737]"}`,children:["䏿","䏿"===k&&(0,t.jsx)("span",{className:"absolute bottom-0 left-0 right-0 h-[4px] bg-[#9E1422]"})]}),(0,t.jsxs)("button",{onClick:e=>{z&&Z(e)},className:`relative px-3 py-2.5 text-sm font-bold transition-colors ${"EN"===k?"text-[#3C3737]":"text-[#3C3737] hover:text-[#3C3737]"}`,children:["EN","EN"===k&&(0,t.jsx)("span",{className:"absolute bottom-0 left-0 right-0 h-[4px] bg-[#9E1422]"})]})]})]})})]}),(0,t.jsx)("div",{className:"flex-shrink-0"})]})]})]}),(0,t.jsx)(n.default,{showSearchResults:F,setShowSearchResults:P,searchQuery:E,isSearching:L,searchResults:D,currentSearchPage:V,handleSearchPageChange:e=>{J(null,e)},nav:Q})]})}],41977)},30506,e=>{"use strict";let t={src:e.i(48732).default,width:1920,height:420,blurWidth:0,blurHeight:0};e.s(["default",0,t])},35500,(e,t,i)=>{t.exports={en:{ourSchools:"Find a School",pleaseSelect:"Please select",international:"International",columns:[{id:"about",label:"About",links:[{title:"Our Origins",url:"/about-dulwich/our-origins"},{title:"Vision & Values",url:"/about-dulwich/vision-and-values"},{title:"School Locations",url:"/about-dulwich/school-locations"},{title:"Offerings",url:"/about-dulwich/offerings"},{title:"Live Worldwise",url:"/about-dulwich/live-worldwise"},{title:"Educational Leadership",url:"/about-dulwich/educational-leadership"}]},{id:"live",label:"Live",links:[{title:"Visual & Performing Arts",url:"/live/visual-performing-arts"},{title:"Sports",url:"/live/sports"},{title:"STEM",url:"/live/stem-se21"},{title:"Mandarin",url:"/live/mandarin"},{title:"Sustainability & Global Citizenship",url:"/live/sustainability-and-global-citizenship"},{title:"Ignite: Switzerland",url:"/live/ignite-switzerland-programme"},{title:"Student Leadership",url:"/live/student-leadership"},{title:"Wellbeing",url:"/live/wellbeing"}]},{id:"world",label:"World",links:[{title:"Family of Schools",url:"/world/one-family-of-schools"},{title:"Global Parnerships",url:"/world/global-partnerships"},{title:"EIMx",url:"/world/eimx-summer-camps"},{title:"Dulwich Life",url:"/dulwich-life"},{title:"Worldwide Alumni Network",url:"/world/worldwise-alumni-network"},{title:"Worldwise Events",url:"/world/worldwise-events"}]},{id:"wise",label:"Wise",links:[{title:"University & Careers Counselling",url:"/wise/university-and-careers-counselling"},{title:"University Matriculation",url:"/wise/university-matriculation"},{title:"Academic Excellence",url:"/wise/academic-results"}],externalLinks:{heading:"Education In Motion (EiM)",links:[{title:"A family of Schools",url:"https://www.eimglobal.com/?utm_source=dulwich.org&utm_medium=footer-link&utm_campaign=eim-family-of-schools"}]},externalLinks2:{heading:"Founding School",links:[{title:"Dulwich College",url:"https://www.dulwich.org.uk/?utm_source=dulwich.org&utm_medium=footer-link&utm_campaign=founding-school"}]}}
501],safeguarding:{title:"Safeguarding Matters:",text:"We are fully committed to safeguarding all of our students from any form of harm or abuse. Click",linkText:"here",linkUrl:"https://dulwich.blob.core.chinacloudapi.cn/dulwich-staging/static/23-24-DCI-EN-Safeguarding-Policy_for-GroupSite_IA_20230705.pdf",suffix:"for more information."},Policy:{title:"Privacy Policy",linkUrl:"/privacy-policy"},RecruitmentPolicy:{title:"Recruitment Privacy Policy",linkUrl:"/recruitment-privacy-policy"}},zh:{ourSchools:"寻æ¾å¦æ ¡",international:"åé叿 ¡",pleaseSelect:"è¯·éæ©",columns:[{id:"about",label:"å
³äºæä»¬",links:[{title:"èµ·æº",url:"/zh/about-dulwich/our-origins"},{title:"æ¿æ¯ä¸ä»·å¼è§",url:"/zh/about-dulwich/vision-and-values"},{title:"æ¥æ¾å¦æ ¡",url:"/zh/about-dulwich/school-locations"},{title:"课ç¨ä½ç³»",url:"/zh/about-dulwich/offerings"},{title:"Live Worldwise",url:"/zh/about-dulwich/live-worldwise"},{title:"妿¯é¢å¯¼å¢é",url:"/zh/about-dulwich/educational-leadership"}]},{id:"live",label:"Live",links:[{title:"è§è§ä¸è¡¨æ¼èºæ¯",url:"/zh/live/visual-performing-arts"},{title:"è¿å¨",url:"/zh/live/sports"},{title:"STEM",url:"/zh/live/stem-se21"},{title:"ä¸æè¯¾ç¨",url:"/zh/live/mandarin"},{title:"坿ç»åå±ä¸å
¨çå
¬æ°æè¯",url:"/zh/live/sustainability-and-global-citizenship"},{title:"Ignite: Switzerland",url:"/zh/live/ignite-switzerland-programme"},{title:"å¦çé¢å¯¼å",url:"/zh/live/student-leadership"},{title:"身å¿å¥åº·",url:"/zh/live/wellbeing"}]},{id:"world",label:"World",links:[{title:"å¾·å¨å¤§å®¶åº",url:"/zh/world/one-family-of-schools"},{title:"å
¨çæç¥åä½",url:"/zh/world/global-partnerships"},{title:"EIMx",url:"/zh/world/eimx-summer-camps"},{title:"å¾·å¨èç¦",url:"/zh/dulwich-life"},{title:"æºèå
¨çæ ¡åä¼",url:"/zh/world/worldwise-alumni-network"},{title:"æºèå
¨çæ´»å¨",url:"/zh/world/worldwise-events"}]},{id:"wise",label:"Wise",links:[{title:"åå¦å就䏿坼",url:"/zh/wise/university-and-careers-counselling"},{title:"大å¦å妿æ",url:"/zh/wise/university-matriculation"},{title:"妿¯åè¶",url:"/zh/wise/academic-results"}],externalLinks:{heading:"å±¹çï¼EiMï¼å½é
æè²éå¢",links:[{title:"妿 ¡å¤§å®¶åº",url:"https://www.eimglobal.com/?utm_source=dulwich.org&utm_medium=footer-link&utm_campaign=eim-family-of-schools"}]},externalLinks2:{heading:"åå§å¦æ ¡",links:[{title:"å¾·å¨å
¬å¦",url:"https://www.dulwich.org.uk/?utm_source=dulwich.org&utm_medium=footer-link&utm_campaign=founding-school"}]}}],safeguarding:{title:"å®å
¨ä¿ééè¦æç¤ºï¼",text:"æä»¬å
¨åä¿æ¤ææå¦çå
åä»»ä½å½¢å¼ç伤害æèå¾
ã",linkText:"ç¹å»è¿é",linkUrl:"https://dulwich.blob.core.chinacloudapi.cn/dulwich-staging/static/23-24-DCI-EN-Safeguarding-Policy_for-GroupSite_IA_20230705.pdf",suffix:"äºè§£æ´å¤ä¿¡æ¯ã"},Policy:{title:"éç§æ¿ç",linkUrl:"/zh/privacy-policy"},RecruitmentPolicy:{title:"åºèè
éç§æ¿ç",linkUrl:"/zh/recruitment-privacy-policy"}}}},56794,27168,47798,64673,e=>{"use strict";let t={src:e.i(94150).default,width:792,height:791,blurWidth:8,blurHeight:8,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAIAAABLbSncAAAAs0lEQVR42h1OuQqDUBDcTzVWphQU8UBEnycS8UKtRMVCIT5QC5uQtPmrDNliGWZnZoeqqmqaJk1T7GmafN8Hruuauq5zXVdVVcMwwOq6bppmWZa077tlWYqiRFEEdxzHtm2DpGVZoGKMfT/v13kmSSLL8nEc1Pc90sMwvJ7btXGkwzTPM43jGARBURSapomiiC1J9zzP6fEfCB3HwQGVBOHmeYxQoG3bdV2zLBuGgXOONwA/3+drLa/g1YYAAAAASUVORK5CYII="};e.s(["default",0,t],56794);let i={src:e.i(81236).default,width:500,height:500,blurWidth:8,blurHeight:8,blurDataURL:"data:image/webp;base64,UklGRuAAAABXRUJQVlA4TNQAAAAvB8ABAM1VICICHgiADQIAAAD9/1/nv0IFQR1AAAAAAAAAAAAAAAAAAAAAAgAAABAEQgkQT12Vh5wGAADAAxkmAAAAADj/BUgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEDJPZBhAgAAAIDzX/EAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABEKLIDECTMSAgYxMJAz4Zl58MDMFK0xwArBEqBmjV9qAQ4npuJZ+e6hDiRRGT88Ov364CiETAQIy4qBI6YHENDi6KkBg=="};e.s(["default",0,i],27168);let s={src:e.i(91212).default,width:307,height:11,blurWidth:0,blurHeight:0};e.s(["default",0,s],47798);let r={src:e.i(49790).default,width:86,height:121,blurWidth:0,blurHeight:0};e.s(["default",0,r],64673)},49246,e=>{"use strict";var t=e.i(66027),i=e.i(71280);e.s(["useSchools",0,function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en",s=(0,t.useQuery)({queryKey:["schools",e],queryFn:async()=>{let t=await (0,i.fetchSchools)(e);if(!Array.isArray(t))return[];let s=[];
501return t.forEach(e=>{"newschool"!==e.slug&&("ss"===e.slug?s.push({...e,title:"åé叿 ¡"}):s.push(e))}),s},staleTime:6e5,cacheTime:18e5,retry:2});return{schools:s.data||[],isLoading:s.isLoading,error:s.error,refetch:s.refetch}}])},49680,e=>{"use strict";var t=e.i(43476),i=e.i(71645),s=e.i(18566),r=e.i(76411),o=e.i(30506),n=e.i(56794),a=e.i(27168),l=e.i(54144),c=e.i(35500),d=e.i(47798),u=e.i(64673),h=e.i(49246);let m=e=>{let{value:s,options:o,onChange:n,isOpen:a,setIsOpen:l}=e,[c,d]=(0,i.useState)(!1),u=i.default.useRef(null),h=e=>{e&&(e.preventDefault(),e.stopPropagation()),d(!0),setTimeout(()=>{l(!1),d(!1)},180)};return i.default.useEffect(()=>{if(!a)return;let e=e=>{u.current&&!u.current.contains(e.target)&&h()};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e)}},[a]),(0,t.jsxs)("div",{ref:u,className:"relative",style:{isolation:"isolate"},children:[(0,t.jsxs)("button",{onClick:()=>!c&&l(!a),className:"w-full px-4 py-2.5 bg-[#FFFFFF] border border-[#EBE4DD] rounded-[4px] text-left flex items-center justify-between hover:border-gray-400 transition-colors focus:outline-none focus:ring-2 focus:ring-[#D30013] focus:border-transparent",style:{willChange:"auto"},children:[(0,t.jsx)("span",{className:"text-[#3C3C3B]",children:s}),(0,t.jsx)(r.default,{icon:"Icon-Chevron-small",size:20,color:"#3C3C3B",className:`transition-transform duration-300 ${a?"rotate-180":""}`})]}),(a||c)&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:`fixed inset-0 bg-black z-[100] transition-opacity duration-150 ${c?"opacity-0":"opacity-30"}`,onClick:h,style:{willChange:"opacity"}}),(0,t.jsx)("div",{className:`absolute z-[101] w-full mt-2 bg-white border border-gray-300 rounded-lg shadow-2xl max-h-60 overflow-y-auto overflow-x-hidden transition-all duration-150 ease-out ${c?"opacity-0 scale-95 translate-y-[-4px]":"opacity-100 scale-100 translate-y-0"}`,onClick:e=>e.stopPropagation(),style:{scrollBehavior:"smooth",scrollbarWidth:"thin",scrollbarColor:"#D30013 #f3f4f6",pointerEvents:"auto",willChange:"transform, opacity",transformOrigin:"top"},onWheel:e=>e.stopPropagation(),children:o.map((e,i)=>(0,t.jsx)("div",{onClick:()=>{d(!0),setTimeout(()=>{n(e),l(!1),d(!1)},180)},className:`px-4 py-3 cursor-pointer transition-all duration-150 text-left ${s===e?"text-[#fff] font-semibold bg-gradient-to-r from-[#D30013] to-[#FF4D5A]/10 rounded-lg transition-all duration-15":"text-[#3C3C3B] hover:text-[#fff] hover:bg-gradient-to-r from-[#D30013] to-[#FF4D5A]/60 rounded-lg transition-all duration-15"} ${0===i?"rounded-t-lg":""} ${i===o.length-1?"rounded-b-lg":""}`,children:(0,t.jsxs)("div",{className:"flex items-center",children:[e,s===e&&(0,t.jsx)("span",{className:"mr-2 text-[#D30013] font-bold",children:"â"})]})},i))})]})]})};e.s(["default",0,function(e){let{sectionRefs:p,selectedSchool:f,setSelectedSchool:g,setSelectedSchoolSlug:x}=e,v=(0,s.usePathname)();(0,s.useRouter)();let[y,b]=(0,i.useState)({pathname:v,search:"",hash:""}),w=v.startsWith("/zh/")||"/zh"===v,k=w?"zh":"en",j=w?c.default.zh:c.default.en;(0,i.useEffect)(()=>{b({pathname:v,search:window.location.search,hash:window.location.hash})},[v]);let C=j.columns[0],M=j.columns[1],S=j.columns[2],N=j.columns[3],{schools:z,isLoading:I}=(0,h.useSchools)(k),[E,A]=(0,i.useState)(j.pleaseSelect),D=w?[{id:-1,slug:"bangkok",title:"Bangkok",url:"https://bangkok.dulwich.org/",name_zh:"æ¼è°·"},{id:-2,slug:"singapore",title:"Singapore",url:"https://singapore.dulwich.org/",name_zh:"æ°å å¡"},{id:-3,slug:"seoul",title:"Seoul",url:"https://seoul.dulwich.org/",name_zh:"é¦å°"}]:[],T={Bangkok:"æ¼è°·",Singapore:"æ°å å¡",Seoul:"é¦å°",Beijing:"å京","Shanghai Pudong":"䏿µ·æµ¦ä¸","Shanghai Puxi":"䏿µ·æµ¦è¥¿",Suzhou:"èå·","Suzhou HS Programme":"èå·å½é
é«ä¸","Hengqin HS Programme":"横ç´å½é
é«ä¸"},F=(0,i.useMemo)(()=>{console.log("[PageFooter] contextSchools:",z),console.log("[PageFooter] contextSchools length:",z.length),console.log("[PageFooter] isChineseVersion:",w),console.log("[PageFooter] locale:",k);let e=z.filter(e=>{let t=(e.slug||"").toLowerCase(),i=(e.name||e.title||"").toLowerCase(),s="international"!==t&&"newschool"!==t&&"new school"!==i;return s||console.log("[PageFooter] Filtering out school:",{slug:t,name:i}),s}).map(e=>{let t=T[e.title];return t?{...e,name_zh:t}:e});if(console.log("[PageFooter] filteredApiSchools:",e),console.log("[PageFooter] filteredApiSchools length:",e.length),w){let t=new Set(e.map(e=>e.slug)),i=D.filter(e=>!t.has(e.slug));console.log("[PageFooter] uniqueStaticSchools:",i);let s=[...e,...i];return console.log("[PageFooter] combined schools:",s),s}return console.log("[PageFooter] Returning API schools for English:",e),e},[z,w,k]),[P,L]=(0,i.useState)(!1),[_,R]=(0,i.useState)(!1),B=(0,i.useMemo)(()=>
501{if(f&&F.length>0){let e=F.find(e=>e.title===f||`Dulwich College ${e.title}`===f||e.slug===("string"==typeof f&&f.toLowerCase()));if(e)return w&&e.name_zh?e.name_zh:e.title}return E&&E!==j.pleaseSelect?E:j.pleaseSelect},[f,F,E,j.pleaseSelect,w]),[V,O]=(0,i.useState)(null),[W,$]=(0,i.useState)(null),[U,H]=(0,i.useState)(!1),[Y,q]=(0,i.useState)(!0),K=e=>{$(e),H(!1),q(!0)},G=()=>{H(!0),setTimeout(()=>{$(null),H(!1)},300)},X=(0,i.useMemo)(()=>{if(console.log("[PageFooter] Generating selectOptions from schoolsList:",F),console.log("[PageFooter] schoolsList length:",F?.length),F&&F.length>0){let e=F.map(e=>w&&e.name_zh?e.name_zh:e.title);return console.log("[PageFooter] Generated selectOptions:",e),e}return console.log("[PageFooter] No schools in schoolsList, returning empty array"),[]},[F,w]),Q=(0,i.useMemo)(()=>{let e={};return F&&F.length>0&&F.forEach(t=>{e[t.title]=t,t.name_zh&&(e[t.name_zh]=t)}),e},[F]),Z=e=>{if(A(e),!e)return;if(g&&x){let t=Q[e];t&&(g(e),x(t.slug),localStorage.setItem("selectedSchoolSlug",t.slug),localStorage.setItem("selectedSchoolName",e))}let t=Q[e];if(t)if(t.url){let e=t.url.replace(/\\\//g,"/");window.location.href=e}else window.location.href=(0,l.getSchoolUrl)(t.slug,"")};return(0,t.jsxs)("footer",{ref:e=>p?.current?p.current.footer=e:null,className:"bg-[#3C3737] text-[#FFFFFF] transition-all duration-1000 mt-[16px]",children:[(0,t.jsx)("div",{className:"max-w-[1120px] mx-auto px-4 py-14",children:(0,t.jsxs)("div",{className:"flex flex-col md:flex-row items-start md:items-center justify-between gap-6",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 md:gap-8",children:[(0,t.jsx)("img",{src:u.default?.src||u.default,alt:"Dulwich College",className:"h-[50px] md:h-[64px] w-[80%] md:w-[100%]",onError:e=>{e.target.style.display=""}}),(0,t.jsx)("img",{src:d.default?.src||d.default,alt:"Dulwich College",className:"w-[230px] md:w-[400px]",onError:e=>{e.target.style.display="none"}})]}),(0,t.jsxs)("div",{className:"hidden md:block md:w-auto",children:[(0,t.jsx)("label",{className:"block text-[16px] text-left font-semibold mb-2 text-white tracking-wide",children:j.ourSchools}),(0,t.jsx)("div",{className:"w-full md:w-56",children:(0,t.jsx)(m,{value:B,options:X,onChange:Z,isOpen:P,setIsOpen:L,placeholder:j.pleaseSelect})})]})]})}),(0,t.jsx)("div",{children:(0,t.jsx)("div",{className:"max-w-[1120px] mx-auto px-4 py-4 mb-2",children:(0,t.jsxs)("div",{className:"grid text-left grid-cols-2 md:grid-cols-2 lg:grid-cols-4 xl:grid-cols-4 gap-8 lg:gap-10",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-[14px] md:text-[16px] text-[#FDFCF8] font-bold mb-4 tracking-wide",children:C.label}),(0,t.jsx)("ul",{className:"space-y-2.5",children:C.links.map((e,i)=>(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:e.url,className:"text-[14px] text-[#FDFCF8] leading-[48px] md:leading-[40px] sm:leading-[32px] font-normal hover:text-[#D30013] transition-colors",children:e.title})},i))})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-[14px] md:text-[16px] text-[#FDFCF8] font-bold mb-4 tracking-wide",children:M.label}),(0,t.jsx)("ul",{className:"space-y-2.5",children:M.links.map((e,i)=>(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:e.url,className:"text-[14px] text-[#FDFCF8] leading-[48px] md:leading-[40px] sm:leading-[32px] font-normal hover:text-[#D30013] transition-colors",children:e.title})},i))})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-[14px] md:text-[16px] text-[#FDFCF8] font-bold mb-4 tracking-wide",children:S.label}),(0,t.jsx)("ul",{className:"space-y-2.5",children:S.links.map((e,i)=>(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:e.url,className:"text-[14px] text-[#FDFCF8] leading-[48px] md:leading-[40px] sm:leading-[32px] font-normal hover:text-[#D30013] transition-colors",children:e.title})},i))})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-[14px] md:text-[16px] text-[#FDFCF8] font-bold mb-4 tracking-wide",children:N.label}),(0,t.jsx)("ul",{className:"space-y-2.5",children:N.links.map((e,i)=>(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:e.url,className:"text-[14px] text-[#FDFCF8] leading-[48px] md:leading-[40px] sm:leading-[32px] font-normal hover:text-[#D30013] transition-colors",children:e.title})},i))}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-[14px] md:text-[16
501px] font-bold text-[#FDFCF8] mb-4 mt-4 tracking-wide",children:N.externalLinks.heading}),(0,t.jsx)("ul",{className:"space-y-2.5",children:N.externalLinks.links.map((e,i)=>(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:e.url,className:"text-[14px] text-[#FDFCF8] hover:text-[#D30013] leading-[48px] md:leading-[40px] sm:leading-[32px] font-normal transition-colors",children:e.title})},i))}),(0,t.jsx)("h3",{className:"text-[14px] md:text-[16px] font-bold text-[#FDFCF8] mb-4 mt-4 tracking-wide",children:N.externalLinks2.heading}),(0,t.jsx)("ul",{className:"space-y-2.5",children:N.externalLinks2.links.map((e,i)=>(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:e.url,className:"text-[14px] text-[#FDFCF8] hover:text-[#D30013] leading-[48px] md:leading-[40px] sm:leading-[32px] font-normal transition-colors",children:e.title})},i))})]})]})]})})}),(0,t.jsx)("div",{className:"bg-[#3C3737]",children:(0,t.jsxs)("div",{className:"max-w-[1120px] mx-auto px-4 py-8",children:[(0,t.jsxs)("div",{className:"block md:hidden mb-6",children:[(0,t.jsx)("h3",{className:"text-sm text-left font-semibold mb-3 text-white",children:j.ourSchools}),(0,t.jsx)(m,{value:B,options:X,onChange:Z,isOpen:_,setIsOpen:R,placeholder:j.pleaseSelect})]}),(0,t.jsxs)("div",{className:"flex flex-col md:flex-row items-center md:items-start md:justify-between lg:items-center lg:justify-start gap-6",children:[(0,t.jsx)("div",{className:"flex justify-left md:justify-start w-full md:w-auto",children:(0,t.jsx)("img",{src:n.default?.src||n.default,alt:"QR Code",className:"w-32 h-32 md:w-40 md:h-40 bg-white p-2 rounded",onError:e=>{e.target.style.display="none"}})}),(0,t.jsx)("div",{className:"w-full md:w-auto",children:(0,t.jsxs)("div",{className:"grid grid-cols-4 md:flex md:flex-row gap-6 md:gap-8 justify-items-center md:justify-start items-center",children:[(0,t.jsx)("button",{onClick:()=>K("wechat"),className:"transition-all duration-300 cursor-pointer bg-transparent border-0 p-0","aria-label":"WeChat",onMouseEnter:()=>O("wechat"),onMouseLeave:()=>O(null),children:(0,t.jsx)(r.default,{icon:"Icon-Social-WC",size:28,color:"wechat"===V?"#D30013":"white"})}),(0,t.jsx)("a",{href:"https://www.facebook.com/Dulwich.College.International",className:"transition-all duration-300","aria-label":"Facebook",onMouseEnter:()=>O("facebook"),onMouseLeave:()=>O(null),children:(0,t.jsx)(r.default,{icon:"Icon-Social-FB",size:28,color:"facebook"===V?"#D30013":"white"})}),(0,t.jsx)("a",{href:"https://x.com/in_dulwich",className:"transition-all duration-300","aria-label":"x",onMouseEnter:()=>O("x"),onMouseLeave:()=>O(null),children:(0,t.jsx)(r.default,{icon:"X_logo_2023",size:22,color:"x"===V?"#D30013":"white"})}),(0,t.jsx)("a",{href:"https://www.youku.com/profile/index/?uid=UMTg2MTQ5NTk3Mg==",className:"transition-all duration-300","aria-label":"Youku",onMouseEnter:()=>O("youku"),onMouseLeave:()=>O(null),children:(0,t.jsx)(r.default,{icon:"Icon-Social-YK",size:28,color:"youku"===V?"#D30013":"white"})}),(0,t.jsx)("a",{href:"https://www.youtube.com/c/Indulwich",className:"transition-all duration-300","aria-label":"YouTube",onMouseEnter:()=>O("youtube"),onMouseLeave:()=>O(null),children:(0,t.jsx)(r.default,{icon:"Icon-Social-YT",size:28,color:"youtube"===V?"#D30013":"white"})}),(0,t.jsx)("a",{href:"https://www.linkedin.com/company/dulwich-college-management",className:"transition-all duration-300","aria-label":"LinkedIn",onMouseEnter:()=>O("linkedin"),onMouseLeave:()=>O(null),children:(0,t.jsx)(r.default,{icon:"Icon-Social-LI",size:28,color:"linkedin"===V?"#D30013":"white"})}),(0,t.jsx)("button",{onClick:()=>K("rednote"),className:"transition-all duration-300 cursor-pointer bg-transparent border-0 p-0","aria-label":"RedNote",onMouseEnter:()=>O("rednote"),onMouseLeave:()=>O(null),children:(0,t.jsx)(r.default,{icon:"Icon-Social-RedNote",size:40,color:"rednote"===V?"#D30013":"white"})})]})})]}),(0,t.jsxs)("div",{className:"mt-9 text-[16px] text-left text-[#FDFCF8] max-w-full",children:[(0,t.jsxs)("p",{className:"leading-relaxed font-light",children:[(0,t.jsx)("strong",{className:"text-[#FDFCF8] font-bold",children:j.safeguarding.t
501itle})," ",j.safeguarding.text," ",(0,t.jsx)("a",{href:j.safeguarding.linkUrl,className:"text-[#FDFCF8] underline hover:text-[#D30013] transition-colors",children:j.safeguarding.linkText})," ",j.safeguarding.suffix]}),(0,t.jsx)("div",{className:"footer-privacy flex justify-center gap-3 mt-6 text-center",children:(0,t.jsx)("a",{href:j.Policy.linkUrl,className:"text-[16px] text-left text-[#FDFCF8] underline hover:text-[#D30013] transition-colors",children:j.Policy.title})})]}),(0,t.jsxs)("div",{className:"mt-6 mb-16 pt-2 md:pt-6 border-t border-[#646261] lg:mb-[12px] md:flex justify-items-center md:justify-between align-baseline",children:[(0,t.jsx)("a",{href:"https://beian.miit.gov.cn/#/Integrated/index",children:(0,t.jsxs)("p",{className:"text-[14px] text-[#FDFCF8] mt-4 mb-4 text-left leading-relaxed",children:["© 2026 Dulwich College Management International Limited, or its affiliates",(0,t.jsx)("br",{className:"md:hidden"}),(0,t.jsx)("span",{className:"hidden md:inline",children:" "}),"沪ICPå¤16016470å·-4 · æ²ªå ¬ç½å®å¤31010602002392å·"]})}),(0,t.jsx)("a",{href:"https://www.eimglobal.com/?utm_source=dulwich.org&utm_medium=footer-link&utm_campaign=eim-family-of-schools",target:"_blank",rel:"noopener noreferrer",className:"flex place-items-baseline leading-4 gap-0 hover:opacity-80 transition-opacity duration-200 flex-shrink-0",children:(0,t.jsx)("img",{src:o.default?.src,alt:"EiM Family",className:"h-10 md:h-12 w-auto",onError:e=>{e.target.style.display="none"}})})]})]})}),W&&(0,t.jsx)("div",{className:`fixed inset-0 z-[200] flex items-center justify-center transition-all duration-300 ${U?"bg-black bg-opacity-0":"bg-black bg-opacity-50 backdrop-blur-sm"}`,onClick:G,style:{animation:U?"fadeOut 0.3s ease-out":"fadeIn 0.3s ease-out"},children:(0,t.jsxs)("div",{className:`relative bg-[#fff] drop-shadow-lg rounded-lg p-0 max-w-[90vw] md:max-w-md transform transition-all duration-300 ${U?"scale-0 opacity-0":"scale-100 opacity-100"}`,onClick:e=>e.stopPropagation(),style:{animation:U?"zoomOut 0.3s cubic-bezier(0.4, 0, 1, 1)":"zoomIn 0.3s cubic-bezier(0, 0, 0.2, 1)"},children:[(0,t.jsx)("button",{onClick:G,className:"absolute top-4 right-4 z-10 text-[#D30013] hover:text-[#B8000F] transition-colors text-3xl font-light leading-none","aria-label":"Close",children:"Ã"}),(0,t.jsxs)("div",{className:"p-8 md:p-12 relative min-h-[200px] flex items-center justify-center",children:[Y&&(0,t.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",children:(0,t.jsx)("div",{className:"animate-spin rounded-full h-12 w-12 border-b-4 border-t-4 border-[#D30013]"})}),(0,t.jsx)("img",{src:"wechat"===W?n.default?.src||n.default:a.default?.src||a.default,alt:"wechat"===W?"WeChat QR Code":"RedNote QR Code",className:`w-full h-auto transition-opacity duration-300 ${Y?"opacity-0":"opacity-100"}`,onLoad:()=>q(!1),onError:()=>q(!1),style:{animation:U?"fadeOut 0.2s ease-out":Y?"none":"fadeIn 0.4s ease-out"}})]})]})}),(0,t.jsx)("style",{children:` 502 /* Custom scrollbar for dropdown */ 503 .overflow-y-auto::-webkit-scrollbar {
504 width: 8px; 505 } 506 507 .overflow-y-auto::-webkit-scrollbar-track { 508 background: #f3f4f6; 509 border-radius: 4px; 510 } 511 512 .overflow-y-auto::-webkit-scrollbar-thumb { 513 background: #D30013; 514 border-radius: 4px; 515 } 516 517 .overflow-y-auto::-webkit-scrollbar-thumb:hover { 518 background: #B8000F; 519 } 520 521 /* Ensure dropdown is scrollable and receives mouse events */ 522 .overflow-y-auto { 523 -webkit-overflow-scrolling: touch; 524 overscroll-behavior: contain; 525 } 526 527 /* Prevent layout shift during dropdown animations */ 528 .relative { 529 contain: layout; 530 } 531 532 /* QR Code Modal Animations */ 533 @keyframes zoomIn { 534 0% { 535 opacity: 0; 536 transform: scale(0.3); 537 } 538 50% { 539 opacity: 1; 540 } 541 100% { 542 opacity: 1; 543 transform: scale(1); 544 } 545 } 546 547 @keyframes zoomOut { 548 0% { 549 opacity: 1; 550 transform: scale(1); 551 } 552 50% { 553 opacity: 0.5; 554 } 555 100% { 556 opacity: 0; 557 transform: scale(0.3); 558 } 559 } 560 561 @keyframes fadeIn { 562 from { 563 opacity: 0; 564 } 565 to { 566 opacity: 1; 567 } 568 } 569 570 @keyframes fadeOut { 571 from { 572 opacity: 1; 573 } 574 to { 575 opacity: 0; 576 } 577 } 578 `})]})}])},37178,e=>{"use strict";var t=e.i(66027),i=e.i(71280);e.s(["useSchoolInfo",0,function(e){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en",r=(0,t.useQuery)({queryKey:["schoolInfo",e,s],queryFn:()=>(0,i.fetchSchoolInfo)(e,s),enabled:!!e,staleTime:6e5,cacheTime:18e5,retry:2});return{schoolInfo:r.data,isLoading:r.isLoading,error:r.error,refetch:r.refetch}}])},43560,(e,t,i)=>{t.exports={en:{ourSchools:"Our Schools",international:"åé叿 ¡",pleaseSelect:"Please select",contactUs:"Contact Us",generalEnquiries:"General Enquiries",recruitmentEnquiries:"Recruitment Enquiries",recruitmentEnquiriesLink:"[email protected]",mainCampus:"Main Campus",kindergarten:"Kindergarten",admissions:"Admissions",applyNow:"Apply Now",visitUs:"Visit Us",bookATour:"Book a Tour",quickLinks:"Quick Links",careers:"Careers",schoolCalendar:"School Calendar",contactSchool:"Contact School",safeguarding:"Safeguarding",privacyPolicy:"Privacy Policy",siteMap:"Site Map",externalLinks:"External Links",parentPortal:"Parent Portal",safeguardingTitle:"Safeguarding Matters:",educationInMotion:"Education In Motion (EiM)",afamilyofscl:"A family of Schools",foundScl:"Founding School",dulCol:"Dulwich College",safeguardingText:"We are fully committed to safeguarding all of our students from any form of harm or abuse.",safeguardingLink:"Click here",safeguardingSuffix:"for more information."},zh:{ourSchools:"æä»¬ç妿 ¡",international:"åé叿 ¡",pleaseSelect:"è¯·éæ©",contactUs:"èç³»æä»¬",generalEnquiries:"ä¸è¬æ¥è¯¢",recruitmentEnquiries:"æèå¨è¯¢",recruitmentEnquiriesLink:"[email protected]",mainCampus:"ä¸»æ ¡åº",kindergarten:"å¹¼å¿å",admissions:"æç",applyNow:"ç«å³ç³è¯·",visitUs:"åè§æä»¬",bookATour:"é¢çº¦åè§",quickLinks:"å¿«é龿¥",careers:"è䏿ºä¼",schoolCalendar:"妿 ¡æ¥å",contactSchool:"èç³»å¦æ ¡",safeguarding:"å®å ¨ä¿é",privacyPolicy:"éç§æ¿ç",siteMap:"ç½ç«å°å¾",externalLinks:"å¤é¨é¾æ¥",parentPortal:"å®¶é¿å¹³å°",educationInMotion:"å±¹çï¼EiMï¼å½é æè²éå¢",afamilyofscl:"妿 ¡å¤§å®¶åº",foundScl:"åå§å¦æ ¡",dulCol:"å¾·å¨å ¬å¦",safeguardingTitle:"å®å ¨ä¿ééè¦æç¤ºï¼",safeguardingText:"æä»¬å ¨åä¿æ¤ææå¦çå åä»»ä½å½¢å¼ç伤害æèå¾ ã",safeguardingLink:"ç¹å»è¿é",safeguardingSuffix:"äºè§£æ´å¤ä¿¡æ¯ã"}}},67839,e=>{"use strict";var t=e.i(43476),i=e.i(71645),s=e.i(18566),r=e.i(76411),o=e.i(30506),n=e.i(54144),a=e.i(58592),l=e.i(37178),c=e.i(43560),d=e.i(49246);let u={src:e.i(1974).default,width:774,height:127,blurWidth:0,blurHeight:0},h={src:e.i(49960).default,width:721,height:127,blurWidth:0,blurHeight:0},m={src:e.i(41688).default,width:834,height:124,blurWidth:0,blurHeight:0},p={src:e.i(62293).default,width:999,height:134,blurWidth:0,blurHeight:0},f={src:e.i(61401).default,width:682,height:127,blurWidth:0,blurHeight:0},g={src:e.i(25288).default,width:854,height:127,blurWidth:0,blurHeight:0},x={src:e.i(19136).default,width:933,height:127,blurWidth:0,blurHeight:0},v={src:e.i(25732).default,width:774,height:127,blurWidth:0,blurHeight:0},y={src:e.i(83730).default,width:713,height:127,blurWidth:0,blurHeight:0},b={singapore:{code:"b473d6384ca5f3ca",elementId:"tree-nation-offset-website",theme:"white"},"shanghai-pudong":{code:"58ce11394a828dd3",elementId:"tree-nation-offset-website",theme:"white"},shanghai:{code:"58ce11394a828dd3",elementId:"tree-nation-offset-website",theme:"white"}},w="https://assets.dulwich.org/dulwich",k={singapore:u,suzhou:h,"suzhou-high-school":m,"hengqin-high-school":p,seoul:f,"shanghai-puxi":g,"shanghai-pudong":x,bangkok:v,beijing:y},j=e=>{let{value:s,options:o,onChange:n,isOpen:a,setIsOpen:l,placeholder:c}=e,[d,u]=(0,i.useState)(!1),h=i.default.useRef(null),m=e=>{e&&(e.preventDefault(),e.stopPropagation()),u(!0),setTimeout(()=>{l(!1),u(!1)},180)};return i.default.useEffect(()=>{if(!a)return;let e=e=>{h.current&&!h.current.contains(e.target)&&m()};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e)}},[a]),(0,t.jsxs)("div",{ref:h,className:"relative",style:{isolation:"isolate"},children:[(0,t.jsxs)("button",{onClick:()=>!d&&l(!a),className:"w-full px-4 py-2.5 bg-[#FFFFFF] border border-[#
578EBE4DD] rounded-lg text-left flex items-center justify-between hover:border-gray-400 transition-colors focus:outline-none focus:ring-2 focus:ring-[#D30013] focus:border-transparent",style:{willChange:"auto"},children:[(0,t.jsx)("span",{className:"text-[#3C3C3B]",children:s}),(0,t.jsx)(r.default,{icon:"Icon-Chevron-small",size:20,color:"#3C3737",className:`transition-transform duration-300 ${a?"rotate-180":""}`})]}),(a||d)&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:`fixed inset-0 bg-black z-[100] transition-opacity duration-150 ${d?"opacity-0":"opacity-30"}`,onClick:m,style:{willChange:"opacity"}}),(0,t.jsx)("div",{className:`absolute z-[101] w-full mt-1 bg-white border border-gray-300 rounded-lg shadow-2xl max-h-60 overflow-y-auto overflow-x-hidden transition-all duration-150 ease-out ${d?"opacity-0 scale-95 translate-y-[-4px]":"opacity-100 scale-100 translate-y-0"}`,onClick:e=>e.stopPropagation(),style:{scrollBehavior:"smooth",scrollbarWidth:"thin",scrollbarColor:"#D30013 #f3f4f6",pointerEvents:"auto",willChange:"transform, opacity",transformOrigin:"top"},onWheel:e=>e.stopPropagation(),children:o.map((e,i)=>(0,t.jsx)("div",{onClick:()=>{u(!0),setTimeout(()=>{n(e),l(!1),u(!1)},180)},className:`px-4 py-3 cursor-pointer transition-all duration-150 text-left ${s===e?"text-[#fff] font-semibold bg-gradient-to-r from-[#D30013] to-[#FF4D5A]/10 rounded-lg":"text-[#3C3C3B] hover:text-[#fff] hover:bg-gradient-to-r from-[#D30013] to-[#FF4D5A]/60 rounded-lg"} ${0===i?"rounded-t-lg":""} ${i===o.length-1?"rounded-lg":""}`,children:(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[e,s===e&&(0,t.jsx)("span",{className:"mr-2 text-[#D30013] font-bold rotate-3",children:"â"})]})},i))})]})]})};e.s(["default",0,function(e){let{sectionRefs:u,isVisible:h,availableSchools:m,selectedSchool:p,setSelectedSchool:f,setSelectedSchoolSlug:g,schoolSlug:x}=e,v=(0,s.usePathname)();(0,s.useRouter)();let[y,C]=(0,i.useState)({pathname:v,search:"",hash:""}),[M,S]=(0,i.useState)(!1);(0,i.useEffect)(()=>{C({pathname:v,search:window.location.search,hash:window.location.hash}),S(window.location.hostname.startsWith("shanghai."))},[v]);let N=v.startsWith("/zh/")||"/zh"===v,z=N?"zh":"en",I=N?c.default.zh:c.default.en,[E,A]=(0,i.useState)(x||null);(0,i.useEffect)(()=>{E||A((0,n.getCurrentSchool)())},[]);let{schoolInfo:D,isLoading:T}=(0,l.useSchoolInfo)(E,z),{schools:F,isLoading:P}=(0,d.useSchools)(z),L=N?[{id:-1,slug:"bangkok",title:"Bangkok",url:"https://bangkok.dulwich.org/",name_zh:"æ¼è°·"},{id:-2,slug:"singapore",title:"Singapore",url:"https://singapore.dulwich.org/",name_zh:"æ°å å¡"},{id:-3,slug:"seoul",title:"Seoul",url:"https://seoul.dulwich.org/",name_zh:"é¦å°"}]:[],_=(0,i.useMemo)(()=>[...L,...F],[F,N]),[R,B]=(0,i.useState)(""),[V,O]=(0,i.useState)(""),[W,$]=(0,i.useState)(null),U=new Date().getFullYear(),[H,Y]=(0,i.useState)(null),[q,K]=(0,i.useState)(!1),[G,X]=(0,i.useState)(!0),Q=e=>{Y(e),K(!1),X(!0)},Z=()=>{K(!0),setTimeout(()=>{Y(null),K(!1)},300)};(0,i.useEffect)(()=>{let e=_.length>0?_:m;if(E&&e&&e.length>0){let t=e.find(e=>e.slug===E);t&&t.title&&(N&&t.name_zh?B(t.name_zh):B(t.title))}else D?.menu_title&&D.menu_title&&B(D.menu_title)},[_,m,E,D,N]);let[J,ee]=(0,i.useState)(!1),[et,ei]=(0,i.useState)(!1),es=(0,i.useMemo)(()=>({facebook:D?.sns_facebook||"#",instagram:D?.sns_instagram||"#",linkedin:D?.sns_linkedin||"#",youtube:D?.sns_youtube||"#",youku:D?.sns_youku||"#"}),[D]),er=(0,i.useMemo)(()=>D?.logo_footer?`${w}/${D.logo_footer}`:k[E]||null,[D,E]);D?.logo_footer&&D.logo_footer;let eo=(0,i.useMemo)(()=>{let e=D?.sns_wechat;if(!e)return null;let t="object"==typeof e?e.url:e;return t&&"string"==typeof t?t.startsWith("http")?t:`${w}/${t}`:null},[D]),en=(0,i.useMemo)(()=>{let e=D?.red_note;if(!e)return null;let t="object"==typeof e?e.url:e;return t&&"string"==typeof t?t.startsWith("http")?t:`${w}/${t}`:null},[D]),ea=D?.footer_rs_copy||null;D?.footer_copy;let el=D?.menu_title||null,ec=Array.isArray(D?.addresses)?D.addresses:[],ed=ec[0]||{},eu=ed?.contact_email||"",eh=ed?.telephone||"",em=ed?.address||"",ep=ed?.localized_address||"",ef=ec.slice(1);(0,i.useEffect)(()=>{let e=b[E];if(!e)return;let t=!0,i=0,s=()=>
578{if(t){if(window.TreeNationOffsetWebsite&&document.getElementById(e.elementId)){try{window.TreeNationOffsetWebsite({code:e.code,lang:"en",theme:e.theme}).render(`#${e.elementId}`)}catch(e){}return}i<10&&(i++,setTimeout(s,500))}};if(window.TreeNationOffsetWebsite)return setTimeout(s,300),()=>{t=!1};let r=document.createElement("script");return r.src="https://widgets.tree-nation.com/js/widgets/v1/widgets.min.js?v=1.0",r.async=!0,r.onload=()=>setTimeout(s,300),r.onerror=()=>{},document.body.appendChild(r),()=>{t=!1,document.body.contains(r)&&document.body.removeChild(r)}},[E]);let{data:eg}=(0,a.useMainMenu)(E,z),ex=(0,i.useMemo)(()=>D?.quick_links||[],[D]);(0,i.useEffect)(()=>{let e=(0,n.getCurrentSchool)(),t=_.length>0?_:m;if(e&&t){let i=t.find(t=>t.slug===e);if(i){O(i.title.toUpperCase()),N&&i.name_zh?B(i.name_zh):B(i.title);return}}p&&"Dulwich International College"!==p?O(p.replace("Dulwich College ","").toUpperCase()):O("")},[p,m,_,N]);let ev=(0,i.useMemo)(()=>{let e=_.length>0?_:m;return e&&e.length>0?e.map(e=>N&&e.name_zh?e.name_zh:e.title):[]},[_,m,N]),ey=(0,i.useMemo)(()=>{let e={},t=_.length>0?_:m;return t&&t.length>0&&t.forEach(t=>{e[t.title]=t,t.name_zh&&(e[t.name_zh]=t)}),e},[_,m]),eb=(0,i.useMemo)(()=>{let e=_&&_.length>0?_:m;if(R&&""!==R)return R;if(E&&e&&e.length>0){let t=e.find(e=>e.slug&&e.slug.toLowerCase()===E.toLowerCase()||e.title&&e.title.toLowerCase()===E.toLowerCase());if(t)return N&&t.name_zh?t.name_zh:t.title}if(E&&D?.menu_title&&D.menu_title)return D.menu_title;if(p&&"Dulwich International College"!==p&&p&&e&&e.length>0){let t=e.find(e=>e.title===p||`Dulwich College ${e.title}`===p||e.slug&&e.slug.toLowerCase()===p.toLowerCase());if(t)return N&&t.name_zh?t.name_zh:t.title}return D?.menu_title||""},[p,_,m,E,R,D,N]),ew=e=>{if(B(e),e){if(f&&g)if(e)f("menu_title"),g("menu_title");else{let t=ey[e];t&&(f(`Dulwich College ${e}`),g(t.slug),localStorage.setItem("selectedSchoolSlug",t.slug),localStorage.setItem("selectedSchoolName",`Dulwich College ${e}`))}if(e===I.international)window.location.href="https://www.dulwich.org/";else{let t=ey[e];if(t)if(t.url){let e=t.url.replace(/\\\//g,"/");window.location.href=e}else window.location.href=(0,n.getSchoolUrl)(t.slug,"")}}};return(0,t.jsxs)("footer",{ref:e=>u?.current?u.current.footer=e:null,className:"bg-[#3C3737] text-white transition-all duration-1000 mt-16",children:[(0,t.jsx)("div",{className:"max-w-[1120px] mx-auto px-4 py-10 md:py-14",children:(0,t.jsxs)("div",{className:"flex flex-col md:flex-row items-start md:items-start justify-between gap-6 md:gap-8",children:[(0,t.jsxs)("div",{className:"flex text-left items-start justify-start w-[100%] max-w-[500px]",children:[er?(0,t.jsx)("img",{src:er?.src||er,alt:`Dulwich College ${V}`,className:"h-auto w-[100%]",onError:e=>{let t=k[E];if(t&&e.target.src!==(t?.src||t))e.target.src=t?.src||t;else{e.target.style.display="none";let t=e.target.nextElementSibling;t&&(t.style.display="block")}}}):null,(0,t.jsxs)("h2",{className:"text-base sm:text-lg md:text-xl lg:text-[24px] font-bold tracking-wider uppercase text-[#FFFFFF]",style:{display:er?"none":"block"},children:["DULWICH COLLEGE Â ",(0,t.jsxs)("span",{className:"font-light",children:["| ",V," |"]})]})]}),(0,t.jsxs)("div",{className:"hidden md:block md:w-auto flex-shrink-0",children:[(0,t.jsx)("label",{className:"block text-left text-sm md:text-base font-bold mb-3 text-[#FFFFFF] tracking-wide",children:I.ourSchools}),(0,t.jsx)("div",{className:"w-full md:w-60 lg:w-64",children:(0,t.jsx)(j,{value:eb,options:ev,onChange:ew,isOpen:J,setIsOpen:ee})})]})]})}),(0,t.jsx)("div",{className:"",children:(0,t.jsx)("div",{className:"max-w-[1120px] mx-auto px-4 py-4 md:py-5",children:(0,t.jsxs)("div",{className:"grid text-left grid-cols-2 md:grid-cols-2 lg:grid-cols-3 gap-8 md:gap-10 lg:gap-14",children:["singapore"===E?(0,t.jsx)("div",{className:"col-span-2 lg:col-span-1",children:(0,t.jsxs)("div",{className:"space-y-2.5",children:[(0,t.jsxs)("div",{className:"mt-0",children:[(0,t.jsx)("h3",{className:"text-[14px] md:text-[16px] mb-1 font-bold tracking-wide text-[#FFFFFF]",children:I.generalEnquiries}),(0,t.jsx)("a",{href:`mailto:${eu}`,className:"text-[14px] text-[#FDFCF8] leading font-normal hover:text-[#D30013] transition-colors block",children:eu})]}),em&&(0,t.jsxs)("div",{className:"",children:[ed.title&&(0,t.jsx)("h4",{className:"text-[14px] md:text-[16
578px] font-bold text-white ",children:ed.title}),(0,t.jsx)("p",{className:"text-[14px] text-[#FDFCF8] leading-[24px] whitespace-pre-line",children:N&&ep?ep:em}),eh&&(0,t.jsxs)("p",{className:"text-[14px] text-[#FDFCF8] leading-[24px] mt-1",children:["T: ",eh]})]}),ef.map((e,i)=>e.address?(0,t.jsxs)("div",{className:"mt-4",children:[(0,t.jsx)("h4",{className:"text-[14px] md:text-[16px] font-bold text-white ",children:e.title||`Address ${i+2}`}),(0,t.jsx)("p",{className:"text-[14px] text-[#FDFCF8] leading whitespace-pre-line",children:N&&e.localized_address?e.localized_address:e.address}),e.contact_email&&(0,t.jsx)("a",{href:`mailto:${e.contact_email}`,className:"text-[14px] text-[#FDFCF8] leading-[24px] mt-1 font-normal hover:text-[#D30013] transition-colors block",children:e.contact_email}),e.telephone&&(0,t.jsxs)("p",{className:"text-[14px] text-[#FDFCF8] leading-[24px] mt-1",children:["T: ",e.telephone]})]},e.id||i):null)]})}):(0,t.jsxs)("div",{className:"col-span-2 lg:col-span-1",children:[!M&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h3",{className:"text-[14px] md:text-[16px] mb-1 font-bold tracking-wide text-[#FFFFFF]",children:I.generalEnquiries}),(0,t.jsx)("div",{className:"mb-4",children:(0,t.jsx)("a",{href:`mailto:${eu}`,className:"text-[14px] text-[#FDFCF8] leading font-normal hover:text-[#D30013] transition-colors block",children:eu})})]}),em&&(0,t.jsxs)("div",{className:"mt-0",children:[ed.title&&(0,t.jsx)("h4",{className:"text-[14px] md:text-[16px] mb-1 font-bold text-white ",children:ed.title}),(0,t.jsx)("p",{className:"text-[14px] text-[#FDFCF8] leading-[24px] whitespace-pre-line",children:N&&ep?ep:em}),eh&&(0,t.jsxs)("p",{className:"text-[14px] text-[#FDFCF8] leading-[24px] mt-1",children:["T: ",eh]})]}),ef.map((e,i)=>e.address?(0,t.jsxs)("div",{className:"mt-4",children:[(0,t.jsx)("h4",{className:"text-[14px] md:text-[16px] font-bold text-white",children:e.title||`Address ${i+2}`}),(0,t.jsx)("p",{className:"text-[14px] text-[#FDFCF8] leading whitespace-pre-line",children:N&&e.localized_address?e.localized_address:e.address}),!M&&e.contact_email&&(0,t.jsx)("a",{href:`mailto:${e.contact_email}`,className:"text-[14px] text-[#FDFCF8] leading-[24px] mt-1 font-normal hover:text-[#D30013] transition-colors block",children:e.contact_email}),e.telephone&&(0,t.jsxs)("p",{className:"text-[14px] text-[#FDFCF8] leading",children:["T: ",e.telephone]})]},e.id||i):null),M&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h3",{className:"mt-4 text-[14px] md:text-[16px] mb-1 font-bold tracking-wide text-[#FFFFFF]",children:I.generalEnquiries}),(0,t.jsx)("div",{children:(0,t.jsx)("a",{href:`mailto:${eu}`,className:"text-[14px] text-[#FDFCF8] leading font-normal hover:text-[#D30013] transition-colors block",children:eu})}),(0,t.jsx)("h3",{className:"mt-4 text-[14px] md:text-[16px] mb-1 font-bold tracking-wide text-[#FFFFFF]",children:I.recruitmentEnquiries}),(0,t.jsx)("div",{children:(0,t.jsx)("a",{href:`mailto:${I.recruitmentEnquiriesLink}`,className:"text-[14px] text-[#FDFCF8] leading font-normal hover:text-[#D30013] transition-colors block",children:I.recruitmentEnquiriesLink})})]})]}),(0,t.jsxs)("div",{className:"col-span-1 space-y-3",children:[(0,t.jsx)("h3",{className:"text-[14px] md:text-[16px] font-bold tracking-wide text-[#FFFFFF]",children:I.quickLinks}),(0,t.jsx)("ul",{className:"space-y-3",children:ex&&ex.length>0?ex.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:e.url||e.cta_link,target:"external"===e.cta_type?"_blank":"_self",rel:"external"===e.cta_type?"noopener noreferrer":"",className:"text-[14px] text-[#FDFCF8] leading-[48px] md:leading-[40px] sm:leading-[32px] font-normal hover:text-[#D30013] transition-colors inline-block",children:N&&e.cta_text?.toLowerCase()==="read more"?"é
读æ´å¤":e.cta_text})},e.id)):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:N?"/zh/community/life-at-dulwich/careers":"/community/life-at-dulwich/careers",className:"text-[14px] text-[#FDFCF8] leading-[48px] md:leading-[40px] sm:leading-[32px] font-normal hover:text-[#D30013] transition-colors inline-block",children:I.careers})}),(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:N?"/zh/our-college/safeguarding":"/our-college/safeguarding",className:"text-[14px] text-[#FDFCF8] leading-[48px] md:leading-[40px] sm:leading-[32px] font-normal hover:text-[#D30013] transition-colors inline-block",children:I.safeguarding})}),(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:N?"/zh/privacy-policy":"/privacy-policy",className:"text-[14px] text-[#FDFCF8] leading-[48px] md:leading-[40px] sm:leading-[32px] font-normal hover:text-[#D30013] transition-colors inline-block",children:I.privacyPolicy})}),(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:N?"/zh/sitemap":"/sitemap",className:"text-[14px] text-[#FDFCF8] leading-[48px] md:leading-[40px] sm:leading-[32px] font-normal hover:text-[#D30013] transition-colors inline-block",children:I.siteMap})})]})})]}),(0,t.jsxs)("div",{className:"col-span-1 space-y-3",children:[(0,t.jsx)("h3",{className:"text-[14px] md:text-[16
578px] font-bold tracking-wide text-[#FFFFFF]",children:I.educationInMotion}),(0,t.jsx)("ul",{className:"space-y-3 mb-8",children:(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:"https://www.eimglobal.com/?utm_source=dulwich.org&utm_medium=footer-link&utm_campaign=eim-family-of-schools",target:"_blank",rel:"noopener noreferrer",className:"text-[14px] text-[#FDFCF8] leading-[48px] md:leading-[40px] sm:leading-[32px] font-normal hover:text-[#D30013] transition-colors inline-block",children:I.afamilyofscl})})}),(0,t.jsx)("h3",{className:"text-[14px] md:text-[16px] font-bold tracking-wide text-[#FFFFFF]",children:I.foundScl}),(0,t.jsx)("ul",{className:"space-y-3 mb-8",children:(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:"https://www.dulwich.org.uk/?utm_source=dulwich.org&utm_medium=footer-link&utm_campaign=founding-school",target:"_blank",rel:"noopener noreferrer",className:"text-[14px] text-[#FDFCF8] leading-[48px] md:leading-[40px] sm:leading-[32px] font-normal hover:text-[#D30013] transition-colors inline-block",children:I.dulCol})})}),(0,t.jsx)("div",{className:"hidden md:block mt-8 pt-8",children:(0,t.jsxs)("div",{className:"flex flex-col xl:flex-row items-start gap-6",children:[eo&&(0,t.jsx)("div",{className:"flex-shrink-0",children:(0,t.jsx)("div",{className:"bg-white p-1 rounded-md border-[5px] border-white shadow-lg",children:(0,t.jsx)("img",{src:eo?.src||eo,alt:"WeChat QR Code",className:"w-32 h-32",onError:e=>{e.target.style.display="none"}})})}),(0,t.jsx)("div",{className:"flex-grow",children:(0,t.jsxs)("div",{className:"grid grid-cols-3 gap-4 items-center",children:[eo&&(0,t.jsx)("button",{onClick:()=>Q("wechat"),className:"transition-all duration-300 hover:opacity-70 hover:scale-110 flex items-center justify-center cursor-pointer bg-transparent border-0 p-0","aria-label":"WeChat",onMouseEnter:()=>$("wechat"),onMouseLeave:()=>$(null),children:(0,t.jsx)(r.default,{icon:"Icon-Social-WC",size:24,color:"wechat"===W?"#D30013":"white"})}),en&&(0,t.jsx)("button",{onClick:()=>Q("rednote"),className:"transition-all duration-300 hover:opacity-70 hover:scale-110 flex items-center justify-center cursor-pointer bg-transparent border-0 p-0","aria-label":"RedNote",onMouseEnter:()=>$("rednote"),onMouseLeave:()=>$(null),children:(0,t.jsx)(r.default,{icon:"Icon-Social-RedNote",size:36,color:"rednote"===W?"#D30013":"white"})}),es.youku&&"#"!==es.youku&&(0,t.jsx)("a",{href:es.youku,target:"_blank",rel:"noopener noreferrer",className:"transition-all duration-300 hover:opacity-70 hover:scale-110 flex items-center justify-center","aria-label":"Youku",onMouseEnter:()=>$("youku"),onMouseLeave:()=>$(null),children:(0,t.jsx)(r.default,{icon:"Icon-Social-YK",size:24,color:"youku"===W?"#D30013":"white"})}),es.youtube&&"#"!==es.youtube&&(0,t.jsx)("a",{href:es.youtube,target:"_blank",rel:"noopener noreferrer",className:"transition-all duration-300 hover:opacity-70 hover:scale-110 flex items-center justify-center","aria-label":"YouTube",onMouseEnter:()=>$("youtube"),onMouseLeave:()=>$(null),children:(0,t.jsx)(r.default,{icon:"Icon-Social-YT",size:24,color:"youtube"===W?"#D30013":"white"})}),es.instagram&&"#"!==es.instagram&&(0,t.jsx)("a",{href:es.instagram,target:"_blank",rel:"noopener noreferrer",className:"transition-all duration-300 hover:opacity-70 hover:scale-110 flex items-center justify-center","aria-label":"Instagram",onMouseEnter:()=>$("instagram"),onMouseLeave:()=>$(null),children:(0,t.jsx)(r.default,{icon:"Icon-Social-IG",size:24,color:"instagram"===W?"#D30013":"white"})}),es.facebook&&"#"!==es.facebook&&(0,t.jsx)("a",{href:es.facebook,target:"_blank",rel:"noopener noreferrer",className:"transition-all duration-300 hover:opacity-70 hover:scale-110 flex items-center justify-center","aria-label":"Facebook",onMouseEnter:()=>$("facebook"),onMouseLeave:()=>$(null),children:(0,t.jsx)(r.default,{icon:"Icon-Social-FB",size:24,color:"facebook"===W?"#D30013":"white"})}),es.linkedin&&"#"!==es.linkedin&&(0,t.jsx)("a",{href:es.linkedin,target:"_blank",rel:"noopener noreferrer",className:"transition-all duration-300 hover:opacity-70 hover:scale-110 flex items-center justify-center","aria-label":"LinkedIn",onMouseEnter:()=>$("linkedin"),onMouseLeave:()=>$(null),children:(0,t.jsx)(r.default,{icon:"Icon-Social-LI",size:24,color:"linkedin"===W?"#D30013":"white"})})]})})]})})]})]})})}),(0,t.jsx)("div",{className:"bg-[#3C3737]",children:(0,t.jsxs)("div",{className:"max-w-[1120px] mx-auto px-4 py-8 md:py-10",children:[(0,t.jsxs)("div",{className:"block md:hidden mb-8",children:[(0,t.jsx)("h3",{className:"text-base font-bold mb-3 text-white text-left",children:I.ourSchools}),(0,t.jsx)(j,{value:eb,options:ev,onChange:ew,isOpen:et,setIsOpen:ei,placeholder:el})]}),(0,t.jsx)("div",{className:"block md:hidden mb-8",children:(0,t.jsxs)("div",{className:"flex flex-col items-start gap-6",children:[eo&&(0,t.jsx)("div",{className:"flex-shrink-0",children:(0,t.jsx)("div",{className:"bg-white p-1 rounded-md",children:(0,t.jsx)("img",{src:eo?.src||eo,alt:"WeChat QR Code",className:"w-32 h-32",onError:e=>{e.target.style.display="none"}})})}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-6",children:[eo&&(0,t.jsx)("button",{onClick:()=>Q("wechat"),className:"transition-all duration-300 hover:opacity-70 hover:scale-110 cursor-pointer bg-transparent border-0 p-0","aria-label":"WeChat",children:(0,t.jsx)(r.default,{icon:"Icon-Social-WC",size:28,color:"white"})}),en&&(0,t.jsx)("button",{onClick:()=>Q("rednote"),className:"transition-all duration-300 hover:opacity-70 hover:scale-110 cursor-pointer bg-transparent border-0 p-0","aria-label":"RedNote",children:(0,t.jsx)(r.default,{icon:"Icon-Social-RedNote",size:40,color:"white"})}),es.youku&&"#"!==es.youku&&(0,t.jsx)("a",{href:es.youku,target:"_blank",rel:"noopener noreferrer",className:"transition-all duration-300 hover:opacity-70 hover:scale-110","aria-label":"Youku",children:(0,t.jsx)(r.default,{icon:"Icon-Social-YK",size:28,color:"white"})}),es.instagram&&"#"!==es.instagram&&(0,t.jsx)("a",{href:es.instagram,target:"_blank",rel:"noopener noreferrer",className:"transition-all duration-300 hover:opacity-70 hover:scale-110","aria-label":"Instagram",children:(0,t.jsx)(r.default,{icon:"Icon-Social-IG",size:28,color:"white"})}),es.facebook&&"#"!==es.facebook&&(0,t.jsx)("a",{href:es.facebook,target:"_blank",rel:"noopener noreferrer",className:"transition-all duration-300 hover:opacity-70 hover:scale-110","aria-label":"Facebook",children:(0,t.jsx)(r.default,{icon:"Icon-Social-FB",size:28,color:"white"})}),es.youtube&&"#"!==es.youtube&&(0,t.jsx)("a",{href:es.youtube,target:"_blank",rel:"noopener noreferrer",className:"transition-all duration-300 hover:opacity-70 hover:scale-110","aria-label":"YouTube",children:(0,t.jsx)(r.default,{icon:"Icon-Social-YT",size:28,color:"white"})}),es.linkedin&&"#"!==es.linkedin&&(0,t.jsx)("a",{href:es.linkedin,target:"_blank",rel:"noopener noreferrer",className:"transition-all duration-300 hover:opacity-70 hover:scale-110","aria-label":"LinkedIn",children:(0,t.jsx)(r.default,{icon:"Icon-Social-LI",size:28,color:"white"})})]})]})}),(0,t.jsx)("div",{className:"text-[16px] text-left text-[#FFFFFF]",children:ea?(0,t.jsxs)("div",{className:"lg:flex",children:[(0,t.jsx)("strong",{className:"text-white font-bold",children:I.safeguardingTitle})," "," ",(0,t.jsx)("span",{className:"font-light leading",dangerouslySetInnerHTML:{__html:ea}})]}):(0,t.jsxs)("p",{className:"leading-relaxed md:flex",children:[(0,t.jsx)("strong",{className:"text-white font-bold",children:I.safeguardingTitle})," "," ",(0,t.jsxs)("span",{className:"font-light md:flex",children:[I.safeguardingText," "," ",(0,t.jsx)("a",{href:"/our-college/safeguarding",className:"text-white text-[14px] underline hover:text-[#d30014] transition-colors duration-200",children:I.safeguardingLink})," "," ",I.safeguardingSuffix]})]})}),b[E]&&(0,t.jsx)("div",{className:"flex justify-center",children:(0,t.jsx)("div",{id:b[E].elementId})}),(0,t.jsxs)("div",{className:"mt-6 mb-16 pt-2 md:pt-6 border-t border-[#646261] lg:mb-[12px] md:flex justify-items-center md:justify-between align-baseline",children:[(0,t.jsx)("a",{href:["singapore","seoul","bangkok"].includes(E)?void 0:"https://beian.miit.gov.cn/#/Integrated/index",target:["singapore","seoul","bangkok"].includes(E)?"_self":"_blank",rel:["singapore","seoul","bangkok"].includes(E)?void 0:"noopener noreferrer",className:"text-[14px] hover:opacity-80 transition-opacity duration-200 text-[#FDFCF8]",children:"singapore"===E?(0,t.jsxs)("p",{className:"text-[14px] text-[#FDFCF8] mt-4 mb-4 text-left leading-relaxed transition-colors duration-200",children:["Dulwich College (Singapore) PEI Registration Number: 201027137D - Period of Registration: 09-01-2024 to 08-01-2028",(0,t.jsx)("br",{}),"© ",U," Dulwich College Management International Limited, or its affiliates."]}):(0,t.jsxs)("p",{className:"text-[14px] text-[#FDFCF8] hover:text-gray-300 text-left mt-4 leading-relaxed transition-colors duration-200",children:["© ",U," Dulwich College Management International Limited, or its affiliates.",!["seoul","bangkok"].includes(E)&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("br",{className:"md:hidden"}),(0,t.jsx)("span",{className:"hidden md:inline",children:" · "}),"沪ICPå¤16016470å·-4 · æ²ªå ¬ç½å®å¤31010602002392å·"]})]})}),(0,t.jsx)("a",{href:"https://www.eimglobal.com/?utm_source=dulwich.org&utm_medium=footer-link&utm_campaign=eim-family-of-schools",target:"_blank",rel:"noopener noreferrer",className:"flex place-items-baseline leading-4 gap-0 hover:opacity-80 transition-opacity duration-200 flex-shrink-0",children:(0,t.jsx)("img",{src:o.default?.src,alt:"EiM Family",className:"h-10 md:h-12 w-auto",onError:e=>{e.target.style.display="none"}})})]})]})}),H&&(0,t.jsx)("div",{className:`fixed inset-0 z-[200] flex items-center justify-center transition-all duration-300 ${q?"bg-black bg-opacity-0":"bg-black bg-opacity-50 backdrop-blur-sm"}`,onClick:Z,style:{animation:q?"fadeOut 0.3s ease-out":"fadeIn 0.3s ease-out"},children:(0,t.jsxs)("div",{className:`relative bg-white rounded-lg p-0 max-w-[90vw] md:max-w-md transform transition-all duration-300 ${q?"scale-0 opacity-0":"scale-100 opacity-100"}`,onClick:e=>e.stopPropagation(),style:{animation:q?"zoomOut 0.3s cubic-bezier(0.4, 0, 1, 1)":"zoomIn 0.3s cubic-bezier(0, 0, 0.2, 1)"},children:[(0,t.jsx)("button",{onClick:Z,className:"absolute top-4 right-4 z-10 text-[#D30013] hover:text-[#B8000F] transition-colors text-3xl font-light leading-none","aria-label":"Close",children:"Ã"}),(0,t.jsxs)("div",{className:"p-8 md:p-12 relative min-h-[200px] flex items-center justify-center",children:[G&&(0,t.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",children:(0,t.jsx)("div",{className:"animate-spin rounded-full h-12 w-12 border-b-4 border-t-4 border-[#D30013]"})}),(0,t.jsx)("img",{src:"wechat"===H?eo?.src||eo:en?.src||en,alt:"wechat"===H?"WeChat QR Code":"RedNote QR Code",className:`w-full h-auto transition-opacity duration-300 ${G?"opacity-0":"opacity-100"}`,onLoad:()=>X(!1),onError:()=>X(!1),style:{animation:q?"fadeOut 0.2s ease-out":G?"none":"fadeIn 0.4s ease-out"}})]})]})}),(0,t.jsx)("style",{children:` 579 /* Custom scrollbar for dropdown */ 580 .overflow-y-auto::-webkit-scrollbar {
581 width: 8px; 582 } 583 584 .overflow-y-auto::-webkit-scrollbar-track { 585 background: #f3f4f6; 586 border-radius: 4px; 587 } 588 589 .overflow-y-auto::-webkit-scrollbar-thumb { 590 background: #D30013; 591 border-radius: 4px; 592 } 593 594 .overflow-y-auto::-webkit-scrollbar-thumb:hover { 595 background: #B8000F; 596 } 597 598 /* Ensure dropdown is scrollable and receives mouse events */ 599 .overflow-y-auto { 600 -webkit-overflow-scrolling: touch; 601 overscroll-behavior: contain; 602 } 603 604 /* Prevent layout shift during dropdown animations */ 605 .relative { 606 contain: layout; 607 } 608 609 /* QR Code Modal Animations */ 610 @keyframes zoomIn { 611 0% { 612 opacity: 0; 613 transform: scale(0.3); 614 } 615 50% { 616 opacity: 1; 617 } 618 100% { 619 opacity: 1; 620 transform: scale(1); 621 } 622 } 623 624 @keyframes zoomOut { 625 0% { 626 opacity: 1; 627 transform: scale(1); 628 } 629 50% { 630 opacity: 0.5; 631 } 632 100% { 633 opacity: 0; 634 transform: scale(0.3); 635 } 636 } 637 638 @keyframes fadeIn { 639 from { 640 opacity: 0; 641 } 642 to { 643 opacity: 1; 644 } 645 } 646 647 @keyframes fadeOut { 648 from { 649 opacity: 1; 650 } 651 to { 652 opacity: 0; 653 } 654 } 655 `})]})}],67839)},92335,(e,t,i)=>{t.exports={bangkok:"#","shanghai-pudong":"https://portal-dcspd.dulwich.org/","shanghai-puxi":"https://portal-dcspx.dulwich.org/",seoul:"https://portal-dcsl.dulwich.org/",singapore:"https://portal-dcsg.dulwich.org/",suzhou:"https://portal-dcsz.dulwich.org/","hengqin-high-school":"#","suzhou-high-school":"https://portal-dhsz.dulwich.org/",beijing:"https://portal-dcb.dulwich.org/",newschool:{en:"https://newschool.dulwich.org/parent-portal",zh:"https://newschool.dulwich.org/zh/parent-portal"}}},32329,35809,32781,36671,98697,208,40125,42099,36727,73094,3341,e=>{"use strict";e.s(["getLocaleSwitcherHref",0,function(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return t||(t="/"),t.startsWith("/zh/")||"/zh"===t?""===(e=t.replace(/^\/zh(\/|$)/,"/"))&&(e="/"):e="/"===t?"/zh/":t.startsWith("/")?"/zh"+t:"/zh/"+t,e}],32329);let t={src:e.i(65229).default,width:721,height:127,blurWidth:0,blurHeight:0};e.s(["default",0,t],35809);let i={src:e.i(34097).default,width:834,height:124,blurWidth:0,blurHeight:0};e.s(["default",0,i],32781);let s={src:e.i(11370).default,width:999,height:134,blurWidth:0,blurHeight:0};e.s(["default",0,s],36671);let r={src:e.i(23067).default,width:774,height:127,blurWidth:0,blurHeight:0};e.s(["default",0,r],98697);let o={src:e.i(54979).default,width:682,height:127,blurWidth:0,blurHeight:0};e.s(["default",0,o],208);let n={src:e.i(49286).default,width:854,height:127,blurWidth:0,blurHeight:0};e.s(["default",0,n],40125);let a={src:e.i(92329).default,width:933,height:127,blurWidth:0,blurHeight:0};e.s(["default",0,a],42099);let l={src:e.i(64669).default,width:774,height:127,blurWidth:0,blurHeight:0};e.s(["default",0,l],36727);let c={src:e.i(82954).default,width:713,height:127,blurWidth:0,blurHeight:0};e.s(["default",0,c],73094);let d=e=>e?e.toLowerCase().replace(/\s+/g,"-").replace(/[^\w\u4e00-\u9fa5-]/g,"-").replace(/--+/g,"-").replace(/(^-|-$)/g,""):"",u=e=>{if(e.header_menu_title)return e.header_menu_title;let t={1817:"our-members",1818:"life-at-dulwich",1820:"highlighted",1815:"holistic-education",795:"core-curriculum"};return e.id&&t[e.id]?t[e.id]:d(e.title)},h=e=>e&&"#"!==e?e.replace(/\\\//g,"/"):null,m=(e,t)=>{if(e.header_menu_title)return e.header_menu_title;let i={60:"why-dulwich",795:"learning",796:"community",797:"admissions"};if(e.id&&i[e.id])return i[e.id];let s=["why-dulwich","learning","community","admissions"];if(t<s.length)return s[t];let r=d(e.title);return`${r}-${t}`};e.s(["transformSchoolMenuData",0,function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en",i="zh"===t;
655return{navItems:e?.success&&Array.isArray(e?.data)?e.data.map((e,t)=>{let i=e.items||[],s=[],r=[],o=[];i.forEach(e=>{var t;let i,n;(e=>{let t=[],i=e.items||[];if(0===i.length)return t;let s=i.filter(e=>e.highlight_menu),r=i.filter(e=>!e.highlight_menu);return s.sort((e,t)=>{let i=e=>{let t=e.highlight_menu?.weight;return null==t||""===t?999999:Number(t)};return i(e)-i(t)}),r.length>0&&t.push({id:u(e),heading:e.title,style:"regular",url:h(e.url),links:r.map(e=>({title:e.title,header_menu_title:e.header_menu_title,url:h(e.url),type:e.type||"Internal_page"}))}),s.length>0&&t.push({id:`highlighted-${u(e)}`,heading:"HIGHLIGHTED",style:"highlighted",url:h(e.url),links:s.map(e=>({title:e.title,header_menu_title:e.header_menu_title,url:h(e.url),image:e.highlight_menu?.image,imageUrl:e.highlight_menu?.image,description:e.highlight_menu?.description,buttonText:e.highlight_menu?.button_text||e.highlight_menu?.title||e.title,isHighlighted:!0,weight:e.highlight_menu?.weight,type:e.type||"Internal_page"}))}),t})(e).forEach(e=>{"highlighted"===e.style?o.push(...e.links):s.push(e)}),(t=e.items||[],i=[],(n=e=>{Array.isArray(e)&&e.forEach(e=>{e.highlight_menu&&i.push(e),e.items&&e.items.length>0&&n(e.items)})})(t),i).forEach(e=>{e.highlight_menu&&r.push({id:e.menu_name||`${d(e.title)}-${r.length}`,heading:e.title,url:e.url,image:e.highlight_menu?.image,description:e.highlight_menu?.description||"",weight:e.highlight_menu?.weight})})}),o.length>0&&(o.sort((e,t)=>(null===e.weight||void 0===e.weight||""===e.weight?999999:Number(e.weight))-(null===t.weight||void 0===t.weight||""===t.weight?999999:Number(t.weight))),s.push({id:`highlighted-${m(e,t)}`,heading:"HIGHLIGHTED",style:"highlighted",links:o})),r.sort((e,t)=>(null===e.weight||void 0===e.weight||""===e.weight?999999:Number(e.weight))-(null===t.weight||void 0===t.weight||""===t.weight?999999:Number(t.weight)));let n=[];return i.forEach(e=>{console.log("[transformer] subsection:",e.title,"items:",e.items?.length,e.items?.map(e=>({title:e.title,highlight_menu:!!e.highlight_menu})));let t=e.items||[];t.length>0?t.forEach((e,t)=>{n.push({id:e.id||`${d(e.title)}-${n.length}`,title:e.title,header_menu_title:e.header_menu_title,url:e.url&&"#"!==e.url?e.url:null,type:e.type||"Internal_page"})}):e.url&&"#"!==e.url&&n.push({id:u(e),title:e.title,url:e.url})}),console.log("[transformer] menuItem:",e.title,"subsectionLinks:",n),{id:m(e,t),label:e.title,url:h(e.url),linkType:e.type||"Internal_page",sections:s,subsectionLinks:n,cards:r,links:i.map(e=>({title:e.title,url:h(e.url),type:e.type||"Internal_page"}))}}):[],topBar:{parentPortal:i?"å®¶é¿é¨æ·":"Parent Portal",schoolCalendar:"妿 ¡æ¥å"},siteMapLabel:i?"æ¥ç宿´ç½ç«å°å¾":"See Full Site Map",searchPlaceholder:i?"æç´¢":"Search",searchResultsTitle:i?"æç´¢ç»æ":"Search Results",searchResultsClose:i?"å
³é":"Close",searchSearchingFor:i?"æ£å¨æç´¢ï¼":"Searching for:",searchPrevious:i?"ä¸ä¸é¡µ":"Previous",searchNext:i?"ä¸ä¸é¡µ":"Next",searchPage:i?"页":"Page",searchNoResults:i?"æªæ¾å°ç»æ":"No Results Found",searchNoResultsDesc:i?"æä»¬æ¾ä¸å°ä»»ä½å¹é
çç»æ":"We couldn't find any matches for",searchTryDifferent:i?"å°è¯ä½¿ç¨ä¸åçå
³é®è¯ææ£æ¥æ¼å":"Try using different keywords or check your spelling",buttons:{enquire:i?"å¨è¯¢":"Enquire",applyNow:i?"ç«å³ç³è¯·":"Apply Now"},mobile:{schools:i?"妿 ¡":"Schools",fullSiteMap:i?"宿´ç½ç«å°å¾":"Full Site Map",aiAssistant:i?"å¨è¯¢ AI":"Ask AI"}}}],3341)},91533,e=>{"use strict";var t=e.i(43476),i=e.i(71645),s=e.i(76958),r=e.i(64659),o=e.i(46932),n=e.i(76411),a=e.i(21385),l=e.i(32329),c=e.i(35809),d=e.i(32781),u=e.i(36671),h=e.i(98697),m=e.i(208),p=e.i(40125),f=e.i(42099),g=e.i(36727),x=e.i(73094),v=e.i(54144),y=e.i(92335),b=e.i(21378),w=e.i(3341),k=e.i(37178);let j="https://cms.dulwich.org";e.s(["default",0,function(e){let C,M,{selectedSchool:S,availableSchools:N,setSelectedSchool:z,setSelectedSchoolSlug:I,setChatOpen:E,chatOpen:A,headerScrolled:D,pageLayoutType:T}=e,[F,P]=(0,i.useState)(!1),[L,_]=(0,i.useState)(!1),[R,B]=(0,i.useState)("EN"),[V,O]=(0,i.useState)(null),[W,$]=(0,i.useState)(!1),[U,H]=(0,i.useState)(!1),[Y,q]=(0,i.useState)(Array.isArray(N)?N:[]),[K,G]=(0,i.useState)(""),[X,Q]=(0,i.useState)(null),[Z,J]=(0,i.useState)(!1),[ee,et]=(0,i.useState)(!1),[ei,es]=(0,i.useState)(!1),[er,eo]=(0,i.useState)(!1),[en,ea]=(0,i.useState)(1),[el,ec]=(0,i.useState)("#"),[ed,eu]=(0,i.useState)(!1),eh=i.default.useRef(null),em=i.default.useRef(null),[ep,ef]=(0,i.useState)(null),[eg,ex]=(0,i.useState)(!1),[ev,ey]=(0,i.useState)("/admissions/enquire");(0,i.useEffect)(()=>{eu(!0);let e=(0,v.getCurrentSchool)();
655ey("suzhou-high-school"===e?"https://dhsz.openapply.cn/roi?c_campaign=2369":"hengqin-high-school"===e?"https://dulwichzhuhai.mike-x.com/GVBeZ":"bangkok"===e?"/admissions/enquire-more-about-dulwich":U?"/zh/admissions/enquire":"/admissions/enquire")},[U]),(0,i.useEffect)(()=>{let e=async()=>{try{let e=(0,v.getCurrentSchool)();if(console.log("ð Fetching notification for school:",e),!e)return void console.log("â No current school found");let t=U?"zh":"en",i=`${e}-cms`,s=`${j}/api/school_info?locale=${t}&school=${i}`;console.log("ð Notification API URL:",s);let r=await fetch(s);if(!r.ok)return void console.log("â Notification API response not OK:",r.status);let o=await r.json();console.log("ð Notification API response:",o);let n=o.notification||o.data?.notification;n&&n.title?(console.log("â
Notification found:",n),ef(n),ex(!0)):console.log("â No notification in response")}catch(e){console.error("â Error fetching notification:",e)}};ed&&e()},[ed,U]),(0,i.useEffect)(()=>(Z?(window.lenis&&window.lenis.stop(),document.body.style.overflow="hidden",document.documentElement.classList.remove("lenis","lenis-smooth")):(window.lenis&&window.lenis.start(),document.body.style.overflow="",document.documentElement.classList.add("lenis","lenis-smooth")),()=>{window.lenis&&window.lenis.start(),document.body.style.overflow="",document.documentElement.classList.add("lenis","lenis-smooth")}),[Z]),(0,i.useEffect)(()=>{let e=window.location.pathname,t=e.startsWith("/zh/")||"/zh"===e;H(t),B(t?"䏿":"EN"),ec((0,l.getLocaleSwitcherHref)(e))},[]),(0,i.useEffect)(()=>{Array.isArray(N)&&N.length>0&&q(N)},[N]),(0,i.useEffect)(()=>{if(Array.isArray(N)&&N.length>0)return;let e=new AbortController;return(async()=>{try{let t=U?"zh":"en",i=await fetch(`https://cms.dulwich.org/api/schools?locale=${t}`,{signal:e.signal}),s=await i.json(),r=(s?.success&&Array.isArray(s?.data)?s.data:[]).filter(e=>"newschool"!==e.slug);q(r)}catch(e){if(e?.name==="AbortError")return;q([])}})(),()=>e.abort()},[N,U]),(0,i.useEffect)(()=>{if(!Y||0===Y.length||!z||!I)return;let e=(0,v.getCurrentSchool)();if(!e)return;let t=Y.find(t=>(t?.slug||"").toLowerCase()===e.toLowerCase());if(!t)return;let i=`${t.title}`;S!==i&&(z(i),I(t.slug))},[Y,S,z,I]),(0,i.useEffect)(()=>{let e=()=>{let e=window.scrollY>20;F!==e&&P(e)};return window.addEventListener("scroll",e,{passive:!0}),()=>{window.removeEventListener("scroll",e)}},[F]);let eb=void 0!==D?D:F;(0,i.useEffect)(()=>(L?(document.body.style.overflow="hidden",document.body.style.position="fixed",document.body.style.width="100%",document.body.style.height="100%"):(document.body.style.overflow="",document.body.style.position="",document.body.style.width="",document.body.style.height=""),()=>{document.body.style.overflow="",document.body.style.position="",document.body.style.width="",document.body.style.height=""}),[L]),(0,i.useEffect)(()=>(A?(document.body.style.overflow="hidden",document.body.style.position="fixed",document.body.style.width="100%",document.body.style.height="100%"):(document.body.style.overflow="",document.body.style.position="",document.body.style.width="",document.body.style.height=""),()=>{document.body.style.overflow="",document.body.style.position="",document.body.style.width="",document.body.style.height=""}),[A]);let ew=U?"zh":"en",ek=(0,v.getCurrentSchool)(),{data:ej,isLoading:eC,error:eM}=(0,b.useDynamicMenu)(ew,ek||null),eS=i.default.useMemo(()=>{if(ej?.success){let e=(0,w.transformSchoolMenuData)(ej,ew);return console.log("[PageHeader] Full transformed data:",e),console.log("[PageHeader] navItems:",e.navItems?.map(e=>({id:e.id,label:e.label,sectionsCount:e.sections?.length,sections:e.sections?.map(e=>({heading:e.heading,style:e.style,linksCount:e.links?.length,links:e.links?.map(e=>({title:e.title,isHighlighted:e.isHighlighted}))})),cardsCount:e.cards?.length}))),e}return console.log("[PageHeader] API failed, using empty fallback"),{navItems:[],topBar:{parentPortal:U?"å®¶é¿é¨æ·":"Parent Portal",schoolCalendar:U?"妿 ¡æ¥å":"School Calendar"},siteMapLabel:U?"æ¥ç宿´ç½ç«å°å¾":"See Full Site Map",searchPlaceholder:U?"æç´¢":"Search",buttons:{enquire:U?"å¨è¯¢":"Enquire",applyNow:U?"ç«å³ç³è¯·":"Apply Now"}}},[ej,U,ew]),eN=e=>eS.navItems.find(t=>
655t.id===e)||{},ez=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=(0,v.getCurrentSchool)();if(!t)return e;let i=e=>e.some(e=>e.split(",").map(e=>e.trim()).includes(t));return e.filter(e=>(!e.schools||i(e.schools))&&(!e.excludeSchools||!i(e.excludeSchools)))};eN("why-dulwich"),eN("learning"),eN("community"),eN("admissions");let eI=e=>{let t=[];return e&&Array.isArray(e)&&e.forEach(e=>{if(e.url&&t.push(e.url),e.links&&Array.isArray(e.links)&&e.links.forEach(e=>{if(e.url&&t.push(e.url),e.items&&Array.isArray(e.items)){let i=eI(e.items);t.push(...i)}}),e.items&&Array.isArray(e.items)){let i=eI(e.items);t.push(...i)}}),t},eE=e=>{if(!e||"#"===e||!ed)return!1;let t=window.location.pathname;try{let i;i=e.startsWith("http://")||e.startsWith("https://")?new URL(e).pathname:e.startsWith("/")?e:"/"+e;let s=t.replace(/\/$/,"").toLowerCase(),r=i.replace(/\/$/,"").toLowerCase(),o=s.replace(/^\/zh\//,"/"),n=r.replace(/^\/zh\//,"/");return o===n}catch(t){return console.error("Error matching link URL:",e,t),!1}},eA=e=>{if(!e||!e.sections||!ed)return!1;let t=window.location.pathname;return eI(e.sections).some(e=>{if(!e||"#"===e)return!1;try{let i;i=e.startsWith("http://")||e.startsWith("https://")?new URL(e).pathname:e.startsWith("/")?e:"/"+e;let s=t.replace(/\/$/,"").toLowerCase(),r=i.replace(/\/$/,"").toLowerCase();if(s===r||s.startsWith(r+"/"))return!0;return!1}catch(t){return console.error("Error matching URL:",e,t),!1}})},eD=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;if(e&&e.preventDefault(),K.trim()){et(!0),J(!0),ea(t);try{let e=new URLSearchParams({query:K.trim(),page:t.toString()}),i=(0,v.getCurrentSchool)();i&&e.append("school",`${i}-cms`);let s=U?"zh":"en";e.append("locale",s);let r=await fetch(`${j}/api/search?${e.toString()}`),o=await r.json();Q(o)}catch(e){console.error("Search error:",e),Q({success:!1,errors:{general:["Failed to fetch search results"]}})}finally{et(!1)}}};(0,i.useEffect)(()=>(Z?(document.body.style.overflow="hidden",document.body.style.position="fixed",document.body.style.width="100%",document.body.style.height="100%"):(document.body.style.overflow="",document.body.style.position="",document.body.style.width="",document.body.style.height="",ea(1)),()=>{document.body.style.overflow="",document.body.style.position="",document.body.style.width="",document.body.style.height=""}),[Z]),(0,i.useEffect)(()=>{ei&&eh.current&&em.current&&requestAnimationFrame(()=>{setTimeout(()=>{let e=eh.current,t=em.current;if(e&&t){e.getBoundingClientRect();let i=t.getBoundingClientRect(),s=e.offsetTop-i.top-80;t.scrollTo({top:s,behavior:"smooth"})}},400)})},[ei]);let eT=(0,v.getCurrentSchool)(),{schoolInfo:eF,isLoading:eP}=(0,k.useSchoolInfo)(eT,U?"zh":"en"),eL=(0,i.useMemo)(()=>{let e=y.default[eT];return e?"object"==typeof e&&e.en&&e.zh?U?e.zh:e.en:e:null},[eT,U]),e_=null!=T?parseInt(T,10):null,eR="singapore"===eT?"https://singapore.dulwich.org/":U?"/zh/":"/",eB=(0,i.useMemo)(()=>({singapore:h.default,suzhou:c.default,"suzhou-high-school":d.default,"hengqin-high-school":u.default,seoul:m.default,"shanghai-puxi":p.default,"shanghai-pudong":f.default,bangkok:g.default,beijing:x.default}),[]),eV=(0,i.useMemo)(()=>({singapore:"Dulwich College Singapore",suzhou:"Dulwich College Suzhou","suzhou-high-school":"Dulwich College Suzhou High School","hengqin-high-school":"Dulwich College Hengqin High School",seoul:"Dulwich College Seoul","shanghai-puxi":"Dulwich College Shanghai Puxi","shanghai-pudong":"Dulwich College Shanghai Pudong",bangkok:"Dulwich College Bangkok",beijing:"Dulwich College Beijing"}),[]),eO=(0,i.useMemo)(()=>{let e=eB[eT];return!e&&eF?.logo?eF.logo.startsWith("http://")||eF.logo.startsWith("https://")?eF.logo:`https://assets.dulwich.org/dulwich/${eF.logo}`:e?.src||e},[eT,eB,eF]),eW=eV[eT]||"Dulwich College";return 4===e_?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("style",{children:` 656 @keyframes shimmer { 657 0% { 658 background-position: -468px 0; 659 } 660 100% { 661 background-position: 468px 0; 662 } 663 } 664 665 .logo-loading { 666 background: linear-gradient( 667 to right, 668 #f6f7f8 0%, 669 #edeef1 20%, 670 #f6f7f8 40%, 671 #f6f7f8 100% 672 ); 673 background-size: 800px 104px; 674 animation: shimmer 1.5s infinite linear; 675 } 676 `}),(0,t.jsx)("header",{className:"hidden lg:block fixed top-0 left-0 right-0 z-50 bg-white shadow-sm",children:(0,t.jsx)("div",{className:"px-4 py-4",children:(0,t.jsx)("div",{className:"max-w-[1120px] mx-auto flex items-center justify-start gap-4",children:ed&&eO&&(0,t.jsx)("div",{className:"relative h-12 w-[270px]",children:(0,t.jsx)("img",{src:eO,alt:eW,className:"h-12 w-[270px] cursor-pointer transition-all duration-200 opacity-100",onClick:()=>window.location.href=eR,onError:e=>{let t=eB[eT];if(t){let i=t?.src||t;e.target.src!==i&&(console.warn(`Failed to load logo from ${e.target.src}, falling back to static logo`),e.target.src=i)}}})})})})}),(0,t.jsx)("header",{className:"lg:hidden fixed top-0 left-0 right-0 z-50 bg-white shadow-sm",children:(0,t.jsx)("div",{className:"px-4 py-3",children:(0,t.jsx)("div",{className:"flex items-center justify-start gap-3",children:ed&&eO&&(0,t.jsx)("img",{src:eO,alt:eW,className:"w-[220px] cursor-pointer",onClick:()=>window.location.href=eR})})})})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("style",{children:` 677 /* Utility class for display none */ 678 .d-none { 679 display: none !important; 680 } 681 682 @keyframes smoothSlideDown { 683 from { 684 opacity: 0; 685 transform: scaleY(0.95) translateY(-10px); 686 } 687 to { 688 opacity: 1; 689 transform: scaleY(1) translateY(0); 690 } 691 } 692 693 @keyframes smoothSlideUp { 694 from { 695 opacity: 1; 696 transform: scaleY(1) translateY(0); 697 } 698 to { 699 opacity: 0; 700 transform: scaleY(0.95) translateY(-10px); 701 } 702 } 703 704 @keyframes slideInFromTop { 705 from { 706 opacity: 0; 707 transform: translateY(-10px); 708 max-height: 0; 709 } 710 to { 711 opacity: 1; 712 transform: translateY(0); 713 max-height: 2000px; 714 } 715 } 716 717 [data-radix-navigation-menu-content] { 718 transform-origin: top center; 719 } 720 721 [data-radix-navigation-menu-content][data-state="open"] { 722 animation: smoothSlideDown 200ms ease-out; 723 } 724 725 [data-radix-navigation-menu-content][data-state="closed"] { 726 animation: smoothSlideUp 150ms ease-in; 727 } 728
729 [data-state=open] .nav-content { 730 animation: smoothSlideDown 200ms ease-out; 731 transform-origin: top center; 732 } 733 734 [data-state=closed] .nav-content { 735 animation: smoothSlideUp 200ms ease-in; 736 transform-origin: top center; 737 } 738 739 /* Header minimize on scroll for page_layout_type 5 */ 740 body.header-minimized header { 741 height: 80px !important; 742 transition: height 0.3s ease-in-out; 743 overflow: hidden; 744 } 745 746 body.header-minimized header > div { 747 padding-top: 0.5rem !important; 748 padding-bottom: 0.5rem !important; 749 } 750 751 body.header-minimized header img { 752 height: 2.5rem !important; 753 transition: height 0.3s ease-in-out; 754 } 755 756 /* Custom scrollbar for mobile menu */ 757 .mobile-menu-scroll { 758 -webkit-overflow-scrolling: touch; 759 scroll-behavior: smooth; 760 overscroll-behavior: contain; 761 } 762 763 /* Prevent viewport from resizing on keyboard open */ 764 @supports (-webkit-touch-callout: none) { 765 .mobile-menu-scroll { 766 min-height: 100vh; 767 min-height: -webkit-fill-available; 768 } 769 } 770 771 .mobile-menu-scroll::-webkit-scrollbar {
772 width: 6px; 773 } 774 775 .mobile-menu-scroll::-webkit-scrollbar-track { 776 background: transparent; 777 } 778 779 .mobile-menu-scroll::-webkit-scrollbar-thumb { 780 background: #D1D5DB; 781 border-radius: 3px; 782 } 783 784 .mobile-menu-scroll::-webkit-scrollbar-thumb:hover { 785 background: #3C3737; 786 } 787 788 /* Smooth transition for mobile menu padding */ 789 .mobile-menu-scroll { 790 transition: padding-bottom 0.3s ease-out; 791 } 792 793 /* Smooth dropdown transitions */ 794 .dropdown-content { 795 overflow: hidden; 796 transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease-out; 797 } 798 799 .dropdown-content-enter { 800 max-height: 0; 801 opacity: 0; 802 } 803 804 .dropdown-content-enter-active { 805 max-height: 2000px; 806 opacity: 1; 807 } 808 809 .dropdown-content-exit { 810 max-height: 2000px; 811 opacity: 1; 812 } 813 814 .dropdown-content-exit-active { 815 max-height: 0; 816 opacity: 0; 817 } 818 819 /* Smooth chevron rotation */ 820 .chevron-rotate { 821 transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); 822 } 823 824 /* Smooth underline animation */ 825 .section-underline { 826 transform-origin: left; 827 transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); 828 } 829 830 /* Stagger animation for cards */ 831 @keyframes fadeInUp { 832 from { 833 opacity: 0; 834 transform: translateY(10px); 835 } 836 to { 837 opacity: 1; 838 transform: translateY(0); 839 } 840 } 841 842 .card-stagger-1 { 843 animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both; 844 } 845 846 .card-stagger-2 { 847 animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both; 848 } 849 850 /* Smooth link transitions */ 851 .link-item { 852 transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); 853 } 854 855 /* Search focus highlighting */ 856 .search-container-focused { 857 position: sticky; 858 bottom: 0; 859 z-index: 10; 860 } 861 862 /* Smooth keyboard appearance handling */ 863 @media screen and (max-width: 1023px) { 864 .mobile-menu-scroll { 865 scroll-padding-bottom: 400px; 866 } 867 } 868 869 /* Image loading skeleton animation */ 870 @keyframes shimmer { 871 0% { 872 background-position: -468px 0; 873 } 874 100% { 875 background-position: 468px 0; 876 } 877 } 878 879 .image-skeleton { 880 background: #f0f0f0; 881 background-image: linear-gradient( 882 to right, 883 #f0f0f0 0%, 884 #e0e0e0 20%, 885 #f0f0f0 40%, 886 #f0f0f0 100% 887 ); 888 background-repeat: no-repeat; 889 background-size: 800px 100%; 890 animation: shimmer 1.5s linear infinite; 891 } 892 893 .image-loaded { 894 animation: fadeIn 0.5s ease-in; 895 } 896 897 @keyframes fadeIn { 898 from { 899 opacity: 0; 900 } 901 to { 902 opacity: 1; 903 } 904 } 905 `}),(0,t.jsxs)("header",{className:"hidden lg:block fixed top-0 left-0 right-0 z-50 bg-white shadow-sm px-4",children:[A&&(0,t.jsx)("div",{className:"",children:(0,t.jsxs)("div",{className:"max-w-[1120px] mx-auto flex items-center justify-end gap-3",children:[(0,t.jsx)("button",{onClick:()=>E(!1),className:"w-5 h-5 flex items-center justify-center rounded-full bg-[#3d3d3d] hover:bg-[#555] transition-colors","aria-label":"Close chat",children:(0,t.jsx)(n.default,{icon:"Close-Button",size:24,color:"white"})}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsxs)(o.motion.button,{className:"flex bg-[#FAF7F5] items-center gap-2 px-4 py-6 text-sm font-medium transition-all duration-300",style:{color:"##3C3737"},onClick:()=>E(!1),whileHover:{scale:1.05},whileTap:{scale:.95},transition:{type:"spring",stiffness:400,damping:17},children:[U?"å¨è¯¢ AI":"Ask AI",(0,t.jsx)(o.motion.div,{transition:{duration:.5},children:(0,t.jsx)(n.default,{icon:"Icon-AI",size:20,color:"#D30013",className:"transition-all duration-300"})})]}),(0,t.jsx)(o.motion.div,{className:"absolute -bottom-0 left-0 right-0 h-2 bg-[#9E1422]",initial:{scaleX:0},animate:{scaleX:1},transition:{duration:.3}})]}),(0,t.jsxs)("div",{className:"flex items-center gap-3 py-3",children:[(0,t.jsxs)("button",{className:"cta_enquire_desktop group flex items-center gap-2 px-4 py-3 text-sm font-medium border rounded-lg transition-all duration-300 ease-in-out transform hover:scale-105 active:scale-95",style:{color:"#D30013",borderColor:"#D30013"},onMouseEnter:e=>{e.currentTarget.style.backgroundColor="#FEF2F2"},onMouseLeave:e=>{e.currentTarget.style.backgroundColor="transparent"},children:["Enquire",(0,t.jsx)(n.default,{icon:"Icon_Email",size:20,className:"transition-transform duration-300"})]}),ed&&"seoul"!==(0,v.getCurrentSchool)()&&(0,t.jsx)("a",{href:"/admissions/apply-now",children:(0,t.jsxs)("button",{className:"cta_apply_desktop group flex items-center gap-2 px-4 py-3.5 text-sm font-medium text-white rounded-lg transition-all duration-300 ease-in-out transform hover:scale-105 hover:shadow-lg active:scale-95",style:{backgroundColor:"#D30013"},onMouseEnter:e=>{e.currentTarget.style.backgroundColor="#B8000F"},onMouseLeave:e=>{e.currentTarget.style.backgroundColor="#D30013"}
905,children:["Apply Now",(0,t.jsx)(n.default,{icon:"Icon-Arrow",size:18,color:"white",className:"transition-transform duration-300 group-hover:translate-x-1"})]})})]})]})}),!A&&(0,t.jsxs)(t.Fragment,{children:[!eb&&(0,t.jsx)("div",{className:"px-4 py-2",children:(0,t.jsxs)("div",{className:"max-w-[1120px] mx-auto px-5 flex items-center justify-between mt-1 mb-3",children:[(0,t.jsx)("div",{className:"flex items-center gap-4",children:ed&&eO&&(0,t.jsx)("a",{href:eR,...eR.startsWith("http")&&eR.includes("singapore.dulwich.org")?{rel:"noopener noreferrer"}:{},className:"relative block h-12 w-[270px]",children:(0,t.jsx)("img",{src:eO,alt:eW,className:"h-auto w-[270px] transition-all duration-500 ease-out hover:scale-105 opacity-100",onError:e=>{let t=eB[eT];if(t){let i=t?.src||t;e.target.src!==i&&(console.warn(`Failed to load logo from ${e.target.src}, falling back to static logo`),e.target.src=i)}}})})}),(0,t.jsxs)("div",{className:"flex items-center gap-6 text-sm text-[#3C3C3B]",children:[ed&&"bangkok"!==eT&&"hengqin-high-school"!==eT&&eL&&(0,t.jsx)("a",{href:eL,target:"_blank",rel:"noopener noreferrer",className:"link_parent-portal hover:text-red-600 transition-colors parent-portal text-left",style:{color:"#3C3C3B",lineHeight:"2.2",borderRight:"1px solid #E3D9D1",paddingRight:"30px"},children:U?"å®¶é¿é¨æ·":"Parent Portal"}),ed&&(0,t.jsx)("a",{href:U?"/zh/community/life-at-dulwich/school-calendar":"/community/life-at-dulwich/school-calendar",className:"link_school-calendar hover:text-red-600 transition-colors",style:{color:"#3C3C3B"},children:U?"妿 ¡æ¥å":"School Calendar"}),ed&&!["singapore","bangkok","seoul"].includes(eT)&&(0,t.jsx)("a",{href:el,className:"hover:text-red-800 font-extrabold transition-colors",children:U?"EN":"䏿"})]})]})}),(0,t.jsx)("div",{className:`px-4 ${eb?"py-3":"py-2"} transition-all duration-200`,children:(0,t.jsxs)("div",{className:"max-w-[1120px] mx-auto px-5 flex items-center justify-between",children:[(0,t.jsxs)("div",{className:`w-full flex items-center justify-left gap-5 ${eb?"ml-[0%]":"ml-[2%]"}`,children:[eb&&(0,t.jsx)("div",{className:"items-center animate-in fade-in slide-in-from-left-4 duration-200",children:(0,t.jsx)("img",{src:"/images/crest-logo.svg",alt:"Dulwich College",className:"transition-all duration-500 ease-out h-12 min-w-[38px] hover:scale-110"})}),(0,t.jsx)(s.Root,{className:"flex",onValueChange:e=>$(!!e),delayDuration:100,children:(0,t.jsx)(s.List,{className:"flex items-left gap-1",children:(eS.navItems||[]).map((e,i)=>{let r,o,a,l=(e.sections||[]).some(e=>ez(e.links).length>0),c="Tab"===e.linkType,d="External_link"===e.linkType,u=!c&&e.url&&"#"!==e.url;return(0,t.jsx)(s.Item,{children:l?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.Trigger,{asChild:!0,className:"group px-3 py-0 text-[16px] leading font-base text-[#3C3C3B] hover:text-gray-900 data-[state=open]:text-gray-900 outline-none transition-all duration-200 relative cursor-pointer",children:u?(0,t.jsxs)("a",{href:e.url,target:d?"_blank":void 0,rel:d?"noopener noreferrer":void 0,children:[e.label,(0,t.jsx)("span",{suppressHydrationWarning:!0,className:`absolute -bottom-5 left-0 w-full h-2 bg-[#9E1422] ${eA(e)?"scale-x-100":"scale-x-0"} group-hover:scale-x-100 group-data-[state=open]:scale-x-100 transition-transform duration-200 origin-left`})]}):(0,t.jsxs)("button",{children:[e.label,(0,t.jsx)("span",{suppressHydrationWarning:!0,className:`absolute -bottom-5 left-0 w-full h-2 bg-[#9E1422] ${eA(e)?"scale-x-100":"scale-x-0"} group-hover:scale-x-100 group-data-[state=open]:scale-x-100 transition-transform duration-200 origin-left`})]})}),(0,t.jsx)(s.Content,{className:`nav-content fixed left-0 right-0 ${eb?"top-[72px]":"top-[142px]"} w-full z-[60]`,children:(0,t.jsx)("div",{className:"w-full bg-white",children:(0,t.jsxs)("div",{className:"w-[1120px] mx-auto px-4 py-8",children:[(0,t.jsx)("div",{className:"grid grid-cols-4 gap-8 mb-8",children:(r=[],o=[],(e.sections||[]).forEach(e=>{let t=ez(e.links||[]),i=t.filter(e=>!e.isHighlighted),s=t.filter(e=>e.isHighlighted);i.length>0&&r.push({...e,links:i}),s.length>0&&o.push(...s)}),o.sort((e,t)=>
905(null===e.weight||void 0===e.weight||""===e.weight?999999:Number(e.weight))-(null===t.weight||void 0===t.weight||""===t.weight?999999:Number(t.weight))),a=r.length>0?Math.max(0,2-r.length):2,(0,t.jsxs)(t.Fragment,{children:[r.map((e,i)=>(0,t.jsxs)("div",{className:"text-left",children:[(0,t.jsx)("h3",{className:"text-[12px] text-left font-bold text-[#3C3C3B] mb-4 tracking-widest uppercase",children:(0,t.jsx)("button",{className:"uppercase transition-colors text-left",children:e.heading})}),(0,t.jsx)("ul",{className:"space-y-3",style:{listStyle:"none",padding:0,margin:0},children:e.links.map((e,i)=>{let s=eE(e.url),r="Tab"===e.type,o="External_link"===e.type;return(0,t.jsx)("li",{children:r?(0,t.jsx)("span",{className:"text-base text-[#3C3C3B] cursor-default",children:e.header_menu_title||e.title}):(0,t.jsx)("a",{href:e.url,target:o?"_blank":void 0,rel:o?"noopener noreferrer":void 0,className:`text-base transition-colors ${s?"text-[#D30013] font-semibold":"text-[#3C3C3B] hover:text-[#D30013]"}`,children:e.header_menu_title||e.title})},i)})})]},i)),Array.from({length:a}).map((e,i)=>(0,t.jsx)("div",{},`spacer-${i}`)),o.length>0&&(0,t.jsx)("div",{className:"col-span-2 text-left",children:(0,t.jsx)("div",{className:"grid grid-cols-2 gap-6",children:o.map((e,i)=>{let s="Tab"===e.type,r="External_link"===e.type;return(0,t.jsxs)("div",{className:"flex flex-col h-full",children:[(0,t.jsx)("h3",{className:"text-[12px] text-left font-bold text-[#3C3C3B] mb-4 tracking-widest uppercase h-8 flex items-start",children:(0,t.jsx)("button",{className:"uppercase transition-colors text-left",children:e.title})}),e.imageUrl&&(0,t.jsx)("div",{className:"w-full h-40 overflow-hidden relative rounded-lg mb-4 image-skeleton",children:(0,t.jsx)("img",{src:e.imageUrl,alt:e.title,className:"w-full h-full object-cover image-loaded",onLoad:e=>e.target.parentElement.classList.remove("image-skeleton")})}),(0,t.jsxs)("div",{className:"flex-1 flex flex-col",children:[e.description&&(0,t.jsx)("p",{className:"text-xs text-left text-[#3C3C3B] mb-4 leading line-clamp-3 flex-1",children:e.description}),s?(0,t.jsx)("span",{className:"px-4 w-fit py-[7px] text-xs text-[#6B7280] border border-[#D1D5DB] rounded cursor-default",children:e.buttonText||e.title}):(0,t.jsx)("a",{href:e.url,target:r?"_blank":void 0,rel:r?"noopener noreferrer":void 0,className:"px-4 w-fit py-[7px] text-xs text-[#D30013] border border-[#D30013] rounded hover:bg-[#9E1422] hover:text-white",children:e.buttonText||e.title})]})]},i)})})})]}))}),(0,t.jsxs)("div",{className:"pt-6 border-t border-[#EAE8E4] flex items-center justify-between",children:[(0,t.jsx)("a",{href:U?"/zh/sitemap":"/sitemap",className:"text-sm text-[#3C3C3B] hover:text-[#D30013] transition-colors",children:eS.siteMapLabel}),(0,t.jsxs)("form",{onSubmit:eD,className:"relative w-[50%]",children:[(0,t.jsx)("div",{className:"absolute left-3 top-1/2 -translate-y-1/2",children:(0,t.jsx)(n.default,{icon:"Icon-Search",size:16,color:"#9CA3AF"})}),(0,t.jsx)("input",{type:"text",placeholder:eS.searchPlaceholder,value:K,onChange:e=>G(e.target.value),autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:"false",className:"w-full pl-10 pr-4 py-2 border border-[#EAE8E4] rounded-lg text-sm focus:outline-none focus:ring-2 focus:ring-[#D30013] focus:border-transparent"})]})]})]})})})]}):(0,t.jsx)(s.Link,{asChild:!0,className:"group px-3 py-1 text-[16px] leading font-base text-[#3C3C3B] hover:text-[#D30013] outline-none transition-all duration-200 relative cursor-pointer",children:(0,t.jsxs)("a",{href:e.url||"#",children:[e.label,(0,t.jsx)("span",{suppressHydrationWarning:!0,className:`absolute -bottom-5 left-0 w-full h-2 bg-[#9E1422] ${eA(e)?"scale-x-100":"scale-x-0"} group-hover:scale-x-100 transition-transform duration-200 origin-left`})]})})},`${e.id}-${i}`)})})})]}),(0,t.jsxs)("div",{className:"w-full flex justify-end items-center gap-3",children:[(0,t.jsxs)("div",{className:"relative hidden",children:[(0,t.jsxs)(o.motion.button,{onClick:()=>E&&E(!A),onMouseEnter:()=>eo(!0),onMouseLeave:()=>eo(!1),className:`group flex items-center gap-2 px-4 py-3 text-sm font-medium border rounded-lg ${A?"shadow-md":""}`,style:{color:A?"#FFFFFF":"#D30013",borderColor:"#D30013",backgroundColor:A?"#D30013":"rgba(255, 255, 255, 0)"},whileHover:{scale:1.05,backgroundColor:"#D30013",color:"#FFFFFF"},whileTap:{scale:.95},transition:{type:"spring",stiffness:400,damping:17},children:[U?"å¨è¯¢ AI":"Ask AI",(0,t.jsx)(o.motion.div,{animate:{rotate:360*!!A},whileHover:{rotate:360},transition:{duration:.5},children:(0,t.jsx)(n.default,{icon:"Icon-AI",size:20,color:A||er?"#FFFFFF":"#D30013",className:"transition-all duration-300"})})]}),A&&(0,t.jsx)(o.motion.div,{className:"absolute -bottom-1 left-0 right-0 h-1 bg-[#D30013] rounded-full",initial:{scaleX:0},animate:{scaleX:1},exit:{scaleX:0},transition:{duration:.3}})]}),(0,t.jsx)("a",{href:ev,children:(0,t.jsxs)("button",{className:"cta_enquire_desktop group flex items-center gap-2 px-4 py-3 text-sm font-medium border rounded-lg transition-all duration-300 ease-in-out transform hover:scale-105 active:scale-95",style:{color:"#D30013",borderColor:"#D30013"},onMouseEnter:e=>{e.currentTarget.style.backgroundColor="#FEF2F2"},onMouseLeave:e=>{e.currentTarget.style.backgroundColor="transparent"},children:[eS.buttons.enquire,(0,t.jsx)(n.default,{icon:"Icon_Email",size:20,className:"transition-transform duration-300"})]})}),ed&&"seoul"!==eT&&(0,t.jsx)("a",{href:"suzhou-high-school"===eT?"https://dhsz.openappl
905y.cn/apply/forms/22963?c_campaign=2056":"hengqin-high-school"===eT?"https://dulwichzhuhai.mike-x.com/zVFgO":U?"/zh/admissions/apply-now":"/admissions/apply-now",children:(0,t.jsxs)("button",{className:"cta_apply_desktop group flex items-center gap-2 px-4 py-3.5 text-sm font-medium text-white rounded-lg transition-all duration-300 ease-in-out transform hover:scale-105 hover:shadow-lg active:scale-95",style:{backgroundColor:"#D30013"},onMouseEnter:e=>e.currentTarget.style.backgroundColor="#B8000F",onMouseLeave:e=>e.currentTarget.style.backgroundColor="#D30013",children:[eS.buttons.applyNow,(0,t.jsx)(n.default,{icon:"Icon-Arrow",size:18,color:"white",className:"transition-transform duration-300 group-hover:translate-x-1"})]})})]})]})})]})]}),W&&(0,t.jsx)("div",{className:" hidden lg:block fixed inset-0 bg-gray-400/40 z-40 animate-in fade-in duration-200 ",style:{top:eb?"72px":"154px"}}),(0,t.jsx)("header",{className:"lg:hidden fixed top-0 left-0 right-0 z-50 bg-white shadow-sm",children:(0,t.jsx)("div",{className:"px-4 py-2.5 border-b border-gray-200",children:(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsx)("div",{className:"flex items-center",children:ed&&eO&&(0,t.jsx)("a",{href:eR,...eR.startsWith("http")&&eR.includes("singapore.dulwich.org")?{rel:"noopener noreferrer"}:{},children:(0,t.jsx)("img",{src:eO,alt:eW,className:"w-[220px] max-h-[40px] cursor-pointer transition-all duration-500 ease-out hover:scale-105",onError:e=>{let t=eB[eT];if(t){let i=t?.src||t;e.target.src!==i&&(console.warn(`Failed to load logo from ${e.target.src}, falling back to static logo`),e.target.src=i)}}})})}),(0,t.jsx)("button",{onClick:()=>_(!0),className:"p-2 hover:bg-gray-100 rounded-lg transition-colors","aria-label":"Open menu",children:(0,t.jsx)(n.default,{icon:"Icon-Menu",size:24,color:"#D30013"})})]})})}),ed&&eg&&ep&&("/"===(C=window.location.pathname)||"/zh"===C||"/zh/"===C)&&(0,t.jsx)("div",{className:"hidden lg:block fixed left-0 right-0 z-40 bg-white shadow-sm",style:{top:eb?"72px":"142px"},children:(0,t.jsxs)("div",{className:"max-w-[1120px] mx-auto px-5 py-3 flex items-center justify-between gap-4",children:[(()=>{let e=null,i=!1;if(("url"===ep.cta_type||"link"===ep.cta_type||"external"===ep.cta_type)&&(ep.cta_url||ep.cta_link)){let t=ep.cta_url||ep.cta_link;e=t.startsWith("http")?t:`https://${t}`,i=!0}else"page"===ep.cta_type&&ep.data?.url?(e=ep.data.url,i=!1):(ep.data?.slug||ep.cta_page)&&(e=`${(0,v.getSchoolUrl)((0,v.getCurrentSchool)())}${U?"/zh":""}/${ep.data?.slug||ep.cta_page}`,i=!1);return e?(0,t.jsxs)("a",{href:e,target:i?"_blank":"_self",rel:i?"noopener noreferrer":void 0,className:"flex items-center text-sm gap-2 flex-1 group",children:[(0,t.jsx)("svg",{className:"w-5 h-5 flex-shrink-0 transition-all group-hover:translate-x-1 text-[#D30013]",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})}),(0,t.jsx)("span",{className:"text-sm font-medium group-hover:underline transition-colors text-[#D30013]",children:ep.title})]}):(0,t.jsxs)("div",{className:"flex items-center gap-2 flex-1",children:[(0,t.jsx)("svg",{className:"w-5 h-5 flex-shrink-0 transition-colors text-[#D30013]",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})}),(0,t.jsx)("span",{className:"text-sm font-medium transition-colors text-[#D30013]",children:ep.title})]})})(),(0,t.jsx)("button",{onClick:()=>ex(!1),className:"transition-colors flex-shrink-0 text-[#D30013] hover:text-[#B00010]","aria-label":"Close notification",children:(0,t.jsx)("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]})}),ed&&eg&&ep&&("/"===(M=window.location.pathname)||"/zh"===M||"/zh/"===M)&&(0,t.jsx)("div",{className:"lg:hidden fixed left-0 right-0 z-40 transition-all duration-300 bg-white shadow-sm",style:{to
905p:"61px"},children:(0,t.jsxs)("div",{className:"px-4 py-2.5 flex items-center justify-between gap-3",children:[(()=>{let e=null,i=!1;if(("url"===ep.cta_type||"link"===ep.cta_type||"external"===ep.cta_type)&&(ep.cta_url||ep.cta_link)){let t=ep.cta_url||ep.cta_link;e=t.startsWith("http")?t:`https://${t}`,i=!0}else"page"===ep.cta_type&&ep.data?.url?(e=ep.data.url,i=!1):(ep.data?.slug||ep.cta_page)&&(e=`${(0,v.getSchoolUrl)((0,v.getCurrentSchool)())}${U?"/zh":""}/${ep.data?.slug||ep.cta_page}`,i=!1);return e?(0,t.jsxs)("a",{href:e,target:i?"_blank":"_self",rel:i?"noopener noreferrer":void 0,className:"flex items-center gap-2 flex-1 group",children:[(0,t.jsx)("svg",{className:"w-4 h-4 flex-shrink-0 transition-all group-hover:translate-x-1 text-[#D30013]",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})}),(0,t.jsx)("span",{className:"text-xs font-medium group-hover:underline transition-colors text-[#D30013]",children:ep.title})]}):(0,t.jsxs)("div",{className:"flex items-center gap-2 flex-1",children:[(0,t.jsx)("svg",{className:"w-4 h-4 flex-shrink-0 transition-colors text-[#D30013]",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})}),(0,t.jsx)("span",{className:"text-xs font-medium transition-colors text-[#D30013]",children:ep.title})]})})(),(0,t.jsx)("button",{onClick:()=>ex(!1),className:"transition-colors flex-shrink-0 mr-2 text-[#D30013] hover:text-[#B00010]","aria-label":"Close notification",children:(0,t.jsx)("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]})}),(0,t.jsx)("nav",{className:"lg:hidden fixed bottom-0 left-0 right-0 z-50 bg-white border-t border-gray-200 shadow-lg",children:(0,t.jsxs)("div",{className:"grid grid-cols-3 h-16",children:[(0,t.jsxs)(o.motion.button,{onClick:()=>E&&E(!0),className:"flex-col items-center justify-center hidden gap-1 hover:bg-gray-50 transition-colors",whileHover:{scale:1.1},whileTap:{scale:.9},transition:{type:"spring",stiffness:400,damping:17},children:[(0,t.jsx)(o.motion.div,{whileHover:{rotate:360},transition:{duration:.5},children:(0,t.jsx)(n.default,{icon:"Icon-AI",size:20,color:"#D30013"})}),(0,t.jsx)("span",{className:"text-[12px] text-[#3C3C3B]",children:U?"å¨è¯¢ AI":"Ask AI"})]}),(0,t.jsxs)("a",{href:U?"/zh/admissions/visit/visit-us":"/admissions/visit/visit-us",className:"cta_visit-us_mobile flex flex-col items-center justify-center gap-1 hover:bg-gray-50 transition-colors",children:[(0,t.jsx)(n.default,{icon:"map2",size:20,color:"#D30013"}),(0,t.jsx)("span",{className:"text-[12px] text-[#3C3C3B]",children:U?"æ ¡ååè§":"VISIT US"})]}),(0,t.jsxs)("a",{href:ev,className:"cta_enquire_mobile flex flex-col items-center justify-center gap-1 hover:bg-gray-50 transition-colors",children:[(0,t.jsx)(n.default,{icon:"Icon_Email",size:20,color:"#D30013"}),(0,t.jsx)("span",{className:"text-[12px] text-[#3C3C3B]",children:U?"å¨è¯¢":"ENQUIRE"})]}),ed&&"seoul"!==(0,v.getCurrentSchool)()&&(0,t.jsxs)("a",{href:"hengqin-high-school"===(0,v.getCurrentSchool)()?"https://dulwichzhuhai.mike-x.com/zVFgO":U?"/zh/admissions/apply-now":"/admissions/apply-now",className:"cta_apply_mobile flex flex-col items-center justify-center gap-1 hover:bg-gray-50 transition-colors",children:[(0,t.jsx)(n.default,{icon:"Admissions",size:16,color:"#D30013"}),(0,t.jsxs)("span",{className:"text-[12px] text-[#3C3C3B]",children:[" ",eS.buttons.applyNow]})]}),ed&&"seoul"===(0,v.getCurrentSchool)()&&(0,t.jsxs)("a",{href:"/contact",className:"flex flex-col items-center justify-center gap-1 hover:bg-gray-50 transition-colors",children:[(0,t.jsx)(n.default,{icon:"Contact-Us_Icon",size:20,color:"#D30013"}),(0,t.jsxs)("span",{className:"text-[12px] text-[#3C3C3B]",children:[" ","CONTACT US"]})]})]})}),L&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"lg:hidden fixed inset-0 z-[100] bg-black bg-opacity-50 animate-in fade-in duration-300",onClick:()=>_(!1),style:{touchAction:"none"},onTouchMove:e=>e.preventDefault()}),(0,t.jsxs)("div",{className:"lg:hidden fixed top-0 right-0 bottom-0 w-full max-w-md z-[101] bg-white shadow-2xl transition-transform duration-300 ease-out flex flex-col",style:{transform:L?"translateX(0)":"translateX(100%)",maxHeight:"100vh",maxHeight:"100dvh"},children:[(0,t.jsxs)("div",{className:"bg-white px-3 py-4 flex items-center justify-between flex-shrink-0",children:[(0,t.jsxs)("a",{href:"/",className:"flex items-center gap-0 text-[#3C3C3B]] hover:text-[#D30013] transition-colors",children:[(0,t.jsx)("div",{className:"w-11 h-8 bg-white flex items-center justify-center",children:(0,t.jsx)(n.default,{icon:"Icon-Home",size:24,color:"#3C3C3B"})}),(0,t.jsx)("span",{className:"text-[12px] font-bold",children:"HOME"})]}),(0,t.jsx)("button",{onClick:()=>_(!1),className:"p-1 hover:bg-gray-100 rounded-full transition-colors",children:(0,t.jsx)(n.default,{icon:"Close-Button",size:38,color:"#D30013"})})]}),(0,t.jsxs)("div",{className:"flex flex-col flex-1 overflow-hidden",children:[(0,t.jsxs)("div",{ref:em,className:"flex-1 px-5 py-0 space-y-1 overflow-y-auto mobile-menu-scroll",style:{paddingBottom:ei?"70vh":"1.5rem",transition:"padding-bottom 0.4s ease-out"},children:[eS.navItems.map((e,s)=>{let o,a=[];
905e.sections?.forEach(e=>{let t=ez(e.links||[]).filter(e=>e.isHighlighted);a.push(...t)}),a.sort((e,t)=>(null===e.weight||void 0===e.weight||""===e.weight?999999:Number(e.weight))-(null===t.weight||void 0===t.weight||""===t.weight?999999:Number(t.weight)));let l=`${e.id}-${s}`,c="Tab"===e.linkType,d="External_link"===e.linkType,u=!c&&e.url&&"#"!==e.url;return(0,t.jsxs)(i.default.Fragment,{children:[(0,t.jsxs)("div",{className:"relative",children:[u?(0,t.jsxs)("div",{className:"w-full flex items-center py-4",children:[(0,t.jsx)("a",{href:e.url,target:d?"_blank":void 0,rel:d?"noopener noreferrer":void 0,className:"text-[20px] text-[#3C3C3B] font-normal hover:text-[#D30013] transition-colors",style:{width:"80%"},children:e.label}),(0,t.jsx)("button",{onClick:()=>{let t=V===l?null:l;console.log(`Clicked: ${e.label} (${l}), Setting openMobileSection to:`,t),O(t)},className:"flex items-center justify-end",style:{width:"20%"},children:(0,t.jsx)(r.ChevronDown,{className:`chevron-rotate w-7 h-6 text-[#D30013] ${V===l?"rotate-180":"rotate-0"}`})})]}):(0,t.jsxs)("button",{onClick:()=>{let t=V===l?null:l;console.log(`Clicked: ${e.label} (${l}), Setting openMobileSection to:`,t),O(t)},className:"w-full flex items-center justify-between py-4",children:[(0,t.jsx)("span",{className:"text-[20px] text-[#3C3C3B] font-normal",children:e.label}),(0,t.jsx)(r.ChevronDown,{className:`chevron-rotate w-7 h-6 text-[#D30013] ${V===l?"rotate-180":"rotate-0"}`})]}),(0,t.jsx)("div",{suppressHydrationWarning:!0,className:`section-underline absolute left-0 right-0 bottom-0 h-[4px] bg-[#9E1422] ${V===l?"scale-x-100":"scale-x-0"}`})]}),V===l&&(0,t.jsx)("div",{className:"dropdown-content bg-white px-0 py-3 mb-2 text-left",style:{animation:"slideInFromTop 0.4s cubic-bezier(0.4, 0, 0.2, 1)"},children:(0,t.jsx)("div",{className:"space-y-6",children:(o=e.sections.some(e=>ez(e.links).filter(e=>!e.isHighlighted).length>0),(0,t.jsxs)(t.Fragment,{children:[a.length>0&&(0,t.jsx)("div",{className:`pb-6 ${o?"border-b border-gray-100 mb-6":""}`,children:(0,t.jsx)("div",{className:"grid grid-cols-2 gap-4",children:a.map((e,i)=>{let s="Tab"===e.type,r="External_link"===e.type,o=s?{className:"block"}:{href:e.url,target:r?"_blank":void 0,rel:r?"noopener noreferrer":void 0,className:"block group"};return(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsx)("h3",{className:"text-[10px] font-bold text-[#3C3C3B] mb-3 tracking-[1.1px] uppercase min-h-[30px]",children:e.title}),(0,t.jsx)(s?"div":"a",{...o,children:(0,t.jsxs)("div",{className:`bg-white rounded text-left overflow-hidden shadow-md border border-[#F2EDE9] transition-all duration-300 ${s?"opacity-60 cursor-default":"hover:shadow-lg"}`,children:[e.imageUrl&&(0,t.jsx)("div",{className:"aspect-[4/3] overflow-hidden relative image-skeleton",children:(0,t.jsx)("img",{src:e.imageUrl,alt:e.title,className:`w-full h-full object-cover transition-transform duration-300 image-loaded ${s?"":"group-hover:scale-105"}`,onLoad:e=>e.target.parentElement.classList.remove("image-skeleton")})}),(0,t.jsxs)("div",{className:"h-[36px] px-2 flex items-center justify-between bg-white",children:[(0,t.jsx)("span",{className:`text-[12px] leading-3 font-semibold ${s?"text-[#6B7280]":"text-[#D30013]"}`,children:e.title}),!s&&(0,t.jsx)(n.default,{icon:"Icon-Chevron-Large",size:15,color:"#D30013",className:"font-semibold flex-shrink-0 group-hover:translate-x-1 transition-transform"})]})]})})]},i)})})}),e.sections.map((e,i)=>{let s=ez(e.links);if(0===s.length)return null;let r=s.filter(e=>!e.isHighlighted);return 0===r.length?null:(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-[12px] font-bold text-[#3C3C3B] mb-4 tracking-[1.1px] uppercase",children:(0,t.jsx)("a",{href:e.url||"#",className:"hover:text-[#D30013] transition-colors",children:e.heading})}),(0,t.jsx)("div",{className:"space-y-0",children:r.map((e,i)=>{let s=eE(e.url),r="Tab"===e.type,o="External_link"===e.type;return r?(0,t.jsx)("span",{className:"link-item block text-base py-3.5 border-b border-gray-100 last:border-b-0 text-[#3C3C3B] cursor-default",children:e.header_menu_title||e.title},i):(0,t.jsx)("a",{href:e.url,target:o?"_blank":void 0,rel:o?"noopener noreferrer":void 0,className:`link-item block text-base hover:pl-2 py-3.5 border-b border-gray-100 last:border-b-0 ${s?"text-[#D30013] font-semibold bg-[#FEF2F2] pl-2":"text-[#3C3C3B] hover:text-[#D30013]"}`,children:e.header_menu_title||e.title},i)})})]},i)})]}))})})]},l)}),"bangkok"!==eT&&"hengqin-high-school"!==eT&&(0,t.jsxs)("a",{href:eL,target:"_blank",rel:"noopener noreferrer",className:"link_parent-portal link-item flex items-center gap-3 py-3.5 text-[14px] font-medium text-[#3C3C3B] hover:text-[#D30013] hover:pl-2 transition-colors",children:[(0,t.jsx)(n.default,{icon:"Icon_External",size:20,color:"#3C3C3B"}),(0,t.jsx)("span",{children:U?"å®¶é¿é¨æ·":"Parent Portal"})]}),(0,t.jsxs)("a",{href:((0,v.getCurrentSchool)(),U?"/zh/community/life-at-dulwich/school-calendar":"/community/life-at-dulwich/school-calendar"),className:"link_school-calendar link-item flex items-center gap-3 py-3.5 text-[14px] font-medium text-[#3C3C3B]",style:{color:"#3C3C3B"},children:[(0,t.jsx)("svg",{className:"w-5 h-5 sm:w-5 sm:h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"})}
905),U?"妿 ¡æ¥å":"School Calendar"]}),(0,t.jsxs)("a",{href:U?"/zh/sitemap":"/sitemap",className:"link-item flex items-center gap-3 py-3.5 text-[15px] text-[#3C3C3B] hover:text-[#D30013] hover:pl-2",children:[(0,t.jsx)("img",{src:"/images/sitemap.png",alt:"Site Map",className:"w-5 h-5"}),(0,t.jsx)("span",{className:"text-[14px] font-medium text-[#3C3C3B]",children:eS.siteMapLabel})]}),(0,t.jsxs)("button",{onClick:()=>O("schools"===V?null:"schools"),className:"w-full flex items-center justify-between py-3.5 text-[14px] font-medium text-[#3C3C3B] hover:text-[#D30013] transition-colors",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)(n.default,{icon:"Icon-Menu",size:20,color:"#3C3C3B"}),(0,t.jsx)("span",{className:"text-[14px] font-medium text-[#3C3C3B]",children:U?"æä»¬ç妿 ¡":"Our Schools"})]}),(0,t.jsx)(r.ChevronDown,{className:`chevron-rotate w-5 h-5 text-[#D30013] ${"schools"===V?"rotate-180":"rotate-0"}`})]}),"schools"===V&&Y&&Y.length>0&&(0,t.jsx)("div",{className:"dropdown-content bg-gray-50 rounded-lg p-4 mb-2 space-y-2",style:{animation:"slideInFromTop 0.4s cubic-bezier(0.4, 0, 0.2, 1)"},children:Y.map(e=>(0,t.jsx)("button",{onClick:()=>{let t;t=`${e.title}`,z?.(t),I?.(e.slug),((0,v.getCurrentSchool)()||"")!==(e.slug||"")&&(e=>{let t="string"==typeof e?e:e?.slug;if("object"==typeof e&&e?.url){let t=e.url.replace(/\\\//g,"/");window.location.assign(t)}else window.location.assign((0,v.getSchoolUrl)(t,""))})(e),_(!1)},className:`w-full text-left px-4 py-3 rounded-lg transition-all duration-300 ${S===`${e.title}`?"bg-white font-semibold text-[#D30013] scale-[1.02]":"hover:bg-white hover:scale-[1.02] text-[#4B5563]"}`,children:(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsx)("span",{children:e.title}),S===`${e.title}`&&(0,t.jsx)("span",{className:"text-[#D30013] text-lg",children:"â"})]})},e.id))}),(0,t.jsx)("div",{ref:eh,className:`mt-4 pt-4 border-t border-[#F2EDE9] px-4 py-4 -mx-4 transition-all duration-300 ${ei?"bg-white shadow-lg":"bg-[#fff]"}`,children:(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsxs)("form",{onSubmit:eD,className:"relative flex-1",children:[(0,t.jsx)("div",{className:"absolute left-3 top-1/2 -translate-y-1/2",children:(0,t.jsx)(n.default,{icon:"Icon-Search",size:20,color:"#3C3737"})}),(0,t.jsx)("input",{type:"text",placeholder:eS.searchPlaceholder,value:K,onChange:e=>G(e.target.value),onFocus:()=>{es(!0)},onBlur:()=>{setTimeout(()=>{es(!1)},100)},autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:"false",inputMode:"search",className:`w-full pl-10 pr-4 py-2.5 bg-[#FAF7F5] border bottom-[#F2EDE9] rounded-lg text-sm transition-all duration-300 ${ei?"border-[#D30013] ring-2 ring-[#D30013] ring-opacity-50 shadow-lg":"border-gray-300 focus:outline-none focus:ring-2 focus:ring-[#D30013] focus:border-transparent"}`})]}),ed&&!["singapore","bangkok","seoul"].includes((0,v.getCurrentSchool)())&&(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsxs)("a",{href:U?"#":el,className:`relative px-3 py-2.5 text-sm font-bold transition-colors ${"䏿"===R?"text-[#3C3737]":"text-[#3C3737] hover:text-[#3C3737]"}`,children:["䏿","䏿"===R&&(0,t.jsx)("span",{className:"absolute bottom-0 left-0 right-0 h-[4px] bg-[#9E1422]"})]}),(0,t.jsxs)("a",{href:U?el:"#",className:`relative px-3 py-2.5 text-sm font-bold transition-colors ${"EN"===R?"text-[#3C3737]":"text-[#3C3737] hover:text-[#3C3737]"}`,children:["EN","EN"===R&&(0,t.jsx)("span",{className:"absolute bottom-0 left-0 right-0 h-[4px] bg-[#9E1422]"})]})]})]})})]}),(0,t.jsx)("div",{className:"flex-shrink-0"})]})]})]}),(0,t.jsx)(a.default,{showSearchResults:Z,setShowSearchResults:J,searchQuery:K,isSearching:ee,searchResults:X,currentSearchPage:en,handleSearchPageChange:e=>{eD(null,e)},nav:eS})]})}])}]);
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.