KotlinPublicationScriptsBui.../kmppscriptbuilder.web.js

2 lines
1.1 MiB
JavaScript
Raw Normal View History

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["kmppscriptbuilder.web"]=t():e["kmppscriptbuilder.web"]=t()}(this,(function(){return(()=>{var __webpack_modules__={551:function(module,exports){var __WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__,factory;factory=function(_){"use strict";function toList(e){switch(e.length){case 0:return emptyList();case 1:return listOf_0(e[0]);default:return toMutableList(e)}}function _get_indices_(e){return new IntRange(0,_get_lastIndex_(e))}function single(e){var t;switch(e.length){case 0:throw NoSuchElementException_init_$Create$_0("Array is empty.");case 1:t=e[0];break;default:throw IllegalArgumentException_init_$Create$_0("Array has more than one element.")}return t}function toMutableList(e){return ArrayList_init_$Create$_1(asCollection(e))}function _get_lastIndex_(e){return e.length-1|0}function indexOf(e,t){if(null==t){var n=0,_=e.length-1|0;if(n<=_)do{var i=n;if(n=n+1|0,null==e[i])return i}while(n<=_)}else{var o=0,r=e.length-1|0;if(o<=r)do{var a=o;if(o=o+1|0,equals_1(t,e[a]))return a}while(o<=r)}return-1}function toSet(e){switch(e.length){case 0:return emptySet();case 1:return setOf_0(e[0]);default:return toCollection(e,LinkedHashSet_init_$Create$_0(mapCapacity(e.length)))}}function toCollection(e,t){for(var n=e,_=0,i=n.length;_<i;){var o=n[_];_=_+1|0,t.add_2bq_k$(o),Unit_getInstance()}return t}function contains(e,t){return indexOf(e,t)>=0}function joinToString(e,t,n,_,i,o,r){return joinTo(e,StringBuilder_init_$Create$_0(),t,n,_,i,o,r).toString()}function joinToString$default(e,t,n,_,i,o,r,a,s){return 0!=(1&a)&&(t=", "),0!=(2&a)&&(n=""),0!=(4&a)&&(_=""),0!=(8&a)&&(i=-1),0!=(16&a)&&(o="..."),0!=(32&a)&&(r=null),joinToString(e,t,n,_,i,o,r)}function joinTo(e,t,n,_,i,o,r,a){t.append_v1o70a_k$(_),Unit_getInstance();var s=0,c=e,l=0,p=c.length;e:for(;l<p;){var u=c[l];if(l=l+1|0,(s=s+1|0)>1&&(t.append_v1o70a_k$(n),Unit_getInstance()),!(o<0||s<=o))break e;appendElement(t,u,a)}return o>=0&&s>o&&(t.append_v1o70a_k$(r),Unit_getInstance()),t.append_v1o70a_k$(i),Unit_getInstance(),t}function joinToString_0(e,t,n,_,i,o,r){return joinTo_0(e,StringBuilder_init_$Create$_0(),t,n,_,i,o,r).toString()}function joinToString$default_0(e,t,n,_,i,o,r,a,s){return 0!=(1&a)&&(t=", "),0!=(2&a)&&(n=""),0!=(4&a)&&(_=""),0!=(8&a)&&(i=-1),0!=(16&a)&&(o="..."),0!=(32&a)&&(r=null),joinToString_0(e,t,n,_,i,o,r)}function plus(e,t){if(isInterface(t,Collection)){var n=ArrayList_init_$Create$_0(e._get_size__0_k$()+t._get_size__0_k$()|0);return n.addAll_dxd4eo_k$(e),Unit_getInstance(),n.addAll_dxd4eo_k$(t),Unit_getInstance(),n}var _=ArrayList_init_$Create$_1(e);return addAll(_,t),Unit_getInstance(),_}function plus_0(e,t){if(isInterface(e,Collection))return plus(e,t);var n=ArrayList_init_$Create$();return addAll(n,e),Unit_getInstance(),addAll(n,t),Unit_getInstance(),n}function toSet_0(e){if(isInterface(e,Collection)){var t;switch(e._get_size__0_k$()){case 0:t=emptySet();break;case 1:t=setOf_0(isInterface(e,List)?e.get_ha5a7z_k$(0):e.iterator_0_k$().next_0_k$());break;default:t=toCollection_0(e,LinkedHashSet_init_$Create$_0(mapCapacity(e._get_size__0_k$())))}return t}return optimizeReadOnlySet(toCollection_0(e,LinkedHashSet_init_$Create$()))}function asSequence(e){return new _no_name_provided__1(e)}function firstOrNull(e){return e.isEmpty_0_k$()?null:e.get_ha5a7z_k$(0)}function plus_1(e,t){var n=ArrayList_init_$Create$_0(e._get_size__0_k$()+1|0);return n.addAll_dxd4eo_k$(e),Unit_getInstance(),n.add_2bq_k$(t),Unit_getInstance(),n}function single_0(e){var t;switch(e._get_size__0_k$()){case 0:throw NoSuchElementException_init_$Create$_0("List is empty.");case 1:t=e.get_ha5a7z_k$(0);break;default:throw IllegalArgumentException_init_$Create$_0("List has more than one element.")}return t}function toLongArray(e){for(var t=longArray(e._get_size__0_k$()),n=0,_=e.iterator_0_k$();_.hasNext_0_k$();){var i=_.next_0_k$(),o=n;n=o+1|0,t[o]=i}return t}function toByteArray(e){for(var
//# sourceMappingURL=kmppscriptbuilder.web.js.map