PageSourceSearch

https://e-qanun.az/_next/static/chunks/164-e651d87005965641.js

js e-qanun.az collected 2026-09-24 09:07:14 UTC 121,753 bytes, 28 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[164],{5578:function(e,t,n){"use strict";var r=n(8169),o=n(5893);t.Z=(0,r.Z)((0,o.jsx)("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z"}),"KeyboardArrowDown")},8678:function(e,t,n){"use strict";var r=n(8169),o=n(5893);t.Z=(0,r.Z)((0,o.jsx)("path",{d:"M7.41 15.41 12 10.83l4.59 4.58L18 14l-6-6-6 6z"}),"KeyboardArrowUp")},5670:function(e,t,n){"use strict";n.d(t,{ZP:function(){return a},_i:function(){return l},pQ:function(){return u},uU:function(){return s}});var r=n(7294),o=n(5893);const i=r.createContext(null);function a(e){const{children:t,value:n}=e,a=function(){const[e,t]=r.useState(null);return r.useEffect((()=>{t(`mui-p-${Math.round(1e5*Math.random())}`)}),[]),e}(),l=r.useMemo((()=>({idPrefix:a,value:n})),[a,n]);return(0,o.jsx)(i.Provider,{value:l,children:t})}function l(){return r.useContext(i)}function s(e,t){const{idPrefix:n}=e;return null===n?null:`${e.idPrefix}-P-${t}`}function u(e,t){const{idPrefix:n}=e;return null===n?null:`${e.idPrefix}-T-${t}`}},7225:function(e,t,n){"use strict";n.d(t,{Z:function(){return $}});var r=n(7462),o=n(3366),i=n(7294),a=(n(6607),n(6010)),l=n(4780),s=n(8793),u=n(1496),c=n(7623),d=n(2734),f=n(7144);let h;function p(){if(h)return h;const e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),h="reverse",e.scrollLeft>0?h="default":(e.scrollLeft=1,0===e.scrollLeft&&(h="negative")),document.body.removeChild(e),h}function m(e,t){const n=e.scrollLeft;if("rtl"!==t)return n;switch(p()){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n;default:return n}}function g(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}var v=n(8974),b=n(5340),y=n(5893);const w=["onChange"],S={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};var T=n(8169),O=(0,T.Z)((0,y.jsx)("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),x=(0,T.Z)((0,y.jsx)("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight"),P=n(2607),E=n(1588),_=n(4867);function k(e){return(0,_.Z)("MuiTabScrollButton",e)}var D=(0,E.Z)("MuiTabScrollButton",["root","vertical","horizontal","disabled"]);const M=["className","slots","slotProps","direction","orientation","disabled"],C=(0,u.ZP)(P.Z,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.orientation&&t[n.orientation]]}})((({ownerState:e})=>(0,r.Z)({width:40,flexShrink:0,opacity:.8,[`&.${D.disabled}`]:{opacity:0}},"vertical"===e.orientation&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}})));var I=i.forwardRef((function(e,t){var n,i;const u=(0,c.Z)({props:e,name:"MuiTabScrollButton"}),{className:f,slots:h={},slotProps:p={},direction:m}=u,g=(0,o.Z)(u,M),v="rtl"===(0,d.Z)().direction,b=(0,r.Z)({isRtl:v},u),w=(e=>{const{classes:t,orientation:n,disabled:r}=e,o={root:["root",n,r&&"disabled"]};return(0,l.Z)(o,k,t)})(b),S=null!=(n=h.StartScrollButtonIcon)?n:O,T=null!=(i=h.EndScrollButtonIcon)?i:x,P=(0,s.Z)({elementType:S,externalSlotProps:p.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:b}),E=(0,s.Z)({elementType:T,externalSlotProps:p.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:b});return(0,y.jsx)(C,(0,r.Z)({component:"div",className:(0,a.default)(w.root,f),ref:t,role:null,ownerState:b,tabIndex:null},g,{children:"left"===m?(0,y.jsx)(S,(0,r.Z)({},P)):(0,y.jsx)(T,(0,r.Z)({},E))}))})),j=n(2068);function R(e){return(0,_.Z)("MuiTabs",e)}var N=(0,E.Z)("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","
1indicator"]),W=n(8038);const L=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],F=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,A=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,B=(e,t,n)=>{let r=!1,o=n(e,t);for(;o;){if(o===e.firstChild){if(r)return;r=!0}const t=o.disabled||"true"===o.getAttribute("aria-disabled");if(o.hasAttribute("tabindex")&&!t)return void o.focus();o=n(e,o)}},z=(0,u.ZP)("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${N.scrollButtons}`]:t.scrollButtons},{[`& .${N.scrollButtons}`]:n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,n.vertical&&t.vertical]}})((({ownerState:e,theme:t})=>(0,r.Z)({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${N.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}}))),Z=(0,u.ZP)("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.scroller,n.fixed&&t.fixed,n.hideScrollbar&&t.hideScrollbar,n.scrollableX&&t.scrollableX,n.scrollableY&&t.scrollableY]}})((({ownerState:e})=>(0,r.Z)({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},e.fixed&&{overflowX:"hidden",width:"100%"},e.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},e.scrollableX&&{overflowX:"auto",overflowY:"hidden"},e.scrollableY&&{overflowY:"auto",overflowX:"hidden"}))),H=(0,u.ZP)("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.flexContainer,n.vertical&&t.flexContainerVertical,n.centered&&t.centered]}})((({ownerState:e})=>(0,r.Z)({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"}))),U=(0,u.ZP)("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})((({ownerState:e,theme:t})=>(0,r.Z)({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create()},"primary"===e.indicatorColor&&{backgroundColor:(t.vars||t).palette.primary.main},"secondary"===e.indicatorColor&&{backgroundColor:(t.vars||t).palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0}))),G=(0,u.ZP)((function(e){const{onChange:t}=e,n=(0,o.Z)(e,w),a=i.useRef(),l=i.useRef(null),s=()=>{a.current=l.current.offsetHeight-l.current.clientHeight};return(0,v.Z)((()=>{const e=(0,f.Z)((()=>{const e=a.current;s(),e!==a.current&&t(a.current)})),n=(0,b.Z)(l.current);return n.addEventListener("resize",e),()=>{e.clear(),n.removeEventListener("resize",e)}}),[t]),i.useEffect((()=>{s(),t(a.current)}),[t]),(0,y.jsx)("div",(0,r.Z)({style:S,ref:l},n))}),{name:"MuiTabs",slot:"ScrollbarSize"})({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),X={};var q=i.forwardRef((function(e,t){const n=(0,c.Z)({props:e,name:"MuiTabs"}),u=(0,d.Z)(),h="rtl"===u.direction,{"aria-label":v,"aria-labelledby":w,action:S,centered:T=!1,children:O,className:x,component:P="div",allowScrollButtonsMobile:E=!1,indicatorColor:_="primary",onChange:k,orientation:D="horizontal",ScrollButtonComponent:M=I,scrollButtons:C="auto",selectionFollowsFocus:N,slots:q={},slotProps:Y={},TabIndicatorProps:V={},TabScrollButtonProps:$={},textColor:K="primary",value:Q,variant:J="standard",visibleScrollbar:ee=!1}=n,te=(0,o.Z)(n,L),ne="scrollable"===J,re="vertical"===D,oe=re?"scrollTop":"scrollLeft",ie=re?"top":"left",ae=re?"bottom":"right",le=re?"clientHeight":"clientWidth",se=re?"height":"width",ue=(0,r.Z)({},n,{component:P,allowScrollButtonsMobile:E,indicatorColor:_,orientation:D,vertical:re,scrollButtons:C,textColor:K,variant:J,visibleScrollbar:ee,fixed:!ne,hideScrollbar:ne&&!ee,scrollableX:ne&&!re,scrollableY:ne&&re,centered:T&&!ne,scrollButtonsHideMobile:!E}),ce=(e=>{const{vertical:t,fixed:n,hideScrollbar:r,scrollableX:o,scrollableY:i,centered:a,scrollButtonsHideMobile:s,classes:u}=e,c={root:["root",t&&"vertical"],scroller:["scroller",n&&"fixed",r&&"hide
1Scrollbar",o&&"scrollableX",i&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",a&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",s&&"scrollButtonsHideMobile"],scrollableX:[o&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]};return(0,l.Z)(c,R,u)})(ue),de=(0,s.Z)({elementType:q.StartScrollButtonIcon,externalSlotProps:Y.startScrollButtonIcon,ownerState:ue}),fe=(0,s.Z)({elementType:q.EndScrollButtonIcon,externalSlotProps:Y.endScrollButtonIcon,ownerState:ue});const[he,pe]=i.useState(!1),[me,ge]=i.useState(X),[ve,be]=i.useState({start:!1,end:!1}),[ye,we]=i.useState({overflow:"hidden",scrollbarWidth:0}),Se=new Map,Te=i.useRef(null),Oe=i.useRef(null),xe=()=>{const e=Te.current;let t,n;if(e){const n=e.getBoundingClientRect();t={clientWidth:e.clientWidth,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop,scrollLeftNormalized:m(e,u.direction),scrollWidth:e.scrollWidth,top:n.top,bottom:n.bottom,left:n.left,right:n.right}}if(e&&!1!==Q){const e=Oe.current.children;if(e.length>0){const t=e[Se.get(Q)];0,n=t?t.getBoundingClientRect():null}}return{tabsMeta:t,tabMeta:n}},Pe=(0,j.Z)((()=>{const{tabsMeta:e,tabMeta:t}=xe();let n,r=0;if(re)n="top",t&&e&&(r=t.top-e.top+e.scrollTop);else if(n=h?"right":"left",t&&e){const o=h?e.scrollLeftNormalized+e.clientWidth-e.scrollWidth:e.scrollLeft;r=(h?-1:1)*(t[n]-e[n]+o)}const o={[n]:r,[se]:t?t[se]:0};if(isNaN(me[n])||isNaN(me[se]))ge(o);else{const e=Math.abs(me[n]-o[n]),t=Math.abs(me[se]-o[se]);(e>=1||t>=1)&&ge(o)}})),Ee=(e,{animation:t=!0}={})=>{t?function(e,t,n,r={},o=(()=>{})){const{ease:i=g,duration:a=300}=r;let l=null;const s=t[e];let u=!1;const c=()=>{u=!0},d=r=>{if(u)return void o(new Error("Animation cancelled"));null===l&&(l=r);const c=Math.min(1,(r-l)/a);t[e]=i(c)*(n-s)+s,c>=1?requestAnimationFrame((()=>{o(null)})):requestAnimationFrame(d)};s===n?o(new Error("Element already at target position")):requestAnimationFrame(d)}(oe,Te.current,e,{duration:u.transitions.duration.standard}):Te.current[oe]=e},_e=e=>{let t=Te.current[oe];re?t+=e:(t+=e*(h?-1:1),t*=h&&"reverse"===p()?-1:1),Ee(t)},ke=()=>{const e=Te.current[le];let t=0;const n=Array.from(Oe.current.children);for(let r=0;r<n.length;r+=1){const o=n[r];if(t+o[le]>e){0===r&&(t=e);break}t+=o[le]}return t},De=()=>{_e(-1*ke())},Me=()=>{_e(ke())},Ce=i.useCallback((e=>{we({overflow:null,scrollbarWidth:e})}),[]),Ie=(0,j.Z)((e=>{const{tabsMeta:t,tabMeta:n}=xe();if(n&&t)if(n[ie]<t[ie]){const r=t[oe]+(n[ie]-t[ie]);Ee(r,{animation:e})}else if(n[ae]>t[ae]){const r=t[oe]+(n[ae]-t[ae]);Ee(r,{animation:e})}})),je=(0,j.Z)((()=>{if(ne&&!1!==C){const{scrollTop:e,scrollHeight:t,clientHeight:n,scrollWidth:r,clientWidth:o}=Te.current;let i,a;if(re)i=e>1,a=e<t-n-1;else{const e=m(Te.current,u.direction);i=h?e<r-o-1:e>1,a=h?e>1:e<r-o-1}i===ve.start&&a===ve.end||be({start:i,end:a})}}));i.useEffect((()=>{const e=(0,f.Z)((()=>{Te.current&&(Pe(),je())})),t=(0,b.Z)(Te.current);let n;return t.addEventListener("resize",e),"undefined"!==typeof ResizeObserver&&(n=new ResizeObserver(e),Array.from(Oe.current.children).forEach((e=>{n.observe(e)}))),()=>{e.clear(),t.removeEventListener("resize",e),n&&n.disconnect()}}),[Pe,je]);const Re=i.useMemo((()=>(0,f.Z)((()=>{je()}))),[je]);i.useEffect((()=>()=>{Re.clear()}),[Re]),i.useEffect((()=>{pe(!0)}),[]),i.useEffect((()=>{Pe(),je()})),i.useEffect((()=>{Ie(X!==me)}),[Ie,me]),i.useImperativeHandle(S,(()=>({updateIndicator:Pe,updateScrollButtons:je})),[Pe,je]);const Ne=(0,y.jsx)(U,(0,r.Z)({},V,{className:(0,a.default)(ce.indicator,V.className),ownerState:ue,style:(0,r.Z)({},me,V.style)}));let We=0;const Le=i.Children.map(O,(e=>{if(!i.isValidElement(e))return null;const t=void 0===e.props.value?We:e.props.value;Se.set(t,We);const n=t===Q;return We+=1,i.cloneElement(e,(0,r.Z)({fullWidth:"fullWidth"===J,indicator:n&&!he&&Ne,selected:n,selectionFollowsFocus:N,onChange:k,textColor:K,value:t},1!==We||!1!==Q||e.props.tabIndex?{}:{tabIndex:0}))})),Fe=(()=>{const e={};e.scrollbarSizeListener=ne?(0,y.jsx)(G,{onChange:Ce,className:(0,a.default)(ce.scrollableX,ce.hideScrollbar)}):null;const t=ve.start||ve.end,n=ne&&("auto"===C&&t||!0===C);return e.scrollButtonStart=n?(0,y.jsx)(M,(0,r.Z)({slots:{StartScrollButtonIcon:q.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:de},orientation:D,direction:h?"right":"left",onClick:De,disabled:!ve.start},$,{className:(0,a.default)(ce.scrollButtons,$.className)})):null,e.scrollButtonEnd=n?(0,y.jsx)(M,(0,r.Z)({slots:{EndScrollButtonIcon:q.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:fe},orientation:D,direction:h?"left":"right",onClick:Me,disabled:!ve.end},$,{className:(0,a.default)(ce.scrollButtons,$.className)})):null,e})();return(0,y.jsxs)(z,(0,r.Z)({className:(0,a.default)(ce.root,x),ownerState:ue,ref:t,as:P},te,{children:[Fe.scrollButtonStart,Fe.scrollbarSizeListener,(0,y.jsxs)(Z,{className:ce.scroller,ownerState:ue,style:{overflow:ye.overflow,[re?"margin"+(h?"Left":"Right"):"marginBottom"]:ee?void 0:-ye.scrollbarWidth},ref:Te,onScroll:Re,children:[(0,y.jsx)(H,{"aria-label":v,"aria-labelledby":w,"aria-orientation":"vertical"===D?"vertical":null,className:ce.flexContainer,ownerState:ue,onKeyDown:e=>{const t=Oe.current,n=(0,W.Z)(t).activeElement;if("tab"!==n.getAttribute("role"))return;let r="horizontal"===D?"ArrowLeft":"ArrowUp",o="horizontal"===D?"ArrowRight":"ArrowDown";switch("horizontal"===D&&h&&(r="ArrowRight",o="ArrowLeft"),e.key){case r:e.preventDefault(),B(t,n,A);break;case o:e.preventDefault(),B(t,n,F);break;case"Home":e.preventDefault(),B(t,null,F);break;case"End":e.preventDefault(),B(t,null,A)}},ref:Oe,role:"tablist",children:Le}),he&&Ne]}),Fe.scrollButtonEnd]}))})),Y=n(5670);const V=["children"];var $=i.forwardRef((function(e,t){const{children:n}=e,a=(0,o.Z)(e,V),l=(0,Y._i)();if(null===l)throw new TypeError("No TabContext provided");const s=i.Children.map(n,(e=>i.isValidElement(e)?i.cloneElement(e,{"aria-controls":(0,Y.uU)(l,e.props.value),id:(0,Y.pQ)(l,e.props.value)}):null));return(0,y.jsx)(q,(0,r.Z)({},a,{ref:t,value:l.value,children:s}))}))},5050:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r=n(7462),o=n(3366),i=n(7294),a=n(6010),l=n(1496),s=n(7623),u=n(4780),c=n(4867);function d(e){return(0,c.Z)("MuiTabPanel",e)}(0,n(1588).Z)("MuiTabPanel",["root"]);var f=n(5670),h=n(5893);const p=["children","className","value"],m=(0,l.ZP)("div",{name:"MuiTabPanel",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({padding:e.spacing(3)})));var g=i.forwardRef((function(e,t){const n=(0,s.Z)({props:e,name:"MuiTabPanel"}),{children:i,className:l,value:c}=n,g=(0,o.Z)(n,p),v=(0,r.Z)({},n),b=(e=>{const{classes:t}=e;return(0,u.Z)({root:["root"]},d,t)})(v),y=(0,f._i)();if(null===y)throw new TypeError("No TabContext provided");const w=(0,f.uU)(y,c),S=(0,f.pQ)(y,c);return(0,h.jsx)(m,(0,r.Z)({"aria-labelledby":S,className:(0,a.default)(b.root,l),hidden:c!==y.value,id:w,ref:t,role:"tabpanel",ownerState:v},g,{children:c===y.value&&i}))}))},8456:function(e,t,n){"use strict";n.d(t,{Z:function(){return k}});var r=n(3366),o=n(7462),i=n(7294),a=n(6010),l=n(4780),s=n(917),u=n(8216),c=n(7623),d=n(1496),f=n(1588),h=n(4867);function p(e){return(0,h.Z)("MuiCircularProgress",e)}(0,f.Z)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);var m=n(5893);const g=["className","color","disableShrink","size","style","thickness","value","variant"];let v,b,y,w,S=e=>e;const T=44,O=(0,s.F4)(v||(v=S`
2  0% {
3    transform: rotate(0deg);
4  }
5
6  100% {
7    transform: rotate(360deg);
8  }
9`)),x=(0,s.F4)(b||(b=S`
10  0% {
11    stroke-dasharray: 1px, 200px;
12    stroke-dashoffset: 0;
13  }
14
15  50% {
16    stroke-dasharray: 100px, 200px;
17    stroke-dashoffset: -15px;
18  }
19
20  100% {
21    stroke-dasharray: 100px, 200px;
22    stroke-dashoffset: -125px;
23  }
24`)),P=(0,d.ZP)("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${(0,u.Z)(n.color)}`]]}})((({ownerState:e,theme:t})=>(0,o.Z)({display:"inline-block"},"determinate"===e.variant&&{transition:t.transitions.create("transform")},"inherit"!==e.color&&{color:(t.vars||t).palette[e.color].main})),(({ownerState:e})=>"indeterminate"===e.variant&&(0,s.iv)(y||(y=S`
25      animation: ${0} 1.4s linear infinite;
26    `),O))),E=(0,d.ZP)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),_=(0,d.ZP)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${(0,u.Z)(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})((({ownerState:e,theme:t})=>(0,o.Z)({stroke:"currentColor"},"determinate"===e.variant&&{transition:t.transitions.create("stroke-dashoffset")},"indeterminate"===e.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0})),(({ownerState:e})=>"indeterminate"===e.variant&&!e.disableShrink&&(0,s.iv)(w||(w=S`
27      animation: ${0} 1.4s ease-in-out infinite;
28    `),x)));var k=i.forwardRef((function(e,t){const n=(0,c.Z)({props:e,name:"MuiCircularProgress"}),{className:i,color:s="primary",disableShrink:d=!1,size:f=40,style:h,thickness:v=3.6,value:b=0,variant:y="indeterminate"}=n,w=(0,r.Z)(n,g),S=(0,o.Z)({},n,{color:s,disableShrink:d,size:f,thickness:v,value:b,variant:y}),O=(e=>{const{classes:t,variant:n,color:r,disableShrink:o}=e,i={root:["root",n,`color${(0,u.Z)(r)}
28`],svg:["svg"],circle:["circle",`circle${(0,u.Z)(n)}`,o&&"circleDisableShrink"]};return(0,l.Z)(i,p,t)})(S),x={},k={},D={};if("determinate"===y){const e=2*Math.PI*((T-v)/2);x.strokeDasharray=e.toFixed(3),D["aria-valuenow"]=Math.round(b),x.strokeDashoffset=`${((100-b)/100*e).toFixed(3)}px`,k.transform="rotate(-90deg)"}return(0,m.jsx)(P,(0,o.Z)({className:(0,a.default)(O.root,i),style:(0,o.Z)({width:f,height:f},k,h),ownerState:S,ref:t,role:"progressbar"},D,w,{children:(0,m.jsx)(E,{className:O.svg,ownerState:S,viewBox:"22 22 44 44",children:(0,m.jsx)(_,{className:O.circle,style:x,ownerState:S,cx:T,cy:T,r:(T-v)/2,fill:"none",strokeWidth:v})})}))}))},44:function(e,t,n){"use strict";n.d(t,{Z:function(){return y}});var r=n(3366),o=n(7462),i=n(7294),a=n(6010),l=n(4780),s=n(2607),u=n(8216),c=n(7623),d=n(1496),f=n(1588),h=n(4867);function p(e){return(0,h.Z)("MuiTab",e)}var m=(0,f.Z)("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),g=n(5893);const v=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],b=(0,d.ZP)(s.Z,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.label&&n.icon&&t.labelIcon,t[`textColor${(0,u.Z)(n.textColor)}`],n.fullWidth&&t.fullWidth,n.wrapped&&t.wrapped]}})((({theme:e,ownerState:t})=>(0,o.Z)({},e.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},t.label&&{flexDirection:"top"===t.iconPosition||"bottom"===t.iconPosition?"column":"row"},{lineHeight:1.25},t.icon&&t.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${m.iconWrapper}`]:(0,o.Z)({},"top"===t.iconPosition&&{marginBottom:6},"bottom"===t.iconPosition&&{marginTop:6},"start"===t.iconPosition&&{marginRight:e.spacing(1)},"end"===t.iconPosition&&{marginLeft:e.spacing(1)})},"inherit"===t.textColor&&{color:"inherit",opacity:.6,[`&.${m.selected}`]:{opacity:1},[`&.${m.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"primary"===t.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${m.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${m.disabled}`]:{color:(e.vars||e).palette.text.disabled}},"secondary"===t.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${m.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${m.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},t.wrapped&&{fontSize:e.typography.pxToRem(12)})));var y=i.forwardRef((function(e,t){const n=(0,c.Z)({props:e,name:"MuiTab"}),{className:s,disabled:d=!1,disableFocusRipple:f=!1,fullWidth:h,icon:m,iconPosition:y="top",indicator:w,label:S,onChange:T,onClick:O,onFocus:x,selected:P,selectionFollowsFocus:E,textColor:_="inherit",value:k,wrapped:D=!1}=n,M=(0,r.Z)(n,v),C=(0,o.Z)({},n,{disabled:d,disableFocusRipple:f,selected:P,icon:!!m,iconPosition:y,label:!!S,fullWidth:h,textColor:_,wrapped:D}),I=(e=>{const{classes:t,textColor:n,fullWidth:r,wrapped:o,icon:i,label:a,selected:s,disabled:c}=e,d={root:["root",i&&a&&"labelIcon",`textColor${(0,u.Z)(n)}`,r&&"fullWidth",o&&"wrapped",s&&"selected",c&&"disabled"],iconWrapper:["iconWrapper"]};return(0,l.Z)(d,p,t)})(C),j=m&&S&&i.isValidElement(m)?i.cloneElement(m,{className:(0,a.default)(I.iconWrapper,m.props.className)}):m;return(0,g.jsxs)(b,(0,o.Z)({focusRipple:!f,className:(0,a.default)(I.root,s),ref:t,role:"tab","aria-selected":P,disabled:d,onClick:e=>{!P&&T&&T(e,k),O&&O(e)},onFocus:e=>{E&&!P&&T&&T(e,k),x&&x(e)},ownerState:C,tabIndex:P?0:-1},M,{children:["top"===y||"start"===y?(0,g.jsxs)(i.Fragment,{children:[j,S]}):(0,g.jsxs)(i.Fragment,{children:[S,j]}),w]}))}))},4714:function(){},5668:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}
28Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DraggableCore",{enumerable:!0,get:function(){return d.default}}),t.default=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var n=m(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(o,a,l):o[a]=e[a]}o.default=e,n&&n.set(e,o);return o}(n(7294)),i=p(n(5697)),a=p(n(3935)),l=p(n(6010)),s=n(1825),u=n(2849),c=n(9280),d=p(n(783)),f=p(n(5904)),h=["axis","bounds","children","defaultPosition","defaultClassName","defaultClassNameDragging","defaultClassNameDragged","position","positionOffset","scale"];function p(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}function g(){return g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},g.apply(this,arguments)}function v(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){k(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function w(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(s){l=!0,o=s}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return S(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return S(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function T(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function O(e,t){return O=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},O(e,t)}function x(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_(e);if(t){var o=_(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return P(this,n)}}function P(e,t){if(t&&("object"===r(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return E(e)}function E(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(e){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},_(e)}
28function k(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var D=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&O(e,t)}(c,e);var t,n,r,i=x(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),k(E(t=i.call(this,e)),"onDragStart",(function(e,n){if((0,f.default)("Draggable: onDragStart: %j",n),!1===t.props.onStart(e,(0,u.createDraggableData)(E(t),n)))return!1;t.setState({dragging:!0,dragged:!0})})),k(E(t),"onDrag",(function(e,n){if(!t.state.dragging)return!1;(0,f.default)("Draggable: onDrag: %j",n);var r=(0,u.createDraggableData)(E(t),n),o={x:r.x,y:r.y};if(t.props.bounds){var i=o.x,a=o.y;o.x+=t.state.slackX,o.y+=t.state.slackY;var l=w((0,u.getBoundPosition)(E(t),o.x,o.y),2),s=l[0],c=l[1];o.x=s,o.y=c,o.slackX=t.state.slackX+(i-o.x),o.slackY=t.state.slackY+(a-o.y),r.x=o.x,r.y=o.y,r.deltaX=o.x-t.state.x,r.deltaY=o.y-t.state.y}if(!1===t.props.onDrag(e,r))return!1;t.setState(o)})),k(E(t),"onDragStop",(function(e,n){if(!t.state.dragging)return!1;if(!1===t.props.onStop(e,(0,u.createDraggableData)(E(t),n)))return!1;(0,f.default)("Draggable: onDragStop: %j",n);var r={dragging:!1,slackX:0,slackY:0};if(Boolean(t.props.position)){var o=t.props.position,i=o.x,a=o.y;r.x=i,r.y=a}t.setState(r)})),t.state={dragging:!1,dragged:!1,x:e.position?e.position.x:e.defaultPosition.x,y:e.position?e.position.y:e.defaultPosition.y,prevPropsPosition:y({},e.position),slackX:0,slackY:0,isElementSVG:!1},!e.position||e.onDrag||e.onStop||console.warn("A `position` was applied to this <Draggable>, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element."),t}return t=c,r=[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.position,r=t.prevPropsPosition;return!n||r&&n.x===r.x&&n.y===r.y?null:((0,f.default)("Draggable: getDerivedStateFromProps %j",{position:n,prevPropsPosition:r}),{x:n.x,y:n.y,prevPropsPosition:y({},n)})}}],(n=[{key:"componentDidMount",value:function(){"undefined"!==typeof window.SVGElement&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}},{key:"componentWillUnmount",value:function(){this.setState({dragging:!1})}},{key:"findDOMNode",value:function(){var e,t,n;return null!==(e=null===(t=this.props)||void 0===t||null===(n=t.nodeRef)||void 0===n?void 0:n.current)&&void 0!==e?e:a.default.findDOMNode(this)}},{key:"render",value:function(){var e,t=this.props,n=(t.axis,t.bounds,t.children),r=t.defaultPosition,i=t.defaultClassName,a=t.defaultClassNameDragging,c=t.defaultClassNameDragged,f=t.position,p=t.positionOffset,m=(t.scale,v(t,h)),b={},w=null,S=!Boolean(f)||this.state.dragging,T=f||r,O={x:(0,u.canDragX)(this)&&S?this.state.x:T.x,y:(0,u.canDragY)(this)&&S?this.state.y:T.y};this.state.isElementSVG?w=(0,s.createSVGTransform)(O,p):b=(0,s.createCSSTransform)(O,p);var x=(0,l.default)(n.props.className||"",i,(k(e={},a,this.state.dragging),k(e,c,this.state.dragged),e));return o.createElement(d.default,g({},m,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),o.cloneElement(o.Children.only(n),{className:x,style:y(y({},n.props.style),b),transform:w}))}}])&&T(t.prototype,n),r&&T(t,r),Object.defineProperty(t,"prototype",{writable:!1}),c}(o.Component);t.default=D,k(D,"displayName","Draggable"),k(D,"propTypes",y(y({},d.default.propTypes),{},{axis:i.default.oneOf(["both","x","y","none"]),bounds:i.default.oneOfType([i.default.shape({left:i.default.number,right:i.default.number,top:i.default.number,bottom:i.default.number}
28),i.default.string,i.default.oneOf([!1])]),defaultClassName:i.default.string,defaultClassNameDragging:i.default.string,defaultClassNameDragged:i.default.string,defaultPosition:i.default.shape({x:i.default.number,y:i.default.number}),positionOffset:i.default.shape({x:i.default.oneOfType([i.default.number,i.default.string]),y:i.default.oneOfType([i.default.number,i.default.string])}),position:i.default.shape({x:i.default.number,y:i.default.number}),className:c.dontSetMe,style:c.dontSetMe,transform:c.dontSetMe})),k(D,"defaultProps",y(y({},d.default.defaultProps),{},{axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1}))},783:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(o,a,l):o[a]=e[a]}o.default=e,n&&n.set(e,o);return o}(n(7294)),i=d(n(5697)),a=d(n(3935)),l=n(1825),s=n(2849),u=n(9280),c=d(n(5904));function d(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(s){l=!0,o=s}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function b(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=S(e);if(t){var o=S(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return y(this,n)}}function y(e,t){if(t&&("object"===r(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return w(e)}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S(e){return S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},S(e)}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var O={start:"touchstart",move:"touchmove",stop:"touchend"}
28,x={start:"mousedown",move:"mousemove",stop:"mouseup"},P=x,E=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&v(e,t)}(u,e);var t,n,r,i=b(u);function u(){var e;m(this,u);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return T(w(e=i.call.apply(i,[this].concat(n))),"state",{dragging:!1,lastX:NaN,lastY:NaN,touchIdentifier:null}),T(w(e),"mounted",!1),T(w(e),"handleDragStart",(function(t){if(e.props.onMouseDown(t),!e.props.allowAnyClick&&"number"===typeof t.button&&0!==t.button)return!1;var n=e.findDOMNode();if(!n||!n.ownerDocument||!n.ownerDocument.body)throw new Error("<DraggableCore> not mounted on DragStart!");var r=n.ownerDocument;if(!(e.props.disabled||!(t.target instanceof r.defaultView.Node)||e.props.handle&&!(0,l.matchesSelectorAndParentsTo)(t.target,e.props.handle,n)||e.props.cancel&&(0,l.matchesSelectorAndParentsTo)(t.target,e.props.cancel,n))){"touchstart"===t.type&&t.preventDefault();var o=(0,l.getTouchIdentifier)(t);e.setState({touchIdentifier:o});var i=(0,s.getControlPosition)(t,o,w(e));if(null!=i){var a=i.x,u=i.y,d=(0,s.createCoreData)(w(e),a,u);(0,c.default)("DraggableCore: handleDragStart: %j",d),(0,c.default)("calling",e.props.onStart),!1!==e.props.onStart(t,d)&&!1!==e.mounted&&(e.props.enableUserSelectHack&&(0,l.addUserSelectStyles)(r),e.setState({dragging:!0,lastX:a,lastY:u}),(0,l.addEvent)(r,P.move,e.handleDrag),(0,l.addEvent)(r,P.stop,e.handleDragStop))}}})),T(w(e),"handleDrag",(function(t){var n=(0,s.getControlPosition)(t,e.state.touchIdentifier,w(e));if(null!=n){var r=n.x,o=n.y;if(Array.isArray(e.props.grid)){var i=r-e.state.lastX,a=o-e.state.lastY,l=h((0,s.snapToGrid)(e.props.grid,i,a),2);if(i=l[0],a=l[1],!i&&!a)return;r=e.state.lastX+i,o=e.state.lastY+a}var u=(0,s.createCoreData)(w(e),r,o);if((0,c.default)("DraggableCore: handleDrag: %j",u),!1!==e.props.onDrag(t,u)&&!1!==e.mounted)e.setState({lastX:r,lastY:o});else try{e.handleDragStop(new MouseEvent("mouseup"))}catch(f){var d=document.createEvent("MouseEvents");d.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),e.handleDragStop(d)}}})),T(w(e),"handleDragStop",(function(t){if(e.state.dragging){var n=(0,s.getControlPosition)(t,e.state.touchIdentifier,w(e));if(null!=n){var r=n.x,o=n.y;if(Array.isArray(e.props.grid)){var i=r-e.state.lastX||0,a=o-e.state.lastY||0,u=h((0,s.snapToGrid)(e.props.grid,i,a),2);i=u[0],a=u[1],r=e.state.lastX+i,o=e.state.lastY+a}var d=(0,s.createCoreData)(w(e),r,o);if(!1===e.props.onStop(t,d)||!1===e.mounted)return!1;var f=e.findDOMNode();f&&e.props.enableUserSelectHack&&(0,l.removeUserSelectStyles)(f.ownerDocument),(0,c.default)("DraggableCore: handleDragStop: %j",d),e.setState({dragging:!1,lastX:NaN,lastY:NaN}),f&&((0,c.default)("DraggableCore: Removing handlers"),(0,l.removeEvent)(f.ownerDocument,P.move,e.handleDrag),(0,l.removeEvent)(f.ownerDocument,P.stop,e.handleDragStop))}}})),T(w(e),"onMouseDown",(function(t){return P=x,e.handleDragStart(t)})),T(w(e),"onMouseUp",(function(t){return P=x,e.handleDragStop(t)})),T(w(e),"onTouchStart",(function(t){return P=O,e.handleDragStart(t)})),T(w(e),"onTouchEnd",(function(t){return P=O,e.handleDragStop(t)})),e}return t=u,(n=[{key:"componentDidMount",value:function(){this.mounted=!0;var e=this.findDOMNode();e&&(0,l.addEvent)(e,O.start,this.onTouchStart,{passive:!1})}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var e=this.findDOMNode();if(e){var t=e.ownerDocument;(0,l.removeEvent)(t,x.move,this.handleDrag),(0,l.removeEvent)(t,O.move,this.handleDrag),(0,l.removeEvent)(t,x.stop,this.handleDragStop),(0,l.removeEvent)(t,O.stop,this.handleDragStop),(0,l.removeEvent)(e,O.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,l.removeUserSelectStyles)(t)}}},{key:"findDOMNode",value:function(){var e,t,n;return null!==(e=this.props)&&void 0!==e&&e.nodeRef?null===(t=this.props)||void 0===t||null===(n=t.nodeRef)||void 0===n?void 0:n.current:a.default.findDOMNode(this)}},{key:"render",value:function(){return o.cloneElement(o.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}])&&g(t.prototype,n),r&&g(t,r),Object.defineProperty(t,"prototype",{writable:!1}),u}(o.Component);
28t.default=E,T(E,"displayName","DraggableCore"),T(E,"propTypes",{allowAnyClick:i.default.bool,disabled:i.default.bool,enableUserSelectHack:i.default.bool,offsetParent:function(e,t){if(e[t]&&1!==e[t].nodeType)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:i.default.arrayOf(i.default.number),handle:i.default.string,cancel:i.default.string,nodeRef:i.default.object,onStart:i.default.func,onDrag:i.default.func,onStop:i.default.func,onMouseDown:i.default.func,scale:i.default.number,className:u.dontSetMe,style:u.dontSetMe,transform:u.dontSetMe}),T(E,"defaultProps",{allowAnyClick:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1})},1193:function(e,t,n){"use strict";var r=n(5668),o=r.default,i=r.DraggableCore;e.exports=o,e.exports.default=o,e.exports.DraggableCore=i},1825:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.addClassName=h,t.addEvent=function(e,t,n,r){if(!e)return;var o=s({capture:!0},r);e.addEventListener?e.addEventListener(t,n,o):e.attachEvent?e.attachEvent("on"+t,n):e["on"+t]=n},t.addUserSelectStyles=function(e){if(!e)return;var t=e.getElementById("react-draggable-style-el");t||((t=e.createElement("style")).type="text/css",t.id="react-draggable-style-el",t.innerHTML=".react-draggable-transparent-selection *::-moz-selection {all: inherit;}\n",t.innerHTML+=".react-draggable-transparent-selection *::selection {all: inherit;}\n",e.getElementsByTagName("head")[0].appendChild(t));e.body&&h(e.body,"react-draggable-transparent-selection")},t.createCSSTransform=function(e,t){var n=f(e,t,"px");return u({},(0,i.browserPrefixToKey)("transform",i.default),n)},t.createSVGTransform=function(e,t){return f(e,t,"")},t.getTouch=function(e,t){return e.targetTouches&&(0,o.findInArray)(e.targetTouches,(function(e){return t===e.identifier}))||e.changedTouches&&(0,o.findInArray)(e.changedTouches,(function(e){return t===e.identifier}))},t.getTouchIdentifier=function(e){if(e.targetTouches&&e.targetTouches[0])return e.targetTouches[0].identifier;if(e.changedTouches&&e.changedTouches[0])return e.changedTouches[0].identifier},t.getTranslation=f,t.innerHeight=function(e){var t=e.clientHeight,n=e.ownerDocument.defaultView.getComputedStyle(e);return t-=(0,o.int)(n.paddingTop),t-=(0,o.int)(n.paddingBottom)},t.innerWidth=function(e){var t=e.clientWidth,n=e.ownerDocument.defaultView.getComputedStyle(e);return t-=(0,o.int)(n.paddingLeft),t-=(0,o.int)(n.paddingRight)},t.matchesSelector=d,t.matchesSelectorAndParentsTo=function(e,t,n){var r=e;do{if(d(r,t))return!0;if(r===n)return!1;r=r.parentNode}while(r);return!1},t.offsetXYFromParent=function(e,t,n){var r=t===t.ownerDocument.body?{left:0,top:0}:t.getBoundingClientRect(),o=(e.clientX+t.scrollLeft-r.left)/n,i=(e.clientY+t.scrollTop-r.top)/n;return{x:o,y:i}},t.outerHeight=function(e){var t=e.clientHeight,n=e.ownerDocument.defaultView.getComputedStyle(e);return t+=(0,o.int)(n.borderTopWidth),t+=(0,o.int)(n.borderBottomWidth)},t.outerWidth=function(e){var t=e.clientWidth,n=e.ownerDocument.defaultView.getComputedStyle(e);return t+=(0,o.int)(n.borderLeftWidth),t+=(0,o.int)(n.borderRightWidth)},t.removeClassName=p,t.removeEvent=function(e,t,n,r){if(!e)return;var o=s({capture:!0},r);e.removeEventListener?e.removeEventListener(t,n,o):e.detachEvent?e.detachEvent("on"+t,n):e["on"+t]=null},t.removeUserSelectStyles=function(e){if(!e)return;try{if(e.body&&p(e.body,"react-draggable-transparent-selection"),e.selection)e.selection.empty();else{var t=(e.defaultView||window).getSelection();t&&"Caret"!==t.type&&t.removeAllRanges()}}catch(n){}};var o=n(9280),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var n=a(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var s=i?Object.getOwnPropertyDescriptor(e,l):null;s&&(s.get||s.set)?Object.defineProperty(o,l,s):o[l]=e[l]}o.default=e,n&&n.set(e,o);return o}(n(8650));function a(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
28t%2?l(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c="";function d(e,t){return c||(c=(0,o.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],(function(t){return(0,o.isFunction)(e[t])}))),!!(0,o.isFunction)(e[c])&&e[c](t)}function f(e,t,n){var r=e.x,o=e.y,i="translate(".concat(r).concat(n,",").concat(o).concat(n,")");if(t){var a="".concat("string"===typeof t.x?t.x:t.x+n),l="".concat("string"===typeof t.y?t.y:t.y+n);i="translate(".concat(a,", ").concat(l,")")+i}return i}function h(e,t){e.classList?e.classList.add(t):e.className.match(new RegExp("(?:^|\\s)".concat(t,"(?!\\S)")))||(e.className+=" ".concat(t))}function p(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(?:^|\\s)".concat(t,"(?!\\S)"),"g"),"")}},8650:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.browserPrefixToKey=o,t.browserPrefixToStyle=function(e,t){return t?"-".concat(t.toLowerCase(),"-").concat(e):e},t.default=void 0,t.getPrefix=r;var n=["Moz","Webkit","O","ms"];function r(){var e,t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform";if("undefined"===typeof window)return"";var i=null===(e=window.document)||void 0===e||null===(t=e.documentElement)||void 0===t?void 0:t.style;if(!i)return"";if(r in i)return"";for(var a=0;a<n.length;a++)if(o(r,n[a])in i)return n[a];return""}function o(e,t){return t?"".concat(t).concat(function(e){for(var t="",n=!0,r=0;r<e.length;r++)n?(t+=e[r].toUpperCase(),n=!1):"-"===e[r]?n=!0:t+=e[r];return t}(e)):e}var i=r();t.default=i},5904:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){0}},2849:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canDragX=function(e){return"both"===e.props.axis||"x"===e.props.axis},t.canDragY=function(e){return"both"===e.props.axis||"y"===e.props.axis},t.createCoreData=function(e,t,n){var o=e.state,a=!(0,r.isNum)(o.lastX),l=i(e);return a?{node:l,deltaX:0,deltaY:0,lastX:t,lastY:n,x:t,y:n}:{node:l,deltaX:t-o.lastX,deltaY:n-o.lastY,lastX:o.lastX,lastY:o.lastY,x:t,y:n}},t.createDraggableData=function(e,t){var n=e.props.scale;return{node:t.node,x:e.state.x+t.deltaX/n,y:e.state.y+t.deltaY/n,deltaX:t.deltaX/n,deltaY:t.deltaY/n,lastX:e.state.x,lastY:e.state.y}},t.getBoundPosition=function(e,t,n){if(!e.props.bounds)return[t,n];var a=e.props.bounds;a="string"===typeof a?a:function(e){return{left:e.left,top:e.top,right:e.right,bottom:e.bottom}}(a);var l=i(e);if("string"===typeof a){var s,u=l.ownerDocument,c=u.defaultView;if(!((s="parent"===a?l.parentNode:u.querySelector(a))instanceof c.HTMLElement))throw new Error('Bounds selector "'+a+'" could not find an element.');var d=s,f=c.getComputedStyle(l),h=c.getComputedStyle(d);a={left:-l.offsetLeft+(0,r.int)(h.paddingLeft)+(0,r.int)(f.marginLeft),top:-l.offsetTop+(0,r.int)(h.paddingTop)+(0,r.int)(f.marginTop),right:(0,o.innerWidth)(d)-(0,o.outerWidth)(l)-l.offsetLeft+(0,r.int)(h.paddingRight)-(0,r.int)(f.marginRight),bottom:(0,o.innerHeight)(d)-(0,o.outerHeight)(l)-l.offsetTop+(0,r.int)(h.paddingBottom)-(0,r.int)(f.marginBottom)}}(0,r.isNum)(a.right)&&(t=Math.min(t,a.right));(0,r.isNum)(a.bottom)&&(n=Math.min(n,a.bottom));(0,r.isNum)(a.left)&&(t=Math.max(t,a.left));(0,r.isNum)(a.top)&&(n=Math.max(n,a.top));return[t,n]},t.getControlPosition=function(e,t,n){var r="number"===typeof t?(0,o.getTouch)(e,t):null;if("number"===typeof t&&!r)return null;var a=i(n),l=n.props.offsetParent||a.offsetParent||a.ownerDocument.body;return(0,o.offsetXYFromParent)(r||e,l,n.props.scale)},t.snapToGrid=function(e,t,n){var r=Math.round(t/e[0])*e[0],o=Math.round(n/e[1])*e[1];return[r,o]};var r=n(9280),o=n(1825);function i(e){var t=e.findDOMNode();if(!t)throw new Error("<DraggableCore>: Unmounted during event!");return t}},9280:function(e,t){"use strict";
28Object.defineProperty(t,"__esModule",{value:!0}),t.dontSetMe=function(e,t,n){if(e[t])return new Error("Invalid prop ".concat(t," passed to ").concat(n," - do not set this, set it on the child."))},t.findInArray=function(e,t){for(var n=0,r=e.length;n<r;n++)if(t.apply(t,[e[n],n,e]))return e[n]},t.int=function(e){return parseInt(e,10)},t.isFunction=function(e){return"function"===typeof e||"[object Function]"===Object.prototype.toString.call(e)},t.isNum=function(e){return"number"===typeof e&&!isNaN(e)}},8357:function(e,t,n){"use strict";n.d(t,{w_:function(){return u}});var r=n(7294),o={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},i=r.createContext&&r.createContext(o),a=function(){return a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a.apply(this,arguments)},l=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function s(e){return e&&e.map((function(e,t){return r.createElement(e.tag,a({key:t},e.attr),s(e.child))}))}function u(e){return function(t){return r.createElement(c,a({attr:a({},e.attr)},t),s(e.child))}}function c(e){var t=function(t){var n,o=e.attr,i=e.size,s=e.title,u=l(e,["attr","size","title"]),c=i||t.size||"1em";return t.className&&(n=t.className),e.className&&(n=(n?n+" ":"")+e.className),r.createElement("svg",a({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,o,u,{className:n,style:a(a({color:e.color||t.color},t.style),e.style),height:c,width:c,xmlns:"http://www.w3.org/2000/svg"}),s&&r.createElement("title",null,s),e.children)};return void 0!==i?r.createElement(i.Consumer,null,(function(e){return t(e)})):t(o)}},6982:function(e,t,n){var r;e.exports=(r=n(7294),(()=>{var e={703:(e,t,n)=>{"use strict";var r=n(414);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},697:(e,t,n)=>{e.exports=n(703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},590:e=>{var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function i(e,a){if(e===a)return!0;if(e&&a&&"object"==typeof e&&"object"==typeof a){if(e.constructor!==a.constructor)return!1;var l,s,u,c;if(Array.isArray(e)){if((l=e.length)!=a.length)return!1;for(s=l;0!=s--;)if(!i(e[s],a[s]))return!1;return!0}if(n&&e instanceof Map&&a instanceof Map){if(e.size!==a.size)return!1;for(c=e.entries();!(s=c.next()).done;)if(!a.has(s.value[0]))return!1;for(c=e.entries();!(s=c.next()).done;)if(!i(s.value[1],a.get(s.value[0])))return!1;return!0}if(r&&e instanceof Set&&a instanceof Set){if(e.size!==a.size)return!1;for(c=e.entries();!(s=c.next()).done;)if(!a.has(s.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(a)){if((l=e.length)!=a.length)return!1;for(s=l;0!=s--;)if(e[s]!==a[s])return!1;return!0}if(e.constructor===RegExp)return e.source===a.source&&e.flags===a.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===a.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===a.toString();if((l=(u=Object.keys(e)).length)!==Object.keys(a).length)return!1;for(s=l;0!=s--;)if(!Object.prototype.hasOwnProperty.call(a,u[s]))return!1;if(t&&e instanceof Element)return!1;for(s=l;0!=s--;)if(("_owner"!==u[s]&&"__v"!==u[s]&&"__o"!==u[s]||!e.$$typeof)&&!i(e[u[s]],a[u[s]])
28)return!1;return!0}return e!=e&&a!=a}e.exports=function(e,t){try{return i(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},37:function(e,t,n){!function(e,t){function n(){return(n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var r="Left",o="Right",i="Down",a={delta:10,preventDefaultTouchmoveEvent:!1,rotationAngle:0,trackMouse:!1,trackTouch:!0},l={first:!0,initial:[0,0],start:0,swiping:!1,xy:[0,0]},s="mousemove",u="mouseup";function c(e,t){if(0===t)return e;var n=Math.PI/180*t;return[e[0]*Math.cos(n)+e[1]*Math.sin(n),e[1]*Math.cos(n)-e[0]*Math.sin(n)]}function d(e,t){var a=function(t){t&&"touches"in t&&t.touches.length>1||e((function(e,r){r.trackMouse&&(document.addEventListener(s,d),document.addEventListener(u,h));var o="touches"in t?t.touches[0]:t,i=c([o.clientX,o.clientY],r.rotationAngle);return n({},e,l,{initial:[].concat(i),xy:i,start:t.timeStamp||0})}))},d=function(t){e((function(e,a){if("touches"in t&&t.touches.length>1)return e;var l="touches"in t?t.touches[0]:t,s=c([l.clientX,l.clientY],a.rotationAngle),u=s[0],d=s[1],f=u-e.xy[0],h=d-e.xy[1],p=Math.abs(f),m=Math.abs(h),g=(t.timeStamp||0)-e.start,v=Math.sqrt(p*p+m*m)/(g||1),b=[f/(g||1),h/(g||1)];if(p<a.delta&&m<a.delta&&!e.swiping)return e;var y=function(e,t,n,a){return e>t?n>0?o:r:a>0?i:"Up"}(p,m,f,h),w={absX:p,absY:m,deltaX:f,deltaY:h,dir:y,event:t,first:e.first,initial:e.initial,velocity:v,vxvy:b};a.onSwiping&&a.onSwiping(w);var S=!1;return(a.onSwiping||a.onSwiped||"onSwiped"+y in a)&&(S=!0),S&&a.preventDefaultTouchmoveEvent&&a.trackTouch&&t.cancelable&&t.preventDefault(),n({},e,{first:!1,eventData:w,swiping:!0})}))},f=function(t){e((function(e,r){var o;if(e.swiping&&e.eventData){o=n({},e.eventData,{event:t}),r.onSwiped&&r.onSwiped(o);var i="onSwiped"+o.dir;i in r&&r[i](o)}else r.onTap&&r.onTap({event:t});return n({},e,l,{eventData:o})}))},h=function(e){document.removeEventListener(s,d),document.removeEventListener(u,h),f(e)},p=function(e,t){var n=function(){};if(e&&e.addEventListener){var r=[["touchstart",a],["touchmove",d],["touchend",f]];r.forEach((function(n){var r=n[0],o=n[1];return e.addEventListener(r,o,{passive:t})})),n=function(){return r.forEach((function(t){var n=t[0],r=t[1];return e.removeEventListener(n,r)}))}}return n},m={ref:function(t){null!==t&&e((function(e,r){if(e.el===t)return e;var o={};return e.el&&e.el!==t&&e.cleanUpTouch&&(e.cleanUpTouch(),o.cleanUpTouch=void 0),r.trackTouch&&t&&(o.cleanUpTouch=p(t,!r.preventDefaultTouchmoveEvent)),n({},e,{el:t},o)}))}};return t.trackMouse&&(m.onMouseDown=a),[m,p]}e.DOWN=i,e.LEFT=r,e.RIGHT=o,e.UP="Up",e.useSwipeable=function(e){var r=e.trackMouse,o=t.useRef(n({},l)),i=t.useRef(n({},a));i.current=n({},a,e);var s=t.useMemo((function(){return d((function(e){return o.current=e(o.current,i.current)}),{trackMouse:r})}),[r]),u=s[0],c=s[1];return o.current=function(e,t,r){var o={};return!t.trackTouch&&e.cleanUpTouch?(e.cleanUpTouch(),o.cleanUpTouch=void 0):t.trackTouch&&!e.cleanUpTouch&&e.el&&(o.cleanUpTouch=r(e.el,!t.preventDefaultTouchmoveEvent)),n({},e,o)}(o.current,i.current,c),u}}(t,n(888))},888:e=>{"use strict";e.exports=r}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={exports:{}};return e[n].call(i.exports,i,i.exports,o),i.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(r){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";function e(t){var n,r,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t)if(Array.isArray(t))for(n=0;n<t.length;n++)t[n]&&(r=e(t[n]))&&(o&&(o+=" "),o+=r);else for(n in t)t[n]&&(o&&(o+=" "),o+=n);return o}function t(){for(var t,n,r=0,o="";r<arguments.length;)(t=arguments[r++])&&(n=e(t))&&(o&&(o+=" "),o+=n);return o}o.r(i),o.d(i,{default:()=>Ie});var r=o(888),a=o.n(r);const l=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},s="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;var u="object"==typeof self&&self&&self.Object===Object&&self;const c=s||u||Function("return this")(),d=function(){return c.Date.now()};var f=/\s/,h=/^\s+/;const p=function(e){return e?e.slice(0,function(e){for(var t=e.length;t--&&f.test(e.charAt(t)););return t}(e)+1).replace(h,""):e},m=c.Symbol;var g=Object.prototype,v=g.hasOwnProperty,b=g.toString,y=m?m.toStringTag:void 0,w=Object.prototype.toString,S=m?m.toStringTag:void 0;
vendor: 1,291 bytes, line 28
28const T=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":S&&S in Object(e)?function(e){var t=v.call(e,y),n=e[y];try{e[y]=void 0;var r=!0}catch(e){}var o=b.call(e);return r&&(t?e[y]=n:delete e[y]),o}(e):function(e){return w.call(e)}(e)};var O=/^[-+]0x[0-9a-f]+$/i,x=/^0b[01]+$/i,P=/^0o[0-7]+$/i,E=parseInt;const _=function(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return null!=e&&"object"==typeof e}(e)&&"[object Symbol]"==T(e)}(e))return NaN;if(l(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=l(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=p(e);var n=x.test(e);return n||P.test(e)?E(e.slice(2),n?2:8):O.test(e)?NaN:+e};var k=Math.max,D=Math.min;const M=function(e,t,n){var r,o,i,a,s,u,c=0,f=!1,h=!1,p=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function m(t){var n=r,i=o;return r=o=void 0,c=t,a=e.apply(i,n)}function g(e){return c=e,s=setTimeout(b,t),f?m(e):a}function v(e){var n=e-u;return void 0===u||n>=t||n<0||h&&e-c>=i}function b(){var e=d();if(v(e))return y(e);s=setTimeout(b,function(e){var n=t-(e-u);return h?D(n,i-(e-c)):n}(e))}function y(e){return s=void 0,p&&r?m(e):(r=o=void 0,a)}function w(){var e=d(),n=v(e);if(r=arguments,o=this,u=e,n){if(void 0===s)return g(u);
vendor: 4,109 bytes, line 28
28if(h)return clearTimeout(s),s=setTimeout(b,t),m(u)}return void 0===s&&(s=setTimeout(b,t)),a}return t=_(t)||0,l(n)&&(f=!!n.leading,i=(h="maxWait"in n)?k(_(n.maxWait)||0,t):i,p="trailing"in n?!!n.trailing:p),w.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=u=o=s=void 0},w.flush=function(){return void 0===s?a:y(d())},w},C=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return l(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),M(e,t,{leading:r,maxWait:t,trailing:o})};var I=o(590),j=o.n(I),R=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var o=r[n];e.call(t,o[1],o[0])}},t}()}(),N="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,W=void 0!==o.g&&o.g.Math===Math?o.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),L="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(W):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)},F=["top","right","bottom","left","width","height","size","weight"],A="undefined"!=typeof MutationObserver,B=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,o=0;function i(){n&&(n=!1,e()),r&&l()}function a(){L(i)}function l(){var e=Date.now();if(n){if(e-o<2)return;r=!0}else n=!0,r=!1,setTimeout(a,20);o=e}return l}(this.refresh.bind(this))}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){N&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),A?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){N&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;F.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),z=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,
vendor: 4,254 bytes, line 28
28configurable:!0})}return e},Z=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||W},H=Y(0,0,0,0);function U(e){return parseFloat(e)||0}function G(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+U(e["border-"+n+"-width"])}),0)}var X="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof Z(e).SVGGraphicsElement}:function(e){return e instanceof Z(e).SVGElement&&"function"==typeof e.getBBox};function q(e){return N?X(e)?function(e){var t=e.getBBox();return Y(0,0,t.width,t.height)}(e):function(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return H;var r=Z(e).getComputedStyle(e),o=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var o=r[n],i=e["padding-"+o];t[o]=U(i)}return t}(r),i=o.left+o.right,a=o.top+o.bottom,l=U(r.width),s=U(r.height);if("border-box"===r.boxSizing&&(Math.round(l+i)!==t&&(l-=G(r,"left","right")+i),Math.round(s+a)!==n&&(s-=G(r,"top","bottom")+a)),!function(e){return e===Z(e).document.documentElement}(e)){var u=Math.round(l+i)-t,c=Math.round(s+a)-n;1!==Math.abs(u)&&(l-=u),1!==Math.abs(c)&&(s-=c)}return Y(o.left,o.top,l,s)}(e):H}function Y(e,t,n,r){return{x:e,y:t,width:n,height:r}}var V=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Y(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=q(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),$=function(e,t){var n,r,o,i,a,l,s,u=(r=(n=t).x,o=n.y,i=n.width,a=n.height,l="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,s=Object.create(l.prototype),z(s,{x:r,y:o,width:i,height:a,top:o,right:r+i,bottom:a+o,left:r}),s);z(this,{target:e,contentRect:u})},K=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new R,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof Z(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new V(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof Z(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new $(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),Q="undefined"!=typeof WeakMap?new WeakMap:new R,J=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=B.getInstance(),r=new K(t,n,this);Q.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){J.prototype[e]=function(){var t;return(t=Q.get(this))[e].apply(t,arguments)}}));const ee=void 0!==W.ResizeObserver?W.ResizeObserver:J;var te=o(37),ne=o(697),re=a().memo((function(e){var t=e.description,n=e.fullscreen,r=e.handleImageLoaded,o=e.isFullscreen,i=e.onImageError,l=e.original,s=e.originalAlt,u=e.originalHeight,c=e.originalWidth,d=e.originalTitle,f
28=e.sizes,h=e.srcSet,p=e.loading,m=o&&n||l;return a().createElement(a().Fragment,null,a().createElement("img",{className:"image-gallery-image",src:m,alt:s,srcSet:h,height:u,width:c,sizes:f,title:d,onLoad:function(e){return r(e,l)},onError:i,loading:p}),t&&a().createElement("span",{className:"image-gallery-description"},t))}));re.displayName="Item",re.propTypes={description:ne.string,fullscreen:ne.string,handleImageLoaded:ne.func.isRequired,isFullscreen:ne.bool,onImageError:ne.func.isRequired,original:ne.string.isRequired,originalAlt:ne.string,originalHeight:ne.string,originalWidth:ne.string,originalTitle:ne.string,sizes:ne.string,srcSet:ne.string,loading:ne.string},re.defaultProps={description:"",fullscreen:"",isFullscreen:!1,originalAlt:"",originalHeight:"",originalWidth:"",originalTitle:"",sizes:"",srcSet:"",loading:"eager"};const oe=re;var ie={left:a().createElement("polyline",{points:"15 18 9 12 15 6"}),right:a().createElement("polyline",{points:"9 18 15 12 9 6"}),maximize:a().createElement("path",{d:"M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3"}),minimize:a().createElement("path",{d:"M8 3v3a2 2 0 0 1-2 2H3m18 0h-3a2 2 0 0 1-2-2V3m0 18v-3a2 2 0 0 1 2-2h3M3 16h3a2 2 0 0 1 2 2v3"}),play:a().createElement("polygon",{points:"5 3 19 12 5 21 5 3"}),pause:a().createElement(a().Fragment,null,a().createElement("rect",{x:"6",y:"4",width:"4",height:"16"}),a().createElement("rect",{x:"14",y:"4",width:"4",height:"16"}))},ae=function(e){var t=e.strokeWidth,n=e.viewBox,r=e.icon;return a().createElement("svg",{className:"image-gallery-svg",xmlns:"http://www.w3.org/2000/svg",viewBox:n,fill:"none",stroke:"currentColor",strokeWidth:t,strokeLinecap:"round",strokeLinejoin:"round"},ie[r])};ae.propTypes={strokeWidth:ne.number,viewBox:ne.string,icon:(0,ne.oneOf)(["left","right","maximize","minimize","play","pause"]).isRequired},ae.defaultProps={strokeWidth:1,viewBox:"0 0 24 24"};const le=ae;var se=a().memo((function(e){var t=e.isFullscreen,n=e.onClick;return a().createElement("button",{type:"button",className:"image-gallery-icon image-gallery-fullscreen-button",onClick:n,"aria-label":"Open Fullscreen"},a().createElement(le,{strokeWidth:2,icon:t?"minimize":"maximize"}))}));se.displayName="Fullscreen",se.propTypes={isFullscreen:ne.bool.isRequired,onClick:ne.func.isRequired};const ue=se;var ce=a().memo((function(e){var t=e.disabled,n=e.onClick;return a().createElement("button",{type:"button",className:"image-gallery-icon image-gallery-left-nav",disabled:t,onClick:n,"aria-label":"Previous Slide"},a().createElement(le,{icon:"left",viewBox:"6 0 12 24"}))}));ce.displayName="LeftNav",ce.propTypes={disabled:ne.bool.isRequired,onClick:ne.func.isRequired};const de=ce;var fe=a().memo((function(e){var t=e.disabled,n=e.onClick;return a().createElement("button",{type:"button",className:"image-gallery-icon image-gallery-right-nav",disabled:t,onClick:n,"aria-label":"Next Slide"},a().createElement(le,{icon:"right",viewBox:"6 0 12 24"}))}));fe.displayName="RightNav",fe.propTypes={disabled:ne.bool.isRequired,onClick:ne.func.isRequired};const he=fe;var pe=a().memo((function(e){var t=e.isPlaying,n=e.onClick;return a().createElement("button",{type:"button",className:"image-gallery-icon image-gallery-play-button",onClick:n,"aria-label":"Play or Pause Slideshow"},a().createElement(le,{strokeWidth:2,icon:t?"pause":"play"}))}));pe.displayName="PlayPause",pe.propTypes={isPlaying:ne.bool.isRequired,onClick:ne.func.isRequired};const me=pe;function ge(){return(ge=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var ve=function(e){var t=e.children,n=e.className,r=e.delta,o=e.onSwiping,i=e.onSwiped,l=(0,te.useSwipeable)({delta:r,onSwiping:o,onSwiped:i});return a().createElement("div",ge({},l,{className:n}),t)};ve.propTypes={children:ne.node.isRequired,className:ne.string,delta:ne.number,onSwiped:ne.func,onSwiping:ne.func},ve.defaultProps={className:"",delta:0,onSwiping:function(){},onSwiped:function(){}};const be=ve;function ye(e){return(ye="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function we(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Se(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
28t%2?we(Object(n),!0).forEach((function(t){Te(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):we(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Te(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Oe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function xe(e,t){return(xe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Pe(e,t){return!t||"object"!==ye(t)&&"function"!=typeof t?Ee(e):t}function Ee(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _e(e){return(_e=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ke=["fullscreenchange","MSFullscreenChange","mozfullscreenchange","webkitfullscreenchange"],De=(0,ne.arrayOf)((0,ne.shape)({srcSet:ne.string,media:ne.string}));function Me(e){var t=parseInt(e.keyCode||e.which||0,10);return 66===t||62===t}var Ce=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xe(e,t)}(l,e);var n,r,o,i=(r=l,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=_e(r);if(o){var n=_e(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Pe(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=i.call(this,e)).state={currentIndex:e.startIndex,thumbsTranslate:0,thumbsSwipedTranslate:0,currentSlideOffset:0,galleryWidth:0,thumbnailsWrapperWidth:0,thumbnailsWrapperHeight:0,thumbsStyle:{transition:"all ".concat(e.slideDuration,"ms ease-out")},isFullscreen:!1,isSwipingThumbnail:!1,isPlaying:!1},t.loadedImages={},t.imageGallery=a().createRef(),t.thumbnailsWrapper=a().createRef(),t.thumbnails=a().createRef(),t.imageGallerySlideWrapper=a().createRef(),t.handleImageLoaded=t.handleImageLoaded.bind(Ee(t)),t.handleKeyDown=t.handleKeyDown.bind(Ee(t)),t.handleMouseDown=t.handleMouseDown.bind(Ee(t)),t.handleResize=t.handleResize.bind(Ee(t)),t.handleTouchMove=t.handleTouchMove.bind(Ee(t)),t.handleOnSwiped=t.handleOnSwiped.bind(Ee(t)),t.handleScreenChange=t.handleScreenChange.bind(Ee(t)),t.handleSwiping=t.handleSwiping.bind(Ee(t)),t.handleThumbnailSwiping=t.handleThumbnailSwiping.bind(Ee(t)),t.handleOnThumbnailSwiped=t.handleOnThumbnailSwiped.bind(Ee(t)),t.onThumbnailMouseLeave=t.onThumbnailMouseLeave.bind(Ee(t)),t.handleImageError=t.handleImageError.bind(Ee(t)),t.pauseOrPlay=t.pauseOrPlay.bind(Ee(t)),t.renderThumbInner=t.renderThumbInner.bind(Ee(t)),t.renderItem=t.renderItem.bind(Ee(t)),t.slideLeft=t.slideLeft.bind(Ee(t)),t.slideRight=t.slideRight.bind(Ee(t)),t.toggleFullScreen=t.toggleFullScreen.bind(Ee(t)),t.togglePlay=t.togglePlay.bind(Ee(t)),t.unthrottledSlideToIndex=t.slideToIndex,t.slideToIndex=C(t.unthrottledSlideToIndex,e.slideDuration,{trailing:!1}),e.lazyLoad&&(t.lazyLoaded=[]),t}return(n=[{key:"componentDidMount",value:function(){var e=this.props,t=e.autoPlay,n=e.useWindowKeyDown;t&&this.play(),n?window.addEventListener("keydown",this.handleKeyDown):this.imageGallery.current.addEventListener("keydown",this.handleKeyDown),window.addEventListener("mousedown",this.handleMouseDown),window.addEventListener("touchmove",this.handleTouchMove,{passive:!1}),this.initSlideWrapperResizeObserver(this.imageGallerySlideWrapper),this.initThumbnailWrapperResizeObserver(this.thumbnailsWrapper),this.addScreenChangeEvent()}},{key:"componentDidUpdate",value:function(e,t){var n=this.props,r=n.items,o=n.lazyLoad,i=n.slideDuration,a=n.slideInterval,l=n.startIndex,s=n.thumbnailPosition,u=n.showThumbnails,c=n.useWindowKeyDown,d=this.state,f=d.currentIndex,h=d.isPlaying,p=e.items.length!==r.length,m=!j()(e.items,r),g=e.startIndex!==l,v=e.thumbnailPosition!==s,b=e.showThumbnails!==u;a===e.slideInterval&&i===e.slideDuration||h&&(this.pause(),this.play()),v&&(this.removeResizeObserver(),this.initSlideWrapperResizeObserver(this.imageGallerySlideWrapper),this.initThumbnailWrapperResizeObserver(this.thumbnailsWrapper)),b&&u&&this.initThumbnailWrapperResizeObserver(this.thumbnailsWrapper),b&&!u&&this.removeThumbn
28ailsResizeObserver(),(p||b)&&this.handleResize(),t.currentIndex!==f&&this.slideThumbnailBar(),e.slideDuration!==i&&(this.slideToIndex=C(this.unthrottledSlideToIndex,i,{trailing:!1})),!o||e.lazyLoad&&!m||(this.lazyLoaded=[]),c!==e.useWindowKeyDown&&(c?(this.imageGallery.current.removeEventListener("keydown",this.handleKeyDown),window.addEventListener("keydown",this.handleKeyDown)):(window.removeEventListener("keydown",this.handleKeyDown),this.imageGallery.current.addEventListener("keydown",this.handleKeyDown))),(g||m)&&this.setState({currentIndex:l,slideStyle:{transition:"none"}})}},{key:"componentWillUnmount",value:function(){var e=this.props.useWindowKeyDown;window.removeEventListener("mousedown",this.handleMouseDown),window.removeEventListener("touchmove",this.handleTouchMove),this.removeScreenChangeEvent(),this.removeResizeObserver(),this.playPauseIntervalId&&(window.clearInterval(this.playPauseIntervalId),this.playPauseIntervalId=null),this.transitionTimer&&window.clearTimeout(this.transitionTimer),e?window.removeEventListener("keydown",this.handleKeyDown):this.imageGallery.current.removeEventListener("keydown",this.handleKeyDown)}},{key:"onSliding",value:function(){var e=this,t=this.state,n=t.currentIndex,r=t.isTransitioning,o=this.props,i=o.onSlide,a=o.slideDuration;this.transitionTimer=window.setTimeout((function(){r&&(e.setState({isTransitioning:!r,isSwipingThumbnail:!1}),i&&i(n))}),a+50)}},{key:"onThumbnailClick",value:function(e,t){var n=this.props.onThumbnailClick;e.target.parentNode.parentNode.blur(),this.slideToIndex(t,e),n&&n(e,t)}},{key:"onThumbnailMouseOver",value:function(e,t){var n=this;this.thumbnailMouseOverTimer&&(window.clearTimeout(this.thumbnailMouseOverTimer),this.thumbnailMouseOverTimer=null),this.thumbnailMouseOverTimer=window.setTimeout((function(){n.slideToIndex(t),n.pause()}),300)}},{key:"onThumbnailMouseLeave",value:function(){if(this.thumbnailMouseOverTimer){var e=this.props.autoPlay;window.clearTimeout(this.thumbnailMouseOverTimer),this.thumbnailMouseOverTimer=null,e&&this.play()}}},{key:"setThumbsTranslate",value:function(e){this.setState({thumbsTranslate:e})}},{key:"setModalFullscreen",value:function(e){var t=this.props.onScreenChange;this.setState({modalFullscreen:e}),t&&t(e)}},{key:"getThumbsTranslate",value:function(e){var t,n=this.props,r=n.disableThumbnailScroll,o=n.items,i=this.state,a=i.thumbnailsWrapperWidth,l=i.thumbnailsWrapperHeight,s=this.thumbnails&&this.thumbnails.current;if(r)return 0;if(s){if(this.isThumbnailVertical()){if(s.scrollHeight<=l)return 0;t=s.scrollHeight-l}else{if(s.scrollWidth<=a||a<=0)return 0;t=s.scrollWidth-a}return e*(t/(o.length-1))}return 0}},{key:"getAlignmentClassName",value:function(e){var t=this.state.currentIndex,n=this.props,r=n.infinite,o=n.items,i="",a="left",l="right";switch(e){case t-1:i=" ".concat(a);break;case t:i=" ".concat("center");break;case t+1:i=" ".concat(l)}return o.length>=3&&r&&(0===e&&t===o.length-1?i=" ".concat(l):e===o.length-1&&0===t&&(i=" ".concat(a))),i}},{key:"getTranslateXForTwoSlide",value:function(e){var t=this.state,n=t.currentIndex,r=t.currentSlideOffset,o=t.previousIndex,i=n!==o,a=0===e&&0===o,l=1===e&&1===o,s=0===e&&1===n,u=1===e&&0===n,c=0===r,d=-100*n+100*e+r;return r>0?this.direction="left":r<0&&(this.direction="right"),u&&r>0&&(d=-100+r),s&&r<0&&(d=100+r),i?a&&c&&"left"===this.direction?d=100:l&&c&&"right"===this.direction&&(d=-100):(u&&c&&"left"===this.direction&&(d=-100),s&&c&&"right"===this.direction&&(d=100)),d}},{key:"getThumbnailBarHeight",value:function(){return this.isThumbnailVertical()?{height:this.state.gallerySlideWrapperHeight}:{}}},{key:"getSlideStyle",value:function(e){var t=this.state,n=t.currentIndex,r=t.currentSlideOffset,o=t.slideStyle,i=this.props,a=i.infinite,l=i.items,s=i.useTranslate3D,u=i.isRTL,c=-100*n,d=l.length-1,f=(c+100*e)*(u?-1:1)+r;a&&l.length>2&&(0===n&&e===d?f=-100*(u?-1:1)+r:n===d&&0===e&&(f=100*(u?-1:1)+r)),a&&2===l.length&&(f=this.getTranslateXForTwoSlide(e));var h="translate(".concat(f,"%, 0)");return s&&(h="translate3d(".concat(f,"%, 0, 0)")),Se({display:this.isSlideVisible(e)?"inherit":"none",WebkitTransform:h,MozTransform:h,msTransform:h,OTransform:h,transform:h},o)}},{key:"getCurrentIndex",value:function(){return this.state.currentIndex}},{key:"getThumbnailStyle",value:function(){var e,t=this.props,n=t.useTranslate3D,r=t.isRTL,o=this.state,i=o.thumbsTranslate,a=o.thumbsStyle,l=r?-1*i:i;return this.isThumbnailVertical()?(e="translate(0, ".concat(i,"px)"),n&&(e="translate3d(0, ".concat(i,"px, 0)"))):(e="translate(".concat(l,"px, 0)"),n&&(e="translate3d(".concat(l,"px, 0, 0)"))),Se({WebkitTransform:e,MozTransform:e,msTransform:e,OTransform:e,transform:e},a)}},{key:"getSlideItems",value:function(){var e=this,n=this.state.currentIndex,r=this.props,o=r.items,i=r.slideOnThumbnailOver,l=r.onClick,s=r.lazyLoad,u=r.onTouchMove,c=r.onTouchEnd,d=r.onTouchStart,f=r.onMouseOver,h=r.onMouseLeave,p=r.renderItem,m=r.renderThumbInner,g=r.showThumbnails,v=r.showBullets,b=[],y=[],w=[];return o.forEach((function(r,o){var S=e.getAlignmentClassName(o),T=r.originalClass?" ".concat(r.originalClass):"",O=r.thumbnailClass?" ".concat(r.thumbnailClass):"",x=r.renderItem||p||e.renderItem,P=r.renderThumbInner||m||e.renderThumbInner,E=!s||S||e.lazyLoaded[o];E&&s&&!e.lazyLoaded[o]&&(e.lazyLoaded[o]=!0);var _=e.getSlideStyle(o),k=a().createElement("div",{"aria-label":"Go to Slide ".concat(o+1),key:"slide-".concat(o),tabIndex:"-1",className:"image-gallery-slide ".concat(S," ").concat(T),style:_,onClick:l,onKeyUp:e.handleSlideKeyUp,onTouchMove:u,onTouchEnd:c,onTouchStart:d,onMouseOver:f,onF
28ocus:f,onMouseLeave:h,role:"button"},E?x(r):a().createElement("div",{style:{height:"100%"}}));if(b.push(k),g&&r.thumbnail){var D=t("image-gallery-thumbnail",O,{active:n===o});y.push(a().createElement("button",{key:"thumbnail-".concat(o),type:"button",tabIndex:"0","aria-pressed":n===o?"true":"false","aria-label":"Go to Slide ".concat(o+1),className:D,onMouseLeave:i?e.onThumbnailMouseLeave:null,onMouseOver:function(t){return e.handleThumbnailMouseOver(t,o)},onFocus:function(t){return e.handleThumbnailMouseOver(t,o)},onKeyUp:function(t){return e.handleThumbnailKeyUp(t,o)},onClick:function(t){return e.onThumbnailClick(t,o)}},P(r)))}if(v){var M=t("image-gallery-bullet",r.bulletClass,{active:n===o});w.push(a().createElement("button",{type:"button",key:"bullet-".concat(o),className:M,onClick:function(t){return r.bulletOnClick&&r.bulletOnClick({item:r,itemIndex:o,currentIndex:n}),t.target.blur(),e.slideToIndex.call(e,o,t)},"aria-pressed":n===o?"true":"false","aria-label":"Go to Slide ".concat(o+1)}))}})),{slides:b,thumbnails:y,bullets:w}}},{key:"ignoreIsTransitioning",value:function(){var e=this.props.items,t=this.state,n=t.previousIndex,r=t.currentIndex,o=e.length-1;return Math.abs(n-r)>1&&!(0===n&&r===o)&&!(n===o&&0===r)}},{key:"isFirstOrLastSlide",value:function(e){return e===this.props.items.length-1||0===e}},{key:"slideIsTransitioning",value:function(e){var t=this.state,n=t.isTransitioning,r=t.previousIndex,o=t.currentIndex;return n&&!(e===r||e===o)}},{key:"isSlideVisible",value:function(e){return!this.slideIsTransitioning(e)||this.ignoreIsTransitioning()&&!this.isFirstOrLastSlide(e)}},{key:"slideThumbnailBar",value:function(){var e=this.state,t=e.currentIndex,n=e.isSwipingThumbnail,r=-this.getThumbsTranslate(t);n||(0===t?this.setState({thumbsTranslate:0,thumbsSwipedTranslate:0}):this.setState({thumbsTranslate:r,thumbsSwipedTranslate:r}))}},{key:"canSlide",value:function(){return this.props.items.length>=2}},{key:"canSlideLeft",value:function(){var e=this.props,t=e.infinite,n=e.isRTL;return t||(n?this.canSlideNext():this.canSlidePrevious())}},{key:"canSlideRight",value:function(){var e=this.props,t=e.infinite,n=e.isRTL;return t||(n?this.canSlidePrevious():this.canSlideNext())}},{key:"canSlidePrevious",value:function(){return this.state.currentIndex>0}},{key:"canSlideNext",value:function(){return this.state.currentIndex<this.props.items.length-1}},{key:"handleSwiping",value:function(e){var t=e.event,n=e.absX,r=e.dir,o=this.props,i=o.disableSwipe,a=o.stopPropagation,l=this.state,s=l.galleryWidth,u=l.isTransitioning,c=l.swipingUpDown,d=l.swipingLeftRight;if(r!==te.UP&&r!==te.DOWN&&!c||d){if(r!==te.LEFT&&r!==te.RIGHT||d||this.setState({swipingLeftRight:!0}),!i){var f=this.props.swipingTransitionDuration;if(a&&t.preventDefault(),u)this.setState({currentSlideOffset:0});else{var h=r===te.RIGHT?1:-1,p=n/s*100;Math.abs(p)>=100&&(p=100);var m={transition:"transform ".concat(f,"ms ease-out")};this.setState({currentSlideOffset:h*p,slideStyle:m})}}}else c||this.setState({swipingUpDown:!0})}},{key:"handleThumbnailSwiping",value:function(e){var t=e.event,n=e.absX,r=e.absY,o=e.dir,i=this.props,a=i.stopPropagation,l=i.swipingThumbnailTransitionDuration,s=this.state,u=s.thumbsSwipedTranslate,c=s.thumbnailsWrapperHeight,d=s.thumbnailsWrapperWidth,f=s.swipingUpDown,h=s.swipingLeftRight;if(this.isThumbnailVertical()){if((o===te.LEFT||o===te.RIGHT||h)&&!f)return void(h||this.setState({swipingLeftRight:!0}));o!==te.UP&&o!==te.DOWN||f||this.setState({swipingUpDown:!0})}else{if((o===te.UP||o===te.DOWN||f)&&!h)return void(f||this.setState({swipingUpDown:!0}));o!==te.LEFT&&o!==te.RIGHT||h||this.setState({swipingLeftRight:!0})}var p,m,g,v,b,y=this.thumbnails&&this.thumbnails.current;if(this.isThumbnailVertical()?(p=u+(o===te.DOWN?r:-r),m=y.scrollHeight-c+20,g=Math.abs(p)>m,v=p>20,b=y.scrollHeight<=c):(p=u+(o===te.RIGHT?n:-n),m=y.scrollWidth-d+20,g=Math.abs(p)>m,v=p>20,b=y.scrollWidth<=d),!b&&(o!==te.LEFT&&o!==te.UP||!g)&&(o!==te.RIGHT&&o!==te.DOWN||!v)){a&&t.stopPropagation();var w={transition:"transform ".concat(l,"ms ease-out")};this.setState({thumbsTranslate:p,thumbsStyle:w})}}},{key:"handleOnThumbnailSwiped",value:function(){var e=this.state.thumbsTranslate,t=this.props.slideDuration;this.resetSwipingDirection(),this.setState({isSwipingThumbnail:!0,thumbsSwipedTranslate:e,thumbsStyle:{transition:"all ".concat(t,"ms ease-out")}})}},{key:"sufficientSwipe",value:function(){var e=this.state.currentSlideOffset,t=this.props.swipeThreshold;return Math.abs(e)>t}},{key:"resetSwipingDirection",value:function(){var e=this.state,t=e.swipingUpDown,n=e.swipingLeftRight;t&&this.setState({swipingUpDown:!1}),n&&this.setState({swipingLeftRight:!1})}},{key:"handleOnSwiped",value:function(e){var t=e.event,n=e.dir,r=e.velocity,o=this.props,i=o.disableSwipe,a=o.stopPropagation,l=o.flickThreshold;if(!i){var s=this.props.isRTL;a&&t.stopPropagation(),this.resetSwipingDirection();var u=(n===te.LEFT?1:-1)*(s?-1:1),c=n===te.UP||n===te.DOWN,d=r>l&&!c;this.handleOnSwipedTo(u,d)}}},{key:"handleOnSwipedTo",value:function(e,t){var n=this.state,r=n.currentIndex,o=n.isTransitioning,i=r;!this.sufficientSwipe()&&!t||o||(i+=e),(-1===e&&!this.canSlideLeft()||1===e&&!this.canSlideRight())&&
28(i=r),this.unthrottledSlideToIndex(i)}},{key:"handleTouchMove",value:function(e){this.state.swipingLeftRight&&e.preventDefault()}},{key:"handleMouseDown",value:function(){this.imageGallery.current.classList.add("image-gallery-using-mouse")}},{key:"handleKeyDown",value:function(e){var t=this.props,n=t.disableKeyDown,r=t.useBrowserFullscreen,o=this.state.isFullscreen;if(this.imageGallery.current.classList.remove("image-gallery-using-mouse"),!n)switch(parseInt(e.keyCode||e.which||0,10)){case 37:this.canSlideLeft()&&!this.playPauseIntervalId&&this.slideLeft(e);break;case 39:this.canSlideRight()&&!this.playPauseIntervalId&&this.slideRight(e);break;case 27:o&&!r&&this.exitFullScreen()}}},{key:"handleImageError",value:function(e){var t=this.props.onErrorImageURL;t&&-1===e.target.src.indexOf(t)&&(e.target.src=t)}},{key:"removeThumbnailsResizeObserver",value:function(){this.resizeThumbnailWrapperObserver&&this.thumbnailsWrapper&&this.thumbnailsWrapper.current&&(this.resizeThumbnailWrapperObserver.unobserve(this.thumbnailsWrapper.current),this.resizeThumbnailWrapperObserver=null)}},{key:"removeResizeObserver",value:function(){this.resizeSlideWrapperObserver&&this.imageGallerySlideWrapper&&this.imageGallerySlideWrapper.current&&(this.resizeSlideWrapperObserver.unobserve(this.imageGallerySlideWrapper.current),this.resizeSlideWrapperObserver=null),this.removeThumbnailsResizeObserver()}},{key:"handleResize",value:function(){var e=this.state.currentIndex;this.imageGallery&&(this.imageGallery&&this.imageGallery.current&&this.setState({galleryWidth:this.imageGallery.current.offsetWidth}),this.imageGallerySlideWrapper&&this.imageGallerySlideWrapper.current&&this.setState({gallerySlideWrapperHeight:this.imageGallerySlideWrapper.current.offsetHeight}),this.setThumbsTranslate(-this.getThumbsTranslate(e)))}},{key:"initSlideWrapperResizeObserver",value:function(e){var t=this;e&&!e.current||(this.resizeSlideWrapperObserver=new ee(M((function(e){e&&e.forEach((function(e){t.setState({thumbnailsWrapperWidth:e.contentRect.width},t.handleResize)}))}),50)),this.resizeSlideWrapperObserver.observe(e.current))}},{key:"initThumbnailWrapperResizeObserver",value:function(e){var t=this;e&&!e.current||(this.resizeThumbnailWrapperObserver=new ee(M((function(e){e&&e.forEach((function(e){t.setState({thumbnailsWrapperHeight:e.contentRect.height},t.handleResize)}))}),50)),this.resizeThumbnailWrapperObserver.observe(e.current))}},{key:"toggleFullScreen",value:function(){this.state.isFullscreen?this.exitFullScreen():this.fullScreen()}},{key:"togglePlay",value:function(){this.playPauseIntervalId?this.pause():this.play()}},{key:"handleScreenChange",value:function(){var e=this.props,t=e.onScreenChange,n=e.useBrowserFullscreen,r=document.fullscreenElement||document.msFullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement,o=this.imageGallery.current===r;t&&t(o),n&&this.setState({isFullscreen:o})}},{key:"slideToIndex",value:function(e,t){var n=this.state,r=n.currentIndex,o=n.isTransitioning,i=this.props,a=i.items,l=i.slideDuration,s=i.onBeforeSlide;if(!o){t&&this.playPauseIntervalId&&(this.pause(!1),this.play(!1));var u=a.length-1,c=e;e<0?c=u:e>u&&(c=0),s&&c!==r&&s(c),this.setState({previousIndex:r,currentIndex:c,isTransitioning:c!==r,currentSlideOffset:0,slideStyle:{transition:"all ".concat(l,"ms ease-out")}},this.onSliding)}}},{key:"slideLeft",value:function(e){var t=this.props.isRTL;this.slideTo(e,t?"right":"left")}},{key:"slideRight",value:function(e){var t=this.props.isRTL;this.slideTo(e,t?"left":"right")}},{key:"slideTo",value:function(e,t){var n=this,r=this.state,o=r.currentIndex,i=r.currentSlideOffset,a=r.isTransitioning,l=this.props.items,s=o+("left"===t?-1:1);a||(2===l.length?this.setState({currentSlideOffset:i+("left"===t?.001:-.001),slideStyle:{transition:"none"}},(function(){window.setTimeout((function(){return n.slideToIndex(s,e)}),25)})):this.slideToIndex(s,e))}},{key:"handleThumbnailMouseOver",value:function(e,t){this.props.slideOnThumbnailOver&&this.onThumbnailMouseOver(e,t)}},{key:"handleThumbnailKeyUp",value:function(e,t){Me(e)&&this.onThumbnailClick(e,t)}},{key:"handleSlideKeyUp",value:function(e){Me(e)&&(0,this.props.onClick)(e)}},{key:"isThumbnailVertical",value:function(){var e=this.props.thumbnailPosition;return"left"===e||"right"===e}},{key:"addScreenChangeEvent",value:function(){var e=this;ke.forEach((function(t){document.addEventListener(t,e.handleScreenChange)}))}},{key:"removeScreenChangeEvent",value:function(){var e=this;ke.forEach((function(t){document.removeEventListener(t,e.handleScreenChange)}))}},{key:"fullScreen",value:function(){var e=this.props.useBrowserFullscreen,t=this.imageGallery.current;e?t.requestFullscreen?t.requestFullscreen():t.msRequestFullscreen?t.msRequestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.webkitRequestFullscreen?t.webkitRequestFullscreen():this.setModalFullscreen(!0):this.setModalFullscreen(!0),this.setState({isFullscreen:!0})}},{key:"exitFullScreen",value:function(){var e=this.state.isFullscreen,t=this.props.useBrowserFullscreen;e&&(t?document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen?document.msExitFullscreen():this.setModalFullscreen(!1):this.setModalFullscreen(!1),this.setState({isFullscreen:!1}))}},{key:"pauseOrPlay",value:function(){var e=this.props.infinite,t=this.state.currentIndex;e||this.canSlideRight()?this.slideToIndex(t+1):this.pause()}},{key:"play",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.props,n=t.onPlay,r=t.slideInterval,o=t.slideDuration,i=this.state.currentIndex;this.playPauseIntervalId||(this.setState({isPlaying:!0}),this.playPauseIntervalId=window.setInterval(this.pauseOrPlay,Math.max(r,o)),n&&e&&n(i))}},{key:"pause",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.props.onPause,n=this.state.currentIndex;this.playPauseIntervalId&&(window.clearInterval(this.playPauseIntervalId),this.playPauseIntervalId=null,this.setState({isPlaying:!1}),t&&e&&t(n))}},{key:"isImageLoaded",value:function(e){return!!this.loadedImages[e.original]||(this.loadedImages[e.original]=!0,!1)}},{key:"handleImageLoaded",value:function(e,t){var n=this.props.onImageLoad;!this.loadedImages[t]&&n&&(this.loadedImages[t]=!0,n(e))}},{key:"renderItem",value:function(e){var t=this.state.isFullscreen,n=this.props.onImageError||this.handleImageError;return a().createElement(oe,{description:e.description,fullscreen:e.fullscreen,handleImageLoaded:this.handleImageLoaded,isFullscreen:t,onImageError:n,original:e.original,originalAlt:e.originalAlt,originalHeight:e.originalHeight,originalWidth:e.originalWidth,originalTitle:e.originalTitle,sizes:e.sizes,loading:e.loading,srcSet:e.srcSet})}},{key:"renderThumbInner",value:function(e){var t=this.props.onThumbnailError||this.handleImageError;return a().createElement("span",{className:"image-gallery-thumbn
28ail-inner"},a().createElement("img",{className:"image-gallery-thumbnail-image",src:e.thumbnail,height:e.thumbnailHeight,width:e.thumbnailWidth,alt:e.thumbnailAlt,title:e.thumbnailTitle,loading:e.thumbnailLoading,onError:t}),e.thumbnailLabel&&a().createElement("div",{className:"image-gallery-thumbnail-label"},e.thumbnailLabel))}},{key:"render",value:function(){var e=this.state,n=e.currentIndex,r=e.isFullscreen,o=e.modalFullscreen,i=e.isPlaying,l=this.props,s=l.additionalClass,u=l.disableThumbnailSwipe,c=l.indexSeparator,d=l.isRTL,f=l.items,h=l.thumbnailPosition,p=l.renderFullscreenButton,m=l.renderCustomControls,g=l.renderLeftNav,v=l.renderRightNav,b=l.showBullets,y=l.showFullscreenButton,w=l.showIndex,S=l.showThumbnails,T=l.showNav,O=l.showPlayButton,x=l.renderPlayPauseButton,P=this.getThumbnailStyle(),E=this.getSlideItems(),_=E.slides,k=E.thumbnails,D=E.bullets,M=t("image-gallery-slide-wrapper",h,{"image-gallery-rtl":d}),C=a().createElement("div",{ref:this.imageGallerySlideWrapper,className:M},m&&m(),this.canSlide()?a().createElement(a().Fragment,null,T&&a().createElement(a().Fragment,null,g(this.slideLeft,!this.canSlideLeft()),v(this.slideRight,!this.canSlideRight())),a().createElement(be,{className:"image-gallery-swipe",delta:0,onSwiping:this.handleSwiping,onSwiped:this.handleOnSwiped},a().createElement("div",{className:"image-gallery-slides"},_))):a().createElement("div",{className:"image-gallery-slides"},_),O&&x(this.togglePlay,i),b&&a().createElement("div",{className:"image-gallery-bullets"},a().createElement("div",{className:"image-gallery-bullets-container",role:"navigation","aria-label":"Bullet Navigation"},D)),y&&p(this.toggleFullScreen,r),w&&a().createElement("div",{className:"image-gallery-index"},a().createElement("span",{className:"image-gallery-index-current"},n+1),a().createElement("span",{className:"image-gallery-index-separator"},c),a().createElement("span",{className:"image-gallery-index-total"},f.length))),I=t("image-gallery",s,{"fullscreen-modal":o}),j=t("image-gallery-content",h,{fullscreen:r}),R=t("image-gallery-thumbnails-wrapper",h,{"thumbnails-wrapper-rtl":!this.isThumbnailVertical()&&d},{"thumbnails-swipe-horizontal":!this.isThumbnailVertical()&&!u},{"thumbnails-swipe-vertical":this.isThumbnailVertical()&&!u});return a().createElement("div",{ref:this.imageGallery,className:I,"aria-live":"polite"},a().createElement("div",{className:j},("bottom"===h||"right"===h)&&C,S&&k.length>0?a().createElement(be,{className:R,delta:0,onSwiping:!u&&this.handleThumbnailSwiping,onSwiped:!u&&this.handleOnThumbnailSwiped},a().createElement("div",{className:"image-gallery-thumbnails",ref:this.thumbnailsWrapper,style:this.getThumbnailBarHeight()},a().createElement("nav",{ref:this.thumbnails,className:"image-gallery-thumbnails-container",style:P,"aria-label":"Thumbnail Navigation"},k))):null,("top"===h||"left"===h)&&C))}}])&&Oe(l.prototype,n),l}(a().Component);Ce.propTypes={flickThreshold:ne.number,items:(0,ne.arrayOf)((0,ne.shape)({bulletClass:ne.string,bulletOnClick:ne.func,description:ne.string,original:ne.string,originalHeight:ne.number,originalWidth:ne.number,loading:ne.string,thumbnailHeight:ne.number,thumbnailWidth:ne.number,thumbnailLoading:ne.string,fullscreen:ne.string,originalAlt:ne.string,originalTitle:ne.string,thumbnail:ne.string,thumbnailAlt:ne.string,thumbnailLabel:ne.string,thumbnailTitle:ne.string,originalClass:ne.string,thumbnailClass:ne.string,renderItem:ne.func,renderThumbInner:ne.func,imageSet:De,srcSet:ne.string,sizes:ne.string})).isRequired,showNav:ne.bool,autoPlay:ne.bool,lazyLoad:ne.bool,infinite:ne.bool,showIndex:ne.bool,showBullets:ne.bool,showThumbnails:ne.bool,showPlayButton:ne.bool,showFullscreenButton:ne.bool,disableThumbnailScroll:ne.bool,disableKeyDown:ne.bool,disableSwipe:ne.bool,disableThumbnailSwipe:ne.bool,useBrowserFullscreen:ne.bool,onErrorImageURL:ne.string,indexSeparator:ne.string,thumbnailPosition:(0,ne.oneOf)(["top","bottom","left","right"]),startIndex:ne.number,slideDuration:ne.number,slideInterval:ne.number,slideOnThumbnailOver:ne.bool,swipeThreshold:ne.number,swipingTransitionDuration:ne.number,swipingThumbnailTransitionDuration:ne.number,onSlide:ne.func,onBeforeSlide:ne.func,onScreenChange:ne.func,onPause:ne.func,onPlay:ne.func,onClick:ne.func,onImageLoad:ne.func,onImageError:ne.func,onTouchMove:ne.func,onTouchEnd:ne.func,onTouchStart:ne.func,onMouseOver:ne.func,onMouseLeave:ne.func,onThumbnailError:ne.func,onThumbnailClick:ne.func,renderCustomControls:ne.func,renderLeftNav:ne.func,renderRightNav:ne.func,renderPlayPauseButton:ne.func,renderFullscreenButton:ne.func,renderItem:ne.func,renderThumbInner:ne.func,stopPropagation:ne.bool,additionalClass:ne.string,useTranslate3D:ne.bool,isRTL:ne.bool,useWindowKeyDown:ne.bool},Ce.defaultProps={onErrorImageURL:"",additionalClass:"",showNav:!0,autoPlay:!1,lazyLoad:!1,infinite:!0,showIndex:!1,showBullets:!1,showThumbnails:!0,showPlayButton:!0,show
28FullscreenButton:!0,disableThumbnailScroll:!1,disableKeyDown:!1,disableSwipe:!1,disableThumbnailSwipe:!1,useTranslate3D:!0,isRTL:!1,useBrowserFullscreen:!0,flickThreshold:.4,stopPropagation:!1,indexSeparator:" / ",thumbnailPosition:"bottom",startIndex:0,slideDuration:450,swipingTransitionDuration:0,swipingThumbnailTransitionDuration:0,onSlide:null,onBeforeSlide:null,onScreenChange:null,onPause:null,onPlay:null,onClick:null,onImageLoad:null,onImageError:null,onTouchMove:null,onTouchEnd:null,onTouchStart:null,onMouseOver:null,onMouseLeave:null,onThumbnailError:null,onThumbnailClick:null,renderCustomControls:null,renderThumbInner:null,renderItem:null,slideInterval:3e3,slideOnThumbnailOver:!1,swipeThreshold:30,renderLeftNav:function(e,t){return a().createElement(de,{onClick:e,disabled:t})},renderRightNav:function(e,t){return a().createElement(he,{onClick:e,disabled:t})},renderPlayPauseButton:function(e,t){return a().createElement(me,{onClick:e,isPlaying:t})},renderFullscreenButton:function(e,t){return a().createElement(ue,{onClick:e,isFullscreen:t})},useWindowKeyDown:!0};const Ie=Ce})(),i})())},7116:function(e,t,n){var r,o;"undefined"!=typeof self&&self,e.exports=(r=n(7294),o=n(3935),function(){"use strict";var e={156:function(e){e.exports=r},111:function(e){e.exports=o},582:function(e,t,n){n.r(t),n.d(t,{__assign:function(){return i},__asyncDelegator:function(){return P},__asyncGenerator:function(){return x},__asyncValues:function(){return E},__await:function(){return O},__awaiter:function(){return p},__classPrivateFieldGet:function(){return C},__classPrivateFieldIn:function(){return j},__classPrivateFieldSet:function(){return I},__createBinding:function(){return g},__decorate:function(){return l},__esDecorate:function(){return u},__exportStar:function(){return v},__extends:function(){return o},__generator:function(){return m},__importDefault:function(){return M},__importStar:function(){return D}
vendor: 5,901 bytes, line 28
28,__makeTemplateObject:function(){return _},__metadata:function(){return h},__param:function(){return s},__propKey:function(){return d},__read:function(){return y},__rest:function(){return a},__runInitializers:function(){return c},__setFunctionName:function(){return f},__spread:function(){return w},__spreadArray:function(){return T},__spreadArrays:function(){return S},__values:function(){return b}});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function l(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function s(e,t){return function(n,r){t(n,r,e)}}function u(e,t,n,r,o,i){function a(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var l,s=r.kind,u="getter"===s?"get":"setter"===s?"set":"value",c=!t&&e?r.static?e:e.prototype:null,d=t||(c?Object.getOwnPropertyDescriptor(c,r.name):{}),f=!1,h=n.length-1;h>=0;h--){var p={};for(var m in r)p[m]="access"===m?{}:r[m];for(var m in r.access)p.access[m]=r.access[m];p.addInitializer=function(e){if(f)throw new TypeError("Cannot add initializers after decoration has completed");i.push(a(e||null))};var g=(0,n[h])("accessor"===s?{get:d.get,set:d.set}:d[u],p);if("accessor"===s){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw new TypeError("Object expected");(l=a(g.get))&&(d.get=l),(l=a(g.set))&&(d.set=l),(l=a(g.init))&&o.unshift(l)}else(l=a(g))&&("field"===s?o.unshift(l):d[u]=l)}c&&Object.defineProperty(c,r.name,d),f=!0}function c(e,t,n){for(var r=arguments.length>2,o=0;o<t.length;o++)n=r?t[o].call(e,n):t[o].call(e);return r?n:void 0}function d(e){return"symbol"==typeof e?e:"".concat(e)}function f(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function h(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function p(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function l(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}s((r=r.apply(e,t||[])).next())}))}function m(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(s){return function(l){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,l[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&l[0]?r.return:l[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,l[1])).done)return o;switch(r=0,o&&(l=[2&l[0],o.value]),l[0]){case 0:case 1:o=l;break;case 4:return a.label++,{value:l[1],done:!1};case 5:a.label++,r=l[1],l=[0];continue;case 7:l=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==l[0]&&2!==l[0])){a=0;continue}if(3===l[0]&&(!o||l[1]>o[0]&&l[1]<o[3])){a.label=l[1];break}if(6===l[0]&&a.label<o[1]){a.label=o[1],o=l;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(l);break}o[2]&&a.ops.pop(),a.trys.pop();continue}l=t.call(e,a)}catch(e){l=[6,e],r=0}finally{n=o=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,s])}}}var g=Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function v(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||g(t,e,n)}function b(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function y(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function w(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(y(arguments[t]));return e}function S(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,l=i.length;a<l;a++,o++)r[o]=i[a];return r}function T(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}
28function O(e){return this instanceof O?(this.v=e,this):new O(e)}function x(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(e){o[e]&&(r[e]=function(t){return new Promise((function(n,r){i.push([e,t,n,r])>1||l(e,t)}))})}function l(e,t){try{(n=o[e](t)).value instanceof O?Promise.resolve(n.value.v).then(s,u):c(i[0][2],n)}catch(e){c(i[0][3],e)}var n}function s(e){l("next",e)}function u(e){l("throw",e)}function c(e,t){e(t),i.shift(),i.length&&l(i[0][0],i[0][1])}}function P(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:O(e[r](t)),done:!1}:o?o(t):t}:o}}function E(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=b(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){!function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)}(r,o,(t=e[n](t)).done,t.value)}))}}}function _(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var k=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function D(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&g(t,e,n);return k(t,e),t}function M(e){return e&&e.__esModule?e:{default:e}}function C(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function I(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n}function j(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}t.default={__extends:o,__assign:i,__rest:a,__decorate:l,__param:s,__metadata:h,__awaiter:p,__generator:m,__createBinding:g,__exportStar:v,__values:b,__read:y,__spread:w,__spreadArrays:S,__spreadArray:T,__await:O,__asyncGenerator:x,__asyncDelegator:P,__asyncValues:E,__makeTemplateOb
28ject:_,__importStar:D,__importDefault:M,__classPrivateFieldGet:C,__classPrivateFieldSet:I,__classPrivateFieldIn:j}}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return function(){var e=i;Object.defineProperty(e,"__esModule",{value:!0}),e.useReactToPrint=e.PrintContextConsumer=void 0;var t=n(582),r=n(156),o=n(111),a=Object.prototype.hasOwnProperty.call(r,"createContext"),l=Object.prototype.hasOwnProperty.call(r,"useMemo")&&Object.prototype.hasOwnProperty.call(r,"useCallback"),s=a?r.createContext({}):null;e.PrintContextConsumer=s?s.Consumer:function(){return null};var u={copyStyles:!0,pageStyle:"\n        @page {\n            /* Remove browser default header (title) and footer (url) */\n            margin: 0;\n        }\n        @media print {\n            body {\n                /* Tell browsers to print background colors */\n                -webkit-print-color-adjust: exact; /* Chrome/Safari/Edge/Opera */\n                color-adjust: exact; /* Firefox */\n            }\n        }\n    ",removeAfterPrint:!1,suppressErrors:!1},c=function(e){function n(){var n=null!==e&&e.apply(this,arguments)||this;return n.startPrint=function(e){var t=n.props,r=t.onAfterPrint,o=t.onPrintError,i=t.print,a=t.documentTitle;setTimeout((function(){var t,l;if(e.contentWindow)if(e.contentWindow.focus(),i)i(e).then((function(){return null==r?void 0:r()})).then((function(){return n.handleRemoveIframe()})).catch((function(e){o?o("print",e):n.logMessages(["An error was thrown by the specified `print` function"])}));else{if(e.contentWindow.print){var s=null!==(l=null===(t=e.contentDocument)||void 0===t?void 0:t.title)&&void 0!==l?l:"",u=e.ownerDocument.title;a&&(e.ownerDocument.title=a,e.contentDocument&&(e.contentDocument.title=a)),e.contentWindow.print(),a&&(e.ownerDocument.title=u,e.contentDocument&&(e.contentDocument.title=s))}else n.logMessages(["Printing for this browser is not currently possible: the browser does not have a `print` method available for iframes."]);null==r||r(),n.handleRemoveIframe()}else n.logMessages(["Printing failed because the `contentWindow` of the print iframe did not load. This is possibly an error with `react-to-print`. Please file an issue: https://github.com/gregnb/react-to-print/issues/"])}),500)},n.triggerPrint=function(e){var t=n.props,r=t.onBeforePrint,o=t.onPrintError;if(r){var i=r();i&&"function"==typeof i.then?i.then((function(){n.startPrint(e)})).catch((function(e){o&&o("onBeforePrint",e)})):n.startPrint(e)}else n.startPrint(e)},n.handleClick=function(){var e=n.props,t=e.onBeforeGetContent,r=e.onPrintError;if(t){var o=t();o&&"function"==typeof o.then?o.then(n.handlePrint).catch((function(e){r&&r("onBeforeGetContent",e)})):n.handlePrint()}else n.handlePrint()},n.handlePrint=function(){var e=n.props,r=e.bodyClass,i=e.content,a=e.copyStyles,l=e.fonts,s=e.pageStyle,u=e.nonce,c=i();if(void 0!==c)if(null!==c){var d=document.createElement("iframe");d.width="".concat(document.documentElement.clientWidth,"px"),d.height="".concat(document.documentElement.clientHeight,"px"),d.style.position="absolute",d.style.top="-".concat(document.documentElement.clientHeight+100,"px"),d.style.left="-".concat(document.documentElement.clientWidth+100,"px"),d.id="printWindow",d.srcdoc="<!DOCTYPE html>";var f=(0,o.findDOMNode)(c);if(f){var h=f.cloneNode(!0),p=h instanceof Text,m=document.querySelectorAll("link[rel='stylesheet']"),g=p?[]:h.querySelectorAll("img"),v=p?[]:h.querySelectorAll("video"),b=l?l.length:0;n.numResourcesToLoad=m.length+g.length+v.length+b,n.resourcesLoaded=[],n.resourcesErrored=[];var y=function(e,r){n.resourcesLoaded.includes(e)?n.logMessages(["Tried to mark a resource that has already been handled",e],"debug"):(r?(n.logMessages(t.__spreadArray(['"react-to-
28print" was unable to load a resource but will continue attempting to print the page'],t.__read(r),!1)),n.resourcesErrored.push(e)):n.resourcesLoaded.push(e),n.resourcesLoaded.length+n.resourcesErrored.length===n.numResourcesToLoad&&n.triggerPrint(d))};d.onload=function(){var e,o,i,c;d.onload=null;var m=d.contentDocument||(null===(o=d.contentWindow)||void 0===o?void 0:o.document);if(m){m.body.appendChild(h),l&&((null===(i=d.contentDocument)||void 0===i?void 0:i.fonts)&&(null===(c=d.contentWindow)||void 0===c?void 0:c.FontFace)?l.forEach((function(e){var t=new FontFace(e.family,e.source,{weight:e.weight,style:e.style});d.contentDocument.fonts.add(t),t.loaded.then((function(){y(t)})).catch((function(e){y(t,["Failed loading the font:",t,"Load error:",e])}))})):(l.forEach((function(e){return y(e)})),n.logMessages(['"react-to-print" is not able to load custom fonts because the browser does not support the FontFace API but will continue attempting to print the page'])));var b="function"==typeof s?s():s;if("string"!=typeof b)n.logMessages(['"react-to-print" expected a "string" from `pageStyle` but received "'.concat(typeof b,'". Styles from `pageStyle` will not be applied.')]);else{var w=m.createElement("style");u&&(w.setAttribute("nonce",u),m.head.setAttribute("nonce",u)),w.appendChild(m.createTextNode(b)),m.head.appendChild(w)}if(r&&(e=m.body.classList).add.apply(e,t.__spreadArray([],t.__read(r.split(" ")),!1)),!p){for(var S=p?[]:f.querySelectorAll("canvas"),T=m.querySelectorAll("canvas"),O=0;O<S.length;++O){var x=S[O],P=T[O].getContext("2d");P&&P.drawImage(x,0,0)}var E=function(e){var t=g[e],n=t.getAttribute("src");if(n){var r=new Image;r.onload=function(){return y(t)},r.onerror=function(e,n,r,o,i){return y(t,["Error loading <img>",t,"Error",i])},r.src=n}else y(t,['Found an <img> tag with an empty "src" attribute. This prevents pre-loading it. The <img> is:',t])};for(O=0;O<g.length;O++)E(O);var _=function(e){var t=v[e];t.preload="auto";var n=t.getAttribute("poster");if(n){var r=new Image;r.onload=function(){return y(t)},r.onerror=function(e,r,o,i,a){return y(t,["Error loading video poster",n,"for video",t,"Error:",a])},r.src=n}else t.readyState>=2?y(t):(t.onloadeddata=function(){return y(t)},t.onerror=function(e,n,r,o,i){return y(t,["Error loading video",t,"Error",i])},t.onstalled=function(){return y(t,["Loading video stalled, skipping",t])})};for(O=0;O<v.length;O++)_(O);var k="input",D=f.querySelectorAll(k),M=m.querySelectorAll(k);for(O=0;O<D.length;O++)M[O].value=D[O].value;var C="input[type=checkbox],input[type=radio]",I=f.querySelectorAll(C),j=m.querySelectorAll(C);for(O=0;O<I.length;O++)j[O].checked=I[O].checked;var R="select",N=f.querySelectorAll(R),W=m.querySelectorAll(R);for(O=0;O<N.length;O++)W[O].value=N[O].value}if(a)for(var L=document.querySelectorAll("style, link[rel='stylesheet']"),F=function(e,t){var r=L[e];if("style"===r.tagName.toLowerCase()){var o=m.createElement(r.tagName),i=r.sheet;if(i){var a="";try{for(var l=i.cssRules.length,s=0;s<l;++s)"string"==typeof i.cssRules[s].cssText&&(a+="".concat(i.cssRules[s].cssText,"\r\n"))}catch(e){n.logMessages(["A stylesheet could not be accessed. This is likely due to the stylesheet having cross-origin imports, and many browsers block script access to cross-origin stylesheets. See https://github.com/gregnb/react-to-print/issues/429 for details. You may be able to load the sheet by both marking the stylesheet with the cross `crossorigin` attribute, and setting the `Access-Control-Allow-Origin` header on the server serving the stylesheet. Alternatively, host the stylesheet on your domain to avoid this issue entirely.",r],"warning")}o.setAttribute("id","react-to-print-".concat(e)),u&&o.setAttribute("nonce",u),o.appendChild(m.createTextNode(a)),m.head.appendChild(o)}}else if(r.getAttribute("href"))if(r.hasAttribute("disabled"))n.logMessages(["`react-to-print` encountered a <link> tag with a `disabled` attribute and will ignore it. Note that the `disabled` attribute is deprecated, and some browsers ignore it. You should stop using it. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-disabled. The <link> is:",r],"warning"),y(r);else{for(var c=m.createElement(r.tagName),d=(s=0,r.attributes.length);s<d;++s){var f=r.attributes[s];f&&c.setAttribute(f.nodeName,f.nodeValue||"")}c.onload=function(){return y(c)},c.onerror=function(e,t,n,r,o){return y(c,["Failed to load",c,"Error:",o])},u&&c.setAttribute("nonce",u),m.head.appendChild(c)}
28else n.logMessages(["`react-to-print` encountered a <link> tag with an empty `href` attribute. In addition to being invalid HTML, this can cause problems in many browsers, and so the <link> was not loaded. The <link> is:",r],"warning"),y(r)},A=(O=0,L.length);O<A;++O)F(O)}0!==n.numResourcesToLoad&&a||n.triggerPrint(d)},n.handleRemoveIframe(!0),document.body.appendChild(d)}else n.logMessages(['"react-to-print" could not locate the DOM node corresponding with the `content` prop'])}else n.logMessages(['There is nothing to print because the "content" prop returned "null". Please ensure "content" is renderable before allowing "react-to-print" to be called.']);else n.logMessages(["To print a functional component ensure it is wrapped with `React.forwardRef`, and ensure the forwarded ref is used. See the README for an example: https://github.com/gregnb/react-to-print#examples"])},n.handleRemoveIframe=function(e){var t=n.props.removeAfterPrint;if(e||t){var r=document.getElementById("printWindow");r&&document.body.removeChild(r)}},n.logMessages=function(e,t){void 0===t&&(t="error"),n.props.suppressErrors||("error"===t?console.error(e):"warning"===t?console.warn(e):"debug"===t&&console.debug(e))},n}return t.__extends(n,e),n.prototype.render=function(){var e=this.props,t=e.children,n=e.trigger;if(n)return r.cloneElement(n(),{onClick:this.handleClick});if(!s)return this.logMessages(['"react-to-print" requires React ^16.3.0 to be able to use "PrintContext"']),null;var o={handlePrint:this.handleClick};return r.createElement(s.Provider,{value:o},t)},n.defaultProps=u,n}(r.Component);e.default=c,e.useReactToPrint=function(e){if(!l)return e.suppressErrors||console.error('"react-to-print" requires React ^16.8.0 to be able to use "useReactToPrint"'),function(){throw new Error('"react-to-print" requires React ^16.8.0 to be able to use "useReactToPrint"')};var n=r.useMemo((function(){return new c(t.__assign(t.__assign({},u),e))}),[e]);return r.useCallback((function(){return n.handleClick()}),[n])}}(),i}())},549:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(7294);const o=r.createContext({});function i({baseColor:e,highlightColor:t,width:n,height:r,borderRadius:o,circle:i,direction:a,duration:l,enableAnimation:s=true}){const u={};return"rtl"===a&&(u["--animation-direction"]="reverse"),"number"===typeof l&&(u["--animation-duration"]=`${l}s`),s||(u["--pseudo-element-display"]="none"),"string"!==typeof n&&"number"!==typeof n||(u.width=n),"string"!==typeof r&&"number"!==typeof r||(u.height=r),"string"!==typeof o&&"number"!==typeof o||(u.borderRadius=o),i&&(u.borderRadius="50%"),"undefined"!==typeof e&&(u["--base-color"]=e),"undefined"!==typeof t&&(u["--highlight-color"]=t),u}function a({count:e=1,wrapper:t,className:n,containerClassName:a,containerTestId:l,circle:s=!1,style:u,...c}){var d,f,h;const p=r.useContext(o),m={...c};for(const[r,o]of Object.entries(c))"undefined"===typeof o&&delete m[r];const g={...p,...m,circle:s},v={...u,...i(g)};let b="react-loading-skeleton";n&&(b+=` ${n}`);const y=null!==(d=g.inline)&&void 0!==d&&d,w=[],S=Math.ceil(e);for(let o=0;o<S;o++){let t=v;if(S>e&&o===S-1){const n=null!==(f=t.width)&&void 0!==f?f:"100%",r=e%1,o="number"===typeof n?n*r:`calc(${n} * ${r})`;t={...t,width:o}}const n=r.createElement("span",{className:b,style:t,key:o},"\u200c");y?w.push(n):w.push(r.createElement(r.Fragment,{key:o},n,r.createElement("br",null)))}return r.createElement("span",{className:a,"data-testid":l,"aria-live":"polite","aria-busy":null===(h=g.enableAnimation)||void 0===h||h},t?w.map(((e,n)=>r.createElement(t,{key:n},e))):w)}}}]);

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.