Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

flint-tools

Package Overview
Dependencies
Maintainers
2
Versions
310
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flint-tools - npm Package Compare versions

Comparing version 1.4.28 to 1.4.29

4

build/_/flinttools.js

@@ -1,3 +0,3 @@

exports.flinttools=function(e,t){!function(e){!function(){e.file("close.js",function(t){e.staticStyles("Close",{$:"#_flintdevtools .ViewClose"},{$:{position:"absolute",right:0,top:0,display:"flex",justifyContent:"center",alignItems:"center",lineHeight:1,opacity:.15,cursor:"pointer",transition:"all ease-in 200ms"}}),e.viewRoots.Close="close",e.view("Close",function(e,t,n){e.render(function(){return e.el(["close",1],{onClick:e.props.onClick},"x")}),n.$=function(t,n){return{fontSize:e.props.fontSize||13,width:e.props.size||50,height:e.props.size||50,":hover":{opacity:.4}}}})})}(),function(){e.file("debounce.js",function(t){var n=function(e,t){return e+t},o=300,i=800,r=5e3,l=1e4,s=1e3;e.view("Debounce",function(e,t,a){var f=void 0,u=void 0,c=void 0,d=void 0,p=void 0,v=void 0,g=!1,h=[];e.pause(),t.props(function(){function t(){e.props.onUpdate&&e.props.onUpdate(),e.update()}if(e.props.force)return e.set("showKey",f=Math.random()),t();if(!e.props.showKey||e.props.showKey!=f){e.set("showKey",f=e.props.showKey),e.set("delay",d=e.props.delay||o),e.set("curDelay",p=p||d);var a=Date.now(),m=c?a-c:r;e.set("lastTime",c=a),e.set("lastFew",h.unshift(m),h,!0),h.length>3&&e.set("lastFew",h.pop(),h,!0),m>l?e.set("lastFew",h=[]):3==h.length&&(e.set("avgDiff",v=h.reduce(n,0)/h.length),e.set("isAutoSaving",g=s>v),e.set("curDelay",p=g?i:d)),clearTimeout(u),e.set("timeout",u=setTimeout(t,p)),e.update()}})})})}(),function(){e.file("errors.js",function(t){function n(){setTimeout(function(){if(a){var e=document.querySelectorAll(".__flintError");e.length&&[].forEach.call(e,function(e){-1==e.className.indexOf("active")&&(e.className+=" active")})}},s()?1e3:100)}function o(e){if(e.file&&(e.file=e.file.replace(new RegExp(".*"+window.location.origin+"(/[_]+/)?"),"")),e.file&&e.file.indexOf("internals.js")>=0)if(e.message&&0==e.message.indexOf("Cannot find module")){var t=e.message.match(/(fs|path)/);t&&t.length&&(e.file="imported module:",e.message="Cannot import node-only module: "+t[0])}else e.message="Error in a locally required file. "+e.message;return e.message&&(e.niceMessage=e.message.replace(/Uncaught .*Error:\s*/,"")),e}function i(e){var t=e.msg,n=e.name;return t&&(t=t.replace(/(npm WARN.*\n|ERR\!)/g,"").replace(/npm argv.*\n/g,"").replace(/npm node v.*\n/g,"").replace(/npm npm.*\n/g,"").replace(/npm code.*\n/g,"").replace(/npm peerinvalid /g,"").replace(/npm 404 /g,"")),{msg:t,name:n}}var r=window._DT,l=function(e,t){return[e.substring(0,t),e.substring(t,t+1),e.substring(t+1)]},s=function(){return r.editor&&r.editor.live},a=void 0,f=function(e){return c(v(g(e)))},u=function(e){return e?e.replace(/.*\.js\:/,"").replace(/\([0-9]+\:[0-9]+\)/,"").replace(/Line [0-9]+\:\s*/,""):""},c=function(e){return e.niceMessage=u(e.message,e.fileName),e},d=/\>?\s*([0-9]*)\s*\|(.*)/g,p=/\s*\|\s*\^\s*$/g,v=function(e){return e?(e.stack&&!function(){e.fullStack=["","",""];var t=0;e.stack.split("\n").forEach(function(n){if(!p.test(n)&&d.test(n)){var o=">"===n[0];o&&(t=1),o||1!==t||(t=2);var i=n.replace(d,"$1$2").replace(/^(\s*[0-9]+\s*)[;]/,"$1 ");e.fullStack[t]+=i+"\n"}})}(),e):void 0},g=function(e){return e?(e.stack&&e.stack.split("\n").map(function(t){if(">"===t[0]){var n=t;if(!n)return;n=n.replace(/\>\s*[0-9]+\s*\|\s*/,""),n=u(n);var o=e.loc.column-4;e.niceStack=l(n,o)}}),e):void 0},h=function(){};e.view("Errors",function(e,t,n){function l(){c?e.set("error",u=f(c)):d?e.set("error",u=o(d)):e.set("error",u=null),a=u,h("tools: view.update()"),e.update(),e.update()}function s(){e.set("error",u=null),e.set("compileError",c=null),e.set("runtimeError",d=null),e.set("npmError",p=null),e.update(),e.update()}e.pause();var u=null,c=null,d=null,p=null;r.on("compile:error",function(){h("compile:error"),e.set("compileError",c=r.data.error),l(),e.update()}),r.on("runtime:error",function(){e.set("runtimeError",d=r.data),h("runtime:error",d),l(),e.update()}),r.on("npm:error",function(){e.set("npmError",p=i(r.data.error)),h("npm:error",p),e.update(),e.update()}),r.on("runtime:success",function(){h("runtime:success"),e.set("runtimeError",d=null),e.set("npmError",p=null),l(),e.update()}),r.on("compile:success",function(){h("compile:success"),e.set("compileError",c=null),e.set("npmError",p=null),l(),e.update()}),e.render(function(){return e.el(["ErrorMessage",1],{error:u,npmError:p,close:s})})});var m=0,w=function(e){return e&&e.replace(/[\?\)].*/,"")},_=function(e){return e&&(e.line||e.loc&&e.loc.line)};e.staticStyles("ErrorMessage",{$bar:"#_flintdevtools bar.ErrorMessage, #_flintdevtools .ErrorMessage.bar, #_flintdevtools .ViewErrorMessage.bar, #_flintdevtools .ErrorMessage > .bar",$inner:"#_flintdevtools inner.ErrorMessage, #_flintdevtools .ErrorMessage.inner, #_flintdevtools .ViewErrorMessage.inner, #_flintdevtools .ErrorMessage > .inner",$top:"#_flintdevtools top.ErrorMessage, #_flintdevtools .ErrorMessage.top, #_flintdevtools .ViewErrorMessage.top, #_flintdevtools .ErrorMessage > .top",$where:"#_flintdevtools where.ErrorMessage, #_flintdevtools .ErrorMessage.where, #_flintdevtools .ViewErrorMessage.where, #_flintdevtools .ErrorMessage > .where",$line:"#_flintdevtools line.ErrorMessage, #_flintdevtools .ErrorMessage.line, #_flintdevtools .ViewErrorMessage.line, #_flintdevtools .ErrorMessage > .line",$flint:"#_flintdevtools flint.ErrorMessage, #_flintdevtools .ErrorMessage.flint, #_flintdevtools .ViewErrorMessage.flint, #_flintdevtools .ErrorMessage > .flint",$shortError:"#_flintdevtools shortError.ErrorMessage, #_flintdevtools .ErrorMessage.shortError, #_flintdevtools .ViewErrorMessage.shortError, #_flintdevtools .ErrorMessage > .shortError",$cur:"#_flintdevtools cur.ErrorMessage, #_flintdevtools .ErrorMessage.cur, #_flintdevtools .ViewErrorMessage.cur, #_flintdevtools .ErrorMessage > .cur",$errCol:"#_flintdevtools errCol.ErrorMessage, #_flintdevtools .ErrorMessage.errCol, #_flintdevtools .ViewErrorMessage.errCol, #_flintdevtools .ErrorMessage > .errCol",$ln:"#_flintdevtools ln.ErrorMessage, #_flintdevtools .ErrorMessage.ln, #_flintdevtools .ViewErrorMessage.ln, #_flintdevtools .ErrorMessage > .ln",$flintline:"#_flintdevtools flintline.ErrorMessage, #_flintdevtools .ErrorMessage.flintline, #_flintdevtools .ViewErrorMessage.flintline, #_flintdevtools .ErrorMessage > .flintline"},{$bar:{display:"block",position:"fixed",left:0,transition:"all 200ms ease-in",right:0,fontFamily:'-apple-system, "San Francisco", Roboto, "Segou UI", "Helvetica Neue", Helvetica, Arial, sans-serif',fontWeight:300,color:"#fff",fontSize:"14px",padding:2,pointerEvents:"all",overflow:"scroll",zIndex:2147483647,boxShadow:"0 -6px 12px rgba(0,0,0,0.06)"},$inner:{display:"block",maxHeight:200,overflowY:"scroll"},$top:{padding:8,display:"block"},$where:{display:"inline-block",pointerEvents:"all",fontWeight:300,color:"rgba(255,255,255,0.8)"},$line:{display:"inline-block",whiteSpace:"pre",pointerEvents:"all"},$flint:{display:"inline",fontWeight:700,color:"#fff"},$shortError:{display:"inline",color:"rgba(255,255,255,0.7)"},$cur:{background:"#fff"},$errCol:{display:"inline",borderBottom:"2px solid #f5d64c",margin:-3,padding:3,color:"#fff"},$ln:{padding:[0,20]},$flintline:{whiteSpace:"pre",pointerEvents:"all",fontWeight:"flint"}}),e.view("ErrorMessage",function(t,o,i){t.pause();var l=!1,a={},f=void 0,u=void 0,c=_(t.props.error),d=void 0;o.props(function(){d&&d(),t.set("npmError",f=t.props.npmError),t.set("hasError",l=!(!t.props.error&&!t.props.npmError)),t.set("error",a=t.props.error||a),t.set("line",c=_(a)),t.set("fullStack",u=null),t.update(),a&&t.set("clearDelay",d=o.delay(2500,function(){l&&a.fullStack&&(t.set("fullStack",u=a.fullStack),t.update())})),t.update()}),r.emitter.on("editor:state",function(){return setTimeout(t.update)}),t.render(function(){return t.el(["Debounce",1],{delay:s()?2e3:1e3,force:l===!1,showKey:u||a&&a.message,onUpdate:n},t.el(["bar",1],null,t.el(["Close",1],{onClick:t.props.close,size:35}),e.iff(f)&&t.el(["inner",1],{"if":f},t.el(["where",1],null,t.el(["flint",1],null,f.name))," ",f.msg),t.el(["inner",2],null,t.el(["top",1],null,t.el(["where",2],null,t.el(["span",1],null,"In ",t.el(["flint",2],null,w(a.file))),t.el(["line",1],null,c?" line":""," ",e.iff(c)&&t.el(["flint",3],{"if":c},c-m)))," ",t.el(["shortError",1],null,(a.niceMessage||a.message||"").trim(),e.iff(a.niceStack)&&t.el(["niceStack",1],{"if":a.niceStack},a.niceStack[0],t.el(["errCol",1],null,a.niceStack[1]),a.niceStack[2])),e.iff(a.help)&&t.el(["help",1],{"if":a.help},a.help)),e.iff(u)&&t.el(["fullStack",1],{"if":u},t.el(["ln",1],null,""+u[0]),t.el(["ln",2],{className:"cur"},""+u[1]),t.el(["ln",3],null,""+u[2])))))});var p="#cd423e";i.bar=function(e,t){return{background:p,bottom:l?0:-100}};var v={color:"rgba(255,255,255,0.85)",display:"inline",fontFamily:"Meslo, Menlo, Monaco, monospace",padding:[0,5]};i.niceStack=function(e,t){return v},i.fullStack=function(e,t){return[v,{maxHeight:u?600:0,padding:u?[10,0]:0,transition:"maxHeight ease-in 300ms",color:"rgba(0,0,0,0.85)",background:"rgba(255,255,255,0.9)",display:"block",whiteSpace:"pre",fontSize:14,borderRadius:3,margin:2}]}}),e.staticStyles("ErrorIcon",{$svg:"#_flintdevtools svg.ErrorIcon, #_flintdevtools .ErrorIcon.svg, #_flintdevtools .ViewErrorIcon.svg, #_flintdevtools .ErrorIcon > .svg"},{$svg:{width:19,fill:"red",margin:-4,marginLeft:3,marginRight:6,opacity:.9}}),e.view("ErrorIcon",function(e,t,n){e.render(function(){return e.el(["svg",1],{viewBox:"0 0 27.963 27.963"},e.el(["path",1],{d:"M13.983,0C6.261,0,0.001,6.259,0.001,13.979c0,7.724,6.26,13.984,13.982,13.984s13.98-6.261,13.98-13.984 C27.963,6.259,21.705,0,13.983,0z M13.983,26.531c-6.933,0-12.55-5.62-12.55-12.553c0-6.93,5.617-12.548,12.55-12.548 c6.931,0,12.549,5.618,12.549,12.548C26.531,20.911,20.913,26.531,13.983,26.531z"}),e.el(["polygon",1],{points:"15.579,17.158 16.191,4.579 11.804,4.579 12.414,17.158"}),e.el(["path",2],{d:"M13.998,18.546c-1.471,0-2.5,1.029-2.5,2.526c0,1.443,0.999,2.528,2.444,2.528h0.056c1.499,0,2.469-1.085,2.469-2.528 C16.441,19.575,15.468,18.546,13.998,18.546z"}))})})})}();var t=require("babel-runtime/helpers/extends")["default"],n=require("babel-runtime/helpers/to-array")["default"],o=require("babel-runtime/helpers/sliced-to-array")["default"],i=require("babel-runtime/helpers/interop-require-default")["default"];!function(){e.file("inspector.js",function(r){function l(e){var t=e.getBoundingClientRect(),n=window.innerWidth,o=window.innerHeight,i=V(t.right-t.left),r=V(t.bottom-t.top),l=1;i>=n&&r>=o&&(l=.2),$.setAttribute("style","\n top: "+V(t.top)+"px;\n left: "+V(t.left)+"px;\n width: "+i+"px;\n height: "+r+"px;\n opacity: "+l+";\n ")}function s(){$.setAttribute("style","")}function a(e){if(!e||!e.getAttribute)return null;var t=e.__flintID;return t?(l(e),t):a(e.parentNode)}function f(e,t){return e.filter(function(e){return e.path==t}).length>0}function u(e){return e.filter(function(e){return!e.temp}).map(function(e){return t({},e,{highlight:!1})})}function c(e,t){return[{path:t,highlight:!1,temp:!0}].concat(e)}function d(e,t){return e.map(function(e){return e.path==t&&(e.closing=!0),e})}function p(e,t){return e.map(function(e){return e.path==t&&(e.highlight=!0),e})}function v(e,t){if(f(e,t))return e.map(function(e){return e.path==t&&(e.temp=!0),e});var n={temp:!1,highlight:!1,closing:!1,path:t};return[].concat([n],e)}function g(){return window._Flint}function h(e,t){var n=g(),i=n.getCache[e];t.reduce(function(e,t){if("root"==t)return e;if(!Array.isArray(t))return e[t];var n=o(t,2),i=n[0],r=n[1],l=e[i];"number"==typeof l&&(r=+r),e[i]=r},i),n.inspectorRefreshing=e,n.getInitialStates[e](),n.viewsAtPath[e].forceUpdate(),n.inspectorRefreshing=null}var m=r("./keys"),w=r("./lib/inspecting"),_=i(w),b=r("lodash"),y=function(e){var t=n(e),o=(t[0],t.slice(1));return o},V=Math.round,$=void 0;e.staticStyles("Inspector",{$:"#_flintdevtools .ViewInspector"},{$:{position:"fixed",top:0,right:0,padding:2}}),e.view("Inspector",function(n,o,i){function r(e){P(e)?n.set("offAlt",j=o.delay(180,function(){P(e)&&k()})):(j&&j(),I())}function l(e){g().isInspecting=!0;var t=a(e);null!==t&&(n.set("views",F=u(F)),n.set("views",F=f(F,t)?p(F,t):c(F,t)),n.update())}function w(e){var t=e.target,o=ReactDOM.findDOMNode(n);if(L!=t){if(o.contains(t))return;n.set("lastTarget",L=t),_["default"].set(t),T&&l(L)}}function V(){F.length&&(n.set("views",F=y(F)),n.update())}function M(e,t){t&&t.stopPropagation(),n.set("views",F=d(F,e)),o.delay(200,function(){n.set("views",F=F.filter(function(t){return e!=t.path})),n.update()}),n.update()}function E(e){var t=e.target,o=ReactDOM.findDOMNode(n);return o.contains(t)?void 0:(n.set("views",F=v(u(F),a(t))),!1)}function k(){l(L),n.set("hudActive",T=!0),n.set("clickOff",x=o.click(window,E)),n.update()}function I(){g().isInspecting=!1,n.set("hudActive",T=!1),s(),x&&x(),n.set("views",F=u(F)),n.update()}function S(e,t){h(e,t),n.update()}var x=void 0,C=void 0,L=void 0,T=!1,F=[];o.mount(function(){n.set("hoverOff",C=o.mousemove(window,(0,b.throttle)(w,40))),$||($=document.createElement("div"),$.className="_flintHighlighter",document.body.appendChild($),n.update())}),(0,m.onKeyDown)("esc",V);var j=void 0,P=function(e){var t=e.altKey,n=e.metaKey;return t&&!n};o.keydown(window,r),o.keyup(window,r),n.render(function(){return e.range(F).map(function(e,o){return n.el(["Inspector.View",1,e,o],t({repeat:F,key:e.path},e,{writeBack:S,onClose:function(t){return M(e.path,t)}}))})})})})}();var r=require("babel-runtime/core-js/object/keys")["default"];!function(){e.file("inspector/highlighter.js",function(t){e.view("Highlighter",function(t,n,o){t.render(function(){return e.iff(!t.props.highlight||-1===t.props.string.indexOf(t.props.highlight))&&t.el(["name",1],{"if":!t.props.highlight||-1===t.props.string.indexOf(t.props.highlight)},t.props.string)}),t.render(function(){return e.iff(t.props.highlight)&&t.el(["span",1],{"if":t.props.highlight},e.range(t.props.string.split()).map(function(n,o){return t.el(["span",2,n,o],{repeat:t.props.string.split()},e.iff(o>0)&&t.el(["highlight",1,n,o],{"if":o>0},t.props.highlight),n)}))})})})}();var t=require("babel-runtime/helpers/extends")["default"];!function(){e.file("inspector/label.js",function(n){var o=n("lodash");e.staticStyles("Label",{$input:"#_flintdevtools input.Label, #_flintdevtools .Label.input, #_flintdevtools .ViewLabel.input, #_flintdevtools .Label > .input",$focus:"#_flintdevtools focus.Label, #_flintdevtools .Label.focus, #_flintdevtools .ViewLabel.focus, #_flintdevtools .Label > .focus"},{$input:{position:"absolute",top:0,left:-1,right:0,color:"#333",padding:1,width:140,outline:"none",border:"none",opacity:0,boxShadow:"1px 1px 2px rgba(0,0,0,0.4)"},$focus:{opacity:"1 !important"}}),e.view("Label",function(e,n,i){var r=e.prop("val",void 0),l=e.prop("editable",void 0),s=e.prop("onSet",void 0);n.props(function(){r=e.getProp("val"),l=e.getProp("editable"),s=e.getProp("onSet")});var a=void 0,f=void 0;n.props(function(){a||e.set("newVal",f=r),e.update()});var u=function(t){if(l){if((0,o.isBoolean)(r))return s(!r);e.set("focus",a=!0),t.stopPropagation(),e.update()}},c=function(t){e.set("focus",a=!1),e.update()},d=function(t){e.set("newVal",f=t.target.value),e.update({immediate:!0}),(!(0,o.isNumber)(r)||""!==f&&!isNaN(f))&&("false"===f&&e.set("newVal",f=!1),"true"===f&&e.set("newVal",f=!0),s(f),e.update())},p=function(e){return e?{}:{tabIndex:5e3,disabled:!0}};e.render(function(){return e.el(["input",1],t({defaultValue:r.toString(),value:f,className:{focus:a},size:Math.max(4,r&&r.length||0),spellCheck:!1,onMouseDown:u,onFocus:u,onEnter:c},p(l),{onFocus:u,onBlur:c,onChange:d}))}),i.input=function(e,t){return{cursor:(0,o.isBoolean)(r)?"pointer":"auto"}}})})}();var r=require("babel-runtime/core-js/object/keys")["default"],i=require("babel-runtime/helpers/interop-require-default")["default"];!function(){e.file("inspector/leaf.js",function(t){var n=t("md5-o-matic"),o=i(n),l=t("../lib/getType"),s=i(l),a=t("ellipsize"),f=i(a),u=".root.",c=function(e,t){return-1!==e.indexOf(t)},d=function(e){return"Object"!==(0,s["default"])(e)&&"Array"!==(0,s["default"])(e)},p=function(){};e.staticStyles("Leaf",{$leaf:"#_flintdevtools .ViewLeaf",$helper:"#_flintdevtools helper.Leaf, #_flintdevtools .Leaf.helper, #_flintdevtools .ViewLeaf.helper, #_flintdevtools .Leaf > .helper",$boolean:"#_flintdevtools boolean.Leaf, #_flintdevtools .Leaf.boolean, #_flintdevtools .ViewLeaf.boolean, #_flintdevtools .Leaf > .boolean",$number:"#_flintdevtools number.Leaf, #_flintdevtools .Leaf.number, #_flintdevtools .ViewLeaf.number, #_flintdevtools .Leaf > .number",$string:"#_flintdevtools string.Leaf, #_flintdevtools .Leaf.string, #_flintdevtools .ViewLeaf.string, #_flintdevtools .Leaf > .string",$function:"#_flintdevtools function.Leaf, #_flintdevtools .Leaf.function, #_flintdevtools .ViewLeaf.function, #_flintdevtools .Leaf > .function",$colon:"#_flintdevtools colon.Leaf, #_flintdevtools .Leaf.colon, #_flintdevtools .ViewLeaf.colon, #_flintdevtools .Leaf > .colon",$name:"#_flintdevtools name.Leaf, #_flintdevtools .Leaf.name, #_flintdevtools .ViewLeaf.name, #_flintdevtools .Leaf > .name",$children:"#_flintdevtools children.Leaf, #_flintdevtools .Leaf.children, #_flintdevtools .ViewLeaf.children, #_flintdevtools .Leaf > .children",$type:"#_flintdevtools type.Leaf, #_flintdevtools .Leaf.type, #_flintdevtools .ViewLeaf.type, #_flintdevtools .Leaf > .type"},{$leaf:{padding:[1,0],fontSize:13},$helper:{color:"#ffff05"},$boolean:{color:"#32a3cd",fontWeight:700},$number:{color:"#b92222",marginTop:2,fontWeight:500},$string:{color:"#698c17"},$function:{marginLeft:10,marginTop:2,color:"#962eba"},$colon:{opacity:.3,color:"#000"},$name:{color:"#ff2f2f",fontWeight:400,margin:["auto",0]},$children:{paddingLeft:10},$type:{margin:[1,0,0,8],opacity:.7,flexFlow:"row"}}),e.viewRoots.Leaf="leaf",e.view("Leaf",function(t,n,i){function l(e){t.props.root||t.set("expanded",x=!x),t.update(),V(E),e.stopPropagation(),t.update()}var a=t.prop("isExpanded",void 0),v=t.prop("data",void 0),g=t.prop("prefix",void 0),h=t.prop("query",void 0),m=t.prop("label",void 0),w=t.prop("id",void 0),_=t.prop("editable",void 0);n.props(function(){a=t.getProp("isExpanded"),v=t.getProp("data"),g=t.getProp("prefix"),h=t.getProp("query"),m=t.getProp("label"),w=t.getProp("id"),_=t.getProp("editable")});var b=t.prop("getOriginal",p),y=t.prop("onSet",p),V=t.prop("onClick",p);n.props(function(){b=t.getProp("getOriginal"),y=t.getProp("onSet"),V=t.getProp("onClick")}),t.pause();var $=void 0,M=void 0,E=void 0,k=void 0,I=void 0,S=void 0,x=void 0,C=[],L="",T=function(){return t.props.root||!L&&a(M,v)||!c(M,L)&&"function"==typeof b};n.props(function(){t.set("rootPath",$=g+"."+m),t.set("key",I=m.toString()),t.set("path",M=$.substr(u.length)),t.set("_data",E=v),"string"==typeof E&&E.indexOf("\n")>-1&&t.set("_data",E=E.split("\n")),E&&t.set("dataKeys",C=r(E).sort()),void 0===E&&t.set("_data",E=v),void 0===E&&t.set("_data",E={}),t.set("type",k=(0,s["default"])(E)),t.set("_query",L=h||""),t.props.root?t.set("expanded",x=!0):L&&t.set("expanded",x=!c(m,L)),h&&!L&&t.set("expanded",x=T()),t.update(),t.update()});var F=function(e,t){return d(t)?e+":"+(0,o["default"])(String(e)):e+"["+(0,s["default"])(t)+"]"},j=function(e){return t.el(["Highlighter",1],{string:e,highlight:L})},P=function(e){return e.toString().replace(/((\/\/.*$)|(\/\*[\s\S]*?\*\/)|(\s))/gm,"").match(/^function\s*[^\(]*\(\s*([^\)]*)\)/m)[1].split(/,/)},O=function(e,n,o,i){return t.el(["Label",1],{val:n,editable:i,onSet:function(e){return y([o,e])}})};t.render(function(){return t.el(["leaf",1],{className:$},e.iff(!t.props.root)&&t.el(["label",1],{"if":!t.props.root,htmlFor:w,onClick:l},t.el(["key",1],null,t.el(["name",1],null,j(I)),O("key",I,I,!1)),t.el(["colon",1],null,":"),e.iff("Function"==k)&&t.el(["expand",1],{className:"function","if":"Function"==k},t.el(["i",1],null,"fn (",P(E).join(", "),")")),e.iff("Array"==k)&&t.el(["expand",2],{"if":"Array"==k},t.el(["type",1],null,"Array[",E.length,"]")),e.iff("Object"==k)&&t.el(["expand",3],{"if":"Object"==k},t.el(["type",2],null,"{} "+C.length+" keys")),e.iff(-1==["Array","Object","Function"].indexOf(k))&&t.el(["value",1],{"if":-1==["Array","Object","Function"].indexOf(k),className:k.toLowerCase()},e.iff("string"==k.toLowerCase())&&t.el(["str",1],{"if":"string"==k.toLowerCase()},j((0,f["default"])(String(E),25))),e.iff("string"!=k.toLowerCase())&&t.el(["else",1],{"if":"string"!=k.toLowerCase()},j(String(E))),O("val",E,I,_))),t.el(["children",1],null,e.iff(x&&!d(E))&&e.range(C).map(function(n,o){return t.el(["child",1,n,o],{"if":x&&!d(E),repeat:C},e.iff(-1==n.indexOf("__"))&&t.el(["Leaf",1,n,o],{"if":-1==n.indexOf("__"),key:F(n,E[n]),onSet:function(){for(var e=arguments.length,t=Array(e),n=0;e>n;n++)t[n]=arguments[n];return y.apply(void 0,[I].concat(t))},data:E[n],editable:_,label:n,prefix:$,onClick:V,id:w,query:L,getOriginal:S?null:b,isExpanded:a}))})))});var R={flexFlow:"row"};i.label=function(e,t){return[R,{position:"relative",color:"rgba(0,0,0,0.8)",opacity:1,alignItems:"baseline"}]},i.key=function(e,t){return[R,{color:"rgba(0,0,0,0.9)",margin:[0],fontWeight:"bold"}]},i.expand=function(e,t){return[R,{}]},i.value=function(e,t){return[R,{position:"relative",margin:[0,4,0]}]}})})}(),function(){e.file("inspector/section.js",function(t){e.staticStyles("Inspector.Section",{$:"#_flintdevtools .ViewInspector-Section",$body:"#_flintdevtools body.Inspector-Section, #_flintdevtools .Inspector-Section.body, #_flintdevtools .ViewInspector-Section.body, #_flintdevtools .Inspector-Section > .body",$inactive:"#_flintdevtools inactive.Inspector-Section, #_flintdevtools .Inspector-Section.inactive, #_flintdevtools .ViewInspector-Section.inactive, #_flintdevtools .Inspector-Section > .inactive"},{$:{padding:[5,0]},$body:{padding:[0,12]},$inactive:{display:"none"}}),e.view("Inspector.Section",function(e,t,n){var o=!0;e.render(function(){return e.el(["Inspector.Title",1],{onToggle:function(t){e.set("open",o=t),e.update()}},e.props.title)}),e.render(function(){return e.el(["body",1],null,e.props.children)})})})}();var t=require("babel-runtime/helpers/extends")["default"],i=require("babel-runtime/helpers/interop-require-default")["default"];!function(){e.file("inspector/statetests.js",function(n){var o=n("mouse-event-offset"),r=i(o);e.view("StateTests",function(e,t,n){e.render(function(){return e.el(["Tests.Name",1],null)}),e.render(function(){return e.el(["Tests.Boolean",1],null)}),e.render(function(){return e.el(["Tests.Counter",1],null)}),e.render(function(){return e.el(["Tests.Props",1],null)}),e.render(function(){return e.el(["Tests.Circles",1],null)})}),e.view("Tests.Boolean",function(e,t,n){var o=!1;e.render(function(){return e.el(["h1",1],null,"is tupac dead? ",o.toString())}),e.render(function(){return e.el(["button",1],{onClick:function(){e.set("dead",o=!o),e.update()}},"toggle")})}),e.staticStyles("Tests.Props",{$:"#_flintdevtools .ViewTests-Props"},{$:{marginTop:20}}),e.view("Tests.Props",function(e,t,n){var o="a string";e.render(function(){return e.el(["input",1],{__flintValue:o,__flintOnChange:function(t){e.set("name",o=t),e.update()}})}),e.render(function(){return e.el(["Test.PropsChild",1],{name:o})})}),e.view("Test.PropsChild",function(e,t,n){var o=e.prop("name",void 0);t.props(function(){o=e.getProp("name")});var i=0;e.render(function(){return e.el(["h1",1],null,"my name is ",o)}),e.render(function(){return e.el(["h4",1],null,"counter to test state ",i)}),e.render(function(){return e.el(["button",1],{onClick:function(){e.set("count",i++,i,!0),e.update()}},"up")})}),e.view("Tests.Counter",function(e,t,n){var o=0;e.render(function(){return e.el(["h1",1],null,"count is ",o)}),e.render(function(){return e.el(["button",1],{onClick:function(){e.set("count",o++,o,!0),e.update()}},"up")}),e.render(function(){return e.el(["button",2],{onClick:function(){e.set("count",o--,o,!0),e.update()}},"down")})}),e.view("Tests.Deep",function(e,t,n){var o={name:"nick",tools:["js","juggling balls","coffee"]};e.render(function(){return e.el(["h1",1],null,"deep")}),e.render(function(){return e.el(["h2",1],null,JSON.stringify(o))})}),e.view("Tests.Name",function(e,t,n){var o="nick",i="cammarata";e.render(function(){return e.el(["h2",1],null,"name is ",o," ",i)}),e.render(function(){return e.el(["input",1],{__flintValue:o,__flintOnChange:function(t){e.set("first",o=t),e.update()}})}),e.render(function(){return e.el(["input",2],{__flintValue:i,__flintOnChange:function(t){e.set("last",i=t),e.update()}})}),e.render(function(){return e.el(["button",1],{onClick:function(){e.set("first",o="nate"),e.set("last",i="wienert"),e.update()}},"nateify")})}),e.staticStyles("Tests.Circles",{$circles:"#_flintdevtools circles.Tests-Circles, #_flintdevtools .Tests-Circles.circles, #_flintdevtools .ViewTests-Circles.circles, #_flintdevtools .Tests-Circles > .circles"},{$circles:{position:"relative",background:"#eee",height:400,width:400}}),e.view("Tests.Circles",function(t,n,o){function i(e){t.set("coords",l.push((0,r["default"])(e)),l,!0),t.update()}var l=[[200,200]];t.render(function(){return t.el(["circles",1],{onClick:i},e.range(l).map(function(e,n){return t.el(["Tests.Circle",1,e,n],{repeat:l,key:""+e[0]+e[1],left:e[0],top:e[1]})}))})}),e.view("Tests.Circle",function(e,n,o){var i=function(){return Math.round(255*Math.random())},r={background:[i(),i(),i()],position:"absolute",top:e.props.top,left:e.props.left,width:118,height:29,borderRadius:27},l=function(e){return t({},r,{transform:{scale:e}})};e.render(function(){return e.el(["circle",1],{style:l(1)})})})})}(),function(){e.file("inspector/title.js",function(t){e.staticStyles("Inspector.Title",{$title:"#_flintdevtools title.Inspector-Title, #_flintdevtools .Inspector-Title.title, #_flintdevtools .ViewInspector-Title.title, #_flintdevtools .Inspector-Title > .title",$closed:"#_flintdevtools closed.Inspector-Title, #_flintdevtools .Inspector-Title.closed, #_flintdevtools .ViewInspector-Title.closed, #_flintdevtools .Inspector-Title > .closed",$inner:"#_flintdevtools inner.Inspector-Title, #_flintdevtools .Inspector-Title.inner, #_flintdevtools .ViewInspector-Title.inner, #_flintdevtools .Inspector-Title > .inner"},{$title:{fontWeight:300,borderBottom:"1px solid #eee",height:10,margin:[5,5,8],color:"#999",flexFlow:"row"},$closed:{marginTop:1},$inner:{padding:[4,10],background:"#fff"}}),e.view("Inspector.Title",function(e,t,n){function o(){e.props.onToggle&&(e.set("open",i=!i),e.props.onToggle(i),e.update())}var i=!0;e.render(function(){return e.el(["title",1],{onClick:o},e.el(["inner",1],null,e.props.children))}),n.closed=function(e,t){return{transform:{scale:.8}}},n.inner=function(e,t){return{margin:[-2,"auto"]}}})})}();var i=require("babel-runtime/helpers/interop-require-default")["default"];!function(){e.file("inspector/tree.js",function(t){var n=t("../lib/lens"),o=i(n);e.staticStyles("Tree",{$:"#_flintdevtools .ViewTree"},{$:{pointerEvents:"auto",marginLeft:-10}}),e.viewRoots.Tree="Leaf",e.view("Tree",function(e,t,n){var i="",r=function(t){return(0,o["default"])(e.props.data,t)};e.render(function(){return e.el(["Leaf",1],{data:e.props.data,onClick:e.props.onClick,id:e.props.id,getOriginal:r,query:i,label:"root",editable:e.props.editable,root:!0,validateQuery:function(e){return e.length>=2},isExpanded:e.props.isExpanded||function(){return!1},interactiveLabel:e.props.interactiveLabel,onSet:function(){for(var t=arguments.length,n=Array(t),o=0;t>o;o++)n[o]=arguments[o];return e.props.onSet(n)}})})})})}();var r=require("babel-runtime/core-js/object/keys")["default"];!function(){e.file("inspector/view.js",function(t){function n(e){var t=e.split(",");return t[t.length-1].split("-")[0]}function o(e){var t=["if","repeat","style","yield","__flint"];return i.omit.apply(null,[e].concat(t))}var i=t("lodash");e.staticStyles("Inspector.View",{$view:"#_flintdevtools view.Inspector-View, #_flintdevtools .Inspector-View.view, #_flintdevtools .ViewInspector-View.view, #_flintdevtools .Inspector-View > .view",$top:"#_flintdevtools top.Inspector-View, #_flintdevtools .Inspector-View.top, #_flintdevtools .ViewInspector-View.top, #_flintdevtools .Inspector-View > .top",$active:"#_flintdevtools active.Inspector-View, #_flintdevtools .Inspector-View.active, #_flintdevtools .ViewInspector-View.active, #_flintdevtools .Inspector-View > .active",$highlight:"#_flintdevtools highlight.Inspector-View, #_flintdevtools .Inspector-View.highlight, #_flintdevtools .ViewInspector-View.highlight, #_flintdevtools .Inspector-View > .highlight",$Close:"#_flintdevtools .ViewInspector-View .ViewClose",$name:"#_flintdevtools name.Inspector-View, #_flintdevtools .Inspector-View.name, #_flintdevtools .ViewInspector-View.name, #_flintdevtools .Inspector-View > .name",$edit:"#_flintdevtools edit.Inspector-View, #_flintdevtools .Inspector-View.edit, #_flintdevtools .ViewInspector-View.edit, #_flintdevtools .Inspector-View > .edit",$expanded:"#_flintdevtools expanded.Inspector-View, #_flintdevtools .Inspector-View.expanded, #_flintdevtools .ViewInspector-View.expanded, #_flintdevtools .Inspector-View > .expanded",$input:"#_flintdevtools input.Inspector-View, #_flintdevtools .Inspector-View.input, #_flintdevtools .ViewInspector-View.input, #_flintdevtools .Inspector-View > .input",$title:"#_flintdevtools title.Inspector-View, #_flintdevtools .Inspector-View.title, #_flintdevtools .ViewInspector-View.title, #_flintdevtools .Inspector-View > .title",$section:"#_flintdevtools section.Inspector-View, #_flintdevtools .Inspector-View.section, #_flintdevtools .ViewInspector-View.section, #_flintdevtools .Inspector-View > .section"},{$view:{position:"relative",pointerEvents:"auto",margin:10,marginBottom:0,padding:[0,0,1],minWidth:220,minHeight:34,fontSize:12,userSelect:"none",cursor:"default",background:"#fff",boxShadow:"0px 2px 16px rgba(0,0,0,0.2)",border:"1px solid #ccc",borderRadius:5,color:"#333",transition:"all ease-in 60ms",opacity:0},$top:{flexFlow:"row"},$active:{opacity:1},$highlight:{border:"2px solid #afb4e2"},$Close:{top:-5,right:-5,fontSize:13},$name:{fontWeight:400,color:"rgba(0,0,0,0.8)",padding:[8,8,0],fontSize:14},$edit:{padding:[8,8,0],fontSize:14,marginLeft:4,fontWeight:400,color:"rgba(24, 101, 227, 0.8)"},$expanded:{},$input:{borderRadius:100,border:"1px solid #ccc",width:"100%",padding:[2,12],color:"#333",fontSize:14},$title:{display:"none",color:"#333",fontWeight:200,fontSize:12,margin:[3,0]},$section:{background:[0,0,0,.05]}}),e.view("Inspector.View",function(t,i,l){function s(e){t.props.writeBack(u,e)}var a=t.prop("highlight",void 0),f=t.prop("closing",void 0),u=t.prop("path",void 0),c=t.prop("onClose",void 0);i.props(function(){a=t.getProp("highlight"),f=t.getProp("closing"),u=t.getProp("path"),c=t.getProp("onClose")});var d=window.Flint.inspect,p=void 0,v=!1,g={},h=null,m=null;i.delay(60,function(){t.set("active",v=!0),t.update()}),i.unmount(function(){delete window._Flint.inspector[u]}),i.props(function(){f===!0&&t.set("active",v=!1),u&&(t.set("name",p=n(u)),_Flint.inspector[u]||d(u,function(e,n,i){t.set("props",h=o(e||{})),t.set("state",g=n||{}),t.set("writeBack",m=i),t.update(),t.update()}),t.update())});var w=function(e){return e&&r(e).length>0},_=function(){return _DT.messageEditor({type:"focus:element",view:p})};t.render(function(){return t.el(["view",1],{className:{active:v,highlight:a}},t.el(["Close",1],{onClick:c,fontSize:20,size:35}),t.el(["top",1],null,t.el(["name",1],null,p),e.iff(!1)&&t.el(["edit",1],{"if":!1,onClick:_},"edit")),e.iff(w(h))&&t.el(["Inspector.Section",1],{title:"Props","if":w(h),className:"props"},t.el(["Tree",1],{editable:!1,data:h})),e.iff(w(g))&&t.el(["Inspector.Section",2],{title:"State","if":w(g)},t.el(["Tree",2],{editable:!0,onSet:s,data:g})))}),l.view=function(e,t){return{transform:{x:20}}},l.active=function(e,t){return{transform:{x:0}}},l.name=function(e,t){return{margin:[0,0,-6]}},l.edit=function(e,t){return{margin:[0,0,-6]}},l.expanded=function(e,t){return{transform:{y:0}}}})})}(),function(){e.file("main.js",function(t){e.staticStyles("Main",{$:"#_flintdevtools .ViewMain"},{$:{position:"fixed",
top:0,left:0,right:0,bottom:0,zIndex:2147483647}}),e.view("Main",function(t,n,o){var i=window.__isDevingDevTools,r=!0;t.render(function(){return t.el(["link",1],{rel:"stylesheet",property:"stylesheet",href:"/__/tools/static/tools.css"})}),t.render(function(){return e.iff(!i)&&t.el(["link",2],{"if":!i,rel:"stylesheet",property:"stylesheet",href:"/__/tools/styles.css"})}),t.render(function(){return t.el(["Errors",1],null)}),t.render(function(){return t.el(["Installer",1],null)}),t.render(function(){return e.iff(r)&&t.el(["Menu",1],{"if":r})}),t.render(function(){return e.iff(r)&&t.el(["Inspector",1],{"if":r})}),t.render(function(){return e.iff(!1)&&t.el(["StateTests",1],{"if":!1})}),o.$=function(e,t){return{pointerEvents:i?"auto":"none"}}})})}();var i=require("babel-runtime/helpers/interop-require-default")["default"];!function(){e.file("menu.js",function(t){var n=t("./keys"),o=t("./lib/inspecting"),r=i(o),l=_DT,s=l.messageEditor;e.staticStyles("Menu",{$menu:"#_flintdevtools .ViewMenu",$active:"#_flintdevtools active.Menu, #_flintdevtools .Menu.active, #_flintdevtools .ViewMenu.active, #_flintdevtools .Menu > .active",$item:"#_flintdevtools item.Menu, #_flintdevtools .Menu.item, #_flintdevtools .ViewMenu.item, #_flintdevtools .Menu > .item",$first:"#_flintdevtools first.Menu, #_flintdevtools .Menu.first, #_flintdevtools .ViewMenu.first, #_flintdevtools .Menu > .first",$last:"#_flintdevtools last.Menu, #_flintdevtools .Menu.last, #_flintdevtools .ViewMenu.last, #_flintdevtools .Menu > .last",$hl:"#_flintdevtools hl.Menu, #_flintdevtools .Menu.hl, #_flintdevtools .ViewMenu.hl, #_flintdevtools .Menu > .hl",$main:"#_flintdevtools main.Menu, #_flintdevtools .Menu.main, #_flintdevtools .ViewMenu.main, #_flintdevtools .Menu > .main"},{$menu:{border:"1px solid #ddd",boxShadow:"0 0 10px rgba(0,0,0,0.2)",position:"absolute",background:"#fff",zIndex:2147483647,transition:"opacity ease-in 30ms, transform ease-in 30ms",opacity:0,pointerEvents:"none",padding:0},$active:{pointerEvents:"auto",opacity:1},$item:{minWidth:120,cursor:"pointer",flexFlow:"row"},$first:{overflow:"hidden"},$last:{overflow:"hidden"},$hl:{padding:[4,8]},$main:{flexGrow:1}}),e.viewRoots.Menu="menu",e.view("Menu",function(t,o,i){function l(e){return function(){s({type:"focus:element",key:e.key,view:e.view})}}function a(e){return function(){s({type:"focus:style",el:e.el,view:e.view})}}var f=!1,u=void 0,c=void 0,d=[],p=void 0;o.keydown(function(){n.keys.alt&&n.keys.command&&(document.body.classList.add("__flintfocus"),t.set("focused",p=!0))}),o.keyup(function(){p&&(document.body.classList.remove("__flintfocus"),t.set("focused",p=!1))}),o.click(window,function(e){if(f)return e.stopPropagation(),e.preventDefault(),void t.set("active",f=!1);var o=n.keys.alt&&n.keys.command;if(o){e.preventDefault();var i=e.clientX,l=e.clientY;t.set("left",c=i),t.set("top",u=l),t.set("active",f=!0),t.set("elements",d=r["default"].all()),t.update()}}),t.render(function(){return t.el(["menu",1],{className:{internal:!0,active:f}},e.range(d.filter(function(e){return!!e.view})).map(function(e,n){return t.el(["item",1,e,n],{repeat:d.filter(function(e){return!!e.view}),className:{first:0==n,last:n==d.length-1}},t.el(["main",1,e,n],{className:"hl",onClick:l(e)},e.view),t.el(["sub",1,e,n],{className:"hl",onClick:a(e)},"$"))}))});var v=5;i.menu=function(e,t){return{borderRadius:v,top:u,left:c,transform:{y:-10}}},i.active=function(e,t){return{transform:{y:0}}},i.first=function(e,t){return{borderTopLeftRadius:v,borderTopRightRadius:v}},i.last=function(e,t){return{borderBottomLeftRadius:v,borderBottomRightRadius:v}},i.hl=function(e,t){return{hover:{background:[0,0,0,.1]}}}})})}(),function(){e.file("modal.js",function(t){e.staticStyles("FlintModal",{$:"#_flintdevtools .ViewFlintModal",$title:"#_flintdevtools title.FlintModal, #_flintdevtools .FlintModal.title, #_flintdevtools .ViewFlintModal.title, #_flintdevtools .FlintModal > .title",$message:"#_flintdevtools message.FlintModal, #_flintdevtools .FlintModal.message, #_flintdevtools .ViewFlintModal.message, #_flintdevtools .FlintModal > .message"},{$:{position:"fixed",right:0,minWidth:80,padding:[7,5],margin:20,background:"#fff",boxShadow:"0 5px 26px rgba(0,0,0,0.13)",border:"1px solid #dadada",fontSize:14,transition:"all ease-in 200ms",textAlign:"center",borderRadius:6,pointerEvents:"auto"},$title:{fontWeight:500,fontSize:15,margin:[0,20]},$message:{fontFamily:"-apple-system, 'Helvetica Nueue', Helvetica, Arial, sans-serif"}}),e.view("FlintModal",function(t,n,o){function i(){return t.set("open",s=t.props.open),l&&!t.props.title?t.update():(t.set("title",l=t.props.title),t.set("children",r=t.props.children),t.update(),void t.update())}t.pause();var r=void 0,l=void 0,s=void 0;n.props(i),t.render(function(){return t.el(["Close",1],{size:25})}),t.render(function(){return e.iff(l)&&t.el(["title",1],{"if":l},l)}),t.render(function(){return e.iff(r)&&t.el(["message",1],{"if":r},r)}),o.$=function(e,t){return{top:s?0:-140}},o.title=function(e,n){return{color:t.props.titleColor||"#222"}}})})}(),function(){e.file("npm/installer.js",function(t){var n=window._DT;e.view("Installer",function(t,o,i){var r="",l=[],s="",a="",f=0;n.on("package:install",function(){t.set("state",f=1),t.set("name",s=n.data.name),t.update()}),n.on("package:installed",function(){t.set("state",f=2),setTimeout(function(){t.set("state",f=0),t.update()},2e3),t.update()}),n.on("package:error",function(){t.set("state",f=3),t.set("name",s=n.data.name),t.set("error",a=n.data.error),setTimeout(function(){t.set("state",f=0),t.update()},2e3),t.update()}),n.on("package:select",function(){t.set("state",f=4),t.set("versions",l=n.data.versions),t.update()});var u=function(e){t.set("version",r=e),n.data.version=e,n.emitter.emit("package:select"),t.set("state",f=1),t.update()},c=function(){t.set("state",f=0),t.update()},d=function(e){switch(e){case 1:return"Installing "+s+(r?" "+r:"")+"...";case 2:return"Installed "+s+"!";case 3:return"Error: "+s;case 4:return"Select version"}},p=function(e){switch(e){case 1:return null;case 2:return null;case 3:return a;case 4:return t.el(["Versions",1],{versions:l,onSelect:u})}};t.render(function(){return t.el(["FlintModal",1],{open:f>0,onClose:c,title:d(f),titleColor:3==f?"#8c1919":"#0f8c3c"},e.iff(!1)&&t.el(["InstallerLoading",1],{"if":!1}),p(f))})}),e.staticStyles("Versions",{$version:"#_flintdevtools version.Versions, #_flintdevtools .Versions.version, #_flintdevtools .ViewVersions.version, #_flintdevtools .Versions > .version",$inner:"#_flintdevtools inner.Versions, #_flintdevtools .Versions.inner, #_flintdevtools .ViewVersions.inner, #_flintdevtools .Versions > .inner",$v:"#_flintdevtools v.Versions, #_flintdevtools .Versions.v, #_flintdevtools .ViewVersions.v, #_flintdevtools .Versions > .v",$info:"#_flintdevtools info.Versions, #_flintdevtools .Versions.info, #_flintdevtools .ViewVersions.info, #_flintdevtools .Versions > .info"},{$version:{textAlign:"left",padding:[2,4],borderRadius:2},$inner:{flexFlow:"row"},$v:{flexGrow:1,fontWeight:"bold"},$info:{}}),e.view("Versions",function(t,n,o){t.render(function(){return e.range(t.props.versions).map(function(e,n){return t.el(["version",1,e,n],{repeat:t.props.versions,onClick:function(){return t.props.onSelect(e)}},t.el(["inner",1,e,n],null,t.el(["v",1,e,n],{key:"v"+n},e.version),t.el(["info",1,e,n],null,e.description),t.el(["a",1,e,n],{href:e.homepage,target:"_blank"},"Info")))})}),o.v=function(e,t){return{":hover":{background:"#fff",cursor:"pointer"}}}})})}(),e.start()}(e)};
exports.flinttools=function(e,t){!function(e){!function(){e.file("close.js",function(t){e.staticStyles("Close",{$:"#_flintdevtools .ViewClose"},{$:{position:"absolute",right:0,top:0,display:"flex",justifyContent:"center",alignItems:"center",lineHeight:1,opacity:.15,cursor:"pointer",transition:"all ease-in 200ms"}}),e.viewRoots.Close="close",e.view("Close",function(e,t,n){e.render(function(){return e.el(["close",1],{onClick:e.props.onClick},"x")}),n.$=function(t,n){return{fontSize:e.props.fontSize||13,width:e.props.size||50,height:e.props.size||50,":hover":{opacity:.4}}}})})}(),function(){e.file("debounce.js",function(t){var n=function(e,t){return e+t},o=300,i=800,r=5e3,l=1e4,s=1e3;e.view("Debounce",function(e,t,a){var f=void 0,u=void 0,c=void 0,d=void 0,p=void 0,v=void 0,g=!1,h=[];e.pause(),t.props(function(){function t(){e.props.onUpdate&&e.props.onUpdate(),e.update()}if(e.props.force)return e.set("showKey",f=Math.random()),e.update(),t();if(!e.props.showKey||e.props.showKey!=f){e.set("showKey",f=e.props.showKey),e.set("delay",d=e.props.delay||o),e.set("curDelay",p=p||d);var a=Date.now(),m=c?a-c:r;e.set("lastTime",c=a),e.set("lastFew",h.unshift(m),h,!0),h.length>3&&e.set("lastFew",h.pop(),h,!0),m>l?e.set("lastFew",h=[]):3==h.length&&(e.set("avgDiff",v=h.reduce(n,0)/h.length),e.set("isAutoSaving",g=s>v),e.set("curDelay",p=g?i:d)),clearTimeout(u),e.set("timeout",u=setTimeout(t,p)),e.update()}})})})}(),function(){e.file("errors.js",function(t){function n(){setTimeout(function(){if(a){var e=document.querySelectorAll(".__flintError");e.length&&[].forEach.call(e,function(e){-1==e.className.indexOf("active")&&(e.className+=" active")})}},s()?1e3:100)}function o(e){if(e.file&&(e.file=e.file.replace(new RegExp(".*"+window.location.origin+"(/[_]+/)?"),"")),e.file&&e.file.indexOf("internals.js")>=0)if(e.message&&0==e.message.indexOf("Cannot find module")){var t=e.message.match(/(fs|path)/);t&&t.length&&(e.file="imported module:",e.message="Cannot import node-only module: "+t[0])}else e.message="Error in a locally required file. "+e.message;return e.message&&(e.niceMessage=e.message.replace(/Uncaught .*Error:\s*/,"")),e}function i(e){var t=e.msg,n=e.name;return t&&(t=t.replace(/(npm WARN.*\n|ERR\!)/g,"").replace(/npm argv.*\n/g,"").replace(/npm node v.*\n/g,"").replace(/npm npm.*\n/g,"").replace(/npm code.*\n/g,"").replace(/npm peerinvalid /g,"").replace(/npm 404 /g,"")),{msg:t,name:n}}var r=window._DT,l=function(e,t){return[e.substring(0,t),e.substring(t,t+1),e.substring(t+1)]},s=function(){return r.editor&&r.editor.live},a=void 0,f=function(e){return c(v(g(e)))},u=function(e){return e?e.replace(/.*\.js\:/,"").replace(/\([0-9]+\:[0-9]+\)/,"").replace(/Line [0-9]+\:\s*/,""):""},c=function(e){return e.niceMessage=u(e.message,e.fileName),e},d=/\>?\s*([0-9]*)\s*\|(.*)/g,p=/\s*\|\s*\^\s*$/g,v=function(e){return e?(e.stack&&!function(){e.fullStack=["","",""];var t=0;e.stack.split("\n").forEach(function(n){if(!p.test(n)&&d.test(n)){var o=">"===n[0];o&&(t=1),o||1!==t||(t=2);var i=n.replace(d,"$1$2").replace(/^(\s*[0-9]+\s*)[;]/,"$1 ");e.fullStack[t]+=i+"\n"}})}(),e):void 0},g=function(e){return e?(e.stack&&e.stack.split("\n").map(function(t){if(">"===t[0]){var n=t;if(!n)return;n=n.replace(/\>\s*[0-9]+\s*\|\s*/,""),n=u(n);var o=e.loc.column-4;e.niceStack=l(n,o)}}),e):void 0},h=function(){};e.view("Errors",function(e,t,n){function l(){c?e.set("error",u=f(c)):d?e.set("error",u=o(d)):e.set("error",u=null),a=u,h("tools: view.update()"),e.update(),e.update()}function s(){e.set("error",u=null),e.set("compileError",c=null),e.set("runtimeError",d=null),e.set("npmError",p=null),e.update(),e.update()}e.pause();var u=null,c=null,d=null,p=null;r.on("compile:error",function(){h("compile:error"),e.set("compileError",c=r.data.error),l(),e.update()}),r.on("runtime:error",function(){e.set("runtimeError",d=r.data),h("runtime:error",d),l(),e.update()}),r.on("npm:error",function(){e.set("npmError",p=i(r.data.error)),h("npm:error",p),e.update(),e.update()}),r.on("runtime:success",function(){h("runtime:success"),e.set("runtimeError",d=null),e.set("npmError",p=null),l(),e.update()}),r.on("compile:success",function(){h("compile:success"),e.set("compileError",c=null),e.set("npmError",p=null),l(),e.update()}),e.render(function(){return e.el(["ErrorMessage",1],{error:u,npmError:p,close:s})})});var m=0,w=function(e){return e&&e.replace(/[\?\)].*/,"")},_=function(e){return e&&(e.line||e.loc&&e.loc.line)};e.staticStyles("ErrorMessage",{$bar:"#_flintdevtools bar.ErrorMessage, #_flintdevtools .ErrorMessage.bar, #_flintdevtools .ViewErrorMessage.bar, #_flintdevtools .ErrorMessage > .bar",$inner:"#_flintdevtools inner.ErrorMessage, #_flintdevtools .ErrorMessage.inner, #_flintdevtools .ViewErrorMessage.inner, #_flintdevtools .ErrorMessage > .inner",$top:"#_flintdevtools top.ErrorMessage, #_flintdevtools .ErrorMessage.top, #_flintdevtools .ViewErrorMessage.top, #_flintdevtools .ErrorMessage > .top",$where:"#_flintdevtools where.ErrorMessage, #_flintdevtools .ErrorMessage.where, #_flintdevtools .ViewErrorMessage.where, #_flintdevtools .ErrorMessage > .where",$line:"#_flintdevtools line.ErrorMessage, #_flintdevtools .ErrorMessage.line, #_flintdevtools .ViewErrorMessage.line, #_flintdevtools .ErrorMessage > .line",$flint:"#_flintdevtools flint.ErrorMessage, #_flintdevtools .ErrorMessage.flint, #_flintdevtools .ViewErrorMessage.flint, #_flintdevtools .ErrorMessage > .flint",$shortError:"#_flintdevtools shortError.ErrorMessage, #_flintdevtools .ErrorMessage.shortError, #_flintdevtools .ViewErrorMessage.shortError, #_flintdevtools .ErrorMessage > .shortError",$cur:"#_flintdevtools cur.ErrorMessage, #_flintdevtools .ErrorMessage.cur, #_flintdevtools .ViewErrorMessage.cur, #_flintdevtools .ErrorMessage > .cur",$errCol:"#_flintdevtools errCol.ErrorMessage, #_flintdevtools .ErrorMessage.errCol, #_flintdevtools .ViewErrorMessage.errCol, #_flintdevtools .ErrorMessage > .errCol",$ln:"#_flintdevtools ln.ErrorMessage, #_flintdevtools .ErrorMessage.ln, #_flintdevtools .ViewErrorMessage.ln, #_flintdevtools .ErrorMessage > .ln",$flintline:"#_flintdevtools flintline.ErrorMessage, #_flintdevtools .ErrorMessage.flintline, #_flintdevtools .ViewErrorMessage.flintline, #_flintdevtools .ErrorMessage > .flintline"},{$bar:{display:"block",position:"fixed",left:0,transition:"all 200ms ease-in",right:0,fontFamily:'-apple-system, "San Francisco", Roboto, "Segou UI", "Helvetica Neue", Helvetica, Arial, sans-serif',fontWeight:300,color:"#fff",fontSize:"14px",padding:2,pointerEvents:"all",overflow:"scroll",zIndex:2147483647,boxShadow:"0 -6px 12px rgba(0,0,0,0.06)"},$inner:{display:"block",maxHeight:200,overflowY:"scroll"},$top:{padding:8,display:"block"},$where:{display:"inline-block",pointerEvents:"all",fontWeight:300,color:"rgba(255,255,255,0.8)"},$line:{display:"inline-block",whiteSpace:"pre",pointerEvents:"all"},$flint:{display:"inline",fontWeight:700,color:"#fff"},$shortError:{display:"inline",color:"rgba(255,255,255,0.7)"},$cur:{background:"#fff"},$errCol:{display:"inline",borderBottom:"2px solid #f5d64c",margin:-3,padding:3,color:"#fff"},$ln:{padding:[0,20]},$flintline:{whiteSpace:"pre",pointerEvents:"all",fontWeight:"flint"}}),e.view("ErrorMessage",function(t,o,i){t.pause();var l=!1,a={},f=void 0,u=void 0,c=_(t.props.error),d=void 0;o.props(function(){d&&d(),t.set("npmError",f=t.props.npmError),t.set("hasError",l=!(!t.props.error&&!t.props.npmError)),t.set("error",a=t.props.error||a),t.set("line",c=_(a)),t.set("fullStack",u=null),t.update(),a&&t.set("clearDelay",d=o.delay(2500,function(){l&&a.fullStack&&(t.set("fullStack",u=a.fullStack),t.update())})),t.update()}),r.emitter.on("editor:state",function(){return setTimeout(t.update)}),t.render(function(){return t.el(["Debounce",1],{delay:s()?2e3:1e3,force:l===!1,showKey:u||a&&a.message,onUpdate:n},t.el(["bar",1],null,t.el(["Close",1],{onClick:t.props.close,size:35}),e.iff(f)&&t.el(["inner",1],{"if":f},t.el(["where",1],null,t.el(["flint",1],null,f.name))," ",f.msg),t.el(["inner",2],null,t.el(["top",1],null,t.el(["where",2],null,t.el(["span",1],null,"In ",t.el(["flint",2],null,w(a.file))),t.el(["line",1],null,c?" line":""," ",e.iff(c)&&t.el(["flint",3],{"if":c},c-m)))," ",t.el(["shortError",1],null,(a.niceMessage||a.message||"").trim(),e.iff(a.niceStack)&&t.el(["niceStack",1],{"if":a.niceStack},a.niceStack[0],t.el(["errCol",1],null,a.niceStack[1]),a.niceStack[2])),e.iff(a.help)&&t.el(["help",1],{"if":a.help},a.help)),e.iff(u)&&t.el(["fullStack",1],{"if":u},t.el(["ln",1],null,""+u[0]),t.el(["ln",2],{className:"cur"},""+u[1]),t.el(["ln",3],null,""+u[2])))))});var p="#cd423e";i.bar=function(e,t){return{background:p,bottom:l?0:-100}};var v={color:"rgba(255,255,255,0.85)",display:"inline",fontFamily:"Meslo, Menlo, Monaco, monospace",padding:[0,5]};i.niceStack=function(e,t){return v},i.fullStack=function(e,t){return[v,{maxHeight:u?600:0,padding:u?[10,0]:0,transition:"maxHeight ease-in 300ms",color:"rgba(0,0,0,0.85)",background:"rgba(255,255,255,0.9)",display:"block",whiteSpace:"pre",fontSize:14,borderRadius:3,margin:2}]}}),e.staticStyles("ErrorIcon",{$svg:"#_flintdevtools svg.ErrorIcon, #_flintdevtools .ErrorIcon.svg, #_flintdevtools .ViewErrorIcon.svg, #_flintdevtools .ErrorIcon > .svg"},{$svg:{width:19,fill:"red",margin:-4,marginLeft:3,marginRight:6,opacity:.9}}),e.view("ErrorIcon",function(e,t,n){e.render(function(){return e.el(["svg",1],{viewBox:"0 0 27.963 27.963"},e.el(["path",1],{d:"M13.983,0C6.261,0,0.001,6.259,0.001,13.979c0,7.724,6.26,13.984,13.982,13.984s13.98-6.261,13.98-13.984 C27.963,6.259,21.705,0,13.983,0z M13.983,26.531c-6.933,0-12.55-5.62-12.55-12.553c0-6.93,5.617-12.548,12.55-12.548 c6.931,0,12.549,5.618,12.549,12.548C26.531,20.911,20.913,26.531,13.983,26.531z"}),e.el(["polygon",1],{points:"15.579,17.158 16.191,4.579 11.804,4.579 12.414,17.158"}),e.el(["path",2],{d:"M13.998,18.546c-1.471,0-2.5,1.029-2.5,2.526c0,1.443,0.999,2.528,2.444,2.528h0.056c1.499,0,2.469-1.085,2.469-2.528 C16.441,19.575,15.468,18.546,13.998,18.546z"}))})})})}();var t=require("babel-runtime/helpers/extends")["default"],n=require("babel-runtime/helpers/to-array")["default"],o=require("babel-runtime/helpers/sliced-to-array")["default"],i=require("babel-runtime/helpers/interop-require-default")["default"];!function(){e.file("inspector.js",function(r){function l(e){var t=e.getBoundingClientRect(),n=window.innerWidth,o=window.innerHeight,i=V(t.right-t.left),r=V(t.bottom-t.top),l=1;i>=n&&r>=o&&(l=.2),$.setAttribute("style","\n top: "+V(t.top)+"px;\n left: "+V(t.left)+"px;\n width: "+i+"px;\n height: "+r+"px;\n opacity: "+l+";\n ")}function s(){$.setAttribute("style","")}function a(e){if(!e||!e.getAttribute)return null;var t=e.__flintID;return t?(l(e),t):a(e.parentNode)}function f(e,t){return e.filter(function(e){return e.path==t}).length>0}function u(e){return e.filter(function(e){return!e.temp}).map(function(e){return t({},e,{highlight:!1})})}function c(e,t){return[{path:t,highlight:!1,temp:!0}].concat(e)}function d(e,t){return e.map(function(e){return e.path==t&&(e.closing=!0),e})}function p(e,t){return e.map(function(e){return e.path==t&&(e.highlight=!0),e})}function v(e,t){if(f(e,t))return e.map(function(e){return e.path==t&&(e.temp=!0),e});var n={temp:!1,highlight:!1,closing:!1,path:t};return[].concat([n],e)}function g(){return window._Flint}function h(e,t){var n=g(),i=n.getCache[e];t.reduce(function(e,t){if("root"==t)return e;if(!Array.isArray(t))return e[t];var n=o(t,2),i=n[0],r=n[1],l=e[i];"number"==typeof l&&(r=+r),e[i]=r},i),n.inspectorRefreshing=e,n.getInitialStates[e](),n.viewsAtPath[e].forceUpdate(),n.inspectorRefreshing=null}var m=r("./keys"),w=r("./lib/inspecting"),_=i(w),b=r("lodash"),y=function(e){var t=n(e),o=(t[0],t.slice(1));return o},V=Math.round,$=void 0;e.staticStyles("Inspector",{$:"#_flintdevtools .ViewInspector"},{$:{position:"fixed",top:0,right:0,padding:2}}),e.view("Inspector",function(n,o,i){function r(e){P(e)?n.set("offAlt",j=o.delay(180,function(){P(e)&&k()})):(j&&j(),I())}function l(e){g().isInspecting=!0;var t=a(e);null!==t&&(n.set("views",F=u(F)),n.set("views",F=f(F,t)?p(F,t):c(F,t)),n.update())}function w(e){var t=e.target,o=ReactDOM.findDOMNode(n);if(L!=t){if(o.contains(t))return;n.set("lastTarget",L=t),_["default"].set(t),T&&l(L)}}function V(){F.length&&(n.set("views",F=y(F)),n.update())}function M(e,t){t&&t.stopPropagation(),n.set("views",F=d(F,e)),o.delay(200,function(){n.set("views",F=F.filter(function(t){return e!=t.path})),n.update()}),n.update()}function E(e){var t=e.target,o=ReactDOM.findDOMNode(n);return o.contains(t)?void 0:(n.set("views",F=v(u(F),a(t))),!1)}function k(){l(L),n.set("hudActive",T=!0),n.set("clickOff",x=o.click(window,E)),n.update()}function I(){g().isInspecting=!1,n.set("hudActive",T=!1),s(),x&&x(),n.set("views",F=u(F)),n.update()}function S(e,t){h(e,t),n.update()}var x=void 0,C=void 0,L=void 0,T=!1,F=[];o.mount(function(){n.set("hoverOff",C=o.mousemove(window,(0,b.throttle)(w,40))),$||($=document.createElement("div"),$.className="_flintHighlighter",document.body.appendChild($),n.update())}),(0,m.onKeyDown)("esc",V);var j=void 0,P=function(e){var t=e.altKey,n=e.metaKey;return t&&!n};o.keydown(window,r),o.keyup(window,r),n.render(function(){return e.range(F).map(function(e,o){return n.el(["Inspector.View",1,e,o],t({repeat:F,key:e.path},e,{writeBack:S,onClose:function(t){return M(e.path,t)}}))})})})})}();var r=require("babel-runtime/core-js/object/keys")["default"];!function(){e.file("inspector/highlighter.js",function(t){e.view("Highlighter",function(t,n,o){t.render(function(){return e.iff(!t.props.highlight||-1===t.props.string.indexOf(t.props.highlight))&&t.el(["name",1],{"if":!t.props.highlight||-1===t.props.string.indexOf(t.props.highlight)},t.props.string)}),t.render(function(){return e.iff(t.props.highlight)&&t.el(["span",1],{"if":t.props.highlight},e.range(t.props.string.split()).map(function(n,o){return t.el(["span",2,n,o],{repeat:t.props.string.split()},e.iff(o>0)&&t.el(["highlight",1,n,o],{"if":o>0},t.props.highlight),n)}))})})})}();var t=require("babel-runtime/helpers/extends")["default"];!function(){e.file("inspector/label.js",function(n){var o=n("lodash");e.staticStyles("Label",{$input:"#_flintdevtools input.Label, #_flintdevtools .Label.input, #_flintdevtools .ViewLabel.input, #_flintdevtools .Label > .input",$focus:"#_flintdevtools focus.Label, #_flintdevtools .Label.focus, #_flintdevtools .ViewLabel.focus, #_flintdevtools .Label > .focus"},{$input:{position:"absolute",top:0,left:-1,right:0,color:"#333",padding:1,width:140,outline:"none",border:"none",opacity:0,boxShadow:"1px 1px 2px rgba(0,0,0,0.4)"},$focus:{opacity:"1 !important"}}),e.view("Label",function(e,n,i){var r=e.prop("val",void 0),l=e.prop("editable",void 0),s=e.prop("onSet",void 0);n.props(function(){r=e.getProp("val"),l=e.getProp("editable"),s=e.getProp("onSet")});var a=void 0,f=void 0;n.props(function(){a||e.set("newVal",f=r),e.update()});var u=function(t){if(l){if((0,o.isBoolean)(r))return s(!r);e.set("focus",a=!0),t.stopPropagation(),e.update()}},c=function(t){e.set("focus",a=!1),e.update()},d=function(t){e.set("newVal",f=t.target.value),e.update({immediate:!0}),(!(0,o.isNumber)(r)||""!==f&&!isNaN(f))&&("false"===f&&e.set("newVal",f=!1),"true"===f&&e.set("newVal",f=!0),s(f),e.update())},p=function(e){return e?{}:{tabIndex:5e3,disabled:!0}};e.render(function(){return e.el(["input",1],t({defaultValue:r.toString(),value:f,className:{focus:a},size:Math.max(4,r&&r.length||0),spellCheck:!1,onMouseDown:u,onFocus:u,onEnter:c},p(l),{onFocus:u,onBlur:c,onChange:d}))}),i.input=function(e,t){return{cursor:(0,o.isBoolean)(r)?"pointer":"auto"}}})})}();var r=require("babel-runtime/core-js/object/keys")["default"],i=require("babel-runtime/helpers/interop-require-default")["default"];!function(){e.file("inspector/leaf.js",function(t){var n=t("md5-o-matic"),o=i(n),l=t("../lib/getType"),s=i(l),a=t("ellipsize"),f=i(a),u=".root.",c=function(e,t){return-1!==e.indexOf(t)},d=function(e){return"Object"!==(0,s["default"])(e)&&"Array"!==(0,s["default"])(e)},p=function(){};e.staticStyles("Leaf",{$leaf:"#_flintdevtools .ViewLeaf",$helper:"#_flintdevtools helper.Leaf, #_flintdevtools .Leaf.helper, #_flintdevtools .ViewLeaf.helper, #_flintdevtools .Leaf > .helper",$boolean:"#_flintdevtools boolean.Leaf, #_flintdevtools .Leaf.boolean, #_flintdevtools .ViewLeaf.boolean, #_flintdevtools .Leaf > .boolean",$number:"#_flintdevtools number.Leaf, #_flintdevtools .Leaf.number, #_flintdevtools .ViewLeaf.number, #_flintdevtools .Leaf > .number",$string:"#_flintdevtools string.Leaf, #_flintdevtools .Leaf.string, #_flintdevtools .ViewLeaf.string, #_flintdevtools .Leaf > .string",$function:"#_flintdevtools function.Leaf, #_flintdevtools .Leaf.function, #_flintdevtools .ViewLeaf.function, #_flintdevtools .Leaf > .function",$colon:"#_flintdevtools colon.Leaf, #_flintdevtools .Leaf.colon, #_flintdevtools .ViewLeaf.colon, #_flintdevtools .Leaf > .colon",$name:"#_flintdevtools name.Leaf, #_flintdevtools .Leaf.name, #_flintdevtools .ViewLeaf.name, #_flintdevtools .Leaf > .name",$children:"#_flintdevtools children.Leaf, #_flintdevtools .Leaf.children, #_flintdevtools .ViewLeaf.children, #_flintdevtools .Leaf > .children",$type:"#_flintdevtools type.Leaf, #_flintdevtools .Leaf.type, #_flintdevtools .ViewLeaf.type, #_flintdevtools .Leaf > .type"},{$leaf:{padding:[1,0],fontSize:13},$helper:{color:"#ffff05"},$boolean:{color:"#32a3cd",fontWeight:700},$number:{color:"#b92222",marginTop:2,fontWeight:500},$string:{color:"#698c17"},$function:{marginLeft:10,marginTop:2,color:"#962eba"},$colon:{opacity:.3,color:"#000"},$name:{color:"#ff2f2f",fontWeight:400,margin:["auto",0]},$children:{paddingLeft:10},$type:{margin:[1,0,0,8],opacity:.7,flexFlow:"row"}}),e.viewRoots.Leaf="leaf",e.view("Leaf",function(t,n,i){function l(e){t.props.root||t.set("expanded",x=!x),t.update(),V(E),e.stopPropagation(),t.update()}var a=t.prop("isExpanded",void 0),v=t.prop("data",void 0),g=t.prop("prefix",void 0),h=t.prop("query",void 0),m=t.prop("label",void 0),w=t.prop("id",void 0),_=t.prop("editable",void 0);n.props(function(){a=t.getProp("isExpanded"),v=t.getProp("data"),g=t.getProp("prefix"),h=t.getProp("query"),m=t.getProp("label"),w=t.getProp("id"),_=t.getProp("editable")});var b=t.prop("getOriginal",p),y=t.prop("onSet",p),V=t.prop("onClick",p);n.props(function(){b=t.getProp("getOriginal"),y=t.getProp("onSet"),V=t.getProp("onClick")}),t.pause();var $=void 0,M=void 0,E=void 0,k=void 0,I=void 0,S=void 0,x=void 0,C=[],L="",T=function(){return t.props.root||!L&&a(M,v)||!c(M,L)&&"function"==typeof b};n.props(function(){t.set("rootPath",$=g+"."+m),t.set("key",I=m.toString()),t.set("path",M=$.substr(u.length)),t.set("_data",E=v),"string"==typeof E&&E.indexOf("\n")>-1&&t.set("_data",E=E.split("\n")),E&&t.set("dataKeys",C=r(E).sort()),void 0===E&&t.set("_data",E=v),void 0===E&&t.set("_data",E={}),t.set("type",k=(0,s["default"])(E)),t.set("_query",L=h||""),t.props.root?t.set("expanded",x=!0):L&&t.set("expanded",x=!c(m,L)),h&&!L&&t.set("expanded",x=T()),t.update(),t.update()});var F=function(e,t){return d(t)?e+":"+(0,o["default"])(String(e)):e+"["+(0,s["default"])(t)+"]"},j=function(e){return t.el(["Highlighter",1],{string:e,highlight:L})},P=function(e){return e.toString().replace(/((\/\/.*$)|(\/\*[\s\S]*?\*\/)|(\s))/gm,"").match(/^function\s*[^\(]*\(\s*([^\)]*)\)/m)[1].split(/,/)},O=function(e,n,o,i){return t.el(["Label",1],{val:n,editable:i,onSet:function(e){return y([o,e])}})};t.render(function(){return t.el(["leaf",1],{className:$},e.iff(!t.props.root)&&t.el(["label",1],{"if":!t.props.root,htmlFor:w,onClick:l},t.el(["key",1],null,t.el(["name",1],null,j(I)),O("key",I,I,!1)),t.el(["colon",1],null,":"),e.iff("Function"==k)&&t.el(["expand",1],{className:"function","if":"Function"==k},t.el(["i",1],null,"fn (",P(E).join(", "),")")),e.iff("Array"==k)&&t.el(["expand",2],{"if":"Array"==k},t.el(["type",1],null,"Array[",E.length,"]")),e.iff("Object"==k)&&t.el(["expand",3],{"if":"Object"==k},t.el(["type",2],null,"{} "+C.length+" keys")),e.iff(-1==["Array","Object","Function"].indexOf(k))&&t.el(["value",1],{"if":-1==["Array","Object","Function"].indexOf(k),className:k.toLowerCase()},e.iff("string"==k.toLowerCase())&&t.el(["str",1],{"if":"string"==k.toLowerCase()},j((0,f["default"])(String(E),25))),e.iff("string"!=k.toLowerCase())&&t.el(["else",1],{"if":"string"!=k.toLowerCase()},j(String(E))),O("val",E,I,_))),t.el(["children",1],null,e.iff(x&&!d(E))&&e.range(C).map(function(n,o){return t.el(["child",1,n,o],{"if":x&&!d(E),repeat:C},e.iff(-1==n.indexOf("__"))&&t.el(["Leaf",1,n,o],{"if":-1==n.indexOf("__"),key:F(n,E[n]),onSet:function(){for(var e=arguments.length,t=Array(e),n=0;e>n;n++)t[n]=arguments[n];return y.apply(void 0,[I].concat(t))},data:E[n],editable:_,label:n,prefix:$,onClick:V,id:w,query:L,getOriginal:S?null:b,isExpanded:a}))})))});var R={flexFlow:"row"};i.label=function(e,t){return[R,{position:"relative",color:"rgba(0,0,0,0.8)",opacity:1,alignItems:"baseline"}]},i.key=function(e,t){return[R,{color:"rgba(0,0,0,0.9)",margin:[0],fontWeight:"bold"}]},i.expand=function(e,t){return[R,{}]},i.value=function(e,t){return[R,{position:"relative",margin:[0,4,0]}]}})})}(),function(){e.file("inspector/section.js",function(t){e.staticStyles("Inspector.Section",{$:"#_flintdevtools .ViewInspector-Section",$body:"#_flintdevtools body.Inspector-Section, #_flintdevtools .Inspector-Section.body, #_flintdevtools .ViewInspector-Section.body, #_flintdevtools .Inspector-Section > .body",$inactive:"#_flintdevtools inactive.Inspector-Section, #_flintdevtools .Inspector-Section.inactive, #_flintdevtools .ViewInspector-Section.inactive, #_flintdevtools .Inspector-Section > .inactive"},{$:{padding:[5,0]},$body:{padding:[0,12]},$inactive:{display:"none"}}),e.view("Inspector.Section",function(e,t,n){var o=!0;e.render(function(){return e.el(["Inspector.Title",1],{onToggle:function(t){e.set("open",o=t),e.update()}},e.props.title)}),e.render(function(){return e.el(["body",1],null,e.props.children)})})})}();var t=require("babel-runtime/helpers/extends")["default"],i=require("babel-runtime/helpers/interop-require-default")["default"];!function(){e.file("inspector/statetests.js",function(n){var o=n("mouse-event-offset"),r=i(o);e.view("StateTests",function(e,t,n){e.render(function(){return e.el(["Tests.Name",1],null)}),e.render(function(){return e.el(["Tests.Boolean",1],null)}),e.render(function(){return e.el(["Tests.Counter",1],null)}),e.render(function(){return e.el(["Tests.Props",1],null)}),e.render(function(){return e.el(["Tests.Circles",1],null)})}),e.view("Tests.Boolean",function(e,t,n){var o=!1;e.render(function(){return e.el(["h1",1],null,"is tupac dead? ",o.toString())}),e.render(function(){return e.el(["button",1],{onClick:function(){e.set("dead",o=!o),e.update()}},"toggle")})}),e.staticStyles("Tests.Props",{$:"#_flintdevtools .ViewTests-Props"},{$:{marginTop:20}}),e.view("Tests.Props",function(e,t,n){var o="a string";e.render(function(){return e.el(["input",1],{__flintValue:o,__flintOnChange:function(t){e.set("name",o=t),e.update()}})}),e.render(function(){return e.el(["Test.PropsChild",1],{name:o})})}),e.view("Test.PropsChild",function(e,t,n){var o=e.prop("name",void 0);t.props(function(){o=e.getProp("name")});var i=0;e.render(function(){return e.el(["h1",1],null,"my name is ",o)}),e.render(function(){return e.el(["h4",1],null,"counter to test state ",i)}),e.render(function(){return e.el(["button",1],{onClick:function(){e.set("count",i++,i,!0),e.update()}},"up")})}),e.view("Tests.Counter",function(e,t,n){var o=0;e.render(function(){return e.el(["h1",1],null,"count is ",o)}),e.render(function(){return e.el(["button",1],{onClick:function(){e.set("count",o++,o,!0),e.update()}},"up")}),e.render(function(){return e.el(["button",2],{onClick:function(){e.set("count",o--,o,!0),e.update()}},"down")})}),e.view("Tests.Deep",function(e,t,n){var o={name:"nick",tools:["js","juggling balls","coffee"]};e.render(function(){return e.el(["h1",1],null,"deep")}),e.render(function(){return e.el(["h2",1],null,JSON.stringify(o))})}),e.view("Tests.Name",function(e,t,n){var o="nick",i="cammarata";e.render(function(){return e.el(["h2",1],null,"name is ",o," ",i)}),e.render(function(){return e.el(["input",1],{__flintValue:o,__flintOnChange:function(t){e.set("first",o=t),e.update()}})}),e.render(function(){return e.el(["input",2],{__flintValue:i,__flintOnChange:function(t){e.set("last",i=t),e.update()}})}),e.render(function(){return e.el(["button",1],{onClick:function(){e.set("first",o="nate"),e.set("last",i="wienert"),e.update()}},"nateify")})}),e.staticStyles("Tests.Circles",{$circles:"#_flintdevtools circles.Tests-Circles, #_flintdevtools .Tests-Circles.circles, #_flintdevtools .ViewTests-Circles.circles, #_flintdevtools .Tests-Circles > .circles"},{$circles:{position:"relative",background:"#eee",height:400,width:400}}),e.view("Tests.Circles",function(t,n,o){function i(e){t.set("coords",l.push((0,r["default"])(e)),l,!0),t.update()}var l=[[200,200]];t.render(function(){return t.el(["circles",1],{onClick:i},e.range(l).map(function(e,n){return t.el(["Tests.Circle",1,e,n],{repeat:l,key:""+e[0]+e[1],left:e[0],top:e[1]})}))})}),e.view("Tests.Circle",function(e,n,o){var i=function(){return Math.round(255*Math.random())},r={background:[i(),i(),i()],position:"absolute",top:e.props.top,left:e.props.left,width:118,height:29,borderRadius:27},l=function(e){return t({},r,{transform:{scale:e}})};e.render(function(){return e.el(["circle",1],{style:l(1)})})})})}(),function(){e.file("inspector/title.js",function(t){e.staticStyles("Inspector.Title",{$title:"#_flintdevtools title.Inspector-Title, #_flintdevtools .Inspector-Title.title, #_flintdevtools .ViewInspector-Title.title, #_flintdevtools .Inspector-Title > .title",$closed:"#_flintdevtools closed.Inspector-Title, #_flintdevtools .Inspector-Title.closed, #_flintdevtools .ViewInspector-Title.closed, #_flintdevtools .Inspector-Title > .closed",$inner:"#_flintdevtools inner.Inspector-Title, #_flintdevtools .Inspector-Title.inner, #_flintdevtools .ViewInspector-Title.inner, #_flintdevtools .Inspector-Title > .inner"},{$title:{fontWeight:300,borderBottom:"1px solid #eee",height:10,margin:[5,5,8],color:"#999",flexFlow:"row"},$closed:{marginTop:1},$inner:{padding:[4,10],background:"#fff"}}),e.view("Inspector.Title",function(e,t,n){function o(){e.props.onToggle&&(e.set("open",i=!i),e.props.onToggle(i),e.update())}var i=!0;e.render(function(){return e.el(["title",1],{onClick:o},e.el(["inner",1],null,e.props.children))}),n.closed=function(e,t){return{transform:{scale:.8}}},n.inner=function(e,t){return{margin:[-2,"auto"]}}})})}();var i=require("babel-runtime/helpers/interop-require-default")["default"];!function(){e.file("inspector/tree.js",function(t){var n=t("../lib/lens"),o=i(n);e.staticStyles("Tree",{$:"#_flintdevtools .ViewTree"},{$:{pointerEvents:"auto",marginLeft:-10}}),e.viewRoots.Tree="Leaf",e.view("Tree",function(e,t,n){var i="",r=function(t){return(0,o["default"])(e.props.data,t)};e.render(function(){return e.el(["Leaf",1],{data:e.props.data,onClick:e.props.onClick,id:e.props.id,getOriginal:r,query:i,label:"root",editable:e.props.editable,root:!0,validateQuery:function(e){return e.length>=2},isExpanded:e.props.isExpanded||function(){return!1},interactiveLabel:e.props.interactiveLabel,onSet:function(){for(var t=arguments.length,n=Array(t),o=0;t>o;o++)n[o]=arguments[o];return e.props.onSet(n)}})})})})}();var r=require("babel-runtime/core-js/object/keys")["default"];!function(){e.file("inspector/view.js",function(t){function n(e){var t=e.split(",");return t[t.length-1].split("-")[0]}function o(e){var t=["if","repeat","style","yield","__flint"];return i.omit.apply(null,[e].concat(t))}var i=t("lodash");e.staticStyles("Inspector.View",{$view:"#_flintdevtools view.Inspector-View, #_flintdevtools .Inspector-View.view, #_flintdevtools .ViewInspector-View.view, #_flintdevtools .Inspector-View > .view",$top:"#_flintdevtools top.Inspector-View, #_flintdevtools .Inspector-View.top, #_flintdevtools .ViewInspector-View.top, #_flintdevtools .Inspector-View > .top",$active:"#_flintdevtools active.Inspector-View, #_flintdevtools .Inspector-View.active, #_flintdevtools .ViewInspector-View.active, #_flintdevtools .Inspector-View > .active",$highlight:"#_flintdevtools highlight.Inspector-View, #_flintdevtools .Inspector-View.highlight, #_flintdevtools .ViewInspector-View.highlight, #_flintdevtools .Inspector-View > .highlight",$Close:"#_flintdevtools .ViewInspector-View .ViewClose",$name:"#_flintdevtools name.Inspector-View, #_flintdevtools .Inspector-View.name, #_flintdevtools .ViewInspector-View.name, #_flintdevtools .Inspector-View > .name",$edit:"#_flintdevtools edit.Inspector-View, #_flintdevtools .Inspector-View.edit, #_flintdevtools .ViewInspector-View.edit, #_flintdevtools .Inspector-View > .edit",$expanded:"#_flintdevtools expanded.Inspector-View, #_flintdevtools .Inspector-View.expanded, #_flintdevtools .ViewInspector-View.expanded, #_flintdevtools .Inspector-View > .expanded",$input:"#_flintdevtools input.Inspector-View, #_flintdevtools .Inspector-View.input, #_flintdevtools .ViewInspector-View.input, #_flintdevtools .Inspector-View > .input",$title:"#_flintdevtools title.Inspector-View, #_flintdevtools .Inspector-View.title, #_flintdevtools .ViewInspector-View.title, #_flintdevtools .Inspector-View > .title",$section:"#_flintdevtools section.Inspector-View, #_flintdevtools .Inspector-View.section, #_flintdevtools .ViewInspector-View.section, #_flintdevtools .Inspector-View > .section"},{$view:{position:"relative",pointerEvents:"auto",margin:10,marginBottom:0,padding:[0,0,1],minWidth:220,minHeight:34,fontSize:12,userSelect:"none",cursor:"default",background:"#fff",boxShadow:"0px 2px 16px rgba(0,0,0,0.2)",border:"1px solid #ccc",borderRadius:5,color:"#333",transition:"all ease-in 60ms",opacity:0},$top:{flexFlow:"row"},$active:{opacity:1},$highlight:{border:"2px solid #afb4e2"},$Close:{top:-5,right:-5,fontSize:13},$name:{fontWeight:400,color:"rgba(0,0,0,0.8)",padding:[8,8,0],fontSize:14},$edit:{padding:[8,8,0],fontSize:14,marginLeft:4,fontWeight:400,color:"rgba(24, 101, 227, 0.8)"},$expanded:{},$input:{borderRadius:100,border:"1px solid #ccc",width:"100%",padding:[2,12],color:"#333",fontSize:14},$title:{display:"none",color:"#333",fontWeight:200,fontSize:12,margin:[3,0]},$section:{background:[0,0,0,.05]}}),e.view("Inspector.View",function(t,i,l){function s(e){t.props.writeBack(u,e)}var a=t.prop("highlight",void 0),f=t.prop("closing",void 0),u=t.prop("path",void 0),c=t.prop("onClose",void 0);i.props(function(){a=t.getProp("highlight"),f=t.getProp("closing"),u=t.getProp("path"),c=t.getProp("onClose")});var d=window.Flint.inspect,p=void 0,v=!1,g={},h=null,m=null;i.delay(60,function(){t.set("active",v=!0),t.update()}),i.unmount(function(){delete window._Flint.inspector[u]}),i.props(function(){f===!0&&t.set("active",v=!1),u&&(t.set("name",p=n(u)),_Flint.inspector[u]||d(u,function(e,n,i){t.set("props",h=o(e||{})),t.set("state",g=n||{}),t.set("writeBack",m=i),t.update(),t.update()}),t.update())});var w=function(e){return e&&r(e).length>0},_=function(){return _DT.messageEditor({type:"focus:element",view:p})};t.render(function(){return t.el(["view",1],{className:{active:v,highlight:a}},t.el(["Close",1],{onClick:c,fontSize:20,size:35}),t.el(["top",1],null,t.el(["name",1],null,p),e.iff(!1)&&t.el(["edit",1],{"if":!1,onClick:_},"edit")),e.iff(w(h))&&t.el(["Inspector.Section",1],{title:"Props","if":w(h),className:"props"},t.el(["Tree",1],{editable:!1,data:h})),e.iff(w(g))&&t.el(["Inspector.Section",2],{title:"State","if":w(g)},t.el(["Tree",2],{editable:!0,onSet:s,data:g})))}),l.view=function(e,t){return{transform:{x:20}}},l.active=function(e,t){return{transform:{x:0}}},l.name=function(e,t){return{margin:[0,0,-6]}},l.edit=function(e,t){return{margin:[0,0,-6]}},l.expanded=function(e,t){return{transform:{y:0}}}})})}(),function(){e.file("main.js",function(t){e.staticStyles("Main",{$:"#_flintdevtools .ViewMain"},{
$:{position:"fixed",top:0,left:0,right:0,bottom:0,zIndex:2147483647}}),e.view("Main",function(t,n,o){var i=window.__isDevingDevTools,r=!0;t.render(function(){return t.el(["link",1],{rel:"stylesheet",property:"stylesheet",href:"/__/tools/static/tools.css"})}),t.render(function(){return e.iff(!i)&&t.el(["link",2],{"if":!i,rel:"stylesheet",property:"stylesheet",href:"/__/tools/styles.css"})}),t.render(function(){return t.el(["Errors",1],null)}),t.render(function(){return t.el(["Installer",1],null)}),t.render(function(){return e.iff(r)&&t.el(["Menu",1],{"if":r})}),t.render(function(){return e.iff(r)&&t.el(["Inspector",1],{"if":r})}),t.render(function(){return e.iff(i)&&t.el(["StateTests",1],{"if":i})}),o.$=function(e,t){return{pointerEvents:i?"auto":"none"}}})})}();var i=require("babel-runtime/helpers/interop-require-default")["default"];!function(){e.file("menu.js",function(t){var n=t("./keys"),o=t("./lib/inspecting"),r=i(o),l=_DT,s=l.messageEditor;e.staticStyles("Menu",{$menu:"#_flintdevtools .ViewMenu",$active:"#_flintdevtools active.Menu, #_flintdevtools .Menu.active, #_flintdevtools .ViewMenu.active, #_flintdevtools .Menu > .active",$item:"#_flintdevtools item.Menu, #_flintdevtools .Menu.item, #_flintdevtools .ViewMenu.item, #_flintdevtools .Menu > .item",$first:"#_flintdevtools first.Menu, #_flintdevtools .Menu.first, #_flintdevtools .ViewMenu.first, #_flintdevtools .Menu > .first",$last:"#_flintdevtools last.Menu, #_flintdevtools .Menu.last, #_flintdevtools .ViewMenu.last, #_flintdevtools .Menu > .last",$hl:"#_flintdevtools hl.Menu, #_flintdevtools .Menu.hl, #_flintdevtools .ViewMenu.hl, #_flintdevtools .Menu > .hl",$main:"#_flintdevtools main.Menu, #_flintdevtools .Menu.main, #_flintdevtools .ViewMenu.main, #_flintdevtools .Menu > .main"},{$menu:{border:"1px solid #ddd",boxShadow:"0 0 10px rgba(0,0,0,0.2)",position:"absolute",background:"#fff",zIndex:2147483647,transition:"opacity ease-in 30ms, transform ease-in 30ms",opacity:0,pointerEvents:"none",padding:0},$active:{pointerEvents:"auto",opacity:1},$item:{minWidth:120,cursor:"pointer",flexFlow:"row"},$first:{overflow:"hidden"},$last:{overflow:"hidden"},$hl:{padding:[4,8]},$main:{flexGrow:1}}),e.viewRoots.Menu="menu",e.view("Menu",function(t,o,i){function l(e){return function(){s({type:"focus:element",key:e.key,view:e.view})}}function a(e){return function(){s({type:"focus:style",el:e.el,view:e.view})}}var f=!1,u=void 0,c=void 0,d=[],p=void 0;o.keydown(function(){n.keys.alt&&n.keys.command&&(document.body.classList.add("__flintfocus"),t.set("focused",p=!0))}),o.keyup(function(){p&&(document.body.classList.remove("__flintfocus"),t.set("focused",p=!1))}),o.click(window,function(e){if(f)return e.stopPropagation(),e.preventDefault(),t.set("active",f=!1),void t.update();var o=n.keys.alt&&n.keys.command;if(o){e.preventDefault();var i=e.clientX,l=e.clientY;t.set("left",c=i),t.set("top",u=l),t.set("active",f=!0),t.set("elements",d=r["default"].all()),t.update()}}),t.render(function(){return t.el(["menu",1],{className:{internal:!0,active:f}},e.range(d.filter(function(e){return!!e.view})).map(function(e,n){return t.el(["item",1,e,n],{repeat:d.filter(function(e){return!!e.view}),className:{first:0==n,last:n==d.length-1}},t.el(["main",1,e,n],{className:"hl",onClick:l(e)},e.view),t.el(["sub",1,e,n],{className:"hl",onClick:a(e)},"$"))}))});var v=5;i.menu=function(e,t){return{borderRadius:v,top:u,left:c,transform:{y:-10}}},i.active=function(e,t){return{transform:{y:0}}},i.first=function(e,t){return{borderTopLeftRadius:v,borderTopRightRadius:v}},i.last=function(e,t){return{borderBottomLeftRadius:v,borderBottomRightRadius:v}},i.hl=function(e,t){return{hover:{background:[0,0,0,.1]}}}})})}(),function(){e.file("modal.js",function(t){e.staticStyles("FlintModal",{$:"#_flintdevtools .ViewFlintModal",$title:"#_flintdevtools title.FlintModal, #_flintdevtools .FlintModal.title, #_flintdevtools .ViewFlintModal.title, #_flintdevtools .FlintModal > .title",$message:"#_flintdevtools message.FlintModal, #_flintdevtools .FlintModal.message, #_flintdevtools .ViewFlintModal.message, #_flintdevtools .FlintModal > .message"},{$:{position:"fixed",right:0,minWidth:80,padding:[7,5],margin:20,background:"#fff",boxShadow:"0 5px 26px rgba(0,0,0,0.13)",border:"1px solid #dadada",fontSize:14,transition:"all ease-in 200ms",textAlign:"center",borderRadius:6,pointerEvents:"auto"},$title:{fontWeight:500,fontSize:15,margin:[0,20]},$message:{fontFamily:"-apple-system, 'Helvetica Nueue', Helvetica, Arial, sans-serif"}}),e.view("FlintModal",function(t,n,o){function i(){return t.set("open",s=t.props.open),l&&!t.props.title?t.update():(t.set("title",l=t.props.title),t.set("children",r=t.props.children),void t.update())}t.pause();var r=void 0,l=void 0,s=void 0;n.props(i),t.render(function(){return t.el(["Close",1],{size:25})}),t.render(function(){return e.iff(l)&&t.el(["title",1],{"if":l},l)}),t.render(function(){return e.iff(r)&&t.el(["message",1],{"if":r},r)}),o.$=function(e,t){return{top:s?0:-140}},o.title=function(e,n){return{color:t.props.titleColor||"#222"}}})})}(),function(){e.file("npm/installer.js",function(t){var n=window._DT;e.view("Installer",function(t,o,i){var r="",l=[],s="",a="",f=0;n.on("package:install",function(){t.set("state",f=1),t.set("name",s=n.data.name),t.update()}),n.on("package:installed",function(){t.set("state",f=2),setTimeout(function(){t.set("state",f=0),t.update()},2e3),t.update()}),n.on("package:error",function(){t.set("state",f=3),t.set("name",s=n.data.name),t.set("error",a=n.data.error),setTimeout(function(){t.set("state",f=0),t.update()},2e3),t.update()}),n.on("package:select",function(){t.set("state",f=4),t.set("versions",l=n.data.versions),t.update()});var u=function(e){t.set("version",r=e),n.data.version=e,n.emitter.emit("package:select"),t.set("state",f=1),t.update()},c=function(){t.set("state",f=0),t.update()},d=function(e){switch(e){case 1:return"Installing "+s+(r?" "+r:"")+"...";case 2:return"Installed "+s+"!";case 3:return"Error: "+s;case 4:return"Select version"}},p=function(e){switch(e){case 1:return null;case 2:return null;case 3:return a;case 4:return t.el(["Versions",1],{versions:l,onSelect:u})}};t.render(function(){return t.el(["FlintModal",1],{open:f>0,onClose:c,title:d(f),titleColor:3==f?"#8c1919":"#0f8c3c"},e.iff(!1)&&t.el(["InstallerLoading",1],{"if":!1}),p(f))})}),e.staticStyles("Versions",{$version:"#_flintdevtools version.Versions, #_flintdevtools .Versions.version, #_flintdevtools .ViewVersions.version, #_flintdevtools .Versions > .version",$inner:"#_flintdevtools inner.Versions, #_flintdevtools .Versions.inner, #_flintdevtools .ViewVersions.inner, #_flintdevtools .Versions > .inner",$v:"#_flintdevtools v.Versions, #_flintdevtools .Versions.v, #_flintdevtools .ViewVersions.v, #_flintdevtools .Versions > .v",$info:"#_flintdevtools info.Versions, #_flintdevtools .Versions.info, #_flintdevtools .ViewVersions.info, #_flintdevtools .Versions > .info"},{$version:{textAlign:"left",padding:[2,4],borderRadius:2},$inner:{flexFlow:"row"},$v:{flexGrow:1,fontWeight:"bold"},$info:{}}),e.view("Versions",function(t,n,o){t.render(function(){return e.range(t.props.versions).map(function(e,n){return t.el(["version",1,e,n],{repeat:t.props.versions,onClick:function(){return t.props.onSelect(e)}},t.el(["inner",1,e,n],null,t.el(["v",1,e,n],{key:"v"+n},e.version),t.el(["info",1,e,n],null,e.description),t.el(["a",1,e,n],{href:e.homepage,target:"_blank"},"Info")))})}),o.v=function(e,t){return{":hover":{background:"#fff",cursor:"pointer"}}}})})}(),e.start()}(e)};
//# sourceMappingURL=flinttools.js.map
{
"name": "flint-tools",
"version": "1.4.28",
"version": "1.4.29",
"dependencies": {

@@ -5,0 +5,0 @@ "clone": {

@@ -6,3 +6,3 @@ {

"description": "tools",
"version": "1.4.28",
"version": "1.4.29",
"main": "index.js",

@@ -9,0 +9,0 @@ "scripts": {},

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc