guumaster
8/20/2015 - 1:43 PM

requirebin sketch

requirebin sketch

<!-- contents of this file will be placed inside the <head> -->
<!-- contents of this file will be placed inside the <body> -->
<div class="foo"> the foo content</div>
<button class="myBtn">click me</button>
{
  "name": "requirebin-sketch",
  "version": "1.0.0",
  "dependencies": {
    "fp-dom": "0.0.5"
  }
}
require=function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s}({1:[function(require,module,exports){"use strict";var curry3=require("fj-curry").curry3;var _animate=function(animFunc,confFunc,elem){return elem.animate(animFunc(),confFunc())};module.exports=curry3(_animate)},{"fj-curry":2}],2:[function(require,module,exports){"use strict";exports.curry=curry;exports.curryN=curryN;var slice=Array.prototype.slice;function _curry(n,fn,curryArgs){return function(){var args=slice.call(arguments),concatArgs=curryArgs.concat(args);if(n>concatArgs.length){return _curry(n,fn,concatArgs)}else{return fn.apply(this,slice.call(concatArgs,0,n))}}}function curry(fn){return _curry(fn.length,fn,[])}function curryN(n,fn){return _curry(n,fn,[])}var curry1=exports.curry1=curryN(2,curryN)(1);var curry2=exports.curry2=curryN(2,curryN)(2);var curry3=exports.curry3=curryN(2,curryN)(3);var curry4=exports.curry4=curryN(2,curryN)(4);exports.__esModule=true},{}],3:[function(require,module,exports){"use strict";var curry2=require("fj-curry").curry2;var _append=function(parent,child){return parent.appendChild(child)};module.exports=curry2(_append)},{"fj-curry":4}],4:[function(require,module,exports){arguments[4][2][0].apply(exports,arguments)},{dup:2}],5:[function(require,module,exports){"use strict";var curry2=require("fj-curry").curry2;function _addClass(getClass,elements){return elements.map(function(element,idx){return element.classList.add(getClass(idx))})}function _removeClass(getClass,elements){return elements.map(function(element,idx){return element.classList.remove(getClass(idx))})}function _toggleClass(getClass,elements){return elements.map(function(element,idx){return element.classList.toggle(getClass(idx))})}function _hasClass(getClass,elements){return elements.every(function(element,idx){return element.classList.contains(getClass(idx))})}var addClass=exports.addClass=curry2(_addClass);var removeClass=exports.removeClass=curry2(_removeClass);var toggleClass=exports.toggleClass=curry2(_toggleClass);var hasClass=exports.hasClass=curry2(_hasClass);exports.__esModule=true},{"fj-curry":6}],6:[function(require,module,exports){arguments[4][2][0].apply(exports,arguments)},{dup:2}],7:[function(require,module,exports){"use strict";var curry2=require("fj-curry").curry2;var _contains=function(node,otherNode){return node.contains(otherNode)};module.exports=curry2(_contains)},{"fj-curry":8}],8:[function(require,module,exports){arguments[4][2][0].apply(exports,arguments)},{dup:2}],9:[function(require,module,exports){"use strict";var curry2=require("fj-curry").curry2;var _elem=function(element,content){var newElem=document.createElement(element);var contentNode=document.createTextNode(content);newElem.appendChild(contentNode);return newElem};module.exports=curry2(_elem)},{"fj-curry":10}],10:[function(require,module,exports){arguments[4][2][0].apply(exports,arguments)},{dup:2}],11:[function(require,module,exports){"use strict";var curry2=require("fj-curry").curry2;var _insertBefore=function(refNode,newNode){return refNode.parentNode.insertBefore(newNode,refNode.nextSibling)};module.exports=curry2(_insertBefore)},{"fj-curry":12}],12:[function(require,module,exports){arguments[4][2][0].apply(exports,arguments)},{dup:2}],13:[function(require,module,exports){"use strict";var curry3=require("fj-curry").curry3;var _insertBefore=function(parent,newChild,refChild){return parentElement.insertBefore(newChild,refChild)};module.exports=curry3(_insertBefore)},{"fj-curry":14}],14:[function(require,module,exports){arguments[4][2][0].apply(exports,arguments)},{dup:2}],15:[function(require,module,exports){"use strict";var curry2=require("fj-curry").curry2;var interval=function(duration,func){return window.setInterval(func,duration)};module.exports=curry2(interval)},{"fj-curry":16}],16:[function(require,module,exports){arguments[4][2][0].apply(exports,arguments)},{dup:2}],17:[function(require,module,exports){"use strict";var curry1=require("fj-curry").curry1;var isDom=curry1(function(dom){if(!dom||typeof dom!=="object"){return false}if("object"===typeof window.Node){return dom instanceof window.Node}return"number"===typeof dom.nodeType&&"string"===typeof dom.nodeName});module.exports=isDom},{"fj-curry":18}],18:[function(require,module,exports){arguments[4][2][0].apply(exports,arguments)},{dup:2}],19:[function(require,module,exports){"use strict";var _interopRequire=function(obj){return obj&&obj.__esModule?obj["default"]:obj};var curry1=require("fj-curry").curry1;var typeOf=_interopRequire(require("fj-typeof"));var VNode=_interopRequire(require("virtual-dom/vnode/vnode"));var VText=_interopRequire(require("virtual-dom/vnode/vtext"));var isObject=typeOf("object");var isVdom=curry1(function(dom){if(!dom||!isObject(dom)){return false}if(VNode&&VText){return dom instanceof VNode||dom instanceof VText}return false});module.exports=isVdom},{"fj-curry":20,"fj-typeof":21,"virtual-dom/vnode/vnode":27,"virtual-dom/vnode/vtext":28}],20:[function(require,module,exports){arguments[4][2][0].apply(exports,arguments)},{dup:2}],21:[function(require,module,exports){"use strict";var curry2=require("fj-curry").curry2;var _typeof=function(type,obj){return typeof obj===type};module.exports=curry2(_typeof)},{"fj-curry":20}],22:[function(require,module,exports){module.exports=isThunk;function isThunk(t){return t&&t.type==="Thunk"}},{}],23:[function(require,module,exports){module.exports=isHook;function isHook(hook){return hook&&(typeof hook.hook==="function"&&!hook.hasOwnProperty("hook")||typeof hook.unhook==="function"&&!hook.hasOwnProperty("unhook"))}},{}],24:[function(require,module,exports){var version=require("./version");module.exports=isVirtualNode;function isVirtualNode(x){return x&&x.type==="VirtualNode"&&x.version===version}},{"./version":26}],25:[function(require,module,exports){module.exports=isWidget;function isWidget(w){return w&&w.type==="Widget"}},{}],26:[function(require,module,exports){module.exports="2"},{}],27:[function(require,module,exports){var version=require("./version");var isVNode=require("./is-vnode");var isWidget=require("./is-widget");var isThunk=require("./is-thunk");var isVHook=require("./is-vhook");module.exports=VirtualNode;var noProperties={};var noChildren=[];function VirtualNode(tagName,properties,children,key,namespace){this.tagName=tagName;this.properties=properties||noProperties;this.children=children||noChildren;this.key=key!=null?String(key):undefined;this.namespace=typeof namespace==="string"?namespace:null;var count=children&&children.length||0;var descendants=0;var hasWidgets=false;var hasThunks=false;var descendantHooks=false;var hooks;for(var propName in properties){if(properties.hasOwnProperty(propName)){var property=properties[propName];if(isVHook(property)&&property.unhook){if(!hooks){hooks={}}hooks[propName]=property}}}for(var i=0;i<count;i++){var child=children[i];if(isVNode(child)){descendants+=child.count||0;if(!hasWidgets&&child.hasWidgets){hasWidgets=true}if(!hasThunks&&child.hasThunks){hasThunks=true}if(!descendantHooks&&(child.hooks||child.descendantHooks)){descendantHooks=true}}else if(!hasWidgets&&isWidget(child)){if(typeof child.destroy==="function"){hasWidgets=true}}else if(!hasThunks&&isThunk(child)){hasThunks=true}}this.count=count+descendants;this.hasWidgets=hasWidgets;this.hasThunks=hasThunks;this.hooks=hooks;this.descendantHooks=descendantHooks}VirtualNode.prototype.version=version;VirtualNode.prototype.type="VirtualNode"},{"./is-thunk":22,"./is-vhook":23,"./is-vnode":24,"./is-widget":25,"./version":26}],28:[function(require,module,exports){var version=require("./version");module.exports=VirtualText;function VirtualText(text){this.text=String(text)}VirtualText.prototype.version=version;VirtualText.prototype.type="VirtualText"},{"./version":26}],29:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{"default":obj}}var _fjFlatten=require("fj-flatten");var _fjFlatten2=_interopRequireDefault(_fjFlatten);var _fjCurry=require("fj-curry");require("core-js/shim");var listen=function listen(type,listener,targets){return function(){var _ref=[];var _iteratorNormalCompletion=true;var _didIteratorError=false;var _iteratorError=undefined;try{for(var _iterator=(0,_fjFlatten2["default"])([targets])[Symbol.iterator](),_step;!(_iteratorNormalCompletion=(_step=_iterator.next()).done);_iteratorNormalCompletion=true){var target=_step.value;_ref.push(target.addEventListener(type,listener))}}catch(err){_didIteratorError=true;_iteratorError=err}finally{try{if(!_iteratorNormalCompletion&&_iterator["return"]){_iterator["return"]()}}finally{if(_didIteratorError){throw _iteratorError}}}return _ref}()};exports["default"]=(0,_fjCurry.curry3)(listen);module.exports=exports["default"]},{"core-js/shim":209,"fj-curry":210,"fj-flatten":211}],30:[function(require,module,exports){module.exports=function(it){if(typeof it!="function")throw TypeError(it+" is not a function!");return it}},{}],31:[function(require,module,exports){var isObject=require("./$.is-object");module.exports=function(it){if(!isObject(it))throw TypeError(it+" is not an object!");return it}},{"./$.is-object":61}],32:[function(require,module,exports){var toIObject=require("./$.to-iobject"),toLength=require("./$.to-length"),toIndex=require("./$.to-index");module.exports=function(IS_INCLUDES){return function($this,el,fromIndex){var O=toIObject($this),length=toLength(O.length),index=toIndex(fromIndex,length),value;if(IS_INCLUDES&&el!=el)while(length>index){value=O[index++];if(value!=value)return true}else for(;length>index;index++)if(IS_INCLUDES||index in O){if(O[index]===el)return IS_INCLUDES||index}return!IS_INCLUDES&&-1}}},{"./$.to-index":97,"./$.to-iobject":99,"./$.to-length":100}],33:[function(require,module,exports){var ctx=require("./$.ctx"),IObject=require("./$.iobject"),toObject=require("./$.to-object"),toLength=require("./$.to-length");module.exports=function(TYPE){var IS_MAP=TYPE==1,IS_FILTER=TYPE==2,IS_SOME=TYPE==3,IS_EVERY=TYPE==4,IS_FIND_INDEX=TYPE==6,NO_HOLES=TYPE==5||IS_FIND_INDEX;return function($this,callbackfn,that){var O=toObject($this),self=IObject(O),f=ctx(callbackfn,that,3),length=toLength(self.length),index=0,result=IS_MAP?Array(length):IS_FILTER?[]:undefined,val,res;for(;length>index;index++)if(NO_HOLES||index in self){val=self[index];res=f(val,index,O);if(TYPE){if(IS_MAP)result[index]=res;else if(res)switch(TYPE){case 3:return true;case 5:return val;case 6:return index;case 2:result.push(val)}else if(IS_EVERY)return false}}return IS_FIND_INDEX?-1:IS_SOME||IS_EVERY?IS_EVERY:result}}},{"./$.ctx":42,"./$.iobject":58,"./$.to-length":100,"./$.to-object":101}],34:[function(require,module,exports){var toObject=require("./$.to-object"),IObject=require("./$.iobject"),enumKeys=require("./$.enum-keys");module.exports=Object.assign||function assign(target,source){var T=toObject(target),l=arguments.length,i=1;while(l>i){var S=IObject(arguments[i++]),keys=enumKeys(S),length=keys.length,j=0,key;while(length>j)T[key=keys[j++]]=S[key]}return T}},{"./$.enum-keys":46,"./$.iobject":58,"./$.to-object":101}],35:[function(require,module,exports){var cof=require("./$.cof"),TAG=require("./$.wks")("toStringTag"),ARG=cof(function(){return arguments}())=="Arguments";module.exports=function(it){var O,T,B;return it===undefined?"Undefined":it===null?"Null":typeof(T=(O=Object(it))[TAG])=="string"?T:ARG?cof(O):(B=cof(O))=="Object"&&typeof O.callee=="function"?"Arguments":B}},{"./$.cof":36,"./$.wks":104}],36:[function(require,module,exports){var toString={}.toString;module.exports=function(it){return toString.call(it).slice(8,-1)}},{}],37:[function(require,module,exports){"use strict";var $=require("./$"),hide=require("./$.hide"),ctx=require("./$.ctx"),species=require("./$.species"),strictNew=require("./$.strict-new"),defined=require("./$.defined"),forOf=require("./$.for-of"),step=require("./$.iter-step"),ID=require("./$.uid")("id"),$has=require("./$.has"),isObject=require("./$.is-object"),isExtensible=Object.isExtensible||isObject,SUPPORT_DESC=require("./$.support-desc"),SIZE=SUPPORT_DESC?"_s":"size",id=0;var fastKey=function(it,create){if(!isObject(it))return typeof it=="symbol"?it:(typeof it=="string"?"S":"P")+it;if(!$has(it,ID)){if(!isExtensible(it))return"F";if(!create)return"E";hide(it,ID,++id)}return"O"+it[ID]};var getEntry=function(that,key){var index=fastKey(key),entry;if(index!=="F")return that._i[index];for(entry=that._f;entry;entry=entry.n){if(entry.k==key)return entry}};module.exports={getConstructor:function(wrapper,NAME,IS_MAP,ADDER){var C=wrapper(function(that,iterable){strictNew(that,C,NAME);that._i=$.create(null);that._f=undefined;that._l=undefined;that[SIZE]=0;if(iterable!=undefined)forOf(iterable,IS_MAP,that[ADDER],that)});require("./$.mix")(C.prototype,{clear:function clear(){for(var that=this,data=that._i,entry=that._f;entry;entry=entry.n){entry.r=true;if(entry.p)entry.p=entry.p.n=undefined;delete data[entry.i]}that._f=that._l=undefined;that[SIZE]=0},"delete":function(key){var that=this,entry=getEntry(that,key);if(entry){var next=entry.n,prev=entry.p;delete that._i[entry.i];entry.r=true;if(prev)prev.n=next;if(next)next.p=prev;if(that._f==entry)that._f=next;if(that._l==entry)that._l=prev;that[SIZE]--}return!!entry},forEach:function forEach(callbackfn){var f=ctx(callbackfn,arguments[1],3),entry;while(entry=entry?entry.n:this._f){f(entry.v,entry.k,this);while(entry&&entry.r)entry=entry.p}},has:function has(key){return!!getEntry(this,key)}});if(SUPPORT_DESC)$.setDesc(C.prototype,"size",{get:function(){return defined(this[SIZE])}});return C},def:function(that,key,value){var entry=getEntry(that,key),prev,index;if(entry){entry.v=value}else{that._l=entry={i:index=fastKey(key,true),k:key,v:value,p:prev=that._l,n:undefined,r:false};if(!that._f)that._f=entry;if(prev)prev.n=entry;that[SIZE]++;if(index!=="F")that._i[index]=entry}return that},getEntry:getEntry,setStrong:function(C,NAME,IS_MAP){require("./$.iter-define")(C,NAME,function(iterated,kind){this._t=iterated;this._k=kind;this._l=undefined},function(){var that=this,kind=that._k,entry=that._l;while(entry&&entry.r)entry=entry.p;if(!that._t||!(that._l=entry=entry?entry.n:that._t._f)){that._t=undefined;return step(1)}if(kind=="keys")return step(0,entry.k);if(kind=="values")return step(0,entry.v);return step(0,[entry.k,entry.v])},IS_MAP?"entries":"values",!IS_MAP,true);species(C);species(require("./$.core")[NAME])}}},{"./$":69,"./$.core":41,"./$.ctx":42,"./$.defined":44,"./$.for-of":51,"./$.has":54,"./$.hide":55,"./$.is-object":61,"./$.iter-define":65,"./$.iter-step":67,"./$.mix":74,"./$.species":87,"./$.strict-new":88,"./$.support-desc":94,"./$.uid":102}],38:[function(require,module,exports){var forOf=require("./$.for-of"),classof=require("./$.classof");module.exports=function(NAME){return function toJSON(){if(classof(this)!=NAME)throw TypeError(NAME+"#toJSON isn't generic");var arr=[];forOf(this,false,arr.push,arr);return arr}}},{"./$.classof":35,"./$.for-of":51}],39:[function(require,module,exports){"use strict";var hide=require("./$.hide"),anObject=require("./$.an-object"),strictNew=require("./$.strict-new"),forOf=require("./$.for-of"),method=require("./$.array-methods"),WEAK=require("./$.uid")("weak"),isObject=require("./$.is-object"),$has=require("./$.has"),isExtensible=Object.isExtensible||isObject,find=method(5),findIndex=method(6),id=0;var frozenStore=function(that){return that._l||(that._l=new FrozenStore)};var FrozenStore=function(){this.a=[]};var findFrozen=function(store,key){return find(store.a,function(it){return it[0]===key})};FrozenStore.prototype={get:function(key){var entry=findFrozen(this,key);if(entry)return entry[1]},has:function(key){return!!findFrozen(this,key)},set:function(key,value){var entry=findFrozen(this,key);if(entry)entry[1]=value;else this.a.push([key,value])},"delete":function(key){var index=findIndex(this.a,function(it){return it[0]===key});if(~index)this.a.splice(index,1);return!!~index}};module.exports={getConstructor:function(wrapper,NAME,IS_MAP,ADDER){var C=wrapper(function(that,iterable){strictNew(that,C,NAME);that._i=id++;that._l=undefined;if(iterable!=undefined)forOf(iterable,IS_MAP,that[ADDER],that)});require("./$.mix")(C.prototype,{"delete":function(key){if(!isObject(key))return false;if(!isExtensible(key))return frozenStore(this)["delete"](key);return $has(key,WEAK)&&$has(key[WEAK],this._i)&&delete key[WEAK][this._i]},has:function has(key){if(!isObject(key))return false;if(!isExtensible(key))return frozenStore(this).has(key);return $has(key,WEAK)&&$has(key[WEAK],this._i)}});return C},def:function(that,key,value){if(!isExtensible(anObject(key))){frozenStore(that).set(key,value)}else{$has(key,WEAK)||hide(key,WEAK,{});key[WEAK][that._i]=value}return that},frozenStore:frozenStore,WEAK:WEAK}},{"./$.an-object":31,"./$.array-methods":33,"./$.for-of":51,"./$.has":54,"./$.hide":55,"./$.is-object":61,"./$.mix":74,"./$.strict-new":88,"./$.uid":102}],40:[function(require,module,exports){"use strict";var global=require("./$.global"),$def=require("./$.def"),BUGGY=require("./$.iter-buggy"),forOf=require("./$.for-of"),strictNew=require("./$.strict-new");module.exports=function(NAME,wrapper,methods,common,IS_MAP,IS_WEAK){var Base=global[NAME],C=Base,ADDER=IS_MAP?"set":"add",proto=C&&C.prototype,O={};var fixMethod=function(KEY){var fn=proto[KEY];require("./$.redef")(proto,KEY,KEY=="delete"?function(a){return fn.call(this,a===0?0:a)}:KEY=="has"?function has(a){return fn.call(this,a===0?0:a)}:KEY=="get"?function get(a){return fn.call(this,a===0?0:a)}:KEY=="add"?function add(a){fn.call(this,a===0?0:a);return this}:function set(a,b){fn.call(this,a===0?0:a,b);return this})};if(typeof C!="function"||!(IS_WEAK||!BUGGY&&proto.forEach&&proto.entries)){C=common.getConstructor(wrapper,NAME,IS_MAP,ADDER);require("./$.mix")(C.prototype,methods)}else{var inst=new C,chain=inst[ADDER](IS_WEAK?{}:-0,1),buggyZero;if(!require("./$.iter-detect")(function(iter){new C(iter)})){C=wrapper(function(target,iterable){strictNew(target,C,NAME);var that=new Base;if(iterable!=undefined)forOf(iterable,IS_MAP,that[ADDER],that);return that});C.prototype=proto;proto.constructor=C}IS_WEAK||inst.forEach(function(val,key){buggyZero=1/key===-Infinity});if(buggyZero){fixMethod("delete");fixMethod("has");IS_MAP&&fixMethod("get")}if(buggyZero||chain!==inst)fixMethod(ADDER);if(IS_WEAK&&proto.clear)delete proto.clear}require("./$.tag")(C,NAME);O[NAME]=C;$def($def.G+$def.W+$def.F*(C!=Base),O);if(!IS_WEAK)common.setStrong(C,NAME,IS_MAP);return C}},{"./$.def":43,"./$.for-of":51,"./$.global":53,"./$.iter-buggy":62,"./$.iter-detect":66,"./$.mix":74,"./$.redef":81,"./$.strict-new":88,"./$.tag":95}],41:[function(require,module,exports){var core=module.exports={};if(typeof __e=="number")__e=core},{}],42:[function(require,module,exports){var aFunction=require("./$.a-function");module.exports=function(fn,that,length){aFunction(fn);if(that===undefined)return fn;switch(length){case 1:return function(a){return fn.call(that,a)};case 2:return function(a,b){return fn.call(that,a,b)};case 3:return function(a,b,c){return fn.call(that,a,b,c)}}return function(){return fn.apply(that,arguments)}}},{"./$.a-function":30}],43:[function(require,module,exports){var global=require("./$.global"),core=require("./$.core"),hide=require("./$.hide"),$redef=require("./$.redef"),PROTOTYPE="prototype";var ctx=function(fn,that){return function(){return fn.apply(that,arguments)}};var $def=function(type,name,source){var key,own,out,exp,isGlobal=type&$def.G,isProto=type&$def.P,target=isGlobal?global:type&$def.S?global[name]||(global[name]={}):(global[name]||{})[PROTOTYPE],exports=isGlobal?core:core[name]||(core[name]={});if(isGlobal)source=name;for(key in source){own=!(type&$def.F)&&target&&key in target;out=(own?target:source)[key];if(type&$def.B&&own)exp=ctx(out,global);else exp=isProto&&typeof out=="function"?ctx(Function.call,out):out;if(target&&!own)$redef(target,key,out);if(exports[key]!=out)hide(exports,key,exp);if(isProto)(exports[PROTOTYPE]||(exports[PROTOTYPE]={}))[key]=out}};global.core=core;$def.F=1;$def.G=2;$def.S=4;$def.P=8;$def.B=16;$def.W=32;module.exports=$def},{"./$.core":41,"./$.global":53,"./$.hide":55,"./$.redef":81}],44:[function(require,module,exports){module.exports=function(it){if(it==undefined)throw TypeError("Can't call method on  "+it);return it}},{}],45:[function(require,module,exports){var isObject=require("./$.is-object"),document=require("./$.global").document,is=isObject(document)&&isObject(document.createElement);module.exports=function(it){return is?document.createElement(it):{}}},{"./$.global":53,"./$.is-object":61}],46:[function(require,module,exports){var $=require("./$");module.exports=function(it){var keys=$.getKeys(it),getSymbols=$.getSymbols;if(getSymbols){var symbols=getSymbols(it),isEnum=$.isEnum,i=0,key;while(symbols.length>i)if(isEnum.call(it,key=symbols[i++]))keys.push(key)}return keys}},{"./$":69}],47:[function(require,module,exports){module.exports=Math.expm1||function expm1(x){return(x=+x)==0?x:x>-1e-6&&x<1e-6?x+x*x/2:Math.exp(x)-1}},{}],48:[function(require,module,exports){module.exports=function(exec){try{return!!exec()}catch(e){return true}}},{}],49:[function(require,module,exports){"use strict";module.exports=function(KEY,length,exec){var defined=require("./$.defined"),SYMBOL=require("./$.wks")(KEY),original=""[KEY];if(require("./$.fails")(function(){var O={};O[SYMBOL]=function(){return 7};return""[KEY](O)!=7})){require("./$.redef")(String.prototype,KEY,exec(defined,SYMBOL,original));require("./$.hide")(RegExp.prototype,SYMBOL,length==2?function(string,arg){return original.call(string,this,arg)}:function(string){return original.call(string,this)})}}},{"./$.defined":44,"./$.fails":48,"./$.hide":55,"./$.redef":81,"./$.wks":104}],50:[function(require,module,exports){"use strict";var anObject=require("./$.an-object");module.exports=function(){var that=anObject(this),result="";if(that.global)result+="g";if(that.ignoreCase)result+="i";if(that.multiline)result+="m";if(that.unicode)result+="u";if(that.sticky)result+="y";return result}},{"./$.an-object":31}],51:[function(require,module,exports){var ctx=require("./$.ctx"),call=require("./$.iter-call"),isArrayIter=require("./$.is-array-iter"),anObject=require("./$.an-object"),toLength=require("./$.to-length"),getIterFn=require("./core.get-iterator-method");module.exports=function(iterable,entries,fn,that){var iterFn=getIterFn(iterable),f=ctx(fn,that,entries?2:1),index=0,length,step,iterator;if(typeof iterFn!="function")throw TypeError(iterable+" is not iterable!");if(isArrayIter(iterFn))for(length=toLength(iterable.length);length>index;index++){entries?f(anObject(step=iterable[index])[0],step[1]):f(iterable[index])}else for(iterator=iterFn.call(iterable);!(step=iterator.next()).done;){call(iterator,f,step.value,entries)}}},{"./$.an-object":31,"./$.ctx":42,"./$.is-array-iter":59,"./$.iter-call":63,"./$.to-length":100,"./core.get-iterator-method":105}],52:[function(require,module,exports){var toString={}.toString,toIObject=require("./$.to-iobject"),getNames=require("./$").getNames;var windowNames=typeof window=="object"&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];var getWindowNames=function(it){try{return getNames(it)}catch(e){return windowNames.slice()}};module.exports.get=function getOwnPropertyNames(it){if(windowNames&&toString.call(it)=="[object Window]")return getWindowNames(it);return getNames(toIObject(it))}},{"./$":69,"./$.to-iobject":99}],53:[function(require,module,exports){var global=typeof self!="undefined"&&self.Math==Math?self:Function("return this")();module.exports=global;if(typeof __g=="number")__g=global},{}],54:[function(require,module,exports){var hasOwnProperty={}.hasOwnProperty;module.exports=function(it,key){return hasOwnProperty.call(it,key)}},{}],55:[function(require,module,exports){var $=require("./$"),createDesc=require("./$.property-desc");module.exports=require("./$.support-desc")?function(object,key,value){return $.setDesc(object,key,createDesc(1,value))}:function(object,key,value){object[key]=value;return object}},{"./$":69,"./$.property-desc":80,"./$.support-desc":94}],56:[function(require,module,exports){module.exports=require("./$.global").document&&document.documentElement},{"./$.global":53}],57:[function(require,module,exports){module.exports=function(fn,args,that){var un=that===undefined;switch(args.length){case 0:return un?fn():fn.call(that);case 1:return un?fn(args[0]):fn.call(that,args[0]);case 2:return un?fn(args[0],args[1]):fn.call(that,args[0],args[1]);case 3:return un?fn(args[0],args[1],args[2]):fn.call(that,args[0],args[1],args[2]);case 4:return un?fn(args[0],args[1],args[2],args[3]):fn.call(that,args[0],args[1],args[2],args[3])}return fn.apply(that,args)}},{}],58:[function(require,module,exports){var cof=require("./$.cof");module.exports=0 in Object("z")?Object:function(it){return cof(it)=="String"?it.split(""):Object(it)}},{"./$.cof":36}],59:[function(require,module,exports){var Iterators=require("./$.iterators"),ITERATOR=require("./$.wks")("iterator");module.exports=function(it){return(Iterators.Array||Array.prototype[ITERATOR])===it}},{"./$.iterators":68,"./$.wks":104}],60:[function(require,module,exports){var isObject=require("./$.is-object"),floor=Math.floor;module.exports=function isInteger(it){return!isObject(it)&&isFinite(it)&&floor(it)===it}},{"./$.is-object":61}],61:[function(require,module,exports){module.exports=function(it){return it!==null&&(typeof it=="object"||typeof it=="function")}},{}],62:[function(require,module,exports){module.exports="keys"in[]&&!("next"in[].keys())},{}],63:[function(require,module,exports){var anObject=require("./$.an-object");module.exports=function(iterator,fn,value,entries){try{return entries?fn(anObject(value)[0],value[1]):fn(value)}catch(e){var ret=iterator["return"];if(ret!==undefined)anObject(ret.call(iterator));throw e}}},{"./$.an-object":31}],64:[function(require,module,exports){"use strict";var $=require("./$"),IteratorPrototype={};require("./$.hide")(IteratorPrototype,require("./$.wks")("iterator"),function(){return this});module.exports=function(Constructor,NAME,next){Constructor.prototype=$.create(IteratorPrototype,{next:require("./$.property-desc")(1,next)});require("./$.tag")(Constructor,NAME+" Iterator")}},{"./$":69,"./$.hide":55,"./$.property-desc":80,"./$.tag":95,"./$.wks":104}],65:[function(require,module,exports){"use strict";var LIBRARY=require("./$.library"),$def=require("./$.def"),$redef=require("./$.redef"),hide=require("./$.hide"),has=require("./$.has"),SYMBOL_ITERATOR=require("./$.wks")("iterator"),Iterators=require("./$.iterators"),FF_ITERATOR="@@iterator",KEYS="keys",VALUES="values";var returnThis=function(){return this};module.exports=function(Base,NAME,Constructor,next,DEFAULT,IS_SET,FORCE){require("./$.iter-create")(Constructor,NAME,next);var createMethod=function(kind){switch(kind){case KEYS:return function keys(){return new Constructor(this,kind)};case VALUES:return function values(){return new Constructor(this,kind)}}return function entries(){return new Constructor(this,kind)}};var TAG=NAME+" Iterator",proto=Base.prototype,_native=proto[SYMBOL_ITERATOR]||proto[FF_ITERATOR]||DEFAULT&&proto[DEFAULT],_default=_native||createMethod(DEFAULT),methods,key;if(_native){var IteratorPrototype=require("./$").getProto(_default.call(new Base));require("./$.tag")(IteratorPrototype,TAG,true);if(!LIBRARY&&has(proto,FF_ITERATOR))hide(IteratorPrototype,SYMBOL_ITERATOR,returnThis)}if(!LIBRARY||FORCE)hide(proto,SYMBOL_ITERATOR,_default);Iterators[NAME]=_default;Iterators[TAG]=returnThis;if(DEFAULT){methods={keys:IS_SET?_default:createMethod(KEYS),values:DEFAULT==VALUES?_default:createMethod(VALUES),entries:DEFAULT!=VALUES?_default:createMethod("entries")};if(FORCE)for(key in methods){if(!(key in proto))$redef(proto,key,methods[key])}else $def($def.P+$def.F*require("./$.iter-buggy"),NAME,methods)}}},{"./$":69,"./$.def":43,"./$.has":54,"./$.hide":55,"./$.iter-buggy":62,"./$.iter-create":64,"./$.iterators":68,"./$.library":71,"./$.redef":81,"./$.tag":95,"./$.wks":104}],66:[function(require,module,exports){var SYMBOL_ITERATOR=require("./$.wks")("iterator"),SAFE_CLOSING=false;try{var riter=[7][SYMBOL_ITERATOR]();riter["return"]=function(){SAFE_CLOSING=true};Array.from(riter,function(){throw 2})}catch(e){}module.exports=function(exec){if(!SAFE_CLOSING)return false;var safe=false;try{var arr=[7],iter=arr[SYMBOL_ITERATOR]();iter.next=function(){safe=true};arr[SYMBOL_ITERATOR]=function(){return iter};exec(arr)}catch(e){}return safe}},{"./$.wks":104}],67:[function(require,module,exports){module.exports=function(done,value){return{value:value,done:!!done}}},{}],68:[function(require,module,exports){module.exports={}},{}],69:[function(require,module,exports){var $Object=Object;module.exports={create:$Object.create,getProto:$Object.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:$Object.getOwnPropertyDescriptor,setDesc:$Object.defineProperty,setDescs:$Object.defineProperties,getKeys:$Object.keys,getNames:$Object.getOwnPropertyNames,getSymbols:$Object.getOwnPropertySymbols,each:[].forEach}},{}],70:[function(require,module,exports){var $=require("./$"),toIObject=require("./$.to-iobject");module.exports=function(object,el){var O=toIObject(object),keys=$.getKeys(O),length=keys.length,index=0,key;while(length>index)if(O[key=keys[index++]]===el)return key}},{"./$":69,"./$.to-iobject":99}],71:[function(require,module,exports){module.exports=false},{}],72:[function(require,module,exports){module.exports=Math.log1p||function log1p(x){return(x=+x)>-1e-8&&x<1e-8?x-x*x/2:Math.log(1+x)}},{}],73:[function(require,module,exports){var global=require("./$.global"),macrotask=require("./$.task").set,Observer=global.MutationObserver||global.WebKitMutationObserver,process=global.process,head,last,notify;function flush(){while(head){head.fn.call();head=head.next}last=undefined}if(require("./$.cof")(process)=="process"){notify=function(){process.nextTick(flush)}}else if(Observer){var toggle=1,node=document.createTextNode("");new Observer(flush).observe(node,{characterData:true});notify=function(){node.data=toggle=-toggle}}else{notify=function(){macrotask.call(global,flush)}}module.exports=function asap(fn){var task={fn:fn,next:undefined};if(last)last.next=task;if(!head){head=task;notify()}last=task}},{"./$.cof":36,"./$.global":53,"./$.task":96}],74:[function(require,module,exports){var $redef=require("./$.redef");module.exports=function(target,src){for(var key in src)$redef(target,key,src[key]);return target}},{"./$.redef":81}],75:[function(require,module,exports){module.exports=function(KEY,exec){var $def=require("./$.def"),fn=(require("./$.core").Object||{})[KEY]||Object[KEY],exp={};exp[KEY]=exec(fn);$def($def.S+$def.F*require("./$.fails")(function(){fn(1)}),"Object",exp)}},{"./$.core":41,"./$.def":43,"./$.fails":48}],76:[function(require,module,exports){var $=require("./$"),toIObject=require("./$.to-iobject");module.exports=function(isEntries){return function(it){var O=toIObject(it),keys=$.getKeys(O),length=keys.length,i=0,result=Array(length),key;if(isEntries)while(length>i)result[i]=[key=keys[i++],O[key]];else while(length>i)result[i]=O[keys[i++]];return result}}},{"./$":69,"./$.to-iobject":99}],77:[function(require,module,exports){var $=require("./$"),anObject=require("./$.an-object");module.exports=function ownKeys(it){var keys=$.getNames(anObject(it)),getSymbols=$.getSymbols;return getSymbols?keys.concat(getSymbols(it)):keys}},{"./$":69,"./$.an-object":31}],78:[function(require,module,exports){
"use strict";var path=require("./$.path"),invoke=require("./$.invoke"),aFunction=require("./$.a-function");module.exports=function(){var fn=aFunction(this),length=arguments.length,pargs=Array(length),i=0,_=path._,holder=false;while(length>i)if((pargs[i]=arguments[i++])===_)holder=true;return function(){var that=this,_length=arguments.length,j=0,k=0,args;if(!holder&&!_length)return invoke(fn,pargs,that);args=pargs.slice();if(holder)for(;length>j;j++)if(args[j]===_)args[j]=arguments[k++];while(_length>k)args.push(arguments[k++]);return invoke(fn,args,that)}}},{"./$.a-function":30,"./$.invoke":57,"./$.path":79}],79:[function(require,module,exports){module.exports=require("./$.global")},{"./$.global":53}],80:[function(require,module,exports){module.exports=function(bitmap,value){return{enumerable:!(bitmap&1),configurable:!(bitmap&2),writable:!(bitmap&4),value:value}}},{}],81:[function(require,module,exports){var global=require("./$.global"),hide=require("./$.hide"),SRC=require("./$.uid")("src"),TO_STRING="toString",$toString=Function[TO_STRING],TPL=(""+$toString).split(TO_STRING);require("./$.core").inspectSource=function(it){return $toString.call(it)};(module.exports=function(O,key,val,safe){if(typeof val=="function"){hide(val,SRC,O[key]?""+O[key]:TPL.join(String(key)));if(!("name"in val))val.name=key}if(O===global){O[key]=val}else{if(!safe)delete O[key];hide(O,key,val)}})(Function.prototype,TO_STRING,function toString(){return typeof this=="function"&&this[SRC]||$toString.call(this)})},{"./$.core":41,"./$.global":53,"./$.hide":55,"./$.uid":102}],82:[function(require,module,exports){module.exports=function(regExp,replace){var replacer=replace===Object(replace)?function(part){return replace[part]}:replace;return function(it){return String(it).replace(regExp,replacer)}}},{}],83:[function(require,module,exports){module.exports=Object.is||function is(x,y){return x===y?x!==0||1/x===1/y:x!=x&&y!=y}},{}],84:[function(require,module,exports){var getDesc=require("./$").getDesc,isObject=require("./$.is-object"),anObject=require("./$.an-object");var check=function(O,proto){anObject(O);if(!isObject(proto)&&proto!==null)throw TypeError(proto+": can't set as prototype!")};module.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(buggy,set){try{set=require("./$.ctx")(Function.call,getDesc(Object.prototype,"__proto__").set,2);set({},[])}catch(e){buggy=true}return function setPrototypeOf(O,proto){check(O,proto);if(buggy)O.__proto__=proto;else set(O,proto);return O}}():undefined),check:check}},{"./$":69,"./$.an-object":31,"./$.ctx":42,"./$.is-object":61}],85:[function(require,module,exports){var global=require("./$.global"),SHARED="__core-js_shared__",store=global[SHARED]||(global[SHARED]={});module.exports=function(key){return store[key]||(store[key]={})}},{"./$.global":53}],86:[function(require,module,exports){module.exports=Math.sign||function sign(x){return(x=+x)==0||x!=x?x:x<0?-1:1}},{}],87:[function(require,module,exports){"use strict";var $=require("./$"),SPECIES=require("./$.wks")("species");module.exports=function(C){if(require("./$.support-desc")&&!(SPECIES in C))$.setDesc(C,SPECIES,{configurable:true,get:function(){return this}})}},{"./$":69,"./$.support-desc":94,"./$.wks":104}],88:[function(require,module,exports){module.exports=function(it,Constructor,name){if(!(it instanceof Constructor))throw TypeError(name+": use the 'new' operator!");return it}},{}],89:[function(require,module,exports){var toInteger=require("./$.to-integer"),defined=require("./$.defined");module.exports=function(TO_STRING){return function(that,pos){var s=String(defined(that)),i=toInteger(pos),l=s.length,a,b;if(i<0||i>=l)return TO_STRING?"":undefined;a=s.charCodeAt(i);return a<55296||a>56319||i+1===l||(b=s.charCodeAt(i+1))<56320||b>57343?TO_STRING?s.charAt(i):a:TO_STRING?s.slice(i,i+2):(a-55296<<10)+(b-56320)+65536}}},{"./$.defined":44,"./$.to-integer":98}],90:[function(require,module,exports){var defined=require("./$.defined"),cof=require("./$.cof");module.exports=function(that,searchString,NAME){if(cof(searchString)=="RegExp")throw TypeError("String#"+NAME+" doesn't accept regex!");return String(defined(that))}},{"./$.cof":36,"./$.defined":44}],91:[function(require,module,exports){var toLength=require("./$.to-length"),repeat=require("./$.string-repeat"),defined=require("./$.defined");module.exports=function(that,maxLength,fillString,left){var S=String(defined(that)),stringLength=S.length,fillStr=fillString===undefined?" ":String(fillString),intMaxLength=toLength(maxLength);if(intMaxLength<=stringLength)return S;if(fillStr=="")fillStr=" ";var fillLen=intMaxLength-stringLength,stringFiller=repeat.call(fillStr,Math.ceil(fillLen/fillStr.length));if(stringFiller.length>fillLen)stringFiller=left?stringFiller.slice(stringFiller.length-fillLen):stringFiller.slice(0,fillLen);return left?stringFiller+S:S+stringFiller}},{"./$.defined":44,"./$.string-repeat":92,"./$.to-length":100}],92:[function(require,module,exports){"use strict";var toInteger=require("./$.to-integer"),defined=require("./$.defined");module.exports=function repeat(count){var str=String(defined(this)),res="",n=toInteger(count);if(n<0||n==Infinity)throw RangeError("Count can't be negative");for(;n>0;(n>>>=1)&&(str+=str))if(n&1)res+=str;return res}},{"./$.defined":44,"./$.to-integer":98}],93:[function(require,module,exports){var trim=function(string,TYPE){string=String(defined(string));if(TYPE&1)string=string.replace(ltrim,"");if(TYPE&2)string=string.replace(rtrim,"");return string};var $def=require("./$.def"),defined=require("./$.defined"),spaces="	\n\f\r   ᠎    "+"          \u2028\u2029\ufeff",space="["+spaces+"]",non="​…",ltrim=RegExp("^"+space+space+"*"),rtrim=RegExp(space+space+"*$");module.exports=function(KEY,exec){var exp={};exp[KEY]=exec(trim);$def($def.P+$def.F*require("./$.fails")(function(){return!!spaces[KEY]()||non[KEY]()!=non}),"String",exp)}},{"./$.def":43,"./$.defined":44,"./$.fails":48}],94:[function(require,module,exports){module.exports=!require("./$.fails")(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},{"./$.fails":48}],95:[function(require,module,exports){var has=require("./$.has"),hide=require("./$.hide"),TAG=require("./$.wks")("toStringTag");module.exports=function(it,tag,stat){if(it&&!has(it=stat?it:it.prototype,TAG))hide(it,TAG,tag)}},{"./$.has":54,"./$.hide":55,"./$.wks":104}],96:[function(require,module,exports){"use strict";var ctx=require("./$.ctx"),invoke=require("./$.invoke"),html=require("./$.html"),cel=require("./$.dom-create"),global=require("./$.global"),process=global.process,setTask=global.setImmediate,clearTask=global.clearImmediate,MessageChannel=global.MessageChannel,counter=0,queue={},ONREADYSTATECHANGE="onreadystatechange",defer,channel,port;var run=function(){var id=+this;if(queue.hasOwnProperty(id)){var fn=queue[id];delete queue[id];fn()}};var listner=function(event){run.call(event.data)};if(!setTask||!clearTask){setTask=function setImmediate(fn){var args=[],i=1;while(arguments.length>i)args.push(arguments[i++]);queue[++counter]=function(){invoke(typeof fn=="function"?fn:Function(fn),args)};defer(counter);return counter};clearTask=function clearImmediate(id){delete queue[id]};if(require("./$.cof")(process)=="process"){defer=function(id){process.nextTick(ctx(run,id,1))}}else if(MessageChannel){channel=new MessageChannel;port=channel.port2;channel.port1.onmessage=listner;defer=ctx(port.postMessage,port,1)}else if(global.addEventListener&&typeof postMessage=="function"&&!global.importScript){defer=function(id){global.postMessage(id+"","*")};global.addEventListener("message",listner,false)}else if(ONREADYSTATECHANGE in cel("script")){defer=function(id){html.appendChild(cel("script"))[ONREADYSTATECHANGE]=function(){html.removeChild(this);run.call(id)}}}else{defer=function(id){setTimeout(ctx(run,id,1),0)}}}module.exports={set:setTask,clear:clearTask}},{"./$.cof":36,"./$.ctx":42,"./$.dom-create":45,"./$.global":53,"./$.html":56,"./$.invoke":57}],97:[function(require,module,exports){var toInteger=require("./$.to-integer"),max=Math.max,min=Math.min;module.exports=function(index,length){index=toInteger(index);return index<0?max(index+length,0):min(index,length)}},{"./$.to-integer":98}],98:[function(require,module,exports){var ceil=Math.ceil,floor=Math.floor;module.exports=function(it){return isNaN(it=+it)?0:(it>0?floor:ceil)(it)}},{}],99:[function(require,module,exports){var IObject=require("./$.iobject"),defined=require("./$.defined");module.exports=function(it){return IObject(defined(it))}},{"./$.defined":44,"./$.iobject":58}],100:[function(require,module,exports){var toInteger=require("./$.to-integer"),min=Math.min;module.exports=function(it){return it>0?min(toInteger(it),9007199254740991):0}},{"./$.to-integer":98}],101:[function(require,module,exports){var defined=require("./$.defined");module.exports=function(it){return Object(defined(it))}},{"./$.defined":44}],102:[function(require,module,exports){var id=0,px=Math.random();module.exports=function(key){return"Symbol(".concat(key===undefined?"":key,")_",(++id+px).toString(36))}},{}],103:[function(require,module,exports){var UNSCOPABLES=require("./$.wks")("unscopables");if(!(UNSCOPABLES in[]))require("./$.hide")(Array.prototype,UNSCOPABLES,{});module.exports=function(key){[][UNSCOPABLES][key]=true}},{"./$.hide":55,"./$.wks":104}],104:[function(require,module,exports){var store=require("./$.shared")("wks"),Symbol=require("./$.global").Symbol;module.exports=function(name){return store[name]||(store[name]=Symbol&&Symbol[name]||(Symbol||require("./$.uid"))("Symbol."+name))}},{"./$.global":53,"./$.shared":85,"./$.uid":102}],105:[function(require,module,exports){var classof=require("./$.classof"),ITERATOR=require("./$.wks")("iterator"),Iterators=require("./$.iterators");module.exports=require("./$.core").getIteratorMethod=function(it){if(it!=undefined)return it[ITERATOR]||it["@@iterator"]||Iterators[classof(it)]}},{"./$.classof":35,"./$.core":41,"./$.iterators":68,"./$.wks":104}],106:[function(require,module,exports){"use strict";var $=require("./$"),SUPPORT_DESC=require("./$.support-desc"),createDesc=require("./$.property-desc"),html=require("./$.html"),cel=require("./$.dom-create"),has=require("./$.has"),cof=require("./$.cof"),$def=require("./$.def"),invoke=require("./$.invoke"),arrayMethod=require("./$.array-methods"),IE_PROTO=require("./$.uid")("__proto__"),isObject=require("./$.is-object"),anObject=require("./$.an-object"),aFunction=require("./$.a-function"),toObject=require("./$.to-object"),toIObject=require("./$.to-iobject"),toInteger=require("./$.to-integer"),toIndex=require("./$.to-index"),toLength=require("./$.to-length"),IObject=require("./$.iobject"),fails=require("./$.fails"),ObjectProto=Object.prototype,A=[],_slice=A.slice,_join=A.join,defineProperty=$.setDesc,getOwnDescriptor=$.getDesc,defineProperties=$.setDescs,$indexOf=require("./$.array-includes")(false),factories={},IE8_DOM_DEFINE;if(!SUPPORT_DESC){IE8_DOM_DEFINE=!fails(function(){return defineProperty(cel("div"),"a",{get:function(){return 7}}).a!=7});$.setDesc=function(O,P,Attributes){if(IE8_DOM_DEFINE)try{return defineProperty(O,P,Attributes)}catch(e){}if("get"in Attributes||"set"in Attributes)throw TypeError("Accessors not supported!");if("value"in Attributes)anObject(O)[P]=Attributes.value;return O};$.getDesc=function(O,P){if(IE8_DOM_DEFINE)try{return getOwnDescriptor(O,P)}catch(e){}if(has(O,P))return createDesc(!ObjectProto.propertyIsEnumerable.call(O,P),O[P])};$.setDescs=defineProperties=function(O,Properties){anObject(O);var keys=$.getKeys(Properties),length=keys.length,i=0,P;while(length>i)$.setDesc(O,P=keys[i++],Properties[P]);return O}}$def($def.S+$def.F*!SUPPORT_DESC,"Object",{getOwnPropertyDescriptor:$.getDesc,defineProperty:$.setDesc,defineProperties:defineProperties});var keys1=("constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,"+"toLocaleString,toString,valueOf").split(","),keys2=keys1.concat("length","prototype"),keysLen1=keys1.length;var createDict=function(){var iframe=cel("iframe"),i=keysLen1,gt=">",iframeDocument;iframe.style.display="none";html.appendChild(iframe);iframe.src="javascript:";iframeDocument=iframe.contentWindow.document;iframeDocument.open();iframeDocument.write("<script>document.F=Object</script"+gt);iframeDocument.close();createDict=iframeDocument.F;while(i--)delete createDict.prototype[keys1[i]];return createDict()};var createGetKeys=function(names,length){return function(object){var O=toIObject(object),i=0,result=[],key;for(key in O)if(key!=IE_PROTO)has(O,key)&&result.push(key);while(length>i)if(has(O,key=names[i++])){~$indexOf(result,key)||result.push(key)}return result}};var Empty=function(){};$def($def.S,"Object",{getPrototypeOf:$.getProto=$.getProto||function(O){O=toObject(O);if(has(O,IE_PROTO))return O[IE_PROTO];if(typeof O.constructor=="function"&&O instanceof O.constructor){return O.constructor.prototype}return O instanceof Object?ObjectProto:null},getOwnPropertyNames:$.getNames=$.getNames||createGetKeys(keys2,keys2.length,true),create:$.create=$.create||function(O,Properties){var result;if(O!==null){Empty.prototype=anObject(O);result=new Empty;Empty.prototype=null;result[IE_PROTO]=O}else result=createDict();return Properties===undefined?result:defineProperties(result,Properties)},keys:$.getKeys=$.getKeys||createGetKeys(keys1,keysLen1,false)});var construct=function(F,len,args){if(!(len in factories)){for(var n=[],i=0;i<len;i++)n[i]="a["+i+"]";factories[len]=Function("F,a","return new F("+n.join(",")+")")}return factories[len](F,args)};$def($def.P,"Function",{bind:function bind(that){var fn=aFunction(this),partArgs=_slice.call(arguments,1);var bound=function(){var args=partArgs.concat(_slice.call(arguments));return this instanceof bound?construct(fn,args.length,args):invoke(fn,args,that)};if(isObject(fn.prototype))bound.prototype=fn.prototype;return bound}});var buggySlice=fails(function(){if(html)_slice.call(html)});$def($def.P+$def.F*buggySlice,"Array",{slice:function(begin,end){var len=toLength(this.length),klass=cof(this);end=end===undefined?len:end;if(klass=="Array")return _slice.call(this,begin,end);var start=toIndex(begin,len),upTo=toIndex(end,len),size=toLength(upTo-start),cloned=Array(size),i=0;for(;i<size;i++)cloned[i]=klass=="String"?this.charAt(start+i):this[start+i];return cloned}});$def($def.P+$def.F*(IObject!=Object),"Array",{join:function(){return _join.apply(IObject(this),arguments)}});$def($def.S,"Array",{isArray:function(arg){return cof(arg)=="Array"}});var createArrayReduce=function(isRight){return function(callbackfn,memo){aFunction(callbackfn);var O=IObject(this),length=toLength(O.length),index=isRight?length-1:0,i=isRight?-1:1;if(arguments.length<2)for(;;){if(index in O){memo=O[index];index+=i;break}index+=i;if(isRight?index<0:length<=index){throw TypeError("Reduce of empty array with no initial value")}}for(;isRight?index>=0:length>index;index+=i)if(index in O){memo=callbackfn(memo,O[index],index,this)}return memo}};var methodize=function($fn){return function(arg1){return $fn(this,arg1,arguments[1])}};$def($def.P,"Array",{forEach:$.each=$.each||methodize(arrayMethod(0)),map:methodize(arrayMethod(1)),filter:methodize(arrayMethod(2)),some:methodize(arrayMethod(3)),every:methodize(arrayMethod(4)),reduce:createArrayReduce(false),reduceRight:createArrayReduce(true),indexOf:methodize($indexOf),lastIndexOf:function(el,fromIndex){var O=toIObject(this),length=toLength(O.length),index=length-1;if(arguments.length>1)index=Math.min(index,toInteger(fromIndex));if(index<0)index=toLength(length+index);for(;index>=0;index--)if(index in O)if(O[index]===el)return index;return-1}});$def($def.S,"Date",{now:function(){return+new Date}});var lz=function(num){return num>9?num:"0"+num};var date=new Date(-5e13-1),brokenDate=!(date.toISOString&&date.toISOString()=="0385-07-25T07:06:39.999Z"&&fails(function(){new Date(NaN).toISOString()}));$def($def.P+$def.F*brokenDate,"Date",{toISOString:function toISOString(){if(!isFinite(this))throw RangeError("Invalid time value");var d=this,y=d.getUTCFullYear(),m=d.getUTCMilliseconds(),s=y<0?"-":y>9999?"+":"";return s+("00000"+Math.abs(y)).slice(s?-6:-4)+"-"+lz(d.getUTCMonth()+1)+"-"+lz(d.getUTCDate())+"T"+lz(d.getUTCHours())+":"+lz(d.getUTCMinutes())+":"+lz(d.getUTCSeconds())+"."+(m>99?m:"0"+lz(m))+"Z"}})},{"./$":69,"./$.a-function":30,"./$.an-object":31,"./$.array-includes":32,"./$.array-methods":33,"./$.cof":36,"./$.def":43,"./$.dom-create":45,"./$.fails":48,"./$.has":54,"./$.html":56,"./$.invoke":57,"./$.iobject":58,"./$.is-object":61,"./$.property-desc":80,"./$.support-desc":94,"./$.to-index":97,"./$.to-integer":98,"./$.to-iobject":99,"./$.to-length":100,"./$.to-object":101,"./$.uid":102}],107:[function(require,module,exports){"use strict";var $def=require("./$.def"),toObject=require("./$.to-object"),toIndex=require("./$.to-index"),toLength=require("./$.to-length");$def($def.P,"Array",{copyWithin:function copyWithin(target,start){var O=toObject(this),len=toLength(O.length),to=toIndex(target,len),from=toIndex(start,len),end=arguments[2],fin=end===undefined?len:toIndex(end,len),count=Math.min(fin-from,len-to),inc=1;if(from<to&&to<from+count){inc=-1;from=from+count-1;to=to+count-1}while(count-->0){if(from in O)O[to]=O[from];else delete O[to];to+=inc;from+=inc}return O}});require("./$.unscope")("copyWithin")},{"./$.def":43,"./$.to-index":97,"./$.to-length":100,"./$.to-object":101,"./$.unscope":103}],108:[function(require,module,exports){"use strict";var $def=require("./$.def"),toObject=require("./$.to-object"),toIndex=require("./$.to-index"),toLength=require("./$.to-length");$def($def.P,"Array",{fill:function fill(value){var O=toObject(this,true),length=toLength(O.length),index=toIndex(arguments[1],length),end=arguments[2],endPos=end===undefined?length:toIndex(end,length);while(endPos>index)O[index++]=value;return O}});require("./$.unscope")("fill")},{"./$.def":43,"./$.to-index":97,"./$.to-length":100,"./$.to-object":101,"./$.unscope":103}],109:[function(require,module,exports){"use strict";var KEY="findIndex",$def=require("./$.def"),forced=true,$find=require("./$.array-methods")(6);if(KEY in[])Array(1)[KEY](function(){forced=false});$def($def.P+$def.F*forced,"Array",{findIndex:function findIndex(callbackfn){return $find(this,callbackfn,arguments[1])}});require("./$.unscope")(KEY)},{"./$.array-methods":33,"./$.def":43,"./$.unscope":103}],110:[function(require,module,exports){"use strict";var KEY="find",$def=require("./$.def"),forced=true,$find=require("./$.array-methods")(5);if(KEY in[])Array(1)[KEY](function(){forced=false});$def($def.P+$def.F*forced,"Array",{find:function find(callbackfn){return $find(this,callbackfn,arguments[1])}});require("./$.unscope")(KEY)},{"./$.array-methods":33,"./$.def":43,"./$.unscope":103}],111:[function(require,module,exports){"use strict";var ctx=require("./$.ctx"),$def=require("./$.def"),toObject=require("./$.to-object"),call=require("./$.iter-call"),isArrayIter=require("./$.is-array-iter"),toLength=require("./$.to-length"),getIterFn=require("./core.get-iterator-method");$def($def.S+$def.F*!require("./$.iter-detect")(function(iter){Array.from(iter)}),"Array",{from:function from(arrayLike){var O=toObject(arrayLike),C=typeof this=="function"?this:Array,mapfn=arguments[1],mapping=mapfn!==undefined,index=0,iterFn=getIterFn(O),length,result,step,iterator;if(mapping)mapfn=ctx(mapfn,arguments[2],2);if(iterFn!=undefined&&!(C==Array&&isArrayIter(iterFn))){for(iterator=iterFn.call(O),result=new C;!(step=iterator.next()).done;index++){result[index]=mapping?call(iterator,mapfn,[step.value,index],true):step.value}}else{for(result=new C(length=toLength(O.length));length>index;index++){result[index]=mapping?mapfn(O[index],index):O[index]}}result.length=index;return result}})},{"./$.ctx":42,"./$.def":43,"./$.is-array-iter":59,"./$.iter-call":63,"./$.iter-detect":66,"./$.to-length":100,"./$.to-object":101,"./core.get-iterator-method":105}],112:[function(require,module,exports){"use strict";var setUnscope=require("./$.unscope"),step=require("./$.iter-step"),Iterators=require("./$.iterators"),toIObject=require("./$.to-iobject");require("./$.iter-define")(Array,"Array",function(iterated,kind){this._t=toIObject(iterated);this._i=0;this._k=kind},function(){var O=this._t,kind=this._k,index=this._i++;if(!O||index>=O.length){this._t=undefined;return step(1)}if(kind=="keys")return step(0,index);if(kind=="values")return step(0,O[index]);return step(0,[index,O[index]])},"values");Iterators.Arguments=Iterators.Array;setUnscope("keys");setUnscope("values");setUnscope("entries")},{"./$.iter-define":65,"./$.iter-step":67,"./$.iterators":68,"./$.to-iobject":99,"./$.unscope":103}],113:[function(require,module,exports){"use strict";var $def=require("./$.def");$def($def.S,"Array",{of:function of(){var index=0,length=arguments.length,result=new(typeof this=="function"?this:Array)(length);while(length>index)result[index]=arguments[index++];result.length=length;return result}})},{"./$.def":43}],114:[function(require,module,exports){require("./$.species")(Array)},{"./$.species":87}],115:[function(require,module,exports){"use strict";var $=require("./$"),isObject=require("./$.is-object"),HAS_INSTANCE=require("./$.wks")("hasInstance"),FunctionProto=Function.prototype;if(!(HAS_INSTANCE in FunctionProto))$.setDesc(FunctionProto,HAS_INSTANCE,{value:function(O){if(typeof this!="function"||!isObject(O))return false;if(!isObject(this.prototype))return O instanceof this;while(O=$.getProto(O))if(this.prototype===O)return true;return false}})},{"./$":69,"./$.is-object":61,"./$.wks":104}],116:[function(require,module,exports){var setDesc=require("./$").setDesc,createDesc=require("./$.property-desc"),has=require("./$.has"),FProto=Function.prototype,nameRE=/^\s*function ([^ (]*)/,NAME="name";NAME in FProto||require("./$.support-desc")&&setDesc(FProto,NAME,{configurable:true,get:function(){var match=(""+this).match(nameRE),name=match?match[1]:"";has(this,NAME)||setDesc(this,NAME,createDesc(5,name));return name}})},{"./$":69,"./$.has":54,"./$.property-desc":80,"./$.support-desc":94}],117:[function(require,module,exports){"use strict";var strong=require("./$.collection-strong");require("./$.collection")("Map",function(get){return function Map(){return get(this,arguments[0])}},{get:function get(key){var entry=strong.getEntry(this,key);return entry&&entry.v},set:function set(key,value){return strong.def(this,key===0?0:key,value)}},strong,true)},{"./$.collection":40,"./$.collection-strong":37}],118:[function(require,module,exports){var $def=require("./$.def"),log1p=require("./$.log1p"),sqrt=Math.sqrt,$acosh=Math.acosh;$def($def.S+$def.F*!($acosh&&Math.floor($acosh(Number.MAX_VALUE))==710),"Math",{acosh:function acosh(x){return(x=+x)<1?NaN:x>94906265.62425156?Math.log(x)+Math.LN2:log1p(x-1+sqrt(x-1)*sqrt(x+1))}})},{"./$.def":43,"./$.log1p":72}],119:[function(require,module,exports){var $def=require("./$.def");function asinh(x){return!isFinite(x=+x)||x==0?x:x<0?-asinh(-x):Math.log(x+Math.sqrt(x*x+1))}$def($def.S,"Math",{asinh:asinh})},{"./$.def":43}],120:[function(require,module,exports){var $def=require("./$.def");$def($def.S,"Math",{atanh:function atanh(x){return(x=+x)==0?x:Math.log((1+x)/(1-x))/2}})},{"./$.def":43}],121:[function(require,module,exports){var $def=require("./$.def"),sign=require("./$.sign");$def($def.S,"Math",{cbrt:function cbrt(x){return sign(x=+x)*Math.pow(Math.abs(x),1/3)}})},{"./$.def":43,"./$.sign":86}],122:[function(require,module,exports){var $def=require("./$.def");$def($def.S,"Math",{clz32:function clz32(x){return(x>>>=0)?31-Math.floor(Math.log(x+.5)*Math.LOG2E):32}})},{"./$.def":43}],123:[function(require,module,exports){var $def=require("./$.def"),exp=Math.exp;$def($def.S,"Math",{cosh:function cosh(x){return(exp(x=+x)+exp(-x))/2}})},{"./$.def":43}],124:[function(require,module,exports){var $def=require("./$.def");$def($def.S,"Math",{expm1:require("./$.expm1")})},{"./$.def":43,"./$.expm1":47}],125:[function(require,module,exports){var $def=require("./$.def"),sign=require("./$.sign"),pow=Math.pow,EPSILON=pow(2,-52),EPSILON32=pow(2,-23),MAX32=pow(2,127)*(2-EPSILON32),MIN32=pow(2,-126);var roundTiesToEven=function(n){return n+1/EPSILON-1/EPSILON};$def($def.S,"Math",{fround:function fround(x){var $abs=Math.abs(x),$sign=sign(x),a,result;if($abs<MIN32)return $sign*roundTiesToEven($abs/MIN32/EPSILON32)*MIN32*EPSILON32;a=(1+EPSILON32/EPSILON)*$abs;result=a-(a-$abs);if(result>MAX32||result!=result)return $sign*Infinity;return $sign*result}})},{"./$.def":43,"./$.sign":86}],126:[function(require,module,exports){var $def=require("./$.def"),abs=Math.abs;$def($def.S,"Math",{hypot:function hypot(value1,value2){var sum=0,i=0,len=arguments.length,larg=0,arg,div;while(i<len){arg=abs(arguments[i++]);if(larg<arg){div=larg/arg;sum=sum*div*div+1;larg=arg}else if(arg>0){div=arg/larg;sum+=div*div}else sum+=arg}return larg===Infinity?Infinity:larg*Math.sqrt(sum)}})},{"./$.def":43}],127:[function(require,module,exports){var $def=require("./$.def");$def($def.S+$def.F*require("./$.fails")(function(){return Math.imul(4294967295,5)!=-5}),"Math",{imul:function imul(x,y){var UINT16=65535,xn=+x,yn=+y,xl=UINT16&xn,yl=UINT16&yn;return 0|xl*yl+((UINT16&xn>>>16)*yl+xl*(UINT16&yn>>>16)<<16>>>0)}})},{"./$.def":43,"./$.fails":48}],128:[function(require,module,exports){var $def=require("./$.def");$def($def.S,"Math",{log10:function log10(x){return Math.log(x)/Math.LN10}})},{"./$.def":43}],129:[function(require,module,exports){var $def=require("./$.def");$def($def.S,"Math",{log1p:require("./$.log1p")})},{"./$.def":43,"./$.log1p":72}],130:[function(require,module,exports){var $def=require("./$.def");$def($def.S,"Math",{log2:function log2(x){return Math.log(x)/Math.LN2}})},{"./$.def":43}],131:[function(require,module,exports){var $def=require("./$.def");$def($def.S,"Math",{sign:require("./$.sign")})},{"./$.def":43,"./$.sign":86}],132:[function(require,module,exports){var $def=require("./$.def"),expm1=require("./$.expm1"),exp=Math.exp;$def($def.S,"Math",{sinh:function sinh(x){return Math.abs(x=+x)<1?(expm1(x)-expm1(-x))/2:(exp(x-1)-exp(-x-1))*(Math.E/2)}})},{"./$.def":43,"./$.expm1":47}],133:[function(require,module,exports){var $def=require("./$.def"),expm1=require("./$.expm1"),exp=Math.exp;$def($def.S,"Math",{tanh:function tanh(x){var a=expm1(x=+x),b=expm1(-x);return a==Infinity?1:b==Infinity?-1:(a-b)/(exp(x)+exp(-x))}})},{"./$.def":43,"./$.expm1":47}],134:[function(require,module,exports){var $def=require("./$.def");$def($def.S,"Math",{trunc:function trunc(it){return(it>0?Math.floor:Math.ceil)(it)}})},{"./$.def":43}],135:[function(require,module,exports){"use strict";var $=require("./$"),global=require("./$.global"),has=require("./$.has"),cof=require("./$.cof"),isObject=require("./$.is-object"),fails=require("./$.fails"),NUMBER="Number",$Number=global[NUMBER],Base=$Number,proto=$Number.prototype,BROKEN_COF=cof($.create(proto))==NUMBER;var toPrimitive=function(it){var fn,val;if(typeof(fn=it.valueOf)=="function"&&!isObject(val=fn.call(it)))return val;if(typeof(fn=it.toString)=="function"&&!isObject(val=fn.call(it)))return val;throw TypeError("Can't convert object to number")};var toNumber=function(it){if(isObject(it))it=toPrimitive(it);if(typeof it=="string"&&it.length>2&&it.charCodeAt(0)==48){var binary=false;switch(it.charCodeAt(1)){case 66:case 98:binary=true;case 79:case 111:return parseInt(it.slice(2),binary?2:8)}}return+it};if(!($Number("0o1")&&$Number("0b1"))){$Number=function Number(it){var that=this;return that instanceof $Number&&(BROKEN_COF?fails(function(){proto.valueOf.call(that)}):cof(that)!=NUMBER)?new Base(toNumber(it)):toNumber(it)};$.each.call(require("./$.support-desc")?$.getNames(Base):("MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,"+"EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,"+"MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger").split(","),function(key){if(has(Base,key)&&!has($Number,key)){$.setDesc($Number,key,$.getDesc(Base,key))}});$Number.prototype=proto;proto.constructor=$Number;require("./$.redef")(global,NUMBER,$Number)}},{"./$":69,"./$.cof":36,"./$.fails":48,"./$.global":53,"./$.has":54,"./$.is-object":61,"./$.redef":81,"./$.support-desc":94}],136:[function(require,module,exports){var $def=require("./$.def");$def($def.S,"Number",{EPSILON:Math.pow(2,-52)})},{"./$.def":43}],137:[function(require,module,exports){var $def=require("./$.def"),_isFinite=require("./$.global").isFinite;$def($def.S,"Number",{isFinite:function isFinite(it){return typeof it=="number"&&_isFinite(it)}})},{"./$.def":43,"./$.global":53}],138:[function(require,module,exports){var $def=require("./$.def");$def($def.S,"Number",{isInteger:require("./$.is-integer")})},{"./$.def":43,"./$.is-integer":60}],139:[function(require,module,exports){var $def=require("./$.def");$def($def.S,"Number",{isNaN:function isNaN(number){return number!=number}})},{"./$.def":43}],140:[function(require,module,exports){var $def=require("./$.def"),isInteger=require("./$.is-integer"),abs=Math.abs;$def($def.S,"Number",{isSafeInteger:function isSafeInteger(number){return isInteger(number)&&abs(number)<=9007199254740991}})},{"./$.def":43,"./$.is-integer":60}],141:[function(require,module,exports){var $def=require("./$.def");$def($def.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},{"./$.def":43}],142:[function(require,module,exports){var $def=require("./$.def");$def($def.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},{"./$.def":43}],143:[function(require,module,exports){var $def=require("./$.def");$def($def.S,"Number",{parseFloat:parseFloat})},{"./$.def":43}],144:[function(require,module,exports){var $def=require("./$.def");$def($def.S,"Number",{parseInt:parseInt})},{"./$.def":43}],145:[function(require,module,exports){var $def=require("./$.def");$def($def.S,"Object",{assign:require("./$.assign")})},{"./$.assign":34,"./$.def":43}],146:[function(require,module,exports){var isObject=require("./$.is-object");require("./$.object-sap")("freeze",function($freeze){return function freeze(it){return $freeze&&isObject(it)?$freeze(it):it}})},{"./$.is-object":61,"./$.object-sap":75}],147:[function(require,module,exports){var toIObject=require("./$.to-iobject");require("./$.object-sap")("getOwnPropertyDescriptor",function($getOwnPropertyDescriptor){return function getOwnPropertyDescriptor(it,key){return $getOwnPropertyDescriptor(toIObject(it),key)}})},{"./$.object-sap":75,"./$.to-iobject":99}],148:[function(require,module,exports){require("./$.object-sap")("getOwnPropertyNames",function(){return require("./$.get-names").get})},{"./$.get-names":52,"./$.object-sap":75}],149:[function(require,module,exports){var toObject=require("./$.to-object");require("./$.object-sap")("getPrototypeOf",function($getPrototypeOf){return function getPrototypeOf(it){return $getPrototypeOf(toObject(it))}})},{"./$.object-sap":75,"./$.to-object":101}],150:[function(require,module,exports){var isObject=require("./$.is-object");require("./$.object-sap")("isExtensible",function($isExtensible){return function isExtensible(it){return isObject(it)?$isExtensible?$isExtensible(it):true:false}})},{"./$.is-object":61,"./$.object-sap":75}],151:[function(require,module,exports){var isObject=require("./$.is-object");require("./$.object-sap")("isFrozen",function($isFrozen){return function isFrozen(it){return isObject(it)?$isFrozen?$isFrozen(it):false:true}})},{"./$.is-object":61,"./$.object-sap":75}],152:[function(require,module,exports){var isObject=require("./$.is-object");require("./$.object-sap")("isSealed",function($isSealed){return function isSealed(it){return isObject(it)?$isSealed?$isSealed(it):false:true}})},{"./$.is-object":61,"./$.object-sap":75}],153:[function(require,module,exports){var $def=require("./$.def");$def($def.S,"Object",{is:require("./$.same")})},{"./$.def":43,"./$.same":83}],154:[function(require,module,exports){var toObject=require("./$.to-object");require("./$.object-sap")("keys",function($keys){return function keys(it){return $keys(toObject(it));

}})},{"./$.object-sap":75,"./$.to-object":101}],155:[function(require,module,exports){var isObject=require("./$.is-object");require("./$.object-sap")("preventExtensions",function($preventExtensions){return function preventExtensions(it){return $preventExtensions&&isObject(it)?$preventExtensions(it):it}})},{"./$.is-object":61,"./$.object-sap":75}],156:[function(require,module,exports){var isObject=require("./$.is-object");require("./$.object-sap")("seal",function($seal){return function seal(it){return $seal&&isObject(it)?$seal(it):it}})},{"./$.is-object":61,"./$.object-sap":75}],157:[function(require,module,exports){var $def=require("./$.def");$def($def.S,"Object",{setPrototypeOf:require("./$.set-proto").set})},{"./$.def":43,"./$.set-proto":84}],158:[function(require,module,exports){"use strict";var classof=require("./$.classof"),test={};test[require("./$.wks")("toStringTag")]="z";if(test+""!="[object z]"){require("./$.redef")(Object.prototype,"toString",function toString(){return"[object "+classof(this)+"]"},true)}},{"./$.classof":35,"./$.redef":81,"./$.wks":104}],159:[function(require,module,exports){"use strict";var $=require("./$"),LIBRARY=require("./$.library"),global=require("./$.global"),ctx=require("./$.ctx"),classof=require("./$.classof"),$def=require("./$.def"),isObject=require("./$.is-object"),anObject=require("./$.an-object"),aFunction=require("./$.a-function"),strictNew=require("./$.strict-new"),forOf=require("./$.for-of"),setProto=require("./$.set-proto").set,same=require("./$.same"),species=require("./$.species"),SPECIES=require("./$.wks")("species"),RECORD=require("./$.uid")("record"),asap=require("./$.microtask"),PROMISE="Promise",process=global.process,isNode=classof(process)=="process",P=global[PROMISE],Wrapper;var testResolve=function(sub){var test=new P(function(){});if(sub)test.constructor=Object;return P.resolve(test)===test};var useNative=function(){var works=false;function P2(x){var self=new P(x);setProto(self,P2.prototype);return self}try{works=P&&P.resolve&&testResolve();setProto(P2,P);P2.prototype=$.create(P.prototype,{constructor:{value:P2}});if(!(P2.resolve(5).then(function(){})instanceof P2)){works=false}if(works&&require("./$.support-desc")){var thenableThenGotten=false;P.resolve($.setDesc({},"then",{get:function(){thenableThenGotten=true}}));works=thenableThenGotten}}catch(e){works=false}return works}();var isPromise=function(it){return isObject(it)&&(useNative?classof(it)=="Promise":RECORD in it)};var sameConstructor=function(a,b){if(LIBRARY&&a===P&&b===Wrapper)return true;return same(a,b)};var getConstructor=function(C){var S=anObject(C)[SPECIES];return S!=undefined?S:C};var isThenable=function(it){var then;return isObject(it)&&typeof(then=it.then)=="function"?then:false};var notify=function(record,isReject){if(record.n)return;record.n=true;var chain=record.c;asap(function(){var value=record.v,ok=record.s==1,i=0;var run=function(react){var cb=ok?react.ok:react.fail,ret,then;try{if(cb){if(!ok)record.h=true;ret=cb===true?value:cb(value);if(ret===react.P){react.rej(TypeError("Promise-chain cycle"))}else if(then=isThenable(ret)){then.call(ret,react.res,react.rej)}else react.res(ret)}else react.rej(value)}catch(err){react.rej(err)}};while(chain.length>i)run(chain[i++]);chain.length=0;record.n=false;if(isReject)setTimeout(function(){asap(function(){if(isUnhandled(record.p)){if(isNode){process.emit("unhandledRejection",value,record.p)}else if(global.console&&console.error){console.error("Unhandled promise rejection",value)}}record.a=undefined})},1)})};var isUnhandled=function(promise){var record=promise[RECORD],chain=record.a||record.c,i=0,react;if(record.h)return false;while(chain.length>i){react=chain[i++];if(react.fail||!isUnhandled(react.P))return false}return true};var $reject=function(value){var record=this;if(record.d)return;record.d=true;record=record.r||record;record.v=value;record.s=2;record.a=record.c.slice();notify(record,true)};var $resolve=function(value){var record=this,then;if(record.d)return;record.d=true;record=record.r||record;try{if(then=isThenable(value)){asap(function(){var wrapper={r:record,d:false};try{then.call(value,ctx($resolve,wrapper,1),ctx($reject,wrapper,1))}catch(e){$reject.call(wrapper,e)}})}else{record.v=value;record.s=1;notify(record,false)}}catch(e){$reject.call({r:record,d:false},e)}};if(!useNative){P=function Promise(executor){aFunction(executor);var record={p:strictNew(this,P,PROMISE),c:[],a:undefined,s:0,d:false,v:undefined,h:false,n:false};this[RECORD]=record;try{executor(ctx($resolve,record,1),ctx($reject,record,1))}catch(err){$reject.call(record,err)}};require("./$.mix")(P.prototype,{then:function then(onFulfilled,onRejected){var S=anObject(anObject(this).constructor)[SPECIES];var react={ok:typeof onFulfilled=="function"?onFulfilled:true,fail:typeof onRejected=="function"?onRejected:false};var promise=react.P=new(S!=undefined?S:P)(function(res,rej){react.res=aFunction(res);react.rej=aFunction(rej)});var record=this[RECORD];record.c.push(react);if(record.a)record.a.push(react);if(record.s)notify(record,false);return promise},"catch":function(onRejected){return this.then(undefined,onRejected)}})}$def($def.G+$def.W+$def.F*!useNative,{Promise:P});require("./$.tag")(P,PROMISE);species(P);species(Wrapper=require("./$.core")[PROMISE]);$def($def.S+$def.F*!useNative,PROMISE,{reject:function reject(r){return new this(function(res,rej){rej(r)})}});$def($def.S+$def.F*(!useNative||testResolve(true)),PROMISE,{resolve:function resolve(x){return isPromise(x)&&sameConstructor(x.constructor,this)?x:new this(function(res){res(x)})}});$def($def.S+$def.F*!(useNative&&require("./$.iter-detect")(function(iter){P.all(iter)["catch"](function(){})})),PROMISE,{all:function all(iterable){var C=getConstructor(this),values=[];return new C(function(res,rej){forOf(iterable,false,values.push,values);var remaining=values.length,results=Array(remaining);if(remaining)$.each.call(values,function(promise,index){C.resolve(promise).then(function(value){results[index]=value;--remaining||res(results)},rej)});else res(results)})},race:function race(iterable){var C=getConstructor(this);return new C(function(res,rej){forOf(iterable,false,function(promise){C.resolve(promise).then(res,rej)})})}})},{"./$":69,"./$.a-function":30,"./$.an-object":31,"./$.classof":35,"./$.core":41,"./$.ctx":42,"./$.def":43,"./$.for-of":51,"./$.global":53,"./$.is-object":61,"./$.iter-detect":66,"./$.library":71,"./$.microtask":73,"./$.mix":74,"./$.same":83,"./$.set-proto":84,"./$.species":87,"./$.strict-new":88,"./$.support-desc":94,"./$.tag":95,"./$.uid":102,"./$.wks":104}],160:[function(require,module,exports){var $def=require("./$.def"),_apply=Function.apply;$def($def.S,"Reflect",{apply:function apply(target,thisArgument,argumentsList){return _apply.call(target,thisArgument,argumentsList)}})},{"./$.def":43}],161:[function(require,module,exports){var $=require("./$"),$def=require("./$.def"),aFunction=require("./$.a-function"),anObject=require("./$.an-object"),isObject=require("./$.is-object"),bind=Function.bind||require("./$.core").Function.prototype.bind;$def($def.S,"Reflect",{construct:function construct(Target,args){aFunction(Target);if(arguments.length<3){if(args!=undefined)switch(anObject(args).length){case 0:return new Target;case 1:return new Target(args[0]);case 2:return new Target(args[0],args[1]);case 3:return new Target(args[0],args[1],args[2]);case 4:return new Target(args[0],args[1],args[2],args[3])}var $args=[null];$args.push.apply($args,args);return new(bind.apply(Target,$args))}var proto=aFunction(arguments[2]).prototype,instance=$.create(isObject(proto)?proto:Object.prototype),result=Function.apply.call(Target,instance,args);return isObject(result)?result:instance}})},{"./$":69,"./$.a-function":30,"./$.an-object":31,"./$.core":41,"./$.def":43,"./$.is-object":61}],162:[function(require,module,exports){var $=require("./$"),$def=require("./$.def"),anObject=require("./$.an-object");$def($def.S+$def.F*require("./$.fails")(function(){Reflect.defineProperty($.setDesc({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function defineProperty(target,propertyKey,attributes){anObject(target);try{$.setDesc(target,propertyKey,attributes);return true}catch(e){return false}}})},{"./$":69,"./$.an-object":31,"./$.def":43,"./$.fails":48}],163:[function(require,module,exports){var $def=require("./$.def"),getDesc=require("./$").getDesc,anObject=require("./$.an-object");$def($def.S,"Reflect",{deleteProperty:function deleteProperty(target,propertyKey){var desc=getDesc(anObject(target),propertyKey);return desc&&!desc.configurable?false:delete target[propertyKey]}})},{"./$":69,"./$.an-object":31,"./$.def":43}],164:[function(require,module,exports){"use strict";var $def=require("./$.def"),anObject=require("./$.an-object");var Enumerate=function(iterated){this._t=anObject(iterated);this._i=0;var keys=this._k=[],key;for(key in iterated)keys.push(key)};require("./$.iter-create")(Enumerate,"Object",function(){var that=this,keys=that._k,key;do{if(that._i>=keys.length)return{value:undefined,done:true}}while(!((key=keys[that._i++])in that._t));return{value:key,done:false}});$def($def.S,"Reflect",{enumerate:function enumerate(target){return new Enumerate(target)}})},{"./$.an-object":31,"./$.def":43,"./$.iter-create":64}],165:[function(require,module,exports){var $=require("./$"),$def=require("./$.def"),anObject=require("./$.an-object");$def($def.S,"Reflect",{getOwnPropertyDescriptor:function getOwnPropertyDescriptor(target,propertyKey){return $.getDesc(anObject(target),propertyKey)}})},{"./$":69,"./$.an-object":31,"./$.def":43}],166:[function(require,module,exports){var $def=require("./$.def"),getProto=require("./$").getProto,anObject=require("./$.an-object");$def($def.S,"Reflect",{getPrototypeOf:function getPrototypeOf(target){return getProto(anObject(target))}})},{"./$":69,"./$.an-object":31,"./$.def":43}],167:[function(require,module,exports){var $=require("./$"),has=require("./$.has"),$def=require("./$.def"),isObject=require("./$.is-object"),anObject=require("./$.an-object");function get(target,propertyKey){var receiver=arguments.length<3?target:arguments[2],desc,proto;if(anObject(target)===receiver)return target[propertyKey];if(desc=$.getDesc(target,propertyKey))return has(desc,"value")?desc.value:desc.get!==undefined?desc.get.call(receiver):undefined;if(isObject(proto=$.getProto(target)))return get(proto,propertyKey,receiver)}$def($def.S,"Reflect",{get:get})},{"./$":69,"./$.an-object":31,"./$.def":43,"./$.has":54,"./$.is-object":61}],168:[function(require,module,exports){var $def=require("./$.def");$def($def.S,"Reflect",{has:function has(target,propertyKey){return propertyKey in target}})},{"./$.def":43}],169:[function(require,module,exports){var $def=require("./$.def"),anObject=require("./$.an-object"),$isExtensible=Object.isExtensible;$def($def.S,"Reflect",{isExtensible:function isExtensible(target){anObject(target);return $isExtensible?$isExtensible(target):true}})},{"./$.an-object":31,"./$.def":43}],170:[function(require,module,exports){var $def=require("./$.def");$def($def.S,"Reflect",{ownKeys:require("./$.own-keys")})},{"./$.def":43,"./$.own-keys":77}],171:[function(require,module,exports){var $def=require("./$.def"),anObject=require("./$.an-object"),$preventExtensions=Object.preventExtensions;$def($def.S,"Reflect",{preventExtensions:function preventExtensions(target){anObject(target);try{if($preventExtensions)$preventExtensions(target);return true}catch(e){return false}}})},{"./$.an-object":31,"./$.def":43}],172:[function(require,module,exports){var $def=require("./$.def"),setProto=require("./$.set-proto");if(setProto)$def($def.S,"Reflect",{setPrototypeOf:function setPrototypeOf(target,proto){setProto.check(target,proto);try{setProto.set(target,proto);return true}catch(e){return false}}})},{"./$.def":43,"./$.set-proto":84}],173:[function(require,module,exports){var $=require("./$"),has=require("./$.has"),$def=require("./$.def"),createDesc=require("./$.property-desc"),anObject=require("./$.an-object"),isObject=require("./$.is-object");function set(target,propertyKey,V){var receiver=arguments.length<4?target:arguments[3],ownDesc=$.getDesc(anObject(target),propertyKey),existingDescriptor,proto;if(!ownDesc){if(isObject(proto=$.getProto(target))){return set(proto,propertyKey,V,receiver)}ownDesc=createDesc(0)}if(has(ownDesc,"value")){if(ownDesc.writable===false||!isObject(receiver))return false;existingDescriptor=$.getDesc(receiver,propertyKey)||createDesc(0);existingDescriptor.value=V;$.setDesc(receiver,propertyKey,existingDescriptor);return true}return ownDesc.set===undefined?false:(ownDesc.set.call(receiver,V),true)}$def($def.S,"Reflect",{set:set})},{"./$":69,"./$.an-object":31,"./$.def":43,"./$.has":54,"./$.is-object":61,"./$.property-desc":80}],174:[function(require,module,exports){var $=require("./$"),global=require("./$.global"),cof=require("./$.cof"),$flags=require("./$.flags"),$RegExp=global.RegExp,Base=$RegExp,proto=$RegExp.prototype,re=/a/g,CORRECT_NEW=new $RegExp(re)!==re,ALLOWS_RE_WITH_FLAGS=function(){try{return $RegExp(re,"i")=="/a/i"}catch(e){}}();if(require("./$.support-desc")){if(!CORRECT_NEW||!ALLOWS_RE_WITH_FLAGS){$RegExp=function RegExp(pattern,flags){var patternIsRegExp=cof(pattern)=="RegExp",flagsIsUndefined=flags===undefined;if(!(this instanceof $RegExp)&&patternIsRegExp&&flagsIsUndefined)return pattern;return CORRECT_NEW?new Base(patternIsRegExp&&!flagsIsUndefined?pattern.source:pattern,flags):new Base(patternIsRegExp?pattern.source:pattern,patternIsRegExp&&flagsIsUndefined?$flags.call(pattern):flags)};$.each.call($.getNames(Base),function(key){key in $RegExp||$.setDesc($RegExp,key,{configurable:true,get:function(){return Base[key]},set:function(it){Base[key]=it}})});proto.constructor=$RegExp;$RegExp.prototype=proto;require("./$.redef")(global,"RegExp",$RegExp)}}require("./$.species")($RegExp)},{"./$":69,"./$.cof":36,"./$.flags":50,"./$.global":53,"./$.redef":81,"./$.species":87,"./$.support-desc":94}],175:[function(require,module,exports){var $=require("./$");if(require("./$.support-desc")&&/./g.flags!="g")$.setDesc(RegExp.prototype,"flags",{configurable:true,get:require("./$.flags")})},{"./$":69,"./$.flags":50,"./$.support-desc":94}],176:[function(require,module,exports){require("./$.fix-re-wks")("match",1,function(defined,MATCH){return function match(regexp){"use strict";var O=defined(this),fn=regexp==undefined?undefined:regexp[MATCH];return fn!==undefined?fn.call(regexp,O):new RegExp(regexp)[MATCH](String(O))}})},{"./$.fix-re-wks":49}],177:[function(require,module,exports){require("./$.fix-re-wks")("replace",2,function(defined,REPLACE,$replace){return function replace(searchValue,replaceValue){"use strict";var O=defined(this),fn=searchValue==undefined?undefined:searchValue[REPLACE];return fn!==undefined?fn.call(searchValue,O,replaceValue):$replace.call(String(O),searchValue,replaceValue)}})},{"./$.fix-re-wks":49}],178:[function(require,module,exports){require("./$.fix-re-wks")("search",1,function(defined,SEARCH){return function search(regexp){"use strict";var O=defined(this),fn=regexp==undefined?undefined:regexp[SEARCH];return fn!==undefined?fn.call(regexp,O):new RegExp(regexp)[SEARCH](String(O))}})},{"./$.fix-re-wks":49}],179:[function(require,module,exports){require("./$.fix-re-wks")("split",2,function(defined,SPLIT,$split){return function split(separator,limit){"use strict";var O=defined(this),fn=separator==undefined?undefined:separator[SPLIT];return fn!==undefined?fn.call(separator,O,limit):$split.call(String(O),separator,limit)}})},{"./$.fix-re-wks":49}],180:[function(require,module,exports){"use strict";var strong=require("./$.collection-strong");require("./$.collection")("Set",function(get){return function Set(){return get(this,arguments[0])}},{add:function add(value){return strong.def(this,value=value===0?0:value,value)}},strong)},{"./$.collection":40,"./$.collection-strong":37}],181:[function(require,module,exports){"use strict";var $def=require("./$.def"),$at=require("./$.string-at")(false);$def($def.P,"String",{codePointAt:function codePointAt(pos){return $at(this,pos)}})},{"./$.def":43,"./$.string-at":89}],182:[function(require,module,exports){"use strict";var $def=require("./$.def"),toLength=require("./$.to-length"),context=require("./$.string-context");$def($def.P+$def.F*!require("./$.fails")(function(){"q".endsWith(/./)}),"String",{endsWith:function endsWith(searchString){var that=context(this,searchString,"endsWith"),endPosition=arguments[1],len=toLength(that.length),end=endPosition===undefined?len:Math.min(toLength(endPosition),len),search=String(searchString);return that.slice(end-search.length,end)===search}})},{"./$.def":43,"./$.fails":48,"./$.string-context":90,"./$.to-length":100}],183:[function(require,module,exports){var $def=require("./$.def"),toIndex=require("./$.to-index"),fromCharCode=String.fromCharCode,$fromCodePoint=String.fromCodePoint;$def($def.S+$def.F*(!!$fromCodePoint&&$fromCodePoint.length!=1),"String",{fromCodePoint:function fromCodePoint(x){var res=[],len=arguments.length,i=0,code;while(len>i){code=+arguments[i++];if(toIndex(code,1114111)!==code)throw RangeError(code+" is not a valid code point");res.push(code<65536?fromCharCode(code):fromCharCode(((code-=65536)>>10)+55296,code%1024+56320))}return res.join("")}})},{"./$.def":43,"./$.to-index":97}],184:[function(require,module,exports){"use strict";var $def=require("./$.def"),context=require("./$.string-context");$def($def.P,"String",{includes:function includes(searchString){return!!~context(this,searchString,"includes").indexOf(searchString,arguments[1])}})},{"./$.def":43,"./$.string-context":90}],185:[function(require,module,exports){"use strict";var $at=require("./$.string-at")(true);require("./$.iter-define")(String,"String",function(iterated){this._t=String(iterated);this._i=0},function(){var O=this._t,index=this._i,point;if(index>=O.length)return{value:undefined,done:true};point=$at(O,index);this._i+=point.length;return{value:point,done:false}})},{"./$.iter-define":65,"./$.string-at":89}],186:[function(require,module,exports){var $def=require("./$.def"),toIObject=require("./$.to-iobject"),toLength=require("./$.to-length");$def($def.S,"String",{raw:function raw(callSite){var tpl=toIObject(callSite.raw),len=toLength(tpl.length),sln=arguments.length,res=[],i=0;while(len>i){res.push(String(tpl[i++]));if(i<sln)res.push(String(arguments[i]))}return res.join("")}})},{"./$.def":43,"./$.to-iobject":99,"./$.to-length":100}],187:[function(require,module,exports){var $def=require("./$.def");$def($def.P,"String",{repeat:require("./$.string-repeat")})},{"./$.def":43,"./$.string-repeat":92}],188:[function(require,module,exports){"use strict";var $def=require("./$.def"),toLength=require("./$.to-length"),context=require("./$.string-context");$def($def.P+$def.F*!require("./$.fails")(function(){"q".startsWith(/./)}),"String",{startsWith:function startsWith(searchString){var that=context(this,searchString,"startsWith"),index=toLength(Math.min(arguments[1],that.length)),search=String(searchString);return that.slice(index,index+search.length)===search}})},{"./$.def":43,"./$.fails":48,"./$.string-context":90,"./$.to-length":100}],189:[function(require,module,exports){"use strict";require("./$.string-trim")("trim",function($trim){return function trim(){return $trim(this,3)}})},{"./$.string-trim":93}],190:[function(require,module,exports){"use strict";var $=require("./$"),global=require("./$.global"),has=require("./$.has"),SUPPORT_DESC=require("./$.support-desc"),$def=require("./$.def"),$redef=require("./$.redef"),shared=require("./$.shared"),setTag=require("./$.tag"),uid=require("./$.uid"),wks=require("./$.wks"),keyOf=require("./$.keyof"),$names=require("./$.get-names"),enumKeys=require("./$.enum-keys"),anObject=require("./$.an-object"),toIObject=require("./$.to-iobject"),createDesc=require("./$.property-desc"),getDesc=$.getDesc,setDesc=$.setDesc,$create=$.create,getNames=$names.get,$Symbol=global.Symbol,setter=false,HIDDEN=wks("_hidden"),isEnum=$.isEnum,SymbolRegistry=shared("symbol-registry"),AllSymbols=shared("symbols"),useNative=typeof $Symbol=="function",ObjectProto=Object.prototype;var setSymbolDesc=SUPPORT_DESC?function(){try{return $create(setDesc({},HIDDEN,{get:function(){return setDesc(this,HIDDEN,{value:false})[HIDDEN]}}))[HIDDEN]||setDesc}catch(e){return function(it,key,D){var protoDesc=getDesc(ObjectProto,key);if(protoDesc)delete ObjectProto[key];setDesc(it,key,D);if(protoDesc&&it!==ObjectProto)setDesc(ObjectProto,key,protoDesc)}}}():setDesc;var wrap=function(tag){var sym=AllSymbols[tag]=$create($Symbol.prototype);sym._k=tag;SUPPORT_DESC&&setter&&setSymbolDesc(ObjectProto,tag,{configurable:true,set:function(value){if(has(this,HIDDEN)&&has(this[HIDDEN],tag))this[HIDDEN][tag]=false;setSymbolDesc(this,tag,createDesc(1,value))}});return sym};function defineProperty(it,key,D){if(D&&has(AllSymbols,key)){if(!D.enumerable){if(!has(it,HIDDEN))setDesc(it,HIDDEN,createDesc(1,{}));it[HIDDEN][key]=true}else{if(has(it,HIDDEN)&&it[HIDDEN][key])it[HIDDEN][key]=false;D=$create(D,{enumerable:createDesc(0,false)})}return setSymbolDesc(it,key,D)}return setDesc(it,key,D)}function defineProperties(it,P){anObject(it);var keys=enumKeys(P=toIObject(P)),i=0,l=keys.length,key;while(l>i)defineProperty(it,key=keys[i++],P[key]);return it}function create(it,P){return P===undefined?$create(it):defineProperties($create(it),P)}function propertyIsEnumerable(key){var E=isEnum.call(this,key);return E||!has(this,key)||!has(AllSymbols,key)||has(this,HIDDEN)&&this[HIDDEN][key]?E:true}function getOwnPropertyDescriptor(it,key){var D=getDesc(it=toIObject(it),key);if(D&&has(AllSymbols,key)&&!(has(it,HIDDEN)&&it[HIDDEN][key]))D.enumerable=true;return D}function getOwnPropertyNames(it){var names=getNames(toIObject(it)),result=[],i=0,key;while(names.length>i)if(!has(AllSymbols,key=names[i++])&&key!=HIDDEN)result.push(key);return result}function getOwnPropertySymbols(it){var names=getNames(toIObject(it)),result=[],i=0,key;while(names.length>i)if(has(AllSymbols,key=names[i++]))result.push(AllSymbols[key]);return result}if(!useNative){$Symbol=function Symbol(){if(this instanceof $Symbol)throw TypeError("Symbol is not a constructor");return wrap(uid(arguments[0]))};$redef($Symbol.prototype,"toString",function(){return this._k});$.create=create;$.isEnum=propertyIsEnumerable;$.getDesc=getOwnPropertyDescriptor;$.setDesc=defineProperty;$.setDescs=defineProperties;$.getNames=$names.get=getOwnPropertyNames;$.getSymbols=getOwnPropertySymbols;if(SUPPORT_DESC&&!require("./$.library")){$redef(ObjectProto,"propertyIsEnumerable",propertyIsEnumerable,true)}}var symbolStatics={"for":function(key){return has(SymbolRegistry,key+="")?SymbolRegistry[key]:SymbolRegistry[key]=$Symbol(key)},keyFor:function keyFor(key){return keyOf(SymbolRegistry,key)},useSetter:function(){setter=true},useSimple:function(){setter=false}};$.each.call(("hasInstance,isConcatSpreadable,iterator,match,replace,search,"+"species,split,toPrimitive,toStringTag,unscopables").split(","),function(it){var sym=wks(it);symbolStatics[it]=useNative?sym:wrap(sym)});setter=true;$def($def.G+$def.W,{Symbol:$Symbol});$def($def.S,"Symbol",symbolStatics);$def($def.S+$def.F*!useNative,"Object",{create:create,defineProperty:defineProperty,defineProperties:defineProperties,getOwnPropertyDescriptor:getOwnPropertyDescriptor,getOwnPropertyNames:getOwnPropertyNames,getOwnPropertySymbols:getOwnPropertySymbols});setTag($Symbol,"Symbol");setTag(Math,"Math",true);setTag(global.JSON,"JSON",true)},{"./$":69,"./$.an-object":31,"./$.def":43,"./$.enum-keys":46,"./$.get-names":52,"./$.global":53,"./$.has":54,"./$.keyof":70,"./$.library":71,"./$.property-desc":80,"./$.redef":81,"./$.shared":85,"./$.support-desc":94,"./$.tag":95,"./$.to-iobject":99,"./$.uid":102,"./$.wks":104}],191:[function(require,module,exports){"use strict";var $=require("./$"),weak=require("./$.collection-weak"),isObject=require("./$.is-object"),has=require("./$.has"),frozenStore=weak.frozenStore,WEAK=weak.WEAK,isExtensible=Object.isExtensible||isObject,tmp={};var $WeakMap=require("./$.collection")("WeakMap",function(get){return function WeakMap(){return get(this,arguments[0])}},{get:function get(key){if(isObject(key)){if(!isExtensible(key))return frozenStore(this).get(key);if(has(key,WEAK))return key[WEAK][this._i]}},set:function set(key,value){return weak.def(this,key,value)}},weak,true,true);if((new $WeakMap).set((Object.freeze||Object)(tmp),7).get(tmp)!=7){$.each.call(["delete","has","get","set"],function(key){var proto=$WeakMap.prototype,method=proto[key];require("./$.redef")(proto,key,function(a,b){if(isObject(a)&&!isExtensible(a)){var result=frozenStore(this)[key](a,b);return key=="set"?this:result}return method.call(this,a,b)})})}},{"./$":69,"./$.collection":40,"./$.collection-weak":39,"./$.has":54,"./$.is-object":61,"./$.redef":81}],192:[function(require,module,exports){"use strict";var weak=require("./$.collection-weak");require("./$.collection")("WeakSet",function(get){return function WeakSet(){return get(this,arguments[0])}},{add:function add(value){return weak.def(this,value,true)}},weak,false,true)},{"./$.collection":40,"./$.collection-weak":39}],193:[function(require,module,exports){"use strict";var $def=require("./$.def"),$includes=require("./$.array-includes")(true);$def($def.P,"Array",{includes:function includes(el){return $includes(this,el,arguments[1])}});require("./$.unscope")("includes")},{"./$.array-includes":32,"./$.def":43,"./$.unscope":103}],194:[function(require,module,exports){var $def=require("./$.def");$def($def.P,"Map",{toJSON:require("./$.collection-to-json")("Map")})},{"./$.collection-to-json":38,"./$.def":43}],195:[function(require,module,exports){var $def=require("./$.def"),$entries=require("./$.object-to-array")(true);$def($def.S,"Object",{entries:function entries(it){return $entries(it)}})},{"./$.def":43,"./$.object-to-array":76}],196:[function(require,module,exports){var $=require("./$"),$def=require("./$.def"),ownKeys=require("./$.own-keys"),toIObject=require("./$.to-iobject"),createDesc=require("./$.property-desc");$def($def.S,"Object",{getOwnPropertyDescriptors:function getOwnPropertyDescriptors(object){var O=toIObject(object),setDesc=$.setDesc,getDesc=$.getDesc,keys=ownKeys(O),result={},i=0,key,D;while(keys.length>i){D=getDesc(O,key=keys[i++]);if(key in result)setDesc(result,key,createDesc(0,D));else result[key]=D}return result}})},{"./$":69,"./$.def":43,"./$.own-keys":77,"./$.property-desc":80,"./$.to-iobject":99}],197:[function(require,module,exports){var $def=require("./$.def"),$values=require("./$.object-to-array")(false);$def($def.S,"Object",{values:function values(it){return $values(it)}})},{"./$.def":43,"./$.object-to-array":76}],198:[function(require,module,exports){var $def=require("./$.def"),$re=require("./$.replacer")(/[\\^$*+?.()|[\]{}]/g,"\\$&");$def($def.S,"RegExp",{escape:function escape(it){return $re(it)}})},{"./$.def":43,"./$.replacer":82}],199:[function(require,module,exports){var $def=require("./$.def");$def($def.P,"Set",{toJSON:require("./$.collection-to-json")("Set")})},{"./$.collection-to-json":38,"./$.def":43}],200:[function(require,module,exports){"use strict";var $def=require("./$.def"),$at=require("./$.string-at")(true);$def($def.P,"String",{at:function at(pos){return $at(this,pos)}})},{"./$.def":43,"./$.string-at":89}],201:[function(require,module,exports){"use strict";var $def=require("./$.def"),$pad=require("./$.string-pad");$def($def.P,"String",{padLeft:function padLeft(maxLength){return $pad(this,maxLength,arguments[1],true)}})},{"./$.def":43,"./$.string-pad":91}],202:[function(require,module,exports){"use strict";var $def=require("./$.def"),$pad=require("./$.string-pad");$def($def.P,"String",{padRight:function padRight(maxLength){return $pad(this,maxLength,arguments[1],false)}})},{"./$.def":43,"./$.string-pad":91}],203:[function(require,module,exports){"use strict";require("./$.string-trim")("trimLeft",function($trim){return function trimLeft(){return $trim(this,1)}})},{"./$.string-trim":93}],204:[function(require,module,exports){"use strict";require("./$.string-trim")("trimRight",function($trim){return function trimRight(){return $trim(this,2)}})},{"./$.string-trim":93}],205:[function(require,module,exports){var $=require("./$"),$def=require("./$.def"),$Array=require("./$.core").Array||Array,statics={};var setStatics=function(keys,length){$.each.call(keys.split(","),function(key){if(length==undefined&&key in $Array)statics[key]=$Array[key];else if(key in[])statics[key]=require("./$.ctx")(Function.call,[][key],length)})};setStatics("pop,reverse,shift,keys,values,entries",1);setStatics("indexOf,every,some,forEach,map,filter,find,findIndex,includes",3);setStatics("join,slice,concat,push,splice,unshift,sort,lastIndexOf,"+"reduce,reduceRight,copyWithin,fill");$def($def.S,"Array",statics)},{"./$":69,"./$.core":41,"./$.ctx":42,"./$.def":43}],206:[function(require,module,exports){require("./es6.array.iterator");var global=require("./$.global"),hide=require("./$.hide"),Iterators=require("./$.iterators"),ITERATOR=require("./$.wks")("iterator"),NL=global.NodeList,HTC=global.HTMLCollection,NLProto=NL&&NL.prototype,HTCProto=HTC&&HTC.prototype,ArrayValues=Iterators.NodeList=Iterators.HTMLCollection=Iterators.Array;if(NL&&!(ITERATOR in NLProto))hide(NLProto,ITERATOR,ArrayValues);if(HTC&&!(ITERATOR in HTCProto))hide(HTCProto,ITERATOR,ArrayValues)},{"./$.global":53,"./$.hide":55,"./$.iterators":68,"./$.wks":104,"./es6.array.iterator":112}],207:[function(require,module,exports){var $def=require("./$.def"),$task=require("./$.task");$def($def.G+$def.B,{setImmediate:$task.set,clearImmediate:$task.clear})},{"./$.def":43,"./$.task":96}],208:[function(require,module,exports){var global=require("./$.global"),$def=require("./$.def"),invoke=require("./$.invoke"),partial=require("./$.partial"),navigator=global.navigator,MSIE=!!navigator&&/MSIE .\./.test(navigator.userAgent);var wrap=function(set){return MSIE?function(fn,time){return set(invoke(partial,[].slice.call(arguments,2),typeof fn=="function"?fn:Function(fn)),time)}:set};$def($def.G+$def.B+$def.F*MSIE,{setTimeout:wrap(global.setTimeout),setInterval:wrap(global.setInterval)})},{"./$.def":43,"./$.global":53,"./$.invoke":57,"./$.partial":78}],209:[function(require,module,exports){require("./modules/es5");require("./modules/es6.symbol");require("./modules/es6.object.assign");require("./modules/es6.object.is");require("./modules/es6.object.set-prototype-of");require("./modules/es6.object.to-string");require("./modules/es6.object.freeze");require("./modules/es6.object.seal");require("./modules/es6.object.prevent-extensions");require("./modules/es6.object.is-frozen");require("./modules/es6.object.is-sealed");require("./modules/es6.object.is-extensible");require("./modules/es6.object.get-own-property-descriptor");require("./modules/es6.object.get-prototype-of");require("./modules/es6.object.keys");require("./modules/es6.object.get-own-property-names");require("./modules/es6.function.name");require("./modules/es6.function.has-instance");require("./modules/es6.number.constructor");require("./modules/es6.number.epsilon");require("./modules/es6.number.is-finite");require("./modules/es6.number.is-integer");require("./modules/es6.number.is-nan");require("./modules/es6.number.is-safe-integer");require("./modules/es6.number.max-safe-integer");require("./modules/es6.number.min-safe-integer");require("./modules/es6.number.parse-float");require("./modules/es6.number.parse-int");require("./modules/es6.math.acosh");require("./modules/es6.math.asinh");require("./modules/es6.math.atanh");require("./modules/es6.math.cbrt");require("./modules/es6.math.clz32");require("./modules/es6.math.cosh");require("./modules/es6.math.expm1");require("./modules/es6.math.fround");require("./modules/es6.math.hypot");require("./modules/es6.math.imul");require("./modules/es6.math.log10");require("./modules/es6.math.log1p");require("./modules/es6.math.log2");require("./modules/es6.math.sign");

require("./modules/es6.math.sinh");require("./modules/es6.math.tanh");require("./modules/es6.math.trunc");require("./modules/es6.string.from-code-point");require("./modules/es6.string.raw");require("./modules/es6.string.trim");require("./modules/es6.string.iterator");require("./modules/es6.string.code-point-at");require("./modules/es6.string.ends-with");require("./modules/es6.string.includes");require("./modules/es6.string.repeat");require("./modules/es6.string.starts-with");require("./modules/es6.array.from");require("./modules/es6.array.of");require("./modules/es6.array.iterator");require("./modules/es6.array.species");require("./modules/es6.array.copy-within");require("./modules/es6.array.fill");require("./modules/es6.array.find");require("./modules/es6.array.find-index");require("./modules/es6.regexp.constructor");require("./modules/es6.regexp.flags");require("./modules/es6.regexp.match");require("./modules/es6.regexp.replace");require("./modules/es6.regexp.search");require("./modules/es6.regexp.split");require("./modules/es6.promise");require("./modules/es6.map");require("./modules/es6.set");require("./modules/es6.weak-map");require("./modules/es6.weak-set");require("./modules/es6.reflect.apply");require("./modules/es6.reflect.construct");require("./modules/es6.reflect.define-property");require("./modules/es6.reflect.delete-property");require("./modules/es6.reflect.enumerate");require("./modules/es6.reflect.get");require("./modules/es6.reflect.get-own-property-descriptor");require("./modules/es6.reflect.get-prototype-of");require("./modules/es6.reflect.has");require("./modules/es6.reflect.is-extensible");require("./modules/es6.reflect.own-keys");require("./modules/es6.reflect.prevent-extensions");require("./modules/es6.reflect.set");require("./modules/es6.reflect.set-prototype-of");require("./modules/es7.array.includes");require("./modules/es7.string.at");require("./modules/es7.string.pad-left");require("./modules/es7.string.pad-right");require("./modules/es7.string.trim-left");require("./modules/es7.string.trim-right");require("./modules/es7.regexp.escape");require("./modules/es7.object.get-own-property-descriptors");require("./modules/es7.object.values");require("./modules/es7.object.entries");require("./modules/es7.map.to-json");require("./modules/es7.set.to-json");require("./modules/js.array.statics");require("./modules/web.timers");require("./modules/web.immediate");require("./modules/web.dom.iterable");module.exports=require("./modules/$.core")},{"./modules/$.core":41,"./modules/es5":106,"./modules/es6.array.copy-within":107,"./modules/es6.array.fill":108,"./modules/es6.array.find":110,"./modules/es6.array.find-index":109,"./modules/es6.array.from":111,"./modules/es6.array.iterator":112,"./modules/es6.array.of":113,"./modules/es6.array.species":114,"./modules/es6.function.has-instance":115,"./modules/es6.function.name":116,"./modules/es6.map":117,"./modules/es6.math.acosh":118,"./modules/es6.math.asinh":119,"./modules/es6.math.atanh":120,"./modules/es6.math.cbrt":121,"./modules/es6.math.clz32":122,"./modules/es6.math.cosh":123,"./modules/es6.math.expm1":124,"./modules/es6.math.fround":125,"./modules/es6.math.hypot":126,"./modules/es6.math.imul":127,"./modules/es6.math.log10":128,"./modules/es6.math.log1p":129,"./modules/es6.math.log2":130,"./modules/es6.math.sign":131,"./modules/es6.math.sinh":132,"./modules/es6.math.tanh":133,"./modules/es6.math.trunc":134,"./modules/es6.number.constructor":135,"./modules/es6.number.epsilon":136,"./modules/es6.number.is-finite":137,"./modules/es6.number.is-integer":138,"./modules/es6.number.is-nan":139,"./modules/es6.number.is-safe-integer":140,"./modules/es6.number.max-safe-integer":141,"./modules/es6.number.min-safe-integer":142,"./modules/es6.number.parse-float":143,"./modules/es6.number.parse-int":144,"./modules/es6.object.assign":145,"./modules/es6.object.freeze":146,"./modules/es6.object.get-own-property-descriptor":147,"./modules/es6.object.get-own-property-names":148,"./modules/es6.object.get-prototype-of":149,"./modules/es6.object.is":153,"./modules/es6.object.is-extensible":150,"./modules/es6.object.is-frozen":151,"./modules/es6.object.is-sealed":152,"./modules/es6.object.keys":154,"./modules/es6.object.prevent-extensions":155,"./modules/es6.object.seal":156,"./modules/es6.object.set-prototype-of":157,"./modules/es6.object.to-string":158,"./modules/es6.promise":159,"./modules/es6.reflect.apply":160,"./modules/es6.reflect.construct":161,"./modules/es6.reflect.define-property":162,"./modules/es6.reflect.delete-property":163,"./modules/es6.reflect.enumerate":164,"./modules/es6.reflect.get":167,"./modules/es6.reflect.get-own-property-descriptor":165,"./modules/es6.reflect.get-prototype-of":166,"./modules/es6.reflect.has":168,"./modules/es6.reflect.is-extensible":169,"./modules/es6.reflect.own-keys":170,"./modules/es6.reflect.prevent-extensions":171,"./modules/es6.reflect.set":173,"./modules/es6.reflect.set-prototype-of":172,"./modules/es6.regexp.constructor":174,"./modules/es6.regexp.flags":175,"./modules/es6.regexp.match":176,"./modules/es6.regexp.replace":177,"./modules/es6.regexp.search":178,"./modules/es6.regexp.split":179,"./modules/es6.set":180,"./modules/es6.string.code-point-at":181,"./modules/es6.string.ends-with":182,"./modules/es6.string.from-code-point":183,"./modules/es6.string.includes":184,"./modules/es6.string.iterator":185,"./modules/es6.string.raw":186,"./modules/es6.string.repeat":187,"./modules/es6.string.starts-with":188,"./modules/es6.string.trim":189,"./modules/es6.symbol":190,"./modules/es6.weak-map":191,"./modules/es6.weak-set":192,"./modules/es7.array.includes":193,"./modules/es7.map.to-json":194,"./modules/es7.object.entries":195,"./modules/es7.object.get-own-property-descriptors":196,"./modules/es7.object.values":197,"./modules/es7.regexp.escape":198,"./modules/es7.set.to-json":199,"./modules/es7.string.at":200,"./modules/es7.string.pad-left":201,"./modules/es7.string.pad-right":202,"./modules/es7.string.trim-left":203,"./modules/es7.string.trim-right":204,"./modules/js.array.statics":205,"./modules/web.dom.iterable":206,"./modules/web.immediate":207,"./modules/web.timers":208}],210:[function(require,module,exports){arguments[4][2][0].apply(exports,arguments)},{dup:2}],211:[function(require,module,exports){"use strict";var foldl=require("fj-fold").foldl;var _flatten=function(list){return foldl([])(function(prev,curr){return prev.concat(Array.isArray(curr)?_flatten(curr):curr)})(list)};module.exports=_flatten},{"fj-fold":212}],212:[function(require,module,exports){"use strict";var curry3=require("fj-curry").curry3;var _foldl=function(initial,combinator,list){return list.reduce(combinator,initial)};var _foldr=function(initial,combinator,list){return _foldl(initial,combinator,list.reverse())};var foldl=exports.foldl=curry3(_foldl);var foldr=exports.foldr=curry3(_foldr);var reduce=exports.reduce=foldl;var reduceRight=exports.reduceRight=foldr;Object.defineProperty(exports,"__esModule",{value:true})},{"fj-curry":210}],213:[function(require,module,exports){"use strict";var curry2=require("fj-curry").curry2;var _prepend=function(parent,child){return parent.insertBefore(child,parent.firstChild)};module.exports=curry2(_prepend)},{"fj-curry":214}],214:[function(require,module,exports){arguments[4][2][0].apply(exports,arguments)},{dup:2}],215:[function(require,module,exports){"use strict";var curry3=require("fj-curry").curry3;var _replace=function(parentNode,newChild,oldChild){console.log("pn",oldChild);parentNode.replaceChild(newChild,oldChild)};module.exports=curry3(_replace)},{"fj-curry":216}],216:[function(require,module,exports){arguments[4][2][0].apply(exports,arguments)},{dup:2}],217:[function(require,module,exports){"use strict";var _interopRequire=function(obj){return obj&&obj.__esModule?obj["default"]:obj};var curry4=require("fj-curry").curry4;var isDom=_interopRequire(require("fd-isdom"));var cond=_interopRequire(require("fj-cond"));var always=_interopRequire(require("fj-always"));var and=_interopRequire(require("fj-and"));var typeOf=_interopRequire(require("fj-typeof"));var ELSE=always(true);var isString=typeOf("string");function toArray(arr){return Array.prototype.slice.call(arr)}function identity(arr){return arr}function wrongType(){throw new TypeError}function queryAll(dom,selector){return dom.querySelectorAll(selector)}function queryOne(dom,selector){return dom.querySelector(selector)}function _select(queryFn,wrap,dom,selector){return cond([[isString,function(){return wrap(queryFn(document,dom))}],[and(isDom(),function(){return!!selector}),function(){return wrap(queryFn(dom,selector))}],[isDom(),function(){return curry4(_select)(queryFn)(wrap)(dom)}],[ELSE,wrongType]])(dom)}var select=exports.select=function(dom,selector){return _select(queryAll,toArray,dom,selector)};var selectOne=exports.selectOne=function(dom,selector){return _select(queryOne,identity,dom,selector)};Object.defineProperty(exports,"__esModule",{value:true})},{"fd-isdom":17,"fj-always":218,"fj-and":219,"fj-cond":220,"fj-curry":221,"fj-typeof":222}],218:[function(require,module,exports){"use strict";module.exports=always;function always(arg){return function(){return arg}}},{}],219:[function(require,module,exports){"use strict";var curry2=require("fj-curry").curry2;function _and(x,y){return function(){for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key]}return x.apply(null,args)&&y.apply(null,args)}}var and=curry2(_and);module.exports=and},{"fj-curry":221}],220:[function(require,module,exports){"use strict";module.exports=function(conditions){return function(){for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key]}for(var _iterator=conditions,_isArray=Array.isArray(_iterator),_i=0,_iterator=_isArray?_iterator:_iterator[Symbol.iterator]();;){var _ref;if(_isArray){if(_i>=_iterator.length)break;_ref=_iterator[_i++]}else{_i=_iterator.next();if(_i.done)break;_ref=_i.value}var condition=_ref;if(condition[0].apply(null,args)===true)return condition[1].apply(null,args)}}}},{}],221:[function(require,module,exports){arguments[4][2][0].apply(exports,arguments)},{dup:2}],222:[function(require,module,exports){arguments[4][21][0].apply(exports,arguments)},{dup:21,"fj-curry":221}],223:[function(require,module,exports){"use strict";var curry3=require("fj-curry").curry3;var _setAttr=function(name,value,elem){return elem.setAttribute(name,value)};module.exports=curry3(_setAttr)},{"fj-curry":224}],224:[function(require,module,exports){arguments[4][2][0].apply(exports,arguments)},{dup:2}],225:[function(require,module,exports){"use strict";var curry2=require("fj-curry").curry2;var timeout=function(duration,func){return window.setTimeout(func,duration)};module.exports=curry2(timeout)},{"fj-curry":226}],226:[function(require,module,exports){arguments[4][2][0].apply(exports,arguments)},{dup:2}],227:[function(require,module,exports){"use strict";var _interopRequire=function(obj){return obj&&obj.__esModule?obj["default"]:obj};var curry3=require("fj-curry").curry3;var h=_interopRequire(require("virtual-dom/h"));module.exports=curry3(h)},{"fj-curry":228,"virtual-dom/h":229}],228:[function(require,module,exports){arguments[4][2][0].apply(exports,arguments)},{dup:2}],229:[function(require,module,exports){var h=require("./virtual-hyperscript/index.js");module.exports=h},{"./virtual-hyperscript/index.js":237}],230:[function(require,module,exports){module.exports=function split(undef){var nativeSplit=String.prototype.split,compliantExecNpcg=/()??/.exec("")[1]===undef,self;self=function(str,separator,limit){if(Object.prototype.toString.call(separator)!=="[object RegExp]"){return nativeSplit.call(str,separator,limit)}var output=[],flags=(separator.ignoreCase?"i":"")+(separator.multiline?"m":"")+(separator.extended?"x":"")+(separator.sticky?"y":""),lastLastIndex=0,separator=new RegExp(separator.source,flags+"g"),separator2,match,lastIndex,lastLength;str+="";if(!compliantExecNpcg){separator2=new RegExp("^"+separator.source+"$(?!\\s)",flags)}limit=limit===undef?-1>>>0:limit>>>0;while(match=separator.exec(str)){lastIndex=match.index+match[0].length;if(lastIndex>lastLastIndex){output.push(str.slice(lastLastIndex,match.index));if(!compliantExecNpcg&&match.length>1){match[0].replace(separator2,function(){for(var i=1;i<arguments.length-2;i++){if(arguments[i]===undef){match[i]=undef}}})}if(match.length>1&&match.index<str.length){Array.prototype.push.apply(output,match.slice(1))}lastLength=match[0].length;lastLastIndex=lastIndex;if(output.length>=limit){break}}if(separator.lastIndex===match.index){separator.lastIndex++}}if(lastLastIndex===str.length){if(lastLength||!separator.test("")){output.push("")}}else{output.push(str.slice(lastLastIndex))}return output.length>limit?output.slice(0,limit):output};return self}()},{}],231:[function(require,module,exports){"use strict";var OneVersionConstraint=require("individual/one-version");var MY_VERSION="7";OneVersionConstraint("ev-store",MY_VERSION);var hashKey="__EV_STORE_KEY@"+MY_VERSION;module.exports=EvStore;function EvStore(elem){var hash=elem[hashKey];if(!hash){hash=elem[hashKey]={}}return hash}},{"individual/one-version":233}],232:[function(require,module,exports){(function(global){"use strict";var root=typeof window!=="undefined"?window:typeof global!=="undefined"?global:{};module.exports=Individual;function Individual(key,value){if(key in root){return root[key]}root[key]=value;return value}}).call(this,typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{}],233:[function(require,module,exports){"use strict";var Individual=require("./index.js");module.exports=OneVersion;function OneVersion(moduleName,version,defaultValue){var key="__INDIVIDUAL_ONE_VERSION_"+moduleName;var enforceKey=key+"_ENFORCE_SINGLETON";var versionValue=Individual(enforceKey,version);if(versionValue!==version){throw new Error("Can only have one copy of "+moduleName+".\n"+"You already have version "+versionValue+" installed.\n"+"This means you cannot install version "+version)}return Individual(key,defaultValue)}},{"./index.js":232}],234:[function(require,module,exports){var nativeIsArray=Array.isArray;var toString=Object.prototype.toString;module.exports=nativeIsArray||isArray;function isArray(obj){return toString.call(obj)==="[object Array]"}},{}],235:[function(require,module,exports){"use strict";var EvStore=require("ev-store");module.exports=EvHook;function EvHook(value){if(!(this instanceof EvHook)){return new EvHook(value)}this.value=value}EvHook.prototype.hook=function(node,propertyName){var es=EvStore(node);var propName=propertyName.substr(3);es[propName]=this.value};EvHook.prototype.unhook=function(node,propertyName){var es=EvStore(node);var propName=propertyName.substr(3);es[propName]=undefined}},{"ev-store":231}],236:[function(require,module,exports){"use strict";module.exports=SoftSetHook;function SoftSetHook(value){if(!(this instanceof SoftSetHook)){return new SoftSetHook(value)}this.value=value}SoftSetHook.prototype.hook=function(node,propertyName){if(node[propertyName]!==this.value){node[propertyName]=this.value}}},{}],237:[function(require,module,exports){"use strict";var isArray=require("x-is-array");var VNode=require("../vnode/vnode.js");var VText=require("../vnode/vtext.js");var isVNode=require("../vnode/is-vnode");var isVText=require("../vnode/is-vtext");var isWidget=require("../vnode/is-widget");var isHook=require("../vnode/is-vhook");var isVThunk=require("../vnode/is-thunk");var parseTag=require("./parse-tag.js");var softSetHook=require("./hooks/soft-set-hook.js");var evHook=require("./hooks/ev-hook.js");module.exports=h;function h(tagName,properties,children){var childNodes=[];var tag,props,key,namespace;if(!children&&isChildren(properties)){children=properties;props={}}props=props||properties||{};tag=parseTag(tagName,props);if(props.hasOwnProperty("key")){key=props.key;props.key=undefined}if(props.hasOwnProperty("namespace")){namespace=props.namespace;props.namespace=undefined}if(tag==="INPUT"&&!namespace&&props.hasOwnProperty("value")&&props.value!==undefined&&!isHook(props.value)){props.value=softSetHook(props.value)}transformProperties(props);if(children!==undefined&&children!==null){addChild(children,childNodes,tag,props)}return new VNode(tag,props,childNodes,key,namespace)}function addChild(c,childNodes,tag,props){if(typeof c==="string"){childNodes.push(new VText(c))}else if(typeof c==="number"){childNodes.push(new VText(String(c)))}else if(isChild(c)){childNodes.push(c)}else if(isArray(c)){for(var i=0;i<c.length;i++){addChild(c[i],childNodes,tag,props)}}else if(c===null||c===undefined){return}else{throw UnexpectedVirtualElement({foreignObject:c,parentVnode:{tagName:tag,properties:props}})}}function transformProperties(props){for(var propName in props){if(props.hasOwnProperty(propName)){var value=props[propName];if(isHook(value)){continue}if(propName.substr(0,3)==="ev-"){props[propName]=evHook(value)}}}}function isChild(x){return isVNode(x)||isVText(x)||isWidget(x)||isVThunk(x)}function isChildren(x){return typeof x==="string"||isArray(x)||isChild(x)}function UnexpectedVirtualElement(data){var err=new Error;err.type="virtual-hyperscript.unexpected.virtual-element";err.message="Unexpected virtual child passed to h().\n"+"Expected a VNode / Vthunk / VWidget / string but:\n"+"got:\n"+errorString(data.foreignObject)+".\n"+"The parent vnode is:\n"+errorString(data.parentVnode);"\n"+"Suggested fix: change your `h(..., [ ... ])` callsite.";err.foreignObject=data.foreignObject;err.parentVnode=data.parentVnode;return err}function errorString(obj){try{return JSON.stringify(obj,null,"    ")}catch(e){return String(obj)}}},{"../vnode/is-thunk":239,"../vnode/is-vhook":240,"../vnode/is-vnode":241,"../vnode/is-vtext":242,"../vnode/is-widget":243,"../vnode/vnode.js":245,"../vnode/vtext.js":246,"./hooks/ev-hook.js":235,"./hooks/soft-set-hook.js":236,"./parse-tag.js":238,"x-is-array":234}],238:[function(require,module,exports){"use strict";var split=require("browser-split");var classIdSplit=/([\.#]?[a-zA-Z0-9\u007F-\uFFFF_:-]+)/;var notClassId=/^\.|#/;module.exports=parseTag;function parseTag(tag,props){if(!tag){return"DIV"}var noId=!props.hasOwnProperty("id");var tagParts=split(tag,classIdSplit);var tagName=null;if(notClassId.test(tagParts[1])){tagName="DIV"}var classes,part,type,i;for(i=0;i<tagParts.length;i++){part=tagParts[i];if(!part){continue}type=part.charAt(0);if(!tagName){tagName=part}else if(type==="."){classes=classes||[];classes.push(part.substring(1,part.length))}else if(type==="#"&&noId){props.id=part.substring(1,part.length)}}if(classes){if(props.className){classes.push(props.className)}props.className=classes.join(" ")}return props.namespace?tagName:tagName.toUpperCase()}},{"browser-split":230}],239:[function(require,module,exports){arguments[4][22][0].apply(exports,arguments)},{dup:22}],240:[function(require,module,exports){arguments[4][23][0].apply(exports,arguments)},{dup:23}],241:[function(require,module,exports){arguments[4][24][0].apply(exports,arguments)},{"./version":244,dup:24}],242:[function(require,module,exports){var version=require("./version");module.exports=isVirtualText;function isVirtualText(x){return x&&x.type==="VirtualText"&&x.version===version}},{"./version":244}],243:[function(require,module,exports){arguments[4][25][0].apply(exports,arguments)},{dup:25}],244:[function(require,module,exports){arguments[4][26][0].apply(exports,arguments)},{dup:26}],245:[function(require,module,exports){arguments[4][27][0].apply(exports,arguments)},{"./is-thunk":239,"./is-vhook":240,"./is-vnode":241,"./is-widget":243,"./version":244,dup:27}],246:[function(require,module,exports){arguments[4][28][0].apply(exports,arguments)},{"./version":244,dup:28}],"fp-dom":[function(require,module,exports){"use strict";exports.__esModule=true;function _interopRequire(obj){return obj&&obj.__esModule?obj["default"]:obj}var _fdAnimate=require("fd-animate");exports.animate=_interopRequire(_fdAnimate);var _fdAppend=require("fd-append");exports.append=_interopRequire(_fdAppend);var _fdClass=require("fd-class");exports.addClass=_fdClass.addClass;exports.removeClass=_fdClass.removeClass;exports.toggleClass=_fdClass.toggleClass;exports.hasClass=_fdClass.hasClass;var _fdContains=require("fd-contains");exports.contains=_interopRequire(_fdContains);var _fdElem=require("fd-elem");exports.elem=_interopRequire(_fdElem);var _fdInsertAfter=require("fd-insert-after");exports.insertAfter=_interopRequire(_fdInsertAfter);var _fdInsertBefore=require("fd-insert-before");exports.insertBefore=_interopRequire(_fdInsertBefore);var _fdInterval=require("fd-interval");exports.interval=_interopRequire(_fdInterval);var _fdIsdom=require("fd-isdom");exports.isdom=_interopRequire(_fdIsdom);var _fdIsvdom=require("fd-isvdom");exports.isvdom=_interopRequire(_fdIsvdom);var _fdListen=require("fd-listen");exports.listen=_interopRequire(_fdListen);var _fdPrepend=require("fd-prepend");exports.prepend=_interopRequire(_fdPrepend);var _fdReplace=require("fd-replace");exports.replace=_interopRequire(_fdReplace);var _fdSelect=require("fd-select");exports.select=_fdSelect.select;exports.selectOne=_fdSelect.selectOne;var _fdSetattr=require("fd-setattr");exports.setattr=_interopRequire(_fdSetattr);var _fdTimeout=require("fd-timeout");exports.timeout=_interopRequire(_fdTimeout);var _fdVelem=require("fd-velem");exports.velem=_interopRequire(_fdVelem)},{"fd-animate":1,"fd-append":3,"fd-class":5,"fd-contains":7,"fd-elem":9,"fd-insert-after":11,"fd-insert-before":13,"fd-interval":15,"fd-isdom":17,"fd-isvdom":19,"fd-listen":29,"fd-prepend":213,"fd-replace":215,"fd-select":217,"fd-setattr":223,"fd-timeout":225,"fd-velem":227}]},{},[]);var fpdom=require("fp-dom");var listen=require("fp-dom").listen;var selectOne=fpdom.selectOne;var times=0;var foo=selectOne(document,".foo");var onClick=listen("click");var onClickSetClicked=onClick(function(event){event.target.innerHTML="clicked "+ ++times+" times"});onClickSetClicked(selectOne(".myBtn"));console.log(foo);
var fpdom = require('fp-dom');
var listen = require('fp-dom').listen;
var selectOne = fpdom.selectOne;

var times = 0;

var foo = selectOne(document, '.foo')
var onClick = listen('click');

var onClickSetClicked = onClick(function(event) {
  event.target.innerHTML = 'clicked ' + (++times) + ' times';
});

onClickSetClicked(selectOne('.myBtn'));
console.log(foo);