").append(ot.parseHTML(e)).find(r):e)}).complete(n&&function(e,t){a.each(n,o||[e.responseText,t,e])}),this},ot.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ot.fn[t]=function(e){return this.on(t,e)}}),ot.expr.filters.animated=function(e){return ot.grep(ot.timers,function(t){return e===t.elem}).length};var or=e.document.documentElement;ot.offset={setOffset:function(e,t,n){var r,o,i,a,s,u,c,l=ot.css(e,"position"),p=ot(e),d={};"static"===l&&(e.style.position="relative"),s=p.offset(),i=ot.css(e,"top"),u=ot.css(e,"left"),c=("absolute"===l||"fixed"===l)&&ot.inArray("auto",[i,u])>-1,c?(r=p.position(),a=r.top,o=r.left):(a=parseFloat(i)||0,o=parseFloat(u)||0),ot.isFunction(t)&&(t=t.call(e,n,s)),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+o),"using"in t?t.using.call(e,d):p.css(d)}},ot.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){ot.offset.setOffset(this,e,t)});var t,n,r={top:0,left:0},o=this[0],i=o&&o.ownerDocument;if(i)return t=i.documentElement,ot.contains(t,o)?(typeof o.getBoundingClientRect!==wt&&(r=o.getBoundingClientRect()),n=J(i),{top:r.top+(n.pageYOffset||t.scrollTop)-(t.clientTop||0),left:r.left+(n.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):r},position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===ot.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),ot.nodeName(e[0],"html")||(n=e.offset()),n.top+=ot.css(e[0],"borderTopWidth",!0),n.left+=ot.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-ot.css(r,"marginTop",!0),left:t.left-n.left-ot.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||or;e&&!ot.nodeName(e,"html")&&"static"===ot.css(e,"position");)e=e.offsetParent;return e||or})}}),ot.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n=/Y/.test(t);ot.fn[e]=function(r){return Dt(this,function(e,r,o){var i=J(e);return void 0===o?i?t in i?i[t]:i.document.documentElement[r]:e[r]:void(i?i.scrollTo(n?ot(i).scrollLeft():o,n?o:ot(i).scrollTop()):e[r]=o)},e,r,arguments.length,null)}}),ot.each(["top","left"],function(e,t){ot.cssHooks[t]=M(nt.pixelPosition,function(e,n){return n?(n=tn(e,t),rn.test(n)?ot(e).position()[t]+"px":n):void 0})}),ot.each({Height:"height",Width:"width"},function(e,t){ot.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){ot.fn[r]=function(r,o){var i=arguments.length&&(n||"boolean"!=typeof r),a=n||(r===!0||o===!0?"margin":"border");return Dt(this,function(t,n,r){var o;return ot.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===r?ot.css(t,n,a):ot.style(t,n,r,a)},t,i?r:void 0,i,null)}})}),ot.fn.size=function(){return this.length},ot.fn.andSelf=ot.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return ot});var ir=e.jQuery,ar=e.$;return ot.noConflict=function(t){return e.$===ot&&(e.$=ar),t&&e.jQuery===ot&&(e.jQuery=ir),ot},typeof t===wt&&(e.jQuery=e.$=ot),ot}),function(e,t){e.rails!==t&&e.error("jquery-ujs has already been loaded!");var n,r=e(document);e.rails=n={linkClickSelector:"a[data-confirm], a[data-method], a[data-remote], a[data-disable-with], a[data-disable]",buttonClickSelector:"button[data-remote]:not(form button), button[data-confirm]:not(form button)",inputChangeSelector:"select[data-remote], input[data-remote], textarea[data-remote]",formSubmitSelector:"form",formInputClickSelector:"form input[type=submit], form input[type=image], form button[type=submit], form button:not([type]), input[type=submit][form], input[type=image][form], button[type=submit][form], button[form]:not([type])",disableSelector:"input[data-disable-with]:enabled, button[data-disable-with]:enabled, textarea[data-disable-with]:enabled, input[data-disable]:enabled, button[data-disable]:enabled, textarea[data-disable]:enabled",enableSelector:"input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled, input[data-disable]:disabled, button[data-disable]:disabled, textarea[data-disable]:disabled",requiredInputSelector:"input[name][required]:not([disabled]),textarea[name][required]:not([disabled])",fileInputSelector:"input[type=file]",linkDisableSelector:"a[data-disable-with], a[data-disable]",buttonDisableSelector:"button[data-remote][data-disable-with], button[data-remote][data-disable]",CSRFProtection:function(t){var n=e('meta[name="csrf-token"]').attr("content");n&&t.setRequestHeader("X-CSRF-Token",n)},refreshCSRFTokens:function(){var t=e("meta[name=csrf-token]").attr("content"),n=e("meta[name=csrf-param]").attr("content");e('form input[name="'+n+'"]').val(t)},fire:function(t,n,r){var o=e.Event(n);return t.trigger(o,r),o.result!==!1},confirm:function(e){return confirm(e)},ajax:function(t){return e.ajax(t)},href:function(e){return e[0].href},handleRemote:function(r){var o,i,a,s,u,c;if(n.fire(r,"ajax:before")){if(s=r.data("with-credentials")||null,u=r.data("type")||e.ajaxSettings&&e.ajaxSettings.dataType,r.is("form")){o=r.attr("method"),i=r.attr("action"),a=r.serializeArray();var l=r.data("ujs:submit-button");l&&(a.push(l),r.data("ujs:submit-button",null))}else r.is(n.inputChangeSelector)?(o=r.data("method"),i=r.data("url"),a=r.serialize(),r.data("params")&&(a=a+"&"+r.data("params"))):r.is(n.buttonClickSelector)?(o=r.data("method")||"get",i=r.data("url"),a=r.serialize(),r.data("params")&&(a=a+"&"+r.data("params"))):(o=r.data("method"),i=n.href(r),a=r.data("params")||null);return c={type:o||"GET",data:a,dataType:u,beforeSend:function(e,o){return o.dataType===t&&e.setRequestHeader("accept","*/*;q=0.5, "+o.accepts.script),n.fire(r,"ajax:beforeSend",[e,o])?void r.trigger("ajax:send",e):!1},success:function(e,t,n){r.trigger("ajax:success",[e,t,n])},complete:function(e,t){r.trigger("ajax:complete",[e,t])},error:function(e,t,n){r.trigger("ajax:error",[e,t,n])},crossDomain:n.isCrossDomain(i)},s&&(c.xhrFields={withCredentials:s}),i&&(c.url=i),n.ajax(c)}return!1},isCrossDomain:function(e){var t=document.createElement("a");t.href=location.href;var n=document.createElement("a");try{return n.href=e,n.href=n.href,!n.protocol||!n.host||t.protocol+"//"+t.host!=n.protocol+"//"+n.host}catch(r){return!0}},handleMethod:function(r){var o=n.href(r),i=r.data("method"),a=r.attr("target"),s=e("meta[name=csrf-token]").attr("content"),u=e("meta[name=csrf-param]").attr("content"),c=e(''),l='';u===t||s===t||n.isCrossDomain(o)||(l+=''),a&&c.attr("target",a),c.hide().append(l).appendTo("body"),c.submit()},formElements:function(t,n){return t.is("form")?e(t[0].elements).filter(n):t.find(n)},disableFormElements:function(t){n.formElements(t,n.disableSelector).each(function(){n.disableFormElement(e(this))})},disableFormElement:function(e){var n,r;n=e.is("button")?"html":"val",r=e.data("disable-with"),e.data("ujs:enable-with",e[n]()),r!==t&&e[n](r),e.prop("disabled",!0)},enableFormElements:function(t){n.formElements(t,n.enableSelector).each(function(){n.enableFormElement(e(this))})},enableFormElement:function(e){var t=e.is("button")?"html":"val";e.data("ujs:enable-with")&&e[t](e.data("ujs:enable-with")),e.prop("disabled",!1)},allowAction:function(e){var t,r=e.data("confirm"),o=!1;return r?(n.fire(e,"confirm")&&(o=n.confirm(r),t=n.fire(e,"confirm:complete",[o])),o&&t):!0},blankInputs:function(t,n,r){var o,i,a=e(),s=n||"input,textarea",u=t.find(s);return u.each(function(){if(o=e(this),i=o.is("input[type=checkbox],input[type=radio]")?o.is(":checked"):o.val(),!i==!r){if(o.is("input[type=radio]")&&u.filter('input[type=radio]:checked[name="'+o.attr("name")+'"]').length)return!0;a=a.add(o)}}),a.length?a:!1},nonBlankInputs:function(e,t){return n.blankInputs(e,t,!0)},stopEverything:function(t){return e(t.target).trigger("ujs:everythingStopped"),t.stopImmediatePropagation(),!1},disableElement:function(e){var r=e.data("disable-with");e.data("ujs:enable-with",e.html()),r!==t&&e.html(r),e.bind("click.railsDisable",function(e){return n.stopEverything(e)})},enableElement:function(e){e.data("ujs:enable-with")!==t&&(e.html(e.data("ujs:enable-with")),e.removeData("ujs:enable-with")),e.unbind("click.railsDisable")}},n.fire(r,"rails:attachBindings")&&(e.ajaxPrefilter(function(e,t,r){e.crossDomain||n.CSRFProtection(r)}),e(window).on("pageshow.rails",function(){e(e.rails.enableSelector).each(function(){var t=e(this);t.data("ujs:enable-with")&&e.rails.enableFormElement(t)}),e(e.rails.linkDisableSelector).each(function(){var t=e(this);t.data("ujs:enable-with")&&e.rails.enableElement(t)})}),r.delegate(n.linkDisableSelector,"ajax:complete",function(){n.enableElement(e(this))}),r.delegate(n.buttonDisableSelector,"ajax:complete",function(){n.enableFormElement(e(this))}),r.delegate(n.linkClickSelector,"click.rails",function(r){var o=e(this),i=o.data("method"),a=o.data("params"),s=r.metaKey||r.ctrlKey;if(!n.allowAction(o))return n.stopEverything(r);if(!s&&o.is(n.linkDisableSelector)&&n.disableElement(o),o.data("remote")!==t){if(s&&(!i||"GET"===i)&&!a)return!0;var u=n.handleRemote(o);return u===!1?n.enableElement(o):u.fail(function(){n.enableElement(o)}),!1}return i?(n.handleMethod(o),!1):void 0}),r.delegate(n.buttonClickSelector,"click.rails",function(t){var r=e(this);if(!n.allowAction(r))return n.stopEverything(t);r.is(n.buttonDisableSelector)&&n.disableFormElement(r);var o=n.handleRemote(r);return o===!1?n.enableFormElement(r):o.fail(function(){n.enableFormElement(r)}),!1}),r.delegate(n.inputChangeSelector,"change.rails",function(t){var r=e(this);return n.allowAction(r)?(n.handleRemote(r),!1):n.stopEverything(t)}),r.delegate(n.formSubmitSelector,"submit.rails",function(r){var o,i,a=e(this),s=a.data("remote")!==t;if(!n.allowAction(a))return n.stopEverything(r);if(a.attr("novalidate")==t&&(o=n.blankInputs(a,n.requiredInputSelector),o&&n.fire(a,"ajax:aborted:required",[o])))return n.stopEverything(r);if(s){if(i=n.nonBlankInputs(a,n.fileInputSelector)){setTimeout(function(){n.disableFormElements(a)},13);var u=n.fire(a,"ajax:aborted:file",[i]);return u||setTimeout(function(){n.enableFormElements(a)},13),u}return n.handleRemote(a),!1}setTimeout(function(){n.disableFormElements(a)},13)}),r.delegate(n.formInputClickSelector,"click.rails",function(t){var r=e(this);if(!n.allowAction(r))return n.stopEverything(t);var o=r.attr("name"),i=o?{name:o,value:r.val()}:null;r.closest("form").data("ujs:submit-button",i)}),r.delegate(n.formSubmitSelector,"ajax:send.rails",function(t){this==t.target&&n.disableFormElements(e(this))}),r.delegate(n.formSubmitSelector,"ajax:complete.rails",function(t){this==t.target&&n.enableFormElements(e(this))}),e(function(){n.refreshCSRFTokens()}))}(jQuery),function(e){"use strict";e.ajaxPrefilter(function(e){return e.iframe?"iframe":void 0}),e.ajaxTransport("iframe",function(t,n,r){function o(){l.prop("disabled",!1),a.remove(),s.bind("load",function(){s.remove()}),s.attr("src","javascript:false;")}var i,a=null,s=null,u="iframe-"+e.now(),c=e(t.files).filter(":file:enabled"),l=null;return t.dataTypes.shift(),c.length?(a=e("").hide().attr({action:t.url,target:u}),"string"==typeof t.data&&t.data.length>0&&e.error("data must not be serialized"),e.each(t.data||{},function(t,n){e.isPlainObject(n)&&(t=n.name,n=n.value),e("").attr({name:t,value:n}).appendTo(a)}),e("").appendTo(a),i=t.dataTypes[0]&&t.accepts[t.dataTypes[0]]?t.accepts[t.dataTypes[0]]+("*"!==t.dataTypes[0]?", */*; q=0.01":""):t.accepts["*"],e("").attr("value",i).appendTo(a),l=c.after(function(){return e(this).clone().prop("disabled",!0)}).next(),c.appendTo(a),{send:function(t,n){s=e(""),s.bind("load",function(){s.unbind("load").bind("load",function(){var e=this.contentWindow?this.contentWindow.document:this.contentDocument?this.contentDocument:this.document,t=e.documentElement?e.documentElement:e.body,i=t.getElementsByTagName("textarea")[0],a=i&&i.getAttribute("data-type")||null,s=i&&i.getAttribute("data-status")||200,u=i&&i.getAttribute("data-statusText")||"OK",c={html:t.innerHTML,text:a?i.value:t?t.textContent||t.innerText:null};o(),r.responseText||(r.responseText=c.text),n(s,u,c,a?"Content-Type: "+a:null)}),a[0].submit()}),e("body").append(a,s)},abort:function(){null!==s&&(s.unbind("load").attr("src","javascript:false;"),o())}}):void 0})}(jQuery),function(e){var t;e.remotipart=t={setup:function(n){var r=n.data("ujs:submit-button"),o=e('meta[name="csrf-param"]').attr("content"),i=e('meta[name="csrf-token"]').attr("content"),a=n.find('input[name="'+o+'"]').length;n.one("ajax:beforeSend.remotipart",function(s,u,c){return delete c.beforeSend,c.iframe=!0,c.files=e(e.rails.fileInputSelector,n),c.data=n.serializeArray(),r&&c.data.push(r),c.files.each(function(e,t){for(var n=c.data.length-1;n>=0;n--)c.data[n].name==t.name&&c.data.splice(n,1)}),c.processData=!1,void 0===c.dataType&&(c.dataType="script *"),c.data.push({name:"remotipart_submitted",value:!0}),i&&o&&!a&&c.data.push({name:o,value:i}),e.rails.fire(n,"ajax:remotipartSubmit",[u,c])&&(e.rails.ajax(c),setTimeout(function(){e.rails.disableFormElements(n)},20)),t.teardown(n),!1}).data("remotipartSubmitted",!0)},teardown:function(e){e.unbind("ajax:beforeSend.remotipart").removeData("remotipartSubmitted")}},e(document).on("ajax:aborted:file","form",function(){var n=e(this);return t.setup(n),e.rails.handleRemote(n),!1})}(jQuery),/* ========================================================================
* Bootstrap: collapse.js v3.3.5
* http://getbootstrap.com/javascript/#collapse
* ========================================================================
* Copyright 2011-2015 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
+function(e){"use strict";function t(t){var n,r=t.attr("data-target")||(n=t.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return e(r)}function n(t){return this.each(function(){var n=e(this),o=n.data("bs.collapse"),i=e.extend({},r.DEFAULTS,n.data(),"object"==typeof t&&t);!o&&i.toggle&&/show|hide/.test(t)&&(i.toggle=!1),o||n.data("bs.collapse",o=new r(this,i)),"string"==typeof t&&o[t]()})}var r=function(t,n){this.$element=e(t),this.options=e.extend({},r.DEFAULTS,n),this.$trigger=e('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};r.VERSION="3.3.5",r.TRANSITION_DURATION=350,r.DEFAULTS={toggle:!0},r.prototype.dimension=function(){var e=this.$element.hasClass("width");return e?"width":"height"},r.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var t,o=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(o&&o.length&&(t=o.data("bs.collapse"),t&&t.transitioning))){var i=e.Event("show.bs.collapse");if(this.$element.trigger(i),!i.isDefaultPrevented()){o&&o.length&&(n.call(o,"hide"),t||o.data("bs.collapse",null));var a=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[a](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var s=function(){this.$element.removeClass("collapsing").addClass("collapse in")[a](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!e.support.transition)return s.call(this);var u=e.camelCase(["scroll",a].join("-"));this.$element.one("bsTransitionEnd",e.proxy(s,this)).emulateTransitionEnd(r.TRANSITION_DURATION)[a](this.$element[0][u])}}}},r.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var t=e.Event("hide.bs.collapse");if(this.$element.trigger(t),!t.isDefaultPrevented()){var n=this.dimension();this.$element[n](this.$element[n]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var o=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return e.support.transition?void this.$element[n](0).one("bsTransitionEnd",e.proxy(o,this)).emulateTransitionEnd(r.TRANSITION_DURATION):o.call(this)}}},r.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},r.prototype.getParent=function(){return e(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(e.proxy(function(n,r){var o=e(r);this.addAriaAndCollapsedClass(t(o),o)},this)).end()},r.prototype.addAriaAndCollapsedClass=function(e,t){var n=e.hasClass("in");e.attr("aria-expanded",n),t.toggleClass("collapsed",!n).attr("aria-expanded",n)};var o=e.fn.collapse;e.fn.collapse=n,e.fn.collapse.Constructor=r,e.fn.collapse.noConflict=function(){return e.fn.collapse=o,this},e(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(r){var o=e(this);o.attr("data-target")||r.preventDefault();var i=t(o),a=i.data("bs.collapse"),s=a?"toggle":o.data();n.call(i,s)})}(jQuery),function(){var e=Array.prototype,t=e.slice,n=Function.prototype;n.bind||(n.bind=function(e){function n(){var n=r.prototype&&this instanceof r;return r.apply(!n&&e||this,o.concat(t.call(arguments)))}var r=this,o=t.call(arguments,1);return n.prototype=r.prototype,n})}(),!function(e){if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else{var t;"undefined"!=typeof window?t=window:"undefined"!=typeof global?t=global:"undefined"!=typeof self&&(t=self),t.JSXTransformer=e()}}(function(){var define,module,exports;return function e(t,n,r){function o(a,s){if(!n[a]){if(!t[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(i)return i(a,!0);throw new Error("Cannot find module '"+a+"'")}var c=n[a]={exports:{}};t[a][0].call(c.exports,function(e){var n=t[a][1][e];return o(n?n:e)},c,c.exports,e,t,n,r)}return n[a].exports}for(var i="function"==typeof require&&require,a=0;as;s++)a[s]=r.isBuffer(e)?e.readUInt8(s):e[s];else if("string"===o)a.write(e,0,t);else if("number"===o&&!r._useTypedArrays&&!n)for(s=0;i>s;s++)a[s]=0;return a}function o(e,t,n,o){n=Number(n)||0;var i=e.length-n;o?(o=Number(o),o>i&&(o=i)):o=i;var a=t.length;X(a%2===0,"Invalid hex string"),o>a/2&&(o=a/2);for(var s=0;o>s;s++){var u=parseInt(t.substr(2*s,2),16);X(!isNaN(u),"Invalid hex string"),e[n+s]=u}return r._charsWritten=2*s,s}function i(e,t,n,o){var i=r._charsWritten=B(P(t),e,n,o);return i}function a(e,t,n,o){var i=r._charsWritten=B(L(t),e,n,o);return i}function s(e,t,n,r){return a(e,t,n,r)}function u(e,t,n,o){var i=r._charsWritten=B(U(t),e,n,o);return i}function c(e,t,n,o){var i=r._charsWritten=B(j(t),e,n,o);return i}function l(e,t,n){return V.fromByteArray(0===t&&n===e.length?e:e.slice(t,n))}function p(e,t,n){var r="",o="";n=Math.min(e.length,n);for(var i=t;n>i;i++)e[i]<=127?(r+=F(o)+String.fromCharCode(e[i]),o=""):o+="%"+e[i].toString(16);return r+F(o)}function d(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;n>o;o++)r+=String.fromCharCode(e[o]);return r}function f(e,t,n){return d(e,t,n)}function h(e,t,n){var r=e.length;(!t||0>t)&&(t=0),(!n||0>n||n>r)&&(n=r);for(var o="",i=t;n>i;i++)o+=_(e[i]);return o}function m(e,t,n){for(var r=e.slice(t,n),o="",i=0;i=o)){var i;return n?(i=e[t],o>t+1&&(i|=e[t+1]<<8)):(i=e[t]<<8,o>t+1&&(i|=e[t+1])),i}}function v(e,t,n,r){r||(X("boolean"==typeof n,"missing or invalid endian"),X(void 0!==t&&null!==t,"missing offset"),X(t+3=o)){var i;return n?(o>t+2&&(i=e[t+2]<<16),o>t+1&&(i|=e[t+1]<<8),i|=e[t],o>t+3&&(i+=e[t+3]<<24>>>0)):(o>t+1&&(i=e[t+1]<<16),o>t+2&&(i|=e[t+2]<<8),o>t+3&&(i|=e[t+3]),i+=e[t]<<24>>>0),i}}function y(e,t,n,r){r||(X("boolean"==typeof n,"missing or invalid endian"),X(void 0!==t&&null!==t,"missing offset"),X(t+1=o)){var i=g(e,t,n,!0),a=32768&i;return a?-1*(65535-i+1):i}}function b(e,t,n,r){r||(X("boolean"==typeof n,"missing or invalid endian"),X(void 0!==t&&null!==t,"missing offset"),X(t+3=o)){var i=v(e,t,n,!0),a=2147483648&i;return a?-1*(4294967295-i+1):i}}function C(e,t,n,r){return r||(X("boolean"==typeof n,"missing or invalid endian"),X(t+3=i))for(var a=0,s=Math.min(i-n,2);s>a;a++)e[n+a]=(t&255<<8*(r?a:1-a))>>>8*(r?a:1-a)}function w(e,t,n,r,o){o||(X(void 0!==t&&null!==t,"missing value"),X("boolean"==typeof r,"missing or invalid endian"),X(void 0!==n&&null!==n,"missing offset"),X(n+3=i))for(var a=0,s=Math.min(i-n,4);s>a;a++)e[n+a]=t>>>8*(r?a:3-a)&255}function S(e,t,n,r,o){o||(X(void 0!==t&&null!==t,"missing value"),X("boolean"==typeof r,"missing or invalid endian"),X(void 0!==n&&null!==n,"missing offset"),X(n+1=i||(t>=0?E(e,t,n,r,o):E(e,65535+t+1,n,r,o))}function T(e,t,n,r,o){o||(X(void 0!==t&&null!==t,"missing value"),X("boolean"==typeof r,"missing or invalid endian"),X(void 0!==n&&null!==n,"missing offset"),X(n+3=i||(t>=0?w(e,t,n,r,o):w(e,4294967295+t+1,n,r,o))}function M(e,t,n,r,o){o||(X(void 0!==t&&null!==t,"missing value"),X("boolean"==typeof r,"missing or invalid endian"),X(void 0!==n&&null!==n,"missing offset"),X(n+3=i||z.write(e,t,n,r,23,4)}function R(e,t,n,r,o){o||(X(void 0!==t&&null!==t,"missing value"),X("boolean"==typeof r,"missing or invalid endian"),X(void 0!==n&&null!==n,"missing offset"),X(n+7=i||z.write(e,t,n,r,52,8)}function N(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function D(e){return e._isBuffer=!0,e._get=e.get,e._set=e.set,e.get=J.get,e.set=J.set,e.write=J.write,e.toString=J.toString,e.toLocaleString=J.toString,e.toJSON=J.toJSON,e.copy=J.copy,e.slice=J.slice,e.readUInt8=J.readUInt8,e.readUInt16LE=J.readUInt16LE,e.readUInt16BE=J.readUInt16BE,e.readUInt32LE=J.readUInt32LE,e.readUInt32BE=J.readUInt32BE,e.readInt8=J.readInt8,e.readInt16LE=J.readInt16LE,e.readInt16BE=J.readInt16BE,e.readInt32LE=J.readInt32LE,e.readInt32BE=J.readInt32BE,e.readFloatLE=J.readFloatLE,e.readFloatBE=J.readFloatBE,e.readDoubleLE=J.readDoubleLE,e.readDoubleBE=J.readDoubleBE,e.writeUInt8=J.writeUInt8,e.writeUInt16LE=J.writeUInt16LE,e.writeUInt16BE=J.writeUInt16BE,e.writeUInt32LE=J.writeUInt32LE,e.writeUInt32BE=J.writeUInt32BE,e.writeInt8=J.writeInt8,e.writeInt16LE=J.writeInt16LE,e.writeInt16BE=J.writeInt16BE,e.writeInt32LE=J.writeInt32LE,e.writeInt32BE=J.writeInt32BE,e.writeFloatLE=J.writeFloatLE,e.writeFloatBE=J.writeFloatBE,e.writeDoubleLE=J.writeDoubleLE,e.writeDoubleBE=J.writeDoubleBE,e.fill=J.fill,e.inspect=J.inspect,e.toArrayBuffer=J.toArrayBuffer,e}function I(e,t,n){return"number"!=typeof e?n:(e=~~e,e>=t?t:e>=0?e:(e+=t,e>=0?e:0))}function k(e){return e=~~Math.ceil(+e),0>e?0:e}function A(e){return(Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)})(e)}function O(e){return A(e)||r.isBuffer(e)||e&&"object"==typeof e&&"number"==typeof e.length}function _(e){return 16>e?"0"+e.toString(16):e.toString(16)}function P(e){for(var t=[],n=0;n=r)t.push(e.charCodeAt(n));else{var o=n;r>=55296&&57343>=r&&n++;for(var i=encodeURIComponent(e.slice(o,n+1)).substr(1).split("%"),a=0;a>8,r=t%256,o.push(r),o.push(n);return o}function U(e){return V.toByteArray(e)}function B(e,t,n,r){for(var o=0;r>o&&!(o+n>=t.length||o>=e.length);o++)t[o+n]=e[o];return o}function F(e){try{return decodeURIComponent(e)}catch(t){return String.fromCharCode(65533)}}function H(e,t){X("number"==typeof e,"cannot write a non-number as a number"),X(e>=0,"specified a negative value for writing an unsigned value"),X(t>=e,"value is larger than maximum value for type"),X(Math.floor(e)===e,"value has a fractional component")}function q(e,t,n){X("number"==typeof e,"cannot write a non-number as a number"),X(t>=e,"value larger than maximum allowed value"),X(e>=n,"value smaller than minimum allowed value"),X(Math.floor(e)===e,"value has a fractional component")}function W(e,t,n){X("number"==typeof e,"cannot write a non-number as a number"),X(t>=e,"value larger than maximum allowed value"),X(e>=n,"value smaller than minimum allowed value")}function X(e,t){if(!e)throw new Error(t||"Failed assertion")}var V=e("base64-js"),z=e("ieee754");n.Buffer=r,n.SlowBuffer=r,n.INSPECT_MAX_BYTES=50,r.poolSize=8192,r._useTypedArrays=function(){if("function"!=typeof Uint8Array||"function"!=typeof ArrayBuffer)return!1;try{var e=new Uint8Array(0);return e.foo=function(){return 42},42===e.foo()&&"function"==typeof e.subarray}catch(t){return!1}}(),r.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},r.isBuffer=function(e){return!(null===e||void 0===e||!e._isBuffer)},r.byteLength=function(e,t){var n;switch(e+="",t||"utf8"){case"hex":n=e.length/2;break;case"utf8":case"utf-8":n=P(e).length;break;case"ascii":case"binary":case"raw":n=e.length;break;case"base64":n=U(e).length;break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":n=2*e.length;break;default:throw new Error("Unknown encoding")}return n},r.concat=function(e,t){if(X(A(e),"Usage: Buffer.concat(list, [totalLength])\nlist should be an Array."),0===e.length)return new r(0);if(1===e.length)return e[0];var n;if("number"!=typeof t)for(t=0,n=0;np&&(n=p)):n=p,r=String(r||"utf8").toLowerCase();var d;switch(r){case"hex":d=o(this,e,t,n);break;case"utf8":case"utf-8":d=i(this,e,t,n);break;case"ascii":d=a(this,e,t,n);break;case"binary":d=s(this,e,t,n);break;case"base64":d=u(this,e,t,n);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":d=c(this,e,t,n);break;default:throw new Error("Unknown encoding")}return d},r.prototype.toString=function(e,t,n){var r=this;if(e=String(e||"utf8").toLowerCase(),t=Number(t)||0,n=void 0!==n?Number(n):n=r.length,n===t)return"";var o;switch(e){case"hex":o=h(r,t,n);break;case"utf8":case"utf-8":o=p(r,t,n);break;case"ascii":o=d(r,t,n);break;case"binary":o=f(r,t,n);break;case"base64":o=l(r,t,n);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":o=m(r,t,n);break;default:throw new Error("Unknown encoding")}return o},r.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},r.prototype.copy=function(e,t,n,r){var o=this;if(n||(n=0),r||0===r||(r=this.length),t||(t=0),r!==n&&0!==e.length&&0!==o.length){X(r>=n,"sourceEnd < sourceStart"),X(t>=0&&t=0&&n=0&&r<=o.length,"sourceEnd out of bounds"),r>this.length&&(r=this.length),e.length-ti;i++)e[i+t]=this[i+n]}},r.prototype.slice=function(e,t){var n=this.length;if(e=I(e,n,0),t=I(t,n,n),r._useTypedArrays)return D(this.subarray(e,t));for(var o=t-e,i=new r(o,void 0,!0),a=0;o>a;a++)i[a]=this[a+e];return i},r.prototype.get=function(e){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(e)},r.prototype.set=function(e,t){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(e,t)},r.prototype.readUInt8=function(e,t){return t||(X(void 0!==e&&null!==e,"missing offset"),X(e=this.length?void 0:this[e]},r.prototype.readUInt16LE=function(e,t){return g(this,e,!0,t)},r.prototype.readUInt16BE=function(e,t){return g(this,e,!1,t)},r.prototype.readUInt32LE=function(e,t){return v(this,e,!0,t)},r.prototype.readUInt32BE=function(e,t){return v(this,e,!1,t)},r.prototype.readInt8=function(e,t){if(t||(X(void 0!==e&&null!==e,"missing offset"),X(e=this.length)){var n=128&this[e];return n?-1*(255-this[e]+1):this[e]}},r.prototype.readInt16LE=function(e,t){return y(this,e,!0,t)},r.prototype.readInt16BE=function(e,t){return y(this,e,!1,t)},r.prototype.readInt32LE=function(e,t){return b(this,e,!0,t)},r.prototype.readInt32BE=function(e,t){return b(this,e,!1,t)},r.prototype.readFloatLE=function(e,t){return C(this,e,!0,t)},r.prototype.readFloatBE=function(e,t){return C(this,e,!1,t)},r.prototype.readDoubleLE=function(e,t){return x(this,e,!0,t)},r.prototype.readDoubleBE=function(e,t){return x(this,e,!1,t)},r.prototype.writeUInt8=function(e,t,n){n||(X(void 0!==e&&null!==e,"missing value"),X(void 0!==t&&null!==t,"missing offset"),X(t=this.length||(this[t]=e)},r.prototype.writeUInt16LE=function(e,t,n){E(this,e,t,!0,n)},r.prototype.writeUInt16BE=function(e,t,n){E(this,e,t,!1,n)},r.prototype.writeUInt32LE=function(e,t,n){w(this,e,t,!0,n)},r.prototype.writeUInt32BE=function(e,t,n){w(this,e,t,!1,n)},r.prototype.writeInt8=function(e,t,n){n||(X(void 0!==e&&null!==e,"missing value"),X(void 0!==t&&null!==t,"missing offset"),X(t=this.length||(e>=0?this.writeUInt8(e,t,n):this.writeUInt8(255+e+1,t,n))},r.prototype.writeInt16LE=function(e,t,n){S(this,e,t,!0,n)},r.prototype.writeInt16BE=function(e,t,n){S(this,e,t,!1,n)},r.prototype.writeInt32LE=function(e,t,n){T(this,e,t,!0,n)},r.prototype.writeInt32BE=function(e,t,n){T(this,e,t,!1,n)},r.prototype.writeFloatLE=function(e,t,n){M(this,e,t,!0,n)},r.prototype.writeFloatBE=function(e,t,n){M(this,e,t,!1,n)},r.prototype.writeDoubleLE=function(e,t,n){R(this,e,t,!0,n)},r.prototype.writeDoubleBE=function(e,t,n){R(this,e,t,!1,n)},r.prototype.fill=function(e,t,n){if(e||(e=0),t||(t=0),n||(n=this.length),"string"==typeof e&&(e=e.charCodeAt(0)),X("number"==typeof e&&!isNaN(e),"value is not a number"),X(n>=t,"end < start"),n!==t&&0!==this.length){X(t>=0&&t=0&&n<=this.length,"end out of bounds");for(var r=t;n>r;r++)this[r]=e}},r.prototype.inspect=function(){for(var e=[],t=this.length,r=0;t>r;r++)if(e[r]=_(this[r]),r===n.INSPECT_MAX_BYTES){e[r+1]="...";break}return""},r.prototype.toArrayBuffer=function(){if("function"==typeof Uint8Array){if(r._useTypedArrays)return new r(this).buffer;for(var e=new Uint8Array(this.length),t=0,n=e.length;n>t;t+=1)e[t]=this[t];return e.buffer}throw new Error("Buffer.toArrayBuffer not supported in this browser")};var J=r.prototype},{"base64-js":2,ieee754:3}],2:[function(e,t){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";!function(){"use strict";function e(e){var t=e.charCodeAt(0);return t===a?62:t===s?63:u>t?-1:u+10>t?t-u+26+26:l+26>t?t-l:c+26>t?t-c+26:void 0}function r(t){function n(e){c[p++]=e}var r,o,a,s,u,c;if(t.length%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var l=t.length;u="="===t.charAt(l-2)?2:"="===t.charAt(l-1)?1:0,c=new i(3*t.length/4-u),a=u>0?t.length-4:t.length;var p=0;for(r=0,o=0;a>r;r+=4,o+=3)s=e(t.charAt(r))<<18|e(t.charAt(r+1))<<12|e(t.charAt(r+2))<<6|e(t.charAt(r+3)),n((16711680&s)>>16),n((65280&s)>>8),n(255&s);return 2===u?(s=e(t.charAt(r))<<2|e(t.charAt(r+1))>>4,n(255&s)):1===u&&(s=e(t.charAt(r))<<10|e(t.charAt(r+1))<<4|e(t.charAt(r+2))>>2,n(s>>8&255),n(255&s)),c}function o(e){function t(e){return n.charAt(e)}function r(e){return t(e>>18&63)+t(e>>12&63)+t(e>>6&63)+t(63&e)}var o,i,a,s=e.length%3,u="";for(o=0,a=e.length-s;a>o;o+=3)i=(e[o]<<16)+(e[o+1]<<8)+e[o+2],u+=r(i);switch(s){case 1:i=e[e.length-1],u+=t(i>>2),u+=t(i<<4&63),u+="==";break;case 2:i=(e[e.length-2]<<8)+e[e.length-1],u+=t(i>>10),u+=t(i>>4&63),u+=t(i<<2&63),u+="="}return u}var i="undefined"!=typeof Uint8Array?Uint8Array:Array,a=("0".charCodeAt(0),"+".charCodeAt(0)),s="/".charCodeAt(0),u="0".charCodeAt(0),c="a".charCodeAt(0),l="A".charCodeAt(0);t.exports.toByteArray=r,t.exports.fromByteArray=o}()},{}],3:[function(e,t,n){n.read=function(e,t,n,r,o){var i,a,s=8*o-r-1,u=(1<>1,l=-7,p=n?o-1:0,d=n?-1:1,f=e[t+p];for(p+=d,i=f&(1<<-l)-1,f>>=-l,l+=s;l>0;i=256*i+e[t+p],p+=d,l-=8);for(a=i&(1<<-l)-1,i>>=-l,l+=r;l>0;a=256*a+e[t+p],p+=d,l-=8);if(0===i)i=1-c;else{if(i===u)return a?0/0:1/0*(f?-1:1);a+=Math.pow(2,r),i-=c}return(f?-1:1)*a*Math.pow(2,i-r)},n.write=function(e,t,n,r,o,i){var a,s,u,c=8*i-o-1,l=(1<>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:i-1,h=r?1:-1,m=0>t||0===t&&0>1/t?1:0;for(t=Math.abs(t),isNaN(t)||1/0===t?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),t+=a+p>=1?d/u:d*Math.pow(2,1-p),t*u>=2&&(a++,u/=2),a+p>=l?(s=0,a=l):a+p>=1?(s=(t*u-1)*Math.pow(2,o),a+=p):(s=t*Math.pow(2,p-1)*Math.pow(2,o),a=0));o>=8;e[n+f]=255&s,f+=h,s/=256,o-=8);for(a=a<0;e[n+f]=255&a,f+=h,a/=256,c-=8);e[n+f-h]|=128*m}},{}],4:[function(e,t){var n=t.exports={};n.nextTick=function(){var e="undefined"!=typeof window&&window.setImmediate,t="undefined"!=typeof window&&window.postMessage&&window.addEventListener;if(e)return function(e){return window.setImmediate(e)};if(t){var n=[];return window.addEventListener("message",function(e){var t=e.source;if((t===window||null===t)&&"process-tick"===e.data&&(e.stopPropagation(),n.length>0)){var r=n.shift();r()}},!0),function(e){n.push(e),window.postMessage("process-tick","*")}}return function(e){setTimeout(e,0)}}(),n.title="browser",n.browser=!0,n.env={},n.argv=[],n.binding=function(){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(){throw new Error("process.chdir is not supported")}},{}],5:[function(e,t,n){(function(e){// Copyright Joyent, Inc. and other Node contributors.
// The above copyright notice and this permission notice shall be included
// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
function t(e,t){for(var n=0,r=e.length-1;r>=0;r--){var o=e[r];"."===o?e.splice(r,1):".."===o?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r=-1&&!o;i--){var a=i>=0?arguments[i]:e.cwd();if("string"!=typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(n=a+"/"+n,o="/"===a.charAt(0))}return n=t(r(n.split("/"),function(e){return!!e}),!o).join("/"),(o?"/":"")+n||"."},n.normalize=function(e){var o=n.isAbsolute(e),i="/"===a(e,-1);return e=t(r(e.split("/"),function(e){return!!e}),!o).join("/"),e||o||(e="."),e&&i&&(e+="/"),(o?"/":"")+e},n.isAbsolute=function(e){return"/"===e.charAt(0)},n.join=function(){var e=Array.prototype.slice.call(arguments,0);return n.normalize(r(e,function(e){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))},n.relative=function(e,t){function r(e){for(var t=0;t=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=n.resolve(e).substr(1),t=n.resolve(t).substr(1);for(var o=r(e.split("/")),i=r(t.split("/")),a=Math.min(o.length,i.length),s=a,u=0;a>u;u++)if(o[u]!==i[u]){s=u;break}for(var c=[],u=s;ut&&(t=e.length+t),e.substr(t,n)}}).call(this,e("/Users/poshannessy/FB/code/react/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js"))},{"/Users/poshannessy/FB/code/react/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js":4}],6:[function(e,t,n){/*
Copyright (C) 2013 Ariya Hidayat
Copyright (C) 2013 Thaddee Tyl
Copyright (C) 2012 Ariya Hidayat
Copyright (C) 2012 Mathias Bynens
Copyright (C) 2012 Joost-Wim Boekesteijn
Copyright (C) 2012 Kris Kowal
Copyright (C) 2012 Yusuke Suzuki
Copyright (C) 2012 Arpad Borsos
Copyright (C) 2011 Ariya Hidayat
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
!function(e,t){"use strict";"function"==typeof define&&define.amd?define(["exports"],t):t("undefined"!=typeof n?n:e.esprima={})}(this,function(e){"use strict";function t(e,t){if(!e)throw new Error("ASSERT: "+t)}function n(e){return e>=48&&57>=e}function r(e){return"0123456789abcdefABCDEF".indexOf(e)>=0}function o(e){return"01234567".indexOf(e)>=0}function i(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&"\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\ufeff".indexOf(String.fromCharCode(e))>0}function a(e){return 10===e||13===e||8232===e||8233===e}function s(e){return 36===e||95===e||e>=65&&90>=e||e>=97&&122>=e||92===e||e>=128&&ur.NonAsciiIdentifierStart.test(String.fromCharCode(e))}function u(e){return 36===e||95===e||e>=65&&90>=e||e>=97&&122>=e||e>=48&&57>=e||92===e||e>=128&&ur.NonAsciiIdentifierPart.test(String.fromCharCode(e))}function c(e){switch(e){case"class":case"enum":case"export":case"extends":case"import":case"super":return!0;default:return!1}}function l(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function p(e){return"eval"===e||"arguments"===e}function d(e){if(fr&&l(e))return!0;switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e||"let"===e;case 4:return"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e;case 5:return"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e;case 6:return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case 7:return"default"===e||"finally"===e||"extends"===e;case 8:return"function"===e||"continue"===e||"debugger"===e;case 10:return"instanceof"===e;default:return!1}}function f(){var e,t,n;for(t=!1,n=!1;vr>hr;)if(e=dr.charCodeAt(hr),n)++hr,a(e)&&(n=!1,13===e&&10===dr.charCodeAt(hr)&&++hr,++mr,gr=hr);else if(t)a(e)?(13===e&&10===dr.charCodeAt(hr+1)&&++hr,++mr,++hr,gr=hr,hr>=vr&&_({},sr.UnexpectedToken,"ILLEGAL")):(e=dr.charCodeAt(hr++),hr>=vr&&_({},sr.UnexpectedToken,"ILLEGAL"),42===e&&(e=dr.charCodeAt(hr),47===e&&(++hr,t=!1)));else if(47===e)if(e=dr.charCodeAt(hr+1),47===e)hr+=2,n=!0;else{if(42!==e)break;hr+=2,t=!0,hr>=vr&&_({},sr.UnexpectedToken,"ILLEGAL")}else if(i(e))++hr;else{if(!a(e))break;++hr,13===e&&10===dr.charCodeAt(hr)&&++hr,++mr,gr=hr}}function h(e){var t,n,o,i=0;for(n="u"===e?4:2,t=0;n>t;++t){if(!(vr>hr&&r(dr[hr])))return"";o=dr[hr++],i=16*i+"0123456789abcdef".indexOf(o.toLowerCase())}return String.fromCharCode(i)}function m(){var e,t,n,o;for(e=dr[hr],t=0,"}"===e&&_({},sr.UnexpectedToken,"ILLEGAL");vr>hr&&(e=dr[hr++],r(e));)t=16*t+"0123456789abcdef".indexOf(e.toLowerCase());return(t>1114111||"}"!==e)&&_({},sr.UnexpectedToken,"ILLEGAL"),65535>=t?String.fromCharCode(t):(n=(t-65536>>10)+55296,o=(t-65536&1023)+56320,String.fromCharCode(n,o))}function g(){var e,t;for(e=dr.charCodeAt(hr++),t=String.fromCharCode(e),92===e&&(117!==dr.charCodeAt(hr)&&_({},sr.UnexpectedToken,"ILLEGAL"),++hr,e=h("u"),e&&"\\"!==e&&s(e.charCodeAt(0))||_({},sr.UnexpectedToken,"ILLEGAL"),t=e);vr>hr&&(e=dr.charCodeAt(hr),u(e));)++hr,t+=String.fromCharCode(e),92===e&&(t=t.substr(0,t.length-1),117!==dr.charCodeAt(hr)&&_({},sr.UnexpectedToken,"ILLEGAL"),++hr,e=h("u"),e&&"\\"!==e&&u(e.charCodeAt(0))||_({},sr.UnexpectedToken,"ILLEGAL"),t+=e);return t}function v(){var e,t;for(e=hr++;vr>hr;){if(t=dr.charCodeAt(hr),92===t)return hr=e,g();if(!u(t))break;++hr}return dr.slice(e,hr)}function y(){var e,t,n;return e=hr,t=92===dr.charCodeAt(hr)?g():v(),n=1===t.length?nr.Identifier:d(t)?nr.Keyword:"null"===t?nr.NullLiteral:"true"===t||"false"===t?nr.BooleanLiteral:nr.Identifier,{type:n,value:t,lineNumber:mr,lineStart:gr,range:[e,hr]}}function b(){var e,t,n,r,o=hr,i=dr.charCodeAt(hr),a=dr[hr];switch(i){case 40:case 41:case 59:case 44:case 123:case 125:case 91:case 93:case 58:case 63:case 126:return++hr,xr.tokenize&&(40===i?xr.openParenToken=xr.tokens.length:123===i&&(xr.openCurlyToken=xr.tokens.length)),{type:nr.Punctuator,value:String.fromCharCode(i),lineNumber:mr,lineStart:gr,range:[o,hr]};default:if(e=dr.charCodeAt(hr+1),61===e)switch(i){case 37:case 38:case 42:case 43:case 45:case 47:case 60:case 62:case 94:case 124:return hr+=2,{type:nr.Punctuator,value:String.fromCharCode(i)+String.fromCharCode(e),lineNumber:mr,lineStart:gr,range:[o,hr]};case 33:case 61:return hr+=2,61===dr.charCodeAt(hr)&&++hr,{type:nr.Punctuator,value:dr.slice(o,hr),lineNumber:mr,lineStart:gr,range:[o,hr]}}}return t=dr[hr+1],n=dr[hr+2],r=dr[hr+3],">"===a&&">"===t&&">"===n&&"="===r?(hr+=4,{type:nr.Punctuator,value:">>>=",lineNumber:mr,lineStart:gr,range:[o,hr]}):">"===a&&">"===t&&">"===n?(hr+=3,{type:nr.Punctuator,value:">>>",lineNumber:mr,lineStart:gr,range:[o,hr]}):"<"===a&&"<"===t&&"="===n?(hr+=3,{type:nr.Punctuator,value:"<<=",lineNumber:mr,lineStart:gr,range:[o,hr]}):">"===a&&">"===t&&"="===n?(hr+=3,{type:nr.Punctuator,value:">>=",lineNumber:mr,lineStart:gr,range:[o,hr]}):"."===a&&"."===t&&"."===n?(hr+=3,{type:nr.Punctuator,value:"...",lineNumber:mr,lineStart:gr,range:[o,hr]}):a===t&&"+-<>&|".indexOf(a)>=0?(hr+=2,{type:nr.Punctuator,value:a+t,lineNumber:mr,lineStart:gr,range:[o,hr]}):"="===a&&">"===t?(hr+=2,{type:nr.Punctuator,value:"=>",lineNumber:mr,lineStart:gr,range:[o,hr]}):"<>=!+-*%&|^/".indexOf(a)>=0?(++hr,{type:nr.Punctuator,value:a,lineNumber:mr,lineStart:gr,range:[o,hr]}):"."===a?(++hr,{type:nr.Punctuator,value:a,lineNumber:mr,lineStart:gr,range:[o,hr]}):void _({},sr.UnexpectedToken,"ILLEGAL")}function C(e){for(var t="";vr>hr&&r(dr[hr]);)t+=dr[hr++];return 0===t.length&&_({},sr.UnexpectedToken,"ILLEGAL"),s(dr.charCodeAt(hr))&&_({},sr.UnexpectedToken,"ILLEGAL"),{type:nr.NumericLiteral,value:parseInt("0x"+t,16),lineNumber:mr,lineStart:gr,range:[e,hr]}}function x(e,t){var r,i;for(o(e)?(i=!0,r="0"+dr[hr++]):(i=!1,++hr,r="");vr>hr&&o(dr[hr]);)r+=dr[hr++];return i||0!==r.length||_({},sr.UnexpectedToken,"ILLEGAL"),(s(dr.charCodeAt(hr))||n(dr.charCodeAt(hr)))&&_({},sr.UnexpectedToken,"ILLEGAL"),{type:nr.NumericLiteral,value:parseInt(r,8),octal:i,lineNumber:mr,lineStart:gr,range:[t,hr]}}function E(){var e,r,i;if(i=dr[hr],t(n(i.charCodeAt(0))||"."===i,"Numeric literal must start with a decimal digit or a decimal point"),r=hr,e="","."!==i){if(e=dr[hr++],i=dr[hr],"0"===e){if("x"===i||"X"===i)return++hr,C(r);if("b"===i||"B"===i){for(++hr,e="";vr>hr&&(i=dr[hr],"0"===i||"1"===i);)e+=dr[hr++];return 0===e.length&&_({},sr.UnexpectedToken,"ILLEGAL"),vr>hr&&(i=dr.charCodeAt(hr),(s(i)||n(i))&&_({},sr.UnexpectedToken,"ILLEGAL")),{type:nr.NumericLiteral,value:parseInt(e,2),lineNumber:mr,lineStart:gr,range:[r,hr]}}if("o"===i||"O"===i||o(i))return x(i,r);i&&n(i.charCodeAt(0))&&_({},sr.UnexpectedToken,"ILLEGAL")}for(;n(dr.charCodeAt(hr));)e+=dr[hr++];i=dr[hr]}if("."===i){for(e+=dr[hr++];n(dr.charCodeAt(hr));)e+=dr[hr++];i=dr[hr]}if("e"===i||"E"===i)if(e+=dr[hr++],i=dr[hr],("+"===i||"-"===i)&&(e+=dr[hr++]),n(dr.charCodeAt(hr)))for(;n(dr.charCodeAt(hr));)e+=dr[hr++];else _({},sr.UnexpectedToken,"ILLEGAL");return s(dr.charCodeAt(hr))&&_({},sr.UnexpectedToken,"ILLEGAL"),{type:nr.NumericLiteral,value:parseFloat(e),lineNumber:mr,lineStart:gr,range:[r,hr]}}function w(){var e,n,r,i,s,u,c="",l=!1;for(e=dr[hr],t("'"===e||'"'===e,"String literal must starts with a quote"),n=hr,++hr;vr>hr;){if(r=dr[hr++],r===e){e="";break}if("\\"===r)if(r=dr[hr++],r&&a(r.charCodeAt(0)))++mr,"\r"===r&&"\n"===dr[hr]&&++hr;else switch(r){case"n":c+="\n";break;case"r":c+="\r";break;case"t":c+=" ";break;case"u":case"x":"{"===dr[hr]?(++hr,c+=m()):(u=hr,s=h(r),s?c+=s:(hr=u,c+=r));break;case"b":c+="\b";break;case"f":c+="\f";break;case"v":c+="";break;default:o(r)?(i="01234567".indexOf(r),0!==i&&(l=!0),vr>hr&&o(dr[hr])&&(l=!0,i=8*i+"01234567".indexOf(dr[hr++]),"0123".indexOf(r)>=0&&vr>hr&&o(dr[hr])&&(i=8*i+"01234567".indexOf(dr[hr++]))),c+=String.fromCharCode(i)):c+=r}else{if(a(r.charCodeAt(0)))break;c+=r}}return""!==e&&_({},sr.UnexpectedToken,"ILLEGAL"),{type:nr.StringLiteral,value:c,octal:l,lineNumber:mr,lineStart:gr,range:[n,hr]}}function S(){var e,t,n,r,i,s,u,c,l="";for(n=!1,r=!1,t=hr,++hr;vr>hr;){if(e=dr[hr++],"`"===e){r=!0,n=!0;break}if("$"===e){if("{"===dr[hr]){++hr,n=!0;break}l+=e}else if("\\"===e)if(e=dr[hr++],a(e.charCodeAt(0)))++mr,"\r"===e&&"\n"===dr[hr]&&++hr;else switch(e){case"n":l+="\n";break;case"r":l+="\r";break;case"t":l+=" ";break;case"u":case"x":"{"===dr[hr]?(++hr,l+=m()):(i=hr,s=h(e),s?l+=s:(hr=i,l+=e));break;case"b":l+="\b";break;case"f":l+="\f";break;case"v":l+="";break;default:o(e)?(u="01234567".indexOf(e),0!==u&&(c=!0),vr>hr&&o(dr[hr])&&(c=!0,u=8*u+"01234567".indexOf(dr[hr++]),"0123".indexOf(e)>=0&&vr>hr&&o(dr[hr])&&(u=8*u+"01234567".indexOf(dr[hr++]))),l+=String.fromCharCode(u)):l+=e}else a(e.charCodeAt(0))?(++mr,"\r"===e&&"\n"===dr[hr]&&++hr,l+="\n"):l+=e}return n||_({},sr.UnexpectedToken,"ILLEGAL"),{type:nr.Template,value:{cooked:l,raw:dr.slice(t+1,hr-(r?1:2))},tail:r,octal:c,lineNumber:mr,lineStart:gr,range:[t,hr]}}function T(e){var t,n;return br=null,f(),t=e.head?"`":"}",dr[hr]!==t&&_({},sr.UnexpectedToken,"ILLEGAL"),n=S(),k(),n}function M(){var e,n,r,o,i,s,c,l=!1,p=!1;for(br=null,f(),r=hr,n=dr[hr],t("/"===n,"Regular expression literal must start with a slash"),e=dr[hr++];vr>hr;)if(n=dr[hr++],e+=n,l)"]"===n&&(l=!1);else if("\\"===n)n=dr[hr++],a(n.charCodeAt(0))&&_({},sr.UnterminatedRegExp),e+=n;else{if("/"===n){p=!0;break}"["===n?l=!0:a(n.charCodeAt(0))&&_({},sr.UnterminatedRegExp)}for(p||_({},sr.UnterminatedRegExp),o=e.substr(1,e.length-2),i="";vr>hr&&(n=dr[hr],u(n.charCodeAt(0)));)if(++hr,"\\"===n&&vr>hr)if(n=dr[hr],"u"===n)if(++hr,c=hr,n=h("u"))for(i+=n,e+="\\u";hr>c;++c)e+=dr[c];else hr=c,i+="u",e+="\\u";else e+="\\";else i+=n,e+=n;try{s=new RegExp(o,i)}catch(d){_({},sr.InvalidRegExp)}return k(),xr.tokenize?{type:nr.RegularExpression,value:s,lineNumber:mr,lineStart:gr,range:[r,hr]}:{literal:e,value:s,range:[r,hr]}}function R(e){return e.type===nr.Identifier||e.type===nr.Keyword||e.type===nr.BooleanLiteral||e.type===nr.NullLiteral}function N(){var e,t;if(e=xr.tokens[xr.tokens.length-1],!e)return M();if("Punctuator"===e.type){if(")"===e.value)return t=xr.tokens[xr.openParenToken-1],!t||"Keyword"!==t.type||"if"!==t.value&&"while"!==t.value&&"for"!==t.value&&"with"!==t.value?b():M();if("}"===e.value){if(xr.tokens[xr.openCurlyToken-3]&&"Keyword"===xr.tokens[xr.openCurlyToken-3].type){if(t=xr.tokens[xr.openCurlyToken-4],!t)return b()}else{if(!xr.tokens[xr.openCurlyToken-4]||"Keyword"!==xr.tokens[xr.openCurlyToken-4].type)return b();if(t=xr.tokens[xr.openCurlyToken-5],!t)return M()}return or.indexOf(t.value)>=0?b():M()}return M()}return"Keyword"===e.type?M():b()}function D(){var e;return Cr.inXJSChild||f(),hr>=vr?{type:nr.EOF,lineNumber:mr,lineStart:gr,range:[hr,hr]}:Cr.inXJSChild?kn():(e=dr.charCodeAt(hr),40===e||41===e||58===e?b():39===e||34===e?Cr.inXJSTag?In():w():Cr.inXJSTag&&Tn(e)?Rn():96===e?S():s(e)?y():46===e?n(dr.charCodeAt(hr+1))?E():b():n(e)?E():xr.tokenize&&47===e?N():b())}function I(){var e;return e=br,hr=e.range[1],mr=e.lineNumber,gr=e.lineStart,br=D(),hr=e.range[1],mr=e.lineNumber,gr=e.lineStart,e}function k(){var e,t,n;e=hr,t=mr,n=gr,br=D(),hr=e,mr=t,gr=n}function A(){var e,t,n,r,o;return e="function"==typeof xr.advance?xr.advance:D,t=hr,n=mr,r=gr,null===br&&(br=e()),hr=br.range[1],mr=br.lineNumber,gr=br.lineStart,o=e(),hr=t,mr=n,gr=r,o}function O(){var e,t,n,r;return e=hr,t=mr,n=gr,f(),r=mr!==t,hr=e,mr=t,gr=n,r}function _(e,n){var r,o=Array.prototype.slice.call(arguments,2),i=n.replace(/%(\d)/g,function(e,n){return t(n>="===e||">>>="===e||"&="===e||"^="===e||"|="===e)}function W(){var e;return 59===dr.charCodeAt(hr)?void I():(e=mr,f(),mr===e?B(";")?void I():void(br.type===nr.EOF||B("}")||L(br)):void 0)}function X(e){return e.type===ir.Identifier||e.type===ir.MemberExpression}function V(e){return X(e)||e.type===ir.ObjectPattern||e.type===ir.ArrayPattern}function z(){var e,t=[],n=[],r=null,o=!0;for(j("[");!B("]");)"for"===br.value&&br.type===nr.Keyword?(o||_({},sr.ComprehensionError),F("for"),e=qt({ignoreBody:!0}),e.of=e.type===ir.ForOfStatement,e.type=ir.ComprehensionBlock,e.left.kind&&_({},sr.ComprehensionError),n.push(e)):"if"===br.value&&br.type===nr.Keyword?(o||_({},sr.ComprehensionError),U("if"),j("("),r=Ct(),j(")")):","===br.value&&br.type===nr.Punctuator?(o=!1,I(),t.push(null)):(e=rt(),t.push(e),e&&e.type===ir.SpreadElement?B("]")||_({},sr.ElementAfterSpreadElement):B("]")||F("for")||F("if")||(j(","),o=!1));return j("]"),r&&!n.length&&_({},sr.ComprehensionRequiresBlock),n.length?(1!==t.length&&_({},sr.ComprehensionError),{type:ir.ComprehensionExpression,filter:r,blocks:n,body:t[0]}):yr.createArrayExpression(t)}function J(e){var t,n,r,o,i;return t=fr,n=Cr.yieldAllowed,Cr.yieldAllowed=e.generator,r=e.params||[],o=e.defaults||[],i=en(),e.name&&fr&&p(r[0].name)&&P(e.name,sr.StrictParamName),Cr.yieldAllowed&&!Cr.yieldFound&&P({},sr.NoYieldInGenerator),fr=t,Cr.yieldAllowed=n,yr.createFunctionExpression(null,r,o,i,e.rest||null,e.generator,i.type!==ir.BlockStatement,e.returnTypeAnnotation)}function $(e){var t,n,r;return t=fr,fr=!0,n=on(),n.stricted&&P(n.stricted,n.message),r=J({params:n.params,defaults:n.defaults,rest:n.rest,generator:e.generator,returnTypeAnnotation:n.returnTypeAnnotation}),fr=t,r}function K(){var e=I();return e.type===nr.StringLiteral||e.type===nr.NumericLiteral?(fr&&e.octal&&P(e,sr.StrictOctalLiteral),yr.createLiteral(e)):yr.createIdentifier(e.value)}function G(){var e,t,n,r;return e=br,e.type===nr.Identifier?(n=K(),"get"!==e.value||B(":")||B("(")?"set"!==e.value||B(":")||B("(")?B(":")?(I(),yr.createProperty("init",n,bt(),!1,!1)):B("(")?yr.createProperty("init",n,$({generator:!1}),!0,!1):yr.createProperty("init",n,n,!1,!0):(t=K(),j("("),e=br,r=[Tt()],j(")"),yr.createProperty("set",t,J({params:r,generator:!1,name:e}),!1,!1)):(t=K(),j("("),j(")"),yr.createProperty("get",t,J({generator:!1}),!1,!1))):e.type===nr.EOF||e.type===nr.Punctuator?(B("*")||L(e),I(),n=K(),B("(")||L(I()),yr.createProperty("init",n,$({generator:!0}),!0,!1)):(t=K(),B(":")?(I(),yr.createProperty("init",t,bt(),!1,!1)):B("(")?yr.createProperty("init",t,$({generator:!1}),!0,!1):void L(I()))}function Y(){var e,t,n,r,o=[],i={},a=String;for(j("{");!B("}");)e=G(),t=e.key.type===ir.Identifier?e.key.name:a(e.key.value),r="init"===e.kind?ar.Data:"get"===e.kind?ar.Get:ar.Set,n="$"+t,Object.prototype.hasOwnProperty.call(i,n)?(i[n]===ar.Data?fr&&r===ar.Data?P({},sr.StrictDuplicateProperty):r!==ar.Data&&P({},sr.AccessorDataProperty):r===ar.Data?P({},sr.AccessorDataProperty):i[n]&r&&P({},sr.AccessorGetSet),i[n]|=r):i[n]=r,o.push(e),B("}")||j(",");return j("}"),yr.createObjectExpression(o)}function Q(e){var t=T(e);return fr&&t.octal&&_(t,sr.StrictOctalLiteral),yr.createTemplateElement({raw:t.value.raw,cooked:t.value.cooked},t.tail)}function Z(){var e,t,n;for(e=Q({head:!0}),t=[e],n=[];!e.tail;)n.push(Ct()),e=Q({head:!1}),t.push(e);return yr.createTemplateLiteral(t,n)}function et(){var e;return j("("),++Cr.parenthesizedCount,e=Ct(),j(")"),e}function tt(){var e,t;if(t=br,e=br.type,e===nr.Identifier)return I(),yr.createIdentifier(t.value);if(e===nr.StringLiteral||e===nr.NumericLiteral)return fr&&br.octal&&P(br,sr.StrictOctalLiteral),yr.createLiteral(I());if(e===nr.Keyword){if(F("this"))return I(),yr.createThisExpression();if(F("function"))return sn();if(F("class"))return dn();if(F("super"))return I(),yr.createIdentifier("super")}return e===nr.BooleanLiteral?(t=I(),t.value="true"===t.value,yr.createLiteral(t)):e===nr.NullLiteral?(t=I(),t.value=null,yr.createLiteral(t)):B("[")?z():B("{")?Y():B("(")?et():B("/")||B("/=")?yr.createLiteral(M()):e===nr.Template?Z():B("<")?Fn():L(I())}function nt(){var e,t=[];if(j("("),!B(")"))for(;vr>hr&&(e=rt(),t.push(e),!B(")"));)e.type===ir.SpreadElement&&_({},sr.ElementAfterSpreadElement),j(",");return j(")"),t}function rt(){return B("...")?(I(),yr.createSpreadElement(bt())):bt()}function ot(){var e=I();return R(e)||L(e),yr.createIdentifier(e.value)}function it(){return j("."),ot()}function at(){var e;return j("["),e=Ct(),j("]"),e}function st(){var e,t;return U("new"),e=ct(),t=B("(")?nt():[],yr.createNewExpression(e,t)}function ut(){var e,t;for(e=F("new")?st():tt();B(".")||B("[")||B("(")||br.type===nr.Template;)B("(")?(t=nt(),e=yr.createCallExpression(e,t)):e=B("[")?yr.createMemberExpression("[",e,at()):B(".")?yr.createMemberExpression(".",e,it()):yr.createTaggedTemplateExpression(e,Z());return e}function ct(){var e;for(e=F("new")?st():tt();B(".")||B("[")||br.type===nr.Template;)e=B("[")?yr.createMemberExpression("[",e,at()):B(".")?yr.createMemberExpression(".",e,it()):yr.createTaggedTemplateExpression(e,Z());return e}function lt(){var e=ut(),t=br;return br.type!==nr.Punctuator?e:(!B("++")&&!B("--")||O()||(fr&&e.type===ir.Identifier&&p(e.name)&&P({},sr.StrictLHSPostfix),X(e)||_({},sr.InvalidLHSInAssignment),t=I(),e=yr.createPostfixExpression(t.value,e)),e)}function pt(){var e,t;return br.type!==nr.Punctuator&&br.type!==nr.Keyword?lt():B("++")||B("--")?(e=I(),t=pt(),fr&&t.type===ir.Identifier&&p(t.name)&&P({},sr.StrictLHSPrefix),X(t)||_({},sr.InvalidLHSInAssignment),yr.createUnaryExpression(e.value,t)):B("+")||B("-")||B("~")||B("!")?(e=I(),t=pt(),yr.createUnaryExpression(e.value,t)):F("delete")||F("void")||F("typeof")?(e=I(),t=pt(),t=yr.createUnaryExpression(e.value,t),fr&&"delete"===t.operator&&t.argument.type===ir.Identifier&&P({},sr.StrictDelete),t):lt()}function dt(e,t){var n=0;if(e.type!==nr.Punctuator&&e.type!==nr.Keyword)return 0;switch(e.value){case"||":n=1;break;case"&&":n=2;break;case"|":n=3;break;case"^":n=4;break;case"&":n=5;break;case"==":case"!=":case"===":case"!==":n=6;break;case"<":case">":case"<=":case">=":case"instanceof":n=7;break;case"in":n=t?7:0;break;case"<<":case">>":case">>>":n=8;break;case"+":case"-":n=9;break;case"*":case"/":case"%":n=11}return n}function ft(){var e,t,n,r,o,i,a,s,u;if(r=Cr.allowIn,Cr.allowIn=!0,e=pt(),t=br,n=dt(t,r),0===n)return e;for(t.prec=n,I(),o=[e,t,pt()];(n=dt(br,r))>0;){for(;o.length>2&&n<=o[o.length-2].prec;)i=o.pop(),a=o.pop().value,s=o.pop(),o.push(yr.createBinaryExpression(a,s,i));t=I(),t.prec=n,o.push(t),o.push(pt())}for(Cr.allowIn=r,u=o.length-1,e=o[u];u>1;)e=yr.createBinaryExpression(o[u-1].value,o[u-2],e),u-=2;return e}function ht(){var e,t,n,r;return e=ft(),B("?")&&(I(),t=Cr.allowIn,Cr.allowIn=!0,n=bt(),Cr.allowIn=t,j(":"),r=bt(),e=yr.createConditionalExpression(e,n,r)),e}function mt(e){var t,n,r,o;if(e.type===ir.ObjectExpression)for(e.type=ir.ObjectPattern,t=0,n=e.properties.length;n>t;t+=1)r=e.properties[t],"init"!==r.kind&&_({},sr.InvalidLHSInAssignment),mt(r.value);else if(e.type===ir.ArrayExpression)for(e.type=ir.ArrayPattern,t=0,n=e.elements.length;n>t;t+=1)o=e.elements[t],o&&mt(o);else e.type===ir.Identifier?p(e.name)&&_({},sr.InvalidLHSInAssignment):e.type===ir.SpreadElement?(mt(e.argument),e.argument.type===ir.ObjectPattern&&_({},sr.ObjectPatternAsSpread)):e.type!==ir.MemberExpression&&e.type!==ir.CallExpression&&e.type!==ir.NewExpression&&_({},sr.InvalidLHSInAssignment)}function gt(e,t){var n,r,o,i;if(t.type===ir.ObjectExpression)for(t.type=ir.ObjectPattern,n=0,r=t.properties.length;r>n;n+=1)o=t.properties[n],"init"!==o.kind&&_({},sr.InvalidLHSInFormalsList),gt(e,o.value);else if(t.type===ir.ArrayExpression)for(t.type=ir.ArrayPattern,n=0,r=t.elements.length;r>n;n+=1)i=t.elements[n],i&>(e,i);else t.type===ir.Identifier?nn(e,t,t.name):t.type!==ir.MemberExpression&&_({},sr.InvalidLHSInFormalsList)}function vt(e){var n,r,o,i,a,s,u,c;for(i=[],a=[],s=0,c=null,u={paramSet:{}},n=0,r=e.length;r>n;n+=1)if(o=e[n],o.type===ir.Identifier)i.push(o),a.push(null),nn(u,o,o.name);else if(o.type===ir.ObjectExpression||o.type===ir.ArrayExpression)gt(u,o),i.push(o),a.push(null);else if(o.type===ir.SpreadElement)t(n===r-1,"It is guaranteed that SpreadElement is last element by parseExpression"),gt(u,o.argument),c=o.argument;else{if(o.type!==ir.AssignmentExpression)return null;i.push(o.left),a.push(o.right),++s,nn(u,o.left,o.left.name)}return u.message===sr.StrictParamDupe&&_(fr?u.stricted:u.firstRestricted,u.message),0===s&&(a=[]),{params:i,defaults:a,rest:c,stricted:u.stricted,firstRestricted:u.firstRestricted,message:u.message}}function yt(e){var t,n,r;return j("=>"),t=fr,n=Cr.yieldAllowed,Cr.yieldAllowed=!1,r=en(),fr&&e.firstRestricted&&_(e.firstRestricted,e.message),fr&&e.stricted&&P(e.stricted,e.message),fr=t,Cr.yieldAllowed=n,yr.createArrowFunctionExpression(e.params,e.defaults,r,e.rest,r.type!==ir.BlockStatement)}function bt(){var e,t,n,r;return F("yield")?un():(r=Cr.parenthesizedCount,B("(")&&(t=A(),t.type===nr.Punctuator&&")"===t.value||"..."===t.value)?(n=on(),B("=>")||L(I()),yt(n)):(t=br,e=ht(),B("=>")&&(Cr.parenthesizedCount===r||Cr.parenthesizedCount===r+1)&&(e.type===ir.Identifier?n=vt([e]):e.type===ir.SequenceExpression&&(n=vt(e.expressions)),n)?yt(n):(q()&&(fr&&e.type===ir.Identifier&&p(e.name)&&P(t,sr.StrictLHSAssignment),!B("=")||e.type!==ir.ObjectExpression&&e.type!==ir.ArrayExpression?X(e)||_({},sr.InvalidLHSInAssignment):mt(e),e=yr.createAssignmentExpression(I().value,e,bt())),e)))}function Ct(){var e,t,n,r,o,i;if(i=Cr.parenthesizedCount,e=bt(),t=[e],B(",")){for(;vr>hr&&B(",");)if(I(),e=rt(),t.push(e),e.type===ir.SpreadElement){o=!0,B(")")||_({},sr.ElementAfterSpreadElement);break}n=yr.createSequenceExpression(t)}if(B("=>")){if((Cr.parenthesizedCount===i||Cr.parenthesizedCount===i+1)&&(e=e.type===ir.SequenceExpression?e.expressions:t,r=vt(e)))return yt(r);L(I())}return o&&"=>"!==A().value&&_({},sr.IllegalSpread),n||e}function xt(){for(var e,t=[];vr>hr&&!B("}")&&(e=mn(),"undefined"!=typeof e);)t.push(e);return t}function Et(){var e;return j("{"),e=xt(),j("}"),yr.createBlockStatement(e)}function wt(e){var t=null,n=null,r=null,o=!1;if(e||j(":"),B("?")&&(I(),o=!0),br.type===nr.Identifier&&(t=St()),B("(")){for(I(),n=[];br.type===nr.Identifier||B("?");)n.push(wt(!0)),B(")")||j(",");j(")"),j("=>"),F("void")?I():r=wt(!0)}return yr.createTypeAnnotation(t,n,r,o)}function St(){var e=I();return e.type!==nr.Identifier&&L(e),yr.createIdentifier(e.value)}function Tt(){var e=St();return B(":")?yr.createTypeAnnotatedIdentifier(e,wt()):e}function Mt(e){var t,n=null;return B("{")?(t=Y(),mt(t)):B("[")?(t=z(),mt(t)):(t=Cr.allowKeyword?ot():Tt(),fr&&p(t.name)&&P({},sr.StrictVarName)),"const"===e?(B("=")||_({},sr.NoUnintializedConst),j("="),n=bt()):B("=")&&(I(),n=bt()),yr.createVariableDeclarator(t,n)}function Rt(e){var t=[];do{if(t.push(Mt(e)),!B(","))break;I()}while(vr>hr);return t}function Nt(){var e;return U("var"),e=Rt(),W(),yr.createVariableDeclaration(e,"var")}function Dt(e){var t;return U(e),t=Rt(e),W(),yr.createVariableDeclaration(t,e)}function It(){var e,t,n;switch(I(),O()&&_({},sr.NewlineAfterModule),br.type){case nr.StringLiteral:e=tt(),n=Cn(),t=null;break;case nr.Identifier:e=St(),n=null,H("from")||L(I()),I(),t=tt(),t.type!==ir.Literal&&_({},sr.InvalidModuleSpecifier)}return W(),yr.createModuleDeclaration(e,t,n)}function kt(){return j("*"),yr.createExportBatchSpecifier()}function At(){var e,t=null;return e=St(),H("as")&&(I(),t=ot()),yr.createExportSpecifier(e,t)}function Ot(){var e,t,n,r;if(U("export"),br.type===nr.Keyword)switch(br.value){case"let":case"const":case"var":case"class":case"function":return yr.createExportDeclaration(mn(),null,null)}if(R(br))return e=Cr.allowKeyword,Cr.allowKeyword=!0,t=Rt("let"),Cr.allowKeyword=e,yr.createExportDeclaration(t,null,null);if(r=[],n=null,B("*"))r.push(kt());else{j("{");do r.push(At());while(B(",")&&I());j("}")}return H("from")&&(I(),n=tt(),n.type!==ir.Literal&&_({},sr.InvalidModuleSpecifier)),W(),yr.createExportDeclaration(null,r,n)}function _t(){var e,t,n;if(U("import"),e=[],R(br))t="default",e.push(Pt()),H("from")||_({},sr.NoFromAfterImport),I();else if(B("{")){t="named",I();do e.push(Pt());while(B(",")&&I());j("}"),H("from")||_({},sr.NoFromAfterImport),I()}return n=tt(),n.type!==ir.Literal&&_({},sr.InvalidModuleSpecifier),W(),yr.createImportDeclaration(e,t,n)}function Pt(){var e,t=null;return e=ot(),H("as")&&(I(),t=St()),yr.createImportSpecifier(e,t)}function Lt(){return j(";"),yr.createEmptyStatement()}function jt(){var e=Ct();return W(),yr.createExpressionStatement(e)}function Ut(){var e,t,n;return U("if"),j("("),e=Ct(),j(")"),t=Zt(),F("else")?(I(),n=Zt()):n=null,yr.createIfStatement(e,t,n)}function Bt(){var e,t,n;return U("do"),n=Cr.inIteration,Cr.inIteration=!0,e=Zt(),Cr.inIteration=n,U("while"),j("("),t=Ct(),j(")"),B(";")&&I(),yr.createDoWhileStatement(e,t)}function Ft(){var e,t,n;return U("while"),j("("),e=Ct(),j(")"),n=Cr.inIteration,Cr.inIteration=!0,t=Zt(),Cr.inIteration=n,yr.createWhileStatement(e,t)}function Ht(){var e=I(),t=Rt();return yr.createVariableDeclaration(t,e.value)}function qt(e){var t,n,r,o,i,a,s,u;return t=n=r=null,U("for"),H("each")&&_({},sr.EachNotAllowed),j("("),B(";")?I():(F("var")||F("let")||F("const")?(Cr.allowIn=!1,t=Ht(),Cr.allowIn=!0,1===t.declarations.length&&(F("in")||H("of"))&&(s=br,("in"!==s.value&&"var"===t.kind||!t.declarations[0].init)&&(I(),o=t,i=Ct(),t=null))):(Cr.allowIn=!1,t=Ct(),Cr.allowIn=!0,H("of")?(s=I(),o=t,i=Ct(),t=null):F("in")&&(V(t)||_({},sr.InvalidLHSInForIn),s=I(),o=t,i=Ct(),t=null)),"undefined"==typeof o&&j(";")),"undefined"==typeof o&&(B(";")||(n=Ct()),j(";"),B(")")||(r=Ct())),j(")"),u=Cr.inIteration,Cr.inIteration=!0,void 0!==e&&e.ignoreBody||(a=Zt()),Cr.inIteration=u,"undefined"==typeof o?yr.createForStatement(t,n,r,a):"in"===s.value?yr.createForInStatement(o,i,a):yr.createForOfStatement(o,i,a)}function Wt(){var e,t=null;return U("continue"),59===dr.charCodeAt(hr)?(I(),Cr.inIteration||_({},sr.IllegalContinue),yr.createContinueStatement(null)):O()?(Cr.inIteration||_({},sr.IllegalContinue),yr.createContinueStatement(null)):(br.type===nr.Identifier&&(t=St(),e="$"+t.name,Object.prototype.hasOwnProperty.call(Cr.labelSet,e)||_({},sr.UnknownLabel,t.name)),W(),null!==t||Cr.inIteration||_({},sr.IllegalContinue),yr.createContinueStatement(t))}function Xt(){var e,t=null;return U("break"),59===dr.charCodeAt(hr)?(I(),Cr.inIteration||Cr.inSwitch||_({},sr.IllegalBreak),yr.createBreakStatement(null)):O()?(Cr.inIteration||Cr.inSwitch||_({},sr.IllegalBreak),yr.createBreakStatement(null)):(br.type===nr.Identifier&&(t=St(),e="$"+t.name,Object.prototype.hasOwnProperty.call(Cr.labelSet,e)||_({},sr.UnknownLabel,t.name)),W(),null!==t||Cr.inIteration||Cr.inSwitch||_({},sr.IllegalBreak),yr.createBreakStatement(t))}function Vt(){var e=null;return U("return"),Cr.inFunctionBody||P({},sr.IllegalReturn),32===dr.charCodeAt(hr)&&s(dr.charCodeAt(hr+1))?(e=Ct(),W(),yr.createReturnStatement(e)):O()?yr.createReturnStatement(null):(B(";")||B("}")||br.type===nr.EOF||(e=Ct()),W(),yr.createReturnStatement(e))}function zt(){var e,t;return fr&&P({},sr.StrictModeWith),U("with"),j("("),e=Ct(),j(")"),t=Zt(),yr.createWithStatement(e,t)}function Jt(){var e,t,n=[];for(F("default")?(I(),e=null):(U("case"),e=Ct()),j(":");vr>hr&&!(B("}")||F("default")||F("case"))&&(t=mn(),"undefined"!=typeof t);)n.push(t);return yr.createSwitchCase(e,n)}function $t(){var e,t,n,r,o;if(U("switch"),j("("),e=Ct(),j(")"),j("{"),t=[],B("}"))return I(),yr.createSwitchStatement(e,t);for(r=Cr.inSwitch,Cr.inSwitch=!0,o=!1;vr>hr&&!B("}");)n=Jt(),null===n.test&&(o&&_({},sr.MultipleDefaultsInSwitch),o=!0),t.push(n);return Cr.inSwitch=r,j("}"),yr.createSwitchStatement(e,t)}function Kt(){var e;return U("throw"),O()&&_({},sr.NewlineAfterThrow),e=Ct(),W(),yr.createThrowStatement(e)}function Gt(){var e,t;return U("catch"),j("("),B(")")&&L(br),e=Ct(),fr&&e.type===ir.Identifier&&p(e.name)&&P({},sr.StrictCatchVariable),j(")"),t=Et(),yr.createCatchClause(e,t)}function Yt(){var e,t=[],n=null;return U("try"),e=Et(),F("catch")&&t.push(Gt()),F("finally")&&(I(),n=Et()),0!==t.length||n||_({},sr.NoCatchOrFinally),yr.createTryStatement(e,[],t,n)}function Qt(){return U("debugger"),W(),yr.createDebuggerStatement()}function Zt(){var e,t,n,r=br.type;if(r===nr.EOF&&L(br),r===nr.Punctuator)switch(br.value){case";":return Lt();case"{":return Et();case"(":return jt()}if(r===nr.Keyword)switch(br.value){case"break":return Xt();case"continue":return Wt();case"debugger":return Qt();case"do":return Bt();case"for":return qt();case"function":return an();case"class":return fn();case"if":return Ut();case"return":return Vt();case"switch":return $t();case"throw":return Kt();case"try":return Yt();case"var":return Nt();case"while":return Ft();case"with":return zt()}return e=Ct(),e.type===ir.Identifier&&B(":")?(I(),n="$"+e.name,Object.prototype.hasOwnProperty.call(Cr.labelSet,n)&&_({},sr.Redeclaration,"Label",e.name),Cr.labelSet[n]=!0,t=Zt(),delete Cr.labelSet[n],yr.createLabeledStatement(e,t)):(W(),yr.createExpressionStatement(e))}function en(){return B("{")?tn():bt()}function tn(){var e,t,n,r,o,i,a,s,u,c=[];for(j("{");vr>hr&&br.type===nr.StringLiteral&&(t=br,e=mn(),c.push(e),e.expression.type===ir.Literal);)n=dr.slice(t.range[0]+1,t.range[1]-1),"use strict"===n?(fr=!0,r&&P(r,sr.StrictOctalLiteral)):!r&&t.octal&&(r=t);for(o=Cr.labelSet,i=Cr.inIteration,a=Cr.inSwitch,s=Cr.inFunctionBody,u=Cr.parenthesizedCount,Cr.labelSet={},Cr.inIteration=!1,Cr.inSwitch=!1,Cr.inFunctionBody=!0,Cr.parenthesizedCount=0;vr>hr&&!B("}")&&(e=mn(),"undefined"!=typeof e);)c.push(e);return j("}"),Cr.labelSet=o,Cr.inIteration=i,Cr.inSwitch=a,Cr.inFunctionBody=s,Cr.parenthesizedCount=u,yr.createBlockStatement(c)}function nn(e,t,n){var r="$"+n;fr?(p(n)&&(e.stricted=t,e.message=sr.StrictParamName),Object.prototype.hasOwnProperty.call(e.paramSet,r)&&(e.stricted=t,e.message=sr.StrictParamDupe)):e.firstRestricted||(p(n)?(e.firstRestricted=t,e.message=sr.StrictParamName):l(n)?(e.firstRestricted=t,e.message=sr.StrictReservedWord):Object.prototype.hasOwnProperty.call(e.paramSet,r)&&(e.firstRestricted=t,e.message=sr.StrictParamDupe)),e.paramSet[r]=!0}function rn(e){var t,n,r,o;return t=br,"..."===t.value&&(t=I(),n=!0),B("[")?(r=z(),gt(e,r)):B("{")?(n&&_({},sr.ObjectPatternAsRestParameter),r=Y(),gt(e,r)):(r=n?St():Tt(),nn(e,t,t.value),B("=")&&(n&&P(br,sr.DefaultRestParameter),I(),o=bt(),++e.defaultCount)),n?(B(")")||_({},sr.ParameterAfterRestParameter),e.rest=r,!1):(e.params.push(r),e.defaults.push(o),!B(")"))}function on(e){var t;if(t={params:[],defaultCount:0,defaults:[],rest:null,firstRestricted:e},j("("),!B(")"))for(t.paramSet={};vr>hr&&rn(t);)j(",");return j(")"),0===t.defaultCount&&(t.defaults=[]),B(":")&&(t.returnTypeAnnotation=wt()),t}function an(){var e,t,n,r,o,i,a,s,u;return U("function"),u=!1,B("*")&&(I(),u=!0),n=br,e=St(),fr?p(n.value)&&P(n,sr.StrictFunctionName):p(n.value)?(o=n,i=sr.StrictFunctionName):l(n.value)&&(o=n,i=sr.StrictReservedWord),r=on(o),o=r.firstRestricted,r.message&&(i=r.message),a=fr,s=Cr.yieldAllowed,Cr.yieldAllowed=u,t=tn(),fr&&o&&_(o,i),fr&&r.stricted&&P(r.stricted,i),Cr.yieldAllowed&&!Cr.yieldFound&&P({},sr.NoYieldInGenerator),fr=a,Cr.yieldAllowed=s,yr.createFunctionDeclaration(e,r.params,r.defaults,t,r.rest,u,!1,r.returnTypeAnnotation)}function sn(){var e,t,n,r,o,i,a,s,u=null;return U("function"),s=!1,B("*")&&(I(),s=!0),B("(")||(e=br,u=St(),fr?p(e.value)&&P(e,sr.StrictFunctionName):p(e.value)?(t=e,n=sr.StrictFunctionName):l(e.value)&&(t=e,n=sr.StrictReservedWord)),r=on(t),t=r.firstRestricted,r.message&&(n=r.message),i=fr,a=Cr.yieldAllowed,Cr.yieldAllowed=s,o=tn(),fr&&t&&_(t,n),fr&&r.stricted&&P(r.stricted,n),Cr.yieldAllowed&&!Cr.yieldFound&&P({},sr.NoYieldInGenerator),fr=i,Cr.yieldAllowed=a,yr.createFunctionExpression(u,r.params,r.defaults,o,r.rest,s,!1,r.returnTypeAnnotation)
}function un(){var e,t;return U("yield"),Cr.yieldAllowed||P({},sr.IllegalYield),e=!1,B("*")&&(I(),e=!0),t=bt(),Cr.yieldFound=!0,yr.createYieldExpression(t,e)}function cn(e){var t,n,r,o,i=!1;return"static"===br.value?(o=pr["static"],I()):o=pr.prototype,B("*")?(I(),yr.createMethodDefinition(o,"",K(),$({generator:!0}))):(t=br,n=K(),"get"!==t.value||B("(")?"set"!==t.value||B("(")?(e[o].hasOwnProperty(n.name)?_(n,sr.IllegalDuplicateClassProperty):e[o][n.name]={},e[o][n.name].data=!0,yr.createMethodDefinition(o,"",n,$({generator:!1}))):(n=K(),e[o].hasOwnProperty(n.name)?(i=void 0===e[o][n.name].set&&void 0===e[o][n.name].data&&void 0!==e[o][n.name].get,i||_(n,sr.IllegalDuplicateClassProperty)):e[o][n.name]={},e[o][n.name].set=!0,j("("),t=br,r=[Tt()],j(")"),yr.createMethodDefinition(o,"set",n,J({params:r,generator:!1,name:t}))):(n=K(),e[o].hasOwnProperty(n.name)?(i=void 0===e[o][n.name].get&&void 0===e[o][n.name].data&&void 0!==e[o][n.name].set,i||_(n,sr.IllegalDuplicateClassProperty)):e[o][n.name]={},e[o][n.name].get=!0,j("("),j(")"),yr.createMethodDefinition(o,"get",n,J({generator:!1}))))}function ln(e){return B(";")?void I():cn(e)}function pn(){var e,t=[],n={};for(n[pr["static"]]={},n[pr.prototype]={},j("{");vr>hr&&!B("}");)e=ln(n),"undefined"!=typeof e&&t.push(e);return j("}"),yr.createClassBody(t)}function dn(){var e,t,n=null;return U("class"),F("extends")||B("{")||(e=St()),F("extends")&&(U("extends"),t=Cr.yieldAllowed,Cr.yieldAllowed=!1,n=bt(),Cr.yieldAllowed=t),yr.createClassExpression(e,n,pn())}function fn(){var e,t,n=null;return U("class"),e=St(),F("extends")&&(U("extends"),t=Cr.yieldAllowed,Cr.yieldAllowed=!1,n=bt(),Cr.yieldAllowed=t),yr.createClassDeclaration(e,n,pn())}function hn(){var e;return H("module")?(e=A(),e.type===nr.StringLiteral||e.type===nr.Identifier):!1}function mn(){if(br.type===nr.Keyword)switch(br.value){case"const":case"let":return Dt(br.value);case"function":return an();case"export":return Ot();case"import":return _t();default:return Zt()}return hn()&&_({},sr.NestedModule),br.type!==nr.EOF?Zt():void 0}function gn(){if(br.type===nr.Keyword)switch(br.value){case"export":return Ot();case"import":return _t()}return hn()?It():mn()}function vn(){for(var e,t,n,r,o=[];vr>hr&&(t=br,t.type===nr.StringLiteral)&&(e=gn(),o.push(e),e.expression.type===ir.Literal);)n=dr.slice(t.range[0]+1,t.range[1]-1),"use strict"===n?(fr=!0,r&&P(r,sr.StrictOctalLiteral)):!r&&t.octal&&(r=t);for(;vr>hr&&(e=gn(),"undefined"!=typeof e);)o.push(e);return o}function yn(){return mn()}function bn(){for(var e,t=[];vr>hr&&!B("}")&&(e=yn(),"undefined"!=typeof e);)t.push(e);return t}function Cn(){var e;return j("{"),e=bn(),j("}"),yr.createBlockStatement(e)}function xn(){var e;return fr=!1,k(),e=vn(),yr.createProgram(e)}function En(e,n,r,o,i){t("number"==typeof r,"Comment must have valid position"),xr.comments.length>0&&xr.comments[xr.comments.length-1].range[1]>r||xr.comments.push({type:e,value:n,range:[r,o],loc:i})}function wn(){var e,t,n,r,o,s;for(e="",o=!1,s=!1;vr>hr;)if(t=dr[hr],s)t=dr[hr++],a(t.charCodeAt(0))?(n.end={line:mr,column:hr-gr-1},s=!1,En("Line",e,r,hr-1,n),"\r"===t&&"\n"===dr[hr]&&++hr,++mr,gr=hr,e=""):hr>=vr?(s=!1,e+=t,n.end={line:mr,column:vr-gr},En("Line",e,r,vr,n)):e+=t;else if(o)a(t.charCodeAt(0))?("\r"===t&&"\n"===dr[hr+1]?(++hr,e+="\r\n"):e+=t,++mr,++hr,gr=hr,hr>=vr&&_({},sr.UnexpectedToken,"ILLEGAL")):(t=dr[hr++],hr>=vr&&_({},sr.UnexpectedToken,"ILLEGAL"),e+=t,"*"===t&&(t=dr[hr],"/"===t&&(e=e.substr(0,e.length-1),o=!1,++hr,n.end={line:mr,column:hr-gr},En("Block",e,r,hr,n),e="")));else if("/"===t)if(t=dr[hr+1],"/"===t)n={start:{line:mr,column:hr-gr}},r=hr,hr+=2,s=!0,hr>=vr&&(n.end={line:mr,column:hr-gr},s=!1,En("Line",e,r,hr,n));else{if("*"!==t)break;r=hr,hr+=2,o=!0,n={start:{line:mr,column:hr-gr-2}},hr>=vr&&_({},sr.UnexpectedToken,"ILLEGAL")}else if(i(t.charCodeAt(0)))++hr;else{if(!a(t.charCodeAt(0)))break;++hr,"\r"===t&&"\n"===dr[hr]&&++hr,++mr,gr=hr}}function Sn(){var e,t,n,r=[];for(e=0;ehr&&(e=dr.charCodeAt(hr),Mn(e));)r+=dr[hr++];if(58===e)for(++hr,n=r,r="";vr>hr&&(e=dr.charCodeAt(hr),Mn(e));)r+=dr[hr++];return r||_({},sr.InvalidXJSTagName),{type:nr.XJSIdentifier,value:r,namespace:n,lineNumber:mr,lineStart:gr,range:[t,hr]}}function Nn(){var e,n,r="",o=0;for(e=dr[hr],t("&"===e,"Entity must start with an ampersand"),hr++;vr>hr&&o++<10&&(e=dr[hr++],";"!==e);)r+=e;return n="#"===r[0]&&"x"===r[1]?String.fromCharCode(parseInt(r.substr(2),16)):"#"===r[0]?String.fromCharCode(parseInt(r.substr(1),10)):lr[r]}function Dn(e){var t,n,r="";for(n=hr;vr>hr&&(t=dr[hr],-1===e.indexOf(t));)"&"===t?r+=Nn():(t=dr[hr++],a(t.charCodeAt(0))&&(++mr,gr=hr),r+=t);return{type:nr.XJSText,value:r,lineNumber:mr,lineStart:gr,range:[n,hr]}}function In(){var e,n,r;return n=dr[hr],t("'"===n||'"'===n,"String literal must starts with a quote"),r=hr,++hr,e=Dn([n]),n!==dr[hr]&&_({},sr.UnexpectedToken,"ILLEGAL"),++hr,e.range=[r,hr],e}function kn(){var e=dr.charCodeAt(hr);return 123!==e&&60!==e?Dn(["<","{"]):b()}function An(){var e;return br.type!==nr.XJSIdentifier&&L(br),e=I(),yr.createXJSIdentifier(e.value,e.namespace)}function On(){var e;return B("{")?(e=Pn(),e.expression.type===ir.XJSEmptyExpression&&_(e,"XJS attributes must only be assigned a non-empty expression")):B("<")?e=Fn():br.type===nr.XJSText?e=yr.createLiteral(I()):_({},sr.InvalidXJSAttributeValue),e}function _n(){for(;"}"!==dr.charAt(hr);)hr++;return yr.createXJSEmptyExpression()}function Pn(){var e,t,n;return t=Cr.inXJSChild,n=Cr.inXJSTag,Cr.inXJSChild=!1,Cr.inXJSTag=!1,j("{"),e=B("}")?_n():Ct(),Cr.inXJSChild=t,Cr.inXJSTag=n,j("}"),yr.createXJSExpressionContainer(e)}function Ln(){var e;return e=An(),B("=")?(I(),yr.createXJSAttribute(e,On())):yr.createXJSAttribute(e)}function jn(){var e;return e=B("{")?Pn():br.type===nr.XJSText?yr.createLiteral(I()):Fn()}function Un(){var e,t,n;return t=Cr.inXJSChild,n=Cr.inXJSTag,Cr.inXJSChild=!1,Cr.inXJSTag=!0,j("<"),j("/"),e=An(),Cr.inXJSChild=t,Cr.inXJSTag=n,j(">"),yr.createXJSClosingElement(e)}function Bn(){var e,t,n,r=[],o=!1;for(t=Cr.inXJSChild,n=Cr.inXJSTag,Cr.inXJSChild=!1,Cr.inXJSTag=!0,j("<"),e=An();vr>hr&&"/"!==br.value&&">"!==br.value;)r.push(Ln());return Cr.inXJSTag=n,"/"===br.value?(j("/"),Cr.inXJSChild=t,j(">"),o=!0):(Cr.inXJSChild=!0,j(">")),yr.createXJSOpeningElement(e,r,o)}function Fn(){var e,t,n,r,o=[];if(n=Cr.inXJSChild,r=Cr.inXJSTag,e=Bn(),!e.selfClosing){for(;vr>hr&&(Cr.inXJSChild=!1,"<"!==br.value||"/"!==A().value);)Cr.inXJSChild=!0,k(),o.push(jn());Cr.inXJSChild=n,Cr.inXJSTag=r,t=Un(),(t.name.namespace!==e.name.namespace||t.name.name!==e.name.name)&&_({},sr.ExpectedXJSClosingTag,e.name.namespace?e.name.namespace+":"+e.name.name:e.name.name)}return yr.createXJSElement(e,t,o)}function Hn(){var e,t,n,r,o;return f(),e=hr,t={start:{line:mr,column:hr-gr}},n=xr.advance(),t.end={line:mr,column:hr-gr},n.type!==nr.EOF&&(r=[n.range[0],n.range[1]],o=dr.slice(n.range[0],n.range[1]),xr.tokens.push({type:rr[n.type],value:o,range:r,loc:t})),n}function qn(){var e,t,n,r;return f(),e=hr,t={start:{line:mr,column:hr-gr}},n=xr.scanRegExp(),t.end={line:mr,column:hr-gr},xr.tokenize||(xr.tokens.length>0&&(r=xr.tokens[xr.tokens.length-1],r.range[0]===e&&"Punctuator"===r.type&&("/"===r.value||"/="===r.value)&&xr.tokens.pop()),xr.tokens.push({type:"RegularExpression",value:n.literal,range:[e,hr],loc:t})),n}function Wn(){var e,t,n,r=[];for(e=0;e0?1:0,gr=0,vr=dr.length,br=null,Cr={allowKeyword:!0,allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1},xr={},t=t||{},t.tokens=!0,xr.tokens=[],xr.tokenize=!0,xr.openParenToken=-1,xr.openCurlyToken=-1,xr.range="boolean"==typeof t.range&&t.range,xr.loc="boolean"==typeof t.loc&&t.loc,"boolean"==typeof t.comment&&t.comment&&(xr.comments=[]),"boolean"==typeof t.tolerant&&t.tolerant&&(xr.errors=[]),vr>0&&"undefined"==typeof dr[0]&&e instanceof String&&(dr=e.valueOf()),Yn();try{if(k(),br.type===nr.EOF)return xr.tokens;for(r=I();br.type!==nr.EOF;)try{r=I()}catch(i){if(r=br,xr.errors){xr.errors.push(i);break}throw i}Wn(),o=xr.tokens,"undefined"!=typeof xr.comments&&(Sn(),o.comments=xr.comments),"undefined"!=typeof xr.errors&&(o.errors=xr.errors)}catch(a){throw a}finally{Qn(),xr={}}return o}function tr(e,t){var n,r;r=String,"string"==typeof e||e instanceof String||(e=r(e)),yr=cr,dr=e,hr=0,mr=dr.length>0?1:0,gr=0,vr=dr.length,br=null,Cr={allowKeyword:!1,allowIn:!0,labelSet:{},parenthesizedCount:0,inFunctionBody:!1,inIteration:!1,inSwitch:!1,inXJSChild:!1,inXJSTag:!1,yieldAllowed:!1,yieldFound:!1},xr={},"undefined"!=typeof t&&(xr.range="boolean"==typeof t.range&&t.range,xr.loc="boolean"==typeof t.loc&&t.loc,xr.loc&&null!==t.source&&void 0!==t.source&&(yr=Zn(yr,{postProcess:function(e){return e.loc.source=r(t.source),e}})),"boolean"==typeof t.tokens&&t.tokens&&(xr.tokens=[]),"boolean"==typeof t.comment&&t.comment&&(xr.comments=[]),"boolean"==typeof t.tolerant&&t.tolerant&&(xr.errors=[])),vr>0&&"undefined"==typeof dr[0]&&e instanceof String&&(dr=e.valueOf()),Yn();try{n=xn(),"undefined"!=typeof xr.comments&&(Sn(),n.comments=xr.comments),"undefined"!=typeof xr.tokens&&(Wn(),n.tokens=xr.tokens),"undefined"!=typeof xr.errors&&(n.errors=xr.errors),(xr.range||xr.loc)&&(n.body=Kn(n.body))}catch(o){throw o}finally{Qn(),xr={}}return n}var nr,rr,or,ir,ar,sr,ur,cr,lr,pr,dr,fr,hr,mr,gr,vr,yr,br,Cr,xr;nr={BooleanLiteral:1,EOF:2,Identifier:3,Keyword:4,NullLiteral:5,NumericLiteral:6,Punctuator:7,StringLiteral:8,RegularExpression:9,Template:10,XJSIdentifier:11,XJSText:12},rr={},rr[nr.BooleanLiteral]="Boolean",rr[nr.EOF]="",rr[nr.Identifier]="Identifier",rr[nr.Keyword]="Keyword",rr[nr.NullLiteral]="Null",rr[nr.NumericLiteral]="Numeric",rr[nr.Punctuator]="Punctuator",rr[nr.StringLiteral]="String",rr[nr.XJSIdentifier]="XJSIdentifier",rr[nr.XJSText]="XJSText",rr[nr.RegularExpression]="RegularExpression",or=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],ir={ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AssignmentExpression:"AssignmentExpression",BinaryExpression:"BinaryExpression",BlockStatement:"BlockStatement",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ClassHeritage:"ClassHeritage",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportDeclaration:"ExportDeclaration",ExportBatchSpecifier:"ExportBatchSpecifier",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",ForStatement:"ForStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportSpecifier:"ImportSpecifier",LabeledStatement:"LabeledStatement",Literal:"Literal",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MethodDefinition:"MethodDefinition",ModuleDeclaration:"ModuleDeclaration",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",TypeAnnotatedIdentifier:"TypeAnnotatedIdentifier",TypeAnnotation:"TypeAnnotation",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",XJSIdentifier:"XJSIdentifier",XJSEmptyExpression:"XJSEmptyExpression",XJSExpressionContainer:"XJSExpressionContainer",XJSElement:"XJSElement",XJSClosingElement:"XJSClosingElement",XJSOpeningElement:"XJSOpeningElement",XJSAttribute:"XJSAttribute",XJSText:"XJSText",YieldExpression:"YieldExpression"},ar={Data:1,Get:2,Set:4},pr={"static":"static",prototype:"prototype"},sr={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInFormalsList:"Invalid left-hand side in formals list",InvalidLHSInForIn:"Invalid left-hand side in for-in",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalDuplicateClassProperty:"Illegal duplicate property in class definition",IllegalReturn:"Illegal return statement",IllegalYield:"Illegal yield expression",IllegalSpread:"Illegal spread element",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",ParameterAfterRestParameter:"Rest parameter must be final parameter of an argument list",DefaultRestParameter:"Rest parameter can not have a default value",ElementAfterSpreadElement:"Spread must be the final element of an element list",ObjectPatternAsRestParameter:"Invalid rest parameter",ObjectPatternAsSpread:"Invalid spread argument",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictDuplicateProperty:"Duplicate data property in object literal not allowed in strict mode",AccessorDataProperty:"Object literal may not have data and accessor property with the same name",AccessorGetSet:"Object literal may not have multiple get/set accessors with the same name",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",NewlineAfterModule:"Illegal newline after module",NoFromAfterImport:"Missing from after import",InvalidModuleSpecifier:"Invalid module specifier",NestedModule:"Module declaration can not be nested",NoYieldInGenerator:"Missing yield in generator",NoUnintializedConst:"Const must be initialized",ComprehensionRequiresBlock:"Comprehension must have at least one block",ComprehensionError:"Comprehension Error",EachNotAllowed:"Each is not supported",InvalidXJSTagName:"XJS tag name can not be empty",InvalidXJSAttributeValue:"XJS value should be either an expression or a quoted XJS text",ExpectedXJSClosingTag:"Expected corresponding XJS closing tag for %0"},ur={NonAsciiIdentifierStart:new RegExp("[\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05d0-\u05ea\u05f0-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u08a0\u08a2-\u08ac\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097f\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c33\u0c35-\u0c39\u0c3d\u0c58\u0c59\u0c60\u0c61\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d60\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e87\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa\u0eab\u0ead-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f4\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f0\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1877\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191c\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19c1-\u19c7\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1ce9-\u1cec\u1cee-\u1cf1\u1cf5\u1cf6\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2e2f\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309d-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312d\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fcc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua697\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua78e\ua790-\ua793\ua7a0-\ua7aa\ua7f8-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa80-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uabc0-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc]"),NonAsciiIdentifierPart:new RegExp("[\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0300-\u0374\u0376\u0377\u037a-\u037d\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u0483-\u0487\u048a-\u0527\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u05d0-\u05ea\u05f0-\u05f2\u0610-\u061a\u0620-\u0669\u066e-\u06d3\u06d5-\u06dc\u06df-\u06e8\u06ea-\u06fc\u06ff\u0710-\u074a\u074d-\u07b1\u07c0-\u07f5\u07fa\u0800-\u082d\u0840-\u085b\u08a0\u08a2-\u08ac\u08e4-\u08fe\u0900-\u0963\u0966-\u096f\u0971-\u0977\u0979-\u097f\u0981-\u0983\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bc-\u09c4\u09c7\u09c8\u09cb-\u09ce\u09d7\u09dc\u09dd\u09df-\u09e3\u09e6-\u09f1\u0a01-\u0a03\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a59-\u0a5c\u0a5e\u0a66-\u0a75\u0a81-\u0a83\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abc-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ad0\u0ae0-\u0ae3\u0ae6-\u0aef\u0b01-\u0b03\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3c-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b56\u0b57\u0b5c\u0b5d\u0b5f-\u0b63\u0b66-\u0b6f\u0b71\u0b82\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd0\u0bd7\u0be6-\u0bef\u0c01-\u0c03\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c33\u0c35-\u0c39\u0c3d-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c58\u0c59\u0c60-\u0c63\u0c66-\u0c6f\u0c82\u0c83\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbc-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0cde\u0ce0-\u0ce3\u0ce6-\u0cef\u0cf1\u0cf2\u0d02\u0d03\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d-\u0d44\u0d46-\u0d48\u0d4a-\u0d4e\u0d57\u0d60-\u0d63\u0d66-\u0d6f\u0d7a-\u0d7f\u0d82\u0d83\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0df2\u0df3\u0e01-\u0e3a\u0e40-\u0e4e\u0e50-\u0e59\u0e81\u0e82\u0e84\u0e87\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa\u0eab\u0ead-\u0eb9\u0ebb-\u0ebd\u0ec0-\u0ec4\u0ec6\u0ec8-\u0ecd\u0ed0-\u0ed9\u0edc-\u0edf\u0f00\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e-\u0f47\u0f49-\u0f6c\u0f71-\u0f84\u0f86-\u0f97\u0f99-\u0fbc\u0fc6\u1000-\u1049\u1050-\u109d\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u135d-\u135f\u1380-\u138f\u13a0-\u13f4\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f0\u1700-\u170c\u170e-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176c\u176e-\u1770\u1772\u1773\u1780-\u17d3\u17d7\u17dc\u17dd\u17e0-\u17e9\u180b-\u180d\u1810-\u1819\u1820-\u1877\u1880-\u18aa\u18b0-\u18f5\u1900-\u191c\u1920-\u192b\u1930-\u193b\u1946-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u19d0-\u19d9\u1a00-\u1a1b\u1a20-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1aa7\u1b00-\u1b4b\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1bf3\u1c00-\u1c37\u1c40-\u1c49\u1c4d-\u1c7d\u1cd0-\u1cd2\u1cd4-\u1cf6\u1d00-\u1de6\u1dfc-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u200c\u200d\u203f\u2040\u2054\u2071\u207f\u2090-\u209c\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d7f-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2de0-\u2dff\u2e2f\u3005-\u3007\u3021-\u302f\u3031-\u3035\u3038-\u303c\u3041-\u3096\u3099\u309a\u309d-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312d\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fcc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua62b\ua640-\ua66f\ua674-\ua67d\ua67f-\ua697\ua69f-\ua6f1\ua717-\ua71f\ua722-\ua788\ua78b-\ua78e\ua790-\ua793\ua7a0-\ua7aa\ua7f8-\ua827\ua840-\ua873\ua880-\ua8c4\ua8d0-\ua8d9\ua8e0-\ua8f7\ua8fb\ua900-\ua92d\ua930-\ua953\ua960-\ua97c\ua980-\ua9c0\ua9cf-\ua9d9\uaa00-\uaa36\uaa40-\uaa4d\uaa50-\uaa59\uaa60-\uaa76\uaa7a\uaa7b\uaa80-\uaac2\uaadb-\uaadd\uaae0-\uaaef\uaaf2-\uaaf6\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uabc0-\uabea\uabec\uabed\uabf0-\uabf9\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe00-\ufe0f\ufe20-\ufe26\ufe33\ufe34\ufe4d-\ufe4f\ufe70-\ufe74\ufe76-\ufefc\uff10-\uff19\uff21-\uff3a\uff3f\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc]")},cr={name:"SyntaxTree",postProcess:function(e){return e
},createArrayExpression:function(e){return{type:ir.ArrayExpression,elements:e}},createAssignmentExpression:function(e,t,n){return{type:ir.AssignmentExpression,operator:e,left:t,right:n}},createBinaryExpression:function(e,t,n){var r="||"===e||"&&"===e?ir.LogicalExpression:ir.BinaryExpression;return{type:r,operator:e,left:t,right:n}},createBlockStatement:function(e){return{type:ir.BlockStatement,body:e}},createBreakStatement:function(e){return{type:ir.BreakStatement,label:e}},createCallExpression:function(e,t){return{type:ir.CallExpression,callee:e,arguments:t}},createCatchClause:function(e,t){return{type:ir.CatchClause,param:e,body:t}},createConditionalExpression:function(e,t,n){return{type:ir.ConditionalExpression,test:e,consequent:t,alternate:n}},createContinueStatement:function(e){return{type:ir.ContinueStatement,label:e}},createDebuggerStatement:function(){return{type:ir.DebuggerStatement}},createDoWhileStatement:function(e,t){return{type:ir.DoWhileStatement,body:e,test:t}},createEmptyStatement:function(){return{type:ir.EmptyStatement}},createExpressionStatement:function(e){return{type:ir.ExpressionStatement,expression:e}},createForStatement:function(e,t,n,r){return{type:ir.ForStatement,init:e,test:t,update:n,body:r}},createForInStatement:function(e,t,n){return{type:ir.ForInStatement,left:e,right:t,body:n,each:!1}},createForOfStatement:function(e,t,n){return{type:ir.ForOfStatement,left:e,right:t,body:n}},createFunctionDeclaration:function(e,t,n,r,o,i,a,s){return{type:ir.FunctionDeclaration,id:e,params:t,defaults:n,body:r,rest:o,generator:i,expression:a,returnType:s}},createFunctionExpression:function(e,t,n,r,o,i,a,s){return{type:ir.FunctionExpression,id:e,params:t,defaults:n,body:r,rest:o,generator:i,expression:a,returnType:s}},createIdentifier:function(e){return{type:ir.Identifier,name:e,typeAnnotation:void 0}},createTypeAnnotation:function(e,t,n,r){return{type:ir.TypeAnnotation,id:e,paramTypes:t,returnType:n,nullable:r}},createTypeAnnotatedIdentifier:function(e,t){return{type:ir.TypeAnnotatedIdentifier,id:e,annotation:t}},createXJSAttribute:function(e,t){return{type:ir.XJSAttribute,name:e,value:t}},createXJSIdentifier:function(e,t){return{type:ir.XJSIdentifier,name:e,namespace:t}},createXJSElement:function(e,t,n){return{type:ir.XJSElement,openingElement:e,closingElement:t,children:n}},createXJSEmptyExpression:function(){return{type:ir.XJSEmptyExpression}},createXJSExpressionContainer:function(e){return{type:ir.XJSExpressionContainer,expression:e}},createXJSOpeningElement:function(e,t,n){return{type:ir.XJSOpeningElement,name:e,selfClosing:n,attributes:t}},createXJSClosingElement:function(e){return{type:ir.XJSClosingElement,name:e}},createIfStatement:function(e,t,n){return{type:ir.IfStatement,test:e,consequent:t,alternate:n}},createLabeledStatement:function(e,t){return{type:ir.LabeledStatement,label:e,body:t}},createLiteral:function(e){return{type:ir.Literal,value:e.value,raw:dr.slice(e.range[0],e.range[1])}},createMemberExpression:function(e,t,n){return{type:ir.MemberExpression,computed:"["===e,object:t,property:n}},createNewExpression:function(e,t){return{type:ir.NewExpression,callee:e,arguments:t}},createObjectExpression:function(e){return{type:ir.ObjectExpression,properties:e}},createPostfixExpression:function(e,t){return{type:ir.UpdateExpression,operator:e,argument:t,prefix:!1}},createProgram:function(e){return{type:ir.Program,body:e}},createProperty:function(e,t,n,r,o){return{type:ir.Property,key:t,value:n,kind:e,method:r,shorthand:o}},createReturnStatement:function(e){return{type:ir.ReturnStatement,argument:e}},createSequenceExpression:function(e){return{type:ir.SequenceExpression,expressions:e}},createSwitchCase:function(e,t){return{type:ir.SwitchCase,test:e,consequent:t}},createSwitchStatement:function(e,t){return{type:ir.SwitchStatement,discriminant:e,cases:t}},createThisExpression:function(){return{type:ir.ThisExpression}},createThrowStatement:function(e){return{type:ir.ThrowStatement,argument:e}},createTryStatement:function(e,t,n,r){return{type:ir.TryStatement,block:e,guardedHandlers:t,handlers:n,finalizer:r}},createUnaryExpression:function(e,t){return"++"===e||"--"===e?{type:ir.UpdateExpression,operator:e,argument:t,prefix:!0}:{type:ir.UnaryExpression,operator:e,argument:t}},createVariableDeclaration:function(e,t){return{type:ir.VariableDeclaration,declarations:e,kind:t}},createVariableDeclarator:function(e,t){return{type:ir.VariableDeclarator,id:e,init:t}},createWhileStatement:function(e,t){return{type:ir.WhileStatement,test:e,body:t}},createWithStatement:function(e,t){return{type:ir.WithStatement,object:e,body:t}},createTemplateElement:function(e,t){return{type:ir.TemplateElement,value:e,tail:t}},createTemplateLiteral:function(e,t){return{type:ir.TemplateLiteral,quasis:e,expressions:t}},createSpreadElement:function(e){return{type:ir.SpreadElement,argument:e}},createTaggedTemplateExpression:function(e,t){return{type:ir.TaggedTemplateExpression,tag:e,quasi:t}},createArrowFunctionExpression:function(e,t,n,r,o){return{type:ir.ArrowFunctionExpression,id:null,params:e,defaults:t,body:n,rest:r,generator:!1,expression:o}},createMethodDefinition:function(e,t,n,r){return{type:ir.MethodDefinition,key:n,value:r,kind:t,"static":e===pr["static"]}},createClassBody:function(e){return{type:ir.ClassBody,body:e}},createClassExpression:function(e,t,n){return{type:ir.ClassExpression,id:e,superClass:t,body:n}},createClassDeclaration:function(e,t,n){return{type:ir.ClassDeclaration,id:e,superClass:t,body:n}},createExportSpecifier:function(e,t){return{type:ir.ExportSpecifier,id:e,name:t}},createExportBatchSpecifier:function(){return{type:ir.ExportBatchSpecifier}},createExportDeclaration:function(e,t,n){return{type:ir.ExportDeclaration,declaration:e,specifiers:t,source:n}},createImportSpecifier:function(e,t){return{type:ir.ImportSpecifier,id:e,name:t}},createImportDeclaration:function(e,t,n){return{type:ir.ImportDeclaration,specifiers:e,kind:t,source:n}},createYieldExpression:function(e,t){return{type:ir.YieldExpression,argument:e,delegate:t}},createModuleDeclaration:function(e,t,n){return{type:ir.ModuleDeclaration,id:e,source:t,body:n}}},lr={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xa0",iexcl:"\xa1",cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",brvbar:"\xa6",sect:"\xa7",uml:"\xa8",copy:"\xa9",ordf:"\xaa",laquo:"\xab",not:"\xac",shy:"\xad",reg:"\xae",macr:"\xaf",deg:"\xb0",plusmn:"\xb1",sup2:"\xb2",sup3:"\xb3",acute:"\xb4",micro:"\xb5",para:"\xb6",middot:"\xb7",cedil:"\xb8",sup1:"\xb9",ordm:"\xba",raquo:"\xbb",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",iquest:"\xbf",Agrave:"\xc0",Aacute:"\xc1",Acirc:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",ETH:"\xd0",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",times:"\xd7",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",THORN:"\xde",szlig:"\xdf",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",eth:"\xf0",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",divide:"\xf7",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",thorn:"\xfe",yuml:"\xff",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02c6",tilde:"\u02dc",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039a",Lambda:"\u039b",Mu:"\u039c",Nu:"\u039d",Xi:"\u039e",Omicron:"\u039f",Pi:"\u03a0",Rho:"\u03a1",Sigma:"\u03a3",Tau:"\u03a4",Upsilon:"\u03a5",Phi:"\u03a6",Chi:"\u03a7",Psi:"\u03a8",Omega:"\u03a9",alpha:"\u03b1",beta:"\u03b2",gamma:"\u03b3",delta:"\u03b4",epsilon:"\u03b5",zeta:"\u03b6",eta:"\u03b7",theta:"\u03b8",iota:"\u03b9",kappa:"\u03ba",lambda:"\u03bb",mu:"\u03bc",nu:"\u03bd",xi:"\u03be",omicron:"\u03bf",pi:"\u03c0",rho:"\u03c1",sigmaf:"\u03c2",sigma:"\u03c3",tau:"\u03c4",upsilon:"\u03c5",phi:"\u03c6",chi:"\u03c7",psi:"\u03c8",omega:"\u03c9",thetasym:"\u03d1",upsih:"\u03d2",piv:"\u03d6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200c",zwj:"\u200d",lrm:"\u200e",rlm:"\u200f",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201a",ldquo:"\u201c",rdquo:"\u201d",bdquo:"\u201e",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203a",oline:"\u203e",frasl:"\u2044",euro:"\u20ac",image:"\u2111",weierp:"\u2118",real:"\u211c",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21b5",lArr:"\u21d0",uArr:"\u21d1",rArr:"\u21d2",dArr:"\u21d3",hArr:"\u21d4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220b",prod:"\u220f",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221a",prop:"\u221d",infin:"\u221e",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222a","int":"\u222b",there4:"\u2234",sim:"\u223c",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22a5",sdot:"\u22c5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230a",rfloor:"\u230b",lang:"\u2329",rang:"\u232a",loz:"\u25ca",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"},Xn.prototype={constructor:Xn,end:function(){this.range[1]=hr,this.loc.end.line=mr,this.loc.end.column=hr-gr},applyGroup:function(e){xr.range&&(e.groupRange=[this.range[0],this.range[1]]),xr.loc&&(e.groupLoc={start:{line:this.loc.start.line,column:this.loc.start.column},end:{line:this.loc.end.line,column:this.loc.end.column}},e=yr.postProcess(e))},apply:function(e){var n=typeof e;t("object"===n,"Applying location marker to an unexpected node type: "+n),xr.range&&(e.range=[this.range[0],this.range[1]]),xr.loc&&(e.loc={start:{line:this.loc.start.line,column:this.loc.start.column},end:{line:this.loc.end.line,column:this.loc.end.column}},e=yr.postProcess(e))}},e.version="1.1.0-dev-harmony",e.tokenize=er,e.parse=tr,e.Syntax=function(){var e,t={};"function"==typeof Object.create&&(t=Object.create(null));for(e in ir)ir.hasOwnProperty(e)&&(t[e]=ir[e]);return"function"==typeof Object.freeze&&Object.freeze(t),t}()})},{}],7:[function(e,t){var n=function(e){return e.chars=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],e.encode=function(e){if(0===e)return"0";for(var t="";e>0;)t=this.chars[e%62]+t,e=Math.floor(e/62);return t},e.decode=function(e,t,n,r){for(t=n=(e===(/\W|_|^$/.test(e+="")||e))-1;r=e.charCodeAt(n++);)t=62*t+r-[,48,29,87][r>>5];return t},e}({});t.exports=n},{}],8:[function(e,t,n){/*
* Copyright 2009-2011 Mozilla Foundation and contributors
* Licensed under the New BSD license. See LICENSE.txt or:
* http://opensource.org/licenses/BSD-3-Clause
*/
n.SourceMapGenerator=e("./source-map/source-map-generator").SourceMapGenerator,n.SourceMapConsumer=e("./source-map/source-map-consumer").SourceMapConsumer,n.SourceNode=e("./source-map/source-node").SourceNode},{"./source-map/source-map-consumer":13,"./source-map/source-map-generator":14,"./source-map/source-node":15}],9:[function(e,t){/*
* Copyright 2011 Mozilla Foundation and contributors
* Licensed under the New BSD license. See LICENSE or:
* http://opensource.org/licenses/BSD-3-Clause
*/
if("function"!=typeof n)var n=e("amdefine")(t,e);n(function(e,t){function n(){this._array=[],this._set={}}var r=e("./util");n.fromArray=function(e,t){for(var r=new n,o=0,i=e.length;i>o;o++)r.add(e[o],t);return r},n.prototype.add=function(e,t){var n=this.has(e),o=this._array.length;(!n||t)&&this._array.push(e),n||(this._set[r.toSetString(e)]=o)},n.prototype.has=function(e){return Object.prototype.hasOwnProperty.call(this._set,r.toSetString(e))},n.prototype.indexOf=function(e){if(this.has(e))return this._set[r.toSetString(e)];throw new Error('"'+e+'" is not in the set.')},n.prototype.at=function(e){if(e>=0&&ee?(-e<<1)+1:(e<<1)+0}function r(e){var t=1===(1&e),n=e>>1;return t?-n:n}var o=e("./base64"),i=5,a=1<>>=i,a>0&&(t|=u),r+=o.encode(t);while(a>0);return r},t.decode=function(e){var t,n,a=0,c=e.length,l=0,p=0;do{if(a>=c)throw new Error("Expected more digits in base 64 VLQ value.");n=o.decode(e.charAt(a++)),t=!!(n&u),n&=s,l+=n<
0?t-a>1?n(a,t,r,o,i):o[a]:a-e>1?n(e,a,r,o,i):0>e?null:o[e]}t.search=function(e,t,r){return t.length>0?n(-1,t.length,e,t,r):null}})},{amdefine:17}],13:[function(e,t){/*
* Copyright 2011 Mozilla Foundation and contributors
* Licensed under the New BSD license. See LICENSE or:
* http://opensource.org/licenses/BSD-3-Clause
*/
if("function"!=typeof n)var n=e("amdefine")(t,e);n(function(e,t){function n(e){var t=e;"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var n=r.getArg(t,"version"),o=r.getArg(t,"sources"),a=r.getArg(t,"names",[]),s=r.getArg(t,"sourceRoot",null),u=r.getArg(t,"sourcesContent",null),c=r.getArg(t,"mappings"),l=r.getArg(t,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);this._names=i.fromArray(a,!0),this._sources=i.fromArray(o,!0),this.sourceRoot=s,this.sourcesContent=u,this._mappings=c,this.file=l}var r=e("./util"),o=e("./binary-search"),i=e("./array-set").ArraySet,a=e("./base64-vlq");n.fromSourceMap=function(e){var t=Object.create(n.prototype);return t._names=i.fromArray(e._names.toArray(),!0),t._sources=i.fromArray(e._sources.toArray(),!0),t.sourceRoot=e._sourceRoot,t.sourcesContent=e._generateSourcesContent(t._sources.toArray(),t.sourceRoot),t.file=e._file,t.__generatedMappings=e._mappings.slice().sort(r.compareByGeneratedPositions),t.__originalMappings=e._mappings.slice().sort(r.compareByOriginalPositions),t},n.prototype._version=3,Object.defineProperty(n.prototype,"sources",{get:function(){return this._sources.toArray().map(function(e){return this.sourceRoot?r.join(this.sourceRoot,e):e},this)}}),n.prototype.__generatedMappings=null,Object.defineProperty(n.prototype,"_generatedMappings",{get:function(){return this.__generatedMappings||(this.__generatedMappings=[],this.__originalMappings=[],this._parseMappings(this._mappings,this.sourceRoot)),this.__generatedMappings}}),n.prototype.__originalMappings=null,Object.defineProperty(n.prototype,"_originalMappings",{get:function(){return this.__originalMappings||(this.__generatedMappings=[],this.__originalMappings=[],this._parseMappings(this._mappings,this.sourceRoot)),this.__originalMappings}}),n.prototype._parseMappings=function(e){for(var t,n,o=1,i=0,s=0,u=0,c=0,l=0,p=/^[,;]/,d=e;d.length>0;)if(";"===d.charAt(0))o++,d=d.slice(1),i=0;else if(","===d.charAt(0))d=d.slice(1);else{if(t={},t.generatedLine=o,n=a.decode(d),t.generatedColumn=i+n.value,i=t.generatedColumn,d=n.rest,d.length>0&&!p.test(d.charAt(0))){if(n=a.decode(d),t.source=this._sources.at(c+n.value),c+=n.value,d=n.rest,0===d.length||p.test(d.charAt(0)))throw new Error("Found a source, but no line and column");if(n=a.decode(d),t.originalLine=s+n.value,s=t.originalLine,t.originalLine+=1,d=n.rest,0===d.length||p.test(d.charAt(0)))throw new Error("Found a source and line, but no column");n=a.decode(d),t.originalColumn=u+n.value,u=t.originalColumn,d=n.rest,d.length>0&&!p.test(d.charAt(0))&&(n=a.decode(d),t.name=this._names.at(l+n.value),l+=n.value,d=n.rest)}this.__generatedMappings.push(t),"number"==typeof t.originalLine&&this.__originalMappings.push(t)}this.__originalMappings.sort(r.compareByOriginalPositions)},n.prototype._findMapping=function(e,t,n,r,i){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[r]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[r]);return o.search(e,t,i)},n.prototype.originalPositionFor=function(e){var t={generatedLine:r.getArg(e,"line"),generatedColumn:r.getArg(e,"column")},n=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",r.compareByGeneratedPositions);if(n){var o=r.getArg(n,"source",null);return o&&this.sourceRoot&&(o=r.join(this.sourceRoot,o)),{source:o,line:r.getArg(n,"originalLine",null),column:r.getArg(n,"originalColumn",null),name:r.getArg(n,"name",null)}}return{source:null,line:null,column:null,name:null}},n.prototype.sourceContentFor=function(e){if(!this.sourcesContent)return null;if(this.sourceRoot&&(e=r.relative(this.sourceRoot,e)),this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];var t;if(this.sourceRoot&&(t=r.urlParse(this.sourceRoot))){var n=e.replace(/^file:\/\//,"");if("file"==t.scheme&&this._sources.has(n))return this.sourcesContent[this._sources.indexOf(n)];if((!t.path||"/"==t.path)&&this._sources.has("/"+e))return this.sourcesContent[this._sources.indexOf("/"+e)]}throw new Error('"'+e+'" is not in the SourceMap.')},n.prototype.generatedPositionFor=function(e){var t={source:r.getArg(e,"source"),originalLine:r.getArg(e,"line"),originalColumn:r.getArg(e,"column")};this.sourceRoot&&(t.source=r.relative(this.sourceRoot,t.source));var n=this._findMapping(t,this._originalMappings,"originalLine","originalColumn",r.compareByOriginalPositions);return n?{line:r.getArg(n,"generatedLine",null),column:r.getArg(n,"generatedColumn",null)}:{line:null,column:null}},n.GENERATED_ORDER=1,n.ORIGINAL_ORDER=2,n.prototype.eachMapping=function(e,t,o){var i,a=t||null,s=o||n.GENERATED_ORDER;switch(s){case n.GENERATED_ORDER:i=this._generatedMappings;break;case n.ORIGINAL_ORDER:i=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var u=this.sourceRoot;i.map(function(e){var t=e.source;return t&&u&&(t=r.join(u,t)),{source:t,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:e.name}}).forEach(e,a)},t.SourceMapConsumer=n})},{"./array-set":9,"./base64-vlq":10,"./binary-search":12,"./util":16,amdefine:17}],14:[function(e,t){/*
* Copyright 2011 Mozilla Foundation and contributors
* Licensed under the New BSD license. See LICENSE or:
* http://opensource.org/licenses/BSD-3-Clause
*/
if("function"!=typeof n)var n=e("amdefine")(t,e);n(function(e,t){function n(e){this._file=o.getArg(e,"file"),this._sourceRoot=o.getArg(e,"sourceRoot",null),this._sources=new i,this._names=new i,this._mappings=[],this._sourcesContents=null}var r=e("./base64-vlq"),o=e("./util"),i=e("./array-set").ArraySet;n.prototype._version=3,n.fromSourceMap=function(e){var t=e.sourceRoot,r=new n({file:e.file,sourceRoot:t});return e.eachMapping(function(e){var n={generated:{line:e.generatedLine,column:e.generatedColumn}};e.source&&(n.source=e.source,t&&(n.source=o.relative(t,n.source)),n.original={line:e.originalLine,column:e.originalColumn},e.name&&(n.name=e.name)),r.addMapping(n)}),e.sources.forEach(function(t){var n=e.sourceContentFor(t);n&&r.setSourceContent(t,n)}),r},n.prototype.addMapping=function(e){var t=o.getArg(e,"generated"),n=o.getArg(e,"original",null),r=o.getArg(e,"source",null),i=o.getArg(e,"name",null);this._validateMapping(t,n,r,i),r&&!this._sources.has(r)&&this._sources.add(r),i&&!this._names.has(i)&&this._names.add(i),this._mappings.push({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=n&&n.line,originalColumn:null!=n&&n.column,source:r,name:i})},n.prototype.setSourceContent=function(e,t){var n=e;this._sourceRoot&&(n=o.relative(this._sourceRoot,n)),null!==t?(this._sourcesContents||(this._sourcesContents={}),this._sourcesContents[o.toSetString(n)]=t):(delete this._sourcesContents[o.toSetString(n)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},n.prototype.applySourceMap=function(e,t){t||(t=e.file);var n=this._sourceRoot;n&&(t=o.relative(n,t));var r=new i,a=new i;this._mappings.forEach(function(i){if(i.source===t&&i.originalLine){var s=e.originalPositionFor({line:i.originalLine,column:i.originalColumn});null!==s.source&&(i.source=n?o.relative(n,s.source):s.source,i.originalLine=s.line,i.originalColumn=s.column,null!==s.name&&null!==i.name&&(i.name=s.name))}var u=i.source;u&&!r.has(u)&&r.add(u);var c=i.name;c&&!a.has(c)&&a.add(c)},this),this._sources=r,this._names=a,e.sources.forEach(function(t){var r=e.sourceContentFor(t);r&&(n&&(t=o.relative(n,t)),this.setSourceContent(t,r))},this)},n.prototype._validateMapping=function(e,t,n,r){if(!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!t&&!n&&!r||e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,orginal:t,name:r}))},n.prototype._serializeMappings=function(){var e,t=0,n=1,i=0,a=0,s=0,u=0,c="";this._mappings.sort(o.compareByGeneratedPositions);for(var l=0,p=this._mappings.length;p>l;l++){if(e=this._mappings[l],e.generatedLine!==n)for(t=0;e.generatedLine!==n;)c+=";",n++;else if(l>0){if(!o.compareByGeneratedPositions(e,this._mappings[l-1]))continue;c+=","}c+=r.encode(e.generatedColumn-t),t=e.generatedColumn,e.source&&(c+=r.encode(this._sources.indexOf(e.source)-u),u=this._sources.indexOf(e.source),c+=r.encode(e.originalLine-1-a),a=e.originalLine-1,c+=r.encode(e.originalColumn-i),i=e.originalColumn,e.name&&(c+=r.encode(this._names.indexOf(e.name)-s),s=this._names.indexOf(e.name)))}return c},n.prototype._generateSourcesContent=function(e,t){return e.map(function(e){if(!this._sourcesContents)return null;t&&(e=o.relative(t,e));var n=o.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null},this)},n.prototype.toJSON=function(){var e={version:this._version,file:this._file,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},n.prototype.toString=function(){return JSON.stringify(this)},t.SourceMapGenerator=n})},{"./array-set":9,"./base64-vlq":10,"./util":16,amdefine:17}],15:[function(e,t){/*
* Copyright 2011 Mozilla Foundation and contributors
* Licensed under the New BSD license. See LICENSE or:
* http://opensource.org/licenses/BSD-3-Clause
*/
if("function"!=typeof n)var n=e("amdefine")(t,e);n(function(e,t){function n(e,t,n,r,o){this.children=[],this.sourceContents={},this.line=void 0===e?null:e,this.column=void 0===t?null:t,this.source=void 0===n?null:n,this.name=void 0===o?null:o,null!=r&&this.add(r)}var r=e("./source-map-generator").SourceMapGenerator,o=e("./util");n.fromStringWithSourceMap=function(e,t){function r(e,t){o.add(null===e||void 0===e.source?t:new n(e.originalLine,e.originalColumn,e.source,t,e.name))}var o=new n,i=e.split("\n"),a=1,s=0,u=null;return t.eachMapping(function(e){if(null===u){for(;a=0;t--)this.prepend(e[t]);else{if(!(e instanceof n||"string"==typeof e))throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},n.prototype.walk=function(e){for(var t,r=0,o=this.children.length;o>r;r++)t=this.children[r],t instanceof n?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},n.prototype.join=function(e){var t,n,r=this.children.length;if(r>0){for(t=[],n=0;r-1>n;n++)t.push(this.children[n]),t.push(e);t.push(this.children[n]),this.children=t}return this},n.prototype.replaceRight=function(e,t){var r=this.children[this.children.length-1];return r instanceof n?r.replaceRight(e,t):"string"==typeof r?this.children[this.children.length-1]=r.replace(e,t):this.children.push("".replace(e,t)),this},n.prototype.setSourceContent=function(e,t){this.sourceContents[o.toSetString(e)]=t},n.prototype.walkSourceContents=function(e){for(var t=0,r=this.children.length;r>t;t++)this.children[t]instanceof n&&this.children[t].walkSourceContents(e);for(var i=Object.keys(this.sourceContents),t=0,r=i.length;r>t;t++)e(o.fromSetString(i[t]),this.sourceContents[i[t]])},n.prototype.toString=function(){var e="";return this.walk(function(t){e+=t}),e},n.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},n=new r(e),o=!1,i=null,a=null,s=null,u=null;return this.walk(function(e,r){t.code+=e,null!==r.source&&null!==r.line&&null!==r.column?((i!==r.source||a!==r.line||s!==r.column||u!==r.name)&&n.addMapping({source:r.source,original:{line:r.line,column:r.column},generated:{line:t.line,column:t.column},name:r.name}),i=r.source,a=r.line,s=r.column,u=r.name,o=!0):o&&(n.addMapping({generated:{line:t.line,column:t.column}}),i=null,o=!1),e.split("").forEach(function(e){"\n"===e?(t.line++,t.column=0):t.column++})}),this.walkSourceContents(function(e,t){n.setSourceContent(e,t)}),{code:t.code,map:n}},t.SourceNode=n})},{"./source-map-generator":14,"./util":16,amdefine:17}],16:[function(e,t){/*
* Copyright 2011 Mozilla Foundation and contributors
* Licensed under the New BSD license. See LICENSE or:
* http://opensource.org/licenses/BSD-3-Clause
*/
if("function"!=typeof n)var n=e("amdefine")(t,e);n(function(e,t){function n(e,t,n){if(t in e)return e[t];if(3===arguments.length)return n;throw new Error('"'+t+'" is a required argument.')}function r(e){var t=e.match(d);return t?{scheme:t[1],auth:t[3],host:t[4],port:t[6],path:t[7]}:null}function o(e){var t=e.scheme+"://";return e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}function i(e,t){var n;return t.match(d)||t.match(f)?t:"/"===t.charAt(0)&&(n=r(e))?(n.path=t,o(n)):e.replace(/\/$/,"")+"/"+t}function a(e){return"$"+e}function s(e){return e.substr(1)}function u(e,t){e=e.replace(/\/$/,"");var n=r(e);return"/"==t.charAt(0)&&n&&"/"==n.path?t.slice(1):0===t.indexOf(e+"/")?t.substr(e.length+1):t}function c(e,t){var n=e||"",r=t||"";return(n>r)-(r>n)}function l(e,t,n){var r;return(r=c(e.source,t.source))?r:(r=e.originalLine-t.originalLine)?r:(r=e.originalColumn-t.originalColumn,r||n?r:(r=c(e.name,t.name))?r:(r=e.generatedLine-t.generatedLine,r?r:e.generatedColumn-t.generatedColumn))}function p(e,t,n){var r;return(r=e.generatedLine-t.generatedLine)?r:(r=e.generatedColumn-t.generatedColumn,r||n?r:(r=c(e.source,t.source))?r:(r=e.originalLine-t.originalLine)?r:(r=e.originalColumn-t.originalColumn,r?r:c(e.name,t.name)))}t.getArg=n;var d=/([\w+\-.]+):\/\/((\w+:\w+)@)?([\w.]+)?(:(\d+))?(\S+)?/,f=/^data:.+\,.+/;t.urlParse=r,t.urlGenerate=o,t.join=i,t.toSetString=a,t.fromSetString=s,t.relative=u,t.compareByOriginalPositions=l,t.compareByGeneratedPositions=p})},{amdefine:17}],17:[function(e,t){(function(n,r){/** vim: et:ts=4:sw=4:sts=4
* @license amdefine 0.1.0 Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
* Available via the MIT or new BSD license.
* see: http://github.com/jrburke/amdefine for details
*/
"use strict";function o(t,o){function i(e){var t,n;for(t=0;e[t];t+=1)if(n=e[t],"."===n)e.splice(t,1),t-=1;else if(".."===n){if(1===t&&(".."===e[2]||".."===e[0]))break;t>0&&(e.splice(t-1,2),t-=2)}}function a(e,t){var n;return e&&"."===e.charAt(0)&&t&&(n=t.split("/"),n=n.slice(0,n.length-1),n=n.concat(e.split("/")),i(n),e=n.join("/")),e}function s(e){return function(t){return a(t,e)}}function u(e){function t(t){h[e]=t}return t.fromText=function(){throw new Error("amdefine does not implement load.fromText")},t}function c(e,n,i){var a,s,u,c;if(e)s=h[e]={},u={id:e,uri:r,exports:s},a=p(o,s,u,e);else{if(m)throw new Error("amdefine with no module ID cannot be called more than once per file.");m=!0,s=t.exports,u=t,a=p(o,s,u,t.id)}n&&(n=n.map(function(e){return a(e)})),c="function"==typeof i?i.apply(u.exports,n):i,void 0!==c&&(u.exports=c,e&&(h[e]=u.exports))}function l(e,t,n){Array.isArray(e)?(n=t,t=e,e=void 0):"string"!=typeof e&&(n=e,e=t=void 0),t&&!Array.isArray(t)&&(n=t,t=void 0),t||(t=["require","exports","module"]),e?f[e]=[e,t,n]:c(e,t,n)}var p,d,f={},h={},m=!1,g=e("path");return p=function(e,t,r,o){function i(i,a){return"string"==typeof i?d(e,t,r,i,o):(i=i.map(function(n){return d(e,t,r,n,o)}),void n.nextTick(function(){a.apply(null,i)}))}return i.toUrl=function(e){return 0===e.indexOf(".")?a(e,g.dirname(r.filename)):e},i},o=o||function(){return t.require.apply(t,arguments)},d=function(e,t,n,r,o){var i,l,m=r.indexOf("!"),g=r;if(-1===m){if(r=a(r,o),"require"===r)return p(e,t,n,o);if("exports"===r)return t;if("module"===r)return n;if(h.hasOwnProperty(r))return h[r];if(f[r])return c.apply(null,f[r]),h[r];if(e)return e(g);throw new Error("No module with ID: "+r)}return i=r.substring(0,m),r=r.substring(m+1,r.length),l=d(e,t,n,i,o),r=l.normalize?l.normalize(r,s(o)):a(r,o),h[r]?h[r]:(l.load(r,p(e,t,n,o),u(r),{}),h[r])},l.require=function(e){return h[e]?h[e]:f[e]?(c.apply(null,f[e]),h[e]):void 0},l.amd={},l}t.exports=o}).call(this,e("/Users/poshannessy/FB/code/react/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js"),"/../node_modules/jstransform/node_modules/source-map/node_modules/amdefine/amdefine.js")},{"/Users/poshannessy/FB/code/react/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js":4,path:5}],18:[function(e,t,n){function r(e){var t=e.match(a);return t?t[0].replace(s,"")||"":""}function o(e){e=e.replace(u,"").replace(c,"").replace(l," ").replace(p,"$1");for(var t="";t!=e;)t=e,e=e.replace(d,"\n$1 $2\n");e=e.trim();for(var n,r=[];n=f.exec(e);)r.push([n[1],n[2]]);return r}function i(e){for(var t=o(e),n={},r=0;r0&&e.body[0].type===h.ExpressionStatement&&e.body[0].expression.type===h.Literal&&"use strict"===e.body[0].expression.value;if(e.type===h.Program)n=f.updateState(n,{scopeIsStrict:p});else{if(n=f.updateState(n,{localScope:{parentNode:c,parentScope:n.localScope,identifiers:{}},scopeIsStrict:p}),n.localScope.identifiers.arguments=!0,c.params.length>0)for(var d,m=0;m1&&(t.g.sourceLine++,t.g.bufferLine++,t.g.sourceColumn=0,t.g.bufferColumn=0),t.g.sourceColumn+=i[i.length-1].length,t.g.bufferColumn+=a[a.length-1].length}t.g.buffer+=n?n(o):o,t.g.position=e}}function a(e){return e.replace(C,function(){return""})}function s(e,t){i(e,t,a)}function u(e){return e.replace(x,function(){return""})}function c(e,t){i(e,t,u)}function l(e,t){if(t.g.sourceMap){e1&&(t.g.sourceLine+=r.length-1,t.g.sourceColumn=0),t.g.sourceColumn+=r[r.length-1].length}t.g.position=e}function p(e,t){if(t.g.sourceMap&&e){t.g.sourceMap.addMapping({generated:{line:t.g.bufferLine,column:t.g.bufferColumn},original:{line:t.g.sourceLine,column:t.g.sourceColumn},source:t.g.sourceMapFilename});var n=e.split("\n");n.length>1&&(t.g.bufferLine+=n.length-1,t.g.bufferColumn=0),t.g.bufferColumn+=n[n.length-1].length}t.g.buffer+=e}function d(e,t){for(var n=0;n<-t.g.indentBy;n++)e=e.replace(/(^|\n)( {2}|\t)/g,"$1");return e}function f(e,t){var n=e;for(e-=1;e>0&&"\n"!=t.g.source[e];)t.g.source[e].match(/[ \t]/)||(n=e),e--;return t.g.source.substring(e+1,n)}function h(t){if(!t.g.docblock){var n=e("./docblock");t.g.docblock=n.parseAsObject(n.extract(t.g.source))}return t.g.docblock}function m(e,t,n){for(var r=t.localScope;r;){if(void 0!==r.identifiers[e])return!0;if(n&&r.parentNode===n)break;r=r.parentScope}return!1}function g(e,t){return void 0!==t.localScope.identifiers[e]}function v(e,t){t.localScope.identifiers[e]=!0}function y(e,t,n,r,o){var i,a;if(n.type){if(e(n,r,o)===!1)return;r.unshift(n)}for(i in n)"range"!==i&&"loc"!==i&&n.hasOwnProperty(i)&&(a=n[i],"object"==typeof a&&null!==a&&t(a,r,o));n.type&&r.shift()}function b(e,t){function n(e){return e.type===t?(o=!0,!1):void 0}function r(e){o||(o=b(e,t))}var o=!1;return y(n,r,e,[]),o}var C=/(\S)/g,x=/[^\n]/g;n.append=p,n.catchup=i,n.catchupWhiteSpace=s,n.catchupNewlines=c,n.containsChildOfType=b,n.createState=r,n.declareIdentInLocalScope=v,n.getDocblock=h,n.identWithinLexicalScope=m,n.identInLocalScope=g,n.indentBefore=f,n.move=l,n.updateIndent=d,n.updateState=o,n.analyzeAndTraverse=y},{"./docblock":18}],21:[function(e,t,n){function r(e,t,n,r){l.append("function",r),o(t,r),l.catchupWhiteSpace(t.body.range[0],r);var i=t.body.type==c.BlockStatement?s:a;return n.unshift(t),i(e,t,n,r),n.shift(),l.containsChildOfType(t.body,c.ThisExpression)&&l.append(".bind(this)",r),!1}function o(e,t){(i(e,t)||!e.params.length)&&l.append("(",t),0!==e.params.length&&l.catchup(e.params[e.params.length-1].range[1],t),l.append(")",t)}function i(e,t){return 1===e.params.length&&"("!==t.g.source[t.g.position]}function a(e,t,n,r){l.append("{",r),t.rest&&l.append(u.renderRestParamSetup(t),r),l.append("return ",r),s(e,t,n,r),l.append(";}",r)}function s(e,t,n,r){e(t.body,n,r),l.catchup(t.body.range[1],r)}/**
* Copyright 2013 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
var u=e("./es6-rest-param-visitors"),c=e("esprima-fb").Syntax,l=e("../src/utils");r.test=function(e){return e.type===c.ArrowFunctionExpression},n.visitorList=[r]},{"../src/utils":20,"./es6-rest-param-visitors":24,"esprima-fb":6}],22:[function(e,t,n){/**
* Copyright 2013 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
"use strict";function r(e){var t=e.mungeNamespace||"";return"____Class"+t+g.encode(C++)}function o(e,t){var n=t.mungeNamespace,r=t.g.opts.minify;if(r){x[n]||(x[n]={symbolMap:{},identUUIDCounter:0});var o=x[n].symbolMap;o[e]||(o[e]=g.encode(x[n].identUUIDCounter++)),e=o[e]}return"$"+n+e}function i(e,t){var n={name:null,expression:null};return e.superClass&&(e.superClass.type===v.Identifier?n.name=e.superClass.name:(n.name=r(t),n.expression=t.g.source.substring(e.superClass.range[0],e.superClass.range[1]))),n}function a(e){return e.type===v.MethodDefinition&&e.key.type===v.Identifier&&"constructor"===e.key.name}function s(e,t){return!!t.methodFuncNode&&!y.getDocblock(t).hasOwnProperty("preventMunge")&&/^_(?!_)/.test(e.name)}function u(e,t,n,r){return y.catchup(t.range[0],r),n.unshift(t),e(t.value,n,r),n.shift(),!1}function c(e,t,n,r){var i=n[0];if(r=y.updateState(r,{methodFuncNode:t}),"constructor"===i.key.name)y.append("function "+r.className,r);else{var a=i.key.name;s(i.key,r)&&(a=o(a,r));var u=i["static"]?"":"prototype.";y.append(r.className+"."+u+a+"=function",r)}y.move(i.key.range[1],r);var c,l=t.params;if(l.length>0)for(var p=0;p0&&(y.append(",",r),y.catchupWhiteSpace(t.arguments[0].range[0],r),e(t.arguments,n,r)),y.catchupWhiteSpace(t.range[1],r),y.append(")",r),!1}function m(e,t,n,r){var o=r.superClass.name;y.append(b+o,r),y.move(t.object.range[1],r)}var g=e("base62"),v=e("esprima-fb").Syntax,y=e("../src/utils"),b="____SuperProtoOf",C=0,x={};u.test=function(e){return e.type===v.MethodDefinition},c.test=function(e,t){return e.type===v.FunctionExpression&&t[0].type===v.MethodDefinition},p.test=function(e){return e.type===v.ClassDeclaration},d.test=function(e){return e.type===v.ClassExpression},f.test=function(e,t,n){if(e.type===v.Identifier&&s(e,n)){if(t[0].type===v.MemberExpression&&t[0].object!==e&&t[0].computed===!1)return!0;if(y.identWithinLexicalScope(e.name,n,n.methodFuncNode))return!0;if(t[0].type===v.Property&&t[1].type===v.ObjectExpression)return!0;if(t[0].type===v.FunctionExpression||t[0].type===v.FunctionDeclaration)for(var r=0;rc;c++)u.append(i(o.quasis[c]),r),c!==s-1&&u.append(", ",r);for(u.append("]; siteObj.raw = [",r),c=0;s>c;c++)u.append(a(o.quasis[c]),r),c!==s-1&&u.append(", ",r);if(u.append("]; Object.freeze(siteObj.raw); Object.freeze(siteObj); return siteObj; }()",r),s>1)for(c=0;ci&&(r="... "+r.slice(a-i),a=4+i),r.length-a>i&&(r=r.slice(0,a+i)+" ...");var s="\n\n"+r+"\n";return s+=new Array(a-1).join(" ")+"^"},transformCode=function(e,t){var n=docblock.parseAsObject(docblock.extract(e)).jsx;if(n){try{var r=transformReact(e)}catch(o){throw o.message+="\n at ",t?("fileName"in o&&(o.fileName=t),o.message+=t+":"+o.lineNumber+":"+o.column):o.message+=location.href,o.message+=createSourceCodeErrorMessage(e,o),o}if(!r.sourceMap)return r.code;var i=r.sourceMap.toJSON();return null==t&&(t="Inline JSX script",inlineScriptCount++,inlineScriptCount>1&&(t+=" ("+inlineScriptCount+")")),i.sources=[t],i.sourcesContent=[e],r.code+"//# sourceMappingURL=data:application/json;base64,"+buffer.Buffer(JSON.stringify(i)).toString("base64")}return e},run=exports.run=function(e,t){var n=document.createElement("script");n.text=transformCode(e,t),headEl.appendChild(n)},load=exports.load=function(e,t){var n;return n=window.ActiveXObject?new window.ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest,n.open("GET",e,!1),"overrideMimeType"in n&&n.overrideMimeType("text/plain"),n.onreadystatechange=function(){if(4===n.readyState){if(0!==n.status&&200!==n.status)throw new Error("Could not load "+e);if(run(n.responseText,e),t)return t()}},n.send(null)};runScripts=function(){for(var e=document.getElementsByTagName("script"),t=[],n=0;n0){var v;g.forEach(function(e,t){(e.type!==o.XJSExpressionContainer||e.expression.type!==o.XJSEmptyExpression)&&(v=t)}),void 0!==v&&i.append(", ",r),g.forEach(function(t,a){i.catchup(t.range[0],r);var c=a>=v;t.type===o.Literal?u(t,c,r):t.type===o.XJSExpressionContainer?s(e,t,c,n,r):(e(t,n,r),c||(i.append(",",r),r.g.buffer=r.g.buffer.replace(/(\s*),$/,",$1"))),i.catchup(t.range[1],r)})}return d.selfClosing?(i.catchup(d.range[1]-2,r),i.move(d.range[1],r)):(i.catchup(t.closingElement.range[0],r),i.move(t.closingElement.range[1],r)),i.append(")",r),!1}var o=e("esprima-fb").Syntax,i=e("jstransform/src/utils"),a=e("./xjs").knownTags,s=e("./xjs").renderXJSExpressionContainer,u=e("./xjs").renderXJSLiteral,c=e("./xjs").quoteAttrName,l={cxName:function(){throw new Error("cxName is no longer supported, use className={cx(...)} instead")}};r.test=function(e,t,n){var r=i.getDocblock(n).jsx;return e.type===o.XJSElement&&r&&r.length},n.visitorList=[r]},{"./xjs":29,"esprima-fb":6,"jstransform/src/utils":20}],28:[function(e,t,n){/**
* Copyright 2013-2014 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
"use strict";function r(e,t,n){if(t&&t.type===i.CallExpression&&t.callee.type===i.MemberExpression&&t.callee.object.type===i.Identifier&&"React"===t.callee.object.name&&t.callee.property.type===i.Identifier&&"createClass"===t.callee.property.name&&1===t.arguments.length&&t.arguments[0].type===i.ObjectExpression){var r=t.arguments[0].properties,o=r.every(function(e){var t=e.key.type===i.Identifier?e.key.name:e.key.value;return"displayName"!==t});o&&(a.catchup(t.arguments[0].range[0]+1,n),a.append("displayName: '"+e+"',",n))}}function o(e,t,n,o){var a,s;t.type===i.AssignmentExpression?(a=t.left,s=t.right):t.type===i.Property?(a=t.key,s=t.value):t.type===i.VariableDeclarator&&(a=t.id,s=t.init),a&&a.type===i.MemberExpression&&(a=a.property),a&&a.type===i.Identifier&&r(a.name,s,o)}var i=e("esprima-fb").Syntax,a=e("jstransform/src/utils");o.test=function(e,t,n){return a.getDocblock(n).jsx?e.type===i.AssignmentExpression||e.type===i.Property||e.type===i.VariableDeclarator:!1},n.visitorList=[o]},{"esprima-fb":6,"jstransform/src/utils":20}],29:[function(e,t,n){/**
* Copyright 2013-2014 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
"use strict";function r(e,t,n,r,o){var i=e.value.split(/\r\n|\n|\r/);r&&s.append(r,n);var a=0;i.forEach(function(e,t){e.match(/[^ \t]/)&&(a=t)}),i.forEach(function(e,r){var u=0===r,c=r===i.length-1,l=r===a,p=e.replace(/\t/g," ");u||(p=p.replace(/^[ ]+/,"")),c||(p=p.replace(/[ ]+$/,"")),s.append(e.match(/^[ \t]*/)[0],n),(p||l)&&(s.append(JSON.stringify(p)+(l?"":"+' '+"),n),l&&(o&&s.append(o,n),t||s.append(",",n)),p&&s.append(e.match(/[ \t]*$/)[0],n)),c||s.append("\n",n)}),s.move(e.range[1],n)}function o(e,t,n,r,o){return s.move(t.range[0]+1,o),e(t.expression,r,o),n||t.expression.type===a.XJSEmptyExpression||(s.catchup(t.expression.range[1],o),s.append(",",o)),s.catchup(t.range[1]-1,o),s.move(t.range[1],o),!1}function i(e){return/^[a-z_$][a-z\d_$]*$/i.test(e)?e:"'"+e+"'"}var a=e("esprima-fb").Syntax,s=e("jstransform/src/utils"),u={a:!0,abbr:!0,address:!0,applet:!0,area:!0,article:!0,aside:!0,audio:!0,b:!0,base:!0,bdi:!0,bdo:!0,big:!0,blockquote:!0,body:!0,br:!0,button:!0,canvas:!0,caption:!0,circle:!0,cite:!0,code:!0,col:!0,colgroup:!0,command:!0,data:!0,datalist:!0,dd:!0,defs:!0,del:!0,details:!0,dfn:!0,dialog:!0,div:!0,dl:!0,dt:!0,ellipse:!0,em:!0,embed:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,g:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,head:!0,header:!0,hgroup:!0,hr:!0,html:!0,i:!0,iframe:!0,img:!0,input:!0,ins:!0,kbd:!0,keygen:!0,label:!0,legend:!0,li:!0,line:!0,linearGradient:!0,link:!0,main:!0,map:!0,mark:!0,marquee:!0,menu:!0,menuitem:!0,meta:!0,meter:!0,nav:!0,noscript:!0,object:!0,ol:!0,optgroup:!0,option:!0,output:!0,p:!0,param:!0,path:!0,polygon:!0,polyline:!0,pre:!0,progress:!0,q:!0,radialGradient:!0,rect:!0,rp:!0,rt:!0,ruby:!0,s:!0,samp:!0,script:!0,section:!0,select:!0,small:!0,source:!0,span:!0,stop:!0,strong:!0,style:!0,sub:!0,summary:!0,sup:!0,svg:!0,table:!0,tbody:!0,td:!0,text:!0,textarea:!0,tfoot:!0,th:!0,thead:!0,time:!0,title:!0,tr:!0,track:!0,u:!0,ul:!0,"var":!0,video:!0,wbr:!0};n.knownTags=u,n.renderXJSExpressionContainer=o,n.renderXJSLiteral=r,n.quoteAttrName=i},{"esprima-fb":6,"jstransform/src/utils":20}],30:[function(e,t,n){function r(e){for(var t=[],n=0,r=d.length;r>n;n++)e&&-1!==e.indexOf(d[n])||(t=t.concat(p[d[n]]));return t}var o=e("jstransform/visitors/es6-arrow-function-visitors"),i=e("jstransform/visitors/es6-class-visitors"),a=e("jstransform/visitors/es6-object-short-notation-visitors"),s=e("jstransform/visitors/es6-rest-param-visitors"),u=e("jstransform/visitors/es6-template-visitors"),c=e("./transforms/react"),l=e("./transforms/reactDisplayName"),p={"es6-arrow-functions":o.visitorList,"es6-classes":i.visitorList,"es6-object-short-notation":a.visitorList,"es6-rest-params":s.visitorList,"es6-templates":u.visitorList,react:c.visitorList.concat(l.visitorList)},d=["es6-arrow-functions","es6-object-short-notation","es6-classes","es6-rest-params","es6-templates","react"];n.getAllVisitors=r,n.transformVisitors=p},{"./transforms/react":27,"./transforms/reactDisplayName":28,"jstransform/visitors/es6-arrow-function-visitors":21,"jstransform/visitors/es6-class-visitors":22,"jstransform/visitors/es6-object-short-notation-visitors":23,"jstransform/visitors/es6-rest-param-visitors":24,"jstransform/visitors/es6-template-visitors":25}]},{},[26])(26)}),!function(e){if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else{var t;"undefined"!=typeof window?t=window:"undefined"!=typeof global?t=global:"undefined"!=typeof self&&(t=self),t.React=e()}}(function(){return function e(t,n,r){function o(a,s){if(!n[a]){if(!t[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(i)return i(a,!0);throw new Error("Cannot find module '"+a+"'")}var c=n[a]={exports:{}};t[a][0].call(c.exports,function(e){var n=t[a][1][e];return o(n?n:e)},c,c.exports,e,t,n,r)}return n[a].exports}for(var i="function"==typeof require&&require,a=0;a-1}};t.exports=r},{"./invariant":125}],3:[function(e,t){/**
* Copyright 2013-2014 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @providesModule CSSProperty
*/
"use strict";function n(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var r={columnCount:!0,fillOpacity:!0,flex:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},o=["Webkit","ms","Moz","O"];Object.keys(r).forEach(function(e){o.forEach(function(t){r[n(t,e)]=r[e]})});var i={background:{backgroundImage:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundColor:!0},border:{borderWidth:!0,borderStyle:!0,borderColor:!0},borderBottom:{borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0},borderLeft:{borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0},borderRight:{borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0},borderTop:{borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0},font:{fontStyle:!0,fontVariant:!0,fontWeight:!0,fontSize:!0,lineHeight:!0,fontFamily:!0}},a={isUnitlessNumber:r,shorthandPropertyExpansions:i};t.exports=a},{}],4:[function(e,t){/**
* Copyright 2013-2014 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @providesModule CSSPropertyOperations
* @typechecks static-only
*/
"use strict";var n=e("./CSSProperty"),r=e("./dangerousStyleValue"),o=e("./escapeTextForBrowser"),i=e("./hyphenate"),a=e("./memoizeStringOnly"),s=a(function(e){return o(i(e))}),u={createMarkupForStyles:function(e){var t="";for(var n in e)if(e.hasOwnProperty(n)){var o=e[n];null!=o&&(t+=s(n)+":",t+=r(n,o)+";")}return t||null},setValueForStyles:function(e,t){var o=e.style;for(var i in t)if(t.hasOwnProperty(i)){var a=r(i,t[i]);if(a)o[i]=a;else{var s=n.shorthandPropertyExpansions[i];if(s)for(var u in s)o[u]="";else o[i]=""}}}};t.exports=u},{"./CSSProperty":3,"./dangerousStyleValue":108,"./escapeTextForBrowser":111,"./hyphenate":123,"./memoizeStringOnly":133}],5:[function(e,t){/**
* Copyright 2013-2014 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @providesModule ChangeEventPlugin
*/
"use strict";function n(e){return"SELECT"===e.nodeName||"INPUT"===e.nodeName&&"file"===e.type}function r(e){var t=E.getPooled(R.change,D,e);b.accumulateTwoPhaseDispatches(t),x.batchedUpdates(o,t)}function o(e){y.enqueueEvents(e),y.processEventQueue()}function i(e,t){N=e,D=t,N.attachEvent("onchange",r)}function a(){N&&(N.detachEvent("onchange",r),N=null,D=null)}function s(e,t,n){return e===M.topChange?n:void 0}function u(e,t,n){e===M.topFocus?(a(),i(t,n)):e===M.topBlur&&a()}function c(e,t){N=e,D=t,I=e.value,k=Object.getOwnPropertyDescriptor(e.constructor.prototype,"value"),Object.defineProperty(N,"value",_),N.attachEvent("onpropertychange",p)}function l(){N&&(delete N.value,N.detachEvent("onpropertychange",p),N=null,D=null,I=null,k=null)}function p(e){if("value"===e.propertyName){var t=e.srcElement.value;t!==I&&(I=t,r(e))}}function d(e,t,n){return e===M.topInput?n:void 0}function f(e,t,n){e===M.topFocus?(l(),c(t,n)):e===M.topBlur&&l()}function h(e){return e!==M.topSelectionChange&&e!==M.topKeyUp&&e!==M.topKeyDown||!N||N.value===I?void 0:(I=N.value,D)}function m(e){return"INPUT"===e.nodeName&&("checkbox"===e.type||"radio"===e.type)}function g(e,t,n){return e===M.topClick?n:void 0}var v=e("./EventConstants"),y=e("./EventPluginHub"),b=e("./EventPropagators"),C=e("./ExecutionEnvironment"),x=e("./ReactUpdates"),E=e("./SyntheticEvent"),w=e("./isEventSupported"),S=e("./isTextInputElement"),T=e("./keyOf"),M=v.topLevelTypes,R={change:{phasedRegistrationNames:{bubbled:T({onChange:null}),captured:T({onChangeCapture:null})},dependencies:[M.topBlur,M.topChange,M.topClick,M.topFocus,M.topInput,M.topKeyDown,M.topKeyUp,M.topSelectionChange]}},N=null,D=null,I=null,k=null,A=!1;C.canUseDOM&&(A=w("change")&&(!("documentMode"in document)||document.documentMode>8));var O=!1;C.canUseDOM&&(O=w("input")&&(!("documentMode"in document)||document.documentMode>9));var _={get:function(){return k.get.call(this)},set:function(e){I=""+e,k.set.call(this,e)}},P={eventTypes:R,extractEvents:function(e,t,r,o){var i,a;if(n(t)?A?i=s:a=u:S(t)?O?i=d:(i=h,a=f):m(t)&&(i=g),i){var c=i(e,t,r);if(c){var l=E.getPooled(R.change,c,o);return b.accumulateTwoPhaseDispatches(l),l}}a&&a(e,t,r)}};t.exports=P},{"./EventConstants":15,"./EventPluginHub":17,"./EventPropagators":20,"./ExecutionEnvironment":21,"./ReactUpdates":81,"./SyntheticEvent":89,"./isEventSupported":126,"./isTextInputElement":128,"./keyOf":132}],6:[function(e,t){/**
* Copyright 2013-2014 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @providesModule ClientReactRootIndex
* @typechecks
*/
"use strict";var n=0,r={createReactRootIndex:function(){return n++}};t.exports=r},{}],7:[function(e,t){/**
* Copyright 2013-2014 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @providesModule CompositionEventPlugin
* @typechecks static-only
*/
"use strict";function n(e){switch(e){case v.topCompositionStart:return b.compositionStart;case v.topCompositionEnd:return b.compositionEnd;case v.topCompositionUpdate:return b.compositionUpdate}}function r(e,t){return e===v.topKeyDown&&t.keyCode===h}function o(e,t){switch(e){case v.topKeyUp:return-1!==f.indexOf(t.keyCode);case v.topKeyDown:return t.keyCode!==h;case v.topKeyPress:case v.topMouseDown:case v.topBlur:return!0;default:return!1}}function i(e){this.root=e,this.startSelection=c.getSelection(e),this.startValue=this.getText()}var a=e("./EventConstants"),s=e("./EventPropagators"),u=e("./ExecutionEnvironment"),c=e("./ReactInputSelection"),l=e("./SyntheticCompositionEvent"),p=e("./getTextContentAccessor"),d=e("./keyOf"),f=[9,13,27,32],h=229,m=u.canUseDOM&&"CompositionEvent"in window,g=!m||"documentMode"in document&&document.documentMode>8,v=a.topLevelTypes,y=null,b={compositionEnd:{phasedRegistrationNames:{bubbled:d({onCompositionEnd:null}),captured:d({onCompositionEndCapture:null})},dependencies:[v.topBlur,v.topCompositionEnd,v.topKeyDown,v.topKeyPress,v.topKeyUp,v.topMouseDown]},compositionStart:{phasedRegistrationNames:{bubbled:d({onCompositionStart:null}),captured:d({onCompositionStartCapture:null})},dependencies:[v.topBlur,v.topCompositionStart,v.topKeyDown,v.topKeyPress,v.topKeyUp,v.topMouseDown]},compositionUpdate:{phasedRegistrationNames:{bubbled:d({onCompositionUpdate:null}),captured:d({onCompositionUpdateCapture:null})},dependencies:[v.topBlur,v.topCompositionUpdate,v.topKeyDown,v.topKeyPress,v.topKeyUp,v.topMouseDown]}};i.prototype.getText=function(){return this.root.value||this.root[p()]},i.prototype.getData=function(){var e=this.getText(),t=this.startSelection.start,n=this.startValue.length-this.startSelection.end;return e.substr(t,e.length-n-t)};var C={eventTypes:b,extractEvents:function(e,t,a,u){var c,p;if(m?c=n(e):y?o(e,u)&&(c=b.compositionEnd):r(e,u)&&(c=b.compositionStart),g&&(y||c!==b.compositionStart?c===b.compositionEnd&&y&&(p=y.getData(),y=null):y=new i(t)),c){var d=l.getPooled(c,a,u);return p&&(d.data=p),s.accumulateTwoPhaseDispatches(d),d}}};t.exports=C},{"./EventConstants":15,"./EventPropagators":20,"./ExecutionEnvironment":21,"./ReactInputSelection":56,"./SyntheticCompositionEvent":87,"./getTextContentAccessor":121,"./keyOf":132}],8:[function(e,t){/**
* Copyright 2013-2014 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @providesModule DOMChildrenOperations
* @typechecks static-only
*/
"use strict";function n(e,t,n){var r=e.childNodes;r[n]!==t&&(t.parentNode===e&&e.removeChild(t),n>=r.length?e.appendChild(t):e.insertBefore(t,r[n]))}var r,o=e("./Danger"),i=e("./ReactMultiChildUpdateTypes"),a=e("./getTextContentAccessor"),s=a();r="textContent"===s?function(e,t){e.textContent=t}:function(e,t){for(;e.firstChild;)e.removeChild(e.firstChild);if(t){var n=e.ownerDocument||document;e.appendChild(n.createTextNode(t))}};var u={dangerouslyReplaceNodeWithMarkup:o.dangerouslyReplaceNodeWithMarkup,updateTextContent:r,processUpdates:function(e,t){for(var a,s=null,u=null,c=0;a=e[c];c++)if(a.type===i.MOVE_EXISTING||a.type===i.REMOVE_NODE){var l=a.fromIndex,p=a.parentNode.childNodes[l],d=a.parentID;s=s||{},s[d]=s[d]||[],s[d][l]=p,u=u||[],u.push(p)}var f=o.dangerouslyRenderMarkup(t);if(u)for(var h=0;ht)}var r=e("./DOMProperty"),o=e("./escapeTextForBrowser"),i=e("./memoizeStringOnly"),a=e("./warning"),s=i(function(e){return o(e)+'="'}),u={children:!0,dangerouslySetInnerHTML:!0,key:!0,ref:!0},c={},l=function(e){if(!u[e]&&!c[e]){c[e]=!0;var t=e.toLowerCase(),n=r.isCustomAttribute(t)?t:r.getPossibleStandardName[t];a(null==n,"Unknown DOM property "+e+". Did you mean "+n+"?")}},p={createMarkupForID:function(e){return s(r.ID_ATTRIBUTE_NAME)+o(e)+'"'},createMarkupForProperty:function(e,t){if(r.isStandardName[e]){if(n(e,t))return"";var i=r.getAttributeName[e];return r.hasBooleanValue[e]?o(i):s(i)+o(t)+'"'}return r.isCustomAttribute(e)?null==t?"":s(e)+o(t)+'"':(l(e),null)},setValueForProperty:function(e,t,o){if(r.isStandardName[t]){var i=r.getMutationMethod[t];if(i)i(e,o);else if(n(t,o))this.deleteValueForProperty(e,t);else if(r.mustUseAttribute[t])e.setAttribute(r.getAttributeName[t],""+o);else{var a=r.getPropertyName[t];r.hasSideEffects[t]&&e[a]===o||(e[a]=o)}}else r.isCustomAttribute(t)?null==o?e.removeAttribute(r.getAttributeName[t]):e.setAttribute(t,""+o):l(t)},deleteValueForProperty:function(e,t){if(r.isStandardName[t]){var n=r.getMutationMethod[t];if(n)n(e,void 0);else if(r.mustUseAttribute[t])e.removeAttribute(r.getAttributeName[t]);else{var o=r.getPropertyName[t],i=r.getDefaultValueForProperty(e.nodeName,o);r.hasSideEffects[t]&&e[o]===i||(e[o]=i)}}else r.isCustomAttribute(t)?e.removeAttribute(t):l(t)}};t.exports=p},{"./DOMProperty":9,"./escapeTextForBrowser":111,"./memoizeStringOnly":133,"./warning":148}],11:[function(e,t){/**
* Copyright 2013-2014 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @providesModule Danger
* @typechecks static-only
*/
"use strict";function n(e){return e.substring(1,e.indexOf(" "))}var r=e("./ExecutionEnvironment"),o=e("./createNodesFromMarkup"),i=e("./emptyFunction"),a=e("./getMarkupWrap"),s=e("./invariant"),u=/^(<[^ \/>]+)/,c="data-danger-index",l={dangerouslyRenderMarkup:function(e){s(r.canUseDOM,"dangerouslyRenderMarkup(...): Cannot render markup in a Worker thread. This is likely a bug in the framework. Please report immediately.");for(var t,l={},p=0;p node. This is because browser quirks make this unreliable and/or slow. If you want to render to the root you must use server rendering. See renderComponentToString().");var n=o(t,i)[0];e.parentNode.replaceChild(n,e)}};t.exports=l},{"./ExecutionEnvironment":21,"./createNodesFromMarkup":105,"./emptyFunction":109,"./getMarkupWrap":118,"./invariant":125}],12:[function(e,t){/**
* Copyright 2013-2014 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @providesModule DefaultDOMPropertyConfig
*/
"use strict";var n=e("./DOMProperty"),r=n.injection.MUST_USE_ATTRIBUTE,o=n.injection.MUST_USE_PROPERTY,i=n.injection.HAS_BOOLEAN_VALUE,a=n.injection.HAS_SIDE_EFFECTS,s=n.injection.HAS_POSITIVE_NUMERIC_VALUE,u={isCustomAttribute:RegExp.prototype.test.bind(/^(data|aria)-[a-z_][a-z\d_.\-]*$/),Properties:{accept:null,accessKey:null,action:null,allowFullScreen:r|i,allowTransparency:r,alt:null,async:i,autoComplete:null,autoPlay:i,cellPadding:null,cellSpacing:null,charSet:r,checked:o|i,className:o,cols:r|s,colSpan:null,content:null,contentEditable:null,contextMenu:r,controls:o|i,crossOrigin:null,data:null,dateTime:r,defer:i,dir:null,disabled:r|i,download:null,draggable:null,encType:null,form:r,formNoValidate:i,frameBorder:r,height:r,hidden:r|i,href:null,hrefLang:null,htmlFor:null,httpEquiv:null,icon:null,id:o,label:null,lang:null,list:null,loop:o|i,max:null,maxLength:r,mediaGroup:null,method:null,min:null,multiple:o|i,muted:o|i,name:null,noValidate:i,pattern:null,placeholder:null,poster:null,preload:null,radioGroup:null,readOnly:o|i,rel:null,required:i,role:r,rows:r|s,rowSpan:null,sandbox:null,scope:null,scrollLeft:o,scrollTop:o,seamless:r|i,selected:o|i,size:r|s,span:s,spellCheck:null,src:null,srcDoc:o,srcSet:null,step:null,style:null,tabIndex:null,target:null,title:null,type:null,value:o|a,width:r,wmode:r,autoCapitalize:null,autoCorrect:null,property:null,cx:r,cy:r,d:r,fill:r,fx:r,fy:r,gradientTransform:r,gradientUnits:r,offset:r,points:r,r:r,rx:r,ry:r,spreadMethod:r,stopColor:r,stopOpacity:r,stroke:r,strokeLinecap:r,strokeWidth:r,textAnchor:r,transform:r,version:r,viewBox:r,x1:r,x2:r,x:r,y1:r,y2:r,y:r},DOMAttributeNames:{className:"class",gradientTransform:"gradientTransform",gradientUnits:"gradientUnits",htmlFor:"for",spreadMethod:"spreadMethod",stopColor:"stop-color",stopOpacity:"stop-opacity",strokeLinecap:"stroke-linecap",strokeWidth:"stroke-width",textAnchor:"text-anchor",viewBox:"viewBox"},DOMPropertyNames:{autoCapitalize:"autocapitalize",autoComplete:"autocomplete",autoCorrect:"autocorrect",autoFocus:"autofocus",autoPlay:"autoplay",encType:"enctype",hrefLang:"hreflang",radioGroup:"radiogroup",spellCheck:"spellcheck",srcDoc:"srcdoc",srcSet:"srcset"}};t.exports=u},{"./DOMProperty":9}],13:[function(e,t){/**
* Copyright 2013-2014 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @providesModule DefaultEventPluginOrder
*/
"use strict";var n=e("./keyOf"),r=[n({ResponderEventPlugin:null}),n({SimpleEventPlugin:null}),n({TapEventPlugin:null}),n({EnterLeaveEventPlugin:null}),n({ChangeEventPlugin:null}),n({SelectEventPlugin:null}),n({CompositionEventPlugin:null}),n({AnalyticsEventPlugin:null}),n({MobileSafariClickEventPlugin:null})];t.exports=r},{"./keyOf":132}],14:[function(e,t){/**
* Copyright 2013-2014 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @providesModule EnterLeaveEventPlugin
* @typechecks static-only
*/
"use strict";var n=e("./EventConstants"),r=e("./EventPropagators"),o=e("./SyntheticMouseEvent"),i=e("./ReactMount"),a=e("./keyOf"),s=n.topLevelTypes,u=i.getFirstReactDOM,c={mouseEnter:{registrationName:a({onMouseEnter:null}),dependencies:[s.topMouseOut,s.topMouseOver]},mouseLeave:{registrationName:a({onMouseLeave:null}),dependencies:[s.topMouseOut,s.topMouseOver]}},l=[null,null],p={eventTypes:c,extractEvents:function(e,t,n,a){if(e===s.topMouseOver&&(a.relatedTarget||a.fromElement))return null;if(e!==s.topMouseOut&&e!==s.topMouseOver)return null;var p;if(t.window===t)p=t;else{var d=t.ownerDocument;p=d?d.defaultView||d.parentWindow:window}var f,h;if(e===s.topMouseOut?(f=t,h=u(a.relatedTarget||a.toElement)||p):(f=p,h=t),f===h)return null;var m=f?i.getID(f):"",g=h?i.getID(h):"",v=o.getPooled(c.mouseLeave,m,a);v.type="mouseleave",v.target=f,v.relatedTarget=h;var y=o.getPooled(c.mouseEnter,g,a);return y.type="mouseenter",y.target=h,y.relatedTarget=f,r.accumulateEnterLeaveDispatches(v,y,m,g),l[0]=v,l[1]=y,l}};t.exports=p},{"./EventConstants":15,"./EventPropagators":20,"./ReactMount":60,"./SyntheticMouseEvent":92,"./keyOf":132}],15:[function(e,t){/**
* Copyright 2013-2014 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @providesModule EventConstants
*/
"use strict";var n=e("./keyMirror"),r=n({bubbled:null,captured:null}),o=n({topBlur:null,topChange:null,topClick:null,topCompositionEnd:null,topCompositionStart:null,topCompositionUpdate:null,topContextMenu:null,topCopy:null,topCut:null,topDoubleClick:null,topDrag:null,topDragEnd:null,topDragEnter:null,topDragExit:null,topDragLeave:null,topDragOver:null,topDragStart:null,topDrop:null,topError:null,topFocus:null,topInput:null,topKeyDown:null,topKeyPress:null,topKeyUp:null,topLoad:null,topMouseDown:null,topMouseMove:null,topMouseOut:null,topMouseOver:null,topMouseUp:null,topPaste:null,topReset:null,topScroll:null,topSelectionChange:null,topSubmit:null,topTouchCancel:null,topTouchEnd:null,topTouchMove:null,topTouchStart:null,topWheel:null}),i={topLevelTypes:o,PropagationPhases:r};t.exports=i},{"./keyMirror":131}],16:[function(e,t){var n=e("./emptyFunction"),r={listen:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!1),{remove:function(){e.removeEventListener(t,n,!1)}}):e.attachEvent?(e.attachEvent("on"+t,n),{remove:function(){e.detachEvent(t,n)}}):void 0},capture:function(e,t,r){return e.addEventListener?(e.addEventListener(t,r,!0),{remove:function(){e.removeEventListener(t,r,!0)}}):(console.error("Attempted to listen to events during the capture phase on a browser that does not support the capture phase. Your application will not receive some events."),{remove:n})}};t.exports=r},{"./emptyFunction":109}],17:[function(e,t){/**
* Copyright 2013-2014 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @providesModule EventPluginHub
*/
"use strict";function n(){var e=!h||!h.traverseTwoPhase||!h.traverseEnterLeave;if(e)throw new Error("InstanceHandle not injected before use!")}var r=e("./EventPluginRegistry"),o=e("./EventPluginUtils"),i=e("./ExecutionEnvironment"),a=e("./accumulate"),s=e("./forEachAccumulated"),u=e("./invariant"),c=e("./isEventSupported"),l=e("./monitorCodeUse"),p={},d=null,f=function(e){if(e){var t=o.executeDispatch,n=r.getPluginModuleForEvent(e);n&&n.executeDispatch&&(t=n.executeDispatch),o.executeDispatchesInOrder(e,t),e.isPersistent()||e.constructor.release(e)}},h=null,m={injection:{injectMount:o.injection.injectMount,injectInstanceHandle:function(e){h=e,n()},getInstanceHandle:function(){return n(),h},injectEventPluginOrder:r.injectEventPluginOrder,injectEventPluginsByName:r.injectEventPluginsByName},eventNameDispatchConfigs:r.eventNameDispatchConfigs,registrationNameModules:r.registrationNameModules,putListener:function(e,t,n){u(i.canUseDOM,"Cannot call putListener() in a non-DOM environment."),u(!n||"function"==typeof n,"Expected %s listener to be a function, instead got type %s",t,typeof n),"onScroll"!==t||c("scroll",!0)||(l("react_no_scroll_event"),console.warn("This browser doesn't support the `onScroll` event"));var r=p[t]||(p[t]={});r[e]=n},getListener:function(e,t){var n=p[t];return n&&n[e]},deleteListener:function(e,t){var n=p[t];n&&delete n[e]},deleteAllListeners:function(e){for(var t in p)delete p[t][e]},extractEvents:function(e,t,n,o){for(var i,s=r.plugins,u=0,c=s.length;c>u;u++){var l=s[u];if(l){var p=l.extractEvents(e,t,n,o);p&&(i=a(i,p))}}return i},enqueueEvents:function(e){e&&(d=a(d,e))},processEventQueue:function(){var e=d;d=null,s(e,f),u(!d,"processEventQueue(): Additional events were enqueued while processing an event queue. Support for this has not yet been implemented.")},__purge:function(){p={}},__getListenerBank:function(){return p}};t.exports=m},{"./EventPluginRegistry":18,"./EventPluginUtils":19,"./ExecutionEnvironment":21,"./accumulate":98,"./forEachAccumulated":114,"./invariant":125,"./isEventSupported":126,"./monitorCodeUse":138}],18:[function(e,t){/**
* Copyright 2013-2014 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @providesModule EventPluginRegistry
* @typechecks static-only
*/
"use strict";function n(){if(a)for(var e in s){var t=s[e],n=a.indexOf(e);if(i(n>-1,"EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `%s`.",e),!u.plugins[n]){i(t.extractEvents,"EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `%s` does not.",e),u.plugins[n]=t;var o=t.eventTypes;for(var c in o)i(r(o[c],t,c),"EventPluginRegistry: Failed to publish event `%s` for plugin `%s`.",c,e)}}}function r(e,t,n){i(!u.eventNameDispatchConfigs[n],"EventPluginHub: More than one plugin attempted to publish the same event name, `%s`.",n),u.eventNameDispatchConfigs[n]=e;var r=e.phasedRegistrationNames;if(r){for(var a in r)if(r.hasOwnProperty(a)){var s=r[a];o(s,t,n)}return!0}return e.registrationName?(o(e.registrationName,t,n),!0):!1}function o(e,t,n){i(!u.registrationNameModules[e],"EventPluginHub: More than one plugin attempted to publish the same registration name, `%s`.",e),u.registrationNameModules[e]=t,u.registrationNameDependencies[e]=t.eventTypes[n].dependencies}var i=e("./invariant"),a=null,s={},u={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},injectEventPluginOrder:function(e){i(!a,"EventPluginRegistry: Cannot inject event plugin ordering more than once."),a=Array.prototype.slice.call(e),n()},injectEventPluginsByName:function(e){var t=!1;for(var r in e)if(e.hasOwnProperty(r)){var o=e[r];s[r]!==o&&(i(!s[r],"EventPluginRegistry: Cannot inject two different event plugins using the same name, `%s`.",r),s[r]=o,t=!0)}t&&n()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return u.registrationNameModules[t.registrationName]||null;for(var n in t.phasedRegistrationNames)if(t.phasedRegistrationNames.hasOwnProperty(n)){var r=u.registrationNameModules[t.phasedRegistrationNames[n]];if(r)return r}return null},_resetEventPlugins:function(){a=null;for(var e in s)s.hasOwnProperty(e)&&delete s[e];u.plugins.length=0;var t=u.eventNameDispatchConfigs;for(var n in t)t.hasOwnProperty(n)&&delete t[n];var r=u.registrationNameModules;for(var o in r)r.hasOwnProperty(o)&&delete r[o]}};t.exports=u},{"./invariant":125}],19:[function(e,t){/**
* Copyright 2013-2014 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @providesModule EventPluginUtils
*/
"use strict";function n(e){return e===m.topMouseUp||e===m.topTouchEnd||e===m.topTouchCancel}function r(e){return e===m.topMouseMove||e===m.topTouchMove}function o(e){return e===m.topMouseDown||e===m.topTouchStart}function i(e,t){var n=e._dispatchListeners,r=e._dispatchIDs;if(p(e),Array.isArray(n))for(var o=0;o-1&&console.debug("Download the React DevTools for a better development experience: http://fb.me/react-devtools"),C.version="0.10.0",t.exports=C},{"./DOMPropertyOperations":10,"./EventPluginUtils":19,"./ExecutionEnvironment":21,"./ReactChildren":30,"./ReactComponent":31,"./ReactCompositeComponent":33,"./ReactContext":34,"./ReactCurrentOwner":35,"./ReactDOM":36,"./ReactDOMComponent":38,"./ReactDefaultInjection":48,"./ReactInstanceHandles":57,"./ReactMount":60,"./ReactMultiChild":62,"./ReactPerf":65,"./ReactPropTypes":69,"./ReactServerRendering":73,"./ReactTextComponent":77,"./onlyChild":141}],27:[function(e,t){/**
* Copyright 2013-2014 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @providesModule ReactBrowserComponentMixin
*/
"use strict";var n=e("./ReactMount"),r=e("./invariant"),o={getDOMNode:function(){return r(this.isMounted(),"getDOMNode(): A component must be mounted to have a DOM node."),n.getNode(this._rootNodeID)}};t.exports=o},{"./ReactMount":60,"./invariant":125}],28:[function(e,t){/**
* Copyright 2013-2014 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @typechecks
* @providesModule ReactCSSTransitionGroup
*/
"use strict";var n=e("./React"),r=e("./ReactTransitionGroup"),o=e("./ReactCSSTransitionGroupChild"),i=n.createClass({propTypes:{transitionName:n.PropTypes.string.isRequired,transitionEnter:n.PropTypes.bool,transitionLeave:n.PropTypes.bool},getDefaultProps:function(){return{transitionEnter:!0,transitionLeave:!0}},_wrapChild:function(e){return o({name:this.props.transitionName,enter:this.props.transitionEnter,leave:this.props.transitionLeave},e)},render:function(){return this.transferPropsTo(r({childFactory:this._wrapChild},this.props.children))}});t.exports=i},{"./React":26,"./ReactCSSTransitionGroupChild":29,"./ReactTransitionGroup":80}],29:[function(e,t){/**
* Copyright 2013-2014 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @typechecks
* @providesModule ReactCSSTransitionGroupChild
*/
"use strict";var n=e("./React"),r=e("./CSSCore"),o=e("./ReactTransitionEvents"),i=e("./onlyChild"),a=17,s=5e3,u=null;u=function(){console.warn("transition(): tried to perform an animation without an animationend or transitionend event after timeout ("+s+"ms). You should either disable this transition in JS or add a CSS animation/transition.")};var c=n.createClass({transition:function(e,t){var n=this.getDOMNode(),i=this.props.name+"-"+e,a=i+"-active",c=null,l=function(){clearTimeout(c),r.removeClass(n,i),r.removeClass(n,a),o.removeEndEventListener(n,l),t&&t()};o.addEndEventListener(n,l),r.addClass(n,i),this.queueClass(a),c=setTimeout(u,s)},queueClass:function(e){return this.classNameQueue.push(e),this.props.runNextTick?void this.props.runNextTick(this.flushClassNameQueue):void(this.timeout||(this.timeout=setTimeout(this.flushClassNameQueue,a)))},flushClassNameQueue:function(){this.isMounted()&&this.classNameQueue.forEach(r.addClass.bind(r,this.getDOMNode())),this.classNameQueue.length=0,this.timeout=null},componentWillMount:function(){this.classNameQueue=[]},componentWillUnmount:function(){this.timeout&&clearTimeout(this.timeout)},componentWillEnter:function(e){this.props.enter?this.transition("enter",e):e()},componentWillLeave:function(e){this.props.leave?this.transition("leave",e):e()},render:function(){return i(this.props.children)}});t.exports=c},{"./CSSCore":2,"./React":26,"./ReactTransitionEvents":79,"./onlyChild":141}],30:[function(e,t){/**
* Copyright 2013-2014 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @providesModule ReactChildren
*/
"use strict";function n(e,t){this.forEachFunction=e,this.forEachContext=t}function r(e,t,n,r){var o=e;o.forEachFunction.call(o.forEachContext,t,r)}function o(e,t,o){if(null==e)return e;var i=n.getPooled(t,o);l(e,r,i),n.release(i)}function i(e,t,n){this.mapResult=e,this.mapFunction=t,this.mapContext=n}function a(e,t,n,r){var o=e,i=o.mapResult,a=o.mapFunction.call(o.mapContext,t,r);c(!i.hasOwnProperty(n),"ReactChildren.map(...): Encountered two children with the same key, `%s`. Children keys must be unique.",n),i[n]=a}function s(e,t,n){if(null==e)return e;var r={},o=i.getPooled(r,t,n);return l(e,a,o),i.release(o),r}var u=e("./PooledClass"),c=e("./invariant"),l=e("./traverseAllChildren"),p=u.twoArgumentPooler,d=u.threeArgumentPooler;u.addPoolingTo(n,p),u.addPoolingTo(i,d);var f={forEach:o,map:s};t.exports=f},{"./PooledClass":25,"./invariant":125,"./traverseAllChildren":146}],31:[function(e,t){/**
* Copyright 2013-2014 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @providesModule ReactComponent
*/
"use strict";function n(e){if(!e.__keyValidated__&&null==e.props.key&&(e.__keyValidated__=!0,a.current)){var t=a.current.constructor.displayName;if(!h.hasOwnProperty(t)){h[t]=!0;var n='Each child in an array should have a unique "key" prop. Check the render method of '+t+".",r=null;e.isOwnedBy(a.current)||(r=e._owner&&e._owner.constructor.displayName,n+=" It was passed a child from "+r+"."),n+=" See http://fb.me/react-warning-keys for more information.",d("react_key_warning",{component:t,componentOwner:r}),console.warn(n)}}}function r(e){if(v.test(e)){var t=a.current.constructor.displayName;if(m.hasOwnProperty(t))return;m[t]=!0,d("react_numeric_key_warning"),console.warn("Child objects should have non-numeric keys so ordering is preserved. Check the render method of "+t+". See http://fb.me/react-warning-keys for more information.")}}function o(){var e=a.current&&a.current.constructor.displayName||"";g.hasOwnProperty(e)||(g[e]=!0,d("react_object_map_children"))}function i(e){if(Array.isArray(e))for(var t=0;t1){for(var r=Array(n),o=0;n>o;o++)i(arguments[o+1]),r[o]=arguments[o+1];this.props.children=r}},mountComponent:function(e,t,n){c(!this.isMounted(),"mountComponent(%s, ...): Can only mount an unmounted component. Make sure to avoid storing components between renders or reusing a single component instance in multiple places.",e);var r=this.props;null!=r.ref&&s.addComponentAsRefTo(this,r.ref,this._owner),this._rootNodeID=e,this._lifeCycleState=f.MOUNTED,this._mountDepth=n},unmountComponent:function(){c(this.isMounted(),"unmountComponent(): Can only unmount a mounted component.");var e=this.props;null!=e.ref&&s.removeComponentAsRefFrom(this,e.ref,this._owner),b(this._rootNodeID),this._rootNodeID=null,this._lifeCycleState=f.UNMOUNTED},receiveComponent:function(e,t){c(this.isMounted(),"receiveComponent(...): Can only update a mounted component."),this._pendingOwner=e._owner,this._pendingProps=e.props,this._performUpdateIfNecessary(t)},performUpdateIfNecessary:function(){var e=x.ReactReconcileTransaction.getPooled();e.perform(this._performUpdateIfNecessary,this,e),x.ReactReconcileTransaction.release(e)},_performUpdateIfNecessary:function(e){if(null!=this._pendingProps){var t=this.props,n=this._owner;this.props=this._pendingProps,this._owner=this._pendingOwner,this._pendingProps=null,this.updateComponent(e,t,n)}},updateComponent:function(e,t,n){var r=this.props;(this._owner!==n||r.ref!==t.ref)&&(null!=t.ref&&s.removeComponentAsRefFrom(this,t.ref,n),null!=r.ref&&s.addComponentAsRefTo(this,r.ref,this._owner))},mountComponentIntoNode:function(e,t,n){var r=x.ReactReconcileTransaction.getPooled();r.perform(this._mountComponentIntoNode,this,e,t,r,n),x.ReactReconcileTransaction.release(r)},_mountComponentIntoNode:function(e,t,n,r){var o=this.mountComponent(e,n,0);C(o,t,r)},isOwnedBy:function(e){return this._owner===e},getSiblingByRef:function(e){var t=this._owner;return t&&t.refs?t.refs[e]:null}}};t.exports=x},{"./ReactCurrentOwner":35,"./ReactOwner":64,"./ReactUpdates":81,"./invariant":125,"./keyMirror":131,"./merge":134,"./monitorCodeUse":138}],32:[function(e,t){/**
* Copyright 2013-2014 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @providesModule ReactComponentBrowserEnvironment
*/
"use strict";var n=e("./ReactDOMIDOperations"),r=e("./ReactMarkupChecksum"),o=e("./ReactMount"),i=e("./ReactPerf"),a=e("./ReactReconcileTransaction"),s=e("./getReactRootElementInContainer"),u=e("./invariant"),c=1,l=9,p={ReactReconcileTransaction:a,BackendIDOperations:n,unmountIDFromEnvironment:function(e){o.purgeID(e)},mountImageIntoNode:i.measure("ReactComponentBrowserEnvironment","mountImageIntoNode",function(e,t,n){if(u(t&&(t.nodeType===c||t.nodeType===l),"mountComponentIntoNode(...): Target container is not valid."),n){if(r.canReuseMarkup(e,s(t)))return;u(t.nodeType!==l,"You're trying to render a component to the document using server rendering but the checksum was invalid. This usually means you rendered a different component type or props on the client from the one on the server, or your render() methods are impure. React cannot handle this case due to cross-browser quirks by rendering at the document root. You should look for environment dependent code in your components and ensure the props are the same client and server side."),console.warn("React attempted to use reuse markup in a container but the checksum was invalid. This generally means that you are using server rendering and the markup generated on the server was not what the client was expecting. React injectednew markup to compensate which works but you have lost many of the benefits of server rendering. Instead, figure out why the markup being generated is different on the client or server.")}u(t.nodeType!==l,"You're trying to render a component to the document but you didn't use server rendering. We can't do this without using server rendering due to cross-browser quirks. See renderComponentToString() for server rendering."),t.innerHTML=e})};t.exports=p},{"./ReactDOMIDOperations":40,"./ReactMarkupChecksum":59,"./ReactMount":60,"./ReactPerf":65,"./ReactReconcileTransaction":71,"./getReactRootElementInContainer":120,"./invariant":125}],33:[function(e,t){/**
* Copyright 2013-2014 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @providesModule ReactCompositeComponent
*/
"use strict";function n(e,t,n){for(var r in t)t.hasOwnProperty(r)&&E("function"==typeof t[r],"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",e.displayName||"ReactCompositeComponent",b[n],r)}function r(e,t){var n=A[t];X.hasOwnProperty(t)&&E(n===I.OVERRIDE_BASE,"ReactCompositeComponentInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",t),e.hasOwnProperty(t)&&E(n===I.DEFINE_MANY||n===I.DEFINE_MANY_MERGED,"ReactCompositeComponentInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",t)}function o(e){var t=e._compositeLifeCycleState;E(e.isMounted()||t===W.MOUNTING,"replaceState(...): Can only update a mounted or mounting component."),E(t!==W.RECEIVING_STATE,"replaceState(...): Cannot update during an existing state transition (such as within `render`). This could potentially cause an infinite loop so it is forbidden."),E(t!==W.UNMOUNTING,"replaceState(...): Cannot update while unmounting component. This usually means you called setState() on an unmounted component.")}function i(e,t){E(!l(t),"ReactCompositeComponent: You're attempting to use a component class as a mixin. Instead, just use a regular object."),E(!p.isValidComponent(t),"ReactCompositeComponent: You're attempting to use a component as a mixin. Instead, just use a regular object.");var n=e.componentConstructor,o=n.prototype;for(var i in t){var a=t[i];if(t.hasOwnProperty(i))if(r(o,i),O.hasOwnProperty(i))O[i](e,a);else{var s=i in A,d=i in o,f=a&&a.__reactDontBind,h="function"==typeof a,m=h&&!s&&!d&&!f;m?(o.__reactAutoBindMap||(o.__reactAutoBindMap={}),o.__reactAutoBindMap[i]=a,o[i]=a):o[i]=d?A[i]===I.DEFINE_MANY_MERGED?u(o[i],a):c(o[i],a):a}}}function a(e,t){if(t)for(var n in t){var r=t[n];if(!t.hasOwnProperty(n))return;var o=n in e,i=r;if(o){var a=e[n],s=typeof a,u=typeof r;E("function"===s&&"function"===u,"ReactCompositeComponent: You are attempting to define `%s` on your component more than once, but that is only supported for functions, which are chained together. This conflict may be due to a mixin.",n),i=c(a,r)}e[n]=i,e.componentConstructor[n]=i}}function s(e,t){return E(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeObjectsWithNoDuplicateKeys(): Cannot merge non-objects"),R(t,function(t,n){E(void 0===e[n],"mergeObjectsWithNoDuplicateKeys(): Tried to merge two objects with the same key: %s",n),e[n]=t}),e}function u(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);return null==n?r:null==r?n:s(n,r)}}function c(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function l(e){return e instanceof Function&&"componentConstructor"in e&&e.componentConstructor instanceof Function}var p=e("./ReactComponent"),d=e("./ReactContext"),f=e("./ReactCurrentOwner"),h=e("./ReactErrorUtils"),m=e("./ReactOwner"),g=e("./ReactPerf"),v=e("./ReactPropTransferer"),y=e("./ReactPropTypeLocations"),b=e("./ReactPropTypeLocationNames"),C=e("./ReactUpdates"),x=e("./instantiateReactComponent"),E=e("./invariant"),w=e("./keyMirror"),S=e("./merge"),T=e("./mixInto"),M=e("./monitorCodeUse"),R=e("./objMap"),N=e("./shouldUpdateReactComponent"),D=e("./warning"),I=w({DEFINE_ONCE:null,DEFINE_MANY:null,OVERRIDE_BASE:null,DEFINE_MANY_MERGED:null}),k=[],A={mixins:I.DEFINE_MANY,statics:I.DEFINE_MANY,propTypes:I.DEFINE_MANY,contextTypes:I.DEFINE_MANY,childContextTypes:I.DEFINE_MANY,getDefaultProps:I.DEFINE_MANY_MERGED,getInitialState:I.DEFINE_MANY_MERGED,getChildContext:I.DEFINE_MANY_MERGED,render:I.DEFINE_ONCE,componentWillMount:I.DEFINE_MANY,componentDidMount:I.DEFINE_MANY,componentWillReceiveProps:I.DEFINE_MANY,shouldComponentUpdate:I.DEFINE_ONCE,componentWillUpdate:I.DEFINE_MANY,componentDidUpdate:I.DEFINE_MANY,componentWillUnmount:I.DEFINE_MANY,updateComponent:I.OVERRIDE_BASE},O={displayName:function(e,t){e.componentConstructor.displayName=t},mixins:function(e,t){if(t)for(var n=0;n0||n)){var r=e.constructor.displayName||"Unknown",o=f.current,i=o&&o.constructor.displayName||"Unknown",a=t+"|"+r+"|"+i;if(!L.hasOwnProperty(a)){L[a]=!0;var s=o?" in "+i+".":" at the top level.",u="<"+r+" />.type."+t+"(...)";M("react_descriptor_property_access",{component:r}),console.warn('Invalid access to component property "'+t+'" on '+r+s+" See http://fb.me/react-warning-descriptors . Use a static method instead: "+u)}}},B=function(e,t){return e.__reactMembraneFunction&&e.__reactMembraneSelf===t?e.__reactMembraneFunction:e.__reactMembraneFunction=function(){j++;try{var n=this===t?this.__realComponentInstance:this;return e.apply(n,arguments)}finally{j--}}},F=function(e,t,n){Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:function(){if(this===e)return t[n];U(this,n);var r=this.__realComponentInstance[n];return"function"==typeof r&&"type"!==n&&"constructor"!==n?B(r,this):r},set:function(r){return this===e?void(t[n]=r):(U(this,n),void(this.__realComponentInstance[n]=r))}})},H=function(e){var t,n={};for(t in e)F(n,e,t);for(t in P)!P.hasOwnProperty(t)||t in e||F(n,e,t);return n},q=function(e){try{var t=function(){this.__realComponentInstance=new e,Object.freeze(this)};return t.prototype=H(e.prototype),t}catch(n){return e}},W=w({MOUNTING:null,UNMOUNTING:null,RECEIVING_PROPS:null,RECEIVING_STATE:null}),X={construct:function(){p.Mixin.construct.apply(this,arguments),m.Mixin.construct.apply(this,arguments),this.state=null,this._pendingState=null,this.context=null,this._currentContext=d.current,this._pendingContext=null,this._descriptor=null,this._compositeLifeCycleState=null},toJSON:function(){return{type:this.type,props:this.props}},isMounted:function(){return p.Mixin.isMounted.call(this)&&this._compositeLifeCycleState!==W.MOUNTING},mountComponent:g.measure("ReactCompositeComponent","mountComponent",function(e,t,n){p.Mixin.mountComponent.call(this,e,t,n),this._compositeLifeCycleState=W.MOUNTING,this.context=this._processContext(this._currentContext),this._defaultProps=this.getDefaultProps?this.getDefaultProps():null,this.props=this._processProps(this.props),this.__reactAutoBindMap&&this._bindAutoBindMethods(),this.state=this.getInitialState?this.getInitialState():null,E("object"==typeof this.state&&!Array.isArray(this.state),"%s.getInitialState(): must return an object or null",this.constructor.displayName||"ReactCompositeComponent"),this._pendingState=null,this._pendingForceUpdate=!1,this.componentWillMount&&(this.componentWillMount(),this._pendingState&&(this.state=this._pendingState,this._pendingState=null)),this._renderedComponent=x(this._renderValidatedComponent()),this._compositeLifeCycleState=null;var r=this._renderedComponent.mountComponent(e,t,n+1);return this.componentDidMount&&t.getReactMountReady().enqueue(this,this.componentDidMount),r}),unmountComponent:function(){this._compositeLifeCycleState=W.UNMOUNTING,this.componentWillUnmount&&this.componentWillUnmount(),this._compositeLifeCycleState=null,this._defaultProps=null,this._renderedComponent.unmountComponent(),this._renderedComponent=null,p.Mixin.unmountComponent.call(this)},setState:function(e,t){E("object"==typeof e||null==e,"setState(...): takes an object of state variables to update."),D(null!=e,"setState(...): You passed an undefined or null state object; instead, use forceUpdate()."),this.replaceState(S(this._pendingState||this.state,e),t)},replaceState:function(e,t){o(this),this._pendingState=e,C.enqueueUpdate(this,t)},_processContext:function(e){var t=null,n=this.constructor.contextTypes;if(n){t={};for(var r in n)t[r]=e[r];this._checkPropTypes(n,t,y.context)}return t},_processChildContext:function(e){var t=this.getChildContext&&this.getChildContext(),n=this.constructor.displayName||"ReactCompositeComponent";if(t){E("object"==typeof this.constructor.childContextTypes,"%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",n),this._checkPropTypes(this.constructor.childContextTypes,t,y.childContext);for(var r in t)E(r in this.constructor.childContextTypes,'%s.getChildContext(): key "%s" is not defined in childContextTypes.',n,r);return S(e,t)}return e},_processProps:function(e){var t=S(e),n=this._defaultProps;for(var r in n)"undefined"==typeof t[r]&&(t[r]=n[r]);var o=this.constructor.propTypes;return o&&this._checkPropTypes(o,t,y.prop),t},_checkPropTypes:function(e,t,n){var r=this.constructor.displayName;for(var o in e)e.hasOwnProperty(o)&&e[o](t,o,r,n)},performUpdateIfNecessary:function(){var e=this._compositeLifeCycleState;e!==W.MOUNTING&&e!==W.RECEIVING_PROPS&&p.Mixin.performUpdateIfNecessary.call(this)},_performUpdateIfNecessary:function(e){if(null!=this._pendingProps||null!=this._pendingState||null!=this._pendingContext||this._pendingForceUpdate){var t=this._pendingContext||this._currentContext,n=this._processContext(t);this._pendingContext=null;var r=this.props;null!=this._pendingProps&&(r=this._processProps(this._pendingProps),this._pendingProps=null,this._compositeLifeCycleState=W.RECEIVING_PROPS,this.componentWillReceiveProps&&this.componentWillReceiveProps(r,n)),this._compositeLifeCycleState=W.RECEIVING_STATE;var o=this._pendingOwner,i=this._pendingState||this.state;this._pendingState=null;try{this._pendingForceUpdate||!this.shouldComponentUpdate||this.shouldComponentUpdate(r,i,n)?(this._pendingForceUpdate=!1,this._performComponentUpdate(r,o,i,t,n,e)):(this.props=r,this._owner=o,this.state=i,this._currentContext=t,this.context=n)}finally{this._compositeLifeCycleState=null}}},_performComponentUpdate:function(e,t,n,r,o,i){var a=this.props,s=this._owner,u=this.state,c=this.context;this.componentWillUpdate&&this.componentWillUpdate(e,n,o),this.props=e,this._owner=t,this.state=n,this._currentContext=r,this.context=o,this.updateComponent(i,a,s,u,c),this.componentDidUpdate&&i.getReactMountReady().enqueue(this,this.componentDidUpdate.bind(this,a,u,c))},receiveComponent:function(e,t){e!==this._descriptor&&(this._descriptor=e,this._pendingContext=e._currentContext,p.Mixin.receiveComponent.call(this,e,t))},updateComponent:g.measure("ReactCompositeComponent","updateComponent",function(e,t,n){p.Mixin.updateComponent.call(this,e,t,n);var r=this._renderedComponent,o=this._renderValidatedComponent();if(N(r,o))r.receiveComponent(o,e);else{var i=this._rootNodeID,a=r._rootNodeID;r.unmountComponent(),this._renderedComponent=x(o);var s=this._renderedComponent.mountComponent(i,e,this._mountDepth+1);p.BackendIDOperations.dangerouslyReplaceNodeWithMarkupByID(a,s)}}),forceUpdate:function(e){var t=this._compositeLifeCycleState;E(this.isMounted()||t===W.MOUNTING,"forceUpdate(...): Can only force an update on mounted or mounting components."),E(t!==W.RECEIVING_STATE&&t!==W.UNMOUNTING,"forceUpdate(...): Cannot force an update while unmounting component or during an existing state transition (such as within `render`)."),this._pendingForceUpdate=!0,C.enqueueUpdate(this,e)},_renderValidatedComponent:g.measure("ReactCompositeComponent","_renderValidatedComponent",function(){var e,t=d.current;d.current=this._processChildContext(this._currentContext),f.current=this;try{e=this.render()}finally{d.current=t,f.current=null}return E(p.isValidComponent(e),"%s.render(): A valid ReactComponent must be returned. You may have returned null, undefined, an array, or some other invalid object.",this.constructor.displayName||"ReactCompositeComponent"),e}),_bindAutoBindMethods:function(){for(var e in this.__reactAutoBindMap)if(this.__reactAutoBindMap.hasOwnProperty(e)){var t=this.__reactAutoBindMap[e];this[e]=this._bindAutoBindMethod(h.guard(t,this.constructor.displayName+"."+e))}},_bindAutoBindMethod:function(e){var t=this,n=function(){return e.apply(t,arguments)};n.__reactBoundContext=t,n.__reactBoundMethod=e,n.__reactBoundArguments=null;var r=t.constructor.displayName,o=n.bind;return n.bind=function(i){var a=Array.prototype.slice.call(arguments,1);if(i!==t&&null!==i)M("react_bind_warning",{component:r}),console.warn("bind(): React component methods may only be bound to the component instance. See "+r);else if(!a.length)return M("react_bind_warning",{component:r}),console.warn("bind(): You are binding a component method to the component. React does this for you automatically in a high-performance way, so you can safely remove this call. See "+r),n;var s=o.apply(n,arguments);return s.__reactBoundContext=t,s.__reactBoundMethod=e,s.__reactBoundArguments=a,s},n}},V=function(){};T(V,p.Mixin),T(V,m.Mixin),T(V,v.Mixin),T(V,X);var z={LifeCycle:W,Base:V,createClass:function(e){var t=function(){};t.prototype=new V,t.prototype.constructor=t;var n=t,r=function(){var e=new n;return e.construct.apply(e,arguments),e};r.componentConstructor=t,t.ConvenienceConstructor=r,r.originalSpec=e,k.forEach(i.bind(null,r)),i(r,e),E(t.prototype.render,"createClass(...): Class specification must implement a `render` method."),t.prototype.componentShouldUpdate&&(M("react_component_should_update_warning",{component:e.displayName}),console.warn((e.displayName||"A component")+" has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.")),r.type=t,t.prototype.type=t;for(var o in A)t.prototype[o]||(t.prototype[o]=null);return n=q(t),r},isValidClass:l,injection:{injectMixin:function(e){k.push(e)}}};t.exports=z},{"./ReactComponent":31,"./ReactContext":34,"./ReactCurrentOwner":35,"./ReactErrorUtils":51,"./ReactOwner":64,"./ReactPerf":65,"./ReactPropTransferer":66,"./ReactPropTypeLocationNames":67,"./ReactPropTypeLocations":68,"./ReactUpdates":81,"./instantiateReactComponent":124,"./invariant":125,"./keyMirror":131,"./merge":134,"./mixInto":137,"./monitorCodeUse":138,"./objMap":139,"./shouldUpdateReactComponent":144,"./warning":148}],34:[function(e,t){/**
* Copyright 2013-2014 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @providesModule ReactContext
*/
"use strict";var n=e("./merge"),r={current:{},withContext:function(e,t){var o,i=r.current;r.current=n(i,e);try{o=t()}finally{r.current=i}return o}};t.exports=r},{"./merge":134}],35:[function(e,t){/**
* Copyright 2013-2014 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @providesModule ReactCurrentOwner
*/
"use strict";var n={current:null};t.exports=n},{}],36:[function(e,t){/**
* Copyright 2013-2014 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @providesModule ReactDOM
* @typechecks static-only
*/
"use strict";function n(e,t){var n=function(){};n.prototype=new r(e,t),n.prototype.constructor=n,n.displayName=e;var o=function(){var e=new n;return e.construct.apply(e,arguments),e};return o.type=n,n.prototype.type=n,n.ConvenienceConstructor=o,o.componentConstructor=n,o}var r=e("./ReactDOMComponent"),o=e("./mergeInto"),i=e("./objMapKeyVal"),a=i({a:!1,abbr:!1,address:!1,area:!0,article:!1,aside:!1,audio:!1,b:!1,base:!0,bdi:!1,bdo:!1,big:!1,blockquote:!1,body:!1,br:!0,button:!1,canvas:!1,caption:!1,cite:!1,code:!1,col:!0,colgroup:!1,data:!1,datalist:!1,dd:!1,del:!1,details:!1,dfn:!1,div:!1,dl:!1,dt:!1,em:!1,embed:!0,fieldset:!1,figcaption:!1,figure:!1,footer:!1,form:!1,h1:!1,h2:!1,h3:!1,h4:!1,h5:!1,h6:!1,head:!1,header:!1,hr:!0,html:!1,i:!1,iframe:!1,img:!0,input:!0,ins:!1,kbd:!1,keygen:!0,label:!1,legend:!1,li:!1,link:!0,main:!1,map:!1,mark:!1,menu:!1,menuitem:!1,meta:!0,meter:!1,nav:!1,noscript:!1,object:!1,ol:!1,optgroup:!1,option:!1,output:!1,p:!1,param:!0,pre:!1,progress:!1,q:!1,rp:!1,rt:!1,ruby:!1,s:!1,samp:!1,script:!1,section:!1,select:!1,small:!1,source:!0,span:!1,strong:!1,style:!1,sub:!1,summary:!1,sup:!1,table:!1,tbody:!1,td:!1,textarea:!1,tfoot:!1,th:!1,thead:!1,time:!1,title:!1,tr:!1,track:!0,u:!1,ul:!1,"var":!1,video:!1,wbr:!0,circle:!1,defs:!1,g:!1,line:!1,linearGradient:!1,path:!1,polygon:!1,polyline:!1,radialGradient:!1,rect:!1,stop:!1,svg:!1,text:!1},n),s={injectComponentClasses:function(e){o(a,e)}};a.injection=s,t.exports=a},{"./ReactDOMComponent":38,"./mergeInto":136,"./objMapKeyVal":140}],37:[function(e,t){/**
* Copyright 2013-2014 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @providesModule ReactDOMButton
*/
"use strict";var n=e("./AutoFocusMixin"),r=e("./ReactBrowserComponentMixin"),o=e("./ReactCompositeComponent"),i=e("./ReactDOM"),a=e("./keyMirror"),s=i.button,u=a({onClick:!0,onDoubleClick:!0,onMouseDown:!0,onMouseMove:!0,onMouseUp:!0,onClickCapture:!0,onDoubleClickCapture:!0,onMouseDownCapture:!0,onMouseMoveCapture:!0,onMouseUpCapture:!0}),c=o.createClass({displayName:"ReactDOMButton",mixins:[n,r],render:function(){var e={};for(var t in this.props)!this.props.hasOwnProperty(t)||this.props.disabled&&u[t]||(e[t]=this.props[t]);return s(e,this.props.children)}});t.exports=c},{"./AutoFocusMixin":1,"./ReactBrowserComponentMixin":27,"./ReactCompositeComponent":33,"./ReactDOM":36,"./keyMirror":131}],38:[function(e,t){/**
* Copyright 2013-2014 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @providesModule ReactDOMComponent
* @typechecks static-only
*/
"use strict";function n(e){e&&(m(null==e.children||null==e.dangerouslySetInnerHTML,"Can only set one of `children` or `props.dangerouslySetInnerHTML`."),m(null==e.style||"object"==typeof e.style,"The `style` prop expects a mapping from style properties to values, not a string."))}function r(e,t,n,r){var o=p.findReactContainerForID(e);if(o){var i=o.nodeType===S?o.ownerDocument:o;C(t,i)}r.getPutListenerQueue().enqueuePutListener(e,t,n)}function o(e,t){this._tagOpen="<"+e,this._tagClose=t?"":""+e+">",this.tagName=e.toUpperCase()}var i=e("./CSSPropertyOperations"),a=e("./DOMProperty"),s=e("./DOMPropertyOperations"),u=e("./ReactBrowserComponentMixin"),c=e("./ReactComponent"),l=e("./ReactEventEmitter"),p=e("./ReactMount"),d=e("./ReactMultiChild"),f=e("./ReactPerf"),h=e("./escapeTextForBrowser"),m=e("./invariant"),g=e("./keyOf"),v=e("./merge"),y=e("./mixInto"),b=l.deleteListener,C=l.listenTo,x=l.registrationNameModules,E={string:!0,number:!0},w=g({style:null}),S=1;o.Mixin={mountComponent:f.measure("ReactDOMComponent","mountComponent",function(e,t,r){return c.Mixin.mountComponent.call(this,e,t,r),n(this.props),this._createOpenTagMarkupAndPutListeners(t)+this._createContentMarkup(t)+this._tagClose}),_createOpenTagMarkupAndPutListeners:function(e){var t=this.props,n=this._tagOpen;for(var o in t)if(t.hasOwnProperty(o)){var a=t[o];if(null!=a)if(x[o])r(this._rootNodeID,o,a,e);else{o===w&&(a&&(a=t.style=v(t.style)),a=i.createMarkupForStyles(a));var u=s.createMarkupForProperty(o,a);u&&(n+=" "+u)}}if(e.renderToStaticMarkup)return n+">";var c=s.createMarkupForID(this._rootNodeID);return n+" "+c+">"},_createContentMarkup:function(e){var t=this.props.dangerouslySetInnerHTML;if(null!=t){if(null!=t.__html)return t.__html}else{var n=E[typeof this.props.children]?this.props.children:null,r=null!=n?null:this.props.children;if(null!=n)return h(n);if(null!=r){var o=this.mountChildren(r,e);return o.join("")}}return""},receiveComponent:function(e,t){e!==this&&(n(e.props),c.Mixin.receiveComponent.call(this,e,t))},updateComponent:f.measure("ReactDOMComponent","updateComponent",function(e,t,n){c.Mixin.updateComponent.call(this,e,t,n),this._updateDOMProperties(t,e),this._updateDOMChildren(t,e)}),_updateDOMProperties:function(e,t){var n,o,i,s=this.props;for(n in e)if(!s.hasOwnProperty(n)&&e.hasOwnProperty(n))if(n===w){var u=e[n];for(o in u)u.hasOwnProperty(o)&&(i=i||{},i[o]="")}else x[n]?b(this._rootNodeID,n):(a.isStandardName[n]||a.isCustomAttribute(n))&&c.BackendIDOperations.deletePropertyByID(this._rootNodeID,n);for(n in s){var l=s[n],p=e[n];if(s.hasOwnProperty(n)&&l!==p)if(n===w)if(l&&(l=s.style=v(l)),p){for(o in p)p.hasOwnProperty(o)&&!l.hasOwnProperty(o)&&(i=i||{},i[o]="");for(o in l)l.hasOwnProperty(o)&&p[o]!==l[o]&&(i=i||{},i[o]=l[o])}else i=l;else x[n]?r(this._rootNodeID,n,l,t):(a.isStandardName[n]||a.isCustomAttribute(n))&&c.BackendIDOperations.updatePropertyByID(this._rootNodeID,n,l)}i&&c.BackendIDOperations.updateStylesByID(this._rootNodeID,i)},_updateDOMChildren:function(e,t){var n=this.props,r=E[typeof e.children]?e.children:null,o=E[typeof n.children]?n.children:null,i=e.dangerouslySetInnerHTML&&e.dangerouslySetInnerHTML.__html,a=n.dangerouslySetInnerHTML&&n.dangerouslySetInnerHTML.__html,s=null!=r?null:e.children,u=null!=o?null:n.children,l=null!=r||null!=i,p=null!=o||null!=a;null!=s&&null==u?this.updateChildren(null,t):l&&!p&&this.updateTextContent(""),null!=o?r!==o&&this.updateTextContent(""+o):null!=a?i!==a&&c.BackendIDOperations.updateInnerHTMLByID(this._rootNodeID,a):null!=u&&this.updateChildren(u,t)},unmountComponent:function(){this.unmountChildren(),l.deleteAllListeners(this._rootNodeID),c.Mixin.unmountComponent.call(this)}},y(o,c.Mixin),y(o,o.Mixin),y(o,d.Mixin),y(o,u),t.exports=o},{"./CSSPropertyOperations":4,"./DOMProperty":9,"./DOMPropertyOperations":10,"./ReactBrowserComponentMixin":27,"./ReactComponent":31,"./ReactEventEmitter":52,"./ReactMount":60,"./ReactMultiChild":62,"./ReactPerf":65,"./escapeTextForBrowser":111,"./invariant":125,"./keyOf":132,"./merge":134,"./mixInto":137}],39:[function(e,t){/**
* Copyright 2013-2014 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @providesModule ReactDOMForm
*/
"use strict";var n=e("./ReactBrowserComponentMixin"),r=e("./ReactCompositeComponent"),o=e("./ReactDOM"),i=e("./ReactEventEmitter"),a=e("./EventConstants"),s=o.form,u=r.createClass({displayName:"ReactDOMForm",mixins:[n],render:function(){return this.transferPropsTo(s(null,this.props.children))},componentDidMount:function(){i.trapBubbledEvent(a.topLevelTypes.topReset,"reset",this.getDOMNode()),i.trapBubbledEvent(a.topLevelTypes.topSubmit,"submit",this.getDOMNode())}});t.exports=u},{"./EventConstants":15,"./ReactBrowserComponentMixin":27,"./ReactCompositeComponent":33,"./ReactDOM":36,"./ReactEventEmitter":52}],40:[function(e,t){/**
* Copyright 2013-2014 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @providesModule ReactDOMIDOperations
* @typechecks static-only
*/
"use strict";var n,r=e("./CSSPropertyOperations"),o=e("./DOMChildrenOperations"),i=e("./DOMPropertyOperations"),a=e("./ReactMount"),s=e("./ReactPerf"),u=e("./invariant"),c={dangerouslySetInnerHTML:"`dangerouslySetInnerHTML` must be set using `updateInnerHTMLByID()`.",style:"`style` must be set using `updateStylesByID()`."},l={updatePropertyByID:s.measure("ReactDOMIDOperations","updatePropertyByID",function(e,t,n){var r=a.getNode(e);u(!c.hasOwnProperty(t),"updatePropertyByID(...): %s",c[t]),null!=n?i.setValueForProperty(r,t,n):i.deleteValueForProperty(r,t)}),deletePropertyByID:s.measure("ReactDOMIDOperations","deletePropertyByID",function(e,t,n){var r=a.getNode(e);u(!c.hasOwnProperty(t),"updatePropertyByID(...): %s",c[t]),i.deleteValueForProperty(r,t,n)}),updateStylesByID:s.measure("ReactDOMIDOperations","updateStylesByID",function(e,t){var n=a.getNode(e);r.setValueForStyles(n,t)}),updateInnerHTMLByID:s.measure("ReactDOMIDOperations","updateInnerHTMLByID",function(e,t){var r=a.getNode(e);if(void 0===n){var o=document.createElement("div");o.innerHTML=" ",n=""===o.innerHTML}n&&r.parentNode.replaceChild(r,r),n&&t.match(/^[ \r\n\t\f]/)?(r.innerHTML="\ufeff"+t,r.firstChild.deleteData(0,1)):r.innerHTML=t}),updateTextContentByID:s.measure("ReactDOMIDOperations","updateTextContentByID",function(e,t){var n=a.getNode(e);o.updateTextContent(n,t)}),dangerouslyReplaceNodeWithMarkupByID:s.measure("ReactDOMIDOperations","dangerouslyReplaceNodeWithMarkupByID",function(e,t){var n=a.getNode(e);o.dangerouslyReplaceNodeWithMarkup(n,t)}),dangerouslyProcessChildrenUpdates:s.measure("ReactDOMIDOperations","dangerouslyProcessChildrenUpdates",function(e,t){for(var n=0;nl;l++){var f=s[l];if(f!==i&&f.form===i.form){var h=u.getID(f);c(h,"ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");var m=d[h];c(m,"ReactDOMInput: Unknown radio button ID %s.",h),m.setState({checked:!1})}}}return t}});t.exports=f},{"./AutoFocusMixin":1,"./DOMPropertyOperations":10,"./LinkedValueUtils":23,"./ReactBrowserComponentMixin":27,"./ReactCompositeComponent":33,"./ReactDOM":36,"./ReactMount":60,"./invariant":125,"./merge":134}],43:[function(e,t){/**
* Copyright 2013-2014 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @providesModule ReactDOMOption
*/
"use strict";var n=e("./ReactBrowserComponentMixin"),r=e("./ReactCompositeComponent"),o=e("./ReactDOM"),i=e("./warning"),a=o.option,s=r.createClass({displayName:"ReactDOMOption",mixins:[n],componentWillMount:function(){i(null==this.props.selected,"Use the `defaultValue` or `value` props on