PageSourceSearch

https://bw5-app.vercel.app/_next/static/chunks/4315-cb6e772c047a5ddc.js

js bw5-app.vercel.app collected 2026-10-03 06:19:41 UTC 49,900 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4315],{1275:(t,e,n)=>{n.d(e,{A:()=>i});let i=(0,n(99537).A)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]])},2125:(t,e,n)=>{n.d(e,{A:()=>i});let i=(0,n(99537).A)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]])},5736:(t,e,n)=>{n.d(e,{A:()=>i});let i=(0,n(99537).A)("lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]])},5937:(t,e,n)=>{n.d(e,{A:()=>i});let i=(0,n(99537).A)("share-2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]])},13855:(t,e,n)=>{n.d(e,{A:()=>o});var i={};!function t(e,n,i,o){var a,r,s,l,c,u,d,p,h,f,m,v=!!(e.Worker&&e.Blob&&e.Promise&&e.OffscreenCanvas&&e.OffscreenCanvasRenderingContext2D&&e.HTMLCanvasElement&&e.HTMLCanvasElement.prototype.transferControlToOffscreen&&e.URL&&e.URL.createObjectURL),y="function"==typeof Path2D&&"function"==typeof DOMMatrix;function g(){}function w(t){var i=n.exports.Promise,o=void 0!==i?i:e.Promise;return"function"==typeof o?new o(t):(t(g,g),null)}var b=(a=function(){if(!e.OffscreenCanvas)return!1;try{var t=new OffscreenCanvas(1,1),n=t.getContext("2d");n.fillRect(0,0,1,1);var i=t.transferToImageBitmap();n.createPattern(i,"no-repeat")}catch(t){return!1}return!0}(),r=new Map,{transform:function(t){if(a)return t;if(r.has(t))return r.get(t);var e=new OffscreenCanvas(t.width,t.height);return e.getContext("2d").drawImage(t,0,0),r.set(t,e),e},clear:function(){r.clear()}}),x=(c=Math.floor(1e3/60),u={},d=0,"function"==typeof requestAnimationFrame&&"function"==typeof cancelAnimationFrame?(s=function(t){var e=Math.random();return u[e]=requestAnimationFrame(function n(i){d===i||d+c-1<i?(d=i,delete u[e],t()):u[e]=requestAnimationFrame(n)}),e},l=function(t){u[t]&&cancelAnimationFrame(u[t])}):(s=function(t){return setTimeout(t,c)},l=function(t){return clearTimeout(t)}),{frame:s,cancel:l}),P=(f={},function(){if(p)return p;if(!i&&v){var e=["var CONFETTI, SIZE = {}, module = {};","("+t.toString()+")(this, module, true, SIZE);","onmessage = function(msg) {\n  if (msg.data.options) {\n    CONFETTI(msg.data.options).then(function () {\n      if (msg.data.callback) {\n        postMessage({ callback: msg.data.callback });\n      }\n    });\n  } else if (msg.data.reset) {\n    CONFETTI && CONFETTI.reset();\n  } else if (msg.data.resize) {\n    SIZE.width = msg.data.resize.width;\n    SIZE.height = msg.data.resize.height;\n  } else if (msg.data.canvas) {\n    SIZE.width = msg.data.canvas.width;\n    SIZE.height = msg.data.canvas.height;\n    CONFETTI = module.exports.create(msg.data.canvas);\n  }\n}"].join("\n");try{p=new Worker(URL.createObjectURL(new Blob([e])))}catch(t){return"u">typeof console&&"function"==typeof console.warn&&console.warn("\uD83C\uDF8A Could not load worker",t),null}var n=p;function o(t,e){n.postMessage({options:t||{},callback:e})}n.init=function(t){var e=t.transferControlToOffscreen();n.postMessage({canvas:e},[e])},n.fire=function(t,e,i){if(h)return o(t,null),h;var a=Math.random().toString(36).slice(2);return h=w(function(e){function r(t){t.data.callback===a&&(delete f[a],n.removeEventListener("message",r),h=null,b.clear(),i(),e())}n.addEventListener("message",r),o(t,a),f[a]=r.bind(null,{data:{callback:a}})})},n.reset=function(){for(var t in n.postMessage({reset:!0}),f)f[t](),delete f[t]}}return p}),C={particleCount:50,angle:90,spread:45,startVelocity:45,decay:.9,gravity:1,drift:0,ticks:200,x:.5,y:.5,shapes:["square","circle"],zIndex:100,colors:["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"],disableForReducedMotion:!1,scalar:1};function M(t,e,n){var i;return i=t&&null!=t[e]?t[e]:C[e],n?n(i):i}function S(t){return t<0?0:Math.floor(t)}function k(t){return parseInt(t,16)}function T(t){return t.map(E)}function E(t){var e=String(t).replace(/[^0-9a-f]/gi,"");return e.length<6&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),{r:k(e.substring(0,2)),g:k(e.substring(2,4)),b:k(e.substring(4,6))}}function A(t){t.width=document.documentElement.clientWidth,t.height=document.documentElement.clientHeight}function Y(t){var e=t.getBoundingClientRect();t.width=e.width,t.height=e.height}function X(t,n){var a,r=!t,s=!!M(n||{},"resize"),l=!1,c=M(n,"disableForReducedMotion",Boolean),u=v&&M(n||{},"useWorker")?P():null,d=r?A:Y,p=!!t&&!!u&&!!t.__confetti_initialized,h="function"==typeof matchMedia&&matchMedia("(prefers-reduced-motion)").matches;function f(n){var f,m=c||M(n,"disableForReducedMotion",Boolean),v=M(n,"zIndex",Number);if(m&&h)return w(function(t){t()});
1r&&a?t=a.canvas:r&&!t&&((f=document.createElement("canvas")).style.position="fixed",f.style.top="0px",f.style.left="0px",f.style.pointerEvents="none",f.style.zIndex=v,t=f,document.body.appendChild(t)),s&&!p&&d(t);var g={width:t.width,height:t.height};function P(){if(u){var e={getBoundingClientRect:function(){if(!r)return t.getBoundingClientRect()}};d(e),u.postMessage({resize:{width:e.width,height:e.height}});return}g.width=g.height=null}function C(){a=null,s&&(l=!1,e.removeEventListener("resize",P)),r&&t&&(document.body.contains(t)&&document.body.removeChild(t),t=null,p=!1)}return(u&&!p&&u.init(t),p=!0,u&&(t.__confetti_initialized=!0),s&&!l&&(l=!0,e.addEventListener("resize",P,!1)),u)?u.fire(n,g,C):function(e,n,r){for(var s,l,c,u,p,h,f,m=M(e,"particleCount",S),v=M(e,"angle",Number),g=M(e,"spread",Number),P=M(e,"startVelocity",Number),C=M(e,"decay",Number),k=M(e,"gravity",Number),E=M(e,"drift",Number),A=M(e,"colors",T),Y=M(e,"ticks",Number),X=M(e,"shapes"),N=M(e,"scalar"),z=!!M(e,"flat"),O=((s=M(e,"origin",Object)).x=M(s,"x",Number),s.y=M(s,"y",Number),s),I=m,W=[],D=t.width*O.x,B=t.height*O.y;I--;)W.push(function(t){var e=t.angle*(Math.PI/180),n=t.spread*(Math.PI/180);return{x:t.x,y:t.y,wobble:10*Math.random(),wobbleSpeed:Math.min(.11,.1*Math.random()+.05),velocity:.5*t.startVelocity+Math.random()*t.startVelocity,angle2D:-e+(.5*n-Math.random()*n),tiltAngle:(.5*Math.random()+.25)
1*Math.PI,color:t.color,shape:t.shape,tick:0,totalTicks:t.ticks,decay:t.decay,drift:t.drift,random:Math.random()+2,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0,gravity:3*t.gravity,ovalScalar:.6,scalar:t.scalar,flat:t.flat}}({x:D,y:B,angle:v,spread:g,startVelocity:P,color:A[I%A.length],shape:X[Math.floor(Math.random()*(X.length-0))+0],ticks:Y,decay:C,gravity:k,drift:E,scalar:N,flat:z}));return a?a.addFettis(W):(l=t,p=W.slice(),h=l.getContext("2d"),f=w(function(t){function e(){c=u=null,h.clearRect(0,0,n.width,n.height),b.clear(),r(),t()}c=x.frame(function t(){i&&(n.width!==o.width||n.height!==o.height)&&(n.width=l.width=o.width,n.height=l.height=o.height),n.width||n.height||(d(l),n.width=l.width,n.height=l.height),h.clearRect(0,0,n.width,n.height),(p=p.filter(function(t){return function(t,e){e.x+=Math.cos(e.angle2D)*e.velocity+e.drift,e.y+=Math.sin(e.angle2D)*e.velocity+e.gravity,e.velocity*=e.decay,e.flat?(e.wobble=0,e.wobbleX=e.x+10*e.scalar,e.wobbleY=e.y+10*e.scalar,e.tiltSin=0,e.tiltCos=0,e.random=1):(e.wobble+=e.wobbleSpeed,e.wobbleX=e.x+10*e.scalar*Math.cos(e.wobble),e.wobbleY=e.y+10*e.scalar*Math.sin(e.wobble),e.tiltAngle+=.1,e.tiltSin=Math.sin(e.tiltAngle),e.tiltCos=Math.cos(e.tiltAngle),e.random=Math.random()+2);var n,i,o,a,r,s,l,c,u,d,p,h,f,m,v,g,w=e.tick++/e.totalTicks,x=e.x+e.random*e.tiltCos,P=e.y+e.random*e.tiltSin,C=e.wobbleX+e.random*e.tiltCos,M=e.wobbleY+e.random*e.tiltSin;if(t.fillStyle="rgba("+e.color.r+", "+e.color.g+", "+e.color.b+", "+(1-w)+")",t.beginPath(),y&&"path"===e.shape.type&&"string"==typeof e.shape.path&&Array.isArray(e.shape.matrix)){t.fill((n=e.shape.path,i=e.shape.matrix,o=e.x,a=e.y,r=.1*Math.abs(C-x),s=.1*Math.abs(M-P),l=Math.PI/10*e.wobble,c=new Path2D(n),(u=new Path2D).addPath(c,new DOMMatrix(i)),(d=new Path2D).addPath(u,new DOMMatrix([Math.cos(l)*r,Math.sin(l)*r,-Math.sin(l)*s,Math.cos(l)*s,o,a])),d))}else if("bitmap"===e.shape.type){var S=Math.PI/10*e.wobble,k=.1*Math.abs(C-x),T=.1*Math.abs(M-P),E=e.shape.bitmap.width*e.scalar,A=e.shape.bitmap.height*e.scalar,Y=new DOMMatrix([Math.cos(S)*k,Math.sin(S)*k,-Math.sin(S)*T,Math.cos(S)*T,e.x,e.y]);Y.multiplySelf(new DOMMatrix(e.shape.matrix));var X=t.createPattern(b.transform(e.shape.bitmap),"no-repeat");X.setTransform(Y),t.globalAlpha=1-w,t.fillStyle=X,t.fillRect(e.x-E/2,e.y-A/2,E,A),t.globalAlpha=1}else if("circle"===e.shape)t.ellipse?t.ellipse(e.x,e.y,Math.abs(C-x)*e.ovalScalar,Math.abs(M-P)*e.ovalScalar,Math.PI/10*e.wobble,0,2*Math.PI):(p=e.x,h=e.y,f=Math.abs(C-x)*e.ovalScalar,m=Math.abs(M-P)*e.ovalScalar,v=Math.PI/10*e.wobble,g=2*Math.PI,t.save(),t.translate(p,h),t.rotate(v),t.scale(f,m),t.arc(0,0,1,0,g,void 0),t.restore());else if("star"===e.shape)for(var N=Math.PI/2*3,z=4*e.scalar,O=8*e.scalar,I=e.x,W=e.y,D=5,B=Math.PI/5;D--;)I=e.x+Math.cos(N)*O,W=e.y+Math.sin(N)*O,t.lineTo(I,W),N+=B,I=e.x+Math.cos(N)*z,W=e.y+Math.sin(N)*z,t.lineTo(I,W),N+=B;else t.moveTo(Math.floor(e.x),Math.floor(e.y)),t.lineTo(Math.floor(e.wobbleX),Math.floor(P)),t.lineTo(Math.floor(C),Math.floor(M)),t.lineTo(Math.floor(x),Math.floor(e.wobbleY));return t.closePath(),t.fill(),e.tick<e.totalTicks}(h,t)})).length?c=x.frame(t):e()}),u=e}),(a={addFettis:function(t){return p=p.concat(t),f},canvas:l,promise:f,reset:function(){c&&x.cancel(c),u&&u()}}).promise)}(n,g,C)}return f.reset=function(){u&&u.reset(),a&&a.reset()},f}function N(){return m||(m=X(null,{useWorker:!0,resize:!0})),m}n.exports=function(){return N().apply(this,arguments)},n.exports.reset=function(){N().reset()},n.exports.create=X,n.exports.shapeFromPath=function(t){if(!y)throw Error("path confetti are not supported in this browser");"string"==typeof t?i=t:(i=t.path,o=t.matrix);var e=new Path2D(i),n=document.createElement("canvas").getContext("2d");if(!o){for(var i,o,a,r,s=1e3,l=1e3,c=0,u=0,d=0;d<1e3;d+=2)for(var p=0;p<1e3;p+=2)n.isPointInPath(e,d,p,"nonzero")&&(s=Math.min(s,d),l=Math.min(l,p),c=Math.max(c,d),u=Math.max(u,p));a=c-s;var h=Math.min(10/a,10/(r=u-l));o=[h,0,0,h,-Math.round(a/2+s)*h,-Math.round(r/2+l)*h]}return{type:"path",path:i,matrix:o}},n.exports.shapeFromText=function(t){var e,n=1,i="#000000",o='"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", "EmojiOne Color", "Android Emoji", "Twemoji Mozilla", "system emoji", sans-serif';"string"==typeof t?e=t:(e=t.text,n="scalar"in t?t.scalar:n,o="fontFamily"in t?t.fontFamily:o,i="color"in t?t.color:i);var a=10*n,r=""+a+"px "+o,s=new OffscreenCanvas(a,a),l=s.getContext("2d");l.font=r;var c=l.measureText(e),u=Math.ceil(c.actualBoundingBoxRight+c.actualBoundingBoxLeft),d=Math.ceil(c.actualBoundingBoxAscent+c.actualBoundingBoxDescent),p=c.actualBoundingBoxLeft+2,h=c.actualBoundingBoxAscent+2;u+=4,d+=4,(l=(s=new OffscreenCanvas(u,d)).getContext("2d")).font=r,l.fillStyle=i,l.fillText(e,p,h);var f=1/n;return{type:"bitmap",bitmap:s.transferToImageBitmap(),matrix:[f,0,0,f,-u*f/2,-d*f/2]}}}(function(){return"u">typeof window?window:"u">typeof self?self:this||{}}(),i,!1);let o=i.exports;i.exports.create},17007:(t,e,n)=>{n.d(e,{A:()=>i});let i=(0,n(99537).A)("gift",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M20 11v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-8",key:"1sqzm4"}],["path",{d:"M7.5 7a1 1 0 0 1 0-5A4.8 8 0 0 1 12 7a4.8 8 0 0 1 4.5-5 1 1 0 0 1 0 5",key:"kc0143"}],["rect",{x:"3",y:"7",width:"18",height:"4",rx:"1",key:"1hberx"}]])},24893:(t,e,n)=>{n.d(e,{A:()=>i});let i=(0,n(99537).A)("coffee",[["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M14 2v2",key:"6buw04"}],["path",{d:"M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1",key:"pwadti"}],["path",{d:"M6 2v2",key:"colzsn"}]])},25142:(t,e,n)=>{n.d(e,{GT:()=>tM,WZ:()=>tS});var i,o,a=n(12115),r=n(95155),s=function(t,e){return Number(t.toFixed(e))},l=function(t,e,n){n&&"function"==typeof n&&n(t,e)},c={easeOut:function(t){return-Math.cos(t*Math.PI)/2+.5},linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return t*(2-t)},easeInOutQuad:function(t){return t<.5?2*t*t:-1+(4-2*t)*t},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return--t*t*t+1},easeInOutCubic:function(t){return t<.5?4*t*t*t:(t-1)*(2*t-2)*(2*t-2)+1},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return 1- --t*t*t*t},easeInOutQuart:function(t){return t<.5?8*t*t*t*t:1-8*--t*t*t*t},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return 1+--t*t*t*t*t},easeInOutQuint:function(t){return t<.5?16*t*t*t*t*t:1+16*--t*t*t*t*t}},u=function(t){"number"==typeof t&&cancelAnimationFrame(t)},d=function(t){t.mounted&&(u(t.animation),t.isAnimating=!1,t.animation=null,t.velocity=null)};function p(t,e,n,i){if(t.mounted){var o=new Date().getTime();d(t),t.animation=function(){if(!t.mounted)return u(t.animation);var a=new Date().getTime()-o,r=(0,c[e])(a/n);a>=n?(i(1),t.animation=null):t.animation&&(i(r),requestAnimationFrame(t.animation))},requestAnimationFrame(t.animation)}}function h(t,e,n,i){var o,a,r,s=(o=e.scale,a=e.positionX,r=e.positionY,!(Number.isNaN(o)||Number.isNaN(a)||Number.isNaN(r)));if(t.mounted&&s){var l=t.setState,c=t.state,u=c.scale,d=c.positionX,h=c.positionY,f=e.scale-u,m=e.positionX-d,v=e.positionY-h;0===n?l(e.scale,e.positionX,e.positionY):p(t,i,n,function(e){1!==e?t.isAnimating=!0:t.isAnimating=!1,l(u+f*e,d+m*e,h+v*e)})}}var f=function(t,e,n,i,o,a,r){var s=t>e?n*(r?.5:1):0,l=i>o?a*(r?.5:1):0;return{minPositionX:t-e-s,maxPositionX:s,minPositionY:i-o-l,maxPositionY:l,scaleWidthFactor:s,scaleHeightFactor:l}},m=function(t,e){var n,i,o,a,r,s,l=t.wrapperComponent,c=t.contentComponent,u=t.setup,d=u.centerZoomedOut,p=u.disablePadding;if(!l||!c)throw Error("Components are not mounted");var h=(n=l.offsetWidth,i=l.offsetHeight,o=c.offsetWidth,a=c.offsetHeight,{wrapperW
1idth:n,wrapperHeight:i,newContentWidth:r=o*e,newDiffWidth:n-r,newContentHeight:s=a*e,newDiffHeight:i-s}),m=h.wrapperWidth,v=h.wrapperHeight,y=h.newContentWidth,g=h.newContentHeight,w=f(m,y,h.newDiffWidth,v,g,h.newDiffHeight,!!d),b=m>=y&&v>=g;p&&b&&!d&&(w.minPositionX=0,w.maxPositionX=0,w.minPositionY=0,w.maxPositionY=0);var x=t.setup,P=x.minPositionX,C=x.maxPositionX,M=x.minPositionY,S=x.maxPositionY;return null!=P&&(w.minPositionX=m*(1-e)+P*e),null!=C&&(w.maxPositionX=C*e),null!=M&&(w.minPositionY=v*(1-e)+M*e),null!=S&&(w.maxPositionY=S*e),w},v=function(t,e,n,i){return i?t<e?s(e,2):t>n?s(n,2):s(t,2):s(t,2)},y=function(t,e){var n=m(t,e);return t.bounds=n,n};function g(t,e,n,i,o,a,r){var s=n.minPositionX,l=n.minPositionY,c=n.maxPositionX,u=n.maxPositionY,d=0,p=0;return r&&(d=o,p=a),{x:v(t,s-d,c+d,i),y:v(e,l-p,u+p,i)}}function w(t,e,n,i,o,a){var r=t.state,s=r.scale,l=r.positionX,c=r.positionY,u=i-s;return"number"!=typeof e||"number"!=typeof n?(console.error("Mouse X and Y position were not provided!"),{x:l,y:c}):g(l-e*u,c-n*u,o,a,0,0,null)}function b(t,e,n,i,o){var a=o?i:0,r=Math.max(e-a,1e-7),s=n+a;return!Number.isNaN(n)&&t>=s?s:!Number.isNaN(e)&&t<=r?r:Math.max(t,1e-7)}var x=function(t,e){var n=t.setup.panning.excluded,i=t.isInitialized,o=t.wrapperComponent,a=e.target,r="shadowRoot"in a&&"composedPath"in e?e.composedPath().some(function(t){return t instanceof Element&&(null==o?void 0:o.contains(t))}):null==o?void 0:o.contains(a);return!(!(i&&a&&r)||Q(a,n))&&"true"!==a.getAttribute("draggable")&&"true"!==a.getAttribute("contenteditable")&&!a.isContentEditable},P=function(t){var e=t.isInitialized,n=t.isPanning,i=t.setup.panning.disabled;return!!(e&&n&&!i)},C=function(t,e){var n=t.state,i=n.positionX,o=n.positionY;t.isPanning=!0,t.startCoords={x:e.clientX-i,y:e.clientY-o}},M=function(t,e){var n=e.touches,i=t.state,o=i.positionX,a=i.positionY;t.isPanning=!0,1===n.length&&(t.startCoords={x:n[0].clientX-o,y:n[0].clientY-a})};function S(t,e,n,i,o){var a=t.setup.limitToBounds,r=t.wrapperComponent,s=t.bounds,l=t.state,c=l.scale,u=l.positionX,d=l.positionY;if(null!==r&&null!==s&&(e!==u||n!==d)){var p=g(e,n,s,a,i,o,r),h=p.x,f=p.y;t.setState(c,h,f)}}var k=function(t,e,n){var i=t.startCoords,o=t.state,a=t.setup.panning,r=a.lockAxisX,s=a.lockAxisY,l=o.positionX,c=o.positionY;if(!i)return{x:l,y:c};var u=e-i.x,d=n-i.y;return{x:r?l:u,y:s?c:d}},T=function(t,e,n){var i=t.setup,o=t.state,a=i.minScale,r=i.disablePadding,s=i.centerZoomedOut,l=null!=n?n:o.scale;return e>0&&l>=a&&!r&&!s?e:0};(i=o||(o={})).TRACK_PAD="track_pad",i.MOUSE="mouse",i.TOUCH="touch";var E=function(t){var e=t.mounted,n=t.wrapperComponent,i=t.contentComponent,o=t.setup,a=o.disabled,r=o.velocityAnimation,s=o.limitToBounds,l=t.state.scale;return!r.disabled&&!a&&!!e&&!!n&&!!i&&(!s||n.offsetWidth<i.offsetWidth*l||n.offsetHeight<i.offsetHeight*l)},A=function(t){var e=t.mounted,n=t.velocity,i=t.bounds,o=t.setup,a=o.disabled;return!!(!o.velocityAnimation.disabled&&!a&&e)&&!!n&&!!i};function Y(t,e,n,i,o,a,r,s,l,c){if(o){if(e>r&&n>r){var u=r+(t-r)*c;return u>l?l:u<r?r:u}if(e<a&&n<a){var u=a+(t-a)*c;return u<s?s:u>a?a:u}}return i?e:v(t,a,r,o)}var X=function(t,e,n){var i=t*n;return Number.isNaN(i)?0:t<0?Math.max(i,-e):Math.min(i,e)};function N(t,e){var n=t.state,i=n.scale;t.panStartPosition={x:n.positionX,y:n.positionY},d(t),y(t,i),void 0!==window.TouchEvent&&e instanceof TouchEvent?M(t,e):C(t,e)}function z(t,e){var n=t.state.scale,i=t.setup,o=i.minScale,a=i.autoAlignment,r=a.disabled,s=a.sizeX,l=a.sizeY,c=a.animationTime,u=a.animationType;if(!(r||n<o||!s&&!l)){var d=function(t){var e=t.state,n=e.positionX,i=e.positionY,o=e.scale,a=t.setup,r=a.disabled,s=a.limitToBounds,l=a.centerZoomedOut,c=t.wrapperComponent;if(!r&&c&&t.bounds){var u=t.bounds,d=u.maxPositionX,p=u.minPositionX,h=u.maxPositionY,f=u.minPositionY,m=n>d?c.offsetWidth:t.setup.minPositionX||0,v=i>h?c.offsetHeight:t.setup.minPositionY||0,y=w(t,m,v,o,t.bounds,s||l),g=y.x,b=y.y;return{scale:o,positionX:n>d||n<p?g:n,positionY:i>h||i<f?b:i}}}(t);d&&h(t,d,null!=e?e:c,u)}}function O(t,e,n,i){var a=t.startCoords,r=t.setup.autoAlignment,s=r.sizeX,l=r.sizeY;if(a){var c=k(t,e,n),u=c.x,d=c.y,p=T(t,s),h=T(t,l);!function(t,e,n){var i,a;if(E(t)){var r=t.lastMousePosition,s=t.velocityTime,l=t.setup,c=t.wrapperComponent,u=l.velocityAnimation,d=u.maxStrengthMouse,p=u.maxStrengthTouch,h=u.sensitivityTouch,f=u.sensitivityMouse,m=Date.now();if(r&&s&&c){var v,y=Number.isNaN(v=c.offsetWidth/window.innerWidth)?1:Math.min(1,v),g=((i={})[o.TOUCH]=h,i[o.MOUSE]=f,i)[n],w=((a={})[o.TOUCH]=p,a[o.MOUSE]=d,a)[n],b=e.x-r.x,x=e.y-r.y;t.velocity={velocityX:X(b/y,w,g),velocityY:X(x/y,w,g),total:X(Math.sqrt(b*b+x*x)/(m-s),w,g)}}t.lastMousePosition=e,t.velocityTime=m}}(t,{x:u,y:d},i),S(t,u,d,p,h)}}function I(t,e,n,i){var o=t.setup,a=o.minScale,r=o.maxScale,l=o.limitToBounds,c=b(s(e,2),a,r,0,!1),u=y(t,c),d=w(t,n,i,c,u,l);return{scale:c,positionX:d.x,positionY:d.y}}function W(t,e,n){var i=t.state.scale,o=t.wrapperComponent,a=t.setup,r=a.minScale,s=a.maxScale,l=a.limitToBounds,c=a.zoomAnimation,u=c.disabled,d=c.animationTime,p=c.animationType,f=i>=r&&i<=s;if((i>=1||l)&&z(t),!(u||f)&&o&&t.mounted){var m=I(t,i<r?r:s,e||o.offsetWidth/2,n||o.offsetHeight/2);m&&h(t,m,d,p)}}var D=function(){return(D=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function B(t,e,n){if(n||2==arguments.length)for(var i,o=0,a=e.length;o<a;o++)!i&&o in e||(i||(i=Array.prototype.slice.call(e,0,o)),i[o]=e[o]);return t.concat(i||Array.prototype.slice.call(e))}"function"==typeof SuppressedError&&SuppressedError;var K={disabled:!1,minPositionX:null,maxPositionX:null,minPositionY:null,maxPositionY:null,minScale:1,maxScale:8,limitToBounds:!0,centerZoomedOut:!1,centerOnInit:!1,disablePadding:!1,smooth:!0,detached:!1,wheel:{step:.015,disabled:!1,wheelDisabled:!1,touchPadDisabled:!1,activationKeys:[],excluded:[]},trackPadPanning:{disabled:!0,velocityDisabled:!1,lockAxisX:!1,lockAxisY:!1,activationKeys:[],excluded:[]},panning:{disabled:!1,velocityDisabled:!1,lockAxisX:!1,lockAxisY:!1,allowLeftClickPan:!0,allowMiddleClickPan:!0,allowRightClickPan:!0,activationKeys:[],excluded:[]},pinch:{step:5,disabled:!1,allowPanning:!0,excluded:[]},doubleClick:{disabled:!1,step:.7,mode:"zoomIn",animationType:"easeOut",animationTime:200,excluded:[]},zoomAnimation:{disabled:!1,size:.4,animationTime:200,animationType:"easeOut"},autoAlignment:{disabled:!1,sizeX:100,sizeY:100,animationTime:200,velocityAlignmentTime:400,animationType:"easeOut"},velocityAnimation:{disabled:!1,sensitivityMouse:1,sensitivityTouch:1.2,maxStrengthMouse:20,maxStrengthTouch:40,inertia:1,animationTime:300,maxAnimationTime:800,animationType:"easeOut"}},L="react-transform-wrapper",H=function(t){var e,n,i,o,a,r,s,l,c,u=Math.max(null!=(e=t.minScale)?e:K.minScale,1e-7),d=null!=(n=t.maxScale)?n:K.maxScale,p=Math.min(Math.max(null!=(i=t.initialScale)?i:1,u),d);return{previousScale:p,scale:p,positionX:v(null!=(o=t.initialPositionX)?o:0,null!=(a=t.minPositionX)?a:-1/0,null!=(r=t.maxPositionX)?r:1/0,null!=t.minPositionX||null!=t.maxPositionX),positionY:v(null!=(s=t.initialPositionY)?s:0,null!=(l=t.minPositionY)?l:-1/0,null!=(c=t.maxPositionY)?c:1/0,null!=t.minPositionY||null!=t.maxPositionY)}},R=function(t){var e=D({},K);return Object.keys(t).forEach(function(n){var i=void 0!==t[n];if(void 0!==K[n]&&i){var o=Object.prototype.toString.call(K[n]);"[object Object]"===o?e[n]=D(D({}
1,K[n]),t[n]):"[object Array]"===o?e[n]=B(B([],K[n],!0),t[n],!0):e[n]=t[n]}}),e.minScale<=0&&(e.minScale=1e-7),e},j=function(t,e,n){var i=t.state.scale,o=t.wrapperComponent,a=t.setup,r=a.maxScale,l=a.minScale,c=a.zoomAnimation,u=a.smooth,d=c.size;if(!o)throw Error("Wrapper is not mounted");return b(s(u?i*Math.exp(e*n):i+e*n,3),l,r,d,!1)};function F(t,e,n,i,o){var a,r,s=t.wrapperComponent,c=t.state,u=c.scale,d=c.positionX,p=c.positionY,f=t.setup.zoomAnimation;if(!s)return console.error("No WrapperComponent found");var m=f.disabled?0:i,v=s.offsetWidth,y=s.offsetHeight,g=j(t,e,n),w=I(t,g,(v/2-d)/u,(y/2-p)/u);if(!w)return console.error("Error during zoom event. New transformation state was not calculated.");var b=t.props,x=b.onZoomStart,P=b.onZoom,C=b.onZoomStop,M=new MouseEvent("mousemove",{bubbles:!0}),S=U(t);l(S,M,x),l(S,M,P),h(t,w,m,o);var k=null!=(r=null==(a=s.ownerDocument)?void 0:a.defaultView)?r:"u">typeof window?window:null;k&&k.setTimeout(function(){t.mounted&&l(U(t),M,C)},m)}function _(t,e,n,i){var o,a,r=t.setup,s=t.wrapperComponent,c=t.contentComponent,u=r.limitToBounds,d=r.centerOnInit,p=H(t.props),f=t.state,v=f.scale,y=f.positionX,w=f.positionY;if(s){var b=p.positionX,x=p.positionY;if(d&&c){var P=$(p.scale,s,c);b=P.positionX,x=P.positionY}var C=g(b,x,m(t,p.scale),u,0,0,s),M={scale:p.scale,positionX:C.x,positionY:C.y};if(v!==p.scale||y!==p.positionX||w!==p.positionY){null==i||i();var S=t.props,k=S.onZoomStart,T=S.onZoom,E=S.onZoomStop,A=new MouseEvent("mousemove",{bubbles:!0}),Y=U(t);l(Y,A,k),l(Y,A,T),h(t,M,e,n);var X=null!=(a=null==(o=s.ownerDocument)?void 0:o.defaultView)?a:"u">typeof window?window:null;X&&X.setTimeout(function(){t.mounted&&l(U(t),A,E)},e)}}}var Z=function(t){return{instance:t,state:t.state,zoomIn:function(e,n,i){void 0===e&&(e=.5),void 0===n&&(n=300),void 0===i&&(i="easeOut"),F(t,1,e,n,i)},zoomOut:function(e,n,i){void 0===e&&(e=.5),void 0===n&&(n=300),void 0===i&&(i="easeOut"),F(t,-1,e,n,i)},setTransform:function(e,n,i,o,a){void 0===o&&(o=300),void 0===a&&(a="easeOut");var r=t.state,s=r.positionX,l=r.positionY,c=r.scale,u=t.wrapperComponent,d=t.contentComponent;!t.setup.disabled&&u&&d&&h(t,{positionX:Number.isNaN(e)?s:e,positionY:Number.isNaN(n)?l:n,scale:Number.isNaN(i)?c:i},o,a)},resetTransform:function(e,n){void 0===e&&(e=200),void 0===n&&(n="easeOut"),_(t,e,n)},centerView:function(e,n,i){void 0===n&&(n=200),void 0===i&&(i="easeOut");var o=t.state,a=t.wrapperComponent,r=t.contentComponent;a&&r&&h(t,$(e||o.scale,a,r),n,i)},zoomToElement:function(e,n,i,o,a,r){void 0===i&&(i=600),void 0===o&&(o="easeOut"),void 0===a&&(a=0),void 0===r&&(r=0),d(t);var s=t.wrapperComponent,l="string"==typeof e?document.getElementById(e):e;if(s&&l&&s.contains(l)){var c=function(t,e,n,i,o){void 0===i&&(i=0),void 0===o&&(o=0);var a,r,s,l,c,u=t.wrapperComponent,d=t.contentComponent,p=t.state,h=t.setup,f=h.limitToBounds,v=h.minScale,y=h.maxScale;if(!u||!d)return p;var w=u.getBoundingClientRect(),x=e.getBoundingClientRect(),P=(a=e.getBoundingClientRect(),r=u.getBoundingClientRect(),s=d.getBoundingClientRect(),l=r.x*p.scale,c=r.y*p.scale,{x:(a.x-s.x+l)/p.scale,y:(a.y-s.y+c)/p.scale}),C=P.x,M=P.y,S=x.width/p.scale,k=x.height/p.scale,T=u.offsetWidth/S,E=u.offsetHeight/k,A=b(n||Math.min(T,E),v,y,0,!1),Y=(w.width-S*A)/2,X=(w.height-k*A)/2,N=g((w.left-C)*A+Y+i,(w.top-M)*A+X+o,m(t,A),f,0,0,u);return{positionX:N.x,positionY:N.y,scale:A}}(t,l,n,a,r);h(t,c,i,o)}}}},U=function(t){var e={};return Object.assign(e,{instance:t,state:t.state}),Object.assign(e,Z(t)),e};function q(){try{return{get passive(){return!1}}}catch(t){return!1}}var V=".".concat(L),Q=function(t,e){return e.some(function(e){return t.matches("".concat(V," ").concat(e,", ").concat(V," .").concat(e,", ").concat(V," ").concat(e," *, ").concat(V," .").concat(e," *"))})},G=function(t){t&&clearTimeout(t)},J=function(t,e,n){var i=Number.parseFloat(n.toFixed(8));return"translate(".concat(t,"px, ").concat(e,"px) scale(").concat(i,")")},$=function(t,e,n){var i=n.offsetWidth*t,o=n.offsetHeight*t;return{scale:t,positionX:(e.offsetWidth-i)/2,positionY:(e.offsetHeight-o)/2}},tt=function(t,e){var n=t.setup.wheel,i=n.disabled,o=n.wheelDisabled,a=n.touchPadDisabled,r=n.excluded,s=t.isInitialized,l=t.isPanning,c=e.target;return!(!(s&&!l&&!i&&c)||o&&!e.ctrlKey||a&&e.ctrlKey||Q(c,r))&&!!t.isPressingKeys(t.setup.wheel.activationKeys)},te=function(t,e){var n=t.setup,i=n.disabled,o=n.trackPadPanning,a=o.activationKeys,r=o.excluded;return!(!t.wrapperComponent||!t.contentComponent||i||o.disabled||e.ctrlKey||tt(t,e)||Q(e.target,r))&&!!t.isPressingKeys(a)};function tn(t,e,n){var i=e.getBoundingClientRect(),o=0,a=0;if("clientX"in t)o=(t.clientX-i.left)/n,a=(t.clientY-i.top)/n;else{var r=t.touches[0];o=(r.clientX-i.left)/n,a=(r.clientY-i.top)/n}return(Number.isNaN(o)||Number.isNaN(a))&&console.error("No mouse or touch offset found"),{x:o,y:a}}var ti=function(t,e,n,i,o){var a=t.state.scale,r=t.wrapperComponent,s=t.setup,l=s.maxScale,c=s.minScale,u=s.zoomAnimation,d=s.disablePadding,p=u.size,h=u.disabled;if(!r)throw Error("Wrapper is not mounted");var f=a+e*n;return o?f:b(f,c,l,p,!i&&!h&&!d)},to=function(t,e){var n=t.previousWheelEvent,i=t.state.scale,o=t.setup,a=o.maxScale,r=o.minScale;return!!n&&(!!(i<a)||!!(i>r)||Math.sign(n.deltaY)!==Math.sign(e.deltaY)||!!(n.deltaY>
10)&&!!(n.deltaY<e.deltaY)||!!(n.deltaY<0)&&!!(n.deltaY>e.deltaY)||Math.sign(n.deltaY)!==Math.sign(e.deltaY))},ta=function(t,e){var n=t.setup.pinch,i=n.disabled,o=n.excluded,a=t.isInitialized,r=e.target;return!(!(a&&!i&&r)||Q(r,o))},tr=function(t){var e=t.setup.pinch.disabled,n=t.isInitialized,i=t.pinchStartDistance;return!!(n&&!e&&null!==i)},ts=function(t,e,n){var i=n.getBoundingClientRect(),o=t.touches,a=o[0].clientX-i.left,r=o[0].clientY-i.top;return{x:(a+(o[1].clientX-i.left))/2/e,y:(r+(o[1].clientY-i.top))/2/e}},tl=function(t){return Math.sqrt(Math.pow(t.touches[0].pageX-t.touches[1].pageX,2)+Math.pow(t.touches[0].pageY-t.touches[1].pageY,2))},tc=function(t,e){var n=t.pinchStartScale,i=t.pinchStartDistance,o=t.setup,a=o.maxScale,r=o.minScale,l=o.zoomAnimation,c=o.disablePadding,u=o.pinch,d=l.size,p=l.disabled,h=u.step;if(!n||null===i)throw Error("Pinch touches distance was not provided");if(e<0)return t.state.scale;var f=n+h/5*(e/i*n-n);return b(f===1/0?0:s(f,10),r,a,d,!p&&!c)},tu=function(t,e){var n=t.props,i=n.onWheelStart,o=n.onZoomStart;t.wheelStopEventTimer||(d(t),l(U(t),e,i),l(U(t),e,o))},td=function(t,e){var n,i=t.props,o=i.onWheel,a=i.onZoom,r=t.contentComponent,s=t.setup,c=t.state.scale,u=s.limitToBounds,d=s.centerZoomedOut,p=s.zoomAnimation,h=s.wheel,f=s.disablePadding,m=s.smooth,v=p.size,g=p.disabled,b=h.step;if(!r)throw Error("Component not mounted");e.preventDefault(),e.stopPropagation();var x=ti(t,(n=e?e.deltaY<0?1:-1:0,n),m?b*Math.abs(e.deltaY):b,!e.ctrlKey);if(c!==x){var P=y(t,x),C=tn(e,r,c),M=w(t,C.x,C.y,x,P,u&&(g||0===v||d||f)),S=M.x,k=M.y;t.previousWheelEvent=e,t.setState(x,S,k),l(U(t),e,o),l(U(t),e,a)}},tp=function(t,e){var n=t.props,i=n.onWheelStop,o=n.onZoomStop;G(t.wheelAnimationTimer),t.wheelAnimationTimer=setTimeout(function(){t.mounted&&(W(t,e.x,e.y),t.wheelAnimationTimer=null)},100),to(t,e)&&(G(t.wheelStopEventTimer),t.wheelStopEventTimer=setTimeout(function(){t.mounted&&(t.wheelStopEventTimer=null,l(U(t),e,i),l(U(t),e,o))},160))},th=function(t,e){var n=t.props,i=n.onWheelStart,o=n.onPanningStart;t.wheelStopEventTimer||(d(t),l(U(t),e,i),l(U(t),e,o))},tf=function(t,e){var n=t.props,i=n.onWheelStop,o=n.onPanningStop;G(t.wheelAnimationTimer),t.wheelAnimationTimer=setTimeout(function(){t.mounted&&(W(t,e.x,e.y),t.wheelAnimationTimer=null)},100),to(t,e)&&(G(t.wheelStopEventTimer),t.wheelStopEventTimer=setTimeout(function(){t.mounted&&(t.wheelStopEventTimer=null,l(U(t),e,i),l(U(t),e,o))},160))},tm=function(t){for(var e=0,n=0,i=0;i<2;i+=1)e+=t.touches[i].clientX,n+=t.touches[i].clientY;return{x:e/2,y:n/2}},tv=function(t,e){var n=tl(e);t.pinchStartDistance=n,t.lastDistance=n,t.pinchStartScale=t.state.scale,t.isPanning=!1,t.isPinching=!0,t.pinchPreviousCenter=tm(e),d(t)},ty=function(t,e){var n=t.contentComponent,i=t.pinchStartDistance,o=t.wrapperComponent,a=t.pinchPreviousCenter,r=t.state.scale,s=t.setup,l=s.limitToBounds,c=s.centerZoomedOut,u=s.zoomAnimation,d=s.autoAlignment,p=s.pinch,h=s.panning,f=u.disabled,m=u.size,v=p.allowPanning;if(null!==i&&n){var b=ts(e,r,n);if(Number.isFinite(b.x)&&Number.isFinite(b.y)){var x=tl(e),P=tc(t,x),C=tm(e),M=r/P,S=(C.x-((null==a?void 0:a.x)||0))*M,k=(C.y-((null==a?void 0:a.y)||0))*M;if(P!==r||0!==S||0!==k){t.pinchPreviousCenter=C;var E=y(t,P),A=w(t,b.x,b.y,P,E,l&&(f||0===m||c)),Y=A.x,X=A.y;if(t.pinchMidpoint=b,t.lastDistance=x,h.disabled||!v)t.setState(P,Y,X);else{var N=d.sizeX,z=d.sizeY,O=g(Y+S,X+k,E,l,T(t,N,P),T(t,z,P),o),I=O.x,W=O.y;t.setState(P,I,W)}}}}},tg=function(t){var e=t.pinchMidpoint;t.velocity=null,t.lastDistance=null,t.pinchMidpoint=null,t.pinchStartScale=null,t.pinchStartDistance=null,t.isPinching=!1,W(t,null==e?void 0:e.x,null==e?void 0:e.y)},tw=function(t,e){var n=t.props.onZoomStop,i=t.setup.doubleClick.animationTime;G(t.doubleClickStopEventTimer),t.doubleClickStopEventTimer=setTimeout(function(){t.doubleClickStopEventTimer=null,l(U(t),e,n)},i)},tb=function(t,e){var n=t.props,i=n.onZoomStart,o=n.onZoom,a=t.setup.doubleClick,r=a.animationTime,s=a.animationType;l(U(t),e,i),_(t,r,s,function(){return l(U(t),e,o)}),tw(t,e)},tx=function(t,e){var n=t.isInitialized,i=t.setup,o=t.wrapperComponent,a=i.doubleClick,r=a.disabled,s=a.excluded,l=e.target,c=null==o?void 0:o.contains(l);return!(!(n&&l&&c&&!r)||Q(l,s))},tP=function(t){var e=this;this.mounted=!0,this.onChangeCallbacks=new Set,this.onInitCallbacks=new Set,this.onTransformCallbacks=new Set,this.wrapperComponent=null,this.contentComponent=null,this.isInitialized=!1,this.bounds=null,this.previousWheelEvent=null,this.wheelStopEventTimer=null,this.wheelAnimationTimer=null,this.isPanning=!1,this.isWheelPanning=!1,this.startCoords=null,this.panStartPosition=null,this.lastTouch=null,this.isPinching=!1,this.distance=null,this.lastDistance=null,this.pinchStartDistance=null,this.pinchStartScale=null,this.pinchMidpoint=null,this.pinchPreviousCenter=null,this.doubleClickStopEventTimer=null,this.velocity=null,this.velocityTime=null,this.lastMousePosition=null,this.isAnimating=!1,this.animation=null,this.pressedKeys={},this.mount=function(){e.initializeWindowEvents()},this.unmount=function(){e.cleanupWindowEvents()},this.update=function(t){e.props=t,e.wrapperComponent&&e.contentComponent&&y(e,e.state.scale),e.setup=R(t)}
1,this.initializeWindowEvents=function(){var t,n,i,o,a=q(),r=null==(t=e.wrapperComponent)?void 0:t.ownerDocument,s=null==r?void 0:r.defaultView;null==(n=e.wrapperComponent)||n.addEventListener("wheel",e.onWheelPanning,a),null==(i=e.wrapperComponent)||i.addEventListener("keyup",e.setKeyUnPressed,a),null==(o=e.wrapperComponent)||o.addEventListener("keydown",e.setKeyPressed,a),null==s||s.addEventListener("mousedown",e.onPanningStart,a),null==s||s.addEventListener("mousemove",e.onPanning,a),null==s||s.addEventListener("mouseup",e.onPanningStop,a),null==r||r.addEventListener("mouseleave",e.clearPanning,a),null==s||s.addEventListener("keyup",e.setKeyUnPressed,a),null==s||s.addEventListener("keydown",e.setKeyPressed,a),null==s||s.addEventListener("blur",e.handleWindowBlur)},this.cleanupWindowEvents=function(){var t,n,i,o,a,r=q(),s=null==(t=e.wrapperComponent)?void 0:t.ownerDocument,l=null==s?void 0:s.defaultView;null==l||l.removeEventListener("mousedown",e.onPanningStart,r),null==l||l.removeEventListener("mousemove",e.onPanning,r),null==l||l.removeEventListener("mouseup",e.onPanningStop,r),null==s||s.removeEventListener("mouseleave",e.clearPanning,r),null==l||l.removeEventListener("keyup",e.setKeyUnPressed,r),null==l||l.removeEventListener("keydown",e.setKeyPressed,r),null==l||l.removeEventListener("blur",e.handleWindowBlur),document.removeEventListener("mouseleave",e.clearPanning,r),null==(n=e.wrapperComponent)||n.removeEventListener("wheel",e.onWheelPanning,r),null==(i=e.wrapperComponent)||i.removeEventListener("keyup",e.setKeyUnPressed,r),null==(o=e.wrapperComponent)||o.removeEventListener("keydown",e.setKeyPressed,r),d(e),null==(a=e.observer)||a.disconnect()},this.handleInitializeWrapperEvents=function(t){var n=q();t.addEventListener("wheel",e.onWheelZoom,n),t.addEventListener("dblclick",e.onDoubleClick,n),t.addEventListener("touchstart",e.onTouchPanningStart,n),t.addEventListener("touchmove",e.onTouchPanning,n),t.addEventListener("touchend",e.onTouchPanningStop,n)},this.handleInitialize=function(t){var n=e.setup.centerOnInit;e.applyTransformation(),e.onInitCallbacks.forEach(function(t){return t(U(e))}),n&&(e.setCenter(),e.observer=new ResizeObserver(function(){var n,i=t.offsetWidth,o=t.offsetHeight;(i>0||o>0)&&(e.onInitCallbacks.forEach(function(t){return t(U(e))}),e.setCenter(),null==(n=e.observer)||n.disconnect())}),setTimeout(function(){var t;null==(t=e.observer)||t.disconnect()},5e3),e.observer.observe(t))},this.onWheelZoom=function(t){e.setup.disabled||(e.syncModifierKeys(t),tt(e,t)&&(tu(e,t),td(e,t),tp(e,t)))},this.onWheelPanning=function(t){var n=e.props.onPanning,i=e.setup.trackPadPanning,o=i.lockAxisX,a=i.lockAxisY;if(e.syncModifierKeys(t),te(e,t)){t.preventDefault(),t.stopPropagation();var r=e.state,s=r.positionX,c=r.positionY,u=s-t.deltaX,d=c-t.deltaY,p=o?s:u,h=a?c:d,f=e.setup.autoAlignment,m=f.sizeX,v=f.sizeY,y=T(e,m),g=T(e,v);(p!==s||h!==c)&&(th(e,t),S(e,p,h,y,g),l(U(e),t,n),tf(e,t))}},this.onPanningStart=function(t){var n=e.setup.disabled,i=e.props.onPanningStart;n||(e.syncModifierKeys(t),x(e,t)&&e.isPressingKeys(e.setup.panning.activationKeys)&&(0!==t.button||e.setup.panning.allowLeftClickPan)&&(1!==t.button||e.setup.panning.allowMiddleClickPan)&&(2!==t.button||e.setup.panning.allowRightClickPan)&&(t.preventDefault(),t.stopPropagation(),d(e),N(e,t),l(U(e),t,i)))},this.onPanning=function(t){var n=e.setup.disabled,i=e.props.onPanning;n||((e.syncModifierKeys(t),e.isPanning&&0===t.buttons)?e.clearPanning(t):!P(e)||e.isPressingKeys(e.setup.panning.activationKeys)&&(t.preventDefault(),t.stopPropagation(),O(e,t.clientX,t.clientY,o.MOUSE),l(U(e),t,i)))},this.onPanningStop=function(t){var n=e.setup.panning.velocityDisabled,i=e.props.onPanningStop;e.isPanning&&(!function(t,e){if(t.isPanning){var n=t.velocity,i=t.wrapperComponent,o=t.contentComponent;t.isPanning=!1;var a=t.state,r=a.positionX,s=a.positionY,l=a.scale,u=t.panStartPosition;if(t.panStartPosition=null,u){var d=r-u.x,h=s-u.y;if(d*d+h*h<=25)return}t.isAnimating=!1,t.animation=null;var f=(null==i?void 0:i.offsetWidth)||0,m=(null==i?void 0:i.offsetHeight)||0,v=((null==o?void 0:o.offsetWidth)||0)*l,y=((null==o?void 0:o.offsetHeight)||0)*l,g=!t.setup.limitToBounds||f<v||m<y;!e&&n&&n.total>.1&&g?function(t){var e=t.velocity,n=t.bounds,i=t.setup,o=t.wrapperComponent;if(A(t)&&e&&n&&o){var a,r,s,l=e.velocityX,u=e.velocityY,d=e.total,h=n.maxPositionX,f=n.minPositionX,m=n.maxPositionY,v=n.minPositionY,y=i.limitToBounds,g=i.autoAlignment,w=i.zoomAnimation,b=i.panning,x=b.lockAxisY,P=b.lockAxisX,C=w.animationType,M=g.sizeX,S=g.sizeY,k=g.velocityAlignmentTime,E=Math.max((r=(a=t.setup.velocityAnimation).animationTime,s=a.maxAnimationTime,Math.min(r*Math.max(1,Math.abs(d/a.inertia)),s)),k),X=T(t,M),N=T(t,S),z=X*o.offsetWidth/100,O=N*o.offsetHeight/100,I=h+z,W=f-z,D=m+O,B=v-O,K=t.state,L=new Date().getTime();p(t,C,E,function(e){var n=t.state,i=n.scale,o=n.positionX,a=n.positionY,r=new Date().getTime()-L,s=1-(0,c[g.animationType])(Math.min(1,r/k)),d=1-e,p=o+l*d,w=a+u*d,b=Y(p,K.positionX,o,P,y,f,h,W,I,s),C=Y(w,K.positionY,a,x,y,v,m,B,D,s);if(o!==p||a!==w){t.setState(i,b,C);var M=t.props.onPanning;M&&M(U(t),{})}})}}(t):z(t)}
1}(e,n),l(U(e),t,i))},this.onPinchStart=function(t){var n=e.setup.disabled,i=e.props.onPinchStart;n||ta(e,t)&&(tv(e,t),d(e),l(U(e),t,i))},this.onPinch=function(t){var n=e.setup.disabled,i=e.props.onPinch;n||tr(e)&&(t.preventDefault(),t.stopPropagation(),ty(e,t),l(U(e),t,i))},this.onPinchStop=function(t){var n=e.props.onPinchStop;e.pinchStartScale&&(tg(e),l(U(e),t,n))},this.onTouchPanningStart=function(t){var n=e.setup,i=n.disabled,o=n.doubleClick,a=e.props.onPanningStart;if(!i){var r=!(null==o?void 0:o.disabled),s=e.lastTouch&&new Date-e.lastTouch<200;if(r&&s&&1===t.touches.length)e.onDoubleClick(t);else{e.lastTouch=+new Date,d(e);var c=t.touches,u=1===c.length,p=2===c.length,h=x(e,t);if(u){if(!h)return;d(e),N(e,t),l(U(e),t,a)}p&&e.onPinchStart(t)}}},this.onTouchPanning=function(t){var n=e.setup.disabled,i=e.props.onPanning;if(e.isPanning&&1===t.touches.length){if(n||!P(e))return;t.cancelable&&t.preventDefault(),t.stopPropagation();var a=t.touches[0];O(e,a.clientX,a.clientY,o.TOUCH),l(U(e),t,i)}else t.touches.length>1&&e.onPinch(t)},this.onTouchPanningStop=function(t){e.onPanningStop(t),e.onPinchStop(t)},this.onDoubleClick=function(t){e.setup.disabled||tx(e,t)&&function(t,e){var n,i=t.setup,o=t.doubleClickStopEventTimer,a=t.state,r=t.contentComponent,s=a.scale,c=t.props,u=c.onZoomStart,d=c.onZoom,p=i.doubleClick,f=p.disabled,m=p.mode,v=p.step,y=p.animationTime,g=p.animationType;if(!f&&!o){if("reset"===m)return tb(t,e);if(!r)return console.error("No ContentComponent found");var w=(n=t.state.scale,"toggle"===m?1===n?1:-1:"zoomOut"===m?-1:1),b=j(t,w,v);if(s!==b){l(U(t),e,u);var x=tn(e,r,s),P=I(t,b,x.x,x.y);if(!P)return console.error("Error during zoom event. New transformation state was not calculated.");l(U(t),e,d),h(t,P,y,g),tw(t,e)}}}(e,t)},this.clearPanning=function(t){e.isPanning&&e.onPanningStop(t)},this.handleWindowBlur=function(){e.pressedKeys={},e.isPanning&&(e.isPanning=!1,e.startCoords=null)},this.syncModifierKeys=function(t){var n=t.ctrlKey,i=t.metaKey,o=t.shiftKey,a=t.altKey;"boolean"==typeof n&&(e.pressedKeys.Control=n),"boolean"==typeof i&&(e.pressedKeys.Meta=i),"boolean"==typeof o&&(e.pressedKeys.Shift=o),"boolean"==typeof a&&(e.pressedKeys.Alt=a)},this.setKeyPressed=function(t){e.pressedKeys[t.key]=!0},this.setKeyUnPressed=function(t){e.pressedKeys[t.key]=!1},this.isPressingKeys=function(t){return"function"==typeof t?t(Object.entries(e.pressedKeys).filter(function(t){return t[1]}).map(function(t){return t[0]})):!t.length||!!t.every(function(t){return e.pressedKeys[t]})},this.setCenter=function(){if(e.wrapperComponent&&e.contentComponent){var t=$(e.state.scale,e.wrapperComponent,e.contentComponent);e.setState(t.scale,t.positionX,t.positionY)}},this.handleTransformStyles=function(t,n,i){return e.props.customTransform?e.props.customTransform(t,n,i):J(t,n,i)},this.getContext=function(){return U(e)},this.applyTransformation=function(){if(e.mounted&&e.contentComponent){var t=e.state,n=t.scale,i=t.positionX,o=t.positionY,a=e.handleTransformStyles(i,o,n);e.props.detached||(e.contentComponent.style.transform=a),e.onTransformCallbacks.forEach(function(t){return t({scale:n,positionX:i,positionY:o,previousScale:e.state.previousScale,ref:U(e)})})}},this.setState=function(t,n,i){var o=e.props.onTransform;if(Number.isNaN(t)||Number.isNaN(n)||Number.isNaN(i))console.error("Detected NaN set state values");else{var a=Math.max(t,1e-7);a!==e.state.scale&&(e.state.previousScale=e.state.scale,e.state.scale=a),e.state.positionX=n,e.state.positionY=i,e.applyTransformation();var r=U(e);e.onChangeCallbacks.forEach(function(t){return t(r)}),l(r,{scale:e.state.scale,positionX:n,positionY:i},o)}},this.onTransform=function(t){return e.onTransformCallbacks.has(t)||e.onTransformCallbacks.add(t),function(){e.onTransformCallbacks.delete(t)}},this.onChange=function(t){return e.onChangeCallbacks.has(t)||e.onChangeCallbacks.add(t),function(){e.onChangeCallbacks.delete(t)}},this.onInit=function(t){return e.onInitCallbacks.has(t)||e.onInitCallbacks.add(t),function(){e.onInitCallbacks.delete(t)}},this.init=function(t,n){e.cleanupWindowEvents(),e.wrapperComponent=t,e.contentComponent=n,y(e,e.state.scale),e.handleInitializeWrapperEvents(t),e.handleInitialize(n),e.initializeWindowEvents(),e.isInitialized=!0;var i,o=U(e);l(o,void 0,e.props.onInit),i=e.props.ref,null!=i&&("function"==typeof i?i(o):i.current=o)},this.props=t,this.setup=R(this.props),this.state=H(this.props)},tC=a.createContext(null),tM=a.forwardRef(function(t,e){var n,i,o=(0,a.useRef)(new tP(t)).current,s=(n=t.children,i=Z(o),"function"==typeof n?n(i):n);return(0,a.useImperativeHandle)(e,function(){return Z(o)},[o]),(0,a.useEffect)(function(){o.update(t)},[o,t]),(0,r.jsx)(tC.Provider,D({value:o},{children:s}))});a.forwardRef(function(t,e){var n,i=(0,a.useRef)(null),o=(0,a.useContext)(tC);return(0,a.useEffect)(function(){return o.onChange(function(t){i.current&&(i.current.style.transform=o.handleTransformStyles(0,0,1/t.instance.state.scale))})},[o]),(0,r.jsx)("div",D({}
1,t,{ref:(n=[i,e],function(t){n.forEach(function(e){"function"==typeof e?e(t):null!=e&&(e.current=t)})})}))});!function(t,e){void 0===e&&(e={});var n=e.insertAt;if(t&&"u">typeof document){var i=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&i.firstChild?i.insertBefore(o,i.firstChild):i.appendChild(o),o.styleSheet?o.styleSheet.cssText=t:o.appendChild(document.createTextNode(t))}}(".transform-component-module_wrapper__SPB86 {\n  position: relative;\n  width: -moz-fit-content;\n  width: fit-content;\n  height: -moz-fit-content;\n  height: fit-content;\n  overflow: hidden;\n  -webkit-touch-callout: none; /* iOS Safari */\n  -webkit-user-select: none; /* Safari */\n  -khtml-user-select: none; /* Konqueror HTML */\n  -moz-user-select: none; /* Firefox */\n  -ms-user-select: none; /* Internet Explorer/Edge */\n  user-select: none;\n  margin: 0;\n  padding: 0;\n  transform: translate3d(0, 0, 0);\n}\n.transform-component-module_content__FBWxo {\n  display: flex;\n  flex-wrap: wrap;\n  width: -moz-fit-content;\n  width: fit-content;\n  height: -moz-fit-content;\n  height: fit-content;\n  margin: 0;\n  padding: 0;\n  transform-origin: 0% 0%;\n}\n.transform-component-module_content__FBWxo img {\n  pointer-events: none;\n}\n.transform-component-module_infiniteGrid__Z-aP3 {\n  position: absolute;\n  inset: 0;\n  pointer-events: none;\n  background-image: radial-gradient(\n    circle,\n    rgba(0, 0, 0, 0.12) 1px,\n    transparent 1px\n  );\n  background-size: 20px 20px;\n  background-position: 0 0;\n}\n");var tS=function(t){var e=t.children,n=t.wrapperClass,i=t.contentClass,o=t.wrapperStyle,s=t.contentStyle,l=t.wrapperProps,c=t.contentProps,u=t.infinite,d=void 0!==u&&u,p=(0,a.useContext)(tC),h=p.init,f=p.cleanupWindowEvents,m=(0,a.useRef)(null),v=(0,a.useRef)(null),y=(0,a.useRef)(null);return(0,a.useEffect)(function(){var t=m.current,e=v.current;return null!==t&&null!==e&&h&&(null==h||h(t,e)),function(){null==f||f()}},[]),(0,a.useEffect)(function(){if(d){var t=y.current;if(t){var e=function(){var e=p.state,n=e.positionX,i=e.positionY;t.style.backgroundPosition="".concat(n,"px ").concat(i,"px")};return e(),p.onChange(e)}}},[d,p]),(0,r.jsxs)("div",D({},void 0===l?{}:l,{ref:m,className:"".concat(L," ").concat("transform-component-module_wrapper__SPB86"," ").concat(void 0===n?"":n),style:o},{children:[d&&(0,r.jsx)("div",{ref:y,className:"transform-component-module_infiniteGrid__Z-aP3","aria-hidden":!0}),(0,r.jsx)("div",D({},void 0===c?{}:c,{ref:v,className:"".concat("react-transform-component"," ").concat("transform-component-module_content__FBWxo"," ").concat(void 0===i?"":i),style:D(D({},s),{transform:J(p.state.positionX,p.state.positionY,p.state.scale)})},{children:e}))]}))};a.forwardRef(function(t,e){var n=t.x,i=t.y,o=t.width,s=t.height,l=t.margin,c=void 0===l?0:l,u=t.threshold,d=void 0===u?0:u,p=t.placeholder,h=void 0===p?null:p,f=t.onShow,m=t.onHide,v=t.children,y=t.className,g=t.style,w=(0,a.useContext)(tC),b=(0,a.useState)(!1),x=b[0],P=b[1],C=(0,a.useRef)(!1),M=(0,a.useRef)(f),S=(0,a.useRef)(m);return(M.current=f,S.current=m,(0,a.useEffect)(function(){var t,e=function(){var t,e,a=w.wrapperComponent;if(a){var r=function(t){var e=t.elementX,n=t.elementY,i=t.elementWidth,o=t.elementHeight,a=t.scale,r=t.positionX,s=t.positionY,l=t.viewportWidth,c=t.viewportHeight,u=t.margin,d=void 0===u?0:u,p=t.threshold,h=void 0===p?0:p,f={x:-d,y:-d,width:l+2*d,height:c+2*d},m={x:e*a+r,y:n*a+s,width:i*a,height:o*a};if(h<=0){var v=m.x<f.x+f.width&&m.x+m.width>f.x,y=m.y<f.y+f.height&&m.y+m.height>f.y;return v&&y}var g=m.width*m.height;return!(g<=0)&&Math.max(0,Math.min(f.x+f.width,m.x+m.width)-Math.max(f.x,m.x))*Math.max(0,Math.min(f.y+f.height,m.y+m.height)-Math.max(f.y,m.y))/g>=h}({elementX:n,elementY:i,elementWidth:o,elementHeight:s,scale:w.state.scale,positionX:w.state.positionX,positionY:w.state.positionY,viewportWidth:a.offsetWidth,viewportHeight:a.offsetHeight,margin:c,threshold:d});r!==C.current&&(C.current=r,P(r),r?null==(t=M.current)||t.call(M):null==(e=S.current)||e.call(S))}};e();var a=w.onChange(e);return w.wrapperComponent||(t=w.onInit(function(){return e()})),function(){a(),null==t||t()}},[w,n,i,o,s,c,d]),x)?(0,r.jsx)("div",D({ref:e,className:y,style:g},{children:v})):h?(0,r.jsx)(r.Fragment,{children:h}):null})},40557:(t,e,n)=>{n.d(e,{A:()=>i});let i=(0,n(99537).A)("book-open",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]])},44539:(t,e,n)=>{n.d(e,{A:()=>i});let i=(0,n(99537).A)("calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]])},45425:(t,e,n)=>{n.d(e,{A:()=>i});let i=(0,n(99537).A)("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]])},49260:(t,e,n)=>{n.d(e,{A:()=>i});let i=(0,n(99537).A)("share",[["path",{d:"M12 2v13",key:"1km8f5"}],["path",{d:"m16 6-4-4-4 4",key:"13yo43"}],["path",{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8",key:"1b2hhj"}]])},54757:(t,e,n)=>{n.d(e,{A:()=>i});let i=(0,n(99537).A)("heart",[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}]])},64577:(t,e,n)=>{n.d(e,{A:()=>i});let i=(0,n(99537).A)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},67033:(t,e,n)=>{n.d(e,{A:()=>i});let i=(0,n(99537).A)("map-pin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]])},78780:(t,e,n)=>{n.d(e,{A:()=>i});let i=(0,n(99537).A)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])},83132:(t,e,n)=>{n.d(e,{A:()=>i});let i=(0,n(99537).A)("music",[["path",{d:"M9 18V5l12-2v13",key:"1jmyc2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["circle",{cx:"18",cy:"16",r:"3",key:"1hluhg"}]])},86272:(t,e,n)=>{n.d(e,{A:()=>i});let i=(0,n(99537).A)("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 
11.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]])},95e3:(t,e,n)=>{n.d(e,{A:()=>i});let i=(0,n(99537).A)("smartphone",[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]])},95697:(t,e,n)=>{n.d(e,{A:()=>i});let i=(0,n(99537).A)("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]])},96550:(t,e,n)=>{n.d(e,{A:()=>i});let i=(0,n(99537).A)("shopping-cart",[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]])}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.