!function(e,t){"object"==typeofexports&&"undefined"!=typeofmodule?module.exports=t():"function"==typeofdefine&&define.amd?define("tile",t):(e=e||self).tile=t()}(this,function(){"use strict";vare=("undefined"!=typeofglobal?global:"undefined"!=typeofself?self:"undefined"!=typeofwindow?window:{}).performance||{};e.now||e.mozNow||e.msNow||e.oNow||e.webkitNow,"undefined"!=typeofglobalThis?globalThis:"undefined"!=typeofwindow?window:"undefined"!=typeofglobal?global:"undefined"!=typeofself&&self;functiont(){thrownewError("Dynamic requires are not currently supported by rollup-plugin-commonjs")}functionn(e,t){returne(t={exports:{}},t.exports),t.exports}varr=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;vara=function(){try{if(!Object.assign)return!1;vare=newString("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(vart={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){returnt[e]}).join(""))return!1;varr={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(varn,a,o=function(e){if(null==e)thrownewTypeError("Object.assign cannot be called with null or undefined");returnObject(e)}(e),u=1;u<arguments.length;u++){for(varlinn=Object(arguments[u]))i.call(n,l)&&(o[l]=n[l]);if(r){a=r(n);for(varc=0;c<a.length;c++)s.call(n,a[c])&&(o[a[c]]=n[a[c]])}}returno};varo={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},u={};functionl(e,t,n){this.props=e,this.context=t,this.refs=u,this.updater=n||o}functionc(){}functiond(e,t,n){this.props=e,this.context=t,this.refs=u,this.updater=n||o}l.prototype.isReactComponent={},l.prototype.setState=function(e,t){if("object"!=typeofe&&"function"!=typeofe&&null!=e)throwfunction(e){for(vart=e.message,n="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=1;r<arguments.length;r++)n+="&args[]="+encodeURIComponent(arguments[r]);returne.message="Minified React error #"+t+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",e}(Error(85));this.updater.enqueueSetState(this,e,t,"setState")},l.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},c.prototype=l.prototype;varf=d.prototype=newc;f.constructor=d,a(f,l.prototype),f.isPureReactComponent=!0;varh=function(){},m="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",p={},y=Function.call.bind(Object.prototype.hasOwnProperty);function_(e,t,n,r,i){for(varsine)if(y(e,s)){vara;try{if("function"!=typeofe[s]){varo=Error((r||"React class")+": "+n+" type `"+s+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeofe[s]+"`.");throwo.name="Invariant Violation",o}a=e[s](t,s,r,n,null,m)}catch(e){a=e}if(!a||ainstanceofError||h((r||"React class")+": type specification of "+n+" `"+s+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeofa+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),ainstanceofError&&!(a.messageinp)){p[a.message]=!0;varu=i?i():"";h("Failed "+n+" type: "+a.message+(null!=u?u:""))}}}h=function(e){vart="Warning: "+e;"undefined"!=typeofconsole&&console.error(t);try{thrownewError(t)}catch(e){}},_.resetWarningCache=function(){p={}};varg=_,v=n(function(e){!function(){vart=a,n=g,r="function"==typeofSymbol&&Symbol.for,i=r?Symbol.for("react.element"):60103,s=r?Symbol.for("react.portal"):60106,o=r?Symbol.for("react.fragment"):60107,u=r?Symbol.for("react.strict_mode"):60108,l=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,d=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.concurrent_mode"):60111,h=r?Symbol.for("react.f