@ssgoi/core 3.3.0 → 3.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/lib/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,MAAM,CAAC;AAE5C,MAAM,MAAM,YAAY,GAAG;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;AAE1D;;;;;GAKG;AACH,MAAM,MAAM,YAAY,GAAG,UAAU,GAAG,YAAY,GAAG,SAAS,CAAC;AAEjE;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IAEjC,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,IAAI,CAAC;IAGzC,IAAI,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAG3B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAGrB,KAAK,CAAC,EAAE,MAAM,IAAI,CAAC;CACpB,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,MAAM,kBAAkB,GAAG,oBAAoB,GAAG;IAEtD,MAAM,CAAC,EAAE,YAAY,CAAC;IAGtB,IAAI,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAElC;;;;;;;;;;;;;;;;OAgBG;IACH,GAAG,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,WAAW,CAAC;CACzC,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,MAAM,UAAU,GAAG;IACvB,MAAM,CAAC,EAAE,YAAY,CAAC;IAEtB;;;;;;;;;;OAUG;IACH,IAAI,CAAC,EAAE,CAAC,QAAQ,EAAE,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AAI,CAC5C,iBAAiB,EACjB,SAAS,GAAG,UAAU,CACvB,GAAG;IACF,OAAO,EAAE,oBAAoB,EAAE,CAAC;CACjC,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,wBAAgB,4BAA4B,CAC1C,MAAM,EAAE,iBAAiB,EACzB,OAAO,CAAC,EAAE,WAAW,GACpB,2BAA2B,CA8C7B;AAED;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"drill.d.ts","sourceRoot":"","sources":["../../src/lib/view-transitions/drill.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAe,MAAM,UAAU,CAAC;AAa3E,UAAU,YAAY;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC7B,MAAM,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;CAChC;AAED,eAAO,MAAM,KAAK,GAAI,UAAS,YAAiB,KAAG,eAkHlD,CAAC"}
1
+ {"version":3,"file":"drill.d.ts","sourceRoot":"","sources":["../../src/lib/view-transitions/drill.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAe,MAAM,UAAU,CAAC;AAe3E,UAAU,YAAY;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC7B,MAAM,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;CAChC;AAED,eAAO,MAAM,KAAK,GAAI,UAAS,YAAiB,KAAG,eAmHlD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"fade.d.ts","sourceRoot":"","sources":["../../src/lib/view-transitions/fade.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAe,MAAM,UAAU,CAAC;AAQ3E,UAAU,WAAW;IACnB,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB,SAAS,CAAC,EAAE,YAAY,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,eAAO,MAAM,IAAI,GAAI,UAAS,WAAgB,KAAG,eAyDhD,CAAC"}
1
+ {"version":3,"file":"fade.d.ts","sourceRoot":"","sources":["../../src/lib/view-transitions/fade.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAe,MAAM,UAAU,CAAC;AAgB3E,UAAU,WAAW;IACnB,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB,SAAS,CAAC,EAAE,YAAY,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,eAAO,MAAM,IAAI,GAAI,UAAS,WAAgB,KAAG,eAyDhD,CAAC"}
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("../jaemin-BG8HRXG1.cjs"),v=t=>new Promise(n=>setTimeout(n,t));function L(){let t,n;return{promise:new Promise((d,a)=>{t=d,n=a}),resolve:t,reject:n}}const H={stiffness:80,damping:25},N={stiffness:75,damping:25},q=300,G=10,j="horizontal",K="#000000",Z=(t={})=>{const{inSpring:n=N,outSpring:s=H,transitionDelay:d=q,blindCount:a=G,direction:r=j,blindColor:o=K}=t;let i,c=null;const l=(e,h,y="left")=>{window.getComputedStyle(e).position==="static"&&(e.style.position="relative");const g=document.createElement("div");g.className="blind-container",g.style.cssText=`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("../jaemin-BG8HRXG1.cjs"),v=t=>new Promise(n=>setTimeout(n,t));function L(){let t,n;return{promise:new Promise((d,a)=>{t=d,n=a}),resolve:t,reject:n}}const H={stiffness:80,damping:25},N={stiffness:75,damping:25},q=300,G=10,j="horizontal",K="#000000",Z=(t={})=>{const{inSpring:n=N,outSpring:i=H,transitionDelay:d=q,blindCount:a=G,direction:s=j,blindColor:l=K}=t;let r,o=null;const c=(e,y,g="left")=>{window.getComputedStyle(e).position==="static"&&(e.style.position="relative");const p=document.createElement("div");p.className="blind-container",p.style.cssText=`
2
2
  position: absolute;
3
3
  top: 0;
4
4
  left: 0;
@@ -7,29 +7,29 @@
7
7
  pointer-events: none;
8
8
  z-index: 9999;
9
9
  overflow: hidden;
10
- `;const u=[];for(let w=0;w<a;w++){const $=document.createElement("div");if(r==="horizontal"){const x=100/a,m=`calc(${x}% + 1px)`;$.style.cssText=`
10
+ `;const u=[];for(let w=0;w<a;w++){const $=document.createElement("div");if(s==="horizontal"){const b=100/a,m=`calc(${b}% + 1px)`;$.style.cssText=`
11
11
  position: absolute;
12
- top: ${x*w}%;
12
+ top: ${b*w}%;
13
13
  left: 0;
14
14
  width: 100%;
15
15
  height: ${m};
16
- background: ${o};
17
- transform: scaleX(${h==="hidden"?0:1});
18
- transform-origin: ${y} center;
16
+ background: ${l};
17
+ transform: scaleX(${y==="hidden"?0:1});
18
+ transform-origin: ${g} center;
19
19
  will-change: transform;
20
- `}else{const x=100/a,m=`calc(${x}% + 1px)`;$.style.cssText=`
20
+ `}else{const b=100/a,m=`calc(${b}% + 1px)`;$.style.cssText=`
21
21
  position: absolute;
22
22
  top: 0;
23
- left: ${x*w}%;
23
+ left: ${b*w}%;
24
24
  width: ${m};
25
25
  height: 100%;
26
- background: ${o};
27
- transform: scaleY(${h==="hidden"?0:1});
28
- transform-origin: ${y==="left"?"top":"bottom"} center;
26
+ background: ${l};
27
+ transform: scaleY(${y==="hidden"?0:1});
28
+ transform-origin: ${g==="left"?"top":"bottom"} center;
29
29
  will-change: transform;
30
- `}u.push($),g.appendChild($)}return e.appendChild(g),{container:g,blinds:u}};return{out:()=>{let e=null;i=new Promise(p=>{c=p});const h=p=>{const g=1-p;return{transform:r==="horizontal"?`scaleX(${g})`:`scaleY(${g})`}};return{springs:Array.from({length:a},(p,g)=>({spring:s,offset:.2,css:{get element(){return e==null?void 0:e.blinds[g]},style:h}})),schedule:"stagger",prepare:p=>{f.prepareOutgoing(p),p.style.zIndex="1000",e=l(p,"hidden","left")},onStart:()=>{},onEnd:()=>{c&&c()}}},in:()=>{let e=null;const h=p=>{const g=1-p;return{transform:r==="horizontal"?`scaleX(${g})`:`scaleY(${g})`}};return{springs:Array.from({length:a},(p,g)=>({spring:n,offset:.2,css:{get element(){return e==null?void 0:e.blinds[g]},style:h}})),schedule:"stagger",prepare:p=>{p.style.position="relative",p.style.zIndex="0",e=l(p,"closed","right")},onStart:()=>{},wait:async()=>{i&&await i,await v(d)},onEnd:()=>{e&&e.container&&e.container.remove()}}}}},J={stiffness:150,damping:20},Q={stiffness:100,damping:20},R=(t={})=>{var r,o;const{opacity:n=!1,direction:s="enter"}=t,d=s==="enter"?J:Q,a={stiffness:((r=t.spring)==null?void 0:r.stiffness)??d.stiffness,damping:((o=t.spring)==null?void 0:o.damping)??d.damping};return s==="enter"?{in:i=>({spring:a,prepare:()=>{i.style.willChange=n?"transform, opacity":"transform",i.style.backfaceVisibility="hidden",i.style.contain="layout paint"},css:c=>{const l={transform:`translate3d(${(1-c)*100}%, 0, 0)`};return n&&(l.opacity=c),l},onEnd:()=>{i.style.willChange="auto",i.style.backfaceVisibility="",i.style.contain=""}}),out:(i,c)=>({spring:a,prepare:l=>{f.prepareOutgoing(l,c),l.style.zIndex="-1",l.style.willChange=n?"transform, opacity":"transform",l.style.backfaceVisibility="hidden",l.style.contain="layout paint",l.style.pointerEvents="none"},css:l=>{const e={transform:`translate3d(${-(1-l)*20}%, 0, 0)`};return n&&(e.opacity=l),e}})}:{in:i=>({spring:a,prepare:()=>{i.style.willChange=n?"transform, opacity":"transform",i.style.backfaceVisibility="hidden",i.style.contain="layout paint"},css:c=>{const l={transform:`translate3d(${-(1-c)*20}%, 0, 0)`};return n&&(l.opacity=c),l},onEnd:()=>{i.style.willChange="auto",i.style.backfaceVisibility="",i.style.contain=""}}),out:(i,c)=>({spring:a,prepare:l=>{f.prepareOutgoing(l,c),l.style.zIndex="100",l.style.willChange=n?"transform, opacity":"transform",l.style.backfaceVisibility="hidden",l.style.contain="layout paint",l.style.pointerEvents="none"},css:l=>{const e={transform:`translate3d(${(1-l)*100}%, 0, 0)`};return n&&(e.opacity=l),e}})}},tt={stiffness:120,damping:15},nt={stiffness:100,damping:20},et=0,it=(t={})=>{const{inSpring:n=nt,outSpring:s=tt,transitionDelay:d=et}=t;let{promise:a,resolve:r}=L();return{in:o=>({spring:n,prepare:()=>{o.style.opacity="0",o.style.willChange="opacity"},wait:async()=>{if(a){await a;const i=L();a=i.promise,r=i.resolve,await v(d)}},css:i=>({opacity:i}),onEnd:()=>{o.style.willChange="auto",o.style.opacity="1"}}),out:(o,i)=>({spring:s,css:c=>({opacity:c}),prepare:()=>{f.prepareOutgoing(o,i),o.style.willChange="opacity"},onEnd:()=>{r&&r(),o.style.willChange="auto"}})}},st={scaleDown:{stiffness:20,damping:7},translate:{stiffness:15,damping:7},scaleUp:{stiffness:20,damping:7}},b={scaleDown:0,translate:.2,scaleUp:.8},rt=.8,at="white",ot=t=>{var a;const n=st,s=rt,d=((a=t==null?void 0:t.border)==null?void 0:a.color)??at;return{out:async(r,o)=>{const i=T(o),c=f.getRect(document.body,o.positionedParent),l=ct(d,{...i,top:c.top}),e={scale:1,translateY:-i.top},h=()=>{r.style.transform=`translateY(${e.translateY}px) scale(${e.scale})`;const y=(i.width-i.width*e.scale)/2,p=(i.height-i.height*e.scale)/2;lt(l,y,p)};return{springs:[{spring:n.scaleDown,offset:b.scaleDown,tick:y=>{const p=1-y;e.scale=1-(1-s)*p,h()}},{spring:n.translate,offset:b.translate,tick:y=>{const p=1-y;e.translateY=-i.top-i.height*p,h()}},{spring:n.scaleUp,offset:b.scaleUp,tick:y=>{const p=1-y;e.scale=s+(1-s)*p,h()}}],schedule:"stagger",prepare:()=>{f.prepareOutgoing(r),O(r,i),k(r,i),dt(r,i);for(const y of l)o.positionedParent.appendChild(y)},onEnd:()=>{r.style.clipPath="",r.style.transformOrigin="",setTimeout(()=>{for(const y of l)o.positionedParent.removeChild(y)},1e3)}}},in:async(r,o)=>{const i=T(o),c={scale:s,translateY:-i.top+i.height},l=()=>{r.style.transform=`translateY(${c.translateY}px) scale(${c.scale})`};return{springs:[{spring:n.scaleDown,offset:b.scaleDown,tick:e=>{c.scale=1-(1-s)*e,l()}},{spring:n.translate,offset:b.translate,tick:e=>{c.translateY=-i.top+i.height*(1-e),l()}},{spring:n.scaleUp,offset:b.scaleUp,tick:e=>{c.scale=s+(1-s)*e,l()}}],schedule:"stagger",prepare:()=>{O(r,i),k(r,i),r.style.transform=`translateY(${-i.top+i.height}px) scale(${s})`},onEnd:()=>{r.style.clipPath="",r.style.transformOrigin="",r.style.transform=""}}}}};function lt(t,n,s){const d=n*.7,a=s*.7;t.topLeft.style.transform=`translate(${d}px, ${a}px)`,t.topRight.style.transform=`translate(${-d}px, ${a}px)`,t.bottomLeft.style.transform=`translate(${d}px, ${-a}px)`,t.bottomRight.style.transform=`translate(${-d}px, ${-a}px)`}function ct(t="white",n){const a=document.createElement("div");a.style.position="fixed",a.style.pointerEvents="none",a.style.zIndex="9999",a.style.top=`${n.top-1}px`,a.style.left=`${n.left-1}px`,a.style.width="15px",a.style.height="15px";const r=document.createElement("div");r.style.position="absolute",r.style.width="15px",r.style.height="1px",r.style.backgroundColor=t,r.style.top="0",r.style.left="0";const o=document.createElement("div");o.style.position="absolute",o.style.width="1px",o.style.height="15px",o.style.backgroundColor=t,o.style.top="0",o.style.left="0",a.appendChild(r),a.appendChild(o);const i=document.createElement("div");i.style.position="fixed",i.style.pointerEvents="none",i.style.zIndex="9999",i.style.top=`${n.top-1}px`,i.style.left=`${n.left+n.width-15+1}px`,i.style.width="15px",i.style.height="15px";const c=document.createElement("div");c.style.position="absolute",c.style.width="15px",c.style.height="1px",c.style.backgroundColor=t,c.style.top="0",c.style.right="0";const l=document.createElement("div");l.style.position="absolute",l.style.width="1px",l.style.height="15px",l.style.backgroundColor=t,l.style.top="0",l.style.right="0",i.appendChild(c),i.appendChild(l);const e=document.createElement("div");e.style.position="fixed",e.style.pointerEvents="none",e.style.zIndex="9999",e.style.top=`${n.top+n.height-15+1}px`,e.style.left=`${n.left-1}px`,e.style.width="15px",e.style.height="15px";const h=document.createElement("div");h.style.position="absolute",h.style.width="15px",h.style.height="1px",h.style.backgroundColor=t,h.style.bottom="0",h.style.left="0";const y=document.createElement("div");y.style.position="absolute",y.style.width="1px",y.style.height="15px",y.style.backgroundColor=t,y.style.bottom="0",y.style.left="0",e.appendChild(h),e.appendChild(y);const p=document.createElement("div");p.style.position="fixed",p.style.pointerEvents="none",p.style.zIndex="9999",p.style.top=`${n.top+n.height-15+1}px`,p.style.left=`${n.left+n.width-15+1}px`,p.style.width="15px",p.style.height="15px";const g=document.createElement("div");g.style.position="absolute",g.style.width="15px",g.style.height="1px",g.style.backgroundColor=t,g.style.bottom="0",g.style.right="0";const u=document.createElement("div");return u.style.position="absolute",u.style.width="1px",u.style.height="15px",u.style.backgroundColor=t,u.style.bottom="0",u.style.right="0",p.appendChild(g),p.appendChild(u),{topLeft:a,topRight:i,bottomLeft:e,bottomRight:p,*[Symbol.iterator](){yield a,yield i,yield e,yield p}}}function T(t){const n=f.getRect(document.body,t.positionedParent);return{top:t.scroll.y,left:0,width:n.width,height:window.innerHeight-n.top}}function O(t,n){const s=n.left+n.width/2,d=n.top+n.height/2;t.style.transformOrigin=`${s}px ${d}px`}function k(t,n){t.style.clipPath=`polygon(
30
+ `}u.push($),p.appendChild($)}return e.appendChild(p),{container:p,blinds:u}};return{out:()=>{let e=null;r=new Promise(h=>{o=h});const y=h=>{const p=1-h;return{transform:s==="horizontal"?`scaleX(${p})`:`scaleY(${p})`}};return{springs:Array.from({length:a},(h,p)=>({spring:i,offset:.2,css:{get element(){return e==null?void 0:e.blinds[p]},style:y}})),schedule:"stagger",prepare:h=>{f.prepareOutgoing(h),h.style.zIndex="1000",e=c(h,"hidden","left")},onStart:()=>{},onEnd:()=>{o&&o()}}},in:()=>{let e=null;const y=h=>{const p=1-h;return{transform:s==="horizontal"?`scaleX(${p})`:`scaleY(${p})`}};return{springs:Array.from({length:a},(h,p)=>({spring:n,offset:.2,css:{get element(){return e==null?void 0:e.blinds[p]},style:y}})),schedule:"stagger",prepare:h=>{h.style.position="relative",h.style.zIndex="0",e=c(h,"closed","right")},onStart:()=>{},wait:async()=>{r&&await r,await v(d)},onEnd:()=>{e&&e.container&&e.container.remove()}}}}},J={stiffness:125,damping:20,doubleSpring:.8},Q={stiffness:130,damping:20,doubleSpring:.8},R=(t={})=>{var s,l,r;const{opacity:n=!1,direction:i="enter"}=t,d=i==="enter"?J:Q,a={stiffness:((s=t.spring)==null?void 0:s.stiffness)??d.stiffness,damping:((l=t.spring)==null?void 0:l.damping)??d.damping,doubleSpring:((r=t.spring)==null?void 0:r.doubleSpring)??d.doubleSpring};return i==="enter"?{in:o=>({spring:a,prepare:()=>{o.style.willChange=n?"transform, opacity":"transform",o.style.backfaceVisibility="hidden",o.style.contain="layout paint"},css:c=>{const e={transform:`translate3d(${(1-c)*100}%, 0, 0)`};return n&&(e.opacity=c),e},onEnd:()=>{o.style.willChange="auto",o.style.backfaceVisibility="",o.style.contain=""}}),out:(o,c)=>({spring:a,prepare:e=>{f.prepareOutgoing(e,c),e.style.zIndex="-1",e.style.willChange=n?"transform, opacity":"transform",e.style.backfaceVisibility="hidden",e.style.contain="layout paint",e.style.pointerEvents="none"},css:e=>{const y={transform:`translate3d(${-(1-e)*20}%, 0, 0)`};return n&&(y.opacity=e),y}})}:{in:o=>({spring:a,prepare:()=>{o.style.willChange=n?"transform, opacity":"transform",o.style.backfaceVisibility="hidden",o.style.contain="layout paint"},css:c=>{const e={transform:`translate3d(${-(1-c)*20}%, 0, 0)`};return n&&(e.opacity=c),e},onEnd:()=>{o.style.willChange="auto",o.style.backfaceVisibility="",o.style.contain=""}}),out:(o,c)=>({spring:a,prepare:e=>{f.prepareOutgoing(e,c),e.style.zIndex="100",e.style.willChange=n?"transform, opacity":"transform",e.style.backfaceVisibility="hidden",e.style.contain="layout paint",e.style.pointerEvents="none"},css:e=>{const y={transform:`translate3d(${(1-e)*100}%, 0, 0)`};return n&&(y.opacity=e),y}})}},tt={stiffness:180,damping:20,doubleSpring:!0},nt={stiffness:170,damping:20,doubleSpring:!0},et=0,it=(t={})=>{const{inSpring:n=nt,outSpring:i=tt,transitionDelay:d=et}=t;let{promise:a,resolve:s}=L();return{in:l=>({spring:n,prepare:()=>{l.style.opacity="0",l.style.willChange="opacity"},wait:async()=>{if(a){await a;const r=L();a=r.promise,s=r.resolve,await v(d)}},css:r=>({opacity:r}),onEnd:()=>{l.style.willChange="auto",l.style.opacity="1"}}),out:(l,r)=>({spring:i,css:o=>({opacity:o}),prepare:()=>{f.prepareOutgoing(l,r),l.style.willChange="opacity"},onEnd:()=>{s&&s(),l.style.willChange="auto"}})}},st={scaleDown:{stiffness:20,damping:7},translate:{stiffness:15,damping:7},scaleUp:{stiffness:20,damping:7}},x={scaleDown:0,translate:.2,scaleUp:.8},rt=.8,at="white",lt=t=>{var a;const n=st,i=rt,d=((a=t==null?void 0:t.border)==null?void 0:a.color)??at;return{out:async(s,l)=>{const r=T(l),o=f.getRect(document.body,l.positionedParent),c=ct(d,{...r,top:o.top}),e={scale:1,translateY:-r.top},y=()=>{s.style.transform=`translateY(${e.translateY}px) scale(${e.scale})`;const g=(r.width-r.width*e.scale)/2,h=(r.height-r.height*e.scale)/2;ot(c,g,h)};return{springs:[{spring:n.scaleDown,offset:x.scaleDown,tick:g=>{const h=1-g;e.scale=1-(1-i)*h,y()}},{spring:n.translate,offset:x.translate,tick:g=>{const h=1-g;e.translateY=-r.top-r.height*h,y()}},{spring:n.scaleUp,offset:x.scaleUp,tick:g=>{const h=1-g;e.scale=i+(1-i)*h,y()}}],schedule:"stagger",prepare:()=>{f.prepareOutgoing(s),O(s,r),k(s,r),dt(s,r);for(const g of c)l.positionedParent.appendChild(g)},onEnd:()=>{s.style.clipPath="",s.style.transformOrigin="",setTimeout(()=>{for(const g of c)l.positionedParent.removeChild(g)},1e3)}}},in:async(s,l)=>{const r=T(l),o={scale:i,translateY:-r.top+r.height},c=()=>{s.style.transform=`translateY(${o.translateY}px) scale(${o.scale})`};return{springs:[{spring:n.scaleDown,offset:x.scaleDown,tick:e=>{o.scale=1-(1-i)*e,c()}},{spring:n.translate,offset:x.translate,tick:e=>{o.translateY=-r.top+r.height*(1-e),c()}},{spring:n.scaleUp,offset:x.scaleUp,tick:e=>{o.scale=i+(1-i)*e,c()}}],schedule:"stagger",prepare:()=>{O(s,r),k(s,r),s.style.transform=`translateY(${-r.top+r.height}px) scale(${i})`},onEnd:()=>{s.style.clipPath="",s.style.transformOrigin="",s.style.transform=""}}}}};function ot(t,n,i){const d=n*.7,a=i*.7;t.topLeft.style.transform=`translate(${d}px, ${a}px)`,t.topRight.style.transform=`translate(${-d}px, ${a}px)`,t.bottomLeft.style.transform=`translate(${d}px, ${-a}px)`,t.bottomRight.style.transform=`translate(${-d}px, ${-a}px)`}function ct(t="white",n){const a=document.createElement("div");a.style.position="fixed",a.style.pointerEvents="none",a.style.zIndex="9999",a.style.top=`${n.top-1}px`,a.style.left=`${n.left-1}px`,a.style.width="15px",a.style.height="15px";const s=document.createElement("div");s.style.position="absolute",s.style.width="15px",s.style.height="1px",s.style.backgroundColor=t,s.style.top="0",s.style.left="0";const l=document.createElement("div");l.style.position="absolute",l.style.width="1px",l.style.height="15px",l.style.backgroundColor=t,l.style.top="0",l.style.left="0",a.appendChild(s),a.appendChild(l);const r=document.createElement("div");r.style.position="fixed",r.style.pointerEvents="none",r.style.zIndex="9999",r.style.top=`${n.top-1}px`,r.style.left=`${n.left+n.width-15+1}px`,r.style.width="15px",r.style.height="15px";const o=document.createElement("div");o.style.position="absolute",o.style.width="15px",o.style.height="1px",o.style.backgroundColor=t,o.style.top="0",o.style.right="0";const c=document.createElement("div");c.style.position="absolute",c.style.width="1px",c.style.height="15px",c.style.backgroundColor=t,c.style.top="0",c.style.right="0",r.appendChild(o),r.appendChild(c);const e=document.createElement("div");e.style.position="fixed",e.style.pointerEvents="none",e.style.zIndex="9999",e.style.top=`${n.top+n.height-15+1}px`,e.style.left=`${n.left-1}px`,e.style.width="15px",e.style.height="15px";const y=document.createElement("div");y.style.position="absolute",y.style.width="15px",y.style.height="1px",y.style.backgroundColor=t,y.style.bottom="0",y.style.left="0";const g=document.createElement("div");g.style.position="absolute",g.style.width="1px",g.style.height="15px",g.style.backgroundColor=t,g.style.bottom="0",g.style.left="0",e.appendChild(y),e.appendChild(g);const h=document.createElement("div");h.style.position="fixed",h.style.pointerEvents="none",h.style.zIndex="9999",h.style.top=`${n.top+n.height-15+1}px`,h.style.left=`${n.left+n.width-15+1}px`,h.style.width="15px",h.style.height="15px";const p=document.createElement("div");p.style.position="absolute",p.style.width="15px",p.style.height="1px",p.style.backgroundColor=t,p.style.bottom="0",p.style.right="0";const u=document.createElement("div");return u.style.position="absolute",u.style.width="1px",u.style.height="15px",u.style.backgroundColor=t,u.style.bottom="0",u.style.right="0",h.appendChild(p),h.appendChild(u),{topLeft:a,topRight:r,bottomLeft:e,bottomRight:h,*[Symbol.iterator](){yield a,yield r,yield e,yield h}}}function T(t){const n=f.getRect(document.body,t.positionedParent);return{top:t.scroll.y,left:0,width:n.width,height:window.innerHeight-n.top}}function O(t,n){const i=n.left+n.width/2,d=n.top+n.height/2;t.style.transformOrigin=`${i}px ${d}px`}function k(t,n){t.style.clipPath=`polygon(
31
31
  ${n.left}px ${n.top}px,
32
32
  ${n.left+n.width}px ${n.top}px,
33
33
  ${n.left+n.width}px ${n.top+n.height}px,
34
34
  ${n.left}px ${n.top+n.height}px
35
- )`}function dt(t,n){t.style.transform=`translateY(${-n.top}px)`}function pt(t,n){return t.querySelector(`[data-hero-key="${n}"]`)}const ht=(t={})=>{var o,i;const n={stiffness:((o=t.spring)==null?void 0:o.stiffness)??300,damping:((i=t.spring)==null?void 0:i.damping)??30},s=t.timeout??300,d=t.maxDistance??700;let a=null,r=null;return{in:async(c,l)=>{const e=c,h=Array.from(e.querySelectorAll("[data-hero-key]"));if(h.length===0)return{spring:n,tick:()=>{}};if(!await new Promise(g=>{a?g(!0):(r=g,setTimeout(()=>{r=null,g(!1)},s))})||!a)return a=null,{spring:n,tick:()=>{}};const p=h.map(g=>{const u=g.getAttribute("data-hero-key");if(!u)return null;const w=pt(a,u);if(!w)return null;const $=g,x=f.getRect(a,w),m=f.getRect(e,$),F=x.left-m.left-l.scrollOffset.x,Y=x.top-m.top-l.scrollOffset.y,U=x.width/m.width,V=x.height/m.height,W=$.style.transform,z=$.style.position,X=$.style.transformOrigin,M=$.style.zIndex,B=$.style.willChange;return{toEl:$,dx:F,dy:Y,dw:U,dh:V,originalTransform:W,originalPosition:z,originalTransformOrigin:X,originalZIndex:M,originalWillChange:B}}).filter(g=>g!==null&&Math.abs(g.dy)<=d);return a=null,p.length===0?{spring:n,tick:()=>{}}:{springs:p.map(({toEl:g,dx:u,dy:w,dw:$,dh:x})=>({spring:n,tick:m=>{g.style.transform=`translate(${(1-m)*u}px, ${(1-m)*w}px) scale(${m+(1-m)*$}, ${m+(1-m)*x})`}})),schedule:"parallel",prepare:()=>{p.forEach(({toEl:g})=>{g.style.position="relative",g.style.transformOrigin="top left",g.style.zIndex="1000",g.style.willChange="transform"})},onEnd:()=>{p.forEach(({toEl:g,originalTransform:u,originalPosition:w,originalTransformOrigin:$,originalZIndex:x,originalWillChange:m})=>{g.style.transform=u,g.style.position=w,g.style.transformOrigin=$,g.style.zIndex=x,g.style.willChange=m})}}},out:async c=>({spring:n,onStart:()=>{a=c,r&&(r(!0),r=null)},tick:()=>{},prepare:l=>{f.prepareOutgoing(l),l.style.opacity="0"}})}};function yt({detailRect:t,galleryRect:n,pageRect:s,scrollOffset:d}){const a=n.left-t.left+(n.width-t.width)/2-d.x,r=n.top-t.top+(n.height-t.height)/2-d.y,o=n.width/t.width,i=n.height/t.height,c=Math.max(o,i),l=t.top/s.height*100,e=(s.width-(t.left+t.width))/s.width*100,h=(s.height-(t.top+t.height))/s.height*100,y=t.left/s.width*100;return{transformOrigin:`${t.left+t.width/2}px ${t.top+t.height/2}px`,animate:g=>{const u=1-g;return{clipPath:`inset(${l*u}% ${e*u}% ${h*u}% ${y*u}%)`,transform:`translate(${a*u}px, ${r*u}px) scale(${1+(c-1)*u})`}}}}function gt({detailRect:t,galleryRect:n,pageRect:s,scrollOffset:d}){const a=n.left-t.left+(n.width-t.width)/2+d.x,r=n.top-t.top+(n.height-t.height)/2+d.y,o=n.width/t.width,i=n.height/t.height,c=Math.min(o,i),l=t.top/s.height*100,e=(s.width-(t.left+t.width))/s.width*100,h=(s.height-(t.top+t.height))/s.height*100,y=t.left/s.width*100;return{transformOrigin:`${t.left+t.width/2}px ${t.top+t.height/2}px`,animate:g=>{const u=1-g;return{clipPath:`inset(${l*u}% ${e*u}% ${h*u}% ${y*u}%)`,transform:`translate(${a*u-d.x}px, ${r*u-d.y}px) scale(${1+(c-1)*u})`}}}}function ut(t,n,s){const d=t.querySelector("[data-instagram-detail-key]"),a=n.querySelector("[data-instagram-detail-key]");if(t.querySelectorAll("[data-instagram-detail-key]").length>1||n.querySelectorAll("[data-instagram-detail-key]").length>1)return null;let r=null,o=null,i=!1;if(!d&&a){o=a;const e=o.getAttribute("data-instagram-detail-key");if(!e)return null;r=t.querySelector(`[data-instagram-gallery-key="${e}"]`),r&&(i=!0)}else if(d&&!a){o=d;const e=o.getAttribute("data-instagram-detail-key");if(!e)return null;r=n.querySelector(`[data-instagram-gallery-key="${e}"]`),r&&(i=!1)}if(!r||!o)return null;const c=f.getRect(i?t:n,r),l=f.getRect(i?n:t,o);if(i){const e=yt({detailRect:l,galleryRect:c,pageRect:n.getBoundingClientRect(),scrollOffset:s});return n.style.transformOrigin=e.transformOrigin,{isEnterMode:!0,inAnimation:e.animate}}else{const e=gt({detailRect:l,galleryRect:c,pageRect:t.getBoundingClientRect(),scrollOffset:s});return t.style.transformOrigin=e.transformOrigin,{isEnterMode:!1,outAnimation:e.animate}}}const ft=(t={})=>{var i,c;const n={stiffness:((i=t.spring)==null?void 0:i.stiffness)??150,damping:((c=t.spring)==null?void 0:c.damping)??20},s=t.timeout??300;let d=null,a=null,r=null,o=null;return{in:async(l,{scrollOffset:e})=>{const h=l;return!await new Promise(p=>{d?p(!0):(a=p,setTimeout(()=>{a=null,p(!1)},s))})||!d?(o==null||o(),o=null,d=null,{spring:n,css:()=>({})}):(r=ut(d,h,e),o==null||o(),o=null,r?(d=null,{spring:n,css:p=>r!=null&&r.inAnimation?r.inAnimation(p):{}}):(d=null,{spring:n,css:()=>({})}))},out:async(l,e)=>{const h=new Promise(y=>{o=y});return{spring:n,prepare:y=>{r!=null&&r.isEnterMode?f.prepareOutgoing(y):(f.prepareOutgoing(y,e),y.style.zIndex="-1")},wait:async()=>{d=l,a&&(a(!0),a=null),await h},css:y=>r!=null&&r.outAnimation?r.outAnimation(y):{}}}}};function $t({detailRect:t,galleryRect:n,pageRect:s,scrollOffset:d}){const a=n.left-t.left+(n.width-t.width)/2-d.x,r=n.top-t.top+(n.height-t.height)/2-d.y,o=n.width/t.width,i=n.height/t.height,c=Math.max(o,i),l=t.top/s.height*100,e=(s.width-(t.left+t.width))/s.width*100,h=(s.height-(t.top+t.height))/s.height*100,y=t.left/s.width*100;return{transformOrigin:`${t.left+t.width/2}px ${t.top+t.height/2}px`,animate:g=>{const u=1-g;return{clipPath:`inset(${l*u}% ${e*u}% ${h*u}% ${y*u}%)`,transform:`translate(${a*u}px, ${r*u}px) scale(${1+(c-1)*u})`}}}}function mt({galleryRect:t,detailRect:n,scrollOffset:s}){const d=n.left-t.left+(n.width-t.width)/2+s.x,a=n.top-t.top+(n.height-t.height)/2+s.y,r=n.width/t.width,o=n.height/t.height,i=Math.max(r,o);return{transformOrigin:`${t.left+t.width/2}px ${t.top+t.height/2}px`,animate:l=>{const e=1-l;return{transform:`translate(${d*e-s.x}px, ${a*e-s.y}px) scale(${1+(i-1)*e})`,opacity:`${1-e}`}}}}function wt({galleryRect:t,detailRect:n,scrollOffset:s}){const d=n.left-t.left+(n.width-t.width)/2-s.x,a=n.top-t.top+(n.height-t.height)/2-s.y,r=n.width/t.width,o=n.height/t.height,i=Math.max(r,o);return{transformOrigin:`${t.left+t.width/2}px ${t.top+t.height/2}px`,animate:l=>{const e=1-l,h=l;return{transform:`translate(${d*e}px, ${a*e}px) scale(${1+(i-1)*e})`,opacity:`${h}`}}}}function xt({detailRect:t,galleryRect:n,pageRect:s,scrollOffset:d}){const a=n.left-t.left+(n.width-t.width)/2+d.x,r=n.top-t.top+(n.height-t.height)/2+d.y,o=n.width/t.width,i=n.height/t.height,c=Math.min(o,i),l=t.top/s.height*100,e=(s.width-(t.left+t.width))/s.width*100,h=(s.height-(t.top+t.height))/s.height*100,y=t.left/s.width*100;return{transformOrigin:`${t.left+t.width/2}px ${t.top+t.height/2}px`,animate:g=>{const u=1-g;return{clipPath:`inset(${l*u}% ${e*u}% ${h*u}% ${y*u}%)`,transform:`translate(${a*u-d.x}px, ${r*u-d.y}px) scale(${1+(c-1)*u})`}}}}function bt(t,n,s){const d=t.querySelector("[data-pinterest-detail-key]"),a=n.querySelector("[data-pinterest-detail-key]");if(t.querySelectorAll("[data-pinterest-detail-key]").length>1||n.querySelectorAll("[data-pinterest-detail-key]").length>1)return null;let r=null,o=null,i=!1;if(!d&&a){o=a;const e=o.getAttribute("data-pinterest-detail-key");if(!e)return null;r=t.querySelector(`[data-pinterest-gallery-key="${e}"]`),r&&(i=!0)}else if(d&&!a){o=d;const e=o.getAttribute("data-pinterest-detail-key");if(!e)return null;r=n.querySelector(`[data-pinterest-gallery-key="${e}"]`),r&&(i=!1)}if(!r||!o)return null;const c=f.getRect(i?t:n,r),l=f.getRect(i?n:t,o);if(i){const e=$t({detailRect:l,galleryRect:c,pageRect:n.getBoundingClientRect(),scrollOffset:s}),h=mt({galleryRect:c,detailRect:l,scrollOffset:s});return n.style.transformOrigin=e.transformOrigin,t.style.transformOrigin=h.transformOrigin,{inAnimation:e.animate,outAnimation:h.animate}}else{const e=wt({galleryRect:c,detailRect:l,scrollOffset:s}),h=xt({detailRect:l,galleryRect:c,pageRect:t.getBoundingClientRect(),scrollOffset:s});return n.style.transformOrigin=e.transformOrigin,t.style.transformOrigin=h.transformOrigin,{inAnimation:e.animate,outAnimation:h.animate}}}const Et=(t={})=>{var i,c;const n={stiffness:((i=t.spring)==null?void 0:i.stiffness)??30,damping:((c=t.spring)==null?void 0:c.damping)??10},s=t.timeout??300;let d=null,a=null,r=null,o=null;return{in:async(l,{scrollOffset:e})=>{const h=l;return!await new Promise(p=>{d?p(!0):(a=p,setTimeout(()=>{a=null,p(!1)},s))})||!d?(o==null||o(),o=null,d=null,{spring:n,css:()=>({})}):(r=bt(d,h,e),o==null||o(),o=null,r?(d=null,{spring:n,css:p=>r?r.inAnimation(p):{}}):(d=null,{spring:n,css:()=>({})}))},out:async l=>{const e=new Promise(h=>{o=h});return{spring:n,prepare:h=>{f.prepareOutgoing(h),h.style.zIndex="-1"},wait:async()=>{d=l,a&&(a(!0),a=null),await e},css:h=>r?r.outAnimation(h):{}}}}},S={stiffness:100,damping:30},Ct=()=>({in:t=>({spring:S,prepare:()=>{t.style.opacity="0",t.style.transform="rotate(-180deg)",t.style.transformOrigin="center center",t.style.willChange="transform, opacity"},css:n=>({transform:`rotate(${(n-1)*180}deg)`,opacity:n>.5?1:0}),onEnd:()=>{t.style.willChange="auto",t.style.transform="",t.style.transformOrigin="",t.style.opacity=""}}),out:(t,n)=>({spring:S,prepare:()=>{f.prepareOutgoing(t,n),t.style.transformOrigin="center center",t.style.willChange="transform, opacity"},css:s=>({transform:`rotate(${(1-s)*180}deg)`,opacity:s>.5?1:0}),onEnd:()=>{t.style.willChange="auto"}})}),_={stiffness:5,damping:4},At=(t={})=>{var c,l;const n=t.direction??"up",s={stiffness:((c=t.spring)==null?void 0:c.stiffness)??_.stiffness,damping:((l=t.spring)==null?void 0:l.damping)??_.damping},d=n==="up";let a=null,r=null,o=null;const i=()=>{if(a===null||r===null)return null;const e=Math.min(a,r),h=window.innerHeight;return Math.max(e,h)};return{in:e=>(r=e.offsetHeight,a!==null&&(o=i()),{spring:s,prepare:()=>{e.style.willChange="transform",e.style.backfaceVisibility="hidden",e.style.contain="layout paint"},tick:h=>{o===null&&(o=i());const y=o??window.innerHeight,p=d?(1-h)*y:(1-h)*-y;e.style.transform=`translate3d(0, ${p}px, 0)`},onEnd:()=>{e.style.willChange="auto",e.style.backfaceVisibility="",e.style.contain=""}}),out:(e,h)=>({spring:s,onStart:()=>{a=e.offsetHeight,r!==null&&(o=i())},tick:y=>{o===null&&(o=i());const p=o??window.innerHeight,g=d?(1-y)*-p:(1-y)*p;e.style.transform=`translate3d(0, ${g}px, 0)`},prepare:y=>{f.prepareOutgoing(y,h),y.style.zIndex=d?"-1":"1",y.style.willChange="transform",y.style.backfaceVisibility="hidden",y.style.contain="layout paint",y.style.pointerEvents="none"}})}},I={stiffness:15,damping:7},Lt=(t={})=>{var a,r;const n=t.direction??"left",s={stiffness:((a=t.spring)==null?void 0:a.stiffness)??I.stiffness,damping:((r=t.spring)==null?void 0:r.damping)??I.damping},d=n==="left";return{in:o=>({spring:s,prepare:()=>{o.style.willChange="transform",o.style.backfaceVisibility="hidden",o.style.contain="layout paint"},css:i=>({transform:`translate3d(${d?(1-i)*100:(1-i)*-100}%, 0, 0)`}),onEnd:()=>{o.style.willChange="auto",o.style.backfaceVisibility="",o.style.contain=""}}),out:(o,i)=>({spring:s,css:c=>({transform:`translate3d(${d?(1-c)*-100:(1-c)*100}%, 0, 0)`}),prepare:c=>{f.prepareOutgoing(c,i),c.style.willChange="transform",c.style.backfaceVisibility="hidden",c.style.contain="layout paint",c.style.pointerEvents="none"}})}},D={stiffness:17,damping:6},A=20,E=800,Tt=()=>{let t,n=null;return{in:s=>({spring:D,prepare:()=>{s.style.willChange="transform",s.style.backfaceVisibility="hidden",s.style.contain="layout paint",s.style.transform=`perspective(${E}px) rotateY(${A}deg) translate3d(-100%, 0, 0)`},wait:async()=>{t&&await t},css:d=>{const a=(1-d)*A,r=-(1-d)*100;return{transform:`perspective(${E}px) rotateY(${a}deg) translate3d(${r}%, 0, 0)`}},onEnd:()=>{s.style.transform="",s.style.willChange="auto",s.style.backfaceVisibility="",s.style.contain=""}}),out:(s,d)=>(t=new Promise(a=>{n=a}),{spring:D,prepare:a=>{f.prepareOutgoing(a,d),a.style.willChange="transform",a.style.backfaceVisibility="hidden",a.style.contain="layout paint",a.style.pointerEvents="none",a.style.transform=`perspective(${E}px) rotateY(0deg) translate3d(0%, 0, 0)`},css:a=>{const r=1-a,o=r*A,i=r*100;return{transform:`perspective(${E}px) rotateY(${-o}deg) translate3d(${i}%, 0, 0)`}},onEnd:()=>{n&&n(),s.style.transform=""}})}},Ot={stiffness:1,damping:1},kt={stiffness:20,damping:25},St="#000000",_t="circle",P="CURTAIN_REVEAL_OVERLAY_ID",It={position:"fixed",inset:"0",width:"100vw",height:"100%",zIndex:"9999",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden"},Dt={position:"relative",display:"inline-block",height:"5.5rem",overflow:"hidden"},Pt={display:"flex",height:"100%",willChange:"transform",transition:"transform 0.3s ease"},vt={display:"inline-flex",alignItems:"center",justifyContent:"center",whiteSpace:"nowrap",fontSize:"5.5rem",fontWeight:"900",letterSpacing:"0.02em",color:"#FFFFFF"},Ft=.4,C=.5,Yt=.2;function Ut(t,n){switch(t){case"circle":return`circle(${n*100}% at 50% 50%)`;case"square":return`inset(${(1-n)*50}% round ${10*n}%)`;case"triangle":{const s=n*100;return`polygon(50% ${50-s}%, ${50-s}% ${50+s}%, ${50+s}% ${50+s}%)`}}}const Vt=t=>t.reduce((n,s)=>n+s,0),Wt=(t={})=>{const{background:n=St,texts:s=[],shape:d=_t,inSpring:a=kt,outSpring:r=Ot,textStyle:o={}}=t;return{out:(i,c)=>{const l=i.style.opacity;return{spring:r,from:1,to:0,prepare:e=>{f.prepareOutgoing(e,c),e.style.opacity="1"},tick:e=>{const h=Math.max(0,e-Ft);i.style.opacity=String(h)},onEnd:()=>{i.style.opacity=l}}},in:i=>{let c=null,l=null,e=null;const h=document.body.style.overflow,y=document.getElementById(P);let p=[];const g=()=>{c=document.createElement("div"),c.id=P,Object.assign(c.style,It,{background:n}),document.body.appendChild(c),l=document.createElement("div"),Object.assign(l.style,Dt),c.appendChild(l),e=document.createElement("div"),Object.assign(e.style,Pt),l.appendChild(e),s.forEach(u=>{const w=document.createElement("div");w.textContent=u,Object.assign(w.style,vt,o),e.appendChild(w)}),p=Array.from(e.children).map(u=>u.getBoundingClientRect().width)};return{spring:a,from:0,to:1,prepare:()=>{document.body.style.overflow="hidden",i.style.opacity="1",y==null||y.remove(),g(),c&&l&&(c.style.clipPath="none",l.style.transform="scale(1)")},tick:u=>{if(!(!c||!l||!e)){if(u<=C&&s.length>0){const w=u/C,$=Math.min(Math.floor(w*s.length),s.length-1),x=p[$]??0,m=Vt(p.slice(0,$));l.style.width=`${x}px`,e.style.transform=`translateX(-${m}px)`}if(u>C){const $=1-Math.max(0,Math.min(1,(u-C)/Yt));c.style.clipPath=Ut(d,$),l.style.transform=`scale(${$})`}}},onEnd:()=>{c==null||c.remove(),c=l=e=null,document.body.style.overflow=h}}}}};exports.jaemin=f.jaemin;exports.blind=Z;exports.curtainReveal=Wt;exports.drill=R;exports.fade=it;exports.film=ot;exports.hero=ht;exports.instagram=ft;exports.pinterest=Et;exports.rotate=Ct;exports.scroll=At;exports.slide=Lt;exports.strip=Tt;
35
+ )`}function dt(t,n){t.style.transform=`translateY(${-n.top}px)`}function pt(t,n){return t.querySelector(`[data-hero-key="${n}"]`)}const ht=(t={})=>{var l,r;const n={stiffness:((l=t.spring)==null?void 0:l.stiffness)??300,damping:((r=t.spring)==null?void 0:r.damping)??30},i=t.timeout??300,d=t.maxDistance??700;let a=null,s=null;return{in:async(o,c)=>{const e=o,y=Array.from(e.querySelectorAll("[data-hero-key]"));if(y.length===0)return{spring:n,tick:()=>{}};if(!await new Promise(p=>{a?p(!0):(s=p,setTimeout(()=>{s=null,p(!1)},i))})||!a)return a=null,{spring:n,tick:()=>{}};const h=y.map(p=>{const u=p.getAttribute("data-hero-key");if(!u)return null;const w=pt(a,u);if(!w)return null;const $=p,b=f.getRect(a,w),m=f.getRect(e,$),F=b.left-m.left-c.scrollOffset.x,Y=b.top-m.top-c.scrollOffset.y,U=b.width/m.width,V=b.height/m.height,W=$.style.transform,z=$.style.position,X=$.style.transformOrigin,M=$.style.zIndex,B=$.style.willChange;return{toEl:$,dx:F,dy:Y,dw:U,dh:V,originalTransform:W,originalPosition:z,originalTransformOrigin:X,originalZIndex:M,originalWillChange:B}}).filter(p=>p!==null&&Math.abs(p.dy)<=d);return a=null,h.length===0?{spring:n,tick:()=>{}}:{springs:h.map(({toEl:p,dx:u,dy:w,dw:$,dh:b})=>({spring:n,tick:m=>{p.style.transform=`translate(${(1-m)*u}px, ${(1-m)*w}px) scale(${m+(1-m)*$}, ${m+(1-m)*b})`}})),schedule:"parallel",prepare:()=>{h.forEach(({toEl:p})=>{p.style.position="relative",p.style.transformOrigin="top left",p.style.zIndex="1000",p.style.willChange="transform"})},onEnd:()=>{h.forEach(({toEl:p,originalTransform:u,originalPosition:w,originalTransformOrigin:$,originalZIndex:b,originalWillChange:m})=>{p.style.transform=u,p.style.position=w,p.style.transformOrigin=$,p.style.zIndex=b,p.style.willChange=m})}}},out:async o=>({spring:n,onStart:()=>{a=o,s&&(s(!0),s=null)},tick:()=>{},prepare:c=>{f.prepareOutgoing(c),c.style.opacity="0"}})}};function gt({detailRect:t,galleryRect:n,pageRect:i,scrollOffset:d}){const a=n.left-t.left+(n.width-t.width)/2-d.x,s=n.top-t.top+(n.height-t.height)/2-d.y,l=n.width/t.width,r=n.height/t.height,o=Math.max(l,r),c=t.top/i.height*100,e=(i.width-(t.left+t.width))/i.width*100,y=(i.height-(t.top+t.height))/i.height*100,g=t.left/i.width*100;return{transformOrigin:`${t.left+t.width/2}px ${t.top+t.height/2}px`,animate:p=>{const u=1-p;return{clipPath:`inset(${c*u}% ${e*u}% ${y*u}% ${g*u}%)`,transform:`translate(${a*u}px, ${s*u}px) scale(${1+(o-1)*u})`}}}}function yt({detailRect:t,galleryRect:n,pageRect:i,scrollOffset:d}){const a=n.left-t.left+(n.width-t.width)/2+d.x,s=n.top-t.top+(n.height-t.height)/2+d.y,l=n.width/t.width,r=n.height/t.height,o=Math.min(l,r),c=t.top/i.height*100,e=(i.width-(t.left+t.width))/i.width*100,y=(i.height-(t.top+t.height))/i.height*100,g=t.left/i.width*100;return{transformOrigin:`${t.left+t.width/2}px ${t.top+t.height/2}px`,animate:p=>{const u=1-p;return{clipPath:`inset(${c*u}% ${e*u}% ${y*u}% ${g*u}%)`,transform:`translate(${a*u-d.x}px, ${s*u-d.y}px) scale(${1+(o-1)*u})`}}}}function ut(t,n,i){const d=t.querySelector("[data-instagram-detail-key]"),a=n.querySelector("[data-instagram-detail-key]");if(t.querySelectorAll("[data-instagram-detail-key]").length>1||n.querySelectorAll("[data-instagram-detail-key]").length>1)return null;let s=null,l=null,r=!1;if(!d&&a){l=a;const e=l.getAttribute("data-instagram-detail-key");if(!e)return null;s=t.querySelector(`[data-instagram-gallery-key="${e}"]`),s&&(r=!0)}else if(d&&!a){l=d;const e=l.getAttribute("data-instagram-detail-key");if(!e)return null;s=n.querySelector(`[data-instagram-gallery-key="${e}"]`),s&&(r=!1)}if(!s||!l)return null;const o=f.getRect(r?t:n,s),c=f.getRect(r?n:t,l);if(r){const e=gt({detailRect:c,galleryRect:o,pageRect:n.getBoundingClientRect(),scrollOffset:i});return n.style.transformOrigin=e.transformOrigin,{isEnterMode:!0,inAnimation:e.animate}}else{const e=yt({detailRect:c,galleryRect:o,pageRect:t.getBoundingClientRect(),scrollOffset:i});return t.style.transformOrigin=e.transformOrigin,{isEnterMode:!1,outAnimation:e.animate}}}const ft=(t={})=>{var r,o,c;const n={stiffness:((r=t.spring)==null?void 0:r.stiffness)??150,damping:((o=t.spring)==null?void 0:o.damping)??20,doubleSpring:((c=t.spring)==null?void 0:c.doubleSpring)??!0},i=t.timeout??300;let d=null,a=null,s=null,l=null;return{in:async(e,{scrollOffset:y})=>{const g=e;return!await new Promise(p=>{d?p(!0):(a=p,setTimeout(()=>{a=null,p(!1)},i))})||!d?(l==null||l(),l=null,d=null,{spring:n,css:()=>({})}):(s=ut(d,g,y),l==null||l(),l=null,s?(d=null,{spring:n,css:p=>s!=null&&s.inAnimation?s.inAnimation(p):{}}):(d=null,{spring:n,css:()=>({})}))},out:async(e,y)=>{const g=new Promise(h=>{l=h});return{spring:n,prepare:h=>{s!=null&&s.isEnterMode?f.prepareOutgoing(h):(f.prepareOutgoing(h,y),h.style.zIndex="-1")},wait:async()=>{d=e,a&&(a(!0),a=null),await g},css:h=>s!=null&&s.outAnimation?s.outAnimation(h):{}}}}};function $t({detailRect:t,galleryRect:n,pageRect:i,scrollOffset:d}){const a=n.left-t.left+(n.width-t.width)/2-d.x,s=n.top-t.top+(n.height-t.height)/2-d.y,l=n.width/t.width,r=n.height/t.height,o=Math.max(l,r),c=t.top/i.height*100,e=(i.width-(t.left+t.width))/i.width*100,y=(i.height-(t.top+t.height))/i.height*100,g=t.left/i.width*100;return{transformOrigin:`${t.left+t.width/2}px ${t.top+t.height/2}px`,animate:p=>{const u=1-p;return{clipPath:`inset(${c*u}% ${e*u}% ${y*u}% ${g*u}%)`,transform:`translate(${a*u}px, ${s*u}px) scale(${1+(o-1)*u})`}}}}function mt({galleryRect:t,detailRect:n,scrollOffset:i}){const d=n.left-t.left+(n.width-t.width)/2+i.x,a=n.top-t.top+(n.height-t.height)/2+i.y,s=n.width/t.width,l=n.height/t.height,r=Math.max(s,l);return{transformOrigin:`${t.left+t.width/2}px ${t.top+t.height/2}px`,animate:c=>{const e=1-c;return{transform:`translate(${d*e-i.x}px, ${a*e-i.y}px) scale(${1+(r-1)*e})`,opacity:`${1-e}`}}}}function wt({galleryRect:t,detailRect:n,scrollOffset:i}){const d=n.left-t.left+(n.width-t.width)/2-i.x,a=n.top-t.top+(n.height-t.height)/2-i.y,s=n.width/t.width,l=n.height/t.height,r=Math.max(s,l);return{transformOrigin:`${t.left+t.width/2}px ${t.top+t.height/2}px`,animate:c=>{const e=1-c,y=c;return{transform:`translate(${d*e}px, ${a*e}px) scale(${1+(r-1)*e})`,opacity:`${y}`}}}}function bt({detailRect:t,galleryRect:n,pageRect:i,scrollOffset:d}){const a=n.left-t.left+(n.width-t.width)/2+d.x,s=n.top-t.top+(n.height-t.height)/2+d.y,l=n.width/t.width,r=n.height/t.height,o=Math.min(l,r),c=t.top/i.height*100,e=(i.width-(t.left+t.width))/i.width*100,y=(i.height-(t.top+t.height))/i.height*100,g=t.left/i.width*100;return{transformOrigin:`${t.left+t.width/2}px ${t.top+t.height/2}px`,animate:p=>{const u=1-p;return{clipPath:`inset(${c*u}% ${e*u}% ${y*u}% ${g*u}%)`,transform:`translate(${a*u-d.x}px, ${s*u-d.y}px) scale(${1+(o-1)*u})`}}}}function xt(t,n,i){const d=t.querySelector("[data-pinterest-detail-key]"),a=n.querySelector("[data-pinterest-detail-key]");if(t.querySelectorAll("[data-pinterest-detail-key]").length>1||n.querySelectorAll("[data-pinterest-detail-key]").length>1)return null;let s=null,l=null,r=!1;if(!d&&a){l=a;const e=l.getAttribute("data-pinterest-detail-key");if(!e)return null;s=t.querySelector(`[data-pinterest-gallery-key="${e}"]`),s&&(r=!0)}else if(d&&!a){l=d;const e=l.getAttribute("data-pinterest-detail-key");if(!e)return null;s=n.querySelector(`[data-pinterest-gallery-key="${e}"]`),s&&(r=!1)}if(!s||!l)return null;const o=f.getRect(r?t:n,s),c=f.getRect(r?n:t,l);if(r){const e=$t({detailRect:c,galleryRect:o,pageRect:n.getBoundingClientRect(),scrollOffset:i}),y=mt({galleryRect:o,detailRect:c,scrollOffset:i});return n.style.transformOrigin=e.transformOrigin,t.style.transformOrigin=y.transformOrigin,{inAnimation:e.animate,outAnimation:y.animate}}else{const e=wt({galleryRect:o,detailRect:c,scrollOffset:i}),y=bt({detailRect:c,galleryRect:o,pageRect:t.getBoundingClientRect(),scrollOffset:i});return n.style.transformOrigin=e.transformOrigin,t.style.transformOrigin=y.transformOrigin,{inAnimation:e.animate,outAnimation:y.animate}}}const Et=(t={})=>{var r,o,c;const n={stiffness:((r=t.spring)==null?void 0:r.stiffness)??30,damping:((o=t.spring)==null?void 0:o.damping)??10,doubleSpring:((c=t.spring)==null?void 0:c.doubleSpring)??!0},i=t.timeout??300;let d=null,a=null,s=null,l=null;return{in:async(e,{scrollOffset:y})=>{const g=e;return!await new Promise(p=>{d?p(!0):(a=p,setTimeout(()=>{a=null,p(!1)},i))})||!d?(l==null||l(),l=null,d=null,{spring:n,css:()=>({})}):(s=xt(d,g,y),l==null||l(),l=null,s?(d=null,{spring:n,css:p=>s?s.inAnimation(p):{}}):(d=null,{spring:n,css:()=>({})}))},out:async e=>{const y=new Promise(g=>{l=g});return{spring:n,prepare:g=>{f.prepareOutgoing(g),g.style.zIndex="-1"},wait:async()=>{d=e,a&&(a(!0),a=null),await y},css:g=>s?s.outAnimation(g):{}}}}},_={stiffness:100,damping:30},Ct=()=>({in:t=>({spring:_,prepare:()=>{t.style.opacity="0",t.style.transform="rotate(-180deg)",t.style.transformOrigin="center center",t.style.willChange="transform, opacity"},css:n=>({transform:`rotate(${(n-1)*180}deg)`,opacity:n>.5?1:0}),onEnd:()=>{t.style.willChange="auto",t.style.transform="",t.style.transformOrigin="",t.style.opacity=""}}),out:(t,n)=>({spring:_,prepare:()=>{f.prepareOutgoing(t,n),t.style.transformOrigin="center center",t.style.willChange="transform, opacity"},css:i=>({transform:`rotate(${(1-i)*180}deg)`,opacity:i>.5?1:0}),onEnd:()=>{t.style.willChange="auto"}})}),I={stiffness:5,damping:4},At=(t={})=>{var o,c;const n=t.direction??"up",i={stiffness:((o=t.spring)==null?void 0:o.stiffness)??I.stiffness,damping:((c=t.spring)==null?void 0:c.damping)??I.damping},d=n==="up";let a=null,s=null,l=null;const r=()=>{if(a===null||s===null)return null;const e=Math.min(a,s),y=window.innerHeight;return Math.max(e,y)};return{in:e=>(s=e.offsetHeight,a!==null&&(l=r()),{spring:i,prepare:()=>{e.style.willChange="transform",e.style.backfaceVisibility="hidden",e.style.contain="layout paint"},tick:y=>{l===null&&(l=r());const g=l??window.innerHeight,h=d?(1-y)*g:(1-y)*-g;e.style.transform=`translate3d(0, ${h}px, 0)`},onEnd:()=>{e.style.willChange="auto",e.style.backfaceVisibility="",e.style.contain=""}}),out:(e,y)=>({spring:i,onStart:()=>{a=e.offsetHeight,s!==null&&(l=r())},tick:g=>{l===null&&(l=r());const h=l??window.innerHeight,p=d?(1-g)*-h:(1-g)*h;e.style.transform=`translate3d(0, ${p}px, 0)`},prepare:g=>{f.prepareOutgoing(g,y),g.style.zIndex=d?"-1":"1",g.style.willChange="transform",g.style.backfaceVisibility="hidden",g.style.contain="layout paint",g.style.pointerEvents="none"}})}},A={stiffness:15,damping:7,doubleSpring:!0},St=(t={})=>{var a,s,l;const n=t.direction??"left",i={stiffness:((a=t.spring)==null?void 0:a.stiffness)??A.stiffness,damping:((s=t.spring)==null?void 0:s.damping)??A.damping,doubleSpring:((l=t.spring)==null?void 0:l.doubleSpring)??A.doubleSpring},d=n==="left";return{in:r=>({spring:i,prepare:()=>{r.style.willChange="transform",r.style.backfaceVisibility="hidden",r.style.contain="layout paint"},css:o=>({transform:`translate3d(${d?(1-o)*100:(1-o)*-100}%, 0, 0)`}),onEnd:()=>{r.style.willChange="auto",r.style.backfaceVisibility="",r.style.contain=""}}),out:(r,o)=>({spring:i,css:c=>({transform:`translate3d(${d?(1-c)*-100:(1-c)*100}%, 0, 0)`}),prepare:c=>{f.prepareOutgoing(c,o),c.style.willChange="transform",c.style.backfaceVisibility="hidden",c.style.contain="layout paint",c.style.pointerEvents="none"}})}},D={stiffness:17,damping:6},S=20,E=800,Lt=()=>{let t,n=null;return{in:i=>({spring:D,prepare:()=>{i.style.willChange="transform",i.style.backfaceVisibility="hidden",i.style.contain="layout paint",i.style.transform=`perspective(${E}px) rotateY(${S}deg) translate3d(-100%, 0, 0)`},wait:async()=>{t&&await t},css:d=>{const a=(1-d)*S,s=-(1-d)*100;return{transform:`perspective(${E}px) rotateY(${a}deg) translate3d(${s}%, 0, 0)`}},onEnd:()=>{i.style.transform="",i.style.willChange="auto",i.style.backfaceVisibility="",i.style.contain=""}}),out:(i,d)=>(t=new Promise(a=>{n=a}),{spring:D,prepare:a=>{f.prepareOutgoing(a,d),a.style.willChange="transform",a.style.backfaceVisibility="hidden",a.style.contain="layout paint",a.style.pointerEvents="none",a.style.transform=`perspective(${E}px) rotateY(0deg) translate3d(0%, 0, 0)`},css:a=>{const s=1-a,l=s*S,r=s*100;return{transform:`perspective(${E}px) rotateY(${-l}deg) translate3d(${r}%, 0, 0)`}},onEnd:()=>{n&&n(),i.style.transform=""}})}},Tt={stiffness:1,damping:1},Ot={stiffness:20,damping:25},kt="#000000",_t="circle",P="CURTAIN_REVEAL_OVERLAY_ID",It={position:"fixed",inset:"0",width:"100vw",height:"100%",zIndex:"9999",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden"},Dt={position:"relative",display:"inline-block",height:"5.5rem",overflow:"hidden"},Pt={display:"flex",height:"100%",willChange:"transform",transition:"transform 0.3s ease"},vt={display:"inline-flex",alignItems:"center",justifyContent:"center",whiteSpace:"nowrap",fontSize:"5.5rem",fontWeight:"900",letterSpacing:"0.02em",color:"#FFFFFF"},Ft=.4,C=.5,Yt=.2;function Ut(t,n){switch(t){case"circle":return`circle(${n*100}% at 50% 50%)`;case"square":return`inset(${(1-n)*50}% round ${10*n}%)`;case"triangle":{const i=n*100;return`polygon(50% ${50-i}%, ${50-i}% ${50+i}%, ${50+i}% ${50+i}%)`}}}const Vt=t=>t.reduce((n,i)=>n+i,0),Wt=(t={})=>{const{background:n=kt,texts:i=[],shape:d=_t,inSpring:a=Ot,outSpring:s=Tt,textStyle:l={}}=t;return{out:(r,o)=>{const c=r.style.opacity;return{spring:s,from:1,to:0,prepare:e=>{f.prepareOutgoing(e,o),e.style.opacity="1"},tick:e=>{const y=Math.max(0,e-Ft);r.style.opacity=String(y)},onEnd:()=>{r.style.opacity=c}}},in:r=>{let o=null,c=null,e=null;const y=document.body.style.overflow,g=document.getElementById(P);let h=[];const p=()=>{o=document.createElement("div"),o.id=P,Object.assign(o.style,It,{background:n}),document.body.appendChild(o),c=document.createElement("div"),Object.assign(c.style,Dt),o.appendChild(c),e=document.createElement("div"),Object.assign(e.style,Pt),c.appendChild(e),i.forEach(u=>{const w=document.createElement("div");w.textContent=u,Object.assign(w.style,vt,l),e.appendChild(w)}),h=Array.from(e.children).map(u=>u.getBoundingClientRect().width)};return{spring:a,from:0,to:1,prepare:()=>{document.body.style.overflow="hidden",r.style.opacity="1",g==null||g.remove(),p(),o&&c&&(o.style.clipPath="none",c.style.transform="scale(1)")},tick:u=>{if(!(!o||!c||!e)){if(u<=C&&i.length>0){const w=u/C,$=Math.min(Math.floor(w*i.length),i.length-1),b=h[$]??0,m=Vt(h.slice(0,$));c.style.width=`${b}px`,e.style.transform=`translateX(-${m}px)`}if(u>C){const $=1-Math.max(0,Math.min(1,(u-C)/Yt));o.style.clipPath=Ut(d,$),c.style.transform=`scale(${$})`}}},onEnd:()=>{o==null||o.remove(),o=c=e=null,document.body.style.overflow=y}}}}};exports.jaemin=f.jaemin;exports.blind=Z;exports.curtainReveal=Wt;exports.drill=R;exports.fade=it;exports.film=lt;exports.hero=ht;exports.instagram=ft;exports.pinterest=Et;exports.rotate=Ct;exports.scroll=At;exports.slide=St;exports.strip=Lt;