diff --git a/dist/editor/extensions/ext-panning/ext-panning.js b/dist/editor/extensions/ext-panning/ext-panning.js new file mode 100644 index 00000000..7f5004a3 --- /dev/null +++ b/dist/editor/extensions/ext-panning/ext-panning.js @@ -0,0 +1,12 @@ +var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function createCommonjsModule(t,e,r){return t(r={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&&r.path)}},r.exports),r.exports}var check=function(t){return t&&t.Math==Math&&t},e=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof t&&t)||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]})),n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i={f:o&&!n.call({1:2},1)?function propertyIsEnumerable(t){var e=o(this,t);return!!e&&e.enumerable}:n},createPropertyDescriptor=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},c={}.toString,classofRaw=function(t){return c.call(t).slice(8,-1)},a="".split,u=fails((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==classofRaw(t)?a.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 u(requireObjectCoercible(t))},isObject=function(t){return"object"==typeof t?null!==t:"function"==typeof t},toPrimitive=function(t,e){if(!isObject(t))return t;var r,n;if(e&&"function"==typeof(r=t.toString)&&!isObject(n=r.call(t)))return n;if("function"==typeof(r=t.valueOf)&&!isObject(n=r.call(t)))return n;if(!e&&"function"==typeof(r=t.toString)&&!isObject(n=r.call(t)))return n;throw TypeError("Can't convert object to primitive value")},f={}.hasOwnProperty,has=function(t,e){return f.call(t,e)},s=e.document,l=isObject(s)&&isObject(s.createElement),documentCreateElement=function(t){return l?s.createElement(t):{}},p=!r&&!fails((function(){return 7!=Object.defineProperty(documentCreateElement("div"),"a",{get:function(){return 7}}).a})),h=Object.getOwnPropertyDescriptor,v={f:r?h:function getOwnPropertyDescriptor(t,e){if(t=toIndexedObject(t),e=toPrimitive(e,!0),p)try{return h(t,e)}catch(t){}if(has(t,e))return createPropertyDescriptor(!i.f.call(t,e),t[e])}},anObject=function(t){if(!isObject(t))throw TypeError(String(t)+" is not an object");return t},y=Object.defineProperty,d={f:r?y:function defineProperty(t,e,r){if(anObject(t),e=toPrimitive(e,!0),anObject(r),p)try{return y(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},g=r?function(t,e,r){return d.f(t,e,createPropertyDescriptor(1,r))}:function(t,e,r){return t[e]=r,t},setGlobal=function(t,r){try{g(e,t,r)}catch(n){e[t]=r}return r},m=e["__core-js_shared__"]||setGlobal("__core-js_shared__",{}),b=Function.toString;"function"!=typeof m.inspectSource&&(m.inspectSource=function(t){return b.call(t)});var w,x,S,E=m.inspectSource,O=e.WeakMap,j="function"==typeof O&&/native code/.test(E(O)),P=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,A=Math.random(),uid=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++T+A).toString(36)},_=P("keys"),sharedKey=function(t){return _[t]||(_[t]=uid(t))},I={},L=e.WeakMap;if(j){var k=new L,R=k.get,C=k.has,M=k.set;w=function(t,e){return M.call(k,t,e),e},x=function(t){return R.call(k,t)||{}},S=function(t){return C.call(k,t)}}else{var G=sharedKey("state");I[G]=!0,w=function(t,e){return g(t,G,e),e},x=function(t){return has(t,G)?t[G]:{}},S=function(t){return has(t,G)}}var N,D,U={set:w,get:x,has:S,enforce:function(t){return S(t)?x(t):w(t,{})},getterFor:function(t){return function(e){var r;if(!isObject(e)||(r=x(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}},$=createCommonjsModule((function(t){var r=U.get,n=U.enforce,o=String(String).split("String");(t.exports=function(t,r,i,c){var a=!!c&&!!c.unsafe,u=!!c&&!!c.enumerable,f=!!c&&!!c.noTargetGet;"function"==typeof i&&("string"!=typeof r||has(i,"name")||g(i,"name",r),n(i).source=o.join("string"==typeof r?r:"")),t!==e?(a?!f&&t[r]&&(u=!0):delete t[r],u?t[r]=i:g(t,r,i)):u?t[r]=i:setGlobal(r,i)})(Function.prototype,"toString",(function toString(){return"function"==typeof this&&r(this).source||E(this)}))})),W=e,aFunction=function(t){return"function"==typeof t?t:void 0},getBuiltIn=function(t,r){return arguments.length<2?aFunction(W[t])||aFunction(e[t]):W[t]&&W[t][r]||e[t]&&e[t][r]},q=Math.ceil,B=Math.floor,toInteger=function(t){return isNaN(t=+t)?0:(t>0?B:q)(t)},V=Math.min,toLength=function(t){return t>0?V(toInteger(t),9007199254740991):0},Y=Math.max,K=Math.min,toAbsoluteIndex=function(t,e){var r=toInteger(t);return r<0?Y(r+e,0):K(r,e)},createMethod=function(t){return function(e,r,n){var o,i=toIndexedObject(e),c=toLength(i.length),a=toAbsoluteIndex(n,c);if(t&&r!=r){for(;c>a;)if((o=i[a++])!=o)return!0}else for(;c>a;a++)if((t||a in i)&&i[a]===r)return t||a||0;return!t&&-1}},z={includes:createMethod(!0),indexOf:createMethod(!1)},H=z.indexOf,objectKeysInternal=function(t,e){var r,n=toIndexedObject(t),o=0,i=[];for(r in n)!has(I,r)&&has(n,r)&&i.push(r);for(;e.length>o;)has(n,r=e[o++])&&(~H(i,r)||i.push(r));return i},J=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Q=J.concat("length","prototype"),X={f:Object.getOwnPropertyNames||function getOwnPropertyNames(t){return objectKeysInternal(t,Q)}},Z={f:Object.getOwnPropertySymbols},tt=getBuiltIn("Reflect","ownKeys")||function ownKeys(t){var e=X.f(anObject(t)),r=Z.f;return r?e.concat(r(t)):e},copyConstructorProperties=function(t,e){for(var r=tt(e),n=d.f,o=v.f,i=0;im;m++)if((c||m in y)&&(h=d(p=y[m],m,v),t))if(e)w[m]=h;else if(h)switch(t){case 3:return!0;case 5:return p;case 6:return m;case 2:yt.call(w,p)}else if(o)return!1;return i?-1:n||o?o:w}},dt={forEach:createMethod$1(0),map:createMethod$1(1),filter:createMethod$1(2),some:createMethod$1(3),every:createMethod$1(4),find:createMethod$1(5),findIndex:createMethod$1(6)},gt=getBuiltIn("navigator","userAgent")||"",mt=e.process,bt=mt&&mt.versions,wt=bt&&bt.v8;wt?D=(N=wt.split("."))[0]+N[1]:gt&&(!(N=gt.match(/Edge\/(\d+)/))||N[1]>=74)&&(N=gt.match(/Chrome\/(\d+)/))&&(D=N[1]);var xt=D&&+D,St=wellKnownSymbol("species"),arrayMethodHasSpeciesSupport=function(t){return xt>=51||!fails((function(){var e=[];return(e.constructor={})[St]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},Et=Object.defineProperty,Ot={},thrower=function(t){throw t},arrayMethodUsesToLength=function(t,e){if(has(Ot,t))return Ot[t];e||(e={});var n=[][t],o=!!has(e,"ACCESSORS")&&e.ACCESSORS,i=has(e,0)?e[0]:thrower,c=has(e,1)?e[1]:void 0;return Ot[t]=!!n&&!fails((function(){if(o&&!r)return!0;var t={length:-1};o?Et(t,1,{enumerable:!0,get:thrower}):t[1]=1,n.call(t,i,c)}))},jt=dt.map,Pt=arrayMethodHasSpeciesSupport("map"),Tt=arrayMethodUsesToLength("map");_export({target:"Array",proto:!0,forced:!Pt||!Tt},{map:function map(t){return jt(this,t,arguments.length>1?arguments[1]:void 0)}});var At=d.f,_t=Function.prototype,It=_t.toString,Lt=/^\s*function ([^ (]*)/;r&&!("name"in _t)&&At(_t,"name",{configurable:!0,get:function(){try{return It.call(this).match(Lt)[1]}catch(t){return""}}});var kt=Object.keys||function keys(t){return objectKeysInternal(t,J)},Rt=Object.assign,Ct=Object.defineProperty,Mt=!Rt||fails((function(){if(r&&1!==Rt({b:1},Rt(Ct({},"a",{enumerable:!0,get:function(){Ct(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol(),o="abcdefghijklmnopqrst";return t[n]=7,o.split("").forEach((function(t){e[t]=t})),7!=Rt({},t)[n]||kt(Rt({},e)).join("")!=o}))?function assign(t,e){for(var n=toObject(t),o=arguments.length,c=1,a=Z.f,f=i.f;o>c;)for(var s,l=u(arguments[c++]),p=a?kt(l).concat(a(l)):kt(l),h=p.length,v=0;h>v;)s=p[v++],r&&!f.call(l,s)||(n[s]=l[s]);return n}:Rt;_export({target:"Object",stat:!0,forced:Object.assign!==Mt},{assign:Mt});var Gt,Ft=r?Object.defineProperties:function defineProperties(t,e){anObject(t);for(var r,n=kt(e),o=n.length,i=0;o>i;)d.f(t,r=n[i++],e[r]);return t},Nt=getBuiltIn("document","documentElement"),Dt=sharedKey("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(t){return"