1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
!function(e){function t(t){for(var i,h,c=t[0],n=t[1],r=0,f=[];r<c.length;r++)h=c[r],Object.prototype.hasOwnProperty.call(a,h)&&a[h]&&f.push(a[h][0]),a[h]=0;for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);for(l&&l(t);f.length;)f.shift()()}var i={},a={200:0};function h(t){if(i[t])return i[t].exports;var a=i[t]={i:t,l:!1,exports:{}};return e[t].call(a.exports,a,a.exports,h),a.l=!0,a.exports}h.e=function(e){var t=[],i=a[e];if(0!==i)if(i)t.push(i[2]);else{var c=new Promise((function(t,h){i=a[e]=[t,h]}));t.push(i[2]=c);var n,r=document.createElement("script");r.charset="utf-8",r.timeout=120,h.nc&&r.setAttribute("nonce",h.nc),r.src=function(e){return h.p+""+({0:"vendor",1:"vendors~editor-collab~editor-guest~editor-rich~files-modal",2:"highlight/1c",3:"highlight/abnf",4:"highlight/accesslog",5:"highlight/actionscript",6:"highlight/ada",7:"highlight/angelscript",8:"highlight/apache",9:"highlight/applescript",10:"highlight/arcade",11:"highlight/arduino",12:"highlight/armasm",13:"highlight/asciidoc",14:"highlight/aspectj",15:"highlight/autohotkey",16:"highlight/autoit",17:"highlight/avrasm",18:"highlight/awk",19:"highlight/axapta",20:"highlight/bash",21:"highlight/basic",22:"highlight/bnf",23:"highlight/brainfuck",24:"highlight/cal",25:"highlight/capnproto",26:"highlight/ceylon",27:"highlight/clean",28:"highlight/clojure",29:"highlight/clojure-repl",30:"highlight/cmake",31:"highlight/coffeescript",32:"highlight/coq",33:"highlight/cos",34:"highlight/cpp",35:"highlight/crmsh",36:"highlight/crystal",37:"highlight/cs",38:"highlight/csp",39:"highlight/css",40:"highlight/d",41:"highlight/dart",42:"highlight/delphi",43:"highlight/diff",44:"highlight/django",45:"highlight/dns",46:"highlight/dockerfile",47:"highlight/dos",48:"highlight/dsconfig",49:"highlight/dts",50:"highlight/dust",51:"highlight/ebnf",52:"highlight/elixir",53:"highlight/elm",54:"highlight/erb",55:"highlight/erlang",56:"highlight/erlang-repl",57:"highlight/excel",58:"highlight/fix",59:"highlight/flix",60:"highlight/fortran",61:"highlight/fsharp",62:"highlight/gams",63:"highlight/gauss",64:"highlight/gcode",65:"highlight/gherkin",66:"highlight/glsl",67:"highlight/gml",68:"highlight/go",69:"highlight/golo",70:"highlight/gradle",71:"highlight/groovy",72:"highlight/haml",73:"highlight/handlebars",74:"highlight/haskell",75:"highlight/haxe",76:"highlight/hsp",77:"highlight/htmlbars",78:"highlight/http",79:"highlight/hy",80:"highlight/inform7",81:"highlight/ini",82:"highlight/irpf90",83:"highlight/isbl",84:"highlight/java",85:"highlight/javascript",86:"highlight/jboss-cli",87:"highlight/json",88:"highlight/julia",89:"highlight/julia-repl",90:"highlight/kotlin",91:"highlight/lasso",92:"highlight/ldif",93:"highlight/leaf",94:"highlight/less",95:"highlight/lisp",96:"highlight/livecodeserver",97:"highlight/livescript",98:"highlight/llvm",99:"highlight/lsl",100:"highlight/lua",101:"highlight/makefile",102:"highlight/markdown",103:"highlight/mathematica",104:"highlight/matlab",105:"highlight/maxima",106:"highlight/mel",107:"highlight/mercury",108:"highlight/mipsasm",109:"highlight/mizar",110:"highlight/mojolicious",111:"highlight/monkey",112:"highlight/moonscript",113:"highlight/n1ql",114:"highlight/nginx",115:"highlight/nimrod",116:"highlight/nix",117:"highlight/nsis",118:"highlight/objectivec",119:"highlight/ocaml",120:"highlight/openscad",121:"highlight/oxygene",122:"highlight/parser3",123:"highlight/perl",124:"highlight/pf",125:"highlight/pgsql",126:"highlight/php",127:"highlight/plaintext",128:"highlight/pony",129:"highlight/powershell",130:"highlight/processing",131:"highlight/profile",132:"highlight/prolog",133:"highlight/properties",134:"highlight/protobuf",135:"highlight/puppet",136:"highlight/purebasic",137:"highlight/python",138:"highlight/q",139:"highlight/qml",140:"highlight/r",141:"highlight/reasonml",142:"highlight/rib",143:"highlight/roboconf",144:"highlight/routeros",145:"highlight/rsl",146:"highlight/ruby",147:"highlight/ruleslanguage",148:"highlight/rust",149:"highlight/sas",150:"highlight/scala",151:"highlight/scheme",152:"highlight/scilab",153:"highlight/scss",154:"highlight/shell",155:"highlight/smali",156:"highlight/smalltalk",157:"highlight/sml",158:"highlight/sqf",159:"highlight/sql",160:"highlight/stan",161:"highlight/stata",162:"highlight/step21",163:"highlight/stylus",164:"highlight/subunit",165:"highlight/swift",166:"highlight/taggerscript",167:"highlight/tap",168:"highlight/tcl",169:"highlight/tex",170:"highlight/thrift",171:"highlight/tp",172:"highlight/twig",173:"highlight/typescript",174:"highlight/vala",175:"highlight/vbnet",176:"highlight/vbscript",177:"highlight/vbscript-html",178:"highlight/verilog",179:"highlight/vhdl",180:"highlight/vim",181:"highlight/x86asm",182:"highlight/xl",183:"highlight/xml",184:"highlight/xquery",185:"highlight/yaml",186:"highlight/zephir",187:"vendors~editor-collab~editor-guest",188:"vendors~editor-rich~files-modal",189:"vendors~editor~files-modal",190:"editor",191:"editor-collab",192:"editor-guest",193:"editor-rich",198:"vendors~editor",199:"vendors~editor-rich"}[e]||e)+".js?v="+{0:"4efd85c9cc7b520c4a15",1:"7b8cadfdc67242f8c99f",2:"64477ed973d32a5aae29",3:"912859266e5c60f7f8c6",4:"af3124793c4f94dbbd66",5:"6d695c3a30ede8340fae",6:"2aad8dea30da08f02d5d",7:"1a44e8f3016ae831b671",8:"5d271fdca9bd50ca8341",9:"5506a4f0e0be796b16ca",10:"327bab515466dcfda440",11:"02435cc293a14de96d1f",12:"4a70441fd64f6593aa67",13:"e16cfa9d12ce6661c2dc",14:"6e01498ad720a3f0a049",15:"a4ce64aa6524d90d774a",16:"be24a792708d131408bc",17:"d0aa3343b32267bba17d",18:"f18bbde99dae0de82747",19:"4f0a11cdd9c5d719662d",20:"ba8f34a6f81461c897ff",21:"a874dbe705e5ca46f706",22:"2483a3104c4098585b8f",23:"1a9222cbb64d57b6f72e",24:"62738feea96b1e6db20a",25:"64a4c95da7be9efd5ee6",26:"9d46b4c8fa962a3d8f9c",27:"f1987dec25cdf63e73a9",28:"90f5277b4e4728df3ba9",29:"0aac83131ba0b9e6fe36",30:"a0cdd0d50338f164ffc4",31:"37c1535d1eeeda4c6b78",32:"5f313a31f69d9d4a53c0",33:"eccd5d9620f38c940947",34:"db53778dc18914054e1e",35:"8fac6364ef37f55c1d56",36:"26a45f141c5296703937",37:"5887a39ffd17d2df4ff7",38:"5f5b97997f210c809c9f",39:"0933e516fa20b85eb266",40:"842c297150e78f44816e",41:"f9e6b6caa394994cefd6",42:"04e7f18a2b77b0bb89e9",43:"2f4c2ebea8150437c86c",44:"e97ec4246c36c1461f34",45:"886891aff878735f6813",46:"3094c32b16717d05ae37",47:"09e21e3240b105c7930d",48:"549d835e4273f3c9a889",49:"276ef5fea2d050144ab8",50:"821ec32733cb0a3bad85",51:"1e04971456eb1e19fee8",52:"c22f61bf8cc14f5adcb0",53:"f98195b1fc33e3bccad1",54:"fc98eb54e01ed7265866",55:"074b3d7ee8de8925a17f",56:"3c2e691b3ac89f11ddba",57:"a2a120de388013c94f1a",58:"db7ccc8a5dbfaa645a18",59:"9b908f1c617d97ece060",60:"79f569a41c8feadb8155",61:"bd6ebfd2d17836602431",62:"13e529c434a844eab8d4",63:"3ffd5569d83f17c6b244",64:"d00ca31143a8f6b2c121",65:"674d0a5c6cc055c2355f",66:"6836254924da1ab40d75",67:"31e0fbf87a62d9f97571",68:"30b54fbff82fe3c766f6",69:"ee011b559cb9ad0cc4fc",70:"b9cbf29d545049478ea1",71:"981331ee576d6cb45eee",72:"b6b435a0a99045c474b5",73:"d1b663cdbf830e40e557",74:"b41aaf010dddbd82be7f",75:"15d8cddd79dc233ea8af",76:"a01b472423c8eb129ea7",77:"5026e66d08c8b4317e98",78:"840382a77c71e5d70bf3",79:"1493324d676b1606293b",80:"30d54faae9f4be48fa34",81:"05703d5fc0aa8b23f35e",82:"b25227575f0f4ab7e54b",83:"3921ab56684fd51a9df2",84:"6c66328d092713ac2d42",85:"fcea3e1c6c2c542c212b",86:"5225b873853a1ea78aad",87:"6edfa5cde6b54809a813",88:"c9a2ee66ab2979459fd9",89:"bb2d8d13fdb6739f60fa",90:"0562575fb52e0171efec",91:"dce182ff00d7673c499c",92:"120fb65183877fa0a8af",93:"88f0d0cfbfc871b3a4a5",94:"a672af71c18230a2140e",95:"82cee1a01da2eee958c1",96:"edc28fda2fa93f43b48b",97:"a5f72cc21dcad153f052",98:"f43cbc7d6bcccf6010c6",99:"9a14b3effdad7a2c8db7",100:"d2aa7df30289fcee4f51",101:"30b6fe66febe969440a7",102:"5bcb8c1bba896f0e7ab9",103:"97939ee76a9a6a5ae56e",104:"90a33f6b6660c855ed25",105:"20fedfd5e44d73dd6734",106:"4be7627e9f034d9504aa",107:"f322f91f484612b7b654",108:"186218f9eae22323f8d7",109:"7288cb27f4c00b32d70e",110:"74ce5ff7330454d053f3",111:"a7ac51971adc05382802",112:"f499b0526c9bcbf856b9",113:"f36b888fd1686fbe0135",114:"f12d3b640d2b2de38344",115:"0eaa24ad14caa8122f57",116:"fa4343157b50cd7adeef",117:"078e154d426804eed266",118:"269dd1a779f66ea9ecd0",119:"4768b6fad65ebdb7eaca",120:"d2398f75bee3102d55dc",121:"4028f183cd2ffd66236e",122:"b6e797a7ce1269d128b7",123:"67a288a4d0948f6ae4c2",124:"1be63f6636c6659f7e9a",125:"c4079803aee0f22e80f3",126:"167457866c088b4d2b31",127:"be78aaf673206ceb0618",128:"4ada98072d0ec3e7194a",129:"a86b47e8c1bba604a630",130:"1570f0f177f6493b697f",131:"f23aa624379862b29206",132:"b663eb36d006246f3bdb",133:"d170174f38fbc600c3a5",134:"aaf3d33bde011f93ece7",135:"d90b9781f3d219b06ae5",136:"765c222cdaa1e2f6686a",137:"b1f5ebb5e9bf2b2009a6",138:"40732608edf6fc8231e0",139:"5a5126ee5dda4f8346b5",140:"231c75c9ee04e5ca66f3",141:"a7bc9cdfbc22ac19541a",142:"262ac9eb6324423564bb",143:"3367446d3b10bff7d8e4",144:"752334129ccafea81af2",145:"cb005e549e9efd20335d",146:"dd0c0754f2c0d87395ff",147:"e81a0a42ec079e4c517e",148:"030d7dea5801dcfff36f",149:"e7d4e0d75f311dfbc365",150:"ebec50b57e980832ee26",151:"bf3d1902bdc18185dc8a",152:"42bb32b16aede44ceaec",153:"859121d34da00d3f7e14",154:"eefac3196d8c11adcb03",155:"a5824620e75acf9f3972",156:"760238c702d04db984a8",157:"9c5df7c4e481453d43ff",158:"29e0c058c6ef16f82b22",159:"37fce3fd77993377ee50",160:"656dd8af0b94f271fc94",161:"dd80d6a55b97623f77a5",162:"e8ba4523433722b82c2c",163:"0d7c0d6a6a3382c042a3",164:"525865e0f00a3359cfbd",165:"1738bea923df177f3bae",166:"17ae9a38cc2b9f561499",167:"85c95158ccb3c3745e0b",168:"4d8c9c26687c0d21d71b",169:"98a8ae8068a4eb539de0",170:"901ced1f9b12beb7d368",171:"e091fb838b4b8294bc1f",172:"cb5c3e6647a7f4b9f2d6",173:"96faf412032bbdcbc17c",174:"847401ca507dcc30850c",175:"a0a0b8da4287fe4bfad1",176:"f857fa650353a8ddbbf4",177:"5ee13815f9cf51643045",178:"7ce82f657526213ec7be",179:"02f6be6177006b0164f9",180:"df4d2aaca87cc1075e2d",181:"7c2b013dd7e1acdf4ce9",182:"c635350a4038e85032e7",183:"7dcca87126ccd0c76724",184:"ec97fe956bee1ddfd292",185:"4260f99feaa2bf08501f",186:"9cc9681ce803d1535642",187:"3724a4bc59187bcb3429",188:"5244d5a898921b929895",189:"712451f7b5511e820aab",190:"ffbf2234430e095ee269",191:"eff13da59ca12394e946",192:"ecaa23ec4837afd1e73a",193:"f5ac821bde0c7465125c",198:"84323f86ded558a8f76a",199:"d475a6b95ce111a18ebd"}[e]}(e);var l=new Error;n=function(t){r.onerror=r.onload=null,clearTimeout(f);var i=a[e];if(0!==i){if(i){var h=t&&("load"===t.type?"missing":t.type),c=t&&t.target&&t.target.src;l.message="Loading chunk "+e+" failed.\n("+h+": "+c+")",l.name="ChunkLoadError",l.type=h,l.request=c,i[1](l)}a[e]=void 0}};var f=setTimeout((function(){n({type:"timeout",target:r})}),12e4);r.onerror=r.onload=n,document.head.appendChild(r)}return Promise.all(t)},h.m=e,h.c=i,h.d=function(e,t,i){h.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},h.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},h.t=function(e,t){if(1&t&&(e=h(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(h.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)h.d(i,a,function(t){return e[t]}.bind(null,a));return i},h.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return h.d(t,"a",t),t},h.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},h.p="/js/",h.oe=function(e){throw console.error(e),e};var c=window.textWebpackJsonp=window.textWebpackJsonp||[],n=c.push.bind(c);c.push=t,c=c.slice();for(var r=0;r<c.length;r++)t(c[r]);var l=n;h(h.s=188)}({102:function(e,t,i){"use strict";i.r(t);var a=i(103),h=i.n(a);for(var c in a)["default"].indexOf(c)<0&&function(e){i.d(t,e,(function(){return a[e]}))}(c);t.default=h.a},103:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a={name:"ViewerComponent",components:{EditorWrapper:function(){return Promise.all([i.e(0),i.e(189),i.e(198),i.e(190)]).then(i.bind(null,129))}},props:{filename:{type:String,default:null},fileid:{type:Number,default:null},active:{type:Boolean,default:!1},shareToken:{type:String,default:null},mime:{type:String,default:null}},beforeMount:function(){void 0!==this.$parent.$parent&&this.$parent.$parent.onResize&&window.removeEventListener("resize",this.$parent.$parent.onResize)}};t.default=a},15:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(var i=[],a={},h=0;h<t.length;h++){var c=t[h],n=c[0],r=c[1],l=c[2],f=c[3],d={id:e+":"+h,css:r,media:l,sourceMap:f};a[n]?a[n].parts.push(d):i.push(a[n]={id:n,parts:[d]})}return i}},16:function(e,t,i){"use strict";function a(e,t,i,a,h,c,n,r){var l,f="function"==typeof e?e.options:e;if(t&&(f.render=t,f.staticRenderFns=i,f._compiled=!0),a&&(f.functional=!0),c&&(f._scopeId="data-v-"+c),n?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),h&&h.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(n)},f._ssrRegister=l):h&&(l=r?function(){h.call(this,(f.functional?this.parent:this).$root.$options.shadowRoot)}:h),l)if(f.functional){f._injectStyles=l;var d=f.render;f.render=function(e,t){return l.call(t),d(e,t)}}else{var o=f.beforeCreate;f.beforeCreate=o?[].concat(o,l):[l]}return{exports:e,options:f}}i.d(t,"a",(function(){return a}))},178:function(e,t,i){"use strict";i.d(t,"a",(function(){return a})),i.d(t,"b",(function(){return h}));var a=function(){var e=this.$createElement;return(this._self._c||e)("EditorWrapper",{attrs:{"file-id":this.fileid,"relative-path":this.filename,active:this.active,"share-token":this.shareToken,mime:this.mime}})},h=[]},179:function(e,t,i){var a=i(191);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);(0,i(50).default)("4861ac69",a,!0,{})},188:function(e,t,i){"use strict";var a,h=(a=i(189))&&a.__esModule?a:{default:a},c=i(48);function n(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);"Object"===i&&e.constructor&&(i=e.constructor.name);if("Map"===i||"Set"===i)return Array.from(e);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return r(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,a=new Array(t);i<t;i++)a[i]=e[i];return a}i.nc=btoa(OC.requestToken),i.p=OC.linkTo("text","js/"),document.addEventListener("DOMContentLoaded",(function(){void 0!==OCA.Viewer?OCA.Viewer.registerHandler({id:"text",mimes:[].concat(n(c.openMimetypesMarkdown),n(c.openMimetypesPlainText)),component:h.default,group:null}):console.error("Viewer app is not installed")}))},189:function(e,t,i){"use strict";i.r(t);var a=i(178),h=i(102);for(var c in h)["default"].indexOf(c)<0&&function(e){i.d(t,e,(function(){return h[e]}))}(c);i(190);var n=i(16),r=Object(n.a)(h.default,a.a,a.b,!1,null,null,null);t.default=r.exports},190:function(e,t,i){"use strict";i(179)},191:function(e,t,i){(t=i(49)(!1)).push([e.i,"\n#editor-container {\n\theight: calc(100% - 50px);\n\ttop: 50px;\n}\n",""]),e.exports=t},48:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.openMimetypesPlainText=t.openMimetypesMarkdown=t.openMimetypes=void 0;
/*
* @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
var a=["text/markdown"];t.openMimetypesMarkdown=a;var h=["text/plain","application/cmd","application/x-empty","application/x-msdos-program","application/javascript","application/json","application/x-perl","application/x-php","application/x-tex","application/xml","application/yaml","text/css","text/csv","text/html","text/x-c","text/x-c++src","text/x-h","text/x-java-source","text/x-ldif","text/x-python","text/x-shellscript"];t.openMimetypesPlainText=h;var c=[].concat(a,h);t.openMimetypes=c},49:function(e,t,i){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var i=function(e,t){var i=e[1]||"",a=e[3];if(!a)return i;if(t&&"function"==typeof btoa){var h=(n=a,r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),l="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),"/*# ".concat(l," */")),c=a.sources.map((function(e){return"/*# sourceURL=".concat(a.sourceRoot||"").concat(e," */")}));return[i].concat(c).concat([h]).join("\n")}var n,r,l;return[i].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(i,"}"):i})).join("")},t.i=function(e,i,a){"string"==typeof e&&(e=[[null,e,""]]);var h={};if(a)for(var c=0;c<this.length;c++){var n=this[c][0];null!=n&&(h[n]=!0)}for(var r=0;r<e.length;r++){var l=[].concat(e[r]);a&&h[l[0]]||(i&&(l[2]?l[2]="".concat(i," and ").concat(l[2]):l[2]=i),t.push(l))}},t}},50:function(e,t,i){"use strict";i.r(t),i.d(t,"default",(function(){return b}));var a=i(15),h=i.n(a),c="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!c)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var n={},r=c&&(document.head||document.getElementsByTagName("head")[0]),l=null,f=0,d=!1,o=function(){},g=null,s="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function b(e,t,i,a){d=i,g=a||{};var c=h()(e,t);return u(c),function(t){for(var i=[],a=0;a<c.length;a++){var r=c[a];(l=n[r.id]).refs--,i.push(l)}t?u(c=h()(e,t)):c=[];for(a=0;a<i.length;a++){var l;if(0===(l=i[a]).refs){for(var f=0;f<l.parts.length;f++)l.parts[f]();delete n[l.id]}}}}function u(e){for(var t=0;t<e.length;t++){var i=e[t],a=n[i.id];if(a){a.refs++;for(var h=0;h<a.parts.length;h++)a.parts[h](i.parts[h]);for(;h<i.parts.length;h++)a.parts.push(m(i.parts[h]));a.parts.length>i.parts.length&&(a.parts.length=i.parts.length)}else{var c=[];for(h=0;h<i.parts.length;h++)c.push(m(i.parts[h]));n[i.id]={id:i.id,refs:1,parts:c}}}}function p(){var e=document.createElement("style");return e.type="text/css",r.appendChild(e),e}function m(e){var t,i,a=document.querySelector('style[data-vue-ssr-id~="'+e.id+'"]');if(a){if(d)return o;a.parentNode.removeChild(a)}if(s){var h=f++;a=l||(l=p()),t=x.bind(null,a,h,!1),i=x.bind(null,a,h,!0)}else a=p(),t=j.bind(null,a),i=function(){a.parentNode.removeChild(a)};return t(e),function(a){if(a){if(a.css===e.css&&a.media===e.media&&a.sourceMap===e.sourceMap)return;t(e=a)}else i()}}var v,y=(v=[],function(e,t){return v[e]=t,v.filter(Boolean).join("\n")});function x(e,t,i,a){var h=i?"":a.css;if(e.styleSheet)e.styleSheet.cssText=y(t,h);else{var c=document.createTextNode(h),n=e.childNodes;n[t]&&e.removeChild(n[t]),n.length?e.insertBefore(c,n[t]):e.appendChild(c)}}function j(e,t){var i=t.css,a=t.media,h=t.sourceMap;if(a&&e.setAttribute("media",a),g.ssrId&&e.setAttribute("data-vue-ssr-id",t.id),h&&(i+="\n/*# sourceURL="+h.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(h))))+" */"),e.styleSheet)e.styleSheet.cssText=i;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(i))}}}});
//# sourceMappingURL=viewer.js.map
|