1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,41321,e=>{"use strict";var t=e.i(43476);let{color:i,font:n}=e.i(85111).tokens,r={fullcolor:"/brand/g42-fullcolor.svg",warmwhite:"/brand/g42-warmwhite.svg",siliconblack:"/brand/g42-siliconblack.svg"};e.s(["G42Logo",0,function({dark:e,height:i=28,variant:n="auto"}){return(0,t.jsx)("img",{src:r["auto"===n?e?"warmwhite":"fullcolor":n],alt:"G42",width:Math.round(1.700725216706311*i),height:i,style:{display:"block",height:`${i}px`,width:"auto"}})},"Wordmark",0,function({dark:e,size:r=14}){return(0,t.jsx)("span",{style:{fontFamily:n.family.primary,fontWeight:n.weight.black,fontSize:r+"px",letterSpacing:n.letterSpacing.wider,textTransform:"uppercase",color:e?i.bgLight:i.primary},children:"HELMETVERSE"})}])},65747,e=>{"use strict";var t=e.i(71645),i=e.i(89970);let n="u">typeof document?t.useLayoutEffect:t.useEffect,r=e=>e&&!Array.isArray(e)&&"object"==typeof e,a=[],s={},o=i.default,l=(e,i=a)=>{let l=s;r(e)?(l=e,e=null,i="dependencies"in l?l.dependencies:a):r(i)&&(i="dependencies"in(l=i)?l.dependencies:a),e&&"function"!=typeof e&&console.warn("First parameter must be a function or config object");let{scope:c,revertOnUpdate:u}=l,d=(0,t.useRef)(!1),h=(0,t.useRef)(o.context(()=>{},c)),p=(0,t.useRef)(e=>h.current.add(null,e)),f=i&&i.length&&!u;return f&&n(()=>(d.current=!0,()=>h.current.revert()),a),n(()=>{if(e&&h.current.add(e,c),!f||!d.current)return()=>h.current.revert()},i),{context:h.current,contextSafe:p.current}};l.register=e=>{o=e},l.headless=!0,e.s(["useGSAP",0,l])},44672,e=>{"use strict";var t=e.i(43476),i=e.i(85111);let{color:n,font:r,radius:a}=i.tokens,s={sm:10,md:12,lg:14},o={default:{bg:n.borderLight,text:n.primary,border:"none"},accent:{bg:n.accent,text:n.primary,border:"none"},outline:{bg:"transparent",text:n.primary,border:`1px solid ${n.borderLight}`},dark:{bg:n.primary,text:n.bgLight,border:"none"},"dark-outline":{bg:"transparent",text:n.bgLight,border:`1px solid ${n.borderDark}`},"accent-outline":{bg:"transparent",text:n.accent,border:`1px solid ${n.accent}`}};function l({label:e,variant:i="default",size:c="md",overImage:u,onDarkImage:d}){let h=o[i],p=s[c],f=u?{background:d?"rgba(21,22,27,0.35)":"rgba(247,244,241,0.55)",backdropFilter:"blur(70px) saturate(1.4)",WebkitBackdropFilter:"blur(70px) saturate(1.4)",color:d?n.bgLight:n.primary,border:"none"}:null;return(0,t.jsx)("span",{style:{display:"inline-flex",alignItems:"center",fontFamily:r.family.primary,fontWeight:r.weight.medium,letterSpacing:"-0.04em",fontSize:`${p}px`,lineHeight:1,padding:`${p}px ${1.75*p}px`,borderRadius:a.pill,background:h.bg,color:h.text,border:h.border,...f},children:e})}var c=e.i(2534),u=e.i(22016);let{color:d,font:h}=i.tokens,p={Platform:["Gallery","AI Studio","Leaderboard","About"],Resources:["Terms and Conditions","Privacy Policy","Season 1 Archive","Contact us"]},f={Gallery:"/gallery","AI Studio":"/studio",Leaderboard:"/leaderboard",About:"/about","Terms and Conditions":"/terms","Privacy Policy":"/privacy","Season 1 Archive":"/gallery?tab=2025","Contact us":"mailto:[email protected]"},m=[{label:"Instagram",href:"https://instagram.com",icon:"instagram"},{label:"YouTube",href:"https://youtube.com",icon:"youtube"},{label:"X",href:"https://x.com",icon:"x"}];function g({name:e}){return"instagram"===e?(0,t.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"square",strokeLinejoin:"miter","aria-hidden":"true",children:[(0,t.jsx)("rect",{x:"3",y:"3",width:"18",height:"18",rx:"4"}),(0,t.jsx)("circle",{cx:"12",cy:"12",r:"4"}),(0,t.jsx)("circle",{cx:"17.5",cy:"6.5",r:"1",fill:"currentColor",stroke:"none"})]}):"youtube"===e?(0,t.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"square",strokeLinejoin:"miter","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M22 8.5c-.2-1.4-.8-2.2-2-2.5C17.8 5.5 12 5.5 12 5.5s-5.8 0-8 .5c-1.2.3-1.8 1.1-2 2.5C1.7 10 1.7 12 1.7 12s0 2 .3 3.5c.2 1.4.8 2.2 2 2.5 2.2.5 8 .5 8 .5s5.8 0 8-.5c1.2-.3 1.8-1.1 2-2.5.3-1.5.3-3.5.3-3.5s0-2-.3-3.5z"}
1),(0,t.jsx)("polygon",{points:"10,15 15,12 10,9",fill:"currentColor",stroke:"none"})]}):(0,t.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M18.244 2H21l-6.55 7.49L22 22h-6.84l-4.78-6.27L4.8 22H2.04l7.02-8.03L2 2h7.01l4.32 5.71L18.244 2zm-2.4 18.06h1.9L7.27 3.84H5.24l10.6 16.22z"})})}e.s(["AppFooter",0,function({dark:e}){let i=(0,c.useTheme)(),n=e??i.dark,r=n?d.primary:d.bgLight,a=n?d.bgLight:d.primary,s=n?"rgba(247,244,241,0.45)":"rgba(42,49,43,0.55)",o=n?"rgba(247,244,241,0.10)":"rgba(42,49,43,0.10)";return(0,t.jsxs)("footer",{className:"page-gutter flex flex-col mt-auto",style:{background:r,paddingTop:64,paddingBottom:32,color:a,borderTop:n?"none":`1px solid ${o}`},children:[(0,t.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",flexWrap:"wrap",gap:"clamp(24px, 5vw, 48px)",marginBottom:"48px"},children:[(0,t.jsxs)("div",{style:{maxWidth:"360px"},children:[(0,t.jsx)("img",{src:"/brand/logos-light.png",alt:"Presented by G42 · UAE Team Emirates · MET",style:{height:"36px",width:"auto",display:"block",filter:n?"none":"invert(1)"}}),(0,t.jsx)("p",{style:{fontFamily:h.family.primary,fontWeight:h.weight.medium,fontSize:"13px",color:s,lineHeight:1.6,margin:"20px 0 24px"},children:"AI-powered helmet design competition. Generate, submit, vote, and shape the future of helmet artistry."}),(0,t.jsxs)("div",{style:{display:"flex",gap:"12px",alignItems:"center"},children:[(0,t.jsx)(l,{label:"Season 2",variant:"accent",size:"sm"}),(0,t.jsx)(l,{label:"20,000+ Entries",variant:n?"dark-outline":"outline",size:"sm"})]})]}),(0,t.jsx)("div",{style:{display:"flex",gap:"clamp(28px, 5vw, 64px)",flexWrap:"wrap"},children:Object.entries(p).map(([e,i])=>(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{style:{fontFamily:h.family.primary,fontWeight:h.weight.black,fontSize:"9px",letterSpacing:"0.16em",textTransform:"uppercase",color:a,marginBottom:"16px"},children:e}),i.map(e=>(0,t.jsx)(u.default,{href:f[e]??"/",style:{display:"block",textDecoration:"none"},children:(0,t.jsx)("div",{style:{fontFamily:h.family.primary,fontWeight:h.weight.medium,fontSize:"13px",color:s,marginBottom:"10px",cursor:"pointer"},children:e})},e))]},e))})]}),(0,t.jsxs)("div",{style:{borderTop:`1px solid ${o}`,paddingTop:"24px",display:"flex",justifyContent:"space-between",alignItems:"center",flexWrap:"wrap",gap:"12px"},children:[(0,t.jsx)("span",{style:{fontFamily:h.family.primary,fontWeight:h.weight.medium,fontSize:"11px",color:s},children:"© 2026 Helmet Verse. All rights reserved."}),(0,t.jsx)("div",{style:{display:"flex",gap:"20px",alignItems:"center"},children:m.map(e=>(0,t.jsx)("a",{href:e.href,"aria-label":e.label,target:"_blank",rel:"noopener noreferrer",className:"g42-social-link",style:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"20px",height:"20px"},children:(0,t.jsx)(g,{name:e.icon})},e.label))})]})]})}],44672)},82354,e=>{"use strict";e.i(77322);var t=e.i(44559);function i(e){let t=e/36e5;return t>100?`${Math.ceil(t/24)} days`:`${Math.ceil(t)} hours`}function n(e,n,r){if(e!==t.CompetitionStatusEnumerator.Open)return{phase:"closed",durationText:""};let a=Date.now(),s=null==n||Number.isNaN(Number(n))?void 0:Number(n),o=null==r||Number.isNaN(Number(r))?void 0:Number(r);return void 0!==s&&a<s?{phase:"pre-open",durationText:i(s-a)}:void 0!==o&&a>=o?{phase:"closed",durationText:""}:{phase:"open",durationText:void 0!==o?i(o-a):""}}e.s(["submissionsPhase",0,function(e){return n(e?.status,e?.submissions_open_at,e?.submissions_close_at)},"votingPhase",0,function(e){return n(e?.status,e?.voting_open_at,e?.voting_close_at)}])},62497,e=>{"use strict";var t=e.i(71645);e.s(["useIsMobile",0,function(e=768){let[i,n]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{let t=window.matchMedia(`(max-width: ${e-1}px)`),i=()=>n(t.matches);return i(),t.addEventListener("change",i),()=>t.removeEventListener("change",i)},[e]),i}])},16148,e=>{"use strict";let t=["/Helmets/3eecc7a1-2530-48d2-b747-7f935e83c0c2.webp","/Helmets/46568f85-b917-4afd-95a8-7bd6fdc92baa.webp","/Helmets/5398cb8d-47ae-433c-9f23-9a9f2d88e151.webp","/Helmets/63b4068d-6022
1-4814-960a-4521d6e2864c.webp","/Helmets/6577f91f-ad74-4868-93e8-13027534a376.webp","/Helmets/79d7fc46-0103-4a7f-b9f7-d1012c6fac88.webp","/Helmets/98da8316-c3f4-4946-adb6-727aa17a06e9.webp","/Helmets/b241f184-7659-4fb4-bdb4-cdf53d1fcdaa.webp","/Helmets/b376993f-c38b-46a0-9a3d-34e3d2ba8d5d.webp","/Helmets/bd731442-29a4-426a-927e-ebb3e89a9534.webp","/Helmets/bdf64539-5570-4952-85e3-8bb12e3252ab.webp","/Helmets/c13d8459-ae8c-4536-b347-e9a9e601c581.webp"],i=[{id:1,name:"Axel Al-Mansouri",creator:"@axel_creates",country:"UAE",votes:1240,tag:"#17855",prompt:"Futuristic racing helmet with neon accents and carbon fiber texture",date:"2026-03-15",image:"/Helmets/3eecc7a1-2530-48d2-b747-7f935e83c0c2.webp"},{id:2,name:"Hannah Wolff",creator:"@VoxelMaster",country:"Germany",votes:1087,tag:"#17891",prompt:"Vintage aviator meets modern aerodynamics, gold and crimson palette",date:"2026-03-14",image:"/Helmets/46568f85-b917-4afd-95a8-7bd6fdc92baa.webp"},{id:3,name:"Kenji Okada",creator:"@meshlab_x",country:"Japan",votes:948,tag:"#18002",prompt:"Invisible stealth helmet, matte black with holographic visor",date:"2026-03-13",image:"/Helmets/5398cb8d-47ae-433c-9f23-9a9f2d88e151.webp"},{id:4,name:"Faisal Al-Qahtani",creator:"@sand_rider",country:"Saudi Arabia",votes:876,tag:"#18120",prompt:"Gold falcon-inspired aero shell with sand dune textures",date:"2026-03-12",image:"/Helmets/63b4068d-6022-4814-960a-4521d6e2864c.webp"},{id:5,name:"Ben Carter",creator:"@neon_cycle",country:"UK",votes:834,tag:"#18245",prompt:"Cyberpunk racing helmet with LED pulse animations",date:"2026-03-11",image:"/Helmets/6577f91f-ad74-4868-93e8-13027534a376.webp"},{id:6,name:"Sigrid Larsen",creator:"@arctic_mods",country:"Norway",votes:791,tag:"#18301",prompt:"Northern lights color shift with transparent visor panels",date:"2026-03-10",image:"/Helmets/79d7fc46-0103-4a7f-b9f7-d1012c6fac88.webp"},{id:7,name:"Mason Reyes",creator:"@forge_lab",country:"USA",votes:756,tag:"#18422",prompt:"Heavy industrial helmet with riveted steel and brass accents",date:"2026-03-09",image:"/Helmets/98da8316-c3f4-4946-adb6-727aa17a06e9.webp"},{id:8,name:"Priya Sharma",creator:"@pattern_smith",country:"India",votes:723,tag:"#18500",prompt:"Ornate geometric patterns inspired by Islamic tilework",date:"2026-03-08",image:"/Helmets/b241f184-7659-4fb4-bdb4-cdf53d1fcdaa.webp"},{id:9,name:"Kai Winters",creator:"@ocean_form",country:"Australia",votes:698,tag:"#18621",prompt:"Coral reef organic shapes with bioluminescent accents",date:"2026-03-07",image:"/Helmets/b376993f-c38b-46a0-9a3d-34e3d2ba8d5d.webp"},{id:10,name:"Jin-woo Park",creator:"@tech_head",country:"South Korea",votes:645,tag:"#18700",prompt:"PCB-inspired surface with copper traces and LED nodes",date:"2026-03-06",image:"/Helmets/bd731442-29a4-426a-927e-ebb3e89a9534.webp"},{id:11,name:"Elin Jónsdóttir",creator:"@lava_craft",country:"Iceland",votes:612,tag:"#18811",prompt:"Volcanic glass texture with sharp geometric facets",date:"2026-03-05",image:"/Helmets/bdf64539-5570-4952-85e3-8bb12e3252ab.webp"},{id:12,name:"Juliette Marchand",creator:"@sky_pilot",country:"France",votes:589,tag:"#18900",prompt:"Soft cloud-like padding visible through translucent shell",date:"2026-03-04",image:"/Helmets/c13d8459-ae8c-4536-b347-e9a9e601c581.webp"},{id:13,name:"Diego Vargas",creator:"@clay_works",country:"Mexico",votes:562,tag:"#19011",prompt:"Sun-baked terracotta finish with pre-Hispanic carved motifs",date:"2026-03-03",image:t[0]},{id:14,name:"Inês Santos",creator:"@rust_poet",country:"Portugal",votes:541,tag:"#19088",prompt:"Oxidised iron plate with floral engravings catching amber light",date:"2026-03-02",image:t[1]},{id:15,name:"Luca Meier",creator:"@particle_px",country:"Switzerland",votes:518,tag:"#19142",prompt:"Translucent shell with CERN-inspired particle trace patterns",date:"2026-03-01",image:t[2]},{id:16,name:"Mika Tanaka",creator:"@gold_seam",country:"Japan",votes:494,tag:"#19201",prompt:"Repaired shell with visible gold kintsugi seams across the crown",date:"2026-02-28",image:t[3]},{id:17,name:"Theo Ramirez",creator:"@CRT_kid",country:"USA",votes:471,tag:"#19266",prompt:"CRT-scan lines refracted through a prismatic visor",date:"2026-02-27",image:t[4]},{id:18,name:"Emre Yilmaz",creator:"@dome_lines",country:"Turkey",votes:449,tag:"#19334",prompt:"Architectural dome silhouette with moonlit stone surface",date:"2026-02-26",image:t[5]},{id:19,name:"Otgon Batu",creator:"@felt_nomad",country:"Mongolia",votes:422,tag:"#19401",prompt:"Woven felt texture with silver-stitched wind motifs",date:"2026-02-25",image:t[6]},{id:20,name:"Te Anau Brooks",creator:"@wave_cutter",country:"New Zealand",votes:398,tag:"#19488",prompt:"Seamless aerodynamic crest pulled straight from a catamaran hull",date:"2026-02-24",image:t[7]}];e.s(["HELMETS",0,i,"NEWS",0,[{id:1,outlet:"Marca",headline:"Pogacarâs AI-born helmet triumphs at the Tour",date:"JUL 2026",url:"https://www.marca.com/ciclismo/tour-francia/2026/07/09/casco-pogacar-triunfa-tour-nace-ia.html"},{id:2,outlet:"La Gazzetta dello Sport",headline:"From a helmet born with AI to Contador impressions: what you donât know about Pogacar",date:"JUL 2026",url:"https://www.gazzetta.it/Ciclismo/tour-de-france/storie/09-07-2026/pogacar-le-10-cose-che-non-sapete-del-leader-del-tour-de-france/accessori-da-urlo.shtml"},{id:3,outlet:"WielerFlits",headline:"UAE Emirates riders en route to Pau recognisable by their special AI helmets",date:"JUL 2026",url:"https://www.wielerflits.nl/materiaalzone/renners-van-uae-emirates-zijn-op-weg-naar-pau-te-herkennen-aan-speciale-ai-helmen/"},{id:4,outlet:"Tbreak",headline:"AI meets cycling: Helmetverse lets fans design helmets with just a prompt",date:"JUL 2026",url:"https://tbreak.com/ai-meets-cycl
1ing-helmetverse-lets-fans-design-helmets-with-just-a-prompt/"},{id:5,outlet:"Gulf News",headline:"AI-designed helmets debut with UAE Team Emirates on Tour de France Stage 3",date:"JUL 2025",url:"https://gulfnews.com/sport/ai-designed-helmets-debut-with-uae-team-emirates-on-tour-de-france-stage-3-1.500191972"},{id:6,outlet:"Arab News",headline:"UAE Team EmiratesâXRG to wear first global GEN AI-designed helmet at Tour de France",date:"JUL 2025",url:"https://www.arabnews.com/node/2607341"}],"resolveHelmetImage",0,function(e){if(e.image)return e.image;let i=t.length;return t[Math.abs(e.id)%i]},"slugify",0,function(e){return e.replace(/^@/,"").toLowerCase()}])},33965,e=>{"use strict";var t,i,n,r,a,s,o,l,c,u="transform",d=u+"Origin",h=function(e){var a=e.ownerDocument||e;for(!(u in e.style)&&("msTransform"in e.style)&&(d=(u="msTransform")+"Origin");a.parentNode&&(a=a.parentNode););if(i=window,o=new C,a){t=a,n=a.documentElement,r=a.body,(l=t.createElementNS("http://www.w3.org/2000/svg","g")).style.transform="none";var s=a.createElement("div"),h=a.createElement("div"),p=a&&(a.body||a.firstElementChild);p&&p.appendChild&&(p.appendChild(s),s.appendChild(h),s.style.position="static",s.style.transform="translate3d(0,0,1px)",c=h.offsetParent!==s,p.removeChild(s))}return a},p=function(e){for(var t,i;e&&e!==r;)(i=e._gsap)&&i.uncache&&i.get(e,"x"),i&&!i.scaleX&&!i.scaleY&&i.renderTransform&&(i.scaleX=i.scaleY=1e-4,i.renderTransform(1,i),t?t.push(i):t=[i]),e=e.parentNode;return t},f=[],m=[],g=function(){return i.pageYOffset||t.scrollTop||n.scrollTop||r.scrollTop||0},b=function(){return i.pageXOffset||t.scrollLeft||n.scrollLeft||r.scrollLeft||0},y=function(e){return e.ownerSVGElement||("svg"===(e.tagName+"").toLowerCase()?e:null)},x=function e(i,n){if(i.parentNode&&(t||h(i))){var r=y(i),o=r?r.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",l=r?n?"rect":"g":"div",c=100*(2===n),u=100*(3===n),d={position:"absolute",display:"block",pointerEvents:"none",margin:"0",padding:"0"},p=t.createElementNS?t.createElementNS(o.replace(/^https/,"http"),l):t.createElement(l);return n&&(r?(s||(s=e(i)),p.setAttribute("width",.01),p.setAttribute("height",.01),p.setAttribute("transform","translate("+c+","+u+")"),p.setAttribute("fill","transparent"),s.appendChild(p)):(a||Object.assign((a=e(i)).style,d),Object.assign(p.style,d,{width:"0.1px",height:"0.1px",top:u+"px",left:c+"px"}),a.appendChild(p))),p}throw"Need document and parent."},v=function(e){for(var t=new C,i=0;i<e.numberOfItems;i++)t.multiply(e.getItem(i).matrix);return t},w=function(e){var t,i=e.getCTM();return i||(t=e.style[u],e.style[u]="none",e.appendChild(l),i=l.getCTM(),e.removeChild(l),t?e.style[u]=t:e.style.removeProperty(u.replace(/([A-Z])/g,"-$1").toLowerCase())),i||o.clone()},k=function(e,t){var n,r,l,h,p,g,b=y(e),k=e===b,S=b?f:m,E=e.parentNode,L=E&&!b&&E.shadowRoot&&E.shadowRoot.appendChild?E.shadowRoot:E;if(e===i)return e;if(S.length||S.push(x(e,1),x(e,2),x(e,3)),n=b?s:a,b)k?(h=-(l=w(e)).e/l.a,p=-l.f/l.d,r=o):e.getBBox?(l=e.getBBox(),h=(r=(r=e.transform?e.transform.baseVal:{}).numberOfItems?r.numberOfItems>1?v(r):r.getItem(0).matrix:o).a*l.x+r.c*l.y,p=r.b*l.x+r.d*l.y):(r=new C,h=p=0),t&&"g"===e.tagName.toLowerCase()&&(h=p=0),(k||!e.getBoundingClientRect().width?b:E).appendChild(n),n.setAttribute("transform","matrix("+r.a+","+r.b+","+r.c+","+r.d+","+(r.e+h)+","+(r.f+p)+")");else{if(h=p=0,c)for(r=e.offsetParent,l=e;l&&(l=l.parentNode)&&l!==r&&l.parentNode;)(i.getComputedStyle(l)[u]+"").length>4&&(h=l.offsetLeft,p=l.offsetTop,l=0);if("absolute"!==(g=i.getComputedStyle(e)).position&&"fixed"!==g.position)for(r=e.offsetParent;E&&E!==r;)h+=E.scrollLeft||0,p+=E.scrollTop||0,E=E.parentNode;(l=n.style).top=e.offsetTop-p+"px",l.left=e.offsetLeft-h+"px",l[u]=g[u],l[d]=g[d],l.position="fixed"===g.position?"fixed":"absolute",L.appendChild(n)}return n},S=function(e,t,i,n,r,a,s){return e.a=t,e.b=i,e.c=n,e.d=r,e.e=a,e.f=s,e},C=function(){function e(e,t,i,n,r,a){void 0===e&&(e=1),void 0===t&&(t=0),void 0===i&&(i=0),void 0===n&&(n=1),void 0===r&&(r=0),void 0===a&&(a=0),S(this,e,t,i,n,r,a)}var t=e.prototype;return t.inverse=function(){var e=this.a,t=this.b,i=this.c,n=this.d,r=this.e,a=this.f,s=e*n-t*i||1e-10;return S(this,n/s,-t/s,-i/s,e/s,(i*a-n*r)/s,-(e*a-t*r)/s)},t.multiply=function(e){var t=this.a,i=this.b,n=this.c,r=this.d,a=this.e,s=this.f,o=e.a,l=e.c,c=e.b,u=e.d,d=e.e,h=e.f;
1return S(this,o*t+c*n,o*i+c*r,l*t+u*n,l*i+u*r,a+d*t+h*n,s+d*i+h*r)},t.clone=function(){return new e(this.a,this.b,this.c,this.d,this.e,this.f)},t.equals=function(e){var t=this.a,i=this.b,n=this.c,r=this.d,a=this.e,s=this.f;return t===e.a&&i===e.b&&n===e.c&&r===e.d&&a===e.e&&s===e.f},t.apply=function(e,t){void 0===t&&(t={});var i=e.x,n=e.y,r=this.a,a=this.b,s=this.c,o=this.d,l=this.e,c=this.f;return t.x=i*r+n*s+l||0,t.y=i*a+n*o+c||0,t},e}();function E(e,n,r,a){if(!e||!e.parentNode||(t||h(e)).documentElement===e)return new C;var s=p(e),o=y(e)?f:m,l=k(e,r),c=o[0].getBoundingClientRect(),u=o[1].getBoundingClientRect(),d=o[2].getBoundingClientRect(),x=l.parentNode,v=!a&&function e(t){return"fixed"===i.getComputedStyle(t).position||((t=t.parentNode)&&1===t.nodeType?e(t):void 0)}(e),w=new C((u.left-c.left)/100,(u.top-c.top)/100,(d.left-c.left)/100,(d.top-c.top)/100,c.left+(v?0:b()),c.top+(v?0:g()));if(x.removeChild(l),s)for(c=s.length;c--;)(u=s[c]).scaleX=u.scaleY=0,u.renderTransform(1,u);return n?w.inverse():w}var L,_,T,A,I,j,V,B,P=1,H=function(e,t){return e.actions.forEach(function(e){return e.vars[t]&&e.vars[t](e)})},N={},M=180/Math.PI,O=Math.PI/180,R={},z={},W={},X=function(e){return"string"==typeof e?e.split(" ").join("").split(","):e},F=X("onStart,onUpdate,onComplete,onReverseComplete,onInterrupt"),Y=X("transform,transformOrigin,width,height,position,top,left,opacity,zIndex,maxWidth,maxHeight,minWidth,minHeight"),U=function(e){return L(e)[0]||console.warn("Element not found:",e)},D=function(e){return Math.round(1e4*e)/1e4||0},G=function(e,t,i){return e.forEach(function(e){return e.classList[i](t)})},$={zIndex:1,kill:1,simple:1,spin:1,clearProps:1,targets:1,toggleClass:1,onComplete:1,onUpdate:1,onInterrupt:1,onStart:1,delay:1,repeat:1,repeatDelay:1,yoyo:1,scale:1,fade:1,absolute:1,props:1,onEnter:1,onLeave:1,custom:1,paused:1,nested:1,prune:1,absoluteOnLeave:1},J={zIndex:1,simple:1,clearProps:1,scale:1,absolute:1,fitChild:1,getVars:1,props:1},q=function(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()},K=function(e,t){var i,n={};for(i in e)t[i]||(n[i]=e[i]);return n},Z={},Q=function(e){var t=Z[e]=X(e);return W[e]=t.concat(Y),t},ee=function(e){var t=e._gsap||_.core.getCache(e);return t.gmCache===_.ticker.frame?t.gMatrix:(t.gmCache=_.ticker.frame,t.gMatrix=E(e,!0,!1,!0))},et=function e(t,i,n){void 0===n&&(n=0);for(var r=t.parentNode,a=1e3*Math.pow(10,n)*(i?-1:1),s=i?-(900*a):0;t;)s+=a,t=t.previousSibling;return r?s+e(r,i,n+1):s},ei=function(e,t,i){return e.forEach(function(e){return e.d=et(i?e.element:e.t,t)}),e.sort(function(e,t){return e.d-t.d}),e},en=function(e,t){for(var i,n,r=e.element.style,a=e.css=e.css||[],s=t.length;s--;)n=r[i=t[s]]||r.getPropertyValue(i),a.push(n?i:z[i]||(z[i]=q(i)),n);return r},er=function(e){var t=e.css,i=e.element.style,n=0;for(e.cache.uncache=1;n<t.length;n+=2)t[n+1]?i[t[n]]=t[n+1]:i.removeProperty(t[n]);!t[t.indexOf("transform")+1]&&i.translate&&(i.removeProperty("translate"),i.removeProperty("scale"),i.removeProperty("rotate"))},ea=function(e,t){e.forEach(function(e){return e.a.cache.uncache=1}),t||e.finalStates.forEach(er)},es="paddingTop,paddingRight,paddingBottom,paddingLeft,gridArea,transition".split(","),eo=function(e,t,i){var n,r,a,s=e.element,o=e.width,l=e.height,c=e.uncache,u=e.getProp,d=s.style,h=4;if("object"!=typeof t&&(t=e),T&&1!==i)return T._abs.push({t:s,b:e,a:e,sd:0}),T._final.push(function(){return e.cache.uncache=1,er(e)}),s;for(r="none"===u("display"),(!e.isVisible||r)&&(r&&(en(e,["display"]).display=t.display),e.matrix=t.matrix,e.width=o=e.width||t.width,e.height=l=e.height||t.height),en(e,es),a=window.getComputedStyle(s);h--;)d[es[h]]=a[es[h]];if(d.gridArea="1 / 1 / 1 / 1",d.transition="none",d.position="absolute",d.width=o+"px",d.height=l+"px",d.top||(d.top="0px"),d.left||(d.left="0px"),c)n=new eT(s);else if((n=K(e,R)).position="absolute",e.simple){var p=s.getBoundingClientRect();n.matrix=new C(1,0,0,1,p.left+b(),p.top+g())}else n.matrix=E(s,!1,!1,!0);return n=eg(n,e,!0),e.x=j(n.x,.01),e.y=j(n.y,.01),s},el=function(e,t){return!0!==t&&(t=L(t),e=e.filter(function(e){if(-1!==t.indexOf((e.sd<0?e.b:e.a).element))return!0;e.t._gsap.renderTransform(1),e.b.isVisible&&(e.t.style.width=e.b.width+"px",e.t.style.height=e.b.height+"px")})),e}
1,ec=function(e){return ei(e,!0).forEach(function(e){return(e.a.isVisible||e.b.isVisible)&&eo(e.sd<0?e.b:e.a,e.b,1)})},eu=function(e,t,i,n){return e instanceof eT?e:e instanceof e_?n&&e.idLookup[eu(n).id]||e.elementStates[0]:new eT("string"==typeof e?U(e)||console.warn(e+" not found"):e,t,i)},ed=function(e,t){for(var i=_.getProperty(e.element,null,"native"),n=e.props={},r=t.length;r--;)n[t[r]]=(i(t[r])+"").trim();return n.zIndex&&(n.zIndex=parseFloat(n.zIndex)||0),e},eh=function(e,t){var i,n=e.style||e;for(i in t)n[i]=t[i]},ep=function(e){var t=e.getAttribute("data-flip-id");return t||e.setAttribute("data-flip-id",t="auto-"+P++),t},ef=function(e){return e.map(function(e){return e.element})},em=function(e,t,i){return e&&t.length&&i.add(e(ef(t),i,new e_(t,0,!0)),0)},eg=function(e,t,i,n,r,a){var s,o,l,c,u,d,h,p=e.element,f=e.cache,m=e.parent,g=e.x,b=e.y,y=t.width,x=t.height,v=t.scaleX,w=t.scaleY,k=t.rotation,S=t.bounds,C=a&&V&&V(p,"transform,width,height"),T=e,A=t.matrix,I=A.e,B=A.f,P=e.bounds.width!==S.width||e.bounds.height!==S.height||e.scaleX!==v||e.scaleY!==w||e.rotation!==k,H=!P&&e.simple&&t.simple&&!r;return H||!m?(v=w=1,k=s=0):(k=D(Math.atan2((d=(u=ee(m)).clone().multiply(t.ctm?t.matrix.clone().multiply(t.ctm):t.matrix)).b,d.a)*M),s=D(Math.atan2(d.c,d.d)*M+k)%360,v=Math.sqrt(Math.pow(d.a,2)+Math.pow(d.b,2)),w=Math.sqrt(Math.pow(d.c,2)+Math.pow(d.d,2))*Math.cos(s*O),r&&(r=L(r)[0],c=_.getProperty(r),h=r.getBBox&&"function"==typeof r.getBBox&&r.getBBox(),T={scaleX:c("scaleX"),scaleY:c("scaleY"),width:h?h.width:Math.ceil(parseFloat(c("width","px"))),height:h?h.height:parseFloat(c("height","px"))}),f.rotation=k+"deg",f.skewX=s+"deg"),i?(v*=y!==T.width&&T.width?y/T.width:1,w*=x!==T.height&&T.height?x/T.height:1,f.scaleX=v,f.scaleY=w):(y=j(y*v/T.scaleX,0),x=j(x*w/T.scaleY,0),p.style.width=y+"px",p.style.height=x+"px"),n&&eh(p,t.props),H||!m?(g+=I-e.matrix.e,b+=B-e.matrix.f):P||m!==t.parent?(f.x=g+"px",f.y=b+"px",f.renderTransform(1,f),d=E(r||p,!1,!1,!0),o=u.apply({x:d.e,y:d.f}),g+=(l=u.apply({x:I,y:B})).x-o.x,b+=l.y-o.y):(u.e=u.f=0,g+=(l=u.apply({x:I-e.matrix.e,y:B-e.matrix.f})).x,b+=l.y),g=j(g,.02),b=j(b,.02),!a||a instanceof eT?(f.x=g+"px",f.y=b+"px",f.renderTransform(1,f)):C&&C.revert(),a&&(a.x=g,a.y=b,a.rotation=k,a.skewX=s,i?(a.scaleX=v,a.scaleY=w):(a.width=y,a.height=x)),a||f},eb=function(e,t){return e instanceof e_?e:new e_(e,t)},ey=function(e,t,i){var n=e.idLookup[i],r=e.alt[i];return!r.isVisible||(t.getElementState(r.element)||r).isVisible&&n.isVisible?n:r},ex=[],ev="width,height,overflowX,overflowY".split(","),ew=function(e){if(e!==B){var t=I.style,i=I.clientWidth===window.outerWidth,n=I.clientHeight===window.outerHeight,r=4;if(e&&(i||n)){for(;r--;)ex[r]=t[ev[r]];i&&(t.width=I.clientWidth+"px",t.overflowY="hidden"),n&&(t.height=I.clientHeight+"px",t.overflowX="hidden"),B=e}else if(B){for(;r--;)ex[r]?t[ev[r]]=ex[r]:t.removeProperty(q(ev[r]));B=e}}},ek=function(e,t){for(var i=0;i<e.length;i+=3)_.set(e[i],{clearProps:!0}),e[i].setAttribute("style",e[i+t]),e[i]._gsap.gmCache=-1},eS=function(e,t,i,n){e instanceof e_&&t instanceof e_||console.warn("Not a valid state object.");var r,a,s,o,l,c,u,d,h,p,f,m,g,b,y,x=i=i||{},v=x.clearProps,w=x.onEnter,k=x.onLeave,S=x.absolute,C=x.absoluteOnLeave,L=x.custom,A=x.delay,I=x.paused,j=x.repeat,V=x.repeatDelay,B=x.yoyo,P=x.toggleClass,H=x.nested,N=x.zIndex,M=x.scale,O=x.fade,R=x.stagger,z=x.spin,X=x.prune,U=("props"in i?i:e).props,D=K(i,$),q=_.timeline({delay:A,paused:I,repeat:j,repeatDelay:V,yoyo:B,data:"isFlip"}),ee=D,et=[],er=[],es=[],eo=[],eu=!0===z?1:z||0,ed="function"==typeof z?z:function(){return eu},eh=e.interrupted||t.interrupted,ep=q[1!==n?"to":"from"];for(s in t.idLookup)c=(m=t.alt[s]?ey(t,e,s):t.idLookup[s]).element,f=e.idLookup[s],e.alt[s]&&c===f.element&&(e.alt[s].isVisible||!m.isVisible)&&(f=e.alt[s]),f?(u={t:c,b:f,a:m,sd:f.element===c?0:m.isVisible?1:-1},es.push(u),u.sd&&(u.sd<0&&(u.b=m,u.a=f),eh&&en(u.b,U?W[U]:Y),O&&es.push(u.swap={t:f.element,b:u.b,a:u.a,sd:-u.sd,swap:u})),c._flip=f.element._flip=T?T.timeline:q):m.isVisible&&(es.push({t:c,b:K(m,{isVisible:1}),a:m,sd:0,entering:1}),c._flip=T?T.timeline:q);
vendor: 4,826 bytes, line 1
1U&&(Z[U]||Q(U)).forEach(function(e){return D[e]=function(t){return es[t].a.props[e]}}),es.finalStates=p=[],g=function(){ei(es),ew(!0);var t,n=[];for(l=0;l<es.length;l++)b=(u=es[l]).a,y=u.b,!X||b.isDifferent(y)||u.entering?(c=u.t,H&&!(u.sd<0)&&l&&(b=u.a=b.clone({matrix:E(c,!1,!1,!0)})),y.isVisible&&b.isVisible?(u.sd<0?(H&&ek(n,1),eg(d=new eT(c,U,e.simple),b,M,0,0,d),d.matrix=E(c,!1,!1,!0),d.bounds=c.getBoundingClientRect(),d.css=u.b.css,u.a=b=d,O&&(c.style.opacity=eh?y.opacity:b.opacity),R&&eo.push(c),H&&(ek(n,2),n.push(c,c.getAttribute("style")))):u.sd>0&&O&&(c.style.opacity=eh?b.opacity-y.opacity:"0"),eg(b,y,M,U),H&&u.sd<0&&n.push(c.getAttribute("style"))):y.isVisible!==b.isVisible&&(y.isVisible?!b.isVisible&&(y.css=b.css,er.push(y),es.splice(l--,1),S&&H&&eg(b,y,M,U)):(b.isVisible&&et.push(b),es.splice(l--,1))),M||(c.style.maxWidth=Math.max(b.width,y.width)+"px",c.style.maxHeight=Math.max(b.height,y.height)+"px",c.style.minWidth=Math.min(b.width,y.width)+"px",c.style.minHeight=Math.min(b.height,y.height)+"px"),H&&P&&c.classList.add(P)):es.splice(l--,1),p.push(b);if(P&&(t=p.map(function(e){return e.element}),H&&t.forEach(function(e){return e.classList.remove(P)})),ew(!1),M?(D.scaleX=function(e){return es[e].a.scaleX},D.scaleY=function(e){return es[e].a.scaleY}):(D.width=function(e){return es[e].a.width+"px"},D.height=function(e){return es[e].a.height+"px"},D.autoRound=i.autoRound||!1),D.x=function(e){return es[e].a.x+"px"},D.y=function(e){return es[e].a.y+"px"},D.rotation=function(e){return es[e].a.rotation+(z?360*ed(e,h[e],h):0)},D.skewX=function(e){return es[e].a.skewX},h=es.map(function(e){return e.t}),(N||0===N)&&(D.modifiers={zIndex:function(){return N}},D.zIndex=N,D.immediateRender=!1!==i.immediateRender),O&&(D.opacity=function(e){return es[e].sd<0?0:es[e].sd>0?es[e].a.opacity:"+=0"}),eo.length){R=_.utils.distribute(R);var r=h.slice(eo.length);D.stagger=function(e,t){return R(~eo.indexOf(t)?h.indexOf(es[e].swap.t):e,t,r)}}if(F.forEach(function(e){return i[e]&&q.eventCallback(e,i[e],i[e+"Params"])}),L&&h.length)for(s in ee=K(D,$),"scale"in L&&(L.scaleX=L.scaleY=L.scale,delete L.scale),L)(a=K(L[s],J))[s]=D[s],!("duration"in a)&&"duration"in D&&(a.duration=D.duration),a.stagger=D.stagger,ep.call(q,h,a,0),delete ee[s];(h.length||er.length||et.length)&&(P&&q.add(function(){return G(t,P,q._zTime<0?"remove":"add")},0)&&!I&&G(t,P,"add"),h.length&&ep.call(q,h,ee,0)),em(w,et,q),em(k,er,q);var f=T&&T.timeline;f&&(f.add(q,0),T._final.push(function(){return ea(es,!v)})),o=q.duration(),q.call(function(){var e=q.time()>=o;e&&!f&&ea(es,!v),P&&G(t,P,e?"remove":"add")})},C&&(S=es.filter(function(e){return!e.sd&&!e.a.isVisible&&e.b.isVisible}).map(function(e){return e.a.element})),T?(S&&(r=T._abs).push.apply(r,el(es,S)),T._run.push(g)):(S&&ec(el(es,S)),g());var ef=T?T.timeline:q;return ef.revert=function(){return eE(ef,1,1)},ef},eC=function e(t){t.vars.onInterrupt&&t.vars.onInterrupt.apply(t,t.vars.onInterruptParams||[]),t.getChildren(!0,!1,!0).forEach(e)},eE=function(e,t,i){if(e&&1>e.progress()&&(!e.paused()||i))return t&&(eC(e),t<2&&e.progress(1),e.kill()),!0},eL=function(e){for(var t,i=e.idLookup={},n=e.alt={},r=e.elementStates,a=r.length;a--;)i[(t=r[a]).id]?n[t.id]=t:i[t.id]=t},e_=function(){function e(e,t,i){if(this.props=t&&t.props,this.simple=!!(t&&t.simple),i)this.targets=ef(e),this.elementStates=e,eL(this);else{this.targets=L(e);var n=t&&(!1===t.kill||t.batch&&!t.kill);T&&!n&&T._kill.push(this),this.update(n||!!T)}}var t=e.prototype;return t.update=function(e){var t=this;return this.elementStates=this.targets.map(function(e){return new eT(e,t.props,t.simple)}),eL(this),this.interrupt(e),this.recordInlineStyles(),this},t.clear=function(){return this.targets.length=this.elementStates.length=0,eL(this),this},t.fit=function(e,t,i){for(var n,r,a=ei(this.elementStates.slice(0),!1,!0),s=(e||this).idLookup,o=0;o<a.length;o++)n=a[o],i&&(n.matrix=E(n.element,!1,!1,!0)),(r=s[n.id])&&eg(n,r,t,!0,0,n),n.matrix=E(n.element,!1,!1,!0);return this},t.getProperty=function(e,t){var i=this.getElementState(e)||R;return(t in i?i:i.props||R)[t]},t.add=function(e){for(var t,i,n,r=e.targets.length,a=this.idLookup,s=this.alt;r--;)(n=a[(i=e.elementStates[r]).id])&&(i.element===n.element||s[i.id]&&s[i.id].element===i.element)?(t=this.elementStates.indexOf(i.element===n.element?n:s[i.id]),this.targets.splice(t,1,e.targets[r]),this.elementStates.splice(t,1,i)):(this.targets.push(e.targets[r]),this.elementStates.push(i));return e.interrupted&&(this.interrupted=!0),e.simple||(this.simple=!1),eL(this),this},t.compare=function(e){var t,i,n,r,a,s,o,l,c=e.idLookup,u=this.idLookup,d=[],h=[],p=[],f=[],m=[],g=e.alt,b=this.alt,y=function(e,t,i){return(e.isVisible!==t.isVisible?e.isVisible?p:f:e.isVisible?h:d).push(i)&&m.push(i)},x=function(e,t,i){return 0>m.indexOf(i)&&y(e,t,i)};
1for(n in c)a=g[n],s=b[n],r=(t=a?ey(e,this,n):c[n]).element,i=u[n],s?(l=i.isVisible||!s.isVisible&&r===i.element?i:s,(o=!a||t.isVisible||a.isVisible||l.element!==a.element?t:a).isVisible&&l.isVisible&&o.element!==l.element?((o.isDifferent(l)?h:d).push(o.element,l.element),m.push(o.element,l.element)):y(o,l,o.element),a&&o.element===a.element&&(a=c[n]),x(o.element!==i.element&&a?a:o,i,i.element),x(a&&a.element===s.element?a:o,s,s.element),a&&x(a,s.element===a.element?s:i,a.element)):(i?i.isDifferent(t)?y(t,i,r):d.push(r):p.push(r),a&&x(a,i,a.element));for(n in u)!c[n]&&(f.push(u[n].element),b[n]&&f.push(b[n].element));return{changed:h,unchanged:d,enter:p,leave:f}},t.recordInlineStyles=function(){for(var e=W[this.props]||Y,t=this.elementStates.length;t--;)en(this.elementStates[t],e)},t.interrupt=function(e){var t=this,i=[];this.targets.forEach(function(n){var r=n._flip,a=eE(r,+!e);e&&a&&0>i.indexOf(r)&&r.add(function(){return t.updateVisibility()}),a&&i.push(r)}),!e&&i.length&&this.updateVisibility(),this.interrupted||(this.interrupted=!!i.length)},t.updateVisibility=function(){this.elementStates.forEach(function(e){var t=e.element.getBoundingClientRect();e.isVisible=!!(t.width||t.height||t.top||t.left),e.uncache=1})},t.getElementState=function(e){return this.elementStates[this.targets.indexOf(U(e))]},t.makeAbsolute=function(){return ei(this.elementStates.slice(0),!0,!0).map(eo)},e}(),eT=function(){function e(t,i,n){t instanceof e?Object.assign(this,t,i||{}):(this.element=t,this.update(i,n))}var t=e.prototype;return t.isDifferent=function(e){var t=this.bounds,i=e.bounds;return t.top!==i.top||t.left!==i.left||t.width!==i.width||t.height!==i.height||!this.matrix.equals(e.matrix)||this.opacity!==e.opacity||this.props&&e.props&&JSON.stringify(this.props)!==JSON.stringify(e.props)},t.clone=function(t){return new e(this,t)},t.update=function(e,t){var i=this.element,n=_.getProperty(i),r=_.core.getCache(i),a=i.getBoundingClientRect(),s=i.getBBox&&"function"==typeof i.getBBox&&"svg"!==i.nodeName.toLowerCase()&&i.getBBox(),o=t?new C(1,0,0,1,a.left+b(),a.top+g()):E(i,!1,!1,!0);r.uncache=1,this.getProp=n,this.element=i,this.id=ep(i),this.matrix=o,this.cache=r,this.bounds=a,this.isVisible=!!(a.width||a.height||a.left||a.top),this.display=n("display"),this.position=n("position"),this.parent=i.parentNode,this.x=n("x","px"),this.y=n("y","px"),this.scaleX=r.scaleX,this.scaleY=r.scaleY,this.rotation=n("rotation"),this.skewX=n("skewX"),this.opacity=n("opacity"),this.width=s?s.width:j(n("width","px"),.04),this.height=s?s.height:j(n("height","px"),.04),e&&ed(this,Z[e]||Q(e)),this.ctm=i.getCTM&&"svg"===i.nodeName.toLowerCase()&&w(i).inverse(),this.simple=t||1===D(o.a)&&!D(o.b)&&!D(o.c)&&1===D(o.d),this.uncache=0},e}(),eA=function(){function e(e,t){this.vars=e,this.batch=t,this.states=[],this.timeline=t.timeline}var t=e.prototype;return t.getStateById=function(e){for(var t=this.states.length;t--;)if(this.states[t].idLookup[e])return this.states[t]},t.kill=function(){this.batch.remove(this)},e}(),eI=function(){function e(e){this.id=e,this.actions=[],this._kill=[],this._final=[],this._abs=[],this._run=[],this.data={},this.state=new e_,this.timeline=_.timeline()}var t=e.prototype;return t.add=function(e){var t=this.actions.filter(function(t){return t.vars===e});return t.length?t[0]:(t=new eA("function"==typeof e?{animate:e}:e,this),this.actions.push(t),t)},t.remove=function(e){var t=this.actions.indexOf(e);return t>=0&&this.actions.splice(t,1),this},t.getState=function(e){var t=this,i=T,n=A;return T=this,this.state.clear(),this._kill.length=0,this.actions.forEach(function(i){i.vars.getState&&(i.states.length=0,A=i,i.state=i.vars.getState(i)),e&&i.states.forEach(function(e){return t.state.add(e)})}),A=n,T=i,this.killConflicts(),this},t.animate=function(){var e,t,i=this,n=T,r=this.timeline,a=this.actions.length;for(T=this,r.clear(),this._abs.length=this._final.length=this._run.length=0,this.actions.forEach(function(e){e.vars.animate&&e.vars.animate(e);var t,i,n=e.vars.onEnter,r=e.vars.onLeave,a=e.targets;a&&a.length&&(n||r)&&(t=new e_,e.states.forEach(function(e){return t.add(e)}),(i=t.compare(ej.getState(a))).enter.length&&n&&n(i.enter),i.leave.length&&r&&r(i.leave))}
vendor: 3,100 bytes, line 1
1),ec(this._abs),this._run.forEach(function(e){return e()}),t=r.duration(),e=this._final.slice(0),r.add(function(){t<=r.time()&&(e.forEach(function(e){return e()}),H(i,"onComplete"))}),T=n;a--;)this.actions[a].vars.once&&this.actions[a].kill();return H(this,"onStart"),r.restart(),this},t.loadState=function(e){e||(e=function(){return 0});var t=[];return this.actions.forEach(function(i){if(i.vars.loadState){var n,r=function r(a){a&&(i.targets=a),~(n=t.indexOf(r))&&(t.splice(n,1),t.length||e())};t.push(r),i.vars.loadState(r)}}),t.length||e(),this},t.setState=function(){return this.actions.forEach(function(e){return e.targets=e.vars.setState&&e.vars.setState(e)}),this},t.killConflicts=function(e){return this.state.interrupt(e),this._kill.forEach(function(t){return t.interrupt(e)}),this},t.run=function(e,t){var i=this;return this!==T&&(e||this.getState(t),this.loadState(function(){i._killed||(i.setState(),i.animate())})),this},t.clear=function(e){this.state.clear(),e||(this.actions.length=0)},t.getStateById=function(e){for(var t,i=this.actions.length;i--;)if(t=this.actions[i].getStateById(e))return t;return this.state.idLookup[e]&&this.state},t.kill=function(){this._killed=1,this.clear(),delete N[this.id]},e}(),ej=function(){function e(){}return e.getState=function(t,i){var n=eb(t,i);return A&&A.states.push(n),i&&i.batch&&e.batch(i.batch).state.add(n),n},e.from=function(e,t){return"clearProps"in(t=t||{})||(t.clearProps=!0),eS(e,eb(t.targets||e.targets,{props:t.props||e.props,simple:t.simple,kill:!!t.kill}),t,-1)},e.to=function(e,t){return eS(e,eb(t.targets||e.targets,{props:t.props||e.props,simple:t.simple,kill:!!t.kill}),t,1)},e.fromTo=function(e,t,i){return eS(e,t,i)},e.fit=function(e,t,i){var n=i?K(i,J):{},r=i||n,a=r.absolute,s=r.scale,o=r.getVars,l=r.props,c=r.runBackwards,u=r.onComplete,d=r.simple,h=i&&i.fitChild&&U(i.fitChild),p=eu(t,l,d,e),f=eu(e,0,d,p),m=l?W[l]:Y,g=_.context();return l&&eh(n,p.props),en(f,m),c&&("immediateRender"in n||(n.immediateRender=!0),n.onComplete=function(){er(f),u&&u.apply(this,arguments)}),a&&eo(f,p),n=eg(f,p,s||h,!n.duration&&l,h,n.duration||o?n:0),"object"==typeof i&&"zIndex"in i&&(n.zIndex=i.zIndex),g&&!o&&g.add(function(){return function(){return er(f)}}),o?n:n.duration?_.to(f.element,n):null},e.makeAbsolute=function(e,t){return(e instanceof e_?e:new e_(e,t)).makeAbsolute()},e.batch=function(e){return e||(e="default"),N[e]||(N[e]=new eI(e))},e.killFlipsOf=function(e,t){(e instanceof e_?e.targets:L(e)).forEach(function(e){return e&&eE(e._flip,!1!==t?1:2)})},e.isFlipping=function(t){var i=e.getByTarget(t);return!!i&&i.isActive()},e.getByTarget=function(e){return(U(e)||R)._flip},e.getElementState=function(e,t){return new eT(U(e),t)},e.convertCoordinates=function(e,t,i){var n=E(t,!0,!0).multiply(E(e));return i?n.apply(i):n},e.register=function(e){if(I="u">typeof document&&document.body){_=e,h(I),L=_.utils.toArray,V=_.core.getStyleSaver;var t=_.utils.snap(.1);j=function(e,i){return t(parseFloat(e)+i)}}},e}();ej.version="3.15.0","u">typeof window&&window.gsap&&window.gsap.registerPlugin(ej),e.s(["Flip",0,ej],33965)}]);
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.