1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[901],{4272:(e,t,n)=>{"use strict";function r(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}let o={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach(e=>{o[e]=new r(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(([e,t])=>{o[e]=new r(e,1,!1,t,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(e=>{o[e]=new r(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(e=>{o[e]=new r(e,2,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(e=>{o[e]=new r(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(e=>{o[e]=new r(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(e=>{o[e]=new r(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(e=>{o[e]=new r(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(e=>{o[e]=new r(e,5,!1,e.toLowerCase(),null,!1,!1)});let i=/[\-\:]([a-z])/g,a=e=>e[1].toUpperCase();["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(e=>{let t=e.replace(i,a);o[t]=new r(t,1,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(e=>{let t=e.replace(i,a);o[t]=new r(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(e=>{let t=e.replace(i,a);o[t]=new r(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(e=>{o[e]=new r(e,1,!1,e.toLowerCase(),null,!1,!1)}),o.xlinkHref=new r("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(e=>{o[e]=new r(e,1,!1,e.toLowerCase(),null,!0,!0)});let{CAMELCASE:s,SAME:l,possibleStandardNames:c}=n(70687),u=RegExp.prototype.test.bind(RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),d=Object.keys(c).reduce((e,t)=>{let n=c[t];return n===l?e[t]=t:n===s?e[t.toLowerCase()]=t:e[t]=n,e},{});t.BOOLEAN=3,t.BOOLEANISH_STRING=2,t.NUMERIC=5,t.OVERLOADED_BOOLEAN=4,t.POSITIVE_NUMERIC=6,t.RESERVED=0,t.STRING=1,t.getPropertyInfo=function(e){return o.hasOwnProperty(e)?o[e]:null},t.isCustomAttribute=u,t.possibleStandardNames=d},4418:(e,t,n)=>{"use strict";n.d(t,{A:()=>K});var r=n(12115);function o(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 i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
vendor: 16,208 bytes, line 1
1t%2?o(Object(n),!0).forEach(function(t){p(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function a(){a=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,o){var i,a,s,l,c=Object.create((t&&t.prototype instanceof f?t:f).prototype);return r(c,"_invoke",{value:(i=e,a=n,s=new E(o||[]),l="suspendedStart",function(e,t){if("executing"===l)throw Error("Generator is already running");if("completed"===l){if("throw"===e)throw t;return C()}for(s.method=e,s.arg=t;;){var n=s.delegate;if(n){var r=function e(t,n){var r=n.method,o=t.iterator[r];if(void 0===o)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=void 0,e(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=TypeError("The iterator does not provide a '"+r+"' method")),p;var i=d(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,p;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=void 0),n.delegate=null,p):a:(n.method="throw",n.arg=TypeError("iterator result is not an object"),n.delegate=null,p)}(n,s);if(r){if(r===p)continue;return r}}if("next"===s.method)s.sent=s._sent=s.arg;else if("throw"===s.method){if("suspendedStart"===l)throw l="completed",s.arg;s.dispatchException(s.arg)}else"return"===s.method&&s.abrupt("return",s.arg);l="executing";var o=d(i,a,s);if("normal"===o.type){if(l=s.done?"completed":"suspendedYield",o.arg===p)continue;return{value:o.arg,done:s.done}}"throw"===o.type&&(l="completed",s.method="throw",s.arg=o.arg)}})}),c}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var p={};function f(){}function h(){}function m(){}var v={};c(v,i,function(){return this});var g=Object.getPrototypeOf,y=g&&g(g(A([])));y&&y!==t&&n.call(y,i)&&(v=y);var b=m.prototype=f.prototype=Object.create(v);function w(e){["next","throw","return"].forEach(function(t){c(e,t,function(e){return this._invoke(t,e)})})}function k(e,t){var o;r(this,"_invoke",{value:function(r,i){function a(){return new t(function(o,a){!function r(o,i,a,s){var l=d(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==typeof u&&n.call(u,"__await")?t.resolve(u.__await).then(function(e){r("next",e,a,s)},function(e){r("throw",e,a,s)}):t.resolve(u).then(function(e){c.value=e,a(c)},function(e){return r("throw",e,a,s)})}s(l.arg)}(r,i,o,a)})}return o=o?o.then(a,a):a()}})}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function A(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:C}}function C(){return{value:void 0,done:!0}}return h.prototype=m,r(b,"constructor",{value:m,configurable:!0}),r(m,"constructor",{value:h,configurable:!0}),h.displayName=c(m,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,c(e,l,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},w(k.prototype),c(k.prototype,s,function(){return this}),e.AsyncIterator=k,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new k(u(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then(function(e){return e.done?e.value:a.next()})},w(b),c(b,l,"Generator"),c(b,i,function(){return this}),c(b,"toString",function(){return"[object Generator]"}),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=A,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(s&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;x(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:A(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},e}function s(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){n(e);return}s.done?t(l):Promise.resolve(l).then(r,o)}function l(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){s(i,r,o,a,l,"next",e)}function l(e){s(i,r,o,a,l,"throw",e)}a(void 0)})}}function c(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function u(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,w(r.key),r)}}function d(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function p(e,t,n){return(t=w(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e,t){return(h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function m(){if("undefined"==typeof Reflect||!Reflect.construct||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 v(e,t,n){return(v=m()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&h(o,n.prototype),o}).apply(null,arguments)}function g(e){var t="function"==typeof Map?new Map:void 0;return(g=function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return v(e,arguments,f(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),h(n,e)})(e)}function y(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function w(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}var k=void 0!==n.g&&"[object global]"===({}).toString.call(n.g),S="undefined"!=typeof Bun,x="undefined"!=typeof Deno,E=k||S||x;function A(e,t){return 0===e.indexOf(t.toLowerCase())?e:"".concat(t.toLowerCase()).concat(e.substr(0,1).toUpperCase()).concat(e.substr(1))}function C(e){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(e)}function T(e){return/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/.test(e)}function O(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.id,n=e.url,r=t||n;if(!r)throw Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(!isNaN(parseFloat(r))&&isFinite(r)&&Math.floor(r)==r)return"https://vimeo.com/".concat(r);if(C(r))return r.replace("http:","https:");if(t)throw TypeError("â".concat(t,"â is not a valid video id."));throw TypeError("â".concat(r,"â is not a vimeo.com url."))}var P=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"addEventListener",o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"removeEventListener",i="string"==typeof t?[t]:t;return i.forEach(function(t){e[r](t,n)}),{cancel:function(){return i.forEach(function(t){return e[o](t,n)})}}};function R(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;if(!e||!t||"function"!=typeof t.querySelectorAll)return null;for(var n=t.querySelectorAll("iframe"),r=0;r<n.length;r++)if(n[r]&&n[r].contentWindow===e)return n[r];return null}var M=void 0!==Array.prototype.indexOf,_="undefined"!=typeof window&&void 0!==window.postMessage;if(!E&&(!M||!_))throw Error("Sorry, the Vimeo Player API is not available in this browser.");var L="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};!function(e){if(!e.WeakMap){var t=Object.prototype.hasOwnProperty,n=Object.defineProperty&&function(){try{return 1===Object.defineProperty({},"x",{value:1}).x}catch(e){}}(),r=function(e,t,r){n?Object.defineProperty(e,t,{configurable:!0,writable:!0,value:r}):e[t]=r};e.WeakMap=function(){function e(){if(void 0===this)throw TypeError("Constructor WeakMap requires 'new'");if(r(this,"_id","_WeakMap_"+i()+"."+i()),arguments.length>0)throw TypeError("WeakMap iterable is not supported")}function n(e,n){if(!o(e)||!t.call(e,"_id"))throw TypeError(n+" method called on incompatible receiver "+typeof e)}function i(){return Math.random().toString().substring(2)}return r(e.prototype,"delete",function(e){if(n(this,"delete"),!o(e))return!1;var t=e[this._id];return!!t&&t[0]===e&&(delete e[this._id],!0)}),r(e.prototype,"get",function(e){if(n(this,"get"),o(e)){var t=e[this._id];if(t&&t[0]===e)return t[1]}}),r(e.prototype,"has",function(e){if(n(this,"has"),!o(e))return!1;var t=e[this._id];return!!t&&t[0]===e}),r(e.prototype,"set",function(e,t){if(n(this,"set"),!o(e))throw TypeError("Invalid value used as weak map key");var i=e[this._id];return i&&i[0]===e?i[1]=t:r(e,this._id,[e,t]),this}),r(e,"_polyfill",!0),e}()}function o(e){return Object(e)===e}}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:L);var I=function(e,t){return e(t={exports:{}},t.exports),t.exports}(function(e){var t;t="Promise",L[t]=L[t]||function(){var e,t,n,r=Object.prototype.toString,o="undefined"!=typeof setImmediate?function(e){return setImmediate(e)}:setTimeout;try{Object.defineProperty({},"x",{}),e=function(e,t,n,r){return Object.defineProperty(e,t,{value:n,writable:!0,configurable:!1!==r})}}catch(t){e=function(e,t,n){return e[t]=n,e}}function i(e,r){n.add(e,r),t||(t=o(n.drain))}function a(e){var t,n=typeof e;return null!=e&&("object"==n||"function"==n)&&(t=e.then),"function"==typeof t&&t}function s(){for(var e=0;e<this.chain.length;e++)!function(e,t,n){var r,o;try{!1===t?n.reject(e.msg):(r=!0===t?e.msg:t.call(void 0,e.msg))===n.promise?n.reject(TypeError("Promise-chain cycle")):(o=a(r))?o.call(r,n.resolve,n.reject):n.resolve(r)}catch(e){n.reject(e)}}(this,1===this.state?this.chain[e].success:this.chain[e].failure,this.chain[e]);this.chain.length=0}function l(e){var t,n=this;if(!n.triggered){n.triggered=!0,n.def&&(n=n.def);try{(t=a(e))?i(function(){var r=new d(n);try{t.call(e,function(){l.apply(r,arguments)},function(){c.apply(r,arguments)})}catch(e){c.call(r,e)}}):(n.msg=e,n.state=1,n.chain.length>0&&i(s,n))}catch(e){c.call(new d(n),e)}}}function c(e){var t=this;!t.triggered&&(t.triggered=!0,t.def&&(t=t.def),t.msg=e,t.state=2,t.chain.length>0&&i(s,t))}function u(e,t,n,r){for(var o=0;o<t.length;o++)!function(o){e.resolve(t[o]).then(function(e){n(o,e)},r)}(o)}function d(e){this.def=e,this.triggered=!1}function p(e){this.promise=e,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function f(e){if("function"!=typeof e)throw TypeError("Not a function");if(0!==this.__NPO__)throw TypeError("Not a promise");this.__NPO__=1;var t=new p(this);this.then=function(e,n){var r={success:"function"!=typeof e||e,failure:"function"==typeof n&&n};return r.promise=new this.constructor(function(e,t){if("function"!=typeof e||"function"!=typeof t)throw TypeError("Not a function");r.resolve=e,r.reject=t}),t.chain.push(r),0!==t.state&&i(s,t),r.promise},this.catch=function(e){return this.then(void 0,e)};try{e.call(void 0,function(e){l.call(t,e)},function(e){c.call(t,e)})}catch(e){c.call(t,e)}}n=function(){var e,n,r;function o(e,t){this.fn=e,this.self=t,this.next=void 0}return{add:function(t,i){r=new o(t,i),n?n.next=r:e=r,n=r,r=void 0},drain:function(){var r=e;for(e=n=t=void 0;r;)r.fn.call(r.self),r=r.next}}}();var h=e({},"constructor",f,!1);return f.prototype=h,e(h,"__NPO__",0,!1),e(f,"resolve",function(e){return e&&"object"==typeof e&&1===e.__NPO__?e:new this(function(t,n){if("function"!=typeof t||"function"!=typeof n)throw TypeError("Not a function");t(e)})}),e(f,"reject",function(e){return new this(function(t,n){if("function"!=typeof t||"function"!=typeof n)throw TypeError("Not a function");n(e)})}),e(f,"all",function(e){var t=this;return"[object Array]"!=r.call(e)?t.reject(TypeError("Not an array")):0===e.length?t.resolve([]):new t(function(n,r){if("function"!=typeof n||"function"!=typeof r)throw TypeError("Not a function");var o=e.length,i=Array(o),a=0;u(t,e,function(e,t){i[e]=t,++a===o&&n(i)},r)})}),e(f,"race",function(e){var t=this;return"[object Array]"!=r.call(e)?t.reject(TypeError("Not an array")):new t(function(n,r){if("function"!=typeof n||"function"!=typeof r)throw TypeError("Not a function");u(t,e,function(e,t){n(t)},r)})}),f}(),e.exports&&(e.exports=L[t])}),N=new WeakMap;function j(e,t,n){var r=N.get(e.element)||{};t in r||(r[t]=[]),r[t].push(n),N.set(e.element,r)}function z(e,t){return(N.get(e.element)||{})[t]||[]}function D(e,t,n){var r=N.get(e.element)||{};if(!r[t])return!0;
1if(!n)return r[t]=[],N.set(e.element,r),!0;var o=r[t].indexOf(n);return -1!==o&&r[t].splice(o,1),N.set(e.element,r),r[t]&&0===r[t].length}function H(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){return console.warn(e),{}}return e}function F(e,t,n){if(e.element.contentWindow&&e.element.contentWindow.postMessage){var r={method:t};void 0!==n&&(r.value=n);var o=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1"));o>=8&&o<10&&(r=JSON.stringify(r)),e.element.contentWindow.postMessage(r,e.origin)}}var W=["airplay","audio_tracks","audiotrack","autopause","autoplay","background","byline","cc","chapter_id","chapters","chromecast","color","colors","controls","dnt","end_time","fullscreen","height","id","initial_quality","interactive_params","keyboard","loop","maxheight","max_quality","maxwidth","min_quality","muted","play_button_position","playsinline","portrait","preload","progress_bar","quality","quality_selector","responsive","skipping_forward","speed","start_time","texttrack","thumbnail_id","title","transcript","transparent","unmute_button","url","vimeo_logo","volume","watch_full_video","width"];function Y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return W.reduce(function(t,n){var r=e.getAttribute("data-vimeo-".concat(n));return(r||""===r)&&(t[n]=""===r?1:r),t},t)}function X(e,t){var n=e.html;if(!t)throw TypeError("An element must be provided");if(null!==t.getAttribute("data-vimeo-initialized"))return t.querySelector("iframe");var r=document.createElement("div");return r.innerHTML=n,t.appendChild(r.firstChild),t.setAttribute("data-vimeo-initialized","true"),t.querySelector("iframe")}function q(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return new Promise(function(r,o){if(!C(e))throw TypeError("â".concat(e,"â is not a vimeo.com url."));var i=function(e){for(var t=(e||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),n=(t&&t[1]||"").replace("player.",""),r=0,o=[".videoji.hk",".vimeo.work",".videoji.cn"];r<o.length;r++){var i=o[r];if(n.endsWith(i))return n}return"vimeo.com"}(e),a="https://".concat(i,"/api/oembed.json?url=").concat(encodeURIComponent(e));for(var s in t)t.hasOwnProperty(s)&&(a+="&".concat(s,"=").concat(encodeURIComponent(t[s])));var l="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;l.open("GET",a,!0),l.onload=function(){if(404===l.status)return void o(Error("â".concat(e,"â was not found.")));if(403===l.status)return void o(Error("â".concat(e,"â is not embeddable.")));try{var t=JSON.parse(l.responseText);if(403===t.domain_status_code){X(t,n),o(Error("â".concat(e,"â is not embeddable.")));return}r(t)}catch(e){o(e)}},l.onerror=function(){var e=l.status?" (".concat(l.status,")"):"";o(Error("There was an error fetching the embed code from Vimeo".concat(e,".")))},l.send()})}var V={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1},B=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");u.prototype=Object.create(e&&e.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),e&&h(u,e);var t,n,r,o,s=(t=m(),function(){var e,n=f(u);e=t?Reflect.construct(n,arguments,f(this).constructor):n.apply(this,arguments);if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return y(this)});function u(e,t){var n,r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},d=arguments.length>3?arguments[3]:void 0;return c(this,u),p(y(r=s.call(this)),"logger",void 0),p(y(r),"speedAdjustment",0),p(y(r),"adjustSpeed",(n=l(a().mark(function e(t,n){var o;return a().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r.speedAdjustment!==n){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,t.getPlaybackRate();case 4:return e.t0=e.sent,e.t1=r.speedAdjustment,e.t2=e.t0-e.t1,e.t3=n,o=e.t2+e.t3,r.log("New playbackRate: ".concat(o)),e.next=12,t.setPlaybackRate(o);case 12:r.speedAdjustment=n;case 13:case"end":return e.stop()}},e)})),function(e,t){return n.apply(this,arguments)})),r.logger=d,r.init(t,e,i(i({},V),o)),r}return d(u,[{key:"disconnect",value:function(){this.dispatchEvent(new Event("disconnect"))}},{key:"init",value:(n=l(a().mark(function e(t,n,r){var o,i,s,l=this;return a().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.waitForTOReadyState(t,"open");case 2:if("viewer"!==r.role){e.next=10;break}return e.next=5,this.updatePlayer(t,n,r);case 5:o=P(t,"change",function(){return l.updatePlayer(t,n,r)}),i=this.maintainPlaybackPosition(t,n,r),this.addEventListener("disconnect",function(){i.cancel(),o.cancel()}),e.next=14;break;case 10:return e.next=12,this.updateTimingObject(t,n);case 12:s=P(n,["seeked","play","pause","ratechange"],function(){return l.updateTimingObject(t,n)},"on","off"),this.addEventListener("disconnect",function(){return s.cancel()});case 14:case"end":return e.stop()}},e,this)})),function(e,t,r){return n.apply(this,arguments)})},{key:"updateTimingObject",value:(r=l(a().mark(function e(t,n){var r,o,i,s;return a().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([n.getCurrentTime(),n.getPaused(),n.getPlaybackRate()]);case 2:var a;o=(r=function(e){if(Array.isArray(e))return e}(a=e.sent)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{i=(n=n.call(e)).next,!1;for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}
1finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(a,3)||function(e,t){if(e){if("string"==typeof e)return b(e,3);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return b(e,t)}}(a,3)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],i=r[1],s=r[2],t.update({position:o,velocity:i?0:s});case 8:case"end":return e.stop()}},e)})),function(e,t){return r.apply(this,arguments)})},{key:"updatePlayer",value:(o=l(a().mark(function e(t,n,r){var o,i,s;return a().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(i=(o=t.query()).position,s=o.velocity,"number"==typeof i&&n.setCurrentTime(i),"number"!=typeof s){e.next=25;break}if(0!==s){e.next=11;break}return e.next=6,n.getPaused();case 6:if(e.t0=e.sent,!1!==e.t0){e.next=9;break}n.pause();case 9:e.next=25;break;case 11:if(!(s>0)){e.next=25;break}return e.next=14,n.getPaused();case 14:if(e.t1=e.sent,!0!==e.t1){e.next=19;break}return e.next=18,n.play().catch(function(){var e=l(a().mark(function e(t){return a().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!("NotAllowedError"===t.name&&r.autoPlayMuted)){e.next=5;break}return e.next=3,n.setMuted(!0);case 3:return e.next=5,n.play().catch(function(e){return console.error("Couldn't play the video from TimingSrcConnector. Error:",e)});case 5:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}());case 18:this.updatePlayer(t,n,r);case 19:return e.next=21,n.getPlaybackRate();case 21:if(e.t2=e.sent,e.t3=s,e.t2===e.t3){e.next=25;break}n.setPlaybackRate(s);case 25:case"end":return e.stop()}},e,this)})),function(e,t,n){return o.apply(this,arguments)})},{key:"maintainPlaybackPosition",value:function(e,t,n){var r,o=this,i=n.allowedDrift,s=n.maxAllowedDrift,c=n.minCheckInterval,u=n.maxRateAdjustment,d=n.maxTimeToCatchUp,p=1e3*Math.min(d,Math.max(c,s)),f=(r=l(a().mark(function n(){var r,l,c,p,f;return a().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(n.t0=0===e.query().velocity,n.t0){n.next=6;break}return n.next=4,t.getPaused();case 4:n.t1=n.sent,n.t0=!0===n.t1;case 6:if(!n.t0){n.next=8;break}return n.abrupt("return");case 8:return n.t2=e.query().position,n.next=11,t.getCurrentTime();case 11:if(n.t3=n.sent,l=Math.abs(r=n.t2-n.t3),o.log("Drift: ".concat(r)),!(l>s)){n.next=22;break}return n.next=18,o.adjustSpeed(t,0);case 18:t.setCurrentTime(e.query().position),o.log("Resync by currentTime"),n.next=29;break;case 22:if(!(l>i)){n.next=29;break}return f=(c=l/d)<(p=u)?(p-c)/2:p,n.next=28,o.adjustSpeed(t,f*Math.sign(r));case 28:o.log("Resync by playbackRate");case 29:case"end":return n.stop()}},n)})),function(){return r.apply(this,arguments)}),h=setInterval(function(){return f()},p);return{cancel:function(){return clearInterval(h)}}}},{key:"log",value:function(e){var t;null==(t=this.logger)||t.call(this,"TimingSrcConnector: ".concat(e))}},{key:"waitForTOReadyState",value:function(e,t){return new Promise(function(n){!function r(){e.readyState===t?n():e.addEventListener("readystatechange",r,{once:!0})}()})}}]),u}(g(EventTarget)),U=new WeakMap,G=new WeakMap,Z={},$=function(){var e;function t(e){var n,r=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(c(this,t),window.jQuery&&e instanceof jQuery&&(e.length>1&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),e=e[0]),"undefined"!=typeof document&&"string"==typeof e&&(e=document.getElementById(e)),!((n=e)&&1===n.nodeType&&"nodeName"in n&&n.ownerDocument&&n.ownerDocument.defaultView))throw TypeError("You must pass either a valid element or a valid id.");if("IFRAME"!==e.nodeName){var i=e.querySelector("iframe");
vendor: 6,910 bytes, line 1
1i&&(e=i)}if("IFRAME"===e.nodeName&&!C(e.getAttribute("src")||""))throw Error("The player element passed isnât a Vimeo embed.");if(U.has(e))return U.get(e);this._window=e.ownerDocument.defaultView,this.element=e,this.origin="*";var a=new I(function(t,n){if(r._onMessage=function(e){if(C(e.origin)&&r.element.contentWindow===e.source){"*"===r.origin&&(r.origin=e.origin);var o=H(e.data);if(o&&"error"===o.event&&o.data&&"ready"===o.data.method){var i=Error(o.data.message);i.name=o.data.name,n(i);return}var a=o&&"ready"===o.event,s=o&&"ping"===o.method;if(a||s){r.element.setAttribute("data-ready","true"),t();return}var l=o;l=H(l);var c,u=[];if(l.event)"error"===l.event&&z(r,l.data.method).forEach(function(e){var t=Error(l.data.message);t.name=l.data.name,e.reject(t),D(r,l.data.method,e)}),u=z(r,"event:".concat(l.event)),c=l.data;else if(l.method){var d=function(e,t){var n=z(e,t);if(n.length<1)return!1;var r=n.shift();return D(e,t,r),r}(r,l.method);d&&(u.push(d),c=l.value)}u.forEach(function(e){try{if("function"==typeof e)return void e.call(r,c);e.resolve(c)}catch(e){}})}},r._window.addEventListener("message",r._onMessage),"IFRAME"!==r.element.nodeName){var i=Y(e,o);q(O(i),i,e).then(function(t){var n,o,i=X(t,e);return r.element=i,r._originalElement=e,n=e,o=N.get(n),N.set(i,o),N.delete(n),U.set(r.element,r),t}).catch(n)}});if(G.set(this,a),U.set(this.element,this),"IFRAME"===this.element.nodeName&&F(this,"ping"),Z.isEnabled){var s=function(){return Z.exit()};this.fullscreenchangeHandler=function(){Z.isFullscreen?j(r,"event:exitFullscreen",s):D(r,"event:exitFullscreen",s),r.ready().then(function(){F(r,"fullscreenchange",Z.isFullscreen)})},Z.on("fullscreenchange",this.fullscreenchangeHandler)}return this}return d(t,[{key:"callMethod",value:function(e){for(var t=this,n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];if(null==e)throw TypeError("You must pass a method name.");return new I(function(n,o){return t.ready().then(function(){j(t,e,{resolve:n,reject:o}),0===r.length?r={}:1===r.length&&(r=r[0]),F(t,e,r)}).catch(o)})}},{key:"get",value:function(e){var t=this;return new I(function(n,r){return e=A(e,"get"),t.ready().then(function(){j(t,e,{resolve:n,reject:r}),F(t,e)}).catch(r)})}},{key:"set",value:function(e,t){var n=this;return new I(function(r,o){if(e=A(e,"set"),null==t)throw TypeError("There must be a value to set.");return n.ready().then(function(){j(n,e,{resolve:r,reject:o}),F(n,e,t)}).catch(o)})}},{key:"on",value:function(e,t){if(!e)throw TypeError("You must pass an event name.");if(!t)throw TypeError("You must pass a callback function.");if("function"!=typeof t)throw TypeError("The callback must be a function.");0===z(this,"event:".concat(e)).length&&this.callMethod("addEventListener",e).catch(function(){}),j(this,"event:".concat(e),t)}},{key:"off",value:function(e,t){if(!e)throw TypeError("You must pass an event name.");if(t&&"function"!=typeof t)throw TypeError("The callback must be a function.");D(this,"event:".concat(e),t)&&this.callMethod("removeEventListener",e).catch(function(e){})}},{key:"loadVideo",value:function(e){return this.callMethod("loadVideo",e)}},{key:"ready",value:function(){var e=G.get(this)||new I(function(e,t){t(Error("Unknown player. Probably unloaded."))});return I.resolve(e)}},{key:"addCuePoint",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.callMethod("addCuePoint",{time:e,data:t})}},{key:"removeCuePoint",value:function(e){return this.callMethod("removeCuePoint",e)}},{key:"enableTextTrack",value:function(e,t){if(!e)throw TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:e,kind:t})}},{key:"disableTextTrack",value:function(){return this.callMethod("disableTextTrack")}},{key:"pause",value:function(){return this.callMethod("pause")}},{key:"play",value:function(){return this.callMethod("play")}},{key:"requestFullscreen",value:function(){return Z.isEnabled?Z.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return Z.isEnabled?Z.exit():this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return Z.isEnabled?I.resolve(Z.isFullscreen):this.get("fullscreen")}},{key:"requestPictureInPicture",value:function(){return this.callMethod("requestPictureInPicture")}},{key:"exitPictureInPicture",value:function(){return this.callMethod("exitPictureInPicture")}},{key:"getPictureInPicture",value:function(){return this.get("pictureInPicture")}},{key:"remotePlaybackPrompt",value:function(){return this.callMethod("remotePlaybackPrompt")}},{key:"unload",value:function(){return this.callMethod("unload")}},{key:"destroy",value:function(){var e=this;return new I(function(t){if(G.delete(e),U.delete(e.element),e._originalElement&&(U.delete(e._originalElement),e._originalElement.removeAttribute("data-vimeo-initialized")),e.element&&"IFRAME"===e.element.nodeName&&e.element.parentNode&&(e.element.parentNode.parentNode&&e._originalElement&&e._originalElement!==e.element.parentNode?e.element.parentNode.parentNode.removeChild(e.element.parentNode):e.element.parentNode.removeChild(e.element)),e.element&&"DIV"===e.element.nodeName&&e.element.parentNode){e.element.removeAttribute("data-vimeo-initialized");var n=e.element.querySelector("iframe");n&&n.parentNode&&(n.parentNode.parentNode&&e._originalElement&&e._originalElement!==n.parentNode?n.parentNode.parentNode.removeChild(n.parentNode):n.parentNode.removeChild(n))}e._window.removeEventListener("message",e._onMessage),Z.isEnabled&&Z.off("fullscreenchange",e.fullscreenchangeHandler),t()})}},{key:"getAutopause",value:function(){return this.get("autopause")}},{key:"setAutopause",value:function(e){return this.set("autopause",e)}},{key:"getBuffered",value:function(){return this.get("buffered")}},{key:"getCameraProps",value:function(){return this.get("cameraProps")}},{key:"setCameraProps",value:function(e){return this.set("cameraProps",e)}},{key:"getChapters",value:function(){return this.get("chapters")}},{key:"getCurrentChapter",value:function(){return this.get("currentChapter")}},{key:"getColor",value:function(){return this.get("color")}},{key:"getColors",value:function(){return I.all([this.get("colorOne"),this.get("colorTwo"),this.get("colorThree"),this.get("colorFour")])}},{key:"setColor",value:function(e){return this.set("color",e)}},{key:"setColors",value:function(e){if(!Array.isArray(e))return new I(function(e,t){return t(TypeError("Argument must be an array."))});var t=new I(function(e){return e(null)}),n=[e[0]?this.set("colorOne",e[0]):t,e[1]?this.set("colorTwo",e[1]):t,e[2]?this.set("colorThree",e[2]):t,e[3]?this.set("colorFour",e[3]):t];return I.all(n)}},{key:"getCuePoints",value:function(){return this.get("cuePoints")}},{key:"getCurrentTime",value:function(){return this.get("currentTime")}},{key:"setCurrentTime",value:function(e){return this.set("currentTime",e)}
1},{key:"getDuration",value:function(){return this.get("duration")}},{key:"getEnded",value:function(){return this.get("ended")}},{key:"getLoop",value:function(){return this.get("loop")}},{key:"setLoop",value:function(e){return this.set("loop",e)}},{key:"setMuted",value:function(e){return this.set("muted",e)}},{key:"getMuted",value:function(){return this.get("muted")}},{key:"getPaused",value:function(){return this.get("paused")}},{key:"getPlaybackRate",value:function(){return this.get("playbackRate")}},{key:"setPlaybackRate",value:function(e){return this.set("playbackRate",e)}},{key:"getPlayed",value:function(){return this.get("played")}},{key:"getQualities",value:function(){return this.get("qualities")}},{key:"getQuality",value:function(){return this.get("quality")}},{key:"setQuality",value:function(e){return this.set("quality",e)}},{key:"getRemotePlaybackAvailability",value:function(){return this.get("remotePlaybackAvailability")}},{key:"getRemotePlaybackState",value:function(){return this.get("remotePlaybackState")}},{key:"getSeekable",value:function(){return this.get("seekable")}},{key:"getSeeking",value:function(){return this.get("seeking")}},{key:"getTextTracks",value:function(){return this.get("textTracks")}},{key:"getVideoEmbedCode",value:function(){return this.get("videoEmbedCode")}},{key:"getVideoId",value:function(){return this.get("videoId")}},{key:"getVideoTitle",value:function(){return this.get("videoTitle")}},{key:"getVideoWidth",value:function(){return this.get("videoWidth")}},{key:"getVideoHeight",value:function(){return this.get("videoHeight")}},{key:"getVideoUrl",value:function(){return this.get("videoUrl")}},{key:"getVolume",value:function(){return this.get("volume")}},{key:"setVolume",value:function(e){return this.set("volume",e)}},{key:"setTimingSrc",value:(e=l(a().mark(function e(t,n){var r,o=this;return a().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}throw TypeError("A Timing Object must be provided.");case 2:return e.next=4,this.ready();case 4:return r=new B(this,t,n),F(this,"notifyTimingObjectConnect"),r.addEventListener("disconnect",function(){return F(o,"notifyTimingObjectDisconnect")}),e.abrupt("return",r);case 8:case"end":return e.stop()}},e,this)})),function(t,n){return e.apply(this,arguments)})}],[{key:"isVimeoUrl",value:function(e){return C(e)}}]),t}();function Q(e,t){return(Q=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}E||(Z=function(){var e=function(){for(var e,t=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],n=0,r=t.length,o={};n<r;n++)if((e=t[n])&&e[1]in document){for(n=0;n<e.length;n++)o[t[0][n]]=e[n];return o}return!1}(),t={fullscreenchange:e.fullscreenchange,fullscreenerror:e.fullscreenerror},n={request:function(t){return new Promise(function(r,o){var i=function e(){n.off("fullscreenchange",e),r()};n.on("fullscreenchange",i);var a=(t=t||document.documentElement)[e.requestFullscreen]();a instanceof Promise&&a.then(i).catch(o)})},exit:function(){return new Promise(function(t,r){if(!n.isFullscreen)return void t();var o=function e(){n.off("fullscreenchange",e),t()};n.on("fullscreenchange",o);var i=document[e.exitFullscreen]();i instanceof Promise&&i.then(o).catch(r)})},on:function(e,n){var r=t[e];r&&document.addEventListener(r,n)},off:function(e,n){var r=t[e];r&&document.removeEventListener(r,n)}};return Object.defineProperties(n,{isFullscreen:{get:function(){return!!document[e.fullscreenElement]}},element:{enumerable:!0,get:function(){return document[e.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return!!document[e.fullscreenEnabled]}}}),n}(),!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=[].slice.call(e.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),n=function(e){"console"in window&&console.error&&console.error("There was an error creating an embed: ".concat(e))};t.forEach(function(e){try{if(null!==e.getAttribute("data-vimeo-defer"))return;var t=Y(e),r=O(t);q(r,t,e).then(function(t){return X(t,e)}).catch(n)}catch(e){n(e)}})}(),!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;window.VimeoPlayerResizeEmbeds_||(window.VimeoPlayerResizeEmbeds_=!0,window.addEventListener("message",function(t){if(C(t.origin)&&t.data&&"spacechange"===t.data.event){var n=t.source?R(t.source,e):null;n&&(n.parentElement.style.paddingBottom="".concat(t.data.data[0].bottom,"px"))}}))}(),!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;window.VimeoSeoMetadataAppended||(window.VimeoSeoMetadataAppended=!0,window.addEventListener("message",function(t){if(C(t.origin)){var n=H(t.data);if(n&&"ready"===n.event){var r=t.source?R(t.source,e):null;r&&T(r.src)&&new $(r).callMethod("appendVideoMetadata",window.location.href)}}}))}(),!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;if(!window.VimeoCheckedUrlTimeParam){window.VimeoCheckedUrlTimeParam
1=!0;var t=function(e){"console"in window&&console.error&&console.error("There was an error getting video Id: ".concat(e))};window.addEventListener("message",function(n){if(C(n.origin)){var r=H(n.data);if(r&&"ready"===r.event){var o=n.source?R(n.source,e):null;if(o&&T(o.src)){var i=new $(o);i.getVideoId().then(function(e){var t=new RegExp("[?&]vimeo_t_".concat(e,"=([^&#]*)")).exec(window.location.href);if(t&&t[1]){var n=decodeURI(t[1]);i.setCurrentTime(n)}}).catch(t)}}}})}}(),window.VimeoDRMEmbedsUpdated)||(window.VimeoDRMEmbedsUpdated=!0,window.addEventListener("message",function(e){if(C(e.origin)){var t=H(e.data);if(t&&"drminitfailed"===t.event){var n=e.source?R(e.source):null;if(n){var r=n.getAttribute("allow")||"";if(!r.includes("encrypted-media")){n.setAttribute("allow","".concat(r,"; encrypted-media"));var o=new URL(n.getAttribute("src"));o.searchParams.set("forcereload","drm"),n.setAttribute("src",o.toString());return}}}}}));var J={play:"onPlay",playing:"onPlaying",pause:"onPause",ended:"onEnd",timeupdate:"onTimeUpdate",progress:"onProgress",seeked:"onSeeked",texttrackchange:"onTextTrackChange",cuechange:"onCueChange",cuepoint:"onCuePoint",volumechange:"onVolumeChange",playbackratechange:"onPlaybackRateChange",error:"onError",loaded:"onLoaded"},K=function(e){function t(t){var n;return(n=e.call(this,t)||this).refContainer=n.refContainer.bind(n),n}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Q(t,e);var n=t.prototype;return n.componentDidMount=function(){this.createPlayer()},n.componentDidUpdate=function(e){var t=this,n=Object.keys(this.props).filter(function(n){return t.props[n]!==e[n]});this.updateProps(n)},n.componentWillUnmount=function(){this.player.destroy()},n.getInitialOptions=function(){var e,t=this.props.video,n=/^https?:/i.test(t)?"url":"id";return(e={})[n]=t,e.width=this.props.width,e.height=this.props.height,e.autopause=this.props.autopause,e.autoplay=this.props.autoplay,e.byline=this.props.showByline,e.color=this.props.color,e.controls=this.props.controls,e.loop=this.props.loop,e.portrait=this.props.showPortrait,e.title=this.props.showTitle,e.muted=this.props.muted,e.background=this.props.background,e.responsive=this.props.responsive,e.dnt=this.props.dnt,e.speed=this.props.speed,e.keyboard=this.props.keyboard,e.pip=this.props.pip,e.playsinline=this.props.playsInline,e.quality=this.props.quality,e.texttrack=this.props.textTrack,e.transparent=this.props.transparent,e},n.updateProps=function(e){var t=this,n=this.player;e.forEach(function(e){var r=t.props[e];switch(e){case"autopause":n.setAutopause(r);break;case"color":n.setColor(r);break;case"loop":n.setLoop(r);break;case"volume":n.setVolume(r);break;case"paused":n.getPaused().then(function(e){return r&&!e?n.pause():!r&&e?n.play():null});break;case"width":case"height":n.element[e]=r;break;case"video":if(r){var o=t.props.start,i=n.loadVideo(r);"number"==typeof o&&i.then(function(){n.setCurrentTime(o)})}else n.unload();break;case"playbackRate":n.setPlaybackRate(r);break;case"quality":n.setQuality(r)}})},n.createPlayer=function(){var e=this,t=this.props,n=t.start,r=t.volume,o=t.playbackRate;this.player=new $(this.container,this.getInitialOptions()),Object.keys(J).forEach(function(t){var n=J[t];e.player.on(t,function(t){var r=e.props[n];r&&r(t)})});var i=this.props,a=i.onError,s=i.onReady;this.player.ready().then(function(){s&&s(e.player)},function(e){if(a)a(e);else throw e}),"number"==typeof n&&this.player.setCurrentTime(n),"number"==typeof r&&this.updateProps(["volume"]),"number"==typeof o&&this.updateProps(["playbackRate"])},n.refContainer=function(e){this.container=e},n.render=function(){var e=this.props,t=e.id,n=e.className,o=e.style;return r.createElement("div",{id:t,className:n,style:o,ref:this.refContainer})},t}(r.Component);K.defaultProps={autopause:!0,autoplay:!1,showByline:!0,controls:!0,loop:!1,showPortrait:!0,showTitle:!0,muted:!1,background:!1,responsive:!1,dnt:!1,speed:!1,keyboard:!0,pip:!1,playsInline:!0,transparent:!0}},9725:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];var t=e.match(a),n=t?t[1]:void 0;return(0,i.formatDOM)((0,o.default)(e),null,n)};var o=r(n(42414)),i=n(41873),a=/<(![a-zA-Z\s]+)>/},11538:(e,t,n)=>{"use strict";n.d(t,{A:()=>eS});var r=n(12115),o=n(88945),i=n(93322),a=n(76604),s=n(29460),l=n(61183),c=n(15801),u=n(21467),d=n(50924),p=n(5322),f=n(33861),h=n(42628);let m={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0};var v=n(85203),g=n.n(v);let y={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return r.createElement("ul",{style:{display:"block"}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(e){return r.createElement("button",null,e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0,asNavFor:null};function b(e,t,n){return Math.max(t,Math.min(e,n))}var w=function(e){["onTouchStart","onTouchMove","onWheel"].includes(e._reactName)||e.preventDefault()},k=function(e){for(var t=[],n=S(e),r=x(e),o=n;o<r;o++)0>e.lazyLoadedList.indexOf(o)&&t.push(o);return t},S=function(e){return e.currentSlide-E(e)},x=function(e){return e.currentSlide+A(e)},E=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+ +(parseInt(e.centerPadding)>0):0},A=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+ +(parseInt(e.centerPadding)>0):e.slidesToShow},C=function(e){return e&&e.offsetWidth||0},T=function(e){return e&&e.offsetHeight||0},O=function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t=e.startX-e.curX,(n=Math.round(180*Math.atan2(e.startY-e.curY,t)/Math.PI))<0&&(n=360-Math.abs(n)),n<=45&&n>=0||n<=360&&n>=315)return"left";if(n>=135&&n<=225)return"right";if(!0===r)if(n>=35&&n<=135)return"up";else return"down";return"vertical"},P=function(e){var t=!0;return!e.infinite&&(e.centerMode&&e.currentSlide>=e.slideCount-1?t=!1:(e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1)),t},R=function(e,t){var n={};return t.forEach(function(t){return n[t]=e[t]}),n},M=function(e){var t,n=r.Children.count(e.children),o=e.listRef,a=Math.ceil(C(o)),s=Math.ceil(C(e.trackRef&&e.trackRef.node));if(e.vertical)t=a;else{var l=e.centerMode&&2*parseInt(e.centerPadding);"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(l*=a/100),t=Math.ceil((a-l)/e.slidesToShow)}var c=o&&T(o.querySelector('[data-index="0"]')),u=c*e.slidesToShow,d=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(d=n-1-e.initialSlide);var p=e.lazyLoadedList||[],f=k((0,i.A)((0,i.A)({},e),{},{currentSlide:d,lazyLoadedList:p})),h={slideCount:n,slideWidth:t,listWidth:a,trackWidth:s,currentSlide:d,slideHeight:c,listHeight:u,lazyLoadedList:p=p.concat(f)};return null===e.autoplaying&&e.autoplay&&(h.autoplaying="playing"),h},_=function(e){var t=e.waitForAnimate,n=e.animating,r=e.fade,o=e.infinite,a=e.index,s=e.slideCount,l=e.lazyLoad,c=e.currentSlide,u=e.centerMode,d=e.slidesToScroll,p=e.slidesToShow,f=e.useCSS,h=e.lazyLoadedList;if(t&&n)return{};var m,v,g,y=a,w={},S={},x=o?a:b(a,0,s-1);if(r){if(!o&&(a<0||a>=s))return{};a<0?y=a+s:a>=s&&(y=a-s),l&&0>h.indexOf(y)&&(h=h.concat(y)),w={animating:!0,currentSlide:y,lazyLoadedList:h,targetSlide:y},S={animating:!1,targetSlide:y}}else m=y,y<0?(m=y+s,o?s%d!=0&&(m=s-s%d):m=0):!P(e)&&y>c?y=m=c:u&&y>=s?(y=o?s:s-1,m=o?0:s-1):y>
1=s&&(m=y-s,o?s%d!=0&&(m=0):m=s-p),!o&&y+p>=s&&(m=s-p),v=Y((0,i.A)((0,i.A)({},e),{},{slideIndex:y})),g=Y((0,i.A)((0,i.A)({},e),{},{slideIndex:m})),o||(v===g&&(y=m),v=g),l&&(h=h.concat(k((0,i.A)((0,i.A)({},e),{},{currentSlide:y})))),f?(w={animating:!0,currentSlide:m,trackStyle:W((0,i.A)((0,i.A)({},e),{},{left:v})),lazyLoadedList:h,targetSlide:x},S={animating:!1,currentSlide:m,trackStyle:F((0,i.A)((0,i.A)({},e),{},{left:g})),swipeLeft:null,targetSlide:x}):w={currentSlide:m,trackStyle:F((0,i.A)((0,i.A)({},e),{},{left:g})),lazyLoadedList:h,targetSlide:x};return{state:w,nextState:S}},L=function(e,t){var n,r,o,a,s=e.slidesToScroll,l=e.slidesToShow,c=e.slideCount,u=e.currentSlide,d=e.targetSlide,p=e.lazyLoad,f=e.infinite;if(n=c%s!=0?0:(c-u)%s,"previous"===t.message)a=u-(o=0===n?s:l-n),p&&!f&&(a=-1==(r=u-o)?c-1:r),f||(a=d-s);else if("next"===t.message)a=u+(o=0===n?s:n),p&&!f&&(a=(u+s)%c+n),f||(a=d+s);else if("dots"===t.message)a=t.index*t.slidesToScroll;else if("children"===t.message){if(a=t.index,f){var h=B((0,i.A)((0,i.A)({},e),{},{targetSlide:a}));a>t.currentSlide&&"left"===h?a-=c:a<t.currentSlide&&"right"===h&&(a+=c)}}else"index"===t.message&&(a=Number(t.index));return a},I=function(e,t){var n=t.scrolling,r=t.animating,o=t.vertical,a=t.swipeToSlide,s=t.verticalSwiping,l=t.rtl,c=t.currentSlide,u=t.edgeFriction,d=t.edgeDragged,p=t.onEdge,f=t.swiped,h=t.swiping,m=t.slideCount,v=t.slidesToScroll,g=t.infinite,y=t.touchObject,b=t.swipeEvent,k=t.listHeight,S=t.listWidth;if(!n){if(r)return w(e);o&&a&&s&&w(e);var x,E={},A=Y(t);y.curX=e.touches?e.touches[0].pageX:e.clientX,y.curY=e.touches?e.touches[0].pageY:e.clientY,y.swipeLength=Math.round(Math.sqrt(Math.pow(y.curX-y.startX,2)));var C=Math.round(Math.sqrt(Math.pow(y.curY-y.startY,2)));if(!s&&!h&&C>10)return{scrolling:!0};s&&(y.swipeLength=C);var T=(l?-1:1)*(y.curX>y.startX?1:-1);s&&(T=y.curY>y.startY?1:-1);var R=Math.ceil(m/v),M=O(t.touchObject,s),_=y.swipeLength;return!g&&(0===c&&("right"===M||"down"===M)||c+1>=R&&("left"===M||"up"===M)||!P(t)&&("left"===M||"up"===M))&&(_=y.swipeLength*u,!1===d&&p&&(p(M),E.edgeDragged=!0)),!f&&b&&(b(M),E.swiped=!0),x=o?A+k/S*_*T:l?A-_*T:A+_*T,s&&(x=A+_*T),E=(0,i.A)((0,i.A)({},E),{},{touchObject:y,swipeLeft:x,trackStyle:F((0,i.A)((0,i.A)({},t),{},{left:x}))}),Math.abs(y.curX-y.startX)<.8*Math.abs(y.curY-y.startY)||y.swipeLength>10&&(E.swiping=!0,w(e)),E}},N=function(e,t){var n=t.dragging,r=t.swipe,o=t.touchObject,a=t.listWidth,s=t.touchThreshold,l=t.verticalSwiping,c=t.listHeight,u=t.swipeToSlide,d=t.scrolling,p=t.onSwipe,f=t.targetSlide,h=t.currentSlide,m=t.infinite;if(!n)return r&&w(e),{};var v=l?c/s:a/s,g=O(o,l),y={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(d||!o.swipeLength)return y;if(o.swipeLength>v){w(e),p&&p(g);var b,k,S=m?h:f;switch(g){case"left":case"up":k=S+D(t),b=u?z(t,k):k,y.currentDirection=0;break;case"right":case"down":k=S-D(t),b=u?z(t,k):k,y.currentDirection=1;break;default:b=S}y.triggerSlideHandler=b}else{var x=Y(t);y.trackStyle=W((0,i.A)((0,i.A)({},t),{},{left:x}))}return y},j=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,n=e.infinite?-1*e.slidesToShow:0,r=e.infinite?-1*e.slidesToShow:0,o=[];n<t;)o.push(n),n=r+e.slidesToScroll,r+=Math.min(e.slidesToScroll,e.slidesToShow);return o},z=function(e,t){var n=j(e),r=0;if(t>n[n.length-1])t=n[n.length-1];else for(var o in n){if(t<n[o]){t=r;break}r=n[o]}return t},D=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(!e.swipeToSlide)return e.slidesToScroll;var n,r=e.listRef;if(Array.from(r.querySelectorAll&&r.querySelectorAll(".slick-slide")||[]).every(function(r){if(e.vertical){if(r.offsetTop+T(r)/2>-1*e.swipeLeft)return n=r,!1}else if(r.offsetLeft-t+C(r)/2>-1*e.swipeLeft)return n=r,!1;return!0}),!n)return 0;var o=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(n.dataset.index-o)||1},H=function(e,t){return t.reduce(function(t,n){return t&&e.hasOwnProperty(n)},!0)?null:console.error("Keys Missing:",e)},F=function(e){if(H(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]),e.vertical){var t,n;n=(e.unslick?e.slideCount:e.slideCount+2*e.slidesToShow)*e.slideHeight}else t=V(e)*e.slideWidth;var r={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var o=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",a=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",s=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";r=(0,i.A)((0,i.A)({},r),{},{WebkitTransform:o,transform:a,msTransform:s})}else e.vertical?r.top=e.left:r.left=e.left;return e.fade&&(r={opacity:1}),t&&(r.width=t),n&&(r.height=n),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?r.marginTop=e.left+"px":r.marginLeft=e.left+"px"),r},W=function(e){H(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=F(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t},Y=function(e){if(e.unslick)return 0;H(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t=e.slideIndex,n=e.trackRef,r=e.infinite,o=e.centerMode,i=e.slideCount,a=e.slidesToShow,s=e.slidesToScroll,l=e.slideWidth,c=e.listWidth,u=e.variableWidth,d=e.slideHeight,p=e.fade,f=e.vertical,h=0,m=0;if(p||1===e.slideCount)return 0;var v=0;if(r?(v=-X(e),i%s!=0&&t+s>i&&(v=-(t>
1i?a-(t-i):i%s)),o&&(v+=parseInt(a/2))):(i%s!=0&&t+s>i&&(v=a-i%s),o&&(v=parseInt(a/2))),h=v*l,m=v*d,g=f?-(t*d*1)+m:-(t*l*1)+h,!0===u){var g,y,b,w=n&&n.node;if(b=t+X(e),g=(y=w&&w.childNodes[b])?-1*y.offsetLeft:0,!0===o){b=r?t+X(e):t,y=w&&w.children[b],g=0;for(var k=0;k<b;k++)g-=w&&w.children[k]&&w.children[k].offsetWidth;g-=parseInt(e.centerPadding),g+=y&&(c-y.offsetWidth)/2}}return g},X=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+ +!!e.centerMode},q=function(e){return e.unslick||!e.infinite?0:e.slideCount},V=function(e){return 1===e.slideCount?1:X(e)+e.slideCount+q(e)},B=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+U(e)?"left":"right":e.targetSlide<e.currentSlide-G(e)?"right":"left"},U=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,o=e.centerPadding;if(n){var i=(t-1)/2+1;return parseInt(o)>0&&(i+=1),r&&t%2==0&&(i+=1),i}return r?0:t-1},G=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,o=e.centerPadding;if(n){var i=(t-1)/2+1;return parseInt(o)>0&&(i+=1),r||t%2!=0||(i+=1),i}return r?t-1:0},Z=function(){return!!("undefined"!=typeof window&&window.document&&window.document.createElement)},$=Object.keys(y),Q=function(e){var t,n,r,o,i;return r=(i=e.rtl?e.slideCount-1-e.index:e.index)<0||i>=e.slideCount,e.centerMode?(o=Math.floor(e.slidesToShow/2),n=(i-e.currentSlide)%e.slideCount==0,i>e.currentSlide-o-1&&i<=e.currentSlide+o&&(t=!0)):t=e.currentSlide<=i&&i<e.currentSlide+e.slidesToShow,{"slick-slide":!0,"slick-active":t,"slick-center":n,"slick-cloned":r,"slick-current":i===(e.targetSlide<0?e.targetSlide+e.slideCount:e.targetSlide>=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide)}},J=function(e){var t={};return(void 0===e.variableWidth||!1===e.variableWidth)&&(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical&&e.slideHeight?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=+(e.currentSlide===e.index),t.zIndex=e.currentSlide===e.index?999:998,e.useCSS&&(t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),t},K=function(e,t){return e.key+"-"+t},ee=function(e){var t,n=[],o=[],a=[],s=r.Children.count(e.children),l=S(e),c=x(e);return(r.Children.forEach(e.children,function(u,d){var p,f={message:"children",index:d,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};p=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(d)>=0?u:r.createElement("div",null);var h=J((0,i.A)((0,i.A)({},e),{},{index:d})),m=p.props.className||"",v=Q((0,i.A)((0,i.A)({},e),{},{index:d}));if(n.push(r.cloneElement(p,{key:"original"+K(p,d),"data-index":d,className:g()(v,m),tabIndex:"-1","aria-hidden":!v["slick-active"],style:(0,i.A)((0,i.A)({outline:"none"},p.props.style||{}),h),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(f)}})),e.infinite&&s>1&&!1===e.fade&&!e.unslick){var y=s-d;y<=X(e)&&((t=-y)>=l&&(p=u),v=Q((0,i.A)((0,i.A)({},e),{},{index:t})),o.push(r.cloneElement(p,{key:"precloned"+K(p,t),"data-index":t,tabIndex:"-1",className:g()(v,m),"aria-hidden":!v["slick-active"],style:(0,i.A)((0,i.A)({},p.props.style||{}),h),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(f)}}))),(t=s+d)<c&&(p=u),v=Q((0,i.A)((0,i.A)({},e),{},{index:t})),a.push(r.cloneElement(p,{key:"postcloned"+K(p,t),"data-index":t,tabIndex:"-1",className:g()(v,m),"aria-hidden":!v["slick-active"],style:(0,i.A)((0,i.A)({},p.props.style||{}),h),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(f)}}))}}),e.rtl)?o.concat(n,a).reverse():o.concat(n,a)},et=function(e){function t(){(0,a.A)(this,t);for(var e,n,r,o=arguments.length,i=Array(o),s=0;s<o;s++)i[s]=arguments[s];return n=t,r=[].concat(i),n=(0,u.A)(n),e=(0,l.A)(this,(0,c.A)()?Reflect.construct(n,r||[],(0,u.A)(this).constructor):n.apply(this,r)),(0,p.A)(e,"node",null),(0,p.A)(e,"handleRef",function(t){e.node=t}),e}return(0,d.A)(t,e),(0,s.A)(t,[{key:"render",value:function(){var e=ee(this.props),t=this.props,n=t.onMouseEnter,i=t.onMouseOver,a=t.onMouseLeave;return r.createElement("div",(0,o.A)({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},{onMouseEnter:n,onMouseOver:i,onMouseLeave:a}),e)}}])}(r.PureComponent),en=function(e){return e.infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1},er=function(e){function t(){var e,n;return(0,a.A)(this,t),e=t,n=arguments,e=(0,u.A)(e),(0,l.A)(this,(0,c.A)()?Reflect.construct(e,n||[],(0,u.A)(this).constructor):e.apply(this,n))}return(0,d.A)(t,e),(0,s.A)(t,[{key:"clickHandler",value:function(e,t){t.preventDefault(),this.props.clickHandler(e)}},{key:"render",value:function(){for(var e=this.props,t=e.onMouseEnter,n=e.onMouseOver,o=e.onMouseLeave,a=e.infinite,s=e.slidesToScroll,l=e.slidesToShow,c=e.slideCount,u=e.currentSlide,d=en({slideCount:c,slidesToScroll:s,slidesToShow:l,infinite:a}),p=[],f=0;f<d;
1f++){var h=(f+1)*s-1,m=a?h:b(h,0,c-1),v=m-(s-1),y=a?v:b(v,0,c-1),w=g()({"slick-active":a?u>=y&&u<=m:u===y}),k={message:"dots",index:f,slidesToScroll:s,currentSlide:u},S=this.clickHandler.bind(this,k);p=p.concat(r.createElement("li",{key:f,className:w},r.cloneElement(this.props.customPaging(f),{onClick:S})))}return r.cloneElement(this.props.appendDots(p),(0,i.A)({className:this.props.dotsClass},{onMouseEnter:t,onMouseOver:n,onMouseLeave:o}))}}])}(r.PureComponent);function eo(e,t,n){return t=(0,u.A)(t),(0,l.A)(e,(0,c.A)()?Reflect.construct(t,n||[],(0,u.A)(e).constructor):t.apply(e,n))}var ei=function(e){function t(){return(0,a.A)(this,t),eo(this,t,arguments)}return(0,d.A)(t,e),(0,s.A)(t,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,t=null);var n={key:"0","data-role":"none",className:g()(e),style:{display:"block"},onClick:t},a={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?r.cloneElement(this.props.prevArrow,(0,i.A)((0,i.A)({},n),a)):r.createElement("button",(0,o.A)({key:"0",type:"button"},n)," ","Previous")}}])}(r.PureComponent),ea=function(e){function t(){return(0,a.A)(this,t),eo(this,t,arguments)}return(0,d.A)(t,e),(0,s.A)(t,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:"next"});P(this.props)||(e["slick-disabled"]=!0,t=null);var n={key:"1","data-role":"none",className:g()(e),style:{display:"block"},onClick:t},a={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?r.cloneElement(this.props.nextArrow,(0,i.A)((0,i.A)({},n),a)):r.createElement("button",(0,o.A)({key:"1",type:"button"},n)," ","Next")}}])}(r.PureComponent),es=n(76659),el=["animating"],ec=function(e){function t(e){(0,a.A)(this,t),n=t,s=[e],n=(0,u.A)(n),d=(0,l.A)(this,(0,c.A)()?Reflect.construct(n,s||[],(0,u.A)(this).constructor):n.apply(this,s)),(0,p.A)(d,"listRefHandler",function(e){return d.list=e}),(0,p.A)(d,"trackRefHandler",function(e){return d.track=e}),(0,p.A)(d,"adaptHeight",function(){if(d.props.adaptiveHeight&&d.list){var e=d.list.querySelector('[data-index="'.concat(d.state.currentSlide,'"]'));d.list.style.height=T(e)+"px"}}),(0,p.A)(d,"componentDidMount",function(){if(d.props.onInit&&d.props.onInit(),d.props.lazyLoad){var e=k((0,i.A)((0,i.A)({},d.props),d.state));e.length>0&&(d.setState(function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}}),d.props.onLazyLoad&&d.props.onLazyLoad(e))}var t=(0,i.A)({listRef:d.list,trackRef:d.track},d.props);d.updateState(t,!0,function(){d.adaptHeight(),d.props.autoplay&&d.autoPlay("playing")}),"progressive"===d.props.lazyLoad&&(d.lazyLoadTimer=setInterval(d.progressiveLazyLoad,1e3)),d.ro=new es.A(function(){d.state.animating?(d.onWindowResized(!1),d.callbackTimers.push(setTimeout(function(){return d.onWindowResized()},d.props.speed))):d.onWindowResized()}),d.ro.observe(d.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(e){e.onfocus=d.props.pauseOnFocus?d.onSlideFocus:null,e.onblur=d.props.pauseOnFocus?d.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",d.onWindowResized):window.attachEvent("onresize",d.onWindowResized)}),(0,p.A)(d,"componentWillUnmount",function(){d.animationEndCallback&&clearTimeout(d.animationEndCallback),d.lazyLoadTimer&&clearInterval(d.lazyLoadTimer),d.callbackTimers.length&&(d.callbackTimers.forEach(function(e){return clearTimeout(e)}),d.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",d.onWindowResized):window.detachEvent("onresize",d.onWindowResized),d.autoplayTimer&&clearInterval(d.autoplayTimer),d.ro.disconnect()}),(0,p.A)(d,"componentDidUpdate",function(e){if(d.checkImagesLoad(),d.props.onReInit&&d.props.onReInit(),d.props.lazyLoad){var t=k((0,i.A)((0,i.A)({},d.props),d.state));t.length>0&&(d.setState(function(e){return{lazyLoadedList:e.lazyLoadedList.concat(t)}}),d.props.onLazyLoad&&d.props.onLazyLoad(t))}d.adaptHeight();var n=(0,i.A)((0,i.A)({listRef:d.list,trackRef:d.track}
1,d.props),d.state),o=d.didPropsChange(e);o&&d.updateState(n,o,function(){d.state.currentSlide>=r.Children.count(d.props.children)&&d.changeSlide({message:"index",index:r.Children.count(d.props.children)-d.props.slidesToShow,currentSlide:d.state.currentSlide}),(e.autoplay!==d.props.autoplay||e.autoplaySpeed!==d.props.autoplaySpeed)&&(!e.autoplay&&d.props.autoplay?d.autoPlay("playing"):d.props.autoplay?d.autoPlay("update"):d.pause("paused"))})}),(0,p.A)(d,"onWindowResized",function(e){d.debouncedResize&&d.debouncedResize.cancel(),d.debouncedResize=function(e,t,n){var r,o=n||{},i=o.noTrailing,a=void 0!==i&&i,s=o.noLeading,l=void 0!==s&&s,c=o.debounceMode,u=void 0===c?void 0:c,d=!1,p=0;function f(){r&&clearTimeout(r)}function h(){for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];var s=this,c=Date.now()-p;function h(){p=Date.now(),t.apply(s,o)}function m(){r=void 0}!d&&(l||!u||r||h(),f(),void 0===u&&c>e?l?(p=Date.now(),a||(r=setTimeout(u?m:h,e))):h():!0!==a&&(r=setTimeout(u?m:h,void 0===u?e-c:e)))}return h.cancel=function(e){var t=(e||{}).upcomingOnly;f(),d=!(void 0!==t&&t)},h}(50,function(){return d.resizeWindow(e)},{debounceMode:false}),d.debouncedResize()}),(0,p.A)(d,"resizeWindow",function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];if(d.track&&d.track.node){var t=(0,i.A)((0,i.A)({listRef:d.list,trackRef:d.track},d.props),d.state);d.updateState(t,e,function(){d.props.autoplay?d.autoPlay("update"):d.pause("paused")}),d.setState({animating:!1}),clearTimeout(d.animationEndCallback),delete d.animationEndCallback}}),(0,p.A)(d,"updateState",function(e,t,n){var o=M(e),a=Y(e=(0,i.A)((0,i.A)((0,i.A)({},e),o),{},{slideIndex:o.currentSlide})),s=F(e=(0,i.A)((0,i.A)({},e),{},{left:a}));(t||r.Children.count(d.props.children)!==r.Children.count(e.children))&&(o.trackStyle=s),d.setState(o,n)}),(0,p.A)(d,"ssrInit",function(){if(d.props.variableWidth){var e=0,t=0,n=[],o=X((0,i.A)((0,i.A)((0,i.A)({},d.props),d.state),{},{slideCount:d.props.children.length})),a=q((0,i.A)((0,i.A)((0,i.A)({},d.props),d.state),{},{slideCount:d.props.children.length}));d.props.children.forEach(function(t){n.push(t.props.style.width),e+=t.props.style.width});for(var s=0;s<o;s++)t+=n[n.length-1-s],e+=n[n.length-1-s];for(var l=0;l<a;l++)e+=n[l];for(var c=0;c<d.state.currentSlide;c++)t+=n[c];var u={width:e+"px",left:-t+"px"};if(d.props.centerMode){var p="".concat(n[d.state.currentSlide],"px");u.left="calc(".concat(u.left," + (100% - ").concat(p,") / 2 ) ")}return{trackStyle:u}}var f=r.Children.count(d.props.children),h=(0,i.A)((0,i.A)((0,i.A)({},d.props),d.state),{},{slideCount:f}),m=X(h)+q(h)+f,v=100/d.props.slidesToShow*m,g=100/m,y=-g*(X(h)+d.state.currentSlide)*v/100;return d.props.centerMode&&(y+=(100-g*v/100)/2),{slideWidth:g+"%",trackStyle:{width:v+"%",left:y+"%"}}}),(0,p.A)(d,"checkImagesLoad",function(){var e=d.list&&d.list.querySelectorAll&&d.list.querySelectorAll(".slick-slide img")||[],t=e.length,n=0;Array.prototype.forEach.call(e,function(e){var r=function(){return++n&&n>=t&&d.onWindowResized()};if(e.onclick){var o=e.onclick;e.onclick=function(t){o(t),e.parentNode.focus()}}else e.onclick=function(){return e.parentNode.focus()};e.onload||(d.props.lazyLoad?e.onload=function(){d.adaptHeight(),d.callbackTimers.push(setTimeout(d.onWindowResized,d.props.speed))}:(e.onload=r,e.onerror=function(){r(),d.props.onLazyLoadError&&d.props.onLazyLoadError()}))})}),(0,p.A)(d,"progressiveLazyLoad",function(){for(var e=[],t=(0,i.A)((0,i.A)({},d.props),d.state),n=d.state.currentSlide;n<d.state.slideCount+q(t);n++)if(0>d.state.lazyLoadedList.indexOf(n)){e.push(n);break}for(var r=d.state.currentSlide-1;r>=-X(t);r--)if(0>d.state.lazyLoadedList.indexOf(r)){e.push(r);break}e.length>0?(d.setState(function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}}),d.props.onLazyLoad&&d.props.onLazyLoad(e)):d.lazyLoadTimer&&(clearInterval(d.lazyLoadTimer),delete d.lazyLoadTimer)}),(0,p.A)(d,"slideHandler",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=d.props,r=n.asNavFor,o=n.beforeChange,a=n.onLazyLoad,s=n.speed,l=n.afterChange,c=d.state.currentSlide,u=_((0,i.A)((0,i.A)((0,i.A)({index:e},d.props),d.state),{},{trackRef:d.track,useCSS:d.props.useCSS&&!t})),p=u.state,f=u.nextState;if(p){o&&o(c,p.currentSlide);var m=p.lazyLoadedList.filter(function(e){return 0>d.state.lazyLoadedList.indexOf(e)});a&&m.length>
10&&a(m),!d.props.waitForAnimate&&d.animationEndCallback&&(clearTimeout(d.animationEndCallback),l&&l(c),delete d.animationEndCallback),d.setState(p,function(){r&&d.asNavForIndex!==e&&(d.asNavForIndex=e,r.innerSlider.slideHandler(e)),f&&(d.animationEndCallback=setTimeout(function(){var e=f.animating,t=(0,h.A)(f,el);d.setState(t,function(){d.callbackTimers.push(setTimeout(function(){return d.setState({animating:e})},10)),l&&l(p.currentSlide),delete d.animationEndCallback})},s))})}}),(0,p.A)(d,"changeSlide",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=L((0,i.A)((0,i.A)({},d.props),d.state),e);if((0===n||n)&&(!0===t?d.slideHandler(n,t):d.slideHandler(n),d.props.autoplay&&d.autoPlay("update"),d.props.focusOnSelect)){var r=d.list.querySelectorAll(".slick-current");r[0]&&r[0].focus()}}),(0,p.A)(d,"clickHandler",function(e){!1===d.clickable&&(e.stopPropagation(),e.preventDefault()),d.clickable=!0}),(0,p.A)(d,"keyHandler",function(e){var t,n,r=(t=d.props.accessibility,n=d.props.rtl,e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":37===e.keyCode?n?"next":"previous":39===e.keyCode?n?"previous":"next":"");""!==r&&d.changeSlide({message:r})}),(0,p.A)(d,"selectHandler",function(e){d.changeSlide(e)}),(0,p.A)(d,"disableBodyScroll",function(){window.ontouchmove=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}}),(0,p.A)(d,"enableBodyScroll",function(){window.ontouchmove=null}),(0,p.A)(d,"swipeStart",function(e){d.props.verticalSwiping&&d.disableBodyScroll();var t,n,r=(t=d.props.swipe,n=d.props.draggable,("IMG"===e.target.tagName&&w(e),t&&(n||-1===e.type.indexOf("mouse")))?{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}:"");""!==r&&d.setState(r)}),(0,p.A)(d,"swipeMove",function(e){var t=I(e,(0,i.A)((0,i.A)((0,i.A)({},d.props),d.state),{},{trackRef:d.track,listRef:d.list,slideIndex:d.state.currentSlide}));t&&(t.swiping&&(d.clickable=!1),d.setState(t))}),(0,p.A)(d,"swipeEnd",function(e){var t=N(e,(0,i.A)((0,i.A)((0,i.A)({},d.props),d.state),{},{trackRef:d.track,listRef:d.list,slideIndex:d.state.currentSlide}));if(t){var n=t.triggerSlideHandler;delete t.triggerSlideHandler,d.setState(t),void 0!==n&&(d.slideHandler(n),d.props.verticalSwiping&&d.enableBodyScroll())}}),(0,p.A)(d,"touchEnd",function(e){d.swipeEnd(e),d.clickable=!0}),(0,p.A)(d,"slickPrev",function(){d.callbackTimers.push(setTimeout(function(){return d.changeSlide({message:"previous"})},0))}),(0,p.A)(d,"slickNext",function(){d.callbackTimers.push(setTimeout(function(){return d.changeSlide({message:"next"})},0))}),(0,p.A)(d,"slickGoTo",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(isNaN(e=Number(e)))return"";d.callbackTimers.push(setTimeout(function(){return d.changeSlide({message:"index",index:e,currentSlide:d.state.currentSlide},t)},0))}),(0,p.A)(d,"play",function(){var e;if(d.props.rtl)e=d.state.currentSlide-d.props.slidesToScroll;else{if(!P((0,i.A)((0,i.A)({},d.props),d.state)))return!1;e=d.state.currentSlide+d.props.slidesToScroll}d.slideHandler(e)}),(0,p.A)(d,"autoPlay",function(e){d.autoplayTimer&&clearInterval(d.autoplayTimer);var t=d.state.autoplaying;if("update"===e){if("hovered"===t||"focused"===t||"paused"===t)return}else if("leave"===e){if("paused"===t||"focused"===t)return}else if("blur"===e&&("paused"===t||"hovered"===t))return;d.autoplayTimer=setInterval(d.play,d.props.autoplaySpeed+50),d.setState({autoplaying:"playing"})}),(0,p.A)(d,"pause",function(e){d.autoplayTimer&&(clearInterval(d.autoplayTimer),d.autoplayTimer=null);var t=d.state.autoplaying;"paused"===e?d.setState({autoplaying:"paused"}):"focused"===e?("hovered"===t||"playing"===t)&&d.setState({autoplaying:"focused"}):"playing"===t&&d.setState({autoplaying:"hovered"})}),(0,p.A)(d,"onDotsOver",function(){return d.props.autoplay&&d.pause("hovered")}),(0,p.A)(d,"onDotsLeave",function(){return d.props.autoplay&&"hovered"===d.state.autoplaying&&d.autoPlay("leave")}),(0,p.A)(d,"onTrackOver",function(){return d.props.autoplay&&d.pause("hovered")}),(0,p.A)(d,"onTrackLeave",function(){return d.props.autoplay&&"hovered"===d.state.autoplaying&&d.autoPlay("leave")}),(0,p.A)(d,"onSlideFocus",function(){return d.props.autoplay&&d.pause("focused")}),(0,p.A)(d,"onSlideBlur",function(){return d.props.autoplay&&"focu
1sed"===d.state.autoplaying&&d.autoPlay("blur")}),(0,p.A)(d,"render",function(){var e,t,n,a=g()("slick-slider",d.props.className,{"slick-vertical":d.props.vertical,"slick-initialized":!0}),s=(0,i.A)((0,i.A)({},d.props),d.state),l=R(s,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),c=d.props.pauseOnHover;if(l=(0,i.A)((0,i.A)({},l),{},{onMouseEnter:c?d.onTrackOver:null,onMouseLeave:c?d.onTrackLeave:null,onMouseOver:c?d.onTrackOver:null,focusOnSelect:d.props.focusOnSelect&&d.clickable?d.selectHandler:null}),!0===d.props.dots&&d.state.slideCount>=d.props.slidesToShow){var u=R(s,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),p=d.props.pauseOnDotsHover;u=(0,i.A)((0,i.A)({},u),{},{clickHandler:d.changeSlide,onMouseEnter:p?d.onDotsLeave:null,onMouseOver:p?d.onDotsOver:null,onMouseLeave:p?d.onDotsLeave:null}),e=r.createElement(er,u)}var f=R(s,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);f.clickHandler=d.changeSlide,d.props.arrows&&(t=r.createElement(ei,f),n=r.createElement(ea,f));var h=null;d.props.vertical&&(h={height:d.state.listHeight});var m=null;!1===d.props.vertical?!0===d.props.centerMode&&(m={padding:"0px "+d.props.centerPadding}):!0===d.props.centerMode&&(m={padding:d.props.centerPadding+" 0px"});var v=(0,i.A)((0,i.A)({},h),m),y=d.props.touchMove,b={className:"slick-list",style:v,onClick:d.clickHandler,onMouseDown:y?d.swipeStart:null,onMouseMove:d.state.dragging&&y?d.swipeMove:null,onMouseUp:y?d.swipeEnd:null,onMouseLeave:d.state.dragging&&y?d.swipeEnd:null,onTouchStart:y?d.swipeStart:null,onTouchMove:d.state.dragging&&y?d.swipeMove:null,onTouchEnd:y?d.touchEnd:null,onTouchCancel:d.state.dragging&&y?d.swipeEnd:null,onKeyDown:d.props.accessibility?d.keyHandler:null},w={className:a,dir:"ltr",style:d.props.style};return d.props.unslick&&(b={className:"slick-list"},w={className:a,style:d.props.style}),r.createElement("div",w,d.props.unslick?"":t,r.createElement("div",(0,o.A)({ref:d.listRefHandler},b),r.createElement(et,(0,o.A)({ref:d.trackRefHandler},l),d.props.children)),d.props.unslick?"":n,d.props.unslick?"":e)}),d.list=null,d.track=null,d.state=(0,i.A)((0,i.A)({},m),{},{currentSlide:d.props.initialSlide,targetSlide:d.props.initialSlide?d.props.initialSlide:0,slideCount:r.Children.count(d.props.children)}),d.callbackTimers=[],d.clickable=!0,d.debouncedResize=null;var n,s,d,f=d.ssrInit();return d.state=(0,i.A)((0,i.A)({},d.state),f),d}return(0,d.A)(t,e),(0,s.A)(t,[{key:"didPropsChange",value:function(e){for(var t=!1,n=0,o=Object.keys(this.props);n<o.length;n++){var i=o[n];if(!e.hasOwnProperty(i)||!("object"===(0,f.A)(e[i])||"function"==typeof e[i]||isNaN(e[i]))&&e[i]!==this.props[i]){t=!0;break}}return t||r.Children.count(this.props.children)!==r.Children.count(e.children)}}])}(r.Component),eu=n(32517),ed=n.n(eu),ep=function(e){function t(e){var n,r,o;return(0,a.A)(this,t),r=t,o=[e],r=(0,u.A)(r),n=(0,l.A)(this,(0,c.A)()?Reflect.construct(r,o||[],(0,u.A)(this).constructor):r.apply(this,o)),(0,p.A)(n,"innerSliderRefHandler",function(e){return n.innerSlider=e}),(0,p.A)(n,"slickPrev",function(){return n.innerSlider.slickPrev()}),(0,p.A)(n,"slickNext",function(){return n.innerSlider.slickNext()}),(0,p.A)(n,"slickGoTo",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return n.innerSlider.slickGoTo(e,t)}),(0,p.A)(n,"slickPause",function(){return n.innerSlider.pause("paused")}),(0,p.A)(n,"slickPlay",function(){return n.innerSlider.autoPlay("play")}),n.state={breakpoint:null},n._responsiveMediaHandlers=[],n}return(0,d.A)(t,e),(0,s.A)(t,[{key:"media",value:function(e,t){var n=window.matchMedia(e),r=function(e){e.matches&&t()};n.addListener(r),r(n),this._responsiveMediaHandlers.push({mql:n,query:e,listener:r})}},{key:"componentDidMount",value:function(){var e=this;if(this.props.responsive){var t=this.props.responsive.map(function(e){return e.breakpoint});t.sort(function(e,t){return e-t}),t.forEach(function(n,r){var o;o=0===r?ed()({minWidth:0,maxWidth:n}):ed()({minWidth:t[r-1]+1,maxWidth:n}),Z()&&e.media(o,function(){e.setState({breakpoint:n})})});var n=ed()({minWidth:t.slice(-1)[0]});Z()&&this.media(n,function(){e.setState({breakpoint:null})})}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEac
1h(function(e){e.mql.removeListener(e.listener)})}},{key:"render",value:function(){var e,t,n=this;(e=this.state.breakpoint?"unslick"===(t=this.props.responsive.filter(function(e){return e.breakpoint===n.state.breakpoint}))[0].settings?"unslick":(0,i.A)((0,i.A)((0,i.A)({},y),this.props),t[0].settings):(0,i.A)((0,i.A)({},y),this.props)).centerMode&&(e.slidesToScroll,e.slidesToScroll=1),e.fade&&(e.slidesToShow,e.slidesToScroll,e.slidesToShow=1,e.slidesToScroll=1);var a=r.Children.toArray(this.props.children);a=a.filter(function(e){return"string"==typeof e?!!e.trim():!!e}),e.variableWidth&&(e.rows>1||e.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),e.variableWidth=!1);for(var s=[],l=null,c=0;c<a.length;c+=e.rows*e.slidesPerRow){for(var u=[],d=c;d<c+e.rows*e.slidesPerRow;d+=e.slidesPerRow){for(var p=[],f=d;f<d+e.slidesPerRow&&(e.variableWidth&&a[f].props.style&&(l=a[f].props.style.width),!(f>=a.length));f+=1)p.push(r.cloneElement(a[f],{key:100*c+10*d+f,tabIndex:-1,style:{width:"".concat(100/e.slidesPerRow,"%"),display:"inline-block"}}));u.push(r.createElement("div",{key:10*c+d},p))}e.variableWidth?s.push(r.createElement("div",{key:c,style:{width:l}},u)):s.push(r.createElement("div",{key:c},u))}if("unslick"===e){var h="regular slider "+(this.props.className||"");return r.createElement("div",{className:h},a)}return s.length<=e.slidesToShow&&!e.infinite&&(e.unslick=!0),r.createElement(ec,(0,o.A)({style:this.props.style,ref:this.innerSliderRefHandler},$.reduce(function(t,n){return e.hasOwnProperty(n)&&(t[n]=e[n]),t},{})),s)}}])}(r.Component),ef=n(1943),eh=n(60758),em=n(94821),ev=n(16780);let eg="--dot-duration",ey=(0,ev.OF)("Carousel",e=>[(e=>{let{componentCls:t,antCls:n}=e;return{[t]:Object.assign(Object.assign({},(0,em.dF)(e)),{".slick-slider":{position:"relative",display:"block",boxSizing:"border-box",touchAction:"pan-y",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",".slick-track, .slick-list":{transform:"translate3d(0, 0, 0)",touchAction:"pan-y"}},".slick-list":{position:"relative",display:"block",margin:0,padding:0,overflow:"hidden","&:focus":{outline:"none"},"&.dragging":{cursor:"pointer"},".slick-slide":{pointerEvents:"none",["input".concat(n,"-radio-input, input").concat(n,"-checkbox-input")]:{visibility:"hidden"},"&.slick-active":{pointerEvents:"auto",["input".concat(n,"-radio-input, input").concat(n,"-checkbox-input")]:{visibility:"visible"}},"> div > div":{verticalAlign:"bottom"}}},".slick-track":{position:"relative",top:0,insetInlineStart:0,display:"block","&::before, &::after":{display:"table",content:'""'},"&::after":{clear:"both"}},".slick-slide":{display:"none",float:"left",height:"100%",minHeight:1,img:{display:"block"},"&.dragging img":{pointerEvents:"none"}},".slick-initialized .slick-slide":{display:"block"},".slick-vertical .slick-slide":{display:"block",height:"auto"}})}})(e),(e=>{let{componentCls:t,motionDurationSlow:n,arrowSize:r,arrowOffset:o}=e,i=e.calc(r).div(Math.SQRT2).equal();return{[t]:{".slick-prev, .slick-next":{position:"absolute",top:"50%",width:r,height:r,transform:"translateY(-50%)",color:"#fff",opacity:.4,background:"transparent",padding:0,lineHeight:0,border:0,outline:"none",cursor:"pointer",zIndex:1,transition:"opacity ".concat(n),"&:hover, &:focus":{opacity:1},"&.slick-disabled":{pointerEvents:"none",opacity:0},"&::after":{boxSizing:"border-box",position:"absolute",top:e.calc(r).sub(i).div(2).equal(),insetInlineStart:e.calc(r).sub(i).div(2).equal(),display:"inline-block",width:i,height:i,border:"0 solid currentcolor",borderInlineStartWidth:2,borderBlockStartWidth:2,borderRadius:1,content:'""'}},".slick-prev":{insetInlineStart:o,"&::after":{transform:"rotate(-45deg)"}},".slick-next":{insetInlineEnd:o,"&::after":{transform:"rotate(135deg)"}}}}})(e),(e=>{let{componentCls:t,dotOffset:n,dotWidth:r,dotHeight:o,dotGap:i,colorBgContainer:a,motionDurationSlow:s}=e;return{[t]:{".slick-dots":{position:"absolute",insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:15,display:"flex !important",justifyContent:"center",paddingInlineStart:0,margin:0,listStyle:"none","&-bottom":{bottom:n},"&-top":{top:n,bottom:"auto"},li:{position:"relative",display:"inline-block",flex:"0 1 auto",boxSizing:"content-box",width:r,height:o,marginInline:i,padding:0,textAlign:"center",textIndent:-999,verticalAlign:"top",transition:"all ".concat(s),borderRadius:o,overflow:"hidden","&::after":{display:"block",position:"absolute",top:0,insetInlineStart:0,width:"100%",height:o,c
1ontent:'""',background:"transparent",borderRadius:o,opacity:1,outline:"none",cursor:"pointer",overflow:"hidden",transform:"translate3d(-100%, 0, 0)"},button:{position:"relative",display:"block",width:"100%",height:o,padding:0,color:"transparent",fontSize:0,background:a,border:0,borderRadius:o,outline:"none",cursor:"pointer",opacity:.2,transition:"all ".concat(s),overflow:"hidden","&:hover":{opacity:.75},"&::after":{position:"absolute",inset:e.calc(i).mul(-1).equal(),content:'""'}},"&.slick-active":{width:e.dotActiveWidth,position:"relative","&:hover":{opacity:1},"&::after":{background:a,transform:"translate3d(0, 0, 0)",transition:"transform var(".concat(eg,") ease-out")}}}}}}})(e),(e=>{let{componentCls:t,dotOffset:n,arrowOffset:r,marginXXS:o}=e,i={width:e.dotHeight,height:e.dotWidth};return{["".concat(t,"-vertical")]:{".slick-prev, .slick-next":{insetInlineStart:"50%",marginBlockStart:"unset",transform:"translateX(-50%)"},".slick-prev":{insetBlockStart:r,insetInlineStart:"50%","&::after":{transform:"rotate(45deg)"}},".slick-next":{insetBlockStart:"auto",insetBlockEnd:r,"&::after":{transform:"rotate(-135deg)"}},".slick-dots":{top:"50%",bottom:"auto",flexDirection:"column",width:e.dotHeight,height:"auto",margin:0,transform:"translateY(-50%)","&-left":{insetInlineEnd:"auto",insetInlineStart:n},"&-right":{insetInlineEnd:n,insetInlineStart:"auto"},li:Object.assign(Object.assign({},i),{margin:"".concat((0,eh.zA)(o)," 0"),verticalAlign:"baseline",button:i,"&::after":Object.assign(Object.assign({},i),{height:0}),"&.slick-active":Object.assign(Object.assign({},i),{button:i,"&::after":Object.assign(Object.assign({},i),{transition:"height var(".concat(eg,") ease-out")})})})}}}})(e),(e=>{let{componentCls:t}=e;return[{["".concat(t,"-rtl")]:{direction:"rtl"}},{["".concat(t,"-vertical")]:{".slick-dots":{["".concat(t,"-rtl&")]:{flexDirection:"column"}}}}]})(e)],e=>({arrowSize:16,arrowOffset:e.marginXS,dotWidth:16,dotHeight:3,dotGap:e.marginXXS,dotOffset:12,dotWidthActive:24,dotActiveWidth:24}),{deprecatedTokens:[["dotWidthActive","dotActiveWidth"]]});var eb=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let ew="slick-dots",ek=e=>{var{currentSlide:t,slideCount:n}=e,o=eb(e,["currentSlide","slideCount"]);return r.createElement("button",Object.assign({type:"button"},o))},eS=r.forwardRef((e,t)=>{let{dots:n=!0,arrows:o=!1,prevArrow:i,nextArrow:a,draggable:s=!1,waitForAnimate:l=!1,dotPosition:c="bottom",vertical:u="left"===c||"right"===c,rootClassName:d,className:p,style:f,id:h,autoplay:m=!1,autoplaySpeed:v=3e3,rtl:y}=e,b=eb(e,["dots","arrows","prevArrow","nextArrow","draggable","waitForAnimate","dotPosition","vertical","rootClassName","className","style","id","autoplay","autoplaySpeed","rtl"]),{getPrefixCls:w,direction:k,className:S,style:x}=(0,ef.TP)("carousel"),E=r.useRef(null),A=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];E.current.slickGoTo(e,t)};r.useImperativeHandle(t,()=>({goTo:A,autoPlay:E.current.innerSlider.autoPlay,innerSlider:E.current.innerSlider,prev:E.current.slickPrev,next:E.current.slickNext}),[E.current]);let{children:C,initialSlide:T=0}=e,O=r.Children.count(C),P=(null!=y?y:"rtl"===k)&&!u;r.useEffect(()=>{O>0&&A(P?O-T-1:T,!1)},[O,T,P]);let R=Object.assign({vertical:u,className:g()(p,S),style:Object.assign(Object.assign({},x),f),autoplay:!!m},b);"fade"===R.effect&&(R.fade=!0);let M=w("carousel",R.prefixCls),_=!!n,L=g()(ew,"".concat(ew,"-").concat(c),"boolean"!=typeof n&&(null==n?void 0:n.className)),[I,N,j]=ey(M),z=g()(M,{["".concat(M,"-rtl")]:P,["".concat(M,"-vertical")]:R.vertical},N,j,d),D=m&&"object"==typeof m&&m.dotDuration?{[eg]:"".concat(v,"ms")}:{};return I(r.createElement("div",{className:z,id:h,style:D},r.createElement(ep,Object.assign({ref:E},R,{dots:_,dotsClass:L,arrows:o,prevArrow:null!=i?i:r.createElement(ek,{"aria-label":P?"next":"prev"}),nextArrow:null!=a?a:r.createElement(ek,{"aria-label":P?"prev":"next"}),draggable:s,verticalSwiping:u,autoplaySpeed:v,waitForAnimate:l,rtl:P}))))})},16405:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>o});var r=n(44958);let o=r.default||r},17663:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);
1(!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]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var i=n(60087),a=n(36661);o(n(36661),t);var s={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=function(){function e(e,t,n){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=s),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:s,this.elementCB=null!=n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=this.options.xmlMode?i.ElementType.Tag:void 0,r=new a.Element(e,t,void 0,n);this.addNode(r),this.tagStack.push(r)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===i.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var n=new a.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===i.ElementType.Comment){this.lastNode.data+=e;return}var t=new a.Comment(e);this.addNode(t),this.lastNode=t},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new a.Text(""),t=new a.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new a.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=l,t.default=l},18266:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,n){void 0===n&&(n={});for(var r=[],o="function"==typeof n.replace,l=n.transform||a.returnFirstArg,c=n.library||s,u=c.cloneElement,d=c.createElement,p=c.isValidElement,f=t.length,h=0;h<f;h++){var m,v=t[h];if(o){var g=n.replace(v,h);if(p(g)){f>1&&(g=u(g,{key:g.key||h})),r.push(l(g,v,h));continue}}if("text"===v.type){var y=!v.data.trim().length;if(y&&v.parent&&!(0,a.canTextBeChildOfNode)(v.parent)||n.trim&&y)continue;r.push(l(v.data,v,h));continue}var b={};(m=v,a.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===m.type&&(0,a.isCustomComponent)(m.name,m.attribs))?((0,a.setStyleProp)(v.attribs.style,v.attribs),b=v.attribs):v.attribs&&(b=(0,i.default)(v.attribs,v.name));var w=void 0;switch(v.type){case"script":case"style":v.children[0]&&(b.dangerouslySetInnerHTML={__html:v.children[0].data});break;case"tag":"textarea"===v.name&&v.children[0]?b.defaultValue=v.children[0].data:v.children&&v.children.length&&(w=e(v.children,n));break;default:continue}f>1&&(b.key=h),r.push(l(d(v.name,b,w),v,h))}return 1===r.length?r[0]:r};var o=n(12115),i=r(n(85724)),a=n(89054),s={cloneElement:o.cloneElement,createElement:o.createElement,isValidElement:o.isValidElement}},22916:(e,t,n)=>{"use strict";n.d(t,{A:()=>ex});var r=n(12115),o=n(66200),i=n(85203),a=n.n(i),s=n(88945),l=n(93322),c=n(5322),u=n(43233),d=n(33861),p=n(42628);function f(){return{width:document.documentElement.clientWidth,height:window.innerHeight||document.documentElement.clientHeight}}var h=n(26337),m=n(57132),v=n(47650);function g(e,t,n,r){var o=v.unstable_batchedUpdates?function(e){v.unstable_batchedUpdates(n,e)}:n;return null!=e&&e.addEventListener&&e.addEventListener(t,o,r),{remove:function(){null!=e&&e.removeEventListener&&e.removeEventListener(t,o,r)}}}var y=n(30174),b=n(80938),w=n(56241),k=r.createContext(null);let S=function(e){var t=e.visible,n=e.maskTransitionName,o=e.getContainer,i=e.prefixCls,s=e.rootClassName,u=e.icons,d=e.countRender,p=e.showSwitch,f=e.showProgress,h=e.current,m=e.transform,v=e.count,g=e.scale,S=e.minScale,x=e.maxScale,E=e.closeIcon,A=e.onActive,C=e.onClose,T=e.onZoomIn,O=e.onZoomOut,P=e.onRotateRight,R=e.onRotateLeft,M=e.onFlipX,_=e.onFlipY,L=e.onReset,I=e.toolbarRender,N=e.zIndex,j=e.image,z=(0,r.useContext)(k),D=u.rotateLeft,H=u.rotateRight,F=u.zoomIn,W=u.zoomOut,Y=u.close,X=u.left,q=u.right,V=u.flipX,B=u.flipY,U="".concat(i,"-operations-operation");r.useEffect(function(){var e=function(e){e.keyCode===y.A.ESC&&C()};return t&&window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}},[t]);var G=function(e,t){e.preventDefault(),e.stopPropagation(),A(t)},Z=r.useCallback(function(e){var t=e.type,n=e.disabled,o=e.onClick,s=e.icon;return r.createElement("div",{key:t,className:a()(U,"".concat(i,"-operations-operation-").concat(t),(0,c.A)({},"".concat(i,"-operations-operation-disabled"),!!n)),onClick:o},s)},[U,i]),$=p?Z({icon:X,onClick:function(e){return G(e,-1)}
1,type:"prev",disabled:0===h}):void 0,Q=p?Z({icon:q,onClick:function(e){return G(e,1)},type:"next",disabled:h===v-1}):void 0,J=Z({icon:B,onClick:_,type:"flipY"}),K=Z({icon:V,onClick:M,type:"flipX"}),ee=Z({icon:D,onClick:R,type:"rotateLeft"}),et=Z({icon:H,onClick:P,type:"rotateRight"}),en=Z({icon:W,onClick:O,type:"zoomOut",disabled:g<=S}),er=Z({icon:F,onClick:T,type:"zoomIn",disabled:g===x}),eo=r.createElement("div",{className:"".concat(i,"-operations")},J,K,ee,et,en,er);return r.createElement(w.Ay,{visible:t,motionName:n},function(e){var t=e.className,n=e.style;return r.createElement(b.A,{open:!0,getContainer:null!=o?o:document.body},r.createElement("div",{className:a()("".concat(i,"-operations-wrapper"),t,s),style:(0,l.A)((0,l.A)({},n),{},{zIndex:N})},null===E?null:r.createElement("button",{className:"".concat(i,"-close"),onClick:C},E||Y),p&&r.createElement(r.Fragment,null,r.createElement("div",{className:a()("".concat(i,"-switch-left"),(0,c.A)({},"".concat(i,"-switch-left-disabled"),0===h)),onClick:function(e){return G(e,-1)}},X),r.createElement("div",{className:a()("".concat(i,"-switch-right"),(0,c.A)({},"".concat(i,"-switch-right-disabled"),h===v-1)),onClick:function(e){return G(e,1)}},q)),r.createElement("div",{className:"".concat(i,"-footer")},f&&r.createElement("div",{className:"".concat(i,"-progress")},d?d(h+1,v):r.createElement("bdi",null,"".concat(h+1," / ").concat(v))),I?I(eo,(0,l.A)((0,l.A)({icons:{prevIcon:$,nextIcon:Q,flipYIcon:J,flipXIcon:K,rotateLeftIcon:ee,rotateRightIcon:et,zoomOutIcon:en,zoomInIcon:er},actions:{onActive:A,onFlipY:_,onFlipX:M,onRotateLeft:R,onRotateRight:P,onZoomOut:O,onZoomIn:T,onReset:L,onClose:C},transform:m},z?{current:h,total:v}:{}),{},{image:j})):eo)))})};var x=n(4348),E=n(93485),A={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1},C=n(31848);function T(e,t,n,r){var o=t+n,i=(n-r)/2;if(n>r){if(t>0)return(0,c.A)({},e,i);if(t<0&&o<r)return(0,c.A)({},e,-i)}else if(t<0||o>r)return(0,c.A)({},e,t<0?i:-i);return{}}function O(e,t,n,r){var o=f(),i=o.width,a=o.height,s=null;return e<=i&&t<=a?s={x:0,y:0}:(e>i||t>a)&&(s=(0,l.A)((0,l.A)({},T("x",n,e,i)),T("y",r,t,a))),s}function P(e){var t=e.src,n=e.isCustomPlaceholder,o=e.fallback,i=(0,r.useState)(n?"loading":"normal"),a=(0,u.A)(i,2),s=a[0],l=a[1],c=(0,r.useRef)(!1),d="error"===s;(0,r.useEffect)(function(){var e=!0;return new Promise(function(e){if(!t)return void e(!1);var n=document.createElement("img");n.onerror=function(){return e(!1)},n.onload=function(){return e(!0)},n.src=t}).then(function(t){!t&&e&&l("error")}),function(){e=!1}},[t]),(0,r.useEffect)(function(){n&&!c.current?l("loading"):d&&l("normal")},[t]);var p=function(){l("normal")};return[function(e){c.current=!1,"loading"===s&&null!=e&&e.complete&&(e.naturalWidth||e.naturalHeight)&&(c.current=!0,p())},d&&o?{src:o}:{onLoad:p,src:t},s]}function R(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}var M=["fallback","src","imgRef"],_=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],L=function(e){var t=e.fallback,n=e.src,o=e.imgRef,i=(0,p.A)(e,M),a=P({src:n,fallback:t}),l=(0,u.A)(a,2),c=l[0],d=l[1];return r.createElement("img",(0,s.A)({ref:function(e){o.current=e,c(e)}},i,d))};let I=function(e){var t,n,o,i,d,h,v,b,w,T,P,M,I,N,j,z,D,H,F,W,Y,X,q,V,B,U,G,Z,$=e.prefixCls,Q=e.src,J=e.alt,K=e.imageInfo,ee=e.fallback,et=e.movable,en=void 0===et||et,er=e.onClose,eo=e.visible,ei=e.icons,ea=e.rootClassName,es=e.closeIcon,el=e.getContainer,ec=e.current,eu=void 0===ec?0:ec,ed=e.count,ep=void 0===ed?1:ed,ef=e.countRender,eh=e.scaleStep,em=void 0===eh?.5:eh,ev=e.minScale,eg=void 0===ev?1:ev,ey=e.maxScale,eb=void 0===ey?50:ey,ew=e.transitionName,ek=e.maskTransitionName,eS=void 0===ek?"fade":ek,ex=e.imageRender,eE=e.imgCommonProps,eA=e.toolbarRender,eC=e.onTransform,eT=e.onChange,eO=(0,p.A)(e,_),eP=(0,r.useRef)(),eR=(0,r.useContext)(k),eM=eR&&ep>1,e_=eR&&ep>=1,eL=(0,r.useState)(!0),eI=(0,u.A)(eL,2),eN=eI[0],ej=eI[1],ez=(t=(0,r.useRef)(null),n=(0,r.useRef)([]),o=(0,r.useState)(A),d=(i=(0,u.A)(o,2))[0],h=i[1],v=function(e,r){null===t.current&&(n.current=[],t.current=(0,E.A)(function(){h(function(e){var o=e;return n.current.forEach(function(e){o=(0,l.A)((0,l.A)({},o),e)}),t.current=null,null==eC||eC({transform:o,action:r}),o})})),n.current.push((0,l.A)((0,l.A)({},d),e))},{transform:d,resetTransform:function(e){h(A),(0,x.A)(A,d)||null==eC||eC({transform:A,action:e})},updateTransform:v,dispatchZoomChange:function(e,t,n,r,o){var i=eP.current,a=i.width,s=i.height,l=i.offsetWidth,c=i.offsetHeight,u=i.offsetLeft,p=i.offsetTop,h=e,m=d.scale*e;m>eb?(m=eb,h=eb/d.scale):m<eg&&(h=(m=o?m:eg)/d.scale);var g=null!=r?r:innerHeight/2,y=h-1,b=y*((null!=n?n:innerWidth/2)-d.x-u),w=y*(g-d.y-p),k=d.x-(b-y*a*.5),S=d.y-(w-y*s*.5);if(e<1&&1===m){var x=l*m,E=c*m,A=f(),C=A.width,T=A.height;x<=C&&E<=T&&(k=0,S=0)}v({x:k,y:S,scale:m},t)}}),eD=ez.transform,eH=ez.resetTransform,eF=ez.updateTransform,eW=ez.dispatchZoomChange,eY=(b=eD.rotate,w=eD.scale,T=eD.x,P=eD.y,M=(0,r.useState)(!1),N=(I=(0,u.A)(M,2))[0],j=I[1],z=(0,r.useRef)({diffX:0,diffY:0,transformX:0,transformY:0}
1),D=function(e){eo&&N&&eF({x:e.pageX-z.current.diffX,y:e.pageY-z.current.diffY},"move")},H=function(){if(eo&&N){j(!1);var e=z.current,t=e.transformX,n=e.transformY;if(T!==t&&P!==n){var r=eP.current.offsetWidth*w,o=eP.current.offsetHeight*w,i=eP.current.getBoundingClientRect(),a=i.left,s=i.top,c=b%180!=0,u=O(c?o:r,c?r:o,a,s);u&&eF((0,l.A)({},u),"dragRebound")}}},(0,r.useEffect)(function(){var e,t,n,r;if(en){n=g(window,"mouseup",H,!1),r=g(window,"mousemove",D,!1);try{window.top!==window.self&&(e=g(window.top,"mouseup",H,!1),t=g(window.top,"mousemove",D,!1))}catch(e){(0,C.$e)(!1,"[rc-image] ".concat(e))}}return function(){var o,i,a,s;null==(o=n)||o.remove(),null==(i=r)||i.remove(),null==(a=e)||a.remove(),null==(s=t)||s.remove()}},[eo,N,T,P,b,en]),{isMoving:N,onMouseDown:function(e){en&&0===e.button&&(e.preventDefault(),e.stopPropagation(),z.current={diffX:e.pageX-T,diffY:e.pageY-P,transformX:T,transformY:P},j(!0))},onMouseMove:D,onMouseUp:H,onWheel:function(e){if(eo&&0!=e.deltaY){var t=1+Math.min(Math.abs(e.deltaY/100),1)*em;e.deltaY>0&&(t=1/t),eW(t,"wheel",e.clientX,e.clientY)}}}),eX=eY.isMoving,eq=eY.onMouseDown,eV=eY.onWheel,eB=(F=eD.rotate,W=eD.scale,Y=eD.x,X=eD.y,q=(0,r.useState)(!1),B=(V=(0,u.A)(q,2))[0],U=V[1],G=(0,r.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),Z=function(e){G.current=(0,l.A)((0,l.A)({},G.current),e)},(0,r.useEffect)(function(){var e;return eo&&en&&(e=g(window,"touchmove",function(e){return e.preventDefault()},{passive:!1})),function(){var t;null==(t=e)||t.remove()}},[eo,en]),{isTouching:B,onTouchStart:function(e){if(en){e.stopPropagation(),U(!0);var t=e.touches,n=void 0===t?[]:t;n.length>1?Z({point1:{x:n[0].clientX,y:n[0].clientY},point2:{x:n[1].clientX,y:n[1].clientY},eventType:"touchZoom"}):Z({point1:{x:n[0].clientX-Y,y:n[0].clientY-X},eventType:"move"})}},onTouchMove:function(e){var t=e.touches,n=void 0===t?[]:t,r=G.current,o=r.point1,i=r.point2,a=r.eventType;if(n.length>1&&"touchZoom"===a){var s={x:n[0].clientX,y:n[0].clientY},l={x:n[1].clientX,y:n[1].clientY},c=function(e,t,n,r){var o=R(e,n),i=R(t,r);if(0===o&&0===i)return[e.x,e.y];var a=o/(o+i);return[e.x+a*(t.x-e.x),e.y+a*(t.y-e.y)]}(o,i,s,l),d=(0,u.A)(c,2),p=d[0],f=d[1];eW(R(s,l)/R(o,i),"touchZoom",p,f,!0),Z({point1:s,point2:l,eventType:"touchZoom"})}else"move"===a&&(eF({x:n[0].clientX-o.x,y:n[0].clientY-o.y},"move"),Z({eventType:"move"}))},onTouchEnd:function(){if(eo){if(B&&U(!1),Z({eventType:"none"}),eg>W)return eF({x:0,y:0,scale:eg},"touchZoom");var e=eP.current.offsetWidth*W,t=eP.current.offsetHeight*W,n=eP.current.getBoundingClientRect(),r=n.left,o=n.top,i=F%180!=0,a=O(i?t:e,i?e:t,r,o);a&&eF((0,l.A)({},a),"dragRebound")}}}),eU=eB.isTouching,eG=eB.onTouchStart,eZ=eB.onTouchMove,e$=eB.onTouchEnd,eQ=eD.rotate,eJ=eD.scale,eK=a()((0,c.A)({},"".concat($,"-moving"),eX));(0,r.useEffect)(function(){eN||ej(!0)},[eN]);var e0=function(e){var t=eu+e;!Number.isInteger(t)||t<0||t>ep-1||(ej(!1),eH(e<0?"prev":"next"),null==eT||eT(t,eu))},e1=function(e){eo&&eM&&(e.keyCode===y.A.LEFT?e0(-1):e.keyCode===y.A.RIGHT&&e0(1))};(0,r.useEffect)(function(){var e=g(window,"keydown",e1,!1);return function(){e.remove()}},[eo,eM,eu]);var e2=r.createElement(L,(0,s.A)({},eE,{width:e.width,height:e.height,imgRef:eP,className:"".concat($,"-img"),alt:J,style:{transform:"translate3d(".concat(eD.x,"px, ").concat(eD.y,"px, 0) scale3d(").concat(eD.flipX?"-":"").concat(eJ,", ").concat(eD.flipY?"-":"").concat(eJ,", 1) rotate(").concat(eQ,"deg)"),transitionDuration:(!eN||eU)&&"0s"},fallback:ee,src:Q,onWheel:eV,onMouseDown:eq,onDoubleClick:function(e){eo&&(1!==eJ?eF({x:0,y:0,scale:1},"doubleClick"):eW(1+em,"doubleClick",e.clientX,e.clientY))},onTouchStart:eG,onTouchMove:eZ,onTouchEnd:e$,onTouchCancel:e$})),e3=(0,l.A)({url:Q,alt:J},K);return r.createElement(r.Fragment,null,r.createElement(m.A,(0,s.A)({transitionName:void 0===ew?"zoom":ew,maskTransitionName:eS,closable:!1,keyboard:!0,prefixCls:$,onClose:er,visible:eo,classNames:{wrapper:eK},rootClassName:ea,getContainer:el},eO,{afterClose:function(){eH("close")}}),r.createElement("div",{className:"".concat($,"-img-wrapper")},ex?ex(e2,(0,l.A)({transform:eD,image:e3},eR?{current:eu}:{})):e2)),r.createElement(S,{visible:eo,transform:eD,maskTransitionName:eS,closeIcon:es,getContainer:el,prefixCls:$,rootClassName:ea,icons:void 0===ei?{}:ei,countRender:ef,showSwitch:eM,showProgress:e_,current:eu,count:ep,scale:eJ,minScale:eg,maxScale:eb,toolbarRender:eA,onActive:e0,onZoomIn:function(){eW(1+em,"zoomIn")},onZoomOut:function(){eW(1/(1+em),"zoomOut")},onRotateRight:function(){eF({rotate:eQ+90},"rotateRight")},onRotateLeft:function(){eF({rotate:eQ-90},"rotateLeft")},onFlipX:function(){eF({flipX:!eD.flipX},"flipX")},onFlipY:function(){eF({flipY:!eD.flipY},"flipY")},onClose:er,onReset:function(){eH("reset")},zIndex:void 0!==eO.zIndex?eO.zIndex+1:void 0,image:e3}))};var N=n(39192),j=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"],z=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],D=["src"],H=0,F=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],W=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","
1imageRender","toolbarRender"],Y=function(e){var t,n,o,i,f=e.src,m=e.alt,v=e.onPreviewClose,g=e.prefixCls,y=void 0===g?"rc-image":g,b=e.previewPrefixCls,w=void 0===b?"".concat(y,"-preview"):b,S=e.placeholder,x=e.fallback,E=e.width,A=e.height,C=e.style,T=e.preview,O=void 0===T||T,R=e.className,M=e.onClick,_=e.onError,L=e.wrapperClassName,N=e.wrapperStyle,z=e.rootClassName,D=(0,p.A)(e,F),Y="object"===(0,d.A)(O)?O:{},X=Y.src,q=Y.visible,V=void 0===q?void 0:q,B=Y.onVisibleChange,U=Y.getContainer,G=Y.mask,Z=Y.maskClassName,$=Y.movable,Q=Y.icons,J=Y.scaleStep,K=Y.minScale,ee=Y.maxScale,et=Y.imageRender,en=Y.toolbarRender,er=(0,p.A)(Y,W),eo=null!=X?X:f,ei=(0,h.A)(!!V,{value:V,onChange:void 0===B?v:B}),ea=(0,u.A)(ei,2),es=ea[0],el=ea[1],ec=P({src:f,isCustomPlaceholder:S&&!0!==S,fallback:x}),eu=(0,u.A)(ec,3),ed=eu[0],ep=eu[1],ef=eu[2],eh=(0,r.useState)(null),em=(0,u.A)(eh,2),ev=em[0],eg=em[1],ey=(0,r.useContext)(k),eb=!!O,ew=a()(y,L,z,(0,c.A)({},"".concat(y,"-error"),"error"===ef)),ek=(0,r.useMemo)(function(){var t={};return j.forEach(function(n){void 0!==e[n]&&(t[n]=e[n])}),t},j.map(function(t){return e[t]})),eS=(0,r.useMemo)(function(){return(0,l.A)((0,l.A)({},ek),{},{src:eo})},[eo,ek]),ex=(t=r.useState(function(){return String(H+=1)}),n=(0,u.A)(t,1)[0],o=r.useContext(k),i={data:eS,canPreview:eb},r.useEffect(function(){if(o)return o.register(n,i)},[]),r.useEffect(function(){o&&o.register(n,i)},[eb,eS]),n);return r.createElement(r.Fragment,null,r.createElement("div",(0,s.A)({},D,{className:ew,onClick:eb?function(e){var t,n,r=(t=e.target.getBoundingClientRect(),n=document.documentElement,{left:t.left+(window.pageXOffset||n.scrollLeft)-(n.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||n.scrollTop)-(n.clientTop||document.body.clientTop||0)}),o=r.left,i=r.top;ey?ey.onPreview(ex,eo,o,i):(eg({x:o,y:i}),el(!0)),null==M||M(e)}:M,style:(0,l.A)({width:E,height:A},N)}),r.createElement("img",(0,s.A)({},ek,{className:a()("".concat(y,"-img"),(0,c.A)({},"".concat(y,"-img-placeholder"),!0===S),R),style:(0,l.A)({height:A},C),ref:ed},ep,{width:E,height:A,onError:_})),"loading"===ef&&r.createElement("div",{"aria-hidden":"true",className:"".concat(y,"-placeholder")},S),G&&eb&&r.createElement("div",{className:a()("".concat(y,"-mask"),Z),style:{display:(null==C?void 0:C.display)==="none"?"none":void 0}},G)),!ey&&eb&&r.createElement(I,(0,s.A)({"aria-hidden":!es,visible:es,prefixCls:w,onClose:function(){el(!1),eg(null)},mousePosition:ev,src:eo,alt:m,imageInfo:{width:E,height:A},fallback:x,getContainer:void 0===U?void 0:U,icons:Q,movable:$,scaleStep:J,minScale:K,maxScale:ee,rootClassName:z,imageRender:et,imgCommonProps:ek,toolbarRender:en},er)))};Y.PreviewGroup=function(e){var t,n,o,i,a,f,m=e.previewPrefixCls,v=e.children,g=e.icons,y=e.items,b=e.preview,w=e.fallback,S="object"===(0,d.A)(b)?b:{},x=S.visible,E=S.onVisibleChange,A=S.getContainer,C=S.current,T=S.movable,O=S.minScale,P=S.maxScale,R=S.countRender,M=S.closeIcon,_=S.onChange,L=S.onTransform,H=S.toolbarRender,F=S.imageRender,W=(0,p.A)(S,z),Y=(t=r.useState({}),o=(n=(0,u.A)(t,2))[0],i=n[1],a=r.useCallback(function(e,t){return i(function(n){return(0,l.A)((0,l.A)({},n),{},(0,c.A)({},e,t))}),function(){i(function(t){var n=(0,l.A)({},t);return delete n[e],n})}},[]),[r.useMemo(function(){return y?y.map(function(e){if("string"==typeof e)return{data:{src:e}};var t={};return Object.keys(e).forEach(function(n){["src"].concat((0,N.A)(j)).includes(n)&&(t[n]=e[n])}),{data:t}}):Object.keys(o).reduce(function(e,t){var n=o[t],r=n.canPreview,i=n.data;return r&&e.push({data:i,id:t}),e},[])},[y,o]),a,!!y]),X=(0,u.A)(Y,3),q=X[0],V=X[1],B=X[2],U=(0,h.A)(0,{value:C}),G=(0,u.A)(U,2),Z=G[0],$=G[1],Q=(0,r.useState)(!1),J=(0,u.A)(Q,2),K=J[0],ee=J[1],et=(null==(f=q[Z])?void 0:f.data)||{},en=et.src,er=(0,p.A)(et,D),eo=(0,h.A)(!!x,{value:x,onChange:function(e,t){null==E||E(e,t,Z)}}),ei=(0,u.A)(eo,2),ea=ei[0],es=ei[1],el=(0,r.useState)(null),ec=(0,u.A)(el,2),eu=ec[0],ed=ec[1],ep=r.useCallback(function(e,t,n,r){var o=B?q.findIndex(function(e){return e.data.src===t}):q.findIndex(function(t){return t.id===e});$(o<0?0:o),es(!0),ed({x:n,y:r}),ee(!0)},[q,B]);r.useEffect(function(){ea?K||$(0):ee(!1)},[ea]);var ef=r.useMemo(function(){return{register:V,onPreview:ep}},[V,ep]);return r.createElement(k.Provider,{value:ef},v,r.createElement(I,(0,s.A)({"aria-hidden":!ea,movable:T,visible:ea,prefixCls:void 0===m?"rc-image-preview":m,closeIcon:M,onClose:function(){es(!1),ed(null)},mousePosition:eu,imgCommonProps:er,src:en,fallback:w,icons:void 0===g?{}:g,minScale:O,maxScale:P,getContainer:A,current:Z,count:q.length,countRender:R,onTransform:L,toolbarRender:H,imageRender:F,onChange:function(e,t){$(e),null==_||_(e,t)}},W)))};var X=n(96927),q=n(68901),V=n(1943),B=n(79224),U=n(87585),G=n(2569);let Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}
1]},name:"left",theme:"outlined"};var $=n(86663),Q=r.forwardRef(function(e,t){return r.createElement($.A,(0,s.A)({},e,{ref:t,icon:Z}))}),J=n(17510),K={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},ee=r.forwardRef(function(e,t){return r.createElement($.A,(0,s.A)({},e,{ref:t,icon:K}))}),et={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},en=r.forwardRef(function(e,t){return r.createElement($.A,(0,s.A)({},e,{ref:t,icon:et}))});let er={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"};var eo=r.forwardRef(function(e,t){return r.createElement($.A,(0,s.A)({},e,{ref:t,icon:er}))});let ei={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"};var ea=r.forwardRef(function(e,t){return r.createElement($.A,(0,s.A)({},e,{ref:t,icon:ei}))});let es={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"};var el=r.forwardRef(function(e,t){return r.createElement($.A,(0,s.A)({},e,{ref:t,icon:es}))}),ec=n(60758),eu=n(73508),ed=n(48031),ep=n(94821),ef=n(38205),eh=n(16735),em=n(16780),ev=n(34562);let eg=e=>({position:e||"absolute",inset:0}),ey=(0,em.OF)("Image",e=>{let t="".concat(e.componentCls,"-preview"),n=(0,ev.oX)(e,{previewCls:t,modalMaskBg:new eu.Y("#000").setA(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[(e=>{let{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",["".concat(t,"-img")]:{width:"100%",height:"auto",verticalAlign:"middle"}
1,["".concat(t,"-img-placeholder")]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},["".concat(t,"-mask")]:Object.assign({},(e=>{let{iconCls:t,motionDurationSlow:n,paddingXXS:r,marginXXS:o,prefixCls:i,colorTextLightSolid:a}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:a,background:new eu.Y("#000").setA(.5).toRgbString(),cursor:"pointer",opacity:0,transition:"opacity ".concat(n),[".".concat(i,"-mask-info")]:Object.assign(Object.assign({},ep.L9),{padding:"0 ".concat((0,ec.zA)(r)),[t]:{marginInlineEnd:o,svg:{verticalAlign:"baseline"}}})}})(e)),["".concat(t,"-mask:hover")]:{opacity:1},["".concat(t,"-placeholder")]:Object.assign({},eg())}}})(n),(e=>{let{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:o}=e;return[{["".concat(o,"-preview-root")]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},["".concat(n,"-body")]:Object.assign(Object.assign({},eg()),{overflow:"hidden"}),["".concat(n,"-img")]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:"transform ".concat(r," ").concat(t," 0s"),userSelect:"none","&-wrapper":Object.assign(Object.assign({},eg()),{transition:"transform ".concat(r," ").concat(t," 0s"),display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},["".concat(n,"-moving")]:{["".concat(n,"-preview-img")]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{["".concat(o,"-preview-root")]:{["".concat(n,"-wrap")]:{zIndex:e.zIndexPopup}}},{["".concat(o,"-preview-operations-wrapper")]:{position:"fixed",zIndex:e.calc(e.zIndexPopup).add(1).equal()},"&":[(e=>{let{previewCls:t,modalMaskBg:n,paddingSM:r,marginXL:o,margin:i,paddingLG:a,previewOperationColorDisabled:s,previewOperationHoverColor:l,motionDurationSlow:c,iconCls:u,colorTextLightSolid:d}=e,p=new eu.Y(n).setA(.1),f=p.clone().setA(.2);return{["".concat(t,"-footer")]:{position:"fixed",bottom:o,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor,transform:"translateX(-50%)"},["".concat(t,"-progress")]:{marginBottom:i},["".concat(t,"-close")]:{position:"fixed",top:o,right:{_skip_check_:!0,value:o},display:"flex",color:d,backgroundColor:p.toRgbString(),borderRadius:"50%",padding:r,outline:0,border:0,cursor:"pointer",transition:"all ".concat(c),"&:hover":{backgroundColor:f.toRgbString()},["& > ".concat(u)]:{fontSize:e.previewOperationSize}},["".concat(t,"-operations")]:{display:"flex",alignItems:"center",padding:"0 ".concat((0,ec.zA)(a)),backgroundColor:p.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:r,padding:r,cursor:"pointer",transition:"all ".concat(c),userSelect:"none",["&:not(".concat(t,"-operations-operation-disabled):hover > ").concat(u)]:{color:l},"&-disabled":{color:s,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},["& > ".concat(u)]:{fontSize:e.previewOperationSize}}}}})(e),(e=>{let{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:r,previewCls:o,zIndexPopup:i,motionDurationSlow:a}=e,s=new eu.Y(t).setA(.1),l=s.clone().setA(.2);return{["".concat(o,"-switch-left, ").concat(o,"-switch-right")]:{position:"fixed",insetBlockStart:"50%",zIndex:e.calc(i).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:e.calc(e.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:e.previewOperationColor,background:s.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:"all ".concat(a),userSelect:"none","&:hover":{background:l.toRgbString()},"&-disabled":{"&, &:hover":{color:r,background:"transparent",curs
1or:"not-allowed",["> ".concat(n)]:{cursor:"not-allowed"}}},["> ".concat(n)]:{fontSize:e.previewOperationSize}},["".concat(o,"-switch-left")]:{insetInlineStart:e.marginSM},["".concat(o,"-switch-right")]:{insetInlineEnd:e.marginSM}}})(e)]}]})(n),(0,ed.Dk)((0,ev.oX)(n,{componentCls:t})),(e=>{let{previewCls:t}=e;return{["".concat(t,"-root")]:(0,ef.aB)(e,"zoom"),"&":(0,eh.p9)(e,!0)}})(n)]},e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new eu.Y(e.colorTextLightSolid).setA(.65).toRgbString(),previewOperationHoverColor:new eu.Y(e.colorTextLightSolid).setA(.85).toRgbString(),previewOperationColorDisabled:new eu.Y(e.colorTextLightSolid).setA(.25).toRgbString(),previewOperationSize:1.5*e.fontSizeIcon}));var eb=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let ew={rotateLeft:r.createElement(ee,null),rotateRight:r.createElement(en,null),zoomIn:r.createElement(ea,null),zoomOut:r.createElement(el,null),close:r.createElement(G.A,null),left:r.createElement(Q,null),right:r.createElement(J.A,null),flipX:r.createElement(eo,null),flipY:r.createElement(eo,{rotate:90})};var ek=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let eS=e=>{let{prefixCls:t,preview:n,className:i,rootClassName:s,style:l}=e,c=ek(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:u,getPopupContainer:d,className:p,style:f,preview:h}=(0,V.TP)("image"),[m]=(0,U.A)("Image"),v=u("image",t),g=u(),y=(0,B.A)(v),[b,w,k]=ey(v,y),S=a()(s,w,k,y),x=a()(i,w,p),[E]=(0,X.YK)("ImagePreview","object"==typeof n?n.zIndex:void 0),A=r.useMemo(()=>{if(!1===n)return n;let e="object"==typeof n?n:{},{getContainer:t,closeIcon:i,rootClassName:s,destroyOnClose:l,destroyOnHidden:c}=e,u=ek(e,["getContainer","closeIcon","rootClassName","destroyOnClose","destroyOnHidden"]);return Object.assign(Object.assign({mask:r.createElement("div",{className:"".concat(v,"-mask-info")},r.createElement(o.A,null),null==m?void 0:m.preview),icons:ew},u),{destroyOnClose:null!=c?c:l,rootClassName:a()(S,s),getContainer:null!=t?t:d,transitionName:(0,q.b)(g,"zoom",e.transitionName),maskTransitionName:(0,q.b)(g,"fade",e.maskTransitionName),zIndex:E,closeIcon:null!=i?i:null==h?void 0:h.closeIcon})},[n,m,null==h?void 0:h.closeIcon]),C=Object.assign(Object.assign({},f),l);return b(r.createElement(Y,Object.assign({prefixCls:v,preview:A,rootClassName:S,className:x,style:C},c)))};eS.PreviewGroup=e=>{var{previewPrefixCls:t,preview:n}=e,o=eb(e,["previewPrefixCls","preview"]);let{getPrefixCls:i,direction:s}=r.useContext(V.QO),l=i("image",t),c="".concat(l,"-preview"),u=i(),d=(0,B.A)(l),[p,f,h]=ey(l,d),[m]=(0,X.YK)("ImagePreview","object"==typeof n?n.zIndex:void 0),v=r.useMemo(()=>Object.assign(Object.assign({},ew),{left:"rtl"===s?r.createElement(J.A,null):r.createElement(Q,null),right:"rtl"===s?r.createElement(Q,null):r.createElement(J.A,null)}),[s]),g=r.useMemo(()=>{var e;if(!1===n)return n;let t="object"==typeof n?n:{},r=a()(f,h,d,null!=(e=t.rootClassName)?e:"");return Object.assign(Object.assign({},t),{transitionName:(0,q.b)(u,"zoom",t.transitionName),maskTransitionName:(0,q.b)(u,"fade",t.maskTransitionName),rootClassName:r,zIndex:m})},[n]);return p(r.createElement(Y.PreviewGroup,Object.assign({preview:g,previewPrefixCls:c,icons:v},o)))};let ex=eS},29938:(e,t,n)=>{"use strict";n.d(t,{Y:()=>S});var r=n(12115);let o="http://www.w3.org/2000/svg";class i{constructor(e){this.seed=e}next(){return this.seed?(0x80000000-1&(this.seed=Math.imul(48271,this.seed)))/0x80000000:Math.random()}}function a(e,t,n,r,o){return{type:"path",ops:p(e,t,n,r,o)}}function s(e,t,n){let r=(e||[]).length;if(r>2){let o=[];for(let t=0;t<r-1;t++)o.push(...p(e[t][0],e[t][1],e[t+1][0],e[t+1][1],n));return t&&o.push(...p(e[r-1][0],e[r-1][1],e[0][0],e[0][1],n)),{type:"path",ops:o}}return 2===r?a(e[0][0],e[0][1],e[1][0],e[1][1],n):{type:"path",ops:[]}}function l(e,t,n,r,o){return function(e,t,n,r){let[o,i]=m(r.increment,e,t,r.rx,r.ry,1,r.increment*u(.1,u(.4,1,n),n),n),a=h(o,null,n);if(!n.disableMultiStroke){let[o]=m(r.increment,e,t,r.rx,r.ry,1.5,0,n),i=h(o,null,n);a=a.concat(i)}return{estimatedPoints:i,opset:{type:"path",ops:a}}}(e,t,o,function(e,t,n){let r=Math.sqrt(2*Math.PI*Math.sqrt((Math.pow(e/2,2)+Math.pow(t/2,2))/2)),o=2*Math.PI/Math.max(n.curveStepCount,n.curveStepCount/Math.sqrt(200)*r),i=Math.abs(e/2),a=Math.abs(t/2),s=1-n.curveFitting;return i+=d(i*s,n),a+=d(a*s,n),{increment:o,rx:i,ry:a}}(n,r,o)).opset}function c(e){return e.randomizer||(e.randomizer=new i(e.seed||0)),e.randomizer.next()}function u(e,t,n,r=1){return n.roughness*r*(c(n)*(t-e)+e)}function d(e,t,n=1){return u(-e,e,t,n)}function p(e,t,n,r,o,i=!1){let a=i?o.disableMultiStrokeFill:o.disableMultiStroke,s=f(e,t,n,r,o,!0,!1);if(a)return s;let l=f(e,t,n,r,o,!0,!0);return s.concat(l)}function f(e,t,n,r,o,i,a){let s=Math.pow(e-n,2)+Math.pow(t-r,2),l=Math.sqrt(s),u=1;u=l<200?1:l>500?.4:-.0016668*l+1.233334;let p=o.maxRandomnessOffset||0;p*p*100>s&&(p=l/10);let f=p/2,h=.2+.2*c(o),m=o.bowing*o.maxRandomnessOffset*(r-t)/200,v=o.bowing*o.maxRandomnessOffset*(e-n)/200;m=d(m,o,u),v=d(v,o,u);let g=[],y=()=>d(f,o,u),b=()=>d(p,o,u);return i&&(a?g.push({op:"move",data:[e+y(),t+y()]}):g.push({op:"move",data:[e+d(p,o,u),t+d(p,o,u)]})),a?g.push({op:"bcurveTo",data:[m+e+(n-e)*h+y(),v+t+(r-t)*h+y(),m+e+2*(n-e)*h+y(),v+t+2*(r-t)*h+y(),n+y(),r+y()]}):g.push({op:"bcurveTo",data:[m+e+(n-e)*h+b(),v+t+(r-t)*h+b(),m+e+2*(n-e)*h+b(),v+t+2*(r-t)*h+b(),n+b(),r+b()]}),g}function h(e,t,n){let r=e.length,o=[];if(r>3){let i=[],a=1-n.curveTightness;o.push({op:"move",data:[e[1][0],e[1][1]]});for(let t=1;t+2<r;t++){let n=e[t];i[0]=[n[0],n[1]],i[1]=[n[0]+(a*e[t+1][0]-a*e[t-1][0])/6,n[1]+(a*e[t+1][1]-a*e[t-1][1])/6],i[2]=[e[t+1][0]+(a*e[t][0]-a
1*e[t+2][0])/6,e[t+1][1]+(a*e[t][1]-a*e[t+2][1])/6],i[3]=[e[t+1][0],e[t+1][1]],o.push({op:"bcurveTo",data:[i[1][0],i[1][1],i[2][0],i[2][1],i[3][0],i[3][1]]})}if(t&&2===t.length){let e=n.maxRandomnessOffset;o.push({op:"lineTo",data:[t[0]+d(e,n),t[1]+d(e,n)]})}}else 3===r?(o.push({op:"move",data:[e[1][0],e[1][1]]}),o.push({op:"bcurveTo",data:[e[1][0],e[1][1],e[2][0],e[2][1],e[2][0],e[2][1]]})):2===r&&o.push(...p(e[0][0],e[0][1],e[1][0],e[1][1],n));return o}function m(e,t,n,r,o,i,a,s){let l=[],c=[],u=d(.5,s)-Math.PI/2;c.push([d(i,s)+t+.9*r*Math.cos(u-e),d(i,s)+n+.9*o*Math.sin(u-e)]);for(let a=u;a<2*Math.PI+u-.01;a+=e){let e=[d(i,s)+t+r*Math.cos(a),d(i,s)+n+o*Math.sin(a)];l.push(e),c.push(e)}return c.push([d(i,s)+t+r*Math.cos(u+2*Math.PI+.5*a),d(i,s)+n+o*Math.sin(u+2*Math.PI+.5*a)]),c.push([d(i,s)+t+.98*r*Math.cos(u+a),d(i,s)+n+.98*o*Math.sin(u+a)]),c.push([d(i,s)+t+.9*r*Math.cos(u+.5*a),d(i,s)+n+.9*o*Math.sin(u+.5*a)]),[c,l]}function v(e,t){return{maxRandomnessOffset:2,roughness:"highlight"===e?3:1.5,bowing:1,stroke:"#000",strokeWidth:1.5,curveTightness:0,curveFitting:.95,curveStepCount:9,fillStyle:"hachure",fillWeight:-1,hachureAngle:-41,hachureGap:-1,dashOffset:-1,dashGap:-1,zigzagOffset:-1,combineNestedSvgPaths:!1,disableMultiStroke:"double"!==e,disableMultiStrokeFill:!1,seed:t}}class g{constructor(e,t){this._state="unattached",this._resizing=!1,this._seed=Math.floor(0x80000000*Math.random()),this._lastSizes=[],this._animationDelay=0,this._resizeListener=()=>{this._resizing||(this._resizing=!0,setTimeout(()=>{this._resizing=!1,"showing"===this._state&&this.haveRectsChanged()&&this.show()},400))},this._e=e,this._config=JSON.parse(JSON.stringify(t)),this.attach()}get animate(){return this._config.animate}set animate(e){this._config.animate=e}get animationDuration(){return this._config.animationDuration}set animationDuration(e){this._config.animationDuration=e}get iterations(){return this._config.iterations}set iterations(e){this._config.iterations=e}get color(){return this._config.color}set color(e){this._config.color!==e&&(this._config.color=e,this.refresh())}get strokeWidth(){return this._config.strokeWidth}set strokeWidth(e){this._config.strokeWidth!==e&&(this._config.strokeWidth=e,this.refresh())}get padding(){return this._config.padding}set padding(e){this._config.padding!==e&&(this._config.padding=e,this.refresh())}attach(){if("unattached"===this._state&&this._e.parentElement){if(!window.__rno_kf_s){let e=window.__rno_kf_s=document.createElement("style");e.textContent="@keyframes rough-notation-dash { to { stroke-dashoffset: 0; } }",document.head.appendChild(e)}let e=this._svg=document.createElementNS(o,"svg");e.setAttribute("class","rough-annotation");let t=e.style;t.position="absolute",t.top="0",t.left="0",t.overflow="visible",t.pointerEvents="none",t.width="100px",t.height="100px";let n="highlight"===this._config.type;if(this._e.insertAdjacentElement(n?"beforebegin":"afterend",e),this._state="not-showing",n){let e=window.getComputedStyle(this._e).position;e&&"static"!==e||(this._e.style.position="relative")}this.attachListeners()}}detachListeners(){window.removeEventListener("resize",this._resizeListener),this._ro&&this._ro.unobserve(this._e)}attachListeners(){this.detachListeners(),window.addEventListener("resize",this._resizeListener,{passive:!0}),!this._ro&&"ResizeObserver"in window&&(this._ro=new window.ResizeObserver(e=>{for(let t of e)t.contentRect&&this._resizeListener()})),this._ro&&this._ro.observe(this._e)}haveRectsChanged(){if(this._lastSizes.length){let e=this.rects();if(e.length!==this._lastSizes.length)return!0;for(let t=0;t<e.length;t++)if(!this.isSameRect(e[t],this._lastSizes[t]))return!0}return!1}isSameRect(e,t){let n=(e,t)=>Math.round(e)===Math.round(t);return n(e.x,t.x)&&n(e.y,t.y)&&n(e.w,t.w)&&n(e.h,t.h)}isShowing(){return"not-showing"!==this._state}refresh(){this.isShowing()&&!this.pendingRefresh&&(this.pendingRefresh=Promise.resolve().then(()=>{this.isShowing()&&this.show(),delete this.pendingRefresh}))}show(){switch(this._state){case"unattached":break;case"showing":this.hide(),this._svg&&this.render(this._svg,!0);break;case"not-showing":this.attach(),this._svg&&this.render(this._svg,!1)}}
1hide(){if(this._svg)for(;this._svg.lastChild;)this._svg.removeChild(this._svg.lastChild);this._state="not-showing"}remove(){this._svg&&this._svg.parentElement&&this._svg.parentElement.removeChild(this._svg),this._svg=void 0,this._state="unattached",this.detachListeners()}render(e,t){let n=this._config;t&&((n=JSON.parse(JSON.stringify(this._config))).animate=!1);let r=this.rects(),i=0;r.forEach(e=>i+=e.w);let c=n.animationDuration||800,u=0;for(let t=0;t<r.length;t++){let d=c*(r[t].w/i);(function(e,t,n,r,i,c){let u=[],d=n.strokeWidth||2,p=function(e){let t=e.padding;if(t||0===t){if("number"==typeof t)return[t,t,t,t];if(Array.isArray(t)&&t.length)switch(t.length){case 4:return[...t];case 1:return[t[0],t[0],t[0],t[0]];case 2:return[...t,...t];case 3:return[...t,t[1]];default:return[t[0],t[1],t[2],t[3]]}}return[5,5,5,5]}(n),f=void 0===n.animate||!!n.animate,h=n.iterations||2,m=+!!n.rtl,g=v("single",c);switch(n.type){case"underline":{let e=t.y+t.h+p[2];for(let n=m;n<h+m;n++)n%2?u.push(a(t.x+t.w,e,t.x,e,g)):u.push(a(t.x,e,t.x+t.w,e,g));break}case"strike-through":{let e=t.y+t.h/2;for(let n=m;n<h+m;n++)n%2?u.push(a(t.x+t.w,e,t.x,e,g)):u.push(a(t.x,e,t.x+t.w,e,g));break}case"box":{let e=t.x-p[3],n=t.y-p[0],r=t.w+(p[1]+p[3]),o=t.h+(p[0]+p[2]);for(let t=0;t<h;t++){var y,b,w,k;u.push(s([[y=e,b=n],[y+(w=r),b],[y+w,b+(k=o)],[y,b+k]],!0,g))}break}case"bracket":{let e=Array.isArray(n.brackets)?n.brackets:n.brackets?[n.brackets]:["right"],r=t.x-2*p[3],o=t.x+t.w+2*p[1],i=t.y-2*p[0],a=t.y+t.h+2*p[2];for(let n of e){let e;switch(n){case"bottom":e=[[r,t.y+t.h],[r,a],[o,a],[o,t.y+t.h]];break;case"top":e=[[r,t.y],[r,i],[o,i],[o,t.y]];break;case"left":e=[[t.x,i],[r,i],[r,a],[t.x,a]];break;case"right":e=[[t.x+t.w,i],[o,i],[o,a],[t.x+t.w,a]]}e&&u.push(s(e,!1,g))}break}case"crossed-off":{let e=t.x,n=t.y,r=e+t.w,o=n+t.h;for(let t=m;t<h+m;t++)t%2?u.push(a(r,o,e,n,g)):u.push(a(e,n,r,o,g));for(let t=m;t<h+m;t++)t%2?u.push(a(e,o,r,n,g)):u.push(a(r,n,e,o,g));break}case"circle":{let e=v("double",c),n=t.w+(p[1]+p[3]),r=t.h+(p[0]+p[2]),o=t.x-p[3]+n/2,i=t.y-p[0]+r/2,a=Math.floor(h/2),s=h-2*a;for(let t=0;t<a;t++)u.push(l(o,i,n,r,e));for(let e=0;e<s;e++)u.push(l(o,i,n,r,g));break}case"highlight":{let e=v("highlight",c);d=.95*t.h;let n=t.y+t.h/2;for(let r=m;r<h+m;r++)r%2?u.push(a(t.x+t.w,n,t.x,n,e)):u.push(a(t.x,n,t.x+t.w,n,e))}}if(u.length){let t=function(e){let t=[];for(let n of e){let e="";for(let r of n.ops){let n=r.data;switch(r.op){case"move":e.trim()&&t.push(e.trim()),e=`M${n[0]} ${n[1]} `;break;case"bcurveTo":e+=`C${n[0]} ${n[1]}, ${n[2]} ${n[3]}, ${n[4]} ${n[5]} `;break;case"lineTo":e+=`L${n[0]} ${n[1]} `}}e.trim()&&t.push(e.trim())}return t}(u),a=[],s=[],l=0,c=(e,t,n)=>e.setAttribute(t,n);for(let r of t){let t=document.createElementNS(o,"path");if(c(t,"d",r),c(t,"fill","none"),c(t,"stroke",n.color||"currentColor"),c(t,"stroke-width",""+d),f){let e=t.getTotalLength();a.push(e),l+=e}e.appendChild(t),s.push(t)}if(f){let e=0;for(let t=0;t<s.length;t++){let n=s[t],o=a[t],c=l?o/l*i:0,u=r+e,d=n.style;d.strokeDashoffset=""+o,d.strokeDasharray=""+o,d.animation=`rough-notation-dash ${c}ms ease-out ${u}ms forwards`,e+=c}}}})(e,r[t],n,u+this._animationDelay,d,this._seed),u+=d}this._lastSizes=r,this._state="showing"}rects(){let e=[];
1if(this._svg)if(this._config.multiline){let t=this._e.getClientRects();for(let n=0;n<t.length;n++)e.push(this.svgRect(this._svg,t[n]))}else e.push(this.svgRect(this._svg,this._e.getBoundingClientRect()));return e}svgRect(e,t){let n=e.getBoundingClientRect();return{x:(t.x||t.left)-(n.x||n.left),y:(t.y||t.top)-(n.y||n.top),w:t.width,h:t.height}}}var y=function(){return(y=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}).apply(this,arguments)},b=(0,r.createContext)(null),w=(0,r.createContext)(null),k=function(e,t){var n=(0,r.useContext)(b),o=(0,r.useContext)(w),i=(0,r.useRef)({annotation:e,context:n,dispatch:o,order:t});(0,r.useEffect)(function(){var e=i.current,t=e.annotation,n=e.context,r=e.dispatch,o=e.order;if(n&&r)return r({type:"ADD",payload:{annotation:t,order:o}})},[])},S=function(e){var t=e.animate,n=void 0===t||t,o=e.animationDelay,i=void 0===o?0:o,a=e.animationDuration,s=void 0===a?800:a,l=e.brackets,c=e.children,u=e.color,d=e.customElement,p=e.getAnnotationObject,f=e.iterations,h=e.multiline,m=e.order,v=e.padding,b=void 0===v?5:v,w=e.show,S=void 0!==w&&w,x=e.strokeWidth,E=void 0===x?1:x,A=e.type,C=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}(e,["animate","animationDelay","animationDuration","brackets","children","color","customElement","getAnnotationObject","iterations","multiline","order","padding","show","strokeWidth","type"]),T=(0,r.useRef)(null),O=(0,r.useRef)(),P=(0,r.useRef)({playing:!1,timeout:null}),R=(0,r.useRef)({animate:n,animationDuration:s,brackets:l,color:u,getAnnotationObject:p,iterations:void 0===f?2:f,multiline:void 0!==h&&h,padding:b,strokeWidth:E,type:void 0===A?"underline":A}),M=(0,r.useCallback)(function(){P.current.timeout||(P.current.timeout=window.setTimeout(function(){var e,t;P.current.playing=!0,null==(t=null==(e=O.current)?void 0:e.show)||t.call(e),window.setTimeout(function(){P.current.playing=!1,P.current.timeout=null},s)},i))},[i,s]),_=(0,r.useCallback)(function(){var e,t;null==(t=null==(e=O.current)?void 0:e.hide)||t.call(e),P.current.playing=!1,P.current.timeout&&(clearTimeout(P.current.timeout),P.current.timeout=null)},[]);return k({getAnnotation:(0,r.useCallback)(function(){return O.current},[O]),show:M,hide:_},"string"==typeof m?parseInt(m):m),(0,r.useEffect)(function(){var e=R.current,t=e.getAnnotationObject;return O.current=new g(T.current,e),t&&t(O.current),function(){var e,t;null==(t=null==(e=O.current)?void 0:e.remove)||t.call(e)}},[]),(0,r.useEffect)(function(){S?M():_()},[O,S,i,P,s,M,_]),(0,r.useEffect)(function(){O.current&&(O.current.animate=n,O.current.animationDuration=s,O.current.color=u,O.current.strokeWidth=E,O.current.padding=b)},[O,n,s,u,E,b]),r.createElement(void 0===d?"span":d,y({ref:T},C),c)}},32e3:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CARRIAGE_RETURN_PLACEHOLDER_REGEX=t.CARRIAGE_RETURN_PLACEHOLDER=t.CARRIAGE_RETURN_REGEX=t.CARRIAGE_RETURN=t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES=void 0,t.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"],t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES.reduce(function(e,t){return e[t.toLowerCase()]=t,e},{}),t.CARRIAGE_RETURN="\r",t.CARRIAGE_RETURN_REGEX=RegExp(t.CARRIAGE_RETURN,"g"),t.CARRIAGE_RETURN_PLACEHOLDER="__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_".concat(Date.now(),"__"),t.CARRIAGE_RETURN_PLACEHOLDER_REGEX=RegExp(t.CARRIAGE_RETURN_PLACEHOLDER,"g")},32517:(e,t,n)=>{var r=n(58808),o=function(e){var t="",n=Object.keys(e);
1return n.forEach(function(o,i){var a,s=e[o];a=o=r(o),/[height|width]$/.test(a)&&"number"==typeof s&&(s+="px"),!0===s?t+=o:!1===s?t+="not "+o:t+="("+o+": "+s+")",i<n.length-1&&(t+=" and ")}),t};e.exports=function(e){var t="";return"string"==typeof e?e:e instanceof Array?(e.forEach(function(n,r){t+=o(n),r<e.length-1&&(t+=", ")}),t):o(e)}},36661:function(e,t,n){"use strict";var r,o=this&&this.__extends||(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])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw 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)}),i=this&&this.__assign||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}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.CDATA=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var a=n(60087),s=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),S(this,e)},e}();t.Node=s;var l=function(e){function t(t){var n=e.call(this)||this;return n.data=t,n}return o(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(s);t.DataNode=l;var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Text,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t}(l);t.Text=c;var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Comment,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t}(l);t.Comment=u;var d=function(e){function t(t,n){var r=e.call(this,n)||this;return r.name=t,r.type=a.ElementType.Directive,r}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(l);t.ProcessingInstruction=d;var p=function(e){function t(t){var n=e.call(this)||this;return n.children=t,n}return o(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!=(e=this.children[0])?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(s);t.NodeWithChildren=p;var f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.CDATA,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(p);t.CDATA=f;var h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Root,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(p);t.Document=h;var m=function(e){function t(t,n,r,o){void 0===r&&(r=[]),void 0===o&&(o="script"===t?a.ElementType.Script:"style"===t?a.ElementType.Style:a.ElementType.Tag);var i=e.call(this,r)||this;return i.name=t,i.attribs=n,i.type=o,i}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1}
1,enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map(function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null==(n=e["x-attribsNamespace"])?void 0:n[t],prefix:null==(r=e["x-attribsPrefix"])?void 0:r[t]}})},enumerable:!1,configurable:!0}),t}(p);function v(e){return(0,a.isTag)(e)}function g(e){return e.type===a.ElementType.CDATA}function y(e){return e.type===a.ElementType.Text}function b(e){return e.type===a.ElementType.Comment}function w(e){return e.type===a.ElementType.Directive}function k(e){return e.type===a.ElementType.Root}function S(e,t){if(void 0===t&&(t=!1),y(e))n=new c(e.data);else if(b(e))n=new u(e.data);else if(v(e)){var n,r=t?x(e.children):[],o=new m(e.name,i({},e.attribs),r);r.forEach(function(e){return e.parent=o}),null!=e.namespace&&(o.namespace=e.namespace),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]=i({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]=i({},e["x-attribsPrefix"])),n=o}else if(g(e)){var r=t?x(e.children):[],a=new f(r);r.forEach(function(e){return e.parent=a}),n=a}else if(k(e)){var r=t?x(e.children):[],s=new h(r);r.forEach(function(e){return e.parent=s}),e["x-mode"]&&(s["x-mode"]=e["x-mode"]),n=s}else if(w(e)){var l=new d(e.name,e.data);null!=e["x-name"]&&(l["x-name"]=e["x-name"],l["x-publicId"]=e["x-publicId"],l["x-systemId"]=e["x-systemId"]),n=l}else throw Error("Not implemented yet: ".concat(e.type));return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function x(e){for(var t=e.map(function(e){return S(e,!0)}),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}t.Element=m,t.isTag=v,t.isCDATA=g,t.isText=y,t.isComment=b,t.isDirective=w,t.isDocument=k,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=S},41873:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatAttributes=i,t.escapeSpecialCharacters=function(e){return e.replace(o.CARRIAGE_RETURN_REGEX,o.CARRIAGE_RETURN_PLACEHOLDER)},t.revertEscapedCharacters=a,t.formatDOM=function e(t,n,s){void 0===n&&(n=null);for(var l,c=[],u=0,d=t.length;u<d;u++){var p=t[u];switch(p.nodeType){case 1:var f=function(e){var t,n=(t=e=e.toLowerCase(),o.CASE_SENSITIVE_TAG_NAMES_MAP[t]);return n||e}(p.nodeName);(l=new r.Element(f,i(p.attributes))).children=e("template"===f?p.content.childNodes:p.childNodes,l);break;case 3:l=new r.Text(a(p.nodeValue));break;case 8:l=new r.Comment(p.nodeValue);break;default:continue}var h=c[u-1]||null;h&&(h.next=l),l.parent=n,l.prev=h,l.next=null,c.push(l)}return s&&((l=new r.ProcessingInstruction(s.substring(0,s.indexOf(" ")).toLowerCase(),s)).next=c[0]||null,l.parent=n,c.unshift(l),c[1]&&(c[1].prev=c[0])),c};var r=n(17663),o=n(32e3);function i(e){for(var t={},n=0,r=e.length;n<r;n++){var o=e[n];t[o.name]=o.value}return t}function a(e){return e.replace(o.CARRIAGE_RETURN_PLACEHOLDER_REGEX,o.CARRIAGE_RETURN)}},42414:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n,f=(e=(0,o.escapeSpecialCharacters)(e)).match(l),h=f&&f[1]?f[1].toLowerCase():"";switch(h){case i:var m=p(e);if(!c.test(e)){var v=m.querySelector(a);null==(t=null==v?void 0:v.parentNode)||t.removeChild(v)}if(!u.test(e)){var v=m.querySelector(s);null==(n=null==v?void 0:v.parentNode)||n.removeChild(v)}return m.querySelectorAll(i);case a:case s:var g=d(e).querySelectorAll(h);if(u.test(e)&&c.test(e))return g[0].parentNode.childNodes;return g;default:if(r)return r(e);var v=d(e,s).querySelector(s);return v.childNodes}};var r,o=n(41873),i="html",a="head",s="body",l=/<([a-zA-Z]+[0-9]?)/,c=/<head[^]*>/i,u=/<body[^]*>/i,d=function(e,t){throw Error("This browser does not support `document.implementation.createHTMLDocument`")},p=function(e,t){throw Error("This browser does not support `DOMParser.prototype.parseFromString`")},f="object"==typeof window&&window.DOMParser;if("function"==typeof f){var h=new f;d=p=function(e,t){return t&&(e="<".concat(t,">").concat(e,"</").concat(t,">")),h.parseFromString(e,"text/html")}}if("object"==typeof document&&document.implementation){var m=document.implementation.createHTMLDocument();d=function(e,t){if(t){var n=m.documentElement.querySelector(t);return n&&(n.innerHTML=e),m}return m.documentElement.innerHTML=e,m}}var v="object"==typeof document&&document.createElement("template");v&&v.content&&(r=function(e){return v.innerHTML=e,v.content.childNodes})},44958:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esMo
1dule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.htmlToDOM=t.domToReact=t.attributesToProps=t.Text=t.ProcessingInstruction=t.Element=t.Comment=void 0,t.default=function(e,t){if("string"!=typeof e)throw TypeError("First argument must be a string");return e?(0,i.default)((0,o.default)(e,(null==t?void 0:t.htmlparser2)||s),t):[]};var o=r(n(9725));t.htmlToDOM=o.default,t.attributesToProps=r(n(85724)).default;var i=r(n(18266));t.domToReact=i.default;var a=n(17663);Object.defineProperty(t,"Comment",{enumerable:!0,get:function(){return a.Comment}}),Object.defineProperty(t,"Element",{enumerable:!0,get:function(){return a.Element}}),Object.defineProperty(t,"ProcessingInstruction",{enumerable:!0,get:function(){return a.ProcessingInstruction}}),Object.defineProperty(t,"Text",{enumerable:!0,get:function(){return a.Text}});var s={lowerCaseAttributeNames:!1}},49677:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,o=/^[^-]+$/,i=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,s=function(e,t){return t.toUpperCase()},l=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){var c;return(void 0===t&&(t={}),!(c=e)||o.test(c)||n.test(c))?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(a,l):e.replace(i,l)).replace(r,s))}},54185:function(e,t,n){"use strict";var r=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(n(71729)),o=n(49677);function i(e,t){var n={};return e&&"string"==typeof e&&(0,r.default)(e,function(e,r){e&&r&&(n[(0,o.camelCase)(e,t)]=r)}),n}i.default=i,e.exports=i},56716:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g;function c(e){return e?e.replace(l,""):""}e.exports=function(e,l){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];l=l||{};var u=1,d=1;function p(e){var t=e.match(n);t&&(u+=t.length);var r=e.lastIndexOf("\n");d=~r?e.length-r:d+e.length}function f(){var e={line:u,column:d};return function(t){return t.position=new h(e),g(r),t}}function h(e){this.start=e,this.end={line:u,column:d},this.source=l.source}h.prototype.content=e;var m=[];function v(t){var n=Error(l.source+":"+u+":"+d+": "+t);if(n.reason=t,n.filename=l.source,n.line=u,n.column=d,n.source=e,l.silent)m.push(n);else throw n}function g(t){var n=t.exec(e);if(n){var r=n[0];return p(r),e=e.slice(r.length),n}}function y(e){var t;for(e=e||[];t=b();)!1!==t&&e.push(t);return e}function b(){var t=f();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;""!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return v("End of comment missing");var r=e.slice(2,n-2);return d+=2,p(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}g(r);var w,k=[];for(y(k);w=function(){var e=f(),n=g(o);if(n){if(b(),!g(i))return v("property missing ':'");var r=g(a),l=e({type:"declaration",property:c(n[0].replace(t,"")),value:r?c(r[0].replace(t,"")):""});return g(s),l}}();)!1!==w&&(k.push(w),y(k));return k}},58808:e=>{e.exports=function(e){return e.replace(/[A-Z]/g,function(e){return"-"+e.toLowerCase()}).toLowerCase()}},60087:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(n=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},t.Root=n.Root,t.Text=n.Text,t.Directive=n.Directive,t.Comment=n.Comment,t.Script=n.Script,t.Style=n.Style,t.Tag=n.Tag,t.CDATA=n.CDATA,t.Doctype=n.Doctype},70687:(e,t)=>{t.SAME=0,t.CAMELCASE=1,t.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInl
1ine:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode
1-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}},71729:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=null;if(!e||"string"!=typeof e)return n;var r=(0,o.default)(e),i="function"==typeof t;return r.forEach(function(e){if("declaration"===e.type){var r=e.property,o=e.value;i?t(r,o,e):o&&((n=n||{})[r]=o)}}),n};var o=r(n(56716))},85724:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){void 0===e&&(e={});var n={},c=!!(e.type&&s[e.type]);for(var u in e){var d=e[u];if((0,r.isCustomAttribute)(u)){n[u]=d;continue}var p=u.toLowerCase(),f=l(p);if(f){var h=(0,r.getPropertyInfo)(f);switch(i.includes(f)&&a.includes(t)&&!c&&(f=l("default"+p)),n[f]=d,h&&h.type){case r.BOOLEAN:n[f]=!0;break;case r.OVERLOADED_BOOLEAN:""===d&&(n[f]=!0)}continue}o.PRESERVE_CUSTOM_ATTRIBUTES&&(n[u]=d)}return(0,o.setStyleProp)(e.style,n),n};var r=n(4272),o=n(89054),i=["checked","value"],a=["input","select","textarea"],s={reset:!0,submit:!0};function l(e){return r.possibleStandardNames[e]}},89054:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.returnFirstArg=t.canTextBeChildOfNode=t.ELEMENTS_WITH_NO_TEXT_CHILDREN=t.PRESERVE_CUSTOM_ATTRIBUTES=void 0,t.isCustomComponent=function(e,t){return e.includes("-")?!a.has(e):!!(t&&"string"==typeof t.is)},t.setStyleProp=function(e,t){if("string"==typeof e){if(!e.trim()){t.style={};return}try{t.style=(0,i.default)(e,s)}catch(e){t.style={}}}};var o=n(12115),i=r(n(54185)),a=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]),s={reactCompat:!0};t.PRESERVE_CUSTOM_ATTRIBUTES=Number(o.version.split(".")[0])>=16,t.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]),t.canTextBeChildOfNode=function(e){return!t.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(e.name)},t.returnFirstArg=function(e){return e}}}]); 2//# sourceMappingURL=901-8fb15c202d7bf311.js.map
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.