!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:{};e.setTimeout,e.clearTimeout;vart=e.performance||{};t.now||t.mozNow||t.msNow||t.oNow||t.webkitNow,"undefined"!=typeofglobalThis?globalThis:"undefined"!=typeofwindow?window:"undefined"!=typeofglobal?global:"undefined"!=typeofself&&self;functionn(){thrownewError("Dynamic requires are not currently supported by rollup-plugin-commonjs")}functionr(e,t){returne(t={exports:{}},t.exports),t.exports}vari=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;varo=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,r,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]))s.call(n,l)&&(o[l]=n[l]);if(i){r=i(n);for(varc=0;c<r.length;c++)a.call(n,r[c])&&(o[r[c]]=n[r[c]])}}returno};functionu(e){for(vart=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);!function(e,t,n,r,i,s,a,o){if(!e){if(e=void0,void0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{varu=[n,r,i,s,a,o],l=0;(e=Error(t.replace(/%s/g,function(){returnu[l++]}))).name="Invariant Violation"}throwe.framesToPop=1,e}}(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}varl={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},c={};functiond(e,t,n){this.props=e,this.context=t,this.refs=c,this.updater=n||l}functionf(){}functionh(e,t,n){this.props=e,this.context=t,this.refs=c,this.updater=n||l}d.prototype.isReactComponent={},d.prototype.setState=function(e,t){"object"!=typeofe&&"function"!=typeofe&&null!=e&&u("85"),this.updater.enqueueSetState(this,e,t,"setState")},d.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},f.prototype=d.prototype;varm=h.prototype=newf;m.constructor=h,o(m,d.prototype),m.isPureReactComponent=!0;varp=function(){},y="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",_={},g=Function.call.bind(Object.prototype.hasOwnProperty);functionv(e,t,n,r,i){for(varsine)if(g(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,y)}catch(e){a=e}if(!a||ainstanceofError||p((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.messagein_)){_[a.message]=!0;varu=i?i():"";p("Failed "+n+" type: "+a.message+(null!=u?u:""))}}}p=function(e){vart="Warning: "+e;"undefined"!=typeofconsole&&console.error(t);try{thrownewError(t)}catch(e){}},v.resetWarningCache=function(){_={}};varw=v,b=r(function(e){!function(){vart=o,n=w,r="function"==typeofSymbol&&Symbol.for,i=r?Sym