react-kotlin-playground
Version:
React wrapper for kotlin playground
1 lines • 28.2 kB
JavaScript
!function(t,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("react"),require("kotlin-playground"),require("prop-types")):"function"==typeof define&&define.amd?define(["react","KotlinPlayground","prop-types"],r):"object"==typeof exports?exports["react-kotlin-playground"]=r(require("react"),require("kotlin-playground"),require("prop-types")):t["react-kotlin-playground"]=r(t.React,t.KotlinPlayground,t.PropTypes)}(this,((t,r,e)=>(()=>{"use strict";var n={9662:(t,r,e)=>{var n=e(614),o=e(6330),i=TypeError;t.exports=function(t){if(n(t))return t;throw i(o(t)+" is not a function")}},1530:(t,r,e)=>{var n=e(8710).charAt;t.exports=function(t,r,e){return r+(e?n(t,r).length:1)}},9670:(t,r,e)=>{var n=e(111),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw i(o(t)+" is not an object")}},8533:(t,r,e)=>{var n=e(2092).forEach,o=e(9341)("forEach");t.exports=o?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},1318:(t,r,e)=>{var n=e(5656),o=e(1400),i=e(6244),a=function(t){return function(r,e,a){var u,c=n(r),s=i(c),f=o(a,s);if(t&&e!=e){for(;s>f;)if((u=c[f++])!=u)return!0}else for(;s>f;f++)if((t||f in c)&&c[f]===e)return t||f||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},2092:(t,r,e)=>{var n=e(9974),o=e(1702),i=e(8361),a=e(7908),u=e(6244),c=e(5417),s=o([].push),f=function(t){var r=1===t,e=2===t,o=3===t,f=4===t,l=6===t,p=7===t,v=5===t||l;return function(d,g,y,h){for(var b,x,m=a(d),O=i(m),S=n(g,y),j=u(O),w=0,E=h||c,P=r?E(d,j):e||p?E(d,0):void 0;j>w;w++)if((v||w in O)&&(x=S(b=O[w],w,m),t))if(r)P[w]=x;else if(x)switch(t){case 3:return!0;case 5:return b;case 6:return w;case 2:s(P,b)}else switch(t){case 4:return!1;case 7:s(P,b)}return l?-1:o||f?f:P}};t.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},1194:(t,r,e)=>{var n=e(7293),o=e(5112),i=e(7392),a=o("species");t.exports=function(t){return i>=51||!n((function(){var r=[];return(r.constructor={})[a]=function(){return{foo:1}},1!==r[t](Boolean).foo}))}},9341:(t,r,e)=>{var n=e(7293);t.exports=function(t,r){var e=[][t];return!!e&&n((function(){e.call(null,r||function(){return 1},1)}))}},7475:(t,r,e)=>{var n=e(3157),o=e(4411),i=e(111),a=e(5112)("species"),u=Array;t.exports=function(t){var r;return n(t)&&(r=t.constructor,(o(r)&&(r===u||n(r.prototype))||i(r)&&null===(r=r[a]))&&(r=void 0)),void 0===r?u:r}},5417:(t,r,e)=>{var n=e(7475);t.exports=function(t,r){return new(n(t))(0===r?0:r)}},4326:(t,r,e)=>{var n=e(1702),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},648:(t,r,e)=>{var n=e(1694),o=e(614),i=e(4326),a=e(5112)("toStringTag"),u=Object,c="Arguments"===i(function(){return arguments}());t.exports=n?i:function(t){var r,e,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,r){try{return t[r]}catch(t){}}(r=u(t),a))?e:c?i(r):"Object"===(n=i(r))&&o(r.callee)?"Arguments":n}},9920:(t,r,e)=>{var n=e(2597),o=e(3887),i=e(1236),a=e(3070);t.exports=function(t,r,e){for(var u=o(r),c=a.f,s=i.f,f=0;f<u.length;f++){var l=u[f];n(t,l)||e&&n(e,l)||c(t,l,s(r,l))}}},8880:(t,r,e)=>{var n=e(9781),o=e(3070),i=e(9114);t.exports=n?function(t,r,e){return o.f(t,r,i(1,e))}:function(t,r,e){return t[r]=e,t}},9114:t=>{t.exports=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}}},6135:(t,r,e)=>{var n=e(4948),o=e(3070),i=e(9114);t.exports=function(t,r,e){var a=n(r);a in t?o.f(t,a,i(0,e)):t[a]=e}},8052:(t,r,e)=>{var n=e(614),o=e(3070),i=e(6339),a=e(3072);t.exports=function(t,r,e,u){u||(u={});var c=u.enumerable,s=void 0!==u.name?u.name:r;if(n(e)&&i(e,s,u),u.global)c?t[r]=e:a(r,e);else{try{u.unsafe?t[r]&&(c=!0):delete t[r]}catch(t){}c?t[r]=e:o.f(t,r,{value:e,enumerable:!1,configurable:!u.nonConfigurable,writable:!u.nonWritable})}return t}},3072:(t,r,e)=>{var n=e(7854),o=Object.defineProperty;t.exports=function(t,r){try{o(n,t,{value:r,configurable:!0,writable:!0})}catch(e){n[t]=r}return r}},9781:(t,r,e)=>{var n=e(7293);t.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4154:t=>{var r="object"==typeof document&&document.all,e=void 0===r&&void 0!==r;t.exports={all:r,IS_HTMLDDA:e}},317:(t,r,e)=>{var n=e(7854),o=e(111),i=n.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},7207:t=>{var r=TypeError;t.exports=function(t){if(t>9007199254740991)throw r("Maximum allowed index exceeded");return t}},8324:t=>{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}},8509:(t,r,e)=>{var n=e(317)("span").classList,o=n&&n.constructor&&n.constructor.prototype;t.exports=o===Object.prototype?void 0:o},8113:t=>{t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7392:(t,r,e)=>{var n,o,i=e(7854),a=e(8113),u=i.process,c=i.Deno,s=u&&u.versions||c&&c.version,f=s&&s.v8;f&&(o=(n=f.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=+n[1]),t.exports=o},748:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:(t,r,e)=>{var n=e(7854),o=e(1236).f,i=e(8880),a=e(8052),u=e(3072),c=e(9920),s=e(4705);t.exports=function(t,r){var e,f,l,p,v,d=t.target,g=t.global,y=t.stat;if(e=g?n:y?n[d]||u(d,{}):(n[d]||{}).prototype)for(f in r){if(p=r[f],l=t.dontCallGetSet?(v=o(e,f))&&v.value:e[f],!s(g?f:d+(y?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;c(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),a(e,f,p,t)}}},7293:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},7007:(t,r,e)=>{e(4916);var n=e(1470),o=e(8052),i=e(2261),a=e(7293),u=e(5112),c=e(8880),s=u("species"),f=RegExp.prototype;t.exports=function(t,r,e,l){var p=u(t),v=!a((function(){var r={};return r[p]=function(){return 7},7!==""[t](r)})),d=v&&!a((function(){var r=!1,e=/a/;return"split"===t&&((e={}).constructor={},e.constructor[s]=function(){return e},e.flags="",e[p]=/./[p]),e.exec=function(){return r=!0,null},e[p](""),!r}));if(!v||!d||e){var g=n(/./[p]),y=r(p,""[t],(function(t,r,e,o,a){var u=n(t),c=r.exec;return c===i||c===f.exec?v&&!a?{done:!0,value:g(r,e,o)}:{done:!0,value:u(e,r,o)}:{done:!1}}));o(String.prototype,t,y[0]),o(f,p,y[1])}l&&c(f[p],"sham",!0)}},2104:(t,r,e)=>{var n=e(4374),o=Function.prototype,i=o.apply,a=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(i):function(){return a.apply(i,arguments)})},9974:(t,r,e)=>{var n=e(1470),o=e(9662),i=e(4374),a=n(n.bind);t.exports=function(t,r){return o(t),void 0===r?t:i?a(t,r):function(){return t.apply(r,arguments)}}},4374:(t,r,e)=>{var n=e(7293);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},6916:(t,r,e)=>{var n=e(4374),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},6530:(t,r,e)=>{var n=e(9781),o=e(2597),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,u=o(i,"name"),c=u&&"something"===function(){}.name,s=u&&(!n||n&&a(i,"name").configurable);t.exports={EXISTS:u,PROPER:c,CONFIGURABLE:s}},1470:(t,r,e)=>{var n=e(4326),o=e(1702);t.exports=function(t){if("Function"===n(t))return o(t)}},1702:(t,r,e)=>{var n=e(4374),o=Function.prototype,i=o.call,a=n&&o.bind.bind(i,i);t.exports=n?a:function(t){return function(){return i.apply(t,arguments)}}},5005:(t,r,e)=>{var n=e(7854),o=e(614);t.exports=function(t,r){return arguments.length<2?(e=n[t],o(e)?e:void 0):n[t]&&n[t][r];var e}},8173:(t,r,e)=>{var n=e(9662),o=e(8554);t.exports=function(t,r){var e=t[r];return o(e)?void 0:n(e)}},647:(t,r,e)=>{var n=e(1702),o=e(7908),i=Math.floor,a=n("".charAt),u=n("".replace),c=n("".slice),s=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,f=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,r,e,n,l,p){var v=e+t.length,d=n.length,g=f;return void 0!==l&&(l=o(l),g=s),u(p,g,(function(o,u){var s;switch(a(u,0)){case"$":return"$";case"&":return t;case"`":return c(r,0,e);case"'":return c(r,v);case"<":s=l[c(u,1,-1)];break;default:var f=+u;if(0===f)return o;if(f>d){var p=i(f/10);return 0===p?o:p<=d?void 0===n[p-1]?a(u,1):n[p-1]+a(u,1):o}s=n[f-1]}return void 0===s?"":s}))}},7854:function(t,r,e){var n=function(t){return t&&t.Math===Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e.g&&e.g)||function(){return this}()||this||Function("return this")()},2597:(t,r,e)=>{var n=e(1702),o=e(7908),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,r){return i(o(t),r)}},3501:t=>{t.exports={}},490:(t,r,e)=>{var n=e(5005);t.exports=n("document","documentElement")},4664:(t,r,e)=>{var n=e(9781),o=e(7293),i=e(317);t.exports=!n&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},8361:(t,r,e)=>{var n=e(1702),o=e(7293),i=e(4326),a=Object,u=n("".split);t.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"===i(t)?u(t,""):a(t)}:a},2788:(t,r,e)=>{var n=e(1702),o=e(614),i=e(5465),a=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return a(t)}),t.exports=i.inspectSource},9909:(t,r,e)=>{var n,o,i,a=e(4811),u=e(7854),c=e(111),s=e(8880),f=e(2597),l=e(5465),p=e(6200),v=e(3501),d="Object already initialized",g=u.TypeError,y=u.WeakMap;if(a||l.state){var h=l.state||(l.state=new y);h.get=h.get,h.has=h.has,h.set=h.set,n=function(t,r){if(h.has(t))throw g(d);return r.facade=t,h.set(t,r),r},o=function(t){return h.get(t)||{}},i=function(t){return h.has(t)}}else{var b=p("state");v[b]=!0,n=function(t,r){if(f(t,b))throw g(d);return r.facade=t,s(t,b,r),r},o=function(t){return f(t,b)?t[b]:{}},i=function(t){return f(t,b)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(r){var e;if(!c(r)||(e=o(r)).type!==t)throw g("Incompatible receiver, "+t+" required");return e}}}},3157:(t,r,e)=>{var n=e(4326);t.exports=Array.isArray||function(t){return"Array"===n(t)}},614:(t,r,e)=>{var n=e(4154),o=n.all;t.exports=n.IS_HTMLDDA?function(t){return"function"==typeof t||t===o}:function(t){return"function"==typeof t}},4411:(t,r,e)=>{var n=e(1702),o=e(7293),i=e(614),a=e(648),u=e(5005),c=e(2788),s=function(){},f=[],l=u("Reflect","construct"),p=/^\s*(?:class|function)\b/,v=n(p.exec),d=!p.exec(s),g=function(t){if(!i(t))return!1;try{return l(s,f,t),!0}catch(t){return!1}},y=function(t){if(!i(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!v(p,c(t))}catch(t){return!0}};y.sham=!0,t.exports=!l||o((function(){var t;return g(g.call)||!g(Object)||!g((function(){t=!0}))||t}))?y:g},4705:(t,r,e)=>{var n=e(7293),o=e(614),i=/#|\.prototype\./,a=function(t,r){var e=c[u(t)];return e===f||e!==s&&(o(r)?n(r):!!r)},u=a.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=a.data={},s=a.NATIVE="N",f=a.POLYFILL="P";t.exports=a},8554:t=>{t.exports=function(t){return null==t}},111:(t,r,e)=>{var n=e(614),o=e(4154),i=o.all;t.exports=o.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:n(t)||t===i}:function(t){return"object"==typeof t?null!==t:n(t)}},1913:t=>{t.exports=!1},2190:(t,r,e)=>{var n=e(5005),o=e(614),i=e(7976),a=e(3307),u=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var r=n("Symbol");return o(r)&&i(r.prototype,u(t))}},6244:(t,r,e)=>{var n=e(7466);t.exports=function(t){return n(t.length)}},6339:(t,r,e)=>{var n=e(1702),o=e(7293),i=e(614),a=e(2597),u=e(9781),c=e(6530).CONFIGURABLE,s=e(2788),f=e(9909),l=f.enforce,p=f.get,v=String,d=Object.defineProperty,g=n("".slice),y=n("".replace),h=n([].join),b=u&&!o((function(){return 8!==d((function(){}),"length",{value:8}).length})),x=String(String).split("String"),m=t.exports=function(t,r,e){"Symbol("===g(v(r),0,7)&&(r="["+y(v(r),/^Symbol\(([^)]*)\)/,"$1")+"]"),e&&e.getter&&(r="get "+r),e&&e.setter&&(r="set "+r),(!a(t,"name")||c&&t.name!==r)&&(u?d(t,"name",{value:r,configurable:!0}):t.name=r),b&&e&&a(e,"arity")&&t.length!==e.arity&&d(t,"length",{value:e.arity});try{e&&a(e,"constructor")&&e.constructor?u&&d(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=l(t);return a(n,"source")||(n.source=h(x,"string"==typeof r?r:"")),t};Function.prototype.toString=m((function(){return i(this)&&p(this).source||s(this)}),"toString")},4758:t=>{var r=Math.ceil,e=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?e:r)(n)}},1574:(t,r,e)=>{var n=e(9781),o=e(1702),i=e(6916),a=e(7293),u=e(1956),c=e(5181),s=e(5296),f=e(7908),l=e(8361),p=Object.assign,v=Object.defineProperty,d=o([].concat);t.exports=!p||a((function(){if(n&&1!==p({b:1},p(v({},"a",{enumerable:!0,get:function(){v(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},r={},e=Symbol("assign detection"),o="abcdefghijklmnopqrst";return t[e]=7,o.split("").forEach((function(t){r[t]=t})),7!==p({},t)[e]||u(p({},r)).join("")!==o}))?function(t,r){for(var e=f(t),o=arguments.length,a=1,p=c.f,v=s.f;o>a;)for(var g,y=l(arguments[a++]),h=p?d(u(y),p(y)):u(y),b=h.length,x=0;b>x;)g=h[x++],n&&!i(v,y,g)||(e[g]=y[g]);return e}:p},30:(t,r,e)=>{var n,o=e(9670),i=e(6048),a=e(748),u=e(3501),c=e(490),s=e(317),f=e(6200),l="prototype",p="script",v=f("IE_PROTO"),d=function(){},g=function(t){return"<"+p+">"+t+"</"+p+">"},y=function(t){t.write(g("")),t.close();var r=t.parentWindow.Object;return t=null,r},h=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,r,e;h="undefined"!=typeof document?document.domain&&n?y(n):(r=s("iframe"),e="java"+p+":",r.style.display="none",c.appendChild(r),r.src=String(e),(t=r.contentWindow.document).open(),t.write(g("document.F=Object")),t.close(),t.F):y(n);for(var o=a.length;o--;)delete h[l][a[o]];return h()};u[v]=!0,t.exports=Object.create||function(t,r){var e;return null!==t?(d[l]=o(t),e=new d,d[l]=null,e[v]=t):e=h(),void 0===r?e:i.f(e,r)}},6048:(t,r,e)=>{var n=e(9781),o=e(3353),i=e(3070),a=e(9670),u=e(5656),c=e(1956);r.f=n&&!o?Object.defineProperties:function(t,r){a(t);for(var e,n=u(r),o=c(r),s=o.length,f=0;s>f;)i.f(t,e=o[f++],n[e]);return t}},3070:(t,r,e)=>{var n=e(9781),o=e(4664),i=e(3353),a=e(9670),u=e(4948),c=TypeError,s=Object.defineProperty,f=Object.getOwnPropertyDescriptor,l="enumerable",p="configurable",v="writable";r.f=n?i?function(t,r,e){if(a(t),r=u(r),a(e),"function"==typeof t&&"prototype"===r&&"value"in e&&v in e&&!e[v]){var n=f(t,r);n&&n[v]&&(t[r]=e.value,e={configurable:p in e?e[p]:n[p],enumerable:l in e?e[l]:n[l],writable:!1})}return s(t,r,e)}:s:function(t,r,e){if(a(t),r=u(r),a(e),o)try{return s(t,r,e)}catch(t){}if("get"in e||"set"in e)throw c("Accessors not supported");return"value"in e&&(t[r]=e.value),t}},1236:(t,r,e)=>{var n=e(9781),o=e(6916),i=e(5296),a=e(9114),u=e(5656),c=e(4948),s=e(2597),f=e(4664),l=Object.getOwnPropertyDescriptor;r.f=n?l:function(t,r){if(t=u(t),r=c(r),f)try{return l(t,r)}catch(t){}if(s(t,r))return a(!o(i.f,t,r),t[r])}},8006:(t,r,e)=>{var n=e(6324),o=e(748).concat("length","prototype");r.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},5181:(t,r)=>{r.f=Object.getOwnPropertySymbols},7976:(t,r,e)=>{var n=e(1702);t.exports=n({}.isPrototypeOf)},6324:(t,r,e)=>{var n=e(1702),o=e(2597),i=e(5656),a=e(1318).indexOf,u=e(3501),c=n([].push);t.exports=function(t,r){var e,n=i(t),s=0,f=[];for(e in n)!o(u,e)&&o(n,e)&&c(f,e);for(;r.length>s;)o(n,e=r[s++])&&(~a(f,e)||c(f,e));return f}},1956:(t,r,e)=>{var n=e(6324),o=e(748);t.exports=Object.keys||function(t){return n(t,o)}},5296:(t,r)=>{var e={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!e.call({1:2},1);r.f=o?function(t){var r=n(this,t);return!!r&&r.enumerable}:e},288:(t,r,e)=>{var n=e(1694),o=e(648);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},2140:(t,r,e)=>{var n=e(6916),o=e(614),i=e(111),a=TypeError;t.exports=function(t,r){var e,u;if("string"===r&&o(e=t.toString)&&!i(u=n(e,t)))return u;if(o(e=t.valueOf)&&!i(u=n(e,t)))return u;if("string"!==r&&o(e=t.toString)&&!i(u=n(e,t)))return u;throw a("Can't convert object to primitive value")}},3887:(t,r,e)=>{var n=e(5005),o=e(1702),i=e(8006),a=e(5181),u=e(9670),c=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var r=i.f(u(t)),e=a.f;return e?c(r,e(t)):r}},7651:(t,r,e)=>{var n=e(6916),o=e(9670),i=e(614),a=e(4326),u=e(2261),c=TypeError;t.exports=function(t,r){var e=t.exec;if(i(e)){var s=n(e,t,r);return null!==s&&o(s),s}if("RegExp"===a(t))return n(u,t,r);throw c("RegExp#exec called on incompatible receiver")}},2261:(t,r,e)=>{var n,o,i=e(6916),a=e(1702),u=e(1340),c=e(7066),s=e(2999),f=e(2309),l=e(30),p=e(9909).get,v=e(9441),d=e(7168),g=f("native-string-replace",String.prototype.replace),y=RegExp.prototype.exec,h=y,b=a("".charAt),x=a("".indexOf),m=a("".replace),O=a("".slice),S=(o=/b*/g,i(y,n=/a/,"a"),i(y,o,"a"),0!==n.lastIndex||0!==o.lastIndex),j=s.BROKEN_CARET,w=void 0!==/()??/.exec("")[1];(S||w||j||v||d)&&(h=function(t){var r,e,n,o,a,s,f,v=this,d=p(v),E=u(t),P=d.raw;if(P)return P.lastIndex=v.lastIndex,r=i(h,P,E),v.lastIndex=P.lastIndex,r;var T=d.groups,L=j&&v.sticky,I=i(c,v),A=v.source,C=0,R=E;if(L&&(I=m(I,"y",""),-1===x(I,"g")&&(I+="g"),R=O(E,v.lastIndex),v.lastIndex>0&&(!v.multiline||v.multiline&&"\n"!==b(E,v.lastIndex-1))&&(A="(?: "+A+")",R=" "+R,C++),e=new RegExp("^(?:"+A+")",I)),w&&(e=new RegExp("^"+A+"$(?!\\s)",I)),S&&(n=v.lastIndex),o=i(y,L?e:v,R),L?o?(o.input=O(o.input,C),o[0]=O(o[0],C),o.index=v.lastIndex,v.lastIndex+=o[0].length):v.lastIndex=0:S&&o&&(v.lastIndex=v.global?o.index+o[0].length:n),w&&o&&o.length>1&&i(g,o[0],e,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(o[a]=void 0)})),o&&T)for(o.groups=s=l(null),a=0;a<T.length;a++)s[(f=T[a])[0]]=o[f[1]];return o}),t.exports=h},7066:(t,r,e)=>{var n=e(9670);t.exports=function(){var t=n(this),r="";return t.hasIndices&&(r+="d"),t.global&&(r+="g"),t.ignoreCase&&(r+="i"),t.multiline&&(r+="m"),t.dotAll&&(r+="s"),t.unicode&&(r+="u"),t.unicodeSets&&(r+="v"),t.sticky&&(r+="y"),r}},2999:(t,r,e)=>{var n=e(7293),o=e(7854).RegExp,i=n((function(){var t=o("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),a=i||n((function(){return!o("a","y").sticky})),u=i||n((function(){var t=o("^r","gy");return t.lastIndex=2,null!==t.exec("str")}));t.exports={BROKEN_CARET:u,MISSED_STICKY:a,UNSUPPORTED_Y:i}},9441:(t,r,e)=>{var n=e(7293),o=e(7854).RegExp;t.exports=n((function(){var t=o(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},7168:(t,r,e)=>{var n=e(7293),o=e(7854).RegExp;t.exports=n((function(){var t=o("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},4488:(t,r,e)=>{var n=e(8554),o=TypeError;t.exports=function(t){if(n(t))throw o("Can't call method on "+t);return t}},6200:(t,r,e)=>{var n=e(2309),o=e(9711),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},5465:(t,r,e)=>{var n=e(7854),o=e(3072),i="__core-js_shared__",a=n[i]||o(i,{});t.exports=a},2309:(t,r,e)=>{var n=e(1913),o=e(5465);(t.exports=function(t,r){return o[t]||(o[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.32.2",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.32.2/LICENSE",source:"https://github.com/zloirock/core-js"})},8710:(t,r,e)=>{var n=e(1702),o=e(9303),i=e(1340),a=e(4488),u=n("".charAt),c=n("".charCodeAt),s=n("".slice),f=function(t){return function(r,e){var n,f,l=i(a(r)),p=o(e),v=l.length;return p<0||p>=v?t?"":void 0:(n=c(l,p))<55296||n>56319||p+1===v||(f=c(l,p+1))<56320||f>57343?t?u(l,p):n:t?s(l,p,p+2):f-56320+(n-55296<<10)+65536}};t.exports={codeAt:f(!1),charAt:f(!0)}},6293:(t,r,e)=>{var n=e(7392),o=e(7293),i=e(7854).String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol("symbol detection");return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},1400:(t,r,e)=>{var n=e(9303),o=Math.max,i=Math.min;t.exports=function(t,r){var e=n(t);return e<0?o(e+r,0):i(e,r)}},5656:(t,r,e)=>{var n=e(8361),o=e(4488);t.exports=function(t){return n(o(t))}},9303:(t,r,e)=>{var n=e(4758);t.exports=function(t){var r=+t;return r!=r||0===r?0:n(r)}},7466:(t,r,e)=>{var n=e(9303),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},7908:(t,r,e)=>{var n=e(4488),o=Object;t.exports=function(t){return o(n(t))}},7593:(t,r,e)=>{var n=e(6916),o=e(111),i=e(2190),a=e(8173),u=e(2140),c=e(5112),s=TypeError,f=c("toPrimitive");t.exports=function(t,r){if(!o(t)||i(t))return t;var e,c=a(t,f);if(c){if(void 0===r&&(r="default"),e=n(c,t,r),!o(e)||i(e))return e;throw s("Can't convert object to primitive value")}return void 0===r&&(r="number"),u(t,r)}},4948:(t,r,e)=>{var n=e(7593),o=e(2190);t.exports=function(t){var r=n(t,"string");return o(r)?r:r+""}},1694:(t,r,e)=>{var n={};n[e(5112)("toStringTag")]="z",t.exports="[object z]"===String(n)},1340:(t,r,e)=>{var n=e(648),o=String;t.exports=function(t){if("Symbol"===n(t))throw TypeError("Cannot convert a Symbol value to a string");return o(t)}},6330:t=>{var r=String;t.exports=function(t){try{return r(t)}catch(t){return"Object"}}},9711:(t,r,e)=>{var n=e(1702),o=0,i=Math.random(),a=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++o+i,36)}},3307:(t,r,e)=>{var n=e(6293);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:(t,r,e)=>{var n=e(9781),o=e(7293);t.exports=n&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},4811:(t,r,e)=>{var n=e(7854),o=e(614),i=n.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},5112:(t,r,e)=>{var n=e(7854),o=e(2309),i=e(2597),a=e(9711),u=e(6293),c=e(3307),s=n.Symbol,f=o("wks"),l=c?s.for||s:s&&s.withoutSetter||a;t.exports=function(t){return i(f,t)||(f[t]=u&&i(s,t)?s[t]:l("Symbol."+t)),f[t]}},2222:(t,r,e)=>{var n=e(2109),o=e(7293),i=e(3157),a=e(111),u=e(7908),c=e(6244),s=e(7207),f=e(6135),l=e(5417),p=e(1194),v=e(5112),d=e(7392),g=v("isConcatSpreadable"),y=d>=51||!o((function(){var t=[];return t[g]=!1,t.concat()[0]!==t})),h=function(t){if(!a(t))return!1;var r=t[g];return void 0!==r?!!r:i(t)};n({target:"Array",proto:!0,arity:1,forced:!y||!p("concat")},{concat:function(t){var r,e,n,o,i,a=u(this),p=l(a,0),v=0;for(r=-1,n=arguments.length;r<n;r++)if(h(i=-1===r?a:arguments[r]))for(o=c(i),s(v+o),e=0;e<o;e++,v++)e in i&&f(p,v,i[e]);else s(v+1),f(p,v++,i);return p.length=v,p}})},9601:(t,r,e)=>{var n=e(2109),o=e(1574);n({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},7941:(t,r,e)=>{var n=e(2109),o=e(7908),i=e(1956);n({target:"Object",stat:!0,forced:e(7293)((function(){i(1)}))},{keys:function(t){return i(o(t))}})},1539:(t,r,e)=>{var n=e(1694),o=e(8052),i=e(288);n||o(Object.prototype,"toString",i,{unsafe:!0})},4916:(t,r,e)=>{var n=e(2109),o=e(2261);n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},5306:(t,r,e)=>{var n=e(2104),o=e(6916),i=e(1702),a=e(7007),u=e(7293),c=e(9670),s=e(614),f=e(8554),l=e(9303),p=e(7466),v=e(1340),d=e(4488),g=e(1530),y=e(8173),h=e(647),b=e(7651),x=e(5112)("replace"),m=Math.max,O=Math.min,S=i([].concat),j=i([].push),w=i("".indexOf),E=i("".slice),P="$0"==="a".replace(/./,"$0"),T=!!/./[x]&&""===/./[x]("a","$0");a("replace",(function(t,r,e){var i=T?"$":"$0";return[function(t,e){var n=d(this),i=f(t)?void 0:y(t,x);return i?o(i,t,n,e):o(r,v(n),t,e)},function(t,o){var a=c(this),u=v(t);if("string"==typeof o&&-1===w(o,i)&&-1===w(o,"$<")){var f=e(r,a,u,o);if(f.done)return f.value}var d=s(o);d||(o=v(o));var y,x=a.global;x&&(y=a.unicode,a.lastIndex=0);for(var P,T=[];null!==(P=b(a,u))&&(j(T,P),x);)""===v(P[0])&&(a.lastIndex=g(u,p(a.lastIndex),y));for(var L,I="",A=0,C=0;C<T.length;C++){for(var R,M=v((P=T[C])[0]),k=m(O(l(P.index),u.length),0),D=[],F=1;F<P.length;F++)j(D,void 0===(L=P[F])?L:String(L));var _=P.groups;if(d){var N=S([M],D,k,u);void 0!==_&&j(N,_),R=v(n(o,void 0,N))}else R=h(M,u,k,D,_,o);k>=A&&(I+=E(u,A,k)+R,A=k+M.length)}return I+E(u,A)}]}),!!u((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!P||T)},4747:(t,r,e)=>{var n=e(7854),o=e(8324),i=e(8509),a=e(8533),u=e(8880),c=function(t){if(t&&t.forEach!==a)try{u(t,"forEach",a)}catch(r){t.forEach=a}};for(var s in o)o[s]&&c(n[s]&&n[s].prototype);c(i)},250:t=>{t.exports=r},189:t=>{t.exports=e},9787:r=>{r.exports=t},6318:(t,r,e)=>{e.d(r,{default:()=>d}),e(4916),e(5306),e(1539),e(2222),e(7941),e(9601),e(4747);var n=e(9787),o=e(189),i=["className","children","playground"];function a(t,r){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,r){return t.__proto__=r,t},a(t,r)}var u=["onChange","onConsoleOpen","onConsoleClose","getInstance","getJsCode","onRun","onError"],c=["version","targetPlatform","highlightOnly","jsLibs","minCompilerVersion","autocomplete","outputHeight","trackRunId","crosslink","shorterHeight"];function s(t){var r=t;return-1!==c.indexOf(t)&&(r="data-"+r),r.replace(/[A-Z]/g,"-$&").toLowerCase()}var f,l,p=u.reduce((function(t,r){return t[r]=o.func,t}),{}),v=function(t){var r,e;function o(r){for(var e,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(e=t.call.apply(t,[this,r].concat(i))||this).code=(0,n.createRef)(),u.forEach((function(t){e[t]||(e[t]=e.createProxy(t))})),e}e=t,(r=o).prototype=Object.create(e.prototype),r.prototype.constructor=r,a(r,e);var c=o.prototype;return c.createProxy=function(t){var r=this;return function(){var e;r.props[t]&&(e=r.props)[t].apply(e,arguments)}},c.initPlayground=function(){var t=this;if((!this.code||!this.code.current||"true"!==this.code.current.getAttribute("data-kotlin-playground-initialized"))&&this.props.playground){var r=u.reduce((function(r,e){return r[e]=t[e]||t.props[e],r}),{});this.props.playground(this.code.current,r)}},c.componentDidMount=function(){this.initPlayground()},c.componentDidUpdate=function(){this.initPlayground()},c.render=function(){var t=this.props,r=t.className,e=t.children,o=(t.playground,function(t,r){if(null==t)return{};var e,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)e=i[n],r.indexOf(e)>=0||(o[e]=t[e]);return o}(t,i)),a=Object.keys(o).reduce((function(t,r){return-1===u.indexOf(r)&&(t[s(r)]=o[r]),t}),{});return(0,n.createElement)("div",{className:r},(0,n.createElement)("code",Object.assign({},a,{ref:this.code}),e))},o}(n.Component);v.propTypes=Object.assign({className:o.string,children:o.node.required,playground:o.func.required},p,(f={version:o.string,args:o.oneOfType([o.string,o.arrayOf(o.string)]),targetPlatform:o.oneOf(["junit","canvas","js","java"]),highlightOnly:o.oneOf(["nocursor"]),jsLibs:o.string,autoIndent:o.bool,theme:o.string,mode:o.oneOf(["kotlin","js","java","groovy","xml","c","shell","swift","obj-c"]),minCompilerVersion:o.string,autocomplete:o.bool,highlightOnFly:o.bool,indent:o.number,lines:o.bool,from:o.number,to:o.number,outputHeight:o.number,matchBrackets:o.bool,mobileShorterHeight:o.number},l=Object.assign({},f),Object.keys(f).forEach((function(t){l[s(t)]=f[t]})),l));const d=v}},o={};function i(t){var r=o[t];if(void 0!==r)return r.exports;var e=o[t]={exports:{}};return n[t].call(e.exports,e,e.exports,i),e.exports}i.d=(t,r)=>{for(var e in r)i.o(r,e)&&!i.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:r[e]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),i.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var a={};return(()=>{i.r(a),i.d(a,{default:()=>o}),i(9601);var t=i(9787),r=i(250),e=i(6318),n=function(n){return(0,t.createElement)(e.default,Object.assign({playground:r},n))};n.propTypes=e.default.propTypes;const o=n})(),a})()));