UNPKG

@uiengine/ui

Version:
2 lines 65.9 kB
/*! For license information please see vendor_other.91011de.js.LICENSE.txt */ (self.webpackChunk_uiengine_ui=self.webpackChunk_uiengine_ui||[]).push([[130],{1062:function(e){var t;t=function(){return function(){var e={686:function(e,t,n){"use strict";n.d(t,{default:function(){return M}});var r=n(279),o=n.n(r),i=n(370),a=n.n(i),c=n(817),s=n.n(c);function u(e){try{return document.execCommand(e)}catch(e){return!1}}var l=function(e){var t=s()(e);return u("cut"),t},f=function(e,t){var n=function(e){var t="rtl"===document.documentElement.getAttribute("dir"),n=document.createElement("textarea");n.style.fontSize="12pt",n.style.border="0",n.style.padding="0",n.style.margin="0",n.style.position="absolute",n.style[t?"right":"left"]="-9999px";var r=window.pageYOffset||document.documentElement.scrollTop;return n.style.top="".concat(r,"px"),n.setAttribute("readonly",""),n.value=e,n}(e);t.container.appendChild(n);var r=s()(n);return u("copy"),n.remove(),r},d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body},n="";return"string"==typeof e?n=f(e,t):e instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(null==e?void 0:e.type)?n=f(e.value,t):(n=s()(e),u("copy")),n};function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}var m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.action,n=void 0===t?"copy":t,r=e.container,o=e.target,i=e.text;if("copy"!==n&&"cut"!==n)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==o){if(!o||"object"!==h(o)||1!==o.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===n&&o.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===n&&(o.hasAttribute("readonly")||o.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}return i?d(i,{container:r}):o?"cut"===n?l(o):d(o,{container:r}):void 0};function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function g(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=b(e);if(t){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,n)}}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}function w(e,t){var n="data-clipboard-".concat(e);if(t.hasAttribute(n))return t.getAttribute(n)}var x=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}(i,e);var t,n,r,o=v(i);function i(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(n=o.call(this)).resolveOptions(t),n.listenClick(e),n}return t=i,n=[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===p(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=a()(e,"click",(function(e){return t.onClick(e)}))}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget,n=this.action(t)||"copy",r=m({action:n,container:this.container,target:this.target(t),text:this.text(t)});this.emit(r?"success":"error",{action:n,text:r,trigger:t,clearSelection:function(){t&&t.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(e){return w("action",e)}},{key:"defaultTarget",value:function(e){var t=w("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return w("text",e)}},{key:"destroy",value:function(){this.listener.destroy()}}],r=[{key:"copy",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body};return d(e,t)}},{key:"cut",value:function(e){return l(e)}},{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach((function(e){n=n&&!!document.queryCommandSupported(e)})),n}}],n&&g(t.prototype,n),r&&g(t,r),i}(o()),M=x},828:function(e){if("undefined"!=typeof Element&&!Element.prototype.matches){var t=Element.prototype;t.matches=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}e.exports=function(e,t){for(;e&&9!==e.nodeType;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}},438:function(e,t,n){var r=n(828);function o(e,t,n,r,o){var a=i.apply(this,arguments);return e.addEventListener(n,a,o),{destroy:function(){e.removeEventListener(n,a,o)}}}function i(e,t,n,o){return function(n){n.delegateTarget=r(n.target,t),n.delegateTarget&&o.call(e,n)}}e.exports=function(e,t,n,r,i){return"function"==typeof e.addEventListener?o.apply(null,arguments):"function"==typeof n?o.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,(function(e){return o(e,t,n,r,i)})))}},879:function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var n=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"==typeof e||e instanceof String},t.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},370:function(e,t,n){var r=n(879),o=n(438);e.exports=function(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!r.string(t))throw new TypeError("Second argument must be a String");if(!r.fn(n))throw new TypeError("Third argument must be a Function");if(r.node(e))return function(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}(e,t,n);if(r.nodeList(e))return function(e,t,n){return Array.prototype.forEach.call(e,(function(e){e.addEventListener(t,n)})),{destroy:function(){Array.prototype.forEach.call(e,(function(e){e.removeEventListener(t,n)}))}}}(e,t,n);if(r.string(e))return function(e,t,n){return o(document.body,e,t,n)}(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},817:function(e){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),o=document.createRange();o.selectNodeContents(e),r.removeAllRanges(),r.addRange(o),t=r.toString()}return t}},279:function(e){function t(){}t.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function o(){r.off(e,o),t.apply(n,arguments)}return o._=t,this.on(e,o,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,o=n.length;r<o;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],o=[];if(r&&t)for(var i=0,a=r.length;i<a;i++)r[i].fn!==t&&r[i].fn._!==t&&o.push(r[i]);return o.length?n[e]=o:delete n[e],this}},e.exports=t,e.exports.TinyEmitter=t}},t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}return n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n(686)}().default},e.exports=t()},9664:function(e){"use strict";var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===n}(e)}(e)};var n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(e,t){return!1!==t.clone&&t.isMergeableObject(e)?s((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function o(e,t,n){return e.concat(t).map((function(e){return r(e,n)}))}function i(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function a(e,t){try{return t in e}catch(e){return!1}}function c(e,t,n){var o={};return n.isMergeableObject(e)&&i(e).forEach((function(t){o[t]=r(e[t],n)})),i(t).forEach((function(i){(function(e,t){return a(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,i)||(a(e,i)&&n.isMergeableObject(t[i])?o[i]=function(e,t){if(!t.customMerge)return s;var n=t.customMerge(e);return"function"==typeof n?n:s}(i,n)(e[i],t[i],n):o[i]=r(t[i],n))})),o}function s(e,n,i){(i=i||{}).arrayMerge=i.arrayMerge||o,i.isMergeableObject=i.isMergeableObject||t,i.cloneUnlessOtherwiseSpecified=r;var a=Array.isArray(n);return a===Array.isArray(e)?a?i.arrayMerge(e,n,i):c(e,n,i):r(n,i)}s.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return s(e,n,t)}),{})};var u=s;e.exports=u},8089:function(e,t,n){"use strict";var r=n(4893);function o(e,t){for(var n in t)i(t,n)&&(e[n]=t[n])}function i(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e){r(e)||(e={});for(var t=arguments.length,n=1;n<t;n++){var i=arguments[n];r(i)&&o(e,i)}return e}},4893:function(e){"use strict";e.exports=function(e){return null!=e&&("object"==typeof e||"function"==typeof e)}},7084:function(e,t,n){"use strict";var r,o=n(8089),i={},a={default:{"&quot;":'"',"&#34;":'"',"&apos;":"'","&#39;":"'","&amp;":"&","&#38;":"&","&gt;":">","&#62;":">","&lt;":"<","&#60;":"<"},extras:{"&cent;":"¢","&#162;":"¢","&copy;":"©","&#169;":"©","&euro;":"€","&#8364;":"€","&pound;":"£","&#163;":"£","&reg;":"®","&#174;":"®","&yen;":"¥","&#165;":"¥"}};function c(e,t){if(!function(e){return e&&"string"==typeof e}(e))return"";var n=a[t||"default"],r=function(e,t){if(i[e])return i[e];var n=Object.keys(t).join("|"),r=new RegExp("(?=("+n+"))\\1","g");return i[e]=r,r}(t,n);return e.replace(r,(function(e){return n[e]}))}Object.defineProperty(a,"all",{get:function(){return r||(r=o({},a.default,a.extras))}}),c.chars=a.default,c.extras=a.extras,Object.defineProperty(c,"all",{get:function(){return a.all}}),e.exports=c},5134:function(e,t,n){const r=n(7514);e.exports={iframeResize:r,iframeResizer:r,contentWindow:n(4289)}},4289:function(e){!function(t){if("undefined"!=typeof window){var n=!0,r=10,o="",i=0,a="",c=null,s="",u=!1,l={resize:1,click:1},f=128,d=!0,h=1,m="bodyOffset",p=m,g=!0,y="",v={},b=32,w=null,x=!1,M=!1,E="[iFrameSizer]",S=E.length,O="",k={max:1,min:1,bodyScroll:1,documentElementScroll:1},L="child",I=!0,T=window.parent,A="*",N=0,C=!1,R=null,j=16,F=1,z="scroll",_=z,P=window,W=function(){ce("onMessage function not defined")},$=function(){},H=function(){},q={height:function(){return ce("Custom height calculation function not defined"),document.documentElement.offsetHeight},width:function(){return ce("Custom width calculation function not defined"),document.body.scrollWidth}},D={},B=!1;try{var U=Object.create({},{passive:{get:function(){B=!0}}});window.addEventListener("test",ne,U),window.removeEventListener("test",ne,U)}catch(e){}var V,J,Y,G,K,X,Q,Z={bodyOffset:function(){return document.body.offsetHeight+ve("marginTop")+ve("marginBottom")},offset:function(){return Z.bodyOffset()},bodyScroll:function(){return document.body.scrollHeight},custom:function(){return q.height()},documentElementOffset:function(){return document.documentElement.offsetHeight},documentElementScroll:function(){return document.documentElement.scrollHeight},max:function(){return Math.max.apply(null,we(Z))},min:function(){return Math.min.apply(null,we(Z))},grow:function(){return Z.max()},lowestElement:function(){return Math.max(Z.bodyOffset()||Z.documentElementOffset(),be("bottom",Me()))},taggedElement:function(){return xe("bottom","data-iframe-height")}},ee={bodyScroll:function(){return document.body.scrollWidth},bodyOffset:function(){return document.body.offsetWidth},custom:function(){return q.width()},documentElementScroll:function(){return document.documentElement.scrollWidth},documentElementOffset:function(){return document.documentElement.offsetWidth},scroll:function(){return Math.max(ee.bodyScroll(),ee.documentElementScroll())},max:function(){return Math.max.apply(null,we(ee))},min:function(){return Math.min.apply(null,we(ee))},rightMostElement:function(){return be("right",Me())},taggedElement:function(){return xe("right","data-iframe-width")}},te=(V=Ee,K=null,X=0,Q=function(){X=Date.now(),K=null,G=V.apply(J,Y),K||(J=Y=null)},function(){var e=Date.now();X||(X=e);var t=j-(e-X);return J=this,Y=arguments,t<=0||t>j?(K&&(clearTimeout(K),K=null),X=e,G=V.apply(J,Y),K||(J=Y=null)):K||(K=setTimeout(Q,t)),G});"iframeResizer"in window||(window.iframeChildListener=function(e){Te({data:e,sameDomian:!0})},re(window,"message",Te),re(window,"readystatechange",Ae),Ae())}function ne(){}function re(e,t,n,r){e.addEventListener(t,n,!!B&&(r||{}))}function oe(e){return e.charAt(0).toUpperCase()+e.slice(1)}function ie(e){return E+"["+O+"] "+e}function ae(e){x&&"object"==typeof window.console&&console.log(ie(e))}function ce(e){"object"==typeof window.console&&console.warn(ie(e))}function se(){var e;!function(){function e(e){return"true"===e}var r=y.slice(S).split(":");O=r[0],i=t===r[1]?i:Number(r[1]),u=t===r[2]?u:e(r[2]),x=t===r[3]?x:e(r[3]),b=t===r[4]?b:Number(r[4]),n=t===r[6]?n:e(r[6]),a=r[7],p=t===r[8]?p:r[8],o=r[9],s=r[10],N=t===r[11]?N:Number(r[11]),v.enable=t!==r[12]&&e(r[12]),L=t===r[13]?L:r[13],_=t===r[14]?_:r[14],M=t===r[15]?M:e(r[15])}(),ae("Initialising iFrame ("+window.location.href+")"),function(){function e(){var e=window.iFrameResizer;ae("Reading data from page: "+JSON.stringify(e)),Object.keys(e).forEach(ue,e),W="onMessage"in e?e.onMessage:W,$="onReady"in e?e.onReady:$,A="targetOrigin"in e?e.targetOrigin:A,p="heightCalculationMethod"in e?e.heightCalculationMethod:p,_="widthCalculationMethod"in e?e.widthCalculationMethod:_}function t(e,t){return"function"==typeof e&&(ae("Setup custom "+t+"CalcMethod"),q[t]=e,e="custom"),e}"iFrameResizer"in window&&Object===window.iFrameResizer.constructor&&(e(),p=t(p,"height"),_=t(_,"width"));ae("TargetOrigin for parent set to: "+A)}(),function(){t===a&&(a=i+"px");le("margin",function(e,t){-1!==t.indexOf("-")&&(ce("Negative CSS value ignored for "+e),t="");return t}("margin",a))}(),le("background",o),le("padding",s),(e=document.createElement("div")).style.clear="both",e.style.display="block",e.style.height="0",document.body.appendChild(e),me(),pe(),document.documentElement.style.height="",document.body.style.height="",ae('HTML & body height set to "auto"'),ae("Enable public methods"),P.parentIFrame={autoResize:function(e){return!0===e&&!1===n?(n=!0,ge()):!1===e&&!0===n&&(n=!1,de("remove"),null!==c&&c.disconnect(),clearInterval(w)),Ie(0,0,"autoResize",JSON.stringify(n)),n},close:function(){Ie(0,0,"close")},getId:function(){return O},getPageInfo:function(e){"function"==typeof e?(H=e,Ie(0,0,"pageInfo")):(H=function(){},Ie(0,0,"pageInfoStop"))},moveToAnchor:function(e){v.findTarget(e)},reset:function(){Le("parentIFrame.reset")},scrollTo:function(e,t){Ie(t,e,"scrollTo")},scrollToOffset:function(e,t){Ie(t,e,"scrollToOffset")},sendMessage:function(e,t){Ie(0,0,"message",JSON.stringify(e),t)},setHeightCalculationMethod:function(e){p=e,me()},setWidthCalculationMethod:function(e){_=e,pe()},setTargetOrigin:function(e){ae("Set targetOrigin: "+e),A=e},size:function(e,t){Se("size","parentIFrame.size("+(e||"")+(t?","+t:"")+")",e,t)}},function(){if(!0!==M)return;function e(e){Ie(0,0,e.type,e.screenY+":"+e.screenX)}function t(t,n){ae("Add event listener: "+n),re(window.document,t,e)}t("mouseenter","Mouse Enter"),t("mouseleave","Mouse Leave")}(),ge(),v=function(){function e(){return{x:window.pageXOffset===t?document.documentElement.scrollLeft:window.pageXOffset,y:window.pageYOffset===t?document.documentElement.scrollTop:window.pageYOffset}}function n(t){var n=t.getBoundingClientRect(),r=e();return{x:parseInt(n.left,10)+parseInt(r.x,10),y:parseInt(n.top,10)+parseInt(r.y,10)}}function r(e){function r(e){var t=n(e);ae("Moving to in page link (#"+o+") at x: "+t.x+" y: "+t.y),Ie(t.y,t.x,"scrollToOffset")}var o=e.split("#")[1]||e,i=decodeURIComponent(o),a=document.getElementById(i)||document.getElementsByName(i)[0];t===a?(ae("In page link (#"+o+") not found in iFrame, so sending to parent"),Ie(0,0,"inPageLink","#"+o)):r(a)}function o(){var e=window.location.hash,t=window.location.href;""!==e&&"#"!==e&&r(t)}function i(){function e(e){function t(e){e.preventDefault(),r(this.getAttribute("href"))}"#"!==e.getAttribute("href")&&re(e,"click",t)}Array.prototype.forEach.call(document.querySelectorAll('a[href^="#"]'),e)}function a(){re(window,"hashchange",o)}function c(){setTimeout(o,f)}function s(){Array.prototype.forEach&&document.querySelectorAll?(ae("Setting up location.hash handlers"),i(),a(),c()):ce("In page linking not fully supported in this browser! (See README.md for IE8 workaround)")}v.enable?s():ae("In page linking not enabled");return{findTarget:r}}(),Se("init","Init message from host page"),$()}function ue(e){var t=e.split("Callback");if(2===t.length){var n="on"+t[0].charAt(0).toUpperCase()+t[0].slice(1);this[n]=this[e],delete this[e],ce("Deprecated: '"+e+"' has been renamed '"+n+"'. The old method will be removed in the next major version.")}}function le(e,n){t!==n&&""!==n&&"null"!==n&&(document.body.style[e]=n,ae("Body "+e+' set to "'+n+'"'))}function fe(e){var t={add:function(t){function n(){Se(e.eventName,e.eventType)}D[t]=n,re(window,t,n,{passive:!0})},remove:function(e){var t,n,r,o=D[e];delete D[e],t=window,n=e,r=o,t.removeEventListener(n,r,!1)}};e.eventNames&&Array.prototype.map?(e.eventName=e.eventNames[0],e.eventNames.map(t[e.method])):t[e.method](e.eventName),ae(oe(e.method)+" event listener: "+e.eventType)}function de(e){fe({method:e,eventType:"Animation Start",eventNames:["animationstart","webkitAnimationStart"]}),fe({method:e,eventType:"Animation Iteration",eventNames:["animationiteration","webkitAnimationIteration"]}),fe({method:e,eventType:"Animation End",eventNames:["animationend","webkitAnimationEnd"]}),fe({method:e,eventType:"Input",eventName:"input"}),fe({method:e,eventType:"Mouse Up",eventName:"mouseup"}),fe({method:e,eventType:"Mouse Down",eventName:"mousedown"}),fe({method:e,eventType:"Orientation Change",eventName:"orientationchange"}),fe({method:e,eventType:"Print",eventNames:["afterprint","beforeprint"]}),fe({method:e,eventType:"Ready State Change",eventName:"readystatechange"}),fe({method:e,eventType:"Touch Start",eventName:"touchstart"}),fe({method:e,eventType:"Touch End",eventName:"touchend"}),fe({method:e,eventType:"Touch Cancel",eventName:"touchcancel"}),fe({method:e,eventType:"Transition Start",eventNames:["transitionstart","webkitTransitionStart","MSTransitionStart","oTransitionStart","otransitionstart"]}),fe({method:e,eventType:"Transition Iteration",eventNames:["transitioniteration","webkitTransitionIteration","MSTransitionIteration","oTransitionIteration","otransitioniteration"]}),fe({method:e,eventType:"Transition End",eventNames:["transitionend","webkitTransitionEnd","MSTransitionEnd","oTransitionEnd","otransitionend"]}),"child"===L&&fe({method:e,eventType:"IFrame Resized",eventName:"resize"})}function he(e,t,n,r){return t!==e&&(e in n||(ce(e+" is not a valid option for "+r+"CalculationMethod."),e=t),ae(r+' calculation method set to "'+e+'"')),e}function me(){p=he(p,m,Z,"height")}function pe(){_=he(_,z,ee,"width")}function ge(){var e;!0===n?(de("add"),e=0>b,window.MutationObserver||window.WebKitMutationObserver?e?ye():c=function(){function e(e){function t(e){!1===e.complete&&(ae("Attach listeners to "+e.src),e.addEventListener("load",o,!1),e.addEventListener("error",i,!1),s.push(e))}"attributes"===e.type&&"src"===e.attributeName?t(e.target):"childList"===e.type&&Array.prototype.forEach.call(e.target.querySelectorAll("img"),t)}function t(e){s.splice(s.indexOf(e),1)}function n(e){ae("Remove listeners from "+e.src),e.removeEventListener("load",o,!1),e.removeEventListener("error",i,!1),t(e)}function r(e,t,r){n(e.target),Se(t,r+": "+e.target.src)}function o(e){r(e,"imageLoad","Image loaded")}function i(e){r(e,"imageLoadFailed","Image load failed")}function a(t){Se("mutationObserver","mutationObserver: "+t[0].target+" "+t[0].type),t.forEach(e)}function c(){var e=document.querySelector("body"),t={attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0};return l=new u(a),ae("Create body MutationObserver"),l.observe(e,t),l}var s=[],u=window.MutationObserver||window.WebKitMutationObserver,l=c();return{disconnect:function(){"disconnect"in l&&(ae("Disconnect body MutationObserver"),l.disconnect(),s.forEach(n))}}}():(ae("MutationObserver not supported in this browser!"),ye())):ae("Auto Resize disabled")}function ye(){0!==b&&(ae("setInterval: "+b+"ms"),w=setInterval((function(){Se("interval","setInterval: "+b)}),Math.abs(b)))}function ve(e,t){var n=0;return t=t||document.body,n=null===(n=document.defaultView.getComputedStyle(t,null))?0:n[e],parseInt(n,r)}function be(e,t){for(var n=t.length,r=0,o=0,i=oe(e),a=Date.now(),c=0;c<n;c++)(r=t[c].getBoundingClientRect()[e]+ve("margin"+i,t[c]))>o&&(o=r);return a=Date.now()-a,ae("Parsed "+n+" HTML elements"),ae("Element position calculated in "+a+"ms"),function(e){e>j/2&&ae("Event throttle increased to "+(j=2*e)+"ms")}(a),o}function we(e){return[e.bodyOffset(),e.bodyScroll(),e.documentElementOffset(),e.documentElementScroll()]}function xe(e,t){var n=document.querySelectorAll("["+t+"]");return 0===n.length&&(ce("No tagged elements ("+t+") found on page"),document.querySelectorAll("body *")),be(e,n)}function Me(){return document.querySelectorAll("body *")}function Ee(e,n,r,o){var i,a;!function(){function e(e,t){return!(Math.abs(e-t)<=N)}return i=t===r?Z[p]():r,a=t===o?ee[_]():o,e(h,i)||u&&e(F,a)}()&&"init"!==e?!(e in{init:1,interval:1,size:1})&&(p in k||u&&_ in k)?Le(n):e in{interval:1}||ae("No change in size detected"):(Oe(),Ie(h=i,F=a,e))}function Se(e,t,n,r){C&&e in l?ae("Trigger event cancelled: "+e):(e in{reset:1,resetPage:1,init:1}||ae("Trigger event: "+t),"init"===e?Ee(e,t,n,r):te(e,t,n,r))}function Oe(){C||(C=!0,ae("Trigger event lock on")),clearTimeout(R),R=setTimeout((function(){C=!1,ae("Trigger event lock off"),ae("--")}),f)}function ke(e){h=Z[p](),F=ee[_](),Ie(h,F,e)}function Le(e){var t=p;p=m,ae("Reset trigger event: "+e),Oe(),ke("reset"),p=t}function Ie(e,n,r,o,i){var a;!0===I&&(t===i?i=A:ae("Message targetOrigin: "+i),ae("Sending message to host page ("+(a=O+":"+e+":"+n+":"+r+(t===o?"":":"+o))+")"),T.postMessage(E+a,i))}function Te(n){var r={init:function(){y=n.data,T=n.source,se(),d=!1,setTimeout((function(){g=!1}),f)},reset:function(){g?ae("Page reset ignored by init"):(ae("Page size reset by host page"),ke("resetPage"))},resize:function(){Se("resizeParent","Parent window requested size check")},moveToAnchor:function(){v.findTarget(i())},inPageLink:function(){this.moveToAnchor()},pageInfo:function(){var e=i();ae("PageInfoFromParent called from parent: "+e),H(JSON.parse(e)),ae(" --")},message:function(){var e=i();ae("onMessage called from parent: "+e),W(JSON.parse(e)),ae(" --")}};function o(){return n.data.split("]")[1].split(":")[0]}function i(){return n.data.slice(n.data.indexOf(":")+1)}function a(){return n.data.split(":")[2]in{true:1,false:1}}function c(){var i=o();i in r?r[i]():!e.exports&&"iFrameResize"in window||window.jQuery!==t&&"iFrameResize"in window.jQuery.prototype||a()||ce("Unexpected message ("+n.data+")")}E===(""+n.data).slice(0,S)&&(!1===d?c():a()?r.init():ae('Ignored message of type "'+o()+'". Received before initialization.'))}function Ae(){"loading"!==document.readyState&&window.parent.postMessage("[iFrameResizerChild]Ready","*")}}()},7514:function(e,t){var n,r,o;console.info("\nIFRAME-RESIZER\n\nIframe-Resizer 5 is now available via the following two packages:\n\n * @iframe-resizer/parent\n * @iframe-resizer/child\n\nAdditionally their are also new versions of iframe-resizer for React, Vue, and jQuery.\n\nVersion 5 of iframe-resizer has been extensively rewritten to use modern browser APIs, which has enabled significantly better performance and greater accuracy in the detection of content resizing events.\n\nPlease see https://iframe-resizer.com/upgrade for more details.\n"),function(i){if("undefined"!=typeof window){var a,c,s=0,u=!1,l=!1,f=7,d="[iFrameSizer]",h=d.length,m=null,p=window.requestAnimationFrame,g=Object.freeze({max:1,scroll:1,bodyScroll:1,documentElementScroll:1}),y={},v=null,b=Object.freeze({autoResize:!0,bodyBackground:null,bodyMargin:null,bodyMarginV1:8,bodyPadding:null,checkOrigin:!0,inPageLinks:!1,enablePublicMethods:!0,heightCalculationMethod:"bodyOffset",id:"iFrameResizer",interval:32,license:"1jqr0si6pnt",log:!1,maxHeight:1/0,maxWidth:1/0,minHeight:0,minWidth:0,mouseEvents:!0,resizeFrom:"parent",scrolling:!1,sizeHeight:!0,sizeWidth:!1,warningTimeout:5e3,tolerance:0,widthCalculationMethod:"scroll",onClose:function(){return!0},onClosed:function(){},onInit:function(){},onMessage:function(){I("onMessage function not defined")},onMouseEnter:function(){},onMouseLeave:function(){},onResized:function(){},onScroll:function(){return!0}}),w={};window.jQuery!==i&&((c=window.jQuery).fn?c.fn.iFrameResize||(c.fn.iFrameResize=function(e){return this.filter("iframe").each((function(t,n){q(n,e)})).end()}):L("","Unable to bind to jQuery, it is not fully loaded.")),r=[],(o="function"==typeof(n=J)?n.apply(t,r):n)===i||(e.exports=o),window.iFrameResize=window.iFrameResize||J()}function x(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function M(e,t,n){e.addEventListener(t,n,!1)}function E(e,t,n){e.removeEventListener(t,n,!1)}function S(e){return d+"["+function(e){var t="Host page: "+e;return window.top!==window.self&&(t=window.parentIFrame&&window.parentIFrame.getId?window.parentIFrame.getId()+": "+e:"Nested host page: "+e),t}(e)+"]"}function O(e){return y[e]?y[e].log:u}function k(e,t){T("log",e,t,O(e))}function L(e,t){T("info",e,t,O(e))}function I(e,t){T("warn",e,t,!0)}function T(e,t,n,r){!0===r&&"object"==typeof window.console&&console[e](S(t),n)}function A(e){function t(){o("Height"),o("Width"),W((function(){P(A),F(C),p("onResized",A)}),A,"init")}function n(e){return"border-box"!==e.boxSizing?0:(e.paddingTop?parseInt(e.paddingTop,10):0)+(e.paddingBottom?parseInt(e.paddingBottom,10):0)}function r(e){return"border-box"!==e.boxSizing?0:(e.borderTopWidth?parseInt(e.borderTopWidth,10):0)+(e.borderBottomWidth?parseInt(e.borderBottomWidth,10):0)}function o(e){var t=Number(y[C]["max"+e]),n=Number(y[C]["min"+e]),r=e.toLowerCase(),o=Number(A[r]);k(C,"Checking "+r+" is in range "+n+"-"+t),o<n&&(o=n,k(C,"Set "+r+" to min value")),o>t&&(o=t,k(C,"Set "+r+" to max value")),A[r]=""+o}function i(e){return T.slice(T.indexOf(":")+f+e)}function a(e,t){var n,r,o;n=function(){var n,r;$("Send Page Info","pageInfo:"+(n=document.body.getBoundingClientRect(),r=A.iframe.getBoundingClientRect(),JSON.stringify({iframeHeight:r.height,iframeWidth:r.width,clientHeight:Math.max(document.documentElement.clientHeight,window.innerHeight||0),clientWidth:Math.max(document.documentElement.clientWidth,window.innerWidth||0),offsetTop:parseInt(r.top-n.top,10),offsetLeft:parseInt(r.left-n.left,10),scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset,documentHeight:document.documentElement.clientHeight,documentWidth:document.documentElement.clientWidth,windowHeight:window.innerHeight,windowWidth:window.innerWidth})),e,t)},r=32,w[o=t]||(w[o]=setTimeout((function(){w[o]=null,n()}),r))}function c(e){var t=e.getBoundingClientRect();return j(C),{x:Math.floor(Number(t.left)+Number(m.x)),y:Math.floor(Number(t.top)+Number(m.y))}}function s(e){var t=e?c(A.iframe):{x:0,y:0},n={x:Number(A.width)+t.x,y:Number(A.height)+t.y};k(C,"Reposition requested from iFrame (offset x:"+t.x+" y:"+t.y+")"),window.top===window.self?(m=n,u(),k(C,"--")):window.parentIFrame?window.parentIFrame["scrollTo"+(e?"Offset":"")](n.x,n.y):I(C,"Unable to scroll to requested position, window.parentIFrame not found")}function u(){!1===p("onScroll",m)?z():F(C)}function l(e){var t={};if(0===Number(A.width)&&0===Number(A.height)){var n=i(9).split(":");t={x:n[1],y:n[0]}}else t={x:A.width,y:A.height};p(e,{iframe:A.iframe,screenX:Number(t.x),screenY:Number(t.y),type:A.type})}function p(e,t){return N(C,e,t)}var g,v,b,x,S,O,T=e.data,A={},C=null;"[iFrameResizerChild]Ready"===T?function(){for(var e in y)$("iFrame requested init",H(e),y[e].iframe,e)}():d===(""+T).slice(0,h)&&T.slice(h).split(":")[0]in y?(b=T.slice(h).split(":"),x=b[1]?parseInt(b[1],10):0,S=y[b[0]]&&y[b[0]].iframe,O=getComputedStyle(S),A={iframe:S,id:b[0],height:x+n(O)+r(O),width:b[2],type:b[3]},C=A.id,y[C]&&(y[C].loaded=!0),(v=A.type in{true:1,false:1,undefined:1})&&k(C,"Ignoring init message from meta parent page"),!v&&function(e){var t=!0;return y[e]||(t=!1,I(A.type+" No settings for "+e+". Message was: "+T)),t}(C)&&(k(C,"Received: "+T),g=!0,null===A.iframe&&(I(C,"IFrame ("+A.id+") not found"),g=!1),g&&function(){var t,n=e.origin,r=y[C]&&y[C].checkOrigin;if(r&&""+n!="null"&&!(r.constructor===Array?function(){var e=0,t=!1;for(k(C,"Checking connection is from allowed list of origins: "+r);e<r.length;e++)if(r[e]===n){t=!0;break}return t}():(t=y[C]&&y[C].remoteHost,k(C,"Checking connection is from: "+t),n===t)))throw new Error("Unexpected message received from: "+n+" for "+A.iframe.id+". Message was: "+e.data+". This error can be disabled by setting the checkOrigin: false option or by providing of array of trusted domains.");return!0}()&&function(){switch(y[C]&&y[C].firstRun&&y[C]&&(y[C].firstRun=!1),A.type){case"close":R(A.iframe);break;case"message":f=i(6),k(C,"onMessage passed: {iframe: "+A.iframe.id+", message: "+f+"}"),p("onMessage",{iframe:A.iframe,message:JSON.parse(f)}),k(C,"--");break;case"mouseenter":l("onMouseEnter");break;case"mouseleave":l("onMouseLeave");break;case"autoResize":y[C].autoResize=JSON.parse(i(9));break;case"scrollTo":s(!1);break;case"scrollToOffset":s(!0);break;case"pageInfo":a(y[C]&&y[C].iframe,C),function(){function e(e,r){function o(){y[n]?a(y[n].iframe,n):t()}["scroll","resize"].forEach((function(t){k(n,e+t+" listener for sendPageInfo"),r(window,t,o)}))}function t(){e("Remove ",E)}var n=C;e("Add ",M),y[n]&&(y[n].stopPageInfo=t)}();break;case"pageInfoStop":y[C]&&y[C].stopPageInfo&&(y[C].stopPageInfo(),delete y[C].stopPageInfo);break;case"inPageLink":n=i(9).split("#")[1]||"",r=decodeURIComponent(n),(o=document.getElementById(r)||document.getElementsByName(r)[0])?(e=c(o),k(C,"Moving to in page link (#"+n+") at x: "+e.x+" y: "+e.y),m={x:e.x,y:e.y},u(),k(C,"--")):window.top===window.self?k(C,"In page link #"+n+" not found"):window.parentIFrame?window.parentIFrame.moveToAnchor(n):k(C,"In page link #"+n+" not found and window.parentIFrame not found");break;case"reset":_(A);break;case"init":t(),p("onInit",A.iframe);break;default:0===Number(A.width)&&0===Number(A.height)?I("Unsupported message received ("+A.type+"), this is likely due to the iframe containing a later version of iframe-resizer than the parent page"):t()}var e,n,r,o,f}())):L(C,"Ignored: "+T)}function N(e,t,n){var r=null,o=null;if(y[e]){if("function"!=typeof(r=y[e][t]))throw new TypeError(t+" on iFrame["+e+"] is not a function");o=r(n)}return o}function C(e){var t=e.id;delete y[t]}function R(e){var t=e.id;if(!1!==N(t,"onClose",t)){k(t,"Removing iFrame: "+t);try{e.parentNode&&e.parentNode.removeChild(e)}catch(e){I(e)}N(t,"onClosed",t),k(t,"--"),C(e),a&&(a.disconnect(),a=null)}else k(t,"Close iframe cancelled by onClose event")}function j(e){null===m&&k(e,"Get page position: "+(m={x:window.pageXOffset===i?document.documentElement.scrollLeft:window.pageXOffset,y:window.pageYOffset===i?document.documentElement.scrollTop:window.pageYOffset}).x+","+m.y)}function F(e){null!==m&&(window.scrollTo(m.x,m.y),k(e,"Set page position: "+m.x+","+m.y),z())}function z(){m=null}function _(e){k(e.id,"Size reset requested by "+("init"===e.type?"host page":"iFrame")),j(e.id),W((function(){P(e),$("reset","reset",e.iframe,e.id)}),e,"reset")}function P(e){function t(t){l||"0"!==e[t]||(l=!0,k(r,"Hidden iFrame detected, creating visibility listener"),function(){function e(){function e(e){function t(t){return"0px"===(y[e]&&y[e].iframe.style[t])}function n(e){return null!==e.offsetParent}y[e]&&n(y[e].iframe)&&(t("height")||t("width"))&&$("Visibility change","resize",y[e].iframe,e)}Object.keys(y).forEach((function(t){e(t)}))}function t(t){k("window","Mutation observed: "+t[0].target+" "+t[0].type),D(e,16)}function n(){var e=document.querySelector("body"),n={attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0};new r(t).observe(e,n)}var r=x();r&&n()}())}function n(n){!function(t){e.id?(e.iframe.style[t]=e[t]+"px",k(e.id,"IFrame ("+r+") "+t+" set to "+e[t]+"px")):k("undefined","messageData id not set")}(n),t(n)}var r=e.iframe.id;y[r]&&(y[r].sizeHeight&&n("height"),y[r].sizeWidth&&n("width"))}function W(e,t,n){n!==t.type&&p&&!window.jasmine?(k(t.id,"Requesting animation frame"),p(e)):e()}function $(e,t,n,r,o){var i,a=!1;r=r||n.id,y[r]&&(n&&"contentWindow"in n&&null!==n.contentWindow?(i=y[r]&&y[r].targetOrigin,k(r,"["+e+"] Sending msg to iframe["+r+"] ("+t+") targetOrigin: "+i),n.contentWindow.postMessage(d+t,i)):I(r,"["+e+"] IFrame("+r+") not found"),o&&y[r]&&y[r].warningTimeout&&(y[r].msgTimeout=setTimeout((function(){!y[r]||y[r].loaded||a||(a=!0,I(r,"IFrame has not responded within "+y[r].warningTimeout/1e3+" seconds. Check iFrameResizer.contentWindow.js has been loaded in iFrame. This message can be ignored if everything is working, or you can set the warningTimeout option to a higher value or zero to suppress this warning."))}),y[r].warningTimeout)))}function H(e){return e+":"+y[e].bodyMarginV1+":"+y[e].sizeWidth+":"+y[e].log+":"+y[e].interval+":"+y[e].enablePublicMethods+":"+y[e].autoResize+":"+y[e].bodyMargin+":"+y[e].heightCalculationMethod+":"+y[e].bodyBackground+":"+y[e].bodyPadding+":"+y[e].tolerance+":"+y[e].inPageLinks+":"+y[e].resizeFrom+":"+y[e].widthCalculationMethod+":"+y[e].mouseEvents}function q(e,t){function n(e){var t=e.split("Callback");if(2===t.length){var n="on"+t[0].charAt(0).toUpperCase()+t[0].slice(1);this[n]=this[e],delete this[e],I(r,"Deprecated: '"+e+"' has been renamed '"+n+"'. The old method will be removed in the next major version.")}}var r=function(n){if("string"!=typeof n)throw new TypeError("Invaild id for iFrame. Expected String");var r;return""===n&&(e.id=(r=t&&t.id||b.id+s++,null!==document.getElementById(r)&&(r+=s++),n=r),u=(t||{}).log,k(n,"Added missing iframe ID: "+n+" ("+e.src+")")),n}(e.id);r in y&&"iFrameResizer"in e?I(r,"Ignored iFrame, already setup."):(!function(t){var o;t=t||{},y[r]=Object.create(null),y[r].iframe=e,y[r].firstRun=!0,y[r].remoteHost=e.src&&e.src.split("/").slice(0,3).join("/"),function(e){if("object"!=typeof e)throw new TypeError("Options is not an object")}(t),Object.keys(t).forEach(n,t),function(e){for(var t in b)Object.prototype.hasOwnProperty.call(b,t)&&(y[r][t]=Object.prototype.hasOwnProperty.call(e,t)?e[t]:b[t])}(t),y[r]&&(y[r].targetOrigin=!0===y[r].checkOrigin?""===(o=y[r].remoteHost)||null!==o.match(/^(about:blank|javascript:|file:\/\/)/)?"*":o:"*")}(t),function(){switch(k(r,"IFrame scrolling "+(y[r]&&y[r].scrolling?"enabled":"disabled")+" for "+r),e.style.overflow=!1===(y[r]&&y[r].scrolling)?"hidden":"auto",y[r]&&y[r].scrolling){case"omit":break;case!0:e.scrolling="yes";break;case!1:e.scrolling="no";break;default:e.scrolling=y[r]?y[r].scrolling:"no"}}(),function(){function t(t){var n=y[r][t];1/0!==n&&0!==n&&(e.style[t]="number"==typeof n?n+"px":n,k(r,"Set "+t+" = "+e.style[t]))}function n(e){if(y[r]["min"+e]>y[r]["max"+e])throw new Error("Value for min"+e+" can not be greater than max"+e)}n("Height"),n("Width"),t("maxHeight"),t("minHeight"),t("maxWidth"),t("minWidth")}(),"number"!=typeof(y[r]&&y[r].bodyMargin)&&"0"!==(y[r]&&y[r].bodyMargin)||(y[r].bodyMarginV1=y[r].bodyMargin,y[r].bodyMargin=y[r].bodyMargin+"px"),function(t){var n=x();n&&(a=function(t){if(!e.parentNode)return null;var n=new t((function(t){t.forEach((function(t){Array.prototype.slice.call(t.removedNodes).forEach((function(t){t===e&&R(e)}))}))}));return n.observe(e.parentNode,{childList:!0}),n}(n)),M(e,"load",(function(){var n,o;$("iFrame.onload",t,e,i,!0),n=y[r]&&y[r].firstRun,o=y[r]&&y[r].heightCalculationMethod in g,!n&&o&&_({iframe:e,height:0,width:0,type:"init"})})),$("init",t,e,i,!0)}(H(r)),y[r]&&(y[r].iframe.iFrameResizer={close:R.bind(null,y[r].iframe),removeListeners:C.bind(null,y[r].iframe),resize:$.bind(null,"Window resize","resize",y[r].iframe),moveToAnchor:function(e){$("Move to anchor","moveToAnchor:"+e,y[r].iframe,r)},sendMessage:function(e){$("Send Message","message:"+(e=JSON.stringify(e)),y[r].iframe,r)}}))}function D(e,t){null===v&&(v=setTimeout((function(){v=null,e()}),t))}function B(){"hidden"!==document.visibilityState&&(k("document","Trigger event: Visibility change"),D((function(){U("Tab Visible","resize")}),16))}function U(e,t){Object.keys(y).forEach((function(n){(function(e){return y[e]&&"parent"===y[e].resizeFrom&&y[e].autoResize&&!y[e].firstRun})(n)&&$(e,t,y[n].iframe,n)}))}function V(){M(window,"message",A),M(window,"resize",(function(){var e;k("window","Trigger event: "+(e="resize")),D((function(){U("Window "+e,"resize")}),16)})),M(document,"visibilitychange",B),M(document,"-webkit-visibilitychange",B)}function J(){function e(e,n){n&&(!function(){if(!n.tagName)throw new TypeError("Object is not a valid DOM element");if("IFRAME"!==n.tagName.toUpperCase())throw new TypeError("Expected <IFRAME> tag, found <"+n.tagName+">")}(),q(n,e),t.push(n))}var t;return function(){var e,t=["moz","webkit","o","ms"];for(e=0;e<t.length&&!p;e+=1)p=window[t[e]+"RequestAnimationFrame"];p?p=p.bind(window):k("setup","RequestAnimationFrame not supported")}(),V(),function(n,r){switch(t=[],function(e){e&&e.enablePublicMethods&&I("enablePublicMethods option has been removed, public methods are now always available in the iFrame")}(n),typeof r){case"undefined":case"string":Array.prototype.forEach.call(document.querySelectorAll(r||"iframe"),e.bind(i,n));break;case"object":e(n,r);break;default:throw new TypeError("Unexpected data type ("+typeof r+")")}return t}}}()},778:function(e,t,n){var r=n(5929).default;function o(){"use strict";e.exports=o=function(){return n},e.exports.__esModule=!0,e.exports.default=e.exports;var t,n={},i=Object.prototype,a=i.hasOwnProperty,c=Object.defineProperty||function(e,t,n){e[t]=n.value},s="function"==typeof Symbol?Symbol:{},u=s.iterator||"@@iterator",l=s.asyncIterator||"@@asyncIterator",f=s.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(t){d=function(e,t,n){return e[t]=n}}function h(e,t,n,r){var o=t&&t.prototype instanceof w?t:w,i=Object.create(o.prototype),a=new R(r||[]);return c(i,"_invoke",{value:T(e,n,a)}),i}function m(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}n.wrap=h;var p="suspendedStart",g="suspendedYield",y="executing",v="completed",b={};function w(){}function x(){}function M(){}var E={};d(E,u,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(j([])));O&&O!==i&&a.call(O,u)&&(E=O);var k=M.prototype=w.prototype=Object.create(E);function L(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function I(e,t){function n(o,i,c,s){var u=m(e[o],e,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==r(f)&&a.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,c,s)}),(function(e){n("throw",e,c,s)})):t.resolve(f).then((function(e){l.value=e,c(l)}),(function(e){return n("throw",e,c,s)}))}s(u.arg)}var o;c(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}})}function T(e,n,r){var o=p;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var c=r.delegate;if(c){var s=A(c,r);if(s){if(s===b)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===p)throw o=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=y;var u=m(e,n,r);if("normal"===u.type){if(o=r.done?v:g,u.arg===b)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(o=v,r.method="throw",r.arg=u.arg)}}}function A(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,A(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),b;var i=m(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,b;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,b):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,b)}function N(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 C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function R(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(N,this),this.reset(!0)}function j(e){if(e||""===e){var n=e[u];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(a.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(r(e)+" is not iterable")}return x.prototype=M,c(k,"constructor",{value:M,configurable:!0}),c(M,"constructor",{value:x,configurable:!0}),x.displayName=d(M,f,"GeneratorFunction"),n.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===x||"GeneratorFunction"===(t.displayName||t.name))},n.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,M):(e.__proto__=M,d(e,f,"GeneratorFunction")),e.prototype=Object.create(k),e},n.awrap=function(e){return{__await:e}},L(I.prototype),d(I.prototype,l,(function(){return this})),n.AsyncIterator=I,n.async=function(e,t,r,o,i){void 0===i&&(i=Promise);var a=new I(h(e,t,r,o),i);return n.isGeneratorFunction(t)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},L(k),d(k,f,"Generator"),d(k,u,(function(){return this})),d(k,"toString",(function(){return"[object Generator]"})),n.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}},n.values=j,R.prototype={constructor:R,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(C),!e)for(var n in this)"t"===n.charAt(0)&&a.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},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 n=this;function r(r,o){return c.type="throw",c.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],c=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=a.call(i,"catchLoc"),u=a.call(i,"finallyLoc");if(s&&u){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(!u)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,b):this.complete(i)},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),b},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),C(n),b}},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;C(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:j(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),b}},n}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},5929:function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},9:function(e,t,n){var r=n(778)();e.exports=r;try{regeneratorRuntime=r}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},7940:function(e,t,n){"use strict";function r(e,t,n,r,o,i,a){try{var c=e[i](a),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function c(e){r(a,o,i,c,s,"next",e)}function s(e){r(a,o,i,c,s,"throw",e)}c(void 0)}))}}n.d(t,{A:function(){return o}})},3225:function(e,t,n){"use strict";n.d(t,{A:function(){return i}});var r=n(8503);function o(e){var t=function(e,t){if("object"!=(0,r.A)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=(0,r.A)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,r.A)(t)?t:t+""}function i(e,t,n){return(t=o(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},8503:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{A:function(){return r}})},7148:function(e,t,n){"use strict";function r(e){return Array.isArray?Array.isArray(e):"[object Array]"===d(e)}n.d(t,{A:function(){return G}});const o=1/0;function i(e){return null==e?"":function(e){if("string"==typeof e)return e;let t=e+"";return"0"==t&&1/e==-o?"-0":t}(e)}function a(e){return"string"==typeof e}function c(e){return"number"==typeof e}function s(e){return!0===e||!1===e||function(e){return u(e)&&null!==e}(e)&&"[object Boolean]"==d(e)}function u(e){return"object"==typeof e}function l(e){return null!=e}function f(e){return!e.trim().length}function d(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const h=e=>`Missing ${e} property in key`,m=e=>`Property 'weight' in key '${e}' must be a positive integer`,p=Object.prototype.hasOwnProperty;class g{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach((e=>{let n=y(e);this._keys.push(n),this._keyMap[n.id]=n,t+=n.weight})),this._keys.forEach((e=>{e.weight/=t}))}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function y(e){let t=null,n=null,o=null,i=1,c=null;if(a(e)||r(e))o=e,t=v(e),n=b(e);else{if(!p.call(e,"name"))throw new Error(h("name"));const r=e.name;if(o=r,p.call(e,"weight")&&(i=e.weight,i<=0))throw new Error(m(r));t=v(r),n=b(r),c=e.getFn}return{path:t,id:n,weight:i,src: