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