svgedit/dist/editor/system/extensions/ext-closepath/ext-closepath.js

2 lines
82 KiB
JavaScript
Raw Normal View History

2020-09-11 23:27:47 +00:00
System.register([],(function(t){"use strict";return{execute:function(){var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function createCommonjsModule(t,e,n){return t(n={path:e,exports:{},require:function(t,e){return function commonjsRequire(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==e&&n.path)}},n.exports),n.exports}var check=function(t){return t&&t.Math==Math&&t},n=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof e&&e)||Function("return this")(),fails=function(t){try{return!!t()}catch(t){return!0}},r=!fails((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),i={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,a={f:o&&!i.call({1:2},1)?function propertyIsEnumerable(t){var e=o(this,t);return!!e&&e.enumerable}:i},createPropertyDescriptor=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},s={}.toString,classofRaw=function(t){return s.call(t).slice(8,-1)},u="".split,c=fails((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==classofRaw(t)?u.call(t,""):Object(t)}:Object,requireObjectCoercible=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},toIndexedObject=function(t){return c(requireObjectCoercible(t))},isObject=function(t){return"object"==typeof t?null!==t:"function"==typeof t},toPrimitive=function(t,e){if(!isObject(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!isObject(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!isObject(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!isObject(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")},h={}.hasOwnProperty,has=function(t,e){return h.call(t,e)},l=n.document,_=isObject(l)&&isObject(l.createElement),documentCreateElement=function(t){return _?l.createElement(t):{}},f=!r&&!fails((function(){return 7!=Object.defineProperty(documentCreateElement("div"),"a",{get:function(){return 7}}).a})),g=Object.getOwnPropertyDescriptor,S={f:r?g:function getOwnPropertyDescriptor(t,e){if(t=toIndexedObject(t),e=toPrimitive(e,!0),f)try{return g(t,e)}catch(t){}if(has(t,e))return createPropertyDescriptor(!a.f.call(t,e),t[e])}},anObject=function(t){if(!isObject(t))throw TypeError(String(t)+" is not an object");return t},p=Object.defineProperty,y={f:r?p:function defineProperty(t,e,n){if(anObject(t),e=toPrimitive(e,!0),anObject(n),f)try{return p(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}},v=r?function(t,e,n){return y.f(t,e,createPropertyDescriptor(1,n))}:function(t,e,n){return t[e]=n,t},setGlobal=function(t,e){try{v(n,t,e)}catch(r){n[t]=e}return e},d="__core-js_shared__",m=n[d]||setGlobal(d,{}),P=Function.toString;"function"!=typeof m.inspectSource&&(m.inspectSource=function(t){return P.call(t)});var b,A,C,G=m.inspectSource,V=n.WeakMap,x="function"==typeof V&&/native code/.test(G(V)),E=createCommonjsModule((function(t){(t.exports=function(t,e){return m[t]||(m[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),T=0,w=Math.random(),uid=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++T+w).toString(36)},O=E("keys"),sharedKey=function(t){return O[t]||(O[t]=uid(t))},L={},R=n.WeakMap;if(x){var I=new R,k=I.get,j=I.has,H=I.set;b=function(t,e){return H.call(I,t,e),e},A=function(t){return k.call(I,t)||{}},C=function(t){return j.call(I,t)}}else{var N=sharedKey("state");L[N]=!0,b=function(t,e){return v(t,N,e),e},A=function(t){return has(t,N)?t[N]:{}},C=function(t){return has(t,N)}}var M,U,B={set:b,get:A,has:C,enforce:function(t){return C(t)?A(t):b(t,{})},getterFor:function(t){return function(e){var n;if(!isObject(e)||(n=A(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}},Q=