# HG changeset patch # User duong tam kien # Date 1487957412 -3600 # Node ID 776628e44a839e5027e3c95a8fdb4bf4fb6aff4c # Parent 0aa3af4ab0e660aac6a4d483bb694b18c07ae697 updates the compiled version of the assets diff -r 0aa3af4ab0e6 -r 776628e44a83 src/iconolab/static/iconolab/css/iconolab.css --- a/src/iconolab/static/iconolab/css/iconolab.css Fri Feb 24 18:04:02 2017 +0100 +++ b/src/iconolab/static/iconolab/css/iconolab.css Fri Feb 24 18:30:12 2017 +0100 @@ -11,5 +11,5 @@ /*! * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) - */@font-face{font-family:FontAwesome;src:url(../fonts/fontawesome-webfont.eot);src:url(../fonts/fontawesome-webfont.eot) format("embedded-opentype"),url(../fonts/fontawesome-webfont.woff2) format("woff2"),url(../fonts/fontawesome-webfont.woff) format("woff"),url(../fonts/fontawesome-webfont.ttf) format("truetype"),url(/static/fontawesome-webfont.svg?49de4ca90d57d3d1f0229c708a47daea) format("svg");font-weight:400;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14286em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14286em;width:2.14286em;top:.14286em;text-align:center}.fa-li.fa-lg{left:-1.85714em}.fa-border{padding:.2em .25em .15em;border:.08em solid #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";-webkit-transform:scaleY(-1);transform:scaleY(-1)}:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270{-webkit-filter:none;filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\F000"}.fa-music:before{content:"\F001"}.fa-search:before{content:"\F002"}.fa-envelope-o:before{content:"\F003"}.fa-heart:before{content:"\F004"}.fa-star:before{content:"\F005"}.fa-star-o:before{content:"\F006"}.fa-user:before{content:"\F007"}.fa-film:before{content:"\F008"}.fa-th-large:before{content:"\F009"}.fa-th:before{content:"\F00A"}.fa-th-list:before{content:"\F00B"}.fa-check:before{content:"\F00C"}.fa-close:before,.fa-remove:before,.fa-times:before{content:"\F00D"}.fa-search-plus:before{content:"\F00E"}.fa-search-minus:before{content:"\F010"}.fa-power-off:before{content:"\F011"}.fa-signal:before{content:"\F012"}.fa-cog:before,.fa-gear:before{content:"\F013"}.fa-trash-o:before{content:"\F014"}.fa-home:before{content:"\F015"}.fa-file-o:before{content:"\F016"}.fa-clock-o:before{content:"\F017"}.fa-road:before{content:"\F018"}.fa-download:before{content:"\F019"}.fa-arrow-circle-o-down:before{content:"\F01A"}.fa-arrow-circle-o-up:before{content:"\F01B"}.fa-inbox:before{content:"\F01C"}.fa-play-circle-o:before{content:"\F01D"}.fa-repeat:before,.fa-rotate-right:before{content:"\F01E"}.fa-refresh:before{content:"\F021"}.fa-list-alt:before{content:"\F022"}.fa-lock:before{content:"\F023"}.fa-flag:before{content:"\F024"}.fa-headphones:before{content:"\F025"}.fa-volume-off:before{content:"\F026"}.fa-volume-down:before{content:"\F027"}.fa-volume-up:before{content:"\F028"}.fa-qrcode:before{content:"\F029"}.fa-barcode:before{content:"\F02A"}.fa-tag:before{content:"\F02B"}.fa-tags:before{content:"\F02C"}.fa-book:before{content:"\F02D"}.fa-bookmark:before{content:"\F02E"}.fa-print:before{content:"\F02F"}.fa-camera:before{content:"\F030"}.fa-font:before{content:"\F031"}.fa-bold:before{content:"\F032"}.fa-italic:before{content:"\F033"}.fa-text-height:before{content:"\F034"}.fa-text-width:before{content:"\F035"}.fa-align-left:before{content:"\F036"}.fa-align-center:before{content:"\F037"}.fa-align-right:before{content:"\F038"}.fa-align-justify:before{content:"\F039"}.fa-list:before{content:"\F03A"}.fa-dedent:before,.fa-outdent:before{content:"\F03B"}.fa-indent:before{content:"\F03C"}.fa-video-camera:before{content:"\F03D"}.fa-image:before,.fa-photo:before,.fa-picture-o:before{content:"\F03E"}.fa-pencil:before{content:"\F040"}.fa-map-marker:before{content:"\F041"}.fa-adjust:before{content:"\F042"}.fa-tint:before{content:"\F043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\F044"}.fa-share-square-o:before{content:"\F045"}.fa-check-square-o:before{content:"\F046"}.fa-arrows:before{content:"\F047"}.fa-step-backward:before{content:"\F048"}.fa-fast-backward:before{content:"\F049"}.fa-backward:before{content:"\F04A"}.fa-play:before{content:"\F04B"}.fa-pause:before{content:"\F04C"}.fa-stop:before{content:"\F04D"}.fa-forward:before{content:"\F04E"}.fa-fast-forward:before{content:"\F050"}.fa-step-forward:before{content:"\F051"}.fa-eject:before{content:"\F052"}.fa-chevron-left:before{content:"\F053"}.fa-chevron-right:before{content:"\F054"}.fa-plus-circle:before{content:"\F055"}.fa-minus-circle:before{content:"\F056"}.fa-times-circle:before{content:"\F057"}.fa-check-circle:before{content:"\F058"}.fa-question-circle:before{content:"\F059"}.fa-info-circle:before{content:"\F05A"}.fa-crosshairs:before{content:"\F05B"}.fa-times-circle-o:before{content:"\F05C"}.fa-check-circle-o:before{content:"\F05D"}.fa-ban:before{content:"\F05E"}.fa-arrow-left:before{content:"\F060"}.fa-arrow-right:before{content:"\F061"}.fa-arrow-up:before{content:"\F062"}.fa-arrow-down:before{content:"\F063"}.fa-mail-forward:before,.fa-share:before{content:"\F064"}.fa-expand:before{content:"\F065"}.fa-compress:before{content:"\F066"}.fa-plus:before{content:"\F067"}.fa-minus:before{content:"\F068"}.fa-asterisk:before{content:"\F069"}.fa-exclamation-circle:before{content:"\F06A"}.fa-gift:before{content:"\F06B"}.fa-leaf:before{content:"\F06C"}.fa-fire:before{content:"\F06D"}.fa-eye:before{content:"\F06E"}.fa-eye-slash:before{content:"\F070"}.fa-exclamation-triangle:before,.fa-warning:before{content:"\F071"}.fa-plane:before{content:"\F072"}.fa-calendar:before{content:"\F073"}.fa-random:before{content:"\F074"}.fa-comment:before{content:"\F075"}.fa-magnet:before{content:"\F076"}.fa-chevron-up:before{content:"\F077"}.fa-chevron-down:before{content:"\F078"}.fa-retweet:before{content:"\F079"}.fa-shopping-cart:before{content:"\F07A"}.fa-folder:before{content:"\F07B"}.fa-folder-open:before{content:"\F07C"}.fa-arrows-v:before{content:"\F07D"}.fa-arrows-h:before{content:"\F07E"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\F080"}.fa-twitter-square:before{content:"\F081"}.fa-facebook-square:before{content:"\F082"}.fa-camera-retro:before{content:"\F083"}.fa-key:before{content:"\F084"}.fa-cogs:before,.fa-gears:before{content:"\F085"}.fa-comments:before{content:"\F086"}.fa-thumbs-o-up:before{content:"\F087"}.fa-thumbs-o-down:before{content:"\F088"}.fa-star-half:before{content:"\F089"}.fa-heart-o:before{content:"\F08A"}.fa-sign-out:before{content:"\F08B"}.fa-linkedin-square:before{content:"\F08C"}.fa-thumb-tack:before{content:"\F08D"}.fa-external-link:before{content:"\F08E"}.fa-sign-in:before{content:"\F090"}.fa-trophy:before{content:"\F091"}.fa-github-square:before{content:"\F092"}.fa-upload:before{content:"\F093"}.fa-lemon-o:before{content:"\F094"}.fa-phone:before{content:"\F095"}.fa-square-o:before{content:"\F096"}.fa-bookmark-o:before{content:"\F097"}.fa-phone-square:before{content:"\F098"}.fa-twitter:before{content:"\F099"}.fa-facebook-f:before,.fa-facebook:before{content:"\F09A"}.fa-github:before{content:"\F09B"}.fa-unlock:before{content:"\F09C"}.fa-credit-card:before{content:"\F09D"}.fa-feed:before,.fa-rss:before{content:"\F09E"}.fa-hdd-o:before{content:"\F0A0"}.fa-bullhorn:before{content:"\F0A1"}.fa-bell:before{content:"\F0F3"}.fa-certificate:before{content:"\F0A3"}.fa-hand-o-right:before{content:"\F0A4"}.fa-hand-o-left:before{content:"\F0A5"}.fa-hand-o-up:before{content:"\F0A6"}.fa-hand-o-down:before{content:"\F0A7"}.fa-arrow-circle-left:before{content:"\F0A8"}.fa-arrow-circle-right:before{content:"\F0A9"}.fa-arrow-circle-up:before{content:"\F0AA"}.fa-arrow-circle-down:before{content:"\F0AB"}.fa-globe:before{content:"\F0AC"}.fa-wrench:before{content:"\F0AD"}.fa-tasks:before{content:"\F0AE"}.fa-filter:before{content:"\F0B0"}.fa-briefcase:before{content:"\F0B1"}.fa-arrows-alt:before{content:"\F0B2"}.fa-group:before,.fa-users:before{content:"\F0C0"}.fa-chain:before,.fa-link:before{content:"\F0C1"}.fa-cloud:before{content:"\F0C2"}.fa-flask:before{content:"\F0C3"}.fa-cut:before,.fa-scissors:before{content:"\F0C4"}.fa-copy:before,.fa-files-o:before{content:"\F0C5"}.fa-paperclip:before{content:"\F0C6"}.fa-floppy-o:before,.fa-save:before{content:"\F0C7"}.fa-square:before{content:"\F0C8"}.fa-bars:before,.fa-navicon:before,.fa-reorder:before{content:"\F0C9"}.fa-list-ul:before{content:"\F0CA"}.fa-list-ol:before{content:"\F0CB"}.fa-strikethrough:before{content:"\F0CC"}.fa-underline:before{content:"\F0CD"}.fa-table:before{content:"\F0CE"}.fa-magic:before{content:"\F0D0"}.fa-truck:before{content:"\F0D1"}.fa-pinterest:before{content:"\F0D2"}.fa-pinterest-square:before{content:"\F0D3"}.fa-google-plus-square:before{content:"\F0D4"}.fa-google-plus:before{content:"\F0D5"}.fa-money:before{content:"\F0D6"}.fa-caret-down:before{content:"\F0D7"}.fa-caret-up:before{content:"\F0D8"}.fa-caret-left:before{content:"\F0D9"}.fa-caret-right:before{content:"\F0DA"}.fa-columns:before{content:"\F0DB"}.fa-sort:before,.fa-unsorted:before{content:"\F0DC"}.fa-sort-desc:before,.fa-sort-down:before{content:"\F0DD"}.fa-sort-asc:before,.fa-sort-up:before{content:"\F0DE"}.fa-envelope:before{content:"\F0E0"}.fa-linkedin:before{content:"\F0E1"}.fa-rotate-left:before,.fa-undo:before{content:"\F0E2"}.fa-gavel:before,.fa-legal:before{content:"\F0E3"}.fa-dashboard:before,.fa-tachometer:before{content:"\F0E4"}.fa-comment-o:before{content:"\F0E5"}.fa-comments-o:before{content:"\F0E6"}.fa-bolt:before,.fa-flash:before{content:"\F0E7"}.fa-sitemap:before{content:"\F0E8"}.fa-umbrella:before{content:"\F0E9"}.fa-clipboard:before,.fa-paste:before{content:"\F0EA"}.fa-lightbulb-o:before{content:"\F0EB"}.fa-exchange:before{content:"\F0EC"}.fa-cloud-download:before{content:"\F0ED"}.fa-cloud-upload:before{content:"\F0EE"}.fa-user-md:before{content:"\F0F0"}.fa-stethoscope:before{content:"\F0F1"}.fa-suitcase:before{content:"\F0F2"}.fa-bell-o:before{content:"\F0A2"}.fa-coffee:before{content:"\F0F4"}.fa-cutlery:before{content:"\F0F5"}.fa-file-text-o:before{content:"\F0F6"}.fa-building-o:before{content:"\F0F7"}.fa-hospital-o:before{content:"\F0F8"}.fa-ambulance:before{content:"\F0F9"}.fa-medkit:before{content:"\F0FA"}.fa-fighter-jet:before{content:"\F0FB"}.fa-beer:before{content:"\F0FC"}.fa-h-square:before{content:"\F0FD"}.fa-plus-square:before{content:"\F0FE"}.fa-angle-double-left:before{content:"\F100"}.fa-angle-double-right:before{content:"\F101"}.fa-angle-double-up:before{content:"\F102"}.fa-angle-double-down:before{content:"\F103"}.fa-angle-left:before{content:"\F104"}.fa-angle-right:before{content:"\F105"}.fa-angle-up:before{content:"\F106"}.fa-angle-down:before{content:"\F107"}.fa-desktop:before{content:"\F108"}.fa-laptop:before{content:"\F109"}.fa-tablet:before{content:"\F10A"}.fa-mobile-phone:before,.fa-mobile:before{content:"\F10B"}.fa-circle-o:before{content:"\F10C"}.fa-quote-left:before{content:"\F10D"}.fa-quote-right:before{content:"\F10E"}.fa-spinner:before{content:"\F110"}.fa-circle:before{content:"\F111"}.fa-mail-reply:before,.fa-reply:before{content:"\F112"}.fa-github-alt:before{content:"\F113"}.fa-folder-o:before{content:"\F114"}.fa-folder-open-o:before{content:"\F115"}.fa-smile-o:before{content:"\F118"}.fa-frown-o:before{content:"\F119"}.fa-meh-o:before{content:"\F11A"}.fa-gamepad:before{content:"\F11B"}.fa-keyboard-o:before{content:"\F11C"}.fa-flag-o:before{content:"\F11D"}.fa-flag-checkered:before{content:"\F11E"}.fa-terminal:before{content:"\F120"}.fa-code:before{content:"\F121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\F122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\F123"}.fa-location-arrow:before{content:"\F124"}.fa-crop:before{content:"\F125"}.fa-code-fork:before{content:"\F126"}.fa-chain-broken:before,.fa-unlink:before{content:"\F127"}.fa-question:before{content:"\F128"}.fa-info:before{content:"\F129"}.fa-exclamation:before{content:"\F12A"}.fa-superscript:before{content:"\F12B"}.fa-subscript:before{content:"\F12C"}.fa-eraser:before{content:"\F12D"}.fa-puzzle-piece:before{content:"\F12E"}.fa-microphone:before{content:"\F130"}.fa-microphone-slash:before{content:"\F131"}.fa-shield:before{content:"\F132"}.fa-calendar-o:before{content:"\F133"}.fa-fire-extinguisher:before{content:"\F134"}.fa-rocket:before{content:"\F135"}.fa-maxcdn:before{content:"\F136"}.fa-chevron-circle-left:before{content:"\F137"}.fa-chevron-circle-right:before{content:"\F138"}.fa-chevron-circle-up:before{content:"\F139"}.fa-chevron-circle-down:before{content:"\F13A"}.fa-html5:before{content:"\F13B"}.fa-css3:before{content:"\F13C"}.fa-anchor:before{content:"\F13D"}.fa-unlock-alt:before{content:"\F13E"}.fa-bullseye:before{content:"\F140"}.fa-ellipsis-h:before{content:"\F141"}.fa-ellipsis-v:before{content:"\F142"}.fa-rss-square:before{content:"\F143"}.fa-play-circle:before{content:"\F144"}.fa-ticket:before{content:"\F145"}.fa-minus-square:before{content:"\F146"}.fa-minus-square-o:before{content:"\F147"}.fa-level-up:before{content:"\F148"}.fa-level-down:before{content:"\F149"}.fa-check-square:before{content:"\F14A"}.fa-pencil-square:before{content:"\F14B"}.fa-external-link-square:before{content:"\F14C"}.fa-share-square:before{content:"\F14D"}.fa-compass:before{content:"\F14E"}.fa-caret-square-o-down:before,.fa-toggle-down:before{content:"\F150"}.fa-caret-square-o-up:before,.fa-toggle-up:before{content:"\F151"}.fa-caret-square-o-right:before,.fa-toggle-right:before{content:"\F152"}.fa-eur:before,.fa-euro:before{content:"\F153"}.fa-gbp:before{content:"\F154"}.fa-dollar:before,.fa-usd:before{content:"\F155"}.fa-inr:before,.fa-rupee:before{content:"\F156"}.fa-cny:before,.fa-jpy:before,.fa-rmb:before,.fa-yen:before{content:"\F157"}.fa-rouble:before,.fa-rub:before,.fa-ruble:before{content:"\F158"}.fa-krw:before,.fa-won:before{content:"\F159"}.fa-bitcoin:before,.fa-btc:before{content:"\F15A"}.fa-file:before{content:"\F15B"}.fa-file-text:before{content:"\F15C"}.fa-sort-alpha-asc:before{content:"\F15D"}.fa-sort-alpha-desc:before{content:"\F15E"}.fa-sort-amount-asc:before{content:"\F160"}.fa-sort-amount-desc:before{content:"\F161"}.fa-sort-numeric-asc:before{content:"\F162"}.fa-sort-numeric-desc:before{content:"\F163"}.fa-thumbs-up:before{content:"\F164"}.fa-thumbs-down:before{content:"\F165"}.fa-youtube-square:before{content:"\F166"}.fa-youtube:before{content:"\F167"}.fa-xing:before{content:"\F168"}.fa-xing-square:before{content:"\F169"}.fa-youtube-play:before{content:"\F16A"}.fa-dropbox:before{content:"\F16B"}.fa-stack-overflow:before{content:"\F16C"}.fa-instagram:before{content:"\F16D"}.fa-flickr:before{content:"\F16E"}.fa-adn:before{content:"\F170"}.fa-bitbucket:before{content:"\F171"}.fa-bitbucket-square:before{content:"\F172"}.fa-tumblr:before{content:"\F173"}.fa-tumblr-square:before{content:"\F174"}.fa-long-arrow-down:before{content:"\F175"}.fa-long-arrow-up:before{content:"\F176"}.fa-long-arrow-left:before{content:"\F177"}.fa-long-arrow-right:before{content:"\F178"}.fa-apple:before{content:"\F179"}.fa-windows:before{content:"\F17A"}.fa-android:before{content:"\F17B"}.fa-linux:before{content:"\F17C"}.fa-dribbble:before{content:"\F17D"}.fa-skype:before{content:"\F17E"}.fa-foursquare:before{content:"\F180"}.fa-trello:before{content:"\F181"}.fa-female:before{content:"\F182"}.fa-male:before{content:"\F183"}.fa-gittip:before,.fa-gratipay:before{content:"\F184"}.fa-sun-o:before{content:"\F185"}.fa-moon-o:before{content:"\F186"}.fa-archive:before{content:"\F187"}.fa-bug:before{content:"\F188"}.fa-vk:before{content:"\F189"}.fa-weibo:before{content:"\F18A"}.fa-renren:before{content:"\F18B"}.fa-pagelines:before{content:"\F18C"}.fa-stack-exchange:before{content:"\F18D"}.fa-arrow-circle-o-right:before{content:"\F18E"}.fa-arrow-circle-o-left:before{content:"\F190"}.fa-caret-square-o-left:before,.fa-toggle-left:before{content:"\F191"}.fa-dot-circle-o:before{content:"\F192"}.fa-wheelchair:before{content:"\F193"}.fa-vimeo-square:before{content:"\F194"}.fa-try:before,.fa-turkish-lira:before{content:"\F195"}.fa-plus-square-o:before{content:"\F196"}.fa-space-shuttle:before{content:"\F197"}.fa-slack:before{content:"\F198"}.fa-envelope-square:before{content:"\F199"}.fa-wordpress:before{content:"\F19A"}.fa-openid:before{content:"\F19B"}.fa-bank:before,.fa-institution:before,.fa-university:before{content:"\F19C"}.fa-graduation-cap:before,.fa-mortar-board:before{content:"\F19D"}.fa-yahoo:before{content:"\F19E"}.fa-google:before{content:"\F1A0"}.fa-reddit:before{content:"\F1A1"}.fa-reddit-square:before{content:"\F1A2"}.fa-stumbleupon-circle:before{content:"\F1A3"}.fa-stumbleupon:before{content:"\F1A4"}.fa-delicious:before{content:"\F1A5"}.fa-digg:before{content:"\F1A6"}.fa-pied-piper-pp:before{content:"\F1A7"}.fa-pied-piper-alt:before{content:"\F1A8"}.fa-drupal:before{content:"\F1A9"}.fa-joomla:before{content:"\F1AA"}.fa-language:before{content:"\F1AB"}.fa-fax:before{content:"\F1AC"}.fa-building:before{content:"\F1AD"}.fa-child:before{content:"\F1AE"}.fa-paw:before{content:"\F1B0"}.fa-spoon:before{content:"\F1B1"}.fa-cube:before{content:"\F1B2"}.fa-cubes:before{content:"\F1B3"}.fa-behance:before{content:"\F1B4"}.fa-behance-square:before{content:"\F1B5"}.fa-steam:before{content:"\F1B6"}.fa-steam-square:before{content:"\F1B7"}.fa-recycle:before{content:"\F1B8"}.fa-automobile:before,.fa-car:before{content:"\F1B9"}.fa-cab:before,.fa-taxi:before{content:"\F1BA"}.fa-tree:before{content:"\F1BB"}.fa-spotify:before{content:"\F1BC"}.fa-deviantart:before{content:"\F1BD"}.fa-soundcloud:before{content:"\F1BE"}.fa-database:before{content:"\F1C0"}.fa-file-pdf-o:before{content:"\F1C1"}.fa-file-word-o:before{content:"\F1C2"}.fa-file-excel-o:before{content:"\F1C3"}.fa-file-powerpoint-o:before{content:"\F1C4"}.fa-file-image-o:before,.fa-file-photo-o:before,.fa-file-picture-o:before{content:"\F1C5"}.fa-file-archive-o:before,.fa-file-zip-o:before{content:"\F1C6"}.fa-file-audio-o:before,.fa-file-sound-o:before{content:"\F1C7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\F1C8"}.fa-file-code-o:before{content:"\F1C9"}.fa-vine:before{content:"\F1CA"}.fa-codepen:before{content:"\F1CB"}.fa-jsfiddle:before{content:"\F1CC"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-ring:before,.fa-life-saver:before,.fa-support:before{content:"\F1CD"}.fa-circle-o-notch:before{content:"\F1CE"}.fa-ra:before,.fa-rebel:before,.fa-resistance:before{content:"\F1D0"}.fa-empire:before,.fa-ge:before{content:"\F1D1"}.fa-git-square:before{content:"\F1D2"}.fa-git:before{content:"\F1D3"}.fa-hacker-news:before,.fa-y-combinator-square:before,.fa-yc-square:before{content:"\F1D4"}.fa-tencent-weibo:before{content:"\F1D5"}.fa-qq:before{content:"\F1D6"}.fa-wechat:before,.fa-weixin:before{content:"\F1D7"}.fa-paper-plane:before,.fa-send:before{content:"\F1D8"}.fa-paper-plane-o:before,.fa-send-o:before{content:"\F1D9"}.fa-history:before{content:"\F1DA"}.fa-circle-thin:before{content:"\F1DB"}.fa-header:before{content:"\F1DC"}.fa-paragraph:before{content:"\F1DD"}.fa-sliders:before{content:"\F1DE"}.fa-share-alt:before{content:"\F1E0"}.fa-share-alt-square:before{content:"\F1E1"}.fa-bomb:before{content:"\F1E2"}.fa-futbol-o:before,.fa-soccer-ball-o:before{content:"\F1E3"}.fa-tty:before{content:"\F1E4"}.fa-binoculars:before{content:"\F1E5"}.fa-plug:before{content:"\F1E6"}.fa-slideshare:before{content:"\F1E7"}.fa-twitch:before{content:"\F1E8"}.fa-yelp:before{content:"\F1E9"}.fa-newspaper-o:before{content:"\F1EA"}.fa-wifi:before{content:"\F1EB"}.fa-calculator:before{content:"\F1EC"}.fa-paypal:before{content:"\F1ED"}.fa-google-wallet:before{content:"\F1EE"}.fa-cc-visa:before{content:"\F1F0"}.fa-cc-mastercard:before{content:"\F1F1"}.fa-cc-discover:before{content:"\F1F2"}.fa-cc-amex:before{content:"\F1F3"}.fa-cc-paypal:before{content:"\F1F4"}.fa-cc-stripe:before{content:"\F1F5"}.fa-bell-slash:before{content:"\F1F6"}.fa-bell-slash-o:before{content:"\F1F7"}.fa-trash:before{content:"\F1F8"}.fa-copyright:before{content:"\F1F9"}.fa-at:before{content:"\F1FA"}.fa-eyedropper:before{content:"\F1FB"}.fa-paint-brush:before{content:"\F1FC"}.fa-birthday-cake:before{content:"\F1FD"}.fa-area-chart:before{content:"\F1FE"}.fa-pie-chart:before{content:"\F200"}.fa-line-chart:before{content:"\F201"}.fa-lastfm:before{content:"\F202"}.fa-lastfm-square:before{content:"\F203"}.fa-toggle-off:before{content:"\F204"}.fa-toggle-on:before{content:"\F205"}.fa-bicycle:before{content:"\F206"}.fa-bus:before{content:"\F207"}.fa-ioxhost:before{content:"\F208"}.fa-angellist:before{content:"\F209"}.fa-cc:before{content:"\F20A"}.fa-ils:before,.fa-shekel:before,.fa-sheqel:before{content:"\F20B"}.fa-meanpath:before{content:"\F20C"}.fa-buysellads:before{content:"\F20D"}.fa-connectdevelop:before{content:"\F20E"}.fa-dashcube:before{content:"\F210"}.fa-forumbee:before{content:"\F211"}.fa-leanpub:before{content:"\F212"}.fa-sellsy:before{content:"\F213"}.fa-shirtsinbulk:before{content:"\F214"}.fa-simplybuilt:before{content:"\F215"}.fa-skyatlas:before{content:"\F216"}.fa-cart-plus:before{content:"\F217"}.fa-cart-arrow-down:before{content:"\F218"}.fa-diamond:before{content:"\F219"}.fa-ship:before{content:"\F21A"}.fa-user-secret:before{content:"\F21B"}.fa-motorcycle:before{content:"\F21C"}.fa-street-view:before{content:"\F21D"}.fa-heartbeat:before{content:"\F21E"}.fa-venus:before{content:"\F221"}.fa-mars:before{content:"\F222"}.fa-mercury:before{content:"\F223"}.fa-intersex:before,.fa-transgender:before{content:"\F224"}.fa-transgender-alt:before{content:"\F225"}.fa-venus-double:before{content:"\F226"}.fa-mars-double:before{content:"\F227"}.fa-venus-mars:before{content:"\F228"}.fa-mars-stroke:before{content:"\F229"}.fa-mars-stroke-v:before{content:"\F22A"}.fa-mars-stroke-h:before{content:"\F22B"}.fa-neuter:before{content:"\F22C"}.fa-genderless:before{content:"\F22D"}.fa-facebook-official:before{content:"\F230"}.fa-pinterest-p:before{content:"\F231"}.fa-whatsapp:before{content:"\F232"}.fa-server:before{content:"\F233"}.fa-user-plus:before{content:"\F234"}.fa-user-times:before{content:"\F235"}.fa-bed:before,.fa-hotel:before{content:"\F236"}.fa-viacoin:before{content:"\F237"}.fa-train:before{content:"\F238"}.fa-subway:before{content:"\F239"}.fa-medium:before{content:"\F23A"}.fa-y-combinator:before,.fa-yc:before{content:"\F23B"}.fa-optin-monster:before{content:"\F23C"}.fa-opencart:before{content:"\F23D"}.fa-expeditedssl:before{content:"\F23E"}.fa-battery-4:before,.fa-battery-full:before,.fa-battery:before{content:"\F240"}.fa-battery-3:before,.fa-battery-three-quarters:before{content:"\F241"}.fa-battery-2:before,.fa-battery-half:before{content:"\F242"}.fa-battery-1:before,.fa-battery-quarter:before{content:"\F243"}.fa-battery-0:before,.fa-battery-empty:before{content:"\F244"}.fa-mouse-pointer:before{content:"\F245"}.fa-i-cursor:before{content:"\F246"}.fa-object-group:before{content:"\F247"}.fa-object-ungroup:before{content:"\F248"}.fa-sticky-note:before{content:"\F249"}.fa-sticky-note-o:before{content:"\F24A"}.fa-cc-jcb:before{content:"\F24B"}.fa-cc-diners-club:before{content:"\F24C"}.fa-clone:before{content:"\F24D"}.fa-balance-scale:before{content:"\F24E"}.fa-hourglass-o:before{content:"\F250"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\F251"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\F252"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\F253"}.fa-hourglass:before{content:"\F254"}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:"\F255"}.fa-hand-paper-o:before,.fa-hand-stop-o:before{content:"\F256"}.fa-hand-scissors-o:before{content:"\F257"}.fa-hand-lizard-o:before{content:"\F258"}.fa-hand-spock-o:before{content:"\F259"}.fa-hand-pointer-o:before{content:"\F25A"}.fa-hand-peace-o:before{content:"\F25B"}.fa-trademark:before{content:"\F25C"}.fa-registered:before{content:"\F25D"}.fa-creative-commons:before{content:"\F25E"}.fa-gg:before{content:"\F260"}.fa-gg-circle:before{content:"\F261"}.fa-tripadvisor:before{content:"\F262"}.fa-odnoklassniki:before{content:"\F263"}.fa-odnoklassniki-square:before{content:"\F264"}.fa-get-pocket:before{content:"\F265"}.fa-wikipedia-w:before{content:"\F266"}.fa-safari:before{content:"\F267"}.fa-chrome:before{content:"\F268"}.fa-firefox:before{content:"\F269"}.fa-opera:before{content:"\F26A"}.fa-internet-explorer:before{content:"\F26B"}.fa-television:before,.fa-tv:before{content:"\F26C"}.fa-contao:before{content:"\F26D"}.fa-500px:before{content:"\F26E"}.fa-amazon:before{content:"\F270"}.fa-calendar-plus-o:before{content:"\F271"}.fa-calendar-minus-o:before{content:"\F272"}.fa-calendar-times-o:before{content:"\F273"}.fa-calendar-check-o:before{content:"\F274"}.fa-industry:before{content:"\F275"}.fa-map-pin:before{content:"\F276"}.fa-map-signs:before{content:"\F277"}.fa-map-o:before{content:"\F278"}.fa-map:before{content:"\F279"}.fa-commenting:before{content:"\F27A"}.fa-commenting-o:before{content:"\F27B"}.fa-houzz:before{content:"\F27C"}.fa-vimeo:before{content:"\F27D"}.fa-black-tie:before{content:"\F27E"}.fa-fonticons:before{content:"\F280"}.fa-reddit-alien:before{content:"\F281"}.fa-edge:before{content:"\F282"}.fa-credit-card-alt:before{content:"\F283"}.fa-codiepie:before{content:"\F284"}.fa-modx:before{content:"\F285"}.fa-fort-awesome:before{content:"\F286"}.fa-usb:before{content:"\F287"}.fa-product-hunt:before{content:"\F288"}.fa-mixcloud:before{content:"\F289"}.fa-scribd:before{content:"\F28A"}.fa-pause-circle:before{content:"\F28B"}.fa-pause-circle-o:before{content:"\F28C"}.fa-stop-circle:before{content:"\F28D"}.fa-stop-circle-o:before{content:"\F28E"}.fa-shopping-bag:before{content:"\F290"}.fa-shopping-basket:before{content:"\F291"}.fa-hashtag:before{content:"\F292"}.fa-bluetooth:before{content:"\F293"}.fa-bluetooth-b:before{content:"\F294"}.fa-percent:before{content:"\F295"}.fa-gitlab:before{content:"\F296"}.fa-wpbeginner:before{content:"\F297"}.fa-wpforms:before{content:"\F298"}.fa-envira:before{content:"\F299"}.fa-universal-access:before{content:"\F29A"}.fa-wheelchair-alt:before{content:"\F29B"}.fa-question-circle-o:before{content:"\F29C"}.fa-blind:before{content:"\F29D"}.fa-audio-description:before{content:"\F29E"}.fa-volume-control-phone:before{content:"\F2A0"}.fa-braille:before{content:"\F2A1"}.fa-assistive-listening-systems:before{content:"\F2A2"}.fa-american-sign-language-interpreting:before,.fa-asl-interpreting:before{content:"\F2A3"}.fa-deaf:before,.fa-deafness:before,.fa-hard-of-hearing:before{content:"\F2A4"}.fa-glide:before{content:"\F2A5"}.fa-glide-g:before{content:"\F2A6"}.fa-sign-language:before,.fa-signing:before{content:"\F2A7"}.fa-low-vision:before{content:"\F2A8"}.fa-viadeo:before{content:"\F2A9"}.fa-viadeo-square:before{content:"\F2AA"}.fa-snapchat:before{content:"\F2AB"}.fa-snapchat-ghost:before{content:"\F2AC"}.fa-snapchat-square:before{content:"\F2AD"}.fa-pied-piper:before{content:"\F2AE"}.fa-first-order:before{content:"\F2B0"}.fa-yoast:before{content:"\F2B1"}.fa-themeisle:before{content:"\F2B2"}.fa-google-plus-circle:before,.fa-google-plus-official:before{content:"\F2B3"}.fa-fa:before,.fa-font-awesome:before{content:"\F2B4"}.fa-handshake-o:before{content:"\F2B5"}.fa-envelope-open:before{content:"\F2B6"}.fa-envelope-open-o:before{content:"\F2B7"}.fa-linode:before{content:"\F2B8"}.fa-address-book:before{content:"\F2B9"}.fa-address-book-o:before{content:"\F2BA"}.fa-address-card:before,.fa-vcard:before{content:"\F2BB"}.fa-address-card-o:before,.fa-vcard-o:before{content:"\F2BC"}.fa-user-circle:before{content:"\F2BD"}.fa-user-circle-o:before{content:"\F2BE"}.fa-user-o:before{content:"\F2C0"}.fa-id-badge:before{content:"\F2C1"}.fa-drivers-license:before,.fa-id-card:before{content:"\F2C2"}.fa-drivers-license-o:before,.fa-id-card-o:before{content:"\F2C3"}.fa-quora:before{content:"\F2C4"}.fa-free-code-camp:before{content:"\F2C5"}.fa-telegram:before{content:"\F2C6"}.fa-thermometer-4:before,.fa-thermometer-full:before,.fa-thermometer:before{content:"\F2C7"}.fa-thermometer-3:before,.fa-thermometer-three-quarters:before{content:"\F2C8"}.fa-thermometer-2:before,.fa-thermometer-half:before{content:"\F2C9"}.fa-thermometer-1:before,.fa-thermometer-quarter:before{content:"\F2CA"}.fa-thermometer-0:before,.fa-thermometer-empty:before{content:"\F2CB"}.fa-shower:before{content:"\F2CC"}.fa-bath:before,.fa-bathtub:before,.fa-s15:before{content:"\F2CD"}.fa-podcast:before{content:"\F2CE"}.fa-window-maximize:before{content:"\F2D0"}.fa-window-minimize:before{content:"\F2D1"}.fa-window-restore:before{content:"\F2D2"}.fa-times-rectangle:before,.fa-window-close:before{content:"\F2D3"}.fa-times-rectangle-o:before,.fa-window-close-o:before{content:"\F2D4"}.fa-bandcamp:before{content:"\F2D5"}.fa-grav:before{content:"\F2D6"}.fa-etsy:before{content:"\F2D7"}.fa-imdb:before{content:"\F2D8"}.fa-ravelry:before{content:"\F2D9"}.fa-eercast:before{content:"\F2DA"}.fa-microchip:before{content:"\F2DB"}.fa-snowflake-o:before{content:"\F2DC"}.fa-superpowers:before{content:"\F2DD"}.fa-wpexplorer:before{content:"\F2DE"}.fa-meetup:before{content:"\F2E0"}.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}header{margin-bottom:20px}#topnav .navbar{margin-bottom:0}#topsearch{padding:15px 0}#topsearch,#topsearch .navbar{background-color:#333}.item-grid{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap}.item-grid .item-grid-item{padding:0 10px 20px}@media (min-width:768px){.item-grid .item-grid-item{width:25%}}.item-grid .item-grid-item .main-image{margin-bottom:10px}.item-grid .item-grid-item .main-image img{width:100%;height:auto}.item-grid .item-grid-item .item-image-container a{display:block}.drawingModeBtn{border:1px solid orange;cursor:pointer;height:25px;margin-bottom:10px}.form-drawing{border-bottom:1px solid #c3c3c3}.form-drawing-wrapper .selected{border:1px solid orange;color:#fff;background-color:orange}.showPointer{cursor:pointer}.zoom-action-list{padding-left:21px}.zoomTarget-wrapper{padding:0}#zoomTarget,.cut-canvas{border:1px solid #c3c3c3}.no-padding{padding-left:0;padding-right:0}.annotation-content{margin-top:15px;margin-bottom:15px}.highlight{border:1px solid orange}.revision-proposal{background-color:#ecf0f1}.collection-home-btn{margin-top:5px}.img-stats-dt{width:250px!important}.img-stats-dd{margin-left:270px!important}.revision-link:hover{text-decoration:underline}.item-image-thumbnail:hover{cursor:pointer}ul.annotation-comments{background-color:#ededed}li.list-group-item{border:1px solid #bbb}.comment-reply-link{cursor:pointer}.comment-metacategories,.comment-subtext{font-size:.9em;display:inline}.comment-separator{margin-top:10px;margin-bottom:5px}.pagination-shortcut{cursor:pointer}.badge-error{background-color:#b94a48}.badge-warning{background-color:#f89406}.badge-success{background-color:#468847}.badge-info{background-color:#3a87ad}.badge-inverse{background-color:#333}.notif-badge{margin-bottom:5px}.show-all-notifications{cursor:pointer}.annotation-panel{min-width:535px}.annotation-detail{margin-right:5px;margin-left:5px;margin-top:5px;white-space:normal}.annotation-detail,.stats-annotation-userpage{display:inline-block;vertical-align:top;padding:10px}.image-detail{width:150px}.image-detail,.large-image-detail{display:inline-block;vertical-align:top}.large-image-detail{width:400px}.panel .dl-horizontal dt{white-space:normal;text-align:left}.no-user-annotation{margin-left:15px}.dt-annotation{margin-bottom:10px}.userpage-annotation-btn{display:inline-block;vertical-align:top;margin-bottom:5px}.collection-title{margin-top:0}.collection-container,.collection-summary{padding-bottom:15px;width:100%}.collection-container{padding-top:15px}.image-list-wrapper,.tab-selector{margin-top:15px}li.image-list-li{margin-bottom:5px;width:370px;height:430px;vertical-align:middle;padding:5px}.image-list-image-container{position:relative}.object-info{margin-bottom:10px}.collection-home-item-btn{margin-bottom:5px}.collection-home-tab{cursor:pointer}.diff-viewer-wrapper{margin-top:5px}.diff-panel{border:1px solid gray;width:300px;heigth:250px}del{text-decoration:line-through;color:#b30000;background:#fadad7}ins{background:#eaf2c2;color:#406619;text-decoration:none}.diff-panel .close-btn{cursor:pointer;margin-right:5px}.footer-link,.partners-icons{margin-left:20px}.footer-info{margin-left:15px}dl.legals-dl dd{margin-left:10px}.hide-complete-link,.show-complete-link{cursor:pointer}.description-col{padding:10px}#collection-summary .tab-pane{padding:30px 0}.annotation-navigator{display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:30px}.annotation-navigator .annotation-navigator-list{width:20%}.annotation-navigator .annotation-navigator-list .panel{max-height:600px;height:600px;overflow-y:auto}.annotation-navigator .annotation-navigator-list .list-group-item .list-group-item-heading{font-weight:700;margin-bottom:10px}.annotation-navigator .annotation-navigator-list .list-group-item .close{display:none;line-height:13px}.annotation-navigator .annotation-navigator-list .list-group-item.active .close{display:block;color:#fff}.annotation-navigator .annotation-navigator-list .list-group-item .list-group-item-footer{margin-top:10px;font-size:12px;text-align:right}.annotation-navigator .annotation-navigator-canvas{width:60%;padding:0 15px}.annotation-navigator .annotation-navigator-panel{width:20%;display:-webkit-box;display:-ms-flexbox;display:flex}.annotation-navigator .annotation-navigator-panel .panel-body,.annotation-navigator .annotation-navigator-panel>div{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1;flex:1}.annotation-navigator .annotation-navigator-panel .panel{margin-bottom:0;max-height:600px;height:600px;overflow-y:scroll}.annotation-navigator .annotation-navigator-panel .panel-body{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.annotation-navigator .annotation-navigator-panel .panel-body>*{-webkit-box-flex:1;-ms-flex:1;flex:1}.annotation-navigator .annotation-navigator-panel .panel-body>:last-child{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end} + */@font-face{font-family:FontAwesome;src:url(../fonts/fontawesome-webfont.eot);src:url(../fonts/fontawesome-webfont.eot) format("embedded-opentype"),url(../fonts/fontawesome-webfont.woff2) format("woff2"),url(../fonts/fontawesome-webfont.woff) format("woff"),url(../fonts/fontawesome-webfont.ttf) format("truetype"),url(/static/fontawesome-webfont.svg?49de4ca90d57d3d1f0229c708a47daea) format("svg");font-weight:400;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14286em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14286em;width:2.14286em;top:.14286em;text-align:center}.fa-li.fa-lg{left:-1.85714em}.fa-border{padding:.2em .25em .15em;border:.08em solid #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";-webkit-transform:scaleY(-1);transform:scaleY(-1)}:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270{-webkit-filter:none;filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\F000"}.fa-music:before{content:"\F001"}.fa-search:before{content:"\F002"}.fa-envelope-o:before{content:"\F003"}.fa-heart:before{content:"\F004"}.fa-star:before{content:"\F005"}.fa-star-o:before{content:"\F006"}.fa-user:before{content:"\F007"}.fa-film:before{content:"\F008"}.fa-th-large:before{content:"\F009"}.fa-th:before{content:"\F00A"}.fa-th-list:before{content:"\F00B"}.fa-check:before{content:"\F00C"}.fa-close:before,.fa-remove:before,.fa-times:before{content:"\F00D"}.fa-search-plus:before{content:"\F00E"}.fa-search-minus:before{content:"\F010"}.fa-power-off:before{content:"\F011"}.fa-signal:before{content:"\F012"}.fa-cog:before,.fa-gear:before{content:"\F013"}.fa-trash-o:before{content:"\F014"}.fa-home:before{content:"\F015"}.fa-file-o:before{content:"\F016"}.fa-clock-o:before{content:"\F017"}.fa-road:before{content:"\F018"}.fa-download:before{content:"\F019"}.fa-arrow-circle-o-down:before{content:"\F01A"}.fa-arrow-circle-o-up:before{content:"\F01B"}.fa-inbox:before{content:"\F01C"}.fa-play-circle-o:before{content:"\F01D"}.fa-repeat:before,.fa-rotate-right:before{content:"\F01E"}.fa-refresh:before{content:"\F021"}.fa-list-alt:before{content:"\F022"}.fa-lock:before{content:"\F023"}.fa-flag:before{content:"\F024"}.fa-headphones:before{content:"\F025"}.fa-volume-off:before{content:"\F026"}.fa-volume-down:before{content:"\F027"}.fa-volume-up:before{content:"\F028"}.fa-qrcode:before{content:"\F029"}.fa-barcode:before{content:"\F02A"}.fa-tag:before{content:"\F02B"}.fa-tags:before{content:"\F02C"}.fa-book:before{content:"\F02D"}.fa-bookmark:before{content:"\F02E"}.fa-print:before{content:"\F02F"}.fa-camera:before{content:"\F030"}.fa-font:before{content:"\F031"}.fa-bold:before{content:"\F032"}.fa-italic:before{content:"\F033"}.fa-text-height:before{content:"\F034"}.fa-text-width:before{content:"\F035"}.fa-align-left:before{content:"\F036"}.fa-align-center:before{content:"\F037"}.fa-align-right:before{content:"\F038"}.fa-align-justify:before{content:"\F039"}.fa-list:before{content:"\F03A"}.fa-dedent:before,.fa-outdent:before{content:"\F03B"}.fa-indent:before{content:"\F03C"}.fa-video-camera:before{content:"\F03D"}.fa-image:before,.fa-photo:before,.fa-picture-o:before{content:"\F03E"}.fa-pencil:before{content:"\F040"}.fa-map-marker:before{content:"\F041"}.fa-adjust:before{content:"\F042"}.fa-tint:before{content:"\F043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\F044"}.fa-share-square-o:before{content:"\F045"}.fa-check-square-o:before{content:"\F046"}.fa-arrows:before{content:"\F047"}.fa-step-backward:before{content:"\F048"}.fa-fast-backward:before{content:"\F049"}.fa-backward:before{content:"\F04A"}.fa-play:before{content:"\F04B"}.fa-pause:before{content:"\F04C"}.fa-stop:before{content:"\F04D"}.fa-forward:before{content:"\F04E"}.fa-fast-forward:before{content:"\F050"}.fa-step-forward:before{content:"\F051"}.fa-eject:before{content:"\F052"}.fa-chevron-left:before{content:"\F053"}.fa-chevron-right:before{content:"\F054"}.fa-plus-circle:before{content:"\F055"}.fa-minus-circle:before{content:"\F056"}.fa-times-circle:before{content:"\F057"}.fa-check-circle:before{content:"\F058"}.fa-question-circle:before{content:"\F059"}.fa-info-circle:before{content:"\F05A"}.fa-crosshairs:before{content:"\F05B"}.fa-times-circle-o:before{content:"\F05C"}.fa-check-circle-o:before{content:"\F05D"}.fa-ban:before{content:"\F05E"}.fa-arrow-left:before{content:"\F060"}.fa-arrow-right:before{content:"\F061"}.fa-arrow-up:before{content:"\F062"}.fa-arrow-down:before{content:"\F063"}.fa-mail-forward:before,.fa-share:before{content:"\F064"}.fa-expand:before{content:"\F065"}.fa-compress:before{content:"\F066"}.fa-plus:before{content:"\F067"}.fa-minus:before{content:"\F068"}.fa-asterisk:before{content:"\F069"}.fa-exclamation-circle:before{content:"\F06A"}.fa-gift:before{content:"\F06B"}.fa-leaf:before{content:"\F06C"}.fa-fire:before{content:"\F06D"}.fa-eye:before{content:"\F06E"}.fa-eye-slash:before{content:"\F070"}.fa-exclamation-triangle:before,.fa-warning:before{content:"\F071"}.fa-plane:before{content:"\F072"}.fa-calendar:before{content:"\F073"}.fa-random:before{content:"\F074"}.fa-comment:before{content:"\F075"}.fa-magnet:before{content:"\F076"}.fa-chevron-up:before{content:"\F077"}.fa-chevron-down:before{content:"\F078"}.fa-retweet:before{content:"\F079"}.fa-shopping-cart:before{content:"\F07A"}.fa-folder:before{content:"\F07B"}.fa-folder-open:before{content:"\F07C"}.fa-arrows-v:before{content:"\F07D"}.fa-arrows-h:before{content:"\F07E"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\F080"}.fa-twitter-square:before{content:"\F081"}.fa-facebook-square:before{content:"\F082"}.fa-camera-retro:before{content:"\F083"}.fa-key:before{content:"\F084"}.fa-cogs:before,.fa-gears:before{content:"\F085"}.fa-comments:before{content:"\F086"}.fa-thumbs-o-up:before{content:"\F087"}.fa-thumbs-o-down:before{content:"\F088"}.fa-star-half:before{content:"\F089"}.fa-heart-o:before{content:"\F08A"}.fa-sign-out:before{content:"\F08B"}.fa-linkedin-square:before{content:"\F08C"}.fa-thumb-tack:before{content:"\F08D"}.fa-external-link:before{content:"\F08E"}.fa-sign-in:before{content:"\F090"}.fa-trophy:before{content:"\F091"}.fa-github-square:before{content:"\F092"}.fa-upload:before{content:"\F093"}.fa-lemon-o:before{content:"\F094"}.fa-phone:before{content:"\F095"}.fa-square-o:before{content:"\F096"}.fa-bookmark-o:before{content:"\F097"}.fa-phone-square:before{content:"\F098"}.fa-twitter:before{content:"\F099"}.fa-facebook-f:before,.fa-facebook:before{content:"\F09A"}.fa-github:before{content:"\F09B"}.fa-unlock:before{content:"\F09C"}.fa-credit-card:before{content:"\F09D"}.fa-feed:before,.fa-rss:before{content:"\F09E"}.fa-hdd-o:before{content:"\F0A0"}.fa-bullhorn:before{content:"\F0A1"}.fa-bell:before{content:"\F0F3"}.fa-certificate:before{content:"\F0A3"}.fa-hand-o-right:before{content:"\F0A4"}.fa-hand-o-left:before{content:"\F0A5"}.fa-hand-o-up:before{content:"\F0A6"}.fa-hand-o-down:before{content:"\F0A7"}.fa-arrow-circle-left:before{content:"\F0A8"}.fa-arrow-circle-right:before{content:"\F0A9"}.fa-arrow-circle-up:before{content:"\F0AA"}.fa-arrow-circle-down:before{content:"\F0AB"}.fa-globe:before{content:"\F0AC"}.fa-wrench:before{content:"\F0AD"}.fa-tasks:before{content:"\F0AE"}.fa-filter:before{content:"\F0B0"}.fa-briefcase:before{content:"\F0B1"}.fa-arrows-alt:before{content:"\F0B2"}.fa-group:before,.fa-users:before{content:"\F0C0"}.fa-chain:before,.fa-link:before{content:"\F0C1"}.fa-cloud:before{content:"\F0C2"}.fa-flask:before{content:"\F0C3"}.fa-cut:before,.fa-scissors:before{content:"\F0C4"}.fa-copy:before,.fa-files-o:before{content:"\F0C5"}.fa-paperclip:before{content:"\F0C6"}.fa-floppy-o:before,.fa-save:before{content:"\F0C7"}.fa-square:before{content:"\F0C8"}.fa-bars:before,.fa-navicon:before,.fa-reorder:before{content:"\F0C9"}.fa-list-ul:before{content:"\F0CA"}.fa-list-ol:before{content:"\F0CB"}.fa-strikethrough:before{content:"\F0CC"}.fa-underline:before{content:"\F0CD"}.fa-table:before{content:"\F0CE"}.fa-magic:before{content:"\F0D0"}.fa-truck:before{content:"\F0D1"}.fa-pinterest:before{content:"\F0D2"}.fa-pinterest-square:before{content:"\F0D3"}.fa-google-plus-square:before{content:"\F0D4"}.fa-google-plus:before{content:"\F0D5"}.fa-money:before{content:"\F0D6"}.fa-caret-down:before{content:"\F0D7"}.fa-caret-up:before{content:"\F0D8"}.fa-caret-left:before{content:"\F0D9"}.fa-caret-right:before{content:"\F0DA"}.fa-columns:before{content:"\F0DB"}.fa-sort:before,.fa-unsorted:before{content:"\F0DC"}.fa-sort-desc:before,.fa-sort-down:before{content:"\F0DD"}.fa-sort-asc:before,.fa-sort-up:before{content:"\F0DE"}.fa-envelope:before{content:"\F0E0"}.fa-linkedin:before{content:"\F0E1"}.fa-rotate-left:before,.fa-undo:before{content:"\F0E2"}.fa-gavel:before,.fa-legal:before{content:"\F0E3"}.fa-dashboard:before,.fa-tachometer:before{content:"\F0E4"}.fa-comment-o:before{content:"\F0E5"}.fa-comments-o:before{content:"\F0E6"}.fa-bolt:before,.fa-flash:before{content:"\F0E7"}.fa-sitemap:before{content:"\F0E8"}.fa-umbrella:before{content:"\F0E9"}.fa-clipboard:before,.fa-paste:before{content:"\F0EA"}.fa-lightbulb-o:before{content:"\F0EB"}.fa-exchange:before{content:"\F0EC"}.fa-cloud-download:before{content:"\F0ED"}.fa-cloud-upload:before{content:"\F0EE"}.fa-user-md:before{content:"\F0F0"}.fa-stethoscope:before{content:"\F0F1"}.fa-suitcase:before{content:"\F0F2"}.fa-bell-o:before{content:"\F0A2"}.fa-coffee:before{content:"\F0F4"}.fa-cutlery:before{content:"\F0F5"}.fa-file-text-o:before{content:"\F0F6"}.fa-building-o:before{content:"\F0F7"}.fa-hospital-o:before{content:"\F0F8"}.fa-ambulance:before{content:"\F0F9"}.fa-medkit:before{content:"\F0FA"}.fa-fighter-jet:before{content:"\F0FB"}.fa-beer:before{content:"\F0FC"}.fa-h-square:before{content:"\F0FD"}.fa-plus-square:before{content:"\F0FE"}.fa-angle-double-left:before{content:"\F100"}.fa-angle-double-right:before{content:"\F101"}.fa-angle-double-up:before{content:"\F102"}.fa-angle-double-down:before{content:"\F103"}.fa-angle-left:before{content:"\F104"}.fa-angle-right:before{content:"\F105"}.fa-angle-up:before{content:"\F106"}.fa-angle-down:before{content:"\F107"}.fa-desktop:before{content:"\F108"}.fa-laptop:before{content:"\F109"}.fa-tablet:before{content:"\F10A"}.fa-mobile-phone:before,.fa-mobile:before{content:"\F10B"}.fa-circle-o:before{content:"\F10C"}.fa-quote-left:before{content:"\F10D"}.fa-quote-right:before{content:"\F10E"}.fa-spinner:before{content:"\F110"}.fa-circle:before{content:"\F111"}.fa-mail-reply:before,.fa-reply:before{content:"\F112"}.fa-github-alt:before{content:"\F113"}.fa-folder-o:before{content:"\F114"}.fa-folder-open-o:before{content:"\F115"}.fa-smile-o:before{content:"\F118"}.fa-frown-o:before{content:"\F119"}.fa-meh-o:before{content:"\F11A"}.fa-gamepad:before{content:"\F11B"}.fa-keyboard-o:before{content:"\F11C"}.fa-flag-o:before{content:"\F11D"}.fa-flag-checkered:before{content:"\F11E"}.fa-terminal:before{content:"\F120"}.fa-code:before{content:"\F121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\F122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\F123"}.fa-location-arrow:before{content:"\F124"}.fa-crop:before{content:"\F125"}.fa-code-fork:before{content:"\F126"}.fa-chain-broken:before,.fa-unlink:before{content:"\F127"}.fa-question:before{content:"\F128"}.fa-info:before{content:"\F129"}.fa-exclamation:before{content:"\F12A"}.fa-superscript:before{content:"\F12B"}.fa-subscript:before{content:"\F12C"}.fa-eraser:before{content:"\F12D"}.fa-puzzle-piece:before{content:"\F12E"}.fa-microphone:before{content:"\F130"}.fa-microphone-slash:before{content:"\F131"}.fa-shield:before{content:"\F132"}.fa-calendar-o:before{content:"\F133"}.fa-fire-extinguisher:before{content:"\F134"}.fa-rocket:before{content:"\F135"}.fa-maxcdn:before{content:"\F136"}.fa-chevron-circle-left:before{content:"\F137"}.fa-chevron-circle-right:before{content:"\F138"}.fa-chevron-circle-up:before{content:"\F139"}.fa-chevron-circle-down:before{content:"\F13A"}.fa-html5:before{content:"\F13B"}.fa-css3:before{content:"\F13C"}.fa-anchor:before{content:"\F13D"}.fa-unlock-alt:before{content:"\F13E"}.fa-bullseye:before{content:"\F140"}.fa-ellipsis-h:before{content:"\F141"}.fa-ellipsis-v:before{content:"\F142"}.fa-rss-square:before{content:"\F143"}.fa-play-circle:before{content:"\F144"}.fa-ticket:before{content:"\F145"}.fa-minus-square:before{content:"\F146"}.fa-minus-square-o:before{content:"\F147"}.fa-level-up:before{content:"\F148"}.fa-level-down:before{content:"\F149"}.fa-check-square:before{content:"\F14A"}.fa-pencil-square:before{content:"\F14B"}.fa-external-link-square:before{content:"\F14C"}.fa-share-square:before{content:"\F14D"}.fa-compass:before{content:"\F14E"}.fa-caret-square-o-down:before,.fa-toggle-down:before{content:"\F150"}.fa-caret-square-o-up:before,.fa-toggle-up:before{content:"\F151"}.fa-caret-square-o-right:before,.fa-toggle-right:before{content:"\F152"}.fa-eur:before,.fa-euro:before{content:"\F153"}.fa-gbp:before{content:"\F154"}.fa-dollar:before,.fa-usd:before{content:"\F155"}.fa-inr:before,.fa-rupee:before{content:"\F156"}.fa-cny:before,.fa-jpy:before,.fa-rmb:before,.fa-yen:before{content:"\F157"}.fa-rouble:before,.fa-rub:before,.fa-ruble:before{content:"\F158"}.fa-krw:before,.fa-won:before{content:"\F159"}.fa-bitcoin:before,.fa-btc:before{content:"\F15A"}.fa-file:before{content:"\F15B"}.fa-file-text:before{content:"\F15C"}.fa-sort-alpha-asc:before{content:"\F15D"}.fa-sort-alpha-desc:before{content:"\F15E"}.fa-sort-amount-asc:before{content:"\F160"}.fa-sort-amount-desc:before{content:"\F161"}.fa-sort-numeric-asc:before{content:"\F162"}.fa-sort-numeric-desc:before{content:"\F163"}.fa-thumbs-up:before{content:"\F164"}.fa-thumbs-down:before{content:"\F165"}.fa-youtube-square:before{content:"\F166"}.fa-youtube:before{content:"\F167"}.fa-xing:before{content:"\F168"}.fa-xing-square:before{content:"\F169"}.fa-youtube-play:before{content:"\F16A"}.fa-dropbox:before{content:"\F16B"}.fa-stack-overflow:before{content:"\F16C"}.fa-instagram:before{content:"\F16D"}.fa-flickr:before{content:"\F16E"}.fa-adn:before{content:"\F170"}.fa-bitbucket:before{content:"\F171"}.fa-bitbucket-square:before{content:"\F172"}.fa-tumblr:before{content:"\F173"}.fa-tumblr-square:before{content:"\F174"}.fa-long-arrow-down:before{content:"\F175"}.fa-long-arrow-up:before{content:"\F176"}.fa-long-arrow-left:before{content:"\F177"}.fa-long-arrow-right:before{content:"\F178"}.fa-apple:before{content:"\F179"}.fa-windows:before{content:"\F17A"}.fa-android:before{content:"\F17B"}.fa-linux:before{content:"\F17C"}.fa-dribbble:before{content:"\F17D"}.fa-skype:before{content:"\F17E"}.fa-foursquare:before{content:"\F180"}.fa-trello:before{content:"\F181"}.fa-female:before{content:"\F182"}.fa-male:before{content:"\F183"}.fa-gittip:before,.fa-gratipay:before{content:"\F184"}.fa-sun-o:before{content:"\F185"}.fa-moon-o:before{content:"\F186"}.fa-archive:before{content:"\F187"}.fa-bug:before{content:"\F188"}.fa-vk:before{content:"\F189"}.fa-weibo:before{content:"\F18A"}.fa-renren:before{content:"\F18B"}.fa-pagelines:before{content:"\F18C"}.fa-stack-exchange:before{content:"\F18D"}.fa-arrow-circle-o-right:before{content:"\F18E"}.fa-arrow-circle-o-left:before{content:"\F190"}.fa-caret-square-o-left:before,.fa-toggle-left:before{content:"\F191"}.fa-dot-circle-o:before{content:"\F192"}.fa-wheelchair:before{content:"\F193"}.fa-vimeo-square:before{content:"\F194"}.fa-try:before,.fa-turkish-lira:before{content:"\F195"}.fa-plus-square-o:before{content:"\F196"}.fa-space-shuttle:before{content:"\F197"}.fa-slack:before{content:"\F198"}.fa-envelope-square:before{content:"\F199"}.fa-wordpress:before{content:"\F19A"}.fa-openid:before{content:"\F19B"}.fa-bank:before,.fa-institution:before,.fa-university:before{content:"\F19C"}.fa-graduation-cap:before,.fa-mortar-board:before{content:"\F19D"}.fa-yahoo:before{content:"\F19E"}.fa-google:before{content:"\F1A0"}.fa-reddit:before{content:"\F1A1"}.fa-reddit-square:before{content:"\F1A2"}.fa-stumbleupon-circle:before{content:"\F1A3"}.fa-stumbleupon:before{content:"\F1A4"}.fa-delicious:before{content:"\F1A5"}.fa-digg:before{content:"\F1A6"}.fa-pied-piper-pp:before{content:"\F1A7"}.fa-pied-piper-alt:before{content:"\F1A8"}.fa-drupal:before{content:"\F1A9"}.fa-joomla:before{content:"\F1AA"}.fa-language:before{content:"\F1AB"}.fa-fax:before{content:"\F1AC"}.fa-building:before{content:"\F1AD"}.fa-child:before{content:"\F1AE"}.fa-paw:before{content:"\F1B0"}.fa-spoon:before{content:"\F1B1"}.fa-cube:before{content:"\F1B2"}.fa-cubes:before{content:"\F1B3"}.fa-behance:before{content:"\F1B4"}.fa-behance-square:before{content:"\F1B5"}.fa-steam:before{content:"\F1B6"}.fa-steam-square:before{content:"\F1B7"}.fa-recycle:before{content:"\F1B8"}.fa-automobile:before,.fa-car:before{content:"\F1B9"}.fa-cab:before,.fa-taxi:before{content:"\F1BA"}.fa-tree:before{content:"\F1BB"}.fa-spotify:before{content:"\F1BC"}.fa-deviantart:before{content:"\F1BD"}.fa-soundcloud:before{content:"\F1BE"}.fa-database:before{content:"\F1C0"}.fa-file-pdf-o:before{content:"\F1C1"}.fa-file-word-o:before{content:"\F1C2"}.fa-file-excel-o:before{content:"\F1C3"}.fa-file-powerpoint-o:before{content:"\F1C4"}.fa-file-image-o:before,.fa-file-photo-o:before,.fa-file-picture-o:before{content:"\F1C5"}.fa-file-archive-o:before,.fa-file-zip-o:before{content:"\F1C6"}.fa-file-audio-o:before,.fa-file-sound-o:before{content:"\F1C7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\F1C8"}.fa-file-code-o:before{content:"\F1C9"}.fa-vine:before{content:"\F1CA"}.fa-codepen:before{content:"\F1CB"}.fa-jsfiddle:before{content:"\F1CC"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-ring:before,.fa-life-saver:before,.fa-support:before{content:"\F1CD"}.fa-circle-o-notch:before{content:"\F1CE"}.fa-ra:before,.fa-rebel:before,.fa-resistance:before{content:"\F1D0"}.fa-empire:before,.fa-ge:before{content:"\F1D1"}.fa-git-square:before{content:"\F1D2"}.fa-git:before{content:"\F1D3"}.fa-hacker-news:before,.fa-y-combinator-square:before,.fa-yc-square:before{content:"\F1D4"}.fa-tencent-weibo:before{content:"\F1D5"}.fa-qq:before{content:"\F1D6"}.fa-wechat:before,.fa-weixin:before{content:"\F1D7"}.fa-paper-plane:before,.fa-send:before{content:"\F1D8"}.fa-paper-plane-o:before,.fa-send-o:before{content:"\F1D9"}.fa-history:before{content:"\F1DA"}.fa-circle-thin:before{content:"\F1DB"}.fa-header:before{content:"\F1DC"}.fa-paragraph:before{content:"\F1DD"}.fa-sliders:before{content:"\F1DE"}.fa-share-alt:before{content:"\F1E0"}.fa-share-alt-square:before{content:"\F1E1"}.fa-bomb:before{content:"\F1E2"}.fa-futbol-o:before,.fa-soccer-ball-o:before{content:"\F1E3"}.fa-tty:before{content:"\F1E4"}.fa-binoculars:before{content:"\F1E5"}.fa-plug:before{content:"\F1E6"}.fa-slideshare:before{content:"\F1E7"}.fa-twitch:before{content:"\F1E8"}.fa-yelp:before{content:"\F1E9"}.fa-newspaper-o:before{content:"\F1EA"}.fa-wifi:before{content:"\F1EB"}.fa-calculator:before{content:"\F1EC"}.fa-paypal:before{content:"\F1ED"}.fa-google-wallet:before{content:"\F1EE"}.fa-cc-visa:before{content:"\F1F0"}.fa-cc-mastercard:before{content:"\F1F1"}.fa-cc-discover:before{content:"\F1F2"}.fa-cc-amex:before{content:"\F1F3"}.fa-cc-paypal:before{content:"\F1F4"}.fa-cc-stripe:before{content:"\F1F5"}.fa-bell-slash:before{content:"\F1F6"}.fa-bell-slash-o:before{content:"\F1F7"}.fa-trash:before{content:"\F1F8"}.fa-copyright:before{content:"\F1F9"}.fa-at:before{content:"\F1FA"}.fa-eyedropper:before{content:"\F1FB"}.fa-paint-brush:before{content:"\F1FC"}.fa-birthday-cake:before{content:"\F1FD"}.fa-area-chart:before{content:"\F1FE"}.fa-pie-chart:before{content:"\F200"}.fa-line-chart:before{content:"\F201"}.fa-lastfm:before{content:"\F202"}.fa-lastfm-square:before{content:"\F203"}.fa-toggle-off:before{content:"\F204"}.fa-toggle-on:before{content:"\F205"}.fa-bicycle:before{content:"\F206"}.fa-bus:before{content:"\F207"}.fa-ioxhost:before{content:"\F208"}.fa-angellist:before{content:"\F209"}.fa-cc:before{content:"\F20A"}.fa-ils:before,.fa-shekel:before,.fa-sheqel:before{content:"\F20B"}.fa-meanpath:before{content:"\F20C"}.fa-buysellads:before{content:"\F20D"}.fa-connectdevelop:before{content:"\F20E"}.fa-dashcube:before{content:"\F210"}.fa-forumbee:before{content:"\F211"}.fa-leanpub:before{content:"\F212"}.fa-sellsy:before{content:"\F213"}.fa-shirtsinbulk:before{content:"\F214"}.fa-simplybuilt:before{content:"\F215"}.fa-skyatlas:before{content:"\F216"}.fa-cart-plus:before{content:"\F217"}.fa-cart-arrow-down:before{content:"\F218"}.fa-diamond:before{content:"\F219"}.fa-ship:before{content:"\F21A"}.fa-user-secret:before{content:"\F21B"}.fa-motorcycle:before{content:"\F21C"}.fa-street-view:before{content:"\F21D"}.fa-heartbeat:before{content:"\F21E"}.fa-venus:before{content:"\F221"}.fa-mars:before{content:"\F222"}.fa-mercury:before{content:"\F223"}.fa-intersex:before,.fa-transgender:before{content:"\F224"}.fa-transgender-alt:before{content:"\F225"}.fa-venus-double:before{content:"\F226"}.fa-mars-double:before{content:"\F227"}.fa-venus-mars:before{content:"\F228"}.fa-mars-stroke:before{content:"\F229"}.fa-mars-stroke-v:before{content:"\F22A"}.fa-mars-stroke-h:before{content:"\F22B"}.fa-neuter:before{content:"\F22C"}.fa-genderless:before{content:"\F22D"}.fa-facebook-official:before{content:"\F230"}.fa-pinterest-p:before{content:"\F231"}.fa-whatsapp:before{content:"\F232"}.fa-server:before{content:"\F233"}.fa-user-plus:before{content:"\F234"}.fa-user-times:before{content:"\F235"}.fa-bed:before,.fa-hotel:before{content:"\F236"}.fa-viacoin:before{content:"\F237"}.fa-train:before{content:"\F238"}.fa-subway:before{content:"\F239"}.fa-medium:before{content:"\F23A"}.fa-y-combinator:before,.fa-yc:before{content:"\F23B"}.fa-optin-monster:before{content:"\F23C"}.fa-opencart:before{content:"\F23D"}.fa-expeditedssl:before{content:"\F23E"}.fa-battery-4:before,.fa-battery-full:before,.fa-battery:before{content:"\F240"}.fa-battery-3:before,.fa-battery-three-quarters:before{content:"\F241"}.fa-battery-2:before,.fa-battery-half:before{content:"\F242"}.fa-battery-1:before,.fa-battery-quarter:before{content:"\F243"}.fa-battery-0:before,.fa-battery-empty:before{content:"\F244"}.fa-mouse-pointer:before{content:"\F245"}.fa-i-cursor:before{content:"\F246"}.fa-object-group:before{content:"\F247"}.fa-object-ungroup:before{content:"\F248"}.fa-sticky-note:before{content:"\F249"}.fa-sticky-note-o:before{content:"\F24A"}.fa-cc-jcb:before{content:"\F24B"}.fa-cc-diners-club:before{content:"\F24C"}.fa-clone:before{content:"\F24D"}.fa-balance-scale:before{content:"\F24E"}.fa-hourglass-o:before{content:"\F250"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\F251"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\F252"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\F253"}.fa-hourglass:before{content:"\F254"}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:"\F255"}.fa-hand-paper-o:before,.fa-hand-stop-o:before{content:"\F256"}.fa-hand-scissors-o:before{content:"\F257"}.fa-hand-lizard-o:before{content:"\F258"}.fa-hand-spock-o:before{content:"\F259"}.fa-hand-pointer-o:before{content:"\F25A"}.fa-hand-peace-o:before{content:"\F25B"}.fa-trademark:before{content:"\F25C"}.fa-registered:before{content:"\F25D"}.fa-creative-commons:before{content:"\F25E"}.fa-gg:before{content:"\F260"}.fa-gg-circle:before{content:"\F261"}.fa-tripadvisor:before{content:"\F262"}.fa-odnoklassniki:before{content:"\F263"}.fa-odnoklassniki-square:before{content:"\F264"}.fa-get-pocket:before{content:"\F265"}.fa-wikipedia-w:before{content:"\F266"}.fa-safari:before{content:"\F267"}.fa-chrome:before{content:"\F268"}.fa-firefox:before{content:"\F269"}.fa-opera:before{content:"\F26A"}.fa-internet-explorer:before{content:"\F26B"}.fa-television:before,.fa-tv:before{content:"\F26C"}.fa-contao:before{content:"\F26D"}.fa-500px:before{content:"\F26E"}.fa-amazon:before{content:"\F270"}.fa-calendar-plus-o:before{content:"\F271"}.fa-calendar-minus-o:before{content:"\F272"}.fa-calendar-times-o:before{content:"\F273"}.fa-calendar-check-o:before{content:"\F274"}.fa-industry:before{content:"\F275"}.fa-map-pin:before{content:"\F276"}.fa-map-signs:before{content:"\F277"}.fa-map-o:before{content:"\F278"}.fa-map:before{content:"\F279"}.fa-commenting:before{content:"\F27A"}.fa-commenting-o:before{content:"\F27B"}.fa-houzz:before{content:"\F27C"}.fa-vimeo:before{content:"\F27D"}.fa-black-tie:before{content:"\F27E"}.fa-fonticons:before{content:"\F280"}.fa-reddit-alien:before{content:"\F281"}.fa-edge:before{content:"\F282"}.fa-credit-card-alt:before{content:"\F283"}.fa-codiepie:before{content:"\F284"}.fa-modx:before{content:"\F285"}.fa-fort-awesome:before{content:"\F286"}.fa-usb:before{content:"\F287"}.fa-product-hunt:before{content:"\F288"}.fa-mixcloud:before{content:"\F289"}.fa-scribd:before{content:"\F28A"}.fa-pause-circle:before{content:"\F28B"}.fa-pause-circle-o:before{content:"\F28C"}.fa-stop-circle:before{content:"\F28D"}.fa-stop-circle-o:before{content:"\F28E"}.fa-shopping-bag:before{content:"\F290"}.fa-shopping-basket:before{content:"\F291"}.fa-hashtag:before{content:"\F292"}.fa-bluetooth:before{content:"\F293"}.fa-bluetooth-b:before{content:"\F294"}.fa-percent:before{content:"\F295"}.fa-gitlab:before{content:"\F296"}.fa-wpbeginner:before{content:"\F297"}.fa-wpforms:before{content:"\F298"}.fa-envira:before{content:"\F299"}.fa-universal-access:before{content:"\F29A"}.fa-wheelchair-alt:before{content:"\F29B"}.fa-question-circle-o:before{content:"\F29C"}.fa-blind:before{content:"\F29D"}.fa-audio-description:before{content:"\F29E"}.fa-volume-control-phone:before{content:"\F2A0"}.fa-braille:before{content:"\F2A1"}.fa-assistive-listening-systems:before{content:"\F2A2"}.fa-american-sign-language-interpreting:before,.fa-asl-interpreting:before{content:"\F2A3"}.fa-deaf:before,.fa-deafness:before,.fa-hard-of-hearing:before{content:"\F2A4"}.fa-glide:before{content:"\F2A5"}.fa-glide-g:before{content:"\F2A6"}.fa-sign-language:before,.fa-signing:before{content:"\F2A7"}.fa-low-vision:before{content:"\F2A8"}.fa-viadeo:before{content:"\F2A9"}.fa-viadeo-square:before{content:"\F2AA"}.fa-snapchat:before{content:"\F2AB"}.fa-snapchat-ghost:before{content:"\F2AC"}.fa-snapchat-square:before{content:"\F2AD"}.fa-pied-piper:before{content:"\F2AE"}.fa-first-order:before{content:"\F2B0"}.fa-yoast:before{content:"\F2B1"}.fa-themeisle:before{content:"\F2B2"}.fa-google-plus-circle:before,.fa-google-plus-official:before{content:"\F2B3"}.fa-fa:before,.fa-font-awesome:before{content:"\F2B4"}.fa-handshake-o:before{content:"\F2B5"}.fa-envelope-open:before{content:"\F2B6"}.fa-envelope-open-o:before{content:"\F2B7"}.fa-linode:before{content:"\F2B8"}.fa-address-book:before{content:"\F2B9"}.fa-address-book-o:before{content:"\F2BA"}.fa-address-card:before,.fa-vcard:before{content:"\F2BB"}.fa-address-card-o:before,.fa-vcard-o:before{content:"\F2BC"}.fa-user-circle:before{content:"\F2BD"}.fa-user-circle-o:before{content:"\F2BE"}.fa-user-o:before{content:"\F2C0"}.fa-id-badge:before{content:"\F2C1"}.fa-drivers-license:before,.fa-id-card:before{content:"\F2C2"}.fa-drivers-license-o:before,.fa-id-card-o:before{content:"\F2C3"}.fa-quora:before{content:"\F2C4"}.fa-free-code-camp:before{content:"\F2C5"}.fa-telegram:before{content:"\F2C6"}.fa-thermometer-4:before,.fa-thermometer-full:before,.fa-thermometer:before{content:"\F2C7"}.fa-thermometer-3:before,.fa-thermometer-three-quarters:before{content:"\F2C8"}.fa-thermometer-2:before,.fa-thermometer-half:before{content:"\F2C9"}.fa-thermometer-1:before,.fa-thermometer-quarter:before{content:"\F2CA"}.fa-thermometer-0:before,.fa-thermometer-empty:before{content:"\F2CB"}.fa-shower:before{content:"\F2CC"}.fa-bath:before,.fa-bathtub:before,.fa-s15:before{content:"\F2CD"}.fa-podcast:before{content:"\F2CE"}.fa-window-maximize:before{content:"\F2D0"}.fa-window-minimize:before{content:"\F2D1"}.fa-window-restore:before{content:"\F2D2"}.fa-times-rectangle:before,.fa-window-close:before{content:"\F2D3"}.fa-times-rectangle-o:before,.fa-window-close-o:before{content:"\F2D4"}.fa-bandcamp:before{content:"\F2D5"}.fa-grav:before{content:"\F2D6"}.fa-etsy:before{content:"\F2D7"}.fa-imdb:before{content:"\F2D8"}.fa-ravelry:before{content:"\F2D9"}.fa-eercast:before{content:"\F2DA"}.fa-microchip:before{content:"\F2DB"}.fa-snowflake-o:before{content:"\F2DC"}.fa-superpowers:before{content:"\F2DD"}.fa-wpexplorer:before{content:"\F2DE"}.fa-meetup:before{content:"\F2E0"}.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}header{margin-bottom:20px}#topnav .navbar{margin-bottom:0}#topsearch{padding:15px 0}#topsearch,#topsearch .navbar{background-color:#333}.item-grid{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap}.item-grid .item-grid-item{padding:0 10px 20px}@media (min-width:768px){.item-grid .item-grid-item{width:25%}}.item-grid .item-grid-item .main-image{margin-bottom:10px}.item-grid .item-grid-item .main-image img{width:100%;height:auto}.item-grid .item-grid-item .item-image-container a{display:block}.drawingModeBtn{border:1px solid orange;cursor:pointer;height:25px;margin-bottom:10px}.form-drawing{border-bottom:1px solid #c3c3c3}.form-drawing-wrapper .selected{border:1px solid orange;color:#fff;background-color:orange}.showPointer{cursor:pointer}.zoom-action-list{padding-left:21px}.zoomTarget-wrapper{padding:0}#zoomTarget,.cut-canvas{border:1px solid #c3c3c3}.no-padding{padding-left:0;padding-right:0}.annotation-content{margin-top:15px;margin-bottom:15px}.highlight{border:1px solid orange}.revision-proposal{background-color:#ecf0f1}.collection-home-btn{margin-top:5px}.img-stats-dt{width:250px!important}.img-stats-dd{margin-left:270px!important}.revision-link:hover{text-decoration:underline}.item-image-thumbnail:hover{cursor:pointer}ul.annotation-comments{background-color:#ededed}li.list-group-item{border:1px solid #bbb}.comment-reply-link{cursor:pointer}.comment-metacategories,.comment-subtext{font-size:.9em;display:inline}.comment-separator{margin-top:10px;margin-bottom:5px}.pagination-shortcut{cursor:pointer}.badge-error{background-color:#b94a48}.badge-warning{background-color:#f89406}.badge-success{background-color:#468847}.badge-info{background-color:#3a87ad}.badge-inverse{background-color:#333}.notif-badge{margin-bottom:5px}.show-all-notifications{cursor:pointer}.annotation-panel{min-width:535px}.annotation-detail{margin-right:5px;margin-left:5px;margin-top:5px;white-space:normal}.annotation-detail,.stats-annotation-userpage{display:inline-block;vertical-align:top;padding:10px}.image-detail{width:150px}.image-detail,.large-image-detail{display:inline-block;vertical-align:top}.large-image-detail{width:400px}.panel .dl-horizontal dt{white-space:normal;text-align:left}.no-user-annotation{margin-left:15px}.dt-annotation{margin-bottom:10px}.userpage-annotation-btn{display:inline-block;vertical-align:top;margin-bottom:5px}.collection-title{margin-top:0}.collection-container,.collection-summary{padding-bottom:15px;width:100%}.collection-container{padding-top:15px}.image-list-wrapper,.tab-selector{margin-top:15px}li.image-list-li{margin-bottom:5px;width:370px;height:430px;vertical-align:middle;padding:5px}.image-list-image-container{position:relative}.object-info{margin-bottom:10px}.collection-home-item-btn{margin-bottom:5px}.collection-home-tab{cursor:pointer}.diff-viewer-wrapper{margin-top:5px}.diff-panel{border:1px solid gray;width:300px;heigth:250px}del{text-decoration:line-through;color:#b30000;background:#fadad7}ins{background:#eaf2c2;color:#406619;text-decoration:none}.diff-panel .close-btn{cursor:pointer;margin-right:5px}.footer-link,.partners-icons{margin-left:20px}.footer-info{margin-left:15px}dl.legals-dl dd{margin-left:10px}.hide-complete-link,.show-complete-link{cursor:pointer}.description-col{padding:10px}#collection-summary .tab-pane{padding:30px 0}.annotation-navigator{display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:30px}.annotation-navigator .annotation-navigator-list{width:20%}.annotation-navigator .annotation-navigator-list .panel{max-height:600px;height:600px;overflow-y:auto}.annotation-navigator .annotation-navigator-list .list-group-item .list-group-item-heading{font-weight:700;margin-bottom:10px}.annotation-navigator .annotation-navigator-list .list-group-item .close{display:none;line-height:13px}.annotation-navigator .annotation-navigator-list .list-group-item.active .close{display:block;color:#fff}.annotation-navigator .annotation-navigator-list .list-group-item .list-group-item-footer{margin-top:10px;font-size:12px;text-align:right}.annotation-navigator .annotation-navigator-canvas{width:60%;padding:0 15px}.annotation-navigator .annotation-navigator-panel{width:20%;display:-webkit-box;display:-ms-flexbox;display:flex}.annotation-navigator .annotation-navigator-panel .panel-body,.annotation-navigator .annotation-navigator-panel>div{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1;flex:1}.annotation-navigator .annotation-navigator-panel .panel{margin-bottom:0;max-height:600px;height:600px;overflow-y:scroll}.annotation-navigator .annotation-navigator-panel .panel-body{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.annotation-navigator .annotation-navigator-panel .panel-body>*{-webkit-box-flex:1;-ms-flex:1;flex:1}.annotation-navigator .annotation-navigator-panel .panel-body>:last-child{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;padding-bottom:20px} /*# sourceMappingURL=iconolab.css.map*/ \ No newline at end of file diff -r 0aa3af4ab0e6 -r 776628e44a83 src/iconolab/static/iconolab/js/iconolab.js --- a/src/iconolab/static/iconolab/js/iconolab.js Fri Feb 24 18:04:02 2017 +0100 +++ b/src/iconolab/static/iconolab/js/iconolab.js Fri Feb 24 18:30:12 2017 +0100 @@ -1,32 +1,33 @@ -webpackJsonp([1],[function(t,e,n){n(84),t.exports=n(174)},,function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;e=0&&m.splice(e,1)}function s(t){var e=document.createElement("style");return e.type="text/css",o(t,e),e}function l(t,e){var n,r,i;if(e.singleton){var o=v++;n=g||(g=s(e)),r=c.bind(null,n,o,!1),i=c.bind(null,n,o,!0)}else n=s(e),r=f.bind(null,n),i=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 i()}}function c(t,e,n,r){var i=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=y(e,i);else{var o=document.createTextNode(i),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[e]):t.appendChild(o)}}function f(t,e){var n=e.css,r=e.media,i=e.sourceMap;if(r&&t.setAttribute("media",r),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}var u={},h=function(t){var e;return function(){return"undefined"==typeof e&&(e=t.apply(this,arguments)),e}},p=h(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),d=h(function(){return document.head||document.getElementsByTagName("head")[0]}),g=null,v=0,m=[];t.exports=function(t,e){e=e||{},"undefined"==typeof e.singleton&&(e.singleton=p()),"undefined"==typeof e.insertAt&&(e.insertAt="bottom");var n=i(t);return r(n,e),function(t){for(var o=[],a=0;at.length?n:t}),c.value=t.join(u)}else c.value=t.join(n.slice(s,s+c.count));s+=c.count,c.added||(l+=c.count)}}var h=e[a-1];return a>1&&(h.added||h.removed)&&t.equals("",h.value)&&(e[a-2].value+=h.value,e.pop()),e}function i(t){return{newPos:t.newPos,components:t.components.slice(0)}}e.__esModule=!0,e.default=n,n.prototype={diff:function(t,e){function n(t){return s?(setTimeout(function(){s(void 0,t)},0),!0):t}function o(){for(var o=-1*u;o<=u;o+=2){var a=void 0,s=p[o-1],h=p[o+1],d=(h?h.newPos:0)-o;s&&(p[o-1]=void 0);var g=s&&s.newPos+1=c&&d+1>=f)return n(r(l,a.components,e,t,l.useLongestToken));p[o]=a}else p[o]=void 0}u++}var a=arguments.length<=2||void 0===arguments[2]?{}:arguments[2],s=a.callback;"function"==typeof a&&(s=a,a={}),this.options=a;var l=this;t=this.castInput(t),e=this.castInput(e),t=this.removeEmpty(this.tokenize(t)),e=this.removeEmpty(this.tokenize(e));var c=e.length,f=t.length,u=1,h=c+f,p=[{newPos:-1,components:[]}],d=this.extractCommon(p[0],e,t,0);if(p[0].newPos+1>=c&&d+1>=f)return n([{value:this.join(e),count:e.length}]);if(s)!function t(){setTimeout(function(){return u>h?s():void(o()||t())},0)}();else for(;u<=h;){var g=o();if(g)return g}},pushComponent:function(t,e,n){var r=t[t.length-1];r&&r.added===e&&r.removed===n?t[t.length-1]={count:r.count+1,added:e,removed:n}:t.push({count:1,added:e,removed:n})},extractCommon:function(t,e,n,r){for(var i=e.length,o=n.length,a=t.newPos,s=a-r,l=0;a+11)for(var r=0,i=n.length;r=1&&(delete n[i],o.s=1,t--,function(t){setTimeout(function(){e("mina.finish."+t.id,t)})}(o)),o.update()}t&&r(v)},m=function(t,e,i,o,a,l,y){var b={id:s(),start:t,end:e,b:i,s:0,dur:o-i,spd:1,get:a,set:l,easing:y||m.linear,status:c,speed:f,duration:u,stop:h,pause:p,resume:d,update:g};n[b.id]=b;var _,x=0;for(_ in n)if(n.hasOwnProperty(_)&&(x++,2==x))break;return 1==x&&r(v),b};return m.time=l,m.getById=function(t){return n[t]||null},m.linear=function(t){return t},m.easeout=function(t){return Math.pow(t,1.7)},m.easein=function(t){return Math.pow(t,.48)},m.easeinout=function(t){if(1==t)return 1;if(0==t)return 0;var e=.48-t/1.04,n=Math.sqrt(.1734+e*e),r=n-e,i=Math.pow(Math.abs(r),1/3)*(r<0?-1:1),o=-n-e,a=Math.pow(Math.abs(o),1/3)*(o<0?-1:1),s=i+a+.5;return 3*(1-s)*s*s+s*s*s},m.backin=function(t){if(1==t)return 1;var e=1.70158;return t*t*((e+1)*t-e)},m.backout=function(t){if(0==t)return 0;t-=1;var e=1.70158;return t*t*((e+1)*t+e)+1},m.elastic=function(t){return t==!!t?t:Math.pow(2,-10*t)*Math.sin((t-.075)*(2*Math.PI)/.3)+1},m.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},t.mina=m,m}("undefined"==typeof e?function(){}:e),r=function(t){function n(t,e){if(t){if(t.nodeType)return w(t);if(i(t,"array")&&n.set)return n.set.apply(n,t);if(t instanceof y)return t;if(null==e)return t=C.doc.querySelector(String(t)),w(t)}return t=null==t?"100%":t,e=null==e?"100%":e,new x(t,e)}function r(t,e){if(e){if("#text"==t&&(t=C.doc.createTextNode(e.text||e["#text"]||"")),"#comment"==t&&(t=C.doc.createComment(e.text||e["#text"]||"")),"string"==typeof t&&(t=r(t)),"string"==typeof e)return 1==t.nodeType?"xlink:"==e.substring(0,6)?t.getAttributeNS(U,e.substring(6)):"xml:"==e.substring(0,4)?t.getAttributeNS(W,e.substring(4)):t.getAttribute(e):"text"==e?t.nodeValue:null;if(1==t.nodeType){for(var n in e)if(e[T](n)){var i=j(e[n]);i?"xlink:"==n.substring(0,6)?t.setAttributeNS(U,n.substring(6),i):"xml:"==n.substring(0,4)?t.setAttributeNS(W,n.substring(4),i):t.setAttribute(n,i):t.removeAttribute(n)}}else"text"in e&&(t.nodeValue=e.text)}else t=C.doc.createElementNS(W,t);return t}function i(t,e){return e=j.prototype.toLowerCase.call(e),"finite"==e?isFinite(t):!("array"!=e||!(t instanceof Array||Array.isArray&&Array.isArray(t)))||("null"==e&&null===t||e==typeof t&&null!==t||"object"==e&&t===Object(t)||F.call(t).slice(8,-1).toLowerCase()==e)}function o(t){if("function"==typeof t||Object(t)!==t)return t;var e=new t.constructor;for(var n in t)t[T](n)&&(e[n]=o(t[n]));return e}function a(t,e){for(var n=0,r=t.length;n=1e3&&delete s[l.shift()],l.push(o),s[o]=t.apply(e,i),n?n(s[o]):s[o])}return r}function l(t,e,n,r,i,o){if(null==i){var a=t-n,s=e-r;return a||s?(180+180*S.atan2(-s,-a)/P+360)%360:0}return l(t,e,i,o)-l(n,r,i,o)}function c(t){return t%360*P/180}function f(t){return 180*t/P%360}function u(t){var e=[];return t=t.replace(/(?:^|\s)(\w+)\(([^)]+)\)/g,function(t,n,r){return r=r.split(/\s*,\s*|\s+/),"rotate"==n&&1==r.length&&r.push(0,0),"scale"==n&&(r.length>2?r=r.slice(0,2):2==r.length&&r.push(0,0),1==r.length&&r.push(r[0],0,0)),"skewX"==n?e.push(["m",1,0,S.tan(c(r[0])),1,0,0]):"skewY"==n?e.push(["m",1,S.tan(c(r[0])),0,1,0,0]):e.push([n.charAt(0)].concat(r)),t}),e}function h(t,e){var r=tt(t),i=new n.Matrix;if(r)for(var o=0,a=r.length;o.5;){var p,d,g,v,m,y;(g=o-f)>=0&&(m=r(p=l.getPointAtLength(g)))t-n)return e-o+t}return e},n.getRGB=s(function(t){if(!t||(t=j(t)).indexOf("-")+1)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:Y};if("none"==t)return{r:-1,g:-1,b:-1,hex:"none",toString:Y};if(!(D[T](t.toLowerCase().substring(0,2))||"#"==t.charAt())&&(t=J(t)),!t)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:Y};var e,r,o,a,s,l,c=t.match(R);return c?(c[2]&&(o=A(c[2].substring(5),16),r=A(c[2].substring(3,5),16),e=A(c[2].substring(1,3),16)),c[3]&&(o=A((s=c[3].charAt(3))+s,16),r=A((s=c[3].charAt(2))+s,16),e=A((s=c[3].charAt(1))+s,16)),c[4]&&(l=c[4].split(B),e=$(l[0]),"%"==l[0].slice(-1)&&(e*=2.55),r=$(l[1]),"%"==l[1].slice(-1)&&(r*=2.55),o=$(l[2]),"%"==l[2].slice(-1)&&(o*=2.55),"rgba"==c[1].toLowerCase().slice(0,4)&&(a=$(l[3])),l[3]&&"%"==l[3].slice(-1)&&(a/=100)),c[5]?(l=c[5].split(B),e=$(l[0]),"%"==l[0].slice(-1)&&(e/=100),r=$(l[1]),"%"==l[1].slice(-1)&&(r/=100),o=$(l[2]),"%"==l[2].slice(-1)&&(o/=100),("deg"==l[0].slice(-3)||"°"==l[0].slice(-1))&&(e/=360),"hsba"==c[1].toLowerCase().slice(0,4)&&(a=$(l[3])),l[3]&&"%"==l[3].slice(-1)&&(a/=100),n.hsb2rgb(e,r,o,a)):c[6]?(l=c[6].split(B),e=$(l[0]),"%"==l[0].slice(-1)&&(e/=100),r=$(l[1]),"%"==l[1].slice(-1)&&(r/=100),o=$(l[2]),"%"==l[2].slice(-1)&&(o/=100),("deg"==l[0].slice(-3)||"°"==l[0].slice(-1))&&(e/=360),"hsla"==c[1].toLowerCase().slice(0,4)&&(a=$(l[3])),l[3]&&"%"==l[3].slice(-1)&&(a/=100),n.hsl2rgb(e,r,o,a)):(e=M(S.round(e),255),r=M(S.round(r),255),o=M(S.round(o),255),a=M(O(a,0),1),c={r:e,g:r,b:o,toString:Y},c.hex="#"+(16777216|o|r<<8|e<<16).toString(16).slice(1),c.opacity=i(a,"finite")?a:1,c)):{r:-1,g:-1,b:-1,hex:"none",error:1,toString:Y}},n),n.hsb=s(function(t,e,r){return n.hsb2rgb(t,e,r).hex}),n.hsl=s(function(t,e,r){return n.hsl2rgb(t,e,r).hex}),n.rgb=s(function(t,e,n,r){if(i(r,"finite")){var o=S.round;return"rgba("+[o(t),o(e),o(n),+r.toFixed(2)]+")"}return"#"+(16777216|n|e<<8|t<<16).toString(16).slice(1)});var J=function(t){var e=C.doc.getElementsByTagName("head")[0]||C.doc.getElementsByTagName("svg")[0],n="rgb(255, 0, 0)";return(J=s(function(t){if("red"==t.toLowerCase())return n;e.style.color=n,e.style.color=t;var r=C.doc.defaultView.getComputedStyle(e,N).getPropertyValue("color");return r==n?null:r}))(t)},G=function(){return"hsb("+[this.h,this.s,this.b]+")"},X=function(){return"hsl("+[this.h,this.s,this.l]+")"},Y=function(){return 1==this.opacity||null==this.opacity?this.hex:"rgba("+[this.r,this.g,this.b,this.opacity]+")"},K=function(t,e,r){if(null==e&&i(t,"object")&&"r"in t&&"g"in t&&"b"in t&&(r=t.b,e=t.g,t=t.r),null==e&&i(t,string)){var o=n.getRGB(t);t=o.r,e=o.g,r=o.b}return(t>1||e>1||r>1)&&(t/=255,e/=255,r/=255),[t,e,r]},Q=function(t,e,r,o){t=S.round(255*t),e=S.round(255*e),r=S.round(255*r);var a={r:t,g:e,b:r,opacity:i(o,"finite")?o:1,hex:n.rgb(t,e,r),toString:Y};return i(o,"finite")&&(a.opacity=o),a};n.color=function(t){var e;return i(t,"object")&&"h"in t&&"s"in t&&"b"in t?(e=n.hsb2rgb(t),t.r=e.r,t.g=e.g,t.b=e.b,t.opacity=1,t.hex=e.hex):i(t,"object")&&"h"in t&&"s"in t&&"l"in t?(e=n.hsl2rgb(t),t.r=e.r,t.g=e.g,t.b=e.b,t.opacity=1,t.hex=e.hex):(i(t,"string")&&(t=n.getRGB(t)),i(t,"object")&&"r"in t&&"g"in t&&"b"in t&&!("error"in t)?(e=n.rgb2hsl(t),t.h=e.h,t.s=e.s,t.l=e.l,e=n.rgb2hsb(t),t.v=e.b):(t={hex:"none"},t.r=t.g=t.b=t.h=t.s=t.v=t.l=-1,t.error=1)),t.toString=Y,t},n.hsb2rgb=function(t,e,n,r){i(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,a,s,l,c;return t=t%360/60,c=n*e,l=c*(1-E(t%2-1)),o=a=s=n-c,t=~~t,o+=[c,l,0,0,l,c][t],a+=[l,c,c,l,0,0][t],s+=[0,0,l,c,c,l][t],Q(o,a,s,r)},n.hsl2rgb=function(t,e,n,r){i(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,a,s,l,c;return t=t%360/60,c=2*e*(n<.5?n:1-n),l=c*(1-E(t%2-1)),o=a=s=n-c/2,t=~~t,o+=[c,l,0,0,l,c][t],a+=[l,c,c,l,0,0][t],s+=[0,0,l,c,c,l][t],Q(o,a,s,r)},n.rgb2hsb=function(t,e,n){n=K(t,e,n),t=n[0],e=n[1],n=n[2];var r,i,o,a;return o=O(t,e,n),a=o-M(t,e,n),r=0==a?null:o==t?(e-n)/a:o==e?(n-t)/a+2:(t-e)/a+4,r=(r+360)%6*60/360,i=0==a?0:a/o,{h:r,s:i,b:o,toString:G}},n.rgb2hsl=function(t,e,n){n=K(t,e,n),t=n[0],e=n[1],n=n[2];var r,i,o,a,s,l;return a=O(t,e,n),s=M(t,e,n),l=a-s,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,o=(a+s)/2,i=0==l?0:o<.5?l/(2*o):l/(2-2*o),{h:r,s:i,l:o,toString:X}},n.parsePathString=function(t){if(!t)return null;var e=n.path(t);if(e.arr)return n.path.clone(e.arr);var r={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},o=[];return i(t,"array")&&i(t[0],"array")&&(o=n.path.clone(t)),o.length||j(t).replace(z,function(t,e,n){var i=[],a=e.toLowerCase();if(n.replace(L,function(t,e){e&&i.push(+e)}),"m"==a&&i.length>2&&(o.push([e].concat(i.splice(0,2))),a="l",e="m"==e?"l":"L"),"o"==a&&1==i.length&&o.push([e,i[0]]),"r"==a)o.push([e].concat(i));else for(;i.length>=r[a]&&(o.push([e].concat(i.splice(0,r[a]))),r[a]););}),o.toString=n.path.toString,e.arr=n.path.clone(o),o};var tt=n.parseTransformString=function(t){if(!t)return null;var e=[];return i(t,"array")&&i(t[0],"array")&&(e=n.path.clone(t)),e.length||j(t).replace(I,function(t,n,r){var i=[];n.toLowerCase();r.replace(L,function(t,e){e&&i.push(+e)}),e.push([n].concat(i))}),e.toString=n.path.toString,e};n._.svgTransform2string=u,n._.rgTransform=/^[a-z][\s]*-?\.?\d/i,n._.transform2matrix=h,n._unit2px=v;C.doc.contains||C.doc.compareDocumentPosition?function(t,e){var n=9==t.nodeType?t.documentElement:t,r=e&&e.parentNode;return t==r||!(!r||1!=r.nodeType||!(n.contains?n.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)))}:function(t,e){if(e)for(;e;)if(e=e.parentNode,e==t)return!0;return!1};n._.getSomeDefs=p,n._.getSomeSVG=d,n.select=function(t){return t=j(t).replace(/([^\\]):/g,"$1\\:"),w(C.doc.querySelector(t))},n.selectAll=function(t){for(var e=C.doc.querySelectorAll(t),r=(n.set||Array)(),i=0;i1))return e("snap.util.getattr."+t,r).firstDefined();var f={};f[t]=n,t=f}for(var u in t)t[T](u)&&e("snap.util.attr."+u,r,t[u]);return r},n.parse=function(t){var e=C.doc.createDocumentFragment(),n=!0,r=C.doc.createElement("div");if(t=j(t),t.match(/^\s*<\s*svg(?:\s|>)/)||(t=""+t+"",n=!1),r.innerHTML=t,t=r.getElementsByTagName("svg")[0])if(n)e=t;else for(;t.firstChild;)e.appendChild(t.firstChild);return new b(e)},n.fragment=function(){for(var t=Array.prototype.slice.call(arguments,0),e=C.doc.createDocumentFragment(),r=0,i=t.length;r")}else t&&(e+="/>");return e}}var h=i.prototype,p=r.is,d=String,g=r._unit2px,v=r._.$,m=r._.make,y=r._.getSomeDefs,b="hasOwnProperty",_=r._.wrap;h.getBBox=function(t){if(!r.Matrix||!r.path)return this.node.getBBox();var e=this,n=new r.Matrix;if(e.removed)return r._.box();for(;"use"==e.type;)if(t||(n=n.add(e.transform().localMatrix.translate(e.attr("x")||0,e.attr("y")||0))),e.original)e=e.original;else{var i=e.attr("xlink:href");e=e.original=e.node.ownerDocument.getElementById(i.substring(i.indexOf("#")+1))}var o=e._,a=r.path.get[e.type]||r.path.get.deflt;try{return t?(o.bboxwt=a?r.path.getBBox(e.realPath=a(e)):r._.box(e.node.getBBox()),r._.box(o.bboxwt)):(e.realPath=a(e),e.matrix=e.transform().localMatrix,o.bbox=r.path.getBBox(r.path.map(e.realPath,n.add(e.matrix))),r._.box(o.bbox))}catch(t){return r._.box()}};var x=function(){return this.string};h.transform=function(t){var e=this._;if(null==t){for(var n,i=this,o=new r.Matrix(this.node.getCTM()),a=l(this),s=[a],c=new r.Matrix,f=a.toTransformString(),u=d(a)==d(this.matrix)?d(e.transform):f;"svg"!=i.type&&(i=i.parent());)s.push(l(i));for(n=s.length;n--;)c.add(s[n]);return{string:u,globalMatrix:o,totalMatrix:c,localMatrix:a,diffMatrix:o.clone().add(a.invert()),global:o.toTransformString(),total:c.toTransformString(),local:f,toString:x}}return t instanceof r.Matrix?(this.matrix=t,this._.transform=t.toTransformString()):l(this,t),this.node&&("linearGradient"==this.type||"radialGradient"==this.type?v(this.node,{gradientTransform:this.matrix}):"pattern"==this.type?v(this.node,{patternTransform:this.matrix}):v(this.node,{transform:this.matrix})),this},h.parent=function(){return _(this.node.parentNode)},h.append=h.add=function(t){if(t){if("set"==t.type){var e=this;return t.forEach(function(t){e.add(t)}),this}t=_(t),this.node.appendChild(t.node),t.paper=this.paper}return this},h.appendTo=function(t){return t&&(t=_(t),t.append(this)),this},h.prepend=function(t){if(t){if("set"==t.type){var e,n=this;return t.forEach(function(t){e?e.after(t):n.prepend(t),e=t}),this}t=_(t);var r=t.parent();this.node.insertBefore(t.node,this.node.firstChild),this.add&&this.add(),t.paper=this.paper,this.parent()&&this.parent().add(),r&&r.add()}return this},h.prependTo=function(t){return t=_(t),t.prepend(this),this},h.before=function(t){if("set"==t.type){var e=this;return t.forEach(function(t){var n=t.parent();e.node.parentNode.insertBefore(t.node,e.node),n&&n.add()}),this.parent().add(),this}t=_(t);var n=t.parent();return this.node.parentNode.insertBefore(t.node,this.node),this.parent()&&this.parent().add(),n&&n.add(),t.paper=this.paper,this},h.after=function(t){t=_(t);var e=t.parent();return this.node.nextSibling?this.node.parentNode.insertBefore(t.node,this.node.nextSibling):this.node.parentNode.appendChild(t.node),this.parent()&&this.parent().add(),e&&e.add(),t.paper=this.paper,this},h.insertBefore=function(t){t=_(t);var e=this.parent();return t.node.parentNode.insertBefore(this.node,t.node),this.paper=t.paper,e&&e.add(),t.parent()&&t.parent().add(),this},h.insertAfter=function(t){t=_(t);var e=this.parent();return t.node.parentNode.insertBefore(this.node,t.node.nextSibling),this.paper=t.paper,e&&e.add(),t.parent()&&t.parent().add(),this},h.remove=function(){var t=this.parent();return this.node.parentNode&&this.node.parentNode.removeChild(this.node),delete this.paper,this.removed=!0,t&&t.add(),this},h.select=function(t){return t=d(t).replace(/([^\\]):/g,"$1\\:"),_(this.node.querySelector(t))},h.selectAll=function(t){for(var e=this.node.querySelectorAll(t),n=(r.set||Array)(),i=0;i{contents}',{x:+e.x.toFixed(3),y:+e.y.toFixed(3),width:+e.width.toFixed(3),height:+e.height.toFixed(3),contents:this.outerSVG()});return"data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(n)))}},s.prototype.select=h.select,s.prototype.selectAll=h.selectAll}),r.plugin(function(t,e,n,r,i){function o(t,e,n,r,i,o){return null==e&&"[object SVGMatrix]"==a.call(t)?(this.a=t.a,this.b=t.b,this.c=t.c,this.d=t.d,this.e=t.e,void(this.f=t.f)):void(null!=t?(this.a=+t,this.b=+e,this.c=+n,this.d=+r,this.e=+i,this.f=+o):(this.a=1,this.b=0,this.c=0,this.d=1,this.e=0,this.f=0))}var a=Object.prototype.toString,s=String,l=Math,c="";!function(e){function n(t){return t[0]*t[0]+t[1]*t[1]}function r(t){var e=l.sqrt(n(t));t[0]&&(t[0]/=e),t[1]&&(t[1]/=e)}e.add=function(t,e,n,r,i,a){var s,l,c,f,u=[[],[],[]],h=[[this.a,this.c,this.e],[this.b,this.d,this.f],[0,0,1]],p=[[t,n,i],[e,r,a],[0,0,1]];for(t&&t instanceof o&&(p=[[t.a,t.c,t.e],[t.b,t.d,t.f],[0,0,1]]),s=0;s<3;s++)for(l=0;l<3;l++){for(f=0,c=0;c<3;c++)f+=h[s][c]*p[c][l];u[s][l]=f}return this.a=u[0][0],this.b=u[1][0],this.c=u[0][1],this.d=u[1][1],this.e=u[0][2],this.f=u[1][2],this},e.invert=function(){var t=this,e=t.a*t.d-t.b*t.c;return new o(t.d/e,-t.b/e,-t.c/e,t.a/e,(t.c*t.f-t.d*t.e)/e,(t.b*t.e-t.a*t.f)/e)},e.clone=function(){return new o(this.a,this.b,this.c,this.d,this.e,this.f)},e.translate=function(t,e){return this.add(1,0,0,1,t,e)},e.scale=function(t,e,n,r){return null==e&&(e=t),(n||r)&&this.add(1,0,0,1,n,r),this.add(t,0,0,e,0,0),(n||r)&&this.add(1,0,0,1,-n,-r),this},e.rotate=function(e,n,r){e=t.rad(e),n=n||0,r=r||0;var i=+l.cos(e).toFixed(9),o=+l.sin(e).toFixed(9);return this.add(i,o,-o,i,n,r),this.add(1,0,0,1,-n,-r)},e.x=function(t,e){return t*this.a+e*this.c+this.e},e.y=function(t,e){return t*this.b+e*this.d+this.f},e.get=function(t){return+this[s.fromCharCode(97+t)].toFixed(4)},e.toString=function(){return"matrix("+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)].join()+")"},e.offset=function(){return[this.e.toFixed(4),this.f.toFixed(4)]},e.determinant=function(){return this.a*this.d-this.b*this.c},e.split=function(){var e={};e.dx=this.e,e.dy=this.f;var i=[[this.a,this.c],[this.b,this.d]];e.scalex=l.sqrt(n(i[0])),r(i[0]),e.shear=i[0][0]*i[1][0]+i[0][1]*i[1][1],i[1]=[i[1][0]-i[0][0]*e.shear,i[1][1]-i[0][1]*e.shear],e.scaley=l.sqrt(n(i[1])),r(i[1]),e.shear/=e.scaley,this.determinant()<0&&(e.scalex=-e.scalex);var o=-i[0][1],a=i[1][1];return a<0?(e.rotate=t.deg(l.acos(a)),o<0&&(e.rotate=360-e.rotate)):e.rotate=t.deg(l.asin(o)),e.isSimple=!(+e.shear.toFixed(9)||e.scalex.toFixed(9)!=e.scaley.toFixed(9)&&e.rotate),e.isSuperSimple=!+e.shear.toFixed(9)&&e.scalex.toFixed(9)==e.scaley.toFixed(9)&&!e.rotate,e.noRotation=!+e.shear.toFixed(9)&&!e.rotate,e},e.toTransformString=function(t){var e=t||this.split();return+e.shear.toFixed(9)?"m"+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)]:(e.scalex=+e.scalex.toFixed(4),e.scaley=+e.scaley.toFixed(4),e.rotate=+e.rotate.toFixed(4),(e.dx||e.dy?"t"+[+e.dx.toFixed(4),+e.dy.toFixed(4)]:c)+(1!=e.scalex||1!=e.scaley?"s"+[e.scalex,e.scaley,0,0]:c)+(e.rotate?"r"+[+e.rotate.toFixed(4),0,0]:c))}}(o.prototype),t.Matrix=o,t.matrix=function(t,e,n,r,i,a){return new o(t,e,n,r,i,a)}}),r.plugin(function(t,n,r,i,o){function a(r){return function(i){if(e.stop(),i instanceof o&&1==i.node.childNodes.length&&("radialGradient"==i.node.firstChild.tagName||"linearGradient"==i.node.firstChild.tagName||"pattern"==i.node.firstChild.tagName)&&(i=i.node.firstChild,p(this).appendChild(i),i=u(i)),i instanceof n)if("radialGradient"==i.type||"linearGradient"==i.type||"pattern"==i.type){i.node.id||g(i.node,{id:i.id});var a=v(i.node.id)}else a=i.attr(r);else if(a=t.color(i),a.error){var s=t(p(this).ownerSVGElement).gradient(i);s?(s.node.id||g(s.node,{id:s.id}),a=v(s.node.id)):a=i}else a=m(a);var l={};l[r]=a,g(this.node,l),this.node.style[r]=b}}function s(t){e.stop(),t==+t&&(t+="px"),this.node.style.fontSize=t}function l(t){for(var e=[],n=t.childNodes,r=0,i=n.length;r1&&(t=Array.prototype.slice.call(arguments,0));var e={};return l(t,"object")&&!l(t,"array")?e=t:null!=t&&(e={points:t}),this.el("polyline",e)},s.polygon=function(t){arguments.length>1&&(t=Array.prototype.slice.call(arguments,0));var e={};return l(t,"object")&&!l(t,"array")?e=t:null!=t&&(e={points:t}),this.el("polygon",e)},function(){function r(){return this.selectAll("stop")}function i(t,e){var r=f("stop"),i={offset:+e+"%"};return t=n.color(t),i["stop-color"]=t.hex,t.opacity<1&&(i["stop-opacity"]=t.opacity),f(r,i),this.node.appendChild(r),this}function o(){if("linearGradient"==this.type){var t=f(this.node,"x1")||0,e=f(this.node,"x2")||1,r=f(this.node,"y1")||0,i=f(this.node,"y2")||0;return n._.box(t,r,math.abs(e-t),math.abs(i-r))}var o=this.node.cx||.5,a=this.node.cy||.5,s=this.node.r||0;return n._.box(o-s,a-s,2*s,2*s)}function a(t,n){function r(t,e){for(var n=(e-u)/(t-h),r=h;ro){if(r&&!g.start){if(p=l(s,c,u[1],u[2],u[3],u[4],u[5],u[6],o-v),d+=["C"+i(p.start.x),i(p.start.y),i(p.m.x),i(p.m.y),i(p.x),i(p.y)],a)return d;g.start=d,d=["M"+i(p.x),i(p.y)+"C"+i(p.n.x),i(p.n.y),i(p.end.x),i(p.end.y),i(u[5]),i(u[6])].join(),v+=h,s=+u[5],c=+u[6];continue}if(!n&&!r)return p=l(s,c,u[1],u[2],u[3],u[4],u[5],u[6],o-v)}v+=h,s=+u[5],c=+u[6]}d+=u.shift()+u}return g.end=d,p=n?v:r?g:f(s,c,u[0],u[1],u[2],u[3],u[4],u[5],1)},null,t._.clone)}function f(t,e,n,r,i,o,a,s,l){var c=1-l,f=U(c,3),u=U(c,2),h=l*l,p=h*l,d=f*t+3*u*l*n+3*c*l*l*i+p*a,g=f*e+3*u*l*r+3*c*l*l*o+p*s,v=t+2*l*(n-t)+h*(i-2*n+t),m=e+2*l*(r-e)+h*(o-2*r+e),y=n+2*l*(i-n)+h*(a-2*i+n),b=r+2*l*(o-r)+h*(s-2*o+r),_=c*t+l*n,x=c*e+l*r,w=c*i+l*a,k=c*o+l*s,C=90-180*L.atan2(v-y,m-b)/q;return{x:d,y:g,m:{x:v,y:m},n:{x:y,y:b},start:{x:_,y:x},end:{x:w,y:k},alpha:C}}function u(e,n,r,i,a,s,l,c){t.is(e,"array")||(e=[e,n,r,i,a,s,l,c]);var f=M.apply(null,e);return o(f.min.x,f.min.y,f.max.x-f.min.x,f.max.y-f.min.y)}function h(t,e,n){return e>=t.x&&e<=t.x+t.width&&n>=t.y&&n<=t.y+t.height}function p(t,e){return t=o(t),e=o(e),h(e,t.x,t.y)||h(e,t.x2,t.y)||h(e,t.x,t.y2)||h(e,t.x2,t.y2)||h(t,e.x,e.y)||h(t,e.x2,e.y)||h(t,e.x,e.y2)||h(t,e.x2,e.y2)||(t.xe.x||e.xt.x)&&(t.ye.y||e.yt.y)}function d(t,e,n,r,i){var o=-3*e+9*n-9*r+3*i,a=t*o+6*e-12*n+6*r;return t*a-3*e+3*n}function g(t,e,n,r,i,o,a,s,l){null==l&&(l=1),l=l>1?1:l<0?0:l;for(var c=l/2,f=12,u=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],h=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],p=0,g=0;gp;)u/=2,h+=(cH(i,a)||H(e,r)H(o,s))){var l=(t*r-e*n)*(i-a)-(t-n)*(i*s-o*a),c=(t*r-e*n)*(o-s)-(e-r)*(i*s-o*a),f=(t-n)*(o-s)-(e-r)*(i-a);if(f){var u=l/f,h=c/f,p=+u.toFixed(2),d=+h.toFixed(2);if(!(p<+V(t,n).toFixed(2)||p>+H(t,n).toFixed(2)||p<+V(i,a).toFixed(2)||p>+H(i,a).toFixed(2)||d<+V(e,r).toFixed(2)||d>+H(e,r).toFixed(2)||d<+V(o,s).toFixed(2)||d>+H(o,s).toFixed(2)))return{x:u,y:h}}}}function y(t,e,n){var r=u(t),i=u(e);if(!p(r,i))return n?0:[];for(var o=g.apply(0,t),a=g.apply(0,e),s=~~(o/8),l=~~(a/8),c=[],h=[],d={},v=n?0:[],y=0;y=0&&A<=1&&S>=0&&S<=1&&(n?v++:v.push({x:$.x,y:$.y,t1:A,t2:S}))}}return v}function b(t,e){return x(t,e)}function _(t,e){return x(t,e,1)}function x(t,e,n){t=E(t),e=E(e);for(var r,i,o,a,s,l,c,f,u,h,p=n?0:[],d=0,g=t.length;d180),0,l,f]];else u=[["M",t,e],["m",0,-r],["a",n,r,0,1,1,0,2*r],["a",n,r,0,1,1,0,-2*r],["z"]];return u.toString=a,u}function j(e){var n=i(e),r=String.prototype.toLowerCase;if(n.rel)return s(n.rel);t.is(e,"array")&&t.is(e&&e[0],"array")||(e=t.parsePathString(e));var o=[],l=0,c=0,f=0,u=0,h=0;"M"==e[0][0]&&(l=e[0][1],c=e[0][2],f=l,u=c,h++,o.push(["M",l,c]));for(var p=h,d=e.length;p1&&(y=L.sqrt(y),r*=y,i*=y);var b=r*r,_=i*i,x=(a==s?-1:1)*L.sqrt(W((b*_-b*m*m-_*v*v)/(b*m*m+_*v*v))),w=x*r*m/i+(e+l)/2,k=x*-i*v/r+(n+c)/2,C=L.asin(((n-k)/i).toFixed(9)),T=L.asin(((c-k)/i).toFixed(9));C=eT&&(C-=2*q),!s&&T>C&&(T-=2*q)}var j=T-C;if(W(j)>h){var $=T,A=l,S=c;T=C+h*(s&&T>C?1:-1),l=w+r*L.cos(T),c=k+i*L.sin(T),d=O(l,c,r,i,o,0,s,A,S,[T,$,w,k])}j=T-C;var M=L.cos(C),E=L.sin(C),P=L.cos(T),N=L.sin(T),F=L.tan(j/4),R=4/3*r*F,B=4/3*i*F,D=[e,n],z=[e+R*E,n-B*M],I=[l+R*N,c-B*P],V=[l,c];if(z[0]=2*D[0]-z[0],z[1]=2*D[1]-z[1],f)return[z,I,V].concat(d);d=[z,I,V].concat(d).join().split(",");for(var H=[],U=0,Z=d.length;U7){t[e].shift();for(var n=t[e];n.length;)h[e]="A",o&&(p[e]="A"),t.splice(e++,0,["C"].concat(n.splice(0,6)));t.splice(e,1),m=H(r.length,o&&o.length||0)}},u=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],m=H(r.length,o&&o.length||0))},h=[],p=[],d="",g="",v=0,m=H(r.length,o&&o.length||0);vr;r+=2){var o=[{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?i-4==r?o[3]={x:+t[0],y:+t[1]}:i-2==r&&(o[2]={x:+t[0],y:+t[1]},o[3]={x:+t[2],y:+t[3]}):o[0]={x:+t[i-2],y:+t[i-1]}:i-4==r?o[3]=o[2]:r||(o[0]={x:+t[r],y:+t[r+1]}),n.push(["C",(-o[0].x+6*o[1].x+o[2].x)/6,(-o[0].y+6*o[1].y+o[2].y)/6,(o[1].x+6*o[2].x-o[3].x)/6,(o[1].y+6*o[2].y-o[3].y)/6,o[2].x,o[2].y])}return n}var F=e.prototype,R=t.is,B=t._.clone,D="hasOwnProperty",z=/,?([a-z]),?/gi,I=parseFloat,L=Math,q=L.PI,V=L.min,H=L.max,U=L.pow,W=L.abs,Z=c(1),J=c(),G=c(0,1),X=t._unit2px,Y={path:function(t){return t.attr("path")},circle:function(t){var e=X(t);return T(e.cx,e.cy,e.r)},ellipse:function(t){var e=X(t);return T(e.cx||0,e.cy||0,e.rx,e.ry)},rect:function(t){var e=X(t);return C(e.x||0,e.y||0,e.width,e.height,e.rx,e.ry)},image:function(t){var e=X(t);return C(e.x||0,e.y||0,e.width,e.height)},line:function(t){return"M"+[t.attr("x1")||0,t.attr("y1")||0,t.attr("x2"),t.attr("y2")]},polyline:function(t){return"M"+t.attr("points")},polygon:function(t){return"M"+t.attr("points")+"z"},deflt:function(t){var e=t.node.getBBox();return C(e.x,e.y,e.width,e.height)}};t.path=i,t.path.getTotalLength=Z,t.path.getPointAtLength=J,t.path.getSubpath=function(t,e,n){if(this.getTotalLength(t)-n<1e-6)return G(t,e).end;var r=G(t,n,1);return e?G(r,e).end:r},F.getTotalLength=function(){if(this.node.getTotalLength)return this.node.getTotalLength()},F.getPointAtLength=function(t){return J(this.attr("d"),t)},F.getSubpath=function(e,n){return t.path.getSubpath(this.attr("d"),e,n)},t._.box=o,t.path.findDotsAtSegment=f,t.path.bezierBBox=u,t.path.isPointInsideBBox=h,t.closest=function(e,n,r,i){for(var a=100,s=o(e-a/2,n-a/2,a,a),l=[],c=r[0].hasOwnProperty("x")?function(t){return{x:r[t].x,y:r[t].y}}:function(t){return{x:r[t],y:i[t]}},f=0;a<=1e6&&!f;){for(var u=0,p=r.length;um&&(v=m,l[u].len=m,g=l[u])}return g}},t.path.isBBoxIntersect=p,t.path.intersection=b,t.path.intersectionNumber=_,t.path.isPointInside=w,t.path.getBBox=k,t.path.get=Y,t.path.toRelative=j,t.path.toAbsolute=$,t.path.toCubic=E,t.path.map=P,t.path.toString=a,t.path.clone=s}),r.plugin(function(t,r,i,o){var a=Math.max,s=Math.min,l=function(t){if(this.items=[],this.bindings={},this.length=0,this.type="set",t)for(var e=0,n=t.length;e',{def:r})},t.filter.blur.toString=function(){return this()},t.filter.shadow=function(e,n,r,i,o){return"string"==typeof r&&(i=r,o=i,r=4),"string"!=typeof i&&(o=i,i="#000"),i=i||"#000",null==r&&(r=4),null==o&&(o=1),null==e&&(e=0,n=2),null==n&&(n=e),i=t.color(i),t.format('',{color:i,dx:e,dy:n,blur:r,opacity:o})},t.filter.shadow.toString=function(){return this()},t.filter.grayscale=function(e){return null==e&&(e=1),t.format('',{a:.2126+.7874*(1-e),b:.7152-.7152*(1-e),c:.0722-.0722*(1-e),d:.2126-.2126*(1-e),e:.7152+.2848*(1-e),f:.0722-.0722*(1-e),g:.2126-.2126*(1-e),h:.0722+.9278*(1-e)})},t.filter.grayscale.toString=function(){return this()},t.filter.sepia=function(e){return null==e&&(e=1),t.format('',{a:.393+.607*(1-e),b:.769-.769*(1-e),c:.189-.189*(1-e),d:.349-.349*(1-e),e:.686+.314*(1-e),f:.168-.168*(1-e),g:.272-.272*(1-e),h:.534-.534*(1-e),i:.131+.869*(1-e)})},t.filter.sepia.toString=function(){return this()},t.filter.saturate=function(e){return null==e&&(e=1),t.format('',{amount:1-e})},t.filter.saturate.toString=function(){return this()},t.filter.hueRotate=function(e){return e=e||0,t.format('',{angle:e})},t.filter.hueRotate.toString=function(){return this()},t.filter.invert=function(e){return null==e&&(e=1),t.format('',{amount:e,amount2:1-e})},t.filter.invert.toString=function(){return this()},t.filter.brightness=function(e){return null==e&&(e=1),t.format('',{amount:e})},t.filter.brightness.toString=function(){return this()},t.filter.contrast=function(e){return null==e&&(e=1),t.format('',{amount:e,amount2:.5-e/2})},t.filter.contrast.toString=function(){return this()}}),r.plugin(function(t,e,n,r,i){var o=t._.box,a=t.is,s=/^[^a-z]*([tbmlrc])/i,l=function(){return"T"+this.dx+","+this.dy};e.prototype.getAlign=function(t,e){null==e&&a(t,"string")&&(e=t,t=null),t=t||this.paper;var n=t.getBBox?t.getBBox():o(t),r=this.getBBox(),i={};switch(e=e&&e.match(s),e=e?e[1].toLowerCase():"c"){case"t":i.dx=0,i.dy=n.y-r.y;break;case"b":i.dx=0,i.dy=n.y2-r.y2;break;case"m":i.dx=0,i.dy=n.cy-r.cy;break;case"l":i.dx=n.x-r.x,i.dy=0;break;case"r":i.dx=n.x2-r.x2,i.dy=0;break;default:i.dx=n.cx-r.cx,i.dy=0}return i.toString=l,i},e.prototype.align=function(t,e){return this.transform("..."+this.getAlign(t,e))}}),r})}).call(window)},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.generateId=void 0;var i=n(170),o=r(i),a=(0,o.default)({}),s=function(){var t=0,e="item_";return function(n){return n="string"==typeof n?n:e,t+=1,n+t}}();e.generateId=s,e.eventEmitter=a},function(t,e,n){var r=n(21).Pipe,i=function(){};i.prototype.setResult=function(t){return this.result=t,this.hasResult=!0,this},i.prototype.exit=function(){return this.exiting=!0,this},i.prototype.switchTo=function(t,e){return"string"==typeof t||t instanceof r?this.nextPipe=t:(this.next=t,e&&(this.nextPipe=e)),this},i.prototype.push=function(t,e){return t.parent=this,"undefined"!=typeof e&&(t.childName=e),t.root=this.root||this,t.options=t.options||this.options,this.children?(this.children[this.children.length-1].next=t,this.children.push(t)):(this.children=[t],this.nextAfterChildren=this.next||null,this.next=t),t.next=this,this},e.Context=i},function(t,e,n){var r=n(8).Context,i=n(18),o=function(t,e){this.left=t,this.right=e,this.pipe="diff"};o.prototype=new r,o.prototype.setResult=function(t){if(this.options.cloneDiffValues){var e="function"==typeof this.options.cloneDiffValues?this.options.cloneDiffValues:function(t){return JSON.parse(JSON.stringify(t),i)};"object"==typeof t[0]&&(t[0]=e(t[0])),"object"==typeof t[1]&&(t[1]=e(t[1]))}return r.prototype.setResult.apply(this,arguments)},e.DiffContext=o},function(t,e,n){var r=n(8).Context,i=function(t,e){this.left=t,this.delta=e,this.pipe="patch"};i.prototype=new r,e.PatchContext=i},function(t,e,n){var r=n(8).Context,i=function(t){this.delta=t,this.pipe="reverse"};i.prototype=new r,e.ReverseContext=i},function(t,e){e.isBrowser="undefined"!=typeof window},function(t,e,n){var r=n(4),i=r.BaseFormatter,o=function(){this.includeMoveDestinations=!1};o.prototype=new i,o.prototype.prepareContext=function(t){i.prototype.prepareContext.call(this,t),t.indent=function(t){this.indentLevel=(this.indentLevel||0)+("undefined"==typeof t?1:t),this.indentPad=new Array(this.indentLevel+1).join("  ")},t.row=function(e,n){t.out('
'),t.out(t.indentPad),t.out('
'),t.out(e),t.out('
'),t.out(n),t.out("
")}},o.prototype.typeFormattterErrorFormatter=function(t,e){t.row("",'
'+e+"
")},o.prototype.formatTextDiffString=function(t,e){var n=this.parseTextDiff(e);t.out('
    ');for(var r=0,i=n.length;r
    '+o.location.line+''+o.location.chr+'
    ');for(var a=o.pieces,s=0,l=a.length;s'+c.text+"")}t.out("
    ")}t.out("
")},o.prototype.rootBegin=function(t,e,n){t.out(''),"node"===e&&(t.row("{"),t.indent()),"array"===n&&t.row('"_t": "a",',"Array delta (member names indicate array indices)")},o.prototype.rootEnd=function(t,e){"node"===e&&(t.indent(-1),t.row("}")),t.out("
")},o.prototype.nodeBegin=function(t,e,n,r,i){t.row("""+e+"": {"),"node"===r&&t.indent(),"array"===i&&t.row('"_t": "a",',"Array delta (member names indicate array indices)")},o.prototype.nodeEnd=function(t,e,n,r,i,o){"node"===r&&t.indent(-1),t.row("}"+(o?"":","))},o.prototype.format_unchanged=function(){},o.prototype.format_movedestination=function(){},o.prototype.format_node=function(t,e,n){this.formatDeltaChildren(t,e,n)};var a=function(t){return'
"'+t+""
"},s={added:function(t,e,n,r){var i="
([newValue])
";return"undefined"==typeof r?"new value"+i:"number"==typeof r?"insert at index "+r+i:"add property "+a(r)+i},modified:function(t,e,n,r){var i="
([previousValue, newValue])
";return"undefined"==typeof r?"modify value"+i:"number"==typeof r?"modify at index "+r+i:"modify property "+a(r)+i},deleted:function(t,e,n,r){var i="
([previousValue, 0, 0])
";return"undefined"==typeof r?"delete value"+i:"number"==typeof r?"remove index "+r+i:"delete property "+a(r)+i},moved:function(t,e,n,r){return'move from index '+r+' to index '+t[1]+""},textdiff:function(t,e,n,r){var i="undefined"==typeof r?"":"number"==typeof r?" at index "+r:" at property "+a(r);return"text diff"+i+', format is a variation of Unidiff'}},l=function(t,e){var n=this.getDeltaType(e),r=s[n],i=r&&r.apply(r,Array.prototype.slice.call(arguments,1)),o=JSON.stringify(e,null,2);"textdiff"===n&&(o=o.split("\\n").join('\\n"+\n "')),t.indent(),t.row(o,i),t.indent(-1)};o.prototype.format_added=l,o.prototype.format_modified=l,o.prototype.format_deleted=l,o.prototype.format_moved=l,o.prototype.format_textdiff=l,e.AnnotatedFormatter=o;var c;e.format=function(t,e){return c||(c=new o),c.format(t,e)}},function(t,e,n){function r(t){for(var e=t,n=[[/&/g,"&"],[//g,">"],[/'/g,"'"],[/"/g,"""]],r=0;r'+e+"")},a.prototype.formatValue=function(t,e){t.out("
"+r(JSON.stringify(e,null,2))+"
")},a.prototype.formatTextDiffString=function(t,e){var n=this.parseTextDiff(e);t.out('
    ');for(var i=0,o=n.length;i
    '+a.location.line+''+a.location.chr+'
    ');for(var s=a.pieces,l=0,c=s.length;l'+r(unescape(f.text))+"")}t.out("
    ")}t.out("
")};var s=function(t){t=t||document;var e=function(t){return t.textContent||t.innerText},n=function(t,e,n){for(var r=t.querySelectorAll(e),i=0,o=r.length;i0?0:c)+"px";var f=c>0?"M30,0 Q-10,"+Math.round(c/2)+" 26,"+(c-4):"M30,"+-c+" Q-10,"+Math.round(-c/2)+" 26,4";o.setAttribute("d",f),i.style.display=""}catch(t){return}})};a.prototype.rootBegin=function(t,e,n){var r="jsondiffpatch-"+e+(n?" jsondiffpatch-child-node-type-"+n:"");t.out('
')},a.prototype.rootEnd=function(t){t.out("
"+(t.hasArrows?'":""))},a.prototype.nodeBegin=function(t,e,n,r,i){var o="jsondiffpatch-"+r+(i?" jsondiffpatch-child-node-type-"+i:"");t.out('
  • '+n+"
    ")},a.prototype.nodeEnd=function(t){t.out("
  • ")},a.prototype.format_unchanged=function(t,e,n){"undefined"!=typeof n&&(t.out('
    '),this.formatValue(t,n),t.out("
    "))},a.prototype.format_movedestination=function(t,e,n){"undefined"!=typeof n&&(t.out('
    '),this.formatValue(t,n),t.out("
    "))},a.prototype.format_node=function(t,e,n){var r="a"===e._t?"array":"object";t.out('
      '),this.formatDeltaChildren(t,e,n),t.out("
    ")},a.prototype.format_added=function(t,e){t.out('
    '),this.formatValue(t,e[0]),t.out("
    ")},a.prototype.format_modified=function(t,e){t.out('
    '),this.formatValue(t,e[0]),t.out('
    '),this.formatValue(t,e[1]),t.out("
    ")},a.prototype.format_deleted=function(t,e){t.out('
    '),this.formatValue(t,e[0]),t.out("
    ")},a.prototype.format_moved=function(t,e){t.out('
    '),this.formatValue(t,e[0]),t.out('
    '+e[1]+"
    "),t.out('
    \t \t \t \t \t \t \t \t \t
    '),t.hasArrows=!0},a.prototype.format_textdiff=function(t,e){t.out('
    '),this.formatTextDiffString(t,e[0]),t.out("
    ")};var l=function(t,e,n){var r=e||document.body,i="jsondiffpatch-unchanged-",o={showing:i+"showing",hiding:i+"hiding",visible:i+"visible",hidden:i+"hidden"},a=r.classList;if(a){if(!n)return a.remove(o.showing),a.remove(o.hiding),a.remove(o.visible),a.remove(o.hidden),void(t===!1&&a.add(o.hidden));t===!1?(a.remove(o.showing),a.add(o.visible),setTimeout(function(){a.add(o.hiding)},10)):(a.remove(o.hiding),a.add(o.showing),a.remove(o.hidden));var l=setInterval(function(){s(r)},100);setTimeout(function(){a.remove(o.showing),a.remove(o.hiding),t===!1?(a.add(o.hidden),a.remove(o.visible)):(a.add(o.visible),a.remove(o.hidden)),setTimeout(function(){a.remove(o.visible),clearInterval(l)},n+400)},n)}},c=function(t,e){return l(!1,t,e)};e.HtmlFormatter=a,e.showUnchanged=l,e.hideUnchanged=c;var f;e.format=function(t,e){return f||(f=new a),f.format(t,e)}},function(t,e,n){var r=n(12);if(e.base=n(4),e.html=n(14),e.annotated=n(13),e.jsonpatch=n(16),!r.isBrowser){var i="./console";e.console=n(177)(i)}},function(t,e,n){!function(){function t(){this.includeMoveDestinations=!1}function r(t){return t[t.length-1]}function i(t,e){return t.sort(e),t}function o(t){return i(t,function(t,e){var n=t.path.split("/"),i=e.path.split("/");return n.length!==i.length?n.length-i.length:h(r(n),r(i))})}function a(t,e){var n=[],r=[];return t.forEach(function(t){var i=e(t)?n:r;i.push(t)}),[n,r]}function s(t){var e=a(t,function(t){return"remove"===t.op}),n=e[0],r=e[1],i=o(n);return i.concat(r)}var l=n(4),c=l.BaseFormatter,f={added:"add",deleted:"remove",modified:"replace",moved:"moved",movedestination:"movedestination",unchanged:"unchanged",error:"error",textDiffLine:"textDiffLine"};t.prototype=new c,t.prototype.prepareContext=function(t){c.prototype.prepareContext.call(this,t),t.result=[],t.path=[],t.pushCurrentOp=function(t,e){var n={op:t,path:this.currentPath()};"undefined"!=typeof e&&(n.value=e),this.result.push(n)},t.currentPath=function(){return"/"+this.path.join("/"); -}},t.prototype.typeFormattterErrorFormatter=function(t,e){t.out("[ERROR]"+e)},t.prototype.rootBegin=function(){},t.prototype.rootEnd=function(){},t.prototype.nodeBegin=function(t,e,n){t.path.push(n)},t.prototype.nodeEnd=function(t){t.path.pop()},t.prototype.format_unchanged=function(t,e,n){"undefined"!=typeof n&&t.pushCurrentOp(f.unchanged,n)},t.prototype.format_movedestination=function(t,e,n){"undefined"!=typeof n&&t.pushCurrentOp(f.movedestination,n)},t.prototype.format_node=function(t,e,n){this.formatDeltaChildren(t,e,n)},t.prototype.format_added=function(t,e){t.pushCurrentOp(f.added,e[0])},t.prototype.format_modified=function(t,e){t.pushCurrentOp(f.modified,e[1])},t.prototype.format_deleted=function(t){t.pushCurrentOp(f.deleted)},t.prototype.format_moved=function(t,e){t.pushCurrentOp(f.moved,e[1])},t.prototype.format_textdiff=function(){throw"not implimented"},t.prototype.format=function(t,e){var n={};return this.prepareContext(n),this.recurse(n,t,e),n.result},e.JSONFormatter=t;var u,h=function(t,e){var n=parseInt(t,10),r=parseInt(e,10);return isNaN(n)||isNaN(r)?0:r-n},p=function(e,n){return u||(u=new t),s(u.format(e,n))};e.log=function(t,e){console.log(p(t,e))},e.format=p}()},function(t,e,n){t.exports=!n(23)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){t.exports=function(t,e){var n;return"string"==typeof e&&(n=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(?:\.(\d*))?(Z|([+\-])(\d{2}):(\d{2}))$/.exec(e))?new Date(Date.UTC(+n[1],+n[2]-1,+n[3],+n[4],+n[5],+n[6],+(n[7]||0))):e}},function(t,e,n){var r=n(101),i=n(4),o=i.BaseFormatter,a={added:r.green,deleted:r.red,movedestination:r.gray,moved:r.yellow,unchanged:r.gray,error:r.white.bgRed,textDiffLine:r.gray},s=function(){this.includeMoveDestinations=!1};s.prototype=new o,s.prototype.prepareContext=function(t){o.prototype.prepareContext.call(this,t),t.indent=function(t){this.indentLevel=(this.indentLevel||0)+("undefined"==typeof t?1:t),this.indentPad=new Array(this.indentLevel+1).join(" "),this.outLine()},t.outLine=function(){this.buffer.push("\n"+(this.indentPad||""))},t.out=function(){for(var t=0,e=arguments.length;t "),t.pushColor(a.added),this.formatValue(t,e[1]),t.popColor()},s.prototype.format_deleted=function(t,e){this.formatValue(t,e[0])},s.prototype.format_moved=function(t,e){t.out("==> "+e[1])},s.prototype.format_textdiff=function(t,e){this.formatTextDiffString(t,e[0])},e.ConsoleFormatter=s;var l,c=function(t,e){return l||(l=new s),l.format(t,e)};e.log=function(t,e){console.log(c(t,e))},e.format=c},function(t,e,n){var r=n(12),i=n(28).DiffPatcher;e.DiffPatcher=i,e.create=function(t){return new i(t)},e.dateReviver=n(18);var o;if(e.diff=function(){return o||(o=new i),o.diff.apply(o,arguments)},e.patch=function(){return o||(o=new i),o.patch.apply(o,arguments)},e.unpatch=function(){return o||(o=new i),o.unpatch.apply(o,arguments)},e.reverse=function(){return o||(o=new i),o.reverse.apply(o,arguments)},r.isBrowser)e.homepage="{{package-homepage}}",e.version="{{package-version}}";else{var a="../package.json",s=n(50)(a);e.homepage=s.homepage,e.version=s.version;var l="./formatters",c=n(50)(l);e.formatters=c,e.console=c.console}},function(t,e){var n=function(t){this.name=t,this.filters=[]};n.prototype.process=function(t){if(!this.processor)throw new Error("add this pipe to a processor before using it");for(var e=this.debug,n=this.filters.length,r=t,i=0;ie.length?t:e,c=t.length>e.length?e:t,f=l.indexOf(c);if(f!=-1)return s=[[i,l.substring(0,f)],[o,c],[i,l.substring(f+c.length)]],t.length>e.length&&(s[0][0]=s[2][0]=r),s;if(1==c.length)return[[r,t],[i,e]];l=c=null;var u=this.diff_halfMatch_(t,e);if(u){var h=u[0],p=u[1],d=u[2],g=u[3],v=u[4],m=this.diff_main(h,d,n,a),y=this.diff_main(p,g,n,a);return m.concat([[o,v]],y)}return n&&t.length>100&&e.length>100?this.diff_lineMode_(t,e,a):this.diff_bisect_(t,e,a)},n.prototype.diff_lineMode_=function(t,e,n){var a=this.diff_linesToChars_(t,e);t=a[0],e=a[1];var s=a[2],l=this.diff_bisect_(t,e,n);this.diff_charsToLines_(l,s),this.diff_cleanupSemantic(l),l.push([o,""]);for(var c=0,f=0,u=0,h="",p="";c=1&&u>=1){var a=this.diff_main(h,p,!1,n);l.splice(c-f-u,f+u),c=c-f-u;for(var d=a.length-1;d>=0;d--)l.splice(c,0,a[d]);c+=a.length}u=0,f=0,h="",p=""}c++}return l.pop(),l},n.prototype.diff_bisect_=function(t,e,n){for(var o=t.length,a=e.length,s=Math.ceil((o+a)/2),l=s,c=2*s,f=new Array(c),u=new Array(c),h=0;hn);b++){for(var _=-b+g;_<=b-v;_+=2){var x,w=l+_;x=_==-b||_!=b&&f[w-1]o)v+=2;else if(k>a)g+=2;else if(d){var C=l+p-_;if(C>=0&&C=T)return this.diff_bisectSplit_(t,e,x,k,n)}}}for(var j=-b+m;j<=b-y;j+=2){var T,C=l+j;T=j==-b||j!=b&&u[C-1]o)y+=2;else if($>a)m+=2;else if(!d){var w=l+p-j;if(w>=0&&w=T)return this.diff_bisectSplit_(t,e,x,k,n)}}}}return[[r,t],[i,e]]},n.prototype.diff_bisectSplit_=function(t,e,n,r,i){var o=t.substring(0,n),a=e.substring(0,r),s=t.substring(n),l=e.substring(r),c=this.diff_main(o,a,!1,i),f=this.diff_main(s,l,!1,i);return c.concat(f)},n.prototype.diff_linesToChars_=function(t,e){function n(t){for(var e="",n=0,o=-1,a=r.length;or?t=t.substring(n-r):n=t.length?[r,i,o,s,f]:null}if(this.Diff_Timeout<=0)return null;var r=t.length>e.length?t:e,i=t.length>e.length?e:t;if(r.length<4||2*i.lengthl[4].length?s:l:s;var c,f,u,h;t.length>e.length?(c=o[0],f=o[1],u=o[2],h=o[3]):(u=o[0],h=o[1],c=o[2],f=o[3]);var p=o[4];return[c,f,u,h,p]},n.prototype.diff_cleanupSemantic=function(t){for(var e=!1,n=[],a=0,s=null,l=0,c=0,f=0,u=0,h=0;l0?n[a-1]:-1,c=0,f=0,u=0,h=0,s=null,e=!0)),l++;for(e&&this.diff_cleanupMerge(t),this.diff_cleanupSemanticLossless(t),l=1;l=p.length/2||g>=d.length/2)&&(t.splice(l,0,[o,d.substring(0,g)]),t[l-1][1]=p.substring(0,p.length-g),t[l+1][1]=d.substring(g),l++),l++}l++}},n.prototype.diff_cleanupSemanticLossless=function(t){function e(t,e){if(!t||!e)return 5;var o=0;return(t.charAt(t.length-1).match(n)||e.charAt(0).match(n))&&(o++,(t.charAt(t.length-1).match(r)||e.charAt(0).match(r))&&(o++,(t.charAt(t.length-1).match(i)||e.charAt(0).match(i))&&(o++,(t.match(a)||e.match(s))&&o++))),o}for(var n=/[^a-zA-Z0-9]/,r=/\s/,i=/[\r\n]/,a=/\n\r?\n$/,s=/^\r?\n\r?\n/,l=1;l=m&&(m=y,d=c,g=f,v=u)}t[l-1][1]!=d&&(d?t[l-1][1]=d:(t.splice(l-1,1),l--),t[l][1]=g,v?t[l+1][1]=v:(t.splice(l+1,1),l--))}l++}},n.prototype.diff_cleanupEfficiency=function(t){for(var e=!1,n=[],a=0,s="",l=0,c=!1,f=!1,u=!1,h=!1;l0?n[a-1]:-1,u=h=!1),e=!0)),l++;e&&this.diff_cleanupMerge(t)},n.prototype.diff_cleanupMerge=function(t){t.push([o,""]);for(var e,n=0,a=0,s=0,l="",c="";n1?(0!==a&&0!==s&&(e=this.diff_commonPrefix(c,l),0!==e&&(n-a-s>0&&t[n-a-s-1][0]==o?t[n-a-s-1][1]+=c.substring(0,e):(t.splice(0,0,[o,c.substring(0,e)]),n++),c=c.substring(e),l=l.substring(e)),e=this.diff_commonSuffix(c,l),0!==e&&(t[n][1]=c.substring(c.length-e)+t[n][1],c=c.substring(0,c.length-e),l=l.substring(0,l.length-e))),0===a?t.splice(n-a-s,a+s,[i,c]):0===s?t.splice(n-a-s,a+s,[r,l]):t.splice(n-a-s,a+s,[r,l],[i,c]),n=n-a-s+(a?1:0)+(s?1:0)+1):0!==n&&t[n-1][0]==o?(t[n-1][1]+=t[n][1],t.splice(n,1)):n++,s=0,a=0,l="",c=""}""===t[t.length-1][1]&&t.pop();var f=!1;for(n=1;ne));n++)s=o,l=a;return t.length!=n&&t[n][0]===r?l:l+(e-s)},n.prototype.diff_prettyHtml=function(t){for(var e=[],n=0,a=/&/g,s=//g,c=/\n/g,f=0;f");switch(u){case i:e[f]=''+p+"";break;case r:e[f]=''+p+"";break;case o:e[f]=""+p+""}u!==r&&(n+=h.length)}return e.join("")},n.prototype.diff_text1=function(t){for(var e=[],n=0;nthis.Match_MaxBits)throw new Error("Pattern too long for this browser.");var i=this.match_alphabet_(e),o=this,a=this.Match_Threshold,s=t.indexOf(e,n);s!=-1&&(a=Math.min(r(0,s),a),s=t.lastIndexOf(e,n+e.length),s!=-1&&(a=Math.min(r(0,s),a)));var l=1<=d;m--){var y=i[t.charAt(m-1)];if(0===p?v[m]=(v[m+1]<<1|1)&y:v[m]=(v[m+1]<<1|1)&y|((u[m+1]|u[m])<<1|1)|u[m+1],v[m]&l){var b=r(p,m-1);if(b<=a){if(a=b,s=m-1,!(s>n))break;d=Math.max(1,2*n-s)}}}if(r(p+1,n)>a)break;u=v}return s},n.prototype.match_alphabet_=function(t){for(var e={},n=0;n2&&(this.diff_cleanupSemantic(l),this.diff_cleanupEfficiency(l));else if(t&&"object"==typeof t&&"undefined"==typeof e&&"undefined"==typeof a)l=t,s=this.diff_text1(l);else if("string"==typeof t&&e&&"object"==typeof e&&"undefined"==typeof a)s=t,l=e;else{if("string"!=typeof t||"string"!=typeof e||!a||"object"!=typeof a)throw new Error("Unknown call format to patch_make.");s=t,l=a}if(0===l.length)return[];for(var c=[],f=new n.patch_obj,u=0,h=0,p=0,d=s,g=s,v=0;v=2*this.Patch_Margin&&u&&(this.patch_addContext_(f,d),c.push(f),f=new n.patch_obj,u=0,d=g,h=p)}m!==i&&(h+=y.length),m!==r&&(p+=y.length)}return u&&(this.patch_addContext_(f,d),c.push(f)),c},n.prototype.patch_deepCopy=function(t){for(var e=[],r=0;rthis.Match_MaxBits?(c=this.match_main(e,u.substring(0,this.Match_MaxBits),f),c!=-1&&(h=this.match_main(e,u.substring(u.length-this.Match_MaxBits),f+u.length-this.Match_MaxBits),(h==-1||c>=h)&&(c=-1))):c=this.match_main(e,u,f),c==-1)s[l]=!1,a-=t[l].length2-t[l].length1;else{s[l]=!0,a=c-f;var p;if(p=h==-1?e.substring(c,c+u.length):e.substring(c,h+this.Match_MaxBits),u==p)e=e.substring(0,c)+this.diff_text2(t[l].diffs)+e.substring(c+u.length);else{var d=this.diff_main(u,p,!1);if(u.length>this.Match_MaxBits&&this.diff_levenshtein(d)/u.length>this.Patch_DeleteThreshold)s[l]=!1;else{this.diff_cleanupSemanticLossless(d);for(var g,v=0,m=0;ma[0][1].length){var s=e-a[0][1].length;a[0][1]=n.substring(a[0][1].length)+a[0][1],i.start1-=s,i.start2-=s,i.length1+=s,i.length2+=s}if(i=t[t.length-1],a=i.diffs,0==a.length||a[a.length-1][0]!=o)a.push([o,n]),i.length1+=e,i.length2+=e;else if(e>a[a.length-1][1].length){var s=e-a[a.length-1][1].length;a[a.length-1][1]+=n.substring(0,s),i.length1+=s,i.length2+=s}return n},n.prototype.patch_splitMax=function(t){for(var e=this.Match_MaxBits,a=0;ae){var s=t[a];t.splice(a--,1);for(var l=s.start1,c=s.start2,f="";0!==s.diffs.length;){var u=new n.patch_obj,h=!0;for(u.start1=l-f.length,u.start2=c-f.length,""!==f&&(u.length1=u.length2=f.length,u.diffs.push([o,f]));0!==s.diffs.length&&u.length12*e?(u.length1+=d.length,l+=d.length,h=!1,u.diffs.push([p,d]),s.diffs.shift()):(d=d.substring(0,e-u.length1-this.Patch_Margin),u.length1+=d.length,l+=d.length,p===o?(u.length2+=d.length,c+=d.length):h=!1,u.diffs.push([p,d]),d==s.diffs[0][1]?s.diffs.shift():s.diffs[0][1]=s.diffs[0][1].substring(d.length))}f=this.diff_text2(u.diffs),f=f.substring(f.length-this.Patch_Margin);var g=this.diff_text1(s.diffs).substring(0,this.Patch_Margin);""!==g&&(u.length1+=g.length,u.length2+=g.length,0!==u.diffs.length&&u.diffs[u.diffs.length-1][0]===o?u.diffs[u.diffs.length-1][1]+=g:u.diffs.push([o,g])),h||t.splice(++a,0,u)}}},n.prototype.patch_toText=function(t){for(var e=[],n=0;n0&&m>0&&!f.objectHash&&"boolean"!=typeof f.matchByPosition&&(f.matchByPosition=!r(d,g,v,m));h0)for(var A=0;A=0;e--){n=o[e];var f=r["_"+n],u=i.splice(n,1)[0];f[2]===c&&s.push({index:f[1],value:u})}s=s.sort(p.numericallyBy("index"));var h=s.length;for(e=0;e0)for(e=0;er?r++:a>=r&&st[r-1][o]?i(t,e,n,r,o-1,a):i(t,e,n,r-1,o,a)},o=function(t,e,o,a){a=a||{};var s=r(t,e,o||n,a),l=i(s,t,e,t.length,e.length,a);return"string"==typeof t&&"string"==typeof e&&(l.sequence=l.sequence.join("")),l};e.get=o},function(t,e,n){var r=n(9).DiffContext,i=n(10).PatchContext,o=n(11).ReverseContext,a=function(t){if(t&&t.children){for(var e,n=t.children.length,r=t.result,i=0;i=this.viewport.width&&(o=this.viewport.width-this.currentViewBox[2]),a+this.currentViewBox[3]>=this.viewport.height&&(a=this.viewport.height-this.currentViewBox[3]),o<=0&&(o=0),a<=0&&(a=0),this.currentViewBox[0]=o,this.currentViewBox[1]=a,this.updateViewBox()}},{key:"reset",value:function(){this.scale=1,this.currentViewBox=[0,0,this.imageWidth,this.imageHeight],this.updateViewBox()}},{key:"zoomOut",value:function(){if(1==this.scale)return!1;var t=this.currentViewBox[0]+this.currentViewBox[2]/2,e=this.currentViewBox[1]+this.currentViewBox[3]/2,n=this.zoomFactor*(this.scale-1),r=this.imgMinSize-this.imgMinSize*n,i=r,o=t-r/2,a=e-i/2;this.currentViewBox[0]=o,this.currentViewBox[1]=a,this.currentViewBox[2]=r,this.currentViewBox[3]=i,this.updateViewBox(),this.scale--}}]),t}();e.default={enable_zoom:function(t){return new a(t)}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={methods:{save:function(t){Object.assign(t,{fragment:this.toSVGPath()}),this.$parent.$emit("save",t)}}}},function(t,e,n){(function(t,r){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(6),a=i(o),s=n(189),l=i(s),c={placement:"auto",container:"body",trigger:"manual",html:!0,title:"",viewport:".cut-canvas",content:""};e.default={methods:{addTooltip:function(){var e=this,n=new Vue(l.default);this.originalAnnotation&&(n.originalTitle=this.originalAnnotation.title,n.originalDescription=this.originalAnnotation.description,n.originalTags=this.originalAnnotation.tags),n.$mount(t("
    ").get(0)),n.$on("close",function(){e.clear()}),n.$on("save",function(t){e.save(t)}),c.content=n.$el;var i=new a.default(this.getTooltipTarget()),o=r(i.node);o.popover(c).popover("show"),this.$on("drag:start",function(){o.popover("hide")}),this.$on("drag:end",function(){o.popover("show")}),o.on("shown.bs.popover",function(t){var e=o.data("bs.popover").$tip;e.find('input[name="title"]').focus()})},destroyTooltip:function(){var t=new a.default(this.getTooltipTarget()),e=r(t.node);e.data("bs.popover")&&e.popover("destroy")},hideTooltip:function(){var t=new a.default(this.getTooltipTarget()),e=r(t.node);e.data("bs.popover")&&e.popover("hide")},showTooltip:function(){var t=new a.default(this.getTooltipTarget()),e=r(t.node);e.data("bs.popover")&&e.popover("show")}}}}).call(e,n(1),n(1))},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(24),i=n(22),o=n(108),a=n(112),s="prototype",l=function(t,e,n){var c,f,u,h=t&l.F,p=t&l.G,d=t&l.S,g=t&l.P,v=t&l.B,m=t&l.W,y=p?i:i[e]||(i[e]={}),b=y[s],_=p?r:d?r[e]:(r[e]||{})[s];p&&(n=e);for(c in n)f=!h&&_&&void 0!==_[c],f&&c in y||(u=f?_[c]:n[c],y[c]=p&&"function"!=typeof _[c]?n[c]:v&&f?o(u,r):m&&_[c]==u?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e[s]=t[s],e}(u):g&&"function"==typeof u?o(Function.call,u):u,g&&((y.virtual||(y.virtual={}))[c]=u,t&l.R&&b&&!b[c]&&a(b,c,u)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},function(t,e,n){var r=n(107);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){var r=n(105),i=n(113),o=n(125),a=Object.defineProperty;e.f=n(17)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(44),i=n(42);t.exports=function(t){return r(i(t))}},function(t,e){"use strict";function n(t){function e(){var t={};for(s.push(t);l-1}function d(t,e,n){for(var r=-1,i=null==t?0:t.length;++r-1;);return n}function z(t,e){for(var n=t.length;n--&&C(e,t[n],0)>-1;);return n}function I(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}function L(t){return"\\"+Yn[t]}function q(t,e){return null==t?it:t[e]}function V(t){return qn.test(t)}function H(t){return Vn.test(t)}function U(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}function W(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function Z(t,e){return function(n){return t(e(n))}}function J(t,e){for(var n=-1,r=t.length,i=0,o=[];++n>>1,Dt=[["ary",bt],["bind",ht],["bindKey",pt],["curry",gt],["curryRight",vt],["flip",xt],["partial",mt],["partialRight",yt],["rearg",_t]],zt="[object Arguments]",It="[object Array]",Lt="[object AsyncFunction]",qt="[object Boolean]",Vt="[object Date]",Ht="[object DOMException]",Ut="[object Error]",Wt="[object Function]",Zt="[object GeneratorFunction]",Jt="[object Map]",Gt="[object Number]",Xt="[object Null]",Yt="[object Object]",Kt="[object Promise]",Qt="[object Proxy]",te="[object RegExp]",ee="[object Set]",ne="[object String]",re="[object Symbol]",ie="[object Undefined]",oe="[object WeakMap]",ae="[object WeakSet]",se="[object ArrayBuffer]",le="[object DataView]",ce="[object Float32Array]",fe="[object Float64Array]",ue="[object Int8Array]",he="[object Int16Array]",pe="[object Int32Array]",de="[object Uint8Array]",ge="[object Uint8ClampedArray]",ve="[object Uint16Array]",me="[object Uint32Array]",ye=/\b__p \+= '';/g,be=/\b(__p \+=) '' \+/g,_e=/(__e\(.*?\)|\b__t\)) \+\n'';/g,xe=/&(?:amp|lt|gt|quot|#39);/g,we=/[&<>"']/g,ke=RegExp(xe.source),Ce=RegExp(we.source),Te=/<%-([\s\S]+?)%>/g,je=/<%([\s\S]+?)%>/g,$e=/<%=([\s\S]+?)%>/g,Ae=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Se=/^\w*$/,Oe=/^\./,Me=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ee=/[\\^$.*+?()[\]{}|]/g,Pe=RegExp(Ee.source),Ne=/^\s+|\s+$/g,Fe=/^\s+/,Re=/\s+$/,Be=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,De=/\{\n\/\* \[wrapped with (.+)\] \*/,ze=/,? & /,Ie=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Le=/\\(\\)?/g,qe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ve=/\w*$/,He=/^[-+]0x[0-9a-f]+$/i,Ue=/^0b[01]+$/i,We=/^\[object .+?Constructor\]$/,Ze=/^0o[0-7]+$/i,Je=/^(?:0|[1-9]\d*)$/,Ge=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Xe=/($^)/,Ye=/['\n\r\u2028\u2029\\]/g,Ke="\\ud800-\\udfff",Qe="\\u0300-\\u036f\\ufe20-\\ufe23",tn="\\u20d0-\\u20f0",en="\\u2700-\\u27bf",nn="a-z\\xdf-\\xf6\\xf8-\\xff",rn="\\xac\\xb1\\xd7\\xf7",on="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",an="\\u2000-\\u206f",sn=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ln="A-Z\\xc0-\\xd6\\xd8-\\xde",cn="\\ufe0e\\ufe0f",fn=rn+on+an+sn,un="['’]",hn="["+Ke+"]",pn="["+fn+"]",dn="["+Qe+tn+"]",gn="\\d+",vn="["+en+"]",mn="["+nn+"]",yn="[^"+Ke+fn+gn+en+nn+ln+"]",bn="\\ud83c[\\udffb-\\udfff]",_n="(?:"+dn+"|"+bn+")",xn="[^"+Ke+"]",wn="(?:\\ud83c[\\udde6-\\uddff]){2}",kn="[\\ud800-\\udbff][\\udc00-\\udfff]",Cn="["+ln+"]",Tn="\\u200d",jn="(?:"+mn+"|"+yn+")",$n="(?:"+Cn+"|"+yn+")",An="(?:"+un+"(?:d|ll|m|re|s|t|ve))?",Sn="(?:"+un+"(?:D|LL|M|RE|S|T|VE))?",On=_n+"?",Mn="["+cn+"]?",En="(?:"+Tn+"(?:"+[xn,wn,kn].join("|")+")"+Mn+On+")*",Pn="\\d*(?:(?:1st|2nd|3rd|(?![123])\\dth)\\b)",Nn="\\d*(?:(?:1ST|2ND|3RD|(?![123])\\dTH)\\b)",Fn=Mn+On+En,Rn="(?:"+[vn,wn,kn].join("|")+")"+Fn,Bn="(?:"+[xn+dn+"?",dn,wn,kn,hn].join("|")+")",Dn=RegExp(un,"g"),zn=RegExp(dn,"g"),In=RegExp(bn+"(?="+bn+")|"+Bn+Fn,"g"),Ln=RegExp([Cn+"?"+mn+"+"+An+"(?="+[pn,Cn,"$"].join("|")+")",$n+"+"+Sn+"(?="+[pn,Cn+jn,"$"].join("|")+")",Cn+"?"+jn+"+"+An,Cn+"+"+Sn,Nn,Pn,gn,Rn].join("|"),"g"),qn=RegExp("["+Tn+Ke+Qe+tn+cn+"]"),Vn=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Hn=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Un=-1,Wn={};Wn[ce]=Wn[fe]=Wn[ue]=Wn[he]=Wn[pe]=Wn[de]=Wn[ge]=Wn[ve]=Wn[me]=!0,Wn[zt]=Wn[It]=Wn[se]=Wn[qt]=Wn[le]=Wn[Vt]=Wn[Ut]=Wn[Wt]=Wn[Jt]=Wn[Gt]=Wn[Yt]=Wn[te]=Wn[ee]=Wn[ne]=Wn[oe]=!1;var Zn={};Zn[zt]=Zn[It]=Zn[se]=Zn[le]=Zn[qt]=Zn[Vt]=Zn[ce]=Zn[fe]=Zn[ue]=Zn[he]=Zn[pe]=Zn[Jt]=Zn[Gt]=Zn[Yt]=Zn[te]=Zn[ee]=Zn[ne]=Zn[re]=Zn[de]=Zn[ge]=Zn[ve]=Zn[me]=!0,Zn[Ut]=Zn[Wt]=Zn[oe]=!1;var Jn={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},Gn={"&":"&","<":"<",">":">",'"':""","'":"'"},Xn={"&":"&","<":"<",">":">",""":'"',"'":"'"},Yn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Kn=parseFloat,Qn=parseInt,tr="object"==typeof t&&t&&t.Object===Object&&t,er="object"==typeof self&&self&&self.Object===Object&&self,nr=tr||er||Function("return this")(),rr="object"==typeof e&&e&&!e.nodeType&&e,ir=rr&&"object"==typeof i&&i&&!i.nodeType&&i,or=ir&&ir.exports===rr,ar=or&&tr.process,sr=function(){try{return ar&&ar.binding("util")}catch(t){}}(),lr=sr&&sr.isArrayBuffer,cr=sr&&sr.isDate,fr=sr&&sr.isMap,ur=sr&&sr.isRegExp,hr=sr&&sr.isSet,pr=sr&&sr.isTypedArray,dr=A("length"),gr=S(Jn),vr=S(Gn),mr=S(Xn),yr=function t(e){function n(t){if(rl(t)&&!gh(t)&&!(t instanceof _)){if(t instanceof i)return t;if(gf.call(t,"__wrapped__"))return ta(t)}return new i(t)}function r(){}function i(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=it}function _(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ft,this.__views__=[]}function S(){var t=new _(this.__wrapped__);return t.__actions__=Bi(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Bi(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Bi(this.__views__),t}function Y(){if(this.__filtered__){var t=new _(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t}function et(){var t=this.__wrapped__.value(),e=this.__dir__,n=gh(t),r=e<0,i=n?t.length:0,o=ko(0,i,this.__views__),a=o.start,s=o.end,l=s-a,c=r?s:a-1,f=this.__iteratees__,u=f.length,h=0,p=Uf(l,this.__takeCount__);if(!n||i-1}function ln(t,e){var n=this.__data__,r=Mn(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}function cn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e=e?t:e)),t}function Bn(t,e,n,r,i,o,a){var s;if(r&&(s=o?r(t,i,o,a):r(t)),s!==it)return s;if(!nl(t))return t;var l=gh(t);if(l){if(s=jo(t),!e)return Bi(t,s)}else{var f=Tu(t),u=f==Wt||f==Zt;if(mh(t))return Ti(t,e);if(f==Yt||f==zt||u&&!o){if(s=$o(u?{}:t),!e)return zi(t,Pn(s,t))}else{if(!Zn[f])return o?t:{};s=Ao(t,f,Bn,e)}}a||(a=new yn);var h=a.get(t);if(h)return h;a.set(t,s);var p=l?it:(n?po:Dl)(t);return c(p||t,function(i,o){ -p&&(o=i,i=t[o]),On(s,o,Bn(i,e,n,r,o,t,a))}),s}function In(t){var e=Dl(t);return function(n){return Ln(n,t,e)}}function Ln(t,e,n){var r=n.length;if(null==t)return!r;for(t=af(t);r--;){var i=n[r],o=e[i],a=t[i];if(a===it&&!(i in t)||!o(a))return!1}return!0}function qn(t,e,n){if("function"!=typeof t)throw new cf(lt);return Au(function(){t.apply(it,n)},e)}function Vn(t,e,n,r){var i=-1,o=p,a=!0,s=t.length,l=[],c=e.length;if(!s)return l;n&&(e=g(e,F(n))),r?(o=d,a=!1):e.length>=at&&(o=B,a=!1,e=new gn(e));t:for(;++ii?0:i+n),r=r===it||r>i?i:_l(r),r<0&&(r+=i),r=n>r?0:xl(r);n0&&n(s)?e>1?tr(s,e-1,n,r,i):v(i,s):r||(i[i.length]=s)}return i}function er(t,e){return t&&gu(t,e,Dl)}function rr(t,e){return t&&vu(t,e,Dl)}function ir(t,e){return h(e,function(e){return Qs(t[e])})}function ar(t,e){e=Po(e,t)?[e]:ki(e);for(var n=0,r=e.length;null!=t&&ne}function _r(t,e){return null!=t&&gf.call(t,e)}function xr(t,e){return null!=t&&e in af(t)}function wr(t,e,n){return t>=Uf(e,n)&&t=120&&f.length>=120)?new gn(a&&f):it}f=t[0];var u=-1,h=s[0];t:for(;++u-1;)s!==t&&Sf.call(s,l,1),Sf.call(t,l,1);return t}function Kr(t,e){for(var n=t?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==o){var o=i;if(Mo(i))Sf.call(t,i,1);else if(Po(i,t))delete t[Yo(i)];else{var a=ki(i),s=Wo(t,a);null!=s&&delete s[Yo(ba(a))]}}}return t}function Qr(t,e){return t+Df(Jf()*(e-t+1))}function ti(t,e,n,r){for(var i=-1,o=Hf(Bf((e-t)/(n||1)),0),a=tf(o);o--;)a[r?o:++i]=t,t+=n;return a}function ei(t,e){var n="";if(!t||e<1||e>Et)return n;do e%2&&(n+=t),e=Df(e/2),e&&(t+=t);while(e);return n}function ni(t,e){return Su(Uo(t,e,Ac),t+"")}function ri(t){return Tn(Yl(t))}function ii(t,e){var n=Yl(t);return Xo(n,Rn(e,0,n.length))}function oi(t,e,n,r){if(!nl(t))return t;e=Po(e,t)?[e]:ki(e);for(var i=-1,o=e.length,a=o-1,s=t;null!=s&&++ii?0:i+e),n=n>i?i:n,n<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=tf(i);++r>>1,a=t[o];null!==a&&!dl(a)&&(n?a<=e:a=at){var c=e?null:xu(t);if(c)return G(c);a=!1,i=B,l=new gn}else l=e?[]:s;t:for(;++r=r?t:si(t,e,n)}function Ti(t,e){if(e)return t.slice();var n=t.length,r=Tf?Tf(n):new t.constructor(n);return t.copy(r),r}function ji(t){var e=new t.constructor(t.byteLength);return new Cf(e).set(new Cf(t)),e}function $i(t,e){var n=e?ji(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}function Ai(t,e,n){var r=e?n(W(t),!0):W(t);return m(r,o,new t.constructor)}function Si(t){var e=new t.constructor(t.source,Ve.exec(t));return e.lastIndex=t.lastIndex,e}function Oi(t,e,n){var r=e?n(G(t),!0):G(t);return m(r,a,new t.constructor)}function Mi(t){return fu?af(fu.call(t)):{}}function Ei(t,e){var n=e?ji(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Pi(t,e){if(t!==e){var n=t!==it,r=null===t,i=t===t,o=dl(t),a=e!==it,s=null===e,l=e===e,c=dl(e);if(!s&&!c&&!o&&t>e||o&&a&&l&&!s&&!c||r&&a&&l||!n&&l||!i)return 1;if(!r&&!o&&!c&&t=s)return l;var c=n[r];return l*("desc"==c?-1:1)}}return t.index-e.index}function Fi(t,e,n,r){for(var i=-1,o=t.length,a=n.length,s=-1,l=e.length,c=Hf(o-a,0),f=tf(l+c),u=!r;++s1?n[i-1]:it,a=i>2?n[2]:it;for(o=t.length>3&&"function"==typeof o?(i--,o):it,a&&Eo(n[0],n[1],a)&&(o=i<3?it:o,i=1),e=af(e);++r-1?i[o?e[a]:a]:it}}function Xi(t){return ho(function(e){var n=e.length,r=n,o=i.prototype.thru;for(t&&e.reverse();r--;){var a=e[r];if("function"!=typeof a)throw new cf(lt);if(o&&!s&&"wrapper"==vo(a))var s=new i([],!0)}for(r=s?r:n;++r=at)return s.plant(r).value();for(var i=0,o=n?e[i].apply(this,t):r;++i1&&y.reverse(),u&&ls))return!1;var c=o.get(t);if(c&&o.get(e))return c==e;var f=-1,u=!0,h=i&wt?new gn:it;for(o.set(t,e),o.set(e,t);++f1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(Be,"{\n/* [wrapped with "+e+"] */\n")}function Oo(t){return gh(t)||dh(t)||!!(Of&&t&&t[Of])}function Mo(t,e){return e=null==e?Et:e,!!e&&("number"==typeof t||Je.test(t))&&t>-1&&t%1==0&&t0){if(++e>=jt)return arguments[0]}else e=0;return t.apply(it,arguments)}}function Xo(t,e){var n=-1,r=t.length,i=r-1;for(e=e===it?r:e;++n=this.__values__.length,e=t?it:this.__values__[this.__index__++];return{done:t,value:e}}function ts(){return this}function es(t){for(var e,n=this;n instanceof r;){var i=ta(n);i.__index__=0,i.__values__=it,e?o.__wrapped__=i:e=i;var o=i;n=n.__wrapped__}return o.__wrapped__=t,e}function ns(){var t=this.__wrapped__;if(t instanceof _){var e=t;return this.__actions__.length&&(e=new _(this)),e=e.reverse(),e.__actions__.push({func:Xa,args:[ja],thisArg:it}),new i(e,this.__chain__)}return this.thru(ja)}function rs(){return yi(this.__wrapped__,this.__actions__)}function is(t,e,n){var r=gh(t)?u:Jn;return n&&Eo(t,e,n)&&(e=it),r(t,yo(e,3))}function os(t,e){var n=gh(t)?h:Yn;return n(t,yo(e,3))}function as(t,e){return tr(hs(t,e),1)}function ss(t,e){return tr(hs(t,e),Mt)}function ls(t,e,n){return n=n===it?1:_l(n),tr(hs(t,e),n)}function cs(t,e){var n=gh(t)?c:pu;return n(t,yo(e,3))}function fs(t,e){var n=gh(t)?f:du;return n(t,yo(e,3))}function us(t,e,n,r){t=Hs(t)?t:Yl(t),n=n&&!r?_l(n):0;var i=t.length;return n<0&&(n=Hf(i+n,0)),pl(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&C(t,e,n)>-1}function hs(t,e){var n=gh(t)?g:Lr;return n(t,yo(e,3))}function ps(t,e,n,r){return null==t?[]:(gh(e)||(e=null==e?[]:[e]),n=r?it:n,gh(n)||(n=null==n?[]:[n]),Zr(t,e,n))}function ds(t,e,n){var r=gh(t)?m:O,i=arguments.length<3;return r(t,yo(e,4),n,i,pu)}function gs(t,e,n){var r=gh(t)?y:O,i=arguments.length<3;return r(t,yo(e,4),n,i,du)}function vs(t,e){var n=gh(t)?h:Yn;return n(t,Os(yo(e,3)))}function ms(t){var e=gh(t)?Tn:ri;return e(t)}function ys(t,e,n){e=(n?Eo(t,e,n):e===it)?1:_l(e);var r=gh(t)?jn:ii;return r(t,e)}function bs(t){var e=gh(t)?$n:ai;return e(t)}function _s(t){if(null==t)return 0;if(Hs(t))return pl(t)?Q(t):t.length;var e=Tu(t);return e==Jt||e==ee?t.size:Dr(t).length}function xs(t,e,n){var r=gh(t)?b:li;return n&&Eo(t,e,n)&&(e=it),r(t,yo(e,3))}function ws(t,e){if("function"!=typeof e)throw new cf(lt);return t=_l(t),function(){if(--t<1)return e.apply(this,arguments)}}function ks(t,e,n){return e=n?it:e,e=t&&null==e?t.length:e,lo(t,bt,it,it,it,it,e)}function Cs(t,e){var n;if("function"!=typeof e)throw new cf(lt);return t=_l(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=it),n}}function Ts(t,e,n){e=n?it:e;var r=lo(t,gt,it,it,it,it,it,e);return r.placeholder=Ts.placeholder,r}function js(t,e,n){e=n?it:e;var r=lo(t,vt,it,it,it,it,it,e);return r.placeholder=js.placeholder,r}function $s(t,e,n){function r(e){var n=h,r=p;return h=p=it,y=e,g=t.apply(r,n)}function i(t){return y=t,v=Au(s,e),b?r(t):g}function o(t){var n=t-m,r=t-y,i=e-n;return _?Uf(i,d-r):i}function a(t){var n=t-m,r=t-y;return m===it||n>=e||n<0||_&&r>=d}function s(){var t=rh();return a(t)?l(t):void(v=Au(s,o(t)))}function l(t){return v=it,x&&h?r(t):(h=p=it,g)}function c(){v!==it&&_u(v),y=0,h=m=p=v=it}function f(){return v===it?g:l(rh())}function u(){var t=rh(),n=a(t);if(h=arguments,p=this,m=t,n){if(v===it)return i(m);if(_)return v=Au(s,e),r(m)}return v===it&&(v=Au(s,e)),g}var h,p,d,g,v,m,y=0,b=!1,_=!1,x=!0;if("function"!=typeof t)throw new cf(lt);return e=wl(e)||0,nl(n)&&(b=!!n.leading,_="maxWait"in n,d=_?Hf(wl(n.maxWait)||0,e):d,x="trailing"in n?!!n.trailing:x),u.cancel=c,u.flush=f,u}function As(t){return lo(t,xt)}function Ss(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new cf(lt);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(Ss.Cache||cn),n}function Os(t){if("function"!=typeof t)throw new cf(lt);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}function Ms(t){return Cs(2,t)}function Es(t,e){if("function"!=typeof t)throw new cf(lt);return e=e===it?e:_l(e),ni(t,e)}function Ps(t,e){if("function"!=typeof t)throw new cf(lt);return e=e===it?0:Hf(_l(e),0),ni(function(n){var r=n[e],i=Ci(n,0,e);return r&&v(i,r),s(t,this,i)})}function Ns(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new cf(lt);return nl(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),$s(t,e,{leading:r,maxWait:e,trailing:i})}function Fs(t){return ks(t,1)}function Rs(t,e){return ch(wi(e),t)}function Bs(){if(!arguments.length)return[];var t=arguments[0];return gh(t)?t:[t]}function Ds(t){return Bn(t,!1,!0)}function zs(t,e){return e="function"==typeof e?e:it,Bn(t,!1,!0,e)}function Is(t){return Bn(t,!0,!0)}function Ls(t,e){return e="function"==typeof e?e:it,Bn(t,!0,!0,e)}function qs(t,e){return null==e||Ln(t,e,Dl(e))}function Vs(t,e){return t===e||t!==t&&e!==e}function Hs(t){return null!=t&&el(t.length)&&!Qs(t)}function Us(t){return rl(t)&&Hs(t)}function Ws(t){return t===!0||t===!1||rl(t)&&dr(t)==qt}function Zs(t){return rl(t)&&1===t.nodeType&&!ul(t)}function Js(t){if(null==t)return!0;if(Hs(t)&&(gh(t)||"string"==typeof t||"function"==typeof t.splice||mh(t)||wh(t)||dh(t)))return!t.length;var e=Tu(t);if(e==Jt||e==ee)return!t.size;if(Bo(t))return!Dr(t).length;for(var n in t)if(gf.call(t,n))return!1;return!0}function Gs(t,e){return Sr(t,e)}function Xs(t,e,n){n="function"==typeof n?n:it;var r=n?n(t,e):it;return r===it?Sr(t,e,n):!!r}function Ys(t){if(!rl(t))return!1;var e=dr(t);return e==Ut||e==Ht||"string"==typeof t.message&&"string"==typeof t.name&&!ul(t)}function Ks(t){return"number"==typeof t&&Lf(t)}function Qs(t){if(!nl(t))return!1;var e=dr(t);return e==Wt||e==Zt||e==Lt||e==Qt}function tl(t){return"number"==typeof t&&t==_l(t)}function el(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Et}function nl(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function rl(t){return null!=t&&"object"==typeof t}function il(t,e){return t===e||Er(t,e,_o(e))}function ol(t,e,n){return n="function"==typeof n?n:it,Er(t,e,_o(e),n)}function al(t){return fl(t)&&t!=+t}function sl(t){if(ju(t))throw new nf(st);return Pr(t)}function ll(t){return null===t}function cl(t){return null==t}function fl(t){return"number"==typeof t||rl(t)&&dr(t)==Gt}function ul(t){if(!rl(t)||dr(t)!=Yt)return!1;var e=jf(t);if(null===e)return!0;var n=gf.call(e,"constructor")&&e.constructor; -return"function"==typeof n&&n instanceof n&&df.call(n)==bf}function hl(t){return tl(t)&&t>=-Et&&t<=Et}function pl(t){return"string"==typeof t||!gh(t)&&rl(t)&&dr(t)==ne}function dl(t){return"symbol"==typeof t||rl(t)&&dr(t)==re}function gl(t){return t===it}function vl(t){return rl(t)&&Tu(t)==oe}function ml(t){return rl(t)&&dr(t)==ae}function yl(t){if(!t)return[];if(Hs(t))return pl(t)?tt(t):Bi(t);if(Mf&&t[Mf])return U(t[Mf]());var e=Tu(t),n=e==Jt?W:e==ee?G:Yl;return n(t)}function bl(t){if(!t)return 0===t?t:0;if(t=wl(t),t===Mt||t===-Mt){var e=t<0?-1:1;return e*Pt}return t===t?t:0}function _l(t){var e=bl(t),n=e%1;return e===e?n?e-n:e:0}function xl(t){return t?Rn(_l(t),0,Ft):0}function wl(t){if("number"==typeof t)return t;if(dl(t))return Nt;if(nl(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=nl(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(Ne,"");var n=Ue.test(t);return n||Ze.test(t)?Qn(t.slice(2),n?2:8):He.test(t)?Nt:+t}function kl(t){return Di(t,zl(t))}function Cl(t){return Rn(_l(t),-Et,Et)}function Tl(t){return null==t?"":pi(t)}function jl(t,e){var n=hu(t);return null==e?n:Pn(n,e)}function $l(t,e){return w(t,yo(e,3),er)}function Al(t,e){return w(t,yo(e,3),rr)}function Sl(t,e){return null==t?t:gu(t,yo(e,3),zl)}function Ol(t,e){return null==t?t:vu(t,yo(e,3),zl)}function Ml(t,e){return t&&er(t,yo(e,3))}function El(t,e){return t&&rr(t,yo(e,3))}function Pl(t){return null==t?[]:ir(t,Dl(t))}function Nl(t){return null==t?[]:ir(t,zl(t))}function Fl(t,e,n){var r=null==t?it:ar(t,e);return r===it?n:r}function Rl(t,e){return null!=t&&To(t,e,_r)}function Bl(t,e){return null!=t&&To(t,e,xr)}function Dl(t){return Hs(t)?Cn(t):Dr(t)}function zl(t){return Hs(t)?Cn(t,!0):zr(t)}function Il(t,e){var n={};return e=yo(e,3),er(t,function(t,r,i){Nn(n,e(t,r,i),t)}),n}function Ll(t,e){var n={};return e=yo(e,3),er(t,function(t,r,i){Nn(n,r,e(t,r,i))}),n}function ql(t,e){return Vl(t,Os(yo(e)))}function Vl(t,e){return null==t?{}:Gr(t,go(t),yo(e))}function Hl(t,e,n){e=Po(e,t)?[e]:ki(e);var r=-1,i=e.length;for(i||(t=it,i=1);++re){var r=t;t=e,e=r}if(n||t%1||e%1){var i=Jf();return Uf(t+i*(e-t+Kn("1e-"+((i+"").length-1))),e)}return Qr(t,e)}function nc(t){return Jh(Tl(t).toLowerCase())}function rc(t){return t=Tl(t),t&&t.replace(Ge,gr).replace(zn,"")}function ic(t,e,n){t=Tl(t),e=pi(e);var r=t.length;n=n===it?r:Rn(_l(n),0,r);var i=n;return n-=e.length,n>=0&&t.slice(n,i)==e}function oc(t){return t=Tl(t),t&&Ce.test(t)?t.replace(we,vr):t}function ac(t){return t=Tl(t),t&&Pe.test(t)?t.replace(Ee,"\\$&"):t}function sc(t,e,n){t=Tl(t),e=_l(e);var r=e?Q(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return eo(Df(i),n)+t+eo(Bf(i),n)}function lc(t,e,n){t=Tl(t),e=_l(e);var r=e?Q(t):0;return e&&r>>0)?(t=Tl(t),t&&("string"==typeof e||null!=e&&!_h(e))&&(e=pi(e),!e&&V(t))?Ci(tt(t),0,n):t.split(e,n)):[]}function dc(t,e,n){return t=Tl(t),n=Rn(_l(n),0,t.length),e=pi(e),t.slice(n,n+e.length)==e}function gc(t,e,r){var i=n.templateSettings;r&&Eo(t,e,r)&&(e=it),t=Tl(t),e=$h({},e,i,An);var o,a,s=$h({},e.imports,i.imports,An),l=Dl(s),c=R(s,l),f=0,u=e.interpolate||Xe,h="__p += '",p=sf((e.escape||Xe).source+"|"+u.source+"|"+(u===$e?qe:Xe).source+"|"+(e.evaluate||Xe).source+"|$","g"),d="//# sourceURL="+("sourceURL"in e?e.sourceURL:"lodash.templateSources["+ ++Un+"]")+"\n";t.replace(p,function(e,n,r,i,s,l){return r||(r=i),h+=t.slice(f,l).replace(Ye,L),n&&(o=!0,h+="' +\n__e("+n+") +\n'"),s&&(a=!0,h+="';\n"+s+";\n__p += '"),r&&(h+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),f=l+e.length,e}),h+="';\n";var g=e.variable;g||(h="with (obj) {\n"+h+"\n}\n"),h=(a?h.replace(ye,""):h).replace(be,"$1").replace(_e,"$1;"),h="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var v=Gh(function(){return rf(l,d+"return "+h).apply(it,c)});if(v.source=h,Ys(v))throw v;return v}function vc(t){return Tl(t).toLowerCase()}function mc(t){return Tl(t).toUpperCase()}function yc(t,e,n){if(t=Tl(t),t&&(n||e===it))return t.replace(Ne,"");if(!t||!(e=pi(e)))return t;var r=tt(t),i=tt(e),o=D(r,i),a=z(r,i)+1;return Ci(r,o,a).join("")}function bc(t,e,n){if(t=Tl(t),t&&(n||e===it))return t.replace(Re,"");if(!t||!(e=pi(e)))return t;var r=tt(t),i=z(r,tt(e))+1;return Ci(r,0,i).join("")}function _c(t,e,n){if(t=Tl(t),t&&(n||e===it))return t.replace(Fe,"");if(!t||!(e=pi(e)))return t;var r=tt(t),i=D(r,tt(e));return Ci(r,i).join("")}function xc(t,e){var n=Ct,r=Tt;if(nl(e)){var i="separator"in e?e.separator:i;n="length"in e?_l(e.length):n,r="omission"in e?pi(e.omission):r}t=Tl(t);var o=t.length;if(V(t)){var a=tt(t);o=a.length}if(n>=o)return t;var s=n-Q(r);if(s<1)return r;var l=a?Ci(a,0,s).join(""):t.slice(0,s);if(i===it)return l+r;if(a&&(s+=l.length-s),_h(i)){if(t.slice(s).search(i)){var c,f=l;for(i.global||(i=sf(i.source,Tl(Ve.exec(i))+"g")),i.lastIndex=0;c=i.exec(f);)var u=c.index;l=l.slice(0,u===it?s:u)}}else if(t.indexOf(pi(i),s)!=s){var h=l.lastIndexOf(i);h>-1&&(l=l.slice(0,h))}return l+r}function wc(t){return t=Tl(t),t&&ke.test(t)?t.replace(xe,mr):t}function kc(t,e,n){return t=Tl(t),e=n?it:e,e===it?H(t)?rt(t):x(t):t.match(e)||[]}function Cc(t){var e=null==t?0:t.length,n=yo();return t=e?g(t,function(t){if("function"!=typeof t[1])throw new cf(lt);return[n(t[0]),t[1]]}):[],ni(function(n){for(var r=-1;++rEt)return[];var n=Ft,r=Uf(t,Ft);e=yo(e),t-=Ft;for(var i=P(r,e);++n1?t[e-1]:it;return n="function"==typeof n?(t.pop(),n):it,Ua(t,n)}),Ju=ho(function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,o=function(e){return Fn(e,t)};return!(e>1||this.__actions__.length)&&r instanceof _&&Mo(n)?(r=r.slice(n,+n+(e?1:0)),r.__actions__.push({func:Xa,args:[o],thisArg:it}),new i(r,this.__chain__).thru(function(t){return e&&!t.length&&t.push(it),t})):this.thru(o)}),Gu=Ii(function(t,e,n){gf.call(t,n)?++t[n]:Nn(t,n,1)}),Xu=Gi(ca),Yu=Gi(fa),Ku=Ii(function(t,e,n){gf.call(t,n)?t[n].push(e):Nn(t,n,[e])}),Qu=ni(function(t,e,n){var r=-1,i="function"==typeof e,o=Po(e),a=Hs(t)?tf(t.length):[];return pu(t,function(t){var l=i?e:o&&null!=t?t[e]:it;a[++r]=l?s(l,t,n):Tr(t,e,n)}),a}),th=Ii(function(t,e,n){Nn(t,n,e)}),eh=Ii(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]}),nh=ni(function(t,e){if(null==t)return[];var n=e.length;return n>1&&Eo(t,e[0],e[1])?e=[]:n>2&&Eo(e[0],e[1],e[2])&&(e=[e[0]]),Zr(t,tr(e,1),[])}),rh=Ff||function(){return nr.Date.now()},ih=ni(function(t,e,n){var r=ht;if(n.length){var i=J(n,mo(ih));r|=mt}return lo(t,r,e,n,i)}),oh=ni(function(t,e,n){var r=ht|pt;if(n.length){var i=J(n,mo(oh));r|=mt}return lo(e,r,t,n,i)}),ah=ni(function(t,e){return qn(t,1,e)}),sh=ni(function(t,e,n){return qn(t,wl(e)||0,n)});Ss.Cache=cn;var lh=bu(function(t,e){e=1==e.length&&gh(e[0])?g(e[0],F(yo())):g(tr(e,1),F(yo()));var n=e.length;return ni(function(r){for(var i=-1,o=Uf(r.length,n);++i=e}),dh=jr(function(){return arguments}())?jr:function(t){return rl(t)&&gf.call(t,"callee")&&!Af.call(t,"callee")},gh=tf.isArray,vh=lr?F(lr):$r,mh=If||zc,yh=cr?F(cr):Ar,bh=fr?F(fr):Mr,_h=ur?F(ur):Nr,xh=hr?F(hr):Fr,wh=pr?F(pr):Rr,kh=io(Ir),Ch=io(function(t,e){return t<=e}),Th=Li(function(t,e){if(Bo(e)||Hs(e))return void Di(e,Dl(e),t);for(var n in e)gf.call(e,n)&&On(t,n,e[n])}),jh=Li(function(t,e){Di(e,zl(e),t)}),$h=Li(function(t,e,n,r){Di(e,zl(e),t,r)}),Ah=Li(function(t,e,n,r){Di(e,Dl(e),t,r)}),Sh=ho(Fn),Oh=ni(function(t){return t.push(it,An),s($h,it,t)}),Mh=ni(function(t){return t.push(it,qo),s(Rh,it,t)}),Eh=Ki(function(t,e,n){t[e]=n},jc(Ac)),Ph=Ki(function(t,e,n){gf.call(t,e)?t[e].push(n):t[e]=[n]},yo),Nh=ni(Tr),Fh=Li(function(t,e,n){Hr(t,e,n)}),Rh=Li(function(t,e,n,r){Hr(t,e,n,r)}),Bh=ho(function(t,e){return null==t?{}:(e=g(e,Yo),Jr(t,Vn(go(t),e)))}),Dh=ho(function(t,e){return null==t?{}:Jr(t,g(e,Yo))}),zh=so(Dl),Ih=so(zl),Lh=Wi(function(t,e,n){return e=e.toLowerCase(),t+(n?nc(e):e)}),qh=Wi(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),Vh=Wi(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),Hh=Ui("toLowerCase"),Uh=Wi(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}),Wh=Wi(function(t,e,n){return t+(n?" ":"")+Jh(e)}),Zh=Wi(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),Jh=Ui("toUpperCase"),Gh=ni(function(t,e){try{return s(t,it,e)}catch(t){return Ys(t)?t:new nf(t)}}),Xh=ho(function(t,e){return c(e,function(e){e=Yo(e),Nn(t,e,ih(t[e],t))}),t}),Yh=Xi(),Kh=Xi(!0),Qh=ni(function(t,e){return function(n){return Tr(n,t,e)}}),tp=ni(function(t,e){return function(n){return Tr(t,n,e)}}),ep=to(g),np=to(u),rp=to(b),ip=ro(),op=ro(!0),ap=Qi(function(t,e){return t+e},0),sp=ao("ceil"),lp=Qi(function(t,e){return t/e},1),cp=ao("floor"),fp=Qi(function(t,e){return t*e},1),up=ao("round"),hp=Qi(function(t,e){return t-e},0);return n.after=ws,n.ary=ks,n.assign=Th,n.assignIn=jh,n.assignInWith=$h,n.assignWith=Ah,n.at=Sh,n.before=Cs,n.bind=ih,n.bindAll=Xh,n.bindKey=oh,n.castArray=Bs,n.chain=Ja,n.chunk=ea,n.compact=na,n.concat=ra,n.cond=Cc,n.conforms=Tc,n.constant=jc,n.countBy=Gu,n.create=jl,n.curry=Ts,n.curryRight=js,n.debounce=$s,n.defaults=Oh,n.defaultsDeep=Mh,n.defer=ah,n.delay=sh,n.difference=Mu,n.differenceBy=Eu,n.differenceWith=Pu,n.drop=ia,n.dropRight=oa,n.dropRightWhile=aa,n.dropWhile=sa,n.fill=la,n.filter=os,n.flatMap=as,n.flatMapDeep=ss,n.flatMapDepth=ls,n.flatten=ua,n.flattenDeep=ha,n.flattenDepth=pa,n.flip=As,n.flow=Yh,n.flowRight=Kh,n.fromPairs=da,n.functions=Pl,n.functionsIn=Nl,n.groupBy=Ku,n.initial=ma,n.intersection=Nu,n.intersectionBy=Fu,n.intersectionWith=Ru,n.invert=Eh,n.invertBy=Ph,n.invokeMap=Qu,n.iteratee=Sc,n.keyBy=th,n.keys=Dl,n.keysIn=zl,n.map=hs,n.mapKeys=Il,n.mapValues=Ll,n.matches=Oc,n.matchesProperty=Mc,n.memoize=Ss,n.merge=Fh,n.mergeWith=Rh,n.method=Qh,n.methodOf=tp,n.mixin=Ec,n.negate=Os,n.nthArg=Fc,n.omit=Bh,n.omitBy=ql,n.once=Ms,n.orderBy=ps,n.over=ep,n.overArgs=lh,n.overEvery=np,n.overSome=rp,n.partial=ch,n.partialRight=fh,n.partition=eh,n.pick=Dh,n.pickBy=Vl,n.property=Rc,n.propertyOf=Bc,n.pull=Bu,n.pullAll=wa,n.pullAllBy=ka,n.pullAllWith=Ca,n.pullAt=Du,n.range=ip,n.rangeRight=op,n.rearg=uh,n.reject=vs,n.remove=Ta,n.rest=Es,n.reverse=ja,n.sampleSize=ys,n.set=Ul,n.setWith=Wl,n.shuffle=bs,n.slice=$a,n.sortBy=nh,n.sortedUniq=Na,n.sortedUniqBy=Fa,n.split=pc,n.spread=Ps,n.tail=Ra,n.take=Ba,n.takeRight=Da,n.takeRightWhile=za,n.takeWhile=Ia,n.tap=Ga,n.throttle=Ns,n.thru=Xa,n.toArray=yl,n.toPairs=zh,n.toPairsIn=Ih,n.toPath=Hc,n.toPlainObject=kl,n.transform=Zl,n.unary=Fs,n.union=zu,n.unionBy=Iu,n.unionWith=Lu,n.uniq=La,n.uniqBy=qa,n.uniqWith=Va,n.unset=Jl,n.unzip=Ha,n.unzipWith=Ua,n.update=Gl,n.updateWith=Xl,n.values=Yl,n.valuesIn=Kl,n.without=qu,n.words=kc,n.wrap=Rs,n.xor=Vu,n.xorBy=Hu,n.xorWith=Uu,n.zip=Wu,n.zipObject=Wa,n.zipObjectDeep=Za,n.zipWith=Zu,n.entries=zh,n.entriesIn=Ih,n.extend=jh,n.extendWith=$h,Ec(n,n),n.add=ap,n.attempt=Gh,n.camelCase=Lh,n.capitalize=nc,n.ceil=sp,n.clamp=Ql,n.clone=Ds,n.cloneDeep=Is,n.cloneDeepWith=Ls,n.cloneWith=zs,n.conformsTo=qs,n.deburr=rc,n.defaultTo=$c,n.divide=lp,n.endsWith=ic,n.eq=Vs,n.escape=oc,n.escapeRegExp=ac,n.every=is,n.find=Xu,n.findIndex=ca,n.findKey=$l,n.findLast=Yu,n.findLastIndex=fa,n.findLastKey=Al,n.floor=cp,n.forEach=cs,n.forEachRight=fs,n.forIn=Sl,n.forInRight=Ol,n.forOwn=Ml,n.forOwnRight=El,n.get=Fl,n.gt=hh,n.gte=ph,n.has=Rl,n.hasIn=Bl,n.head=ga,n.identity=Ac,n.includes=us,n.indexOf=va,n.inRange=tc,n.invoke=Nh,n.isArguments=dh,n.isArray=gh,n.isArrayBuffer=vh,n.isArrayLike=Hs,n.isArrayLikeObject=Us,n.isBoolean=Ws,n.isBuffer=mh,n.isDate=yh,n.isElement=Zs,n.isEmpty=Js,n.isEqual=Gs,n.isEqualWith=Xs,n.isError=Ys,n.isFinite=Ks,n.isFunction=Qs,n.isInteger=tl,n.isLength=el,n.isMap=bh,n.isMatch=il,n.isMatchWith=ol,n.isNaN=al,n.isNative=sl,n.isNil=cl,n.isNull=ll,n.isNumber=fl,n.isObject=nl,n.isObjectLike=rl,n.isPlainObject=ul,n.isRegExp=_h,n.isSafeInteger=hl,n.isSet=xh,n.isString=pl,n.isSymbol=dl,n.isTypedArray=wh,n.isUndefined=gl,n.isWeakMap=vl,n.isWeakSet=ml,n.join=ya,n.kebabCase=qh,n.last=ba,n.lastIndexOf=_a,n.lowerCase=Vh,n.lowerFirst=Hh,n.lt=kh,n.lte=Ch,n.max=Wc,n.maxBy=Zc,n.mean=Jc,n.meanBy=Gc,n.min=Xc,n.minBy=Yc,n.stubArray=Dc,n.stubFalse=zc,n.stubObject=Ic,n.stubString=Lc,n.stubTrue=qc,n.multiply=fp,n.nth=xa,n.noConflict=Pc,n.noop=Nc,n.now=rh,n.pad=sc,n.padEnd=lc,n.padStart=cc,n.parseInt=fc,n.random=ec,n.reduce=ds,n.reduceRight=gs,n.repeat=uc,n.replace=hc,n.result=Hl,n.round=up,n.runInContext=t,n.sample=ms,n.size=_s,n.snakeCase=Uh,n.some=xs,n.sortedIndex=Aa,n.sortedIndexBy=Sa,n.sortedIndexOf=Oa,n.sortedLastIndex=Ma,n.sortedLastIndexBy=Ea,n.sortedLastIndexOf=Pa,n.startCase=Wh,n.startsWith=dc,n.subtract=hp,n.sum=Kc,n.sumBy=Qc,n.template=gc,n.times=Vc,n.toFinite=bl,n.toInteger=_l,n.toLength=xl,n.toLower=vc,n.toNumber=wl,n.toSafeInteger=Cl,n.toString=Tl,n.toUpper=mc,n.trim=yc,n.trimEnd=bc,n.trimStart=_c,n.truncate=xc,n.unescape=wc,n.uniqueId=Uc,n.upperCase=Zh,n.upperFirst=Jh,n.each=cs,n.eachRight=fs,n.first=ga,Ec(n,function(){var t={};return er(n,function(e,r){gf.call(n.prototype,r)||(t[r]=e)}),t}(),{chain:!1}),n.VERSION=ot,c(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){n[t].placeholder=n}),c(["drop","take"],function(t,e){_.prototype[t]=function(n){var r=this.__filtered__;if(r&&!e)return new _(this);n=n===it?1:Hf(_l(n),0);var i=this.clone();return r?i.__takeCount__=Uf(n,i.__takeCount__):i.__views__.push({size:Uf(n,Ft),type:t+(i.__dir__<0?"Right":"")}),i},_.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),c(["filter","map","takeWhile"],function(t,e){var n=e+1,r=n==At||n==Ot;_.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:yo(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}}),c(["head","last"],function(t,e){var n="take"+(e?"Right":"");_.prototype[t]=function(){return this[n](1).value()[0]}}),c(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");_.prototype[t]=function(){return this.__filtered__?new _(this):this[n](1)}}),_.prototype.compact=function(){return this.filter(Ac)},_.prototype.find=function(t){return this.filter(t).head()},_.prototype.findLast=function(t){return this.reverse().find(t)},_.prototype.invokeMap=ni(function(t,e){return"function"==typeof t?new _(this):this.map(function(n){return Tr(n,t,e)})}),_.prototype.reject=function(t){return this.filter(Os(yo(t)))},_.prototype.slice=function(t,e){t=_l(t);var n=this;return n.__filtered__&&(t>0||e<0)?new _(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==it&&(e=_l(e),n=e<0?n.dropRight(-e):n.take(e-t)),n)},_.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},_.prototype.toArray=function(){return this.take(Ft)},er(_.prototype,function(t,e){var r=/^(?:filter|find|map|reject)|While$/.test(e),o=/^(?:head|last)$/.test(e),a=n[o?"take"+("last"==e?"Right":""):e],s=o||/^find/.test(e);a&&(n.prototype[e]=function(){var e=this.__wrapped__,l=o?[1]:arguments,c=e instanceof _,f=l[0],u=c||gh(e),h=function(t){var e=a.apply(n,v([t],l));return o&&p?e[0]:e};u&&r&&"function"==typeof f&&1!=f.length&&(c=u=!1);var p=this.__chain__,d=!!this.__actions__.length,g=s&&!p,m=c&&!d;if(!s&&u){e=m?e:new _(this);var y=t.apply(e,l);return y.__actions__.push({func:Xa,args:[h],thisArg:it}),new i(y,p)}return g&&m?t.apply(this,l):(y=this.thru(h),g?o?y.value()[0]:y.value():y)})}),c(["pop","push","shift","sort","splice","unshift"],function(t){var e=ff[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",i=/^(?:pop|shift)$/.test(t);n.prototype[t]=function(){var t=arguments;if(i&&!this.__chain__){var n=this.value();return e.apply(gh(n)?n:[],t)}return this[r](function(n){return e.apply(gh(n)?n:[],t)})}}),er(_.prototype,function(t,e){var r=n[e];if(r){var i=r.name+"",o=ru[i]||(ru[i]=[]);o.push({name:e,func:r})}}),ru[Yi(it,pt).name]=[{name:"wrapper",func:it}],_.prototype.clone=S,_.prototype.reverse=Y,_.prototype.value=et,n.prototype.at=Ju,n.prototype.chain=Ya,n.prototype.commit=Ka,n.prototype.next=Qa,n.prototype.plant=es,n.prototype.reverse=ns,n.prototype.toJSON=n.prototype.valueOf=n.prototype.value=rs,n.prototype.first=n.prototype.head,Mf&&(n.prototype[Mf]=ts),n},br=yr();nr._=br,r=function(){return br}.call(e,n,e,i),!(r!==it&&(i.exports=r))}).call(this)}).call(e,function(){return this}(),n(229)(t))},function(t,e,n){var r,i;n(222),r=n(62);var o=n(206);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,i._scopeId="data-v-763ea1ba",t.exports=r},function(t,e,n){var r,i;n(219),r=n(73);var o=n(203);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,i._scopeId="data-v-699ae618",t.exports=r},function(t,e,n){var r,i;n(220),r=n(76);var o=n(204);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,i._scopeId="data-v-6b5883e1",t.exports=r},function(t,e,n){var r,i;r=n(79);var o=n(200);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,t.exports=r},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(87),o=r(i),a=n(85),s=r(a),l=n(227);e.default={data:function(){return{items:[],query:"",current:-1,loading:!1,selectFirst:!1,queryParamName:"q"}},computed:{hasItems:function(){return this.items.length>0},isEmpty:function(){return!this.query},isDirty:function(){return!!this.query}},methods:{update:function(){var t=this;return this.query?void(this.minChars&&this.query.length0?this.current--:this.current===-1?this.current=this.items.length-1:this.current=-1},down:function(){this.currentn.h?(n.y=Math.max(0,n.y-(n.w*s-n.h)/2),n.h=n.w*s):(n.x=Math.max(0,n.x-(n.h/s-n.w)/2),n.w=n.h/s),t=[n.x,n.y,n.w,n.h],!!n&&t.join(" ")},zoom:function(t){var e=this.$refs.smallSvgWrapper;if(this.$options.ZOOM_OUT===t){var n=[0,0,e.getAttribute("width"),e.getAttribute("height")];e.setAttribute("viewBox",n.join(" ")),this.canZoom=!0}this.$options.ZOOM_IN===t&&(e.setAttribute("viewBox",this.computeCentreredViewBox()),this.canZoom=!1)},setDrawingMode:function(t,e){this.initialDrawingMode||(this.initialDrawingMode=t);var e="boolean"!=typeof e||e;this.mode=this.$options["MODE_"+t],this.isRect=this.mode===this.$options.MODE_RECT,e&&this.drawingComponent.setDrawingMode(this.mode)},cancel:function(){this.formView=!0;var t=this.$refs.currentPath.getAttribute("d");t.length&&this.initialDrawingMode&&(t+=";"+this.initialDrawingMode,this.drawingComponent.setPath(t))},highLightZone:function(){this.displayMask?this.displayMask=!1:this.displayMask=!0},displayEditedPath:function(){this.drawingComponent.getPath()},resetZoom:function(){this.zoom(this.$options.ZOOM_OUT)},showEditor:function(){this.formView=!1,this.resetZoom()},showForm:function(){this.normalizePath=this.drawingComponent.getPath();var t=this.$refs.smallImage;this.formView=!0;var e=t.getAttribute("width")/100,n=t.getAttribute("height")/100,r=[e,0,0,n,0,0].join(",");this.transformMatrix="matrix("+r+")",this.fragmentPath=this.normalizePath.split(";")[0]},clear:function(){this.drawingComponent.clear()}}}},function(t,e,n){(function(t){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}Object.defineProperty(e,"__esModule",{value:!0});var o,a=n(192),s=r(a);e.default=(o={components:{modalpanel:s.default},mounted:function(){},props:["transform-matrix","image-path","image-height","image-width"],data:function(){return{diffText:"",tagMode:!1,textMode:!1,fragmentMode:!1,originalPath:"",modifiedPath:"",tags:[]}}},i(o,"mounted",function(){return!1}),i(o,"computed",{matrixTransform:function t(){var t="";return this.transformMatrix&&(t="matrix("+this.transformMatrix+")"),t}}),i(o,"methods",{setContent:function(t){this.$refs.modalcontent.appendChild(t)},switchMode:function(t){ -var e=["tagMode","textMode","fragmentMode"];this.tagMode=!1,this.textMode=!1,this.fragmentMode=!1,e.indexOf(t)!==-1&&(this[t]=!0)},showTagDiff:function(t,e){this.switchMode("tagMode");var n=iconolab.JsonDiff.diff(t,e),r=[];if(t.forEach(function(t,i){var t=JSON.parse(JSON.stringify(t)),o=n["_"+i],a=n[i];return o||a||r.push(t),Array.isArray(o)?(t.action="del",r.push(t),!0):a&&(a.tag_label||a.relevancy||a.accuracy)?(t.action=a.tag_label?"replace":"update",t.new_label=e[i].tag_label,t.new_accuracy=e[i].accuracy,t.new_relevancy=e[i].relevancy,r.push(t),!0):Array.isArray(a)?(t.action="add",r.push(e[i]),!0):void 0}),t.length").append(i).html()},showFragmentDiff:function(t,e){this.switchMode("fragmentMode"),this.originalPath=t,this.modifiedPath=e},show:function(){this.$refs.panel.show()},hide:function(){this.$refs.panel.hide()}}),o)}).call(e,n(1))},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(36),o=r(i),a=n(53),s=r(a),l={title:"",description:"",fragment:"",tags:[],readonly:!0};e.default={props:{action:String,annotation:{type:Object,default:function(){return null}}},components:{"tag-list":o.default},data:function(){return l},watch:{annotation:function(t){t?Object.assign(this,{title:t.title,description:t.description,fragment:t.fragment,tags:t.tags.slice(),readonly:!0}):this.reset()}},computed:{formAction:function(){if(this.annotation)return this.action.replace(":annotation_guid",this.annotation.annotation_guid)},serializedTags:function(){var t=this.tags.map(function(t){return{tag_input:"string"==typeof t.tag_link&&t.tag_link.length?t.tag_link:t.tag_label,tag_label:t.tag_label,accuracy:t.accuracy,relevancy:t.relevancy}});return JSON.stringify(t)},hasChanged:function(){return!!this.annotation&&(this.title!==this.annotation.title||this.description!==this.annotation.description||!s.default.isEqual(this.annotation.tags,this.tags))}},methods:{onTagsChange:function(t){this.tags=t},reset:function(){Object.assign(this,l)}}}},function(t,e,n){(function(t){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(6),o=r(i),a=n(188),s=r(a),l=n(187),c=r(l),f=n(190),u=r(f);e.default={props:{image:String,thumbnail:String,annotation:{type:Object,default:null},tooltip:{type:Boolean,default:!1}},components:{shapeRect:s.default,shapeFree:c.default,zoomThumbnail:u.default},data:function(){return{paper:null,loaded:!1,mode:"rect",viewport:{width:0,height:0},viewBox:[0,0,0,0],zoomFactor:.1,scale:1,imgMinSize:0,imageWidth:0,imageHeight:0,readonly:!1}},computed:{canvasClass:function(){return{"canvas--rect":!this.readonly&&"rect"===this.mode,"canvas--free":!this.readonly&&"free"===this.mode}}},watch:{mode:function(t){this.reset(),"free"===t&&this.handleDrawFree(),"rect"===t&&this.handleDrawRect()},loaded:function(t){if(t){var e=this.paper.node.getBoundingClientRect();console.log("Viewport: %s x %s",e.width,e.height);var n=[0,0,this.imageWidth,this.imageHeight],r={width:e.width,height:e.height};Object.assign(this,{viewBox:n,viewport:r});var i=15*Math.min(n[2],n[3])/r.width;this.$refs.rect.handlerSize=i,this.$refs.free.handlerRadius=i/2,this.paper.attr({viewBox:this.viewBox}),this.annotation?this.loadAnnotation():("free"===this.mode&&this.handleDrawFree(),"rect"===this.mode&&this.handleDrawRect())}},annotation:function(t){this.reset(),this.readonly=!!t,this.annotation&&this.loadAnnotation()},scale:function(t){var e=this,n=0;if(t>1&&(n=t-1),1===t)this.resetViewBox();else{var r=this.getCenter(),i=this.imgMinSize-this.imgMinSize*n,o=i,a=[r.x-i/2,r.y-o/2,i,o];this.hideTooltip(),this.animateViewBox(a,function(){return e.showTooltip()})}}},mounted:function(){var t=this,e=new Image;e.onload=function(n){t.paper=new o.default(t.$refs.svg),t.imgMinSize=Math.min(e.width,e.height),console.log("Image: %s x %s",e.width,e.height),Object.assign(t,{imageWidth:e.width,imageHeight:e.height,loaded:!0})},e.src=this.image},methods:{hideTooltip:function(){"free"===this.mode&&this.$refs.free.hideTooltip(),"rect"===this.mode&&this.$refs.rect.hideTooltip()},showTooltip:function(){"free"===this.mode&&this.$refs.free.showTooltip(),"rect"===this.mode&&this.$refs.rect.showTooltip()},reset:function(){this.$refs.rect.clear(),this.$refs.free.clear(),this.removeEventHandlers(),this.resetZoom(),this.resetViewBox(),"free"===this.mode&&this.handleDrawFree(),"rect"===this.mode&&this.handleDrawRect()},removeEventHandlers:function(){this.paper.unmousedown(),this.paper.unmousemove(),this.paper.unmouseup(),this.paper.unclick()},loadAnnotation:function(){var t=this;if(this.annotation.fragment.length>0){var e=this.annotation.fragment.split(";"),n=e[0],r=e[1].toLowerCase();this.mode=r,this.$nextTick(function(){n=t.denormalizePath(n),"free"===r&&t.$refs.free.fromSVGPath(n,t.tooltip),"rect"===r&&t.$refs.rect.fromSVGPath(n,t.tooltip)})}},setMode:function(t){this.readonly||(this.mode=t)},getCenter:function(){return{x:this.viewBox[0]+this.viewBox[2]/2,y:this.viewBox[1]+this.viewBox[3]/2}},changeViewBox:function(t){var e=this.viewBox.slice();e[0]=t.x,e[1]=t.y,this.paper.attr({viewBox:e})},resetZoom:function(){this.scale=1,this.$refs.thumbnail.reset()},animateViewBox:function(t,e){var n=this,r=this.viewBox.slice();o.default.animate(r,t,function(t){return n.paper.attr({viewBox:t})},350,mina.easeinout,function(){n.viewBox=t,e&&e()})},resetViewBox:function(){this.animateViewBox([0,0,this.imageWidth,this.imageHeight])},zoomIn:function(){this.scale>=1.9||(this.scale=this.scale+1*this.zoomFactor)},zoomOut:function(){1!==this.scale&&(this.scale=this.scale-1*this.zoomFactor)},zoomOffset:function(){return{x:this.viewport.width/this.viewBox[2],y:this.viewport.height/this.viewBox[3]}},computeOffset:function(t){var e=this.$refs.image.getBoundingClientRect(),n=this.zoomOffset(),r=(t.clientX-e.left)/Math.min(n.x,n.y),i=(t.clientY-e.top)/Math.min(n.x,n.y);return{x:r,y:i}},computeHandlerSize:function(t){return 60*Math.min(this.viewBox[2],this.viewBox[3])/this.imageWidth},normalizePath:function(t){var e=100/this.imageWidth,n=100/this.imageHeight;if(isNaN(e)||isNaN(n))throw new Error("Ratio should be a number.");var r=o.default.matrix(e,0,0,n,0,0);return t=o.default.path.map(t,r).toString(),t.search(/[z|Z]/gi)===-1&&(t+=" Z"),t},denormalizePath:function(t){var e=this.imageWidth/100,n=this.imageHeight/100;if(isNaN(e)||isNaN(n))throw new Error("Ratio should be a number.");var r=o.default.matrix(e,0,0,n,0,0);return t=o.default.path.map(t,r).toString(),t.search(/[z|Z]/gi)===-1&&(t+=" Z"),t},toSVGPath:function(){"free"===this.mode&&this.$refs.free.toSVGPath(),"rect"===this.mode&&this.$refs.rect.toSVGPath()},handleDrawFree:function(){var e=this;this.removeEventHandlers();var n,r=function(t,e){n=null,this.$refs.free.addPoint(t,e)};this.paper.click(function(i){if(!n&&t(i.target).is("image")&&!e.$refs.free.closed){var o=e.computeOffset(i),a=o.x,s=o.y;n=setTimeout(r.bind(e,a,s),190)}})},handleDrawRect:function(){var t=this;this.removeEventHandlers();var e={x:0,y:0},n={x:0,y:0},r=!1;this.paper.mousedown(function(n){t.$refs.rect.width>0&&t.$refs.rect.height>0||(e=t.computeOffset(n),r=!0)}),this.paper.mousemove(function(i){if(r){var o,a;n=t.computeOffset(i);var s=Math.abs(n.x-e.x),l=Math.abs(e.y-n.y);n.y>e.y&&n.x>e.x&&(o=e.x,a=e.y),n.ye.x&&(o=n.x-s,a=n.y),n.ye.y&&n.x2&&(e.closed=!0,e.$nextTick(function(){setTimeout(function(){return e.addTooltip()},250)}))}),r.dblclick(function(t){var n=new o.default(t.target),r=parseInt(n.attr("data-key"),10);e.points.splice(r,1)});var a={onMove:function(t,e,r,o,a){i=!0;var s=n.$parent.computeOffset(a);this.attr({cx:s.x,cy:s.y});var l=parseInt(this.attr("data-key"),10);n.points.splice(l,1,{x:s.x,y:s.y})},onStart:function(){return e.hideTooltip()},onEnd:function(t){i&&(i=!1,n.showTooltip())}};r.drag(a.onMove,a.onStart,a.onEnd)},addResizeHandlers:function(){var t=this;this.$refs.handlers.forEach(function(e){return t.addResizeHandler(e)})}}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(6),o=r(i),a=n(41),s=r(a),l=n(40),c=r(l);e.default={mixins:[s.default,c.default],props:["paper","original-annotation","tooltip","readonly"],data:function(){return{transform:"translate(0, 0)",isResizing:!1,x:0,y:0,width:0,height:0,handlerSize:60}},computed:{showResizeHandlers:function(){return!this.readonly&&this.width>0&&this.height>0}},mounted:function(){var t=this,e={onMove:function(e,n){if(!t.isResizing&&!t.readonly){var r=this.transform().diffMatrix.invert();r.e=r.f=0;var i=r.x(e,n),o=r.y(e,n),a=this.data("origTransform")+(this.data("origTransform")?"T":"t")+[i,o];this.transform(a)}},onStart:function(){t.readonly||(this.data("origTransform",this.transform().local),t.$emit("drag:start"))},onEnd:function(){return t.$emit("drag:end")}},n=new o.default(this.$refs.g);n.drag(e.onMove,e.onStart,e.onEnd)},watch:{x:function(t,e){this.transform="translate("+this.x+", "+this.y+")"},y:function(t,e){this.transform="translate("+this.x+", "+this.y+")"}},methods:{clear:function(){var t=new o.default(this.$refs.shape),e=new o.default(this.$refs.topLeft),n=new o.default(this.$refs.bottomRight);t.node.removeAttribute("transform"),e.node.removeAttribute("transform"),n.node.removeAttribute("transform"),this.destroyTooltip(),Object.assign(this,{transform:"translate(0, 0)",x:0,y:0,width:0,height:0})},getTooltipTarget:function(){return this.$refs.shape},addResizeHandlers:function(){var t=this,e=new o.default(this.$refs.shape),n=new o.default(this.$refs.topLeft),r=new o.default(this.$refs.bottomRight),i={onMove:function(t,i){var o=this.transform().diffMatrix.invert();o.e=o.f=0;var a=o.x(t,i),s=o.y(t,i);this.transform("t"+[a,s]+this.data("origTransform"));var l=r.getBBox().x-n.getBBox().x,c=r.getBBox().y-n.getBBox().y,f={width:l,height:c};this===n&&(f.transform=e.data("origTransform")+(e.data("origTransform")?"T":"t")+[a,s]),e.attr(f)},onStart:function(){t.isResizing=!0,e.data("origTransform",e.transform().local),this.data("origTransform",this.transform().local)},onEnd:function(){t.isResizing=!1}};n.drag(i.onMove,i.onStart,i.onEnd),r.drag(i.onMove,i.onStart,i.onEnd)},fromSVGPath:function(t,e){var n=this,r=o.default.path.getBBox(t);Object.assign(this,{x:r.x,y:r.y,width:r.width,height:r.height}),this.$nextTick(function(){n.addResizeHandlers(),e&&setTimeout(function(){return n.addTooltip()},250)})},toSVGPath:function(){var t,e=new o.default(this.$refs.shape),n=e.getBBox(),r=e.transform();if(r.global.length){var i=e.node.getAttribute("x"),a=e.node.getAttribute("y"),s=r.totalMatrix,l=this.paper.rect(s.x(i,a),s.y(i,a),n.width,n.height);t=l.getBBox().path,l.remove()}else t=e.getBBox().path;var c=o.default.path.toAbsolute(t).toString();return this.$parent.normalizePath(c)+";RECT"}}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(36),o=r(i);e.default={props:["original-title","original-description","original-tags"],components:{"tag-list":o.default},data:function(){return{title:"",description:"",tags:[],error:!1}},computed:{titleFormGroup:function(){return{"has-error":this.error}}},mounted:function(){var t=this;this.originalTitle&&(this.title=this.originalTitle),this.originalDescription&&(this.description=this.originalDescription),this.$on("error",function(e){e.title&&(t.error=!0)})},methods:{close:function(t){t.preventDefault(),this.$emit("close")},save:function(t){return t.preventDefault(),this.error=!1,0===this.title.trim().length?void this.$emit("error",{title:!0}):void this.$emit("save",{title:this.title,description:this.description,tags:this.$refs.taglist.tags})}}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(6),o=r(i);e.default={props:["image","viewport","viewBox","imageWidth","imageHeight"],data:function(){return{thumbnailWidth:0,thumbnailHeight:0,loaded:!1}},computed:{x:function(){return this.viewBox[0]*this.getRatioX()},y:function(){return this.viewBox[1]*this.getRatioY()},width:function(){return this.viewBox[2]*this.getRatioX()},height:function(){return this.viewBox[3]*this.getRatioY()}},methods:{reset:function(){var t=new o.default(this.$refs.handler);t.node.removeAttribute("transform")},getRatioX:function(){return 0===this.imageWidth?0:this.thumbnailWidth/this.imageWidth},getRatioY:function(){return 0===this.imageHeight?0:this.thumbnailHeight/this.imageHeight}},mounted:function(){var t=this,e=new o.default(this.$refs.svg),n=new o.default(this.$refs.handler),r=new Image;r.onload=function(i){var o=t;e.attr({viewBox:[0,0,r.width,r.height]}),Object.assign(t,{thumbnailWidth:r.width,thumbnailHeight:r.height,loaded:!0});var a={onMove:function(t,e,n,r){var i=this.transform().diffMatrix.invert();i.e=i.f=0;var a=i.x(t,e),s=i.y(t,e),l=this.data("origTransform")+(this.data("origTransform")?"T":"t")+[a,s];this.transform(l),o.$emit("change",{x:this.getBBox().x*(o.imageWidth/o.thumbnailWidth),y:this.getBBox().y*(o.imageHeight/o.thumbnailHeight)})},onStart:function(){this.data("origTransform",this.transform().local),o.$emit("dragstart")},onEnd:function(){o.$emit("dragend")}};n.drag(a.onMove,a.onStart,a.onEnd)},r.src=this.image}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(37),o=r(i),a=n(54),s=r(a);e.default={data:function(){return{}},components:{Typeahead:o.default,diffviewer:s.default},mounted:function(){this.targetKeyMap={title:"proposal-title",desc:"proposal-description",frag:"proposal-fragment"},this.targetFieldTypeMap={title:"input",desc:"input",frag:"frag"},this.originalValues={title:"",desc:"",frag:""}},methods:{pickProposition:function(t,e,n){var r="",i=document.getElementById(e),o=this.$refs[this.targetKeyMap[n]],a=this.targetFieldTypeMap[n];if(!a)throw new Error("A target type must be provided...");if("input"===a&&(r=o.value,o.value=i.value),"frag"===a){r=o.getAttribute("d");var s=i.getAttribute("d");o.getAttribute("data-path-type");o.setAttribute("d",s);var l=i.getAttribute("data-path-type");l=l||"FREE";var c=this.$refs["fragment-field"];c.value=s+";"+l}this.preserveOriginalValue(n,r)},pickTag:function(t,e){var n=this.$refs[e],r=this.$refs["proposal-tags"];this.preserveOriginalValue("proposal-tags",r.tags),r.setTags(n.tags,!0)},preserveOriginalValue:function(t,e){this.originalValues[t]||(this.originalValues[t]=e)},showDiffviewer:function(t,e,n){var r=document.getElementById(e),i=this.$refs[this.targetKeyMap[n]],o=this.targetFieldTypeMap[n],a=this.$refs[t];if(!a)throw new Error("The DiffViewer can't be found for "+n);if("input"===o&&a.showTextDiff(r.value,i.value),"tag"===n){var s=this.$refs[e],l=this.$refs["proposal-tags"];0!==s.tags.length&&0!==l.tags.length&&a.showTagDiff(s.tags,l.tags)}if("frag"===n){var c=i.getAttribute("d"),f=r.getAttribute("d");a.showFragmentDiff(c,f)}a.show()},hightlightSource:function(t){t.className+="highlight"},save:function(){alert("this is it ... ")}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:["close-with-escape"],data:function(){return{display:!1}},methods:{close:function(){this.display=!1},show:function(){this.display=!0}}}},function(t,e,n){(function(t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:["original-value"],data:function(){return{value:this.originalValue}},watch:{originalValue:function(t){this.value=t}},mounted:function(){this.originalValue&&(this.value=this.originalValue)},methods:{animate:function(){var t,e=0,n=1,r=function r(){return 5===this.value&&(n=-1),1===this.value&&(n=1),this.value+=n,10===++e?(clearTimeout(t),void(null===this.originalValue&&(this.value=null))):void(t=setTimeout(r.bind(this),100))};r.apply(this)},onMouseEnter:function(e){var n=t(e.target).data("value");this.$refs.buttons.forEach(function(e){t(e).data("value")<=n?t(e).addClass("btn--highlight"):t(e).removeClass("btn--highlight")})},onMouseLeave:function(e){var n=this;this.value?this.$refs.buttons.forEach(function(e){t(e).data("value")<=n.value?t(e).addClass("btn--highlight"):t(e).removeClass("btn--highlight")}):this.$refs.buttons.forEach(function(e){t(e).removeClass("btn--highlight")})},onClick:function(e){var n=parseInt(t(e.target).data("value"));this.value=n,this.$emit("change",{value:n})}}}}).call(e,n(1))},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(193),o=r(i),a=n(56),s=r(a),l=n(53),c=r(l);e.default={props:{originalTags:{type:Array,default:function(){return[]}},readonly:{type:Boolean,default:!1}},data:function(){return{tags:c.default.cloneDeep(this.originalTags)}},components:{typeahead:s.default,"tag-list-item":o.default},watch:{originalTags:function(t){this.tags=c.default.cloneDeep(this.originalTags),this.hideAll()},tags:function(t){this.$emit("change",{tags:t})}},mounted:function(){var t=this;this.$refs.typeahead.$on("selected",function(e){t.tags.push(e)})},methods:{hideAll:function(){this.$refs.items&&this.$refs.items.forEach(function(t){return t.hide()})},replaceItemAt:function(t,e){var n=this.tags[t];Object.assign(n,e),this.tags.splice(t,1,n)},removeItemAt:function(t){this.tags.$remove(this.tags[t])}}}},function(t,e,n){(function(t){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(55),o=r(i),a=n(56),s=r(a);e.default={props:["index","label","accuracy","relevancy","readonly"],components:{typeahead:s.default,"color-buttons":o.default},data:function(){return{isNew:!0}},computed:{accuracyTitle:function(){return"Fiabilité : "+this.accuracy},relevancyTitle:function(){return"Pertinence : "+this.relevancy}},watch:{accuracy:function(t){this.isNew&&this.isComplete()&&(this.isNew=!1,this.hide())},relevancy:function(t){this.isNew&&this.isComplete()&&(this.isNew=!1,this.hide())}},mounted:function(){this.isNew=!this.accuracy&&!this.relevancy,this.$refs.accuracy.value=this.accuracy,this.$refs.relevancy.value=this.relevancy,t(this.$el).find(".collapse").collapse({toggle:!1}),this.isNew&&(this.$parent.hideAll(),this.show(),this.$refs.accuracy.animate())},methods:{isComplete:function(){return this.accuracy&&this.relevancy},onChange:function(t,e){var n={};n[t]=e,this.$parent.replaceItemAt(this.index,n)},show:function(){t(this.$el).find(".collapse").collapse("show")},hide:function(){t(this.$el).find(".collapse").collapse("hide")},toggle:function(e){e.preventDefault(),this.readonly||(this.$parent.hideAll(),t(this.$el).find(".collapse").collapse("toggle"))},remove:function(t){t.preventDefault(),t.stopPropagation(),this.readonly||this.$parent.removeItemAt(this.index)}}}}).call(e,n(1))},function(t,e,n){(function(t){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(58),o=r(i),a="https://lookup.dbpedia.org/api/search/PrefixSearch?MaxHits=5",s="https://fr.wikipedia.org/w/api.php",l={reset:o.default.methods.reset},c=function(e,n){var r=t.Deferred();t.getJSON(e,n).done(function(t){var e={};e.data=t,r.resolve(e)}).fail(r.reject);return r.promise()};e.default={mixins:[o.default],props:{placeholder:String,readonly:{type:Boolean,default:!1}},data:function(){return{src:a,limit:7,minChars:2,showAddButton:!1,datasource:"wikipedia",selectedTags:"[]",items:[],queryParamName:"QueryString"}},methods:{checkQuery:function(){0===this.query.length&&this.reset()},fetch:function(){if("wikipedia"===this.datasource)return this.fetchWikiPedia();var t={};return t[this.queryParamName]=this.query,c(this.src,query)},fetchWikiPedia:function(){this.src=s;var e={action:"opensearch",format:"json",search:this.query},n=t.Deferred();return t.ajax({url:this.src,data:e,dataType:"jsonp",success:function(t){var e={};e.data=t,n.resolve(e)}}),n.promise()},reset:function(){this.showAddButton=!1,l.reset.call(this)},prepareWikipediaResponse:function(t){var e=[];if(4!==t.length)return e;var n=t[1],r=t[3];return n.length===r.length?(n.map(function(t,n){var i={};i.tag_label=t;var o=r[n];o=o.replace("https://fr.wikipedia.org/wiki/","http://fr.dbpedia.org/resource/"),i.tag_link=decodeURI(o),i.accuracy=null,i.relevancy=null,e.push(i)}),e):void 0},prepareResponseData:function(t){var e="string"==typeof t?JSON.parse(t):t;return"wikipedia"===this.datasource&&(e=this.prepareWikipediaResponse(e)),Array.isArray(e)&&!e.length&&(this.showAddButton=!0),e},onHit:function(t){this.$emit("selected",t),this.reset()}}}}).call(e,n(1))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(7);e.default={data:function(){return{tags:[],readOnly:!1}},methods:{removeTag:function(t){this.tags.$remove(t),this.normalizeSelectedTags()},reset:function(){this.tags=[],this.normalizeSelectedTags()},tagAlreadyExists:function(t){var e=!1,n=this.tags.find(function(e){if(e.tag_link){if(e.tag_link===t.tag_link)return!0}else if(e.tag_label===t.tag_label)return!0});if(n){var r=this.$refs[n.id][0];r.style.border="1px solid red",setTimeout(function(){r.style.border=""},1e3),e=!0}return e},setTags:function(t){Array.isArray(t)||new Error("setTags expects an array!");var e=this;t.map(function(t){e.addTag(t)})},addTag:function(t){return!this.tagAlreadyExists(t)&&void(t&&t.hasOwnProperty("tag_label")&&(t.id||(t.id=(0,r.generateId)("tag_")),this.tags.push(t),this.normalizeSelectedTags()))},normalizeSelectedTags:function(){var t=[];this.tags.map(function(e){var n={};n.tag_input="string"==typeof e.tag_link&&e.tag_link.length?e.tag_link:e.tag_label,n.accuracy=e.accuracy,n.relevancy=e.relevancy,t.push(n)}),this.$parent.$data.selectedTags=JSON.stringify(t)},updateAccuracy:function(t,e){e.accuracy=t.target.value,this.normalizeSelectedTags()},updatePertinence:function(t,e){e.relevancy=t.target.value,this.normalizeSelectedTags()}}}},function(t,e,n){(function(t){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(58),o=r(i),a=n(194),s=r(a),l="https://lookup.dbpedia.org/api/search/PrefixSearch?MaxHits=5",c="https://fr.wikipedia.org/w/api.php",f={reset:o.default.methods.reset},u=function(e,n){var r=t.Deferred();t.getJSON(e,n).done(function(t){var e={};e.data=t,r.resolve(e)}).fail(r.reject);return r.promise()};e.default={mixins:[o.default],components:{taglist:s.default},props:["tags","read-only"],mounted:function(){this.taglist=this.$refs.taglist,this.taglist.readOnly=this.readOnly,this.setTags(this.tags)},data:function(){return{src:l,limit:7,minChars:2,showAddButton:!1,datasource:"wikipedia",selectedTags:"[]",items:[],queryParamName:"QueryString",placeholder:"..."}},methods:{setTags:function(t,e){t=Array.isArray(t)?t:[],e="boolean"==typeof e&&e,e&&this.taglist.reset(),this.taglist.setTags(t)},checkQuery:function(){0===this.query.length&&this.reset()},fetch:function(){if("wikipedia"===this.datasource)return this.fetchWikiPedia();var t={};return t[this.queryParamName]=this.query,u(this.src,query)},fetchWikiPedia:function(){this.src=c;var e={action:"opensearch",format:"json",search:this.query},n=t.Deferred();return t.ajax({url:this.src,data:e,dataType:"jsonp",success:function(t){var e={};e.data=t,n.resolve(e)}}),n.promise()},reset:function(){this.showAddButton=!1,f.reset.call(this)},prepareWikipediaResponse:function(t){var e=[];if(4!==t.length)return e;var n=t[1],r=t[3];return n.length===r.length?(n.map(function(t,n){var i={};i.tag_label=t;var o=r[n];o=o.replace("https://fr.wikipedia.org/wiki/","http://fr.dbpedia.org/resource/"),i.tag_link=decodeURI(o),i.accuracy=1,i.relevancy=1,e.push(i)}),e):void 0},prepareResponseData:function(t){var e="string"==typeof t?JSON.parse(t):t;return"wikipedia"===this.datasource&&(e=this.prepareWikipediaResponse(e)),Array.isArray(e)&&!e.length&&(this.showAddButton=!0),e},addTag:function(){if(this.hasItems)return!1;var t={tag_label:this.query,accuracy:1,relevancy:1};this.$refs.taglist.addTag(t),this.reset()},onHit:function(t){this.$refs.taglist.addTag(t),this.reset()}}}}).call(e,n(1))},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(7),o=n(39),a=r(o),s=n(6),l=r(s);e.default={props:["image-url","image-width","image-height","zoomTarget","main-image-id"],mounted:function(){this.root=new l.default(this.$refs["root-svg"]),this.handler=this.root.select("#zoom-handler"),this.image=this.root.select("#small-image"),this.root.attr({width:101,height:101});var t=parseInt(this.image.attr("width")),e=parseInt(this.image.attr("height"));this.root.attr({viewBox:[0,0,t,e]}),this.imgMinSize=Math.min(t,e),this.handlerSize=20,this.handler.attr({width:this.handlerSize,height:this.handlerSize}),this.currentViewBox=null,this.currentViewport=null,this.updateFunction=null;var n=document.getElementById("zoomTarget");n&&this.setZoomTarget(n),this.handleEvents()},data:function(){return{showHandler:!1}},methods:{setZoomTarget:function(t){if(t.hasOwnProperty("type")&&"svg"===t.type)this.paper=t;else{this.paper=new l.default(t);var e=this.paper.select("#"+this.mainImageId);if(!e)throw new Error("A main image wasn't found.")}this.zoomHandler=a.default.enable_zoom(this.paper)},incraseDrawingZoom:function(){this.zoomHandler.zoomIn()},resetDrawingZoom:function(){this.zoomHandler.reset()},decreaseDrawingZoom:function(){this.zoomHandler.zoomOut()},handleEvents:function(){i.eventEmitter.on("zoomChanged",this.handleZoomChanged.bind(this));var t=this;this.handler.drag(function(e,n){var r=this.getBBox(),i=this.data("startPosition").x,o=this.data("startPosition").y,a=parseInt(t.image.attr("width")),s=parseInt(t.image.attr("height")),l=i+e,c=o+n;l+r.w>=a&&(l=a-r.w),c+r.h>=s&&(c=s-r.h),l=l<0?0:l,c=c<0?0:c;var f="T"+[l,c];this.attr("transform",f),t.notifyMove(this.getBBox().x,this.getBBox().y)},function(){this.data("startPosition",{x:this.getBBox().x,y:this.getBBox().y}),this.data("origTransform",this.transform().local)},function(){})},moveHandlerToCenter:function(t,e){cx=cx?cx:this.width/2,cy=cy?cy:this.height/2;var n=cx-this.handler.getBBox().w/2,r=cy-this.handler.getBBox().h/2;this.handler.transform("T"+[n,r])},notifyMove:function(t,e){if(i.eventEmitter.emit("moveZoomHandler",{x:t,y:e,viewport:{width:this.image.attr("width"),height:this.image.attr("height")}}),!this.currentViewBox||!this.currentViewport||"function"!=typeof this.updateFunction)return!1;var n=this.currentImageSize.width/this.image.attr("width"),r=this.currentImageSize.height/this.image.attr("height"),o=t*n,a=e*r;this.currentViewBox[0]=o,this.currentViewBox[1]=a,this.updateFunction(this.currentViewBox)},handleZoomChanged:function(t){if(1===t.currentScale)return void(this.showHandler=!1);this.showHandler=!0,this.currentViewport=t.viewport,this.currentViewBox=t.currentViewBox,this.currentImageSize=t.imageSize,this.updateFunction=t.updateFunction;var e=t.currentViewBox[2]*this.imgMinSize/t.minSize;this.handler.attr("width",e),this.handler.attr("height",e);var n=t.currentViewBox[0]*this.image.attr("width")/t.imageSize.width,r=t.currentViewBox[1]*this.image.attr("height")/t.imageSize.height;this.handler.transform("T"+[n,r])}}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(182),o=r(i);e.default={init:function(){return new Vue(o.default)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(7),i=function(t,e,n,r){this.paper=t,this.shape=e,this.handlers=[],this.viewPort=n,this.viewBox=r,this.isResizing=!1,this.currentPosition={},this.HANDLER_SIZE=8,this.SHAPE_MIN_SIZE=20,this.states={},this.noop=function(){},this.init()};i.prototype={init:function(){this.showHandlers()},computeHandlerSize:function(){return this.HANDLER_SIZE*Math.min(this.viewBox[2],this.viewBox[3])/this.viewPort.width},showHandlers:function(){var t=this.shape.getBBox(),e=t.x-this.computeHandlerSize()/2,n=t.y-this.computeHandlerSize()/2,r=this.paper.rect(e,n,this.computeHandlerSize(),this.computeHandlerSize()).attr({fill:"red"});r.addClass("drawingHandler"),this.shape.addClass("drawingHandler");var i={position:"t_r",handler:r};this.handlers.push(i),this.shapesGroup=this.paper.g(this.shape,r),this.attachEvents()},updateShapePositions:function(t,e,n){var r=t.handler.getBBox(),i=this.shape.data("origBbox"),o=(r.x+this.computeHandlerSize()/2,r.y+this.computeHandlerSize()/2,e>0?i.width-e:i.width+Math.abs(e)),a=n>0?i.height-n:i.height+Math.abs(n),s=this.shape.data("origTransform")+(this.shape.data("origTransform")?"T":"t")+[e,n];this.shape.attr({transform:s,width:o,height:a})},dragEvents:{onStart:function(t,e,n,r){this.startPosition={x:r.clientX,y:r.clientY},this.isResizing=!0,this.currentPosition={},t.handler.data("origTransform",t.handler.transform().local), -this.shape.data("origBbox",this.shape.getBBox()),this.shape.data("origBounding",this.shape.node.getBoundingClientRect()),this.shape.data("origTransform",this.shape.transform().local)},onMove:function(t,e,n,r,i,o){var a,s,l=t.handler.transform().diffMatrix.invert();l.e=l.f=0,a=l.x(e,n),s=l.y(e,n),this.currentPosition.x=o.clientX,this.currentPosition.y=o.clientY,this.checkBondaries(e,n)&&(t.handler.transform("t"+[a,s]+t.handler.data("origTransform")),this.updateShapePositions(t,a,s))},onStop:function(){this.isResizing=!1,this.startPosition={},this.currentPosition={}}},checkBondaries:function(t,e){var n=!0,r=this.shape.data("origBounding");this.shape.node.getBoundingClientRect();return r.width-t<=this.SHAPE_MIN_SIZE&&(n=!1),r.height-e<=this.SHAPE_MIN_SIZE&&(n=!1),n},destroy:function(){this.handlers.map(function(t){t.handler.remove()}),delete this},getZoomFactor:function(){return{x:this.viewPort.width/this.viewBox[2],y:this.viewPort.height/this.viewBox[3]}},attachEvents:function(){var t=this;this.handlers.map(function(e){e.handler.drag(t.dragEvents.onMove.bind(t,e),t.dragEvents.onStart.bind(t,e),t.dragEvents.onStop.bind(t,e))}),r.eventEmitter.on("cutout:clear",function(){t.destroy()}),this.shapesGroup.drag(function(e,n){if(!t.isResizing){var r=this.transform().diffMatrix.invert();r.e=r.f=0;var i=r.x(e,n),o=r.y(e,n),a=this.data("origTransform")+(this.data("origTransform")?"T":"t")+[i,o];this.transform(a)}},function(){this.data("origTransform",this.transform().local)},this.noop)}};e.default={enable_resizer:function(t,e,n,r){new i(t,e,n,r)}}},function(t,e,n){(function(t){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(6),o=r(i),a=n(81),s=r(a),l=n(7),c=n(39);r(c);o.default.plugin(function(t,e,n,r){var i=e.prototype;i.toBack=function(){this.prependTo(this.paper)},i.toFront=function(){this.appendTo(this.paper)}}),Element.prototype.getTransformedXY=function(t,e){var n=this.transform().globalMatrix;return{x:n.x(t,e),y:n.y(t,e)}};var f=null,u=null,h=[],p={X:100,Y:100},d={x:1,y:1},g={width:850,height:850},v=[],m=!1,y=null,b=null,_=!1,x=null,w="#ff00ff",k="red",C="orange",T="#FF0000",j=8,$=!1,A=!0,S=!1,O=!0,M="RECT",E=M,P="FREE",N=[M,P],F=null,R=function(){var t=0,e="item_";return function(n){return n="string"==typeof n?n:e,t+=1,n+t}}(),B=function(t){if(m)return void f.path(t).attr({stroke:"red",opacity:.6});var e=o.default.path.getBBox(t);x=f.rect(e.x,e.y,e.width,e.height),x.attr({fill:C,stroke:k,opacity:.6}),b=x,_=!1,S=!0,s.default.enable_resizer(f,b,g,v)},D=function(t){if(m)return void f.path(t).attr({stroke:"orange",fill:"orange",opacity:.5});var e=o.default.parsePathString(t);e.map(function(t){"Z"!==t[0]?J(f,t[1],t[2],h):(S=!0,z(f,L))})},z=function(t,e){var n="M";if(!(h.length<=1)){n+=h[0].x+","+h[0].y;for(var r=0;r2&&(S=!0)},V=function(t,e,n){var r=h.indexOf(t);return r!==-1&&(h[r].x=e,h[r].y=n,!0)},H=function(){v.length||(v=[0,0,parseInt(u.width()),parseInt(u.height())]);var t=j*Math.min(v[2],v[3])/850;return t},U=function(t,e,n,r,i){$=!0;var o,a,s=this.transform().diffMatrix.invert();s.e=s.f=0,o=s.x(t,e),a=s.y(t,e);var l=this.data("origTransform")+(this.data("origTransform")?"T":"t")+[o,a];this.attr({transform:l});var c=this.getBBox(),f=V(this.data("point"),c.x+H()/2,c.y+H()/2);f&&z(this.paper)},W=function(t,e){t.handler.click(q.bind(this,t,e)),t.handler.hover(function(){t.handler.attr({fill:"yellow"})},function(){var e=t.isFirst?T:"";t.handler.attr({fill:e})}),t.handler.drag(U,function(){this.data("origTransform",this.transform().local)},function(){return!$||($=!1,void(A=!1))})},Z=function(t,e){var n,r=H(),i=e.x-r/2,o=e.y-r/2;return n=t.rect(i,o,r,r),n.addClass("drawingHandler"),e.handler=n,e.handler.data("point",e),0===h.length&&(e.isFirst=!0),W(e,t),e.handler.attr({fill:0===h.length?T:"",opacity:.9,stroke:w}),e},J=function(t,e,n,r){var i={x:e,y:n,id:R()};return S?void z(t,L):A?(i=Z(t,i),r.push(i),void z(t)):(A=!0,!1)},G=function(t){if(m)return!1;var e={},n={},r=function(t){var e=t.target||t.srcElement,n=e.getBoundingClientRect(),r=(t.clientX-n.left)/Math.min(d.x,d.y),i=(t.clientY-n.top)/Math.min(d.x,d.y);return{x:r,y:i}};t.mousedown(function(t){if(E!==P&&!S){var n=r(t);e.x=n.x,e.y=n.y,_=!0}}),t.mousemove(function(i){if(E!==P&&_){var o,a,s=r(i);n.x=s.x,n.y=s.y,x&&x.remove();var l=Math.abs(n.x-e.x),c=Math.abs(e.y-n.y);n.y>e.y&&n.x>e.x&&(o=e.x,a=e.y),n.ye.x&&(o=n.x-l,a=n.y),n.ye.y&&n.x2&&z(e,L)),!1)});var i=function(t){var e=t.target||t.srcElement,n=e.getBoundingClientRect(),r=(t.clientX-n.left)/Math.min(d.x,d.y),i=(t.clientY-n.top)/Math.min(d.x,d.y);return{x:r,y:i}},o=function(t,i){if(!r){if(E===M)return!0;if(!O)return!0;J(e,t,i,h),n=null,r=!1}};e.click(function(e){if(!n&&t(e.target).is(u)){var r=i(e),a=r.x,s=r.y;n=setTimeout(o.bind(this,a,s),190)}})}},Y=function(){l.eventEmitter.on("zoomChanged",function(t){d=t.zoomFactor,v=t.currentViewBox;var e=K.getPath();K.clear(),K.setPath(e)})},K={getPaper:function(){return f},setPath:function(t){var e=t.split(";");N.indexOf(e[1])===-1&&(e[1]="FREE"),this.setDrawingMode(e[1]);var n=e[0];if(n.length){var r=u.attr("width")/p.X,i=u.attr("height")/p.Y;(isNaN(r)||isNaN(i))&&new Error("Ratio should be a number.");var a=o.default.matrix(r,0,0,i,0,0),s=o.default.path.map(n,a).toString();s.search(/[z|Z]/gi)===-1&&(s+="Z"),e.length>=2&&(e[1]===M&&B(s),e[1]===P&&D(s))}},setDrawingMode:function(t){N.indexOf(t)!==-1&&(E=t),"function"==typeof F&&F(E),this.clear()},clear:function(){h.map(function(t){t.handler&&t.handler.remove()}),b&&b.remove(),l.eventEmitter.emit("cutout:clear"),h=[],y=null,b=null,$=!1,A=!0,S=!1,O=!0},getShapeBBox:function(){var t=this.getPath();return o.default.path.getBBox(t)},getShape:function(){return this.getPath()},getPath:function(){var t="";if(b)if(E===M){var e=b.getBBox(),n=b.transform();if(n.global.length){var r=b.node.getAttribute("x"),i=b.node.getAttribute("y"),a=n.totalMatrix,s=f.rect(a.x(r,i),a.y(r,i),e.width,e.height);l=s.getBBox().path,s.remove()}else var l=b.getBBox().path;t=o.default.path.toAbsolute(l).toString()}else t=b.attr("d");var c=p.X/u.attr("width"),h=p.Y/u.attr("height");if((isNaN(c)||isNaN(h))&&new Error("ratio should be a number."),!t.length)return t=E===M?";RECT":";FREE";var d=o.default.matrix(c,0,0,h,0,0);t=o.default.path.map(t,d).toString();var g=E===M?";RECT":";FREE";return t.search(/[z|Z]/gi)===-1&&(t+=" Z"),t+=g}};e.default={init:function(e){u=t(e.wrapperId).find(".main-image").eq(0);var n=t(e.wrapperId).find(".cut-canvas").eq(0),r=t(e.wrapperId).find(".image-path").eq(0);if("function"==typeof e.onDrawingModeChange&&(F=e.onDrawingModeChange),!u.length)throw new Error("The main image Can't be found ...");if(!n.length){var n=t('').addClass("cut-canvas");t(e.wrapperId).append(n),n.append(u)}if(n.css({marginLeft:"auto",marginRight:"auto",width:g.width,height:g.height}),"boolean"==typeof e.readOnly&&e.readOnly===!0&&(m=!0),f=new o.default(n.get(0)),r.length){t(n).append(r);var i=r.attr("d");K.setPath(i),r.remove()}return Y(),X(f),G(f),K}}}).call(e,n(1))},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(184),o=r(i),a=n(183),s=r(a),l=n(186),c=r(l);e.default={Canvas:o.default,AnnotationForm:s.default,CommentList:c.default}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n(172),n(173),n(171);var i=n(212),o=(r(i),n(37)),a=r(o),s=n(80),l=r(s),c=n(57),f=r(c),u=n(191),h=r(u),p=n(181),d=r(p),g=n(54),v=r(g),m=n(20),y=r(m),b=n(83),_=r(b),x=n(55),w=r(x),k=n(36),C=r(k),T=n(152);Vue.config.ignoredElements=["mask"];var j={Cutout:l.default,JsDiff:T,JsonDiff:y.default,CollectionSelector:d.default,VueComponents:{Typeahead:a.default,MergeTool:h.default,Zoomview:f.default,DiffViewer:v.default,Editor:_.default,ColorButtons:w.default,TagList:C.default}};Vue.component("color-buttons",w.default),Vue.component("image-annotator",_.default.Canvas),Vue.component("annotation",_.default.Annotation),Vue.component("annotation-form",_.default.AnnotationForm),Vue.component("comment-list",_.default.CommentList),window.iconolab||(window.iconolab=j)},function(t,e,n){t.exports={default:n(102),__esModule:!0}},function(t,e,n){t.exports={default:n(103),__esModule:!0}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var i=n(86),o=r(i);e.default=function(t,e,n){return e in t?(0,o.default)(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},,,,,,,,,,,,,,function(t,e,n){"use strict";function r(t){var e=function t(){return i.apply(t,arguments)};return e._styles=t,e.__proto__=d,e}function i(){var t=arguments,e=t.length,n=0!==e&&String(arguments[0]);if(e>1)for(var r=1;rf;)if(s=l[f++],s!=s)return!0}else for(;c>f;f++)if((t||f in l)&&l[f]===n)return t||f||0;return!t&&-1}}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(104);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(25),i=n(24).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(45),i=n(119);t.exports=n(17)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){t.exports=!n(17)&&!n(23)(function(){return 7!=Object.defineProperty(n(109)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){"use strict";var r=n(117),i=n(115),o=n(118),a=n(124),s=n(44),l=Object.assign;t.exports=!l||n(23)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=l({},t)[n]||Object.keys(l({},e)).join("")!=r})?function(t,e){for(var n=a(t),l=arguments.length,c=1,f=i.f,u=o.f;l>c;)for(var h,p=s(arguments[c++]),d=f?r(p).concat(f(p)):r(p),g=d.length,v=0;g>v;)u.call(p,h=d[v++])&&(n[h]=p[h]);return n}:l},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(111),i=n(47),o=n(106)(!1),a=n(120)("IE_PROTO");t.exports=function(t,e){var n,s=i(t),l=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;e.length>l;)r(s,n=e[l++])&&(~o(c,n)||c.push(n));return c}},function(t,e,n){var r=n(116),i=n(110);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(121)("keys"),i=n(126);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,e,n){var r=n(24),i="__core-js_shared__",o=r[i]||(r[i]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,e,n){var r=n(46),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},function(t,e,n){var r=n(46),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e,n){var r=n(42);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(25);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){var r=n(43);r(r.S+r.F,"Object",{assign:n(114)})},function(t,e,n){var r=n(43);r(r.S+r.F*!n(17),"Object",{defineProperty:n(45).f})},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,".alert[data-v-01594f1c]{padding:10px;font-size:12px}.tag-list[data-v-01594f1c]{margin-bottom:15px}.tag-list-item[data-v-01594f1c]:first-of-type{border-top-left-radius:4px;border-top-right-radius:4px}.tag-list-item[data-v-01594f1c]:last-of-type{border-bottom-left-radius:4px;border-bottom-right-radius:4px}",""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,".move-handler[data-v-0425443c]{cursor:-webkit-grab;cursor:grab}",""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,"form[data-v-2ed92980]{margin-bottom:20px;clear:both}",""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,".popover{min-width:300px}.popover-content .form-group{margin-bottom:10px}.popover-content .form-group label{font-size:12px}.popover-content .taglist{margin:10px 0 15px}",""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,".shape[data-v-3a6dd2f0]{fill:#bdc3c7;stroke:#000;opacity:.6}.shape--draggable[data-v-3a6dd2f0]:hover{cursor:move}.handler-top-left[data-v-3a6dd2f0]:hover{cursor:nw-resize}.handler-bottom-right[data-v-3a6dd2f0]:hover{cursor:se-resize}",""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,".alert[data-v-3db45a40]{padding:10px;font-size:12px}",""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,'.btn-group[data-v-699ae618]{margin-bottom:10px}.btn--highlight[data-v-699ae618]{box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn--highlight[data-value="1"][data-v-699ae618]{background-color:#fc5f62}.btn--highlight[data-value="2"][data-v-699ae618]{background-color:#f7c136}.btn--highlight[data-value="3"][data-v-699ae618]{background-color:#f7e53b}.btn--highlight[data-value="4"][data-v-699ae618]{background-color:#ebf63d}.btn--highlight[data-value="5"][data-v-699ae618]{background-color:#b9e78b}',""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,"Typeahead[data-v-6b5883e1]{position:relative}.selected-tags[data-v-6b5883e1]{border:1px solid red;width:200px!important}.selected-tags select[data-v-6b5883e1]{display:inline-block}.Typeahead__input[data-v-6b5883e1]{width:100%;font-size:14px;color:#2c3e50;line-height:1.42857143;box-shadow:inset 0 1px 4px rgba(0,0,0,.4);-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;font-weight:300;padding:12px 26px;border:none;border-radius:22px;letter-spacing:1px;box-sizing:border-box}.Typeahead__input[data-v-6b5883e1]:focus{border-color:#4fc08d;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px #4fc08d}.tag-item[data-v-6b5883e1]{border:1px solid red}.fa-times[data-v-6b5883e1]{cursor:pointer}ul[data-v-6b5883e1]{padding:0;margin-top:8px;min-width:100%;background-color:#fff;list-style:none;border-radius:4px;box-shadow:0 0 10px rgba(0,0,0,.25);z-index:1000}li[data-v-6b5883e1]{padding:10px 16px;border-bottom:1px solid #ccc;cursor:pointer}li[data-v-6b5883e1]:first-child{border-radius:4px 4px 0 0}li[data-v-6b5883e1]:last-child{border-radius:0 0 4px 4px;border-bottom:0}span[data-v-6b5883e1]{display:block;color:#2c3e50}.active[data-v-6b5883e1]{background-color:#3aa373}.active span[data-v-6b5883e1]{color:#fff}.name[data-v-6b5883e1]{font-weight:700;font-size:18px}.screen-name[data-v-6b5883e1]{font-style:italic}",""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,'.tag-item-btn[data-v-6c5af925]{float:left;position:relative}.tag-item-btn button[data-v-6c5af925]{border:none;background-color:transparent}.tag-item-accuracy .fa[data-v-6c5af925],.tag-item-relevancy .fa[data-v-6c5af925]{position:absolute;left:50%;top:-50%;transform:translate(-50%,-50%)}.tag-item-btn[data-value="1"][data-v-6c5af925]{background-color:#fc5f62}.tag-item-btn[data-value="2"][data-v-6c5af925]{background-color:#f7c136}.tag-item-btn[data-value="3"][data-v-6c5af925]{background-color:#f7e53b}.tag-item-btn[data-value="4"][data-v-6c5af925]{background-color:#ebf63d}.tag-item-btn[data-value="5"][data-v-6c5af925]{background-color:#b9e78b}.tag-title[data-v-6c5af925]{padding:5px 5px 5px 10px;font-size:12px;max-width:140px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tag-item-form[data-v-6c5af925]{padding:15px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap}.tag-item-form label[data-v-6c5af925],.tag-item-form small[data-v-6c5af925]{display:block;margin-bottom:5px}.tag-container[data-v-6c5af925]{border:1px solid #ccc;border-bottom:none}.tag-item[data-v-6c5af925],.tag-list .tag-container[data-v-6c5af925]:last-of-type{border-bottom:1px solid #ccc}.tag-item[data-v-6c5af925]{cursor:pointer;display:flex;justify-content:space-between;align-items:center}.tag-item[data-v-6c5af925]:hover{background-color:#f5f5f5}',""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,".diff-viewer-wrapper[data-v-763ea1ba]{margin-top:5px}.diff-panel[data-v-763ea1ba]{border:1px solid gray;width:300px;heigth:250px}del[data-v-763ea1ba]{text-decoration:none;color:#b30000;background:#fadad7}ins[data-v-763ea1ba]{background:#eaf2c2;color:#406619;text-decoration:none}",""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,".comment[data-v-7aa64982]{font-size:12px;padding:5px 0;border-bottom:1px solid #ccc}.comment-footer[data-v-7aa64982]{margin-top:5px;color:#ccc}.comment-date[data-v-7aa64982]{float:right}",""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,"Typeahead[data-v-7e508aca]{position:relative}.selected-tags[data-v-7e508aca]{border:1px solid red;width:200px!important}.selected-tags select[data-v-7e508aca]{display:inline-block}.Typeahead__input[data-v-7e508aca]{width:100%;font-size:14px;color:#2c3e50;line-height:1.42857143;box-shadow:inset 0 1px 4px rgba(0,0,0,.4);-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;font-weight:300;padding:12px 26px;border:none;border-radius:22px;letter-spacing:1px;box-sizing:border-box}.Typeahead__input[data-v-7e508aca]:focus{border-color:#4fc08d;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px #4fc08d}.tag-item[data-v-7e508aca]{border:1px solid red}.fa-times[data-v-7e508aca]{cursor:pointer}ul[data-v-7e508aca]{padding:0;margin-top:8px;min-width:100%;background-color:#fff;list-style:none;border-radius:4px;box-shadow:0 0 10px rgba(0,0,0,.25);z-index:1000}li[data-v-7e508aca]{padding:10px 16px;border-bottom:1px solid #ccc;cursor:pointer}li[data-v-7e508aca]:first-child{border-radius:4px 4px 0 0}li[data-v-7e508aca]:last-child{border-radius:0 0 4px 4px;border-bottom:0}span[data-v-7e508aca]{display:block;color:#2c3e50}.active[data-v-7e508aca]{background-color:#3aa373}.active span[data-v-7e508aca]{color:#fff}.name[data-v-7e508aca]{font-weight:700;font-size:18px}.screen-name[data-v-7e508aca]{font-style:italic}",""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,".handler[data-v-92fb61e0]{fill:#fff;stroke:#000;opacity:.9}.handler--first[data-v-92fb61e0]{fill:#ff0}",""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,".zoom[data-v-eec5c2f6]{position:relative}.zoomer[data-v-eec5c2f6]{position:absolute;bottom:15px;right:15px}.cut-canvas[data-v-eec5c2f6]{width:100%;height:600px}.canvas--rect[data-v-eec5c2f6]:hover{cursor:crosshair}.canvas--free[data-v-eec5c2f6]:hover{cursor:pointer}.mode-controls .btn>svg[data-v-eec5c2f6]{margin-top:4px}.mode-controls .btn-primary>svg[data-v-eec5c2f6]{fill:#fff}.controls[data-v-eec5c2f6]{position:absolute;transform:translateX(-50%);left:50%;bottom:15px;display:flex;align-items:center}.controls>[data-v-eec5c2f6]{background-color:rgba(34,34,34,.9)}.controls .btn[data-v-eec5c2f6]{background-color:transparent;color:#ccc;fill:#ccc;float:left}.controls .btn.active[data-v-eec5c2f6],.controls .btn[data-v-eec5c2f6]:active{color:#fff;fill:#fff;background-color:#111}.controls .btn[data-v-eec5c2f6]:hover{background-color:#222}.controls .controls-left[data-v-eec5c2f6]{border-top-left-radius:4px;border-bottom-left-radius:4px}.controls .controls-center[data-v-eec5c2f6]{border-radius:4px;padding:8px 8px 4px}.controls .controls-right[data-v-eec5c2f6]{border-top-right-radius:4px;border-bottom-right-radius:4px}",""])},function(t,e,n){"use strict";var r,i=n(156),o=n(163),a=n(159),s=n(166);r=t.exports=function(t,e){var n,r,a,l,c;return arguments.length<2||"string"!=typeof t?(l=e,e=t,t=null):l=arguments[2],null==t?(n=a=!0,r=!1):(n=s.call(t,"c"),r=s.call(t,"e"),a=s.call(t,"w")),c={value:e,configurable:n,enumerable:r,writable:a},l?i(o(l),c):c},r.gs=function(t,e,n){var r,l,c,f;return"string"!=typeof t?(c=n,n=e,e=t,t=null):c=arguments[3],null==e?e=void 0:a(e)?null==n?n=void 0:a(n)||(c=n,n=void 0):(c=e,e=n=void 0),null==t?(r=!0,l=!1):(r=s.call(t,"c"),l=s.call(t,"e")),f={get:e,set:n,configurable:r,enumerable:l},c?i(o(c),f):f}},function(t,e){"use strict";function n(t){for(var e=[],n=void 0,r=void 0,i=0;i"):i.removed&&e.push(""),e.push(r(i.value)),i.added?e.push(""):i.removed&&e.push("")}return e.join("")}function r(t){var e=t;return e=e.replace(/&/g,"&"),e=e.replace(//g,">"),e=e.replace(/"/g,""")}e.__esModule=!0,e.convertChangesToXML=n},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e,n){return s.diff(t,e,n)}e.__esModule=!0,e.arrayDiff=void 0,e.diffArrays=i;var o=n(5),a=r(o),s=e.arrayDiff=new a.default;s.tokenize=s.join=function(t){return t.slice()}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e,n){return s.diff(t,e,n)}e.__esModule=!0,e.characterDiff=void 0,e.diffChars=i;var o=n(5),a=r(o),s=e.characterDiff=new a.default},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e,n){return s.diff(t,e,n)}e.__esModule=!0,e.cssDiff=void 0,e.diffCss=i;var o=n(5),a=r(o),s=e.cssDiff=new a.default;s.tokenize=function(t){return t.split(/([{}:;,]|\s+)/)}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e,n){return u.diff(t,e,n)}function o(t,e,n){e=e||[],n=n||[];var r=void 0;for(r=0;ru))return!1;e++}}return!0}var r=arguments.length<=2||void 0===arguments[2]?{}:arguments[2];if("string"==typeof e&&(e=(0,a.parsePatch)(e)),Array.isArray(e)){if(e.length>1)throw new Error("applyPatch only works with a single input.");e=e[0]}for(var i=t.split(/\r\n|[\n\v\f\r\x85]/),o=t.match(/\r\n|[\n\v\f\r\x85]/g)||[],s=e.hunks,c=r.compareLine||function(t,e,n,r){return e===r},f=0,u=r.fuzzFactor||0,h=0,p=0,d=void 0,g=void 0,v=0;v0?c(s.lines.slice(-l.context)):[],h-=d.length,p-=d.length)}(a=d).push.apply(a,r(o.map(function(t){return(e.added?"+":"-")+t}))),e.added?v+=o.length:g+=o.length}else{if(h)if(o.length<=2*l.context&&t=f.length-2&&o.length<=l.context){var x=/\n$/.test(n),w=/\n$/.test(i);0!=o.length||x?x&&w||d.push("\\ No newline at end of file"):d.splice(_.oldLines,0,"\\ No newline at end of file")}u.push(_),h=0,p=0,d=[]}g+=o.length,v+=o.length}},y=0;y-1}},function(t,e){"use strict";var n=/[|\\{}()[\]^$+*?.]/g;t.exports=function(t){if("string"!=typeof t)throw new TypeError("Expected a string");return t.replace(n,"\\$&")}},function(t,e,n){"use strict";var r,i,o,a,s,l,c,f=n(143),u=n(164),h=Function.prototype.apply,p=Function.prototype.call,d=Object.create,g=Object.defineProperty,v=Object.defineProperties,m=Object.prototype.hasOwnProperty,y={configurable:!0,enumerable:!1,writable:!0};r=function(t,e){var n;return u(e),m.call(this,"__ee__")?n=this.__ee__:(n=y.value=d(null),g(this,"__ee__",y),y.value=null),n[t]?"object"==typeof n[t]?n[t].push(e):n[t]=[n[t],e]:n[t]=e,this},i=function(t,e){var n,i;return u(e),i=this,r.call(this,t,n=function(){o.call(i,t,n),h.call(e,this,arguments)}),n.__eeOnceListener__=e,this},o=function(t,e){var n,r,i,o;if(u(e),!m.call(this,"__ee__"))return this;if(n=this.__ee__,!n[t])return this;if(r=n[t],"object"==typeof r)for(o=0;i=r[o];++o)i!==e&&i.__eeOnceListener__!==e||(2===r.length?n[t]=r[o?0:1]:r.splice(o,1));else r!==e&&r.__eeOnceListener__!==e||delete n[t];return this},a=function(t){var e,n,r,i,o;if(m.call(this,"__ee__")&&(i=this.__ee__[t]))if("object"==typeof i){for(n=arguments.length,o=new Array(n-1),e=1;e1)for(var n=1;n0,expression:"tags.length > 0"}],ref:"items",refInFor:!0,staticClass:"tag-list-item",attrs:{label:e.tag_label,index:r,accuracy:e.accuracy,relevancy:e.relevancy,readonly:t.readonly}})})),t._v(" "),n("typeahead",{directives:[{name:"show",rawName:"v-show",value:!t.readonly,expression:"!readonly"}],ref:"typeahead",attrs:{placeholder:"Rechercher un mot-clé"}})],1)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("svg",{ref:"svg",attrs:{width:t.thumbnailWidth,height:t.thumbnailHeight}},[n("image",{attrs:{"xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0",y:"0",width:t.thumbnailWidth,height:t.thumbnailHeight,"xlink:href":t.image}}),t._v(" "),n("rect",{ref:"handler",staticClass:"move-handler",staticStyle:{fill:"black",opacity:"0.4"},attrs:{x:t.x,y:t.y,width:t.width,height:t.height}})])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.display,expression:"display"}],staticClass:"modal-mask diff-panel"},[n("p",{staticClass:"pull-right close-btn",on:{click:t.close}},[n("i",{staticClass:"fa fa-close"})]),t._v(" "),t._t("header"),t._v(" "),t._t("content"),t._v(" "),t._t("footer")],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.annotation?n("button",{staticClass:"btn btn-xs pull-right",class:{"btn-primary":t.readonly,"btn-warning":!t.readonly},on:{click:function(e){t.readonly=!t.readonly}}},[t.readonly?n("i",{staticClass:"fa fa-edit"}):t._e(),t._v(" "),t.readonly?n("span",[t._v("Modifier")]):t._e(),t._v(" "),t.readonly?t._e():n("i",{staticClass:"fa fa-ban"}),t._v(" "),t.readonly?t._e():n("span",[t._v("Annuler")])]):t._e(),t._v(" "),t.annotation?t._e():n("div",{ -staticClass:"alert alert-warning text-center"},[t._v("\n Aucune annotation sélectionnée.\n ")]),t._v(" "),n("form",{attrs:{action:t.formAction,method:"post"}},[t._t("default"),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.fragment,expression:"fragment"}],attrs:{type:"hidden",name:"fragment"},domProps:{value:t._s(t.fragment)},on:{input:function(e){e.target.composing||(t.fragment=e.target.value)}}}),t._v(" "),t.annotation?n("div",{staticClass:"form-group form-group-sm"},[n("label",{staticClass:"small text-muted"},[t._v("Titre")]),t._v(" "),t.readonly?t._e():n("input",{directives:[{name:"model",rawName:"v-model",value:t.title,expression:"title"}],staticClass:"form-control",attrs:{type:"text",name:"title"},domProps:{value:t._s(t.title)},on:{input:function(e){e.target.composing||(t.title=e.target.value)}}}),t._v(" "),t.readonly?n("p",{class:{"text-muted":!t.title}},[t._v(t._s(t.title||"Pas de titre"))]):t._e()]):t._e(),t._v(" "),t.annotation?n("div",{staticClass:"form-group form-group-sm"},[n("label",{staticClass:"small text-muted"},[t._v("Description")]),t._v(" "),t.readonly?t._e():n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.description,expression:"description"}],staticClass:"form-control",attrs:{name:"description",placeholder:"Décrivez ce que vous voyez"},domProps:{value:t._s(t.description)},on:{input:function(e){e.target.composing||(t.description=e.target.value)}}}),t._v(" "),t.readonly?n("p",{class:{"text-muted":!t.description}},[t._v(t._s(t.description||"Pas de description"))]):t._e()]):t._e(),t._v(" "),t.annotation?n("div",{staticClass:"form-group form-group-sm"},[n("label",{staticClass:"small text-muted"},[t._v("Mots-clé")]),t._v(" "),n("tag-list",{ref:"taglist",attrs:{"original-tags":t.annotation.tags,readonly:t.readonly},on:{change:function(e){t.onTagsChange(e.tags)}}}),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.serializedTags,expression:"serializedTags"}],attrs:{type:"hidden",name:"tags"},domProps:{value:t._s(t.serializedTags)},on:{input:function(e){e.target.composing||(t.serializedTags=e.target.value)}}})],1):t._e(),t._v(" "),t.annotation&&!t.readonly?n("button",{staticClass:"btn btn-block btn-sm btn-primary",class:{disabled:!t.hasChanged},attrs:{type:"submit"}},[t._v("Enregistrer une nouvelle version")]):t._e()],2)])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("form",[n("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"alert","aria-label":"Close"},on:{click:t.close}},[n("span",{attrs:{"aria-hidden":"true"}},[t._v("×")])]),t._v(" "),n("div",{staticClass:"form-group",class:t.titleFormGroup,staticStyle:{clear:"both"}},[n("label",{staticClass:"control-label"},[t._v("Titre")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.title,expression:"title"}],staticClass:"form-control input-sm",attrs:{name:"title",type:"text",placeholder:"Donnez un titre court"},domProps:{value:t._s(t.title)},on:{input:function(e){e.target.composing||(t.title=e.target.value)}}})]),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{staticClass:"control-label"},[t._v("Description")]),t._v(" "),n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.description,expression:"description"}],staticClass:"form-control input-sm",attrs:{name:"description",placeholder:"Décrivez ce que vous voyez"},domProps:{value:t._s(t.description)},on:{input:function(e){e.target.composing||(t.description=e.target.value)}}})]),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{staticClass:"control-label"},[t._v("Mots-clé")]),t._v(" "),n("tag-list",{ref:"taglist",attrs:{"original-tags":t.originalTags}})],1),t._v(" "),n("button",{staticClass:"btn btn-block btn-sm btn-primary",on:{click:t.save}},[t._v("Valider")])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"zoomview-wrapper"},[t._m(0),t._v(" "),n("svg",{ref:"root-svg"},[n("image",{attrs:{id:"small-image",x:"0",y:"0","xmlns:xlink":"http://www.w3.org/1999/xlink","xlink:href":t.imageUrl,width:t.imageWidth,height:t.imageHeight}}),t._v(" "),n("rect",{directives:[{name:"show",rawName:"v-show",value:t.showHandler,expression:"showHandler"}],ref:"handler",staticStyle:{fill:"black",opacity:"0.4"},attrs:{id:"zoom-handler",x:"0",y:"0"}})]),t._v(" "),n("ul",{staticClass:"form-drawing-wrapper zoom-action-list list-inline"},[n("li",{staticClass:"small showPointer",on:{click:t.incraseDrawingZoom}},[n("i",{staticClass:"fa fa-search-plus"})]),t._v(" "),n("li",{staticClass:"small showPointer",on:{click:t.resetDrawingZoom}},[n("i",{staticClass:"fa fa-square"})]),t._v(" "),n("li",{staticClass:"small showPointer",on:{click:t.decreaseDrawingZoom}},[n("i",{staticClass:"fa fa-search-minus"})])])])},staticRenderFns:[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("p",{staticClass:"form-drawing pullright"},[n("strong",[t._v("Zoom")])])}]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("g",{ref:"g",attrs:{transform:t.transform}},[n("rect",{ref:"shape",staticClass:"shape",class:{"shape--draggable":!t.readonly},attrs:{x:"0",y:"0",width:t.width,height:t.height,"stroke-width":t.handlerSize/5,"stroke-dasharray":t.handlerSize/5+","+t.handlerSize/5}}),t._v(" "),n("rect",{directives:[{name:"show",rawName:"v-show",value:t.showResizeHandlers,expression:"showResizeHandlers"}],ref:"topLeft",staticClass:"handler-rect handler-top-left",attrs:{x:t.handlerSize/2*-1,y:t.handlerSize/2*-1,width:t.handlerSize,height:t.handlerSize,fill:"#ffffff",stroke:"#000000","stroke-width":t.handlerSize/5}}),t._v(" "),n("rect",{directives:[{name:"show",rawName:"v-show",value:t.showResizeHandlers,expression:"showResizeHandlers"}],ref:"bottomRight",staticClass:"handler-rect handler-bottom-right",attrs:{x:t.width-t.handlerSize/2,y:t.height-t.handlerSize/2,width:t.handlerSize,height:t.handlerSize,fill:"#ffffff",stroke:"#000000","stroke-width":t.handlerSize/5}})])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.annotation,expression:"annotation"}]},[n("label",{staticClass:"small text-muted"},[t._v("Commentaires")]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:0===t.comments.length,expression:"comments.length === 0"}],staticClass:"alert alert-info"},[t._v("Pas de commentaire pour le moment.")]),t._v(" "),t._l(t.comments,function(t){return n("comment",{attrs:{comment:t.comment,username:t.user_name,date:t.submit_date}})})],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"btn-group",attrs:{"data-toggle":"buttons"}},t._l(5,function(e){return n("label",{ref:"buttons",refInFor:!0,staticClass:"btn btn-default",class:{"btn--highlight":t.value&&e<=t.value},attrs:{"data-value":e},on:{mouseenter:t.onMouseEnter,mouseleave:t.onMouseLeave,click:t.onClick}},[n("input",{attrs:{type:"radio",name:"options",autocomplete:"off"}}),t._v(" "),n("span",{staticClass:"sr-only"},[t._v(t._s(e))])])}))])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.query,expression:"query"}],staticClass:"form-control input-sm",attrs:{type:"text",disabled:t.readonly,placeholder:t.placeholder,autocomplete:"off"},domProps:{value:t._s(t.query)},on:{keydown:[function(e){t._k(e.keyCode,"down",40)||t.down(e)},function(e){t._k(e.keyCode,"up",38)||t.up(e)},function(e){t._k(e.keyCode,"enter",13)||t.hit(e)},function(e){t._k(e.keyCode,"esc",27)||t.reset(e)}],blur:t.reset,input:[function(e){e.target.composing||(t.query=e.target.value)},t.update]}}),t._v(" "),n("ul",{directives:[{name:"show",rawName:"v-show",value:t.hasItems,expression:"hasItems"}]},t._l(t.items,function(e,r){return n("li",{class:t.activeClass(r),on:{mousedown:t.hit,mousemove:function(e){t.setActive(r)}}},[n("span",{domProps:{textContent:t._s(e.tag_label)}})])}))])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tag-container"},[n("div",{staticClass:"tag-item",on:{click:t.toggle}},[n("span",{staticClass:"tag-title"},[t._v(t._s(t.label))]),t._v(" "),n("div",{staticClass:"tag-item-buttons"},[n("div",{staticClass:"tag-item-btn tag-item-accuracy",attrs:{"data-value":t.accuracy}},[n("button",{staticClass:"btn btn-default",attrs:{title:t.accuracyTitle}},[t._v(t._s(t.accuracy||"?"))]),t._v(" "),0===t.index?n("i",{staticClass:"fa fa-exclamation-triangle text-muted",attrs:{"aria-hidden":"true",title:"Fiabilité"}}):t._e()]),t._v(" "),n("div",{staticClass:"tag-item-btn tag-item-relevancy",attrs:{"data-value":t.relevancy}},[n("button",{staticClass:"btn btn-default",attrs:{title:t.relevancyTitle}},[t._v(t._s(t.relevancy||"?"))]),t._v(" "),0===t.index?n("i",{staticClass:"fa fa-crosshairs text-muted",attrs:{"aria-hidden":"true",title:"Pertinence"}}):t._e()]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:!t.readonly,expression:"!readonly"}],staticClass:"tag-item-btn tag-item-delete"},[n("button",{staticClass:"btn btn-default",on:{click:t.remove}},[n("i",{staticClass:"fa fa-times",attrs:{"aria-hidden":"true"}})])])])]),t._v(" "),n("div",{staticClass:"collapse"},[n("div",{staticClass:"tag-item-form"},[n("div",[n("label",{staticClass:"small"},[t._v("Fiabilité")]),t._v(" "),n("small",[t._v("Êtes-vous sûr de votre mot-clé ?")]),t._v(" "),n("color-buttons",{ref:"accuracy",attrs:{"original-value":t.accuracy},on:{change:function(e){t.onChange("accuracy",e.value)}}})],1),t._v(" "),n("div",[n("label",{staticClass:"small"},[t._v("Pertinence")]),t._v(" "),n("small",[t._v("Votre mot-clé est-il indispensable à la compréhension ?")]),t._v(" "),n("color-buttons",{ref:"relevancy",attrs:{"original-value":t.relevancy},on:{change:function(e){t.onChange("relevancy",e.value)}}})],1)])])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"diff-viewer-wrapper col-md-12"},[n("modalpanel",{ref:"panel"},[n("h5",{slot:"header"},[t._v("Comparer les deux versions:")]),t._v(" "),n("div",{slot:"content"},[n("div",{ref:"modalcontent"},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.fragmentMode,expression:"fragmentMode"}]},[n("svg",[n("image",{attrs:{"xmlns:xlink":"http://www.w3.org/1999/xlink",href:t.imagePath,x:"0",y:"0",width:t.imageWidth,height:t.imageHeight}}),t._v(" "),n("g",{attrs:{transform:t.matrixTransform}},[n("path",{attrs:{d:t.originalPath,fill:"red",stroke:"blue",opacity:"0.3"}}),t._v(" "),n("path",{attrs:{d:t.modifiedPath,fill:"blue",stroke:"red",opacity:"0.3"}})])])]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.textMode,expression:"textMode"}]},[n("div",{domProps:{innerHTML:t._s(t.diffText)}})]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.tagMode,expression:"tagMode"}]},[n("ul",t._l(t.tags,function(e,r){return n("li",[e.action?t._e():[n("li",[n("span",[t._v(t._s(e.tag_label))]),t._v(" | précision : "+t._s(e.accuracy)+" \n\t\t\t\t\t\t\t\t\t- \n\t\t\t\t\t\t\t\t\tpertinence : "+t._s(e.relevancy)+"\n\t\t\t\t\t\t\t\t")])],t._v(" "),"replace"==e.action?[n("del",[t._v("--")]),t._v(" "),n("del",[t._v(t._s(e.tag_label))]),t._v(" a été remplacé par\n\t\t\t\t\t\t\t\t"),n("ins",[t._v("++")]),t._v(" "),n("strong",[n("ins",[t._v(t._s(e.new_label))])]),t._v(" \n\t\t\t\t\t\t\t\tfiabilité : "),n("ins",[t._v(t._s(e.new_accuracy))]),t._v(" - \n\t\t\t\t\t\t\t\tpertinence: "),n("ins",[t._v(t._s(e.new_relevancy))])]:t._e(),t._v(" "),"add"==e.action?[n("li",[n("ins",[t._v("++")]),t._v(" "),n("ins",[t._v(t._s(e.tag_label))]),t._v("\n\t\t\t\t\t\t\t\t\tfiabilité : "),n("ins",[t._v(t._s(e.accuracy))]),t._v(" - \n\t\t\t\t\t\t\t\t\tpertinence : "),n("ins",[t._v(t._s(e.relevancy))])])]:t._e(),t._v(" "),"del"==e.action?[n("li",[n("del",[t._v("--")]),t._v(" "),n("del",[t._v(t._s(e.tag_label))]),t._v(" a été effacé")])]:t._e(),t._v(" "),"update"==e.action?[n("li",[n("strong",[t._v(t._s(e.tag_label))]),t._v(" "),e.accuracy!=e.new_accuracy?[t._v("\n\t\t\t\t\t\t\t\t\t\tfiabilité: "),n("del",[t._v(t._s(e.accuracy))]),t._v(" "),n("ins",[t._v(t._s(e.new_accuracy))]),t._v(" -\t\n\t\t\t\t\t\t\t\t\t")]:t._e(),t._v(" "),e.accuracy==e.new_accuracy?[t._v("\n\t\t\t\t\t\t\t\t\t\tfiabilité: "+t._s(e.accuracy)+" -\n\t\t\t\t\t\t\t\t\t")]:t._e(),t._v(" "),e.relevancy!=e.new_relevancy?[t._v("\n\t\t\t\t\t\t\t\t\t\tpertinence: "),n("del",[t._v(t._s(e.relevancy))]),t._v(" "),n("ins",[t._v(t._s(e.new_relevancy))])]:t._e(),t._v(" "),e.relevancy==e.new_relevancy?[t._v("\n\t\t\t\t\t\t\t\t\t\tpertinence: "+t._s(e.relevancy)+"\t\n\t\t\t\t\t\t\t\t\t")]:t._e()],2)]:t._e()],2)}))])])])])],1)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"comment"},[t._v("\n "+t._s(t.comment)+"\n "),n("div",{staticClass:"comment-footer"},[n("span",{staticClass:"comment-author"},[t._v(t._s(t.username))]),t._v(" "),n("span",{staticClass:"comment-date"},[t._v(t._s(t.dateFormatted))])])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("taglist",{ref:"taglist"}),t._v(" "),n("input",{directives:[{name:"show",rawName:"v-show",value:!t.readOnly,expression:"!readOnly"},{name:"model",rawName:"v-model",value:t.query,expression:"query"}],staticClass:"form-control",attrs:{type:"text",placeholder:t.placeholder,autocomplete:"off"},domProps:{value:t._s(t.query)},on:{keyup:[function(e){8===e.keyCode&&t.checkQuery(e)},t.update],keydown:[function(e){t._k(e.keyCode,"down",40)||t.down(e)},function(e){t._k(e.keyCode,"up",38)||t.up(e)},function(e){t._k(e.keyCode,"enter",13)||t.hit(e)},function(e){t._k(e.keyCode,"esc",27)||t.reset(e)}],input:function(e){e.target.composing||(t.query=e.target.value)}}}),t._v(" "),n("a",{directives:[{name:"show",rawName:"v-show",value:t.showAddButton,expression:"showAddButton"}],on:{click:t.addTag}},[n("i",{staticClass:"fa fa-plus"}),t._v(" Créer ce tag")]),t._v(" "),n("ul",{directives:[{name:"show",rawName:"v-show",value:t.hasItems||!t.readOnly,expression:"hasItems || !readOnly"}]},t._l(t.items,function(e,r){return n("li",{class:t.activeClass(r),on:{mousedown:t.hit,mousemove:function(e){t.setActive(r)}}},[n("span",{domProps:{textContent:t._s(e.tag_label)}})])})),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.selectedTags,expression:"selectedTags"}],attrs:{name:"tags",type:"hidden"},domProps:{value:t._s(t.selectedTags)},on:{input:function(e){e.target.composing||(t.selectedTags=e.target.value)}}})],1)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("g",[n("path",{ref:"path",staticStyle:{opacity:"0.6"},attrs:{d:t.path,stroke:"#000000",fill:"#bdc3c7","stroke-width":t.handlerRadius/2,"stroke-dasharray":t.handlerRadius/3+","+t.handlerRadius/3}}),t._v(" "),t._l(t.points,function(e,r){return n("circle",{directives:[{name:"show",rawName:"v-show",value:!t.readonly,expression:"!readonly"}],key:r,ref:"handlers",refInFor:!0,class:{handler:!0,"handler--first":0===r&&!t.closed},attrs:{"data-key":r,cx:e.x,cy:e.y,r:t.handlerRadius,"stroke-width":t.handlerRadius/2}})})],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("ul",{directives:[{name:"show",rawName:"v-show",value:!t.readOnly,expression:"!readOnly"}],staticClass:"tags-wrapper list-unstyled"},t._l(t.tags,function(e,r){return n("li",{ref:e.id,refInFor:!0,staticClass:"tag-item"},[n("i",{staticClass:"fa fa-tag"}),t._v(" "),n("strong",[n("span",{domProps:{textContent:t._s(e.tag_label)}})]),t._v("\n\n\t\t\tFiabilité: \t"),n("select",{on:{change:function(n){t.updateAccuracy(n,e)}}},t._l([1,2,3,4,5],function(r,i){return n("option",{domProps:{selected:e.accuracy==r,value:r}},[t._v(t._s(r))])})),t._v("\n\n\t\t\tPertinence: "),n("select",{on:{change:function(n){t.updatePertinence(n,e)}}},t._l([1,2,3,4,5],function(r,i){return n("option",{domProps:{selected:e.relevancy==r,value:r}},[t._v(t._s(r))])})),t._v(" "),n("a",{on:{click:function(n){t.removeTag(e)}}},[n("i",{staticClass:"fa fa-trash"})])])})),t._v(" "),n("ul",{directives:[{name:"show",rawName:"v-show",value:t.readOnly,expression:"readOnly"}],staticClass:"list-inline"},t._l(t.tags,function(e,r){return n("li",[n("i",{staticClass:"fa fa-tag"}),t._v(" "),n("span",{staticClass:"label label-info"},[t._v(t._s(e.tag_label))]),t._v("\n\t\t\t | fiabilité "),n("span",{staticClass:"badge"},[t._v(t._s(e.accuracy))]),t._v("\n\t\t\t | pertinence "),n("span",{staticClass:"badge"},[t._v(t._s(e.relevancy))])])}))])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"zoom"},[n("div",[n("svg",{ref:"svg",staticClass:"cut-canvas",class:t.canvasClass,attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[t.loaded?n("image",{ref:"image",attrs:{"xmlns:xlink":"http://www.w3.org/1999/xlink","xlink:href":t.image,x:"0",y:"0",width:t.imageWidth,height:t.imageHeight}}):t._e(),t._v(" "),n("shape-rect",{directives:[{name:"show",rawName:"v-show",value:t.loaded&&"rect"==t.mode,expression:"loaded && mode == 'rect'"}],ref:"rect",attrs:{paper:t.paper,"original-annotation":t.annotation,readonly:t.readonly}}),t._v(" "),n("shape-free",{directives:[{name:"show",rawName:"v-show",value:t.loaded&&"free"==t.mode,expression:"loaded && mode == 'free'"}],ref:"free",attrs:{paper:t.paper,"original-annotation":t.annotation,readonly:t.readonly}})],1)]),t._v(" "),n("div",{staticClass:"zoomer"}),t._v(" "),n("div",{staticClass:"controls"},[n("div",{staticClass:"controls-left"},[n("button",{staticClass:"btn",class:{active:"rect"===t.mode,disabled:t.readonly},attrs:{type:"button"},on:{click:function(e){t.setMode("rect")}}},[n("svg",{attrs:{width:"14",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",version:"1.1",x:"0px",y:"0px",viewBox:"0 0 512 512","enable-background":"new 0 0 512 512","xml:space":"preserve"}},[n("g",[n("rect",{attrs:{x:"352",y:"432",width:"64",height:"48"}}),n("polygon",{attrs:{points:"416,352 416,96 176,96 176,160 352,160 352,352 160,352 160,32 96,32 96,96 32,96 32,160 96,160 96,416 480,416 480,352"}})]),n("text",{attrs:{x:"0",y:"527",fill:"#000000","font-size":"5px","font-weight":"bold","font-family":"'Helvetica Neue', Helvetica, Arial-Unicode, Arial, Sans-serif"}},[t._v("Created by Bluetip Design")]),n("text",{attrs:{x:"0",y:"532",fill:"#000000","font-size":"5px","font-weight":"bold","font-family":"'Helvetica Neue', Helvetica, Arial-Unicode, Arial, Sans-serif"}},[t._v("from the Noun Project")])])]),t._v(" "),n("button",{staticClass:"btn",class:{active:"free"===t.mode,disabled:t.readonly},attrs:{type:"button"},on:{click:function(e){t.setMode("free")}}},[n("svg",{attrs:{width:"14",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",version:"1.1",x:"0px",y:"0px",viewBox:"0 0 30 30","xml:space":"preserve"}},[n("g",{attrs:{transform:"translate(-450 -380)"}},[n("g",{attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[n("path",{attrs:{d:"M453,395c0,2.209,1.79,4,4,4c1.307,0,2.455-0.635,3.186-1.604l7.121,4.069C467.11,401.938,467,402.456,467,403 c0,2.209,1.79,4,4,4c2.209,0,4-1.791,4-4s-1.791-4-4-4c-1.307,0-2.455,0.635-3.186,1.604l-7.121-4.069 c0.196-0.473,0.307-0.99,0.307-1.534s-0.11-1.062-0.307-1.534l7.121-4.069c0.73,0.969,1.879,1.604,3.186,1.604 c2.209,0,4-1.791,4-4s-1.791-4-4-4c-2.21,0-4,1.791-4,4c0,0.544,0.11,1.062,0.307,1.534l-7.121,4.069 c-0.73-0.969-1.879-1.604-3.186-1.604C454.79,391,453,392.791,453,395z M471,400c1.654,0,3,1.346,3,3s-1.346,3-3,3s-3-1.346-3-3 S469.346,400,471,400z M471,384c1.654,0,3,1.346,3,3s-1.346,3-3,3s-3-1.346-3-3S469.346,384,471,384z M460,395 c0,1.654-1.346,3-3,3s-3-1.346-3-3s1.346-3,3-3S460,393.346,460,395z"}})])]),n("text",{attrs:{x:"0",y:"45",fill:"#000000","font-size":"5px","font-weight":"bold","font-family":"'Helvetica Neue', Helvetica, Arial-Unicode, Arial, Sans-serif"}},[t._v("Created by Hea Poh Lin")]),n("text",{attrs:{x:"0",y:"50",fill:"#000000","font-size":"5px","font-weight":"bold","font-family":"'Helvetica Neue', Helvetica, Arial-Unicode, Arial, Sans-serif"}},[t._v("from the Noun Project")])])])]),t._v(" "),n("zoom-thumbnail",{ref:"thumbnail",staticClass:"controls-center",attrs:{image:t.thumbnail,viewport:t.viewport,viewBox:t.viewBox,imageWidth:t.imageWidth,imageHeight:t.imageHeight},on:{change:function(e){t.changeViewBox(e)},dragstart:t.hideTooltip,dragend:t.showTooltip}}),t._v(" "),n("div",{staticClass:"controls-right"},[n("button",{staticClass:"btn",class:{disabled:1===t.scale},attrs:{type:"button"},on:{click:t.zoomOut}},[n("i",{staticClass:"fa fa-minus",attrs:{"aria-hidden":"true"}})]),t._v(" "),n("button",{staticClass:"btn",class:{disabled:t.scale>=1.9},attrs:{type:"button"},on:{click:t.zoomIn}},[n("i",{staticClass:"fa fa-plus",attrs:{"aria-hidden":"true"}})])])],1)])},staticRenderFns:[]}},function(t,e){/*! +webpackJsonp([1],[function(t,e,n){n(84),t.exports=n(174)},,function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;e=0&&m.splice(e,1)}function s(t){var e=document.createElement("style");return e.type="text/css",o(t,e),e}function l(t,e){var n,r,i;if(e.singleton){var o=v++;n=g||(g=s(e)),r=c.bind(null,n,o,!1),i=c.bind(null,n,o,!0)}else n=s(e),r=u.bind(null,n),i=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 i()}}function c(t,e,n,r){var i=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=y(e,i);else{var o=document.createTextNode(i),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[e]):t.appendChild(o)}}function u(t,e){var n=e.css,r=e.media,i=e.sourceMap;if(r&&t.setAttribute("media",r),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}var f={},h=function(t){var e;return function(){return"undefined"==typeof e&&(e=t.apply(this,arguments)),e}},p=h(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),d=h(function(){return document.head||document.getElementsByTagName("head")[0]}),g=null,v=0,m=[];t.exports=function(t,e){e=e||{},"undefined"==typeof e.singleton&&(e.singleton=p()),"undefined"==typeof e.insertAt&&(e.insertAt="bottom");var n=i(t);return r(n,e),function(t){for(var o=[],a=0;at.length?n:t}),c.value=t.join(f)}else c.value=t.join(n.slice(s,s+c.count));s+=c.count,c.added||(l+=c.count)}}var h=e[a-1];return a>1&&(h.added||h.removed)&&t.equals("",h.value)&&(e[a-2].value+=h.value,e.pop()),e}function i(t){return{newPos:t.newPos,components:t.components.slice(0)}}e.__esModule=!0,e.default=n,n.prototype={diff:function(t,e){function n(t){return s?(setTimeout(function(){s(void 0,t)},0),!0):t}function o(){for(var o=-1*f;o<=f;o+=2){var a=void 0,s=p[o-1],h=p[o+1],d=(h?h.newPos:0)-o;s&&(p[o-1]=void 0);var g=s&&s.newPos+1=c&&d+1>=u)return n(r(l,a.components,e,t,l.useLongestToken));p[o]=a}else p[o]=void 0}f++}var a=arguments.length<=2||void 0===arguments[2]?{}:arguments[2],s=a.callback;"function"==typeof a&&(s=a,a={}),this.options=a;var l=this;t=this.castInput(t),e=this.castInput(e),t=this.removeEmpty(this.tokenize(t)),e=this.removeEmpty(this.tokenize(e));var c=e.length,u=t.length,f=1,h=c+u,p=[{newPos:-1,components:[]}],d=this.extractCommon(p[0],e,t,0);if(p[0].newPos+1>=c&&d+1>=u)return n([{value:this.join(e),count:e.length}]);if(s)!function t(){setTimeout(function(){return f>h?s():void(o()||t())},0)}();else for(;f<=h;){var g=o();if(g)return g}},pushComponent:function(t,e,n){var r=t[t.length-1];r&&r.added===e&&r.removed===n?t[t.length-1]={count:r.count+1,added:e,removed:n}:t.push({count:1,added:e,removed:n})},extractCommon:function(t,e,n,r){for(var i=e.length,o=n.length,a=t.newPos,s=a-r,l=0;a+11)for(var r=0,i=n.length;r=1&&(delete n[i],o.s=1,t--,function(t){setTimeout(function(){e("mina.finish."+t.id,t)})}(o)),o.update()}t&&r(v)},m=function(t,e,i,o,a,l,y){var b={id:s(),start:t,end:e,b:i,s:0,dur:o-i,spd:1,get:a,set:l,easing:y||m.linear,status:c,speed:u,duration:f,stop:h,pause:p,resume:d,update:g};n[b.id]=b;var _,x=0;for(_ in n)if(n.hasOwnProperty(_)&&(x++,2==x))break;return 1==x&&r(v),b};return m.time=l,m.getById=function(t){return n[t]||null},m.linear=function(t){return t},m.easeout=function(t){return Math.pow(t,1.7)},m.easein=function(t){return Math.pow(t,.48)},m.easeinout=function(t){if(1==t)return 1;if(0==t)return 0;var e=.48-t/1.04,n=Math.sqrt(.1734+e*e),r=n-e,i=Math.pow(Math.abs(r),1/3)*(r<0?-1:1),o=-n-e,a=Math.pow(Math.abs(o),1/3)*(o<0?-1:1),s=i+a+.5;return 3*(1-s)*s*s+s*s*s},m.backin=function(t){if(1==t)return 1;var e=1.70158;return t*t*((e+1)*t-e)},m.backout=function(t){if(0==t)return 0;t-=1;var e=1.70158;return t*t*((e+1)*t+e)+1},m.elastic=function(t){return t==!!t?t:Math.pow(2,-10*t)*Math.sin((t-.075)*(2*Math.PI)/.3)+1},m.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},t.mina=m,m}("undefined"==typeof e?function(){}:e),r=function(t){function n(t,e){if(t){if(t.nodeType)return w(t);if(i(t,"array")&&n.set)return n.set.apply(n,t);if(t instanceof y)return t;if(null==e)return t=C.doc.querySelector(String(t)),w(t)}return t=null==t?"100%":t,e=null==e?"100%":e,new x(t,e)}function r(t,e){if(e){if("#text"==t&&(t=C.doc.createTextNode(e.text||e["#text"]||"")),"#comment"==t&&(t=C.doc.createComment(e.text||e["#text"]||"")),"string"==typeof t&&(t=r(t)),"string"==typeof e)return 1==t.nodeType?"xlink:"==e.substring(0,6)?t.getAttributeNS(U,e.substring(6)):"xml:"==e.substring(0,4)?t.getAttributeNS(W,e.substring(4)):t.getAttribute(e):"text"==e?t.nodeValue:null;if(1==t.nodeType){for(var n in e)if(e[A](n)){var i=T(e[n]);i?"xlink:"==n.substring(0,6)?t.setAttributeNS(U,n.substring(6),i):"xml:"==n.substring(0,4)?t.setAttributeNS(W,n.substring(4),i):t.setAttribute(n,i):t.removeAttribute(n)}}else"text"in e&&(t.nodeValue=e.text)}else t=C.doc.createElementNS(W,t);return t}function i(t,e){return e=T.prototype.toLowerCase.call(e),"finite"==e?isFinite(t):!("array"!=e||!(t instanceof Array||Array.isArray&&Array.isArray(t)))||("null"==e&&null===t||e==typeof t&&null!==t||"object"==e&&t===Object(t)||N.call(t).slice(8,-1).toLowerCase()==e)}function o(t){if("function"==typeof t||Object(t)!==t)return t;var e=new t.constructor;for(var n in t)t[A](n)&&(e[n]=o(t[n]));return e}function a(t,e){for(var n=0,r=t.length;n=1e3&&delete s[l.shift()],l.push(o),s[o]=t.apply(e,i),n?n(s[o]):s[o])}return r}function l(t,e,n,r,i,o){if(null==i){var a=t-n,s=e-r;return a||s?(180+180*j.atan2(-s,-a)/M+360)%360:0}return l(t,e,i,o)-l(n,r,i,o)}function c(t){return t%360*M/180}function u(t){return 180*t/M%360}function f(t){var e=[];return t=t.replace(/(?:^|\s)(\w+)\(([^)]+)\)/g,function(t,n,r){return r=r.split(/\s*,\s*|\s+/),"rotate"==n&&1==r.length&&r.push(0,0),"scale"==n&&(r.length>2?r=r.slice(0,2):2==r.length&&r.push(0,0),1==r.length&&r.push(r[0],0,0)),"skewX"==n?e.push(["m",1,0,j.tan(c(r[0])),1,0,0]):"skewY"==n?e.push(["m",1,j.tan(c(r[0])),0,1,0,0]):e.push([n.charAt(0)].concat(r)),t}),e}function h(t,e){var r=tt(t),i=new n.Matrix;if(r)for(var o=0,a=r.length;o.5;){var p,d,g,v,m,y;(g=o-u)>=0&&(m=r(p=l.getPointAtLength(g)))t-n)return e-o+t}return e},n.getRGB=s(function(t){if(!t||(t=T(t)).indexOf("-")+1)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:Y};if("none"==t)return{r:-1,g:-1,b:-1,hex:"none",toString:Y};if(!(D[A](t.toLowerCase().substring(0,2))||"#"==t.charAt())&&(t=Z(t)),!t)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:Y};var e,r,o,a,s,l,c=t.match(R);return c?(c[2]&&(o=$(c[2].substring(5),16),r=$(c[2].substring(3,5),16),e=$(c[2].substring(1,3),16)),c[3]&&(o=$((s=c[3].charAt(3))+s,16),r=$((s=c[3].charAt(2))+s,16),e=$((s=c[3].charAt(1))+s,16)),c[4]&&(l=c[4].split(F),e=S(l[0]),"%"==l[0].slice(-1)&&(e*=2.55),r=S(l[1]),"%"==l[1].slice(-1)&&(r*=2.55),o=S(l[2]),"%"==l[2].slice(-1)&&(o*=2.55),"rgba"==c[1].toLowerCase().slice(0,4)&&(a=S(l[3])),l[3]&&"%"==l[3].slice(-1)&&(a/=100)),c[5]?(l=c[5].split(F),e=S(l[0]),"%"==l[0].slice(-1)&&(e/=100),r=S(l[1]),"%"==l[1].slice(-1)&&(r/=100),o=S(l[2]),"%"==l[2].slice(-1)&&(o/=100),("deg"==l[0].slice(-3)||"°"==l[0].slice(-1))&&(e/=360),"hsba"==c[1].toLowerCase().slice(0,4)&&(a=S(l[3])),l[3]&&"%"==l[3].slice(-1)&&(a/=100),n.hsb2rgb(e,r,o,a)):c[6]?(l=c[6].split(F),e=S(l[0]),"%"==l[0].slice(-1)&&(e/=100),r=S(l[1]),"%"==l[1].slice(-1)&&(r/=100),o=S(l[2]),"%"==l[2].slice(-1)&&(o/=100),("deg"==l[0].slice(-3)||"°"==l[0].slice(-1))&&(e/=360),"hsla"==c[1].toLowerCase().slice(0,4)&&(a=S(l[3])),l[3]&&"%"==l[3].slice(-1)&&(a/=100),n.hsl2rgb(e,r,o,a)):(e=P(j.round(e),255),r=P(j.round(r),255),o=P(j.round(o),255),a=P(O(a,0),1),c={r:e,g:r,b:o,toString:Y},c.hex="#"+(16777216|o|r<<8|e<<16).toString(16).slice(1),c.opacity=i(a,"finite")?a:1,c)):{r:-1,g:-1,b:-1,hex:"none",error:1,toString:Y}},n),n.hsb=s(function(t,e,r){return n.hsb2rgb(t,e,r).hex}),n.hsl=s(function(t,e,r){return n.hsl2rgb(t,e,r).hex}),n.rgb=s(function(t,e,n,r){if(i(r,"finite")){var o=j.round;return"rgba("+[o(t),o(e),o(n),+r.toFixed(2)]+")"}return"#"+(16777216|n|e<<8|t<<16).toString(16).slice(1)});var Z=function(t){var e=C.doc.getElementsByTagName("head")[0]||C.doc.getElementsByTagName("svg")[0],n="rgb(255, 0, 0)";return(Z=s(function(t){if("red"==t.toLowerCase())return n;e.style.color=n,e.style.color=t;var r=C.doc.defaultView.getComputedStyle(e,B).getPropertyValue("color");return r==n?null:r}))(t)},J=function(){return"hsb("+[this.h,this.s,this.b]+")"},X=function(){return"hsl("+[this.h,this.s,this.l]+")"},Y=function(){return 1==this.opacity||null==this.opacity?this.hex:"rgba("+[this.r,this.g,this.b,this.opacity]+")"},K=function(t,e,r){if(null==e&&i(t,"object")&&"r"in t&&"g"in t&&"b"in t&&(r=t.b,e=t.g,t=t.r),null==e&&i(t,string)){var o=n.getRGB(t);t=o.r,e=o.g,r=o.b}return(t>1||e>1||r>1)&&(t/=255,e/=255,r/=255),[t,e,r]},Q=function(t,e,r,o){t=j.round(255*t),e=j.round(255*e),r=j.round(255*r);var a={r:t,g:e,b:r,opacity:i(o,"finite")?o:1,hex:n.rgb(t,e,r),toString:Y};return i(o,"finite")&&(a.opacity=o),a};n.color=function(t){var e;return i(t,"object")&&"h"in t&&"s"in t&&"b"in t?(e=n.hsb2rgb(t),t.r=e.r,t.g=e.g,t.b=e.b,t.opacity=1,t.hex=e.hex):i(t,"object")&&"h"in t&&"s"in t&&"l"in t?(e=n.hsl2rgb(t),t.r=e.r,t.g=e.g,t.b=e.b,t.opacity=1,t.hex=e.hex):(i(t,"string")&&(t=n.getRGB(t)),i(t,"object")&&"r"in t&&"g"in t&&"b"in t&&!("error"in t)?(e=n.rgb2hsl(t),t.h=e.h,t.s=e.s,t.l=e.l,e=n.rgb2hsb(t),t.v=e.b):(t={hex:"none"},t.r=t.g=t.b=t.h=t.s=t.v=t.l=-1,t.error=1)),t.toString=Y,t},n.hsb2rgb=function(t,e,n,r){i(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,a,s,l,c;return t=t%360/60,c=n*e,l=c*(1-E(t%2-1)),o=a=s=n-c,t=~~t,o+=[c,l,0,0,l,c][t],a+=[l,c,c,l,0,0][t],s+=[0,0,l,c,c,l][t],Q(o,a,s,r)},n.hsl2rgb=function(t,e,n,r){i(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,a,s,l,c;return t=t%360/60,c=2*e*(n<.5?n:1-n),l=c*(1-E(t%2-1)),o=a=s=n-c/2,t=~~t,o+=[c,l,0,0,l,c][t],a+=[l,c,c,l,0,0][t],s+=[0,0,l,c,c,l][t],Q(o,a,s,r)},n.rgb2hsb=function(t,e,n){n=K(t,e,n),t=n[0],e=n[1],n=n[2];var r,i,o,a;return o=O(t,e,n),a=o-P(t,e,n),r=0==a?null:o==t?(e-n)/a:o==e?(n-t)/a+2:(t-e)/a+4,r=(r+360)%6*60/360,i=0==a?0:a/o,{h:r,s:i,b:o,toString:J}},n.rgb2hsl=function(t,e,n){n=K(t,e,n),t=n[0],e=n[1],n=n[2];var r,i,o,a,s,l;return a=O(t,e,n),s=P(t,e,n),l=a-s,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,o=(a+s)/2,i=0==l?0:o<.5?l/(2*o):l/(2-2*o),{h:r,s:i,l:o,toString:X}},n.parsePathString=function(t){if(!t)return null;var e=n.path(t);if(e.arr)return n.path.clone(e.arr);var r={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},o=[];return i(t,"array")&&i(t[0],"array")&&(o=n.path.clone(t)),o.length||T(t).replace(I,function(t,e,n){var i=[],a=e.toLowerCase();if(n.replace(L,function(t,e){e&&i.push(+e)}),"m"==a&&i.length>2&&(o.push([e].concat(i.splice(0,2))),a="l",e="m"==e?"l":"L"),"o"==a&&1==i.length&&o.push([e,i[0]]),"r"==a)o.push([e].concat(i));else for(;i.length>=r[a]&&(o.push([e].concat(i.splice(0,r[a]))),r[a]););}),o.toString=n.path.toString,e.arr=n.path.clone(o),o};var tt=n.parseTransformString=function(t){if(!t)return null;var e=[];return i(t,"array")&&i(t[0],"array")&&(e=n.path.clone(t)),e.length||T(t).replace(z,function(t,n,r){var i=[];n.toLowerCase();r.replace(L,function(t,e){e&&i.push(+e)}),e.push([n].concat(i))}),e.toString=n.path.toString,e};n._.svgTransform2string=f,n._.rgTransform=/^[a-z][\s]*-?\.?\d/i,n._.transform2matrix=h,n._unit2px=v;C.doc.contains||C.doc.compareDocumentPosition?function(t,e){var n=9==t.nodeType?t.documentElement:t,r=e&&e.parentNode;return t==r||!(!r||1!=r.nodeType||!(n.contains?n.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)))}:function(t,e){if(e)for(;e;)if(e=e.parentNode,e==t)return!0;return!1};n._.getSomeDefs=p,n._.getSomeSVG=d,n.select=function(t){return t=T(t).replace(/([^\\]):/g,"$1\\:"),w(C.doc.querySelector(t))},n.selectAll=function(t){for(var e=C.doc.querySelectorAll(t),r=(n.set||Array)(),i=0;i1))return e("snap.util.getattr."+t,r).firstDefined();var u={};u[t]=n,t=u}for(var f in t)t[A](f)&&e("snap.util.attr."+f,r,t[f]);return r},n.parse=function(t){var e=C.doc.createDocumentFragment(),n=!0,r=C.doc.createElement("div");if(t=T(t),t.match(/^\s*<\s*svg(?:\s|>)/)||(t=""+t+"",n=!1),r.innerHTML=t,t=r.getElementsByTagName("svg")[0])if(n)e=t;else for(;t.firstChild;)e.appendChild(t.firstChild);return new b(e)},n.fragment=function(){for(var t=Array.prototype.slice.call(arguments,0),e=C.doc.createDocumentFragment(),r=0,i=t.length;r")}else t&&(e+="/>");return e}}var h=i.prototype,p=r.is,d=String,g=r._unit2px,v=r._.$,m=r._.make,y=r._.getSomeDefs,b="hasOwnProperty",_=r._.wrap;h.getBBox=function(t){if(!r.Matrix||!r.path)return this.node.getBBox();var e=this,n=new r.Matrix;if(e.removed)return r._.box();for(;"use"==e.type;)if(t||(n=n.add(e.transform().localMatrix.translate(e.attr("x")||0,e.attr("y")||0))),e.original)e=e.original;else{var i=e.attr("xlink:href");e=e.original=e.node.ownerDocument.getElementById(i.substring(i.indexOf("#")+1))}var o=e._,a=r.path.get[e.type]||r.path.get.deflt;try{return t?(o.bboxwt=a?r.path.getBBox(e.realPath=a(e)):r._.box(e.node.getBBox()),r._.box(o.bboxwt)):(e.realPath=a(e),e.matrix=e.transform().localMatrix,o.bbox=r.path.getBBox(r.path.map(e.realPath,n.add(e.matrix))),r._.box(o.bbox))}catch(t){return r._.box()}};var x=function(){return this.string};h.transform=function(t){var e=this._;if(null==t){for(var n,i=this,o=new r.Matrix(this.node.getCTM()),a=l(this),s=[a],c=new r.Matrix,u=a.toTransformString(),f=d(a)==d(this.matrix)?d(e.transform):u;"svg"!=i.type&&(i=i.parent());)s.push(l(i));for(n=s.length;n--;)c.add(s[n]);return{string:f,globalMatrix:o,totalMatrix:c,localMatrix:a,diffMatrix:o.clone().add(a.invert()),global:o.toTransformString(),total:c.toTransformString(),local:u,toString:x}}return t instanceof r.Matrix?(this.matrix=t,this._.transform=t.toTransformString()):l(this,t),this.node&&("linearGradient"==this.type||"radialGradient"==this.type?v(this.node,{gradientTransform:this.matrix}):"pattern"==this.type?v(this.node,{patternTransform:this.matrix}):v(this.node,{transform:this.matrix})),this},h.parent=function(){return _(this.node.parentNode)},h.append=h.add=function(t){if(t){if("set"==t.type){var e=this;return t.forEach(function(t){e.add(t)}),this}t=_(t),this.node.appendChild(t.node),t.paper=this.paper}return this},h.appendTo=function(t){return t&&(t=_(t),t.append(this)),this},h.prepend=function(t){if(t){if("set"==t.type){var e,n=this;return t.forEach(function(t){e?e.after(t):n.prepend(t),e=t}),this}t=_(t);var r=t.parent();this.node.insertBefore(t.node,this.node.firstChild),this.add&&this.add(),t.paper=this.paper,this.parent()&&this.parent().add(),r&&r.add()}return this},h.prependTo=function(t){return t=_(t),t.prepend(this),this},h.before=function(t){if("set"==t.type){var e=this;return t.forEach(function(t){var n=t.parent();e.node.parentNode.insertBefore(t.node,e.node),n&&n.add()}),this.parent().add(),this}t=_(t);var n=t.parent();return this.node.parentNode.insertBefore(t.node,this.node),this.parent()&&this.parent().add(),n&&n.add(),t.paper=this.paper,this},h.after=function(t){t=_(t);var e=t.parent();return this.node.nextSibling?this.node.parentNode.insertBefore(t.node,this.node.nextSibling):this.node.parentNode.appendChild(t.node),this.parent()&&this.parent().add(),e&&e.add(),t.paper=this.paper,this},h.insertBefore=function(t){t=_(t);var e=this.parent();return t.node.parentNode.insertBefore(this.node,t.node),this.paper=t.paper,e&&e.add(),t.parent()&&t.parent().add(),this},h.insertAfter=function(t){t=_(t);var e=this.parent();return t.node.parentNode.insertBefore(this.node,t.node.nextSibling),this.paper=t.paper,e&&e.add(),t.parent()&&t.parent().add(),this},h.remove=function(){var t=this.parent();return this.node.parentNode&&this.node.parentNode.removeChild(this.node),delete this.paper,this.removed=!0,t&&t.add(),this},h.select=function(t){return t=d(t).replace(/([^\\]):/g,"$1\\:"),_(this.node.querySelector(t))},h.selectAll=function(t){for(var e=this.node.querySelectorAll(t),n=(r.set||Array)(),i=0;i{contents}',{x:+e.x.toFixed(3),y:+e.y.toFixed(3),width:+e.width.toFixed(3),height:+e.height.toFixed(3),contents:this.outerSVG()});return"data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(n)))}},s.prototype.select=h.select,s.prototype.selectAll=h.selectAll}),r.plugin(function(t,e,n,r,i){function o(t,e,n,r,i,o){return null==e&&"[object SVGMatrix]"==a.call(t)?(this.a=t.a,this.b=t.b,this.c=t.c,this.d=t.d,this.e=t.e,void(this.f=t.f)):void(null!=t?(this.a=+t,this.b=+e,this.c=+n,this.d=+r,this.e=+i,this.f=+o):(this.a=1,this.b=0,this.c=0,this.d=1,this.e=0,this.f=0))}var a=Object.prototype.toString,s=String,l=Math,c="";!function(e){function n(t){return t[0]*t[0]+t[1]*t[1]}function r(t){var e=l.sqrt(n(t));t[0]&&(t[0]/=e),t[1]&&(t[1]/=e)}e.add=function(t,e,n,r,i,a){var s,l,c,u,f=[[],[],[]],h=[[this.a,this.c,this.e],[this.b,this.d,this.f],[0,0,1]],p=[[t,n,i],[e,r,a],[0,0,1]];for(t&&t instanceof o&&(p=[[t.a,t.c,t.e],[t.b,t.d,t.f],[0,0,1]]),s=0;s<3;s++)for(l=0;l<3;l++){for(u=0,c=0;c<3;c++)u+=h[s][c]*p[c][l];f[s][l]=u}return this.a=f[0][0],this.b=f[1][0],this.c=f[0][1],this.d=f[1][1],this.e=f[0][2],this.f=f[1][2],this},e.invert=function(){var t=this,e=t.a*t.d-t.b*t.c;return new o(t.d/e,-t.b/e,-t.c/e,t.a/e,(t.c*t.f-t.d*t.e)/e,(t.b*t.e-t.a*t.f)/e)},e.clone=function(){return new o(this.a,this.b,this.c,this.d,this.e,this.f)},e.translate=function(t,e){return this.add(1,0,0,1,t,e)},e.scale=function(t,e,n,r){return null==e&&(e=t),(n||r)&&this.add(1,0,0,1,n,r),this.add(t,0,0,e,0,0),(n||r)&&this.add(1,0,0,1,-n,-r),this},e.rotate=function(e,n,r){e=t.rad(e),n=n||0,r=r||0;var i=+l.cos(e).toFixed(9),o=+l.sin(e).toFixed(9);return this.add(i,o,-o,i,n,r),this.add(1,0,0,1,-n,-r)},e.x=function(t,e){return t*this.a+e*this.c+this.e},e.y=function(t,e){return t*this.b+e*this.d+this.f},e.get=function(t){return+this[s.fromCharCode(97+t)].toFixed(4)},e.toString=function(){return"matrix("+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)].join()+")"},e.offset=function(){return[this.e.toFixed(4),this.f.toFixed(4)]},e.determinant=function(){return this.a*this.d-this.b*this.c},e.split=function(){var e={};e.dx=this.e,e.dy=this.f;var i=[[this.a,this.c],[this.b,this.d]];e.scalex=l.sqrt(n(i[0])),r(i[0]),e.shear=i[0][0]*i[1][0]+i[0][1]*i[1][1],i[1]=[i[1][0]-i[0][0]*e.shear,i[1][1]-i[0][1]*e.shear],e.scaley=l.sqrt(n(i[1])),r(i[1]),e.shear/=e.scaley,this.determinant()<0&&(e.scalex=-e.scalex);var o=-i[0][1],a=i[1][1];return a<0?(e.rotate=t.deg(l.acos(a)),o<0&&(e.rotate=360-e.rotate)):e.rotate=t.deg(l.asin(o)),e.isSimple=!(+e.shear.toFixed(9)||e.scalex.toFixed(9)!=e.scaley.toFixed(9)&&e.rotate),e.isSuperSimple=!+e.shear.toFixed(9)&&e.scalex.toFixed(9)==e.scaley.toFixed(9)&&!e.rotate,e.noRotation=!+e.shear.toFixed(9)&&!e.rotate,e},e.toTransformString=function(t){var e=t||this.split();return+e.shear.toFixed(9)?"m"+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)]:(e.scalex=+e.scalex.toFixed(4),e.scaley=+e.scaley.toFixed(4),e.rotate=+e.rotate.toFixed(4),(e.dx||e.dy?"t"+[+e.dx.toFixed(4),+e.dy.toFixed(4)]:c)+(1!=e.scalex||1!=e.scaley?"s"+[e.scalex,e.scaley,0,0]:c)+(e.rotate?"r"+[+e.rotate.toFixed(4),0,0]:c))}}(o.prototype),t.Matrix=o,t.matrix=function(t,e,n,r,i,a){return new o(t,e,n,r,i,a)}}),r.plugin(function(t,n,r,i,o){function a(r){return function(i){if(e.stop(),i instanceof o&&1==i.node.childNodes.length&&("radialGradient"==i.node.firstChild.tagName||"linearGradient"==i.node.firstChild.tagName||"pattern"==i.node.firstChild.tagName)&&(i=i.node.firstChild,p(this).appendChild(i),i=f(i)),i instanceof n)if("radialGradient"==i.type||"linearGradient"==i.type||"pattern"==i.type){i.node.id||g(i.node,{id:i.id});var a=v(i.node.id)}else a=i.attr(r);else if(a=t.color(i),a.error){var s=t(p(this).ownerSVGElement).gradient(i);s?(s.node.id||g(s.node,{id:s.id}),a=v(s.node.id)):a=i}else a=m(a);var l={};l[r]=a,g(this.node,l),this.node.style[r]=b}}function s(t){e.stop(),t==+t&&(t+="px"),this.node.style.fontSize=t}function l(t){for(var e=[],n=t.childNodes,r=0,i=n.length;r1&&(t=Array.prototype.slice.call(arguments,0));var e={};return l(t,"object")&&!l(t,"array")?e=t:null!=t&&(e={points:t}),this.el("polyline",e)},s.polygon=function(t){arguments.length>1&&(t=Array.prototype.slice.call(arguments,0));var e={};return l(t,"object")&&!l(t,"array")?e=t:null!=t&&(e={points:t}),this.el("polygon",e)},function(){function r(){return this.selectAll("stop")}function i(t,e){var r=u("stop"),i={offset:+e+"%"};return t=n.color(t),i["stop-color"]=t.hex,t.opacity<1&&(i["stop-opacity"]=t.opacity),u(r,i),this.node.appendChild(r),this}function o(){if("linearGradient"==this.type){var t=u(this.node,"x1")||0,e=u(this.node,"x2")||1,r=u(this.node,"y1")||0,i=u(this.node,"y2")||0;return n._.box(t,r,math.abs(e-t),math.abs(i-r))}var o=this.node.cx||.5,a=this.node.cy||.5,s=this.node.r||0;return n._.box(o-s,a-s,2*s,2*s)}function a(t,n){function r(t,e){for(var n=(e-f)/(t-h),r=h;ro){if(r&&!g.start){if(p=l(s,c,f[1],f[2],f[3],f[4],f[5],f[6],o-v),d+=["C"+i(p.start.x),i(p.start.y),i(p.m.x),i(p.m.y),i(p.x),i(p.y)],a)return d;g.start=d,d=["M"+i(p.x),i(p.y)+"C"+i(p.n.x),i(p.n.y),i(p.end.x),i(p.end.y),i(f[5]),i(f[6])].join(),v+=h,s=+f[5],c=+f[6];continue}if(!n&&!r)return p=l(s,c,f[1],f[2],f[3],f[4],f[5],f[6],o-v)}v+=h,s=+f[5],c=+f[6]}d+=f.shift()+f}return g.end=d,p=n?v:r?g:u(s,c,f[0],f[1],f[2],f[3],f[4],f[5],1)},null,t._.clone)}function u(t,e,n,r,i,o,a,s,l){var c=1-l,u=U(c,3),f=U(c,2),h=l*l,p=h*l,d=u*t+3*f*l*n+3*c*l*l*i+p*a,g=u*e+3*f*l*r+3*c*l*l*o+p*s,v=t+2*l*(n-t)+h*(i-2*n+t),m=e+2*l*(r-e)+h*(o-2*r+e),y=n+2*l*(i-n)+h*(a-2*i+n),b=r+2*l*(o-r)+h*(s-2*o+r),_=c*t+l*n,x=c*e+l*r,w=c*i+l*a,k=c*o+l*s,C=90-180*L.atan2(v-y,m-b)/q;return{x:d,y:g,m:{x:v,y:m},n:{x:y,y:b},start:{x:_,y:x},end:{x:w,y:k},alpha:C}}function f(e,n,r,i,a,s,l,c){t.is(e,"array")||(e=[e,n,r,i,a,s,l,c]);var u=P.apply(null,e);return o(u.min.x,u.min.y,u.max.x-u.min.x,u.max.y-u.min.y)}function h(t,e,n){return e>=t.x&&e<=t.x+t.width&&n>=t.y&&n<=t.y+t.height}function p(t,e){return t=o(t),e=o(e),h(e,t.x,t.y)||h(e,t.x2,t.y)||h(e,t.x,t.y2)||h(e,t.x2,t.y2)||h(t,e.x,e.y)||h(t,e.x2,e.y)||h(t,e.x,e.y2)||h(t,e.x2,e.y2)||(t.xe.x||e.xt.x)&&(t.ye.y||e.yt.y)}function d(t,e,n,r,i){var o=-3*e+9*n-9*r+3*i,a=t*o+6*e-12*n+6*r;return t*a-3*e+3*n}function g(t,e,n,r,i,o,a,s,l){null==l&&(l=1),l=l>1?1:l<0?0:l;for(var c=l/2,u=12,f=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],h=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],p=0,g=0;gp;)f/=2,h+=(cH(i,a)||H(e,r)H(o,s))){var l=(t*r-e*n)*(i-a)-(t-n)*(i*s-o*a),c=(t*r-e*n)*(o-s)-(e-r)*(i*s-o*a),u=(t-n)*(o-s)-(e-r)*(i-a);if(u){var f=l/u,h=c/u,p=+f.toFixed(2),d=+h.toFixed(2);if(!(p<+V(t,n).toFixed(2)||p>+H(t,n).toFixed(2)||p<+V(i,a).toFixed(2)||p>+H(i,a).toFixed(2)||d<+V(e,r).toFixed(2)||d>+H(e,r).toFixed(2)||d<+V(o,s).toFixed(2)||d>+H(o,s).toFixed(2)))return{x:f,y:h}}}}function y(t,e,n){var r=f(t),i=f(e);if(!p(r,i))return n?0:[];for(var o=g.apply(0,t),a=g.apply(0,e),s=~~(o/8),l=~~(a/8),c=[],h=[],d={},v=n?0:[],y=0;y=0&&$<=1&&j>=0&&j<=1&&(n?v++:v.push({x:S.x,y:S.y,t1:$,t2:j}))}}return v}function b(t,e){return x(t,e)}function _(t,e){return x(t,e,1)}function x(t,e,n){t=E(t),e=E(e);for(var r,i,o,a,s,l,c,u,f,h,p=n?0:[],d=0,g=t.length;d180),0,l,u]];else f=[["M",t,e],["m",0,-r],["a",n,r,0,1,1,0,2*r],["a",n,r,0,1,1,0,-2*r],["z"]];return f.toString=a,f}function T(e){var n=i(e),r=String.prototype.toLowerCase;if(n.rel)return s(n.rel);t.is(e,"array")&&t.is(e&&e[0],"array")||(e=t.parsePathString(e));var o=[],l=0,c=0,u=0,f=0,h=0;"M"==e[0][0]&&(l=e[0][1],c=e[0][2],u=l,f=c,h++,o.push(["M",l,c]));for(var p=h,d=e.length;p1&&(y=L.sqrt(y),r*=y,i*=y);var b=r*r,_=i*i,x=(a==s?-1:1)*L.sqrt(W((b*_-b*m*m-_*v*v)/(b*m*m+_*v*v))),w=x*r*m/i+(e+l)/2,k=x*-i*v/r+(n+c)/2,C=L.asin(((n-k)/i).toFixed(9)),A=L.asin(((c-k)/i).toFixed(9));C=eA&&(C-=2*q),!s&&A>C&&(A-=2*q)}var T=A-C;if(W(T)>h){var S=A,$=l,j=c;A=C+h*(s&&A>C?1:-1),l=w+r*L.cos(A),c=k+i*L.sin(A),d=O(l,c,r,i,o,0,s,$,j,[A,S,w,k])}T=A-C;var P=L.cos(C),E=L.sin(C),M=L.cos(A),B=L.sin(A),N=L.tan(T/4),R=4/3*r*N,F=4/3*i*N,D=[e,n],I=[e+R*E,n-F*P],z=[l+R*B,c-F*M],V=[l,c];if(I[0]=2*D[0]-I[0],I[1]=2*D[1]-I[1],u)return[I,z,V].concat(d);d=[I,z,V].concat(d).join().split(",");for(var H=[],U=0,G=d.length;U7){t[e].shift();for(var n=t[e];n.length;)h[e]="A",o&&(p[e]="A"),t.splice(e++,0,["C"].concat(n.splice(0,6)));t.splice(e,1),m=H(r.length,o&&o.length||0)}},f=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],m=H(r.length,o&&o.length||0))},h=[],p=[],d="",g="",v=0,m=H(r.length,o&&o.length||0);vr;r+=2){var o=[{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?i-4==r?o[3]={x:+t[0],y:+t[1]}:i-2==r&&(o[2]={x:+t[0],y:+t[1]},o[3]={x:+t[2],y:+t[3]}):o[0]={x:+t[i-2],y:+t[i-1]}:i-4==r?o[3]=o[2]:r||(o[0]={x:+t[r],y:+t[r+1]}),n.push(["C",(-o[0].x+6*o[1].x+o[2].x)/6,(-o[0].y+6*o[1].y+o[2].y)/6,(o[1].x+6*o[2].x-o[3].x)/6,(o[1].y+6*o[2].y-o[3].y)/6,o[2].x,o[2].y])}return n}var N=e.prototype,R=t.is,F=t._.clone,D="hasOwnProperty",I=/,?([a-z]),?/gi,z=parseFloat,L=Math,q=L.PI,V=L.min,H=L.max,U=L.pow,W=L.abs,G=c(1),Z=c(),J=c(0,1),X=t._unit2px,Y={path:function(t){return t.attr("path")},circle:function(t){var e=X(t);return A(e.cx,e.cy,e.r)},ellipse:function(t){var e=X(t);return A(e.cx||0,e.cy||0,e.rx,e.ry)},rect:function(t){var e=X(t);return C(e.x||0,e.y||0,e.width,e.height,e.rx,e.ry)},image:function(t){var e=X(t);return C(e.x||0,e.y||0,e.width,e.height)},line:function(t){return"M"+[t.attr("x1")||0,t.attr("y1")||0,t.attr("x2"),t.attr("y2")]},polyline:function(t){return"M"+t.attr("points")},polygon:function(t){return"M"+t.attr("points")+"z"},deflt:function(t){var e=t.node.getBBox();return C(e.x,e.y,e.width,e.height)}};t.path=i,t.path.getTotalLength=G,t.path.getPointAtLength=Z,t.path.getSubpath=function(t,e,n){if(this.getTotalLength(t)-n<1e-6)return J(t,e).end;var r=J(t,n,1);return e?J(r,e).end:r},N.getTotalLength=function(){if(this.node.getTotalLength)return this.node.getTotalLength()},N.getPointAtLength=function(t){return Z(this.attr("d"),t)},N.getSubpath=function(e,n){return t.path.getSubpath(this.attr("d"),e,n)},t._.box=o,t.path.findDotsAtSegment=u,t.path.bezierBBox=f,t.path.isPointInsideBBox=h,t.closest=function(e,n,r,i){for(var a=100,s=o(e-a/2,n-a/2,a,a),l=[],c=r[0].hasOwnProperty("x")?function(t){return{x:r[t].x,y:r[t].y}}:function(t){return{x:r[t],y:i[t]}},u=0;a<=1e6&&!u;){for(var f=0,p=r.length;fm&&(v=m,l[f].len=m,g=l[f])}return g}},t.path.isBBoxIntersect=p,t.path.intersection=b,t.path.intersectionNumber=_,t.path.isPointInside=w,t.path.getBBox=k,t.path.get=Y,t.path.toRelative=T,t.path.toAbsolute=S,t.path.toCubic=E,t.path.map=M,t.path.toString=a,t.path.clone=s}),r.plugin(function(t,r,i,o){var a=Math.max,s=Math.min,l=function(t){if(this.items=[],this.bindings={},this.length=0,this.type="set",t)for(var e=0,n=t.length;e',{def:r})},t.filter.blur.toString=function(){return this()},t.filter.shadow=function(e,n,r,i,o){return"string"==typeof r&&(i=r,o=i,r=4),"string"!=typeof i&&(o=i,i="#000"),i=i||"#000",null==r&&(r=4),null==o&&(o=1),null==e&&(e=0,n=2),null==n&&(n=e),i=t.color(i),t.format('',{color:i,dx:e,dy:n,blur:r,opacity:o})},t.filter.shadow.toString=function(){return this()},t.filter.grayscale=function(e){return null==e&&(e=1),t.format('',{a:.2126+.7874*(1-e),b:.7152-.7152*(1-e),c:.0722-.0722*(1-e),d:.2126-.2126*(1-e),e:.7152+.2848*(1-e),f:.0722-.0722*(1-e),g:.2126-.2126*(1-e),h:.0722+.9278*(1-e)})},t.filter.grayscale.toString=function(){return this()},t.filter.sepia=function(e){return null==e&&(e=1),t.format('',{a:.393+.607*(1-e),b:.769-.769*(1-e),c:.189-.189*(1-e),d:.349-.349*(1-e),e:.686+.314*(1-e),f:.168-.168*(1-e),g:.272-.272*(1-e),h:.534-.534*(1-e),i:.131+.869*(1-e)})},t.filter.sepia.toString=function(){return this()},t.filter.saturate=function(e){return null==e&&(e=1),t.format('',{amount:1-e})},t.filter.saturate.toString=function(){return this()},t.filter.hueRotate=function(e){return e=e||0,t.format('',{angle:e})},t.filter.hueRotate.toString=function(){return this()},t.filter.invert=function(e){return null==e&&(e=1),t.format('',{amount:e,amount2:1-e})},t.filter.invert.toString=function(){return this()},t.filter.brightness=function(e){return null==e&&(e=1),t.format('',{amount:e})},t.filter.brightness.toString=function(){return this()},t.filter.contrast=function(e){return null==e&&(e=1),t.format('',{amount:e,amount2:.5-e/2})},t.filter.contrast.toString=function(){return this()}}),r.plugin(function(t,e,n,r,i){var o=t._.box,a=t.is,s=/^[^a-z]*([tbmlrc])/i,l=function(){return"T"+this.dx+","+this.dy};e.prototype.getAlign=function(t,e){null==e&&a(t,"string")&&(e=t,t=null),t=t||this.paper;var n=t.getBBox?t.getBBox():o(t),r=this.getBBox(),i={};switch(e=e&&e.match(s),e=e?e[1].toLowerCase():"c"){case"t":i.dx=0,i.dy=n.y-r.y;break;case"b":i.dx=0,i.dy=n.y2-r.y2;break;case"m":i.dx=0,i.dy=n.cy-r.cy;break;case"l":i.dx=n.x-r.x,i.dy=0;break;case"r":i.dx=n.x2-r.x2,i.dy=0;break;default:i.dx=n.cx-r.cx,i.dy=0}return i.toString=l,i},e.prototype.align=function(t,e){return this.transform("..."+this.getAlign(t,e))}}),r})}).call(window)},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.generateId=void 0;var i=n(170),o=r(i),a=(0,o.default)({}),s=function(){var t=0,e="item_";return function(n){return n="string"==typeof n?n:e,t+=1,n+t}}();e.generateId=s,e.eventEmitter=a},function(t,e,n){var r=n(21).Pipe,i=function(){};i.prototype.setResult=function(t){return this.result=t,this.hasResult=!0,this},i.prototype.exit=function(){return this.exiting=!0,this},i.prototype.switchTo=function(t,e){return"string"==typeof t||t instanceof r?this.nextPipe=t:(this.next=t,e&&(this.nextPipe=e)),this},i.prototype.push=function(t,e){return t.parent=this,"undefined"!=typeof e&&(t.childName=e),t.root=this.root||this,t.options=t.options||this.options,this.children?(this.children[this.children.length-1].next=t,this.children.push(t)):(this.children=[t],this.nextAfterChildren=this.next||null,this.next=t),t.next=this,this},e.Context=i},function(t,e,n){var r=n(8).Context,i=n(18),o=function(t,e){this.left=t,this.right=e,this.pipe="diff"};o.prototype=new r,o.prototype.setResult=function(t){if(this.options.cloneDiffValues){var e="function"==typeof this.options.cloneDiffValues?this.options.cloneDiffValues:function(t){return JSON.parse(JSON.stringify(t),i)};"object"==typeof t[0]&&(t[0]=e(t[0])),"object"==typeof t[1]&&(t[1]=e(t[1]))}return r.prototype.setResult.apply(this,arguments)},e.DiffContext=o},function(t,e,n){var r=n(8).Context,i=function(t,e){this.left=t,this.delta=e,this.pipe="patch"};i.prototype=new r,e.PatchContext=i},function(t,e,n){var r=n(8).Context,i=function(t){this.delta=t,this.pipe="reverse"};i.prototype=new r,e.ReverseContext=i},function(t,e){e.isBrowser="undefined"!=typeof window},function(t,e,n){var r=n(4),i=r.BaseFormatter,o=function(){this.includeMoveDestinations=!1};o.prototype=new i,o.prototype.prepareContext=function(t){i.prototype.prepareContext.call(this,t),t.indent=function(t){this.indentLevel=(this.indentLevel||0)+("undefined"==typeof t?1:t),this.indentPad=new Array(this.indentLevel+1).join("  ")},t.row=function(e,n){t.out('
    '),t.out(t.indentPad),t.out('
    '),t.out(e),t.out('
    '),t.out(n),t.out("
    ")}},o.prototype.typeFormattterErrorFormatter=function(t,e){t.row("",'
    '+e+"
    ")},o.prototype.formatTextDiffString=function(t,e){var n=this.parseTextDiff(e);t.out('
      ');for(var r=0,i=n.length;r
      '+o.location.line+''+o.location.chr+'
      ');for(var a=o.pieces,s=0,l=a.length;s'+c.text+"")}t.out("
      ")}t.out("
    ")},o.prototype.rootBegin=function(t,e,n){t.out(''),"node"===e&&(t.row("{"),t.indent()),"array"===n&&t.row('"_t": "a",',"Array delta (member names indicate array indices)")},o.prototype.rootEnd=function(t,e){"node"===e&&(t.indent(-1),t.row("}")),t.out("
    ")},o.prototype.nodeBegin=function(t,e,n,r,i){t.row("""+e+"": {"),"node"===r&&t.indent(),"array"===i&&t.row('"_t": "a",',"Array delta (member names indicate array indices)")},o.prototype.nodeEnd=function(t,e,n,r,i,o){"node"===r&&t.indent(-1),t.row("}"+(o?"":","))},o.prototype.format_unchanged=function(){},o.prototype.format_movedestination=function(){},o.prototype.format_node=function(t,e,n){this.formatDeltaChildren(t,e,n)};var a=function(t){return'
    "'+t+""
    "},s={added:function(t,e,n,r){var i="
    ([newValue])
    ";return"undefined"==typeof r?"new value"+i:"number"==typeof r?"insert at index "+r+i:"add property "+a(r)+i},modified:function(t,e,n,r){var i="
    ([previousValue, newValue])
    ";return"undefined"==typeof r?"modify value"+i:"number"==typeof r?"modify at index "+r+i:"modify property "+a(r)+i},deleted:function(t,e,n,r){var i="
    ([previousValue, 0, 0])
    ";return"undefined"==typeof r?"delete value"+i:"number"==typeof r?"remove index "+r+i:"delete property "+a(r)+i},moved:function(t,e,n,r){return'move from index '+r+' to index '+t[1]+""},textdiff:function(t,e,n,r){var i="undefined"==typeof r?"":"number"==typeof r?" at index "+r:" at property "+a(r);return"text diff"+i+', format is a variation of Unidiff'}},l=function(t,e){var n=this.getDeltaType(e),r=s[n],i=r&&r.apply(r,Array.prototype.slice.call(arguments,1)),o=JSON.stringify(e,null,2);"textdiff"===n&&(o=o.split("\\n").join('\\n"+\n "')),t.indent(),t.row(o,i),t.indent(-1)};o.prototype.format_added=l,o.prototype.format_modified=l,o.prototype.format_deleted=l,o.prototype.format_moved=l,o.prototype.format_textdiff=l,e.AnnotatedFormatter=o;var c;e.format=function(t,e){return c||(c=new o),c.format(t,e)}},function(t,e,n){function r(t){for(var e=t,n=[[/&/g,"&"],[//g,">"],[/'/g,"'"],[/"/g,"""]],r=0;r'+e+"")},a.prototype.formatValue=function(t,e){t.out("
    "+r(JSON.stringify(e,null,2))+"
    ")},a.prototype.formatTextDiffString=function(t,e){var n=this.parseTextDiff(e);t.out('
      ');for(var i=0,o=n.length;i
      '+a.location.line+''+a.location.chr+'
      ');for(var s=a.pieces,l=0,c=s.length;l'+r(unescape(u.text))+"")}t.out("
      ")}t.out("
    ")};var s=function(t){t=t||document;var e=function(t){return t.textContent||t.innerText},n=function(t,e,n){for(var r=t.querySelectorAll(e),i=0,o=r.length;i0?0:c)+"px";var u=c>0?"M30,0 Q-10,"+Math.round(c/2)+" 26,"+(c-4):"M30,"+-c+" Q-10,"+Math.round(-c/2)+" 26,4";o.setAttribute("d",u),i.style.display=""}catch(t){return}})};a.prototype.rootBegin=function(t,e,n){var r="jsondiffpatch-"+e+(n?" jsondiffpatch-child-node-type-"+n:"");t.out('
    ')},a.prototype.rootEnd=function(t){t.out("
    "+(t.hasArrows?'":""))},a.prototype.nodeBegin=function(t,e,n,r,i){var o="jsondiffpatch-"+r+(i?" jsondiffpatch-child-node-type-"+i:"");t.out('
  • '+n+"
    ")},a.prototype.nodeEnd=function(t){t.out("
  • ")},a.prototype.format_unchanged=function(t,e,n){"undefined"!=typeof n&&(t.out('
    '),this.formatValue(t,n),t.out("
    "))},a.prototype.format_movedestination=function(t,e,n){"undefined"!=typeof n&&(t.out('
    '),this.formatValue(t,n),t.out("
    "))},a.prototype.format_node=function(t,e,n){var r="a"===e._t?"array":"object";t.out('
      '),this.formatDeltaChildren(t,e,n),t.out("
    ")},a.prototype.format_added=function(t,e){t.out('
    '),this.formatValue(t,e[0]),t.out("
    ")},a.prototype.format_modified=function(t,e){t.out('
    '),this.formatValue(t,e[0]),t.out('
    '),this.formatValue(t,e[1]),t.out("
    ")},a.prototype.format_deleted=function(t,e){t.out('
    '),this.formatValue(t,e[0]),t.out("
    ")},a.prototype.format_moved=function(t,e){t.out('
    '),this.formatValue(t,e[0]),t.out('
    '+e[1]+"
    "),t.out('
    \t \t \t \t \t \t \t \t \t
    '),t.hasArrows=!0},a.prototype.format_textdiff=function(t,e){t.out('
    '),this.formatTextDiffString(t,e[0]),t.out("
    ")};var l=function(t,e,n){var r=e||document.body,i="jsondiffpatch-unchanged-",o={showing:i+"showing",hiding:i+"hiding",visible:i+"visible",hidden:i+"hidden"},a=r.classList;if(a){if(!n)return a.remove(o.showing),a.remove(o.hiding),a.remove(o.visible),a.remove(o.hidden),void(t===!1&&a.add(o.hidden));t===!1?(a.remove(o.showing),a.add(o.visible),setTimeout(function(){a.add(o.hiding)},10)):(a.remove(o.hiding),a.add(o.showing),a.remove(o.hidden));var l=setInterval(function(){s(r)},100);setTimeout(function(){a.remove(o.showing),a.remove(o.hiding),t===!1?(a.add(o.hidden),a.remove(o.visible)):(a.add(o.visible),a.remove(o.hidden)),setTimeout(function(){a.remove(o.visible),clearInterval(l)},n+400)},n)}},c=function(t,e){return l(!1,t,e)};e.HtmlFormatter=a,e.showUnchanged=l,e.hideUnchanged=c;var u;e.format=function(t,e){return u||(u=new a),u.format(t,e)}},function(t,e,n){var r=n(12);if(e.base=n(4),e.html=n(14),e.annotated=n(13),e.jsonpatch=n(16),!r.isBrowser){var i="./console";e.console=n(177)(i)}},function(t,e,n){!function(){function t(){this.includeMoveDestinations=!1}function r(t){return t[t.length-1]}function i(t,e){return t.sort(e),t}function o(t){return i(t,function(t,e){var n=t.path.split("/"),i=e.path.split("/");return n.length!==i.length?n.length-i.length:h(r(n),r(i))})}function a(t,e){var n=[],r=[];return t.forEach(function(t){var i=e(t)?n:r;i.push(t)}),[n,r]}function s(t){var e=a(t,function(t){return"remove"===t.op}),n=e[0],r=e[1],i=o(n);return i.concat(r)}var l=n(4),c=l.BaseFormatter,u={added:"add",deleted:"remove",modified:"replace",moved:"moved",movedestination:"movedestination",unchanged:"unchanged",error:"error",textDiffLine:"textDiffLine"};t.prototype=new c,t.prototype.prepareContext=function(t){c.prototype.prepareContext.call(this,t),t.result=[],t.path=[],t.pushCurrentOp=function(t,e){var n={op:t,path:this.currentPath()};"undefined"!=typeof e&&(n.value=e),this.result.push(n)},t.currentPath=function(){return"/"+this.path.join("/"); +}},t.prototype.typeFormattterErrorFormatter=function(t,e){t.out("[ERROR]"+e)},t.prototype.rootBegin=function(){},t.prototype.rootEnd=function(){},t.prototype.nodeBegin=function(t,e,n){t.path.push(n)},t.prototype.nodeEnd=function(t){t.path.pop()},t.prototype.format_unchanged=function(t,e,n){"undefined"!=typeof n&&t.pushCurrentOp(u.unchanged,n)},t.prototype.format_movedestination=function(t,e,n){"undefined"!=typeof n&&t.pushCurrentOp(u.movedestination,n)},t.prototype.format_node=function(t,e,n){this.formatDeltaChildren(t,e,n)},t.prototype.format_added=function(t,e){t.pushCurrentOp(u.added,e[0])},t.prototype.format_modified=function(t,e){t.pushCurrentOp(u.modified,e[1])},t.prototype.format_deleted=function(t){t.pushCurrentOp(u.deleted)},t.prototype.format_moved=function(t,e){t.pushCurrentOp(u.moved,e[1])},t.prototype.format_textdiff=function(){throw"not implimented"},t.prototype.format=function(t,e){var n={};return this.prepareContext(n),this.recurse(n,t,e),n.result},e.JSONFormatter=t;var f,h=function(t,e){var n=parseInt(t,10),r=parseInt(e,10);return isNaN(n)||isNaN(r)?0:r-n},p=function(e,n){return f||(f=new t),s(f.format(e,n))};e.log=function(t,e){console.log(p(t,e))},e.format=p}()},function(t,e,n){t.exports=!n(23)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){t.exports=function(t,e){var n;return"string"==typeof e&&(n=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(?:\.(\d*))?(Z|([+\-])(\d{2}):(\d{2}))$/.exec(e))?new Date(Date.UTC(+n[1],+n[2]-1,+n[3],+n[4],+n[5],+n[6],+(n[7]||0))):e}},function(t,e,n){var r=n(101),i=n(4),o=i.BaseFormatter,a={added:r.green,deleted:r.red,movedestination:r.gray,moved:r.yellow,unchanged:r.gray,error:r.white.bgRed,textDiffLine:r.gray},s=function(){this.includeMoveDestinations=!1};s.prototype=new o,s.prototype.prepareContext=function(t){o.prototype.prepareContext.call(this,t),t.indent=function(t){this.indentLevel=(this.indentLevel||0)+("undefined"==typeof t?1:t),this.indentPad=new Array(this.indentLevel+1).join(" "),this.outLine()},t.outLine=function(){this.buffer.push("\n"+(this.indentPad||""))},t.out=function(){for(var t=0,e=arguments.length;t "),t.pushColor(a.added),this.formatValue(t,e[1]),t.popColor()},s.prototype.format_deleted=function(t,e){this.formatValue(t,e[0])},s.prototype.format_moved=function(t,e){t.out("==> "+e[1])},s.prototype.format_textdiff=function(t,e){this.formatTextDiffString(t,e[0])},e.ConsoleFormatter=s;var l,c=function(t,e){return l||(l=new s),l.format(t,e)};e.log=function(t,e){console.log(c(t,e))},e.format=c},function(t,e,n){var r=n(12),i=n(28).DiffPatcher;e.DiffPatcher=i,e.create=function(t){return new i(t)},e.dateReviver=n(18);var o;if(e.diff=function(){return o||(o=new i),o.diff.apply(o,arguments)},e.patch=function(){return o||(o=new i),o.patch.apply(o,arguments)},e.unpatch=function(){return o||(o=new i),o.unpatch.apply(o,arguments)},e.reverse=function(){return o||(o=new i),o.reverse.apply(o,arguments)},r.isBrowser)e.homepage="{{package-homepage}}",e.version="{{package-version}}";else{var a="../package.json",s=n(50)(a);e.homepage=s.homepage,e.version=s.version;var l="./formatters",c=n(50)(l);e.formatters=c,e.console=c.console}},function(t,e){var n=function(t){this.name=t,this.filters=[]};n.prototype.process=function(t){if(!this.processor)throw new Error("add this pipe to a processor before using it");for(var e=this.debug,n=this.filters.length,r=t,i=0;ie.length?t:e,c=t.length>e.length?e:t,u=l.indexOf(c);if(u!=-1)return s=[[i,l.substring(0,u)],[o,c],[i,l.substring(u+c.length)]],t.length>e.length&&(s[0][0]=s[2][0]=r),s;if(1==c.length)return[[r,t],[i,e]];l=c=null;var f=this.diff_halfMatch_(t,e);if(f){var h=f[0],p=f[1],d=f[2],g=f[3],v=f[4],m=this.diff_main(h,d,n,a),y=this.diff_main(p,g,n,a);return m.concat([[o,v]],y)}return n&&t.length>100&&e.length>100?this.diff_lineMode_(t,e,a):this.diff_bisect_(t,e,a)},n.prototype.diff_lineMode_=function(t,e,n){var a=this.diff_linesToChars_(t,e);t=a[0],e=a[1];var s=a[2],l=this.diff_bisect_(t,e,n);this.diff_charsToLines_(l,s),this.diff_cleanupSemantic(l),l.push([o,""]);for(var c=0,u=0,f=0,h="",p="";c=1&&f>=1){var a=this.diff_main(h,p,!1,n);l.splice(c-u-f,u+f),c=c-u-f;for(var d=a.length-1;d>=0;d--)l.splice(c,0,a[d]);c+=a.length}f=0,u=0,h="",p=""}c++}return l.pop(),l},n.prototype.diff_bisect_=function(t,e,n){for(var o=t.length,a=e.length,s=Math.ceil((o+a)/2),l=s,c=2*s,u=new Array(c),f=new Array(c),h=0;hn);b++){for(var _=-b+g;_<=b-v;_+=2){var x,w=l+_;x=_==-b||_!=b&&u[w-1]o)v+=2;else if(k>a)g+=2;else if(d){var C=l+p-_;if(C>=0&&C=A)return this.diff_bisectSplit_(t,e,x,k,n)}}}for(var T=-b+m;T<=b-y;T+=2){var A,C=l+T;A=T==-b||T!=b&&f[C-1]o)y+=2;else if(S>a)m+=2;else if(!d){var w=l+p-T;if(w>=0&&w=A)return this.diff_bisectSplit_(t,e,x,k,n)}}}}return[[r,t],[i,e]]},n.prototype.diff_bisectSplit_=function(t,e,n,r,i){var o=t.substring(0,n),a=e.substring(0,r),s=t.substring(n),l=e.substring(r),c=this.diff_main(o,a,!1,i),u=this.diff_main(s,l,!1,i);return c.concat(u)},n.prototype.diff_linesToChars_=function(t,e){function n(t){for(var e="",n=0,o=-1,a=r.length;or?t=t.substring(n-r):n=t.length?[r,i,o,s,u]:null}if(this.Diff_Timeout<=0)return null;var r=t.length>e.length?t:e,i=t.length>e.length?e:t;if(r.length<4||2*i.lengthl[4].length?s:l:s;var c,u,f,h;t.length>e.length?(c=o[0],u=o[1],f=o[2],h=o[3]):(f=o[0],h=o[1],c=o[2],u=o[3]);var p=o[4];return[c,u,f,h,p]},n.prototype.diff_cleanupSemantic=function(t){for(var e=!1,n=[],a=0,s=null,l=0,c=0,u=0,f=0,h=0;l0?n[a-1]:-1,c=0,u=0,f=0,h=0,s=null,e=!0)),l++;for(e&&this.diff_cleanupMerge(t),this.diff_cleanupSemanticLossless(t),l=1;l=p.length/2||g>=d.length/2)&&(t.splice(l,0,[o,d.substring(0,g)]),t[l-1][1]=p.substring(0,p.length-g),t[l+1][1]=d.substring(g),l++),l++}l++}},n.prototype.diff_cleanupSemanticLossless=function(t){function e(t,e){if(!t||!e)return 5;var o=0;return(t.charAt(t.length-1).match(n)||e.charAt(0).match(n))&&(o++,(t.charAt(t.length-1).match(r)||e.charAt(0).match(r))&&(o++,(t.charAt(t.length-1).match(i)||e.charAt(0).match(i))&&(o++,(t.match(a)||e.match(s))&&o++))),o}for(var n=/[^a-zA-Z0-9]/,r=/\s/,i=/[\r\n]/,a=/\n\r?\n$/,s=/^\r?\n\r?\n/,l=1;l=m&&(m=y,d=c,g=u,v=f)}t[l-1][1]!=d&&(d?t[l-1][1]=d:(t.splice(l-1,1),l--),t[l][1]=g,v?t[l+1][1]=v:(t.splice(l+1,1),l--))}l++}},n.prototype.diff_cleanupEfficiency=function(t){for(var e=!1,n=[],a=0,s="",l=0,c=!1,u=!1,f=!1,h=!1;l0?n[a-1]:-1,f=h=!1),e=!0)),l++;e&&this.diff_cleanupMerge(t)},n.prototype.diff_cleanupMerge=function(t){t.push([o,""]);for(var e,n=0,a=0,s=0,l="",c="";n1?(0!==a&&0!==s&&(e=this.diff_commonPrefix(c,l),0!==e&&(n-a-s>0&&t[n-a-s-1][0]==o?t[n-a-s-1][1]+=c.substring(0,e):(t.splice(0,0,[o,c.substring(0,e)]),n++),c=c.substring(e),l=l.substring(e)),e=this.diff_commonSuffix(c,l),0!==e&&(t[n][1]=c.substring(c.length-e)+t[n][1],c=c.substring(0,c.length-e),l=l.substring(0,l.length-e))),0===a?t.splice(n-a-s,a+s,[i,c]):0===s?t.splice(n-a-s,a+s,[r,l]):t.splice(n-a-s,a+s,[r,l],[i,c]),n=n-a-s+(a?1:0)+(s?1:0)+1):0!==n&&t[n-1][0]==o?(t[n-1][1]+=t[n][1],t.splice(n,1)):n++,s=0,a=0,l="",c=""}""===t[t.length-1][1]&&t.pop();var u=!1;for(n=1;ne));n++)s=o,l=a;return t.length!=n&&t[n][0]===r?l:l+(e-s)},n.prototype.diff_prettyHtml=function(t){for(var e=[],n=0,a=/&/g,s=//g,c=/\n/g,u=0;u");switch(f){case i:e[u]=''+p+"";break;case r:e[u]=''+p+"";break;case o:e[u]=""+p+""}f!==r&&(n+=h.length)}return e.join("")},n.prototype.diff_text1=function(t){for(var e=[],n=0;nthis.Match_MaxBits)throw new Error("Pattern too long for this browser.");var i=this.match_alphabet_(e),o=this,a=this.Match_Threshold,s=t.indexOf(e,n);s!=-1&&(a=Math.min(r(0,s),a),s=t.lastIndexOf(e,n+e.length),s!=-1&&(a=Math.min(r(0,s),a)));var l=1<=d;m--){var y=i[t.charAt(m-1)];if(0===p?v[m]=(v[m+1]<<1|1)&y:v[m]=(v[m+1]<<1|1)&y|((f[m+1]|f[m])<<1|1)|f[m+1],v[m]&l){var b=r(p,m-1);if(b<=a){if(a=b,s=m-1,!(s>n))break;d=Math.max(1,2*n-s)}}}if(r(p+1,n)>a)break;f=v}return s},n.prototype.match_alphabet_=function(t){for(var e={},n=0;n2&&(this.diff_cleanupSemantic(l),this.diff_cleanupEfficiency(l));else if(t&&"object"==typeof t&&"undefined"==typeof e&&"undefined"==typeof a)l=t,s=this.diff_text1(l);else if("string"==typeof t&&e&&"object"==typeof e&&"undefined"==typeof a)s=t,l=e;else{if("string"!=typeof t||"string"!=typeof e||!a||"object"!=typeof a)throw new Error("Unknown call format to patch_make.");s=t,l=a}if(0===l.length)return[];for(var c=[],u=new n.patch_obj,f=0,h=0,p=0,d=s,g=s,v=0;v=2*this.Patch_Margin&&f&&(this.patch_addContext_(u,d),c.push(u),u=new n.patch_obj,f=0,d=g,h=p)}m!==i&&(h+=y.length),m!==r&&(p+=y.length)}return f&&(this.patch_addContext_(u,d),c.push(u)),c},n.prototype.patch_deepCopy=function(t){for(var e=[],r=0;rthis.Match_MaxBits?(c=this.match_main(e,f.substring(0,this.Match_MaxBits),u),c!=-1&&(h=this.match_main(e,f.substring(f.length-this.Match_MaxBits),u+f.length-this.Match_MaxBits),(h==-1||c>=h)&&(c=-1))):c=this.match_main(e,f,u),c==-1)s[l]=!1,a-=t[l].length2-t[l].length1;else{s[l]=!0,a=c-u;var p;if(p=h==-1?e.substring(c,c+f.length):e.substring(c,h+this.Match_MaxBits),f==p)e=e.substring(0,c)+this.diff_text2(t[l].diffs)+e.substring(c+f.length);else{var d=this.diff_main(f,p,!1);if(f.length>this.Match_MaxBits&&this.diff_levenshtein(d)/f.length>this.Patch_DeleteThreshold)s[l]=!1;else{this.diff_cleanupSemanticLossless(d);for(var g,v=0,m=0;ma[0][1].length){var s=e-a[0][1].length;a[0][1]=n.substring(a[0][1].length)+a[0][1],i.start1-=s,i.start2-=s,i.length1+=s,i.length2+=s}if(i=t[t.length-1],a=i.diffs,0==a.length||a[a.length-1][0]!=o)a.push([o,n]),i.length1+=e,i.length2+=e;else if(e>a[a.length-1][1].length){var s=e-a[a.length-1][1].length;a[a.length-1][1]+=n.substring(0,s),i.length1+=s,i.length2+=s}return n},n.prototype.patch_splitMax=function(t){for(var e=this.Match_MaxBits,a=0;ae){var s=t[a];t.splice(a--,1);for(var l=s.start1,c=s.start2,u="";0!==s.diffs.length;){var f=new n.patch_obj,h=!0;for(f.start1=l-u.length,f.start2=c-u.length,""!==u&&(f.length1=f.length2=u.length,f.diffs.push([o,u]));0!==s.diffs.length&&f.length12*e?(f.length1+=d.length,l+=d.length,h=!1,f.diffs.push([p,d]),s.diffs.shift()):(d=d.substring(0,e-f.length1-this.Patch_Margin),f.length1+=d.length,l+=d.length,p===o?(f.length2+=d.length,c+=d.length):h=!1,f.diffs.push([p,d]),d==s.diffs[0][1]?s.diffs.shift():s.diffs[0][1]=s.diffs[0][1].substring(d.length))}u=this.diff_text2(f.diffs),u=u.substring(u.length-this.Patch_Margin);var g=this.diff_text1(s.diffs).substring(0,this.Patch_Margin);""!==g&&(f.length1+=g.length,f.length2+=g.length,0!==f.diffs.length&&f.diffs[f.diffs.length-1][0]===o?f.diffs[f.diffs.length-1][1]+=g:f.diffs.push([o,g])),h||t.splice(++a,0,f)}}},n.prototype.patch_toText=function(t){for(var e=[],n=0;n0&&m>0&&!u.objectHash&&"boolean"!=typeof u.matchByPosition&&(u.matchByPosition=!r(d,g,v,m));h0)for(var $=0;$=0;e--){n=o[e];var u=r["_"+n],f=i.splice(n,1)[0];u[2]===c&&s.push({index:u[1],value:f})}s=s.sort(p.numericallyBy("index"));var h=s.length;for(e=0;e0)for(e=0;er?r++:a>=r&&st[r-1][o]?i(t,e,n,r,o-1,a):i(t,e,n,r-1,o,a)},o=function(t,e,o,a){a=a||{};var s=r(t,e,o||n,a),l=i(s,t,e,t.length,e.length,a);return"string"==typeof t&&"string"==typeof e&&(l.sequence=l.sequence.join("")),l};e.get=o},function(t,e,n){var r=n(9).DiffContext,i=n(10).PatchContext,o=n(11).ReverseContext,a=function(t){if(t&&t.children){for(var e,n=t.children.length,r=t.result,i=0;i=this.viewport.width&&(o=this.viewport.width-this.currentViewBox[2]),a+this.currentViewBox[3]>=this.viewport.height&&(a=this.viewport.height-this.currentViewBox[3]),o<=0&&(o=0),a<=0&&(a=0),this.currentViewBox[0]=o,this.currentViewBox[1]=a,this.updateViewBox()}},{key:"reset",value:function(){this.scale=1,this.currentViewBox=[0,0,this.imageWidth,this.imageHeight],this.updateViewBox()}},{key:"zoomOut",value:function(){if(1==this.scale)return!1;var t=this.currentViewBox[0]+this.currentViewBox[2]/2,e=this.currentViewBox[1]+this.currentViewBox[3]/2,n=this.zoomFactor*(this.scale-1),r=this.imgMinSize-this.imgMinSize*n,i=r,o=t-r/2,a=e-i/2;this.currentViewBox[0]=o,this.currentViewBox[1]=a,this.currentViewBox[2]=r,this.currentViewBox[3]=i,this.updateViewBox(),this.scale--}}]),t}();e.default={enable_zoom:function(t){return new a(t)}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={methods:{save:function(t){Object.assign(t,{fragment:this.toSVGPath()}),this.$parent.$emit("save",t)}}}},function(t,e,n){(function(t,r){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(6),a=i(o),s=n(190),l=i(s),c={placement:"auto",container:"body",trigger:"manual",html:!0,title:"",viewport:".cut-canvas",content:""};e.default={methods:{addTooltip:function(){var e=this,n=new Vue(l.default);this.originalAnnotation&&(n.originalTitle=this.originalAnnotation.title,n.originalDescription=this.originalAnnotation.description,n.originalTags=this.originalAnnotation.tags),n.$mount(t("
    ").get(0)),n.$on("close",function(){e.clear()}),n.$on("save",function(t){e.save(t)}),c.content=n.$el;var i=new a.default(this.getTooltipTarget()),o=r(i.node);o.popover(c).popover("show"),this.$on("drag:start",function(){o.popover("hide")}),this.$on("drag:end",function(){o.popover("show")}),o.on("shown.bs.popover",function(t){var e=o.data("bs.popover").$tip;e.find('input[name="title"]').focus()})},destroyTooltip:function(){var t=new a.default(this.getTooltipTarget()),e=r(t.node);e.data("bs.popover")&&e.popover("destroy")},hideTooltip:function(){var t=new a.default(this.getTooltipTarget()),e=r(t.node);e.data("bs.popover")&&e.popover("hide")},showTooltip:function(){var t=new a.default(this.getTooltipTarget()),e=r(t.node);e.data("bs.popover")&&e.popover("show")}}}}).call(e,n(1),n(1))},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(24),i=n(22),o=n(108),a=n(112),s="prototype",l=function(t,e,n){var c,u,f,h=t&l.F,p=t&l.G,d=t&l.S,g=t&l.P,v=t&l.B,m=t&l.W,y=p?i:i[e]||(i[e]={}),b=y[s],_=p?r:d?r[e]:(r[e]||{})[s];p&&(n=e);for(c in n)u=!h&&_&&void 0!==_[c],u&&c in y||(f=u?_[c]:n[c],y[c]=p&&"function"!=typeof _[c]?n[c]:v&&u?o(f,r):m&&_[c]==f?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e[s]=t[s],e}(f):g&&"function"==typeof f?o(Function.call,f):f,g&&((y.virtual||(y.virtual={}))[c]=f,t&l.R&&b&&!b[c]&&a(b,c,f)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},function(t,e,n){var r=n(107);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){var r=n(105),i=n(113),o=n(125),a=Object.defineProperty;e.f=n(17)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(44),i=n(42);t.exports=function(t){return r(i(t))}},function(t,e){"use strict";function n(t){function e(){var t={};for(s.push(t);l-1}function d(t,e,n){for(var r=-1,i=null==t?0:t.length;++r-1;);return n}function I(t,e){for(var n=t.length;n--&&C(e,t[n],0)>-1;);return n}function z(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}function L(t){return"\\"+Yn[t]}function q(t,e){return null==t?it:t[e]}function V(t){return qn.test(t)}function H(t){return Vn.test(t)}function U(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}function W(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function G(t,e){return function(n){return t(e(n))}}function Z(t,e){for(var n=-1,r=t.length,i=0,o=[];++n>>1,Dt=[["ary",bt],["bind",ht],["bindKey",pt],["curry",gt],["curryRight",vt],["flip",xt],["partial",mt],["partialRight",yt],["rearg",_t]],It="[object Arguments]",zt="[object Array]",Lt="[object AsyncFunction]",qt="[object Boolean]",Vt="[object Date]",Ht="[object DOMException]",Ut="[object Error]",Wt="[object Function]",Gt="[object GeneratorFunction]",Zt="[object Map]",Jt="[object Number]",Xt="[object Null]",Yt="[object Object]",Kt="[object Promise]",Qt="[object Proxy]",te="[object RegExp]",ee="[object Set]",ne="[object String]",re="[object Symbol]",ie="[object Undefined]",oe="[object WeakMap]",ae="[object WeakSet]",se="[object ArrayBuffer]",le="[object DataView]",ce="[object Float32Array]",ue="[object Float64Array]",fe="[object Int8Array]",he="[object Int16Array]",pe="[object Int32Array]",de="[object Uint8Array]",ge="[object Uint8ClampedArray]",ve="[object Uint16Array]",me="[object Uint32Array]",ye=/\b__p \+= '';/g,be=/\b(__p \+=) '' \+/g,_e=/(__e\(.*?\)|\b__t\)) \+\n'';/g,xe=/&(?:amp|lt|gt|quot|#39);/g,we=/[&<>"']/g,ke=RegExp(xe.source),Ce=RegExp(we.source),Ae=/<%-([\s\S]+?)%>/g,Te=/<%([\s\S]+?)%>/g,Se=/<%=([\s\S]+?)%>/g,$e=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,je=/^\w*$/,Oe=/^\./,Pe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ee=/[\\^$.*+?()[\]{}|]/g,Me=RegExp(Ee.source),Be=/^\s+|\s+$/g,Ne=/^\s+/,Re=/\s+$/,Fe=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,De=/\{\n\/\* \[wrapped with (.+)\] \*/,Ie=/,? & /,ze=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Le=/\\(\\)?/g,qe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ve=/\w*$/,He=/^[-+]0x[0-9a-f]+$/i,Ue=/^0b[01]+$/i,We=/^\[object .+?Constructor\]$/,Ge=/^0o[0-7]+$/i,Ze=/^(?:0|[1-9]\d*)$/,Je=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Xe=/($^)/,Ye=/['\n\r\u2028\u2029\\]/g,Ke="\\ud800-\\udfff",Qe="\\u0300-\\u036f\\ufe20-\\ufe23",tn="\\u20d0-\\u20f0",en="\\u2700-\\u27bf",nn="a-z\\xdf-\\xf6\\xf8-\\xff",rn="\\xac\\xb1\\xd7\\xf7",on="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",an="\\u2000-\\u206f",sn=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ln="A-Z\\xc0-\\xd6\\xd8-\\xde",cn="\\ufe0e\\ufe0f",un=rn+on+an+sn,fn="['’]",hn="["+Ke+"]",pn="["+un+"]",dn="["+Qe+tn+"]",gn="\\d+",vn="["+en+"]",mn="["+nn+"]",yn="[^"+Ke+un+gn+en+nn+ln+"]",bn="\\ud83c[\\udffb-\\udfff]",_n="(?:"+dn+"|"+bn+")",xn="[^"+Ke+"]",wn="(?:\\ud83c[\\udde6-\\uddff]){2}",kn="[\\ud800-\\udbff][\\udc00-\\udfff]",Cn="["+ln+"]",An="\\u200d",Tn="(?:"+mn+"|"+yn+")",Sn="(?:"+Cn+"|"+yn+")",$n="(?:"+fn+"(?:d|ll|m|re|s|t|ve))?",jn="(?:"+fn+"(?:D|LL|M|RE|S|T|VE))?",On=_n+"?",Pn="["+cn+"]?",En="(?:"+An+"(?:"+[xn,wn,kn].join("|")+")"+Pn+On+")*",Mn="\\d*(?:(?:1st|2nd|3rd|(?![123])\\dth)\\b)",Bn="\\d*(?:(?:1ST|2ND|3RD|(?![123])\\dTH)\\b)",Nn=Pn+On+En,Rn="(?:"+[vn,wn,kn].join("|")+")"+Nn,Fn="(?:"+[xn+dn+"?",dn,wn,kn,hn].join("|")+")",Dn=RegExp(fn,"g"),In=RegExp(dn,"g"),zn=RegExp(bn+"(?="+bn+")|"+Fn+Nn,"g"),Ln=RegExp([Cn+"?"+mn+"+"+$n+"(?="+[pn,Cn,"$"].join("|")+")",Sn+"+"+jn+"(?="+[pn,Cn+Tn,"$"].join("|")+")",Cn+"?"+Tn+"+"+$n,Cn+"+"+jn,Bn,Mn,gn,Rn].join("|"),"g"),qn=RegExp("["+An+Ke+Qe+tn+cn+"]"),Vn=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Hn=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Un=-1,Wn={};Wn[ce]=Wn[ue]=Wn[fe]=Wn[he]=Wn[pe]=Wn[de]=Wn[ge]=Wn[ve]=Wn[me]=!0,Wn[It]=Wn[zt]=Wn[se]=Wn[qt]=Wn[le]=Wn[Vt]=Wn[Ut]=Wn[Wt]=Wn[Zt]=Wn[Jt]=Wn[Yt]=Wn[te]=Wn[ee]=Wn[ne]=Wn[oe]=!1;var Gn={};Gn[It]=Gn[zt]=Gn[se]=Gn[le]=Gn[qt]=Gn[Vt]=Gn[ce]=Gn[ue]=Gn[fe]=Gn[he]=Gn[pe]=Gn[Zt]=Gn[Jt]=Gn[Yt]=Gn[te]=Gn[ee]=Gn[ne]=Gn[re]=Gn[de]=Gn[ge]=Gn[ve]=Gn[me]=!0,Gn[Ut]=Gn[Wt]=Gn[oe]=!1;var Zn={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},Jn={"&":"&","<":"<",">":">",'"':""","'":"'"},Xn={"&":"&","<":"<",">":">",""":'"',"'":"'"},Yn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Kn=parseFloat,Qn=parseInt,tr="object"==typeof t&&t&&t.Object===Object&&t,er="object"==typeof self&&self&&self.Object===Object&&self,nr=tr||er||Function("return this")(),rr="object"==typeof e&&e&&!e.nodeType&&e,ir=rr&&"object"==typeof i&&i&&!i.nodeType&&i,or=ir&&ir.exports===rr,ar=or&&tr.process,sr=function(){try{return ar&&ar.binding("util")}catch(t){}}(),lr=sr&&sr.isArrayBuffer,cr=sr&&sr.isDate,ur=sr&&sr.isMap,fr=sr&&sr.isRegExp,hr=sr&&sr.isSet,pr=sr&&sr.isTypedArray,dr=$("length"),gr=j(Zn),vr=j(Jn),mr=j(Xn),yr=function t(e){function n(t){if(rl(t)&&!gh(t)&&!(t instanceof _)){if(t instanceof i)return t;if(du.call(t,"__wrapped__"))return ta(t)}return new i(t)}function r(){}function i(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=it}function _(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Nt,this.__views__=[]}function j(){var t=new _(this.__wrapped__);return t.__actions__=Fi(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Fi(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Fi(this.__views__),t}function Y(){if(this.__filtered__){var t=new _(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t}function et(){var t=this.__wrapped__.value(),e=this.__dir__,n=gh(t),r=e<0,i=n?t.length:0,o=ko(0,i,this.__views__),a=o.start,s=o.end,l=s-a,c=r?s:a-1,u=this.__iteratees__,f=u.length,h=0,p=Hu(l,this.__takeCount__);if(!n||i-1}function ln(t,e){var n=this.__data__,r=Pn(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}function cn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e=e?t:e)),t}function Fn(t,e,n,r,i,o,a){var s;if(r&&(s=o?r(t,i,o,a):r(t)),s!==it)return s;if(!nl(t))return t;var l=gh(t);if(l){if(s=To(t),!e)return Fi(t,s)}else{var u=Af(t),f=u==Wt||u==Gt;if(mh(t))return Ai(t,e);if(u==Yt||u==It||f&&!o){if(s=So(f?{}:t),!e)return Ii(t,Mn(s,t))}else{if(!Gn[u])return o?t:{};s=$o(t,u,Fn,e)}}a||(a=new yn);var h=a.get(t);if(h)return h;a.set(t,s);var p=l?it:(n?po:Dl)(t);return c(p||t,function(i,o){ +p&&(o=i,i=t[o]),On(s,o,Fn(i,e,n,r,o,t,a))}),s}function zn(t){var e=Dl(t);return function(n){return Ln(n,t,e)}}function Ln(t,e,n){var r=n.length;if(null==t)return!r;for(t=ou(t);r--;){var i=n[r],o=e[i],a=t[i];if(a===it&&!(i in t)||!o(a))return!1}return!0}function qn(t,e,n){if("function"!=typeof t)throw new lu(lt);return $f(function(){t.apply(it,n)},e)}function Vn(t,e,n,r){var i=-1,o=p,a=!0,s=t.length,l=[],c=e.length;if(!s)return l;n&&(e=g(e,N(n))),r?(o=d,a=!1):e.length>=at&&(o=F,a=!1,e=new gn(e));t:for(;++ii?0:i+n),r=r===it||r>i?i:_l(r),r<0&&(r+=i),r=n>r?0:xl(r);n0&&n(s)?e>1?tr(s,e-1,n,r,i):v(i,s):r||(i[i.length]=s)}return i}function er(t,e){return t&&gf(t,e,Dl)}function rr(t,e){return t&&vf(t,e,Dl)}function ir(t,e){return h(e,function(e){return Qs(t[e])})}function ar(t,e){e=Mo(e,t)?[e]:ki(e);for(var n=0,r=e.length;null!=t&&ne}function _r(t,e){return null!=t&&du.call(t,e)}function xr(t,e){return null!=t&&e in ou(t)}function wr(t,e,n){return t>=Hu(e,n)&&t=120&&u.length>=120)?new gn(a&&u):it}u=t[0];var f=-1,h=s[0];t:for(;++f-1;)s!==t&&$u.call(s,l,1),$u.call(t,l,1);return t}function Kr(t,e){for(var n=t?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==o){var o=i;if(Po(i))$u.call(t,i,1);else if(Mo(i,t))delete t[Yo(i)];else{var a=ki(i),s=Wo(t,a);null!=s&&delete s[Yo(ba(a))]}}}return t}function Qr(t,e){return t+Fu(Gu()*(e-t+1))}function ti(t,e,n,r){for(var i=-1,o=Vu(Ru((e-t)/(n||1)),0),a=tu(o);o--;)a[r?o:++i]=t,t+=n;return a}function ei(t,e){var n="";if(!t||e<1||e>Et)return n;do e%2&&(n+=t),e=Fu(e/2),e&&(t+=t);while(e);return n}function ni(t,e){return jf(Uo(t,e,$c),t+"")}function ri(t){return An(Yl(t))}function ii(t,e){var n=Yl(t);return Xo(n,Rn(e,0,n.length))}function oi(t,e,n,r){if(!nl(t))return t;e=Mo(e,t)?[e]:ki(e);for(var i=-1,o=e.length,a=o-1,s=t;null!=s&&++ii?0:i+e),n=n>i?i:n,n<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=tu(i);++r>>1,a=t[o];null!==a&&!dl(a)&&(n?a<=e:a=at){var c=e?null:xf(t);if(c)return J(c);a=!1,i=F,l=new gn}else l=e?[]:s;t:for(;++r=r?t:si(t,e,n)}function Ai(t,e){if(e)return t.slice();var n=t.length,r=Cu?Cu(n):new t.constructor(n);return t.copy(r),r}function Ti(t){var e=new t.constructor(t.byteLength);return new ku(e).set(new ku(t)),e}function Si(t,e){var n=e?Ti(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}function $i(t,e,n){var r=e?n(W(t),!0):W(t);return m(r,o,new t.constructor)}function ji(t){var e=new t.constructor(t.source,Ve.exec(t));return e.lastIndex=t.lastIndex,e}function Oi(t,e,n){var r=e?n(J(t),!0):J(t);return m(r,a,new t.constructor)}function Pi(t){return uf?ou(uf.call(t)):{}}function Ei(t,e){var n=e?Ti(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Mi(t,e){if(t!==e){var n=t!==it,r=null===t,i=t===t,o=dl(t),a=e!==it,s=null===e,l=e===e,c=dl(e);if(!s&&!c&&!o&&t>e||o&&a&&l&&!s&&!c||r&&a&&l||!n&&l||!i)return 1;if(!r&&!o&&!c&&t=s)return l;var c=n[r];return l*("desc"==c?-1:1)}}return t.index-e.index}function Ni(t,e,n,r){for(var i=-1,o=t.length,a=n.length,s=-1,l=e.length,c=Vu(o-a,0),u=tu(l+c),f=!r;++s1?n[i-1]:it,a=i>2?n[2]:it;for(o=t.length>3&&"function"==typeof o?(i--,o):it,a&&Eo(n[0],n[1],a)&&(o=i<3?it:o,i=1),e=ou(e);++r-1?i[o?e[a]:a]:it}}function Xi(t){return ho(function(e){var n=e.length,r=n,o=i.prototype.thru;for(t&&e.reverse();r--;){var a=e[r];if("function"!=typeof a)throw new lu(lt);if(o&&!s&&"wrapper"==vo(a))var s=new i([],!0)}for(r=s?r:n;++r=at)return s.plant(r).value();for(var i=0,o=n?e[i].apply(this,t):r;++i1&&y.reverse(),f&&ls))return!1;var c=o.get(t);if(c&&o.get(e))return c==e;var u=-1,f=!0,h=i&wt?new gn:it;for(o.set(t,e),o.set(e,t);++u1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(Fe,"{\n/* [wrapped with "+e+"] */\n")}function Oo(t){return gh(t)||dh(t)||!!(ju&&t&&t[ju])}function Po(t,e){return e=null==e?Et:e,!!e&&("number"==typeof t||Ze.test(t))&&t>-1&&t%1==0&&t0){if(++e>=Tt)return arguments[0]}else e=0;return t.apply(it,arguments)}}function Xo(t,e){var n=-1,r=t.length,i=r-1;for(e=e===it?r:e;++n=this.__values__.length,e=t?it:this.__values__[this.__index__++];return{done:t,value:e}}function ts(){return this}function es(t){for(var e,n=this;n instanceof r;){var i=ta(n);i.__index__=0,i.__values__=it,e?o.__wrapped__=i:e=i;var o=i;n=n.__wrapped__}return o.__wrapped__=t,e}function ns(){var t=this.__wrapped__;if(t instanceof _){var e=t;return this.__actions__.length&&(e=new _(this)),e=e.reverse(),e.__actions__.push({func:Xa,args:[Ta],thisArg:it}),new i(e,this.__chain__)}return this.thru(Ta)}function rs(){return yi(this.__wrapped__,this.__actions__)}function is(t,e,n){var r=gh(t)?f:Zn;return n&&Eo(t,e,n)&&(e=it),r(t,yo(e,3))}function os(t,e){var n=gh(t)?h:Yn;return n(t,yo(e,3))}function as(t,e){return tr(hs(t,e),1)}function ss(t,e){return tr(hs(t,e),Pt)}function ls(t,e,n){return n=n===it?1:_l(n),tr(hs(t,e),n)}function cs(t,e){var n=gh(t)?c:pf;return n(t,yo(e,3))}function us(t,e){var n=gh(t)?u:df;return n(t,yo(e,3))}function fs(t,e,n,r){t=Hs(t)?t:Yl(t),n=n&&!r?_l(n):0;var i=t.length;return n<0&&(n=Vu(i+n,0)),pl(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&C(t,e,n)>-1}function hs(t,e){var n=gh(t)?g:Lr;return n(t,yo(e,3))}function ps(t,e,n,r){return null==t?[]:(gh(e)||(e=null==e?[]:[e]),n=r?it:n,gh(n)||(n=null==n?[]:[n]),Gr(t,e,n))}function ds(t,e,n){var r=gh(t)?m:O,i=arguments.length<3;return r(t,yo(e,4),n,i,pf)}function gs(t,e,n){var r=gh(t)?y:O,i=arguments.length<3;return r(t,yo(e,4),n,i,df)}function vs(t,e){var n=gh(t)?h:Yn;return n(t,Os(yo(e,3)))}function ms(t){var e=gh(t)?An:ri;return e(t)}function ys(t,e,n){e=(n?Eo(t,e,n):e===it)?1:_l(e);var r=gh(t)?Tn:ii;return r(t,e)}function bs(t){var e=gh(t)?Sn:ai;return e(t)}function _s(t){if(null==t)return 0;if(Hs(t))return pl(t)?Q(t):t.length;var e=Af(t);return e==Zt||e==ee?t.size:Dr(t).length}function xs(t,e,n){var r=gh(t)?b:li;return n&&Eo(t,e,n)&&(e=it),r(t,yo(e,3))}function ws(t,e){if("function"!=typeof e)throw new lu(lt);return t=_l(t),function(){if(--t<1)return e.apply(this,arguments)}}function ks(t,e,n){return e=n?it:e,e=t&&null==e?t.length:e,lo(t,bt,it,it,it,it,e)}function Cs(t,e){var n;if("function"!=typeof e)throw new lu(lt);return t=_l(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=it),n}}function As(t,e,n){e=n?it:e;var r=lo(t,gt,it,it,it,it,it,e);return r.placeholder=As.placeholder,r}function Ts(t,e,n){e=n?it:e;var r=lo(t,vt,it,it,it,it,it,e);return r.placeholder=Ts.placeholder,r}function Ss(t,e,n){function r(e){var n=h,r=p;return h=p=it,y=e,g=t.apply(r,n)}function i(t){return y=t,v=$f(s,e),b?r(t):g}function o(t){var n=t-m,r=t-y,i=e-n;return _?Hu(i,d-r):i}function a(t){var n=t-m,r=t-y;return m===it||n>=e||n<0||_&&r>=d}function s(){var t=rh();return a(t)?l(t):void(v=$f(s,o(t)))}function l(t){return v=it,x&&h?r(t):(h=p=it,g)}function c(){v!==it&&_f(v),y=0,h=m=p=v=it}function u(){return v===it?g:l(rh())}function f(){var t=rh(),n=a(t);if(h=arguments,p=this,m=t,n){if(v===it)return i(m);if(_)return v=$f(s,e),r(m)}return v===it&&(v=$f(s,e)),g}var h,p,d,g,v,m,y=0,b=!1,_=!1,x=!0;if("function"!=typeof t)throw new lu(lt);return e=wl(e)||0,nl(n)&&(b=!!n.leading,_="maxWait"in n,d=_?Vu(wl(n.maxWait)||0,e):d,x="trailing"in n?!!n.trailing:x),f.cancel=c,f.flush=u,f}function $s(t){return lo(t,xt)}function js(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new lu(lt);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(js.Cache||cn),n}function Os(t){if("function"!=typeof t)throw new lu(lt);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}function Ps(t){return Cs(2,t)}function Es(t,e){if("function"!=typeof t)throw new lu(lt);return e=e===it?e:_l(e),ni(t,e)}function Ms(t,e){if("function"!=typeof t)throw new lu(lt);return e=e===it?0:Vu(_l(e),0),ni(function(n){var r=n[e],i=Ci(n,0,e);return r&&v(i,r),s(t,this,i)})}function Bs(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new lu(lt);return nl(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Ss(t,e,{leading:r,maxWait:e,trailing:i})}function Ns(t){return ks(t,1)}function Rs(t,e){return ch(wi(e),t)}function Fs(){if(!arguments.length)return[];var t=arguments[0];return gh(t)?t:[t]}function Ds(t){return Fn(t,!1,!0)}function Is(t,e){return e="function"==typeof e?e:it,Fn(t,!1,!0,e)}function zs(t){return Fn(t,!0,!0)}function Ls(t,e){return e="function"==typeof e?e:it,Fn(t,!0,!0,e)}function qs(t,e){return null==e||Ln(t,e,Dl(e))}function Vs(t,e){return t===e||t!==t&&e!==e}function Hs(t){return null!=t&&el(t.length)&&!Qs(t)}function Us(t){return rl(t)&&Hs(t)}function Ws(t){return t===!0||t===!1||rl(t)&&dr(t)==qt}function Gs(t){return rl(t)&&1===t.nodeType&&!fl(t)}function Zs(t){if(null==t)return!0;if(Hs(t)&&(gh(t)||"string"==typeof t||"function"==typeof t.splice||mh(t)||wh(t)||dh(t)))return!t.length;var e=Af(t);if(e==Zt||e==ee)return!t.size;if(Fo(t))return!Dr(t).length;for(var n in t)if(du.call(t,n))return!1;return!0}function Js(t,e){return jr(t,e)}function Xs(t,e,n){n="function"==typeof n?n:it;var r=n?n(t,e):it;return r===it?jr(t,e,n):!!r}function Ys(t){if(!rl(t))return!1;var e=dr(t);return e==Ut||e==Ht||"string"==typeof t.message&&"string"==typeof t.name&&!fl(t)}function Ks(t){return"number"==typeof t&&zu(t)}function Qs(t){if(!nl(t))return!1;var e=dr(t);return e==Wt||e==Gt||e==Lt||e==Qt}function tl(t){return"number"==typeof t&&t==_l(t)}function el(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Et}function nl(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function rl(t){return null!=t&&"object"==typeof t}function il(t,e){return t===e||Er(t,e,_o(e))}function ol(t,e,n){return n="function"==typeof n?n:it,Er(t,e,_o(e),n)}function al(t){return ul(t)&&t!=+t}function sl(t){if(Tf(t))throw new nu(st);return Mr(t)}function ll(t){return null===t}function cl(t){return null==t}function ul(t){return"number"==typeof t||rl(t)&&dr(t)==Jt}function fl(t){if(!rl(t)||dr(t)!=Yt)return!1;var e=Au(t);if(null===e)return!0;var n=du.call(e,"constructor")&&e.constructor; +return"function"==typeof n&&n instanceof n&&pu.call(n)==yu}function hl(t){return tl(t)&&t>=-Et&&t<=Et}function pl(t){return"string"==typeof t||!gh(t)&&rl(t)&&dr(t)==ne}function dl(t){return"symbol"==typeof t||rl(t)&&dr(t)==re}function gl(t){return t===it}function vl(t){return rl(t)&&Af(t)==oe}function ml(t){return rl(t)&&dr(t)==ae}function yl(t){if(!t)return[];if(Hs(t))return pl(t)?tt(t):Fi(t);if(Ou&&t[Ou])return U(t[Ou]());var e=Af(t),n=e==Zt?W:e==ee?J:Yl;return n(t)}function bl(t){if(!t)return 0===t?t:0;if(t=wl(t),t===Pt||t===-Pt){var e=t<0?-1:1;return e*Mt}return t===t?t:0}function _l(t){var e=bl(t),n=e%1;return e===e?n?e-n:e:0}function xl(t){return t?Rn(_l(t),0,Nt):0}function wl(t){if("number"==typeof t)return t;if(dl(t))return Bt;if(nl(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=nl(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(Be,"");var n=Ue.test(t);return n||Ge.test(t)?Qn(t.slice(2),n?2:8):He.test(t)?Bt:+t}function kl(t){return Di(t,Il(t))}function Cl(t){return Rn(_l(t),-Et,Et)}function Al(t){return null==t?"":pi(t)}function Tl(t,e){var n=hf(t);return null==e?n:Mn(n,e)}function Sl(t,e){return w(t,yo(e,3),er)}function $l(t,e){return w(t,yo(e,3),rr)}function jl(t,e){return null==t?t:gf(t,yo(e,3),Il)}function Ol(t,e){return null==t?t:vf(t,yo(e,3),Il)}function Pl(t,e){return t&&er(t,yo(e,3))}function El(t,e){return t&&rr(t,yo(e,3))}function Ml(t){return null==t?[]:ir(t,Dl(t))}function Bl(t){return null==t?[]:ir(t,Il(t))}function Nl(t,e,n){var r=null==t?it:ar(t,e);return r===it?n:r}function Rl(t,e){return null!=t&&Ao(t,e,_r)}function Fl(t,e){return null!=t&&Ao(t,e,xr)}function Dl(t){return Hs(t)?Cn(t):Dr(t)}function Il(t){return Hs(t)?Cn(t,!0):Ir(t)}function zl(t,e){var n={};return e=yo(e,3),er(t,function(t,r,i){Bn(n,e(t,r,i),t)}),n}function Ll(t,e){var n={};return e=yo(e,3),er(t,function(t,r,i){Bn(n,r,e(t,r,i))}),n}function ql(t,e){return Vl(t,Os(yo(e)))}function Vl(t,e){return null==t?{}:Jr(t,go(t),yo(e))}function Hl(t,e,n){e=Mo(e,t)?[e]:ki(e);var r=-1,i=e.length;for(i||(t=it,i=1);++re){var r=t;t=e,e=r}if(n||t%1||e%1){var i=Gu();return Hu(t+i*(e-t+Kn("1e-"+((i+"").length-1))),e)}return Qr(t,e)}function nc(t){return Zh(Al(t).toLowerCase())}function rc(t){return t=Al(t),t&&t.replace(Je,gr).replace(In,"")}function ic(t,e,n){t=Al(t),e=pi(e);var r=t.length;n=n===it?r:Rn(_l(n),0,r);var i=n;return n-=e.length,n>=0&&t.slice(n,i)==e}function oc(t){return t=Al(t),t&&Ce.test(t)?t.replace(we,vr):t}function ac(t){return t=Al(t),t&&Me.test(t)?t.replace(Ee,"\\$&"):t}function sc(t,e,n){t=Al(t),e=_l(e);var r=e?Q(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return eo(Fu(i),n)+t+eo(Ru(i),n)}function lc(t,e,n){t=Al(t),e=_l(e);var r=e?Q(t):0;return e&&r>>0)?(t=Al(t),t&&("string"==typeof e||null!=e&&!_h(e))&&(e=pi(e),!e&&V(t))?Ci(tt(t),0,n):t.split(e,n)):[]}function dc(t,e,n){return t=Al(t),n=Rn(_l(n),0,t.length),e=pi(e),t.slice(n,n+e.length)==e}function gc(t,e,r){var i=n.templateSettings;r&&Eo(t,e,r)&&(e=it),t=Al(t),e=Sh({},e,i,$n);var o,a,s=Sh({},e.imports,i.imports,$n),l=Dl(s),c=R(s,l),u=0,f=e.interpolate||Xe,h="__p += '",p=au((e.escape||Xe).source+"|"+f.source+"|"+(f===Se?qe:Xe).source+"|"+(e.evaluate||Xe).source+"|$","g"),d="//# sourceURL="+("sourceURL"in e?e.sourceURL:"lodash.templateSources["+ ++Un+"]")+"\n";t.replace(p,function(e,n,r,i,s,l){return r||(r=i),h+=t.slice(u,l).replace(Ye,L),n&&(o=!0,h+="' +\n__e("+n+") +\n'"),s&&(a=!0,h+="';\n"+s+";\n__p += '"),r&&(h+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),u=l+e.length,e}),h+="';\n";var g=e.variable;g||(h="with (obj) {\n"+h+"\n}\n"),h=(a?h.replace(ye,""):h).replace(be,"$1").replace(_e,"$1;"),h="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var v=Jh(function(){return ru(l,d+"return "+h).apply(it,c)});if(v.source=h,Ys(v))throw v;return v}function vc(t){return Al(t).toLowerCase()}function mc(t){return Al(t).toUpperCase()}function yc(t,e,n){if(t=Al(t),t&&(n||e===it))return t.replace(Be,"");if(!t||!(e=pi(e)))return t;var r=tt(t),i=tt(e),o=D(r,i),a=I(r,i)+1;return Ci(r,o,a).join("")}function bc(t,e,n){if(t=Al(t),t&&(n||e===it))return t.replace(Re,"");if(!t||!(e=pi(e)))return t;var r=tt(t),i=I(r,tt(e))+1;return Ci(r,0,i).join("")}function _c(t,e,n){if(t=Al(t),t&&(n||e===it))return t.replace(Ne,"");if(!t||!(e=pi(e)))return t;var r=tt(t),i=D(r,tt(e));return Ci(r,i).join("")}function xc(t,e){var n=Ct,r=At;if(nl(e)){var i="separator"in e?e.separator:i;n="length"in e?_l(e.length):n,r="omission"in e?pi(e.omission):r}t=Al(t);var o=t.length;if(V(t)){var a=tt(t);o=a.length}if(n>=o)return t;var s=n-Q(r);if(s<1)return r;var l=a?Ci(a,0,s).join(""):t.slice(0,s);if(i===it)return l+r;if(a&&(s+=l.length-s),_h(i)){if(t.slice(s).search(i)){var c,u=l;for(i.global||(i=au(i.source,Al(Ve.exec(i))+"g")),i.lastIndex=0;c=i.exec(u);)var f=c.index;l=l.slice(0,f===it?s:f)}}else if(t.indexOf(pi(i),s)!=s){var h=l.lastIndexOf(i);h>-1&&(l=l.slice(0,h))}return l+r}function wc(t){return t=Al(t),t&&ke.test(t)?t.replace(xe,mr):t}function kc(t,e,n){return t=Al(t),e=n?it:e,e===it?H(t)?rt(t):x(t):t.match(e)||[]}function Cc(t){var e=null==t?0:t.length,n=yo();return t=e?g(t,function(t){if("function"!=typeof t[1])throw new lu(lt);return[n(t[0]),t[1]]}):[],ni(function(n){for(var r=-1;++rEt)return[];var n=Nt,r=Hu(t,Nt);e=yo(e),t-=Nt;for(var i=M(r,e);++n1?t[e-1]:it;return n="function"==typeof n?(t.pop(),n):it,Ua(t,n)}),Zf=ho(function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,o=function(e){return Nn(e,t)};return!(e>1||this.__actions__.length)&&r instanceof _&&Po(n)?(r=r.slice(n,+n+(e?1:0)),r.__actions__.push({func:Xa,args:[o],thisArg:it}),new i(r,this.__chain__).thru(function(t){return e&&!t.length&&t.push(it),t})):this.thru(o)}),Jf=zi(function(t,e,n){du.call(t,n)?++t[n]:Bn(t,n,1)}),Xf=Ji(ca),Yf=Ji(ua),Kf=zi(function(t,e,n){du.call(t,n)?t[n].push(e):Bn(t,n,[e])}),Qf=ni(function(t,e,n){var r=-1,i="function"==typeof e,o=Mo(e),a=Hs(t)?tu(t.length):[];return pf(t,function(t){var l=i?e:o&&null!=t?t[e]:it;a[++r]=l?s(l,t,n):Ar(t,e,n)}),a}),th=zi(function(t,e,n){Bn(t,n,e)}),eh=zi(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]}),nh=ni(function(t,e){if(null==t)return[];var n=e.length;return n>1&&Eo(t,e[0],e[1])?e=[]:n>2&&Eo(e[0],e[1],e[2])&&(e=[e[0]]),Gr(t,tr(e,1),[])}),rh=Bu||function(){return nr.Date.now()},ih=ni(function(t,e,n){var r=ht;if(n.length){var i=Z(n,mo(ih));r|=mt}return lo(t,r,e,n,i)}),oh=ni(function(t,e,n){var r=ht|pt;if(n.length){var i=Z(n,mo(oh));r|=mt}return lo(e,r,t,n,i)}),ah=ni(function(t,e){return qn(t,1,e)}),sh=ni(function(t,e,n){return qn(t,wl(e)||0,n)});js.Cache=cn;var lh=bf(function(t,e){e=1==e.length&&gh(e[0])?g(e[0],N(yo())):g(tr(e,1),N(yo()));var n=e.length;return ni(function(r){for(var i=-1,o=Hu(r.length,n);++i=e}),dh=Tr(function(){return arguments}())?Tr:function(t){return rl(t)&&du.call(t,"callee")&&!Su.call(t,"callee")},gh=tu.isArray,vh=lr?N(lr):Sr,mh=Iu||Ic,yh=cr?N(cr):$r,bh=ur?N(ur):Pr,_h=fr?N(fr):Br,xh=hr?N(hr):Nr,wh=pr?N(pr):Rr,kh=io(zr),Ch=io(function(t,e){return t<=e}),Ah=Li(function(t,e){if(Fo(e)||Hs(e))return void Di(e,Dl(e),t);for(var n in e)du.call(e,n)&&On(t,n,e[n])}),Th=Li(function(t,e){Di(e,Il(e),t)}),Sh=Li(function(t,e,n,r){Di(e,Il(e),t,r)}),$h=Li(function(t,e,n,r){Di(e,Dl(e),t,r)}),jh=ho(Nn),Oh=ni(function(t){return t.push(it,$n),s(Sh,it,t)}),Ph=ni(function(t){return t.push(it,qo),s(Rh,it,t)}),Eh=Ki(function(t,e,n){t[e]=n},Tc($c)),Mh=Ki(function(t,e,n){du.call(t,e)?t[e].push(n):t[e]=[n]},yo),Bh=ni(Ar),Nh=Li(function(t,e,n){Hr(t,e,n)}),Rh=Li(function(t,e,n,r){Hr(t,e,n,r)}),Fh=ho(function(t,e){return null==t?{}:(e=g(e,Yo),Zr(t,Vn(go(t),e)))}),Dh=ho(function(t,e){return null==t?{}:Zr(t,g(e,Yo))}),Ih=so(Dl),zh=so(Il),Lh=Wi(function(t,e,n){return e=e.toLowerCase(),t+(n?nc(e):e)}),qh=Wi(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),Vh=Wi(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),Hh=Ui("toLowerCase"),Uh=Wi(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}),Wh=Wi(function(t,e,n){return t+(n?" ":"")+Zh(e)}),Gh=Wi(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),Zh=Ui("toUpperCase"),Jh=ni(function(t,e){try{return s(t,it,e)}catch(t){return Ys(t)?t:new nu(t)}}),Xh=ho(function(t,e){return c(e,function(e){e=Yo(e),Bn(t,e,ih(t[e],t))}),t}),Yh=Xi(),Kh=Xi(!0),Qh=ni(function(t,e){return function(n){return Ar(n,t,e)}}),tp=ni(function(t,e){return function(n){return Ar(t,n,e)}}),ep=to(g),np=to(f),rp=to(b),ip=ro(),op=ro(!0),ap=Qi(function(t,e){return t+e},0),sp=ao("ceil"),lp=Qi(function(t,e){return t/e},1),cp=ao("floor"),up=Qi(function(t,e){return t*e},1),fp=ao("round"),hp=Qi(function(t,e){return t-e},0);return n.after=ws,n.ary=ks,n.assign=Ah,n.assignIn=Th,n.assignInWith=Sh,n.assignWith=$h,n.at=jh,n.before=Cs,n.bind=ih,n.bindAll=Xh,n.bindKey=oh,n.castArray=Fs,n.chain=Za,n.chunk=ea,n.compact=na,n.concat=ra,n.cond=Cc,n.conforms=Ac,n.constant=Tc,n.countBy=Jf,n.create=Tl,n.curry=As,n.curryRight=Ts,n.debounce=Ss,n.defaults=Oh,n.defaultsDeep=Ph,n.defer=ah,n.delay=sh,n.difference=Pf,n.differenceBy=Ef,n.differenceWith=Mf,n.drop=ia,n.dropRight=oa,n.dropRightWhile=aa,n.dropWhile=sa,n.fill=la,n.filter=os,n.flatMap=as,n.flatMapDeep=ss,n.flatMapDepth=ls,n.flatten=fa,n.flattenDeep=ha,n.flattenDepth=pa,n.flip=$s,n.flow=Yh,n.flowRight=Kh,n.fromPairs=da,n.functions=Ml,n.functionsIn=Bl,n.groupBy=Kf,n.initial=ma,n.intersection=Bf,n.intersectionBy=Nf,n.intersectionWith=Rf,n.invert=Eh,n.invertBy=Mh,n.invokeMap=Qf,n.iteratee=jc,n.keyBy=th,n.keys=Dl,n.keysIn=Il,n.map=hs,n.mapKeys=zl,n.mapValues=Ll,n.matches=Oc,n.matchesProperty=Pc,n.memoize=js,n.merge=Nh,n.mergeWith=Rh,n.method=Qh,n.methodOf=tp,n.mixin=Ec,n.negate=Os,n.nthArg=Nc,n.omit=Fh,n.omitBy=ql,n.once=Ps,n.orderBy=ps,n.over=ep,n.overArgs=lh,n.overEvery=np,n.overSome=rp,n.partial=ch,n.partialRight=uh,n.partition=eh,n.pick=Dh,n.pickBy=Vl,n.property=Rc,n.propertyOf=Fc,n.pull=Ff,n.pullAll=wa,n.pullAllBy=ka,n.pullAllWith=Ca,n.pullAt=Df,n.range=ip,n.rangeRight=op,n.rearg=fh,n.reject=vs,n.remove=Aa,n.rest=Es,n.reverse=Ta,n.sampleSize=ys,n.set=Ul,n.setWith=Wl,n.shuffle=bs,n.slice=Sa,n.sortBy=nh,n.sortedUniq=Ba,n.sortedUniqBy=Na,n.split=pc,n.spread=Ms,n.tail=Ra,n.take=Fa,n.takeRight=Da,n.takeRightWhile=Ia,n.takeWhile=za,n.tap=Ja,n.throttle=Bs,n.thru=Xa,n.toArray=yl,n.toPairs=Ih,n.toPairsIn=zh,n.toPath=Hc,n.toPlainObject=kl,n.transform=Gl,n.unary=Ns,n.union=If,n.unionBy=zf,n.unionWith=Lf,n.uniq=La,n.uniqBy=qa,n.uniqWith=Va,n.unset=Zl,n.unzip=Ha,n.unzipWith=Ua,n.update=Jl,n.updateWith=Xl,n.values=Yl,n.valuesIn=Kl,n.without=qf,n.words=kc,n.wrap=Rs,n.xor=Vf,n.xorBy=Hf,n.xorWith=Uf,n.zip=Wf,n.zipObject=Wa,n.zipObjectDeep=Ga,n.zipWith=Gf,n.entries=Ih,n.entriesIn=zh,n.extend=Th,n.extendWith=Sh,Ec(n,n),n.add=ap,n.attempt=Jh,n.camelCase=Lh,n.capitalize=nc,n.ceil=sp,n.clamp=Ql,n.clone=Ds,n.cloneDeep=zs,n.cloneDeepWith=Ls,n.cloneWith=Is,n.conformsTo=qs,n.deburr=rc,n.defaultTo=Sc,n.divide=lp,n.endsWith=ic,n.eq=Vs,n.escape=oc,n.escapeRegExp=ac,n.every=is,n.find=Xf,n.findIndex=ca,n.findKey=Sl,n.findLast=Yf,n.findLastIndex=ua,n.findLastKey=$l,n.floor=cp,n.forEach=cs,n.forEachRight=us,n.forIn=jl,n.forInRight=Ol,n.forOwn=Pl,n.forOwnRight=El,n.get=Nl,n.gt=hh,n.gte=ph,n.has=Rl,n.hasIn=Fl,n.head=ga,n.identity=$c,n.includes=fs,n.indexOf=va,n.inRange=tc,n.invoke=Bh,n.isArguments=dh,n.isArray=gh,n.isArrayBuffer=vh,n.isArrayLike=Hs,n.isArrayLikeObject=Us,n.isBoolean=Ws,n.isBuffer=mh,n.isDate=yh,n.isElement=Gs,n.isEmpty=Zs,n.isEqual=Js,n.isEqualWith=Xs,n.isError=Ys,n.isFinite=Ks,n.isFunction=Qs,n.isInteger=tl,n.isLength=el,n.isMap=bh,n.isMatch=il,n.isMatchWith=ol,n.isNaN=al,n.isNative=sl,n.isNil=cl,n.isNull=ll,n.isNumber=ul,n.isObject=nl,n.isObjectLike=rl,n.isPlainObject=fl,n.isRegExp=_h,n.isSafeInteger=hl,n.isSet=xh,n.isString=pl,n.isSymbol=dl,n.isTypedArray=wh,n.isUndefined=gl,n.isWeakMap=vl,n.isWeakSet=ml,n.join=ya,n.kebabCase=qh,n.last=ba,n.lastIndexOf=_a,n.lowerCase=Vh,n.lowerFirst=Hh,n.lt=kh,n.lte=Ch,n.max=Wc,n.maxBy=Gc,n.mean=Zc,n.meanBy=Jc,n.min=Xc,n.minBy=Yc,n.stubArray=Dc,n.stubFalse=Ic,n.stubObject=zc,n.stubString=Lc,n.stubTrue=qc,n.multiply=up,n.nth=xa,n.noConflict=Mc,n.noop=Bc,n.now=rh,n.pad=sc,n.padEnd=lc,n.padStart=cc,n.parseInt=uc,n.random=ec,n.reduce=ds,n.reduceRight=gs,n.repeat=fc,n.replace=hc,n.result=Hl,n.round=fp,n.runInContext=t,n.sample=ms,n.size=_s,n.snakeCase=Uh,n.some=xs,n.sortedIndex=$a,n.sortedIndexBy=ja,n.sortedIndexOf=Oa,n.sortedLastIndex=Pa,n.sortedLastIndexBy=Ea,n.sortedLastIndexOf=Ma,n.startCase=Wh,n.startsWith=dc,n.subtract=hp,n.sum=Kc,n.sumBy=Qc,n.template=gc,n.times=Vc,n.toFinite=bl,n.toInteger=_l,n.toLength=xl,n.toLower=vc,n.toNumber=wl,n.toSafeInteger=Cl,n.toString=Al,n.toUpper=mc,n.trim=yc,n.trimEnd=bc,n.trimStart=_c,n.truncate=xc,n.unescape=wc,n.uniqueId=Uc,n.upperCase=Gh,n.upperFirst=Zh,n.each=cs,n.eachRight=us,n.first=ga,Ec(n,function(){var t={};return er(n,function(e,r){du.call(n.prototype,r)||(t[r]=e)}),t}(),{chain:!1}),n.VERSION=ot,c(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){n[t].placeholder=n}),c(["drop","take"],function(t,e){_.prototype[t]=function(n){var r=this.__filtered__;if(r&&!e)return new _(this);n=n===it?1:Vu(_l(n),0);var i=this.clone();return r?i.__takeCount__=Hu(n,i.__takeCount__):i.__views__.push({size:Hu(n,Nt),type:t+(i.__dir__<0?"Right":"")}),i},_.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),c(["filter","map","takeWhile"],function(t,e){var n=e+1,r=n==$t||n==Ot;_.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:yo(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}}),c(["head","last"],function(t,e){var n="take"+(e?"Right":"");_.prototype[t]=function(){return this[n](1).value()[0]}}),c(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");_.prototype[t]=function(){return this.__filtered__?new _(this):this[n](1)}}),_.prototype.compact=function(){return this.filter($c)},_.prototype.find=function(t){return this.filter(t).head()},_.prototype.findLast=function(t){return this.reverse().find(t)},_.prototype.invokeMap=ni(function(t,e){return"function"==typeof t?new _(this):this.map(function(n){return Ar(n,t,e)})}),_.prototype.reject=function(t){return this.filter(Os(yo(t)))},_.prototype.slice=function(t,e){t=_l(t);var n=this;return n.__filtered__&&(t>0||e<0)?new _(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==it&&(e=_l(e),n=e<0?n.dropRight(-e):n.take(e-t)),n)},_.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},_.prototype.toArray=function(){return this.take(Nt)},er(_.prototype,function(t,e){var r=/^(?:filter|find|map|reject)|While$/.test(e),o=/^(?:head|last)$/.test(e),a=n[o?"take"+("last"==e?"Right":""):e],s=o||/^find/.test(e);a&&(n.prototype[e]=function(){var e=this.__wrapped__,l=o?[1]:arguments,c=e instanceof _,u=l[0],f=c||gh(e),h=function(t){var e=a.apply(n,v([t],l));return o&&p?e[0]:e};f&&r&&"function"==typeof u&&1!=u.length&&(c=f=!1);var p=this.__chain__,d=!!this.__actions__.length,g=s&&!p,m=c&&!d;if(!s&&f){e=m?e:new _(this);var y=t.apply(e,l);return y.__actions__.push({func:Xa,args:[h],thisArg:it}),new i(y,p)}return g&&m?t.apply(this,l):(y=this.thru(h),g?o?y.value()[0]:y.value():y)})}),c(["pop","push","shift","sort","splice","unshift"],function(t){var e=cu[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",i=/^(?:pop|shift)$/.test(t);n.prototype[t]=function(){var t=arguments;if(i&&!this.__chain__){var n=this.value();return e.apply(gh(n)?n:[],t)}return this[r](function(n){return e.apply(gh(n)?n:[],t)})}}),er(_.prototype,function(t,e){var r=n[e];if(r){var i=r.name+"",o=nf[i]||(nf[i]=[]);o.push({name:e,func:r})}}),nf[Yi(it,pt).name]=[{name:"wrapper",func:it}],_.prototype.clone=j,_.prototype.reverse=Y,_.prototype.value=et,n.prototype.at=Zf,n.prototype.chain=Ya,n.prototype.commit=Ka,n.prototype.next=Qa,n.prototype.plant=es,n.prototype.reverse=ns,n.prototype.toJSON=n.prototype.valueOf=n.prototype.value=rs,n.prototype.first=n.prototype.head,Ou&&(n.prototype[Ou]=ts),n},br=yr();nr._=br,r=function(){return br}.call(e,n,e,i),!(r!==it&&(i.exports=r))}).call(this)}).call(e,function(){return this}(),n(230)(t))},function(t,e,n){var r,i;n(223),r=n(62);var o=n(207);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,i._scopeId="data-v-763ea1ba",t.exports=r},function(t,e,n){var r,i;n(220),r=n(73);var o=n(204);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,i._scopeId="data-v-699ae618",t.exports=r},function(t,e,n){var r,i;n(221),r=n(76);var o=n(205);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,i._scopeId="data-v-6b5883e1",t.exports=r},function(t,e,n){var r,i;r=n(79);var o=n(201);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,t.exports=r},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(87),o=r(i),a=n(85),s=r(a),l=n(228);e.default={data:function(){return{items:[],query:"",current:-1,loading:!1,selectFirst:!1,queryParamName:"q"}},computed:{hasItems:function(){return this.items.length>0},isEmpty:function(){return!this.query},isDirty:function(){return!!this.query}},methods:{update:function(){var t=this;return this.query?void(this.minChars&&this.query.length0?this.current--:this.current===-1?this.current=this.items.length-1:this.current=-1},down:function(){this.currentn.h?(n.y=Math.max(0,n.y-(n.w*s-n.h)/2),n.h=n.w*s):(n.x=Math.max(0,n.x-(n.h/s-n.w)/2),n.w=n.h/s),t=[n.x,n.y,n.w,n.h],!!n&&t.join(" ")},zoom:function(t){var e=this.$refs.smallSvgWrapper;if(this.$options.ZOOM_OUT===t){var n=[0,0,e.getAttribute("width"),e.getAttribute("height")];e.setAttribute("viewBox",n.join(" ")),this.canZoom=!0}this.$options.ZOOM_IN===t&&(e.setAttribute("viewBox",this.computeCentreredViewBox()),this.canZoom=!1)},setDrawingMode:function(t,e){this.initialDrawingMode||(this.initialDrawingMode=t);var e="boolean"!=typeof e||e;this.mode=this.$options["MODE_"+t],this.isRect=this.mode===this.$options.MODE_RECT,e&&this.drawingComponent.setDrawingMode(this.mode)},cancel:function(){this.formView=!0;var t=this.$refs.currentPath.getAttribute("d");t.length&&this.initialDrawingMode&&(t+=";"+this.initialDrawingMode,this.drawingComponent.setPath(t))},highLightZone:function(){this.displayMask?this.displayMask=!1:this.displayMask=!0},displayEditedPath:function(){this.drawingComponent.getPath()},resetZoom:function(){this.zoom(this.$options.ZOOM_OUT)},showEditor:function(){this.formView=!1,this.resetZoom()},showForm:function(){this.normalizePath=this.drawingComponent.getPath();var t=this.$refs.smallImage;this.formView=!0;var e=t.getAttribute("width")/100,n=t.getAttribute("height")/100,r=[e,0,0,n,0,0].join(",");this.transformMatrix="matrix("+r+")",this.fragmentPath=this.normalizePath.split(";")[0]},clear:function(){this.drawingComponent.clear()}}}},function(t,e,n){(function(t){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}Object.defineProperty(e,"__esModule",{value:!0});var o,a=n(193),s=r(a);e.default=(o={components:{modalpanel:s.default},mounted:function(){},props:["transform-matrix","image-path","image-height","image-width"],data:function(){return{diffText:"",tagMode:!1,textMode:!1,fragmentMode:!1,originalPath:"",modifiedPath:"",tags:[]}}},i(o,"mounted",function(){return!1}),i(o,"computed",{matrixTransform:function t(){var t="";return this.transformMatrix&&(t="matrix("+this.transformMatrix+")"),t}}),i(o,"methods",{setContent:function(t){this.$refs.modalcontent.appendChild(t)},switchMode:function(t){ +var e=["tagMode","textMode","fragmentMode"];this.tagMode=!1,this.textMode=!1,this.fragmentMode=!1,e.indexOf(t)!==-1&&(this[t]=!0)},showTagDiff:function(t,e){this.switchMode("tagMode");var n=iconolab.JsonDiff.diff(t,e),r=[];if(t.forEach(function(t,i){var t=JSON.parse(JSON.stringify(t)),o=n["_"+i],a=n[i];return o||a||r.push(t),Array.isArray(o)?(t.action="del",r.push(t),!0):a&&(a.tag_label||a.relevancy||a.accuracy)?(t.action=a.tag_label?"replace":"update",t.new_label=e[i].tag_label,t.new_accuracy=e[i].accuracy,t.new_relevancy=e[i].relevancy,r.push(t),!0):Array.isArray(a)?(t.action="add",r.push(e[i]),!0):void 0}),t.length").append(i).html()},showFragmentDiff:function(t,e){this.switchMode("fragmentMode"),this.originalPath=t,this.modifiedPath=e},show:function(){this.$refs.panel.show()},hide:function(){this.$refs.panel.hide()}}),o)}).call(e,n(1))},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(36),o=r(i),a=n(53),s=r(a),l={title:"",description:"",fragment:"",tags:[],readonly:!0};e.default={props:{action:String,annotation:{type:Object,default:function(){return null}},isAuthenticated:{type:Boolean,default:!1}},components:{"tag-list":o.default},data:function(){return l},watch:{annotation:function(t){t?Object.assign(this,{title:t.title,description:t.description,fragment:t.fragment,tags:t.tags.slice(),readonly:!0}):this.reset()}},computed:{formAction:function(){if(this.annotation)return this.action.replace(":annotation_guid",this.annotation.annotation_guid)},serializedTags:function(){var t=this.tags.map(function(t){return{tag_input:"string"==typeof t.tag_link&&t.tag_link.length?t.tag_link:t.tag_label,tag_label:t.tag_label,accuracy:t.accuracy,relevancy:t.relevancy}});return JSON.stringify(t)},hasChanged:function(){return!!this.annotation&&(this.title!==this.annotation.title||this.description!==this.annotation.description||!s.default.isEqual(this.annotation.tags,this.tags))}},methods:{onTagsChange:function(t){this.tags=t},reset:function(){Object.assign(this,l)}}}},function(t,e,n){(function(t){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(6),o=r(i),a=n(189),s=r(a),l=n(188),c=r(l),u=n(191),f=r(u);e.default={props:{image:String,thumbnail:String,annotation:{type:Object,default:null},tooltip:{type:Boolean,default:!1},isAuthenticated:{type:Boolean,default:!1}},components:{shapeRect:s.default,shapeFree:c.default,zoomThumbnail:f.default},data:function(){return{paper:null,loaded:!1,mode:"rect",viewport:{width:0,height:0},viewBox:[0,0,0,0],zoomFactor:.1,scale:1,imgMinSize:0,imageWidth:0,imageHeight:0,readonly:!1}},computed:{canvasClass:function(){return{"canvas--rect":!this.readonly&&this.isAuthenticated&&"rect"===this.mode,"canvas--free":!this.readonly&&this.isAuthenticated&&"free"===this.mode}}},watch:{mode:function(t){this.reset(),"free"===t&&this.handleDrawFree(),"rect"===t&&this.handleDrawRect()},loaded:function(t){if(t){var e=this.paper.node.getBoundingClientRect();console.log("Viewport: %s x %s",e.width,e.height);var n=[0,0,this.imageWidth,this.imageHeight],r={width:e.width,height:e.height};Object.assign(this,{viewBox:n,viewport:r});var i=15*Math.min(n[2],n[3])/r.width;this.$refs.rect.handlerSize=i,this.$refs.free.handlerRadius=i/2,this.paper.attr({viewBox:this.viewBox}),this.annotation?this.loadAnnotation():("free"===this.mode&&this.handleDrawFree(),"rect"===this.mode&&this.handleDrawRect())}},annotation:function(t){this.reset(),this.readonly=!!t||!this.isAuthenticated,this.annotation&&this.loadAnnotation()},scale:function(t){var e=this,n=0;if(t>1&&(n=t-1),1===t)this.resetViewBox();else{var r=this.getCenter(),i=this.imgMinSize-this.imgMinSize*n,o=i,a=[r.x-i/2,r.y-o/2,i,o];this.hideTooltip(),this.animateViewBox(a,function(){return e.showTooltip()})}}},mounted:function(){var t=this,e=new Image;e.onload=function(n){t.paper=new o.default(t.$refs.svg),t.imgMinSize=Math.min(e.width,e.height),console.log("Image: %s x %s",e.width,e.height),Object.assign(t,{imageWidth:e.width,imageHeight:e.height,loaded:!0})},e.src=this.image},methods:{hideTooltip:function(){"free"===this.mode&&this.$refs.free.hideTooltip(),"rect"===this.mode&&this.$refs.rect.hideTooltip()},showTooltip:function(){"free"===this.mode&&this.$refs.free.showTooltip(),"rect"===this.mode&&this.$refs.rect.showTooltip()},reset:function(){this.$refs.rect.clear(),this.$refs.free.clear(),this.removeEventHandlers(),this.resetZoom(),this.resetViewBox(),"free"===this.mode&&this.handleDrawFree(),"rect"===this.mode&&this.handleDrawRect()},removeEventHandlers:function(){this.paper.unmousedown(),this.paper.unmousemove(),this.paper.unmouseup(),this.paper.unclick()},loadAnnotation:function(){var t=this;if(this.annotation.fragment.length>0){var e=this.annotation.fragment.split(";"),n=e[0],r=e[1].toLowerCase();this.mode=r,this.$nextTick(function(){n=t.denormalizePath(n),"free"===r&&t.$refs.free.fromSVGPath(n,t.tooltip),"rect"===r&&t.$refs.rect.fromSVGPath(n,t.tooltip)})}},setMode:function(t){this.readonly||(this.mode=t)},getCenter:function(){return{x:this.viewBox[0]+this.viewBox[2]/2,y:this.viewBox[1]+this.viewBox[3]/2}},changeViewBox:function(t){var e=this.viewBox.slice();e[0]=t.x,e[1]=t.y,this.paper.attr({viewBox:e})},resetZoom:function(){this.scale=1,this.$refs.thumbnail.reset()},animateViewBox:function(t,e){var n=this,r=this.viewBox.slice();o.default.animate(r,t,function(t){return n.paper.attr({viewBox:t})},350,mina.easeinout,function(){n.viewBox=t,e&&e()})},resetViewBox:function(){this.animateViewBox([0,0,this.imageWidth,this.imageHeight])},zoomIn:function(){this.scale>=1.9||(this.scale=this.scale+1*this.zoomFactor)},zoomOut:function(){1!==this.scale&&(this.scale=this.scale-1*this.zoomFactor)},zoomOffset:function(){return{x:this.viewport.width/this.viewBox[2],y:this.viewport.height/this.viewBox[3]}},computeOffset:function(t){var e=this.$refs.image.getBoundingClientRect(),n=this.zoomOffset(),r=(t.clientX-e.left)/Math.min(n.x,n.y),i=(t.clientY-e.top)/Math.min(n.x,n.y);return{x:r,y:i}},computeHandlerSize:function(t){return 60*Math.min(this.viewBox[2],this.viewBox[3])/this.imageWidth},normalizePath:function(t){var e=100/this.imageWidth,n=100/this.imageHeight;if(isNaN(e)||isNaN(n))throw new Error("Ratio should be a number.");var r=o.default.matrix(e,0,0,n,0,0);return t=o.default.path.map(t,r).toString(),t.search(/[z|Z]/gi)===-1&&(t+=" Z"),t},denormalizePath:function(t){var e=this.imageWidth/100,n=this.imageHeight/100;if(isNaN(e)||isNaN(n))throw new Error("Ratio should be a number.");var r=o.default.matrix(e,0,0,n,0,0);return t=o.default.path.map(t,r).toString(),t.search(/[z|Z]/gi)===-1&&(t+=" Z"),t},toSVGPath:function(){"free"===this.mode&&this.$refs.free.toSVGPath(),"rect"===this.mode&&this.$refs.rect.toSVGPath()},handleDrawFree:function(){var e=this;if(this.isAuthenticated){this.removeEventHandlers();var n,r=function(t,e){n=null,this.$refs.free.addPoint(t,e)};this.paper.click(function(i){if(!n&&t(i.target).is("image")&&!e.$refs.free.closed){var o=e.computeOffset(i),a=o.x,s=o.y;n=setTimeout(r.bind(e,a,s),190)}})}},handleDrawRect:function(){var t=this;if(this.isAuthenticated){this.removeEventHandlers();var e={x:0,y:0},n={x:0,y:0},r=!1;this.paper.mousedown(function(n){t.$refs.rect.width>0&&t.$refs.rect.height>0||(e=t.computeOffset(n),r=!0)}),this.paper.mousemove(function(i){if(r){var o,a;n=t.computeOffset(i);var s=Math.abs(n.x-e.x),l=Math.abs(e.y-n.y);n.y>e.y&&n.x>e.x&&(o=e.x,a=e.y),n.ye.x&&(o=n.x-s,a=n.y),n.ye.y&&n.x2&&(e.closed=!0,e.$nextTick(function(){setTimeout(function(){return e.addTooltip()},250)}))}),r.dblclick(function(t){var n=new o.default(t.target),r=parseInt(n.attr("data-key"),10);e.points.splice(r,1)});var a={onMove:function(t,e,r,o,a){i=!0;var s=n.$parent.computeOffset(a);this.attr({cx:s.x,cy:s.y});var l=parseInt(this.attr("data-key"),10);n.points.splice(l,1,{x:s.x,y:s.y})},onStart:function(){return e.hideTooltip()},onEnd:function(t){i&&(i=!1,n.showTooltip())}};r.drag(a.onMove,a.onStart,a.onEnd)},addResizeHandlers:function(){var t=this;this.$refs.handlers.forEach(function(e){return t.addResizeHandler(e)})}}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(6),o=r(i),a=n(41),s=r(a),l=n(40),c=r(l);e.default={mixins:[s.default,c.default],props:["paper","original-annotation","tooltip","readonly"],data:function(){return{transform:"translate(0, 0)",isResizing:!1,x:0,y:0,width:0,height:0,handlerSize:60}},computed:{showResizeHandlers:function(){return!this.readonly&&this.width>0&&this.height>0}},mounted:function(){var t=this,e={onMove:function(e,n){if(!t.isResizing&&!t.readonly){var r=this.transform().diffMatrix.invert();r.e=r.f=0;var i=r.x(e,n),o=r.y(e,n),a=this.data("origTransform")+(this.data("origTransform")?"T":"t")+[i,o];this.transform(a)}},onStart:function(){t.readonly||(this.data("origTransform",this.transform().local),t.$emit("drag:start"))},onEnd:function(){return t.$emit("drag:end")}},n=new o.default(this.$refs.g);n.drag(e.onMove,e.onStart,e.onEnd)},watch:{x:function(t,e){this.transform="translate("+this.x+", "+this.y+")"},y:function(t,e){this.transform="translate("+this.x+", "+this.y+")"}},methods:{clear:function(){var t=new o.default(this.$refs.shape),e=new o.default(this.$refs.topLeft),n=new o.default(this.$refs.bottomRight);t.node.removeAttribute("transform"),e.node.removeAttribute("transform"),n.node.removeAttribute("transform"),this.destroyTooltip(),Object.assign(this,{transform:"translate(0, 0)",x:0,y:0,width:0,height:0})},getTooltipTarget:function(){return this.$refs.shape},addResizeHandlers:function(){var t=this,e=new o.default(this.$refs.shape),n=new o.default(this.$refs.topLeft),r=new o.default(this.$refs.bottomRight),i={onMove:function(t,i){var o=this.transform().diffMatrix.invert();o.e=o.f=0;var a=o.x(t,i),s=o.y(t,i);this.transform("t"+[a,s]+this.data("origTransform"));var l=r.getBBox().x-n.getBBox().x,c=r.getBBox().y-n.getBBox().y,u={width:l,height:c};this===n&&(u.transform=e.data("origTransform")+(e.data("origTransform")?"T":"t")+[a,s]),e.attr(u)},onStart:function(){t.isResizing=!0,e.data("origTransform",e.transform().local),this.data("origTransform",this.transform().local)},onEnd:function(){t.isResizing=!1}};n.drag(i.onMove,i.onStart,i.onEnd),r.drag(i.onMove,i.onStart,i.onEnd)},fromSVGPath:function(t,e){var n=this,r=o.default.path.getBBox(t);Object.assign(this,{x:r.x,y:r.y,width:r.width,height:r.height}),this.$nextTick(function(){n.addResizeHandlers(),e&&setTimeout(function(){return n.addTooltip()},250)})},toSVGPath:function(){var t,e=new o.default(this.$refs.shape),n=e.getBBox(),r=e.transform();if(r.global.length){var i=e.node.getAttribute("x"),a=e.node.getAttribute("y"),s=r.totalMatrix,l=this.paper.rect(s.x(i,a),s.y(i,a),n.width,n.height);t=l.getBBox().path,l.remove()}else t=e.getBBox().path;var c=o.default.path.toAbsolute(t).toString();return this.$parent.normalizePath(c)+";RECT"}}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(36),o=r(i);e.default={props:["original-title","original-description","original-tags"],components:{"tag-list":o.default},data:function(){return{title:"",description:"",tags:[],error:!1}},computed:{titleFormGroup:function(){return{"has-error":this.error}}},mounted:function(){var t=this;this.originalTitle&&(this.title=this.originalTitle),this.originalDescription&&(this.description=this.originalDescription),this.$on("error",function(e){e.title&&(t.error=!0)})},methods:{close:function(t){t.preventDefault(),this.$emit("close")},save:function(t){return t.preventDefault(),this.error=!1,0===this.title.trim().length?void this.$emit("error",{title:!0}):void this.$emit("save",{title:this.title,description:this.description,tags:this.$refs.taglist.tags})}}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(6),o=r(i);e.default={props:["image","viewport","viewBox","imageWidth","imageHeight"],data:function(){return{thumbnailWidth:0,thumbnailHeight:0,loaded:!1}},computed:{x:function(){return this.viewBox[0]*this.getRatioX()},y:function(){return this.viewBox[1]*this.getRatioY()},width:function(){return this.viewBox[2]*this.getRatioX()},height:function(){return this.viewBox[3]*this.getRatioY()}},methods:{reset:function(){var t=new o.default(this.$refs.handler);t.node.removeAttribute("transform")},getRatioX:function(){return 0===this.imageWidth?0:this.thumbnailWidth/this.imageWidth},getRatioY:function(){return 0===this.imageHeight?0:this.thumbnailHeight/this.imageHeight}},mounted:function(){var t=this,e=new o.default(this.$refs.svg),n=new o.default(this.$refs.handler),r=new Image;r.onload=function(i){var o=t;e.attr({viewBox:[0,0,r.width,r.height]}),Object.assign(t,{thumbnailWidth:r.width,thumbnailHeight:r.height,loaded:!0});var a={onMove:function(t,e,n,r){var i=this.transform().diffMatrix.invert();i.e=i.f=0;var a=i.x(t,e),s=i.y(t,e),l=this.data("origTransform")+(this.data("origTransform")?"T":"t")+[a,s];this.transform(l),o.$emit("change",{x:this.getBBox().x*(o.imageWidth/o.thumbnailWidth),y:this.getBBox().y*(o.imageHeight/o.thumbnailHeight)})},onStart:function(){this.data("origTransform",this.transform().local),o.$emit("dragstart")},onEnd:function(){o.$emit("dragend")}};n.drag(a.onMove,a.onStart,a.onEnd)},r.src=this.image}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(37),o=r(i),a=n(54),s=r(a);e.default={data:function(){return{}},components:{Typeahead:o.default,diffviewer:s.default},mounted:function(){this.targetKeyMap={title:"proposal-title",desc:"proposal-description",frag:"proposal-fragment"},this.targetFieldTypeMap={title:"input",desc:"input",frag:"frag"},this.originalValues={title:"",desc:"",frag:""}},methods:{pickProposition:function(t,e,n){var r="",i=document.getElementById(e),o=this.$refs[this.targetKeyMap[n]],a=this.targetFieldTypeMap[n];if(!a)throw new Error("A target type must be provided...");if("input"===a&&(r=o.value,o.value=i.value),"frag"===a){r=o.getAttribute("d");var s=i.getAttribute("d");o.getAttribute("data-path-type");o.setAttribute("d",s);var l=i.getAttribute("data-path-type");l=l||"FREE";var c=this.$refs["fragment-field"];c.value=s+";"+l}this.preserveOriginalValue(n,r)},pickTag:function(t,e){var n=this.$refs[e],r=this.$refs["proposal-tags"];this.preserveOriginalValue("proposal-tags",r.tags),r.setTags(n.tags,!0)},preserveOriginalValue:function(t,e){this.originalValues[t]||(this.originalValues[t]=e)},showDiffviewer:function(t,e,n){var r=document.getElementById(e),i=this.$refs[this.targetKeyMap[n]],o=this.targetFieldTypeMap[n],a=this.$refs[t];if(!a)throw new Error("The DiffViewer can't be found for "+n);if("input"===o&&a.showTextDiff(r.value,i.value),"tag"===n){var s=this.$refs[e],l=this.$refs["proposal-tags"];0!==s.tags.length&&0!==l.tags.length&&a.showTagDiff(s.tags,l.tags)}if("frag"===n){var c=i.getAttribute("d"),u=r.getAttribute("d");a.showFragmentDiff(c,u)}a.show()},hightlightSource:function(t){t.className+="highlight"},save:function(){alert("this is it ... ")}}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:["close-with-escape"],data:function(){return{display:!1}},methods:{close:function(){this.display=!1},show:function(){this.display=!0}}}},function(t,e,n){(function(t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:["original-value"],data:function(){return{value:this.originalValue}},watch:{originalValue:function(t){this.value=t}},mounted:function(){this.originalValue&&(this.value=this.originalValue)},methods:{animate:function(){var t,e=0,n=1,r=function r(){return 5===this.value&&(n=-1),1===this.value&&(n=1),this.value+=n,10===++e?(clearTimeout(t),void(null===this.originalValue&&(this.value=null))):void(t=setTimeout(r.bind(this),100))};r.apply(this)},onMouseEnter:function(e){var n=t(e.target).data("value");this.$refs.buttons.forEach(function(e){t(e).data("value")<=n?t(e).addClass("btn--highlight"):t(e).removeClass("btn--highlight")})},onMouseLeave:function(e){var n=this;this.value?this.$refs.buttons.forEach(function(e){t(e).data("value")<=n.value?t(e).addClass("btn--highlight"):t(e).removeClass("btn--highlight")}):this.$refs.buttons.forEach(function(e){t(e).removeClass("btn--highlight")})},onClick:function(e){var n=parseInt(t(e.target).data("value"));this.value=n,this.$emit("change",{value:n})}}}}).call(e,n(1))},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(194),o=r(i),a=n(56),s=r(a),l=n(53),c=r(l);e.default={props:{originalTags:{type:Array,default:function(){return[]}},readonly:{type:Boolean,default:!1}},data:function(){return{tags:c.default.cloneDeep(this.originalTags)}},components:{typeahead:s.default,"tag-list-item":o.default},watch:{originalTags:function(t){this.tags=c.default.cloneDeep(this.originalTags),this.hideAll()},tags:function(t){this.$emit("change",{tags:t})}},mounted:function(){var t=this;this.$refs.typeahead.$on("selected",function(e){t.tags.push(e)})},methods:{hideAll:function(){this.$refs.items&&this.$refs.items.forEach(function(t){return t.hide()})},replaceItemAt:function(t,e){var n=this.tags[t];Object.assign(n,e),this.tags.splice(t,1,n)},removeItemAt:function(t){this.tags.$remove(this.tags[t])}}}},function(t,e,n){(function(t){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(55),o=r(i),a=n(56),s=r(a);e.default={props:["index","label","accuracy","relevancy","readonly"],components:{typeahead:s.default,"color-buttons":o.default},data:function(){return{isNew:!0}},computed:{accuracyTitle:function(){return"Fiabilité : "+this.accuracy},relevancyTitle:function(){return"Pertinence : "+this.relevancy}},watch:{accuracy:function(t){this.isNew&&this.isComplete()&&(this.isNew=!1,this.hide())},relevancy:function(t){this.isNew&&this.isComplete()&&(this.isNew=!1,this.hide())}},mounted:function(){this.isNew=!this.accuracy&&!this.relevancy,this.$refs.accuracy.value=this.accuracy,this.$refs.relevancy.value=this.relevancy,t(this.$el).find(".collapse").collapse({toggle:!1}),this.isNew&&(this.$parent.hideAll(),this.show(),this.$refs.accuracy.animate())},methods:{isComplete:function(){return this.accuracy&&this.relevancy},onChange:function(t,e){var n={};n[t]=e,this.$parent.replaceItemAt(this.index,n)},show:function(){t(this.$el).find(".collapse").collapse("show")},hide:function(){t(this.$el).find(".collapse").collapse("hide")},toggle:function(e){e.preventDefault(),this.readonly||(this.$parent.hideAll(),t(this.$el).find(".collapse").collapse("toggle"))},remove:function(t){t.preventDefault(),t.stopPropagation(),this.readonly||this.$parent.removeItemAt(this.index)}}}}).call(e,n(1))},function(t,e,n){(function(t){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(58),o=r(i),a="https://lookup.dbpedia.org/api/search/PrefixSearch?MaxHits=5",s="https://fr.wikipedia.org/w/api.php",l={reset:o.default.methods.reset},c=function(e,n){var r=t.Deferred();t.getJSON(e,n).done(function(t){var e={};e.data=t,r.resolve(e)}).fail(r.reject);return r.promise()};e.default={mixins:[o.default],props:{placeholder:String,readonly:{type:Boolean,default:!1}},data:function(){return{src:a,limit:7,minChars:2,selectFirst:!0,datasource:"wikipedia",selectedTags:"[]",items:[],queryParamName:"QueryString"}},methods:{checkQuery:function(){0===this.query.length&&this.reset()},fetch:function(){if("wikipedia"===this.datasource)return this.fetchWikiPedia();var t={};return t[this.queryParamName]=this.query,c(this.src,query)},fetchWikiPedia:function(){this.src=s;var e={action:"opensearch",format:"json",search:this.query},n=t.Deferred();return t.ajax({url:this.src,data:e,dataType:"jsonp",success:function(t){var e={};e.data=t,n.resolve(e)}}),n.promise()},reset:function(){l.reset.call(this)},prepareWikipediaResponse:function(t){var e=[];if(4!==t.length)return e;var n=t[1],r=t[3];return n.length===r.length?(n.map(function(t,n){var i={};i.tag_label=t;var o=r[n];o=o.replace("https://fr.wikipedia.org/wiki/","http://fr.dbpedia.org/resource/"),i.tag_link=decodeURI(o),i.accuracy=null,i.relevancy=null,e.push(i)}),e):void 0},prepareResponseData:function(t){var e="string"==typeof t?JSON.parse(t):t;return"wikipedia"===this.datasource&&(e=this.prepareWikipediaResponse(e)),Array.isArray(e)&&!e.length?[{tag_label:this.query,tag_link:this.query,accuracy:null,relevancy:null}]:e},onHit:function(t){this.$emit("selected",t),this.reset()}}}}).call(e,n(1))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(7);e.default={data:function(){return{tags:[],readOnly:!1}},methods:{removeTag:function(t){this.tags.$remove(t),this.normalizeSelectedTags()},reset:function(){this.tags=[],this.normalizeSelectedTags()},tagAlreadyExists:function(t){var e=!1,n=this.tags.find(function(e){if(e.tag_link){if(e.tag_link===t.tag_link)return!0}else if(e.tag_label===t.tag_label)return!0});if(n){var r=this.$refs[n.id][0];r.style.border="1px solid red",setTimeout(function(){r.style.border=""},1e3),e=!0}return e},setTags:function(t){Array.isArray(t)||new Error("setTags expects an array!");var e=this;t.map(function(t){e.addTag(t)})},addTag:function(t){return!this.tagAlreadyExists(t)&&void(t&&t.hasOwnProperty("tag_label")&&(t.id||(t.id=(0,r.generateId)("tag_")),this.tags.push(t),this.normalizeSelectedTags()))},normalizeSelectedTags:function(){var t=[];this.tags.map(function(e){var n={};n.tag_input="string"==typeof e.tag_link&&e.tag_link.length?e.tag_link:e.tag_label,n.accuracy=e.accuracy,n.relevancy=e.relevancy,t.push(n)}),this.$parent.$data.selectedTags=JSON.stringify(t)},updateAccuracy:function(t,e){e.accuracy=t.target.value,this.normalizeSelectedTags()},updatePertinence:function(t,e){e.relevancy=t.target.value,this.normalizeSelectedTags()}}}},function(t,e,n){(function(t){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(58),o=r(i),a=n(195),s=r(a),l="https://lookup.dbpedia.org/api/search/PrefixSearch?MaxHits=5",c="https://fr.wikipedia.org/w/api.php",u={reset:o.default.methods.reset},f=function(e,n){var r=t.Deferred();t.getJSON(e,n).done(function(t){var e={};e.data=t,r.resolve(e)}).fail(r.reject);return r.promise()};e.default={mixins:[o.default],components:{taglist:s.default},props:["tags","read-only"],mounted:function(){this.taglist=this.$refs.taglist,this.taglist.readOnly=this.readOnly,this.setTags(this.tags)},data:function(){return{src:l,limit:7,minChars:2,showAddButton:!1,datasource:"wikipedia",selectedTags:"[]",items:[],queryParamName:"QueryString",placeholder:"..."}},methods:{setTags:function(t,e){t=Array.isArray(t)?t:[],e="boolean"==typeof e&&e,e&&this.taglist.reset(),this.taglist.setTags(t)},checkQuery:function(){0===this.query.length&&this.reset()},fetch:function(){if("wikipedia"===this.datasource)return this.fetchWikiPedia();var t={};return t[this.queryParamName]=this.query,f(this.src,query)},fetchWikiPedia:function(){this.src=c;var e={action:"opensearch",format:"json",search:this.query},n=t.Deferred();return t.ajax({url:this.src,data:e,dataType:"jsonp",success:function(t){var e={};e.data=t,n.resolve(e)}}),n.promise()},reset:function(){this.showAddButton=!1,u.reset.call(this)},prepareWikipediaResponse:function(t){var e=[];if(4!==t.length)return e;var n=t[1],r=t[3];return n.length===r.length?(n.map(function(t,n){var i={};i.tag_label=t;var o=r[n];o=o.replace("https://fr.wikipedia.org/wiki/","http://fr.dbpedia.org/resource/"),i.tag_link=decodeURI(o),i.accuracy=1,i.relevancy=1,e.push(i)}),e):void 0},prepareResponseData:function(t){var e="string"==typeof t?JSON.parse(t):t;return"wikipedia"===this.datasource&&(e=this.prepareWikipediaResponse(e)),Array.isArray(e)&&!e.length&&(this.showAddButton=!0),e},addTag:function(){if(this.hasItems)return!1;var t={tag_label:this.query,accuracy:1,relevancy:1};this.$refs.taglist.addTag(t),this.reset()},onHit:function(t){this.$refs.taglist.addTag(t),this.reset()}}}}).call(e,n(1))},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(7),o=n(39),a=r(o),s=n(6),l=r(s);e.default={props:["image-url","image-width","image-height","zoomTarget","main-image-id"],mounted:function(){this.root=new l.default(this.$refs["root-svg"]),this.handler=this.root.select("#zoom-handler"),this.image=this.root.select("#small-image"),this.root.attr({width:101,height:101});var t=parseInt(this.image.attr("width")),e=parseInt(this.image.attr("height"));this.root.attr({viewBox:[0,0,t,e]}),this.imgMinSize=Math.min(t,e),this.handlerSize=20,this.handler.attr({width:this.handlerSize,height:this.handlerSize}),this.currentViewBox=null,this.currentViewport=null,this.updateFunction=null;var n=document.getElementById("zoomTarget");n&&this.setZoomTarget(n),this.handleEvents()},data:function(){return{showHandler:!1}},methods:{setZoomTarget:function(t){if(t.hasOwnProperty("type")&&"svg"===t.type)this.paper=t;else{this.paper=new l.default(t);var e=this.paper.select("#"+this.mainImageId);if(!e)throw new Error("A main image wasn't found.")}this.zoomHandler=a.default.enable_zoom(this.paper)},incraseDrawingZoom:function(){this.zoomHandler.zoomIn()},resetDrawingZoom:function(){this.zoomHandler.reset()},decreaseDrawingZoom:function(){this.zoomHandler.zoomOut()},handleEvents:function(){i.eventEmitter.on("zoomChanged",this.handleZoomChanged.bind(this));var t=this;this.handler.drag(function(e,n){var r=this.getBBox(),i=this.data("startPosition").x,o=this.data("startPosition").y,a=parseInt(t.image.attr("width")),s=parseInt(t.image.attr("height")),l=i+e,c=o+n;l+r.w>=a&&(l=a-r.w),c+r.h>=s&&(c=s-r.h),l=l<0?0:l,c=c<0?0:c;var u="T"+[l,c];this.attr("transform",u),t.notifyMove(this.getBBox().x,this.getBBox().y)},function(){this.data("startPosition",{x:this.getBBox().x,y:this.getBBox().y}),this.data("origTransform",this.transform().local)},function(){})},moveHandlerToCenter:function(t,e){cx=cx?cx:this.width/2,cy=cy?cy:this.height/2;var n=cx-this.handler.getBBox().w/2,r=cy-this.handler.getBBox().h/2;this.handler.transform("T"+[n,r])},notifyMove:function(t,e){if(i.eventEmitter.emit("moveZoomHandler",{x:t,y:e,viewport:{width:this.image.attr("width"),height:this.image.attr("height")}}),!this.currentViewBox||!this.currentViewport||"function"!=typeof this.updateFunction)return!1;var n=this.currentImageSize.width/this.image.attr("width"),r=this.currentImageSize.height/this.image.attr("height"),o=t*n,a=e*r;this.currentViewBox[0]=o,this.currentViewBox[1]=a,this.updateFunction(this.currentViewBox)},handleZoomChanged:function(t){if(1===t.currentScale)return void(this.showHandler=!1);this.showHandler=!0,this.currentViewport=t.viewport,this.currentViewBox=t.currentViewBox,this.currentImageSize=t.imageSize,this.updateFunction=t.updateFunction;var e=t.currentViewBox[2]*this.imgMinSize/t.minSize;this.handler.attr("width",e),this.handler.attr("height",e);var n=t.currentViewBox[0]*this.image.attr("width")/t.imageSize.width,r=t.currentViewBox[1]*this.image.attr("height")/t.imageSize.height;this.handler.transform("T"+[n,r])}}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(183),o=r(i);e.default={init:function(){return new Vue(o.default)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(7),i=function(t,e,n,r){this.paper=t,this.shape=e,this.handlers=[],this.viewPort=n,this.viewBox=r,this.isResizing=!1,this.currentPosition={},this.HANDLER_SIZE=8,this.SHAPE_MIN_SIZE=20,this.states={},this.noop=function(){},this.init()};i.prototype={init:function(){this.showHandlers()},computeHandlerSize:function(){return this.HANDLER_SIZE*Math.min(this.viewBox[2],this.viewBox[3])/this.viewPort.width},showHandlers:function(){var t=this.shape.getBBox(),e=t.x-this.computeHandlerSize()/2,n=t.y-this.computeHandlerSize()/2,r=this.paper.rect(e,n,this.computeHandlerSize(),this.computeHandlerSize()).attr({fill:"red"});r.addClass("drawingHandler"),this.shape.addClass("drawingHandler");var i={position:"t_r",handler:r};this.handlers.push(i),this.shapesGroup=this.paper.g(this.shape,r),this.attachEvents()},updateShapePositions:function(t,e,n){var r=t.handler.getBBox(),i=this.shape.data("origBbox"),o=(r.x+this.computeHandlerSize()/2, +r.y+this.computeHandlerSize()/2,e>0?i.width-e:i.width+Math.abs(e)),a=n>0?i.height-n:i.height+Math.abs(n),s=this.shape.data("origTransform")+(this.shape.data("origTransform")?"T":"t")+[e,n];this.shape.attr({transform:s,width:o,height:a})},dragEvents:{onStart:function(t,e,n,r){this.startPosition={x:r.clientX,y:r.clientY},this.isResizing=!0,this.currentPosition={},t.handler.data("origTransform",t.handler.transform().local),this.shape.data("origBbox",this.shape.getBBox()),this.shape.data("origBounding",this.shape.node.getBoundingClientRect()),this.shape.data("origTransform",this.shape.transform().local)},onMove:function(t,e,n,r,i,o){var a,s,l=t.handler.transform().diffMatrix.invert();l.e=l.f=0,a=l.x(e,n),s=l.y(e,n),this.currentPosition.x=o.clientX,this.currentPosition.y=o.clientY,this.checkBondaries(e,n)&&(t.handler.transform("t"+[a,s]+t.handler.data("origTransform")),this.updateShapePositions(t,a,s))},onStop:function(){this.isResizing=!1,this.startPosition={},this.currentPosition={}}},checkBondaries:function(t,e){var n=!0,r=this.shape.data("origBounding");this.shape.node.getBoundingClientRect();return r.width-t<=this.SHAPE_MIN_SIZE&&(n=!1),r.height-e<=this.SHAPE_MIN_SIZE&&(n=!1),n},destroy:function(){this.handlers.map(function(t){t.handler.remove()}),delete this},getZoomFactor:function(){return{x:this.viewPort.width/this.viewBox[2],y:this.viewPort.height/this.viewBox[3]}},attachEvents:function(){var t=this;this.handlers.map(function(e){e.handler.drag(t.dragEvents.onMove.bind(t,e),t.dragEvents.onStart.bind(t,e),t.dragEvents.onStop.bind(t,e))}),r.eventEmitter.on("cutout:clear",function(){t.destroy()}),this.shapesGroup.drag(function(e,n){if(!t.isResizing){var r=this.transform().diffMatrix.invert();r.e=r.f=0;var i=r.x(e,n),o=r.y(e,n),a=this.data("origTransform")+(this.data("origTransform")?"T":"t")+[i,o];this.transform(a)}},function(){this.data("origTransform",this.transform().local)},this.noop)}};e.default={enable_resizer:function(t,e,n,r){new i(t,e,n,r)}}},function(t,e,n){(function(t){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(6),o=r(i),a=n(81),s=r(a),l=n(7),c=n(39);r(c);o.default.plugin(function(t,e,n,r){var i=e.prototype;i.toBack=function(){this.prependTo(this.paper)},i.toFront=function(){this.appendTo(this.paper)}}),Element.prototype.getTransformedXY=function(t,e){var n=this.transform().globalMatrix;return{x:n.x(t,e),y:n.y(t,e)}};var u=null,f=null,h=[],p={X:100,Y:100},d={x:1,y:1},g={width:850,height:850},v=[],m=!1,y=null,b=null,_=!1,x=null,w="#ff00ff",k="red",C="orange",A="#FF0000",T=8,S=!1,$=!0,j=!1,O=!0,P="RECT",E=P,M="FREE",B=[P,M],N=null,R=function(){var t=0,e="item_";return function(n){return n="string"==typeof n?n:e,t+=1,n+t}}(),F=function(t){if(m)return void u.path(t).attr({stroke:"red",opacity:.6});var e=o.default.path.getBBox(t);x=u.rect(e.x,e.y,e.width,e.height),x.attr({fill:C,stroke:k,opacity:.6}),b=x,_=!1,j=!0,s.default.enable_resizer(u,b,g,v)},D=function(t){if(m)return void u.path(t).attr({stroke:"orange",fill:"orange",opacity:.5});var e=o.default.parsePathString(t);e.map(function(t){"Z"!==t[0]?Z(u,t[1],t[2],h):(j=!0,I(u,L))})},I=function(t,e){var n="M";if(!(h.length<=1)){n+=h[0].x+","+h[0].y;for(var r=0;r2&&(j=!0)},V=function(t,e,n){var r=h.indexOf(t);return r!==-1&&(h[r].x=e,h[r].y=n,!0)},H=function(){v.length||(v=[0,0,parseInt(f.width()),parseInt(f.height())]);var t=T*Math.min(v[2],v[3])/850;return t},U=function(t,e,n,r,i){S=!0;var o,a,s=this.transform().diffMatrix.invert();s.e=s.f=0,o=s.x(t,e),a=s.y(t,e);var l=this.data("origTransform")+(this.data("origTransform")?"T":"t")+[o,a];this.attr({transform:l});var c=this.getBBox(),u=V(this.data("point"),c.x+H()/2,c.y+H()/2);u&&I(this.paper)},W=function(t,e){t.handler.click(q.bind(this,t,e)),t.handler.hover(function(){t.handler.attr({fill:"yellow"})},function(){var e=t.isFirst?A:"";t.handler.attr({fill:e})}),t.handler.drag(U,function(){this.data("origTransform",this.transform().local)},function(){return!S||(S=!1,void($=!1))})},G=function(t,e){var n,r=H(),i=e.x-r/2,o=e.y-r/2;return n=t.rect(i,o,r,r),n.addClass("drawingHandler"),e.handler=n,e.handler.data("point",e),0===h.length&&(e.isFirst=!0),W(e,t),e.handler.attr({fill:0===h.length?A:"",opacity:.9,stroke:w}),e},Z=function(t,e,n,r){var i={x:e,y:n,id:R()};return j?void I(t,L):$?(i=G(t,i),r.push(i),void I(t)):($=!0,!1)},J=function(t){if(m)return!1;var e={},n={},r=function(t){var e=t.target||t.srcElement,n=e.getBoundingClientRect(),r=(t.clientX-n.left)/Math.min(d.x,d.y),i=(t.clientY-n.top)/Math.min(d.x,d.y);return{x:r,y:i}};t.mousedown(function(t){if(E!==M&&!j){var n=r(t);e.x=n.x,e.y=n.y,_=!0}}),t.mousemove(function(i){if(E!==M&&_){var o,a,s=r(i);n.x=s.x,n.y=s.y,x&&x.remove();var l=Math.abs(n.x-e.x),c=Math.abs(e.y-n.y);n.y>e.y&&n.x>e.x&&(o=e.x,a=e.y),n.ye.x&&(o=n.x-l,a=n.y),n.ye.y&&n.x2&&I(e,L)),!1)});var i=function(t){var e=t.target||t.srcElement,n=e.getBoundingClientRect(),r=(t.clientX-n.left)/Math.min(d.x,d.y),i=(t.clientY-n.top)/Math.min(d.x,d.y);return{x:r,y:i}},o=function(t,i){if(!r){if(E===P)return!0;if(!O)return!0;Z(e,t,i,h),n=null,r=!1}};e.click(function(e){if(!n&&t(e.target).is(f)){var r=i(e),a=r.x,s=r.y;n=setTimeout(o.bind(this,a,s),190)}})}},Y=function(){l.eventEmitter.on("zoomChanged",function(t){d=t.zoomFactor,v=t.currentViewBox;var e=K.getPath();K.clear(),K.setPath(e)})},K={getPaper:function(){return u},setPath:function(t){var e=t.split(";");B.indexOf(e[1])===-1&&(e[1]="FREE"),this.setDrawingMode(e[1]);var n=e[0];if(n.length){var r=f.attr("width")/p.X,i=f.attr("height")/p.Y;(isNaN(r)||isNaN(i))&&new Error("Ratio should be a number.");var a=o.default.matrix(r,0,0,i,0,0),s=o.default.path.map(n,a).toString();s.search(/[z|Z]/gi)===-1&&(s+="Z"),e.length>=2&&(e[1]===P&&F(s),e[1]===M&&D(s))}},setDrawingMode:function(t){B.indexOf(t)!==-1&&(E=t),"function"==typeof N&&N(E),this.clear()},clear:function(){h.map(function(t){t.handler&&t.handler.remove()}),b&&b.remove(),l.eventEmitter.emit("cutout:clear"),h=[],y=null,b=null,S=!1,$=!0,j=!1,O=!0},getShapeBBox:function(){var t=this.getPath();return o.default.path.getBBox(t)},getShape:function(){return this.getPath()},getPath:function(){var t="";if(b)if(E===P){var e=b.getBBox(),n=b.transform();if(n.global.length){var r=b.node.getAttribute("x"),i=b.node.getAttribute("y"),a=n.totalMatrix,s=u.rect(a.x(r,i),a.y(r,i),e.width,e.height);l=s.getBBox().path,s.remove()}else var l=b.getBBox().path;t=o.default.path.toAbsolute(l).toString()}else t=b.attr("d");var c=p.X/f.attr("width"),h=p.Y/f.attr("height");if((isNaN(c)||isNaN(h))&&new Error("ratio should be a number."),!t.length)return t=E===P?";RECT":";FREE";var d=o.default.matrix(c,0,0,h,0,0);t=o.default.path.map(t,d).toString();var g=E===P?";RECT":";FREE";return t.search(/[z|Z]/gi)===-1&&(t+=" Z"),t+=g}};e.default={init:function(e){f=t(e.wrapperId).find(".main-image").eq(0);var n=t(e.wrapperId).find(".cut-canvas").eq(0),r=t(e.wrapperId).find(".image-path").eq(0);if("function"==typeof e.onDrawingModeChange&&(N=e.onDrawingModeChange),!f.length)throw new Error("The main image Can't be found ...");if(!n.length){var n=t('').addClass("cut-canvas");t(e.wrapperId).append(n),n.append(f)}if(n.css({marginLeft:"auto",marginRight:"auto",width:g.width,height:g.height}),"boolean"==typeof e.readOnly&&e.readOnly===!0&&(m=!0),u=new o.default(n.get(0)),r.length){t(n).append(r);var i=r.attr("d");K.setPath(i),r.remove()}return Y(),X(u),J(u),K}}}).call(e,n(1))},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(185),o=r(i),a=n(184),s=r(a),l=n(187),c=r(l);e.default={Canvas:o.default,AnnotationForm:s.default,CommentList:c.default}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n(172),n(173),n(171);var i=n(213),o=(r(i),n(37)),a=r(o),s=n(80),l=r(s),c=n(57),u=r(c),f=n(192),h=r(f),p=n(182),d=r(p),g=n(54),v=r(g),m=n(20),y=r(m),b=n(83),_=r(b),x=n(55),w=r(x),k=n(36),C=r(k),A=n(152);Vue.config.ignoredElements=["mask"];var T={Cutout:l.default,JsDiff:A,JsonDiff:y.default,CollectionSelector:d.default,VueComponents:{Typeahead:a.default,MergeTool:h.default,Zoomview:u.default,DiffViewer:v.default,Editor:_.default,ColorButtons:w.default,TagList:C.default}};Vue.component("color-buttons",w.default),Vue.component("image-annotator",_.default.Canvas),Vue.component("annotation",_.default.Annotation),Vue.component("annotation-form",_.default.AnnotationForm),Vue.component("comment-list",_.default.CommentList),window.iconolab||(window.iconolab=T)},function(t,e,n){t.exports={default:n(102),__esModule:!0}},function(t,e,n){t.exports={default:n(103),__esModule:!0}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var i=n(86),o=r(i);e.default=function(t,e,n){return e in t?(0,o.default)(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},,,,,,,,,,,,,,function(t,e,n){"use strict";function r(t){var e=function t(){return i.apply(t,arguments)};return e._styles=t,e.__proto__=d,e}function i(){var t=arguments,e=t.length,n=0!==e&&String(arguments[0]);if(e>1)for(var r=1;ru;)if(s=l[u++],s!=s)return!0}else for(;c>u;u++)if((t||u in l)&&l[u]===n)return t||u||0;return!t&&-1}}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(104);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(25),i=n(24).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(45),i=n(119);t.exports=n(17)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){t.exports=!n(17)&&!n(23)(function(){return 7!=Object.defineProperty(n(109)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){"use strict";var r=n(117),i=n(115),o=n(118),a=n(124),s=n(44),l=Object.assign;t.exports=!l||n(23)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=l({},t)[n]||Object.keys(l({},e)).join("")!=r})?function(t,e){for(var n=a(t),l=arguments.length,c=1,u=i.f,f=o.f;l>c;)for(var h,p=s(arguments[c++]),d=u?r(p).concat(u(p)):r(p),g=d.length,v=0;g>v;)f.call(p,h=d[v++])&&(n[h]=p[h]);return n}:l},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(111),i=n(47),o=n(106)(!1),a=n(120)("IE_PROTO");t.exports=function(t,e){var n,s=i(t),l=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;e.length>l;)r(s,n=e[l++])&&(~o(c,n)||c.push(n));return c}},function(t,e,n){var r=n(116),i=n(110);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(121)("keys"),i=n(126);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,e,n){var r=n(24),i="__core-js_shared__",o=r[i]||(r[i]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,e,n){var r=n(46),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},function(t,e,n){var r=n(46),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e,n){var r=n(42);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(25);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){var r=n(43);r(r.S+r.F,"Object",{assign:n(114)})},function(t,e,n){var r=n(43);r(r.S+r.F*!n(17),"Object",{defineProperty:n(45).f})},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,".alert[data-v-01594f1c]{padding:10px;font-size:12px}.tag-list[data-v-01594f1c]{margin-bottom:15px}.tag-list-item[data-v-01594f1c]:first-of-type{border-top-left-radius:4px;border-top-right-radius:4px}.tag-list-item[data-v-01594f1c]:last-of-type{border-bottom-left-radius:4px;border-bottom-right-radius:4px}",""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,".move-handler[data-v-0425443c]{cursor:-webkit-grab;cursor:grab}",""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,"form[data-v-2ed92980]{margin-bottom:20px;clear:both}",""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,".popover{min-width:300px}.popover-content .form-group{margin-bottom:10px}.popover-content .form-group label{font-size:12px}.popover-content .taglist{margin:10px 0 15px}",""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,".shape[data-v-3a6dd2f0]{fill:#bdc3c7;stroke:#000;opacity:.6}.shape--draggable[data-v-3a6dd2f0]:hover{cursor:move}.handler-top-left[data-v-3a6dd2f0]:hover{cursor:nw-resize}.handler-bottom-right[data-v-3a6dd2f0]:hover{cursor:se-resize}",""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,".alert[data-v-3db45a40]{padding:10px;font-size:12px}",""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,'.btn-group[data-v-699ae618]{margin-bottom:10px}.btn--highlight[data-v-699ae618]{box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn--highlight[data-value="1"][data-v-699ae618]{background-color:#fc5f62}.btn--highlight[data-value="2"][data-v-699ae618]{background-color:#f7c136}.btn--highlight[data-value="3"][data-v-699ae618]{background-color:#f7e53b}.btn--highlight[data-value="4"][data-v-699ae618]{background-color:#ebf63d}.btn--highlight[data-value="5"][data-v-699ae618]{background-color:#b9e78b}',""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,"Typeahead[data-v-6b5883e1]{position:relative}.selected-tags[data-v-6b5883e1]{border:1px solid red;width:200px!important}.selected-tags select[data-v-6b5883e1]{display:inline-block}.Typeahead__input[data-v-6b5883e1]{width:100%;font-size:14px;color:#2c3e50;line-height:1.42857143;box-shadow:inset 0 1px 4px rgba(0,0,0,.4);-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;font-weight:300;padding:12px 26px;border:none;border-radius:22px;letter-spacing:1px;box-sizing:border-box}.Typeahead__input[data-v-6b5883e1]:focus{border-color:#4fc08d;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px #4fc08d}.tag-item[data-v-6b5883e1]{border:1px solid red}.fa-times[data-v-6b5883e1]{cursor:pointer}ul[data-v-6b5883e1]{padding:0;margin-top:8px;min-width:100%;background-color:#fff;list-style:none;border-radius:4px;box-shadow:0 0 10px rgba(0,0,0,.25);z-index:1000}li[data-v-6b5883e1]{padding:10px 16px;border-bottom:1px solid #ccc;cursor:pointer}li[data-v-6b5883e1]:first-child{border-radius:4px 4px 0 0}li[data-v-6b5883e1]:last-child{border-radius:0 0 4px 4px;border-bottom:0}span.tag-label[data-v-6b5883e1]{color:#2c3e50}.active[data-v-6b5883e1]{background-color:#3aa373}.active span[data-v-6b5883e1]{color:#fff}.name[data-v-6b5883e1]{font-weight:700;font-size:18px}.screen-name[data-v-6b5883e1]{font-style:italic}",""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,'.tag-item-btn[data-v-6c5af925]{float:left;position:relative}.tag-item-btn button[data-v-6c5af925]{border:none;background-color:transparent}.tag-item-accuracy .fa[data-v-6c5af925],.tag-item-relevancy .fa[data-v-6c5af925]{position:absolute;left:50%;top:-50%;transform:translate(-50%,-50%)}.tag-item-btn[data-value="1"][data-v-6c5af925]{background-color:#fc5f62}.tag-item-btn[data-value="2"][data-v-6c5af925]{background-color:#f7c136}.tag-item-btn[data-value="3"][data-v-6c5af925]{background-color:#f7e53b}.tag-item-btn[data-value="4"][data-v-6c5af925]{background-color:#ebf63d}.tag-item-btn[data-value="5"][data-v-6c5af925]{background-color:#b9e78b}.tag-title[data-v-6c5af925]{padding:5px 5px 5px 10px;font-size:12px;max-width:140px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tag-item-form[data-v-6c5af925]{padding:15px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap}.tag-item-form label[data-v-6c5af925],.tag-item-form small[data-v-6c5af925]{display:block;margin-bottom:5px}.tag-container[data-v-6c5af925]{border:1px solid #ccc;border-bottom:none}.tag-item[data-v-6c5af925],.tag-list .tag-container[data-v-6c5af925]:last-of-type{border-bottom:1px solid #ccc}.tag-item[data-v-6c5af925]{cursor:pointer;display:flex;justify-content:space-between;align-items:center}.tag-item[data-v-6c5af925]:hover{background-color:#f5f5f5}',""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,".diff-viewer-wrapper[data-v-763ea1ba]{margin-top:5px}.diff-panel[data-v-763ea1ba]{border:1px solid gray;width:300px;heigth:250px}del[data-v-763ea1ba]{text-decoration:none;color:#b30000;background:#fadad7}ins[data-v-763ea1ba]{background:#eaf2c2;color:#406619;text-decoration:none}",""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,".comment[data-v-7aa64982]{font-size:12px;padding:5px 0;border-bottom:1px solid #ccc}.comment-footer[data-v-7aa64982]{margin-top:5px;color:#ccc}.comment-date[data-v-7aa64982]{float:right}",""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,"Typeahead[data-v-7e508aca]{position:relative}.selected-tags[data-v-7e508aca]{border:1px solid red;width:200px!important}.selected-tags select[data-v-7e508aca]{display:inline-block}.Typeahead__input[data-v-7e508aca]{width:100%;font-size:14px;color:#2c3e50;line-height:1.42857143;box-shadow:inset 0 1px 4px rgba(0,0,0,.4);-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;font-weight:300;padding:12px 26px;border:none;border-radius:22px;letter-spacing:1px;box-sizing:border-box}.Typeahead__input[data-v-7e508aca]:focus{border-color:#4fc08d;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px #4fc08d}.tag-item[data-v-7e508aca]{border:1px solid red}.fa-times[data-v-7e508aca]{cursor:pointer}ul[data-v-7e508aca]{padding:0;margin-top:8px;min-width:100%;background-color:#fff;list-style:none;border-radius:4px;box-shadow:0 0 10px rgba(0,0,0,.25);z-index:1000}li[data-v-7e508aca]{padding:10px 16px;border-bottom:1px solid #ccc;cursor:pointer}li[data-v-7e508aca]:first-child{border-radius:4px 4px 0 0}li[data-v-7e508aca]:last-child{border-radius:0 0 4px 4px;border-bottom:0}span[data-v-7e508aca]{display:block;color:#2c3e50}.active[data-v-7e508aca]{background-color:#3aa373}.active span[data-v-7e508aca]{color:#fff}.name[data-v-7e508aca]{font-weight:700;font-size:18px}.screen-name[data-v-7e508aca]{font-style:italic}",""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,".handler[data-v-92fb61e0]{fill:#fff;stroke:#000;opacity:.9}.handler--first[data-v-92fb61e0]{fill:#ff0}",""])},function(t,e,n){e=t.exports=n(2)(),e.push([t.id,".zoom[data-v-eec5c2f6]{position:relative}.zoomer[data-v-eec5c2f6]{position:absolute;bottom:15px;right:15px}.cut-canvas[data-v-eec5c2f6]{width:100%;height:600px}.canvas--rect[data-v-eec5c2f6]:hover{cursor:crosshair}.canvas--free[data-v-eec5c2f6]:hover{cursor:pointer}.mode-controls .btn>svg[data-v-eec5c2f6]{margin-top:4px}.mode-controls .btn-primary>svg[data-v-eec5c2f6]{fill:#fff}.controls[data-v-eec5c2f6]{position:absolute;transform:translateX(-50%);left:50%;bottom:15px;display:flex;align-items:center}.controls>[data-v-eec5c2f6]{background-color:rgba(34,34,34,.9)}.controls .btn[data-v-eec5c2f6]{background-color:transparent;color:#ccc;fill:#ccc;float:left}.controls .btn.active[data-v-eec5c2f6],.controls .btn[data-v-eec5c2f6]:active{color:#fff;fill:#fff;background-color:#111}.controls .btn[data-v-eec5c2f6]:hover{background-color:#222}.controls .controls-left[data-v-eec5c2f6]{border-top-left-radius:4px;border-bottom-left-radius:4px}.controls .controls-center[data-v-eec5c2f6]{border-radius:4px;padding:8px 8px 4px}.controls .controls-right[data-v-eec5c2f6]{border-top-right-radius:4px;border-bottom-right-radius:4px}",""])},function(t,e,n){"use strict";var r,i=n(156),o=n(163),a=n(159),s=n(166);r=t.exports=function(t,e){var n,r,a,l,c;return arguments.length<2||"string"!=typeof t?(l=e,e=t,t=null):l=arguments[2],null==t?(n=a=!0,r=!1):(n=s.call(t,"c"),r=s.call(t,"e"),a=s.call(t,"w")),c={value:e,configurable:n,enumerable:r,writable:a},l?i(o(l),c):c},r.gs=function(t,e,n){var r,l,c,u;return"string"!=typeof t?(c=n,n=e,e=t,t=null):c=arguments[3],null==e?e=void 0:a(e)?null==n?n=void 0:a(n)||(c=n,n=void 0):(c=e,e=n=void 0),null==t?(r=!0,l=!1):(r=s.call(t,"c"),l=s.call(t,"e")),u={get:e,set:n,configurable:r,enumerable:l},c?i(o(c),u):u}},function(t,e){"use strict";function n(t){for(var e=[],n=void 0,r=void 0,i=0;i"):i.removed&&e.push(""),e.push(r(i.value)),i.added?e.push(""):i.removed&&e.push("")}return e.join("")}function r(t){var e=t;return e=e.replace(/&/g,"&"),e=e.replace(//g,">"),e=e.replace(/"/g,""")}e.__esModule=!0,e.convertChangesToXML=n},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e,n){return s.diff(t,e,n)}e.__esModule=!0,e.arrayDiff=void 0,e.diffArrays=i;var o=n(5),a=r(o),s=e.arrayDiff=new a.default;s.tokenize=s.join=function(t){return t.slice()}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e,n){return s.diff(t,e,n)}e.__esModule=!0,e.characterDiff=void 0,e.diffChars=i;var o=n(5),a=r(o),s=e.characterDiff=new a.default},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e,n){return s.diff(t,e,n)}e.__esModule=!0,e.cssDiff=void 0,e.diffCss=i;var o=n(5),a=r(o),s=e.cssDiff=new a.default;s.tokenize=function(t){return t.split(/([{}:;,]|\s+)/)}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e,n){return f.diff(t,e,n)}function o(t,e,n){e=e||[],n=n||[];var r=void 0;for(r=0;rf))return!1;e++}}return!0}var r=arguments.length<=2||void 0===arguments[2]?{}:arguments[2];if("string"==typeof e&&(e=(0,a.parsePatch)(e)),Array.isArray(e)){if(e.length>1)throw new Error("applyPatch only works with a single input.");e=e[0]}for(var i=t.split(/\r\n|[\n\v\f\r\x85]/),o=t.match(/\r\n|[\n\v\f\r\x85]/g)||[],s=e.hunks,c=r.compareLine||function(t,e,n,r){return e===r},u=0,f=r.fuzzFactor||0,h=0,p=0,d=void 0,g=void 0,v=0;v0?c(s.lines.slice(-l.context)):[],h-=d.length,p-=d.length)}(a=d).push.apply(a,r(o.map(function(t){return(e.added?"+":"-")+t}))),e.added?v+=o.length:g+=o.length}else{if(h)if(o.length<=2*l.context&&t=u.length-2&&o.length<=l.context){var x=/\n$/.test(n),w=/\n$/.test(i);0!=o.length||x?x&&w||d.push("\\ No newline at end of file"):d.splice(_.oldLines,0,"\\ No newline at end of file")}f.push(_),h=0,p=0,d=[]}g+=o.length,v+=o.length}},y=0;y-1}},function(t,e){"use strict";var n=/[|\\{}()[\]^$+*?.]/g;t.exports=function(t){if("string"!=typeof t)throw new TypeError("Expected a string");return t.replace(n,"\\$&")}},function(t,e,n){"use strict";var r,i,o,a,s,l,c,u=n(143),f=n(164),h=Function.prototype.apply,p=Function.prototype.call,d=Object.create,g=Object.defineProperty,v=Object.defineProperties,m=Object.prototype.hasOwnProperty,y={configurable:!0,enumerable:!1,writable:!0};r=function(t,e){var n;return f(e),m.call(this,"__ee__")?n=this.__ee__:(n=y.value=d(null),g(this,"__ee__",y),y.value=null),n[t]?"object"==typeof n[t]?n[t].push(e):n[t]=[n[t],e]:n[t]=e,this},i=function(t,e){var n,i;return f(e),i=this,r.call(this,t,n=function(){o.call(i,t,n),h.call(e,this,arguments)}),n.__eeOnceListener__=e,this},o=function(t,e){var n,r,i,o;if(f(e),!m.call(this,"__ee__"))return this;if(n=this.__ee__,!n[t])return this;if(r=n[t],"object"==typeof r)for(o=0;i=r[o];++o)i!==e&&i.__eeOnceListener__!==e||(2===r.length?n[t]=r[o?0:1]:r.splice(o,1));else r!==e&&r.__eeOnceListener__!==e||delete n[t];return this},a=function(t){var e,n,r,i,o;if(m.call(this,"__ee__")&&(i=this.__ee__[t]))if("object"==typeof i){for(n=arguments.length,o=new Array(n-1),e=1;e1)for(var n=1;n (GFM Style)",type:"boolean"},requireSpaceBeforeHeadingText:{defaultValue:!1,description:"Makes adding a space between `#` and the header text mandatory (GFM Style)",type:"boolean"},ghMentions:{defaultValue:!1,description:"Enables github @mentions",type:"boolean"},ghMentionsLink:{defaultValue:"https://github.com/{u}",description:"Changes the link generated by @mentions. Only applies if ghMentions option is enabled.",type:"string"},encodeEmails:{defaultValue:!0,description:"Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities",type:"boolean"}};if(t===!1)return JSON.parse(JSON.stringify(e));var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r].defaultValue);return n}function o(){"use strict";var t=i(!0),e={};for(var n in t)t.hasOwnProperty(n)&&(e[n]=!0);return e}function a(t,e){"use strict";var n=e?"Error in "+e+" extension->":"Error in unnamed extension",r={valid:!0,error:""};l.helper.isArray(t)||(t=[t]);for(var i=0;i-1,f=new RegExp(e+"|"+n,"g"+c.replace(/g/g,"")),h=new RegExp(e,c.replace(/g/g,"")),p=[];do for(i=0;a=f.exec(t);)if(h.test(a[0]))i++||(o=f.lastIndex,s=o-a[0].length);else if(i&&!--i){l=a.index+a[0].length;var d={left:{start:s,end:o},match:{start:o,end:a.index},right:{start:a.index,end:l},wholeMatch:{start:s,end:l}};if(p.push(d),!u)return p}while(i&&(f.lastIndex=o));return p};l.helper.matchRecursiveRegExp=function(t,e,n,r){"use strict";for(var i=d(t,e,n,r),o=[],a=0;a0){var u=[];0!==a[0].wholeMatch.start&&u.push(t.slice(0,a[0].wholeMatch.start));for(var f=0;f.9?e[2](t):n>.45?e[1](t):e[0](t)}return t})},"undefined"==typeof console&&(console={warn:function(t){"use strict";alert(t)},log:function(t){"use strict";alert(t)},error:function(t){"use strict";throw t}}),l.helper.regexes={asteriskAndDash:/([*_])/g},l.Converter=function(t){"use strict";function e(){t=t||{};for(var e in f)f.hasOwnProperty(e)&&(s[e]=f[e]);if("object"!=typeof t)throw Error("Converter expects the passed parameter to be an object, but "+typeof t+" was passed instead.");for(var r in t)t.hasOwnProperty(r)&&(s[r]=t[r]);s.extensions&&l.helper.forEach(s.extensions,n)}function n(t,e){if(e=e||null,l.helper.isString(t)){if(t=l.helper.stdExtName(t),e=t,l.extensions[t])return console.warn("DEPRECATION WARNING: "+t+" is an old extension that uses a deprecated loading method.Please inform the developer that the extension should be updated!"),void r(l.extensions[t],t);if(l.helper.isUndefined(u[t]))throw Error('Extension "'+t+'" could not be loaded. It was either not found or is not a valid extension.');t=u[t]}"function"==typeof t&&(t=t()),l.helper.isArray(t)||(t=[t]);var n=a(t,e);if(!n.valid)throw Error(n.error);for(var o=0;o-1))return t;h=""}else h=n.gUrls[f],l.helper.isUndefined(n.gTitles[f])||(p=n.gTitles[f]);h=h.replace(l.helper.regexes.asteriskAndDash,l.helper.escapeCharactersCallback);var d='"};return t=t.replace(/(\[((?:\[[^\]]*]|[^\[\]])*)][ ]?(?:\n[ ]*)?\[(.*?)])()()()()/g,r),t=t.replace(/(\[((?:\[[^\]]*]|[^\[\]])*)]\([ \t]*()?[ \t]*((['"])(.*?)\6[ \t]*)?\))/g,r),t=t.replace(/(\[([^\[\]]+)])()()()()()/g,r),e.ghMentions&&(t=t.replace(/(^|\s)(\\)?(@([a-z\d\-]+))(?=[.!?;,[\]()]|\s|$)/gim,function(t,n,r,i,o){if("\\"===r)return n+i;if(!l.helper.isString(e.ghMentionsLink))throw new Error("ghMentionsLink option must be a string");var a=e.ghMentionsLink.replace(/\{u}/g,o);return n+''+i+""})),t=n.converter._dispatch("anchors.after",t,e,n)}),l.subParser("autoLinks",function(t,e,n){"use strict";function r(t,n,r,i,o){var a=n,s="";return/^www\./i.test(n)&&(n=n.replace(/^www\./i,"http://www.")),e.excludeTrailingPunctuationFromURLs&&o&&(s=o),''+a+""+s}function i(t,r,i){var o="mailto:";return r=r||"",i=l.subParser("unescapeSpecialChars")(i,e,n),e.encodeEmails?(o=l.helper.encodeEmailAddress(o+i),i=l.helper.encodeEmailAddress(i)):o+=i,r+''+i+""}t=n.converter._dispatch("autoLinks.before",t,e,n);var o=/\b(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+)()(?=\s|$)(?!["<>])/gi,a=/\b(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?()]?)(?=\s|$)(?!["<>])/gi,s=/<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)>/gi,c=/(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-\/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gim,u=/<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi;return t=t.replace(s,r),t=t.replace(u,i),e.simplifiedAutoLink&&(t=e.excludeTrailingPunctuationFromURLs?t.replace(a,r):t.replace(o,r),t=t.replace(c,i)),t=n.converter._dispatch("autoLinks.after",t,e,n)}),l.subParser("blockGamut",function(t,e,n){"use strict";return t=n.converter._dispatch("blockGamut.before",t,e,n),t=l.subParser("blockQuotes")(t,e,n),t=l.subParser("headers")(t,e,n),t=l.subParser("horizontalRule")(t,e,n),t=l.subParser("lists")(t,e,n),t=l.subParser("codeBlocks")(t,e,n),t=l.subParser("tables")(t,e,n),t=l.subParser("hashHTMLBlocks")(t,e,n),t=l.subParser("paragraphs")(t,e,n),t=n.converter._dispatch("blockGamut.after",t,e,n)}),l.subParser("blockQuotes",function(t,e,n){"use strict";return t=n.converter._dispatch("blockQuotes.before",t,e,n),t=t.replace(/((^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+)/gm,function(t,r){var i=r;return i=i.replace(/^[ \t]*>[ \t]?/gm,"¨0"),i=i.replace(/¨0/g,""),i=i.replace(/^[ \t]+$/gm,""),i=l.subParser("githubCodeBlocks")(i,e,n),i=l.subParser("blockGamut")(i,e,n),i=i.replace(/(^|\n)/g,"$1 "),i=i.replace(/(\s*
    [^\r]+?<\/pre>)/gm,function(t,e){var n=e;return n=n.replace(/^  /gm,"¨0"),n=n.replace(/¨0/g,"")}),l.subParser("hashBlock")("
    \n"+i+"\n
    ",e,n)}),t=n.converter._dispatch("blockQuotes.after",t,e,n)}),l.subParser("codeBlocks",function(t,e,n){"use strict";t=n.converter._dispatch("codeBlocks.before",t,e,n),t+="¨0";var r=/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g;return t=t.replace(r,function(t,r,i){var o=r,a=i,s="\n";return o=l.subParser("outdent")(o,e,n),o=l.subParser("encodeCode")(o,e,n),o=l.subParser("detab")(o,e,n),o=o.replace(/^\n+/g,""),o=o.replace(/\n+$/g,""),e.omitExtraWLInCodeBlocks&&(s=""),o="
    "+o+s+"
    ",l.subParser("hashBlock")(o,e,n)+a}),t=t.replace(/¨0/,""),t=n.converter._dispatch("codeBlocks.after",t,e,n)}),l.subParser("codeSpans",function(t,e,n){"use strict";return t=n.converter._dispatch("codeSpans.before",t,e,n),"undefined"==typeof t&&(t=""),t=t.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,function(t,r,i,o){var a=o;return a=a.replace(/^([ \t]*)/g,""),a=a.replace(/[ \t]*$/g,""),a=l.subParser("encodeCode")(a,e,n),r+""+a+""}),t=n.converter._dispatch("codeSpans.after",t,e,n)}),l.subParser("detab",function(t,e,n){"use strict";return t=n.converter._dispatch("detab.before",t,e,n),t=t.replace(/\t(?=\t)/g," "),t=t.replace(/\t/g,"¨A¨B"),t=t.replace(/¨B(.+?)¨A/g,function(t,e){for(var n=e,r=4-n.length%4,i=0;i/g,">"),t=n.converter._dispatch("encodeAmpsAndAngles.after",t,e,n)}),l.subParser("encodeBackslashEscapes",function(t,e,n){"use strict";return t=n.converter._dispatch("encodeBackslashEscapes.before",t,e,n),t=t.replace(/\\(\\)/g,l.helper.escapeCharactersCallback),t=t.replace(/\\([`*_{}\[\]()>#+.!~=-])/g,l.helper.escapeCharactersCallback),t=n.converter._dispatch("encodeBackslashEscapes.after",t,e,n)}),l.subParser("encodeCode",function(t,e,n){"use strict";return t=n.converter._dispatch("encodeCode.before",t,e,n),t=t.replace(/&/g,"&").replace(//g,">").replace(/([*_{}\[\]\\=~-])/g,l.helper.escapeCharactersCallback),t=n.converter._dispatch("encodeCode.after",t,e,n)}),l.subParser("escapeSpecialCharsWithinTagAttributes",function(t,e,n){"use strict";t=n.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",t,e,n);var r=/(<[a-z\/!$]("[^"]*"|'[^']*'|[^'">])*>|)/gi;return t=t.replace(r,function(t){return t.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=])/g,l.helper.escapeCharactersCallback)}),t=n.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",t,e,n)}),l.subParser("githubCodeBlocks",function(t,e,n){"use strict";return e.ghCodeBlocks?(t=n.converter._dispatch("githubCodeBlocks.before",t,e,n),t+="¨0",t=t.replace(/(?:^|\n)```(.*)\n([\s\S]*?)\n```/g,function(t,r,i){var o=e.omitExtraWLInCodeBlocks?"":"\n";return i=l.subParser("encodeCode")(i,e,n),i=l.subParser("detab")(i,e,n),i=i.replace(/^\n+/g,""),i=i.replace(/\n+$/g,""),i="
    "+i+o+"
    ",i=l.subParser("hashBlock")(i,e,n),"\n\n¨G"+(n.ghCodeBlocks.push({text:t,codeblock:i})-1)+"G\n\n"}),t=t.replace(/¨0/,""),n.converter._dispatch("githubCodeBlocks.after",t,e,n)):t}),l.subParser("hashBlock",function(t,e,n){"use strict";return t=n.converter._dispatch("hashBlock.before",t,e,n),t=t.replace(/(^\n+|\n+$)/g,""),t="\n\n¨K"+(n.gHtmlBlocks.push(t)-1)+"K\n\n",t=n.converter._dispatch("hashBlock.after",t,e,n)}),l.subParser("hashCodeTags",function(t,e,n){"use strict";t=n.converter._dispatch("hashCodeTags.before",t,e,n);var r=function(t,r,i,o){var a=i+l.subParser("encodeCode")(r,e,n)+o;return"¨C"+(n.gHtmlSpans.push(a)-1)+"C"};return t=l.helper.replaceRecursiveRegExp(t,r,"]*>","","gim"),t=n.converter._dispatch("hashCodeTags.after",t,e,n)}),l.subParser("hashElement",function(t,e,n){"use strict";return function(t,e){var r=e;return r=r.replace(/\n\n/g,"\n"),r=r.replace(/^\n/,""),r=r.replace(/\n+$/g,""),r="\n\n¨K"+(n.gHtmlBlocks.push(r)-1)+"K\n\n"}}),l.subParser("hashHTMLBlocks",function(t,e,n){"use strict";t=n.converter._dispatch("hashHTMLBlocks.before",t,e,n);for(var r=["pre","div","h1","h2","h3","h4","h5","h6","blockquote","table","dl","ol","ul","script","noscript","form","fieldset","iframe","math","style","section","header","footer","nav","article","aside","address","audio","canvas","figure","hgroup","output","video","p"],i=function(t,e,r,i){var o=t;return r.search(/\bmarkdown\b/)!==-1&&(o=r+n.converter.makeHtml(e)+i),"\n\n¨K"+(n.gHtmlBlocks.push(o)-1)+"K\n\n"},o=0;o]*>","","gim");return t=t.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,l.subParser("hashElement")(t,e,n)),t=l.helper.replaceRecursiveRegExp(t,function(t){return"\n\n¨K"+(n.gHtmlBlocks.push(t)-1)+"K\n\n"},"^ {0,3}","gm"),t=t.replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,l.subParser("hashElement")(t,e,n)),t=n.converter._dispatch("hashHTMLBlocks.after",t,e,n)}),l.subParser("hashHTMLSpans",function(t,e,n){"use strict";function r(t){return"¨C"+(n.gHtmlSpans.push(t)-1)+"C"}return t=n.converter._dispatch("hashHTMLSpans.before",t,e,n),t=t.replace(/<[^>]+?\/>/gi,function(t){return r(t)}),t=t.replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,function(t){return r(t)}),t=t.replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,function(t){return r(t)}),t=t.replace(/<[^>]+?>/gi,function(t){return r(t)}),t=n.converter._dispatch("hashHTMLSpans.after",t,e,n)}),l.subParser("unhashHTMLSpans",function(t,e,n){"use strict";t=n.converter._dispatch("unhashHTMLSpans.before",t,e,n);for(var r=0;r]*>\\s*]*>","^ {0,3}\\s*
    ","gim"),t=n.converter._dispatch("hashPreCodeTags.after",t,e,n)}),l.subParser("headers",function(t,e,n){"use strict";function r(t){var r;return r=l.helper.isString(e.prefixHeaderId)?e.prefixHeaderId+t:e.prefixHeaderId===!0?"section "+t:t,r=o?r.replace(/ /g,"-").replace(/&/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():r.replace(/[^\w]/g,"").toLowerCase(),n.hashLinkCounts[r]?r=r+"-"+n.hashLinkCounts[r]++:n.hashLinkCounts[r]=1,r}t=n.converter._dispatch("headers.before",t,e,n);var i=isNaN(parseInt(e.headerLevelStart))?1:parseInt(e.headerLevelStart),o=e.ghCompatibleHeaderId,a=e.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,s=e.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;t=t.replace(a,function(t,o){var a=l.subParser("spanGamut")(o,e,n),s=e.noHeaderId?"":' id="'+r(o)+'"',c=i,u=""+a+"";return l.subParser("hashBlock")(u,e,n)}),t=t.replace(s,function(t,o){var a=l.subParser("spanGamut")(o,e,n),s=e.noHeaderId?"":' id="'+r(o)+'"',c=i+1,u=""+a+"";return l.subParser("hashBlock")(u,e,n)});var c=e.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm;return t=t.replace(c,function(t,o,a){var s=l.subParser("spanGamut")(a,e,n),c=e.noHeaderId?"":' id="'+r(a)+'"',u=i-1+o.length,f=""+s+"";return l.subParser("hashBlock")(f,e,n)}),t=n.converter._dispatch("headers.after",t,e,n)}),l.subParser("horizontalRule",function(t,e,n){"use strict";t=n.converter._dispatch("horizontalRule.before",t,e,n);var r=l.subParser("hashBlock")("
    ",e,n);return t=t.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,r),t=t.replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,r),t=t.replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,r),t=n.converter._dispatch("horizontalRule.after",t,e,n)}),l.subParser("images",function(t,e,n){"use strict";function r(t,e,r,i,o,a,s,c){var u=n.gUrls,f=n.gTitles,h=n.gDimensions;if(r=r.toLowerCase(),c||(c=""),""===i||null===i){if(""!==r&&null!==r||(r=e.toLowerCase().replace(/ ?\n/g," ")),i="#"+r,l.helper.isUndefined(u[r]))return t;i=u[r],l.helper.isUndefined(f[r])||(c=f[r]),l.helper.isUndefined(h[r])||(o=h[r].width,a=h[r].height)}e=e.replace(/"/g,""").replace(l.helper.regexes.asteriskAndDash,l.helper.escapeCharactersCallback),i=i.replace(l.helper.regexes.asteriskAndDash,l.helper.escapeCharactersCallback);var p=''+e+'?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(['"])(.*?)\6[ \t]*)?\)/g,o=/!\[([^\]]*?)] ?(?:\n *)?\[(.*?)]()()()()()/g;return t=t.replace(o,r),t=t.replace(i,r),t=n.converter._dispatch("images.after",t,e,n)}),l.subParser("italicsAndBold",function(t,e,n){"use strict";return t=n.converter._dispatch("italicsAndBold.before",t,e,n),e.literalMidWordUnderscores?(t=t.replace(/\b___(\S[\s\S]*)___\b/g,"$1"),t=t.replace(/\b__(\S[\s\S]*)__\b/g,"$1"),t=t.replace(/\b_(\S[\s\S]*?)_\b/g,"$1")):(t=t.replace(/___(\S[\s\S]*?)___/g,function(t,e){return/\S$/.test(e)?""+e+"":t}),t=t.replace(/__(\S[\s\S]*?)__/g,function(t,e){return/\S$/.test(e)?""+e+"":t}),t=t.replace(/_([^\s_][\s\S]*?)_/g,function(t,e){return/\S$/.test(e)?""+e+"":t})),t=t.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,function(t,e){return/\S$/.test(e)?""+e+"":t}),t=t.replace(/\*\*(\S[\s\S]*?)\*\*/g,function(t,e){return/\S$/.test(e)?""+e+"":t}),t=t.replace(/\*([^\s*][\s\S]*?)\*/g,function(t,e){return/\S$/.test(e)?""+e+"":t}),t=n.converter._dispatch("italicsAndBold.after",t,e,n)}),l.subParser("lists",function(t,e,n){"use strict";function r(t,r){n.gListLevel++,t=t.replace(/\n{2,}$/,"\n"),t+="¨0";var i=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm,o=/\n[ \t]*\n(?!¨0)/.test(t);return e.disableForced4SpacesIndentedSublists&&(i=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm),t=t.replace(i,function(t,r,i,a,s,c,u){u=u&&""!==u.trim();var f=l.subParser("outdent")(s,e,n),h="";return c&&e.tasklists&&(h=' class="task-list-item" style="list-style-type: none;"',f=f.replace(/^[ \t]*\[(x|X| )?]/m,function(){var t='-1?(f=l.subParser("githubCodeBlocks")(f,e,n),f=l.subParser("blockGamut")(f,e,n)):(f=l.subParser("lists")(f,e,n),f=f.replace(/\n$/,""),f=l.subParser("hashHTMLBlocks")(f,e,n),f=f.replace(/\n\n+/g,"\n\n"),f=f.replace(/\n\n/g,"¨B"),f=o?l.subParser("paragraphs")(f,e,n):l.subParser("spanGamut")(f,e,n),f=f.replace(/¨B/g,"\n\n")),f=f.replace("¨A",""),f=""+f+"\n"}),t=t.replace(/¨0/g,""),n.gListLevel--,r&&(t=t.replace(/\s+$/,"")),t}function i(t,n,i){var o=e.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,a=e.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,s="ul"===n?o:a,l="";return t.search(s)!==-1?!function t(e){var c=e.search(s);c!==-1?(l+="\n<"+n+">\n"+r(e.slice(0,c),!!i)+"\n",n="ul"===n?"ol":"ul",s="ul"===n?o:a,t(e.slice(c))):l+="\n<"+n+">\n"+r(e,!!i)+"\n"}(t):l="\n<"+n+">\n"+r(t,!!i)+"\n",l}return t=n.converter._dispatch("lists.before",t,e,n),t+="¨0",t=n.gListLevel?t.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(t,e,n){var r=n.search(/[*+-]/g)>-1?"ul":"ol";return i(e,r,!0)}):t.replace(/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(t,e,n,r){var o=r.search(/[*+-]/g)>-1?"ul":"ol";return i(n,o,!1)}),t=t.replace(/¨0/,""),t=n.converter._dispatch("lists.after",t,e,n)}),l.subParser("outdent",function(t,e,n){"use strict";return t=n.converter._dispatch("outdent.before",t,e,n),t=t.replace(/^(\t|[ ]{1,4})/gm,"¨0"),t=t.replace(/¨0/g,""),t=n.converter._dispatch("outdent.after",t,e,n)}),l.subParser("paragraphs",function(t,e,n){"use strict";t=n.converter._dispatch("paragraphs.before",t,e,n),t=t.replace(/^\n+/g,""),t=t.replace(/\n+$/g,"");for(var r=t.split(/\n{2,}/g),i=[],o=r.length,a=0;a=0?i.push(s):s.search(/\S/)>=0&&(s=l.subParser("spanGamut")(s,e,n),s=s.replace(/^([ \t]*)/g,"

    "),s+="

    ",i.push(s))}for(o=i.length,a=0;a]*>\s*]*>/.test(u)&&(f=!0)}i[a]=u}return t=i.join("\n"),t=t.replace(/^\n+/g,""),t=t.replace(/\n+$/g,""),n.converter._dispatch("paragraphs.after",t,e,n)}),l.subParser("runExtension",function(t,e,n,r){"use strict";if(t.filter)e=t.filter(e,r.converter,n);else if(t.regex){var i=t.regex;i instanceof RegExp||(i=new RegExp(i,"g")),e=e.replace(i,t.replace)}return e}),l.subParser("spanGamut",function(t,e,n){"use strict";return t=n.converter._dispatch("spanGamut.before",t,e,n),t=l.subParser("codeSpans")(t,e,n),t=l.subParser("escapeSpecialCharsWithinTagAttributes")(t,e,n),t=l.subParser("encodeBackslashEscapes")(t,e,n),t=l.subParser("images")(t,e,n),t=l.subParser("anchors")(t,e,n),t=l.subParser("autoLinks")(t,e,n),t=l.subParser("italicsAndBold")(t,e,n),t=l.subParser("strikethrough")(t,e,n),t=l.subParser("hashHTMLSpans")(t,e,n),t=l.subParser("encodeAmpsAndAngles")(t,e,n),t=e.simpleLineBreaks?t.replace(/\n/g,"
    \n"):t.replace(/ +\n/g,"
    \n"),t=n.converter._dispatch("spanGamut.after",t,e,n)}),l.subParser("strikethrough",function(t,e,n){"use strict";return e.strikethrough&&(t=n.converter._dispatch("strikethrough.before",t,e,n), +t=t.replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,"$1"),t=n.converter._dispatch("strikethrough.after",t,e,n)),t}),l.subParser("stripLinkDefinitions",function(t,e,n){"use strict";var r=/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=¨0))/gm;return t+="¨0",t=t.replace(r,function(t,r,i,o,a,s,c){return r=r.toLowerCase(),n.gUrls[r]=l.subParser("encodeAmpsAndAngles")(i,e,n),s?s+c:(c&&(n.gTitles[r]=c.replace(/"|'/g,""")),e.parseImgDimensions&&o&&a&&(n.gDimensions[r]={width:o,height:a}),"")}),t=t.replace(/¨0/,"")}),l.subParser("tables",function(t,e,n){"use strict";function r(t){return/^:[ \t]*--*$/.test(t)?' style="text-align:left;"':/^--*[ \t]*:[ \t]*$/.test(t)?' style="text-align:right;"':/^:[ \t]*--*[ \t]*:$/.test(t)?' style="text-align:center;"':""}function i(t,r){var i="";return t=t.trim(),e.tableHeaderId&&(i=' id="'+t.replace(/ /g,"_").toLowerCase()+'"'),t=l.subParser("spanGamut")(t,e,n),""+t+"\n"}function o(t,r){var i=l.subParser("spanGamut")(t,e,n);return""+i+"\n"}function a(t,e){for(var n="\n\n\n",r=t.length,i=0;i\n\n\n",i=0;i\n";for(var o=0;o\n"}return n+="\n
    \n"}if(!e.tables)return t;var s=/^ {0,3}\|?.+\|.+\n[ \t]{0,3}\|?[ \t]*:?[ \t]*(?:-|=){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:-|=){2,}[\s\S]+?(?:\n\n|¨0)/gm;return t=n.converter._dispatch("tables.before",t,e,n),t=t.replace(s,function(t){var e,n=t.split("\n");for(e=0;e0,expression:"tags.length > 0"}],ref:"items",refInFor:!0,staticClass:"tag-list-item",attrs:{label:e.tag_label,index:r,accuracy:e.accuracy,relevancy:e.relevancy,readonly:t.readonly}})})),t._v(" "),n("typeahead",{directives:[{name:"show",rawName:"v-show",value:!t.readonly,expression:"!readonly"}],ref:"typeahead",attrs:{placeholder:"Rechercher un mot-clé"}})],1)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("svg",{ref:"svg",attrs:{width:t.thumbnailWidth,height:t.thumbnailHeight}},[n("image",{attrs:{"xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0",y:"0",width:t.thumbnailWidth,height:t.thumbnailHeight,"xlink:href":t.image}}),t._v(" "),n("rect",{ref:"handler",staticClass:"move-handler",staticStyle:{fill:"black",opacity:"0.4"},attrs:{x:t.x,y:t.y,width:t.width,height:t.height}})])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.display,expression:"display"}],staticClass:"modal-mask diff-panel"},[n("p",{staticClass:"pull-right close-btn",on:{click:t.close}},[n("i",{staticClass:"fa fa-close"})]),t._v(" "),t._t("header"),t._v(" "),t._t("content"),t._v(" "),t._t("footer")],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.annotation&&t.isAuthenticated?n("button",{staticClass:"btn btn-xs pull-right",class:{"btn-primary":t.readonly,"btn-warning":!t.readonly},on:{click:function(e){t.readonly=!t.readonly}}},[t.readonly?n("i",{staticClass:"fa fa-edit"}):t._e(),t._v(" "),t.readonly?n("span",[t._v("Modifier")]):t._e(),t._v(" "),t.readonly?t._e():n("i",{staticClass:"fa fa-ban"}),t._v(" "),t.readonly?t._e():n("span",[t._v("Annuler")])]):t._e(),t._v(" "),t.annotation?t._e():n("div",{staticClass:"alert alert-warning text-center"},[t._v("\n Aucune annotation sélectionnée.\n ")]),t._v(" "),n("form",{attrs:{action:t.formAction,method:"post"}},[t._t("default"),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.fragment,expression:"fragment"}],attrs:{type:"hidden",name:"fragment"},domProps:{value:t._s(t.fragment)},on:{input:function(e){e.target.composing||(t.fragment=e.target.value)}}}),t._v(" "),t.annotation?n("div",{staticClass:"form-group form-group-sm"},[n("label",{staticClass:"small text-muted"},[t._v("Titre")]),t._v(" "),t.readonly?t._e():n("input",{directives:[{name:"model",rawName:"v-model",value:t.title,expression:"title"}],staticClass:"form-control",attrs:{type:"text",name:"title"},domProps:{value:t._s(t.title)},on:{input:function(e){e.target.composing||(t.title=e.target.value)}}}),t._v(" "),t.readonly?n("p",{class:{"text-muted":!t.title}},[t._v(t._s(t.title||"Pas de titre"))]):t._e()]):t._e(),t._v(" "),t.annotation?n("div",{staticClass:"form-group form-group-sm"},[n("label",{staticClass:"small text-muted"},[t._v("Description")]),t._v(" "),t.readonly?t._e():n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.description,expression:"description"}],staticClass:"form-control",attrs:{name:"description",placeholder:"Décrivez ce que vous voyez"},domProps:{value:t._s(t.description)},on:{input:function(e){e.target.composing||(t.description=e.target.value)}}}),t._v(" "),t.readonly?n("p",{class:{"text-muted":!t.description}},[t._v(t._s(t.description||"Pas de description"))]):t._e()]):t._e(),t._v(" "),t.annotation?n("div",{staticClass:"form-group form-group-sm"},[n("label",{staticClass:"small text-muted"},[t._v("Mots-clé")]),t._v(" "),n("tag-list",{ref:"taglist",attrs:{"original-tags":t.annotation.tags,readonly:t.readonly},on:{change:function(e){t.onTagsChange(e.tags)}}}),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.serializedTags,expression:"serializedTags"}],attrs:{type:"hidden",name:"tags"},domProps:{value:t._s(t.serializedTags)},on:{input:function(e){e.target.composing||(t.serializedTags=e.target.value)}}})],1):t._e(),t._v(" "),t.annotation&&!t.readonly?n("button",{staticClass:"btn btn-block btn-sm btn-primary",class:{disabled:!t.hasChanged},attrs:{type:"submit"}},[t._v("Enregistrer une nouvelle version")]):t._e()],2)])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("form",[n("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"alert","aria-label":"Close"},on:{click:t.close}},[n("span",{attrs:{"aria-hidden":"true"}},[t._v("×")])]),t._v(" "),n("div",{staticClass:"form-group",class:t.titleFormGroup,staticStyle:{clear:"both"}},[n("label",{staticClass:"control-label"},[t._v("Titre")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.title,expression:"title"}],staticClass:"form-control input-sm",attrs:{name:"title",type:"text",placeholder:"Donnez un titre court"},domProps:{value:t._s(t.title)},on:{input:function(e){e.target.composing||(t.title=e.target.value)}}})]),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{staticClass:"control-label"},[t._v("Description")]),t._v(" "),n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.description,expression:"description"}],staticClass:"form-control input-sm",attrs:{name:"description",placeholder:"Décrivez ce que vous voyez"},domProps:{value:t._s(t.description)},on:{input:function(e){e.target.composing||(t.description=e.target.value)}}})]),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{staticClass:"control-label"},[t._v("Mots-clé")]),t._v(" "),n("tag-list",{ref:"taglist",attrs:{"original-tags":t.originalTags}})],1),t._v(" "),n("button",{staticClass:"btn btn-block btn-sm btn-primary",on:{click:t.save}},[t._v("Valider")])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"zoomview-wrapper"},[t._m(0),t._v(" "),n("svg",{ref:"root-svg"},[n("image",{attrs:{id:"small-image",x:"0",y:"0","xmlns:xlink":"http://www.w3.org/1999/xlink","xlink:href":t.imageUrl,width:t.imageWidth,height:t.imageHeight}}),t._v(" "),n("rect",{directives:[{name:"show",rawName:"v-show",value:t.showHandler,expression:"showHandler"}],ref:"handler",staticStyle:{fill:"black",opacity:"0.4"},attrs:{id:"zoom-handler",x:"0",y:"0"}})]),t._v(" "),n("ul",{staticClass:"form-drawing-wrapper zoom-action-list list-inline"},[n("li",{staticClass:"small showPointer",on:{click:t.incraseDrawingZoom}},[n("i",{staticClass:"fa fa-search-plus"})]),t._v(" "),n("li",{staticClass:"small showPointer",on:{click:t.resetDrawingZoom}},[n("i",{staticClass:"fa fa-square"})]),t._v(" "),n("li",{staticClass:"small showPointer",on:{click:t.decreaseDrawingZoom}},[n("i",{staticClass:"fa fa-search-minus"})])])])},staticRenderFns:[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("p",{staticClass:"form-drawing pullright"},[n("strong",[t._v("Zoom")])])}]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("g",{ref:"g",attrs:{transform:t.transform}},[n("rect",{ref:"shape",staticClass:"shape",class:{"shape--draggable":!t.readonly},attrs:{x:"0",y:"0",width:t.width,height:t.height,"stroke-width":t.handlerSize/5,"stroke-dasharray":t.handlerSize/5+","+t.handlerSize/5}}),t._v(" "),n("rect",{directives:[{name:"show",rawName:"v-show",value:t.showResizeHandlers,expression:"showResizeHandlers"}],ref:"topLeft",staticClass:"handler-rect handler-top-left",attrs:{x:t.handlerSize/2*-1,y:t.handlerSize/2*-1,width:t.handlerSize,height:t.handlerSize,fill:"#ffffff",stroke:"#000000","stroke-width":t.handlerSize/5}}),t._v(" "),n("rect",{directives:[{name:"show",rawName:"v-show",value:t.showResizeHandlers,expression:"showResizeHandlers"}],ref:"bottomRight",staticClass:"handler-rect handler-bottom-right",attrs:{x:t.width-t.handlerSize/2,y:t.height-t.handlerSize/2,width:t.handlerSize,height:t.handlerSize,fill:"#ffffff",stroke:"#000000","stroke-width":t.handlerSize/5}})])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.annotation,expression:"annotation"}]},[n("label",{staticClass:"small text-muted"},[t._v("Commentaires")]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:0===t.comments.length,expression:"comments.length === 0"}],staticClass:"alert alert-info"},[t._v("Pas de commentaire pour le moment.")]),t._v(" "),t._l(t.comments,function(t){return n("comment",{attrs:{comment:t.comment,username:t.user_name,date:t.submit_date}})})],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"btn-group",attrs:{"data-toggle":"buttons"}},t._l(5,function(e){return n("label",{ref:"buttons",refInFor:!0,staticClass:"btn btn-default",class:{"btn--highlight":t.value&&e<=t.value},attrs:{"data-value":e},on:{mouseenter:t.onMouseEnter,mouseleave:t.onMouseLeave,click:t.onClick}},[n("input",{attrs:{type:"radio",name:"options",autocomplete:"off"}}),t._v(" "),n("span",{staticClass:"sr-only"},[t._v(t._s(e))])])}))])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.query,expression:"query"}],staticClass:"form-control input-sm",attrs:{type:"text",disabled:t.readonly,placeholder:t.placeholder,autocomplete:"off"},domProps:{value:t._s(t.query)},on:{keydown:[function(e){t._k(e.keyCode,"down",40)||t.down(e)},function(e){t._k(e.keyCode,"up",38)||t.up(e)},function(e){t._k(e.keyCode,"enter",13)||t.hit(e)},function(e){t._k(e.keyCode,"esc",27)||t.reset(e)}],blur:t.reset,input:[function(e){e.target.composing||(t.query=e.target.value)},t.update]}}),t._v(" "),n("ul",{directives:[{name:"show",rawName:"v-show",value:t.hasItems,expression:"hasItems"}]},t._l(t.items,function(e,r){return n("li",{class:t.activeClass(r),on:{mousedown:t.hit,mousemove:function(e){t.setActive(r)}}},[n("span",{staticClass:"tag-label",domProps:{textContent:t._s(e.tag_label)}}),t._v(" "),e.tag_link.startsWith("http")?t._e():n("span",{staticClass:"pull-right text-muted"},[t._v("créer")])])}))])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tag-container"},[n("div",{staticClass:"tag-item",on:{click:t.toggle}},[n("span",{staticClass:"tag-title"},[t._v(t._s(t.label))]),t._v(" "),n("div",{staticClass:"tag-item-buttons"},[n("div",{staticClass:"tag-item-btn tag-item-accuracy",attrs:{"data-value":t.accuracy}},[n("button",{staticClass:"btn btn-default",attrs:{title:t.accuracyTitle}},[t._v(t._s(t.accuracy||"?"))]),t._v(" "),0===t.index?n("i",{staticClass:"fa fa-exclamation-triangle text-muted",attrs:{"aria-hidden":"true",title:"Fiabilité"}}):t._e()]),t._v(" "),n("div",{staticClass:"tag-item-btn tag-item-relevancy",attrs:{"data-value":t.relevancy}},[n("button",{staticClass:"btn btn-default",attrs:{title:t.relevancyTitle}},[t._v(t._s(t.relevancy||"?"))]),t._v(" "),0===t.index?n("i",{staticClass:"fa fa-crosshairs text-muted",attrs:{"aria-hidden":"true",title:"Pertinence"}}):t._e()]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:!t.readonly,expression:"!readonly"}],staticClass:"tag-item-btn tag-item-delete"},[n("button",{staticClass:"btn btn-default",on:{click:t.remove}},[n("i",{staticClass:"fa fa-times",attrs:{"aria-hidden":"true"}})])])])]),t._v(" "),n("div",{staticClass:"collapse"},[n("div",{staticClass:"tag-item-form"},[n("div",[n("label",{staticClass:"small"},[t._v("Fiabilité")]),t._v(" "),n("small",[t._v("Êtes-vous sûr de votre mot-clé ?")]),t._v(" "),n("color-buttons",{ref:"accuracy",attrs:{"original-value":t.accuracy},on:{change:function(e){t.onChange("accuracy",e.value)}}})],1),t._v(" "),n("div",[n("label",{staticClass:"small"},[t._v("Pertinence")]),t._v(" "),n("small",[t._v("Votre mot-clé est-il indispensable à la compréhension ?")]),t._v(" "),n("color-buttons",{ref:"relevancy",attrs:{"original-value":t.relevancy},on:{change:function(e){t.onChange("relevancy",e.value)}}})],1)])])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"diff-viewer-wrapper col-md-12"},[n("modalpanel",{ref:"panel"},[n("h5",{slot:"header"},[t._v("Comparer les deux versions:")]),t._v(" "),n("div",{slot:"content"},[n("div",{ref:"modalcontent"},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.fragmentMode,expression:"fragmentMode"}]},[n("svg",[n("image",{attrs:{"xmlns:xlink":"http://www.w3.org/1999/xlink",href:t.imagePath,x:"0",y:"0",width:t.imageWidth,height:t.imageHeight}}),t._v(" "),n("g",{attrs:{transform:t.matrixTransform}},[n("path",{attrs:{d:t.originalPath,fill:"red",stroke:"blue",opacity:"0.3"}}),t._v(" "),n("path",{attrs:{d:t.modifiedPath,fill:"blue",stroke:"red",opacity:"0.3"}})])])]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.textMode,expression:"textMode"}]},[n("div",{domProps:{innerHTML:t._s(t.diffText)}})]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.tagMode,expression:"tagMode"}]},[n("ul",t._l(t.tags,function(e,r){return n("li",[e.action?t._e():[n("li",[n("span",[t._v(t._s(e.tag_label))]),t._v(" | précision : "+t._s(e.accuracy)+" \n\t\t\t\t\t\t\t\t\t- \n\t\t\t\t\t\t\t\t\tpertinence : "+t._s(e.relevancy)+"\n\t\t\t\t\t\t\t\t")])],t._v(" "),"replace"==e.action?[n("del",[t._v("--")]),t._v(" "),n("del",[t._v(t._s(e.tag_label))]),t._v(" a été remplacé par\n\t\t\t\t\t\t\t\t"),n("ins",[t._v("++")]),t._v(" "),n("strong",[n("ins",[t._v(t._s(e.new_label))])]),t._v(" \n\t\t\t\t\t\t\t\tfiabilité : "),n("ins",[t._v(t._s(e.new_accuracy))]),t._v(" - \n\t\t\t\t\t\t\t\tpertinence: "),n("ins",[t._v(t._s(e.new_relevancy))])]:t._e(),t._v(" "),"add"==e.action?[n("li",[n("ins",[t._v("++")]),t._v(" "),n("ins",[t._v(t._s(e.tag_label))]),t._v("\n\t\t\t\t\t\t\t\t\tfiabilité : "),n("ins",[t._v(t._s(e.accuracy))]),t._v(" - \n\t\t\t\t\t\t\t\t\tpertinence : "),n("ins",[t._v(t._s(e.relevancy))])])]:t._e(),t._v(" "),"del"==e.action?[n("li",[n("del",[t._v("--")]),t._v(" "),n("del",[t._v(t._s(e.tag_label))]),t._v(" a été effacé")])]:t._e(),t._v(" "),"update"==e.action?[n("li",[n("strong",[t._v(t._s(e.tag_label))]),t._v(" "),e.accuracy!=e.new_accuracy?[t._v("\n\t\t\t\t\t\t\t\t\t\tfiabilité: "),n("del",[t._v(t._s(e.accuracy))]),t._v(" "),n("ins",[t._v(t._s(e.new_accuracy))]),t._v(" -\t\n\t\t\t\t\t\t\t\t\t")]:t._e(),t._v(" "),e.accuracy==e.new_accuracy?[t._v("\n\t\t\t\t\t\t\t\t\t\tfiabilité: "+t._s(e.accuracy)+" -\n\t\t\t\t\t\t\t\t\t")]:t._e(),t._v(" "),e.relevancy!=e.new_relevancy?[t._v("\n\t\t\t\t\t\t\t\t\t\tpertinence: "),n("del",[t._v(t._s(e.relevancy))]),t._v(" "),n("ins",[t._v(t._s(e.new_relevancy))])]:t._e(),t._v(" "),e.relevancy==e.new_relevancy?[t._v("\n\t\t\t\t\t\t\t\t\t\tpertinence: "+t._s(e.relevancy)+"\t\n\t\t\t\t\t\t\t\t\t")]:t._e()],2)]:t._e()],2)}))])])])])],1)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"comment"},[n("div",{staticClass:"comment-body",domProps:{innerHTML:t._s(t.commentFormatted)}}),t._v(" "),n("div",{staticClass:"comment-footer"},[n("span",{staticClass:"comment-author"},[t._v(t._s(t.username))]),t._v(" "),n("span",{staticClass:"comment-date"},[t._v(t._s(t.dateFormatted))])])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("taglist",{ref:"taglist"}),t._v(" "),n("input",{directives:[{name:"show",rawName:"v-show",value:!t.readOnly,expression:"!readOnly"},{name:"model",rawName:"v-model",value:t.query,expression:"query"}],staticClass:"form-control",attrs:{type:"text",placeholder:t.placeholder,autocomplete:"off"},domProps:{value:t._s(t.query)},on:{keyup:[function(e){8===e.keyCode&&t.checkQuery(e)},t.update],keydown:[function(e){t._k(e.keyCode,"down",40)||t.down(e)},function(e){t._k(e.keyCode,"up",38)||t.up(e)},function(e){t._k(e.keyCode,"enter",13)||t.hit(e)},function(e){t._k(e.keyCode,"esc",27)||t.reset(e)}],input:function(e){e.target.composing||(t.query=e.target.value)}}}),t._v(" "),n("a",{directives:[{name:"show",rawName:"v-show",value:t.showAddButton,expression:"showAddButton"}],on:{click:t.addTag}},[n("i",{staticClass:"fa fa-plus"}),t._v(" Créer ce tag")]),t._v(" "),n("ul",{directives:[{name:"show",rawName:"v-show",value:t.hasItems||!t.readOnly,expression:"hasItems || !readOnly"}]},t._l(t.items,function(e,r){return n("li",{class:t.activeClass(r),on:{mousedown:t.hit,mousemove:function(e){t.setActive(r)}}},[n("span",{domProps:{textContent:t._s(e.tag_label)}})])})),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.selectedTags,expression:"selectedTags"}],attrs:{name:"tags",type:"hidden"},domProps:{value:t._s(t.selectedTags)},on:{input:function(e){e.target.composing||(t.selectedTags=e.target.value)}}})],1)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("g",[n("path",{ref:"path",staticStyle:{opacity:"0.6"},attrs:{d:t.path,stroke:"#000000",fill:"#bdc3c7","stroke-width":t.handlerRadius/2,"stroke-dasharray":t.handlerRadius/3+","+t.handlerRadius/3}}),t._v(" "),t._l(t.points,function(e,r){return n("circle",{directives:[{name:"show",rawName:"v-show",value:!t.readonly,expression:"!readonly"}],key:r,ref:"handlers",refInFor:!0,class:{handler:!0,"handler--first":0===r&&!t.closed},attrs:{"data-key":r,cx:e.x,cy:e.y,r:t.handlerRadius,"stroke-width":t.handlerRadius/2}})})],2)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("ul",{directives:[{name:"show",rawName:"v-show",value:!t.readOnly,expression:"!readOnly"}],staticClass:"tags-wrapper list-unstyled"},t._l(t.tags,function(e,r){return n("li",{ref:e.id,refInFor:!0,staticClass:"tag-item"},[n("i",{staticClass:"fa fa-tag"}),t._v(" "),n("strong",[n("span",{domProps:{textContent:t._s(e.tag_label)}})]),t._v("\n\n\t\t\tFiabilité: \t"),n("select",{on:{change:function(n){t.updateAccuracy(n,e)}}},t._l([1,2,3,4,5],function(r,i){return n("option",{domProps:{selected:e.accuracy==r,value:r}},[t._v(t._s(r))])})),t._v("\n\n\t\t\tPertinence: "),n("select",{on:{change:function(n){t.updatePertinence(n,e)}}},t._l([1,2,3,4,5],function(r,i){return n("option",{domProps:{selected:e.relevancy==r,value:r}},[t._v(t._s(r))])})),t._v(" "),n("a",{on:{click:function(n){t.removeTag(e)}}},[n("i",{staticClass:"fa fa-trash"})])])})),t._v(" "),n("ul",{directives:[{name:"show",rawName:"v-show",value:t.readOnly,expression:"readOnly"}],staticClass:"list-inline"},t._l(t.tags,function(e,r){return n("li",[n("i",{staticClass:"fa fa-tag"}),t._v(" "),n("span",{staticClass:"label label-info"},[t._v(t._s(e.tag_label))]),t._v("\n\t\t\t | fiabilité "),n("span",{staticClass:"badge"},[t._v(t._s(e.accuracy))]),t._v("\n\t\t\t | pertinence "),n("span",{staticClass:"badge"},[t._v(t._s(e.relevancy))])])}))])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"zoom"},[n("div",[n("svg",{ref:"svg",staticClass:"cut-canvas",class:t.canvasClass,attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[t.loaded?n("image",{ref:"image",attrs:{"xmlns:xlink":"http://www.w3.org/1999/xlink","xlink:href":t.image,x:"0",y:"0",width:t.imageWidth,height:t.imageHeight}}):t._e(),t._v(" "),n("shape-rect",{directives:[{name:"show",rawName:"v-show",value:t.loaded&&"rect"==t.mode,expression:"loaded && mode == 'rect'"}],ref:"rect",attrs:{paper:t.paper,"original-annotation":t.annotation,readonly:t.readonly}}),t._v(" "),n("shape-free",{directives:[{name:"show",rawName:"v-show",value:t.loaded&&"free"==t.mode,expression:"loaded && mode == 'free'"}],ref:"free",attrs:{paper:t.paper,"original-annotation":t.annotation,readonly:t.readonly}})],1)]),t._v(" "),n("div",{staticClass:"zoomer"}),t._v(" "),n("div",{staticClass:"controls"},[n("div",{staticClass:"controls-left"},[n("button",{staticClass:"btn",class:{active:"rect"===t.mode,disabled:t.readonly},attrs:{type:"button"},on:{click:function(e){t.setMode("rect")}}},[n("svg",{attrs:{width:"14",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",version:"1.1",x:"0px",y:"0px",viewBox:"0 0 512 512","enable-background":"new 0 0 512 512","xml:space":"preserve"}},[n("g",[n("rect",{attrs:{x:"352",y:"432",width:"64",height:"48"}}),n("polygon",{attrs:{points:"416,352 416,96 176,96 176,160 352,160 352,352 160,352 160,32 96,32 96,96 32,96 32,160 96,160 96,416 480,416 480,352"}})]),n("text",{attrs:{x:"0",y:"527",fill:"#000000","font-size":"5px","font-weight":"bold","font-family":"'Helvetica Neue', Helvetica, Arial-Unicode, Arial, Sans-serif"}},[t._v("Created by Bluetip Design")]),n("text",{attrs:{x:"0",y:"532",fill:"#000000","font-size":"5px","font-weight":"bold","font-family":"'Helvetica Neue', Helvetica, Arial-Unicode, Arial, Sans-serif"}},[t._v("from the Noun Project")])])]),t._v(" "),n("button",{staticClass:"btn",class:{active:"free"===t.mode,disabled:t.readonly},attrs:{type:"button"},on:{click:function(e){t.setMode("free")}}},[n("svg",{attrs:{width:"14",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",version:"1.1",x:"0px",y:"0px",viewBox:"0 0 30 30","xml:space":"preserve"}},[n("g",{attrs:{transform:"translate(-450 -380)"}},[n("g",{attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[n("path",{attrs:{d:"M453,395c0,2.209,1.79,4,4,4c1.307,0,2.455-0.635,3.186-1.604l7.121,4.069C467.11,401.938,467,402.456,467,403 c0,2.209,1.79,4,4,4c2.209,0,4-1.791,4-4s-1.791-4-4-4c-1.307,0-2.455,0.635-3.186,1.604l-7.121-4.069 c0.196-0.473,0.307-0.99,0.307-1.534s-0.11-1.062-0.307-1.534l7.121-4.069c0.73,0.969,1.879,1.604,3.186,1.604 c2.209,0,4-1.791,4-4s-1.791-4-4-4c-2.21,0-4,1.791-4,4c0,0.544,0.11,1.062,0.307,1.534l-7.121,4.069 c-0.73-0.969-1.879-1.604-3.186-1.604C454.79,391,453,392.791,453,395z M471,400c1.654,0,3,1.346,3,3s-1.346,3-3,3s-3-1.346-3-3 S469.346,400,471,400z M471,384c1.654,0,3,1.346,3,3s-1.346,3-3,3s-3-1.346-3-3S469.346,384,471,384z M460,395 c0,1.654-1.346,3-3,3s-3-1.346-3-3s1.346-3,3-3S460,393.346,460,395z"}})])]),n("text",{attrs:{x:"0",y:"45",fill:"#000000","font-size":"5px","font-weight":"bold","font-family":"'Helvetica Neue', Helvetica, Arial-Unicode, Arial, Sans-serif"}},[t._v("Created by Hea Poh Lin")]),n("text",{attrs:{x:"0",y:"50",fill:"#000000","font-size":"5px","font-weight":"bold","font-family":"'Helvetica Neue', Helvetica, Arial-Unicode, Arial, Sans-serif"}},[t._v("from the Noun Project")])])])]),t._v(" "),n("zoom-thumbnail",{ref:"thumbnail",staticClass:"controls-center",attrs:{image:t.thumbnail,viewport:t.viewport,viewBox:t.viewBox,imageWidth:t.imageWidth,imageHeight:t.imageHeight},on:{change:function(e){t.changeViewBox(e)},dragstart:t.hideTooltip,dragend:t.showTooltip}}),t._v(" "),n("div",{staticClass:"controls-right"},[n("button",{staticClass:"btn",class:{disabled:1===t.scale},attrs:{type:"button"},on:{click:t.zoomOut}},[n("i",{staticClass:"fa fa-minus",attrs:{"aria-hidden":"true"}})]),t._v(" "),n("button",{staticClass:"btn",class:{disabled:t.scale>=1.9},attrs:{type:"button"},on:{click:t.zoomIn}},[n("i",{staticClass:"fa fa-plus",attrs:{"aria-hidden":"true"}})])])],1)])},staticRenderFns:[]}},function(t,e){/*! * vue-resource v0.9.3 * https://github.com/vuejs/vue-resource * Released under the MIT License. */ -"use strict";function n(t){this.state=et,this.value=void 0,this.deferred=[];var e=this;try{t(function(t){e.resolve(t)},function(t){e.reject(t)})}catch(t){e.reject(t)}}function r(t,e){t instanceof rt?this.promise=t:this.promise=new rt(t.bind(e)),this.context=e}function i(t){at=t.util,ot=t.config.debug||!t.config.silent}function o(t){"undefined"!=typeof console&&ot&&console.warn("[VueResource warn]: "+t)}function a(t){"undefined"!=typeof console&&console.error(t)}function s(t,e){return at.nextTick(t,e)}function l(t){return t.replace(/^\s*|\s*$/g,"")}function c(t){return"string"==typeof t}function f(t){return t===!0||t===!1}function u(t){return"function"==typeof t}function h(t){return null!==t&&"object"==typeof t}function p(t){return h(t)&&Object.getPrototypeOf(t)==Object.prototype}function d(t){return"undefined"!=typeof FormData&&t instanceof FormData}function g(t,e,n){var i=r.resolve(t);return arguments.length<2?i:i.then(e,n)}function v(t,e,n){return n=n||{},u(n)&&(n=n.call(e)),y(t.bind({$vm:e,$options:n}),t,{$options:n})}function m(t,e){var n,r;if("number"==typeof t.length)for(n=0;n=200&&o<300}return t.prototype.text=function(){return this.body},t.prototype.blob=function(){return new Blob([this.body])},t.prototype.json=function(){return JSON.parse(this.body)},t}(),vt=function(){function t(e){dt(this,t),this.method="GET",this.body=null,this.params={},this.headers={},ct(this,e)}return t.prototype.getUrl=function(){return E(this)},t.prototype.getBody=function(){return this.body},t.prototype.respondWith=function(t,e){return new gt(t,ct(e||{},{url:this.getUrl()}))},t}(),mt={"X-Requested-With":"XMLHttpRequest"},yt={Accept:"application/json, text/plain, */*"},bt={"Content-Type":"application/json;charset=utf-8"};G.options={},G.headers={put:bt,post:bt,patch:bt,delete:bt,custom:mt,common:yt},G.interceptors=[L,H,q,D,I,V,R],["get","delete","head","jsonp"].forEach(function(t){G[t]=function(e,n){return this(ct(n||{},{url:e,method:t}))}}),["post","put","patch"].forEach(function(t){G[t]=function(e,n,r){return this(ct(r||{},{url:e,method:t,body:n}))}}),X.actions={get:{method:"GET"},save:{method:"POST"},query:{method:"GET"},update:{method:"PUT"},remove:{method:"DELETE"},delete:{method:"DELETE"}},"undefined"!=typeof window&&window.Vue&&window.Vue.use(K),t.exports=K},function(t,e,n){var r=n(129);"string"==typeof r&&(r=[[t.id,r,""]]);n(3)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){var r=n(130);"string"==typeof r&&(r=[[t.id,r,""]]);n(3)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){var r=n(131);"string"==typeof r&&(r=[[t.id,r,""]]);n(3)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){var r=n(132);"string"==typeof r&&(r=[[t.id,r,""]]);n(3)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){var r=n(133);"string"==typeof r&&(r=[[t.id,r,""]]);n(3)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){var r=n(134);"string"==typeof r&&(r=[[t.id,r,""]]);n(3)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){var r=n(135);"string"==typeof r&&(r=[[t.id,r,""]]);n(3)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){var r=n(136);"string"==typeof r&&(r=[[t.id,r,""]]);n(3)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){var r=n(137);"string"==typeof r&&(r=[[t.id,r,""]]);n(3)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){var r=n(138);"string"==typeof r&&(r=[[t.id,r,""]]);n(3)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){var r=n(139);"string"==typeof r&&(r=[[t.id,r,""]]);n(3)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){var r=n(140);"string"==typeof r&&(r=[[t.id,r,""]]);n(3)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){var r=n(141);"string"==typeof r&&(r=[[t.id,r,""]]);n(3)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){var r=n(142);"string"==typeof r&&(r=[[t.id,r,""]]);n(3)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){(function(e){/*! +"use strict";function n(t){this.state=et,this.value=void 0,this.deferred=[];var e=this;try{t(function(t){e.resolve(t)},function(t){e.reject(t)})}catch(t){e.reject(t)}}function r(t,e){t instanceof rt?this.promise=t:this.promise=new rt(t.bind(e)),this.context=e}function i(t){at=t.util,ot=t.config.debug||!t.config.silent}function o(t){"undefined"!=typeof console&&ot&&console.warn("[VueResource warn]: "+t)}function a(t){"undefined"!=typeof console&&console.error(t)}function s(t,e){return at.nextTick(t,e)}function l(t){return t.replace(/^\s*|\s*$/g,"")}function c(t){return"string"==typeof t}function u(t){return t===!0||t===!1}function f(t){return"function"==typeof t}function h(t){return null!==t&&"object"==typeof t}function p(t){return h(t)&&Object.getPrototypeOf(t)==Object.prototype}function d(t){return"undefined"!=typeof FormData&&t instanceof FormData}function g(t,e,n){var i=r.resolve(t);return arguments.length<2?i:i.then(e,n)}function v(t,e,n){return n=n||{},f(n)&&(n=n.call(e)),y(t.bind({$vm:e,$options:n}),t,{$options:n})}function m(t,e){var n,r;if("number"==typeof t.length)for(n=0;n=200&&o<300}return t.prototype.text=function(){return this.body},t.prototype.blob=function(){return new Blob([this.body])},t.prototype.json=function(){return JSON.parse(this.body)},t}(),vt=function(){function t(e){dt(this,t),this.method="GET",this.body=null,this.params={},this.headers={},ct(this,e)}return t.prototype.getUrl=function(){return E(this)},t.prototype.getBody=function(){return this.body},t.prototype.respondWith=function(t,e){return new gt(t,ct(e||{},{url:this.getUrl()}))},t}(),mt={"X-Requested-With":"XMLHttpRequest"},yt={Accept:"application/json, text/plain, */*"},bt={"Content-Type":"application/json;charset=utf-8"};J.options={},J.headers={put:bt,post:bt,patch:bt,delete:bt,custom:mt,common:yt},J.interceptors=[L,H,q,D,z,V,R],["get","delete","head","jsonp"].forEach(function(t){J[t]=function(e,n){return this(ct(n||{},{url:e,method:t}))}}),["post","put","patch"].forEach(function(t){J[t]=function(e,n,r){return this(ct(r||{},{url:e,method:t,body:n}))}}),X.actions={get:{method:"GET"},save:{method:"POST"},query:{method:"GET"},update:{method:"PUT"},remove:{method:"DELETE"},delete:{method:"DELETE"}},"undefined"!=typeof window&&window.Vue&&window.Vue.use(K),t.exports=K},function(t,e,n){var r=n(129);"string"==typeof r&&(r=[[t.id,r,""]]);n(3)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){var r=n(130);"string"==typeof r&&(r=[[t.id,r,""]]);n(3)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){var r=n(131);"string"==typeof r&&(r=[[t.id,r,""]]);n(3)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){var r=n(132);"string"==typeof r&&(r=[[t.id,r,""]]);n(3)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){var r=n(133);"string"==typeof r&&(r=[[t.id,r,""]]);n(3)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){var r=n(134);"string"==typeof r&&(r=[[t.id,r,""]]);n(3)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){var r=n(135);"string"==typeof r&&(r=[[t.id,r,""]]);n(3)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){var r=n(136);"string"==typeof r&&(r=[[t.id,r,""]]);n(3)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){var r=n(137);"string"==typeof r&&(r=[[t.id,r,""]]);n(3)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){var r=n(138);"string"==typeof r&&(r=[[t.id,r,""]]);n(3)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){var r=n(139);"string"==typeof r&&(r=[[t.id,r,""]]);n(3)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){var r=n(140);"string"==typeof r&&(r=[[t.id,r,""]]);n(3)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){var r=n(141);"string"==typeof r&&(r=[[t.id,r,""]]);n(3)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){var r=n(142);"string"==typeof r&&(r=[[t.id,r,""]]);n(3)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){(function(e){/*! * Vue.js v1.0.28 * (c) 2016 Evan You * Released under the MIT License. */ -"use strict";function n(t,e,r){if(i(t,e))return void(t[e]=r);if(t._isVue)return void n(t._data,e,r);var o=t.__ob__;if(!o)return void(t[e]=r);if(o.convert(e,r),o.dep.notify(),o.vms)for(var a=o.vms.length;a--;){var s=o.vms[a];s._proxy(e),s._digest()}return r}function r(t,e){if(i(t,e)){delete t[e];var n=t.__ob__;if(!n)return void(t._isVue&&(delete t._data[e],t._digest()));if(n.dep.notify(),n.vms)for(var r=n.vms.length;r--;){var o=n.vms[r];o._unproxy(e),o._digest()}}}function i(t,e){return Vn.call(t,e)}function o(t){return Hn.test(t)}function a(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function s(t){return null==t?"":t.toString()}function l(t){if("string"!=typeof t)return t;var e=Number(t);return isNaN(e)?t:e}function c(t){return"true"===t||"false"!==t&&t}function f(t){var e=t.charCodeAt(0),n=t.charCodeAt(t.length-1);return e!==n||34!==e&&39!==e?t:t.slice(1,-1)}function u(t){return t.replace(Un,h)}function h(t,e){return e?e.toUpperCase():""}function p(t){return t.replace(Wn,"$1-$2").replace(Wn,"$1-$2").toLowerCase()}function d(t){return t.replace(Zn,h)}function g(t,e){return function(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}}function v(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function m(t,e){for(var n=Object.keys(e),r=n.length;r--;)t[n[r]]=e[n[r]];return t}function y(t){return null!==t&&"object"==typeof t}function b(t){return Jn.call(t)===Gn}function _(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function x(t,e){var n,r,i,o,a,s=function s(){var l=Date.now()-o;l=0?n=setTimeout(s,e-l):(n=null,a=t.apply(i,r),n||(i=r=null))};return function(){return i=this,r=arguments,o=Date.now(),n||(n=setTimeout(s,e)),a}}function w(t,e){for(var n=t.length;n--;)if(t[n]===e)return n;return-1}function k(t){var e=function e(){if(!e.cancelled)return t.apply(this,arguments)};return e.cancel=function(){e.cancelled=!0},e}function C(t,e){return t==e||!(!y(t)||!y(e))&&JSON.stringify(t)===JSON.stringify(e)}function T(t){return/native code/.test(t.toString())}function j(t){this.size=0,this.limit=t,this.head=this.tail=void 0,this._keymap=Object.create(null)}function $(){return dr.charCodeAt(mr+1)}function A(){return dr.charCodeAt(++mr)}function S(){return mr>=vr}function O(){for(;$()===Or;)A()}function M(t){return t===jr||t===$r}function E(t){return Mr[t]}function P(t,e){return Er[t]===e}function N(){for(var t,e=A();!S();)if(t=A(),t===Sr)A();else if(t===e)break}function F(t){for(var e=0,n=t;!S();)if(t=$(),M(t))N();else if(n===t&&e++,P(n,t)&&e--,A(),0===e)break}function R(){for(var t=mr;!S();)if(yr=$(),M(yr))N();else if(E(yr))F(yr);else if(yr===Ar){if(A(),yr=$(),yr!==Ar){br!==wr&&br!==Tr||(br=kr);break}A()}else{if(yr===Or&&(br===Cr||br===Tr)){O();break}br===kr&&(br=Cr),A()}return dr.slice(t+1,mr)||null}function B(){for(var t=[];!S();)t.push(D());return t}function D(){var t,e={};return br=kr,e.name=R().trim(),br=Tr,t=z(),t.length&&(e.args=t),e}function z(){for(var t=[];!S()&&br!==kr;){var e=R();if(!e)break;t.push(I(e))}return t}function I(t){if(xr.test(t))return{value:l(t),dynamic:!1};var e=f(t),n=e===t;return{value:n?t:e,dynamic:n}}function L(t){var e=_r.get(t);if(e)return e;dr=t,gr={},vr=dr.length,mr=-1,yr="",br=wr;var n;return dr.indexOf("|")<0?gr.expression=dr.trim():(gr.expression=R().trim(),n=B(),n.length&&(gr.filters=n)),_r.put(t,gr),gr}function q(t){return t.replace(Nr,"\\$&")}function V(){var t=q(qr.delimiters[0]),e=q(qr.delimiters[1]),n=q(qr.unsafeDelimiters[0]),r=q(qr.unsafeDelimiters[1]);Rr=new RegExp(n+"((?:.|\\n)+?)"+r+"|"+t+"((?:.|\\n)+?)"+e,"g"),Br=new RegExp("^"+n+"((?:.|\\n)+?)"+r+"$"),Fr=new j(1e3)}function H(t){Fr||V();var e=Fr.get(t);if(e)return e;if(!Rr.test(t))return null;for(var n,r,i,o,a,s,l=[],c=Rr.lastIndex=0;n=Rr.exec(t);)r=n.index,r>c&&l.push({value:t.slice(c,r)}),i=Br.test(n[0]),o=i?n[1]:n[2],a=o.charCodeAt(0),s=42===a,o=s?o.slice(1):o,l.push({tag:!0,value:o.trim(),html:i,oneTime:s}),c=r+n[0].length;return c1?t.map(function(t){return W(t,e)}).join("+"):W(t[0],e,!0)}function W(t,e,n){return t.tag?t.oneTime&&e?'"'+e.$eval(t.value)+'"':Z(t.value,n):'"'+t.value+'"'}function Z(t,e){if(Dr.test(t)){var n=L(t);return n.filters?"this._applyFilters("+n.expression+",null,"+JSON.stringify(n.filters)+",false)":"("+t+")"}return e?t:"("+t+")"}function J(t,e,n,r){Y(t,1,function(){e.appendChild(t)},n,r)}function G(t,e,n,r){Y(t,1,function(){rt(t,e)},n,r)}function X(t,e,n){Y(t,-1,function(){ot(t)},e,n)}function Y(t,e,n,r,i){var o=t.__v_trans;if(!o||!o.hooks&&!ar||!r._isCompiled||r.$parent&&!r.$parent._isCompiled)return n(),void(i&&i());var a=e>0?"enter":"leave";o[a](n,i)}function K(t){if("string"==typeof t){t=document.querySelector(t)}return t}function Q(t){if(!t)return!1;var e=t.ownerDocument.documentElement,n=t.parentNode;return e===t||e===n||!(!n||1!==n.nodeType||!e.contains(n))}function tt(t,e){var n=t.getAttribute(e);return null!==n&&t.removeAttribute(e),n}function et(t,e){var n=tt(t,":"+e);return null===n&&(n=tt(t,"v-bind:"+e)),n}function nt(t,e){return t.hasAttribute(e)||t.hasAttribute(":"+e)||t.hasAttribute("v-bind:"+e)}function rt(t,e){e.parentNode.insertBefore(t,e)}function it(t,e){e.nextSibling?rt(t,e.nextSibling):e.parentNode.appendChild(t)}function ot(t){t.parentNode.removeChild(t)}function at(t,e){e.firstChild?rt(t,e.firstChild):e.appendChild(t)}function st(t,e){var n=t.parentNode;n&&n.replaceChild(e,t)}function lt(t,e,n,r){t.addEventListener(e,n,r)}function ct(t,e,n){t.removeEventListener(e,n)}function ft(t){var e=t.className;return"object"==typeof e&&(e=e.baseVal||""),e}function ut(t,e){nr&&!/svg$/.test(t.namespaceURI)?t.className=e:t.setAttribute("class",e)}function ht(t,e){if(t.classList)t.classList.add(e);else{var n=" "+ft(t)+" ";n.indexOf(" "+e+" ")<0&&ut(t,(n+e).trim())}}function pt(t,e){if(t.classList)t.classList.remove(e);else{for(var n=" "+ft(t)+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");ut(t,n.trim())}t.className||t.removeAttribute("class")}function dt(t,e){var n,r;if(mt(t)&&wt(t.content)&&(t=t.content),t.hasChildNodes())for(gt(t),r=e?document.createDocumentFragment():document.createElement("div");n=t.firstChild;)r.appendChild(n);return r}function gt(t){for(var e;e=t.firstChild,vt(e);)t.removeChild(e);for(;e=t.lastChild,vt(e);)t.removeChild(e)}function vt(t){return t&&(3===t.nodeType&&!t.data.trim()||8===t.nodeType)}function mt(t){return t.tagName&&"template"===t.tagName.toLowerCase()}function yt(t,e){var n=qr.debug?document.createComment(t):document.createTextNode(e?" ":"");return n.__v_anchor=!0,n}function bt(t){if(t.hasAttributes())for(var e=t.attributes,n=0,r=e.length;n=l.length){for(var t=0;t=97&&e<=122||e>=65&&e<=90?"ident":e>=49&&e<=57?"number":"else"}function qt(t){var e=t.trim();return("0"!==t.charAt(0)||!isNaN(t))&&(o(e)?f(e):"*"+e)}function Vt(t){function e(){var e=t[f+1];if(u===pi&&"'"===e||u===di&&'"'===e)return f++,r="\\"+e,p[ii](),!0}var n,r,i,o,a,s,l,c=[],f=-1,u=li,h=0,p=[];for(p[oi]=function(){void 0!==i&&(c.push(i),i=void 0)},p[ii]=function(){void 0===i?i=r:i+=r},p[ai]=function(){p[ii](),h++},p[si]=function(){if(h>0)h--,u=hi,p[ii]();else{if(h=0,i=qt(i),i===!1)return!1;p[oi]()}};null!=u;)if(f++,n=t[f],"\\"!==n||!e()){if(o=Lt(n),l=mi[u],a=l[o]||l.else||vi,a===vi)return;if(u=a[0],s=p[a[1]],s&&(r=a[2],r=void 0===r?n:r,s()===!1))return;if(u===gi)return c.raw=t,c}}function Ht(t){var e=ri.get(t);return e||(e=Vt(t),e&&ri.put(t,e)),e}function Ut(t,e){return te(e).get(t)}function Wt(t,e,r){var i=t;if("string"==typeof e&&(e=Vt(e)),!e||!y(t))return!1;for(var o,a,s=0,l=e.length;s-1?n.replace($i,Xt):n,e+"scope."+n)}function Xt(t,e){return Mi[e]}function Yt(t){ki.test(t),Mi.length=0;var e=t.replace(ji,Jt).replace(Ci,"");return e=(" "+e).replace(Si,Gt).replace($i,Xt),Kt(e)}function Kt(t){try{return new Function("scope","return "+t+";")}catch(t){return Zt}}function Qt(t){var e=Ht(t);if(e)return function(t,n){Wt(t,e,n)}}function te(t,e){t=t.trim();var n=bi.get(t);if(n)return e&&!n.set&&(n.set=Qt(n.exp)),n;var r={exp:t};return r.get=ee(t)&&t.indexOf("[")<0?Kt("scope."+t):Yt(t),e&&(r.set=Qt(t)),bi.put(t,r),r}function ee(t){return Ai.test(t)&&!Oi.test(t)&&"Math."!==t.slice(0,5)}function ne(){Pi.length=0,Ni.length=0,Fi={},Ri={},Bi=!1}function re(){for(var t=!0;t;)t=!1,ie(Pi),ie(Ni),Pi.length?t=!0:(Qn&&qr.devtools&&Qn.emit("flush"),ne())}function ie(t){for(var e=0;e0){var a=o+(r?e:kt(e));i=Yi.get(a),i||(i=Ge(n,t.$options,!0),Yi.put(a,i))}else i=Ge(n,t.$options,!0);this.linker=i}function xe(t,e,n){var r=t.node.previousSibling;if(r){for(t=r.__v_frag;!(t&&t.forId===n&&t.inserted||r===e);){if(r=r.previousSibling,!r)return;t=r.__v_frag}return t}}function we(t){for(var e=-1,n=new Array(Math.floor(t));++e47&&e<58?parseInt(t,10):1===t.length&&(e=t.toUpperCase().charCodeAt(0),e>64&&e<91)?e:bo[t]});return n=[].concat.apply([],n),function(e){if(n.indexOf(e.keyCode)>-1)return t.call(this,e)}}function Ae(t){return function(e){return e.stopPropagation(),t.call(this,e)}}function Se(t){return function(e){return e.preventDefault(),t.call(this,e)}}function Oe(t){return function(e){if(e.target===e.currentTarget)return t.call(this,e)}}function Me(t){if(Co[t])return Co[t];var e=Ee(t);return Co[t]=Co[e]=e,e}function Ee(t){t=p(t);var e=u(t),n=e.charAt(0).toUpperCase()+e.slice(1);To||(To=document.createElement("div"));var r,i=xo.length;if("filter"!==e&&e in To.style)return{kebab:t,camel:e};for(;i--;)if(r=wo[i]+n,r in To.style)return{kebab:xo[i]+t,camel:r}}function Pe(t){var e=[];if(Xn(t))for(var n=0,r=t.length;n=i?n():t[o].call(e,r)}var i=t.length,o=0;t[0].call(e,r)}function Re(t,e,n){for(var r,i,a,s,l,c,f,h=[],d=n.$options.propsData,g=Object.keys(e),v=g.length;v--;)if(i=g[v],r=e[i]||Lo,l=u(i),qo.test(l)){if(f={name:i,path:l,options:r,mode:Io.ONE_WAY,raw:null},a=p(i),null===(s=et(t,a))&&(null!==(s=et(t,a+".sync"))?f.mode=Io.TWO_WAY:null!==(s=et(t,a+".once"))&&(f.mode=Io.ONE_TIME)),null!==s)f.raw=s,c=L(s),s=c.expression,f.filters=c.filters,o(s)&&!c.filters?f.optimizedLiteral=!0:f.dynamic=!0,f.parentPath=s;else if(null!==(s=tt(t,a)))f.raw=s;else if(d&&null!==(s=d[i]||d[l]))f.raw=s;else;h.push(f)}return Be(h)}function Be(t){return function(e,n){e._props={};for(var r,o,a,s,u,h=e.$options.propsData,d=t.length;d--;)if(r=t[d],u=r.raw,o=r.path,a=r.options,e._props[o]=r,h&&i(h,o)&&ze(e,r,h[o]),null===u)ze(e,r,void 0);else if(r.dynamic)r.mode===Io.ONE_TIME?(s=(n||e._context||e).$get(r.parentPath),ze(e,r,s)):e._context?e._bindDir({name:"prop",def:Ho,prop:r},null,null,n):ze(e,r,e.$get(r.parentPath));else if(r.optimizedLiteral){var g=f(u);s=g===u?c(l(u)):g,ze(e,r,s)}else s=a.type===Boolean&&(""===u||u===p(r.name))||u,ze(e,r,s)}}function De(t,e,n,r){var i=e.dynamic&&ee(e.parentPath),o=n;void 0===o&&(o=Le(t,e)),o=Ve(e,o,t);var a=o!==n;qe(e,o,t)||(o=void 0),i&&!a?Nt(function(){r(o)}):r(o)}function ze(t,e,n){De(t,e,n,function(n){zt(t,e.path,n)})}function Ie(t,e,n){De(t,e,n,function(n){t[e.path]=n})}function Le(t,e){var n=e.options;if(!i(n,"default"))return n.type!==Boolean&&void 0;var r=n.default;return y(r),"function"==typeof r&&n.type!==Function?r.call(t):r}function qe(t,e,n){if(!t.options.required&&(null===t.raw||null==e))return!0;var r=t.options,i=r.type,o=!i,a=[];if(i){Xn(i)||(i=[i]);for(var s=0;se?-1:t===e?0:1}),e=0,n=s.length;ep.priority)&&(p=h,f=i.name,s=mn(i.name),a=i.value,c=l[1],u=l[2]));return p?gn(t,c,a,n,p,f,u,s):void 0}function dn(){}function gn(t,e,n,r,i,o,a,s){var l=L(n),c={name:e,arg:a,expression:l.expression,filters:l.filters,raw:n,attr:o,modifiers:s,def:i};"for"!==e&&"router-view"!==e||(c.ref=bt(t));var f=function(t,e,n,r,i){c.ref&&zt((r||t).$refs,c.ref,null),t._bindDir(c,e,n,r,i)};return f.terminal=!0,f}function vn(t,e){function n(t,e,n){var r=n&&bn(n),i=!r&&L(o);g.push({name:t,attr:a,raw:s,def:e,arg:c,modifiers:f,expression:i&&i.expression,filters:i&&i.filters,interp:n,hasOneTime:r})}for(var r,i,o,a,s,l,c,f,u,h,p,d=t.length,g=[];d--;)if(r=t[d],i=a=r.name,o=s=r.value,h=H(o),c=null,f=mn(i),i=i.replace(oa,""),h)o=U(h),c=i,n("bind",Bo.bind,h);else if(aa.test(i))f.literal=!na.test(i),n("transition",ea.transition);else if(ra.test(i))c=i.replace(ra,""),n("on",Bo.on);else if(na.test(i))l=i.replace(na,""),"style"===l||"class"===l?n(l,ea[l]):(c=l,n("bind",Bo.bind));else if(p=i.match(ia)){if(l=p[1],c=p[2],"else"===l)continue;u=Et(e,"directives",l,!0),u&&n(l,u)}if(g.length)return yn(g)}function mn(t){var e=Object.create(null),n=t.match(oa);if(n)for(var r=n.length;r--;)e[n[r].slice(1)]=!0;return e}function yn(t){return function(e,n,r,i,o){for(var a=t.length;a--;)e._bindDir(t[a],n,r,i,o)}}function bn(t){for(var e=t.length;e--;)if(t[e].oneTime)return!0}function _n(t){return"SCRIPT"===t.tagName&&(!t.hasAttribute("type")||"text/javascript"===t.getAttribute("type"))}function xn(t,e){return e&&(e._containerAttrs=kn(t)),mt(t)&&(t=he(t)),e&&(e._asComponent&&!e.template&&(e.template=""),e.template&&(e._content=dt(t),t=wn(t,e))),wt(t)&&(at(yt("v-start",!0),t),t.appendChild(yt("v-end",!0))),t}function wn(t,e){var n=e.template,r=he(n,!0);if(r){var i=r.firstChild;if(!i)return r;var o=i.tagName&&i.tagName.toLowerCase();return e.replace?(t===document.body,r.childNodes.length>1||1!==i.nodeType||"component"===o||Et(e,"components",o)||nt(i,"is")||Et(e,"elementDirectives",o)||i.hasAttribute("v-for")||i.hasAttribute("v-if")?r:(e._replacerAttrs=kn(i),Cn(t,i),i)):(t.appendChild(r),t)}}function kn(t){if(1===t.nodeType&&t.hasAttributes())return v(t.attributes)}function Cn(t,e){for(var n,r,i=t.attributes,o=i.length;o--;)n=i[o].name,r=i[o].value,e.hasAttribute(n)||ca.test(n)?"class"===n&&!H(r)&&(r=r.trim())&&r.split(/\s+/).forEach(function(t){ht(e,t)}):e.setAttribute(n,r)}function Tn(t,e){if(e){for(var n,r,i=t._slotContents=Object.create(null),o=0,a=e.children.length;o1?v(n):n;var i=e&&n.some(function(t){return t._fromParent});i&&(r=!1);for(var o=v(arguments,1),a=0,s=n.length;ae?o:-o}var n=null,r=void 0;t=va(t);var i=v(arguments,1),o=i[i.length-1];"number"==typeof o?(o=o<0?-1:1,i=i.length>1?i.slice(0,-1):i):o=1;var a=i[0];return a?("function"==typeof a?n=function(t,e){return a(t,e)*o}:(r=Array.prototype.concat.apply([],i),n=function(t,i,o){return o=o||0,o>=r.length-1?e(t,i,o):e(t,i,o)||n(t,i,o+1)}),t.slice().sort(n)):t}function Ln(t,e){var n;if(b(t)){var r=Object.keys(t);for(n=r.length;n--;)if(Ln(t[r[n]],e))return!0}else if(Xn(t)){for(n=t.length;n--;)if(Ln(t[n],e))return!0}else if(null!=t)return t.toString().toLowerCase().indexOf(e)>-1}function qn(t){function e(t){return new Function("return function "+d(t)+" (options) { this._init(options) }")()}t.options={directives:Bo,elementDirectives:ga,filters:ya,transitions:{},components:{},partials:{},replace:!0},t.util=ei,t.config=qr,t.set=n,t.delete=r,t.nextTick=ur,t.compiler=fa,t.FragmentFactory=_e,t.internalDirectives=ea,t.parsers={path:yi,text:zr,template:Gi,directive:Pr,expression:Ei},t.cid=0;var i=1;t.extend=function(t){t=t||{};var n=this,r=0===n.cid;if(r&&t._Ctor)return t._Ctor;var o=t.name||n.options.name,a=e(o||"VueComponent");return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=i++,a.options=Mt(n.options,t),a.super=n,a.extend=n.extend,qr._assetTypes.forEach(function(t){a[t]=n[t]}),o&&(a.options.components[o]=a),r&&(t._Ctor=a),a},t.use=function(t){if(!t.installed){var e=v(arguments,1);return e.unshift(this),"function"==typeof t.install?t.install.apply(t,e):t.apply(null,e),t.installed=!0,this}},t.mixin=function(e){t.options=Mt(t.options,e)},qr._assetTypes.forEach(function(e){t[e]=function(n,r){return r?("component"===e&&b(r)&&(r.name||(r.name=n),r=t.extend(r)),this.options[e+"s"][n]=r,r):this.options[e+"s"][n]}}),m(t.transition,Hr)}var Vn=Object.prototype.hasOwnProperty,Hn=/^\s?(true|false|-?[\d\.]+|'[^']*'|"[^"]*")\s?$/,Un=/-(\w)/g,Wn=/([^-])([A-Z])/g,Zn=/(?:^|[-_\/])(\w)/g,Jn=Object.prototype.toString,Gn="[object Object]",Xn=Array.isArray,Yn="__proto__"in{},Kn="undefined"!=typeof window&&"[object Object]"!==Object.prototype.toString.call(window),Qn=Kn&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,tr=Kn&&window.navigator.userAgent.toLowerCase(),er=tr&&tr.indexOf("trident")>0,nr=tr&&tr.indexOf("msie 9.0")>0,rr=tr&&tr.indexOf("android")>0,ir=tr&&/iphone|ipad|ipod|ios/.test(tr),or=void 0,ar=void 0,sr=void 0,lr=void 0;if(Kn&&!nr){var cr=void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend,fr=void 0===window.onanimationend&&void 0!==window.onwebkitanimationend;or=cr?"WebkitTransition":"transition",ar=cr?"webkitTransitionEnd":"transitionend",sr=fr?"WebkitAnimation":"animation",lr=fr?"webkitAnimationEnd":"animationend"}var ur=function(){function t(){n=!1;var t=e.slice(0);e.length=0;for(var r=0;r=this.length&&(this.length=Number(t)+1),this.splice(t,1,e)[0]}),_(Yr,"$remove",function(t){if(this.length){var e=w(this,t);return e>-1?this.splice(e,1):void 0}});var Qr=Object.getOwnPropertyNames(Kr),ti=!0;Ft.prototype.walk=function(t){for(var e=Object.keys(t),n=0,r=e.length;n",""],tr:[2,"","
    "],col:[2,"","
    "]};Vi.td=Vi.th=[3,"","
    "],Vi.option=Vi.optgroup=[1,'"],Vi.thead=Vi.tbody=Vi.colgroup=Vi.caption=Vi.tfoot=[1,"","
    "],Vi.g=Vi.defs=Vi.symbol=Vi.use=Vi.image=Vi.text=Vi.circle=Vi.ellipse=Vi.line=Vi.path=Vi.polygon=Vi.polyline=Vi.rect=[1,'',""];var Hi=/<([\w:-]+)/,Ui=/&#?\w+?;/,Wi=//g,"$1").replace(//g,"$1")),e.chars&&e.chars(n),""});u+=t.length-g.length,t=g,o(h,u-d,u)}else{var v=t.indexOf("<");if(0===v){if(Xa.test(t)){var m=t.indexOf("-->");if(m>=0){n(m+3);continue}}if(Ya.test(t)){var y=t.indexOf("]>");if(y>=0){n(y+2);continue}}var b=t.match(Ga);if(b){n(b[0].length);continue}var _=t.match(Ja);if(_){var x=u;n(_[0].length),o(_[1],x,u);continue}var w=r();if(w){i(w);continue}}var k=void 0,C=void 0,T=void 0;if(v>0){for(C=t.slice(v);!(Ja.test(C)||Wa.test(C)||Xa.test(C)||Ya.test(C)||(T=C.indexOf("<",1),T<0));)v+=T,C=t.slice(v);k=t.substring(0,v),n(v)}v<0&&(k=t,t=""),e.chars&&k&&e.chars(k)}if(t===a&&e.chars){e.chars(t);break}}o()}function jn(t){function e(){(a||(a=[])).push(t.slice(d,i).trim()),d=i+1}var n,r,i,o,a,s=!1,l=!1,c=!1,f=!1,u=0,h=0,p=0,d=0;for(i=0;i=0&&(v=t.charAt(g)," "===v);g--);v&&/[\w$]/.test(v)||(f=!0)}}else void 0===o?(d=i+1,o=t.slice(0,i).trim()):e();if(void 0===o?o=t.slice(0,i).trim():0!==d&&e(),a)for(i=0;ia&&o.push(JSON.stringify(t.slice(a,i)));var s=jn(r[1].trim());o.push("_s("+s+")"),a=i+r[0].length}return a=Qa}function In(t){return 34===t||39===t}function Ln(t){var e=1;for(rs=ns;!zn();)if(t=Dn(),In(t))qn(t);else if(91===t&&e++,93===t&&e--,0===e){is=ns;break}}function qn(t){for(var e=t;!zn()&&(t=Dn(),t!==e););}function Vn(t,e){os=e.warn||Sn,as=e.getTagNamespace||ki,ss=e.mustUseProp||ki,ls=e.isPreTag||ki,cs=On(e.modules,"preTransformNode"),fs=On(e.modules,"transformNode"),us=On(e.modules,"postTransformNode"),hs=e.delimiters;var n,r,i=[],o=e.preserveWhitespace!==!1,a=!1,s=!1,l=!1;return Tn(t,{expectHTML:e.expectHTML,isUnaryTag:e.isUnaryTag,shouldDecodeNewlines:e.shouldDecodeNewlines,start:function(o,c,f){function u(e){l||("slot"!==e.tag&&"template"!==e.tag||(l=!0,os("Cannot use <"+e.tag+"> as component root element because it may contain multiple nodes:\n"+t)),e.attrsMap.hasOwnProperty("v-for")&&(l=!0,os("Cannot use v-for on stateful component root element because it renders multiple elements:\n"+t)))}var h=r&&r.ns||as(o);Oi&&"svg"===h&&(c=sr(c));var p={type:1,tag:o,attrsList:c,attrsMap:or(c),parent:r,children:[]};h&&(p.ns=h),ar(p)&&!Fi()&&(p.forbidden=!0,os("Templates should only be responsible for mapping the state to the UI. Avoid placing tags with side-effects in your templates, such as <"+o+">, as they will not be parsed."));for(var d=0;d cannot be keyed. Place the key on real elements instead."),t.key=e)}function Zn(t){var e=Fn(t,"ref");e&&(t.ref=e,t.refInFor=rr(t))}function Jn(t){var e;if(e=Rn(t,"v-for")){var n=e.match(Fs);if(!n)return void os("Invalid v-for expression: "+e);t.for=n[2].trim();var r=n[1].trim(),i=r.match(Rs);i?(t.alias=i[1].trim(),t.iterator1=i[2].trim(),i[3]&&(t.iterator2=i[3].trim())):t.alias=r}}function Gn(t){var e=Rn(t,"v-if");if(e)t.if=e,Kn(t,{exp:e,block:t});else{null!=Rn(t,"v-else")&&(t.else=!0);var n=Rn(t,"v-else-if");n&&(t.elseif=n)}}function Xn(t,e){var n=Yn(e.children);n&&n.if?Kn(n,{exp:t.elseif,block:t}):os("v-"+(t.elseif?'else-if="'+t.elseif+'"':"else")+" used on element <"+t.tag+"> without corresponding v-if.")}function Yn(t){for(var e=t.length;e--;){if(1===t[e].type)return t[e];" "!==t[e].text&&os('text "'+t[e].text.trim()+'" between v-if and v-else(-if) will be ignored.'),t.pop()}}function Kn(t,e){t.ifConditions||(t.ifConditions=[]),t.ifConditions.push(e)}function Qn(t){var e=Rn(t,"v-once");null!=e&&(t.once=!0)}function tr(t){if("slot"===t.tag)t.slotName=Fn(t,"name"),t.key&&os("`key` does not work on because slots are abstract outlets and can possibly expand into multiple elements. Use the key on a wrapping element instead.");else{var e=Fn(t,"slot");e&&(t.slotTarget='""'===e?'"default"':e),"template"===t.tag&&(t.slotScope=Rn(t,"scope"))}}function er(t){var e;(e=Fn(t,"is"))&&(t.component=e),null!=Rn(t,"inline-template")&&(t.inlineTemplate=!0)}function nr(t){var e,n,r,i,o,a,s,l,c=t.attrsList;for(e=0,n=c.length;e, use
    .'),En(t,r,JSON.stringify(o))}}function rr(t){for(var e=t;e;){if(void 0!==e.for)return!0;e=e.parent}return!1}function ir(t){var e=t.match(Is);if(e){var n={};return e.forEach(function(t){n[t.slice(1)]=!0}),n}}function or(t){for(var e={},n=0,r=t.length;n: You are binding v-model directly to a v-for iteration alias. This will not be able to modify the v-for source array because writing to the alias is like modifying a function local variable. Consider using an array of objects and use v-model on an object property instead.'),n=n.parent}function cr(t,e){t&&(ps=Hs(e.staticKeys||""),ds=e.isReservedTag||ki,ur(t),hr(t,!1))}function fr(t){return r("type,tag,attrsList,attrsMap,plain,parent,children,attrs"+(t?","+t:""))}function ur(t){if(t.static=dr(t),1===t.type){if(!ds(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var e=0,n=t.children.length;e1||1!==e.type)&&gs("Inline-template components must have exactly one child element."),1===e.type){var n=xr(e,ws);return"inlineTemplate:{render:function(){"+n.render+"},staticRenderFns:["+n.staticRenderFns.map(function(t){return"function(){"+t+"}"}).join(",")+"]}"}}function Mr(t){return"scopedSlots:{"+Object.keys(t).map(function(e){return Er(e,t[e])}).join(",")+"}"}function Er(t,e){return t+":function("+String(e.attrsMap.scope)+"){return "+("template"===e.tag?Pr(e)||"void 0":wr(e))+"}"}function Pr(t,e){var n=t.children;if(n.length){var r=n[0];if(1===n.length&&r.for&&"template"!==r.tag&&"slot"!==r.tag)return wr(r);var i=Nr(n);return"["+n.map(Br).join(",")+"]"+(e&&i?","+i:"")}}function Nr(t){for(var e=0,n=0;n, use
    .')}r&&(t.staticClass=JSON.stringify(r));var o=Fn(t,"class",!1);o&&(t.classBinding=o)}function Xr(t){var e="";return t.staticClass&&(e+="staticClass:"+t.staticClass+","),t.classBinding&&(e+="class:"+t.classBinding+","),e}function Yr(t,e){var n=e.warn||Sn,r=Rn(t,"style");if(r){var i=An(r,e.delimiters);i&&n('style="'+r+'": Interpolation inside attributes has been removed. Use v-bind or the colon shorthand instead. For example, instead of
    , use
    .'),t.staticStyle=JSON.stringify(oa(r))}var o=Fn(t,"style",!1);o&&(t.styleBinding=o)}function Kr(t){var e="";return t.staticStyle&&(e+="staticStyle:"+t.staticStyle+","),t.styleBinding&&(e+="style:("+t.styleBinding+"),"),e}function Qr(t,e,n){ks=n;var r=e.value,i=e.modifiers,o=t.tag,a=t.attrsMap.type,s=t.attrsMap["v-bind:type"]||t.attrsMap[":type"];return"input"===o&&s&&ks(':\nv-model does not support dynamic input types. Use v-if branches instead.'),"select"===o?ri(t,r,i):"input"===o&&"checkbox"===a?ti(t,r,i):"input"===o&&"radio"===a?ei(t,r,i):ni(t,r,i),!0}function ti(t,e,n){null!=t.attrsMap.checked&&ks("<"+t.tag+' v-model="'+e+"\" checked>:\ninline checked attributes will be ignored when using v-model. Declare initial values in the component's data option instead.");var r=n&&n.number,i=Fn(t,"value")||"null",o=Fn(t,"true-value")||"true",a=Fn(t,"false-value")||"false";Mn(t,"checked","Array.isArray("+e+")?_i("+e+","+i+")>-1"+("true"===o?":("+e+")":":_q("+e+","+o+")")),Nn(t,"click","var $$a="+e+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$c){$$i<0&&("+e+"=$$a.concat($$v))}else{$$i>-1&&("+e+"=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{"+e+"=$$c}",null,!0)}function ei(t,e,n){null!=t.attrsMap.checked&&ks("<"+t.tag+' v-model="'+e+"\" checked>:\ninline checked attributes will be ignored when using v-model. Declare initial values in the component's data option instead.");var r=n&&n.number,i=Fn(t,"value")||"null";i=r?"_n("+i+")":i,Mn(t,"checked","_q("+e+","+i+")"),Nn(t,"click",oi(e,i),null,!0)}function ni(t,e,n){"input"===t.tag&&t.attrsMap.value&&ks("<"+t.tag+' v-model="'+e+'" value="'+t.attrsMap.value+"\">:\ninline value attributes will be ignored when using v-model. Declare initial values in the component's data option instead."),"textarea"===t.tag&&t.children.length&&ks('