<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">import{b as S,c as A,d as w,h as D}from"https://st-p.rmcdn1.net/97f626e7/dist/c/c-6336YJLI.js";import{c as p,d as P}from"https://st-p.rmcdn1.net/97f626e7/dist/c/c-COI4LSFR.js";import{a as M}from"https://st-p.rmcdn1.net/97f626e7/dist/c/c-LJWCCZHM.js";function X(t){let e=t,o=1;do{let n=window.getComputedStyle(e);typeof n.zoom!="string"?e=null:n.zoom!=="1"?(e=null,o=Number(n.zoom)):e=e.parentNode}while(e&amp;&amp;e!==document.documentElement);return o}function nt(t,e){return e.left&lt;=t.left&amp;&amp;t.left&lt;=e.left+e.width&amp;&amp;e.top&lt;=t.top&amp;&amp;t.top&lt;=e.top+e.height}function it(t,e){let o={x:Number.MAX_SAFE_INTEGER,y:Number.MAX_SAFE_INTEGER,onSegment1:!1,onSegment2:!1},n=(e.y2-e.y1)*(t.x2-t.x1)-(e.x2-e.x1)*(t.y2-t.y1);if(n===0)return o;let i=t.y1-e.y1,r=t.x1-e.x1,s=(e.x2-e.x1)*i-(e.y2-e.y1)*r,l=(t.x2-t.x1)*i-(t.y2-t.y1)*r;return i=s/n,r=l/n,o.x=t.x1+i*(t.x2-t.x1),o.y=t.y1+i*(t.y2-t.y1),i&gt;0&amp;&amp;i&lt;1&amp;&amp;(o.onSegment1=!0),r&gt;0&amp;&amp;r&lt;1&amp;&amp;(o.onSegment2=!0),o}function rt(t,e){let o=t.width/2,n=t.height/2,i=u=&gt;this.lineIntersection(u,{x1:o,y1:n,x2:e.x,y2:e.y}),r=i({x1:0,y1:0,x2:t.width,y2:0}),s=Math.sqrt(n**2+(r.x&lt;0?o-r.x:r.x-o)**2),l=i({x1:t.width,y1:0,x2:t.width,y2:t.height}),h=Math.sqrt(o**2+(l.y&lt;0?n-l.y:l.y-n)**2);return Math.sqrt(Math.abs(o-e.x)**2+Math.abs(n-e.y)**2)/(s&lt;h?s:h)}function st(t,e,o){if(!(t instanceof HTMLElement))return null;let n=t.getBoundingClientRect();if(t.unzoomed)return n;let r=e??X(t);if(r===1)return n;let{x:s,y:l,width:h,height:f,top:u}=n;if(W)return DOMRect.fromRect({x:s/r,y:l/r,height:f/r,width:h/r});if(F){let c=o?o.scrollTop:d().top;return DOMRect.fromRect({x:s,y:u+(1-1/r)*c,height:f,width:h})}return n}var W,F,m,x,V,T,a,Y,q,U,_,j,Z,$,J,K,y,B,C,Q,tt,v,H,R,z,et,ot,lt,E,I=M(()=&gt;{"use strict";P();L();W=(()=&gt;{if(p.isChrome()){let t=navigator.userAgent.match(new RegExp("Chrome/(\\d+)"))??[];return t[1]?Number(t[1])&gt;=128:!1}else return!1})(),F=p.isSafari();m=(t,e=1)=&gt;Object.assign({},t,"left"in t?{left:t.left*e}:{},"top"in t?{top:t.top*e}:{},"width"in t?{width:t.width*e}:{},"height"in t?{height:t.height*e}:{}),x=(t,e={left:0,top:0})=&gt;({...t,left:t.left+e.left,top:t.top+e.top}),V=(t,e)=&gt;({...t,left:(e.width-t.width)/2,top:(e.height-t.height)/2}),T=(t,e={left:0,top:0})=&gt;x(t,e),a=(t,e={left:0,top:0})=&gt;x(t,{left:-e.left,top:-e.top}),Y=(t,e)=&gt;{let o={left:("left"in e?e.left:0)+("width"in e?e.width:0),top:("top"in e?e.top:0)+("height"in e?e.height:0)};return{...t,right:o.left-t.left-("width"in t?t.width:0),bottom:o.top-t.top-("height"in t?t.height:0)}},q=(t,e)=&gt;({left:e.width-t.right-t.width,top:e.height-t.bottom-t.height,width:t.width,height:t.height}),U=t=&gt;({left:("left"in t?t.left:0)+t.width/2,top:("top"in t?t.top:0)+t.height/2}),_=(t,e)=&gt;{let o="left"in e&amp;&amp;"top"in e?e:{top:0,left:0},n=a(t,o),i={...t,left:n.left&lt;0?0:n.left+n.width&gt;e.width?e.width-t.width:n.left,top:n.top&lt;0?0:n.top+n.height&gt;e.height?e.height-t.height:n.top};return T(i,o)},j=(t,e)=&gt;{if(e.width/e.height&gt;t.width/t.height){let n=t.width/e.width;return{width:t.width,height:e.height*n}}else{let n=t.height/e.height;return{width:e.width*n,height:t.height}}},Z=(t,e)=&gt;{if(t.width/t.height&gt;e.width/e.height){let n=e.width/t.width;return{width:t.width*n,height:t.height*n}}else{let n=e.height/t.height;return{width:t.width*n,height:t.height*n}}},$=(t,e)=&gt;{let{left:o=0,top:n=0,width:i,height:r}=t,{left:s=0,top:l=0,width:h,height:f}=e,{left:u,top:c,right:g,bottom:b}={left:Math.max(o,s),top:Math.max(n,l),right:Math.min(o+i,s+h),bottom:Math.min(n+r,l+f)},{width:k,height:N}={width:g-u,height:b-c};return k&gt;0&amp;&amp;N&gt;0?{left:u,top:c,width:g-u,height:b-c}:{width:0,height:0}},J=t=&gt;({left:t.left,top:t.top,width:t.width,height:t.height}),K=(t,e,o,n)=&gt;{let i=n?{left:n.scrollLeft,top:n.scrollTop}:d();return a(m(t,o*e),i)},y=(t,e,o,n)=&gt;{let i=m(t,1/o/e);if("left"in i&amp;&amp;"top"in i){let r=n?{left:n.scrollLeft,top:n.scrollTop}:d();return T(i,m(r,1/e/o))}else return i},B=(t,e,o,n)=&gt;{let i=n?{left:n.scrollLeft,top:n.scrollTop}:d();return p.isSafari()&amp;&amp;o!==1?a({left:t.pageX,top:t.pageY},i):{left:t.clientX,top:t.clientY}},C=(t,e,o,n)=&gt;{let i=J(t.getBoundingClientRect()),r=n?n.scrollTop:d().top;return m({...i,top:p.isSafari()&amp;&amp;o!==1?i.top+(1-1/o)*r:i.top},o)},Q=(t,e,o)=&gt;m({left:t.pageX,top:t.pageY},1/e/o),tt=(t,e,o,n)=&gt;H(B(t,1,n),e,1,n),v=(t,e,o)=&gt;y(C(t,e,o),e,o),H=(t,e,o,n)=&gt;a(y(t,o,n),v(e,o,n)),R=t=&gt;{let e=Math.sqrt(Math.pow(t.left,2)+Math.pow(t.top,2)),o=Math.atan2(t.top,t.left)*180/Math.PI;return{radius:e,degrees:o}},z=(t,e)=&gt;{let o=e*Math.PI/180;return{left:t*Math.cos(o),top:t*Math.sin(o)}},et=(t={left:0,top:0},e={left:0,top:0},o=0)=&gt;{let n=a(t,e),i=R(n),r=z(i.radius,i.degrees+o);return T(r,e)},ot=(t,e)=&gt;{let{left:o,top:n,width:i,height:r}=t,s=e*(Math.PI/180),l=Math.abs(i*Math.cos(s))+Math.abs(r*Math.sin(s)),h=Math.abs(i*Math.sin(s))+Math.abs(r*Math.cos(s)),f=o+i/2,u=n+r/2,c=f-l/2,g=u-h/2;return{width:l,height:h,top:g,left:c}};lt={resize:m,move:x,center:V,rotate:et,rotateBox:ot,relativeToAbsolute:T,absoluteToRelative:a,invertPosition:Y,confine:_,cover:j,contain:Z,intersection:$,normalizePosition:q,getCenter:U,cartesianToPolar:R,polarToCartesian:z,mapFromDocumentToViewport:K,mapFromViewportToDocument:y,mapPointerToViewport:B,mapPointerToDocument:Q,mapPointerToElement:tt,mapElementToViewport:C,mapElementToDocument:v,mapFromViewportToElement:H,isPointInBox:nt,lineIntersection:it,percentFromRectangleCenter:rt,getClientBox:st},E=lt});function gt(t){let e=E.getClientBox(t);return e.top&lt;=0&amp;&amp;e.bottom&gt;=0}function d(t){let e=t||window,{pageXOffset:o,pageYOffset:n,document:i}=e;if(typeof i&lt;"u")return{left:o||i.documentElement.scrollLeft||i.body.scrollLeft||0,top:n||i.documentElement.scrollTop||i.body.scrollTop||0};{let{scrollLeft:r,scrollTop:s}=e;return{left:r,top:s}}}function wt(t){function e(o){return Math.floor(o*100/20)*20}return t.sort((o,n)=&gt;{let i=typeof o.y=="number"?e(o.y):0,r=typeof n.y=="number"?e(n.y):0;if(i&gt;r)return 1;if(i&lt;r)return-1;{let s=typeof o.x=="number"?e(o.x):0,l=typeof n.x=="number"?e(o.x):0;return s&gt;l?1:s&lt;l?-1:0}})}function O(t){let e=t.offsetParent,o=t.offsetTop;return e?o||O(e):o||0}function G(t){let e=t.offsetParent,o=t.offsetLeft;return e?o||G(e):o||0}function Tt(t){if(!t)return{left:0,top:0,width:0,height:0};let{top:e,left:o,width:n,height:i}=E.getClientBox(t);return{top:e,left:o,width:n,height:i}}function xt(t){return t?{top:O(t),left:G(t)}:{left:0,top:0}}function yt(t,e){let o=ht(t,{tag:e,deep:!0});t.parentNode?.replaceChild(o,t)}function ht(t,e={}){let o=w.createElement(e.tag||t.tagName);if(e.deep)for(;t.firstChild;)o.appendChild(t.firstChild);let n=Array.from(t.attributes);for(let i of n)o.setAttribute(i.name,i.value||"");return o}function Et(t){let e=t.height/t.width,o=window.innerHeight,n=window.innerWidth,i=o/e,r=i*e;return i&gt;n&amp;&amp;(i=n,r=i*e),{width:i,height:r}}function bt(t,e){if(t)for(let[o,n]of Object.entries(e))t.style.setProperty(S(o),n)}function Mt({element:t,events:e,callback:o,passive:n=!1}){if(!t)return()=&gt;{};let i=[];for(let r of e)t.addEventListener(r,o,{passive:n}),i.push(()=&gt;t?.removeEventListener(r,o));return()=&gt;{for(let r of i)typeof r=="function"&amp;&amp;r()}}function Pt(t){return!t||!(t instanceof HTMLElement)?!1:["INPUT","TEXTAREA","SELECT"].includes(t.tagName)}function St(t){return!!(t instanceof HTMLElement&amp;&amp;t.closest("[data-scrollable]"))}function Lt(){if(p.isTouch())return;let t=w.createElement("input");t.type="text",t.style.position="absolute",t.style.left="-9999px",t.style.top=`${window.scrollY}px`,w.body.appendChild(t),t.focus(),t.remove()}var L=M(()=&gt;{"use strict";A();D();P();I()});export{gt as a,wt as b,O as c,G as d,Tt as e,xt as f,yt as g,ht as h,Et as i,bt as j,Mt as k,Pt as l,St as m,Lt as n,L as o,W as p,E as q,I as r};
</pre></body></html>