create-valaxy 0.22.5-beta.0 → 0.22.5-beta.5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.mjs +1 -1
- package/package.json +2 -1
- package/template-blog/package.json +2 -2
- package/template-blog/.valaxy/components.d.ts +0 -139
- package/template-blog/.valaxy/typed-router.d.ts +0 -34
- package/template-blog/dist/.vite/ssr-manifest.json +0 -12886
- package/template-blog/dist/404.html +0 -1
- package/template-blog/dist/_headers +0 -3
- package/template-blog/dist/about/site.html +0 -1
- package/template-blog/dist/about.html +0 -1
- package/template-blog/dist/archives.html +0 -1
- package/template-blog/dist/assets/404.BQMTQ_Of.js +0 -1
- package/template-blog/dist/assets/404.BVla_BTh.css +0 -1
- package/template-blog/dist/assets/404.COjC7JOp.js +0 -1
- package/template-blog/dist/assets/404.CdW3wZiw.js +0 -1
- package/template-blog/dist/assets/404.bv7ttf42.css +0 -1
- package/template-blog/dist/assets/KaTeX_AMS-Regular.BQhdFMY1.woff2 +0 -0
- package/template-blog/dist/assets/KaTeX_AMS-Regular.DMm9YOAa.woff +0 -0
- package/template-blog/dist/assets/KaTeX_AMS-Regular.DRggAlZN.ttf +0 -0
- package/template-blog/dist/assets/KaTeX_Caligraphic-Bold.ATXxdsX0.ttf +0 -0
- package/template-blog/dist/assets/KaTeX_Caligraphic-Bold.BEiXGLvX.woff +0 -0
- package/template-blog/dist/assets/KaTeX_Caligraphic-Bold.Dq_IR9rO.woff2 +0 -0
- package/template-blog/dist/assets/KaTeX_Caligraphic-Regular.CTRA-rTL.woff +0 -0
- package/template-blog/dist/assets/KaTeX_Caligraphic-Regular.Di6jR-x-.woff2 +0 -0
- package/template-blog/dist/assets/KaTeX_Caligraphic-Regular.wX97UBjC.ttf +0 -0
- package/template-blog/dist/assets/KaTeX_Fraktur-Bold.BdnERNNW.ttf +0 -0
- package/template-blog/dist/assets/KaTeX_Fraktur-Bold.BsDP51OF.woff +0 -0
- package/template-blog/dist/assets/KaTeX_Fraktur-Bold.CL6g_b3V.woff2 +0 -0
- package/template-blog/dist/assets/KaTeX_Fraktur-Regular.CB_wures.ttf +0 -0
- package/template-blog/dist/assets/KaTeX_Fraktur-Regular.CTYiF6lA.woff2 +0 -0
- package/template-blog/dist/assets/KaTeX_Fraktur-Regular.Dxdc4cR9.woff +0 -0
- package/template-blog/dist/assets/KaTeX_Main-Bold.Cx986IdX.woff2 +0 -0
- package/template-blog/dist/assets/KaTeX_Main-Bold.Jm3AIy58.woff +0 -0
- package/template-blog/dist/assets/KaTeX_Main-Bold.waoOVXN0.ttf +0 -0
- package/template-blog/dist/assets/KaTeX_Main-BoldItalic.DxDJ3AOS.woff2 +0 -0
- package/template-blog/dist/assets/KaTeX_Main-BoldItalic.DzxPMmG6.ttf +0 -0
- package/template-blog/dist/assets/KaTeX_Main-BoldItalic.SpSLRI95.woff +0 -0
- package/template-blog/dist/assets/KaTeX_Main-Italic.3WenGoN9.ttf +0 -0
- package/template-blog/dist/assets/KaTeX_Main-Italic.BMLOBm91.woff +0 -0
- package/template-blog/dist/assets/KaTeX_Main-Italic.NWA7e6Wa.woff2 +0 -0
- package/template-blog/dist/assets/KaTeX_Main-Regular.B22Nviop.woff2 +0 -0
- package/template-blog/dist/assets/KaTeX_Main-Regular.Dr94JaBh.woff +0 -0
- package/template-blog/dist/assets/KaTeX_Main-Regular.ypZvNtVU.ttf +0 -0
- package/template-blog/dist/assets/KaTeX_Math-BoldItalic.B3XSjfu4.ttf +0 -0
- package/template-blog/dist/assets/KaTeX_Math-BoldItalic.CZnvNsCZ.woff2 +0 -0
- package/template-blog/dist/assets/KaTeX_Math-BoldItalic.iY-2wyZ7.woff +0 -0
- package/template-blog/dist/assets/KaTeX_Math-Italic.DA0__PXp.woff +0 -0
- package/template-blog/dist/assets/KaTeX_Math-Italic.flOr_0UB.ttf +0 -0
- package/template-blog/dist/assets/KaTeX_Math-Italic.t53AETM-.woff2 +0 -0
- package/template-blog/dist/assets/KaTeX_SansSerif-Bold.CFMepnvq.ttf +0 -0
- package/template-blog/dist/assets/KaTeX_SansSerif-Bold.D1sUS0GD.woff2 +0 -0
- package/template-blog/dist/assets/KaTeX_SansSerif-Bold.DbIhKOiC.woff +0 -0
- package/template-blog/dist/assets/KaTeX_SansSerif-Italic.C3H0VqGB.woff2 +0 -0
- package/template-blog/dist/assets/KaTeX_SansSerif-Italic.DN2j7dab.woff +0 -0
- package/template-blog/dist/assets/KaTeX_SansSerif-Italic.YYjJ1zSn.ttf +0 -0
- package/template-blog/dist/assets/KaTeX_SansSerif-Regular.BNo7hRIc.ttf +0 -0
- package/template-blog/dist/assets/KaTeX_SansSerif-Regular.CS6fqUqJ.woff +0 -0
- package/template-blog/dist/assets/KaTeX_SansSerif-Regular.DDBCnlJ7.woff2 +0 -0
- package/template-blog/dist/assets/KaTeX_Script-Regular.C5JkGWo-.ttf +0 -0
- package/template-blog/dist/assets/KaTeX_Script-Regular.D3wIWfF6.woff2 +0 -0
- package/template-blog/dist/assets/KaTeX_Script-Regular.D5yQViql.woff +0 -0
- package/template-blog/dist/assets/KaTeX_Size1-Regular.C195tn64.woff +0 -0
- package/template-blog/dist/assets/KaTeX_Size1-Regular.Dbsnue_I.ttf +0 -0
- package/template-blog/dist/assets/KaTeX_Size1-Regular.mCD8mA8B.woff2 +0 -0
- package/template-blog/dist/assets/KaTeX_Size2-Regular.B7gKUWhC.ttf +0 -0
- package/template-blog/dist/assets/KaTeX_Size2-Regular.Dy4dx90m.woff2 +0 -0
- package/template-blog/dist/assets/KaTeX_Size2-Regular.oD1tc_U0.woff +0 -0
- package/template-blog/dist/assets/KaTeX_Size3-Regular.CTq5MqoE.woff +0 -0
- package/template-blog/dist/assets/KaTeX_Size3-Regular.DgpXs0kz.ttf +0 -0
- package/template-blog/dist/assets/KaTeX_Size4-Regular.BF-4gkZK.woff +0 -0
- package/template-blog/dist/assets/KaTeX_Size4-Regular.DWFBv043.ttf +0 -0
- package/template-blog/dist/assets/KaTeX_Size4-Regular.Dl5lxZxV.woff2 +0 -0
- package/template-blog/dist/assets/KaTeX_Typewriter-Regular.C0xS9mPB.woff +0 -0
- package/template-blog/dist/assets/KaTeX_Typewriter-Regular.CO6r4hn1.woff2 +0 -0
- package/template-blog/dist/assets/KaTeX_Typewriter-Regular.D3Ib7_Hf.ttf +0 -0
- package/template-blog/dist/assets/ValaxyMain.BHXg_53O.css +0 -1
- package/template-blog/dist/assets/ValaxyMain.vue_vue_type_style_index_0_lang.GF56VfAK.js +0 -4
- package/template-blog/dist/assets/YunAlgoliaSearch.CGLcEs-8.js +0 -1
- package/template-blog/dist/assets/YunComment.BL40W_Hn.css +0 -1
- package/template-blog/dist/assets/YunComment.vue_vue_type_style_index_0_lang.D96eor6Z.js +0 -1
- package/template-blog/dist/assets/YunGallery.DpuIKv74.js +0 -1
- package/template-blog/dist/assets/YunPageHeader.vue_vue_type_script_setup_true_lang.DdS3O7Sb.js +0 -1
- package/template-blog/dist/assets/YunPostCollapse.CLDXGmA8.css +0 -1
- package/template-blog/dist/assets/YunPostCollapse.vue_vue_type_style_index_0_lang.BDOzPdAI.js +0 -1
- package/template-blog/dist/assets/YunPostList.BfWGcc9d.css +0 -1
- package/template-blog/dist/assets/YunPostList.vue_vue_type_script_setup_true_lang.eA57GRPM.js +0 -1
- package/template-blog/dist/assets/YunPostMeta.DCrVMfuT.css +0 -1
- package/template-blog/dist/assets/YunPostMeta.vue_vue_type_style_index_0_lang.kGr0Mwvt.js +0 -1
- package/template-blog/dist/assets/YunSponsor.BJOC5yvc.css +0 -1
- package/template-blog/dist/assets/YunSponsor.vue_vue_type_style_index_0_lang.DXMLu2ja.js +0 -1
- package/template-blog/dist/assets/_...path_.21n1QfBG.js +0 -1
- package/template-blog/dist/assets/_page_.CbwGuB0C.js +0 -1
- package/template-blog/dist/assets/albums.B4t_Ao0K.js +0 -1
- package/template-blog/dist/assets/albums.B673jvUl.css +0 -1
- package/template-blog/dist/assets/animation.CoxzA1iL.js +0 -25
- package/template-blog/dist/assets/animation.HEYJ8NQD.js +0 -1
- package/template-blog/dist/assets/app.DEdTPrqj.css +0 -1
- package/template-blog/dist/assets/app.DdNQbQcf.js +0 -179
- package/template-blog/dist/assets/archives.BJseIPdh.js +0 -1
- package/template-blog/dist/assets/back.BCEwbEbk.js +0 -1
- package/template-blog/dist/assets/bg-img.kXdNMxcF.jpg +0 -0
- package/template-blog/dist/assets/categories.o32SQiTl.js +0 -1
- package/template-blog/dist/assets/chunks/@vueuse/motion.Cu3FxAjX.js +0 -1
- package/template-blog/dist/assets/chunks/dayjs.Byk5cVHE.js +0 -1
- package/template-blog/dist/assets/chunks/nprogress.D5YWUqdw.js +0 -2
- package/template-blog/dist/assets/chunks/pinia.BZCK5L1u.js +0 -5
- package/template-blog/dist/assets/chunks/vue-i18n.BJCfcYj0.js +0 -19
- package/template-blog/dist/assets/chunks/vue-router.iBpRWtK4.js +0 -6
- package/template-blog/dist/assets/collection.Ckb3clU2.js +0 -1
- package/template-blog/dist/assets/collections.BP5MVOJY.js +0 -1
- package/template-blog/dist/assets/empty.DqpoVTRu.js +0 -1
- package/template-blog/dist/assets/framework.DTsYX98Z.js +0 -18
- package/template-blog/dist/assets/gallery.CMbHzHw3.js +0 -2
- package/template-blog/dist/assets/hello-valaxy.BRLAkNks.js +0 -1
- package/template-blog/dist/assets/home.BJC4odsr.css +0 -1
- package/template-blog/dist/assets/home.CZOjCxWv.js +0 -1
- package/template-blog/dist/assets/index.BXCNz9_b.js +0 -1
- package/template-blog/dist/assets/index.C5okkQwF.js +0 -1
- package/template-blog/dist/assets/index.CL1DdHkf.js +0 -1
- package/template-blog/dist/assets/index.CTbEHs38.js +0 -1
- package/template-blog/dist/assets/index.DaigOlRp.js +0 -1
- package/template-blog/dist/assets/index.DfXt1eUW.css +0 -1
- package/template-blog/dist/assets/index.DkC-Pgj1.js +0 -1
- package/template-blog/dist/assets/index.DoisJ1U_.js +0 -1
- package/template-blog/dist/assets/index.OFtDVdUU.js +0 -1
- package/template-blog/dist/assets/index.ufZ0mfh0.js +0 -1
- package/template-blog/dist/assets/index.x8TNrC4q.js +0 -1
- package/template-blog/dist/assets/none.DLM1AMsD.jpg +0 -0
- package/template-blog/dist/assets/post.Ct0b7r_k.js +0 -1
- package/template-blog/dist/assets/post.DDxwAI70.css +0 -1
- package/template-blog/dist/assets/post.DqpoVTRu.js +0 -1
- package/template-blog/dist/assets/post.sHPO3XkC.js +0 -1
- package/template-blog/dist/assets/posts.DamUovhw.js +0 -1
- package/template-blog/dist/assets/projects.CSgHBlnO.js +0 -1
- package/template-blog/dist/assets/projects.Dti-qd8N.css +0 -1
- package/template-blog/dist/assets/sidebar-bg-img.mp54gEws.webp +0 -0
- package/template-blog/dist/assets/site.Dg_HdDiW.js +0 -1
- package/template-blog/dist/assets/tags.DrGfAO4R.js +0 -1
- package/template-blog/dist/assets/view-transition.IkvUpX_n.css +0 -1
- package/template-blog/dist/atom.xml +0 -36
- package/template-blog/dist/categories.html +0 -1
- package/template-blog/dist/favicon.svg +0 -33
- package/template-blog/dist/feed.json +0 -26
- package/template-blog/dist/feed.xml +0 -31
- package/template-blog/dist/index.html +0 -1
- package/template-blog/dist/links.html +0 -1
- package/template-blog/dist/page.html +0 -1
- package/template-blog/dist/posts/hello-valaxy.html +0 -1
- package/template-blog/dist/posts.html +0 -1
- package/template-blog/dist/pwa-192x192.png +0 -0
- package/template-blog/dist/pwa-512x512.png +0 -0
- package/template-blog/dist/robots.txt +0 -4
- package/template-blog/dist/safari-pinned-tab.svg +0 -41
- package/template-blog/dist/sitemap.xml +0 -1
- package/template-blog/dist/tags.html +0 -1
- package/template-blog/dist/valaxy-fuse-list.json +0 -1
- package/template-blog/public/atom.xml +0 -36
- package/template-blog/public/feed.json +0 -26
- package/template-blog/public/feed.xml +0 -31
- package/template-blog/public/valaxy-fuse-list.json +0 -1
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1 +0,0 @@
|
|
1
|
-
.post-nav{display:flex;justify-content:space-between;align-items:center}.post-nav-item{display:inline-flex;justify-content:center;align-items:center;color:var(--va-c-primary);outline:none;font-size:1.5rem;font-weight:700;text-transform:uppercase;height:3rem;transition:.4s}.post-nav-item:hover{background-color:rgba(var(--va-c-primary-rgb),.1);box-shadow:0 0 15px #0000001a}.post-nav-prev{padding:0 .6rem 0 .1rem}.post-nav-next{padding:0 .1rem 0 .6rem}.post-nav-prev,.post-nav-next{display:inline-flex;align-items:center;height:3rem;font-size:1rem}.post-nav-prev .title,.post-nav-next .title{overflow:hidden;max-width:10rem}.post-nav-prev .icon,.post-nav-next .icon{width:1.2rem;height:1.2rem}@media screen and (min-width: 1024px){.post-nav-prev .title,.post-nav-next .title{max-width:18rem}}.medium-zoom-overlay,.medium-zoom-image--opened{z-index:999}@media screen and (min-width: 1280px){.content.no-aside{max-width:calc(100vw - var(--va-sidebar-width))}}
|
@@ -1,4 +0,0 @@
|
|
1
|
-
import{l as Q,u as Ie,g as jt,G as Qe,H as De,I as et,J as se,p as Bt,a as qt,k as Ut,K as Vt}from"./app.DdNQbQcf.js";import{_ as Dt}from"./YunComment.vue_vue_type_style_index_0_lang.D96eor6Z.js";import{d as Le,r as Ft}from"./chunks/dayjs.Byk5cVHE.js";import{a as tt,u as Gt}from"./chunks/vue-router.iBpRWtK4.js";import{d as ue,c as S,e as ee,M as Wt,N as x,P as D,R as _,u as h,O as J,a2 as de,S as P,U as k,r as Zt,k as Kt,Y as y,W as Ce,n as Jt,B as Z,Z as Xt}from"./framework.DTsYX98Z.js";import{i as Se}from"./chunks/nprogress.D5YWUqdw.js";import{u as Oe}from"./chunks/vue-i18n.BJCfcYj0.js";import{_ as Qt}from"./YunPageHeader.vue_vue_type_script_setup_true_lang.DdS3O7Sb.js";import{u as en}from"./post.Ct0b7r_k.js";function tn(){const e=Q(),t=Ie();Se&&window.addEventListener("click",n=>{const o=n.target;if(o.matches('[class*="language-"] > button.collapse')){const a=o.parentElement;a==null||a.removeAttribute("style"),a==null||a.classList.remove("folded")}}),ue(()=>{const n=document.querySelectorAll('div[class*="language-"]'),o=e.value.codeHeightLimit,a=t.value.codeHeightLimit;let i;if(typeof a!="number"||a<=0){if(o===void 0||o<=0)return;i=o}else i=a;for(const l of Array.from(n))l.scrollHeight>i&&l.classList.add("folded")})}function nn(){if(Se){const e=new WeakMap;window.addEventListener("click",t=>{var o;const n=t.target;if(n.matches('div[class*="language-"] > button.copy')){const a=n.parentElement,i=(o=n.nextElementSibling)==null?void 0:o.nextElementSibling;if(!a||!i)return;const l=/language-(shellscript|shell|bash|sh|zsh)/.test(a.className);let m="";i.querySelectorAll("span.line:not(.diff.remove)").forEach(g=>m+=`${g.textContent||""}
|
2
|
-
`),m=m.slice(0,-1),l&&(m=m.replace(/^ *(\$|>) /gm,"").trim()),on(m).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const g=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,g)})}})}}async function on(e){try{return navigator.clipboard.writeText(e)}catch{const t=document.createElement("textarea"),n=document.activeElement;t.value=e,t.setAttribute("readonly",""),t.style.contain="strict",t.style.position="absolute",t.style.left="-9999px",t.style.fontSize="12pt";const o=document.getSelection(),a=o?o.rangeCount>0&&o.getRangeAt(0):null;document.body.appendChild(t),t.select(),t.selectionStart=0,t.selectionEnd=e.length,document.execCommand("copy"),document.body.removeChild(t),a&&(o.removeAllRanges(),o.addRange(a)),n&&n.focus()}}/*! medium-zoom 1.1.0 | MIT License | https://github.com/francoischalifour/medium-zoom */var R=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},le=function(t){return t.tagName==="IMG"},an=function(t){return NodeList.prototype.isPrototypeOf(t)},ce=function(t){return t&&t.nodeType===1},Fe=function(t){var n=t.currentSrc||t.src;return n.substr(-4).toLowerCase()===".svg"},Ge=function(t){try{return Array.isArray(t)?t.filter(le):an(t)?[].slice.call(t).filter(le):ce(t)?[t].filter(le):typeof t=="string"?[].slice.call(document.querySelectorAll(t)).filter(le):[]}catch{throw new TypeError(`The provided selector is invalid.
|
3
|
-
Expects a CSS selector, a Node element, a NodeList or an array.
|
4
|
-
See: https://github.com/francoischalifour/medium-zoom`)}},rn=function(t){var n=document.createElement("div");return n.classList.add("medium-zoom-overlay"),n.style.background=t,n},sn=function(t){var n=t.getBoundingClientRect(),o=n.top,a=n.left,i=n.width,l=n.height,m=t.cloneNode(),g=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,w=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;return m.removeAttribute("id"),m.style.position="absolute",m.style.top=o+g+"px",m.style.left=a+w+"px",m.style.width=i+"px",m.style.height=l+"px",m.style.transform="",m},V=function(t,n){var o=R({bubbles:!1,cancelable:!1,detail:void 0},n);if(typeof window.CustomEvent=="function")return new CustomEvent(t,o);var a=document.createEvent("CustomEvent");return a.initCustomEvent(t,o.bubbles,o.cancelable,o.detail),a},ln=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=window.Promise||function(s){function c(){}s(c,c)},a=function(s){var c=s.target;if(c===re){C();return}E.indexOf(c)!==-1&&ae({target:c})},i=function(){if(!(q||!r.original)){var s=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;Math.abs(Ue-s)>f.scrollOffset&&setTimeout(C,150)}},l=function(s){var c=s.key||s.keyCode;(c==="Escape"||c==="Esc"||c===27)&&C()},m=function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},c=s;if(s.background&&(re.style.background=s.background),s.container&&s.container instanceof Object&&(c.container=R({},f.container,s.container)),s.template){var p=ce(s.template)?s.template:document.querySelector(s.template);c.template=p}return f=R({},f,c),E.forEach(function(v){v.dispatchEvent(V("medium-zoom:update",{detail:{zoom:b}}))}),b},g=function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return e(R({},f,s))},w=function(){for(var s=arguments.length,c=Array(s),p=0;p<s;p++)c[p]=arguments[p];var v=c.reduce(function(d,z){return[].concat(d,Ge(z))},[]);return v.filter(function(d){return E.indexOf(d)===-1}).forEach(function(d){E.push(d),d.classList.add("medium-zoom-image")}),B.forEach(function(d){var z=d.type,A=d.listener,U=d.options;v.forEach(function(T){T.addEventListener(z,A,U)})}),b},he=function(){for(var s=arguments.length,c=Array(s),p=0;p<s;p++)c[p]=arguments[p];r.zoomed&&C();var v=c.length>0?c.reduce(function(d,z){return[].concat(d,Ge(z))},[]):E;return v.forEach(function(d){d.classList.remove("medium-zoom-image"),d.dispatchEvent(V("medium-zoom:detach",{detail:{zoom:b}}))}),E=E.filter(function(d){return v.indexOf(d)===-1}),b},u=function(s,c){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return E.forEach(function(v){v.addEventListener("medium-zoom:"+s,c,p)}),B.push({type:"medium-zoom:"+s,listener:c,options:p}),b},qe=function(s,c){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return E.forEach(function(v){v.removeEventListener("medium-zoom:"+s,c,p)}),B=B.filter(function(v){return!(v.type==="medium-zoom:"+s&&v.listener.toString()===c.toString())}),b},oe=function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},c=s.target,p=function(){var d={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},z=void 0,A=void 0;if(f.container)if(f.container instanceof Object)d=R({},d,f.container),z=d.width-d.left-d.right-f.margin*2,A=d.height-d.top-d.bottom-f.margin*2;else{var U=ce(f.container)?f.container:document.querySelector(f.container),T=U.getBoundingClientRect(),Ee=T.width,xt=T.height,It=T.left,St=T.top;d=R({},d,{width:Ee,height:xt,left:It,top:St})}z=z||d.width-f.margin*2,A=A||d.height-f.margin*2;var W=r.zoomedHd||r.original,Ot=Fe(W)?z:W.naturalWidth||z,Tt=Fe(W)?A:W.naturalHeight||A,ie=W.getBoundingClientRect(),Ht=ie.top,Nt=ie.left,$e=ie.width,ze=ie.height,Mt=Math.min(Math.max($e,Ot),z)/$e,Rt=Math.min(Math.max(ze,Tt),A)/ze,we=Math.min(Mt,Rt),Pt=(-Nt+(z-$e)/2+f.margin+d.left)/we,Yt=(-Ht+(A-ze)/2+f.margin+d.top)/we,Ve="scale("+we+") translate3d("+Pt+"px, "+Yt+"px, 0)";r.zoomed.style.transform=Ve,r.zoomedHd&&(r.zoomedHd.style.transform=Ve)};return new o(function(v){if(c&&E.indexOf(c)===-1){v(b);return}var d=function Ee(){q=!1,r.zoomed.removeEventListener("transitionend",Ee),r.original.dispatchEvent(V("medium-zoom:opened",{detail:{zoom:b}})),v(b)};if(r.zoomed){v(b);return}if(c)r.original=c;else if(E.length>0){var z=E;r.original=z[0]}else{v(b);return}if(r.original.dispatchEvent(V("medium-zoom:open",{detail:{zoom:b}})),Ue=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,q=!0,r.zoomed=sn(r.original),document.body.appendChild(re),f.template){var A=ce(f.template)?f.template:document.querySelector(f.template);r.template=document.createElement("div"),r.template.appendChild(A.content.cloneNode(!0)),document.body.appendChild(r.template)}if(r.original.parentElement&&r.original.parentElement.tagName==="PICTURE"&&r.original.currentSrc&&(r.zoomed.src=r.original.currentSrc),document.body.appendChild(r.zoomed),window.requestAnimationFrame(function(){document.body.classList.add("medium-zoom--opened")}),r.original.classList.add("medium-zoom-image--hidden"),r.zoomed.classList.add("medium-zoom-image--opened"),r.zoomed.addEventListener("click",C),r.zoomed.addEventListener("transitionend",d),r.original.getAttribute("data-zoom-src")){r.zoomedHd=r.zoomed.cloneNode(),r.zoomedHd.removeAttribute("srcset"),r.zoomedHd.removeAttribute("sizes"),r.zoomedHd.removeAttribute("loading"),r.zoomedHd.src=r.zoomed.getAttribute("data-zoom-src"),r.zoomedHd.onerror=function(){clearInterval(U),console.warn("Unable to reach the zoom image target "+r.zoomedHd.src),r.zoomedHd=null,p()};var U=setInterval(function(){r.zoomedHd.complete&&(clearInterval(U),r.zoomedHd.classList.add("medium-zoom-image--opened"),r.zoomedHd.addEventListener("click",C),document.body.appendChild(r.zoomedHd),p())},10)}else if(r.original.hasAttribute("srcset")){r.zoomedHd=r.zoomed.cloneNode(),r.zoomedHd.removeAttribute("sizes"),r.zoomedHd.removeAttribute("loading");var T=r.zoomedHd.addEventListener("load",function(){r.zoomedHd.removeEventListener("load",T),r.zoomedHd.classList.add("medium-zoom-image--opened"),r.zoomedHd.addEventListener("click",C),document.body.appendChild(r.zoomedHd),p()})}else p()})},C=function(){return new o(function(s){if(q||!r.original){s(b);return}var c=function p(){r.original.classList.remove("medium-zoom-image--hidden"),document.body.removeChild(r.zoomed),r.zoomedHd&&document.body.removeChild(r.zoomedHd),document.body.removeChild(re),r.zoomed.classList.remove("medium-zoom-image--opened"),r.template&&document.body.removeChild(r.template),q=!1,r.zoomed.removeEventListener("transitionend",p),r.original.dispatchEvent(V("medium-zoom:closed",{detail:{zoom:b}})),r.original=null,r.zoomed=null,r.zoomedHd=null,r.template=null,s(b)};q=!0,document.body.classList.remove("medium-zoom--opened"),r.zoomed.style.transform="",r.zoomedHd&&(r.zoomedHd.style.transform=""),r.template&&(r.template.style.transition="opacity 150ms",r.template.style.opacity=0),r.original.dispatchEvent(V("medium-zoom:close",{detail:{zoom:b}})),r.zoomed.addEventListener("transitionend",c)})},ae=function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},c=s.target;return r.original?C():oe({target:c})},be=function(){return f},_e=function(){return E},ye=function(){return r.original},E=[],B=[],q=!1,Ue=0,f=n,r={original:null,zoomed:null,zoomedHd:null,template:null};Object.prototype.toString.call(t)==="[object Object]"?f=t:(t||typeof t=="string")&&w(t),f=R({margin:0,background:"#fff",scrollOffset:40,container:null,template:null},f);var re=rn(f.background);document.addEventListener("click",a),document.addEventListener("keyup",l),document.addEventListener("scroll",i),window.addEventListener("resize",C);var b={open:oe,close:C,toggle:ae,update:m,clone:g,attach:w,detach:he,on:u,off:qe,getOptions:be,getImages:_e,getZoomedImage:ye};return b};function cn(e,t){t===void 0&&(t={});var n=t.insertAt;if(!(typeof document>"u")){var o=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css",n==="top"&&o.firstChild?o.insertBefore(a,o.firstChild):o.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}}var dn=".medium-zoom-overlay{position:fixed;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .3s;will-change:opacity}.medium-zoom--opened .medium-zoom-overlay{cursor:pointer;cursor:zoom-out;opacity:1}.medium-zoom-image{cursor:pointer;cursor:zoom-in;transition:transform .3s cubic-bezier(.2,0,.2,1)!important}.medium-zoom-image--hidden{visibility:hidden}.medium-zoom-image--opened{position:relative;cursor:pointer;cursor:zoom-out;will-change:transform}";cn(dn);function mn(){const t=Q().value.mediumZoom;ue(()=>{t.enable&&ln(t.selector||".markdown-body img",{background:"var(--medium-zoom-c-bg, rgba(0, 0, 0, 0.8))",...t.options})})}function nt(e,t,n={smooth:!0,targetPadding:-64}){let o=null;try{o=e.classList.contains("header-anchor")?e:decodeURIComponent(t)&&document.querySelector(decodeURIComponent(t))||null}catch(a){console.warn(a)}if(o){const a=(n==null?void 0:n.targetPadding)||-64,i=window.scrollY+o.getBoundingClientRect().top+a;!n.smooth||Math.abs(i-window.scrollY)>window.innerHeight?window.scrollTo(0,i):window.scrollTo({top:i,behavior:"smooth"})}}function un(e){window.addEventListener("click",async t=>{const n=t.target.closest("a");if(n){const{protocol:o,hostname:a,pathname:i,hash:l,target:m}=n,g=window.location,w=i.match(/\.\w+$/);!t.ctrlKey&&!t.shiftKey&&!t.altKey&&!t.metaKey&&m!=="_blank"&&o===g.protocol&&a===g.hostname&&!(w&&w[0]!==".html")&&i===g.pathname&&(t.preventDefault(),l&&l!==g.hash&&(await e.push({hash:decodeURIComponent(l)}),nt(n,l,{smooth:n.classList.contains("header-anchor")})))}},{capture:!0})}function fn(e,t){const n=document.createElement("div");n.className=t,e.parentNode.insertBefore(n,e),e.parentNode.removeChild(e),n.appendChild(e)}function pn(e=document){e.querySelectorAll("table").forEach(t=>{var o;if((o=t.parentElement)!=null&&o.classList.contains("table-container"))return;const n=document.createElement("div");n.className="table-container",fn(t,"table-container")})}function gn(e){const t=tt(),n=S(()=>t.path),o=jt(),a=S(()=>{let m=-1;return o.postList.find((g,w)=>g.path===n.value?(m=w,!0):!1),m}),i=S(()=>a.value-1>=0?o.postList[a.value-1]:null),l=S(()=>a.value+1<o.postList.length?o.postList[a.value+1]:null);return[i,l]}function vn(){const e=Q(),t=S(()=>e.value.cdn.prefix);Qe({link:[{rel:"stylesheet",href:`${t.value}aplayer/dist/APlayer.min.css`}]}),De(`${t.value}aplayer/dist/APlayer.min.js`,()=>{De(`${t.value}meting@2/dist/Meting.min.js`)})}function hn(){Qe({script:[{src:"https://static.codepen.io/assets/embed/ei.js",async:!0}]})}const bn={class:"post-nav"},_n={class:"post-nav-item"},yn={class:"title truncate",text:"sm"},En={class:"post-nav-item"},$n={class:"title truncate",text:"sm"},zn=ee({__name:"YunPostNav",setup(e){const[t,n]=gn();return(o,a)=>{const i=Wt("RouterLink");return x(),D("div",bn,[_("div",_n,[h(t)?(x(),J(i,{key:0,class:"post-nav-prev",to:h(t).path||"",title:h(t).title},{default:de(()=>[a[0]||(a[0]=_("div",{class:"icon","i-ri-arrow-left-s-line":""},null,-1)),_("span",yn,P(h(t).title),1)]),_:1},8,["to","title"])):k("v-if",!0)]),_("div",En,[h(n)?(x(),J(i,{key:0,to:h(n).path||"",title:h(n).title,class:"post-nav-next"},{default:de(()=>[_("span",$n,P(h(n).title),1),a[1]||(a[1]=_("div",{class:"icon","i-ri-arrow-right-s-line":""},null,-1))]),_:1},8,["to","title"])):k("v-if",!0)])])}}});function wn(){Se&&window.addEventListener("click",e=>{var n;const t=e.target;if(t.matches(".vp-code-group input")){const o=(n=t.parentElement)==null?void 0:n.parentElement;if(!o)return;const a=Array.from(o.querySelectorAll("input")).indexOf(t);if(a<0)return;const i=o.querySelector(".blocks");if(!i)return;const l=Array.from(i.children).find(w=>w.classList.contains("active"));if(!l)return;const m=i.children[a];if(!m||l===m)return;l.classList.remove("active"),m.classList.add("active");const g=o==null?void 0:o.querySelector(`label[for="${t.id}"]`);g==null||g.scrollIntoView({block:"nearest"})}})}const N=typeof window<"u",ot=N&&!("onscroll"in window)||typeof navigator<"u"&&/(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent),at=N&&window.devicePixelRatio>1,Ln={elements_selector:".lazy",container:ot||N?document:null,threshold:300,thresholds:null,data_src:"src",data_srcset:"srcset",data_sizes:"sizes",data_bg:"bg",data_bg_hidpi:"bg-hidpi",data_bg_multi:"bg-multi",data_bg_multi_hidpi:"bg-multi-hidpi",data_bg_set:"bg-set",data_poster:"poster",class_applied:"applied",class_loading:"loading",class_loaded:"loaded",class_error:"error",class_entered:"entered",class_exited:"exited",unobserve_completed:!0,unobserve_entered:!1,cancel_on_exit:!0,callback_enter:null,callback_exit:null,callback_applied:null,callback_loading:null,callback_loaded:null,callback_error:null,callback_finish:null,callback_cancel:null,use_native:!1,restore_on_error:!1},rt=e=>Object.assign({},Ln,e),We=function(e,t){let n;const o="LazyLoad::Initialized",a=new e(t);try{n=new CustomEvent(o,{detail:{instance:a}})}catch{n=document.createEvent("CustomEvent"),n.initCustomEvent(o,!1,!1,{instance:a})}window.dispatchEvent(n)},Cn=(e,t)=>{if(t)if(t.length)for(let n,o=0;n=t[o];o+=1)We(e,n);else We(e,t)},O="src",Te="srcset",He="sizes",it="poster",te="llOriginalAttrs",st="data",Ne="loading",lt="loaded",ct="applied",kn="entered",Me="error",dt="native",mt="data-",ut="ll-status",L=(e,t)=>e.getAttribute(mt+t),An=(e,t,n)=>{const o=mt+t;n!==null?e.setAttribute(o,n):e.removeAttribute(o)},ne=e=>L(e,ut),j=(e,t)=>An(e,ut,t),fe=e=>j(e,null),Re=e=>ne(e)===null,xn=e=>ne(e)===Ne,In=e=>ne(e)===Me,Pe=e=>ne(e)===dt,Sn=[Ne,lt,ct,Me],On=e=>Sn.indexOf(ne(e))>=0,M=(e,t,n,o)=>{e&&typeof e=="function"&&(o===void 0?n===void 0?e(t):e(t,n):e(t,n,o))},G=(e,t)=>{N&&t!==""&&e.classList.add(t)},I=(e,t)=>{N&&t!==""&&e.classList.remove(t)},Tn=e=>{e.llTempImage=document.createElement("IMG")},Hn=e=>{delete e.llTempImage},ft=e=>e.llTempImage,pe=(e,t)=>{if(!t)return;const n=t._observer;n&&n.unobserve(e)},Nn=e=>{e.disconnect()},Mn=(e,t,n)=>{t.unobserve_entered&&pe(e,n)},Ye=(e,t)=>{e&&(e.loadingCount+=t)},Rn=e=>{e&&(e.toLoadCount-=1)},pt=(e,t)=>{e&&(e.toLoadCount=t)},Pn=e=>e.loadingCount>0,Yn=e=>e.toLoadCount>0,gt=e=>{let t=[];for(let n,o=0;n=e.children[o];o+=1)n.tagName==="SOURCE"&&t.push(n);return t},je=(e,t)=>{const n=e.parentNode;n&&n.tagName==="PICTURE"&>(n).forEach(t)},vt=(e,t)=>{gt(e).forEach(t)},ge=[O],ht=[O,it],X=[O,Te,He],bt=[st],ve=e=>!!e[te],_t=e=>e[te],yt=e=>delete e[te],F=(e,t)=>{if(ve(e))return;const n={};t.forEach(o=>{n[o]=e.getAttribute(o)}),e[te]=n},jn=e=>{ve(e)||(e[te]={backgroundImage:e.style.backgroundImage})},Y=(e,t)=>{if(!ve(e))return;const n=_t(e);t.forEach(o=>{((a,i,l)=>{l?a.setAttribute(i,l):a.removeAttribute(i)})(e,o,n[o])})},Bn=e=>{if(!ve(e))return;const t=_t(e);e.style.backgroundImage=t.backgroundImage},Et=(e,t,n)=>{G(e,t.class_applied),j(e,ct),n&&(t.unobserve_completed&&pe(e,t),M(t.callback_applied,e,n))},$t=(e,t,n)=>{G(e,t.class_loading),j(e,Ne),n&&(Ye(n,1),M(t.callback_loading,e,n))},H=(e,t,n)=>{n&&e.setAttribute(t,n)},Ze=(e,t)=>{H(e,He,L(e,t.data_sizes)),H(e,Te,L(e,t.data_srcset)),H(e,O,L(e,t.data_src))},qn=(e,t)=>{je(e,n=>{F(n,X),Ze(n,t)}),F(e,X),Ze(e,t)},Un=(e,t)=>{F(e,ge),H(e,O,L(e,t.data_src))},Vn=(e,t)=>{vt(e,n=>{F(n,ge),H(n,O,L(n,t.data_src))}),F(e,ht),H(e,it,L(e,t.data_poster)),H(e,O,L(e,t.data_src)),e.load()},Dn=(e,t)=>{F(e,bt),H(e,st,L(e,t.data_src))},Fn=(e,t,n)=>{const o=L(e,t.data_bg),a=L(e,t.data_bg_hidpi),i=at&&a?a:o;i&&(e.style.backgroundImage=`url("${i}")`,ft(e).setAttribute(O,i),$t(e,t,n))},Gn=(e,t,n)=>{const o=L(e,t.data_bg_multi),a=L(e,t.data_bg_multi_hidpi),i=at&&a?a:o;i&&(e.style.backgroundImage=i,Et(e,t,n))},Wn=(e,t,n)=>{const o=L(e,t.data_bg_set);if(!o)return;let a=o.split("|").map(i=>`image-set(${i})`);e.style.backgroundImage=a.join(),Et(e,t,n)},zt={IMG:qn,IFRAME:Un,VIDEO:Vn,OBJECT:Dn},Zn=(e,t)=>{const n=zt[e.tagName];n&&n(e,t)},Kn=(e,t,n)=>{const o=zt[e.tagName];o&&(o(e,t),$t(e,t,n))},Jn=["IMG","IFRAME","VIDEO","OBJECT"],Xn=e=>Jn.indexOf(e.tagName)>-1,wt=(e,t)=>{!t||Pn(t)||Yn(t)||M(e.callback_finish,t)},Ke=(e,t,n)=>{e.addEventListener(t,n),e.llEvLisnrs[t]=n},Qn=(e,t,n)=>{e.removeEventListener(t,n)},Be=e=>!!e.llEvLisnrs,eo=(e,t,n)=>{Be(e)||(e.llEvLisnrs={});const o=e.tagName==="VIDEO"?"loadeddata":"load";Ke(e,o,t),Ke(e,"error",n)},ke=e=>{if(!Be(e))return;const t=e.llEvLisnrs;for(let n in t){const o=t[n];Qn(e,n,o)}delete e.llEvLisnrs},Lt=(e,t,n)=>{Hn(e),Ye(n,-1),Rn(n),I(e,t.class_loading),t.unobserve_completed&&pe(e,n)},to=(e,t,n,o)=>{const a=Pe(t);Lt(t,n,o),G(t,n.class_loaded),j(t,lt),M(n.callback_loaded,t,o),a||wt(n,o)},no=(e,t,n,o)=>{const a=Pe(t);Lt(t,n,o),G(t,n.class_error),j(t,Me),M(n.callback_error,t,o),n.restore_on_error&&Y(t,X),a||wt(n,o)},Ae=(e,t,n)=>{const o=ft(e)||e;Be(o)||eo(o,a=>{to(0,e,t,n),ke(o)},a=>{no(0,e,t,n),ke(o)})},xe=(e,t,n)=>{Xn(e)?((o,a,i)=>{Ae(o,a,i),Kn(o,a,i)})(e,t,n):((o,a,i)=>{Tn(o),Ae(o,a,i),jn(o),Fn(o,a,i),Gn(o,a,i),Wn(o,a,i)})(e,t,n)},oo=(e,t,n)=>{e.setAttribute("loading","lazy"),Ae(e,t,n),Zn(e,t),j(e,dt)},Je=e=>{e.removeAttribute(O),e.removeAttribute(Te),e.removeAttribute(He)},ao=e=>{je(e,t=>{Je(t)}),Je(e)},Ct=e=>{je(e,t=>{Y(t,X)}),Y(e,X)},ro=e=>{vt(e,t=>{Y(t,ge)}),Y(e,ht),e.load()},io=e=>{Y(e,ge)},so=e=>{Y(e,bt)},lo={IMG:Ct,IFRAME:io,VIDEO:ro,OBJECT:so},co=(e,t)=>{(n=>{const o=lo[n.tagName];o?o(n):Bn(n)})(e),((n,o)=>{Re(n)||Pe(n)||(I(n,o.class_entered),I(n,o.class_exited),I(n,o.class_applied),I(n,o.class_loading),I(n,o.class_loaded),I(n,o.class_error))})(e,t),fe(e),yt(e)},mo=(e,t,n,o)=>{n.cancel_on_exit&&xn(e)&&e.tagName==="IMG"&&(ke(e),ao(e),Ct(e),I(e,n.class_loading),Ye(o,-1),fe(e),M(n.callback_cancel,e,t,o))},uo=(e,t,n,o)=>{const a=On(e);j(e,kn),G(e,n.class_entered),I(e,n.class_exited),Mn(e,n,o),M(n.callback_enter,e,t,o),a||xe(e,n,o)},fo=(e,t,n,o)=>{Re(e)||(G(e,n.class_exited),mo(e,t,n,o),M(n.callback_exit,e,t,o))},po=["IMG","IFRAME","VIDEO"],kt=e=>e.use_native&&"loading"in HTMLImageElement.prototype,go=(e,t,n)=>{e.forEach(o=>{po.indexOf(o.tagName)!==-1&&oo(o,t,n)}),pt(n,0)},vo=e=>e.isIntersecting||e.intersectionRatio>0,ho=(e,t)=>{t.forEach(n=>{e.observe(n)})},bo=(e,t)=>{Nn(e),ho(e,t)},_o=(e,t)=>{kt(e)||(t._observer=new IntersectionObserver(n=>{((o,a,i)=>{o.forEach(l=>vo(l)?uo(l.target,l,a,i):fo(l.target,l,a,i))})(n,e,t)},(n=>({root:n.container===document?null:n.container,rootMargin:n.thresholds||n.threshold+"px"}))(e)))},At=e=>Array.prototype.slice.call(e),me=e=>e.container.querySelectorAll(e.elements_selector),yo=e=>At(e).filter(Re),Eo=e=>In(e),$o=e=>At(e).filter(Eo),Xe=(e,t)=>yo(e||me(t)),zo=(e,t)=>{$o(me(e)).forEach(n=>{I(n,e.class_error),fe(n)}),t.update()},wo=(e,t)=>{N&&(t._onlineHandler=()=>{zo(e,t)},window.addEventListener("online",t._onlineHandler))},Lo=e=>{N&&window.removeEventListener("online",e._onlineHandler)},K=function(e,t){const n=rt(e);this._settings=n,this.loadingCount=0,_o(n,this),wo(n,this),this.update(t)};K.prototype={update:function(e){const t=this._settings,n=Xe(e,t);pt(this,n.length),ot?this.loadAll(n):kt(t)?go(n,t,this):bo(this._observer,n)},destroy:function(){this._observer&&this._observer.disconnect(),Lo(this),me(this._settings).forEach(e=>{yt(e)}),delete this._observer,delete this._settings,delete this._onlineHandler,delete this.loadingCount,delete this.toLoadCount},loadAll:function(e){const t=this._settings;Xe(e,t).forEach(n=>{pe(n,this),xe(n,t,this)})},restoreAll:function(){const e=this._settings;me(e).forEach(t=>{co(t,e)})}},K.load=(e,t)=>{const n=rt(t);xe(e,n)},K.resetStatus=e=>{fe(e)},N&&Cn(K,window.lazyLoadOptions);function Co(e={}){return document.querySelectorAll(".lazy").forEach(t=>{const n=t.getAttribute("src");t.removeAttribute("src"),t.setAttribute("data-src",n??"")}),new K({elements_selector:".lazy",...e})}function ko(){const e=Q();e.value.vanillaLazyload.enable&&ue(()=>{Co(e.value.vanillaLazyload)})}const Ao={key:0,text:"center"},xo=["href"],Io={m:"y-4",class:"end flex justify-center items-center"},So={p:"x-4",font:"bold",class:"whitespace-nowrap"},Oo=ee({__name:"ValaxyMd",props:{frontmatter:{},excerpt:{}},setup(e){const t=e,{t:n}=Oe(),o=Zt();return et(()=>{pn(o.value)}),ue(()=>{se()}),Kt(()=>{se()}),t.frontmatter.aplayer&&vn(),t.frontmatter.codepen&&hn(),nn(),wn(),tn(),(typeof t.frontmatter.medium_zoom>"u"||t.frontmatter.medium_zoom)&&mn(),ko(),(a,i)=>a.$slots.default?(x(),D("article",{key:0,class:Ce(a.frontmatter.markdownClass||"markdown-body")},[y(a.$slots,"default",{ref_key:"contentRef",ref:o,onVnodeUpdated:i[0]||(i[0]=(...l)=>h(se)&&h(se)(...l))}),a.frontmatter.url?(x(),D("div",Ao,[_("a",{href:a.frontmatter.url,class:"post-link-btn shadow hover:shadow-md",rounded:"",target:"_blank",m:"b-4"},P(h(n)("post.view_link")),9,xo)])):k("v-if",!0),a.frontmatter.end!==void 0?y(a.$slots,"end",{key:1},()=>[_("div",Io,[i[1]||(i[1]=_("hr",{class:"line inline-flex",w:"full",m:"!y-2"},null,-1)),_("span",So,P(a.frontmatter.end?"Q.E.D.":"To Be Continued."),1),i[2]||(i[2]=_("hr",{class:"line inline-flex",w:"full",m:"!y-2"},null,-1))])]):k("v-if",!0)],2)):k("v-if",!0)}}),To={key:0,class:"yun-time-warning",op:"80"},Ho=ee({__name:"YunMdTimeWarning",setup(e){Le.extend(Ft);const t=Ie(),{t:n}=Oe(),o=S(()=>Le(t.value.updated||t.value.date)),a=S(()=>{const l=o.value.fromNow();return/^\d/.test(l)?` ${l}`:l}),i=S(()=>{const l=Le().valueOf()-o.value.valueOf();return typeof t.value.time_warning=="number"?l>t.value.time_warning:t.value.time_warning});return(l,m)=>i.value?(x(),D("blockquote",To,P(h(n)("post.time_warning",{ago:a.value})),1)):k("v-if",!0)}}),No={class:"ai-generated-excerpt rounded-lg bg-$va-c-bg-alt p-4"},Mo={font:"black",flex:"","items-center":""},Ro={op:"90","mt-1":""},Po=ee({__name:"YunAiExcerpt",setup(e){const t=Ie(),{t:n}=Oe();return(o,a)=>(x(),D("div",No,[_("div",Mo,[a[0]||(a[0]=_("div",{"mr-1":"","i-ri-robot-2-line":""},null,-1)),_("div",null,P(h(n)("excerpt.ai")),1)]),_("div",Ro,P(h(t).excerpt),1)]))}}),Yo={class:"yun-main lt-md:w-full",flex:"~ center"},jo={class:"mt-8 mb-4"},Bo={p:"x-4 b-8",class:"sm:px-6 lg:px-12 xl:px-16",w:"full"},Jo=ee({__name:"ValaxyMain",props:{frontmatter:{},data:{}},setup(e){const t=e,n=Bt(),o=Q(),{styles:a,icon:i,color:l}=en(t.frontmatter.type),m=qt(S(()=>t.frontmatter)),g=S(()=>t.frontmatter.aside!==!1),w=tt(),he=Gt();return Jt(()=>{w.hash&&setTimeout(()=>{nt(document.body,w.hash,{smooth:!0})},0)}),et(()=>{un(he)}),(u,qe)=>{const oe=Qt,C=Po,ae=Ho,be=Oo,_e=Ut,ye=zn,E=Dt,B=Vt;return x(),D("main",Yo,[y(u.$slots,"main",{},()=>[_("div",{class:Ce(["content w-full md:w-3xl lg:w-2xl xl:w-2xl 2xl:w-4xl",{"no-aside":!g.value}]),flex:"~ col grow",p:"lt-md:0"},[Z(_e,{cover:u.frontmatter.cover,m:"0",class:"relative",style:Xt(h(a))},{default:de(()=>[_("div",jo,[y(u.$slots,"main-header",{},()=>[Z(oe,{title:h(m),icon:u.frontmatter.icon||h(i),color:u.frontmatter.color||h(l),cover:u.frontmatter.cover,"page-title-class":u.frontmatter.pageTitleClass},null,8,["title","icon","color","cover","page-title-class"])])]),y(u.$slots,"main-header-after"),_("div",Bo,[y(u.$slots,"main-content-before"),y(u.$slots,"main-content",{},()=>[k(" <Transition appear> "),Z(be,{frontmatter:u.frontmatter},{default:de(()=>[u.frontmatter.excerpt_type==="ai"&&u.frontmatter.excerpt?(x(),J(C,{key:0})):k("v-if",!0),Z(ae),y(u.$slots,"default"),y(u.$slots,"main-content-md")]),_:3},8,["frontmatter"]),k(" </Transition> ")]),y(u.$slots,"main-content-after")])]),_:3},8,["cover","style"]),y(u.$slots,"main-nav-before"),y(u.$slots,"main-nav",{},()=>[u.frontmatter.nav!==!1?(x(),J(ye,{key:0})):k("v-if",!0)]),y(u.$slots,"main-nav-after"),h(o).comment.enable&&u.frontmatter.comment!==!1?y(u.$slots,"comment",{key:0},()=>[Z(E,{class:Ce(u.frontmatter.nav===!1?"mt-4":0)},null,8,["class"])]):k("v-if",!0),h(n).size.isLg?k("v-if",!0):(x(),J(B,{key:1,class:"mt-4"})),y(u.$slots,"main-footer-before"),y(u.$slots,"main-footer-after")],2)])])}}});export{Jo as _};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{i as r,a as i}from"./index.C5okkQwF.js";import"./app.DdNQbQcf.js";import"./chunks/dayjs.Byk5cVHE.js";import{e as p,M as s,u as l,N as m,O as d,U as c}from"./framework.DTsYX98Z.js";import"./chunks/vue-router.iBpRWtK4.js";import"./chunks/nprogress.D5YWUqdw.js";import"./chunks/vue-i18n.BJCfcYj0.js";import"./chunks/pinia.BZCK5L1u.js";import"./chunks/@vueuse/motion.Cu3FxAjX.js";const E=p({__name:"YunAlgoliaSearch",props:{open:{type:Boolean}},setup(_,{expose:e}){if(r(i))throw new Error("Algolia addon is not installed");const{loaded:o,load:a,dispatchEvent:t}=(void 0)();return e({loaded:o,load:a,dispatchEvent:t}),(f,u)=>{const n=s("AlgoliaSearchBox");return l(o)?(m(),d(n,{key:0,class:"hidden"})):c("v-if",!0)}}});export{E as default};
|
@@ -1 +0,0 @@
|
|
1
|
-
.select-options[data-v-63887b80]{margin:0}.comment h1{font-size:2rem;font-weight:600;margin-bottom:1rem}.comment h2{font-size:1.75rem;font-weight:600;margin-bottom:1rem}.comment h3{font-size:1.5rem;font-weight:600;margin-bottom:1rem}.comment h4{font-size:1.2rem;font-weight:600;margin-bottom:1rem}.comment h5{font-size:1rem;font-weight:600;margin-bottom:1rem}.comment h6{font-size:.875rem;font-weight:600;margin-bottom:1rem}.comment ul{list-style:disc;margin-left:1rem;margin-bottom:1rem}.comment ol{list-style:decimal;margin-left:1rem;margin-bottom:1rem}
|
@@ -1 +0,0 @@
|
|
1
|
-
import{L as A,m as S,k as M}from"./app.DdNQbQcf.js";import{i as f,a as v}from"./index.C5okkQwF.js";import"./chunks/dayjs.Byk5cVHE.js";import{e as d,M as w,N as n,O as i,P as c,R as u,u as B,aj as L,ak as W,r as g,S as y,W as x,B as m,a2 as _,a0 as E,F as N,$ as O,a1 as P,a3 as j,a8 as z,L as D,c as R,U as p,Y as T}from"./framework.DTsYX98Z.js";const U=d({__name:"YunArtalk",setup(r){return f(v)||(void 0)(),(a,t)=>{const s=w("ArtalkClient");return n(),i(s)}}}),F=d({__name:"YunTwikoo",setup(r){return f(v)||(void 0)(),(a,t)=>(n(),c("div",null,t[0]||(t[0]=[u("div",{id:"tcomment",w:"full"},null,-1)])))}}),I=d({__name:"YunWaline",setup(r){if(f(v))throw new Error("Please install valaxy-addon-waline");const a=(void 0)();return(t,s)=>{const e=w("WalineClient");return n(),i(e,{w:"full",options:B(a).options||{serverURL:""}},null,8,["options"])}}}),q={"case-capital":"","op-90":""},G={class:"shadow-lg select-options absolute translate-y-1 left-0 top-full w-full bg-$va-c-bg-light overflow-hidden rounded-1"},H=["onClick"],J=d({__name:"YunSelect",props:L({options:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(r){const a=W(r,"modelValue"),t=g(!1);A("click",()=>{t.value=!1});function s(e){e.preventDefault(),e.stopImmediatePropagation(),e.stopPropagation(),t.value=!t.value}return(e,o)=>(n(),c("div",{class:"relative h-8 w-30 text-$va-c-text-2 z-$yun-z-select",onMousedown:o[0]||(o[0]=z(()=>{},["stop"]))},[u("button",{class:x(["flex h-full w-full px-2 items-center justify-between rounded transition",t.value?"border-$va-c-primary":""]),border:"~ gray op-30",onClick:s},[u("span",q,y(a.value),1),o[1]||(o[1]=u("div",{"inline-flex":"","i-ri-arrow-down-s-line":""},null,-1))],2),m(j,{persisted:""},{default:_(()=>[E(u("ul",G,[(n(!0),c(N,null,O(e.options,l=>(n(),c("li",{key:l,class:x(["cursor-pointer list-none px-2 hover:bg-$va-c-primary-light hover:text-white case-capital",{"bg-$va-c-primary text-white":a.value===l}]),onClick:k=>a.value=l},y(l),11,H))),128))],512),[[P,t.value]])]),_:1})],32))}}),K=D(J,[["__scopeId","data-v-63887b80"]]),Q={key:0,class:"flex justify-end w-full mb-2"},ne=d({__name:"YunComment",setup(r){const a=S(),t=["valaxy-addon-waline","valaxy-addon-twikoo","valaxy-addon-artalk"],s=R(()=>t.filter(o=>a.value.addons[o]).map(o=>o.split("-")[2])),e=g(s.value[0]);return(o,l)=>{const k=K,C=I,h=F,$=U,b=w("ClientOnly"),V=M;return n(),i(V,{w:"full",p:"4",class:"comment yun-comment sm:p-6 lg:px-12 xl:px-16"},{default:_(()=>[m(b,null,{default:_(()=>[s.value.length>1?(n(),c("div",Q,[m(k,{modelValue:e.value,"onUpdate:modelValue":l[0]||(l[0]=Y=>e.value=Y),options:s.value},null,8,["modelValue","options"])])):p("v-if",!0),e.value==="waline"?(n(),i(C,{key:1})):p("v-if",!0),e.value==="twikoo"?(n(),i(h,{key:2})):p("v-if",!0),e.value==="artalk"?(n(),i($,{key:3})):p("v-if",!0),T(o.$slots,"default")]),_:3})]),_:3})}}});export{ne as _};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{_ as o}from"./gallery.CMbHzHw3.js";import"./framework.DTsYX98Z.js";import"./app.DdNQbQcf.js";import"./chunks/vue-router.iBpRWtK4.js";import"./chunks/dayjs.Byk5cVHE.js";import"./chunks/nprogress.D5YWUqdw.js";import"./chunks/vue-i18n.BJCfcYj0.js";import"./chunks/pinia.BZCK5L1u.js";import"./chunks/@vueuse/motion.Cu3FxAjX.js";import"./YunPageHeader.vue_vue_type_script_setup_true_lang.DdS3O7Sb.js";export{o as default};
|
package/template-blog/dist/assets/YunPageHeader.vue_vue_type_script_setup_true_lang.DdS3O7Sb.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
import{e as n,N as s,P as a,R as o,W as l,U as t,S as i,Z as r}from"./framework.DTsYX98Z.js";const c={class:"post-header"},p={"inline-flex":"",class:"leading-none"},_=n({__name:"YunPageHeader",props:{pageTitleClass:{},color:{},icon:{},title:{}},setup(m){return(e,d)=>(s(),a("header",c,[o("h1",{class:l(["post-title flex-center",e.pageTitleClass]),p:"2",text:"2xl center",font:"serif black",style:r(`color:${e.color}`)},[e.icon?(s(),a("div",{key:0,class:l(["icon",e.icon]),m:"r-1 t-1px","inline-flex":""},null,2)):t("v-if",!0),o("span",p,i(e.title),1)],6)]))}});export{_};
|
@@ -1 +0,0 @@
|
|
1
|
-
.post-collapse .post-header:before{content:"";position:absolute;left:0;width:10px;height:10px;margin-left:-4px;border-radius:50%;border:1px solid var(--va-c-primary);background-color:var(--va-c-bg-light);z-index:1;transition:background var(--va-transition-duration)}.post-collapse .post-header:after{content:"";position:absolute;bottom:0;left:0;width:0;height:1px;background-color:rgba(var(--va-c-primary-rgb),.3);transition:width .8s cubic-bezier(.18,.66,.05,.96)}.post-collapse .post-header.show:after{width:100%}.post-collapse .post-header:hover:before{background:var(--va-c-primary)}.post-collapse .post-header .post-title{margin-left:.1rem;padding:0;font-size:1rem}.post-collapse .post-header .post-title .post-title-link .icon{width:1.1rem;height:1.1rem;margin-right:.3rem}.post-collapse .post-header .post-meta{font-size:1rem;margin:1rem 0 1rem 1.2rem;white-space:nowrap}.post-collapse .post-item:before{content:"";position:absolute;width:2px;height:0;background:rgba(var(--va-c-primary-rgb),.3);transition:height .6s cubic-bezier(.18,.66,.05,.96)}.post-collapse .post-item.show:before{height:100%}.post-collapse .collection-title{border-bottom:2px solid rgba(var(--va-c-primary-rgb),.6)}.post-collapse .collection-title:before{content:"";position:absolute;top:50%;width:2px;height:50%;background:rgba(var(--va-c-primary-rgb),.3)}.post-collapse .collection-title .archive-year{color:var(--va-c-primary);margin:0 1.5rem}.post-collapse .collection-title .archive-year:before{content:"";position:absolute;left:0;top:35%;margin-left:-11px;margin-top:-4px;width:1.5rem;height:1.5rem;background:var(--va-c-primary);border-radius:50%}
|
package/template-blog/dist/assets/YunPostCollapse.vue_vue_type_style_index_0_lang.BDOzPdAI.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
import{u as D}from"./chunks/@vueuse/motion.Cu3FxAjX.js";import{C as x,D as $}from"./app.DdNQbQcf.js";import"./chunks/dayjs.Byk5cVHE.js";import{e as C,r as u,M as N,N as o,P as a,R as n,S as d,u as _,U as g,B as Y,a2 as b,V as R,W as y,w as V,c as I,a3 as L,F as k,$ as w,O as M}from"./framework.DTsYX98Z.js";import{u as P}from"./chunks/vue-i18n.BJCfcYj0.js";const E={class:"post-meta"},F={key:0,class:"post-time",font:"mono",opacity:"80"},S={class:"post-title w-full","inline-flex":"","items-center":"",font:"serif black"},T=C({__name:"YunPostCollapseItem",props:{i:{},post:{}},setup(m){const p=m,c=u(!1),i=u();return D(i,{initial:{opacity:0,y:20},enter:{opacity:1,y:0,transition:{duration:200,delay:p.i*50,onComplete(){c.value=!0}}}}),(e,l)=>{const v=N("RouterLink");return o(),a("article",{ref_key:"itemRef",ref:i,class:y(["post-item relative",{show:c.value}])},[n("header",{class:y(["post-header cursor-pointer w-full",{show:c.value}]),flex:"~","items-center":"",relative:"",hover:"bg-black/1"},[n("div",E,[e.post.date?(o(),a("time",F,d(_(x)(e.post.date,{template:"MM-DD"})),1)):g("v-if",!0)]),n("h2",S,[Y(v,{to:e.post.path||"",class:"post-title-link"},{default:b(()=>[R(d(e.post.title),1)]),_:1},8,["to"])])],2)],2)}}}),z={class:"post-collapse px-10 lt-sm:px-5 max-w-3xl",relative:""},O={w:"full",text:"center",class:"yun-text-light",p:"2"},U={class:"post-collapse-action",text:"center"},W={key:0,"i-ri-sort-desc":""},q={key:1,"i-ri-sort-asc":""},A={class:"collection-title","m-0":"",relative:""},G=["id"],Z=C({__name:"YunPostCollapse",props:{posts:{}},setup(m){const p=m,{t:c}=P(),i=u([]),e=u({});V(()=>p.posts,()=>{e.value={},i.value=[],p.posts.forEach(s=>{if(!(s.hide&&s.hide!=="index")&&s.date){const t=Number.parseInt(x(s.date,{template:"YYYY"}));e.value[t]?e.value[t].push(s):(i.value.push(t),e.value[t]=[s])}})},{immediate:!0});const l=u(!0),v=I(()=>{const t=i.value.sort((h,r)=>r-h);return l.value?t:[...t].reverse()});return(s,t)=>{const h=T;return o(),a("div",z,[Y(L,{appear:"","enter-active-class":"animate-fade-in animate-duration-400"},{default:b(()=>[n("div",O,d(_(c)("counter.archives",s.posts.length)),1)]),_:1}),n("div",U,[n("button",{class:"yun-icon-btn shadow hover:shadow-md",onClick:t[0]||(t[0]=r=>l.value=!l.value)},[l.value?(o(),a("div",W)):(o(),a("div",q))])]),(o(!0),a(k,null,w(v.value,r=>(o(),a("div",{key:r,m:"b-6"},[n("div",A,[n("h2",{id:`#archive-year-${r}`,class:"archive-year",text:"4xl",p:"y-2"},d(r),9,G)]),(o(!0),a(k,null,w(_($)(e.value[r],l.value),(B,f)=>(o(),M(h,{key:f,post:B,i:f},null,8,["post","i"]))),128))]))),128))])}}});export{Z as _};
|
@@ -1 +0,0 @@
|
|
1
|
-
:root{--page-btn-bg-color: rgb(255 255 255 / .5);--page-btn-hover-bg-color: var(--va-c-primary-lighter);--page-btn-active-bg-color: var(--va-c-primary-light)}.dark{--page-btn-bg-color: var(--va-c-bg-light)}.pagination{display:flex;justify-content:center;align-items:center}.pagination .prev,.pagination .next,.pagination .page-number,.pagination .space{display:inline-flex;justify-content:center;align-items:center;width:2rem;height:2rem;margin:0}.pagination .prev[disabled],.pagination .next[disabled],.pagination .page-number[disabled],.pagination .space[disabled]{color:var(--va-c-text-light);background-color:var(--va-c-bg-mute)}.pagination .prev,.pagination .next,.pagination .page-number{cursor:pointer;color:var(--va-c-text);text-decoration:none;background-color:var(--page-btn-bg-color)}.pagination .prev:hover,.pagination .next:hover,.pagination .page-number:hover{color:#fff;background:var(--page-btn-hover-bg-color)}.pagination .prev:active,.pagination .next:active,.pagination .page-number:active{color:#fff;background:var(--page-btn-active-bg-color)}.pagination .prev.active,.pagination .next.active,.pagination .page-number.active{color:#fff;font-weight:400;background:var(--page-btn-active-bg-color);cursor:default}@keyframes card-appear{0%{opacity:0;transform:scale(.8) translateY(20px)}to{opacity:1;transform:scale(1) translateY(0)}}.yun-card-actions{border-top:1px solid rgba(122,122,122,.05)}
|
package/template-blog/dist/assets/YunPostList.vue_vue_type_script_setup_true_lang.eA57GRPM.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
import{_ as Y,k as N,g as B,l as R}from"./app.DdNQbQcf.js";import"./chunks/dayjs.Byk5cVHE.js";import{a as j}from"./chunks/vue-router.iBpRWtK4.js";import{c as i,e as S,M,N as t,P as a,u as o,O as w,a2 as x,R as f,U as l,F as C,$ as T,V,S as z,W as b,L as E,r as L,B as $,Z as F}from"./framework.DTsYX98Z.js";import{b as H,_ as I,a as A}from"./YunPostMeta.vue_vue_type_style_index_0_lang.kGr0Mwvt.js";import{u as D}from"./post.Ct0b7r_k.js";import{u as G}from"./chunks/vue-i18n.BJCfcYj0.js";function O(m){const d=j(),s=i(()=>Number.parseInt(d.params.page||"1")),n=i(()=>Math.ceil(m.total/m.pageSize)),_=i(()=>s.value===1||s.value===n.value?3:2);function h(r){return r===1||r===n.value?!0:r>s.value-_.value&&r<s.value+_.value}function c(r){return r===1?"/":`/page/${r}`}const v=i(()=>c(s.value-1)),e=i(()=>c(s.value+1)),p=i(()=>s.value>1),k=i(()=>s.value<n.value);return{curPage:s,totalPages:n,showPage:h,surLen:_,getTo:c,prevTo:v,nextTo:e,showPrev:p,showNext:k}}const U={class:"pagination"},W=S({__name:"YunPagination",props:{total:{},pageSize:{}},setup(m,{expose:d}){const s=m,{curPage:n,totalPages:_,showPage:h,getTo:c,surLen:v,prevTo:e,nextTo:p,showPrev:k,showNext:r}=O({total:s.total,pageSize:s.pageSize});return d({curPage:n}),(P,g)=>{const y=M("RouterLink");return t(),a("nav",U,[o(k)?(t(),w(y,{key:0,class:"page-number",to:o(e),"aria-label":"prev"},{default:x(()=>g[0]||(g[0]=[f("div",{"i-ri-arrow-left-s-line":""},null,-1)])),_:1},8,["to"])):l("v-if",!0),(t(!0),a(C,null,T(o(_),u=>(t(),a(C,null,[o(h)(u)?(t(),w(y,{key:u,class:b(["page-number",o(n)===u&&"active"]),to:o(c)(u)},{default:x(()=>[V(z(u),1)]),_:2},1032,["class","to"])):u===o(n)-o(v)?(t(),a("span",{key:`prev-space-${u}`,class:"space",disabled:""}," ... ")):u===o(n)+o(v)?(t(),a("span",{key:`next-space-${u}`,class:"space",disabled:""}," ... ")):l("v-if",!0)],64))),256)),o(r)?(t(),w(y,{key:1,class:"page-number",to:o(p),"aria-label":"next"},{default:x(()=>g[1]||(g[1]=[f("div",{"i-ri-arrow-right-s-line":""},null,-1)])),_:1},8,["to"])):l("v-if",!0)])}}}),Z={},q={w:"full",h:"10",class:"absolute bottom-0 bg-gradient-to-t from-$va-c-bg-light to-transparent z-1"};function J(m,d){return t(),a("div",q)}const K=E(Z,[["render",J]]),Q={class:"flex flex-1 of-hidden justify-start items-start post-card-info",w:"full"},X=["src","alt"],ee={class:"flex-center title text-2xl",text:"center",font:"serif black"},te={flex:"~ grow col",w:"full",justify:"center",items:"center"},se={key:0,py:"1"},oe=["innerHTML"],ae={key:2,m:"b-5"},ne=["href"],re={w:"full",class:"yun-card-actions flex justify-between","min-h":"10",text:"sm"},le={class:"post-categories inline-flex",flex:"wrap 1",items:"center"},ie=S({__name:"YunPostCard",props:{post:{}},setup(m){const d=m,{t:s}=G(),{icon:n,styles:_,color:h}=D(d.post.type),c=L("bg-gradient-to-r gradient-text from-$va-c-primary to-$va-c-primary-lighter"),v=i(()=>h?"":d.post.postTitleClass||c.value);return(e,p)=>{const k=Y,r=H,P=K,g=I,y=A,u=N;return t(),w(u,{class:b(["w-full",e.post.cover?"post-card-image":"post-card"]),m:"auto",overflow:"hidden",style:F(o(_))},{default:x(()=>[f("div",Q,[e.post.cover?(t(),a("img",{key:0,src:e.post.cover,alt:o(s)("post.cover"),width:"320",height:"180",w:"40%",h:"54",class:"cover object-cover object-center md:shadow",loading:"lazy"},null,8,X)):l("v-if",!0),f("div",{class:b(["flex flex-col items-center relative",e.post.cover&&"h-54"]),w:"full"},[$(k,{class:b(["post-title-link cursor-pointer",v.value]),to:e.post.path||"",m:"t-3"},{default:x(()=>[f("div",ee,[e.post.type?(t(),a("div",{key:0,class:b(["inline-flex",o(n)]),m:"r-1"},null,2)):l("v-if",!0),f("span",null,z(e.post.title),1)])]),_:1},8,["to","class"]),$(r,{frontmatter:e.post},null,8,["frontmatter"]),f("div",te,[e.post.excerpt_type==="text"?(t(),a("div",se)):l("v-if",!0),e.post.excerpt?(t(),a("div",{key:1,class:"markdown-body",op:"90",text:"left",w:"full",p:"x-6 lt-sm:4 y-2",innerHTML:e.post.excerpt},null,8,oe)):(t(),a("div",ae))]),l(' <div m="b-5" /> '),e.post.excerpt?(t(),w(P,{key:0})):l("v-if",!0),e.post.url?(t(),a("a",{key:1,href:e.post.url,class:"post-link-btn shadow hover:shadow-md z-2",rounded:"",target:"_blank",m:"b-4"},z(o(s)("post.view_link")),9,ne)):l("v-if",!0)],2)]),l(" always show "),f("div",re,[f("div",le,[$(g,{m:"l-1",categories:e.post.categories},null,8,["categories"])]),e.post.tags?(t(),w(y,{key:0,m:"1",tags:e.post.tags},null,8,["tags"])):l("v-if",!0)])]),_:1},8,["class","style"])}}}),ce={flex:"~ col",class:"yun-post-list gap-4",w:"full",p:"x-4 lt-sm:0"},ue={key:0,py2:"",op50:"","text-center":""},he=S({__name:"YunPostList",props:{type:{},posts:{}},setup(m){const d=m,s=L(),n=i(()=>{var p;return((p=s.value)==null?void 0:p.curPage)||1}),_=B(),h=R(),c=i(()=>h.value.pageSize),v=i(()=>(d.posts||_.postList).filter(p=>!p.hide)),e=i(()=>v.value.slice((n.value-1)*c.value,n.value*c.value));return(p,k)=>{const r=ie,P=W;return t(),a(C,null,[f("div",ce,[e.value.length?l("v-if",!0):(t(),a("div",ue," 博主还什么都没写哦~ ")),(t(!0),a(C,null,T(e.value,(g,y)=>(t(),w(r,{key:y,post:g},null,8,["post"]))),128))]),$(P,{ref_key:"paginationRef",ref:s,class:"mt-5",total:v.value.length,"page-size":c.value},null,8,["total","page-size"])],64)}}});export{he as _};
|
@@ -1 +0,0 @@
|
|
1
|
-
.post-draft-icon{position:absolute;top:1rem;left:1rem;color:var(--va-c-gray);font-size:1.2rem}.post-top-icon{position:absolute;top:1rem;right:1rem;font-size:1.2rem}
|
@@ -1 +0,0 @@
|
|
1
|
-
import{e as m,M as h,N as t,P as o,F as y,$ as x,O as k,a2 as $,R as e,S as u,c as b,u as a,U as l,W as C,B as v}from"./framework.DTsYX98Z.js";import{m as M,C as _,F as R,l as Y}from"./app.DdNQbQcf.js";import{a as P}from"./chunks/vue-router.iBpRWtK4.js";import"./chunks/dayjs.Byk5cVHE.js";import{u as c}from"./chunks/vue-i18n.BJCfcYj0.js";import{f as g}from"./index.BXCNz9_b.js";const j={class:"post-tags inline-flex",items:"center",gap:"1",flex:"wrap 1",justify:"end"},rt=m({__name:"YunPostTags",props:{tags:{}},setup(f){return(s,i)=>{const r=h("RouterLink");return t(),o("div",j,[(t(!0),o(y,null,x(s.tags,(n,d)=>(t(),k(r,{key:d,to:{path:"/tags/",query:{tag:n}},class:"transition post-tag inline-flex-center text-xs border-$va-c-divider","px-2":"",h:"7","rounded-full":"",border:"",hover:"bg-blue-500 text-white"},{default:$(()=>[e("span",null,u(n),1)]),_:2},1032,["to"]))),128))])}}}),at=m({__name:"YunPostCategories",props:{categories:{}},setup(f){return(s,i)=>{const r=h("RouterLink");return t(),k(r,{to:{path:"/categories",query:{category:Array.isArray(s.categories)?s.categories.join("/"):s.categories}},class:"transition post-category inline-flex-center text-xs border-$va-c-divider","px-2":"",h:"7",border:"","rounded-full":"",hover:"bg-blue-500 text-white"},{default:$(()=>[i[0]||(i[0]=e("div",{m:"x-1","inline-flex":"","i-ri-folder-2-line":""},null,-1)),e("span",null,u(Array.isArray(s.categories)?s.categories.join(" / "):s.categories),1)]),_:1},8,["to"])}}}),A={key:0,class:"inline-flex gap-4",text:"sm",h:"5"},B=["title"],L=["data-path"],D=["title"],N=["data-path"],S=m({__name:"YunWalineMeta",setup(f){const s=P(),i=M(),r=b(()=>i.value.addons["valaxy-addon-waline"]),{t:n}=c();return(d,p)=>r.value&&r.value.options?(t(),o("div",A,[r.value.options.pageview?(t(),o("div",{key:0,"inline-flex":"",justify:"center",items:"center",title:a(n)("post.pageview_count")},[p[0]||(p[0]=e("div",{"inline-flex":"","i-ri-eye-line":""},null,-1)),e("span",{"ml-1":"","inline-flex":"",class:"waline-pageview-count op-80","data-path":a(s).path},null,8,L)],8,B)):l("v-if",!0),r.value.options.comment?(t(),o("div",{key:1,"inline-flex":"",justify:"center",items:"center",title:a(n)("post.comment_count")},[p[1]||(p[1]=e("div",{"inline-flex":"","i-ri-chat-4-line":""},null,-1)),e("span",{"ml-1":"","inline-flex":"",class:"waline-comment-count op-80","data-path":a(s).path},null,8,N)],8,D)):l("v-if",!0)])):l("v-if",!0)}}),T={key:0,class:"post-time flex items-center gap-4"},W=["title"],F={class:"op-80"},V=["title"],q={class:"op-80"},z=m({__name:"YunPostDateMeta",props:{frontmatter:{}},setup(f){const{t:s}=c();return(i,r)=>i.frontmatter.date?(t(),o("div",T,[e("span",{class:"posted-time inline-flex-center gap-1",title:a(s)("post.posted")+a(g)(i.frontmatter.date)},[r[0]||(r[0]=e("div",{class:"inline-block","i-ri-calendar-line":""},null,-1)),e("time",F,u(a(_)(i.frontmatter.date)),1)],8,W),i.frontmatter.updated&&i.frontmatter.updated!==i.frontmatter.date?(t(),o("span",{key:0,class:"edited-time inline-flex-center gap-1",title:a(s)("post.edited")+a(g)(i.frontmatter.updated)},[r[1]||(r[1]=e("div",{"i-ri-calendar-2-line":""},null,-1)),e("time",q,u(a(_)(i.frontmatter.updated)),1)],8,V)):l("v-if",!0)])):l("v-if",!0)}}),E={key:0,class:"post-draft-icon",title:"draft"},I=["title"],O={key:0,"i-ri-eye-close-line":""},U={key:1,"i-ri-eye-off-line":""},G={key:2,class:"post-top-icon",color:"$va-c-warning"},H={class:"inline-flex-center gap-4"},J={key:0,class:"inline-flex-center post-counter gap-4"},K=["title"],Q={class:"op-80"},X=["title"],Z={class:"op-80"},lt=m({__name:"YunPostMeta",props:{frontmatter:{}},setup(f){const s=R(),{t:i}=c(),r=Y();return(n,d)=>{const p=z,w=S;return t(),o(y,null,[n.frontmatter.draft?(t(),o("div",E,d[0]||(d[0]=[e("div",{"i-ri-draft-line":""},null,-1)]))):l("v-if",!0),n.frontmatter.hide?(t(),o("div",{key:1,class:"post-top-icon",color:"$va-c-danger",title:`hide:${n.frontmatter.hide}`},[n.frontmatter.hide==="index"?(t(),o("div",O)):(t(),o("div",U))],8,I)):l("v-if",!0),n.frontmatter.top?(t(),o("div",G,d[1]||(d[1]=[e("div",{"i-ri-pushpin-line":""},null,-1)]))):l("v-if",!0),n.frontmatter?(t(),o("div",{key:3,class:C(["post-meta gap-4",{"flex-col gap-2!":a(s).isMobile||n.frontmatter.updated}]),flex:"~ center",text:"sm"},[v(p,{frontmatter:n.frontmatter},null,8,["frontmatter"]),e("div",H,[a(r).statistics.enable?(t(),o("div",J,[n.frontmatter.wordCount?(t(),o("span",{key:0,class:"word-count inline-flex-center gap-1",title:a(i)("statistics.word")},[d[2]||(d[2]=e("div",{class:"inline-block","i-ri-file-word-line":""},null,-1)),e("span",Q,u(n.frontmatter.wordCount),1)],8,K)):l("v-if",!0),n.frontmatter.readingTime?(t(),o("span",{key:1,class:"reading-time inline-flex-center gap-1",title:a(i)("statistics.time")},[d[3]||(d[3]=e("div",{"i-ri-timer-line":""},null,-1)),e("time",Z,u(n.frontmatter.readingTime)+"m",1)],8,X)):l("v-if",!0)])):l("v-if",!0),v(w)])],2)):l("v-if",!0)],64)}}});export{at as _,rt as a,lt as b};
|
@@ -1 +0,0 @@
|
|
1
|
-
.sponsor-button{background-color:#ffffff1a}.sponsor-button div{transform:scale(1.1);transition:transform var(--va-transition-duration) ease-in-out}.sponsor-button:hover{background-color:#ffffffe6}.sponsor-button:hover div{transform:scale(1.2)}.sponsor-button a:hover{border:none}.qrcode-container{--height: 200px;overflow:hidden;height:0;opacity:0;transition:all var(--va-transition-duration) cubic-bezier(.77,0,.17,1.02)}.qrcode-container.show{height:var(--height);opacity:1}@media screen and (min-width: 768px){.qrcode-container{--height: 260px}}.sponsor-description{color:var(--va-c-gray)}.sponsor-method-img{width:12rem;max-width:90%;aspect-ratio:1}
|
@@ -1 +0,0 @@
|
|
1
|
-
import{l as m}from"./app.DdNQbQcf.js";import"./chunks/dayjs.Byk5cVHE.js";import{e as f,r as _,c as v,N as n,P as r,R as s,u as i,S as x,U as y,F as h,$ as g,W as c,Z as b}from"./framework.DTsYX98Z.js";import{u as k}from"./chunks/vue-i18n.BJCfcYj0.js";const C={class:"yun-sponsor-container flex-center flex-col"},w=["title"],S={key:0,class:"sponsor-description",mb:"4",text:"sm"},B={class:"flex justify-around"},z=["href"],N=["src","title"],D=f({__name:"YunSponsor",setup($){const{t:d}=k(),o=m(),l=_(!1),u=v(()=>{var a;return((a=o.value.sponsor)==null?void 0:a.title)??d("reward.donate")});return(a,t)=>(n(),r("div",C,[s("button",{class:"sponsor-button yun-icon-btn shadow hover:shadow-md",title:u.value,text:"red-400",onClick:t[0]||(t[0]=e=>l.value=!l.value)},t[1]||(t[1]=[s("div",{class:"mt-2px","i-ri-heart-fill":""},null,-1)]),8,w),s("div",{class:c(["qrcode-container qrcode flex-center flex-col",l.value&&"show"]),m:"y-4"},[i(o).sponsor.description?(n(),r("div",S,x(i(o).sponsor.description),1)):y("v-if",!0),s("div",B,[(n(!0),r(h,null,g(i(o).sponsor.methods,(e,p)=>(n(),r("a",{key:p,class:"flex-center flex-col animate-iteration-1 animate-fade-in",href:e.url,target:"_blank",style:b(`color:${e.color}`)},[s("img",{class:"sponsor-method-img",border:"~ rounded",p:"1",loading:"lazy",src:e.url,title:e.name},null,8,N),s("div",{text:"xl",m:"2",class:c(e.icon)},null,2)],12,z))),128))])],2)]))}});export{D as _};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{u as a,a as s,e as t}from"./chunks/vue-router.iBpRWtK4.js";import{e as n,K as r,P as c,N as p}from"./framework.DTsYX98Z.js";const u=n({__name:"[...path]",setup(f){const o=a(),e=s();return r(()=>{e.path!=="/"&&e.path.endsWith("/")&&o.replace(e.path.slice(0,-1))}),(i,m)=>(p(),c("div"))}});typeof t=="function"&&t(u);export{u as default};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{_ as t}from"./YunPostList.vue_vue_type_script_setup_true_lang.eA57GRPM.js";import{e as r,O as p,N as m}from"./framework.DTsYX98Z.js";import"./app.DdNQbQcf.js";import"./chunks/vue-router.iBpRWtK4.js";import"./chunks/dayjs.Byk5cVHE.js";import"./chunks/nprogress.D5YWUqdw.js";import"./chunks/vue-i18n.BJCfcYj0.js";import"./chunks/pinia.BZCK5L1u.js";import"./chunks/@vueuse/motion.Cu3FxAjX.js";import"./YunPostMeta.vue_vue_type_style_index_0_lang.kGr0Mwvt.js";import"./index.BXCNz9_b.js";import"./animation.CoxzA1iL.js";import"./post.Ct0b7r_k.js";const C=r({__name:"[page]",setup(i){return(e,n)=>{const o=t;return m(),p(o)}}});export{C as default};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{_ as Y,u as L,a as C,b as k,d as x,c as A,e as B,f as P}from"./app.DdNQbQcf.js";import{o as F}from"./index.BXCNz9_b.js";import{e as m,N as a,O as i,a2 as r,R as c,u as o,S as f,P as u,F as b,$ as V,c as w,M as N,B as n,a7 as R}from"./framework.DTsYX98Z.js";import{_ as S}from"./YunPageHeader.vue_vue_type_script_setup_true_lang.DdS3O7Sb.js";import"./chunks/dayjs.Byk5cVHE.js";import{u as D}from"./chunks/vue-i18n.BJCfcYj0.js";import"./chunks/vue-router.iBpRWtK4.js";import"./chunks/nprogress.D5YWUqdw.js";import"./chunks/pinia.BZCK5L1u.js";import"./chunks/@vueuse/motion.Cu3FxAjX.js";import"./animation.CoxzA1iL.js";const E=["title"],I=["src","alt","on-error"],O={class:"yun-album-caption yun-title-effects text-$va-c-text inline-flex-center"},T=m({__name:"YunAlbum",props:{album:{}},setup(_){return(t,e)=>{const s=Y;return a(),i(s,{class:"yun-album-list-item",to:t.album.url},{default:r(()=>[c("figure",{class:"m-10",flex:"~ col",title:t.album.desc},[c("img",{loading:"lazy",class:"yun-album-list-cover",src:t.album.cover,alt:t.album.caption,"on-error":o(F)},null,40,I),c("figcaption",O,f(t.album.caption),1)],8,E)]),_:1},8,["to"])}}}),W={class:"yun-album-list mb-4"},z=m({__name:"YunAlbumList",props:{albums:{}},setup(_){return(t,e)=>{const s=T;return a(),u("div",W,[(a(!0),u(b,null,V(t.albums,l=>(a(),i(s,{key:l.url,album:l},null,8,["album"]))),128))])}}}),H={text:"center",class:"yun-text-light",p:"2"},ot=m({__name:"albums",setup(_){const{t}=D(),e=L(),s=C(e);k([x({"@type":"CollectionPage"})]);const l=w(()=>e.value.albums||[]);return(M,j)=>{const d=A,g=S,y=z,p=N("RouterView"),h=B,$=P;return a(),u(b,null,[n(h,null,{default:r(()=>[n(d),n(p,null,{default:r(({Component:v})=>[(a(),i(R(v),null,{"main-header":r(()=>[n(g,{title:o(s)||o(t)("title.album"),icon:o(e).icon||"i-ri-gallery-line",color:o(e).color,"page-title-class":o(e).pageTitleClass},null,8,["title","icon","color","page-title-class"])]),"main-content":r(()=>[c("div",H,f(o(t)("counter.albums",l.value.length)),1),n(y,{albums:l.value},null,8,["albums"]),n(p)]),_:2},1024))]),_:1})]),_:1}),n($)],64)}}});export{ot as default};
|
@@ -1 +0,0 @@
|
|
1
|
-
.yun-album-caption{position:absolute;bottom:-3rem;display:block;text-align:center;width:100%}.yun-album-list{display:flex;justify-content:center;flex-wrap:wrap}.yun-album-list-item{display:inline-flex}.yun-album-list-item figure{position:relative;width:15rem}.yun-album-list-item figure:before{content:"";position:absolute;top:1%;left:.5%;width:100%;height:96%;border:.25rem solid white;background-color:#666;box-shadow:0 5px 10px #0000004d;transform:rotate(-3deg)}.yun-album-list-item figure img{vertical-align:bottom;display:inline-flex;border:.25rem solid white;box-shadow:0 8px 10px #0000004d;padding:0;transform:rotate(2deg);width:100%;height:10rem;object-fit:cover;background-color:#eee}
|
@@ -1,25 +0,0 @@
|
|
1
|
-
import{g as zr}from"./chunks/dayjs.Byk5cVHE.js";function Tt(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function Li(f,t){f.prototype=Object.create(t.prototype),f.prototype.constructor=f,f.__proto__=t}/*!
|
2
|
-
* GSAP 3.12.5
|
3
|
-
* https://gsap.com
|
4
|
-
*
|
5
|
-
* @license Copyright 2008-2024, GreenSock. All rights reserved.
|
6
|
-
* Subject to the terms at https://gsap.com/standard-license or for
|
7
|
-
* Club GSAP members, the agreement issued with that membership.
|
8
|
-
* @author: Jack Doyle, jack@greensock.com
|
9
|
-
*/var st={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Ht={duration:.5,overwrite:!1,delay:0},ti,K,E,ft=1e8,R=1/ft,Ne=Math.PI*2,Lr=Ne/4,Ir=0,Ii=Math.sqrt,Br=Math.cos,Nr=Math.sin,G=function(t){return typeof t=="string"},B=function(t){return typeof t=="function"},wt=function(t){return typeof t=="number"},ei=function(t){return typeof t>"u"},gt=function(t){return typeof t=="object"},H=function(t){return t!==!1},ii=function(){return typeof window<"u"},ge=function(t){return B(t)||G(t)},Bi=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},$=Array.isArray,Ye=/(?:-?\.?\d|\.)+/gi,Ni=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Gt=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,De=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Yi=/[+-]=-?[.\d]+/,Vi=/[^,'"\[\]\s]+/gi,Yr=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,F,_t,Ve,ri,ot={},Te={},Xi,Ui=function(t){return(Te=Vt(t,ot))&&tt},ni=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},ue=function(t,e){return!e&&console.warn(t)},qi=function(t,e){return t&&(ot[t]=e)&&Te&&(Te[t]=e)||ot},fe=function(){return 0},Vr={suppressEvents:!0,isStart:!0,kill:!1},me={suppressEvents:!0,kill:!1},Xr={suppressEvents:!0},si={},kt=[],Xe={},Gi,it={},Ae={},xi=30,ye=[],oi="",ai=function(t){var e=t[0],i,r;if(gt(e)||B(e)||(t=[t]),!(i=(e._gsap||{}).harness)){for(r=ye.length;r--&&!ye[r].targetTest(e););i=ye[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new pr(t[r],i)))||t.splice(r,1);return t},It=function(t){return t._gsap||ai(lt(t))[0]._gsap},Wi=function(t,e,i){return(i=t[e])&&B(i)?t[e]():ei(i)&&t.getAttribute&&t.getAttribute(e)||i},Q=function(t,e){return(t=t.split(",")).forEach(e)||t},Y=function(t){return Math.round(t*1e5)/1e5||0},q=function(t){return Math.round(t*1e7)/1e7||0},Kt=function(t,e){var i=e.charAt(0),r=parseFloat(e.substr(2));return t=parseFloat(t),i==="+"?t+r:i==="-"?t-r:i==="*"?t*r:t/r},Ur=function(t,e){for(var i=e.length,r=0;t.indexOf(e[r])<0&&++r<i;);return r<i},ve=function(){var t=kt.length,e=kt.slice(0),i,r;for(Xe={},kt.length=0,i=0;i<t;i++)r=e[i],r&&r._lazy&&(r.render(r._lazy[0],r._lazy[1],!0)._lazy=0)},Ki=function(t,e,i,r){kt.length&&!K&&ve(),t.render(e,i,K&&e<0&&(t._initted||t._startAt)),kt.length&&!K&&ve()},$i=function(t){var e=parseFloat(t);return(e||e===0)&&(t+"").match(Vi).length<2?e:G(t)?t.trim():t},ji=function(t){return t},ht=function(t,e){for(var i in e)i in t||(t[i]=e[i]);return t},qr=function(t){return function(e,i){for(var r in i)r in e||r==="duration"&&t||r==="ease"||(e[r]=i[r])}},Vt=function(t,e){for(var i in e)t[i]=e[i];return t},Ti=function f(t,e){for(var i in e)i!=="__proto__"&&i!=="constructor"&&i!=="prototype"&&(t[i]=gt(e[i])?f(t[i]||(t[i]={}),e[i]):e[i]);return t},we=function(t,e){var i={},r;for(r in t)r in e||(i[r]=t[r]);return i},se=function(t){var e=t.parent||F,i=t.keyframes?qr($(t.keyframes)):ht;if(H(t.inherit))for(;e;)i(t,e.vars.defaults),e=e.parent||e._dp;return t},Gr=function(t,e){for(var i=t.length,r=i===e.length;r&&i--&&t[i]===e[i];);return i<0},Hi=function(t,e,i,r,n){var s=t[r],o;if(n)for(o=e[n];s&&s[n]>o;)s=s._prev;return s?(e._next=s._next,s._next=e):(e._next=t[i],t[i]=e),e._next?e._next._prev=e:t[r]=e,e._prev=s,e.parent=e._dp=t,e},ke=function(t,e,i,r){i===void 0&&(i="_first"),r===void 0&&(r="_last");var n=e._prev,s=e._next;n?n._next=s:t[i]===e&&(t[i]=s),s?s._prev=n:t[r]===e&&(t[r]=n),e._next=e._prev=e.parent=null},Mt=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},Bt=function(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var i=t;i;)i._dirty=1,i=i.parent;return t},Wr=function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t},Ue=function(t,e,i,r){return t._startAt&&(K?t._startAt.revert(me):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,r))},Kr=function f(t){return!t||t._ts&&f(t.parent)},vi=function(t){return t._repeat?Qt(t._tTime,t=t.duration()+t._rDelay)*t:0},Qt=function(t,e){var i=Math.floor(t/=e);return t&&i===t?i-1:i},be=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},Ce=function(t){return t._end=q(t._start+(t._tDur/Math.abs(t._ts||t._rts||R)||0))},Me=function(t,e){var i=t._dp;return i&&i.smoothChildTiming&&t._ts&&(t._start=q(i._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Ce(t),i._dirty||Bt(i,t)),t},Qi=function(t,e){var i;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(i=be(t.rawTime(),e),(!e._dur||pe(0,e.totalDuration(),i)-e._tTime>R)&&e.render(i,!0)),Bt(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(i=t;i._dp;)i.rawTime()>=0&&i.totalTime(i._tTime),i=i._dp;t._zTime=-R}},ct=function(t,e,i,r){return e.parent&&Mt(e),e._start=q((wt(i)?i:i||t!==F?ut(t,i,e):t._time)+e._delay),e._end=q(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),Hi(t,e,"_first","_last",t._sort?"_start":0),qe(e)||(t._recent=e),r||Qi(t,e),t._ts<0&&Me(t,t._tTime),t},Zi=function(t,e){return(ot.ScrollTrigger||ni("scrollTrigger",e))&&ot.ScrollTrigger.create(e,t)},Ji=function(t,e,i,r,n){if(fi(t,e,n),!t._initted)return 1;if(!i&&t._pt&&!K&&(t._dur&&t.vars.lazy!==!1||!t._dur&&t.vars.lazy)&&Gi!==rt.frame)return kt.push(t),t._lazy=[n,r],1},$r=function f(t){var e=t.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||f(e))},qe=function(t){var e=t.data;return e==="isFromStart"||e==="isStart"},jr=function(t,e,i,r){var n=t.ratio,s=e<0||!e&&(!t._start&&$r(t)&&!(!t._initted&&qe(t))||(t._ts<0||t._dp._ts<0)&&!qe(t))?0:1,o=t._rDelay,a=0,u,l,_;if(o&&t._repeat&&(a=pe(0,t._tDur,e),l=Qt(a,o),t._yoyo&&l&1&&(s=1-s),l!==Qt(t._tTime,o)&&(n=1-s,t.vars.repeatRefresh&&t._initted&&t.invalidate())),s!==n||K||r||t._zTime===R||!e&&t._zTime){if(!t._initted&&Ji(t,e,r,i,a))return;for(_=t._zTime,t._zTime=e||(i?R:0),i||(i=e&&!_),t.ratio=s,t._from&&(s=1-s),t._time=0,t._tTime=a,u=t._pt;u;)u.r(s,u.d),u=u._next;e<0&&Ue(t,e,i,!0),t._onUpdate&&!i&&nt(t,"onUpdate"),a&&t._repeat&&!i&&t.parent&&nt(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===s&&(s&&Mt(t,1),!i&&!K&&(nt(t,s?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)},Hr=function(t,e,i){var r;if(i>e)for(r=t._first;r&&r._start<=i;){if(r.data==="isPause"&&r._start>e)return r;r=r._next}else for(r=t._last;r&&r._start>=i;){if(r.data==="isPause"&&r._start<e)return r;r=r._prev}},Zt=function(t,e,i,r){var n=t._repeat,s=q(e)||0,o=t._tTime/t._tDur;return o&&!r&&(t._time*=s/t._dur),t._dur=s,t._tDur=n?n<0?1e10:q(s*(n+1)+t._rDelay*n):s,o>0&&!r&&Me(t,t._tTime=t._tDur*o),t.parent&&Ce(t),i||Bt(t.parent,t),t},wi=function(t){return t instanceof j?Bt(t):Zt(t,t._dur)},Qr={_start:0,endTime:fe,totalDuration:fe},ut=function f(t,e,i){var r=t.labels,n=t._recent||Qr,s=t.duration()>=ft?n.endTime(!1):t._dur,o,a,u;return G(e)&&(isNaN(e)||e in r)?(a=e.charAt(0),u=e.substr(-1)==="%",o=e.indexOf("="),a==="<"||a===">"?(o>=0&&(e=e.replace(/=/,"")),(a==="<"?n._start:n.endTime(n._repeat>=0))+(parseFloat(e.substr(1))||0)*(u?(o<0?n:i).totalDuration()/100:1)):o<0?(e in r||(r[e]=s),r[e]):(a=parseFloat(e.charAt(o-1)+e.substr(o+1)),u&&i&&(a=a/100*($(i)?i[0]:i).totalDuration()),o>1?f(t,e.substr(0,o-1),i)+a:s+a)):e==null?s:+e},oe=function(t,e,i){var r=wt(e[1]),n=(r?2:1)+(t<2?0:1),s=e[n],o,a;if(r&&(s.duration=e[1]),s.parent=i,t){for(o=s,a=i;a&&!("immediateRender"in o);)o=a.vars.defaults||{},a=H(a.vars.inherit)&&a.parent;s.immediateRender=H(o.immediateRender),t<2?s.runBackwards=1:s.startAt=e[n-1]}return new X(e[0],s,e[n+1])},At=function(t,e){return t||t===0?e(t):e},pe=function(t,e,i){return i<t?t:i>e?e:i},W=function(t,e){return!G(t)||!(e=Yr.exec(t))?"":e[1]},Zr=function(t,e,i){return At(i,function(r){return pe(t,e,r)})},Ge=[].slice,tr=function(t,e){return t&>(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&>(t[0]))&&!t.nodeType&&t!==_t},Jr=function(t,e,i){return i===void 0&&(i=[]),t.forEach(function(r){var n;return G(r)&&!e||tr(r,1)?(n=i).push.apply(n,lt(r)):i.push(r)})||i},lt=function(t,e,i){return E&&!e&&E.selector?E.selector(t):G(t)&&!i&&(Ve||!Jt())?Ge.call((e||ri).querySelectorAll(t),0):$(t)?Jr(t,i):tr(t)?Ge.call(t,0):t?[t]:[]},We=function(t){return t=lt(t)[0]||ue("Invalid scope")||{},function(e){var i=t.current||t.nativeElement||t;return lt(e,i.querySelectorAll?i:i===t?ue("Invalid scope")||ri.createElement("div"):t)}},er=function(t){return t.sort(function(){return .5-Math.random()})},ir=function(t){if(B(t))return t;var e=gt(t)?t:{each:t},i=Nt(e.ease),r=e.from||0,n=parseFloat(e.base)||0,s={},o=r>0&&r<1,a=isNaN(r)||o,u=e.axis,l=r,_=r;return G(r)?l=_={center:.5,edges:.5,end:1}[r]||0:!o&&a&&(l=r[0],_=r[1]),function(c,d,m){var h=(m||e).length,y=s[h],w,v,b,P,T,S,p,g,x;if(!y){if(x=e.grid==="auto"?0:(e.grid||[1,ft])[1],!x){for(p=-ft;p<(p=m[x++].getBoundingClientRect().left)&&x<h;);x<h&&x--}for(y=s[h]=[],w=a?Math.min(x,h)*l-.5:r%x,v=x===ft?0:a?h*_/x-.5:r/x|0,p=0,g=ft,S=0;S<h;S++)b=S%x-w,P=v-(S/x|0),y[S]=T=u?Math.abs(u==="y"?P:b):Ii(b*b+P*P),T>p&&(p=T),T<g&&(g=T);r==="random"&&er(y),y.max=p-g,y.min=g,y.v=h=(parseFloat(e.amount)||parseFloat(e.each)*(x>h?h-1:u?u==="y"?h/x:x:Math.max(x,h/x))||0)*(r==="edges"?-1:1),y.b=h<0?n-h:n,y.u=W(e.amount||e.each)||0,i=i&&h<0?_r(i):i}return h=(y[c]-y.min)/y.max||0,q(y.b+(i?i(h):h)*y.v)+y.u}},Ke=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(i){var r=q(Math.round(parseFloat(i)/t)*t*e);return(r-r%1)/e+(wt(i)?0:W(i))}},rr=function(t,e){var i=$(t),r,n;return!i&>(t)&&(r=i=t.radius||ft,t.values?(t=lt(t.values),(n=!wt(t[0]))&&(r*=r)):t=Ke(t.increment)),At(e,i?B(t)?function(s){return n=t(s),Math.abs(n-s)<=r?n:s}:function(s){for(var o=parseFloat(n?s.x:s),a=parseFloat(n?s.y:0),u=ft,l=0,_=t.length,c,d;_--;)n?(c=t[_].x-o,d=t[_].y-a,c=c*c+d*d):c=Math.abs(t[_]-o),c<u&&(u=c,l=_);return l=!r||u<=r?t[l]:s,n||l===s||wt(s)?l:l+W(s)}:Ke(t))},nr=function(t,e,i,r){return At($(t)?!e:i===!0?!!(i=0):!r,function(){return $(t)?t[~~(Math.random()*t.length)]:(i=i||1e-5)&&(r=i<1?Math.pow(10,(i+"").length-2):1)&&Math.floor(Math.round((t-i/2+Math.random()*(e-t+i*.99))/i)*i*r)/r})},tn=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return function(r){return e.reduce(function(n,s){return s(n)},r)}},en=function(t,e){return function(i){return t(parseFloat(i))+(e||W(i))}},rn=function(t,e,i){return or(t,e,0,1,i)},sr=function(t,e,i){return At(i,function(r){return t[~~e(r)]})},nn=function f(t,e,i){var r=e-t;return $(t)?sr(t,f(0,t.length),e):At(i,function(n){return(r+(n-t)%r)%r+t})},sn=function f(t,e,i){var r=e-t,n=r*2;return $(t)?sr(t,f(0,t.length-1),e):At(i,function(s){return s=(n+(s-t)%n)%n||0,t+(s>r?n-s:s)})},le=function(t){for(var e=0,i="",r,n,s,o;~(r=t.indexOf("random(",e));)s=t.indexOf(")",r),o=t.charAt(r+7)==="[",n=t.substr(r+7,s-r-7).match(o?Vi:Ye),i+=t.substr(e,r-e)+nr(o?n:+n[0],o?0:+n[1],+n[2]||1e-5),e=s+1;return i+t.substr(e,t.length-e)},or=function(t,e,i,r,n){var s=e-t,o=r-i;return At(n,function(a){return i+((a-t)/s*o||0)})},on=function f(t,e,i,r){var n=isNaN(t+e)?0:function(d){return(1-d)*t+d*e};if(!n){var s=G(t),o={},a,u,l,_,c;if(i===!0&&(r=1)&&(i=null),s)t={p:t},e={p:e};else if($(t)&&!$(e)){for(l=[],_=t.length,c=_-2,u=1;u<_;u++)l.push(f(t[u-1],t[u]));_--,n=function(m){m*=_;var h=Math.min(c,~~m);return l[h](m-h)},i=e}else r||(t=Vt($(t)?[]:{},t));if(!l){for(a in e)ui.call(o,t,a,"get",e[a]);n=function(m){return _i(m,o)||(s?t.p:t)}}}return At(i,n)},bi=function(t,e,i){var r=t.labels,n=ft,s,o,a;for(s in r)o=r[s]-e,o<0==!!i&&o&&n>(o=Math.abs(o))&&(a=s,n=o);return a},nt=function(t,e,i){var r=t.vars,n=r[e],s=E,o=t._ctx,a,u,l;if(n)return a=r[e+"Params"],u=r.callbackScope||t,i&&kt.length&&ve(),o&&(E=o),l=a?n.apply(u,a):n.call(u),E=s,l},ie=function(t){return Mt(t),t.scrollTrigger&&t.scrollTrigger.kill(!!K),t.progress()<1&&nt(t,"onInterrupt"),t},Wt,ar=[],ur=function(t){if(t)if(t=!t.name&&t.default||t,ii()||t.headless){var e=t.name,i=B(t),r=e&&!i&&t.init?function(){this._props=[]}:t,n={init:fe,render:_i,add:ui,kill:wn,modifier:vn,rawVars:0},s={targetTest:0,get:0,getSetter:hi,aliases:{},register:0};if(Jt(),t!==r){if(it[e])return;ht(r,ht(we(t,n),s)),Vt(r.prototype,Vt(n,we(t,s))),it[r.prop=e]=r,t.targetTest&&(ye.push(r),si[e]=1),e=(e==="css"?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}qi(e,r),t.register&&t.register(tt,r,Z)}else ar.push(t)},A=255,re={aqua:[0,A,A],lime:[0,A,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,A],navy:[0,0,128],white:[A,A,A],olive:[128,128,0],yellow:[A,A,0],orange:[A,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[A,0,0],pink:[A,192,203],cyan:[0,A,A],transparent:[A,A,A,0]},Re=function(t,e,i){return t+=t<0?1:t>1?-1:0,(t*6<1?e+(i-e)*t*6:t<.5?i:t*3<2?e+(i-e)*(2/3-t)*6:e)*A+.5|0},fr=function(t,e,i){var r=t?wt(t)?[t>>16,t>>8&A,t&A]:0:re.black,n,s,o,a,u,l,_,c,d,m;if(!r){if(t.substr(-1)===","&&(t=t.substr(0,t.length-1)),re[t])r=re[t];else if(t.charAt(0)==="#"){if(t.length<6&&(n=t.charAt(1),s=t.charAt(2),o=t.charAt(3),t="#"+n+n+s+s+o+o+(t.length===5?t.charAt(4)+t.charAt(4):"")),t.length===9)return r=parseInt(t.substr(1,6),16),[r>>16,r>>8&A,r&A,parseInt(t.substr(7),16)/255];t=parseInt(t.substr(1),16),r=[t>>16,t>>8&A,t&A]}else if(t.substr(0,3)==="hsl"){if(r=m=t.match(Ye),!e)a=+r[0]%360/360,u=+r[1]/100,l=+r[2]/100,s=l<=.5?l*(u+1):l+u-l*u,n=l*2-s,r.length>3&&(r[3]*=1),r[0]=Re(a+1/3,n,s),r[1]=Re(a,n,s),r[2]=Re(a-1/3,n,s);else if(~t.indexOf("="))return r=t.match(Ni),i&&r.length<4&&(r[3]=1),r}else r=t.match(Ye)||re.transparent;r=r.map(Number)}return e&&!m&&(n=r[0]/A,s=r[1]/A,o=r[2]/A,_=Math.max(n,s,o),c=Math.min(n,s,o),l=(_+c)/2,_===c?a=u=0:(d=_-c,u=l>.5?d/(2-_-c):d/(_+c),a=_===n?(s-o)/d+(s<o?6:0):_===s?(o-n)/d+2:(n-s)/d+4,a*=60),r[0]=~~(a+.5),r[1]=~~(u*100+.5),r[2]=~~(l*100+.5)),i&&r.length<4&&(r[3]=1),r},lr=function(t){var e=[],i=[],r=-1;return t.split(Ct).forEach(function(n){var s=n.match(Gt)||[];e.push.apply(e,s),i.push(r+=s.length+1)}),e.c=i,e},Pi=function(t,e,i){var r="",n=(t+r).match(Ct),s=e?"hsla(":"rgba(",o=0,a,u,l,_;if(!n)return t;if(n=n.map(function(c){return(c=fr(c,e,1))&&s+(e?c[0]+","+c[1]+"%,"+c[2]+"%,"+c[3]:c.join(","))+")"}),i&&(l=lr(t),a=i.c,a.join(r)!==l.c.join(r)))for(u=t.replace(Ct,"1").split(Gt),_=u.length-1;o<_;o++)r+=u[o]+(~a.indexOf(o)?n.shift()||s+"0,0,0,0)":(l.length?l:n.length?n:i).shift());if(!u)for(u=t.split(Ct),_=u.length-1;o<_;o++)r+=u[o]+n[o];return r+u[_]},Ct=function(){var f="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",t;for(t in re)f+="|"+t+"\\b";return new RegExp(f+")","gi")}(),an=/hsl[a]?\(/,hr=function(t){var e=t.join(" "),i;if(Ct.lastIndex=0,Ct.test(e))return i=an.test(e),t[1]=Pi(t[1],i),t[0]=Pi(t[0],i,lr(t[1])),!0},he,rt=function(){var f=Date.now,t=500,e=33,i=f(),r=i,n=1e3/240,s=n,o=[],a,u,l,_,c,d,m=function h(y){var w=f()-r,v=y===!0,b,P,T,S;if((w>t||w<0)&&(i+=w-e),r+=w,T=r-i,b=T-s,(b>0||v)&&(S=++_.frame,c=T-_.time*1e3,_.time=T=T/1e3,s+=b+(b>=n?4:n-b),P=1),v||(a=u(h)),P)for(d=0;d<o.length;d++)o[d](T,c,S,y)};return _={time:0,frame:0,tick:function(){m(!0)},deltaRatio:function(y){return c/(1e3/(y||60))},wake:function(){Xi&&(!Ve&&ii()&&(_t=Ve=window,ri=_t.document||{},ot.gsap=tt,(_t.gsapVersions||(_t.gsapVersions=[])).push(tt.version),Ui(Te||_t.GreenSockGlobals||!_t.gsap&&_t||{}),ar.forEach(ur)),l=typeof requestAnimationFrame<"u"&&requestAnimationFrame,a&&_.sleep(),u=l||function(y){return setTimeout(y,s-_.time*1e3+1|0)},he=1,m(2))},sleep:function(){(l?cancelAnimationFrame:clearTimeout)(a),he=0,u=fe},lagSmoothing:function(y,w){t=y||1/0,e=Math.min(w||33,t)},fps:function(y){n=1e3/(y||240),s=_.time*1e3+n},add:function(y,w,v){var b=w?function(P,T,S,p){y(P,T,S,p),_.remove(b)}:y;return _.remove(y),o[v?"unshift":"push"](b),Jt(),b},remove:function(y,w){~(w=o.indexOf(y))&&o.splice(w,1)&&d>=w&&d--},_listeners:o},_}(),Jt=function(){return!he&&rt.wake()},M={},un=/^[\d.\-M][\d.\-,\s]/,fn=/["']/g,ln=function(t){for(var e={},i=t.substr(1,t.length-3).split(":"),r=i[0],n=1,s=i.length,o,a,u;n<s;n++)a=i[n],o=n!==s-1?a.lastIndexOf(","):a.length,u=a.substr(0,o),e[r]=isNaN(u)?u.replace(fn,"").trim():+u,r=a.substr(o+1).trim();return e},hn=function(t){var e=t.indexOf("(")+1,i=t.indexOf(")"),r=t.indexOf("(",e);return t.substring(e,~r&&r<i?t.indexOf(")",i+1):i)},_n=function(t){var e=(t+"").split("("),i=M[e[0]];return i&&e.length>1&&i.config?i.config.apply(null,~t.indexOf("{")?[ln(e[1])]:hn(t).split(",").map($i)):M._CE&&un.test(t)?M._CE("",t):i},_r=function(t){return function(e){return 1-t(1-e)}},cr=function f(t,e){for(var i=t._first,r;i;)i instanceof j?f(i,e):i.vars.yoyoEase&&(!i._yoyo||!i._repeat)&&i._yoyo!==e&&(i.timeline?f(i.timeline,e):(r=i._ease,i._ease=i._yEase,i._yEase=r,i._yoyo=e)),i=i._next},Nt=function(t,e){return t&&(B(t)?t:M[t]||_n(t))||e},Ut=function(t,e,i,r){i===void 0&&(i=function(a){return 1-e(1-a)}),r===void 0&&(r=function(a){return a<.5?e(a*2)/2:1-e((1-a)*2)/2});var n={easeIn:e,easeOut:i,easeInOut:r},s;return Q(t,function(o){M[o]=ot[o]=n,M[s=o.toLowerCase()]=i;for(var a in n)M[s+(a==="easeIn"?".in":a==="easeOut"?".out":".inOut")]=M[o+"."+a]=n[a]}),n},dr=function(t){return function(e){return e<.5?(1-t(1-e*2))/2:.5+t((e-.5)*2)/2}},Ee=function f(t,e,i){var r=e>=1?e:1,n=(i||(t?.3:.45))/(e<1?e:1),s=n/Ne*(Math.asin(1/r)||0),o=function(l){return l===1?1:r*Math.pow(2,-10*l)*Nr((l-s)*n)+1},a=t==="out"?o:t==="in"?function(u){return 1-o(1-u)}:dr(o);return n=Ne/n,a.config=function(u,l){return f(t,u,l)},a},Fe=function f(t,e){e===void 0&&(e=1.70158);var i=function(s){return s?--s*s*((e+1)*s+e)+1:0},r=t==="out"?i:t==="in"?function(n){return 1-i(1-n)}:dr(i);return r.config=function(n){return f(t,n)},r};Q("Linear,Quad,Cubic,Quart,Quint,Strong",function(f,t){var e=t<5?t+1:t;Ut(f+",Power"+(e-1),t?function(i){return Math.pow(i,e)}:function(i){return i},function(i){return 1-Math.pow(1-i,e)},function(i){return i<.5?Math.pow(i*2,e)/2:1-Math.pow((1-i)*2,e)/2})});M.Linear.easeNone=M.none=M.Linear.easeIn;Ut("Elastic",Ee("in"),Ee("out"),Ee());(function(f,t){var e=1/t,i=2*e,r=2.5*e,n=function(o){return o<e?f*o*o:o<i?f*Math.pow(o-1.5/t,2)+.75:o<r?f*(o-=2.25/t)*o+.9375:f*Math.pow(o-2.625/t,2)+.984375};Ut("Bounce",function(s){return 1-n(1-s)},n)})(7.5625,2.75);Ut("Expo",function(f){return f?Math.pow(2,10*(f-1)):0});Ut("Circ",function(f){return-(Ii(1-f*f)-1)});Ut("Sine",function(f){return f===1?1:-Br(f*Lr)+1});Ut("Back",Fe("in"),Fe("out"),Fe());M.SteppedEase=M.steps=ot.SteppedEase={config:function(t,e){t===void 0&&(t=1);var i=1/t,r=t+(e?0:1),n=e?1:0,s=1-R;return function(o){return((r*pe(0,s,o)|0)+n)*i}}};Ht.ease=M["quad.out"];Q("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(f){return oi+=f+","+f+"Params,"});var pr=function(t,e){this.id=Ir++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:Wi,this.set=e?e.getSetter:hi},_e=function(){function f(e){this.vars=e,this._delay=+e.delay||0,(this._repeat=e.repeat===1/0?-2:e.repeat||0)&&(this._rDelay=e.repeatDelay||0,this._yoyo=!!e.yoyo||!!e.yoyoEase),this._ts=1,Zt(this,+e.duration,1,1),this.data=e.data,E&&(this._ctx=E,E.data.push(this)),he||rt.wake()}var t=f.prototype;return t.delay=function(i){return i||i===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+i-this._delay),this._delay=i,this):this._delay},t.duration=function(i){return arguments.length?this.totalDuration(this._repeat>0?i+(i+this._rDelay)*this._repeat:i):this.totalDuration()&&this._dur},t.totalDuration=function(i){return arguments.length?(this._dirty=0,Zt(this,this._repeat<0?i:(i-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(i,r){if(Jt(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(Me(this,i),!n._dp||n.parent||Qi(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&i<this._tDur||this._ts<0&&i>0||!this._tDur&&!i)&&ct(this._dp,this,this._start-this._delay)}return(this._tTime!==i||!this._dur&&!r||this._initted&&Math.abs(this._zTime)===R||!i&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=i),Ki(this,i,r)),this},t.time=function(i,r){return arguments.length?this.totalTime(Math.min(this.totalDuration(),i+vi(this))%(this._dur+this._rDelay)||(i?this._dur:0),r):this._time},t.totalProgress=function(i,r){return arguments.length?this.totalTime(this.totalDuration()*i,r):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>0?1:0},t.progress=function(i,r){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-i:i)+vi(this),r):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},t.iteration=function(i,r){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(i-1)*n,r):this._repeat?Qt(this._tTime,n)+1:1},t.timeScale=function(i,r){if(!arguments.length)return this._rts===-R?0:this._rts;if(this._rts===i)return this;var n=this.parent&&this._ts?be(this.parent._time,this):this._tTime;return this._rts=+i||0,this._ts=this._ps||i===-R?0:this._rts,this.totalTime(pe(-Math.abs(this._delay),this._tDur,n),r!==!1),Ce(this),Wr(this)},t.paused=function(i){return arguments.length?(this._ps!==i&&(this._ps=i,i?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Jt(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==R&&(this._tTime-=R)))),this):this._ps},t.startTime=function(i){if(arguments.length){this._start=i;var r=this.parent||this._dp;return r&&(r._sort||!this.parent)&&ct(r,this,i-this._delay),this}return this._start},t.endTime=function(i){return this._start+(H(i)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(i){var r=this.parent||this._dp;return r?i&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?be(r.rawTime(i),this):this._tTime:this._tTime},t.revert=function(i){i===void 0&&(i=Xr);var r=K;return K=i,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(i),this.totalTime(-.01,i.suppressEvents)),this.data!=="nested"&&i.kill!==!1&&this.kill(),K=r,this},t.globalTime=function(i){for(var r=this,n=arguments.length?i:r.rawTime();r;)n=r._start+n/(Math.abs(r._ts)||1),r=r._dp;return!this.parent&&this._sat?this._sat.globalTime(i):n},t.repeat=function(i){return arguments.length?(this._repeat=i===1/0?-2:i,wi(this)):this._repeat===-2?1/0:this._repeat},t.repeatDelay=function(i){if(arguments.length){var r=this._time;return this._rDelay=i,wi(this),r?this.time(r):this}return this._rDelay},t.yoyo=function(i){return arguments.length?(this._yoyo=i,this):this._yoyo},t.seek=function(i,r){return this.totalTime(ut(this,i),H(r))},t.restart=function(i,r){return this.play().totalTime(i?-this._delay:0,H(r))},t.play=function(i,r){return i!=null&&this.seek(i,r),this.reversed(!1).paused(!1)},t.reverse=function(i,r){return i!=null&&this.seek(i||this.totalDuration(),r),this.reversed(!0).paused(!1)},t.pause=function(i,r){return i!=null&&this.seek(i,r),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(i){return arguments.length?(!!i!==this.reversed()&&this.timeScale(-this._rts||(i?-R:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-R,this},t.isActive=function(){var i=this.parent||this._dp,r=this._start,n;return!!(!i||this._ts&&this._initted&&i.isActive()&&(n=i.rawTime(!0))>=r&&n<this.endTime(!0)-R)},t.eventCallback=function(i,r,n){var s=this.vars;return arguments.length>1?(r?(s[i]=r,n&&(s[i+"Params"]=n),i==="onUpdate"&&(this._onUpdate=r)):delete s[i],this):s[i]},t.then=function(i){var r=this;return new Promise(function(n){var s=B(i)?i:ji,o=function(){var u=r.then;r.then=null,B(s)&&(s=s(r))&&(s.then||s===r)&&(r.then=u),n(s),r.then=u};r._initted&&r.totalProgress()===1&&r._ts>=0||!r._tTime&&r._ts<0?o():r._prom=o})},t.kill=function(){ie(this)},f}();ht(_e.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-R,_prom:0,_ps:!1,_rts:1});var j=function(f){Li(t,f);function t(i,r){var n;return i===void 0&&(i={}),n=f.call(this,i)||this,n.labels={},n.smoothChildTiming=!!i.smoothChildTiming,n.autoRemoveChildren=!!i.autoRemoveChildren,n._sort=H(i.sortChildren),F&&ct(i.parent||F,Tt(n),r),i.reversed&&n.reverse(),i.paused&&n.paused(!0),i.scrollTrigger&&Zi(Tt(n),i.scrollTrigger),n}var e=t.prototype;return e.to=function(r,n,s){return oe(0,arguments,this),this},e.from=function(r,n,s){return oe(1,arguments,this),this},e.fromTo=function(r,n,s,o){return oe(2,arguments,this),this},e.set=function(r,n,s){return n.duration=0,n.parent=this,se(n).repeatDelay||(n.repeat=0),n.immediateRender=!!n.immediateRender,new X(r,n,ut(this,s),1),this},e.call=function(r,n,s){return ct(this,X.delayedCall(0,r,n),s)},e.staggerTo=function(r,n,s,o,a,u,l){return s.duration=n,s.stagger=s.stagger||o,s.onComplete=u,s.onCompleteParams=l,s.parent=this,new X(r,s,ut(this,a)),this},e.staggerFrom=function(r,n,s,o,a,u,l){return s.runBackwards=1,se(s).immediateRender=H(s.immediateRender),this.staggerTo(r,n,s,o,a,u,l)},e.staggerFromTo=function(r,n,s,o,a,u,l,_){return o.startAt=s,se(o).immediateRender=H(o.immediateRender),this.staggerTo(r,n,o,a,u,l,_)},e.render=function(r,n,s){var o=this._time,a=this._dirty?this.totalDuration():this._tDur,u=this._dur,l=r<=0?0:q(r),_=this._zTime<0!=r<0&&(this._initted||!u),c,d,m,h,y,w,v,b,P,T,S,p;if(this!==F&&l>a&&r>=0&&(l=a),l!==this._tTime||s||_){if(o!==this._time&&u&&(l+=this._time-o,r+=this._time-o),c=l,P=this._start,b=this._ts,w=!b,_&&(u||(o=this._zTime),(r||!n)&&(this._zTime=r)),this._repeat){if(S=this._yoyo,y=u+this._rDelay,this._repeat<-1&&r<0)return this.totalTime(y*100+r,n,s);if(c=q(l%y),l===a?(h=this._repeat,c=u):(h=~~(l/y),h&&h===l/y&&(c=u,h--),c>u&&(c=u)),T=Qt(this._tTime,y),!o&&this._tTime&&T!==h&&this._tTime-T*y-this._dur<=0&&(T=h),S&&h&1&&(c=u-c,p=1),h!==T&&!this._lock){var g=S&&T&1,x=g===(S&&h&1);if(h<T&&(g=!g),o=g?0:l%u?u:l,this._lock=1,this.render(o||(p?0:q(h*y)),n,!u)._lock=0,this._tTime=l,!n&&this.parent&&nt(this,"onRepeat"),this.vars.repeatRefresh&&!p&&(this.invalidate()._lock=1),o&&o!==this._time||w!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(u=this._dur,a=this._tDur,x&&(this._lock=2,o=g?u:-1e-4,this.render(o,!0),this.vars.repeatRefresh&&!p&&this.invalidate()),this._lock=0,!this._ts&&!w)return this;cr(this,p)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(v=Hr(this,q(o),q(c)),v&&(l-=c-(c=v._start))),this._tTime=l,this._time=c,this._act=!b,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=r,o=0),!o&&c&&!n&&!h&&(nt(this,"onStart"),this._tTime!==l))return this;if(c>=o&&r>=0)for(d=this._first;d;){if(m=d._next,(d._act||c>=d._start)&&d._ts&&v!==d){if(d.parent!==this)return this.render(r,n,s);if(d.render(d._ts>0?(c-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(c-d._start)*d._ts,n,s),c!==this._time||!this._ts&&!w){v=0,m&&(l+=this._zTime=-R);break}}d=m}else{d=this._last;for(var k=r<0?r:c;d;){if(m=d._prev,(d._act||k<=d._end)&&d._ts&&v!==d){if(d.parent!==this)return this.render(r,n,s);if(d.render(d._ts>0?(k-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(k-d._start)*d._ts,n,s||K&&(d._initted||d._startAt)),c!==this._time||!this._ts&&!w){v=0,m&&(l+=this._zTime=k?-R:R);break}}d=m}}if(v&&!n&&(this.pause(),v.render(c>=o?0:-R)._zTime=c>=o?1:-1,this._ts))return this._start=P,Ce(this),this.render(r,n,s);this._onUpdate&&!n&&nt(this,"onUpdate",!0),(l===a&&this._tTime>=this.totalDuration()||!l&&o)&&(P===this._start||Math.abs(b)!==Math.abs(this._ts))&&(this._lock||((r||!u)&&(l===a&&this._ts>0||!l&&this._ts<0)&&Mt(this,1),!n&&!(r<0&&!o)&&(l||o||!a)&&(nt(this,l===a&&r>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(l<a&&this.timeScale()>0)&&this._prom())))}return this},e.add=function(r,n){var s=this;if(wt(n)||(n=ut(this,n,r)),!(r instanceof _e)){if($(r))return r.forEach(function(o){return s.add(o,n)}),this;if(G(r))return this.addLabel(r,n);if(B(r))r=X.delayedCall(0,r);else return this}return this!==r?ct(this,r,n):this},e.getChildren=function(r,n,s,o){r===void 0&&(r=!0),n===void 0&&(n=!0),s===void 0&&(s=!0),o===void 0&&(o=-ft);for(var a=[],u=this._first;u;)u._start>=o&&(u instanceof X?n&&a.push(u):(s&&a.push(u),r&&a.push.apply(a,u.getChildren(!0,n,s)))),u=u._next;return a},e.getById=function(r){for(var n=this.getChildren(1,1,1),s=n.length;s--;)if(n[s].vars.id===r)return n[s]},e.remove=function(r){return G(r)?this.removeLabel(r):B(r)?this.killTweensOf(r):(ke(this,r),r===this._recent&&(this._recent=this._last),Bt(this))},e.totalTime=function(r,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=q(rt.time-(this._ts>0?r/this._ts:(this.totalDuration()-r)/-this._ts))),f.prototype.totalTime.call(this,r,n),this._forcing=0,this):this._tTime},e.addLabel=function(r,n){return this.labels[r]=ut(this,n),this},e.removeLabel=function(r){return delete this.labels[r],this},e.addPause=function(r,n,s){var o=X.delayedCall(0,n||fe,s);return o.data="isPause",this._hasPause=1,ct(this,o,ut(this,r))},e.removePause=function(r){var n=this._first;for(r=ut(this,r);n;)n._start===r&&n.data==="isPause"&&Mt(n),n=n._next},e.killTweensOf=function(r,n,s){for(var o=this.getTweensOf(r,s),a=o.length;a--;)Pt!==o[a]&&o[a].kill(r,n);return this},e.getTweensOf=function(r,n){for(var s=[],o=lt(r),a=this._first,u=wt(n),l;a;)a instanceof X?Ur(a._targets,o)&&(u?(!Pt||a._initted&&a._ts)&&a.globalTime(0)<=n&&a.globalTime(a.totalDuration())>n:!n||a.isActive())&&s.push(a):(l=a.getTweensOf(o,n)).length&&s.push.apply(s,l),a=a._next;return s},e.tweenTo=function(r,n){n=n||{};var s=this,o=ut(s,r),a=n,u=a.startAt,l=a.onStart,_=a.onStartParams,c=a.immediateRender,d,m=X.to(s,ht({ease:n.ease||"none",lazy:!1,immediateRender:!1,time:o,overwrite:"auto",duration:n.duration||Math.abs((o-(u&&"time"in u?u.time:s._time))/s.timeScale())||R,onStart:function(){if(s.pause(),!d){var y=n.duration||Math.abs((o-(u&&"time"in u?u.time:s._time))/s.timeScale());m._dur!==y&&Zt(m,y,0,1).render(m._time,!0,!0),d=1}l&&l.apply(m,_||[])}},n));return c?m.render(0):m},e.tweenFromTo=function(r,n,s){return this.tweenTo(n,ht({startAt:{time:ut(this,r)}},s))},e.recent=function(){return this._recent},e.nextLabel=function(r){return r===void 0&&(r=this._time),bi(this,ut(this,r))},e.previousLabel=function(r){return r===void 0&&(r=this._time),bi(this,ut(this,r),1)},e.currentLabel=function(r){return arguments.length?this.seek(r,!0):this.previousLabel(this._time+R)},e.shiftChildren=function(r,n,s){s===void 0&&(s=0);for(var o=this._first,a=this.labels,u;o;)o._start>=s&&(o._start+=r,o._end+=r),o=o._next;if(n)for(u in a)a[u]>=s&&(a[u]+=r);return Bt(this)},e.invalidate=function(r){var n=this._first;for(this._lock=0;n;)n.invalidate(r),n=n._next;return f.prototype.invalidate.call(this,r)},e.clear=function(r){r===void 0&&(r=!0);for(var n=this._first,s;n;)s=n._next,this.remove(n),n=s;return this._dp&&(this._time=this._tTime=this._pTime=0),r&&(this.labels={}),Bt(this)},e.totalDuration=function(r){var n=0,s=this,o=s._last,a=ft,u,l,_;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-r:r));if(s._dirty){for(_=s.parent;o;)u=o._prev,o._dirty&&o.totalDuration(),l=o._start,l>a&&s._sort&&o._ts&&!s._lock?(s._lock=1,ct(s,o,l-o._delay,1)._lock=0):a=l,l<0&&o._ts&&(n-=l,(!_&&!s._dp||_&&_.smoothChildTiming)&&(s._start+=l/s._ts,s._time-=l,s._tTime-=l),s.shiftChildren(-l,!1,-1/0),a=0),o._end>n&&o._ts&&(n=o._end),o=u;Zt(s,s===F&&s._time>n?s._time:n,1,1),s._dirty=0}return s._tDur},t.updateRoot=function(r){if(F._ts&&(Ki(F,be(r,F)),Gi=rt.frame),rt.frame>=xi){xi+=st.autoSleep||120;var n=F._first;if((!n||!n._ts)&&st.autoSleep&&rt._listeners.length<2){for(;n&&!n._ts;)n=n._next;n||rt.sleep()}}},t}(_e);ht(j.prototype,{_lock:0,_hasPause:0,_forcing:0});var cn=function(t,e,i,r,n,s,o){var a=new Z(this._pt,t,e,0,1,vr,null,n),u=0,l=0,_,c,d,m,h,y,w,v;for(a.b=i,a.e=r,i+="",r+="",(w=~r.indexOf("random("))&&(r=le(r)),s&&(v=[i,r],s(v,t,e),i=v[0],r=v[1]),c=i.match(De)||[];_=De.exec(r);)m=_[0],h=r.substring(u,_.index),d?d=(d+1)%5:h.substr(-5)==="rgba("&&(d=1),m!==c[l++]&&(y=parseFloat(c[l-1])||0,a._pt={_next:a._pt,p:h||l===1?h:",",s:y,c:m.charAt(1)==="="?Kt(y,m)-y:parseFloat(m)-y,m:d&&d<4?Math.round:0},u=De.lastIndex);return a.c=u<r.length?r.substring(u,r.length):"",a.fp=o,(Yi.test(r)||w)&&(a.e=0),this._pt=a,a},ui=function(t,e,i,r,n,s,o,a,u,l){B(r)&&(r=r(n||0,t,s));var _=t[e],c=i!=="get"?i:B(_)?u?t[e.indexOf("set")||!B(t["get"+e.substr(3)])?e:"get"+e.substr(3)](u):t[e]():_,d=B(_)?u?yn:xr:li,m;if(G(r)&&(~r.indexOf("random(")&&(r=le(r)),r.charAt(1)==="="&&(m=Kt(c,r)+(W(c)||0),(m||m===0)&&(r=m))),!l||c!==r||$e)return!isNaN(c*r)&&r!==""?(m=new Z(this._pt,t,e,+c||0,r-(c||0),typeof _=="boolean"?Tn:Tr,0,d),u&&(m.fp=u),o&&m.modifier(o,this,t),this._pt=m):(!_&&!(e in t)&&ni(e,r),cn.call(this,t,e,c,r,d,a||st.stringFilter,u))},dn=function(t,e,i,r,n){if(B(t)&&(t=ae(t,n,e,i,r)),!gt(t)||t.style&&t.nodeType||$(t)||Bi(t))return G(t)?ae(t,n,e,i,r):t;var s={},o;for(o in t)s[o]=ae(t[o],n,e,i,r);return s},gr=function(t,e,i,r,n,s){var o,a,u,l;if(it[t]&&(o=new it[t]).init(n,o.rawVars?e[t]:dn(e[t],r,n,s,i),i,r,s)!==!1&&(i._pt=a=new Z(i._pt,n,t,0,1,o.render,o,0,o.priority),i!==Wt))for(u=i._ptLookup[i._targets.indexOf(n)],l=o._props.length;l--;)u[o._props[l]]=a;return o},Pt,$e,fi=function f(t,e,i){var r=t.vars,n=r.ease,s=r.startAt,o=r.immediateRender,a=r.lazy,u=r.onUpdate,l=r.runBackwards,_=r.yoyoEase,c=r.keyframes,d=r.autoRevert,m=t._dur,h=t._startAt,y=t._targets,w=t.parent,v=w&&w.data==="nested"?w.vars.targets:y,b=t._overwrite==="auto"&&!ti,P=t.timeline,T,S,p,g,x,k,C,O,D,V,L,I,N;if(P&&(!c||!n)&&(n="none"),t._ease=Nt(n,Ht.ease),t._yEase=_?_r(Nt(_===!0?n:_,Ht.ease)):0,_&&t._yoyo&&!t._repeat&&(_=t._yEase,t._yEase=t._ease,t._ease=_),t._from=!P&&!!r.runBackwards,!P||c&&!r.stagger){if(O=y[0]?It(y[0]).harness:0,I=O&&r[O.prop],T=we(r,si),h&&(h._zTime<0&&h.progress(1),e<0&&l&&o&&!d?h.render(-1,!0):h.revert(l&&m?me:Vr),h._lazy=0),s){if(Mt(t._startAt=X.set(y,ht({data:"isStart",overwrite:!1,parent:w,immediateRender:!0,lazy:!h&&H(a),startAt:null,delay:0,onUpdate:u&&function(){return nt(t,"onUpdate")},stagger:0},s))),t._startAt._dp=0,t._startAt._sat=t,e<0&&(K||!o&&!d)&&t._startAt.revert(me),o&&m&&e<=0&&i<=0){e&&(t._zTime=e);return}}else if(l&&m&&!h){if(e&&(o=!1),p=ht({overwrite:!1,data:"isFromStart",lazy:o&&!h&&H(a),immediateRender:o,stagger:0,parent:w},T),I&&(p[O.prop]=I),Mt(t._startAt=X.set(y,p)),t._startAt._dp=0,t._startAt._sat=t,e<0&&(K?t._startAt.revert(me):t._startAt.render(-1,!0)),t._zTime=e,!o)f(t._startAt,R,R);else if(!e)return}for(t._pt=t._ptCache=0,a=m&&H(a)||a&&!m,S=0;S<y.length;S++){if(x=y[S],C=x._gsap||ai(y)[S]._gsap,t._ptLookup[S]=V={},Xe[C.id]&&kt.length&&ve(),L=v===y?S:v.indexOf(x),O&&(D=new O).init(x,I||T,t,L,v)!==!1&&(t._pt=g=new Z(t._pt,x,D.name,0,1,D.render,D,0,D.priority),D._props.forEach(function(U){V[U]=g}),D.priority&&(k=1)),!O||I)for(p in T)it[p]&&(D=gr(p,T,t,L,x,v))?D.priority&&(k=1):V[p]=g=ui.call(t,x,p,"get",T[p],L,v,0,r.stringFilter);t._op&&t._op[S]&&t.kill(x,t._op[S]),b&&t._pt&&(Pt=t,F.killTweensOf(x,V,t.globalTime(e)),N=!t.parent,Pt=0),t._pt&&a&&(Xe[C.id]=1)}k&&wr(t),t._onInit&&t._onInit(t)}t._onUpdate=u,t._initted=(!t._op||t._pt)&&!N,c&&e<=0&&P.render(ft,!0,!0)},pn=function(t,e,i,r,n,s,o,a){var u=(t._pt&&t._ptCache||(t._ptCache={}))[e],l,_,c,d;if(!u)for(u=t._ptCache[e]=[],c=t._ptLookup,d=t._targets.length;d--;){if(l=c[d][e],l&&l.d&&l.d._pt)for(l=l.d._pt;l&&l.p!==e&&l.fp!==e;)l=l._next;if(!l)return $e=1,t.vars[e]="+=0",fi(t,o),$e=0,a?ue(e+" not eligible for reset"):1;u.push(l)}for(d=u.length;d--;)_=u[d],l=_._pt||_,l.s=(r||r===0)&&!n?r:l.s+(r||0)+s*l.c,l.c=i-l.s,_.e&&(_.e=Y(i)+W(_.e)),_.b&&(_.b=l.s+W(_.b))},gn=function(t,e){var i=t[0]?It(t[0]).harness:0,r=i&&i.aliases,n,s,o,a;if(!r)return e;n=Vt({},e);for(s in r)if(s in n)for(a=r[s].split(","),o=a.length;o--;)n[a[o]]=n[s];return n},mn=function(t,e,i,r){var n=e.ease||r||"power1.inOut",s,o;if($(e))o=i[t]||(i[t]=[]),e.forEach(function(a,u){return o.push({t:u/(e.length-1)*100,v:a,e:n})});else for(s in e)o=i[s]||(i[s]=[]),s==="ease"||o.push({t:parseFloat(t),v:e[s],e:n})},ae=function(t,e,i,r,n){return B(t)?t.call(e,i,r,n):G(t)&&~t.indexOf("random(")?le(t):t},mr=oi+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",yr={};Q(mr+",id,stagger,delay,duration,paused,scrollTrigger",function(f){return yr[f]=1});var X=function(f){Li(t,f);function t(i,r,n,s){var o;typeof r=="number"&&(n.duration=r,r=n,n=null),o=f.call(this,s?r:se(r))||this;var a=o.vars,u=a.duration,l=a.delay,_=a.immediateRender,c=a.stagger,d=a.overwrite,m=a.keyframes,h=a.defaults,y=a.scrollTrigger,w=a.yoyoEase,v=r.parent||F,b=($(i)||Bi(i)?wt(i[0]):"length"in r)?[i]:lt(i),P,T,S,p,g,x,k,C;if(o._targets=b.length?ai(b):ue("GSAP target "+i+" not found. https://gsap.com",!st.nullTargetWarn)||[],o._ptLookup=[],o._overwrite=d,m||c||ge(u)||ge(l)){if(r=o.vars,P=o.timeline=new j({data:"nested",defaults:h||{},targets:v&&v.data==="nested"?v.vars.targets:b}),P.kill(),P.parent=P._dp=Tt(o),P._start=0,c||ge(u)||ge(l)){if(p=b.length,k=c&&ir(c),gt(c))for(g in c)~mr.indexOf(g)&&(C||(C={}),C[g]=c[g]);for(T=0;T<p;T++)S=we(r,yr),S.stagger=0,w&&(S.yoyoEase=w),C&&Vt(S,C),x=b[T],S.duration=+ae(u,Tt(o),T,x,b),S.delay=(+ae(l,Tt(o),T,x,b)||0)-o._delay,!c&&p===1&&S.delay&&(o._delay=l=S.delay,o._start+=l,S.delay=0),P.to(x,S,k?k(T,x,b):0),P._ease=M.none;P.duration()?u=l=0:o.timeline=0}else if(m){se(ht(P.vars.defaults,{ease:"none"})),P._ease=Nt(m.ease||r.ease||"none");var O=0,D,V,L;if($(m))m.forEach(function(I){return P.to(b,I,">")}),P.duration();else{S={};for(g in m)g==="ease"||g==="easeEach"||mn(g,m[g],S,m.easeEach);for(g in S)for(D=S[g].sort(function(I,N){return I.t-N.t}),O=0,T=0;T<D.length;T++)V=D[T],L={ease:V.e,duration:(V.t-(T?D[T-1].t:0))/100*u},L[g]=V.v,P.to(b,L,O),O+=L.duration;P.duration()<u&&P.to({},{duration:u-P.duration()})}}u||o.duration(u=P.duration())}else o.timeline=0;return d===!0&&!ti&&(Pt=Tt(o),F.killTweensOf(b),Pt=0),ct(v,Tt(o),n),r.reversed&&o.reverse(),r.paused&&o.paused(!0),(_||!u&&!m&&o._start===q(v._time)&&H(_)&&Kr(Tt(o))&&v.data!=="nested")&&(o._tTime=-R,o.render(Math.max(0,-l)||0)),y&&Zi(Tt(o),y),o}var e=t.prototype;return e.render=function(r,n,s){var o=this._time,a=this._tDur,u=this._dur,l=r<0,_=r>a-R&&!l?a:r<R?0:r,c,d,m,h,y,w,v,b,P;if(!u)jr(this,r,n,s);else if(_!==this._tTime||!r||s||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==l){if(c=_,b=this.timeline,this._repeat){if(h=u+this._rDelay,this._repeat<-1&&l)return this.totalTime(h*100+r,n,s);if(c=q(_%h),_===a?(m=this._repeat,c=u):(m=~~(_/h),m&&m===q(_/h)&&(c=u,m--),c>u&&(c=u)),w=this._yoyo&&m&1,w&&(P=this._yEase,c=u-c),y=Qt(this._tTime,h),c===o&&!s&&this._initted&&m===y)return this._tTime=_,this;m!==y&&(b&&this._yEase&&cr(b,w),this.vars.repeatRefresh&&!w&&!this._lock&&this._time!==h&&this._initted&&(this._lock=s=1,this.render(q(h*m),!0).invalidate()._lock=0))}if(!this._initted){if(Ji(this,l?r:c,s,n,_))return this._tTime=0,this;if(o!==this._time&&!(s&&this.vars.repeatRefresh&&m!==y))return this;if(u!==this._dur)return this.render(r,n,s)}if(this._tTime=_,this._time=c,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=v=(P||this._ease)(c/u),this._from&&(this.ratio=v=1-v),c&&!o&&!n&&!m&&(nt(this,"onStart"),this._tTime!==_))return this;for(d=this._pt;d;)d.r(v,d.d),d=d._next;b&&b.render(r<0?r:b._dur*b._ease(c/this._dur),n,s)||this._startAt&&(this._zTime=r),this._onUpdate&&!n&&(l&&Ue(this,r,n,s),nt(this,"onUpdate")),this._repeat&&m!==y&&this.vars.onRepeat&&!n&&this.parent&&nt(this,"onRepeat"),(_===this._tDur||!_)&&this._tTime===_&&(l&&!this._onUpdate&&Ue(this,r,!0,!0),(r||!u)&&(_===this._tDur&&this._ts>0||!_&&this._ts<0)&&Mt(this,1),!n&&!(l&&!o)&&(_||o||w)&&(nt(this,_===a?"onComplete":"onReverseComplete",!0),this._prom&&!(_<a&&this.timeScale()>0)&&this._prom()))}return this},e.targets=function(){return this._targets},e.invalidate=function(r){return(!r||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(r),f.prototype.invalidate.call(this,r)},e.resetTo=function(r,n,s,o,a){he||rt.wake(),this._ts||this.play();var u=Math.min(this._dur,(this._dp._time-this._start)*this._ts),l;return this._initted||fi(this,u),l=this._ease(u/this._dur),pn(this,r,n,s,o,l,u,a)?this.resetTo(r,n,s,o,1):(Me(this,0),this.parent||Hi(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},e.kill=function(r,n){if(n===void 0&&(n="all"),!r&&(!n||n==="all"))return this._lazy=this._pt=0,this.parent?ie(this):this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(r,n,Pt&&Pt.vars.overwrite!==!0)._first||ie(this),this.parent&&s!==this.timeline.totalDuration()&&Zt(this,this._dur*this.timeline._tDur/s,0,1),this}var o=this._targets,a=r?lt(r):o,u=this._ptLookup,l=this._pt,_,c,d,m,h,y,w;if((!n||n==="all")&&Gr(o,a))return n==="all"&&(this._pt=0),ie(this);for(_=this._op=this._op||[],n!=="all"&&(G(n)&&(h={},Q(n,function(v){return h[v]=1}),n=h),n=gn(o,n)),w=o.length;w--;)if(~a.indexOf(o[w])){c=u[w],n==="all"?(_[w]=n,m=c,d={}):(d=_[w]=_[w]||{},m=n);for(h in m)y=c&&c[h],y&&((!("kill"in y.d)||y.d.kill(h)===!0)&&ke(this,y,"_pt"),delete c[h]),d!=="all"&&(d[h]=1)}return this._initted&&!this._pt&&l&&ie(this),this},t.to=function(r,n){return new t(r,n,arguments[2])},t.from=function(r,n){return oe(1,arguments)},t.delayedCall=function(r,n,s,o){return new t(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:r,onComplete:n,onReverseComplete:n,onCompleteParams:s,onReverseCompleteParams:s,callbackScope:o})},t.fromTo=function(r,n,s){return oe(2,arguments)},t.set=function(r,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new t(r,n)},t.killTweensOf=function(r,n,s){return F.killTweensOf(r,n,s)},t}(_e);ht(X.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});Q("staggerTo,staggerFrom,staggerFromTo",function(f){X[f]=function(){var t=new j,e=Ge.call(arguments,0);return e.splice(f==="staggerFromTo"?5:4,0,0),t[f].apply(t,e)}});var li=function(t,e,i){return t[e]=i},xr=function(t,e,i){return t[e](i)},yn=function(t,e,i,r){return t[e](r.fp,i)},xn=function(t,e,i){return t.setAttribute(e,i)},hi=function(t,e){return B(t[e])?xr:ei(t[e])&&t.setAttribute?xn:li},Tr=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e6)/1e6,e)},Tn=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},vr=function(t,e){var i=e._pt,r="";if(!t&&e.b)r=e.b;else if(t===1&&e.e)r=e.e;else{for(;i;)r=i.p+(i.m?i.m(i.s+i.c*t):Math.round((i.s+i.c*t)*1e4)/1e4)+r,i=i._next;r+=e.c}e.set(e.t,e.p,r,e)},_i=function(t,e){for(var i=e._pt;i;)i.r(t,i.d),i=i._next},vn=function(t,e,i,r){for(var n=this._pt,s;n;)s=n._next,n.p===r&&n.modifier(t,e,i),n=s},wn=function(t){for(var e=this._pt,i,r;e;)r=e._next,e.p===t&&!e.op||e.op===t?ke(this,e,"_pt"):e.dep||(i=1),e=r;return!i},bn=function(t,e,i,r){r.mSet(t,e,r.m.call(r.tween,i,r.mt),r)},wr=function(t){for(var e=t._pt,i,r,n,s;e;){for(i=e._next,r=n;r&&r.pr>e.pr;)r=r._next;(e._prev=r?r._prev:s)?e._prev._next=e:n=e,(e._next=r)?r._prev=e:s=e,e=i}t._pt=n},Z=function(){function f(e,i,r,n,s,o,a,u,l){this.t=i,this.s=n,this.c=s,this.p=r,this.r=o||Tr,this.d=a||this,this.set=u||li,this.pr=l||0,this._next=e,e&&(e._prev=this)}var t=f.prototype;return t.modifier=function(i,r,n){this.mSet=this.mSet||this.set,this.set=bn,this.m=i,this.mt=n,this.tween=r},f}();Q(oi+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(f){return si[f]=1});ot.TweenMax=ot.TweenLite=X;ot.TimelineLite=ot.TimelineMax=j;F=new j({sortChildren:!1,defaults:Ht,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});st.stringFilter=hr;var Yt=[],xe={},Pn=[],Si=0,Sn=0,ze=function(t){return(xe[t]||Pn).map(function(e){return e()})},je=function(){var t=Date.now(),e=[];t-Si>2&&(ze("matchMediaInit"),Yt.forEach(function(i){var r=i.queries,n=i.conditions,s,o,a,u;for(o in r)s=_t.matchMedia(r[o]).matches,s&&(a=1),s!==n[o]&&(n[o]=s,u=1);u&&(i.revert(),a&&e.push(i))}),ze("matchMediaRevert"),e.forEach(function(i){return i.onMatch(i,function(r){return i.add(null,r)})}),Si=t,ze("matchMedia"))},br=function(){function f(e,i){this.selector=i&&We(i),this.data=[],this._r=[],this.isReverted=!1,this.id=Sn++,e&&this.add(e)}var t=f.prototype;return t.add=function(i,r,n){B(i)&&(n=r,r=i,i=B);var s=this,o=function(){var u=E,l=s.selector,_;return u&&u!==s&&u.data.push(s),n&&(s.selector=We(n)),E=s,_=r.apply(s,arguments),B(_)&&s._r.push(_),E=u,s.selector=l,s.isReverted=!1,_};return s.last=o,i===B?o(s,function(a){return s.add(null,a)}):i?s[i]=o:o},t.ignore=function(i){var r=E;E=null,i(this),E=r},t.getTweens=function(){var i=[];return this.data.forEach(function(r){return r instanceof f?i.push.apply(i,r.getTweens()):r instanceof X&&!(r.parent&&r.parent.data==="nested")&&i.push(r)}),i},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(i,r){var n=this;if(i?function(){for(var o=n.getTweens(),a=n.data.length,u;a--;)u=n.data[a],u.data==="isFlip"&&(u.revert(),u.getChildren(!0,!0,!1).forEach(function(l){return o.splice(o.indexOf(l),1)}));for(o.map(function(l){return{g:l._dur||l._delay||l._sat&&!l._sat.vars.immediateRender?l.globalTime(0):-1/0,t:l}}).sort(function(l,_){return _.g-l.g||-1/0}).forEach(function(l){return l.t.revert(i)}),a=n.data.length;a--;)u=n.data[a],u instanceof j?u.data!=="nested"&&(u.scrollTrigger&&u.scrollTrigger.revert(),u.kill()):!(u instanceof X)&&u.revert&&u.revert(i);n._r.forEach(function(l){return l(i,n)}),n.isReverted=!0}():this.data.forEach(function(o){return o.kill&&o.kill()}),this.clear(),r)for(var s=Yt.length;s--;)Yt[s].id===this.id&&Yt.splice(s,1)},t.revert=function(i){this.kill(i||{})},f}(),On=function(){function f(e){this.contexts=[],this.scope=e,E&&E.data.push(this)}var t=f.prototype;return t.add=function(i,r,n){gt(i)||(i={matches:i});var s=new br(0,n||this.scope),o=s.conditions={},a,u,l;E&&!s.selector&&(s.selector=E.selector),this.contexts.push(s),r=s.add("onMatch",r),s.queries=i;for(u in i)u==="all"?l=1:(a=_t.matchMedia(i[u]),a&&(Yt.indexOf(s)<0&&Yt.push(s),(o[u]=a.matches)&&(l=1),a.addListener?a.addListener(je):a.addEventListener("change",je)));return l&&r(s,function(_){return s.add(null,_)}),this},t.revert=function(i){this.kill(i||{})},t.kill=function(i){this.contexts.forEach(function(r){return r.kill(i,!0)})},f}(),Pe={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];e.forEach(function(r){return ur(r)})},timeline:function(t){return new j(t)},getTweensOf:function(t,e){return F.getTweensOf(t,e)},getProperty:function(t,e,i,r){G(t)&&(t=lt(t)[0]);var n=It(t||{}).get,s=i?ji:$i;return i==="native"&&(i=""),t&&(e?s((it[e]&&it[e].get||n)(t,e,i,r)):function(o,a,u){return s((it[o]&&it[o].get||n)(t,o,a,u))})},quickSetter:function(t,e,i){if(t=lt(t),t.length>1){var r=t.map(function(l){return tt.quickSetter(l,e,i)}),n=r.length;return function(l){for(var _=n;_--;)r[_](l)}}t=t[0]||{};var s=it[e],o=It(t),a=o.harness&&(o.harness.aliases||{})[e]||e,u=s?function(l){var _=new s;Wt._pt=0,_.init(t,i?l+i:l,Wt,0,[t]),_.render(1,_),Wt._pt&&_i(1,Wt)}:o.set(t,a);return s?u:function(l){return u(t,a,i?l+i:l,o,1)}},quickTo:function(t,e,i){var r,n=tt.to(t,Vt((r={},r[e]="+=0.1",r.paused=!0,r),i||{})),s=function(a,u,l){return n.resetTo(e,a,u,l)};return s.tween=n,s},isTweening:function(t){return F.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=Nt(t.ease,Ht.ease)),Ti(Ht,t||{})},config:function(t){return Ti(st,t||{})},registerEffect:function(t){var e=t.name,i=t.effect,r=t.plugins,n=t.defaults,s=t.extendTimeline;(r||"").split(",").forEach(function(o){return o&&!it[o]&&!ot[o]&&ue(e+" effect requires "+o+" plugin.")}),Ae[e]=function(o,a,u){return i(lt(o),ht(a||{},n),u)},s&&(j.prototype[e]=function(o,a,u){return this.add(Ae[e](o,gt(a)?a:(u=a)&&{},this),u)})},registerEase:function(t,e){M[t]=Nt(e)},parseEase:function(t,e){return arguments.length?Nt(t,e):M},getById:function(t){return F.getById(t)},exportRoot:function(t,e){t===void 0&&(t={});var i=new j(t),r,n;for(i.smoothChildTiming=H(t.smoothChildTiming),F.remove(i),i._dp=0,i._time=i._tTime=F._time,r=F._first;r;)n=r._next,(e||!(!r._dur&&r instanceof X&&r.vars.onComplete===r._targets[0]))&&ct(i,r,r._start-r._delay),r=n;return ct(F,i,0),i},context:function(t,e){return t?new br(t,e):E},matchMedia:function(t){return new On(t)},matchMediaRefresh:function(){return Yt.forEach(function(t){var e=t.conditions,i,r;for(r in e)e[r]&&(e[r]=!1,i=1);i&&t.revert()})||je()},addEventListener:function(t,e){var i=xe[t]||(xe[t]=[]);~i.indexOf(e)||i.push(e)},removeEventListener:function(t,e){var i=xe[t],r=i&&i.indexOf(e);r>=0&&i.splice(r,1)},utils:{wrap:nn,wrapYoyo:sn,distribute:ir,random:nr,snap:rr,normalize:rn,getUnit:W,clamp:Zr,splitColor:fr,toArray:lt,selector:We,mapRange:or,pipe:tn,unitize:en,interpolate:on,shuffle:er},install:Ui,effects:Ae,ticker:rt,updateRoot:j.updateRoot,plugins:it,globalTimeline:F,core:{PropTween:Z,globals:qi,Tween:X,Timeline:j,Animation:_e,getCache:It,_removeLinkedListItem:ke,reverting:function(){return K},context:function(t){return t&&E&&(E.data.push(t),t._ctx=E),E},suppressOverwrites:function(t){return ti=t}}};Q("to,from,fromTo,delayedCall,set,killTweensOf",function(f){return Pe[f]=X[f]});rt.add(j.updateRoot);Wt=Pe.to({},{duration:0});var kn=function(t,e){for(var i=t._pt;i&&i.p!==e&&i.op!==e&&i.fp!==e;)i=i._next;return i},Cn=function(t,e){var i=t._targets,r,n,s;for(r in e)for(n=i.length;n--;)s=t._ptLookup[n][r],s&&(s=s.d)&&(s._pt&&(s=kn(s,r)),s&&s.modifier&&s.modifier(e[r],t,i[n],r))},Le=function(t,e){return{name:t,rawVars:1,init:function(r,n,s){s._onInit=function(o){var a,u;if(G(n)&&(a={},Q(n,function(l){return a[l]=1}),n=a),e){a={};for(u in n)a[u]=e(n[u]);n=a}Cn(o,n)}}}},tt=Pe.registerPlugin({name:"attr",init:function(t,e,i,r,n){var s,o,a;this.tween=i;for(s in e)a=t.getAttribute(s)||"",o=this.add(t,"setAttribute",(a||0)+"",e[s],r,n,0,0,s),o.op=s,o.b=a,this._props.push(s)},render:function(t,e){for(var i=e._pt;i;)K?i.set(i.t,i.p,i.b,i):i.r(t,i.d),i=i._next}},{name:"endArray",init:function(t,e){for(var i=e.length;i--;)this.add(t,i,t[i]||0,e[i],0,0,0,0,0,1)}},Le("roundProps",Ke),Le("modifiers"),Le("snap",rr))||Pe;X.version=j.version=tt.version="3.12.5";Xi=1;ii()&&Jt();M.Power0;M.Power1;M.Power2;M.Power3;M.Power4;M.Linear;M.Quad;M.Cubic;M.Quart;M.Quint;M.Strong;M.Elastic;M.Back;M.SteppedEase;M.Bounce;M.Sine;M.Expo;M.Circ;/*!
|
10
|
-
* CSSPlugin 3.12.5
|
11
|
-
* https://gsap.com
|
12
|
-
*
|
13
|
-
* Copyright 2008-2024, GreenSock. All rights reserved.
|
14
|
-
* Subject to the terms at https://gsap.com/standard-license or for
|
15
|
-
* Club GSAP members, the agreement issued with that membership.
|
16
|
-
* @author: Jack Doyle, jack@greensock.com
|
17
|
-
*/var Oi,St,$t,ci,Lt,ki,di,Mn=function(){return typeof window<"u"},bt={},zt=180/Math.PI,jt=Math.PI/180,qt=Math.atan2,Ci=1e8,pi=/([A-Z])/g,Dn=/(left|right|width|margin|padding|x)/i,An=/[\s,\(]\S/,dt={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},He=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},Rn=function(t,e){return e.set(e.t,e.p,t===1?e.e:Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},En=function(t,e){return e.set(e.t,e.p,t?Math.round((e.s+e.c*t)*1e4)/1e4+e.u:e.b,e)},Fn=function(t,e){var i=e.s+e.c*t;e.set(e.t,e.p,~~(i+(i<0?-.5:.5))+e.u,e)},Pr=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},Sr=function(t,e){return e.set(e.t,e.p,t!==1?e.b:e.e,e)},zn=function(t,e,i){return t.style[e]=i},Ln=function(t,e,i){return t.style.setProperty(e,i)},In=function(t,e,i){return t._gsap[e]=i},Bn=function(t,e,i){return t._gsap.scaleX=t._gsap.scaleY=i},Nn=function(t,e,i,r,n){var s=t._gsap;s.scaleX=s.scaleY=i,s.renderTransform(n,s)},Yn=function(t,e,i,r,n){var s=t._gsap;s[e]=i,s.renderTransform(n,s)},z="transform",J=z+"Origin",Vn=function f(t,e){var i=this,r=this.target,n=r.style,s=r._gsap;if(t in bt&&n){if(this.tfm=this.tfm||{},t!=="transform")t=dt[t]||t,~t.indexOf(",")?t.split(",").forEach(function(o){return i.tfm[o]=vt(r,o)}):this.tfm[t]=s.x?s[t]:vt(r,t),t===J&&(this.tfm.zOrigin=s.zOrigin);else return dt.transform.split(",").forEach(function(o){return f.call(i,o,e)});if(this.props.indexOf(z)>=0)return;s.svg&&(this.svgo=r.getAttribute("data-svg-origin"),this.props.push(J,e,"")),t=z}(n||e)&&this.props.push(t,e,n[t])},Or=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},Xn=function(){var t=this.props,e=this.target,i=e.style,r=e._gsap,n,s;for(n=0;n<t.length;n+=3)t[n+1]?e[t[n]]=t[n+2]:t[n+2]?i[t[n]]=t[n+2]:i.removeProperty(t[n].substr(0,2)==="--"?t[n]:t[n].replace(pi,"-$1").toLowerCase());if(this.tfm){for(s in this.tfm)r[s]=this.tfm[s];r.svg&&(r.renderTransform(),e.setAttribute("data-svg-origin",this.svgo||"")),n=di(),(!n||!n.isStart)&&!i[z]&&(Or(i),r.zOrigin&&i[J]&&(i[J]+=" "+r.zOrigin+"px",r.zOrigin=0,r.renderTransform()),r.uncache=1)}},kr=function(t,e){var i={target:t,props:[],revert:Xn,save:Vn};return t._gsap||tt.core.getCache(t),e&&e.split(",").forEach(function(r){return i.save(r)}),i},Cr,Qe=function(t,e){var i=St.createElementNS?St.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):St.createElement(t);return i&&i.style?i:St.createElement(t)},pt=function f(t,e,i){var r=getComputedStyle(t);return r[e]||r.getPropertyValue(e.replace(pi,"-$1").toLowerCase())||r.getPropertyValue(e)||!i&&f(t,te(e)||e,1)||""},Mi="O,Moz,ms,Ms,Webkit".split(","),te=function(t,e,i){var r=e||Lt,n=r.style,s=5;if(t in n&&!i)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);s--&&!(Mi[s]+t in n););return s<0?null:(s===3?"ms":s>=0?Mi[s]:"")+t},Ze=function(){Mn()&&window.document&&(Oi=window,St=Oi.document,$t=St.documentElement,Lt=Qe("div")||{style:{}},Qe("div"),z=te(z),J=z+"Origin",Lt.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Cr=!!te("perspective"),di=tt.core.reverting,ci=1)},Ie=function f(t){var e=Qe("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=this.parentNode,r=this.nextSibling,n=this.style.cssText,s;if($t.appendChild(e),e.appendChild(this),this.style.display="block",t)try{s=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=f}catch{}else this._gsapBBox&&(s=this._gsapBBox());return i&&(r?i.insertBefore(this,r):i.appendChild(this)),$t.removeChild(e),this.style.cssText=n,s},Di=function(t,e){for(var i=e.length;i--;)if(t.hasAttribute(e[i]))return t.getAttribute(e[i])},Mr=function(t){var e;try{e=t.getBBox()}catch{e=Ie.call(t,!0)}return e&&(e.width||e.height)||t.getBBox===Ie||(e=Ie.call(t,!0)),e&&!e.width&&!e.x&&!e.y?{x:+Di(t,["x","cx","x1"])||0,y:+Di(t,["y","cy","y1"])||0,width:0,height:0}:e},Dr=function(t){return!!(t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&Mr(t))},Xt=function(t,e){if(e){var i=t.style,r;e in bt&&e!==J&&(e=z),i.removeProperty?(r=e.substr(0,2),(r==="ms"||e.substr(0,6)==="webkit")&&(e="-"+e),i.removeProperty(r==="--"?e:e.replace(pi,"-$1").toLowerCase())):i.removeAttribute(e)}},Ot=function(t,e,i,r,n,s){var o=new Z(t._pt,e,i,0,1,s?Sr:Pr);return t._pt=o,o.b=r,o.e=n,t._props.push(i),o},Ai={deg:1,rad:1,turn:1},Un={grid:1,flex:1},Dt=function f(t,e,i,r){var n=parseFloat(i)||0,s=(i+"").trim().substr((n+"").length)||"px",o=Lt.style,a=Dn.test(e),u=t.tagName.toLowerCase()==="svg",l=(u?"client":"offset")+(a?"Width":"Height"),_=100,c=r==="px",d=r==="%",m,h,y,w;if(r===s||!n||Ai[r]||Ai[s])return n;if(s!=="px"&&!c&&(n=f(t,e,i,"px")),w=t.getCTM&&Dr(t),(d||s==="%")&&(bt[e]||~e.indexOf("adius")))return m=w?t.getBBox()[a?"width":"height"]:t[l],Y(d?n/m*_:n/100*m);if(o[a?"width":"height"]=_+(c?s:r),h=~e.indexOf("adius")||r==="em"&&t.appendChild&&!u?t:t.parentNode,w&&(h=(t.ownerSVGElement||{}).parentNode),(!h||h===St||!h.appendChild)&&(h=St.body),y=h._gsap,y&&d&&y.width&&a&&y.time===rt.time&&!y.uncache)return Y(n/y.width*_);if(d&&(e==="height"||e==="width")){var v=t.style[e];t.style[e]=_+r,m=t[l],v?t.style[e]=v:Xt(t,e)}else(d||s==="%")&&!Un[pt(h,"display")]&&(o.position=pt(t,"position")),h===t&&(o.position="static"),h.appendChild(Lt),m=Lt[l],h.removeChild(Lt),o.position="absolute";return a&&d&&(y=It(h),y.time=rt.time,y.width=h[l]),Y(c?m*n/_:m&&n?_/m*n:0)},vt=function(t,e,i,r){var n;return ci||Ze(),e in dt&&e!=="transform"&&(e=dt[e],~e.indexOf(",")&&(e=e.split(",")[0])),bt[e]&&e!=="transform"?(n=de(t,r),n=e!=="transformOrigin"?n[e]:n.svg?n.origin:Oe(pt(t,J))+" "+n.zOrigin+"px"):(n=t.style[e],(!n||n==="auto"||r||~(n+"").indexOf("calc("))&&(n=Se[e]&&Se[e](t,e,i)||pt(t,e)||Wi(t,e)||(e==="opacity"?1:0))),i&&!~(n+"").trim().indexOf(" ")?Dt(t,e,n,i)+i:n},qn=function(t,e,i,r){if(!i||i==="none"){var n=te(e,t,1),s=n&&pt(t,n,1);s&&s!==i?(e=n,i=s):e==="borderColor"&&(i=pt(t,"borderTopColor"))}var o=new Z(this._pt,t.style,e,0,1,vr),a=0,u=0,l,_,c,d,m,h,y,w,v,b,P,T;if(o.b=i,o.e=r,i+="",r+="",r==="auto"&&(h=t.style[e],t.style[e]=r,r=pt(t,e)||r,h?t.style[e]=h:Xt(t,e)),l=[i,r],hr(l),i=l[0],r=l[1],c=i.match(Gt)||[],T=r.match(Gt)||[],T.length){for(;_=Gt.exec(r);)y=_[0],v=r.substring(a,_.index),m?m=(m+1)%5:(v.substr(-5)==="rgba("||v.substr(-5)==="hsla(")&&(m=1),y!==(h=c[u++]||"")&&(d=parseFloat(h)||0,P=h.substr((d+"").length),y.charAt(1)==="="&&(y=Kt(d,y)+P),w=parseFloat(y),b=y.substr((w+"").length),a=Gt.lastIndex-b.length,b||(b=b||st.units[e]||P,a===r.length&&(r+=b,o.e+=b)),P!==b&&(d=Dt(t,e,h,b)||0),o._pt={_next:o._pt,p:v||u===1?v:",",s:d,c:w-d,m:m&&m<4||e==="zIndex"?Math.round:0});o.c=a<r.length?r.substring(a,r.length):""}else o.r=e==="display"&&r==="none"?Sr:Pr;return Yi.test(r)&&(o.e=0),this._pt=o,o},Ri={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Gn=function(t){var e=t.split(" "),i=e[0],r=e[1]||"50%";return(i==="top"||i==="bottom"||r==="left"||r==="right")&&(t=i,i=r,r=t),e[0]=Ri[i]||i,e[1]=Ri[r]||r,e.join(" ")},Wn=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var i=e.t,r=i.style,n=e.u,s=i._gsap,o,a,u;if(n==="all"||n===!0)r.cssText="",a=1;else for(n=n.split(","),u=n.length;--u>-1;)o=n[u],bt[o]&&(a=1,o=o==="transformOrigin"?J:z),Xt(i,o);a&&(Xt(i,z),s&&(s.svg&&i.removeAttribute("transform"),de(i,1),s.uncache=1,Or(r)))}},Se={clearProps:function(t,e,i,r,n){if(n.data!=="isFromStart"){var s=t._pt=new Z(t._pt,e,i,0,0,Wn);return s.u=r,s.pr=-10,s.tween=n,t._props.push(i),1}}},ce=[1,0,0,1,0,0],Ar={},Rr=function(t){return t==="matrix(1, 0, 0, 1, 0, 0)"||t==="none"||!t},Ei=function(t){var e=pt(t,z);return Rr(e)?ce:e.substr(7).match(Ni).map(Y)},gi=function(t,e){var i=t._gsap||It(t),r=t.style,n=Ei(t),s,o,a,u;return i.svg&&t.getAttribute("transform")?(a=t.transform.baseVal.consolidate().matrix,n=[a.a,a.b,a.c,a.d,a.e,a.f],n.join(",")==="1,0,0,1,0,0"?ce:n):(n===ce&&!t.offsetParent&&t!==$t&&!i.svg&&(a=r.display,r.display="block",s=t.parentNode,(!s||!t.offsetParent)&&(u=1,o=t.nextElementSibling,$t.appendChild(t)),n=Ei(t),a?r.display=a:Xt(t,"display"),u&&(o?s.insertBefore(t,o):s?s.appendChild(t):$t.removeChild(t))),e&&n.length>6?[n[0],n[1],n[4],n[5],n[12],n[13]]:n)},Je=function(t,e,i,r,n,s){var o=t._gsap,a=n||gi(t,!0),u=o.xOrigin||0,l=o.yOrigin||0,_=o.xOffset||0,c=o.yOffset||0,d=a[0],m=a[1],h=a[2],y=a[3],w=a[4],v=a[5],b=e.split(" "),P=parseFloat(b[0])||0,T=parseFloat(b[1])||0,S,p,g,x;i?a!==ce&&(p=d*y-m*h)&&(g=P*(y/p)+T*(-h/p)+(h*v-y*w)/p,x=P*(-m/p)+T*(d/p)-(d*v-m*w)/p,P=g,T=x):(S=Mr(t),P=S.x+(~b[0].indexOf("%")?P/100*S.width:P),T=S.y+(~(b[1]||b[0]).indexOf("%")?T/100*S.height:T)),r||r!==!1&&o.smooth?(w=P-u,v=T-l,o.xOffset=_+(w*d+v*h)-w,o.yOffset=c+(w*m+v*y)-v):o.xOffset=o.yOffset=0,o.xOrigin=P,o.yOrigin=T,o.smooth=!!r,o.origin=e,o.originIsAbsolute=!!i,t.style[J]="0px 0px",s&&(Ot(s,o,"xOrigin",u,P),Ot(s,o,"yOrigin",l,T),Ot(s,o,"xOffset",_,o.xOffset),Ot(s,o,"yOffset",c,o.yOffset)),t.setAttribute("data-svg-origin",P+" "+T)},de=function(t,e){var i=t._gsap||new pr(t);if("x"in i&&!e&&!i.uncache)return i;var r=t.style,n=i.scaleX<0,s="px",o="deg",a=getComputedStyle(t),u=pt(t,J)||"0",l,_,c,d,m,h,y,w,v,b,P,T,S,p,g,x,k,C,O,D,V,L,I,N,U,at,mt,yt,et,yi,xt,Rt;return l=_=c=h=y=w=v=b=P=0,d=m=1,i.svg=!!(t.getCTM&&Dr(t)),a.translate&&((a.translate!=="none"||a.scale!=="none"||a.rotate!=="none")&&(r[z]=(a.translate!=="none"?"translate3d("+(a.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(a.rotate!=="none"?"rotate("+a.rotate+") ":"")+(a.scale!=="none"?"scale("+a.scale.split(" ").join(",")+") ":"")+(a[z]!=="none"?a[z]:"")),r.scale=r.rotate=r.translate="none"),p=gi(t,i.svg),i.svg&&(i.uncache?(U=t.getBBox(),u=i.xOrigin-U.x+"px "+(i.yOrigin-U.y)+"px",N=""):N=!e&&t.getAttribute("data-svg-origin"),Je(t,N||u,!!N||i.originIsAbsolute,i.smooth!==!1,p)),T=i.xOrigin||0,S=i.yOrigin||0,p!==ce&&(C=p[0],O=p[1],D=p[2],V=p[3],l=L=p[4],_=I=p[5],p.length===6?(d=Math.sqrt(C*C+O*O),m=Math.sqrt(V*V+D*D),h=C||O?qt(O,C)*zt:0,v=D||V?qt(D,V)*zt+h:0,v&&(m*=Math.abs(Math.cos(v*jt))),i.svg&&(l-=T-(T*C+S*D),_-=S-(T*O+S*V))):(Rt=p[6],yi=p[7],mt=p[8],yt=p[9],et=p[10],xt=p[11],l=p[12],_=p[13],c=p[14],g=qt(Rt,et),y=g*zt,g&&(x=Math.cos(-g),k=Math.sin(-g),N=L*x+mt*k,U=I*x+yt*k,at=Rt*x+et*k,mt=L*-k+mt*x,yt=I*-k+yt*x,et=Rt*-k+et*x,xt=yi*-k+xt*x,L=N,I=U,Rt=at),g=qt(-D,et),w=g*zt,g&&(x=Math.cos(-g),k=Math.sin(-g),N=C*x-mt*k,U=O*x-yt*k,at=D*x-et*k,xt=V*k+xt*x,C=N,O=U,D=at),g=qt(O,C),h=g*zt,g&&(x=Math.cos(g),k=Math.sin(g),N=C*x+O*k,U=L*x+I*k,O=O*x-C*k,I=I*x-L*k,C=N,L=U),y&&Math.abs(y)+Math.abs(h)>359.9&&(y=h=0,w=180-w),d=Y(Math.sqrt(C*C+O*O+D*D)),m=Y(Math.sqrt(I*I+Rt*Rt)),g=qt(L,I),v=Math.abs(g)>2e-4?g*zt:0,P=xt?1/(xt<0?-xt:xt):0),i.svg&&(N=t.getAttribute("transform"),i.forceCSS=t.setAttribute("transform","")||!Rr(pt(t,z)),N&&t.setAttribute("transform",N))),Math.abs(v)>90&&Math.abs(v)<270&&(n?(d*=-1,v+=h<=0?180:-180,h+=h<=0?180:-180):(m*=-1,v+=v<=0?180:-180)),e=e||i.uncache,i.x=l-((i.xPercent=l&&(!e&&i.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-l)?-50:0)))?t.offsetWidth*i.xPercent/100:0)+s,i.y=_-((i.yPercent=_&&(!e&&i.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-_)?-50:0)))?t.offsetHeight*i.yPercent/100:0)+s,i.z=c+s,i.scaleX=Y(d),i.scaleY=Y(m),i.rotation=Y(h)+o,i.rotationX=Y(y)+o,i.rotationY=Y(w)+o,i.skewX=v+o,i.skewY=b+o,i.transformPerspective=P+s,(i.zOrigin=parseFloat(u.split(" ")[2])||!e&&i.zOrigin||0)&&(r[J]=Oe(u)),i.xOffset=i.yOffset=0,i.force3D=st.force3D,i.renderTransform=i.svg?$n:Cr?Er:Kn,i.uncache=0,i},Oe=function(t){return(t=t.split(" "))[0]+" "+t[1]},Be=function(t,e,i){var r=W(e);return Y(parseFloat(e)+parseFloat(Dt(t,"x",i+"px",r)))+r},Kn=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Er(t,e)},Et="0deg",ee="0px",Ft=") ",Er=function(t,e){var i=e||this,r=i.xPercent,n=i.yPercent,s=i.x,o=i.y,a=i.z,u=i.rotation,l=i.rotationY,_=i.rotationX,c=i.skewX,d=i.skewY,m=i.scaleX,h=i.scaleY,y=i.transformPerspective,w=i.force3D,v=i.target,b=i.zOrigin,P="",T=w==="auto"&&t&&t!==1||w===!0;if(b&&(_!==Et||l!==Et)){var S=parseFloat(l)*jt,p=Math.sin(S),g=Math.cos(S),x;S=parseFloat(_)*jt,x=Math.cos(S),s=Be(v,s,p*x*-b),o=Be(v,o,-Math.sin(S)*-b),a=Be(v,a,g*x*-b+b)}y!==ee&&(P+="perspective("+y+Ft),(r||n)&&(P+="translate("+r+"%, "+n+"%) "),(T||s!==ee||o!==ee||a!==ee)&&(P+=a!==ee||T?"translate3d("+s+", "+o+", "+a+") ":"translate("+s+", "+o+Ft),u!==Et&&(P+="rotate("+u+Ft),l!==Et&&(P+="rotateY("+l+Ft),_!==Et&&(P+="rotateX("+_+Ft),(c!==Et||d!==Et)&&(P+="skew("+c+", "+d+Ft),(m!==1||h!==1)&&(P+="scale("+m+", "+h+Ft),v.style[z]=P||"translate(0, 0)"},$n=function(t,e){var i=e||this,r=i.xPercent,n=i.yPercent,s=i.x,o=i.y,a=i.rotation,u=i.skewX,l=i.skewY,_=i.scaleX,c=i.scaleY,d=i.target,m=i.xOrigin,h=i.yOrigin,y=i.xOffset,w=i.yOffset,v=i.forceCSS,b=parseFloat(s),P=parseFloat(o),T,S,p,g,x;a=parseFloat(a),u=parseFloat(u),l=parseFloat(l),l&&(l=parseFloat(l),u+=l,a+=l),a||u?(a*=jt,u*=jt,T=Math.cos(a)*_,S=Math.sin(a)*_,p=Math.sin(a-u)*-c,g=Math.cos(a-u)*c,u&&(l*=jt,x=Math.tan(u-l),x=Math.sqrt(1+x*x),p*=x,g*=x,l&&(x=Math.tan(l),x=Math.sqrt(1+x*x),T*=x,S*=x)),T=Y(T),S=Y(S),p=Y(p),g=Y(g)):(T=_,g=c,S=p=0),(b&&!~(s+"").indexOf("px")||P&&!~(o+"").indexOf("px"))&&(b=Dt(d,"x",s,"px"),P=Dt(d,"y",o,"px")),(m||h||y||w)&&(b=Y(b+m-(m*T+h*p)+y),P=Y(P+h-(m*S+h*g)+w)),(r||n)&&(x=d.getBBox(),b=Y(b+r/100*x.width),P=Y(P+n/100*x.height)),x="matrix("+T+","+S+","+p+","+g+","+b+","+P+")",d.setAttribute("transform",x),v&&(d.style[z]=x)},jn=function(t,e,i,r,n){var s=360,o=G(n),a=parseFloat(n)*(o&&~n.indexOf("rad")?zt:1),u=a-r,l=r+u+"deg",_,c;return o&&(_=n.split("_")[1],_==="short"&&(u%=s,u!==u%(s/2)&&(u+=u<0?s:-s)),_==="cw"&&u<0?u=(u+s*Ci)%s-~~(u/s)*s:_==="ccw"&&u>0&&(u=(u-s*Ci)%s-~~(u/s)*s)),t._pt=c=new Z(t._pt,e,i,r,u,Rn),c.e=l,c.u="deg",t._props.push(i),c},Fi=function(t,e){for(var i in e)t[i]=e[i];return t},Hn=function(t,e,i){var r=Fi({},i._gsap),n="perspective,force3D,transformOrigin,svgOrigin",s=i.style,o,a,u,l,_,c,d,m;r.svg?(u=i.getAttribute("transform"),i.setAttribute("transform",""),s[z]=e,o=de(i,1),Xt(i,z),i.setAttribute("transform",u)):(u=getComputedStyle(i)[z],s[z]=e,o=de(i,1),s[z]=u);for(a in bt)u=r[a],l=o[a],u!==l&&n.indexOf(a)<0&&(d=W(u),m=W(l),_=d!==m?Dt(i,a,u,m):parseFloat(u),c=parseFloat(l),t._pt=new Z(t._pt,o,a,_,c-_,He),t._pt.u=m||0,t._props.push(a));Fi(o,r)};Q("padding,margin,Width,Radius",function(f,t){var e="Top",i="Right",r="Bottom",n="Left",s=(t<3?[e,i,r,n]:[e+n,e+i,r+i,r+n]).map(function(o){return t<2?f+o:"border"+o+f});Se[t>1?"border"+f:f]=function(o,a,u,l,_){var c,d;if(arguments.length<4)return c=s.map(function(m){return vt(o,m,u)}),d=c.join(" "),d.split(c[0]).length===5?c[0]:d;c=(l+"").split(" "),d={},s.forEach(function(m,h){return d[m]=c[h]=c[h]||c[(h-1)/2|0]}),o.init(a,d,_)}});var Fr={name:"css",register:Ze,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,i,r,n){var s=this._props,o=t.style,a=i.vars.startAt,u,l,_,c,d,m,h,y,w,v,b,P,T,S,p,g;ci||Ze(),this.styles=this.styles||kr(t),g=this.styles.props,this.tween=i;for(h in e)if(h!=="autoRound"&&(l=e[h],!(it[h]&&gr(h,e,i,r,t,n)))){if(d=typeof l,m=Se[h],d==="function"&&(l=l.call(i,r,t,n),d=typeof l),d==="string"&&~l.indexOf("random(")&&(l=le(l)),m)m(this,t,h,l,i)&&(p=1);else if(h.substr(0,2)==="--")u=(getComputedStyle(t).getPropertyValue(h)+"").trim(),l+="",Ct.lastIndex=0,Ct.test(u)||(y=W(u),w=W(l)),w?y!==w&&(u=Dt(t,h,u,w)+w):y&&(l+=y),this.add(o,"setProperty",u,l,r,n,0,0,h),s.push(h),g.push(h,0,o[h]);else if(d!=="undefined"){if(a&&h in a?(u=typeof a[h]=="function"?a[h].call(i,r,t,n):a[h],G(u)&&~u.indexOf("random(")&&(u=le(u)),W(u+"")||u==="auto"||(u+=st.units[h]||W(vt(t,h))||""),(u+"").charAt(1)==="="&&(u=vt(t,h))):u=vt(t,h),c=parseFloat(u),v=d==="string"&&l.charAt(1)==="="&&l.substr(0,2),v&&(l=l.substr(2)),_=parseFloat(l),h in dt&&(h==="autoAlpha"&&(c===1&&vt(t,"visibility")==="hidden"&&_&&(c=0),g.push("visibility",0,o.visibility),Ot(this,o,"visibility",c?"inherit":"hidden",_?"inherit":"hidden",!_)),h!=="scale"&&h!=="transform"&&(h=dt[h],~h.indexOf(",")&&(h=h.split(",")[0]))),b=h in bt,b){if(this.styles.save(h),P||(T=t._gsap,T.renderTransform&&!e.parseTransform||de(t,e.parseTransform),S=e.smoothOrigin!==!1&&T.smooth,P=this._pt=new Z(this._pt,o,z,0,1,T.renderTransform,T,0,-1),P.dep=1),h==="scale")this._pt=new Z(this._pt,T,"scaleY",T.scaleY,(v?Kt(T.scaleY,v+_):_)-T.scaleY||0,He),this._pt.u=0,s.push("scaleY",h),h+="X";else if(h==="transformOrigin"){g.push(J,0,o[J]),l=Gn(l),T.svg?Je(t,l,0,S,0,this):(w=parseFloat(l.split(" ")[2])||0,w!==T.zOrigin&&Ot(this,T,"zOrigin",T.zOrigin,w),Ot(this,o,h,Oe(u),Oe(l)));continue}else if(h==="svgOrigin"){Je(t,l,1,S,0,this);continue}else if(h in Ar){jn(this,T,h,c,v?Kt(c,v+l):l);continue}else if(h==="smoothOrigin"){Ot(this,T,"smooth",T.smooth,l);continue}else if(h==="force3D"){T[h]=l;continue}else if(h==="transform"){Hn(this,l,t);continue}}else h in o||(h=te(h)||h);if(b||(_||_===0)&&(c||c===0)&&!An.test(l)&&h in o)y=(u+"").substr((c+"").length),_||(_=0),w=W(l)||(h in st.units?st.units[h]:y),y!==w&&(c=Dt(t,h,u,w)),this._pt=new Z(this._pt,b?T:o,h,c,(v?Kt(c,v+_):_)-c,!b&&(w==="px"||h==="zIndex")&&e.autoRound!==!1?Fn:He),this._pt.u=w||0,y!==w&&w!=="%"&&(this._pt.b=u,this._pt.r=En);else if(h in o)qn.call(this,t,h,u,v?v+l:l);else if(h in t)this.add(t,h,u||t[h],v?v+l:l,r,n);else if(h!=="parseTransform"){ni(h,l);continue}b||(h in o?g.push(h,0,o[h]):g.push(h,1,u||t[h])),s.push(h)}}p&&wr(this)},render:function(t,e){if(e.tween._time||!di())for(var i=e._pt;i;)i.r(t,i.d),i=i._next;else e.styles.revert()},get:vt,aliases:dt,getSetter:function(t,e,i){var r=dt[e];return r&&r.indexOf(",")<0&&(e=r),e in bt&&e!==J&&(t._gsap.x||vt(t,"x"))?i&&ki===i?e==="scale"?Bn:In:(ki=i||{})&&(e==="scale"?Nn:Yn):t.style&&!ei(t.style[e])?zn:~e.indexOf("-")?Ln:hi(t,e)},core:{_removeProperty:Xt,_getMatrix:gi}};tt.utils.checkPrefix=te;tt.core.getStyleSaver=kr;(function(f,t,e,i){var r=Q(f+","+t+","+e,function(n){bt[n]=1});Q(t,function(n){st.units[n]="deg",Ar[n]=1}),dt[r[13]]=f+","+t,Q(i,function(n){var s=n.split(":");dt[s[1]]=r[s[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");Q("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(f){st.units[f]="px"});tt.registerPlugin(Fr);var mi=tt.registerPlugin(Fr)||tt;mi.core.Tween;var ne={exports:{}},Qn=ne.exports,zi;function Zn(){return zi||(zi=1,function(f,t){(function(e,i){i(t)})(Qn,function(e){/*!
|
18
|
-
* ScrollToPlugin 3.12.5
|
19
|
-
* https://gsap.com
|
20
|
-
*
|
21
|
-
* @license Copyright 2008-2024, GreenSock. All rights reserved.
|
22
|
-
* Subject to the terms at https://gsap.com/standard-license or for
|
23
|
-
* Club GSAP members, the agreement issued with that membership.
|
24
|
-
* @author: Jack Doyle, jack@greensock.com
|
25
|
-
*/var i,r,n,s,o,a,u,l,_=function(){return typeof window<"u"},c=function(){return i||_()&&(i=window.gsap)&&i.registerPlugin&&i},d=function(p){return typeof p=="string"},m=function(p){return typeof p=="function"},h=function(p,g){var x=g==="x"?"Width":"Height",k="scroll"+x,C="client"+x;return p===n||p===s||p===o?Math.max(s[k],o[k])-(n["inner"+x]||s[C]||o[C]):p[k]-p["offset"+x]},y=function(p,g){var x="scroll"+(g==="x"?"Left":"Top");return p===n&&(p.pageXOffset!=null?x="page"+g.toUpperCase()+"Offset":p=s[x]!=null?s:o),function(){return p[x]}},w=function(p,g,x,k){if(m(p)&&(p=p(g,x,k)),typeof p!="object")return d(p)&&p!=="max"&&p.charAt(1)!=="="?{x:p,y:p}:{y:p};if(p.nodeType)return{y:p,x:p};var C={},O;for(O in p)C[O]=O!=="onAutoKill"&&m(p[O])?p[O](g,x,k):p[O];return C},v=function(p,g){if(p=a(p)[0],!p||!p.getBoundingClientRect)return console.warn("scrollTo target doesn't exist. Using 0")||{x:0,y:0};var x=p.getBoundingClientRect(),k=!g||g===n||g===o,C=k?{top:s.clientTop-(n.pageYOffset||s.scrollTop||o.scrollTop||0),left:s.clientLeft-(n.pageXOffset||s.scrollLeft||o.scrollLeft||0)}:g.getBoundingClientRect(),O={x:x.left-C.left,y:x.top-C.top};return!k&&g&&(O.x+=y(g,"x")(),O.y+=y(g,"y")()),O},b=function(p,g,x,k,C){return!isNaN(p)&&typeof p!="object"?parseFloat(p)-C:d(p)&&p.charAt(1)==="="?parseFloat(p.substr(2))*(p.charAt(0)==="-"?-1:1)+k-C:p==="max"?h(g,x)-C:Math.min(h(g,x),v(p,g)[x]-C)},P=function(){i=c(),_()&&i&&typeof document<"u"&&document.body&&(n=window,o=document.body,s=document.documentElement,a=i.utils.toArray,i.config({autoKillThreshold:7}),u=i.config(),r=1)},T={version:"3.12.5",name:"scrollTo",rawVars:1,register:function(p){i=p,P()},init:function(p,g,x,k,C){r||P();var O=this,D=i.getProperty(p,"scrollSnapType");O.isWin=p===n,O.target=p,O.tween=x,g=w(g,k,p,C),O.vars=g,O.autoKill=!!g.autoKill,O.getX=y(p,"x"),O.getY=y(p,"y"),O.x=O.xPrev=O.getX(),O.y=O.yPrev=O.getY(),l||(l=i.core.globals().ScrollTrigger),i.getProperty(p,"scrollBehavior")==="smooth"&&i.set(p,{scrollBehavior:"auto"}),D&&D!=="none"&&(O.snap=1,O.snapInline=p.style.scrollSnapType,p.style.scrollSnapType="none"),g.x!=null?(O.add(O,"x",O.x,b(g.x,p,"x",O.x,g.offsetX||0),k,C),O._props.push("scrollTo_x")):O.skipX=1,g.y!=null?(O.add(O,"y",O.y,b(g.y,p,"y",O.y,g.offsetY||0),k,C),O._props.push("scrollTo_y")):O.skipY=1},render:function(p,g){for(var x=g._pt,k=g.target,C=g.tween,O=g.autoKill,D=g.xPrev,V=g.yPrev,L=g.isWin,I=g.snap,N=g.snapInline,U,at,mt,yt,et;x;)x.r(p,x.d),x=x._next;U=L||!g.skipX?g.getX():D,at=L||!g.skipY?g.getY():V,mt=at-V,yt=U-D,et=u.autoKillThreshold,g.x<0&&(g.x=0),g.y<0&&(g.y=0),O&&(!g.skipX&&(yt>et||yt<-et)&&U<h(k,"x")&&(g.skipX=1),!g.skipY&&(mt>et||mt<-et)&&at<h(k,"y")&&(g.skipY=1),g.skipX&&g.skipY&&(C.kill(),g.vars.onAutoKill&&g.vars.onAutoKill.apply(C,g.vars.onAutoKillParams||[]))),L?n.scrollTo(g.skipX?U:g.x,g.skipY?at:g.y):(g.skipY||(k.scrollTop=g.y),g.skipX||(k.scrollLeft=g.x)),I&&(p===1||p===0)&&(at=k.scrollTop,U=k.scrollLeft,N?k.style.scrollSnapType=N:k.style.removeProperty("scroll-snap-type"),k.scrollTop=at+1,k.scrollLeft=U+1,k.scrollTop=at,k.scrollLeft=U),g.xPrev=g.x,g.yPrev=g.y,l&&l.update()},kill:function(p){var g=p==="scrollTo",x=this._props.indexOf(p);return(g||p==="scrollTo_x")&&(this.skipX=1),(g||p==="scrollTo_y")&&(this.skipY=1),x>-1&&this._props.splice(x,1),!this._props.length}};T.max=h,T.getOffset=v,T.buildGetter=y,c()&&i.registerPlugin(T),e.ScrollToPlugin=T,e.default=T,Object.defineProperty(e,"__esModule",{value:!0})})}(ne,ne.exports)),ne.exports}var Jn=Zn();const ts=zr(Jn);mi.registerPlugin(ts);function is(){const f=document.getElementById("yun-banner");f&&mi.to(window,{duration:1,scrollTo:{y:f.clientHeight-50},ease:"power3.inOut"})}export{is as g};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{A as o,B as a}from"./app.DdNQbQcf.js";import{r}from"./framework.DTsYX98Z.js";import{u as t}from"./chunks/@vueuse/motion.Cu3FxAjX.js";import{c as u}from"./index.x8TNrC4q.js";function y(i){const e=r(!1),{top:n}=o(i);return a(i,([{isIntersecting:s}])=>{e.value=s}),{show:()=>{e.value||window.scrollTo(0,n.value)}}}function d(i,e){t(i,{initial:{opacity:0,y:e.y||40},enter:{opacity:1,y:0,transition:{delay:e.i*(e.delay||50),type:"spring",ease:u.easeIn,damping:8,duration:e.duration||400}}})}export{d as a,y as u};
|