{"version":3,"sources":["node_modules\\animated\\lib\\AnimatedWithChildren.js"],"names":["_createClass","defineProperties","target","props","i","length","descriptor","enumerable","configurable","writable","Object","defineProperty","key","Constructor","protoProps","staticProps","prototype","_classCallCheck","instance","TypeError","_possibleConstructorReturn","self","call","ReferenceError","_inherits","subClass","superClass","create","constructor","value","setPrototypeOf","__proto__","Animated","require","AnimatedWithChildren","_Animated","_this","getPrototypeOf","_children","__addChild","child","__attach","push","__removeChild","index","indexOf","console","warn","splice","__detach","__getChildren","module","exports"],"mappings":";;;;;;;;;;AAUA,aAAa,GAAIA,cAAa,UAAU,CAAC,QAASC,iBAAT,CAA0BC,MAA1B,CAAiCC,KAAjC,CAAuC,CAAC,IAAI,GAAIC,GAAE,CAAV,CAAYA,EAAED,MAAME,MAApB,CAA2BD,GAA3B,CAA+B,CAAC,GAAIE,YAAWH,MAAMC,CAAN,CAAf,CAAwBE,WAAWC,UAAX,CAAsBD,WAAWC,UAAX,EAAuB,KAA7C,CAAmDD,WAAWE,YAAX,CAAwB,IAAxB,CAA6B,GAAG,SAAUF,WAAb,CAAwBA,WAAWG,QAAX,CAAoB,IAApB,CAAyBC,OAAOC,cAAP,CAAsBT,MAAtB,CAA6BI,WAAWM,GAAxC,CAA4CN,UAA5C,EAAyD,CAAC,OAAO,UAASO,WAAT,CAAqBC,UAArB,CAAgCC,WAAhC,CAA4C,CAAC,GAAGD,UAAH,CAAcb,iBAAiBY,YAAYG,SAA7B,CAAuCF,UAAvC,EAAmD,GAAGC,WAAH,CAAed,iBAAiBY,WAAjB,CAA6BE,WAA7B,EAA0C,MAAOF,YAAP,CAAoB,CAAlM,CAAoM,CAA1e,EAAjB,CAA8f,QAASI,gBAAT,CAAyBC,QAAzB,CAAkCL,WAAlC,CAA8C,CAAC,GAAG,EAAEK,mBAAoBL,YAAtB,CAAH,CAAsC,CAAC,KAAM,IAAIM,UAAJ,CAAc,mCAAd,CAAN,CAA0D,CAAC,SAASC,2BAAT,CAAoCC,IAApC,CAAy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E5DC,KAF4D,CAEtD;AACN,GAAG,KAAKF,SAAL,CAAejC,MAAf,GAAwB,CAA3B,CAA6B;AAC7B,KAAKoC,QAAL;AACC;AACD,KAAKH,SAAL,CAAeI,IAAf,CAAoBF,KAApB;AACC,CAPmC,CAAD,CAOhC,CAAC5B,IAAI,eAAL,CAAqBiB,MAAM,QAASc,cAAT;;AAE9BH,KAF8B,CAExB;AACN,GAAII,OAAM,KAAKN,SAAL,CAAeO,OAAf,CAAuBL,KAAvB,CAAV;AACA,GAAGI,QAAQ,CAAC,CAAZ,CAAc;AACdE,QAAQC,IAAR,CAAa,8CAAb;AACA;AACC;AACD,KAAKT,SAAL,CAAeU,MAAf,CAAsBJ,KAAtB,CAA4B,CAA5B;AACA,GAAG,KAAKN,SAAL,CAAejC,MAAf,GAAwB,CAA3B,CAA6B;AAC7B,KAAK4C,QAAL;AACC;AACA,CAZE,CAPgC,CAmBhC,CAACrC,IAAI,eAAL,CAAqBiB,MAAM,QAASqB,cAAT;;AAE9B;AACA,MAAO,MAAKZ,SAAZ;AACC,CAJE,CAnBgC,CAAlC,EAuBI,MAAOJ,qBAAP,CAA6B,CA7Bb,CA6BcF,QA7Bd,CAFc;;;AAkCnCmB,OAAOC,OAAP,CAAelB,oBAAf","file":"AnimatedWithChildren.js","sourceRoot":"d:/Work/Office/react-native-on-web/cli/tmpl/project","sourcesContent":["\n\n\n\n\n\n\n\n\n\n'use strict';var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if(\"value\"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError(\"Cannot call a class as a function\");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");}return call&&(typeof call===\"object\"||typeof call===\"function\")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!==\"function\"&&superClass!==null){throw new TypeError(\"Super expression must either be null or a function, not \"+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}\n\nvar Animated=require('./Animated');var\n\nAnimatedWithChildren=function(_Animated){_inherits(AnimatedWithChildren,_Animated);\n\n\nfunction AnimatedWithChildren(){_classCallCheck(this,AnimatedWithChildren);var _this=_possibleConstructorReturn(this,(AnimatedWithChildren.__proto__||Object.getPrototypeOf(AnimatedWithChildren)).call(this));\n\n_this._children=[];return _this;\n}_createClass(AnimatedWithChildren,[{key:'__addChild',value:function __addChild(\n\nchild){\nif(this._children.length===0){\nthis.__attach();\n}\nthis._children.push(child);\n}},{key:'__removeChild',value:function __removeChild(\n\nchild){\nvar index=this._children.indexOf(child);\nif(index===-1){\nconsole.warn('Trying to remove a child that doesn\\'t exist');\nreturn;\n}\nthis._children.splice(index,1);\nif(this._children.length===0){\nthis.__detach();\n}\n}},{key:'__getChildren',value:function __getChildren()\n\n{\nreturn this._children;\n}}]);return AnimatedWithChildren;}(Animated);\n\n\nmodule.exports=AnimatedWithChildren;"]}