User:Lucas Werkmeister/ACDC-dev.js

Note: After saving, you have to bypass your browser's cache to see the changes. Internet Explorer: press Ctrl-F5, Mozilla: hold down Shift while clicking Reload (or press Ctrl-Shift-R), Opera/Konqueror: press F5, Safari: hold down Shift + Alt while clicking Reload, Chrome: hold down Shift while clicking Reload.
/*!
 * 
 * Add to Commons / Descriptive Claims (ACDC)
 * 
 * Gadget to add a collection of statements to a set of files.
 * 
 * Documentation: [[Help:Gadget-ACDC]]
 * (https://commons.wikimedia.org/wiki/Help:Gadget-ACDC)
 * 
 * This version was built with webpack and Babel.
 * You can find the original source code on GitHub:
 * 
 * https://github.com/lucaswerkmeister/ACDC
 * 
 * That is also where development happens –
 * please do not edit this page directly –
 * and where you can find out more about the licenses
 * of some of the code (polyfills) included in this page.
 * 
 */!function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=78)}([function(t,e,n){var r=n(2),i=n(23).f,o=n(10),a=n(15),u=n(38),s=n(55),c=n(57);t.exports=function(t,e){var n,f,l,p,h,d=t.target,v=t.global,g=t.stat;if(n=v?r:g?r[d]||u(d,{}):(r[d]||{}).prototype)for(f in e){if(p=e[f],l=t.noTargetGet?(h=i(n,f))&&h.value:n[f],!c(v?f:d+(g?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;s(p,l)}(t.sham||l&&l.sham)&&o(p,"sham",!0),a(n,f,p,t)}}},function(t,e,n){var r=n(2),i=n(18),o=n(39),a=n(58),u=r.Symbol,s=i("wks");t.exports=function(t){return s[t]||(s[t]=a&&u[t]||(a?u:o)("Symbol."+t))}},function(t,e,n){(function(e){var n="object",r=function(t){return t&&t.Math==Math&&t};t.exports=r(typeof globalThis==n&&globalThis)||r(typeof window==n&&window)||r(typeof self==n&&self)||r(typeof e==n&&e)||Function("return this")()}).call(this,n(80))},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(6);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},function(t,e,n){var r=n(3);t.exports=!r(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(5),i=n(53),o=n(4),a=n(26),u=Object.defineProperty;e.f=r?u:function(t,e,n){if(o(t),e=a(e,!0),o(n),i)try{return u(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(21),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e,n){var r=n(5),i=n(8),o=n(17);t.exports=r?function(t,e,n){return i.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(25),i=n(11);t.exports=function(t){return r(i(t))}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(11);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(2),i=n(18),o=n(10),a=n(7),u=n(38),s=n(54),c=n(20),f=c.get,l=c.enforce,p=String(s).split("toString");i("inspectSource",function(t){return s.call(t)}),(t.exports=function(t,e,n,i){var s=!!i&&!!i.unsafe,c=!!i&&!!i.enumerable,f=!!i&&!!i.noTargetGet;"function"==typeof n&&("string"!=typeof e||a(n,"name")||o(n,"name",e),l(n).source=p.join("string"==typeof e?e:"")),t!==r?(s?!f&&t[e]&&(c=!0):delete t[e],c?t[e]=n:o(t,e,n)):c?t[e]=n:u(e,n)})(Function.prototype,"toString",function(){return"function"==typeof this&&f(this).source||s.call(this)})},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(2),i=n(38),o=n(19),a=r["__core-js_shared__"]||i("__core-js_shared__",{});(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.2.1",mode:o?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports=!1},function(t,e,n){var r,i,o,a=n(81),u=n(2),s=n(6),c=n(10),f=n(7),l=n(27),p=n(28),h=u.WeakMap;if(a){var d=new h,v=d.get,g=d.has,y=d.set;r=function(t,e){return y.call(d,t,e),e},i=function(t){return v.call(d,t)||{}},o=function(t){return g.call(d,t)}}else{var m=l("state");p[m]=!0,r=function(t,e){return c(t,m,e),e},i=function(t){return f(t,m)?t[m]:{}},o=function(t){return f(t,m)}}t.exports={set:r,get:i,has:o,enforce:function(t){return o(t)?i(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!s(e)||(n=i(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e){t.exports={}},function(t,e,n){var r=n(5),i=n(24),o=n(17),a=n(12),u=n(26),s=n(7),c=n(53),f=Object.getOwnPropertyDescriptor;e.f=r?f:function(t,e){if(t=a(t),e=u(e,!0),c)try{return f(t,e)}catch(t){}if(s(t,e))return o(!i.f.call(t,e),t[e])}},function(t,e,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);e.f=o?function(t){var e=i(this,t);return!!e&&e.enumerable}:r},function(t,e,n){var r=n(3),i=n(13),o="".split;t.exports=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==i(t)?o.call(t,""):Object(t)}:Object},function(t,e,n){var r=n(6);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(18),i=n(39),o=r("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},function(t,e){t.exports={}},function(t,e,n){var r=n(40),i=n(2),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?o(r[t])||o(i[t]):r[t]&&r[t][e]||i[t]&&i[t][e]}},function(t,e,n){var r=n(13);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(56),i=n(44);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e,n){var r=n(8).f,i=n(7),o=n(1)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},function(t,e,n){var r=n(34),i=n(25),o=n(14),a=n(9),u=n(48),s=[].push,c=function(t){var e=1==t,n=2==t,c=3==t,f=4==t,l=6==t,p=5==t||l;return function(h,d,v,g){for(var y,m,x=o(h),b=i(x),w=r(d,v,3),S=a(b.length),O=0,k=g||u,P=e?k(h,S):n?k(h,0):void 0;S>O;O++)if((p||O in b)&&(m=w(y=b[O],O,x),t))if(e)P[O]=m;else if(m)switch(t){case 3:return!0;case 5:return y;case 6:return O;case 2:s.call(P,y)}else if(f)return!1;return l?-1:c||f?f:P}};t.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6)}},function(t,e,n){var r=n(16);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(3),i=n(1)("species");t.exports=function(t){return!r(function(){var e=[];return(e.constructor={})[i]=function(){return{foo:1}},1!==e[t](Boolean).foo})}},function(t,e,n){"use strict";var r,i,o=n(127),a=RegExp.prototype.exec,u=String.prototype.replace,s=a,c=(r=/a/,i=/b*/g,a.call(r,"a"),a.call(i,"a"),0!==r.lastIndex||0!==i.lastIndex),f=void 0!==/()??/.exec("")[1];(c||f)&&(s=function(t){var e,n,r,i,s=this;return f&&(n=new RegExp("^"+s.source+"$(?!\\s)",o.call(s))),c&&(e=s.lastIndex),r=a.call(s,t),c&&r&&(s.lastIndex=s.global?r.index+r[0].length:e),f&&r&&r.length>1&&u.call(r[0],n,function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)}),r}),t.exports=s},function(t,e,n){var r=n(2),i=n(6),o=r.document,a=i(o)&&i(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},function(t,e,n){var r=n(2),i=n(10);t.exports=function(t,e){try{i(r,t,e)}catch(n){r[t]=e}return e}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+r).toString(36)}},function(t,e,n){t.exports=n(2)},function(t,e,n){var r=n(56),i=n(44).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},function(t,e,n){var r=n(12),i=n(9),o=n(43),a=function(t){return function(e,n,a){var u,s=r(e),c=i(s.length),f=o(a,c);if(t&&n!=n){for(;c>f;)if((u=s[f++])!=u)return!0}else for(;c>f;f++)if((t||f in s)&&s[f]===n)return t||f||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},function(t,e,n){var r=n(21),i=Math.max,o=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):o(n,e)}},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(4),i=n(83),o=n(44),a=n(28),u=n(59),s=n(37),c=n(27)("IE_PROTO"),f=function(){},l=function(){var t,e=s("iframe"),n=o.length;for(e.style.display="none",u.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),l=t.F;n--;)delete l.prototype[o[n]];return l()};t.exports=Object.create||function(t,e){var n;return null!==t?(f.prototype=r(t),n=new f,f.prototype=null,n[c]=t):n=l(),void 0===e?n:i(n,e)},a[c]=!0},function(t,e,n){var r=n(40),i=n(7),o=n(60),a=n(8).f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});i(e,t)||a(e,t,{value:o.f(t)})}},function(t,e,n){var r=n(6),i=n(30),o=n(1)("species");t.exports=function(t,e){var n;return i(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!i(n.prototype)?r(n)&&null===(n=n[o])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},function(t,e,n){var r=n(1),i=n(46),o=n(10),a=r("unscopables"),u=Array.prototype;null==u[a]&&o(u,a,i(null)),t.exports=function(t){u[a][t]=!0}},function(t,e,n){"use strict";var r=n(3);t.exports=function(t,e){var n=[][t];return!n||!r(function(){n.call(null,e||function(){throw 1},1)})}},function(t,e,n){"use strict";var r=n(10),i=n(15),o=n(3),a=n(1),u=n(36),s=a("species"),c=!o(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}),f=!o(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]});t.exports=function(t,e,n,l){var p=a(t),h=!o(function(){var e={};return e[p]=function(){return 7},7!=""[t](e)}),d=h&&!o(function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[s]=function(){return n}),n[p](""),!e});if(!h||!d||"replace"===t&&!c||"split"===t&&!f){var v=/./[p],g=n(p,""[t],function(t,e,n,r,i){return e.exec===u?h&&!i?{done:!0,value:v.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),y=g[0],m=g[1];i(String.prototype,t,y),i(RegExp.prototype,p,2==e?function(t,e){return m.call(t,this,e)}:function(t){return m.call(t,this)}),l&&r(RegExp.prototype[p],"sham",!0)}}},function(t,e,n){var r=n(13),i=n(36);t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var o=n.call(t,e);if("object"!=typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(t,e)}},function(t,e,n){var r=n(5),i=n(3),o=n(37);t.exports=!r&&!i(function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(18);t.exports=r("native-function-to-string",Function.toString)},function(t,e,n){var r=n(7),i=n(82),o=n(23),a=n(8);t.exports=function(t,e){for(var n=i(e),u=a.f,s=o.f,c=0;c<n.length;c++){var f=n[c];r(t,f)||u(t,f,s(e,f))}}},function(t,e,n){var r=n(7),i=n(12),o=n(42).indexOf,a=n(28);t.exports=function(t,e){var n,u=i(t),s=0,c=[];for(n in u)!r(a,n)&&r(u,n)&&c.push(n);for(;e.length>s;)r(u,n=e[s++])&&(~o(c,n)||c.push(n));return c}},function(t,e,n){var r=n(3),i=/#|\.prototype\./,o=function(t,e){var n=u[a(t)];return n==c||n!=s&&("function"==typeof e?r(e):!!e)},a=o.normalize=function(t){return String(t).replace(i,".").toLowerCase()},u=o.data={},s=o.NATIVE="N",c=o.POLYFILL="P";t.exports=o},function(t,e,n){var r=n(3);t.exports=!!Object.getOwnPropertySymbols&&!r(function(){return!String(Symbol())})},function(t,e,n){var r=n(29);t.exports=r("document","documentElement")},function(t,e,n){e.f=n(1)},function(t,e,n){"use strict";var r=n(12),i=n(49),o=n(22),a=n(20),u=n(62),s=a.set,c=a.getterFor("Array Iterator");t.exports=u(Array,"Array",function(t,e){s(this,{type:"Array Iterator",target:r(t),index:0,kind:e})},function(){var t=c(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}},"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(t,e,n){"use strict";var r=n(0),i=n(93),o=n(64),a=n(95),u=n(32),s=n(10),c=n(15),f=n(1),l=n(19),p=n(22),h=n(63),d=h.IteratorPrototype,v=h.BUGGY_SAFARI_ITERATORS,g=f("iterator"),y=function(){return this};t.exports=function(t,e,n,f,h,m,x){i(n,e,f);var b,w,S,O=function(t){if(t===h&&A)return A;if(!v&&t in E)return E[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},k=e+" Iterator",P=!1,E=t.prototype,j=E[g]||E["@@iterator"]||h&&E[h],A=!v&&j||O(h),L="Array"==e&&E.entries||j;if(L&&(b=o(L.call(new t)),d!==Object.prototype&&b.next&&(l||o(b)===d||(a?a(b,d):"function"!=typeof b[g]&&s(b,g,y)),u(b,k,!0,!0),l&&(p[k]=y))),"values"==h&&j&&"values"!==j.name&&(P=!0,A=function(){return j.call(this)}),l&&!x||E[g]===A||s(E,g,A),p[e]=A,h)if(w={values:O("values"),keys:m?A:O("keys"),entries:O("entries")},x)for(S in w)!v&&!P&&S in E||c(E,S,w[S]);else r({target:e,proto:!0,forced:v||P},w);return w}},function(t,e,n){"use strict";var r,i,o,a=n(64),u=n(10),s=n(7),c=n(1),f=n(19),l=c("iterator"),p=!1;[].keys&&("next"in(o=[].keys())?(i=a(a(o)))!==Object.prototype&&(r=i):p=!0),null==r&&(r={}),f||s(r,l)||u(r,l,function(){return this}),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},function(t,e,n){var r=n(7),i=n(14),o=n(27),a=n(94),u=o("IE_PROTO"),s=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=i(t),r(t,u)?t[u]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},function(t,e,n){"use strict";var r=n(26),i=n(8),o=n(17);t.exports=function(t,e,n){var a=r(e);a in t?i.f(t,a,o(0,n)):t[a]=n}},function(t,e,n){var r=n(5),i=n(31),o=n(12),a=n(24).f,u=function(t){return function(e){for(var n,u=o(e),s=i(u),c=s.length,f=0,l=[];c>f;)n=s[f++],r&&!a.call(u,n)||l.push(t?[n,u[n]]:u[n]);return l}};t.exports={entries:u(!0),values:u(!1)}},function(t,e,n){var r=n(13),i=n(1)("toStringTag"),o="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),i))?n:o?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},function(t,e,n){var r=n(4),i=n(16),o=n(1)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[o])?e:i(n)}},function(t,e,n){var r,i,o,a=n(2),u=n(3),s=n(13),c=n(34),f=n(59),l=n(37),p=a.location,h=a.setImmediate,d=a.clearImmediate,v=a.process,g=a.MessageChannel,y=a.Dispatch,m=0,x={},b=function(t){if(x.hasOwnProperty(t)){var e=x[t];delete x[t],e()}},w=function(t){return function(){b(t)}},S=function(t){b(t.data)},O=function(t){a.postMessage(t+"",p.protocol+"//"+p.host)};h&&d||(h=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return x[++m]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},r(m),m},d=function(t){delete x[t]},"process"==s(v)?r=function(t){v.nextTick(w(t))}:y&&y.now?r=function(t){y.now(w(t))}:g?(o=(i=new g).port2,i.port1.onmessage=S,r=c(o.postMessage,o,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||u(O)?r="onreadystatechange"in l("script")?function(t){f.appendChild(l("script")).onreadystatechange=function(){f.removeChild(this),b(t)}}:function(t){setTimeout(w(t),0)}:(r=O,a.addEventListener("message",S,!1))),t.exports={set:h,clear:d}},function(t,e,n){var r=n(29);t.exports=r("navigator","userAgent")||""},function(t,e,n){"use strict";var r=n(16),i=function(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=r(e),this.reject=r(n)};t.exports.f=function(t){return new i(t)}},function(t,e,n){var r=n(73);t.exports=function(t){if(r(t))throw TypeError("The method doesn't accept regular expressions");return t}},function(t,e,n){var r=n(6),i=n(13),o=n(1)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},function(t,e,n){var r=n(1)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,"/./"[t](e)}catch(t){}}return!1}},function(t,e,n){var r=n(21),i=n(11),o=function(t){return function(e,n){var o,a,u=String(i(e)),s=r(n),c=u.length;return s<0||s>=c?t?"":void 0:(o=u.charCodeAt(s))<55296||o>56319||s+1===c||(a=u.charCodeAt(s+1))<56320||a>57343?t?u.charAt(s):o:t?u.slice(s,s+2):a-56320+(o-55296<<10)+65536}};t.exports={codeAt:o(!1),charAt:o(!0)}},function(t,e,n){"use strict";var r=n(75).charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},function(t,e){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},function(t,e,n){"use strict";n.r(e);var r;n(79),n(85),n(86),n(87),n(88),n(89),n(91),n(92),n(61),n(97),n(98),n(100),n(101),n(102),n(103),n(104),n(105),n(107),n(108),n(109),n(111),n(112),n(126),n(128),n(129),n(130),n(131),n(133),n(134),n(135),n(138),n(140);function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{r||null==u.return||u.return()}finally{if(i)throw o}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e,n,r,i,o,a){try{var u=t[o](a),s=u.value}catch(t){return void n(t)}u.done?e(s):Promise.resolve(s).then(r,i)}function u(t){return function(){var e=this,n=arguments;return new Promise(function(r,i){var o=t.apply(e,n);function u(t){a(o,r,i,u,s,"next",t)}function s(t){a(o,r,i,u,s,"throw",t)}u(void 0)})}}function s(t){return function(){return new c(t.apply(this,arguments))}}function c(t){var e,n;function r(e,n){try{var o=t[e](n),a=o.value,u=a instanceof l;Promise.resolve(u?a.wrapped:a).then(function(t){u?r("next",t):i(o.done?"return":"normal",t)},function(t){r("throw",t)})}catch(t){i("throw",t)}}function i(t,i){switch(t){case"return":e.resolve({value:i,done:!0});break;case"throw":e.reject(i);break;default:e.resolve({value:i,done:!1})}(e=e.next)?r(e.key,e.arg):n=null}this._invoke=function(t,i){return new Promise(function(o,a){var u={key:t,arg:i,resolve:o,reject:a,next:null};n?n=n.next=u:(e=n=u,r(t,i))})},"function"!=typeof t.return&&(this.return=void 0)}function f(t){return new l(t)}function l(t){this.wrapped=t}function p(t){var e;if("undefined"!=typeof Symbol){if(Symbol.asyncIterator&&null!=(e=t[Symbol.asyncIterator]))return e.call(t);if(Symbol.iterator&&null!=(e=t[Symbol.iterator]))return e.call(t)}throw new TypeError("Object is not async iterable")}function h(t,e){var n={},r=!1;function i(n,i){return r=!0,i=new Promise(function(e){e(t[n](i))}),{done:!1,value:e(i)}}return"function"==typeof Symbol&&Symbol.iterator&&(n[Symbol.iterator]=function(){return this}),n.next=function(t){return r?(r=!1,t):i("next",t)},"function"==typeof t.throw&&(n.throw=function(t){if(r)throw r=!1,t;return i("throw",t)}),"function"==typeof t.return&&(n.return=function(t){return i("return",t)}),n}"function"==typeof Symbol&&Symbol.asyncIterator&&(c.prototype[Symbol.asyncIterator]=function(){return this}),c.prototype.next=function(t){return this._invoke("next",t)},c.prototype.throw=function(t){return this._invoke("throw",t)},c.prototype.return=function(t){return this._invoke("return",t)},(r=u(regeneratorRuntime.mark(function t(e,n){var r,a,c,l,d,v,g,y,m,x,b,w,S,O,k,P,E,j,A,L,C,R,T,I,M,$,D;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return L=function(t){L.super.call(this,n.extend({size:"large"},t)),this.tags=(t||{}).tags||[]},A=function(t){A.super.call(this,n.extend({progress:0},t)),this.toggle(!1)},j=function(t){var r=this;j.super.call(this,n.extend({allowArbitrary:!0,inputWidget:new E(n.extend({placeholder:"File:Example.png | File:Example.jpg"},t)),icon:"ellipsis"},t)),this.input.connect(this,{select:"addTagFromInput"}),this.on("change",function(){r.input.setSkippedFiles(r.getTitles())}),this.$overlay=(!0===t.$overlay?OO.ui.getDefaultOverlay():t.$overlay)||this.$elemnt,this.categoryButton=new OO.ui.ButtonWidget({icon:"tag",label:"Load category"}),this.pagePileButton=new OO.ui.ButtonWidget({icon:"listBullet",label:"Load PagePile"}),this.menuPopup=new OO.ui.PopupWidget({$content:new OO.ui.StackLayout({items:[new OO.ui.PanelLayout({$content:this.categoryButton.$element,expanded:!1}),new OO.ui.PanelLayout({$content:this.pagePileButton.$element,expanded:!1})],continuous:!0,expanded:!1}).$element,$floatableContainer:this.$icon,align:"forwards",autoClose:!0,$autoCloseIgnore:this.$icon,$overlay:this.$overlay,width:null,padded:!0}),this.$overlay.append(this.menuPopup.$element),this.$icon.css({cursor:"pointer"}),this.$icon.on("click",function(){return r.menuPopup.toggle()}),this.suggestedCurrentCategory=!1,this.categoryButton.on("click",u(regeneratorRuntime.mark(function t(){var n,i;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r.menuPopup.toggle(!1),(n=e.config.get("wgPageName").replace(/_/g," ")).startsWith("Category:")&&!r.suggestedCurrentCategory?r.suggestedCurrentCategory=!0:n=null,t.next=5,OO.ui.prompt("Category title:",{size:"medium",textInput:{placeholder:"Category:Example",value:n}});case 5:if(i=t.sent){t.next=8;break}return t.abrupt("return");case 8:return i.startsWith("Category:")||(i="Category:".concat(i)),t.prev=9,t.next=12,r.loadCategory(i);case 12:t.next=18;break;case 14:return t.prev=14,t.t0=t.catch(9),t.next=18,OO.ui.alert("Error: ".concat(t.t0));case 18:case"end":return t.stop()}},t,null,[[9,14]])}))),this.pagePileButton.on("click",u(regeneratorRuntime.mark(function t(){var e;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r.menuPopup.toggle(!1),t.next=3,OO.ui.prompt("PagePile ID:",{textInput:{placeholder:"12345",type:"number"}});case 3:if(e=t.sent){t.next=6;break}return t.abrupt("return");case 6:return t.next=8,r.loadPagePile(e);case 8:case"end":return t.stop()}},t)})))},E=function(t){var e=this;E.super.call(this,n.extend({placeholder:"File:Example.png"},t)),OO.ui.mixin.LookupElement.call(this,n.extend({showPendingRequest:!1,$container:this.$input},t)),this.skippedFiles=t.skippedFiles||[],this.lookupMenu.connect(this,{choose:["emit","select"]}),this.$input.on("paste",function(t){var n=t.originalEvent,r=n.clipboardData.getData("text").trim().replace(/[\n\t]/g," | "),i=e.$input[0];"function"==typeof i.setRangeText?(i.setRangeText(r),i.selectionStart+=r.length,i.selectionEnd=i.selectionStart):i.value=r,n.preventDefault()})},P=function(t){return t.startsWith("File:")?t:"File:".concat(t)},k=function(){var t=new wikibase.datamodel.PropertyNoValueSnak("P1"),e=new wikibase.datamodel.Claim(t,null,"guid 1"),n=new wikibase.datamodel.Statement(e),r=new wikibase.datamodel.Claim(t,null,"guid 2"),i=new wikibase.datamodel.Statement(r);n.equals(i)||w("Statement.equals")},O=function(){var t=new c({entityId:"",propertyId:"P12345",isDefaultProperty:!1,properties:{P12345:"wikibase-entityid"}});"state"in t&&"P12345"===t.state.propertyId||w("StatementWidget.state.propertyId")},S=function(){"getChanges"in c.prototype&&"getRemovals"in c.prototype||w("StatementWidget.prototype")},w=function(t){throw new Error("".concat(t," seems to have changed incompatibly, AC/DC must be updated before it can be safely used!"))},b=function(){return new Promise(function(t){return setTimeout(t,1)})},x=function(){return(x=s(regeneratorRuntime.mark(function t(n){var r,i,o;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:r=new e.Api,i={action:"query",list:"categorymembers",cmtitle:n,cmprop:["title"],cmtype:["file"],cmlimit:"max",formatversion:2},o={};case 2:return t.next=4,f(r.get(Object.assign({},i,o.continue)));case 4:return o=t.sent,t.delegateYield(h(p(o.query.categorymembers.map(function(t){return t.title})),f),"t0",6);case 6:if("continue"in o){t.next=2;break}case 7:case"end":return t.stop()}},t)}))).apply(this,arguments)},m=function(t){return x.apply(this,arguments)},y=function(){return(y=u(regeneratorRuntime.mark(function t(n,r){var i,o,a,u,s,c,f,l;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:i=new e.Api,o=n.slice(),a={};case 1:if(!((u=o.splice(0,50)).length>0)){t.next=8;break}return t.next=4,i.get({action:"wbgetentities",ids:u,props:r,formatversion:2});case 4:s=t.sent,Object.assign(a,s.entities),t.next=1;break;case 8:for(c=0,f=Object.values(a);c<f.length;c++)"missing"in(l=f[c])&&(l.statements={});return t.abrupt("return",a);case 10:case"end":return t.stop()}},t)}))).apply(this,arguments)},g=function(t,e){return y.apply(this,arguments)},v=function(){return(v=u(regeneratorRuntime.mark(function t(n){var r,i,o,a,u,s,c,f,l,p,h;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:r=new e.Api,i=n.slice(),o={};case 1:if(!((a=i.splice(0,50)).length>0)){t.next=26;break}return t.next=4,r.get({action:"query",titles:a,formatversion:2});case 4:for(u=t.sent,s=!0,c=!1,f=void 0,t.prev=8,l=u.query.pages[Symbol.iterator]();!(s=(p=l.next()).done);s=!0)h=p.value,o[h.title]="M".concat(h.pageid);t.next=16;break;case 12:t.prev=12,t.t0=t.catch(8),c=!0,f=t.t0;case 16:t.prev=16,t.prev=17,s||null==l.return||l.return();case 19:if(t.prev=19,!c){t.next=22;break}throw f;case 22:return t.finish(19);case 23:return t.finish(16);case 24:t.next=1;break;case 26:return t.abrupt("return",o);case 27:case"end":return t.stop()}},t,null,[[8,12,16,24],[17,,19,23]])}))).apply(this,arguments)},d=function(t){return v.apply(this,arguments)},t.next=18,e.loader.using(["oojs","oojs-ui-core","oojs-ui-widgets","oojs-ui-windows","oojs-ui.styles.icons-interactions","oojs-ui.styles.icons-content","oojs-ui.styles.icons-editing-list","wikibase.mediainfo.statements","wikibase.utilities.ClaimGuidGenerator","wikibase.datamodel.Statement","wikibase.datamodel.Claim","wikibase.datamodel.PropertyNoValueSnak","wikibase.serialization.StatementListDeserializer","wikibase.serialization.StatementSerializer","wikibase.serialization.StatementDeserializer","mediawiki.api","mediawiki.util"]);case 18:if(r=t.sent,a=r("wikibase.mediainfo.statements"),c=a.StatementWidget,l=a.AddPropertyWidget,S(),O(),k(),OO.inheritClass(E,OO.ui.TextInputWidget),OO.mixinClass(E,OO.ui.mixin.LookupElement),E.prototype.setSkippedFiles=function(t){this.skippedFiles=t},E.prototype.getLookupRequest=function(){var t=this.getValue();return t&&-1===t.indexOf("|")?(new e.Api).get({action:"query",list:"search",srsearch:"prefix:".concat(P(t)),srinfo:[],srprop:[],formatversion:2}):n.Deferred().resolve([]).promise()},E.prototype.getLookupCacheDataFromResponse=function(t){return t.query.search.map(function(t){return t.title})},E.prototype.getLookupMenuOptionsFromData=function(t){var e=this;return t.filter(function(t){return!e.skippedFiles.includes(t)}).map(function(t){return new OO.ui.MenuOptionWidget({data:t,label:t})})},OO.inheritClass(j,OO.ui.TagMultiselectWidget),j.prototype.addTagFromInput=function(){var t=this.input.getValue().split("|").map(function(t){return t.trim()}).filter(function(t){return t}).map(function(t){return P(t)});this.clearInput();var e=!0,n=!1,r=void 0;try{for(var i,o=t[Symbol.iterator]();!(e=(i=o.next()).done);e=!0){var a=i.value;if(this.isAllowedData(a)||this.allowDisplayInvalidTags)this.addTag(a);else{var u=this.input.getValue();u&&(u+=" | "),u+=a,this.input.setValue(u)}}}catch(t){n=!0,r=t}finally{try{e||null==o.return||o.return()}finally{if(n)throw r}}},j.prototype.loadCategory=function(){var t=u(regeneratorRuntime.mark(function t(e){var n,r,i,o,a,u,s;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:n=!0,r=!1,t.prev=2,o=p(m(e));case 4:return t.next=6,o.next();case 6:return a=t.sent,n=a.done,t.next=10,a.value;case 10:if(u=t.sent,n){t.next=19;break}return s=u,this.addTag(s),t.next=16,b();case 16:n=!0,t.next=4;break;case 19:t.next=25;break;case 21:t.prev=21,t.t0=t.catch(2),r=!0,i=t.t0;case 25:if(t.prev=25,t.prev=26,n||null==o.return){t.next=30;break}return t.next=30,o.return();case 30:if(t.prev=30,!r){t.next=33;break}throw i;case 33:return t.finish(30);case 34:return t.finish(25);case 35:case"end":return t.stop()}},t,this,[[2,21,25,35],[26,,30,34]])}));return function(e){return t.apply(this,arguments)}}(),j.prototype.loadPagePile=function(){var t=u(regeneratorRuntime.mark(function t(n){var r,i,o,a,u,s,c,f;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,fetch("https://tools.wmflabs.org/pagepile/api.php?action=get_data&id=".concat(n,"&format=json")).then(function(t){return t.json()});case 2:if((r=t.sent).wiki===e.config.get("wgDBname")){t.next=7;break}return t.next=6,OO.ui.alert("That PagePile does not belong to this wiki!");case 6:return t.abrupt("return",!1);case 7:if(!((i=r.pages.filter(function(t){return t.startsWith("File:")})).length>=100)){t.next=14;break}return t.next=11,OO.ui.confirm("This PagePile contains ".concat(i.length," files, using it will take a while. Are you sure?"));case 11:if(t.sent){t.next=14;break}return t.abrupt("return",!1);case 14:o=!0,a=!1,u=void 0,t.prev=17,s=i[Symbol.iterator]();case 19:if(o=(c=s.next()).done){t.next=27;break}return f=c.value,this.addTag(f),t.next=24,b();case 24:o=!0,t.next=19;break;case 27:t.next=33;break;case 29:t.prev=29,t.t0=t.catch(17),a=!0,u=t.t0;case 33:t.prev=33,t.prev=34,o||null==s.return||s.return();case 36:if(t.prev=36,!a){t.next=39;break}throw u;case 39:return t.finish(36);case 40:return t.finish(33);case 41:return t.abrupt("return",!0);case 42:case"end":return t.stop()}},t,this,[[17,29,33,41],[34,,36,40]])}));return function(e){return t.apply(this,arguments)}}(),j.prototype.getTitles=function(){return this.getItems().map(function(t){return t.getData()})},OO.inheritClass(A,OO.ui.ProgressBarWidget),A.prototype.enable=function(t,e){this.numberEntities=t,this.numberStatementsPerEntity=e,this.totalQueryCalls=Math.ceil(t/50),this.totalGetEntitiesCalls=Math.ceil(t/50),this.totalApiCalls=this.totalQueryCalls+this.totalGetEntitiesCalls+this.numberEntities*this.numberStatementsPerEntity,this.loadedEntityIds=!1,this.loadedEntityData=!1,this.indexEntity=0,this.indexStatement=0,this.toggle(!0)},A.prototype.disable=function(){this.toggle(!1),this.setProgress(0)},A.prototype.updateProgress=function(){this.setProgress(100*((this.loadedEntityIds?this.totalQueryCalls:0)+(this.loadedEntityData?this.totalGetEntitiesCalls:0)+this.indexEntity*this.numberStatementsPerEntity+this.indexStatement)/this.totalApiCalls)},A.prototype.finishedLoadingEntityIds=function(){this.loadedEntityIds=!0,this.updateProgress()},A.prototype.finishedLoadingEntityData=function(){this.loadedEntityData=!0,this.updateProgress()},A.prototype.finishedStatements=function(t){this.indexStatement+=t,this.updateProgress()},A.prototype.finishedEntity=function(){this.indexEntity++,this.indexStatement=0,this.updateProgress()},A.prototype.finished=function(){this.setProgress(100)},OO.inheritClass(L,OO.ui.ProcessDialog),L.static.name="statements",L.static.title="Add to Commons / Descriptive Claims",L.static.actions=[{action:"save",label:e.message("wikibasemediainfo-filepage-publish").text(),flags:["primary","progressive"],modes:["edit"],disabled:!0},{label:e.message("wikibasemediainfo-filepage-cancel").text(),flags:["safe","close"],modes:["edit","save"]},{action:"stop",label:"Stop",flags:["primary","destructive"],modes:["save"]}],L.prototype.initialize=function(){var t=this;L.super.prototype.initialize.call(this),this.stopped=!1,this.filesWidget=new j({indicator:"required",$overlay:this.$overlay}),this.filesWidget.connect(this,{change:"updateCanSave"}),this.filesWidget.connect(this,{change:"updateSize"}),this.hasDuplicateStatementsPerProperty={},this.statementWidgets=[];var e=new l({$overlay:this.$overlay});e.on("choose",function(n){var r,i,o,a=n.id,u=new c({entityId:"",propertyId:a,isDefaultProperty:!1,properties:(r={},i=a,o="wikibase-entityid",i in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o,r),$overlay:t.$overlay,tags:t.tags});u.connect(t,{change:"updateCanSave"}),u.connect(t,{change:"updateSize"}),u.on("change",function(){t.hasDuplicateStatementsPerProperty[a]=!1;var e=u.getItems(),n=!0,r=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done);n=!0)o.value.$element.css("border-left","none")}catch(t){r=!0,i=t}finally{try{n||null==s.return||s.return()}finally{if(r)throw i}}for(var c=0;c<e.length;c++)for(var f=e[c],l=c+1;l<e.length;l++){var p=e[l];f.getData().getClaim().getMainSnak().equals(p.getData().getClaim().getMainSnak())&&(t.hasDuplicateStatementsPerProperty[a]=!0,f.$element.css("border-left","2px solid red"),p.$element.css("border-left","2px solid red"))}t.updateShowDuplicateStatementsError(),t.updateCanSave()}),t.statementWidgets.push(u),u.$element.insertBefore(e.$element)}),e.connect(this,{choose:"updateSize"});var n=new OO.ui.FieldLayout(this.filesWidget,{label:"Files to edit",align:"top"});n.$header.wrap("<h3>");var r=new OO.ui.FieldLayout(e,{label:"Statements to add",align:"top"});r.$header.wrap("<h3>"),this.content=new OO.ui.PanelLayout({content:[new OO.ui.FieldsetLayout({items:[n,r]})],padded:!0,expanded:!1}),this.$body.append(this.content.$element),this.statementsProgressBarWidget=new A({}),this.$head.append(this.statementsProgressBarWidget.$element),this.duplicateStatementsError=new OO.ui.MessageWidget({type:"error",label:"You specified multiple statements with the same main value, which is not supported. If you need to make multiple changes to one statement, merge them. If you really need to add multiple statements with the same value, you’ll have to find another way (sorry)."}),this.duplicateStatementsError.toggle(!1),this.$foot.append(this.duplicateStatementsError.$element)},L.prototype.getSetupProcess=function(t){var e=this;return L.super.prototype.getSetupProcess.call(this,t).next(u(regeneratorRuntime.mark(function n(){return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:e.title.setLabel("AC/DC"),e.actions.setMode("edit"),"tags"in t&&(e.tags=t.tags);case 3:case"end":return n.stop()}},n)})))},L.prototype.getReadyProcess=function(t){var e=this;return L.super.prototype.getReadyProcess.call(this,t).next(u(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:e.filesWidget.updateInputSize(),e.filesWidget.focus();case 2:case"end":return t.stop()}},t)})))},L.prototype.getActionProcess=function(t){var e=this;switch(t){case"save":return new OO.ui.Process(u(regeneratorRuntime.mark(function t(){var n,r,a,u,s,c,f,l,p,h;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e.actions.setMode("save"),n=e.filesWidget.getTitles(),e.statementsProgressBarWidget.enable(n.length,e.statementWidgets.reduce(function(t,e){return t+e.getData().length},0)),t.next=5,d(n);case 5:return r=t.sent,e.statementsProgressBarWidget.finishedLoadingEntityIds(),t.next=9,g(Object.values(r),["info","claims"]);case 9:a=t.sent,e.statementsProgressBarWidget.finishedLoadingEntityData(),u=new wikibase.serialization.StatementListDeserializer,s=new wikibase.serialization.StatementSerializer,c=new wikibase.serialization.StatementDeserializer,f=regeneratorRuntime.mark(function t(){var n,r,f,h,d,v,g,y,m,x,b;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:n=i(p[l],2),r=n[0],f=n[1],h=new wikibase.utilities.ClaimGuidGenerator(f),d=!0,v=!1,g=void 0,t.prev=5,y=regeneratorRuntime.mark(function t(){var n,r;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(n=x.value,r=u.deserialize(a[f].statements[n.state.propertyId]||[]),n.getChanges=function(){return n.getData().toArray().flatMap(function(t){var e=!0,n=!1,i=void 0;try{for(var o,a=r.toArray()[Symbol.iterator]();!(e=(o=a.next()).done);e=!0){var u=o.value;if(t.getClaim().getMainSnak().equals(u.getClaim().getMainSnak())){if(t.equals(u))return[];var f=c.deserialize(s.serialize(u));return f.getClaim().getQualifiers().merge(t.getClaim().getQualifiers()),t.getRank()!==wikibase.datamodel.Statement.RANK.NORMAL&&f.getRank()===wikibase.datamodel.Statement.RANK.NORMAL&&f.setRank(t.getRank()),f.equals(u)?[]:[f]}}}catch(t){n=!0,i=t}finally{try{e||null==a.return||a.return()}finally{if(n)throw i}}return[new wikibase.datamodel.Statement(new wikibase.datamodel.Claim(t.getClaim().getMainSnak(),t.getClaim().getQualifiers(),h.newGuid()),t.getReferences(),t.getRank())]})},n.getRemovals=function(){return[]},!e.stopped){t.next=7;break}return e.stopped=!1,t.abrupt("return",{v:{v:void 0}});case 7:return t.next=9,n.submit(a[f].lastrevid);case 9:e.statementsProgressBarWidget.finishedStatements(n.getData().length);case 10:case"end":return t.stop()}},t)}),m=e.statementWidgets[Symbol.iterator]();case 8:if(d=(x=m.next()).done){t.next=16;break}return t.delegateYield(y(),"t0",10);case 10:if("object"!==o(b=t.t0)){t.next=13;break}return t.abrupt("return",b.v);case 13:d=!0,t.next=8;break;case 16:t.next=22;break;case 18:t.prev=18,t.t1=t.catch(5),v=!0,g=t.t1;case 22:t.prev=22,t.prev=23,d||null==m.return||m.return();case 25:if(t.prev=25,!v){t.next=28;break}throw g;case 28:return t.finish(25);case 29:return t.finish(22);case 30:e.filesWidget.removeTagByData(r),e.statementsProgressBarWidget.finishedEntity();case 32:case"end":return t.stop()}},t,null,[[5,18,22,30],[23,,25,29]])}),l=0,p=Object.entries(r);case 14:if(!(l<p.length)){t.next=22;break}return t.delegateYield(f(),"t0",16);case 16:if("object"!==o(h=t.t0)){t.next=19;break}return t.abrupt("return",h.v);case 19:l++,t.next=14;break;case 22:return e.statementsProgressBarWidget.finished(),t.next=25,new Promise(function(t){return setTimeout(t,1e3)});case 25:e.actions.setMode("edit"),e.close();case 27:case"end":return t.stop()}},t)}))).next(u(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:e.statementsProgressBarWidget.disable();case 1:case"end":return t.stop()}},t)})));case"stop":return new OO.ui.Process(u(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:e.stopped=!0,e.actions.setMode("edit");case 2:case"end":return t.stop()}},t)})));default:return L.super.prototype.getActionProcess.call(this,t)}},L.prototype.onActionClick=function(t){this.isPending()&&"stop"!==t.getAction()||this.executeAction(t.getAction())},L.prototype.hasDuplicateStatements=function(){return Object.values(this.hasDuplicateStatementsPerProperty).some(function(t){return t})},L.prototype.updateCanSave=function(){this.actions.setAbilities({save:this.filesWidget.getTitles().length&&this.statementWidgets.some(function(t){return t.getData().length})&&!this.hasDuplicateStatements()})},L.prototype.updateShowDuplicateStatementsError=function(){this.duplicateStatementsError.toggle(this.hasDuplicateStatements())},L.prototype.getBodyHeight=function(){return this.$head.outerHeight(!0)+Math.max(400,200*Math.ceil(this.$body.outerHeight(!0)/200))+this.$foot.outerHeight(!0)+50},C=[],"//commons.wikimedia.org"!==e.config.get("wgServer")&&"//test-commons.wikimedia.org"!==e.config.get("wgServer")||(C=["ACDC"]),(R=new OO.Factory).register(L),T=new OO.ui.WindowManager({factory:R}),n(document.body).append(T.$element),OO.ui.getWindowManager().$element.insertAfter(T.$element),I=e.util.addPortletLink("p-tb","","AC/DC","t-acdc"),n(I).on("click",function(){try{T.openWindow("statements",{tags:C})}catch(t){OO.ui.alert(String(t))}return!1}),M=e.util.getParamValue("acdcShow"),$=e.util.getParamValue("acdcPagePileId"),!M&&!$){t.next=76;break}return T.openWindow("statements",{tags:C}),t.next=72,T.getWindow("statements");case 72:if(D=t.sent,!$){t.next=76;break}return t.next=76,D.filesWidget.loadPagePile($);case 76:case"end":return t.stop()}},t)})),function(t,e){return r.apply(this,arguments)})(mediaWiki,jQuery)},function(t,e,n){"use strict";var r=n(0),i=n(2),o=n(19),a=n(5),u=n(58),s=n(3),c=n(7),f=n(30),l=n(6),p=n(4),h=n(14),d=n(12),v=n(26),g=n(17),y=n(46),m=n(31),x=n(41),b=n(84),w=n(45),S=n(23),O=n(8),k=n(24),P=n(10),E=n(15),j=n(18),A=n(27),L=n(28),C=n(39),R=n(1),T=n(60),I=n(47),M=n(32),$=n(20),D=n(33).forEach,_=A("hidden"),W=R("toPrimitive"),F=$.set,N=$.getterFor("Symbol"),z=Object.prototype,B=i.Symbol,G=i.JSON,q=G&&G.stringify,V=S.f,H=O.f,Y=b.f,Q=k.f,K=j("symbols"),U=j("op-symbols"),J=j("string-to-symbol-registry"),X=j("symbol-to-string-registry"),Z=j("wks"),tt=i.QObject,et=!tt||!tt.prototype||!tt.prototype.findChild,nt=a&&s(function(){return 7!=y(H({},"a",{get:function(){return H(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=V(z,e);r&&delete z[e],H(t,e,n),r&&t!==z&&H(z,e,r)}:H,rt=function(t,e){var n=K[t]=y(B.prototype);return F(n,{type:"Symbol",tag:t,description:e}),a||(n.description=e),n},it=u&&"symbol"==typeof B.iterator?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof B},ot=function(t,e,n){t===z&&ot(U,e,n),p(t);var r=v(e,!0);return p(n),c(K,r)?(n.enumerable?(c(t,_)&&t[_][r]&&(t[_][r]=!1),n=y(n,{enumerable:g(0,!1)})):(c(t,_)||H(t,_,g(1,{})),t[_][r]=!0),nt(t,r,n)):H(t,r,n)},at=function(t,e){p(t);var n=d(e),r=m(n).concat(ft(n));return D(r,function(e){a&&!ut.call(n,e)||ot(t,e,n[e])}),t},ut=function(t){var e=v(t,!0),n=Q.call(this,e);return!(this===z&&c(K,e)&&!c(U,e))&&(!(n||!c(this,e)||!c(K,e)||c(this,_)&&this[_][e])||n)},st=function(t,e){var n=d(t),r=v(e,!0);if(n!==z||!c(K,r)||c(U,r)){var i=V(n,r);return!i||!c(K,r)||c(n,_)&&n[_][r]||(i.enumerable=!0),i}},ct=function(t){var e=Y(d(t)),n=[];return D(e,function(t){c(K,t)||c(L,t)||n.push(t)}),n},ft=function(t){var e=t===z,n=Y(e?U:d(t)),r=[];return D(n,function(t){!c(K,t)||e&&!c(z,t)||r.push(K[t])}),r};u||(E((B=function(){if(this instanceof B)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=C(t),n=function(t){this===z&&n.call(U,t),c(this,_)&&c(this[_],e)&&(this[_][e]=!1),nt(this,e,g(1,t))};return a&&et&&nt(z,e,{configurable:!0,set:n}),rt(e,t)}).prototype,"toString",function(){return N(this).tag}),k.f=ut,O.f=ot,S.f=st,x.f=b.f=ct,w.f=ft,a&&(H(B.prototype,"description",{configurable:!0,get:function(){return N(this).description}}),o||E(z,"propertyIsEnumerable",ut,{unsafe:!0})),T.f=function(t){return rt(R(t),t)}),r({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:B}),D(m(Z),function(t){I(t)}),r({target:"Symbol",stat:!0,forced:!u},{for:function(t){var e=String(t);if(c(J,e))return J[e];var n=B(e);return J[e]=n,X[n]=e,n},keyFor:function(t){if(!it(t))throw TypeError(t+" is not a symbol");if(c(X,t))return X[t]},useSetter:function(){et=!0},useSimple:function(){et=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!a},{create:function(t,e){return void 0===e?y(t):at(y(t),e)},defineProperty:ot,defineProperties:at,getOwnPropertyDescriptor:st}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:ct,getOwnPropertySymbols:ft}),r({target:"Object",stat:!0,forced:s(function(){w.f(1)})},{getOwnPropertySymbols:function(t){return w.f(h(t))}}),G&&r({target:"JSON",stat:!0,forced:!u||s(function(){var t=B();return"[null]"!=q([t])||"{}"!=q({a:t})||"{}"!=q(Object(t))})},{stringify:function(t){for(var e,n,r=[t],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=e=r[1],(l(e)||void 0!==t)&&!it(t))return f(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!it(e))return e}),r[1]=e,q.apply(G,r)}}),B.prototype[W]||P(B.prototype,W,B.prototype.valueOf),M(B,"Symbol"),L[_]=!0},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){var r=n(2),i=n(54),o=r.WeakMap;t.exports="function"==typeof o&&/native code/.test(i.call(o))},function(t,e,n){var r=n(29),i=n(41),o=n(45),a=n(4);t.exports=r("Reflect","ownKeys")||function(t){var e=i.f(a(t)),n=o.f;return n?e.concat(n(t)):e}},function(t,e,n){var r=n(5),i=n(8),o=n(4),a=n(31);t.exports=r?Object.defineProperties:function(t,e){o(t);for(var n,r=a(e),u=r.length,s=0;u>s;)i.f(t,n=r[s++],e[n]);return t}},function(t,e,n){var r=n(12),i=n(41).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?function(t){try{return i(t)}catch(t){return a.slice()}}(t):i(r(t))}},function(t,e,n){"use strict";var r=n(0),i=n(5),o=n(2),a=n(7),u=n(6),s=n(8).f,c=n(55),f=o.Symbol;if(i&&"function"==typeof f&&(!("description"in f.prototype)||void 0!==f().description)){var l={},p=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof p?new f(t):void 0===t?f():f(t);return""===t&&(l[e]=!0),e};c(p,f);var h=p.prototype=f.prototype;h.constructor=p;var d=h.toString,v="Symbol(test)"==String(f("test")),g=/^Symbol\((.*)\)[^)]+$/;s(h,"description",{configurable:!0,get:function(){var t=u(this)?this.valueOf():this,e=d.call(t);if(a(l,t))return"";var n=v?e.slice(7,-1):e.replace(g,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:p})}},function(t,e,n){n(47)("asyncIterator")},function(t,e,n){n(47)("iterator")},function(t,e,n){"use strict";var r=n(0),i=n(33).filter;r({target:"Array",proto:!0,forced:!n(35)("filter")},{filter:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var r=n(0),i=n(90),o=n(14),a=n(9),u=n(16),s=n(48);r({target:"Array",proto:!0},{flatMap:function(t){var e,n=o(this),r=a(n.length);return u(t),(e=s(n,0)).length=i(e,n,n,r,0,1,t,arguments.length>1?arguments[1]:void 0),e}})},function(t,e,n){"use strict";var r=n(30),i=n(9),o=n(34),a=function(t,e,n,u,s,c,f,l){for(var p,h=s,d=0,v=!!f&&o(f,l,3);d<u;){if(d in n){if(p=v?v(n[d],d,e):n[d],c>0&&r(p))h=a(t,e,p,i(p.length),h,c-1)-1;else{if(h>=9007199254740991)throw TypeError("Exceed the acceptable array length");t[h]=p}h++}d++}return h};t.exports=a},function(t,e,n){"use strict";var r=n(0),i=n(42).includes,o=n(49);r({target:"Array",proto:!0},{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o("includes")},function(t,e,n){"use strict";var r=n(0),i=n(42).indexOf,o=n(50),a=[].indexOf,u=!!a&&1/[1].indexOf(1,-0)<0,s=o("indexOf");r({target:"Array",proto:!0,forced:u||s},{indexOf:function(t){return u?a.apply(this,arguments)||0:i(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var r=n(63).IteratorPrototype,i=n(46),o=n(17),a=n(32),u=n(22),s=function(){return this};t.exports=function(t,e,n){var c=e+" Iterator";return t.prototype=i(r,{next:o(1,n)}),a(t,c,!1,!0),u[c]=s,t}},function(t,e,n){var r=n(3);t.exports=!r(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})},function(t,e,n){var r=n(4),i=n(96);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,o){return r(n),i(o),e?t.call(n,o):n.__proto__=o,n}}():void 0)},function(t,e,n){var r=n(6);t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},function(t,e,n){"use strict";var r=n(0),i=n(33).map;r({target:"Array",proto:!0,forced:!n(35)("map")},{map:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var r=n(0),i=n(99).left;r({target:"Array",proto:!0,forced:n(50)("reduce")},{reduce:function(t){return i(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var r=n(16),i=n(14),o=n(25),a=n(9),u=function(t){return function(e,n,u,s){r(n);var c=i(e),f=o(c),l=a(c.length),p=t?l-1:0,h=t?-1:1;if(u<2)for(;;){if(p in f){s=f[p],p+=h;break}if(p+=h,t?p<0:l<=p)throw TypeError("Reduce of empty array with no initial value")}for(;t?p>=0:l>p;p+=h)p in f&&(s=n(s,f[p],p,c));return s}};t.exports={left:u(!1),right:u(!0)}},function(t,e,n){"use strict";var r=n(0),i=n(6),o=n(30),a=n(43),u=n(9),s=n(12),c=n(65),f=n(35),l=n(1)("species"),p=[].slice,h=Math.max;r({target:"Array",proto:!0,forced:!f("slice")},{slice:function(t,e){var n,r,f,d=s(this),v=u(d.length),g=a(t,v),y=a(void 0===e?v:e,v);if(o(d)&&("function"!=typeof(n=d.constructor)||n!==Array&&!o(n.prototype)?i(n)&&null===(n=n[l])&&(n=void 0):n=void 0,n===Array||void 0===n))return p.call(d,g,y);for(r=new(void 0===n?Array:n)(h(y-g,0)),f=0;g<y;g++,f++)g in d&&c(r,f,d[g]);return r.length=f,r}})},function(t,e,n){"use strict";var r=n(0),i=n(33).some;r({target:"Array",proto:!0,forced:n(50)("some")},{some:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var r=n(0),i=n(43),o=n(21),a=n(9),u=n(14),s=n(48),c=n(65),f=n(35),l=Math.max,p=Math.min;r({target:"Array",proto:!0,forced:!f("splice")},{splice:function(t,e){var n,r,f,h,d,v,g=u(this),y=a(g.length),m=i(t,y),x=arguments.length;if(0===x?n=r=0:1===x?(n=0,r=y-m):(n=x-2,r=p(l(o(e),0),y-m)),y+n-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(f=s(g,r),h=0;h<r;h++)(d=m+h)in g&&c(f,h,g[d]);if(f.length=r,n<r){for(h=m;h<y-r;h++)v=h+n,(d=h+r)in g?g[v]=g[d]:delete g[v];for(h=y;h>y-r+n;h--)delete g[h-1]}else if(n>r)for(h=y-r;h>m;h--)v=h+n-1,(d=h+r-1)in g?g[v]=g[d]:delete g[v];for(h=0;h<n;h++)g[h+m]=arguments[h+2];return g.length=y-r+n,f}})},function(t,e,n){n(49)("flatMap")},function(t,e,n){var r=n(5),i=n(8).f,o=Function.prototype,a=o.toString,u=/^\s*function ([^ (]*)/;!r||"name"in o||i(o,"name",{configurable:!0,get:function(){try{return a.call(this).match(u)[1]}catch(t){return""}}})},function(t,e,n){var r=n(0),i=n(106);r({target:"Object",stat:!0,forced:Object.assign!==i},{assign:i})},function(t,e,n){"use strict";var r=n(5),i=n(3),o=n(31),a=n(45),u=n(24),s=n(14),c=n(25),f=Object.assign;t.exports=!f||i(function(){var t={},e={},n=Symbol();return t[n]=7,"abcdefghijklmnopqrst".split("").forEach(function(t){e[t]=t}),7!=f({},t)[n]||"abcdefghijklmnopqrst"!=o(f({},e)).join("")})?function(t,e){for(var n=s(t),i=arguments.length,f=1,l=a.f,p=u.f;i>f;)for(var h,d=c(arguments[f++]),v=l?o(d).concat(l(d)):o(d),g=v.length,y=0;g>y;)h=v[y++],r&&!p.call(d,h)||(n[h]=d[h]);return n}:f},function(t,e,n){var r=n(0),i=n(5);r({target:"Object",stat:!0,forced:!i,sham:!i},{defineProperty:n(8).f})},function(t,e,n){var r=n(0),i=n(66).entries;r({target:"Object",stat:!0},{entries:function(t){return i(t)}})},function(t,e,n){var r=n(15),i=n(110),o=Object.prototype;i!==o.toString&&r(o,"toString",i,{unsafe:!0})},function(t,e,n){"use strict";var r=n(67),i={};i[n(1)("toStringTag")]="z",t.exports="[object z]"!==String(i)?function(){return"[object "+r(this)+"]"}:i.toString},function(t,e,n){var r=n(0),i=n(66).values;r({target:"Object",stat:!0},{values:function(t){return i(t)}})},function(t,e,n){"use strict";var r,i,o,a,u=n(0),s=n(19),c=n(2),f=n(40),l=n(113),p=n(15),h=n(114),d=n(32),v=n(115),g=n(6),y=n(16),m=n(116),x=n(13),b=n(117),w=n(121),S=n(68),O=n(69).set,k=n(122),P=n(123),E=n(124),j=n(71),A=n(125),L=n(70),C=n(20),R=n(57),T=n(1)("species"),I="Promise",M=C.get,$=C.set,D=C.getterFor(I),_=l,W=c.TypeError,F=c.document,N=c.process,z=c.fetch,B=N&&N.versions,G=B&&B.v8||"",q=j.f,V=q,H="process"==x(N),Y=!!(F&&F.createEvent&&c.dispatchEvent),Q=R(I,function(){var t=_.resolve(1),e=function(){},n=(t.constructor={})[T]=function(t){t(e,e)};return!((H||"function"==typeof PromiseRejectionEvent)&&(!s||t.finally)&&t.then(e)instanceof n&&0!==G.indexOf("6.6")&&-1===L.indexOf("Chrome/66"))}),K=Q||!w(function(t){_.all(t).catch(function(){})}),U=function(t){var e;return!(!g(t)||"function"!=typeof(e=t.then))&&e},J=function(t,e,n){if(!e.notified){e.notified=!0;var r=e.reactions;k(function(){for(var i=e.value,o=1==e.state,a=0;r.length>a;){var u,s,c,f=r[a++],l=o?f.ok:f.fail,p=f.resolve,h=f.reject,d=f.domain;try{l?(o||(2===e.rejection&&et(t,e),e.rejection=1),!0===l?u=i:(d&&d.enter(),u=l(i),d&&(d.exit(),c=!0)),u===f.promise?h(W("Promise-chain cycle")):(s=U(u))?s.call(u,p,h):p(u)):h(i)}catch(t){d&&!c&&d.exit(),h(t)}}e.reactions=[],e.notified=!1,n&&!e.rejection&&Z(t,e)})}},X=function(t,e,n){var r,i;Y?((r=F.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),c.dispatchEvent(r)):r={promise:e,reason:n},(i=c["on"+t])?i(r):"unhandledrejection"===t&&E("Unhandled promise rejection",n)},Z=function(t,e){O.call(c,function(){var n,r=e.value;if(tt(e)&&(n=A(function(){H?N.emit("unhandledRejection",r,t):X("unhandledrejection",t,r)}),e.rejection=H||tt(e)?2:1,n.error))throw n.value})},tt=function(t){return 1!==t.rejection&&!t.parent},et=function(t,e){O.call(c,function(){H?N.emit("rejectionHandled",t):X("rejectionhandled",t,e.value)})},nt=function(t,e,n,r){return function(i){t(e,n,i,r)}},rt=function(t,e,n,r){e.done||(e.done=!0,r&&(e=r),e.value=n,e.state=2,J(t,e,!0))},it=function(t,e,n,r){if(!e.done){e.done=!0,r&&(e=r);try{if(t===n)throw W("Promise can't be resolved itself");var i=U(n);i?k(function(){var r={done:!1};try{i.call(n,nt(it,t,r,e),nt(rt,t,r,e))}catch(n){rt(t,r,n,e)}}):(e.value=n,e.state=1,J(t,e,!1))}catch(n){rt(t,{done:!1},n,e)}}};Q&&(_=function(t){m(this,_,I),y(t),r.call(this);var e=M(this);try{t(nt(it,this,e),nt(rt,this,e))}catch(t){rt(this,e,t)}},(r=function(t){$(this,{type:I,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=h(_.prototype,{then:function(t,e){var n=D(this),r=q(S(this,_));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=H?N.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&J(this,n,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r,e=M(t);this.promise=t,this.resolve=nt(it,t,e),this.reject=nt(rt,t,e)},j.f=q=function(t){return t===_||t===o?new i(t):V(t)},s||"function"!=typeof l||(a=l.prototype.then,p(l.prototype,"then",function(t,e){var n=this;return new _(function(t,e){a.call(n,t,e)}).then(t,e)}),"function"==typeof z&&u({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return P(_,z.apply(c,arguments))}}))),u({global:!0,wrap:!0,forced:Q},{Promise:_}),d(_,I,!1,!0),v(I),o=f.Promise,u({target:I,stat:!0,forced:Q},{reject:function(t){var e=q(this);return e.reject.call(void 0,t),e.promise}}),u({target:I,stat:!0,forced:s||Q},{resolve:function(t){return P(s&&this===o?_:this,t)}}),u({target:I,stat:!0,forced:K},{all:function(t){var e=this,n=q(e),r=n.resolve,i=n.reject,o=A(function(){var n=y(e.resolve),o=[],a=0,u=1;b(t,function(t){var s=a++,c=!1;o.push(void 0),u++,n.call(e,t).then(function(t){c||(c=!0,o[s]=t,--u||r(o))},i)}),--u||r(o)});return o.error&&i(o.value),n.promise},race:function(t){var e=this,n=q(e),r=n.reject,i=A(function(){var i=y(e.resolve);b(t,function(t){i.call(e,t).then(n.resolve,r)})});return i.error&&r(i.value),n.promise}})},function(t,e,n){var r=n(2);t.exports=r.Promise},function(t,e,n){var r=n(15);t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},function(t,e,n){"use strict";var r=n(29),i=n(8),o=n(1),a=n(5),u=o("species");t.exports=function(t){var e=r(t),n=i.f;a&&e&&!e[u]&&n(e,u,{configurable:!0,get:function(){return this}})}},function(t,e){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},function(t,e,n){var r=n(4),i=n(118),o=n(9),a=n(34),u=n(119),s=n(120),c=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,e,n,f,l){var p,h,d,v,g,y,m=a(e,n,f?2:1);if(l)p=t;else{if("function"!=typeof(h=u(t)))throw TypeError("Target is not iterable");if(i(h)){for(d=0,v=o(t.length);v>d;d++)if((g=f?m(r(y=t[d])[0],y[1]):m(t[d]))&&g instanceof c)return g;return new c(!1)}p=h.call(t)}for(;!(y=p.next()).done;)if((g=s(p,m,y.value,f))&&g instanceof c)return g;return new c(!1)}).stop=function(t){return new c(!0,t)}},function(t,e,n){var r=n(1),i=n(22),o=r("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||a[o]===t)}},function(t,e,n){var r=n(67),i=n(22),o=n(1)("iterator");t.exports=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,e,n){var r=n(4);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&r(o.call(t)),e}}},function(t,e,n){var r=n(1)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[r]=function(){return this},Array.from(a,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},t(o)}catch(t){}return n}},function(t,e,n){var r,i,o,a,u,s,c,f,l=n(2),p=n(23).f,h=n(13),d=n(69).set,v=n(70),g=l.MutationObserver||l.WebKitMutationObserver,y=l.process,m=l.Promise,x="process"==h(y),b=p(l,"queueMicrotask"),w=b&&b.value;w||(r=function(){var t,e;for(x&&(t=y.domain)&&t.exit();i;){e=i.fn,i=i.next;try{e()}catch(t){throw i?a():o=void 0,t}}o=void 0,t&&t.enter()},x?a=function(){y.nextTick(r)}:g&&!/(iphone|ipod|ipad).*applewebkit/i.test(v)?(u=!0,s=document.createTextNode(""),new g(r).observe(s,{characterData:!0}),a=function(){s.data=u=!u}):m&&m.resolve?(c=m.resolve(void 0),f=c.then,a=function(){f.call(c,r)}):a=function(){d.call(l,r)}),t.exports=w||function(t){var e={fn:t,next:void 0};o&&(o.next=e),i||(i=e,a()),o=e}},function(t,e,n){var r=n(4),i=n(6),o=n(71);t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){var r=n(2);t.exports=function(t,e){var n=r.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}},function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},function(t,e,n){"use strict";var r=n(0),i=n(36);r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},function(t,e,n){"use strict";var r=n(4);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){"use strict";var r=n(0),i=n(72),o=n(11);r({target:"String",proto:!0,forced:!n(74)("includes")},{includes:function(t){return!!~String(o(this)).indexOf(i(t),arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var r=n(75).charAt,i=n(20),o=n(62),a=i.set,u=i.getterFor("String Iterator");o(String,"String",function(t){a(this,{type:"String Iterator",string:String(t),index:0})},function(){var t,e=u(this),n=e.string,i=e.index;return i>=n.length?{value:void 0,done:!0}:(t=r(n,i),e.index+=t.length,{value:t,done:!1})})},function(t,e,n){"use strict";var r=n(51),i=n(4),o=n(14),a=n(9),u=n(21),s=n(11),c=n(76),f=n(52),l=Math.max,p=Math.min,h=Math.floor,d=/\$([$&'`]|\d\d?|<[^>]*>)/g,v=/\$([$&'`]|\d\d?)/g;r("replace",2,function(t,e,n){return[function(n,r){var i=s(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,i,r):e.call(String(i),n,r)},function(t,o){var s=n(e,t,this,o);if(s.done)return s.value;var h=i(t),d=String(this),v="function"==typeof o;v||(o=String(o));var g=h.global;if(g){var y=h.unicode;h.lastIndex=0}for(var m=[];;){var x=f(h,d);if(null===x)break;if(m.push(x),!g)break;""===String(x[0])&&(h.lastIndex=c(d,a(h.lastIndex),y))}for(var b,w="",S=0,O=0;O<m.length;O++){x=m[O];for(var k=String(x[0]),P=l(p(u(x.index),d.length),0),E=[],j=1;j<x.length;j++)E.push(void 0===(b=x[j])?b:String(b));var A=x.groups;if(v){var L=[k].concat(E,P,d);void 0!==A&&L.push(A);var C=String(o.apply(void 0,L))}else C=r(k,d,P,E,A,o);P>=S&&(w+=d.slice(S,P)+C,S=P+k.length)}return w+d.slice(S)}];function r(t,n,r,i,a,u){var s=r+t.length,c=i.length,f=v;return void 0!==a&&(a=o(a),f=d),e.call(u,f,function(e,o){var u;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return n.slice(0,r);case"'":return n.slice(s);case"<":u=a[o.slice(1,-1)];break;default:var f=+o;if(0===f)return e;if(f>c){var l=h(f/10);return 0===l?e:l<=c?void 0===i[l-1]?o.charAt(1):i[l-1]+o.charAt(1):e}u=i[f-1]}return void 0===u?"":u})}})},function(t,e,n){"use strict";var r=n(51),i=n(4),o=n(11),a=n(132),u=n(52);r("search",1,function(t,e,n){return[function(e){var n=o(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var o=i(t),s=String(this),c=o.lastIndex;a(c,0)||(o.lastIndex=0);var f=u(o,s);return a(o.lastIndex,c)||(o.lastIndex=c),null===f?-1:f.index}]})},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},function(t,e,n){"use strict";var r=n(51),i=n(73),o=n(4),a=n(11),u=n(68),s=n(76),c=n(9),f=n(52),l=n(36),p=n(3),h=[].push,d=Math.min,v=!p(function(){return!RegExp(4294967295,"y")});r("split",2,function(t,e,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var r=String(a(this)),o=void 0===n?4294967295:n>>>0;if(0===o)return[];if(void 0===t)return[r];if(!i(t))return e.call(r,t,o);for(var u,s,c,f=[],p=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),d=0,v=new RegExp(t.source,p+"g");(u=l.call(v,r))&&!((s=v.lastIndex)>d&&(f.push(r.slice(d,u.index)),u.length>1&&u.index<r.length&&h.apply(f,u.slice(1)),c=u[0].length,d=s,f.length>=o));)v.lastIndex===u.index&&v.lastIndex++;return d===r.length?!c&&v.test("")||f.push(""):f.push(r.slice(d)),f.length>o?f.slice(0,o):f}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var i=a(this),o=null==e?void 0:e[t];return void 0!==o?o.call(e,i,n):r.call(String(i),e,n)},function(t,i){var a=n(r,t,this,i,r!==e);if(a.done)return a.value;var l=o(t),p=String(this),h=u(l,RegExp),g=l.unicode,y=(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(v?"y":"g"),m=new h(v?l:"^(?:"+l.source+")",y),x=void 0===i?4294967295:i>>>0;if(0===x)return[];if(0===p.length)return null===f(m,p)?[p]:[];for(var b=0,w=0,S=[];w<p.length;){m.lastIndex=v?w:0;var O,k=f(m,v?p:p.slice(w));if(null===k||(O=d(c(m.lastIndex+(v?0:w)),p.length))===b)w=s(p,w,g);else{if(S.push(p.slice(b,w)),S.length===x)return S;for(var P=1;P<=k.length-1;P++)if(S.push(k[P]),S.length===x)return S;w=b=O}}return S.push(p.slice(b)),S}]},!v)},function(t,e,n){"use strict";var r=n(0),i=n(9),o=n(72),a=n(11),u=n(74),s="".startsWith,c=Math.min;r({target:"String",proto:!0,forced:!u("startsWith")},{startsWith:function(t){var e=String(a(this));o(t);var n=i(c(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return s?s.call(e,r,n):e.slice(n,n+r.length)===r}})},function(t,e,n){"use strict";var r=n(0),i=n(136).trim;r({target:"String",proto:!0,forced:n(137)("trim")},{trim:function(){return i(this)}})},function(t,e,n){var r=n(11),i="["+n(77)+"]",o=RegExp("^"+i+i+"*"),a=RegExp(i+i+"*$"),u=function(t){return function(e){var n=String(r(e));return 1&t&&(n=n.replace(o,"")),2&t&&(n=n.replace(a,"")),n}};t.exports={start:u(1),end:u(2),trim:u(3)}},function(t,e,n){var r=n(3),i=n(77);t.exports=function(t){return r(function(){return!!i[t]()||"​…᠎"!="​…᠎"[t]()||i[t].name!==t})}},function(t,e,n){var r=n(2),i=n(139),o=n(61),a=n(10),u=n(1),s=u("iterator"),c=u("toStringTag"),f=o.values;for(var l in i){var p=r[l],h=p&&p.prototype;if(h){if(h[s]!==f)try{a(h,s,f)}catch(t){h[s]=f}if(h[c]||a(h,c,l),i[l])for(var d in o)if(h[d]!==o[d])try{a(h,d,o[d])}catch(t){h[d]=o[d]}}}},function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(t,e,n){var r=function(t){"use strict";var e,n=Object.prototype,r=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,n,r){var i=e&&e.prototype instanceof v?e:v,o=Object.create(i.prototype),a=new j(r||[]);return o._invoke=function(t,e,n){var r=f;return function(i,o){if(r===p)throw new Error("Generator is already running");if(r===h){if("throw"===i)throw o;return L()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var u=k(a,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var s=c(t,e,n);if("normal"===s.type){if(r=n.done?h:l,s.arg===d)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r=h,n.method="throw",n.arg=s.arg)}}}(t,n,a),o}function c(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var f="suspendedStart",l="suspendedYield",p="executing",h="completed",d={};function v(){}function g(){}function y(){}var m={};m[o]=function(){return this};var x=Object.getPrototypeOf,b=x&&x(x(A([])));b&&b!==n&&r.call(b,o)&&(m=b);var w=y.prototype=v.prototype=Object.create(m);function S(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function O(t){var e;this._invoke=function(n,i){function o(){return new Promise(function(e,o){!function e(n,i,o,a){var u=c(t[n],t,i);if("throw"!==u.type){var s=u.arg,f=s.value;return f&&"object"==typeof f&&r.call(f,"__await")?Promise.resolve(f.__await).then(function(t){e("next",t,o,a)},function(t){e("throw",t,o,a)}):Promise.resolve(f).then(function(t){s.value=t,o(s)},function(t){return e("throw",t,o,a)})}a(u.arg)}(n,i,e,o)})}return e=e?e.then(o,o):o()}}function k(t,n){var r=t.iterator[n.method];if(r===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=e,k(t,n),"throw"===n.method))return d;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var i=c(r,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,d;var o=i.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,d):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,d)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function A(t){if(t){var n=t[o];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function n(){for(;++i<t.length;)if(r.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}return{next:L}}function L(){return{value:e,done:!0}}return g.prototype=w.constructor=y,y.constructor=g,y[u]=g.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,u in t||(t[u]="GeneratorFunction")),t.prototype=Object.create(w),t},t.awrap=function(t){return{__await:t}},S(O.prototype),O.prototype[a]=function(){return this},t.AsyncIterator=O,t.async=function(e,n,r,i){var o=new O(s(e,n,r,i));return t.isGeneratorFunction(n)?o:o.next().then(function(t){return t.done?t.value:o.next()})},S(w),w[u]="Generator",w[o]=function(){return this},w.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=A,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(E),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(r,i){return u.type="throw",u.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],u=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var s=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),E(n),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;E(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:A(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),d}},t}(t.exports);try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}}]);