All Downloads are FREE. Search and download functionalities are using the official Maven repository.

urule-asserts.js.flowDesigner.bundle.js Maven / Gradle / Ivy

!function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){"use strict";function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function o(t){return t&&t.__esModule?t:{default:t}}n(10),n(1),n(390),n(392),n(394),n(396);var i=n(398),A=o(i),a=n(403),l=o(a),s=n(409),c=o(s),u=n(412),g=o(u),d=n(415),M=o(d),f=n(418),h=o(f),p=n(424),I=o(p),N=n(427),T=o(N),E=n(430),y=o(E),w=n(14),C=o(w),D=n(41),x=o(D),m=n(241),L=n(370),b=o(L),v=n(339),B=r(v),j=n(226);$(document).ready(function(){var t="container",e=new A.default(t),n=(0,j.getParameter)("file");e.addButton({icon:'',tip:"保存",click:function(){B.eventEmitter.emit(B.SHOW_LOADING,"数据保存中");var t=e.toXML();if(!t)return void B.eventEmitter.emit(B.HIDE_LOADING);var r={content:t,file:n,newVersion:!1},o=window._server+"/common/saveFile";(0,j.ajaxSave)(o,r,function(){B.eventEmitter.emit(B.HIDE_LOADING),m.MsgBox.alert("保存成功")})}}),e.addButton({icon:'',tip:"保存为新版本",click:function(){B.eventEmitter.emit(B.SHOW_LOADING,"数据保存中");var t=e.toXML();if(!t)return void B.eventEmitter.emit(B.HIDE_LOADING);var r={content:t,file:n,newVersion:!0},o=window._server+"/common/saveFile";bootbox.prompt("请输入新版本描述.",function(t){t&&(r.versionComment=t,(0,j.ajaxSave)(o,r,function(){B.eventEmitter.emit(B.HIDE_LOADING)}))})}}),e.addTool(new l.default),e.addTool(new c.default),e.addTool(new g.default),e.addTool(new M.default),e.addTool(new h.default),e.addTool(new I.default),e.addTool(new T.default),e.addTool(new y.default),e.buildDesigner();var r=$("#"+t);r.append('
'),x.default.render(C.default.createElement("div",null,C.default.createElement(b.default,null)),document.getElementById("__dialog_container")),$.ajax({url:window._server+"/ruleflowdesigner/loadFlowDefinition",data:{file:n},success:function(t){e.fromJson(t),m.Event.eventEmitter.emit(m.Event.CANVAS_SELECTED)},error:function(){alert("加载决策流"+n+"失败!")}})})},function(t,e,n){var r=n(2);"string"==typeof r&&(r=[[t.id,r,""]]);n(9)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){e=t.exports=n(3)(),e.push([t.id,'/*!\n * Bootstrap v3.3.7 (http://getbootstrap.com)\n * Copyright 2011-2016 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n */\n/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{margin:.67em 0;font-size:2em}mark{color:#000;background:#ff0}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{height:0;box-sizing:content-box}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{margin:0;font:inherit;color:inherit}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{box-sizing:content-box;-webkit-appearance:textfield}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{padding:.35em .625em .75em;margin:0 2px;border:1px solid silver}legend{padding:0;border:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-spacing:0;border-collapse:collapse}td,th{padding:0}\n/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */@media print{*,:after,:before{color:#000!important;text-shadow:none!important;background:transparent!important;box-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="#"]:after,a[href^="javascript:"]:after{content:""}blockquote,pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #ddd!important}}@font-face{font-family:Glyphicons Halflings;src:url('+n(4)+");src:url("+n(4)+"?#iefix) format('embedded-opentype'),url("+n(5)+") format('woff2'),url("+n(6)+") format('woff'),url("+n(7)+") format('truetype'),url("+n(8)+'#glyphicons_halflingsregular) format(\'svg\')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:Glyphicons Halflings;font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glyphicon-asterisk:before{content:"*"}.glyphicon-plus:before{content:"+"}.glyphicon-eur:before,.glyphicon-euro:before{content:"\\20AC"}.glyphicon-minus:before{content:"\\2212"}.glyphicon-cloud:before{content:"\\2601"}.glyphicon-envelope:before{content:"\\2709"}.glyphicon-pencil:before{content:"\\270F"}.glyphicon-glass:before{content:"\\E001"}.glyphicon-music:before{content:"\\E002"}.glyphicon-search:before{content:"\\E003"}.glyphicon-heart:before{content:"\\E005"}.glyphicon-star:before{content:"\\E006"}.glyphicon-star-empty:before{content:"\\E007"}.glyphicon-user:before{content:"\\E008"}.glyphicon-film:before{content:"\\E009"}.glyphicon-th-large:before{content:"\\E010"}.glyphicon-th:before{content:"\\E011"}.glyphicon-th-list:before{content:"\\E012"}.glyphicon-ok:before{content:"\\E013"}.glyphicon-remove:before{content:"\\E014"}.glyphicon-zoom-in:before{content:"\\E015"}.glyphicon-zoom-out:before{content:"\\E016"}.glyphicon-off:before{content:"\\E017"}.glyphicon-signal:before{content:"\\E018"}.glyphicon-cog:before{content:"\\E019"}.glyphicon-trash:before{content:"\\E020"}.glyphicon-home:before{content:"\\E021"}.glyphicon-file:before{content:"\\E022"}.glyphicon-time:before{content:"\\E023"}.glyphicon-road:before{content:"\\E024"}.glyphicon-download-alt:before{content:"\\E025"}.glyphicon-download:before{content:"\\E026"}.glyphicon-upload:before{content:"\\E027"}.glyphicon-inbox:before{content:"\\E028"}.glyphicon-play-circle:before{content:"\\E029"}.glyphicon-repeat:before{content:"\\E030"}.glyphicon-refresh:before{content:"\\E031"}.glyphicon-list-alt:before{content:"\\E032"}.glyphicon-lock:before{content:"\\E033"}.glyphicon-flag:before{content:"\\E034"}.glyphicon-headphones:before{content:"\\E035"}.glyphicon-volume-off:before{content:"\\E036"}.glyphicon-volume-down:before{content:"\\E037"}.glyphicon-volume-up:before{content:"\\E038"}.glyphicon-qrcode:before{content:"\\E039"}.glyphicon-barcode:before{content:"\\E040"}.glyphicon-tag:before{content:"\\E041"}.glyphicon-tags:before{content:"\\E042"}.glyphicon-book:before{content:"\\E043"}.glyphicon-bookmark:before{content:"\\E044"}.glyphicon-print:before{content:"\\E045"}.glyphicon-camera:before{content:"\\E046"}.glyphicon-font:before{content:"\\E047"}.glyphicon-bold:before{content:"\\E048"}.glyphicon-italic:before{content:"\\E049"}.glyphicon-text-height:before{content:"\\E050"}.glyphicon-text-width:before{content:"\\E051"}.glyphicon-align-left:before{content:"\\E052"}.glyphicon-align-center:before{content:"\\E053"}.glyphicon-align-right:before{content:"\\E054"}.glyphicon-align-justify:before{content:"\\E055"}.glyphicon-list:before{content:"\\E056"}.glyphicon-indent-left:before{content:"\\E057"}.glyphicon-indent-right:before{content:"\\E058"}.glyphicon-facetime-video:before{content:"\\E059"}.glyphicon-picture:before{content:"\\E060"}.glyphicon-map-marker:before{content:"\\E062"}.glyphicon-adjust:before{content:"\\E063"}.glyphicon-tint:before{content:"\\E064"}.glyphicon-edit:before{content:"\\E065"}.glyphicon-share:before{content:"\\E066"}.glyphicon-check:before{content:"\\E067"}.glyphicon-move:before{content:"\\E068"}.glyphicon-step-backward:before{content:"\\E069"}.glyphicon-fast-backward:before{content:"\\E070"}.glyphicon-backward:before{content:"\\E071"}.glyphicon-play:before{content:"\\E072"}.glyphicon-pause:before{content:"\\E073"}.glyphicon-stop:before{content:"\\E074"}.glyphicon-forward:before{content:"\\E075"}.glyphicon-fast-forward:before{content:"\\E076"}.glyphicon-step-forward:before{content:"\\E077"}.glyphicon-eject:before{content:"\\E078"}.glyphicon-chevron-left:before{content:"\\E079"}.glyphicon-chevron-right:before{content:"\\E080"}.glyphicon-plus-sign:before{content:"\\E081"}.glyphicon-minus-sign:before{content:"\\E082"}.glyphicon-remove-sign:before{content:"\\E083"}.glyphicon-ok-sign:before{content:"\\E084"}.glyphicon-question-sign:before{content:"\\E085"}.glyphicon-info-sign:before{content:"\\E086"}.glyphicon-screenshot:before{content:"\\E087"}.glyphicon-remove-circle:before{content:"\\E088"}.glyphicon-ok-circle:before{content:"\\E089"}.glyphicon-ban-circle:before{content:"\\E090"}.glyphicon-arrow-left:before{content:"\\E091"}.glyphicon-arrow-right:before{content:"\\E092"}.glyphicon-arrow-up:before{content:"\\E093"}.glyphicon-arrow-down:before{content:"\\E094"}.glyphicon-share-alt:before{content:"\\E095"}.glyphicon-resize-full:before{content:"\\E096"}.glyphicon-resize-small:before{content:"\\E097"}.glyphicon-exclamation-sign:before{content:"\\E101"}.glyphicon-gift:before{content:"\\E102"}.glyphicon-leaf:before{content:"\\E103"}.glyphicon-fire:before{content:"\\E104"}.glyphicon-eye-open:before{content:"\\E105"}.glyphicon-eye-close:before{content:"\\E106"}.glyphicon-warning-sign:before{content:"\\E107"}.glyphicon-plane:before{content:"\\E108"}.glyphicon-calendar:before{content:"\\E109"}.glyphicon-random:before{content:"\\E110"}.glyphicon-comment:before{content:"\\E111"}.glyphicon-magnet:before{content:"\\E112"}.glyphicon-chevron-up:before{content:"\\E113"}.glyphicon-chevron-down:before{content:"\\E114"}.glyphicon-retweet:before{content:"\\E115"}.glyphicon-shopping-cart:before{content:"\\E116"}.glyphicon-folder-close:before{content:"\\E117"}.glyphicon-folder-open:before{content:"\\E118"}.glyphicon-resize-vertical:before{content:"\\E119"}.glyphicon-resize-horizontal:before{content:"\\E120"}.glyphicon-hdd:before{content:"\\E121"}.glyphicon-bullhorn:before{content:"\\E122"}.glyphicon-bell:before{content:"\\E123"}.glyphicon-certificate:before{content:"\\E124"}.glyphicon-thumbs-up:before{content:"\\E125"}.glyphicon-thumbs-down:before{content:"\\E126"}.glyphicon-hand-right:before{content:"\\E127"}.glyphicon-hand-left:before{content:"\\E128"}.glyphicon-hand-up:before{content:"\\E129"}.glyphicon-hand-down:before{content:"\\E130"}.glyphicon-circle-arrow-right:before{content:"\\E131"}.glyphicon-circle-arrow-left:before{content:"\\E132"}.glyphicon-circle-arrow-up:before{content:"\\E133"}.glyphicon-circle-arrow-down:before{content:"\\E134"}.glyphicon-globe:before{content:"\\E135"}.glyphicon-wrench:before{content:"\\E136"}.glyphicon-tasks:before{content:"\\E137"}.glyphicon-filter:before{content:"\\E138"}.glyphicon-briefcase:before{content:"\\E139"}.glyphicon-fullscreen:before{content:"\\E140"}.glyphicon-dashboard:before{content:"\\E141"}.glyphicon-paperclip:before{content:"\\E142"}.glyphicon-heart-empty:before{content:"\\E143"}.glyphicon-link:before{content:"\\E144"}.glyphicon-phone:before{content:"\\E145"}.glyphicon-pushpin:before{content:"\\E146"}.glyphicon-usd:before{content:"\\E148"}.glyphicon-gbp:before{content:"\\E149"}.glyphicon-sort:before{content:"\\E150"}.glyphicon-sort-by-alphabet:before{content:"\\E151"}.glyphicon-sort-by-alphabet-alt:before{content:"\\E152"}.glyphicon-sort-by-order:before{content:"\\E153"}.glyphicon-sort-by-order-alt:before{content:"\\E154"}.glyphicon-sort-by-attributes:before{content:"\\E155"}.glyphicon-sort-by-attributes-alt:before{content:"\\E156"}.glyphicon-unchecked:before{content:"\\E157"}.glyphicon-expand:before{content:"\\E158"}.glyphicon-collapse-down:before{content:"\\E159"}.glyphicon-collapse-up:before{content:"\\E160"}.glyphicon-log-in:before{content:"\\E161"}.glyphicon-flash:before{content:"\\E162"}.glyphicon-log-out:before{content:"\\E163"}.glyphicon-new-window:before{content:"\\E164"}.glyphicon-record:before{content:"\\E165"}.glyphicon-save:before{content:"\\E166"}.glyphicon-open:before{content:"\\E167"}.glyphicon-saved:before{content:"\\E168"}.glyphicon-import:before{content:"\\E169"}.glyphicon-export:before{content:"\\E170"}.glyphicon-send:before{content:"\\E171"}.glyphicon-floppy-disk:before{content:"\\E172"}.glyphicon-floppy-saved:before{content:"\\E173"}.glyphicon-floppy-remove:before{content:"\\E174"}.glyphicon-floppy-save:before{content:"\\E175"}.glyphicon-floppy-open:before{content:"\\E176"}.glyphicon-credit-card:before{content:"\\E177"}.glyphicon-transfer:before{content:"\\E178"}.glyphicon-cutlery:before{content:"\\E179"}.glyphicon-header:before{content:"\\E180"}.glyphicon-compressed:before{content:"\\E181"}.glyphicon-earphone:before{content:"\\E182"}.glyphicon-phone-alt:before{content:"\\E183"}.glyphicon-tower:before{content:"\\E184"}.glyphicon-stats:before{content:"\\E185"}.glyphicon-sd-video:before{content:"\\E186"}.glyphicon-hd-video:before{content:"\\E187"}.glyphicon-subtitles:before{content:"\\E188"}.glyphicon-sound-stereo:before{content:"\\E189"}.glyphicon-sound-dolby:before{content:"\\E190"}.glyphicon-sound-5-1:before{content:"\\E191"}.glyphicon-sound-6-1:before{content:"\\E192"}.glyphicon-sound-7-1:before{content:"\\E193"}.glyphicon-copyright-mark:before{content:"\\E194"}.glyphicon-registration-mark:before{content:"\\E195"}.glyphicon-cloud-download:before{content:"\\E197"}.glyphicon-cloud-upload:before{content:"\\E198"}.glyphicon-tree-conifer:before{content:"\\E199"}.glyphicon-tree-deciduous:before{content:"\\E200"}.glyphicon-cd:before{content:"\\E201"}.glyphicon-save-file:before{content:"\\E202"}.glyphicon-open-file:before{content:"\\E203"}.glyphicon-level-up:before{content:"\\E204"}.glyphicon-copy:before{content:"\\E205"}.glyphicon-paste:before{content:"\\E206"}.glyphicon-alert:before{content:"\\E209"}.glyphicon-equalizer:before{content:"\\E210"}.glyphicon-king:before{content:"\\E211"}.glyphicon-queen:before{content:"\\E212"}.glyphicon-pawn:before{content:"\\E213"}.glyphicon-bishop:before{content:"\\E214"}.glyphicon-knight:before{content:"\\E215"}.glyphicon-baby-formula:before{content:"\\E216"}.glyphicon-tent:before{content:"\\26FA"}.glyphicon-blackboard:before{content:"\\E218"}.glyphicon-bed:before{content:"\\E219"}.glyphicon-apple:before{content:"\\F8FF"}.glyphicon-erase:before{content:"\\E221"}.glyphicon-hourglass:before{content:"\\231B"}.glyphicon-lamp:before{content:"\\E223"}.glyphicon-duplicate:before{content:"\\E224"}.glyphicon-piggy-bank:before{content:"\\E225"}.glyphicon-scissors:before{content:"\\E226"}.glyphicon-bitcoin:before,.glyphicon-btc:before,.glyphicon-xbt:before{content:"\\E227"}.glyphicon-jpy:before,.glyphicon-yen:before{content:"\\A5"}.glyphicon-rub:before,.glyphicon-ruble:before{content:"\\20BD"}.glyphicon-scale:before{content:"\\E230"}.glyphicon-ice-lolly:before{content:"\\E231"}.glyphicon-ice-lolly-tasted:before{content:"\\E232"}.glyphicon-education:before{content:"\\E233"}.glyphicon-option-horizontal:before{content:"\\E234"}.glyphicon-option-vertical:before{content:"\\E235"}.glyphicon-menu-hamburger:before{content:"\\E236"}.glyphicon-modal-window:before{content:"\\E237"}.glyphicon-oil:before{content:"\\E238"}.glyphicon-grain:before{content:"\\E239"}.glyphicon-sunglasses:before{content:"\\E240"}.glyphicon-text-size:before{content:"\\E241"}.glyphicon-text-color:before{content:"\\E242"}.glyphicon-text-background:before{content:"\\E243"}.glyphicon-object-align-top:before{content:"\\E244"}.glyphicon-object-align-bottom:before{content:"\\E245"}.glyphicon-object-align-horizontal:before{content:"\\E246"}.glyphicon-object-align-left:before{content:"\\E247"}.glyphicon-object-align-vertical:before{content:"\\E248"}.glyphicon-object-align-right:before{content:"\\E249"}.glyphicon-triangle-right:before{content:"\\E250"}.glyphicon-triangle-left:before{content:"\\E251"}.glyphicon-triangle-bottom:before{content:"\\E252"}.glyphicon-triangle-top:before{content:"\\E253"}.glyphicon-console:before{content:"\\E254"}.glyphicon-superscript:before{content:"\\E255"}.glyphicon-subscript:before{content:"\\E256"}.glyphicon-menu-left:before{content:"\\E257"}.glyphicon-menu-right:before{content:"\\E258"}.glyphicon-menu-down:before{content:"\\E259"}.glyphicon-menu-up:before{content:"\\E260"}*,:after,:before{box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#337ab7;text-decoration:none}a:focus,a:hover{color:#23527c;text-decoration:underline}a:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.carousel-inner>.item>a>img,.carousel-inner>.item>img,.img-responsive,.thumbnail>img,.thumbnail a>img{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{display:inline-block;max-width:100%;height:auto;padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}[role=button]{cursor:pointer}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-weight:400;line-height:1;color:#777}.h1,.h2,.h3,h1,h2,h3{margin-top:20px;margin-bottom:10px}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small{font-size:65%}.h4,.h5,.h6,h4,h5,h6{margin-top:10px;margin-bottom:10px}.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-size:75%}.h1,h1{font-size:36px}.h2,h2{font-size:30px}.h3,h3{font-size:24px}.h4,h4{font-size:18px}.h5,h5{font-size:14px}.h6,h6{font-size:12px}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16px;font-weight:300;line-height:1.4}@media (min-width:768px){.lead{font-size:21px}}.small,small{font-size:85%}.mark,mark{padding:.2em;background-color:#fcf8e3}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#777}.text-primary{color:#337ab7}a.text-primary:focus,a.text-primary:hover{color:#286090}.text-success{color:#3c763d}a.text-success:focus,a.text-success:hover{color:#2b542c}.text-info{color:#31708f}a.text-info:focus,a.text-info:hover{color:#245269}.text-warning{color:#8a6d3b}a.text-warning:focus,a.text-warning:hover{color:#66512c}.text-danger{color:#a94442}a.text-danger:focus,a.text-danger:hover{color:#843534}.bg-primary{color:#fff;background-color:#337ab7}a.bg-primary:focus,a.bg-primary:hover{background-color:#286090}.bg-success{background-color:#dff0d8}a.bg-success:focus,a.bg-success:hover{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:focus,a.bg-info:hover{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:focus,a.bg-warning:hover{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:focus,a.bg-danger:hover{background-color:#e4b9b9}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}ol,ul{margin-top:0;margin-bottom:10px}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}.list-inline,.list-unstyled{padding-left:0;list-style:none}.list-inline{margin-left:-5px}.list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}dl{margin-top:0;margin-bottom:20px}dd,dt{line-height:1.42857143}dt{font-weight:700}dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}}abbr[data-original-title],abbr[title]{cursor:help;border-bottom:1px dotted #777}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:10px 20px;margin:0 0 20px;font-size:17.5px;border-left:5px solid #eee}blockquote ol:last-child,blockquote p:last-child,blockquote ul:last-child{margin-bottom:0}blockquote .small,blockquote footer,blockquote small{display:block;font-size:80%;line-height:1.42857143;color:#777}blockquote .small:before,blockquote footer:before,blockquote small:before{content:\'\\2014 \\A0\'}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;text-align:right;border-right:5px solid #eee;border-left:0}.blockquote-reverse .small:before,.blockquote-reverse footer:before,.blockquote-reverse small:before,blockquote.pull-right .small:before,blockquote.pull-right footer:before,blockquote.pull-right small:before{content:\'\'}.blockquote-reverse .small:after,.blockquote-reverse footer:after,.blockquote-reverse small:after,blockquote.pull-right .small:after,blockquote.pull-right footer:after,blockquote.pull-right small:after{content:\'\\A0 \\2014\'}address{margin-bottom:20px;font-style:normal;line-height:1.42857143}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,Courier New,monospace}code{color:#c7254e;background-color:#f9f2f4;border-radius:4px}code,kbd{padding:2px 4px;font-size:90%}kbd{color:#fff;background-color:#333;border-radius:3px;box-shadow:inset 0 -1px 0 rgba(0,0,0,.25)}kbd kbd{padding:0;font-size:100%;font-weight:700;box-shadow:none}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.42857143;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media (min-width:768px){.container{width:750px}}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.container-fluid{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.row{margin-right:-15px;margin-left:-15px}.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}table{background-color:transparent}caption{padding-top:8px;padding-bottom:8px;color:#777}caption,th{text-align:left}.table{width:100%;max-width:100%;margin-bottom:20px}.table>tbody>tr>td,.table>tbody>tr>th,.table>tfoot>tr>td,.table>tfoot>tr>th,.table>thead>tr>td,.table>thead>tr>th{padding:8px;line-height:1.42857143;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>td,.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>td,.table>thead:first-child>tr:first-child>th{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed>tbody>tr>td,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>td,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>thead>tr>th{padding:5px}.table-bordered,.table-bordered>tbody>tr>td,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>td,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border:1px solid #ddd}.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border-bottom-width:2px}.table-striped>tbody>tr:nth-of-type(odd){background-color:#f9f9f9}.table-hover>tbody>tr:hover{background-color:#f5f5f5}table col[class*=col-]{position:static;display:table-column;float:none}table td[class*=col-],table th[class*=col-]{position:static;display:table-cell;float:none}.table>tbody>tr.active>td,.table>tbody>tr.active>th,.table>tbody>tr>td.active,.table>tbody>tr>th.active,.table>tfoot>tr.active>td,.table>tfoot>tr.active>th,.table>tfoot>tr>td.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>thead>tr.active>th,.table>thead>tr>td.active,.table>thead>tr>th.active{background-color:#f5f5f5}.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr.active:hover>th,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover{background-color:#e8e8e8}.table>tbody>tr.success>td,.table>tbody>tr.success>th,.table>tbody>tr>td.success,.table>tbody>tr>th.success,.table>tfoot>tr.success>td,.table>tfoot>tr.success>th,.table>tfoot>tr>td.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>thead>tr.success>th,.table>thead>tr>td.success,.table>thead>tr>th.success{background-color:#dff0d8}.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr.success:hover>th,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover{background-color:#d0e9c6}.table>tbody>tr.info>td,.table>tbody>tr.info>th,.table>tbody>tr>td.info,.table>tbody>tr>th.info,.table>tfoot>tr.info>td,.table>tfoot>tr.info>th,.table>tfoot>tr>td.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>thead>tr.info>th,.table>thead>tr>td.info,.table>thead>tr>th.info{background-color:#d9edf7}.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr.info:hover>th,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover{background-color:#c4e3f3}.table>tbody>tr.warning>td,.table>tbody>tr.warning>th,.table>tbody>tr>td.warning,.table>tbody>tr>th.warning,.table>tfoot>tr.warning>td,.table>tfoot>tr.warning>th,.table>tfoot>tr>td.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>thead>tr.warning>th,.table>thead>tr>td.warning,.table>thead>tr>th.warning{background-color:#fcf8e3}.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr.warning:hover>th,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover{background-color:#faf2cc}.table>tbody>tr.danger>td,.table>tbody>tr.danger>th,.table>tbody>tr>td.danger,.table>tbody>tr>th.danger,.table>tfoot>tr.danger>td,.table>tfoot>tr.danger>th,.table>tfoot>tr>td.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>thead>tr.danger>th,.table>thead>tr>td.danger,.table>thead>tr>th.danger{background-color:#f2dede}.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr.danger:hover>th,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover{background-color:#ebcccc}.table-responsive{min-height:.01%;overflow-x:auto}@media screen and (max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-y:hidden;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #ddd}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>thead>tr>th{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}}fieldset{min-width:0;margin:0}fieldset,legend{padding:0;border:0}legend{display:block;width:100%;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border-bottom:1px solid #e5e5e5}label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700}input[type=search]{box-sizing:border-box}input[type=checkbox],input[type=radio]{margin:4px 0 0;margin-top:1px\\9;line-height:normal}input[type=file]{display:block}input[type=range]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type=checkbox]:focus,input[type=file]:focus,input[type=radio]:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}output{padding-top:7px}.form-control,output{display:block;font-size:14px;line-height:1.42857143;color:#555}.form-control{width:100%;height:34px;padding:6px 12px;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}.form-control:focus{border-color:#66afe9;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.form-control::-moz-placeholder{color:#999;opacity:1}.form-control:-ms-input-placeholder{color:#999}.form-control::-webkit-input-placeholder{color:#999}.form-control::-ms-expand{background-color:transparent;border:0}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{background-color:#eee;opacity:1}.form-control[disabled],fieldset[disabled] .form-control{cursor:not-allowed}textarea.form-control{height:auto}input[type=search]{-webkit-appearance:none}@media screen and (-webkit-min-device-pixel-ratio:0){input[type=date].form-control,input[type=datetime-local].form-control,input[type=month].form-control,input[type=time].form-control{line-height:34px}.input-group-sm input[type=date],.input-group-sm input[type=datetime-local],.input-group-sm input[type=month],.input-group-sm input[type=time],input[type=date].input-sm,input[type=datetime-local].input-sm,input[type=month].input-sm,input[type=time].input-sm{line-height:30px}.input-group-lg input[type=date],.input-group-lg input[type=datetime-local],.input-group-lg input[type=month],.input-group-lg input[type=time],input[type=date].input-lg,input[type=datetime-local].input-lg,input[type=month].input-lg,input[type=time].input-lg{line-height:46px}}.form-group{margin-bottom:15px}.checkbox,.radio{position:relative;display:block;margin-top:10px;margin-bottom:10px}.checkbox label,.radio label{min-height:20px;padding-left:20px;margin-bottom:0;font-weight:400;cursor:pointer}.checkbox-inline input[type=checkbox],.checkbox input[type=checkbox],.radio-inline input[type=radio],.radio input[type=radio]{position:absolute;margin-top:4px\\9;margin-left:-20px}.checkbox+.checkbox,.radio+.radio{margin-top:-5px}.checkbox-inline,.radio-inline{position:relative;display:inline-block;padding-left:20px;margin-bottom:0;font-weight:400;vertical-align:middle;cursor:pointer}.checkbox-inline+.checkbox-inline,.radio-inline+.radio-inline{margin-top:0;margin-left:10px}.checkbox-inline.disabled,.checkbox.disabled label,.radio-inline.disabled,.radio.disabled label,fieldset[disabled] .checkbox-inline,fieldset[disabled] .checkbox label,fieldset[disabled] .radio-inline,fieldset[disabled] .radio label,fieldset[disabled] input[type=checkbox],fieldset[disabled] input[type=radio],input[type=checkbox].disabled,input[type=checkbox][disabled],input[type=radio].disabled,input[type=radio][disabled]{cursor:not-allowed}.form-control-static{min-height:34px;padding-top:7px;padding-bottom:7px;margin-bottom:0}.form-control-static.input-lg,.form-control-static.input-sm{padding-right:0;padding-left:0}.input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-sm{height:30px;line-height:30px}select[multiple].input-sm,textarea.input-sm{height:auto}.form-group-sm .form-control{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.form-group-sm select.form-control{height:30px;line-height:30px}.form-group-sm select[multiple].form-control,.form-group-sm textarea.form-control{height:auto}.form-group-sm .form-control-static{height:30px;min-height:32px;padding:6px 10px;font-size:12px;line-height:1.5}.input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-lg{height:46px;line-height:46px}select[multiple].input-lg,textarea.input-lg{height:auto}.form-group-lg .form-control{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.form-group-lg select.form-control{height:46px;line-height:46px}.form-group-lg select[multiple].form-control,.form-group-lg textarea.form-control{height:auto}.form-group-lg .form-control-static{height:46px;min-height:38px;padding:11px 16px;font-size:18px;line-height:1.3333333}.has-feedback{position:relative}.has-feedback .form-control{padding-right:42.5px}.form-control-feedback{position:absolute;top:0;right:0;z-index:2;display:block;width:34px;height:34px;line-height:34px;text-align:center;pointer-events:none}.form-group-lg .form-control+.form-control-feedback,.input-group-lg+.form-control-feedback,.input-lg+.form-control-feedback{width:46px;height:46px;line-height:46px}.form-group-sm .form-control+.form-control-feedback,.input-group-sm+.form-control-feedback,.input-sm+.form-control-feedback{width:30px;height:30px;line-height:30px}.has-success .checkbox,.has-success .checkbox-inline,.has-success.checkbox-inline label,.has-success.checkbox label,.has-success .control-label,.has-success .help-block,.has-success .radio,.has-success .radio-inline,.has-success.radio-inline label,.has-success.radio label{color:#3c763d}.has-success .form-control{border-color:#3c763d;box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-success .form-control:focus{border-color:#2b542c;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}.has-success .input-group-addon{color:#3c763d;background-color:#dff0d8;border-color:#3c763d}.has-success .form-control-feedback{color:#3c763d}.has-warning .checkbox,.has-warning .checkbox-inline,.has-warning.checkbox-inline label,.has-warning.checkbox label,.has-warning .control-label,.has-warning .help-block,.has-warning .radio,.has-warning .radio-inline,.has-warning.radio-inline label,.has-warning.radio label{color:#8a6d3b}.has-warning .form-control{border-color:#8a6d3b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-warning .form-control:focus{border-color:#66512c;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}.has-warning .input-group-addon{color:#8a6d3b;background-color:#fcf8e3;border-color:#8a6d3b}.has-warning .form-control-feedback{color:#8a6d3b}.has-error .checkbox,.has-error .checkbox-inline,.has-error.checkbox-inline label,.has-error.checkbox label,.has-error .control-label,.has-error .help-block,.has-error .radio,.has-error .radio-inline,.has-error.radio-inline label,.has-error.radio label{color:#a94442}.has-error .form-control{border-color:#a94442;box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-error .form-control:focus{border-color:#843534;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.has-error .input-group-addon{color:#a94442;background-color:#f2dede;border-color:#a94442}.has-error .form-control-feedback{color:#a94442}.has-feedback label~.form-control-feedback{top:25px}.has-feedback label.sr-only~.form-control-feedback{top:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media (min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-static{display:inline-block}.form-inline .input-group{display:inline-table;vertical-align:middle}.form-inline .input-group .form-control,.form-inline .input-group .input-group-addon,.form-inline .input-group .input-group-btn{width:auto}.form-inline .input-group>.form-control{width:100%}.form-inline .control-label{margin-bottom:0;vertical-align:middle}.form-inline .checkbox,.form-inline .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.form-inline .checkbox label,.form-inline .radio label{padding-left:0}.form-inline .checkbox input[type=checkbox],.form-inline .radio input[type=radio]{position:relative;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}}.form-horizontal .checkbox,.form-horizontal .checkbox-inline,.form-horizontal .radio,.form-horizontal .radio-inline{padding-top:7px;margin-top:0;margin-bottom:0}.form-horizontal .checkbox,.form-horizontal .radio{min-height:27px}.form-horizontal .form-group{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.form-horizontal .control-label{padding-top:7px;margin-bottom:0;text-align:right}}.form-horizontal .has-feedback .form-control-feedback{right:15px}@media (min-width:768px){.form-horizontal .form-group-lg .control-label{padding-top:11px;font-size:18px}}@media (min-width:768px){.form-horizontal .form-group-sm .control-label{padding-top:6px;font-size:12px}}.btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-image:none;border:1px solid transparent;border-radius:4px}.btn.active.focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn:active:focus,.btn:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn.focus,.btn:focus,.btn:hover{color:#333;text-decoration:none}.btn.active,.btn:active{background-image:none;outline:0;box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{cursor:not-allowed;filter:alpha(opacity=65);box-shadow:none;opacity:.65}a.btn.disabled,fieldset[disabled] a.btn{pointer-events:none}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default.focus,.btn-default:focus{color:#333;background-color:#e6e6e6;border-color:#8c8c8c}.btn-default.active,.btn-default:active,.btn-default:hover,.open>.dropdown-toggle.btn-default{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default.active.focus,.btn-default.active:focus,.btn-default.active:hover,.btn-default:active.focus,.btn-default:active:focus,.btn-default:active:hover,.open>.dropdown-toggle.btn-default.focus,.open>.dropdown-toggle.btn-default:focus,.open>.dropdown-toggle.btn-default:hover{color:#333;background-color:#d4d4d4;border-color:#8c8c8c}.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default{background-image:none}.btn-default.disabled.focus,.btn-default.disabled:focus,.btn-default.disabled:hover,.btn-default[disabled].focus,.btn-default[disabled]:focus,.btn-default[disabled]:hover,fieldset[disabled] .btn-default.focus,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:hover{background-color:#fff;border-color:#ccc}.btn-default .badge{color:#fff;background-color:#333}.btn-primary{color:#fff;background-color:#337ab7;border-color:#2e6da4}.btn-primary.focus,.btn-primary:focus{color:#fff;background-color:#286090;border-color:#122b40}.btn-primary.active,.btn-primary:active,.btn-primary:hover,.open>.dropdown-toggle.btn-primary{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary.active.focus,.btn-primary.active:focus,.btn-primary.active:hover,.btn-primary:active.focus,.btn-primary:active:focus,.btn-primary:active:hover,.open>.dropdown-toggle.btn-primary.focus,.open>.dropdown-toggle.btn-primary:focus,.open>.dropdown-toggle.btn-primary:hover{color:#fff;background-color:#204d74;border-color:#122b40}.btn-primary.active,.btn-primary:active,.open>.dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled.focus,.btn-primary.disabled:focus,.btn-primary.disabled:hover,.btn-primary[disabled].focus,.btn-primary[disabled]:focus,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary.focus,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:hover{background-color:#337ab7;border-color:#2e6da4}.btn-primary .badge{color:#337ab7;background-color:#fff}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success.focus,.btn-success:focus{color:#fff;background-color:#449d44;border-color:#255625}.btn-success.active,.btn-success:active,.btn-success:hover,.open>.dropdown-toggle.btn-success{color:#fff;background-color:#449d44;border-color:#398439}.btn-success.active.focus,.btn-success.active:focus,.btn-success.active:hover,.btn-success:active.focus,.btn-success:active:focus,.btn-success:active:hover,.open>.dropdown-toggle.btn-success.focus,.open>.dropdown-toggle.btn-success:focus,.open>.dropdown-toggle.btn-success:hover{color:#fff;background-color:#398439;border-color:#255625}.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success{background-image:none}.btn-success.disabled.focus,.btn-success.disabled:focus,.btn-success.disabled:hover,.btn-success[disabled].focus,.btn-success[disabled]:focus,.btn-success[disabled]:hover,fieldset[disabled] .btn-success.focus,fieldset[disabled] .btn-success:focus,fieldset[disabled] .btn-success:hover{background-color:#5cb85c;border-color:#4cae4c}.btn-success .badge{color:#5cb85c;background-color:#fff}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info.focus,.btn-info:focus{color:#fff;background-color:#31b0d5;border-color:#1b6d85}.btn-info.active,.btn-info:active,.btn-info:hover,.open>.dropdown-toggle.btn-info{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info.active.focus,.btn-info.active:focus,.btn-info.active:hover,.btn-info:active.focus,.btn-info:active:focus,.btn-info:active:hover,.open>.dropdown-toggle.btn-info.focus,.open>.dropdown-toggle.btn-info:focus,.open>.dropdown-toggle.btn-info:hover{color:#fff;background-color:#269abc;border-color:#1b6d85}.btn-info.active,.btn-info:active,.open>.dropdown-toggle.btn-info{background-image:none}.btn-info.disabled.focus,.btn-info.disabled:focus,.btn-info.disabled:hover,.btn-info[disabled].focus,.btn-info[disabled]:focus,.btn-info[disabled]:hover,fieldset[disabled] .btn-info.focus,fieldset[disabled] .btn-info:focus,fieldset[disabled] .btn-info:hover{background-color:#5bc0de;border-color:#46b8da}.btn-info .badge{color:#5bc0de;background-color:#fff}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.btn-warning.focus,.btn-warning:focus{color:#fff;background-color:#ec971f;border-color:#985f0d}.btn-warning.active,.btn-warning:active,.btn-warning:hover,.open>.dropdown-toggle.btn-warning{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning.active.focus,.btn-warning.active:focus,.btn-warning.active:hover,.btn-warning:active.focus,.btn-warning:active:focus,.btn-warning:active:hover,.open>.dropdown-toggle.btn-warning.focus,.open>.dropdown-toggle.btn-warning:focus,.open>.dropdown-toggle.btn-warning:hover{color:#fff;background-color:#d58512;border-color:#985f0d}.btn-warning.active,.btn-warning:active,.open>.dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled.focus,.btn-warning.disabled:focus,.btn-warning.disabled:hover,.btn-warning[disabled].focus,.btn-warning[disabled]:focus,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning.focus,fieldset[disabled] .btn-warning:focus,fieldset[disabled] .btn-warning:hover{background-color:#f0ad4e;border-color:#eea236}.btn-warning .badge{color:#f0ad4e;background-color:#fff}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger.focus,.btn-danger:focus{color:#fff;background-color:#c9302c;border-color:#761c19}.btn-danger.active,.btn-danger:active,.btn-danger:hover,.open>.dropdown-toggle.btn-danger{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger.active.focus,.btn-danger.active:focus,.btn-danger.active:hover,.btn-danger:active.focus,.btn-danger:active:focus,.btn-danger:active:hover,.open>.dropdown-toggle.btn-danger.focus,.open>.dropdown-toggle.btn-danger:focus,.open>.dropdown-toggle.btn-danger:hover{color:#fff;background-color:#ac2925;border-color:#761c19}.btn-danger.active,.btn-danger:active,.open>.dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled.focus,.btn-danger.disabled:focus,.btn-danger.disabled:hover,.btn-danger[disabled].focus,.btn-danger[disabled]:focus,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger.focus,fieldset[disabled] .btn-danger:focus,fieldset[disabled] .btn-danger:hover{background-color:#d9534f;border-color:#d43f3a}.btn-danger .badge{color:#d9534f;background-color:#fff}.btn-link{font-weight:400;color:#337ab7;border-radius:0}.btn-link,.btn-link.active,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;box-shadow:none}.btn-link,.btn-link:active,.btn-link:focus,.btn-link:hover{border-color:transparent}.btn-link:focus,.btn-link:hover{color:#23527c;text-decoration:underline;background-color:transparent}.btn-link[disabled]:focus,.btn-link[disabled]:hover,fieldset[disabled] .btn-link:focus,fieldset[disabled] .btn-link:hover{color:#777;text-decoration:none}.btn-group-lg>.btn,.btn-lg{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-group-sm>.btn,.btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-xs>.btn,.btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition-timing-function:ease;transition-timing-function:ease;-webkit-transition-duration:.35s;transition-duration:.35s;-webkit-transition-property:height,visibility;transition-property:height,visibility}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px dashed;border-top:4px solid\\9;border-right:4px solid transparent;border-left:4px solid transparent}.dropdown,.dropup{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:14px;text-align:left;list-style:none;background-color:#fff;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;box-shadow:0 6px 12px rgba(0,0,0,.175)}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.42857143;color:#333;white-space:nowrap}.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{color:#262626;text-decoration:none;background-color:#f5f5f5}.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{color:#fff;text-decoration:none;background-color:#337ab7;outline:0}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{color:#777}.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false)}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{right:0;left:auto}.dropdown-menu-left{right:auto;left:0}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.42857143;color:#777;white-space:nowrap}.dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{content:"";border-top:0;border-bottom:4px dashed;border-bottom:4px solid\\9}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:2px}@media (min-width:768px){.navbar-right .dropdown-menu{right:0;left:auto}.navbar-right .dropdown-menu-left{right:auto;left:0}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;float:left}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:2}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-5px}.btn-toolbar .btn,.btn-toolbar .btn-group,.btn-toolbar .input-group{float:left}.btn-toolbar>.btn,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-bottom-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}.btn-group.open .dropdown-toggle{box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-group.open .dropdown-toggle.btn-link{box-shadow:none}.btn .caret{margin-left:0}.btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-top-right-radius:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,.btn-group-justified>.btn-group{display:table-cell;float:none;width:1%}.btn-group-justified>.btn-group .btn{width:100%}.btn-group-justified>.btn-group .dropdown-menu{left:auto}[data-toggle=buttons]>.btn-group>.btn input[type=checkbox],[data-toggle=buttons]>.btn-group>.btn input[type=radio],[data-toggle=buttons]>.btn input[type=checkbox],[data-toggle=buttons]>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*=col-]{float:none;padding-right:0;padding-left:0}.input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.input-group .form-control:focus{z-index:3}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:46px;line-height:46px}select[multiple].input-group-lg>.form-control,select[multiple].input-group-lg>.input-group-addon,select[multiple].input-group-lg>.input-group-btn>.btn,textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}select[multiple].input-group-sm>.form-control,select[multiple].input-group-sm>.input-group-addon,select[multiple].input-group-sm>.input-group-btn>.btn,textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn{height:auto}.input-group-addon,.input-group-btn,.input-group .form-control{display:table-cell}.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child),.input-group .form-control:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.input-group-addon input[type=checkbox],.input-group-addon input[type=radio]{margin-top:0}.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn-group:not(:last-child)>.btn,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle),.input-group .form-control:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group-addon:last-child,.input-group-btn:first-child>.btn-group:not(:first-child)>.btn,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group>.btn,.input-group-btn:last-child>.dropdown-toggle,.input-group .form-control:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{font-size:0;white-space:nowrap}.input-group-btn,.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:active,.input-group-btn>.btn:focus,.input-group-btn>.btn:hover{z-index:2}.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group{margin-right:-1px}.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group{z-index:2;margin-left:-1px}.nav{padding-left:0;margin-bottom:0;list-style:none}.nav>li,.nav>li>a{position:relative;display:block}.nav>li>a{padding:10px 15px}.nav>li>a:focus,.nav>li>a:hover{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#777}.nav>li.disabled>a:focus,.nav>li.disabled>a:hover{color:#777;text-decoration:none;cursor:not-allowed;background-color:transparent}.nav .open>a,.nav .open>a:focus,.nav .open>a:hover{background-color:#eee;border-color:#337ab7}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.42857143;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:focus,.nav-tabs>li.active>a:hover{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border-bottom-color:#fff}}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:4px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:focus,.nav-pills>li.active>a:hover{color:#fff;background-color:#337ab7}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li{float:none}.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border-bottom-color:#fff}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}.navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}@media (min-width:768px){.navbar{border-radius:4px}}@media (min-width:768px){.navbar-header{float:left}}.navbar-collapse{padding-right:15px;padding-left:15px;overflow-x:visible;-webkit-overflow-scrolling:touch;border-top:1px solid transparent;box-shadow:inset 0 1px 0 hsla(0,0%,100%,.1)}.navbar-collapse.in{overflow-y:auto}@media (min-width:768px){.navbar-collapse{width:auto;border-top:0;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse{padding-right:0;padding-left:0}}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:340px}@media (max-device-width:480px) and (orientation:landscape){.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:200px}}.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:0;margin-left:0}}.navbar-static-top{z-index:1000;border-width:0 0 1px}@media (min-width:768px){.navbar-static-top{border-radius:0}}.navbar-fixed-bottom,.navbar-fixed-top{position:fixed;right:0;left:0;z-index:1030}@media (min-width:768px){.navbar-fixed-bottom,.navbar-fixed-top{border-radius:0}}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.navbar-brand{float:left;height:50px;padding:15px;font-size:18px;line-height:20px}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-brand>img{display:block}@media (min-width:768px){.navbar>.container-fluid .navbar-brand,.navbar>.container .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;padding:9px 10px;margin-top:8px;margin-right:15px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.navbar-toggle:focus{outline:0}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media (min-width:768px){.navbar-toggle{display:none}}.navbar-nav{margin:7.5px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media (max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;box-shadow:none}.navbar-nav .open .dropdown-menu .dropdown-header,.navbar-nav .open .dropdown-menu>li>a{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:focus,.navbar-nav .open .dropdown-menu>li>a:hover{background-image:none}}@media (min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}}.navbar-form{padding:10px 15px;margin:8px -15px;border-top:1px solid transparent;border-bottom:1px solid transparent;box-shadow:inset 0 1px 0 hsla(0,0%,100%,.1),0 1px 0 hsla(0,0%,100%,.1)}@media (min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block;width:auto;vertical-align:middle}.navbar-form .form-control-static{display:inline-block}.navbar-form .input-group{display:inline-table;vertical-align:middle}.navbar-form .input-group .form-control,.navbar-form .input-group .input-group-addon,.navbar-form .input-group .input-group-btn{width:auto}.navbar-form .input-group>.form-control{width:100%}.navbar-form .control-label{margin-bottom:0;vertical-align:middle}.navbar-form .checkbox,.navbar-form .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.navbar-form .checkbox label,.navbar-form .radio label{padding-left:0}.navbar-form .checkbox input[type=checkbox],.navbar-form .radio input[type=radio]{position:relative;margin-left:0}.navbar-form .has-feedback .form-control-feedback{top:0}}@media (max-width:767px){.navbar-form .form-group{margin-bottom:5px}.navbar-form .form-group:last-child{margin-bottom:0}}@media (min-width:768px){.navbar-form{width:auto;padding-top:0;padding-bottom:0;margin-right:0;margin-left:0;border:0;box-shadow:none}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-left-radius:0;border-top-right-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{margin-bottom:0;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.navbar-btn{margin-top:8px;margin-bottom:8px}.navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.navbar-text{margin-top:15px;margin-bottom:15px}@media (min-width:768px){.navbar-text{float:left;margin-right:15px;margin-left:15px}}@media (min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important;margin-right:-15px}.navbar-right~.navbar-right{margin-right:0}}.navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:focus,.navbar-default .navbar-brand:hover{color:#5e5e5e;background-color:transparent}.navbar-default .navbar-nav>li>a,.navbar-default .navbar-text{color:#777}.navbar-default .navbar-nav>li>a:focus,.navbar-default .navbar-nav>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:focus,.navbar-default .navbar-nav>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:focus,.navbar-default .navbar-nav>.disabled>a:hover{color:#ccc;background-color:transparent}.navbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:focus,.navbar-default .navbar-toggle:hover{background-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#888}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#e7e7e7}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:focus,.navbar-default .navbar-nav>.open>a:hover{color:#555;background-color:#e7e7e7}@media (max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#ccc;background-color:transparent}}.navbar-default .navbar-link{color:#777}.navbar-default .navbar-link:hover{color:#333}.navbar-default .btn-link{color:#777}.navbar-default .btn-link:focus,.navbar-default .btn-link:hover{color:#333}.navbar-default .btn-link[disabled]:focus,.navbar-default .btn-link[disabled]:hover,fieldset[disabled] .navbar-default .btn-link:focus,fieldset[disabled] .navbar-default .btn-link:hover{color:#ccc}.navbar-inverse{background-color:#222;border-color:#080808}.navbar-inverse .navbar-brand{color:#9d9d9d}.navbar-inverse .navbar-brand:focus,.navbar-inverse .navbar-brand:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>li>a,.navbar-inverse .navbar-text{color:#9d9d9d}.navbar-inverse .navbar-nav>li>a:focus,.navbar-inverse .navbar-nav>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:focus,.navbar-inverse .navbar-nav>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:focus,.navbar-inverse .navbar-nav>.disabled>a:hover{color:#444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:focus,.navbar-inverse .navbar-toggle:hover{background-color:#333}.navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#101010}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:focus,.navbar-inverse .navbar-nav>.open>a:hover{color:#fff;background-color:#080808}@media (max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#9d9d9d}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#444;background-color:transparent}}.navbar-inverse .navbar-link{color:#9d9d9d}.navbar-inverse .navbar-link:hover{color:#fff}.navbar-inverse .btn-link{color:#9d9d9d}.navbar-inverse .btn-link:focus,.navbar-inverse .btn-link:hover{color:#fff}.navbar-inverse .btn-link[disabled]:focus,.navbar-inverse .btn-link[disabled]:hover,fieldset[disabled] .navbar-inverse .btn-link:focus,fieldset[disabled] .navbar-inverse .btn-link:hover{color:#444}.breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{padding:0 5px;color:#ccc;content:"/\\A0"}.breadcrumb>.active{color:#777}.pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.42857143;color:#337ab7;text-decoration:none;background-color:#fff;border:1px solid #ddd}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-top-left-radius:4px;border-bottom-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.pagination>li>a:focus,.pagination>li>a:hover,.pagination>li>span:focus,.pagination>li>span:hover{z-index:2;color:#23527c;background-color:#eee;border-color:#ddd}.pagination>.active>a,.pagination>.active>a:focus,.pagination>.active>a:hover,.pagination>.active>span,.pagination>.active>span:focus,.pagination>.active>span:hover{z-index:3;color:#fff;cursor:default;background-color:#337ab7;border-color:#337ab7}.pagination>.disabled>a,.pagination>.disabled>a:focus,.pagination>.disabled>a:hover,.pagination>.disabled>span,.pagination>.disabled>span:focus,.pagination>.disabled>span:hover{color:#777;cursor:not-allowed;background-color:#fff;border-color:#ddd}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:18px;line-height:1.3333333}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-top-left-radius:6px;border-bottom-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px;line-height:1.5}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-top-left-radius:3px;border-bottom-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}.pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:focus,.pager li>a:hover{text-decoration:none;background-color:#eee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:focus,.pager .disabled>a:hover,.pager .disabled>span{color:#777;cursor:not-allowed;background-color:#fff}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}a.label:focus,a.label:hover{color:#fff;text-decoration:none;cursor:pointer}.label:empty{display:none}.btn .label{position:relative;top:-1px}.label-default{background-color:#777}.label-default[href]:focus,.label-default[href]:hover{background-color:#5e5e5e}.label-primary{background-color:#337ab7}.label-primary[href]:focus,.label-primary[href]:hover{background-color:#286090}.label-success{background-color:#5cb85c}.label-success[href]:focus,.label-success[href]:hover{background-color:#449d44}.label-info{background-color:#5bc0de}.label-info[href]:focus,.label-info[href]:hover{background-color:#31b0d5}.label-warning{background-color:#f0ad4e}.label-warning[href]:focus,.label-warning[href]:hover{background-color:#ec971f}.label-danger{background-color:#d9534f}.label-danger[href]:focus,.label-danger[href]:hover{background-color:#c9302c}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:middle;background-color:#777;border-radius:10px}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.btn-group-xs>.btn .badge,.btn-xs .badge{top:0;padding:1px 5px}a.badge:focus,a.badge:hover{color:#fff;text-decoration:none;cursor:pointer}.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#337ab7;background-color:#fff}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}.nav-pills>li>a>.badge{margin-left:3px}.jumbotron{padding-top:30px;padding-bottom:30px;margin-bottom:30px;background-color:#eee}.jumbotron,.jumbotron .h1,.jumbotron h1{color:inherit}.jumbotron p{margin-bottom:15px;font-size:21px;font-weight:200}.jumbotron>hr{border-top-color:#d5d5d5}.container-fluid .jumbotron,.container .jumbotron{padding-right:15px;padding-left:15px;border-radius:6px}.jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container-fluid .jumbotron,.container .jumbotron{padding-right:60px;padding-left:60px}.jumbotron .h1,.jumbotron h1{font-size:63px}}.thumbnail{display:block;padding:4px;margin-bottom:20px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:border .2s ease-in-out;transition:border .2s ease-in-out}.thumbnail>img,.thumbnail a>img{margin-right:auto;margin-left:auto}a.thumbnail.active,a.thumbnail:focus,a.thumbnail:hover{border-color:#337ab7}.thumbnail .caption{padding:9px;color:#333}.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:700}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable,.alert-dismissible{padding-right:35px}.alert-dismissable .close,.alert-dismissible .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#2b542c}.alert-info{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#245269}.alert-warning{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.alert-warning hr{border-top-color:#f7e1b5}.alert-warning .alert-link{color:#66512c}.alert-danger{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.alert-danger hr{border-top-color:#e4b9c0}.alert-danger .alert-link{color:#843534}@-webkit-keyframes progress-bar-stripes{0%{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{0%{background-position:40px 0}to{background-position:0 0}}.progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f5f5f5;border-radius:4px;box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#337ab7;box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;transition:width .6s ease}.progress-bar-striped,.progress-striped .progress-bar{background-image:-webkit-linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent);background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent);background-size:40px 40px}.progress-bar.active,.progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#5cb85c}.progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent);background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent)}.progress-bar-info{background-color:#5bc0de}.progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent);background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent)}.progress-bar-warning{background-color:#f0ad4e}.progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent);background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent)}.progress-bar-danger{background-color:#d9534f}.progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent);background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent)}.media{margin-top:15px}.media:first-child{margin-top:0}.media,.media-body{overflow:hidden;zoom:1}.media-body{width:10000px}.media-object{display:block}.media-object.img-thumbnail{max-width:none}.media-right,.media>.pull-right{padding-left:10px}.media-left,.media>.pull-left{padding-right:10px}.media-body,.media-left,.media-right{display:table-cell;vertical-align:top}.media-middle{vertical-align:middle}.media-bottom{vertical-align:bottom}.media-heading{margin-top:0;margin-bottom:5px}.media-list{padding-left:0;list-style:none}.list-group{padding-left:0;margin-bottom:20px}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.list-group-item:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}a.list-group-item,button.list-group-item{color:#555}a.list-group-item .list-group-item-heading,button.list-group-item .list-group-item-heading{color:#333}a.list-group-item:focus,a.list-group-item:hover,button.list-group-item:focus,button.list-group-item:hover{color:#555;text-decoration:none;background-color:#f5f5f5}button.list-group-item{width:100%;text-align:left}.list-group-item.disabled,.list-group-item.disabled:focus,.list-group-item.disabled:hover{color:#777;cursor:not-allowed;background-color:#eee}.list-group-item.disabled .list-group-item-heading,.list-group-item.disabled:focus .list-group-item-heading,.list-group-item.disabled:hover .list-group-item-heading{color:inherit}.list-group-item.disabled .list-group-item-text,.list-group-item.disabled:focus .list-group-item-text,.list-group-item.disabled:hover .list-group-item-text{color:#777}.list-group-item.active,.list-group-item.active:focus,.list-group-item.active:hover{z-index:2;color:#fff;background-color:#337ab7;border-color:#337ab7}.list-group-item.active .list-group-item-heading,.list-group-item.active .list-group-item-heading>.small,.list-group-item.active .list-group-item-heading>small,.list-group-item.active:focus .list-group-item-heading,.list-group-item.active:focus .list-group-item-heading>.small,.list-group-item.active:focus .list-group-item-heading>small,.list-group-item.active:hover .list-group-item-heading,.list-group-item.active:hover .list-group-item-heading>.small,.list-group-item.active:hover .list-group-item-heading>small{color:inherit}.list-group-item.active .list-group-item-text,.list-group-item.active:focus .list-group-item-text,.list-group-item.active:hover .list-group-item-text{color:#c7ddef}.list-group-item-success{color:#3c763d;background-color:#dff0d8}a.list-group-item-success,button.list-group-item-success{color:#3c763d}a.list-group-item-success .list-group-item-heading,button.list-group-item-success .list-group-item-heading{color:inherit}a.list-group-item-success:focus,a.list-group-item-success:hover,button.list-group-item-success:focus,button.list-group-item-success:hover{color:#3c763d;background-color:#d0e9c6}a.list-group-item-success.active,a.list-group-item-success.active:focus,a.list-group-item-success.active:hover,button.list-group-item-success.active,button.list-group-item-success.active:focus,button.list-group-item-success.active:hover{color:#fff;background-color:#3c763d;border-color:#3c763d}.list-group-item-info{color:#31708f;background-color:#d9edf7}a.list-group-item-info,button.list-group-item-info{color:#31708f}a.list-group-item-info .list-group-item-heading,button.list-group-item-info .list-group-item-heading{color:inherit}a.list-group-item-info:focus,a.list-group-item-info:hover,button.list-group-item-info:focus,button.list-group-item-info:hover{color:#31708f;background-color:#c4e3f3}a.list-group-item-info.active,a.list-group-item-info.active:focus,a.list-group-item-info.active:hover,button.list-group-item-info.active,button.list-group-item-info.active:focus,button.list-group-item-info.active:hover{color:#fff;background-color:#31708f;border-color:#31708f}.list-group-item-warning{color:#8a6d3b;background-color:#fcf8e3}a.list-group-item-warning,button.list-group-item-warning{color:#8a6d3b}a.list-group-item-warning .list-group-item-heading,button.list-group-item-warning .list-group-item-heading{color:inherit}a.list-group-item-warning:focus,a.list-group-item-warning:hover,button.list-group-item-warning:focus,button.list-group-item-warning:hover{color:#8a6d3b;background-color:#faf2cc}a.list-group-item-warning.active,a.list-group-item-warning.active:focus,a.list-group-item-warning.active:hover,button.list-group-item-warning.active,button.list-group-item-warning.active:focus,button.list-group-item-warning.active:hover{color:#fff;background-color:#8a6d3b;border-color:#8a6d3b}.list-group-item-danger{color:#a94442;background-color:#f2dede}a.list-group-item-danger,button.list-group-item-danger{color:#a94442}a.list-group-item-danger .list-group-item-heading,button.list-group-item-danger .list-group-item-heading{color:inherit}a.list-group-item-danger:focus,a.list-group-item-danger:hover,button.list-group-item-danger:focus,button.list-group-item-danger:hover{color:#a94442;background-color:#ebcccc}a.list-group-item-danger.active,a.list-group-item-danger.active:focus,a.list-group-item-danger.active:hover,button.list-group-item-danger.active,button.list-group-item-danger.active:focus,button.list-group-item-danger.active:hover{color:#fff;background-color:#a94442;border-color:#a94442}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px;box-shadow:0 1px 1px rgba(0,0,0,.05)}.panel-body{padding:15px}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-left-radius:3px;border-top-right-radius:3px}.panel-heading>.dropdown .dropdown-toggle,.panel-title{color:inherit}.panel-title{margin-top:0;margin-bottom:0;font-size:16px}.panel-title>.small,.panel-title>.small>a,.panel-title>a,.panel-title>small,.panel-title>small>a{color:inherit}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.list-group,.panel>.panel-collapse>.list-group{margin-bottom:0}.panel>.list-group .list-group-item,.panel>.panel-collapse>.list-group .list-group-item{border-width:1px 0;border-radius:0}.panel>.list-group:first-child .list-group-item:first-child,.panel>.panel-collapse>.list-group:first-child .list-group-item:first-child{border-top:0;border-top-left-radius:3px;border-top-right-radius:3px}.panel>.list-group:last-child .list-group-item:last-child,.panel>.panel-collapse>.list-group:last-child .list-group-item:last-child{border-bottom:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.panel-heading+.panel-collapse>.list-group .list-group-item:first-child{border-top-left-radius:0;border-top-right-radius:0}.list-group+.panel-footer,.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.panel>.panel-collapse>.table,.panel>.table,.panel>.table-responsive>.table{margin-bottom:0}.panel>.panel-collapse>.table caption,.panel>.table-responsive>.table caption,.panel>.table caption{padding-right:15px;padding-left:15px}.panel>.table-responsive:first-child>.table:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child,.panel>.table:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child,.panel>.table:first-child>thead:first-child>tr:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table:first-child>thead:first-child>tr:first-child th:first-child{border-top-left-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table:first-child>thead:first-child>tr:first-child th:last-child{border-top-right-radius:3px}.panel>.table-responsive:last-child>.table:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child,.panel>.table:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:first-child{border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:last-child{border-bottom-right-radius:3px}.panel>.panel-body+.table,.panel>.panel-body+.table-responsive,.panel>.table+.panel-body,.panel>.table-responsive+.panel-body{border-top:1px solid #ddd}.panel>.table>tbody:first-child>tr:first-child td,.panel>.table>tbody:first-child>tr:first-child th{border-top:0}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.panel>.table-bordered>tbody>tr:first-child>td,.panel>.table-bordered>tbody>tr:first-child>th,.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-bordered>thead>tr:first-child>td,.panel>.table-bordered>thead>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>thead>tr:first-child>td,.panel>.table-responsive>.table-bordered>thead>tr:first-child>th{border-bottom:0}.panel>.table-responsive{margin-bottom:0;border:0}.panel-group{margin-bottom:20px}.panel-group .panel{margin-bottom:0;border-radius:4px}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse>.list-group,.panel-group .panel-heading+.panel-collapse>.panel-body{border-top:1px solid #ddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.panel-default{border-color:#ddd}.panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.panel-default>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ddd}.panel-default>.panel-heading .badge{color:#f5f5f5;background-color:#333}.panel-default>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ddd}.panel-primary{border-color:#337ab7}.panel-primary>.panel-heading{color:#fff;background-color:#337ab7;border-color:#337ab7}.panel-primary>.panel-heading+.panel-collapse>.panel-body{border-top-color:#337ab7}.panel-primary>.panel-heading .badge{color:#337ab7;background-color:#fff}.panel-primary>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#337ab7}.panel-success{border-color:#d6e9c6}.panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.panel-success>.panel-heading+.panel-collapse>.panel-body{border-top-color:#d6e9c6}.panel-success>.panel-heading .badge{color:#dff0d8;background-color:#3c763d}.panel-success>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#d6e9c6}.panel-info{border-color:#bce8f1}.panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.panel-info>.panel-heading+.panel-collapse>.panel-body{border-top-color:#bce8f1}.panel-info>.panel-heading .badge{color:#d9edf7;background-color:#31708f}.panel-info>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#bce8f1}.panel-warning{border-color:#faebcc}.panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.panel-warning>.panel-heading+.panel-collapse>.panel-body{border-top-color:#faebcc}.panel-warning>.panel-heading .badge{color:#fcf8e3;background-color:#8a6d3b}.panel-warning>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#faebcc}.panel-danger{border-color:#ebccd1}.panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.panel-danger>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ebccd1}.panel-danger>.panel-heading .badge{color:#f2dede;background-color:#a94442}.panel-danger>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ebccd1}.embed-responsive{position:relative;display:block;height:0;padding:0;overflow:hidden}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}.embed-responsive-16by9{padding-bottom:56.25%}.embed-responsive-4by3{padding-bottom:75%}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,.15)}.well-lg{padding:24px;border-radius:6px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:21px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;filter:alpha(opacity=20);opacity:.2}.close:focus,.close:hover{color:#000;text-decoration:none;cursor:pointer;filter:alpha(opacity=50);opacity:.5}button.close{-webkit-appearance:none;padding:0;cursor:pointer;background:transparent;border:0}.modal,.modal-open{overflow:hidden}.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;display:none;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transition:-webkit-transform .3s ease-out;transition:transform .3s ease-out;-webkit-transform:translateY(-25%);transform:translateY(-25%)}.modal.in .modal-dialog{-webkit-transform:translate(0);transform:translate(0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;background-clip:padding-box;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;outline:0;box-shadow:0 3px 9px rgba(0,0,0,.5)}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{filter:alpha(opacity=0);opacity:0}.modal-backdrop.in{filter:alpha(opacity=50);opacity:.5}.modal-header{padding:15px;border-bottom:1px solid #e5e5e5}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.42857143}.modal-body{position:relative;padding:15px}.modal-footer{padding:15px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:768px){.modal-dialog{width:600px;margin:30px auto}.modal-content{box-shadow:0 5px 15px rgba(0,0,0,.5)}.modal-sm{width:300px}}@media (min-width:992px){.modal-lg{width:900px}}.tooltip{position:absolute;z-index:1070;display:block;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:12px;font-style:normal;font-weight:400;line-height:1.42857143;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;word-wrap:normal;white-space:normal;filter:alpha(opacity=0);opacity:0;line-break:auto}.tooltip.in{filter:alpha(opacity=90);opacity:.9}.tooltip.top{padding:5px 0;margin-top:-3px}.tooltip.right{padding:0 5px;margin-left:3px}.tooltip.bottom{padding:5px 0;margin-top:3px}.tooltip.left{padding:0 5px;margin-left:-3px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;background-color:#000;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-left .tooltip-arrow{right:5px}.tooltip.top-left .tooltip-arrow,.tooltip.top-right .tooltip-arrow{bottom:0;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-right .tooltip-arrow{left:5px}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-left .tooltip-arrow{top:0;right:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-right .tooltip-arrow{top:0;left:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.popover{position:absolute;top:0;left:0;z-index:1060;display:none;max-width:276px;padding:1px;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:1.42857143;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;word-wrap:normal;white-space:normal;background-color:#fff;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);border-radius:6px;box-shadow:0 5px 10px rgba(0,0,0,.2);line-break:auto}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{padding:8px 14px;margin:0;font-size:14px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.popover>.arrow,.popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover>.arrow{border-width:11px}.popover>.arrow:after{content:"";border-width:10px}.popover.top>.arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0,0,0,.25);border-bottom-width:0}.popover.top>.arrow:after{bottom:1px;margin-left:-10px;content:" ";border-top-color:#fff;border-bottom-width:0}.popover.right>.arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0,0,0,.25);border-left-width:0}.popover.right>.arrow:after{bottom:-10px;left:1px;content:" ";border-right-color:#fff;border-left-width:0}.popover.bottom>.arrow{top:-11px;left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,.25)}.popover.bottom>.arrow:after{top:1px;margin-left:-10px;content:" ";border-top-width:0;border-bottom-color:#fff}.popover.left>.arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:#999;border-left-color:rgba(0,0,0,.25)}.popover.left>.arrow:after{right:1px;bottom:-10px;content:" ";border-right-width:0;border-left-color:#fff}.carousel,.carousel-inner{position:relative}.carousel-inner{width:100%;overflow:hidden}.carousel-inner>.item{position:relative;display:none;-webkit-transition:left .6s ease-in-out;transition:left .6s ease-in-out}.carousel-inner>.item>a>img,.carousel-inner>.item>img{line-height:1}@media (-webkit-transform-3d),all and (transform-3d){.carousel-inner>.item{-webkit-transition:-webkit-transform .6s ease-in-out;transition:transform .6s ease-in-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000px;perspective:1000px}.carousel-inner>.item.active.right,.carousel-inner>.item.next{left:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}.carousel-inner>.item.active.left,.carousel-inner>.item.prev{left:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}.carousel-inner>.item.active,.carousel-inner>.item.next.left,.carousel-inner>.item.prev.right{left:0;-webkit-transform:translateZ(0);transform:translateZ(0)}}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6);background-color:transparent;filter:alpha(opacity=50);opacity:.5}.carousel-control.left{background-image:-webkit-linear-gradient(left,rgba(0,0,0,.5),rgba(0,0,0,.0001));background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,.0001)));background-image:linear-gradient(90deg,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001));filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\'#80000000\',endColorstr=\'#00000000\',GradientType=1);background-repeat:repeat-x}.carousel-control.right{right:0;left:auto;background-image:-webkit-linear-gradient(left,rgba(0,0,0,.0001),rgba(0,0,0,.5));background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.0001)),to(rgba(0,0,0,.5)));background-image:linear-gradient(90deg,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5));filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\'#00000000\',endColorstr=\'#80000000\',GradientType=1);background-repeat:repeat-x}.carousel-control:focus,.carousel-control:hover{color:#fff;text-decoration:none;filter:alpha(opacity=90);outline:0;opacity:.9}.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{position:absolute;top:50%;z-index:5;display:inline-block;margin-top:-10px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{left:50%;margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{right:50%;margin-right:-10px}.carousel-control .icon-next,.carousel-control .icon-prev{width:20px;height:20px;font-family:serif;line-height:1}.carousel-control .icon-prev:before{content:\'\\2039\'}.carousel-control .icon-next:before{content:\'\\203A\'}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:#000\\9;background-color:transparent;border:1px solid #fff;border-radius:10px}.carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}.carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{width:30px;height:30px;margin-top:-10px;font-size:30px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{margin-right:-10px}.carousel-caption{right:20%;left:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.btn-group-vertical>.btn-group:after,.btn-group-vertical>.btn-group:before,.btn-toolbar:after,.btn-toolbar:before,.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.dl-horizontal dd:after,.dl-horizontal dd:before,.form-horizontal .form-group:after,.form-horizontal .form-group:before,.modal-footer:after,.modal-footer:before,.modal-header:after,.modal-header:before,.nav:after,.nav:before,.navbar-collapse:after,.navbar-collapse:before,.navbar-header:after,.navbar-header:before,.navbar:after,.navbar:before,.pager:after,.pager:before,.panel-body:after,.panel-body:before,.row:after,.row:before{display:table;content:" "}.btn-group-vertical>.btn-group:after,.btn-toolbar:after,.clearfix:after,.container-fluid:after,.container:after,.dl-horizontal dd:after,.form-horizontal .form-group:after,.modal-footer:after,.modal-header:after,.nav:after,.navbar-collapse:after,.navbar-header:after,.navbar:after,.pager:after,.panel-body:after,.row:after{clear:both}.center-block{display:block;margin-right:auto;margin-left:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none!important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-lg,.visible-lg-block,.visible-lg-inline,.visible-lg-inline-block,.visible-md,.visible-md-block,.visible-md-inline,.visible-md-inline-block,.visible-sm,.visible-sm-block,.visible-sm-inline,.visible-sm-inline-block,.visible-xs,.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block{display:none!important}@media (max-width:767px){.visible-xs{display:block!important}table.visible-xs{display:table!important}tr.visible-xs{display:table-row!important}td.visible-xs,th.visible-xs{display:table-cell!important}}@media (max-width:767px){.visible-xs-block{display:block!important}}@media (max-width:767px){.visible-xs-inline{display:inline!important}}@media (max-width:767px){.visible-xs-inline-block{display:inline-block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table!important}tr.visible-sm{display:table-row!important}td.visible-sm,th.visible-sm{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-block{display:block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline{display:inline!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline-block{display:inline-block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table!important}tr.visible-md{display:table-row!important}td.visible-md,th.visible-md{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-block{display:block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline{display:inline!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline-block{display:inline-block!important}}@media (min-width:1200px){.visible-lg{display:block!important}table.visible-lg{display:table!important}tr.visible-lg{display:table-row!important}td.visible-lg,th.visible-lg{display:table-cell!important}}@media (min-width:1200px){.visible-lg-block{display:block!important}}@media (min-width:1200px){.visible-lg-inline{display:inline!important}}@media (min-width:1200px){.visible-lg-inline-block{display:inline-block!important}}@media (max-width:767px){.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-lg{display:none!important}}.visible-print{display:none!important}@media print{.visible-print{display:block!important}table.visible-print{display:table!important}tr.visible-print{display:table-row!important}td.visible-print,th.visible-print{display:table-cell!important}}.visible-print-block{display:none!important}@media print{.visible-print-block{display:block!important}}.visible-print-inline{display:none!important}@media print{.visible-print-inline{display:inline!important}}.visible-print-inline-block{display:none!important}@media print{.visible-print-inline-block{display:inline-block!important}}@media print{.hidden-print{display:none!important}}',""]); },function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;e=0&&N.splice(e,1)}function a(t){var e=document.createElement("style");return e.type="text/css",i(t,e),e}function l(t){var e=document.createElement("link");return e.rel="stylesheet",i(t,e),e}function s(t,e){var n,r,o;if(e.singleton){var i=I++;n=p||(p=a(e)),r=c.bind(null,n,i,!1),o=c.bind(null,n,i,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=l(e),r=g.bind(null,n),o=function(){A(n),n.href&&URL.revokeObjectURL(n.href)}):(n=a(e),r=u.bind(null,n),o=function(){A(n)});return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else o()}}function c(t,e,n,r){var o=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=T(e,o);else{var i=document.createTextNode(o),A=t.childNodes;A[e]&&t.removeChild(A[e]),A.length?t.insertBefore(i,A[e]):t.appendChild(i)}}function u(t,e){var n=e.css,r=e.media;if(r&&t.setAttribute("media",r),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}function g(t,e){var n=e.css,r=e.sourceMap;r&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var o=new Blob([n],{type:"text/css"}),i=t.href;t.href=URL.createObjectURL(o),i&&URL.revokeObjectURL(i)}var d={},M=function(t){var e;return function(){return"undefined"==typeof e&&(e=t.apply(this,arguments)),e}},f=M(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),h=M(function(){return document.head||document.getElementsByTagName("head")[0]}),p=null,I=0,N=[];t.exports=function(t,e){e=e||{},"undefined"==typeof e.singleton&&(e.singleton=f()),"undefined"==typeof e.insertAt&&(e.insertAt="bottom");var n=o(t);return r(n,e),function(t){for(var i=[],A=0;A1){for(var h=Array(f),p=0;p1){for(var N=Array(I),T=0;T>"),m={array:A("array"),bool:A("boolean"),func:A("function"),number:A("number"),object:A("object"),string:A("string"),symbol:A("symbol"),any:a(),arrayOf:l,element:s(),instanceOf:c,node:M(),objectOf:g,oneOf:u,oneOfType:d,shape:f};o.prototype=Error.prototype,t.exports=m},function(t,e){"use strict";var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";t.exports=n},function(t,e){"use strict";t.exports="15.4.1"},function(t,e,n){"use strict";function r(t){return i.isValidElement(t)?void 0:o("143"),t}var o=n(19),i=n(21);n(20);t.exports=r},function(t,e,n){"use strict";t.exports=n(42)},function(t,e,n){"use strict";var r=n(43),o=n(48),i=n(174),A=n(71),a=n(68),l=n(179),s=n(180),c=n(181),u=n(182);n(56);o.inject();var g={findDOMNode:s,render:i.render,unmountComponentAtNode:i.unmountComponentAtNode,version:l,unstable_batchedUpdates:a.batchedUpdates,unstable_renderSubtreeIntoContainer:u};"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject&&__REACT_DEVTOOLS_GLOBAL_HOOK__.inject({ComponentTree:{getClosestInstanceFromNode:r.getClosestInstanceFromNode,getNodeFromInstance:function(t){return t._renderedComponent&&(t=c(t)),t?r.getNodeFromInstance(t):null}},Mount:i,Reconciler:A});t.exports=g},function(t,e,n){"use strict";function r(t){for(var e;e=t._renderedComponent;)t=e;return t}function o(t,e){var n=r(t);n._hostNode=e,e[f]=n}function i(t){var e=t._hostNode;e&&(delete e[f],t._hostNode=null)}function A(t,e){if(!(t._flags&M.hasCachedChildNodes)){var n=t._renderedChildren,i=e.firstChild;t:for(var A in n)if(n.hasOwnProperty(A)){var a=n[A],l=r(a)._domID;if(0!==l){for(;null!==i;i=i.nextSibling)if(1===i.nodeType&&i.getAttribute(d)===String(l)||8===i.nodeType&&i.nodeValue===" react-text: "+l+" "||8===i.nodeType&&i.nodeValue===" react-empty: "+l+" "){o(a,i);continue t}c("32",l)}}t._flags|=M.hasCachedChildNodes}}function a(t){if(t[f])return t[f];for(var e=[];!t[f];){if(e.push(t),!t.parentNode)return null;t=t.parentNode}for(var n,r;t&&(r=t[f]);t=e.pop())n=r,e.length&&A(r,t);return n}function l(t){var e=a(t);return null!=e&&e._hostNode===t?e:null}function s(t){if(void 0===t._hostNode?c("33"):void 0,t._hostNode)return t._hostNode;for(var e=[];!t._hostNode;)e.push(t),t._hostParent?void 0:c("34"),t=t._hostParent;for(;e.length;t=e.pop())A(t,t._hostNode);return t._hostNode}var c=n(44),u=n(45),g=n(47),d=(n(46),u.ID_ATTRIBUTE_NAME),M=g,f="__reactInternalInstance$"+Math.random().toString(36).slice(2),h={getClosestInstanceFromNode:a,getInstanceFromNode:l,getNodeFromInstance:s,precacheChildNodes:A,precacheNode:o,uncacheNode:i};t.exports=h},function(t,e){"use strict";function n(t){for(var e=arguments.length-1,n="Minified React error #"+t+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+t,r=0;r8&&E<=11),C=32,D=String.fromCharCode(C),x={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["topCompositionEnd","topKeyPress","topTextInput","topPaste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:["topBlur","topCompositionEnd","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:["topBlur","topCompositionStart","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:["topBlur","topCompositionUpdate","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]}},m=!1,L=null,b={eventTypes:x,extractEvents:function(t,e,n,r){return[s(t,e,n,r),g(t,e,n,r)]}};t.exports=b},function(t,e,n){"use strict";function r(t,e,n){var r=e.dispatchConfig.phasedRegistrationNames[n];return p(t,r)}function o(t,e,n){var o=r(t,n,e);o&&(n._dispatchListeners=f(n._dispatchListeners,o),n._dispatchInstances=f(n._dispatchInstances,t))}function i(t){t&&t.dispatchConfig.phasedRegistrationNames&&M.traverseTwoPhase(t._targetInst,o,t)}function A(t){if(t&&t.dispatchConfig.phasedRegistrationNames){var e=t._targetInst,n=e?M.getParentInstance(e):null;M.traverseTwoPhase(n,o,t)}}function a(t,e,n){if(n&&n.dispatchConfig.registrationName){var r=n.dispatchConfig.registrationName,o=p(t,r);o&&(n._dispatchListeners=f(n._dispatchListeners,o),n._dispatchInstances=f(n._dispatchInstances,t))}}function l(t){t&&t.dispatchConfig.registrationName&&a(t._targetInst,null,t)}function s(t){h(t,i)}function c(t){h(t,A)}function u(t,e,n,r){M.traverseEnterLeave(n,r,a,t,e)}function g(t){h(t,l)}var d=n(52),M=n(54),f=n(58),h=n(59),p=(n(56),d.getListener),I={accumulateTwoPhaseDispatches:s,accumulateTwoPhaseDispatchesSkipTarget:c,accumulateDirectDispatches:g,accumulateEnterLeaveDispatches:u};t.exports=I},function(t,e,n){"use strict";function r(t){return"button"===t||"input"===t||"select"===t||"textarea"===t}function o(t,e,n){switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":return!(!n.disabled||!r(e));default:return!1}}var i=n(44),A=n(53),a=n(54),l=n(55),s=n(58),c=n(59),u=(n(46),{}),g=null,d=function(t,e){t&&(a.executeDispatchesInOrder(t,e),t.isPersistent()||t.constructor.release(t))},M=function(t){return d(t,!0)},f=function(t){return d(t,!1)},h=function(t){return"."+t._rootNodeID},p={injection:{injectEventPluginOrder:A.injectEventPluginOrder,injectEventPluginsByName:A.injectEventPluginsByName},putListener:function(t,e,n){"function"!=typeof n?i("94",e,typeof n):void 0;var r=h(t),o=u[e]||(u[e]={});o[r]=n;var a=A.registrationNameModules[e];a&&a.didPutListener&&a.didPutListener(t,e,n)},getListener:function(t,e){var n=u[e];if(o(e,t._currentElement.type,t._currentElement.props))return null;var r=h(t);return n&&n[r]},deleteListener:function(t,e){var n=A.registrationNameModules[e];n&&n.willDeleteListener&&n.willDeleteListener(t,e);var r=u[e];if(r){var o=h(t);delete r[o]}},deleteAllListeners:function(t){var e=h(t);for(var n in u)if(u.hasOwnProperty(n)&&u[n][e]){var r=A.registrationNameModules[n];r&&r.willDeleteListener&&r.willDeleteListener(t,n),delete u[n][e]}},extractEvents:function(t,e,n,r){for(var o,i=A.plugins,a=0;a-1?void 0:A("96",t),!s.plugins[n]){e.extractEvents?void 0:A("97",t),s.plugins[n]=e;var r=e.eventTypes;for(var i in r)o(r[i],e,i)?void 0:A("98",i,t)}}}function o(t,e,n){s.eventNameDispatchConfigs.hasOwnProperty(n)?A("99",n):void 0,s.eventNameDispatchConfigs[n]=t;var r=t.phasedRegistrationNames;if(r){for(var o in r)if(r.hasOwnProperty(o)){var a=r[o];i(a,e,n)}return!0}return!!t.registrationName&&(i(t.registrationName,e,n),!0)}function i(t,e,n){s.registrationNameModules[t]?A("100",t):void 0,s.registrationNameModules[t]=e,s.registrationNameDependencies[t]=e.eventTypes[n].dependencies}var A=n(44),a=(n(46),null),l={},s={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},possibleRegistrationNames:null,injectEventPluginOrder:function(t){a?A("101"):void 0,a=Array.prototype.slice.call(t),r()},injectEventPluginsByName:function(t){var e=!1;for(var n in t)if(t.hasOwnProperty(n)){var o=t[n];l.hasOwnProperty(n)&&l[n]===o||(l[n]?A("102",n):void 0,l[n]=o,e=!0)}e&&r()},getPluginModuleForEvent:function(t){var e=t.dispatchConfig;if(e.registrationName)return s.registrationNameModules[e.registrationName]||null;if(void 0!==e.phasedRegistrationNames){var n=e.phasedRegistrationNames;for(var r in n)if(n.hasOwnProperty(r)){var o=s.registrationNameModules[n[r]];if(o)return o}}return null},_resetEventPlugins:function(){a=null;for(var t in l)l.hasOwnProperty(t)&&delete l[t];s.plugins.length=0;var e=s.eventNameDispatchConfigs;for(var n in e)e.hasOwnProperty(n)&&delete e[n];var r=s.registrationNameModules;for(var o in r)r.hasOwnProperty(o)&&delete r[o]}};t.exports=s},function(t,e,n){"use strict";function r(t){return"topMouseUp"===t||"topTouchEnd"===t||"topTouchCancel"===t}function o(t){return"topMouseMove"===t||"topTouchMove"===t}function i(t){return"topMouseDown"===t||"topTouchStart"===t}function A(t,e,n,r){var o=t.type||"unknown-event";t.currentTarget=p.getNodeFromInstance(r),e?f.invokeGuardedCallbackWithCatch(o,n,t):f.invokeGuardedCallback(o,n,t),t.currentTarget=null}function a(t,e){var n=t._dispatchListeners,r=t._dispatchInstances;if(Array.isArray(n))for(var o=0;o1?1-e:void 0;return this._fallbackText=o.slice(t,a),this._fallbackText}}),i.addPoolingTo(r),t.exports=r},function(t,e,n){"use strict";var r=n(44),o=(n(46),function(t){var e=this;if(e.instancePool.length){var n=e.instancePool.pop();return e.call(n,t),n}return new e(t)}),i=function(t,e){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,t,e),r}return new n(t,e)},A=function(t,e,n){var r=this;if(r.instancePool.length){var o=r.instancePool.pop();return r.call(o,t,e,n),o}return new r(t,e,n)},a=function(t,e,n,r){var o=this;if(o.instancePool.length){var i=o.instancePool.pop();return o.call(i,t,e,n,r),i}return new o(t,e,n,r)},l=function(t,e,n,r,o){var i=this;if(i.instancePool.length){var A=i.instancePool.pop();return i.call(A,t,e,n,r,o),A}return new i(t,e,n,r,o)},s=function(t){var e=this;t instanceof e?void 0:r("25"),t.destructor(),e.instancePool.length8));var Q=!1;T.canUseDOM&&(Q=D("input")&&(!document.documentMode||document.documentMode>11));var S={get:function(){return B.get.call(this)},set:function(t){v=""+t,B.set.call(this,t)}},U={eventTypes:m,extractEvents:function(t,e,n,o){var i,A,a=e?E.getNodeFromInstance(e):window;if(r(a)?j?i=l:A=s:x(a)?Q?i=d:(i=f,A=M):h(a)&&(i=p),i){var c=i(t,e);if(c){var u=w.getPooled(m.change,c,n,o);return u.type="change",N.accumulateTwoPhaseDispatches(u),u}}A&&A(t,a,e)}};t.exports=U},function(t,e,n){"use strict";function r(){m.ReactReconcileTransaction&&E?void 0:c("123")}function o(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=g.getPooled(),this.reconcileTransaction=m.ReactReconcileTransaction.getPooled(!0)}function i(t,e,n,o,i,A){return r(),E.batchedUpdates(t,e,n,o,i,A)}function A(t,e){return t._mountOrder-e._mountOrder}function a(t){var e=t.dirtyComponentsLength;e!==p.length?c("124",e,p.length):void 0,p.sort(A),I++;for(var n=0;n]/,l=n(91),s=l(function(t,e){if(t.namespaceURI!==i.svg||"innerHTML"in t)t.innerHTML=e;else{r=r||document.createElement("div"),r.innerHTML=""+e+"";for(var n=r.firstChild;n.firstChild;)t.appendChild(n.firstChild)}});if(o.canUseDOM){var c=document.createElement("div");c.innerHTML=" ",""===c.innerHTML&&(s=function(t,e){if(t.parentNode&&t.parentNode.replaceChild(t,t),A.test(e)||"<"===e[0]&&a.test(e)){t.innerHTML=String.fromCharCode(65279)+e;var n=t.firstChild;1===n.data.length?t.removeChild(n):n.deleteData(0,1)}else t.innerHTML=e}),c=null}t.exports=s},function(t,e){"use strict";var n=function(t){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,n,r,o){MSApp.execUnsafeLocalFunction(function(){return t(e,n,r,o)})}:t};t.exports=n},function(t,e,n){"use strict";var r=n(60),o=n(93),i=n(90),A=function(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&3===n.nodeType)return void(n.nodeValue=e)}t.textContent=e};r.canUseDOM&&("textContent"in document.documentElement||(A=function(t,e){return 3===t.nodeType?void(t.nodeValue=e):void i(t,o(e))})),t.exports=A},function(t,e){"use strict";function n(t){var e=""+t,n=o.exec(e);if(!n)return e;var r,i="",A=0,a=0;for(A=n.index;A]/;t.exports=r},function(t,e,n){"use strict";var r=n(44),o=n(88),i=n(60),A=n(95),a=n(57),l=(n(46),{dangerouslyReplaceNodeWithMarkup:function(t,e){if(i.canUseDOM?void 0:r("56"),e?void 0:r("57"),"HTML"===t.nodeName?r("58"):void 0,"string"==typeof e){var n=A(e,a)[0];t.parentNode.replaceChild(n,t)}else o.replaceChildWithTree(t,e)}});t.exports=l},function(t,e,n){"use strict";function r(t){var e=t.match(c);return e&&e[1].toLowerCase()}function o(t,e){var n=s;s?void 0:l(!1);var o=r(t),i=o&&a(o);if(i){n.innerHTML=i[1]+t+i[2];for(var c=i[0];c--;)n=n.lastChild}else n.innerHTML=t;var u=n.getElementsByTagName("script");u.length&&(e?void 0:l(!1),A(u).forEach(e));for(var g=Array.from(n.childNodes);n.lastChild;)n.removeChild(n.lastChild);return g}var i=n(60),A=n(96),a=n(97),l=n(46),s=i.canUseDOM?document.createElement("div"):null,c=/^\s*<(\w+)/;t.exports=o},function(t,e,n){"use strict";function r(t){var e=t.length;if(Array.isArray(t)||"object"!=typeof t&&"function"!=typeof t?A(!1):void 0,"number"!=typeof e?A(!1):void 0,0===e||e-1 in t?void 0:A(!1),"function"==typeof t.callee?A(!1):void 0,t.hasOwnProperty)try{return Array.prototype.slice.call(t)}catch(t){}for(var n=Array(e),r=0;r":A.innerHTML="<"+t+">",a[t]=!A.firstChild),a[t]?g[t]:null}var o=n(60),i=n(46),A=o.canUseDOM?document.createElement("div"):null,a={},l=[1,'"],s=[1,"","
"],c=[3,"","
"],u=[1,'',""],g={"*":[1,"?
","
"],area:[1,"",""],col:[2,"","
"],legend:[1,"
","
"],param:[1,"",""],tr:[2,"","
"],optgroup:l,option:l,caption:s,colgroup:s,tbody:s,tfoot:s,thead:s,td:c,th:c},d=["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"];d.forEach(function(t){g[t]=u,a[t]=!0}),t.exports=r},function(t,e,n){"use strict";var r=n(87),o=n(43),i={dangerouslyProcessChildrenUpdates:function(t,e){var n=o.getNodeFromInstance(t);r.processUpdates(n,e)}};t.exports=i},function(t,e,n){"use strict";function r(t){if(t){var e=t._currentElement._owner||null;if(e){var n=e.getName();if(n)return" This DOM node was rendered by `"+n+"`."}}return""}function o(t,e){e&&(J[t._tag]&&(null!=e.children||null!=e.dangerouslySetInnerHTML?f("137",t._tag,t._currentElement._owner?" Check the render method of "+t._currentElement._owner.getName()+".":""):void 0),null!=e.dangerouslySetInnerHTML&&(null!=e.children?f("60"):void 0,"object"==typeof e.dangerouslySetInnerHTML&&H in e.dangerouslySetInnerHTML?void 0:f("61")),null!=e.style&&"object"!=typeof e.style?f("62",r(t)):void 0)}function i(t,e,n,r){if(!(r instanceof Q)){var o=t._hostContainerInfo,i=o._node&&o._node.nodeType===G,a=i?o._node:o._ownerDocument;O(e,a),r.getReactMountReady().enqueue(A,{inst:t,registrationName:e,listener:n})}}function A(){var t=this;w.putListener(t.inst,t.registrationName,t.listener)}function a(){var t=this;L.postMountWrapper(t)}function l(){var t=this;B.postMountWrapper(t)}function s(){var t=this;b.postMountWrapper(t)}function c(){var t=this;t._rootNodeID?void 0:f("63");var e=k(t);switch(e?void 0:f("64"),t._tag){case"iframe":case"object":t._wrapperState.listeners=[D.trapBubbledEvent("topLoad","load",e)];break;case"video":case"audio":t._wrapperState.listeners=[];for(var n in P)P.hasOwnProperty(n)&&t._wrapperState.listeners.push(D.trapBubbledEvent(n,P[n],e));break;case"source":t._wrapperState.listeners=[D.trapBubbledEvent("topError","error",e)];break;case"img":t._wrapperState.listeners=[D.trapBubbledEvent("topError","error",e),D.trapBubbledEvent("topLoad","load",e)];break;case"form":t._wrapperState.listeners=[D.trapBubbledEvent("topReset","reset",e),D.trapBubbledEvent("topSubmit","submit",e)];break;case"input":case"select":case"textarea":t._wrapperState.listeners=[D.trapBubbledEvent("topInvalid","invalid",e)]}}function u(){v.postUpdateWrapper(this)}function g(t){_.call(K,t)||(Z.test(t)?void 0:f("65",t),K[t]=!0)}function d(t,e){return t.indexOf("-")>=0||null!=e.is}function M(t){var e=t.type;g(e),this._currentElement=t,this._tag=e.toLowerCase(),this._namespaceURI=null, this._renderedChildren=null,this._previousStyle=null,this._previousStyleCopy=null,this._hostNode=null,this._hostParent=null,this._rootNodeID=0,this._domID=0,this._hostContainerInfo=null,this._wrapperState=null,this._topLevelWrapper=null,this._flags=0}var f=n(44),h=n(16),p=n(100),I=n(102),N=n(88),T=n(89),E=n(45),y=n(110),w=n(52),C=n(53),D=n(112),x=n(47),m=n(43),L=n(115),b=n(118),v=n(119),B=n(120),j=(n(74),n(121)),Q=n(141),S=(n(57),n(93)),U=(n(46),n(77),n(130),n(144),n(56),x),z=w.deleteListener,k=m.getNodeFromInstance,O=D.listenTo,Y=C.registrationNameModules,R={string:!0,number:!0},F="style",H="__html",V={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null},G=11,P={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"},X={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},W={listing:!0,pre:!0,textarea:!0},J=h({menuitem:!0},X),Z=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,K={},_={}.hasOwnProperty,q=1;M.displayName="ReactDOMComponent",M.Mixin={mountComponent:function(t,e,n,r){this._rootNodeID=q++,this._domID=n._idCounter++,this._hostParent=e,this._hostContainerInfo=n;var i=this._currentElement.props;switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":this._wrapperState={listeners:null},t.getReactMountReady().enqueue(c,this);break;case"input":L.mountWrapper(this,i,e),i=L.getHostProps(this,i),t.getReactMountReady().enqueue(c,this);break;case"option":b.mountWrapper(this,i,e),i=b.getHostProps(this,i);break;case"select":v.mountWrapper(this,i,e),i=v.getHostProps(this,i),t.getReactMountReady().enqueue(c,this);break;case"textarea":B.mountWrapper(this,i,e),i=B.getHostProps(this,i),t.getReactMountReady().enqueue(c,this)}o(this,i);var A,u;null!=e?(A=e._namespaceURI,u=e._tag):n._tag&&(A=n._namespaceURI,u=n._tag),(null==A||A===T.svg&&"foreignobject"===u)&&(A=T.html),A===T.html&&("svg"===this._tag?A=T.svg:"math"===this._tag&&(A=T.mathml)),this._namespaceURI=A;var g;if(t.useCreateElement){var d,M=n._ownerDocument;if(A===T.html)if("script"===this._tag){var f=M.createElement("div"),h=this._currentElement.type;f.innerHTML="<"+h+">",d=f.removeChild(f.firstChild)}else d=i.is?M.createElement(this._currentElement.type,i.is):M.createElement(this._currentElement.type);else d=M.createElementNS(A,this._currentElement.type);m.precacheNode(this,d),this._flags|=U.hasCachedChildNodes,this._hostParent||y.setAttributeForRoot(d),this._updateDOMProperties(null,i,t);var I=N(d);this._createInitialChildren(t,i,r,I),g=I}else{var E=this._createOpenTagMarkupAndPutListeners(t,i),w=this._createContentMarkup(t,i,r);g=!w&&X[this._tag]?E+"/>":E+">"+w+""}switch(this._tag){case"input":t.getReactMountReady().enqueue(a,this),i.autoFocus&&t.getReactMountReady().enqueue(p.focusDOMComponent,this);break;case"textarea":t.getReactMountReady().enqueue(l,this),i.autoFocus&&t.getReactMountReady().enqueue(p.focusDOMComponent,this);break;case"select":i.autoFocus&&t.getReactMountReady().enqueue(p.focusDOMComponent,this);break;case"button":i.autoFocus&&t.getReactMountReady().enqueue(p.focusDOMComponent,this);break;case"option":t.getReactMountReady().enqueue(s,this)}return g},_createOpenTagMarkupAndPutListeners:function(t,e){var n="<"+this._currentElement.type;for(var r in e)if(e.hasOwnProperty(r)){var o=e[r];if(null!=o)if(Y.hasOwnProperty(r))o&&i(this,r,o,t);else{r===F&&(o&&(o=this._previousStyleCopy=h({},e.style)),o=I.createMarkupForStyles(o,this));var A=null;null!=this._tag&&d(this._tag,e)?V.hasOwnProperty(r)||(A=y.createMarkupForCustomAttribute(r,o)):A=y.createMarkupForProperty(r,o),A&&(n+=" "+A)}}return t.renderToStaticMarkup?n:(this._hostParent||(n+=" "+y.createMarkupForRoot()),n+=" "+y.createMarkupForID(this._domID))},_createContentMarkup:function(t,e,n){var r="",o=e.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&(r=o.__html);else{var i=R[typeof e.children]?e.children:null,A=null!=i?null:e.children;if(null!=i)r=S(i);else if(null!=A){var a=this.mountChildren(A,t,n);r=a.join("")}}return W[this._tag]&&"\n"===r.charAt(0)?"\n"+r:r},_createInitialChildren:function(t,e,n,r){var o=e.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&N.queueHTML(r,o.__html);else{var i=R[typeof e.children]?e.children:null,A=null!=i?null:e.children;if(null!=i)N.queueText(r,i);else if(null!=A)for(var a=this.mountChildren(A,t,n),l=0;l1)for(var n=1;n0&&r.length<20?n+" (keys: "+r.join(", ")+")":n}function i(t,e){var n=a.get(t);if(!n){return null}return n}var A=n(44),a=(n(22),n(123)),l=(n(74),n(68)),s=(n(46),n(56),{isMounted:function(t){var e=a.get(t);return!!e&&!!e._renderedComponent},enqueueCallback:function(t,e,n){s.validateCallback(e,n);var o=i(t);return o?(o._pendingCallbacks?o._pendingCallbacks.push(e):o._pendingCallbacks=[e],void r(o)):null},enqueueCallbackInternal:function(t,e){t._pendingCallbacks?t._pendingCallbacks.push(e):t._pendingCallbacks=[e],r(t)},enqueueForceUpdate:function(t){var e=i(t,"forceUpdate");e&&(e._pendingForceUpdate=!0,r(e))},enqueueReplaceState:function(t,e){var n=i(t,"replaceState");n&&(n._pendingStateQueue=[e],n._pendingReplaceState=!0,r(n))},enqueueSetState:function(t,e){var n=i(t,"setState");if(n){var o=n._pendingStateQueue||(n._pendingStateQueue=[]);o.push(e),r(n)}},enqueueElementInternal:function(t,e,n){t._pendingElement=e,t._context=n,r(t)},validateCallback:function(t,e){t&&"function"!=typeof t?A("122",e,o(t)):void 0}});t.exports=s},function(t,e,n){"use strict";var r=(n(16),n(57)),o=(n(56),r);t.exports=o},function(t,e,n){"use strict";var r=n(16),o=n(88),i=n(43),A=function(t){this._currentElement=null,this._hostNode=null,this._hostParent=null,this._hostContainerInfo=null,this._domID=0};r(A.prototype,{mountComponent:function(t,e,n,r){var A=n._idCounter++;this._domID=A,this._hostParent=e,this._hostContainerInfo=n;var a=" react-empty: "+this._domID+" ";if(t.useCreateElement){var l=n._ownerDocument,s=l.createComment(a);return i.precacheNode(this,s),o(s)}return t.renderToStaticMarkup?"":""},receiveComponent:function(){},getHostNode:function(){return i.getNodeFromInstance(this)},unmountComponent:function(){i.uncacheNode(this)}}),t.exports=A},function(t,e,n){"use strict";function r(t,e){"_hostNode"in t?void 0:l("33"),"_hostNode"in e?void 0:l("33");for(var n=0,r=t;r;r=r._hostParent)n++;for(var o=0,i=e;i;i=i._hostParent)o++;for(;n-o>0;)t=t._hostParent,n--;for(;o-n>0;)e=e._hostParent,o--;for(var A=n;A--;){if(t===e)return t;t=t._hostParent,e=e._hostParent}return null}function o(t,e){"_hostNode"in t?void 0:l("35"),"_hostNode"in e?void 0:l("35");for(;e;){if(e===t)return!0;e=e._hostParent}return!1}function i(t){return"_hostNode"in t?void 0:l("36"),t._hostParent}function A(t,e,n){for(var r=[];t;)r.push(t),t=t._hostParent;var o;for(o=r.length;o-- >0;)e(r[o],"captured",n);for(o=0;o0;)n(l[s],"captured",i)}var l=n(44);n(46);t.exports={isAncestor:o,getLowestCommonAncestor:r,getParentInstance:i,traverseTwoPhase:A,traverseEnterLeave:a}},function(t,e,n){"use strict";var r=n(44),o=n(16),i=n(87),A=n(88),a=n(43),l=n(93),s=(n(46),n(144),function(t){this._currentElement=t,this._stringText=""+t,this._hostNode=null,this._hostParent=null,this._domID=0,this._mountIndex=0,this._closingComment=null,this._commentNodes=null});o(s.prototype,{mountComponent:function(t,e,n,r){var o=n._idCounter++,i=" react-text: "+o+" ",s=" /react-text ";if(this._domID=o,this._hostParent=e,t.useCreateElement){var c=n._ownerDocument,u=c.createComment(i),g=c.createComment(s),d=A(c.createDocumentFragment());return A.queueChild(d,A(u)),this._stringText&&A.queueChild(d,A(c.createTextNode(this._stringText))),A.queueChild(d,A(g)),a.precacheNode(this,u),this._closingComment=g,d}var M=l(this._stringText);return t.renderToStaticMarkup?M:""+M+""},receiveComponent:function(t,e){if(t!==this._currentElement){this._currentElement=t;var n=""+t;if(n!==this._stringText){this._stringText=n;var r=this.getHostNode();i.replaceDelimitedText(r[0],r[1],n)}}},getHostNode:function(){var t=this._commentNodes;if(t)return t;if(!this._closingComment)for(var e=a.getNodeFromInstance(this),n=e.nextSibling;;){if(null==n?r("67",this._domID):void 0,8===n.nodeType&&" /react-text "===n.nodeValue){this._closingComment=n;break}n=n.nextSibling}return t=[this._hostNode,this._closingComment],this._commentNodes=t,t},unmountComponent:function(){this._closingComment=null,this._commentNodes=null,a.uncacheNode(this)}}),t.exports=s},function(t,e,n){"use strict";function r(){this.reinitializeTransaction()}var o=n(16),i=n(68),A=n(75),a=n(57),l={initialize:a,close:function(){g.isBatchingUpdates=!1}},s={initialize:a,close:i.flushBatchedUpdates.bind(i)},c=[s,l];o(r.prototype,A,{getTransactionWrappers:function(){return c}});var u=new r,g={isBatchingUpdates:!1,batchedUpdates:function(t,e,n,r,o,i){var A=g.isBatchingUpdates;return g.isBatchingUpdates=!0,A?t(e,n,r,o,i):u.perform(t,null,e,n,r,o,i)}};t.exports=g},function(t,e,n){"use strict";function r(t){for(;t._hostParent;)t=t._hostParent;var e=u.getNodeFromInstance(t),n=e.parentNode;return u.getClosestInstanceFromNode(n)}function o(t,e){this.topLevelType=t,this.nativeEvent=e,this.ancestors=[]}function i(t){var e=d(t.nativeEvent),n=u.getClosestInstanceFromNode(e),o=n;do t.ancestors.push(o),o=o&&r(o);while(o);for(var i=0;ie.end?(n=e.end,r=e.start):(n=e.start,r=e.end),o.moveToElementText(t),o.moveStart("character",n),o.setEndPoint("EndToStart",o),o.moveEnd("character",r-n),o.select()}function a(t,e){if(window.getSelection){var n=window.getSelection(),r=t[c()].length,o=Math.min(e.start,r),i=void 0===e.end?o:Math.min(e.end,r);if(!n.extend&&o>i){var A=i;i=o,o=A}var a=s(t,o),l=s(t,i);if(a&&l){var u=document.createRange();u.setStart(a.node,a.offset),n.removeAllRanges(),o>i?(n.addRange(u),n.extend(l.node,l.offset)):(u.setEnd(l.node,l.offset),n.addRange(u))}}}var l=n(60),s=n(156),c=n(63),u=l.canUseDOM&&"selection"in document&&!("getSelection"in window),g={getOffsets:u?o:i,setOffsets:u?A:a};t.exports=g},function(t,e){"use strict";function n(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function r(t){for(;t;){if(t.nextSibling)return t.nextSibling;t=t.parentNode}}function o(t,e){for(var o=n(t),i=0,A=0;o;){if(3===o.nodeType){if(A=i+o.textContent.length,i<=e&&A>=e)return{node:o,offset:e-i};i=A}o=n(r(o))}}t.exports=o},function(t,e,n){"use strict";function r(t,e){return!(!t||!e)&&(t===e||!o(t)&&(o(e)?r(t,e.parentNode):"contains"in t?t.contains(e):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(e))))}var o=n(158);t.exports=r},function(t,e,n){"use strict";function r(t){return o(t)&&3==t.nodeType}var o=n(159);t.exports=r},function(t,e){"use strict";function n(t){return!(!t||!("function"==typeof Node?t instanceof Node:"object"==typeof t&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName))}t.exports=n},function(t,e){"use strict";function n(){if("undefined"==typeof document)return null;try{return document.activeElement||document.body}catch(t){return document.body}}t.exports=n},function(t,e){"use strict";var n={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},r={accentHeight:"accent-height",accumulate:0,additive:0,alignmentBaseline:"alignment-baseline",allowReorder:"allowReorder",alphabetic:0,amplitude:0,arabicForm:"arabic-form",ascent:0,attributeName:"attributeName",attributeType:"attributeType",autoReverse:"autoReverse",azimuth:0,baseFrequency:"baseFrequency",baseProfile:"baseProfile",baselineShift:"baseline-shift",bbox:0,begin:0,bias:0,by:0,calcMode:"calcMode",capHeight:"cap-height",clip:0,clipPath:"clip-path",clipRule:"clip-rule",clipPathUnits:"clipPathUnits",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",contentScriptType:"contentScriptType",contentStyleType:"contentStyleType",cursor:0,cx:0,cy:0,d:0,decelerate:0,descent:0,diffuseConstant:"diffuseConstant",direction:0,display:0,divisor:0,dominantBaseline:"dominant-baseline",dur:0,dx:0,dy:0,edgeMode:"edgeMode",elevation:0,enableBackground:"enable-background",end:0,exponent:0,externalResourcesRequired:"externalResourcesRequired",fill:0,fillOpacity:"fill-opacity",fillRule:"fill-rule",filter:0,filterRes:"filterRes",filterUnits:"filterUnits",floodColor:"flood-color",floodOpacity:"flood-opacity",focusable:0,fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",glyphRef:"glyphRef",gradientTransform:"gradientTransform",gradientUnits:"gradientUnits",hanging:0,horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",ideographic:0,imageRendering:"image-rendering",in:0,in2:0,intercept:0,k:0,k1:0,k2:0,k3:0,k4:0,kernelMatrix:"kernelMatrix",kernelUnitLength:"kernelUnitLength",kerning:0,keyPoints:"keyPoints",keySplines:"keySplines",keyTimes:"keyTimes",lengthAdjust:"lengthAdjust",letterSpacing:"letter-spacing",lightingColor:"lighting-color",limitingConeAngle:"limitingConeAngle",local:0,markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",markerHeight:"markerHeight",markerUnits:"markerUnits",markerWidth:"markerWidth",mask:0,maskContentUnits:"maskContentUnits",maskUnits:"maskUnits",mathematical:0,mode:0,numOctaves:"numOctaves",offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pathLength:"pathLength",patternContentUnits:"patternContentUnits",patternTransform:"patternTransform",patternUnits:"patternUnits",pointerEvents:"pointer-events",points:0,pointsAtX:"pointsAtX",pointsAtY:"pointsAtY",pointsAtZ:"pointsAtZ",preserveAlpha:"preserveAlpha",preserveAspectRatio:"preserveAspectRatio",primitiveUnits:"primitiveUnits",r:0,radius:0,refX:"refX",refY:"refY",renderingIntent:"rendering-intent",repeatCount:"repeatCount",repeatDur:"repeatDur",requiredExtensions:"requiredExtensions",requiredFeatures:"requiredFeatures",restart:0,result:0,rotate:0,rx:0,ry:0,scale:0,seed:0,shapeRendering:"shape-rendering",slope:0,spacing:0,specularConstant:"specularConstant",specularExponent:"specularExponent",speed:0,spreadMethod:"spreadMethod",startOffset:"startOffset",stdDeviation:"stdDeviation",stemh:0,stemv:0,stitchTiles:"stitchTiles",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",string:0,stroke:0,strokeDasharray:"stroke-dasharray",strokeDashoffset:"stroke-dashoffset",strokeLinecap:"stroke-linecap",strokeLinejoin:"stroke-linejoin",strokeMiterlimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",surfaceScale:"surfaceScale",systemLanguage:"systemLanguage",tableValues:"tableValues",targetX:"targetX",targetY:"targetY",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",textLength:"textLength",to:0,transform:0,u1:0,u2:0,underlinePosition:"underline-position", underlineThickness:"underline-thickness",unicode:0,unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",values:0,vectorEffect:"vector-effect",version:0,vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",viewBox:"viewBox",viewTarget:"viewTarget",visibility:0,widths:0,wordSpacing:"word-spacing",writingMode:"writing-mode",x:0,xHeight:"x-height",x1:0,x2:0,xChannelSelector:"xChannelSelector",xlinkActuate:"xlink:actuate",xlinkArcrole:"xlink:arcrole",xlinkHref:"xlink:href",xlinkRole:"xlink:role",xlinkShow:"xlink:show",xlinkTitle:"xlink:title",xlinkType:"xlink:type",xmlBase:"xml:base",xmlns:0,xmlnsXlink:"xmlns:xlink",xmlLang:"xml:lang",xmlSpace:"xml:space",y:0,y1:0,y2:0,yChannelSelector:"yChannelSelector",z:0,zoomAndPan:"zoomAndPan"},o={Properties:{},DOMAttributeNamespaces:{xlinkActuate:n.xlink,xlinkArcrole:n.xlink,xlinkHref:n.xlink,xlinkRole:n.xlink,xlinkShow:n.xlink,xlinkTitle:n.xlink,xlinkType:n.xlink,xmlBase:n.xml,xmlLang:n.xml,xmlSpace:n.xml},DOMAttributeNames:{}};Object.keys(r).forEach(function(t){o.Properties[t]=0,r[t]&&(o.DOMAttributeNames[t]=r[t])}),t.exports=o},function(t,e,n){"use strict";function r(t){if("selectionStart"in t&&l.hasSelectionCapabilities(t))return{start:t.selectionStart,end:t.selectionEnd};if(window.getSelection){var e=window.getSelection();return{anchorNode:e.anchorNode,anchorOffset:e.anchorOffset,focusNode:e.focusNode,focusOffset:e.focusOffset}}if(document.selection){var n=document.selection.createRange();return{parentElement:n.parentElement(),text:n.text,top:n.boundingTop,left:n.boundingLeft}}}function o(t,e){if(I||null==f||f!==c())return null;var n=r(f);if(!p||!g(p,n)){p=n;var o=s.getPooled(M.select,h,t,e);return o.type="select",o.target=f,i.accumulateTwoPhaseDispatches(o),o}return null}var i=n(51),A=n(60),a=n(43),l=n(154),s=n(65),c=n(160),u=n(78),g=n(130),d=A.canUseDOM&&"documentMode"in document&&document.documentMode<=11,M={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:["topBlur","topContextMenu","topFocus","topKeyDown","topKeyUp","topMouseDown","topMouseUp","topSelectionChange"]}},f=null,h=null,p=null,I=!1,N=!1,T={eventTypes:M,extractEvents:function(t,e,n,r){if(!N)return null;var i=e?a.getNodeFromInstance(e):window;switch(t){case"topFocus":(u(i)||"true"===i.contentEditable)&&(f=i,h=e,p=null);break;case"topBlur":f=null,h=null,p=null;break;case"topMouseDown":I=!0;break;case"topContextMenu":case"topMouseUp":return I=!1,o(n,r);case"topSelectionChange":if(d)break;case"topKeyDown":case"topKeyUp":return o(n,r)}return null},didPutListener:function(t,e,n){"onSelect"===e&&(N=!0)}};t.exports=T},function(t,e,n){"use strict";function r(t){return"."+t._rootNodeID}function o(t){return"button"===t||"input"===t||"select"===t||"textarea"===t}var i=n(44),A=n(150),a=n(51),l=n(43),s=n(164),c=n(165),u=n(65),g=n(166),d=n(167),M=n(81),f=n(170),h=n(171),p=n(172),I=n(82),N=n(173),T=n(57),E=n(168),y=(n(46),{}),w={};["abort","animationEnd","animationIteration","animationStart","blur","canPlay","canPlayThrough","click","contextMenu","copy","cut","doubleClick","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","focus","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","progress","rateChange","reset","scroll","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchMove","touchStart","transitionEnd","volumeChange","waiting","wheel"].forEach(function(t){var e=t[0].toUpperCase()+t.slice(1),n="on"+e,r="top"+e,o={phasedRegistrationNames:{bubbled:n,captured:n+"Capture"},dependencies:[r]};y[t]=o,w[r]=o});var C={},D={eventTypes:y,extractEvents:function(t,e,n,r){var o=w[t];if(!o)return null;var A;switch(t){case"topAbort":case"topCanPlay":case"topCanPlayThrough":case"topDurationChange":case"topEmptied":case"topEncrypted":case"topEnded":case"topError":case"topInput":case"topInvalid":case"topLoad":case"topLoadedData":case"topLoadedMetadata":case"topLoadStart":case"topPause":case"topPlay":case"topPlaying":case"topProgress":case"topRateChange":case"topReset":case"topSeeked":case"topSeeking":case"topStalled":case"topSubmit":case"topSuspend":case"topTimeUpdate":case"topVolumeChange":case"topWaiting":A=u;break;case"topKeyPress":if(0===E(n))return null;case"topKeyDown":case"topKeyUp":A=d;break;case"topBlur":case"topFocus":A=g;break;case"topClick":if(2===n.button)return null;case"topDoubleClick":case"topMouseDown":case"topMouseMove":case"topMouseUp":case"topMouseOut":case"topMouseOver":case"topContextMenu":A=M;break;case"topDrag":case"topDragEnd":case"topDragEnter":case"topDragExit":case"topDragLeave":case"topDragOver":case"topDragStart":case"topDrop":A=f;break;case"topTouchCancel":case"topTouchEnd":case"topTouchMove":case"topTouchStart":A=h;break;case"topAnimationEnd":case"topAnimationIteration":case"topAnimationStart":A=s;break;case"topTransitionEnd":A=p;break;case"topScroll":A=I;break;case"topWheel":A=N;break;case"topCopy":case"topCut":case"topPaste":A=c}A?void 0:i("86",t);var l=A.getPooled(o,e,n,r);return a.accumulateTwoPhaseDispatches(l),l},didPutListener:function(t,e,n){if("onClick"===e&&!o(t._tag)){var i=r(t),a=l.getNodeFromInstance(t);C[i]||(C[i]=A.listen(a,"click",T))}},willDeleteListener:function(t,e){if("onClick"===e&&!o(t._tag)){var n=r(t);C[n].remove(),delete C[n]}}};t.exports=D},function(t,e,n){"use strict";function r(t,e,n,r){return o.call(this,t,e,n,r)}var o=n(65),i={animationName:null,elapsedTime:null,pseudoElement:null};o.augmentClass(r,i),t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){return o.call(this,t,e,n,r)}var o=n(65),i={clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}};o.augmentClass(r,i),t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){return o.call(this,t,e,n,r)}var o=n(82),i={relatedTarget:null};o.augmentClass(r,i),t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){return o.call(this,t,e,n,r)}var o=n(82),i=n(168),A=n(169),a=n(84),l={key:A,location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:a,charCode:function(t){return"keypress"===t.type?i(t):0},keyCode:function(t){return"keydown"===t.type||"keyup"===t.type?t.keyCode:0},which:function(t){return"keypress"===t.type?i(t):"keydown"===t.type||"keyup"===t.type?t.keyCode:0}};o.augmentClass(r,l),t.exports=r},function(t,e){"use strict";function n(t){var e,n=t.keyCode;return"charCode"in t?(e=t.charCode,0===e&&13===n&&(e=13)):e=n,e>=32||13===e?e:0}t.exports=n},function(t,e,n){"use strict";function r(t){if(t.key){var e=i[t.key]||t.key;if("Unidentified"!==e)return e}if("keypress"===t.type){var n=o(t);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===t.type||"keyup"===t.type?A[t.keyCode]||"Unidentified":""}var o=n(168),i={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},A={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){return o.call(this,t,e,n,r)}var o=n(81),i={dataTransfer:null};o.augmentClass(r,i),t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){return o.call(this,t,e,n,r)}var o=n(82),i=n(84),A={touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:i};o.augmentClass(r,A),t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){return o.call(this,t,e,n,r)}var o=n(65),i={propertyName:null,elapsedTime:null,pseudoElement:null};o.augmentClass(r,i),t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){return o.call(this,t,e,n,r)}var o=n(81),i={deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:null,deltaMode:null};o.augmentClass(r,i),t.exports=r},function(t,e,n){"use strict";function r(t,e){for(var n=Math.min(t.length,e.length),r=0;r.":"function"==typeof e?" Instead of passing a class like Foo, pass React.createElement(Foo) or .":null!=e&&void 0!==e.props?" This may be caused by unintentionally loading two independent copies of React.":"");var A,a=h.createElement(O,{child:e});if(t){var l=y.get(t);A=l._processChildContext(l._context)}else A=m;var c=g(n);if(c){var u=c._currentElement,M=u.props.child;if(v(M,e)){var f=c._renderedComponent.getPublicInstance(),p=r&&function(){r.call(f)};return Y._updateRootComponent(c,a,A,n,p),f}Y.unmountComponentAtNode(n)}var I=o(n),N=I&&!!i(I),T=s(n),E=N&&!c&&!T,w=Y._renderNewRootComponent(a,n,E,A)._renderedComponent.getPublicInstance();return r&&r.call(w),w},render:function(t,e,n){return Y._renderSubtreeIntoContainer(null,t,e,n)},unmountComponentAtNode:function(t){c(t)?void 0:d("40");var e=g(t);if(!e){s(t),1===t.nodeType&&t.hasAttribute(j);return!1}return delete z[e._instance.rootID],x.batchedUpdates(l,e,t,!1),!0},_mountImageIntoNode:function(t,e,n,i,A){if(c(e)?void 0:d("41"),i){var a=o(e);if(w.canReuseMarkup(t,a))return void I.precacheNode(n,a);var l=a.getAttribute(w.CHECKSUM_ATTR_NAME);a.removeAttribute(w.CHECKSUM_ATTR_NAME);var s=a.outerHTML;a.setAttribute(w.CHECKSUM_ATTR_NAME,l);var u=t,g=r(u,s),f=" (client) "+u.substring(g-20,g+20)+"\n (server) "+s.substring(g-20,g+20);e.nodeType===S?d("42",f):void 0}if(e.nodeType===S?d("43"):void 0,A.useCreateElement){for(;e.lastChild;)e.removeChild(e.lastChild);M.insertTreeBefore(e,t,null)}else b(e,t),I.precacheNode(n,e.firstChild)}};t.exports=Y},function(t,e,n){"use strict";function r(t,e){var n={_topLevelWrapper:t,_idCounter:1,_ownerDocument:e?e.nodeType===o?e:e.ownerDocument:null,_node:e,_tag:e?e.nodeName.toLowerCase():null,_namespaceURI:e?e.namespaceURI:null};return n}var o=(n(144),9);t.exports=r},function(t,e){"use strict";var n={useCreateElement:!0,useFiber:!1};t.exports=n},function(t,e,n){"use strict";var r=n(178),o=/\/?>/,i=/^<\!\-\-/,A={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(t){var e=r(t);return i.test(t)?t:t.replace(o," "+A.CHECKSUM_ATTR_NAME+'="'+e+'"$&')},canReuseMarkup:function(t,e){var n=e.getAttribute(A.CHECKSUM_ATTR_NAME);n=n&&parseInt(n,10);var o=r(t);return o===n}};t.exports=A},function(t,e){"use strict";function n(t){for(var e=1,n=0,o=0,i=t.length,A=i&-4;o服务端错误:"+t.responseText+""):bootbox.alert("服务端出错")}})}function i(t,e){if("number"==typeof t&&(t=new Date(t)),"string"==typeof t)return t;var n={"M+":t.getMonth()+1,"d+":t.getDate(),"H+":t.getHours(),"m+":t.getMinutes(),"s+":t.getSeconds()};/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length)));for(var r in n)new RegExp("("+r+")").test(e)&&(e=e.replace(RegExp.$1,1==RegExp.$1.length?n[r]:("00"+n[r]).substr((""+n[r]).length)));return e}Object.defineProperty(e,"__esModule",{value:!0}),e.nextIFrameId=n,e.getParameter=r,e.ajaxSave=o,e.formatDate=i,window.iframe_id_=1},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(){var t="_ui_"+c++;return t}function i(t,e){var n=window._server+"/frame/loadFileVersions";$.ajax({url:n,data:{file:t},type:"POST",success:function(t){a(t),e(t)},error:function(){alert("加载文件["+t+"]的版本信息失败.")}})}function A(t,e){var n=window._server+"/common/loadResourceTreeData";$.ajax({url:n,data:t,type:"POST",success:function(t){a(t),e(t)},error:function(){alert("加载资源失败.")}})}function a(t){switch(t.type){case"root":t._icon=s.default.frameStyle.getRootIcon(),t._style=s.default.frameStyle.getRootIconStyle();break;case"folder":t._icon=s.default.frameStyle.getFolderIcon(),t._style=s.default.frameStyle.getFolderIconStyle();break;case"rule":t._icon=s.default.frameStyle.getRuleIcon(),t._style=s.default.frameStyle.getRuleIconStyle(),t.editorPath="/ruleeditor";break;case"project":t._icon=s.default.frameStyle.getProjectIcon(),t._style=s.default.frameStyle.getProjectIconStyle();break;case"resource":t._icon=s.default.frameStyle.getResourceIcon(),t._style=s.default.frameStyle.getResourceIconStyle();break;case"resourcePackage":t._icon=s.default.frameStyle.getResourcePackageIcon(),t._style=s.default.frameStyle.getResourcePackageIconStyle(),t.editorPath="/packageeditor";break;case"lib":t._icon=s.default.frameStyle.getLibIcon(),t._style=s.default.frameStyle.getLibIconStyle();break;case"action":t._icon=s.default.frameStyle.getActionIcon(),t._style=s.default.frameStyle.getActionIconStyle(),t.editorPath="/actioneditor";break;case"parameter":t._icon=s.default.frameStyle.getParameterIcon(),t._style=s.default.frameStyle.getParameterIconStyle(),t.editorPath="/parametereditor";break;case"constant":t._icon=s.default.frameStyle.getConstantIcon(),t._style=s.default.frameStyle.getConstantIconStyle(),t.editorPath="/constanteditor";break;case"variable":t._icon=s.default.frameStyle.getVariableIcon(),t._style=s.default.frameStyle.getVariableIconStyle(),t.editorPath="/variableeditor";break;case"ruleLib":t._icon=s.default.frameStyle.getRuleLibIcon(),t._style=s.default.frameStyle.getRuleLibIconStyle();break;case"decisionTableLib":t._icon=s.default.frameStyle.getDecisionTableLibIcon(),t._style=s.default.frameStyle.getDecisionTableLibIconStyle();break;case"decisionTreeLib":t._icon=s.default.frameStyle.getDecisionTreeLibIcon(),t._style=s.default.frameStyle.getDecisionTreeLibIconStyle();break;case"flowLib":t._icon=s.default.frameStyle.getFlowLibIcon(),t._style=s.default.frameStyle.getFlowLibIconStyle();break;case"ul":t._icon=s.default.frameStyle.getUlIcon(),t._style=s.default.frameStyle.getUlIconStyle(),t.editorPath="/uleditor";break;case"decisionTable":t._icon=s.default.frameStyle.getDecisionTableIcon(),t._style=s.default.frameStyle.getDecisionTableIconStyle(),t.editorPath="/decisiontableeditor";break;case"scriptDecisionTable":t._icon=s.default.frameStyle.getScriptDecisionTableIcon(),t._style=s.default.frameStyle.getScriptDecisionTableIconStyle(),t.editorPath="/scriptdecisiontableeditor";break;case"decisionTree":t._icon=s.default.frameStyle.getDecisionTreeIcon(),t._style=s.default.frameStyle.getDecisionTreeIconStyle(),t.editorPath="/decisiontreeditor";break;case"flow":t._icon=s.default.frameStyle.getFlowIcon(),t._style=s.default.frameStyle.getFlowIconStyle(),t.editorPath="/floweditor";break;case"scorecard":t._icon=s.default.frameStyle.getScorecardIcon(),t._style=s.default.frameStyle.getScorecardIconStyle(),t.editorPath="/scorecardeditor"}var e=t.children;e&&e.forEach(function(t,e){a(t)})}Object.defineProperty(e,"__esModule",{value:!0}),e.uniqueID=o,e.loadFileVersions=i,e.loadResourceTreeData=A;var l=n(228),s=r(l),c=1},function(t,e){"use strict";function n(t,e){return window._frameStyles?window._frameStyles[t]:e}Object.defineProperty(e,"__esModule",{value:!0});var r={};r.frameStyle={getRootIcon:function(){return n("rootIcon","rf rf-root")},getRootIconStyle:function(){return n("rootIconStyle",{color:"rgb(102, 102, 102)"})},getProjectIcon:function(){return n("projectIcon","rf rf-project")},getProjectIconStyle:function(){return n("projectIconStyle",{color:"rgb(188, 15, 105)"})},getResourceIcon:function(){return n("resourceIcon","rf rf-library")},getResourceIconStyle:function(){return n("resourceIconStyle",{color:"rgb(88, 45, 170)"})},getResourcePackageIcon:function(){return n("resourcePackageIcon","rf rf-package")},getResourcePackageIconStyle:function(){return n("resourcePackageIconStyle",{color:"rgb(180, 133, 19)"})},getLibIcon:function(){return n("libIcon","rf rf-database")},getLibIconStyle:function(){return n("libIconStyle",{color:"rgb(24, 121, 27)"})},getActionIcon:function(){return n("actionIcon","rf rf-action")},getActionIconStyle:function(){return n("actionIconStyle",{color:"rgb(24, 121, 27)"})},getVariableIcon:function(){return n("variableIcon","rf rf-variable")},getVariableIconStyle:function(){return n("variableIconStyle",{color:"rgb(24, 121, 27)"})},getConstantIcon:function(){return n("constantIcon","rf rf-constant")},getConstantIconStyle:function(){return n("constantIconStyle",{color:"rgb(24, 121, 27)"})},getParameterIcon:function(){return n("parameterIcon","rf rf-parameter")},getParameterIconStyle:function(){return n("parameterIconStyle",{color:"rgb(24, 121, 27)"})},getRuleIcon:function(){return n("ruleIcon","rf rf-rule")},getRuleIconStyle:function(){return n("ruleIconStyle",{color:"rgb(31, 90, 163)"})},getUlIcon:function(){return n("ulIcon","rf rf-script")},getUlIconStyle:function(){return n("ulIconStyle",{color:"rgb(31, 90, 163)"})},getRuleLibIcon:function(){return n("ruleLibIcon","rf rf-rule")},getRuleLibIconStyle:function(){return n("ruleLibIconStyle",{color:"rgb(31, 90, 163)"})},getDecisionTableIcon:function(){return n("decisionTableIcon","rf rf-table")},getDecisionTableIconStyle:function(){return n("decisionTableIconStyle",{color:"rgb(31, 90, 163)"})},getScriptDecisionTableIcon:function(){return n("scriptDecisionTableIcon","rf rf-scripttable")},getScriptDecisionTableIconStyle:function(){return n("scriptDecisionTableIconStyle",{color:"rgb(31, 90, 163)"})},getDecisionTableLibIcon:function(){return n("decisionTableLibIcon","rf rf-table")},getDecisionTableLibIconStyle:function(){return n("decisionTableLibIconStyle",{color:"rgb(31, 90, 163)"})},getDecisionTreeIcon:function(){return n("decisionTreeIcon","rf rf-tree")},getDecisionTreeIconStyle:function(){return n("decisionTreeIconStyle",{color:"rgb(31, 90, 163)"})},getDecisionTreeLibIcon:function(){return n("decisionTreeLibIcon","rf rf-tree")},getDecisionTreeLibIconStyle:function(){return n("decisionTreeLibIconStyle",{color:"rgb(31, 90, 163)"})},getScorecardIcon:function(){return n("scorecardIcon","rf rf-scorecard")},getScorecardIconStyle:function(){return n("scorecardIconStyle",{color:"rgb(31, 90, 163)"})},getScorecardLibIcon:function(){return n("scorecardLibIcon","rf rf-scorecard")},getScorecardLibIconStyle:function(){return n("scorecardLibIconStyle",{color:"rgb(31, 90, 163)"})},getFlowIcon:function(){return n("flowIcon","rf rf-flow")},getFlowIconStyle:function(){return n("flowIconStyle",{color:"rgb(31, 90, 163)"})},getFlowLibIcon:function(){return n("flowLibIcon","rf rf-flow")},getFlowLibIconStyle:function(){return n("flowLibIconStyle",{color:"rgb(31, 90, 163)"})},getFolderIcon:function(){return n("flowIcon","rf rf-folder")},getFolderIconStyle:function(){return n("flowIconStyle",{color:"rgb(224, 126, 1)"})}},e.default=r},,,,,,function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function A(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n-1&&(c=!0),!1}}),c?s.show():s.hide()}}}}},{key:"render",value:function(){var t=this,e=this.props,n=e.headers,r=e.operationConfig,o=e.dispatch,i=e.selectFirst,A=(e.uniqueKey,this.props.rows||[]),a=[],l=[];n.forEach(function(e,n){e.editable?a.push(s.default.createElement("td",{key:(0,h.uniqueID)(),style:{width:e.width}},s.default.createElement("label",null,e.label),s.default.createElement(f.default,{onchange:t.props.onchange,onblur:function(e){t.setState({display:"none"}),t.props.onblur(e)},header:e,display:t.state.display}))):a.push(s.default.createElement("td",{key:(0,h.uniqueID)(),style:{width:e.width}},s.default.createElement("label",null,e.label)))}),r&&a.push(s.default.createElement("td",{key:(0,h.uniqueID)(),style:{width:r.width}},s.default.createElement("label",null,"操作列")));var c=s.default.createElement("tr",{key:"filterrow",style:{background:"#eee"}},n.map(function(e,n){return e.filterable?s.default.createElement("td",{key:(0,h.uniqueID)()},s.default.createElement("input",{type:"text",onKeyPress:t.onFilter.bind(t,n),name:e.id,className:"form-control",style:{height:"26px"},placeholder:"请输入过滤条件,回车查询..."})):s.default.createElement("td",{key:(0,h.uniqueID)()}," ")}),r?s.default.createElement("td",null):null);l.push(c),A.forEach(function(e,A){e.id||(e.id=(0,h.uniqueID)());var a=e.id;0===A&&i?l.push(s.default.createElement(d.default,{key:a,select:!0,ready:t.props.ready,headers:n,dispatch:o,rowClick:t.props.rowClick,operations:r?r.operations:null,rowData:e,rowIndex:A})):l.push(s.default.createElement(d.default,{key:a,ready:t.props.ready,headers:n,dispatch:o,rowClick:t.props.rowClick,operations:r?r.operations:null,rowData:e,rowIndex:A}))});var u={margin:0,width:this.props.width?this.props.width:"100%"};return s.default.createElement("table",{className:"table table-bordered",style:u},s.default.createElement("thead",null,s.default.createElement("tr",{className:"well"},a)),s.default.createElement("tbody",null,l))}}]),e}(l.Component);p.propTypes={headers:s.default.PropTypes.array.isRequired,operationConfig:l.PropTypes.object},e.default=p},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function A(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n');break;case"date":this.cellEditor=$('');break;case"boolean":this.cellEditor=$('');break;case"list":this.cellEditor=$(''),this.cellEditor.dblclick(function(){var r=e[t];r&&""!==r||(r="{}");var o=JSON.parse(r)||{},i=o.rows||[],A=o.type,a=function(r){var o={type:A,rows:r},i=JSON.stringify(o);e[t]=i;var a=n.find("div");a.html(i)};if(A){var l=null,s=!0,c=!1,u=void 0;try{for(var g,d=simulatorCategoryData[Symbol.iterator]();!(s=(g=d.next()).done);s=!0){var M=g.value;if(A===M.clazz){l=M;break}}}catch(t){c=!0,u=t}finally{try{!s&&d.return&&d.return()}finally{if(c)throw u}}var h=l.variables||[];f.eventEmitter.emit(f.SHOW_CHILD_LIST_DIALOG,{variables:h,rows:i,callback:a})}else!function(){var t=window.simulatorCategoryData||[],e=$(''),n=!0,r=!1,o=void 0;try{for(var l,s=t[Symbol.iterator]();!(n=(l=s.next()).done);n=!0){var c=l.value;e.append('")}}catch(t){r=!0,o=t}finally{try{!n&&s.return&&s.return()}finally{if(r)throw o}}e.append(''),p.MsgBox.dialog("选择子对象类型",e,function(){if(A=e.val(),!A||""===A)return void p.MsgBox.alert("请先选择子对象类型!");var n=null,r=!0,o=!1,l=void 0; try{for(var s,c=t[Symbol.iterator]();!(r=(s=c.next()).done);r=!0){var u=s.value;if(A===u.clazz){n=u;break}}}catch(t){o=!0,l=t}finally{try{!r&&c.return&&c.return()}finally{if(o)throw l}}var g=n.variables||[];f.eventEmitter.emit(f.SHOW_CHILD_LIST_DIALOG,{variables:g,rows:i,callback:a})})}()});break;default:this.cellEditor=$('')}n.append(this.cellEditor),this.cellEditor.blur(function(){e[t]=$(this).val();var r=n.find("div");r.html(e[t]),r.show(),$(this).hide()})}this.cellEditor.val(e[t]),this.cellEditor.show(),this.cellEditor.focus()}},{key:"render",value:function(){var t=this,e=this.props,n=e.rowData,r=e.header,o=r.dateFormat,i=n[r.name];if(o){var A=new Date(i);i=(0,h.formatDate)(A,o)}i&&"object"===("undefined"==typeof i?"undefined":l(i))&&(i=JSON.stringify(i));var a={marginTop:"5px",minHeight:"26px",wordBreak:"break-all"};return u.default.createElement("td",{style:{padding:"1px 5px"}},u.default.createElement("div",{style:a,onClick:function(e){if(r.editable){var o=e.target;$(o).css({display:"none"}),n._editorType?t._showEditor(r.name):f.eventEmitter.emit(f.SHOW_CELL_EDITOR,{targetDiv:o,rowData:n,colId:r.id})}}},i))}}]),e}(c.Component);e.default=I},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.eventEmitter=e.HIDE_CHILD_LIST_DIALOG=e.SHOW_CHILD_LIST_DIALOG=e.HIDE_CELL_EDITOR=e.SHOW_CELL_EDITOR=void 0;var o=n(240),i=r(o);e.SHOW_CELL_EDITOR="show_cell_editor",e.HIDE_CELL_EDITOR="hide_cell_editor",e.SHOW_CHILD_LIST_DIALOG="show_child_list_dialog",e.HIDE_CHILD_LIST_DIALOG="hide_child_list_dialog",e.eventEmitter=new i.default.EventEmitter},function(t,e){function n(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function r(t){return"function"==typeof t}function o(t){return"number"==typeof t}function i(t){return"object"==typeof t&&null!==t}function A(t){return void 0===t}t.exports=n,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._maxListeners=void 0,n.defaultMaxListeners=10,n.prototype.setMaxListeners=function(t){if(!o(t)||t<0||isNaN(t))throw TypeError("n must be a positive number");return this._maxListeners=t,this},n.prototype.emit=function(t){var e,n,o,a,l,s;if(this._events||(this._events={}),"error"===t&&(!this._events.error||i(this._events.error)&&!this._events.error.length)){if(e=arguments[1],e instanceof Error)throw e;var c=new Error('Uncaught, unspecified "error" event. ('+e+")");throw c.context=e,c}if(n=this._events[t],A(n))return!1;if(r(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:a=Array.prototype.slice.call(arguments,1),n.apply(this,a)}else if(i(n))for(a=Array.prototype.slice.call(arguments,1),s=n.slice(),o=s.length,l=0;l0&&this._events[t].length>o&&(this._events[t].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[t].length),"function"==typeof console.trace&&console.trace())),this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(t,e){function n(){this.removeListener(t,n),o||(o=!0,e.apply(this,arguments))}if(!r(e))throw TypeError("listener must be a function");var o=!1;return n.listener=e,this.on(t,n),this},n.prototype.removeListener=function(t,e){var n,o,A,a;if(!r(e))throw TypeError("listener must be a function");if(!this._events||!this._events[t])return this;if(n=this._events[t],A=n.length,o=-1,n===e||r(n.listener)&&n.listener===e)delete this._events[t],this._events.removeListener&&this.emit("removeListener",t,e);else if(i(n)){for(a=A;a-- >0;)if(n[a]===e||n[a].listener&&n[a].listener===e){o=a;break}if(o<0)return this;1===n.length?(n.length=0,delete this._events[t]):n.splice(o,1),this._events.removeListener&&this.emit("removeListener",t,e)}return this},n.prototype.removeAllListeners=function(t){var e,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[t]&&delete this._events[t],this;if(0===arguments.length){for(e in this._events)"removeListener"!==e&&this.removeAllListeners(e);return this.removeAllListeners("removeListener"),this._events={},this}if(n=this._events[t],r(n))this.removeListener(t,n);else if(n)for(;n.length;)this.removeListener(t,n[n.length-1]);return delete this._events[t],this},n.prototype.listeners=function(t){var e;return e=this._events&&this._events[t]?r(this._events[t])?[this._events[t]]:this._events[t].slice():[]},n.prototype.listenerCount=function(t){if(this._events){var e=this._events[t];if(r(e))return 1;if(e)return e.length}return 0},n.listenerCount=function(t,e){return t.listenerCount(e)}},function(t,e,n){var r=n(242).default,o=n(243).default,i=n(251),A=n(252).default,a=n(302);t.exports={Tool:r,Node:o,MsgBox:i,Event:a,FlowDesigner:A}},function(t,e){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n"}}},{key:"getConnectionPropertiesProducer",value:function(){return function(){return"
"}}},{key:"_newNodeInstance",value:function(t,e,n){var r=this.newNode();return r?(r._tool=this,r._initConfigs(this.getConfigs()),n||(n=this._buildNodeName()),r._createFigure(this.context,{x:t,y:e},n),r):null}},{key:"_buildNodeName",value:function(){var t=this.getType()+this.count++,e=!1,n=!0,r=!1,o=void 0;try{for(var i,A=this.context.allFigures[Symbol.iterator]();!(n=(i=A.next()).done);n=!0){var a=i.value;if(a instanceof Node&&a.name===t){e=!0;break}}}catch(t){r=!0,o=t}finally{try{!n&&A.return&&A.return()}finally{if(r)throw o}}return e?this._buildNodeName():t}}]),t}();e.default=o},function(t,e,n){"use strict";function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function o(t){return t&&t.__esModule?t:{default:t}}function i(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);el-c&&al-c&&a>s-c?this.attr("cursor","se-resize"):As-c?this.attr("cursor","sw-resize"):this.attr("cursor","move")}}},r=function(n){if(!this.dragging){var r=t.currentTool;if(r){if(r instanceof d.default||r instanceof u.default||(t.currentTool=t.selectTool,r=t.currentTool,t.flowDesigner.nodeToolbar.children("label").removeClass("active")),r instanceof u.default)if(0===t.selectionFigures.length)t.selectFigure(e);else{var o=!1,i=!0,A=!1,a=void 0;try{for(var l,c=t.selectionFigures[Symbol.iterator]();!(i=(l=c.next()).done);i=!0){var g=l.value;if(g===e){o=!0;break}}}catch(t){A=!0,a=t}finally{try{!i&&c.return&&c.return()}finally{if(A)throw a}}o||(t.resetSelection(),t.selectFigure(e))}if(r instanceof d.default){var M=n.offsetX,h=n.offsetY,p=t.currentConnection;if(p){if(0===e.in)return void f.alert("当前节点不允许有进入的连线.");if(e.in!==-1&&e.toConnections.length>=e.in)return void f.alert("当前节点进入的连线最多只能有"+e.in+"条.");p.endX=M,p.endY=h,p.from!==e?!function(){p.endPath(e),t.currentConnection=null;var n=p.from.uuid,r=e.uuid,o=p.uuid;t.addRedoUndo({redo:function(){var e=t.getNodeByUUID(n),i=t.getNodeByUUID(r);p=new s.default(e,{endX:e.rect.attr("x"),endY:e.rect.attr("y")}),p.uuid=o,p.endPath(i)},undo:function(){e.context.removeFigureByUUID(o)}})}():f.alert("连线的起始节点不能为同一节点.")}else{if(0===e.out)return void f.alert("当前节点不允许有出去的连线.");if(e.out!==-1&&e.fromConnections.length>=e.out)return void f.alert("当前节点出去的连线最多只能有"+e.out+"条.");p=new s.default(e,{endX:M,endY:h}),t.currentConnection=p}}}}};this.rect.mouseover(n),this.rect.mousedown(r),this.icon.mouseover(n),this.icon.mousedown(r);var o=function(){var n=e.rect,r=t.currentTool;if(r&&r instanceof u.default){var o=!1,i=t.selectionFigures,A=!0,a=!1,l=void 0;try{for(var c,g=i[Symbol.iterator]();!(A=(c=g.next()).done);A=!0){var d=c.value;if(d===e){o=!0;break}}}catch(t){a=!0,l=t}finally{try{!A&&g.return&&g.return()}finally{if(a)throw l}}if(!o)return void t.resetSelection();i.forEach(function(t,e){t instanceof s.default||t._recordRectPosition()}),n.ow=n.attr("width"),n.oh=n.attr("height"),n.dragging=!0}},i=function(n,r){var o=t.currentTool;if(o&&o instanceof u.default){e.context.snapto&&(n-=n%10,r-=r%10);var i=t.selectionFigures,A=e.rect,a=(e.icon,A.ox+n),l=A.oy+r;if(!(a<1||l<1)){e.context.resizePaper(a+150,l+150);var c=void 0,g=void 0;switch(this.attr("cursor")){case"nw-resize":c=A.ow-n,g=A.oh-r,c>20&&g>20&&A.attr({x:a,y:l,width:c,height:g});break;case"ne-resize":c=A.ow+n,g=A.oh-r,c>20&&g>20&&A.attr({y:l,width:c,height:g});break;case"se-resize":c=A.ow+n,g=A.oh+r,c>20&&g>20&&A.attr({width:c,height:g});break;case"sw-resize":c=A.ow-n,g=A.oh+r,c>20&&g>20&&A.attr({x:a,width:c,height:g});break;default:i.forEach(function(t,e){t instanceof s.default||t._moveRect(n,r)})}i.forEach(function(t,e){t instanceof s.default||(t._moveAndResizeTextAndIcon(),t._resetConnections())})}}},A=function(){e.rect.dragging=!1;var n=[],r=new Map,o=new Map,i=e.rect.ow,A=e.rect.oh,a=e.rect.attr("width"),l=e.rect.attr("height"),c=e.uuid,u=!0,g=!1,d=void 0;try{for(var M,f=t.selectionFigures[Symbol.iterator]();!(u=(M=f.next()).done);u=!0){var h=M.value;if(!(h instanceof s.default)){n.push(h.uuid);var p=h.rect.ox,I=h.rect.oy;p=p?p:0,I=I?I:0;var N=h.rect.attr("x"),T=h.rect.attr("y");r.set(h.uuid,{x:N,y:T}),o.set(h.uuid,{x:p,y:I})}}}catch(t){g=!0,d=t}finally{try{!u&&f.return&&f.return()}finally{if(g)throw d}}e.context.addRedoUndo({redo:function(){var e=!0,o=!1,i=void 0;try{for(var A,s=n[Symbol.iterator]();!(e=(A=s.next()).done);e=!0){var u=A.value,g=t.getNodeByUUID(u),d=r.get(u);g.rect.attr({x:d.x,y:d.y}),u===c&&g.rect.attr({width:a,height:l})}}catch(t){o=!0,i=t}finally{try{!e&&s.return&&s.return()}finally{if(o)throw i}}var M=!0,f=!1,h=void 0;try{for(var p,I=n[Symbol.iterator]();!(M=(p=I.next()).done);M=!0){var N=p.value,T=t.getNodeByUUID(N);T._moveAndResizeTextAndIcon(),T._resetConnections()}}catch(t){f=!0,h=t}finally{try{!M&&I.return&&I.return()}finally{if(f)throw h}}},undo:function(){var e=!0,r=!1,a=void 0;try{for(var l,s=n[Symbol.iterator]();!(e=(l=s.next()).done);e=!0){var u=l.value,g=t.getNodeByUUID(u),d=o.get(u);g.rect.attr({x:d.x,y:d.y}),u===c&&g.rect.attr({width:i,height:A})}}catch(t){r=!0,a=t}finally{try{!e&&s.return&&s.return()}finally{if(r)throw a}}var M=!0,f=!1,h=void 0;try{for(var p,I=n[Symbol.iterator]();!(M=(p=I.next()).done);M=!0){var N=p.value,T=t.getNodeByUUID(N);T._moveAndResizeTextAndIcon(),T._resetConnections()}}catch(t){f=!0,h=t}finally{try{!M&&I.return&&I.return()}finally{if(f)throw h}}}})};this.rect.drag(i,o,A),this.icon.drag(i,o,A)}},{key:"remove",value:function(){var t=this,e=[].concat(i(this.toConnections)),n=[].concat(i(this.fromConnections));e.forEach(function(e,n){t.context.removeFigureByUUID(e.uuid)}),n.forEach(function(e,n){t.context.removeFigureByUUID(e.uuid)}),this.text.remove(),this.icon.remove(),this.rect.remove()}},{key:"_recordRectPosition",value:function(){this.rect.ox=this.rect.attr("x"),this.rect.oy=this.rect.attr("y")}},{key:"_moveRect",value:function(t,e){var n=void 0,r=void 0;this.rect.ox&&0!==this.rect.ox?(n=this.rect.ox+t,r=this.rect.oy+e):(n=this.rect.attr("x")+t,r=this.rect.attr("x")+e),this.rect.attr({x:n,y:r})}},{key:"_moveAndResizeTextAndIcon",value:function(){var t=this.rect.attr("width"),e=this.rect.attr("height");this.text.attr({x:this.rect.attr("x")+t/2,y:this.rect.attr("y")+e-16}),this.icon.attr({x:this.rect.attr("x"),y:this.rect.attr("y"),width:t,height:e-30})}},{key:"_resetConnections",value:function(){var t=[].concat(i(this.fromConnections),i(this.toConnections));t.forEach(function(t,e){t.updatePath()})}},{key:"getPathInfo",value:function(t){var e=this.rect.attr("x"),n=this.rect.attr("y"),r=this.rect.attr("width"),o=this.rect.attr("height");return t&&(e-=5,n-=5,r+=10,o+=10),"M "+e+" "+n+" L "+(e+r)+" "+n+" L "+(e+r)+" "+(n+o)+" L "+e+" "+(n+o)+" L "+e+" "+n}}]),t}();e.default=h},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},A=function(){function t(t,e){for(var n=0;n0){({x:t[1][1],y:t[1][2]});return{x:u[0].x,y:u[0].y}}return null}},{key:"_buildToFigureIntersetion",value:function(t,e){if(e){var n=this.to.rect,r=n.attr("x"),o=n.attr("y"),i=n.attr("width"),A=n.attr("height");r+=i/2,o+=A/2-10;var a=t.x,s=t.y;t=[],t.push(["M",a,s]),t.push(["L",r,o])}var c=this.to.getPathInfo(!0),u=l.default.pathIntersection(c,t);if(u.length>0){({x:t[0][1],y:t[0][2]});return{x:u[0].x,y:u[0].y}}return null}},{key:"_buildCurveLinePathInfo",value:function(){var t=this.from.rect,e=t.attr("x"),n=t.attr("y"),r=t.attr("width"),o=t.attr("height");e+=r/2,n+=o/2-10;var i=this.endX,A=this.endY,a=0,s=0,c=null;if(this.to){var u=this.to.rect;i=u.attr("x"),A=u.attr("y"),a=u.attr("width"),s=u.attr("height"),i+=a/2,A+=s/2-10}var g=this.from.getPathInfo(!0),d=Math.abs(e+r/2-(i-a/2)),M=Math.abs(n+o/2-(A-s/2)),f="M"+e+" "+n;if(d>=M){var h=f+" L"+i+" "+n,p=l.default.pathIntersection(g,h);if(p.length>0&&(e=p[0].x,n=p[0].y,f="M"+p[0].x+" "+p[0].y),this.to){var I="M"+e+" "+A+" L"+i+" "+A,N=this.to.getPathInfo(!0);p=l.default.pathIntersection(N,I),p.length>0&&(i=p[0].x,A=p[0].y,e0&&(e=w[0].x,n=w[0].y,f="M"+w[0].x+" "+w[0].y),this.to){var C="M"+i+" "+n+" L"+i+" "+A,D=this.to.getPathInfo(!0);w=l.default.pathIntersection(D,C),w.length>0&&(i=w[0].x,A=w[0].y,n=1e3&&delete a[l.shift()],l.push(A),a[A]=t[L](e,i),n?n(a[A]):a[A])}return o}function i(){return this.hex}function A(t,e){for(var n=[],r=0,o=t.length;o-2*!e>r;r+=2){var i=[{x:+t[r-2],y:+t[r-1]},{x:+t[r],y:+t[r+1]},{x:+t[r+2],y:+t[r+3]},{x:+t[r+4],y:+t[r+5]}];e?r?o-4==r?i[3]={x:+t[0],y:+t[1]}:o-2==r&&(i[2]={x:+t[0],y:+t[1]},i[3]={x:+t[2],y:+t[3]}):i[0]={x:+t[o-2],y:+t[o-1]}:o-4==r?i[3]=i[2]:r||(i[0]={x:+t[r],y:+t[r+1]}),n.push(["C",(-i[0].x+6*i[1].x+i[2].x)/6,(-i[0].y+6*i[1].y+i[2].y)/6,(i[1].x+6*i[2].x-i[3].x)/6,(i[1].y+6*i[2].y-i[3].y)/6,i[2].x,i[2].y])}return n}function a(t,e,n,r,o){var i=-3*e+9*n-9*r+3*o,A=t*i+6*e-12*n+6*r;return t*A-3*e+3*n}function l(t,e,n,r,o,i,A,l,s){null==s&&(s=1),s=s>1?1:s<0?0:s;for(var c=s/2,u=12,g=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],d=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],M=0,f=0;fM;)g/=2,d+=(cY(o,A)||Y(e,r)Y(i,a))){var l=(t*r-e*n)*(o-A)-(t-n)*(o*a-i*A),s=(t*r-e*n)*(i-a)-(e-r)*(o*a-i*A),c=(t-n)*(i-a)-(e-r)*(o-A);if(c){var u=l/c,g=s/c,d=+u.toFixed(2),M=+g.toFixed(2);if(!(d<+R(t,n).toFixed(2)||d>+Y(t,n).toFixed(2)||d<+R(o,A).toFixed(2)||d>+Y(o,A).toFixed(2)||M<+R(e,r).toFixed(2)||M>+Y(e,r).toFixed(2)||M<+R(i,a).toFixed(2)||M>+Y(i,a).toFixed(2)))return{x:u,y:g}}}}function u(t,n,r){var o=e.bezierBBox(t),i=e.bezierBBox(n);if(!e.isBBoxIntersect(o,i))return r?0:[];for(var A=l.apply(0,t),a=l.apply(0,n),s=Y(~~(A/5),1),u=Y(~~(a/5),1),g=[],d=[],M={},f=r?0:[],h=0;h=0&&x<=1.001&&m>=0&&m<=1.001&&(r?f++:f.push({x:D.x,y:D.y,t1:R(x,1),t2:R(m,1)}))}}return f}function g(t,n,r){t=e._path2curve(t),n=e._path2curve(n);for(var o,i,A,a,l,s,c,g,d,M,f=r?0:[],h=0,p=t.length;hr)return r;for(;ni?n=o:r=o,o=(r-n)/2+n}return o}var s=3*e,c=3*(r-e)-s,u=1-s-c,g=3*n,d=3*(o-n)-g,M=1-g-d;return a(t,1/(200*i))}function h(t,e){var n=[],r={};if(this.ms=e,this.times=1,t){for(var o in t)t[C](o)&&(r[q(o)]=t[o],n.push(q(o)));n.sort(ct)}this.anim=r,this.top=n[n.length-1],this.percents=n}function p(n,r,o,i,A,a){o=q(o);var l,s,c,u,g,M,h=n.ms,p={},I={},N={};if(i)for(y=0,w=ie.length;yi*n.top){o=n.percents[y],g=n.percents[y-1]||0,h=h/n.top*(o-g),u=n.percents[y+1],l=n.anim[o];break}i&&r.attr(n.anim[n.percents[y]])}if(l){if(s)s.initstatus=i,s.start=new Date-s.ms*i;else{for(var D in l)if(l[C](D)&&(nt[C](D)||r.paper.customAttributes[C](D)))switch(p[D]=r.attr(D),null==p[D]&&(p[D]=et[D]),I[D]=l[D],nt[D]){case G:N[D]=(I[D]-p[D])/h;break;case"colour":p[D]=e.getRGB(p[D]);var x=e.getRGB(I[D]);N[D]={r:(x.r-p[D].r)/h,g:(x.g-p[D].g)/h,b:(x.b-p[D].b)/h};break;case"path":var m=St(p[D],I[D]),L=m[1];for(p[D]=m[0],N[D]=[],y=0,w=p[D].length;y',ht=pt.firstChild,ht.style.behavior="url(#default#VML)",!ht||"object"!=typeof ht.adj)return e.type=B;pt=null}e.svg=!(e.vml="VML"==e.type),e._Paper=m,e.fn=T=m.prototype=e.prototype,e._id=0,e.is=function(t,e){return e=k.call(e),"finite"==e?!Z[C](+t):"array"==e?t instanceof Array:"null"==e&&null===t||e==typeof t&&null!==t||"object"==e&&t===Object(t)||"array"==e&&Array.isArray&&Array.isArray(t)||W.call(t).slice(8,-1).toLowerCase()==e},e.angle=function(t,n,r,o,i,A){if(null==i){var a=t-r,l=n-o;return a||l?(180+180*O.atan2(-l,-a)/V+360)%360:0}return e.angle(t,n,i,A)-e.angle(r,o,i,A)},e.rad=function(t){return t%360*V/180},e.deg=function(t){return Math.round(180*t/V%360*1e3)/1e3},e.snapTo=function(t,n,r){if(r=e.is(r,"finite")?r:10,e.is(t,X)){for(var o=t.length;o--;)if(F(t[o]-n)<=r)return t[o]}else{t=+t;var i=n%t;if(it-r)return n-i+t}return n};e.createUUID=function(t,e){return function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(t,e).toUpperCase()}}(/[xy]/g,function(t){var e=16*O.random()|0,n="x"==t?e:3&e|8;return n.toString(16)});e.setWindow=function(n){t("raphael.setWindow",e,D.win,n),D.win=n,D.doc=D.win.document,e._engine.initWin&&e._engine.initWin(D.win)};var It=function(t){if(e.vml){var n,r=/^\s+|\s+$/g;try{var i=new ActiveXObject("htmlfile");i.write(""),i.close(),n=i.body}catch(t){n=createPopup().document.body}var A=n.createTextRange();It=o(function(t){try{n.style.color=Q(t).replace(r,B);var e=A.queryCommandValue("ForeColor");return e=(255&e)<<16|65280&e|(16711680&e)>>>16,"#"+("000000"+e.toString(16)).slice(-6)}catch(t){return"none"}})}else{var a=D.doc.createElement("i");a.title="Raphaël Colour Picker",a.style.display="none",D.doc.body.appendChild(a),It=o(function(t){return a.style.color=t,D.doc.defaultView.getComputedStyle(a,B).getPropertyValue("color")})}return It(t)},Nt=function(){return"hsb("+[this.h,this.s,this.b]+")"},Tt=function(){return"hsl("+[this.h,this.s,this.l]+")"},Et=function(){return this.hex},yt=function(t,n,r){if(null==n&&e.is(t,"object")&&"r"in t&&"g"in t&&"b"in t&&(r=t.b,n=t.g,t=t.r),null==n&&e.is(t,P)){var o=e.getRGB(t);t=o.r,n=o.g,r=o.b}return(t>1||n>1||r>1)&&(t/=255,n/=255,r/=255),[t,n,r]},wt=function(t,n,r,o){t*=255,n*=255,r*=255;var i={r:t,g:n,b:r,hex:e.rgb(t,n,r),toString:Et};return e.is(o,"finite")&&(i.opacity=o),i};e.color=function(t){var n;return e.is(t,"object")&&"h"in t&&"s"in t&&"b"in t?(n=e.hsb2rgb(t),t.r=n.r,t.g=n.g,t.b=n.b,t.hex=n.hex):e.is(t,"object")&&"h"in t&&"s"in t&&"l"in t?(n=e.hsl2rgb(t),t.r=n.r,t.g=n.g,t.b=n.b,t.hex=n.hex):(e.is(t,"string")&&(t=e.getRGB(t)),e.is(t,"object")&&"r"in t&&"g"in t&&"b"in t?(n=e.rgb2hsl(t),t.h=n.h,t.s=n.s,t.l=n.l,n=e.rgb2hsb(t),t.v=n.b):(t={hex:"none"},t.r=t.g=t.b=t.h=t.s=t.v=t.l=-1)),t.toString=Et,t},e.hsb2rgb=function(t,e,n,r){this.is(t,"object")&&"h"in t&&"s"in t&&"b"in t&&(n=t.b,e=t.s,r=t.o,t=t.h),t*=360;var o,i,A,a,l;return t=t%360/60,l=n*e,a=l*(1-F(t%2-1)),o=i=A=n-l,t=~~t,o+=[l,a,0,0,a,l][t],i+=[a,l,l,a,0,0][t],A+=[0,0,a,l,l,a][t],wt(o,i,A,r)},e.hsl2rgb=function(t,e,n,r){this.is(t,"object")&&"h"in t&&"s"in t&&"l"in t&&(n=t.l,e=t.s,t=t.h),(t>1||e>1||n>1)&&(t/=360,e/=100,n/=100),t*=360;var o,i,A,a,l;return t=t%360/60,l=2*e*(n<.5?n:1-n),a=l*(1-F(t%2-1)),o=i=A=n-l/2,t=~~t,o+=[l,a,0,0,a,l][t],i+=[a,l,l,a,0,0][t],A+=[0,0,a,l,l,a][t],wt(o,i,A,r)},e.rgb2hsb=function(t,e,n){n=yt(t,e,n),t=n[0],e=n[1],n=n[2];var r,o,i,A;return i=Y(t,e,n),A=i-R(t,e,n),r=0==A?null:i==t?(e-n)/A:i==e?(n-t)/A+2:(t-e)/A+4,r=(r+360)%6*60/360,o=0==A?0:A/i,{h:r,s:o,b:i,toString:Nt}},e.rgb2hsl=function(t,e,n){n=yt(t,e,n),t=n[0],e=n[1],n=n[2];var r,o,i,A,a,l;return A=Y(t,e,n),a=R(t,e,n),l=A-a,r=0==l?null:A==t?(e-n)/l:A==e?(n-t)/l+2:(t-e)/l+4,r=(r+360)%6*60/360,i=(A+a)/2,o=0==l?0:i<.5?l/(2*i):l/(2-2*i),{h:r,s:o,l:i,toString:Tt}},e._path2string=function(){return this.join(",").replace(it,"$1")};e._preload=function(t,e){var n=D.doc.createElement("img");n.style.cssText="position:absolute;left:-9999em;top:-9999em",n.onload=function(){e.call(this),this.onload=null,D.doc.body.removeChild(this)},n.onerror=function(){D.doc.body.removeChild(this)},D.doc.body.appendChild(n),n.src=t};e.getRGB=o(function(t){if(!t||(t=Q(t)).indexOf("-")+1)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:i};if("none"==t)return{r:-1,g:-1,b:-1,hex:"none",toString:i};!(ot[C](t.toLowerCase().substring(0,2))||"#"==t.charAt())&&(t=It(t));var n,r,o,A,a,l,s=t.match(J);return s?(s[2]&&(o=$(s[2].substring(5),16),r=$(s[2].substring(3,5),16),n=$(s[2].substring(1,3),16)),s[3]&&(o=$((a=s[3].charAt(3))+a,16),r=$((a=s[3].charAt(2))+a,16),n=$((a=s[3].charAt(1))+a,16)),s[4]&&(l=s[4][S](rt),n=q(l[0]),"%"==l[0].slice(-1)&&(n*=2.55),r=q(l[1]),"%"==l[1].slice(-1)&&(r*=2.55),o=q(l[2]),"%"==l[2].slice(-1)&&(o*=2.55),"rgba"==s[1].toLowerCase().slice(0,4)&&(A=q(l[3])),l[3]&&"%"==l[3].slice(-1)&&(A/=100)),s[5]?(l=s[5][S](rt),n=q(l[0]),"%"==l[0].slice(-1)&&(n*=2.55),r=q(l[1]),"%"==l[1].slice(-1)&&(r*=2.55),o=q(l[2]),"%"==l[2].slice(-1)&&(o*=2.55),("deg"==l[0].slice(-3)||"°"==l[0].slice(-1))&&(n/=360),"hsba"==s[1].toLowerCase().slice(0,4)&&(A=q(l[3])),l[3]&&"%"==l[3].slice(-1)&&(A/=100),e.hsb2rgb(n,r,o,A)):s[6]?(l=s[6][S](rt),n=q(l[0]),"%"==l[0].slice(-1)&&(n*=2.55),r=q(l[1]),"%"==l[1].slice(-1)&&(r*=2.55),o=q(l[2]),"%"==l[2].slice(-1)&&(o*=2.55),("deg"==l[0].slice(-3)||"°"==l[0].slice(-1))&&(n/=360),"hsla"==s[1].toLowerCase().slice(0,4)&&(A=q(l[3])),l[3]&&"%"==l[3].slice(-1)&&(A/=100),e.hsl2rgb(n,r,o,A)):(s={r:n,g:r,b:o,toString:i},s.hex="#"+(16777216|o|r<<8|n<<16).toString(16).slice(1),e.is(A,"finite")&&(s.opacity=A),s)):{r:-1,g:-1,b:-1,hex:"none",error:1,toString:i}},e),e.hsb=o(function(t,n,r){return e.hsb2rgb(t,n,r).hex}),e.hsl=o(function(t,n,r){return e.hsl2rgb(t,n,r).hex}),e.rgb=o(function(t,e,n){function r(t){return t+.5|0}return"#"+(16777216|r(n)|r(e)<<8|r(t)<<16).toString(16).slice(1)}),e.getColor=function(t){var e=this.getColor.start=this.getColor.start||{h:0,s:1,b:t||.75},n=this.hsb2rgb(e.h,e.s,e.b);return e.h+=.075,e.h>1&&(e.h=0,e.s-=.2,e.s<=0&&(this.getColor.start={h:0,s:1,b:e.b})),n.hex},e.getColor.reset=function(){delete this.start},e.parsePathString=function(t){if(!t)return null;var n=Ct(t);if(n.arr)return xt(n.arr);var r={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0},o=[];return e.is(t,X)&&e.is(t[0],X)&&(o=xt(t)),o.length||Q(t).replace(At,function(t,e,n){var i=[],A=e.toLowerCase();if(n.replace(lt,function(t,e){e&&i.push(+e)}),"m"==A&&i.length>2&&(o.push([e][b](i.splice(0,2))),A="l",e="m"==e?"l":"L"),"r"==A)o.push([e][b](i));else for(;i.length>=r[A]&&(o.push([e][b](i.splice(0,r[A]))),r[A]););}),o.toString=e._path2string,n.arr=xt(o),o},e.parseTransformString=o(function(t){if(!t)return null;var n=[];return e.is(t,X)&&e.is(t[0],X)&&(n=xt(t)),n.length||Q(t).replace(at,function(t,e,r){var o=[];k.call(e);r.replace(lt,function(t,e){e&&o.push(+e)}),n.push([e][b](o))}),n.toString=e._path2string,n});var Ct=function(t){var e=Ct.ps=Ct.ps||{};return e[t]?e[t].sleep=100:e[t]={sleep:100},setTimeout(function(){for(var n in e)e[C](n)&&n!=t&&(e[n].sleep--,!e[n].sleep&&delete e[n])}),e[t]};e.findDotsAtSegment=function(t,e,n,r,o,i,A,a,l){var s=1-l,c=H(s,3),u=H(s,2),g=l*l,d=g*l,M=c*t+3*u*l*n+3*s*l*l*o+d*A,f=c*e+3*u*l*r+3*s*l*l*i+d*a,h=t+2*l*(n-t)+g*(o-2*n+t),p=e+2*l*(r-e)+g*(i-2*r+e),I=n+2*l*(o-n)+g*(A-2*o+n),N=r+2*l*(i-r)+g*(a-2*i+r),T=s*t+l*n,E=s*e+l*r,y=s*o+l*A,w=s*i+l*a,C=90-180*O.atan2(h-I,p-N)/V;return(h>I||p=t.x&&e<=t.x2&&n>=t.y&&n<=t.y2},e.isBBoxIntersect=function(t,n){var r=e.isPointInsideBBox;return r(n,t.x,t.y)||r(n,t.x2,t.y)||r(n,t.x,t.y2)||r(n,t.x2,t.y2)||r(t,n.x,n.y)||r(t,n.x2,n.y)||r(t,n.x,n.y2)||r(t,n.x2,n.y2)||(t.xn.x||n.xt.x)&&(t.yn.y||n.yt.y)},e.pathIntersection=function(t,e){return g(t,e)},e.pathIntersectionNumber=function(t,e){return g(t,e,1)},e.isPointInsidePath=function(t,n,r){var o=e.pathBBox(t);return e.isPointInsideBBox(o,n,r)&&g(t,[["M",n,r],["H",o.x2+10]],1)%2==1},e._removedFactory=function(e){return function(){t("raphael.log",null,"Raphaël: you are calling to method “"+e+"” of removed object",e)}};var Dt=e.pathBBox=function(t){var e=Ct(t);if(e.bbox)return n(e.bbox);if(!t)return{x:0,y:0,width:0,height:0,x2:0,y2:0};t=St(t);for(var r,o=0,i=0,A=[],a=[],l=0,s=t.length;l1&&(I=O.sqrt(I),n*=I,r*=I);var N=n*n,T=r*r,E=(A==a?-1:1)*O.sqrt(F((N*T-N*p*p-T*h*h)/(N*p*p+T*h*h))),y=E*n*p/r+(t+l)/2,w=E*-r*h/n+(e+s)/2,C=O.asin(((e-w)/r).toFixed(9)),D=O.asin(((s-w)/r).toFixed(9));C=tD&&(C-=2*V),!a&&D>C&&(D-=2*V)}var x=D-C;if(F(x)>g){var m=D,L=l,v=s;D=C+g*(a&&D>C?1:-1),l=y+n*O.cos(D),s=w+r*O.sin(D),M=Bt(l,s,n,r,i,0,a,L,v,[D,m,y,w])}x=D-C;var B=O.cos(C),j=O.sin(C),Q=O.cos(D),U=O.sin(D),z=O.tan(x/4),k=4/3*n*z,Y=4/3*r*z,R=[t,e],H=[t+k*j,e-Y*B],G=[l+k*U,s-Y*Q],P=[l,s];if(H[0]=2*R[0]-H[0],H[1]=2*R[1]-H[1],c)return[H,G,P][b](M);M=[H,G,P][b](M).join()[S](",");for(var X=[],W=0,J=M.length;W"1e12"&&(g=.5),F(d)>"1e12"&&(d=.5),g>0&&g<1&&(l=jt(t,e,n,r,o,i,A,a,g),f.push(l.x),M.push(l.y)),d>0&&d<1&&(l=jt(t,e,n,r,o,i,A,a,d),f.push(l.x),M.push(l.y)),s=i-2*r+e-(a-2*i+r),c=2*(r-e)-2*(i-r),u=e-r,g=(-c+O.sqrt(c*c-4*s*u))/2/s,d=(-c-O.sqrt(c*c-4*s*u))/2/s,F(g)>"1e12"&&(g=.5),F(d)>"1e12"&&(d=.5),g>0&&g<1&&(l=jt(t,e,n,r,o,i,A,a,g),f.push(l.x),M.push(l.y)),d>0&&d<1&&(l=jt(t,e,n,r,o,i,A,a,d),f.push(l.x),M.push(l.y)),{min:{x:R[L](0,f),y:R[L](0,M)},max:{x:Y[L](0,f),y:Y[L](0,M)}}}),St=e._path2curve=o(function(t,e){var n=!e&&Ct(t);if(!e&&n.curve)return xt(n.curve);for(var r=Lt(t),o=e&&Lt(e),i={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},A={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},a=(function(t,e,n){var r,o,i={T:1,Q:1};if(!t)return["C",e.x,e.y,e.x,e.y,e.x,e.y];switch(!(t[0]in i)&&(e.qx=e.qy=null),t[0]){case"M":e.X=t[1],e.Y=t[2];break;case"A":t=["C"][b](Bt[L](0,[e.x,e.y][b](t.slice(1))));break;case"S":"C"==n||"S"==n?(r=2*e.x-e.bx,o=2*e.y-e.by):(r=e.x,o=e.y),t=["C",r,o][b](t.slice(1));break;case"T":"Q"==n||"T"==n?(e.qx=2*e.x-e.qx,e.qy=2*e.y-e.qy):(e.qx=e.x,e.qy=e.y),t=["C"][b](vt(e.x,e.y,e.qx,e.qy,t[1],t[2]));break;case"Q":e.qx=t[1],e.qy=t[2],t=["C"][b](vt(e.x,e.y,t[1],t[2],t[3],t[4]));break;case"L":t=["C"][b](bt(e.x,e.y,t[1],t[2]));break;case"H":t=["C"][b](bt(e.x,e.y,t[1],e.y));break;case"V":t=["C"][b](bt(e.x,e.y,e.x,t[1]));break;case"Z":t=["C"][b](bt(e.x,e.y,e.X,e.Y))}return t}),l=function(t,e){if(t[e].length>7){t[e].shift();for(var n=t[e];n.length;)c[e]="A",o&&(u[e]="A"),t.splice(e++,0,["C"][b](n.splice(0,6)));t.splice(e,1),f=Y(r.length,o&&o.length||0)}},s=function(t,e,n,i,A){t&&e&&"M"==t[A][0]&&"M"!=e[A][0]&&(e.splice(A,0,["M",i.x,i.y]),n.bx=0,n.by=0,n.x=t[A][1],n.y=t[A][2],f=Y(r.length,o&&o.length||0))},c=[],u=[],g="",d="",M=0,f=Y(r.length,o&&o.length||0);Mo){if(n&&!g.start){if(c=$t(A,a,l[1],l[2],l[3],l[4],l[5],l[6],o-d),u+=["C"+c.start.x,c.start.y,c.m.x,c.m.y,c.x,c.y],i)return u;g.start=u,u=["M"+c.x,c.y+"C"+c.n.x,c.n.y,c.end.x,c.end.y,l[5],l[6]].join(),d+=s,A=+l[5],a=+l[6];continue}if(!t&&!n)return c=$t(A,a,l[1],l[2],l[3],l[4],l[5],l[6],o-d),{x:c.x,y:c.y,alpha:c.alpha}}d+=s,A=+l[5],a=+l[6]}u+=l.shift()+l}return g.end=u,c=t?d:n?g:e.findDotsAtSegment(A,a,l[0],l[1],l[2],l[3],l[4],l[5],1),c.alpha&&(c={x:c.x,y:c.y,alpha:c.alpha}),c}},ee=te(1),ne=te(),re=te(0,1);e.getTotalLength=ee,e.getPointAtLength=ne,e.getSubpath=function(t,e,n){if(this.getTotalLength(t)-n<1e-6)return re(t,e).end;var r=re(t,n,1);return e?re(r,e).end:r},Zt.getTotalLength=function(){var t=this.getPath();if(t)return this.node.getTotalLength?this.node.getTotalLength():ee(t)},Zt.getPointAtLength=function(t){var e=this.getPath();if(e)return ne(e,t)},Zt.getPath=function(){var t,n=e._getPath[this.type];if("text"!=this.type&&"set"!=this.type)return n&&(t=n(this)),t},Zt.getSubpath=function(t,n){var r=this.getPath();if(r)return e.getSubpath(r,t,n)};var oe=e.easing_formulas={linear:function(t){return t},"<":function(t){return H(t,1.7)},">":function(t){return H(t,.48)},"<>":function(t){var e=.48-t/1.04,n=O.sqrt(.1734+e*e),r=n-e,o=H(F(r),1/3)*(r<0?-1:1),i=-n-e,A=H(F(i),1/3)*(i<0?-1:1),a=o+A+.5;return 3*(1-a)*a*a+a*a*a},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){t-=1;var e=1.70158;return t*t*((e+1)*t+e)+1},elastic:function(t){return t==!!t?t:H(2,-10*t)*O.sin((t-.075)*(2*V)/.3)+1},bounce:function(t){var e,n=7.5625,r=2.75;return t<1/r?e=n*t*t:t<2/r?(t-=1.5/r,e=n*t*t+.75):t<2.5/r?(t-=2.25/r,e=n*t*t+.9375):(t-=2.625/r,e=n*t*t+.984375),e}};oe.easeIn=oe["ease-in"]=oe["<"],oe.easeOut=oe["ease-out"]=oe[">"],oe.easeInOut=oe["ease-in-out"]=oe["<>"],oe["back-in"]=oe.backIn,oe["back-out"]=oe.backOut;var ie=[],Ae=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){setTimeout(t,16)},ae=function(){for(var n=+new Date,r=0;r1&&!o.next){for(A in g)g[C](A)&&(f[A]=o.totalOrigin[A]);o.el.attr(f),p(o.anim,o.el,o.anim.percents[0],null,o.totalOrigin,o.repeat-1)}o.next&&!o.stop&&p(o.anim,o.el,o.next,null,o.totalOrigin,o.repeat)}}}ie.length&&Ae(ae)},le=function(t){return t>255?255:t<0?0:t};Zt.animateWith=function(t,n,r,o,i,A){var a=this;if(a.removed)return A&&A.call(a),a;var l=r instanceof h?r:e.animation(r,o,i,A);p(l,a,l.percents[0],null,a.attr());for(var s=0,c=ie.length;sl&&(l=c)}l+="%",!t[l].callback&&(t[l].callback=o)}return new h(t,n)},Zt.animate=function(t,n,r,o){var i=this;if(i.removed)return o&&o.call(i),i;var A=t instanceof h?t:e.animation(t,n,r,o);return p(A,i,A.percents[0],null,i.attr()),i},Zt.setTime=function(t,e){return t&&null!=e&&this.status(t,R(e,t.ms)/t.ms),this},Zt.status=function(t,e){var n,r,o=[],i=0;if(null!=e)return p(t,this,-1,R(e,1)),this;for(n=ie.length;i1)for(var r=0,o=n.length;r.5)-1;l(g-.5,2)+l(d-.5,2)>.25&&(d=i.sqrt(.25-l(g-.5,2))*o+.5)&&.5!=d&&(d=d.toFixed(5)-1e-5*o)}return u}),o=o.split(/\s*\-\s*/),"linear"==s){var T=o.shift();if(T=-r(T),isNaN(T))return null;var E=[0,0,i.cos(t.rad(T)),i.sin(t.rad(T))],y=1/(A(a(E[2]),a(E[3]))||1);E[2]*=y,E[3]*=y,E[2]<0&&(E[0]=-E[2],E[2]=0),E[3]<0&&(E[1]=-E[3],E[3]=0)}var w=t._parseDots(o);if(!w)return null;if(c=c.replace(/[\(\)\s,\xb0#]/g,"_"),e.gradient&&c!=e.gradient.id&&(f.defs.removeChild(e.gradient),delete e.gradient),!e.gradient){I=h(s+"Gradient",{id:c}),e.gradient=I,h(I,"radial"==s?{fx:g,fy:d}:{x1:E[0],y1:E[1],x2:E[2],y2:E[3],gradientTransform:e.matrix.invert()}),f.defs.appendChild(I);for(var C=0,D=w.length;C1?Q.opacity/100:Q.opacity});case"stroke":Q=t.getRGB(f),l.setAttribute(M,Q.hex),"stroke"==M&&Q[e]("opacity")&&h(l,{"stroke-opacity":Q.opacity>1?Q.opacity/100:Q.opacity}),"stroke"==M&&r._.arrows&&("startString"in r._.arrows&&E(r,r._.arrows.startString),"endString"in r._.arrows&&E(r,r._.arrows.endString,1));break;case"gradient":("circle"==r.type||"ellipse"==r.type||"r"!=n(f).charAt())&&p(r,f);break;case"opacity":c.gradient&&!c[e]("stroke-opacity")&&h(l,{"stroke-opacity":f>1?f/100:f});case"fill-opacity":if(c.gradient){S=t._g.doc.getElementById(l.getAttribute("fill").replace(/^url\(#|\)$/g,u)),S&&(U=S.getElementsByTagName("stop"),h(U[U.length-1],{"stop-opacity":f}));break}default:"font-size"==M&&(f=o(f,10)+"px");var z=M.replace(/(\-.)/g,function(t){return t.substring(1).toUpperCase()});l.style[z]=f,r._.dirty=1,l.setAttribute(M,f)}}x(r,i),l.style.visibility=g},D=1.2,x=function(r,i){if("text"==r.type&&(i[e]("text")||i[e]("font")||i[e]("font-size")||i[e]("x")||i[e]("y"))){var A=r.attrs,a=r.node,l=a.firstChild?o(t._g.doc.defaultView.getComputedStyle(a.firstChild,u).getPropertyValue("font-size"),10):10;if(i[e]("text")){for(A.text=i.text;a.firstChild;)a.removeChild(a.firstChild);for(var s,c=n(i.text).split("\n"),g=[],d=0,M=c.length;d"));var Z=X.getBoundingClientRect();I.W=g.w=(Z.right-Z.left)/W,I.H=g.h=(Z.bottom-Z.top)/W,I.X=g.x,I.Y=g.y+I.H/2,("x"in l||"y"in l)&&(I.path.v=t.format("m{0},{1}l{2},{1}",i(g.x*T),i(g.y*T),i(g.x*T)+1));for(var K=["x","y","text","font","font-family","font-weight","font-style","font-size"],_=0,q=K.length;_.25&&(n=o.sqrt(.25-a(e-.5,2))*(2*(n>.5)-1)+.5),s=e+d+n),M}),i=i.split(/\s*\-\s*/),"linear"==l){var c=i.shift();if(c=-r(c),isNaN(c))return null}var u=t._parseDots(i);if(!u)return null;if(e=e.shape||e.node,u.length){e.removeChild(A),A.on=!0,A.method="none",A.color=u[0].color,A.color2=u[u.length-1].color;for(var g=[],f=0,h=u.length;f')}}catch(t){B=function(t){return e.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="rvml">')}}},t._engine.initWin(t._g.win),t._engine.create=function(){var e=t._getContainer.apply(0,arguments),n=e.container,r=e.height,o=e.width,i=e.x,A=e.y;if(!n)throw new Error("VML container not found.");var a=new t._Paper,l=a.canvas=t._g.doc.createElement("div"),s=l.style;return i=i||0,A=A||0,o=o||512,r=r||342,a.width=o,a.height=r,o==+o&&(o+="px"),r==+r&&(r+="px"),a.coordsize=1e3*T+d+1e3*T,a.coordorigin="0 0",a.span=t._g.doc.createElement("span"),a.span.style.cssText="position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;",l.appendChild(a.span),s.cssText=t.format("top:0;left:0;width:{0};height:{1};display:inline-block;position:relative;clip:rect(0 {0} {1} 0);overflow:hidden",o,r),1==n?(t._g.doc.body.appendChild(l),s.left=i+"px",s.top=A+"px",s.position="absolute"):n.firstChild?n.insertBefore(l,n.firstChild):n.appendChild(l),a.renderfix=function(){},a},t.prototype.clear=function(){t.eve("raphael.clear",this),this.canvas.innerHTML=M,this.span=t._g.doc.createElement("span"),this.span.style.cssText="position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;display:inline;",this.canvas.appendChild(this.span),this.bottom=this.top=null},t.prototype.remove=function(){t.eve("raphael.remove",this),this.canvas.parentNode.removeChild(this.canvas);for(var e in this)this[e]="function"==typeof this[e]?t._removedFactory(e):null;return!0};var j=t.st;for(var Q in v)v[e](Q)&&!j[e](Q)&&(j[Q]=function(t){return function(){var e=arguments;return this.forEach(function(n){n[t].apply(n,e)})}}(Q))}}.apply(e,r),!(void 0!==o&&(t.exports=o))}])})},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n1&&(o=(t+1)/2),r.splice(o,1),2===r.length)r=e.connection._buildStraightLinePathInfo();else{var i=r[1],A=e.connection._buildFromFigureIntersetion({x:i[1],y:i[2]},!0),a=r[0];a[1]=A.x,a[2]=A.y;var l=r[r.length-2],s=e.connection._buildToFigureIntersetion({x:l[1],y:l[2]},!0),c=r[r.length-1];c[1]=s.x,c[2]=s.y}e.path.attr("path",r),e.remove()});var g=function(r,o){e.context.snapto&&(r-=r%10,o-=o%10);var a=this.ox+r,l=this.oy+o;if(!(a<1||l<1)){e.context.resizePaper(a+15,l+15),this.attr("x",a),this.attr("y",l),A=Math.round(t/2);var s=e.path.attr("path"),c=s.length,u=void 0,g=void 0,d=void 0,M=2*(n.length-1)-1;if(0===t||1===t){if(d=s[1],u=e.connection._buildFromFigureIntersetion({x:d[1],y:d[2]},!0),g=n[0],2===n.length){var f=e.connection._buildToFigureIntersetion({x:a,y:l},!0);if(f){var h=n[n.length-1];h[1]=f.x,h[2]=f.y}}}else M!==t&&M!==t+1&&M!==t+2||(d=s[c-2],u=e.connection._buildToFigureIntersetion({x:a,y:l},!0),g=n[n.length-1]);u&&(g[1]=u.x,g[2]=u.y);var p=[];n.forEach(function(t,e){i?e===A?p.push(["L",a,l]):p.push(t):(p.push(t),e===A&&p.push(["L",a,l]))}),e.path.attr("path",p),e.connection._buildText()}},d=function(){this.ox=this.attr("x"),this.oy=this.attr("y"),e.controller.removeOthers(e),this.oldConnectionPathInfo=e.connection.buildPathInfo()},M=function(){var t=e.connection.buildPathInfo(),n=this.oldConnectionPathInfo,r=e.connection.uuid;e.context.addRedoUndo({redo:function(){var n=e.context.getNodeByUUID(r);n.pathInfo=t,n.updatePath(),n._buildText()},undo:function(){var t=e.context.getNodeByUUID(r);t.pathInfo=n,t.updatePath(),t._buildText()}})};this.rect.drag(g,d,M)}},{key:"remove",value:function(){this.rect.remove()}}]),t}();e.default=o},function(t,e){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n'}}]),e}(s.default);e.default=c},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function A(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n'}}]),e}(s.default);e.default=c},function(t,e){"use strict";function n(t){var e=A("消息提示",t);e.modal("show")}function r(t,e){var n=A("确认提示",t,[{name:"确认",click:function(){e.call(this)}}]);n.modal("show")}function o(t,e,n){var r=A(t,e,[{name:"确认",click:function(){n.call(this)}}]);r.modal("show")}function i(t,e,n,r,o){var i=A(t,e,n,o);if(i.modal("show"),r){var a=!0,l=!1,s=void 0;try{for(var c,u=r[Symbol.iterator]();!(a=(c=u.next()).done);a=!0){var g=c.value;i.on(g.name,g.callback)}}catch(t){l=!0,s=t}finally{try{!a&&u.return&&u.return()}finally{if(l)throw s}}}}function A(t,e,n,r){var o=this,i="modal-dialog"+(r?" modal-lg":""),A=$(''),l=$('
');A.append(l);var s=$(''),n.append(this.toolbar),this.toolbarInfo=$(''),this.toolbar.append(this.toolbarInfo),this.nodeToolbar=$('
'),n.append(this.nodeToolbar),this.canvasContainer=$('
'),this.canvasContainer.css("height",$(window).height()-100),n.append(this.canvasContainer),this.context=new c.default(this.canvasContainer),this.canvas=new l.default(this.context),this.context.flowDesigner=this;var r="_prop_container",o=$('
');this.canvasContainer.append(o);var A=$('');o.append(A),A.mousedown(function(t){t.preventDefault()}),this.propContainer=$('
');var a=$('
');a.append('
属性值修改后,请回车以确认
'),a.append(this.propContainer),o.append(a),o.draggable();var s=$("#__prop_panel_tool__");s.click(function(){a.toggle();var t=a.css("display");t&&"none"!==t?(s.removeClass("glyphicon-circle-arrow-left"),s.addClass("glyphicon-circle-arrow-down")):(s.removeClass("glyphicon-circle-arrow-down"),s.addClass("glyphicon-circle-arrow-left"))}),this._bindSnapToEvent(),this._bindShortcutKey()}return A(t,[{key:"setInfo",value:function(t){this.toolbarInfo.html(t)}},{key:"addNode",value:function(t){if(!t.type)return void I.alert("添加节点没有type属性,无法添加.");if(!t.x||!t.y||!t.name)return void I.alert("添加节点需要有x、y及name属性,否则无法添加");if(!this.context.toolsMap.has(t.type))return void I.alert("添加的节点类型"+t.type+"不存在.");var e=this.context.toolsMap.get(t.type),n=t.x,r=t.y,o=t.width,i=t.height,A=t.name;n=parseInt(n),r=parseInt(r),o=parseInt(o),i=parseInt(i);var a=n+o+10,l=r+i+10;this.context.resizePaper(a+50,l+50);var s=e._newNodeInstance(n,r,A);s.initFromJson(t)}},{key:"_bindShortcutKey",value:function(){var t=this,e=!1;$(document).keydown(function(n){17===n.which&&(e=!0),e&&(90===n.which?t.context.undoManager.undo():89===n.which&&t.context.undoManager.redo())}).keyup(function(t){17===t.which&&(e=!1)})}},{key:"_bindSnapToEvent",value:function(){var t=this;g.eventEmitter.on(g.SNAPTO_SELECTED,function(){t.canvasContainer.hasClass("snaptogrid")?(t.canvasContainer.removeClass("snaptogrid"),t.canvasContainer.addClass("nosnaptogrid"),t.context.snapto=!1):(t.canvasContainer.removeClass("nosnaptogrid"),t.canvasContainer.addClass("snaptogrid"),t.context.snapto=!0)})}},{key:"buildDesigner",value:function(){this._buildTools(),this._bindSelectionEvent()}},{key:"getPropertiesProducer",value:function(){return function(){return"
"}}},{key:"_buildTools",value:function(){var t=this,e=this.context,n=this,r=!0,o=!1,i=void 0;try{for(var A,a=function(){var e=A.value,n=$('");n.click(function(){e.click.call(this)}),t.toolbar.append(n)},l=this.buttons[Symbol.iterator]();!(r=(A=l.next()).done);r=!0)a()}catch(t){o=!0,i=t}finally{try{!r&&l.return&&l.return()}finally{if(o)throw i}}var s=$('');this.toolbar.append(s),s.click(function(t){e.cancelConnection(),e.currentTool=e.selectTool,n.nodeToolbar.children("label").removeClass("active")});var c=$('');this.toolbar.append(c),c.click(function(t){e.cancelConnection(),e.currentTool=e.connectionTool,n.nodeToolbar.children("label").removeClass("active")});var u=$('');this.toolbar.append(u),u.click(function(t){e.cancelConnection(),e.undoManager.undo(),n.nodeToolbar.children("label").removeClass("active"),e.currentTool=e.selectTool});var d=$('');this.toolbar.append(d),d.click(function(t){e.cancelConnection(),e.undoManager.redo(),n.nodeToolbar.children("label").removeClass("active"),e.currentTool=e.selectTool});var M=$('');this.toolbar.append(M),M.click(function(t){e.cancelConnection(),g.eventEmitter.emit(g.SNAPTO_SELECTED),n.nodeToolbar.children("label").removeClass("active"),e.currentTool=e.selectTool});var f=$('');this.toolbar.append(f),f.click(function(t){e.cancelConnection(),g.eventEmitter.emit(g.REMOVE_CLICKED),n.nodeToolbar.children("label").removeClass("active"),e.currentTool=e.selectTool});var h=$('');this.toolbar.append(h),h.click(function(t){e.cancelConnection(),g.eventEmitter.emit(g.ALIGN_CENTER),n.nodeToolbar.children("label").removeClass("active"),e.currentTool=e.selectTool});var p=$('');this.toolbar.append(p),p.click(function(t){e.cancelConnection(),g.eventEmitter.emit(g.ALIGN_MIDDLE),n.nodeToolbar.children("label").removeClass("active"),e.currentTool=e.selectTool});var I=$('');this.toolbar.append(I),I.click(function(t){e.cancelConnection(),g.eventEmitter.emit(g.UNIFY_SIZE),n.nodeToolbar.children("label").removeClass("active"),e.currentTool=e.selectTool}),this._buildNodeTools()}},{key:"_buildNodeTools",value:function(){var t=this,e=!0,n=!1,r=void 0;try{for(var o,i=function(){var e=o.value,n=$('\n \n ");t.nodeToolbar.append(n),n.click(function(){g.eventEmitter.emit(g.TRIGGER_TOOL,e.getType())})},A=this.context.toolsMap.values()[Symbol.iterator]();!(e=(o=A.next()).done);e=!0)i()}catch(t){n=!0,r=t}finally{try{!e&&A.return&&A.return()}finally{if(n)throw r}}}},{key:"_bindSelectionEvent",value:function(){var t=this,e=this;g.eventEmitter.on(g.OBJECT_SELECTED,function(n){if(t.propContainer.empty(),n instanceof M.default){var r=n.name||n.text.attr("text"),o=$('
'),i=$('');o.append(i),t.propContainer.append(o),i.change(function(t){var r=$(this).val(),o=n.name,i=n.uuid,A=!1,a=!0,l=!1,s=void 0;try{for(var c,u=e.context.allFigures[Symbol.iterator]();!(a=(c=u.next()).done);a=!0){var g=c.value;if(g instanceof M.default&&g!==n&&g.name===r){A=!0;break}}}catch(t){l=!0,s=t}finally{try{!a&&u.return&&u.return()}finally{if(l)throw s}}return A?void I.alert("节点名已存在!"):(n.name=r,n.text.attr("text",$(this).val()),void e.context.addRedoUndo({redo:function(){var t=e.context.getNodeByUUID(i);t.name=r,t.text.attr("text",r)},undo:function(){var t=e.context.getNodeByUUID(i);t.name=o,t.text.attr("text",o)}}))}),t.propContainer.append(n._tool.getPropertiesProducer().call(n))}else if(n instanceof h.default){var A=$('
'),a=$('');A.append(a),t.propContainer.append(A),a.change(function(t){var r=$(this).val(),o=n.name,i=n.uuid,A=n.from.fromConnections,a=!1,l=!0,s=!1,c=void 0;try{for(var u,g=A[Symbol.iterator]();!(l=(u=g.next()).done);l=!0){var d=u.value;if(d!==n&&d.name===r){a=!0;break}}}catch(t){s=!0,c=t}finally{try{!l&&g.return&&g.return()}finally{if(s)throw c}}return a?void I.alert("连线名已存在"):(n.name=r,n._buildText(),void e.context.addRedoUndo({redo:function(){var t=e.context.getNodeByUUID(i);t.name=r,t._buildText()},undo:function(){var t=e.context.getNodeByUUID(i);t.name=o,t._buildText()}}))});var l=$('
'),s=$('');l.append(s),s.val(n.type),s.change(function(t){var r=$(this).val(),o=n.uuid,i=n.type;n.type=r,n.updatePath(),e.context.resetSelection(),e.context.addRedoUndo({redo:function(){var t=e.context.getNodeByUUID(o);t.type=r,t.updatePath()},undo:function(){var t=e.context.getNodeByUUID(o);t.type=i,t.updatePath()}})}),t.propContainer.append(l),t.propContainer.append(n.from._tool.getConnectionPropertiesProducer().call(n))}}),g.eventEmitter.on(g.CANVAS_SELECTED,function(){t.propContainer.empty(),t.propContainer.append(t.getPropertiesProducer().call(t))}),g.eventEmitter.emit(g.CANVAS_SELECTED)}},{key:"addButton",value:function(t){return t.icon&&t.tip&&t.click?(this.buttons.push(t),!0):(I.alert("添加到设计器工具栏的按钮对象必须要有icon、tip及click三个属性."),!1)}},{key:"addTool",value:function(t){return t.context=this.context,this.context.registerTool(t),this}},{key:"toJSON",value:function(){return this.elementsToJSON()}},{key:"validate",value:function(){var t=[],e=!0,n=!1,r=void 0;try{for(var o,i=this.context.allFigures[Symbol.iterator]();!(e=(o=i.next()).done);e=!0){var A=o.value;if(A instanceof M.default){var a=A.validate();a&&t.push(a)}}}catch(t){n=!0,r=t}finally{try{!e&&i.return&&i.return()}finally{if(n)throw r}}if(t.length>0){var l="";return t.forEach(function(t,e){l+=e+1+"."+t+"
"}),l='错误:
'+l+"
",I.alert(l),!1}return!0}},{key:"elementsToJSON",value:function(){var t=[];return this.context.allFigures.forEach(function(e,n){e instanceof M.default&&t.push(e.toJSON())}),t}}]),t}();e.default=N},function(t,e,n){var r=n(254);"string"==typeof r&&(r=[[t.id,r,""]]);n(9)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){e=t.exports=n(3)(),e.push([t.id,"@font-face{font-family:fd;src:url("+n(255)+");src:url("+n(255)+") format('embedded-opentype'),url("+n(256)+") format('woff'),url("+n(257)+") format('truetype'),url("+n(258)+') format(\'svg\')}.fd{font-family:fd!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-webkit-text-stroke-width:.2px;-moz-osx-font-smoothing:grayscale}.fd-delete:before{content:"\\E605"}.fd-undo:before{content:"\\E609"}.fd-snapto:before{content:"\\E603"}.fd-redo:before{content:"\\E60A"}.fd-select:before{content:"\\E601"}.fd-align-center:before{content:"\\E607"}.fd-align-middle:before{content:"\\E608"}.fd-line:before{content:"\\E602"}.fd-samesize:before{content:"\\E606"}',""])},function(t,e){t.exports="data:application/vnd.ms-fontobject;base64,cB0AAGwcAAABAAIAAAAAAAIABgMAAAAAAAABAPQBAAAAAExQAQAAAAAAABAAAAAAAAAAAAEAAAAAAAAA2nlVlQAAAAAAAAAAAAAAAAAAAAAAAAQAZgBkAAAADABNAGUAZABpAHUAbQAAAIwAVgBlAHIAcwBpAG8AbgAgADEALgAwACAAOwAgAHQAdABmAGEAdQB0AG8AaABpAG4AdAAgACgAdgAwAC4AOQA0ACkAI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DYRuwA0NgWbADJbCAYmGwAiVGYTgjIDwjOBshICBGI0ewACsjYTghWbEkARQrLbA7LLAuKy6xJAEUKy2wPCywLyshIyAgPLAEI0IjOLEkARQrsARDLrAkKy2wPSywABUgR7AAI0KyAAEBFRQTLrAqKi2wPiywABUgR7AAI0KyAAEBFRQTLrAqKi2wPyyxAAEUE7ArKi2wQCywLSotsEEssAAWRSMgLiBGiiNhOLEkARQrLbBCLLAJI0KwQSstsEMssgAAOistsEQssgABOistsEUssgEAOistsEYssgEBOistsEcssgAAOystsEgssgABOystsEkssgEAOystsEossgEBOystsEsssgAANystsEwssgABNystsE0ssgEANystsE4ssgEBNystsE8ssgAAOSstsFAssgABOSstsFEssgEAOSstsFIssgEBOSstsFMssgAAPCstsFQssgABPCstsFUssgEAPCstsFYssgEBPCstsFcssgAAOCstsFgssgABOCstsFkssgEAOCstsFossgEBOCstsFsssDArLrEkARQrLbBcLLAwK7A0Ky2wXSywMCuwNSstsF4ssAAWsDArsDYrLbBfLLAxKy6xJAEUKy2wYCywMSuwNCstsGEssDErsDUrLbBiLLAxK7A2Ky2wYyywMisusSQBFCstsGQssDIrsDQrLbBlLLAyK7A1Ky2wZiywMiuwNistsGcssDMrLrEkARQrLbBoLLAzK7A0Ky2waSywMyuwNSstsGossDMrsDYrLbBrLCuwCGWwAyRQeLABFTAtAABLuADIUlixAQGOWbkIAAgAYyCwASNEILADI3CwDkUgIEu4AA5RS7AGU1pYsDQbsChZYGYgilVYsAIlYbABRWMjYrACI0SzCgkFBCuzCgsFBCuzDg8FBCtZsgQoCUVSRLMKDQYEK7EGAUSxJAGIUViwQIhYsQYDRLEmAYhRWLgEAIhYsQYBRFlZWVm4Af+FsASNsQUARAAAAA=="; },function(t,e){t.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pg0KPCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaH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o="},function(t,e,n){var r=n(260);"string"==typeof r&&(r=[[t.id,r,""]]);n(9)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){e=t.exports=n(3)(),e.push([t.id,".fd-toolbar{border:1px solid #ddd;width:100%;background:#fff}.fd-node-toolbar{border-left:1px solid #ddd;border-right:1px solid #ddd;width:100%;background:#fff}.fd-canvas-container{border:1px solid #eee;background-color:#fff}.fd-property-panel{width:400px;border:1px solid #999;border-radius:5px;top:36px;left:600px;position:absolute;background:#fff;box-shadow:5px 5px 5px #888}.snaptogrid{background-image:url("+n(261)+")}.nosnaptogrid{background-image:none}",""])},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAHUlEQVQYV2NkYGAwBuKzQIwXMBJSAJMfVUidcAQAnUQBC6jEGBUAAAAASUVORK5CYII="},function(t,e,n){n(263),n(264),n(265),n(266),n(267),n(268),n(269),n(270),n(271),n(272),n(273),n(274)},function(t,e){+function(t){"use strict";function e(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in e)if(void 0!==t.style[n])return{end:e[n]};return!1}t.fn.emulateTransitionEnd=function(e){var n=!1,r=this;t(this).one("bsTransitionEnd",function(){n=!0});var o=function(){n||t(r).trigger(t.support.transition.end)};return setTimeout(o,e),this},t(function(){t.support.transition=e(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}})})}(jQuery)},function(t,e){+function(t){"use strict";function e(e){return this.each(function(){var n=t(this),o=n.data("bs.alert");o||n.data("bs.alert",o=new r(this)),"string"==typeof e&&o[e].call(n)})}var n='[data-dismiss="alert"]',r=function(e){t(e).on("click",n,this.close)};r.VERSION="3.3.7",r.TRANSITION_DURATION=150,r.prototype.close=function(e){function n(){A.detach().trigger("closed.bs.alert").remove()}var o=t(this),i=o.attr("data-target");i||(i=o.attr("href"),i=i&&i.replace(/.*(?=#[^\s]*$)/,""));var A=t("#"===i?[]:i);e&&e.preventDefault(),A.length||(A=o.closest(".alert")),A.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(A.removeClass("in"),t.support.transition&&A.hasClass("fade")?A.one("bsTransitionEnd",n).emulateTransitionEnd(r.TRANSITION_DURATION):n())};var o=t.fn.alert;t.fn.alert=e,t.fn.alert.Constructor=r,t.fn.alert.noConflict=function(){return t.fn.alert=o,this},t(document).on("click.bs.alert.data-api",n,r.prototype.close)}(jQuery)},function(t,e){+function(t){"use strict";function e(e){return this.each(function(){var r=t(this),o=r.data("bs.button"),i="object"==typeof e&&e;o||r.data("bs.button",o=new n(this,i)),"toggle"==e?o.toggle():e&&o.setState(e)})}var n=function(e,r){this.$element=t(e),this.options=t.extend({},n.DEFAULTS,r),this.isLoading=!1};n.VERSION="3.3.7",n.DEFAULTS={loadingText:"loading..."},n.prototype.setState=function(e){var n="disabled",r=this.$element,o=r.is("input")?"val":"html",i=r.data();e+="Text",null==i.resetText&&r.data("resetText",r[o]()),setTimeout(t.proxy(function(){r[o](null==i[e]?this.options[e]:i[e]),"loadingText"==e?(this.isLoading=!0,r.addClass(n).attr(n,n).prop(n,!0)):this.isLoading&&(this.isLoading=!1,r.removeClass(n).removeAttr(n).prop(n,!1))},this),0)},n.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var n=this.$element.find("input");"radio"==n.prop("type")?(n.prop("checked")&&(t=!1),e.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==n.prop("type")&&(n.prop("checked")!==this.$element.hasClass("active")&&(t=!1),this.$element.toggleClass("active")),n.prop("checked",this.$element.hasClass("active")),t&&n.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var r=t.fn.button;t.fn.button=e,t.fn.button.Constructor=n,t.fn.button.noConflict=function(){return t.fn.button=r,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(n){var r=t(n.target).closest(".btn");e.call(r,"toggle"),t(n.target).is('input[type="radio"], input[type="checkbox"]')||(n.preventDefault(),r.is("input,button")?r.trigger("focus"):r.find("input:visible,button:visible").first().trigger("focus"))}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(e){t(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))})}(jQuery)},function(t,e){+function(t){"use strict";function e(e){return this.each(function(){var r=t(this),o=r.data("bs.carousel"),i=t.extend({},n.DEFAULTS,r.data(),"object"==typeof e&&e),A="string"==typeof e?e:i.slide;o||r.data("bs.carousel",o=new n(this,i)),"number"==typeof e?o.to(e):A?o[A]():i.interval&&o.pause().cycle()})}var n=function(e,n){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",t.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};n.VERSION="3.3.7",n.TRANSITION_DURATION=600,n.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},n.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},n.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},n.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},n.prototype.getItemForDirection=function(t,e){var n=this.getItemIndex(e),r="prev"==t&&0===n||"next"==t&&n==this.$items.length-1;if(r&&!this.options.wrap)return e;var o="prev"==t?-1:1,i=(n+o)%this.$items.length;return this.$items.eq(i)},n.prototype.to=function(t){var e=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(t>this.$items.length-1||t<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){e.to(t)}):n==t?this.pause().cycle():this.slide(t>n?"next":"prev",this.$items.eq(t))},n.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},n.prototype.next=function(){if(!this.sliding)return this.slide("next")},n.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},n.prototype.slide=function(e,r){var o=this.$element.find(".item.active"),i=r||this.getItemForDirection(e,o),A=this.interval,a="next"==e?"left":"right",l=this;if(i.hasClass("active"))return this.sliding=!1;var s=i[0],c=t.Event("slide.bs.carousel",{relatedTarget:s,direction:a});if(this.$element.trigger(c),!c.isDefaultPrevented()){if(this.sliding=!0,A&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var u=t(this.$indicators.children()[this.getItemIndex(i)]);u&&u.addClass("active")}var g=t.Event("slid.bs.carousel",{relatedTarget:s,direction:a});return t.support.transition&&this.$element.hasClass("slide")?(i.addClass(e),i[0].offsetWidth,o.addClass(a),i.addClass(a),o.one("bsTransitionEnd",function(){i.removeClass([e,a].join(" ")).addClass("active"),o.removeClass(["active",a].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger(g)},0)}).emulateTransitionEnd(n.TRANSITION_DURATION)):(o.removeClass("active"),i.addClass("active"),this.sliding=!1,this.$element.trigger(g)),A&&this.cycle(),this}};var r=t.fn.carousel;t.fn.carousel=e,t.fn.carousel.Constructor=n,t.fn.carousel.noConflict=function(){return t.fn.carousel=r,this};var o=function(n){var r,o=t(this),i=t(o.attr("data-target")||(r=o.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,""));if(i.hasClass("carousel")){var A=t.extend({},i.data(),o.data()),a=o.attr("data-slide-to");a&&(A.interval=!1),e.call(i,A),a&&i.data("bs.carousel").to(a),n.preventDefault()}};t(document).on("click.bs.carousel.data-api","[data-slide]",o).on("click.bs.carousel.data-api","[data-slide-to]",o),t(window).on("load",function(){t('[data-ride="carousel"]').each(function(){var n=t(this);e.call(n,n.data())})})}(jQuery)},function(t,e){+function(t){"use strict";function e(e){var n,r=e.attr("data-target")||(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return t(r)}function n(e){return this.each(function(){var n=t(this),o=n.data("bs.collapse"),i=t.extend({},r.DEFAULTS,n.data(),"object"==typeof e&&e);!o&&i.toggle&&/show|hide/.test(e)&&(i.toggle=!1),o||n.data("bs.collapse",o=new r(this,i)),"string"==typeof e&&o[e]()})}var r=function(e,n){this.$element=t(e),this.options=t.extend({},r.DEFAULTS,n),this.$trigger=t('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.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.7",r.TRANSITION_DURATION=350,r.DEFAULTS={toggle:!0},r.prototype.dimension=function(){var t=this.$element.hasClass("width");return t?"width":"height"},r.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e,o=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(o&&o.length&&(e=o.data("bs.collapse"),e&&e.transitioning))){var i=t.Event("show.bs.collapse");if(this.$element.trigger(i),!i.isDefaultPrevented()){o&&o.length&&(n.call(o,"hide"),e||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 a=function(){this.$element.removeClass("collapsing").addClass("collapse in")[A](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return a.call(this);var l=t.camelCase(["scroll",A].join("-"));this.$element.one("bsTransitionEnd",t.proxy(a,this)).emulateTransitionEnd(r.TRANSITION_DURATION)[A](this.$element[0][l])}}}},r.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var e=t.Event("hide.bs.collapse");if(this.$element.trigger(e),!e.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 t.support.transition?void this.$element[n](0).one("bsTransitionEnd",t.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 t(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy(function(n,r){var o=t(r);this.addAriaAndCollapsedClass(e(o),o)},this)).end()},r.prototype.addAriaAndCollapsedClass=function(t,e){var n=t.hasClass("in");t.attr("aria-expanded",n),e.toggleClass("collapsed",!n).attr("aria-expanded",n)};var o=t.fn.collapse;t.fn.collapse=n,t.fn.collapse.Constructor=r,t.fn.collapse.noConflict=function(){return t.fn.collapse=o,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(r){var o=t(this);o.attr("data-target")||r.preventDefault();var i=e(o),A=i.data("bs.collapse"),a=A?"toggle":o.data();n.call(i,a)})}(jQuery)},function(t,e){+function(t){"use strict";function e(e){var n=e.attr("data-target");n||(n=e.attr("href"),n=n&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var r=n&&t(n);return r&&r.length?r:e.parent()}function n(n){n&&3===n.which||(t(o).remove(),t(i).each(function(){var r=t(this),o=e(r),i={relatedTarget:this};o.hasClass("open")&&(n&&"click"==n.type&&/input|textarea/i.test(n.target.tagName)&&t.contains(o[0],n.target)||(o.trigger(n=t.Event("hide.bs.dropdown",i)),n.isDefaultPrevented()||(r.attr("aria-expanded","false"),o.removeClass("open").trigger(t.Event("hidden.bs.dropdown",i)))))}))}function r(e){return this.each(function(){var n=t(this),r=n.data("bs.dropdown");r||n.data("bs.dropdown",r=new A(this)),"string"==typeof e&&r[e].call(n)})}var o=".dropdown-backdrop",i='[data-toggle="dropdown"]',A=function(e){t(e).on("click.bs.dropdown",this.toggle)};A.VERSION="3.3.7",A.prototype.toggle=function(r){var o=t(this);if(!o.is(".disabled, :disabled")){var i=e(o),A=i.hasClass("open");if(n(),!A){"ontouchstart"in document.documentElement&&!i.closest(".navbar-nav").length&&t(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(t(this)).on("click",n);var a={relatedTarget:this};if(i.trigger(r=t.Event("show.bs.dropdown",a)),r.isDefaultPrevented())return;o.trigger("focus").attr("aria-expanded","true"),i.toggleClass("open").trigger(t.Event("shown.bs.dropdown",a))}return!1}},A.prototype.keydown=function(n){if(/(38|40|27|32)/.test(n.which)&&!/input|textarea/i.test(n.target.tagName)){var r=t(this);if(n.preventDefault(),n.stopPropagation(),!r.is(".disabled, :disabled")){var o=e(r),A=o.hasClass("open");if(!A&&27!=n.which||A&&27==n.which)return 27==n.which&&o.find(i).trigger("focus"),r.trigger("click");var a=" li:not(.disabled):visible a",l=o.find(".dropdown-menu"+a);if(l.length){var s=l.index(n.target);38==n.which&&s>0&&s--,40==n.which&&sdocument.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},n.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},n.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth
',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},n.prototype.init=function(e,n,r){if(this.enabled=!0,this.type=e,this.$element=t(n),this.options=this.getOptions(r),this.$viewport=this.options.viewport&&t(t.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var o=this.options.trigger.split(" "),i=o.length;i--;){var A=o[i];if("click"==A)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=A){var a="hover"==A?"mouseenter":"focusin",l="hover"==A?"mouseleave":"focusout";this.$element.on(a+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},n.prototype.getDefaults=function(){return n.DEFAULTS},n.prototype.getOptions=function(e){return e=t.extend({},this.getDefaults(),this.$element.data(),e),e.delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},n.prototype.getDelegateOptions=function(){var e={},n=this.getDefaults();return this._options&&t.each(this._options,function(t,r){n[t]!=r&&(e[t]=r)}),e},n.prototype.enter=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),e instanceof t.Event&&(n.inState["focusin"==e.type?"focus":"hover"]=!0),n.tip().hasClass("in")||"in"==n.hoverState?void(n.hoverState="in"):(clearTimeout(n.timeout),n.hoverState="in",n.options.delay&&n.options.delay.show?void(n.timeout=setTimeout(function(){"in"==n.hoverState&&n.show()},n.options.delay.show)):n.show())},n.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},n.prototype.leave=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),e instanceof t.Event&&(n.inState["focusout"==e.type?"focus":"hover"]=!1),!n.isInStateTrue())return clearTimeout(n.timeout),n.hoverState="out",n.options.delay&&n.options.delay.hide?void(n.timeout=setTimeout(function(){"out"==n.hoverState&&n.hide()},n.options.delay.hide)):n.hide()},n.prototype.show=function(){var e=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var r=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!r)return;var o=this,i=this.tip(),A=this.getUID(this.type);this.setContent(),i.attr("id",A),this.$element.attr("aria-describedby",A),this.options.animation&&i.addClass("fade");var a="function"==typeof this.options.placement?this.options.placement.call(this,i[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,s=l.test(a);s&&(a=a.replace(l,"")||"top"),i.detach().css({top:0,left:0,display:"block"}).addClass(a).data("bs."+this.type,this), this.options.container?i.appendTo(this.options.container):i.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var c=this.getPosition(),u=i[0].offsetWidth,g=i[0].offsetHeight;if(s){var d=a,M=this.getPosition(this.$viewport);a="bottom"==a&&c.bottom+g>M.bottom?"top":"top"==a&&c.top-gM.width?"left":"left"==a&&c.left-uA.top+A.height&&(o.top=A.top+A.height-l)}else{var s=e.left-i,c=e.left+i+n;sA.right&&(o.left=A.left+A.width-c)}return o},n.prototype.getTitle=function(){var t,e=this.$element,n=this.options;return t=e.attr("data-original-title")||("function"==typeof n.title?n.title.call(e[0]):n.title)},n.prototype.getUID=function(t){do t+=~~(1e6*Math.random());while(document.getElementById(t));return t},n.prototype.tip=function(){if(!this.$tip&&(this.$tip=t(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},n.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},n.prototype.enable=function(){this.enabled=!0},n.prototype.disable=function(){this.enabled=!1},n.prototype.toggleEnabled=function(){this.enabled=!this.enabled},n.prototype.toggle=function(e){var n=this;e&&(n=t(e.currentTarget).data("bs."+this.type),n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n))),e?(n.inState.click=!n.inState.click,n.isInStateTrue()?n.enter(n):n.leave(n)):n.tip().hasClass("in")?n.leave(n):n.enter(n)},n.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null,t.$element=null})};var r=t.fn.tooltip;t.fn.tooltip=e,t.fn.tooltip.Constructor=n,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=r,this}}(jQuery)},function(t,e){+function(t){"use strict";function e(e){return this.each(function(){var r=t(this),o=r.data("bs.popover"),i="object"==typeof e&&e;!o&&/destroy|hide/.test(e)||(o||r.data("bs.popover",o=new n(this,i)),"string"==typeof e&&o[e]())})}var n=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");n.VERSION="3.3.7",n.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),n.prototype=t.extend({},t.fn.tooltip.Constructor.prototype),n.prototype.constructor=n,n.prototype.getDefaults=function(){return n.DEFAULTS},n.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),n=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof n?"html":"append":"text"](n),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},n.prototype.hasContent=function(){return this.getTitle()||this.getContent()},n.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},n.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var r=t.fn.popover;t.fn.popover=e,t.fn.popover.Constructor=n,t.fn.popover.noConflict=function(){return t.fn.popover=r,this}}(jQuery)},function(t,e){+function(t){"use strict";function e(n,r){this.$body=t(document.body),this.$scrollElement=t(t(n).is(document.body)?window:n),this.options=t.extend({},e.DEFAULTS,r),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",t.proxy(this.process,this)),this.refresh(),this.process()}function n(n){return this.each(function(){var r=t(this),o=r.data("bs.scrollspy"),i="object"==typeof n&&n;o||r.data("bs.scrollspy",o=new e(this,i)),"string"==typeof n&&o[n]()})}e.VERSION="3.3.7",e.DEFAULTS={offset:10},e.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},e.prototype.refresh=function(){var e=this,n="offset",r=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),t.isWindow(this.$scrollElement[0])||(n="position",r=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var e=t(this),o=e.data("target")||e.attr("href"),i=/^#./.test(o)&&t(o);return i&&i.length&&i.is(":visible")&&[[i[n]().top+r,o]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){e.offsets.push(this[0]),e.targets.push(this[1])})},e.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),r=this.options.offset+n-this.$scrollElement.height(),o=this.offsets,i=this.targets,A=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),e>=r)return A!=(t=i[i.length-1])&&this.activate(t);if(A&&e=o[t]&&(void 0===o[t+1]||e .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),e.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),a?(e[0].offsetWidth,e.addClass("in")):e.removeClass("fade"),e.parent(".dropdown-menu").length&&e.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),o&&o()}var A=r.find("> .active"),a=o&&t.support.transition&&(A.length&&A.hasClass("fade")||!!r.find("> .fade").length);A.length&&a?A.one("bsTransitionEnd",i).emulateTransitionEnd(n.TRANSITION_DURATION):i(),A.removeClass("in")};var r=t.fn.tab;t.fn.tab=e,t.fn.tab.Constructor=n,t.fn.tab.noConflict=function(){return t.fn.tab=r,this};var o=function(n){n.preventDefault(),e.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',o).on("click.bs.tab.data-api",'[data-toggle="pill"]',o)}(jQuery)},function(t,e){+function(t){"use strict";function e(e){return this.each(function(){var r=t(this),o=r.data("bs.affix"),i="object"==typeof e&&e;o||r.data("bs.affix",o=new n(this,i)),"string"==typeof e&&o[e]()})}var n=function(e,r){this.options=t.extend({},n.DEFAULTS,r),this.$target=t(this.options.target).on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(e),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};n.VERSION="3.3.7",n.RESET="affix affix-top affix-bottom",n.DEFAULTS={offset:0,target:window},n.prototype.getState=function(t,e,n,r){var o=this.$target.scrollTop(),i=this.$element.offset(),A=this.$target.height();if(null!=n&&"top"==this.affixed)return o=t-r&&"bottom"},n.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(n.RESET).addClass("affix");var t=this.$target.scrollTop(),e=this.$element.offset();return this.pinnedOffset=e.top-t},n.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},n.prototype.checkPosition=function(){if(this.$element.is(":visible")){var e=this.$element.height(),r=this.options.offset,o=r.top,i=r.bottom,A=Math.max(t(document).height(),t(document.body).height());"object"!=typeof r&&(i=o=r),"function"==typeof o&&(o=r.top(this.$element)),"function"==typeof i&&(i=r.bottom(this.$element));var a=this.getState(A,e,o,i);if(this.affixed!=a){null!=this.unpin&&this.$element.css("top","");var l="affix"+(a?"-"+a:""),s=t.Event(l+".bs.affix");if(this.$element.trigger(s),s.isDefaultPrevented())return;this.affixed=a,this.unpin="bottom"==a?this.getPinnedOffset():null,this.$element.removeClass(n.RESET).addClass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==a&&this.$element.offset({top:A-e-i})}};var r=t.fn.affix;t.fn.affix=e,t.fn.affix.Constructor=n,t.fn.affix.noConflict=function(){return t.fn.affix=r,this},t(window).on("load",function(){t('[data-spy="affix"]').each(function(){var n=t(this),r=n.data();r.offset=r.offset||{},null!=r.offsetBottom&&(r.offset.bottom=r.offsetBottom),null!=r.offsetTop&&(r.offset.top=r.offsetTop),e.call(n,r)})})}(jQuery)},function(t,e){"use strict";!function(t){t.fn.draggable=function(e){var n=t.extend({handle:0,exclude:0},e);return this.each(function(){var e,r,o=t(this),i=n.handle?t(n.handle,o):o;i.on({mousedown:function(i){var A=i.target,a="",l=!1;if(A&&(a=A.className,a&&(a=a.trim(),a.indexOf("cm-")>-1?l=!0:a.indexOf("CodeMirror-")>-1&&(l=!0))),(!a||"form-control"!==a&&"presentation"!==a&&!l)&&!(a.indexOf("ureport")>-1||a.indexOf("ds_name")>-1||a.indexOf("dataset_name")>-1||"A"===A.tagName||"INPUT"===A.tagName||A&&"presentation"===t(A).attr("role")||n.exclude&&~t.inArray(i.target,t(n.exclude,o)))){var s=o.offset();e=i.pageX-s.left,r=i.pageY-s.top,t(document).on("mousemove.drag",function(t){o.offset({top:t.pageY-r,left:t.pageX-e})})}},mouseup:function(e){t(document).off("mousemove.drag")}})})}}(jQuery)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n0&&A.push(u)}else{var h=u.rect,p=h.getBBox();(p.x>=n.x&&p.x<=n.x2||p.x2>=n.x&&p.x2<=n.x2)&&(p.y>=n.y&&p.y<=n.y2||p.y2>=n.y&&p.y2<=n.y2)&&l.push(u)}}l.length>0?l.forEach(function(t,e){o.addSelection(t)}):A.forEach(function(t,e){o.addSelection(t)}),o.endSelect()}}var r=null,o=this.context,i=o.paper;i.set();this.canvas=i.rect(0,0,i.width,i.height).attr({fill:"#FFF",opacity:0}),this.canvas.toBack(),this.canvas.drag(e,t,n),this.canvas.click(function(t){var e=o.currentTool;if(!(!e||e instanceof u.default||e instanceof s.default)){var n=t.offsetX,r=t.offsetY,i=e._newNodeInstance(n,r);i&&!function(){var t=i.uuid,A=i.name,a=i.toJSON();o.addRedoUndo({redo:function(){i=e._newNodeInstance(n,r,A),i.initFromJson(a)},undo:function(){o.removeFigureByUUID(t)}})}()}}),this.canvas.mousemove(function(t){if(o.currentTool&&o.currentTool instanceof u.default){var e=o.currentConnection;if(e){var n=t.offsetX,r=t.offsetY;e.endX=n,e.endY=r,e.updatePath()}}})}}]),t}();e.default=M},function(t,e,n){"use strict";function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function o(t){return t&&t.__esModule?t:{default:t}}function i(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);en&&this.container.width(t+10),e>r&&this.container.height(e+10)}},{key:"addRedoUndo",value:function(t){this.undoManager.add(t)}},{key:"addSelection",value:function(t){this.selectionFigures.push(t),t instanceof N.default?this.selectionPaths.push(t.path):this.selectionRects.push(t.rect)}},{key:"endSelect",value:function(){this.selectionRects.attr("stroke","#FF9800"),this.selectionPaths.attr({stroke:"#999","stroke-dasharray":"20"});var t=null;this.selectionFigures.forEach(function(e,n){t||(t=e),e instanceof N.default&&e.select()}),t&&E.eventEmitter.emit(E.OBJECT_SELECTED,t)}},{key:"resetSelection",value:function(){this.selectionRects.attr("stroke","#fff"),this.selectionPaths.attr({stroke:"#999","stroke-dasharray":"none"}),this.selectionRects=this.paper.set(),this.selectionPaths=this.paper.set(),this.selectionFigures.forEach(function(t,e){t instanceof N.default&&t.unSelect()}),this.selectionFigures.splice(0,this.selectionFigures.length),E.eventEmitter.emit(E.CANVAS_SELECTED)}},{key:"registerTool",value:function(t){var e=t.getType();if(this.toolsMap.has(e))throw"Figure ["+e+"] already exist.";this.toolsMap.set(e,t)}},{key:"nextUUID",value:function(){return d.default.v1()}},{key:"getFigureById",value:function(t){var e=void 0,n=!0,r=!1,o=void 0;try{for(var i,A=this.allFigures[Symbol.iterator]();!(n=(i=A.next()).done);n=!0){var a=i.value;if(a instanceof w.default&&(a.rect.id===t||a.icon.id===t||a.text.id===t)){e=a;break}}}catch(t){r=!0,o=t}finally{try{!n&&A.return&&A.return()}finally{if(r)throw o}}return e}},{key:"getNodeByUUID",value:function(t){var e=void 0,n=!0,r=!1,o=void 0;try{for(var i,A=this.allFigures[Symbol.iterator]();!(n=(i=A.next()).done);n=!0){var a=i.value;if(a.uuid===t){e=a;break}}}catch(t){r=!0,o=t}finally{try{!n&&A.return&&A.return()}finally{if(r)throw o}}return e}},{key:"removeFigureByUUID",value:function(t){var e=this.getNodeByUUID(t),n=this.allFigures.indexOf(e);this.allFigures.splice(n,1),e.remove()}},{key:"cancelConnection",value:function(){if(this.currentConnection){var t=this.currentConnection.from.fromConnections,e=t.indexOf(this.currentConnection);t.splice(e,1),this.currentConnection.path.remove(),this.currentConnection.text&&this.currentConnection.text.remove()}this.currentConnection=null}},{key:"_initEvent",value:function(){var t=this;E.eventEmitter.on(E.TRIGGER_TOOL,function(e){if(!t.toolsMap.has(e))throw"Node "+e+" not exist.";t.currentTool=t.toolsMap.get(e),t.cancelConnection()}),E.eventEmitter.on(E.REMOVE_CLICKED,function(){var e=[].concat(i(t.selectionFigures));0!==e&&(t.resetSelection(),e.forEach(function(e,n){var r=e.toJSON(),o=e.uuid,i=t;e instanceof N.default?t.addRedoUndo({redo:function(){var t=i.getNodeByUUID(o),e=t.from.uuid,n=t.to.uuid,A=i.context.getNodeByUUID(e),a=i.context.getNodeByUUID(n),l=new N.default(A,{x:A.rect.attr("x"),y:A.rect.attr("y")});A.fromConnections.push(l),a.toConnections.push(l),l.to=a,l.fromJSON(r)},undo:function(){i.removeFigureByUUID(o)}}):!function(){var n=e._tool;t.addRedoUndo({redo:function(){i.removeFigureByUUID(o)},undo:function(){var t=n._newNodeInstance(10,10,"");t&&(t.initFromJson(r),t._buildConnections())}})}(),t.removeFigureByUUID(o)}))}),E.eventEmitter.on(E.ALIGN_CENTER,function(){var e=-1,n=-1,r=void 0,o=new Map,i=0,A=!0,a=!1,l=void 0;try{for(var s,c=t.selectionFigures[Symbol.iterator]();!(A=(s=c.next()).done);A=!0){var u=s.value;if(u instanceof N.default)break;var g={oldXY:{x:u.rect.attr("x"),y:u.rect.attr("y")}};0===i?(e=u.rect.attr("x"),r=u.rect.attr("width"),e+=r/2):u.moveTo(e,n),g.newXY={x:u.rect.attr("x"),y:u.rect.attr("y")},o.set(u.uuid,g),i++}}catch(t){a=!0,l=t}finally{try{!A&&c.return&&c.return()}finally{if(a)throw l}}var d=t;t.addRedoUndo({redo:function(){var t=!0,e=!1,n=void 0;try{for(var r,i=o.keys()[Symbol.iterator]();!(t=(r=i.next()).done);t=!0){var A=r.value,a=d.getNodeByUUID(A),l=o.get(A),s=l.newXY;a.move(s.x,s.y,a.rect.attr("width"),a.rect.attr("height"))}}catch(t){e=!0,n=t}finally{try{!t&&i.return&&i.return()}finally{if(e)throw n}}},undo:function(){var t=!0,e=!1,n=void 0;try{for(var r,i=o.keys()[Symbol.iterator]();!(t=(r=i.next()).done);t=!0){var A=r.value,a=d.getNodeByUUID(A),l=o.get(A),s=l.oldXY;a.move(s.x,s.y,a.rect.attr("width"),a.rect.attr("height"))}}catch(t){e=!0,n=t}finally{try{!t&&i.return&&i.return()}finally{if(e)throw n}}}})}),E.eventEmitter.on(E.ALIGN_MIDDLE,function(){var e=-1,n=-1,r=void 0,o=new Map,i=0,A=!0,a=!1,l=void 0;try{for(var s,c=t.selectionFigures[Symbol.iterator]();!(A=(s=c.next()).done);A=!0){var u=s.value;if(u instanceof N.default)break;var g={oldXY:{x:u.rect.attr("x"),y:u.rect.attr("y")}};0===i?(n=u.rect.attr("y"),r=u.rect.attr("height"),n+=r/2):u.moveTo(e,n),g.newXY={x:u.rect.attr("x"),y:u.rect.attr("y")},o.set(u.uuid,g),i++}}catch(t){a=!0,l=t}finally{try{!A&&c.return&&c.return()}finally{if(a)throw l}}var d=t;t.addRedoUndo({redo:function(){var t=!0,e=!1,n=void 0;try{for(var r,i=o.keys()[Symbol.iterator]();!(t=(r=i.next()).done);t=!0){var A=r.value,a=d.getNodeByUUID(A),l=o.get(A),s=l.newXY;a.move(s.x,s.y,a.rect.attr("width"),a.rect.attr("height"))}}catch(t){e=!0,n=t}finally{try{!t&&i.return&&i.return()}finally{if(e)throw n}}},undo:function(){var t=!0,e=!1,n=void 0;try{for(var r,i=o.keys()[Symbol.iterator]();!(t=(r=i.next()).done);t=!0){var A=r.value,a=d.getNodeByUUID(A),l=o.get(A),s=l.oldXY;a.move(s.x,s.y,a.rect.attr("width"),a.rect.attr("height"))}}catch(t){e=!0,n=t}finally{try{!t&&i.return&&i.return()}finally{if(e)throw n}}}})}),E.eventEmitter.on(E.UNIFY_SIZE,function(){var e=void 0,n=void 0,r=new Map,o=0,i=!0,A=!1,a=void 0;try{for(var l,s=t.selectionFigures[Symbol.iterator]();!(i=(l=s.next()).done);i=!0){var c=l.value;if(c instanceof N.default)break;var u={oldWH:{w:c.rect.attr("width"),h:c.rect.attr("height")}};0===o?(e=c.rect.attr("width"),n=c.rect.attr("height")):c.changeSize(e,n),u.newWH={w:c.rect.attr("width"),h:c.rect.attr("height")},r.set(c.uuid,u),o++}}catch(t){A=!0,a=t}finally{try{!i&&s.return&&s.return()}finally{if(A)throw a}}var g=t;t.addRedoUndo({redo:function(){var t=!0,e=!1,n=void 0;try{for(var o,i=r.keys()[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var A=o.value,a=g.getNodeByUUID(A),l=r.get(A),s=l.newWH;a.changeSize(s.w,s.h)}}catch(t){e=!0,n=t}finally{try{!t&&i.return&&i.return()}finally{if(e)throw n}}},undo:function(){var t=!0,e=!1,n=void 0;try{for(var o,i=r.keys()[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var A=o.value,a=g.getNodeByUUID(A),l=r.get(A),s=l.oldWH;a.changeSize(s.w,s.h)}}catch(t){e=!0,n=t}finally{try{!t&&i.return&&i.return()}finally{if(e)throw n}}}})})}},{key:"_initBuiltinTools",value:function(){this.selectTool=new f.default,this.connectionTool=new p.default,this.selectTool.context=this,this.connectionTool.context=this,this.currentTool=this.selectTool}}]),t}();e.default=C},function(t,e,n){var r;!function(){"use strict";function o(t,e,n){return t.splice(e,!n||1+n-e+(!(n<0^e>=0)&&(n<0||-1)*t.length)),t.length}var i=function(){var t,e,n=[],r=-1,i=0,A=!1;return e=function(t,e){return t&&"function"==typeof t[e]?(A=!0,t[e](),A=!1,this):this},{add:function(e){return A?this:(n.splice(r+1,n.length-r),n.push(e),i&&n.length>i&&o(n,0,-(i+1)),r=n.length-1,t&&t(),this)},setCallback:function(e){t=e},undo:function(){var o=n[r];return o?(e(o,"undo"),r-=1,t&&t(),this):this},redo:function(){var o=n[r+1];return o?(e(o,"redo"),r+=1,t&&t(),this):this},clear:function(){var e=n.length;n=[],r=-1,t&&e>0&&t()},hasUndo:function(){return r!==-1},hasRedo:function(){return r>>((3&e)<<3)&255;return n},"undefined"!=typeof console&&console.warn&&console.warn("[SECURITY] node-uuid: crypto not usable, falling back to insecure Math.random()")}}function a(){try{var t=n(284).randomBytes;M=g=t&&function(){return t(16)},g()}catch(t){}}function l(t,e,n){var r=e&&n||0,o=0;for(e=e||[],t.toLowerCase().replace(/[0-9a-f]{2}/g,function(t){o<16&&(e[r+o++]=I[t])});o<16;)e[r+o++]=0;return e}function s(t,e){var n=e||0,r=p;return r[t[n++]]+r[t[n++]]+r[t[n++]]+r[t[n++]]+"-"+r[t[n++]]+r[t[n++]]+"-"+r[t[n++]]+r[t[n++]]+"-"+r[t[n++]]+r[t[n++]]+"-"+r[t[n++]]+r[t[n++]]+r[t[n++]]+r[t[n++]]+r[t[n++]]+r[t[n++]]}function c(t,e,n){var r=e&&n||0,o=e||[];t=t||{};var i=null!=t.clockseq?t.clockseq:y,A=null!=t.msecs?t.msecs:(new Date).getTime(),a=null!=t.nsecs?t.nsecs:C+1,l=A-w+(a-C)/1e4;if(l<0&&null==t.clockseq&&(i=i+1&16383),(l<0||A>w)&&null==t.nsecs&&(a=0),a>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");w=A,C=a,y=i,A+=122192928e5;var c=(1e4*(268435455&A)+a)%4294967296;o[r++]=c>>>24&255,o[r++]=c>>>16&255,o[r++]=c>>>8&255,o[r++]=255&c;var u=A/4294967296*1e4&268435455;o[r++]=u>>>8&255,o[r++]=255&u,o[r++]=u>>>24&15|16,o[r++]=u>>>16&255,o[r++]=i>>>8|128,o[r++]=255&i;for(var g=t.node||E,d=0;d<6;d++)o[r+d]=g[d];return e?e:s(o)}function u(t,e,n){var r=e&&n||0;"string"==typeof t&&(e="binary"===t?new h(16):null,t=null),t=t||{};var o=t.random||(t.rng||g)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,e)for(var i=0;i<16;i++)e[r+i]=o[i];return e||s(o)}var g,d,M,f;i?A():a();for(var h="function"==typeof o?o:Array,p=[],I={},N=0;N<256;N++)p[N]=(N+256).toString(16).substr(1),I[p[N]]=N;var T=g(),E=[1|T[0],T[1],T[2],T[3],T[4],T[5]],y=16383&(T[6]<<8|T[7]),w=0,C=0,D=u;D.v1=c,D.v4=u,D.parse=l,D.unparse=s,D.BufferClass=h,D._rng=g,D._mathRNG=d,D._nodeRNG=M,D._whatwgRNG=f,"undefined"!=typeof t&&t.exports?t.exports=D:(r=function(){return D}.call(e,n,e,t),!(void 0!==r&&(t.exports=r)))}("undefined"!=typeof window?window:null)}).call(e,n(280).Buffer)},function(t,e,n){(function(t,r){"use strict";function o(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}function i(){return t.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function A(e,n){if(i()=i())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i().toString(16)+" bytes");return 0|t}function h(e){return+e!=e&&(e=0),t.alloc(+e)}function p(e,n){if(t.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var o=!1;;)switch(n){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return P(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return J(e).length;default:if(o)return P(e).length;n=(""+n).toLowerCase(),o=!0}}function I(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,e>>>=0,n<=e)return"";for(t||(t="utf8");;)switch(t){case"hex":return Q(this,e,n);case"utf8":case"utf-8":return b(this,e,n);case"ascii":return B(this,e,n);case"latin1":case"binary":return j(this,e,n);case"base64":return L(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function N(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function T(e,n,r,o,i){if(0===e.length)return-1;if("string"==typeof r?(o=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof n&&(n=t.from(n,o)),t.isBuffer(n))return 0===n.length?-1:E(e,n,r,o,i);if("number"==typeof n)return n&=255,t.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,n,r):Uint8Array.prototype.lastIndexOf.call(e,n,r):E(e,[n],r,o,i); throw new TypeError("val must be string, number or Buffer")}function E(t,e,n,r,o){function i(t,e){return 1===A?t[e]:t.readUInt16BE(e*A)}var A=1,a=t.length,l=e.length;if(void 0!==r&&(r=String(r).toLowerCase(),"ucs2"===r||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;A=2,a/=2,l/=2,n/=2}var s;if(o){var c=-1;for(s=n;sa&&(n=a-l),s=n;s>=0;s--){for(var u=!0,g=0;go&&(r=o)):r=o;var i=e.length;if(i%2!==0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var A=0;A239?4:i>223?3:i>191?2:1;if(o+a<=n){var l,s,c,u;switch(a){case 1:i<128&&(A=i);break;case 2:l=t[o+1],128===(192&l)&&(u=(31&i)<<6|63&l,u>127&&(A=u));break;case 3:l=t[o+1],s=t[o+2],128===(192&l)&&128===(192&s)&&(u=(15&i)<<12|(63&l)<<6|63&s,u>2047&&(u<55296||u>57343)&&(A=u));break;case 4:l=t[o+1],s=t[o+2],c=t[o+3],128===(192&l)&&128===(192&s)&&128===(192&c)&&(u=(15&i)<<18|(63&l)<<12|(63&s)<<6|63&c,u>65535&&u<1114112&&(A=u))}}null===A?(A=65533,a=1):A>65535&&(A-=65536,r.push(A>>>10&1023|55296),A=56320|1023&A),r.push(A),o+=a}return v(r)}function v(t){var e=t.length;if(e<=tt)return String.fromCharCode.apply(String,t);for(var n="",r=0;rr)&&(n=r);for(var o="",i=e;in)throw new RangeError("Trying to access beyond buffer length")}function z(e,n,r,o,i,A){if(!t.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(n>i||ne.length)throw new RangeError("Index out of range")}function k(t,e,n,r){e<0&&(e=65535+e+1);for(var o=0,i=Math.min(t.length-n,2);o>>8*(r?o:1-o)}function O(t,e,n,r){e<0&&(e=4294967295+e+1);for(var o=0,i=Math.min(t.length-n,4);o>>8*(r?o:3-o)&255}function Y(t,e,n,r,o,i){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function R(t,e,n,r,o){return o||Y(t,e,n,4,3.4028234663852886e38,-3.4028234663852886e38),q.write(t,e,n,r,23,4),n+4}function F(t,e,n,r,o){return o||Y(t,e,n,8,1.7976931348623157e308,-1.7976931348623157e308),q.write(t,e,n,r,52,8),n+8}function H(t){if(t=V(t).replace(et,""),t.length<2)return"";for(;t.length%4!==0;)t+="=";return t}function V(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function G(t){return t<16?"0"+t.toString(16):t.toString(16)}function P(t,e){e=e||1/0;for(var n,r=t.length,o=null,i=[],A=0;A55295&&n<57344){if(!o){if(n>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(A+1===r){(e-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(e-=3)>-1&&i.push(239,191,189),o=n;continue}n=(o-55296<<10|n-56320)+65536}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((e-=1)<0)break;i.push(n)}else if(n<2048){if((e-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function X(t){for(var e=[],n=0;n>8,o=n%256,i.push(o),i.push(r);return i}function J(t){return _.toByteArray(H(t))}function Z(t,e,n,r){for(var o=0;o=e.length||o>=t.length);++o)e[o+n]=t[o];return o}function K(t){return t!==t}var _=n(281),q=n(282),$=n(283);e.Buffer=t,e.SlowBuffer=h,e.INSPECT_MAX_BYTES=50,t.TYPED_ARRAY_SUPPORT=void 0!==r.TYPED_ARRAY_SUPPORT?r.TYPED_ARRAY_SUPPORT:o(),e.kMaxLength=i(),t.poolSize=8192,t._augment=function(e){return e.__proto__=t.prototype,e},t.from=function(t,e,n){return a(null,t,e,n)},t.TYPED_ARRAY_SUPPORT&&(t.prototype.__proto__=Uint8Array.prototype,t.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&t[Symbol.species]===t&&Object.defineProperty(t,Symbol.species,{value:null,configurable:!0})),t.alloc=function(t,e,n){return s(null,t,e,n)},t.allocUnsafe=function(t){return c(null,t)},t.allocUnsafeSlow=function(t){return c(null,t)},t.isBuffer=function(t){return!(null==t||!t._isBuffer)},t.compare=function(e,n){if(!t.isBuffer(e)||!t.isBuffer(n))throw new TypeError("Arguments must be Buffers");if(e===n)return 0;for(var r=e.length,o=n.length,i=0,A=Math.min(r,o);i0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),""},t.prototype.compare=function(e,n,r,o,i){if(!t.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===n&&(n=0),void 0===r&&(r=e?e.length:0),void 0===o&&(o=0),void 0===i&&(i=this.length),n<0||r>e.length||o<0||i>this.length)throw new RangeError("out of range index");if(o>=i&&n>=r)return 0;if(o>=i)return-1;if(n>=r)return 1;if(n>>>=0,r>>>=0,o>>>=0,i>>>=0,this===e)return 0;for(var A=i-o,a=r-n,l=Math.min(A,a),s=this.slice(o,i),c=e.slice(n,r),u=0;uo)&&(n=o),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return y(this,t,e,n);case"utf8":case"utf-8":return w(this,t,e,n);case"ascii":return C(this,t,e,n);case"latin1":case"binary":return D(this,t,e,n);case"base64":return x(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return m(this,t,e,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},t.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var tt=4096;t.prototype.slice=function(e,n){var r=this.length;e=~~e,n=void 0===n?r:~~n,e<0?(e+=r,e<0&&(e=0)):e>r&&(e=r),n<0?(n+=r,n<0&&(n=0)):n>r&&(n=r),n0&&(o*=256);)r+=this[t+--e]*o;return r},t.prototype.readUInt8=function(t,e){return e||U(t,1,this.length),this[t]},t.prototype.readUInt16LE=function(t,e){return e||U(t,2,this.length),this[t]|this[t+1]<<8},t.prototype.readUInt16BE=function(t,e){return e||U(t,2,this.length),this[t]<<8|this[t+1]},t.prototype.readUInt32LE=function(t,e){return e||U(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},t.prototype.readUInt32BE=function(t,e){return e||U(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},t.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||U(t,e,this.length);for(var r=this[t],o=1,i=0;++i=o&&(r-=Math.pow(2,8*e)),r},t.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||U(t,e,this.length);for(var r=e,o=1,i=this[t+--r];r>0&&(o*=256);)i+=this[t+--r]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*e)),i},t.prototype.readInt8=function(t,e){return e||U(t,1,this.length),128&this[t]?(255-this[t]+1)*-1:this[t]},t.prototype.readInt16LE=function(t,e){e||U(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},t.prototype.readInt16BE=function(t,e){e||U(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},t.prototype.readInt32LE=function(t,e){return e||U(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},t.prototype.readInt32BE=function(t,e){return e||U(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},t.prototype.readFloatLE=function(t,e){return e||U(t,4,this.length),q.read(this,t,!0,23,4)},t.prototype.readFloatBE=function(t,e){return e||U(t,4,this.length),q.read(this,t,!1,23,4)},t.prototype.readDoubleLE=function(t,e){return e||U(t,8,this.length),q.read(this,t,!0,52,8)},t.prototype.readDoubleBE=function(t,e){return e||U(t,8,this.length),q.read(this,t,!1,52,8)},t.prototype.writeUIntLE=function(t,e,n,r){if(t=+t,e|=0,n|=0,!r){var o=Math.pow(2,8*n)-1;z(this,t,e,n,o,0)}var i=1,A=0;for(this[e]=255&t;++A=0&&(A*=256);)this[e+i]=t/A&255;return e+n},t.prototype.writeUInt8=function(e,n,r){return e=+e,n|=0,r||z(this,e,n,1,255,0),t.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[n]=255&e,n+1},t.prototype.writeUInt16LE=function(e,n,r){return e=+e,n|=0,r||z(this,e,n,2,65535,0),t.TYPED_ARRAY_SUPPORT?(this[n]=255&e,this[n+1]=e>>>8):k(this,e,n,!0),n+2},t.prototype.writeUInt16BE=function(e,n,r){return e=+e,n|=0,r||z(this,e,n,2,65535,0),t.TYPED_ARRAY_SUPPORT?(this[n]=e>>>8,this[n+1]=255&e):k(this,e,n,!1),n+2},t.prototype.writeUInt32LE=function(e,n,r){return e=+e,n|=0,r||z(this,e,n,4,4294967295,0),t.TYPED_ARRAY_SUPPORT?(this[n+3]=e>>>24,this[n+2]=e>>>16,this[n+1]=e>>>8,this[n]=255&e):O(this,e,n,!0),n+4},t.prototype.writeUInt32BE=function(e,n,r){return e=+e,n|=0,r||z(this,e,n,4,4294967295,0),t.TYPED_ARRAY_SUPPORT?(this[n]=e>>>24,this[n+1]=e>>>16,this[n+2]=e>>>8,this[n+3]=255&e):O(this,e,n,!1),n+4},t.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var o=Math.pow(2,8*n-1);z(this,t,e,n,o-1,-o)}var i=0,A=1,a=0;for(this[e]=255&t;++i>0)-a&255;return e+n},t.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var o=Math.pow(2,8*n-1);z(this,t,e,n,o-1,-o)}var i=n-1,A=1,a=0;for(this[e+i]=255&t;--i>=0&&(A*=256);)t<0&&0===a&&0!==this[e+i+1]&&(a=1),this[e+i]=(t/A>>0)-a&255;return e+n},t.prototype.writeInt8=function(e,n,r){return e=+e,n|=0,r||z(this,e,n,1,127,-128),t.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[n]=255&e,n+1},t.prototype.writeInt16LE=function(e,n,r){return e=+e,n|=0,r||z(this,e,n,2,32767,-32768),t.TYPED_ARRAY_SUPPORT?(this[n]=255&e,this[n+1]=e>>>8):k(this,e,n,!0),n+2},t.prototype.writeInt16BE=function(e,n,r){return e=+e,n|=0,r||z(this,e,n,2,32767,-32768),t.TYPED_ARRAY_SUPPORT?(this[n]=e>>>8,this[n+1]=255&e):k(this,e,n,!1),n+2},t.prototype.writeInt32LE=function(e,n,r){return e=+e,n|=0,r||z(this,e,n,4,2147483647,-2147483648),t.TYPED_ARRAY_SUPPORT?(this[n]=255&e,this[n+1]=e>>>8,this[n+2]=e>>>16,this[n+3]=e>>>24):O(this,e,n,!0),n+4},t.prototype.writeInt32BE=function(e,n,r){return e=+e,n|=0,r||z(this,e,n,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),t.TYPED_ARRAY_SUPPORT?(this[n]=e>>>24,this[n+1]=e>>>16,this[n+2]=e>>>8,this[n+3]=255&e):O(this,e,n,!1),n+4},t.prototype.writeFloatLE=function(t,e,n){return R(this,t,e,!0,n)},t.prototype.writeFloatBE=function(t,e,n){return R(this,t,e,!1,n)},t.prototype.writeDoubleLE=function(t,e,n){return F(this,t,e,!0,n)},t.prototype.writeDoubleBE=function(t,e,n){return F(this,t,e,!1,n)},t.prototype.copy=function(e,n,r,o){if(r||(r=0),o||0===o||(o=this.length),n>=e.length&&(n=e.length),n||(n=0),o>0&&o=this.length)throw new RangeError("sourceStart out of bounds");if(o<0)throw new RangeError("sourceEnd out of bounds");o>this.length&&(o=this.length),e.length-n=0;--i)e[i+n]=this[i+r];else if(A<1e3||!t.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,r=void 0===r?this.length:r>>>0,e||(e=0);var A;if("number"==typeof e)for(A=n;A0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===t[e-2]?2:"="===t[e-1]?1:0}function r(t){return 3*t.length/4-n(t)}function o(t){var e,r,o,i,A,a,l=t.length;A=n(t),a=new c(3*l/4-A),o=A>0?l-4:l;var u=0;for(e=0,r=0;e>16&255,a[u++]=i>>8&255,a[u++]=255&i;return 2===A?(i=s[t.charCodeAt(e)]<<2|s[t.charCodeAt(e+1)]>>4,a[u++]=255&i):1===A&&(i=s[t.charCodeAt(e)]<<10|s[t.charCodeAt(e+1)]<<4|s[t.charCodeAt(e+2)]>>2,a[u++]=i>>8&255,a[u++]=255&i),a}function i(t){return l[t>>18&63]+l[t>>12&63]+l[t>>6&63]+l[63&t]}function A(t,e,n){for(var r,o=[],A=e;Ac?c:s+a));return 1===r?(e=t[n-1],o+=l[e>>2],o+=l[e<<4&63],o+="=="):2===r&&(e=(t[n-2]<<8)+t[n-1],o+=l[e>>10],o+=l[e>>4&63],o+=l[e<<2&63],o+="="),i.push(o),i.join("")}e.byteLength=r,e.toByteArray=o,e.fromByteArray=a;for(var l=[],s=[],c="undefined"!=typeof Uint8Array?Uint8Array:Array,u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",g=0,d=u.length;g>1,c=-7,u=n?o-1:0,g=n?-1:1,d=t[e+u];for(u+=g,i=d&(1<<-c)-1,d>>=-c,c+=a;c>0;i=256*i+t[e+u],u+=g,c-=8);for(A=i&(1<<-c)-1,i>>=-c,c+=r;c>0;A=256*A+t[e+u],u+=g,c-=8);if(0===i)i=1-s;else{if(i===l)return A?NaN:(d?-1:1)*(1/0);A+=Math.pow(2,r),i-=s}return(d?-1:1)*A*Math.pow(2,i-r)},e.write=function(t,e,n,r,o,i){var A,a,l,s=8*i-o-1,c=(1<>1,g=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:i-1,M=r?1:-1,f=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,A=c):(A=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-A))<1&&(A--,l*=2),e+=A+u>=1?g/l:g*Math.pow(2,1-u),e*l>=2&&(A++,l/=2),A+u>=c?(a=0,A=c):A+u>=1?(a=(e*l-1)*Math.pow(2,o),A+=u):(a=e*Math.pow(2,u-1)*Math.pow(2,o),A=0));o>=8;t[n+d]=255&a,d+=M,a/=256,o-=8);for(A=A<0;t[n+d]=255&A,d+=M,A/=256,s-=8);t[n+d-M]|=128*f}},function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},function(t,e,n){(function(t){function r(){var t=[].slice.call(arguments).join(" ");throw new Error([t,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join("\n"))}function o(t,e){for(var n in t)e(t[n],n)}var i=n(285);e.createHash=n(287),e.createHmac=n(299),e.randomBytes=function(e,n){if(!n||!n.call)return new t(i(e));try{n.call(this,void 0,new t(i(e)))}catch(t){n(t)}},e.getHashes=function(){return["sha1","sha256","sha512","md5","rmd160"]};var A=n(300)(e);e.pbkdf2=A.pbkdf2,e.pbkdf2Sync=A.pbkdf2Sync,o(["createCredentials","createCipher","createCipheriv","createDecipher","createDecipheriv","createSign","createVerify","createDiffieHellman"],function(t){e[t]=function(){r("sorry,",t,"is not implemented yet")}})}).call(e,n(280).Buffer)},function(t,e,n){(function(e,r){!function(){var o=("undefined"==typeof window?e:window)||{};_crypto=o.crypto||o.msCrypto||n(286),t.exports=function(t){if(_crypto.getRandomValues){var e=new r(t);return _crypto.getRandomValues(e),e}if(_crypto.randomBytes)return _crypto.randomBytes(t);throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}}()}).call(e,function(){return this}(),n(280).Buffer)},function(t,e){},function(t,e,n){(function(e){function r(t){return function(){var n=[],r={update:function(t,r){return e.isBuffer(t)||(t=new e(t,r)),n.push(t),this},digest:function(r){var o=e.concat(n),i=t(o);return n=null,r?i.toString(r):i}};return r}}var o=n(288),i=r(n(296)),A=r(n(298));t.exports=function(t){return"md5"===t?new i:"rmd160"===t?new A:o(t)}}).call(e,n(280).Buffer)},function(t,e,n){var e=t.exports=function(t){var n=e[t];if(!n)throw new Error(t+" is not supported (we accept pull requests)");return new n},r=n(280).Buffer,o=n(289)(r);e.sha1=n(290)(r,o),e.sha256=n(294)(r,o),e.sha512=n(295)(r,o)},function(t,e){t.exports=function(t){function e(e,n){this._block=new t(e),this._finalSize=n,this._blockSize=e,this._len=0,this._s=0}return e.prototype.init=function(){this._s=0,this._len=0},e.prototype.update=function(e,n){"string"==typeof e&&(n=n||"utf8",e=new t(e,n));for(var r=this._len+=e.length,o=this._s=this._s||0,i=0,A=this._block;o=8*this._finalSize&&(this._update(this._block),this._block.fill(0)),this._block.writeInt32BE(e,this._blockSize-4);var n=this._update(this._block)||this._hash();return t?n.toString(t):n},e.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e}},function(t,e,n){var r=n(291).inherits;t.exports=function(t,e){function n(){return M.length?M.pop().init():this instanceof n?(this._w=d,e.call(this,64,56),this._h=null,void this.init()):new n}function o(t,e,n,r){return t<20?e&n|~e&r:t<40?e^n^r:t<60?e&n|e&r|n&r:e^n^r}function i(t){return t<20?1518500249:t<40?1859775393:t<60?-1894007588:-899497514}function A(t,e){return t+e|0}function a(t,e){return t<>>32-e}var l=0,s=4,c=8,u=12,g=16,d=new("undefined"==typeof Int32Array?Array:Int32Array)(80),M=[];return r(n,e),n.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,e.prototype.init.call(this),this},n.prototype._POOL=M,n.prototype._update=function(t){var e,n,r,l,s,c,u,g,d,M;e=c=this._a,n=u=this._b,r=g=this._c,l=d=this._d,s=M=this._e;for(var f=this._w,h=0;h<80;h++){var p=f[h]=h<16?t.readInt32BE(4*h):a(f[h-3]^f[h-8]^f[h-14]^f[h-16],1),I=A(A(a(e,5),o(h,n,r,l)),A(A(s,p),i(h)));s=l,l=r,r=a(n,30),n=e,e=I}this._a=A(e,c),this._b=A(n,u),this._c=A(r,g),this._d=A(l,d),this._e=A(s,M)},n.prototype._hash=function(){M.length<100&&M.push(this);var e=new t(20);return e.writeInt32BE(0|this._a,l),e.writeInt32BE(0|this._b,s),e.writeInt32BE(0|this._c,c),e.writeInt32BE(0|this._d,u),e.writeInt32BE(0|this._e,g),e},n}},function(t,e,n){(function(t,r){function o(t,n){var r={seen:[],stylize:A};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),f(n)?r.showHidden=n:n&&e._extend(r,n),E(r.showHidden)&&(r.showHidden=!1),E(r.depth)&&(r.depth=2),E(r.colors)&&(r.colors=!1),E(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=i),l(r,t,r.depth)}function i(t,e){var n=o.styles[e];return n?"["+o.colors[n][0]+"m"+t+"["+o.colors[n][1]+"m":t}function A(t,e){return t}function a(t){var e={};return t.forEach(function(t,n){e[t]=!0}),e}function l(t,n,r){if(t.customInspect&&n&&x(n.inspect)&&n.inspect!==e.inspect&&(!n.constructor||n.constructor.prototype!==n)){var o=n.inspect(r,t);return N(o)||(o=l(t,o,r)),o}var i=s(t,n);if(i)return i;var A=Object.keys(n),f=a(A);if(t.showHidden&&(A=Object.getOwnPropertyNames(n)),D(n)&&(A.indexOf("message")>=0||A.indexOf("description")>=0))return c(n);if(0===A.length){if(x(n)){var h=n.name?": "+n.name:"";return t.stylize("[Function"+h+"]","special")}if(y(n))return t.stylize(RegExp.prototype.toString.call(n),"regexp");if(C(n))return t.stylize(Date.prototype.toString.call(n),"date");if(D(n))return c(n)}var p="",I=!1,T=["{","}"];if(M(n)&&(I=!0,T=["[","]"]),x(n)){var E=n.name?": "+n.name:"";p=" [Function"+E+"]"}if(y(n)&&(p=" "+RegExp.prototype.toString.call(n)),C(n)&&(p=" "+Date.prototype.toUTCString.call(n)),D(n)&&(p=" "+c(n)),0===A.length&&(!I||0==n.length))return T[0]+p+T[1];if(r<0)return y(n)?t.stylize(RegExp.prototype.toString.call(n),"regexp"):t.stylize("[Object]","special");t.seen.push(n);var w;return w=I?u(t,n,r,f,A):A.map(function(e){return g(t,n,r,f,e,I)}),t.seen.pop(),d(w,p,T)}function s(t,e){if(E(e))return t.stylize("undefined","undefined");if(N(e)){var n="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(n,"string")}return I(e)?t.stylize(""+e,"number"):f(e)?t.stylize(""+e,"boolean"):h(e)?t.stylize("null","null"):void 0}function c(t){return"["+Error.prototype.toString.call(t)+"]"}function u(t,e,n,r,o){for(var i=[],A=0,a=e.length;A-1&&(a=i?a.split("\n").map(function(t){return" "+t}).join("\n").substr(2):"\n"+a.split("\n").map(function(t){return" "+t}).join("\n"))):a=t.stylize("[Circular]","special")),E(A)){if(i&&o.match(/^\d+$/))return a;A=JSON.stringify(""+o),A.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(A=A.substr(1,A.length-2),A=t.stylize(A,"name")):(A=A.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),A=t.stylize(A,"string"))}return A+": "+a}function d(t,e,n){var r=0,o=t.reduce(function(t,e){return r++,e.indexOf("\n")>=0&&r++,t+e.replace(/\u001b\[\d\d?m/g,"").length+1},0);return o>60?n[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+n[1]:n[0]+e+" "+t.join(", ")+" "+n[1]}function M(t){return Array.isArray(t)}function f(t){return"boolean"==typeof t}function h(t){return null===t}function p(t){return null==t}function I(t){return"number"==typeof t}function N(t){return"string"==typeof t}function T(t){return"symbol"==typeof t}function E(t){return void 0===t}function y(t){return w(t)&&"[object RegExp]"===L(t)}function w(t){return"object"==typeof t&&null!==t}function C(t){return w(t)&&"[object Date]"===L(t)}function D(t){return w(t)&&("[object Error]"===L(t)||t instanceof Error)}function x(t){return"function"==typeof t}function m(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||"undefined"==typeof t}function L(t){return Object.prototype.toString.call(t)}function b(t){return t<10?"0"+t.toString(10):t.toString(10)}function v(){var t=new Date,e=[b(t.getHours()),b(t.getMinutes()),b(t.getSeconds())].join(":");return[t.getDate(),U[t.getMonth()],e].join(" ")}function B(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var j=/%[sdj%]/g;e.format=function(t){if(!N(t)){for(var e=[],n=0;n=i)return t;switch(t){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(t){return"[Circular]"}default:return t}}),a=r[n];n>>e|t<<32-e}function i(t,e){return t>>>e}function A(t,e,n){return t&e^~t&n}function a(t,e,n){return t&e^t&n^e&n}function l(t){return o(t,2)^o(t,13)^o(t,22)}function s(t){return o(t,6)^o(t,11)^o(t,25)}function c(t){return o(t,7)^o(t,18)^i(t,3)}function u(t){return o(t,17)^o(t,19)^i(t,10)}var g=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],d=new Array(64);return r(n,e),n.prototype.init=function(){return this._a=1779033703,this._b=-1150833019,this._c=1013904242,this._d=-1521486534,this._e=1359893119,this._f=-1694144372,this._g=528734635,this._h=1541459225,this._len=this._s=0,this},n.prototype._update=function(t){var e,n,r,o,i,d,M,f,h,p,I=this._w;e=0|this._a,n=0|this._b,r=0|this._c,o=0|this._d,i=0|this._e,d=0|this._f,M=0|this._g,f=0|this._h;for(var N=0;N<64;N++){var T=I[N]=N<16?t.readInt32BE(4*N):u(I[N-2])+I[N-7]+c(I[N-15])+I[N-16];h=f+s(i)+A(i,d,M)+g[N]+T,p=l(e)+a(e,n,r),f=M,M=d,d=i,i=o+h,o=r,r=n,n=e,e=h+p}this._a=e+this._a|0,this._b=n+this._b|0,this._c=r+this._c|0,this._d=o+this._d|0,this._e=i+this._e|0,this._f=d+this._f|0,this._g=M+this._g|0,this._h=f+this._h|0},n.prototype._hash=function(){var e=new t(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},n}},function(t,e,n){var r=n(291).inherits;t.exports=function(t,e){function n(){this.init(),this._w=l,e.call(this,128,112)}function o(t,e,n){return t>>>n|e<<32-n}function i(t,e,n){return t&e^~t&n}function A(t,e,n){return t&e^t&n^e&n}var a=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],l=new Array(160); return r(n,e),n.prototype.init=function(){return this._a=1779033703,this._b=-1150833019,this._c=1013904242,this._d=-1521486534,this._e=1359893119,this._f=-1694144372,this._g=528734635,this._h=1541459225,this._al=-205731576,this._bl=-2067093701,this._cl=-23791573,this._dl=1595750129,this._el=-1377402159,this._fl=725511199,this._gl=-79577749,this._hl=327033209,this._len=this._s=0,this},n.prototype._update=function(t){var e,n,r,l,s,c,u,g,d,M,f,h,p,I,N,T,E=this._w;e=0|this._a,n=0|this._b,r=0|this._c,l=0|this._d,s=0|this._e,c=0|this._f,u=0|this._g,g=0|this._h,d=0|this._al,M=0|this._bl,f=0|this._cl,h=0|this._dl,p=0|this._el,I=0|this._fl,N=0|this._gl,T=0|this._hl;for(var y=0;y<80;y++){var w,C,D=2*y;if(y<16)w=E[D]=t.readInt32BE(4*D),C=E[D+1]=t.readInt32BE(4*D+4);else{var x=E[D-30],m=E[D-30+1],L=o(x,m,1)^o(x,m,8)^x>>>7,b=o(m,x,1)^o(m,x,8)^o(m,x,7);x=E[D-4],m=E[D-4+1];var v=o(x,m,19)^o(m,x,29)^x>>>6,B=o(m,x,19)^o(x,m,29)^o(m,x,6),j=E[D-14],Q=E[D-14+1],S=E[D-32],U=E[D-32+1];C=b+Q,w=L+j+(C>>>0>>0?1:0),C+=B,w=w+v+(C>>>0>>0?1:0),C+=U,w=w+S+(C>>>0>>0?1:0),E[D]=w,E[D+1]=C}var z=A(e,n,r),k=A(d,M,f),O=o(e,d,28)^o(d,e,2)^o(d,e,7),Y=o(d,e,28)^o(e,d,2)^o(e,d,7),R=o(s,p,14)^o(s,p,18)^o(p,s,9),F=o(p,s,14)^o(p,s,18)^o(s,p,9),H=a[D],V=a[D+1],G=i(s,c,u),P=i(p,I,N),X=T+F,W=g+R+(X>>>0>>0?1:0);X+=P,W=W+G+(X>>>0

>>0?1:0),X+=V,W=W+H+(X>>>0>>0?1:0),X+=C,W=W+w+(X>>>0>>0?1:0);var J=Y+k,Z=O+z+(J>>>0>>0?1:0);g=u,T=N,u=c,N=I,c=s,I=p,p=h+X|0,s=l+W+(p>>>0>>0?1:0)|0,l=r,h=f,r=n,f=M,n=e,M=d,d=X+J|0,e=W+Z+(d>>>0>>0?1:0)|0}this._al=this._al+d|0,this._bl=this._bl+M|0,this._cl=this._cl+f|0,this._dl=this._dl+h|0,this._el=this._el+p|0,this._fl=this._fl+I|0,this._gl=this._gl+N|0,this._hl=this._hl+T|0,this._a=this._a+e+(this._al>>>0>>0?1:0)|0,this._b=this._b+n+(this._bl>>>0>>0?1:0)|0,this._c=this._c+r+(this._cl>>>0>>0?1:0)|0,this._d=this._d+l+(this._dl>>>0>>0?1:0)|0,this._e=this._e+s+(this._el>>>0

>>0?1:0)|0,this._f=this._f+c+(this._fl>>>0>>0?1:0)|0,this._g=this._g+u+(this._gl>>>0>>0?1:0)|0,this._h=this._h+g+(this._hl>>>0>>0?1:0)|0},n.prototype._hash=function(){function e(t,e,r){n.writeInt32BE(t,r),n.writeInt32BE(e,r+4)}var n=new t(64);return e(this._a,this._al,0),e(this._b,this._bl,8),e(this._c,this._cl,16),e(this._d,this._dl,24),e(this._e,this._el,32),e(this._f,this._fl,40),e(this._g,this._gl,48),e(this._h,this._hl,56),n},n}},function(t,e,n){function r(t,e){t[e>>5]|=128<>>9<<4)+14]=e;for(var n=1732584193,r=-271733879,o=-1732584194,c=271733878,u=0;u>16)+(e>>16)+(n>>16);return r<<16|65535&n}function c(t,e){return t<>>32-e}var u=n(297);t.exports=function(t){return u.hash(t,r,16)}},function(t,e,n){(function(e){function n(t,n){if(t.length%i!==0){var r=t.length+(i-t.length%i);t=e.concat([t,A],r)}for(var o=[],a=n?t.readInt32BE:t.readInt32LE,l=0;l>>32-e}function l(t){var n=[1732584193,4023233417,2562383102,271733878,3285377520];"string"==typeof t&&(t=new e(t,"utf8"));var r=f(t),o=8*t.length,i=8*t.length;r[o>>>5]|=128<<24-o%32,r[(o+64>>>9<<4)+14]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8);for(var A=0;A>>24)|4278255360&(a<<24|a>>>8)}var l=h(n);return new e(l)}t.exports=l;var s=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],c=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],u=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],g=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],d=[0,1518500249,1859775393,2400959708,2840853838],M=[1352829926,1548603684,1836072691,2053994217,0],f=function(t){for(var e=[],n=0,r=0;n>>5]|=t[n]<<24-r%32;return e},h=function(t){for(var e=[],n=0;n<32*t.length;n+=8)e.push(t[n>>>5]>>>24-n%32&255);return e},p=function(t,e,l){for(var f=0;f<16;f++){var h=l+f,p=e[h];e[h]=16711935&(p<<8|p>>>24)|4278255360&(p<<24|p>>>8)}var I,N,T,E,y,w,C,D,x,m;w=I=t[0],C=N=t[1],D=T=t[2],x=E=t[3],m=y=t[4];for(var L,f=0;f<80;f+=1)L=I+e[l+s[f]]|0,L+=f<16?n(N,T,E)+d[0]:f<32?r(N,T,E)+d[1]:f<48?o(N,T,E)+d[2]:f<64?i(N,T,E)+d[3]:A(N,T,E)+d[4],L|=0,L=a(L,u[f]),L=L+y|0,I=y,y=E,E=a(T,10),T=N,N=L,L=w+e[l+c[f]]|0,L+=f<16?A(C,D,x)+M[0]:f<32?i(C,D,x)+M[1]:f<48?o(C,D,x)+M[2]:f<64?r(C,D,x)+M[3]:n(C,D,x)+M[4],L|=0,L=a(L,g[f]),L=L+m|0,w=m,m=x,x=a(D,10),D=C,C=L;L=t[1]+T+x|0,t[1]=t[2]+E+m|0,t[2]=t[3]+y+w|0,t[3]=t[4]+I+C|0,t[4]=t[0]+N+D|0,t[0]=L}}).call(e,n(280).Buffer)},function(t,e,n){(function(e){function r(t,n){if(!(this instanceof r))return new r(t,n);this._opad=l,this._alg=t;var A="sha512"===t?128:64;n=this._key=e.isBuffer(n)?n:new e(n),n.length>A?n=o(t).update(n).digest():n.length(Math.pow(2,32)-1)*a))throw new TypeError("keylen exceeds maximum length");M.copy(s,0,0,a);for(var f=1;fe&&(e=o)}}),t.css("z-index",e+1)})}},{key:"render",value:function(){var t=this,e=[];this.props.buttons.forEach(function(n,r){e.push(s.default.createElement("button",{type:"button",key:r,className:n.className,onClick:function(e){n.click(t.props.dispatch)}},s.default.createElement("i",{className:n.icon})," ",n.name))});var n=this.props.large,r="modal-dialog"+(n?" modal-lg":"");return s.default.createElement("div",{className:"modal fade",tabIndex:"-1",role:"dialog","aria-hidden":"true",style:{overflow:"auto"}},s.default.createElement("div",{className:r},s.default.createElement("div",{className:"modal-content"},s.default.createElement("div",{className:"modal-header"},s.default.createElement("button",{type:"button",className:"close","data-dismiss":"modal","aria-hidden":"true"},"×"),s.default.createElement("h3",{className:"modal-title",id:"myModalLabel",style:{wordWrap:"break-word"}},this.props.title,s.default.createElement("div",{className:"text-danger",style:{fontSize:"12pt"}},this.props.info?this.props.info:null))),s.default.createElement("div",{className:"modal-body",style:{padding:"10px"}},this.props.body),s.default.createElement("div",{className:"modal-footer"},e))))}}]),e}(l.Component);e.default=g},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.eventEmitter=e.HIDE_VERSION_SELECT_DIALOG=e.OPEN_VERSION_SELECT_DIALOG=e.HIDE_KNOWLEDGE_TREE_DIALOG=e.OPEN_KNOWLEDGE_TREE_DIALOG=e.TREE_DIR_NODE_CLICK=e.TREE_NODE_CLICK=e.HIDE_LOADING=e.SHOW_LOADING=void 0;var o=n(240),i=r(o);e.SHOW_LOADING="show_loading",e.HIDE_LOADING="hide_loading",e.TREE_NODE_CLICK="tree_node_click",e.TREE_DIR_NODE_CLICK="tree_dir_node_click",e.OPEN_KNOWLEDGE_TREE_DIALOG="open_knowledge_tree_dialog",e.HIDE_KNOWLEDGE_TREE_DIALOG="hide_knowledge_tree_dialog",e.OPEN_VERSION_SELECT_DIALOG="open_version_select_dialog",e.HIDE_VERSION_SELECT_DIALOG="hide_version_select_dialog",e.eventEmitter=new i.default.EventEmitter},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function o(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function A(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var n=0;nul>li:after,.tree>ul>li:before{border:0}.tree li:last-child:before{height:30px}.tree-active{border:1px solid #2196f3!important}",""])},function(t,e,n){"use strict";function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function o(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function A(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s=function(){function t(t,e){for(var n=0;n ul > li");r.is(":visible")?(r.hide("fast"),n.children("i:first").addClass("rf-plus").removeClass("rf-minus")):(r.show("fast"),n.children("i:first").addClass("rf-minus").removeClass("rf-plus")),e.stopPropagation()}}),t.hasClass("parent_li")){var o=this.props.expandLevel;if(r._level>=o){var i=e.parent("li.parent_li").find(" > ul > li");i.hide(),e.children("i:first").addClass("rf-plus").removeClass("rf-minus")}else e.children("i:first").addClass("rf-minus").removeClass("rf-plus")}this._bindContextMenu(r)}},{key:"isFile",value:function t(){var e=this.props.data,n=e.name,t=!1;return(n.indexOf(".")>-1||"ul"===n||"知识包"===n)&&(t=!0),t}},{key:"componentWillUnmount",value:function(){var t=this.props.data,e=t.contextMenu;e&&0!==e.length&&$("#node-"+t.id).contextmenu("destroy")}},{key:"componentDidUpdate",value:function(){this._bindContextMenu(this.props.data)}},{key:"_bindContextMenu",value:function(t){var e=$("#node-"+t.id);e.contextmenu("destroy");var n=t.contextMenu;if(n&&0!==n.length){var r="treenodemenu"+t.id;e.contextmenu({target:"#"+r})}}},{key:"render",value:function(){var t=this,e=this.props,n=e.data,r=e.dispatch,o=n.children,i="node-"+n.id,A="treenodemenu"+n.id,a=[];if(n.contextMenu&&a.push(u.default.createElement(p.default,{items:n.contextMenu,key:n.id,data:n,dispatch:r,menuId:A})),o&&o.length>0)return u.default.createElement("li",{className:"parent_li"},u.default.createElement("span",{id:i},u.default.createElement("i",{className:"rf rf-minus",style:{marginRight:"2px"}}),u.default.createElement("i",{className:n._icon,style:n._style})," ",u.default.createElement("a",{href:"###",style:n._style}," ",n.name),u.default.createElement("sup",null,u.default.createElement("i",{title:n.lock?n.lockInfo:"",className:n.lock?"rf rf-lock":""}))),a,u.default.createElement(f.default,{dispatch:r,children:o,expandLevel:this.props.expandLevel}));var s=function(){var e=t.isFile();return{v:u.default.createElement("li",null,u.default.createElement("span",{id:i,onClick:function(t){if(e){var r=window._server+n.editorPath+"?file="+n.fullPath;N.eventEmitter.emit(N.TREE_NODE_CLICK,{id:n.id,name:n.name,fullPath:n.fullPath,path:r,active:!0}),$(".tree").find(".tree-active").removeClass("tree-active"),$("#"+i).addClass("tree-active")}}},u.default.createElement("i",{className:n._icon,style:n._style})," ",u.default.createElement("a",{href:"###",style:n._style}," ",n.name),u.default.createElement("sup",null,u.default.createElement("i",{title:n.lock?n.lockInfo:"",className:n.lock?"rf rf-lock":""}))),a)}}();return"object"===("undefined"==typeof s?"undefined":l(s))?s.v:void 0}}]),e}(c.Component);e.default=T},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function A(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;nspan::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background:#ffa;background:rgba(255,255,0,.4)}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:''}span.CodeMirror-selectedtext{background:none}",""])},function(t,e,n){var r=n(393);"string"==typeof r&&(r=[[t.id,r,""]]);n(9)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){e=t.exports=n(3)(),e.push([t.id,".CodeMirror-hints{position:absolute;z-index:10;overflow:hidden;list-style:none;margin:0;padding:2px;box-shadow:2px 3px 5px rgba(0,0,0,.2);border-radius:3px;border:1px solid silver;background:#fff;font-size:90%;font-family:monospace;max-height:20em;overflow-y:auto}.CodeMirror-hint{margin:0;padding:0 4px;border-radius:2px;white-space:pre;color:#000;cursor:pointer}li.CodeMirror-hint-active{background:#08f;color:#fff}",""])},function(t,e,n){var r=n(395);"string"==typeof r&&(r=[[t.id,r,""]]);n(9)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){e=t.exports=n(3)(),e.push([t.id,'.CodeMirror-lint-markers{width:16px}.CodeMirror-lint-tooltip{background-color:#ffd;border:1px solid #000;border-radius:4px 4px 4px 4px;color:#000;font-family:monospace;font-size:10pt;overflow:hidden;padding:2px 5px;position:fixed;white-space:pre;white-space:pre-wrap;z-index:100;max-width:600px;opacity:0;transition:opacity .4s;-moz-transition:opacity .4s;-webkit-transition:opacity .4s;-o-transition:opacity .4s;-ms-transition:opacity .4s}.CodeMirror-lint-mark-error,.CodeMirror-lint-mark-warning{background-position:0 100%;background-repeat:repeat-x}.CodeMirror-lint-mark-error{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJDw4cOCW1/KIAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAHElEQVQI12NggIL/DAz/GdA5/xkY/qPKMDAwAADLZwf5rvm+LQAAAABJRU5ErkJggg==")}.CodeMirror-lint-mark-warning{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJFhQXEbhTg7YAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAMklEQVQI12NkgIIvJ3QXMjAwdDN+OaEbysDA4MPAwNDNwMCwiOHLCd1zX07o6kBVGQEAKBANtobskNMAAAAASUVORK5CYII=")}.CodeMirror-lint-marker-error,.CodeMirror-lint-marker-warning{background-position:50%;background-repeat:no-repeat;cursor:pointer;display:inline-block;height:16px;width:16px;vertical-align:middle;position:relative}.CodeMirror-lint-message-error,.CodeMirror-lint-message-warning{padding-left:18px;background-position:0 0;background-repeat:no-repeat}.CodeMirror-lint-marker-error,.CodeMirror-lint-message-error{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAHlBMVEW7AAC7AACxAAC7AAC7AAAAAAC4AAC5AAD///+7AAAUdclpAAAABnRSTlMXnORSiwCK0ZKSAAAATUlEQVR42mWPOQ7AQAgDuQLx/z8csYRmPRIFIwRGnosRrpamvkKi0FTIiMASR3hhKW+hAN6/tIWhu9PDWiTGNEkTtIOucA5Oyr9ckPgAWm0GPBog6v4AAAAASUVORK5CYII=")}.CodeMirror-lint-marker-warning,.CodeMirror-lint-message-warning{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAANlBMVEX/uwDvrwD/uwD/uwD/uwD/uwD/uwD/uwD/uwD6twD/uwAAAADurwD2tQD7uAD+ugAAAAD/uwDhmeTRAAAADHRSTlMJ8mN1EYcbmiixgACm7WbuAAAAVklEQVR42n3PUQqAIBBFUU1LLc3u/jdbOJoW1P08DA9Gba8+YWJ6gNJoNYIBzAA2chBth5kLmG9YUoG0NHAUwFXwO9LuBQL1giCQb8gC9Oro2vp5rncCIY8L8uEx5ZkAAAAASUVORK5CYII=")}.CodeMirror-lint-marker-multiple{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAMAAADzjKfhAAAACVBMVEUAAAAAAAC/v7914kyHAAAAAXRSTlMAQObYZgAAACNJREFUeNo1ioEJAAAIwmz/H90iFFSGJgFMe3gaLZ0od+9/AQZ0ADosbYraAAAAAElFTkSuQmCC");background-repeat:no-repeat;background-position:100% 100%;width:100%;height:100%}',""])},function(t,e,n){var r=n(397);"string"==typeof r&&(r=[[t.id,r,""]]);n(9)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){e=t.exports=n(3)(),e.push([t.id,".CodeMirror{border:1px solid #ddd}.CodeMirror-hints{position:absolute;z-index:2000;overflow:hidden;list-style:none;margin:0;padding:2px;box-shadow:2px 3px 5px rgba(0,0,0,.2);border-radius:3px;border:1px solid silver;background:#fff;font-size:90%;font-family:monospace;max-height:20em;overflow-y:auto}.CodeMirror-lint-tooltip{background-color:#ffd;border:1px solid #000;border-radius:4px 4px 4px 4px;color:#000;font-family:monospace;font-size:10pt;overflow:hidden;padding:2px 5px;position:fixed;white-space:pre;white-space:pre-wrap;z-index:2000;max-width:600px;opacity:0;transition:opacity .4s;-moz-transition:opacity .4s;-webkit-transition:opacity .4s;-o-transition:opacity .4s;-ms-transition:opacity .4s}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-atom-2{color:#397}.cm-s-default .cm-atom-3{color:#fa1}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable{color:#019dff}.cm-s-default .cm-operator{color:#49adff}.cm-s-default .cm-property{color:#878696}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-header{color:blue}.cm-s-default .cm-quote{color:#090}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}",""])},function(t,e,n){"use strict";function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function o(t){return t&&t.__esModule?t:{default:t}}function i(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e';var n=!0,r=!1,o=void 0;try{for(var i,A=this.importVariableLibraries[Symbol.iterator]();!(n=(i=A.next()).done);n=!0){var a=i.value;e+=''}}catch(t){r=!0,o=t}finally{try{!n&&A.return&&A.return()}finally{if(r)throw o}}var l=!0,s=!1,u=void 0;try{for(var d,M=this.importConstantLibraries[Symbol.iterator]();!(l=(d=M.next()).done);l=!0){var f=d.value;e+=''}}catch(t){s=!0,u=t}finally{try{!l&&M.return&&M.return()}finally{if(s)throw u}}var h=!0,p=!1,I=void 0;try{for(var N,T=this.importParameterLibraries[Symbol.iterator]();!(h=(N=T.next()).done);h=!0){var E=N.value;e+=''}}catch(t){p=!0,I=t}finally{try{!h&&T.return&&T.return()}finally{if(p)throw I}}var y=!0,w=!1,C=void 0;try{for(var D,x=this.importActionLibraries[Symbol.iterator]();!(y=(D=x.next()).done);y=!0){var m=D.value;e+=''}}catch(t){w=!0,C=t}finally{try{!y&&x.return&&x.return()}finally{if(w)throw C}}var L=!0,b=!1,v=void 0;try{for(var B,j=this.context.allFigures[Symbol.iterator]();!(L=(B=j.next()).done);L=!0){var Q=B.value;Q instanceof g.default&&(e+=Q.toXML())}}catch(t){b=!0,v=t}finally{try{!L&&j.return&&j.return()}finally{if(b)throw v}}return e+=""}}},{key:"fromJson",value:function(t){this.flowId=t.id,this.debug=t.debug;var e=t.libraries||[],n=!0,r=!1,o=void 0;try{for(var i,A=e[Symbol.iterator]();!(n=(i=A.next()).done);n=!0){var a=i.value;switch(a.type){case"Variable":this.importVariableLibraries.push(a.path);break;case"Constant":this.importConstantLibraries.push(a.path);break;case"Action":this.importActionLibraries.push(a.path);break;case"Parameter":this.importParameterLibraries.push(a.path)}}}catch(t){r=!0,o=t}finally{try{!n&&A.return&&A.return()}finally{if(r)throw o}}this.importVariableLibraries.length>0&&this._refreshLibraries(this.importVariableLibraries,"vl.xml"),this.importConstantLibraries.length>0&&this._refreshLibraries(this.importConstantLibraries,"cl.xml"),this.importActionLibraries.length>0&&this._refreshLibraries(this.importActionLibraries,"al.xml"),this.importParameterLibraries.length>0&&this._refreshLibraries(this.importParameterLibraries,"pl.xml");var l=!0,s=!1,u=void 0;try{for(var g,d=t.nodes[Symbol.iterator]();!(l=(g=d.next()).done);l=!0){var M=g.value;switch(M.w=M.width,M.h=M.height,M.type){case"Action":M.type="动作";break;case"Script":M.type="脚本";break;case"Decision":M.type="决策";break;case"End":M.type="结束";break;case"Start":M.type="开始";break;case"Rule":M.type="规则";break;case"RulePackage":M.type="知识包";break;case"Fork":M.type="分支";break;case"Join":M.type="聚合"}var f=M.connections||[],h=!0,p=!1,I=void 0;try{for(var N,T=f[Symbol.iterator]();!(h=(N=T.next()).done);h=!0){var E=N.value;E.to=E.toName}}catch(t){p=!0,I=t}finally{try{!h&&T.return&&T.return()}finally{if(p)throw I}}this.addNode(M)}}catch(t){s=!0,u=t}finally{try{!l&&d.return&&d.return()}finally{if(s)throw u}}var y=!0,w=!1,C=void 0;try{for(var D,x=this.context.allFigures[Symbol.iterator]();!(y=(D=x.next()).done);y=!0){var m=D.value;m instanceof c.Node&&m._buildConnections()}}catch(t){w=!0,C=t}finally{try{!y&&x.return&&x.return()}finally{if(w)throw C}}}},{key:"getPropertiesProducer",value:function(){return function(){function t(t){var e=!0,n=!1,r=void 0;try{for(var i,A=function(){var e=i.value,n=e.indexOf(":"),r=void 0;if(n>-1){var A=e.substring(n+1,e.length);n=A.indexOf(".")+1,r=A.substring(n,A.length)}else n=e.indexOf(".")+1,r=e.substring(n,e.length);var a=h.buildType(r),l=$('\n '+e+'\n '+a+"\n "),s=$('');l.append(s);var c=$('

');s.append(c),c.click(function(){var n=t.indexOf(e);t.splice(n,1),l.remove(),o._refreshLibraries(t,r)}),g.append(l)},a=t[Symbol.iterator]();!(e=(i=a.next()).done);e=!0)A()}catch(t){n=!0,r=t}finally{try{!e&&a.return&&a.return()}finally{if(n)throw r}}}var e=$("
"),n=$('
'),r=$('');n.append(r);var o=this;r.change(function(){o.flowId=$(this).val()}),r.val(this.flowId),e.append(n);var i=$('
'),A=$('");i.append(A),A.change(function(){o.debug=$(this).val()}),e.append(i);var a=$('
'),l=$('');a.append(l),l.click(function(){M.eventEmitter.emit(M.OPEN_KNOWLEDGE_TREE_DIALOG,{project:window._project,forLib:!0,callback:function(t,e){var n=t+("LATEST"===e?"":":"+e),r=t.indexOf(".")+1,i=t.substring(r,t.length),A=null;if("vl.xml"===i)A=o.importVariableLibraries;else if("cl.xml"===i)A=o.importConstantLibraries;else if("pl.xml"===i)A=o.importParameterLibraries;else{if("al.xml"!==i)return void alert("Unknow lib ["+t+"]");A=o.importActionLibraries}n="jcr:"+n;var a=A.indexOf(n);if(a>-1)return void c.MsgBox.alert("库文件"+t+"已存在!");var l=h.buildType(i),s=$('\n '+n+'\n '+l+"\n ");A.push(n);var u=$('');s.append(u);var d=$('');u.append(d),d.click(function(){var t=A.indexOf(n);A.splice(t,1),s.remove(),o._refreshLibraries(A,i)}),g.append(s),o._refreshLibraries(A,i)}})});var s=$(''),u=$('\n \n \n \n ');s.append(u);var g=$("");return s.append(g),t(o.importVariableLibraries),t(o.importParameterLibraries),t(o.importConstantLibraries),t(o.importActionLibraries),a.append(s),e.append(a),e}}},{key:"_refreshLibraries",value:function(t,e){if(0!==t.length){var n=null,r=this;this._loadLibraries(t,function(o){if("vl.xml"===e){n=r.variableLibraries,n.splice(0,n.length);var A=!0,a=!1,l=void 0;try{for(var s,u=o[Symbol.iterator]();!(A=(s=u.next()).done);A=!0){var g,d=s.value;(g=n).push.apply(g,i(d))}}catch(t){a=!0,l=t}finally{try{!A&&u.return&&u.return()}finally{if(a)throw l}}}else if("cl.xml"===e){n=r.constantLibraries,n.splice(0,n.length);var M=!0,f=!1,h=void 0;try{for(var p,N=o[Symbol.iterator]();!(M=(p=N.next()).done);M=!0){var T,E=p.value;(T=n).push.apply(T,i(E.categories))}}catch(t){f=!0,h=t}finally{try{!M&&N.return&&N.return()}finally{if(f)throw h}}}else if("pl.xml"===e){n=r.variableLibraries;var y=void 0,w=void 0,C=!0,D=!1,x=void 0;try{for(var m,L=n[Symbol.iterator]();!(C=(m=L.next()).done);C=!0){var b=m.value;"参数"===b.name&&(y=b),"parameter"===b.name&&(w=b)}}catch(t){D=!0,x=t}finally{try{!C&&L.return&&L.return()}finally{if(D)throw x}}y||(y={type:"variable",name:"参数"},n.push(y)),w||(w={type:"variable",name:"parameter"},n.push(w)),y.variables=o[0],w.variables=o[0]}else if("al.xml"===e){var v;t=r.importActionLibraries,n=r.actionLibraries,n.splice(0,n.length),(v=n).push.apply(v,i(o))}c.Event.eventEmitter.emit(I.LIB_CHANGE,{actionLibraries:r.actionLibraries,constantCategories:r.constantLibraries,parameterLibraries:r.parameterLibraries,variableCategories:r.variableLibraries})})}}},{key:"_loadLibraries",value:function(t,e){for(var n="",r=0;r加载库文件失败,服务端错误:"+t.responseText+""):bootbox.alert("加载库文件失败,服务端出错")},success:function(t){e(t)}})}}}]),e}(c.FlowDesigner);e.default=N},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var A=function(){function t(t,e){for(var n=0;n0?this.out===-1||this.out>0?0===this.fromConnections.length&&0===this.toConnections.length&&(t=this.name+"节点未和其它节点连接!"):0===this.toConnections.length&&(t=this.name+"节点未和其它节点连接!"):(this.out===-1||this.out>0)&&0===this.fromConnections.length&&(t=this.name+"节点未和其它节点连接!"),t)}},{key:"getFromConnectionsXML",value:function(){var t="",e=!0,n=!1,r=void 0;try{for(var o,i=this.fromConnections[Symbol.iterator]();!(e=(o=i.next()).done);e=!0){var A=o.value;t+=this.buildConnectionXML(A)}}catch(t){n=!0,r=t}finally{try{!e&&i.return&&i.return()}finally{if(n)throw r}}return t}},{key:"buildConnectionXML",value:function(t){var e=t.toJSON(),n=e.path,r="",o=0,i=!0,A=!1,a=void 0;try{for(var l,s=n[Symbol.iterator]();!(i=(l=s.next()).done);i=!0){var c=l.value;o>0&&o!==n.length-1&&(""!==r&&(r+=","),r+=parseInt(c[1])+","+parseInt(c[2])),o++}}catch(t){A=!0,a=t}finally{try{!i&&s.return&&s.return()}finally{if(A)throw a}}var u='服务端错误:"+t.responseText+""):bootbox.alert("服务端出错")}})}}function A(t,e){return function(n){var r=window._server+"/frame/fileRename";$.ajax({url:r,type:"POST",data:{path:t,newPath:e,classify:window._classify,projectName:window._projectName,types:window._types},success:function(t){var e=t.repo.rootFile;h(e,1),n({data:e,type:z}),v.eventEmitter.emit(v.HIDE_RENAME_DIALOG),j.eventEmitter.emit(j.HIDE_LOADING)},error:function(t){401===t.status?bootbox.alert("权限不足,不能进行此操作."):t&&t.responseText?bootbox.alert("服务端错误:"+t.responseText+""):bootbox.alert("服务端出错")}})}}function a(t,e){return function(n){var r=window._server+"/frame/createProject";$.ajax({url:r,type:"POST",data:{newProjectName:t},success:function(t){h(t,1),n({type:O,newProjectData:t,parentNodeData:e}),v.eventEmitter.emit(v.CLOSE_NEW_PROJECT_DIALOG),j.eventEmitter.emit(j.HIDE_LOADING)},error:function(t){401===t.status?bootbox.alert("权限不足,不能进行此操作."):t&&t.responseText?bootbox.alert("服务端错误:"+t.responseText+""):bootbox.alert("服务端出错")}})}}function l(t,e){var n=e.fullPath+"/"+t;return function(t){var e=window._server+"/frame/createFolder";$.ajax({url:e,type:"POST",data:{fullFolderName:n,classify:window._classify,projectName:window._projectName,types:window._types},success:function(e){var n=e.repo.rootFile;h(n,1),t({data:n,type:z}),v.eventEmitter.emit(v.CLOSE_CREATE_FOLDER_DIALOG),j.eventEmitter.emit(j.HIDE_LOADING)},error:function(t){401===t.status?bootbox.alert("权限不足,不能进行此操作."):t&&t.responseText?bootbox.alert("服务端错误:"+t.responseText+""):bootbox.alert("服务端出错")}})}}function s(t,e){return function(n){var r=t.fullPath,o=r.lastIndexOf(t.name),i=r.substring(0,o),A=i+e,a=window._server+"/frame/fileRename";$.ajax({url:a,type:"POST",data:{path:r,newPath:A,classify:window._classify,projectName:window._projectName,types:window._types},success:function(r){var o=e.indexOf(".");if(o!==-1)t.fullPath=A,t.name=e,n({data:t,type:k});else{var i=r.repo.rootFile;h(i,1),n({data:i,type:z})}v.eventEmitter.emit(v.CLOSE_UPDATE_PROJECT_DIALOG),j.eventEmitter.emit(j.HIDE_LOADING)},error:function(t){j.eventEmitter.emit(j.HIDE_LOADING),401===t.status?bootbox.alert("权限不足,不能进行此操作."):t&&t.responseText?bootbox.alert("服务端错误:"+t.responseText+""):bootbox.alert("服务端出错")}})}}function c(t,e,n){var r=window._server+"/frame/fileRename";$.ajax({url:r,type:"POST",data:{path:t,newPath:e,classify:window._classify,projectName:window._projectName,types:window._types},success:function(t){var e=t.repo.rootFile;h(e,1),n({data:e,type:z}),v.eventEmitter.emit(v.CLOSE_UPDATE_PROJECT_DIALOG),j.eventEmitter.emit(j.HIDE_LOADING)},error:function(t){j.eventEmitter.emit(j.HIDE_LOADING),401===t.status?bootbox.alert("权限不足,不能进行此操作."):t&&t.responseText?bootbox.alert("服务端错误:"+t.responseText+""):bootbox.alert("服务端出错")}})}function u(t){return{data:t,type:Q}}function g(t){return{index:t,type:S}}function d(t,e){return{index:t,data:e,type:U}}function M(t,e,n,r){return null!==t&&"undefined"!==t||(t=!0),function(o){var i=window._server+"/frame/loadProjects";$.ajax({url:i,type:"POST",data:{classify:t,projectName:e,types:n,searchFileName:r},success:function(t){var e=t.classify,n=t.repo,r=n.rootFile,i=n.projectNames;v.eventEmitter.emit(v.CHANGE_CLASSIFY,e),i&&i.length>0&&v.eventEmitter.emit(v.PROJECT_LIST_CHANGE,i),h(r,1),o({data:r,type:z}),j.eventEmitter.emit(j.HIDE_LOADING)},error:function(t){j.eventEmitter.emit(j.HIDE_LOADING),t&&t.responseText?bootbox.alert("加载数据失败,服务端错误:"+t.responseText+""):bootbox.alert("加载数据失败,服务端出错")}})}}function f(t){var e=t.indexOf(":");e>-1&&(t=t.substring(0,e)); var n=void 0;switch(t){case"vl.xml":n="变量库";break;case"cl.xml":n="常量库";break;case"pl.xml":n="参数库";break;case"al.xml":n="动作库";break;case"rs.xml":n="向导式决策集";break;case"ul":n="脚本式决策集";break;case"dt.xml":n="决策表";break;case"dts.xml":n="脚本式决策表";break;case"rl.xml":n="决策流";break;case"dtree.xml":n="决策树";break;case"sc":n="评分卡";break;case"知识包":n="package"}if(!n){var r="Unknow file type :"+t;throw alert(r),r}return n}function h(t,e){switch(t._level=e++,t.type){case"root":t._icon=L.default.frameStyle.getRootIcon(),t._style=L.default.frameStyle.getRootIconStyle(),t.contextMenu=[{name:"创建新项目",icon:"rf rf-createpro",click:function(t){v.eventEmitter.emit(v.OPEN_NEW_PROJECT_DIALOG,t)}},{name:"导入项目",icon:"rf rf-import",click:function(t){v.eventEmitter.emit(v.OPEN_IMPORT_PROJECT_DIALOG)}}];break;case"rule":t._icon=L.default.frameStyle.getRuleIcon(),t._style=L.default.frameStyle.getRuleIconStyle(),t.contextMenu=T(),t.editorPath="/ruleseteditor";break;case"project":t._icon=L.default.frameStyle.getProjectIcon(),t._style=L.default.frameStyle.getProjectIconStyle(),t.contextMenu=[{name:"导出项目备份",icon:"rf rf-export",click:function(t,e){bootbox.confirm("真的要导出项目"+t.name+"的备份文件吗?",function(e){if(e){var n=window._server+"/frame/exportProjectBackupFile?path="+encodeURI(encodeURI(t.fullPath));window.open(n,"_blank")}})}},{name:"修改项目名称",icon:"rf rf-rename",click:function(t){v.eventEmitter.emit(v.OPEN_UPDATE_PROJECT_DIALOG,t)}},{name:"删除项目",icon:"rf rf-remove",click:function(t,e){bootbox.confirm("此操作将删除"+t.name+"项目及其下所有文件,你确定要这样做吗?",function(n){n&&x(t,e)})}},{name:"配置接收推送客户端",icon:"rf rf-operation",click:function(t,e){var n=window._server+"/clientconfig?project="+encodeURI(t.name);j.eventEmitter.emit(j.TREE_NODE_CLICK,{id:"client_config_",name:"推送客户端配置",fullPath:"client_config_/"+t.name,project:t.name,path:n})}}];break;case"resource":t._icon=L.default.frameStyle.getResourceIcon(),t._style=L.default.frameStyle.getResourceIconStyle();break;case"all":t._icon=L.default.frameStyle.getResourceIcon(),t._style=L.default.frameStyle.getResourceIconStyle(),t.contextMenu=I();break;case"folder":t._icon=L.default.frameStyle.getFolderIcon(),t._style=L.default.frameStyle.getFolderIconStyle(),t.contextMenu=I(!0,t.folderType);break;case"resourcePackage":t._icon=L.default.frameStyle.getResourcePackageIcon(),t._style=L.default.frameStyle.getResourcePackageIconStyle(),t.editorPath="/packageeditor";break;case"lib":t._icon=L.default.frameStyle.getLibIcon(),t._style=L.default.frameStyle.getLibIconStyle(),t.contextMenu=p();break;case"action":t._icon=L.default.frameStyle.getActionIcon(),t._style=L.default.frameStyle.getActionIconStyle(),t.contextMenu=T(),t.editorPath="/actioneditor";break;case"parameter":t._icon=L.default.frameStyle.getParameterIcon(),t._style=L.default.frameStyle.getParameterIconStyle(),t.contextMenu=T(),t.editorPath="/parametereditor";break;case"constant":t._icon=L.default.frameStyle.getConstantIcon(),t._style=L.default.frameStyle.getConstantIconStyle(),t.contextMenu=T(),t.editorPath="/constanteditor";break;case"variable":t._icon=L.default.frameStyle.getVariableIcon(),t._style=L.default.frameStyle.getVariableIconStyle(),t.contextMenu=T(),t.editorPath="/variableeditor";break;case"ruleLib":t._icon=L.default.frameStyle.getRuleLibIcon(),t._style=L.default.frameStyle.getRuleLibIconStyle(),t.contextMenu=[{name:"添加目录",icon:L.default.frameStyle.getFolderIcon(),click:function(t,e){v.eventEmitter.emit(v.OPEN_CREATE_FOLDER_DIALOG,{nodeData:t})}},{name:"添加向导式决策集",icon:L.default.frameStyle.getRuleIcon(),click:function(){v.eventEmitter.emit(v.OPEN_CREATE_FILE_DIALOG,{fileType:"rs.xml",nodeData:t})}},{name:"添加脚本式决策集",icon:L.default.frameStyle.getUlIcon(),click:function(){v.eventEmitter.emit(v.OPEN_CREATE_FILE_DIALOG,{fileType:"ul",nodeData:t})}}];break;case"decisionTableLib":t._icon=L.default.frameStyle.getDecisionTableLibIcon(),t._style=L.default.frameStyle.getDecisionTableLibIconStyle(),t.contextMenu=[{name:"添加目录",icon:L.default.frameStyle.getFolderIcon(),click:function(t,e){v.eventEmitter.emit(v.OPEN_CREATE_FOLDER_DIALOG,{nodeData:t})}},{name:"添加决策表",icon:L.default.frameStyle.getDecisionTableIcon(),click:function(){v.eventEmitter.emit(v.OPEN_CREATE_FILE_DIALOG,{fileType:"dt.xml",nodeData:t})}}];break;case"decisionTreeLib":t._icon=L.default.frameStyle.getDecisionTreeLibIcon(),t._style=L.default.frameStyle.getDecisionTreeLibIconStyle(),t.contextMenu=[{name:"添加目录",icon:L.default.frameStyle.getFolderIcon(),click:function(t,e){v.eventEmitter.emit(v.OPEN_CREATE_FOLDER_DIALOG,{nodeData:t})}},{name:"添加决策树",icon:L.default.frameStyle.getDecisionTreeIcon(),click:function(){v.eventEmitter.emit(v.OPEN_CREATE_FILE_DIALOG,{fileType:"dtree.xml",nodeData:t})}}];break;case"flowLib":t._icon=L.default.frameStyle.getFlowLibIcon(),t._style=L.default.frameStyle.getFlowLibIconStyle(),t.contextMenu=[{name:"添加目录",icon:L.default.frameStyle.getFolderIcon(),click:function(t,e){v.eventEmitter.emit(v.OPEN_CREATE_FOLDER_DIALOG,{nodeData:t})}},{name:"添加决策流",icon:L.default.frameStyle.getFlowIcon(),click:function(){v.eventEmitter.emit(v.OPEN_CREATE_FILE_DIALOG,{fileType:"rl.xml",nodeData:t})}}];break;case"scorecardLib":t._icon=L.default.frameStyle.getScorecardLibIcon(),t._style=L.default.frameStyle.getScorecardLibIconStyle(),t.contextMenu=[{name:"添加目录",icon:L.default.frameStyle.getFolderIcon(),click:function(t,e){v.eventEmitter.emit(v.OPEN_CREATE_FOLDER_DIALOG,{nodeData:t})}},{name:"添加评分卡",icon:L.default.frameStyle.getScorecardIcon(),click:function(){v.eventEmitter.emit(v.OPEN_CREATE_FILE_DIALOG,{fileType:"sc",nodeData:t})}}];break;case"ul":t._icon=L.default.frameStyle.getUlIcon(),t._style=L.default.frameStyle.getUlIconStyle();var n=T();n.splice(0,1),t.contextMenu=n,t.editorPath="/uleditor";break;case"decisionTable":t._icon=L.default.frameStyle.getDecisionTableIcon(),t._style=L.default.frameStyle.getDecisionTableIconStyle(),t.contextMenu=T(),t.editorPath="/decisiontableeditor";break;case"scriptDecisionTable":t._icon=L.default.frameStyle.getScriptDecisionTableIcon(),t._style=L.default.frameStyle.getScriptDecisionTableIconStyle(),t.contextMenu=T(),t.editorPath="/scriptdecisiontableeditor";break;case"decisionTree":t._icon=L.default.frameStyle.getDecisionTreeIcon(),t._style=L.default.frameStyle.getDecisionTreeIconStyle(),t.contextMenu=T(),t.editorPath="/decisiontreeeditor";break;case"flow":t._icon=L.default.frameStyle.getFlowIcon(),t._style=L.default.frameStyle.getFlowIconStyle(),t.contextMenu=T(),t.editorPath="/ruleflowdesigner";break;case"scorecard":t._icon=L.default.frameStyle.getScorecardIcon(),t._style=L.default.frameStyle.getScorecardIconStyle(),t.contextMenu=T(),t.editorPath="/scorecardeditor"}var r=t.children;r&&r.forEach(function(t,n){h(t,e)})}function p(){var t=[{name:"添加目录",icon:L.default.frameStyle.getFolderIcon(),click:function(t,e){v.eventEmitter.emit(v.OPEN_CREATE_FOLDER_DIALOG,{nodeData:t})}},{name:"添加变量库",icon:L.default.frameStyle.getVariableIcon(),click:function(t,e){v.eventEmitter.emit(v.OPEN_CREATE_FILE_DIALOG,{fileType:"vl.xml",nodeData:t})}},{name:"添加常量库",icon:L.default.frameStyle.getConstantIcon(),click:function(t,e){v.eventEmitter.emit(v.OPEN_CREATE_FILE_DIALOG,{fileType:"cl.xml",nodeData:t})}},{name:"添加参数库",icon:L.default.frameStyle.getParameterIcon(),click:function(t,e){v.eventEmitter.emit(v.OPEN_CREATE_FILE_DIALOG,{fileType:"pl.xml",nodeData:t})}},{name:"添加动作库",icon:L.default.frameStyle.getActionIcon(),click:function(t,e){v.eventEmitter.emit(v.OPEN_CREATE_FILE_DIALOG,{fileType:"al.xml",nodeData:t})}}];return t}function I(t,e){var n=[{name:t?"添加子目录":"添加目录",icon:L.default.frameStyle.getFolderIcon(),click:function(t,e){v.eventEmitter.emit(v.OPEN_CREATE_FOLDER_DIALOG,{nodeData:t})}}],r=!1;return e&&"all"!==e&&"lib"!==e||(n.push({name:"添加变量库",icon:L.default.frameStyle.getVariableIcon(),click:function(t,e){v.eventEmitter.emit(v.OPEN_CREATE_FILE_DIALOG,{fileType:"vl.xml",nodeData:t})}},{name:"添加常量库",icon:L.default.frameStyle.getConstantIcon(),click:function(t,e){v.eventEmitter.emit(v.OPEN_CREATE_FILE_DIALOG,{fileType:"cl.xml",nodeData:t})}},{name:"添加参数库",icon:L.default.frameStyle.getParameterIcon(),click:function(t,e){v.eventEmitter.emit(v.OPEN_CREATE_FILE_DIALOG,{fileType:"pl.xml",nodeData:t})}},{name:"添加动作库",icon:L.default.frameStyle.getActionIcon(),click:function(t,e){v.eventEmitter.emit(v.OPEN_CREATE_FILE_DIALOG,{fileType:"al.xml",nodeData:t})}}),r||(n.push(N()),r=!0)),e&&"all"!==e&&"ruleLib"!==e||(n.push({name:"添加向导式决策集",icon:L.default.frameStyle.getRuleIcon(),click:function(t,e){v.eventEmitter.emit(v.OPEN_CREATE_FILE_DIALOG,{fileType:"rs.xml",nodeData:t})}},{name:"添加脚本式决策集",icon:L.default.frameStyle.getUlIcon(),click:function(t,e){v.eventEmitter.emit(v.OPEN_CREATE_FILE_DIALOG,{fileType:"ul",nodeData:t})}}),r||(n.push(N()),r=!0)),e&&"all"!==e&&"decisionTableLib"!==e||(n.push.apply(n,[{name:"添加决策表",icon:L.default.frameStyle.getDecisionTableIcon(),click:function(t,e){v.eventEmitter.emit(v.OPEN_CREATE_FILE_DIALOG,{fileType:"dt.xml",nodeData:t})}}]),r||(n.push(N()),r=!0)),e&&"all"!==e&&"decisionTreeLib"!==e||(n.push({name:"添加决策树",icon:L.default.frameStyle.getDecisionTreeIcon(),click:function(t,e){v.eventEmitter.emit(v.OPEN_CREATE_FILE_DIALOG,{fileType:"dtree.xml",nodeData:t})}}),r||(n.push(N()),r=!0)),e&&"all"!==e&&"scorecardLib"!==e||n.push({name:"添加评分卡",icon:L.default.frameStyle.getScorecardIcon(),click:function(t,e){v.eventEmitter.emit(v.OPEN_CREATE_FILE_DIALOG,{fileType:"sc",nodeData:t})}}),e&&"all"!==e&&"flowLib"!==e||(n.push({name:"添加决策流",icon:L.default.frameStyle.getFlowIcon(),click:function(t,e){v.eventEmitter.emit(v.OPEN_CREATE_FILE_DIALOG,{fileType:"rl.xml",nodeData:t})}}),r||(n.push(N()),r=!0)),t&&(n.push({name:"删除",icon:"rf rf-remove",click:function(t,e){bootbox.confirm("删除目录["+t.name+"],将会同时删除其下所有子目录及文件,确认吗?",function(n){n&&x(t,e,!0)})}},{name:"修改目录名",icon:"rf rf-rename",click:function(t,e){v.eventEmitter.emit(v.SHOW_RENAME_DIALOG,t)}},{name:"锁定目录",icon:"rf rf-lock",click:function(t,e){E(t.fullPath,e)}},{name:"解锁目录",icon:"rf rf-unlock",click:function(t,e){y(t.fullPath,e)}}),r||(n.push(N()),r=!0)),n}function N(){return{name:"粘贴文件",icon:"rf rf-paste",click:function(t,e){var n=window.___cutFileData,r=!1;if(n||(n=window.___copyFileData,r=!0),!n)return void bootbox.alert("没有文件可供粘贴!");var o=t.fullPath,i=o+"/"+n.name,A=n.fullPath;if(A===i)return void bootbox.alert("目录未改变,不能进行此操作!");var a="真的要移动文件【"+n.name+"】到【"+o+"】目录吗?";r&&(a="真的要复制文件【"+n.name+"】到【"+o+"】目录吗?"),bootbox.confirm(a,function(t){t&&(window.___cutFileData=null,window.___copyFileData=null,r?$.ajax({url:window._server+"/frame/copyFile",type:"POST",data:{newFullPath:i,oldFullPath:A},success:function(t){var n=t.repo.rootFile;h(n,1),e({data:n,type:z})},error:function(t){t&&t.responseText?bootbox.alert("复制文件操作失败,服务端错误:"+t.responseText+""):bootbox.alert("复制文件操作失败,服务端出错")}}):c(A,i,e))})}}}function T(){return[{name:"查看源码",icon:"rf rf-code",click:function(t,e){C(t)}},{name:"查看版本信息",icon:"rf rf-version",click:function(t,e){D(t)}},{name:"删除文件",icon:"rf rf-remove",click:function(t,e){bootbox.confirm("真的要删除["+t.name+"]文件吗?",function(n){n&&x(t,e)})}},{name:"修改文件名",icon:"rf rf-rename",click:function(t,e){v.eventEmitter.emit(v.SHOW_RENAME_DIALOG,t)}},{name:"复制文件",icon:"rf rf-copy",click:function(t,e){window.___copyFileData=t,window.___cutFileData=null}},{name:"剪切文件",icon:"rf rf-cut",click:function(t,e){window.___cutFileData=t,window.___copyFileData=null}},{name:"锁定文件",icon:"rf rf-lock",click:function(t,e){E(t.fullPath,e)}},{name:"解锁文件",icon:"rf rf-unlock",click:function(t,e){y(t.fullPath,e)}}]}function E(t,e){j.eventEmitter.emit(j.SHOW_LOADING);var n=window._server+"/frame/lockFile";$.ajax({url:n,type:"POST",data:{file:t},success:function(t){var n=t.repo.rootFile;h(n,1),e({data:n,type:z}),j.eventEmitter.emit(j.HIDE_LOADING),bootbox.alert("锁定成功!")},error:function(t){j.eventEmitter.emit(j.HIDE_LOADING),401===t.status?bootbox.alert("权限不足,不能进行此操作."):t&&t.responseText?bootbox.alert("服务端错误:"+t.responseText+""):bootbox.alert("服务端出错")}})}function y(t,e){j.eventEmitter.emit(j.SHOW_LOADING);var n=window._server+"/frame/unlockFile";$.ajax({url:n,type:"POST",data:{file:t},success:function(t){var n=t.repo.rootFile;h(n,1),e({data:n,type:z}),j.eventEmitter.emit(j.HIDE_LOADING),bootbox.alert("解锁成功!")},error:function(t){j.eventEmitter.emit(j.HIDE_LOADING),401===t.status?bootbox.alert("权限不足,不能进行此操作."):t&&t.responseText?bootbox.alert("服务端错误:"+t.responseText+""):bootbox.alert("服务端出错")}})}function w(t,e){var n=window._server+"/common/saveFile";$.ajax({url:n,type:"POST",data:{file:t,content:e},success:function(){bootbox.alert("保存成功!")},error:function(t){401===t.status?bootbox.alert("权限不足,不能进行此操作."):t&&t.responseText?bootbox.alert("服务端错误:"+t.responseText+""):bootbox.alert("服务端出错")}})}function C(t){var e=window._server+"/frame/fileSource";$.ajax({url:e,type:"POST",data:{path:t.fullPath},success:function(e){v.eventEmitter.emit(v.OPEN_SOURCE_DIALOG,t.fullPath,e.content)},error:function(t){401===t.status?bootbox.alert("权限不足,不能进行此操作."):t&&t.responseText?bootbox.alert("服务端错误:"+t.responseText+""):bootbox.alert("服务端出错")}})}function D(t){var e=window._server+"/frame/fileVersions";$.ajax({url:e,type:"POST",data:{path:t.fullPath},success:function(e){v.eventEmitter.emit(v.OPEN_FILE_VERSION_DIALOG,{list:e,data:t})},error:function(t){401===t.status?bootbox.alert("权限不足,不能进行此操作."):t&&t.responseText?bootbox.alert("服务端错误:"+t.responseText+""):bootbox.alert("服务端出错")}})}function x(t,e,n){j.eventEmitter.emit(j.SHOW_LOADING),setTimeout(function(){var r=window._server+"/frame/deleteFile";$.ajax({url:r,type:"POST",data:{isFolder:n,path:t.fullPath,classify:window._classify,projectName:window._projectName,types:window._types},success:function(r){if(n){var o=r.repo.rootFile;h(o,1),e({data:o,type:z})}else e({data:t,type:S});j.eventEmitter.emit(j.HIDE_LOADING)},error:function(t){j.eventEmitter.emit(j.HIDE_LOADING),401===t.status?bootbox.alert("权限不足,不能进行此操作."):t&&t.responseText?bootbox.alert("服务端错误:"+t.responseText+""):bootbox.alert("服务端出错")}})},150)}Object.defineProperty(e,"__esModule",{value:!0}),e.CREATE_NEW_FILE=e.CREATE_NEW_PROJECT=e.FILE_RENAME=e.LOAD_END=e.UPDATE=e.DEL=e.ADD=void 0,e.createNewFile=i,e.rename=A,e.createNewProject=a,e.createNewFolder=l,e.fileRename=s,e.add=u,e.del=g,e.update=d,e.loadData=M,e.buildType=f,e.lockFile=E,e.unlockFile=y,e.saveFileSource=w,e.seeFileSource=C;var m=n(228),L=o(m),b=n(401),v=r(b),B=n(339),j=r(B),Q=e.ADD="add",S=e.DEL="del",U=e.UPDATE="upload",z=e.LOAD_END="load_end",k=e.FILE_RENAME="file_rename",O=e.CREATE_NEW_PROJECT="create_new_project",Y=e.CREATE_NEW_FILE="create_new_file"},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.eventEmitter=e.CHANGE_CLASSIFY=e.CLOSE_FILE_VERSION_DIALOG=e.OPEN_FILE_VERSION_DIALOG=e.CLOSE_SOURCE_DIALOG=e.OPEN_SOURCE_DIALOG=e.CLOSE_IMPORT_PROJECT_DIALOG=e.OPEN_IMPORT_PROJECT_DIALOG=e.PROJECT_FILTER_CHANGE=e.PROJECT_LIST_CHANGE=e.HIDE_RENAME_DIALOG=e.SHOW_RENAME_DIALOG=e.EXPAND_TREE_NODE=e.CLOSE_CREATE_FOLDER_DIALOG=e.OPEN_CREATE_FOLDER_DIALOG=e.CLOSE_CREATE_FILE_DIALOG=e.OPEN_CREATE_FILE_DIALOG=e.CLOSE_UPDATE_PROJECT_DIALOG=e.OPEN_UPDATE_PROJECT_DIALOG=e.CLOSE_NEW_PROJECT_DIALOG=e.OPEN_NEW_PROJECT_DIALOG=e.DIALOG_CONTNET_CHANGE=e.CLOSE_DIALOG=e.OPEN_DIALOG=void 0;var o=n(240),i=r(o);e.OPEN_DIALOG="open_dialog",e.CLOSE_DIALOG="close_dialog",e.DIALOG_CONTNET_CHANGE="dialog_content_change",e.OPEN_NEW_PROJECT_DIALOG="open_new_project_dialog",e.CLOSE_NEW_PROJECT_DIALOG="close_new_project_dialog",e.OPEN_UPDATE_PROJECT_DIALOG="open_update_project_dialog",e.CLOSE_UPDATE_PROJECT_DIALOG="close_update_project_dialog",e.OPEN_CREATE_FILE_DIALOG="create_file_dialog",e.CLOSE_CREATE_FILE_DIALOG="close_file_dialog",e.OPEN_CREATE_FOLDER_DIALOG="create_folder_dialog",e.CLOSE_CREATE_FOLDER_DIALOG="close_folder_dialog",e.EXPAND_TREE_NODE="expand_tree_node",e.SHOW_RENAME_DIALOG="SHOW_RENAME_DIALOG",e.HIDE_RENAME_DIALOG="HIDE_RENAME_DIALOG",e.PROJECT_LIST_CHANGE="project_list_change",e.PROJECT_FILTER_CHANGE="project_filter_change",e.OPEN_IMPORT_PROJECT_DIALOG="open_import_project_dialog",e.CLOSE_IMPORT_PROJECT_DIALOG="close_import_project_dialog",e.OPEN_SOURCE_DIALOG="open_source_dialog",e.CLOSE_SOURCE_DIALOG="close_source_dialog",e.OPEN_FILE_VERSION_DIALOG="open_file_version_dialog",e.CLOSE_FILE_VERSION_DIALOG="close_file_version_dialog",e.CHANGE_CLASSIFY="change_classify",e.eventEmitter=new i.default.EventEmitter},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.LIB_CHANGE="lib_change",e.LIBRARY={actionLibraries:[],variableCategories:[],constantCategories:[]}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function A(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n'}},{key:"newNode",value:function(){return new u.default}},{key:"getConfigs",value:function(){return{in:0,out:1,single:!0}}},{key:"getPropertiesProducer",value:function(){var t=this;return function(){var e=$("
");return e.append(t.getCommonProperties(this)),e}}}]),e}(s.default);e.default=g},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var A=function(){function t(t,e){for(var n=0;n'),n=$('');return n.change(function(){t.eventBean=$(this).val()}),n.val(t.eventBean),e.append(n),e}},{key:"buildScriptLintFunction",value:function(t){return function(e,n,r,o){if(""===e)return void n(o,[]);var i=window._server+"/common/scriptValidation";$.ajax({url:i,data:{type:t,content:e},type:"POST",success:function(t){if(t){var e=!0,r=!1,i=void 0;try{for(var A,a=t[Symbol.iterator]();!(e=(A=a.next()).done);e=!0){var l=A.value;l.from={line:l.line-1},l.to={line:l.line-1}}}catch(t){r=!0,i=t}finally{try{!e&&a.return&&a.return()}finally{if(r)throw i}}n(o,t)}else n(o,[])},error:function(){alert("语法检查操作失败!")}})}}}]),e}(a.Tool);e.default=l},function(t,e,n){!function(t){t(n(406))}(function(t){"use strict";function e(e,n){function r(e){return o.parentNode?(o.style.top=Math.max(0,e.clientY-o.offsetHeight-5)+"px",void(o.style.left=e.clientX+5+"px")):t.off(document,"mousemove",r)}var o=document.createElement("div");return o.className="CodeMirror-lint-tooltip",o.appendChild(n.cloneNode(!0)),document.body.appendChild(o),t.on(document,"mousemove",r),r(e),null!=o.style.opacity&&(o.style.opacity=1),o}function n(t){t.parentNode&&t.parentNode.removeChild(t)}function r(t){t.parentNode&&(null==t.style.opacity&&n(t),t.style.opacity=0,setTimeout(function(){n(t)},600))}function o(n,o,i){function A(){t.off(i,"mouseout",A),a&&(r(a),a=null)}var a=e(n,o),l=setInterval(function(){if(a)for(var t=i;;t=t.parentNode){if(t&&11==t.nodeType&&(t=t.host),t==document.body)return;if(!t){A();break}}if(!a)return clearInterval(l)},400);t.on(i,"mouseout",A)}function i(t,e,n){this.marked=[],this.options=e,this.timeout=null,this.hasGutter=n,this.onMouseOver=function(e){p(t,e)},this.waitingFor=0}function A(t,e){return e instanceof Function?{getAnnotations:e}:(e&&e!==!0||(e={}),e)}function a(t){var e=t.state.lint;e.hasGutter&&t.clearGutter(I);for(var n=0;n1,n.options.tooltips))}}r.onUpdateLinting&&r.onUpdateLinting(e,o,t)}function f(t){var e=t.state.lint;e&&(clearTimeout(e.timeout),e.timeout=setTimeout(function(){d(t)},e.options.delay||500))}function h(t,e){for(var n=e.target||e.srcElement,r=document.createDocumentFragment(),i=0;i0;--e)t.removeChild(t.firstChild);return t}function n(t,n){return e(t).appendChild(n)}function r(t,e,n,r){var o=document.createElement(t);if(n&&(o.className=n),r&&(o.style.cssText=r),"string"==typeof e)o.appendChild(document.createTextNode(e));else if(e)for(var i=0;i=e)return A+(e-i);A+=a-i,A+=n-A%n,i=a+1}}function u(){this.id=null}function g(t,e){for(var n=0;n=e)return r+Math.min(A,e-o);if(o+=i-r,o+=n-o%n,r=i+1,o>=e)return r}}function M(t){for(;SA.length<=t;)SA.push(f(SA)+" ");return SA[t]}function f(t){return t[t.length-1]}function h(t,e){for(var n=[],r=0;r"€"&&(t.toUpperCase()!=t.toLowerCase()||UA.test(t))}function E(t,e){return e?!!(e.source.indexOf("\\w")>-1&&T(t))||e.test(t):T(t)}function y(t){for(var e in t)if(t.hasOwnProperty(e)&&t[e])return!1;return!0}function w(t){return t.charCodeAt(0)>=768&&zA.test(t)}function C(t,e,n){var o=this;this.input=n,o.scrollbarFiller=r("div",null,"CodeMirror-scrollbar-filler"),o.scrollbarFiller.setAttribute("cm-not-content","true"),o.gutterFiller=r("div",null,"CodeMirror-gutter-filler"),o.gutterFiller.setAttribute("cm-not-content","true"),o.lineDiv=r("div",null,"CodeMirror-code"),o.selectionDiv=r("div",null,null,"position: relative; z-index: 1"),o.cursorDiv=r("div",null,"CodeMirror-cursors"),o.measure=r("div",null,"CodeMirror-measure"),o.lineMeasure=r("div",null,"CodeMirror-measure"),o.lineSpace=r("div",[o.measure,o.lineMeasure,o.selectionDiv,o.cursorDiv,o.lineDiv],null,"position: relative; outline: none"),o.mover=r("div",[r("div",[o.lineSpace],"CodeMirror-lines")],null,"position: relative"),o.sizer=r("div",[o.mover],"CodeMirror-sizer"),o.sizerWidth=null,o.heightForcer=r("div",null,null,"position: absolute; height: "+bA+"px; width: 1px;"),o.gutters=r("div",null,"CodeMirror-gutters"),o.lineGutter=null,o.scroller=r("div",[o.sizer,o.heightForcer,o.gutters],"CodeMirror-scroll"),o.scroller.setAttribute("tabIndex","-1"),o.wrapper=r("div",[o.scrollbarFiller,o.gutterFiller,o.scroller],"CodeMirror"),aA&&lA<8&&(o.gutters.style.zIndex=-1,o.scroller.style.paddingRight=0),sA||oA&&pA||(o.scroller.draggable=!0),t&&(t.appendChild?t.appendChild(o.wrapper):t(o.wrapper)),o.viewFrom=o.viewTo=e.first,o.reportedViewFrom=o.reportedViewTo=e.first,o.view=[],o.renderedView=null,o.externalMeasured=null,o.viewOffset=0,o.lastWrapHeight=o.lastWrapWidth=0,o.updateLineNumbers=null,o.nativeBarWidth=o.barHeight=o.barWidth=0,o.scrollbarsClipped=!1,o.lineNumWidth=o.lineNumInnerWidth=o.lineNumChars=null,o.alignWidgets=!1,o.cachedCharWidth=o.cachedTextHeight=o.cachedPaddingH=null,o.maxLine=null,o.maxLineLength=0,o.maxLineChanged=!1,o.wheelDX=o.wheelDY=o.wheelStartX=o.wheelStartY=null,o.shift=!1,o.selForContextMenu=null,o.activeTouch=null,n.init(o)}function D(t,e){if(e-=t.first,e<0||e>=t.size)throw new Error("There is no line "+(e+t.first)+" in the document.");for(var n=t;!n.lines;)for(var r=0;;++r){var o=n.children[r],i=o.chunkSize();if(e=t.first&&en?Q(n,D(t,n).text.length):R(e,D(t,e.line).text.length)}function R(t,e){var n=t.ch;return null==n||n>e?Q(t.line,e):n<0?Q(t.line,0):t}function F(t,e){for(var n=[],r=0;r=e:i.to>e);(r||(r=[])).push(new G(A,i.from,l?null:i.to))}}return r}function Z(t,e,n){var r;if(t)for(var o=0;o=e:i.to>e);if(a||i.from==e&&"bookmark"==A.type&&(!n||i.marker.insertLeft)){var l=null==i.from||(A.inclusiveLeft?i.from<=e:i.from0&&a)for(var E=0;E0)){var c=[l,1],u=S(s.from,a.from),d=S(s.to,a.to);(u<0||!A.inclusiveLeft&&!u)&&c.push({from:s.from,to:a.from}),(d>0||!A.inclusiveRight&&!d)&&c.push({from:a.to,to:s.to}),o.splice.apply(o,c),l+=c.length-1}}return o}function $(t){var e=t.markedSpans;if(e){for(var n=0;n=0&&u<=0||c<=0&&u>=0)&&(c<=0&&(l.marker.inclusiveRight&&o.inclusiveLeft?S(s.to,n)>=0:S(s.to,n)>0)||c>=0&&(l.marker.inclusiveRight&&o.inclusiveLeft?S(s.from,r)<=0:S(s.from,r)<0)))return!0}}}function lt(t){for(var e;e=it(t);)t=e.find(-1,!0).line;return t}function st(t){for(var e,n;e=At(t);)t=e.find(1,!0).line,(n||(n=[])).push(t);return n}function ct(t,e){var n=D(t,e),r=lt(n);return n==r?e:b(r)}function ut(t,e){if(e>t.lastLine())return e;var n,r=D(t,e);if(!gt(t,r))return e;for(;n=At(r);)r=n.find(1,!0).line;return b(r)+1}function gt(t,e){var n=OA&&e.markedSpans;if(n)for(var r=void 0,o=0;oe.maxLineLength&&(e.maxLineLength=n,e.maxLine=t)})}function pt(t,e,n,r){if(!t)return r(e,n,"ltr");for(var o=!1,i=0;ie||e==n&&A.to==e)&&(r(Math.max(A.from,e),Math.min(A.to,n),1==A.level?"rtl":"ltr"),o=!0)}o||r(e,n,"ltr")}function It(t){return t.level%2?t.to:t.from}function Nt(t){return t.level%2?t.from:t.to}function Tt(t){var e=mt(t);return e?It(e[0]):0}function Et(t){var e=mt(t);return e?Nt(f(e)):t.text.length}function yt(t,e,n){var r=t[0].level;return e==r||n!=r&&ee)return r;if(o.from==e||o.to==e){if(null!=n)return yt(t,o.level,t[n].level)?(o.from!=o.to&&(YA=n),r):(o.from!=o.to&&(YA=r),n);n=r}}return n}function Ct(t,e,n,r){if(!r)return e+n;do e+=n;while(e>0&&w(t.text.charAt(e)));return e}function Dt(t,e,n,r){var o=mt(t);if(!o)return xt(t,e,n,r);for(var i=wt(o,e),A=o[i],a=Ct(t,e,A.level%2?-n:n,r);;){if(a>A.from&&a0==A.level%2?A.to:A.from);if(A=o[i+=n],!A)return null;a=n>0==A.level%2?Ct(t,A.to,-1,r):Ct(t,A.from,1,r)}}function xt(t,e,n,r){var o=e+n;if(r)for(;o>0&&w(t.text.charAt(o));)o+=n;return o<0||o>t.text.length?null:o}function mt(t){var e=t.order;return null==e&&(e=t.order=RA(t.text)),e}function Lt(t,e){return t._handlers&&t._handlers[e]||FA}function bt(t,e,n){if(t.removeEventListener)t.removeEventListener(e,n,!1);else if(t.detachEvent)t.detachEvent("on"+e,n);else{var r=t._handlers,o=r&&r[e];if(o){var i=g(o,n);i>-1&&(r[e]=o.slice(0,i).concat(o.slice(i+1)))}}}function vt(t,e){var n=Lt(t,e);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),o=0;o0}function St(t){t.prototype.on=function(t,e){HA(this,t,e)},t.prototype.off=function(t,e){bt(this,t,e)}}function Ut(t){t.preventDefault?t.preventDefault():t.returnValue=!1}function zt(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0}function kt(t){return null!=t.defaultPrevented?t.defaultPrevented:0==t.returnValue}function Ot(t){Ut(t),zt(t)}function Yt(t){return t.target||t.srcElement}function Rt(t){var e=t.which;return null==e&&(1&t.button?e=1:2&t.button?e=3:4&t.button&&(e=2)),IA&&t.ctrlKey&&1==e&&(e=3),e}function Ft(t){if(null==mA){var e=r("span","​");n(t,r("span",[e,document.createTextNode("x")])),0!=t.firstChild.offsetHeight&&(mA=e.offsetWidth<=1&&e.offsetHeight>2&&!(aA&&lA<8))}var o=mA?r("span","​"):r("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return o.setAttribute("cm-text",""),o}function Ht(t){if(null!=LA)return LA;var r=n(t,document.createTextNode("AخA")),o=yA(r,0,1).getBoundingClientRect(),i=yA(r,1,2).getBoundingClientRect();return e(t),!(!o||o.left==o.right)&&(LA=i.right-o.right<3)}function Vt(t){if(null!=WA)return WA;var e=n(t,r("span","x")),o=e.getBoundingClientRect(),i=yA(e,0,1).getBoundingClientRect();return WA=Math.abs(o.left-i.left)>1}function Gt(t,e){arguments.length>2&&(e.dependencies=Array.prototype.slice.call(arguments,2)),JA[t]=e}function Pt(t,e){ZA[t]=e}function Xt(t){if("string"==typeof t&&ZA.hasOwnProperty(t))t=ZA[t];else if(t&&"string"==typeof t.name&&ZA.hasOwnProperty(t.name)){var e=ZA[t.name];"string"==typeof e&&(e={name:e}),t=N(e,t),t.name=e.name}else{if("string"==typeof t&&/^[\w\-]+\/[\w\-]+\+xml$/.test(t))return Xt("application/xml");if("string"==typeof t&&/^[\w\-]+\/[\w\-]+\+json$/.test(t))return Xt("application/json")}return"string"==typeof t?{name:t}:t||{name:"null"}}function Wt(t,e){e=Xt(e);var n=JA[e.name];if(!n)return Wt(t,"text/plain");var r=n(t,e);if(KA.hasOwnProperty(e.name)){var o=KA[e.name];for(var i in o)o.hasOwnProperty(i)&&(r.hasOwnProperty(i)&&(r["_"+i]=r[i]),r[i]=o[i])}if(r.name=e.name,e.helperType&&(r.helperType=e.helperType),e.modeProps)for(var A in e.modeProps)r[A]=e.modeProps[A];return r}function Jt(t,e){var n=KA.hasOwnProperty(t)?KA[t]:KA[t]={};s(e,n)}function Zt(t,e){if(e===!0)return e;if(t.copyState)return t.copyState(e);var n={};for(var r in e){var o=e[r];o instanceof Array&&(o=o.concat([])),n[r]=o}return n}function Kt(t,e){for(var n;t.innerMode&&(n=t.innerMode(e),n&&n.mode!=t);)e=n.state,t=n.mode;return n||{mode:t,state:e}}function _t(t,e,n){return!t.startState||t.startState(e,n)}function qt(t,e,n,r){var o=[t.state.modeGen],i={};Ae(t,e.text,t.doc.mode,n,function(t,e){return o.push(t,e)},i,r);for(var A=function(n){var r=t.state.overlays[n],A=1,a=0;Ae(t,e.text,r.mode,!0,function(t,e){for(var n=A;at&&o.splice(A,1,t,o[A+1],i),A+=2,a=Math.min(t,i)}if(e)if(r.opaque)o.splice(n,A-n,t,"overlay "+e),A=n+2;else for(;nt.options.maxHighlightLength?Zt(t.doc.mode,r):r);e.stateAfter=r,e.styles=o.styles,o.classes?e.styleClasses=o.classes:e.styleClasses&&(e.styleClasses=null),n===t.doc.frontier&&t.doc.frontier++}return e.styles}function te(t,e,n){var r=t.doc,o=t.display;if(!r.mode.startState)return!0;var i=ae(t,e,n),A=i>r.first&&D(r,i-1).stateAfter;return A=A?Zt(r.mode,A):_t(r.mode),r.iter(i,e,function(n){ee(t,n.text,A);var a=i==e-1||i%5==0||i>=o.viewFrom&&ie.start)return i}throw new Error("Mode "+t.name+" failed to advance stream.")}function oe(t,e,n,r){var o,i=function(t){return{start:u.start,end:u.pos,string:u.current(),type:o||null,state:t?Zt(A.mode,c):c}},A=t.doc,a=A.mode;e=Y(A,e);var l,s=D(A,e.line),c=te(t,e.line,n),u=new _A(s.text,t.options.tabSize);for(r&&(l=[]);(r||u.post.options.maxHighlightLength?(a=!1,A&&ee(t,e,r,u.pos),u.pos=e.length,l=null):l=ie(re(n,u,r,g),i),g){var d=g[0].name;d&&(l="m-"+(l?d+" "+l:d))}if(!a||c!=l){for(;sA;--a){if(a<=i.first)return i.first;var l=D(i,a-1);if(l.stateAfter&&(!n||a<=i.frontier))return a;var s=c(l.text,null,t.options.tabSize);(null==o||r>s)&&(o=a-1,r=s)}return o}function le(t,e,n){this.text=t,tt(this,e),this.height=n?n(this):1}function se(t,e,n,r){t.text=e,t.stateAfter&&(t.stateAfter=null),t.styles&&(t.styles=null),null!=t.order&&(t.order=null),$(t),tt(t,n);var o=r?r(t):1;o!=t.height&&L(t,o)}function ce(t){t.parent=null,$(t)}function ue(t,e){if(!t||/^\s*$/.test(t))return null;var n=e.addModeClass?ta:$A;return n[t]||(n[t]=t.replace(/\S+/g,"cm-$&"))}function ge(t,e){var n=r("span",null,null,sA?"padding-right: .1px":null),o={pre:r("pre",[n],"CodeMirror-line"),content:n,col:0,pos:0,cm:t,trailingSpace:!1,splitSpaces:(aA||sA)&&t.getOption("lineWrapping")};e.measure={};for(var i=0;i<=(e.rest?e.rest.length:0);i++){var A=i?e.rest[i-1]:e.line,l=void 0;o.pos=0,o.addToken=Me,Ht(t.display.measure)&&(l=mt(A))&&(o.addToken=he(o.addToken,l)),o.map=[];var s=e!=t.display.externalMeasured&&b(A);Ie(A,o,$t(t,A,s)),A.styleClasses&&(A.styleClasses.bgClass&&(o.bgClass=a(A.styleClasses.bgClass,o.bgClass||"")),A.styleClasses.textClass&&(o.textClass=a(A.styleClasses.textClass,o.textClass||""))),0==o.map.length&&o.map.push(0,0,o.content.appendChild(Ft(t.display.measure))),0==i?(e.measure.map=o.map,e.measure.cache={}):((e.measure.maps||(e.measure.maps=[])).push(o.map),(e.measure.caches||(e.measure.caches=[])).push({}))}if(sA){var c=o.content.lastChild;(/\bcm-tab\b/.test(c.className)||c.querySelector&&c.querySelector(".cm-tab"))&&(o.content.className="cm-tab-wrap-hack")}return vt(t,"renderLine",t,e.line,o.pre),o.pre.className&&(o.textClass=a(o.pre.className,o.textClass||"")),o}function de(t){var e=r("span","•","cm-invalidchar");return e.title="\\u"+t.charCodeAt(0).toString(16),e.setAttribute("aria-label",e.title),e}function Me(t,e,n,o,i,A,a){if(e){var l,s=t.splitSpaces?fe(e,t.trailingSpace):e,c=t.cm.state.specialChars,u=!1;if(c.test(e)){l=document.createDocumentFragment();for(var g=0;;){c.lastIndex=g;var d=c.exec(e),f=d?d.index-g:e.length-g;if(f){var h=document.createTextNode(s.slice(g,g+f));aA&&lA<9?l.appendChild(r("span",[h])):l.appendChild(h),t.map.push(t.pos,t.pos+f,h),t.col+=f,t.pos+=f}if(!d)break;g+=f+1;var p=void 0;if("\t"==d[0]){var I=t.cm.options.tabSize,N=I-t.col%I;p=l.appendChild(r("span",M(N),"cm-tab")),p.setAttribute("role","presentation"),p.setAttribute("cm-text","\t"),t.col+=N}else"\r"==d[0]||"\n"==d[0]?(p=l.appendChild(r("span","\r"==d[0]?"␍":"␤","cm-invalidchar")),p.setAttribute("cm-text",d[0]),t.col+=1):(p=t.cm.options.specialCharPlaceholder(d[0]),p.setAttribute("cm-text",d[0]),aA&&lA<9?l.appendChild(r("span",[p])):l.appendChild(p),t.col+=1);t.map.push(t.pos,t.pos+1,p),t.pos++}}else t.col+=e.length,l=document.createTextNode(s),t.map.push(t.pos,t.pos+e.length,l),aA&&lA<9&&(u=!0),t.pos+=e.length;if(t.trailingSpace=32==s.charCodeAt(e.length-1),n||o||i||u||a){var T=n||"";o&&(T+=o),i&&(T+=i);var E=r("span",[l],T,a);return A&&(E.title=A),t.content.appendChild(E)}t.content.appendChild(l)}}function fe(t,e){if(t.length>1&&!/ /.test(t))return t;for(var n=e,r="",o=0;os&&u.from<=s));g++);if(u.to>=c)return t(n,r,o,i,A,a,l);t(n,r.slice(0,u.to-s),o,i,null,a,l),i=null,r=r.slice(u.to-s),s=u.to}}}function pe(t,e,n,r){var o=!r&&n.widgetNode;o&&t.map.push(t.pos,t.pos+e,o),!r&&t.cm.display.input.needsContentAttribute&&(o||(o=t.content.appendChild(document.createElement("span"))),o.setAttribute("cm-marker",n.id)),o&&(t.cm.display.input.setUneditable(o),t.content.appendChild(o)),t.pos+=e,t.trailingSpace=!1}function Ie(t,e,n){var r=t.markedSpans,o=t.text,i=0;if(r)for(var A,a,l,s,c,u,g,d=o.length,M=0,f=1,h="",p=0;;){if(p==M){l=s=c=u=a="",g=null,p=1/0;for(var I=[],N=void 0,T=0;TM||y.collapsed&&E.to==M&&E.from==M)?(null!=E.to&&E.to!=M&&p>E.to&&(p=E.to,s=""),y.className&&(l+=" "+y.className),y.css&&(a=(a?a+";":"")+y.css),y.startStyle&&E.from==M&&(c+=" "+y.startStyle),y.endStyle&&E.to==p&&(N||(N=[])).push(y.endStyle,E.to),y.title&&!u&&(u=y.title),y.collapsed&&(!g||rt(g.marker,y)<0)&&(g=E)):E.from>M&&p>E.from&&(p=E.from)}if(N)for(var w=0;w=d)break;for(var D=Math.min(d,p);;){if(h){var x=M+h.length;if(!g){var m=x>D?h.slice(0,D-M):h;e.addToken(e,m,A?A+l:l,c,M+m.length==p?s:"",u,a)}if(x>=D){h=h.slice(D-M),M=D;break}M=x,c=""}h=o.slice(i,i=n[f++]),A=ue(n[f++],e.cm.options)}}else for(var L=1;L2&&i.push((l.bottom+s.top)/2-n.top)}}i.push(n.bottom-n.top)}}function We(t,e,n){if(t.line==e)return{map:t.measure.map,cache:t.measure.cache};for(var r=0;rn)return{map:t.measure.maps[o],cache:t.measure.caches[o],before:!0}}function Je(t,e){e=lt(e);var r=b(e),o=t.display.externalMeasured=new Ne(t.doc,e,r);o.lineN=r;var i=o.built=ge(t,o);return o.text=i.pre,n(t.display.lineMeasure,i.pre),o}function Ze(t,e,n,r){return qe(t,_e(t,e),n,r)}function Ke(t,e){if(e>=t.display.viewFrom&&e=n.lineN&&ee)&&(i=l-a,o=i-1,e>=l&&(A="right")),null!=o){if(r=t[s+2],a==l&&n==(r.insertLeft?"left":"right")&&(A=n),"left"==n&&0==o)for(;s&&t[s-2]==t[s-3]&&t[s-1].insertLeft;)r=t[(s-=3)+2],A="left";if("right"==n&&o==l-a)for(;s=0&&(n=t[o]).left==n.right;o--);return n}function en(t,e,n,r){var o,i=$e(e.map,n,r),A=i.node,a=i.start,l=i.end,s=i.collapse;if(3==A.nodeType){for(var c=0;c<4;c++){for(;a&&w(e.line.text.charAt(i.coverStart+a));)--a;for(;i.coverStart+l0&&(s=r="right");var u;o=t.options.lineWrapping&&(u=A.getClientRects()).length>1?u["right"==r?u.length-1:0]:A.getBoundingClientRect()}if(aA&&lA<9&&!a&&(!o||!o.left&&!o.right)){var g=A.parentNode.getClientRects()[0];o=g?{left:g.left,right:g.left+In(t.display),top:g.top,bottom:g.bottom}:ra}for(var d=o.top-e.rect.top,M=o.bottom-e.rect.top,f=(d+M)/2,h=e.view.measure.heights,p=0;pn.from?A(t-1):A(t,r)}r=r||D(t.doc,e.line),o||(o=_e(t,r));var l=mt(r),s=e.ch;if(!l)return A(s);var c=wt(l,s),u=a(s,c);return null!=YA&&(u.other=a(s,YA)),u}function dn(t,e){var n=0;e=Y(t.doc,e),t.options.lineWrapping||(n=In(t.display)*e.ch);var r=D(t.doc,e.line),o=Mt(r)+Re(t.display);return{left:n,right:n,top:o,bottom:o+r.height}}function Mn(t,e,n,r){var o=Q(t,e);return o.xRel=r,n&&(o.outside=!0),o}function fn(t,e,n){var r=t.doc;if(n+=t.display.viewOffset,n<0)return Mn(r.first,0,!0,-1);var o=v(r,n),i=r.first+r.size-1;if(o>i)return Mn(r.first+r.size-1,D(r,i).text.length,!0,1);e<0&&(e=0);for(var A=D(r,o);;){var a=hn(t,A,o,e,n),l=At(A),s=l&&l.find(0,!0);if(!l||!(a.ch>s.from.ch||a.ch==s.from.ch&&a.xRel>0))return a;o=b(A=s.to.line)}}function hn(t,e,n,r,o){function i(r){var o=gn(t,Q(n,r),"line",e,s);return a=!0,A>o.bottom?o.left-l:Ah)return Mn(n,d,p,1);for(;;){if(c?d==g||d==Dt(e,g,1):d-g<=1){var I=r0&&I1){var E=qe(t,s,I,"right");A<=E.bottom&&A>=E.top&&Math.abs(r-E.right)1?1:0);return y}var C=Math.ceil(u/2),D=g+C;if(c){D=g;for(var x=0;xr?(d=D,h=m,(p=a)&&(h+=1e3),u=C):(g=D,M=m,f=a,u-=C)}}function pn(t){if(null!=t.cachedTextHeight)return t.cachedTextHeight;if(null==qA){qA=r("pre");for(var o=0;o<49;++o)qA.appendChild(document.createTextNode("x")),qA.appendChild(r("br"));qA.appendChild(document.createTextNode("x"))}n(t.measure,qA);var i=qA.offsetHeight/50;return i>3&&(t.cachedTextHeight=i),e(t.measure),i||1}function In(t){if(null!=t.cachedCharWidth)return t.cachedCharWidth;var e=r("span","xxxxxxxxxx"),o=r("pre",[e]);n(t.measure,o);var i=e.getBoundingClientRect(),A=(i.right-i.left)/10;return A>2&&(t.cachedCharWidth=A),A||10}function Nn(t){for(var e=t.display,n={},r={},o=e.gutters.clientLeft,i=e.gutters.firstChild,A=0;i;i=i.nextSibling,++A)n[t.options.gutters[A]]=i.offsetLeft+i.clientLeft+o,r[t.options.gutters[A]]=i.clientWidth;return{fixedPos:Tn(e),gutterTotalWidth:e.gutters.offsetWidth,gutterLeft:n,gutterWidth:r,wrapperWidth:e.wrapper.clientWidth}}function Tn(t){return t.scroller.getBoundingClientRect().left-t.sizer.getBoundingClientRect().left}function En(t){var e=pn(t.display),n=t.options.lineWrapping,r=n&&Math.max(5,t.display.scroller.clientWidth/In(t.display)-3);return function(o){if(gt(t.doc,o))return 0;var i=0;if(o.widgets)for(var A=0;A=t.display.viewTo)return null;if(e-=t.display.viewFrom,e<0)return null;for(var n=t.display.view,r=0;r=t.display.viewTo||a.to().line3&&(o(d,f.top,null,f.bottom),d=c,f.bottoml.bottom||s.bottom==l.bottom&&s.right>l.right)&&(l=s),d0?e.blinker=setInterval(function(){return e.cursorDiv.style.visibility=(n=!n)?"":"hidden"},t.options.cursorBlinkRate):t.options.cursorBlinkRate<0&&(e.cursorDiv.style.visibility="hidden")}}function vn(t){t.state.focused||(t.display.input.focus(),jn(t))}function Bn(t){t.state.delayingBlurEvent=!0,setTimeout(function(){t.state.delayingBlurEvent&&(t.state.delayingBlurEvent=!1,Qn(t))},100)}function jn(t,e){t.state.delayingBlurEvent&&(t.state.delayingBlurEvent=!1),"nocursor"!=t.options.readOnly&&(t.state.focused||(vt(t,"focus",t,e),t.state.focused=!0,A(t.display.wrapper,"CodeMirror-focused"),t.curOp||t.display.selForContextMenu==t.doc.sel||(t.display.input.reset(),sA&&setTimeout(function(){return t.display.input.reset(!0)},20)),t.display.input.receivedFocus()),bn(t))}function Qn(t,e){t.state.delayingBlurEvent||(t.state.focused&&(vt(t,"blur",t,e),t.state.focused=!1,DA(t.display.wrapper,"CodeMirror-focused")),clearInterval(t.display.blinker),setTimeout(function(){t.state.focused||(t.display.shift=!1)},150))}function Sn(t){var e=t.display,n=e.view;if(e.alignWidgets||e.gutters.firstChild&&t.options.fixedGutter){for(var r=Tn(e)-e.scroller.scrollLeft+t.doc.scrollLeft,o=e.gutters.offsetWidth,i=r+"px",A=0;A.001||l<-.001)&&(L(o.line,i),kn(o.line),o.rest))for(var s=0;s=A&&(i=v(e,Mt(D(e,l))-t.wrapper.clientHeight),A=l)}return{from:i,to:Math.max(A,i+1)}}function Yn(t,e){Math.abs(t.doc.scrollTop-e)<2||(t.doc.scrollTop=e,oA||mr(t,{top:e}),t.display.scroller.scrollTop!=e&&(t.display.scroller.scrollTop=e),t.display.scrollbars.setScrollTop(e),oA&&mr(t),Er(t,100))}function Rn(t,e,n){(n?e==t.doc.scrollLeft:Math.abs(t.doc.scrollLeft-e)<2)||(e=Math.min(e,t.display.scroller.scrollWidth-t.display.scroller.clientWidth),t.doc.scrollLeft=e,Sn(t),t.display.scroller.scrollLeft!=e&&(t.display.scroller.scrollLeft=e),t.display.scrollbars.setScrollLeft(e))}function Fn(t){var e=t.wheelDeltaX,n=t.wheelDeltaY;return null==e&&t.detail&&t.axis==t.HORIZONTAL_AXIS&&(e=t.detail),null==n&&t.detail&&t.axis==t.VERTICAL_AXIS?n=t.detail:null==n&&(n=t.wheelDelta),{x:e,y:n}}function Hn(t){var e=Fn(t);return e.x*=ia,e.y*=ia,e}function Vn(t,e){var n=Fn(e),r=n.x,o=n.y,i=t.display,A=i.scroller,a=A.scrollWidth>A.clientWidth,l=A.scrollHeight>A.clientHeight;if(r&&a||o&&l){if(o&&IA&&sA)t:for(var s=e.target,c=i.view;s!=A;s=s.parentNode)for(var u=0;u(window.innerHeight||document.documentElement.clientHeight)&&(i=!1),null!=i&&!fA){var A=r("div","​",null,"position: absolute;\n top: "+(e.top-n.viewOffset-Re(t.display))+"px;\n height: "+(e.bottom-e.top+Ve(t)+n.barHeight)+"px;\n left: "+e.left+"px; width: 2px;");t.display.lineSpace.appendChild(A),A.scrollIntoView(i),t.display.lineSpace.removeChild(A)}}}function _n(t,e,n,r){null==r&&(r=0);for(var o,i=0;i<5;i++){var A=!1;o=gn(t,e);var a=n&&n!=e?gn(t,n):o,l=$n(t,Math.min(o.left,a.left),Math.min(o.top,a.top)-r,Math.max(o.left,a.left),Math.max(o.bottom,a.bottom)+r),s=t.doc.scrollTop,c=t.doc.scrollLeft;if(null!=l.scrollTop&&(Yn(t,l.scrollTop),Math.abs(t.doc.scrollTop-s)>1&&(A=!0)),null!=l.scrollLeft&&(Rn(t,l.scrollLeft),Math.abs(t.doc.scrollLeft-c)>1&&(A=!0)),!A)break}return o}function qn(t,e,n,r,o){var i=$n(t,e,n,r,o);null!=i.scrollTop&&Yn(t,i.scrollTop),null!=i.scrollLeft&&Rn(t,i.scrollLeft)}function $n(t,e,n,r,o){var i=t.display,A=pn(t.display);n<0&&(n=0);var a=t.curOp&&null!=t.curOp.scrollTop?t.curOp.scrollTop:i.scroller.scrollTop,l=Pe(t),s={};o-n>l&&(o=n+l);var c=t.doc.height+Fe(i),u=nc-A;if(na+l){var d=Math.min(n,(g?c:o)-l);d!=a&&(s.scrollTop=d)}var M=t.curOp&&null!=t.curOp.scrollLeft?t.curOp.scrollLeft:i.scroller.scrollLeft,f=Ge(t)-(t.options.fixedGutter?i.gutters.offsetWidth:0),h=r-e>f;return h&&(r=e+f),e<10?s.scrollLeft=0:ef+M-3&&(s.scrollLeft=r+(h?0:10)-f),s}function tr(t,e,n){null==e&&null==n||nr(t),null!=e&&(t.curOp.scrollLeft=(null==t.curOp.scrollLeft?t.doc.scrollLeft:t.curOp.scrollLeft)+e),null!=n&&(t.curOp.scrollTop=(null==t.curOp.scrollTop?t.doc.scrollTop:t.curOp.scrollTop)+n)}function er(t){nr(t);var e=t.getCursor(),n=e,r=e;t.options.lineWrapping||(n=e.ch?Q(e.line,e.ch-1):e,r=Q(e.line,e.ch+1)),t.curOp.scrollToPos={from:n,to:r,margin:t.options.cursorScrollMargin,isCursor:!0}}function nr(t){var e=t.curOp.scrollToPos;if(e){t.curOp.scrollToPos=null;var n=dn(t,e.from),r=dn(t,e.to),o=$n(t,Math.min(n.left,r.left),Math.min(n.top,r.top)-e.margin,Math.max(n.right,r.right),Math.max(n.bottom,r.bottom)+e.margin);t.scrollTo(o.scrollLeft,o.scrollTop)}}function rr(t){t.curOp={cm:t,viewChanged:!1,startHeight:t.doc.height,forceUpdate:!1,updateInput:null,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++aa},Ee(t.curOp)}function or(t){var e=t.curOp;we(e,function(t){for(var e=0;e=n.viewTo)||n.maxLineChanged&&e.options.lineWrapping,t.update=t.mustUpdate&&new wr(e,t.mustUpdate&&{top:t.scrollTop,ensure:t.scrollToPos},t.forceUpdate)}function ar(t){t.updatedDisplay=t.mustUpdate&&Dr(t.cm,t.update)}function lr(t){var e=t.cm,n=e.display;t.updatedDisplay&&zn(e),t.barMeasure=Gn(e),n.maxLineChanged&&!e.options.lineWrapping&&(t.adjustWidthTo=Ze(e,n.maxLine,n.maxLine.text.length).left+3,e.display.sizerWidth=t.adjustWidthTo,t.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+t.adjustWidthTo+Ve(e)+e.display.barWidth),t.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+t.adjustWidthTo-Ge(e))),(t.updatedDisplay||t.selectionChanged)&&(t.preparedSelection=n.input.prepareSelection(t.focus))}function sr(t){var e=t.cm;null!=t.adjustWidthTo&&(e.display.sizer.style.minWidth=t.adjustWidthTo+"px",t.maxScrollLefte)&&(o.updateLineNumbers=e),t.curOp.viewChanged=!0,e>=o.viewTo)OA&&ct(t.doc,e)o.viewFrom?pr(t):(o.viewFrom+=r,o.viewTo+=r);else if(e<=o.viewFrom&&n>=o.viewTo)pr(t);else if(e<=o.viewFrom){var i=Ir(t,n,n+r,1);i?(o.view=o.view.slice(i.index),o.viewFrom=i.lineN,o.viewTo+=r):pr(t)}else if(n>=o.viewTo){var A=Ir(t,e,e,-1);A?(o.view=o.view.slice(0,A.index),o.viewTo=A.lineN):pr(t)}else{var a=Ir(t,e,e,-1),l=Ir(t,n,n+r,1);a&&l?(o.view=o.view.slice(0,a.index).concat(Te(t,a.lineN,l.lineN)).concat(o.view.slice(l.index)),o.viewTo+=r):pr(t)}var s=o.externalMeasured;s&&(n=o.lineN&&e=r.viewTo)){var i=r.view[Cn(t,e)];if(null!=i.node){var A=i.changes||(i.changes=[]);g(A,n)==-1&&A.push(n)}}}function pr(t){t.display.viewFrom=t.display.viewTo=t.doc.first,t.display.view=[],t.display.viewOffset=0}function Ir(t,e,n,r){var o,i=Cn(t,e),A=t.display.view;if(!OA||n==t.doc.first+t.doc.size)return{index:i,lineN:n};for(var a=t.display.viewFrom,l=0;l0){if(i==A.length-1)return null;o=a+A[i].size-e,i++}else o=a-e;e+=o,n+=o}for(;ct(t.doc,n)!=n;){if(i==(r<0?0:A.length-1))return null;n+=r*A[i-(r<0?1:0)].size,i+=r}return{index:i,lineN:n}}function Nr(t,e,n){var r=t.display,o=r.view;0==o.length||e>=r.viewTo||n<=r.viewFrom?(r.view=Te(t,e,n),r.viewFrom=e):(r.viewFrom>e?r.view=Te(t,e,r.viewFrom).concat(r.view):r.viewFromn&&(r.view=r.view.slice(0,Cn(t,n)))),r.viewTo=n}function Tr(t){for(var e=t.display.view,n=0,r=0;r=t.display.viewTo)){var n=+new Date+t.options.workTime,r=Zt(e.mode,te(t,e.frontier)),o=[];e.iter(e.frontier,Math.min(e.first+e.size,t.display.viewTo+500),function(i){if(e.frontier>=t.display.viewFrom){var A=i.styles,a=i.text.length>t.options.maxHighlightLength,l=qt(t,i,a?Zt(e.mode,r):r,!0);i.styles=l.styles;var s=i.styleClasses,c=l.classes;c?i.styleClasses=c:s&&(i.styleClasses=null);for(var u=!A||A.length!=i.styles.length||s!=c&&(!s||!c||s.bgClass!=c.bgClass||s.textClass!=c.textClass),g=0;!u&&gn)return Er(t,t.options.workDelay),!0}),o.length&&ur(t,function(){for(var e=0;e=r.viewFrom&&n.visible.to<=r.viewTo&&(null==r.updateLineNumbers||r.updateLineNumbers>=r.viewTo)&&r.renderedView==r.view&&0==Tr(t))return!1;Un(t)&&(pr(t),n.dims=Nn(t));var A=o.first+o.size,a=Math.max(n.visible.from-t.options.viewportMargin,o.first),l=Math.min(A,n.visible.to+t.options.viewportMargin);r.viewFroml&&r.viewTo-l<20&&(l=Math.min(A,r.viewTo)),OA&&(a=ct(t.doc,a),l=ut(t.doc,l));var s=a!=r.viewFrom||l!=r.viewTo||r.lastWrapHeight!=n.wrapperHeight||r.lastWrapWidth!=n.wrapperWidth;Nr(t,a,l),r.viewOffset=Mt(D(t.doc,r.viewFrom)),t.display.mover.style.top=r.viewOffset+"px";var c=Tr(t);if(!s&&0==c&&!n.force&&r.renderedView==r.view&&(null==r.updateLineNumbers||r.updateLineNumbers>=r.viewTo))return!1;var u=i();return c>4&&(r.lineDiv.style.display="none"),Lr(t,r.updateLineNumbers,n.dims),c>4&&(r.lineDiv.style.display=""),r.renderedView=r.view,u&&i()!=u&&u.offsetHeight&&u.focus(),e(r.cursorDiv),e(r.selectionDiv),r.gutters.style.height=r.sizer.style.minHeight=0,s&&(r.lastWrapHeight=n.wrapperHeight,r.lastWrapWidth=n.wrapperWidth,Er(t,400)),r.updateLineNumbers=null,!0}function xr(t,e){for(var n=e.viewport,r=!0;(r&&t.options.lineWrapping&&e.oldDisplayWidth!=Ge(t)||(n&&null!=n.top&&(n={top:Math.min(t.doc.height+Fe(t.display)-Pe(t),n.top)}),e.visible=On(t.display,t.doc,n),!(e.visible.from>=t.display.viewFrom&&e.visible.to<=t.display.viewTo)))&&Dr(t,e);r=!1){zn(t);var o=Gn(t);Dn(t),Wn(t,o),vr(t,o)}e.signal(t,"update",t),t.display.viewFrom==t.display.reportedViewFrom&&t.display.viewTo==t.display.reportedViewTo||(e.signal(t,"viewportChange",t,t.display.viewFrom,t.display.viewTo),t.display.reportedViewFrom=t.display.viewFrom,t.display.reportedViewTo=t.display.viewTo)}function mr(t,e){var n=new wr(t,e);if(Dr(t,n)){zn(t),xr(t,n);var r=Gn(t);Dn(t),Wn(t,r),vr(t,r),n.finish()}}function Lr(t,n,r){function o(e){var n=e.nextSibling;return sA&&IA&&t.display.currentWheelTarget==e?e.style.display="none":e.parentNode.removeChild(e),n}for(var i=t.display,A=t.options.lineNumbers,a=i.lineDiv,l=a.firstChild,s=i.view,c=i.viewFrom,u=0;u-1&&(M=!1),xe(t,d,c,r)),M&&(e(d.lineNumber),d.lineNumber.appendChild(document.createTextNode(j(t.options,c)))),l=d.node.nextSibling}else{var f=Se(t,d,c,r);a.insertBefore(f,l)}c+=d.size}for(;l;)l=o(l)}function br(t){var e=t.display.gutters.offsetWidth;t.display.sizer.style.marginLeft=e+"px"}function vr(t,e){t.display.sizer.style.minHeight=e.docHeight+"px",t.display.heightForcer.style.top=e.docHeight+"px",t.display.gutters.style.height=e.docHeight+t.display.barHeight+Ve(t)+"px"}function Br(t){var n=t.display.gutters,o=t.options.gutters;e(n);for(var i=0;i-1&&!t.lineNumbers&&(t.gutters=t.gutters.slice(0),t.gutters.splice(e,1))}function Qr(t,e){this.ranges=t,this.primIndex=e}function Sr(t,e){this.anchor=t,this.head=e}function Ur(t,e){var n=t[e];t.sort(function(t,e){return S(t.from(),e.from())}),e=g(t,n);for(var r=1;r=0){var A=k(i.from(),o.from()),a=z(i.to(),o.to()),l=i.empty()?o.from()==o.head:i.from()==i.head;r<=e&&--e,t.splice(--r,2,new Sr(l?a:A,l?A:a))}}return new Qr(t,e)}function zr(t,e){return new Qr([new Sr(t,e||t)],0)}function kr(t){return t.text?Q(t.from.line+t.text.length-1,f(t.text).length+(1==t.text.length?t.from.ch:0)):t.to}function Or(t,e){if(S(t,e.from)<0)return t;if(S(t,e.to)<=0)return kr(e);var n=t.line+e.text.length-(e.to.line-e.from.line)-1,r=t.ch;return t.line==e.to.line&&(r+=kr(e).ch-e.to.ch),Q(n,r)}function Yr(t,e){for(var n=[],r=0;r1&&t.remove(a.line+1,M-1),t.insert(a.line+1,I)}Ce(t,"change",t,e)}function Xr(t,e,n){function r(t,o,i){if(t.linked)for(var A=0;A1&&!t.done[t.done.length-2].ranges?(t.done.pop(),f(t.done)):void 0}function qr(t,e,n,r){var o=t.history;o.undone.length=0;var i,A,a=+new Date;if((o.lastOp==r||o.lastOrigin==e.origin&&e.origin&&("+"==e.origin.charAt(0)&&t.cm&&o.lastModTime>a-t.cm.options.historyEventDelay||"*"==e.origin.charAt(0)))&&(i=_r(o,o.lastOp==r)))A=f(i.changes),0==S(e.from,e.to)&&0==S(e.from,A.to)?A.to=kr(e):i.changes.push(Zr(t,e));else{var l=f(o.done);for(l&&l.ranges||eo(t.sel,o.done),i={changes:[Zr(t,e)],generation:o.generation},o.done.push(i);o.done.length>o.undoDepth;)o.done.shift(),o.done[0].ranges||o.done.shift()}o.done.push(n),o.generation=++o.maxGeneration,o.lastModTime=o.lastSelTime=a,o.lastOp=o.lastSelOp=r,o.lastOrigin=o.lastSelOrigin=e.origin,A||vt(t,"historyAdded")}function $r(t,e,n,r){var o=e.charAt(0);return"*"==o||"+"==o&&n.ranges.length==r.ranges.length&&n.somethingSelected()==r.somethingSelected()&&new Date-t.history.lastSelTime<=(t.cm?t.cm.options.historyEventDelay:500)}function to(t,e,n,r){var o=t.history,i=r&&r.origin;n==o.lastSelOp||i&&o.lastSelOrigin==i&&(o.lastModTime==o.lastSelTime&&o.lastOrigin==i||$r(t,i,f(o.done),e))?o.done[o.done.length-1]=e:eo(e,o.done),o.lastSelTime=+new Date,o.lastSelOrigin=i,o.lastSelOp=n,r&&r.clearRedo!==!1&&Kr(o.undone)}function eo(t,e){var n=f(e);n&&n.ranges&&n.equals(t)||e.push(t)}function no(t,e,n,r){var o=e["spans_"+t.id],i=0;t.iter(Math.max(t.first,n),Math.min(t.first+t.size,r),function(n){n.markedSpans&&((o||(o=e["spans_"+t.id]={}))[i]=n.markedSpans),++i})}function ro(t){if(!t)return null;for(var e,n=0;n-1&&(f(a)[u]=s[u],delete s[u])}}}return r}function ao(t,e,n,r){if(t.cm&&t.cm.display.shift||t.extend){var o=e.anchor;if(r){var i=S(n,o)<0;i!=S(r,o)<0?(o=n,n=r):i!=S(n,r)<0&&(n=r)}return new Sr(o,n)}return new Sr(r||n,n)}function lo(t,e,n,r){fo(t,new Qr([ao(t,t.sel.primary(),e,n)],0),r)}function so(t,e,n){for(var r=[],o=0;o=e.ch:a.to>e.ch))){if(o&&(vt(l,"beforeCursorEnter"),l.explicitlyCleared)){if(i.markedSpans){--A;continue}break}if(!l.atomic)continue;if(n){var s=l.find(r<0?1:-1),c=void 0;if((r<0?l.inclusiveRight:l.inclusiveLeft)&&(s=yo(t,s,-r,s&&s.line==e.line?i:null)),s&&s.line==e.line&&(c=S(s,n))&&(r<0?c<0:c>0))return To(t,s,e,r,o)}var u=l.find(r<0?-1:1);return(r<0?l.inclusiveLeft:l.inclusiveRight)&&(u=yo(t,u,r,u.line==e.line?i:null)),u?To(t,u,e,r,o):null}}return e}function Eo(t,e,n,r,o){var i=r||1,A=To(t,e,n,i,o)||!o&&To(t,e,n,i,!0)||To(t,e,n,-i,o)||!o&&To(t,e,n,-i,!0);return A?A:(t.cantEdit=!0,Q(t.first,0))}function yo(t,e,n,r){return n<0&&0==e.ch?e.line>t.first?Y(t,Q(e.line-1)):null:n>0&&e.ch==(r||D(t,e.line)).text.length?e.line=0;--o)xo(t,{from:r[o].from,to:r[o].to,text:o?[""]:e.text});else xo(t,e)}}function xo(t,e){if(1!=e.text.length||""!=e.text[0]||0!=S(e.from,e.to)){var n=Yr(t,e);qr(t,e,n,t.cm?t.cm.curOp.id:NaN),bo(t,e,n,K(t,e));var r=[];Xr(t,function(t,n){n||g(r,t.history)!=-1||(So(t.history,e),r.push(t.history)),bo(t,e,null,K(t,e))})}}function mo(t,e,n){if(!t.cm||!t.cm.state.suppressEdits||n){for(var r,o=t.history,i=t.sel,A="undo"==e?o.done:o.undone,a="undo"==e?o.undone:o.done,l=0;l=0;--d){var M=u(d);if(M)return M.v}}}}function Lo(t,e){if(0!=e&&(t.first+=e,t.sel=new Qr(h(t.sel.ranges,function(t){return new Sr(Q(t.anchor.line+e,t.anchor.ch),Q(t.head.line+e,t.head.ch))}),t.sel.primIndex),t.cm)){fr(t.cm,t.first,t.first-e,e);for(var n=t.cm.display,r=n.viewFrom;rt.lastLine())){if(e.from.linei&&(e={from:e.from,to:Q(i,D(t,i).text.length),text:[e.text[0]],origin:e.origin}),e.removed=x(t,e.from,e.to),n||(n=Yr(t,e)),t.cm?vo(t.cm,e,r):Pr(t,e,r),ho(t,n,BA)}}function vo(t,e,n){var r=t.doc,o=t.display,i=e.from,A=e.to,a=!1,l=i.line;t.options.lineWrapping||(l=b(lt(D(r,i.line))),r.iter(l,A.line+1,function(t){if(t==o.maxLine)return a=!0,!0})),r.sel.contains(e.from,e.to)>-1&&jt(t),Pr(r,e,n,En(t)),t.options.lineWrapping||(r.iter(l,i.line+e.text.length,function(t){var e=ft(t);e>o.maxLineLength&&(o.maxLine=t,o.maxLineLength=e,o.maxLineChanged=!0,a=!1)}),a&&(t.curOp.updateMaxLine=!0)),r.frontier=Math.min(r.frontier,i.line),Er(t,400);var s=e.text.length-(A.line-i.line)-1;e.full?fr(t):i.line!=A.line||1!=e.text.length||Gr(t.doc,e)?fr(t,i.line,A.line+1,s):hr(t,i.line,"text");var c=Qt(t,"changes"),u=Qt(t,"change");if(u||c){var g={from:i,to:A,text:e.text,removed:e.removed,origin:e.origin};u&&Ce(t,"change",t,g),c&&(t.curOp.changeObjs||(t.curOp.changeObjs=[])).push(g)}t.display.selForContextMenu=null}function Bo(t,e,n,r,o){if(r||(r=n),S(r,n)<0){var i=r;r=n,n=i}"string"==typeof e&&(e=t.splitLines(e)),Do(t,{from:n,to:r,text:e,origin:o})}function jo(t,e,n,r){n0||0==a&&A.clearWhenEmpty!==!1)return A;if(A.replacedWith&&(A.collapsed=!0,A.widgetNode=r("span",[A.replacedWith],"CodeMirror-widget"),o.handleMouseEvents||A.widgetNode.setAttribute("cm-ignore-events","true"),o.insertLeft&&(A.widgetNode.insertLeft=!0)),A.collapsed){if(at(t,e.line,e,n,A)||e.line!=n.line&&at(t,n.line,e,n,A))throw new Error("Inserting collapsed marker partially overlapping an existing one");V()}A.addToHistory&&qr(t,{from:e,to:n,origin:"markText"},t.sel,NaN);var l,c=e.line,u=t.cm;if(t.iter(c,n.line+1,function(t){u&&A.collapsed&&!u.options.lineWrapping&<(t)==u.display.maxLine&&(l=!0),A.collapsed&&c!=e.line&&L(t,0),W(t,new G(A,c==e.line?e.ch:null,c==n.line?n.ch:null)),++c}),A.collapsed&&t.iter(e.line,n.line+1,function(e){gt(t,e)&&L(e,0)}),A.clearOnEnter&&HA(A,"beforeCursorEnter",function(){return A.clear()}),A.readOnly&&(H(),(t.history.done.length||t.history.undone.length)&&t.clearHistory()),A.collapsed&&(A.id=++la,A.atomic=!0),u){if(l&&(u.curOp.updateMaxLine=!0),A.collapsed)fr(u,e.line,n.line+1);else if(A.className||A.title||A.startStyle||A.endStyle||A.css)for(var g=e.line;g<=n.line;g++)hr(u,g,"text");A.atomic&&Io(u.doc),Ce(u,"markerAdded",u,A)}return A}function Vo(t,e){var n=this;this.markers=t,this.primary=e;for(var r=0;r-1)return e.state.draggingText(t),void setTimeout(function(){return e.display.input.focus()},20);try{var s=t.dataTransfer.getData("Text");if(s){var c;if(e.state.draggingText&&!e.state.draggingText.copy&&(c=e.listSelections()),ho(e.doc,zr(n,n)),c)for(var u=0;u=0;e--)Bo(t.doc,"",r[e].from,r[e].to,"+delete");er(t)})}function si(t,e){var n=D(t.doc,e),r=lt(n);r!=n&&(e=b(r));var o=mt(r),i=o?o[0].level%2?Et(r):Tt(r):0;return Q(e,i)}function ci(t,e){for(var n,r=D(t.doc,e);n=At(r);)r=n.find(1,!0).line,e=null;var o=mt(r),i=o?o[0].level%2?Tt(r):Et(r):r.text.length;return Q(null==e?b(r):e,i)}function ui(t,e){var n=si(t,e.line),r=D(t.doc,n.line),o=mt(r);if(!o||0==o[0].level){var i=Math.max(0,r.text.search(/\S/)),A=e.line==n.line&&e.ch<=i&&e.ch;return Q(n.line,A?0:i)}return n}function gi(t,e,n){if("string"==typeof e&&(e=Ta[e],!e))return!1;t.display.input.ensurePolled();var r=t.display.shift,o=!1;try{t.isReadOnly()&&(t.state.suppressEdits=!0),n&&(t.display.shift=!1),o=e(t)!=vA}finally{t.display.shift=r,t.state.suppressEdits=!1}return o}function di(t,e,n){for(var r=0;ro-400&&0==S(Na.pos,n)?r="triple":Ia&&Ia.time>o-400&&0==S(Ia.pos,n)?(r="double",Na={time:o,pos:n}):(r="single",Ia={time:o,pos:n});var A,a=t.doc.sel,s=IA?e.metaKey:e.ctrlKey;t.options.dragDrop&&VA&&!t.isReadOnly()&&"single"==r&&(A=a.contains(n))>-1&&(S((A=a.ranges[A]).from(),n)<0||n.xRel>0)&&(S(A.to(),n)>0||n.xRel<0)?wi(t,e,n,s):Ci(t,e,n,r,s)}function wi(t,e,n,r){var o=t.display,i=+new Date,A=gr(t,function(a){sA&&(o.scroller.draggable=!1),t.state.draggingText=!1,bt(document,"mouseup",A),bt(o.scroller,"drop",A),Math.abs(e.clientX-a.clientX)+Math.abs(e.clientY-a.clientY)<10&&(Ut(a),!r&&+new Date-200T&&o.push(new Sr(Q(h,T),Q(h,d(I,s,i))))}o.length||o.push(new Sr(n,n)),fo(u,Ur(f.ranges.slice(0,M).concat(o),M),{origin:"*mouse",scroll:!1}),t.scrollIntoView(e)}else{var E=g,y=E.anchor,w=e;if("single"!=r){var C;C="double"==r?t.findWordAt(e):new Sr(Q(e.line,0),Y(u,Q(e.line+1,0))),S(C.anchor,y)>0?(w=C.head,y=k(E.from(),C.anchor)):(w=C.anchor,y=z(E.to(),C.head))}var x=f.ranges.slice(0);x[M]=new Sr(Y(u,y),w),fo(u,Ur(x,M),jA)}}function a(e){var n=++E,o=wn(t,e,!0,"rect"==r);if(o)if(0!=S(o,N)){t.curOp.focus=i(),A(o);var l=On(s,u);(o.line>=l.to||o.lineT.bottom?20:0;c&&setTimeout(gr(t,function(){E==n&&(s.scroller.scrollTop+=c,a(e))}),50)}}function l(e){t.state.selectingText=!1,E=1/0,Ut(e),s.input.focus(),bt(document,"mousemove",y),bt(document,"mouseup",w),u.history.lastSelOrigin=null}var s=t.display,u=t.doc;Ut(e);var g,M,f=u.sel,h=f.ranges;if(o&&!e.shiftKey?(M=u.sel.contains(n),g=M>-1?h[M]:new Sr(n,n)):(g=u.sel.primary(),M=u.sel.primIndex),NA?e.shiftKey&&e.metaKey:e.altKey)r="rect",o||(g=new Sr(n,n)),n=wn(t,e,!0,!0),M=-1;else if("double"==r){var p=t.findWordAt(n);g=t.display.shift||u.extend?ao(u,g,p.anchor,p.head):p}else if("triple"==r){var I=new Sr(Q(n.line,0),Y(u,Q(n.line+1,0)));g=t.display.shift||u.extend?ao(u,g,I.anchor,I.head):I}else g=ao(u,g,n);o?M==-1?(M=h.length,fo(u,Ur(h.concat([g]),M),{scroll:!1,origin:"*mouse"})):h.length>1&&h[M].empty()&&"single"==r&&!e.shiftKey?(fo(u,Ur(h.slice(0,M).concat(h.slice(M+1)),0),{scroll:!1,origin:"*mouse"}),f=u.sel):co(u,M,g,jA):(M=0,fo(u,new Qr([g],0),jA),f=u.sel);var N=n,T=s.wrapper.getBoundingClientRect(),E=0,y=gr(t,function(t){Rt(t)?a(t):l(t)}),w=gr(t,l);t.state.selectingText=w,HA(document,"mousemove",y),HA(document,"mouseup",w)}function Di(t,e,n,r){var o,i;try{o=e.clientX,i=e.clientY}catch(t){return!1}if(o>=Math.floor(t.display.gutters.getBoundingClientRect().right))return!1;r&&Ut(e);var A=t.display,a=A.lineDiv.getBoundingClientRect();if(i>a.bottom||!Qt(t,n))return kt(e);i-=a.top-A.viewOffset;for(var l=0;l=o){var c=v(t.doc,i),u=t.options.gutters[l];return vt(t,n,t,c,u,e),kt(e)}}}function xi(t,e){return Di(t,e,"gutterClick",!0)}function mi(t,e){Ye(t.display,e)||Li(t,e)||Bt(t,e,"contextmenu")||t.display.input.onContextMenu(e)}function Li(t,e){return!!Qt(t,"gutterContextMenu")&&Di(t,e,"gutterContextMenu",!1)}function bi(t){t.display.wrapper.className=t.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+t.options.theme.replace(/(^|\s)\s*/g," cm-s-"),An(t)}function vi(t){function e(e,r,o,i){t.defaults[e]=r,o&&(n[e]=i?function(t,e,n){n!=wa&&o(t,e,n)}:o)}var n=t.optionHandlers;t.defineOption=e,t.Init=wa,e("value","",function(t,e){return t.setValue(e)},!0),e("mode",null,function(t,e){t.doc.modeOption=e,Hr(t)},!0),e("indentUnit",2,Hr,!0),e("indentWithTabs",!1),e("smartIndent",!0),e("tabSize",4,function(t){Vr(t),An(t),fr(t)},!0),e("lineSeparator",null,function(t,e){if(t.doc.lineSep=e,e){var n=[],r=t.doc.first;t.doc.iter(function(t){for(var o=0;;){var i=t.text.indexOf(e,o);if(i==-1)break;o=i+e.length,n.push(Q(r,i))}r++});for(var o=n.length-1;o>=0;o--)Bo(t.doc,e,n[o],Q(n[o].line,n[o].ch+e.length))}}),e("specialChars",/[\u0000-\u001f\u007f\u00ad\u200b-\u200f\u2028\u2029\ufeff]/g,function(t,e,n){t.state.specialChars=new RegExp(e.source+(e.test("\t")?"":"|\t"),"g"),n!=wa&&t.refresh()}),e("specialCharPlaceholder",de,function(t){return t.refresh()},!0),e("electricChars",!0),e("inputStyle",pA?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),e("spellcheck",!1,function(t,e){return t.getInputField().spellcheck=e},!0),e("rtlMoveVisually",!TA),e("wholeLineUpdateBefore",!0),e("theme","default",function(t){bi(t),Bi(t)},!0),e("keyMap","default",function(t,e,n){var r=ai(e),o=n!=wa&&ai(n);o&&o.detach&&o.detach(t,r),r.attach&&r.attach(t,o||null)}),e("extraKeys",null),e("lineWrapping",!1,Qi,!0),e("gutters",[],function(t){jr(t.options),Bi(t)},!0),e("fixedGutter",!0,function(t,e){t.display.gutters.style.left=e?Tn(t.display)+"px":"0",t.refresh()},!0),e("coverGutterNextToScrollbar",!1,function(t){return Wn(t)},!0),e("scrollbarStyle","native",function(t){Zn(t),Wn(t),t.display.scrollbars.setScrollTop(t.doc.scrollTop),t.display.scrollbars.setScrollLeft(t.doc.scrollLeft)},!0),e("lineNumbers",!1,function(t){jr(t.options),Bi(t)},!0),e("firstLineNumber",1,Bi,!0),e("lineNumberFormatter",function(t){return t},Bi,!0),e("showCursorWhenSelecting",!1,Dn,!0),e("resetSelectionOnContextMenu",!0),e("lineWiseCopyCut",!0),e("readOnly",!1,function(t,e){"nocursor"==e?(Qn(t),t.display.input.blur(),t.display.disabled=!0):t.display.disabled=!1,t.display.input.readOnlyChanged(e)}),e("disableInput",!1,function(t,e){e||t.display.input.reset()},!0),e("dragDrop",!0,ji),e("allowDropFileTypes",null),e("cursorBlinkRate",530),e("cursorScrollMargin",0),e("cursorHeight",1,Dn,!0),e("singleCursorHeightPerLine",!0,Dn,!0),e("workTime",100),e("workDelay",100),e("flattenSpans",!0,Vr,!0),e("addModeClass",!1,Vr,!0),e("pollInterval",100),e("undoDepth",200,function(t,e){return t.doc.history.undoDepth=e}),e("historyEventDelay",1250),e("viewportMargin",10,function(t){return t.refresh()},!0),e("maxHighlightLength",1e4,Vr,!0),e("moveInputWithCursor",!0,function(t,e){e||t.display.input.resetPosition()}),e("tabindex",null,function(t,e){return t.display.input.getField().tabIndex=e||""}),e("autofocus",null)}function Bi(t){Br(t),fr(t),setTimeout(function(){return Sn(t)},20)}function ji(t,e,n){var r=n&&n!=wa;if(!e!=!r){var o=t.display.dragFunctions,i=e?HA:bt;i(t.display.scroller,"dragstart",o.start),i(t.display.scroller,"dragenter",o.enter),i(t.display.scroller,"dragover",o.over),i(t.display.scroller,"dragleave",o.leave),i(t.display.scroller,"drop",o.drop)}}function Qi(t){t.options.lineWrapping?(A(t.display.wrapper,"CodeMirror-wrap"),t.display.sizer.style.minWidth="",t.display.sizerWidth=null):(DA(t.display.wrapper,"CodeMirror-wrap"),ht(t)),yn(t),fr(t),An(t),setTimeout(function(){return Wn(t)},100)}function Si(t,e){var n=this;if(!(this instanceof Si))return new Si(t,e);this.options=e=e?s(e):{},s(Ca,e,!1),jr(e);var r=e.value;"string"==typeof r&&(r=new ca(r,e.mode,null,e.lineSeparator)),this.doc=r;var o=new Si.inputStyles[e.inputStyle](this),i=this.display=new C(t,r,o);i.wrapper.CodeMirror=this,Br(this),bi(this),e.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),e.autofocus&&!pA&&i.input.focus(),Zn(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:!1,cutIncoming:!1,selectingText:!1,draggingText:!1,highlight:new u,keySeq:null,specialChars:null},aA&&lA<11&&setTimeout(function(){return n.display.input.reset(!0)},20),Ui(this),$o(),rr(this),this.curOp.forceUpdate=!0,Wr(this,r),e.autofocus&&!pA||this.hasFocus()?setTimeout(l(jn,this),20):Qn(this);for(var A in Da)Da.hasOwnProperty(A)&&Da[A](n,e[A],wa);Un(this),e.finishInit&&e.finishInit(this);for(var a=0;a400}var o=t.display;HA(o.scroller,"mousedown",gr(t,Ei)),aA&&lA<11?HA(o.scroller,"dblclick",gr(t,function(e){if(!Bt(t,e)){var n=wn(t,e);if(n&&!xi(t,e)&&!Ye(t.display,e)){Ut(e);var r=t.findWordAt(n);lo(t.doc,r.anchor,r.head)}}})):HA(o.scroller,"dblclick",function(e){return Bt(t,e)||Ut(e)}),CA||HA(o.scroller,"contextmenu",function(e){return mi(t,e)});var i,A={end:0};HA(o.scroller,"touchstart",function(e){if(!Bt(t,e)&&!n(e)){o.input.ensurePolled(),clearTimeout(i);var r=+new Date;o.activeTouch={start:r,moved:!1,prev:r-A.end<=300?A:null},1==e.touches.length&&(o.activeTouch.left=e.touches[0].pageX,o.activeTouch.top=e.touches[0].pageY)}}),HA(o.scroller,"touchmove",function(){o.activeTouch&&(o.activeTouch.moved=!0)}),HA(o.scroller,"touchend",function(n){var i=o.activeTouch;if(i&&!Ye(o,n)&&null!=i.left&&!i.moved&&new Date-i.start<300){var A,a=t.coordsChar(o.activeTouch,"page");A=!i.prev||r(i,i.prev)?new Sr(a,a):!i.prev.prev||r(i,i.prev.prev)?t.findWordAt(a):new Sr(Q(a.line,0),Y(t.doc,Q(a.line+1,0))),t.setSelection(A.anchor,A.head),t.focus(),Ut(n)}e()}),HA(o.scroller,"touchcancel",e),HA(o.scroller,"scroll",function(){o.scroller.clientHeight&&(Yn(t,o.scroller.scrollTop),Rn(t,o.scroller.scrollLeft,!0),vt(t,"scroll",t))}),HA(o.scroller,"mousewheel",function(e){return Vn(t,e)}),HA(o.scroller,"DOMMouseScroll",function(e){return Vn(t,e)}),HA(o.wrapper,"scroll",function(){return o.wrapper.scrollTop=o.wrapper.scrollLeft=0}),o.dragFunctions={enter:function(e){Bt(t,e)||Ot(e)},over:function(e){Bt(t,e)||(Ko(t,e),Ot(e))},start:function(e){return Zo(t,e)},drop:gr(t,Jo),leave:function(e){Bt(t,e)||_o(t)}};var a=o.input.getField();HA(a,"keyup",function(e){return Ni.call(t,e)}),HA(a,"keydown",gr(t,pi)),HA(a,"keypress",gr(t,Ti)),HA(a,"focus",function(e){return jn(t,e)}),HA(a,"blur",function(e){return Qn(t,e)})}function zi(t,e,n,r){var o,i=t.doc;null==n&&(n="add"),"smart"==n&&(i.mode.indent?o=te(t,e):n="prev");var A=t.options.tabSize,a=D(i,e),l=c(a.text,null,A);a.stateAfter&&(a.stateAfter=null);var s,u=a.text.match(/^\s*/)[0];if(r||/\S/.test(a.text)){if("smart"==n&&(s=i.mode.indent(o,a.text.slice(u.length),a.text),s==vA||s>150)){if(!r)return;n="prev"}}else s=0,n="not";"prev"==n?s=e>i.first?c(D(i,e-1).text,null,A):0:"add"==n?s=l+t.options.indentUnit:"subtract"==n?s=l-t.options.indentUnit:"number"==typeof n&&(s=l+n),s=Math.max(0,s);var g="",d=0;if(t.options.indentWithTabs)for(var f=Math.floor(s/A);f;--f)d+=A,g+="\t";if(d1)if(ma&&ma.text.join("\n")==e){if(r.ranges.length%ma.text.length==0){l=[];for(var s=0;s=0;u--){var g=r.ranges[u],d=g.from(),M=g.to();g.empty()&&(n&&n>0?d=Q(d.line,d.ch-n):t.state.overwrite&&!A?M=Q(M.line,Math.min(D(i,M.line).text.length,M.ch+f(a).length)):ma&&ma.lineWise&&ma.text.join("\n")==e&&(d=M=Q(d.line,0))),c=t.curOp.updateInput;var p={from:d,to:M,text:l?l[u%l.length]:a,origin:o||(A?"paste":t.state.cutIncoming?"cut":"+input")};Do(t.doc,p),Ce(t,"inputRead",t,p)}e&&!A&&Ri(t,e),er(t),t.curOp.updateInput=c,t.curOp.typing=!0,t.state.pasteIncoming=t.state.cutIncoming=!1}function Yi(t,e){var n=t.clipboardData&&t.clipboardData.getData("Text");if(n)return t.preventDefault(),e.isReadOnly()||e.options.disableInput||ur(e,function(){return Oi(e,n,0,null,"paste")}),!0}function Ri(t,e){if(t.options.electricChars&&t.options.smartIndent)for(var n=t.doc.sel,r=n.ranges.length-1;r>=0;r--){var o=n.ranges[r];if(!(o.head.ch>100||r&&n.ranges[r-1].head.line==o.head.line)){var i=t.getModeAt(o.head),A=!1;if(i.electricChars){for(var a=0;a-1){A=zi(t,o.head.line,"smart");break}}else i.electricInput&&i.electricInput.test(D(t.doc,o.head.line).text.slice(0,o.head.ch))&&(A=zi(t,o.head.line,"smart"));A&&Ce(t,"electricInput",t,o.head.line)}}}function Fi(t){for(var e=[],n=[],r=0;rr&&(zi(e,i.head.line,t,!0),r=i.head.line,o==e.doc.sel.primIndex&&er(e));else{var A=i.from(),a=i.to(),l=Math.max(r,A.line);r=Math.min(e.lastLine(),a.line-(a.ch?0:1))+1;for(var s=l;s0&&co(e.doc,o,new Sr(A,c[o].to()),BA)}}}),getTokenAt:function(t,e){return oe(this,t,e)},getLineTokens:function(t,e){return oe(this,Q(t),e,!0)},getTokenTypeAt:function(t){t=Y(this.doc,t);var e,n=$t(this,D(this.doc,t.line)),r=0,o=(n.length-1)/2,i=t.ch;if(0==i)e=n[2];else for(;;){var A=r+o>>1;if((A?n[2*A-1]:0)>=i)o=A;else{if(!(n[2*A+1]i&&(t=i,o=!0),r=D(this.doc,t)}else r=t;return sn(this,r,{top:0,left:0},e||"page",n).top+(o?this.doc.height-Mt(r):0)},defaultTextHeight:function(){return pn(this.display)},defaultCharWidth:function(){return In(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(t,e,n,r,o){var i=this.display;t=gn(this,Y(this.doc,t));var A=t.bottom,a=t.left;if(e.style.position="absolute",e.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(e),i.sizer.appendChild(e),"over"==r)A=t.top;else if("above"==r||"near"==r){var l=Math.max(i.wrapper.clientHeight,this.doc.height),s=Math.max(i.sizer.clientWidth,i.lineSpace.clientWidth);("above"==r||t.bottom+e.offsetHeight>l)&&t.top>e.offsetHeight?A=t.top-e.offsetHeight:t.bottom+e.offsetHeight<=l&&(A=t.bottom),a+e.offsetWidth>s&&(a=s-e.offsetWidth)}e.style.top=A+"px",e.style.left=e.style.right="","right"==o?(a=i.sizer.clientWidth-e.offsetWidth,e.style.right="0px"):("left"==o?a=0:"middle"==o&&(a=(i.sizer.clientWidth-e.offsetWidth)/2),e.style.left=a+"px"),n&&qn(this,a,A,a+e.offsetWidth,A+e.offsetHeight)},triggerOnKeyDown:dr(pi),triggerOnKeyPress:dr(Ti),triggerOnKeyUp:Ni,execCommand:function(t){if(Ta.hasOwnProperty(t))return Ta[t].call(null,this)},triggerElectric:dr(function(t){Ri(this,t)}),findPosH:function(t,e,n,r){var o=this,i=1;e<0&&(i=-1,e=-e);for(var A=Y(this.doc,t),a=0;a0&&a(n.charAt(r-1));)--r;for(;o.5)&&yn(this),vt(this,"refresh",this)}),swapDoc:dr(function(t){var e=this.doc;return e.cm=null,Wr(this,t),An(this),this.display.input.reset(),this.scrollTo(t.scrollLeft,t.scrollTop),this.curOp.forceScroll=!0,Ce(this,"swapDoc",this,e),e}),getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},St(t),t.registerHelper=function(e,r,o){n.hasOwnProperty(e)||(n[e]=t[e]={_global:[]}),n[e][r]=o},t.registerGlobalHelper=function(e,r,o,i){t.registerHelper(e,r,i),n[e]._global.push({pred:o,val:i})}}function Pi(t,e,n,r,o){function i(){var e=a+n;return!(e=t.first+t.size)&&(a=e,c=D(t,e))}function A(t){var e=(o?Dt:xt)(c,l,n,!0);if(null==e){if(t||!i())return!1;l=o?(n<0?Et:Tt)(c):n<0?c.text.length:0}else l=e;return!0}var a=e.line,l=e.ch,s=n,c=D(t,a);if("char"==r)A();else if("column"==r)A(!0);else if("word"==r||"group"==r)for(var u=null,g="group"==r,d=t.cm&&t.cm.getHelper(e,"wordChars"),M=!0;!(n<0)||A(!M);M=!1){var f=c.text.charAt(l)||"\n",h=E(f,d)?"w":g&&"\n"==f?"n":!g||/\s/.test(f)?null:"p";if(!g||M||h||(h="s"),u&&u!=h){n<0&&(n=1,A());break}if(h&&(u=h),n>0&&!A(!M))break}var p=Eo(t,Q(a,l),e,s,!0);return S(e,p)||(p.hitSide=!0),p}function Xi(t,e,n,r){var o,i=t.doc,A=e.left;if("page"==r){var a=Math.min(t.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),l=Math.max(a-.5*pn(t.display),3);o=(n>0?e.bottom:e.top)+n*l}else"line"==r&&(o=n>0?e.bottom+3:e.top-3);for(var s;s=fn(t,A,o),s.outside;){if(n<0?o<=0:o>=i.height){s.hitSide=!0;break}o+=5*n}return s}function Wi(t){this.cm=t,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new u,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null}function Ji(t,e){var n=Ke(t,e.line);if(!n||n.hidden)return null;var r=D(t.doc,e.line),o=We(n,r,e.line),i=mt(r),A="left";if(i){var a=wt(i,e.ch);A=a%2?"right":"left"}var l=$e(o.map,e.ch,A);return l.offset="right"==l.collapse?l.end:l.start,l}function Zi(t,e){return e&&(t.bad=!0),t}function Ki(t,e,n,r,o){function i(t){return function(e){return e.id==t}}function A(e){if(1==e.nodeType){var n=e.getAttribute("cm-text");if(null!=n)return void(a+=""==n?e.textContent.replace(/\u200b/g,""):n);var c,u=e.getAttribute("cm-marker");if(u){var g=t.findMarks(Q(r,0),Q(o+1,0),i(+u));return void(g.length&&(c=g[0].find())&&(a+=x(t.doc,c.from,c.to).join(s)))}if("false"==e.getAttribute("contenteditable"))return;for(var d=0;d=15&&(gA=!1,sA=!0);var yA,wA=IA&&(cA||gA&&(null==EA||EA<12.11)),CA=oA||aA&&lA>=9,DA=function(e,n){var r=e.className,o=t(n).exec(r);if(o){var i=r.slice(o.index+o[0].length);e.className=r.slice(0,o.index)+(i?o[1]+i:"")}};yA=document.createRange?function(t,e,n,r){var o=document.createRange();return o.setEnd(r||t,n),o.setStart(t,e),o}:function(t,e,n){var r=document.body.createTextRange();try{r.moveToElementText(t.parentNode)}catch(t){return r}return r.collapse(!0),r.moveEnd("character",n),r.moveStart("character",e),r};var xA=function(t){t.select()};hA?xA=function(t){t.selectionStart=0,t.selectionEnd=t.value.length}:aA&&(xA=function(t){try{t.select()}catch(t){}}),u.prototype.set=function(t,e){clearTimeout(this.id),this.id=setTimeout(e,t)};var mA,LA,bA=30,vA={toString:function(){return"CodeMirror.Pass"}},BA={scroll:!1},jA={origin:"*mouse"},QA={origin:"+move"},SA=[""],UA=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/,zA=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/,kA=!1,OA=!1,YA=null,RA=function(){function t(t){return t<=247?n.charAt(t):1424<=t&&t<=1524?"R":1536<=t&&t<=1773?r.charAt(t-1536):1774<=t&&t<=2220?"r":8192<=t&&t<=8203?"w":8204==t?"b":"L"}function e(t,e,n){this.level=t,this.from=e,this.to=n}var n="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",r="rrrrrrrrrrrr,rNNmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmrrrrrrrnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmNmmmm",o=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,i=/[stwN]/,A=/[LRr]/,a=/[Lb1n]/,l=/[1n]/,s="L";return function(n){if(!o.test(n))return!1;for(var r=n.length,c=[],u=0;u=this.string.length},sol:function(){return this.pos==this.lineStart},peek:function(){return this.string.charAt(this.pos)||void 0},next:function(){if(this.pose},eatSpace:function(){for(var t=this,e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++t.pos;return this.pos>e},skipToEnd:function(){this.pos=this.string.length},skipTo:function(t){var e=this.string.indexOf(t,this.pos);if(e>-1)return this.pos=e,!0},backUp:function(t){this.pos-=t},column:function(){return this.lastColumnPos0?null:(r&&e!==!1&&(this.pos+=r[0].length),r)}var o=function(t){return n?t.toLowerCase():t},i=this.string.substr(this.pos,t.length);if(o(i)==o(t))return e!==!1&&(this.pos+=t.length),!0},current:function(){return this.string.slice(this.start,this.pos)},hideFirstChars:function(t,e){this.lineStart+=t;try{return e()}finally{this.lineStart-=t}}},St(le),le.prototype.lineNo=function(){return b(this)};var qA,$A={},ta={},ea=null,na=null,ra={left:0,right:0,top:0,bottom:0},oa=0,ia=null;aA?ia=-.53:oA?ia=15:uA?ia=-.7:dA&&(ia=-1/3),Pn.prototype=s({update:function(t){var e=t.scrollWidth>t.clientWidth+1,n=t.scrollHeight>t.clientHeight+1,r=t.nativeBarWidth;if(n){this.vert.style.display="block",this.vert.style.bottom=e?r+"px":"0";var o=t.viewHeight-(e?r:0);this.vert.firstChild.style.height=Math.max(0,t.scrollHeight-t.clientHeight+o)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(e){this.horiz.style.display="block",this.horiz.style.right=n?r+"px":"0",this.horiz.style.left=t.barLeft+"px";var i=t.viewWidth-t.barLeft-(n?r:0);this.horiz.firstChild.style.width=t.scrollWidth-t.clientWidth+i+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&t.clientHeight>0&&(0==r&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?r:0,bottom:e?r:0}},setScrollLeft:function(t){this.horiz.scrollLeft!=t&&(this.horiz.scrollLeft=t),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz)},setScrollTop:function(t){this.vert.scrollTop!=t&&(this.vert.scrollTop=t),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert)},zeroWidthHack:function(){var t=IA&&!MA?"12px":"18px";this.horiz.style.height=this.vert.style.width=t,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new u,this.disableVert=new u},enableZeroWidthBar:function(t,e){function n(){var r=t.getBoundingClientRect(),o=document.elementFromPoint(r.left+1,r.bottom-1);o!=t?t.style.pointerEvents="none":e.set(1e3,n)}t.style.pointerEvents="auto",e.set(1e3,n)},clear:function(){var t=this.horiz.parentNode;t.removeChild(this.horiz),t.removeChild(this.vert)}},Pn.prototype),Xn.prototype=s({update:function(){return{bottom:0,right:0}},setScrollLeft:function(){},setScrollTop:function(){},clear:function(){}},Xn.prototype);var Aa={native:Pn,null:Xn},aa=0;wr.prototype.signal=function(t,e){Qt(t,e)&&this.events.push(arguments)},wr.prototype.finish=function(){for(var t=this,e=0;e=0&&S(t,o.to())<=0)return r}return-1}},Sr.prototype={from:function(){return k(this.anchor,this.head)},to:function(){return z(this.anchor,this.head)},empty:function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch}},zo.prototype={chunkSize:function(){return this.lines.length},removeInner:function(t,e){for(var n=this,r=t,o=t+e;r1||!(this.children[0]instanceof zo))){var l=[];this.collapse(l),this.children=[new zo(l)],this.children[0].parent=this}},collapse:function(t){for(var e=this,n=0;n50){for(var a=i.lines.length%25+25,l=a;l10);t.parent.maybeSpill()}},iterN:function(t,e,n){for(var r=this,o=0;oe.display.maxLineLength&&(e.display.maxLine=c,e.display.maxLineLength=u,e.display.maxLineChanged=!0)}null!=o&&e&&this.collapsed&&fr(e,o,i+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&Io(e.doc)),e&&Ce(e,"markerCleared",e,this),n&&or(e),this.parent&&this.parent.clear()}},Fo.prototype.find=function(t,e){var n=this;null==t&&"bookmark"==this.type&&(t=1);for(var r,o,i=0;i=0;s--)Do(r,o[s]);l?Mo(this,l):this.cm&&er(this.cm)}),undo:Mr(function(){mo(this,"undo")}),redo:Mr(function(){mo(this,"redo")}),undoSelection:Mr(function(){mo(this,"undo",!0)}),redoSelection:Mr(function(){mo(this,"redo",!0)}),setExtending:function(t){this.extend=t},getExtending:function(){return this.extend},historySize:function(){for(var t=this.history,e=0,n=0,r=0;r=t.ch)&&e.push(o.marker.parent||o.marker)}return e},findMarks:function(t,e,n){t=Y(this,t),e=Y(this,e);var r=[],o=t.line;return this.iter(t.line,e.line+1,function(i){var A=i.markedSpans;if(A)for(var a=0;a=l.to||null==l.from&&o!=t.line||null!=l.from&&o==e.line&&l.from>=e.ch||n&&!n(l.marker)||r.push(l.marker.parent||l.marker)}++o}),r},getAllMarks:function(){var t=[];return this.iter(function(e){var n=e.markedSpans;if(n)for(var r=0;rt?(e=t,!0):(t-=i,void++n)}),Y(this,Q(n,e))},indexFromPos:function(t){t=Y(this,t);var e=t.ch;if(t.linee&&(e=t.from),null!=t.to&&t.to0)o=new Q(o.line,o.ch+1),t.replaceRange(i.charAt(o.ch-1)+i.charAt(o.ch-2),Q(o.line,o.ch-2),o,"+transpose");else if(o.line>t.doc.first){var A=D(t.doc,o.line-1).text;A&&(o=new Q(o.line,1),t.replaceRange(i.charAt(0)+t.doc.lineSeparator()+A.charAt(A.length-1),Q(o.line-1,A.length-1),o,"+transpose"))}n.push(new Sr(o,o))}t.setSelections(n)})},newlineAndIndent:function(t){return ur(t,function(){for(var e=t.listSelections(),n=e.length-1;n>=0;n--)t.replaceRange(t.doc.lineSeparator(),e[n].anchor,e[n].head,"+input");e=t.listSelections();for(var r=0;rt.firstLine()&&(r=Q(r.line-1,D(t.doc,r.line-1).length)),o.ch==D(t.doc,o.line).text.length&&o.linee.viewTo-1)return!1;var i,A,a;r.line==e.viewFrom||0==(i=Cn(t,r.line))?(A=b(e.view[0].line),a=e.view[0].node):(A=b(e.view[i].line),a=e.view[i-1].node.nextSibling);var l,s,c=Cn(t,o.line);if(c==e.view.length-1?(l=e.viewTo-1,s=e.lineDiv.lastChild):(l=b(e.view[c+1].line)-1,s=e.view[c+1].node.previousSibling),!a)return!1;for(var u=t.doc.splitLines(Ki(t,a,s,A,l)),g=x(t.doc,Q(A,0),Q(l,D(t.doc,l).text.length));u.length>1&&g.length>1;)if(f(u)==f(g))u.pop(),g.pop(),l--;else{if(u[0]!=g[0])break;u.shift(),g.shift(),A++}for(var d=0,M=0,h=u[0],p=g[0],I=Math.min(h.length,p.length);d1||u[0]||S(y,w)?(Bo(t.doc,u,y,w,"+input"),!0):void 0},ensurePolled:function(){this.forceCompositionEnd()},reset:function(){this.forceCompositionEnd()},forceCompositionEnd:function(){this.composing&&(this.composing=null,this.pollContent()||fr(this.cm),this.div.blur(),this.div.focus())},readFromDOMSoon:function(){var t=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout(function(){t.readDOMTimeout=null,t.composing||!t.cm.isReadOnly()&&t.pollContent()||ur(t.cm,function(){return fr(t.cm)})},80))},setUneditable:function(t){t.contentEditable="false"},onKeyPress:function(t){t.preventDefault(),this.cm.isReadOnly()||gr(this.cm,Oi)(this.cm,String.fromCharCode(null==t.charCode?t.keyCode:t.charCode),0)},readOnlyChanged:function(t){this.div.contentEditable=String("nocursor"!=t)},onContextMenu:I,resetPosition:I,needsContentAttribute:!0},Wi.prototype),$i.prototype=s({init:function(t){function e(t){if(!Bt(o,t)){if(o.somethingSelected())ki({lineWise:!1,text:o.getSelections()}),r.inaccurateSelection&&(r.prevInput="",r.inaccurateSelection=!1,A.value=ma.text.join("\n"),xA(A));else{if(!o.options.lineWiseCopyCut)return;var e=Fi(o);ki({lineWise:!0,text:e.text}),"cut"==t.type?o.setSelections(e.ranges,null,BA):(r.prevInput="",A.value=e.text.join("\n"),xA(A))}"cut"==t.type&&(o.state.cutIncoming=!0)}}var n=this,r=this,o=this.cm,i=this.wrapper=Vi(),A=this.textarea=i.firstChild;t.wrapper.insertBefore(i,t.wrapper.firstChild),hA&&(A.style.width="0px"),HA(A,"input",function(){aA&&lA>=9&&n.hasSelection&&(n.hasSelection=null),r.poll()}),HA(A,"paste",function(t){Bt(o,t)||Yi(t,o)||(o.state.pasteIncoming=!0,r.fastPoll())}),HA(A,"cut",e),HA(A,"copy",e),HA(t.scroller,"paste",function(e){Ye(t,e)||Bt(o,e)||(o.state.pasteIncoming=!0,r.focus())}),HA(t.lineSpace,"selectstart",function(e){Ye(t,e)||Ut(e)}),HA(A,"compositionstart",function(){var t=o.getCursor("from");r.composing&&r.composing.range.clear(),r.composing={start:t,range:o.markText(t,o.getCursor("to"),{className:"CodeMirror-composing"})}}),HA(A,"compositionend",function(){r.composing&&(r.poll(),r.composing.range.clear(),r.composing=null)})},prepareSelection:function(){var t=this.cm,e=t.display,n=t.doc,r=xn(t);if(t.options.moveInputWithCursor){var o=gn(t,n.sel.primary().head,"div"),i=e.wrapper.getBoundingClientRect(),A=e.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(e.wrapper.clientHeight-10,o.top+A.top-i.top)),r.teLeft=Math.max(0,Math.min(e.wrapper.clientWidth-10,o.left+A.left-i.left))}return r},showSelection:function(t){var e=this.cm,r=e.display;n(r.cursorDiv,t.cursors),n(r.selectionDiv,t.selection),null!=t.teTop&&(this.wrapper.style.top=t.teTop+"px",this.wrapper.style.left=t.teLeft+"px")},reset:function(t){if(!this.contextMenuPending){var e,n,r=this.cm,o=r.doc;if(r.somethingSelected()){this.prevInput="";var i=o.sel.primary();e=XA&&(i.to().line-i.from().line>100||(n=r.getSelection()).length>1e3);var A=e?"-":n||r.getSelection();this.textarea.value=A,r.state.focused&&xA(this.textarea),aA&&lA>=9&&(this.hasSelection=A)}else t||(this.prevInput=this.textarea.value="",aA&&lA>=9&&(this.hasSelection=null));this.inaccurateSelection=e}},getField:function(){return this.textarea},supportsTouch:function(){return!1},focus:function(){if("nocursor"!=this.cm.options.readOnly&&(!pA||i()!=this.textarea))try{this.textarea.focus()}catch(t){}},blur:function(){this.textarea.blur()},resetPosition:function(){this.wrapper.style.top=this.wrapper.style.left=0},receivedFocus:function(){this.slowPoll()},slowPoll:function(){var t=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){t.poll(),t.cm.state.focused&&t.slowPoll()})},fastPoll:function(){function t(){var r=n.poll();r||e?(n.pollingFast=!1,n.slowPoll()):(e=!0,n.polling.set(60,t))}var e=!1,n=this;n.pollingFast=!0,n.polling.set(20,t)},poll:function(){var t=this,e=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||!e.state.focused||PA(n)&&!r&&!this.composing||e.isReadOnly()||e.options.disableInput||e.state.keySeq)return!1;var o=n.value;if(o==r&&!e.somethingSelected())return!1;if(aA&&lA>=9&&this.hasSelection===o||IA&&/[\uf700-\uf7ff]/.test(o))return e.display.input.reset(),!1;if(e.doc.sel==e.display.selForContextMenu){var i=o.charCodeAt(0);if(8203!=i||r||(r="​"),8666==i)return this.reset(),this.cm.execCommand("undo")}for(var A=0,a=Math.min(r.length,o.length);A1e3||o.indexOf("\n")>-1?n.value=t.prevInput="":t.prevInput=o,t.composing&&(t.composing.range.clear(),t.composing.range=e.markText(t.composing.start,e.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},ensurePolled:function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},onKeyPress:function(){aA&&lA>=9&&(this.hasSelection=null),this.fastPoll()},onContextMenu:function(t){function e(){if(null!=A.selectionStart){var t=o.somethingSelected(),e="​"+(t?A.value:"");A.value="⇚",A.value=e,r.prevInput=t?"":"​",A.selectionStart=1,A.selectionEnd=e.length,i.selForContextMenu=o.doc.sel}}function n(){if(r.contextMenuPending=!1,r.wrapper.style.cssText=u,A.style.cssText=c,aA&&lA<9&&i.scrollbars.setScrollTop(i.scroller.scrollTop=l),null!=A.selectionStart){(!aA||aA&&lA<9)&&e();var t=0,n=function(){i.selForContextMenu==o.doc.sel&&0==A.selectionStart&&A.selectionEnd>0&&"​"==r.prevInput?gr(o,wo)(o):t++<10?i.detectingSelectAll=setTimeout(n,500):i.input.reset()};i.detectingSelectAll=setTimeout(n,200)}}var r=this,o=r.cm,i=o.display,A=r.textarea,a=wn(o,t),l=i.scroller.scrollTop;if(a&&!gA){var s=o.options.resetSelectionOnContextMenu;s&&o.doc.sel.contains(a)==-1&&gr(o,fo)(o.doc,zr(a),BA);var c=A.style.cssText,u=r.wrapper.style.cssText;r.wrapper.style.cssText="position: absolute";var g=r.wrapper.getBoundingClientRect();A.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(t.clientY-g.top-5)+"px; left: "+(t.clientX-g.left-5)+"px;\n z-index: 1000; background: "+(aA?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);";var d;if(sA&&(d=window.scrollY),i.input.focus(),sA&&window.scrollTo(null,d),i.input.reset(),o.somethingSelected()||(A.value=r.prevInput=" "),r.contextMenuPending=!0,i.selForContextMenu=o.doc.sel,clearTimeout(i.detectingSelectAll),aA&&lA>=9&&e(),CA){Ot(t);var M=function(){bt(window,"mouseup",M),setTimeout(n,20)};HA(window,"mouseup",M)}else setTimeout(n,50)}},readOnlyChanged:function(t){t||this.reset()},setUneditable:I,needsContentAttribute:!1},$i.prototype),vi(Si),Gi(Si);var La="iter insert remove copy getEditor constructor".split(" ");for(var ba in ca.prototype)ca.prototype.hasOwnProperty(ba)&&g(La,ba)<0&&(Si.prototype[ba]=function(t){return function(){return t.apply(this.doc,arguments)}}(ca.prototype[ba]));return St(ca),Si.inputStyles={textarea:$i,contenteditable:Wi},Si.defineMode=function(t){Si.defaults.mode||"null"==t||(Si.defaults.mode=t),Gt.apply(this,arguments)},Si.defineMIME=Pt,Si.defineMode("null",function(){return{token:function(t){return t.skipToEnd()}}}),Si.defineMIME("text/plain","null"),Si.defineExtension=function(t,e){Si.prototype[t]=e},Si.defineDocExtension=function(t,e){ca.prototype[t]=e},Si.fromTextArea=tA,eA(Si),Si.version="5.21.0",Si})},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function A(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n";return r+=this.getFromConnectionsXML(),r+=""}}]),e}(u.default);e.default=g},function(t,e){t.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9X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DguMDIzIDE4LjM3NyAxMiAyOC44IDEyIDAuMDY4IDAgMC4yMDUtMC4wNjggMC4zNDMtMC4wNjggMC4wNjggMCAwLjIwNSAwLjA2OCAwLjI3NSAwLjA2OCAxMi42ODUgMCAyMy42NTctNi4wMzUgMzEuMjY4LTE0Ljk0OGwxOTQuMzMyLTE5NC4zMzJjNy42MTItNy42MTIgMTEuOTMyLTE4LjAzNSAxMS45MzItMjguOHMtNC4zMi0yMS4xODgtMTEuOTMyLTI4LjhsLTE5NC4yNjMtMTk0LjI2M3oiIGZpbGw9IiMwMGJiOWMiPjwvcGF0aD48L2c+PC9nPjwvc3ZnPg=="},function(t,e,n){"use strict";function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function o(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function A(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var n=0;n'}},{key:"newNode",value:function(){return new g.default}},{key:"getConfigs",value:function(){return{out:1}}},{key:"getPropertiesProducer",value:function(){var t=this;return function(){var e=$("
"),n=$('
'),r=$('
');n.append(r);var o=$(''),i=this;r.append(o),o.change(function(){i.file=$(this).val()}),o.val(this.file);var A=$('
库文件路径类型删除
');A.append(d),d.hide(),d.append('百分比(%)流向');var f=$("");d.append(f);var h=0,p=!0,I=!1,N=void 0;try{for(var T,E=function(){var t=(T.value,e.decisionItems[h]);h++;var n=$("");f.append(n);var r=$("");n.append(r);var o=$('');r.append(o),o.change(function(){t.percent=$(this).val()}),o.val(t.percent);var i=$("");n.append(i);var A=$(''),a=!0,l=!1,s=void 0;try{for(var c,u=e.fromConnections[Symbol.iterator]();!(a=(c=u.next()).done);a=!0){var g=c.value;A.append("")}}catch(t){l=!0,s=t}finally{try{!a&&u.return&&u.return()}finally{if(l)throw s}}A.change(function(){t.to=$(this).val()}),A.val(t.to),i.append(A)},y=this.fromConnections[Symbol.iterator]();!(p=(T=y.next()).done);p=!0)E()}catch(t){I=!0,N=t}finally{try{!p&&y.return&&y.return()}finally{if(I)throw N}}var w=$('
');A.append(w),w.hide(),w.append('条件脚本流向');var C=$("");w.append(C),h=0;var D=!0,x=!1,m=void 0;try{for(var L,b=function(){var n=(L.value,e.decisionItems[h]);h++;var r=$("");C.append(r);var o=$("");r.append(o);var i=$('
'),A=$('');i.append(A);var a=$('');i.append(a),a.click(function(){var e=$("
"),r=$("");e.append(r);var o=null;M.MsgBox.dialog("编辑脚本",e,function(){if(o){var t=o.getValue();r.val(t),A.val(t),n.script=t}}),setTimeout(function(){o=s.default.fromTextArea(r[0],{lineNumbers:!0,mode:"if",extraKeys:{"Alt-/":"autocomplete"},gutters:["CodeMirror-linenumbers","CodeMirror-lint-markers"],lint:{getAnnotations:t.buildScriptLintFunction("DecisionNode"),async:!0}}),s.default.commands.autocomplete=function(t){t.showHint({hint:s.default.hint.if})},o.on("change",function(t,e){"."==e.text&&s.default.commands.autocomplete(t)})},500)}),o.append(i);var l=$("");r.append(l);var c=$(''),u=!0,g=!1,d=void 0;try{for(var f,p=e.fromConnections[Symbol.iterator]();!(u=(f=p.next()).done);u=!0){var I=f.value;c.append("")}}catch(t){g=!0,d=t}finally{try{!u&&p.return&&p.return()}finally{if(g)throw d}}c.change(function(){n.to=$(this).val()}),c.val(n.to||""),l.append(c)},v=this.fromConnections[Symbol.iterator]();!(D=(L=v.next()).done);D=!0)b()}catch(t){x=!0,m=t}finally{try{!D&&v.return&&v.return()}finally{if(x)throw m}}return o.change(function(){i.decisionItems.splice(0,i.decisionItems.length-1);var t=!0,e=!1,n=void 0;try{for(var r,o=i.fromConnections[Symbol.iterator]();!(t=(r=o.next()).done);t=!0){r.value;i.decisionItems.push({connection:"",content:""})}}catch(t){e=!0,n=t}finally{try{!t&&o.return&&o.return()}finally{if(e)throw n}}i.decisionType=$(this).val(),"Criteria"===i.decisionType?(d.hide(),w.show()):(w.hide(),d.show())}),"Criteria"===i.decisionType?(d.hide(),w.show()):"Percent"===i.decisionType&&(w.hide(),d.show()),n.append(r),n.append(A),n.append(t.getCommonProperties(this)),n}}}]),e}(u.default);e.default=f},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function A(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n',o="",i=!0,A=!1,a=void 0;try{for(var l,s=this.decisionItems[Symbol.iterator]();!(i=(l=s.next()).done);i=!0){var c=l.value,u=null;u="Percent"===this.decisionType?'':'",o+=u}}catch(t){A=!0,a=t}finally{try{!i&&s.return&&s.return()}finally{if(A)throw a}}return r+=o,r+=this.getFromConnectionsXML(),r+=""}},{key:"initFromJson",value:function(t){l(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"initFromJson",this).call(this,t),this.decisionType=t.decisionType,this.decisionItems=t.items}},{key:"validate",value:function(){var t=l(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"validate",this).call(this);if(t)return t;if(!this.decisionType||""===this.decisionType)return t="节点"+this.name+"的决策类型属性不能为空";this.decisionItems.length<1&&(t="节点"+this.name+"的具体的决策项不能少于一个");var n=!0,r=!1,o=void 0;try{for(var i,A=this.decisionItems[Symbol.iterator]();!(n=(i=A.next()).done);n=!0){var a=i.value;if("Percent"===this.decisionType){if(!a.to||""===a.to||!a.percent||""===a.percent){t="节点"+this.name+"的决策项未正确配置";break}}else if(!a.to||""===a.to||!a.script||""===a.script){t="节点"+this.name+"的决策项未正确配置";break}}}catch(t){r=!0,o=t}finally{try{!n&&A.return&&A.return()}finally{if(r)throw o}}return t}}]),e}(g.default);e.default=d},function(t,e){t.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+PHN2ZyB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgdmlld0JveD0iMCAwIDIwMCAyMDAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PGRlZnM+PHN0eWxlIHR5cGU9InRleHQvY3NzIj48IVtDREFUQVsNCkBmb250LWZhY2UgeyBmb250LWZhbWlseTogaWZvbnQ7IHNyYzogdXJsKCJodHRwOi8vYXQuYWxpY2RuLmNvbS90L2ZvbnRfMTQ0MjM3Mzg5Nl80NzU0NDU1LmVvdD8jaWVmaXgiKSBmb3JtYXQoImVtYmVkZGVkLW9wZW50eXBlIiksIHVybCgiaHR0cDovL2F0LmFsaWNkbi5jb20vdC9mb250XzE0NDIzNzM4OTZfNDc1NDQ1NS53b2ZmIikgZm9ybWF0KCJ3b2ZmIiksIHVybCgiaHR0cDovL2F0LmFsaWNkbi5jb20vdC9mb250XzE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CA2NDcuNTI5NDEyIDg5Ny41MDU4ODIgNjE0LjQgODk3LjUwNTg4MnpNNjE0LjQgODMxLjI0NzA1OWwtMjA0LjggMy4wMTE3NjUgMy4wMTE3NjUgNi4wMjM1MjkgMjAxLjc4ODIzNS0zLjAxMTc2NUw2MTQuNCA4MzEuMjQ3MDU5ek03MzQuODcwNTg4IDQwOS42Yy0xOC4wNzA1ODggMC0zMC4xMTc2NDctMTIuMDQ3MDU5LTMwLjExNzY0Ny0zMC4xMTc2NDdDNzA0Ljc1Mjk0MSAyNzEuMDU4ODI0IDYxMS4zODgyMzUgMTgwLjcwNTg4MiA0OTYuOTQxMTc2IDE4MC43MDU4ODJjLTE4LjA3MDU4OCAwLTMwLjExNzY0Ny0xMi4wNDcwNTktMzAuMTE3NjQ3LTMwLjExNzY0N3MxMi4wNDcwNTktMzAuMTE3NjQ3IDMwLjExNzY0Ny0zMC4xMTc2NDdjMTQ3LjU3NjQ3MSAwIDI2OC4wNDcwNTkgMTE3LjQ1ODgyNCAyNjguMDQ3MDU5IDI2Mi4wMjM1MjlDNzY0Ljk4ODIzNSAzOTcuNTUyOTQxIDc0OS45Mjk0MTIgNDA5LjYgNzM0Ljg3MDU4OCA0MDkuNnoiIGZpbGw9IiM1NmFiZTQiPjwvcGF0aD48L2c+PC9nPjwvc3ZnPg=="},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function A(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n
'}},{key:"newNode",value:function(){return new u.default}},{key:"getPropertiesProducer",value:function(){var t=this;return function(){var e=$("
");return e.append(t.getCommonProperties(this)),e}}}]),e}(s.default);e.default=g},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function A(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n";return r+=this.getFromConnectionsXML(),r+=""}}]),e}(u.default);e.default=g},function(t,e){t.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+PHN2ZyB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgdmlld0JveD0iMCAwIDIwMCAyMDAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PGRlZnM+PHN0eWxlIHR5cGU9InRleHQvY3NzIj48IVtDREFUQVsNCkBmb250LWZhY2UgeyBmb250LWZhbWlseTogaWZvbnQ7IHNyYzogdXJsKCJodHRwOi8vYXQuYWxpY2RuLmNvbS90L2ZvbnRfMTQ0MjM3Mzg5Nl80NzU0NDU1LmVvdD8jaWVmaXgiKS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call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function A(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n'}},{key:"newNode",value:function(){return new u.default}},{key:"getConfigs",value:function(){return{out:1}}},{key:"getPropertiesProducer",value:function(){var t=this;return function(){var e=$("
");return e.append(t.getCommonProperties(this)),e}}}]),e}(s.default);e.default=g},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function A(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n";return r+=this.getFromConnectionsXML(),r+=""}}]),e}(u.default);e.default=g},function(t,e){t.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+PHN2ZyB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgdmlld0JveD0iMCAwIDIwMCAyMDA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