/*! DSFR v1.11.2 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions) */ !function(){"use strict";!function(e,t){function r(e,t){var r=arguments.length>2?arguments[2]:[];if(!1===o(e))throw new TypeError(Object.prototype.toString.call(e)+"is not a function.");return e.apply(t,r)}function n(e,t){return e[t]}function o(e){return"function"==typeof e}function i(e){if(null===e||e===t)throw TypeError();return Object(e)}function a(e,r){var n=function(e,t){return i(e)[t]}(e,r);if(null===n||n===t)return t;if(!1===o(n))throw new TypeError("Method not callable: "+r);return n}function c(t){switch(typeof t){case"undefined":return"undefined";case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"symbol":return"symbol";default:return null===t?"null":"Symbol"in e&&(t instanceof e.Symbol||t.constructor===e.Symbol)?"symbol":"object"}}function l(e,t){return c(e)===c(t)&&("number"===c(e)?!(!isNaN(e)||!isNaN(t))||1/e==1/0&&1/t==-1/0||1/e==-1/0&&1/t==1/0||e===t:function(e,t){return e===t}(e,t))}function u(e){if("symbol"===c(e))throw new TypeError("Cannot convert a Symbol value to a number");var t=Number(e);return isNaN(t)?0:1/t==1/0||1/t==-1/0||t===1/0||t===-1/0?t:(t<0?-1:1)*Math.floor(Math.abs(t))}function f(i){var l=arguments.length>1?arguments[1]:t;if("object"===c(i)){if(arguments.length<2)var u="default";else l===String?u="string":l===Number&&(u="number");var f="function"==typeof e.Symbol&&"symbol"==typeof e.Symbol.toPrimitive?a(i,e.Symbol.toPrimitive):t;if(f!==t){var p=r(f,i,[u]);if("object"!==c(p))return p;throw new TypeError("Cannot convert exotic object to primitive.")}return"default"===u&&(u="number"),function(e,t){if("string"===t)var i=["toString","valueOf"];else i=["valueOf","toString"];for(var a=0;a=0)var a=o;else(a=r+o)<0&&(a=0);for(;a=l)for(;l>>0,"object"==typeof e[n]?e[n].baseVal=i.join(" "):e[n]=i.join(" "),f())},o.remove=function(){p.apply(o,t=arguments);for(var t,r={},l=0,u=[];l>>0,"object"==typeof e[n]?e[n].baseVal=i.join(" "):e[n]=i.join(" "),f()},o.toggle=function(e,r){return p.apply(o,[e]),t!==r?r?(o.add(e),!0):(o.remove(e),!1):a[e]?(o.remove(e),!1):(o.add(e),!0)},o.forEach=Array.prototype.forEach,o}}();"DOMTokenList"in(r=e)&&r.DOMTokenList&&(!document.createElementNS||!document.createElementNS("http://www.w3.org/2000/svg","svg")||document.createElementNS("http://www.w3.org/2000/svg","svg").classList instanceof DOMTokenList)||(r.DOMTokenList=n),function(){var e=document.createElement("span");"classList"in e&&(e.classList.toggle("x",!1),e.classList.contains("x")&&(e.classList.constructor.prototype.toggle=function(e){var r=arguments[1];if(r===t){var n=!this.contains(e);return this[n?"add":"remove"](e),n}return r=!!r,this[r?"add":"remove"](e),r}))}(),function(){var e=document.createElement("span");if("classList"in e&&(e.classList.add("a","b"),!e.classList.contains("b"))){var t=e.classList.constructor.prototype.add;e.classList.constructor.prototype.add=function(){for(var e=arguments,r=arguments.length,n=0;n2?arguments[2]:[];if(!1===i(e))throw new TypeError(Object.prototype.toString.call(e)+"is not a function.");return e.apply(t,r)}function n(e,t,r){var n={value:r,writable:!0,enumerable:!1,configurable:!0};Object.defineProperty(e,t,n)}function o(e,t){return e[t]}function i(e){return"function"==typeof e}function a(e){if(null===e||e===t)throw TypeError();return Object(e)}function c(e,r){var n=function(e,t){return a(e)[t]}(e,r);if(null===n||n===t)return t;if(!1===i(n))throw new TypeError("Method not callable: "+r);return n}function l(t){switch(typeof t){case"undefined":return"undefined";case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"symbol":return"symbol";default:return null===t?"null":"Symbol"in e&&(t instanceof e.Symbol||t.constructor===e.Symbol)?"symbol":"object"}}function u(e,t){return l(e)===l(t)&&("number"===l(e)?!(!isNaN(e)||!isNaN(t))||1/e==1/0&&1/t==-1/0||1/e==-1/0&&1/t==1/0||e===t:function(e,t){return e===t}(e,t))}function f(e){if("symbol"===l(e))throw new TypeError("Cannot convert a Symbol value to a number");var t=Number(e);return isNaN(t)?0:1/t==1/0||1/t==-1/0||t===1/0||t===-1/0?t:(t<0?-1:1)*Math.floor(Math.abs(t))}function p(n){var a=arguments.length>1?arguments[1]:t;if("object"===l(n)){if(arguments.length<2)var u="default";else a===String?u="string":a===Number&&(u="number");var f="function"==typeof e.Symbol&&"symbol"==typeof e.Symbol.toPrimitive?c(n,e.Symbol.toPrimitive):t;if(f!==t){var p=r(f,n,[u]);if("object"!==l(p))return p;throw new TypeError("Cannot convert exotic object to primitive.")}return"default"===u&&(u="number"),function(e,t){if("string"===t)var n=["toString","valueOf"];else n=["valueOf","toString"];for(var a=0;a=0&&"[object Function]"===n.call(e.callee)),r}(o),f="[object String]"===n.call(o),s=[];if(o===t||null===o)throw new TypeError("Cannot convert undefined or null to object");var b=a&&l;if(f&&o.length>0&&!r.call(o,0))for(var y=0;y0)for(var v=0;v=0)var i=n;else(i=r+n)<0&&(i=0);for(;ie&&(n.length=e)}var n=A(e),o=0;return function(e,t){n[o++]=e,n[o++]=t,2===o&&re.nextTick(r)}}function p(e,t){var r,n,a,c,l=0;if(!e)throw s(V);var f=e[re[H][W]];if(o(f))n=f.call(e);else{if(!o(e.next)){if(i(e,A)){for(r=e.length;lMath.pow(2,32)-1)throw new RangeError("Invalid array length");var t=[];return t.length=e,t}function n(e,t){var r=arguments.length>2?arguments[2]:[];if(!1===l(e))throw new TypeError(Object.prototype.toString.call(e)+"is not a function.");return e.apply(t,r)}function o(e,t,r){var n={value:r,writable:!0,enumerable:!0,configurable:!0};try{return Object.defineProperty(e,t,n),!0}catch(e){return!1}}function i(e,t,r){var n=o(e,t,r);if(!n)throw new TypeError("Cannot assign value `"+Object.prototype.toString.call(r)+"` to property `"+Object.prototype.toString.call(t)+"` on object `"+Object.prototype.toString.call(e)+"`");return n}function a(e,t,r){var n={value:r,writable:!0,enumerable:!1,configurable:!0};Object.defineProperty(e,t,n)}function c(e,t){return e[t]}function l(e){return"function"==typeof e}function u(e){if(null===e||e===t)throw TypeError();return Object(e)}function f(e,t){return u(e)[t]}function p(e,r){var n=f(e,r);if(null===n||n===t)return t;if(!1===l(n))throw new TypeError("Method not callable: "+r);return n}function s(t){switch(typeof t){case"undefined":return"undefined";case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"symbol":return"symbol";default:return null===t?"null":"Symbol"in e&&(t instanceof e.Symbol||t.constructor===e.Symbol)?"symbol":"object"}}var b;function y(e,t){if("boolean"!==s(t))throw new Error;var r={};return o(r,"value",e),o(r,"done",t),r}function v(e,t){var r=arguments[2]||{},n=function(e,t){var r=c(e,"prototype");return"object"!==s(r)&&(r=t),r}(e,t),o=Object.create(n);for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&Object.defineProperty(o,i,{configurable:!0,enumerable:!1,writable:!0,value:r[i]});return o}function h(e){return"object"===s(e)&&"function"==typeof e&&!!e.prototype}function g(e){var t=arguments.length>2?arguments[2]:e,r=arguments.length>1?arguments[1]:[];if(!h(e))throw new TypeError("F must be a constructor.");if(!h(t))throw new TypeError("newTarget must be a constructor.");return t===e?new(Function.prototype.bind.apply(e,[null].concat(r))):n(e,v(t,Object.prototype),r)}function d(e,r){if("object"!==s(e["[[Iterator]]"]))throw new Error(Object.prototype.toString.call(e["[[Iterator]]"])+"is not an Object.");var o=e["[[Iterator]]"],i=p(o,"return");if(i===t)return r;try{var a=n(i,o)}catch(e){var c=e}if(r)return r;if(c)throw c;if("object"!==s(a))throw new TypeError("Iterator's return method returned a non-object.");return r}function m(e){if("object"!==s(e))throw new Error(Object.prototype.toString.call(e)+"is not an Object.");return t=c(e,"done"),Boolean(t);var t}function w(e){var t=function(e){if(arguments.length<2)var t=n(e["[[NextMethod]]"],e["[[Iterator]]"]);else t=n(e["[[NextMethod]]"],e["[[Iterator]]"],[arguments[1]]);if("object"!==s(t))throw new TypeError("bad iterator");return t}(e);return!0!==m(t)&&t}function j(e){if("object"!==s(e))throw new Error(Object.prototype.toString.call(e)+"is not an Object.");return c(e,"value")}function S(e,t){return s(e)===s(t)&&("number"===s(e)?!(!isNaN(e)||!isNaN(t))||1/e==1/0&&1/t==-1/0||1/e==-1/0&&1/t==1/0||e===t:function(e,t){return e===t}(e,t))}function _(e){if("symbol"===s(e))throw new TypeError("Cannot convert a Symbol value to a number");var t=Number(e);return isNaN(t)?0:1/t==1/0||1/t==-1/0||t===1/0||t===-1/0?t:(t<0?-1:1)*Math.floor(Math.abs(t))}function O(e){var t=_(e);return t<=0?0:Math.min(t,Math.pow(2,53)-1)}function E(r){var o=arguments.length>1?arguments[1]:t;if("object"===s(r)){if(arguments.length<2)var i="default";else o===String?i="string":o===Number&&(i="number");var a="function"==typeof e.Symbol&&"symbol"==typeof e.Symbol.toPrimitive?p(r,e.Symbol.toPrimitive):t;if(a!==t){var u=n(a,r,[i]);if("object"!==s(u))return u;throw new TypeError("Cannot convert exotic object to primitive.")}return"default"===i&&(i="number"),function(e,t){if("string"===t)var r=["toString","valueOf"];else r=["valueOf","toString"];for(var o=0;o1?arguments[1]:p(e,Symbol.iterator),e);if("object"!==s(t))throw new TypeError("bad iterator");var r=f(t,"next"),o=Object.create(null);return o["[[Iterator]]"]=t,o["[[NextMethod]]"]=r,o["[[Done]]"]=!1,o}a(Object,"keys",function(){function e(){var e;try{e=Object.create({})}catch(e){return!0}return o.call(e,"__proto__")}var r=Object.prototype.hasOwnProperty,n=Object.prototype.toString,o=Object.prototype.propertyIsEnumerable,i=!o.call({toString:null},"toString"),a=o.call((function(){}),"prototype"),c=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],l=function(e){var t=e.constructor;return t&&t.prototype===e},u={$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},f=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!u["$"+e]&&r.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{l(window[e])}catch(e){return!0}}catch(e){return!0}return!1}(),p=function(e){if("undefined"==typeof window||!f)return l(e);try{return l(e)}catch(e){return!1}};return function(o){var l="[object Function]"===n.call(o),u=function(e){var t=n.call(e),r="[object Arguments]"===t;return r||(r="[object Array]"!==t&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===n.call(e.callee)),r}(o),f="[object String]"===n.call(o),s=[];if(o===t||null===o)throw new TypeError("Cannot convert undefined or null to object");var b=a&&l;if(f&&o.length>0&&!r.call(o,0))for(var y=0;y0)for(var v=0;v=0)var o=n;else(o=r+n)<0&&(o=0);for(;o0?arguments[0]:t;if(null===o||o===t)return r;var i=r.set;if(!l(i))throw new TypeError("Map.prototype.set is not a function");try{for(var a=T(o);;){var c=w(a);if(!1===c)return r;var u=j(c);if("object"!==s(u))try{throw new TypeError("Iterator value "+u+" is not an entry object")}catch(e){return d(a,e)}try{var f=u[0],p=u[1];i.call(r,f,p)}catch(e){return d(a,e)}}}catch(e){if(Array.isArray(o)||"[object Arguments]"===Object.prototype.toString.call(o)||o.callee){var b,y=o.length;for(b=0;b0?arguments[0]:t;if(null===o||o===t)return r;var i=r.add;if(!l(i))throw new TypeError("Set.prototype.add is not a function");try{for(var a=T(o);;){var c=w(a);if(!1===c)return r;var u=j(c);try{i.call(r,u)}catch(e){return d(a,e)}}}catch(e){if(!Array.isArray(o)&&"[object Arguments]"!==Object.prototype.toString.call(o)&&!o.callee)throw e;var f,p=o.length;for(f=0;f1?arguments[1]:t;if(s===t)var b=!1;else{if(!1===l(s))throw new TypeError(Object.prototype.toString.call(s)+" is not a function.");var y=arguments.length>2?arguments[2]:t;if(y!==t)var v=y;else v=t;b=!0}var m=p(o,Symbol.iterator);if(m!==t){if(h(a))var S=g(a);else S=r(0);for(var _=T(o,m),E=0;;){if(E>=Math.pow(2,53)-1)return d(_,new TypeError("Iteration count can not be greater than or equal 9007199254740991."));var M=P(E),$=w(_);if(!1===$)return S.length=E,S;var I=j($);if(b)try{var x=n(s,v,[I,E])}catch(e){return d(_,e)}else x=I;try{i(S,M,x)}catch(e){return d(_,e)}E+=1}}if(e(o))var N=f.call(o,/[\uD800-\uDBFF][\uDC00-\uDFFF]?|[^\uD800-\uDFFF]|./g)||[];else N=u(o);var k=O(c(N,"length"));for(S=h(a)?g(a,[k]):r(k),E=0;EMath.pow(2,32)-1)throw new RangeError("Invalid array length");var t=[];return t.length=e,t}function n(e,t){var r=arguments.length>2?arguments[2]:[];if(!1===l(e))throw new TypeError(Object.prototype.toString.call(e)+"is not a function.");return e.apply(t,r)}function o(e,t,r){var n=function(e,t,r){var n={value:r,writable:!0,enumerable:!0,configurable:!0};try{return Object.defineProperty(e,t,n),!0}catch(e){return!1}}(e,t,r);if(!n)throw new TypeError("Cannot assign value `"+Object.prototype.toString.call(r)+"` to property `"+Object.prototype.toString.call(t)+"` on object `"+Object.prototype.toString.call(e)+"`");return n}function i(e,t){return e[t]}function a(e,t){return t in e}function c(e){return"[object Array]"===Object.prototype.toString.call(e)}function l(e){return"function"==typeof e}function u(e){if(null===e||e===t)throw TypeError();return Object(e)}function f(e,r){var n=function(e,t){return u(e)[t]}(e,r);if(null===n||n===t)return t;if(!1===l(n))throw new TypeError("Method not callable: "+r);return n}function p(t){switch(typeof t){case"undefined":return"undefined";case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"symbol":return"symbol";default:return null===t?"null":"Symbol"in e&&(t instanceof e.Symbol||t.constructor===e.Symbol)?"symbol":"object"}}function s(e,t){var r=arguments[2]||{},n=function(e,t){var r=i(e,"prototype");return"object"!==p(r)&&(r=t),r}(e,t),o=Object.create(n);for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&Object.defineProperty(o,a,{configurable:!0,enumerable:!1,writable:!0,value:r[a]});return o}function b(e){return"object"===p(e)&&"function"==typeof e&&!!e.prototype}function y(o,a){if(0===a&&1/a==-1/0&&(a=0),!1===c(o))return r(a);var l=i(o,"constructor");if("object"===p(l)&&null===(l="Symbol"in e&&"species"in e.Symbol?i(l,e.Symbol.species):t)&&(l=t),l===t)return r(a);if(!b(l))throw new TypeError("C must be a constructor");return function(e){var t=arguments.length>2?arguments[2]:e,r=arguments.length>1?arguments[1]:[];if(!b(e))throw new TypeError("F must be a constructor.");if(!b(t))throw new TypeError("newTarget must be a constructor.");return t===e?new(Function.prototype.bind.apply(e,[null].concat(r))):n(e,s(t,Object.prototype),r)}(l,[a])}function v(e){if("symbol"===p(e))throw new TypeError("Cannot convert a Symbol value to a number");var t=Number(e);return isNaN(t)?0:1/t==1/0||1/t==-1/0||t===1/0||t===-1/0?t:(t<0?-1:1)*Math.floor(Math.abs(t))}function h(e){var t=v(e);return t<=0?0:Math.min(t,Math.pow(2,53)-1)}function g(r){var o=arguments.length>1?arguments[1]:t;if("object"===p(r)){if(arguments.length<2)var a="default";else o===String?a="string":o===Number&&(a="number");var c="function"==typeof e.Symbol&&"symbol"==typeof e.Symbol.toPrimitive?f(r,e.Symbol.toPrimitive):t;if(c!==t){var u=n(c,r,[a]);if("object"!==p(u))return u;throw new TypeError("Cannot convert exotic object to primitive.")}return"default"===a&&(a="number"),function(e,t){if("string"===t)var r=["toString","valueOf"];else r=["valueOf","toString"];for(var o=0;o0&&(w=c(g)),!0===w)b=m(e,g,h(i(g,"length")),b,u-1);else{if(b>=Math.pow(2,53)-1)throw new TypeError("targetIndex is greater than or equal to 2^53-1");o(e,d(b),g),b+=1}}y+=1}return b}var w,j,S,_;w=Array.prototype,j="flat",S=function(){var e=arguments[0],t=u(this),r=h(i(t,"length")),n=1;void 0!==e&&(n=v(e));var o=y(t,0);return m(o,t,r,0,n),o},_={value:S,writable:!0,enumerable:!1,configurable:!0},Object.defineProperty(w,j,_)}("object"==typeof window&&window||"object"==typeof self&&self||"object"==typeof global&&global||{}),function(e,t){function r(e,t){var r=arguments.length>2?arguments[2]:[];if(!1===i(e))throw new TypeError(Object.prototype.toString.call(e)+"is not a function.");return e.apply(t,r)}function n(e,t,r){var n={value:r,writable:!0,enumerable:!1,configurable:!0};Object.defineProperty(e,t,n)}function o(e,t){return e[t]}function i(e){return"function"==typeof e}function a(e){if(null===e||e===t)throw TypeError();return Object(e)}function c(e,r){var n=function(e,t){return a(e)[t]}(e,r);if(null===n||n===t)return t;if(!1===i(n))throw new TypeError("Method not callable: "+r);return n}function l(t){switch(typeof t){case"undefined":return"undefined";case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"symbol":return"symbol";default:return null===t?"null":"Symbol"in e&&(t instanceof e.Symbol||t.constructor===e.Symbol)?"symbol":"object"}}function u(n){var a=arguments.length>1?arguments[1]:t;if("object"===l(n)){if(arguments.length<2)var u="default";else a===String?u="string":a===Number&&(u="number");var f="function"==typeof e.Symbol&&"symbol"==typeof e.Symbol.toPrimitive?c(n,e.Symbol.toPrimitive):t;if(f!==t){var p=r(f,n,[u]);if("object"!==l(p))return p;throw new TypeError("Cannot convert exotic object to primitive.")}return"default"===u&&(u="number"),function(e,t){if("string"===t)var n=["toString","valueOf"];else n=["valueOf","toString"];for(var a=0;a=0&&"[object Function]"===n.call(e.callee)),r}(o),f="[object String]"===n.call(o),s=[];if(o===t||null===o)throw new TypeError("Cannot convert undefined or null to object");var b=a&&l;if(f&&o.length>0&&!r.call(o,0))for(var y=0;y0)for(var v=0;v2?arguments[2]:[];if(!1===i(e))throw new TypeError(Object.prototype.toString.call(e)+"is not a function.");return e.apply(t,r)}function n(e,t,r){var n={value:r,writable:!0,enumerable:!1,configurable:!0};Object.defineProperty(e,t,n)}function o(e,t){return e[t]}function i(e){return"function"==typeof e}function a(e){if(null===e||e===t)throw TypeError();return Object(e)}function c(e,r){var n=function(e,t){return a(e)[t]}(e,r);if(null===n||n===t)return t;if(!1===i(n))throw new TypeError("Method not callable: "+r);return n}function l(t){switch(typeof t){case"undefined":return"undefined";case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"symbol":return"symbol";default:return null===t?"null":"Symbol"in e&&(t instanceof e.Symbol||t.constructor===e.Symbol)?"symbol":"object"}}function u(n){var a=arguments.length>1?arguments[1]:t;if("object"===l(n)){if(arguments.length<2)var u="default";else a===String?u="string":a===Number&&(u="number");var f="function"==typeof e.Symbol&&"symbol"==typeof e.Symbol.toPrimitive?c(n,e.Symbol.toPrimitive):t;if(f!==t){var p=r(f,n,[u]);if("object"!==l(p))return p;throw new TypeError("Cannot convert exotic object to primitive.")}return"default"===u&&(u="number"),function(e,t){if("string"===t)var n=["toString","valueOf"];else n=["valueOf","toString"];for(var a=0;a=0&&"[object Function]"===n.call(e.callee)),r}(o),f="[object String]"===n.call(o),s=[];if(o===t||null===o)throw new TypeError("Cannot convert undefined or null to object");var b=a&&l;if(f&&o.length>0&&!r.call(o,0))for(var y=0;y0)for(var v=0;v2?arguments[2]:[];if(!1===a(e))throw new TypeError(Object.prototype.toString.call(e)+"is not a function.");return e.apply(t,r)}function n(e,t,r){var n=function(e,t,r){var n={value:r,writable:!0,enumerable:!0,configurable:!0};try{return Object.defineProperty(e,t,n),!0}catch(e){return!1}}(e,t,r);if(!n)throw new TypeError("Cannot assign value `"+Object.prototype.toString.call(r)+"` to property `"+Object.prototype.toString.call(t)+"` on object `"+Object.prototype.toString.call(e)+"`");return n}function o(e,t,r){var n={value:r,writable:!0,enumerable:!1,configurable:!0};Object.defineProperty(e,t,n)}function i(e,t){return e[t]}function a(e){return"function"==typeof e}function c(e){if(null===e||e===t)throw TypeError(Object.prototype.toString.call(e)+" is not coercible to Object.");return e}function l(e){return Boolean(e)}function u(e){if(null===e||e===t)throw TypeError();return Object(e)}function f(e,t){return u(e)[t]}function p(e,r){var n=f(e,r);if(null===n||n===t)return t;if(!1===a(n))throw new TypeError("Method not callable: "+r);return n}function s(t){switch(typeof t){case"undefined":return"undefined";case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"symbol":return"symbol";default:return null===t?"null":"Symbol"in e&&(t instanceof e.Symbol||t.constructor===e.Symbol)?"symbol":"object"}}function b(e,n){if("object"!==s(e["[[Iterator]]"]))throw new Error(Object.prototype.toString.call(e["[[Iterator]]"])+"is not an Object.");var o=e["[[Iterator]]"],i=p(o,"return");if(i===t)return n;try{var a=r(i,o)}catch(e){var c=e}if(n)return n;if(c)throw c;if("object"!==s(a))throw new TypeError("Iterator's return method returned a non-object.");return n}function y(e){var t=function(e){if(arguments.length<2)var t=r(e["[[NextMethod]]"],e["[[Iterator]]"]);else t=r(e["[[NextMethod]]"],e["[[Iterator]]"],[arguments[1]]);if("object"!==s(t))throw new TypeError("bad iterator");return t}(e);return!0!==function(e){if("object"!==s(e))throw new Error(Object.prototype.toString.call(e)+"is not an Object.");return l(i(e,"done"))}(t)&&t}function v(e){if("object"!==s(e))throw new Error(Object.prototype.toString.call(e)+"is not an Object.");return i(e,"value")}function h(e,t){return s(e)===s(t)&&("number"===s(e)?!(!isNaN(e)||!isNaN(t))||1/e==1/0&&1/t==-1/0||1/e==-1/0&&1/t==1/0||e===t:function(e,t){return e===t}(e,t))}function g(e){if("symbol"===s(e))throw new TypeError("Cannot convert a Symbol value to a number");var t=Number(e);return isNaN(t)?0:1/t==1/0||1/t==-1/0||t===1/0||t===-1/0?t:(t<0?-1:1)*Math.floor(Math.abs(t))}function d(n){var o=arguments.length>1?arguments[1]:t;if("object"===s(n)){if(arguments.length<2)var c="default";else o===String?c="string":o===Number&&(c="number");var l="function"==typeof e.Symbol&&"symbol"==typeof e.Symbol.toPrimitive?p(n,e.Symbol.toPrimitive):t;if(l!==t){var u=r(l,n,[c]);if("object"!==s(u))return u;throw new TypeError("Cannot convert exotic object to primitive.")}return"default"===c&&(c="number"),function(e,t){if("string"===t)var n=["toString","valueOf"];else n=["valueOf","toString"];for(var o=0;o=0&&"[object Function]"===n.call(e.callee)),r}(o),f="[object String]"===n.call(o),s=[];if(o===t||null===o)throw new TypeError("Cannot convert undefined or null to object");var b=a&&l;if(f&&o.length>0&&!r.call(o,0))for(var y=0;y0)for(var v=0;v=0)var o=n;else(o=r+n)<0&&(o=0);for(;o1?arguments[1]:t,o=m(c(this));if(function(r){if("object"!==s(r))return!1;var n="Symbol"in e&&"match"in e.Symbol?i(r,e.Symbol.match):t;if(n!==t)return l(n);try{var o=r.lastIndex;return r.lastIndex=0,RegExp.prototype.exec.call(r),!0}catch(e){}finally{r.lastIndex=o}return!1}(r))throw new TypeError("First argument to String.prototype.includes must not be a regular expression");var a=m(r),u=g(n),f=o.length,p=Math.min(Math.max(u,0),f);return-1!==String.prototype.indexOf.call(o,a,p)})),function(){var e=Object.getOwnPropertyDescriptor,t=function(){try{return 1===Object.defineProperty(document.createElement("div"),"one",{get:function(){return 1}}).one}catch(e){return!1}},r={}.toString,n="".split;o(Object,"getOwnPropertyDescriptor",(function(o,i){var a=u(o);a=("string"===s(a)||a instanceof String)&&"[object String]"==r.call(o)?n.call(o,""):Object(o);var c=P(i);if(t)try{return e(a,c)}catch(e){}if(function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}(a,c))return{enumerable:!0,configurable:!0,writable:!0,value:a[c]}}))}(),o(Object,"assign",(function(e,r){var n=u(e);if(1===arguments.length)return n;var o,a,c,l,f=Array.prototype.slice.call(arguments,1);for(o=0;o1?arguments[1]:p(e,Symbol.iterator),e);if("object"!==s(t))throw new TypeError("bad iterator");var n=f(t,"next"),o=Object.create(null);return o["[[Iterator]]"]=t,o["[[NextMethod]]"]=n,o["[[Done]]"]=!1,o}(o);;){var u=y(l);if(!1===u)return n;var h,g,d=v(u);if("object"!==s(d)){var m=new TypeError("nextItem is not an object");throw b(l,m),m}d=("string"===s(d)||d instanceof String)&&"[object String]"==e.call(d)?t.call(d,""):d;try{h=i(d,"0")}catch(e){return b(l,e)}try{g=i(d,"1")}catch(e){return b(l,e)}try{r(c,n,[h,g])}catch(e){return b(l,e)}}}}();Object.defineProperty(Symbol,"toStringTag",{value:Symbol("toStringTag")});var M=function(){var e=function(){return this.length=0,this},r=function(e,t){if(!(this instanceof r))return new r(e,t);Object.defineProperties(this,{__list__:{writable:!0,value:e},__context__:{writable:!0,value:t},__nextIndex__:{writable:!0,value:0}}),t&&(function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function")}(t.on),t.on("_add",this._onAdd.bind(this)),t.on("_delete",this._onDelete.bind(this)),t.on("_clear",this._onClear.bind(this)))};return Object.defineProperties(r.prototype,Object.assign({constructor:{value:r,configurable:!0,enumerable:!1,writable:!0},_next:{value:function(){var e;if(this.__list__)return this.__redo__&&(e=this.__redo__.shift())!==t?e:this.__nextIndex__=this.__nextIndex__)){if(++this.__nextIndex__,!this.__redo__)return void Object.defineProperty(this,"__redo__",{value:[e],configurable:!0,enumerable:!1,writable:!1});this.__redo__.forEach((function(t,r){t>=e&&(this.__redo__[r]=++t)}),this),this.__redo__.push(e)}},configurable:!0,enumerable:!1,writable:!0},_onDelete:{value:function(e){var t;e>=this.__nextIndex__||(--this.__nextIndex__,this.__redo__&&(-1!==(t=this.__redo__.indexOf(e))&&this.__redo__.splice(t,1),this.__redo__.forEach((function(t,r){t>e&&(this.__redo__[r]=--t)}),this)))},configurable:!0,enumerable:!1,writable:!0},_onClear:{value:function(){this.__redo__&&e.call(this.__redo__),this.__nextIndex__=0},configurable:!0,enumerable:!1,writable:!0}})),Object.defineProperty(r.prototype,Symbol.iterator,{value:function(){return this},configurable:!0,enumerable:!1,writable:!0}),Object.defineProperty(r.prototype,Symbol.toStringTag,{value:"Iterator",configurable:!1,enumerable:!1,writable:!0}),r}(),$=function(){var e=function(t,r){if(!(this instanceof e))return new e(t,r);M.call(this,t),r=r?String.prototype.includes.call(r,"key+value")?"key+value":String.prototype.includes.call(r,"key")?"key":"value":"value",Object.defineProperty(this,"__kind__",{value:r,configurable:!1,enumerable:!1,writable:!1})};return Object.setPrototypeOf&&Object.setPrototypeOf(e,M.prototype),e.prototype=Object.create(M.prototype,{constructor:{value:e,configurable:!0,enumerable:!1,writable:!0},_resolve:{value:function(e){return"value"===this.__kind__?this.__list__[e]:"key+value"===this.__kind__?[e,this.__list__[e]]:e},configurable:!0,enumerable:!1,writable:!0},toString:{value:function(){return"[object Array Iterator]"},configurable:!0,enumerable:!1,writable:!0}}),e}();"Symbol"in e&&"iterator"in Symbol&&"function"==typeof Array.prototype[Symbol.iterator]?o(Array.prototype,"values",Array.prototype[Symbol.iterator]):o(Array.prototype,"values",(function(){var e=u(this);return new $(e,"value")})),o(Array.prototype,Symbol.iterator,Array.prototype.values),o(Object,"fromEntries",(function(e){c(e);return T({},e,(function(e,t){n(this,P(e),t)}))}))}("object"==typeof window&&window||"object"==typeof self&&self||"object"==typeof global&&global||{}),function(e,t){function r(e,t,r){var n={value:r,writable:!0,enumerable:!1,configurable:!0};Object.defineProperty(e,t,n)}var n,o;r(Object,"keys",function(){function e(){var e;try{e=Object.create({})}catch(e){return!0}return o.call(e,"__proto__")}var r=Object.prototype.hasOwnProperty,n=Object.prototype.toString,o=Object.prototype.propertyIsEnumerable,i=!o.call({toString:null},"toString"),a=o.call((function(){}),"prototype"),c=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],l=function(e){var t=e.constructor;return t&&t.prototype===e},u={$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},f=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!u["$"+e]&&r.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{l(window[e])}catch(e){return!0}}catch(e){return!0}return!1}(),p=function(e){if("undefined"==typeof window||!f)return l(e);try{return l(e)}catch(e){return!1}};return function(o){var l="[object Function]"===n.call(o),u=function(e){var t=n.call(e),r="[object Arguments]"===t;return r||(r="[object Array]"!==t&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===n.call(e.callee)),r}(o),f="[object String]"===n.call(o),s=[];if(o===t||null===o)throw new TypeError("Cannot convert undefined or null to object");var b=a&&l;if(f&&o.length>0&&!r.call(o,0))for(var y=0;y0)for(var v=0;v2?arguments[2]:[];if(!1===i(e))throw new TypeError(Object.prototype.toString.call(e)+"is not a function.");return e.apply(t,r)}function n(e,t,r){var n={value:r,writable:!0,enumerable:!1,configurable:!0};Object.defineProperty(e,t,n)}function o(e,t){return e[t]}function i(e){return"function"==typeof e}function a(e){if(null===e||e===t)throw TypeError();return Object(e)}function c(e,r){var n=function(e,t){return a(e)[t]}(e,r);if(null===n||n===t)return t;if(!1===i(n))throw new TypeError("Method not callable: "+r);return n}function l(t){switch(typeof t){case"undefined":return"undefined";case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"symbol":return"symbol";default:return null===t?"null":"Symbol"in e&&(t instanceof e.Symbol||t.constructor===e.Symbol)?"symbol":"object"}}function u(e,t){return l(e)===l(t)&&("number"===l(e)?!(!isNaN(e)||!isNaN(t))||1/e==1/0&&1/t==-1/0||1/e==-1/0&&1/t==1/0||e===t:function(e,t){return e===t}(e,t))}function f(e){if("symbol"===l(e))throw new TypeError("Cannot convert a Symbol value to a number");var t=Number(e);return isNaN(t)?0:1/t==1/0||1/t==-1/0||t===1/0||t===-1/0?t:(t<0?-1:1)*Math.floor(Math.abs(t))}function p(n){var a=arguments.length>1?arguments[1]:t;if("object"===l(n)){if(arguments.length<2)var u="default";else a===String?u="string":a===Number&&(u="number");var f="function"==typeof e.Symbol&&"symbol"==typeof e.Symbol.toPrimitive?c(n,e.Symbol.toPrimitive):t;if(f!==t){var p=r(f,n,[u]);if("object"!==l(p))return p;throw new TypeError("Cannot convert exotic object to primitive.")}return"default"===u&&(u="number"),function(e,t){if("string"===t)var n=["toString","valueOf"];else n=["valueOf","toString"];for(var a=0;a=0&&"[object Function]"===n.call(e.callee)),r}(o),f="[object String]"===n.call(o),s=[];if(o===t||null===o)throw new TypeError("Cannot convert undefined or null to object");var b=a&&l;if(f&&o.length>0&&!r.call(o,0))for(var y=0;y0)for(var v=0;v=0)var i=n;else(i=r+n)<0&&(i=0);for(;iMath.pow(2,32)-1)throw new RangeError("Invalid array length");var t=[];return t.length=e,t}function n(e,t){var r=arguments.length>2?arguments[2]:[];if(!1===l(e))throw new TypeError(Object.prototype.toString.call(e)+"is not a function.");return e.apply(t,r)}function o(e,t,r){var n={value:r,writable:!0,enumerable:!0,configurable:!0};try{return Object.defineProperty(e,t,n),!0}catch(e){return!1}}function i(e,t,r){var n=o(e,t,r);if(!n)throw new TypeError("Cannot assign value `"+Object.prototype.toString.call(r)+"` to property `"+Object.prototype.toString.call(t)+"` on object `"+Object.prototype.toString.call(e)+"`");return n}function a(e,t,r){var n={value:r,writable:!0,enumerable:!1,configurable:!0};Object.defineProperty(e,t,n)}function c(e,t){return e[t]}function l(e){return"function"==typeof e}function u(e){if(null===e||e===t)throw TypeError();return Object(e)}function f(e,t){return u(e)[t]}function p(e,r){var n=f(e,r);if(null===n||n===t)return t;if(!1===l(n))throw new TypeError("Method not callable: "+r);return n}function s(t){switch(typeof t){case"undefined":return"undefined";case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"symbol":return"symbol";default:return null===t?"null":"Symbol"in e&&(t instanceof e.Symbol||t.constructor===e.Symbol)?"symbol":"object"}}var b;function y(e,t){if("boolean"!==s(t))throw new Error;var r={};return o(r,"value",e),o(r,"done",t),r}function v(e,t){var r=arguments[2]||{},n=function(e,t){var r=c(e,"prototype");return"object"!==s(r)&&(r=t),r}(e,t),o=Object.create(n);for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&Object.defineProperty(o,i,{configurable:!0,enumerable:!1,writable:!0,value:r[i]});return o}function h(e){return"object"===s(e)&&"function"==typeof e&&!!e.prototype}function g(e){var t=arguments.length>2?arguments[2]:e,r=arguments.length>1?arguments[1]:[];if(!h(e))throw new TypeError("F must be a constructor.");if(!h(t))throw new TypeError("newTarget must be a constructor.");return t===e?new(Function.prototype.bind.apply(e,[null].concat(r))):n(e,v(t,Object.prototype),r)}function d(e,r){if("object"!==s(e["[[Iterator]]"]))throw new Error(Object.prototype.toString.call(e["[[Iterator]]"])+"is not an Object.");var o=e["[[Iterator]]"],i=p(o,"return");if(i===t)return r;try{var a=n(i,o)}catch(e){var c=e}if(r)return r;if(c)throw c;if("object"!==s(a))throw new TypeError("Iterator's return method returned a non-object.");return r}function m(e){if("object"!==s(e))throw new Error(Object.prototype.toString.call(e)+"is not an Object.");return t=c(e,"done"),Boolean(t);var t}function w(e){var t=function(e){if(arguments.length<2)var t=n(e["[[NextMethod]]"],e["[[Iterator]]"]);else t=n(e["[[NextMethod]]"],e["[[Iterator]]"],[arguments[1]]);if("object"!==s(t))throw new TypeError("bad iterator");return t}(e);return!0!==m(t)&&t}function j(e){if("object"!==s(e))throw new Error(Object.prototype.toString.call(e)+"is not an Object.");return c(e,"value")}function S(e,t){return s(e)===s(t)&&("number"===s(e)?!(!isNaN(e)||!isNaN(t))||1/e==1/0&&1/t==-1/0||1/e==-1/0&&1/t==1/0||e===t:function(e,t){return e===t}(e,t))}function _(e){if("symbol"===s(e))throw new TypeError("Cannot convert a Symbol value to a number");var t=Number(e);return isNaN(t)?0:1/t==1/0||1/t==-1/0||t===1/0||t===-1/0?t:(t<0?-1:1)*Math.floor(Math.abs(t))}function O(e){var t=_(e);return t<=0?0:Math.min(t,Math.pow(2,53)-1)}function E(r){var o=arguments.length>1?arguments[1]:t;if("object"===s(r)){if(arguments.length<2)var i="default";else o===String?i="string":o===Number&&(i="number");var a="function"==typeof e.Symbol&&"symbol"==typeof e.Symbol.toPrimitive?p(r,e.Symbol.toPrimitive):t;if(a!==t){var u=n(a,r,[i]);if("object"!==s(u))return u;throw new TypeError("Cannot convert exotic object to primitive.")}return"default"===i&&(i="number"),function(e,t){if("string"===t)var r=["toString","valueOf"];else r=["valueOf","toString"];for(var o=0;o1?arguments[1]:p(e,Symbol.iterator),e);if("object"!==s(t))throw new TypeError("bad iterator");var r=f(t,"next"),o=Object.create(null);return o["[[Iterator]]"]=t,o["[[NextMethod]]"]=r,o["[[Done]]"]=!1,o}a(Object,"keys",function(){function e(){var e;try{e=Object.create({})}catch(e){return!0}return o.call(e,"__proto__")}var r=Object.prototype.hasOwnProperty,n=Object.prototype.toString,o=Object.prototype.propertyIsEnumerable,i=!o.call({toString:null},"toString"),a=o.call((function(){}),"prototype"),c=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],l=function(e){var t=e.constructor;return t&&t.prototype===e},u={$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},f=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!u["$"+e]&&r.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{l(window[e])}catch(e){return!0}}catch(e){return!0}return!1}(),p=function(e){if("undefined"==typeof window||!f)return l(e);try{return l(e)}catch(e){return!1}};return function(o){var l="[object Function]"===n.call(o),u=function(e){var t=n.call(e),r="[object Arguments]"===t;return r||(r="[object Array]"!==t&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===n.call(e.callee)),r}(o),f="[object String]"===n.call(o),s=[];if(o===t||null===o)throw new TypeError("Cannot convert undefined or null to object");var b=a&&l;if(f&&o.length>0&&!r.call(o,0))for(var y=0;y0)for(var v=0;v=0)var o=n;else(o=r+n)<0&&(o=0);for(;o0?arguments[0]:t;if(null===o||o===t)return r;var i=r.set;if(!l(i))throw new TypeError("Map.prototype.set is not a function");try{for(var a=T(o);;){var c=w(a);if(!1===c)return r;var u=j(c);if("object"!==s(u))try{throw new TypeError("Iterator value "+u+" is not an entry object")}catch(e){return d(a,e)}try{var f=u[0],p=u[1];i.call(r,f,p)}catch(e){return d(a,e)}}}catch(e){if(Array.isArray(o)||"[object Arguments]"===Object.prototype.toString.call(o)||o.callee){var b,y=o.length;for(b=0;b0?arguments[0]:t;if(null===o||o===t)return r;var i=r.add;if(!l(i))throw new TypeError("Set.prototype.add is not a function");try{for(var a=T(o);;){var c=w(a);if(!1===c)return r;var u=j(c);try{i.call(r,u)}catch(e){return d(a,e)}}}catch(e){if(!Array.isArray(o)&&"[object Arguments]"!==Object.prototype.toString.call(o)&&!o.callee)throw e;var f,p=o.length;for(f=0;f1?arguments[1]:t;if(s===t)var b=!1;else{if(!1===l(s))throw new TypeError(Object.prototype.toString.call(s)+" is not a function.");var y=arguments.length>2?arguments[2]:t;if(y!==t)var v=y;else v=t;b=!0}var m=p(o,Symbol.iterator);if(m!==t){if(h(a))var S=g(a);else S=r(0);for(var _=T(o,m),E=0;;){if(E>=Math.pow(2,53)-1)return d(_,new TypeError("Iteration count can not be greater than or equal 9007199254740991."));var M=P(E),$=w(_);if(!1===$)return S.length=E,S;var I=j($);if(b)try{var x=n(s,v,[I,E])}catch(e){return d(_,e)}else x=I;try{i(S,M,x)}catch(e){return d(_,e)}E+=1}}if(e(o))var N=f.call(o,/[\uD800-\uDBFF][\uDC00-\uDFFF]?|[^\uD800-\uDFFF]|./g)||[];else N=u(o);var k=O(c(N,"length"));for(S=h(a)?g(a,[k]):r(k),E=0;E=e.length)return{done:!0,value:t};var o=e[n++];return{done:!1,value:"key"===r?o.name:"value"===r?o.value:[o.name,o.value]}}}function l(t,r){function n(){var e=c.href.replace(/#$|\?$|\?(?=#)/g,"");c.href!==e&&(c.href=e)}function o(){s._setList(c.search?i(c.search.substring(1)):[]),s._update_steps()}if(!(this instanceof e.URL))throw new TypeError("Failed to construct 'URL': Please use the 'new' operator.");r&&(t=function(){if(u)return new f(t,r).href;var e;try{var n;if("[object OperaMini]"===Object.prototype.toString.call(window.operamini)?((e=document.createElement("iframe")).style.display="none",document.documentElement.appendChild(e),n=e.contentWindow.document):document.implementation&&document.implementation.createHTMLDocument?n=document.implementation.createHTMLDocument(""):document.implementation&&document.implementation.createDocument?((n=document.implementation.createDocument("http://www.w3.org/1999/xhtml","html",null)).documentElement.appendChild(n.createElement("head")),n.documentElement.appendChild(n.createElement("body"))):window.ActiveXObject&&((n=new window.ActiveXObject("htmlfile")).write(""),n.close()),!n)throw Error("base not supported");var o=n.createElement("base");o.href=r,n.getElementsByTagName("head")[0].appendChild(o);var i=n.createElement("a");return i.href=t,i.href}finally{e&&e.parentNode.removeChild(e)}}());var c=function(e){if(u)return new f(e);var t=document.createElement("a");return t.href=e,t}(t||""),l=function(){if(!("defineProperties"in Object))return!1;try{var e={};return Object.defineProperties(e,{prop:{get:function(){return!0}}}),e.prop}catch(e){return!1}}(),p=l?this:document.createElement("a"),s=new a(c.search?c.search.substring(1):null);return s._url_object=p,Object.defineProperties(p,{href:{get:function(){return c.href},set:function(e){c.href=e,n(),o()},enumerable:!0,configurable:!0},origin:{get:function(){return"data:"===this.protocol.toLowerCase()?null:"origin"in c?c.origin:this.protocol+"//"+this.host},enumerable:!0,configurable:!0},protocol:{get:function(){return c.protocol},set:function(e){c.protocol=e},enumerable:!0,configurable:!0},username:{get:function(){return c.username},set:function(e){c.username=e},enumerable:!0,configurable:!0},password:{get:function(){return c.password},set:function(e){c.password=e},enumerable:!0,configurable:!0},host:{get:function(){var e={"http:":/:80$/,"https:":/:443$/,"ftp:":/:21$/}[c.protocol];return e?c.host.replace(e,""):c.host},set:function(e){c.host=e},enumerable:!0,configurable:!0},hostname:{get:function(){return c.hostname},set:function(e){c.hostname=e},enumerable:!0,configurable:!0},port:{get:function(){return c.port},set:function(e){c.port=e},enumerable:!0,configurable:!0},pathname:{get:function(){return"/"!==c.pathname.charAt(0)?"/"+c.pathname:c.pathname},set:function(e){c.pathname=e},enumerable:!0,configurable:!0},search:{get:function(){return c.search},set:function(e){c.search!==e&&(c.search=e,n(),o())},enumerable:!0,configurable:!0},searchParams:{get:function(){return s},enumerable:!0,configurable:!0},hash:{get:function(){return c.hash},set:function(e){c.hash=e,n()},enumerable:!0,configurable:!0},toString:{value:function(){return c.toString()},enumerable:!1,configurable:!0},valueOf:{value:function(){return c.valueOf()},enumerable:!1,configurable:!0}}),p}var u,f=e.URL;try{if(f){if("searchParams"in(u=new e.URL("http://example.com"))){var p=new l("http://example.com");if(p.search="a=1&b=2","http://example.com/?a=1&b=2"===p.href&&(p.search="","http://example.com/"===p.href))return}"href"in u||(u=t),u=t}}catch(e){}if(Object.defineProperties(a.prototype,{append:{value:function(e,t){this._list.push({name:e,value:t}),this._update_steps()},writable:!0,enumerable:!0,configurable:!0},delete:{value:function(e){for(var t=0;t1?arguments[1]:t;this._list.forEach((function(t){e.call(r,t.value,t.name)}))},writable:!0,enumerable:!0,configurable:!0},toString:{value:function(){return n(this._list)},writable:!0,enumerable:!1,configurable:!0},sort:{value:function(){for(var e=this.entries(),t=e.next(),r=[],n={};!t.done;){var o=t.value,i=o[0];r.push(i),Object.prototype.hasOwnProperty.call(n,i)||(n[i]=[]),n[i].push(o[1]),t=e.next()}r.sort();for(var a=0;a