PageSourceSearch

https://www.salzburg-ag.at/etc.clientlibs/web18/clientlib-site.min.51a745e1ac3ecfc5f55bbd45fb8b49fb.js

js salzburg-ag.at collected 2026-10-02 03:24:36 UTC 2,382,456 bytes, 854 lines download raw bytes

1/*
2 * ADOBE CONFIDENTIAL
3 *
4 * Copyright 2015 Adobe Systems Incorporated
5 * All Rights Reserved.
6 *
7 * NOTICE:  All information contained herein is, and remains
8 * the property of Adobe Systems Incorporated and its suppliers,
9 * if any.  The intellectual and technical concepts contained
10 * herein are proprietary to Adobe Systems Incorporated and its
11 * suppliers and may be covered by U.S. and Foreign Patents,
12 * patents in process, and are protected by trade secret or copyright law.
13 * Dissemination of this information or reproduction of this material
14 * is strictly forbidden unless prior written permission is obtained
15 * from Adobe Systems Incorporated.
16 *
17 */
18/* global CQURLInfo:false */
19(function(window) {
20    "use strict";
21
22    window.Granite = window.Granite || {};
23    window.Granite.HTTP = window.Granite.HTTP || {};
24
25    var contextPath = null;
26
27    function detectContextPath() {
28        // eslint-disable-next-line max-len
29        var SCRIPT_URL_REGEXP = /^(?:http|https):\/\/[^/]+(\/.*)\/(?:etc\.clientlibs|etc(\/.*)*\/clientlibs|libs(\/.*)*\/clientlibs|apps(\/.*)*\/clientlibs|etc\/designs).*\.js(\?.*)?$/;
30        try {
31            if (window.CQURLInfo) {
32                contextPath = CQURLInfo.contextPath || "";
33            } else {
34                var scripts = document.getElementsByTagName("script");
35                for (var i = 0; i < scripts.length; i++) {
36                    var result = SCRIPT_URL_REGEXP.exec(scripts[i].src);
37                    if (result) {
38                        contextPath = result[1];
39                        return;
40                    }
41                }
42                contextPath = "";
43            }
44        } catch (e) {
45            // ignored
46        }
47    }
48
49    window.Granite.HTTP.externalize = window.Granite.HTTP.externalize || function(url) {
50        if (contextPath === null) {
51            detectContextPath();
52        }
53
54        try {
55            if (url.indexOf("/") === 0 && contextPath && url.indexOf(contextPath + "/") !== 0) {
56                url = contextPath + url;
57            }
58        } catch (e) {
59            // ignored
60        }
61
62        return url;
63    };
64})(this);
65
66/*
67 * ADOBE CONFIDENTIAL
68 *
69 * Copyright 2015 Adobe Systems Incorporated
70 * All Rights Reserved.
71 *
72 * NOTICE:  All information contained herein is, and remains
73 * the property of Adobe Systems Incorporated and its suppliers,
74 * if any.  The intellectual and technical concepts contained
75 * herein are proprietary to Adobe Systems Incorporated and its
76 * suppliers and may be covered by U.S. and Foreign Patents,
77 * patents in process, and are protected by trade secret or copyright law.
78 * Dissemination of this information or reproduction of this material
79 * is strictly forbidden unless prior written permission is obtained
80 * from Adobe Systems Incorporated.
81 *
82 */
83(function(factory) {
84    "use strict";
85
86    // GRANITE-22281 Check for multiple initialization
87    if (window.Granite.csrf) {
88        return;
89    }
90
91    window.Granite.csrf = factory(window.Granite.HTTP);
92}(function(http) {
93    "use strict";
94
95    // AdobePatentID="P5296"
96
97    function Promise() {
98        this._handler = [];
99    }
100
101    Promise.prototype = {
102        then: function(resolveFn, rejectFn) {
103            this._handler.push({ resolve: resolveFn, reject: rejectFn });
104        },
105        resolve: function() {
106            this._execute("resolve", arguments);
107        },
108        reject: function() {
109            this._execute("reject", arguments);
110        },
111        _execute: function(result, args) {
112            if (this._handler === null) {
113                throw new Error("Promise already completed.");
114            }
115
116            for (var i = 0, ln = this._handler.length; i < ln; i++) {
117                this._handler[i][result].apply(window, args);
118            }
119
120            this.then = function(resolveFn, rejectFn) {
121                (result === "resolve" ? resolveFn : rejectFn).apply(window, args);
122            };
123
124            this._handler = null;
125        }
126    };
127
128    function verifySameOrigin(url) {
129        // url could be relative or scheme relative or absolute
130        // host + port
131        var host = document.location.host;
132        var protocol = document.location.protocol;
133        var relativeOrigin = "//" + host;
134        var origin = protocol + relativeOrigin;
135
136        // Allow absolute or scheme relative URLs to same origin
137        return (url === origin || url.slice(0, origin.length + 1) === origin + "/") ||
138                (url === relativeOrigin || url.slice(0, relativeOrigin.length + 1) === relativeOrigin + "/") ||
139                // or any other URL that isn't scheme relative or absolute i.e relative.
140                !(/^(\/\/|http:|https:).*/.test(url));
141    }
142
143    var FIELD_NAME = ":cq_csrf_token";
144    var HEADER_NAME = "CSRF-Token";
145    var TOKEN_SERVLET = http.externalize("/libs/granite/csrf/token.json");
146
147    var promise;
148    var globalToken;
149
150    function logFailRequest(error) {
151        if (window.console) {
152            // eslint-disable-next-line no-console
153            console.warn("CSRF data not available;" +
154                    "The data may be unavailable by design, such as during non-authenticated requests: " + error);
155        }
156    }
157
158    function getToken() {
159        var localPromise = new Promise();
160        promise = localPromise;
161
162        var xhr = new XMLHttpRequest();
163        xhr.onreadystatechange = function() {
164            if (xhr.readyState === 4) {
165                try {
166                    var data = JSON.parse(xhr.responseText);
167                    globalToken = data.token;
168                    localPromise.resolve(globalToken);
169                } catch (ex) {
170                    logFailRequest(ex);
171                    localPromise.reject(xhr.responseText);
172                }
173            }
174        };
175        xhr.open("GET", TOKEN_SERVLET, true);
176        xhr.send();
177
178        return localPromise;
179    }
180
181    function getTokenSync() {
182        var xhr = new XMLHttpRequest();
183        xhr.open("GET", TOKEN_SERVLET, false);
184        xhr.send();
185
186        try {
187            return globalToken = JSON.parse(xhr.responseText).token;
188        } catch (ex) {
189            logFailRequest(ex);
190        }
191    }
192
193    function clearToken() {
194        globalToken = undefined;
195        getToken();
196    }
197
198    function addField(form) {
199        var action = form.getAttribute("action");
200        if (form.method.toUpperCase() === "GET" || (action && !verifySameOrigin(action))) {
201            return;
202        }
203
204        if (!globalToken) {
205            getTokenSync();
206        }
207
208        if (!globalToken) {
209            return;
210        }
211
212        var input = form.querySelector('input[name="' + FIELD_NAME + '"]');
213
214        if (!input) {
215            input = document.createElement("input");
216            input.setAttribute("type", "hidden");
217            input.setAttribute("name", FIELD_NAME);
218            form.appendChild(input);
219        }
220
221        input.setAttribute("value", globalToken);
222    }
223
224    function handleForm(document) {
225        var handler = function(ev) {
226            var t = ev.target;
227
228            if (t.nodeName === "FORM") {
229                addField(t);
230            }
231        };
232
233        if (document.addEventListener) {
234            document.addEventListener("submit", handler, true);
235        } else if (document.attachEvent) {
236            document.attachEvent("submit", handler);
237        }
238    }
239
240    handleForm(document);
241
242    var open = XMLHttpRequest.prototype.open;
243
244    XMLHttpRequest.prototype.open = function(method, url, async) {
245        if (method.toLowerCase() !== "get" && verifySameOrigin(url)) {
246            this._csrf = true;
247            this._async = async;
248        }
249
250        return open.apply(this, arguments);
251    };
252
253    var send = XMLHttpRequest.prototype.send;
254
255    XMLHttpRequest.prototype.send = function() {
256        if (!this._csrf) {
257            send.apply(this, arguments);
258            return;
259        }
260
261        if (globalToken) {
262            this.setRequestHeader(HEADER_NAME, globalToken);
263            send.apply(this, arguments);
264            return;
265        }
266
267        if (this._async === false) {
268            getTokenSync();
269
270            if (globalToken) {
271                this.setRequestHeader(HEADER_NAME, globalToken);
272            }
273
274            send.apply(this, arguments);
275            return;
276        }
277
278        var self = this;
279        var args = Array.prototype.slice.call(arguments);
280
281        promise.then(function(token) {
282            self.setRequestHeader(HEADER_NAME, token);
283            send.apply(self, args);
284        }, function() {
285            send.apply(self, args);
286        });
287    };
288
289    var submit = HTMLFormElement.prototype.submit;
290
291    HTMLFormElement.prototype.submit = function() {
292        addField(this);
293        return submit.apply(this, arguments);
294    };
295
296    if (window.Node) {
297        var ac = Node.prototype.appendChild;
298
299        Node.prototype.appendChild = function() {
300            var result = ac.apply(this, arguments);
301
302            if (result.nodeName === "IFRAME") {
303                try {
304                    if (result.contentWindow && !result._csrf) {
305                        result._csrf = true;
306                        handleForm(result.contentWindow.document);
307                    }
308                } catch (ex) {
309                    if (result.src && result.src.length && verifySameOrigin(result.src)) {
310                        if (window.console) {
311                            // eslint-disable-next-line no-console
312                            console.error("Unable to attach CSRF token to an iframe element on the same origin");
313                        }
314                    }
315
316                    // Potential error: Access is Denied
317                    // we can safely ignore CORS security errors here
318                    // because we do not want to expose the csrf anyways to another domain
319                }
320            }
321
322            return result;
323        };
324    }
325
326    // refreshing csrf token periodically
327    getToken();
328
329    setInterval(function() {
330        getToken();
331    }, 300000);
332
333    return {
334        initialised: false,
335        refreshToken: getToken,
336        _clearToken: clearToken
337    };
338}));
339
340/*
341 * ADOBE CONFIDENTIAL
342 *
343 * Copyright 2015 Adobe Systems Incorporated
344 * All Rights Reserved.
345 *
346 * NOTICE:  All information contained herein is, and remains
347 * the property of Adobe Systems Incorporated and its suppliers,
348 * if any.  The intellectual and technical concepts contained
349 * herein are proprietary to Adobe Systems Incorporated and its
350 * suppliers and may be covered by U.S. and Foreign Patents,
351 * patents in process, and are protected by trade secret or copyright law.
352 * Dissemination of this information or reproduction of this material
353 * is strictly forbidden unless prior written permission is obtained
354 * from Adobe Systems Incorporated.
355 *
356 */
357/* global CQURLInfo:false */
358(function(window) {
359    "use strict";
360
361    window.Granite = window.Granite || {};
362    window.Granite.HTTP = window.Granite.HTTP || {};
363
364    var contextPath = null;
365
366    function detectContextPath() {
367        // eslint-disable-next-line max-len
368        var SCRIPT_URL_REGEXP = /^(?:http|https):\/\/[^/]+(\/.*)\/(?:etc\.clientlibs|etc(\/.*)*\/clientlibs|libs(\/.*)*\/clientlibs|apps(\/.*)*\/clientlibs|etc\/designs).*\.js(\?.*)?$/;
369        try {
370            if (window.CQURLInfo) {
371                contextPath = CQURLInfo.contextPath || "";
372            } else {
373                var scripts = document.getElementsByTagName("script");
374                for (var i = 0; i < scripts.length; i++) {
375                    var result = SCRIPT_URL_REGEXP.exec(scripts[i].src);
376                    if (result) {
377                        contextPath = result[1];
378                        return;
379                    }
380                }
381                contextPath = "";
382            }
383        } catch (e) {
384            // ignored
385        }
386    }
387
388    window.Granite.HTTP.externalize = window.Granite.HTTP.externalize || function(url) {
389        if (contextPath === null) {
390            detectContextPath();
391        }
392
393        try {
394            if (url.indexOf("/") === 0 && contextPath && url.indexOf(contextPath + "/") !== 0) {
395                url = contextPath + url;
396            }
397        } catch (e) {
398            // ignored
399        }
400
401        return url;
402    };
403})(this);
404
405/*
406 * ADOBE CONFIDENTIAL
407 *
408 * Copyright 2015 Adobe Systems Incorporated
409 * All Rights Reserved.
410 *
411 * NOTICE:  All information contained herein is, and remains
412 * the property of Adobe Systems Incorporated and its suppliers,
413 * if any.  The intellectual and technical concepts contained
414 * herein are proprietary to Adobe Systems Incorporated and its
415 * suppliers and may be covered by U.S. and Foreign Patents,
416 * patents in process, and are protected by trade secret or copyright law.
417 * Dissemination of this information or reproduction of this material
418 * is strictly forbidden unless prior written permission is obtained
419 * from Adobe Systems Incorporated.
420 *
421 */
422(function(factory) {
423    "use strict";
424
425    // GRANITE-22281 Check for multiple initialization
426    if (window.Granite.csrf) {
427        return;
428    }
429
430    window.Granite.csrf = factory(window.Granite.HTTP);
431}(function(http) {
432    "use strict";
433
434    // AdobePatentID="P5296"
435
436    function Promise() {
437        this._handler = [];
438    }
439
440    Promise.prototype = {
441        then: function(resolveFn, rejectFn) {
442            this._handler.push({ resolve: resolveFn, reject: rejectFn });
443        },
444        resolve: function() {
445            this._execute("resolve", arguments);
446        },
447        reject: function() {
448            this._execute("reject", arguments);
449        },
450        _execute: function(result, args) {
451            if (this._handler === null) {
452                throw new Error("Promise already completed.");
453            }
454
455            for (var i = 0, ln = this._handler.length; i < ln; i++) {
456                this._handler[i][result].apply(window, args);
457            }
458
459            this.then = function(resolveFn, rejectFn) {
460                (result === "resolve" ? resolveFn : rejectFn).apply(window, args);
461            };
462
463            this._handler = null;
464        }
465    };
466
467    function verifySameOrigin(url) {
468        // url could be relative or scheme relative or absolute
469        // host + port
470        var host = document.location.host;
471        var protocol = document.location.protocol;
472        var relativeOrigin = "//" + host;
473        var origin = protocol + relativeOrigin;
474
475        // Allow absolute or scheme relative URLs to same origin
476        return (url === origin || url.slice(0, origin.length + 1) === origin + "/") ||
477                (url === relativeOrigin || url.slice(0, relativeOrigin.length + 1) === relativeOrigin + "/") ||
478                // or any other URL that isn't scheme relative or absolute i.e relative.
479                !(/^(\/\/|http:|https:).*/.test(url));
480    }
481
482    var FIELD_NAME = ":cq_csrf_token";
483    var HEADER_NAME = "CSRF-Token";
484    var TOKEN_SERVLET = http.externalize("/libs/granite/csrf/token.json");
485
486    var promise;
487    var globalToken;
488
489    function logFailRequest(error) {
490        if (window.console) {
491            // eslint-disable-next-line no-console
492            console.warn("CSRF data not available;" +
493                    "The data may be unavailable by design, such as during non-authenticated requests: " + error);
494        }
495    }
496
497    function getToken() {
498        var localPromise = new Promise();
499        promise = localPromise;
500
501        var xhr = new XMLHttpRequest();
502        xhr.onreadystatechange = function() {
503            if (xhr.readyState === 4) {
504                try {
505                    var data = JSON.parse(xhr.responseText);
506                    globalToken = data.token;
507                    localPromise.resolve(globalToken);
508                } catch (ex) {
509                    logFailRequest(ex);
510                    localPromise.reject(xhr.responseText);
511                }
512            }
513        };
514        xhr.open("GET", TOKEN_SERVLET, true);
515        xhr.send();
516
517        return localPromise;
518    }
519
520    function getTokenSync() {
521        var xhr = new XMLHttpRequest();
522        xhr.open("GET", TOKEN_SERVLET, false);
523        xhr.send();
524
525        try {
526            return globalToken = JSON.parse(xhr.responseText).token;
527        } catch (ex) {
528            logFailRequest(ex);
529        }
530    }
531
532    function clearToken() {
533        globalToken = undefined;
534        getToken();
535    }
536
537    function addField(form) {
538        var action = form.getAttribute("action");
539        if (form.method.toUpperCase() === "GET" || (action && !verifySameOrigin(action))) {
540            return;
541        }
542
543        if (!globalToken) {
544            getTokenSync();
545        }
546
547        if (!globalToken) {
548            return;
549        }
550
551        var input = form.querySelector('input[name="' + FIELD_NAME + '"]');
552
553        if (!input) {
554            input = document.createElement("input");
555            input.setAttribute("type", "hidden");
556            input.setAttribute("name", FIELD_NAME);
557            form.appendChild(input);
558        }
559
560        input.setAttribute("value", globalToken);
561    }
562
563    function handleForm(document) {
564        var handler = function(ev) {
565            var t = ev.target;
566
567            if (t.nodeName === "FORM") {
568                addField(t);
569            }
570        };
571
572        if (document.addEventListener) {
573            document.addEventListener("submit", handler, true);
574        } else if (document.attachEvent) {
575            document.attachEvent("submit", handler);
576        }
577    }
578
579    handleForm(document);
580
581    var open = XMLHttpRequest.prototype.open;
582
583    XMLHttpRequest.prototype.open = function(method, url, async) {
584        if (method.toLowerCase() !== "get" && verifySameOrigin(url)) {
585            this._csrf = true;
586            this._async = async;
587        }
588
589        return open.apply(this, arguments);
590    };
591
592    var send = XMLHttpRequest.prototype.send;
593
594    XMLHttpRequest.prototype.send = function() {
595        if (!this._csrf) {
596            send.apply(this, arguments);
597            return;
598        }
599
600        if (globalToken) {
601            this.setRequestHeader(HEADER_NAME, globalToken);
602            send.apply(this, arguments);
603            return;
604        }
605
606        if (this._async === false) {
607            getTokenSync();
608
609            if (globalToken) {
610                this.setRequestHeader(HEADER_NAME, globalToken);
611            }
612
613            send.apply(this, arguments);
614            return;
615        }
616
617        var self = this;
618        var args = Array.prototype.slice.call(arguments);
619
620        promise.then(function(token) {
621            self.setRequestHeader(HEADER_NAME, token);
622            send.apply(self, args);
623        }, function() {
624            send.apply(self, args);
625        });
626    };
627
628    var submit = HTMLFormElement.prototype.submit;
629
630    HTMLFormElement.prototype.submit = function() {
631        addField(this);
632        return submit.apply(this, arguments);
633    };
634
635    if (window.Node) {
636        var ac = Node.prototype.appendChild;
637
638        Node.prototype.appendChild = function() {
639            var result = ac.apply(this, arguments);
640
641            if (result.nodeName === "IFRAME") {
642                try {
643                    if (result.contentWindow && !result._csrf) {
644                        result._csrf = true;
645                        handleForm(result.contentWindow.document);
646                    }
647                } catch (ex) {
648                    if (result.src && result.src.length && verifySameOrigin(result.src)) {
649                        if (window.console) {
650                            // eslint-disable-next-line no-console
651                            console.error("Unable to attach CSRF token to an iframe element on the same origin");
652                        }
653                    }
654
655                    // Potential error: Access is Denied
656                    // we can safely ignore CORS security errors here
657                    // because we do not want to expose the csrf anyways to another domain
658                }
659            }
660
661            return result;
662        };
663    }
664
665    // refreshing csrf token periodically
666    getToken();
667
668    setInterval(function() {
669        getToken();
670    }, 300000);
671
672    return {
673        initialised: false,
674        refreshToken: getToken,
675        _clearToken: clearToken
676    };
677}));
678
679!function(e){function webpackJsonpCallback(r){for(var n,u,c=r[0],a=r[1],i=r[2],p=0,l=[];p<c.length;p++)u=c[p],_[u]&&l.push(_[u][0]),_[u]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n]);for(o&&o(r);l.length;)l.shift()();return t.push.apply(t,i||[]),checkDeferredModules()}function checkDeferredModules(){for(var e,r=0;r<t.length;r++){for(var n=t[r],u=!0,c=1;c<n.length;c++){var o=n[c];0!==_[o]&&(u=!1)}u&&(t.splice(r--,1),e=__webpack_require__(__webpack_require__.s=n[0]))}return e}var r={},_={0:0},t=[];function __webpack_require__(_){if(r[_])return r[_].exports;var t=r[_]={i:_,l:!1,exports:{}};return e[_].call(t.exports,t,t.exports,__webpack_require__),t.l=!0,t.exports}__webpack_require__.m=e,__webpack_require__.c=r,__webpack_require__.d=function(e,r,_){__webpack_require__.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:_})},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.t=function(e,r){if(1&r&&(e=__webpack_require__(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var _=Object.create(null);if(__webpack_require__.r(_),Object.defineProperty(_,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var t in e)__webpack_require__.d(_,t,function(r){return e[r]}.bind(null,t));return _},__webpack_require__.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(r,"a",r),r},__webpack_require__.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},__webpack_require__.p="/etc.clientlibs/web18/clientlib-site/resources/dist/";var n=window.webpackJsonp=window.webpackJsonp||[],u=n.push.bind(n);n.push=webpackJsonpCallback,n=n.slice();for(var c=0;c<n.length;c++)webpackJsonpCallback(n[c]);var o=u;checkDeferredModules()}([]);
680(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"/laf":function(t,e,a){},0:function(t,e,a){t.exports=a("5SFO")},1:function(t,e){},"1NNt":function(t,e){function webpackEmptyContext(t){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}webpackEmptyContext.keys=function(){return[]},webpackEmptyContext.resolve=webpackEmptyContext,t.exports=webpackEmptyContext,webpackEmptyContext.id="1NNt"},"1Vf4":function(t,e){window.App=window.App||{},function(){var t;App.GLOBALS={requestAnimationFrameSupport:void 0!==window.requestAnimationFrame,CSS_CLASSES:{sticky:"affix"},LOCAL_STORAGE:{NAMES:{SEARCHBOX_ANIMATED:"sag-sb-highlight"}},IS_IE:$("body").hasClass("msie")};for(var noop=function(){},e=["assert","clear","count","debug","dir","dirxml","error","exception","group","groupCollapsed","groupEnd","info","log","markTimeline","profile","profileEnd","table","time","timeEnd","timeStamp","trace","warn"],a=e.length,i=window.console=window.console||{};a--;)i[t=e[a]]||(i[t]=noop)}()},"2oG/":function(t,e){},"5SFO":function(t,e,a){"use strict";a.r(e);a("/laf");var i=a("EVdn"),n=a.n(i),o=a("QdZy"),r=a("xG9w"),s=a("jpXb"),l=a.n(s),d=a("p46w"),c=a.n(d),u=a("VDUF"),p=a.n(u);a("aE5D");var f=a("FOa4"),h=a("GxwZ"),m=a("GemG");window.jQuery=n.a,window.$=n.a,window._=r.a,window.Cookies=c.a,window.Swiper=o.a,window.enquire=l.a,window.moment=p.a,window.Pikaday=f,window.SimpleBar=h,window.autosize=m,a("rIKr"),a("Ncs0"),a("s+lh"),a("mdrt"),a("KaHj"),a("bmZV"),a("RRgz"),a("mcAC"),a("9EmH"),a("BhDw"),a("GlyA"),a("zdCM"),a("MA4w"),a("4nZt"),a("vXaL"),a("dXK/"),a("rFQY"),a("/aJ3"),a("Q4Qj"),a("4WRZ"),a("Bcbz"),a("87TR"),a("KKnM"),a("0W4q"),a("tkaw"),a("4983"),a("LEBN"),a("qeHm"),a("EHKA"),a("j9q+"),a("KJEE"),a("YFzs"),a("vsUU"),a("Qth2"),a("haPQ"),a("NKaG"),a("qTT0"),a("QqA/"),a("Jcuy"),a("NyRB"),a("hqgj"),a("JlEA"),a("agaU"),a("/L2x"),a("weX+"),a("zbEo"),a("lNRW"),a("DpC4"),a("OlIF"),a("3uNO"),a("m6qu"),a("IAsY"),a("vMU+"),a("WPbS"),a("oUxl"),a("RmHE"),a("7upa"),a("lRIc"),a("O1Cb"),a("DwAc"),a("zWbz"),a("wCSH"),a("b6la"),a("L5FS"),a("G4y5"),a("rZV0"),a("kxcJ"),a("f7fu"),a("SUj3"),a("KFRo"),a("l6ZM"),a("ZzZc"),a("ZFDP"),a("QSQ2"),a("dZXF"),a("J2RM"),a("7HBM"),a("2oG/"),a("C1Op"),a("1Vf4"),a("RdjW")},"7HBM":function(t,e){window.App=window.App||{},App.WhatsappRegistration={init:function(){$('[data-module="whatsapp-registration"]').each((function(){var t=$(this);t.find('[data-role="whatsapp-content"]').toggleClass("hidden",!$(this).find('input[type="checkbox"]').is(":checked")),t.on("change",'input[type="checkbox"]',(function(){t.find('[data-role="whatsapp-content"]').toggleClass("hidden",!this.checked)}))}))}}},C1Op:function(t,e){function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var a;window.App=window.App||{},App.FUNCTIONS={initStickyElement:function(t,e,a,i){App.FUNCTIONS.calcSticky(t,e,a,i),$(window).on("scroll",App.FUNCTIONS.calcSticky.bind(this,t,e,a,i)),$(window).on("resize",App.FUNCTIONS.calcSticky.bind(this,t,e,a,i))},calcSticky:function(t,e,a,i){var n,o,r=t.hasClass(App.GLOBALS.CSS_CLASSES.sticky),s=e&&"object"===_typeof(e)&&e.constructor===Object,l=$(window).scrollTop(),d=a.innerHeight()-a.height();s?(n="function"==typeof e.top?e.top():e.top,o="function"==typeof e.bottom?e.bottom():e.bottom):n="function"==typeof e.top?e.top():e.top,t.height()+d<i.height()&&(!r&&l>n&&(!o||l<=o)?(t.addClass(App.GLOBALS.CSS_CLASSES.sticky),t.removeClass(App.GLOBALS.CSS_CLASSES.sticky+"-top").removeClass(App.GLOBALS.CSS_CLASSES.sticky+"-bottom")):r&&l<=n&&(!o||l<o)?(t.removeClass(App.GLOBALS.CSS_CLASSES.sticky),t.addClass(App.GLOBALS.CSS_CLASSES.sticky+"-top")):r&&l>o&&(t.removeClass(App.GLOBALS.CSS_CLASSES.sticky),t.addClass(App.GLOBALS.CSS_CLASSES.sticky+"-bottom")))},scrollTop:function(){App.FUNCTIONS.performantScrollBody(0,500)},scrollBody:function(t,e){("number"!=typeof t||t<0)&&(t=0),"number"!=typeof e&&(e=300),App.GLOBALS.IS_IE?$("html").stop().animate({scrollTop:t}
680,e,"swing"):$("body, html").stop().animate({scrollTop:t},e,"swing")},performantScrollBody:function(t,e){App.GLOBALS.requestAnimationFrameSupport?window.requestAnimationFrame((function(){App.FUNCTIONS.scrollBody(t,e)})):App.FUNCTIONS.scrollBody(t,e)},isEmpty:function(t){return!$.trim($(t).html())},waitForFinalEvent:(a={},function(t,e,i){i||(i="Don't call this twice without a uniqueId"),a[i]&&window.clearTimeout(a[i]),a[i]=window.setTimeout(t,e)})}},G4y5:function(t,e){window.App=window.App||{},App.Calculator=function(){var t,e,a=$('[data-module="calculator"]'),i=a.find('[data-action="calculator-go-back"]'),n=a.find('[data-role="calculator-forward-button-calculate"]'),o=a.find('[data-role="calculator-forward-button-showResults"]'),r=a.find('[data-action="calculator-go-forward"]'),s=a.find('[data-role="calculator-error1"]'),l=a.find('[data-role="calculator-error-noPower"]'),d=a.find('[data-role="calculator-error-noGas"]'),c=a.find('[data-action="checkbox-power"]'),u=a.find('[data-action="checkbox-gas"]'),p=a.find('[data-action="checkbox-solar-depot"]'),f=a.find('[data-role="calculatorPage2HeadlinePowerGas"]'),h=a.find('[data-role="calculatorPage2HeadlineSolarDepotGas"]'),m=a.find('[data-role="calculatorPage2HeadlineSolarDepot"]'),v=a.find('[data-role="calculatorPage2HeadlinePower"]'),g=a.find('[data-role="calculatorPage2HeadlineGas"]'),w=a.find('[data-role="calculator-input-power"]'),b=a.find('[data-role="calculator-input-gas"]'),y=a.find('[data-action="checkbox-power-no"]'),C=a.find('[data-action="checkbox-power-yes"]'),_=a.find('[data-action="checkbox-gas-no"]'),S=a.find('[data-action="checkbox-gas-yes"]'),A=a.find('[data-role="calculator-input-solar-depot-pv-size"]'),T=a.find('[data-role="calculator-input-solar-depot-pv-production"]'),x=a.find('[data-role="calculator-input-solar-depot-surplus"]'),k=a.find('[data-role="calculator-input-solar-depot-net-consumption"]'),I=!1,E=!1,D=!1;function _showResults(t){a.find('[data-role="calculator-result"]').removeClass("calculator__element--hidden"),a.find('[data-role="calculator-step-by-step-container"]').addClass("calculator__element--hidden"),_getData(t)}function _buildValueQueryString(){var t="calcFor=",e="";return I&&E?(t=t.concat("POWER,GAS"),w.val()&&b.val()?e="consumptionPower="+w.val()+"&consumptionGas="+b.val()+"&":w.val()?e="consumptionPower="+w.val()+"&":b.val()&&(e="consumptionGas="+b.val()+"&")):D&&E?(t=t.concat("GAS,SOLAR_DEPOT"),b.val()&&(e="consumptionGas="+b.val()+"&"),e+=a.find('[data-role="calculator-row-solar-depot"]').serialize()+"&"):D?(t=t.concat("SOLAR_DEPOT"),e+=a.find('[data-role="calculator-row-solar-depot"]').serialize()+"&"):I?(t=t.concat("POWER"),w.val()&&(e="consumptionPower="+w.val()+"&")):E&&(t=t.concat("GAS"),b.val()&&(e="consumptionGas="+b.val()+"&")),"?"+t+"&"+e}function _getData(e,i){a.find('[data-role="calculator-loading-indicator"]').removeClass("calculator__element--hidden");var n=$.ajax(t+e).done((function(){var t;a.find('[data-role="calculator-results"]').html(n.responseText),$('[data-module="calculator-currency"]').each((function(){$(this).html($(this).html().replace(".",",")),$(this).html($(this).html().replace(/\B(?=(\d{3})+(?!\d))/g,"."))})),t='[data-role="calculator-result-input"]',a.find(t).on("keyup blur",(function(e){if(13===e.keyCode||"blur"===e.type){var i=a.find("#"+$(this).data("target")).val()!==$(this).val(),n=$(this).val();a.find(t).each((function(){a.find(t+'[data-target="'+$(this).data("target")+'"]').val($(this).val()),a.find("#"+$(this).data("target")).val($(this).val())})),a.find(t+'[data-target="'+$(this).data("target")+'"]').val(n),a.find("#"+$(this).data("target")).val($(this).val()),i&&_getData(_buildValueQueryString(),$(this).parents(".calculator__product-result").prev().index())}})),a.find('[data-role="calculator-loading-indicator"]').addClass("calculator__element--hidden");var e=App.matchesScreenDimensions("min:md")?":not(:first-child)":"";a.find('[data-role="calculator-header"]'+e).addClass("calculator__product-header--collapsed"),void 0!==i&&a.find('[data-role="calculator-product-list"] >:eq('+i+")").trigger("click")})).fail((function(){a.find('[data-role="calculator-result-header"]').addClass("calculator__element--hidden"),a.find('[data-role="calculator-result-error-message"]').removeClass("calculator__element--hidden"),a.find('[data-role="calculator-loading-indicator"]').addClass("calculator__element--hidden")}))}function _toggleFields(){I||E||D?(r.removeClass("calculator__button--disabled"),s.removeClass("calculator__error")):r.addClass("calculator__button--disabled"),_showConsumptionInputRows(I,"power"),_showConsumptionInputRows(E,"gas"),_showConsumptionInputRows(D,"s
680olar-depot"),f.addClass("calculator__element--hidden"),h.addClass("calculator__element--hidden"),m.addClass("calculator__element--hidden"),v.addClass("calculator__element--hidden"),g.addClass("calculator__element--hidden"),I&&E?f.removeClass("calculator__element--hidden"):D&&E?h.removeClass("calculator__element--hidden"):D?m.removeClass("calculator__element--hidden"):I?v.removeClass("calculator__element--hidden"):E&&g.removeClass("calculator__element--hidden"),D&&(A.prop("disabled",!1),T.prop("disabled",!1),x.prop("disabled",!1),k.prop("disabled",!1))}function _showConsumptionInputRows(t,e){t?a.find('[data-role="calculator-row-'+e+'"]').removeClass("calculator__element--hidden"):a.find('[data-role="calculator-row-'+e+'"]').addClass("calculator__element--hidden")}function _toggleInputFields(t,e,a){e.on("change",(function(){e.is(":checked")?(a.prop("disabled",!0),_clearConsumptionInput(a)):(a.prop("disabled",!1),r.addClass("calculator__button--disabled"))})),t.on("change",(function(){t.is(":checked")?(a.prop("disabled",!1),r.addClass("calculator__button--disabled")):(a.prop("disabled",!0),_clearConsumptionInput(a))}))}function _clearConsumptionInput(t){t.val(""),r.removeClass("calculator__button--disabled"),l.removeClass("calculator__error"),d.removeClass("calculator__error")}function _consumptionInputChange(t,e,i){t.on("keyup",(function(){t.val()?(a.find('[data-role="calculator-'+e+'"]').removeClass("calculator__error"),i&&r.removeClass("calculator__button--disabled")):(a.find('[data-role="calculator-'+e+'"]').addClass("calculator__error"),i&&r.addClass("calculator__button--disabled"))}))}function _restart(){var t,i,f;a.find('[data-role="calculator-result"]').addClass("calculator__element--hidden"),a.find('[data-role="calculator-step-by-step-container"]').removeClass("calculator__element--hidden"),a.find('[data-role="calculator-options-container"] > *').addClass("calculator__element--hidden"),e.slideTo(0),I=!1,E=!1,D=!1,c.prop("checked",!1),u.prop("checked",!1),p.prop("checked",!1),y.prop("checked",!0),_.prop("checked",!0),w.prop("disabled",!0),b.prop("disabled",!0),A.prop("disabled",!0),T.prop("disabled",!0),x.prop("disabled",!0),k.prop("disabled",!0),w.val(""),b.val(""),A.val(""),T.val(""),x.val(""),k.val(""),_toggleCheckboxes(c,!1),_toggleCheckboxes(u,!1),_toggleCheckboxes(p,!1),r.addClass("calculator__button--disabled"),a.find('[data-role="calculator-form-assumption"]')[0].reset(),t=a.find('[data-role="calculator-select-persons"]'),i=a.find('[data-role="calculator-select-time"]'),f=a.find('[data-role="calculator-select-housing"]'),t.val("2"),i.val("AVERAGE"),f.val("BIG_FLAT"),t.change(),i.change(),f.change(),n.removeClass("calculator__element--hidden"),o.addClass("calculator__element--hidden"),s.removeClass("calculator__error"),l.removeClass("calculator__error"),d.removeClass("calculator__error")}var _toggleCheckboxes=function(t,e){t.prop("disabled",e),t.parents(".checkbox").toggleClass("checkbox--disabled",e)},_validateSolarDepot=function(){for(var t=[A,T,x,k],e=!0,i=0;i<t.length;i++){var n=t[i],o=n.data("error-target");e=e&&""!==n.val(),n.val()?a.find('[data-role="'+o+'"]').removeClass("calculator__error"):a.find('[data-role="'+o+'"]').addClass("calculator__error")}return e};return{init:function(){a.find('[data-toggle="tooltip"]').tooltip({animation:!0}),r.on("click",(function(){switch(e.activeIndex){case 0:I||E||D?(e.slideNext(),s.removeClass("calculator__error")):s.addClass("calculator__error");break;case 1:if(I&&E&&w.val()&&b.val())_showResults(_buildValueQueryString());else if(I&&!E&&w.val())_showResults(_buildValueQueryString());else if(E&&!I&&b.val())_showResults(_buildValueQueryString());else if(D&&!E)_validateSolarDepot()&&_showResults(_buildValueQueryString());else{if(D&&!_validateSolarDepot())return;C.is(":checked")&&!w.val()?l.addClass("calculator__error"):S.is(":checked")&&!b.val()?d.addClass("calculator__error"):(e.slideNext(),n.addClass("calculator__element--hidden"),o.removeClass("calculator__element--hidden"))}break;case 2:var t=a.find('[data-role="calculator-form-assumption"]').serialize();_showResults(_buildValueQueryString()+t)}})),i.on("click",(function(){switch(e.activeIndex){case 1:case 2:n.removeClass("calculator__element--hidden"),o.addClass("calculator__element--hidden")}})),c.on("change",(function(){I=c.is(":checked"),_toggleCheckboxes(p,I),_toggleFields()})),u.on("change",(function(){E=u.is(":checked"),_toggleFields()})),p.on("change",(function(){D=p.is(":checked"),_toggleCheckboxes(c,D),_toggleFields()})),a.find('[data-action="calculator-restart"]').on("click",(function(){_restart()})),(e=new window.Swiper('[data-module="calculator"] .swiper-container',{init:!1,effect:"fade",fadeEffect:{crossFade:!0},autoHeight:!0,allowTouchMove:!1,navigation:{prevEl:i},pagination:{el:a.find(".pagination")[0],type:"bullets",clickable:!1,bulletClass:"pagination__item",bulletActiveClass:"active",renderBullet:function(t,e){return'<span class="'+e+'">'+(t+1)+"</span>"}}})).on("init fromEdge reachBeginning reachEnd",(function(t){i.toggle(!this.isBeg
680inning),a.find('[data-role="final-action"]').toggle(this.isEnd)})),e.init(),$(window).on("load",(function(){e.update()})),a.on("lazybeforeunveil","img",(function onLazyBeforeUnveil(){a.off("lazybeforeunveil","img",onLazyBeforeUnveil),e.update()})),w.prop("disabled",!0),b.prop("disabled",!0),A.prop("disabled",!0),T.prop("disabled",!0),x.prop("disabled",!0),k.prop("disabled",!0),A.on("change",(function(){$.isNumeric($(this).val())&&""===T.val().trim()&&(T.val(1e3*$(this).val()),T.trigger("keyup"))})),_toggleInputFields(C,y,w),_toggleInputFields(S,_,b),_consumptionInputChange(w,"error-noPower",!0),_consumptionInputChange(b,"error-noGas",!0),_consumptionInputChange(A,"error-noPvSize",!1),_consumptionInputChange(T,"error-noPvProduction",!1),_consumptionInputChange(x,"error-noSurplus",!1),_consumptionInputChange(k,"error-noNetConsumption",!1),_restart(),a.on("click",'[data-role="calculator-header"]',(function(){App.matchesScreenDimensions("min:md")?(a.find('[data-role="calculator-header"]').addClass("calculator__product-header--collapsed"),$(this).removeClass("calculator__product-header--collapsed")):$(this).toggleClass("calculator__product-header--collapsed")})),t=a.data("path").concat(".ajax.html")}}}()},J2RM:function(t,e){function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var a,i,n,o,r,s,l,d,c,u,p,f,h,m,v,g,w,b,y,C,_,S,A,T,x,k,I,E,D,L,F;window.App=window.App||{},App.TripCalculator=(a=38,i=40,n=13,o=27,r=9,s=function(t,e){var a=$.Deferred();e=App.EfaClient.getEfaParameters(t,e);var i=App.EfaClient.getBaseUrl()+t;return $.ajax({type:"GET",url:i,data:e,dataType:"xml",accept:"text/xml"}).done((function(e,i,n){e=App.EfaClient.convertEfaData(e,t),a.resolve(e,!0,n.status)})).fail((function(t,e,i){a.resolve(t.responseText,!1,t.status)})),a.promise()},l=function(t,e){return"-4000"===e||"-4001"===e?t.attr("data-no-connection-error-message"):"-4002"===e||"-4004"===e?t.attr("data-no-origin-error-message"):"-4003"===e||"-4005"===e?t.attr("data-no-destination-error-message"):"-4007"===e?t.attr("data-origin-equals-destinatino-error-message"):void 0},d=function(t){return 1===t.length?0===t[0].name.trim().length:1!==t.length},c=function(t,e){var a=t.find('[data-role="trip-results"]'),i=t.find('[data-role="trip-request-form"]'),n=i.serializeArray();g(t,a.find('[data-role="trip-result-item"].selected')),function(t){var e=t.find('[data-role="trip-request-form"]'),a=t.find('[data-role="trip-results"]');e.find("input, select, button").attr("disabled",!0),a.find('[data-role="trip-results-actions"]').addClass("hidden"),a.removeClass("hidden").addClass("loading")}(t),a.find('[data-role="trip-results-list"]').empty(),a.find('[data-role="trip-results-message"]').addClass("hidden"),function(t,e,a){var i=["_charset_","origin","destination","dateTime","dateTimeType","accessibleOptions","numTrips","numChanges","tripMode"],n=e.filter((function(t){return i.includes(t.name)}));return a&&(n.push({name:"sessionId",value:t.data("state").sessionId}),n.push({name:"requestId",value:t.data("state").requestId}),n.push({name:"command",value:a})),s(App.EfaClient.TRIPS_ENDPOINT,n)}(t,n,e).then((function(o,r,s){if(function(t){var e=t.attr("data-tracking-parameter");"dataLayer"in window&&e&&window.dataLayer.push({event:"formSubmit",successParam:e})}(i),function(t){var e=t.find('[data-role="trip-request-form"]'),a=t.find('[data-role="trip-results"]');e.find("input, select, button").attr("disabled",!1),a.find('[data-role="trip-results-actions"]').removeClass("hidden"),a.removeClass("loading")}(t),"string"==typeof o)try{o=JSON.parse(o)}catch(t){}if(r&&o&&"object"===_typeof(o)&&o.tripsCalculated){var c=n.find((function(t){return"numTrips"===t.name})),u=function(t,e,a){return"PREV"===a?t.slice(0,e):"NEXT"===a?t.slice(t.length-e):t.slice(0,e)}(o.trips,c?c.value:5,e);t.data("state",$.extend({},t.data("state"),{sessionId:o.sessionId,requestId:o.requestId,trips:u}));var p=u.map((function(t){return m(t)}));a.removeClass("hidden"),a.find('[data-role="trip-results-list"]').html(p.join("")),App.Collapsible.init(t.find('[data-role="trip-results-list"] [data-module~="collapsible"]')),a.find('[data-role="trip-result-item"]').attr("tabindex","0"),v(t,a.find('[data-role="trip-result-item"]:first'))}else{var f;f=o&&"object"===_typeof(o)&&!o.tripsCalculated&&o.errors.length>0?l(i,o.errors[0].code):o&&"object"===_typeof(o)&&!o.tripsCalculated&&d(o.origins)?l(i,"-4004"):o&&"object"===_typeof(o)&&!o.tripsCalculated&&d(o.destinations)?l(i,"-4005"):i.attr("data-general-error-message"),a.find('[data-role="trip-results-actions"]').addClass("hidden"),a.find('[data-role="trip-results-message"]').addClass("error").removeClass("hidden").find("> *:last").text(f)}}))},u=function(t,e,a){var i=(a||{}).tagName||"span",n=(a||{}).classNames||[],o=[],r="",s=t.backgroundColor,l=t.fontColor;return s&&0!==s.length&&o.push("background-color:"+s),l&&0!==l.length&&o.push("color:"+l),n.push("trip-transport-icon","trip-transport-icon--size-"+e),"SQUARE"===t.shape.toUpperCase()?(n.push("trip-transport-icon--square"),r=t.name):"CIRCLE"===t.shape.toUpperCase()?(n.push("trip-transport-icon--circle"),r=t.name):"FOOT"===t.shape.toUpperCase()?(n.push("trip-transport-icon--icon"),r='<span class="icon icon--walking-person icon--size-20" data-grunticon-embed></span>'):"DESTINATION"===t.shape.toUpperCase()?(n.push("trip-transport-icon--icon"),r='<span class="icon icon--flag icon--size-20" data-grunticon-embed></span>'):"DEFAULT"===t.shape.toUpperCase()&&(n.push("trip-transport-icon--default"),r=t.name),"<"+i+' class="'+n.join(" ")+'" style="'+o.join(";")+'">'+r+"</"+i+">"},p=function(t,e){if(e){var a=App.TripCalculatorI18n[t];return e.forEach((function(t,e){a=a.replace("{"+e+"}",t)})),a}return App.TripCalculatorI18n[t]},f=function(t){var e=t.parts[0],a=t.parts[t.parts.length-1];return{summary:{duration:t.fullDuration,delayDeparture:0===window.moment.duration(t.delayDeparture).as("seconds")?null:t.delayDeparture,delayArrival:0===window.moment.duration(t.delayArrival).as("seconds")?null:t.delayArrival,departureTime:e.departure.dateTime,arrivalTime:a.arrival.dateTime,meansOfTransport:t.parts.reduce((function(t,e){return t.concat([e.meansOfTransport])}),[]),isAccessible:t.parts.reduce((function(t,e){return!!t&&(e.properties&&e.properties.includes("WHEELCHAIR")||"100"===e.meansOfTransport.type||"99"===e.meansOfTransport.type)}),!0),hasInformation:t.parts.reduce((function(t,e){return!!t||e.information&&e.information.length>0}),!1),isSuitableForParkAndRide:!1},parts:t.parts.map((function(t){return h(t)}))}},h=function(t){var e=t.stops||[];return $.extend({delayDeparture:null,delayArrival:null,information:null,properties:null},t,{firstStop:t.departure,lastStop:t.arrival,delayDeparture:0===window.moment.duration(t.delayDeparture).as("seconds")?null:t.delayDeparture,delayArrival:0===window.moment.duration(t.delayArrival).as("seconds")?null:t.delayArrival,intermediateStops:e.slice(1,e.length-1),isAccessible:!!t.properties&&t.properties.includes("WHEELCHAIR"),isSuitableForParkAndRide:!1})},m=function(t){var e=window._.template(['<div class="trip-calculator-results__item trip-result-item collapsed" data-module="collapsible" data-scoped data-role="trip-result-item">','<div class="trip-result-item__summary" data-action="toggle-collapsible">',"<div>","<div>",'<span class="trip-result-item__summary-duration"><%= helpers.getDurationInMinutes(data.summary.duration) %></span>','<span class="trip-result-item__summary-icons">','<%= data.summary.isAccessible ? "<span class=\\"icon icon--wheelchair icon--size-20\\" title=\\"" + helpers.i18n("accessible") + "\\" data-grunticon-embed></span>" : "" %>','<%= data.summary.isSuitableForParkAndRide ? "<span class=\\"icon icon--park-and-ride icon--size-24\\" title=\\"" + helpers.i18n("parkAndRideAvailable") + "\\" data-grunticon-embed></span>" : "" %>',"</span>","</div>",'<div class="trip-result-item__summary-transport">','<%= data.summary.meansOfTransport.map(function(item) { return helpers.getTransportIcon(item.symbol, "24"); }).join("<span class=\\"icon icon--arrow-right icon--size-12\\" data-grunticon-embed></span>") %>',"</div>","</div>",'<%= data.summary.hasInformation ? "<div><span class=\\"icon icon--caution icon--size-24\\" aria-label=\\"" + helpers.i18n("informationAvailable") + "\\" data-grunticon-embed></span></div>" : "" %>',"<div>",'<div>ab <%= window.moment(data.summary.departureTime).format("HH:mm") %></div>','<div>an <%= window.moment(data.summary.arrivalTime).format("HH:mm") %></div>',"</div>","<div>",'<%= data.summary.delayDeparture ? "<span class=\\"delayed\\">+" + helpers.getDurationInMinutes(data.summary.delayDeparture) + "</span>": "" %><br>','<%= data.summary.delayArrival ? "<span class=\\"delayed\\">+" + helpers.getDurationInMinutes(data.summary.delayArrival) + "</span>": "" %>',"</div>","</div>",'<div class="trip-result-item__details trip-result-item__details--hidden" data-role="collapsible-content">','<div class="trip-course">','<%= data.parts.map(function(part) { return helpers.partTemplate({ data: part, helpers: helpers }); }).join("\\n") %>',"</div>","</div>","</div>"].join("\n")),a=window._.template(['<div class="trip-course__section">','<div class="trip-course__section-header">','<span class="trip-course__section-header-symbol"><%= helpers.getTransportIcon(data.meansOfTransport.symbol, "34") %></span>',"<span><%= (data.meansOfTransport.destination.length !== 0 ? data.meansOfTransport.destination : data.meansOfTransport.name).trim() %></span>",'<span class="trip-course__section-header-icons">','<%= data.isAccessible ? "<span class=\\"icon icon--wheelchair icon--size-20\\" title=\\"" + helpers.i18n("accessible") + "\\" data-grunticon-embed></span>" : "" %>','<%= data.isSuitableForParkAndRide ? "<span class=\\"icon icon--park-and-ride icon--size-24\\" title=\\"" + helpers.i18n("parkAndRideAvailable") + "\\" data-grunticon-embed></span>" : "" %>',"</span>","</div>",'<%= data.information ? helpers.noticeTemplate({ data: data.information, helpers: helpers }) : "" %>',"<%= helpers.stopTemplate({ data: $.extend({}, data.firstStop, { delay: data.delayDeparture, color: data.meansOfTransport.symbol.backgroundColor, intermediateStops: data.intermediateStops }), helpers: helpers }) %>","<%= helpers.stopTemplate({ data: $.extend({}, data.lastStop, { delay: data.delayArrival, color: data.meansOfTransport.symbol.backgroundColor, intermediateStops: [] }), helpers: helpers }) %>","</div>"].join("\n")),i=window._.template(['<div class="trip-course__section-notice">','<span class="icon icon--caution icon--size-24" data-grunticon-embed></span>','<div><%= data.join("<br>") %></div>',"</div>"].join("\n")),n=window._.template(['<div class="trip-course__section-stop">','<span class="trip-course__section-stop-bullet" style="<%= data.color && data.color.length > 0 ? "border-color:" + data.color : "" %>"></span>','<span class="trip-course__section-stop-time"><%= window.moment(data.dateTime).format("HH:mm") %></span>','<%= data.delay ? "<span class=\\"trip-course__section-stop-delay\\" title=\\"" + helpers.i18n("delayed") +"\\">+" + helpers.getDurationInMinutes(data.delay) + "</span>": "" %>','<span class="trip-course__section-stop-name"><%= data.name %></span>','<%= data.intermediateStops.length > 0 ? helpers.intermediateStopsTemplate({ data: data.intermediateStops, helpers: helpers }) : "" %>',"</div>"].join("\n")),o=window._.template(['<div class="trip-course__section-intermediate-stops collapsed" data-module="collapsible">','<div data-action="toggle-collapsible">','<span class="icon icon--arrow-down icon--size-12" data-grunticon-embed></span>','<span><%= data.length > 1 ? helpers.i18n("intermediateStops", [data.length]) : helpers.i18n("intermediateStop", [data.length]) %></span>',"</div>",'<div data-role="collapsible-content">','<%= data.map(function(stop) { return helpers.intermediateStopTemplate({ data: stop, helpers: helpers }); }).join("\\n") %>',"</div>","</div>"].join("\n")),r=window._.template(['<div class="trip-course__section-intermediate-stop">','<span><%= window.moment(data.dateTime).format("HH:mm") %></span>',"<span><%= data.name %></span>","</div>"].join("\n"));return e({data:f(t),helpers:{i18n:p,getTransportIcon:u,getDurationInMinutes:function(t){return p("durationInMinutes",[Math.max(1,window.moment.duration(t).as("minutes"))])},partTemplate:a,noticeTemplate:i,stopTemplate:n,intermediateStopsTemplate:o,intermediateStopTemplate:r}}
680)},v=function(t,e){0===e.length||e.is(".selected:not(.collapsed)")||(e.parent().find('[data-role="trip-result-item"]').removeClass("selected"),e.addClass("selected"),k(t))},g=function(t,e){0!==e.length&&(e.removeClass("selected"),k(t))},w=function(t,e){var a=t.closest('[data-role="trip-request-form"]'),i=t.closest('[data-role="location-field"]'),n=i.find('[data-role="select-list"]'),o=a.serializeArray(),r=o.find((function(t){return"type"===t.name})).value.toLowerCase();i.addClass("loading"),function(t,e,a){var i=t.val(),n=["_charset_","type"],o=[];return a?(o.push.apply(o,[{name:"type",value:"COORDINATE"}].concat(a)),n.splice(n.indexOf("type"),1)):o.push({name:"name",value:i}),o.push.apply(o,e.filter((function(t){return n.includes(t.name)}))),s(App.EfaClient.PLACES_ENDPOINT,o)}(t,o,e).then((function(o,s){if(s&&o&&"places"in o){if(o.places.length>0){var l=o.places.map((function(t){if(void 0!==t.id)return'<li value="'+t.id+'" role="option">'+function(t,e){switch(t="any"===t?e:t){case"poi":case"coordinate":return'<span class="icon icon--pin icon--size-16" data-grunticon-embed></span>';case"stop":return'<span class="icon icon--bus-stop-sign icon--size-16" data-grunticon-embed></span>';case"address":case"street":case"loc":return'<span class="icon icon--direction-sign icon--size-16" data-grunticon-embed></span>';default:return""}}(t.type,r)+"<span>"+t.name+"</span></li>"}));void 0!==l[0]?(n.html("<ul>"+l.join("")+"</ul>"),e?y(n.find('[role="option"]:first')):(C(n.find('[role="option"]:first')),n.removeClass("hidden"))):_(t)}}else s?_(t):window.alert(a.attr("data-no-place-found-error-message"));i.removeClass("loading"),t.is(":focus")||_(t)}))},b=function(t){if("localStorage"in window){var e=t.closest('[data-role="location-field"]').find('[data-role="select-list"]'),a=JSON.parse(window.localStorage.getItem("trip_places_history")||"[]").filter((function(t){return new Date-new Date(t.addedAt)<2592e5})).sort((function(t,e){return new Date(e.addedAt).getTime()-new Date(t.addedAt).getTime()})).filter((function(t,e){return e<10})).map((function(t){return t.markup}));0!==a.length&&e.html("<ul>"+a.join("")+"</ul>").removeClass("hidden")}},y=function(t){if("true"!==t.attr("aria-disabled")){var e=t.closest('[role="listbox"]');e.find('[role="option"]').removeClass("selected").removeAttr("aria-selected"),t.addClass("selected").attr("aria-selected",!0),A(e.closest('[data-role="location-field"]'),{name:t.find("> :not(.icon)").text(),value:t.attr("value"),isTrustworthy:!0}),function(t){if(0!==t.length&&"localStorage"in window&&"undefined"!==t.attr("value")){var e=JSON.parse(window.localStorage.getItem("trip_places_history")||"[]"),a={markup:t.removeClass("selected focused").removeAttr("aria-selected")[0].outerHTML,addedAt:new Date},i=e.find((function(t){return t.markup===a.markup}));i?(i.addedAt=new Date,e[e.indexOf(i)]=i):e.unshift(a),window.localStorage.setItem("trip_places_history",JSON.stringify(e))}}(t.clone())}},C=function(t){"true"!==t.attr("aria-disabled")&&(t.closest('[role="listbox"]').find('[role="option"]').removeClass("focused"),t.addClass("focused"))},_=function(t){t.closest('[data-role="location-field"]').find('[data-role="select-list"]').addClass("hidden")},S=function(t){return{name:t.find('input[type="text"]').val(),value:t.find('input[type="hidden"]').val(),isTrustworthy:t.data("isTrustworthy")}},A=function(t,e){t.find('input[type="text"]').val(e.name),t.find('input[type="hidden"]').val(e.value),t.data("isTrustworthy",!!e.isTrustworthy)},T=function(t,e){void 0===e&&(e=t.find('[data-role="filter-tooltip"]').is(".hidden")),t.find('[data-role="filter-tooltip"]').toggleClass("hidden",!e)},x=function(t){if(t.data("isInitialized"))return!0;var e=t.data("mapOptions"),a=t.closest('[data-module~="trip-calculator"]').find('[data-role="trip-request-form"]').attr("data-geolocation-error-message");if(e&&!t.data("map")){var i=new window.google.maps.Map(t.find("> div").get(0),e);if("geolocation"in window.navigator&&App.env.isSecureContext()){var n=$("<div></div>");!function(t,e,a){var i=$('<button class="trip-map-control"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 20 20"><path style="fill:currentColor" d="M10,0C4.5,0,0,4.5,0,10c0,5.5,4.5,10,10,10c5.5,0,10-4.5,10-10C20,4.5,15.5,0,10,0z M10.7,18.7C10.7,18.7,10.7,18.7,10.7,18.7l0-3.4c0-0.4-0.3-0.7-0.7-0.7S9.3,15,9.3,15.3v3.3c0,0,0,0,0,0C5,18.4,1.6,15,1.3,10.7c0,0,0,0,0.1,0h3.3c0.4,0,0.7-0.3,0.7-0.7S5,9.3,4.7,9.3H1.3c0,0,0,0-0.1,0C1.6,5,5,1.6,9.3,1.3c0,0,0,0,0,0.1v3.3C9.3,5,9.6,5.3,10,5.3s0.7-0.3,0.7-0.7V1.3c0,0,0,0,0-0.1C15,1.6,18.4,5,18.7,9.3c0,0,0,0,0,0h-3.3c-0.4,0-0.7,0.3-0.7,0.7s0.3,0.7,0.7,0.7h3.3c0,0,0,0,0,0C18.4,15,15,18.4,10.7,18.7z"/></svg></button>')[0];t.append(i),i.addEventListener("click",(function(){window.navigator.geolocation.getCurrentPosition((function(t){e.setCenter({lat:t.coords.latitude,lng:t.coords.longitude})}),(function(){window.alert(a),t.empty()}),{timeout:1e4})}))}(n,i,a),i.controls[window.google.maps.ControlPosition.RIGHT_TOP].push(n[0])}t.data("map",i),t.data("isInitialized",!0)}},k=function updateMap(t){if(void 0===window.google||!t.find('[data-role="trip-map"]').data("isInitialized"))return window.setTimeout((function(){updateMap(t)}),100),!1;var e=t.find('[data-role="trip-result-item"]').index(t.find('[data-role="trip-result-item"].selected')),a=t.data("state").trips,i=t.find('[data-role="trip-map"]');-1!==e?(i.removeClass("hidden"),E(i),I(i,a[e])):(i.addClass("hidden"),E(i))},I=function(t,e){var a=t.data("map"),CustomMarker=function(t,e,a,i){this.map_=t,this.symbol_=e,this.latlng_=a,this.tooltip_=i;var n=$(u(this.symbol_,40,{tagName:"div",classNames:["trip-map-marker"]}
680))[0];this.element_=n,this.setMap(t)};(CustomMarker.prototype=Object.create(window.google.maps.OverlayView.prototype)).getLatLng=function(){return this.latlng_},CustomMarker.prototype.draw=function(){var t=this,e=this.element_,a=this.getProjection().fromLatLngToDivPixel(this.latlng_);a&&(e.style.position="absolute",e.style.left=a.x-$(e).outerWidth(!0)/2+"px",e.style.top=a.y-$(e).outerHeight(!0)/2+"px"),window.google.maps.event.addDomListener(this.element_,"mouseenter",(function(e){e.stopPropagation(),t.tooltip_.setMap(t.map_)})),window.google.maps.event.addDomListener(this.element_,"mouseleave",(function(e){e.stopPropagation(),t.tooltip_.setMap(null)}))},CustomMarker.prototype.onAdd=function(){this.getPanes().overlayMouseTarget.appendChild(this.element_)},CustomMarker.prototype.onRemove=function(){this.element_.parentNode&&this.element_.parentNode.removeChild(this.element_)};var CustomTooltip=function(t,e,a){this.map_=t,this.content_=a,this.latlng_=e;var i=$('<div class="trip-map-tooltip">'+this.content_+"</div>")[0];this.element_=i,["click","dblclick","contextmenu","wheel","mousedown","touchstart","pointerdown"].forEach((function(t){i.addEventListener(t,(function(t){t.stopPropagation()}))}))};(CustomTooltip.prototype=Object.create(window.google.maps.OverlayView.prototype)).draw=function(){var t=this.element_,e=this.getProjection().fromLatLngToDivPixel(this.latlng_);e&&(t.style.position="absolute",t.style.width=$(t).outerWidth()+"px",t.style.height=$(t).outerHeight()+"px",t.style.left=e.x-$(t).outerWidth(!0)/2+"px",t.style.top=e.y-$(t).outerHeight(!0)/2*2.8+"px")},CustomTooltip.prototype.onAdd=function(){this.getPanes().floatPane.appendChild(this.element_)},CustomTooltip.prototype.onRemove=function(){this.element_.parentNode&&this.element_.parentNode.removeChild(this.element_)};var drawMarker=function(t,e,i){var n=new window.google.maps.LatLng(t.latitude,t.longitude),o=new CustomTooltip(a,n,i);return new CustomMarker(a,e,n,o)},i=e.parts.map((function(t,e){var a,i=h(t);return a=0===e||["99","100"].includes(t.meansOfTransport.type)?t.departure.name:0===t.meansOfTransport.destination.length?t.meansOfTransport.name:t.departure.name,i.isAccessible&&(a+='&nbsp; <span class="icon icon--wheelchair icon--size-20" title="'+p("accessible")+'" data-grunticon-embed></span>'),i.isSuitableForParkAndRide&&(a+='&nbsp; <span class="icon icon--park-and-ride icon--size-24" title="'+p("parkAndRideAvailable")+'" data-grunticon-embed></span>'),t.meansOfTransport.destination&&(a+='&nbsp <div class="trip-map-tooltip__destination"><span class="icon icon--direct-arrow-right icon--size-12 trip-map-tooltip__destination-icon" title="'+p("direction")+'" data-grunticon-embed></span>'+t.meansOfTransport.destination+"</div>"),drawMarker(t.departure.coordinates,t.meansOfTransport.symbol,a)})),n=e.parts.map((function(t){var e=new window.google.maps.Polyline({path:t.coordinates.map((function(t){return{lat:t.latitude,lng:t.longitude}})),strokeColor:["99","100"].includes(t.meansOfTransport.type)?"#6d6d6d":"#ff0000",strokeOpacity:.75,strokeWeight:4});return e.setMap(a),e})),o=e.parts[e.parts.length-1];i.push(drawMarker(o.arrival.coordinates,{shape:"DESTINATION"},o.arrival.name));var r=function(t){for(var e=new window.google.maps.LatLngBounds,a=0;a<t.length;a++)e.extend(t[a].getLatLng());return e}(i);r?a.fitBounds(r):(a.setCenter(i[0].getLatLng()),a.setZoom(15)),t.data("markers",i),t.data("lines",n)},E=function(t){var e=t.data("map"),a=t.data("mapOptions"),i=t.data("markers"),n=t.data("lines");(i||[]).forEach((function(t){t.setMap(null)})),(n||[]).forEach((function(t){t.setMap(null)})),e.setCenter(a.center),e.setZoom(a.zoom)},D=function(t){"geolocation"in window.navigator&&App.env.isSecureContext()?t.on("click",'[data-action="locate-user"]',(function(){!function(t){var e=t.closest('[data-role="location-field"]');e.addClass("loading"),window.navigator.geolocation.getCurrentPosition((function(e){w(t,[{name:"latitude",value:e.coords.latitude},{name:"longitude",value:e.coords.longitude}])}),(function(){window.alert(e.closest('[data-role="trip-request-form"]').attr("data-geolocation-error-message")),e.find('[data-action="locate-user"]').remove(),e.removeClass("loading")}),{timeout:1e4})}($(this).closest('[data-role="location-field"]').find('input[type="text"]'))})):t.find('[data-action="locate-user"]').remove()},L=function(t){var onBlurFilterTooltip=function(){window.setTimeout((function(){0===t.find('[data-role="filter-tooltip"] :focus').length&&T(t,!1)}),200)},getTooltipFormData=function(t){return t.find('input[type="radio"][name]:checked, input[type="checkbox"][name]:checked, input[type="range"][name], input[type="hidden"][name]').toArray().map((function(t){return{name:t.name,value:t.value}}))},e=t.find('[data-role="filter-tooltip"]'),a=getTooltipFormData(e);e.data("defaults",a),t.on("blur",'[data-action="toggle-filter-tooltip"]',onBlurFilterTooltip),e.on("blur","input, select, button",onBlurFilterTooltip),e.on("change","input",(function(){var a=t.find('[data-action="toggle-filter-tooltip"] > span:last'),i=function(t){var e=t.data("defaults"),a=getTooltipFormData(t),i=a.map((function(t){return t.name})).filter((function(t,e,a){return a.indexOf(t)===e}));return a.reduce((function(t,a){return i.includes(a.name)?(i.splice(i.indexOf(a.name),1),e.find((function(t){return t.name===a.name&&t.value===a.value}))?t:++t):t}),0)}(e);a.text(p("tooltipButtonLabel",[i])),0===i?(e.find('[data-action="confirm-filter"]').trigger("focus"),e.find('[data-action="reset-filter"]').prop("disabled",!0)):e.f
680ind('[data-action="reset-filter"]').prop("disabled",!1)})),e.on("click",'[data-action="reset-filter"]',(function(){!function(t,e){t.find('input[type="radio"][name], input[type="checkbox"][name], input[type="range"][name], input[type="hidden"][name]').each((function(){var t=this,a=$(this),i=e.find((function(e){return e.name===t.name}));a.is('[type="radio"]')?a.prop("checked",!!i&&a.is('[value="'+i.value+'"]')).trigger("change"):a.is('[type="checkbox"]')?a.prop("checked",!!i&&a.is('[name="'+i.name+'"]')).trigger("change"):i&&(a.is('[type="range"]')||a.is('[type="hidden"]'))&&a.val(i.value).trigger("change")}))}(e,a)})),e.on("click",'[data-action="confirm-filter"]',(function(){T(t,!1)}))},F=function(t){App.EfaClient.init(t.data("configuration")),function(t){var e=t.find('[data-role="trip-map"]'),a=t.data("configuration").mapsApiKey,i=["v=3","key="+a,"callback=App.TripCalculator.initMap"];if(0!==e.length){if(!a)return void window.alert("Missing API key for Google Maps!");$("body").append('<script src="https://maps.googleapis.com/maps/api/js?'+i.join("&")+'"><\/script>')}}(t),L(t),D(t),t.data("state",{}),t.on("click",'[data-action="switch-origin-with-destination"]',(function(){!function(t){var e=t.find('input[name="origin"]').closest('[data-role~="location-field"]'),a=t.find('input[name="destination"]').closest('[data-role~="location-field"]'),i=S(e),n=S(a);A(e,n),A(a,i)}(t)})),t.on("click",'[data-action="toggle-filter-tooltip"]',(function(){T(t)})),t.on("focus",'[data-role="location-field"] input[type="text"]',(function(t){var e=$(this);e[0].setSelectionRange(0,this.value.length),0===e.val().length&&b(e)})),t.on("keyup",'[data-role="location-field"] input[type="text"]',window._.debounce((function(){var t=$(this),e=$(this).closest('[data-role="location-field"]'),a=t.val();A(e,{name:a,value:"",isTrustworthy:!1}),0===a.length?b(t):function(t){w(t)}(t)}),500)),t.on("blur",'[data-role="location-field"] input[type="text"]',(function(t){var e=$(this),a=$(this).closest('[data-role="location-field"]');window.setTimeout((function(){_(e),S(a).isTrustworthy||e.val("")}),200)})),t.on("click",'[data-role="select-list"] [role="option"]',(function(){var t=$(this).closest('[data-role="location-field"]').find('input[type="text"]');C($(this)),y($(this)),_(t)})),t.on("keydown",'[data-role="location-field"] input[type="text"]',(function(t){var e=$(this),s=e.closest('[data-role="location-field"]').find('[data-role="select-list"]');s.is(":visible")&&function(t,e,s){var l;switch(t.which||t.keyCode){case a:t.preventDefault(),0!==(l=e.find('[role="option"].focused')).length?C(l.prev('[role="option"]:not([aria-disabled="true"])')):C(e.find('[role="option"]:not([aria-disabled="true"]):last'));break;case i:t.preventDefault(),0!==(l=e.find('[role="option"].focused')).length?C(l.next('[role="option"]:not([aria-disabled="true"])')):C(e.find('[role="option"]:not([aria-disabled="true"]):first'));break;case n:t.preventDefault(),l=e.find('[role="option"].focused'),y(l),_(s);break;case r:l=e.find('[role="option"].focused'),y(l),_(s);break;case o:t.preventDefault(),_(s)}}(t,s,e)})),t.on("focus",'[data-role="trip-result-item"]',(function(){var e=$
680(this);v(t,e),e.find(".trip-result-item__details").removeClass("trip-result-item__details--hidden"),window.setTimeout((function(){e.is('[data-module="collapsible"].collapsed')&&App.Collapsible.expand(e)}),100)})),t.on("click",'[data-action="show-earlier-trips"]',(function(e){e.preventDefault(),c(t,"PREV")})),t.on("click",'[data-action="show-later-trips"]',(function(e){e.preventDefault(),c(t,"NEXT")})),t.on("click",'[data-module~="date-time-field"] [data-action="confirm"], [data-role="filter-tooltip"] [data-action="confirm-filter"]',(function(t){var e=$(this).closest('[data-role="trip-request-form"]');window.setTimeout((function(){e.trigger("submit")}),200)})),t.on("change",'[name="tripMode"], [name="dateTimeType"]',(function(t){var e=$(this).closest('[data-role="trip-request-form"]');window.setTimeout((function(){e.trigger("submit")}),200)})),t.on("submit",'[data-role="trip-request-form"]',(function(e){e.preventDefault(),c(t)}))},{init:function(){$('[data-module~="trip-calculator"]').each((function(){F($(this))}))},initMap:function(){if(void 0===window.google)return!1;$('[data-module~="trip-calculator"]').each((function(){var t=$(this).find('[data-role="trip-map"]').append("<div></div>");if(0!==t.length){var e={zoom:10,center:new window.google.maps.LatLng(47.8095,13.055),gestureHandling:"cooperative",mapTypeControl:!1,streetViewControl:!1,fullscreenControl:!1,clickableIcons:!1,mapTypeId:"roadmap"};t.data("mapOptions",e),x(t)}}))}})},KFRo:function(t,e){window.App=window.App||{},App.ProductImages={init:function(){$('[data-module~="product-images"]').each((function(){!function(t){if(App.env.isEditMode()&&App.env.isIframe())t.find('[data-role="slider-slide"]').addClass("animate-in");else if(t.find('[data-role="slider-slide"]').length<=1)t.find('[data-role="slider-slide"]').addClass("animate-in");else{var e=new window.Swiper(t[0],{init:!1,effect:"fade",pagination:{el:".swiper-pagination",renderBullet:function(e,a){return'<div class="'+a+' product-header__pagination-bullet" tabindex="'+e+'" role="button" aria-label="Go to slide '+e+'">'+t.find(".swiper-slide:eq("+e+') [data-role="slider-thumb-clone"]').html()+"</div>"},type:"bullets",clickable:!0}});e.on("init slideChangeTransitionEnd",(function(){var e=t.find('[data-role="slider-slide"]');e.eq(this.previousIndex).removeClass("animate-in"),e.eq(this.activeIndex).addClass("animate-in")})),$(window).on("load",(function(){e.update()})),t.on("lazybeforeunveil","img",(function onLazyBeforeUnveil(){t.off("lazybeforeunveil","img",onLazyBeforeUnveil),e.update()})),t.find(".swiper-slide").each((function(){App.FUNCTIONS.isEmpty(this)&&$(this).removeClass("swiper-slide").attr("data-role","slider-slide--empty")})),e.init()}}($(this))}))}}},L5FS:function(t,e){var a,i,n,o,r,s,l,d,c,u,p,f,h,m,v,g;window.App=window.App||{},App.SlidableNavigation=(o=0,r="",s=function(t){if(t.hasClass("main-navigation")?r="main-navigation":t.hasClass("top-navigation")&&(r="top-navigation"),""!==r){var e=t.find("."+r+"__level.scrollable");i=t.find("."+r+"__scroll-arrow-container"),d(e,t)>0?i.removeClass(r+"__scroll-arrow-container--hidden"):i.addClass(r+"__scroll-arrow-container--hidden")}},l=function checkScrollArrowVisibility(t){void 0!==i&&i.length&&(t.scrollTop()+t.height()>=t.get(0).scrollHeight?i.addClass(r+"__scroll-arrow-container--hidden"):i.removeClass(r+"__scroll-arrow-container--hidden")),void 0!==window.requestAnimationFrame&&(a=window.requestAnimationFrame((function(){checkScrollArrowVisibility(t)})))},d=function(t,e){var a,i,n;if("top-navigation"===r){a=t.children(".top-navigation__back-link").first();var o=$(".layout-header__search").height();return(n=t.children(".top-navigation__list").first().height())-(i=a.length?t.height()-o-a.height():t.height()-o)}if("main-navigation"===r){var s=e.find(".main-navigation__panel-grid");return a=t.children(".main-navigation__list-back-link").first(),i=t.height(),t.children(".main-navigation__list").length?n=t.children(".main-navigation__list").first().height():t.children(".main-navigation__panel-grid").length&&(n=t.children(".main-navigation__panel-grid").first().height()),a.length?(i=t.height()-a.height(),s.css({height:i+"px"})):s.css({height:""}),n-i}},c=function(t,e){e.find('[data-role="visible-label"]').addClass("hidden"),e.find('[data-role="hidden-label"]').removeClass("hidden"),$('[data-role="layout-header"]').removeClass("fullscreen search-accessible"),$("html, body").removeClass("body--no-scroll"),t.addClass("hidden"),t.find('[data-role="navigation-level"]').removeClass("scrollable shifted"),function(t){t.find('[data-role="navigation-level"]').css({height:""})}(t)}
680,u=function(t,e,a,i){if(e.find('[data-role="visible-label"]').removeClass("hidden"),e.find('[data-role="hidden-label"]').addClass("hidden"),a){$('[data-role="layout-header"]').addClass("fullscreen"),$("html, body").addClass("body--no-scroll");var n=t.find('[data-role="navigation-level"]:first');n.addClass("scrollable"),t.find('[data-role="navigation-level"]:not(:first)').addClass("hidden"),t.hasClass("main-navigation")&&n.find(".main-navigation__panel-link-label").find(".mobile-only").removeClass("hidden");var o,r=t.find('[data-action="service-menu-mobile"]');r.removeClass("selected"),r.find(".selected").length&&r.addClass("selected"),t.hasClass("top-navigation")?o=t.find(".selected"):t.hasClass("main-navigation")&&(o=t.find(".active"));for(var s="",l=0;l<o.length;l++)$(o[l]).hasClass("main-navigation__list-item")||$(o[l]).hasClass("main-navigation__panel-item")?s=".main-navigation__level":$(o[l]).hasClass("top-navigation__item")&&(s=".top-navigation__level"),$(o[l]).parents(s).first().removeClass("scrollable").removeClass("hidden").addClass("shifted");var d=o.last().parents(s).first();d.removeClass("hidden").removeClass("shifted").addClass("scrollable"),f(t.children().first(),d),t.on("keydown",(function(a){"Escape"===a.key&&c(t,e)})),d.parent().hasClass("main-navigation")||d.parent().hasClass("top-navigation")||(d.parents('[data-module~="slidable-navigation"]').addClass("navigation-active"),d.parents('[data-module~="slidable-navigation"]').parent().find(".top-navigation, .main-navigation").addClass("other-navigation-active"))}a&&i&&$('[data-role="layout-header"]').addClass("search-accessible"),t.removeClass("hidden")},p=function(t){$('[data-module~="slidable-navigation"][data-media="'+t+'"]').on("click.slideableNavigation","a",(function(t){var e=$(this).closest('[data-role="navigation-level"]'),a=$(this).closest('[data-role="navigation-item"]').find('[data-role="navigation-level"]:first'),i=$(this).closest('[data-role="navigation-level"]').find('[data-role="navigation-level"]');f(e,a),a.length>0&&(t.preventDefault(),e.parents('[data-module~="slidable-navigation"]').addClass("navigation-active"),e.parents('[data-module~="slidable-navigation"]').parent().find(".top-navigation, .main-navigation").addClass("other-navigation-active"),i.not(a).addClass("hidden"),a.removeClass("hidden").addClass("scrollable"),e.addClass("shifted").removeClass("scrollable"),e.hasClass("main-navigation__level")?s(e.parents('[data-module="main-navigation slidable-navigation"]').first()):e.hasClass("top-navigation__level")&&s(e.parents('[data-module="slidable-navigation"]').first()))})),$('[data-module~="slidable-navigation"][data-media="'+t+'"]').on("click.slideableNavigation",'[data-action="navigate-up"]',(function(t){var e=$(this).parents('[data-role="navigation-level"]').eq(0),a=$(this).parents('[data-role="navigation-level"]').eq(1);f(e,a),t.preventDefault(),e.scrollTop(0).addClass("hidden").removeClass("scrollable"),a.removeClass("shifted").addClass("scrollable"),(a.parent().hasClass("main-navigation")||a.parent().hasClass("top-navigation"))&&(e.parents('[data-module~="slidable-navigation"]').removeClass("navigation-active"),e.parents('[data-module~="slidable-navigation"]').parent().find(".top-navigation, .main-navigation").removeClass("other-navigation-active")),e.hasClass("main-navigation__level")?s(e.parents('[data-module="main-navigation slidable-navigation"]').first()):e.hasClass("top-navigation__level")&&s(e.parents('[data-module="slidable-navigation"]').first())})),$(window).on("resize.slideableNavigation",(function(){$('[data-module~="slidable-navigation"][data-media="'+t+'"]').each((function(){var t,e;$(this).is(".hidden")||(t=$(this),e=$('[data-role="layout-header"]'),t.find('[data-role="navigation-level"]'),e.hasClass("affix")?$('[data-role="layout-header"]').one("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",(function(){s(t)})):window.setTimeout((function(){s(t)}),100))}))}))},f=function(t,e){e[0]?(t.children("ul").first().children("li").each((function(){$(this).children("a").first().attr("tabindex",-1)})),t.children("button").first().attr("tabindex",-1),e.children("ul").first().children("li").each((function(){$(this).children("a").first().attr("tabindex",0)})),e.children("button").first().attr("tabindex",0),setTimeout((function(){e.find("button, a").first().focus()}),100),e.find(".main-navigation__panel-grid")[0]?e.parent().parent().find(".top-navigation__list").first().find("a").last().on("keydown",(function(t){"Tab"!==t.key||t.shiftKey||(t.preventDefault(),e.find("button, a").first().focus())})):e.children("ul").first().children("li").last().children("a").first().on("keydown",(function(t){"Tab"!==t.key||t.shiftKey||(t.preventDefault(),e.find("button, a").first().focus())}))):(setTimeout((function(){t.children().first().find("a").first().focus()}),100),t.parent().parent().find(".top-navigation__list").first().find("a").last().on("keydown",(function(e){"Tab"!==e.key||e.shiftKey||(e.preventDefault(),t.find("button, a").first().focus())})))},h=function(t,e,a){$("body").on("click.slideableNavigation",'[data-action="toggle-top-navigation"][data-media="'+t+'"]',(function(t){var e=$
680('[data-action="toggle-top-navigation"]'),i=$(".top-navigation");t.preventDefault(),i.is(".hidden")?(o=$(window).scrollTop(),u(i,e,a,!0),u($(".main-navigation"),e,a,!1),m($(".layout-header__navigations"))):(c(i,e),c($(".main-navigation"),e),window.scrollTo(0,o),g())}))},m=function(t){n=t,void 0!==window.requestAnimationFrame?window.requestAnimationFrame((function(){l(n)})):n.on("scroll.checkMobileArrowVisibility",l)},v=function(t){var e=$('[data-action="toggle-top-navigation"]'),a=$(".top-navigation");a.is(".hidden")||c(a,e),$("body").off("click.slideableNavigation",'[data-action="toggle-top-navigation"][data-media="'+t+'"]')},g=function(){void 0!==window.requestAnimationFrame?window.cancelAnimationFrame(a):n.off("scroll.checkMobileArrowVisibility")},{init:function(){window.enquire.register("screen and (max-width: "+App.breakpoints.max.tablet+"px)",{match:function(){var t,e,a;p("max:sm"),h("max:sm",0,!0),t="max:sm",e=!0,a=!0,$("body").on("click.slideableNavigation",'[data-action="toggle-main-navigation"][data-media="'+t+'"]',(function(t){var i=$('[data-action="toggle-main-navigation"]'),n=$(".main-navigation");t.preventDefault(),n.is(".hidden")?(o=$(window).scrollTop(),e&&c($(".top-navigation"),$('[data-action="toggle-top-navigation"]')),u(n,i,a,!1),n.find(".main-navigation__scroll-arrow-container").removeClass("hidden"),m($(".main-navigation"))):(c(n,i),n.find(".main-navigation__scroll-arrow-container").addClass("hidden"),window.scrollTo(0,o),g())}))},unmatch:function(){var t;t="max:sm",$('[data-module~="slidable-navigation"][data-media="'+t+'"]').off("
680click.slideableNavigation","a"),$('[data-module~="slidable-navigation"][data-media="'+t+'"]').off("click.slideableNavigation",'[data-action="navigate-up"]'),$(window).off("resize.slideableNavigation"),g(),v("max:sm"),function(t){var e=$('[data-action="toggle-main-navigation"]'),a=$(".main-navigation");a.is(".hidden")||c(a,e),$("body").off("click.slideableNavigation",'[data-action="toggle-main-navigation"][data-media="'+t+'"]')}("max:sm")}}),window.enquire.register("screen and (min-width: "+App.breakpoints.min.tablet+"px)",{match:function(){h("min:md",0,!1)},unmatch:function(){v("min:md")}})}})},QSQ2:function(t,e){window.App=window.App||{},App.TopicMediaSlider={init:function(){$('[data-module~="topic-media-slider"]').each((function(){!function(t){if(!(t.find('[data-role="slider-slide"]').length<=1)){t.find(".figure__caption").length>0&&t.find('[data-role="slider-pagination"]').addClass("topic-media__slider-pagination--caption");var e=new window.Swiper(t[0],{init:!1,pagination:{el:".swiper-pagination",type:"bullets",clickable:!0}});e.on("init",(function(t){this.slides.length<=this.params.slidesPerView?$(this.pagination.el).hide():$(this.pagination.el).show()})),t.find(".swiper-slide").each((function(){App.FUNCTIONS.isEmpty(this)&&$(this).removeClass("swiper-slide").attr("data-role","slider-slide--empty")})),e.init(),$(window).on("load",(function(){e.update()})),t.on("lazybeforeunveil","img",(function onLazyBeforeUnveil(){t.off("lazybeforeunveil","img",onLazyBeforeUnveil),e.update()}))}}($(this))}))}}},RdjW:function(t,e,a){"use strict";a.r(e);var i=a("Xkac"),n=a("K2EL"),o=a("E0+D"),r=a("IbKI"),s=a("lahl"),l=a("uti1"),d=a("EVdn"),c=a.n(d),u=function(){function PriceAdjustionClauseForm(t){this.$element=t,this.$editButtonTemplate=this.$element.find('[data-role="edit-button"]'),this.initModule()}return PriceAdjustionClauseForm.prototype.initModule=function(){var t=this;this.$element.find('[data-step="partner"]').data("step-validate",(function(e){return t.validatePartnerSectionAndShowAmount(e)})),this.$element.on("step-changed",'[data-role="form-step"]',(function(e){c()(e.currentTarget).next().is(":last-child")&&t.createSummary()})),this.$element.on("click",'[data-role="edit-button"]',(function(e){t.goToStep(c()(e.currentTarget).data("step"))}))},PriceAdjustionClauseForm.prototype.createSummary=function(){var t=this,e=this.$element.find('[data-role="fieldset"]'),a=this.$element.find('[data-role="summary"]');a.html(""),e.each((function(e,i){var n=c()(i).find("input, textarea, select, .h5").filter(':not(:disabled, [type="hidden"], .h5.hidden, [data-role="iban-raw"], [data-module="date-select"] select)');if(n.length>0){var o=c()(i).find(".h3:not(.hidden)").text(),r=c()('<div class="price-adjustion-clause-form__summary-item"></div>'),s=t.$editButtonTemplate.clone();s.removeClass("hidden"),s.data("step",e),r.append('<div class="h4 price-adjustion-clause-form__summary-header">'+o+"</div>"),r.find(".price-adjustion-clause-form__summary-header").append(s),n.each((function(t,e){var a=c()(e),i=a.attr("id");a.is("select")&&(i=a.siblings(".select-field__trigger").attr("id"));var n=c()('label[for="'+i+'"]');if(a.is(".h5"))r.append('<div class="h5 price-adjustion-clause-form__summary-subheader">'+a.contents().not(a.children()).text()+" "+a.find('[data-role="inverter-index"]').text()+"</div>");else if(a.is(":radio, :checkbox")){if(a.is(":checked")){var o=n.find(".radiobutton__label, .checkbox__label").text().trim();r.append("<p>"+o+"</p>")}else if(a.is(":checkbox")){o=a.parents("[data-empty-text]").data("empty-text").trim();r.append("<p>"+o+"</p>")}}else if(a.parents('[data-module="date-select"]').length>0){var s=a.parents('[data-module="date-select"]'),l=s.parents('[data-role="form-field"]').find("label").text().trim()+": ",d=[];s.find("select").each((function(t,e){var a=c()(e).val();0===t&&(a+="."),d.push(a)})),r.append("<p>"+l+d.join(" ")+"</p>")}else{l="";n.length>0&&(l=n.find(".form-field__label--tooltip-label-text").length>0?n.find(".form-field__label--tooltip-label-text").text().trim()+": ":n.contents().not(n.children()).text().trim()+": "),a.is("select")?r.append("<p>"+l+a.find('option[value="'+a.val()+'"]').html()+"</p>"):r.append("<p>"+l+a.val()+"</p>")}})),a.append(r)}}))},PriceAdjustionClauseForm.prototype.validatePartnerSectionAndShowAmount=function(t){var e=this,a=c.a.Deferred(),i=t.find('[name="partnerNr"]'),n=t.data("service-url");return App.DefaultForm.validateSection(t).then((function(){c.a.ajax({dataType:"json",type:"GET",url:n,data:{gpNr:i.val()}}).done((function(i){if(i.success){var n=e.$element.find('[data-role="bank-data-text"]'),o=parseFloat(i.repayAmount);e.$element.find('[data-role="bank-data-text-target"]').html(n.html().replace("###BETRAG###",new Intl.NumberFormat("de-AT",{style:"currency",currency:"EUR"}
680).format(o))),a.resolve(t)}else showError(i.message),a.reject(t)})).fail((function(e,i,n){showError("Service nicht erreichbar!"),a.reject(t)}));var showError=function(t){var e=i.closest('[data-role="form-field"]');e.addClass("with-error"),e.find('[data-role="error-label"]').text(t)}})),a.promise()},PriceAdjustionClauseForm.prototype.goToStep=function(t){this.$element.data("multi-step-form").goTo(t)},PriceAdjustionClauseForm}(),p=a("fIE9"),f=function(){function StationList(t){this.CLASS_NAMES={FILTER_OPTIONS_HIDDEN:"station-list__filter-select-options--hidden",CHIP_LEFT:"station-list__switch-chip--left",CHIP_RIGHT:"station-list__switch-chip--right",LOADING_INDICATOR_VISIBLE:"station-list__loader--visible"},this.$body=c()("body"),this.$element=t,this.$searchInput=this.$element.find('[data-role="search-input"]'),this.$clearSearch=this.$element.find('[data-action="clear-search"]'),this.$filterBar=this.$element.find('[data-role="filter-bar"]'),this.$filterSelects=this.$filterBar.find('[data-role="filter-select"]'),this.$filterSelectToggles=this.$filterBar.find('[data-action="filter-toggle"]'),this.$filterSelectOptions=this.$filterBar.find('[data-role="filter-options"]'),this.$currentToggle=void 0,this.$currentOptions=void 0,this.$switchTV=this.$element.find('[data-action="switch-tv"]'),this.$switchRadio=this.$element.find('[data-action="switch-radio"]'),this.$switchChip=this.$element.find('[data-role="switch-chip"]'),this.$filtersTv=this.$element.find('[data-role="filters-tv"]'),this.$filtersRadio=this.$element.find('[data-role="filters-radio"]'),this.$openFilterOverlay=this.$element.find('[data-action="open-filter-overlay"]'),this.$filterOverlay=this.$element.find('[data-role="station-list-filter-overlay"]'),this.$closeFilterOverlay=this.$element.find('[data-action="close-filter-overlay"]'),this.$applyFilterOverlay=this.$element.find('[data-action="apply-filters"]'),this.$filterCategories=this.$element.find('[data-role="filter-category"]'),this.$filterBlocks=this.$element.find("[data-filter-id]"),this.$resetAll=this.$element.find('[data-action="reset-all"]'),this.$loader=this.$element.find('[data-role="loader"]'),this.$tableContainer=this.$element.find('[data-role="table-container"]'),this.$tableContainerPlaceholder=this.$element.find('[data-role="table-container-placeholder"]'),this.searchQuery="",this.media="tv",this.filter={tv:{},radio:{}},this.scrollPosition=0,this.overlayOpen=!1,this.baseUrl=this.$element.attr("data-stations-url"),this.page=1,this.initSearchInput(),this.initFilterSelect(),this.initSwitch(),this.initFilterOverlay(),this.initFilters(),this.buildPagination(),this.fadeInTable()}return StationList.prototype.initSearchInput=function(){var t=this,e=window._.debounce(this.update.bind(this),300);this.$searchInput.on("input",(function(a){t.searchQuery=a.currentTarget.value,t.$clearSearch.toggleClass("hidden",""===t.searchQuery),e()})),this.$clearSearch.on("click",(function(){t.searchQuery="",t.$searchInput.val(""),t.$clearSearch.addClass("hidden"),t.page=1,t.update()}))},StationList.prototype.initFilterSelect=function(){var t=this;this.$filterSelectOptions.removeClass("hidden"),this.$filterSelects.each((function(e,a){var i=c()(a).find('[data-action="filter-toggle"]'),n=c()(a).find('[data-role="filter-options"]');i.on("click",(function(e){e.preventDefault(),e.stopPropagation(),t.$currentToggle=i,t.$currentOptions=n,t.$filterSelectToggles.not(t.$currentToggle).removeClass("active"),t.$filterSelectOptions.not(t.$currentOptions).addClass(t.CLASS_NAMES.FILTER_OPTIONS_HIDDEN);var a=!t.$currentOptions.hasClass(t.CLASS_NAMES.FILTER_OPTIONS_HIDDEN);t.$currentToggle.toggleClass("active",!a),t.$currentOptions.toggleClass(t.CLASS_NAMES.FILTER_OPTIONS_HIDDEN,a),document.addEventListener("click",t.closeFilters.bind(t))}))}))},StationList.prototype.closeFilters=function(t){!t.composedPath().includes(this.$currentOptions[0])&&(this.$filterSelectToggles.removeClass("active"),this.$filterSelectOptions.addClass(this.CLASS_NAMES.FILTER_OPTIONS_HIDDEN),document.removeEventListener("click",this.closeFilters.bind(this)))},StationList.prototype.initSwitch=function(){var t=this;this.$switchTV.on("click",(function(){"tv"!==t.media&&(t.$switchTV.addClass("active"),t.$switchRadio.removeClass("active"),t.$switchChip.removeClass(t.CLASS_NAMES.CHIP_RIGHT).addClass(t.CLASS_NAMES.CHIP_LEFT),t.media="tv",t.$filtersTv.removeClass("hidden"),t.$filtersRadio.addClass("hidden"),t.updateActiveFilterCount(),t.page=1,t.searchQuery="",t.$searchInput.val(""),t.$clearSearch.addClass("hidden"),t.update(
680))})),this.$switchRadio.on("click",(function(){"radio"!==t.media&&(t.$switchTV.removeClass("active"),t.$switchRadio.addClass("active"),t.$switchChip.removeClass(t.CLASS_NAMES.CHIP_LEFT).addClass(t.CLASS_NAMES.CHIP_RIGHT),t.media="radio",t.$filtersTv.addClass("hidden"),t.$filtersRadio.removeClass("hidden"),t.updateActiveFilterCount(),t.page=1,t.searchQuery="",t.$searchInput.val(""),t.$clearSearch.addClass("hidden"),t.update())}))},StationList.prototype.initFilterOverlay=function(){var t=this;this.$openFilterOverlay.on("click",(function(){t.openFilterOverlay()})),this.$closeFilterOverlay.on("click",(function(){t.closeFilterOverlay()})),this.$applyFilterOverlay.on("click",(function(){t.page=1,t.update(),t.closeFilterOverlay()}))},StationList.prototype.openFilterOverlay=function(){var t=this;this.scrollPosition=c()(window).scrollTop(),this.$filterOverlay.removeClass("hidden").attr("aria-expanded",!0),StationList.setOverlayHeight(this.$filterOverlay),this.setContentHeight(),c()(window).on("resize.stationListOverlay",(function(){StationList.setOverlayHeight(t.$filterOverlay),t.setContentHeight(),c()(window).width()>=App.breakpoints.min.md&&t.closeFilterOverlay()})),this.$body.addClass("body--fixed-scroll"),this.overlayOpen=!0,window.scrollTo(0,0)},StationList.prototype.closeFilterOverlay=function(){this.$filterOverlay.addClass("hidden").attr("aria-expanded",!1),this.$filterOverlay.css({maxHeight:""}),this.$body.removeClass("body--fixed-scroll"),this.overlayOpen=!1,window.scrollTo(0,this.scrollPosition)},StationList.setOverlayHeight=function(t){t.css({height:c()(window).height()+"px"})},StationList.prototype.setContentHeight=function(){var t=this.$filterOverlay.find('[data-role="overlay-content"]'),e=this.$filterOverlay.find('[data-role="overlay-header"]'),a=this.$filterOverlay.find('[data-role="overlay-footer"]');t.css({height:c()(window).height()-e.outerHeight()-a.outerHeight()+"px"}),t.scrollTop(0)},StationList.prototype.initFilters=function(){var t=this;this.$filterCategories.each((function(e,a){c()(a).find('input[type="checkbox"]').on("change",(function(e){var a;t.$element.find('[data-role="filters-'+t.media+'"]').find('input[name="'+e.target.name+'"]').prop("checked",e.target.checked);var i=c()(e.target).closest("[data-filter-id]").attr("data-filter-id");void 0===t.filter[t.media][i]?t.filter[t.media][i]=((a={})[e.target.name]=e.target.checked,a):t.filter[t.media][i][e.target.name]=e.target.checked,t.updateActiveFilterCount(),c()(window).width()>=App.breakpoints.min.md&&(t.page=1,t.update())}))})),this.$filterBlocks.each((function(e,a){var i=c()(a).find('input[type="checkbox"]');c()(a).find('[data-action="reset-category"]').on("click",(function(e){e.preventDefault(),e.stopPropagation(),i.each((function(t,e){c()(e).prop("checked",!1),c()(e).trigger("change")})),t.$filterSelectToggles.removeClass("active"),t.$filterSelectOptions.addClass(t.CLASS_NAMES.FILTER_OPTIONS_HIDDEN)}))})),this.$resetAll.on("click",(function(e){e.preventDefault(),t.$element.find('input[type="checkbox"]').each((function(t,e){c()(e).prop("checked",!1),c()(e).trigger("change")}))}))},StationList.prototype.buildPagination=function(){this.buildPaginationForMedia("tv"),this.buildPaginationForMedia("radio"),this.initPaginationNavigation()},StationList.prototype.buildPaginationForMedia=function(t){var e=this,a=this.$element.find('[data-role="station-list-'+t+'"] [data-role="page-wrapper"]'),i=this.$element.find('[data-role="station-list-'+t+'"] [data-role="pagination-container"]'),n=parseInt(a.attr("data-num-pages"));this.page=parseInt(a.attr("data-current-page")),isNaN(this.page)&&(this.page=1);for(var o=1;o<=n;o++)i.append('\n                <div \n                    class="pagination__item '+(o===this.page?"active":"")+'"\n                    data-page-index="'+o+'"\n                    data-action="go-to-page"\n                >\n                    '+o+"\n                </div>\n            ");i.find('[data-action="go-to-page"]').on("click",(function(t){e.page=parseInt(c()(t.target).attr("data-page-index")),e.update()}))},StationList.prototype.initPaginationNavigation=function(){var t=this,e=this.$element.find('[data-role="station-list-'+this.media+'"] [data-role="page-wrapper"]'),a=this.$element.find('[data-role="station-list-'+this.media+'"] [data-role="pagination-wrapper"]'),i=parseInt(e.attr("data-num-pages")),n=a.find('[data-action="previous-page"]'),o=a.find('[data-action="next-page"]');n.on("click",(function(){var e=parseInt(a.find(".pagination__item.active").attr("data-page-index"));
680t.page=e-1,t.update()})),o.on("click",(function(){var e=parseInt(a.find(".pagination__item.active").attr("data-page-index"));t.page=e+1,t.update()}));var r=parseInt(a.find(".pagination__item.active").attr("data-page-index"));n.toggleClass("disabled",1===r),o.toggleClass("disabled",i===r)},StationList.prototype.setMediaVisibility=function(){"tv"===this.media&&(this.$element.find('[data-role="station-list-tv"]').removeClass("hidden"),this.$element.find('[data-role="station-list-radio"]').addClass("hidden")),"radio"===this.media&&(this.$element.find('[data-role="station-list-tv"]').addClass("hidden"),this.$element.find('[data-role="station-list-radio"]').removeClass("hidden"))},StationList.prototype.updateActiveFilterCount=function(){var t=0,e=this.$element.find('[data-role="filters-'+this.media+'"]');Object.entries(this.filter[this.media]).forEach((function(a){var i=Object.keys(a[1]).filter((function(t){return a[1][t]})).map(String),n=e.find('[data-filter-id="'+a[0]+'"]');n.attr("data-active-filter-count",i.length),n.toggleClass("active",i.length>0),t+=i.length})),this.$openFilterOverlay.toggleClass("active",t>0),this.$filterOverlay.toggleClass("active",t>0)},StationList.prototype.getUrlParams=function(){return Object.entries(this.filter[this.media]).map((function(t){return Object.keys(t[1]).filter((function(e){return t[1][e]})).map(String).map((function(e){return t[0]+"="+e})).join("&")})).filter((function(t){return""!==t.trim()})).join("&").replace(/&\s*$/,"")},StationList.prototype.load=function(t){var e=c.a.Deferred();return c.a.ajax({accepts:"text/html",dataType:"html",type:"GET",url:t}).done((function(t){e.resolve(t,!0)})).fail((function(t){e.resolve(t.responseText,!1)})),e.promise()},StationList.prototype.update=function(){var t=this,e=this.getUrlParams(),a=[],i=new Date;this.searchQuery&&a.push("q="+this.searchQuery),a.push("page="+this.page),this.$loader.addClass(this.CLASS_NAMES.LOADING_INDICATOR_VISIBLE),this.$tableContainer.addClass("hidden"),this.clearTable(),this.$tableContainerPlaceholder.removeClass("hidden"),App.FUNCTIONS.performantScrollBody(this.$filterBar.offset().top-230,200);var n=a.join("&"),o=this.baseUrl+"?"+[e,n].filter(Boolean).join("&");this.load(o).then((function(e){var a=new Date,n=Math.max(1,400-(a.getTime()-i.getTime()));t.$tableContainer.html(e),App.Collapsible.init(t.$tableContainer.find('[data-module~="collapsible"]')),t.buildPagination(),t.setMediaVisibility(),t.initUKWFrequencyDisplayForRegion(),window.setTimeout((function(){t.$loader.removeClass(t.CLASS_NAMES.LOADING_INDICATOR_VISIBLE),t.$tableContainerPlaceholder.addClass("hidden"),t.$tableContainer.removeClass("hidden")}),n)}))},StationList.prototype.clearTable=function(){this.$tableContainer.html("")},StationList.prototype.initUKWFrequencyDisplayForRegion=function(){var t=this;if("radio"===this.media&&this.filter.radio.regions){var e=Object.keys(this.filter.radio.regions).filter((function(e){return t.filter.radio.regions[e]}));1===e.length?this.$element.find('[data-media-row="radio"]').each((function(t,a){c()(a).find('[data-role="ukw-region-frequencies"]').find("[data-region-frequency]").each((function(t,i){var n=c()(i).find("[data-region-name]").attr("data-region-name"),o=c()(i).attr("data-region-frequency");n.includes(e[0])&&(c()(a).find('[data-role="ukw-default-icon"]').addClass("hidden"),c()(a).find('[data-role="ukw-frequency-icon"]').removeClass("hidden"),c()(a).find('[data-role="ukw-frequency-value"]').html(o))}))})):this.$element.find('[data-media-row="radio"]').each((function(t,e){c()(e).find('[data-role="ukw-default-icon"]').removeClass("hidden"),c()(e).find('[data-role="ukw-frequency-icon"]').addClass("hidden")}))}},StationList.prototype.fadeInTable=function(){this.$loader.removeClass(this.CLASS_NAMES.LOADING_INDICATOR_VISIBLE),this.$tableContainer.removeClass("hidden")},StationList}(),h=a("BDTm"),m=function(){function EMobilityCalculator(t){this.powerConsumption=-1,this.powerRate=-1,this.totalPowerRate=-1,this.fuelConsumption=-1,this.fuelPrice=-1,this.electricCarPrice=0,this.combustionEngineCarPrice=0,this.calculationShown=!1,this.CLASS_NAMES={CLEAR_SELECT_HIDDEN:"e-mobility-calculator__clear-select-button--hidden",RESULT_CONTAINER_HIDDEN:"e-mobility-calculator__result--hidden",RESULT_SHOW_CALCULATION_BUTTON_HIDDEN:"e-mobility-calculator__show-calculation-button--hidden",RESULT_SHOW_CALCULATION:"e-mobility-calculator__result--show-calculation",RESULT_CALCULATION_VISIBLE:"e-mobility-calculator__result-calculation--visible"},this.$element=t,this.$numberInputWrappers=this.$element.find('[data-role="number-input"]'),this.$rateSelect=this.$element.find('select[name="powerRate"]'),this.$clearRateSelect=this.$element.find('[data-action="clear-select"]'),this.$conditionalRateField=this.$element.find('[data-conditional-no-rate="true"]'),this.$buttonCalculate=this.$element.find('[data-action="calculate"]'),this.$buttonShowCalculation=this.$element.find('[data-action="show-calculation"]'),this.$buttonShowCalculation.removeClass("hidden"),this.$resultContainer=this.$element.find('[data-role="result"]'),this.$resultContainer.removeClass("hidden"),this.$electricCarPriceField=this.$element.find('[data-role="price-electric-car"]'),this.$combustionCarPriceField=this.$element.find('[data-role="price-combustion-car"]'),this.$electricCarCalculationField=this.$element.find('[data-role="calculation-electric-car"]'),this.$combustionCarCalculationField=this.$element.find('[data-role="calculation-combustion-car"]'),this.initNumberInputs(),this.initRateSelect(),this.initCalculation(),this.initShowCalculation()}return EMobilityCalculator.prototype.initNumberInputs=function(){var t=this;this.$numberInputWrappers.each((function(e,a){var i=c()(a).find("input"),n=parseInt(c()(a).attr("data-digits")),o=parseInt(c()(a).attr("data-decimals"));i.on("input",(function(e){var a=new RegExp("^\\d{1,"+n+"}(,\\d{0,"+o+"})?"),i=e.target.value.match(a);null!==i&&i.length>0?(e.target.value=i[0],t[e.target.name]=parseFloat(e.target.value.replace(",","."))):(e.target.value="",t[e.target.name]=-1),t.checkFormState()}))}))},EMobilityCalculator.prototype.initRateSelect=function(){var t=this;this.$rateSelect.on("change",(function(){var e=t.$rateSelect.val();t.powerRate=null!==e?parseFloat(t.$rateSelect.val().replace(",","."))/100:-1,t.$clearRateSelect.toggleClass(t.CLASS_NAMES.CLEAR_SELECT_HIDDEN,-1===t.powerRate),t.$conditionalRateField.toggleClass("hidden",-1!==t.powerRate),t.checkFormState()})),this.$clearRateSelect.on("click",(function(e){e.preventDefault(),t.$rateSelect.val(""),t.$rateSelect.change()}))},EMobilityCalculator.prototype.checkFormState=function(){-1===this.powerConsumption||-1===this.powerRate&&-1===this.totalPowerRate||-1===this.fuelConsumption||-1===this.fuelPrice?this.$buttonCalculate.attr("disabled",!0):this.$buttonCalculate.attr("disabled",!1),this.$resultContainer.addClass(this.CLASS_NAMES.RESULT_CONTAINER_HIDDEN),this.$resultContainer.removeClass(this.CLASS_NAMES.RESULT_SHOW_CALCULATION),this.$electricCarCalculationField.removeClass(this.CLASS_NAMES.RESULT_CALCULATION_VISIBLE),this.$combustionCarCalculationField.removeClass(this.CLASS_NAMES.RESULT_CALCULATION_VISIBLE),this.calculationShown=!1,this.$buttonShowCalculation.find('[data-role="show-label"]').removeClass("hidden"),this.$buttonShowCalculation.find('[data-role="hide-label"]').addClass("hidden"),this.$buttonShowCalculation.attr("disabled",!0)},EMobilityCalculator.prototype.initCalculation=function(){var t=this;this.$buttonCalculate.on("click",(function(e){e.preventDefault(),t.totalPowerRate=t.totalPowerRate/100,t.electricCarPrice=t.powerConsumption*(-1!==t.powerRate?t.powerRate:t.totalPowerRate),t.combustionEngineCarPrice=t.fuelConsumption*t.fuelPrice,t.$electricCarPriceField.html(t.electricCarPrice.toFixed(2).replace(".",",")+" €"),t.$combustionCarPriceField.html(t.combustionEngineCarPrice.toFixed(2).replace(".",",")+" €"),t.$resultContainer.removeClass(t.CLASS_NAMES.RESULT_CONTAINER_HIDDEN),t.$buttonShowCalculation.attr("disabled",!1),t.$buttonShowCalculation.removeClass(t.CLASS_NAMES.RESULT_SHOW_CALCULATION_BUTTON_HIDDEN)}))},EMobilityCalculator.prototype.initShowCalculation=function(){var t=this;this.$buttonShowCalculation.on("click",(function(e){e.preventDefault(),t.calculationShown=!t.calculationShown,t.$buttonShowCalculation.find('[data-role="show-label"]').toggleClass("hidden",t.calculationShown),t.$buttonShowCalculation.find('[data-role="hide-label"]').toggleClass("hidden",!t.calculationShown),t.calculationShown&&(t.$electricCarCalculationField.html("\n                    "+t.powerConsumption.toString().replace(".",",")+" kWh / 100 km x\n                    "+(-1!==t.powerRate?100*t.powerRate:100*t.totalPowerRate).toLocaleStr
680ing("de-AT",{maximumFractionDigits:4})+" Cent / kWh\n                "),t.$combustionCarCalculationField.html("\n                    "+t.fuelConsumption.toString().replace(".",",")+" l / 100 km x\n                    "+t.fuelPrice.toString().replace(".",",")+" € / l\n                ")),t.$electricCarCalculationField.toggleClass(t.CLASS_NAMES.RESULT_CALCULATION_VISIBLE,t.calculationShown),t.$combustionCarCalculationField.toggleClass(t.CLASS_NAMES.RESULT_CALCULATION_VISIBLE,t.calculationShown),t.$resultContainer.toggleClass(t.CLASS_NAMES.RESULT_SHOW_CALCULATION,t.calculationShown)}))},EMobilityCalculator}(),v=a("0j8T"),g=function(){function CostImpactCalculator(t){this.$element=t,this.$form=t.find('[data-role="form"]'),this.$input=t.find('[data-role="input"]'),this.$additionalMonthlyCosts=t.find('[data-role="additional-monthly-costs"]'),this.$monthlyCosts=t.find('[data-role="monthly-costs"]'),this.$oldMonthlyCosts=t.find('[data-role="old-monthly-costs"]'),this.$resultOuter=t.find('[data-role="result-outer"]'),this.$additionalCostsPerKWh=t.find('[data-role="costs-per-kwh-additional"]'),this.$costsPerKWh=t.find('[data-role="costs-per-kwh"]'),this.$oldCostsPerKWh=t.find('[data-role="old-costs-per-kwh"]'),this.initModule()}return CostImpactCalculator.prototype.initModule=function(){var t=this;this.$form.on("submit",(function(e){e.preventDefault(),t.calculateCosts(t.$input.val()),c()(window).width()<992&&window.scrollTo({top:t.$resultOuter.offset().top-65,behavior:"smooth"})})),this.$input.on("keyup",(function(e){t.$input.toggleClass("cost-impact-calculator__input--wide",t.$input.val().length>4),t.calculateCosts(e.target.value)})),this.$input.trigger("keyup")},CostImpactCalculator.prototype.calculateCosts=function(t){var e=parseFloat(t.replace(",",".")),a=isNaN(e)?0:e,i=1.2*(a*CostImpactCalculator.OLD_PRICE+CostImpactCalculator.BASIC_FEE),n=1.2*(a*CostImpactCalculator.NEW_PRICE+CostImpactCalculator.BASIC_FEE),o=n/a/1.2,r=0===a,s=n-this.calculateSkz(o,a),l=i-this.calculateSkz(i/a/1.2,a),d=this.calculateNetCosts(a),c=s+d-(l+d),u=new Intl.NumberFormat("de-AT",{maximumFractionDigits:2,minimumFractionDigits:2,signDisplay:"always"}),p=new Intl.NumberFormat("de-AT",{maximumFractionDigits:2,minimumFractionDigits:2});this.$oldMonthlyCosts.html(p.format(r?0:l+d)),this.$monthlyCosts.html(p.format(r?0:s+d)),this.$additionalMonthlyCosts.html(u.format(c)),this.$additionalCostsPerKWh.html(u.format(r?0:c/a)),this.$costsPerKWh.html(p.format(r?0:(s+d)/a)),this.$oldCostsPerKWh.html(p.format(r?0:(l+d)/a)),this.$additionalCostsPerKWh.html(u.format(r?0:c/a)),this.$resultOuter.removeClass("cost-impact-calculator__result--positive cost-impact-calculator__result--negative"),this.$resultOuter.addClass(c>0?"cost-impact-calculator__result--positive":"cost-impact-calculator__result--negative"),this.$element.toggleClass("cost-impact-calculator--initial",r)},CostImpactCalculator.prototype.calculateNetCosts=function(t){return 1.2*(63.6+.0529*t+.00186*t+.004893*t+.001*t)},CostImpactCalculator.prototype.calculateSkz=function(t,e){return t>.4&&e<2900||t>.4&&e>2900?.3*e:t<.1?0:e>2900?2900*(t-CostImpactCalculator.LOWER_SKZ):e*(t-CostImpactCalculator.LOWER_SKZ)},CostImpactCalculator.OLD_PRICE=.27,CostImpactCalculator.NEW_PRICE=.199,CostImpactCalculator.BASIC_FEE=30,CostImpactCalculator.LOWER_SKZ=.1,CostImpactCalculator.UPPER_SKZ=.4,CostImpactCalculator}(),w=function(){function NewsBar(t){var e=this;this.SELECTORS={layoutHeader:'[data-role="layout-header"]',layoutBody:"#layout-body"},this.$body=c()("body"),this.$element=t,this.$layoutHeader=c()(this.SELECTORS.layoutHeader),this.$layoutBody=c()(this.SELECTORS.layoutBody),this.rootElement=document.documentElement,this.$element.addClass("news-bar"),this.$element.on("animationstart",(function(){e.initLayoutOffset()}))}return NewsBar.prototype.initLayoutOffset=function(){var t=this;void 0!==window.requestAnimationFrame&&window.requestAnimationFrame((function(){t.updateLayoutOffset()}))},NewsBar.prototype.updateLayoutOffset=function(){var t=this;this.rootElement.style.setProperty("--layout-offset",this.$element.outerHeight()+"px"),void 0!==window.requestAnimationFrame&&window.requestAnimationFrame((function(){t.updateLayoutOffset()}))},NewsBar}(),b=a("wCSH"),y=a("a0AV"),__awaiter=function(t,e,a,i){return new(a||(a=Promise))((function(n,o){function fulfilled(t){try{step(i.next(t))}catch(t){o(t)}}function rejected(t){try{step(i.throw(t))}catch(t){o(t)}}function step(t){t.done?n(t.value):new a((function(e){e(t.value)})).then(fulfilled,rejected)}step((i=i.apply(t,e||[])).next())}))},__generator=function(t,e){var a,i,n,o,r={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return o={next:verb(0),throw:verb(1),return:verb(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;
680function verb(o){return function(s){return function(o){if(a)throw new TypeError("Generator is already executing.");for(;r;)try{if(a=1,i&&(n=2&o[0]?i.return:o[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,o[1])).done)return n;switch(i=0,n&&(o=[2&o[0],n.value]),o[0]){case 0:case 1:n=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(!(n=r.trys,(n=n.length>0&&n[n.length-1])||6!==o[0]&&2!==o[0])){r=0;continue}if(3===o[0]&&(!n||o[1]>n[0]&&o[1]<n[3])){r.label=o[1];break}if(6===o[0]&&r.label<n[1]){r.label=n[1],n=o;break}if(n&&r.label<n[2]){r.label=n[2],r.ops.push(o);break}n[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(t){o=[6,t],i=0}finally{a=n=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},C=function(){function RateChange(t){var e=this;this.$element=t,this.$contractAccountTemplate=this.$element.find('[data-role="contract-account-template"]'),this.$contractTemplate=this.$element.find('[data-role="contract-template"]'),this.$contractAccountsContainer=this.$element.find('[data-role="contract-accounts"]'),this.$finalTableTemplateDesktop=this.$element.find('[data-role="final-table-template-desktop"]'),this.$finalTableTemplateMobile=this.$element.find('[data-role="final-table-template-mobile"]'),this.initStep1(),this.initStep2(),this.initStep3(),this.initStep4(),this.initStep5(),this.initCheckboxReadMore(),this.$element.on("form-success",(function(){e.$element.find('[data-role="rate-change-success"]').removeClass("hidden"),e.$element.find('[data-role="rate-change-form"]').addClass("hidden"),window.scrollTo({top:e.$element.find('[data-role="rate-change-success"]').offset().top-$(".layout-header").height()-8,behavior:"smooth"})}))}return RateChange.prototype.initStep1=function(){var t=this;this.$element.find('[data-role="form-step"]:eq(0)').data("step-validate",(function(e){return __awaiter(t,void 0,void 0,(function(){var t=this;return __generator(this,(function(a){return[2,App.DefaultForm.validateSection(e).then((function(e){var a=new FormData;return a.set("contractAccountNr",e.find('[name="contractAccountNr"]').val()),a.set("partnerNr",e.find('[name="partnerNr"]').val()),a.set("token",e.find('[name="token"]').val()),new Promise((function(i,n){$.ajax({url:t.$element.data("token-path"),type:"POST",data:a,dataType:"json",processData:!1,contentType:!1,success:function(t){t.contractAccounts&&0!==t.contractAccounts.length?i(t):(e.find('[name="contractAccountNr"]').parent().addClass("with-error"),e.find('[name="contractAccountNr"]').parent().find('.form-field__error [data-role="error-label"]').html(e.parents("form").data("completed-error")),n(t))},error:function(t){e.find('[name="token"]').parent().addClass("with-error");var a=404===t.status?e.parents("form").data("login-error"):e.parents("form").data("general-error");e.find('[name="token"]').parent().find('.form-field__error [data-role="error-label"]').html(a),n(t)}})}))})).then((function(e){t.renderContractAccounts(e)}))]}))}))}))},RateChange.prototype.initCheckboxReadMore=function(){var t=this;this.$element.find("[data-display-more]").each((function(t,e){$(e).height()>46&&$(e).after('<a class="checkbox__read-more">'+$(e).data("display-more-text")+"</a>"),$(e).addClass("checkbox__label--line-clamp")})),this.$element.on("stepupdate",'[data-role="form-step"]:eq(1)',(function(e){t.$element.find("[data-display-more]").each((function(t,e){$(e).removeClass("checkbox__label--line-clamp"),$(e).height()>46&&$(e).after('<a class="checkbox__read-more">'+$(e).data("display-more-text")+"</a>"),$(e).addClass("checkbox__label--line-clamp")}))})),this.$element.on("click",".checkbox__read-more",(function(t){t.preventDefault(),$(t.currentTarget).prev().removeClass("checkbox__label--line-clamp"),$(t.currentTarget).remove()}))},RateChange.prototype.renderContractAccounts=function(t){this.response=t,this.$contractAccountsContainer.html(""),t.email?(this.$element.find('[data-role="form-step"]:eq(2)').addClass("ignore"),this.$element.find('[data-role="form-step"]:eq(2)').find("input, select, textarea").prop("disabled",!0),this.$element.data("multi-step-form").updatePagination(),this.$element.find('[data-role="email-text"]').removeClass("hidden"),this.$element.find('[data-role="email-text"]').html(this.$element.find('[data-role="email-text"]').html().replace("###EMAIL###",this.response.email)),this.$element.find('[data-role="email-text"]').append('<input type="hidden" name="hasEMail" value="1" />')):(this.$element.find('[data-role="form-step"]:eq(2)').removeClass("ignore"),this.$element.find('[data-role="form-step"]:eq(2)').find("input, select, textarea").prop("disabled",!1),this.$element.data("multi-step-form").updatePagination()),t.marketResearch&&t.productInformation?(this.$element.find('[data-role="form-step"]:eq(4)').addClass("ignore"),this.$element.find('[data-role="form-step"]:eq(4)').find("input, select, textarea").prop("disabled",!0),this.$element.data("multi-step-form").updatePagination()):(this.$element.find('[data-role="form-step"]:eq(4)').removeClass("ignore"),this.$element.find('[data-role="form-step"]:eq(4)').find("input, select, textarea").prop("disabled",!1),this.$element.data("multi-step-form").updatePagination()),this.$element.find('[data-role="marketResearch"]').find("input, select, textarea").prop("disabled",t.marketResearch),this.$element.find('[data-role="marketResearch"]').toggleClass("hidden",t.marketResearch),this.$element.find('[data-role="productInformation"]').find("input, select, textarea").prop("disabled",t.productInformation),this.$element.find('[data-role="productInformation"]').toggleClass("hidden",t.productInformation),this.$element.find('[data-role="form-step"]:eq(3)').toggleClass("ignore",!!t.zamm),this.$element.find('[data-role="form-step"]:eq(3)').find("input, select, textarea").prop("disabled",!!t.zamm),this.$element.data("multi-step-form").updatePagination(),this.$element.find('[name="partnerNr"]').val(t.partnerNr),this.$element.find('[name="emailFromService"]').val(t.email),t.onlineCommunication?(this.$element.find('[data-role="intro-text-non-existing"').addClass("hidden"),this.$element.find('[data-role="label-non-existing"').addClass("hidden")):(this.$element.find('[data-role="intro-text-existing"').addClass("hidden"),this.$element.find('[data-role="label-existing"').addClass("hidden")),t.contractAccounts.length<2&&this.$element.find('[data-role="show-more-accounts-notice"]').addClass("hidden");for(var e=0;e<t.contractAccounts.length;e++){var a=t.contractAccounts[e],i=this.$contractAccountTemplate.clone();0===e&&i.removeClass("hidden"),i.attr("data-role","contract-account");var n=i.find('[data-role="checkbox"]');n.val(a.contracts.map((function(t){return t.contractNr})).join(",")),n.removeAttr("disabled"),n.attr("id","rate-change-contract-"+a.contractAccountNr),i.find('[data-role="checkbox-label"]').attr("for","rate-change-contract-"+a.contractAccountNr),i.find('[data-role="contracts-container"]').html("");for(var o=0;o<a.contracts.length;o++){var r=a.contracts[o],s=this.$contractTemplate.clone();s.find('[data-role="contract-name"]').html(r.name),s.find('[data-role="contract-number"]').html(a.contractAccountNr),s.find('[data-role="address"]').html(r.address),s.find('[data-role="additional-info"]').html(r.additionalInfo),s.find('[data-role="product-name"]').html(r.newProduct),s.find('[data-role="data-sheet"]').attr("href",r.dataSheet),r.baseFee?s.find('[data-role="base-fee"]').html(r.baseFee):s.find('[data-role="base-fee-column"]').addClass("rate-change__contract-column--invisible"),r.newPriceHigh?(s.find('[data-role="new-price-low"]').html(r.newPrice),s.find('[data-role="new-price-high"]').html(r.newPriceHigh),s.find('[data-role="single-price"]').remove()):(s.find('[data-role="new-price"]').html(r.newPrice),s.find('[data-role="two-prices"]').remove()),i.find('[data-role="contracts-container"]').append(s)}this.$contractAccountsContainer.append(i)}},RateChange.prototype.initStep2=function(){var t=this;this.$element.find('[name="changeForAllContracts"]').on("change",(function(e){t.$element.find('[name="contracts"]:not(.hidden [name="contracts"])').prop("checked",e.currentTarget.checked),t.$element.find('[name="contracts"]:not(.hidden [name="contracts"])').trigger("change")})),this.$element.on("change",'[name="contracts"]',(function(e){$(e.currentTarget).parent().parent().parent().toggleClass("rate-change__contract-account--active",e.currentTarget.checked),t.$element.find('[name="changeForAllContracts"]').prop("checked",0===t.$element.find('[name="contracts"]:not(.hidden [name="contracts"]):not(:checked)').length),e.currentTarget.checked&&t.$element.find('[data-role="contract-error"]').removeClass("with-error")})),this.$element.find('[data-action="hide-more-accounts"]').on("click",(function(){t.$element.find('[data-role="show-more-accounts-notice"]').addClass("hidden")})),this.$element.find('[data-action="show-more-accounts"]').on("click",(function(){t.$element.find('[data-role="show-more-accounts-notice"]').addClass("hidden"),t.$element.find('[data-role="contract-account"]').removeClass("hidden"),t.$element.find('[name="changeForAllContracts"]').prop("checked",0===t.$element.find('[name="contracts"]:not(.hidden [name="contracts"]):not(:checked)').length)}));this.$element.find('[data-role="form-step"]:eq(1)').data("step-validate",(function(e){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(t){return[2,App.DefaultForm.validateSection(e).then((function(t){if(0===t.find("input, select, textarea").serializeArray().filter((function(t){return"contracts"===t.name}
680)).length)throw t.find('[data-role="contract-error"]').addClass("with-error"),new Error("No account selected!")}))]}))}))}))},RateChange.prototype.initStep3=function(){var t=this;this.$element.on("stepupdate",'[data-role="form-step"]:eq(3)',(function(e){t.$element.find('[data-role="label-page3-inner"]').each((function(e,a){$(a).html($(a).html().replace("###EMAIL###",t.response.email||t.$element.find("[name=email]").val()))}))})),this.$element.find('[data-role="page3-read-more"]').on("click",(function(t){$(t.currentTarget).parent().find('[data-role="page3-additional-text"]').removeClass("hidden"),t.currentTarget.classList.add("hidden")}))},RateChange.prototype.initStep4=function(){var t=this;this.$element.on("stepupdate",'[data-role="form-step"]:eq(4)',(function(e){t.$element.find('[data-role="form-step"]:eq(4) [data-module="conditional-content"]').each((function(t,e){App.ConditionalContent.updateVisibility($(e))}))}))},RateChange.prototype.initStep5=function(){var t=this;new Intl.NumberFormat("de-AT",{maximumFractionDigits:2,minimumFractionDigits:2});this.$element.on("stepupdate",'[data-role="form-step"]:eq(5)',(function(e){var a=t.$element.find('[data-role="form-step"]:eq(1)').find("input, select, textarea").serializeArray().filter((function(t){return"contracts"===t.name})).map((function(t){return t.value.split(",")})).flatMap((function(t){return t})),i=t.response.contractAccounts.filter((function(t){return t.contracts.map((function(t){return t.contractNr})).filter((function(t){return a.includes(t)})).length>0}));t.$element.find('[data-role="final-table-template-desktop-container"]').html(""),t.$element.find('[data-role="final-table-template-mobile-container"]').html(""),i.forEach((function(e){var a=t.$finalTableTemplateMobile.clone();a.removeClass("hidden"),a.removeAttr("data-role");var i=a.find('[data-role="final-table-template-mobile-contract"]');a.html(""),e.contracts.forEach((function(n,o,r){var s=t.$finalTableTemplateDesktop.clone();s.removeClass("hidden"),s.removeAttr("data-role");var l=s.find('[data-role="base-data"]'),d=s.find('[data-role="rate-name"]'),c=s.find('[data-role="base-fee"]'),u=s.find('[data-role="work-price"]');l.find('[data-role="name"]').html(n.name),l.find('[data-role="contract-account-nr"]').html(e.contractAccountNr),d.html(n.newProduct),s.find('[data-role="data-sheet"]').attr("href",n.dataSheet),c.find('[data-role="value"]').html(n.baseFee?n.baseFee:"&nbsp;");var p=i.clone();p.find('[data-role="name"]').html(n.name),p.find('[data-role="contract-account-nr"]').html(e.contractAccountNr),p.find('[data-role="rate-name"]').html(n.newProduct),p.find('[data-role="data-sheet"]').attr("href",n.dataSheet),n.baseFee?p.find('[data-role="base-fee"]').html(n.baseFee):p.find('[data-role="base-fee-item"]').addClass("hidden"),n.newPriceHigh?(u.find('[data-role="single-price"]').remove(),u.find('[data-role="value-low"]').html(n.newPrice),u.find('[data-role="value-high"]').html(n.newPriceHigh),p.find('[data-role="work-price-low"]').html(n.newPrice),p.find('[data-role="work-price-high"]').html(n.newPriceHigh),p.find('[data-role="single-price"]').remove()):(u.find('[data-role="two-prices"]').remove(),u.find('[data-role="value"]').html(n.newPrice),p.find('[data-role="work-price-value"]').html(n.newPrice),p.find('[data-role="two-prices"]').remove()),a.append(p),o+1!==r.length&&s.addClass("rate-change__final-table-row--no-border"),t.$element.find('[data-role="final-table-template-desktop-container"]').append(s)})),t.$element.find('[data-role="final-table-template-mobile-container"]').append(a)}));var n=t.$element.find('[name="onlineCommunication"]').is(":checked")||t.response.zamm,o=t.$element.find('[data-role="online-communication-yesno"]');o.html(n?o.data("yes"):o.data("no")),t.response.zamm?(t.$element.find('[data-role="online-communication-zamm"]').removeClass("hidden"),t.$element.find('[data-role="online-communication-label"]').addClass("hidden")):(t.$element.find('[data-role="online-communication-zamm"]').addClass("hidden"),t.$element.find('[data-role="online-communication-label"]').removeClass("hidden")),n?(t.$element.find('[data-role="online-communication-no"]').addClass("hidden"),t.$element.find('[data-role="online-communication-yes"]').removeClass("hidden"),t.$element.find('[data-role="online-communication-badge"]').removeClass("rate-change__online-communication-badge--link")):(t.$element.find('[data-role="online-communication-yes"]').addClass("hidden"),t.$element.find('[data-role="online-communication-no"]').removeClass("hidden"),t.$element.find('[data-role="online-communication-badge"]').addClass("rate-change__online-communication-badge--link"))})),this.$element.find('[data-role="online-communication-badge"]').on("click",(function(){t.$element.find('[name="onlineCommunication"]').is(":checked")||t.$element.data("multi-step-form").goTo(t.response.email?2:3)}))},RateChange}(),_=a("VDUF"),S=a.n(_),__assign=function(){return(__assign=Object.assign||function(t){for(var e,a=1,i=arguments.length;a<i;a++)for(var n in e=arguments[a])Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}).apply(this,arguments)},RateChangeFixed_awaiter=function(t,e,a,i){return new(a||(a=Promise))((function(n,o){function fulfilled(t){try{step(i.next(t))}catch(t){o(t)}}function rejected(t){try{step(i.throw(t))}catch(t){o(t)}}function step(t){t.done?n(t.value):new a((function(e){e(t.value)})).then(fulfilled,rejected)}step((i=i.apply(t,e||[])).next())}))},RateChangeFixed_generator=function(t,e){var a,i,n,o,r={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return o={next:verb(0),throw:verb(1),return:verb(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;
680function verb(o){return function(s){return function(o){if(a)throw new TypeError("Generator is already executing.");for(;r;)try{if(a=1,i&&(n=2&o[0]?i.return:o[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,o[1])).done)return n;switch(i=0,n&&(o=[2&o[0],n.value]),o[0]){case 0:case 1:n=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(!(n=r.trys,(n=n.length>0&&n[n.length-1])||6!==o[0]&&2!==o[0])){r=0;continue}if(3===o[0]&&(!n||o[1]>n[0]&&o[1]<n[3])){r.label=o[1];break}if(6===o[0]&&r.label<n[1]){r.label=n[1],n=o;break}if(n&&r.label<n[2]){r.label=n[2],r.ops.push(o);break}n[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(t){o=[6,t],i=0}finally{a=n=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},A=function(){function RateChangeFixed(t){var e=this;this.$element=t,this.$contractAccountTemplate=this.$element.find('[data-role="contract-account-template"]'),this.$contractTemplate=this.$element.find('[data-role="contract-template"]'),this.$contractAccountsContainer=this.$element.find('[data-role="contract-accounts"]'),this.$finalTableTemplateDesktop=this.$element.find('[data-role="final-table-template-desktop"]'),this.$finalTableTemplateMobile=this.$element.find('[data-role="final-table-template-mobile"]'),this.emailTextTemplate=this.$element.find('[data-role="email-text"]').html(),this.initStep1(),this.initStep2(),this.initStep3(),this.initStep4(),this.initCheckboxReadMore(),this.initSubmitErrorMessage(),this.$element.on("form-success",(function(){e.$element.find('[data-role="rate-change-success"]').removeClass("hidden"),e.$element.find('[data-role="rate-change-form"]').addClass("hidden"),window.scrollTo({top:e.$element.find('[data-role="rate-change-success"]').offset().top-$(".layout-header").height()-8,behavior:"smooth"})}))}return RateChangeFixed.prototype.getDefaultStartDate=function(){var t=this.$element.data("default-start-date"),e=S()().startOf("day");return t&&S()(t).isAfter(e,"day")?t:S()().add(1,"day").startOf("day").format("YYYY-MM-DD")},RateChangeFixed.prototype.getProductStartDate=function(t){var e=S()().startOf("day");return t.oldProductRequiredUntil&&S()(t.oldProductRequiredUntil).isAfter(e,"day")?t.newProductStart?t.newProductStart:S()(t.oldProductRequiredUntil).add(1,"day").format("YYYY-MM-DD"):this.getDefaultStartDate()},RateChangeFixed.prototype.initStep1=function(){var t=this;this.$element.find('[data-role="form-step"]:eq(0)').data("step-validate",(function(e){return RateChangeFixed_awaiter(t,void 0,void 0,(function(){var t=this;return RateChangeFixed_generator(this,(function(a){return[2,App.DefaultForm.validateSection(e).then((function(e){var a=new FormData;return a.set("contractAccountNr",e.find('[name="contractAccountNr"]').val()),a.set("partnerNr",e.find('[name="partnerNr"]').val()),new Promise((function(i,n){$.ajax({url:t.$element.data("token-path"),type:"POST",data:a,dataType:"json",processData:!1,contentType:!1,success:function(t){if(t.contractAccounts&&0!==t.contractAccounts.length)i(t);else{e.find('[name="contractAccountNr"]').parent().addClass("with-error");var a=t.message||e.parents("form").data("completed-error");e.find('[name="contractAccountNr"]').parent().find('.form-field__error [data-role="error-label"]').html(a),n(t)}},error:function(t){e.find('[name="contractAccountNr"]').parent().addClass("with-error");var a=t.responseJSON&&t.responseJSON.message||(404===t.status?e.parents("form").data("login-error"):e.parents("form").data("general-error"));e.find('[name="contractAccountNr"]').parent().find('.form-field__error [data-role="error-label"]').html(a),n(t)}})}))})).then((function(e){t.renderContractAccounts(e)}))]}))}))}))},RateChangeFixed.prototype.initCheckboxReadMore=function(){var t=this;this.$element.find("[data-display-more]").each((function(t,e){$(e).height()>46&&$(e).after('<a class="checkbox__read-more">'+$(e).data("display-more-text")+"</a>"),$(e).addClass("checkbox__label--line-clamp")})),this.$element.on("stepupdate",'[data-role="form-step"]:eq(1)',(function(e){t.$element.find("[data-display-more]").each((function(t,e){$(e).removeClass("checkbox__label--line-clamp"),$(e).height()>46&&$(e).after('<a class="checkbox__read-more">'+$(e).data("display-more-text")+"</a>"),$(e).addClass("checkbox__label--line-clamp")}))})),this.$element.on("click",".checkbox__read-more",(function(t){t.preventDefault(),$(t.currentTarget).prev().removeClass("checkbox__label--line-clamp"),$(t.currentTarget).remove()}))},RateChangeFixed.prototype.initSubmitErrorMessage=function(){var t=this,e=this.$element.attr("action");e&&$(document).on("ajaxSend",(function(a,i,n){n&&n.url===e&&i.fail((function(e){var a=e&&e.responseJSON&&e.responseJSON.message;a?(t.$element.attr("data-server-error-message",a),t.$element.attr("data-unknown-error-message",a)):(t.$element.removeAttr("data-server-error-message"),t.$element.removeAttr("data-unknown-error-message"))}))}))},RateChangeFixed.prototype.renderContractAccounts=function(t){this.response=t,this.$contractAccountsContainer.html(""),this.$element.find(".form-field").removeClass("with-error with-success"),this.$element.find('[data-role="email-text"]').html(this.emailTextTemplate),t.email?(this.$element.find('[data-role="form-step"]:eq(2)').addClass("ignore"),this.$element.find('[data-role="form-step"]:eq(2)').find("input, select, textarea").prop("disabled",!0),this.$element.data("multi-step-form").updatePagination(),this.$element.find('[data-role="email-text"]').removeClass("hidden"),this.$element.find('[data-role="email-text"]').html(this.$element.find('[data-role="email-text"]').html().replace("###EMAIL###",this.response.email)),this.$element.find('[data-role="email-text"]').append('<input type="hidden" name="hasEMail" value="1" />')):(this.$element.find('[data-role="form-step"]:eq(2)').removeClass("ignore"),this.$element.find('[data-role="form-step"]:eq(2)').find("input, select, textarea").prop("disabled",!1),this.$element.find('[data-role="email-text"]').addClass("hidden"),this.$element.data("multi-step-form").updatePagination()),t.marketResearch&&t.productInformation?(this.$element.find('[data-role="form-step"]:eq(4)').addClass("ignore"),this.$element.find('[data-role="form-step"]:eq(4)').find("input, select, textarea").prop("disabled",!0),this.$element.data("multi-step-form").updatePagination()):(this.$element.find('[data-role="form-step"]:eq(4)').removeClass("ignore"),this.$element.find('[data-role="form-step"]:eq(4)').find("input, select, textarea").prop("disabled",!1),this.$element.data("multi-step-form").updatePagination()),this.$element.find('[data-role="marketResearch"]').find("input, select, textarea").prop("disabled",t.marketResearch),this.$element.find('[data-role="marketResearch"]').toggleClass("hidden",t.marketResearch),this.$element.find('[data-role="productInformation"]').find("input, select, textarea").prop("disabled",t.productInformation),this.$element.find('[data-role="productInformation"]').toggleClass("hidden",t.productInformation),this.$element.find('[data-role="form-step"]:eq(3)').toggleClass("ignore",!!t.zamm),this.$element.find('[data-role="form-step"]:eq(3)').find("input, select, textarea").prop("disabled",!!t.zamm),this.$element.data("multi-step-form").updatePagination(),this.$element.find('[name="partnerNr"]').val(t.partnerNr),this.$element.find('[name="emailFromService"]').val(t.email),t.onlineCommunication?(this.$element.find('[data-role="intro-text-non-existing"').addClass("hidden"),this.$element.find('[data-role="label-non-existing"').addClass("hidden"),this.$element.find('[data-role="form-field-existing"]').addClass("hidden")):(this.$element.find('[data-role="intro-text-existing"').addClass("hidden"),this.$element.find('[data-role="label-existing"').addClass("hidden"),this.$element.find('[data-role="form-field-existing"]').removeClass("hidden")),t.contractAccounts.length<2?this.$element.find('[data-role="show-more-accounts-notice"]').addClass("hidden"):this.$element.find('[data-role="show-more-accounts-notice"]').removeClass("hidden");var e=(this.$element.find('[name="contractAccountNr"]').val()||"").trim();if(e){var a=t.contractAccounts.findIndex((function(t){var a=t.contractAccountNr||"";return a===e||a.length>8&&a.substr(4)===e||a.endsWith(e)}));if(a>0){var i=t.contractAccounts.splice(a,1)[0];t.contractAccounts.unshift(i)}}for(var n=0;n<t.contractAccounts.length;n++){var o=t.contractAccounts[n],r=this.$contractAccountTemplate.clone();0===n&&r.removeClass("hidden"),r.attr("data-role","contract-account"),r.find('[data-role="contracts-container"]').html("");for(var s=0;s<o.contracts.length;s++){var l=o.contracts[s],d=this.$contractTemplate.clone(),c=d.find('[data-role="checkbox"]');c.val(l.contractNr),c.removeAttr("disabled"),c.attr("id","rate-change-contract-"+l.contractNr),d.find('[data-role="checkbox-label"]').attr("for","rate-change-contract-"+l.contractNr),d.find('[data-role="contract-name"]').html(l.name),d.find('[data-role="contract-number"]').html(o.contractAccountNr.length>8?o.contractAccountNr.substr(4):o.contractAccountNr),d.find('[data-role="address"]').html(l.address),d.find('[data-role="additional-info"]').html(l.additionalInfo),d.find('[data-role="product-name"]').html(l.newProduct),d.find('[data-role="product-start-date"]').html(S()(this.getProductStartDate(l)).format("DD.MM.YYYY")),d.find('[data-role="old-product-name"]').html(l.oldProduct);var u=S()(l.oldProductRequiredUntil);l.oldProductRequiredUntil&&u.isValid()?d.find('[data-role="old-product-required-until"]').html(u.format("DD.MM.YYYY")):d.find('[data-role="old-product-required-until"]').addClass("hidden").empty(),d.find('[data-role="data-sheet"]').attr("href",l.dataSheet),l.baseFee?d.find('[data-role="base-fee"]').html(l.baseFee):d.find('[data-role="base-fee-column"]').addClass("rate-change__contract-column--hidden"),l.newPriceHigh?(d.find('[data-role="new-price-low"]').html(l.newPrice),d.find('[data-role="new-price-high"]').html(l.newPriceHigh),d.find('[data-role="single-price"]').remove()):(d.find('[data-role="new-price"]').html(l.newPrice),d.find('[data-role="two-prices"]').remove()),r.find('[data-role="contracts-container"]').append(d)}this.$contractAccountsContainer.append(r)}},RateChangeFixed.prototype.initStep2=function(){var t=this;this.$element.find('[name="changeForAllContracts"]').on("change",(function(e){t.$element.find('[name="contracts"]:not(.hidden [name="contracts"])').prop("checked",e.currentTarget.checked),t.$element.find('[name="contracts"]:not(.hidden [name="contracts"])').trigger("change")})),this.$element.on("change",'[name="contracts"]',(function(e){$(e.currentTarget).parent().parent().parent().toggleClass("rate-change__contract-account--active",e.currentTarget.checked),t.$element.find('[name="changeForAllContracts"]').prop("checked",0===t.$element.find('[name="contracts"]:not(.hidden [name="contracts"]):not(:checked)').length),e.currentTarget.checked&&t.$element.find('[data-role="contract-error"]').removeClass("with-error")})),this.$element.find('[data-action="hide-more-accounts"]').on("click",(function(){t.$element.find('[data-role="show-more-accounts-notice"]').addClass("hidden")})),this.$element.find('[data-action="show-more-accounts"]').on("click",(function(){t.$element.data("showMoreAccounts",!0),t.$element.find('[data-role="show-more-accounts-notice"]').addClass("hidden"),t.$element.find('[data-role="contract-account"]').removeClass("hidden"),t.$element.find('[name="changeForAllContracts"]').prop("checked",0===t.$element.find('[name="contracts"]:not(.hidden [name="contracts"]):not(:checked)').length)})),this.$element.data("showMoreAccounts")&&(this.$element.find('[data-role="show-more-accounts-notice"]').addClass("hidden"),this.$element.find('[data-role="contract-account"]').removeClass("hidden"),this.$element.find('[name="changeForAllContracts"]').prop("checked",0===this.$element.find('[name="contracts"]:not(.hidden [name="contracts"]):not(:checked)').length));this.$element.find('[data-role="form-step"]:eq(1)').data("step-validate",(function(e){return RateChangeFixed_awaiter(t,void 0,void 0,(function(){return RateChangeFixed_generator(this,(function(t){return[2,App.DefaultForm.validateSection(e).then((function(t){if(0===t.find("input, select, textarea").serializeArray().filter((function(t){return"contracts"===t.name}
680)).length)throw t.find('[data-role="contract-error"]').addClass("with-error"),new Error("No account selected!")}))]}))}))}))},RateChangeFixed.prototype.initStep3=function(){var t=this;this.$element.on("stepupdate",'[data-role="form-step"]:eq(3)',(function(e){t.$element.find('[data-role="label-page3-inner"]').each((function(e,a){$(a).html($(a).html().replace("###EMAIL###",t.response.email||t.$element.find("[name=email]").val()))}))})),this.$element.find('[data-role="page3-read-more"]').on("click",(function(t){$(t.currentTarget).parent().find('[data-role="page3-additional-text"]').removeClass("hidden"),t.currentTarget.classList.add("hidden")}))},RateChangeFixed.prototype.initStep4=function(){var t=this;new Intl.NumberFormat("de-AT",{maximumFractionDigits:2,minimumFractionDigits:2});this.$element.on("stepupdate",'[data-role="form-step"]:eq(4)',(function(e){var a=t.$element.find('[data-role="form-step"]:eq(1)').find("input, select, textarea").serializeArray().filter((function(t){return"contracts"===t.name})).map((function(t){return t.value.split(",")})).flatMap((function(t){return t})),i=t.response.contractAccounts.map((function(t){return __assign({},t,{contracts:t.contracts.filter((function(t){return a.includes(t.contractNr)}))})})).filter((function(t){return t.contracts.length>0}));t.$element.find('[data-role="final-table-template-desktop-container"]').html(""),t.$element.find('[data-role="final-table-template-mobile-container"]').html(""),i.forEach((function(e){var a=t.$finalTableTemplateMobile.clone();a.removeClass("hidden"),a.removeAttr("data-role");var i=a.find('[data-role="final-table-template-mobile-contract"]');a.html(""),e.contracts.forEach((function(n,o,r){var s=t.$finalTableTemplateDesktop.clone();s.removeClass("hidden"),s.removeAttr("data-role");var l=s.find('[data-role="base-data"]'),d=s.find('[data-role="rate-name"]'),c=s.find('[data-role="base-fee"]'),u=s.find('[data-role="work-price"]');(n.newProductStart||n.oldProductRequiredUntil)&&s.find('[data-role="product-start-date"]').html(S()(t.getProductStartDate(n)).format("DD.MM.YYYY")),(n.newProductUntil||t.$element.data("default-end-date"))&&s.find('[data-role="product-end-date"]').html(S()(t.$element.data("default-end-date")?t.$element.data("default-end-date"):n.newProductUntil).format("DD.MM.YYYY")),l.find('[data-role="name"]').html(n.name),l.find('[data-role="contract-account-nr"]').html(e.contractAccountNr),l.find('[data-role="address"]').html(n.address),l.find('[data-role="additional-info"]').html(n.additionalInfo),d.html(n.newProduct),s.find('[data-role="data-sheet"]').attr("href",n.dataSheet),c.find('[data-role="value"]').html(n.baseFee?n.baseFee:"&nbsp;");var p=i.clone();p.find('[data-role="name"]').html(n.name),p.find('[data-role="address"]').html(n.address),p.find('[data-role="additional-info"]').html(n.additionalInfo),p.find('[data-role="contract-account-nr"]').html(e.contractAccountNr),p.find('[data-role="rate-name"]').html(n.newProduct),(n.newProductStart||n.oldProductRequiredUntil)&&p.find('[data-role="product-start-date"]').html(S()(t.getProductStartDate(n)).format("DD.MM.YYYY")),(n.newProductUntil||t.$element.data("default-end-date"))&&p.find('[data-role="product-end-date"]').html(S()(t.$element.data("default-end-date")?t.$element.data("default-end-date"):n.newProductUntil).format("DD.MM.YYYY")),p.find('[data-role="data-sheet"]').attr("href",n.dataSheet),n.baseFee?p.find('[data-role="base-fee"]').html(n.baseFee):p.find('[data-role="base-fee-item"]').addClass("hidden"),n.newPriceHigh?(u.find('[data-role="single-price"]').remove(),u.find('[data-role="value-low"]').html(n.newPrice),u.find('[data-role="value-high"]').html(n.newPriceHigh),p.find('[data-role="work-price-low"]').html(n.newPrice),p.find('[data-role="work-price-high"]').html(n.newPriceHigh),p.find('[data-role="single-price"]').remove()):(u.find('[data-role="two-prices"]').remove(),u.find('[data-role="value"]').html(n.newPrice),p.find('[data-role="work-price-value"]').html(n.newPrice),p.find('[data-role="two-prices"]').remove()),a.append(p),o+1!==r.length&&s.addClass("rate-change__final-table-row--no-border"),t.$element.find('[data-role="final-table-template-desktop-container"]').append(s)})),t.$element.find('[data-role="final-table-template-mobile-container"]').append(a)}));var n=t.$element.find('[name="onlineCommunication"]').is(":checked")||t.response.onlineCommunication,o=t.$element.find('[data-role="online-communication-yesno"]');o.html(n?o.data("yes"):o.data("no")),t.response.zamm?(t.$element.find('[data-role="online-communication-zamm"]').removeClass("hidden"),t.$element.find('[data-role="online-communication-label"]').addClass("hidden")):(t.$element.find('[data-role="online-communication-zamm"]').addClass("hidden"),t.$element.find('[data-role="online-communication-label"]').removeClass("hidden")),n?(t.$element.find('[data-role="online-communication-no"]').addClass("hidden"),t.$element.find('[data-role="online-communication-yes"]').removeClass("hidden"),t.$element.find('[data-role="online-communication-badge"]').removeClass("rate-change__online-communication-badge--link")):(t.$element.find('[data-role="online-communication-yes"]').addClass("hidden"),t.$element.find('[data-role="online-communication-no"]').removeClass("hidden"),t.$element.find('[data-role="online-communication-badge"]').addClass("rate-change__online-communication-badge--link"))})),this.$element.find('[data-role="online-communication-badge"]').on("click",(function(){t.$element.find('[name="onlineCommunication"]').is(":checked")||t.$element.data("multi-step-form").goTo(t.response.email?2:3)}))},RateChangeFixed}(),T=function(){function ChangeLocationForm(t){var e=this;t.on("change keyup",'[name^="facilityCounterNr"]',(function(t){e.checkValue(t.currentTarget)})),t.find('[name^="facilityCounterNr"]').each((function(t,a){e.checkValue(a)}))}return ChangeLocationForm.prototype.checkValue=function(t){var e=t.value.length>3&&!(t.value.toUpperCase().startsWith("1KFM")||t.value.toUpperCase().startsWith("1ELS")),a=$(t).parent().next();e?(a.removeClass("hidden"),a.find("input, select, textarea").removeAttr("disabled"),a.find("input, select, textarea").prop("disabled",!1)):(a.addClass("hidden"),a.find("input, select, textarea").attr("disabled","disabled"),a.find("input, select, textarea").prop("disabled",!0))},ChangeLocationForm}(),x=a("YtIf"),Speedtest_awaiter=function(t,e,a,i){return new(a||(a=Promise))((function(n,o){function fulfilled(t){try{step(i.next(t))}catch(t){o(t)}}function rejected(t){try{step(i.throw(t))}catch(t){o(t)}}function step(t){t.done?n(t.value):new a((function(e){e(t.value)})).then(fulfilled,rejected)}step((i=i.apply(t,e||[])).next())}))},Speedtest_generator=function(t,e){var a,i,n,o,r={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return o={next:verb(0),throw:verb(1),return:verb(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;
680function verb(o){return function(s){return function(o){if(a)throw new TypeError("Generator is already executing.");for(;r;)try{if(a=1,i&&(n=2&o[0]?i.return:o[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,o[1])).done)return n;switch(i=0,n&&(o=[2&o[0],n.value]),o[0]){case 0:case 1:n=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(!(n=r.trys,(n=n.length>0&&n[n.length-1])||6!==o[0]&&2!==o[0])){r=0;continue}if(3===o[0]&&(!n||o[1]>n[0]&&o[1]<n[3])){r.label=o[1];break}if(6===o[0]&&r.label<n[1]){r.label=n[1],n=o;break}if(n&&r.label<n[2]){r.label=n[2],r.ops.push(o);break}n[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(t){o=[6,t],i=0}finally{a=n=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};function SpeedtestInternal(t,e,a,i){this._serverList=[],this._selectedServer=null,this._settings={},this._state=0,this.testID=t,this.salt=e,this.apiUrl=a,this.workerUrl=i}SpeedtestInternal.prototype={constructor:SpeedtestInternal,getState:function(){return this._state},setParameter:function(t,e){if(0!==this._state)throw new Error("You cannot change the test settings after adding server or starting the test");this._settings[t]=e,"temeletry_extra"===t&&(this._originalExtra=this._settings.telemetry_extra)},_checkServerDefinition:function(t){try{if("string"!=typeof t.name)throw new Error("Name string missing from server definition (name)");if("string"!=typeof t.server)throw new Error("Server address string missing from server definition (server)");if("/"!==t.server.charAt(t.server.length-1)&&(t.server+="/"),0===t.server.indexOf("//")&&(t.server=window.location.protocol+t.server),"string"!=typeof t.dlURL)throw new Error("Download URL string missing from server definition (dlURL)");if("string"!=typeof t.ulURL)throw new Error("Upload URL string missing from server definition (ulURL)");if("string"!=typeof t.pingURL)throw new Error("Ping URL string missing from server definition (pingURL)");if("string"!=typeof t.getIpURL)throw new Error("GetIP URL string missing from server definition (getIpURL)")}catch(t){throw new Error("Invalid server definition")}},addTestPoint:function(t){if(this._checkServerDefinition(t),0===this._state&&(this._state=1),1!==this._state)throw new Error("You can't add a server after server selection");this._settings.mpot=!0,this._serverList.push(t)},addTestPoints:function(t){for(var e=0;e<t.length;e++)this.addTestPoint(t[e])},loadServerList:function(t,e){var a=this;if(0===this._state&&(this._state=1),1!==this._state)throw new Error("You can't add a server after server selection");this._settings.mpot=!0;var i=new XMLHttpRequest;i.addEventListener("load",(function(){try{for(var t=JSON.parse(i.responseText),n=0;n<t.length;n++)a._checkServerDefinition(t[n]);a.addTestPoints(t),e(t)}catch(t){e(null)}})),i.onerror=function(){e(null)},i.open("GET",t),i.send()},getSelectedServer:function(){if(this._state<2||null===this._selectedServer)throw new Error("No server is selected");return this._selectedServer},setSelectedServer:function(t){if(this._checkServerDefinition(t),3===this._state)throw new Error("You can't select a server while the test is running");this._selectedServer=t,this._state=2},selectServer:function(t){var e=this;if(1!==this._state){if(0===this._state)throw new Error("No test points added");if(2===this._state)throw new Error("Server already selected");if(this._state>=3)throw new Error("You can't select a server while the test is running")}if(this._selectServerCalled)throw new Error("selectServer already called");this._selectServerCalled=!0;for(var select=function(t,e){var a=!0;/MSIE.(\d+\.\d+)/i.test(navigator.userAgent)&&(a=!1);var checkServer=function(t,e){var i=0;if(t.pingT=-1,t.server.includes(window.location.protocol)){!function nextPing_1(){3!=i++?function(t,e){t+=(/\?/.test(t)?"&":"?")+"cors=true";var i=new XMLHttpRequest,n=Date.now();if(i.addEventListener("load",(function(){if(0===i.responseText.length){var a=Date.now()-n;try{var o=performance.getEntriesByName(t),r=(o=o[o.length-1]).responseStart-o.requestStart;r<=0&&(r=o.duration),r>0&&r<a&&(a=r)}catch(t){}e(a)}else e(-1)})),i.onerror=function(){e(-1)},i.open("GET",t),a)try{i.timeout=2e3,i.ontimeout=i.onerror}catch(t){}i.send()}(t.server+t.pingURL,(function(a){a>=0?((a<t.pingT||-1===t.pingT)&&(t.pingT=a),a<500?nextPing_1():e()):e()})):e()}()}else e()},i=0;!function nextServer(){i!==t.length?checkServer(t[i++],nextServer):function(){for(var a=null,i=0;i<t.length;i++)-1!==t[i].pingT&&(null===a||t[i].pingT<a.pingT)&&(a=t[i]);e(a)}()}()},a=[],i=0;i<6;i++)a[i]=[];for(i=0;i<this._serverList.length;i++)a[i%6].push(this._serverList[i]);var n=0,o=null;for(i=0;i<6;i++)select(a[i],(function(a){null!==a&&(null===o||a.pingT<o.pingT)&&(o=a),6===++n&&(e._selectedServer=o,e._state=2,t&&t(o))}))},start:function(){var t=this;if(3===this._state)throw new Error("Test already running");if(this.worker=new Worker(this.workerUrl.concat("?id="+this.testID+"&s="+this.salt+"&r="+Math.random())),this.worker.postMessage("testid "+this.testID),this.worker.postMessage("s "+this.salt),this.worker.onmessage=function(t){if(t.data!==this._prevData){this._prevData=t.data;var e=JSON.parse(t.data);try{this.onupdate&&this.onupdate(e)}catch(t){console.error("Speedtest onupdate event threw exception: "+t)}if(e.testState>=4){try{this.onend&&this.onend(5===e.testState)}catch(t){console.error("Speedtest onend event threw exception: "+t)}clearInterval(this.updater),this._state=4}}}.bind(this),this.updater=setInterval((function(){t.worker.postMessage("status")}),200),1===this._state)throw new Error("When using multiple points of test, you must call selectServer before starting the test");2===this._state&&(this._settings.url_dl=this._selectedServer.server+this._selectedServer.dlURL,this._settings.url_ul=this._selectedServer.server+this._selectedServer.ulURL,this._settings.url_ping=this._selectedServer.server+this._selectedServer.pingURL,this._settings.url_getIp=this._selectedServer.server+this._selectedServer.getIpURL,void 0!==this._originalExtra?this._settings.telemetry_extra=JSON.stringify({server:this._selectedServer.name,extra:this._originalExtra}):this._settings.telemetry_extra=JSON.stringify({server:this._selectedServer.name})),this._state=3,this.worker.postMessage("start "+JSON.stringify(this._settings))},abort:function(){if(this._state<3)throw new Error("You cannot abort a test that's not started yet");this._state<4&&this.worker.postMessage("abort")}};var k=function(){function Speedtest(t){this.apiUrl="https://speedy.cablelink.at/api/v1/register",this.mockFlags="",this.maxScales={download:100,upload:100},this.$element=t,this.apiUrl=this.$element.data("api-url"),this.init()}return Speedtest.prototype.init=function(){var t=this;this.$ip=this.$element.find('[data-role="ip"]'),this.$ping=this.$element.find('[data-role="ping"]'),this.$jitter=this.$element.find('[data-role="jitter"]'),this.$endDeviceLine=this.$element.find('[data-role="end-device-line"]'),this.$routerLine=this.$element.find('[data-role="router-line"]'),this.$router=this.$element.find('[data-role="router"]'),this.$resultText=this.$element.find('[data-role="result-text"]'),this.$restartButton=this.$element.find('[data-role="test-button"]'),this.$scales={download:this.$element.find('[data-role="download"]'),upload:this.$element.find('[data-role="upload"]')},this.$element.find('[data-role="start-button"]').on("click",(function(){t.startTest()})),this.$restartButton.on("click",(function(){t.updateUi({clientIp:"-",dlProgress:0,dlStatus:"-",jitterStatus:"-",pingProgress:0,pingStatus:"-",testId:null,testState:0,ulProgress:0,ulStatus:"-"}),t.$element.find('[data-role="scale-numbers"]').addClass("hidden"),t.$element.find('[data-role="scale-meter"]').addClass("hidden"),t.$element.find('[data-role="value-wrapper"]').addClass("hidden"),t.$endDeviceLine.removeClass("speedtest__route-line--loading speedtest__route-line--warning speedtest__route-line--neutral speedtest__route-line--success"),t.$endDeviceLine.removeClass("hidden"),t.$router.addClass("hidden"),t.$routerLine.addClass("hidden"),t.$routerLine.removeClass("speedtest__route-line--loading speedtest__route-line--warning speedtest__route-line--neutral speedtest__route-line--success"),t.$resultText.addClass("hidden"),t.$resultText.find('[data-role="success"], [data-role="reverse-start"], [data-role="reverse-success"], [data-role="reverse-failed"]').addClass("hidden"),t.$element.find('[data-role="test-screen"] [data-role="test-button"]').addClass("hidden"),t.$scales.download.find('[data-role="scale-meter"]').removeClass("hidden"),t.$scales.download.find('[data-role="scale-meter"]').addClass("speedtest__meter-value--prestart"),t.startTest()}))},Speedtest.prototype.startTest=function(){return Speedtest_awaiter(this,void 0,Promise,(function(){var t,e,a,i,n=this;return Speedtest_generator(this,(function(o){switch(o.label){case 0:this.$element.find('[data-role="start-screen"]').addClass("hidden"),o.label=1;case 1:return o.trys.push([1,3,,4]),t=this,[4,this.registerTest()];case 2:if(t.testData=o.sent(),!this.testData.success)throw this.testData;return this.$element.find('[data-role="error-screen"]').addClass("hidden"),this.$element.find('[data-role="test-screen"]').removeClass("hidden"),(e=new SpeedtestInternal(this.testData.result.registration.testID,this.getDeviceId(),this.apiUrl,"/etc.clientlibs/web18/clientlib-site/resources/dist/speedtest/speedtest_worker.js")).setParameter("telemetry_level","basic"),e.setParameter("url_telemetry",this.apiUrl+"/fw-speedtest/results/telemetry"),a={name:"demo",server:this.apiUrl,dlURL:"fw-speedtest/backend/garbage.xyz",ulURL:"fw-speedtest/backend/empty.xyz",pingURL:"fw-speedtest/backend/empty.xyz",getIpURL:"fw-speedtest/backend/getIP.xyz"},e.setSelectedServer(a),e.onupdate=function(t){n.updateUi(t)},e.onend=function(t){n.endFwTest(t)},e.start(),this.$endDeviceLine.addClass("speedtest__route-line--loading"),[3,4];case 3:return i=o.sent(),this.$element.find('[data-role="test-screen"]').addClass("hidden"),i.error&&i.error.statusText&&"Limit reached"===i.error.statusText?(this.$element.find('[data-role="error-screen"] [data-role="limit-error"]').removeClass("hidden"),this.$element.find('[data-role="error-screen"] [data-role="general-error"]').addClass("hidden")):(this.$element.find('[data-role="error-screen"] [data-role="limit-error"]').addClass("hidden"),this.$element.find('[data-role="error-screen"] [data-role="general-error"]').removeClass("hidden")),this.$element.find('[data-role="error-screen"]').removeClass("hidden"),[3,4];case 4:return[2]}}
680))}))},Speedtest.prototype.updateUi=function(t){var e=this;window.requestAnimationFrame((function(){e.$ip.text(t.clientIp?t.clientIp:"-"),e.$ping.text(t.pingStatus?t.pingStatus:"-"),e.$jitter.text(t.jitterStatus?t.jitterStatus:"-"),t.dlProgress>0&&e.updateScale("download",t.dlStatus),t.ulProgress>0&&e.updateScale("upload",t.ulStatus),3===t.testState&&0===t.ulProgress&&(e.$scales.upload.find('[data-role="scale-meter"]').removeClass("hidden"),e.$scales.upload.find('[data-role="scale-meter"]').addClass("speedtest__meter-value--prestart"))}))},Speedtest.prototype.getDeviceId=function(){var t=window.localStorage.getItem("speedtest_device_id");return t||(t="10000000-1000-4000-8000-100000000000".replace(/[018]/g,(function(t){return(Number(t)^crypto.getRandomValues(new Uint8Array(1))[0]&15>>Number(t)/4).toString(16)})),window.localStorage.setItem("speedtest_device_id",t)),t},Speedtest.prototype.registerTest=function(){return Speedtest_awaiter(this,void 0,Promise,(function(){return Speedtest_generator(this,(function(t){return[2,fetch(this.apiUrl+"/api/v1/register?"+this.mockFlags+"opt=true&s="+this.getDeviceId()).then((function(t){return t.json()}))]}))}))},Speedtest.prototype.getResults=function(){return Speedtest_awaiter(this,void 0,Promise,(function(){return Speedtest_generator(this,(function(t){return[2,fetch(this.apiUrl+"/api/v1/current?"+this.mockFlags+"s="+this.getDeviceId(),{headers:{Authorization:"Bearer "+this.testData.result.registration.testID}}).then((function(t){return t.json()}))]}))}))},Speedtest.prototype.getReverseTest=function(){return Speedtest_awaiter(this,void 0,Promise,(function(){return Speedtest_generator(this,(function(t){return[2,fetch(this.apiUrl+"/api/v1/reverse?"+this.mockFlags+"s="+this.getDeviceId(),{headers:{Authorization:"Bearer "+this.testData.result.registration.testID}}).then((function(t){return t.json()}))]}))}))},Speedtest.prototype.endFwTest=function(t){return Speedtest_awaiter(this,void 0,void 0,(function(){var t,e;return Speedtest_generator(this,(function(a){switch(a.label){case 0:return t=this,[4,this.getResults()];case 1:return t.testData=a.sent(),this.$endDeviceLine.removeClass("speedtest__route-line--loading"),this.testData.success&&this.testData.result.fwSpeedtestResults.speedSufficient?(this.testData.result.deviceInfo.applicableReverse.flag?(this.$endDeviceLine.addClass("speedtest__route-line--success"),this.$resultText.removeClass("hidden"),this.$resultText.find('[data-role="success"]').removeClass("hidden")):this.$endDeviceLine.addClass("speedtest__route-line--success"),this.$restartButton.removeClass("hidden"),[3,4]):[3,2];case 2:return this.testData.success&&!this.testData.result.fwSpeedtestResults.speedSufficient&&this.testData.result.deviceInfo.applicableReverse.flag?(this.$endDeviceLine.addClass("speedtest__route-line--warning"),this.$router.removeClass("hidden"),this.$routerLine.removeClass("hidden"),this.$routerLine.addClass("speedtest__route-line--loading"),this.$resultText.removeClass("hidden"),this.$resultText.find('[data-role="reverse-start"]').removeClass("hidden"),e=this,[4,this.getReverseTest()]):[3,4];case 3:e.testData=a.sent(),this.$resultText.find('[data-role="reverse-start"]').addClass("hidden"),this.testData.result.reSpeedtestResults.speedSufficient?(this.$routerLine.removeClass("speedtest__route-line--loading"),this.$routerLine.addClass("speedtest__route-line--success"),this.$resultText.find('[data-role="reverse-success"]').removeClass("hidden")):(this.$routerLine.removeClass("speedtest__route-line--loading"),this.$routerLine.addClass("speedtest__route-line--warning"),this.$resultText.find('[data-role="reverse-failed"]').removeClass("hidden")),this.$restartButton.removeClass("hidden"),a.label=4;case 4:return[2]}}
680))}))},Speedtest.prototype.updateScale=function(t,e){var a=Number(e),i="download"===t?this.testData.result.deviceInfo.configuredDownstream/1e6:this.testData.result.deviceInfo.configuredUpstream/1e6;a>(i=i?Math.round(i):this.maxScales[t])&&(i=100*Math.ceil(a/100));var n=this.$scales[t],o=n.find('[data-role="scale-meter"]'),r=a/i*563,s=892-r;o.attr("stroke-dasharray",r+" "+s),o.removeClass("hidden speedtest__meter-value--prestart");for(var l=n.find('[data-role="scale-numbers"]'),d=i/4,c=0;c<5;c++)l.children().eq(c).text(10*Math.ceil(d*c/10));l.removeClass("hidden");var u=n.find('[data-role="value-wrapper"]');u.removeClass("hidden"),u.find('[data-role="scale-value"]').text(Math.round(a))},Speedtest}(),I=a("QkDI"),E=a("F5jL"),D=function(){function NewsletterTeaser(t){this.$element=t,this.initScrollTrigger()}return NewsletterTeaser.prototype.initScrollTrigger=function(){var t=this.$element.find(".newsletter-teaser__icon-container").get(0);if(t){new IntersectionObserver((function(t,e){t.forEach((function(t){t.isIntersecting&&(t.target.querySelector("span").classList.add("icon-visible"),e.unobserve(t.target))}))}),{threshold:.1}).observe(t)}},NewsletterTeaser}(),L=a("MT78");function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var Spottariff_awaiter=function(t,e,a,i){return new(a||(a=Promise))((function(n,o){function fulfilled(t){try{step(i.next(t))}catch(t){o(t)}}function rejected(t){try{step(i.throw(t))}catch(t){o(t)}}function step(t){t.done?n(t.value):new a((function(e){e(t.value)})).then(fulfilled,rejected)}step((i=i.apply(t,e||[])).next())}))},Spottariff_generator=function(t,e){var a,i,n,o,r={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return o={next:verb(0),throw:verb(1),return:verb(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function verb(o){return function(s){return function(o){if(a)throw new TypeError("Generator is already executing.");for(;r;)try{if(a=1,i&&(n=2&o[0]?i.return:o[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,o[1])).done)return n;switch(i=0,n&&(o=[2&o[0],n.value]),o[0]){case 0:case 1:n=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(!(n=r.trys,(n=n.length>0&&n[n.length-1])||6!==o[0]&&2!==o[0])){r=0;continue}if(3===o[0]&&(!n||o[1]>n[0]&&o[1]<n[3])){r.label=o[1];break}if(6===o[0]&&r.label<n[1]){r.label=n[1],n=o;break}if(n&&r.label<n[2]){r.label=n[2],r.ops.push(o);break}n[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(t){o=[6,t],i=0}finally{a=n=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},F=function(){function Spottariff(t){this.$tableBody=null,this.apiUrl="",this.apiKey="",this.tarifFlags="",this.digits=null,this.chartYAxisName="",this.tooltipUnity="",this.tooltipFootnote="",this.pikaday=null,this.chartInstance=null,this.currentDate=null,this.blobUrl=null,this.chartZoomIndex=0,this.syntheticIndex=null,this.data=[],this.zoomSteps=[[0,12],[16,30],[35,45],[52,64],[68,84],[89,100]],this.$element=t,this.$chartContainer=t.find(".spottariff__echart"),this.chartEl=this.$chartContainer[0]||null,this.$buttonBack=t.find('[data-action="go-back"]'),this.$buttonForward=t.find('[data-action="go-forward"]'),this.$dateField=t.find('[data-role="date-field"]'),this.$downloadLink=t.find('[data-action="download"]'),this.$zoomPrevBtn=t.find('[data-chart-action="prev"]'),this.$zoomNextBtn=t.find('[data-chart-action="next"]'),this.$table=t.find("#spottariff_table"),this.$errorContainer=t.find(".spottariff__error-container"),this.$tableBody=this.$table.find("tbody")[0],this.chartEl&&(this.apiUrl=this.chartEl.getAttribute("data-api-url")||"",this.apiKey=this.chartEl.getAttribute("data-api-key")||"",this.tarifFlags=this.chartEl.getAttribute("data-tarif")||"",this.digits=Number(this.chartEl.getAttribute("data-digits")||2),this.chartYAxisName=this.chartEl.getAttribute("data-axistitle")||"",this.tooltipUnity=this.chartEl.getAttribute("data-tooltipunity")||"",this.tooltipFootnote=this.chartEl.getAttribute("data-tooltipfootnote")||""),this.initChart(),this.initDatePicker(),this.initDownload(),this.initResize()}return Spottariff.prototype.initChart=function(){return Spottariff_awaiter(this,void 0,Promise,(function(){var t;return Spottariff_generator(this,(function(e){switch(e.label){case 0:return this.chartEl?(this.chartInstance=L.b(this.chartEl),t=this.getToday(),this.currentDate=t,[4,this.fetchData(t)]):[2];case 1:return e.sent(),this.addDatePlaceholderText(t),[2]}}))}))},Spottariff.prototype.initDatePicker=function(){var t=this,e=this.$dateField[0];if(e){!function checkForPikaday(){var a=e._pikaday;a?(t.pikaday=a,e.addEventListener("datechange",(function(e){t.onDateChange(e.detail)})),t.checkTomorrowAvailable(),t.initButtons()):setTimeout(checkForPikaday,100)}()}},Spottariff.prototype.initButtons=function(){this.setupDateNavButtons(),this.setupZoomButtons()},Spottariff.prototype.initDownload=function(){this.createDownloadLink()},Spottariff.prototype.initResize=function(){var t=this;window.addEventListener("resize",(function(){t.chartInstance.resize()}))},Spottariff.prototype.makeChart=function(t,e){var a=this;if(this.chartEl&&this.chartInstance){var i=this.extendForStep(t,e),n=i.x,o=i.y,r=o.map((function(t){var e="object"===_typeof(t)&&void 0!==t.value?t.value:t;return e>=0?e:null})),s=o.map((function(t){var e="object"===_typeof(t)&&void 0!==t.value?t.value:t;return e<0?e:null})),l={tooltip:{trigger:"axis",borderWidth:0,borderRadius:0,extraCssText:"box-shadow: 0 0 30px rgba(53,53,53,0.15);",formatter:this.formatTooltip.bind(this),axisPointer:{type:"none"}},aria:{enabled:!0}
680,grid:{left:"80px",right:"5px",bottom:"3%",containLabel:!0},xAxis:{type:"category",boundaryGap:!1,data:n,axisLabel:{rotate:45,margin:25},axisTick:{show:!0,alignWithLabel:!0},axisLine:{lineStyle:{color:"#BABABA"}}},yAxis:{type:"value",offset:20,name:this.chartYAxisName,nameGap:70,nameLocation:"center",nameTextStyle:{fontSize:13,color:"#5D5C5C",fontWeight:"300"},axisLabel:{formatter:function(t){return t.toFixed(2).replace(".",",")}},splitNumber:9},series:[{type:"line",step:"end",symbol:"none",data:o,z:3,itemStyle:{color:"rgb(238,0,0)"},lineStyle:{width:2}},{type:"line",step:"end",symbol:"none",data:r,stack:"fill",z:1,lineStyle:{width:0},tooltip:{show:!1},areaStyle:{origin:"auto",color:new L.a.LinearGradient(0,0,0,1,[{offset:0,color:"rgba(238,0,0,0.2)"},{offset:1,color:"rgba(238,0,0,0)"}])}},{type:"line",step:"end",symbol:"none",data:s,stack:"fill",z:1,lineStyle:{width:0},tooltip:{show:!1},areaStyle:{origin:"auto",color:new L.a.LinearGradient(0,0,0,1,[{offset:0,color:"rgba(109,109,109,0.35)"},{offset:1,color:"rgba(109,109,109,0)"}])}},{id:"hoverBand",type:"line",data:[],z:2,animation:!1,symbol:"none",lineStyle:{width:0},tooltip:{show:!1},markArea:{silent:!0,data:[]}}],media:[{query:{maxWidth:670},option:{grid:{left:"40px",right:"10px"},dataZoom:[{id:"dataZoomX",type:"inside",xAxisIndex:[0],filterMode:"filter",start:0,end:100}],yAxis:{offset:5,nameGap:45}}},{query:{minWidth:670},option:{dataZoom:[]}}]};this.chartInstance.setOption(l),this.chartInstance.on("updateAxisPointer",(function(t){var e=t.dataIndex;void 0!==e&&Promise.resolve().then((function(){a.chartInstance.setOption({series:[{id:"hoverBand",markArea:bandData(e)}]},!1)}))})),this.chartInstance.on("globalout",(function(){Promise.resolve().then((function(){a.chartInstance.setOption({series:[{id:"hoverBand",markArea:{data:[]}}]},!1)}))})),this.chartZoomIndex=0,this.updateZoomButtonState()}function bandData(t){var e=n[t],a=n[t+1]||n[t],i=o[t];return{silent:!0,itemStyle:{color:i>=0?"rgba(238,0,0,0.35)":"rgba(109,109,109,0.35)",opacity:.35},data:[[{coord:[e,0]},{coord:[a,i]}]]}}},Spottariff.prototype.setupZoomButtons=function(){var t=this,updateZoom=function(){if(t.chartInstance){var e=t.zoomSteps[t.chartZoomIndex],a=e[0],i=e[1];t.chartInstance.dispatchAction({type:"dataZoom",start:a,end:i}),t.updateZoomButtonState()}};this.$zoomPrevBtn&&this.$zoomPrevBtn.on("click",(function(){t.chartZoomIndex>0&&(t.chartZoomIndex--,updateZoom())})),this.$zoomNextBtn&&this.$zoomNextBtn.on("click",(function(){t.chartZoomIndex<t.zoomSteps.length-1&&(t.chartZoomIndex++,updateZoom())}))},Spottariff.prototype.updateZoomButtonState=function(){this.$zoomPrevBtn.prop("disabled",this.chartZoomIndex<=0),this.$zoomNextBtn.prop("disabled",this.chartZoomIndex>=this.zoomSteps.length-1)},Spottariff.prototype.formatTooltip=function(t){var e=t[0];if(null!=this.syntheticIndex&&e.dataIndex===this.syntheticIndex)return"";var a=this.formatDate(this.currentDate||""),i=t[0].value.toFixed(this.digits).replace(".",","),n=t[0].axisValue,o=S()(n,"H:mm"),r=S()(o).add(1,"hour");return'\n        <div class="spottariff__tooltip">\n            <div class="spottariff__tooltip-headertext">\n                <span class="spottariff__tooltip-date">'+a+',</span> \n                <span class="spottariff__tooltip-time">'+(o.format("H:mm")+"-"+r.format("H:mm"))+'</span> \n            </div>\n            <div class="spottariff__tooltip-price">\n                <span class="h3 spottariff__tooltip-value">'+i+'</span> \n                <span class="spottariff__tooltip-unity">'+this.tooltipUnity+"</span> \n            </div>\n            <small>"+this.tooltipFootnote+"</small><br/>\n        </div>"},Spottariff.prototype.fetchTariffs=function(t,e){return void 0===e&&(e="json"),Spottariff_awaiter(this,void 0,Promise,(function(){var a,i,n;return Spottariff_generator(this,(function(o){switch(o.label){case 0:return a="csv"===e?"/csv":"",i=""+this.apiUrl+this.tarifFlags+"/from/"+t+a,[4,fetch(i,{method:"GET",headers:{"X-Api-Key":this.apiKey}})];case 1:if(!(n=o.sent()).ok)throw new Error("Error fetching "+e.toUpperCase()+": "+n.status);return[2,"csv"===e?n.blob():n.json()]}}))}))},Spottariff.prototype.fetchData=function(t){return Spottariff_awaiter(this,void 0,Promise,(function(){var e,a,i;return Spottariff_generator(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,this.fetchTariffs(t)];case 1:return e=n.sent(),(a=e&&e.tariffs?e.tariffs:[]).length?(this.data=a.map((function(t){return{hourStart:String(t.stunde),price:parseFloat(String(t.preis).replace(",","."))}})),this.hideError(),this.renderChartFromData(),this.renderTableFromData(),[3,3]):(this.showError(),[2]);case 2:return i=n.sent(),console.error("Error in fetchData:",i),this.showError(),[3,3];case 3:return[2]}}
680))}))},Spottariff.prototype.showError=function(){this.$errorContainer.removeClass("hidden"),this.$chartContainer.addClass("hidden"),this.$table.addClass("hidden")},Spottariff.prototype.hideError=function(){this.$errorContainer.addClass("hidden"),this.$chartContainer.removeClass("hidden"),this.$table.removeClass("hidden")},Spottariff.prototype.addDatePlaceholderText=function(t){var e=this.formatDate(t);this.$element.find(Spottariff.SELECTORS.chartDate).each((function(t,a){a.textContent=e}))},Spottariff.prototype.renderChartFromData=function(){var t=this;if(this.chartEl&&this.chartInstance&&this.data.length){var e=this.data.map((function(e){return t.formatHourLabel(e.hourStart)})),a=this.data.map((function(t){return t.price}));this.makeChart(e,a)}},Spottariff.prototype.renderTableFromData=function(){var t=this;if(this.$tableBody){var e=document.createDocumentFragment();this.data.forEach((function(a){var i=document.createElement("tr"),n=document.createElement("td");n.textContent=t.formatHourRange(a.hourStart);var o=document.createElement("td");o.textContent=t.formatPrice(a.price,t.digits),i.appendChild(n),i.appendChild(o),e.appendChild(i)})),this.$tableBody.innerHTML="",this.$tableBody.appendChild(e)}},Spottariff.prototype.createDownloadLink=function(){return Spottariff_awaiter(this,void 0,Promise,(function(){var t,e;return Spottariff_generator(this,(function(a){switch(a.label){case 0:if(!this.currentDate)return[2];a.label=1;case 1:return a.trys.push([1,3,,4]),[4,this.fetchTariffs(this.currentDate,"csv")];case 2:return t=a.sent(),this.blobUrl&&URL.revokeObjectURL(this.blobUrl),this.blobUrl=URL.createObjectURL(t),this.$downloadLink[0].href=this.blobUrl,this.$downloadLink[0].download="FlexSpot_"+this.currentDate+".csv",[3,4];case 3:return e=a.sent(),console.error("Error creating download link:",e),[3,4];case 4:return[2]}}
680))}))},Spottariff.prototype.checkTomorrowAvailable=function(){return Spottariff_awaiter(this,void 0,Promise,(function(){var t,e,a,i;return Spottariff_generator(this,(function(n){switch(n.label){case 0:if(!this.pikaday)return console.warn("Pikaday instance not found on $dateField"),[2];t=this.getTomorrow(),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.fetchTariffs(t)];case 2:return(e=n.sent())?(a=Array.isArray(e.tariffs)&&e.tariffs.length>0,this.pikaday.setMaxDate(new Date(a?t:this.getToday())),this.$buttonForward.prop("disabled",!a),[3,4]):(this.pikaday.setMaxDate(new Date(this.getToday())),this.$buttonForward.prop("disabled",!0),[2]);case 3:return i=n.sent(),console.warn("Unexpected error while checking tomorrow’s data:",i),this.pikaday.setMaxDate(new Date(this.getToday())),this.$buttonForward.prop("disabled",!0),[3,4];case 4:return[2]}}))}))},Spottariff.prototype.extendForStep=function(t,e){var a=t[t.length-1],i=S()(a,"H:mm").add(1,"hour"),n=0===i.hour()&&0===i.minute()?"24:00":i.format("H:mm"),o=t.concat([n]),r=e.concat([{value:e[e.length-1],tooltip:{show:!1}}]);return this.syntheticIndex=r.length-1,{x:o,y:r}},Spottariff.prototype.setupDateNavButtons=function(){var t=this;if(this.pikaday&&this.currentDate){var updateButtonState=function(){var e=S()(t.currentDate),a=S()(t.pikaday._o.minDate),i=S()(t.pikaday._o.maxDate);t.$buttonBack.prop("disabled",e.diff(a,"days")<=0),t.$buttonForward.prop("disabled",e.diff(i,"days")>=0)};this.$buttonBack.on("click",(function(){if(t.currentDate){var e=S()(t.currentDate).subtract(1,"day").toDate();t.pikaday.setDate(e),updateButtonState()}}));var e=this.$dateField[0];e&&e.addEventListener("datechange",(function(t){updateButtonState()})),this.$buttonForward.on("click",(function(){if(t.currentDate){var e=S()(t.currentDate).add(1,"day").toDate();t.pikaday.setDate(e),updateButtonState()}}))}},Spottariff.prototype.onDateChange=function(t){this.currentDate=t,this.addDatePlaceholderText(t),this.createDownloadLink(),this.fetchData(t)},Spottariff.prototype.getToday=function(){return(new Date).toISOString().split("T")[0]},Spottariff.prototype.getTomorrow=function(){return S()().add(1,"day").format("YYYY-MM-DD")},Spottariff.prototype.formatDate=function(t){var e=t.split("-"),a=e[0],i=e[1];return e[2]+"."+i+"."+a},Spottariff.prototype.formatHourRange=function(t){var e=S()(t,"H:mm"),a=S()(e).add(1,"hour");return e.format("HH:mm")+" – "+a.format("HH:mm")},Spottariff.prototype.formatHourLabel=function(t){return S()(t,"H:mm").format("H:mm")},Spottariff.prototype.formatPrice=function(t,e){return t.toFixed(e).replace(".",",")},Spottariff.SELECTORS={chartDate:".spottariff__chart-date"},Spottariff}(),TrafficMessages_awaiter=function(t,e,a,i){return new(a||(a=Promise))((function(n,o){function fulfilled(t){try{step(i.next(t))}catch(t){o(t)}}function rejected(t){try{step(i.throw(t))}catch(t){o(t)}}function step(t){t.done?n(t.value):new a((function(e){e(t.value)})).then(fulfilled,rejected)}step((i=i.apply(t,e||[])).next())}))},TrafficMessages_generator=function(t,e){var a,i,n,o,r={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return o={next:verb(0),throw:verb(1),return:verb(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function verb(o){return function(s){return function(o){if(a)throw new TypeError("Generator is already executing.");for(;r;)try{if(a=1,i&&(n=2&o[0]?i.return:o[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,o[1])).done)return n;switch(i=0,n&&(o=[2&o[0],n.value]),o[0]){case 0:case 1:n=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(!(n=r.trys,(n=n.length>0&&n[n.length-1])||6!==o[0]&&2!==o[0])){r=0;continue}if(3===o[0]&&(!n||o[1]>n[0]&&o[1]<n[3])){r.label=o[1];break}if(6===o[0]&&r.label<n[1]){r.label=n[1],n=o;break}if(n&&r.label<n[2]){r.label=n[2],r.ops.push(o);break}n[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(t){o=[6,t],i=0}finally{a=n=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},O=function(){function TrafficMessages(t){this.$element=t,this.resourcePath=this.$element.data("resource"),this.$ajaxContainer=this.$element.find(".traffic-messages__ajax-container"),this.$skeleton=this.$element.find(".traffic-messages__skeleton"),this.resourcePath&&this.$ajaxContainer.length&&this.loadMessages()}return TrafficMessages.prototype.loadMessages=function(){return TrafficMessages_awaiter(this,void 0,void 0,(function(){var t,e,a,i,n;return TrafficMessages_generator(this,(function(o){switch(o.label){case 0:t=Math.floor(1e6*Math.random()),e=this.resourcePath+".content.html?t="+t,o.label=1;case 1:return o.trys.push([1,6,7,8]),[4,fetch(e)];case 2:return(a=o.sent()).ok?[4,a.text()]:[3,4];case 3:return i=o.sent(),this.$ajaxContainer.html(i),window.App&&window.App.Collapsible&&window.App.Collapsible.init(this.$ajaxContainer.find('[data-module~="collapsible"]')),[3,5];case 4:console.error("Failed to load traffic messages",a.statusText),o.label=5;case 5:return[3,8];case 6:return n=o.sent(),console.error("Error fetching traffic messages",n),[3,8];case 7:return this.$skeleton.removeClass("traffic-messages__skeleton--visible"),[7];case 8:return[2]}}
680))}))},TrafficMessages}(),N=a("uJ/6"),P=function(){function FlexibleFilter(t){this.CLASS_NAMES={FILTER_OPTIONS_HIDDEN:"station-list__filter-select-options--hidden",LOADING_INDICATOR_VISIBLE:"station-list__loader--visible"},this.$body=c()("body"),this.$element=t,this.$searchInput=this.$element.find('[data-role="search-input"]'),this.$clearSearch=this.$element.find('[data-action="clear-search"]'),this.$filterBar=this.$element.find('[data-role="filter-bar"]'),this.$filterSelects=this.$filterBar.find('[data-role="filter-select"]'),this.$filterSelectToggles=this.$filterBar.find('[data-action="filter-toggle"]'),this.$filterSelectOptions=this.$filterBar.find('[data-role="filter-options"]'),this.$currentToggle=void 0,this.$currentOptions=void 0,this.$openFilterOverlay=this.$element.find('[data-action="open-filter-overlay"]'),this.$filterOverlay=this.$element.find('[data-role="station-list-filter-overlay"]'),this.$closeFilterOverlay=this.$element.find('[data-action="close-filter-overlay"]'),this.$applyFilterOverlay=this.$element.find('[data-action="apply-filters"]'),this.$filterCategories=this.$element.find('[data-role="filter-category"]'),this.$filterBlocks=this.$element.find("[data-filter-id]"),this.$resetAll=this.$element.find('[data-action="reset-all"]'),this.$loader=this.$element.find('[data-role="loader"]'),this.$tableContainer=this.$element.find('[data-role="table-container"]'),this.searchQuery="",this.filter={},this.scrollPosition=0,this.overlayOpen=!1,this.baseUrl=this.$element.attr("data-stations-url"),this.page=1,this.initSearchInput(),this.initFilterSelect(),this.initFilterOverlay(),this.initFilters(),this.fadeInTable(),this.initSearchButtonListener(),this.initPagination(),this.initOverflow(),this.initResetAllButtonListener(),this.initEnterKeyListener()}return FlexibleFilter.prototype.initSearchInput=function(){var t=this;this.$searchInput.on("input",(function(e){t.searchQuery=e.currentTarget.value,t.$clearSearch.toggleClass("hidden",""===t.searchQuery)})),this.$clearSearch.on("click",(function(){t.searchQuery="",t.$searchInput.val(""),t.$clearSearch.addClass("hidden"),t.page=1,t.update()}))},FlexibleFilter.prototype.initFilterSelect=function(){var t=this;this.$filterSelectOptions.removeClass("hidden"),this.$filterSelects.each((function(e,a){var i=c()(a).find('[data-action="filter-toggle"]'),n=c()(a).find('[data-role="filter-options"]');i.on("click",(function(e){e.preventDefault(),e.stopPropagation(),t.$currentToggle=i,t.$currentOptions=n,t.$filterSelectToggles.not(t.$currentToggle).removeClass("active"),t.$filterSelectOptions.not(t.$currentOptions).addClass(t.CLASS_NAMES.FILTER_OPTIONS_HIDDEN);var a=!t.$currentOptions.hasClass(t.CLASS_NAMES.FILTER_OPTIONS_HIDDEN);t.$currentToggle.toggleClass("active",!a),t.$currentOptions.toggleClass(t.CLASS_NAMES.FILTER_OPTIONS_HIDDEN,a),document.addEventListener("click",t.closeFilters.bind(t))}))}))},FlexibleFilter.prototype.closeFilters=function(t){!t.composedPath().includes(this.$currentOptions[0])&&(this.$filterSelectToggles.removeClass("active"),this.$filterSelectOptions.addClass(this.CLASS_NAMES.FILTER_OPTIONS_HIDDEN),document.removeEventListener("click",this.closeFilters.bind(this)))},FlexibleFilter.prototype.initFilterOverlay=function(){var t=this;this.$openFilterOverlay.on("click",(function(){t.openFilterOverlay()})),this.$closeFilterOverlay.on("click",(function(){console.log("close"),t.closeFilterOverlay()})),this.$applyFilterOverlay.on("click",(function(){t.page=1,t.update(),t.closeFilterOverlay()}))},FlexibleFilter.prototype.openFilterOverlay=function(){var t=this;this.scrollPosition=c()(window).scrollTop(),this.$filterOverlay.removeClass("hidden").attr("aria-expanded",!0),f.setOverlayHeight(this.$filterOverlay),this.setContentHeight(),c()(window).on("resize.stationListOverlay",(function(){f.setOverlayHeight(t.$filterOverlay),t.setContentHeight(),c()(window).width()>=App.breakpoints.min.md&&t.closeFilterOverlay()})),this.$body.addClass("body--fixed-scroll"),this.overlayOpen=!0,window.scrollTo(0,0)},FlexibleFilter.prototype.closeFilterOverlay=function(){this.$filterOverlay.addClass("hidden").attr("aria-expanded",!1),this.$filterOverlay.css({maxHeight:""}),this.$body.removeClass("body--fixed-scroll"),this.overlayOpen=!1,window.scrollTo(0,this.scrollPosition)},FlexibleFilter.prototype.setContentHeight=function(){var t=this.$filterOverlay.find('[data-role="overlay-content"]'),e=this.$filterOverlay.find('[data-role="overlay-header"]'),a=this.$filterOverlay.find('[data-role="overlay-footer"]');t.css({height:c()(window).height()-e.outerHeight()-a.outerHeight()+"px"}),t.scrollTop(0)},FlexibleFilter.prototype.initFilters=function(){var t=this;this.$filterCategories.each((function(e,a){c()(a).find('input[type="checkbox"]').on("change",(function(e){var a;t.$element.find('[data-role="filters"]').find('input[name="'+e.target.name+'"]').prop("checked",e.target.checked);var i=c()(e.target).closest("[data-filter-id]").attr("data-filter-id");void 0===t.filter[i]?t.filter[i]=((a={})[e.target.name]=e.target.checked,a):t.filter[i][e.target.name]=e.target.checked,t.updateActiveFilterCount(),c()(window).width()>=App.breakpoints.min.md&&(t.page=1)}))})),this.$filterBlocks.each((function(e,a){var i=c()(a).find('input[type="checkbox"]');c()(a).find('[data-action="reset-category"]').on("click",(function(e){e.preventDefault(),e.stopPropagation(),i.each((function(t,e){c()(e).prop("checked",!1),c()(e).trigger("change")})),t.$filterSelectToggles.removeClass("active"),t.$filterSelectOptions.addClass(t.CLASS_NAMES.FILTER_OPTIONS_HIDDEN)}))})),this.$resetAll.on("click",(function(e){e.preventDefault(),t.$element.find('input[type="checkbox"]').each((function(t,e){c()(e).prop("checked",!1),c()(e).trigger("change")}))}))},FlexibleFilter.prototype.updateActiveFilterCount=function(){var t=0,e=this.$element.find('[data-role="filters"]');Object.entries(this.filter).forEach((function(a){var i=Object.keys(a[1]).filter((function(t){return a[1][t]})).map(String),n=e.find('[data-filter-id="'+a[0]+'"]');n.attr("data-active-filter-count",i.length),n.toggleClass("active",i.length>0),t+=i.length})),this.$openFilterOverlay.toggleClass("active",t>0),this.$filterOverlay.toggleClass("active",t>0)},FlexibleFilter.prototype.getUrlParams=function(){var t=Object.entries(this.filter).map((function(t){return Object.keys(t[1]).filter((function(e){return t[1][e]})).map(String).map((function(t){return"tags="+t})).join("&")})).filter((function(t){return""!==t.trim()})).join("&").replace(/&\s*$/,""),e=new URLSearchParams(window.location.search).get("wcmmode");return e?t?t+"&wcmmode="+e:"wcmmode="+e:t},FlexibleFilter.prototype.load=function(t){var e=c.a.Deferred();return c.a.ajax({accepts:"text/html",dataType:"html",type:"GET",url:t}).done((function(t){e.resolve(t,!0)})).fail((function(t){e.resolve(t.responseText,!1)})),e.promise()},FlexibleFilter.prototype.update=function(t){var e=this;void 0===t&&(t=1);var a=this.getUrlParams(),i=[],n=new Date;this.searchQuery&&i.push("fulltext="+encodeURIComponent(this.searchQuery)),i.push("page="+t),this.$loader.addClass(this.CLASS_NAMES.LOADING_INDICATOR_VISIBLE);var o=this.$element.find('[data-role="table-wrapper"]');o.parent().css("visibility","hidden"),this.clearTable(),App.FUNCTIONS.performantScrollBody(this.$filterBar.offset().top-230,200);
680var r=i.join("&"),s=this.baseUrl+"?"+[a,r].filter(Boolean).join("&");this.load(s).then((function(t){var a=new Date,i=Math.max(1,400-(a.getTime()-n.getTime()));o.html(c()(t).find('[data-role="table-wrapper"]').html()),window.setTimeout((function(){App.Collapsible.init(o.find('[data-module~="collapsible"]')),e.initPagination(),e.initResetAllButtonListener(),o.parent().css("visibility","visible"),e.$loader.removeClass(e.CLASS_NAMES.LOADING_INDICATOR_VISIBLE),e.initOverflow()}),i)}))},FlexibleFilter.prototype.clearTable=function(){this.$tableContainer.html("")},FlexibleFilter.prototype.fadeInTable=function(){this.$loader.removeClass(this.CLASS_NAMES.LOADING_INDICATOR_VISIBLE),this.$tableContainer.removeClass("hidden")},FlexibleFilter.prototype.initSearchButtonListener=function(){var t=this,e=this.$element.find('[data-action="search"]');e.length&&e.on("click",(function(){t.update()}))},FlexibleFilter.prototype.initPagination=function(){var t=this,e=this.$element.find(".search-results__pagination"),a=e.find('[data-action="go-to-page"]'),i=e.find('[data-index="prev"]'),n=e.find('[data-index="next"]');1==this.page?i.css("visibility","hidden"):i.css("visibility","visible"),this.page==a.length-2?n.css("visibility","hidden"):n.css("visibility","visible"),a.on("click",(function(e){var a=c()(e.currentTarget).data("index");isNaN(a)?"next"===a?t.page+=1:"prev"===a&&(t.page-=1):t.page=parseInt(a,10),t.update(t.page)}))},FlexibleFilter.prototype.initOverflow=function(){var t=this.$element.find(".flexible-filter__item-table-wrapper"),updateOverflow=function(){t[0]&&t[0].scrollWidth>t[0].clientWidth?t.css("overflow","auto"):t.css("overflow","visible")};updateOverflow(),c()(window).on("resize",updateOverflow),c()(document).on("DOMContentLoaded",updateOverflow)},FlexibleFilter.prototype.initResetAllButtonListener=function(){var t=this;this.$element.find('[data-action="reset-all"]').on("click",(function(){t.resetAll()}))},FlexibleFilter.prototype.resetAll=function(){this.page=1,this.searchQuery="",this.$searchInput.val(""),this.$clearSearch.addClass("hidden"),this.$element.find('input[type="checkbox"]').each((function(t,e){c()(e).prop("checked",!1),c()(e).trigger("change")})),this.update()},FlexibleFilter.prototype.initEnterKeyListener=function(){var t=this;this.$element.find(".station-list__search-field").on("keydown",(function(e){"Enter"===e.key&&(e.preventDefault(),t.update())}))},FlexibleFilter}(),R=(a("ECM5"),a("VZf0")),M=a("Py83"),U=a("tppf"),B=a("UjIZ");window.App=window.App||{},App.breakpoints={},App.breakpoints.min={sm:769,tablet:992,md:1200,lg:1530,xl:1920},App.breakpoints.max={xs:App.breakpoints.min.sm-1,sm:App.breakpoints.min.md-1,tablet:App.breakpoints.min.tablet-1,md:App.breakpoints.min.lg-1,lg:App.breakpoints.min.xl-1},App.env={isEditMode:function(){var t=document.cookie.match(new RegExp("wcmmode=([^;]+)"));return!!t&&"edit"===t[1]},isEditOrPreviewMode:function(){var t=document.cookie.match(new RegExp("wcmmode=([^;]+)"));return!!t&&("edit"===t[1]||"preview"===t[1])},isIframe:function(){return window.self!==window.top},isNarrowLayout:function(){return 0!==$(".layout-body").find("> .layout-body__content--narrow").length},isSecureContext:function(){return"isSecureContext"in window?window.isSecureContext:"https:"===window.location.protocol},isTouchDevice:function(){return!1}},$(window).on("touchstart",(function onFirstTouch(){$("html").addClass("is-touch"),App.env.isTouchDevice=function(){return!0},$(window).off("touchstart",onFirstTouch)})),App.matchesScreenDimensions=function(t,e){if(void 0===t)return!0;e=e||App.breakpoints;var a=t.split(":"),i=a[0],n=a[1];return function(t,e){return window.matchMedia?window.matchMedia("("+e+"-width: "+t+"px)").matches:"max"===e?$(window).width()<=t:$(window).width()>=t}(parseInt(e[i][n]||0,10),i)},App.env.isEditMode()&&App.env.isIframe()&&$("html").addClass("is-editmode"),App.env.isEditOrPreviewMode()&&App.env.isIframe()&&$("body").addClass("is-editmode--body"),$(".adaptive-img").length&&App.AdaptiveImg.init();var H={"slidable-navigation":"SlidableNavigation","search-field":"SearchField","site-search-field":"SiteSearchField","sub-navigation":"SubNavigation"};for(var j in H)$('[data-module~="'+j+'"]').length&&App[H[j]].init();
680if($(".image-source").length&&App.ImageCopyright.init(),$('[data-module~="main-navigation"]').length){var z="localStorage"in window&&JSON.parse(window.localStorage.getItem("transformNavigation"));$(".layout-body").addClass("appeared"),$('[data-module~="main-navigation"]').on("ready.mainNavigation",(function onNavigationReady(){$('[data-module~="main-navigation"]').off("ready.mainNavigation",onNavigationReady),window.setTimeout(executeSecondaryScripts.bind(window),1)})),App.matchesScreenDimensions("min:md")&&z?$(window).on("load",(function(){App.MainNavigation.init()})):App.MainNavigation.init()}function executeSecondaryScripts(){var t={collapsible:"Collapsible","dropdown-menu":"DropdownMenu","back-to-top":"BackToTop","header-hero":"HeaderHero",modal:"Modal","content-header":"ContentHeader","formatted-currency":"FormattedCurrency","fake-link":"FakeLinks","number-wrap":"NumberWrap","product-speed":"ProductSpeed","news-slider":"NewsSlider","press-contact-flyout":"PressContactFlyout","press-download":"PressDownload","cookie-checkbox":"CookieCheckbox","default-form":"DefaultForm","multi-step-form":"MultiStepForm","select-field":"SelectField","range-field":"RangeField","file-field":"FileField","date-select":"DateSelect","masked-input":"MaskedInput","char-counter"
680:"TextareaCharCounter",calculator:"Calculator","background-picture":"BackgroundPicture","download-center":"DownloadCenter","conditional-content":"ConditionalContent","bill-explanation":"BillExplanation",powerstations:"Powerstations","trip-calculator":"TripCalculator","date-time-field":"DateTimeField","multi-file-group":"MultiFileGroup","whatsapp-registration":"WhatsappRegistration","transparency-data":"TransparencyData","product-images":"ProductImages","scalable-text":"ScalableText","shop-form-summary":"ShopFormSummary",webchat:"Webchat","embedded-video":"EmbeddedVideo","embedded-video-poster":"EmbeddedVideo",tooltip:"Tooltip"};for(var e in t)$('[data-module~="'+e+'"]').length&&App[t[e]].init();var a={"teaser-slider":"TeaserSlider","tip-slider":"TipSlider","content-exit":"ContentExit","overlay-image":"OverlayImage","overlay-gallery":"OverlayGallery","content-gallery":"ContentGallery","content-teaser-slider":"ContentTeaserSlider","content-teaser":"ContentTeaser","content-table":"ContentTableOverlay","step-by-step":"StepByStep","topic-hub":"TopicHub","topic-media-slider":"TopicMediaSlider","sale-teaser-slider":"SaleTeaserSlider","product-teaser":"ProductTeaser","cookie-hint":"CookieHint","search-flyout":"SearchFlyout",recaptcha:"Recaptcha","content-teaser-tags":"ContentTeaserTags","time-control":"TimeControl"};for(var d in a)!$('[data-module~="'+d+'"]').length||App.env.isEditMode()&&App.env.isIframe()||App[a[d]].init();var c={"content-chatbot":B.a,"sticky-header":R.a,"newsletter-teaser":D,spottariff:F,"flexible-filter":P,"news-bar":w,"coverage-map":i.a,"flexible-form":n.a,"date-picker":o.a,usercentrics:r.a,"iban-field":s.a,"bic-field":l.a,"price-adjustion-clause-form":u,"chatbot-api":p.a,"station-list":f,darksite:h.a,"e-mobility-calculator":m,"cost-impact-calculator":g,"resizable-iframe":b.default,lightbox:y.a,"rate-change":C,"rate-change-fixed":A,speedtest:k,"change-location-form":T,"anchor-navigation":x.a,webchatv3:I.a,"traffic-messages":O,"tariff-calculator":N.a,"content-contact":M.a,"content-counter":U.a};window.CoverageMap=i.a,window.FlexibleForm=n.a;var _loop=function(t){var e='[data-module~="'+t+'"]';$(e).length&&$(e).each((function(){var e=new c[t]($(this));$(this).data("instance",e)}))};for(var _ in c)_loop(_);$('a[href*="#"]').each((function(){var t=new E.a($(this));$(this).data("instance",t)})),"search"===window.location.hash.slice(1).substring(0,6)&&App.SearchHighlight.init();var S=$(window);S.resize((function(){App.FUNCTIONS.waitForFinalEvent((function(){S.trigger("customResize")}),400,"resize")}));var L=S.width();S.on("customResize",(function(){0!==L-S.width()&&(L=S.width(),S.trigger("customResizeWidth"))})),new v.a}},SUj3:function(t,e){window.App=window.App||{},App.NumberWrap={init:function(){$('[data-module~="number-wrap"]').each((function(){var t=$(this).text(),e=t.match(/\d+[\d\.\,]*\d+/);null!==e&&(t=t.replace(e[0],'<span class="number">'+e[0]+"</span>"),$(this).html(t))}))}}},ZFDP:function(t,e){var a,i,n;window.App=window.App||{},App.TopicHub=(a=function(t){var e=t.find('[data-action="toggle-tag-filter"], [data-action="toggle-social-posts-filter"]').map((function(){return $(this).is(":checked")})).toArray().reduce((function(t,e){return t&&e}),!0);t.find('[data-action="reset-filter"]').toggle(!e)},i=function(t){var e=function(t){var e=t.attr("data-topics-url"),a=[function(t){return t.find('[data-action="toggle-social-posts-filter"]:first').is(":checked").toString()}(t),function(t){return 0===t.find('[data-action="toggle-tag-filter"]:not(:checked)').length?"":t.find('[data-action="toggle-tag-filter"]:checked').map((function(){return $(this).val()})).toArray().join(",")}(t),"html"].filter((function(t){return t&&0!==t.trim().length}));return e.replace(/\.html$/,"."+a.join("."))}(t),i=t.find('[data-role="topic-tiles-container"]'),n=new Date;i.addClass("loading"),function(t){t.find('[data-role="topic-tiles-container"]').find('[data-role="grid-item"]').remove()}(t),a(t),function(t){t.find('[data-role="topics-filter"]').find("input, button").prop("disabled",!0)}(t),function(t){var e={tags:[],updatedAt:new Date};t.find('[data-action="toggle-tag-filter"], [data-action="toggle-social-posts-filter"]').each((function(){this.checked&&e.tags.push(this.value)})),"localStorage"in window&&window.localStorage.setItem("topic_hub_state",JSON.stringify(e))}(t),function(t){var e=$.Deferred();return $.ajax({accepts:"text/html",dataType:"html",type:"GET",url:t}).done((function(t,a,i){e.resolve(t,!0)})).fail((function(t,a,i){e.resolve(t.responseText,!1)})),e.promise()}(e).then((function(e,a){var o=new Date,r=Math.max(1,1250-(o.getTime()-n.getTime()));window.setTimeout((function(){i.removeClass("loading"),function(t){t.find('[data-role="topics-filter"]').find("input, button").prop("disabled",!1)}(t),function(t,e){var a=t.find('[data-role="topic-tiles-container"]'),i=$(e);i.filter('[data-role="grid-item"]').each((function(t){$(this).css({transitionDelay:100*t+"ms"}).addClass("disappeared")})),a.prepend(i),window.setTimeout((function(){i.filter('[data-role="grid-item"]').removeClass("disappeared")}),100)}
680(t,e),App.BackgroundPicture.refresh()}),r)}))},n=function(t){t.on("click",'[data-action="toggle-tag-filter"]',(function(e){i(t)})),t.on("click",'[data-action="toggle-social-posts-filter"]',(function(e){i(t)})),t.on("click",'[data-action="reset-filter"]',(function(e){e.preventDefault(),function(t){t.find('[data-action="toggle-tag-filter"], [data-action="toggle-social-posts-filter"]').each((function(){$(this).prop("checked",!0)})),i(t)}(t)})),function(t){var e=[];if(window.location.hash.match(/^#tags\/.+$/))e=window.location.hash.match(/^#tags\/(.+)$/)[1].split(",");else if("localStorage"in window){var n=JSON.parse(window.localStorage.getItem("topic_hub_state")||"{}");new Date-new Date(n.updatedAt)<9e5?e=n.tags:window.localStorage.removeItem("topic_hub_state")}e.length>0&&(t.find('[data-action="toggle-tag-filter"], [data-action="toggle-social-posts-filter"]').each((function(){$(this).prop("checked",e.includes(this.value))})),a(t)),i(t)}(t)},{init:function(){$('[data-module~="topic-hub"]').each((function(){n($(this))}))}})},ZzZc:function(t,e){window.App=window.App||{},App.ShopFormSummary={init:function(){$('[data-module~="shop-form-summary"]').each((function(){var t=$(this),e=$(this).parents('[data-module~="multi-step-form"]');t.on("stepupdate",(function(){!function(t,e){e.find('[data-role="summary-group"]').each((function(){var e=$
680(this),a=t.find('[data-group="'+e.data("target")+'"]'),i=a.find('[data-role~="content"]'),n=e.find('[data-role~="form-field"]');i.html("");var o=0;a.removeClass("hidden"),n.each((function(){var t=$(this),a=t.find("input, select, textarea").val();if(a){a=(a=a.trim()).replace(/\n/g,"<br>");var n="";e.data("no-label")||(n="<strong>"+t.find("label").text().trim()+"</strong>: "),i.append('<div class="form-field">'+n+a+"</div>"),o++}})),0===o&&a.addClass("hidden")}))}($(this),e)}))}))}}},dZXF:function(t,e){var a;window.App=window.App||{},App.TransparencyData=(a=function(t){var e,a;(e=t.data("url"),a=$.Deferred(),$.ajax({accepts:"application/json",dataType:"json",type:"GET",url:e,timeout:15e3}).done((function(t,e,i){a.resolve(t,!0)})).fail((function(t,e,i){a.resolve(t.responseText,!1)})),a.promise()).then((function(e,a,i){if(a){var n=e.Transparenzmeldungen;if(0===n.length)t.find('[data-role="transparency-data-empty"]').removeClass("hidden");else{for(var o=t.find('[data-role="transparency-data-table"]'),r=0;r<n.length;r++){var s="",l=window.moment(n[r].Beginn,"DD-MM-YYYY HH:mm:ss"),d=window.moment(n[r].geschätzte_Dauer,"DD-MM-YYYY HH:mm:ss"),c=window.moment(n[r].letzte_Aktualisierung,"DD-MM-YYYY HH:mm:ss");s+="<tr><td>"+n[r].Kraftwerk+"</td>",s+="<td>"+n[r].entfallene_Leistung+" MW</td>",s+="<td>"+l.format("DD.MM.YYYY - HH:mm")+"</td>",s+="<td>"+d.format("DD.MM.YYYY - HH:mm")+"</td>",s+="<td>"+n[r].Kommentar+"</td>",s+="<td>"+c.format("DD.MM.YYYY - HH:mm")+"</td></tr>",o.find("table tr:last").after(s)}o.removeClass("hidden")}}else t.find('[data-role="transparency-data-error"]').removeClass("hidden")}))},{init:function(){var t=$('[data-module~="transparency-data"]');a(t)}})},f7fu:function(t,e){var a,i,n,o,r,s,l;window.App=window.App||{},App.MainNavigation=(a=function(t){return t.is(".shifted")?"secondary":"primary"},i=function(t,e,a){var i;t.on("transitionend",(function _onTransitionEnd(a){window.clearTimeout(i),a.target==t[0]&&(t.off("transitionend",_onTransitionEnd),e())})),a&&(i=window.setTimeout((function(){t.trigger("transitionend")}),a))},n=function(t,e){if("primary"!==a(e.primaryLevel)){var n=e.primaryLevelItems.filter(".selected:first"),o=n.find("a:first"),r=n.find('[data-role="navigation-level"]:first'),s=n.parent().find(".cloned"),cleanupAfterTransformation=function(){t.removeClass("transform-animated"),s.remove(),n.removeClass("selected"),n.removeClass("selected"),n.attr("aria-expanded","false"),o.removeClass("transparent"),r.css({paddingLeft:""}),r.attr("aria-hidden","true"),e.lowerLevels.not(r).removeClass("hidden")};$(window).off("resize.mainNavigation"),t.is(".transform-animated")&&i(s,cleanupAfterTransformation),e.primaryLevel.removeClass("shifted"),s.css({left:n.position().left+"px"}),t.is(".transform-animated")||cleanupAfterTransformation();var l=$(".main-navigation__panel-item").find("> .main-navigation__panel-link");$(l).attr("tabindex",0);var d=$(".main-navigation__list > .main-navigation__list-item > a");$(d).attr("tabindex",-1)}},o=function(t,e){if("secondary"!==a(e.primaryLevel)){var n,o,r,s=e.primaryLevelItems.filter(".selected:first"),d=s.find("a:first"),c=s.find('[data-role="navigation-level"]:first'),cleanupAfterTransformation=function(){t.removeClass("transform-animated"),s.attr("aria-expanded","true"),c.attr("aria-hidden","false"),l(t),$(window).on("resize.mainNavigation",window._.throttle((function(){var t,e;e=(t=u).css("transitionDuration"),t.css({transitionDuration:"0s",left:$(window).width()+"px"}),window.setTimeout((function(){t.css({transitionDuration:e})}),1)}),25))},u=(o=(n=s).position().left,(r=n.clone().addClass("cloned").css({left:o+"px",width:n.width()+"px"})).find('[data-role="navigation-level"]').remove(),r);s.after(u),c.css({paddingLeft:s.width()+"px"}),d.addClass("transparent"),e.lowerLevels.not(c).addClass("hidden"),t.is(".transform-animated")&&i(u,cleanupAfterTransformation,2e3),e.primaryLevel.addClass("shifted"),u.css({left:$(window).width()+"px"}),t.is(".transform-animated")||cleanupAfterTransformation();var p=c.find("> .main-navigation__list > .main-navigation__list-item > a");$(p).attr("tabindex",0);var f=$(".main-navigation__panel-item").not(".active").find("> .main-navigation__panel-link");$(f).attr("tabindex",-1)}},r=function(t){t.addClass("appeared")},s=function(t,e){if($('[data-role="navigation-item"].active').length>0){var a="localStorage"in window&&JSON.parse(window.localStorage.getItem("transformNavigation"));e.primaryLevelItems.filter(".active:first").addClass("selected"),a?(t.addClass("transform-animated"),window.setTimeout((function(){r(t),o(t,e)}),100)):window.setTimeout((function(){o(t,e),r(t)}),100),"localStorage"in window&&window.localStorage.removeItem("transformNavigation")}else!function(t,e){i(e.filter(":last"),(function(){e.each((function(t){$(this).css({transitionDelay:""})})),t.removeClass("appear-animated")}),2e3),e.each((function(t){$(this).css({transitionDelay:160+90*(t+1)+"ms"})})),t.addClass("appeared appear-animated"),l(t)}(t,e.primaryLevelItems.find("a:first"))},l=function(t){t.data("isReady")||(t.data("isReady",!0),t.trigger("ready.mainNavigation"))},{init:function(){var t=$('[data-module~="main-navigation"]'),e=t.find('[data-role="navigation-level"]:first'),a=e.find('[data-role="navigation-level"]'),i=e.find('[data-role="navigation-item"]').not(a.find('[data-role="navigation-item"]')),o={primaryLevel:e,lowerLevels:a,primaryLevelItems:i};App.matchesScreenDimensions("max:sm")&&l(t),window.enquire.register("screen and (min-width: "+App.breakpoints.min.tablet+"px)",{setup:function(){t.find('[data-role="navigation-item"].selected').addClass("active")},match:function(){s(t,o),function(t,e){t.on("click.mainNavigation","a",(function(t){$(this).closest('[data-role="navigation-level"]').is(e.primaryLevel)&&"localStorage"in window&&window.localStorage.setItem("transformNavigation",JSON.stringify(!0))})),t.on("click.mainNavigation",'[data-action="change-back-to-primary"]',(function(a){a.preventDefault(),t.addClass("transform-animated"),n(t,e)}))}(t,o)},unmatch:function(){!function(t,e){t.off("click.mainNavigation",'[data-action="change-back-to-primary"]'),t.off("click.mainNavigation","a")}(t),n(t,o)}})}})},kxcJ:function(t,e){var a,i,n,o,r,s,l,d,c,u,p,f,h,m,v,g;window.App=window.App||{},App.EfaClient=(a={},i=function(t,e){e.places=[];var a=t.find("itdOdvName > odvNameElem").filter((function(){return!$(this).is('[anyType="poi"]')||$(this).is("[x]")&&$(this).is(':not([x=""])')}));return o(a,e.places),e.places.sort(n),e},n=function(t,e){var a=t.name.toLowerCase(),i=e.name.toLowerCase();return a<i?-1:a>i?1:0},o=function(t,e){t.each((function(){var t=$(this);e.push({type:t.attr("anyType"),name:t.text(),id:t.attr("stateless")})}
680))},r=function(t,e){return e.requestId=t.find("itdTripRequest").attr("requestID"),0===t.find("itdItinerary > itdRouteList > itdRoute").length?(e.tripsCalculated=!1,e.origins=[],e.destinations=[],o(t.find('itdTripRequest > itdOdv[usage="origin"] odvNameElem'),e.origins),o(t.find('itdTripRequest > itdOdv[usage="destination"] odvNameElem'),e.destinations),e.errors=[],t.find('itdMessage[type="error"]').each((function(){var t=$(this);e.errors.push({code:t.attr("code"),value:t.attr("value")})}))):(e.tripsCalculated=!0,e.trips=[],t.find("itdItinerary > itdRouteList > itdRoute").each((function(){var t=$(this),a={fullDuration:window.moment.duration(t.attr("publicDuration")).toISOString(),footDuration:window.moment.duration(t.attr("individualDuration")).toISOString(),parts:s(t.find("itdPartialRoute"))};e.trips.push(a)}))),e},s=function(t){var e=[];return t.each((function(){var t=$(this),a={departure:c(t.find('itdPoint[usage="departure"]')),arrival:c(t.find('itdPoint[usage="arrival"]')),stops:l(t.find("itdStopSeq > itdPoint")),coordinates:h(t.find("itdPathCoordinates itdCoordinateBaseElem")),meansOfTransport:u(t.find("itdMeansOfTransport")),duration:window.moment.duration(1*t.attr("timeMinute"),"minutes").toISOString()};if(t.find("itdRBLControlled").length>0&&(void 0!==t.find("itdRBLControlled").attr("delayMinutes")&&(a.delayDeparture=window.moment.duration(1*t.find("itdRBLControlled").attr("delayMinutes"),"minutes").toISOString()),void 0!==t.find("itdRBLControlled").attr("delayMinutesArr")&&(a.delayArrival=window.moment.duration(1*t.find("itdRBLControlled").attr("delayMinutesArr"),"minutes").toISOString())),t.find("infoTextListElem").length>0&&(a.information=d(t.find("infoTextListElem"))),t.find("genAttrElem").length>0){var i={PlanWheelChairAccess:"WHEELCHAIR"};a.properties=[],t.find("genAttrElem").each((function(){var t=$(this);a.properties.push(i[t.find("name").text()])}))}e.push(a)})),e},l=function(t){var e=[];return t.each((function(){e.push(c($(this)))})),e},d=function(t){var e=[];return t.each((function(){e.push($(this).text())})),e},c=function(t){return{name:t.attr("name"),platform:t.attr("platform"),coordinates:m(t.attr("y"),t.attr("x")),stopId:t.attr("stopID"),dateTime:v(t.find("itdDateTime"))}},u=function(t){return{name:p(t,["name","productName","trainName"]),destination:t.attr("destination"),symbol:f(t),routeDescription:t.find("itdRouteDescText").text(),type:t.attr("type")}},p=function(t,e){for(var a="",i=0;i<e.length;i++){var n=t.attr(e[i]);if(void 0!==n&&!/^\W*$/g.test(n)){a=n;break}}return a},f=function(t){var e,i=t.attr("symbol"),n=t.attr("type");return(void 0===i||/^\W*$/g.test(i))&&(i=(i=p(t,["name","shortname","trainName","productName"])).substr(0,1).toUpperCase()),{name:i,backgroundColor:(e=void 0!==a.lineSymbols[n+":"+i]?a.lineSymbols[n+":"+i]:void 0!==a.lineSymbols[n+":default"]?a.lineSymbols[n+":default"]:a.lineSymbols["default:default"])[1],fontColor:e[2],shape:e[0]}},h=function(t){var e=[];return t.each((function(){var t=$(this);e.push(m(t.find("y").text(),t.find("x").text()))})),e},m=function(t,e){return{latitude:1*t,longitude:1*e}},v=function(t){return window.moment({year:t.find("itdDate").attr("year"),month:1*t.find("itdDate").attr("month")-1,day:t.find("itdDate").attr("day"),hour:t.find("itdTime").attr("hour"),minute:t.find("itdTime").attr("minute")}).toISOString()},g=function(t){var e={};return $.each(t,(function(t,a){var i=a.name,n=a.value;e[i]=void 0===e[i]?n:$.isArray(e[i])?e[i].concat(n):[e[i],n]})),e},{getEfaParameters:function(t,e){e=g(e);var i={};if("XML_STOPFINDER_REQUEST"===t)i.locationServerActive=1,i.type_sf="ANY","COORDINATE"===e.type?(i.name_sf=e.longitude+":"+e.latitude+":WGS84",i.type_sf="coord"):(i.name_sf=e.name,i.type_sf="any","ANY"!==e.type&&(i.anyObjFilter_sf={STOP:2,POI:32,ADDRESS:8}[e.type]));else{var n={NO_STAIRS:"noSolidStairs",NO_ESCALATORS:"noEscalators",LOWFLOOR_BUS:"lowPlatformVhcl",WHEELCHAIR:"wheelchair"};if(i=$.extend(!0,{}
680,a.defaultTripParams),e.command)i.command={PREV:"tripPrev",NEXT:"tripNext",LAST:"tripLast",FIRST:"tripFirst"}[e.command],i.sessionID=e.sessionId,i.requestID=e.requestId;else{if(i.sessionID=0,i.name_origin=e.origin,i.name_destination=e.destination,e.dateTime){var o=window.moment(e.dateTime);i.itdDate=o.format("YYYYMMDD"),i.itdTime=o.format("HHmm")}if(e.dateTimeType&&(i.itdTripDateTimeDepArr={ARRIVAL:"arr",DEPARTURE:"dep"}[e.dateTimeType]),e.tripMode&&("ACCESSIBLE"===e.tripMode?(i.noSolidStairs=1,i.noEscalators=1,i.lowPlatformVhcl=1,i.wheelchair=1):i.routeType=e.tripMode),e.numTrips&&(i.calcNumberOfTrips=e.numTrips),e.numChanges>=0&&(i.maxChanges=e.numChanges),e.accessibleOptions)for(var r=0;r<e.accessibleOptions.length;r++)i[n[e.accessibleOptions[r]]]=1}}return i=$.param(i,!0)},convertEfaData:function(t,e){var a=$(t),n={};return n.sessionId=a.find("itdRequest").attr("sessionID"),a.find("itdMessage").length>0&&(n.messages=[],a.find("itdMessage").each((function(){var t=$(this);n.messages.push({type:t.attr("type"),module:t.attr("broker"),code:t.attr("code"),value:t.attr("value")})}))),n="XML_STOPFINDER_REQUEST"===e?i(a,n):r(a,n)},PLACES_ENDPOINT:"XML_STOPFINDER_REQUEST",TRIPS_ENDPOINT:"XML_TRIP_REQUEST2",getBaseUrl:function(){return a.baseUrl},init:function(t){a=t}})},l6ZM:function(t,e){var a,i,n;window.App=window.App||{},App.ProductSpeed=(a=function(t){var e=parseFloat(t.attr("data-duration"),10),a=t.find('[data-role="progress-bar"]');!function(t){var e,a=parseFloat(t.attr("data-duration"),10),i=t.find('[data-role="progress-duration"]'),n=i.attr("data-units").split("|");a<60?e=[a.toFixed(1).replace(".",",")+" "+n[1]]:(e=[parseInt(a/60,10)+" "+n[0]]).push([Math.round(a%60)+" "+n[1]]),i.text(e.join(" "))}(t),a.find("> *").css({transitionTimingFunction:"linear",transitionDuration:e+"s",width:"100%"})},i=function(t){t.find('[data-role="progress-bar"]').find("> *").css({transitionTimingFunction:"",transitionDuration:"",width:""})},n=function(t,e){var a=t.find('[data-role="slider-thumb-template"]:first'),i=$("<div></div>").html(a.html()).addClass(e);return a.remove(),i.wrap("<div>").parent().html()},{init:function(){$('[data-module~="product-speed"]').each((function(){!function(t){if(App.env.isEditMode()&&App.env.isIframe())return t.find('[data-role="slider-slide"]').each((function(){t.find('[data-role="slider-pagination"]').append(n($(this),"product-speed__navigation-item"))})),void t.find('[data-module="realtime-progress"]').each((function(){a($(this))}));var e=new window.Swiper(t.find(".swiper-container")[0],{init:!1,speed:400,effect:"fade",fadeEffect:{crossFade:!0},pagination:{el:t.find('[data-role="slider-pagination"]')[0],type:"bullets",clickable:!0,bulletClass:"product-speed__navigation-item",bulletActiveClass:"active",renderBullet:function(t,e){return n($(this.slides[t]),e)}}});e.on("init slideChangeTransitionEnd",(function(){$(this.slides[this.activeIndex]).find('[data-module="realtime-progress"]').each((function(){a($(this))})),$(this.slides[this.previousIndex]).find('[data-module="realtime-progress"]').each((function(){i($(this))}))}
680)),e.init(),$(window).on("load",(function(){e.update()})),t.on("lazybeforeunveil","img",(function onLazyBeforeUnveil(){t.off("lazybeforeunveil","img",onLazyBeforeUnveil),e.update()})),$(".product-speed__navigation-item").on("click",(function(){$(e.slides[e.activeIndex]).find('[data-module="realtime-progress"]').each((function(){i($(this))})),window.setTimeout((function(){$(e.slides[e.activeIndex]).find('[data-module="realtime-progress"]').each((function(){a($(this))}))}),500)}))}($(this))}))}})},rZV0:function(t,e){var a;window.App=window.App||{},App.ContentExit=(a=new Date,{init:function(){$(document).on("mousemove mousedown wheel keydown touchstart",window._.throttle((function(){a=new Date}),2500)),function checkIdleTime(t){new Date-a>=3e5?App.Modal.open($('[data-module~="content-exit"]')):window.setTimeout(checkIdleTime.bind(null,t),t)}(5e3)}})}},[[0,0,3]]]);
681(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{"/L2x":function(d,b){window.App=window.App||{},App.FormattedCurrency={init:function(d){(d||$('[data-module~="formatted-currency"]')).each((function(){var d=$(this).html(),b=d.match(/\d+(\.|,)(\d{2})/);if(null!==b){var x=b[0].replace(b[1]+b[2],"<sup>"+b[2]+"</sup>");d=d.replace(b[0],x),$(this).html(d)}else $(this).parent().html(d)}))}}},"/RMt":function(d,b,x){"use strict";function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}var T,D="function"==typeof Map&&Map.prototype?Map:null,z="function"==typeof Set&&Set.prototype?Set:null;D||(T=function(d){return!1});var H=D?Map.prototype.has:null,W=z?Set.prototype.has:null;T||H||(T=function(d){return!1}),d.exports=T||function(d){if(!d||"object"!==_typeof(d))return!1;try{if(H.call(d),W)try{W.call(d)}catch(d){return!0}return d instanceof D}catch(d){}return!1}},"/aJ3":function(d,b){var x;window.App=window.App||{},App.DateSelect=(x=function(d){return[d.getFullYear(),("00"+(d.getMonth()+1)).slice(-2),("00"+d.getDate()).slice(-2)].join("-")},{init:function(){$('[data-module~="date-select"]').each((function(){var d=$(this),b=$(this).find('input[type="date"]'),T=$(this).find("select");!function(d,b,T){var D,z,H=d.attr("min"),W=d.attr("max");H?D=new window.Date(window.Date.parse(H)):((D=new window.Date).setFullYear(D.getFullYear()-100),H=x(D)),W?z=new window.Date(window.Date.parse(W)):(z=new window.Date,W=x(z)),function(d,b,x,T){for(var D=[],z=b;z>=x;z--)D.push(z);var H=D.map((function(d){return'<option value="'+d+'">'+d+"</option>"}));T&&(H=H.reverse()),d.append(H.join("")).trigger("options")}(b.filter(":eq(2)"),z.getFullYear(),D.getFullYear(),T)}(b,T,1===d.data("reverse-years")),function(d,b){d.val().match(/[0-9]{4}-[0-9]{2}-[0-9]{2}/)}(b),d.on("change","select",(function(){!function(d,b){var T=b.filter(":eq(0)"),D=b.filter(":eq(1)"),z=b.filter(":eq(2)"),H=window.parseInt(T.val(),10),W=window.parseInt(D.find("option:not(:disabled)").index(D.find("option:selected")),10),U=window.parseInt(z.val(),10);U||(U=window.moment().year());var Y=window.moment(U+"-"+(W+1),"YYYY-MM").daysInMonth();T.siblings(".select-field__options").find("li").removeClass("hidden");for(var Z=Y+1;Z<=31;Z++)T.siblings(".select-field__options").find("li[value="+Z+"]").addClass("hidden");H>=0&&W>=0&&U>=0&&d.val(x(new window.Date(U,W,H))),H>Y&&(T.val(Y),T.change()),""!==T[0].value&&""!==D[0].value&&""!==z[0].value&&d.closest('[data-role="form-field"]').removeClass("with-error")}(b,T)}))}))}})},"/pFH":function(d,b,x){"use strict";b.a=function(d){var b=this.constructor;return this.then((function(x){return b.resolve(d()).then((function(){return x}))}),(function(x){return b.resolve(d()).then((function(){return b.reject(x)}))}))}},"0+DU":function(d,b,x){"use strict";function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}var T=x("PrET"),D=x("VF6F"),z=x("AM7I")("%ArrayBuffer%",!0),H=D("ArrayBuffer.prototype.byteLength",!0),W=D("Object.prototype.toString"),U=!!z&&!H&&new z(0).slice,Y=!!U&&T(U);d.exports=H||Y?function(d){if(!d||"object"!==_typeof(d))return!1;try{return H?H(d):Y(d,0),!0}catch(d){return!1}}:z?function(d){return"[object ArrayBuffer]"===W(d)}:function(d){return!1}},"0Ake":function(d,b,x){"use strict";var T=x("AM7I"),D=x("eZIG"),z=x("ZLCw")(),H=x("Kqna"),W=x("DSU0"),U=T("%Math.floor%");d.exports=function(d,b){if("function"!=typeof d)throw new W("`fn` is not a function");if("number"!=typeof b||b<0||b>4294967295||U(b)!==b)throw new W("`length` must be a positive 32-bit integer");var x=arguments.length>2&&!!arguments[2],T=!0,Y=!0;if("length"in d&&H){var Z=H(d,"length");Z&&!Z.configurable&&(T=!1),Z&&!Z.writable&&(Y=!1)}return(T||Y||!x)&&(z?D(d,"length",b,!0,!0):D(d,"length",b)),d}},"0BEp":function(d){d.exports={fontFamily:"Georgia, Times, serif",values:[{avg:1.7044669126852965,height:3.56640625,size:3},{avg:4.545245100494124,height:9.5,size:8},{avg:5.681556375617655,height:11.0390625,size:10},{avg:6.817867650741186,height:13.5234375,size:12},{avg:9.090490200988247,height:18,size:16},{avg:11.36311275123531,height:23,size:20}
681,{avg:18.180980401976495,height:36.5,size:32},{avg:27.271470602964744,height:54.5,size:48}]}},"0CSc":function(d,b,x){"use strict";var T=x("IdCN"),D=Object.prototype.toString,z=Object.prototype.hasOwnProperty,forEachArray=function(d,b,x){for(var T=0,D=d.length;T<D;T++)z.call(d,T)&&(null==x?b(d[T],T,d):b.call(x,d[T],T,d))},forEachString=function(d,b,x){for(var T=0,D=d.length;T<D;T++)null==x?b(d.charAt(T),T,d):b.call(x,d.charAt(T),T,d)},forEachObject=function(d,b,x){for(var T in d)z.call(d,T)&&(null==x?b(d[T],T,d):b.call(x,d[T],T,d))};d.exports=function(d,b,x){if(!T(b))throw new TypeError("iterator must be a function");var z;arguments.length>=3&&(z=x),"[object Array]"===D.call(d)?forEachArray(d,b,z):"string"==typeof d?forEachString(d,b,z):forEachObject(d,b,z)}},"0W4q":function(d,b){var x;window.App=window.App||{},App.MaskedInput=(x=function(d,b,x,T){var D="";D=d.match(new RegExp(b.replace(/([ *])+/g,"(.*)")))?d.match(new RegExp(b.replace(/( |\*)+/g,"(.*)"))).slice(1).join("").replace(/\*| /g,""):d.replace(new RegExp("^"+b.replace(/\*/g,"").trim()),"").replace(/\*|\W/g,"").trim();for(var z="",H=0,W=0;W<b.length;W++)b[W]===x&&D[H]?(z+=D[H],H++):z+=b[W];return z},{init:function(){$('[data-module~="masked-input"]').each((function(){var d=$(this),b=d.find('input:not([type="hidden"])').attr("data-mask");b.split("").filter((function(d,b,x){return x.indexOf(d)===b})),d.on("focus",'input:not([type="hidden"])',(function(d){var T=$(this),D=x(T.val(),b,"*"),z=D.indexOf("*");T.val(D),window.setTimeout((function(){T[0].setSelectionRange(z,z)}),50)})),d.on("blur",'input:not([type="hidden"])',(function(d){var x=$(this);x.val()===b?x.val("").trigger("change"):x.trigger("change")})),d.on("input keydown",'input:not([type="hidden"])',(function(d){var T=$(this),D=x(T.val(),b,"*"),z=D.indexOf("*");if(T.val(D),null===d.originalEvent.data||8===d.which)for(var H=(z=D.indexOf("*"))-1;H>=0;H--){if(" "!==D[H]&&"*"!==D[H]){z<b.indexOf("*")&&(z=b.indexOf("*"));break}z--}z>=0&&T[0].setSelectionRange(z,z)})),d.on("input",'input:not([type="hidden"])',(function(b){var x=$(this);d.find('input[type="hidden"]').val(x.val().replace(/\ /g,""))}))}))}})},"0j8T":function(d,b,x){"use strict";var T=function(){function AnchorScroll(){var d=this;window.location.hash&&this.initAnchorScroll(),$(window).on("hashchange",(function(){window.location.hash&&d.initAnchorScroll()}))}return AnchorScroll.prototype.initAnchorScroll=function(){var d=$("img.lazyload");if(0!==d.length){var b=0,x=this;d.each((function(){window.lazySizes.loader.unveil(this),$(this).on("lazybeforeunveil",(function(){b++,d.length===b&&x.scrollToAnchor()}))}))}else this.scrollToAnchor()},AnchorScroll.prototype.scrollToAnchor=function(){window.setTimeout((function(){var d=document.querySelector('[data-anchor-id="'+window.location.hash.substring(1)+'"]');"search/"!==window.location.hash.slice(1).substring(0,7)&&d&&window.App.FUNCTIONS.performantScrollBody($(d).offset().top-20,500)}),500)},AnchorScroll}();b.a=T},"1KsK":function(d,b,x){"use strict";function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}var T=Object.prototype.toString;d.exports=function(d){var b=T.call(d),x="[object Arguments]"===b;return x||(x="[object Array]"!==b&&null!==d&&"object"===_typeof(d)&&"number"==typeof d.length&&d.length>=0&&"[object Function]"===T.call(d.callee)),x}},"1RvN":function(d,b,x){"use strict";var Entry=function(d){this.value=d},T=function(){function LinkedList(){this._len=0}return LinkedList.prototype.insert=function(d){var b=new Entry(d);return this.insertEntry(b),b},LinkedList.prototype.insertEntry=function(d){this.head?(this.tail.next=d,d.prev=this.tail,d.next=null,this.tail=d):this.head=this.tail=d,this._len++},LinkedList.prototype.remove=function(d){var b=d.prev,x=d.next;b?b.next=x:this.head=x,x?x.prev=b:this.tail=b,d.next=d.prev=null,this._len--},LinkedList.prototype.len=function(){return this._len},LinkedList.prototype.clear=function(){this.head=this.tail=null,this._len=0},LinkedList}(),D=function(){function LRU(d){this._list=new T,this._maxSize=10,this._map={},this._maxSize=d}return LRU.prototype.put=function(d,b){var x=this._list,T=this._map,D=null;if(null==T[d]){var z=x.len(),H=this._lastRemovedEntry;if(z>=this._maxSize&&z>0){var W=x.head;x.remove(W),delete T[W.key],D=W.value,this._lastRemovedEntry=W}H?H.value=b:H=new Entry(b),H.key=d,x.insertEntry(H),T[d]=H}return D},LRU.prototype.get=function(d){var b=this._map[d],x=this._list;if(null!=b)return b!==x.tail&&(x.remove(b),x.insertEntry(b)),b.value},LRU.prototype.clear=function(){this._list.clear(),this._map={}},LRU.prototype.len=function(){return this._list.len()},LRU}();b.a=D},"1seS":function(d,b,x){"use strict";var T=Array.prototype.slice,D=x("1KsK"),z=Object.keys,H=z?function(d){return z(d)}:x("sYn3"),W=Object.keys;H.shim=function(){Object.keys?function(){var d=Object.keys(arguments);return d&&d.length===arguments.length}(1,2)||(Object.keys=function(d){return D(d)?W(T.call(d)):W(d)}):Object.keys=H;return Object.keys||H},d.exports=H},"1u+m":function(d,b,x){"use strict";var numberIsNaN=function(d){return d!=d};d.exports=function(d,b){return 0===d&&0===b?1/d==1/b:d===b||!(!numberIsNaN(d)||!numberIsNaN(b))}},"2jAT":function(d,b,x){"use strict";function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}var T=x("1seS"),D="function"==typeof Symbol&&"symbol"===_typeof(Symbol("foo")),z=Object.prototype.toString,H=Array.prototype.concat,W=x("eZIG"),U=x("ZLCw")(),defineProperty=function(d,b,x,T){if(b in d)if(!0===T){if(d[b]===x)return}else if("function"!=typeof(D=T)||"[object Function]"!==z.call(D)||!T())return;var D;U?W(d,b,x,!0):W(d,b,x)},defineProperties=function(d,b){var x=arguments.length>2?arguments[2]:{},z=T(b);D&&(z=H.call(z,Object.getOwnPropertySymbols(b)));for(var W=0;W<z.length;W+=1)defineProperty(d,z[W],b[z[W]],x[z[W]])};defineProperties.supportsDescriptors=!!U,d.exports=defineProperties},"3JnH":function(d,b,x){"use strict";d.exports=RangeError},"3uNO":function(d,b){var x;window.App=window.App||{},App.SubNavigation=(x=function(d){!function updateState(d){var b=d.find('[data-role="navigation-level"]:first');d.find('[data-role="navigation-item"]').filter((function(){return $(this).closest('[data-role="navigation-level"]').is(b)})).each((function(){updateState($(this)),$(this).find('[data-role="navigation-level"]:first').toggle($(this).is(".selected"))}))}(d);var b=$('[data-role="layout-header"]'),x=d.parent();setTimeout((function(){App.FUNCTIONS.initStickyElement(d,{top:function(){return x.offset().top-b.outerHeight(!0)},bottom:function(){return x.offset().top-b.outerHeight(!0)+x.outerHeight()-d.outerHeight()}},$(".layout-body__sidebar"),$(".layout-body__content"))}),500),App.GLOBALS.IS_IE&&$(window).on("customResizeWidth",(function(){x.css("line-height","1.42em"),window.setTimeout((function(){x.css("line-height","")}),500)}))},{init:function(){$('[data-module~="sub-navigation"]').each((function(){x($(this))}))}})},"4+NP":function(d,b,x){"use strict";function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}var T,D="function"==typeof WeakMap&&WeakMap.prototype?WeakMap:null,z="function"==typeof WeakSet&&WeakSet.prototype?WeakSet:null;D||(T=function(d){return!1});var H=D?D.prototype.has:null,W=z?z.prototype.has:null;T||H||(T=function(d){return!1}),d.exports=T||function(d){if(!d||"object"!==_typeof(d))return!1;try{if(H.call(d,H),W)try{W.call(d,W)}catch(d){return!0}return d instanceof D}catch(d){}return!1}},"45zb":function(d,b,x){"use strict";function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}var T=x("B6Q+")(),D=x("VF6F")("Object.prototype.toString"),isStandardArguments=function(d){return!(T&&d&&"object"===_typeof(d)&&Symbol.toStringTag in d)&&"[object Arguments]"===D(d)},isLegacyArguments=function(d){return!!isStandardArguments(d)||null!==d&&"object"===_typeof(d)&&"number"==typeof d.length&&d.length>=0&&"[object Array]"!==D(d)&&"[object Function]"===D(d.callee)},z=function(){return isStandardArguments(arguments)}();isStandardArguments.isLegacyArguments=isLegacyArguments,d.exports=z?isStandardArguments:isLegacyArguments},4983:function(d,b){window.App=window.App||{},App.OverlayGallery={init:function(){$('[data-module~="overlay-gallery"]').each((function(){var d=$(this),b=$('[data-module~="gallery-modal"]'),x=b.find('[data-role="gallery-container"]'),T=b.find('[data-role="overlay-caption-template"]').html(),D=d.data("show-tooltip"),z="false"===d.attr("data-hide-overlay-title"),H="false"===d.attr("data-hide-overlay-text");d.find('[data-role="overlay-gallery-item"]').each((function(){var d=$(this).attr("data-module");d&&-1!==d.indexOf("embedded-video")?$(this).attr("data-module","embedded-video-poster"):$(this).removeAttr("data-module"),$(this).parents(".tooltip-gallery").length||$(this).addClass("clickable")})),D&&$("body").tooltip({selector:'[data-role="overlay-gallery-item"]',container:".layout-body__content",html:!0,placement:"auto top",template:'<div class="tooltip tooltip-gallery__tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"><p></p></div></div>'}),d.on("click",'[data-role="overlay-gallery-item"]',(function(W){if(W.preventDefault(),!D){var U=d.find('[data-role="overlay-gallery-item"]').index($(this)),Y=function(d,b,x,T){return d.map((function(){var d,D=$(this),z=D.attr("data-href"),H=D.attr("data-tablet-href"),W=D.attr("data-mobile-href");if(d=-1!==z.indexOf("http")&&-1===z.indexOf(window.location.host)?'<div class="video-container">
681'+App.EmbeddedVideo.buildVideoFrame(z,!1)+"</div>":'<picture><source media="(max-width: 479px)" srcset="'+(W||z)+'"><source media="(max-width: 1199px)" srcset="'+(H||z)+'"><img src="'+z+'" alt=""/></picture>',x||T){var U=b.replace("{title}",x?D.find('[data-role="overlay-title"]').html():"");U=U.replace("{text}",T?D.find('[data-role="overlay-text"]').html():"");var Y=$(U);Y.children().each((function(){0===$(this).text().trim().length&&$(this).remove()})),d+=Y[0].outerHTML}return'<div class="swiper-slide'+(D.parents(".eq-design").length>0?" eq-design":"")+'">'+d+"</div>"})).toArray().join("")}(d.find('[data-role="overlay-gallery-item"]'),T,z,H);x.width(300),function(d,b){d.find(".swiper-wrapper").html(b)}(x,Y),App.Modal.open(b),function(d,b){var x=new window.Swiper(d.find(".swiper-container")[0],{init:!1,autoHeight:!0,effect:"fade",initialSlide:b,slidesPerView:"auto",centeredSlides:!0,keyboard:{enabled:!0,onlyInViewport:!1},navigation:{nextEl:d.find('[data-action="slide-to-next"]')[0],prevEl:d.find('[data-action="slide-to-previous"]')[0],disabledClass:"disabled",hiddenClass:"hidden"}});x.on("init fromEdge reachBeginning reachEnd",(function(d){$(this.navigation.prevEl).css({visibility:this.isBeginning?"hidden":""}).prop("disabled",this.isBeginning),$(this.navigation.nextEl).css({visibility:this.isEnd?"hidden":""}).prop("disabled",this.isEnd)})),x.on("init resize slideChangeTransitionStart",(function(){var b=d.find(this.slides[this.activeIndex]),T=d.closest('[data-role="modal-dialog"]').parent().width();if(0!==b.find("img").length){var D=new window.Image;D.onload=function(){d.css({width:Math.min(D.naturalWidth,T)}),d.find(".swiper-container").css({width:Math.min(D.naturalWidth,T)}),x.update()},D.src=b.find("img").attr("src")}else d.css({width:T}),d.find(".swiper-container").css({width:T}),x.update()})),x.on("slideChangeTransitionEnd",(function(){var b=d.find(this.slides[this.previousIndex]);if(0!==b.find("iframe").length){var x=b.html();b.empty().html(x)}})),x.init(),$(window).on("load",(function(){x.update()})),d.on("lazybeforeunveil","img",(function onLazyBeforeUnveil(){d.off("lazybeforeunveil","img",onLazyBeforeUnveil),x.update()}))}(x,U),b.on("closed.modal",(function(){b.off("closed.modal"),function(d){d.css({width:""}),d.find(".swiper-container").css({width:""}),d.find(".swiper-wrapper").empty(),d.find(".swiper-container")[0].swiper&&d.find(".swiper-container")[0].swiper.destroy()}(x)}))}}))}))}}},"49sm":function(d,b){var x={}.toString;d.exports=Array.isArray||function(d){return"[object Array]"==x.call(d)}},"4WRZ":function(d,b){var x,T,D,z,H;window.App=window.App||{},App.DownloadCenter=(x={default:{itemsPerSlide:9},breakpoints:{"max:xs":{itemsPerSlide:6},"max:sm":{itemsPerSlide:6}}},T=function(d){var b=d.find('[data-action="toggle-tag-filter"]').map((function(){return!$(this).is(":checked")})).toArray().reduce((function(d,b){return d&&b}),!0);d.find('[data-action="reset-filter"]').toggle(!b)},D=function(d){var b=function(d){var b=d.attr("data-downloads-url"),x=[function(d){return d.find('[data-action="toggle-tag-filter"]:checked').map((function(){return $(this).val()})).toArray().join(",")}(d),"html"].filter((function(d){return d&&0!==d.trim().length}));return b.replace(/\.html$/,"."+x.join("."))}(d),x=(d.find('[data-role="downloads-container"]'),new Date);d.addClass("loading"),function(d){d.find('[data-role="downloads-container"]').css({height:"0px"}),d.data("slider").removeAllSlides()}(d),T(d),function(d){d.find('[data-role="downloads-filter"]').find("input, button").prop("disabled",!0)}(d),function(d){var b=d.find('[data-role="downloads-headline"]'),x=d.find('[data-action="toggle-tag-filter"]:checked');b.data("default")||b.data("default",b.text()),1===x.length?b.text(x.parent().text()):b.text(b.data("default"))}(d),function(d){var b=$.Deferred();return $.ajax({accepts:"text/html",dataType:"html",type:"GET",url:d}).done((function(d,x,T){b.resolve(d,!0)})).fail((function(d,x,T){b.resolve(d.responseText,!1)})),b.promise()}(b).then((function(b,T){var D=new Date,H=Math.max(1,1250-(D.getTime()-x.getTime()));window.setTimeout((function(){d.removeClass("loading"),function(d){d.find('[data-role="downloads-filter"]').find("input, button").prop("disabled",!1)}(d),function(d,b){d.find('[data-role="downloads-container"]');var x=$("<div></div>").html(b);z(x,!1);var T=x.find('[data-role="slider-slide"]');d.data("slider").appendSlide(T.toArray().map((function(d){return d.outerHTML})))}(d,b)}),H)}))},z=function(d,b){for(var T=d.find('[data-role="downloads-grid"]').remove(),D=b?T.children().length:function(d,b){for(var x in b.breakpoints)if(App.matchesScreenDimensions(x)
681)return b.breakpoints[x][d]||b.default[d];return b.default[d]}("itemsPerSlide",x);T.children().length>0;){var z=T.children(":lt("+D+")").remove();d.append('<div class="swiper-slide" data-role="slider-slide">'+T.clone().empty().html(z)[0].outerHTML+"</div>")}},H=function(d){App.env.isEditMode()&&App.env.isIframe()?z(d.find(".swiper-wrapper"),!0):(z(d.find(".swiper-wrapper"),!1),d.on("click",'[data-action="toggle-tag-filter"]',(function(b){"radio"!==$(this).attr("type")&&(d.find('[data-action="toggle-tag-filter"]').prop("checked",!1).attr("type","radio"),$(this).prop("checked",!0)),D(d)})),d.on("click",'[data-action="reset-filter"]',(function(b){b.preventDefault(),function(d){d.find('[data-action="toggle-tag-filter"]').each((function(){$(this).attr("type","checkbox"),$(this).prop("checked",!0)})),D(d)}(d)})),function(d){var b=App.matchesScreenDimensions("max:sm");b&&d.find(".pagination").addClass("pagination--dynamic");var x=new window.Swiper(d.find(".swiper-container")[0],{init:!1,autoHeight:!0,navigation:{nextEl:d.find('[data-action="slide-to-next"]')[0],prevEl:d.find('[data-action="slide-to-previous"]')[0]},pagination:{el:d.find(".pagination")[0],type:"bullets",clickable:!0,dynamicBullets:b,dynamicMainBullets:1,bulletClass:"pagination__item",bulletActiveClass:"active",renderBullet:function(d,b){return'<span class="'+b+'">'+(d+1)+"</span>"}}});x.on("init resize",(function(d){this.slides.length<=this.params.slidesPerView*this.params.slidesPerColumn?($(this.navigation.prevEl).hide(),$(this.navigation.nextEl).hide(),$(this.pagination.el).hide()):($(this.navigation.prevEl).show(),$(this.navigation.nextEl).show(),$(this.pagination.el).show())})),x.on("init fromEdge reachBeginning reachEnd",(function(d){$(this.navigation.prevEl).css({visibility:this.isBeginning?"hidden":""}).prop("disabled",this.isBeginning),$(this.navigation.nextEl).css({visibility:this.isEnd?"hidden":""}).prop("disabled",this.isEnd),$(this.pagination.el).toggle(this.slides.length>this.params.slidesPerView*this.params.slidesPerColumn)})),x.init(),$(window).on("load",(function(){x.update()})),d.on("lazybeforeunveil","img",(function onLazyBeforeUnveil(){d.off("lazybeforeunveil","img",onLazyBeforeUnveil),x.update()})),d.data("slider",x)}(d),T(d))},{init:function(){$('[data-module~="download-center"]').each((function(){H($(this))}))}})},"4nZt":function(d,b){var x;window.App=window.App||{},App.ContentTeaserSlider=(x=function(d){d.length&&(d.find(".swiper-slide-visible").find("a").attr("tabindex","0"),d.find(".swiper-slide").not(".swiper-slide-visible").find("a").attr("tabindex","-1"))},{init:function(){$('[data-module~="content-teaser-slider"]').each((function(){!function(d){var b={};b[App.breakpoints.max.xs]={slidesPerView:1.2,spaceBetween:15},b[App.breakpoints.max.sm]={slidesPerView:1.5,spaceBetween:20};var T=!1,D=new window.Swiper(d.find(".swiper-container")[0],{init:!1,freeMode:!0,freeModeSticky:!0,slidesPerView:2,spaceBetween:30,breakpoints:b,watchSlidesVisibility:!0,navigation:{nextEl:d.find('[data-action="slide-to-next"]')[0],prevEl:d.find('[data-action="slide-to-previous"]')[0]}});D.on("init resize",(function(b){this.slides.length<=this.params.slidesPerView?($(this.navigation.prevEl).hide(),$(this.navigation.nextEl).hide()):($(this.navigation.prevEl).show(),$(this.navigation.nextEl).show()),this.slides.length<this.params.slidesPerView?$(this.wrapperEl).css({justifyContent:"center"}):$(this.wrapperEl).css({justifyContent:""});var x=d.parents(".container").first();if(x.length){var D=0;this.slides.each((function(){D+=$(this).outerWidth(!0)})),D+parseInt(x.css("marginLeft"))<window.innerWidth?($(this.navigation.prevEl).hide(),$(this.navigation.nextEl).hide(),T=!0):($(this.navigation.prevEl).show(),$(this.navigation.nextEl).show(),T=!1)}})),D.on("init",(function(d){$(this.navigation.prevEl).hide()})),D.on("fromEdge",(function(d){T||$(this.navigation.prevEl).show()})),D.on("init fromEdge reachBeginning reachEnd",(function(d){$(this.navigation.prevEl).css({visibility:this.isBeginning?"hidden":""}).prop("disabled",this.isBeginning),$(this.navigation.nextEl).css({visibility:this.isEnd?"hidden":""}).prop("disabled",this.isEnd)})),$(window).on("load",(function(){D.update()})),d.on("lazybeforeunveil","img",(function onLazyBeforeUnveil(){d.off("lazybeforeunveil","img",onLazyBeforeUnveil),D.update()})),d.find(".swiper-slide").each((function(){App.FUNCTIONS.isEmpty(this)&&$(this).removeClass("swiper-slide").attr("data-role","slider-slide--empty")})),D.init();var z=d.find(".swiper-container");x(z),D.on("slideChange",(function(d){x(z)}))}($(this))}))}})},"4wIo":function(d,b,x){"use strict";function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}var T="undefined"!=typeof Symbol&&Symbol,D=x("563l");d.exports=function(){return"function"==typeof T&&("function"==typeof Symbol&&("symbol"===_typeof(T("foo"))&&("symbol"===_typeof(Symbol("bar"))&&D())))}},"563l":function(d,b,x){"use strict";function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}d.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===_typeof(Symbol.iterator))return!0;var d={},b=Symbol("test"),x=Object(b);if("string"==typeof b)return!1;if("[object Symbol]"!==Object.prototype.toString.call(b))return!1;if("[object Symbol]"!==Object.prototype.toString.call(x))return!1;for(b in d[b]=42,d)return!1;if("function"==typeof Object.keys&&0!==Object.keys(d).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(d).length)return!1;var T=Object.getOwnPropertySymbols(d);if(1!==T.length||T[0]!==b)return!1;if(!Object.prototype.propertyIsEnumerable.call(d,b))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var D=Object.getOwnPropertyDescriptor(d,b);if(42!==D.value||!0!==D.enumerable)return!1}return!0}},"5xAX":function(d,b,x){"use strict";var T=x("WeaP"),D=x("PrET"),z=x("VwiP"),H=x("V+xs"),W=x("HH6Z"),U=D(H());T(U,{getPolyfill:H,implementation:z,shim:W}),d.exports=U},"7cSL":function(d,b,x){"use strict";(function(b){function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}var T=x("0CSc"),D=x("cibw"),z=x("PrET"),H=x("VF6F"),W=x("Kqna"),U=H("Object.prototype.toString"),Y=x("B6Q+")(),Z="undefined"==typeof globalThis?b:globalThis,J=D(),ee=H("String.prototype.slice"),te=Object.getPrototypeOf,ne=H("Array.prototype.indexOf",!0)||function(d,b){for(var x=0;x<d.length;x+=1)if(d[x]===b)return x;return-1},ie={__proto__:null};T(J,Y&&W&&te?function(d){var b=new Z[d];if(Symbol.toStringTag in b){var x=te(b),T=W(x,Symbol.toStringTag);if(!T){var D=te(x);T=W(D,Symbol.toStringTag)}ie["$"+d]=z(T.get)}}:function(d){var b=new Z[d],x=b.slice||b.set;x&&(ie["$"+d]=z(x))});d.exports=function(d){if(!d||"object"!==_typeof(d))return!1;if(!Y){var b=ee(U(d),8,-1);return ne(J,b)>-1?b:"Object"===b&&function(d){var b=!1;return T(ie,(function(x,T){if(!b)try{x(d),b=ee(T,1)}catch(d){}})),b}(d)}return W?function(d){var b=!1;return T(ie,(function(x,T){if(!b)try{"$"+x(d)===T&&(b=ee(T,1))}catch(d){}})),b}(d):null}}).call(this,x("yLpj"))},"7ubj":function(d,b,x){"use strict";var T="Function.prototype.bind called on incompatible ",D=Object.prototype.toString,z=Math.max,concatty=function(d,b){for(var x=[],T=0;T<d.length;T+=1)x[T]=d[T];for(var D=0;D<b.length;D+=1)x[D+d.length]=b[D];return x},slicy=function(d,b){for(var x=[],T=b||0,D=0;T<d.length;T+=1,D+=1)x[D]=d[T];return x},joiny=function(d,b){for(var x="",T=0;T<d.length;T+=1)x+=d[T],T+1<d.length&&(x+=b);return x};d.exports=function(d){var b=this;if("function"!=typeof b||"[object Function]"!==D.apply(b))throw new TypeError(T+b);
681for(var x,H=slicy(arguments,1),binder=function(){if(this instanceof x){var T=b.apply(this,concatty(H,arguments));return Object(T)===T?T:this}return b.apply(d,concatty(H,arguments))},W=z(0,b.length-H.length),U=[],Y=0;Y<W;Y++)U[Y]="$"+Y;if(x=Function("binder","return function ("+joiny(U,",")+"){ return binder.apply(this,arguments); }")(binder),b.prototype){var Empty=function(){};Empty.prototype=b.prototype,x.prototype=new Empty,Empty.prototype=null}return x}},"7upa":function(d,b){var x,T,D;window.App=window.App||{},App.ProductTeaser=(x=function(d,b){return d%b==0?d/b:Math.ceil(d/b)},T=function(d,b){$(d.wrapperEl).css({transform:"translate3d("+100*-b+"%, 0, 0)",left:-b*d.params.spaceBetween+"px"})},D=function(d){var b=function(d){var b=d.find('[data-role="highlighted-item"]:first').closest('[data-role="slider-slide"]');return Math.max(0,d.find('[data-role="slider-slide"]').index(b))}(d),D={};D[App.breakpoints.max.xs]={slidesPerView:1,slidesPerGroup:1,spaceBetween:10,initialSlide:b},D[App.breakpoints.max.md]={slidesPerView:2,slidesPerGroup:2,spaceBetween:30,initialSlide:b};var z=parseInt(d.attr("data-slides-per-page"));d.find('[data-role="slider-slide"]').css({transitionDelay:0}).addClass("disappeared");var H=new window.Swiper(d.find(".swiper-container")[0],{init:!1,speed:0,virtualTranslate:!0,slidesPerView:z,slidesPerGroup:z,spaceBetween:30,initialSlide:Math.max(0,b-1),breakpoints:D,pagination:{type:"bullets",clickable:!0,el:d.find('[data-role="pagination"]')[0],bulletActiveClass:"active"},navigation:{nextEl:d.find('[data-action="slide-to-next"]')[0],prevEl:d.find('[data-action="slide-to-previous"]')[0]}});H.on("init resize",(function(){this.slides.length<=this.params.slidesPerView?($(this.navigation.prevEl).hide(),$(this.navigation.nextEl).hide()):$(window).width()>App.breakpoints.max.xs&&($(this.navigation.prevEl).show(),$(this.navigation.nextEl).show()),this.slides.length<this.params.slidesPerView?$(this.wrapperEl).css({justifyContent:"center"}):$(this.wrapperEl).css({justifyContent:""})})),H.on("init resize",(function(){var d=x(this.activeIndex,this.params.slidesPerGroup);T(this,d)})),H.on("init fromEdge reachBeginning reachEnd",(function(){$(this.navigation.prevEl).css({visibility:this.isBeginning?"hidden":""}).prop("disabled",this.isBeginning),$(this.navigation.nextEl).css({visibility:this.isEnd?"hidden":""}).prop("disabled",this.isEnd)})),H.on("init slideChange",(function(){var d=this.params.slidesPerGroup,b=x(this.activeIndex,d),D=$(this.slides),z=b*d,W=D.slice(z,z+d);D.on("transitionend",(function onTransitionEnd(){D.off("transitionend",onTransitionEnd),T(H,b),W.removeClass("disappeared").find("a").attr("tabindex",0)})),D.css({transitionDelay:0}).addClass("disappeared").find("a").attr("tabindex",-1)})),d.find(".swiper-slide").each((function(){App.FUNCTIONS.isEmpty(this)&&$(this).removeClass("swiper-slide").attr("data-role","slider-slide--empty")})),H.init(),$(window).on("load",(function(){H.update()})),d.on("lazybeforeunveil","img",(function onLazyBeforeUnveil(){d.off("lazybeforeunveil","img",onLazyBeforeUnveil),H.update()}))},{init:function(){$('[data-module="product-teaser"]').each((function(){var d,b;d=$(this),b=!1,d.find('[data-role="product-recommendation"]').each((function(){0!==$(this).text().trim().length&&(b=!0)})),b||d.find('[data-role="product-recommendation"]').remove(),D($(this))}))}})},"87TR":function(d,b){function _toConsumableArray(d){return function(d){if(Array.isArray(d)){for(var b=0,x=new Array(d.length);b<d.length;b++)x[b]=d[b];return x}}(d)||function(d){if(Symbol.iterator in Object(d)||"[object Arguments]"===Object.prototype.toString.call(d))return Array.from(d)}(d)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}window.App=window.App||{},App.FileField={init:function(){$('[data-module~="file-field"]').each((function(){var d,b=$(this).closest('[data-role="form-field"]'),x=b.find("input[type=file]"),T=b.find('[data-action="clear"]');x.attr("data-filesize")?((d=b.find('[data-role="filesize-hint"]')).text(d.attr("data-template").replace("{0}",Math.round(parseInt(x.attr("data-filesize"),10)/1024/1024*10)/10+" MB")),d.parent().removeClass("hidden")):b.find('[data-role="filesize-hint"]').remove(),x.attr("data-extension")?((d=b.find('[data-role="extension-hint"]')).text(d.attr("data-template").replace("{0}",x.attr("data-extension"))),d.parent().removeClass("hidden")):b.find('[data-role="extension-hint"]').remove(),T.toggleClass("hidden",0===x[0].files.length)})),$("body").on("change",'[data-module~="file-field"] input[type=file]',(function(){var d=$(this).closest('[data-module~="file-field"]');this.files,App.DefaultForm.files.has(this)?App.DefaultForm.files.set(this,[].concat(_toConsumableArray(App.DefaultForm.files.get(this)),_toConsumableArray(this.files))):App.DefaultForm.files.set(this,_toConsumableArray(this.files));var b=App.DefaultForm.files.get(this).map((function(d){return d.name}));d.find('[data-role="file-name-container"]').html("");var x=!0,T=!1,D=void 0;try{for(var z,H=b[Symbol.iterator]();!(x=(z=H.next()).done);x=!0){var W=z.value,U=d.find('[data-role="file-template"]').clone(!0);U.find('[data-role="file-label"]').text(W),U.removeClass("hidden"),U.removeAttr("data-role"),U.find('[data-action="clear"]').removeClass("hidden"),d.find('[data-role="file-name-container"]').append(U)}}catch(d){T=!0,D=d}finally{try{x||null==H.return||H.return()}finally{if(T)throw D}}})),$("body").on("click",'[data-module~="file-field"] [data-action="cho
681ose"]',(function(d){d.preventDefault(),$(this).closest('[data-module~="file-field"]').find("input[type=file]").trigger("focus").trigger("click")})),$("body").on("click",'[data-module~="file-field"] [data-action="clear"]',(function(d){d.preventDefault();var b=$(this),x=b.parent().index(),T=b.closest('[data-module~="file-field"]').find("input[type=file]"),D=_toConsumableArray(App.DefaultForm.files.get(T.get(0)));D.splice(x,1),App.DefaultForm.files.set(T.get(0),D),b.parent().remove()}))}}},"8R9v":function(d,b,x){"use strict";var T=x("2jAT"),D=x("yLpt");d.exports=function(){var d=D();return T(Object,{assign:d},{assign:function(){return Object.assign!==d}}),d}},"9EmH":function(d,b){var x,T;window.App=window.App||{},App.BackgroundPicture=(x=window.devicePixelRatio>1||!(!window.matchMedia||!window.matchMedia("(-webkit-min-device-pixel-ratio: 1.5), (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3/2), (min-resolution: 1.5dppx)").matches),T=function(d){var b=d.find("picture:first"),T=d.data("loadedSource"),D=function(d){var b=(d.find("source").toArray().map((function(d){var b=$(d).attr("media");return($(d).attr("data-srcset")||$(d).attr("srcset")).split(",").map((function(d){var x=d.trim();return-1!==x.indexOf(" ")?{media:b,url:x.split(" ")[0],dppx:window.parseFloat(x.split(" ")[1],10)}:{media:b,url:x,dppx:1}}))}))||[]).find((function(d){return window.matchMedia&&window.matchMedia(d[0].media).matches}));return b?x?(b.find((function(d){return d.dppx&&d.dppx>1}))||b[0]).url:b[0].url:b}(b);D&&T!==D&&(d.css({backgroundImage:"url("+D+")"}),d.data("loadedSource",D))},{init:function(){$('[data-module="background-picture"]').each((function(){var d=$(this);d.hasClass("lazyload")?d.on("lazybeforeunveil",(function onLazyBeforeUnveil(){d.off("lazybeforeunveil",onLazyBeforeUnveil),T(d)})):T(d)})),$(window).on("resize.backgroundPicture",window._.throttle((function(){$('[data-module="background-picture"]').each((function(){T($(this))}))}),50))},refresh:function(){$('[data-module="background-picture"]').each((function(){$(this).data("loadedSource")||T($(this))}))}})},"9Zkh":function(d,b,x){
682/*!
683  2D Transformation Matrix v2.7.5
684  (c) Epistemex.com 2014-2018
685  License: MIT
686*/
687/**
688 * 2D transformation matrix object initialized with identity matrix.
689 *
690 * The matrix can synchronize a canvas 2D context by supplying the context
691 * as an argument, or later apply current absolute transform to an
692 * existing context.
693 *
694 * To synchronize a DOM element you can use [`toCSS()`]{@link Matrix#toCSS} or [`toCSS3D()`]{@link Matrix#toCSS3D}.
695 * together with for example the `style.transform` property.
696 *
697 * @param {CanvasRenderingContext2D} [context] - Optional context to sync with Matrix
698 * @param {HTMLElement} [element=null] - DOM Element to synchronize
699 * @prop {number} a - scale x
700 * @prop {number} b - shear y
701 * @prop {number} c - shear x
702 * @prop {number} d - scale y
703 * @prop {number} e - translate x
704 * @prop {number} f - translate y
705 * @prop {CanvasRenderingContext2D} [context] - set or get current synchronized 2D context
706 * @prop {HTMLElement} [element] - get current synchronized DOM element
707 * @prop {boolean} [useCSS3D=false] - is a DOM element is defined for sync., choose whether to use 2D (false) or 3D (true) matrix to sync it.
708 * @constructor
709 * @license MIT license
710 * @copyright Epistemex.com 2014-2018
711 */
712function Matrix(d,b){var x,T=this;T._t=T.transform,T.a=T.d=1,T.b=T.c=T.e=T.f=0,d&&(T.context=d).setTransform(1,0,0,1,0,0),Object.defineProperty(T,"element",{get:function(){return x},set:function(d){x||(T._px=T._getPX(),T.useCSS3D=!1),x=d,(T._st=x.style)[T._px]=T.toCSS()}}),b&&(T.element=b)}Matrix.fromTriangles=function(d,b,x){var T,D,z,H,W,U,Y=new Matrix,Z=new Matrix(x);return Array.isArray(d)?"number"==typeof d[0]?(z=d[4],H=d[5],W=b[4],U=b[5],T=[d[0]-z,d[1]-H,d[2]-z,d[3]-H,z,H],D=[b[0]-W,b[1]-U,b[2]-W,b[3]-U,W,U]):(z=d[2].x,H=d[2].y,W=b[2].x,U=b[2].y,T=[d[0].x-z,d[0].y-H,d[1].x-z,d[1].y-H,z,H],D=[b[0].x-W,b[0].y-U,b[1].x-W,b[1].y-U,W,U]):(T=[d.px-d.rx,d.py-d.ry,d.qx-d.rx,d.qy-d.ry,d.rx,d.ry],D=[b.px-b.rx,b.py-b.ry,b.qx-b.rx,b.qy-b.ry,b.rx,b.ry]),Y.setTransform.apply(Y,T),Z.setTransform.apply(Z,D),Z.multiply(Y.inverse())},Matrix.fromSVGTransformList=function(d,b,x){for(var T=new Matrix(b,x),D=0;D<d.length;)T.multiply(d[D++].matrix);return T},Matrix.from=function(d,b,x,T,D,z,H,W){var U,Y,Z,J=new Matrix(H,W);if("number"==typeof d)J.setTransform(d,b,x,T,D,z);else if("number"==typeof d.x)Z=Math.sqrt(d.x*d.x+d.y*d.y),U=Y=1,T?U=Z:Y=Z,J.translate(b||0,x||0).rotateFromVector(d).scaleU(U).translate(Y,0);else{if("boolean"==typeof d.is2D&&!d.is2D)throw"Cannot use 3D DOMMatrix.";b&&(J.context=b),x&&(J.element=x),J.multiply(d)}return J},Matrix.prototype={_getPX:function(){for(var d,b=["t","oT","msT","mozT","webkitT","khtmlT"],x=0,T=document.createElement("div").style;d=b[x++];)if(void 0!==T[d+"ransform"])return d+"ransform"},concat:function(d){return this.clone().multiply(d)},flipX:function(){return this._t(-1,0,0,1,0,0)},flipY:function(){return this._t(1,0,0,-1,0,0)},reflectVector:function(d,b){var x=this.applyToPoint(0,1),T=2*(x.x*d+x.y*b);return{x:d-=T*x.x,y:b-=T*x.y}},reset:function(){return this.setTransform(1,0,0,1,0,0)},rotate:function(d){var b=Math.cos(d),x=Math.sin(d);return this._t(b,x,-x,b,0,0)},rotateFromVector:function(d,b){return this.rotate("number"==typeof d?Math.atan2(b,d):Math.atan2(d.y,d.x))},rotateDeg:function(d){return this.rotate(d*Math.PI/180)},scaleU:function(d){return this._t(d,0,0,d,0,0)},scale:function(d,b){return this._t(d,0,0,b,0,0)},scaleX:function(d){return this._t(d,0,0,1,0,0)},scaleY:function(d){return this._t(1,0,0,d,0,0)},scaleFromVector:function(d,b){return this.scaleU(Math.sqrt(d*d+b*b))},shear:function(d,b){return this._t(1,b,d,1,0,0)},shearX:function(d){return this._t(1,0,d,1,0,0)},shearY:function(d){return this._t(1,d,0,1,0,0)},skew:function(d,b){return this.shear(Math.tan(d),Math.tan(b))},skewDeg:function(d,b){return this.shear(Math.tan(d/180*Math.PI),Math.tan(b/180*Math.PI))},skewX:function(d){return this.shearX(Math.tan(d))},skewY:function(d){return this.shearY(Math.tan(d))},setTransform:function(d,b,x,T,D,z){var H=this;return H.a=d,H.b=b,H.c=x,H.d=T,H.e=D,H.f=z,H._x()},translate:function(d,b){return this._t(1,0,0,1,d,b)},translateX:function(d){return this._t(1,0,0,1,d,0)},translateY:function(d){return this._t(1,0,0,1,0,d)},transform:function(d,b,x,T,D,z){var H=this,W=H.a,U=H.b,Y=H.c,Z=H.d,J=H.e,ee=H.f;return H.a=W*d+Y*b,H.b=U*d+Z*b,H.c=W*x+Y*T,H.d=U*x+Z*T,H.e=W*D+Y*z
712+J,H.f=U*D+Z*z+ee,H._x()},multiply:function(d){return this._t(d.a,d.b,d.c,d.d,d.e,d.f)},divide:function(d){return this.multiply(d.inverse())},divideScalar:function(d){var b=this;if(!d)throw"Division on zero";return b.a/=d,b.b/=d,b.c/=d,b.d/=d,b.e/=d,b.f/=d,b._x()},inverse:function(d,b){var x=this,T=new Matrix(d?x.context:null,b?x.element:null),D=x.determinant();if(!D)throw"Matrix not invertible.";return T.a=x.d/D,T.b=-x.b/D,T.c=-x.c/D,T.d=x.a/D,T.e=(x.c*x.f-x.d*x.e)/D,T.f=-(x.a*x.f-x.b*x.e)/D,T},interpolate:function(d,b,x,T){var D=this,z=new Matrix(x,T);return z.a=D.a+(d.a-D.a)*b,z.b=D.b+(d.b-D.b)*b,z.c=D.c+(d.c-D.c)*b,z.d=D.d+(d.d-D.d)*b,z.e=D.e+(d.e-D.e)*b,z.f=D.f+(d.f-D.f)*b,z._x()},interpolateAnim:function(d,b,x,T){var D=new Matrix(x,T),z=this.decompose(),H=d.decompose(),W=z.translate,U=H.translate,Y=z.scale;return D.translate(W.x+(U.x-W.x)*b,W.y+(U.y-W.y)*b),D.rotate(z.rotation+(H.rotation-z.rotation)*b),D.scale(Y.x+(H.scale.x-Y.x)*b,Y.y+(H.scale.y-Y.y)*b),D._x()},decompose:function(d){var b,x,T=this,D=T.a,z=T.b,H=T.c,W=T.d,U=Math.acos,Y=Math.atan,Z=Math.sqrt,J=Math.PI,ee={x:T.e,y:T.f},te=0,ne={x:1,y:1},ie={x:0,y:0},oe=D*W-z*H;return d?D?(ie={x:Y(H/D),y:Y(z/D)},ne={x:D,y:oe/D}):z?(te=.5*J,ne={x:z,y:oe/z},ie.x=Y(W/z)):(ne={x:H,y:W},ie.x=.25*J):D||z?(b=Z(D*D+z*z),te=z>0?U(D/b):-U(D/b),ne={x:b,y:oe/b},ie.x=Y((D*H+z*W)/(b*b))):H||W?(x=Z(H*H+W*W),te=.5*J-(W>0?U(-H/x):-U(H/x)),ne={x:oe/x,y:x},ie.y=Y((D*H+z*W)/(x*x))):ne={x:0,y:0},{translate:ee,rotation:te,scale:ne,skew:ie}},determinant:function(){return this.a*this.d-this.b*this.c},applyToPoint:function(d,b){var x=this;return{x:d*x.a+b*x.c+x.e,y:d*x.b+b*x.d+x.f}},applyToArray:function(d){var b,x,T=0,D=[];if("number"==typeof d[0])for(x=d.length;T<x;)b=this.applyToPoint(d[T++],d[T++]),D.push(b.x,b.y);else for(;b=d[T++];)D.push(this.applyToPoint(b.x,b.y));return D},applyToTypedArray:function(d,b){for(var x,T=0,D=d.length,z=b?new Float64Array(D):new Float32Array(D);T<D;)x=this.applyToPoint(d[T],d[T+1]),z[T++]=x.x,z[T++]=x.y;return z},applyToContext:function(d){var b=this;return d.setTransform(b.a,b.b,b.c,b.d,b.e,b.f),b},applyToElement:function(d,b){var x=this;return x._px||(x._px=x._getPX()),d.style[x._px]=b?x.toCSS3D():x.toCSS(),x},applyToObject:function(d){var b=this;return d.a=b.a,d.b=b.b,d.c=b.c,d.d=b.d,d.e=b.e,d.f=b.f,b},isIdentity:function(){var d=this;return!(1!==d.a||d.b||d.c||1!==d.d||d.e||d.f)},isInvertible:function(){return!this._q(this.determinant(),0)},isValid:function(){return!(this.a*this.d)},isEqual:function(d){var b=this,x=b._q;return x(b.a,d.a)&&x(b.b,d.b)&&x(b.c,d.c)&&x(b.d,d.d)&&x(b.e,d.e)&&x(b.f,d.f)},clone:function(d){return new Matrix(d?null:this.context).multiply(this)},toArray:function(){var d=this;return[d.a,d.b,d.c,d.d,d.e,d.f]},toTypedArray:function(){var d=this;return new Float32Array([d.a,d.b,d.c,d.d,d.e,d.f])},toCSS:function(){return"matrix("+this.toArray()+")"},toCSS3D:function(){var d=this,b=",0,0,";return"matrix3d("+d.a+","+d.b+b+d.c+","+d.d+b+b+",1,0,"+d.e+","+d.f+",0,1)"},toJSON:function(){var d=this;return'{"a":'+d.a+',"b":'+d.b+',"c":'+d.c+',"d":'+d.d+',"e":'+d.e+',"f":'+d.f+"}"},toString:function(d){var b=this;return d=d||4,"a="+b.a.toFixed(d)+" b="+b.b.toFixed(d)+" c="+b.c.toFixed(d)+" d="+b.d.toFixed(d)+" e="+b.e.toFixed(d)+" f="+b.f.toFixed(d)},toCSV:function(){return this.toArray().join()+"\r\n"},toDOMMatrix:function(){var d=null;return"DOMMatrix"in window&&((d=new DOMMatrix).a=this.a,d.b=this.b,d.c=this.c,d.d=this.d,d.e=this.e,d.f=this.f),d},toSVGMatrix:function(){var d=this,b=document.createElementNS("http://www.w3.org/2000/svg","svg"),x=null;return b&&((x=b.createSVGMatrix()).a=d.a,x.b=d.b,x.c=d.c,x.d=d.d,x.e=d.e,x.f=d.f),x},_q:function(d,b){return Math.abs(d-b)<1e-14},_x:function(){var d=this;return d.context&&d.context.setTransform(d.a,d.b,d.c,d.d,d.e,d.f),d._st&&(d._st[d._px]=d.useCSS3D?d.toCSS3D():d.toCSS()),d}},b.Matrix=Matrix},"9kyW":function(d,b,x){"use strict";d.exports=function(d){for(var b=5381,x=d.length;x;)b=33*b^d.charCodeAt(--x);return b>>>0}},"9mcg":function(d,b,x){var T=x("PiyM"),D=x("9kyW"),z=x("K3GY"),H=x("U+4o"),W=x("9Zkh").Matrix,U=x("j0LS"),Y=U.extend,Z=U.pad,J=U.getDefault,ee="http://www.w3.org/2000/svg",te="http://www.w3.org/1999/xlink",ne=1.2,ie=x("Yea8"),oe=[x("VnTP"),x("oamV"),x("0BEp"),x("R6en"),x("Mn2d")];
712function Renderer(d,b,x,T,D,z,H){this._data=null,this._extent=null,this._type=null,this._styles=ie,this._projection=null,this._type=null,this._fonts=[],this._transform=null,this._plugins={},this._decorators={},this._defs=null,b&&this.styles(b),x&&this.extent(x),T&&this.projection(T),D&&this.type(D),H&&this.transform(H),d&&this.data(d),this.fonts(z||oe)}d.exports=function(d,b,x,T,D,z,H){return new Renderer(d,b,x,T,D,z,H)},d.exports.Renderer=Renderer,d.exports.DefaultStyles=ie,d.exports.extendBBox=Y,d.exports.padBBox=Z,Renderer.prototype={styles:function(d){return this._styles="function"==typeof d?d:T({},ie,d),this},fonts:function(d){Array.isArray(d)||(d=[d]);for(var b=0,x=d.length;b<x;b++)d[b].values=d[b].values.sort((function(d,b){return d.size-b.size})),this._fonts.push(d[b]);return this},transform:function(d){if("function"!=typeof d)throw new TypeError("Transform feature must be a function");return this._transform=d,this},type:function(d){return this._type=d,this},data:function(d){if("FeatureCollection"!==d.type){if("Feature"!==d.type)throw new TypeError("Input has to be a FeatureCollection or a Feature");d={type:"FeatureCollection",features:[d]}}return this._projection&&(d=z(d,this._projection)),this._data=d,this},projection:function(d){if("function"!=typeof d)throw new TypeError("Projection must be a function [x, y] -> [x, y]");return this._projection=d,this},extent:function(d){return this._extent=d,this},decorator:function(d,b){if("function"!=typeof b)throw new TypeError("Decorator must be a function (feature, coordinates, closed, bbox, featureBounds) -> SVGPath ");return this._decorators[d]=b,this},render:function(d){d&&this.data(d);var b=[],x=J();this._defs=[];for(var T=0,D=this._data.features.length;T<D;T++)this._feature(this._data.features[T],b,x);return this._renderContainer(b,this._extent||this._data.extent||this._data.bbox||(this._data.properties?this._data.properties.bbox:null)||x),b.join("")},_renderContainer:function(d,b){var x=[b[0],b[1],b[2]-b[0],b[3]-b[1]];d.unshift("<g>"),0!==this._defs.length&&(d.unshift("</defs>"),d.unshift.apply(d,this._defs.slice()),d.unshift("<defs>")),d.unshift(['<svg viewBox="',x.join(" "),'" xmlns="',ee,'" xmlns:xlink="',te,'" version="',ne,'">'].join("")),d.push("</g>","</svg>")},plugin:function(d,b){return this._plugins[d]=b,this},_getPluginRenderer:function(d){var b=d.properties[this._type],x=null;return b&&(x=this._plugins[b]),x},_feature:function(d,b,x){var T=J();this._transform&&(d=this._transform(d));var D=this._getPluginRenderer(d);if(D)return D.call(this,d,b,x,T),T;switch(d.geometry.type){case"Polygon":case"MultiPolygon":this._polygon(d,b,x,T);break;case"LineString":case"MultiLineString":this._lineString(d,b,x,T);break;case"Point":this._point(d,b,x,T);break;case"MultiPoint":this._multiPoint(d,b,x,T);break;case"GeometryCollection":this._geometryCollection(d,b,x,T)}return T},_geometryCollection:function(d,b,x,D){var z=("geometrycollection "+(d.properties.className||"")).trim();b.push('<g class="',z,'">');for(var H=d.geometry.geometries.length,W=d.properties.geometriesTypes||Array(H),U=0;U<H;U++){var Y=T({},d.properties,{collectionIndex:U});Y[this._type]=W[U],d.properties.styles&&d.properties.styles[W[U]]&&T(Y,d.properties.styles[W[U]]),this._feature({type:"Feature",properties:Y,geometry:d.geometry.geometries[U]},b,x)}b.push("</g>")},_multiPoint:function(d,b,x,T){var D=("multipoint "+(d.properties.className||"")).trim();b.push('<g class="',D,'">');for(var z=0,H=d.geometry.coordinates.length;z<H;z++)this._point({type:"Feature",properties:d.properties,geometry:{type:"Point",coordinates:d.geometry.coordinates[z]}},b,x,J());b.push("</g>")},_lineString:function(d,b,x,T){var D=("linestring "+(d.properties.className||"")).trim();b.push('<path class="',D,'" d="',this._getPath(d,!1,x,T),'"',this._getStyles(d,x,T)," />")},_text:function(d,b,x,D){var z=T({},this._selectStyle(d),d.properties),H=z.fontSize||10,W=z.fontColor||z.color,U=z.fontFamily||"",Y=z.text,Z=[D[0],D[1]],J=this._renderTextContent(Y,H,U,D,z);U&&(U='font-family="'+U.replace(/\"/g,"'").trim()+'" ');var ee=("textbox "+(z.className||"")).trim();b.push("<text ",U,'class="',ee,'" ','font-size="',H,'" ','fill="',W,'" ','x="',Z[0],'" ','y="',Z[1],'" ',">",J,"</text>")},_renderTextContent:function(d,b,x,T,D){var z=[];if(Array.isArray(d)&&D.lineHeight){for(var W=0,U=d.length;W<U;W++)z.push("<tspan ",'dy="',D.lineHeight,'" ','x="',T[0],'">',String(d[W]),"</tspan>");d=z.join("")}else{var Y=H(x,b,this._fonts);d=this._renderMultilineText(String(d),Y,T)}return d},_renderMultilineText:function(d,b,x){var T=x[2]-x[0],D=d.length,z=[],H="",W=0,U=b.height,Y=0;for(0===T&&(U-=.68*b.height);W<D;){if(0===W||Y+b.avg>T)H+=["<tspan ",'dy="',U,'" ','x="',0===T?x[0]-b.avg/2:x[0],'"',">"].join(""),Y=0;H+=d[W++],Y+=b.avg,(W===D||Y+b.avg>T)&&(H+="</tspan>",z.push(H),H="")}return z.join("")},_polygon:function(d,b,x,T){var D=("polygon "+(d.properties.className||"")).trim();b.push('<path class="',D,'" d="',this._getPath(d,!0,x,T),'"',this._getStyles(d,x,T),"/>"),this._type&&"textbox"===d.properties[this._type]&&this._text(d,b,x,T)},_point:function(d,b,x,T){var D=this._type?d.properties[this._type]:"";if(D&&"symbol"===D)this._symbol(d,b,x,T);else{var z=d.geometry.coordinates,H=("point "+(d.properties.className||"")).trim(),W=d.properties.radius||1;Y(x,z),Y(T,z),D&&"textbox"===D?this._text(d,b,x,T):b.push('<circle class="',H,'" cx="',z[0],'" cy="',z[1],'" r="',W,'" ',this._getStyles(d,x,T)," />"),Z(T,W),Y(x,T.slice(0,2)),Y(x,T.slice(2,4))}},_createArrow:function(d){var b=d.arrowLength||20*d.weight,x=d.arrowThickness||10*d.weight,T=b,D=d.direction,z=["arrow",x,T,D].join("-").replace(/\./g,""),H=this._defs.filter((function(d){return-1!==d.indexOf(z)}
712))[0];if(!H){var W=0,U=x/2,Y="";1===D?(W=T,Y=["M",0,0,"L",0,x,"L",T,x/2,"Z"].join(" ")):Y=["M",T,0,"L",T,x,"L",0,x/2,"Z"].join(" "),H=['<path id="path-',z,'" class="arrow-path" d="',Y,'" />'];var Z=this._createMarker(H.join(""),z,b,x,[W,U]);this._defs.push(Z)}return z},_createMarker:function(d,b,x,T,D){var z=['<marker id="',b,'" ','markerWidth="',x,'" ','markerHeight="',T,'" ','orient="auto" '];return D&&z.push('refX="',D[0],'" ','refY="',D[1],'" '),z.push(">",d,"</marker>"),z.join("")},_getSymbolDef:function(d,b){var x=d.properties.symbol.src.trim(),T="feature-symbol-"+D(x);x=x.replace(/<\/?svg[^>]*>/g,"").replace(/\<\?xml.+\?\>|\<\!DOCTYPE.+]\>/g,"").replace(/<metadata>[\s\S]*?<\/metadata>/g,"");var z=['<symbol id="',T,'" viewBox="',b.join(" "),'">',x,"</symbol>"].join("");return-1===this._defs.indexOf(z)&&this._defs.push(z),T},_createSymbol:function(d,b,x){var T=d.properties.symbol.src.match(/view[Bb]ox\=["']([^"']+)["']/m)[1];T=T?T.split(" ").map(parseFloat):x;var D=d.properties.symbol,z=this._getSymbolDef(d,T),H=D.width||T[2]||"",W=D.height||T[3]||"",U=d.geometry.coordinates,Z=("symbol "+(d.properties.className||"")).trim(),J=[U[0]-H/2,U[1]-W/2,U[0]+H/2,U[1]+W/2],ee=this._getSymbolTransform(d,b,x,H,W);return Y(x,J.slice(0,2)),Y(x,J.slice(2,4)),Y(b,J.slice(0,2)),Y(b,J.slice(2,4)),['<use xlink:href="#',z,'" transform="matrix(',ee.join(" "),')" ','width="',H,'" ','height="',W,'" ','x="',U[0],'" ','y="',U[1],'" ','class="',Z,'" ',this._getStyles(d,b,x),"/>"].join("")},_getSymbolTransform:function(d,b,x,T,D){var z=d.properties,H=d.geometry.coordinates,U=z.scale||1,Y=z.rotation||0;return W.from(1,0,0,1,0,0).translate(H[0],H[1]).rotate(Y).scale(U,U).translate(-H[0],-H[1]).translate(-T/2,-D/2).toArray()},_symbol:function(d,b,x,T){var D=d.geometry.coordinates,z=("point "+(d.properties.className||"")).trim(),H=d.properties.radius||1;Y(x,D),Y(T,D),d.properties.symbol.src?b.push(this._createSymbol(d,x,T)):b.push('<circle class="',z,'" cx="',D[0],'" cy="',D[1],'" r="',H,'" ',this._getStyles(d,x,T),"/>")},_coordinatesToPath:function(d,b,x,T,D){var z,H,W,U="";if(isFinite(d[0][0])){for(z=0,H=d.length;z<H;z++)U+=(0===z?"M":"L")+(W=d[z])[0]+" "+W[1],Y(x,W),Y(T,W);b&&(U+="Z")}else for(z=0,H=d.length;z<H;z++)U+=" "+this._coordinatesToPath(d[z],b,x,T,D);return U||"M0 0"},_getPath:function(d,b,x,T){var D="",z=d.geometry.coordinates;this._type&&this._decorators[d.properties[this._type]]?D=this._decorators[d.properties[this._type]].call(this,d,z,b,x,T):D=this._coordinatesToPath(z,b,x,T);return D.trim()},_selectStyle:function(d){return this._type?"function"==typeof this._type?this._type(d,this._styles):this._styles[d.properties[this._type]]:this._styles[d.geometry.type]},_getStyles:function(d,b,x){var D={"stroke-width":1},z={},H="";if((D="function"==typeof this._styles?this._styles(d,b,x):T({},this._selectStyle(d),d.properties)).stroke||D.weight){if(z.stroke=D.stroke||D.color,z["stroke-opacity"]=D.opacity,z["stroke-width"]=D.weight,z["stroke-linecap"]=D.lineCap||"round",z["stroke-linejoin"]=D.lineJoin||"round",D.dashArray&&(z["stroke-dasharray"]=D.dashArray),D.dashOffset&&(z["stroke-dashoffset"]=D.dashOffset),D.weight&&(Z(x,D.weight),Y(b,x.slice(0,2)),Y(b,x.slice(2,4))),D.direction){var W=this._createArrow(D);z[1===D.direction?"marker-end":"marker-start"]="url(#"+W+")"}}else z.stroke="none";for(var U in D.fill?(z.fill=D.fill||D.fillColor||D.color,z["fill-opacity"]=D.fillOpacity||D.opacity||"",z["fill-rule"]=D.fillRule||("MultiPolygon"===d.geometry.type?"nonzero":"evenodd")):z.fill="none",z)void 0!==z[U]&&(H+=" "+U+'="'+z[U]+'"');return H}}},A2PF:function(d,b,x){var T,D,z;function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}!function(x){if("undefined"!=typeof window){var H=0,W=!1,U=!1,Y="message".length,Z="[iFrameSizer]",J=Z.length,ee=null,te=window.requestAnimationFrame,ne=Object.freeze({max:1,scroll:1,bodyScroll:1,documentElementScroll:1}),ie={}
712,oe=null,se=Object.freeze({autoResize:!0,bodyBackground:null,bodyMargin:null,bodyMarginV1:8,bodyPadding:null,checkOrigin:!0,inPageLinks:!1,enablePublicMethods:!0,heightCalculationMethod:"bodyOffset",id:"iFrameResizer",interval:32,log:!1,maxHeight:1/0,maxWidth:1/0,minHeight:0,minWidth:0,mouseEvents:!0,resizeFrom:"parent",scrolling:!1,sizeHeight:!0,sizeWidth:!1,warningTimeout:5e3,tolerance:0,widthCalculationMethod:"scroll",onClose:function(){return!0},onClosed:function(){},onInit:function(){},onMessage:function(){warn("onMessage function not defined")},onMouseEnter:function(){},onMouseLeave:function(){},onResized:function(){},onScroll:function(){return!0}}),le={};void 0!==window.jQuery&&function(d){d.fn?d.fn.iFrameResize||(d.fn.iFrameResize=function(d){return this.filter("iframe").each((function(b,x){setupIFrame(x,d)})).end()}):info("","Unable to bind to jQuery, it is not fully loaded.")}(window.jQuery),D=[],void 0===(z="function"==typeof(T=factory)?T.apply(b,D):T)||(d.exports=z),window.iFrameResize=window.iFrameResize||factory()}function getMutationObserver(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function addEventListener(d,b,x){d.addEventListener(b,x,!1)}function removeEventListener(d,b,x){d.removeEventListener(b,x,!1)}function formatLogHeader(d){return Z+"["+function(d){var b="Host page: "+d;return window.top!==window.self&&(b=window.parentIFrame&&window.parentIFrame.getId?window.parentIFrame.getId()+": "+d:"Nested host page: "+d),b}(d)+"]"}function isLogEnabled(d){return ie[d]?ie[d].log:W}function log(d,b){output("log",d,b,isLogEnabled(d))}function info(d,b){output("info",d,b,isLogEnabled(d))}function warn(d,b){output("warn",d,b,!0)}function output(d,b,x,T){!0===T&&"object"===_typeof(window.console)&&console[d](formatLogHeader(b),x)}function iFrameListener(d){function resizeIFrame(){ensureInRange("Height"),ensureInRange("Width"),syncResize((function(){setSize(U),setPagePosition(te),on("onResized",U)}),U,"init")}function getPaddingEnds(d){return"border-box"!==d.boxSizing?0:(d.paddingTop?parseInt(d.paddingTop,10):0)+(d.paddingBottom?parseInt(d.paddingBottom,10):0)}function getBorderEnds(d){return"border-box"!==d.boxSizing?0:(d.borderTopWidth?parseInt(d.borderTopWidth,10):0)+(d.borderBottomWidth?parseInt(d.borderBottomWidth,10):0)}function ensureInRange(d){var b=Number(ie[te]["max"+d]),x=Number(ie[te]["min"+d]),T=d.toLowerCase(),D=Number(U[T]);log(te,"Checking "+T+" is in range "+x+"-"+b),D<x&&(D=x,log(te,"Set "+T+" to min value")),D>b&&(D=b,log(te,"Set "+T+" to max value")),U[T]=""+D}function getMsgBody(d){return W.slice(W.indexOf(":")+Y+d)}function sendPageInfoToIframe(d,b){var x,T,D;x=function(){var x,T;trigger("Send Page Info","pageInfo:"+(x=document.body.getBoundingClientRect(),T=U.iframe.getBoundingClientRect(),JSON.stringify({iframeHeight:T.height,iframeWidth:T.width,clientHeight:Math.max(document.documentElement.clientHeight,window.innerHeight||0),clientWidth:Math.max(document.documentElement.clientWidth,window.innerWidth||0),offsetTop:parseInt(T.top-x.top,10),offsetLeft:parseInt(T.left-x.left,10),scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset,documentHeight:document.documentElement.clientHeight,documentWidth:document.documentElement.clientWidth,windowHeight:window.innerHeight,windowWidth:window.innerWidth})),d,b)},T=32,le[D=b]||(le[D]=setTimeout((function(){le[D]=null,x()}),T))}function getElementPosition(d){var b=d.getBoundingClientRect();return getPagePosition(te),{x:Math.floor(Number(b.left)+Number(ee.x)),y:Math.floor(Number(b.top)+Number(ee.y))}}function scrollRequestFromChild(d){var b=d?getElementPosition(U.iframe):{x:0,y:0},x={x:Number(U.width)+b.x,y:Number(U.height)+b.y};log(te,"Reposition requested from iFrame (offset x:"+b.x+" y:"+b.y+")"),window.top===window.self?(ee=x,scrollTo(),log(te,"--")):window.parentIFrame?window.parentIFrame["scrollTo"+(d?"Offset":"")](x.x,x.y):warn(te,"Unable to scroll to requested position, window.parentIFrame not found")}function scrollTo(){!1===on("onScroll",ee)?unsetPagePosition():setPagePosition(te)}function onMouse(d){var b={};if(0===Number(U.width)&&0===Number(U.height)){var x=getMsgBody(9).split(":");b={x:x[1],y:x[0]}}else b={x:U.width,y:U.height};on(d,{iframe:U.iframe,screenX:Number(b.x),screenY:Number(b.y),type:U.type})}function on(d,b){return chkEvent(te,d,b)}var b,x,T,D,z,H,W=d.data,U={},te=null;"[iFrameResizerChild]Ready"===W?function(){for(var d in ie)trigger("iFrame requested init",createOutgoingMsg(d),ie[d].iframe,d)}():Z===(""+W).slice(0,J)&&W.slice(J).split(":")[0]in ie?(T=W.slice(J).split(":"),D=T[1]?parseInt(T[1],10):0,z=ie[T[0]]&&ie[T[0]].iframe,H=getComputedStyle(z),U={iframe:z,id:T[0],height:D+getPaddingEnds(H)+getBorderEnds(H),width:T[2],type:T[3]},te=U.id,ie[te]&&(ie[te].loaded=!0),(x=U.type in{true:1,false:1,undefined:1})&&log(te,"Ignoring init message from meta parent page"),!x&&function(d){var b=!0;return ie[d]||(b=!1,warn(U.type+" No settings for "+d+". Message was: "+W)),b}(te)&&(log(te,"Received: "+W),b=!0,null===U.iframe&&(warn(te,"IFrame ("+U.id+") not found"),b=!1),b&&function(){var b,x=d.origin,T=ie[te]&&ie[te].checkOrigin;if(T&&""+x!="null"&&!(T.constructor===Array?function(){var d=0,b=!1;for(log(te,"Checking connection is from allowed list of origins: "+T);d<T.length;d++)if(T[d]===x){b=!0;break}return b}():(b=ie[te]&&ie[te].remoteHost,log(te,"Checking connection is from: "+b),x===b)))throw new Error("Unexpected message received from: "+x+" for "+U.iframe.id+". Message was: "+d.data+". This error can be disabled by setting the checkOrigin: false option or by providing of array of trusted domains.");return!0}()&&function(){switch(ie[te]&&ie[te].firstRun&&ie[te]&&(ie[te].firstRun=!1),U.type){case"close"
vendor: 4,168 bytes, line 712
712:closeIFrame(U.iframe);break;case"message":d=getMsgBody(6),log(te,"onMessage passed: {iframe: "+U.iframe.id+", message: "+d+"}"),on("onMessage",{iframe:U.iframe,message:JSON.parse(d)}),log(te,"--");break;case"mouseenter":onMouse("onMouseEnter");break;case"mouseleave":onMouse("onMouseLeave");break;case"autoResize":ie[te].autoResize=JSON.parse(getMsgBody(9));break;case"scrollTo":scrollRequestFromChild(!1);break;case"scrollToOffset":scrollRequestFromChild(!0);break;case"pageInfo":sendPageInfoToIframe(ie[te]&&ie[te].iframe,te),function(){function setListener(b,x){function sendPageInfo(){ie[d]?sendPageInfoToIframe(ie[d].iframe,d):stop()}["scroll","resize"].forEach((function(T){log(d,b+T+" listener for sendPageInfo"),x(window,T,sendPageInfo)}))}function stop(){setListener("Remove ",removeEventListener)}var d=te;setListener("Add ",addEventListener),ie[d]&&(ie[d].stopPageInfo=stop)}();break;case"pageInfoStop":ie[te]&&ie[te].stopPageInfo&&(ie[te].stopPageInfo(),delete ie[te].stopPageInfo);break;case"inPageLink":!function(d){var b,x=d.split("#")[1]||"",T=decodeURIComponent(x),D=document.getElementById(T)||document.getElementsByName(T)[0];D?(b=getElementPosition(D),log(te,"Moving to in page link (#"+x+") at x: "+b.x+" y: "+b.y),ee={x:b.x,y:b.y},scrollTo(),log(te,"--")):window.top===window.self?log(te,"In page link #"+x+" not found"):window.parentIFrame?window.parentIFrame.moveToAnchor(x):log(te,"In page link #"+x+" not found and window.parentIFrame not found")}(getMsgBody(9));break;case"reset":resetIFrame(U);break;case"init":resizeIFrame(),on("onInit",U.iframe);break;default:0===Number(U.width)&&0===Number(U.height)?warn("Unsupported message received ("+U.type+"), this is likely due to the iframe containing a later version of iframe-resizer than the parent page"):resizeIFrame()}var d}())):info(te,"Ignored: "+W)}function chkEvent(d,b,x){var T=null,D=null;if(ie[d]){if("function"!=typeof(T=ie[d][b]))throw new TypeError(b+" on iFrame["+d+"] is not a function");D=T(x)}return D}function removeIframeListeners(d){var b=d.id;delete ie[b]}function closeIFrame(d){var b=d.id;if(!1!==chkEvent(b,"onClose",b)){log(b,"Removing iFrame: "+b);try{d.parentNode&&d.parentNode.removeChild(d)}catch(d){warn(d)}chkEvent(b,"onClosed",b),log(b,"--"),removeIframeListeners(d)}else log(b,"Close iframe cancelled by onClose event")}function getPagePosition(d){null===ee&&log(d,"Get page position: "+(ee={x:void 0===window.pageXOffset?document.documentElement.scrollLeft:window.pageXOffset,y:void 0===window.pageYOffset?document.documentElement.scrollTop:window.pageYOffset}).x+","+ee.y)}function setPagePosition(d){null!==ee&&(window.scrollTo(ee.x,ee.y),log(d,"Set page position: "+ee.x+","+ee.y),unsetPagePosition())}function unsetPagePosition(){ee=null}function resetIFrame(d){log(d.id,"Size reset requested by "+("init"===d.type?"host page":"iFrame")),getPagePosition(d.id),syncResize((function(){setSize(d),trigger("reset","reset",d.iframe,d.id)}),d,"reset")}function setSize(d){function chkZero(x){U||"0"!==d[x]||(U=!0,log(b,"Hidden iFrame detected, creating visibility listener"),function(){function checkIFrames(){Object.keys(ie).forEach((function(d){!function(d){function chkDimension(b){return"0px"===(ie[d]&&ie[d].iframe.style[b])}ie[d]&&null!==ie[d].iframe.offsetParent&&(chkDimension("height")||chkDimension("width"))&&trigger("Visibility change","resize",ie[d].iframe,d)}(d)}))}function mutationObserved(d){log("window","Mutation observed: "+d[0].target+" "+d[0].type),debouce(checkIFrames,16)}var d=getMutationObserver();d&&(b=document.querySelector("body"),new d(mutationObserved).observe(b,{attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0}));var b}())}function processDimension(x){!function(x){d.id?(d.iframe.style[x]=d[x]+"px",log(d.id,"IFrame ("+b+") "+x+" set to "+d[x]+"px")):log("undefined","messageData id not set")}(x),chkZero(x)}var b=d.iframe.id;ie[b]&&(ie[b].sizeHeight&&processDimension("height"),ie[b].sizeWidth&&processDimension("width"))}function syncResize(d,b,x){x!==b.type&&te&&!window.jasmine?(log(b.id,"Requesting animation frame"),te(d)):d()}function trigger(d,b,x,T,D){var z,H=!1;
vendor: 4,090 bytes, line 712
712T=T||x.id,ie[T]&&(x&&"contentWindow"in x&&null!==x.contentWindow?(z=ie[T]&&ie[T].targetOrigin,log(T,"["+d+"] Sending msg to iframe["+T+"] ("+b+") targetOrigin: "+z),x.contentWindow.postMessage(Z+b,z)):warn(T,"["+d+"] IFrame("+T+") not found"),D&&ie[T]&&ie[T].warningTimeout&&(ie[T].msgTimeout=setTimeout((function(){!ie[T]||ie[T].loaded||H||(H=!0,warn(T,"IFrame has not responded within "+ie[T].warningTimeout/1e3+" seconds. Check iFrameResizer.contentWindow.js has been loaded in iFrame. This message can be ignored if everything is working, or you can set the warningTimeout option to a higher value or zero to suppress this warning."))}),ie[T].warningTimeout)))}function createOutgoingMsg(d){return d+":"+ie[d].bodyMarginV1+":"+ie[d].sizeWidth+":"+ie[d].log+":"+ie[d].interval+":"+ie[d].enablePublicMethods+":"+ie[d].autoResize+":"+ie[d].bodyMargin+":"+ie[d].heightCalculationMethod+":"+ie[d].bodyBackground+":"+ie[d].bodyPadding+":"+ie[d].tolerance+":"+ie[d].inPageLinks+":"+ie[d].resizeFrom+":"+ie[d].widthCalculationMethod+":"+ie[d].mouseEvents}function setupIFrame(d,b){function depricate(d){var b=d.split("Callback");if(2===b.length){var T="on"+b[0].charAt(0).toUpperCase()+b[0].slice(1);this[T]=this[d],delete this[d],warn(x,"Deprecated: '"+d+"' has been renamed '"+T+"'. The old method will be removed in the next major version.")}}var x=function(x){if("string"!=typeof x)throw new TypeError("Invaild id for iFrame. Expected String");var T;return""===x&&(d.id=(T=b&&b.id||se.id+H++,null!==document.getElementById(T)&&(T+=H++),x=T),W=(b||{}).log,log(x,"Added missing iframe ID: "+x+" ("+d.src+")")),x}(d.id);x in ie&&"iFrameResizer"in d?warn(x,"Ignored iFrame, already setup."):(!function(b){var T;b=b||{},ie[x]=Object.create(null),ie[x].iframe=d,ie[x].firstRun=!0,ie[x].remoteHost=d.src&&d.src.split("/").slice(0,3).join("/"),function(d){if("object"!==_typeof(d))throw new TypeError("Options is not an object")}(b),Object.keys(b).forEach(depricate,b),function(d){for(var b in se)Object.prototype.hasOwnProperty.call(se,b)&&(ie[x][b]=Object.prototype.hasOwnProperty.call(d,b)?d[b]:se[b])}(b),ie[x]&&(ie[x].targetOrigin=!0===ie[x].checkOrigin?""===(T=ie[x].remoteHost)||null!==T.match(/^(about:blank|javascript:|file:\/\/)/)?"*":T:"*")}(b),function(){switch(log(x,"IFrame scrolling "+(ie[x]&&ie[x].scrolling?"enabled":"disabled")+" for "+x),d.style.overflow=!1===(ie[x]&&ie[x].scrolling)?"hidden":"auto",ie[x]&&ie[x].scrolling){case"omit":break;case!0:d.scrolling="yes";break;case!1:d.scrolling="no";break;default:d.scrolling=ie[x]?ie[x].scrolling:"no"}}(),function(){function addStyle(b){var T=ie[x][b];1/0!==T&&0!==T&&(d.style[b]="number"==typeof T?T+"px":T,log(x,"Set "+b+" = "+d.style[b]))}function chkMinMax(d){if(ie[x]["min"+d]>ie[x]["max"+d])throw new Error("Value for min"+d+" can not be greater than max"+d)}chkMinMax("Height"),chkMinMax("Width"),addStyle("maxHeight"),addStyle("minHeight"),addStyle("maxWidth"),addStyle("minWidth")}(),"number"!=typeof(ie[x]&&ie[x].bodyMargin)&&"0"!==(ie[x]&&ie[x].bodyMargin)||(ie[x].bodyMarginV1=ie[x].bodyMargin,ie[x].bodyMargin=ie[x].bodyMargin+"px"),function(b){var T=getMutationObserver();T&&function(b){d.parentNode&&new b((function(b){b.forEach((function(b){Array.prototype.slice.call(b.removedNodes).forEach((function(b){b===d&&closeIFrame(d)}))}))})).observe(d.parentNode,{childList:!0})}(T),addEventListener(d,"load",(function(){var T,D;trigger("iFrame.onload",b,d,void 0,!0),T=ie[x]&&ie[x].firstRun,D=ie[x]&&ie[x].heightCalculationMethod in ne,!T&&D&&resetIFrame({iframe:d,height:0,width:0,type:"init"})})),trigger("init",b,d,void 0,!0)}(createOutgoingMsg(x)),ie[x]&&(ie[x].iframe.iFrameResizer={close:closeIFrame.bind(null,ie[x].iframe),removeListeners:removeIframeListeners.bind(null,ie[x].iframe),resize:trigger.bind(null,"Window resize","resize",ie[x].iframe),moveToAnchor:function(d){trigger("Move to anchor","moveToAnchor:"+d,ie[x].iframe,x)},sendMessage:function(d){trigger("Send Message","message:"+(d=JSON.stringify(d)),ie[x].iframe,x)}}))}function debouce(d,b){null===oe&&(oe=setTimeout((function(){oe=null,d()}),b))}
712function tabVisible(){"hidden"!==document.visibilityState&&(log("document","Trigger event: Visibility change"),debouce((function(){sendTriggerMsg("Tab Visible","resize")}),16))}function sendTriggerMsg(d,b){Object.keys(ie).forEach((function(x){(function(d){return ie[d]&&"parent"===ie[d].resizeFrom&&ie[d].autoResize&&!ie[d].firstRun})(x)&&trigger(d,b,ie[x].iframe,x)}))}function setupEventListeners(){addEventListener(window,"message",iFrameListener),addEventListener(window,"resize",(function(){var d;log("window","Trigger event: "+(d="resize")),debouce((function(){sendTriggerMsg("Window "+d,"resize")}),16)})),addEventListener(document,"visibilitychange",tabVisible),addEventListener(document,"-webkit-visibilitychange",tabVisible)}function factory(){function init(b,x){x&&(!function(){if(!x.tagName)throw new TypeError("Object is not a valid DOM element");if("IFRAME"!==x.tagName.toUpperCase())throw new TypeError("Expected <IFRAME> tag, found <"+x.tagName+">")}(),setupIFrame(x,b),d.push(x))}var d;return function(){var d,b=["moz","webkit","o","ms"];for(d=0;d<b.length&&!te;d+=1)te=window[b[d]+"RequestAnimationFrame"];te?te=te.bind(window):log("setup","RequestAnimationFrame not supported")}(),setupEventListeners(),function(b,x){switch(d=[],function(d){d&&d.enablePublicMethods&&warn("enablePublicMethods option has been removed, public methods are now always available in the iFrame")}(b),_typeof(x)){case"undefined":case"string":Array.prototype.forEach.call(document.querySelectorAll(x||"iframe"),init.bind(void 0,b));break;case"object":init(b,x);break;default:throw new TypeError("Unexpected data type ("+_typeof(x)+")")}return d}}}()},AM7I:function(d,b,x){"use strict";function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}var T=x("pkW7"),D=x("QX98"),z=x("3JnH"),H=x("FAml"),W=x("Z+6F"),U=x("DSU0"),Y=x("Z9lY"),Z=Function,getEvalledConstructor=function(d){try{return Z('"use strict"; return ('+d+").constructor;")()}catch(d){}},J=Object.getOwnPropertyDescriptor;if(J)try{J({},"")}catch(d){J=null}var throwTypeError=function(){throw new U},ee=J?function(){try{return throwTypeError}catch(d){try{return J(arguments,"callee").get}catch(d){return throwTypeError}}}():throwTypeError,te=x("H6wF")(),ne=x("CjYj")(),ie=Object.getPrototypeOf||(ne?function(d){return d.__proto__}:null),oe={},se="undefined"!=typeof Uint8Array&&ie?ie(Uint8Array):void 0,le={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":te&&ie?ie([][Symbol.iterator]()):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":oe,"%AsyncGenerator%":oe,"%AsyncGeneratorFunction%":oe,"%AsyncIteratorPrototype%":oe,"%Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"%BigInt%":"undefined"==typeof BigInt?void 0:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?void 0:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?void 0:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":T,"%eval%":eval,"%EvalError%":D,"%Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?void 0:FinalizationRegistry,"%Function%":Z,"%GeneratorFunction%":oe,"%Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%
712IteratorPrototype%":te&&ie?ie(ie([][Symbol.iterator]())):void 0,"%JSON%":"object"===("undefined"==typeof JSON?"undefined":_typeof(JSON))?JSON:void 0,"%Map%":"undefined"==typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&te&&ie?ie((new Map)[Symbol.iterator]()):void 0,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?void 0:Promise,"%Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"%RangeError%":z,"%ReferenceError%":H,"%Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&te&&ie?ie((new Set)[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":te&&ie?ie(""[Symbol.iterator]()):void 0,"%Symbol%":te?Symbol:void 0,"%SyntaxError%":W,"%ThrowTypeError%":ee,"%TypedArray%":se,"%TypeError%":U,"%Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"%URIError%":Y,"%WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?void 0:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet};if(ie)try{null.error}catch(d){var ce=ie(ie(d));le["%Error.prototype%"]=ce}var de={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},he=x("I78/"),pe=x("lnE3"),fe=he.call(Function.call,Array.prototype.concat),ge=he.call(Function.apply,Array.prototype.splice),me=he.call(Function.call,String.prototype.replace),ye=he.call(Function.call,String.prototype.slice),ve=he.call(Function.call,RegExp.prototype.exec),xe=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,_e=/\\(\\)?/g,stringToPath=function(d){var b=ye(d,0,1),x=ye(d,-1);if("%"===b&&"%"!==x)throw new W("invalid intrinsic syntax, expected closing `%`");if("%"===x&&"%"!==b)throw new W("invalid intrinsic syntax, expected opening `%`");var T=[];return me(d,xe,(function(d,b,x,D){T[T.length]=x?me(D,_e,"$1"):b||d})),T},getBaseIntrinsic=function(d,b){var x,T=d;if(pe(de,T)&&(T="%"+(x=de[T])[0]+"%"),pe(le,T)){var D=le[T];if(D===oe&&(D=function doEval(d){var b;if("%AsyncFunction%"===d)b=getEvalledConstructor("async function () {}");else if("%GeneratorFunction%"===d)b=getEvalledConstructor("function* () {}");else if("%AsyncGeneratorFunction%"===d)b=getEvalledConstructor("async function* () {}");else if("%AsyncGenerator%"===d){var x=doEval("%AsyncGeneratorFunction%");x&&(b=x.prototype)}else if("%AsyncIteratorPrototype%"===d){var T=doEval("%AsyncGenerator%");T&&ie&&(b=ie(T.prototype))}return le[d]=b,b}(T)),void 0===D&&!b)throw new U("intrinsic "+d+" exists, but is not available. Please file an issue!");return{alias:x,name:T,value:D}}throw new W("intrinsic "+d+" does not exist!")};d.exports=function(d,b){if("string"!=typeof d||0===d.length)throw new U("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof b)throw new U('"allowMissing" argument must be a boolean');if(null===ve(/^%?[^%]*%?$/,d))throw new W("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var x=stringToPath(d),T=x.length>0?x[0]:"",D=getBaseIntrinsic("%"+T+"%",b),z=D.name,H=D.value,Y=!1,Z=D.alias;Z&&(T=Z[0],ge(x,fe([0,1],Z)));for(var ee=1,te=!0;ee<x.length;ee+=1){var ne=x[ee],ie=ye(ne,0,1),oe=ye(ne,-1);if(('"'===ie||"'"===ie||"`"===ie||'"'===oe||"'"===oe||"`"===oe)&&ie!==oe)throw new W("property names with quotes must have matching quotes");if("constructor"!==ne&&te||(Y=!0),pe(le,z="%"+(T+="."+ne)+"%"))H=le[z];
712else if(null!=H){if(!(ne in H)){if(!b)throw new U("base intrinsic for "+d+" exists, but the property is not available.");return}if(J&&ee+1>=x.length){var se=J(H,ne);H=(te=!!se)&&"get"in se&&!("originalValue"in se.get)?se.get:H[ne]}else te=pe(H,ne),H=H[ne];te&&!Y&&(le[z]=H)}}return H}},"B/eG":function(d,b,x){"use strict";(function(d){var T=x("/pFH");function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}var D=setTimeout;function isArray(d){return Boolean(d&&void 0!==d.length)}function noop(){}function Promise(d){if(!(this instanceof Promise))throw new TypeError("Promises must be constructed via new");if("function"!=typeof d)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],doResolve(d,this)}function handle(d,b){for(;3===d._state;)d=d._value;0!==d._state?(d._handled=!0,Promise._immediateFn((function(){var x=1===d._state?b.onFulfilled:b.onRejected;if(null!==x){var T;try{T=x(d._value)}catch(d){return void reject(b.promise,d)}resolve(b.promise,T)}else(1===d._state?resolve:reject)(b.promise,d._value)}))):d._deferreds.push(b)}function resolve(d,b){try{if(b===d)throw new TypeError("A promise cannot be resolved with itself.");if(b&&("object"===_typeof(b)||"function"==typeof b)){var x=b.then;if(b instanceof Promise)return d._state=3,d._value=b,void finale(d);if("function"==typeof x)return void doResolve((T=x,D=b,function(){T.apply(D,arguments)}),d)}d._state=1,d._value=b,finale(d)}catch(b){reject(d,b)}var T,D}function reject(d,b){d._state=2,d._value=b,finale(d)}function finale(d){2===d._state&&0===d._deferreds.length&&Promise._immediateFn((function(){d._handled||Promise._unhandledRejectionFn(d._value)}));for(var b=0,x=d._deferreds.length;b<x;b++)handle(d,d._deferreds[b]);d._deferreds=null}function Handler(d,b,x){this.onFulfilled="function"==typeof d?d:null,this.onRejected="function"==typeof b?b:null,this.promise=x}function doResolve(d,b){var x=!1;try{d((function(d){x||(x=!0,resolve(b,d))}),(function(d){x||(x=!0,reject(b,d))}))}catch(d){if(x)return;x=!0,reject(b,d)}}Promise.prototype.catch=function(d){return this.then(null,d)},Promise.prototype.then=function(d,b){var x=new this.constructor(noop);return handle(this,new Handler(d,b,x)),x},Promise.prototype.finally=T.a,Promise.all=function(d){return new Promise((function(b,x){if(!isArray(d))return x(new TypeError("Promise.all accepts an array"));var T=Array.prototype.slice.call(d);if(0===T.length)return b([]);var D=T.length;function res(d,z){try{if(z&&("object"===_typeof(z)||"function"==typeof z)){var H=z.then;if("function"==typeof H)return void H.call(z,(function(b){res(d,b)}),x)}T[d]=z,0==--D&&b(T)}catch(d){x(d)}}for(var z=0;z<T.length;z++)res(z,T[z])}))},Promise.resolve=function(d){return d&&"object"===_typeof(d)&&d.constructor===Promise?d:new Promise((function(b){b(d)}))},Promise.reject=function(d){return new Promise((function(b,x){x(d)}))},Promise.race=function(d){return new Promise((function(b,x){if(!isArray(d))return x(new TypeError("Promise.race accepts an array"));for(var T=0,D=d.length;T<D;T++)Promise.resolve(d[T]).then(b,x)}))},Promise._immediateFn="function"==typeof d&&function(b){d(b)}||function(d){D(d,0)},Promise._unhandledRejectionFn=function(d){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",d)},b.a=Promise}).call(this,x("URgk").setImmediate)},"B6Q+":function(d,b,x){"use strict";var T=x("qGip");d.exports=function(){return T()&&!!Symbol.toStringTag}},BDTm:function(d,b,x){"use strict";var T=function(){function Darksite(d){this.$element=d,this.initModule()}return Darksite.prototype.initModule=function(){var d=this;"true"===window.sessionStorage.getItem("darksiteHidden")?(this.$element.find("body").removeClass("darksite darksite--active"),this.$element.find('[data-role="darksite-content"]').remove()):this.$element.find("body").addClass("darksite--active"),this.$element.find("a, .button").on("click",(function(b){d.$element.find("body").hasClass("darksite")&&(d.$element.find("body").removeClass("darksite"),d.$element.find('[data-role="darksite-content"]').remove(),window.sessionStorage.setItem("darksiteHidden","true"))}))},Darksite}();b.a=T},Bcbz:function(d,b){var x,T,D,z,H;window.App=window.App||{},App.EmbeddedVideo=(x=function(d){var b=d.match(/https?\:\/\/([^\/]+)/)[1];return-1!==b.indexOf("youtube.com")||-1!==b.indexOf("youtu.be")?"youtube":-1!==b.indexOf("whatchado.com")?"whatchado":void 0},T=function(d){return null!==d.match(/youtube\.com/)?d.split("?").slice(-1)[0].split("&").find((function(d){return null!==d.match(/^v=/)})).match(/^v=(.+)$/)[1]:null!==d.match(/youtu\.be/)?d.split("/").slice(-1)[0]:void 0},D=function(d){return"https://img.youtube.com/vi/{VIDEO_ID}/maxresdefault.jpg".replace("{VIDEO_ID}",T(d))},H=function(d,b){if("youtube"===x(b)){var T=d.parent().find('[data-role="video-poster-background"]'),z=d.parent().find('[data-role="video-poster-container"]');0!==z.length&&0===z.find("img").length&&z.prepend('<img src="'+D(b)+'" alt="" />'),0!==T.length&&0===T.find("img").length&&T.css({backgroundImage:"url("+D(b)+")"})}},{init:function(d){var b=d?d.find('[data-module~="embedded-video-poster"]'):$('[data-module~="embedded-video-poster"]'),x=d?d.find('[data-module~="embedded-video"]'):$('[data-module~="embedded-video"]');b.each((function(){var d=$(this);H(d,d.attr("href"))})),x.each((function(){var d=$(this),b=$('[data-module~="video-modal"]'),x=b.find('[data-role="video-container"]'),T=d.attr("href");H(d,T),d.on("click",(function(d){$(this).is('[data-module~="embedded-video"]')&&(d.preventDefault(),function(d,b,x){var T=z(b,x);d.removeClass("video-container--image"),d.append(T)}(x,T,!0),App.Modal.open(b),b.on("closed.modal",(function onModalClosed(){b.off("closed.modal",onModalClosed),function(d){d.empty()}(x)})))}))}))},buildVideoFrame:z=function(d,b){var D,z;switch(x(d)){case"youtube":D="//www.youtube.com/embed/"+T(d),z=["autoplay="
712+(b?1:0),"autohide=1","modestbranding=1","rel=0","showinfo=0","enablejsapi=1"];break;case"whatchado":D="https://www.whatchado.com/de/embeds/videos/"+function(d){var b=d.split("?")[0].split("/").filter((function(d){return 0!==d.trim().length}));return b[b.length-1]}(d),z=["autoplay="+(b?"true":"false")]}return D?'<iframe src="'+D+"?"+z.join("&")+'" scrolling="no" allowfullscreen></iframe>':"<div>Video platform is not supported. Please check URL.</div>"}})},BhDw:function(d,b){var x,T;window.App=window.App||{},App.Collapsible={init:function(d){(d=d||$('[data-module~="collapsible"]')).each((function(d){var b="collapsible-"+d,x=$(this).find('> [data-action="toggle-collapsible"]'),D=$(this).find('> [data-role="collapsible-content"]');x.attr("aria-controls",b),D.attr("id",b),$(this).is(".collapsed")&&(x.attr("aria-expanded",!1),T($(this),0))})),d.off("click.collapsible",'> [data-action="toggle-collapsible"]'),d.on("click.collapsible",'> [data-action="toggle-collapsible"]',(function(d){var b=$(this).closest('[data-module~="collapsible"]');if(!App.matchesScreenDimensions(b.attr("data-media"),App.breakpoints))return!0;d.preventDefault(),b.is(".collapsed")?($(this).attr("aria-expanded",!0),x(b)):($(this).attr("aria-expanded",!1),T(b))}))},expand:x=function(d,b){var x=d.find('> [data-role="collapsible-content"]'),D=d.is("[data-scoped]")?d.closest('[data-role="collapsible-scope"]'):null;x.slideDown(b||180),d.removeClass("collapsed"),D&&0!==D.length&&D.find('[data-module~="collapsible"][data-scoped]').not(d).each((function(){T($(this))}))},collapse:T=function(d,b){var x=d.find('> [data-role="collapsible-content"]');d.is("[data-scoped]")&&d.closest('[data-role="collapsible-scope"]'),x.slideUp(b||180),d.addClass("collapsed")}}},CZo5:function(d,b,x){"use strict";function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}var T=Number.prototype.toString,D=Object.prototype.toString,z=x("B6Q+")();d.exports=function(d){return"number"==typeof d||"object"===_typeof(d)&&(z?function(d){try{return T.call(d),!0}catch(d){return!1}}(d):"[object Number]"===D.call(d))}},CjYj:function(d,b,x){"use strict";var T={__proto__:null,foo:{}},D=Object;d.exports=function(){return{__proto__:T}.foo===T.foo&&!(T instanceof D)}},DBXz:function(d,b,x){"use strict";function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}var T=Date.prototype.getDay,D=Object.prototype.toString,z=x("B6Q+")();d.exports=function(d){return"object"===_typeof(d)&&null!==d&&(z?function(d){try{return T.call(d),!0}catch(d){return!1}}(d):"[object Date]"===D.call(d))}},DRYN:function(d,b,x){"use strict";function _typeof2(d){return(_typeof2="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"===_typeof2(Symbol.iterator)?function(d){return _typeof2(d)}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":_typeof2(d)})(d)}function _classCallCheck(d,b){if(!(d instanceof b))throw new TypeError("Cannot call a class as a function")}function _defineProperties(d,b){for(var x=0;x<b.length;x++){var T=b[x];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(d,T.key,T)}}function _createClass(d,b,x){return b&&_defineProperties(d.prototype,b),x&&_defineProperties(d,x),d}function _inherits(d,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(b&&b.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),b&&_setPrototypeOf(d,b)}function _getPrototypeOf(d){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(d){return d.__proto__||Object.getPrototypeOf(d)})(d)}function _setPrototypeOf(d,b){return(_setPrototypeOf=Object.setPrototypeOf||function(d,b){return d.__proto__=b,d})(d,b)}function _objectWithoutProperties(d,b){if(null==d)return{};var x,T,D=function(d,b){if(null==d)return{};var x,T,D={},z=Object.keys(d);for(T=0;T<z.length;T++)x=z[T],b.indexOf(x)>=0||(D[x]=d[x]);return D}(d,b);if(Object.getOwnPropertySymbols){var z=Object.getOwnPropertySymbols(d);for(T=0;T<z.length;T++)x=z[T],b.indexOf(x)>=0||Object.prototype.propertyIsEnumerable.call(d,x)&&(D[x]=d[x])}return D}function _possibleConstructorReturn(d,b){return!b||"object"!==_typeof2(b)&&"function"!=typeof b?function(d){if(void 0===d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d}(d):b}function _superPropBase(d,b){for(;!Object.prototype.hasOwnProperty.call(d,b)&&null!==(d=_getPrototypeOf(d)););return d}function _get(d,b,x){return(_get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(d,b,x){var T=_superPropBase(d,b);if(T){var D=Object.getOwnPropertyDescriptor(T,b);return D.get?D.get.call(x):D.value}})(d,b,x||d)}function _rollupPluginBabelHelpers_3c58f0e3_set(d,b,x,T){return(_rollupPluginBabelHelpers_3c58f0e3_set="undefined"!=typeof Reflect&&Reflect.set?Reflect.set:function(d,b,x,T){var D,z=_superPropBase(d,b);if(z){if((D=Object.getOwnPropertyDescriptor(z,b)).set)return D.set.call(T,x),!0;if(!D.writable)return!1}if(D=Object.getOwnPropertyDescriptor(T,b)){if(!D.writable)return!1;D.value=x,Object.defineProperty(T,b,D)}else!function(d,b,x){b in d?Object.defineProperty(d,b,{value:x,enumerable:!0,configurable:!0,writable:!0}):d[b]=x}(T,b,x);return!0})(d,b,x,T)}function _set(d,b,x,T,D){if(!_rollupPluginBabelHelpers_3c58f0e3_set(d,b,x,T||d)&&D)throw new Error("failed to set property");return x}function _slicedToArray(d,b){return function(d){if(Array.isArray(d))return d}(d)||function(d,b){if(!(Symbol.iterator in Object(d))&&"[object Arguments]"!==Object.prototype.toString.call(d))return;var x=[],T=!0,D=!1,z=void 0;try{for(var H,W=d[Symbol.iterator]();!(T=(H=W.next()).done)&&(x.push(H.value),!b||x.length!==b);T=!0);}catch(d){D=!0,z=d}finally{try{T||null==W.return||W.return()}finally{if(D)throw z}}return x}
vendor: 6,568 bytes, line 712
712(d,b)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function isString(d){return"string"==typeof d||d instanceof String}var T="NONE",D="LEFT",z="FORCE_LEFT",H="RIGHT",W="FORCE_RIGHT";function forceDirection(d){switch(d){case D:return z;case H:return W;default:return d}}function escapeRegExp(d){return d.replace(/([.*+?^=!:${}()|[\]/\\])/g,"\\$1")}var U=function(){function ActionDetails(d,b,x,T){for(_classCallCheck(this,ActionDetails),this.value=d,this.cursorPos=b,this.oldValue=x,this.oldSelection=T;this.value.slice(0,this.startChangePos)!==this.oldValue.slice(0,this.startChangePos);)--this.oldSelection.start}return _createClass(ActionDetails,[{key:"startChangePos",get:function(){return Math.min(this.cursorPos,this.oldSelection.start)}},{key:"insertedCount",get:function(){return this.cursorPos-this.startChangePos}},{key:"inserted",get:function(){return this.value.substr(this.startChangePos,this.insertedCount)}},{key:"removedCount",get:function(){return Math.max(this.oldSelection.end-this.startChangePos||this.oldValue.length-this.value.length,0)}},{key:"removed",get:function(){return this.oldValue.substr(this.startChangePos,this.removedCount)}},{key:"head",get:function(){return this.value.substring(0,this.startChangePos)}},{key:"tail",get:function(){return this.value.substring(this.startChangePos+this.insertedCount)}},{key:"removeDirection",get:function(){return!this.removedCount||this.insertedCount?T:this.oldSelection.end===this.cursorPos||this.oldSelection.start===this.cursorPos?H:D}}]),ActionDetails}(),Y=function(){function ChangeDetails(d){_classCallCheck(this,ChangeDetails),Object.assign(this,{inserted:"",rawInserted:"",skip:!1,tailShift:0},d)}return _createClass(ChangeDetails,[{key:"aggregate",value:function(d){return this.rawInserted+=d.rawInserted,this.skip=this.skip||d.skip,this.inserted+=d.inserted,this.tailShift+=d.tailShift,this}},{key:"offset",get:function(){return this.tailShift+this.inserted.length}}]),ChangeDetails}(),Z=function(){function ContinuousTailDetails(){var d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,x=arguments.length>2?arguments[2]:void 0;_classCallCheck(this,ContinuousTailDetails),this.value=d,this.from=b,this.stop=x}return _createClass(ContinuousTailDetails,[{key:"toString",value:function(){return this.value}},{key:"extend",value:function(d){this.value+=String(d)}},{key:"appendTo",value:function(d){return d.append(this.toString(),{tail:!0}).aggregate(d._appendPlaceholder())}},{key:"shiftBefore",value:function(d){if(this.from>=d||!this.value.length)return"";var b=this.value[0];return this.value=this.value.slice(1),b}},{key:"state",get:function(){return{value:this.value,from:this.from,stop:this.stop}},set:function(d){Object.assign(this,d)}}]),ContinuousTailDetails}();var J=function IMask(d){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new IMask.InputMask(d,b)},ee=function(){function Masked(d){_classCallCheck(this,Masked),this._value="",this._update(Object.assign({},Masked.DEFAULTS,{},d)),this.isInitialized=!0}return _createClass(Masked,[{key:"updateOptions",value:function(d){Object.keys(d).length&&this.withValueRefresh(this._update.bind(this,d))}},{key:"_update",value:function(d){Object.assign(this,d)}},{key:"reset",value:function(){this._value=""}},{key:"resolve",value:function(d){return this.reset(),this.append(d,{input:!0},""),this.doCommit(),this.value}},{key:"nearestInputPos",value:function(d,b){return d}},{key:"extractInput",value:function(){var d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length;return this.value.slice(d,b)}},{key:"extractTail",value:function(){var d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length;return new Z(this.extractInput(d,b),d)}},{key:"appendTail",value:function(d){return isString(d)&&(d=new Z(String(d))),d.appendTo(this)}},{key:"_appendCharRaw",value:function(d){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(d=this.doPrepare(d,b))?(this._value+=d,new Y({inserted:d,rawInserted:d})):new Y}},{key:"_appendChar",value:function(d){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},x=arguments.length>2?arguments[2]:void 0,T=this.state,D=this._appendCharRaw(d,b);if(D.inserted){var z,H=!1!==this.doValidate(b);if(H&&null!=x){var W=this.state;this.overwrite&&(z=x.state,x.shiftBefore(this.value.length));var U=this.appendTail(x);(H=U.rawInserted===x.toString())&&U.inserted&&(this.state=W)}H||(D=new Y,this.state=T,x&&z&&(x.state=z))}return D}},{key:"_appendPlaceholder",value:function(){return new Y}},{key:"append",value:function(d,b,x){if(!isString(d))throw new Error("value should be string");var T=new Y,D=isString(x)?new Z(String(x)):x;b.tail&&(b._beforeTailState=this.state);for(var z=0;z<d.length;++z)T.aggregate(this._appendChar(d[z],b,D));return null!=D&&(T.tailShift+=this.appendTail(D).tailShift),T}},{key:"remove",value:function(){var d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length;return this._value=this.value.slice(0,d)+this.value.slice(b),new Y}},{key:"withValueRefresh",value:function(d){if(this._refreshing||!this.isInitialized)return d();this._refreshing=!0;var b=this.rawInputValue,x=this.value,T=d();return this.rawInputValue=b,this.value!==x&&0===x.indexOf(this.value)&&this.append(x.slice(this.value.length),{},""),delete this._refreshing,T}},{key:"runIsolated",value:function(d){if(this._isolated||!this.isInitialized)return d(this);this._isolated=!0;var b=this.state,x=d(this);return this.state=b,delete this._isolated,x}},{key:"doPrepare",value:function(d){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.prepare?this.prepare(d,this,b):d}},{key:"doValidate",value:function(d){return(!this.validate||this.validate(this.value,this,d))&&(!this.parent||this.parent.doValidate(d))}},{key:"doCommit",value:function(){this.commit&&this.commit(this.value,this)}},{key:"doFormat",value:function(d){return this.format?this.format(d,this):d}},{key:"doParse",value:function(d){return this.parse?this.parse(d,this):d}},{key:"splice",value:function(d,b,x,T){var D=d+b,z=this.extractTail(D),H=this.nearestInputPos(d,T);return new Y({tailShift:H-d}).aggregate(this.remove(H)).aggregate(this.append(x,{input:!0},z))}},{key:"state",get:function(){return{_value:this.value}}
vendor: 5,575 bytes, line 712
712,set:function(d){this._value=d._value}},{key:"value",get:function(){return this._value},set:function(d){this.resolve(d)}},{key:"unmaskedValue",get:function(){return this.value},set:function(d){this.reset(),this.append(d,{},""),this.doCommit()}},{key:"typedValue",get:function(){return this.doParse(this.value)},set:function(d){this.value=this.doFormat(d)}},{key:"rawInputValue",get:function(){return this.extractInput(0,this.value.length,{raw:!0})},set:function(d){this.reset(),this.append(d,{raw:!0},""),this.doCommit()}},{key:"isComplete",get:function(){return!0}}]),Masked}();ee.DEFAULTS={format:function(d){return d},parse:function(d){return d}},J.Masked=ee;var te=ee;function maskedClass(d){if(null==d)throw new Error("mask property should be defined");return d instanceof RegExp?J.MaskedRegExp:isString(d)?J.MaskedPattern:d instanceof Date||d===Date?J.MaskedDate:d instanceof Number||"number"==typeof d||d===Number?J.MaskedNumber:Array.isArray(d)||d===Array?J.MaskedDynamic:J.Masked&&d.prototype instanceof J.Masked?d:d instanceof Function?J.MaskedFunction:d instanceof J.Masked?d.constructor:(console.warn("Mask not found for mask",d),J.Masked)}function createMask(d){if(J.Masked&&d instanceof J.Masked)return d;var b=(d=Object.assign({},d)).mask;if(J.Masked&&b instanceof J.Masked)return b;var x=maskedClass(b);if(!x)throw new Error("Masked class is not found for provided mask, appropriate module needs to be import manually before creating mask.");return new x(d)}J.createMask=createMask;var ne=createMask,ie={0:/\d/,a:/[\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFB
vendor: 41,358 bytes, line 712
712D3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,"*":/./},oe=function(){function PatternInputDefinition(d){_classCallCheck(this,PatternInputDefinition);var b=d.mask,x=_objectWithoutProperties(d,["mask"]);this.masked=ne({mask:b}),Object.assign(this,x)}return _createClass(PatternInputDefinition,[{key:"reset",value:function(){this._isFilled=!1,this.masked.reset()}},{key:"remove",value:function(){var d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length;return 0===d&&b>=1?(this._isFilled=!1,this.masked.remove(d,b)):new Y}},{key:"_appendChar",value:function(d){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._isFilled)return new Y;var x=this.masked.state,T=this.masked._appendChar(d,b);return T.inserted&&!1===this.doValidate(b)&&(T.inserted=T.rawInserted="",this.masked.state=x),T.inserted||this.isOptional||this.lazy||b.input||(T.inserted=this.placeholderChar),T.skip=!T.inserted&&!this.isOptional,this._isFilled=Boolean(T.inserted),T}},{key:"append",value:function(){var d;return(d=this.masked).append.apply(d,arguments)}},{key:"_appendPlaceholder",value:function(){var d=new Y;return this._isFilled||this.isOptional||(this._isFilled=!0,d.inserted=this.placeholderChar),d}},{key:"extractTail",value:function(){var d;return(d=this.masked).extractTail.apply(d,arguments)}},{key:"appendTail",value:function(){var d;return(d=this.masked).appendTail.apply(d,arguments)}},{key:"extractInput",value:function(){var d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length,x=arguments.length>2?arguments[2]:void 0;return this.masked.extractInput(d,b,x)}},{key:"nearestInputPos",value:function(d){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:T,x=0,U=this.value.length,Y=Math.min(Math.max(d,x),U);switch(b){case D:case z:return this.isComplete?Y:x;case H:case W:return this.isComplete?Y:U;case T:default:return Y}}},{key:"doValidate",value:function(){var d,b;return(d=this.masked).doValidate.apply(d,arguments)&&(!this.parent||(b=this.parent).doValidate.apply(b,arguments))}},{key:"doCommit",value:function(){this.masked.doCommit()}},{key:"value",get:function(){return this.masked.value||(this._isFilled&&!this.isOptional?this.placeholderChar:"")}},{key:"unmaskedValue",get:function(){return this.masked.unmaskedValue}},{key:"isComplete",get:function(){return Boolean(this.masked.value)||this.isOptional}},{key:"state",get:function(){return{masked:this.masked.state,_isFilled:this._isFilled}},set:function(d){this.masked.state=d.masked,this._isFilled=d._isFilled}}]),PatternInputDefinition}(),se=function(){function PatternFixedDefinition(d){_classCallCheck(this,PatternFixedDefinition),Object.assign(this,d),this._value=""}return _createClass(PatternFixedDefinition,[{key:"reset",value:function(){this._isRawInput=!1,this._value=""}},{key:"remove",value:function(){var d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._value.length;return this._value=this._value.slice(0,d)+this._value.slice(b),this._value||(this._isRawInput=!1),new Y}},{key:"nearestInputPos",value:function(d){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:T,x=0,U=this._value.length;switch(b){case D:case z:return x;case T:case H:case W:default:return U}}},{key:"extractInput",value:function(){var d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._value.length,x=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return x.raw&&this._isRawInput&&this._value.slice(d,b)||""}},{key:"_appendChar",value:function(d){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},x=new Y;if(this._value)return x;var T=this.char===d[0],D=T&&(this.isUnmasking||b.input||b.raw)&&!b.tail;return D&&(x.rawInserted=this.char),this._value=x.inserted=this.char,this._isRawInput=D&&(b.raw||b.input),x}},{key:"_appendPlaceholder",value:function(){var d=new Y;return this._value||(this._value=d.inserted=this.char),d}},{key:"extractTail",value:function(){arguments.length>1&&void 0!==arguments[1]||this.value.length;return new Z("")}},{key:"appendTail",value:function(d){return isString(d)&&(d=new Z(String(d))),d.appendTo(this)}},{key:"append",value:function(d,b,x){var T=this._appendChar(d,b);return null!=x&&(T.tailShift+=this.appendTail(x).tailShift),T}},{key:"doCommit",value:function(){}},{key:"value",get:function(){return this._value}},{key:"unmaskedValue",get:function(){return this.isUnmasking?this.value:""}},{key:"isComplete",get:function(){return!0}},{key:"state",get:function(){return{_value:this._value,_isRawInput:this._isRawInput}},set:function(d){Object.assign(this,d)}}]),PatternFixedDefinition}(),le=function(){function ChunksTailDetails(){var d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;_classCallCheck(this,ChunksTailDetails),this.chunks=d,this.from=b}return _createClass(ChunksTailDetails,[{key:"toString",value:function(){return this.chunks.map(String).join("")}},{key:"extend",value:function(d){if(String(d)){isString(d)&&(d=new Z(String(d)));var b=this.chunks[this.chunks.length-1],x=b&&(b.stop===d.stop||null==d.stop)&&d.from===b.from+b.toString().length;if(d instanceof Z)x?b.extend(d.toString()):this.chunks.push(d);else if(d instanceof ChunksTailDetails){if(null==d.stop)for(var T;d.chunks.length&&null==d.chunks[0].stop;)(T=d.chunks.shift()).from+=d.from,this.extend(T);d.toString()&&(d.stop=d.blockIndex,this.chunks.push(d))}}}},{key:"appendTo",value:function(d){if(!(d instanceof J.MaskedPattern))return new Z(this.toString()).appendTo(d);for(var b=new Y,x=0;x<this.chunks.length&&!b.skip;++x){var T=this.chunks[x],D=d._mapPosToBlock(d.value.length),z=T.stop,H=void 0;if(null!=z&&(!D||D.index<=z)&&((T instanceof ChunksTailDetails||d._stops.indexOf(z)>=0)&&b.aggregate(d._appendPlaceholder(z)),H=T instanceof ChunksTailDetails&&d._blocks[z]),H){var W=H.appendTail(T);W.skip=!1,b.aggregate(W),d._value+=W.inserted;var U=T.toString().slice(W.rawInserted.length);U&&b.aggregate(d.append(U,{tail:!0}))}else b.aggregate(d.append(T.toString(),{tail:!0}))}return b}},{key:"shiftBefore",value:function(d){if(this.from>=d||!this.chunks.length)return"";for(var b=d-this.from,x=0;x<this.chunks.length;){var T=this.chunks[x],D=T.shiftBefore(b);if(T.toString()){if(!D)break;++x}else this.chunks.splice(x,1);if(D)return D}return""}},{key:"state",get:function(){return{chunks:this.chunks.map((function(d){return d.state})),from:this.from,stop:this.stop,blockIndex:this.blockIndex}},set:function(d){var b=d.chunks,x=_objectWithoutProperties(d,["chunks"]);Object.assign(this,x),this.chunks=b.map((function(d){var b="chunks"in d?new ChunksTailDetails:new Z;return b.state=d,b}))}}]),ChunksTailDetails}(),ce=function(d){function MaskedRegExp(){return _classCallCheck(this,MaskedRegExp),_possibleConstructorReturn(this,_getPrototypeOf(MaskedRegExp).apply(this,arguments))}return _inherits(MaskedRegExp,d),_createClass(MaskedRegExp,[{key:"_update",value:function(d){d.mask&&(d.validate=function(b){return b.search(d.mask)>=0}),_get(_getPrototypeOf(MaskedRegExp.prototype),"_update",this).call(this,d)}}]),MaskedRegExp}(te);J.MaskedRegExp=ce;var de=function(d){function MaskedPattern(){var d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _classCallCheck(this,MaskedPattern),d.definitions=Object.assign({},ie,d.definitions),_possibleConstructorReturn(this,_getPrototypeOf(MaskedPattern).call(this,Object.assign({},MaskedPattern.DEFAULTS,{},d)))}return _inherits(MaskedPattern,d),_createClass(MaskedPattern,[{key:"_update",value:function(){var d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};d.definitions=Object.assign({},this.definitions,d.definitions),_get(_getPrototypeOf(MaskedPattern.prototype),"_update",this).call(this,d),this._rebuildMask()}},{key:"_rebuildMask",value:function(){var d=this,b=this.definitions;this._blocks=[],this._stops=[],this._maskedBlocks={};var x=this.mask;if(x&&b)for(var T=!1,D=!1,z=0;z<x.length;++z){if(this.blocks)if("continue"===function(){var b=x.slice(z),T=Object.keys(d.blocks).filter((function(d){return 0===b.indexOf(d)}));T.sort((function(d,b){return b.length-d.length}));var D=T[0];if(D){var H=ne(Object.assign({parent:d,lazy:d.lazy,placeholderChar:d.placeholderChar,overwrite:d.overwrite},d.blocks[D]));return H&&(d._blocks.push(H),d._maskedBlocks[D]||(d._maskedBlocks[D]=[]),d._maskedBlocks[D].push(d._blocks.length-1)),z+=D.length-1,"continue"}}())continue;var H=x[z],W=H in b;if(H!==MaskedPattern.STOP_CHAR)if("{"!==H&&"}"!==H)if("["!==H&&"]"!==H){if(H===MaskedPattern.ESCAPE_CHAR){if(++z,!(H=x[z]))break;W=!1}var U=W?new oe({parent:this,lazy:this.lazy,placeholderChar:this.placeholderChar,mask:b[H],isOptional:D}):new se({char:H,isUnmasking:T});this._blocks.push(U)}else D=!D;else T=!T;else this._stops.push(this._blocks.length)}}},{key:"reset",value:function(){_get(_getPrototypeOf(MaskedPattern.prototype),"reset",this).call(this),this._blocks.forEach((function(d){return d.reset()}))}},{key:"doCommit",value:function(){this._blocks.forEach((function(d){return d.doCommit()})),_get(_getPrototypeOf(MaskedPattern.prototype),"doCommit",this).call(this)}},{key:"appendTail",value:function(d){return _get(_getPrototypeOf(MaskedPattern.prototype),"appendTail",this).call(this,d).aggregate(this._appendPlaceholder())}},{key:"_appendCharRaw",value:function(d){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};d=this.doPrepare(d,b);var x=this._mapPosToBlock(this.value.length),T=new Y;if(!x)return T;for(var D=x.index;;++D){var z=this._blocks[D];if(!z)break;var H=z._appendChar(d,b),W=H.skip;if(T.aggregate(H),W||H.rawInserted)break}return T}},{key:"extractTail",value:function(){var d=this,b=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,x=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length,T=new le;return b===x||this._forEachBlocksInRange(b,x,(function(b,x,D,z){var H=b.extractTail(D,z);H.stop=d._findStopBefore(x),H.from=d._blockStartPos(x),H instanceof le&&(H.blockIndex=x),T.extend(H)})),T}},{key:"extractInput",value:function(){var d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length,x=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(d===b)return"";var T="";return this._forEachBlocksInRange(d,b,(function(d,b,D,z){T+=d.extractInput(D,z,x)})),T}},{key:"_findStopBefore",value:function(d){for(var b,x=0;x<this._stops.length;++x){var T=this._stops[x];if(!(T<=d))break;b=T}return b}},{key:"_appendPlaceholder",value:function(d){var b=this,x=new Y;if(this.lazy&&null==d)return x;var T=this._mapPosToBlock(this.value.length);if(!T)return x;var D=T.index,z=null!=d?d:this._blocks.length;return this._blocks.slice(D,z).forEach((function(T){if(!T.lazy||null!=d){var D=null!=T._blocks?[T._blocks.length]:[],z=T._appendPlaceholder.apply(T,D);b._value+=z.inserted,x.aggregate(z)}})),x}},{key:"_mapPosToBlock",value:function(d){for(var b="",x=0;x<this._blocks.length;++x){var T=this._blocks[x],D=b.length;if(d<=(b+=T.value).length)return{index:x,offset:d-D}}}},{key:"_blockStartPos",value:function(d){return this._blocks.slice(0,d).reduce((function(d,b){return d+b.value.length}),0)}},{key:"_forEachBlocksInRange",value:function(d){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length,x=arguments.length>2?arguments[2]:void 0,T=this._mapPosToBlock(d);if(T){var D=this._mapPosToBlock(b),z=D&&T.index===D.index,H=T.offset,W=D&&z?D.offset:this._blocks[T.index].value.length;if(x(this._blocks[T.index],T.index,H,W),D&&!z){for(var U=T.index+1;U<D.index;++U)x(this._blocks[U],U,0,this._blocks[U].value.length);x(this._blocks[D.index],D.index,0,D.offset)}}}},{key:"remove",value:function(){var d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length,x=_get(_getPrototypeOf(MaskedPattern.prototype),"remove",this).call(this,d,b);return this._forEachBlocksInRange(d,b,(function(d,b,T,D){x.aggregate(d.remove(T,D))})),x}},{key:"nearestInputPos",value:function(d){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:T,x=this._mapPosToBlock(d)||{index:0,offset:0},U=x.offset,Y=x.index,Z=this._blocks[Y];if(!Z)return d;var J=U;0!==J&&J<Z.value.length&&(J=Z.nearestInputPos(U,forceDirection(b)));var ee=J===Z.value.length,te=0===J;if(!te&&!ee)return this._blockStartPos(Y)+J;var ne=ee?Y+1:Y;if(b===T){if(ne>0){var ie=ne-1,oe=this._blocks[ie],se=oe.nearestInputPos(0,T);if(!oe.value.length||se!==oe.value.length)return this._blockStartPos(ne)}for(var le=ne,ce=le;ce<this._blocks.length;++ce){var de=this._blocks[ce],he=de.nearestInputPos(0,T);if(!de.value.length||he!==de.value.length)return this._blockStartPos(ce)+he}for(var pe=ne-1;pe>=0;--pe){var fe=this._blocks[pe],ge=fe.nearestInputPos(0,T);if(!fe.value.length||ge!==fe.value.length)return this._blockStartPos(pe)+fe.value.length}return d}if(b===D||b===z){for(var me,ye=ne;ye<this._blocks.length;++ye)if(this._blocks[ye].value){me=ye;break}if(null!=me){var ve=this._blocks[me],xe=ve.nearestInputPos(0,H);if(0===xe&&ve.unmaskedValue.length)return this._blockStartPos(me)+xe}for(var _e,we=-1,Se=ne-1;Se>=0;--Se){var Me=this._blocks[Se],Te=Me.nearestInputPos(Me.value.length,z);if(Me.value&&0===Te||(_e=Se),0!==Te){if(Te!==Me.value.length)return this._blockStartPos(Se)+Te;we=Se;break}}if(b===D)for(var ke=we+1;ke<=Math.min(ne,this._blocks.length-1);++ke){var Pe=this._blocks[ke],Ee=Pe.nearestInputPos(0,T),Le=this._blockStartPos(ke)+Ee;if(Le>d)break;if(Ee!==Pe.value.length)return Le}if(we>=0)return this._blockStartPos(we)+this._blocks[we].value.length;if(b===z||this.lazy&&!this.extractInput()&&!isInput(this._blocks[ne]))return 0;if(null!=_e)return this._blockStartPos(_e);for(var Ne=ne;Ne<this._blocks.length;++Ne){var Ve=this._blocks[Ne],Fe=Ve.nearestInputPos(0,T);if(!Ve.value.length||Fe!==Ve.value.length)return this._blockStartPos(Ne)+Fe}return 0}if(b===H||b===W){for(var Ge,Ye,Xe=ne;Xe<this._blocks.length;++Xe){var Ke=this._blocks[Xe],Qe=Ke.nearestInputPos(0,T);if(Qe!==Ke.value.length){Ye=this._blockStartPos(Xe)+Qe,Ge=Xe;break}}if(null!=Ge&&null!=Ye){for(var et=Ge;et<this._blocks.length;++et){var tt=this._blocks[et],nt=tt.nearestInputPos(0,W);if(nt!==tt.value.length)return this._blockStartPos(et)+nt}return b===W?this.value.length:Ye}for(var ot=Math.min(ne,this._blocks.length-1);ot>=0;--ot){var lt=this._blocks[ot],ut=lt.nearestInputPos(lt.value.length,D);if(0!==ut){var ht=this._blockStartPos(ot)+ut;if(ht>=d)return ht;break}}}return d}},{key:"maskedBlock",value:function(d){return this.maskedBlocks(d)[0]}},{key:"maskedBlocks",value:function(d){var b=this,x=this._maskedBlocks[d];return x?x.map((function(d){return b._blocks[d]})):[]}},{key:"state",get:function(){return Object.assign({},_get(_getPrototypeOf(MaskedPattern.prototype),"state",this),{_blocks:this._blocks.map((function(d){return d.state}))})},set:function(d){var b=d._blocks,x=_objectWithoutProperties(d,["_blocks"]);this._blocks.forEach((function(d,x){return d.state=b[x]})),_set(_getPrototypeOf(MaskedPattern.prototype),"state",x,this,!0)}},{key:"isComplete",get:function(){return this._blocks.every((function(d){return d.isComplete}))}},{key:"unmaskedValue",get:function(){return this._blocks.reduce((function(d,b){return d+b.unmaskedValue}),"")},set:function(d){_set(_getPrototypeOf(MaskedPattern.prototype),"unmaskedValue",d,this,!0)}},{key:"value",get:function(){return this._blocks.reduce((function(d,b){return d+b.value}),"")},set:function(d){_set(_getPrototypeOf(MaskedPattern.prototype),"value",d,this,!0)}}]),MaskedPattern}(te);function isInput(d){if(!d)return!1;var b=d.value;return!b||d.nearestInputPos(0,T)!==b.length}de.DEFAULTS={lazy:!0,placeholderChar:"_"},de.STOP_CHAR="`",de.ESCAPE_CHAR="\\",de.InputDefinition=oe,de.FixedDefinition=se,J.MaskedPattern=de;var he=de,pe=function(d){function MaskedRange(){return _classCallCheck(this,MaskedRange),_possibleConstructorReturn(this,_getPrototypeOf(MaskedRange).apply(this,arguments))}return _inherits(MaskedRange,d),_createClass(MaskedRange,[{key:"_update",value:function(d){d=Object.assign({to:this.to||0,from:this.from||0},d);var b=String(d.to).length;null!=d.maxLength&&(b=Math.max(b,d.maxLength)),d.maxLength=b;for(var x=String(d.from).padStart(b,"0"),T=String(d.to).padStart(b,"0"),D=0;D<T.length&&T[D]===x[D];)++D;d.mask=T.slice(0,D).replace(/0/g,"\\0")+"0".repeat(b-D),_get(_getPrototypeOf(MaskedRange.prototype),"_update",this).call(this,d)}},{key:"boundaries",value:function(d){var b="",x="",T=_slicedToArray(d.match(/^(\D*)(\d*)(\D*)/)||[],3),D=T[1],z=T[2];return z&&(b="0".repeat(D.length)+z,x="9".repeat(D.length)+z),[b=b.padEnd(this.maxLength,"0"),x=x.padEnd(this.maxLength,"9")]}},{key:"doPrepare",value:function(d){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(d=_get(_getPrototypeOf(MaskedRange.prototype),"doPrepare",this).call(this,d,b).replace(/\D/g,""),!this.autofix)return d;for(var x=String(this.from).padStart(this.maxLength,"0"),T=String(this.to).padStart(this.maxLength,"0"),D=this.value,z="",H=0;H<d.length;++H){var W=D+z+d[H],U=this.boundaries(W),Y=_slicedToArray(U,2),Z=Y[0],J=Y[1];Number(J)<this.from?z+=x[W.length-1]:Number(Z)>this.to?z+=T[W.length-1]:z+=d[H]}return z}},{key:"doValidate",value:function(){var d,b=this.value,x=b.search(/[^0]/);if(-1===x&&b.length<=this._matchFrom)return!0;for(var T=this.boundaries(b),D=_slicedToArray(T,2),z=D[0],H=D[1],W=arguments.length,U=new Array(W),Y=0;Y<W;Y++)U[Y]=arguments[Y];return this.from<=Number(H)&&Number(z)<=this.to&&(d=_get(_getPrototypeOf(MaskedRange.prototype),"doValidate",this)).call.apply(d,[this].concat(U))}},{key:"_matchFrom",get:function(){return this.maxLength-String(this.from).length}},{key:"isComplete",get:function(){return _get(_getPrototypeOf(MaskedRange.prototype),"isComplete",this)&&Boolean(this.value)}}]),MaskedRange}(he);J.MaskedRange=pe;var fe=pe,ge=function(d){function MaskedDate(d){return _classCallCheck(this,MaskedDate),_possibleConstructorReturn(this,_getPrototypeOf(MaskedDate).call(this,Object.assign({},MaskedDate.DEFAULTS,{},d)))}return _inherits(MaskedDate,d),_createClass(MaskedDate,[{key:"_update",value:function(d){d.mask===Date&&delete d.mask,d.pattern&&(d.mask=d.pattern);var b=d.blocks;d.blocks=Object.assign({},MaskedDate.GET_DEFAULT_BLOCKS()),d.min&&(d.blocks.Y.from=d.min.getFullYear()),d.max&&(d.blocks.Y.to=d.max.getFullYear()),d.min&&d.max&&d.blocks.Y.from===d.blocks.Y.to&&(d.blocks.m.from=d.min.getMonth()+1,d.blocks.m.to=d.max.getMonth()+1,d.blocks.m.from===d.blocks.m.to&&(d.blocks.d.from=d.min.getDate(),d.blocks.d.to=d.max.getDate())),Object.assign(d.blocks,b),Object.keys(d.blocks).forEach((function(b){var x=d.blocks[b];"autofix"in x||(x.autofix=d.autofix)})),_get(_getPrototypeOf(MaskedDate.prototype),"_update",this).call(this,d)}},{key:"doValidate",value:function(){for(var d,b=this.date,x=arguments.length,T=new Array(x),D=0;D<x;D++)T[D]=arguments[D];return(d=_get(_getPrototypeOf(MaskedDate.prototype),"doValidate",this)).call.apply(d,[this].concat(T))&&(!this.isComplete||this.isDateExist(this.value)&&null!=b&&(null==this.min||this.min<=b)&&(null==this.max||b<=this.max))}},{key:"isDateExist",value:function(d){return this.format(this.parse(d,this),this).indexOf(d)>=0}},{key:"date",get:function(){return this.typedValue},set:function(d){this.typedValue=d}},{key:"typedValue",get:function(){return this.isComplete?_get(_getPrototypeOf(MaskedDate.prototype),"typedValue",this):null},set:function(d){_set(_getPrototypeOf(MaskedDate.prototype),"typedValue",d,this,!0)}}]),MaskedDate}(he);ge.DEFAULTS={pattern:"d{.}`m{.}`Y",format:function(d){return[String(d.getDate()).padStart(2,"0"),String(d.getMonth()+1).padStart(2,"0"),d.getFullYear()].join(".")},parse:function(d){var b=_slicedToArray(d.split("."),3),x=b[0],T=b[1],D=b[2];return new Date(D,T-1,x)}},ge.GET_DEFAULT_BLOCKS=function(){return{d:{mask:fe,from:1,to:31,maxLength:2},m:{mask:fe,from:1,to:12,maxLength:2},Y:{mask:fe,from:1900,to:9999}}},J.MaskedDate=ge;var me=ge,ye=function(){function MaskElement(){_classCallCheck(this,MaskElement)}return _createClass(MaskElement,[{key:"select",value:function(d,b){if(null!=d&&null!=b&&(d!==this.selectionStart||b!==this.selectionEnd))try{this._unsafeSelect(d,b)}catch(d){}}},{key:"_unsafeSelect",value:function(d,b){}},{key:"bindEvents",value:function(d){}},{key:"unbindEvents",value:function(){}},{key:"selectionStart",get:function(){var d;try{d=this._unsafeSelectionStart}catch(d){}return null!=d?d:this.value.length}},{key:"selectionEnd",get:function(){var d;try{d=this._unsafeSelectionEnd}catch(d){}return null!=d?d:this.value.length}},{key:"isActive",get:function(){return!1}}]),MaskElement}();J.MaskElement=ye;var ve=ye,xe=function(d){function HTMLMaskElement(d){var b;return _classCallCheck(this,HTMLMaskElement),(b=_possibleConstructorReturn(this,_getPrototypeOf(HTMLMaskElement).call(this))).input=d,b._handlers={},b}return _inherits(HTMLMaskElement,d),_createClass(HTMLMaskElement,[{key:"_unsafeSelect",value:function(d,b){this.input.setSelectionRange(d,b)}},{key:"bindEvents",value:function(d){var b=this;Object.keys(d).forEach((function(x){return b._toggleEventHandler(HTMLMaskElement.EVENTS_MAP[x],d[x])}))}},{key:"unbindEvents",value:function(){var d=this;Object.keys(this._handlers).forEach((function(b){return d._toggleEventHandler(b)}))}},{key:"_toggleEventHandler",value:function(d,b){this._handlers[d]&&(this.input.removeEventListener(d,this._handlers[d]),delete this._handlers[d]),b&&(this.input.addEventListener(d,b),this._handlers[d]=b)}},{key:"rootElement",get:function(){return this.input.getRootNode?this.input.getRootNode():document}},{key:"isActive",get:function(){return this.input===this.rootElement.activeElement}},{key:"_unsafeSelectionStart",get:function(){return this.input.selectionStart}},{key:"_unsafeSelectionEnd",get:function(){return this.input.selectionEnd}},{key:"value",get:function(){return this.input.value},set:function(d){this.input.value=d}}]),HTMLMaskElement}(ve);xe.EVENTS_MAP={selectionChange:"keydown",input:"input",drop:"drop",click:"click",focus:"focus",commit:"blur"},J.HTMLMaskElement=xe;var _e=xe,we=function(d){function HTMLContenteditableMaskElement(){return _classCallCheck(this,HTMLContenteditableMaskElement),_possibleConstructorReturn(this,_getPrototypeOf(HTMLContenteditableMaskElement).apply(this,arguments))}return _inherits(HTMLContenteditableMaskElement,d),_createClass(HTMLContenteditableMaskElement,[{key:"_unsafeSelect",value:function(d,b){if(this.rootElement.createRange){var x=this.rootElement.createRange();x.setStart(this.input.firstChild||this.input,d),x.setEnd(this.input.lastChild||this.input,b);var T=this.rootElement,D=T.getSelection&&T.getSelection();D&&(D.removeAllRanges(),D.addRange(x))}}},{key:"_unsafeSelectionStart",get:function(){var d=this.rootElement,b=d.getSelection&&d.getSelection();return b&&b.anchorOffset}},{key:"_unsafeSelectionEnd",get:function(){var d=this.rootElement,b=d.getSelection&&d.getSelection();return b&&this._unsafeSelectionStart+String(b).length}},{key:"value",get:function(){return this.input.textContent},set:function(d){this.input.textContent=d}}]),HTMLContenteditableMaskElement}(_e);J.HTMLContenteditableMaskElement=we;var Se=we,Me=function(){function InputMask(d,b){_classCallCheck(this,InputMask),this.el=d instanceof ve?d:d.isContentEditable&&"INPUT"!==d.tagName&&"TEXTAREA"!==d.tagName?new Se(d):new _e(d),this.masked=ne(b),this._listeners={},this._value="",this._unmaskedValue="",this._saveSelection=this._saveSelection.bind(this),this._onInput=this._onInput.bind(this),this._onChange=this._onChange.bind(this),this._onDrop=this._onDrop.bind(this),this._onFocus=this._onFocus.bind(this),this._onClick=this._onClick.bind(this),this.alignCursor=this.alignCursor.bind(this),this.alignCursorFriendly=this.alignCursorFriendly.bind(this),this._bindEvents(),this.updateValue(),this._onChange()}return _createClass(InputMask,[{key:"maskEquals",value:function(d){return null==d||d===this.masked.mask||d===Date&&this.masked instanceof me}},{key:"_bindEvents",value:function(){this.el.bindEvents({selectionChange:this._saveSelection,input:this._onInput,drop:this._onDrop,click:this._onClick,focus:this._onFocus,commit:this._onChange})}},{key:"_unbindEvents",value:function(){this.el&&this.el.unbindEvents()}},{key:"_fireEvent",value:function(d){for(var b=arguments.length,x=new Array(b>1?b-1:0),T=1;T<b;T++)x[T-1]=arguments[T];var D=this._listeners[d];D&&D.forEach((function(d){return d.apply(void 0,x)}))}},{key:"_saveSelection",value:function(){this.value!==this.el.value&&console.warn("Element value was changed outside of mask. Syncronize mask using `mask.updateValue()` to work properly."),this._selection={start:this.selectionStart,end:this.cursorPos}}},{key:"updateValue",value:function(){this.masked.value=this.el.value,this._value=this.masked.value}},{key:"updateControl",value:function(){var d=this.masked.unmaskedValue,b=this.masked.value,x=this.unmaskedValue!==d||this.value!==b;this._unmaskedValue=d,this._value=b,this.el.value!==b&&(this.el.value=b),x&&this._fireChangeEvents()}},{key:"updateOptions",value:function(d){var b=d.mask,x=_objectWithoutProperties(d,["mask"]),T=!this.maskEquals(b),D=!function objectIncludes(d,b){if(b===d)return!0;var x,T=Array.isArray(b),D=Array.isArray(d);if(T&&D){if(b.length!=d.length)return!1;for(x=0;x<b.length;x++)if(!objectIncludes(b[x],d[x]))return!1;return!0}if(T!=D)return!1;if(b&&d&&"object"===_typeof(b)&&"object"===_typeof(d)){var z=b instanceof Date,H=d instanceof Date;if(z&&H)return b.getTime()==d.getTime();if(z!=H)return!1;var W=b instanceof RegExp,U=d instanceof RegExp;if(W&&U)return b.toString()==d.toString();if(W!=U)return!1;var Y=Object.keys(b);for(x=0;x<Y.length;x++)if(!Object.prototype.hasOwnProperty.call(d,Y[x]))return!1;for(x=0;x<Y.length;x++)if(!objectIncludes(d[Y[x]],b[Y[x]]))return!1;return!0}return!(!b||!d||"function"!=typeof b||"function"!=typeof d)&&b.toString()===d.toString()}(this.masked,x);T&&(this.mask=b),D&&this.masked.updateOptions(x),(T||D)&&this.updateControl()}},{key:"updateCursor",value:function(d){null!=d&&(this.cursorPos=d,this._delayUpdateCursor(d))}},{key:"_delayUpdateCursor",value:function(d){var b=this;this._abortUpdateCursor(),this._changingCursorPos=d,this._cursorChanging=setTimeout((function(){b.el&&(b.cursorPos=b._changingCursorPos,b._abortUpdateCursor())}),10)}},{key:"_fireChangeEvents",value:function(){this._fireEvent("accept",this._inputEvent),this.masked.isComplete&&this._fireEvent("complete",this._inputEvent)}},{key:"_abortUpdateCursor",value:function(){this._cursorChanging&&(clearTimeout(this._cursorChanging),delete this._cursorChanging)}},{key:"alignCursor",value:function(){this.cursorPos=this.masked.nearestInputPos(this.cursorPos,D)}},{key:"alignCursorFriendly",value:function(){this.selectionStart===this.cursorPos&&this.alignCursor()}},{key:"on",value:function(d,b){return this._listeners[d]||(this._listeners[d]=[]),this._listeners[d].push(b),this}},{key:"off",value:function(d,b){if(!this._listeners[d])return this;if(!b)return delete this._listeners[d],this;var x=this._listeners[d].indexOf(b);return x>=0&&this._listeners[d].splice(x,1),this}},{key:"_onInput",value:function(d){if(this._inputEvent=d,this._abortUpdateCursor(),!this._selection)return this.updateValue();var b=new U(this.el.value,this.cursorPos,this.value,this._selection),x=this.masked.rawInputValue,D=this.masked.splice(b.startChangePos,b.removed.length,b.inserted,b.removeDirection).offset,z=x===this.masked.rawInputValue?b.removeDirection:T,H=this.masked.nearestInputPos(b.startChangePos+D,z);this.updateControl(),this.updateCursor(H),delete this._inputEvent}},{key:"_onChange",value:function(){this.value!==this.el.value&&this.updateValue(),this.masked.doCommit(),this.updateControl(),this._saveSelection()}},{key:"_onDrop",value:function(d){d.preventDefault(),d.stopPropagation()}},{key:"_onFocus",value:function(d){this.alignCursorFriendly()}},{key:"_onClick",value:function(d){this.alignCursorFriendly()}},{key:"destroy",value:function(){this._unbindEvents(),this._listeners.length=0,delete this.el}},{key:"mask",get:function(){return this.masked.mask},set:function(d){if(!this.maskEquals(d))if(d instanceof J.Masked||this.masked.constructor!==maskedClass(d)){var b=ne({mask:d});b.unmaskedValue=this.masked.unmaskedValue,this.masked=b}else this.masked.updateOptions({mask:d})}},{key:"value",get:function(){return this._value},set:function(d){this.masked.value=d,this.updateControl(),this.alignCursor()}},{key:"unmaskedValue",get:function(){return this._unmaskedValue},set:function(d){this.masked.unmaskedValue=d,this.updateControl(),this.alignCursor()}},{key:"typedValue",get:function(){return this.masked.typedValue},set:function(d){this.masked.typedValue=d,this.updateControl(),this.alignCursor()}},{key:"selectionStart",get:function(){return this._cursorChanging?this._changingCursorPos:this.el.selectionStart}},{key:"cursorPos",get:function(){return this._cursorChanging?this._changingCursorPos:this.el.selectionEnd},set:function(d){this.el&&this.el.isActive&&(this.el.select(d,d),this._saveSelection())}}]),InputMask}();J.InputMask=Me;var Te=J,ke=function(d){function MaskedEnum(){return _classCallCheck(this,MaskedEnum),_possibleConstructorReturn(this,_getPrototypeOf(MaskedEnum).apply(this,arguments))}return _inherits(MaskedEnum,d),_createClass(MaskedEnum,[{key:"_update",value:function(d){d.enum&&(d.mask="*".repeat(d.enum[0].length)),_get(_getPrototypeOf(MaskedEnum.prototype),"_update",this).call(this,d)}},{key:"doValidate",value:function(){for(var d,b=this,x=arguments.length,T=new Array(x),D=0;D<x;D++)T[D]=arguments[D];return this.enum.some((function(d){return d.indexOf(b.unmaskedValue)>=0}))&&(d=_get(_getPrototypeOf(MaskedEnum.prototype),"doValidate",this)).call.apply(d,[this].concat(T))}}]),MaskedEnum}(he);J.MaskedEnum=ke;var Pe=function(d){function MaskedNumber(d){return _classCallCheck(this,MaskedNumber),_possibleConstructorReturn(this,_getPrototypeOf(MaskedNumber).call(this,Object.assign({},MaskedNumber.DEFAULTS,{},d)))}return _inherits(MaskedNumber,d),_createClass(MaskedNumber,[{key:"_update",value:function(d){_get(_getPrototypeOf(MaskedNumber.prototype),"_update",this).call(this,d),this._updateRegExps()}},{key:"_updateRegExps",value:function(){var d="^"+(this.allowNegative?"[+|\\-]?":""),b=(this.scale?"("+escapeRegExp(this.radix)+"\\d{0,"+this.scale+"})?":"")+"$";this._numberRegExpInput=new RegExp(d+"(0|([1-9]+\\d*))?"+b),this._numberRegExp=new RegExp(d+"\\d*"+b),this._mapToRadixRegExp=new RegExp("["+this.mapToRadix.map(escapeRegExp).join("")+"]","g"),this._thousandsSeparatorRegExp=new RegExp(escapeRegExp(this.thousandsSeparator),"g")}},{key:"_removeThousandsSeparators",value:function(d){return d.replace(this._thousandsSeparatorRegExp,"")}},{key:"_insertThousandsSeparators",value:function(d){var b=d.split(this.radix);return b[0]=b[0].replace(/\B(?=(\d{3})+(?!\d))/g,this.thousandsSeparator),b.join(this.radix)}},{key:"doPrepare",value:function(d){for(var b,x=arguments.length,T=new Array(x>1?x-1:0),D=1;D<x;D++)T[D-1]=arguments[D];return(b=_get(_getPrototypeOf(MaskedNumber.prototype),"doPrepare",this)).call.apply(b,[this,this._removeThousandsSeparators(d.replace(this._mapToRadixRegExp,this.radix))].concat(T))}},{key:"_separatorsCount",value:function(d){for(var b=arguments.length>1&&void 0!==arguments[1]&&arguments[1],x=0,T=0;T<d;++T)this._value.indexOf(this.thousandsSeparator,T)===T&&(++x,b&&(d+=this.thousandsSeparator.length));return x}},{key:"_separatorsCountFromSlice",value:function(){var d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._value;return this._separatorsCount(this._removeThousandsSeparators(d).length,!0)}},{key:"extractInput",value:function(){var d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length,x=arguments.length>2?arguments[2]:void 0,T=this._adjustRangeWithSeparators(d,b),D=_slicedToArray(T,2);return d=D[0],b=D[1],this._removeThousandsSeparators(_get(_getPrototypeOf(MaskedNumber.prototype),"extractInput",this).call(this,d,b,x))}},{key:"_appendCharRaw",value:function(d){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.thousandsSeparator)return _get(_getPrototypeOf(MaskedNumber.prototype),"_appendCharRaw",this).call(this,d,b);var x=b.tail&&b._beforeTailState?b._beforeTailState._value:this._value,T=this._separatorsCountFromSlice(x);this._value=this._removeThousandsSeparators(this.value);var D=_get(_getPrototypeOf(MaskedNumber.prototype),"_appendCharRaw",this).call(this,d,b);this._value=this._insertThousandsSeparators(this._value);var z=b.tail&&b._beforeTailState?b._beforeTailState._value:this._value,H=this._separatorsCountFromSlice(z);return D.tailShift+=(H-T)*this.thousandsSeparator.length,D.skip=!D.rawInserted&&d===this.thousandsSeparator,D}},{key:"_findSeparatorAround",value:function(d){if(this.thousandsSeparator){var b=d-this.thousandsSeparator.length+1,x=this.value.indexOf(this.thousandsSeparator,b);if(x<=d)return x}return-1}},{key:"_adjustRangeWithSeparators",value:function(d,b){var x=this._findSeparatorAround(d);x>=0&&(d=x);var T=this._findSeparatorAround(b);return T>=0&&(b=T+this.thousandsSeparator.length),[d,b]}},{key:"remove",value:function(){var d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.value.length,x=this._adjustRangeWithSeparators(d,b),T=_slicedToArray(x,2);d=T[0],b=T[1];var D=this.value.slice(0,d),z=this.value.slice(b),H=this._separatorsCount(D.length);this._value=this._insertThousandsSeparators(this._removeThousandsSeparators(D+z));var W=this._separatorsCountFromSlice(D);return new Y({tailShift:(W-H)*this.thousandsSeparator.length})}},{key:"nearestInputPos",value:function(d,b){if(!this.thousandsSeparator)return d;switch(b){case T:case D:case z:var x=this._findSeparatorAround(d-1);if(x>=0){var U=x+this.thousandsSeparator.length;if(d<U||this.value.length<=U||b===z)return x}break;case H:case W:var Y=this._findSeparatorAround(d);if(Y>=0)return Y+this.thousandsSeparator.length}return d}},{key:"doValidate",value:function(d){var b=(d.input?this._numberRegExpInput:this._numberRegExp).test(this._removeThousandsSeparators(this.value));if(b){var x=this.number;b=b&&!isNaN(x)&&(null==this.min||this.min>=0||this.min<=this.number)&&(null==this.max||this.max<=0||this.number<=this.max)}return b&&_get(_getPrototypeOf(MaskedNumber.prototype),"doValidate",this).call(this,d)}},{key:"doCommit",value:function(){if(this.value){var d=this.number,b=d;null!=this.min&&(b=Math.max(b,this.min)),null!=this.max&&(b=Math.min(b,this.max)),b!==d&&(this.unmaskedValue=String(b));var x=this.value;this.normalizeZeros&&(x=this._normalizeZeros(x)),this.padFractionalZeros&&(x=this._padFractionalZeros(x)),this._value=x}_get(_getPrototypeOf(MaskedNumber.prototype),"doCommit",this).call(this)}},{key:"_normalizeZeros",value:function(d){var b=this._removeThousandsSeparators(d).split(this.radix);return b[0]=b[0].replace(/^(\D*)(0*)(\d*)/,(function(d,b,x,T){return b+T})),d.length&&!/\d$/.test(b[0])&&(b[0]=b[0]+"0"),b.length>1&&(b[1]=b[1].replace(/0*$/,""),b[1].length||(b.length=1)),this._insertThousandsSeparators(b.join(this.radix))}},{key:"_padFractionalZeros",value:function(d){if(!d)return d;var b=d.split(this.radix);return b.length<2&&b.push(""),b[1]=b[1].padEnd(this.scale,"0"),b.join(this.radix)}},{key:"unmaskedValue",get:function(){return this._removeThousandsSeparators(this._normalizeZeros(this.value)).replace(this.radix,".")},set:function(d){_set(_getPrototypeOf(MaskedNumber.prototype),"unmaskedValue",d.replace(".",this.radix),this,!0)}},{key:"typedValue",get:function(){return Number(this.unmaskedValue)},set:function(d){_set(_getPrototypeOf(MaskedNumber.prototype),"unmaskedValue",String(d),this,!0)}},{key:"number",get:function(){return this.typedValue},set:function(d){this.typedValue=d}},{key:"allowNegative",get:function(){return this.signed||null!=this.min&&this.min<0||null!=this.max&&this.max<0}}]),MaskedNumber}(te);Pe.DEFAULTS={radix:",",thousandsSeparator:"",mapToRadix:["."],scale:2,signed:!1,normalizeZeros:!0,padFractionalZeros:!1},J.MaskedNumber=Pe;var Ee=function(d){function MaskedFunction(){return _classCallCheck(this,MaskedFunction),_possibleConstructorReturn(this,_getPrototypeOf(MaskedFunction).apply(this,arguments))}return _inherits(MaskedFunction,d),_createClass(MaskedFunction,[{key:"_update",value:function(d){d.mask&&(d.validate=d.mask),_get(_getPrototypeOf(MaskedFunction.prototype),"_update",this).call(this,d)}}]),MaskedFunction}(te);J.MaskedFunction=Ee;var Le=function(d){function MaskedDynamic(d){var b;return _classCallCheck(this,MaskedDynamic),(b=_possibleConstructorReturn(this,_getPrototypeOf(MaskedDynamic).call(this,Object.assign({},MaskedDynamic.DEFAULTS,{},d)))).currentMask=null,b}return _inherits(MaskedDynamic,d),_createClass(MaskedDynamic,[{key:"_update",value:function(d){_get(_getPrototypeOf(MaskedDynamic.prototype),"_update",this).call(this,d),"mask"in d&&(this.compiledMasks=Array.isArray(d.mask)?d.mask.map((function(d){return ne(d)})):[])}},{key:"_appendCharRaw",value:function(){var d,b=this._applyDispatch.apply(this,arguments);this.currentMask&&b.aggregate((d=this.currentMask)._appendChar.apply(d,arguments));return b}},{key:"_applyDispatch",value:function(){var d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},x=b.tail&&null!=b._beforeTailState?b._beforeTailState._value:this.value,T=this.rawInputValue,D=b.tail&&null!=b._beforeTailState?b._beforeTailState._rawInputValue:T,z=T.slice(D.length),H=this.currentMask,W=new Y,U=H&&H.state;if(this.currentMask=this.doDispatch(d,Object.assign({},b)),this.currentMask)if(this.currentMask!==H){this.currentMask.reset();var Z=this.currentMask.append(D,{raw:!0});W.tailShift=Z.inserted.length-x.length,z&&(W.tailShift+=this.currentMask.append(z,{raw:!0,tail:!0}).tailShift)}else this.currentMask.state=U;return W}},{key:"_appendPlaceholder",value:function(){var d=this._applyDispatch.apply(this,arguments);return this.currentMask&&d.aggregate(this.currentMask._appendPlaceholder()),d}},{key:"doDispatch",value:function(d){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.dispatch(d,this,b)}},{key:"doValidate",value:function(){for(var d,b,x=arguments.length,T=new Array(x),D=0;D<x;D++)T[D]=arguments[D];return(d=_get(_getPrototypeOf(MaskedDynamic.prototype),"doValidate",this)).call.apply(d,[this].concat(T))&&(!this.currentMask||(b=this.currentMask).doValidate.apply(b,T))}},{key:"reset",value:function(){this.currentMask&&this.currentMask.reset(),this.compiledMasks.forEach((function(d){return d.reset()}))}},{key:"remove",value:function(){var d,b=new Y;this.currentMask&&b.aggregate((d=this.currentMask).remove.apply(d,arguments)).aggregate(this._applyDispatch());return b}},{key:"extractInput",value:function(){var d;return this.currentMask?(d=this.currentMask).extractInput.apply(d,arguments):""}},{key:"extractTail",value:function(){for(var d,b,x=arguments.length,T=new Array(x),D=0;D<x;D++)T[D]=arguments[D];return this.currentMask?(d=this.currentMask).extractTail.apply(d,T):(b=_get(_getPrototypeOf(MaskedDynamic.prototype),"extractTail",this)).call.apply(b,[this].concat(T))}},{key:"doCommit",value:function(){this.currentMask&&this.currentMask.doCommit(),_get(_getPrototypeOf(MaskedDynamic.prototype),"doCommit",this).call(this)}},{key:"nearestInputPos",value:function(){for(var d,b,x=arguments.length,T=new Array(x),D=0;D<x;D++)T[D]=arguments[D];return this.currentMask?(d=this.currentMask).nearestInputPos.apply(d,T):(b=_get(_getPrototypeOf(MaskedDynamic.prototype),"nearestInputPos",this)).call.apply(b,[this].concat(T))}},{key:"value",get:function(){return this.currentMask?this.currentMask.value:""},set:function(d){_set(_getPrototypeOf(MaskedDynamic.prototype),"value",d,this,!0)}},{key:"unmaskedValue",get:function(){return this.currentMask?this.currentMask.unmaskedValue:""},set:function(d){_set(_getPrototypeOf(MaskedDynamic.prototype),"unmaskedValue",d,this,!0)}},{key:"typedValue",get:function(){return this.currentMask?this.currentMask.typedValue:""},set:function(d){var b=String(d);this.currentMask&&(this.currentMask.typedValue=d,b=this.currentMask.unmaskedValue),this.unmaskedValue=b}},{key:"isComplete",get:function(){return!!this.currentMask&&this.currentMask.isComplete}},{key:"state",get:function(){return Object.assign({},_get(_getPrototypeOf(MaskedDynamic.prototype),"state",this),{_rawInputValue:this.rawInputValue,compiledMasks:this.compiledMasks.map((function(d){return d.state})),currentMaskRef:this.currentMask,currentMask:this.currentMask&&this.currentMask.state})},set:function(d){var b=d.compiledMasks,x=d.currentMaskRef,T=d.currentMask,D=_objectWithoutProperties(d,["compiledMasks","currentMaskRef","currentMask"]);this.compiledMasks.forEach((function(d,x){return d.state=b[x]})),null!=x&&(this.currentMask=x,this.currentMask.state=T),_set(_getPrototypeOf(MaskedDynamic.prototype),"state",D,this,!0)}}
712,{key:"overwrite",get:function(){return this.currentMask?this.currentMask.overwrite:_get(_getPrototypeOf(MaskedDynamic.prototype),"overwrite",this)},set:function(d){console.warn('"overwrite" option is not available in dynamic mask, use this option in siblings')}}]),MaskedDynamic}(te);Le.DEFAULTS={dispatch:function(d,b,x){if(b.compiledMasks.length){var T=b.rawInputValue,D=b.compiledMasks.map((function(b,D){return b.reset(),b.append(T,{raw:!0}),b.append(d,x),{weight:b.rawInputValue.length,index:D}}));return D.sort((function(d,b){return b.weight-d.weight})),b.compiledMasks[D[0].index]}}},J.MaskedDynamic=Le;var Ne={MASKED:"value",UNMASKED:"unmaskedValue",TYPED:"typedValue"};function createPipe(d){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ne.MASKED,x=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ne.MASKED,T=ne(d);return function(d){return T.runIsolated((function(T){return T[b]=d,T[x]}))}}J.PIPE_TYPE=Ne,J.createPipe=createPipe,J.pipe=function(d){for(var b=arguments.length,x=new Array(b>1?b-1:0),T=1;T<b;T++)x[T-1]=arguments[T];return createPipe.apply(void 0,x)(d)};try{globalThis.IMask=Te}catch(d){}b.a=Te},DSU0:function(d,b,x){"use strict";d.exports=TypeError},DpC4:function(d,b){window.App=window.App||{},App.ScalableText={init:function(){$(window).on("customResizeWidth",(function(){$('[data-module="scalable-text"]').each((function(){var d,b;d=$(this),b=Number.MAX_VALUE,d.find('[data-role="text-to-scale"]').each((function(){var d=$(this),x=Math.round(d.width()),T=Math.round(d.parent().width());if(x>T){var D=d.css("font-size").replace("px","").toString(),z=parseInt(D)*(T/x)/10;b=Math.min(b,z)}})),b!==Number.MAX_VALUE?(b=Math.max(1,b),d.find('[data-role="text-to-scale"]').css({"font-size":b+"rem"})):d.find('[data-role="text-to-scale"]').css({"font-size":""})}))})),$(window).trigger("customResizeWidth")}}},DwAc:function(d,b){function _objectSpread(d){for(var b=1;b<arguments.length;b++){var x=null!=arguments[b]?arguments[b]:{},T=Object.keys(x);"function"==typeof Object.getOwnPropertySymbols&&(T=T.concat(Object.getOwnPropertySymbols(x).filter((function(d){return Object.getOwnPropertyDescriptor(x,d).enumerable})))),T.forEach((function(b){_defineProperty(d,b,x[b])}))}return d}function _defineProperty(d,b,x){return b in d?Object.defineProperty(d,b,{value:x,enumerable:!0,configurable:!0,writable:!0}):d[b]=x,d}var x;window.App=window.App||{},App.Webchat=(x=function(){try{var d,b=function waitForElementToExist(d,b){try{var x=document.querySelector(d);x?b(x):window.requestAnimationFrame((function(){waitForElementToExist(d,b)}))}catch(d){console.error("Could not wait for element to exist!",d)}},x=new MutationObserver((function(b){b.filter((function(b){var x=Array.from(b.addedNodes).reduce((function(d,b){return!!d||b.classList.contains("webchat")}),!1),T=Array.from(b.removedNodes).reduce((function(d,b){return!!d||b.classList.contains("webchat")}),!1);x?d.classList.remove("avatar"):T&&d.classList.add("avatar")}))}));b(".webchat-root .webchat-toggle-button",(function(x){(d=x).classList.add("cognigy-pulse","avatar"),b(".webchat-root .webchat-unread-message-preview, .webchat-root .webchat ",(function(){d.classList.remove("cognigy-pulse")}))})),b(".webchat-root",(function(d){x.observe(d,{childList:!0})})),b(".webchat-root .webchat-unread-message-preview",(function(d){var b=document.createElement("div");b.classList.add("gg-close-o"),b.addEventListener("click",(function(b){b.stopPropagation(),d.classList.add("close-animtaion")})),d.appendChild(b)}))}catch(d){console.error("Cognigy webchat customization errored!",d)}},{init:function(){$('[data-module~="webchat"]').each((function(){!function(d){if(-1===window.navigator.userAgent.indexOf("Trident")&&-1===window.navigator.userAgent.indexOf("MSIE")){x();var b,T=d.data("webchat-endpoint"),D=navigator.language||navigator.userLanguage||"de",z=d.data("webchat-engagement-message"),init=function(){var x=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";window.initWebchat(T,{sessionId:b.sessionId,settings:{engagementMessageText:x,engagementMessageDelay:1e4,enableUnreadMessagePreview:!0,startBehavior:"injection",getStartedData:{language:D}}},(function(b){if(b.registerAnalyticsService((function(d){"webchat/incoming-message"===d.type&&window.localStorage.setItem("nextWebchatEngagement",""+(Date.now()+3e5)),"webchat/outgoing-message"===d.type&&(d.payload.data=_objectSpread({},d.payload.data,{url:window.location.href}))})),d.data("webchatInstance",b),d.data("webchat-load-by-parameter")){var x=window.location.search,T=new URLSearchParams(x);if("1"===T.get("openbot")){b.open();var D=T.has("label")?{label:T.get("label")}:void 0;b.sendMessage(T.get("payload"),{},D)}}}))};try{b=JSON.parse(window.localStorage.getItem("webchatSession"))}catch(d){}if(!b||b.validUntil<Date.now()){var H="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(d){var b=16*
712Math.random()|0;return("x"===d?b:3&b|8).toString(16)}));b={sessionId:H,validUntil:Date.now()+1728e5},window.localStorage.setItem("webchatSession",JSON.stringify(b))}var W=parseInt(window.localStorage.getItem("nextWebchatEngagement"));Number.isInteger(W)?W<Date.now()?init(z):init():init(z)}}($(this))}))}})},"E0+D":function(d,b,x){"use strict";var T=x("EVdn"),D=x.n(T),z=x("VDUF"),H=x.n(z),W=function(){function DatePicker(d){this.$element=d,this.initModule()}return DatePicker.prototype.initModule=function(){var d=this,b=new Date,x=this.$element.find('[data-role="date-field"]')[0],T={field:x,container:this.$element.find('[data-role="date-picker"]')[0],trigger:this.$element.find(".date-time-field__date")[0],format:"DD.MM.YYYY",showDaysInNextAndPreviousMonths:!0,defaultDate:b,bound:!0,setDefaultDate:!0,firstDay:1,theme:"web18",i18n:window.App.DateTimeFieldI18n.date,onOpen:function(){d.$element.find('[data-role="date-picker"]').removeClass("hidden"),D()(".layout-body__content").addClass("layout-body__content--overflow--allowed")},onClose:function(){d.$element.find('[data-role="date-picker"]').addClass("hidden"),D()(".layout-body__content").removeClass("layout-body__content--overflow--allowed")}},z=this.$element.data("max-date");z&&(T.maxDate="today"===z?H()().hour(0).minute(0).second(0).toDate():H()(z).toDate());var W=this.$element.data("min-date");if(W&&(T.minDate="today"===W?H()().hour(0).minute(0).second(0).toDate():H()(W).toDate()),(b=this.$element.data("default-date"))&&(T.defaultDate=H()(b).toDate()),this.$element.closest(".spottariff").length>0){var U=H()().startOf("day"),Y=new Date(2025,2,1),Z=U.clone().add(1,"days").toDate();T.minDate=Y,T.maxDate=Z,T.defaultDate=U.toDate(),T.onSelect=function(d){var b=H()(d).format("YYYY-MM-DD"),x=new CustomEvent("datechange",{detail:b});this._o.field.dispatchEvent(x)}}var J=new window.Pikaday(T);x._pikaday=J},DatePicker}();b.a=W},ECM5:function(d,b){new(function(){function AnchorAccessibility(){this.initModule()}return AnchorAccessibility.prototype.initModule=function(){document.querySelectorAll('a[target="_blank"]').forEach((function(d){if(!d.querySelector("span.sr-only")){var b=document.createElement("span");b.className="sr-only",b.textContent="Link öffnet in neuem Fenster",d.appendChild(b)}}))},AnchorAccessibility}())},EHKA:function(d,b){var x,T,D,z;window.App=window.App||{},App.Recaptcha=(D=function(d){x=d.data("sitekey"),T=d.data("use-v3"),window.grecaptcha?z():(window.onRecaptchaLoad=z,function(d){var b=$("body"),D=document.createElement("script");D.type="text/javascript",T?(D.src="https://www.google.com/recaptcha/enterprise.js?render="+x,b[0].appendChild(D)):(D.src="https://www.google.com/recaptcha/enterprise.js?onload="+d+"&render=explicit",b[0].appendChild(D))}("onRecaptchaLoad"))},z=function(){$('[data-module~="recaptcha"]').each((function(){var d=$(this),b=d.closest("form"),x=window.grecaptcha.enterprise.render(d[0],{sitekey:d.attr("data-sitekey"),size:d.attr("data-size")||"invisible",badge:d.attr("data-badge")||"inline",callback:function(d){b.find('[data-role="recaptcha-response"]').val(d).trigger("change")}});b.data("recaptchaId",x)}))},{init:function(){var d=$('[data-module~="recaptcha"]');0!==d.length&&D(d)},run:function(d){if(window.grecaptcha){var b=$.Deferred();if(T){var D=d.data("form-type");window.grecaptcha.enterprise.execute(x,{action:D}).then((function(x){d.find('input[data-role="recaptcha-response"]').val(x),b.resolve({token:x})}))}else d.on("change",'input[data-role="recaptcha-response"]',(function onValueChanged(){d.off("change",'input[data-role="recaptcha-response"]',onValueChanged),b.resolve({token:$(this).val()})})),window.grecaptcha.enterprise.execute(d.data("recaptchaId"));return b.promise()}},reset:function(d){var b=d.data("recaptchaId");void 0!==b&&(d.find('[data-role="recaptcha-response"]').val(""),window.grecaptcha.enterprise.reset(b))}})},EVdn:function(d,b,x){(function(d){var x;function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}
713/*!
714 * jQuery JavaScript Library v3.5.1
715 * https://jquery.com/
716 *
717 * Includes Sizzle.js
718 * https://sizzlejs.com/
719 *
720 * Copyright JS Foundation and other contributors
721 * Released under the MIT license
722 * https://jquery.org/license
723 *
724 * Date: 2020-05-04T22:49Z
725 */!function(b,x){"use strict";
vendor: 4,258 bytes, lines 725-736
725"object"===_typeof(d)&&"object"===_typeof(d.exports)?d.exports=b.document?x(b,!0):function(d){if(!d.document)throw new Error("jQuery requires a window with a document");return x(d)}:x(b)}("undefined"!=typeof window?window:this,(function(T,D){"use strict";var z=[],H=Object.getPrototypeOf,W=z.slice,U=z.flat?function(d){return z.flat.call(d)}:function(d){return z.concat.apply([],d)},Y=z.push,Z=z.indexOf,J={},ee=J.toString,te=J.hasOwnProperty,ne=te.toString,ie=ne.call(Object),oe={},isFunction=function(d){return"function"==typeof d&&"number"!=typeof d.nodeType},isWindow=function(d){return null!=d&&d===d.window},se=T.document,le={type:!0,src:!0,nonce:!0,noModule:!0};function DOMEval(d,b,x){var T,D,z=(x=x||se).createElement("script");if(z.text=d,b)for(T in le)(D=b[T]||b.getAttribute&&b.getAttribute(T))&&z.setAttribute(T,D);x.head.appendChild(z).parentNode.removeChild(z)}function toType(d){return null==d?d+"":"object"===_typeof(d)||"function"==typeof d?J[ee.call(d)]||"object":_typeof(d)}var ce=function jQuery(d,b){return new jQuery.fn.init(d,b)};function isArrayLike(d){var b=!!d&&"length"in d&&d.length,x=toType(d);return!isFunction(d)&&!isWindow(d)&&("array"===x||0===b||"number"==typeof b&&b>0&&b-1 in d)}ce.fn=ce.prototype={jquery:"3.5.1",constructor:ce,length:0,toArray:function(){return W.call(this)},get:function(d){return null==d?W.call(this):d<0?this[d+this.length]:this[d]},pushStack:function(d){var b=ce.merge(this.constructor(),d);return b.prevObject=this,b},each:function(d){return ce.each(this,d)},map:function(d){return this.pushStack(ce.map(this,(function(b,x){return d.call(b,x,b)})))},slice:function(){return this.pushStack(W.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(ce.grep(this,(function(d,b){return(b+1)%2})))},odd:function(){return this.pushStack(ce.grep(this,(function(d,b){return b%2})))},eq:function(d){var b=this.length,x=+d+(d<0?b:0);return this.pushStack(x>=0&&x<b?[this[x]]:[])},end:function(){return this.prevObject||this.constructor()},push:Y,sort:z.sort,splice:z.splice},ce.extend=ce.fn.extend=function(){var d,b,x,T,D,z,H=arguments[0]||{},W=1,U=arguments.length,Y=!1;for("boolean"==typeof H&&(Y=H,H=arguments[W]||{},W++),"object"===_typeof(H)||isFunction(H)||(H={}),W===U&&(H=this,W--);W<U;W++)if(null!=(d=arguments[W]))for(b in d)T=d[b],"__proto__"!==b&&H!==T&&(Y&&T&&(ce.isPlainObject(T)||(D=Array.isArray(T)))?(x=H[b],z=D&&!Array.isArray(x)?[]:D||ce.isPlainObject(x)?x:{},D=!1,H[b]=ce.extend(Y,z,T)):void 0!==T&&(H[b]=T));return H},ce.extend({expando:"jQuery"+("3.5.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(d){throw new Error(d)},noop:function(){},isPlainObject:function(d){var b,x;return!(!d||"[object Object]"!==ee.call(d))&&(!(b=H(d))||"function"==typeof(x=te.call(b,"constructor")&&b.constructor)&&ne.call(x)===ie)},isEmptyObject:function(d){var b;for(b in d)return!1;return!0},globalEval:function(d,b,x){DOMEval(d,{nonce:b&&b.nonce},x)},each:function(d,b){var x,T=0;if(isArrayLike(d))for(x=d.length;T<x&&!1!==b.call(d[T],T,d[T]);T++);else for(T in d)if(!1===b.call(d[T],T,d[T]))break;return d},makeArray:function(d,b){var x=b||[];return null!=d&&(isArrayLike(Object(d))?ce.merge(x,"string"==typeof d?[d]:d):Y.call(x,d)),x},inArray:function(d,b,x){return null==b?-1:Z.call(b,d,x)},merge:function(d,b){for(var x=+b.length,T=0,D=d.length;T<x;T++)d[D++]=b[T];return d.length=D,d},grep:function(d,b,x){for(var T=[],D=0,z=d.length,H=!x;D<z;D++)!b(d[D],D)!==H&&T.push(d[D]);return T},map:function(d,b,x){var T,D,z=0,H=[];if(isArrayLike(d))for(T=d.length;z<T;z++)null!=(D=b(d[z],z,x))&&H.push(D);else for(z in d)null!=(D=b(d[z],z,x))&&H.push(D);return U(H)},guid:1,support:oe}),"function"==typeof Symbol&&(ce.fn[Symbol.iterator]=z[Symbol.iterator]),ce.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(d,b){J["[object "+b+"]"]=b.toLowerCase()}));var de=
726/*!
727   * Sizzle CSS Selector Engine v2.3.5
728   * https://sizzlejs.com/
729   *
730   * Copyright JS Foundation and other contributors
731   * Released under the MIT license
732   * https://js.foundation/
733   *
734   * Date: 2020-03-14
735   */
736function(d){var b,x,T,D,z,H,W,U,Y,Z,J,ee,te,ne,ie,oe,se,le,ce,de="sizzle"+1*ne
vendor: 6,872 bytes, line 736
736w Date,he=d.document,pe=0,fe=0,ge=createCache(),me=createCache(),ye=createCache(),ve=createCache(),sortOrder=function(d,b){return d===b&&(J=!0),0},xe={}.hasOwnProperty,_e=[],we=_e.pop,Se=_e.push,Me=_e.push,Te=_e.slice,indexOf=function(d,b){for(var x=0,T=d.length;x<T;x++)if(d[x]===b)return x;return-1},ke="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",Pe="[\\x20\\t\\r\\n\\f]",Ee="(?:\\\\[\\da-fA-F]{1,6}"+Pe+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",Le="\\["+Pe+"*("+Ee+")(?:"+Pe+"*([*^$|!~]?=)"+Pe+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+Ee+"))|)"+Pe+"*\\]",Ne=":("+Ee+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+Le+")*)|.*)\\)|)",Ve=new RegExp(Pe+"+","g"),Fe=new RegExp("^"+Pe+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Pe+"+$","g"),Ge=new RegExp("^"+Pe+"*,"+Pe+"*"),Ye=new RegExp("^"+Pe+"*([>+~]|"+Pe+")"+Pe+"*"),Xe=new RegExp(Pe+"|>"),Ke=new RegExp(Ne),Qe=new RegExp("^"+Ee+"$"),et={ID:new RegExp("^#("+Ee+")"),CLASS:new RegExp("^\\.("+Ee+")"),TAG:new RegExp("^("+Ee+"|[*])"),ATTR:new RegExp("^"+Le),PSEUDO:new RegExp("^"+Ne),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+Pe+"*(even|odd|(([+-]|)(\\d*)n|)"+Pe+"*(?:([+-]|)"+Pe+"*(\\d+)|))"+Pe+"*\\)|)","i"),bool:new RegExp("^(?:"+ke+")$","i"),needsContext:new RegExp("^"+Pe+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+Pe+"*((?:-\\d)?\\d*)"+Pe+"*\\)|)(?=[^-]|$)","i")},tt=/HTML$/i,nt=/^(?:input|select|textarea|button)$/i,ot=/^h\d$/i,lt=/^[^{]+\{\s*\[native \w/,ut=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ht=/[+~]/,pt=new RegExp("\\\\[\\da-fA-F]{1,6}"+Pe+"?|\\\\([^\\r\\n\\f])","g"),funescape=function(d,b){var x="0x"+d.slice(1)-65536;return b||(x<0?String.fromCharCode(x+65536):String.fromCharCode(x>>10|55296,1023&x|56320))},gt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,fcssescape=function(d,b){return b?"\0"===d?"�":d.slice(0,-1)+"\\"+d.charCodeAt(d.length-1).toString(16)+" ":"\\"+d},unloadHandler=function(){ee()},yt=addCombinator((function(d){return!0===d.disabled&&"fieldset"===d.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{Me.apply(_e=Te.call(he.childNodes),he.childNodes),_e[he.childNodes.length].nodeType}catch(d){Me={apply:_e.length?function(d,b){Se.apply(d,Te.call(b))}:function(d,b){for(var x=d.length,T=0;d[x++]=b[T++];);d.length=x-1}}}function Sizzle(d,b,T,D){var z,W,Y,Z,J,ne,se,le=b&&b.ownerDocument,he=b?b.nodeType:9;if(T=T||[],"string"!=typeof d||!d||1!==he&&9!==he&&11!==he)return T;if(!D&&(ee(b),b=b||te,ie)){if(11!==he&&(J=ut.exec(d)))if(z=J[1]){if(9===he){if(!(Y=b.getElementById(z)))return T;if(Y.id===z)return T.push(Y),T}else if(le&&(Y=le.getElementById(z))&&ce(b,Y)&&Y.id===z)return T.push(Y),T}else{if(J[2])return Me.apply(T,b.getElementsByTagName(d)),T;if((z=J[3])&&x.getElementsByClassName&&b.getElementsByClassName)return Me.apply(T,b.getElementsByClassName(z)),T}if(x.qsa&&!ve[d+" "]&&(!oe||!oe.test(d))&&(1!==he||"object"!==b.nodeName.toLowerCase())){if(se=d,le=b,1===he&&(Xe.test(d)||Ye.test(d))){for((le=ht.test(d)&&testContext(b.parentNode)||b)===b&&x.scope||((Z=b.getAttribute("id"))?Z=Z.replace(gt,fcssescape):b.setAttribute("id",Z=de)),W=(ne=H(d)).length;W--;)ne[W]=(Z?"#"+Z:":scope")+" "+toSelector(ne[W]);se=ne.join(",")}try{return Me.apply(T,le.querySelectorAll(se)),T}catch(b){ve(d,!0)}finally{Z===de&&b.removeAttribute("id")}}}return U(d.replace(Fe,"$1"),b,T,D)}function createCache(){var d=[];return function cache(b,x){return d.push(b+" ")>T.cacheLength&&delete cache[d.shift()],cache[b+" "]=x}}function markFunction(d){return d[de]=!0,d}function assert(d){var b=te.createElement("fieldset");try{return!!d(b)}catch(d){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function addHandle(d,b){for(var x=d.split("|"),D=x.length;D--;)T.attrHandle[x[D]]=b}function siblingCheck(d,b){var x=b&&d,T=x&&1===d.nodeType&&1===b.nodeType&&d.sourceIndex-b.sourceIndex;if(T)return T;if(x)for(;x=x.nextSibling;)if(x===b)return-1;return d?1:-1}function createInputPseudo(d){return function(b){return"input"===b.nodeName.toLowerCase()&&b.type===d}}function createButtonPseudo(d){return function(b){var x=b.nodeName.toLowerCase();return("input"===x||"button"===x)&&b.type===d}}function createDisabledPseudo(d){return function(b){return"form"in b?b.parentNode&&!1===b.disabled?"label"in b?"label"in b.parentNode?b.parentNode.disabled===d:b.disabled===d:b.isDisabled===d||b.isDisabled!==!d&&yt(b)===d:b.disabled===d:"label"in b&&b.disabled===d}}function createPositionalPseudo(d){return markFunction((function(b){return b=+b,markFunction((function(x,T){for(var D,z=d([],x.length,b),H=z.length;H--;)x[D=z[H]]&&(x[D]=!(T[D]=x[D]))}))}))}function testContext(d){return d&&void 0!==d.getElementsByTagName&&d}for(b in x=Sizzle.support={},z=Sizzle.isXML=function(d){var b=d.namespaceURI,x=(d.ownerDocument||d).documentElement;return!tt.test(b||x&&x.nodeName||"HTML")},ee=Sizzle.setDocument=function(d){var b,D,H=d?d.ownerDocument||d:he;return H!=te&&9===H.nodeType&&H.documentElement?(ne=(te=H).documentElement,ie=!z(te),he!=te&&(D=te.defaultView)&&D.top!==D&&(D.addEventListener?D.addEventListener("unload",unloadHandler,!1):D.attachEvent&&D.attachEvent("onunload",unloadHandler)),x.scope=assert((function(d){return ne.appendChild(d).appendChild(te.createElement("div")),void 0!==d.querySelectorAll&&!d.querySelectorAll(":scope fieldset div").length})),x.attributes=assert((function(d){return d.className="i",!d.getAttribute("className")})),x.getElementsByTagName=assert((function(d){return d.appendChild(te.createComment("")),!d.getElementsByTagName("*").length})),x.getElementsByClassName=lt.test(te.getElementsByClassName),x.getById=assert((function(d){return ne.appendChild(d).id=de,!te.getElementsByName||!te.getElementsByName(de).length})),x.getById?(T.filter.ID=function(d){var b=d.replace(pt,funescape);return function(d){return d.getAttribute("id")===b}},T.find.ID=function(d,b){if(void 0!==b.getElementById&&ie){var x=b.getElementById(d);return x?[x]:[]}}):(T.filter.ID=function(d){var b=d.replace(pt,funescape);return function(d){var x=void 0!==d.getAttributeNode&&d.getAttributeNode("id");return x&&x.value===b}},T.find.ID=function(d,b){if(void 0!==b.getElementById&&ie){var x,T,D,z=b.getElementById(d);if(z){if((x=z.getAttributeNode("id"))&&x.value===d)return[z];for(D=b.getElementsByName(d),T=0;z=D[T++];)if((x=z.getAttributeNode("id"))&&x.value===d)return[z]}return[]}}),T.find.TAG=x.getElementsByTagName?function(d,b){return void 0!==b.getElementsByTagName?b.getElementsByTagName(d):x.qsa?b.querySelectorAll(d):void 0}:function(d,b){var x,T=[],D=0,z=b.getElementsByTagName(d);if("*"===d){for(;x=z[D++];)1===x.nodeType&&T.push(x);return T}return z},T.find.CLASS=x.getElementsByClassName&&function(d,b){if(void 0!==b.getElementsByClassName&&ie)return b.getElementsByClassName(
vendor: 14,842 bytes, line 736
736d)},se=[],oe=[],(x.qsa=lt.test(te.querySelectorAll))&&(assert((function(d){var b;ne.appendChild(d).innerHTML="<a id='"+de+"'></a><select id='"+de+"-\r\\' msallowcapture=''><option selected=''></option></select>",d.querySelectorAll("[msallowcapture^='']").length&&oe.push("[*^$]="+Pe+"*(?:''|\"\")"),d.querySelectorAll("[selected]").length||oe.push("\\["+Pe+"*(?:value|"+ke+")"),d.querySelectorAll("[id~="+de+"-]").length||oe.push("~="),(b=te.createElement("input")).setAttribute("name",""),d.appendChild(b),d.querySelectorAll("[name='']").length||oe.push("\\["+Pe+"*name"+Pe+"*="+Pe+"*(?:''|\"\")"),d.querySelectorAll(":checked").length||oe.push(":checked"),d.querySelectorAll("a#"+de+"+*").length||oe.push(".#.+[+~]"),d.querySelectorAll("\\\f"),oe.push("[\\r\\n\\f]")})),assert((function(d){d.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var b=te.createElement("input");b.setAttribute("type","hidden"),d.appendChild(b).setAttribute("name","D"),d.querySelectorAll("[name=d]").length&&oe.push("name"+Pe+"*[*^$|!~]?="),2!==d.querySelectorAll(":enabled").length&&oe.push(":enabled",":disabled"),ne.appendChild(d).disabled=!0,2!==d.querySelectorAll(":disabled").length&&oe.push(":enabled",":disabled"),d.querySelectorAll("*,:x"),oe.push(",.*:")}))),(x.matchesSelector=lt.test(le=ne.matches||ne.webkitMatchesSelector||ne.mozMatchesSelector||ne.oMatchesSelector||ne.msMatchesSelector))&&assert((function(d){x.disconnectedMatch=le.call(d,"*"),le.call(d,"[s!='']:x"),se.push("!=",Ne)})),oe=oe.length&&new RegExp(oe.join("|")),se=se.length&&new RegExp(se.join("|")),b=lt.test(ne.compareDocumentPosition),ce=b||lt.test(ne.contains)?function(d,b){var x=9===d.nodeType?d.documentElement:d,T=b&&b.parentNode;return d===T||!(!T||1!==T.nodeType||!(x.contains?x.contains(T):d.compareDocumentPosition&&16&d.compareDocumentPosition(T)))}:function(d,b){if(b)for(;b=b.parentNode;)if(b===d)return!0;return!1},sortOrder=b?function(d,b){if(d===b)return J=!0,0;var T=!d.compareDocumentPosition-!b.compareDocumentPosition;return T||(1&(T=(d.ownerDocument||d)==(b.ownerDocument||b)?d.compareDocumentPosition(b):1)||!x.sortDetached&&b.compareDocumentPosition(d)===T?d==te||d.ownerDocument==he&&ce(he,d)?-1:b==te||b.ownerDocument==he&&ce(he,b)?1:Z?indexOf(Z,d)-indexOf(Z,b):0:4&T?-1:1)}:function(d,b){if(d===b)return J=!0,0;var x,T=0,D=d.parentNode,z=b.parentNode,H=[d],W=[b];if(!D||!z)return d==te?-1:b==te?1:D?-1:z?1:Z?indexOf(Z,d)-indexOf(Z,b):0;if(D===z)return siblingCheck(d,b);for(x=d;x=x.parentNode;)H.unshift(x);for(x=b;x=x.parentNode;)W.unshift(x);for(;H[T]===W[T];)T++;return T?siblingCheck(H[T],W[T]):H[T]==he?-1:W[T]==he?1:0},te):te},Sizzle.matches=function(d,b){return Sizzle(d,null,null,b)},Sizzle.matchesSelector=function(d,b){if(ee(d),x.matchesSelector&&ie&&!ve[b+" "]&&(!se||!se.test(b))&&(!oe||!oe.test(b)))try{var T=le.call(d,b);if(T||x.disconnectedMatch||d.document&&11!==d.document.nodeType)return T}catch(d){ve(b,!0)}return Sizzle(b,te,null,[d]).length>0},Sizzle.contains=function(d,b){return(d.ownerDocument||d)!=te&&ee(d),ce(d,b)},Sizzle.attr=function(d,b){(d.ownerDocument||d)!=te&&ee(d);var D=T.attrHandle[b.toLowerCase()],z=D&&xe.call(T.attrHandle,b.toLowerCase())?D(d,b,!ie):void 0;return void 0!==z?z:x.attributes||!ie?d.getAttribute(b):(z=d.getAttributeNode(b))&&z.specified?z.value:null},Sizzle.escape=function(d){return(d+"").replace(gt,fcssescape)},Sizzle.error=function(d){throw new Error("Syntax error, unrecognized expression: "+d)},Sizzle.uniqueSort=function(d){var b,T=[],D=0,z=0;if(J=!x.detectDuplicates,Z=!x.sortStable&&d.slice(0),d.sort(sortOrder),J){for(;b=d[z++];)b===d[z]&&(D=T.push(z));for(;D--;)d.splice(T[D],1)}return Z=null,d},D=Sizzle.getText=function(d){var b,x="",T=0,z=d.nodeType;if(z){if(1===z||9===z||11===z){if("string"==typeof d.textContent)return d.textContent;for(d=d.firstChild;d;d=d.nextSibling)x+=D(d)}else if(3===z||4===z)return d.nodeValue}else for(;b=d[T++];)x+=D(b);return x},(T=Sizzle.selectors={cacheLength:50,createPseudo:markFunction,match:et,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(d){return d[1]=d[1].replace(pt,funescape),d[3]=(d[3]||d[4]||d[5]||"").replace(pt,funescape),"~="===d[2]&&(d[3]=" "+d[3]+" "),d.slice(0,4)},CHILD:function(d){return d[1]=d[1].toLowerCase(),"nth"===d[1].slice(0,3)?(d[3]||Sizzle.error(d[0]),d[4]=+(d[4]?d[5]+(d[6]||1):2*("even"===d[3]||"odd"===d[3])),d[5]=+(d[7]+d[8]||"odd"===d[3])):d[3]&&Sizzle.error(d[0]),d},PSEUDO:function(d){var b,x=!d[6]&&d[2];return et.CHILD.test(d[0])?null:(d[3]?d[2]=d[4]||d[5]||"":x&&Ke.test(x)&&(b=H(x,!0))&&(b=x.indexOf(")",x.length-b)-x.length)&&(d[0]=d[0].slice(0,b),d[2]=x.slice(0,b)),d.slice(0,3))}},filter:{TAG:function(d){var b=d.replace(pt,funescape).toLowerCase();return"*"===d?function(){return!0}:function(d){return d.nodeName&&d.nodeName.toLowerCase()===b}},CLASS:function(d){var b=ge[d+" "];return b||(b=new RegExp("(^|"+Pe+")"+d+"("+Pe+"|$)"))&&ge(d,(function(d){return b.test("string"==typeof d.className&&d.className||void 0!==d.getAttribute&&d.getAttribute("class")||"")}))},ATTR:function(d,b,x){return function(T){var D=Sizzle.attr(T,d);return null==D?"!="===b:!b||(D+="","="===b?D===x:"!="===b?D!==x:"^="===b?x&&0===D.indexOf(x):"*="===b?x&&D.indexOf(x)>-1:"$="===b?x&&D.slice(-x.length)===x:"~="===b?(" "+D.replace(Ve," ")+" ").indexOf(x)>-1:"|="===b&&(D===x||D.slice(0,x.length+1)===x+"-"))}},CHILD:function(d,b,x,T,D){var z="nth"!==d.slice(0,3),H="last"!==d.slice(-4),W="of-type"===b;return 1===T&&0===D?function(d){return!!d.parentNode}:function(b,x,U){var Y,Z,J,ee,te,ne,ie=z!==H?"nextSibling":"previousSibling",oe=b.parentNode,se=W&&b.nodeName.toLowerCase(),le=!U&&!W,ce=!1;if(oe){if(z){for(;ie;){for(ee=b;ee=ee[ie];)if(W?ee.nodeName.toLowerCase()===se:1===ee.nodeType)return!1;ne=ie="only"===d&&!ne&&"nextSibling"}return!0}if(ne=[H?oe.firstChild:oe.lastChild],H&&le){for(ce=(te=(Y=(Z=(J=(ee=oe)[de]||(ee[de]={}))[ee.uniqueID]||(J[ee.uniqueID]={}))[d]||[])[0]===pe&&Y[1])&&Y[2],ee=te&&oe.childNodes[te];ee=++te&&ee&&ee[ie]||(ce=te=0)||ne.pop();)if(1===ee.nodeType&&++ce&&ee===b){Z[d]=[pe,te,ce];break}}else if(le&&(ce=te=(Y=(Z=(J=(ee=b)[de]||(ee[de]={}))[ee.uniqueID]||(J[ee.uniqueID]={}))[d]||[])[0]===pe&&Y[1]),!1===ce)for(;(ee=++te&&ee&&ee[ie]||(ce=te=0)||ne.pop())&&((W?ee.nodeName.toLowerCase()!==se:1!==ee.nodeType)||!++ce||(le&&((Z=(J=ee[de]||(ee[de]={}))[ee.uniqueID]||(J[ee.uniqueID]={}))[d]=[pe,ce]),ee!==b)););return(ce-=D)===T||ce%T==0&&ce/T>=0}}},PSEUDO:function(d,b){var x,D=T.pseudos[d]||T.setFilters[d.toLowerCase()]||Sizzle.error("unsupported pseudo: "+d);return D[de]?D(b):D.length>1?(x=[d,d,"",b],T.setFilters.hasOwnProperty(d.toLowerCase())?markFunction((function(d,x){for(var T,z=D(d,b),H=z.length;H--;)d[T=indexOf(d,z[H])]=!(x[T]=z[H])})):function(d){return D(d,0,x)}):D}},pseudos:{not:markFunction((function(d){var b=[],x=[],T=W(d.replace(Fe,"$1"));return T[de]?markFunction((function(d,b,x,D){for(var z,H=T(d,null,D,[]),W=d.length;W--;)(z=H[W])&&(d[W]=!(b[W]=z))})):function(d,D,z){return b[0]=d,T(b,null,z,x),b[0]=null,!x.pop()}})),has:markFunction((function(d){return function(b){return Sizzle(d,b).length>0}})),contains:markFunction((function(d){return d=d.replace(pt,funescape),function(b){return(b.textContent||D(b)).indexOf(d)>-1}})),lang:markFunction((function(d){return Qe.test(d||"")||Sizzle.error("unsupported lang: "+d),d=d.replace(pt,funescape).toLowerCase(),function(b){var x;do{if(x=ie?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return(x=x.toLowerCase())===d||0===x.indexOf(d+"-")}while((b=b.parentNode)&&1===b.nodeType);return!1}})),target:function(b){var x=d.location&&d.location.hash;return x&&x.slice(1)===b.id},root:function(d){return d===ne},focus:function(d){return d===te.activeElement&&(!te.hasFocus||te.hasFocus())&&!!(d.type||d.href||~d.tabIndex)},enabled:createDisabledPseudo(!1),disabled:createDisabledPseudo(!0),checked:function(d){var b=d.nodeName.toLowerCase();return"input"===b&&!!d.checked||"option"===b&&!!d.selected},selected:function(d){return d.parentNode&&d.parentNode.selectedIndex,!0===d.selected},empty:function(d){for(d=d.firstChild;d;d=d.nextSibling)if(d.nodeType<6)return!1;return!0},parent:function(d){return!T.pseudos.empty(d)},header:function(d){return ot.test(d.nodeName)},input:function(d){return nt.test(d.nodeName)},button:function(d){var b=d.nodeName.toLowerCase();return"input"===b&&"button"===d.type||"button"===b},text:function(d){var b;return"input"===d.nodeName.toLowerCase()&&"text"===d.type&&(null==(b=d.getAttribute("type"))||"text"===b.toLowerCase())},first:createPositionalPseudo((function(){return[0]})),last:createPositionalPseudo((function(d,b){return[b-1]})),eq:createPositionalPseudo((function(d,b,x){return[x<0?x+b:x]})),even:createPositionalPseudo((function(d,b){for(var x=0;x<b;x+=2)d.push(x);return d})),odd:createPositionalPseudo((function(d,b){for(var x=1;x<b;x+=2)d.push(x);return d})),lt:createPositionalPseudo((function(d,b,x){for(var T=x<0?x+b:x>b?b:x;--T>=0;)d.push(T);return d})),gt:createPositionalPseudo((function(d,b,x){for(var T=x<0?x+b:x;++T<b;)d.push(T);return d}))}}).pseudos.nth=T.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})T.pseudos[b]=createInputPseudo(b);for(b in{submit:!0,reset:!0})T.pseudos[b]=createButtonPseudo(b);function setFilters(){}function toSelector(d){for(var b=0,x=d.length,T="";b<x;b++)T+=d[b].value;return T}function addCombinator(d,b,x){var T=b.dir,D=b.next,z=D||T,H=x&&"parentNode"===z,W=fe++;return b.first?function(b,x,D){for(;b=b[T];)if(1===b.nodeType||H)return d(b,x,D);return!1}:function(b,x,U){var Y,Z,J,ee=[pe,W];if(U){for(;b=b[T];)if((1===b.nodeType||H)&&d(b,x,U))return!0}else for(;b=b[T];)if(1===b.nodeType||H)if(Z=(J=b[de]||(b[de]={}))[b.uniqueID]||(J[b.uniqueID]={}),D&&D===b.nodeName.toLowerCase())b=b[T]||b;else{if((Y=Z[z])&&Y[0]===pe&&Y[1]===W)return ee[2]=Y[2];if(Z[z]=ee,ee[2]=d(b,x,U))return!0}return!1}}function elementMatcher(d){return d.length>1?function(b,x,T){for(var D=d.length;D--;)if(!d[D](b,x,T))return!1;return!0}:d[0]}function condense(d,b,x,T,D){for(var z,H=[],W=0,U=d.length,Y=null!=b;W<U;W++)(z=d[W])&&(x&&!x(z,T,D)||(H.push(z),Y&&b.push(W)));return H}function setMatcher(d,b,x,T,D,z){return T&&!T[de]&&(T=setMatcher(T)),D&&!D[de]&&(D=setMatcher(D,z)),markFunction((function(z,H,W,U){var Y,Z,J,ee=[],te=[],ne=H.length,ie=z||function(d,b,x){for(var T=0,D=b.length;T<D;T++)Sizzle(d,b[T],x);return x}(b||"*",W.nodeType?[W]:W,[]),oe=!d||!z&&b?ie:condense(ie,ee,d,W,U),se=x?D||(z?d:ne||T)?[]:H:oe;if(x&&x(oe,se,W,U),T)for(Y=condense(se,te),T(Y,[],W,U),Z=Y.length;Z--;)(J=Y[Z])&&(se[te[Z]]=!(oe[te[Z]]=J));if(z){if(D||d){if(D){for(Y=[],Z=se.length;Z--;)(J=se[Z])&&Y.push(oe[Z]=J);D(null,se=[],Y,U)}for(Z=se.length;Z--;)(J=se[Z])&&(Y=D?indexOf(z,J):ee[Z])>-1&&(z[Y]=!(H[Y]=J))}}else se=condense(se===H?se.splice(ne,se.length):se),D?D(null,H,se,U):Me.apply(H,se)}))}function matcherFromTokens(d){for(var b,x,D,z=d.length,H=T.relative[d[0].type],W=H||T.relative[" "],U=H?1:0,Z=addCombinator((function(d){return d===b}),W,!0),J=addCombinator((function(d){return indexOf(b,d)>-1}),W,!0),ee=[function(d,x,T){var D=!H&&(T||x!==Y)||((b=x).nodeType?Z(d,x,T):J(d,x,T));return b=null,D}];U<z;U++)if(x=T.relative[d[U].type])ee=[addCombinator(elementMatcher(ee),x)];else{if((x=T.filter[d[U].type].apply(null,d[U].matches))[de]){for(D=++U;D<z&&!T.relative[d[D].type];D++);return setMatcher(U>1&&elementMatcher(ee),U>1&&toSelector(d.slice(0,U-1).concat({value:" "===d[U-2].type?"*":""})).replace(Fe,"$1"),x,U<D&&matcherFromTokens(d.slice(U,D)),D<z&&matcherFromTokens(d=d.slice(D)),D<z&&toSelector(d))}ee.push(x)}return elementMatcher(ee)}return setFilters.prototype=T.filters=T.pseudos,T.setFilters=new setFilters,H=Sizzle.tokenize=function(d,b){var x,D,z,H,W,U,Y,Z=me[d+" "];if(Z)return b?0:Z.slice(0);for(W=d,U=[],Y=T.preFilter;W;){for(H in x&&!(D=Ge.exec(W))||(D&&(W=W.slice(D[0].length)||W),U.push(z=[])),x=!1,(D=Ye.exec(W))&&(x=D.shift(),z.push({value:x,type:D[0].replace(Fe," ")}),W=W.slice(x.length)),T.filter)!(D=et[H].exec(W))||Y[H]&&!(D=Y[H](D))||(x=D.shift(),z.push({value:x,type:H,matches:D}),W=W.slice(x.length));if(!x)break}return b?W.length:W?Sizzle.error(d):me(d,U).slice(0)},W=Sizzle.compile=function(d,b){var x,D=[],z=[],W=ye[d+" "];if(!W){for(b||(b=H(d)),x=b.length;x--;)(W=matcherFromTokens(b[x]))[de]?D.push(W):z.push(W);(W=ye(d,function(d,b){var x=b.length>0,D=d.length>0,superMatcher=function(z,H,W,U,Z){var J,ne,oe,se=0,le="0",ce=z&&[],de=[],he=Y,fe=z||D&&T.find.TAG("*",Z),ge=pe+=null==he?1:Math.random()||.1,me=fe.length;for(Z&&(Y=H==te||H||Z);le!==me&&null!=(J=fe[le]);le++){if(D&&J){for(ne=0,H||J.ownerDocument==te||(ee(J),W=!ie);oe=d[ne++];)if(oe(J,H||te,W)){U.push(J);break}Z&&(pe=ge)}x&&((J=!oe&&J)&&se--,z&&ce.push(J))}if(se+=le,x&&le!==se){for(ne=0;oe=b[ne++];)oe(ce,de,H,W);if(z){if(se>0)for(;le--;)ce[le]||de[le]||(de[le]=we.call(U));de=condense(de)}Me.apply(U,de),Z&&!z&&de.length>0&&se+b.length>1&&Sizzle.uniqueSort(U)}return Z&&(pe=ge,Y=he),ce};return x?markFunction(superMatcher):superMatcher}(z,D))).selector=d}return W},U=Sizzle.select=function(d,b,x,D){var z,U,Y,Z,J,ee="function"==typeof d&&d,te=!D&&H(d=ee.selector||d);if(x=x||[],1===te.length){if((U=te[0]=te[0].slice(0)).length>2&&"ID"===(Y=U[0]).type&&9===b.nodeType&&ie&&T.relative[U[1].type]){if(!(b=(T.find.ID(Y.matches[0].replace(pt,funescape),b)||[])[0]))return x;ee&&(b=b.parentNode),d=d.slice(U.shift().value.length)}for(z=et.needsContext.test(d)?0:U.length;z--&&(Y=U[z],!T.relative[Z=Y.type]);)if((J=T.find[Z])&&(D=J(Y.matches[0].replace(pt,funescape),ht.test(U[0].type)&&testContext(b.parentNode)||b))){if(U.splice(z,1),!(d=D.length&&toSelector(U)))return Me.apply(x,D),x;break}}return(ee||W(d,te))(D,b,!ie,x,!b||ht.test(d)&&testContext(b.parentNode)||b),x},x.sortStable=de.split("").sort(sortOrder).join("")===de,x.detectDuplicates=!!J,ee(),x.sortDetached=assert((function(d){return 1&d.compareDocumentPosition(te.createElement("fieldset"))})),assert((function(d){return d.innerHTML="<a href='#'></a>","#"===d.firstChild.getAttribute("href")}))||addHandle("type|href|height|width",(function(d,b,x){if(!x)return d.getAttribute(b,"type"===b.toLowerCase()?1:2)})),x.attributes&&assert((function(d){return d.innerHTML="<input/>",d.firstChild.setAttribute("value",""),""===d.firstChild.getAttribute("value")}))||addHandle("value",(function(d,b,x){if(!x&&"input"===d.nodeName.toLowerCase())return d.defaultValue})),assert((function(d){return null==d.getAttribute("disabled")}))||addHandle(ke,(function(d,b,x){var T;if(!x)return!0===d[b]?b.toLowerCase():(T=d.getAttributeNode(b))&&T.specified?T.value:null})),Sizzle}(T);ce.find=de,(ce.expr=de.selectors)[":"]=ce.expr.pseudos,ce.uniqueSort=ce.unique=de.uniqueSort,ce.text=de.getText,ce.isXMLDoc=de.isXML,
vendor: 5,820 bytes, line 736
736ce.contains=de.contains,ce.escapeSelector=de.escape;var dir=function(d,b,x){for(var T=[],D=void 0!==x;(d=d[b])&&9!==d.nodeType;)if(1===d.nodeType){if(D&&ce(d).is(x))break;T.push(d)}return T},_siblings=function(d,b){for(var x=[];d;d=d.nextSibling)1===d.nodeType&&d!==b&&x.push(d);return x},he=ce.expr.match.needsContext;function nodeName(d,b){return d.nodeName&&d.nodeName.toLowerCase()===b.toLowerCase()}var pe=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function winnow(d,b,x){return isFunction(b)?ce.grep(d,(function(d,T){return!!b.call(d,T,d)!==x})):b.nodeType?ce.grep(d,(function(d){return d===b!==x})):"string"!=typeof b?ce.grep(d,(function(d){return Z.call(b,d)>-1!==x})):ce.filter(b,d,x)}ce.filter=function(d,b,x){var T=b[0];return x&&(d=":not("+d+")"),1===b.length&&1===T.nodeType?ce.find.matchesSelector(T,d)?[T]:[]:ce.find.matches(d,ce.grep(b,(function(d){return 1===d.nodeType})))},ce.fn.extend({find:function(d){var b,x,T=this.length,D=this;if("string"!=typeof d)return this.pushStack(ce(d).filter((function(){for(b=0;b<T;b++)if(ce.contains(D[b],this))return!0})));for(x=this.pushStack([]),b=0;b<T;b++)ce.find(d,D[b],x);return T>1?ce.uniqueSort(x):x},filter:function(d){return this.pushStack(winnow(this,d||[],!1))},not:function(d){return this.pushStack(winnow(this,d||[],!0))},is:function(d){return!!winnow(this,"string"==typeof d&&he.test(d)?ce(d):d||[],!1).length}});var fe,ge=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(ce.fn.init=function(d,b,x){var T,D;if(!d)return this;if(x=x||fe,"string"==typeof d){if(!(T="<"===d[0]&&">"===d[d.length-1]&&d.length>=3?[null,d,null]:ge.exec(d))||!T[1]&&b)return!b||b.jquery?(b||x).find(d):this.constructor(b).find(d);if(T[1]){if(b=b instanceof ce?b[0]:b,ce.merge(this,ce.parseHTML(T[1],b&&b.nodeType?b.ownerDocument||b:se,!0)),pe.test(T[1])&&ce.isPlainObject(b))for(T in b)isFunction(this[T])?this[T](b[T]):this.attr(T,b[T]);return this}return(D=se.getElementById(T[2]))&&(this[0]=D,this.length=1),this}return d.nodeType?(this[0]=d,this.length=1,this):isFunction(d)?void 0!==x.ready?x.ready(d):d(ce):ce.makeArray(d,this)}).prototype=ce.fn,fe=ce(se);var me=/^(?:parents|prev(?:Until|All))/,ye={children:!0,contents:!0,next:!0,prev:!0};function sibling(d,b){for(;(d=d[b])&&1!==d.nodeType;);return d}ce.fn.extend({has:function(d){var b=ce(d,this),x=b.length;return this.filter((function(){for(var d=0;d<x;d++)if(ce.contains(this,b[d]))return!0}))},closest:function(d,b){var x,T=0,D=this.length,z=[],H="string"!=typeof d&&ce(d);if(!he.test(d))for(;T<D;T++)for(x=this[T];x&&x!==b;x=x.parentNode)if(x.nodeType<11&&(H?H.index(x)>-1:1===x.nodeType&&ce.find.matchesSelector(x,d))){z.push(x);break}return this.pushStack(z.length>1?ce.uniqueSort(z):z)},index:function(d){return d?"string"==typeof d?Z.call(ce(d),this[0]):Z.call(this,d.jquery?d[0]:d):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(d,b){return this.pushStack(ce.uniqueSort(ce.merge(this.get(),ce(d,b))))},addBack:function(d){return this.add(null==d?this.prevObject:this.prevObject.filter(d))}}),ce.each({parent:function(d){var b=d.parentNode;return b&&11!==b.nodeType?b:null},parents:function(d){return dir(d,"parentNode")},parentsUntil:function(d,b,x){return dir(d,"parentNode",x)},next:function(d){return sibling(d,"nextSibling")},prev:function(d){return sibling(d,"previousSibling")},nextAll:function(d){return dir(d,"nextSibling")},prevAll:function(d){return dir(d,"previousSibling")},nextUntil:function(d,b,x){return dir(d,"nextSibling",x)},prevUntil:function(d,b,x){return dir(d,"previousSibling",x)},siblings:function(d){return _siblings((d.parentNode||{}).firstChild,d)},children:function(d){return _siblings(d.firstChild)},contents:function(d){return null!=d.contentDocument&&H(d.contentDocument)?d.contentDocument:(nodeName(d,"template")&&(d=d.content||d),ce.merge([],d.childNodes))}},(function(d,b){ce.fn[d]=function(x,T){var D=ce.map(this,b,x);return"Until"!==d.slice(-5)&&(T=x),T&&"string"==typeof T&&(D=ce.filter(T,D)),this.length>1&&(ye[d]||ce.uniqueSort(D),me.test(d)&&D.reverse()),this.pushStack(D)}}));var ve=/[^\x20\t\r\n\f]+/g;function Identity(d){return d}function Thrower(d){throw d}function adoptValue(d,b,x,T){var D;try{d&&isFunction(D=d.promise)?D.call(d).done(b).fail(x):d&&isFunction(D=d.then)?D.call(d,b,x):b.apply(void 0,[d].slice(T))}catch(d){x.apply(void 0,[d])}}ce.Callbacks=function(d){d="string"==typeof d?function(d){var b={};return ce.each(d.match(ve)||[],(function(d,x){b[x]=!0})),b}(d):ce.extend({},d);var b,x,T,D,z=[],H=[],W=-1,fire=function(){for(D=D||d.once,T=b=!0;H.length;W=-1)for(x=H.shift();++W<z.length;)!1===z[W].apply(x[0],x[1])&&d.stopOnFalse&&(W=z.length,x=!1);d.memory||(x=!1),b=!1,D&&(z=x?[]:"")},U={add:function(){return z&&(x&&!b&&(W=z.length-1,H.push(x)),function add(b){ce.each(b,(function(b,x){isFunction(x)?d.unique&&U.has(x)||z.push(x):x&&x.length&&"string"!==toType(x)&&add(x)}))}(arguments),x&&!b&&fire()),this},remove:function(){return ce.each(arguments,(function(d,b){for(var x;(x=ce.inArray(b,z,x))>-1;)z.splice(x,1),x<=W&&W--})),this},has:function(d){return d?ce.inArray(d,z)>-1:z.length>0},empty:function(){return z&&(z=[]),this},disable:function(){return D=H=[],z=x="",this},disabled:function(){return!z},lock:function(){return D=H=[],x||b||(z=x=""),this},locked:function(){return!!D},fireWith:function(d,x){return D||(x=[d,(x=x||[]).slice?x.slice():x],H.push(x),b||fire()),this},fire:function(){return U.fireWith(this,arguments),this},fired:function(){return!!T}};return U},ce.extend({Deferred:function(d){var b=[["notify","progress",ce.Callbacks("memory"),ce.Callbacks("memory"),2],["resolve","done",ce.Callbacks("once memory"),ce.Callbacks("once memory"),0,"resolved"],["reject","fail",ce.Callbacks("once memory"),ce.Callbacks("once memory"),1,"rejected"]],x="pending",D={state:function(){return x}
vendor: 6,063 bytes, line 736
736,always:function(){return z.done(arguments).fail(arguments),this},catch:function(d){return D.then(null,d)},pipe:function(){var d=arguments;return ce.Deferred((function(x){ce.each(b,(function(b,T){var D=isFunction(d[T[4]])&&d[T[4]];z[T[1]]((function(){var d=D&&D.apply(this,arguments);d&&isFunction(d.promise)?d.promise().progress(x.notify).done(x.resolve).fail(x.reject):x[T[0]+"With"](this,D?[d]:arguments)}))})),d=null})).promise()},then:function(d,x,D){var z=0;function resolve(d,b,x,D){return function(){var H=this,W=arguments,mightThrow=function(){var T,U;if(!(d<z)){if((T=x.apply(H,W))===b.promise())throw new TypeError("Thenable self-resolution");U=T&&("object"===_typeof(T)||"function"==typeof T)&&T.then,isFunction(U)?D?U.call(T,resolve(z,b,Identity,D),resolve(z,b,Thrower,D)):(z++,U.call(T,resolve(z,b,Identity,D),resolve(z,b,Thrower,D),resolve(z,b,Identity,b.notifyWith))):(x!==Identity&&(H=void 0,W=[T]),(D||b.resolveWith)(H,W))}},U=D?mightThrow:function(){try{mightThrow()}catch(T){ce.Deferred.exceptionHook&&ce.Deferred.exceptionHook(T,U.stackTrace),d+1>=z&&(x!==Thrower&&(H=void 0,W=[T]),b.rejectWith(H,W))}};d?U():(ce.Deferred.getStackHook&&(U.stackTrace=ce.Deferred.getStackHook()),T.setTimeout(U))}}return ce.Deferred((function(T){b[0][3].add(resolve(0,T,isFunction(D)?D:Identity,T.notifyWith)),b[1][3].add(resolve(0,T,isFunction(d)?d:Identity)),b[2][3].add(resolve(0,T,isFunction(x)?x:Thrower))})).promise()},promise:function(d){return null!=d?ce.extend(d,D):D}},z={};return ce.each(b,(function(d,T){var H=T[2],W=T[5];D[T[1]]=H.add,W&&H.add((function(){x=W}),b[3-d][2].disable,b[3-d][3].disable,b[0][2].lock,b[0][3].lock),H.add(T[3].fire),z[T[0]]=function(){return z[T[0]+"With"](this===z?void 0:this,arguments),this},z[T[0]+"With"]=H.fireWith})),D.promise(z),d&&d.call(z,z),z},when:function(d){var b=arguments.length,x=b,T=Array(x),D=W.call(arguments),z=ce.Deferred(),updateFunc=function(d){return function(x){T[d]=this,D[d]=arguments.length>1?W.call(arguments):x,--b||z.resolveWith(T,D)}};if(b<=1&&(adoptValue(d,z.done(updateFunc(x)).resolve,z.reject,!b),"pending"===z.state()||isFunction(D[x]&&D[x].then)))return z.then();for(;x--;)adoptValue(D[x],updateFunc(x),z.reject);return z.promise()}});var xe=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;ce.Deferred.exceptionHook=function(d,b){T.console&&T.console.warn&&d&&xe.test(d.name)&&T.console.warn("jQuery.Deferred exception: "+d.message,d.stack,b)},ce.readyException=function(d){T.setTimeout((function(){throw d}))};var _e=ce.Deferred();function completed(){se.removeEventListener("DOMContentLoaded",completed),T.removeEventListener("load",completed),ce.ready()}ce.fn.ready=function(d){return _e.then(d).catch((function(d){ce.readyException(d)})),this},ce.extend({isReady:!1,readyWait:1,ready:function(d){(!0===d?--ce.readyWait:ce.isReady)||(ce.isReady=!0,!0!==d&&--ce.readyWait>0||_e.resolveWith(se,[ce]))}}),ce.ready.then=_e.then,"complete"===se.readyState||"loading"!==se.readyState&&!se.documentElement.doScroll?T.setTimeout(ce.ready):(se.addEventListener("DOMContentLoaded",completed),T.addEventListener("load",completed));var we=function access(d,b,x,T,D,z,H){var W=0,U=d.length,Y=null==x;if("object"===toType(x))for(W in D=!0,x)access(d,b,W,x[W],!0,z,H);else if(void 0!==T&&(D=!0,isFunction(T)||(H=!0),Y&&(H?(b.call(d,T),b=null):(Y=b,b=function(d,b,x){return Y.call(ce(d),x)})),b))for(;W<U;W++)b(d[W],x,H?T:T.call(d[W],W,b(d[W],x)));return D?d:Y?b.call(d):U?b(d[0],x):z},Se=/^-ms-/,Me=/-([a-z])/g;function fcamelCase(d,b){return b.toUpperCase()}function camelCase(d){return d.replace(Se,"ms-").replace(Me,fcamelCase)}var acceptData=function(d){return 1===d.nodeType||9===d.nodeType||!+d.nodeType};function Data(){this.expando=ce.expando+Data.uid++}Data.uid=1,Data.prototype={cache:function(d){var b=d[this.expando];return b||(b={},acceptData(d)&&(d.nodeType?d[this.expando]=b:Object.defineProperty(d,this.expando,{value:b,configurable:!0}))),b},set:function(d,b,x){var T,D=this.cache(d);if("string"==typeof b)D[camelCase(b)]=x;else for(T in b)D[camelCase(T)]=b[T];return D},get:function(d,b){return void 0===b?this.cache(d):d[this.expando]&&d[this.expando][camelCase(b)]},access:function(d,b,x){return void 0===b||b&&"string"==typeof b&&void 0===x?this.get(d,b):(this.set(d,b,x),void 0!==x?x:b)},remove:function(d,b){var x,T=d[this.expando];if(void 0!==T){if(void 0!==b){x=(b=Array.isArray(b)?b.map(camelCase):(b=camelCase(b))in T?[b]:b.match(ve)||[]).length;for(;x--;)delete T[b[x]]}(void 0===b||ce.isEmptyObject(T))&&(d.nodeType?d[this.expando]=void 0:delete d[this.expando])}},hasData:function(d){var b=d[this.expando];return void 0!==b&&!ce.isEmptyObject(b)}};var Te=new Data,ke=new Data,Pe=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ee=/[A-Z]/g;function dataAttr(d,b,x){var T;if(void 0===x&&1===d.nodeType)if(T="data-"+b.replace(Ee,"-$&").toLowerCase(),"string"==typeof(x=d.getAttribute(T))){try{x=function(d){return"true"===d||"false"!==d&&("null"===d?null:d===+d+""?+d:Pe.test(d)?JSON.parse(d):d)}(x)}catch(d){}ke.set(d,b,x)}else x=void 0;return x}ce.extend({hasData:function(d){return ke.hasData(d)||Te.hasData(d)},data:function(d,b,x){return ke.access(d,b,x)},removeData:function(d,b){ke.remove(d,b)},_data:function(d,b,x){return Te.access(d,b,x)},_removeData:function(d,b){Te.remove(d,b)}}),ce.fn.extend({data:function(d,b){var x,T,D,z=this[0],H=z&&z.attributes;if(void 0===d){if(this.length&&(D=ke.get(z),1===z.nodeType&&!Te.get(z,"hasDataAttrs"))){for(x=H.length;x--;)H[x]&&0===(T=H[x].name).indexOf("data-")&&(T=camelCase(T.slice(5)),dataAttr(z,T,D[T]));Te.set(z,"hasDataAttrs",!0)}return D}return"object"===_typeof(d)?this.each((function(){ke.set(this,d)})):we(this,(function(b){var x;if(z&&void 0===b)return void 0!==(x=ke.get(z,d))||void 0!==(x=dataAttr(z,d))?x:void 0;this.each((function(){ke.set(this,d,b)}))}),null,b,arguments.length>1,null,!0)},removeData:function(d){return this.each((function(){ke.remove(this,d)}))}}),ce.extend({queue:function(d,b,x){var T;if(d)return b=(b||"fx")+"queue",T=Te.get(d,b),x&&(!T||Array.isArray(x)?T=Te.access(d,b,ce.makeArray(x)
vendor: 4,276 bytes, line 736
736):T.push(x)),T||[]},dequeue:function(d,b){var x=ce.queue(d,b=b||"fx"),T=x.length,D=x.shift(),z=ce._queueHooks(d,b);"inprogress"===D&&(D=x.shift(),T--),D&&("fx"===b&&x.unshift("inprogress"),delete z.stop,D.call(d,(function(){ce.dequeue(d,b)}),z)),!T&&z&&z.empty.fire()},_queueHooks:function(d,b){var x=b+"queueHooks";return Te.get(d,x)||Te.access(d,x,{empty:ce.Callbacks("once memory").add((function(){Te.remove(d,[b+"queue",x])}))})}}),ce.fn.extend({queue:function(d,b){var x=2;return"string"!=typeof d&&(b=d,d="fx",x--),arguments.length<x?ce.queue(this[0],d):void 0===b?this:this.each((function(){var x=ce.queue(this,d,b);ce._queueHooks(this,d),"fx"===d&&"inprogress"!==x[0]&&ce.dequeue(this,d)}))},dequeue:function(d){return this.each((function(){ce.dequeue(this,d)}))},clearQueue:function(d){return this.queue(d||"fx",[])},promise:function(d,b){var x,T=1,D=ce.Deferred(),z=this,H=this.length,resolve=function(){--T||D.resolveWith(z,[z])};for("string"!=typeof d&&(b=d,d=void 0),d=d||"fx";H--;)(x=Te.get(z[H],d+"queueHooks"))&&x.empty&&(T++,x.empty.add(resolve));return resolve(),D.promise(b)}});var Le=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Ne=new RegExp("^(?:([+-])=|)("+Le+")([a-z%]*)$","i"),Ve=["Top","Right","Bottom","Left"],Fe=se.documentElement,isAttached=function(d){return ce.contains(d.ownerDocument,d)},Ge={composed:!0};Fe.getRootNode&&(isAttached=function(d){return ce.contains(d.ownerDocument,d)||d.getRootNode(Ge)===d.ownerDocument});var isHiddenWithinTree=function(d,b){return"none"===(d=b||d).style.display||""===d.style.display&&isAttached(d)&&"none"===ce.css(d,"display")};function adjustCSS(d,b,x,T){var D,z,H=20,W=T?function(){return T.cur()}:function(){return ce.css(d,b,"")},U=W(),Y=x&&x[3]||(ce.cssNumber[b]?"":"px"),Z=d.nodeType&&(ce.cssNumber[b]||"px"!==Y&&+U)&&Ne.exec(ce.css(d,b));if(Z&&Z[3]!==Y){for(U/=2,Y=Y||Z[3],Z=+U||1;H--;)ce.style(d,b,Z+Y),(1-z)*(1-(z=W()/U||.5))<=0&&(H=0),Z/=z;ce.style(d,b,(Z*=2)+Y),x=x||[]}return x&&(Z=+Z||+U||0,D=x[1]?Z+(x[1]+1)*x[2]:+x[2],T&&(T.unit=Y,T.start=Z,T.end=D)),D}var Ye={};function getDefaultDisplay(d){var b,x=d.ownerDocument,T=d.nodeName,D=Ye[T];return D||(b=x.body.appendChild(x.createElement(T)),D=ce.css(b,"display"),b.parentNode.removeChild(b),"none"===D&&(D="block"),Ye[T]=D,D)}function showHide(d,b){for(var x,T,D=[],z=0,H=d.length;z<H;z++)(T=d[z]).style&&(x=T.style.display,b?("none"===x&&(D[z]=Te.get(T,"display")||null,D[z]||(T.style.display="")),""===T.style.display&&isHiddenWithinTree(T)&&(D[z]=getDefaultDisplay(T))):"none"!==x&&(D[z]="none",Te.set(T,"display",x)));for(z=0;z<H;z++)null!=D[z]&&(d[z].style.display=D[z]);return d}ce.fn.extend({show:function(){return showHide(this,!0)},hide:function(){return showHide(this)},toggle:function(d){return"boolean"==typeof d?d?this.show():this.hide():this.each((function(){isHiddenWithinTree(this)?ce(this).show():ce(this).hide()}))}});var Xe,Ke,Qe=/^(?:checkbox|radio)$/i,et=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,tt=/^$|^module$|\/(?:java|ecma)script/i;Xe=se.createDocumentFragment().appendChild(se.createElement("div")),(Ke=se.createElement("input")).setAttribute("type","radio"),Ke.setAttribute("checked","checked"),Ke.setAttribute("name","t"),Xe.appendChild(Ke),oe.checkClone=Xe.cloneNode(!0).cloneNode(!0).lastChild.checked,Xe.innerHTML="<textarea>x</textarea>",oe.noCloneChecked=!!Xe.cloneNode(!0).lastChild.defaultValue,Xe.innerHTML="<option></option>",oe.option=!!Xe.lastChild;var nt={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function getAll(d,b){var x;return x=void 0!==d.getElementsByTagName?d.getElementsByTagName(b||"*"):void 0!==d.querySelectorAll?d.querySelectorAll(b||"*"):[],void 0===b||b&&nodeName(d,b)?ce.merge([d],x):x}function setGlobalEval(d,b){for(var x=0,T=d.length;x<T;x++)Te.set(d[x],"globalEval",!b||Te.get(b[x],"globalEval"))}nt.tbody=nt.tfoot=nt.colgroup=nt.caption=nt.thead,nt.th=nt.td,oe.option||(nt.optgroup=nt.option=[1,"<select multiple='multiple'>","</select>"]);var ot=/<|&#?\w+;/;function buildFragment(d,b,x,T,D){for(var z,H,W,U,Y,Z,J=b.createDocumentFragment(),ee=[],te=0,ne=d.length;te<ne;te++)if((z=d[te])||0===z)if("object"===toType(z))ce.merge(ee,z.n
vendor: 4,097 bytes, line 736
736odeType?[z]:z);else if(ot.test(z)){for(H=H||J.appendChild(b.createElement("div")),W=(et.exec(z)||["",""])[1].toLowerCase(),U=nt[W]||nt._default,H.innerHTML=U[1]+ce.htmlPrefilter(z)+U[2],Z=U[0];Z--;)H=H.lastChild;ce.merge(ee,H.childNodes),(H=J.firstChild).textContent=""}else ee.push(b.createTextNode(z));for(J.textContent="",te=0;z=ee[te++];)if(T&&ce.inArray(z,T)>-1)D&&D.push(z);else if(Y=isAttached(z),H=getAll(J.appendChild(z),"script"),Y&&setGlobalEval(H),x)for(Z=0;z=H[Z++];)tt.test(z.type||"")&&x.push(z);return J}var lt=/^key/,ut=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ht=/^([^.]*)(?:\.(.+)|)/;function returnTrue(){return!0}function returnFalse(){return!1}function expectSync(d,b){return d===function(){try{return se.activeElement}catch(d){}}()==("focus"===b)}function _on(d,b,x,T,D,z){var H,W;if("object"===_typeof(b)){for(W in"string"!=typeof x&&(T=T||x,x=void 0),b)_on(d,W,x,T,b[W],z);return d}if(null==T&&null==D?(D=x,T=x=void 0):null==D&&("string"==typeof x?(D=T,T=void 0):(D=T,T=x,x=void 0)),!1===D)D=returnFalse;else if(!D)return d;return 1===z&&(H=D,(D=function(d){return ce().off(d),H.apply(this,arguments)}).guid=H.guid||(H.guid=ce.guid++)),d.each((function(){ce.event.add(this,b,D,T,x)}))}function leverageNative(d,b,x){x?(Te.set(d,b,!1),ce.event.add(d,b,{namespace:!1,handler:function(d){var T,D,z=Te.get(this,b);if(1&d.isTrigger&&this[b]){if(z.length)(ce.event.special[b]||{}).delegateType&&d.stopPropagation();else if(z=W.call(arguments),Te.set(this,b,z),T=x(this,b),this[b](),z!==(D=Te.get(this,b))||T?Te.set(this,b,!1):D={},z!==D)return d.stopImmediatePropagation(),d.preventDefault(),D.value}else z.length&&(Te.set(this,b,{value:ce.event.trigger(ce.extend(z[0],ce.Event.prototype),z.slice(1),this)}),d.stopImmediatePropagation())}})):void 0===Te.get(d,b)&&ce.event.add(d,b,returnTrue)}ce.event={global:{},add:function(d,b,x,T,D){var z,H,W,U,Y,Z,J,ee,te,ne,ie,oe=Te.get(d);if(acceptData(d))for(x.handler&&(x=(z=x).handler,D=z.selector),D&&ce.find.matchesSelector(Fe,D),x.guid||(x.guid=ce.guid++),(U=oe.events)||(U=oe.events=Object.create(null)),(H=oe.handle)||(H=oe.handle=function(b){return void 0!==ce&&ce.event.triggered!==b.type?ce.event.dispatch.apply(d,arguments):void 0}),Y=(b=(b||"").match(ve)||[""]).length;Y--;)te=ie=(W=ht.exec(b[Y])||[])[1],ne=(W[2]||"").split(".").sort(),te&&(J=ce.event.special[te]||{},te=(D?J.delegateType:J.bindType)||te,J=ce.event.special[te]||{},Z=ce.extend({type:te,origType:ie,data:T,handler:x,guid:x.guid,selector:D,needsContext:D&&ce.expr.match.needsContext.test(D),namespace:ne.join(".")},z),(ee=U[te])||((ee=U[te]=[]).delegateCount=0,J.setup&&!1!==J.setup.call(d,T,ne,H)||d.addEventListener&&d.addEventListener(te,H)),J.add&&(J.add.call(d,Z),Z.handler.guid||(Z.handler.guid=x.guid)),D?ee.splice(ee.delegateCount++,0,Z):ee.push(Z),ce.event.global[te]=!0)},remove:function(d,b,x,T,D){var z,H,W,U,Y,Z,J,ee,te,ne,ie,oe=Te.hasData(d)&&Te.get(d);if(oe&&(U=oe.events)){for(Y=(b=(b||"").match(ve)||[""]).length;Y--;)if(te=ie=(W=ht.exec(b[Y])||[])[1],ne=(W[2]||"").split(".").sort(),te){for(J=ce.event.special[te]||{},ee=U[te=(T?J.delegateType:J.bindType)||te]||[],W=W[2]&&new RegExp("(^|\\.)"+ne.join("\\.(?:.*\\.|)")+"(\\.|$)"),H=z=ee.length;z--;)Z=ee[z],!D&&ie!==Z.origType||x&&x.guid!==Z.guid||W&&!W.test(Z.namespace)||T&&T!==Z.selector&&("**"!==T||!Z.selector)||(ee.splice(z,1),Z.selector&&ee.delegateCount--,J.remove&&J.remove.call(d,Z));H&&!ee.length&&(J.teardown&&!1!==J.teardown.call(d,ne,oe.handle)||ce.removeEvent(d,te,oe.handle),delete U[te])}else for(te in U)ce.event.remove(d,te+b[Y],x,T,!0);ce.isEmptyObject(U)&&Te.remove(d,"handle events")}},dispatch:function(d){var b,x,T,D,z,H,W=new Array(arguments.length),U=ce.event.fix(d),Y=(Te.get(this,"events")||Object.create(null))[U.type]||[],Z=ce.event.special[U.type]||{};for(W[0]=U,b=1;b<arguments.length;b++)W[b]=arguments[b];if(U.delegateTarget=this,!Z.preDispatch||!1!==Z.preDispatch.call(this,U)){for(H=ce.event.handlers.call(this,U,Y),b=0;(D=H[b++])&&!U.isPropagationStopped();)for(U.currentTarget=D.elem,x=0;(z=D.handlers[x++])&&!U.isImmediatePropagationStopped();
vendor: 3,614 bytes, line 736
736)U.rnamespace&&!1!==z.namespace&&!U.rnamespace.test(z.namespace)||(U.handleObj=z,U.data=z.data,void 0!==(T=((ce.event.special[z.origType]||{}).handle||z.handler).apply(D.elem,W))&&!1===(U.result=T)&&(U.preventDefault(),U.stopPropagation()));return Z.postDispatch&&Z.postDispatch.call(this,U),U.result}},handlers:function(d,b){var x,T,D,z,H,W=[],U=b.delegateCount,Y=d.target;if(U&&Y.nodeType&&!("click"===d.type&&d.button>=1))for(;Y!==this;Y=Y.parentNode||this)if(1===Y.nodeType&&("click"!==d.type||!0!==Y.disabled)){for(z=[],H={},x=0;x<U;x++)void 0===H[D=(T=b[x]).selector+" "]&&(H[D]=T.needsContext?ce(D,this).index(Y)>-1:ce.find(D,this,null,[Y]).length),H[D]&&z.push(T);z.length&&W.push({elem:Y,handlers:z})}return Y=this,U<b.length&&W.push({elem:Y,handlers:b.slice(U)}),W},addProp:function(d,b){Object.defineProperty(ce.Event.prototype,d,{enumerable:!0,configurable:!0,get:isFunction(b)?function(){if(this.originalEvent)return b(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[d]},set:function(b){Object.defineProperty(this,d,{enumerable:!0,configurable:!0,writable:!0,value:b})}})},fix:function(d){return d[ce.expando]?d:new ce.Event(d)},special:{load:{noBubble:!0},click:{setup:function(d){var b=this||d;return Qe.test(b.type)&&b.click&&nodeName(b,"input")&&leverageNative(b,"click",returnTrue),!1},trigger:function(d){var b=this||d;return Qe.test(b.type)&&b.click&&nodeName(b,"input")&&leverageNative(b,"click"),!0},_default:function(d){var b=d.target;return Qe.test(b.type)&&b.click&&nodeName(b,"input")&&Te.get(b,"click")||nodeName(b,"a")}},beforeunload:{postDispatch:function(d){void 0!==d.result&&d.originalEvent&&(d.originalEvent.returnValue=d.result)}}}},ce.removeEvent=function(d,b,x){d.removeEventListener&&d.removeEventListener(b,x)},(ce.Event=function(d,b){if(!(this instanceof ce.Event))return new ce.Event(d,b);d&&d.type?(this.originalEvent=d,this.type=d.type,this.isDefaultPrevented=d.defaultPrevented||void 0===d.defaultPrevented&&!1===d.returnValue?returnTrue:returnFalse,this.target=d.target&&3===d.target.nodeType?d.target.parentNode:d.target,this.currentTarget=d.currentTarget,this.relatedTarget=d.relatedTarget):this.type=d,b&&ce.extend(this,b),this.timeStamp=d&&d.timeStamp||Date.now(),this[ce.expando]=!0}).prototype={constructor:ce.Event,isDefaultPrevented:returnFalse,isPropagationStopped:returnFalse,isImmediatePropagationStopped:returnFalse,isSimulated:!1,preventDefault:function(){var d=this.originalEvent;this.isDefaultPrevented=returnTrue,d&&!this.isSimulated&&d.preventDefault()},stopPropagation:function(){var d=this.originalEvent;this.isPropagationStopped=returnTrue,d&&!this.isSimulated&&d.stopPropagation()},stopImmediatePropagation:function(){var d=this.originalEvent;this.isImmediatePropagationStopped=returnTrue,d&&!this.isSimulated&&d.stopImmediatePropagation(),this.stopPropagation()}},ce.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(d){var b=d.button;return null==d.which&&lt.test(d.type)?null!=d.charCode?d.charCode:d.keyCode:!d.which&&void 0!==b&&ut.test(d.type)?1&b?1:2&b?3:4&b?2:0:d.which}},ce.event.addProp),ce.each({focus:"focusin",blur:"focusout"},(function(d,b){ce.event.special[d]={setup:function(){return leverageNative(this,d,expectSync),!1},trigger:function(){return leverageNative(this,d),!0},delegateType:b}}
vendor: 10,858 bytes, line 736
736)),ce.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(d,b){ce.event.special[d]={delegateType:b,bindType:b,handle:function(d){var x,T=this,D=d.relatedTarget,z=d.handleObj;return D&&(D===T||ce.contains(T,D))||(d.type=z.origType,x=z.handler.apply(this,arguments),d.type=b),x}}})),ce.fn.extend({on:function(d,b,x,T){return _on(this,d,b,x,T)},one:function(d,b,x,T){return _on(this,d,b,x,T,1)},off:function(d,b,x){var T,D;if(d&&d.preventDefault&&d.handleObj)return T=d.handleObj,ce(d.delegateTarget).off(T.namespace?T.origType+"."+T.namespace:T.origType,T.selector,T.handler),this;if("object"===_typeof(d)){for(D in d)this.off(D,b,d[D]);return this}return!1!==b&&"function"!=typeof b||(x=b,b=void 0),!1===x&&(x=returnFalse),this.each((function(){ce.event.remove(this,d,x,b)}))}});var pt=/<script|<style|<link/i,gt=/checked\s*(?:[^=]|=\s*.checked.)/i,yt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function manipulationTarget(d,b){return nodeName(d,"table")&&nodeName(11!==b.nodeType?b:b.firstChild,"tr")&&ce(d).children("tbody")[0]||d}function disableScript(d){return d.type=(null!==d.getAttribute("type"))+"/"+d.type,d}function restoreScript(d){return"true/"===(d.type||"").slice(0,5)?d.type=d.type.slice(5):d.removeAttribute("type"),d}function cloneCopyEvent(d,b){var x,T,D,z,H,W;if(1===b.nodeType){if(Te.hasData(d)&&(W=Te.get(d).events))for(D in Te.remove(b,"handle events"),W)for(x=0,T=W[D].length;x<T;x++)ce.event.add(b,D,W[D][x]);ke.hasData(d)&&(z=ke.access(d),H=ce.extend({},z),ke.set(b,H))}}function fixInput(d,b){var x=b.nodeName.toLowerCase();"input"===x&&Qe.test(d.type)?b.checked=d.checked:"input"!==x&&"textarea"!==x||(b.defaultValue=d.defaultValue)}function domManip(d,b,x,T){b=U(b);var D,z,H,W,Y,Z,J=0,ee=d.length,te=ee-1,ne=b[0],ie=isFunction(ne);if(ie||ee>1&&"string"==typeof ne&&!oe.checkClone&&gt.test(ne))return d.each((function(D){var z=d.eq(D);ie&&(b[0]=ne.call(this,D,z.html())),domManip(z,b,x,T)}));if(ee&&(z=(D=buildFragment(b,d[0].ownerDocument,!1,d,T)).firstChild,1===D.childNodes.length&&(D=z),z||T)){for(W=(H=ce.map(getAll(D,"script"),disableScript)).length;J<ee;J++)Y=D,J!==te&&(Y=ce.clone(Y,!0,!0),W&&ce.merge(H,getAll(Y,"script"))),x.call(d[J],Y,J);if(W)for(Z=H[H.length-1].ownerDocument,ce.map(H,restoreScript),J=0;J<W;J++)Y=H[J],tt.test(Y.type||"")&&!Te.access(Y,"globalEval")&&ce.contains(Z,Y)&&(Y.src&&"module"!==(Y.type||"").toLowerCase()?ce._evalUrl&&!Y.noModule&&ce._evalUrl(Y.src,{nonce:Y.nonce||Y.getAttribute("nonce")},Z):DOMEval(Y.textContent.replace(yt,""),Y,Z))}return d}function _remove(d,b,x){for(var T,D=b?ce.filter(b,d):d,z=0;null!=(T=D[z]);z++)x||1!==T.nodeType||ce.cleanData(getAll(T)),T.parentNode&&(x&&isAttached(T)&&setGlobalEval(getAll(T,"script")),T.parentNode.removeChild(T));return d}ce.extend({htmlPrefilter:function(d){return d},clone:function(d,b,x){var T,D,z,H,W=d.cloneNode(!0),U=isAttached(d);if(!(oe.noCloneChecked||1!==d.nodeType&&11!==d.nodeType||ce.isXMLDoc(d)))for(H=getAll(W),T=0,D=(z=getAll(d)).length;T<D;T++)fixInput(z[T],H[T]);if(b)if(x)for(z=z||getAll(d),H=H||getAll(W),T=0,D=z.length;T<D;T++)cloneCopyEvent(z[T],H[T]);else cloneCopyEvent(d,W);return(H=getAll(W,"script")).length>0&&setGlobalEval(H,!U&&getAll(d,"script")),W},cleanData:function(d){for(var b,x,T,D=ce.event.special,z=0;void 0!==(x=d[z]);z++)if(acceptData(x)){if(b=x[Te.expando]){if(b.events)for(T in b.events)D[T]?ce.event.remove(x,T):ce.removeEvent(x,T,b.handle);x[Te.expando]=void 0}x[ke.expando]&&(x[ke.expando]=void 0)}}}),ce.fn.extend({detach:function(d){return _remove(this,d,!0)},remove:function(d){return _remove(this,d)},text:function(d){return we(this,(function(d){return void 0===d?ce.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=d)}))}),null,d,arguments.length)},append:function(){return domManip(this,arguments,(function(d){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||manipulationTarget(this,d).appendChild(d)}))},prepend:function(){return domManip(this,arguments,(function(d){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=manipulationTarget(this,d);b.insertBefore(d,b.firstChild)}}))},before:function(){return domManip(this,arguments,(function(d){this.parentNode&&this.parentNode.insertBefore(d,this)}))},after:function(){return domManip(this,arguments,(function(d){this.parentNode&&this.parentNode.insertBefore(d,this.nextSibling)}))},empty:function(){for(var d,b=0;null!=(d=this[b]);b++)1===d.nodeType&&(ce.cleanData(getAll(d,!1)),d.textContent="");return this},clone:function(d,b){return d=null!=d&&d,b=null==b?d:b,this.map((function(){return ce.clone(this,d,b)}))},html:function(d){return we(this,(function(d){var b=this[0]||{},x=0,T=this.length;if(void 0===d&&1===b.nodeType)return b.innerHTML;if("string"==typeof d&&!pt.test(d)&&!nt[(et.exec(d)||["",""])[1].toLowerCase()]){d=ce.htmlPrefilter(d);try{for(;x<T;x++)1===(b=this[x]||{}).nodeType&&(ce.cleanData(getAll(b,!1)),b.innerHTML=d);b=0}catch(d){}}b&&this.empty().append(d)}),null,d,arguments.length)},replaceWith:function(){var d=[];return domManip(this,arguments,(function(b){var x=this.parentNode;ce.inArray(this,d)<0&&(ce.cleanData(getAll(this)),x&&x.replaceChild(b,this))}),d)}}),ce.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(d,b){ce.fn[d]=function(d){for(var x,T=[],D=ce(d),z=D.length-1,H=0;H<=z;H++)x=H===z?this:this.clone(!0),ce(D[H])[b](x),Y.apply(T,x.get());return this.pushStack(T)}}));var vt=new RegExp("^("+Le+")(?!px)[a-z%]+$","i"),getStyles=function(d){var b=d.ownerDocument.defaultView;return b&&b.opener||(b=T),b.getComputedStyle(d)},swap=function(d,b,x){var T,D,z={};for(D in b)z[D]=d.style[D],d.style[D]=b[D];for(D in T=x.call(d),b)d.style[D]=z[D];return T},wt=new RegExp(Ve.join("|"),"i");function curCSS(d,b,x){var T,D,z,H,W=d.style;return(x=x||getStyles(d))&&(""!==(H=x.getPropertyValue(b)||x[b])||isAttached(d)||(H=ce.style(d,b)),!oe.pixelBoxStyles()&&vt.test(H)&&wt.test(b)&&(T=W.width,D=W.minWidth,z=W.maxWidth,W.minWidth=W.maxWidth=W.width=H,H=x.width,W.width=T,W.minWidth=D,W.maxWidth=z)),void 0!==H?H+"":H}function addGetHookIf(d,b){return{get:function(){if(!d())return(this.get=b).apply(this,arguments);delete this.get}}}!function(){function computeStyleTests(){if(U){W.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",U.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Fe.appendChild(W).appendChild(U);var z=T.getComputedStyle(U);d="1%"!==z.top,H=12===roundPixelMeasures(z.marginLeft),U.style.right="60%",D=36===roundPixelMeasures(z.right),b=36===roundPixelMeasures(z.width),U.style.position="absolute",x=12===roundPixelMeasures(U.offsetWidth/3),Fe.removeChild(W),U=null}}function roundPixelMeasures(d){return Math.round(parseFloat(d))}var d,b,x,D,z,H,W=se.createElement("div"),U=se.createElement("div");U.style&&(U.style.backgroundClip="content-box",U.cloneNode(!0).style.backgroundClip="",oe.clearCloneStyle="content-box"===U.style.backgroundClip,ce.extend(oe,{boxSizingReliable:function(){return computeStyleTests(),b},pixelBoxStyles:function(){return computeStyleTests(),D},pixelPosition:function(){return computeStyleTests(),d},reliableMarginLeft:function(){return computeStyleTests(),H},scrollboxSize:function(){return computeStyleTests(),x},reliableTrDimensions:function(){var d,b,x,D;return null==z&&(d=se.createElement("table"),b=se.createElement("tr"),x=se.createElement("div"),d.style.cssText="position:absolute;left:-11111px",b.style.height="1px",x.style.height="9px",Fe.appendChild(d).appendChild(b).appendChild(x),D=T.getComputedStyle(b),z=parseInt(D.height)>3,Fe.removeChild(d)),z}}))}();var St=["Webkit","Moz","ms"],Mt=se.createElement("div").style,kt={};function finalPropName(d){var b=ce.cssProps[d]||kt[d];return b||(d in Mt?d:kt[d]=function(d){for(var b=d[0].toUpperCase()+d.slice(1),x=St.length;x--;)if((d=St[x]+b)in Mt)return d}(d)||d)}var It=/^(none|table(?!-c[ea]).+)/,Dt=/^--/,Lt={position:"absolute",visibility:"hidden",display:"block"},Rt={letterSpacing:"0",fontWeight:"400"};function setPositiveNumber(d,b,x){var T=Ne.exec(b);return T?Math.max(0,T[2]-(x||0))+(T[3]||"px"):b}function boxModelAdjustment(d,b,x,T,D,z){var H="width"===b?1:0,W=0,U=0;if(x===(T?"border":"content"))return 0;for(;H<4;H+=2)"margin"===x&&(U+=ce.css(d,x+Ve[H],!0,D)),T?("content"===x&&(U-=ce.css(d,"padding"+Ve[H],!0,D)),"margin"!==x&&(U-=ce.css(d,"border"+Ve[H]+"Width",!0,D))):(U+=ce.css(d,"padding"+Ve[H],!0,D),"padding"!==x?U+=ce.css(d,"border"+Ve[H]+"Width",!0,D):W+=ce.css(d,"border"+Ve[H]+"Width",!0,D));return!T&&z>=0&&(U+=Math.max(0,Math.ceil(d["offset"+b[0].toUpperCase()+b.slice(1)]-z-U-W-.5))||0),U}function getWidthOrHeight(d,b,x){var T=getStyles(d),D=(!oe.boxSizingReliable()||x)&&"border-box"===ce.css(d,"boxSizing",!1,T),z=D,H=curCSS(d,b,T),W="offset"+b[0].toUpperCase()+b.slice(1);if(vt.test(H)){if(!x)return H;H="auto"}return(!oe.boxSizingReliable()&&D||!oe.reliableTrDimensions()&&nodeName(d,"tr")||"auto"===H||!parseFloat(H)&&"inline"===ce.css(d,"display",!1,T))&&d.getClientRects().length&&(D="border-box"===ce.css(d,"boxSizing",!1,T),(z=W in d)&&(H=d[W])),(H=parseFloat(H)||0)+boxModelAdjustment(d,b,x||(D?"border":"content"),z,T,H)+"px"}function Tween(d,b,x,T,D){return new Tween.prototype.init(d,b,x,T,D)}ce.extend({cssHooks:{opacity:{get:function(d,b){if(b){var x=curCSS(d,"opacity");return""===x?"1":x}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(d,b,x,T){if(d&&3!==d.nodeType&&8!==d.nodeType&&d.style){var D,z,H,W=camelCase(b),U=Dt.test(b),Y=d.style;if(U||(b=finalPropName(W)),H=ce.cssHooks[b]||ce.cssHooks[W],void 0===x)return H&&"get"in H&&void 0!==(D=H.get(d,!1,T))?D:Y[b];"string"===(z=_typeof(x))&&(D=Ne.exec(x))&&D[1]&&(x=adjustCSS(d,b,D),z="number"),null!=x&&x==x&&("number"!==z||U||(x+=D&&D[3]||(ce.cssNumber[W]?"":"px")),oe.clearCloneStyle||""!==x||0!==b.indexOf("background")||(Y[b]="inherit"),H&&"set"in H&&void 0===(x=H.set(d,x,T))||(U?Y.setProperty(b,x):Y[b]=x))}},css:function(d,b,x,T){var D,z,H,W=camelCase(b);return Dt.test(b)||(b=finalPropName(W)),(H=ce.cssHooks[b]||ce.cssHooks[W])&&"get"in H&&(D=H.get(d,!0,x)),void 0===D&&(D=curCSS(d,b,T)),"normal"===D&&b in Rt&&(D=Rt[b]),""===x||x?(z=parseFloat(D),!0===x||isFinite(z)?z||0:D):D}}),ce.each(["height","width"],(function(d,b){ce.cssHooks[b]={get:function(d,x,T){if(x)return!It.test(ce.css(d,"display"))||d.getClientRects().length&&d.getBoundingClientRect().width?getW
vendor: 6,530 bytes, line 736
736idthOrHeight(d,b,T):swap(d,Lt,(function(){return getWidthOrHeight(d,b,T)}))},set:function(d,x,T){var D,z=getStyles(d),H=!oe.scrollboxSize()&&"absolute"===z.position,W=(H||T)&&"border-box"===ce.css(d,"boxSizing",!1,z),U=T?boxModelAdjustment(d,b,T,W,z):0;return W&&H&&(U-=Math.ceil(d["offset"+b[0].toUpperCase()+b.slice(1)]-parseFloat(z[b])-boxModelAdjustment(d,b,"border",!1,z)-.5)),U&&(D=Ne.exec(x))&&"px"!==(D[3]||"px")&&(d.style[b]=x,x=ce.css(d,b)),setPositiveNumber(0,x,U)}}})),ce.cssHooks.marginLeft=addGetHookIf(oe.reliableMarginLeft,(function(d,b){if(b)return(parseFloat(curCSS(d,"marginLeft"))||d.getBoundingClientRect().left-swap(d,{marginLeft:0},(function(){return d.getBoundingClientRect().left})))+"px"})),ce.each({margin:"",padding:"",border:"Width"},(function(d,b){ce.cssHooks[d+b]={expand:function(x){for(var T=0,D={},z="string"==typeof x?x.split(" "):[x];T<4;T++)D[d+Ve[T]+b]=z[T]||z[T-2]||z[0];return D}},"margin"!==d&&(ce.cssHooks[d+b].set=setPositiveNumber)})),ce.fn.extend({css:function(d,b){return we(this,(function(d,b,x){var T,D,z={},H=0;if(Array.isArray(b)){for(T=getStyles(d),D=b.length;H<D;H++)z[b[H]]=ce.css(d,b[H],!1,T);return z}return void 0!==x?ce.style(d,b,x):ce.css(d,b)}),d,b,arguments.length>1)}}),ce.Tween=Tween,Tween.prototype={constructor:Tween,init:function(d,b,x,T,D,z){this.elem=d,this.prop=x,this.easing=D||ce.easing._default,this.options=b,this.start=this.now=this.cur(),this.end=T,this.unit=z||(ce.cssNumber[x]?"":"px")},cur:function(){var d=Tween.propHooks[this.prop];return d&&d.get?d.get(this):Tween.propHooks._default.get(this)},run:function(d){var b,x=Tween.propHooks[this.prop];return this.options.duration?this.pos=b=ce.easing[this.easing](d,this.options.duration*d,0,1,this.options.duration):this.pos=b=d,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),x&&x.set?x.set(this):Tween.propHooks._default.set(this),this}},Tween.prototype.init.prototype=Tween.prototype,Tween.propHooks={_default:{get:function(d){var b;return 1!==d.elem.nodeType||null!=d.elem[d.prop]&&null==d.elem.style[d.prop]?d.elem[d.prop]:(b=ce.css(d.elem,d.prop,""))&&"auto"!==b?b:0},set:function(d){ce.fx.step[d.prop]?ce.fx.step[d.prop](d):1!==d.elem.nodeType||!ce.cssHooks[d.prop]&&null==d.elem.style[finalPropName(d.prop)]?d.elem[d.prop]=d.now:ce.style(d.elem,d.prop,d.now+d.unit)}}},Tween.propHooks.scrollTop=Tween.propHooks.scrollLeft={set:function(d){d.elem.nodeType&&d.elem.parentNode&&(d.elem[d.prop]=d.now)}},ce.easing={linear:function(d){return d},swing:function(d){return.5-Math.cos(d*Math.PI)/2},_default:"swing"},(ce.fx=Tween.prototype.init).step={};var jt,en,ln=/^(?:toggle|show|hide)$/,vn=/queueHooks$/;function schedule(){en&&(!1===se.hidden&&T.requestAnimationFrame?T.requestAnimationFrame(schedule):T.setTimeout(schedule,ce.fx.interval),ce.fx.tick())}function createFxNow(){return T.setTimeout((function(){jt=void 0})),jt=Date.now()}function genFx(d,b){var x,T=0,D={height:d};for(b=b?1:0;T<4;T+=2-b)D["margin"+(x=Ve[T])]=D["padding"+x]=d;return b&&(D.opacity=D.width=d),D}function createTween(d,b,x){for(var T,D=(Animation.tweeners[b]||[]).concat(Animation.tweeners["*"]),z=0,H=D.length;z<H;z++)if(T=D[z].call(x,b,d))return T}function Animation(d,b,x){var T,D,z=0,H=Animation.prefilters.length,W=ce.Deferred().always((function(){delete tick.elem})),tick=function(){if(D)return!1;for(var b=jt||createFxNow(),x=Math.max(0,U.startTime+U.duration-b),T=1-(x/U.duration||0),z=0,H=U.tweens.length;z<H;z++)U.tweens[z].run(T);return W.notifyWith(d,[U,T,x]),T<1&&H?x:(H||W.notifyWith(d,[U,1,0]),W.resolveWith(d,[U]),!1)},U=W.promise({elem:d,props:ce.extend({},b),opts:ce.extend(!0,{specialEasing:{},easing:ce.easing._default},x),originalProperties:b,originalOptions:x,startTime:jt||createFxNow(),duration:x.duration,tweens:[],createTween:function(b,x){var T=ce.Tween(d,U.opts,b,x,U.opts.specialEasing[b]||U.opts.easing);return U.tweens.push(T),T},stop:function(b){var x=0,T=b?U.tweens.length:0;if(D)return this;for(D=!0;x<T;x++)U.tweens[x].run(1);return b?(W.notifyWith(d,[U,1,0]),W.resolveWith(d,[U,b])):W.rejectWith(d,[U,b]),this}}),Y=U.props;for(!function(d,b){var x,T,D,z,H;for(x in d)if(D=b[T=camelCase(x)],z=d[x],Array.isArray(z)&&(D=z[1],z=d[x]=z[0]),x!==T&&(d[T]=z,delete d[x]),(H=ce.cssHooks[T])&&"expand"in H)for(x in z=H.expand(z),delete d[T],z)x in d||(d[x]=z[x],b[x]=D);else b[T]=D}(Y,U.opts.specialEasing);z<H;z++)if(T=Animation.prefilters[z].call(U,d,Y,U.opts))return isFunction(T.stop)&&(ce._queueHooks(U.elem,U.opts.queue).stop=T.stop.bind(T)),T;return ce.map(Y,createTween,U),isFunction(U.opts.start)&&U.opts.start.call(d,U),U.progress(U.opts.progress).done(U.opts.done,U.opts.complete).fail(U.opts.fail).always(U.opts.always),ce.fx.timer(ce.extend(tick,{elem:d,anim:U,queue:U.opts.queue})),U}ce.Animation=ce.extend(Animation,{tweeners:{"*":[function(d,b){var x=this.createTween(d,b);return adjustCSS(x.elem,d,Ne.exec(b),x),x}]},tweener:function(d,b){isFunction(d)?(b=d,d=["*"]):d=d.match(ve);for(var x,T=0,D=d.length;T<D;T++)x=d[T],Animation.tweeners[x]=Animation.tweeners[x]||[],Animation.tweeners[x].unshift(b)},prefilters:[function(d,b,x){var T,D,z,H,W,U,Y,Z,J="width"in b||"height"in b,ee=this,te={},ne=d.style,ie=d.nodeType&&isHiddenWithinTree(d),oe=Te.get(d,"fxshow");for(T in x.queue||(null==(H=ce._queueHooks(d,"fx")).unqueued&&(H.unqueued=0,W=H.empty.fire,H.empty.fire=function(){H.unqueued||W()}),H.unqueued++,ee.always((function(){ee.always((function(){H.unqueued--,ce.queue(d,"fx").length||H.empty.fire()}))}))),b)if(D=b[T],ln.test(D)){if(delete b[T],z=z||"toggle"===D,D===(ie?"hide":"show")){if("show"!==D||!oe||void 0===oe[T])continue;ie=!0}te[T]=oe&&oe[T]||ce.style(d,T)}if((U=!ce.isEmptyObject(b))||!ce.isEmptyObject(te))for(T in J&&1===d.nodeType&&(x.overflow=[ne.overflow,ne.overflowX,ne.overflowY],null==(Y=oe&&oe.display)&&(Y=Te.get(d,"display")),"none"===(Z=ce.css(d,"display"))&&(Y?Z=Y:(showHide([d],!0),Y=d.style.display||Y,Z=ce.css(d,"display"),showHide([d]))),("inline"===Z||"inline-block"===Z&&null!=Y)&&"none"===ce.css(d,"float")&&(U||(ee.done((function(){ne.display=Y})),null==Y&&(Z=ne.display,Y="none"===Z?"":Z)),ne.display="inline-block")),x.overflow&&(ne.overflow="hidden",ee.always((function(){ne.overflow=x.overflow[0],ne.overflowX=x.overflow[1],ne.overflowY=x.overflow[2]}))),U=!1,te)U||(oe?"hidden"in oe&&(ie=oe.hidden):oe=Te.access(d,"fxshow",{display:Y}),z&&(oe.hidden=!ie),ie&&showHide([d],!0),ee.done((function(){for(T in ie||showHide([d]),Te.remove(d,"fxshow"),te)ce.style(d,T,te[T])}
vendor: 4,214 bytes, line 736
736))),U=createTween(ie?oe[T]:0,T,ee),T in oe||(oe[T]=U.start,ie&&(U.end=U.start,U.start=0))}],prefilter:function(d,b){b?Animation.prefilters.unshift(d):Animation.prefilters.push(d)}}),ce.speed=function(d,b,x){var T=d&&"object"===_typeof(d)?ce.extend({},d):{complete:x||!x&&b||isFunction(d)&&d,duration:d,easing:x&&b||b&&!isFunction(b)&&b};return ce.fx.off?T.duration=0:"number"!=typeof T.duration&&(T.duration in ce.fx.speeds?T.duration=ce.fx.speeds[T.duration]:T.duration=ce.fx.speeds._default),null!=T.queue&&!0!==T.queue||(T.queue="fx"),T.old=T.complete,T.complete=function(){isFunction(T.old)&&T.old.call(this),T.queue&&ce.dequeue(this,T.queue)},T},ce.fn.extend({fadeTo:function(d,b,x,T){return this.filter(isHiddenWithinTree).css("opacity",0).show().end().animate({opacity:b},d,x,T)},animate:function(d,b,x,T){var D=ce.isEmptyObject(d),z=ce.speed(b,x,T),doAnimation=function(){var b=Animation(this,ce.extend({},d),z);(D||Te.get(this,"finish"))&&b.stop(!0)};return doAnimation.finish=doAnimation,D||!1===z.queue?this.each(doAnimation):this.queue(z.queue,doAnimation)},stop:function(d,b,x){var stopQueue=function(d){var b=d.stop;delete d.stop,b(x)};return"string"!=typeof d&&(x=b,b=d,d=void 0),b&&this.queue(d||"fx",[]),this.each((function(){var b=!0,T=null!=d&&d+"queueHooks",D=ce.timers,z=Te.get(this);if(T)z[T]&&z[T].stop&&stopQueue(z[T]);else for(T in z)z[T]&&z[T].stop&&vn.test(T)&&stopQueue(z[T]);for(T=D.length;T--;)D[T].elem!==this||null!=d&&D[T].queue!==d||(D[T].anim.stop(x),b=!1,D.splice(T,1));!b&&x||ce.dequeue(this,d)}))},finish:function(d){return!1!==d&&(d=d||"fx"),this.each((function(){var b,x=Te.get(this),T=x[d+"queue"],D=x[d+"queueHooks"],z=ce.timers,H=T?T.length:0;for(x.finish=!0,ce.queue(this,d,[]),D&&D.stop&&D.stop.call(this,!0),b=z.length;b--;)z[b].elem===this&&z[b].queue===d&&(z[b].anim.stop(!0),z.splice(b,1));for(b=0;b<H;b++)T[b]&&T[b].finish&&T[b].finish.call(this);delete x.finish}))}}),ce.each(["toggle","show","hide"],(function(d,b){var x=ce.fn[b];ce.fn[b]=function(d,T,D){return null==d||"boolean"==typeof d?x.apply(this,arguments):this.animate(genFx(b,!0),d,T,D)}})),ce.each({slideDown:genFx("show"),slideUp:genFx("hide"),slideToggle:genFx("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(d,b){ce.fn[d]=function(d,x,T){return this.animate(b,d,x,T)}})),ce.timers=[],ce.fx.tick=function(){var d,b=0,x=ce.timers;for(jt=Date.now();b<x.length;b++)(d=x[b])()||x[b]!==d||x.splice(b--,1);x.length||ce.fx.stop(),jt=void 0},ce.fx.timer=function(d){ce.timers.push(d),ce.fx.start()},ce.fx.interval=13,ce.fx.start=function(){en||(en=!0,schedule())},ce.fx.stop=function(){en=null},ce.fx.speeds={slow:600,fast:200,_default:400},ce.fn.delay=function(d,b){return d=ce.fx&&ce.fx.speeds[d]||d,b=b||"fx",this.queue(b,(function(b,x){var D=T.setTimeout(b,d);x.stop=function(){T.clearTimeout(D)}}))},function(){var d=se.createElement("input"),b=se.createElement("select").appendChild(se.createElement("option"));d.type="checkbox",oe.checkOn=""!==d.value,oe.optSelected=b.selected,(d=se.createElement("input")).value="t",d.type="radio",oe.radioValue="t"===d.value}();var bn,_n=ce.expr.attrHandle;ce.fn.extend({attr:function(d,b){return we(this,ce.attr,d,b,arguments.length>1)},removeAttr:function(d){return this.each((function(){ce.removeAttr(this,d)}))}}),ce.extend({attr:function(d,b,x){var T,D,z=d.nodeType;if(3!==z&&8!==z&&2!==z)return void 0===d.getAttribute?ce.prop(d,b,x):(1===z&&ce.isXMLDoc(d)||(D=ce.attrHooks[b.toLowerCase()]||(ce.expr.match.bool.test(b)?bn:void 0)),void 0!==x?null===x?void ce.removeAttr(d,b):D&&"set"in D&&void 0!==(T=D.set(d,x,b))?T:(d.setAttribute(b,x+""),x):D&&"get"in D&&null!==(T=D.get(d,b))?T:null==(T=ce.find.attr(d,b))?void 0:T)},attrHooks:{type:{set:function(d,b){if(!oe.radioValue&&"radio"===b&&nodeName(d,"input")){var x=d.value;return d.setAttribute("type",b),x&&(d.value=x),b}}}},removeAttr:function(d,b){var x,T=0,D=b&&b.match(ve);if(D&&1===d.nodeType)for(;x=D[T++];)d.removeAttribute(x)}}),bn={set:function(d,b,x){return!1===b?ce.removeAttr(d,x):d.setAttribute(x,x),x}},ce.each(ce.expr.match.bool.source.match(/\w+/g),(function(d,b){var x=_n[b]||ce.find.attr;_n[b]=function(d,b,T){var D,z,H=b.toLowerCase();
vendor: 6,972 bytes, line 736
736return T||(z=_n[H],_n[H]=D,D=null!=x(d,b,T)?H:null,_n[H]=z),D}}));var Sn=/^(?:input|select|textarea|button)$/i,Cn=/^(?:a|area)$/i;function stripAndCollapse(d){return(d.match(ve)||[]).join(" ")}function getClass(d){return d.getAttribute&&d.getAttribute("class")||""}function classesToArray(d){return Array.isArray(d)?d:"string"==typeof d&&d.match(ve)||[]}ce.fn.extend({prop:function(d,b){return we(this,ce.prop,d,b,arguments.length>1)},removeProp:function(d){return this.each((function(){delete this[ce.propFix[d]||d]}))}}),ce.extend({prop:function(d,b,x){var T,D,z=d.nodeType;if(3!==z&&8!==z&&2!==z)return 1===z&&ce.isXMLDoc(d)||(b=ce.propFix[b]||b,D=ce.propHooks[b]),void 0!==x?D&&"set"in D&&void 0!==(T=D.set(d,x,b))?T:d[b]=x:D&&"get"in D&&null!==(T=D.get(d,b))?T:d[b]},propHooks:{tabIndex:{get:function(d){var b=ce.find.attr(d,"tabindex");return b?parseInt(b,10):Sn.test(d.nodeName)||Cn.test(d.nodeName)&&d.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),oe.optSelected||(ce.propHooks.selected={get:function(d){var b=d.parentNode;return b&&b.parentNode&&b.parentNode.selectedIndex,null},set:function(d){var b=d.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex)}}),ce.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){ce.propFix[this.toLowerCase()]=this})),ce.fn.extend({addClass:function(d){var b,x,T,D,z,H,W,U=0;if(isFunction(d))return this.each((function(b){ce(this).addClass(d.call(this,b,getClass(this)))}));if((b=classesToArray(d)).length)for(;x=this[U++];)if(D=getClass(x),T=1===x.nodeType&&" "+stripAndCollapse(D)+" "){for(H=0;z=b[H++];)T.indexOf(" "+z+" ")<0&&(T+=z+" ");D!==(W=stripAndCollapse(T))&&x.setAttribute("class",W)}return this},removeClass:function(d){var b,x,T,D,z,H,W,U=0;if(isFunction(d))return this.each((function(b){ce(this).removeClass(d.call(this,b,getClass(this)))}));if(!arguments.length)return this.attr("class","");if((b=classesToArray(d)).length)for(;x=this[U++];)if(D=getClass(x),T=1===x.nodeType&&" "+stripAndCollapse(D)+" "){for(H=0;z=b[H++];)for(;T.indexOf(" "+z+" ")>-1;)T=T.replace(" "+z+" "," ");D!==(W=stripAndCollapse(T))&&x.setAttribute("class",W)}return this},toggleClass:function(d,b){var x=_typeof(d),T="string"===x||Array.isArray(d);return"boolean"==typeof b&&T?b?this.addClass(d):this.removeClass(d):isFunction(d)?this.each((function(x){ce(this).toggleClass(d.call(this,x,getClass(this),b),b)})):this.each((function(){var b,D,z,H;if(T)for(D=0,z=ce(this),H=classesToArray(d);b=H[D++];)z.hasClass(b)?z.removeClass(b):z.addClass(b);else void 0!==d&&"boolean"!==x||((b=getClass(this))&&Te.set(this,"__className__",b),this.setAttribute&&this.setAttribute("class",b||!1===d?"":Te.get(this,"__className__")||""))}))},hasClass:function(d){var b,x,T=0;for(b=" "+d+" ";x=this[T++];)if(1===x.nodeType&&(" "+stripAndCollapse(getClass(x))+" ").indexOf(b)>-1)return!0;return!1}});var An=/\r/g;ce.fn.extend({val:function(d){var b,x,T,D=this[0];return arguments.length?(T=isFunction(d),this.each((function(x){var D;1===this.nodeType&&(null==(D=T?d.call(this,x,ce(this).val()):d)?D="":"number"==typeof D?D+="":Array.isArray(D)&&(D=ce.map(D,(function(d){return null==d?"":d+""}))),(b=ce.valHooks[this.type]||ce.valHooks[this.nodeName.toLowerCase()])&&"set"in b&&void 0!==b.set(this,D,"value")||(this.value=D))}))):D?(b=ce.valHooks[D.type]||ce.valHooks[D.nodeName.toLowerCase()])&&"get"in b&&void 0!==(x=b.get(D,"value"))?x:"string"==typeof(x=D.value)?x.replace(An,""):null==x?"":x:void 0}}),ce.extend({valHooks:{option:{get:function(d){var b=ce.find.attr(d,"value");return null!=b?b:stripAndCollapse(ce.text(d))}},select:{get:function(d){var b,x,T,D=d.options,z=d.selectedIndex,H="select-one"===d.type,W=H?null:[],U=H?z+1:D.length;for(T=z<0?U:H?z:0;T<U;T++)if(((x=D[T]).selected||T===z)&&!x.disabled&&(!x.parentNode.disabled||!nodeName(x.parentNode,"optgroup"))){if(b=ce(x).val(),H)return b;W.push(b)}return W},set:function(d,b){for(var x,T,D=d.options,z=ce.makeArray(b),H=D.length;H--;)((T=D[H]).selected=ce.inArray(ce.valHooks.option.get(T),z)>-1)&&(x=!0);return x||(d.selectedIndex=-1),z}}}}),ce.each(["radio","checkbox"],(function(){ce.valHooks[this]={set:function(d,b){if(Array.isArray(b))return d.checked=ce.inArray(ce(d).val(),b)>-1}},oe.checkOn||(ce.valHooks[this].get=function(d){return null===d.getAttribute("value")?"on":d.value})})),oe.focusin="onfocusin"in T;var Pn=/^(?:focusinfocus|focusoutblur)$/,stopPropagationCallback=function(d){d.stopPropagation()};ce.extend(ce.event,{trigger:function(d,b,x,D){var z,H,W,U,Y,Z,J,ee,ne=[x||se],ie=te.call(d,"type")?d.type:d,oe=te.call(d,"namespace")?d.namespace.split("."):[];if(H=ee=W=x=x||se,3!==x.nodeType&&8!==x.nodeType&&!Pn.test(ie+ce.event.triggered)&&(ie.indexOf(".")>-1&&(oe=ie.split("."),ie=oe.shift(),oe.sort()),Y=ie.indexOf(":")<0&&"on"+ie,(d=d[ce.expando]?d:new ce.Event(ie,"object"===_typeof(d)&&d)).isTrigger=D?2:3,d.namespace=oe.join("."),d.rnamespace=d.namespace?new RegExp("(^|\\.)"+oe.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,d.result=void 0,d.target||(d.target=x),b=null==b?[d]:ce.makeArray(b,[d]),J=ce.event.special[ie]||{},D||!J.trigger||!1!==J.trigger.apply(x,b))){if(!D&&!J.noBubble&&!isWindow(x)){for(U=J.delegateType||ie,Pn.test(U+ie)||(H=H.parentNode);H;H=H.parentNode)ne.push(H),W=H;W===(x.ownerDocument||se)&&ne.push(W.defaultView||W.parentWindow||T)}for(z=0;(H=ne[z++])&&!d.isPropagationStopped();)ee=H,d.type=z>1?U:J.bindType||ie,(Z=(Te.get(H,"events")||Object.create(null))[d.type]&&Te.get(H,"handle"))&&Z.apply(H,b),(Z=Y&&H[Y])&&Z.apply&&acceptData(H)&&(d.result=Z.apply(H,b),!1===d.result&&d.preventDefault());return d.type=ie,D||d.isDefaultPrevented()||J._default&&!1!==J._default.apply(ne.pop(),b)||!acceptData(x)||Y&&isFunction(x[ie])&&!isWindow(x)&&((W=x[Y])&&(x[Y]=null),ce.event.triggered=ie,d.isPropagationStopped()&&ee.addEventListener(ie,stopPropagationCallback),x[ie](),d.isPropagationStopped()&&ee.removeEventListener(ie,stopPropagationCallback),ce.event.triggered=void 0,W&&(x[Y]=W)),d.result}},simulate:function(d,b,x){var T=ce.extend(new ce.Event,x,{type:d,isSimulated:!0});ce.event.trigger(T,null,b)}}),ce.fn.extend({trigger:function(d,b){return this.each((function(){ce.event.trigger(d,b,this)}))},triggerHandler:function(d,b){var x=this[0];if(x)return ce.event.trigger(d,b,x,!0)}}),oe.focusin||ce.each({focus:"focusin",blur:"focusout"},(function(d,b){var handler=function(d){ce.event.simulate(b,d.target,ce.event.fix(d))};ce.event.special[b]={setup:function(){var x=this.ownerDocument||this.document||this,T=Te.access(x,b);T||x.addEventListener(d,handler,!0),Te.access(x,b,(T||0)+1)},teardown:function(){var x=this.ownerDocument||this.document||this,T=Te.access(x,b)-1;T?Te.access(x,b,T):(x.removeEventListener(d,handler,!0),Te.remove(x,b))}}}));var On=T.location,In={guid:Date.now()},Dn=/\?/;ce.parseXML=function(d){var b;if(!d||"string"!=typeof d)return null;try{b=(new T.DOMParser).parseFromString(d,"text/xml")}
vendor: 5,503 bytes, line 736
736catch(d){b=void 0}return b&&!b.getElementsByTagName("parsererror").length||ce.error("Invalid XML: "+d),b};var En=/\[\]$/,Ln=/\r?\n/g,Rn=/^(?:submit|button|image|reset|file)$/i,Bn=/^(?:input|select|textarea|keygen)/i;function buildParams(d,b,x,T){var D;if(Array.isArray(b))ce.each(b,(function(b,D){x||En.test(d)?T(d,D):buildParams(d+"["+("object"===_typeof(D)&&null!=D?b:"")+"]",D,x,T)}));else if(x||"object"!==toType(b))T(d,b);else for(D in b)buildParams(d+"["+D+"]",b[D],x,T)}ce.param=function(d,b){var x,T=[],add=function(d,b){var x=isFunction(b)?b():b;T[T.length]=encodeURIComponent(d)+"="+encodeURIComponent(null==x?"":x)};if(null==d)return"";if(Array.isArray(d)||d.jquery&&!ce.isPlainObject(d))ce.each(d,(function(){add(this.name,this.value)}));else for(x in d)buildParams(x,d[x],b,add);return T.join("&")},ce.fn.extend({serialize:function(){return ce.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var d=ce.prop(this,"elements");return d?ce.makeArray(d):this})).filter((function(){var d=this.type;return this.name&&!ce(this).is(":disabled")&&Bn.test(this.nodeName)&&!Rn.test(d)&&(this.checked||!Qe.test(d))})).map((function(d,b){var x=ce(this).val();return null==x?null:Array.isArray(x)?ce.map(x,(function(d){return{name:b.name,value:d.replace(Ln,"\r\n")}})):{name:b.name,value:x.replace(Ln,"\r\n")}})).get()}});var Nn=/%20/g,jn=/#.*$/,Vn=/([?&])_=[^&]*/,zn=/^(.*?):[ \t]*([^\r\n]*)$/gm,Fn=/^(?:GET|HEAD)$/,Hn=/^\/\//,Gn={},$n={},Wn="*/".concat("*"),Un=se.createElement("a");function addToPrefiltersOrTransports(d){return function(b,x){"string"!=typeof b&&(x=b,b="*");var T,D=0,z=b.toLowerCase().match(ve)||[];if(isFunction(x))for(;T=z[D++];)"+"===T[0]?(T=T.slice(1)||"*",(d[T]=d[T]||[]).unshift(x)):(d[T]=d[T]||[]).push(x)}}function inspectPrefiltersOrTransports(d,b,x,T){var D={},z=d===$n;function inspect(H){var W;return D[H]=!0,ce.each(d[H]||[],(function(d,H){var U=H(b,x,T);return"string"!=typeof U||z||D[U]?z?!(W=U):void 0:(b.dataTypes.unshift(U),inspect(U),!1)})),W}return inspect(b.dataTypes[0])||!D["*"]&&inspect("*")}function ajaxExtend(d,b){var x,T,D=ce.ajaxSettings.flatOptions||{};for(x in b)void 0!==b[x]&&((D[x]?d:T||(T={}))[x]=b[x]);return T&&ce.extend(!0,d,T),d}Un.href=On.href,ce.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:On.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(On.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Wn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":ce.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(d,b){return b?ajaxExtend(ajaxExtend(d,ce.ajaxSettings),b):ajaxExtend(ce.ajaxSettings,d)},ajaxPrefilter:addToPrefiltersOrTransports(Gn),ajaxTransport:addToPrefiltersOrTransports($n),ajax:function(d,b){"object"===_typeof(d)&&(b=d,d=void 0);var x,D,z,H,W,U,Y,Z,J,ee,te=ce.ajaxSetup({},b=b||{}),ne=te.context||te,ie=te.context&&(ne.nodeType||ne.jquery)?ce(ne):ce.event,oe=ce.Deferred(),le=ce.Callbacks("once memory"),de=te.statusCode||{},he={},pe={},fe="canceled",ge={readyState:0,getResponseHeader:function(d){var b;if(Y){if(!H)for(H={};b=zn.exec(z);)H[b[1].toLowerCase()+" "]=(H[b[1].toLowerCase()+" "]||[]).concat(b[2]);b=H[d.toLowerCase()+" "]}return null==b?null:b.join(", ")},getAllResponseHeaders:function(){return Y?z:null},setRequestHeader:function(d,b){return null==Y&&(d=pe[d.toLowerCase()]=pe[d.toLowerCase()]||d,he[d]=b),this},overrideMimeType:function(d){return null==Y&&(te.mimeType=d),this},statusCode:function(d){var b;if(d)if(Y)ge.always(d[ge.status]);else for(b in d)de[b]=[de[b],d[b]];return this},abort:function(d){var b=d||fe;return x&&x.abort(b),done(0,b),this}};if(oe.promise(ge),te.url=((d||te.url||On.href)+"").replace(Hn,On.protocol+"//"),te.type=b.method||b.type||te.method||te.type,te.dataTypes=(te.dataType||"*").toLowerCase().match(ve)||[""],null==te.crossDomain){U=se.createElement("a");try{U.href=te.url,U.href=U.href,te.crossDomain=Un.protocol+"//"+Un.host!=U.protocol+"//"+U.host}catch(d){te.crossDomain=!0}}if(te.data&&te.processData&&"string"!=typeof te.data&&(te.data=ce.param(te.data,te.traditional)),inspectPrefiltersOrTransports(Gn,te,b,ge),Y)return ge;for(J in(Z=ce.event&&te.global)&&0==ce.active++&&ce.event.trigger("ajaxStart"),te.type=te.type.toUpperCase(),te.hasContent=!Fn.test(te.type),D=te.url.replace(jn,""),te.hasContent?te.data&&te.processData&&0===(te.contentType||"").indexOf("application/x-www-form-urlencoded")&&(te.data=te.data.replace(Nn,"+")):(ee=te.url.slice(D.length),te.data&&(te.processData||"string"==typeof te.data)&&(D+=(Dn.test(D)?"&":"?")+te.data,delete te.data),!1===te.cache&&(D=D.replace(Vn,"$1"),ee=(Dn.test(D)?"&":"?")+"_="+In.guid+++ee),te.url=D+ee),te.ifModified&&(ce.lastModified[D]&&ge.setRequestHeader("If-Modified-Since",ce.lastModified[D]),ce.etag[D]&&ge.setRequestHeader("If-None-Match",ce.etag[D])),(te.data&&te.hasContent&&!1!==te.contentType||b.contentType)&&ge.setRequestHeader("Content-Type",te.contentType),ge.setRequestHeader("Accept",te.dataTypes[0]&&te.accepts[te.dataTypes[0]]?te.accepts[te.dataTypes[0]]+("*"!==te.dataTypes[0]?", "+Wn+"; q=0.01":""):te.accepts["*"]),te.headers)ge.setRequestHeader(J,te.headers[J]);
vendor: 11,039 bytes, line 736
736if(te.beforeSend&&(!1===te.beforeSend.call(ne,ge,te)||Y))return ge.abort();if(fe="abort",le.add(te.complete),ge.done(te.success),ge.fail(te.error),x=inspectPrefiltersOrTransports($n,te,b,ge)){if(ge.readyState=1,Z&&ie.trigger("ajaxSend",[ge,te]),Y)return ge;te.async&&te.timeout>0&&(W=T.setTimeout((function(){ge.abort("timeout")}),te.timeout));try{Y=!1,x.send(he,done)}catch(d){if(Y)throw d;done(-1,d)}}else done(-1,"No Transport");function done(d,b,H,U){var J,ee,se,he,pe,fe=b;Y||(Y=!0,W&&T.clearTimeout(W),x=void 0,z=U||"",ge.readyState=d>0?4:0,J=d>=200&&d<300||304===d,H&&(he=function(d,b,x){for(var T,D,z,H,W=d.contents,U=d.dataTypes;"*"===U[0];)U.shift(),void 0===T&&(T=d.mimeType||b.getResponseHeader("Content-Type"));if(T)for(D in W)if(W[D]&&W[D].test(T)){U.unshift(D);break}if(U[0]in x)z=U[0];else{for(D in x){if(!U[0]||d.converters[D+" "+U[0]]){z=D;break}H||(H=D)}z=z||H}if(z)return z!==U[0]&&U.unshift(z),x[z]}(te,ge,H)),!J&&ce.inArray("script",te.dataTypes)>-1&&(te.converters["text script"]=function(){}),he=function(d,b,x,T){var D,z,H,W,U,Y={},Z=d.dataTypes.slice();if(Z[1])for(H in d.converters)Y[H.toLowerCase()]=d.converters[H];for(z=Z.shift();z;)if(d.responseFields[z]&&(x[d.responseFields[z]]=b),!U&&T&&d.dataFilter&&(b=d.dataFilter(b,d.dataType)),U=z,z=Z.shift())if("*"===z)z=U;else if("*"!==U&&U!==z){if(!(H=Y[U+" "+z]||Y["* "+z]))for(D in Y)if((W=D.split(" "))[1]===z&&(H=Y[U+" "+W[0]]||Y["* "+W[0]])){!0===H?H=Y[D]:!0!==Y[D]&&(z=W[0],Z.unshift(W[1]));break}if(!0!==H)if(H&&d.throws)b=H(b);else try{b=H(b)}catch(d){return{state:"parsererror",error:H?d:"No conversion from "+U+" to "+z}}}return{state:"success",data:b}}(te,he,ge,J),J?(te.ifModified&&((pe=ge.getResponseHeader("Last-Modified"))&&(ce.lastModified[D]=pe),(pe=ge.getResponseHeader("etag"))&&(ce.etag[D]=pe)),204===d||"HEAD"===te.type?fe="nocontent":304===d?fe="notmodified":(fe=he.state,ee=he.data,J=!(se=he.error))):(se=fe,!d&&fe||(fe="error",d<0&&(d=0))),ge.status=d,ge.statusText=(b||fe)+"",J?oe.resolveWith(ne,[ee,fe,ge]):oe.rejectWith(ne,[ge,fe,se]),ge.statusCode(de),de=void 0,Z&&ie.trigger(J?"ajaxSuccess":"ajaxError",[ge,te,J?ee:se]),le.fireWith(ne,[ge,fe]),Z&&(ie.trigger("ajaxComplete",[ge,te]),--ce.active||ce.event.trigger("ajaxStop")))}return ge},getJSON:function(d,b,x){return ce.get(d,b,x,"json")},getScript:function(d,b){return ce.get(d,void 0,b,"script")}}),ce.each(["get","post"],(function(d,b){ce[b]=function(d,x,T,D){return isFunction(x)&&(D=D||T,T=x,x=void 0),ce.ajax(ce.extend({url:d,type:b,dataType:D,data:x,success:T},ce.isPlainObject(d)&&d))}})),ce.ajaxPrefilter((function(d){var b;for(b in d.headers)"content-type"===b.toLowerCase()&&(d.contentType=d.headers[b]||"")})),ce._evalUrl=function(d,b,x){return ce.ajax({url:d,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(d){ce.globalEval(d,b,x)}})},ce.fn.extend({wrapAll:function(d){var b;return this[0]&&(isFunction(d)&&(d=d.call(this[0])),b=ce(d,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&b.insertBefore(this[0]),b.map((function(){for(var d=this;d.firstElementChild;)d=d.firstElementChild;return d})).append(this)),this},wrapInner:function(d){return isFunction(d)?this.each((function(b){ce(this).wrapInner(d.call(this,b))})):this.each((function(){var b=ce(this),x=b.contents();x.length?x.wrapAll(d):b.append(d)}))},wrap:function(d){var b=isFunction(d);return this.each((function(x){ce(this).wrapAll(b?d.call(this,x):d)}))},unwrap:function(d){return this.parent(d).not("body").each((function(){ce(this).replaceWith(this.childNodes)})),this}}),ce.expr.pseudos.hidden=function(d){return!ce.expr.pseudos.visible(d)},ce.expr.pseudos.visible=function(d){return!!(d.offsetWidth||d.offsetHeight||d.getClientRects().length)},ce.ajaxSettings.xhr=function(){try{return new T.XMLHttpRequest}catch(d){}};var Yn={0:200,1223:204},qn=ce.ajaxSettings.xhr();oe.cors=!!qn&&"withCredentials"in qn,oe.ajax=qn=!!qn,ce.ajaxTransport((function(d){var b,x;if(oe.cors||qn&&!d.crossDomain)return{send:function(D,z){var H,W=d.xhr();if(W.open(d.type,d.url,d.async,d.username,d.password),d.xhrFields)for(H in d.xhrFields)W[H]=d.xhrFields[H];for(H in d.mimeType&&W.overrideMimeType&&W.overrideMimeType(d.mimeType),d.crossDomain||D["X-Requested-With"]||(D["X-Requested-With"]="XMLHttpRequest"),D)W.setRequestHeader(H,D[H]);b=function(d){return function(){b&&(b=x=W.onload=W.onerror=W.onabort=W.ontimeout=W.onreadystatechange=null,"abort"===d?W.abort():"error"===d?"number"!=typeof W.status?z(0,"error"):z(W.status,W.statusText):z(Yn[W.status]||W.status,W.statusText,"text"!==(W.responseType||"text")||"string"!=typeof W.responseText?{binary:W.response}:{text:W.responseText},W.getAllResponseHeaders()))}},W.onload=b(),x=W.onerror=W.ontimeout=b("error"),void 0!==W.onabort?W.onabort=x:W.onreadystatechange=function(){4===W.readyState&&T.setTimeout((function(){b&&x()}))},b=b("abort");try{W.send(d.hasContent&&d.data||null)}catch(d){if(b)throw d}},abort:function(){b&&b()}}})),ce.ajaxPrefilter((function(d){d.crossDomain&&(d.contents.script=!1)})),ce.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(d){return ce.globalEval(d),d}}}),ce.ajaxPrefilter("script",(function(d){void 0===d.cache&&(d.cache=!1),d.crossDomain&&(d.type="GET")})),ce.ajaxTransport("script",(function(d){var b,x;if(d.crossDomain||d.scriptAttrs)return{send:function(T,D){b=ce("<script>").attr(d.scriptAttrs||{}).prop({charset:d.scriptCharset,src:d.url}).on("load error",x=function(d){b.remove(),x=null,d&&D("error"===d.type?404:200,d.type)}),se.head.appendChild(b[0])},abort:function(){x&&x()}}}));var Zn,Xn=[],Kn=/(=)\?(?=&|$)|\?\?/;ce.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var d=Xn.pop()||ce.expando+"_"+In.guid++;return this[d]=!0,d}}),ce.ajaxPrefilter("json jsonp",(function(d,b,x){var D,z,H,W=!1!==d.jsonp&&(Kn.test(d.url)?"url":"string"==typeof d.data&&0===(d.contentType||"").indexOf("application/x-www-form-urlencoded")&&Kn.test(d.data)&&"data");if(W||"jsonp"===d.dataTypes[0])return D=d.jsonpCallback=isFunction(d.jsonpCallback)?d.jsonpCallback():d.jsonpCallback,W?d[W]=d[W].replace(Kn,"$1"+D):!1!==d.jsonp&&(d.url+=(Dn.test(d.url)?"&":"?")+d.jsonp+"="+D),d.converters["script json"]=function(){return H||ce.error(D+" was not called"),H[0]},d.dataTypes[0]="json",z=T[D],T[D]=function(){H=arguments},x.always((function(){void 0===z?ce(T).removeProp(D):T[D]=z,d[D]&&(d.jsonpCallback=b.jsonpCallback,Xn.push(D)),H&&isFunction(z)&&z(H[0]),H=z=void 0})),"script"})),oe.createHTMLDocument=((Zn=se.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Zn.childNodes.length),ce.parseHTML=function(d,b,x){return"string"!=typeof d?[]:("boolean"==typeof b&&(x=b,b=!1),b||(oe.createHTMLDocument?((T=(b=se.implementation.createHTMLDocument("")).createElement("base")).href=se.location.href,b.head.appendChild(T)):b=se),z=!x&&[],(D=pe.exec(d))?[b.createElement(D[1])]:(D=buildFragment([d],b,z),z&&z.length&&ce(z).remove(),ce.merge([],D.childNodes)));var T,D,z},ce.fn.load=function(d,b,x){var T,D,z,H=this,W=d.indexOf(" ");return W>-1&&(T=stripAndCollapse(d.slice(W)),d=d.slice(0,W)),isFunction(b)?(x=b,b=void 0):b&&"object"===_typeof(b)&&(D="POST"),H.length>0&&ce.ajax({url:d,type:D||"GET",dataType:"html",data:b}).done((function(d){z=arguments,H.html(T?ce("<div>").append(ce.parseHTML(d)).find(T):d)})).always(x&&function(d,b){H.each((function(){x.apply(this,z||[d.responseText,b,d])}))}),this},ce.expr.pseudos.animated=function(d){return ce.grep(ce.timers,(function(b){return d===b.elem})).length},ce.offset={setOffset:function(d,b,x){var T,D,z,H,W,U,Y=ce.css(d,"position"),Z=ce(d),J={};"static"===Y&&(d.style.position="relative"),W=Z.offset(),z=ce.css(d,"top"),U=ce.css(d,"left"),("absolute"===Y||"fixed"===Y)&&(z+U).indexOf("auto")>-1?(H=(T=Z.position()).top,D=T.left):(H=parseFloat(z)||0,D=parseFloat(U)||0),isFunction(b)&&(b=b.call(d,x,ce.extend({},W))),null!=b.top&&(J.top=b.top-W.top+H),null!=b.left&&(J.left=b.left-W.left+D),"using"in b?b.using.call(d,J):("number"==typeof J.top&&(J.top+="px"),"number"==typeof J.left&&(J.left+="px"),Z.css(J))}},ce.fn.extend({offset:function(d){if(arguments.length)return void 0===d?this:this.each((function(b){ce.offset.setOffset(this,d,b)}));var b,x,T=this[0];return T?T.getClientRects().length?(b=T.getBoundingClientRect(),x=T.ownerDocument.defaultView,{top:b.top+x.pageYOffset,left:b.left+x.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var d,b,x,T=this[0],D={top:0,left:0};if("fixed"===ce.css(T,"position"))b=T.getBoundingClientRect();else{for(b=this.offset(),x=T.ownerDocument,d=T.offsetParent||x.documentElement;d&&(d===x.body||d===x.documentElement)&&"static"===ce.css(d,"position");)d=d.parentNode;d&&d!==T&&1===d.nodeType&&((D=ce(d).offset()).top+=ce.css(d,"borderTopWidth",!0),D.left+=ce.css(d,"borderLeftWidth",!0))}return{top:b.top-D.top-ce.css(T,"marginTop",!0),left:b.left-D.left-ce.css(T,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var d=this.offsetParent;d&&"static"===ce.css(d,"position");)d=d.offsetParent;return d||Fe}))}}),ce.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(d,b){var x="pageYOffset"===b;ce.fn[d]=function(T){return we(this,(function(d,T,D){var z;if(isWindow(d)?z=d:9===d.nodeType&&(z=d.defaultView),void 0===D)return z?z[b]:d[T];z?z.scrollTo(x?z.pageXOffset:D,x?D:z.pageYOffset):d[T]=D}),d,T,arguments.length)}})),ce.each(["top","left"],(function(d,b){ce.cssHooks[b]=addGetHookIf(oe.pixelPosition,(function(d,x){if(x)return x=curCSS(d,b),vt.test(x)?ce(d).position()[b]+"px":x}))})),ce.each({Height:"height",Width:"width"},(function(d,b){ce.each({padding:"inner"+d,content:b,"":"outer"+d},(function(x,T){ce.fn[T]=function(D,z){var H=arguments.length&&(x||"boolean"!=typeof D),W=x||(!0===D||!0===z?"margin":"border");return we(this,(function(b,x,D){var z;return isWindow(b)?0===T.indexOf("outer")?b["inner"+d]:b.document.documentElement["client"+d]:9===b.nodeType?(z=b.documentElement,Math.max(b.body["scroll"+d],z["scroll"+d],b.body["offset"+d],z["offset"+d],z["client"+d])):void 0===D?ce.css(b,x,W):ce.style(b,x,D,W)}),b,H?D:void 0,H)}}))})),ce.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(d,b){ce.fn[b]=function(d){return this.on(b,d)}})),ce.fn.extend({bind:function(d,b,x){return this.on(d,null,b,x)},unbind:function(d,b){return this.off(d,null,b)},delegate:function(d,b,x,T){return this.on(b,d,x,T)},undelegate:function(d,b,x){return 1===arguments.length?this.off(d,"**"):this.off(b,d||"**",x)},hover:function(d,b){return this.mouseenter(d).mouseleave(b||d)}}),ce.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(d,b){ce.fn[b]=function(d,x){return arguments.length>0?this.on(b,null,d,x):this.trigger(b)}
736}));var Jn=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;ce.proxy=function(d,b){var x,T,D;if("string"==typeof b&&(x=d[b],b=d,d=x),isFunction(d))return T=W.call(arguments,2),(D=function(){return d.apply(b||this,T.concat(W.call(arguments)))}).guid=d.guid=d.guid||ce.guid++,D},ce.holdReady=function(d){d?ce.readyWait++:ce.ready(!0)},ce.isArray=Array.isArray,ce.parseJSON=JSON.parse,ce.nodeName=nodeName,ce.isFunction=isFunction,ce.isWindow=isWindow,ce.camelCase=camelCase,ce.type=toType,ce.now=Date.now,ce.isNumeric=function(d){var b=ce.type(d);return("number"===b||"string"===b)&&!isNaN(d-parseFloat(d))},ce.trim=function(d){return null==d?"":(d+"").replace(Jn,"")},void 0===(x=function(){return ce}.apply(b,[]))||(d.exports=x);var Qn=T.jQuery,ei=T.$;return ce.noConflict=function(d){return T.$===ce&&(T.$=ei),d&&T.jQuery===ce&&(T.jQuery=Qn),ce},void 0===D&&(T.jQuery=T.$=ce),ce}))}).call(this,x("YuTi")(d))},EhwW:function(d,b,x){"use strict";function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}var T,D,z,H,W=x("VF6F"),U=x("B6Q+")();if(U){T=W("Object.prototype.hasOwnProperty"),D=W("RegExp.prototype.exec"),z={};var throwRegexMarker=function(){throw z};H={toString:throwRegexMarker,valueOf:throwRegexMarker},"symbol"===_typeof(Symbol.toPrimitive)&&(H[Symbol.toPrimitive]=throwRegexMarker)}var Y=W("Object.prototype.toString"),Z=Object.getOwnPropertyDescriptor;d.exports=U?function(d){if(!d||"object"!==_typeof(d))return!1;var b=Z(d,"lastIndex");if(!(b&&T(b,"value")))return!1;try{D(d,H)}catch(d){return d===z}}:function(d){return!(!d||"object"!==_typeof(d)&&"function"!=typeof d)&&"[object RegExp]"===Y(d)}},F5jL:function(d,b,x){"use strict";var T=function(){function AnchorLinkClick(d){this.element=d.get(0),this.element.href.split("#")[0]===window.location.href.split("#")[0]&&this.initModule()}return AnchorLinkClick.prototype.initModule=function(){var d=this;this.element.addEventListener("click",(function(b){var x=d.element.hash.substring(1),T=document.querySelector('[data-anchor-id="'+x+'"]');T&&(b.preventDefault(),window.App.FUNCTIONS.performantScrollBody($(T).offset().top-20,500),window.location.hash!==d.element.hash&&history.pushState(null,null,d.element.hash))}))},AnchorLinkClick}();b.a=T},FAml:function(d,b,x){"use strict";d.exports=ReferenceError},FOa4:function(d,b,x){var T;function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}
737/*!
738 * Pikaday
739 *
740 * Copyright © 2014 David Bushell | BSD & MIT license | https://github.com/Pikaday/Pikaday
741 */!function(D,z){"use strict";var H;if("object"===_typeof(b)){try{H=x("VDUF")}catch(d){}d.exports=z(H)}else void 0===(T=function(d){try{H=x("1NNt")("moment")}catch(d){}return z(H)}.call(b,x,b,d))||(d.exports=T)}(0,(function(d){"use strict";var b="function"==typeof d,x=!!window.addEventListener,T=window.document,D=window.setTimeout,addEvent=function(d,b,T,D){x?d.addEventListener(b,T,!!D):d.attachEvent("on"+b,T)},removeEvent=function(d,b,T,D){x?d.removeEventListener(b,T,!!D):d.detachEvent("on"+b,T)},hasClass=function(d,b){return-1!==(" "+d.className+" ").indexOf(" "+b+" ")},addClass=function(d,b){hasClass(d,b)||(d.className=""===d.className?b:d.className+" "+b)},removeClass=function(d,b){var x;d.className=(x=(" "+d.className+" ").replace(" "+b+" "," ")).trim?x.trim():x.replace(/^\s+|\s+$/g,"")},isArray=function(d){return/Array/.test(Object.prototype.toString.call(d))},isDate=function(d){return/Date/.test(Object.prototype.toString.call(d))&&!isNaN(d.getTime())},isWeekend=function(d){var b=d.getDay();return 0===b||6===b},isLeapYear=function(d){return d%4==0&&d%100!=0||d%400==0},getDaysInMonth=function(d,b){return[31,isLeapYear(d)?29:28,31,30,31,30,31,31,30,31,30,31][b]},setToStartOfDay=function(d){isDate(d)&&d.setHours(0,0,0,0)},compareDates=function(d,b){return d.getTime()===b.getTime()},z=function extend(d,b,x){var T,D;for(T in b)(D=void 0!==d[T])&&"object"===_typeof(b[T])&&null!==b[T]&&void 0===b[T].nodeName?isDate(b[T])?x&&(d[T]=new Date(b[T].getTime())):isArray(b[T])?x&&(d[T]=b[T].slice(0)):d[T]=extend({},b[T],x):!x&&D||(d[T]=b[T]);return d},fireEvent=function(d,b,x){var D;T.createEvent?((D=T.createEvent("HTMLEvents")).initEvent(b,!0,!1),D=z(D,x),d.dispatchEvent(D)):T.createEventObject&&(D=T.createEventObject(),D=z(D,x),d.fireEvent("on"+b,D))},adjustCalendar=function(d){return d.month<0&&(d.year-=Math.ceil(Math.abs(d.month)/12),d.month+=12),d.month>
74111&&(d.year+=Math.floor(Math.abs(d.month)/12),d.month-=12),d},H={field:null,bound:void 0,ariaLabel:"Use the arrow keys to pick a date",position:"bottom left",reposition:!0,format:"YYYY-MM-DD",toString:null,parse:null,defaultDate:null,setDefaultDate:!1,firstDay:0,formatStrict:!1,minDate:null,maxDate:null,yearRange:10,showWeekNumber:!1,pickWholeWeek:!1,minYear:0,maxYear:9999,minMonth:void 0,maxMonth:void 0,startRange:null,endRange:null,isRTL:!1,yearSuffix:"",showMonthAfterYear:!1,showDaysInNextAndPreviousMonths:!1,enableSelectionDaysInNextAndPreviousMonths:!1,numberOfMonths:1,mainCalendar:"left",container:void 0,blurFieldOnSelect:!0,i18n:{previousMonth:"Previous Month",nextMonth:"Next Month",months:["January","February","March","April","May","June","July","August","September","October","November","December"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},theme:null,events:[],onSelect:null,onOpen:null,onClose:null,onDraw:null,keyboardInput:!0},renderDayName=function(d,b,x){for(b+=d.firstDay;b>=7;)b-=7;return x?d.i18n.weekdaysShort[b]:d.i18n.weekdays[b]},renderDay=function(d){var b=[],x="false";if(d.isEmpty){if(!d.showDaysInNextAndPreviousMonths)return'<td class="is-empty"></td>';b.push("is-outside-current-month"),d.enableSelectionDaysInNextAndPreviousMonths||b.push("is-selection-disabled")}return d.isDisabled&&b.push("is-disabled"),d.isToday&&b.push("is-today"),d.isSelected&&(b.push("is-selected"),x="true"),d.hasEvent&&b.push("has-event"),d.isInRange&&b.push("is-inrange"),d.isStartRange&&b.push("is-startrange"),d.isEndRange&&b.push("is-endrange"),'<td data-day="'+d.day+'" class="'+b.join(" ")+'" aria-selected="'+x+'"><button class="pika-button pika-day" type="button" data-pika-year="'+d.year+'" data-pika-month="'+d.month+'" data-pika-day="'+d.day+'">'+d.day+"</button></td>"},renderRow=function(d,b,x,T){return'<tr class="pika-row'+(x?" pick-whole-week":"")+(T?" is-selected":"")+'">'+(b?d.reverse():d).join("")+"</tr>"},renderTitle=function(d,b,x,T,D,z){var H,W,U,Y,Z,J=d._o,ee=x===J.minYear,te=x===J.maxYear,ne='<div id="'+z+'" class="pika-title" role="heading" aria-live="assertive">',ie=!0,oe=!0;for(U=[],H=0;H<12;H++)U.push('<option value="'+(x===D?H-b:12+H-b)+'"'+(H===T?' selected="selected"':"")+(ee&&H<J.minMonth||te&&H>J.maxMonth?'disabled="disabled"':"")+">"+J.i18n.months[H]+"</option>");for(Y='<div class="pika-label">'+J.i18n.months[T]+'<select class="pika-select pika-select-month" tabindex="-1">'+U.join("")+"</select></div>",isArray(J.yearRange)?(H=J.yearRange[0],W=J.yearRange[1]+1):(H=x-J.yearRange,W=1+x+J.yearRange),U=[];H<W&&H<=J.maxYear;H++)H>=J.minYear&&U.push('<option value="'+H+'"'+(H===x?' selected="selected"':"")+">"+H+"</option>");return Z='<div class="pika-label">'+x+J.yearSuffix+'<select class="pika-select pika-select-year" tabindex="-1">'+U.join("")+"</select></div>",J.showMonthAfterYear?ne+=Z+Y:ne+=Y+Z,ee&&(0===T||J.minMonth>=T)&&(ie=!1),te&&(11===T||J.maxMonth<=T)&&(oe=!1),0===b&&(ne+='<button class="pika-prev'+(ie?"":" is-disabled")+'" type="button">'+J.i18n.previousMonth+"</button>"),b===d._o.numberOfMonths-1&&(ne+='<button class="pika-next'+(oe?"":" is-disabled")+'" type="button">'+J.i18n.nextMonth+"</button>"),ne+"</div>"},renderTable=function(d,b,x){return'<table cellpadding="0" cellspacing="0" class="pika-table" role="grid" aria-labelledby="'+x+'">'+function(d){var b,x=[];for(d.showWeekNumber&&x.push("<th></th>"),b=0;b<7;b++)x.push('<th scope="col"><abbr title="'+renderDayName(d,b)+'">'+renderDayName(d,b,!0)+"</abbr></th>");return"<thead><tr>"+(d.isRTL?x.reverse():x).join("")+"</tr></thead>"}(d)+("<tbody>"+b.join("")+"</tbody></table>")},Pikaday=function(z){var H=this,W=H.config(z);H._onMouseDown=function(d){if(H._v){var b=(d=d||window.event).target||d.srcElement;if(b)if(hasClass(b,"is-disabled")||(!hasClass(b,"pika-button")||hasClass(b,"is-empty")||hasClass(b.parentNode,"is-disabled")?hasClass(b,"pika-prev")?H.prevMonth():hasClass(b,"pika-next")&&H.nextMonth():(H.setDate(new Date(b.getAttribute("data-pika-year"),b.getAttribute("data-pika-month"),b.getAttribute("data-pika-day"))),W.bound&&D((function(){H.hide(),W.blurFieldOnSelect&&W.field&&W.field.blur()}),100))),hasClass(b,"pika-select"))H._c=!0;else{if(!d.preventDefault)return d.returnValue=!1,!1;d.preventDefault()}}},H._onChange=function(d){var b=(d=d||window.event).target||d.srcElement;b&&(hasClass(b,"pika-select-month")?H.gotoMonth(b.value):hasClass(b,"pika-select-year")&&H.gotoYear(b.value))},H._onKeyChange=function(d){if(d=d||window.event,H.isVisible())switch(d.keyCode){case 13:case 27:W.field&&W.field.blur();break;case 37:d.preventDefault(),H.adjustDate("subtract",1);break;case 38:H.adjustDate("subtract",7);break;case 39:H.adjustDate("add",1);break;case 40:H.adjustDate("add",7)}},H._onInputChange=function(x){var T;x.firedBy!==H&&(T=W.parse?W.parse(W.field.value,W.format):b?(T=d(W.field.value,W.format,W.formatStrict))&&T.isValid()?T.toDate():null:new Date(Date.parse(W.field.value)),isDate(T)&&H.setDate(T),H._v||H.show())},H._onInputFocus=function(){H.show()},H._onInputClick=function(){H.show()},H._onInputBlur=function(){var d=T.activeElement;do{if(hasClass(d,"pika-single"))return}while(d=d.parentNode);H._c||(H._b=D((function(){H.hide()}),50)),H._c=!1},H._onClick=function(d){var b=(d=d||window.event).target||d.srcElement,T=b;if(b){!x&&hasClass(b,"pika-select")&&(b.onchange||(b.setAttribute("onchange","return;"),addEvent(b,"change",H._onChange)));do{if(hasClass(T,"pika-single")||T===W.trigger)return}while(T=T.parentNode);H._v&&b!==W.trigger&&T!==W.trigger&&H.hide()}}
vendor: 4,361 bytes, line 741
741,H.el=T.createElement("div"),H.el.className="pika-single"+(W.isRTL?" is-rtl":"")+(W.theme?" "+W.theme:""),addEvent(H.el,"mousedown",H._onMouseDown,!0),addEvent(H.el,"touchend",H._onMouseDown,!0),addEvent(H.el,"change",H._onChange),W.keyboardInput&&addEvent(T,"keydown",H._onKeyChange),W.field&&(W.container?W.container.appendChild(H.el):W.bound?T.body.appendChild(H.el):W.field.parentNode.insertBefore(H.el,W.field.nextSibling),addEvent(W.field,"change",H._onInputChange),W.defaultDate||(b&&W.field.value?W.defaultDate=d(W.field.value,W.format).toDate():W.defaultDate=new Date(Date.parse(W.field.value)),W.setDefaultDate=!0));var U=W.defaultDate;isDate(U)?W.setDefaultDate?H.setDate(U,!0):H.gotoDate(U):H.gotoDate(new Date),W.bound?(this.hide(),H.el.className+=" is-bound",addEvent(W.trigger,"click",H._onInputClick),addEvent(W.trigger,"focus",H._onInputFocus),addEvent(W.trigger,"blur",H._onInputBlur)):this.show()};return Pikaday.prototype={config:function(d){this._o||(this._o=z({},H,!0));var b=z(this._o,d,!0);b.isRTL=!!b.isRTL,b.field=b.field&&b.field.nodeName?b.field:null,b.theme="string"==typeof b.theme&&b.theme?b.theme:null,b.bound=!!(void 0!==b.bound?b.field&&b.bound:b.field),b.trigger=b.trigger&&b.trigger.nodeName?b.trigger:b.field,b.disableWeekends=!!b.disableWeekends,b.disableDayFn="function"==typeof b.disableDayFn?b.disableDayFn:null;var x=parseInt(b.numberOfMonths,10)||1;if(b.numberOfMonths=x>4?4:x,isDate(b.minDate)||(b.minDate=!1),isDate(b.maxDate)||(b.maxDate=!1),b.minDate&&b.maxDate&&b.maxDate<b.minDate&&(b.maxDate=b.minDate=!1),b.minDate&&this.setMinDate(b.minDate),b.maxDate&&this.setMaxDate(b.maxDate),isArray(b.yearRange)){var T=(new Date).getFullYear()-10;b.yearRange[0]=parseInt(b.yearRange[0],10)||T,b.yearRange[1]=parseInt(b.yearRange[1],10)||T}else b.yearRange=Math.abs(parseInt(b.yearRange,10))||H.yearRange,b.yearRange>100&&(b.yearRange=100);return b},toString:function(x){return x=x||this._o.format,isDate(this._d)?this._o.toString?this._o.toString(this._d,x):b?d(this._d).format(x):this._d.toDateString():""},getMoment:function(){return b?d(this._d):null},setMoment:function(x,T){b&&d.isMoment(x)&&this.setDate(x.toDate(),T)},getDate:function(){return isDate(this._d)?new Date(this._d.getTime()):null},setDate:function(d,b){if(!d)return this._d=null,this._o.field&&(this._o.field.value="",fireEvent(this._o.field,"change",{firedBy:this})),this.draw();if("string"==typeof d&&(d=new Date(Date.parse(d))),isDate(d)){var x=this._o.minDate,T=this._o.maxDate;isDate(x)&&d<x?d=x:isDate(T)&&d>T&&(d=T),this._d=new Date(d.getTime()),setToStartOfDay(this._d),this.gotoDate(this._d),this._o.field&&(this._o.field.value=this.toString(),fireEvent(this._o.field,"change",{firedBy:this})),b||"function"!=typeof this._o.onSelect||this._o.onSelect.call(this,this.getDate())}},gotoDate:function(d){var b=!0;if(isDate(d)){if(this.calendars){var x=new Date(this.calendars[0].year,this.calendars[0].month,1),T=new Date(this.calendars[this.calendars.length-1].year,this.calendars[this.calendars.length-1].month,1),D=d.getTime();T.setMonth(T.getMonth()+1),T.setDate(T.getDate()-1),b=D<x.getTime()||T.getTime()<D}b&&(this.calendars=[{month:d.getMonth(),year:d.getFullYear()}],"right"===this._o.mainCalendar&&(this.calendars[0].month+=1-this._o.numberOfMonths)),this.adjustCalendars()}},adjustDate:function(d,b){var x,T=this.getDate()||new Date,D=24*parseInt(b)*60*60*1e3;"add"===d?x=new Date(T.valueOf()+D):"subtract"===d&&(x=new Date(T.valueOf()-D)),this.setDate(x)},adjustCalendars:function(){this.calendars[0]=adjustCalendar(this.calendars[0]);for(var d=1;d<this._o.numberOfMonths;d++)this.calendars[d]=adjustCalendar({month:this.calendars[0].month+d,year:this.calendars[0].year});this.draw()},gotoToday:function(){this.gotoDate(new Date)},gotoMonth:function(d){isNaN(d)||(this.calendars[0].month=parseInt(d,10),this.adjustCalendars())},nextMonth:function(){this.calendars[0].month++,this.adjustCalendars()},prevMonth:function(){this.calendars[0].month--,this.adjustCalendars()},gotoYear:function(d){isNaN(d)||(this.calendars[0].year=parseInt(d,10),this.adjustCalendars())},setMinDate:function(d){d instanceof Date?(setToStartOfDay(d),this._o.minDate=d,this._o.minYear=d.getFullYear(),this._o.minMonth=d.getMonth()):(this._o.minDate=H.minDate,this._o.minYear=H.minYear,this._o.minMonth=H.minMonth,this._o.startRange=H.startRange),this.draw()}
741,setMaxDate:function(d){d instanceof Date?(setToStartOfDay(d),this._o.maxDate=d,this._o.maxYear=d.getFullYear(),this._o.maxMonth=d.getMonth()):(this._o.maxDate=H.maxDate,this._o.maxYear=H.maxYear,this._o.maxMonth=H.maxMonth,this._o.endRange=H.endRange),this.draw()},setStartRange:function(d){this._o.startRange=d},setEndRange:function(d){this._o.endRange=d},draw:function(d){if(this._v||d){var b,x=this._o,T=x.minYear,z=x.maxYear,H=x.minMonth,W=x.maxMonth,U="";this._y<=T&&(this._y=T,!isNaN(H)&&this._m<H&&(this._m=H)),this._y>=z&&(this._y=z,!isNaN(W)&&this._m>W&&(this._m=W)),b="pika-title-"+Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,2);for(var Y=0;Y<x.numberOfMonths;Y++)U+='<div class="pika-lendar">'+renderTitle(this,Y,this.calendars[Y].year,this.calendars[Y].month,this.calendars[0].year,b)+this.render(this.calendars[Y].year,this.calendars[Y].month,b)+"</div>";this.el.innerHTML=U,x.bound&&"hidden"!==x.field.type&&D((function(){x.trigger.focus()}),1),"function"==typeof this._o.onDraw&&this._o.onDraw(this),x.bound&&x.field.setAttribute("aria-label",x.ariaLabel)}},adjustPosition:function(){var d,b,x,D,z,H,W,U,Y,Z,J,ee;if(!this._o.container){if(this.el.style.position="absolute",b=d=this._o.trigger,x=this.el.offsetWidth,D=this.el.offsetHeight,z=window.innerWidth||T.documentElement.clientWidth,H=window.innerHeight||T.documentElement.clientHeight,W=window.pageYOffset||T.body.scrollTop||T.documentElement.scrollTop,J=!0,ee=!0,"function"==typeof d.getBoundingClientRect)U=(Z=d.getBoundingClientRect()).left+window.pageXOffset,Y=Z.bottom+window.pageYOffset;else for(U=b.offsetLeft,Y=b.offsetTop+b.offsetHeight;b=b.offsetParent;)U+=b.offsetLeft,Y+=b.offsetTop;(this._o.reposition&&U+x>z||this._o.position.indexOf("right")>-1&&U-x+d.offsetWidth>0)&&(U=U-x+d.offsetWidth,J=!1),(this._o.reposition&&Y+D>H+W||this._o.position.indexOf("top")>-1&&Y-D-d.offsetHeight>0)&&(Y=Y-D-d.offsetHeight,ee=!1),this.el.style.left=U+"px",this.el.style.top=Y+"px",addClass(this.el,J?"left-aligned":"right-aligned"),addClass(this.el,ee?"bottom-aligned":"top-aligned"),removeClass(this.el,J?"right-aligned":"left-aligned"),removeClass(this.el,ee?"top-aligned":"bottom-aligned")}},render:function(d,b,x){var T=this._o,D=new Date,z=getDaysInMonth(d,b),H=new Date(d,b,1).getDay(),W=[],U=[];setToStartOfDay(D),T.firstDay>0&&(H-=T.firstDay)<0&&(H+=7);for(var Y=0===b?11:b-1,Z=11===b?0:b+1,J=0===b?d-1:d,ee=11===b?d+1:d,te=getDaysInMonth(J,Y),ne=z+H,ie=ne;ie>7;)ie-=7;ne+=7-ie;for(var oe,se,le,ce,de=!1,he=0,pe=0;he<ne;he++){var fe=new Date(d,b,he-H+1),ge=!!isDate(this._d)&&compareDates(fe,this._d),me=compareDates(fe,D),ye=-1!==T.events.indexOf(fe.toDateString()),ve=he<H||he>=z+H,xe=he-H+1,_e=b,we=d,Se=T.startRange&&compareDates(T.startRange,fe),Me=T.endRange&&compareDates(T.endRange,fe),Te=T.startRange&&T.endRange&&T.startRange<fe&&fe<T.endRange;ve&&(he<H?(xe=te+xe,_e=Y,we=J):(xe-=z,_e=Z,we=ee));var ke={day:xe,month:_e,year:we,hasEvent:ye,isSelected:ge,isToday:me,isDisabled:T.minDate&&fe<T.minDate||T.maxDate&&fe>T.maxDate||T.disableWeekends&&isWeekend(fe)||T.disableDayFn&&T.disableDayFn(fe),isEmpty:ve,isStartRange:Se,isEndRange:Me,isInRange:Te,showDaysInNextAndPreviousMonths:T.showDaysInNextAndPreviousMonths,enableSelectionDaysInNextAndPreviousMonths:T.enableSelectionDaysInNextAndPreviousMonths};T.pickWholeWeek&&ge&&(de=!0),U.push(renderDay(ke)),7==++pe&&(T.showWeekNumber&&U.unshift((oe=he-H,se=b,le=d,ce=void 0,ce=new Date(le,0,1),'<td class="pika-week">'+Math.ceil(((new Date(le,se,oe)-ce)/864e5+ce.getDay()+1)/7)+"</td>")),W.push(renderRow(U,T.isRTL,T.pickWholeWeek,de)),U=[],pe=0,de=!1)}return renderTable(T,W,x)},isVisible:function(){return this._v},show:function(){this.isVisible()||(this._v=!0,this.draw(),removeClass(this.el,"is-hidden"),this._o.bound&&(addEvent(T,"click",this._onClick),this.adjustPosition()),"function"==typeof this._o.onOpen&&this._o.onOpen.call(this))},hide:function(){var d=this._v;!1!==d&&(this._o.bound&&removeEvent(T,"click",this._onClick),this.el.style.position="static",this.el.style.left="auto",this.el.style.top="auto",addClass(this.el,"is-hidden"),this._v=!1,void 0!==d&&"function"==typeof this._o.onClose&&this._o.onClose.call(this))},destroy:function(){var d=this._o;this.hide(),removeEvent(this.el,"mousedown",this._onMouseDown,!0),removeEvent(this.el,"touchend",this._onMouseDown,!0),removeEvent(this.el,"change",this._onChange),d.keyboardInput&&removeEvent(T,"keydown",this._onKeyChange),d.field&&(removeEvent(d.field,"change",this._onInputChange),d.bound&&(removeEvent(d.trigger,"click",this._onInputClick),removeEvent(d.trigger,"focus",this._onInputFocus),removeEvent(d.trigger,"blur",this._onInputBlur))),this.el.parentNode&&this.el.parentNode.removeChild(this.el)}},Pikaday}))},FufO:function(d,b,x){"use strict";var T=x("1seS"),D=x("lYy+")(),z=x("VF6F"),H=Object,W=z("Array.prototype.push"),U=z("Object.prototype.propertyIsEnumerable"),Y=D?Object.getOwnPropertySymbols:null;d.exports=function(d,b){if(null==d)throw new TypeError("target must be an object");
vendor: 2,954 bytes, lines 741-746
741var x=H(d);if(1===arguments.length)return x;for(var z=1;z<arguments.length;++z){var Z=H(arguments[z]),J=T(Z),ee=D&&(Object.getOwnPropertySymbols||Y);if(ee)for(var te=ee(Z),ne=0;ne<te.length;++ne){var ie=te[ne];U(Z,ie)&&W(J,ie)}for(var oe=0;oe<J.length;++oe){var se=J[oe];if(U(Z,se)){var le=Z[se];x[se]=le}}}return x}},GemG:function(d,b,x){var T,D,z;
742/*!
743	autosize 4.0.2
744	license: MIT
745	http://www.jacklmoore.com/autosize
746*/D=[d,b],void 0===(z="function"==typeof(T=function(d,b){"use strict";var x,T,D="function"==typeof Map?new Map:(x=[],T=[],{has:function(d){return x.indexOf(d)>-1},get:function(d){return T[x.indexOf(d)]},set:function(d,b){-1===x.indexOf(d)&&(x.push(d),T.push(b))},delete:function(d){var b=x.indexOf(d);b>-1&&(x.splice(b,1),T.splice(b,1))}}),createEvent=function(d){return new Event(d,{bubbles:!0})};try{new Event("test")}catch(d){createEvent=function(d){var b=document.createEvent("Event");return b.initEvent(d,!0,!1),b}}function assign(d){if(d&&d.nodeName&&"TEXTAREA"===d.nodeName&&!D.has(d)){var b,x=null,T=null,z=null,pageResize=function(){d.clientWidth!==T&&update()},H=function(b){window.removeEventListener("resize",pageResize,!1),d.removeEventListener("input",update,!1),d.removeEventListener("keyup",update,!1),d.removeEventListener("autosize:destroy",H,!1),d.removeEventListener("autosize:update",update,!1),Object.keys(b).forEach((function(x){d.style[x]=b[x]})),D.delete(d)}.bind(d,{height:d.style.height,resize:d.style.resize,overflowY:d.style.overflowY,overflowX:d.style.overflowX,wordWrap:d.style.wordWrap});d.addEventListener("autosize:destroy",H,!1),"onpropertychange"in d&&"oninput"in d&&d.addEventListener("keyup",update,!1),window.addEventListener("resize",pageResize,!1),d.addEventListener("input",update,!1),d.addEventListener("autosize:update",update,!1),d.style.overflowX="hidden",d.style.wordWrap="break-word",D.set(d,{destroy:H,update:update}),"vertical"===(b=window.getComputedStyle(d,null)).resize?d.style.resize="none":"both"===b.resize&&(d.style.resize="horizontal"),x="content-box"===b.boxSizing?-(parseFloat(b.paddingTop)+parseFloat(b.paddingBottom)):parseFloat(b.borderTopWidth)+parseFloat(b.borderBottomWidth),isNaN(x)&&(x=0),update()}function changeOverflow(b){var x=d.style.width;d.style.width="0px",d.offsetWidth,d.style.width=x,d.style.overflowY=b}function resize(){if(0!==d.scrollHeight){var b=function(d){for(var b=[];d&&d.parentNode&&d.parentNode instanceof Element;)d.parentNode.scrollTop&&b.push({node:d.parentNode,scrollTop:d.parentNode.scrollTop}),d=d.parentNode;return b}(d),D=document.documentElement&&document.documentElement.scrollTop;d.style.height="",d.style.height=d.scrollHeight+x+"px",T=d.clientWidth,b.forEach((function(d){d.node.scrollTop=d.scrollTop})),D&&(document.documentElement.scrollTop=D)}}function update(){resize();var b=Math.round(parseFloat(d.style.height)),x=window.getComputedStyle(d,null),T="content-box"===x.boxSizing?Math.round(parseFloat(x.height)):d.offsetHeight;
746if(T<b?"hidden"===x.overflowY&&(changeOverflow("scroll"),resize(),T="content-box"===x.boxSizing?Math.round(parseFloat(window.getComputedStyle(d,null).height)):d.offsetHeight):"hidden"!==x.overflowY&&(changeOverflow("hidden"),resize(),T="content-box"===x.boxSizing?Math.round(parseFloat(window.getComputedStyle(d,null).height)):d.offsetHeight),z!==T){z=T;var D=createEvent("autosize:resized");try{d.dispatchEvent(D)}catch(d){}}}}function destroy(d){var b=D.get(d);b&&b.destroy()}function update(d){var b=D.get(d);b&&b.update()}var z=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?((z=function(d){return d}).destroy=function(d){return d},z.update=function(d){return d}):((z=function(d,b){return d&&Array.prototype.forEach.call(d.length?d:[d],(function(d){return assign(d)})),d}).destroy=function(d){return d&&Array.prototype.forEach.call(d.length?d:[d],destroy),d},z.update=function(d){return d&&Array.prototype.forEach.call(d.length?d:[d],update),d}),b.default=z,d.exports=b.default})?T.apply(b,D):T)||(d.exports=z)},GlyA:function(d,b){var x,T,D;window.App=window.App||{},App.ContentGallery=(x={default:{itemsPerRow:5},breakpoints:{"max:xs":{itemsPerRow:2},"max:sm":{itemsPerRow:3},"max:md":{itemsPerRow:4}}},T=function(d,b){for(var x in b.breakpoints)if(App.matchesScreenDimensions(x))return b.breakpoints[x][d]||b.default[d];return b.default[d]},D=function(d,b){var D=d.find(".swiper-wrapper"),z=b*T("itemsPerRow",x),H=d.data("num-slides"),W=Math.max(0,Math.ceil(H/z)-1),U=d.find('[data-role="gallery-tile"]').clone(!0);D.empty();for(var Y=0;Y<=W;Y++){var Z=U.slice(Y*z,Y*z+z),J=Math.min(H-W*z,30*(W+1)-30*W);if(Z.length===J)D.append($('<div class="swiper-slide" data-role="slider-slide"></div>').append(Z));else{var ee=D.width()/T("itemsPerRow",x)*b;D.append('<div class="swiper-slide loading" style="height: '+ee+'px" data-role="slider-slide"><div class="loading-indicator content-gallery__loading-indicator"><div class="spinner spinner--medium"><span class="rect1"></span>\n<span class="rect2"></span>\n<span class="rect3"></span>\n<span class="rect4"></span>\n<span class="rect5"></span>\n</div></div></div>')}}},{init:function(){$('[data-module~="content-gallery"]').each((function(){!function(d){d.find('[data-role="gallery-tile"]').each((function(){App.FUNCTIONS.isEmpty(this)&&$(this).remove()})),d.find('[data-role="gallery-tile"]').length;var b=parseInt(d.attr("data-rows-per-page"),10)||2,z=App.matchesScreenDimensions("max:sm");z&&d.find(".pagination").addClass("pagination--dynamic"),D(d,b);var H=new window.Swiper(d.find(".swiper-container")[0],{init:!1,navigation:{nextEl:d.find('[data-action="slide-to-next"]')[0],prevEl:d.find('[data-action="slide-to-previous"]')[0]},pagination:{el:d.find(".pagination")[0],type:"bullets",clickable:!0,dynamicBullets:z,dynamicMainBullets:1,bulletClass:"pagination__item",bulletActiveClass:"active",renderBullet:function(d,b){return'<span class="'+b+'">'+(d+1)+"</span>"}}});H.on("init resize",(function(d){this.slides.length<=this.params.slidesPerView*this.params.slidesPerColumn?($(this.navigation.prevEl).hide(),$(this.navigation.nextEl).hide(),$(this.pagination.el).hide()):($(this.navigation.prevEl).show(),$(this.navigation.nextEl).show(),$(this.pagination.el).show())})),H.on("resize",(function(){D(d,b),this.update()})),H.on("init fromEdge reachBeginning reachEnd",(function(d){$(this.navigation.prevEl).css({visibility:this.isBeginning?"hidden":""}).prop("disabled",this.isBeginning),$(this.navigation.nextEl).css({visibility:this.isEnd?"hidden":""}).prop("disabled",this.isEnd)})),H.on("init slideChange resize",(function(D){var z=this,H=b*T("itemsPerRow",x);0===$(this.slides[z.activeIndex]).find('[data-role="gallery-tile"]').length&&$.get(d.data("ajax-path")+".ajax."+this.activeIndex*H+"."+H+".html",(function(d){$(z.slides[z.activeIndex]).html(d),App.OverlayGallery.init(),App.EmbeddedVideo.init()}))})),H.init(),$(window).on("load",(function(){H.update()})),d.on("lazybeforeunveil","img",(function onLazyBeforeUnveil(){d.off("lazybeforeunveil","img",onLazyBeforeUnveil),H.update()})),d.data("slider",H)}($(this))}))}})},GxwZ:function(d,b,x){(function(d){var x,T,D,z;function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}
747/*!
748 * 
749 *         SimpleBar.js - v2.6.1
750 *         Scrollbars, simpler.
751 *         https://grsmto.github.io/simplebar/
752 *         
753 *         Made by Adrien Grsmto from a fork by Jonathan Nicol
754 *         Under MIT License
755 *       
756 */z=function(){return function(d){function e(x){if(b[x])return b[x].exports;var T=b[x]={i:x,l:!1,exports:{}};return d[x].call(T.exports,T,T.exports,e),T.l=!0,T.exports}var b={};return e.m=d,e.c=b,e.d=function(d,b,x){e.o(d,b)||Object.defineProperty(d,b,{configurable:!1,enumerable:!0,get:x})},e.n=function(d){var b=d&&d.__esModule?function(){return d.default}:function(){return d};return e.d(b,"a",b),b},e.o=function(d,b){return Object.prototype.hasOwnProperty.call(d,b)},e.p="",e(e.s=27)}([function(d,b,x){var T=x(23)("wks"),D=x(12),z=x(1).Symbol,H="function"==typeof z;(d.exports=function(d){return T[d]||(T[d]=H&&z[d]||(H?z:D)("Symbol."+d))}).store=T},function(d,b){var x=d.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=x)},function(d,b){var x={}.hasOwnProperty;d.exports=function(d,b){return x.call(d,b)}},function(d,b){var x=d.exports={version:"2.5.1"};"number"==typeof __e&&(__e=x)},function(d,b,x){var T=x(5),D=x(11);d.exports=x(7)?function(d,b,x){return T.f(d,b,D(1,x))}:function(d,b,x){return d[b]=x,d}},function(d,b,x){var T=x(6),D=x(33),z=x(34),H=Object.defineProperty;b.f=x(7)?Object.defineProperty:function(d,b,x){if(T(d),b=z(b,!0),T(x),D)try{return H(d,b,x)}catch(d){}if("get"in x||"set"in x)throw TypeError("Accessors not supported!");return"value"in x&&(d[b]=x.value),d}},function(d,b,x){var T=x(10);d.exports=function(d){if(!T(d))throw TypeError(d+" is not an object!");return d}},function(d,b,x){d.exports=!x(16)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(d,b){var x=Math.ceil,T=Math.floor;d.exports=function(d){return isNaN(d=+d)?0:(d>0?T:x)(d)}},function(d,b){d.exports=function(d){if(null==d)throw TypeError("Can't call method on  "+d);return d}},function(d,b){d.exports=function(d){return"object"==_typeof(d)?null!==d:"function"==typeof d}},function(d,b){d.exports=function(d,b){return{enumerable:!(1&d),configurable:!(2&d),writable:!(4&d),value:b}}},function(d,b){var x=0,T=Math.random();d.exports=function(d){return"Symbol(".concat(void 0===d?"":d,")_",(++x+T).toString(36))}},function(d,b){d.exports={}},function(d,b,x){var T=x(23)("keys"),D=x(12);d.exports=function(d){return T[d]||(T[d]=D(d))}},function(d,b,x){var T=x(1),D=x(3),z=x(4),H=x(18),W=x(19),U=function a(d,b,x){var U,Y,Z,J,ee=d&a.F,te=d&a.G,ne=d&a.P,ie=d&a.B,oe=te?T:d&a.S?T[b]||(T[b]={}):(T[b]||{}).prototype,se=te?D:D[b]||(D[b]={}),le=se.prototype||(se.prototype={});for(U in te&&(x=b),x)Z=((Y=!ee&&oe&&void 0!==oe[U])?oe:x)[U],J=ie&&Y?W(Z,T):ne&&"function"==typeof Z?W(Function.call,Z):Z,oe&&H(oe,U,Z,d&a.U),se[U]!=Z&&z(se,U,J),ne&&le[U]!=Z&&(le[U]=Z)};T.core=D,U.F=1,U.G=2,U.S=4,U.P=8,U.B=16,U.W=32,U.U=64,U.R=128,d.exports=U},function(d,b){d.exports=function(d){try{return!!d()}catch(d){return!0}}},function(d,b,x){var T=x(10),D=x(1).document,z=T(D)&&T(D.createElement);d.exports=function(d){return z?D.createElement(d):{}}},function(d,b,x){var T=x(1),D=x(4),z=x(2),H=x(12)("src"),W=Function.toString,U=(""+W).split("toString");x(3).inspectSource=function(d){return W.call(d)},(d.exports=function(d,b,x,W){var Y="function"==typeof x;Y&&(z(x,"name")||D(x,"name",b)),d[b]!==x&&(Y&&(z(x,H)||D(x,H,d[b]?""+d[b]:U.join(String(b)))),d===T?d[b]=x:W?d[b]?d[b]=x:D(d,b,x):(delete d[b],D(d,b,x)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[H]||W.call(this)}))},function(d,b,x){var T=x(35);d.exports=function(d,b,x){if(T(d),void 0===b)return d;switch(x){case 1:return function(x){return d.call(b,x)};case 2:return function(x,T){return d.call(b,x,T)};case 3:return function(x,T,D){return d.call(b,x,T,D)}}return function(){return d.apply(b,arguments)}}},function(d,b,x){var T=x(41),D=x(9);d.exports=function(d){return T(D(d))}},function(d,b){var x={}.toString;d.exports=function(d){return x.call(d).slice(8,-1)}},function(d,b,x){var T=x(8),D=Math.min;d.exports=function(d){return d>0?D(T(d),9007199254740991):0}},function(d,b,x){var T=x(1),D=T["__core-js_shared__"]||(T["__core-js_shared__"]={});d.exports=function(d){return D[d]||(D[d]={})}},function(d,b){d.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleStr
756ing,toString,valueOf".split(",")},function(d,b,x){var T=x(5).f,D=x(2),z=x(0)("toStringTag");d.exports=function(d,b,x){d&&!D(d=x?d:d.prototype,z)&&T(d,z,{configurable:!0,value:b})}},function(d,b,x){var T=x(9);d.exports=function(d){return Object(T(d))}},function(d,b,x){"use strict";function r(d){return d&&d.__esModule?d:{default:d}}function o(d,b){for(var x=0;x<b.length;x++){var T=b[x];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(d,T.key,T)}}Object.defineProperty(b,"__esModule",{value:!0}),b.default=void 0,x(28);var T=r(x(53)),D=r(x(54)),z=r(x(56));x(57),Object.assign=x(58);var H=function(){function t(d,b){(function(d,b){if(!(d instanceof b))throw new TypeError("Cannot call a class as a function")})(this,t),this.el=d,this.flashTimeout,this.contentEl,this.scrollContentEl,this.dragOffset={x:0,y:0},this.isVisible={x:!0,y:!0},this.scrollOffsetAttr={x:"scrollLeft",y:"scrollTop"},this.sizeAttr={x:"offsetWidth",y:"offsetHeight"},this.scrollSizeAttr={x:"scrollWidth",y:"scrollHeight"},this.offsetAttr={x:"left",y:"top"},this.globalObserver,this.mutationObserver,this.resizeObserver,this.currentAxis,this.isRtl,this.options=Object.assign({},t.defaultOptions,b),this.classNames=this.options.classNames,this.scrollbarWidth=(0,T.default)(),this.offsetSize=20,this.flashScrollbar=this.flashScrollbar.bind(this),this.onDragY=this.onDragY.bind(this),this.onDragX=this.onDragX.bind(this),this.onScrollY=this.onScrollY.bind(this),this.onScrollX=this.onScrollX.bind(this),this.drag=this.drag.bind(this),this.onEndDrag=this.onEndDrag.bind(this),this.onMouseEnter=this.onMouseEnter.bind(this),this.recalculate=(0,D.default)(this.recalculate,100,{leading:!0}),this.init()}return function(d,b,x){b&&o(d.prototype,b),x&&o(d,x)}(t,[{key:"init",value:function(){this.el.SimpleBar=this,this.initDOM(),this.scrollbarX=this.trackX.querySelector(".".concat(this.classNames.scrollbar)),this.scrollbarY=this.trackY.querySelector(".".concat(this.classNames.scrollbar)),this.isRtl="rtl"===getComputedStyle(this.contentEl).direction,this.scrollContentEl.style[this.isRtl?"paddingLeft":"paddingRight"]="".concat(this.scrollbarWidth||this.offsetSize,"px"),this.scrollContentEl.style.marginBottom="-".concat(2*this.scrollbarWidth||this.offsetSize,"px"),this.contentEl.style.paddingBottom="".concat(this.scrollbarWidth||this.offsetSize,"px"),0!==this.scrollbarWidth&&(this.contentEl.style[this.isRtl?"marginLeft":"marginRight"]="-".concat(this.scrollbarWidth,"px")),this.recalculate(),this.initListeners()}},{key:"initDOM",value:function(){var d=this;if(Array.from(this.el.children).filter((function(b){return b.classList.contains(d.classNames.scrollContent)})).length)this.trackX=this.el.querySelector(".".concat(this.classNames.track,".horizontal")),this.trackY=this.el.querySelector(".".concat(this.classNames.track,".vertical")),this.scrollContentEl=this.el.querySelector(".".concat(this.classNames.scrollContent)),this.contentEl=this.el.querySelector(".".concat(this.classNames.content));else{for(this.scrollContentEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.scrollContentEl.classList.add(this.classNames.scrollContent),this.contentEl.classList.add(this.classNames.content);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.scrollContentEl.appendChild(this.contentEl),this.el.appendChild(this.scrollContentEl)}if(!this.trackX||!this.trackY){var b=document.createElement("div"),x=document.createElement("div");b.classList.add(this.classNames.track),x.classList.add(this.classNames.scrollbar),b.appendChild(x),this.trackX=b.cloneNode(!0),this.trackX.classList.add("horizontal"),this.trackY=b.cloneNode(!0),this.trackY.classList.add("vertical"),this.el.insertBefore(this.trackX,this.el.firstChild),this.el.insertBefore(this.trackY,this.el.firstChild)}this.el.setAttribute("data-simplebar","init")}},{key:"initListeners",value:function(){var d=this;this.options.autoHide&&this.el.addEventListener("mouseenter",this.onMouseEnter),this.scrollbarY.addEventListener("mousedown",this.onDragY),this.scrollbarX.addEventListener("mousedown",this.onDragX),this.scrollContentEl.addEventListener("scroll",this.onScrollY),this.contentEl.addEventListener("scroll",this.onScrollX),"undefined"!=typeof MutationObserver&&(this.mutationObserver=new MutationObserver((function(b){b.forEach((function(b){(d.isChildNode(b.target)||b.addedNodes.length)&&d.recalculate()}))})),this.mutationObserver.observe(this.el,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this.resizeObserver=new z.default(this.recalculate.bind(this)),this.resizeObserver.observe(this.el)}},{key:"removeListeners",value:function(){this.options.autoHide&&this.el.removeEventListener("mouseenter",this.onMouseEnter),this.scrollbarX.removeEventListener("mousedown",this.onDragX),this.scrollbarY.removeEventListener("mousedown",this.onDragY),this.scrollContentEl.removeEventListener("scroll",this.onScrollY),this.contentEl.removeEventListener("scroll",this.onScrollX),this.mutationObserver.disconnect(),this.resizeObserver.disconnect()}},{key:"onDragX",value:function(d){this.onDrag(d,"x")}},{key:"onDragY",value:function(d){this.onDrag(d,"y")}},{key:"onDrag",value:function(d){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"y";d.preventDefault();var x="y"===b?this.scrollbarY:this.scrollbarX,T="y"===b?d.pageY:d.pageX;this.dragOffset[b]=T-x.getBoundingClientRect()[this.offsetAttr[b]],this.currentAxis=b,document.addEventListener("mousemove",this.drag),document.addEventListener("mouseup",this.onEndDrag)}},{key:"drag",value:function(d){var b,x,T;d.preventDefault(),"y"===this.currentAxis?(b=d.pageY,x=this.trackY,T=this.scrollContentEl):(b=d.pageX,x=this.trackX,T=this.contentEl);var D=(b-x.getBoundingClientRect()[this.offsetAttr[this.currentAxis]]-this.dragOffset[this.currentAxis])/x[this.sizeAttr[this.currentAxis]]*this.contentEl[this.scrollSizeAttr[this.currentAxis]];T[this.scrollOffsetAttr[this.currentAxis]]=D}},{key:"onEndDrag",value:function(){document.removeEventListener("mousemove",this.drag),document.removeEventListener("mouseup",this.onEndDrag)}},{key:"resizeScrollbar",value:function(){var d,b,x,T,D,z=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"y";"x"===z?(d=this.trackX,b=this.scrollbarX,x=this.contentEl[this.scrollOffsetAttr[z]],T=this.contentSizeX,D=this.scrollbarXSize):(d=this.trackY,b=this.scrollbarY,x=this.scrollContentEl[this.scrollOffsetAttr[z]],T=this.contentSizeY,D=this.scrollbarYSize);var H=D/T,W=x/(T-D),U=Math.max(~~(H*D),this.options.scrollbarMinSize),Y=~~((D-U)*W);this.isVisible[z]=D<T,this.isVisible[z]||this.options.forceVisible?(d.style.visibility="visible",this.options.forceVisible?b.style.visibility="hidden":b.style.visibility="visible","x"===z?(b.style.left="".concat(Y,"px"),b.style.width="".concat(U,"px")):(b.style.top="".concat(Y,"px"),b.style.height="".concat(U,"px"))):d.style.visibility="hidden"}},{key:"onScrollX",value:function(){this.flashScrollbar("x")}},{key:"onScrollY",value:function(){this.flashScrollbar("y")}},{key:"onMouseEnter",value:function(){this.flashScrollbar("x"),this.flashScrollbar("y")}},{key:"flashScrollbar",value:function(){var d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"y";this.resizeScrollbar(d),this.showScrollbar(d)}},{key:"showScrollbar",value:function(){var d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"y";this.isVisible[d]&&("x"===d?this.scrollbarX.classList.add("visible"):this.scrollbarY.classList.add("visible"),this.options.autoHide&&("number"==typeof this.flashTimeout&&window.clearTimeout(this.flashTimeout),this.flashTimeout=window.setTimeout(this.hideScrollbar.bind(this),1e3)))}},{key:"hideScrollbar",value:function(){this.scrollbarX.classList.remove("visible"),this.scrollbarY.classList.remove("visible"),"number"==typeof this.flashTimeout&&window.clearTimeout(this.flashTimeout)}},{key:"recalculate",value:function(){this.contentSizeX=this.contentEl[this.scrollSizeAttr.x],this.contentSizeY=this.contentEl[this.scrollSizeAttr.y]-(this.scrollbarWidth||this.offsetSize),this.scrollbarXSize=this.trackX[this.sizeAttr.x],this.scrollbarYSize=this.trackY[this.sizeAttr.y],this.resizeScrollbar("x"),this.resizeScrollbar("y"),this.options.autoHide||(this.showScrollbar("x"),this.showScrollbar("y"))}},{key:"getScrollElement",value:function(){return"y"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"y")?this.scrollContentEl:this.contentEl}},{key:"getContentElement",value:function(){return this.contentEl}},{key:"unMount",value:function(){this.removeListeners(),this.el.SimpleBar=null}},{key:"isChildNode",value:function(d){return null!==d&&(d===this.el||this.isChildNode(d.parentNode))}}],[{key:"initHtmlApi",value:function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),"undefined"!=typeof MutationObserver&&(this.globalObserver=new MutationObserver((function(d){d.forEach((function(d){Array.from(d.addedNodes).forEac
756h((function(d){1===d.nodeType&&(d.hasAttribute("data-simplebar")?!d.SimpleBar&&new t(d,t.getElOptions(d)):Array.from(d.querySelectorAll("[data-simplebar]")).forEach((function(d){!d.SimpleBar&&new t(d,t.getElOptions(d))})))})),Array.from(d.removedNodes).forEach((function(d){1===d.nodeType&&(d.hasAttribute("data-simplebar")?d.SimpleBar&&d.SimpleBar.unMount():Array.from(d.querySelectorAll("[data-simplebar]")).forEach((function(d){d.SimpleBar&&d.SimpleBar.unMount()})))}))}))})),this.globalObserver.observe(document,{childList:!0,subtree:!0})),"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements.bind(this)):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))}},{key:"getElOptions",value:function(d){return Object.keys(t.htmlAttributes).reduce((function(b,x){var T=t.htmlAttributes[x];return d.hasAttribute(T)&&(b[x]=JSON.parse(d.getAttribute(T)||!0)),b}),{})}},{key:"removeObserver",value:function(){this.globalObserver.disconnect()}},{key:"initDOMLoadedElements",value:function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.from(document.querySelectorAll("[data-simplebar]")).forEach((function(d){d.SimpleBar||new t(d,t.getElOptions(d))}))}},{key:"defaultOptions",get:function(){return{autoHide:!0,forceVisible:!1,classNames:{content:"simplebar-content",scrollContent:"simplebar-scroll-content",scrollbar:"simplebar-scrollbar",track:"simplebar-track"},scrollbarMinSize:25}}},{key:"htmlAttributes",get:function(){return{autoHide:"data-simplebar-auto-hide",forceVisible:"data-simplebar-force-visible",scrollbarMinSize:"data-simplebar-scrollbar-min-size"}}}]),t}();b.default=H,H.initHtmlApi()},function(d,b,x){x(29),x(46),d.exports=x(3).Array.from},function(d,b,x){"use strict";var T=x(30)(!0);x(31)(String,"String",(function(d){this._t=String(d),this._i=0}),(function(){var d,b=this._t,x=this._i;return x>=b.length?{value:void 0,done:!0}:(d=T(b,x),this._i+=d.length,{value:d,done:!1})}))},function(d,b,x){var T=x(8),D=x(9);d.exports=function(d){return function(b,x){var z,H,W=String(D(b)),U=T(
vendor: 5,046 bytes, line 756
756x),Y=W.length;return U<0||U>=Y?d?"":void 0:(z=W.charCodeAt(U))<55296||z>56319||U+1===Y||(H=W.charCodeAt(U+1))<56320||H>57343?d?W.charAt(U):z:d?W.slice(U,U+2):H-56320+(z-55296<<10)+65536}}},function(d,b,x){"use strict";var T=x(32),D=x(15),z=x(18),H=x(4),W=x(2),U=x(13),Y=x(36),Z=x(25),J=x(45),ee=x(0)("iterator"),te=!([].keys&&"next"in[].keys()),p=function(){return this};d.exports=function(d,b,x,ne,ie,oe,se){Y(x,b,ne);var le,ce,de,_=function(d){if(!te&&d in ge)return ge[d];switch(d){case"keys":case"values":return function(){return new x(this,d)}}return function(){return new x(this,d)}},he=b+" Iterator",pe="values"==ie,fe=!1,ge=d.prototype,me=ge[ee]||ge["@@iterator"]||ie&&ge[ie],ye=me||_(ie),ve=ie?pe?_("entries"):ye:void 0,xe="Array"==b&&ge.entries||me;if(xe&&(de=J(xe.call(new d)))!==Object.prototype&&de.next&&(Z(de,he,!0),T||W(de,ee)||H(de,ee,p)),pe&&me&&"values"!==me.name&&(fe=!0,ye=function(){return me.call(this)}),T&&!se||!te&&!fe&&ge[ee]||H(ge,ee,ye),U[b]=ye,U[he]=p,ie)if(le={values:pe?ye:_("values"),keys:oe?ye:_("keys"),entries:ve},se)for(ce in le)ce in ge||z(ge,ce,le[ce]);else D(D.P+D.F*(te||fe),b,le);return le}},function(d,b){d.exports=!1},function(d,b,x){d.exports=!x(7)&&!x(16)((function(){return 7!=Object.defineProperty(x(17)("div"),"a",{get:function(){return 7}}).a}))},function(d,b,x){var T=x(10);d.exports=function(d,b){if(!T(d))return d;var x,D;if(b&&"function"==typeof(x=d.toString)&&!T(D=x.call(d)))return D;if("function"==typeof(x=d.valueOf)&&!T(D=x.call(d)))return D;if(!b&&"function"==typeof(x=d.toString)&&!T(D=x.call(d)))return D;throw TypeError("Can't convert object to primitive value")}},function(d,b){d.exports=function(d){if("function"!=typeof d)throw TypeError(d+" is not a function!");return d}},function(d,b,x){"use strict";var T=x(37),D=x(11),z=x(25),H={};x(4)(H,x(0)("iterator"),(function(){return this})),d.exports=function(d,b,x){d.prototype=T(H,{next:D(1,x)}),z(d,b+" Iterator")}},function(d,b,x){var T=x(6),D=x(38),z=x(24),H=x(14)("IE_PROTO"),c=function(){},_a=function(){var d,b=x(17)("iframe"),T=z.length;for(b.style.display="none",x(44).appendChild(b),b.src="javascript:",(d=b.contentWindow.document).open(),d.write("<script>document.F=Object<\/script>"),d.close(),_a=d.F;T--;)delete _a.prototype[z[T]];return _a()};d.exports=Object.create||function(d,b){var x;return null!==d?(c.prototype=T(d),x=new c,c.prototype=null,x[H]=d):x=_a(),void 0===b?x:D(x,b)}},function(d,b,x){var T=x(5),D=x(6),z=x(39);d.exports=x(7)?Object.defineProperties:function(d,b){D(d);for(var x,H=z(b),W=H.length,U=0;W>U;)T.f(d,x=H[U++],b[x]);return d}},function(d,b,x){var T=x(40),D=x(24);d.exports=Object.keys||function(d){return T(d,D)}},function(d,b,x){var T=x(2),D=x(20),z=x(42)(!1),H=x(14)("IE_PROTO");d.exports=function(d,b){var x,W=D(d),U=0,Y=[];for(x in W)x!=H&&T(W,x)&&Y.push(x);for(;b.length>U;)T(W,x=b[U++])&&(~z(Y,x)||Y.push(x));return Y}},function(d,b,x){var T=x(21);d.exports=Object("z").propertyIsEnumerable(0)?Object:function(d){return"String"==T(d)?d.split(""):Object(d)}},function(d,b,x){var T=x(20),D=x(22),z=x(43);d.exports=function(d){return function(b,x,H){var W,U=T(b),Y=D(U.length),Z=z(H,Y);if(d&&x!=x){for(;Y>Z;)if((W=U[Z++])!=W)return!0}else for(;Y>Z;Z++)if((d||Z in U)&&U[Z]===x)return d||Z||0;return!d&&-1}}},function(d,b,x){var T=x(8),D=Math.max,z=Math.min;d.exports=function(d,b){return(d=T(d))<0?D(d+b,0):z(d,b)}},function(d,b,x){var T=x(1).document;d.exports=T&&T.documentElement},function(d,b,x){var T=x(2),D=x(26),z=x(14)("IE_PROTO"),H=Object.prototype;d.exports=Object.getPrototypeOf||function(d){return d=D(d),T(d,z)?d[z]:"function"==typeof d.constructor&&d instanceof d.constructor?d.constructor.prototype:d instanceof Object?H:null}},function(d,b,x){"use strict";var T=x(19),D=x(15),z=x(26),H=x(47),W=x(48),U=x(22),Y=x(49),Z=x(50);D(D.S+D.F*!x(52)((function(d){Array.from(d)})),"Array",{from:function(d){var b,x,D,J,ee=z(d),te="function"==typeof this?this:Array,ne=arguments.length,ie=ne>1?arguments[1]:void 0,oe=void 0!==ie,se=0,le=Z(ee);if(oe&&(ie=T(ie,ne>2?arguments[2]:void 0,2)),null==le||te==Array&&W(le))for(x=new te(b=U(ee.length));b>se;se++)Y(x,se,oe?ie(ee[se],se):ee[se]);else for(J=le.call(ee),x=new te;!(D=J.next()).done;se++)Y(x,se,oe?H(J,ie,[D.value,se],!0):D.value);return x.length=se,x}})},function(d,b,x){var T=x(6);d.exports=function(d,b,x,D){try{return D?b(T(x)[0],x[1]):b(x)}catch(b){var z=d.return;throw void 0!==z&&T(z.call(d)),b}}},function(d,b,x){var T=x(13),D=x(0)("iterator"),z=Array.prototype;d.exports=function(d){return void 0!==d&&(T.Array===d||z[D]===d)}},function(d,b,x){"use strict";var T=x(5),D=x(11);d.exports=function(d,b,x){b in d?T.f(d,b,D(0,x)):d[b]=x}},function(d,b,x){var T=x(51),D=x(0)("iterator"),z=x(13);d.exports=x(3).getIteratorMethod=function(d){if(null!=d)return d[D]||d["@@iterator"]||z[T(d)]}},function(d,b,x){var T=x(21),D=x(0)("toStringTag"),z="Arguments"==T(function(){return arguments}());d.exports=function(d){var b,x,H;return void 0===d?"Undefined":null===d?"Null":"string"==typeof(x=function(d,b){try{return d[b]}catch(d){}}
756(b=Object(d),D))?x:z?T(b):"Object"==(H=T(b))&&"function"==typeof b.callee?"Arguments":H}},function(d,b,x){var T=x(0)("iterator"),D=!1;try{var z=[7][T]();z.return=function(){D=!0},Array.from(z,(function(){throw 2}))}catch(d){}d.exports=function(d,b){if(!b&&!D)return!1;var x=!1;try{var z=[7],H=z[T]();H.next=function(){return{done:x=!0}},z[T]=function(){return H},d(z)}catch(d){}return x}},function(d,b,x){var T,D,z;
757/*! scrollbarWidth.js v0.1.3 | felixexter | MIT | https://github.com/felixexter/scrollbarWidth */D=[],void 0!==(z="function"==typeof(T=function(){"use strict";return function(){if("undefined"==typeof document)return 0;var d,b=document.body,x=document.createElement("div"),T=x.style;return T.position="absolute",T.top=T.left="-9999px",T.width=T.height="100px",T.overflow="scroll",b.appendChild(x),d=x.offsetWidth-x.clientWidth,b.removeChild(x),d}})?T.apply(b,D):T)&&(d.exports=z)},function(d,b,x){(function(b){function r(d){var b=_typeof(d);return!!d&&("object"==b||"function"==b)}function o(d){return"symbol"==_typeof(d)||function(d){return!!d&&"object"==_typeof(d)}(d)&&te.call(d)==D}function s(d){if("number"==typeof d)return d;if(o(d))return T;if(r(d)){var b="function"==typeof d.valueOf?d.valueOf():d;d=r(b)?b+"":b}if("string"!=typeof d)return 0===d?d:+d;d=d.replace(z,"");var x=W.test(d);return x||U.test(d)?Y(d.slice(2),x?2:8):H.test(d)?T:+d}var x="Expected a function",T=NaN,D="[object Symbol]",z=/^\s+|\s+$/g,H=/^[-+]0x[0-9a-f]+$/i,W=/^0b[01]+$/i,U=/^0o[0-7]+$/i,Y=parseInt,Z="object"==_typeof(b)&&b&&b.Object===Object&&b,J="object"==("undefined"==typeof self?"undefined":_typeof(self))&&self&&self.Object===Object&&self,ee=Z||J||Function("return this")(),te=Object.prototype.toString,ne=Math.max,ie=Math.min,_=function(){return ee.Date.now()};d.exports=function(d,b,T){function i(b){var x=D,T=z;return D=z=void 0,Z=b,W=d.apply(T,x)}function o(d){return Z=d,U=setTimeout(l,b),J?i(d):W}function u(d){var x=d-Y;return void 0===Y||x>=b||x<0||ee&&d-Z>=H}function l(){var d=_();if(u(d))return f(d);U=setTimeout(l,function(d){var x=b-(d-Y);return ee?ie(x,H-(d-Z)):x}(d))}function f(d){return U=void 0,te&&D?i(d):(D=z=void 0,W)}function p(){var d=_(),x=u(d);if(D=arguments,z=this,Y=d,x){if(void 0===U)return o(Y);if(ee)return U=setTimeout(l,b),i(Y)}return void 0===U&&(U=setTimeout(l,b)),W}var D,z,H,W,U,Y,Z=0,J=!1,ee=!1,te=!0;if("function"!=typeof d)throw new TypeError(x);return b=s(b)||0,r(T)&&(J=!!T.leading,H=(ee="maxWait"in T)?ne(s(T.maxWait)||0,b):H,te="trailing"in T?!!T.trailing:te),p.cancel=function(){void 0!==U&&clearTimeout(U),Z=0,D=Y=z=U=void 0},p.flush=function(){return void 0===U?W:f(_())},p}}).call(b,x(55))},function(d,b){var x;x=function(){return this}();try{x=x||Function("return this")()||(0,eval)("this")}catch(d){"object"==("undefined"==typeof window?"undefined":_typeof(window))&&(x=window)}d.exports=x},function(d,b,x){"use strict";function r(d){return parseFloat(d)||0}function i(d){return Array.prototype.slice.call(arguments,1).reduce((function(b,x){return b+r(d["border-"+x+"-width"])}),0)}function c(d){var b=d.clientWidth,x=d.clientHeight;if(!b&&!x)return Y;var T=getComputedStyle(d),D=function(d){for(var b={},x=0,T=["top","right","bottom","left"];x<T.length;x+=1){var D=T[x],z=d["padding-"+D];b[D]=r(z)}return b}(T),z=D.left+D.right,H=D.top+D.bottom,W=r(T.width),U=r(T.height);if("border-box"===T.boxSizing&&(Math.round(W+z)!==b&&(W-=i(T,"left","right")+z),Math.round(U+H)!==x&&(U-=i(T,"top","bottom")+H)),!function(d){return d===document.documentElement}(d)){var Z=Math.round(W+z)-b,J=Math.round(U+H)-x;1!==Math.abs(Z)&&(W-=Z),1!==Math.abs(J)&&(U-=J)}return f(D.left,D.top,W,U)}function u(d){return D?Z(d)?function(d){var b=d.getBBox();return f(0,0,b.width,b.height)}(d):c(d):Y}function f(d,b,x,T){return{x:d,y:b,width:x,height:T}}Object.defineProperty(b,"__esModule",{value:!0});var T=function(){function t(d,b){var x=-1;return d.some((function(d,T){return d[0]===b&&(x=T,!0)})),x}return"undefined"!=typeof Map?Map:function(){function e(){this.__entries__=[]}var d={size:{}};return d.size.get=function(){return this.__entries__.length},e.prototype.get=function(d){var b=t(this.__entries__,d),x=this.__entries__[b];return x&&x[1]},e.prototype.set=function(d,b){var x=t(this.__entries__,d);~x?this.__entries__[x][1]=b:this.__entries__.push([d,b])},e.prototype.delete=function(d){var b=this.__entries__,x=t(b,d);~x&&b.splice(x,1)},e.prototype.has=function(d){return!!~t(this.__entries__,d)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(d,b){void 0===b&&(b=null);for(var x=0,T=this.__entries__;x<T.length;x+=1){var D=T[x];d.call(b,D[1],D[0])}},Object.defineProperties(e.prototype,d),e}()}(),D="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,z="function"==typeof requestAnimationFrame?requestAnimationFrame:function(d){return setTimeout((function(){return d(Date.now())}),1e3/60)},H=["top","right","bottom","left","width","height","size","weight"],W="undefined"!=typeof navigator&&/Trident\/.*rv:11/.test(navigator.userAgent),U="undefined"!=typeof MutationObserver&&!W,E=function(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(d,b){function n(){x&&(x=!1,d()),T&&i()}function r(){z(n)}function i(){var d=Date.now();if(x){if(d-D<2)return;T=!0}else x=!0,T=!1,setTimeout(r,b);D=d}var x=!1,T=!1,D=0;return i}(this.refresh.bind(this),20)};E.prototype.addObserver=function(d){~this.observers_.indexOf(d)||this.observers_.push(d),this.connected_||this.connect_()},E.prototype.removeObserver=function(d){var b=this.observers_,x=b.indexOf(d);~x&&b.splice(x,1),!b.length&&this.connected_&&this.disconnect_()},E.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},E.prototype.updateObservers_=function(){var d=this.observers_.filter((function(d){return d.gatherActive(),d.hasActive()}
757));return d.forEach((function(d){return d.broadcastActive()})),d.length>0},E.prototype.connect_=function(){D&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),U?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},E.prototype.disconnect_=function(){D&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},E.prototype.onTransitionEnd_=function(d){var b=d.propertyName;H.some((function(d){return!!~b.indexOf(d)}))&&this.refresh()},E.getInstance=function(){return this.instance_||(this.instance_=new E),this.instance_},E.instance_=null;var O=function(d,b){for(var x=0,T=Object.keys(b);x<T.length;x+=1){var D=T[x];Object.defineProperty(d,D,{value:b[D],enumerable:!1,writable:!1,configurable:!0})}return d},Y=f(0,0,0,0),Z="undefined"!=typeof SVGGraphicsElement?function(d){return d instanceof SVGGraphicsElement}:function(d){return d instanceof SVGElement&&"function"==typeof d.getBBox},w=function(d){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=f(0,0,0,0),this.target=d};w.prototype.isActive=function(){var d=u(this.target);return this.contentRect_=d,d.width!==this.broadcastWidth||d.height!==this.broadcastHeight},w.prototype.broadcastRect=function(){var d=this.contentRect_;return this.broadcastWidth=d.width,this.broadcastHeight=d.height,d};var S=function(d,b){var x=function(d){var b=d.x,x=d.y,T=d.width,D=d.height,z="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,H=Object.create(z.prototype);return O(H,{x:b,y:x,width:T,height:D,top:x,right:b+T,bottom:D+x,left:b}),H}(b);O(this,{target:d,contentRect:x})},A=function(d,b,x){if("function"!=typeof d)throw new TypeError("The callback provided as parameter 1 is not a function.");this.activeObservations_=[],this.observations_=new T,this.callback_=d,this.controller_=b,this.callbackCtx_=x};A.prototype.observe=function(d){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(d instanceof Element))throw new TypeError('parameter 1 is not of type "Element".');var b=this.observations_;b.has(d)||(b.set(d,new w(d)),this.controller_.addObserver(this),this.controller_.refresh())}},A.prototype.unobserve=function(d){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(d instanceof Element))throw new TypeError('parameter 1 is not of type "Element".');var b=this.observations_;b.has(d)&&(b.delete(d),b.size||this.controller_.removeObserver(this))}},A.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},A.prototype.gatherActive=function(){var d=this;this.clearActive(),this.observations_.forEach((function(b){b.isActive()&&d.activeObservations_.push(b)}))},A.prototype.broadcastActive=function(){if(this.hasActive()){var d=this.callbackCtx_,b=this.activeObservations_.map((function(d){return new S(d.target,d.broadcastRect())}));this.callback_.call(d,b,d),this.clearActive()}},A.prototype.clearActive=function(){this.activeObservations_.splice(0)},A.prototype.hasActive=function(){return this.activeObservations_.length>0};var J="undefined"!=typeof WeakMap?new WeakMap:new T,ee=function j(d){if(!(this instanceof j))throw new TypeError("Cannot call a class as a function");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var b=E.getInstance(),x=new A(d,b,this);J.set(this,x)};["observe","unobserve","disconnect"].forEach((function(d){ee.prototype[d]=function(){return(b=J.get(this))[d].apply(b,arguments);var b}}));var te="undefined"!=typeof ResizeObserver?ResizeObserver:ee;b.default=te},function(d,b){},function(d,b,x){"use strict";function r(d){if(null==d)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(d)}
758/*
759    object-assign
760    (c) Sindre Sorhus
761    @license MIT
762    */var T=Object.getOwnPropertySymbols,D=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable;d.exports=function(){try{if(!Object.assign)return!1;var d=new String("abc");if(d[5]="de","5"===Object.getOwnPropertyNames(d)[0])return!1;for(var b={},x=0;x<10;x++)b["_"+String.fromCharCode(x)]=x;if("0123456789"!==Object.getOwnPropertyNames(b).map((function(d){return b[d]})).join(""))return!1;var T={};return"abcdefghijklmnopqrst".split("").forEach((function(d){T[d]=d})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},T)).join("")}catch(d){return!1}}()?Object.assign:function(d,b){for(var x,H,W=r(d),U=1;U<arguments.length;U++){for(var Y in x=Object(arguments[U]))D.call(x,Y)&&(W[Y]=x[Y]);if(T){H=T(x);for(var Z=0;Z<H.length;Z++)z.call(x,H[Z])&&(W[H[Z]]=x[H[Z]])}}return W}}]).default},"object"==_typeof(b)&&"object"==_typeof(d)?d.exports=z():(T=[],void 0===(D="function"==typeof(x=z)?x.apply(b,T):x)||(d.exports=D))}).call(this,x("YuTi")(d))},H6wF:function(d,b,x){"use strict";function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}var T="undefined"!=typeof Symbol&&Symbol,D=x("aZpx");d.exports=function(){return"function"==typeof T&&("function"==typeof Symbol&&("symbol"===_typeof(T("foo"))&&("symbol"===_typeof(Symbol("bar"))&&D())))}},H7XF:function(d,b,x){"use strict";b.byteLength=function(d){var b=getLens(d),x=b[0],T=b[1];return 3*(x+T)/4-T},b.toByteArray=function(d){for(var b,x=getLens(d),T=x[0],H=x[1],W=new z(function(d,b,x){return 3*(b+x)/4-x}(0,T,H)),U=0,Y=H>0?T-4:T,Z=0;Z<Y;Z+=4)b=D[d.charCodeAt(Z)]<<18|D[d.charCodeAt(Z+1)]<<12|D[d.charCodeAt(Z+2)]<<6|D[d.charCodeAt(Z+3)],W[U++]=b>>16&255,W[U++]=b>>8&255,W[U++]=255&b;2===H&&(b=D[d.charCodeAt(Z)]<<2|D[d.charCodeAt(Z+1)]>>4,W[U++]=255&b);1===H&&(b=D[d.charCodeAt(Z)]<<10|D[d.charCodeAt(Z+1)]<<4|D[d.charCodeAt(Z+2)]>>2,W[U++]=b>>8&255,W[U++]=255&b);return W},b.fromByteArray=function(d){for(var b,x=d.length,D=x%3,z=[],H=0,W=x-D;H<W;H+=16383)z.push(encodeChunk(d,H,H+16383>W?W:H+16383));1===D?(b=d[x-1],z.push(T[b>>2]+T[b<<4&63]+"==")):2===D&&(b=(d[x-2]<<8)+d[x-1],z.push(T[b>>10]+T[b>>4&63]+T[b<<2&63]+"="));return z.join("")};for(var T=[],D=[],z="undefined"!=typeof Uint8Array?Uint8Array:Array,H="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
vendor: 6,370 bytes, lines 762-769
762+/",W=0,U=H.length;W<U;++W)T[W]=H[W],D[H.charCodeAt(W)]=W;function getLens(d){var b=d.length;if(b%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var x=d.indexOf("=");return-1===x&&(x=b),[x,x===b?0:4-x%4]}function encodeChunk(d,b,x){for(var D,z,H=[],W=b;W<x;W+=3)D=(d[W]<<16&16711680)+(d[W+1]<<8&65280)+(255&d[W+2]),H.push(T[(z=D)>>18&63]+T[z>>12&63]+T[z>>6&63]+T[63&z]);return H.join("")}D["-".charCodeAt(0)]=62,D["_".charCodeAt(0)]=63},HDXh:function(d,b,x){"use strict";(function(d){
763/*!
764 * The buffer module from node.js, for the browser.
765 *
766 * @author   Feross Aboukhadijeh <[email protected]> <http://feross.org>
767 * @license  MIT
768 */
769var T=x("H7XF"),D=x("kVK+"),z=x("49sm");function kMaxLength(){return Buffer.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function createBuffer(d,b){if(kMaxLength()<b)throw new RangeError("Invalid typed array length");return Buffer.TYPED_ARRAY_SUPPORT?(d=new Uint8Array(b)).__proto__=Buffer.prototype:(null===d&&(d=new Buffer(b)),d.length=b),d}function Buffer(d,b,x){if(!(Buffer.TYPED_ARRAY_SUPPORT||this instanceof Buffer))return new Buffer(d,b,x);if("number"==typeof d){if("string"==typeof b)throw new Error("If encoding is specified then the first argument must be a string");return allocUnsafe(this,d)}return from(this,d,b,x)}function from(d,b,x,T){if("number"==typeof b)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&b instanceof ArrayBuffer?function(d,b,x,T){if(b.byteLength,x<0||b.byteLength<x)throw new RangeError("'offset' is out of bounds");if(b.byteLength<x+(T||0))throw new RangeError("'length' is out of bounds");b=void 0===x&&void 0===T?new Uint8Array(b):void 0===T?new Uint8Array(b,x):new Uint8Array(b,x,T);Buffer.TYPED_ARRAY_SUPPORT?(d=b).__proto__=Buffer.prototype:d=fromArrayLike(d,b);return d}(d,b,x,T):"string"==typeof b?function(d,b,x){"string"==typeof x&&""!==x||(x="utf8");if(!Buffer.isEncoding(x))throw new TypeError('"encoding" must be a valid string encoding');var T=0|byteLength(b,x),D=(d=createBuffer(d,T)).write(b,x);D!==T&&(d=d.slice(0,D));return d}(d,b,x):function(d,b){if(Buffer.isBuffer(b)){var x=0|checked(b.length);return 0===(d=createBuffer(d,x)).length||b.copy(d,0,0,x),d}if(b){if("undefined"!=typeof ArrayBuffer&&b.buffer instanceof ArrayBuffer||"length"in b)return"number"!=typeof b.length||(T=b.length)!=T?createBuffer(d,0):fromArrayLike(d,b);if("Buffer"===b.type&&z(b.data))return fromArrayLike(d,b.data)}var T;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(d,b)}function assertSize(d){if("number"!=typeof d)throw new TypeError('"size" argument must be a number');if(d<0)throw new RangeError('"size" argument must not be negative')}function allocUnsafe(d,b){if(assertSize(b),d=createBuffer(d,b<0?0:0|checked(b)),!Buffer.TYPED_ARRAY_SUPPORT)for(var x=0;x<b;++x)d[x]=0;return d}function fromArrayLike(d,b){var x=b.length<0?0:0|checked(b.length);d=createBuffer(d,x);for(var T=0;T<x;T+=1)d[T]=255&b[T];return d}function checked(d){if(d>=kMaxLength())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+kMaxLength().toString(16)+" bytes");return 0|d}function byteLength(d,b){if(Buffer.isBuffer(d))return d.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(d)||d instanceof ArrayBuffer))return d.byteLength;"string"!=typeof d&&(d=""+d);var x=d.length;if(0===x)return 0;for(var T=!1;;)switch(b){case"ascii":case"latin1":case"binary":return x;case"utf8":case"utf-8":case void 0:return utf8ToBytes(d).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*x;case"hex":return x>>>1;case"base64":return base64ToBytes(d).length;default:if(T)return utf8ToBytes(d).length;b=(""+b).toLowerCase(),T=!0}}function slowToString(d,b,x){var T=!1;if((void 0===b||b<0)&&(b=0),b>this.length)return"";if((void 0===x||x>this.length)&&(x=this.length),x<=0)return"";if((x>>>=0)<=(b>>>=0))return"";for(d||(d="utf8");;)switch(d){case"hex":return hexSlice(this,b,x);case"utf8":case"utf-8":return utf8Slice(this,b,x);case"ascii":return asciiSlice(this,b,x);case"latin1":case"binary":return latin1Slice(this,b,x);case"base64":return base64Slice(this,b,x);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return utf16leSlice(this,b,x);default:if(T)throw new TypeError("Unknown encoding: "+d);d=(d+"").toLowerCase(),T=!0}}function swap(d,b,x){var T=d[b];d[b]=d[x],d[x]=T}function bidirectionalIndexOf(d,b,x,T,D){if(0===d.length)return-1;if("string"==typeof x?(T=x,x=0):x>2147483647?x=2147483647:x<-2147483648&&(x=-2147483648),x=+x,isNaN(x)&&(x=D?0:d.length-1),x<0&&(x=d.length+x),x>=d.length){if(D)return-1;x=d.length-1}else if(x<0){if(!D)return-1;x=0}if("string"==typeof b&&(b=Buffer.from(b,T)),Buffer.isBuffer(b))return 0===b.length?-1:arrayIndexOf(d,b,x,T,D);if("number"==typeof b)return b&=255,Buffer.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?D?Uint8Array.prototype.indexOf.call(d,b,x):Uint8Array.prototype.lastIndexOf.call(d,b,x):arrayIndexOf(d,[b],x,T,D);throw new TypeError("val must be string, number or Buffer")}function arrayIndexOf(d,b,x,T,D){var z,H=1,W=d.length,U=b.length;if(void 0!==T&&("ucs2"===(T=String(T).toLowerCase())||"ucs-2"===T||"utf16le"===T||"utf-16le"===T)){if(d.length<2||b.length<2)return-1;H=2,W/=2,U/=2,x/=2}function read(d,b){return 1===H?d[b]:d.readUInt16BE(b*H)}if(D){var Y=-1;for(z=x;z<W;z++)if(read(d,z)===read(b,-1===Y?0:z-Y)){if(-1===Y&&(Y=z),z-Y+1===U)return Y*H}else-1!==Y&&(z-=z-Y),Y=-1}else for(x+U>W&&(x=W-U),z=x;z>=0;z--){for(var Z=!0,J=0;J<U;J++)if(read(d,z+J)!==read(b,J)){Z=!1;break}if(Z)return z}return-1}function hexWrite(d,b,x,T){x=Number(x)||0;var D=d.length-x;T?(T=Number(T))>D&&(T=D):T=D;var z=b.length;if(z%2!=0)throw new TypeError("Invalid hex string");T>z/2&&(T=z/2);for(var H=0;H<T;++H){var W=parseInt(b.substr(2*H,2),16);if(isNaN(W))return H;d[x+H]=W}return H}function utf8Write(d,b,x,T){return blitBuffer(utf8ToBytes(b,d.length-x),d,x,T)}function asciiWrite(d,b,x,T){return blitBuffer(function(d){for(var b=[],x=0;x<d.length;++x)b.push(255&d.charCodeAt(x));return b}(b),d,x,T)}function latin1Write(d,b,x,T){return asciiWrite(d,b,x,T)}function base64Write(d,b,x,T){return blitBuffer(base64ToBytes(b),d,x,T)}function ucs2Write(d,b,x,T){return blitBuffer(function(d,b){for(var x,T,D,z=[],H=0;H<d.length&&!((b-=2)<0);
vendor: 7,209 bytes, line 769
769++H)x=d.charCodeAt(H),T=x>>8,D=x%256,z.push(D),z.push(T);return z}(b,d.length-x),d,x,T)}function base64Slice(d,b,x){return 0===b&&x===d.length?T.fromByteArray(d):T.fromByteArray(d.slice(b,x))}function utf8Slice(d,b,x){x=Math.min(d.length,x);for(var T=[],D=b;D<x;){var z,H,W,U,Y=d[D],Z=null,J=Y>239?4:Y>223?3:Y>191?2:1;if(D+J<=x)switch(J){case 1:Y<128&&(Z=Y);break;case 2:128==(192&(z=d[D+1]))&&(U=(31&Y)<<6|63&z)>127&&(Z=U);break;case 3:z=d[D+1],H=d[D+2],128==(192&z)&&128==(192&H)&&(U=(15&Y)<<12|(63&z)<<6|63&H)>2047&&(U<55296||U>57343)&&(Z=U);break;case 4:z=d[D+1],H=d[D+2],W=d[D+3],128==(192&z)&&128==(192&H)&&128==(192&W)&&(U=(15&Y)<<18|(63&z)<<12|(63&H)<<6|63&W)>65535&&U<1114112&&(Z=U)}null===Z?(Z=65533,J=1):Z>65535&&(Z-=65536,T.push(Z>>>10&1023|55296),Z=56320|1023&Z),T.push(Z),D+=J}return function(d){var b=d.length;if(b<=4096)return String.fromCharCode.apply(String,d);var x="",T=0;for(;T<b;)x+=String.fromCharCode.apply(String,d.slice(T,T+=4096));return x}(T)}b.Buffer=Buffer,b.SlowBuffer=function(d){+d!=d&&(d=0);return Buffer.alloc(+d)},b.INSPECT_MAX_BYTES=50,Buffer.TYPED_ARRAY_SUPPORT=void 0!==d.TYPED_ARRAY_SUPPORT?d.TYPED_ARRAY_SUPPORT:function(){try{var d=new Uint8Array(1);return d.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===d.foo()&&"function"==typeof d.subarray&&0===d.subarray(1,1).byteLength}catch(d){return!1}}(),b.kMaxLength=kMaxLength(),Buffer.poolSize=8192,Buffer._augment=function(d){return d.__proto__=Buffer.prototype,d},Buffer.from=function(d,b,x){return from(null,d,b,x)},Buffer.TYPED_ARRAY_SUPPORT&&(Buffer.prototype.__proto__=Uint8Array.prototype,Buffer.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&Buffer[Symbol.species]===Buffer&&Object.defineProperty(Buffer,Symbol.species,{value:null,configurable:!0})),Buffer.alloc=function(d,b,x){return function(d,b,x,T){return assertSize(b),b<=0?createBuffer(d,b):void 0!==x?"string"==typeof T?createBuffer(d,b).fill(x,T):createBuffer(d,b).fill(x):createBuffer(d,b)}(null,d,b,x)},Buffer.allocUnsafe=function(d){return allocUnsafe(null,d)},Buffer.allocUnsafeSlow=function(d){return allocUnsafe(null,d)},Buffer.isBuffer=function(d){return!(null==d||!d._isBuffer)},Buffer.compare=function(d,b){if(!Buffer.isBuffer(d)||!Buffer.isBuffer(b))throw new TypeError("Arguments must be Buffers");if(d===b)return 0;for(var x=d.length,T=b.length,D=0,z=Math.min(x,T);D<z;++D)if(d[D]!==b[D]){x=d[D],T=b[D];break}return x<T?-1:T<x?1:0},Buffer.isEncoding=function(d){switch(String(d).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},Buffer.concat=function(d,b){if(!z(d))throw new TypeError('"list" argument must be an Array of Buffers');if(0===d.length)return Buffer.alloc(0);var x;if(void 0===b)for(b=0,x=0;x<d.length;++x)b+=d[x].length;var T=Buffer.allocUnsafe(b),D=0;for(x=0;x<d.length;++x){var H=d[x];if(!Buffer.isBuffer(H))throw new TypeError('"list" argument must be an Array of Buffers');H.copy(T,D),D+=H.length}return T},Buffer.byteLength=byteLength,Buffer.prototype._isBuffer=!0,Buffer.prototype.swap16=function(){var d=this.length;if(d%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var b=0;b<d;b+=2)swap(this,b,b+1);return this},Buffer.prototype.swap32=function(){var d=this.length;if(d%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var b=0;b<d;b+=4)swap(this,b,b+3),swap(this,b+1,b+2);return this},Buffer.prototype.swap64=function(){var d=this.length;if(d%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var b=0;b<d;b+=8)swap(this,b,b+7),swap(this,b+1,b+6),swap(this,b+2,b+5),swap(this,b+3,b+4);return this},Buffer.prototype.toString=function(){var d=0|this.length;return 0===d?"":0===arguments.length?utf8Slice(this,0,d):slowToString.apply(this,arguments)},Buffer.prototype.equals=function(d){if(!Buffer.isBuffer(d))throw new TypeError("Argument must be a Buffer");return this===d||0===Buffer.compare(this,d)},Buffer.prototype.inspect=function(){var d="",x=b.INSPECT_MAX_BYTES;return this.length>0&&(d=this.toString("hex",0,x).match(/.{2}/g).join(" "),this.length>x&&(d+=" ... ")),"<Buffer "+d+">"},Buffer.prototype.compare=function(d,b,x,T,D){if(!Buffer.isBuffer(d))throw new TypeError("Argument must be a Buffer");if(void 0===b&&(b=0),void 0===x&&(x=d?d.length:0),void 0===T&&(T=0),void 0===D&&(D=this.length),b<0||x>d.length||T<0||D>this.length)throw new RangeError("out of range index");if(T>=D&&b>=x)return 0;if(T>=D)return-1;if(b>=x)return 1;if(this===d)return 0;for(var z=(D>>>=0)-(T>>>=0),H=(x>>>=0)-(b>>>=0),W=Math.min(z,H),U=this.slice(T,D),Y=d.slice(b,x),Z=0;Z<W;++Z)if(U[Z]!==Y[Z]){z=U[Z],H=Y[Z];break}return z<H?-1:H<z?1:0},Buffer.prototype.includes=function(d,b,x){return-1!==this.indexOf(d,b,x)},Buffer.prototype.indexOf=function(d,b,x){return bidirectionalIndexOf(this,d,b,x,!0)},Buffer.prototype.lastIndexOf=function(d,b,x){return bidirectionalIndexOf(this,d,b,x,!1)},Buffer.prototype.write=function(d,b,x,T){if(void 0===b)T="utf8",x=this.length,b=0;else if(void 0===x&&"string"==typeof b)T=b,x=this.length,b=0;else{if(!isFinite(b))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");b|=0,isFinite(x)?(x|=0,void 0===T&&(T="utf8")):(T=x,x=void 0)}var D=this.length-b;if((void 0===x||x>D)&&(x=D),d.length>0&&(x<0||b<0)||b>this.length)throw new RangeError("Attempt to write outside buffer bounds");T||(T="utf8");for(var z=!1;;)switch(T){case"hex":return hexWrite(this,d,b,x);case"utf8":case"utf-8":return utf8Write(this,d,b,x);case"ascii":return asciiWrite(this,d,b,x);case"latin1":case"binary":return latin1Write(this,d,b,x);case"base64":return base64Write(this,d,b,x);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this,d,b,x);default:if(z)throw new TypeError("Unknown encoding: "+T);T=(""+T).toLowerCase(),z=!0}},Buffer.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function asciiSlice(d,b,x){var T="";x=Math.min(d.length,x);for(var D=b;D<x;++D)T+=String.fromCharCode(127&d[D]);return T}function latin1Slice(d,b,x){var T="";x=Math.min(d.length,x);for(var D=b;D<x;++D)T+=String.fromCharCode(d[D]);return T}function hexSlice(d,b,x){var T=d.length;(!b||b<0)&&(b=0),(!x||x<0||x>T)&&(x=T);for(var D="",z=b;z<x;++z)D+=toHex(d[z]);return D}function utf16leSlice(d,b,x){for(var T=d.slice(b,x),D="",z=0;z<T.length;z+=2)D+=String.fromCharCode(T[z]+256*T[z+1]);return D}function checkOffset(d,b,x){if(d%1!=0||d<0)throw new RangeError("offset is not uint");if(d+b>x)throw new RangeError("Trying to access beyond buffer length")}function checkInt(d,b,x,T,D,z){if(!Buffer.isBuffer(d))throw new TypeError('"buffer" argument must be a Buffer instance');if(b>D||b<z)throw new RangeError('"value" argument is out of bounds');if(x+T>d.length)throw new RangeError("Index out of range")}function objectWriteUInt16(d,b,x,T){b<0&&(b=65535+b+1);for(var D=0,z=Math.min(d.length-x,2);D<z;++D)d[x+D]=(b&255<<8*(T?D:1-D))>>>8*(T?D:1-D)}function objectWriteUInt32(d,b,x,T){b<0&&(b=4294967295+b+1);for(var D=0,z=Math.min(d.length-x,4);D<z;++D)d[x+D]=b>>>8*(T?D:3-D)&255}
vendor: 7,055 bytes, line 769
769function checkIEEE754(d,b,x,T,D,z){if(x+T>d.length)throw new RangeError("Index out of range");if(x<0)throw new RangeError("Index out of range")}function writeFloat(d,b,x,T,z){return z||checkIEEE754(d,0,x,4),D.write(d,b,x,T,23,4),x+4}function writeDouble(d,b,x,T,z){return z||checkIEEE754(d,0,x,8),D.write(d,b,x,T,52,8),x+8}Buffer.prototype.slice=function(d,b){var x,T=this.length;if((d=~~d)<0?(d+=T)<0&&(d=0):d>T&&(d=T),(b=void 0===b?T:~~b)<0?(b+=T)<0&&(b=0):b>T&&(b=T),b<d&&(b=d),Buffer.TYPED_ARRAY_SUPPORT)(x=this.subarray(d,b)).__proto__=Buffer.prototype;else{var D=b-d;x=new Buffer(D,void 0);for(var z=0;z<D;++z)x[z]=this[z+d]}return x},Buffer.prototype.readUIntLE=function(d,b,x){d|=0,b|=0,x||checkOffset(d,b,this.length);for(var T=this[d],D=1,z=0;++z<b&&(D*=256);)T+=this[d+z]*D;return T},Buffer.prototype.readUIntBE=function(d,b,x){d|=0,b|=0,x||checkOffset(d,b,this.length);for(var T=this[d+--b],D=1;b>0&&(D*=256);)T+=this[d+--b]*D;return T},Buffer.prototype.readUInt8=function(d,b){return b||checkOffset(d,1,this.length),this[d]},Buffer.prototype.readUInt16LE=function(d,b){return b||checkOffset(d,2,this.length),this[d]|this[d+1]<<8},Buffer.prototype.readUInt16BE=function(d,b){return b||checkOffset(d,2,this.length),this[d]<<8|this[d+1]},Buffer.prototype.readUInt32LE=function(d,b){return b||checkOffset(d,4,this.length),(this[d]|this[d+1]<<8|this[d+2]<<16)+16777216*this[d+3]},Buffer.prototype.readUInt32BE=function(d,b){return b||checkOffset(d,4,this.length),16777216*this[d]+(this[d+1]<<16|this[d+2]<<8|this[d+3])},Buffer.prototype.readIntLE=function(d,b,x){d|=0,b|=0,x||checkOffset(d,b,this.length);for(var T=this[d],D=1,z=0;++z<b&&(D*=256);)T+=this[d+z]*D;return T>=(D*=128)&&(T-=Math.pow(2,8*b)),T},Buffer.prototype.readIntBE=function(d,b,x){d|=0,b|=0,x||checkOffset(d,b,this.length);for(var T=b,D=1,z=this[d+--T];T>0&&(D*=256);)z+=this[d+--T]*D;return z>=(D*=128)&&(z-=Math.pow(2,8*b)),z},Buffer.prototype.readInt8=function(d,b){return b||checkOffset(d,1,this.length),128&this[d]?-1*(255-this[d]+1):this[d]},Buffer.prototype.readInt16LE=function(d,b){b||checkOffset(d,2,this.length);var x=this[d]|this[d+1]<<8;return 32768&x?4294901760|x:x},Buffer.prototype.readInt16BE=function(d,b){b||checkOffset(d,2,this.length);var x=this[d+1]|this[d]<<8;return 32768&x?4294901760|x:x},Buffer.prototype.readInt32LE=function(d,b){return b||checkOffset(d,4,this.length),this[d]|this[d+1]<<8|this[d+2]<<16|this[d+3]<<24},Buffer.prototype.readInt32BE=function(d,b){return b||checkOffset(d,4,this.length),this[d]<<24|this[d+1]<<16|this[d+2]<<8|this[d+3]},Buffer.prototype.readFloatLE=function(d,b){return b||checkOffset(d,4,this.length),D.read(this,d,!0,23,4)},Buffer.prototype.readFloatBE=function(d,b){return b||checkOffset(d,4,this.length),D.read(this,d,!1,23,4)},Buffer.prototype.readDoubleLE=function(d,b){return b||checkOffset(d,8,this.length),D.read(this,d,!0,52,8)},Buffer.prototype.readDoubleBE=function(d,b){return b||checkOffset(d,8,this.length),D.read(this,d,!1,52,8)},Buffer.prototype.writeUIntLE=function(d,b,x,T){(d=+d,b|=0,x|=0,T)||checkInt(this,d,b,x,Math.pow(2,8*x)-1,0);var D=1,z=0;for(this[b]=255&d;++z<x&&(D*=256);)this[b+z]=d/D&255;return b+x},Buffer.prototype.writeUIntBE=function(d,b,x,T){(d=+d,b|=0,x|=0,T)||checkInt(this,d,b,x,Math.pow(2,8*x)-1,0);var D=x-1,z=1;for(this[b+D]=255&d;--D>=0&&(z*=256);)this[b+D]=d/z&255;return b+x},Buffer.prototype.writeUInt8=function(d,b,x){return d=+d,b|=0,x||checkInt(this,d,b,1,255,0),Buffer.TYPED_ARRAY_SUPPORT||(d=Math.floor(d)),this[b]=255&d,b+1},Buffer.prototype.writeUInt16LE=function(d,b,x){return d=+d,b|=0,x||checkInt(this,d,b,2,65535,0),Buffer.TYPED_ARRAY_SUPPORT?(this[b]=255&d,this[b+1]=d>>>8):objectWriteUInt16(this,d,b,!0),b+2},Buffer.prototype.writeUInt16BE=function(d,b,x){return d=+d,b|=0,x||checkInt(this,d,b,2,65535,0),Buffer.TYPED_ARRAY_SUPPORT?(this[b]=d>>>8,this[b+1]=255&d):objectWriteUInt16(this,d,b,!1),b+2},Buffer.prototype.writeUInt32LE=function(d,b,x){return d=+d,b|=0,x||checkInt(this,d,b,4,4294967295,0),Buffer.TYPED_ARRAY_SUPPORT?(this[b+3]=d>>>24,this[b+2]=d>>>16,this[b+1]=d>>>8,this[b]=255&d):objectWriteUInt32(this,d,b,!0),b+4},Buffer.prototype.writeUInt32BE=function(d,b,x){return d=+d,b|=0,x||checkInt(this,d,b,4,4294967295,0),Buffer.TYPED_ARRAY_SUPPORT?(this[b]=d>>>24,this[b+1]=d>>>16,this[b+2]=d>>>8,this[b+3]=255&d):objectWriteUInt32(this,d,b,!1),b+4},Buffer.prototype.writeIntLE=function(d,b,x,T){if(d=+d,b|=0,!T){var D=Math.pow(2,8*x-1);checkInt(this,d,b,x,D-1,-D)}var z=0,H=1,W=0;for(this[b]=255&d;++z<x&&(H*=256);)d<0&&0===W&&0!==this[b+z-1]&&(W=1),this[b+z]=(d/H>>0)-W&255;return b+x},Buffer.prototype.writeIntBE=function(d,b,x,T){if(d=+d,b|=0,!T){var D=Math.pow(2,8*x-1);checkInt(this,d,b,x,D-1,-D)}var z=x-1,H=1,W=0;for(this[b+z]=255&d;--z>=0&&(H*=256);)d<0&&0===W&&0!==this[b+z+1]&&(W=1),this[b+z]=(d/H>>0)-W&255;return b+x},Buffer.prototype.writeInt8=function(d,b,x){return d=+d,b|=0,x||checkInt(this,d,b,1,127,-128),Buffer.TYPED_ARRAY_SUPPORT||(d=Math.floor(d)),d<0&&(d=255+d+1),this[b]=255&d,b+1},Buffer.prototype.writeInt16LE=function(d,b,x){return d=+d,b|=0,x||checkInt(this,d,b,2,32767,-32768),Buffer.TYPED_ARRAY_SUPPORT?(this[b]=255&d,this[b+1]=d>>>8):objectWriteUInt16(this,d,b,!0),b+2},Buffer.prototype.writeInt16BE=function(d,b,x){return d=+d,b|=0,x||checkInt(this,d,b,2,32767,-32768),Buffer.TYPED_ARRAY_SUPPORT?(this[b]=d>>>8,this[b+1]=255&d):objectWriteUInt16(this,d,b,!1),b+2},Buffer.prototype.writeInt32LE=function(d,b,x){return d=+d,b|=0,x||checkInt(this,d,b,4,2147483647,-2147483648),Buffer.TYPED_ARRAY_SUPPORT?(this[b]=255&d,this[b+1]=d>>>8,this[b+2]=d>>>16,this[b+3]=d>>>24):objectWriteUInt32(this,d,b,!0),b+4},Buffer.prototype.writeInt32BE=function(d,b,x){return d=+d,b|=0,x||checkInt(this,d,b,4,2147483647,-2147483648),d<0&&(d=4294967295+d+1),Buffer.TYPED_ARRAY_SUPPORT?(this[b]=d>>>24,this[b+1]=d>>>16,this[b+2]=d>>>8,this[b+3]=255&d):objectWriteUInt32(this,d,b,!1),b+4},Buffer.prototype.writeFloatLE=function(d,b,x){return writeFloat(this,d,b,!0,x)},Buffer.prototype.writeFloatBE=function(d,b,x){return writeFloat(this,d,b,!1,x)},Buffer.prototype.writeDoubleLE=function(d,b,x){return writeDouble(this,d,b,!0,x)},Buffer.prototype.writeDoubleBE=function(d,b,x){return writeDouble(this,d,b,!1,x)},Buffer.prototype.copy=function(d,b,x,T){if(x||(x=0),T||0===T||(T=this.length),b>=d.length&&(b=d.length),b||(b=0),T>0&&T<x&&(T=x),T===x)return 0;if(0===d.length||0===this.length)return 0;if(b<0)throw new RangeError("targetStart out of bounds");if(x<0||x>=this.length)throw new RangeError("sourceStart out of bounds");if(T<0)throw new RangeError("sourceEnd out of bounds");T>this.length&&(T=this.length),d.length-b<T-x&&(T=d.length-b+x);var D,z=T-x;if(this===d&&x<b&&b<T)for(D=z-1;D>=0;--D)d[D+b]=this[D+x];else if(z<1e3||!Buffer.TYPED_ARRAY_SUPPORT)for(D=0;D<z;++D)d[D+b]=this[D+x];else Uint8Array.prototype.set.call(d,this.subarray(x,x+z),b);return z},Buffer.prototype.fill=function(d,b,x,T){if("string"==typeof d){if("string"==typeof b?(T=b,b=0,x=this.length):"string"==typeof x&&(T=x,x=this.length),1===d.length){var D=d.charCo
769deAt(0);D<256&&(d=D)}if(void 0!==T&&"string"!=typeof T)throw new TypeError("encoding must be a string");if("string"==typeof T&&!Buffer.isEncoding(T))throw new TypeError("Unknown encoding: "+T)}else"number"==typeof d&&(d&=255);if(b<0||this.length<b||this.length<x)throw new RangeError("Out of range index");if(x<=b)return this;var z;if(b>>>=0,x=void 0===x?this.length:x>>>0,d||(d=0),"number"==typeof d)for(z=b;z<x;++z)this[z]=d;else{var H=Buffer.isBuffer(d)?d:utf8ToBytes(new Buffer(d,T).toString()),W=H.length;for(z=0;z<x-b;++z)this[z+b]=H[z%W]}return this};var H=/[^+\/0-9A-Za-z-_]/g;function toHex(d){return d<16?"0"+d.toString(16):d.toString(16)}function utf8ToBytes(d,b){var x;b=b||1/0;for(var T=d.length,D=null,z=[],H=0;H<T;++H){if((x=d.charCodeAt(H))>55295&&x<57344){if(!D){if(x>56319){(b-=3)>-1&&z.push(239,191,189);continue}if(H+1===T){(b-=3)>-1&&z.push(239,191,189);continue}D=x;continue}if(x<56320){(b-=3)>-1&&z.push(239,191,189),D=x;continue}x=65536+(D-55296<<10|x-56320)}else D&&(b-=3)>-1&&z.push(239,191,189);if(D=null,x<128){if((b-=1)<0)break;z.push(x)}else if(x<2048){if((b-=2)<0)break;z.push(x>>6|192,63&x|128)}else if(x<65536){if((b-=3)<0)break;z.push(x>>12|224,x>>6&63|128,63&x|128)}else{if(!(x<1114112))throw new Error("Invalid code point");if((b-=4)<0)break;z.push(x>>18|240,x>>12&63|128,x>>6&63|128,63&x|128)}}return z}function base64ToBytes(d){return T.toByteArray(function(d){if((d=function(d){return d.trim?d.trim():d.replace(/^\s+|\s+$/g,"")}(d).replace(H,"")).length<2)return"";for(;d.length%4!=0;)d+="=";return d}(d))}function blitBuffer(d,b,x,T){for(var D=0;D<T&&!(D+x>=b.length||D>=d.length);++D)b[D+x]=d[D];return D}}).call(this,x("yLpj"))},HH6Z:function(d,b,x){"use strict";var T=x("WeaP").supportsDescriptors,D=x("V+xs"),z=Object.getOwnPropertyDescriptor,H=Object.defineProperty,W=TypeError,U=Object.getPrototypeOf,Y=/a/;d.exports=function(){if(!T||!U)throw new W("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var d=D(),b=U(Y),x=z(b,"flags");return x&&x.get===d||H(b,"flags",{configurable:!0,enumerable:!1,get:d}),d}},"I78/":function(d,b,x){"use strict";var T=x("7ubj");d.exports=Function.prototype.bind||T},IAsY:function(d,b){var x,T,D,z,H,W,U,Y,Z,J,ee,te,ne,ie,oe,se;window.App=window.App||{},App.SearchField=(T=-1,D=function(d,b,x){var T={};return x=x||{},b.forEach((function(d){d in x&&(T[d]=x[d])})),d+"?"+H(T)},z=function(d){var b=$.Deferred();return $.ajax({type:"GET",url:d,dataType:"json",accept:"application/json"}).done((function(d,x,T){b.resolve(d,!0)})).fail((function(d,x,T){b.resolve(d.responseText,!1)})),b.promise()},H=function(d){return Object.keys(d).map((function(b){return encodeURIComponent(b)+"="+encodeURIComponent(d[b]).replace(/(\%20)+/g,"+")})).join("&")},W=function(d,b){var x=(d.attr("placeholder")||"").split("");d.attr("placeholder",""),window.setTimeout((function(){x.forEach((function(b,T){window.setTimeout((function(){var b=x.length===T+1,D=x.slice(0,T+1);d.attr("placeholder",D.join("")+(b?"":"|"))}),500+100*T)}))}),b||1)},U=function(d){window.history.replaceState&&window.history.replaceState(null,null,d)},Y=function(d){var b=d.find('[data-role="search-suggestions-container"]'),x=d.attr("action");(function(d){var b=d.attr("data-suggestions-url"),x=d.find('input[type="search"]').val().trim(),T=D(b,["q","_charset_"],{q:x,_charset_:d.find('input[name="_charset_"]').val()});return z(T)})(d).then((function(T){if(T.length>0){var z=T.map((function(b){return'<li role="option"><a href="'+D(x,["q","_charset_"],{q:b,_charset_:d.find('input[name="_charset_"]').val()})+'" data-action="search-for-term">'+b+"</a></li>"}));b.html(z),b.show()}else b.hide()}))},Z=function(d){var b=d.find('[data-role="search-suggestions-container"]');b.hide(),b.empty(),T=-1},J=function(d){var b=$('[data-role="search-overlay"]'),x=d.closest('[data-role="search-bar"]'),T=$('<span class="search-form__icon search-form__icon--active" data-role="placeholder-icon">'+x.find(".search-form__icon").html()+"</span>");T.on("click",(function(b){b.stopPropagation(),b.preventDefault(),ie(d),d.find('input[type="search"]').val("").trigger("input")})),d.closest('[data-role="layout-header"]').find('[data-role="inline-search-container"]').append(T),b.find('[data-role="search-form-container"]').append(x),b.addClass("onscreen"),window.setTimeout((function(){b.addClass("opaque"),b.find('input[type="search"]').focus()}),10),x.addClass("spread"),$(window).on("keydown.search-overlay",(function(b){27===(b.which||b.keyCode)&&ie(d)}))},ee=function(d,b){var x=$('[data-role="search-overlay"]'),T=x.find('[data-role="search-results-container"]');ne(x),J(d),T.removeClass("hidden"),T.addClass("loading"),function(d,b){var x=d.attr("data-results-url"),T=D(x,["q","page","_charset_"],b);return z(T)}(d,b).then((function(x){var z=$(x).attr("data-role","search-results");T.removeClass("loading"),T.append(z),U(D(d.attr("action"),["q","page","_charset_"],b)),new window.SimpleBar(T.find('[data-module~="custom-scrollbar"]')[0],{autoHide:!1,scrollbarMinSize:40})}))},te=function(d,b){ee(d,b)},ne=function(d){d.find('[data-role="search-results-container"]').find('[data-role="search-results"]').remove()},ie=function(d){var b=d.closest('[data-role="layout-header"]'),x=b.find('[data-role="search-overlay"]'),T=x.find('[data-role="search-bar"]').not(".search-bar--results-page-mobile"),D=x.find(".search-bar--results-page-mobile");U(d.data("url")),ne(x),x.removeClass("onscreen opaque"),T.removeClass("spread"),D&&$(".search-results-layout__search-field--mobile").append(D),b.find('[data-role="inline-search-container"] [data-role="placeholder-icon"]').off("
769click"),b.find('[data-role="inline-search-container"] [data-role="placeholder-icon"]').remove(),b.find('[data-role="inline-search-container"]').append(T),$(window).off("keydown.search-overlay")},oe=function(d){var b=$('[data-role="search-overlay"]');d.data("url",window.location.pathname+window.location.search),d.on("submit",(function(b){if(App.matchesScreenDimensions("min:md",App.breakpoints)){b.preventDefault();var x=d.find('input[type="search"]').val().trim();0!==x.length&&(Z(d),te(d,{q:x,_charset_:d.find('input[name="_charset_"]').val()}))}})),d.on("focus",'input[type="search"]',(function(){App.matchesScreenDimensions("max:tablet",App.breakpoints)&&(b.find('input[type="search"]').is(":focus")||(J(d),b.find('input[type="search"]').focus()))})),b.on("click",'[data-action="search-for-term"]',(function(b){b.preventDefault(),d.find('input[type="search"]').val($(this).attr("data-term")||$(this).text()),d.trigger("submit")})),b.on("click",'[data-action="go-to-page"]',(function(b){b.preventDefault();var x,T=("?"===(x=this.search)[0]?x.substr(1):x).split("&").reduce((function(d,b){if(0===b.length)return d;var x=b.split("=");return d[decodeURIComponent(x[0])]=decodeURIComponent((x[1]||"").replace(/\+/g,"%20")),d}),{});te(d,T)})),b.on("click",'[data-action="close-search-results"]',(function(b){b.preventDefault(),ie(d),d.find('input[type="search"]').val("").trigger("input")}))},se=function(d){var b=!!d.attr("data-results-url");d.on("input focus",'input[type="search"]',(function(){0!==d.find('input[type="search"]').val().trim().length?function(d){Y(d)}(d):Z(d)})),d.on("input focus blur",'input[type="search"]',(function(){var b=d.find('input[type="search"]').val().trim();d.find('[data-action="clear-search"]').toggleClass("hidden",0===b.length)})),d.on("blur",'input[type="search"]',(function(){window.setTimeout((function(){Z(d)}),200)})),d.on("click",'[data-action="search-for-term"]',(function(x){x.preventDefault(),b||(d.off("input focus",'input[type="search"]'),Z(d)),d.find('input[type="search"]').val($(this).attr("data-term")||$(this).text()),d.trigger("submit")})),d.on("click",'[data-action="clear-search"]',(function(b){b.preventDefault(),Z(d),d.find('input[type="search"]').val("").focus()}));var D=38,z=40,H=13,U=d.find('[data-role="search-suggestions-container"]');d.on("keydown",(function(d){switch(U.children().removeClass("search-form__suggestion--hover"),d.which){case D:T>0?T--:T=U.children().length-1,x=$(U.children()[T]).addClass("search-form__suggestion--hover"),d.preventDefault();break;case z:T<U.children().length-1?T++:T=0,x=$(U.children()[T]).addClass("search-form__suggestion--hover"),d.preventDefault();break;case H:x&&(d.stopPropagation(),x.find("a").trigger("click"),d.preventDefault());break;default:return}})),b&&oe(d),$(document).ready((function(){!function(d){var b=window.localStorage.getItem(App.GLOBALS.LOCAL_STORAGE.NAMES.SEARCHBOX_ANIMATED),x=d.find('input[type="search"]');b||App.GLOBALS.IS_IE||(W(x,300),window.localStorage.setItem(App.GLOBALS.LOCAL_STORAGE.NAMES.SEARCHBOX_ANIMATED,"true")),d.removeClass("hidden")}(d)}))},{init:function(){$('[data-module~="search-field"]').each((function(){se($(this))}))}})},IX3V:function(d,b){d.exports={isFunction:function(d){return"function"==typeof d},isArray:function(d){return"[object Array]"===Object.prototype.toString.apply(d)},each:function(d,b){for(var x=0,T=d.length;x<T&&!1!==b(d[x],x);x++);}}},IbKI:function(d,b,x){"use strict";var UserCentrics=function(d){this.$element=d,this.$element.find('[data-action="open-cookies"]').on("click",(function(){void 0!==window.usercentrics&&window.usercentrics.toggleConsentInfoModalIsVisible()}))};b.a=UserCentrics},IdCN:function(d,b,x){"use strict";function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}var T=Function.prototype.toString,D=/^\s*class\b/,isES6ClassFn=function(d){try{var b=T.call(d);return D.test(b)}catch(d){return!1}},z=Object.prototype.toString,H="function"==typeof Symbol&&"symbol"===_typeof(Symbol.toStringTag);d.exports=function(d){if(!d)return!1;if("function"!=typeof d&&"object"!==_typeof(d))return!1;if("function"==typeof d&&!d.prototype)return!0;
769if(H)return function(d){try{return!isES6ClassFn(d)&&(T.call(d),!0)}catch(d){return!1}}(d);if(isES6ClassFn(d))return!1;var b=z.call(d);return"[object Function]"===b||"[object GeneratorFunction]"===b}},IepT:function(d,b,x){"use strict";function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}var T="undefined"!=typeof Symbol&&Symbol,D=x("Zyd1");d.exports=function(){return"function"==typeof T&&("function"==typeof Symbol&&("symbol"===_typeof(T("foo"))&&("symbol"===_typeof(Symbol("bar"))&&D())))}},ItGF:function(d,b,x){"use strict";function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}var Browser=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},T=new function(){this.browser=new Browser,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!=typeof window};"object"===("undefined"==typeof wx?"undefined":_typeof(wx))&&"function"==typeof wx.getSystemInfoSync?(T.wxa=!0,T.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?T.worker=!0:!T.hasGlobalWindow||"Deno"in window||"undefined"!=typeof navigator&&"string"==typeof navigator.userAgent&&navigator.userAgent.indexOf("Node.js")>-1?(T.node=!0,T.svgSupported=!0):function(d,b){var x=b.browser,T=d.match(/Firefox\/([\d.]+)/),D=d.match(/MSIE\s([\d.]+)/)||d.match(/Trident\/.+?rv:(([\d.]+))/),z=d.match(/Edge?\/([\d.]+)/),H=/micromessenger/i.test(d);T&&(x.firefox=!0,x.version=T[1]);D&&(x.ie=!0,x.version=D[1]);z&&(x.edge=!0,x.version=z[1],x.newEdge=+z[1].split(".")[0]>18);H&&(x.weChat=!0);if(b.svgSupported="undefined"!=typeof SVGRect,b.touchEventsSupported="ontouchstart"in window&&!x.ie&&!x.edge,b.pointerEventsSupported="onpointerdown"in window&&(x.edge||x.ie&&+x.version>=11),b.domSupported="undefined"!=typeof document){var W=document.documentElement.style;b.transform3dSupported=(x.ie&&"transition"in W||x.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in W)&&!("OTransition"in W),b.transformSupported=b.transform3dSupported||x.ie&&+x.version>=9}}(navigator.userAgent,T),b.a=T},JC41:function(d,b,x){"use strict";function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}if(x("KDTS")()){var T=BigInt.prototype.valueOf;d.exports=function(d){return null!=d&&"boolean"!=typeof d&&"string"!=typeof d&&"number"!=typeof d&&"symbol"!==_typeof(d)&&"function"!=typeof d&&("bigint"==typeof d||function(d){try{return T.call(d),!0}catch(d){}return!1}(d))}}else d.exports=function(d){return!1}},JQAW:function(d,b,x){"use strict";var functionsHaveNames=function(){return"string"==typeof function(){}.name},T=Object.getOwnPropertyDescriptor;if(T)try{T([],"length")}catch(d){T=null}functionsHaveNames.functionsHaveConfigurableNames=function(){if(!functionsHaveNames()||!T)return!1;var d=T((function(){}),"name");return!!d&&!!d.configurable};var D=Function.prototype.bind;functionsHaveNames.boundFunctionsHaveNames=function(){return functionsHaveNames()&&"function"==typeof D&&""!==function(){}.bind().name},d.exports=functionsHaveNames},Jcuy:function(d,b){window.App=window.App||{},App.CookieHint={init:function(){window.Cookies.get("cookie_banner_seen")||$('[data-module~="cookie-hint"]').removeClass("hidden").cookieNotice()}}},JlEA:function(d,b){var x,T,D,z,H;window.App=window.App||{},App.DropdownMenu=(x=0,T=!1,D=function(d){var b=$(window).height(),x=$(".layout-header"),T=b-(x.hasClass("affix")?x.height()+22:x.height());d.css({height:T+"px"})},z=function(d){d.off("click.dropdownMenu"),$(window).on("resize.dropdownMenu"),d.addClass("hidden").attr("aria-expanded",!1),d.css({maxHeight:""}),App.GLOBALS.IS_IE||$('[data-role="overlay-background"]').addClass("hidden"),$('[data-role="layout-header"]').removeClass("above-overlay-background"),$("body").removeClass("body--fixed-scroll"),T=!1},H=function(d){$("body").on("click.dropdownMenu",'[data-action="toggle-dropdown-menu"]',(function(b){var H=d.filter('[data-role="'+$(this).attr("data-target-role")+'"]');0!==H.length&&App.matchesScreenDimensions($(this).attr("data-media"))&&(b.stopPropagation(),H.is(".hidden")?(x=$(window).scrollTop(),function(d){var b=d.find('[data-module~="custom-scrollbar"]');d.removeClass("hidden").attr("aria-expanded",!0),App.GLOBALS.IS_IE||$('[data-role="overlay-background"]').removeClass("hidden"),$('[data-role="layout-header"]').addClass("above-overlay-background"),$("body").on("click",(function(){T&&(z(d),window.scrollTo(0,x))})),d.on("click.dropdownMenu",(function(d){d.stopPropagation()})),b.length>0&&(D(d.find('[data-role="menu-content"]')),new window.SimpleBar(b[0],{autoHide:!1,scrollbarMinSize:40}),$(window).on("resize.dropdownMenu",(function(){D(d)}))),$("body").addClass("body--fixed-scroll"),T=!0}(H),window.scrollTo(0,0)):(z(H),window.scrollTo(0,x)))}))},{init:function(){var d=$('[data-module~="dropdown-menu"]');window.enquire.register("screen and (min-width: "+App.breakpoints.min.tablet+"px)",{match:function(){H(d)}
769,unmatch:function(){!function(d){$("body").off("click.dropdownMenu",'[data-action="toggle-dropdown-menu"]'),T&&(z(d),window.scrollTo(0,x))}(d)}})}})},JxQ3:function(d,b,x){(function(b){function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}var T="function"==typeof Map&&Map.prototype,D=Object.getOwnPropertyDescriptor&&T?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,z=T&&D&&"function"==typeof D.get?D.get:null,H=T&&Map.prototype.forEach,W="function"==typeof Set&&Set.prototype,U=Object.getOwnPropertyDescriptor&&W?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Y=W&&U&&"function"==typeof U.get?U.get:null,Z=W&&Set.prototype.forEach,J="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,ee="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,te="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,ne=B
vendor: 5,763 bytes, line 769
769oolean.prototype.valueOf,ie=Object.prototype.toString,oe=Function.prototype.toString,se=String.prototype.match,le=String.prototype.slice,ce=String.prototype.replace,de=String.prototype.toUpperCase,he=String.prototype.toLowerCase,pe=RegExp.prototype.test,fe=Array.prototype.concat,ge=Array.prototype.join,me=Array.prototype.slice,ye=Math.floor,ve="function"==typeof BigInt?BigInt.prototype.valueOf:null,xe=Object.getOwnPropertySymbols,_e="function"==typeof Symbol&&"symbol"===_typeof(Symbol.iterator)?Symbol.prototype.toString:null,we="function"==typeof Symbol&&"object"===_typeof(Symbol.iterator),Se="function"==typeof Symbol&&Symbol.toStringTag&&(_typeof(Symbol.toStringTag)===we||"symbol")?Symbol.toStringTag:null,Me=Object.prototype.propertyIsEnumerable,Te=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(d){return d.__proto__}:null);function addNumericSeparator(d,b){if(d===1/0||d===-1/0||d!=d||d&&d>-1e3&&d<1e3||pe.call(/e/,b))return b;var x=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof d){var T=d<0?-ye(-d):ye(d);if(T!==d){var D=String(T),z=le.call(b,D.length+1);return ce.call(D,x,"$&_")+"."+ce.call(ce.call(z,/([0-9]{3})/g,"$&_"),/_$/,"")}}return ce.call(b,x,"$&_")}var ke=x(1),Pe=ke.custom,Ee=isSymbol(Pe)?Pe:null;function wrapQuotes(d,b,x){var T="double"===(x.quoteStyle||b)?'"':"'";return T+d+T}function quote(d){return ce.call(String(d),/"/g,"&quot;")}function isArray(d){return!("[object Array]"!==toStr(d)||Se&&"object"===_typeof(d)&&Se in d)}function isRegExp(d){return!("[object RegExp]"!==toStr(d)||Se&&"object"===_typeof(d)&&Se in d)}function isSymbol(d){if(we)return d&&"object"===_typeof(d)&&d instanceof Symbol;if("symbol"===_typeof(d))return!0;if(!d||"object"!==_typeof(d)||!_e)return!1;try{return _e.call(d),!0}catch(d){}return!1}d.exports=function inspect_(d,x,T,D){var W=x||{};if(has(W,"quoteStyle")&&"single"!==W.quoteStyle&&"double"!==W.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(has(W,"maxStringLength")&&("number"==typeof W.maxStringLength?W.maxStringLength<0&&W.maxStringLength!==1/0:null!==W.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var U=!has(W,"customInspect")||W.customInspect;if("boolean"!=typeof U&&"symbol"!==U)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(has(W,"indent")&&null!==W.indent&&"\t"!==W.indent&&!(parseInt(W.indent,10)===W.indent&&W.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(has(W,"numericSeparator")&&"boolean"!=typeof W.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var ie=W.numericSeparator;if(void 0===d)return"undefined";if(null===d)return"null";if("boolean"==typeof d)return d?"true":"false";if("string"==typeof d)return function inspectString(d,b){if(d.length>b.maxStringLength){var x=d.length-b.maxStringLength,T="... "+x+" more character"+(x>1?"s":"");return inspectString(le.call(d,0,b.maxStringLength),b)+T}return wrapQuotes(ce.call(ce.call(d,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,lowbyte),"single",b)}(d,W);if("number"==typeof d){if(0===d)return 1/0/d>0?"0":"-0";var de=String(d);return ie?addNumericSeparator(d,de):de}if("bigint"==typeof d){var pe=String(d)+"n";return ie?addNumericSeparator(d,pe):pe}var ye=void 0===W.depth?5:W.depth;if(void 0===T&&(T=0),T>=ye&&ye>0&&"object"===_typeof(d))return isArray(d)?"[Array]":"[Object]";var xe=function(d,b){var x;if("\t"===d.indent)x="\t";else{if(!("number"==typeof d.indent&&d.indent>0))return null;x=ge.call(Array(d.indent+1)," ")}return{base:x,prev:ge.call(Array(b+1),x)}}(W,T);if(void 0===D)D=[];else if(indexOf(D,d)>=0)return"[Circular]";function inspect(d,b,x){if(b&&(D=me.call(D)).push(b),x){var z={depth:W.depth};return has(W,"quoteStyle")&&(z.quoteStyle=W.quoteStyle),inspect_(d,z,T+1,D)}return inspect_(d,W,T+1,D)}if("function"==typeof d&&!isRegExp(d)){var Pe=function(d){if(d.name)return d.name;var b=se.call(oe.call(d),/^function\s*([\w$]+)/);if(b)return b[1];return null}(d),Le=arrObjKeys(d,inspect);return"[Function"+(Pe?": "+Pe:" (anonymous)")+"]"+(Le.length>0?" { "+ge.call(Le,", ")+" }":"")}if(isSymbol(d)){var Ne=we?ce.call(String(d),/^(Symbol\(.*\))_[^)]*$/,"$1"):_e.call(d);return"object"!==_typeof(d)||we?Ne:markBoxed(Ne)}if(function(d){if(!d||"object"!==_typeof(d))return!1;if("undefined"!=typeof HTMLElement&&d instanceof HTMLElement)return!0;return"string"==typeof d.nodeName&&"function"==typeof d.getAttribute}(d)){for(var Ve="<"+he.call(String(d.nodeName)),Fe=d.attributes||[],Ge=0;Ge<Fe.length;Ge++)Ve+=" "+Fe[Ge].name+"="+wrapQuotes(quote(Fe[Ge].value),"double",W);return Ve+=">",d.childNodes&&d.childNodes.length&&(Ve+="..."),Ve+="</"+he.call(String(d.nodeName))+">"}if(isArray(d)){if(0===d.length)return"[]";var Ye=arrObjKeys(d,inspect);return xe&&!function(d){for(var b=0;b<d.length;b++)if(indexOf(d[b],"\n")>=0)return!1;return!0}(Ye)?"["+indentedJoin(Ye,xe)+"]":"[ "+ge.call(Ye,", ")+" ]"}if(function(d){return!("[object Error]"!==toStr(d)||Se&&"object"===_typeof(d)&&Se in d)}(d)){var Xe=arrObjKeys(d,inspect);return"cause"in Error.prototype||!("cause"in d)||Me.call(d,"cause")?0===Xe.length?"["+String(d)+"]":"{ ["+String(d)+"] "+ge.call(Xe,", ")+" }":"{ ["+String(d)+"] "+ge.call(fe.call("[cause]: "+inspect(d.cause),Xe),", ")+" }"}if("object"===_typeof(d)&&U){if(Ee&&"function"==typeof d[Ee]&&ke)return ke(d,{depth:ye-T});if("symbol"!==U&&"function"==typeof d.inspect)return d.inspect()}if(function(d){if(!z||!d||"object"!==_typeof(d))return!1;try{z.call(d);try{Y.call(d)}catch(d){return!0}return d instanceof Map}catch(d){}return!1}(d)){var Ke=[];
vendor: 2,451 bytes, line 769
769return H&&H.call(d,(function(b,x){Ke.push(inspect(x,d,!0)+" => "+inspect(b,d))})),collectionOf("Map",z.call(d),Ke,xe)}if(function(d){if(!Y||!d||"object"!==_typeof(d))return!1;try{Y.call(d);try{z.call(d)}catch(d){return!0}return d instanceof Set}catch(d){}return!1}(d)){var Qe=[];return Z&&Z.call(d,(function(b){Qe.push(inspect(b,d))})),collectionOf("Set",Y.call(d),Qe,xe)}if(function(d){if(!J||!d||"object"!==_typeof(d))return!1;try{J.call(d,J);try{ee.call(d,ee)}catch(d){return!0}return d instanceof WeakMap}catch(d){}return!1}(d))return weakCollectionOf("WeakMap");if(function(d){if(!ee||!d||"object"!==_typeof(d))return!1;try{ee.call(d,ee);try{J.call(d,J)}catch(d){return!0}return d instanceof WeakSet}catch(d){}return!1}(d))return weakCollectionOf("WeakSet");if(function(d){if(!te||!d||"object"!==_typeof(d))return!1;try{return te.call(d),!0}catch(d){}return!1}(d))return weakCollectionOf("WeakRef");if(function(d){return!("[object Number]"!==toStr(d)||Se&&"object"===_typeof(d)&&Se in d)}(d))return markBoxed(inspect(Number(d)));if(function(d){if(!d||"object"!==_typeof(d)||!ve)return!1;try{return ve.call(d),!0}catch(d){}return!1}(d))return markBoxed(inspect(ve.call(d)));if(function(d){return!("[object Boolean]"!==toStr(d)||Se&&"object"===_typeof(d)&&Se in d)}(d))return markBoxed(ne.call(d));if(function(d){return!("[object String]"!==toStr(d)||Se&&"object"===_typeof(d)&&Se in d)}(d))return markBoxed(inspect(String(d)));if("undefined"!=typeof window&&d===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&d===globalThis||void 0!==b&&d===b)return"{ [object globalThis] }";if(!function(d){return!("[object Date]"!==toStr(d)||Se&&"object"===_typeof(d)&&Se in d)}(d)&&!isRegExp(d)){var et=arrObjKeys(d,inspect),tt=Te?Te(d)===Object.prototype:d instanceof Object||d.constructor===Object,nt=d instanceof Object?"":"null prototype",ot=!tt&&Se&&Object(d)===d&&Se in d?le.call(toStr(d),8,-1):nt?"Object":"",lt=(tt||"function"!=typeof d.constructor?"":d.constructor.name?d.constructor.name+" ":"")+(ot||nt?"["+ge.call(fe.call([],ot||[],nt||[]),": ")+"] ":"");return 0===et.length?lt+"{}":xe?lt+"{"+indentedJoin(et,xe)+"}":lt+"{ "+ge.call(et,", ")+" }"}return String(d)};var Le=Object.prototype.hasOwnProperty||function(d){return d in this};function has(d,b){return Le.call(d,b)}function toStr(d){return ie.call(d)}function indexOf(d,b){if(d.indexOf)return d.indexOf(b);for(var x=0,T=d.length;x<T;x++)if(d[x]===b)return x;return-1}
769function lowbyte(d){var b=d.charCodeAt(0),x={8:"b",9:"t",10:"n",12:"f",13:"r"}[b];return x?"\\"+x:"\\x"+(b<16?"0":"")+de.call(b.toString(16))}function markBoxed(d){return"Object("+d+")"}function weakCollectionOf(d){return d+" { ? }"}function collectionOf(d,b,x,T){return d+" ("+b+") {"+(T?indentedJoin(x,T):ge.call(x,", "))+"}"}function indentedJoin(d,b){if(0===d.length)return"";var x="\n"+b.prev+b.base;return x+ge.call(d,","+x)+"\n"+b.prev}function arrObjKeys(d,b){var x=isArray(d),T=[];if(x){T.length=d.length;for(var D=0;D<d.length;D++)T[D]=has(d,D)?b(d[D],d):""}var z,H="function"==typeof xe?xe(d):[];if(we){z={};for(var W=0;W<H.length;W++)z["$"+H[W]]=H[W]}for(var U in d)has(d,U)&&(x&&String(Number(U))===U&&U<d.length||we&&z["$"+U]instanceof Symbol||(pe.call(/[^\w$]/,U)?T.push(b(U,d)+": "+b(d[U],d)):T.push(U+": "+b(d[U],d))));if("function"==typeof xe)for(var Y=0;Y<H.length;Y++)Me.call(d,H[Y])&&T.push("["+b(H[Y])+"]: "+b(d[H[Y]],d));return T}}).call(this,x("yLpj"))},K2EL:function(d,b,x){"use strict";var T=x("EVdn"),D=x.n(T),z=function(){function FlexibleForm(d){var b=this;this.$element=d,FlexibleForm.updateContainer(this.$element.get(0)),this.$element.find("[data-display-more]").each((function(d,b){D()(b).height()>46&&D()(b).after('<a class="checkbox__read-more">'+D()(b).data("display-more-text")+"</a>"),D()(b).addClass("checkbox__label--line-clamp")})),this.$element.find('[data-flexibleform-page="1"]').find("input, select, textarea, button").prop("disabled",!0),this.$element.on("click",".checkbox__read-more",(function(d){d.preventDefault(),D()(d.currentTarget).prev().removeClass("checkbox__label--line-clamp"),D()(d.currentTarget).remove()})),this.$element.on("form-success",(function(d,x){b.handleFormSuccess(x)})),this.$element.on("fieldsEnabled",(function(){b.$element.find('.hidden[data-flexibleform-page="1"]').find("input, select, textarea, button").prop("disabled",!0)})),this.$element.find('[data-action="go-back"]').on("click",(function(d){b.handleBack()})),this.$element.data("flexibleform-instance",this),this.$element.append('<input type="hidden" name="__sessionId" value="'+Math.random().toString(36).substring(2,11)+'" />')}return FlexibleForm.updateComponent=function(d){var b=D()(d),x=b.find('> [data-flexibleform-field="1"]').attr("class");b.find('> [data-flexibleform-field="1"]').removeClass(FlexibleForm.CLASSES_TO_REMOVE_ON_CHILD.join(" ")),b.addClass(x)},FlexibleForm.updateContainer=function(d){D()(d).find('[data-role="flexible-form-container"]').each((function(d,b){D()(b).children().each((function(d,b){FlexibleForm.updateComponent(b)}))}))},FlexibleForm.prototype.handleFormSuccess=function(d){var b=this;if(void 0!==d.formPage){this.$element.data("formpages")||this.$element.data("formpages",[]),this.$element.find('[data-action="go-back"]').removeClass("hidden").removeAttr("disabled"),this.$element.data("formpages").push(d.formPage),this.$element.find('[data-role="form-body"] > [data-role="flexible-form-container"]').children().each((function(d,b){D()(b).addClass("hidden")}));var x=this.$element.find('[data-flexibleform-page-name="'+d.formPage+'"]');x.removeClass("hidden"),x.parent().removeClass("hidden"),x.find("input, select, textarea, button").prop("disabled",!1),this.$element.find('button[type="submit"] [data-default="1"]').text(this.$element.find('button[type="submit"] [data-default="1"]').data("default-text")),void 0!==d.buttonText&&this.$element.find('button[type="submit"] [data-default="1"]').text(d.buttonText),(d.text||[]).forEach((function(d){if(d.name){var T=b.$element.find('[data-flexibleform-text="1"][data-name="'+d.name+'"]'),D=T.find(".rich-text-content");D.length?D.html(d.text):T.append('<div class="rich-text-content">'+d.text+"</div>"),d.title&&(T.find(".flexible-form__header").remove(),T.prepend('<div class="h4 flexible-form__header">'+d.title+"</div>"))}else b.addTextBlock(d,x)})),(d.fields||[]).forEach((function(d){b.handleFieldUpdate(d)})),window.scrollTo({top:this.$element.offset().top-(D()(window).width()<990?65:140)-5,behavior:"smooth"})}},FlexibleForm.prototype.handleMultiPageSubmit=function(){var d=this.$element.data("formpages")||[];this.$element.find('[data-role="form-body"] > [data-role="flexible-form-container"]').children().each((function(b,x){var T=D()(x);if(T.hasClass("form-field--form-page")){var z=T.find('[data-flexibleform-page="1"]').data("flexibleform-page-name");d.includes(z)&&T.find("input, select, textarea, button").prop("disabled",!1)}else T.find("input, select, textarea, button").prop("disabled",!1)})),this.$element.find('input[name="recaptchaResponse"]').prop("disabled",!1)},FlexibleForm.prototype.addTextBlock=function(d,b){var x=this.$element.find('[name="'+d.beforeField+'"]'),T='\n<div class="flexible-forms__item form-field form-field--flexible form-field--margin-bottom form-field--full-size">\n    <div\n        class="form-field\n            form-field--default\n            form-field--flexible\n            form-field--margin-bottom-small\n            form-field--full-size"\n        data-flexibleform-field="1"\n        data-role="form-field">\n        '+(d.title?'<div class="h4 flexible-form__header">'+d.title+"</div>":"")+'\n        <div class="rich-text-content">'+d.text+"</div>\n    </div>\n</div>\n";x.length>0?x.parents(".flexible-forms__item:eq(0)").before(T):b.find('[data-role="flexible-form-container"]').append(T)},FlexibleForm.prototype.handleBack=function(){if(this.$element.find('[data-role="form-body"] > [data-role="flexible-form-container"]').children().each((function(d,b){D()(b).addClass("hidden")})),this.$element.data("formpages").pop(),this.$element.data("formpages").length>0){var d=this.$element.data("formpages")[this.$element.data("formpages").length-1],b=this.$element.find('[data-flexibleform-page-name="'+d+'"]');b.removeClass("hidden"),b.parent().removeClass("hidden"),b.find("input, select, textarea, button").prop("disabled",!1)}else this.$element.find('[data-action="go-back"]').addClass("hidden").attr("disabled","disabled"),this.$element.find('[data-role="form-body"] > [data-role="flexible-form-container"]').children().each((function(d,b){var x=D()(b);x.hasClass("form-field--form-page")||(x.removeClass("hidden"),x.find("input, select, textarea, button").prop("disabled",!1))}));this.$element.find(".hidden.form-field--form-page").find("input, select, textarea, button").prop("disabled",!0),window.scrollTo({top:this.$element.offset().top-(D()(window).width()<990?65:140)-5,behavior:"smooth"})},FlexibleForm.prototype.handleFieldUpdate=function(d){if(d.hidden){var b=this.$element.find('[name="'+d.name+'"]').parents(".flexible-forms__item:eq(0)");b.css("display","none"),b.find("input, select, textarea, button").prop("disabled",!0)}else{var x=this.$element.find('[name="'+d.name+'"]');
769if((d.options||[]).length>0)if(x.is("select"))d.options.forEach((function(d){x.append('<option value="'+d.value+'">'+d.label+"</option>")}));else if(x.is('input[type="checkbox"]')||x.is('input[type="radio"]')){var T=D()(x.get(0)).parent().parent(),z=T.parent();z.empty(),d.options.forEach((function(b,x){var D=T.clone(!0);D.find(".checkbox__label, .radiobutton__label").text(b.label),D.find("input").val(b.value),D.prop("checked",!1),D.find("input").prop("id","checkbox-"+d.name+"-"+x),D.find("label").prop("for","checkbox-"+d.name+"-"+x),z.append(D)})),T.remove()}d.value&&((x=this.$element.find('[name="'+d.name+'"]')).is("select")?x.val(d.value):x.is('input[type="checkbox"]')||x.is('input[type="radio"]')?d.value.forEach((function(d){x.each((function(b,x){D()(x).val()===d&&D()(x).prop("checked",!0)}))})):x.val(d.value.join(","))),x.trigger("options"),x.trigger("input"),x.trigger("change")}},FlexibleForm.CLASSES_TO_REMOVE_ON_CHILD=["form-field--margin-bottom","form-field--margin-bottom-small"],FlexibleForm}();b.a=z},K3GY:function(d,b,x){var T,D;void 0===(D="function"==typeof(T=function(){function geojsonProject(d,b,x){if("FeatureCollection"===(d=JSON.parse(JSON.stringify(d))).type)for(var T=d.features.length-1;T>=0;T--)d.features[T]=projectFeature(d.features[T],b,x);else d=projectFeature(d,b,x);return d}function projectFeature(d,b,x){if("GeometryCollection"===d.geometry.type)for(var T=0,D=d.geometry.geometries.length;T<D;T++)d.geometry.geometries[T]=projectGeometry(d.geometry.geometries[T],b,x);else d.geometry=projectGeometry(d.geometry,b,x);return d}function projectGeometry(d,b,x){var T=d.coordinates;switch(d.type){case"Point":d.coordinates=b.call(x,T);break;case"MultiPoint":case"LineString":for(var D=0,z=T.length;D<z;D++)T[D]=b.call(x,T[D]);d.coordinates=T;break;case"Polygon":case"MultiLineString":d.coordinates=projectCoords(T,1,b,x);break;case"MultiPolygon":d.coordinates=projectCoords(T,2,b,x)}return d}function projectCoords(d,b,x,T){var D,z,H,W=[];for(z=0,H=d.length;z<H;z++)D=b?projectCoords(d[z],b-1,x,T):x.call(T,d[z]),W.push(D);return W}return geojsonProject.projectFeature=projectFeature,geojsonProject.projectGeometry=projectGeometry,geojsonProject})?T.call(b,x,b,d):T)||(d.exports=D)},KCCg:function(d,b){var x,T,D=d.exports={};function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}function runTimeout(d){if(x===setTimeout)return setTimeout(d,0);if((x===defaultSetTimout||!x)&&setTimeout)return x=setTimeout,setTimeout(d,0);try{return x(d,0)}catch(b){try{return x.call(null,d,0)}catch(b){return x.call(this,d,0)}}}!function(){try{x="function"==typeof setTimeout?setTimeout:defaultSetTimout}catch(d){x=defaultSetTimout}try{T="function"==typeof clearTimeout?clearTimeout:defaultClearTimeout}catch(d){T=defaultClearTimeout}}();var z,H=[],W=!1,U=-1;function cleanUpNextTick(){W&&z&&(W=!1,z.length?H=z.concat(H):U=-1,H.length&&drainQueue())}function drainQueue(){if(!W){var d=runTimeout(cleanUpNextTick);W=!0;for(var b=H.length;b;){for(z=H,H=[];++U<b;)z&&z[U].run();U=-1,b=H.length}z=null,W=!1,function(d){if(T===clearTimeout)return clearTimeout(d);if((T===defaultClearTimeout||!T)&&clearTimeout)return T=clearTimeout,clearTimeout(d);try{T(d)}catch(b){try{return T.call(null,d)}catch(b){return T.call(this,d)}}}(d)}}function Item(d,b){this.fun=d,this.array=b}function noop(){}D.nextTick=function(d){var b=new Array(arguments.length-1);if(arguments.length>1)for(var x=1;x<arguments.length;x++)b[x-1]=arguments[x];H.push(new Item(d,b)),1!==H.length||W||runTimeout(drainQueue)},Item.prototype.run=function(){this.fun.apply(null,this.array)},D.title="browser",D.browser=!0,D.env={},D.argv=[],D.version="",D.versions={},D.on=noop,D.addListener=noop,D.once=noop,D.off=noop,D.removeListener=noop,D.removeAllListeners=noop,D.emit=noop,D.prependListener=noop,D.prependOnceListener=noop,D.listeners=function(d){return[]},D.binding=function(d){throw new Error("process.binding is not supported")},D.cwd=function(){return"/"},D.chdir=function(d){throw new Error("process.chdir is not supported")},D.umask=function(){return 0}},KDTS:function(d,b,x){"use strict";var T="undefined"!=typeof BigInt&&BigInt;d.exports=function(){return"function"==typeof T&&"function"==typeof BigInt&&"bigint"==typeof T(42)&&"bigint"==typeof BigInt(42)}},KJEE:function(d,b){window.App=window.App||{},App.StepByStep={init:function(){$('[data-module~="step-by-step"]').each((function(){!function(d){var b={};b[App.breakpoints.max.xs]={allowTouchMove:!0};var x=d.find(".swiper-slide").length,T=App.matchesScreenDimensions("max:sm")&&x>6;T&&d.find(".pagination").addClass("pagination--dynamic");var D=new window.Swiper(d.find(".swiper-container")[0],{init:!1,effect:"fade",fadeEffect:{crossFade:!0},autoHeight:!0,allowTouchMove:!1,breakpoints:b,navigation:{prevEl:d.find('[data-action="go-back"]').toArray(),nextEl:d.find('[data-action="go-forward"]').toArray()},pagination:{el:d.find(".pagination")[0],type:"bullets",clickable:!0,dynamicBullets:T,dynamicMainBullets:1,bulletClass:"pagination__item",bulletActiveClass:"active",renderBullet:function(d,b){return'<span class="'+b+'">'+(d+1)+"</span>"}}});D.on("init fromEdge reachBeginning reachEnd",(function(b){d.find('[data-action="go-back"]').toggle(!this.isBeg
769inning),d.find('[data-action="go-forward"]').toggle(!this.isEnd),d.find('[data-role="final-action"]').toggle(this.isEnd)})),"billExplanation__desktop-container"!==d.data("role")&&d.find(".swiper-slide").each((function(){App.FUNCTIONS.isEmpty(this)&&$(this).removeClass("swiper-slide").attr("data-role","page--empty")})),D.init(),$(window).trigger("step-by-step-initialized"),$(window).on("load",(function(){D.update()})),d.on("lazybeforeunveil","img",(function onLazyBeforeUnveil(){window.setTimeout((function(){d.off("lazybeforeunveil","img",onLazyBeforeUnveil),D.update()}),300)}))}($(this))}))}}},KKnM:function(d,b){var x,T;window.App=window.App||{},App.HeaderHero=(x=function(d){var b=d.find('[data-role="slider-slides"]'),x=$(window).height(),T=d.find('[data-role="slide-background-image"] img:first').height(),D=T,z=$('[data-role="layout-header"]'),H=z.hasClass("affix")?z.height()+22:z.height(),W=H+D,U=d.outerHeight()-d.height();if(T&&d.find('[data-role="slide-background-image"] img.lazyload').attr("src",""),x<W){var Y=Math.max(290,x-H),Z=Y+U;b.css({height:""}),d.css({height:Z+"px"}),d.find('[data-role="slide-background-image"] img').css({margin:"-"+(T-Y)/2+"px 0"})}else d.css({height:""}),b.css({height:""}),d.find('[data-role="slide-background-image"] img').css({margin:""})},T=function(d){if(function(d){var b=d.find('[data-role="slider-thumb-clone"]');b.length<=1&&(b.remove(),d.find('[data-role="slider-navigation"]').remove()),d.find('[data-role="slider-thumb-clone"]').each((function(b){var x,T=$(this),D=$("<div></div>"),z=$("<div></div>"),H=$(d.find(".header-hero-slide__button")[b]).attr("href"),W=T.attr("data-pagination-title");H?((x=$("<a></a>")).attr("href",H),x.attr("alt",W)):x=$("<div></div>"),D.text(W),x.text(W),z.html(T.html()).addClass("header-hero__navigation-thumb").attr("data-action","slide-to-index"),d.find('[data-role="slider-titles"]').append(D),d.find('[data-role="slider-titles-mobile"]').append(x),d.find('[data-role="slider-pagination"]').append(z),T.remove()}))}(d),App.env.isEditMode()&&App.env.isIframe())d.find('[data-role="slider-slide"]').addClass("animate-in");else{if(d.find('[data-role="slider-slide"]').length<=1)return d.on("lazybeforeunveil lazyloaded","img",(function(){window.setTimeout((function(){x(d)}),500)})),$(window).on("resize.headerHero",window._.throttle((function(){window.setTimeout((function(){x(d)}),500)}),100)),x(d),window.setTimeout((function(){x(d)}),500),void d.find('[data-role="slider-slide"]').addClass("animate-in");var b={};b[App.breakpoints.max.sm]={speed:320};var T=new window.Swiper(d[0],{init:!1,loop:!0,speed:400,breakpoints:b,autoplay:{delay:5e3,disableOnInteraction:!0},navigation:{nextEl:'[data-action="slide-to-next"]',prevEl:'[data-action="slide-to-previous"]'},pagination:{el:".header-hero__swiper-pagination",type:"bullets",clickable:!0}});T.on("init slideChange",(function(){var b=d.find('[data-role="slider-pagination"]').children(),x=d.find('[data-role="slider-titles"]').children(),T=d.find('[data-role="slider-titles-mobile"]').children();b.removeClass("active"),b.eq(this.realIndex).addClass("active"),x.removeClass("active"),x.eq(this.realIndex).addClass("active"),T.removeClass("active"),T.eq(this.realIndex).addClass("active")})),T.on("init slideChangeTransitionEnd",(function(){var b=d.find('[data-role="slider-slide"]');b.not(":eq("+this.activeIndex+")").removeClass("animate-in"),b.filter(":eq("+this.activeIndex+")").addClass("animate-in")}));var D=d.find(".header-hero-slide__image img"),z=0;D.on("load",(function(){$(this).hasClass("lazyload")||2==++z&&T.autoplay.start()})),d.find(".swiper-slide").each((function(){App.FUNCTIONS.isEmpty(this)&&$(this).removeClass("swiper-slide").attr("data-role","slider-slide--empty")})),T.init(),T.autoplay.stop(),$(window).on("load",(function(){T.update()})),d.on("lazybeforeunveil","img",(function onLazyBeforeUnveil(){d.off("lazybeforeunveil","img",onLazyBeforeUnveil),T.update()})),$(window).on("resize.headerHero",window._.throttle((function(){window.setTimeout((function(){x(d)}),500)}),100)),x(d),window.setTimeout((function(){x(d)}),500),d.on("click",'[data-action="slide-to-index"]',(function(){var d=$(this),b=d.parent().children().index(d);T.slideToLoop(b)}))}},{init:function(){$('[data-module~="header-hero"]').each((function(){T($(this))}))}})},KaHj:function(d,b,x){"use strict";function getWindow(d){if(null==d)return window;if("[object Window]"!==d.toString()){var b=d.ownerDocument;return b&&b.defaultView||window}return d}function isElement(d){return d instanceof getWindow(d).Element||d instanceof Element}function isHTMLElement(d){return d instanceof getWindow(d).HTMLElement||d instanceof HTMLElement}function isShadowRoot(d){return"undefined"!=typeof ShadowRoot&&(d instanceof getWindow(d).ShadowRoot||d instanceof ShadowRoot)}x.r(b);var T=Math.max,D=Math.min,z=Math.round;function getUAString(){var d=navigator.userAgentData;return null!=d&&d.brands&&Array.isArray(d.brands)?d.brands.map((function(d){return d.brand+"/"+d.version})).join(" "):navigator.userAgent}function isLayoutViewport(){return!/^((?!chrome|android).)*safari/i.test(getUAString())}function getBoundingClientRect(d,b,x){void 0===b&&(b=!1),void 0===x&&(x=!1);var T=d.getBoundingClientRect(),D=1,H=1;b&&isHTMLElement(d)&&(D=d.offsetWidth>0&&z(T.width)/d.offsetWidth||1,H=d.offsetHeight>0&&z(T.height)/d.offsetHeight||1);
vendor: 5,068 bytes, line 769
769var W=(isElement(d)?getWindow(d):window).visualViewport,U=!isLayoutViewport()&&x,Y=(T.left+(U&&W?W.offsetLeft:0))/D,Z=(T.top+(U&&W?W.offsetTop:0))/H,J=T.width/D,ee=T.height/H;return{width:J,height:ee,top:Z,right:Y+J,bottom:Z+ee,left:Y,x:Y,y:Z}}function getWindowScroll(d){var b=getWindow(d);return{scrollLeft:b.pageXOffset,scrollTop:b.pageYOffset}}function getNodeName(d){return d?(d.nodeName||"").toLowerCase():null}function getDocumentElement(d){return((isElement(d)?d.ownerDocument:d.document)||window.document).documentElement}function getWindowScrollBarX(d){return getBoundingClientRect(getDocumentElement(d)).left+getWindowScroll(d).scrollLeft}function getComputedStyle(d){return getWindow(d).getComputedStyle(d)}function isScrollParent(d){var b=getComputedStyle(d),x=b.overflow,T=b.overflowX,D=b.overflowY;return/auto|scroll|overlay|hidden/.test(x+D+T)}function getCompositeRect(d,b,x){void 0===x&&(x=!1);var T,D,H=isHTMLElement(b),W=isHTMLElement(b)&&function(d){var b=d.getBoundingClientRect(),x=z(b.width)/d.offsetWidth||1,T=z(b.height)/d.offsetHeight||1;return 1!==x||1!==T}(b),U=getDocumentElement(b),Y=getBoundingClientRect(d,W,x),Z={scrollLeft:0,scrollTop:0},J={x:0,y:0};return(H||!H&&!x)&&(("body"!==getNodeName(b)||isScrollParent(U))&&(Z=(T=b)!==getWindow(T)&&isHTMLElement(T)?{scrollLeft:(D=T).scrollLeft,scrollTop:D.scrollTop}:getWindowScroll(T)),isHTMLElement(b)?((J=getBoundingClientRect(b,!0)).x+=b.clientLeft,J.y+=b.clientTop):U&&(J.x=getWindowScrollBarX(U))),{x:Y.left+Z.scrollLeft-J.x,y:Y.top+Z.scrollTop-J.y,width:Y.width,height:Y.height}}function getLayoutRect(d){var b=getBoundingClientRect(d),x=d.offsetWidth,T=d.offsetHeight;return Math.abs(b.width-x)<=1&&(x=b.width),Math.abs(b.height-T)<=1&&(T=b.height),{x:d.offsetLeft,y:d.offsetTop,width:x,height:T}}function getParentNode(d){return"html"===getNodeName(d)?d:d.assignedSlot||d.parentNode||(isShadowRoot(d)?d.host:null)||getDocumentElement(d)}function listScrollParents(d,b){var x;void 0===b&&(b=[]);var T=function getScrollParent(d){return["html","body","#document"].indexOf(getNodeName(d))>=0?d.ownerDocument.body:isHTMLElement(d)&&isScrollParent(d)?d:getScrollParent(getParentNode(d))}(d),D=T===(null==(x=d.ownerDocument)?void 0:x.body),z=getWindow(T),H=D?[z].concat(z.visualViewport||[],isScrollParent(T)?T:[]):T,W=b.concat(H);return D?W:W.concat(listScrollParents(getParentNode(H)))}function isTableElement(d){return["table","td","th"].indexOf(getNodeName(d))>=0}function getTrueOffsetParent(d){return isHTMLElement(d)&&"fixed"!==getComputedStyle(d).position?d.offsetParent:null}function getOffsetParent(d){for(var b=getWindow(d),x=getTrueOffsetParent(d);x&&isTableElement(x)&&"static"===getComputedStyle(x).position;)x=getTrueOffsetParent(x);return x&&("html"===getNodeName(x)||"body"===getNodeName(x)&&"static"===getComputedStyle(x).position)?b:x||function(d){var b=/firefox/i.test(getUAString());if(/Trident/i.test(getUAString())&&isHTMLElement(d)&&"fixed"===getComputedStyle(d).position)return null;var x=getParentNode(d);for(isShadowRoot(x)&&(x=x.host);isHTMLElement(x)&&["html","body"].indexOf(getNodeName(x))<0;){var T=getComputedStyle(x);if("none"!==T.transform||"none"!==T.perspective||"paint"===T.contain||-1!==["transform","perspective"].indexOf(T.willChange)||b&&"filter"===T.willChange||b&&T.filter&&"none"!==T.filter)return x;x=x.parentNode}return null}(d)||b}var H="top",W="bottom",U="right",Y="left",Z=[H,W,U,Y],J=Z.reduce((function(d,b){return d.concat([b+"-start",b+"-end"])}),[]),ee=[].concat(Z,["auto"]).reduce((function(d,b){return d.concat([b,b+"-start",b+"-end"])}),[]),te=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function order(d){var b=new Map,x=new Set,T=[];return d.forEach((function(d){b.set(d.name,d)})),d.forEach((function(d){x.has(d.name)||function sort(d){x.add(d.name),[].concat(d.requires||[],d.requiresIfExists||[]).forEach((function(d){if(!x.has(d)){var T=b.get(d);T&&sort(T)}})),T.push(d)}(d)})),T}var ne={placement:"bottom",modifiers:[],strategy:"absolute"};function areValidElements(){for(var d=arguments.length,b=new Array(d),x=0;x<d;x++)b[x]=arguments[x];return!b.some((function(d){return!(d&&"function"==typeof d.getBoundingClientRect)}))}function popperGenerator(d){void 0===d&&(d={});var b=d,x=b.defaultModifiers,T=void 0===x?[]:x,D=b.defaultOptions,z=void 0===D?ne:D;return function(d,b,x){void 0===x&&(x=z);var D,H,W={placement:"bottom",orderedModifiers:[],options:Object.assign({},ne,z),modifiersData:{},elements:{reference:d,popper:b},attributes:{},styles:{}},U=[],Y=!1,Z={state:W,setOptions:function(x){var D="function"==typeof x?x(W.options):x;cleanupModifierEffects(),W.options=Object.assign({},z,W.options,D),W.scrollParents={reference:isElement(d)?listScrollParents(d):d.contextElement?listScrollParents(d.contextElement):[],popper:listScrollParents(b)};var H,Y,J=function(d){var b=order(d);return te.reduce((function(d,x){return d.concat(b.filter((function(d){return d.phase===x})))}),[])}((H=[].concat(T,W.options.modifiers),Y=H.reduce((function(d,b){var x=d[b.name];
vendor: 6,878 bytes, line 769
769return d[b.name]=x?Object.assign({},x,b,{options:Object.assign({},x.options,b.options),data:Object.assign({},x.data,b.data)}):b,d}),{}),Object.keys(Y).map((function(d){return Y[d]}))));return W.orderedModifiers=J.filter((function(d){return d.enabled})),W.orderedModifiers.forEach((function(d){var b=d.name,x=d.options,T=void 0===x?{}:x,D=d.effect;if("function"==typeof D){var z=D({state:W,name:b,instance:Z,options:T});U.push(z||function(){})}})),Z.update()},forceUpdate:function(){if(!Y){var d=W.elements,b=d.reference,x=d.popper;if(areValidElements(b,x)){W.rects={reference:getCompositeRect(b,getOffsetParent(x),"fixed"===W.options.strategy),popper:getLayoutRect(x)},W.reset=!1,W.placement=W.options.placement,W.orderedModifiers.forEach((function(d){return W.modifiersData[d.name]=Object.assign({},d.data)}));for(var T=0;T<W.orderedModifiers.length;T++)if(!0!==W.reset){var D=W.orderedModifiers[T],z=D.fn,H=D.options,U=void 0===H?{}:H,J=D.name;"function"==typeof z&&(W=z({state:W,options:U,name:J,instance:Z})||W)}else W.reset=!1,T=-1}}},update:(D=function(){return new Promise((function(d){Z.forceUpdate(),d(W)}))},function(){return H||(H=new Promise((function(d){Promise.resolve().then((function(){H=void 0,d(D())}))}))),H}),destroy:function(){cleanupModifierEffects(),Y=!0}};if(!areValidElements(d,b))return Z;function cleanupModifierEffects(){U.forEach((function(d){return d()})),U=[]}return Z.setOptions(x).then((function(d){!Y&&x.onFirstUpdate&&x.onFirstUpdate(d)})),Z}}var ie={passive:!0};function getBasePlacement(d){return d.split("-")[0]}function getVariation(d){return d.split("-")[1]}function getMainAxisFromPlacement(d){return["top","bottom"].indexOf(d)>=0?"x":"y"}function computeOffsets(d){var b,x=d.reference,T=d.element,D=d.placement,z=D?getBasePlacement(D):null,Z=D?getVariation(D):null,J=x.x+x.width/2-T.width/2,ee=x.y+x.height/2-T.height/2;switch(z){case H:b={x:J,y:x.y-T.height};break;case W:b={x:J,y:x.y+x.height};break;case U:b={x:x.x+x.width,y:ee};break;case Y:b={x:x.x-T.width,y:ee};break;default:b={x:x.x,y:x.y}}var te=z?getMainAxisFromPlacement(z):null;if(null!=te){var ne="y"===te?"height":"width";switch(Z){case"start":b[te]=b[te]-(x[ne]/2-T[ne]/2);break;case"end":b[te]=b[te]+(x[ne]/2-T[ne]/2)}}return b}var oe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function mapToStyles(d){var b,x=d.popper,T=d.popperRect,D=d.placement,Z=d.variation,J=d.offsets,ee=d.position,te=d.gpuAcceleration,ne=d.adaptive,ie=d.roundOffsets,se=d.isFixed,le=J.x,ce=void 0===le?0:le,de=J.y,he=void 0===de?0:de,pe="function"==typeof ie?ie({x:ce,y:he}):{x:ce,y:he};ce=pe.x,he=pe.y;var fe=J.hasOwnProperty("x"),ge=J.hasOwnProperty("y"),me=Y,ye=H,ve=window;if(ne){var xe=getOffsetParent(x),_e="clientHeight",we="clientWidth";if(xe===getWindow(x)&&"static"!==getComputedStyle(xe=getDocumentElement(x)).position&&"absolute"===ee&&(_e="scrollHeight",we="scrollWidth"),xe=xe,D===H||(D===Y||D===U)&&"end"===Z)ye=W,he-=(se&&xe===ve&&ve.visualViewport?ve.visualViewport.height:xe[_e])-T.height,he*=te?1:-1;if(D===Y||(D===H||D===W)&&"end"===Z)me=U,ce-=(se&&xe===ve&&ve.visualViewport?ve.visualViewport.width:xe[we])-T.width,ce*=te?1:-1}var Se,Me=Object.assign({position:ee},ne&&oe),Te=!0===ie?function(d,b){var x=d.x,T=d.y,D=b.devicePixelRatio||1;return{x:z(x*D)/D||0,y:z(T*D)/D||0}}({x:ce,y:he},getWindow(x)):{x:ce,y:he};return ce=Te.x,he=Te.y,te?Object.assign({},Me,((Se={})[ye]=ge?"0":"",Se[me]=fe?"0":"",Se.transform=(ve.devicePixelRatio||1)<=1?"translate("+ce+"px, "+he+"px)":"translate3d("+ce+"px, "+he+"px, 0)",Se)):Object.assign({},Me,((b={})[ye]=ge?he+"px":"",b[me]=fe?ce+"px":"",b.transform="",b))}var se={name:"applyStyles",enabled:!0,phase:"write",fn:function(d){var b=d.state;Object.keys(b.elements).forEach((function(d){var x=b.styles[d]||{},T=b.attributes[d]||{},D=b.elements[d];isHTMLElement(D)&&getNodeName(D)&&(Object.assign(D.style,x),Object.keys(T).forEach((function(d){var b=T[d];!1===b?D.removeAttribute(d):D.setAttribute(d,!0===b?"":b)})))}))},effect:function(d){var b=d.state,x={popper:{position:b.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(b.elements.popper.style,x.popper),b.styles=x,b.elements.arrow&&Object.assign(b.elements.arrow.style,x.arrow),function(){Object.keys(b.elements).forEach((function(d){var T=b.elements[d],D=b.attributes[d]||{},z=Object.keys(b.styles.hasOwnProperty(d)?b.styles[d]:x[d]).reduce((function(d,b){return d[b]="",d}),{});isHTMLElement(T)&&getNodeName(T)&&(Object.assign(T.style,z),Object.keys(D).forEach((function(d){T.removeAttribute(d)})))}))}},requires:["computeStyles"]};var le={left:"right",right:"left",bottom:"top",top:"bottom"};function getOppositePlacement(d){return d.replace(/left|right|bottom|top/g,(function(d){return le[d]}))}var ce={start:"end",end:"start"};function getOppositeVariationPlacement(d){return d.replace(/start|end/g,(function(d){return ce[d]}))}function contains(d,b){var x=b.getRootNode&&b.getRootNode();if(d.contains(b))return!0;if(x&&isShadowRoot(x)){var T=b;do{if(T&&d.isSameNode(T))return!0;T=T.parentNode||T.host}while(T)}return!1}function rectToClientRect(d){return Object.assign({},d,{left:d.x,top:d.y,right:d.x+d.width,bottom:d.y+d.height})}function getClientRectFromMixedType(d,b,x){return"viewport"===b?rectToClientRect(function(d,b){var x=getWindow(d),T=getDocumentElement(d),D=x.visualViewport,z=T.clientWidth,H=T.clientHeight,W=0,U=0;if(D){z=D.width,H=D.height;var Y=isLayoutViewport();(Y||!Y&&"fixed"===b)&&(W=D.offsetLeft,U=D.offsetTop)}return{width:z,height:H,x:W+getWindowScrollBarX(d),y:U}}(d,x)):isElement(b)?function(d,b){var x=getBoundingClientRect(d,!1,"fixed"===b);return x.top=x.top+d.clientTop,x.left=x.left+d.clientLeft,x.bottom=x.top+d.clientHeight,x.right=x.left+d.clientWidth,x.width=d.clientWidth,x.height=d.clientHeight,x.x=x.left,x.y=x.top,x}(b,x):rectToClientRect(function(d){var b,x=getDocumentElement(d),D=getWindowScroll(d),z=null==(b=d.ownerDocument)?void 0:b.body,H=T(x.scrollWidth,x.clientWidth,z?z.scrollWidth:0,z?z.clientWidth:0),W=T(x.scrollHeight,x.clientHeight,z?z.scrollHeight:0,z?z.clientHeight:0),U=-D.scrollLeft+getWindowScrollBarX(d),Y=-D.scrollTop;return"rtl"===getComputedStyle(z||x).direction&&(U+=T(x.clientWidth,z?z.clientWidth:0)-H),{width:H,height:W,x:U,y:Y}}(getDocumentElement(d)))}function getClippingRect(d,b,x,z){var H="clippingParents"===b?function(d){var b=listScrollParents(getParentNode(d)),x=["absolute","fixed"].indexOf(getComputedStyle(d).position)>=0&&isHTMLElement(d)?getOffsetParent(d):d;return isElement(x)?b.filter((function(d){return isElement(d)&&contains(d,x)&&"body"!==getNodeName(d)})):[]}(d):[].concat(b),W=[].concat(H,[x]),U=W[0],Y=W.reduce((function(b,x){var H=getClientRectFromMixedType(d,x,z);return b.top=T(H.top,b.top),b.right=D(H.right,b.right),b.bottom=D(H.bottom,b.bottom),b.left=T(H.left,b.left),b}),getClientRectFromMixedType(d,U,z));
vendor: 4,410 bytes, line 769
769return Y.width=Y.right-Y.left,Y.height=Y.bottom-Y.top,Y.x=Y.left,Y.y=Y.top,Y}function mergePaddingObject(d){return Object.assign({},{top:0,right:0,bottom:0,left:0},d)}function expandToHashMap(d,b){return b.reduce((function(b,x){return b[x]=d,b}),{})}function detectOverflow(d,b){void 0===b&&(b={});var x=b,T=x.placement,D=void 0===T?d.placement:T,z=x.strategy,Y=void 0===z?d.strategy:z,J=x.boundary,ee=void 0===J?"clippingParents":J,te=x.rootBoundary,ne=void 0===te?"viewport":te,ie=x.elementContext,oe=void 0===ie?"popper":ie,se=x.altBoundary,le=void 0!==se&&se,ce=x.padding,de=void 0===ce?0:ce,he=mergePaddingObject("number"!=typeof de?de:expandToHashMap(de,Z)),pe="popper"===oe?"reference":"popper",fe=d.rects.popper,ge=d.elements[le?pe:oe],me=getClippingRect(isElement(ge)?ge:ge.contextElement||getDocumentElement(d.elements.popper),ee,ne,Y),ye=getBoundingClientRect(d.elements.reference),ve=computeOffsets({reference:ye,element:fe,strategy:"absolute",placement:D}),xe=rectToClientRect(Object.assign({},fe,ve)),_e="popper"===oe?xe:ye,we={top:me.top-_e.top+he.top,bottom:_e.bottom-me.bottom+he.bottom,left:me.left-_e.left+he.left,right:_e.right-me.right+he.right},Se=d.modifiersData.offset;if("popper"===oe&&Se){var Me=Se[D];Object.keys(we).forEach((function(d){var b=[U,W].indexOf(d)>=0?1:-1,x=[H,W].indexOf(d)>=0?"y":"x";we[d]+=Me[x]*b}))}return we}function within(d,b,x){return T(d,D(b,x))}function getSideOffsets(d,b,x){return void 0===x&&(x={x:0,y:0}),{top:d.top-b.height-x.y,right:d.right-b.width+x.x,bottom:d.bottom-b.height+x.y,left:d.left-b.width-x.x}}function isAnySideFullyClipped(d){return[H,U,W,Y].some((function(b){return d[b]>=0}))}var de=popperGenerator({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(d){var b=d.state,x=d.instance,T=d.options,D=T.scroll,z=void 0===D||D,H=T.resize,W=void 0===H||H,U=getWindow(b.elements.popper),Y=[].concat(b.scrollParents.reference,b.scrollParents.popper);return z&&Y.forEach((function(d){d.addEventListener("scroll",x.update,ie)})),W&&U.addEventListener("resize",x.update,ie),function(){z&&Y.forEach((function(d){d.removeEventListener("scroll",x.update,ie)})),W&&U.removeEventListener("resize",x.update,ie)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(d){var b=d.state,x=d.name;b.modifiersData[x]=computeOffsets({reference:b.rects.reference,element:b.rects.popper,strategy:"absolute",placement:b.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(d){var b=d.state,x=d.options,T=x.gpuAcceleration,D=void 0===T||T,z=x.adaptive,H=void 0===z||z,W=x.roundOffsets,U=void 0===W||W,Y={placement:getBasePlacement(b.placement),variation:getVariation(b.placement),popper:b.elements.popper,popperRect:b.rects.popper,gpuAcceleration:D,isFixed:"fixed"===b.options.strategy};null!=b.modifiersData.popperOffsets&&(b.styles.popper=Object.assign({},b.styles.popper,mapToStyles(Object.assign({},Y,{offsets:b.modifiersData.popperOffsets,position:b.options.strategy,adaptive:H,roundOffsets:U})))),null!=b.modifiersData.arrow&&(b.styles.arrow=Object.assign({},b.styles.arrow,mapToStyles(Object.assign({},Y,{offsets:b.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:U})))),b.attributes.popper=Object.assign({},b.attributes.popper,{"data-popper-placement":b.placement})},data:{}},se,{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(d){var b=d.state,x=d.options,T=d.name,D=x.offset,z=void 0===D?[0,0]:D,W=ee.reduce((function(d,x){return d[x]=function(d,b,x){var T=getBasePlacement(d),D=[Y,H].indexOf(T)>=0?-1:1,z="function"==typeof x?x(Object.assign({},b,{placement:d})):x,W=z[0],Z=z[1];return W=W||0,Z=(Z||0)*D,[Y,U].indexOf(T)>=0?{x:Z,y:W}:{x:W,y:Z}}(x,b.rects,z),d}),{}),Z=W[b.placement],J=Z.x,te=Z.y;null!=b.modifiersData.popperOffsets&&(b.modifiersData.popperOffsets.x+=J,b.modifiersData.popperOffsets.y+=te),b.modifiersData[T]=W}},{name:"flip",enabled:!0,phase:"main",fn:function(d){var b=d.state,x=d.options,T=d.name;if(!b.modifiersData[T]._skip){for(var D=x.mainAxis,z=void 0===D||D,te=x.altAxis,ne=void 0===te||te,ie=x.fallbackPlacements,oe=x.padding,se=x.boundary,le=x.rootBoundary,ce=x.altBoundary,de=x.flipVariations,he=void 0===de||de,pe=x.allowedAutoPlacements,fe=b.options.placement,ge=getBasePlacement(fe),me=ie||(ge===fe||!he?[getOppositePlacement(fe)]:function(d){if("auto"===getBasePlacement(d))return[];
vendor: 4,131 bytes, line 769
769var b=getOppositePlacement(d);return[getOppositeVariationPlacement(d),b,getOppositeVariationPlacement(b)]}(fe)),ye=[fe].concat(me).reduce((function(d,x){return d.concat("auto"===getBasePlacement(x)?function(d,b){void 0===b&&(b={});var x=b,T=x.placement,D=x.boundary,z=x.rootBoundary,H=x.padding,W=x.flipVariations,U=x.allowedAutoPlacements,Y=void 0===U?ee:U,te=getVariation(T),ne=te?W?J:J.filter((function(d){return getVariation(d)===te})):Z,ie=ne.filter((function(d){return Y.indexOf(d)>=0}));0===ie.length&&(ie=ne);var oe=ie.reduce((function(b,x){return b[x]=detectOverflow(d,{placement:x,boundary:D,rootBoundary:z,padding:H})[getBasePlacement(x)],b}),{});return Object.keys(oe).sort((function(d,b){return oe[d]-oe[b]}))}(b,{placement:x,boundary:se,rootBoundary:le,padding:oe,flipVariations:he,allowedAutoPlacements:pe}):x)}),[]),ve=b.rects.reference,xe=b.rects.popper,_e=new Map,we=!0,Se=ye[0],Me=0;Me<ye.length;Me++){var Te=ye[Me],ke=getBasePlacement(Te),Pe="start"===getVariation(Te),Ee=[H,W].indexOf(ke)>=0,Le=Ee?"width":"height",Ne=detectOverflow(b,{placement:Te,boundary:se,rootBoundary:le,altBoundary:ce,padding:oe}),Ve=Ee?Pe?U:Y:Pe?W:H;ve[Le]>xe[Le]&&(Ve=getOppositePlacement(Ve));var Fe=getOppositePlacement(Ve),Ge=[];if(z&&Ge.push(Ne[ke]<=0),ne&&Ge.push(Ne[Ve]<=0,Ne[Fe]<=0),Ge.every((function(d){return d}))){Se=Te,we=!1;break}_e.set(Te,Ge)}if(we)for(var _loop=function(d){var b=ye.find((function(b){var x=_e.get(b);if(x)return x.slice(0,d).every((function(d){return d}))}));if(b)return Se=b,"break"},Ye=he?3:1;Ye>0;Ye--){if("break"===_loop(Ye))break}b.placement!==Se&&(b.modifiersData[T]._skip=!0,b.placement=Se,b.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(d){var b=d.state,x=d.options,z=d.name,Z=x.mainAxis,J=void 0===Z||Z,ee=x.altAxis,te=void 0!==ee&&ee,ne=x.boundary,ie=x.rootBoundary,oe=x.altBoundary,se=x.padding,le=x.tether,ce=void 0===le||le,de=x.tetherOffset,he=void 0===de?0:de,pe=detectOverflow(b,{boundary:ne,rootBoundary:ie,padding:se,altBoundary:oe}),fe=getBasePlacement(b.placement),ge=getVariation(b.placement),me=!ge,ye=getMainAxisFromPlacement(fe),ve="x"===ye?"y":"x",xe=b.modifiersData.popperOffsets,_e=b.rects.reference,we=b.rects.popper,Se="function"==typeof he?he(Object.assign({},b.rects,{placement:b.placement})):he,Me="number"==typeof Se?{mainAxis:Se,altAxis:Se}:Object.assign({mainAxis:0,altAxis:0},Se),Te=b.modifiersData.offset?b.modifiersData.offset[b.placement]:null,ke={x:0,y:0};if(xe){if(J){var Pe,Ee="y"===ye?H:Y,Le="y"===ye?W:U,Ne="y"===ye?"height":"width",Ve=xe[ye],Fe=Ve+pe[Ee],Ge=Ve-pe[Le],Ye=ce?-we[Ne]/2:0,Xe="start"===ge?_e[Ne]:we[Ne],Ke="start"===ge?-we[Ne]:-_e[Ne],Qe=b.elements.arrow,et=ce&&Qe?getLayoutRect(Qe):{width:0,height:0},tt=b.modifiersData["arrow#persistent"]?b.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},nt=tt[Ee],ot=tt[Le],lt=within(0,_e[Ne],et[Ne]),ut=me?_e[Ne]/2-Ye-lt-nt-Me.mainAxis:Xe-lt-nt-Me.mainAxis,ht=me?-_e[Ne]/2+Ye+lt+ot+Me.mainAxis:Ke+lt+ot+Me.mainAxis,pt=b.elements.arrow&&getOffsetParent(b.elements.arrow),gt=pt?"y"===ye?pt.clientTop||0:pt.clientLeft||0:0,yt=null!=(Pe=null==Te?void 0:Te[ye])?Pe:0,vt=Ve+ht-yt,wt=within(ce?D(Fe,Ve+ut-yt-gt):Fe,Ve,ce?T(Ge,vt):Ge);xe[ye]=wt,ke[ye]=wt-Ve}if(te){var St,Mt="x"===ye?H:Y,kt="x"===ye?W:U,It=xe[ve],Dt="y"===ve?"height":"width",Lt=It+pe[Mt],Rt=It-pe[kt],jt=-1!==[H,Y].indexOf(fe),en=null!=(St=null==Te?void 0:Te[ve])?St:0,ln=jt?Lt:It-_e[Dt]-we[Dt]-en+Me.altAxis,vn=jt?It+_e[Dt]+we[Dt]-en-Me.altAxis:Rt,bn=ce&&jt?function(d,b,x){var T=within(d,b,x);return T>x?x:T}(ln,It,vn):within(ce?ln:Lt,It,ce?vn:Rt);xe[ve]=bn,ke[ve]=bn-It}b.modifiersData[z]=ke}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(d){var b,x=d.state,T=d.name,D=d.options,z=x.elements.arrow,J=x.modifiersData.popperOffsets,ee=getBasePlacement(x.placement),te=getMainAxisFromPlacement(ee),ne=[Y,U].indexOf(ee)>=0?"height":"width";if(z&&J){var ie=function(d,b){return mergePaddingObject("number"!=typeof(d="function"==typeof d?d(Object.assign({},b.rects,{placement:b.placement})):d)?d:expandToHashMap(d,Z))}
vendor: 8,644 bytes, line 769
769(D.padding,x),oe=getLayoutRect(z),se="y"===te?H:Y,le="y"===te?W:U,ce=x.rects.reference[ne]+x.rects.reference[te]-J[te]-x.rects.popper[ne],de=J[te]-x.rects.reference[te],he=getOffsetParent(z),pe=he?"y"===te?he.clientHeight||0:he.clientWidth||0:0,fe=ce/2-de/2,ge=ie[se],me=pe-oe[ne]-ie[le],ye=pe/2-oe[ne]/2+fe,ve=within(ge,ye,me),xe=te;x.modifiersData[T]=((b={})[xe]=ve,b.centerOffset=ve-ye,b)}},effect:function(d){var b=d.state,x=d.options.element,T=void 0===x?"[data-popper-arrow]":x;null!=T&&("string"!=typeof T||(T=b.elements.popper.querySelector(T)))&&contains(b.elements.popper,T)&&(b.elements.arrow=T)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(d){var b=d.state,x=d.name,T=b.rects.reference,D=b.rects.popper,z=b.modifiersData.preventOverflow,H=detectOverflow(b,{elementContext:"reference"}),W=detectOverflow(b,{altBoundary:!0}),U=getSideOffsets(H,T),Y=getSideOffsets(W,D,z),Z=isAnySideFullyClipped(U),J=isAnySideFullyClipped(Y);b.modifiersData[x]={referenceClippingOffsets:U,popperEscapeOffsets:Y,isReferenceHidden:Z,hasPopperEscaped:J},b.attributes.popper=Object.assign({},b.attributes.popper,{"data-popper-reference-hidden":Z,"data-popper-escaped":J})}}]}),he={passive:!0,capture:!0},TIPPY_DEFAULT_APPEND_TO=function(){return document.body};function getValueAtIndexOrReturn(d,b,x){if(Array.isArray(d)){var T=d[b];return null==T?Array.isArray(x)?x[b]:x:T}return d}function isType(d,b){var x={}.toString.call(d);return 0===x.indexOf("[object")&&x.indexOf(b+"]")>-1}function invokeWithArgsOrReturn(d,b){return"function"==typeof d?d.apply(void 0,b):d}function tippy_esm_debounce(d,b){return 0===b?d:function(T){clearTimeout(x),x=setTimeout((function(){d(T)}),b)};var x}function removeProperties(d,b){var x=Object.assign({},d);return b.forEach((function(d){delete x[d]})),x}function normalizeToArray(d){return[].concat(d)}function pushIfUnique(d,b){-1===d.indexOf(b)&&d.push(b)}function tippy_esm_getBasePlacement(d){return d.split("-")[0]}function arrayFrom(d){return[].slice.call(d)}function removeUndefinedProps(d){return Object.keys(d).reduce((function(b,x){return void 0!==d[x]&&(b[x]=d[x]),b}),{})}function div(){return document.createElement("div")}function tippy_esm_isElement(d){return["Element","Fragment"].some((function(b){return isType(d,b)}))}function isMouseEvent(d){return isType(d,"MouseEvent")}function isReferenceElement(d){return!(!d||!d._tippy||d._tippy.reference!==d)}function getArrayOfElements(d){return tippy_esm_isElement(d)?[d]:function(d){return isType(d,"NodeList")}(d)?arrayFrom(d):Array.isArray(d)?d:arrayFrom(document.querySelectorAll(d))}function setTransitionDuration(d,b){d.forEach((function(d){d&&(d.style.transitionDuration=b+"ms")}))}function setVisibilityState(d,b){d.forEach((function(d){d&&d.setAttribute("data-state",b)}))}function getOwnerDocument(d){var b,x=normalizeToArray(d)[0];return null!=x&&null!=(b=x.ownerDocument)&&b.body?x.ownerDocument:document}function updateTransitionEndListener(d,b,x){var T=b+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(b){d[T](b,x)}))}function actualContains(d,b){for(var x=b;x;){var T;if(d.contains(x))return!0;x=null==x.getRootNode||null==(T=x.getRootNode())?void 0:T.host}return!1}var pe={isTouch:!1},fe=0;function onDocumentTouchStart(){pe.isTouch||(pe.isTouch=!0,window.performance&&document.addEventListener("mousemove",onDocumentMouseMove))}function onDocumentMouseMove(){var d=performance.now();d-fe<20&&(pe.isTouch=!1,document.removeEventListener("mousemove",onDocumentMouseMove)),fe=d}function onWindowBlur(){var d=document.activeElement;if(isReferenceElement(d)){var b=d._tippy;d.blur&&!b.state.isVisible&&d.blur()}}var ge=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto;var me={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},ye=Object.assign({appendTo:TIPPY_DEFAULT_APPEND_TO,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},me,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),ve=Object.keys(ye);function getExtendedPassedProps(d){var b=(d.plugins||[]).reduce((function(b,x){var T,D=x.name,z=x.defaultValue;D&&(b[D]=void 0!==d[D]?d[D]:null!=(T=ye[D])?T:z);return b}),{});return Object.assign({},d,b)}function evaluateProps(d,b){var x=Object.assign({},b,{content:invokeWithArgsOrReturn(b.content,[d])},b.ignoreAttributes?{}:function(d,b){return(b?Object.keys(getExtendedPassedProps(Object.assign({},ye,{plugins:b}))):ve).reduce((function(b,x){var T=(d.getAttribute("data-tippy-"+x)||"").trim();if(!T)return b;if("content"===x)b[x]=T;else try{b[x]=JSON.parse(T)}catch(d){b[x]=T}return b}),{})}(d,b.plugins));return x.aria=Object.assign({},ye.aria,x.aria),x.aria={expanded:"auto"===x.aria.expanded?b.interactive:x.aria.expanded,content:"auto"===x.aria.content?b.interactive?null:"describedby":x.aria.content},x}function dangerouslySetInnerHTML(d,b){d.innerHTML=b}function createArrowElement(d){var b=div();return!0===d?b.className="tippy-arrow":(b.className="tippy-svg-arrow",tippy_esm_isElement(d)?b.appendChild(d):dangerouslySetInnerHTML(b,d)),b}function tippy_esm_setContent(d,b){tippy_esm_isElement(b.content)?(dangerouslySetInnerHTML(d,""),d.appendChild(b.content)):"function"!=typeof b.content&&(b.allowHTML?dangerouslySetInnerHTML(d,b.content):d.textContent=b.content)}function getChildren(d){var b=d.firstElementChild,x=arrayFrom(b.children);return{box:b,content:x.find((function(d){return d.classList.contains("tippy-content")})),arrow:x.find((function(d){return d.classList.contains("tippy-arrow")||d.classList.contains("tippy-svg-arrow")})),backdrop:x.find((function(d){return d.classList.contains("tippy-backdrop")}))}}function render(d){var b=div(),x=div();x.className="tippy-box",x.setAttribute("data-state","hidden"),x.setAttribute("tabindex","-1");var T=div();function onUpdate(x,T){var D=getChildren(b),z=D.box,H=D.content,W=D.arrow;T.theme?z.setAttribute("data-theme",T.theme):z.removeAttribute("data-theme"),"string"==typeof T.animation?z.setAttribute("data-animation",T.animation):z.removeAttribute("data-animation"),T.inertia?z.setAttribute("data-inertia",""):z.removeAttribute("data-inertia"),z.style.maxWidth="number"==typeof T.maxWidth?T.maxWidth+"px":T.maxWidth,T.role?z.setAttribute("role",T.role):z.removeAttribute("role"),x.content===T.content&&x.allowHTML===T.allowHTML||tippy_esm_setContent(H,d.props),T.arrow?W?x.arrow!==T.arrow&&(z.removeChild(W),z.appendChild(createArrowElement(T.arrow))):z.appendChild(createArrowElement(T.arrow)):W&&z.removeChild(W)}return T.className="tippy-content",T.setAttribute("data-state","hidden"),tippy_esm_setContent(T,d.props),b.appendChild(x),x.appendChild(T),onUpdate(d.props,d.props),{popper:b,onUpdate:onUpdate}}render.$$tippy=!0;var xe=1,_e=[],we=[];function createTippy(d,b){var x,T,D,z,H,W,U,Y,Z=evaluateProps(d,Object.assign({},ye,getExtendedPassedProps(removeUndefinedProps(b)))),J=!1,ee=!1,te=!1,ne=!1,ie=[],oe=tippy_esm_debounce(onMouseMove,Z.interactiveDebounce),se=xe++,le=(Y=Z.plugins).filter((function(d,b){return Y.indexOf(d)===b})),ce={id:se,reference:d,popper:div(),popperInstance:null,props:Z,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:le,clearDelayTimeouts:function(){clearTimeout(x),clearTimeout(T),cancelAnimationFrame(D)},setProps:function(b){0;if(ce.state.isDestroyed)return;invokeHook("onBeforeUpdate",[ce,b]),removeListeners();var x=ce.props,T=evaluateProps(d,Object.assign({},x,removeUndefinedProps(b),{ignoreAttributes:!0}));ce.props=T,addListeners(),x.interactiveDebounce!==T.interactiveDebounce&&(cleanupInteractiveMouseListeners(),oe=tippy_esm_debounce(onMouseMove,T.interactiveDebounce));x.triggerTarget&&!T.triggerTarget?normalizeToArray(x.triggerTarget).forEach((function(d){d.removeAttribute("aria-expanded")})):T.triggerTarget&&d.removeAttribute("aria-expanded");handleAriaExpandedAttribute(),handleStyles(),ve&&ve(x,T);ce.popperInstance&&(createPopperInstance(),getNestedPopperTree().forEac
vendor: 10,002 bytes, line 769
769h((function(d){requestAnimationFrame(d._tippy.popperInstance.forceUpdate)})));invokeHook("onAfterUpdate",[ce,b])},setContent:function(d){ce.setProps({content:d})},show:function(){0;var d=ce.state.isVisible,b=ce.state.isDestroyed,x=!ce.state.isEnabled,T=pe.isTouch&&!ce.props.touch,D=getValueAtIndexOrReturn(ce.props.duration,0,ye.duration);if(d||b||x||T)return;if(getCurrentTarget().hasAttribute("disabled"))return;if(invokeHook("onShow",[ce],!1),!1===ce.props.onShow(ce))return;ce.state.isVisible=!0,getIsDefaultRenderFn()&&(me.style.visibility="visible");handleStyles(),addDocumentPress(),ce.state.isMounted||(me.style.transition="none");if(getIsDefaultRenderFn()){var z=getDefaultTemplateChildren(),H=z.box,U=z.content;setTransitionDuration([H,U],0)}W=function(){var d;if(ce.state.isVisible&&!ne){if(ne=!0,me.offsetHeight,me.style.transition=ce.props.moveTransition,getIsDefaultRenderFn()&&ce.props.animation){var b=getDefaultTemplateChildren(),x=b.box,T=b.content;setTransitionDuration([x,T],D),setVisibilityState([x,T],"visible")}handleAriaContentAttribute(),handleAriaExpandedAttribute(),pushIfUnique(we,ce),null==(d=ce.popperInstance)||d.forceUpdate(),invokeHook("onMount",[ce]),ce.props.animation&&getIsDefaultRenderFn()&&function(d,b){onTransitionEnd(d,b)}(D,(function(){ce.state.isShown=!0,invokeHook("onShown",[ce])}))}},function(){var d,b=ce.props.appendTo,x=getCurrentTarget();d=ce.props.interactive&&b===TIPPY_DEFAULT_APPEND_TO||"parent"===b?x.parentNode:invokeWithArgsOrReturn(b,[x]);d.contains(me)||d.appendChild(me);ce.state.isMounted=!0,createPopperInstance(),!1}()},hide:function(){0;var d=!ce.state.isVisible,b=ce.state.isDestroyed,x=!ce.state.isEnabled,T=getValueAtIndexOrReturn(ce.props.duration,1,ye.duration);if(d||b||x)return;if(invokeHook("onHide",[ce],!1),!1===ce.props.onHide(ce))return;ce.state.isVisible=!1,ce.state.isShown=!1,ne=!1,J=!1,getIsDefaultRenderFn()&&(me.style.visibility="hidden");if(cleanupInteractiveMouseListeners(),removeDocumentPress(),handleStyles(!0),getIsDefaultRenderFn()){var D=getDefaultTemplateChildren(),z=D.box,H=D.content;ce.props.animation&&(setTransitionDuration([z,H],T),setVisibilityState([z,H],"hidden"))}handleAriaContentAttribute(),handleAriaExpandedAttribute(),ce.props.animation?getIsDefaultRenderFn()&&function(d,b){onTransitionEnd(d,(function(){!ce.state.isVisible&&me.parentNode&&me.parentNode.contains(me)&&b()}))}(T,ce.unmount):ce.unmount()},hideWithInteractivity:function(d){0;getDocument().addEventListener("mousemove",oe),pushIfUnique(_e,oe),oe(d)},enable:function(){ce.state.isEnabled=!0},disable:function(){ce.hide(),ce.state.isEnabled=!1},unmount:function(){0;ce.state.isVisible&&ce.hide();if(!ce.state.isMounted)return;destroyPopperInstance(),getNestedPopperTree().forEach((function(d){d._tippy.unmount()})),me.parentNode&&me.parentNode.removeChild(me);we=we.filter((function(d){return d!==ce})),ce.state.isMounted=!1,invokeHook("onHidden",[ce])},destroy:function(){0;if(ce.state.isDestroyed)return;ce.clearDelayTimeouts(),ce.unmount(),removeListeners(),delete d._tippy,ce.state.isDestroyed=!0,invokeHook("onDestroy",[ce])}};if(!Z.render)return ce;var fe=Z.render(ce),me=fe.popper,ve=fe.onUpdate;me.setAttribute("data-tippy-root",""),me.id="tippy-"+ce.id,ce.popper=me,d._tippy=ce,me._tippy=ce;var Se=le.map((function(d){return d.fn(ce)})),Me=d.hasAttribute("aria-expanded");return addListeners(),handleAriaExpandedAttribute(),handleStyles(),invokeHook("onCreate",[ce]),Z.showOnCreate&&scheduleShow(),me.addEventListener("mouseenter",(function(){ce.props.interactive&&ce.state.isVisible&&ce.clearDelayTimeouts()})),me.addEventListener("mouseleave",(function(){ce.props.interactive&&ce.props.trigger.indexOf("mouseenter")>=0&&getDocument().addEventListener("mousemove",oe)})),ce;function getNormalizedTouchSettings(){var d=ce.props.touch;return Array.isArray(d)?d:[d,0]}function getIsCustomTouchBehavior(){return"hold"===getNormalizedTouchSettings()[0]}function getIsDefaultRenderFn(){var d;return!(null==(d=ce.props.render)||!d.$$tippy)}function getCurrentTarget(){return U||d}function getDocument(){var d=getCurrentTarget().parentNode;return d?getOwnerDocument(d):document}function getDefaultTemplateChildren(){return getChildren(me)}function getDelay(d){return ce.state.isMounted&&!ce.state.isVisible||pe.isTouch||z&&"focus"===z.type?0:getValueAtIndexOrReturn(ce.props.delay,d?0:1,ye.delay)}function handleStyles(d){void 0===d&&(d=!1),me.style.pointerEvents=ce.props.interactive&&!d?"":"none",me.style.zIndex=""+ce.props.zIndex}function invokeHook(d,b,x){var T;(void 0===x&&(x=!0),Se.forEach((function(x){x[d]&&x[d].apply(x,b)})),x)&&(T=ce.props)[d].apply(T,b)}function handleAriaContentAttribute(){var b=ce.props.aria;if(b.content){var x="aria-"+b.content,T=me.id;normalizeToArray(ce.props.triggerTarget||d).forEach((function(d){var b=d.getAttribute(x);if(ce.state.isVisible)d.setAttribute(x,b?b+" "+T:T);else{var D=b&&b.replace(T,"").trim();D?d.setAttribute(x,D):d.removeAttribute(x)}}))}}function handleAriaExpandedAttribute(){!Me&&ce.props.aria.expanded&&normalizeToArray(ce.props.triggerTarget||d).forEach((function(d){ce.props.interactive?d.setAttribute("aria-expanded",ce.state.isVisible&&d===getCurrentTarget()?"true":"false"):d.removeAttribute("aria-expanded")}))}function cleanupInteractiveMouseListeners(){getDocument().removeEventListener("mousemove",oe),_e=_e.filter((function(d){return d!==oe}))}function onDocumentPress(b){if(!pe.isTouch||!te&&"mousedown"!==b.type){var x=b.composedPath&&b.composedPath()[0]||b.target;if(!ce.props.interactive||!actualContains(me,x)){if(normalizeToArray(ce.props.triggerTarget||d).some((function(d){return actualContains(d,x)}))){if(pe.isTouch)return;if(ce.state.isVisible&&ce.props.trigger.indexOf("click")>=0)return}else invokeHook("onClickOutside",[ce,b]);!0===ce.props.hideOnClick&&(ce.clearDelayTimeouts(),ce.hide(),ee=!0,setTimeout((function(){ee=!1})),ce.state.isMounted||removeDocumentPress())}}}function onTouchMove(){te=!0}function onTouchStart(){te=!1}function addDocumentPress(){var d=getDocument();d.addEventListener("mousedown",onDocumentPress,!0),d.addEventListener("touchend",onDocumentPress,he),d.addEventListener("touchstart",onTouchStart,he),d.addEventListener("touchmove",onTouchMove,he)}function removeDocumentPress(){var d=getDocument();d.removeEventListener("mousedown",onDocumentPress,!0),d.removeEventListener("touchend",onDocumentPress,he),d.removeEventListener("touchstart",onTouchStart,he),d.removeEventListener("touchmove",onTouchMove,he)}function onTransitionEnd(d,b){var x=getDefaultTemplateChildren().box;function listener(d){d.target===x&&(updateTransitionEndListener(x,"remove",listener),b())}if(0===d)return b();updateTransitionEndListener(x,"remove",H),updateTransitionEndListener(x,"add",listener),H=listener}function on(b,x,T){void 0===T&&(T=!1),normalizeToArray(ce.props.triggerTarget||d).forEach((function(d){d.addEventListener(b,x,T),ie.push({node:d,eventType:b,handler:x,options:T})}))}function addListeners(){var d;getIsCustomTouchBehavior()&&(on("touchstart",onTrigger,{passive:!0}),on("touchend",onMouseLeave,{passive:!0})),(d=ce.props.trigger,d.split(/\s+/).filter(Boolean)).forEach((function(d){if("manual"!==d)switch(on(d,onTrigger),d){case"mouseenter":on("mouseleave",onMouseLeave);break;case"focus":on(ge?"focusout":"blur",onBlurOrFocusOut);break;case"focusin":on("focusout",onBlurOrFocusOut)}}))}function removeListeners(){ie.forEach((function(d){var b=d.node,x=d.eventType,T=d.handler,D=d.options;b.removeEventListener(x,T,D)})),ie=[]}function onTrigger(d){var b,x=!1;if(ce.state.isEnabled&&!isEventListenerStopped(d)&&!ee){var T="focus"===(null==(b=z)?void 0:b.type);z=d,U=d.currentTarget,handleAriaExpandedAttribute(),!ce.state.isVisible&&isMouseEvent(d)&&_e.forEach((function(b){return b(d)})),"click"===d.type&&(ce.props.trigger.indexOf("mouseenter")<0||J)&&!1!==ce.props.hideOnClick&&ce.state.isVisible?x=!0:scheduleShow(d),"click"===d.type&&(J=!x),x&&!T&&scheduleHide(d)}}function onMouseMove(d){var b=d.target,x=getCurrentTarget().contains(b)||me.contains(b);"mousemove"===d.type&&x||function(d,b){var x=b.clientX,T=b.clientY;return d.every((function(d){var b=d.popperRect,D=d.popperState,z=d.props.interactiveBorder,H=tippy_esm_getBasePlacement(D.placement),W=D.modifiersData.offset;if(!W)return!0;var U="bottom"===H?W.top.y:0,Y="top"===H?W.bottom.y:0,Z="right"===H?W.left.x:0,J="left"===H?W.right.x:0,ee=b.top-T+U>z,te=T-b.bottom-Y>z,ne=b.left-x+Z>z,ie=x-b.right-J>z;return ee||te||ne||ie}))}(getNestedPopperTree().concat(me).map((function(d){var b,x=null==(b=d._tippy.popperInstance)?void 0:b.state;return x?{popperRect:d.getBoundingClientRect(),popperState:x,props:Z}:null})).filter(Boolean),d)&&(cleanupInteractiveMouseListeners(),scheduleHide(d))}function onMouseLeave(d){isEventListenerStopped(d)||ce.props.trigger.indexOf("click")>=0&&J||(ce.props.interactive?ce.hideWithInteractivity(d):scheduleHide(d))}function onBlurOrFocusOut(d){ce.props.trigger.indexOf("focusin")<0&&d.target!==getCurrentTarget()||ce.props.interactive&&d.relatedTarget&&me.contains(d.relatedTarget)||scheduleHide(d)}function isEventListenerStopped(d){return!!pe.isTouch&&getIsCustomTouchBehavior()!==d.type.indexOf("touch")>=0}function createPopperInstance(){destroyPopperInstance();var b=ce.props,x=b.popperOptions,T=b.placement,D=b.offset,z=b.getReferenceClientRect,H=b.moveTransition,U=getIsDefaultRenderFn()?getChildren(me).arrow:null,Y=z?{getBoundingClientRect:z,contextElement:z.contextElement||getCurrentTarget()}:d,Z=[{name:"offset",options:{offset:D}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!H}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(d){var b=d.state;if(getIsDefaultRenderFn()){var x=getDefaultTemplateChildren().box;["placement","reference-hidden","escaped"].forEach((function(d){"placement"===d?x.setAttribute("data-placement",b.placement):b.attributes.popper["data-
769popper-"+d]?x.setAttribute("data-"+d,""):x.removeAttribute("data-"+d)})),b.attributes.popper={}}}}];getIsDefaultRenderFn()&&U&&Z.push({name:"arrow",options:{element:U,padding:3}}),Z.push.apply(Z,(null==x?void 0:x.modifiers)||[]),ce.popperInstance=de(Y,me,Object.assign({},x,{placement:T,onFirstUpdate:W,modifiers:Z}))}function destroyPopperInstance(){ce.popperInstance&&(ce.popperInstance.destroy(),ce.popperInstance=null)}function getNestedPopperTree(){return arrayFrom(me.querySelectorAll("[data-tippy-root]"))}function scheduleShow(d){ce.clearDelayTimeouts(),d&&invokeHook("onTrigger",[ce,d]),addDocumentPress();var b=getDelay(!0),T=getNormalizedTouchSettings(),D=T[0],z=T[1];pe.isTouch&&"hold"===D&&z&&(b=z),b?x=setTimeout((function(){ce.show()}),b):ce.show()}function scheduleHide(d){if(ce.clearDelayTimeouts(),invokeHook("onUntrigger",[ce,d]),ce.state.isVisible){if(!(ce.props.trigger.indexOf("mouseenter")>=0&&ce.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(d.type)>=0&&J)){var b=getDelay(!1);b?T=setTimeout((function(){ce.state.isVisible&&ce.hide()}),b):D=requestAnimationFrame((function(){ce.hide()}))}}else removeDocumentPress()}}function tippy(d,b){void 0===b&&(b={});var x=ye.plugins.concat(b.plugins||[]);document.addEventListener("touchstart",onDocumentTouchStart,he),window.addEventListener("blur",onWindowBlur);var T=Object.assign({},b,{plugins:x}),D=getArrayOfElements(d).reduce((function(d,b){var x=b&&createTippy(b,T);return x&&d.push(x),d}),[]);return tippy_esm_isElement(d)?D[0]:D}tippy.defaultProps=ye,tippy.setDefaultProps=function(d){Object.keys(d).forEach((function(b){ye[b]=d[b]}))},tippy.currentInput=pe;Object.assign({},se,{effect:function(d){var b=d.state,x={popper:{position:b.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(b.elements.popper.style,x.popper),b.styles=x,b.elements.arrow&&Object.assign(b.elements.arrow.style,x.arrow)}});var Se={mouseover:"mouseenter",focusin:"focus",click:"click"};function delegate(d,b){var x=[],T=[],D=!1,z=b.target,H=removeProperties(b,["target"]),W=Object.assign({},H,{trigger:"manual",touch:!1}),U=Object.assign({touch:ye.touch},H,{showOnCreate:!0}),Y=tippy(d,W);function onTrigger(d){if(d.target&&!D){var x=d.target.closest(z);if(x){var H=x.getAttribute("data-tippy-trigger")||b.trigger||ye.trigger;if(!x._tippy&&!("touchstart"===d.type&&"boolean"==typeof U.touch||"touchstart"!==d.type&&H.indexOf(Se[d.type])<0)){var W=tippy(x,U);W&&(T=T.concat(W))}}}}function on(d,b,T,D){void 0===D&&(D=!1),d.addEventListener(b,T,D),x.push({node:d,eventType:b,handler:T,options:D})}return normalizeToArray(Y).forEach((function(d){var b=d.destroy,z=d.enable,H=d.disable;d.destroy=function(d){void 0===d&&(d=!0),d&&T.forEach((function(d){d.destroy()})),T=[],x.forEach((function(d){var b=d.node,x=d.eventType,T=d.handler,D=d.options;b.removeEventListener(x,T,D)})),x=[],b()},d.enable=function(){z(),T.forEach((function(d){return d.enable()})),D=!1},d.disable=function(){H(),T.forEach((function(d){return d.disable()})),D=!0},function(d){var b=d.reference;on(b,"touchstart",onTrigger,he),on(b,"mouseover",onTrigger),on(b,"focusin",onTrigger),on(b,"click",onTrigger)}(d)})),Y}tippy.setDefaultProps({render:render});var Me=tippy;!function(d){var hasContent=function(d){return Boolean(d&&("string"!=typeof d||d.trim()))},getContent=function(b,x){var T=function(b,x){return d(b).attr("title")||("function"==typeof x.title?x.title.call(b):x.title)}(b,x);if(hasContent(T))return d(b).attr("title")&&d(b).attr("title",""),'<div class="tooltip form-field__tooltip fade top in" role="tooltip">\n    <div class="tooltip-arrow form-field__tooltip-arrow" style="left: 50%;"></div>\n    <div class="tooltip-inner form-field__tooltip-inner">'+T+"</div>\n</div>"};d.fn.tooltip=function(b){return(b=b||{}).selector?this.each((function(){delegate(this,{target:b.selector,allowHTML:!0,content:function(d){return getContent(d,b)},onShow:function(d){if(!hasContent(d.props.content))return!1},trigger:b.trigger||"mouseenter focus"})})):this.each((function(){var x=b.trigger||d(this).data("trigger")||"mouseenter focus",T=getContent(this,b);T&&Me(this,{allowHTML:!0,content:T,trigger:x})}))}}(jQuery)},"Koq/":function(d,b,x){"use strict";var T=x("2jAT"),D=x("PrET"),z=x("FufO"),H=x("yLpt"),W=x("8R9v"),U=D.apply(H()),bound=function(d,b){return U(Object,arguments)};T(bound,{getPolyfill:H,implementation:z,shim:W}),d.exports=bound},Kqna:function(d,b,x){"use strict";var T=x("AM7I")("%Object.getOwnPropertyDescriptor%",!0);if(T)try{T([],"length")}catch(d){T=null}d.exports=T},L0c3:function(d,b,x){"use strict";(function(d){function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}x.d(b,"e",(function(){return T})),x.d(b,"p",(function(){return D})),x.d(b,"a",(function(){return z})),x.d(b,"c",(function(){return H})),x.d(b,"d",(function(){return W})),x.d(b,"o",(function(){return U})),x.d(b,"q",(function(){return Y})),x.d(b,"t",(function(){return Z})),x.d(b,"i",(function(){return J})),x.d(b,"r",(function(){return ee})),x.d(b,"s",(function(){return te})),x.d(b,"k",(function(){return ne})),x.d(b,"m",(function(){return ie})),x.d(b,"j",(function(){return oe})),x.d(b,"l",(function(){return se})),x.d(b,"g",(function(){return le})),x.d(b,"f",(function(){return ce})),x.d(b,"h",(function(){return de})),x.d(b,"n",(function(){return he})),x.d(b,"b",(function(){return pe}));var T="1.13.8",D="object"==("undefined"==typeof self?"undefined":_typeof(self))&&self.self===self&&self||"object"==(void 0===d?"undefined":_typeof(d))&&d.global===d&&d||Function("return this")()||{},z=Array.prototype,H=Object.prototype,W="undefined"!=typeof Symbol?Symbol.prototype:null,U=z.push,Y=z.slice,Z=H.toString,J=H.hasOwnProperty,ee="undefined"!=typeof ArrayBuffer,te="undefined"!=typeof DataView,ne=Array.isArray,ie=Object.keys,oe=Object.create,se=ee&&ArrayBuffer.isView,le=isNaN,ce=isFinite,de
769=!{toString:null}.propertyIsEnumerable("toString"),he=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],pe=Math.pow(2,53)-1}).call(this,x("yLpj"))},L7mI:function(d,b,x){"use strict";function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}var T=x("VbLK"),D=x("CZo5"),z=x("NTps"),H=x("QUZ9"),W=x("JC41");d.exports=function(d){return null==d||"object"!==_typeof(d)&&"function"!=typeof d?null:T(d)?"String":D(d)?"Number":z(d)?"Boolean":H(d)?"Symbol":W(d)?"BigInt":void 0}},LEBN:function(d,b){window.App=window.App||{},App.OverlayImage={init:function(){$('[data-module~="overlay-image"]').each((function(){var d,b;d=$(this),b=$('[data-module~="image-modal"]'),d.on("click",(function(x){var T,D;$(this).is('[data-module~="overlay-image"]')&&(x.preventDefault(),T=b.find('[data-role="image-container"]'),D=d.attr("href"),T.append('<img src="'+D+'" alt="" />'),App.Modal.open(b),b.on("closed.modal",(function onModalClosed(){b.off("closed.modal",onModalClosed),function(d){d.empty()}(b.find('[data-role="image-container"]'))})))}))}))}}},MA4w:function(d,b){var x;window.App=window.App||{},App.ContentTableOverlay=(x=function(d){var b=d.find(".content-table__container").offset().top,x=d.find(".content-table__container").offset().top+d.find(".content-table__container").outerHeight(),T=$(window).scrollTop()+window.innerHeight;T>b&&T<x?d.hasScrollBar&&d.find(".content-table__mobile-overlay").removeClass("content-table__mobile-overlay--hidden"):d.find(".content-table__mobile-overlay").addClass("content-table__mobile-overlay--hidden")},{init:function(){$('[data-module~="content-table"]').each((function(){var d;d=$(this),$.fn.hasHorizontalScrollBar=function(){return this[0].clientWidth<this[0].scrollWidth},d.hasScrollBar=d.find(".content-table__container").hasHorizontalScrollBar(),$(window).on("scroll.tableOverlay",window._.throttle((function(){x(d)}),25)),$(window).on("resize",(function(){d.hasScrollBar=d.find(".content-table__container").hasHorizontalScrollBar(),x(d)}))}))}})},MT78:function(d,b,x){"use strict";var T={};x.r(T),x.d(T,"updateProps",(function(){return updateProps})),x.d(T,"initProps",(function(){return initProps})),x.d(T,"removeElement",(function(){return removeElement})),x.d(T,"removeElementWithFadeOut",(function(){return removeElementWithFadeOut})),x.d(T,"isElementRemoved",(function(){return isElementRemoved})),x.d(T,"XY",(function(){return al})),x.d(T,"WH",(function(){return sl})),x.d(T,"extendShape",(function(){return extendShape})),x.d(T,"extendPath",(function(){return extendPath})),x.d(T,"registerShape",(function(){return registerShape})),x.d(T,"getShapeClass",(function(){return getShapeClass})),x.d(T,"makePath",(function(){return makePath})),x.d(T,"makeImage",(function(){return makeImage})),x.d(T,"mergePath",(function(){return graphic_mergePath})),x.d(T,"resizePath",(function(){return resizePath})),x.d(T,"subPixelOptimizeLine",(function(){return graphic_subPixelOptimizeLine})),x.d(T,"subPixelOptimizeRect",(function(){return graphic_subPixelOptimizeRect})),x.d(T,"subPixelOptimize",(function(){return ll})),x.d(T,"getTransform",(function(){return getTransform})),x.d(T,"applyTransform",(function(){return graphic_applyTransform})),x.d(T,"transformDirection",(function(){return transformDirection})),x.d(T,"groupTransition",(function(){return groupTransition})),x.d(T,"clipPointsByRect",(function(){return clipPointsByRect})),x.d(T,"clipRectByRect",(function(){return clipRectByRect})),x.d(T,"createIcon",(function(){return createIcon})),x.d(T,"linePolygonIntersect",(function(){return linePolygonIntersect})),x.d(T,"lineLineIntersect",(function(){return lineLineIntersect})),x.d(T,"expandOrShrinkRect",(function(){return expandOrShrinkRect})),x.d(T,"setTooltipConfig",(function(){return setTooltipConfig})),x.d(T,"traverseElements",(function(){return traverseElements})),x.d(T,"isBoundingRectAxisAligned",(function(){return isBoundingRectAxisAligned})),x.d(T,"ensureCopyRect",(function(){return ensureCopyRect})),x.d(T,"ensureCopyTransform",(function(){return ensureCopyTransform})),x.d(T,"retrieveZInfo",(function(){return retrieveZInfo})),x.d(T,"calcZ2Range",(function(){return calcZ2Range})),x.d(T,"traverseUpdateZ",(function(){return traverseUpdateZ})),x.d(T,"Group",(function(){return Xn})),x.d(T,"Image",(function(){return yr})),x.d(T,"Text",(function(){return Pr})),x.d(T,"Circle",(function(){return gs}
769)),x.d(T,"Ellipse",(function(){return ys})),x.d(T,"Sector",(function(){return Ps})),x.d(T,"Ring",(function(){return Is})),x.d(T,"Polygon",(function(){return Es})),x.d(T,"Polyline",(function(){return Rs})),x.d(T,"Rect",(function(){return _r})),x.d(T,"Line",(function(){return js})),x.d(T,"BezierCurve",(function(){return Fs})),x.d(T,"Arc",(function(){return Gs})),x.d(T,"IncrementalDisplayable",(function(){return rl})),x.d(T,"CompoundPath",(function(){return $s})),x.d(T,"LinearGradient",(function(){return Us})),x.d(T,"RadialGradient",(function(){return Ys})),x.d(T,"BoundingRect",(function(){return Ee})),x.d(T,"OrientedBoundingRect",(function(){return nl})),x.d(T,"Point",(function(){return ce})),x.d(T,"Path",(function(){return cr}));var D={};x.r(D),x.d(D,"extendShape",(function(){return extendShape})),x.d(D,"extendPath",(function(){return extendPath})),x.d(D,"makePath",(function(){return makePath})),x.d(D,"makeImage",(function(){return makeImage})),x.d(D,"mergePath",(function(){return graphic_mergePath})),x.d(D,"resizePath",(function(){return resizePath})),x.d(D,"createIcon",(function(){return createIcon})),x.d(D,"updateProps",(function(){return updateProps})),x.d(D,"initProps",(function(){return initProps})),x.d(D,"getTransform",(function(){return getTransform})),x.d(D,"clipPointsByRect",(function(){return clipPointsByRect})),x.d(D,"clipRectByRect",(function(){return clipRectByRect})),x.d(D,"registerShape",(function(){return registerShape})),x.d(D,"getShapeClass",(function(){return getShapeClass})),x.d(D,"Group",(function(){return Xn})),x.d(D,"Image",(function(){return yr})),x.d(D,"Text",(function(){return Pr})),x.d(D,"Circle",(function(){return gs})),x.d(D,"Ellipse",(function(){return ys})),x.d(D,"Sector",(function(){return Ps})),x.d(D,"Ring",(function(){return Is})),x.d(D,"Polygon",(function(){return Es})),x.d(D,"Polyline",(function(){return Rs})),x.d(D,"Rect",(function(){return _r})),x.d(D,"Line",(function(){return js})),x.d(D,"BezierCurve",(function(){return Fs})),x.d(D,"Arc",(function(){return Gs})),x.d(D,"IncrementalDisplayable",(function(){return rl})),x.d(D,"CompoundPath",(function(){return $s})),x.d(D,"LinearGradient",(function(){return Us})),x.d(D,"RadialGradient",(function(){return Ys})),x.d(D,"BoundingRect",(function(){return Ee}));
770/*! *****************************************************************************
771Copyright (c) Microsoft Corporation.
772
773Permission to use, copy, modify, and/or distribute this software for any
774purpose with or without fee is hereby granted.
775
776THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
777REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
778AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
779INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
780LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
781OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
782PERFORMANCE OF THIS SOFTWARE.
783***************************************************************************** */
784var _extendStatics=function(d,b){return(_extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var x in b)Object.prototype.hasOwnProperty.call(b,x)&&(d[x]=b[x])})(d,b)};function __extends(d,b){if("function"!=typeof b&&null!==b)throw new TypeError("Class extends value "+String(b)+" is not a constructor or null");function __(){this.constructor=d}_extendStatics(d,b),d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)}Object.create;Object.create;var z=x("ItGF"),H=x("bYtY");
785/*! *****************************************************************************
786Copyright (c) Microsoft Corporation.
787
788Permission to use, copy, modify, and/or distribute this software for any
789purpose with or without fee is hereby granted.
790
791THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
792REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
793AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
794INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
795LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
796OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
797PERFORMANCE OF THIS SOFTWARE.
798***************************************************************************** */
799var tslib_es6_extendStatics=function(d,b){return(tslib_es6_extendStatics=Object.
vendor: 1,263 bytes, line 799
799setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var x in b)Object.prototype.hasOwnProperty.call(b,x)&&(d[x]=b[x])})(d,b)};function tslib_es6_extends(d,b){if("function"!=typeof b&&null!==b)throw new TypeError("Class extends value "+String(b)+" is not a constructor or null");function __(){this.constructor=d}tslib_es6_extendStatics(d,b),d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)}Object.create;Object.create;function vector_create(d,b){return null==d&&(d=0),null==b&&(b=0),[d,b]}function vector_copy(d,b){return d[0]=b[0],d[1]=b[1],d}function vector_clone(d){return[d[0],d[1]]}function set(d,b,x){return d[0]=b,d[1]=x,d}function vector_add(d,b,x){return d[0]=b[0]+x[0],d[1]=b[1]+x[1],d}function scaleAndAdd(d,b,x,T){return d[0]=b[0]+x[0]*T,d[1]=b[1]+x[1]*T,d}function vector_sub(d,b,x){return d[0]=b[0]-x[0],d[1]=b[1]-x[1],d}function vector_len(d){return Math.sqrt(lenSquare(d))}function lenSquare(d){return d[0]*d[0]+d[1]*d[1]}function vector_scale(d,b,x){return d[0]=b[0]*x,d[1]=b[1]*x,d}function normalize(d,b){var x=vector_len(b);return 0===x?(d[0]=0,d[1]=0):(d[0]=b[0]/x,d[1]=b[1]/x),d}function vector_distance(d,b){return Math.sqrt((d[0]-b[0])*(d[0]-b[0])+(d[1]-b[1])*(d[1]-b[1]))}
vendor: 4,783 bytes, line 799
799var W=vector_distance;var distSquare=function(d,b){return(d[0]-b[0])*(d[0]-b[0])+(d[1]-b[1])*(d[1]-b[1])};function lerp(d,b,x,T){return d[0]=b[0]+T*(x[0]-b[0]),d[1]=b[1]+T*(x[1]-b[1]),d}function applyTransform(d,b,x){var T=b[0],D=b[1];return d[0]=x[0]*T+x[2]*D+x[4],d[1]=x[1]*T+x[3]*D+x[5],d}function vector_min(d,b,x){return d[0]=Math.min(b[0],x[0]),d[1]=Math.min(b[1],x[1]),d}function vector_max(d,b,x){return d[0]=Math.max(b[0],x[0]),d[1]=Math.max(b[1],x[1]),d}var Param=function(d,b){this.target=d,this.topTarget=b&&b.topTarget},U=function(){function Draggable(d){this.handler=d,d.on("mousedown",this._dragStart,this),d.on("mousemove",this._drag,this),d.on("mouseup",this._dragEnd,this)}return Draggable.prototype._dragStart=function(d){for(var b=d.target;b&&!b.draggable;)b=b.parent||b.__hostTarget;b&&(this._draggingTarget=b,b.dragging=!0,this._x=d.offsetX,this._y=d.offsetY,this.handler.dispatchToElement(new Param(b,d),"dragstart",d.event))},Draggable.prototype._drag=function(d){var b=this._draggingTarget;if(b){var x=d.offsetX,T=d.offsetY,D=x-this._x,z=T-this._y;this._x=x,this._y=T,b.drift(D,z,d),this.handler.dispatchToElement(new Param(b,d),"drag",d.event);var H=this.handler.findHover(x,T,b).target,W=this._dropTarget;this._dropTarget=H,b!==H&&(W&&H!==W&&this.handler.dispatchToElement(new Param(W,d),"dragleave",d.event),H&&H!==W&&this.handler.dispatchToElement(new Param(H,d),"dragenter",d.event))}},Draggable.prototype._dragEnd=function(d){var b=this._draggingTarget;b&&(b.dragging=!1),this.handler.dispatchToElement(new Param(b,d),"dragend",d.event),this._dropTarget&&this.handler.dispatchToElement(new Param(this._dropTarget,d),"drop",d.event),this._draggingTarget=null,this._dropTarget=null},Draggable}(),Y=function(){function Eventful(d){d&&(this._$eventProcessor=d)}return Eventful.prototype.on=function(d,b,x,T){this._$handlers||(this._$handlers={});var D=this._$handlers;if("function"==typeof b&&(T=x,x=b,b=null),!x||!d)return this;var z=this._$eventProcessor;null!=b&&z&&z.normalizeQuery&&(b=z.normalizeQuery(b)),D[d]||(D[d]=[]);for(var H=0;H<D[d].length;H++)if(D[d][H].h===x)return this;var W={h:x,query:b,ctx:T||this,callAtLast:x.zrEventfulCallAtLast},U=D[d].length-1,Y=D[d][U];return Y&&Y.callAtLast?D[d].splice(U,0,W):D[d].push(W),this},Eventful.prototype.isSilent=function(d){var b=this._$handlers;return!b||!b[d]||!b[d].length},Eventful.prototype.off=function(d,b){var x=this._$handlers;if(!x)return this;if(!d)return this._$handlers={},this;if(b){if(x[d]){for(var T=[],D=0,z=x[d].length;D<z;D++)x[d][D].h!==b&&T.push(x[d][D]);x[d]=T}x[d]&&0===x[d].length&&delete x[d]}else delete x[d];return this},Eventful.prototype.trigger=function(d){for(var b=[],x=1;x<arguments.length;x++)b[x-1]=arguments[x];if(!this._$handlers)return this;var T=this._$handlers[d],D=this._$eventProcessor;if(T)for(var z=b.length,H=T.length,W=0;W<H;W++){var U=T[W];if(!D||!D.filter||null==U.query||D.filter(d,U.query))switch(z){case 0:U.h.call(U.ctx);break;case 1:U.h.call(U.ctx,b[0]);break;case 2:U.h.call(U.ctx,b[0],b[1]);break;default:U.h.apply(U.ctx,b)}}return D&&D.afterTrigger&&D.afterTrigger(d),this},Eventful.prototype.triggerWithContext=function(d){for(var b=[],x=1;x<arguments.length;x++)b[x-1]=arguments[x];if(!this._$handlers)return this;var T=this._$handlers[d],D=this._$eventProcessor;if(T)for(var z=b.length,H=b[z-1],W=T.length,U=0;U<W;U++){var Y=T[U];if(!D||!D.filter||null==Y.query||D.filter(d,Y.query))switch(z){case 0:Y.h.call(H);break;case 1:Y.h.call(H,b[0]);break;case 2:Y.h.call(H,b[0],b[1]);break;default:Y.h.apply(H,b.slice(1,z-1))}}return D&&D.afterTrigger&&D.afterTrigger(d),this},Eventful}(),Z=Math.log(2);function determinant(d,b,x,T,D,z){var H=T+"-"+D,W=d.length;if(z.hasOwnProperty(H))return z[H];if(1===b){var U=Math.round(Math.log((1<<W)-1&~D)/Z);return d[x][U]}for(var Y=T|1<<x,J=x+1;T&1<<J;)J++;for(var ee=0,te=0,ne=0;te<W;te++){var ie=1<<te;ie&D||(ee+=(ne%2?-1:1)*d[x][te]*determinant(d,b-1,J,Y,D|ie,z),ne++)}return z[H]=ee,ee}function buildTransformer(d,b){var x=[[d[0],d[1],1,0,0,0,-b[0]*d[0],-b[0]*d[1]],[0,0,0,d[0],d[1],1,-b[1]*d[0],-b[1]*d[1]],[d[2],d[3],1,0,0,0,-b[2]*d[2],-b[2]*d[3]],[0,0,0,d[2],d[3],1,-b[3]*d[2],-b[3]*d[3]],[d[4],d[5],1,0,0,0,-b[4]*d[4],-b[4]*d[5]],[0,0,0,d[4],d[5],1,-b[5]*d[4],-b[5]*d[5]],[d[6],d[7],1,0,0,0,-b[6]*d[6],-b[6]*d[7]],[0,0,0,d[6],d[7],1,-b[7]*d[6],-b[7]*d[7]]],T={},D=determinant(x,8,0,0,0,T);if(0!==D){for(var z=[],H=0;H<8;H++)for(var W=0;W<8;W++)null==z[W]&&(z[W]=0),z[W]+=((H+W)%2?-1:1)*determinant(x,7,0===H?1:0,1<<H,1<<W,T)/D*b[H];return function(d,b,x){var T=b*z[6]+x*z[7]+1;d[0]=(b*z[0]+x*z[1]+z[2])/T,d[1]=(b*z[3]+x*z[4]+z[5])/T}}}var J=[];function transformCoordWithViewport(d,b,x,T,D){if(b.getBoundingClientRect&&z.a.domSupported&&!isCanvasEl(b)){var W=b.___zrEVENTSAVED||(b.___zrEVENTSAVED={}
vendor: 4,192 bytes, line 799
799),U=function(d,b,x){for(var T=x?"invTrans":"trans",D=b[T],z=b.srcCoords,H=[],W=[],U=!0,Y=0;Y<4;Y++){var Z=d[Y].getBoundingClientRect(),J=2*Y,ee=Z.left,te=Z.top;H.push(ee,te),U=U&&z&&ee===z[J]&&te===z[J+1],W.push(d[Y].offsetLeft,d[Y].offsetTop)}return U&&D?D:(b.srcCoords=H,b[T]=x?buildTransformer(W,H):buildTransformer(H,W))}(function(d,b){var x=b.markers;if(x)return x;x=b.markers=[];for(var T=["left","right"],D=["top","bottom"],z=0;z<4;z++){var W=document.createElement("div"),U=W.style,Y=z%2,Z=(z>>1)%2;U.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",T[Y]+":0",D[Z]+":0",T[1-Y]+":auto",D[1-Z]+":auto",""].join("!important;"),d.appendChild(W),x.push(W)}return b.clearMarkers=function(){Object(H.k)(x,(function(d){d.parentNode&&d.parentNode.removeChild(d)}))},x}(b,W),W,D);if(U)return U(d,x,T),!0}return!1}function isCanvasEl(d){return"CANVAS"===d.nodeName.toUpperCase()}var ee=/([&<>"'])/g,te={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function encodeHTML(d){return null==d?"":(d+"").replace(ee,(function(d,b){return te[b]}))}var ne=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ie=[],oe=z.a.browser.firefox&&+z.a.browser.version.split(".")[0]<39;function clientToLocal(d,b,x,T){return x=x||{},T?calculateZrXY(d,b,x):oe&&null!=b.layerX&&b.layerX!==b.offsetX?(x.zrX=b.layerX,x.zrY=b.layerY):null!=b.offsetX?(x.zrX=b.offsetX,x.zrY=b.offsetY):calculateZrXY(d,b,x),x}function calculateZrXY(d,b,x){if(z.a.domSupported&&d.getBoundingClientRect){var T=b.clientX,D=b.clientY;if(isCanvasEl(d)){var H=d.getBoundingClientRect();return x.zrX=T-H.left,void(x.zrY=D-H.top)}if(transformCoordWithViewport(ie,d,T,D))return x.zrX=ie[0],void(x.zrY=ie[1])}x.zrX=x.zrY=0}function getNativeEvent(d){return d||window.event}function normalizeEvent(d,b,x){if(null!=(b=getNativeEvent(b)).zrX)return b;var T=b.type;if(T&&T.indexOf("touch")>=0){var D="touchend"!==T?b.targetTouches[0]:b.changedTouches[0];D&&clientToLocal(d,D,b,x)}else{clientToLocal(d,b,b,x);var z=function(d){var b=d.wheelDelta;if(b)return b;var x=d.deltaX,T=d.deltaY;if(null==x||null==T)return b;return 3*(0!==T?Math.abs(T):Math.abs(x))*(T>0?-1:T<0?1:x>0?-1:1)}(b);b.zrDelta=z?z/120:-(b.detail||0)/3}var H=b.button;return null==b.which&&void 0!==H&&ne.test(b.type)&&(b.which=1&H?1:2&H?3:4&H?2:0),b}function addEventListener(d,b,x,T){d.addEventListener(b,x,T)}var event_stop=function(d){d.preventDefault(),d.stopPropagation(),d.cancelBubble=!0};function isMiddleOrRightButtonOnMouseUpDown(d){return 2===d.which||3===d.which}var se=function(){function GestureMgr(){this._track=[]}return GestureMgr.prototype.recognize=function(d,b,x){return this._doTrack(d,b,x),this._recognize(d)},GestureMgr.prototype.clear=function(){return this._track.length=0,this},GestureMgr.prototype._doTrack=function(d,b,x){var T=d.touches;if(T){for(var D={points:[],touches:[],target:b,event:d},z=0,H=T.length;z<H;z++){var W=T[z],U=clientToLocal(x,W,{});D.points.push([U.zrX,U.zrY]),D.touches.push(W)}this._track.push(D)}},GestureMgr.prototype._recognize=function(d){for(var b in le)if(le.hasOwnProperty(b)){var x=le[b](this._track,d);if(x)return x}},GestureMgr}();function GestureMgr_dist(d){var b=d[1][0]-d[0][0],x=d[1][1]-d[0][1];return Math.sqrt(b*b+x*x)}var le={pinch:function(d,b){var x=d.length;if(x){var T,D=(d[x-1]||{}).points,z=(d[x-2]||{}).points||D;if(z&&z.length>1&&D&&D.length>1){var H=GestureMgr_dist(D)/GestureMgr_dist(z);!isFinite(H)&&(H=1),b.pinchScale=H;var W=[((T=D)[0][0]+T[1][0])/2,(T[0][1]+T[1][1])/2];return b.pinchX=W[0],b.pinchY=W[1],{type:"pinch",target:d[0].target,event:b}}}}};function identity(d){return d[0]=1,d[1]=0,d[2]=0,d[3]=1,d[4]=0,d[5]=0,d}function matrix_copy(d,b){return d[0]=b[0],d[1]=b[1],d[2]=b[2],d[3]=b[3],d[4]=b[4],d[5]=b[5],d}function matrix_mul(d,b,x){var T=b[0]*x[0]+b[2]*x[1],D=b[1]*x[0]+b[3]*x[1],z=b[0]*x[2]+b[2]*x[3],H=b[1]*x[2]+b[3]*x[3],W=b[0]*x[4]+b[2]*x[5]+b[4],U=b[1]*x[4]+b[3]*x[5]+b[5];return d[0]=T,d[1]=D,d[2]=z,d[3]=H,d[4]=W,d[5]=U,d}function matrix_translate(d,b,x){return d[0]=b[0],d[1]=b[1],d[2]=b[2],d[3]=b[3],d[4]=b[4]+x[0],d[5]=b[5]+x[1],d}function matrix_rotate(d,b,x,T){void 0===T&&(T=[0,0]);
vendor: 6,947 bytes, line 799
799var D=b[0],z=b[2],H=b[4],W=b[1],U=b[3],Y=b[5],Z=Math.sin(x),J=Math.cos(x);return d[0]=D*J+W*Z,d[1]=-D*Z+W*J,d[2]=z*J+U*Z,d[3]=-z*Z+J*U,d[4]=J*(H-T[0])+Z*(Y-T[1])+T[0],d[5]=J*(Y-T[1])-Z*(H-T[0])+T[1],d}function matrix_scale(d,b,x){var T=x[0],D=x[1];return d[0]=b[0]*T,d[1]=b[1]*D,d[2]=b[2]*T,d[3]=b[3]*D,d[4]=b[4]*T,d[5]=b[5]*D,d}function matrix_invert(d,b){var x=b[0],T=b[2],D=b[4],z=b[1],H=b[3],W=b[5],U=x*H-z*T;return U?(U=1/U,d[0]=H*U,d[1]=-z*U,d[2]=-T*U,d[3]=x*U,d[4]=(T*W-H*D)*U,d[5]=(z*D-x*W)*U,d):null}var ce=function(){function Point(d,b){this.x=d||0,this.y=b||0}return Point.prototype.copy=function(d){return this.x=d.x,this.y=d.y,this},Point.prototype.clone=function(){return new Point(this.x,this.y)},Point.prototype.set=function(d,b){return this.x=d,this.y=b,this},Point.prototype.equal=function(d){return d.x===this.x&&d.y===this.y},Point.prototype.add=function(d){return this.x+=d.x,this.y+=d.y,this},Point.prototype.scale=function(d){this.x*=d,this.y*=d},Point.prototype.scaleAndAdd=function(d,b){this.x+=d.x*b,this.y+=d.y*b},Point.prototype.sub=function(d){return this.x-=d.x,this.y-=d.y,this},Point.prototype.dot=function(d){return this.x*d.x+this.y*d.y},Point.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},Point.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},Point.prototype.normalize=function(){var d=this.len();return this.x/=d,this.y/=d,this},Point.prototype.distance=function(d){var b=this.x-d.x,x=this.y-d.y;return Math.sqrt(b*b+x*x)},Point.prototype.distanceSquare=function(d){var b=this.x-d.x,x=this.y-d.y;return b*b+x*x},Point.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},Point.prototype.transform=function(d){if(d){var b=this.x,x=this.y;return this.x=d[0]*b+d[2]*x+d[4],this.y=d[1]*b+d[3]*x+d[5],this}},Point.prototype.toArray=function(d){return d[0]=this.x,d[1]=this.y,d},Point.prototype.fromArray=function(d){this.x=d[0],this.y=d[1]},Point.set=function(d,b,x){d.x=b,d.y=x},Point.copy=function(d,b){d.x=b.x,d.y=b.y},Point.len=function(d){return Math.sqrt(d.x*d.x+d.y*d.y)},Point.lenSquare=function(d){return d.x*d.x+d.y*d.y},Point.dot=function(d,b){return d.x*b.x+d.y*b.y},Point.add=function(d,b,x){d.x=b.x+x.x,d.y=b.y+x.y},Point.sub=function(d,b,x){d.x=b.x-x.x,d.y=b.y-x.y},Point.scale=function(d,b,x){d.x=b.x*x,d.y=b.y*x},Point.scaleAndAdd=function(d,b,x,T){d.x=b.x+x.x*T,d.y=b.y+x.y*T},Point.lerp=function(d,b,x,T){var D=1-T;d.x=D*b.x+T*x.x,d.y=D*b.y+T*x.y},Point}(),de=Math.min,he=Math.max,pe=Math.abs,fe=["x","y"],ge=["width","height"],me=new ce,ye=new ce,ve=new ce,xe=new ce,_e=createIntersectContext(),we=_e.minTv,Se=_e.maxTv,Me=[0,0],Te=function(){function BoundingRect(d,b,x,T){BoundingRect.set(this,d,b,x,T)}return BoundingRect.set=function(d,b,x,T,D){return T<0&&(b+=T,T=-T),D<0&&(x+=D,D=-D),d.x=b,d.y=x,d.width=T,d.height=D,d},BoundingRect.prototype.union=function(d){var b=de(d.x,this.x),x=de(d.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=he(d.x+d.width,this.x+this.width)-b:this.width=d.width,isFinite(this.y)&&isFinite(this.height)?this.height=he(d.y+d.height,this.y+this.height)-x:this.height=d.height,this.x=b,this.y=x},BoundingRect.prototype.applyTransform=function(d){BoundingRect.applyTransform(this,this,d)},BoundingRect.prototype.calculateTransform=function(d){var b=this,x=d.width/b.width,T=d.height/b.height,D=[1,0,0,1,0,0];return matrix_translate(D,D,[-b.x,-b.y]),matrix_scale(D,D,[x,T]),matrix_translate(D,D,[d.x,d.y]),D},BoundingRect.prototype.intersect=function(d,b,x){return BoundingRect.intersect(this,d,b,x)},BoundingRect.intersect=function(d,b,x,T){x&&ce.set(x,0,0);var D=T&&T.outIntersectRect||null,z=T&&T.clamp;if(D&&(D.x=D.y=D.width=D.height=NaN),!d||!b)return!1;d instanceof BoundingRect||(d=BoundingRect.set(ke,d.x,d.y,d.width,d.height)),b instanceof BoundingRect||(b=BoundingRect.set(Pe,b.x,b.y,b.width,b.height));var H=!!x;_e.reset(T,H);var W=_e.touchThreshold,U=d.x+W,Y=d.x+d.width-W,Z=d.y+W,J=d.y+d.height-W,ee=b.x+W,te=b.x+b.width-W,ne=b.y+W,ie=b.y+b.height-W;if(U>Y||Z>J||ee>te||ne>ie)return!1;var oe=!(Y<ee||te<U||J<ne||ie<Z);return(H||D)&&(Me[0]=1/0,Me[1]=0,intersectOneDim(U,Y,ee,te,0,H,D,z),intersectOneDim(Z,J,ne,ie,1,H,D,z),H&&ce.copy(x,oe?_e.useDir?_e.dirMinTv:we:Se)),oe},BoundingRect.contain=function(d,b,x){return b>=d.x&&b<=d.x+d.width&&x>=d.y&&x<=d.y+d.height},BoundingRect.prototype.contain=function(d,b){return BoundingRect.contain(this,d,b)},BoundingRect.prototype.clone=function(){return new BoundingRect(this.x,this.y,this.width,this.height)},BoundingRect.prototype.copy=function(d){BoundingRect.copy(this,d)},BoundingRect.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},BoundingRect.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},BoundingRect.prototype.isZero=function(){return 0===this.width||0===this.height},BoundingRect.create=function(d){return new BoundingRect(d.x,d.y,d.width,d.height)},BoundingRect.copy=function(d,b){return d.x=b.x,d.y=b.y,d.width=b.width,d.height=b.height,d},BoundingRect.applyTransform=function(d,b,x){if(x){if(x[1]<1e-5&&x[1]>-1e-5&&x[2]<1e-5&&x[2]>-1e-5){var T=x[0],D=x[3],z=x[4],H=x[5];return d.x=b.x*T+z,d.y=b.y*D+H,d.width=b.width*T,d.height=b.height*D,d.width<0&&(d.x+=d.width,d.width=-d.width),void(d.height<0&&(d.y+=d.height,d.height=-d.height))}me.x=ve.x=b.x,me.y=xe.y=b.y,ye.x=xe.x=b.x+b.width,ye.y=ve.y=b.y+b.height,me.transform(x),xe.transform(x),ye.transform(x),ve.transform(x),d.x=de(me.x,ye.x,ve.x,xe.x),d.y=de(me.y,ye.y,ve.y,xe.y);var W=he(me.x,ye.x,ve.x,xe.x),U=he(me.y,ye.y,ve.y,xe.y);d.width=W-d.x,d.height=U-d.y}else d!==b&&BoundingRect.copy(d,b)},BoundingRect}(),ke=new Te(0,0,0,0),Pe=new Te(0,0,0,0);function intersectOneDim(d,b,x,T,D,z,H,W){var U=pe(b-x),Y=pe(T-d),Z=de(U,Y),J=fe[D],ee=fe[1-D],te=ge[D];b<x||T<d?U<Y?(z&&(Se[J]=-U),W&&(H[J]=b,H[te]=0)):(z&&(Se[J]=Y),W&&(H[J]=d,H[te]=0)):(H&&(H[J]=he(d,x),H[te]=de(b,T)-H[J]),z&&(Z<Me[0]||_e.useDir)&&(Me[0]=de(Z,Me[0]),(U<Y||!_e.bidirectional)&&(we[J]=U,we[ee]=0,_e.useDir&&_e.calcDirMTV()),(U>=Y||!_e.bidirectional)&&(we[J]=-Y,we[ee]=0,_e.useDir&&_e.calcDirMTV())))}function createIntersectContext(){var d=0,b=new ce,x=new ce,T={minTv:new ce,maxTv:new ce,useDir:!1,dirMinTv:new ce,touchThreshold:0,bidirectional:!0,negativeSize:!1,reset:function(D,z){T.touchThreshold=0,D&&null!=D.touchThreshold&&(T.touchThreshold=he(0,D.touchThreshold)),T.negativeSize=!1,z&&(T.minTv.set(1/0,1/0),T.maxTv.set(0,0),T.useDir=!1,D&&null!=D.direction&&(T.useDir=!0,T.dirMinTv.copy(T.minTv),x.copy(T.minTv),d=D.direction,T.bidirectional=null==D.bidirectional||!!D.bidirectional,T.bidirectional||b.set(Math.cos(d),Math.sin(d))))},calcDirMTV:function(){var D=T.minTv,z=T.dirMinTv,H=D.y*D.y+D.x*D.x,W=Math.sin(d),U=Math.cos(d),Y=W*D.y+U*D.x;nearZero(Y)?nearZero(D.x)&&nearZero(D.y)&&z.set(0,0):(x.x=H*U/Y,x.y=H*W/Y,nearZero(x.x)&&nearZero(x.y)?z.set(0,0):(T.bidirectional||b.dot
vendor: 8,770 bytes, line 799
799(x)>0)&&x.len()<z.len()&&z.copy(x))}};function nearZero(d){return pe(d)<1e-10}return T}var Ee=Te;function stopEvent(){event_stop(this.event)}var Le=function(d){function EmptyProxy(){var b=null!==d&&d.apply(this,arguments)||this;return b.handler=null,b}return tslib_es6_extends(EmptyProxy,d),EmptyProxy.prototype.dispose=function(){},EmptyProxy.prototype.setCursor=function(){},EmptyProxy}(Y),HoveredResult=function(d,b){this.x=d,this.y=b},Ne=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],Ve=new Ee(0,0,0,0),Fe=function(d){function Handler(b,x,T,D,z){var H=d.call(this)||this;return H._hovered=new HoveredResult(0,0),H.storage=b,H.painter=x,H.painterRoot=D,H._pointerSize=z,T=T||new Le,H.proxy=null,H.setHandlerProxy(T),H._draggingMgr=new U(H),H}return tslib_es6_extends(Handler,d),Handler.prototype.setHandlerProxy=function(d){this.proxy&&this.proxy.dispose(),d&&(H.k(Ne,(function(b){d.on&&d.on(b,this[b],this)}),this),d.handler=this),this.proxy=d},Handler.prototype.mousemove=function(d){var b=d.zrX,x=d.zrY,T=isOutsideBoundary(this,b,x),D=this._hovered,z=D.target;z&&!z.__zr&&(z=(D=this.findHover(D.x,D.y)).target);var H=this._hovered=T?new HoveredResult(b,x):this.findHover(b,x),W=H.target,U=this.proxy;U.setCursor&&U.setCursor(W?W.cursor:"default"),z&&W!==z&&this.dispatchToElement(D,"mouseout",d),this.dispatchToElement(H,"mousemove",d),W&&W!==z&&this.dispatchToElement(H,"mouseover",d)},Handler.prototype.mouseout=function(d){var b=d.zrEventControl;"only_globalout"!==b&&this.dispatchToElement(this._hovered,"mouseout",d),"no_globalout"!==b&&this.trigger("globalout",{type:"globalout",event:d})},Handler.prototype.resize=function(){this._hovered=new HoveredResult(0,0)},Handler.prototype.dispatch=function(d,b){var x=this[d];x&&x.call(this,b)},Handler.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},Handler.prototype.setCursorStyle=function(d){var b=this.proxy;b.setCursor&&b.setCursor(d)},Handler.prototype.dispatchToElement=function(d,b,x){var T=(d=d||{}).target;if(!T||!T.silent){for(var D="on"+b,z=function(d,b,x){return{type:d,event:x,target:b.target,topTarget:b.topTarget,cancelBubble:!1,offsetX:x.zrX,offsetY:x.zrY,gestureEvent:x.gestureEvent,pinchX:x.pinchX,pinchY:x.pinchY,pinchScale:x.pinchScale,wheelDelta:x.zrDelta,zrByTouch:x.zrByTouch,which:x.which,stop:stopEvent}}(b,d,x);T&&(T[D]&&(z.cancelBubble=!!T[D].call(T,z)),T.trigger(b,z),T=T.__hostTarget?T.__hostTarget:T.parent,!z.cancelBubble););z.cancelBubble||(this.trigger(b,z),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(d){"function"==typeof d[D]&&d[D].call(d,z),d.trigger&&d.trigger(b,z)})))}},Handler.prototype.findHover=function(d,b,x){var T=this.storage.getDisplayList(),D=new HoveredResult(d,b);if(setHoverTarget(T,D,d,b,x),this._pointerSize&&!D.target){for(var z=[],H=this._pointerSize,W=H/2,U=new Ee(d-W,b-W,H,H),Y=T.length-1;Y>=0;Y--){var Z=T[Y];Z===x||Z.ignore||Z.ignoreCoarsePointer||Z.parent&&Z.parent.ignoreCoarsePointer||(Ve.copy(Z.getBoundingRect()),Z.transform&&Ve.applyTransform(Z.transform),Ve.intersect(U)&&z.push(Z))}if(z.length)for(var J=Math.PI/12,ee=2*Math.PI,te=0;te<W;te+=4)for(var ne=0;ne<ee;ne+=J){if(setHoverTarget(z,D,d+te*Math.cos(ne),b+te*Math.sin(ne),x),D.target)return D}}return D},Handler.prototype.processGesture=function(d,b){this._gestureMgr||(this._gestureMgr=new se);var x=this._gestureMgr;"start"===b&&x.clear();var T=x.recognize(d,this.findHover(d.zrX,d.zrY,null).target,this.proxy.dom);if("end"===b&&x.clear(),T){var D=T.type;d.gestureEvent=D;var z=new HoveredResult;z.target=T.target,this.dispatchToElement(z,D,T.event)}},Handler}(Y);function isHover(d,b,x){if(d[d.rectHover?"rectContain":"contain"](b,x)){for(var T=d,D=void 0,z=!1;T;){if(T.ignoreClip&&(z=!0),!z){var H=T.getClipPath();if(H&&!H.contain(b,x))return!1}T.silent&&(D=!0);var W=T.__hostTarget;T=W?T.ignoreHostSilent?null:W:T.parent}return!D||"silent"}return!1}function setHoverTarget(d,b,x,T,D){for(var z=d.length-1;z>=0;z--){var H=d[z],W=void 0;if(H!==D&&!H.ignore&&(W=isHover(H,x,T))&&(!b.topTarget&&(b.topTarget=H),"silent"!==W)){b.target=H;break}}}function isOutsideBoundary(d,b,x){var T=d.painter;return b<0||b>T.getWidth()||x<0||x>T.getHeight()}H.k(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(d){Fe.prototype[d]=function(b){var x,T,D=b.zrX,z=b.zrY,H=isOutsideBoundary(this,D,z);if("mouseup"===d&&H||(T=(x=this.findHover(D,z)).target),"mousedown"===d)this._downEl=T,this._downPoint=[b.zrX,b.zrY],this._upEl=T;else if("mouseup"===d)this._upEl=T;else if("click"===d){if(this._downEl!==this._upEl||!this._downPoint||W(this._downPoint,[b.zrX,b.zrY])>4)return;this._downPoint=null}this.dispatchToElement(x,d,b)}}));var Ge=Fe;function makeAscendingRun(d,b,x,T){var D=b+1;if(D===x)return 1;if(T(d[D++],d[b])<0){for(;D<x&&T(d[D],d[D-1])<0;)D++;!function(d,b,x){x--;for(;b<x;){var T=d[b];d[b++]=d[x],d[x--]=T}}(d,b,D)}else for(;D<x&&T(d[D],d[D-1])>=0;)D++;return D-b}function binaryInsertionSort(d,b,x,T,D){for(T===b&&T++;T<x;T++){for(var z,H=d[T],W=b,U=T;W<U;)D(H,d[z=W+U>>>1])<0?U=z:W=z+1;var Y=T-W;switch(Y){case 3:d[W+3]=d[W+2];case 2:d[W+2]=d[W+1];case 1:d[W+1]=d[W];break;default:for(;Y>0;)d[W+Y]=d[W+Y-1],Y--}d[W]=H}}function gallopLeft(d,b,x,T,D,z){var H=0,W=0,U=1;if(z(d,b[x+D])>0){for(W=T-D;U<W&&z(d,b[x+D+U])>0;)H=U,(U=1+(U<<1))<=0&&(U=W);U>W&&(U=W),H+=D,U+=D}else{for(W=D+1;U<W&&z(d,b[x+D-U])<=0;)H=U,(U=1+(U<<1))<=0&&(U=W);U>W&&(U=W);var Y=H;H=D-U,U=D-Y}for(H++;H<U;){var Z=H+(U-H>>>1);z(d,b[x+Z])>0?H=Z+1:U=Z}return U}function gallopRight(d,b,x,T,D,z){var H=0,W=0,U=1;if(z(d,b[x+D])<0){for(W=D+1;U<W&&z(d,b[x+D-U])<0;)H=U,(U=1+(U<<1))<=0&&(U=W);U>W&&(U=W);var Y=H;H=D-U,U=D-Y}else{for(W=T-D;U<W&&z(d,b[x+D+U])>=0;)H=U,(U=1+(U<<1))<=0&&(U=W);U>W&&(U=W),H+=D,U+=D}for(H++;H<U;){var Z=H+(U-H>>>1);z(d,b[x+Z])<0?U=Z:H=Z+1}return U}function TimSort(d,b){var x,T,D=7,z=0,H=[];function mergeAt(W){var U=x[W],Y=T[W],Z=x[W+1],J=T[W+1];T[W]=Y+J,W===z-3&&(x[W+1]=x[W+2],T[W+1]=T[W+2]),z--;var ee=gallopRight(d[Z],d,U,Y,0,b);U+=ee,0!==(Y-=ee)&&0!==(J=gallopLeft(d[U+Y-1],d,Z,J,J-1,b))&&(Y<=J?function(x,T,z,W){var U=0;for(U=0;U<T;U++)H[U]=d[x+U];var Y=0,Z=z,J=x;if(d[J++]=d[Z++],0==--W){for(U=0;U<T;U++)d[J+U]=H[Y+U];return}if(1===T){for(U=0;U<W;U++)d[J+U]=d[Z+U];return void(d[J+W]=H[Y])}var ee,te,ne,ie=D;for(;;){ee=0,te=0,ne=!1;do{if(b(d[Z],H[Y])<0){if(d[J++]=d[Z++],te++,ee=0,0==--W){ne=!0;break}}else if(d[J++]=H[Y++],ee++,te=0,1==--T){ne=!0;break}}while((ee|te)<ie);if(ne)break;do{if(0!==(ee=gallopRight(d[Z],H,Y,T,0,b))){for(U=0;U<ee;U++)d[J+U]=H[Y+U];if(J+=ee,Y+=ee,(T-=ee)<=1){ne=!0;break}}if(d[J++]=d[Z++],0==--W){ne=!0;break}if(0!==(te=gallopLeft(H[Y],d,Z,W,0,b))){for(U=0;U<te;U++)d[J+U]=d[Z+U];if(J+=te,Z+=te,0===(W-=te)){ne=!0;break}}if(d[J++]=H[Y++],1==--T){ne=!0;break}ie--}while(ee>=7||te>=7);if(ne)break;ie<0&&(ie=0),ie+=2}if((D=ie)<1&&(D=1),1===T){for(U=0;U<W;U++)d[J+U]=d[Z+U];d[J+W]=H[Y]}else{if(0===T)throw new Error;for(U=0;U<T;U++)d[J+U]=H[Y+U]}}(U,Y,Z,J):function(x,T,z,W){var U=0;for(U=0;U<W;U++)H[U]=d[z+U];var Y=x+T-1,Z=W-1,J=z+W-1,ee=0,te=0;if(d[J--]=d[Y--],0==--T){for(ee=J-(W-1),U=0;U<W;U++)d[ee+U]=H[U];return}if(1===W){for(te=(J-=T)+1,ee=(Y-=T)+1,U=T-1;U>=0;U--)d[te+U]=d[ee+U];return void(d[J]=H[Z])}var ne=D;for(;;){var ie=0,oe=0,se=!1;do{if(b(H[Z],d[Y])<0){if(d[J--]=d[Y--],ie++,oe=0,0==--T){se=!0;break}}else if(d[J--]=H[Z--],oe++,ie=0,1==--W){se=!0;break}}while((ie|oe)<ne);if(se)break;do{if(0!==(ie=T-gallopRight(H[Z],d,x,T,T-1,b))){for(T-=ie,te=(J-=ie)+1,ee=(Y-=ie)+1,U=ie-1;U>=0;U--)d[te+U]=d[ee+U];if(0===T){se=!0;break}}if(d[J--]=H[Z--],1==--W){se=!0;break}if(0!==(oe=W-gallopLeft(d[Y],H,0,W,W-1,b))){for(W-=oe,te=(J-=oe)+1,ee=(Z-=oe)+1,U=0;U<oe;U++)d[te+U]=H[ee+U];if(W<=1){se=!0;break}}if(d[J--]=d[Y--],0==--T){se=!0;break}ne--}while(ie>=7||oe>=7);if(se)break;ne<0&&(ne=0),ne+=2}(D=ne)<1&&(D=1);if(1===W){for(te=(J-=T)+1,ee=(Y-=T)+1,U=T-1;U>=0;U--)d[te+U]=d[ee+U];d[J]=H[Z]}else{if(0===W)throw new Error;for(ee=J-(W-1),U=0;U<W;U++)d[ee+U]=H[U]}}(U,Y,Z,J))}return x=[],T=[],{mergeRuns:function(){for(;z>1;){var d=z-2;if(d>=1&&T[d-1]<=T[d]+T[d+1]||d>=2&&T[d-2]<=T[d]+T[d-1])T[d-1]<T[d+1]&&d--;else if(T[d]>T[d+1])break;mergeAt(d)}},forceMergeRuns:function(){for(;z>1;){var d=z-2;d>0&&T[d-1]<T[d+1]&&d--,mergeAt(d)}},pushRun:function(d,b){x[z]=d,T[z]=b,z+=1}}}function timsort_sort(d,b,x,T){x||(x=0),T||(T=d.length);var D=T-x;if(!(D<2)){var z=0;if(D<32)binaryInsertionSort(d,x,T,x+(z=makeAscendingRun(d,x,T,b)),b);else{var H=TimSort(d,b),W=function(d){for(var b=0;d>=32;)b|=1&d,d>>=1;return d+b}(D);do{if((z=makeAscendingRun(d,x,T,b))<W){var U=D;U>W&&(U=W),binaryInsertionSort(d,x,x+U,x+z,b),z=U}H.pushRun(x,z),H.mergeRuns(),D-=z,x+=z}while(0!==D);H.forceMergeRuns()}}}var Ye=!1;
vendor: 5,292 bytes, line 799
799function logInvalidZError(){Ye||(Ye=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function shapeCompareFunc(d,b){return d.zlevel===b.zlevel?d.z===b.z?d.z2-b.z2:d.z-b.z:d.zlevel-b.zlevel}var Xe=function(){function Storage(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=shapeCompareFunc}return Storage.prototype.traverse=function(d,b){for(var x=0;x<this._roots.length;x++)this._roots[x].traverse(d,b)},Storage.prototype.getDisplayList=function(d,b){b=b||!1;var x=this._displayList;return!d&&x.length||this.updateDisplayList(b),x},Storage.prototype.updateDisplayList=function(d){this._displayListLen=0;for(var b=this._roots,x=this._displayList,T=0,D=b.length;T<D;T++)this._updateAndAddDisplayable(b[T],null,d);x.length=this._displayListLen,timsort_sort(x,shapeCompareFunc)},Storage.prototype._updateAndAddDisplayable=function(d,b,x){if(!d.ignore||x){d.beforeUpdate(),d.update(),d.afterUpdate();var T=d.getClipPath(),D=b&&b.length,z=0,H=d.__clipPaths;if(!d.ignoreClip&&(D||T)){if(H||(H=d.__clipPaths=[]),D)for(var W=0;W<b.length;W++)H[z++]=b[W];for(var U=T,Y=d;U;)U.parent=Y,U.updateTransform(),H[z++]=U,Y=U,U=U.getClipPath()}if(H&&(H.length=z),d.childrenRef){for(var Z=d.childrenRef(),J=0;J<Z.length;J++){var ee=Z[J];d.__dirty&&(ee.__dirty|=1),this._updateAndAddDisplayable(ee,H,x)}d.__dirty=0}else{var te=d;isNaN(te.z)&&(logInvalidZError(),te.z=0),isNaN(te.z2)&&(logInvalidZError(),te.z2=0),isNaN(te.zlevel)&&(logInvalidZError(),te.zlevel=0),this._displayList[this._displayListLen++]=te}var ne=d.getDecalElement&&d.getDecalElement();ne&&this._updateAndAddDisplayable(ne,H,x);var ie=d.getTextGuideLine();ie&&this._updateAndAddDisplayable(ie,H,x);var oe=d.getTextContent();oe&&this._updateAndAddDisplayable(oe,H,x)}},Storage.prototype.addRoot=function(d){d.__zr&&d.__zr.storage===this||this._roots.push(d)},Storage.prototype.delRoot=function(d){if(d instanceof Array)for(var b=0,x=d.length;b<x;b++)this.delRoot(d[b]);else{var T=H.r(this._roots,d);T>=0&&this._roots.splice(T,1)}},Storage.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},Storage.prototype.getRoots=function(){return this._roots},Storage.prototype.dispose=function(){this._displayList=null,this._roots=null},Storage}(),Ke=z.a.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(d){return setTimeout(d,16)},Qe={linear:function(d){return d},quadraticIn:function(d){return d*d},quadraticOut:function(d){return d*(2-d)},quadraticInOut:function(d){return(d*=2)<1?.5*d*d:-.5*(--d*(d-2)-1)},cubicIn:function(d){return d*d*d},cubicOut:function(d){return--d*d*d+1},cubicInOut:function(d){return(d*=2)<1?.5*d*d*d:.5*((d-=2)*d*d+2)},quarticIn:function(d){return d*d*d*d},quarticOut:function(d){return 1- --d*d*d*d},quarticInOut:function(d){return(d*=2)<1?.5*d*d*d*d:-.5*((d-=2)*d*d*d-2)},quinticIn:function(d){return d*d*d*d*d},quinticOut:function(d){return--d*d*d*d*d+1},quinticInOut:function(d){return(d*=2)<1?.5*d*d*d*d*d:.5*((d-=2)*d*d*d*d+2)},sinusoidalIn:function(d){return 1-Math.cos(d*Math.PI/2)},sinusoidalOut:function(d){return Math.sin(d*Math.PI/2)},sinusoidalInOut:function(d){return.5*(1-Math.cos(Math.PI*d))},exponentialIn:function(d){return 0===d?0:Math.pow(1024,d-1)},exponentialOut:function(d){return 1===d?1:1-Math.pow(2,-10*d)},exponentialInOut:function(d){return 0===d?0:1===d?1:(d*=2)<1?.5*Math.pow(1024,d-1):.5*(2-Math.pow(2,-10*(d-1)))},circularIn:function(d){return 1-Math.sqrt(1-d*d)},circularOut:function(d){return Math.sqrt(1- --d*d)},circularInOut:function(d){return(d*=2)<1?-.5*(Math.sqrt(1-d*d)-1):.5*(Math.sqrt(1-(d-=2)*d)+1)},elasticIn:function(d){var b,x=.1;return 0===d?0:1===d?1:(!x||x<1?(x=1,b=.1):b=.4*Math.asin(1/x)/(2*Math.PI),-x*Math.pow(2,10*(d-=1))*Math.sin((d-b)*(2*Math.PI)/.4))},elasticOut:function(d){var b,x=.1;return 0===d?0:1===d?1:(!x||x<1?(x=1,b=.1):b=.4*Math.asin(1/x)/(2*Math.PI),x*Math.pow(2,-10*d)*Math.sin((d-b)*(2*Math.PI)/.4)+1)},elasticInOut:function(d){var b,x=.1,T=.4;return 0===d?0:1===d?1:(!x||x<1?(x=1,b=.1):b=T*Math.asin(1/x)/(2*Math.PI),(d*=2)<1?x*Math.pow(2,10*(d-=1))*Math.sin((d-b)*(2*Math.PI)/T)*-.5:x*Math.pow(2,-10*(d-=1))*Math.sin((d-b)*(2*Math.PI)/T)*.5+1)},backIn:function(d){var b=1.70158;return d*d*((b+1)*d-b)},backOut:function(d){var b=1.70158;return--d*d*((b+1)*d+b)+1},backInOut:function(d){var b=2.5949095;return(d*=2)<1?d*d*((b+1)*d-b)*.5:.5*((d-=2)*d*((b+1)*d+b)+2)},bounceIn:function(d){return 1-Qe.bounceOut(1-d)},bounceOut:function(d){return d<1/2.75?7.5625*d*d:d<2/2.75?7.5625*(d-=1.5/2.75)*d+.75:d<2.5/2.75?7.5625*(d-=2.25/2.75)*d+.9375:7.5625*(d-=2.625/2.75)*d+.984375},bounceInOut:function(d){return d<.5?.5*Qe.bounceIn(2*d):.5*Qe.bounceOut(2*d-1)+.5}},et=Qe,tt=Math.pow,nt=Math.sqrt,ot=nt(3),lt=vector_create(),ut=vector_create(),ht=vector_create();function isAroundZero(d){return d>-1e-8&&d<1e-8}function isNotAroundZero(d){return d>1e-8||d<-1e-8}function curve_cubicAt(d,b,x,T,D){var z=1-D;return z*z*(z*d+3*D*b)+D*D*(D*T+3*z*x)}function cubicDerivativeAt(d,b,x,T,D){var z=1-D;return 3*(((b-d)*z+2*(x-b)*D)*z+(T-x)*D*D)}
vendor: 4,175 bytes, line 799
799function cubicRootAt(d,b,x,T,D,z){var H=T+3*(b-x)-d,W=3*(x-2*b+d),U=3*(b-d),Y=d-D,Z=W*W-3*H*U,J=W*U-9*H*Y,ee=U*U-3*W*Y,te=0;if(isAroundZero(Z)&&isAroundZero(J)){if(isAroundZero(W))z[0]=0;else(ge=-U/W)>=0&&ge<=1&&(z[te++]=ge)}else{var ne=J*J-4*Z*ee;if(isAroundZero(ne)){var ie=J/Z,oe=-ie/2;(ge=-W/H+ie)>=0&&ge<=1&&(z[te++]=ge),oe>=0&&oe<=1&&(z[te++]=oe)}else if(ne>0){var se=nt(ne),le=Z*W+1.5*H*(-J+se),ce=Z*W+1.5*H*(-J-se);(ge=(-W-((le=le<0?-tt(-le,1/3):tt(le,1/3))+(ce=ce<0?-tt(-ce,1/3):tt(ce,1/3))))/(3*H))>=0&&ge<=1&&(z[te++]=ge)}else{var de=(2*Z*W-3*H*J)/(2*nt(Z*Z*Z)),he=Math.acos(de)/3,pe=nt(Z),fe=Math.cos(he),ge=(-W-2*pe*fe)/(3*H),me=(oe=(-W+pe*(fe+ot*Math.sin(he)))/(3*H),(-W+pe*(fe-ot*Math.sin(he)))/(3*H));ge>=0&&ge<=1&&(z[te++]=ge),oe>=0&&oe<=1&&(z[te++]=oe),me>=0&&me<=1&&(z[te++]=me)}}return te}function curve_cubicExtrema(d,b,x,T,D){var z=6*x-12*b+6*d,H=9*b+3*T-3*d-9*x,W=3*b-3*d,U=0;if(isAroundZero(H)){if(isNotAroundZero(z))(Z=-W/z)>=0&&Z<=1&&(D[U++]=Z)}else{var Y=z*z-4*H*W;if(isAroundZero(Y))D[0]=-z/(2*H);else if(Y>0){var Z,J=nt(Y),ee=(-z-J)/(2*H);(Z=(-z+J)/(2*H))>=0&&Z<=1&&(D[U++]=Z),ee>=0&&ee<=1&&(D[U++]=ee)}}return U}function cubicSubdivide(d,b,x,T,D,z){var H=(b-d)*D+d,W=(x-b)*D+b,U=(T-x)*D+x,Y=(W-H)*D+H,Z=(U-W)*D+W,J=(Z-Y)*D+Y;z[0]=d,z[1]=H,z[2]=Y,z[3]=J,z[4]=J,z[5]=Z,z[6]=U,z[7]=T}function cubicProjectPoint(d,b,x,T,D,z,H,W,U,Y,Z){var J,ee,te,ne,ie,oe=.005,se=1/0;lt[0]=U,lt[1]=Y;for(var le=0;le<1;le+=.05)ut[0]=curve_cubicAt(d,x,D,H,le),ut[1]=curve_cubicAt(b,T,z,W,le),(ne=distSquare(lt,ut))<se&&(J=le,se=ne);se=1/0;for(var ce=0;ce<32&&!(oe<1e-4);ce++)ee=J-oe,te=J+oe,ut[0]=curve_cubicAt(d,x,D,H,ee),ut[1]=curve_cubicAt(b,T,z,W,ee),ne=distSquare(ut,lt),ee>=0&&ne<se?(J=ee,se=ne):(ht[0]=curve_cubicAt(d,x,D,H,te),ht[1]=curve_cubicAt(b,T,z,W,te),ie=distSquare(ht,lt),te<=1&&ie<se?(J=te,se=ie):oe*=.5);return Z&&(Z[0]=curve_cubicAt(d,x,D,H,J),Z[1]=curve_cubicAt(b,T,z,W,J)),nt(se)}function cubicLength(d,b,x,T,D,z,H,W,U){for(var Y=d,Z=b,J=0,ee=1/U,te=1;te<=U;te++){var ne=te*ee,ie=curve_cubicAt(d,x,D,H,ne),oe=curve_cubicAt(b,T,z,W,ne),se=ie-Y,le=oe-Z;J+=Math.sqrt(se*se+le*le),Y=ie,Z=oe}return J}function curve_quadraticAt(d,b,x,T){var D=1-T;return D*(D*d+2*T*b)+T*T*x}function curve_quadraticDerivativeAt(d,b,x,T){return 2*((1-T)*(b-d)+T*(x-b))}function curve_quadraticExtremum(d,b,x){var T=d+x-2*b;return 0===T?.5:(d-b)/T}function curve_quadraticSubdivide(d,b,x,T,D){var z=(b-d)*T+d,H=(x-b)*T+b,W=(H-z)*T+z;D[0]=d,D[1]=z,D[2]=W,D[3]=W,D[4]=H,D[5]=x}function quadraticProjectPoint(d,b,x,T,D,z,H,W,U){var Y,Z=.005,J=1/0;lt[0]=H,lt[1]=W;for(var ee=0;ee<1;ee+=.05){ut[0]=curve_quadraticAt(d,x,D,ee),ut[1]=curve_quadraticAt(b,T,z,ee),(oe=distSquare(lt,ut))<J&&(Y=ee,J=oe)}J=1/0;for(var te=0;te<32&&!(Z<1e-4);te++){var ne=Y-Z,ie=Y+Z;ut[0]=curve_quadraticAt(d,x,D,ne),ut[1]=curve_quadraticAt(b,T,z,ne);var oe=distSquare(ut,lt);if(ne>=0&&oe<J)Y=ne,J=oe;else{ht[0]=curve_quadraticAt(d,x,D,ie),ht[1]=curve_quadraticAt(b,T,z,ie);var se=distSquare(ht,lt);ie<=1&&se<J?(Y=ie,J=se):Z*=.5}}return U&&(U[0]=curve_quadraticAt(d,x,D,Y),U[1]=curve_quadraticAt(b,T,z,Y)),nt(J)}function quadraticLength(d,b,x,T,D,z,H){for(var W=d,U=b,Y=0,Z=1/H,J=1;J<=H;J++){var ee=J*Z,te=curve_quadraticAt(d,x,D,ee),ne=curve_quadraticAt(b,T,z,ee),ie=te-W,oe=ne-U;Y+=Math.sqrt(ie*ie+oe*oe),W=te,U=ne}return Y}var pt=/cubic-bezier\(([0-9,\.e ]+)\)/;function createCubicEasingFunc(d){var b=d&&pt.exec(d);if(b){var x=b[1].split(","),T=+Object(H.T)(x[0]),D=+Object(H.T)(x[1]),z=+Object(H.T)(x[2]),W=+Object(H.T)(x[3]);if(isNaN(T+D+z+W))return;var U=[];return function(d){return d<=0?0:d>=1?1:cubicRootAt(0,T,z,1,d,U)&&curve_cubicAt(0,D,W,1,U[0])}}}var gt=function(){function Clip(d){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=d.life||1e3,this._delay=d.delay||0,this.loop=d.loop||!1,this.onframe=d.onframe||H.L,this.ondestroy=d.ondestroy||H.L,this.onrestart=d.onrestart||H.L,d.easing&&this.setEasing(d.easing)}return Clip.prototype.step=function(d,b){if(this._inited||(this._startTime=d+this._delay,this._inited=!0),!this._paused){var x=this._life,T=d-this._startTime-this._pausedTime,D=T/x;D<0&&(D=0),D=Math.min(D,1);var z=this.easingFunc,H=z?z(D):D;
vendor: 19,368 bytes, line 799
799if(this.onframe(H),1===D){if(!this.loop)return!0;var W=T%x;this._startTime=d-W,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=b},Clip.prototype.pause=function(){this._paused=!0},Clip.prototype.resume=function(){this._paused=!1},Clip.prototype.setEasing=function(d){this.easing=d,this.easingFunc=Object(H.w)(d)?d:et[d]||createCubicEasingFunc(d)},Clip}(),yt=x("Qe9p"),vt=x("einR"),wt=Array.prototype.slice;function interpolateNumber(d,b,x){return(b-d)*x+d}function interpolate1DArray(d,b,x,T){for(var D=b.length,z=0;z<D;z++)d[z]=interpolateNumber(b[z],x[z],T);return d}function add1DArray(d,b,x,T){for(var D=b.length,z=0;z<D;z++)d[z]=b[z]+x[z]*T;return d}function add2DArray(d,b,x,T){for(var D=b.length,z=D&&b[0].length,H=0;H<D;H++){d[H]||(d[H]=[]);for(var W=0;W<z;W++)d[H][W]=b[H][W]+x[H][W]*T}return d}function fillColorStops(d,b){for(var x=d.length,T=b.length,D=x>T?b:d,z=Math.min(x,T),H=D[z-1]||{color:[0,0,0,0],offset:0},W=z;W<Math.max(x,T);W++)D.push({offset:H.offset,color:H.color.slice()})}function fillArray(d,b,x){var T=d,D=b;if(T.push&&D.push){var z=T.length,H=D.length;if(z!==H)if(z>H)T.length=H;else for(var W=z;W<H;W++)T.push(1===x?D[W]:wt.call(D[W]));var U=T[0]&&T[0].length;for(W=0;W<T.length;W++)if(1===x)isNaN(T[W])&&(T[W]=D[W]);else for(var Y=0;Y<U;Y++)isNaN(T[W][Y])&&(T[W][Y]=D[W][Y])}}function cloneValue(d){if(Object(H.u)(d)){var b=d.length;if(Object(H.u)(d[0])){for(var x=[],T=0;T<b;T++)x.push(wt.call(d[T]));return x}return wt.call(d)}return d}function rgba2String(d){return d[0]=Math.floor(d[0])||0,d[1]=Math.floor(d[1])||0,d[2]=Math.floor(d[2])||0,d[3]=null==d[3]?1:d[3],"rgba("+d.join(",")+")"}function isGradientValueType(d){return 4===d||5===d}function isArrayValueType(d){return 1===d||2===d}var St=[0,0,0,0],Mt=function(){function Track(d){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=d}return Track.prototype.isFinished=function(){return this._finished},Track.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},Track.prototype.needsAnimate=function(){return this.keyframes.length>=1},Track.prototype.getAdditiveTrack=function(){return this._additiveTrack},Track.prototype.addKeyframe=function(d,b,x){this._needsSort=!0;var T=this.keyframes,D=T.length,z=!1,W=6,U=b;if(Object(H.u)(b)){var Y=function(d){return Object(H.u)(d&&d[0])?2:1}(b);W=Y,(1===Y&&!Object(H.z)(b[0])||2===Y&&!Object(H.z)(b[0][0]))&&(z=!0)}else if(Object(H.z)(b)&&!Object(H.l)(b))W=0;else if(Object(H.C)(b))if(isNaN(+b)){var Z=yt.h(b);Z&&(U=Z,W=3)}else W=0;else if(Object(H.x)(b)){var J=Object(H.m)({},U);J.colorStops=Object(H.H)(b.colorStops,(function(d){return{offset:d.offset,color:yt.h(d.color)}})),Object(vt.m)(b)?W=4:Object(vt.o)(b)&&(W=5),U=J}0===D?this.valType=W:W===this.valType&&6!==W||(z=!0),this.discrete=this.discrete||z;var ee={time:d,value:U,rawValue:b,percent:0};return x&&(ee.easing=x,ee.easingFunc=Object(H.w)(x)?x:et[x]||createCubicEasingFunc(x)),T.push(ee),ee},Track.prototype.prepare=function(d,b){var x=this.keyframes;this._needsSort&&x.sort((function(d,b){return d.time-b.time}));for(var T=this.valType,D=x.length,z=x[D-1],H=this.discrete,W=isArrayValueType(T),U=isGradientValueType(T),Y=0;Y<D;Y++){var Z=x[Y],J=Z.value,ee=z.value;Z.percent=Z.time/d,H||(W&&Y!==D-1?fillArray(J,ee,T):U&&fillColorStops(J.colorStops,ee.colorStops))}if(!H&&5!==T&&b&&this.needsAnimate()&&b.needsAnimate()&&T===b.valType&&!b._finished){this._additiveTrack=b;var te=x[0].value;for(Y=0;Y<D;Y++)0===T?x[Y].additiveValue=x[Y].value-te:3===T?x[Y].additiveValue=add1DArray([],x[Y].value,te,-1):isArrayValueType(T)&&(x[Y].additiveValue=1===T?add1DArray([],x[Y].value,te,-1):add2DArray([],x[Y].value,te,-1))}},Track.prototype.step=function(d,b){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var x,T,D,z=null!=this._additiveTrack,W=z?"additiveValue":"value",U=this.valType,Y=this.keyframes,Z=Y.length,J=this.propName,ee=3===U,te=this._lastFr,ne=Math.min;if(1===Z)T=D=Y[0];else{if(b<0)x=0;else if(b<this._lastFrP){for(x=ne(te+1,Z-1);x>=0&&!(Y[x].percent<=b);x--);x=ne(x,Z-2)}else{for(x=te;x<Z&&!(Y[x].percent>b);x++);x=ne(x-1,Z-2)}D=Y[x+1],T=Y[x]}if(T&&D){this._lastFr=x,this._lastFrP=b;var ie=D.percent-T.percent,oe=0===ie?1:ne((b-T.percent)/ie,1);D.easingFunc&&(oe=D.easingFunc(oe));var se=z?this._additiveValue:ee?St:d[J];if(!isArrayValueType(U)&&!ee||se||(se=this._additiveValue=[]),this.discrete)d[J]=oe<1?T.rawValue:D.rawValue;else if(isArrayValueType(U))1===U?interpolate1DArray(se,T[W],D[W],oe):function(d,b,x,T){for(var D=b.length,z=D&&b[0].length,H=0;H<D;H++){d[H]||(d[H]=[]);for(var W=0;W<z;W++)d[H][W]=interpolateNumber(b[H][W],x[H][W],T)}}(se,T[W],D[W],oe);else if(isGradientValueType(U)){var le=T[W],ce=D[W],de=4===U;d[J]={type:de?"linear":"radial",x:interpolateNumber(le.x,ce.x,oe),y:interpolateNumber(le.y,ce.y,oe),colorStops:Object(H.H)(le.colorStops,(function(d,b){var x=ce.colorStops[b];return{offset:interpolateNumber(d.offset,x.offset,oe),color:rgba2String(interpolate1DArray([],d.color,x.color,oe))}})),global:ce.global},de?(d[J].x2=interpolateNumber(le.x2,ce.x2,oe),d[J].y2=interpolateNumber(le.y2,ce.y2,oe)):d[J].r=interpolateNumber(le.r,ce.r,oe)}else if(ee)interpolate1DArray(se,T[W],D[W],oe),z||(d[J]=rgba2String(se));else{var he=interpolateNumber(T[W],D[W],oe);z?this._additiveValue=he:d[J]=he}z&&this._addToTarget(d)}}},Track.prototype._addToTarget=function(d){var b=this.valType,x=this.propName,T=this._additiveValue;0===b?d[x]=d[x]+T:3===b?(yt.h(d[x],St),add1DArray(St,St,T,1),d[x]=rgba2String(St)):1===b?add1DArray(d[x],d[x],T,1):2===b&&add2DArray(d[x],d[x],T,1)},Track}(),kt=function(){function Animator(d,b,x,T){this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=d,this._loop=b,b&&T?Object(H.G)("Can' use additive animation on looped animation."):(this._additiveAnimators=T,this._allowDiscrete=x)}return Animator.prototype.getMaxTime=function(){return this._maxTime},Animator.prototype.getDelay=function(){return this._delay},Animator.prototype.getLoop=function(){return this._loop},Animator.prototype.getTarget=function(){return this._target},Animator.prototype.changeTarget=function(d){this._target=d},Animator.prototype.when=function(d,b,x){return this.whenWithKeys(d,b,Object(H.F)(b),x)},Animator.prototype.whenWithKeys=function(d,b,x,T){for(var D=this._tracks,z=0;z<x.length;z++){var H=x[z],W=D[H];if(!W){W=D[H]=new Mt(H);var U=void 0,Y=this._getAdditiveTrack(H);if(Y){var Z=Y.keyframes,J=Z[Z.length-1];U=J&&J.value,3===Y.valType&&U&&(U=rgba2String(U))}else U=this._target[H];if(null==U)continue;d>0&&W.addKeyframe(0,cloneValue(U),T),this._trackKeys.push(H)}W.addKeyframe(d,cloneValue(b[H]),T)}return this._maxTime=Math.max(this._maxTime,d),this},Animator.prototype.pause=function(){this._clip.pause(),this._paused=!0},Animator.prototype.resume=function(){this._clip.resume(),this._paused=!1},Animator.prototype.isPaused=function(){return!!this._paused},Animator.prototype.duration=function(d){return this._maxTime=d,this._force=!0,this},Animator.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var d=this._doneCbs;if(d)for(var b=d.length,x=0;x<b;x++)d[x].call(this)},Animator.prototype._abortedCallback=function(){this._setTracksFinished();var d=this.animation,b=this._abortedCbs;if(d&&d.removeClip(this._clip),this._clip=null,b)for(var x=0;x<b.length;x++)b[x].call(this)},Animator.prototype._setTracksFinished=function(){for(var d=this._tracks,b=this._trackKeys,x=0;x<b.length;x++)d[b[x]].setFinished()},Animator.prototype._getAdditiveTrack=function(d){var b,x=this._additiveAnimators;if(x)for(var T=0;T<x.length;T++){var D=x[T].getTrack(d);D&&(b=D)}return b},Animator.prototype.start=function(d){if(!(this._started>0)){this._started=1;for(var b=this,x=[],T=this._maxTime||0,D=0;D<this._trackKeys.length;D++){var z=this._trackKeys[D],H=this._tracks[z],W=this._getAdditiveTrack(z),U=H.keyframes,Y=U.length;if(H.prepare(T,W),H.needsAnimate())if(!this._allowDiscrete&&H.discrete){var Z=U[Y-1];Z&&(b._target[H.propName]=Z.rawValue),H.setFinished()}else x.push(H)}if(x.length||this._force){var J=new gt({life:T,loop:this._loop,delay:this._delay||0,onframe:function(d){b._started=2;var T=b._additiveAnimators;if(T){for(var D=!1,z=0;z<T.length;z++)if(T[z]._clip){D=!0;break}D||(b._additiveAnimators=null)}for(z=0;z<x.length;z++)x[z].step(b._target,d);var H=b._onframeCbs;if(H)for(z=0;z<H.length;z++)H[z](b._target,d)},ondestroy:function(){b._doneCallback()}});this._clip=J,this.animation&&this.animation.addClip(J),d&&J.setEasing(d)}else this._doneCallback();return this}},Animator.prototype.stop=function(d){if(this._clip){var b=this._clip;d&&b.onframe(1),this._abortedCallback()}},Animator.prototype.delay=function(d){return this._delay=d,this},Animator.prototype.during=function(d){return d&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(d)),this},Animator.prototype.done=function(d){return d&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(d)),this},Animator.prototype.aborted=function(d){return d&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(d)),this},Animator.prototype.getClip=function(){return this._clip},Animator.prototype.getTrack=function(d){return this._tracks[d]},Animator.prototype.getTracks=function(){var d=this;return Object(H.H)(this._trackKeys,(function(b){return d._tracks[b]}))},Animator.prototype.stopTracks=function(d,b){if(!d.length||!this._clip)return!0;for(var x=this._tracks,T=this._trackKeys,D=0;D<d.length;D++){var z=x[d[D]];z&&!z.isFinished()&&(b?z.step(this._target,1):1===this._started&&z.step(this._target,0),z.setFinished())}var H=!0;for(D=0;D<T.length;D++)if(!x[T[D]].isFinished()){H=!1;break}return H&&this._abortedCallback(),H},Animator.prototype.saveTo=function(d,b,x){if(d){b=b||this._trackKeys;for(var T=0;T<b.length;T++){var D=b[T],z=this._tracks[D];if(z&&!z.isFinished()){var H=z.keyframes,W=H[x?0:H.length-1];W&&(d[D]=cloneValue(W.rawValue))}}}},Animator.prototype.__changeFinalValue=function(d,b){b=b||Object(H.F)(d);for(var x=0;x<b.length;x++){var T=b[x],D=this._tracks[T];if(D){var z=D.keyframes;if(z.length>1){var W=z.pop();D.addKeyframe(W.time,d[T]),D.prepare(this._maxTime,D.getAdditiveTrack())}}}},Animator}();function getTime(){return(new Date).getTime()}var It,Dt,Lt=function(d){function Animation(b){var x=d.call(this)||this;return x._running=!1,x._time=0,x._pausedTime=0,x._pauseStart=0,x._paused=!1,b=b||{},x.stage=b.stage||{},x}return tslib_es6_extends(Animation,d),Animation.prototype.addClip=function(d){d.animation&&this.removeClip(d),this._head?(this._tail.next=d,d.prev=this._tail,d.next=null,this._tail=d):this._head=this._tail=d,d.animation=this},Animation.prototype.addAnimator=function(d){d.animation=this;var b=d.getClip();b&&this.addClip(b)},Animation.prototype.removeClip=function(d){if(d.animation){var b=d.prev,x=d.next;b?b.next=x:this._head=x,x?x.prev=b:this._tail=b,d.next=d.prev=d.animation=null}},Animation.prototype.removeAnimator=function(d){var b=d.getClip();b&&this.removeClip(b),d.animation=null},Animation.prototype.update=function(d){for(var b=getTime()-this._pausedTime,x=b-this._time,T=this._head;T;){var D=T.next;T.step(b,x)?(T.ondestroy(),this.removeClip(T),T=D):T=D}this._time=b,d||(this.trigger("frame",x),this.stage.update&&this.stage.update())},Animation.prototype._startLoop=function(){var d=this;this._running=!0,Ke((function step(){d._running&&(Ke(step),!d._paused&&d.update())}))},Animation.prototype.start=function(){this._running||(this._time=getTime(),this._pausedTime=0,this._startLoop())},Animation.prototype.stop=function(){this._running=!1},Animation.prototype.pause=function(){this._paused||(this._pauseStart=getTime(),this._paused=!0)},Animation.prototype.resume=function(){this._paused&&(this._pausedTime+=getTime()-this._pauseStart,this._paused=!1)},Animation.prototype.clear=function(){for(var d=this._head;d;){var b=d.next;d.prev=d.next=d.animation=null,d=b}this._head=this._tail=null},Animation.prototype.isFinished=function(){return null==this._head},Animation.prototype.animate=function(d,b){b=b||{},this.start();var x=new kt(d,b.loop);return this.addAnimator(x),x},Animation}(Y),Rt=z.a.domSupported,jt=(Dt={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},{mouse:It=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],touch:["touchstart","touchend","touchmove"],pointer:H.H(It,(function(d){var b=d.replace("mouse","pointer");return Dt.hasOwnProperty(b)?b:d}))}),en=["mousemove","mouseup"],ln=["pointermove","pointerup"],vn=!1;function isPointerFromTouch(d){var b=d.pointerType;return"pen"===b||"touch"===b}function markTouch(d){d&&(d.zrByTouch=!0)}function isLocalEl(d,b){for(var x=b,T=!1;x&&9!==x.nodeType&&!(T=x.domBelongToZr||x!==b&&x===d.painterRoot);)x=x.parentNode;return T}var HandlerProxy_FakeGlobalEvent=function(d,b){this.stopPropagation=H.L,this.stopImmediatePropagation=H.L,this.preventDefault=H.L,this.type=b.type,this.target=this.currentTarget=d.dom,this.pointerType=b.pointerType,this.clientX=b.clientX,this.clientY=b.clientY},bn={mousedown:function(d){d=normalizeEvent(this.dom,d),this.__mayPointerCapture=[d.zrX,d.zrY],this.trigger("mousedown",d)},mousemove:function(d){d=normalizeEvent(this.dom,d);var b=this.__mayPointerCapture;!b||d.zrX===b[0]&&d.zrY===b[1]||this.__togglePointerCapture(!0),this.trigger("mousemove",d)},mouseup:function(d){d=normalizeEvent(this.dom,d),this.__togglePointerCapture(!1),this.trigger("mouseup",d)},mouseout:function(d){isLocalEl(this,(d=normalizeEvent(this.dom,d)).toElement||d.relatedTarget)||(this.__pointerCapturing&&(d.zrEventControl="no_globalout"),this.trigger("mouseout",d))},wheel:function(d){vn=!0,d=normalizeEvent(this.dom,d),this.trigger("mousewheel",d)},mousewheel:function(d){vn||(d=normalizeEvent(this.dom,d),this.trigger("mousewheel",d))},touchstart:function(d){markTouch(d=normalizeEvent(this.dom,d)),this.__lastTouchMoment=new Date,this.handler.processGesture(d,"start"),bn.mousemove.call(this,d),bn.mousedown.call(this,d)},touchmove:function(d){markTouch(d=normalizeEvent(this.dom,d)),this.handler.processGesture(d,"change"),bn.mousemove.call(this,d)},touchend:function(d){markTouch(d=normalizeEvent(this.dom,d)),this.handler.processGesture(d,"end"),bn.mouseup.call(this,d),+new Date-+this.__lastTouchMoment<300&&bn.click.call(this,d)},pointerdown:function(d){bn.mousedown.call(this,d)},pointermove:function(d){isPointerFromTouch(d)||bn.mousemove.call(this,d)},pointerup:function(d){bn.mouseup.call(this,d)},pointerout:function(d){isPointerFromTouch(d)||bn.mouseout.call(this,d)}};H.k(["click","dblclick","contextmenu"],(function(d){bn[d]=function(b){b=normalizeEvent(this.dom,b),this.trigger(d,b)}}));var _n={pointermove:function(d){isPointerFromTouch(d)||_n.mousemove.call(this,d)},pointerup:function(d){_n.mouseup.call(this,d)},mousemove:function(d){this.trigger("mousemove",d)},mouseup:function(d){var b=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",d),b&&(d.zrEventControl="only_globalout",this.trigger("mouseout",d))}};function mountLocalDOMEventListeners(d,b){var x=b.domHandlers;z.a.pointerEventsSupported?H.k(jt.pointer,(function(T){mountSingleDOMEventListener(b,T,(function(b){x[T].call(d,b)}))})):(z.a.touchEventsSupported&&H.k(jt.touch,(function(T){mountSingleDOMEventListener(b,T,(function(D){x[T].call(d,D),function(d){d.touching=!0,null!=d.touchTimer&&(clearTimeout(d.touchTimer),d.touchTimer=null),d.touchTimer=setTimeout((function(){d.touching=!1,d.touchTimer=null}),700)}(b)}))})),H.k(jt.mouse,(function(T){mountSingleDOMEventListener(b,T,(function(D){D=getNativeEvent(D),b.touching||x[T].call(d,D)}))})))}function mountGlobalDOMEventListeners(d,b){function mount(x){mountSingleDOMEventListener(b,x,(function(T){T=getNativeEvent(T),isLocalEl(d,T.target)||(T=function(d,b){return normalizeEvent(d.dom,new HandlerProxy_FakeGlobalEvent(d,b),!0)}(d,T),b.domHandlers[x].call(d,T))}),{capture:!0})}z.a.pointerEventsSupported?H.k(ln,mount):z.a.touchEventsSupported||H.k(en,mount)}function mountSingleDOMEventListener(d,b,x,T){d.mounted[b]=x,d.listenerOpts[b]=T,addEventListener(d.domTarget,b,x,T)}function unmountDOMEventListeners(d){var b,x,T,D,z=d.mounted;for(var H in z)z.hasOwnProperty(H)&&(b=d.domTarget,x=H,T=z[H],D=d.listenerOpts[H],b.removeEventListener(x,T,D));d.mounted={}}var DOMHandlerScope=function(d,b){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=d,this.domHandlers=b},Sn=function(d){function HandlerDomProxy(b,x){var T=d.call(this)||this;return T.__pointerCapturing=!1,T.dom=b,T.painterRoot=x,T._localHandlerScope=new DOMHandlerScope(b,bn),Rt&&(T._globalHandlerScope=new DOMHandlerScope(document,_n)),mountLocalDOMEventListeners(T,T._localHandlerScope),T}return tslib_es6_extends(HandlerDomProxy,d),HandlerDomProxy.prototype.dispose=function(){unmountDOMEventListeners(this._localHandlerScope),Rt&&unmountDOMEventListeners(this._globalHandlerScope)},HandlerDomProxy.prototype.setCursor=function(d){this.dom.style&&(this.dom.style.cursor=d||"default")},HandlerDomProxy.prototype.__togglePointerCapture=function(d){if(this.__mayPointerCapture=null,Rt&&+this.__pointerCapturing^+d){this.__pointerCapturing=d;var b=this._globalHandlerScope;d?mountGlobalDOMEventListeners(this,b):unmountDOMEventListeners(b)}},HandlerDomProxy}(Y),Cn=1;z.a.hasGlobalWindow&&(Cn=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var An=Cn,Pn=identity;function Transformable_isNotAroundZero(d){return d>5e-5||d<-5e-5}var On=[],In=[],Dn=[1,0,0,1,0,0],En=Math.abs,Ln=function(){function Transformable(){}var d;return Transformable.prototype.getLocalTransform=function(d){return Transformable.getLocalTransform(this,d)},Transformable.prototype.setPosition=function(d){this.x=d[0],this.y=d[1]},Transformable.prototype.setScale=function(d){this.scaleX=d[0],this.scaleY=d[1]},Transformable.prototype.setSkew=function(d){this.skewX=d[0],this.skewY=d[1]},Transformable.prototype.setOrigin=function(d){this.originX=d[0],this.originY=d[1]},Transformable.prototype.needLocalTransform=function(){return Transformable_isNotAroundZero(this.rotation)||Transformable_isNotAroundZero(this.x)||Transformable_isNotAroundZero(this.y)||Transformable_isNotAroundZero(this.scaleX-1)||Transformable_isNotAroundZero(this.scaleY-1)||Transformable_isNotAroundZero(this.skewX)||Transformable_isNotAroundZero(this.skewY)},Transformable.prototype.updateTransform=function(){var d=this.parent&&this.parent.transform,b=this.needLocalTransform(),x=this.transform;b||d?(x=x||[1,0,0,1,0,0],b?this.getLocalTransform(x):Pn(x),d&&(b?matrix_mul(x,d,x):matrix_copy(x,d)),this.transform=x,this._resolveGlobalScaleRatio(x)):x&&(Pn(x),this.invTransform=null)},Transformable.prototype._resolveGlobalScaleRatio=function(d){var b=this.globalScaleRatio;if(null!=b&&1!==b){this.getGlobalScale(On);var x=On[0]<0?-1:1,T=On[1]<0?-1:1,D=((On[0]-x)*b+x)/On[0]||0,z=((On[1]-T)*b+T)/On[1]||0;d[0]*=D,d[1]*=D,d[2]*=z,d[3]*=z}this.invTransform=this.invTransform||[1,0,0,1,0,0],matrix_invert(this.invTransform,d)},Transformable.prototype.getComputedTransform=function(){for(var d=this,b=[];d;)b.push(d),d=d.parent;for(;d=b.pop();)d.updateTransform();return this.transform},Transformable.prototype.setLocalTransform=function(d){if(d){var b=d[
vendor: 5,783 bytes, line 799
7990]*d[0]+d[1]*d[1],x=d[2]*d[2]+d[3]*d[3],T=Math.atan2(d[1],d[0]),D=Math.PI/2+T-Math.atan2(d[3],d[2]);x=Math.sqrt(x)*Math.cos(D),b=Math.sqrt(b),this.skewX=D,this.skewY=0,this.rotation=-T,this.x=+d[4],this.y=+d[5],this.scaleX=b,this.scaleY=x,this.originX=0,this.originY=0}},Transformable.prototype.decomposeTransform=function(){if(this.transform){var d=this.parent,b=this.transform;d&&d.transform&&(d.invTransform=d.invTransform||[1,0,0,1,0,0],matrix_mul(In,d.invTransform,b),b=In);var x=this.originX,T=this.originY;(x||T)&&(Dn[4]=x,Dn[5]=T,matrix_mul(In,b,Dn),In[4]-=x,In[5]-=T,b=In),this.setLocalTransform(b)}},Transformable.prototype.getGlobalScale=function(d){var b=this.transform;return d=d||[],b?(d[0]=Math.sqrt(b[0]*b[0]+b[1]*b[1]),d[1]=Math.sqrt(b[2]*b[2]+b[3]*b[3]),b[0]<0&&(d[0]=-d[0]),b[3]<0&&(d[1]=-d[1]),d):(d[0]=1,d[1]=1,d)},Transformable.prototype.transformCoordToLocal=function(d,b){var x=[d,b],T=this.invTransform;return T&&applyTransform(x,x,T),x},Transformable.prototype.transformCoordToGlobal=function(d,b){var x=[d,b],T=this.transform;return T&&applyTransform(x,x,T),x},Transformable.prototype.getLineScale=function(){var d=this.transform;return d&&En(d[0]-1)>1e-10&&En(d[3]-1)>1e-10?Math.sqrt(En(d[0]*d[3]-d[2]*d[1])):1},Transformable.prototype.copyTransform=function(d){copyTransform(this,d)},Transformable.getLocalTransform=function(d,b){b=b||[];var x=d.originX||0,T=d.originY||0,D=d.scaleX,z=d.scaleY,H=d.anchorX,W=d.anchorY,U=d.rotation||0,Y=d.x,Z=d.y,J=d.skewX?Math.tan(d.skewX):0,ee=d.skewY?Math.tan(-d.skewY):0;if(x||T||H||W){var te=x+H,ne=T+W;b[4]=-te*D-J*ne*z,b[5]=-ne*z-ee*te*D}else b[4]=b[5]=0;return b[0]=D,b[3]=z,b[1]=ee*D,b[2]=J*z,U&&matrix_rotate(b,b,U),b[4]+=x+Y,b[5]+=T+Z,b},Transformable.initDefaultProps=((d=Transformable.prototype).scaleX=d.scaleY=d.globalScaleRatio=1,void(d.x=d.y=d.originX=d.originY=d.skewX=d.skewY=d.rotation=d.anchorX=d.anchorY=0)),Transformable}(),Rn=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function copyTransform(d,b){for(var x=0;x<Rn.length;x++){var T=Rn[x];d[T]=b[T]}}var Bn,Nn=Ln,jn=x("1RvN"),Vn=x("cm6r");function ensureFontMeasureInfo(d){Bn||(Bn=new jn.a(100)),d=d||Vn.a;var b=Bn.get(d);return b||(b={font:d,strWidthCache:new jn.a(500),asciiWidthMap:null,asciiWidthMapTried:!1,stWideCharWidth:Vn.d.measureText("国",d).width,asciiCharWidth:Vn.d.measureText("a",d).width},Bn.put(d,b)),b}var zn=0,Fn=5;function measureCharWidth(d,b){return d.asciiWidthMapTried||(d.asciiWidthMap=function(d){if(!(zn>=Fn)){d=d||Vn.a;for(var b=[],x=+new Date,T=0;T<=127;T++)b[T]=Vn.d.measureText(String.fromCharCode(T),d).width;var D=+new Date-x;return D>16?zn=Fn:D>2&&zn++,b}}(d.font),d.asciiWidthMapTried=!0),0<=b&&b<=127?null!=d.asciiWidthMap?d.asciiWidthMap[b]:d.asciiCharWidth:d.stWideCharWidth}function measureWidth(d,b){var x=d.strWidthCache,T=x.get(b);return null==T&&(T=Vn.d.measureText(b,d.font).width,x.put(b,T)),T}function innerGetBoundingRect(d,b,x,T){var D=measureWidth(ensureFontMeasureInfo(b),d),z=getLineHeight(b),H=adjustTextX(0,D,x),W=adjustTextY(0,z,T);return new Ee(H,W,D,z)}function getBoundingRect(d,b,x,T){var D=((d||"")+"").split("\n");if(1===D.length)return innerGetBoundingRect(D[0],b,x,T);for(var z=new Ee(0,0,0,0),H=0;H<D.length;H++){var W=innerGetBoundingRect(D[H],b,x,T);0===H?z.copy(W):z.union(W)}return z}function adjustTextX(d,b,x,T){return"right"===x?T?d+=b:d-=b:"center"===x&&(T?d+=b/2:d-=b/2),d}function adjustTextY(d,b,x,T){return"middle"===x?T?d+=b/2:d-=b/2:"bottom"===x&&(T?d+=b:d-=b),d}function getLineHeight(d){return ensureFontMeasureInfo(d).stWideCharWidth}function parsePercent(d,b){return"string"==typeof d?d.lastIndexOf("%")>=0?parseFloat(d)/100*b:parseFloat(d):d}function text_calculateTextPosition(d,b,x){var T=b.position||"inside",D=null!=b.distance?b.distance:5,z=x.height,H=x.width,W=z/2,U=x.x,Y=x.y,Z="left",J="top";if(T instanceof Array)U+=parsePercent(T[0],x.width),Y+=parsePercent(T[1],x.height),Z=null,J=null;else switch(T){case"left":U-=D,Y+=W,Z="right",J="middle";break;case"right":U+=D+H,Y+=W,J="middle";break;case"top":U+=H/2,Y-=D,Z="center",J="bottom";break;case"bottom":U+=H/2,Y+=z+D,Z="center";break;case"inside":U+=H/2,Y+=W,Z="center",J="middle";break;case"insideLeft":U+=D,Y+=W,J="middle";break;case"insideRight":U+=H-D,Y+=W,Z="right",J="middle";break;case"insideTop":U+=H/2,Y+=D,Z="center";break;case"insideBottom":U+=H/2,Y+=z-D,Z="center",J="bottom";break;case"insideTopLeft":U+=D,Y+=D;break;case"insideTopRight":U+=H-D,Y+=D,Z="right";break;case"insideBottomLeft":U+=D,Y+=z-D,J="bottom";break;case"insideBottomRight":U+=H-D,Y+=z-D,Z="right",J="bottom"}return(d=d||{}).x=U,d.y=Y,d.align=Z,d.verticalAlign=J,d}var Hn=Rn.concat(["ignore"]),Gn=Object(H.N)(Rn,(function(d,b){return d[b]=!0,d}),{ignore:!1}),$n={},Wn=new Ee(0,0,0,0),Un=[],Yn=function(){function Element(d){this.id=Object(H.p)(),this.animators=[],this.currentStates=[],this.states={},this._init(d)}return Element.prototype._init=function(d){this.attr(d)},Element.prototype.drift=function(d,b,x){switch(this.draggable){case"horizontal":b=0;break;case"vertical":d=0}var T=this.transform;T||(T=this.transform=[1,0,0,1,0,0]),T[4]+=d,T[5]+=b,this.decomposeTransform(),this.markRedraw()},Element.prototype.beforeUpdate=function(){},Element.prototype.afterUpdate=function(){},Element.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},Element.prototype.updateInnerText=function(d){var b=this._textContent;if(b&&(!b.ignore||d)){this.textConfig||(this.textConfig={});var x=this.textConfig,T=x.local,D=b.innerTransformable,z=void 0,H=void 0,W=!1;D.parent=T?this:null;var U=!1;D.copyTransform(b);var Y=null!=x.position,Z=x.autoOverflowArea,J=void 0;if((Z||Y)&&(J=Wn,x.layoutRect?J.copy(x.layoutRect):J.copy(this.getBoundingRect
vendor: 29,348 bytes, lines 799-808
799()),T||J.applyTransform(this.transform)),Y){this.calculateTextPosition?this.calculateTextPosition($n,x,J):text_calculateTextPosition($n,x,J),D.x=$n.x,D.y=$n.y,z=$n.align,H=$n.verticalAlign;var ee=x.origin;if(ee&&null!=x.rotation){var te=void 0,ne=void 0;"center"===ee?(te=.5*J.width,ne=.5*J.height):(te=parsePercent(ee[0],J.width),ne=parsePercent(ee[1],J.height)),U=!0,D.originX=-D.x+te+(T?0:J.x),D.originY=-D.y+ne+(T?0:J.y)}}null!=x.rotation&&(D.rotation=x.rotation);var ie=x.offset;ie&&(D.x+=ie[0],D.y+=ie[1],U||(D.originX=-ie[0],D.originY=-ie[1]));var oe=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={});if(Z){var se=oe.overflowRect=oe.overflowRect||new Ee(0,0,0,0);D.getLocalTransform(Un),matrix_invert(Un,Un),Ee.copy(se,J),se.applyTransform(Un)}else oe.overflowRect=null;var le=void 0,ce=void 0,de=void 0;(null==x.inside?"string"==typeof x.position&&x.position.indexOf("inside")>=0:x.inside)&&this.canBeInsideText()?(le=x.insideFill,ce=x.insideStroke,null!=le&&"auto"!==le||(le=this.getInsideTextFill()),null!=ce&&"auto"!==ce||(ce=this.getInsideTextStroke(le),de=!0)):(le=x.outsideFill,ce=x.outsideStroke,null!=le&&"auto"!==le||(le=this.getOutsideFill()),null!=ce&&"auto"!==ce||(ce=this.getOutsideStroke(le),de=!0)),(le=le||"#000")===oe.fill&&ce===oe.stroke&&de===oe.autoStroke&&z===oe.align&&H===oe.verticalAlign||(W=!0,oe.fill=le,oe.stroke=ce,oe.autoStroke=de,oe.align=z,oe.verticalAlign=H,b.setDefaultTextStyle(oe)),b.__dirty|=1,W&&b.dirtyStyle(!0)}},Element.prototype.canBeInsideText=function(){return!0},Element.prototype.getInsideTextFill=function(){return"#fff"},Element.prototype.getInsideTextStroke=function(d){return"#000"},Element.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?"#ccc":"#333"},Element.prototype.getOutsideStroke=function(d){var b=this.__zr&&this.__zr.getBackgroundColor(),x="string"==typeof b&&Object(yt.h)(b);x||(x=[255,255,255,1]);for(var T=x[3],D=this.__zr.isDarkMode(),z=0;z<3;z++)x[z]=x[z]*T+(D?0:255)*(1-T);return x[3]=1,Object(yt.j)(x,"rgba")},Element.prototype.traverse=function(d,b){},Element.prototype.attrKV=function(d,b){"textConfig"===d?this.setTextConfig(b):"textContent"===d?this.setTextContent(b):"clipPath"===d?this.setClipPath(b):"extra"===d?(this.extra=this.extra||{},Object(H.m)(this.extra,b)):this[d]=b},Element.prototype.hide=function(){this.ignore=!0,this.markRedraw()},Element.prototype.show=function(){this.ignore=!1,this.markRedraw()},Element.prototype.attr=function(d,b){if("string"==typeof d)this.attrKV(d,b);else if(Object(H.A)(d))for(var x=d,T=Object(H.F)(x),D=0;D<T.length;D++){var z=T[D];this.attrKV(z,d[z])}return this.markRedraw(),this},Element.prototype.saveCurrentToNormalState=function(d){this._innerSaveToNormal(d);for(var b=this._normalState,x=0;x<this.animators.length;x++){var T=this.animators[x],D=T.__fromStateTransition;if(!(T.getLoop()||D&&"__zr_normal__"!==D)){var z=T.targetName,H=z?b[z]:b;T.saveTo(H)}}},Element.prototype._innerSaveToNormal=function(d){var b=this._normalState;b||(b=this._normalState={}),d.textConfig&&!b.textConfig&&(b.textConfig=this.textConfig),this._savePrimaryToNormal(d,b,Hn)},Element.prototype._savePrimaryToNormal=function(d,b,x){for(var T=0;T<x.length;T++){var D=x[T];null==d[D]||D in b||(b[D]=this[D])}},Element.prototype.hasState=function(){return this.currentStates.length>0},Element.prototype.getState=function(d){return this.states[d]},Element.prototype.ensureState=function(d){var b=this.states;return b[d]||(b[d]={}),b[d]},Element.prototype.clearStates=function(d){this.useState("__zr_normal__",!1,d)},Element.prototype.useState=function(d,b,x,T){var D="__zr_normal__"===d;if(this.hasState()||!D){var z=this.currentStates,W=this.stateTransition;if(!(Object(H.r)(z,d)>=0)||!b&&1!==z.length){var U;if(this.stateProxy&&!D&&(U=this.stateProxy(d)),U||(U=this.states&&this.states[d]),U||D){D||this.saveCurrentToNormalState(U);var Y=!!(U&&U.hoverLayer||T);Y&&this._toggleHoverLayerFlag(!0),this._applyStateObj(d,U,this._normalState,b,!x&&!this.__inHover&&W&&W.duration>0,W);var Z=this._textContent,J=this._textGuide;return Z&&Z.useState(d,b,x,Y),J&&J.useState(d,b,x,Y),D?(this.currentStates=[],this._normalState={}):b?this.currentStates.push(d):this.currentStates=[d],this._updateAnimationTargets(),this.markRedraw(),!Y&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2),U}Object(H.G)("State "+d+" not exists.")}}},Element.prototype.useStates=function(d,b,x){if(d.length){var T=[],D=this.currentStates,z=d.length,H=z===D.length;if(H)for(var W=0;W<z;W++)if(d[W]!==D[W]){H=!1;break}if(H)return;for(W=0;W<z;W++){var U=d[W],Y=void 0;this.stateProxy&&(Y=this.stateProxy(U,d)),Y||(Y=this.states[U]),Y&&T.push(Y)}var Z=T[z-1],J=!!(Z&&Z.hoverLayer||x);J&&this._toggleHoverLayerFlag(!0);var ee=this._mergeStates(T),te=this.stateTransition;this.saveCurrentToNormalState(ee),this._applyStateObj(d.join(","),ee,this._normalState,!1,!b&&!this.__inHover&&te&&te.duration>0,te);var ne=this._textContent,ie=this._textGuide;ne&&ne.useStates(d,b,J),ie&&ie.useStates(d,b,J),this._updateAnimationTargets(),this.currentStates=d.slice(),this.markRedraw(),!J&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2)}else this.clearStates()},Element.prototype.isSilent=function(){for(var d=this;d;){if(d.silent)return!0;var b=d.__hostTarget;d=b?d.ignoreHostSilent?null:b:d.parent}return!1},Element.prototype._updateAnimationTargets=function(){for(var d=0;d<this.animators.length;d++){var b=this.animators[d];b.targetName&&b.changeTarget(this[b.targetName])}},Element.prototype.removeState=function(d){var b=Object(H.r)(this.currentStates,d);if(b>=0){var x=this.currentStates.slice();x.splice(b,1),this.useStates(x)}},Element.prototype.replaceState=function(d,b,x){var T=this.currentStates.slice(),D=Object(H.r)(T,d),z=Object(H.r)(T,b)>=0;D>=0?z?T.splice(D,1):T[D]=b:x&&!z&&T.push(b),this.useStates(T)},Element.prototype.toggleState=function(d,b){b?this.useState(d,!0):this.removeState(d)},Element.prototype._mergeStates=function(d){for(var b,x={},T=0;T<d.length;T++){var D=d[T];Object(H.m)(x,D),D.textConfig&&(b=b||{},Object(H.m)(b,D.textConfig))}return b&&(x.textConfig=b),x},Element.prototype._applyStateObj=function(d,b,x,T,D,z){var W=!(b&&T);b&&b.textConfig?(this.textConfig=Object(H.m)({},T?this.textConfig:x.textConfig),Object(H.m)(this.textConfig,b.textConfig)):W&&x.textConfig&&(this.textConfig=x.textConfig);for(var U={},Y=!1,Z=0;Z<Hn.length;Z++){var J=Hn[Z],ee=D&&Gn[J];b&&null!=b[J]?ee?(Y=!0,U[J]=b[J]):this[J]=b[J]:W&&null!=x[J]&&(ee?(Y=!0,U[J]=x[J]):this[J]=x[J])}if(!D)for(Z=0;Z<this.animators.length;Z++){var te=this.animators[Z],ne=te.targetName;te.getLoop()||te.__changeFinalValue(ne?(b||x)[ne]:b||x)}Y&&this._transitionState(d,U,z)},Element.prototype._attachComponent=function(d){if((!d.__zr||d.__hostTarget)&&d!==this){var b=this.__zr;b&&d.addSelfToZr(b),d.__zr=b,d.__hostTarget=this}},Element.prototype._detachComponent=function(d){d.__zr&&d.removeSelfFromZr(d.__zr),d.__zr=null,d.__hostTarget=null},Element.prototype.getClipPath=function(){return this._clipPath},Element.prototype.setClipPath=function(d){this._clipPath&&this._clipPath!==d&&this.removeClipPath(),this._attachComponent(d),this._clipPath=d,this.markRedraw()},Element.prototype.removeClipPath=function(){var d=this._clipPath;d&&(this._detachComponent(d),this._clipPath=null,this.markRedraw())},Element.prototype.getTextContent=function(){return this._textContent},Element.prototype.setTextContent=function(d){var b=this._textContent;b!==d&&(b&&b!==d&&this.removeTextContent(),d.innerTransformable=new Nn,this._attachComponent(d),this._textContent=d,this.markRedraw())},Element.prototype.setTextConfig=function(d){this.textConfig||(this.textConfig={}),Object(H.m)(this.textConfig,d),this.markRedraw()},Element.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},Element.prototype.removeTextContent=function(){var d=this._textContent;d&&(d.innerTransformable=null,this._detachComponent(d),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},Element.prototype.getTextGuideLine=function(){return this._textGuide},Element.prototype.setTextGuideLine=function(d){this._textGuide&&this._textGuide!==d&&this.removeTextGuideLine(),this._attachComponent(d),this._textGuide=d,this.markRedraw()},Element.prototype.removeTextGuideLine=function(){var d=this._textGuide;d&&(this._detachComponent(d),this._textGuide=null,this.markRedraw())},Element.prototype.markRedraw=function(){this.__dirty|=1;var d=this.__zr;d&&(this.__inHover?d.refreshHover():d.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},Element.prototype.dirty=function(){this.markRedraw()},Element.prototype._toggleHoverLayerFlag=function(d){this.__inHover=d;var b=this._textContent,x=this._textGuide;b&&(b.__inHover=d),x&&(x.__inHover=d)},Element.prototype.addSelfToZr=function(d){if(this.__zr!==d){this.__zr=d;var b=this.animators;if(b)for(var x=0;x<b.length;x++)d.animation.addAnimator(b[x]);this._clipPath&&this._clipPath.addSelfToZr(d),this._textContent&&this._textContent.addSelfToZr(d),this._textGuide&&this._textGuide.addSelfToZr(d)}},Element.prototype.removeSelfFromZr=function(d){if(this.__zr){this.__zr=null;var b=this.animators;if(b)for(var x=0;x<b.length;x++)d.animation.removeAnimator(b[x]);this._clipPath&&this._clipPath.removeSelfFromZr(d),this._textContent&&this._textContent.removeSelfFromZr(d),this._textGuide&&this._textGuide.removeSelfFromZr(d)}},Element.prototype.animate=function(d,b,x){var T=d?this[d]:this;var D=new kt(T,b,x);return d&&(D.targetName=d),this.addAnimator(D,d),D},Element.prototype.addAnimator=function(d,b){var x=this.__zr,T=this;d.during((function(){T.updateDuringAnimation(b)})).done((function(){var b=T.animators,x=Object(H.r)(b,d);x>=0&&b.splice(x,1)})),this.animators.push(d),x&&x.animation.addAnimator(d),x&&x.wakeUp()},Element.prototype.updateDuringAnimation=function(d){this.markRedraw()},Element.prototype.stopAnimation=function(d,b){for(var x=this.animators,T=x.length,D=[],z=0;z<T;z++){var H=x[z];d&&d!==H.scope?D.push(H):H.stop(b)}return this.animators=D,this},Element.prototype.animateTo=function(d,b,x){animateTo(this,d,b,x)},Element.prototype.animateFrom=function(d,b,x){animateTo(this,d,b,x,!0)},Element.prototype._transitionState=function(d,b,x,T){for(var D=animateTo(this,b,x,T),z=0;z<D.length;z++)D[z].__fromStateTransition=d},Element.prototype.getBoundingRect=function(){return null},Element.prototype.getPaintRect=function(){return null},Element.initDefaultProps=function(){var d=Element.prototype;d.type="element",d.name="",d.ignore=d.silent=d.ignoreHostSilent=d.isGroup=d.draggable=d.dragging=d.ignoreClip=d.__inHover=!1,d.__dirty=1;function createLegacyProperty(b,x,T,D){function enhanceArray(d,b){Object.defineProperty(b,0,{get:function(){return d[T]},set:function(b){d[T]=b}}),Object.defineProperty(b,1,{get:function(){return d[D]},set:function(b){d[D]=b}})}Object.defineProperty(d,b,{get:function(){this[x]||enhanceArray(this,this[x]=[]);return this[x]},set:function(d){this[T]=d[0],this[D]=d[1],this[x]=d,enhanceArray(this,d)}})}Object.defineProperty&&(createLegacyProperty("position","_legacyPos","x","y"),createLegacyProperty("scale","_legacyScale","scaleX","scaleY"),createLegacyProperty("origin","_legacyOrigin","originX","originY"))}(),Element}();function animateTo(d,b,x,T,D){var z=[];!function animateToShallow(d,b,x,T,D,z,W,U){for(var Y=Object(H.F)(T),Z=D.duration,J=D.delay,ee=D.additive,te=D.setToFinal,ne=!Object(H.A)(z),ie=d.animators,oe=[],se=0;se<Y.length;se++){var le=Y[se],ce=T[le];if(null!=ce&&null!=x[le]&&(ne||z[le]))if(!Object(H.A)(ce)||Object(H.u)(ce)||Object(H.x)(ce))oe.push(le);else{if(b){U||(x[le]=ce,d.updateDuringAnimation(b));continue}animateToShallow(d,le,x[le],ce,D,z&&z[le],W,U)}else U||(x[le]=ce,d.updateDuringAnimation(b),oe.push(le))}var de=oe.length;if(!ee&&de)for(var he=0;he<ie.length;he++){if((fe=ie[he]).targetName===b)if(fe.stopTracks(oe)){var pe=Object(H.r)(ie,fe);ie.splice(pe,1)}}D.force||(oe=Object(H.n)(oe,(function(d){return b=T[d],D=x[d],!(b===D||Object(H.u)(b)&&Object(H.u)(D)&&function(d,b){var x=d.length;if(x!==b.length)return!1;for(var T=0;T<x;T++)if(d[T]!==b[T])return!1;return!0}(b,D));var b,D})),de=oe.length);if(de>0||D.force&&!W.length){var fe,ge=void 0,me=void 0,ye=void 0;if(U){me={},te&&(ge={});for(he=0;he<de;he++){le=oe[he];me[le]=x[le],te?ge[le]=T[le]:x[le]=T[le]}}else if(te){ye={};for(he=0;he<de;he++){le=oe[he];ye[le]=cloneValue(x[le]),copyValue(x,T,le)}}(fe=new kt(x,!1,!1,ee?Object(H.n)(ie,(function(d){return d.targetName===b})):null)).targetName=b,D.scope&&(fe.scope=D.scope),te&&ge&&fe.whenWithKeys(0,ge,oe),ye&&fe.whenWithKeys(0,ye,oe),fe.whenWithKeys(null==Z?500:Z,U?me:T,oe).delay(J||0),d.addAnimator(fe,b),W.push(fe)}}(d,"",d,b,x=x||{},T,z,D);var W=z.length,U=!1,Y=x.done,Z=x.aborted,doneCb=function(){U=!0,--W<=0&&(U?Y&&Y():Z&&Z())},abortedCb=function(){--W<=0&&(U?Y&&Y():Z&&Z())};W||Y&&Y(),z.length>0&&x.during&&z[0].during((function(d,b){x.during(b)}));for(var J=0;J<z.length;J++){var ee=z[J];doneCb&&ee.done(doneCb),abortedCb&&ee.aborted(abortedCb),x.force&&ee.duration(x.duration),ee.start(x.easing)}return z}function copyArrShallow(d,b,x){for(var T=0;T<x;T++)d[T]=b[T]}function copyValue(d,b,x){if(Object(H.u)(b[x]))if(Object(H.u)(d[x])||(d[x]=[]),Object(H.E)(b[x])){var T=b[x].length;d[x].length!==T&&(d[x]=new b[x].constructor(T),copyArrShallow(d[x],b[x],T))}else{var D=b[x],z=d[x],W=D.length;if(Z=D,Object(H.u)(Z[0]))for(var U=D[0].length,Y=0;Y<W;Y++)z[Y]?copyArrShallow(z[Y],D[Y],U):z[Y]=Array.prototype.slice.call(D[Y]);else copyArrShallow(z,D,W);z.length=D.length}else d[x]=b[x];var Z}Object(H.K)(Yn,Y),Object(H.K)(Yn,Nn);var qn=Yn,Zn=function(d){function Group(b){var x=d.call(this)||this;return x.isGroup=!0,x._children=[],x.attr(b),x}return tslib_es6_extends(Group,d),Group.prototype.childrenRef=function(){return this._children},Group.prototype.children=function(){return this._children.slice()},Group.prototype.childAt=function(d){return this._children[d]},Group.prototype.childOfName=function(d){for(var b=this._children,x=0;x<b.length;x++)if(b[x].name===d)return b[x]},Group.prototype.childCount=function(){return this._children.length},Group.prototype.add=function(d){return d&&d!==this&&d.parent!==this&&(this._children.push(d),this._doAdd(d)),this},Group.prototype.addBefore=function(d,b){if(d&&d!==this&&d.parent!==this&&b&&b.parent===this){var x=this._children,T=x.indexOf(b);T>=0&&(x.splice(T,0,d),this._doAdd(d))}return this},Group.prototype.replace=function(d,b){var x=H.r(this._children,d);return x>=0&&this.replaceAt(b,x),this},Group.prototype.replaceAt=function(d,b){var x=this._children,T=x[b];if(d&&d!==this&&d.parent!==this&&d!==T){x[b]=d,T.parent=null;var D=this.__zr;D&&T.removeSelfFromZr(D),this._doAdd(d)}return this},Group.prototype._doAdd=function(d){d.parent&&d.parent.remove(d),d.parent=this;var b=this.__zr;b&&b!==d.__zr&&d.addSelfToZr(b),b&&b.refresh()},Group.prototype.remove=function(d){var b=this.__zr,x=this._children,T=H.r(x,d);return T<0||(x.splice(T,1),d.parent=null,b&&d.removeSelfFromZr(b),b&&b.refresh()),this},Group.prototype.removeAll=function(){for(var d=this._children,b=this.__zr,x=0;x<d.length;x++){var T=d[x];b&&T.removeSelfFromZr(b),T.parent=null}return d.length=0,this},Group.prototype.eachChild=function(d,b){for(var x=this._children,T=0;T<x.length;T++){var D=x[T];d.call(b,D,T)}return this},Group.prototype.traverse=function(d,b){for(var x=0;x<this._children.length;x++){var T=this._children[x],D=d.call(b,T);T.isGroup&&!D&&T.traverse(d,b)}return this},Group.prototype.addSelfToZr=function(b){d.prototype.addSelfToZr.call(this,b);for(var x=0;x<this._children.length;x++){this._children[x].addSelfToZr(b)}},Group.prototype.removeSelfFromZr=function(b){d.prototype.removeSelfFromZr.call(this,b);for(var x=0;x<this._children.length;x++){this._children[x].removeSelfFromZr(b)}},Group.prototype.getBoundingRect=function(d){for(var b=new Ee(0,0,0,0),x=d||this._children,T=[],D=null,z=0;z<x.length;z++){var H=x[z];if(!H.ignore&&!H.invisible){var W=H.getBoundingRect(),U=H.getLocalTransform(T);U?(Ee.applyTransform(b,W,U),(D=D||b.clone()).union(b)):(D=D||W.clone()).union(W)}}return D||b},Group}(qn);Zn.prototype.type="group";var Xn=Zn,Kn={},Jn={};
800/*!
801* ZRender, a high performance 2d drawing library.
802*
803* Copyright (c) 2013, Baidu Inc.
804* All rights reserved.
805*
806* LICENSE
807* https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
808*/var Qn,ei=function(){function ZRender(d,b,x){var T=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,x=x||{},this.dom=b,this.id=d;var D=new Xe,W=x.renderer||"canvas";Kn[W]||(W=H.F(Kn)[0]),x.useDirtyRect=null!=x.useDirtyRect&&x.useDirtyRect;var U=new Kn[W](b,D,x,d),Y=x.ssr||U.ssrOnly;this.storage=D,this.painter=U;var Z,J=z.a.node||z.a.worker||Y?null:new Sn(U.getViewportRoot(),U.root),ee=x.useCoarsePointer;(null==ee||"auto"===ee?z.a.touchEventsSupported:!!ee)&&(Z=H.P(x.pointerSize,44)),this.handler=new Ge(D,U,J,U.root,Z),this.animation=new Lt({stage:{update:Y?null:function(){return T._flush(!0)}}}),Y||this.animation.start()}return ZRender.prototype.add=function(d){!this._disposed&&d&&(this.storage.addRoot(d),d.addSelfToZr(this),this.refresh())},ZRender.prototype.remove=function(d){!this._disposed&&d&&(this.storage.delRoot(d),d.removeSelfFromZr(this),this.refresh())},ZRender.prototype.configLayer=function(d,b){this._disposed||(this.painter.configLayer&&this.painter.configLayer(d,b),this.refresh())},ZRender.prototype.setBackgroundColor=function(d){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(d),this.refresh(),this._backgroundColor=d,this._darkMode=function(d){if(!d)return!1;if("string"==typeof d)return Object(yt.e)(d,1)<.4;if(d.colorStops){for(var b=d.colorStops,x=0,T=b.length,D=0;D<T;D++)x+=Object(yt.e)(b[D].color,1);return(x/=T)<.4}return!1}(d))},ZRender.prototype.getBackgroundColor=function(){return this._backgroundColor},ZRender.prototype.setDarkMode=function(d){this._darkMode=d},ZRender.prototype.isDarkMode=function(){return this._darkMode},ZRender.prototype.refreshImmediately=function(d){this._disposed||(d||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1)},ZRender.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},ZRender.prototype.flush=function(){this._disposed||this._flush(!1)},ZRender.prototype._flush=function(d){var b,x=getTime();this._needsRefresh&&(b=!0,this.refreshImmediately(d)),this._needsRefreshHover&&(b=!0,this.refreshHoverImmediately());var T=getTime();b?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:T-x})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},ZRender.prototype.setSleepAfterStill=function(d){this._sleepAfterStill=d},ZRender.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},ZRender.prototype.refreshHover=function(){this._needsRefreshHover=!0},ZRender.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover())},ZRender.prototype.resize=function(d){this._disposed||(d=d||{},this.painter.resize(d.width,d.height),this.handler.resize())},ZRender.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},ZRender.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},ZRender.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},ZRender.prototype.setCursorStyle=function(d){this._disposed||this.handler.setCursorStyle(d)},ZRender.prototype.findHover=function(d,b){if(!this._disposed)return this.handler.findHover(d,b)},ZRender.prototype.on=function(d,b,x){return this._disposed||this.handler.on(d,b,x),this},ZRender.prototype.off=function(d,b){this._disposed||this.handler.off(d,b)},ZRender.prototype.trigger=function(d,b){this._disposed||this.handler.trigger(d,b)},ZRender.prototype.clear=function(){if(!this._disposed){for(var d=this.storage.getRoots(),b=0;b<d.length;b++)d[b]instanceof Xn&&d[b].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},ZRender.prototype.dispose=function(){var d;this._disposed||(this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,this._disposed=!0,d=this.id,delete Jn[d])},ZRender}();function zrender_init(d,b){var x=new ei(H.p(),d,b);return Jn[x.id]=x,x}var ti=Math.min,ni=Math.max,ii=Math.abs;function linearMap(d,b,x,T){var D=b[0],z=b[1],H=x[0],W=x[1],U=z-D,Y=W-H;if(0===U)return 0===Y?H:(H+W)/2;if(T)if(U>0){if(d<=D)return H;if(d>=z)return W}else{if(d>=D)return H;if(d<=z)return W}else{if(d===D)return H;if(d===z)return W}return(d-D)/U*Y+H}var number_parsePercent=function(d,b,x){switch(d){case"center":case"middle":d="50%";break;case"left":case"top":d="0%";break;case"right":case"bottom":d="100%"}return parsePositionSizeOption(d,b,x)};function parsePositionSizeOption(d,b,x){return H.C(d)?(T=d,T.replace(/^\s+|\s+$/g,"")).match(/%$/)?parseFloat(d)/100*b+(x||0):parseFloat(d):null==d?NaN:+d;var T}function round(d,b,x){return null==b&&(b=10),b=Math.min(Math.max(0,b),20),d=(+d).toFixed(b),x?d:+d}function asc(d){return d.sort((function(d,b){return d-b})),d}function getPrecision(d){if(d=+d,isNaN(d))return 0;if(d>1e-14)for(var b=1,x=0;x<15;x++,b*=10)if(Math.round(d*b)/b===d)return x;return function(d){var b=d.toString().toLowerCase(),x=b.indexOf("e"),T=x>0?+b.slice(x+1):0,D=x>0?x:b.length,z=b.indexOf("."),H=z<0?0:D-1-z;return Math.max(0,H-T)}(d)}function getPixelPrecision(d,b){var x=Math.log,T=Math.LN10,D=Math.floor(x(d[1]-d[0])/T),z=Math.round(x(ii(b[1]-b[0]))/T),H=Math.min(Math.max(-D+z,0),20);return isFinite(H)?H:20}function getPercentSeats(d,b){var x=H.N(d,(function(d,b){return d+(isNaN(b)?0:b)}),0);if(0===x)return[];for(var T=Math.pow(10,b),D=H.H(d,(function(d){return(isNaN(d)?0:d)/x*T*100})),z=100*T,W=H.H(D,(function(d){return Math.floor(d)})),U=H.N(W,(function(d,b){return d+b}),0),Y=H.H(D,(function(d,b){return d-W[b]}));U<z;){for(var Z=Number.NEGATIVE_INFINITY,J=null,ee=0,te=Y.length;ee<te;++ee)Y[ee]>Z&&(Z=Y[ee],J=ee);++W[J],Y[J]=0,++U}return H.H(W,(function(d){return d/T}))}function addSafe(d,b){var x=Math.max(getPrecision(d),getPrecision(b)),T=d+b;return x>20?T:round(T,x)}function remRadian(d){var b=2*Math.PI;return(d%b+b)%b}function isRadianAroundZero(d){return d>-1e-4&&d<1e-4}var ri=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function parseDate(d){if(d instanceof Date)return d;if(H.C(d)){var b=ri.exec(d);if(!b)return new Date(NaN);if(b[8]){var x=+b[4]||0;return"Z"!==b[8].toUpperCase()&&(x-=+b[8].slice(0,3)),new Date(Date.UTC(+b[1],+(b[2]||1)-1,+b[3]||1,x,+(b[5]||0),+b[6]||0,b[7]?+b[7].substring(0,3):0))}return new Date(+b[1],+(b[2]||1)-1,+b[3]||1,+b[4]||0,+(b[5]||0),+b[6]||0,b[7]?+b[7].substring(0,3):0)}return null==d?new Date(NaN):new Date(Math.round(d))}function quantityExponent(d){if(0===d)return 0;var b=Math.floor(Math.log(d)/Math.LN10);return d/Math.pow(10,b)>=10&&b++,b}function nice(d,b){var x=quantityExponent(d),T=Math.pow(10,x),D=d/T;return d=(b?D<1.5?1:D<2.5?2:D<4?3:D<7?5:10:D<1?1:D<2?2:D<3?3:D<5?5:10)*T,x>=-20?+d.toFixed(x<0?-x:0):d}function quantile(d,b){var x=(d.length-1)*b+1,T=Math.floor(x),D=+d[T-1],z=x-T;return z?D+z*(d[T]-D):D}function reformIntervals(d){d.sort((function(d,b){return function littleThan(d,b,x){return d.interval[x]<b.interval[x]||d.interval[x]===b.interval[x]&&(d.close[x]-b.close[x]==(x?-1:1)||!x&&littleThan(d,b,1))}(d,b,0)?-1:1}));for(var b=-1/0,x=1,T=0;T<d.length;){for(var D=d[T].interval,z=d[T].close,H=0;H<2;H++)D[H]<=b&&(D[H]=b,z[H]=H?1:1-x),b=D[H],x=z[H];D[0]===D[1]&&z[0]*z[1]!=1?d.splice(T,1):T++}return d}function numericToNumber(d){var b=parseFloat(d);return b==d&&(0!==b||!H.C(d)||d.indexOf("x")<=0)?b:NaN}function isNumeric(d){return!isNaN(numericToNumber(d))}function getRandomIdBase(){return Math.round(9*Math.random())}function getLeastCommonMultiple(d,b){return null==d?b:null==b?d:d*b/function getGreatestCommonDividor(d,b){return 0===b?d:getGreatestCommonDividor(b,d%b)}(d,b)}function model_interpolateNumber(d,b,x){return(b-d)*x+d}function normalizeToArray(d){return d instanceof Array?d:null==d?[]:[d]}function defaultEmphasis(d,b,x){if(d){d[b]=d[b]||{},d.emphasis=d.emphasis||{},d.emphasis[b]=d.emphasis[b]||{};for(var T=0,D=x.length;T<D;T++){var z=x[T];!d.emphasis[b].hasOwnProperty(z)&&d[b].hasOwnProperty(z)&&(d.emphasis[b][z]=d[b][z])}}}var oi=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function getDataItemValue(d){return!Object(H.A)(d)||Object(H.t)(d)||d instanceof Date?d:d.value}function isDataItemOption(d){return Object(H.A)(d)&&!(d instanceof Array)}function mappingToExists(d,b,x){var T="normalMerge"===x,D="replaceMerge"===x,z="replaceAll"===x;d=d||[],b=(b||[]).slice();var W=Object(H.f)();Object(H.k)(b,(function(d,x){Object(H.A)(d)||(b[x]=null)}));var U,Y,Z=function(d,b,x){var T=[];if("replaceAll"===x)return T;for(var D=0;D<d.length;D++){var z=d[D];z&&null!=z.id&&b.set(z.id,D),T.push({existing:"replaceMerge"===x||isComponentIdInternal(z)?null:z,newOption:null,keyInfo:null,brandNew:null})}return T}(d,W,x);return(T||D)&&function(d,b,x,T){Object(H.k)(T,(function(D,z){if(D&&null!=D.id){var W=makeComparableKey(D.id),U=x.get(W);if(null!=U){var Y=d[U];Object(H.b)(!Y.newOption,'Duplicated option on id "'+W+'".'),Y.newOption=D,Y.existing=b[U],T[z]=null}}}))}(Z,d,W,b),T&&function(d,b){Object(H.k)(b,(function(x,T){if(x&&null!=x.name)for(var D=0;D<d.length;D++){var z=d[D].existing;if(!d[D].newOption&&z&&(null==z.id||null==x.id)&&!isComponentIdInternal(x)&&!isComponentIdInternal(z)&&keyExistAndEqual("name",z,x))return d[D].newOption=x,void(b[T]=null)}}))}(Z,b),T||D?function(d,b,x){Object(H.k)(b,(function(b){if(b){for(var T,D=0;(T=d[D])&&(T.newOption||isComponentIdInternal(T.existing)||T.existing&&null!=b.id&&!keyExistAndEqual("id",b,T.existing));)D++;T?(T.newOption=b,T.brandNew=x):d.push({newOption:b,brandNew:x,existing:null,keyInfo:null}),D++}}))}(Z,b,D):z&&function(d,b){Object(H.k)(b,(function(b){d.push({newOption:b,brandNew:!0,existing:null,keyInfo:null})}))}(Z,b),U=Z,Y=Object(H.f)(),Object(H.k)(U,(function(d){var b=d.existing;b&&Y.set(b.id,d)})),Object(H.k)(U,(function(d){var b=d.newOption;Object(H.b)(!b||null==b.id||!Y.get(b.id)||Y.get(b.id)===d,"id duplicates: "+(b&&b.id)),b&&null!=b.id&&Y.set(b.id,d),!d.keyInfo&&(d.keyInfo={})})),Object(H.k)(U,(function(d,b){var x=d.existing,T=d.newOption,D=d.keyInfo;if(Object(H.A)(T)){if(D.name=null!=T.name?makeComparableKey(T.name):x?x.name:"series\0"+b,x)D.id=makeComparableKey(x.id);else if(null!=T.id)D.id=makeComparableKey(T.id);else{var z=0;do{D.id="\0"+D.name+"\0"+z++}while(Y.get(D.id))}Y.set(D.id,d)}})),Z}function keyExistAndEqual(d,b,x){var T=convertOptionIdName(b[d],null),D=convertOptionIdName(x[d],null);return null!=T&&null!=D&&T===D}function makeComparableKey(d){return convertOptionIdName(d,"")}function convertOptionIdName(d,b){return null==d?b:Object(H.C)(d)?d:Object(H.z)(d)||Object(H.D)(d)?d+"":b}function isNameSpecified(d){var b=d.name;return!(!b||!b.indexOf("series\0"))}function isComponentIdInternal(d){return d&&null!=d.id&&0===makeComparableKey(d.id).indexOf("\0_ec_\0")}function queryDataIndex(d,b){return null!=b.dataIndexInside?b.dataIndexInside:null!=b.dataIndex?Object(H.t)(b.dataIndex)?Object(H.H)(b.dataIndex,(function(b){return d.indexOfRawIndex(b)})):d.indexOfRawIndex(b.dataIndex):null!=b.name?Object(H.t)(b.name)?Object(H.H)(b.name,(function(b){return d.indexOfName(b)})):d.indexOfName(b.name):void 0}function makeInner(){var d="__ec_inner_"+ai++;return function(b){return b[d]||(b[d]={})}}var ai=getRandomIdBase();function parseFinder(d,b,x){var T=preParseFinder(b,x),D=T.mainTypeSpecified,z=T.queryOptionMap,H=T.others,W=x?x.defaultMainType:null;return!D&&W&&z.set(W,{}),z.each((function(b,T){var D=queryReferringComponents(d,T,b,{useDefault:W===T,enableAll:!x||null==x.enableAll||x.enableAll,enableNone:!x||null==x.enableNone||x.enableNone});H[T+"Models"]=D.models,H[T+"Model"]=D.models[0]})),H}function preParseFinder(d,b){var x;if(Object(H.C)(d)){var T={};T[d+"Index"]=0,x=T}else x=d;var D=Object(H.f)(),z={},W=!1;return Object(H.k)(x,(function(d,x){if("dataIndex"!==x&&"dataIndexInside"!==x){var T=x.match(/^(\w+)(Index|Id|Name)$/)||[],U=T[1],Y=(T[2]||"").toLowerCase();if(U&&Y&&!(b&&b.includeMainTypes&&Object(H.r)(b.includeMainTypes,U)<0))W=W||!!U,(D.get(U)||D.set(U,{}))[Y]=d}else z[x]=d})),{mainTypeSpecified:W,queryOptionMap:D,others:z}}var si={useDefault:!0,enableAll:!1,enableNone:!1},li={useDefault:!1,enableAll:!0,enableNone:!0};function queryReferringComponents(d,b,x,T){T=T||si;var D=x.index,z=x.id,H=x.name,W={models:null,specified:null!=D||null!=z||null!=H};if(!W.specified){var U=void 0;return W.models=T.useDefault&&(U=d.getComponent(b))?[U]:[],W}
808if("none"===D||!1===D){if(T.enableNone)return W.models=[],W;D=-1}return"all"===D&&(D=T.enableAll?z=H=null:-1),W.models=d.queryComponents({mainType:b,index:D,id:z,name:H}),W}function setAttribute(d,b,x){d.setAttribute?d.setAttribute(b,x):d[b]=x}function groupData(d,b){var x=Object(H.f)(),T=[];return Object(H.k)(d,(function(d){var D=b(d);(x.get(D)||(T.push(D),x.set(D,[]))).push(d)})),{keys:T,buckets:x}}function interpolateRawValues(d,b,x,T,D){var z=null==b||"auto"===b;if(null==T)return T;if(Object(H.z)(T))return round(ie=model_interpolateNumber(x||0,T,D),z?Math.max(getPrecision(x||0),getPrecision(T)):b);if(Object(H.C)(T))return D<1?x:T;for(var W=[],U=x,Y=T,Z=Math.max(U?U.length:0,Y.length),J=0;J<Z;++J){var ee=d.getDimensionInfo(J);if(ee&&"ordinal"===ee.type)W[J]=(D<1&&U?U:Y)[J];else{var te=U&&U[J]?U[J]:0,ne=Y[J],ie=model_interpolateNumber(te,ne,D);W[J]=round(ie,z?Math.max(getPrecision(te),getPrecision(ne)):b)}}return W}var ui=function(){function ListIterator(){}return ListIterator.prototype.reset=function(d,b,x,T){return this._list=d,this._step=T=T||1,this._idx=b,this._end=null!=x?x:T>0?d.length:0,this.item=null,this.key=NaN,this},ListIterator.prototype.next=function(){return(this._step>0?this._idx<this._end:this._idx>=this._end)&&(this.item=this._list[this._idx],this.key=this._idx=this._idx+this._step,!0)},ListIterator}();function clearTmpModel(d){d.option=d.parentModel=d.ecModel=null}var ci="___EC__COMPONENT__CONTAINER___";function parseClassType(d){var b={main:"",sub:""};if(d){var x=d.split(".");b.main=x[0]||"",b.sub=x[1]||""}return b}function enableClassExtend(d,b){d.$constructor=d,d.extend=function(d){var b,x,T=this;return x=T,H.w(x)&&/^class\s/.test(Function.prototype.toString.call(x))?b=function(d){function class_1(){return d.apply(this,arguments)||this}return __extends(class_1,d),class_1}(T):(b=function(){(d.$constructor||T).apply(this,arguments)},H.s(b,this)),H.m(b.prototype,d),b.___EC__EXTENDED_CLASS___=!0,b.extend=this.extend,b.superCall=superCall,b.superApply=superApply,b.superClass=T,b}}function mountExtend(d,b){d.extend=b.extend}var di=Math.round(10*Math.random());function superCall(d,b){for(var x=[],T=2;T<arguments.length;T++)x[T-2]=arguments[T];return this.superClass.prototype[b].apply(d,x)}function superApply(d,b,x){return this.superClass.prototype[b].apply(d,x)}function enableClassManagement(d){var b={};d.registerClass=function(d){var x,T=d.type||d.prototype.type;if(T){x=T,H.b(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(x),'componentType "'+x+'" illegal'),d.prototype.type=T;var D=parseClassType(T);if(D.sub){if(D.sub!==ci){(function(d){var x=b[d.main];x&&x[ci]||((x=b[d.main]={})[ci]=!0);return x}(D))[D.sub]=d}}else b[D.main]=d}return d},d.getClass=function(d,x,T){var D=b[d];if(D&&D[ci]&&(D=x?D[x]:null),T&&!D)throw new Error(x?"Component "+d+"."+(x||"")+" is used but not imported.":d+".type should be specified.");return D},d.getClassesByMainType=function(d){var x=parseClassType(d),T=[],D=b[x.main];return D&&D[ci]?H.k(D,(function(d,b){b!==ci&&T.push(d)})):T.push(D),T},d.hasClass=function(d){var x=parseClassType(d);return!!b[x.main]},d.getAllClassMainTypes=function(){var d=[];return H.k(b,(function(b,x){d.push(x)})),d},d.hasSubTypes=function(d){var x=parseClassType(d),T=b[x.main];return T&&T[ci]}}function makeStyleMapper(d,b){for(var x=0;x<d.length;x++)d[x][1]||(d[x][1]=d[x][0]);return b=b||!1,function(x,T,D){for(var z={},W=0;W<d.length;W++){var U=d[W][1];if(!(T&&H.r(T,U)>=0||D&&H.r(D,U)<0)){var Y=x.getShallow(U,b);null!=Y&&(z[d[W][0]]=Y)}}return z}}var hi=makeStyleMapper([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),pi=function(){function AreaStyleMixin(){}return AreaStyleMixin.prototype.getAreaStyle=function(d,b){return hi(this,d,b)},AreaStyleMixin}(),fi=new jn.a(50);function findExistImage(d){if("string"==typeof d){var b=fi.get(d);return b&&b.image}return d}function createOrUpdateImage(d,b,x,T,D){if(d){if("string"==typeof d){if(b&&b.__zrImageSrc===d||!x)return b;var z=fi.get(d),H={hostEl:x,cb:T,cbPayload:D};return z?!isImageReady(b=z.image)&&z.pending.push(H):((b=Vn.d.loadImage(d,imageOnLoad,imageOnLoad)).__zrImageSrc=d,fi.put(d,b.__cachedImgObj={image:b,pending:[H]})),b}return d}return b}function imageOnLoad(){var d=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var b=0;b<d.pending.length;
vendor: 2,661 bytes, line 808
808b++){var x=d.pending[b],T=x.cb;T&&T(this,x.cbPayload),x.hostEl.dirty()}d.pending.length=0}function isImageReady(d){return d&&d.width&&d.height}var gi=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function truncateText2(d,b,x,T,D,z){if(!x)return d.text="",void(d.isTruncated=!1);var H=(b+"").split("\n");z=prepareTruncateOptions(x,T,D,z);for(var W=!1,U={},Y=0,Z=H.length;Y<Z;Y++)truncateSingleLine(U,H[Y],z),H[Y]=U.textLine,W=W||U.isTruncated;d.text=H.join("\n"),d.isTruncated=W}function prepareTruncateOptions(d,b,x,T){T=T||{};var D=Object(H.m)({},T);x=Object(H.P)(x,"..."),D.maxIterations=Object(H.P)(T.maxIterations,2);var z=D.minChar=Object(H.P)(T.minChar,0),W=D.fontMeasureInfo=ensureFontMeasureInfo(b),U=W.asciiCharWidth;D.placeholder=Object(H.P)(T.placeholder,"");for(var Y=d=Math.max(0,d-1),Z=0;Z<z&&Y>=U;Z++)Y-=U;var J=measureWidth(W,x);return J>Y&&(x="",J=0),Y=d-J,D.ellipsis=x,D.ellipsisWidth=J,D.contentWidth=Y,D.containerWidth=d,D}function truncateSingleLine(d,b,x){var T=x.containerWidth,D=x.contentWidth,z=x.fontMeasureInfo;if(!T)return d.textLine="",void(d.isTruncated=!1);var H=measureWidth(z,b);if(H<=T)return d.textLine=b,void(d.isTruncated=!1);for(var W=0;;W++){if(H<=D||W>=x.maxIterations){b+=x.ellipsis;break}var U=0===W?estimateLength(b,D,z):H>0?Math.floor(b.length*D/H):0;H=measureWidth(z,b=b.substr(0,U))}""===b&&(b=x.placeholder),d.textLine=b,d.isTruncated=!0}function estimateLength(d,b,x){for(var T=0,D=0,z=d.length;D<z&&T<b;D++)T+=measureCharWidth(x,d.charCodeAt(D));return D}var RichTextToken=function(){},RichTextLine=function(d){this.tokens=[],d&&(this.tokens=d)},RichTextContentBlock=function(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[],this.isTruncated=!1};function pushTokens(d,b,x,T,D){var z,H,W=""===b,U=D&&x.rich[D]||{},Y=d.lines,Z=U.font||x.font,J=!1;if(T){var ee=U.padding,te=ee?ee[1]+ee[3]:0;if(null!=U.width&&"auto"!==U.width){var ne=parsePercent(U.width,T.width)+te;Y.length>0&&ne+T.accumWidth>T.width&&(z=b.split("\n"),J=!0),T.accumWidth=ne}else{var ie=wrapText(b,Z,T.width,T.breakAll,T.accumWidth);T.accumWidth=ie.accumWidth+te,H=ie.linesWidths,z=ie.lines}}z||(z=b.split("\n"));for(var oe=ensureFontMeasureInfo(Z),se=0;se<z.length;se++){var le=z[se],ce=new RichTextToken;if(ce.styleName=D,ce.text=le,ce.isLineHolder=!le&&!W,"number"==typeof U.width?ce.width=U.width:ce.width=H?H[se]:measureWidth(oe,le),se||J)Y.push(new RichTextLine([ce]));else{var de=(Y[Y.length-1]||(Y[0]=new RichTextLine)).tokens,he=de.length;1===he&&de[0].isLineHolder?de[0]=ce:(le||!he||W)&&de.push(ce)}}}var mi=Object(H.N)(",&?/;] ".split(""),(function(d,b){return d[b]=!0,d}),{});
vendor: 4,438 bytes, line 808
808function isWordBreakChar(d){return!function(d){var b=d.charCodeAt(0);return b>=32&&b<=591||b>=880&&b<=4351||b>=4608&&b<=5119||b>=7680&&b<=8303}(d)||!!mi[d]}function wrapText(d,b,x,T,D){for(var z=[],H=[],W="",U="",Y=0,Z=0,J=ensureFontMeasureInfo(b),ee=0;ee<d.length;ee++){var te=d.charAt(ee);if("\n"!==te){var ne=measureCharWidth(J,te.charCodeAt(0)),ie=!T&&!isWordBreakChar(te);(z.length?Z+ne>x:D+Z+ne>x)?Z?(W||U)&&(ie?(W||(W=U,U="",Z=Y=0),z.push(W),H.push(Z-Y),U+=te,W="",Z=Y+=ne):(U&&(W+=U,U="",Y=0),z.push(W),H.push(Z),W=te,Z=ne)):ie?(z.push(U),H.push(Y),U=te,Y=ne):(z.push(te),H.push(ne)):(Z+=ne,ie?(U+=te,Y+=ne):(U&&(W+=U,U="",Y=0),W+=te))}else U&&(W+=U,Z+=Y),z.push(W),H.push(Z),W="",U="",Y=0,Z=0}return U&&(W+=U),W&&(z.push(W),H.push(Z)),1===z.length&&(Z+=D),{accumWidth:Z,lines:z,linesWidths:H}}function calcInnerTextOverflowArea(d,b,x,T,D,z){if(d.baseX=x,d.baseY=T,d.outerWidth=d.outerHeight=null,b){var H=2*b.width,W=2*b.height;Ee.set(yi,adjustTextX(x,H,D),adjustTextY(T,W,z),H,W),Ee.intersect(b,yi,null,vi);var U=vi.outIntersectRect;d.outerWidth=U.width,d.outerHeight=U.height,d.baseX=adjustTextX(U.x,U.width,D,!0),d.baseY=adjustTextY(U.y,U.height,z,!0)}}var yi=new Ee(0,0,0,0),vi={outIntersectRect:{},clamp:!0};function formatText(d){return null!=d?d+="":d=""}function tSpanCreateBoundingRect2(d,b,x,T){var D=new Ee(adjustTextX(d.x||0,b,d.textAlign),adjustTextY(d.y||0,x,d.textBaseline),b,x),z=null!=T?T:tSpanHasStroke(d)?d.lineWidth:0;return z>0&&(D.x-=z/2,D.y-=z/2,D.width+=z,D.height+=z),D}function tSpanHasStroke(d){var b=d.stroke;return null!=b&&"none"!==b&&d.lineWidth>0}var bi="__zr_style_"+Math.round(10*Math.random()),xi={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},_i={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};xi[bi]=!0;var wi=["z","z2","invisible"],Si=["invisible"],Mi=function(d){function Displayable(b){return d.call(this,b)||this}var b;return tslib_es6_extends(Displayable,d),Displayable.prototype._init=function(b){for(var x=Object(H.F)(b),T=0;T<x.length;T++){var D=x[T];"style"===D?this.useStyle(b[D]):d.prototype.attrKV.call(this,D,b[D])}this.style||this.useStyle({})},Displayable.prototype.beforeBrush=function(){},Displayable.prototype.afterBrush=function(){},Displayable.prototype.innerBeforeBrush=function(){},Displayable.prototype.innerAfterBrush=function(){},Displayable.prototype.shouldBePainted=function(d,b,x,T){var D=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&function(d,b,x){Ci.copy(d.getBoundingRect()),d.transform&&Ci.applyTransform(d.transform);return Ti.width=b,Ti.height=x,!Ci.intersect(Ti)}(this,d,b)||D&&!D[0]&&!D[3])return!1;if(x&&this.__clipPaths&&this.__clipPaths.length)for(var z=0;z<this.__clipPaths.length;++z)if(this.__clipPaths[z].isZeroArea())return!1;if(T&&this.parent)for(var H=this.parent;H;){if(H.ignore)return!1;H=H.parent}return!0},Displayable.prototype.contain=function(d,b){return this.rectContain(d,b)},Displayable.prototype.traverse=function(d,b){d.call(b,this)},Displayable.prototype.rectContain=function(d,b){var x=this.transformCoordToLocal(d,b);return this.getBoundingRect().contain(x[0],x[1])},Displayable.prototype.getPaintRect=function(){var d=this._paintRect;if(!this._paintRect||this.__dirty){var b=this.transform,x=this.getBoundingRect(),T=this.style,D=T.shadowBlur||0,z=T.shadowOffsetX||0,H=T.shadowOffsetY||0;d=this._paintRect||(this._paintRect=new Ee(0,0,0,0)),b?Ee.applyTransform(d,x,b):d.copy(x),(D||z||H)&&(d.width+=2*D+Math.abs(z),d.height+=2*D+Math.abs(H),d.x=Math.min(d.x,d.x+z-D),d.y=Math.min(d.y,d.y+H-D));var W=this.dirtyRectTolerance;d.isZero()||(d.x=Math.floor(d.x-W),d.y=Math.floor(d.y-W),d.width=Math.ceil(d.width+1+2*W),d.height=Math.ceil(d.height+1+2*W))}return d},Displayable.prototype.setPrevPaintRect=function(d){d?(this._prevPaintRect=this._prevPaintRect||new Ee(0,0,0,0),this._prevPaintRect.copy(d)):this._prevPaintRect=null},Displayable.prototype.getPrevPaintRect=function(){return this._prevPaintRect},Displayable.prototype.animateStyle=function(d){return this.animate("style",d)},Displayable.prototype.updateDuringAnimation=function(d){"style"===d?this.dirtyStyle():this.markRedraw()},Displayable.prototype.attrKV=function(b,x){"style"!==b?d.prototype.attrKV.call(this,b,x):this.style?this.setStyle(x):this.useStyle(x)},Displayable.prototype.setStyle=function(d,b){return"string"==typeof d?this.style[d
vendor: 4,214 bytes, line 808
808]=b:Object(H.m)(this.style,d),this.dirtyStyle(),this},Displayable.prototype.dirtyStyle=function(d){d||this.markRedraw(),this.__dirty|=2,this._rect&&(this._rect=null)},Displayable.prototype.dirty=function(){this.dirtyStyle()},Displayable.prototype.styleChanged=function(){return!!(2&this.__dirty)},Displayable.prototype.styleUpdated=function(){this.__dirty&=-3},Displayable.prototype.createStyle=function(d){return Object(H.g)(xi,d)},Displayable.prototype.useStyle=function(d){d[bi]||(d=this.createStyle(d)),this.__inHover?this.__hoverStyle=d:this.style=d,this.dirtyStyle()},Displayable.prototype.isStyleObject=function(d){return d[bi]},Displayable.prototype._innerSaveToNormal=function(b){d.prototype._innerSaveToNormal.call(this,b);var x=this._normalState;b.style&&!x.style&&(x.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(b,x,wi)},Displayable.prototype._applyStateObj=function(b,x,T,D,z,W){d.prototype._applyStateObj.call(this,b,x,T,D,z,W);var U,Y=!(x&&D);if(x&&x.style?z?D?U=x.style:(U=this._mergeStyle(this.createStyle(),T.style),this._mergeStyle(U,x.style)):(U=this._mergeStyle(this.createStyle(),D?this.style:T.style),this._mergeStyle(U,x.style)):Y&&(U=T.style),U)if(z){var Z=this.style;if(this.style=this.createStyle(Y?{}:Z),Y)for(var J=Object(H.F)(Z),ee=0;ee<J.length;ee++){(ne=J[ee])in U&&(U[ne]=U[ne],this.style[ne]=Z[ne])}var te=Object(H.F)(U);for(ee=0;ee<te.length;ee++){var ne=te[ee];this.style[ne]=this.style[ne]}this._transitionState(b,{style:U},W,this.getAnimationStyleProps())}else this.useStyle(U);var ie=this.__inHover?Si:wi;for(ee=0;ee<ie.length;ee++){ne=ie[ee];x&&null!=x[ne]?this[ne]=x[ne]:Y&&null!=T[ne]&&(this[ne]=T[ne])}},Displayable.prototype._mergeStates=function(b){for(var x,T=d.prototype._mergeStates.call(this,b),D=0;D<b.length;D++){var z=b[D];z.style&&(x=x||{},this._mergeStyle(x,z.style))}return x&&(T.style=x),T},Displayable.prototype._mergeStyle=function(d,b){return Object(H.m)(d,b),d},Displayable.prototype.getAnimationStyleProps=function(){return _i},Displayable.initDefaultProps=((b=Displayable.prototype).type="displayable",b.invisible=!1,b.z=0,b.z2=0,b.zlevel=0,b.culling=!1,b.cursor="pointer",b.rectHover=!1,b.incremental=!1,b._rect=null,b.dirtyRectTolerance=0,void(b.__dirty=3)),Displayable}(qn),Ci=new Ee(0,0,0,0),Ti=new Ee(0,0,0,0);var ki=Mi,Ai=Math.min,Pi=Math.max,Oi=Math.sin,Ii=Math.cos,Di=2*Math.PI,Ei=vector_create(),Li=vector_create(),Ri=vector_create();function fromPoints(d,b,x){if(0!==d.length){for(var T=d[0],D=T[0],z=T[0],H=T[1],W=T[1],U=1;U<d.length;U++)T=d[U],D=Ai(D,T[0]),z=Pi(z,T[0]),H=Ai(H,T[1]),W=Pi(W,T[1]);b[0]=D,b[1]=H,x[0]=z,x[1]=W}}function fromLine(d,b,x,T,D,z){D[0]=Ai(d,x),D[1]=Ai(b,T),z[0]=Pi(d,x),z[1]=Pi(b,T)}var Bi=[],Ni=[];function fromCubic(d,b,x,T,D,z,H,W,U,Y){var Z=curve_cubicExtrema,J=curve_cubicAt,ee=Z(d,x,D,H,Bi);U[0]=1/0,U[1]=1/0,Y[0]=-1/0,Y[1]=-1/0;for(var te=0;te<ee;te++){var ne=J(d,x,D,H,Bi[te]);U[0]=Ai(ne,U[0]),Y[0]=Pi(ne,Y[0])}ee=Z(b,T,z,W,Ni);for(te=0;te<ee;te++){var ie=J(b,T,z,W,Ni[te]);U[1]=Ai(ie,U[1]),Y[1]=Pi(ie,Y[1])}U[0]=Ai(d,U[0]),Y[0]=Pi(d,Y[0]),U[0]=Ai(H,U[0]),Y[0]=Pi(H,Y[0]),U[1]=Ai(b,U[1]),Y[1]=Pi(b,Y[1]),U[1]=Ai(W,U[1]),Y[1]=Pi(W,Y[1])}function fromQuadratic(d,b,x,T,D,z,H,W){var U=curve_quadraticExtremum,Y=curve_quadraticAt,Z=Pi(Ai(U(d,x,D),1),0),J=Pi(Ai(U(b,T,z),1),0),ee=Y(d,x,D,Z),te=Y(b,T,z,J);H[0]=Ai(d,D,ee),H[1]=Ai(b,z,te),W[0]=Pi(d,D,ee),W[1]=Pi(b,z,te)}function fromArc(d,b,x,T,D,z,H,W,U){var Y=vector_min,Z=vector_max,J=Math.abs(D-z);if(J%Di<1e-4&&J>1e-4)return W[0]=d-x,W[1]=b-T,U[0]=d+x,void(U[1]=b+T);if(Ei[0]=Ii(D)*x+d,Ei[1]=Oi(D)*T+b,Li[0]=Ii(z)*x+d,Li[1]=Oi(z)*T+b,Y(W,Ei,Li),Z(U,Ei,Li),(D%=Di)<0&&(D+=Di),(z%=Di)<0&&(z+=Di),D>z&&!H?z+=Di:D<z&&H&&(D+=Di),H){var ee=z;z=D,D=ee}for(var te=0;te<z;te+=Math.PI/2)te>D&&(Ri[0]=Ii(te)*x+d,Ri[1]=Oi(te)*T+b,Y(W,Ri,W),Z(U,Ri,U))}var ji={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},Vi=[],zi=[],Fi=[],Hi=[],Gi=[],$i=[],Wi=Math.min,Ui=Math.max,Yi=Math.cos,qi=Math.sin,Zi=Math.abs,Xi=Math.PI,Ki=2*Xi,Ji="undefined"!=typeof Float32Array,Qi=[];function modPI2(d){return Math.round(d/Xi*1e8)/1e8%2*Xi}function normalizeArcAngles(d,b){var x=modPI2(d[0]);x<0&&(x+=Ki);var T=x-d[0],D=d[1];D+=T,!b&&D-x>=Ki?D=x+Ki:b&&x-D>=Ki?D=x-Ki:!b&&x>
vendor: 4,668 bytes, line 808
808D?D=x+(Ki-modPI2(x-D)):b&&x<D&&(D=x-(Ki-modPI2(D-x))),d[0]=x,d[1]=D}var er=function(){function PathProxy(d){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,d&&(this._saveData=!1),this._saveData&&(this.data=[])}var d;return PathProxy.prototype.increaseVersion=function(){this._version++},PathProxy.prototype.getVersion=function(){return this._version},PathProxy.prototype.setScale=function(d,b,x){(x=x||0)>0&&(this._ux=Zi(x/An/d)||0,this._uy=Zi(x/An/b)||0)},PathProxy.prototype.setDPR=function(d){this.dpr=d},PathProxy.prototype.setContext=function(d){this._ctx=d},PathProxy.prototype.getContext=function(){return this._ctx},PathProxy.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},PathProxy.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},PathProxy.prototype.moveTo=function(d,b){return this._drawPendingPt(),this.addData(ji.M,d,b),this._ctx&&this._ctx.moveTo(d,b),this._x0=d,this._y0=b,this._xi=d,this._yi=b,this},PathProxy.prototype.lineTo=function(d,b){var x=Zi(d-this._xi),T=Zi(b-this._yi),D=x>this._ux||T>this._uy;if(this.addData(ji.L,d,b),this._ctx&&D&&this._ctx.lineTo(d,b),D)this._xi=d,this._yi=b,this._pendingPtDist=0;else{var z=x*x+T*T;z>this._pendingPtDist&&(this._pendingPtX=d,this._pendingPtY=b,this._pendingPtDist=z)}return this},PathProxy.prototype.bezierCurveTo=function(d,b,x,T,D,z){return this._drawPendingPt(),this.addData(ji.C,d,b,x,T,D,z),this._ctx&&this._ctx.bezierCurveTo(d,b,x,T,D,z),this._xi=D,this._yi=z,this},PathProxy.prototype.quadraticCurveTo=function(d,b,x,T){return this._drawPendingPt(),this.addData(ji.Q,d,b,x,T),this._ctx&&this._ctx.quadraticCurveTo(d,b,x,T),this._xi=x,this._yi=T,this},PathProxy.prototype.arc=function(d,b,x,T,D,z){this._drawPendingPt(),Qi[0]=T,Qi[1]=D,normalizeArcAngles(Qi,z),T=Qi[0];var H=(D=Qi[1])-T;return this.addData(ji.A,d,b,x,x,T,H,0,z?0:1),this._ctx&&this._ctx.arc(d,b,x,T,D,z),this._xi=Yi(D)*x+d,this._yi=qi(D)*x+b,this},PathProxy.prototype.arcTo=function(d,b,x,T,D){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(d,b,x,T,D),this},PathProxy.prototype.rect=function(d,b,x,T){return this._drawPendingPt(),this._ctx&&this._ctx.rect(d,b,x,T),this.addData(ji.R,d,b,x,T),this},PathProxy.prototype.closePath=function(){this._drawPendingPt(),this.addData(ji.Z);var d=this._ctx,b=this._x0,x=this._y0;return d&&d.closePath(),this._xi=b,this._yi=x,this},PathProxy.prototype.fill=function(d){d&&d.fill(),this.toStatic()},PathProxy.prototype.stroke=function(d){d&&d.stroke(),this.toStatic()},PathProxy.prototype.len=function(){return this._len},PathProxy.prototype.setData=function(d){if(this._saveData){var b=d.length;this.data&&this.data.length===b||!Ji||(this.data=new Float32Array(b));for(var x=0;x<b;x++)this.data[x]=d[x];this._len=b}},PathProxy.prototype.appendPath=function(d){if(this._saveData){d instanceof Array||(d=[d]);for(var b=d.length,x=0,T=this._len,D=0;D<b;D++)x+=d[D].len();var z=this.data;if(Ji&&(z instanceof Float32Array||!z)&&(this.data=new Float32Array(T+x),T>0&&z))for(var H=0;H<T;H++)this.data[H]=z[H];for(D=0;D<b;D++){var W=d[D].data;for(H=0;H<W.length;H++)this.data[T++]=W[H]}this._len=T}},PathProxy.prototype.addData=function(d,b,x,T,D,z,H,W,U){if(this._saveData){var Y=this.data;this._len+arguments.length>Y.length&&(this._expandData(),Y=this.data);for(var Z=0;Z<arguments.length;Z++)Y[this._len++]=arguments[Z]}},PathProxy.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},PathProxy.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var d=[],b=0;b<this._len;b++)d[b]=this.data[b];this.data=d}},PathProxy.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var d=this.data;d instanceof Array&&(d.length=this._len,Ji&&this._len>11&&(this.data=new Float32Array(d)))}},PathProxy.prototype.getBoundingRect=function(){Fi[0]=Fi[1]=Gi[0]=Gi[1]=Number.MAX_VALUE,Hi[0]=Hi[1]=$i[0]=$i[1]=-Number.MAX_VALUE;var d,b=this.data,x=0,T=0,D=0,z=0;for(d=0;d<this._len;){var H=b[d++],W=1===d;switch(W&&(D=x=b[d],z=T=b[d+1]),H){case ji.M:x=D=b[d++],T=z=b[d++],Gi[0]=D,Gi[1]=z,$i[0]=D,$i[1]=z;break;case ji.L:fromLine(x,T,b[d],b[d+1],Gi,$i),x=b[d++],T=b[d++];break;case ji.C:fromCubic(x,T,b[d++],b[d++],b[d++],b[d++],b[d],b[d+1],Gi,$i),x=b[d++],T=b[d++];break;case ji.Q:fromQuadratic(x,T,b[d++],b[d++],b[d],b[d+1],Gi,$i),x=b[d++],T=b[d++];break;case ji.A:var U=b[d++],Y=b[d++],Z=b[d++],J=b[d++],ee=b[d++],te=b[d++]+ee;d+=1;var ne=!b[d++];W&&(D=Yi(ee)*Z+U,z=qi(ee)*J+Y),fromArc(U,Y,Z,J,ee,te,ne,Gi,$i),x=Yi(te)*Z+U,T=q
vendor: 4,679 bytes, line 808
808i(te)*J+Y;break;case ji.R:fromLine(D=x=b[d++],z=T=b[d++],D+b[d++],z+b[d++],Gi,$i);break;case ji.Z:x=D,T=z}vector_min(Fi,Fi,Gi),vector_max(Hi,Hi,$i)}return 0===d&&(Fi[0]=Fi[1]=Hi[0]=Hi[1]=0),new Ee(Fi[0],Fi[1],Hi[0]-Fi[0],Hi[1]-Fi[1])},PathProxy.prototype._calculateLength=function(){var d=this.data,b=this._len,x=this._ux,T=this._uy,D=0,z=0,H=0,W=0;this._pathSegLen||(this._pathSegLen=[]);for(var U=this._pathSegLen,Y=0,Z=0,J=0;J<b;){var ee=d[J++],te=1===J;te&&(H=D=d[J],W=z=d[J+1]);var ne=-1;switch(ee){case ji.M:D=H=d[J++],z=W=d[J++];break;case ji.L:var ie=d[J++],oe=(ce=d[J++])-z;(Zi(_e=ie-D)>x||Zi(oe)>T||J===b-1)&&(ne=Math.sqrt(_e*_e+oe*oe),D=ie,z=ce);break;case ji.C:var se=d[J++],le=d[J++],ce=(ie=d[J++],d[J++]),de=d[J++],he=d[J++];ne=cubicLength(D,z,se,le,ie,ce,de,he,10),D=de,z=he;break;case ji.Q:ne=quadraticLength(D,z,se=d[J++],le=d[J++],ie=d[J++],ce=d[J++],10),D=ie,z=ce;break;case ji.A:var pe=d[J++],fe=d[J++],ge=d[J++],me=d[J++],ye=d[J++],ve=d[J++],xe=ve+ye;J+=1,te&&(H=Yi(ye)*ge+pe,W=qi(ye)*me+fe),ne=Ui(ge,me)*Wi(Ki,Math.abs(ve)),D=Yi(xe)*ge+pe,z=qi(xe)*me+fe;break;case ji.R:H=D=d[J++],W=z=d[J++],ne=2*d[J++]+2*d[J++];break;case ji.Z:var _e=H-D;oe=W-z;ne=Math.sqrt(_e*_e+oe*oe),D=H,z=W}ne>=0&&(U[Z++]=ne,Y+=ne)}return this._pathLen=Y,Y},PathProxy.prototype.rebuildPath=function(d,b){var x,T,D,z,H,W,U,Y,Z,J,ee=this.data,te=this._ux,ne=this._uy,ie=this._len,oe=b<1,se=0,le=0,ce=0;if(!oe||(this._pathSegLen||this._calculateLength(),U=this._pathSegLen,Y=b*this._pathLen))e:for(var de=0;de<ie;){var he=ee[de++],pe=1===de;switch(pe&&(x=D=ee[de],T=z=ee[de+1]),he!==ji.L&&ce>0&&(d.lineTo(Z,J),ce=0),he){case ji.M:x=D=ee[de++],T=z=ee[de++],d.moveTo(D,z);break;case ji.L:H=ee[de++],W=ee[de++];var fe=Zi(H-D),ge=Zi(W-z);if(fe>te||ge>ne){if(oe){if(se+(nt=U[le++])>Y){var me=(Y-se)/nt;d.lineTo(D*(1-me)+H*me,z*(1-me)+W*me);break e}se+=nt}d.lineTo(H,W),D=H,z=W,ce=0}else{var ye=fe*fe+ge*ge;ye>ce&&(Z=H,J=W,ce=ye)}break;case ji.C:var ve=ee[de++],xe=ee[de++],_e=ee[de++],we=ee[de++],Se=ee[de++],Me=ee[de++];if(oe){if(se+(nt=U[le++])>Y){cubicSubdivide(D,ve,_e,Se,me=(Y-se)/nt,Vi),cubicSubdivide(z,xe,we,Me,me,zi),d.bezierCurveTo(Vi[1],zi[1],Vi[2],zi[2],Vi[3],zi[3]);break e}se+=nt}d.bezierCurveTo(ve,xe,_e,we,Se,Me),D=Se,z=Me;break;case ji.Q:ve=ee[de++],xe=ee[de++],_e=ee[de++],we=ee[de++];if(oe){if(se+(nt=U[le++])>Y){curve_quadraticSubdivide(D,ve,_e,me=(Y-se)/nt,Vi),curve_quadraticSubdivide(z,xe,we,me,zi),d.quadraticCurveTo(Vi[1],zi[1],Vi[2],zi[2]);break e}se+=nt}d.quadraticCurveTo(ve,xe,_e,we),D=_e,z=we;break;case ji.A:var Te=ee[de++],ke=ee[de++],Pe=ee[de++],Ee=ee[de++],Le=ee[de++],Ne=ee[de++],Ve=ee[de++],Fe=!ee[de++],Ge=Pe>Ee?Pe:Ee,Ye=Zi(Pe-Ee)>.001,Xe=Le+Ne,Ke=!1;if(oe)se+(nt=U[le++])>Y&&(Xe=Le+Ne*(Y-se)/nt,Ke=!0),se+=nt;if(Ye&&d.ellipse?d.ellipse(Te,ke,Pe,Ee,Ve,Le,Xe,Fe):d.arc(Te,ke,Ge,Le,Xe,Fe),Ke)break e;pe&&(x=Yi(Le)*Pe+Te,T=qi(Le)*Ee+ke),D=Yi(Xe)*Pe+Te,z=qi(Xe)*Ee+ke;break;case ji.R:x=D=ee[de],T=z=ee[de+1],H=ee[de++],W=ee[de++];var Qe=ee[de++],et=ee[de++];if(oe){if(se+(nt=U[le++])>Y){var tt=Y-se;d.moveTo(H,W),d.lineTo(H+Wi(tt,Qe),W),(tt-=Qe)>0&&d.lineTo(H+Qe,W+Wi(tt,et)),(tt-=et)>0&&d.lineTo(H+Ui(Qe-tt,0),W+et),(tt-=Qe)>0&&d.lineTo(H,W+Ui(et-tt,0));break e}se+=nt}d.rect(H,W,Qe,et);break;case ji.Z:if(oe){var nt;if(se+(nt=U[le++])>Y){me=(Y-se)/nt;d.lineTo(D*(1-me)+x*me,z*(1-me)+T*me);break e}se+=nt}d.closePath(),D=x,z=T}}},PathProxy.prototype.clone=function(){var d=new PathProxy,b=this.data;return d.data=b.slice?b.slice():Array.prototype.slice.call(b),d._len=this._len,d},PathProxy.prototype.canSave=function(){return!!this._saveData},PathProxy.CMD=ji,PathProxy.initDefaultProps=((d=PathProxy.prototype)._saveData=!0,d._ux=0,d._uy=0,d._pendingPtDist=0,void(d._version=0)),PathProxy}();function containStroke(d,b,x,T,D,z,H){if(0===D)return!1;var W=D,U=0;if(H>b+W&&H>T+W||H<b-W&&H<T-W||z>d+W&&z>x+W||z<d-W&&z<x-W)return!1;if(d===x)return Math.abs(z-d)<=W/2;var Y=(U=(b-T)/(d-x))*z-H+(d*T-x*b)/(d-x);return Y*Y/(U*U+1)<=W/2*W/2}function cubic_containStroke(d,b,x,T,D,z,H,W,U,Y,Z){if(0===U)return!1;var J=U;return!(Z>b+J&&Z>T+J&&Z>z+J&&Z>W+J||Z<b-J&&Z<T-J&&Z<z-J&&Z<W-J||Y>d+J&&Y>x+J&&Y>D+J&&Y>H+J||Y<d-J&&Y<x-J&&Y<D-J&&Y<H-J)&&cubicProjectPoint(d,b,x,T,D,z,H,W,Y,Z,null)<=J/2}function quadratic_containStroke(d,b,x,T,D,z,H,W,U){if(0===H)return!1;var Y=H;return!(U>b+Y&&U>T+Y&&U>z+Y||U<b-Y&&U<T-Y&&U<z-Y||W>d+Y&&W>x+Y&&W>D+Y||W<d-Y&&W<x-Y&&W<D-Y)&&quadraticProjectPoint(d,b,x,T,D,z,W,U,null)<=Y/2}var tr=2*Math.PI;function normalizeRadian(d){return(d%=tr)<0&&(d+=tr),d}var nr=2*Math.PI;function arc_containStroke(d,b,x,T,D,z,H,W,U){if(0===H)return!1;var Y=H;W-=d,U-=b;var Z=Math.sqrt(W*W+U*U);if(Z-Y>x||Z+Y<x)return!1;if(Math.abs(T-D)%nr<1e-4)return!0;
vendor: 6,847 bytes, line 808
808if(z){var J=T;T=normalizeRadian(D),D=normalizeRadian(J)}else T=normalizeRadian(T),D=normalizeRadian(D);T>D&&(D+=nr);var ee=Math.atan2(U,W);return ee<0&&(ee+=nr),ee>=T&&ee<=D||ee+nr>=T&&ee+nr<=D}function windingLine(d,b,x,T,D,z){if(z>b&&z>T||z<b&&z<T)return 0;if(T===b)return 0;var H=(z-b)/(T-b),W=T<b?1:-1;1!==H&&0!==H||(W=T<b?.5:-.5);var U=H*(x-d)+d;return U===D?1/0:U>D?W:0}var ir=er.CMD,rr=2*Math.PI;var or=[-1,-1,-1],ar=[-1,-1];function windingCubic(d,b,x,T,D,z,H,W,U,Y){if(Y>b&&Y>T&&Y>z&&Y>W||Y<b&&Y<T&&Y<z&&Y<W)return 0;var Z,J=cubicRootAt(b,T,z,W,Y,or);if(0===J)return 0;for(var ee=0,te=-1,ne=void 0,ie=void 0,oe=0;oe<J;oe++){var se=or[oe],le=0===se||1===se?.5:1;curve_cubicAt(d,x,D,H,se)<U||(te<0&&(te=curve_cubicExtrema(b,T,z,W,ar),ar[1]<ar[0]&&te>1&&(Z=void 0,Z=ar[0],ar[0]=ar[1],ar[1]=Z),ne=curve_cubicAt(b,T,z,W,ar[0]),te>1&&(ie=curve_cubicAt(b,T,z,W,ar[1]))),2===te?se<ar[0]?ee+=ne<b?le:-le:se<ar[1]?ee+=ie<ne?le:-le:ee+=W<ie?le:-le:se<ar[0]?ee+=ne<b?le:-le:ee+=W<ne?le:-le)}return ee}function windingQuadratic(d,b,x,T,D,z,H,W){if(W>b&&W>T&&W>z||W<b&&W<T&&W<z)return 0;var U=function(d,b,x,T,D){var z=d-2*b+x,H=2*(b-d),W=d-T,U=0;if(isAroundZero(z)){if(isNotAroundZero(H))(Z=-W/H)>=0&&Z<=1&&(D[U++]=Z)}else{var Y=H*H-4*z*W;if(isAroundZero(Y))(Z=-H/(2*z))>=0&&Z<=1&&(D[U++]=Z);else if(Y>0){var Z,J=nt(Y),ee=(-H-J)/(2*z);(Z=(-H+J)/(2*z))>=0&&Z<=1&&(D[U++]=Z),ee>=0&&ee<=1&&(D[U++]=ee)}}return U}(b,T,z,W,or);if(0===U)return 0;var Y=curve_quadraticExtremum(b,T,z);if(Y>=0&&Y<=1){for(var Z=0,J=curve_quadraticAt(b,T,z,Y),ee=0;ee<U;ee++){var te=0===or[ee]||1===or[ee]?.5:1;curve_quadraticAt(d,x,D,or[ee])<H||(or[ee]<Y?Z+=J<b?te:-te:Z+=z<J?te:-te)}return Z}te=0===or[0]||1===or[0]?.5:1;return curve_quadraticAt(d,x,D,or[0])<H?0:z<b?te:-te}function windingArc(d,b,x,T,D,z,H,W){if((W-=b)>x||W<-x)return 0;var U=Math.sqrt(x*x-W*W);or[0]=-U,or[1]=U;var Y=Math.abs(T-D);if(Y<1e-4)return 0;if(Y>=rr-1e-4){T=0,D=rr;var Z=z?1:-1;return H>=or[0]+d&&H<=or[1]+d?Z:0}if(T>D){var J=T;T=D,D=J}T<0&&(T+=rr,D+=rr);for(var ee=0,te=0;te<2;te++){var ne=or[te];if(ne+d>H){var ie=Math.atan2(W,ne);Z=z?1:-1;ie<0&&(ie=rr+ie),(ie>=T&&ie<=D||ie+rr>=T&&ie+rr<=D)&&(ie>Math.PI/2&&ie<1.5*Math.PI&&(Z=-Z),ee+=Z)}}return ee}function containPath(d,b,x,T,D){for(var z,H,W,U,Y=d.data,Z=d.len(),J=0,ee=0,te=0,ne=0,ie=0,oe=0;oe<Z;){var se=Y[oe++],le=1===oe;switch(se===ir.M&&oe>1&&(x||(J+=windingLine(ee,te,ne,ie,T,D))),le&&(ne=ee=Y[oe],ie=te=Y[oe+1]),se){case ir.M:ee=ne=Y[oe++],te=ie=Y[oe++];break;case ir.L:if(x){if(containStroke(ee,te,Y[oe],Y[oe+1],b,T,D))return!0}else J+=windingLine(ee,te,Y[oe],Y[oe+1],T,D)||0;ee=Y[oe++],te=Y[oe++];break;case ir.C:if(x){if(cubic_containStroke(ee,te,Y[oe++],Y[oe++],Y[oe++],Y[oe++],Y[oe],Y[oe+1],b,T,D))return!0}else J+=windingCubic(ee,te,Y[oe++],Y[oe++],Y[oe++],Y[oe++],Y[oe],Y[oe+1],T,D)||0;ee=Y[oe++],te=Y[oe++];break;case ir.Q:if(x){if(quadratic_containStroke(ee,te,Y[oe++],Y[oe++],Y[oe],Y[oe+1],b,T,D))return!0}else J+=windingQuadratic(ee,te,Y[oe++],Y[oe++],Y[oe],Y[oe+1],T,D)||0;ee=Y[oe++],te=Y[oe++];break;case ir.A:var ce=Y[oe++],de=Y[oe++],he=Y[oe++],pe=Y[oe++],fe=Y[oe++],ge=Y[oe++];oe+=1;var me=!!(1-Y[oe++]);z=Math.cos(fe)*he+ce,H=Math.sin(fe)*pe+de,le?(ne=z,ie=H):J+=windingLine(ee,te,z,H,T,D);var ye=(T-ce)*pe/he+ce;if(x){if(arc_containStroke(ce,de,pe,fe,fe+ge,me,b,ye,D))return!0}else J+=windingArc(ce,de,pe,fe,fe+ge,me,ye,D);ee=Math.cos(fe+ge)*he+ce,te=Math.sin(fe+ge)*pe+de;break;case ir.R:if(ne=ee=Y[oe++],ie=te=Y[oe++],z=ne+Y[oe++],H=ie+Y[oe++],x){if(containStroke(ne,ie,z,ie,b,T,D)||containStroke(z,ie,z,H,b,T,D)||containStroke(z,H,ne,H,b,T,D)||containStroke(ne,H,ne,ie,b,T,D))return!0}else J+=windingLine(z,ie,z,H,T,D),J+=windingLine(ne,H,ne,ie,T,D);break;case ir.Z:if(x){if(containStroke(ee,te,ne,ie,b,T,D))return!0}else J+=windingLine(ee,te,ne,ie,T,D);ee=ne,te=ie}}return x||(W=te,U=ie,Math.abs(W-U)<1e-4)||(J+=windingLine(ee,te,ne,ie,T,D)||0),0!==J}function Path_typeof(d){return(Path_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}var sr=Object(H.i)({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},xi),lr={style:Object(H.i)({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},_i.style)},ur=Rn.concat(["invisible","culling","z","z2","zlevel","parent"]),cr=function(d){function Path(b){return d.call(this,b)||this}var b;return tslib_es6_extends(Path,d),Path.prototype.update=function(){var b=this;d.prototype.update.call(this);var x=this.style;if(x.decal){var T=this._decalEl=this._decalEl||new Path;T.buildPath===Path.prototype.buildPath&&(T.buildPath=function(d){b.buildPath(d,b.shape)}),T.silent=!0;var D=T.style;for(var z in x)D[z]!==x[z]&&(D[z]=x[z]);D.fill=x.fill?x.decal:null,D.decal=null,D.shadowColor=null,x.strokeFirst&&(D.stroke=null);for(var H=0;H<ur.length;++H)T[ur[H]]=this[ur[H]];T.__dirty|=1}else this._decalEl&&(this._decalEl=null)},Path.prototype.getDecalElement=function(){return this._decalEl},Path.prototype._init=function(b){var x=Object(H.F)(b);this.shape=this.getDefaultShape();var T=this.getDefaultStyle();T&&this.useStyle(T);for(var D=0;D<x.length;D++){var z=x[D],W=b[z];"style"===z?this.style?Object(H.m)(this.style,W):this.useStyle(W):"shape"===z?Object(H.m)(this.shape,W):d.prototype.attrKV.call(this,z,W)}this.style||this.useStyle({})},Path.prototype.getDefaultStyle=function(){return null},Path.prototype.getDefaultShape=function(){return{}},Path.prototype.canBeInsideText=function(){return this.hasFill()},Path.prototype.getInsideTextFill=function(){var d=this.style.fill;if("none"!==d){if(Object(H.C)(d)){var b=Object(yt.e)(d,0);return b>.5?"#333":b>.2?"#eee":"#ccc"}if(d)return"#ccc"}return"#333"},Path.prototype.getInsideTextStroke=function(d){var b=this.style.fill;if(Object(H.C)(b)){var x=this.__zr;if(!(!x||!x.isDarkMode())===Object(yt.e)(d,0)<.4)return b}},Path.prototype.buildPath=function(d,b,x){},Path.prototype.pathUpdated=function(){this.__dirty&=-5},Path.prototype.getUpdatedPathProxy=function(d){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,d),this.path},Path.prototype.createPathProxy=function(){this.path=new er(!1)},Path.prototype.hasStroke=function(){var d=this.style,b=d.stroke;return!(null==b||"none"===b||!(d.lineWidth>0))},Path.prototype.hasFill=function(){var d=this.style.fill;return null!=d&&"none"!==d},Path.prototype.getBoundingRect=function(){var d=this._rect,b=this.style,x=!d;if(x){var T=!1;this.path||(T=!0,this.createPathProxy());var D=this.path;(T||4&this.__dirty)&&(D.beginPath(),this.buildPath(D,this.shape,!1),this.pathUpdated()),d=D.getBoundingRect
vendor: 11,326 bytes, line 808
808()}if(this._rect=d,this.hasStroke()&&this.path&&this.path.len()>0){var z=this._rectStroke||(this._rectStroke=d.clone());if(this.__dirty||x){z.copy(d);var H=b.strokeNoScale?this.getLineScale():1,W=b.lineWidth;if(!this.hasFill()){var U=this.strokeContainThreshold;W=Math.max(W,null==U?4:U)}H>1e-10&&(z.width+=W/H,z.height+=W/H,z.x-=W/H/2,z.y-=W/H/2)}return z}return d},Path.prototype.contain=function(d,b){var x=this.transformCoordToLocal(d,b),T=this.getBoundingRect(),D=this.style;if(d=x[0],b=x[1],T.contain(d,b)){var z=this.path;if(this.hasStroke()){var H=D.lineWidth,W=D.strokeNoScale?this.getLineScale():1;if(W>1e-10&&(this.hasFill()||(H=Math.max(H,this.strokeContainThreshold)),function(d,b,x,T){return containPath(d,b,!0,x,T)}(z,H/W,d,b)))return!0}if(this.hasFill())return function(d,b,x){return containPath(d,0,!1,b,x)}(z,d,b)}return!1},Path.prototype.dirtyShape=function(){this.__dirty|=4,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},Path.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},Path.prototype.animateShape=function(d){return this.animate("shape",d)},Path.prototype.updateDuringAnimation=function(d){"style"===d?this.dirtyStyle():"shape"===d?this.dirtyShape():this.markRedraw()},Path.prototype.attrKV=function(b,x){"shape"===b?this.setShape(x):d.prototype.attrKV.call(this,b,x)},Path.prototype.setShape=function(d,b){var x=this.shape;return x||(x=this.shape={}),"string"==typeof d?x[d]=b:Object(H.m)(x,d),this.dirtyShape(),this},Path.prototype.shapeChanged=function(){return!!(4&this.__dirty)},Path.prototype.createStyle=function(d){return Object(H.g)(sr,d)},Path.prototype._innerSaveToNormal=function(b){d.prototype._innerSaveToNormal.call(this,b);var x=this._normalState;b.shape&&!x.shape&&(x.shape=Object(H.m)({},this.shape))},Path.prototype._applyStateObj=function(b,x,T,D,z,W){d.prototype._applyStateObj.call(this,b,x,T,D,z,W);var U,Y=!(x&&D);if(x&&x.shape?z?D?U=x.shape:(U=Object(H.m)({},T.shape),Object(H.m)(U,x.shape)):(U=Object(H.m)({},D?this.shape:T.shape),Object(H.m)(U,x.shape)):Y&&(U=T.shape),U)if(z){this.shape=Object(H.m)({},this.shape);for(var Z={},J=Object(H.F)(U),ee=0;ee<J.length;ee++){var te=J[ee];"object"===Path_typeof(U[te])?this.shape[te]=U[te]:Z[te]=U[te]}this._transitionState(b,{shape:Z},W)}else this.shape=U,this.dirtyShape()},Path.prototype._mergeStates=function(b){for(var x,T=d.prototype._mergeStates.call(this,b),D=0;D<b.length;D++){var z=b[D];z.shape&&(x=x||{},this._mergeStyle(x,z.shape))}return x&&(T.shape=x),T},Path.prototype.getAnimationStyleProps=function(){return lr},Path.prototype.isZeroArea=function(){return!1},Path.extend=function(d){var b=function(b){function Sub(x){var T=b.call(this,x)||this;return d.init&&d.init.call(T,x),T}return tslib_es6_extends(Sub,b),Sub.prototype.getDefaultStyle=function(){return Object(H.d)(d.style)},Sub.prototype.getDefaultShape=function(){return Object(H.d)(d.shape)},Sub}(Path);for(var x in d)"function"==typeof d[x]&&(b.prototype[x]=d[x]);return b},Path.initDefaultProps=((b=Path.prototype).type="path",b.strokeContainThreshold=5,b.segmentIgnoreThreshold=0,b.subPixelOptimize=!1,b.autoBatch=!1,void(b.__dirty=7)),Path}(ki),dr=Object(H.i)({strokeFirst:!0,font:Vn.a,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},sr),hr=function(d){function TSpan(){return null!==d&&d.apply(this,arguments)||this}return tslib_es6_extends(TSpan,d),TSpan.prototype.hasStroke=function(){return tSpanHasStroke(this.style)},TSpan.prototype.hasFill=function(){var d=this.style.fill;return null!=d&&"none"!==d},TSpan.prototype.createStyle=function(d){return Object(H.g)(dr,d)},TSpan.prototype.setBoundingRect=function(d){this._rect=d},TSpan.prototype.getBoundingRect=function(){var d,b,x;return this._rect||(this._rect=(d=this.style,b=formatText(d.text),x=d.font,tSpanCreateBoundingRect2(d,measureWidth(ensureFontMeasureInfo(x),b),getLineHeight(x),null))),this._rect},TSpan.initDefaultProps=void(TSpan.prototype.dirtyRectTolerance=10),TSpan}(ki);hr.prototype.type="tspan";var pr=hr,fr=Object(H.i)({x:0,y:0},xi),gr={style:Object(H.i)({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},_i.style)};var mr=function(d){function ZRImage(){return null!==d&&d.apply(this,arguments)||this}return tslib_es6_extends(ZRImage,d),ZRImage.prototype.createStyle=function(d){return Object(H.g)(fr,d)},ZRImage.prototype._getSize=function(d){var b=this.style,x=b[d];if(null!=x)return x;var T,D=(T=b.image)&&"string"!=typeof T&&T.width&&T.height?b.image:this.__image;if(!D)return 0;var z="width"===d?"height":"width",H=b[z];return null==H?D[d]:D[d]/D[z]*H},ZRImage.prototype.getWidth=function(){return this._getSize("width")},ZRImage.prototype.getHeight=function(){return this._getSize("height")},ZRImage.prototype.getAnimationStyleProps=function(){return gr},ZRImage.prototype.getBoundingRect=function(){var d=this.style;return this._rect||(this._rect=new Ee(d.x||0,d.y||0,this.getWidth(),this.getHeight())),this._rect},ZRImage}(ki);mr.prototype.type="image";var yr=mr;var vr=Math.round;function subPixelOptimizeLine(d,b,x){if(b){var T=b.x1,D=b.x2,z=b.y1,H=b.y2;d.x1=T,d.x2=D,d.y1=z,d.y2=H;var W=x&&x.lineWidth;return W?(vr(2*T)===vr(2*D)&&(d.x1=d.x2=subPixelOptimize(T,W,!0)),vr(2*z)===vr(2*H)&&(d.y1=d.y2=subPixelOptimize(z,W,!0)),d):d}}function subPixelOptimizeRect(d,b,x){if(b){var T=b.x,D=b.y,z=b.width,H=b.height;d.x=T,d.y=D,d.width=z,d.height=H;var W=x&&x.lineWidth;return W?(d.x=subPixelOptimize(T,W,!0),d.y=subPixelOptimize(D,W,!0),d.width=Math.max(subPixelOptimize(T+z,W,!1)-d.x,0===z?0:1),d.height=Math.max(subPixelOptimize(D+H,W,!1)-d.y,0===H?0:1),d):d}}function subPixelOptimize(d,b,x){if(!b)return d;var T=vr(2*d);return(T+vr(b))%2==0?T/2:(T+(x?1:-1))/2}var RectShape=function(){this.x=0,this.y=0,this.width=0,this.height=0},br={},xr=function(d){function Rect(b){return d.call(this,b)||this}return tslib_es6_extends(Rect,d),Rect.prototype.getDefaultShape=function(){return new RectShape},Rect.prototype.buildPath=function(d,b){var x,T,D,z;if(this.subPixelOptimize){var H=subPixelOptimizeRect(br,b,this.style);x=H.x,T=H.y,D=H.width,z=H.height,H.r=b.r,b=H}else x=b.x,T=b.y,D=b.width,z=b.height;b.r?function(d,b){var x,T,D,z,H,W=b.x,U=b.y,Y=b.width,Z=b.height,J=b.r;Y<0&&(W+=Y,Y=-Y),Z<0&&(U+=Z,Z=-Z),"number"==typeof J?x=T=D=z=J:J instanceof Array?1===J.length?x=T=D=z=J[0]:2===J.length?(x=D=J[0],T=z=J[1]):3===J.length?(x=J[0],T=z=J[1],D=J[2]):(x=J[0],T=J[1],D=J[2],z=J[3]):x=T=D=z=0,x+T>Y&&(x*=Y/(H=x+T),T*=Y/H),D+z>Y&&(D*=Y/(H=D+z),z*=Y/H),T+D>Z&&(T*=Z/(H=T+D),D*=Z/H),x+z>Z&&(x*=Z/(H=x+z),z*=Z/H),d.moveTo(W+x,U),d.lineTo(W+Y-T,U),0!==T&&d.arc(W+Y-T,U+T,T,-Math.PI/2,0),d.lineTo(W+Y,U+Z-D),0!==D&&d.arc(W+Y-D,U+Z-D,D,0,Math.PI/2),d.lineTo(W+z,U+Z),0!==z&&d.arc(W+z,U+Z-z,z,Math.PI/2,Math.PI),d.lineTo(W,U+x),0!==x&&d.arc(W+x,U+x,x,Math.PI,1.5*Math.PI)}(d,b):d.rect(x,T,D,z)},Rect.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},Rect}(cr);xr.prototype.type="rect";var _r=xr,wr={fill:"#000"},Sr={},Mr={style:Object(H.i)({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},_i.style)},Cr=function(d){function ZRText(b){var x=d.call(this)||this;return x.type="text",x._children=[],x._defaultStyle=wr,x.attr(b),x}return tslib_es6_extends(ZRText,d),ZRText.prototype.childrenRef=function(){return this._children},ZRText.prototype.update=function(){d.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var b=0;b<this._children.length;b++){var x=this._children[b];x.zlevel=this.zlevel,x.z=this.z,x.z2=this.z2,x.culling=this.culling,x.cursor=this.cursor,x.invisible=this.invisible}},ZRText.prototype.updateTransform=function(){var b=this.innerTransformable;b?(b.updateTransform(),b.transform&&(this.transform=b.transform)):d.prototype.updateTransform.call(this)},ZRText.prototype.getLocalTransform=function(b){var x=this.innerTransformable;return x?x.getLocalTransform(b):d.prototype.getLocalTransform.call(this,b)},ZRText.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),d.prototype.getComputedTransform.call(this)},ZRText.prototype._updateSubTexts=function(){var d;this._childCursor=0,normalizeStyle(d=this.style),Object(H.k)(d.rich,normalizeStyle),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},ZRText.prototype.addSelfToZr=function(b){d.prototype.addSelfToZr.call(this,b);for(var x=0;x<this._children.length;x++)this._children[x].__zr=b},ZRText.prototype.removeSelfFromZr=function(b){d.prototype.removeSelfFromZr.call(this,b);for(var x=0;x<this._children.length;x++)this._children[x].__zr=null},ZRText.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var d=new Ee(0,0,0,0),b=this._children,x=[],T=null,D=0;D<b.length;D++){var z=b[D],H=z.getBoundingRect(),W=z.getLocalTransform(x);W?(d.copy(H),d.applyTransform(W),(T=T||d.clone()).union(d)):(T=T||H.clone()).union(H)}this._rect=T||d}return this._rect},ZRText.prototype.setDefaultTextStyle=function(d){this._defaultStyle=d||wr},ZRText.prototype.setTextContent=function(d){0},ZRText.prototype._mergeStyle=function(d,b){if(!b)return d;var x=b.rich,T=d.rich||x&&{};return Object(H.m)(d,b),x&&T?(this._mergeRich(T,x),d.rich=T):T&&(d.rich=T),d},ZRText.prototype._mergeRich=function(d,b){for(var x=Object(H.F)(b),T=0;T<x.length;T++){var D=x[T];d[D]=d[D]||{},Object(H.m)(d[D],b[D])}},ZRText.prototype.getAnimationStyleProps=function(){return Mr},ZRText.prototype._getOrCreateChild=function(d){var b=this._children[this._childCursor];return b&&b instanceof d||(b=new d),this._children[this._childCursor++]=b,b.__zr=this.__zr,b.parent=this,b},ZRText.prototype._updatePlainTexts=function(){var d=this.style,b=d.font||Vn.a,x=d.padding,T=this._defaultStyle,D=d.x||0,z=d.y||0,W=d.align||T.align||"left",U=d.verticalAlign||T.verticalAlign||"top";calcInnerTextOverflowArea(Sr,T.overflowRect,D,z,W,U),D=Sr.baseX,z=Sr.baseY;var Y=function(d,b,x,T){var D=formatText(d),z=b.overflow,W=b.padding,U=W?W[1]+W[3]:0,Y=W?W[0]+W[2]:0,Z=b.font,J="truncate"===z,ee=getLineHeight(Z),te=Object(H.P)(b.lineHeight,ee),ne="truncate"===b.lineOverflow,ie=!1,oe=b.width;null==oe&&null!=x&&(oe=x-U);var se,le=b.height;null==le&&null!=T&&(le=T-Y);var ce=(se=null==oe||"break"!==z&&"breakAll"!==z?D?D.split("\n"):[]:D?wrapText(D,b.font,oe,"breakAll"===z,0).lines:[]).length*te;if(null==le&&(le=ce),ce>le&&ne){var de=Math.floor(le/te);ie=ie||se.length>de,ce=(se=se.slice(0,de)).length*te}if(D&&J&&null!=oe)for(var he=prepareTruncateOptions(oe,Z,b.ellipsis,{minChar:b.truncateMinChar,placeholder:b.placeholder}),pe={},fe=0;fe<se.length;fe++)truncateSingleLine(pe,se[fe],he),se[fe]=pe.textLine,ie=ie||pe.isTruncated;var ge=le,me=0,ye=ensureFontMeasureInfo(Z);for(fe=0;fe<se.length;fe++)me=Math.max(measureWidth(ye,se[fe]),me);null==oe&&(oe=me);var ve=oe;return{lines:se,height:le,outerWidth:ve+=U,outerHeight:ge+=Y,lineHeight:te,calculatedLineHeight:ee,contentWidth:me,contentHeight:ce,width:oe,isTruncated:ie}}(getStyleText(d),d,Sr.outerWidth,Sr.outerHeight),Z=needDrawBackgroun
vendor: 4,119 bytes, line 808
808d(d),J=!!d.backgroundColor,ee=Y.outerHeight,te=Y.outerWidth,ne=Y.lines,ie=Y.lineHeight;this.isTruncated=!!Y.isTruncated;var oe=D,se=adjustTextY(z,Y.contentHeight,U);if(Z||x){var le=adjustTextX(D,te,W),ce=adjustTextY(z,ee,U);Z&&this._renderBackground(d,d,le,ce,te,ee)}se+=ie/2,x&&(oe=getTextXForPadding(D,W,x),"top"===U?se+=x[0]:"bottom"===U&&(se-=x[2]));for(var de=0,he=!1,pe=!1,fe=(getFill("fill"in d?d.fill:(pe=!0,T.fill))),ge=(getStroke("stroke"in d?d.stroke:J||T.autoStroke&&!pe?null:(de=2,he=!0,T.stroke))),me=d.textShadowBlur>0,ye=0;ye<ne.length;ye++){var ve=this._getOrCreateChild(pr),xe=ve.createStyle();ve.useStyle(xe),xe.text=ne[ye],xe.x=oe,xe.y=se,W&&(xe.textAlign=W),xe.textBaseline="middle",xe.opacity=d.opacity,xe.strokeFirst=!0,me&&(xe.shadowBlur=d.textShadowBlur||0,xe.shadowColor=d.textShadowColor||"transparent",xe.shadowOffsetX=d.textShadowOffsetX||0,xe.shadowOffsetY=d.textShadowOffsetY||0),xe.stroke=ge,xe.fill=fe,ge&&(xe.lineWidth=d.lineWidth||de,xe.lineDash=d.lineDash,xe.lineDashOffset=d.lineDashOffset||0),xe.font=b,setSeparateFont(xe,d),se+=ie,ve.setBoundingRect(tSpanCreateBoundingRect2(xe,Y.contentWidth,Y.calculatedLineHeight,he?0:null))}},ZRText.prototype._updateRichTexts=function(){var d=this.style,b=this._defaultStyle,x=d.align||b.align,T=d.verticalAlign||b.verticalAlign,D=d.x||0,z=d.y||0;calcInnerTextOverflowArea(Sr,b.overflowRect,D,z,x,T),D=Sr.baseX,z=Sr.baseY;var W=function(d,b,x,T,D){var z=new RichTextContentBlock,W=formatText(d);if(!W)return z;var U=b.padding,Y=U?U[1]+U[3]:0,Z=U?U[0]+U[2]:0,J=b.width;null==J&&null!=x&&(J=x-Y);var ee=b.height;null==ee&&null!=T&&(ee=T-Z);for(var te,ne=b.overflow,ie="break"!==ne&&"breakAll"!==ne||null==J?null:{width:J,accumWidth:0,breakAll:"breakAll"===ne},oe=gi.lastIndex=0;null!=(te=gi.exec(W));){var se=te.index;se>oe&&pushTokens(z,W.substring(oe,se),b,ie),pushTokens(z,te[2],b,ie,te[1]),oe=gi.lastIndex}oe<W.length&&pushTokens(z,W.substring(oe,W.length),b,ie);var le=[],ce=0,de=0,he="truncate"===ne,pe="truncate"===b.lineOverflow,fe={};function finishLine(d,b,x){d.width=b,d.lineHeight=x,ce+=x,de=Math.max(de,b)}e:for(var ge=0;ge<z.lines.length;ge++){for(var me=z.lines[ge],ye=0,ve=0,xe=0;xe<me.tokens.length;xe++){var _e=(Fe=me.tokens[xe]).styleName&&b.rich[Fe.styleName]||{},we=Fe.textPadding=_e.padding,Se=we?we[1]+we[3]:0,Me=Fe.font=_e.font||b.font;Fe.contentHeight=getLineHeight(Me);var Te=Object(H.P)(_e.height,Fe.contentHeight);if(Fe.innerHeight=Te,we&&(Te+=we[0]+we[2]),Fe.height=Te,Fe.lineHeight=Object(H.Q)(_e.lineHeight,b.lineHeight,Te),Fe.align=_e&&_e.align||D,Fe.verticalAlign=_e&&_e.verticalAlign||"middle",pe&&null!=ee&&ce+Fe.lineHeight>ee){var ke=z.lines.length;xe>0?(me.tokens=me.tokens.slice(0,xe),finishLine(me,ve,ye),z.lines=z.lines.slice(0,ge+1)):z.lines=z.lines.slice(0,ge),z.isTruncated=z.isTruncated||z.lines.length<ke;break e}var Pe=_e.width,Ee=null==Pe||"auto"===Pe;if("string"==typeof Pe&&"%"===Pe.charAt(Pe.length-1))Fe.percentWidth=Pe,le.push(Fe),Fe.contentWidth=measureWidth(ensureFontMeasureInfo(Me),Fe.text);else{if(Ee){var Le=_e.backgroundColor,Ne=Le&&Le.image;Ne&&isImageReady(Ne=findExistImage(Ne))&&(Fe.width=Math.max(Fe.width,Ne.width*Te/Ne.height))}var Ve=he&&null!=J?J-ve:null;null!=Ve&&Ve<Fe.width?!Ee||Ve<Se?(Fe.text="",Fe.width=Fe.contentWidth=0):(truncateText2(fe,Fe.text,Ve-Se,Me,b.ellipsis,{minChar:b.truncateMinChar}),Fe.text=fe.text,z.isTruncated=z.isTruncated||fe.isTruncated,Fe.width=Fe.contentWidth=measureWidth(ensureFontMeasureInfo(Me),Fe.text)):Fe.contentWidth=measureWidth(ensureFontMeasureInfo(Me),Fe.text)}Fe.width+=Se,ve+=Fe.width,_e&&(ye=Math.max(ye,Fe.lineHeight))}finishLine(me,ve,ye)}for(z.outerWidth=z.width=Object(H.P)(J,de),z.outerHeight=z.height=Object(H.P)(ee,ce),z.contentHeight=ce,z.contentWidth=de,z.outerWidth+=Y,z.outerHeight+=Z,ge=0;ge<le.length;ge++){var Fe,Ge=(Fe=le[ge]).percentWidth;Fe.width=parseInt(Ge,10)/100*z.width}return z}(getStyleText(d),d,Sr.outerWidth,Sr.outerHeight,x),U=W.width,Y=W.outerWidth,Z=W.outerHeight,J=d.padding;this.isTruncated=!!W.isTruncated;var ee=adjustTextX(D,Y,x),te=adjustTextY(z,Z,T),ne=ee,ie=te;J&&(ne+=J[3],ie+=J[0]);var oe=ne+U;
vendor: 4,096 bytes, line 808
808needDrawBackground(d)&&this._renderBackground(d,d,ee,te,Y,Z);for(var se=!!d.backgroundColor,le=0;le<W.lines.length;le++){for(var ce=W.lines[le],de=ce.tokens,he=de.length,pe=ce.lineHeight,fe=ce.width,ge=0,me=ne,ye=oe,ve=he-1,xe=void 0;ge<he&&(!(xe=de[ge]).align||"left"===xe.align);)this._placeToken(xe,d,pe,ie,me,"left",se),fe-=xe.width,me+=xe.width,ge++;for(;ve>=0&&"right"===(xe=de[ve]).align;)this._placeToken(xe,d,pe,ie,ye,"right",se),fe-=xe.width,ye-=xe.width,ve--;for(me+=(U-(me-ne)-(oe-ye)-fe)/2;ge<=ve;)xe=de[ge],this._placeToken(xe,d,pe,ie,me+xe.width/2,"center",se),me+=xe.width,ge++;ie+=pe}},ZRText.prototype._placeToken=function(d,b,x,T,D,z,W){var U=b.rich[d.styleName]||{};U.text=d.text;var Y=d.verticalAlign,Z=T+x/2;"top"===Y?Z=T+d.height/2:"bottom"===Y&&(Z=T+x-d.height/2),!d.isLineHolder&&needDrawBackground(U)&&this._renderBackground(U,b,"right"===z?D-d.width:"center"===z?D-d.width/2:D,Z-d.height/2,d.width,d.height);var J=!!U.backgroundColor,ee=d.textPadding;ee&&(D=getTextXForPadding(D,z,ee),Z-=d.height/2-ee[0]-d.innerHeight/2);var te=this._getOrCreateChild(pr),ne=te.createStyle();te.useStyle(ne);var ie=this._defaultStyle,oe=!1,se=0,le=!1,ce=getFill("fill"in U?U.fill:"fill"in b?b.fill:(oe=!0,ie.fill)),de=getStroke("stroke"in U?U.stroke:"stroke"in b?b.stroke:J||W||ie.autoStroke&&!oe?null:(se=2,le=!0,ie.stroke)),he=U.textShadowBlur>0||b.textShadowBlur>0;ne.text=d.text,ne.x=D,ne.y=Z,he&&(ne.shadowBlur=U.textShadowBlur||b.textShadowBlur||0,ne.shadowColor=U.textShadowColor||b.textShadowColor||"transparent",ne.shadowOffsetX=U.textShadowOffsetX||b.textShadowOffsetX||0,ne.shadowOffsetY=U.textShadowOffsetY||b.textShadowOffsetY||0),ne.textAlign=z,ne.textBaseline="middle",ne.font=d.font||Vn.a,ne.opacity=Object(H.Q)(U.opacity,b.opacity,1),setSeparateFont(ne,U),de&&(ne.lineWidth=Object(H.Q)(U.lineWidth,b.lineWidth,se),ne.lineDash=Object(H.P)(U.lineDash,b.lineDash),ne.lineDashOffset=b.lineDashOffset||0,ne.stroke=de),ce&&(ne.fill=ce),te.setBoundingRect(tSpanCreateBoundingRect2(ne,d.contentWidth,d.contentHeight,le?0:null))},ZRText.prototype._renderBackground=function(d,b,x,T,D,z){var W,U,Y,Z=d.backgroundColor,J=d.borderWidth,ee=d.borderColor,te=Z&&Z.image,ne=Z&&!te,ie=d.borderRadius,oe=this;if(ne||d.lineHeight||J&&ee){(W=this._getOrCreateChild(_r)).useStyle(W.createStyle()),W.style.fill=null;var se=W.shape;se.x=x,se.y=T,se.width=D,se.height=z,se.r=ie,W.dirtyShape()}if(ne)(Y=W.style).fill=Z||null,Y.fillOpacity=Object(H.P)(d.fillOpacity,1);else if(te){(U=this._getOrCreateChild(yr)).onload=function(){oe.dirtyStyle()};var le=U.style;le.image=Z.image,le.x=x,le.y=T,le.width=D,le.height=z}J&&ee&&((Y=W.style).lineWidth=J,Y.stroke=ee,Y.strokeOpacity=Object(H.P)(d.strokeOpacity,1),Y.lineDash=d.borderDash,Y.lineDashOffset=d.borderDashOffset||0,W.strokeContainThreshold=0,W.hasFill()&&W.hasStroke()&&(Y.strokeFirst=!0,Y.lineWidth*=2));var ce=(W||U).style;ce.shadowBlur=d.shadowBlur||0,ce.shadowColor=d.shadowColor||"transparent",ce.shadowOffsetX=d.shadowOffsetX||0,ce.shadowOffsetY=d.shadowOffsetY||0,ce.opacity=Object(H.Q)(d.opacity,b.opacity,1)},ZRText.makeFont=function(d){var b="";return hasSeparateFont(d)&&(b=[d.fontStyle,d.fontWeight,parseFontSize(d.fontSize),d.fontFamily||"sans-serif"].join(" ")),b&&Object(H.T)(b)||d.textFont||d.font},ZRText}(ki),Tr={left:!0,right:1,center:1},kr={top:1,bottom:1,middle:1},Ar=["fontStyle","fontWeight","fontSize","fontFamily"];function parseFontSize(d){return"string"!=typeof d||-1===d.indexOf("px")&&-1===d.indexOf("rem")&&-1===d.indexOf("em")?isNaN(+d)?Vn.c+"px":d+"px":d}function setSeparateFont(d,b){for(var x=0;x<Ar.length;x++){var T=Ar[x],D=b[T];null!=D&&(d[T]=D)}}function hasSeparateFont(d){return null!=d.fontSize||d.fontFamily||d.fontWeight}function normalizeStyle(d){if(d){d.font=Cr.makeFont(d);var b=d.align;"middle"===b&&(b="center"),d.align=null==b||Tr[b]?b:"left";var x=d.verticalAlign;"center"===x&&(x="middle"),d.verticalAlign=null==x||kr[x]?x:"top",d.padding&&(d.padding=Object(H.M)(d.padding))}}function getStroke(d,b){return null==d||b<=0||"transparent"===d||"none"===d?null:d.image||d.colorStops?"#000":d}
vendor: 9,180 bytes, line 808
808function getFill(d){return null==d||"none"===d?null:d.image||d.colorStops?"#000":d}function getTextXForPadding(d,b,x){return"right"===b?d-x[1]:"center"===b?d+x[3]/2-x[1]/2:d+x[3]}function getStyleText(d){var b=d.text;return null!=b&&(b+=""),b}function needDrawBackground(d){return!!(d.backgroundColor||d.lineHeight||d.borderWidth&&d.borderColor)}var Pr=Cr,Or=makeInner(),setCommonECData=function(d,b,x,T){if(T){var D=Or(T);D.dataIndex=x,D.dataType=b,D.seriesIndex=d,D.ssrType="chart","group"===T.type&&T.traverse((function(T){var D=Or(T);D.seriesIndex=d,D.dataIndex=x,D.dataType=b,D.ssrType="chart"}))}},Ir=1,Dr={},Er=makeInner(),Lr=makeInner(),Rr=["emphasis","blur","select"],Br=["normal","emphasis","blur","select"];function hasFillOrStroke(d){return null!=d&&"none"!==d}function doChangeHoverState(d,b,x){d.onHoverStateChange&&(d.hoverState||0)!==x&&d.onHoverStateChange(b),d.hoverState=x}function singleEnterEmphasis(d){doChangeHoverState(d,"emphasis",2)}function singleLeaveEmphasis(d){2===d.hoverState&&doChangeHoverState(d,"normal",0)}function singleEnterBlur(d){doChangeHoverState(d,"blur",1)}function singleLeaveBlur(d){1===d.hoverState&&doChangeHoverState(d,"normal",0)}function singleEnterSelect(d){d.selected=!0}function singleLeaveSelect(d){d.selected=!1}function updateElementState(d,b,x){b(d,x)}function traverseUpdateState(d,b,x){updateElementState(d,b,x),d.isGroup&&d.traverse((function(d){updateElementState(d,b,x)}))}function setStatesFlag(d,b){switch(b){case"emphasis":d.hoverState=2;break;case"normal":d.hoverState=0;break;case"blur":d.hoverState=1;break;case"select":d.selected=!0}}function elementStateProxy(d,b){var x=this.states[d];if(this.style){if("emphasis"===d)return function(d,b,x,T){var D=x&&Object(H.r)(x,"select")>=0,z=!1;if(d instanceof cr){var W=Er(d),U=D&&W.selectFill||W.normalFill,Y=D&&W.selectStroke||W.normalStroke;if(hasFillOrStroke(U)||hasFillOrStroke(Y)){var Z=(T=T||{}).style||{};"inherit"===Z.fill?(z=!0,T=Object(H.m)({},T),(Z=Object(H.m)({},Z)).fill=U):!hasFillOrStroke(Z.fill)&&hasFillOrStroke(U)?(z=!0,T=Object(H.m)({},T),(Z=Object(H.m)({},Z)).fill=Object(yt.d)(U)):!hasFillOrStroke(Z.stroke)&&hasFillOrStroke(Y)&&(z||(T=Object(H.m)({},T),Z=Object(H.m)({},Z)),Z.stroke=Object(yt.d)(Y)),T.style=Z}}if(T&&null==T.z2){z||(T=Object(H.m)({},T));var J=d.z2EmphasisLift;T.z2=d.z2+(null!=J?J:10)}return T}(this,0,b,x);if("blur"===d)return function(d,b,x){var T=Object(H.r)(d.currentStates,b)>=0,D=d.style.opacity,z=T?null:function(d,b,x,T){for(var D=d.style,z={},H=0;H<b.length;H++){var W=b[H],U=D[W];z[W]=null==U?T&&T[W]:U}for(H=0;H<d.animators.length;H++){var Y=d.animators[H];Y.__fromStateTransition&&Y.__fromStateTransition.indexOf(x)<0&&"style"===Y.targetName&&Y.saveTo(z,b)}return z}(d,["opacity"],b,{opacity:1}),W=(x=x||{}).style||{};return null==W.opacity&&(x=Object(H.m)({},x),W=Object(H.m)({opacity:T?D:.1*z.opacity},W),x.style=W),x}(this,d,x);if("select"===d)return function(d,b,x){if(x&&null==x.z2){x=Object(H.m)({},x);var T=d.z2SelectLift;x.z2=d.z2+(null!=T?T:9)}return x}(this,0,x)}return x}function setDefaultStateProxy(d){d.stateProxy=elementStateProxy;var b=d.getTextContent(),x=d.getTextGuideLine();b&&(b.stateProxy=elementStateProxy),x&&(x.stateProxy=elementStateProxy)}function enterEmphasisWhenMouseOver(d,b){!shouldSilent(d,b)&&!d.__highByOuter&&traverseUpdateState(d,singleEnterEmphasis)}function leaveEmphasisWhenMouseOut(d,b){!shouldSilent(d,b)&&!d.__highByOuter&&traverseUpdateState(d,singleLeaveEmphasis)}function enterEmphasis(d,b){d.__highByOuter|=1<<(b||0),traverseUpdateState(d,singleEnterEmphasis)}function leaveEmphasis(d,b){!(d.__highByOuter&=~(1<<(b||0)))&&traverseUpdateState(d,singleLeaveEmphasis)}function enterBlur(d){traverseUpdateState(d,singleEnterBlur)}function leaveBlur(d){traverseUpdateState(d,singleLeaveBlur)}function enterSelect(d){traverseUpdateState(d,singleEnterSelect)}function leaveSelect(d){traverseUpdateState(d,singleLeaveSelect)}function shouldSilent(d,b){return d.__highDownSilentOnTouch&&b.zrByTouch}function allLeaveBlur(d){var b=d.getModel(),x=[],T=[];b.eachComponent((function(b,D){var z=Lr(D),H="series"===b,W=H?d.getViewOfSeriesModel(D):d.getViewOfComponentModel(D);!H&&T.push(W),z.isBlured&&(W.group.traverse((function(d){singleLeaveBlur(d)})),H&&x.push(D)),z.isBlured=!1})),Object(H.k)(T,(function(d){d&&d.toggleBlurSeries&&d.toggleBlurSeries(x,!1,b)}))}function blurSeries(d,b,x,T){var D=T.getModel();function leaveBlurOfIndices(d,b){for(var x=0;x<b.length;x++){var T=d.getItemGraphicEl(b[x]);T&&leaveBlur(T)}}if(x=x||"coordinateSystem",null!=d&&b&&"none"!==b){var z=D.getSeriesByIndex(d),W=z.coordinateSystem;W&&W.master&&(W=W.master);var U=[];D.eachSeries((function(d){var D=z===d,Y=d.coordinateSystem;if(Y&&Y.master&&(Y=Y.master),!("series"===x&&!D||"coordinateSystem"===x&&!(Y&&W?Y===W:D)||"series"===b&&D)){if(T.getViewOfSeriesModel(d).group.traverse((function(d){d.__highByOuter&&D&&"self"===b||singleEnterBlur(d)})),Object(H.u)(b))leaveBlurOfIndices(d.getData(),b);else if(Object(H.A)(b))for(var Z=Object(H.F)(b),J=0;J<Z.length;J++)leaveBlurOfIndices(d.getData(Z[J]),b[Z[J]]);U.push(d),Lr(d).isBlured=!0}})),D.eachComponent((function(d,b){if("series"!==d){var x=T.getViewOfComponentModel(b);x&&x.toggleBlurSeries&&x.toggleBlurSeries(U,!0,D)}}))}}function blurComponent(d,b,x){if(null!=d&&null!=b){var T=x.getModel().getComponent(d,b);if(T){Lr(T).isBlured=!0;var D=x.getViewOfComponentModel(T);D&&D.focusBlurEnabled&&D.group.traverse((function(d){singleEnterBlur(d)}))}}}function findComponentHighDownDispatchers(d,b,x,T){var D={focusSelf:!1,dispatchers:null};if(null==d||"series"===d||null==b||null==x)return D;var z=T.getModel().getComponent(d,b);if(!z)return D;var H=T.getViewOfComponentModel(z);if(!H||!H.findHighDownDispatchers)return D;for(var W,U=H.findHighDownDispatchers(x),Y=0;Y<U.length;Y++)if("self"===Or(U[Y]).focus){W=!0;break}return{focusSelf:W,dispatchers:U}}function updateSeriesElementSelection(d){var b=d.getAllData();Object(H.k)(b,(function(b){var x=b.data,T=b.type;x.eachItemGraphicEl((function(b,x){d.isSelected(x,T)?enterSelect(b):leaveSelect(b)}))}))}function getAllSelectedIndices(d){var b=[];return d.eachSeries((function(d){var x=d.getAllData();Object(H.k)(x,(function(x){x.data;var T=x.type,D=d.getSelectedDataIndices();if(D.length>0){var z={dataIndex:D,seriesIndex:d.seriesIndex};null!=T&&(z.dataType=T),b.push(z)}}))})),b}function enableHoverEmphasis(d,b,x){setAsHighDownDispatcher(d,!0),traverseUpdateState(d,setDefaultStateProxy),enableHoverFocus(d,b,x)}function toggleHoverEmphasis(d,b,x,T){T?function(d){setAsHighDownDispatcher(d,!1)}(d):enableHoverEmphasis(d,b,x)}function enableHoverFocus(d,b,x){var T=Or(d);null!=b?(T.focus=b,T.blurScope=x):T.focus&&(T.focus=null)}var Nr=["emphasis","blur","select"],jr={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function setStatesStylesFromModel(d,b,x,T){x=x||"itemStyle";for(var D=0;D<Nr.length;D++){var z=Nr[D],H=b.getModel([z,x]);d.ensureState(z).style=T?T(H):H[jr[x]]()}}function setAsHighDownDispatcher(d,b){var x=!1===b,T=d;d.highDownSilentOnTouch&&(T.__highDownSilentOnTouch=d.highDownSilentOnTouch),x&&!T.__highDownDispatcher||(T.__highByOuter=T.__highByOuter||0,T.__highDownDispatcher=!x)}function isHighDownDispatcher(d){return!(!d||!d.__highDownDispatcher)}function isSelectChangePayload(d){var b=d.type;return"select"===b||"unselect"===b||"toggleSelect"===b}function isHighDownPayload(d){var b=d.type;return"highlight"===b||"downplay"===b}var Vr=makeInner();function getAnimationConfig(d,b,x,T,D){var z;if(b&&b.ecModel){var W=b.ecModel.getUpdatePayload();z=W&&W.animation}var U="update"===d;if(b&&b.isAnimationEnabled()){var Y=void 0,Z=void 0,J=void 0;return T?(Y=Object(H.P)(T.duration,200),Z=Object(H.P)(T.easing,"cubicOut"),J=0):(Y=b.getShallow(U?"animationDurationUpdate":"animationDuration"),Z=b.getShallow(U?"animationEasingUpdate":"animationEasing"),J=b.getShallow(U?"animationDelayUpdate":"animationDelay")),z&&(null!=z.duration&&(Y=z.duration),null!=z.easing&&(Z=z.easing),null!=z.delay&&(J=z.delay)),Object(H.w)(J)&&(J=J(x,D)),Object(H.w)(Y)&&(Y=Y(x)),{duration:Y||0,delay:J,easing:Z}}return null}function animateOrSetProps(d,b,x,T,D,z,W){var U,Y=!1;Object(H.w)(D)?(W=z,z=D,D=null):Object(H.A)(D)&&(z=D.cb,W=D.during,Y=D.isFrom,U=D.removeOpt,D=D.dataIndex);var Z="leave"===d;Z||b.stopAnimation("leave");var J=getAnimationConfig(d,T,D,Z?U||{}:null,T&&T.getAnimationDelayParams?T.getAnimationDelayParams(b,D):null);if(J&&J.duration>0){var ee={duration:J.duration,delay:J.delay||0,easing:J.easing,done:z,force:!!z||!!W,setToFinal:!Z,scope:d,during:W};Y?b.animateFrom(x,ee):b.animateTo(x,ee)}else b.stopAnimation(),!Y&&b.attr(x),W&&W(1),z&&z()}function updateProps(d,b,x,T,D,z){animateOrSetProps("update",d,b,x,T,D,z)}function initProps(d,b,x,T,D,z){animateOrSetProps("enter",d,b,x,T,D,z)}function isElementRemoved(d){if(!d.__zr)return!0;for(var b=0;b<d.animators.length;b++){if("leave"===d.animators[b].scope)return!0}return!1}function removeElement(d,b,x,T,D,z){isElementRemoved(d)||animateOrSetProps("leave",d,b,x,T,D,z)}function fadeOutDisplayable(d,b,x,T){d.removeTextContent(),d.removeTextGuideLine(),removeElement(d,{style:{opacity:0}
vendor: 5,087 bytes, line 808
808},b,x,T)}function removeElementWithFadeOut(d,b,x){function doRemove(){d.parent&&d.parent.remove(d)}d.isGroup?d.traverse((function(d){d.isGroup||fadeOutDisplayable(d,b,x,doRemove)})):fadeOutDisplayable(d,b,x,doRemove)}function saveOldStyle(d){Vr(d).oldStyle=d.style}var zr={};function setLabelText(d,b){for(var x=0;x<Rr.length;x++){var T=Rr[x],D=b[T],z=d.ensureState(T);z.style=z.style||{},z.style.text=D}var H=d.currentStates.slice();d.clearStates(!0),d.setStyle({text:b.normal}),d.useStates(H,!0)}function getLabelText(d,b,x){var T,D=d.labelFetcher,z=d.labelDataIndex,W=d.labelDimIndex,U=b.normal;D&&(T=D.getFormattedLabel(z,"normal",null,W,U&&U.get("formatter"),null!=x?{interpolatedValue:x}:null)),null==T&&(T=Object(H.w)(d.defaultText)?d.defaultText(z,d,x):d.defaultText);for(var Y={normal:T},Z=0;Z<Rr.length;Z++){var J=Rr[Z],ee=b[J];Y[J]=Object(H.P)(D?D.getFormattedLabel(z,J,null,W,ee&&ee.get("formatter")):null,T)}return Y}function setLabelStyle(d,b,x,T){x=x||zr;for(var D=d instanceof Pr,z=!1,W=0;W<Br.length;W++){if((te=b[Br[W]])&&te.getShallow("show")){z=!0;break}}var U=D?d:d.getTextContent();if(z){D||(U||(U=new Pr,d.setTextContent(U)),d.stateProxy&&(U.stateProxy=d.stateProxy));var Y=getLabelText(x,b),Z=b.normal,J=!!Z.getShallow("show"),ee=createTextStyle(Z,T&&T.normal,x,!1,!D);ee.text=Y.normal,D||d.setTextConfig(createTextConfig(Z,x,!1));for(W=0;W<Rr.length;W++){var te,ne=Rr[W];if(te=b[ne]){var ie=U.ensureState(ne),oe=!!Object(H.P)(te.getShallow("show"),J);if(oe!==J&&(ie.ignore=!oe),ie.style=createTextStyle(te,T&&T[ne],x,!0,!D),ie.style.text=Y[ne],!D)d.ensureState(ne).textConfig=createTextConfig(te,x,!0)}}U.silent=!!Z.getShallow("silent"),null!=U.style.x&&(ee.x=U.style.x),null!=U.style.y&&(ee.y=U.style.y),U.ignore=!J,U.useStyle(ee),U.dirty(),x.enableTextSetter&&($r(U).setLabelText=function(d){var T=getLabelText(x,b,d);setLabelText(U,T)})}else U&&(U.ignore=!0);d.dirty()}function getLabelStatesModels(d,b){b=b||"label";for(var x={normal:d.getModel(b)},T=0;T<Rr.length;T++){var D=Rr[T];x[D]=d.getModel([D,b])}return x}function createTextStyle(d,b,x,T,D){var z={};return function(d,b,x,T,D){x=x||zr;var z,W=b.ecModel,U=W&&W.option.textStyle,Y=function(d){var b;for(;d&&d!==d.ecModel;){var x=(d.option||zr).rich;if(x){b=b||{};for(var T=Object(H.F)(x),D=0;D<T.length;D++){var z=T[D];b[z]=1}}d=d.parentModel}return b}(b);if(Y){z={};var Z=Object(H.P)(b.get("richInheritPlainLabel"),W?W.get("richInheritPlainLabel"):void 0);for(var J in Y)if(Y.hasOwnProperty(J)){var ee=b.getModel(["rich",J]);setTokenTextStyle(z[J]={},ee,U,b,Z,x,T,D,!1,!0)}}z&&(d.rich=z);var te=b.get("overflow");te&&(d.overflow=te);var ne=b.get("lineOverflow");ne&&(d.lineOverflow=ne);var ie=d,oe=b.get("minMargin");if(null!=oe)oe=Object(H.z)(oe)?oe/2:0,ie.margin=[oe,oe,oe,oe],ie.__marginType=Wr.minMargin;else{var se=b.get("textMargin");null!=se&&(ie.margin=Object(H.M)(se),ie.__marginType=Wr.textMargin)}setTokenTextStyle(d,b,U,null,null,x,T,D,!0,!1)}(z,d,x,T,D),b&&Object(H.m)(z,b),z}function createTextConfig(d,b,x){b=b||{};var T,D={},z=d.getShallow("rotate"),W=Object(H.P)(d.getShallow("distance"),x?null:5),U=d.getShallow("offset");return"outside"===(T=d.getShallow("position")||(x?null:"inside"))&&(T=b.defaultOutsidePosition||"top"),null!=T&&(D.position=T),null!=U&&(D.offset=U),null!=z&&(z*=Math.PI/180,D.rotation=z),null!=W&&(D.distance=W),D.outsideFill="inherit"===d.get("color")?b.inheritColor||null:"auto",null!=b.autoOverflowArea&&(D.autoOverflowArea=b.autoOverflowArea),null!=b.layoutRect&&(D.layoutRect=b.layoutRect),D}var Fr=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],Hr=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],Gr=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function setTokenTextStyle(d,b,x,T,D,z,W,U,Y,Z){x=!W&&x||zr;var J=z&&z.inheritColor,ee=b.getShallow("color"),te=b.getShallow("textBorderColor"),ne=Object(H.P)(b.getShallow("opacity"),x.opacity);"inherit"!==ee&&"auto"!==ee||(ee=J||null),"inherit"!==te&&"auto"!==te||(te=J||null),U||(ee=ee||x.color,te=te||x.textBorderColor),null!=ee&&(d.fill=ee),null!=te&&(d.stroke=te);var ie=Object(H.P)(b.getShallow("textBorderWidth"),x.textBorderWidth);null!=ie&&(d.lineWidth=ie);var oe=Object(H.P)(b.getShallow("textBorderType"),x.textBorderType);null!=oe&&(d.lineDash=oe);var se=Object(H.P)(b.getShallow("textBorderDashOffset"),x.textBorderDashOffset);null!=se&&(d.lineDashOffset=se),W||null!=ne||Z||(ne=z&&z.defaultOpacity),null!=ne&&(d.opacity=ne),W||U||null==d.fill&&z.inheritColor&&(d.fill=z.inheritColor);for(var le=0;le<Fr.length;le++){var ce=Fr[le];null!=(he=!1!==D&&T?Object(H.Q)(b.getShallow(ce),T.getShallow(ce),x[ce]):Object(H.P)(b.getShallow(ce),x[ce]))&&(d[ce]=he)}for(le=0;le<Hr.length;le++){ce=Hr[le];null!=(he=b.getShallow(ce))&&(d[ce]=he)}if(null==d.verticalAlign){var de=b.getShallow("baseline");null!=de&&(d.verticalAlign=de)}if(!Y||!z.disableBox){for(le=0;le<Gr.length;le++){var he;ce=Gr[le];
vendor: 4,898 bytes, line 808
808null!=(he=b.getShallow(ce))&&(d[ce]=he)}var pe=b.getShallow("borderType");null!=pe&&(d.borderDash=pe),"auto"!==d.backgroundColor&&"inherit"!==d.backgroundColor||!J||(d.backgroundColor=J),"auto"!==d.borderColor&&"inherit"!==d.borderColor||!J||(d.borderColor=J)}}function getFont(d,b){var x=b&&b.getModel("textStyle");return Object(H.T)([d.fontStyle||x&&x.getShallow("fontStyle")||"",d.fontWeight||x&&x.getShallow("fontWeight")||"",(d.fontSize||x&&x.getShallow("fontSize")||12)+"px",d.fontFamily||x&&x.getShallow("fontFamily")||"sans-serif"].join(" "))}var $r=makeInner();function setLabelValueAnimation(d,b,x,T){if(d){var D=$r(d);D.prevValue=D.value,D.value=x;var z=b.normal;D.valueAnimation=z.get("valueAnimation"),D.valueAnimation&&(D.precision=z.get("precision"),D.defaultInterpolatedText=T,D.statesModels=b)}}function animateLabelValue(d,b,x,T,D){var z=$r(d);if(z.valueAnimation&&z.prevValue!==z.value){var W=z.defaultInterpolatedText,U=Object(H.P)(z.interpolatedValue,z.prevValue),Y=z.value;d.percent=0,(null==z.prevValue?initProps:updateProps)(d,{percent:1},T,b,null,(function(T){var H=interpolateRawValues(x,z.precision,U,Y,T);z.interpolatedValue=1===T?null:H;var Z=getLabelText({labelDataIndex:b,labelFetcher:D,defaultText:W?W(H):H+""},z.statesModels,H);setLabelText(d,Z)}))}}var Wr={minMargin:1,textMargin:2},Ur=["textStyle","color"],Yr=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],qr=new Pr,Zr=function(){function TextStyleMixin(){}return TextStyleMixin.prototype.getTextColor=function(d){var b=this.ecModel;return this.getShallow("color")||(!d&&b?b.get(Ur):null)},TextStyleMixin.prototype.getFont=function(){return getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},TextStyleMixin.prototype.getTextRect=function(d){for(var b={text:d,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},x=0;x<Yr.length;x++)b[Yr[x]]=this.getShallow(Yr[x]);return qr.useStyle(b),qr.update(),qr.getBoundingRect()},TextStyleMixin}(),Xr=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],Kr=makeStyleMapper(Xr),Jr=function(){function LineStyleMixin(){}return LineStyleMixin.prototype.getLineStyle=function(d){return Kr(this,d)},LineStyleMixin}(),Qr=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],eo=makeStyleMapper(Qr),to=function(){function ItemStyleMixin(){}return ItemStyleMixin.prototype.getItemStyle=function(d,b){return eo(this,d,b)},ItemStyleMixin}();function Model_typeof(d){return(Model_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}var no,io,ro=function(){function Model(d,b,x){this.parentModel=b,this.ecModel=x,this.option=d}return Model.prototype.init=function(d,b,x){for(var T=[],D=3;D<arguments.length;D++)T[D-3]=arguments[D]},Model.prototype.mergeOption=function(d,b){Object(H.I)(this.option,d,!0)},Model.prototype.get=function(d,b){return null==d?this.option:this._doGet(this.parsePath(d),!b&&this.parentModel)},Model.prototype.getShallow=function(d,b){var x=this.option,T=null==x?x:x[d];if(null==T&&!b){var D=this.parentModel;D&&(T=D.getShallow(d))}return T},Model.prototype.getModel=function(d,b){var x=null!=d,T=x?this.parsePath(d):null;return new Model(x?this._doGet(T):this.option,b=b||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(T)),this.ecModel)},Model.prototype.isEmpty=function(){return null==this.option},Model.prototype.restoreData=function(){},Model.prototype.clone=function(){return new(0,this.constructor)(Object(H.d)(this.option))},Model.prototype.parsePath=function(d){return"string"==typeof d?d.split("."):d},Model.prototype.resolveParentPath=function(d){return d},Model.prototype.isAnimationEnabled=function(){if(!z.a.node&&this.option){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},Model.prototype._doGet=function(d,b){var x=this.option;if(!d)return x;for(var T=0;T<d.length&&(!d[T]||null!=(x=x&&"object"===Model_typeof(x)?x[d[T]]:null));T++);return null==x&&b&&(x=b._doGet(this.resolveParentPath(d),b.parentModel)),x},Model}();enableClassExtend(ro),no=ro,io=["__\0is_clz",di++].join("_"),no.prototype[io]=!0,no.isInstance=function(d){return!(!d||!d[io])}
808,Object(H.K)(ro,Jr),Object(H.K)(ro,to),Object(H.K)(ro,pi),Object(H.K)(ro,Zr);var oo=ro,ao=Math.round(10*Math.random());function getUID(d){return[d||"",ao++].join("_")}function inheritDefaultOption(d,b){return H.I(H.I({},d,!0),b,!0)}var so={},lo={},uo=z.a.domSupported&&(document.documentElement.lang||navigator.language||navigator.browserLanguage||"EN").toUpperCase().indexOf("ZH")>-1?"ZH":"EN";function registerLocale(d,b){d=d.toUpperCase(),lo[d]=new oo(b),so[d]=b}function getLocaleModel(d){return lo[d]}registerLocale("EN",{time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}}),registerLocale("ZH",{time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType}
808,",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}});var co=null;function getScaleBreakHelper(){return co}var ho={year:/({yyyy}|{yy})/,month:/({MMMM}|{MMM}|{MM}|{M})/,day:/({dd}|{d})/,hour:/({HH}|{H}|{hh}|{h})/,minute:/({mm}|{m})/,second:/({ss}|{s})/,millisecond:/({SSS}|{S})/},po={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}"},fo={year:"{yyyy}",month:"{yyyy}-{MM}",day:"{yyyy}-{MM}-{dd}",hour:"{yyyy}-{MM}-{dd} "+po.hour,minute:"{yyyy}-{MM}-{dd} "+po.minute,second:"{yyyy}-{MM}-{dd} "+po.second,millisecond:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},go=["year","month","day","hour","minute","second","millisecond"],mo=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function parseTimeAxisLabelFormatter(d){return H.C(d)||H.w(d)?d:function(d){d=d||{};var b={},x=!0;return H.k(go,(function(b){x&&(x=null==d[b])})),H.k(go,(function(T,D){var z=d[T];b[T]={};for(var W=null,U=D;U>=0;U--){var Y=go[U],Z=H.A(z)&&!H.t(z)?z[Y]:z,J=void 0;H.t(Z)?W=(J=Z.slice())[0]||"":H.C(Z)?J=[W=Z]:(null==W?W=po[T]:ho[Y].test(W)||(W=b[Y][Y][0]+" "+W),J=[W],x&&(J[1]="{primary|"+W+"}")),b[T][Y]=J}})),b}(d)}function pad(d,b){return"0000".substr(0,b-(d+="").length)+d}function getPrimaryTimeUnit(d){switch(d){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return d}}function format(d,b,x,T){var D=parseDate(d),z=D[fullYearGetterName(x)](),H=D[monthGetterName(x)]()+1,W=Math.floor((H-1)/3)+1,U=D[dateGetterName(x)](),Y=D["get"+(x?"UTC":"")+"Day"](),Z=D[hoursGetterName(x)](),J=(Z-1)%12+1,ee=D[minutesGetterName(x)](),te=D[secondsGetterName(x)](),ne=D[millisecondsGetterName(x)](),ie=Z>=12?"pm":"am",oe=ie.toUpperCase(),se=(T instanceof oo?T:getLocaleModel(T||uo)||lo.EN).getModel("time"),le=se.get("month"),ce=se.get("monthAbbr"),de=se.get("dayOfWeek"),he=se.get("dayOfWeekAbbr");return(b||"").replace(/{a}
vendor: 2,147 bytes, line 808
808/g,ie+"").replace(/{A}/g,oe+"").replace(/{yyyy}/g,z+"").replace(/{yy}/g,pad(z%100+"",2)).replace(/{Q}/g,W+"").replace(/{MMMM}/g,le[H-1]).replace(/{MMM}/g,ce[H-1]).replace(/{MM}/g,pad(H,2)).replace(/{M}/g,H+"").replace(/{dd}/g,pad(U,2)).replace(/{d}/g,U+"").replace(/{eeee}/g,de[Y]).replace(/{ee}/g,he[Y]).replace(/{e}/g,Y+"").replace(/{HH}/g,pad(Z,2)).replace(/{H}/g,Z+"").replace(/{hh}/g,pad(J+"",2)).replace(/{h}/g,J+"").replace(/{mm}/g,pad(ee,2)).replace(/{m}/g,ee+"").replace(/{ss}/g,pad(te,2)).replace(/{s}/g,te+"").replace(/{SSS}/g,pad(ne,3)).replace(/{S}/g,ne+"")}function getUnitFromValue(d,b){var x=parseDate(d),T=x[monthGetterName(b)]()+1,D=x[dateGetterName(b)](),z=x[hoursGetterName(b)](),H=x[minutesGetterName(b)](),W=x[secondsGetterName(b)](),U=0===x[millisecondsGetterName(b)](),Y=U&&0===W,Z=Y&&0===H,J=Z&&0===z,ee=J&&1===D;return ee&&1===T?"year":ee?"month":J?"day":Z?"hour":Y?"minute":U?"second":"millisecond"}function roundTime(d,b,x){switch(b){case"year":d[monthSetterName(x)](0);case"month":d[dateSetterName(x)](1);case"day":d[hoursSetterName(x)](0);case"hour":d[minutesSetterName(x)](0);case"minute":d[secondsSetterName(x)](0);case"second":d[millisecondsSetterName(x)](0)}return d}function fullYearGetterName(d){return d?"getUTCFullYear":"getFullYear"}function monthGetterName(d){return d?"getUTCMonth":"getMonth"}function dateGetterName(d){return d?"getUTCDate":"getDate"}function hoursGetterName(d){return d?"getUTCHours":"getHours"}function minutesGetterName(d){return d?"getUTCMinutes":"getMinutes"}function secondsGetterName(d){return d?"getUTCSeconds":"getSeconds"}function millisecondsGetterName(d){return d?"getUTCMilliseconds":"getMilliseconds"}function fullYearSetterName(d){return d?"setUTCFullYear":"setFullYear"}function monthSetterName(d){return d?"setUTCMonth":"setMonth"}function dateSetterName(d){return d?"setUTCDate":"setDate"}function hoursSetterName(d){return d?"setUTCHours":"setHours"}function minutesSetterName(d){return d?"setUTCMinutes":"setMinutes"}function secondsSetterName(d){return d?"setUTCSeconds":"setSeconds"}function millisecondsSetterName(d){return d?"setUTCMilliseconds":"setMilliseconds"}
vendor: 1,182 bytes, line 808
808function addCommas(d){if(!isNumeric(d))return H.C(d)?d:"-";var b=(d+"").split(".");return b[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(b.length>1?"."+b[1]:"")}function toCamelCase(d,b){return d=(d||"").toLowerCase().replace(/-(.)/g,(function(d,b){return b.toUpperCase()})),b&&d&&(d=d.charAt(0).toUpperCase()+d.slice(1)),d}var yo=H.M;function makeValueReadable(d,b,x){function stringToUserReadable(d){return d&&H.T(d)?d:"-"}function isNumberUserReadable(d){return!(null==d||isNaN(d)||!isFinite(d))}var T="time"===b,D=d instanceof Date;if(T||D){var z=T?parseDate(d):d;if(!isNaN(+z))return format(z,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",x);if(D)return"-"}if("ordinal"===b)return H.D(d)?stringToUserReadable(d):H.z(d)&&isNumberUserReadable(d)?d+"":"-";var W=numericToNumber(d);return isNumberUserReadable(W)?addCommas(W):H.D(d)?stringToUserReadable(d):"boolean"==typeof d?d+"":"-"}var vo=["a","b","c","d","e","f","g"],wrapVar=function(d,b){return"{"+d+(null==b?"":b)+"}"};function formatTpl(d,b,x){H.t(b)||(b=[b]);var T=b.length;if(!T)return"";for(var D=b[0].$vars||[],z=0;z<D.length;z++){var W=vo[z];d=d.replace(wrapVar(W),wrapVar(W,0))}for(var U=0;U<T;U++)for(var Y=0;Y<D.length;
808Y++){var Z=b[U][D[Y]];d=d.replace(wrapVar(vo[Y],U),x?encodeHTML(Z):Z)}return d}function convertToColorString(d,b){return b=b||"transparent",H.C(d)?d:H.A(d)&&d.colorStops&&(d.colorStops[0]||{}).color||b}function windowOpen(d,b){if("_blank"===b||"blank"===b){var x=window.open();x.opener=null,x.location.href=d}else window.open(d,b)}var bo={},xo={},_o=function(){function CoordinateSystemManager(){this._normalMasterList=[],this._nonSeriesBoxMasterList=[]}return CoordinateSystemManager.prototype.create=function(d,b){function dealCreate(x,T){var D=[];return H.k(x,(function(x,T){var z=x.create(d,b);D=D.concat(z||[])})),D}this._nonSeriesBoxMasterList=dealCreate(bo,!0),this._normalMasterList=dealCreate(xo,!1)},CoordinateSystemManager.prototype.update=function(d,b){H.k(this._normalMasterList,(function(x){x.update&&x.update(d,b)}))},CoordinateSystemManager.prototype.getCoordinateSystems=function(){return this._normalMasterList.concat(this._nonSeriesBoxMasterList)},CoordinateSystemManager.register=function(d,b){"matrix"!==d&&"calendar"!==d?xo[d]=b:bo[d]=b},CoordinateSystemManager.get=function(d){return xo[d]||bo[d]},CoordinateSystemManager}();var wo=1,So=2;var Mo=H.f();var Co=0,To=1,ko=2;function decideCoordSysUsageKind(d,b){var x=d.getShallow("coordinateSystem"),T=d.getShallow("coordinateSystemUsage",!0),D=Co;if(x){var z="series"===d.mainType;null==T&&(T=z?"data":"box"),"data"===T?(D=To,z||(D=Co)):"box"===T&&(D=ko,z||function(d){return!!bo[d]}(x)||(D=Co))}return{coordSysType:x,kind:D}}function injectCoordSysByOption(d){var b=d.targetModel,x=d.coordSysType,T=d.coordSysProvider,D=d.isDefaultDataCoordSys;d.allowNotFound;var z=decideCoordSysUsageKind(b),H=z.kind,W=z.coordSysType;if(D&&H!==To&&(H=To,W=x),H===Co||W!==x)return!1;var U=T(x,b);return!!U&&(H===To?b.coordinateSystem=U:b.boxCoordinateSystem=U,!0)}var CoordinateSystem_simpleCoordSysInjectionProvider=function(d,b){var x=b.getReferringComponents(d,si).models[0];return x&&x.coordinateSystem},Ao=_o,Po=H.k,Oo=["left","right","top","bottom","width","height"],Io=[["width","left","right"],["height","top","bottom"]];function boxLayout(d,b,x,T,D){var z=0,H=0;null==T&&(T=1/0),null==D&&(D=1/0);var W=0;b.eachChild((function(U,Y){var Z,J,ee=U.getBoundingRect(),te=b.childAt(Y+1),ne=te&&te.getBoundingRect();if("horizontal"===d){var ie=ee.width+(ne?-ne.x+ee.x:0);(Z=z+ie)>T||U.newline?(z=0,Z=ie,H+=W+x,W=ee.height):W=Math.max(W,ee.height)}else{var oe=ee.height+(ne?-ne.y+ee.y:0);(J=H+oe)>D||U.newline?(z+=W+x,H=0,J=oe,W=ee.width):W=Math.max(W,ee.width)}U.newline||(U.x=z,U.y=H,U.markRedraw(),"horizontal"===d?z=Z+x:H=J+x)}))}var Do=boxLayout;H.h(boxLayout,"vertical"),H.h(boxLayout,"horizontal");function getBoxLayoutParams(d,b){return{left:d.getShallow("left",b),top:d.getShallow("top",b),right:d.getShallow("right",b),bottom:d.getShallow("bottom",b),width:d.getShallow("width",b),height:d.getShallow("height",b)}}function getCircleLayout(d,b){var x=function(d,b){var x,T,D=createBoxLayoutReference(d,b,{enableLayoutOnlyByCenter:!0}),z=d.getBoxLayoutParams();if(D.type===Eo.point)T=D.refPoint,x=getLayoutRect(z,{width:b.getWidth(),height:b.getHeight()});else{var W=d.get("center"),U=H.t(W)?W:[W,W];x=getLayoutRect(z,D.refContainer),T=D.boxCoordFrom===So?D.refPoint:[number_parsePercent(U[0],x.width)+x.x,number_parsePercent(U[1],x.height)+x.y]}return{viewRect:x,center:T}}(d,b),T=x.viewRect,D=x.center,z=d.get("radius");H.t(z)||(z=[0,z]);var W=number_parsePercent(T.width,b.getWidth()),U=number_parsePercent(T.height,b.getHeight()),Y=Math.min(W,U),Z=number_parsePercent(z[0],Y/2),J=number_parsePercent(z[1],Y/2);return{cx:D[0],cy:D[1],r0:Z,r:J,viewRect:T}}function getLayoutRect(d,b,x){x=yo(x||0);var T=b.width,D=b.height,z=number_parsePercent(d.left,T),H=number_parsePercent(d.top,D),W=number_parsePercent(d.right,T),U=number_parsePercent(d.bottom,D),Y=number_parsePercent(d.width,T),Z=number_parsePercent(d.height,D),J=x[2]+x[0],ee=x[1]+x[3],te=d.aspect;switch(isNaN(Y)&&(Y=T-W-ee-z),isNaN(Z)&&(Z=D-U-J-H),null!=te&&(isNaN(Y)&&isNaN(Z)&&(te>T/D?Y=.8*T:Z=.8*D),isNaN(Y)&&(Y=te*Z),isNaN(Z)&&(Z=Y/te)),isNaN(z)&&(z=T-W-Y-ee),isNaN(H)&&(H=D-U-Z-J),d.left||d.right){case"center":z=T/2-Y/2-x[3];break;case"right":z=T-Y-ee}switch(d.top||d.bottom){case"middle":case"center":H=D/2-Z/2-x[0];break;case"bottom":H=D-Z-J}z=z||0,H=H||0,isNaN(Y)&&(Y=T-ee-z-(W||0)),isNaN(Z)&&(Z=D-J-H-(U||0));var ne=new Ee((b.x||0)+z+x[3],(b.y||0)+H+x[0],Y,Z);return ne.margin=x,ne}function applyPreserveAspect(d,b,x){var T=d.getShallow("preserveAspect",!0);if(!T)return b;var D=b.width/b.height;if(Math.abs(Math.atan(x)-Math.atan(D))<1e-9)return b;var z=d.getShallow("preserveAspectAlign",!0),H=d.getShallow("preserveAspectVerticalAlign",!0),W={width:b.
vendor: 4,256 bytes, line 808
808width,height:b.height},U="cover"===T;return D>x&&!U||D<x&&U?(W.width=b.height*x,"left"===z?W.left=0:"right"===z?W.right=0:W.left="center"):(W.height=b.width/x,"top"===H?W.top=0:"bottom"===H?W.bottom=0:W.top="middle"),getLayoutRect(W,b)}var Eo={rect:1,point:2};function createBoxLayoutReference(d,b,x){var T,D,z,H,W=d.boxCoordinateSystem;if(W){var U=function(d){var b=d.getShallow("coord",!0),x=wo;if(null==b){var T=Mo.get(d.type);T&&T.getCoord2&&(x=So,b=T.getCoord2(d))}return{coord:b,from:x}}(d),Y=U.coord,Z=U.from;if(W.dataToLayout){z=Eo.rect,H=Z;var J=W.dataToLayout(Y);T=J.contentRect||J.rect}else x&&x.enableLayoutOnlyByCenter&&W.dataToPoint&&(z=Eo.point,H=Z,D=W.dataToPoint(Y))}return null==z&&(z=Eo.rect),z===Eo.rect&&(T||(T={x:0,y:0,width:b.getWidth(),height:b.getHeight()}),D=[T.x+T.width/2,T.y+T.height/2]),{type:z,refContainer:T,refPoint:D,boxCoordFrom:H}}function positionElement(d,b,x,T,D,z){var W,U=!D||!D.hv||D.hv[0],Y=!D||!D.hv||D.hv[1],Z=D&&D.boundingMode||"all";if((z=z||d).x=d.x,z.y=d.y,!U&&!Y)return!1;if("raw"===Z)W="group"===d.type?new Ee(0,0,+b.width||0,+b.height||0):d.getBoundingRect();else if(W=d.getBoundingRect(),d.needLocalTransform()){var J=d.getLocalTransform();(W=W.clone()).applyTransform(J)}var ee=getLayoutRect(H.i({width:W.width,height:W.height},b),x,T),te=U?ee.x-W.x:0,ne=Y?ee.y-W.y:0;return"raw"===Z?(z.x=te,z.y=ne):(z.x+=te,z.y+=ne),z===d&&d.markRedraw(),!0}function fetchLayoutMode(d){var b=d.layoutMode||d.constructor.layoutMode;return H.A(b)?b:b?{type:b}:null}function mergeLayoutParam(d,b,x){var T=x&&x.ignoreSize;!H.t(T)&&(T=[T,T]);var D=merge(Io[0],0),z=merge(Io[1],1);function merge(x,D){var z={},W=0,U={},Y=0;if(Po(x,(function(b){U[b]=d[b]})),Po(x,(function(d){H.q(b,d)&&(z[d]=U[d]=b[d]),hasValue(z,d)&&W++,hasValue(U,d)&&Y++})),T[D])return hasValue(b,x[1])?U[x[2]]=null:hasValue(b,x[2])&&(U[x[1]]=null),U;if(2!==Y&&W){if(W>=2)return z;for(var Z=0;Z<x.length;Z++){var J=x[Z];if(!H.q(z,J)&&H.q(d,J)){z[J]=d[J];break}}return z}return U}function hasValue(d,b){return null!=d[b]&&"auto"!==d[b]}function copy(d,b,x){Po(d,(function(d){b[d]=x[d]}))}copy(Io[0],d,D),copy(Io[1],d,z)}function getLayoutParams(d){return copyLayoutParams({},d)}function copyLayoutParams(d,b){return b&&d&&Po(Oo,(function(x){H.q(b,x)&&(d[x]=b[x])})),d}var Lo=makeInner(),Ro=function(d){function ComponentModel(b,x,T){var D=d.call(this,b,x,T)||this;return D.uid=getUID("ec_cpt_model"),D}var b;return __extends(ComponentModel,d),ComponentModel.prototype.init=function(d,b,x){this.mergeDefaultAndTheme(d,x)},ComponentModel.prototype.mergeDefaultAndTheme=function(d,b){var x=fetchLayoutMode(this),T=x?getLayoutParams(d):{},D=b.getTheme();H.I(d,D.get(this.mainType)),H.I(d,this.getDefaultOption()),x&&mergeLayoutParam(d,T,x)},ComponentModel.prototype.mergeOption=function(d,b){H.I(this.option,d,!0);var x=fetchLayoutMode(this);x&&mergeLayoutParam(this.option,d,x)},ComponentModel.prototype.optionUpdated=function(d,b){},ComponentModel.prototype.getDefaultOption=function(){var d=this.constructor;if(!function(d){return!(!d||!d.___EC__EXTENDED_CLASS___)}(d))return d.defaultOption;var b=Lo(this);if(!b.defaultOption){for(var x=[],T=d;T;){var D=T.prototype.defaultOption;D&&x.push(D),T=T.superClass}for(var z={},W=x.length-1;W>=0;W--)z=H.I(z,x[W],!0);b.defaultOption=z}return b.defaultOption},ComponentModel.prototype.getReferringComponents=function(d,b){var x=d+"Index",T=d+"Id";return queryReferringComponents(this.ecModel,d,{index:this.get(x,!0),id:this.get(T,!0)},b)},ComponentModel.prototype.getBoxLayoutParams=function(){return getBoxLayoutParams(this,!1)},ComponentModel.prototype.getZLevelKey=function(){return""},ComponentModel.prototype.setZLevel=function(d){this.option.zlevel=d},ComponentModel.protoInitialize=((b=ComponentModel.prototype).type="component",b.id="",b.name="",b.mainType="",b.subType="",void(b.componentIndex=0)),ComponentModel}(oo);mountExtend(Ro,oo),enableClassManagement(Ro),function(d){var b={};d.registerSubTypeDefaulter=function(d,x){var T=parseClassType(d);b[T.main]=x},d.determineSubType=function(x,T){var D=T.type;if(!D){var z=parseClassType(x).main;d.hasSubTypes(x)&&b[z]&&(D=b[z](T))}return D}}(Ro),function(d,b){function createDependencyGraphItem(d,b){return d[b]||(d[b]={predecessor:[],successor:[]}),d[b]}
808d.topologicalTravel=function(d,x,T,D){if(d.length){var z=function(d){var x={},T=[];return H.k(d,(function(D){var z=createDependencyGraphItem(x,D),W=function(d,b){var x=[];return H.k(d,(function(d){H.r(b,d)>=0&&x.push(d)})),x}(z.originalDeps=b(D),d);z.entryCount=W.length,0===z.entryCount&&T.push(D),H.k(W,(function(d){H.r(z.predecessor,d)<0&&z.predecessor.push(d);var b=createDependencyGraphItem(x,d);H.r(b.successor,d)<0&&b.successor.push(D)}))})),{graph:x,noEntryList:T}}(x),W=z.graph,U=z.noEntryList,Y={};for(H.k(d,(function(d){Y[d]=!0}));U.length;){var Z=U.pop(),J=W[Z],ee=!!Y[Z];ee&&(T.call(D,Z,J.originalDeps.slice()),delete Y[Z]),H.k(J.successor,ee?removeEdgeAndAdd:removeEdge)}H.k(Y,(function(){throw new Error("")}))}function removeEdge(d){W[d].entryCount--,0===W[d].entryCount&&U.push(d)}function removeEdgeAndAdd(d){Y[d]=!0,removeEdge(d)}}}(Ro,(function(d){var b=[];H.k(Ro.getClassesByMainType(d),(function(d){b=b.concat(d.dependencies||d.prototype.dependencies||[])})),b=H.H(b,(function(d){return parseClassType(d).main})),"dataset"!==d&&H.r(b,"dataset")<=0&&b.unshift("dataset");return b}));var Bo=Ro,No={color:{},darkColor:{},size:{}},jo=No.color={theme:["#5070dd","#b6d634","#505372","#ff994d","#0ca8df","#ffd10a","#fb628b","#785db0","#3fbe95"],neutral00:"#fff",neutral05:"#f4f7fd",neutral10:"#e8ebf0",neutral15:"#dbdee4",neutral20:"#cfd2d7",neutral25:"#c3c5cb",neutral30:"#b7b9be",neutral35:"#aaacb2",neutral40:"#9ea0a5",neutral45:"#929399",neutral50:"#86878c",neutral55:"#797b7f",neutral60:"#6d6e73",neutral65:"#616266",neutral70:"#54555a",neutral75:"#48494d",neutral80:"#3c3c41",neutral85:"#303034",neutral90:"#232328",neutral95:"#17171b",neutral99:"#000",accent05:"#eff1f9",accent10:"#e0e4f2",accent15:"#d0d6ec",accent20:"#c0c9e6",accent25:"#b1bbdf",accent30:"#a1aed9",accent35:"#91a0d3",accent40:"#8292cc",accent45:"#7285c6",accent50:"#6578ba",accent55:"#5c6da9",accent60:"#536298",accent65:"#4a5787",accent70:"#404c76",accent75:"#374165",accent80:"#2e3654",accent85:"#252b43",accent90:"#1b2032",accent95:"#121521",transparent:"rgba(0,0,0,0)",highlight:"rgba(255,231,130,0.8)"};for(var Vo in Object(H.m)(jo,{primary:jo.neutral80,secondary:jo.neutral70,tertiary:jo.neutral60,quaternary:jo.neutral50,disabled:jo.neutral20,border:jo.neutral30,borderTint:jo.neutral20,borderShade:jo.neutral40,background:jo.neutral05,backgroundTint:"rgba(234,237,245,0.5)",backgroundTransparent:"rgba(255,255,255,0)",backgroundShade:jo.neutral10,shadow:"rgba(0,0,0,0.2)",shadowTint:"rgba(129,130,136,0.2)",axisLine:jo.neutral70,axisLineTint:jo.neutral40,axisTick:jo.neutral70,axisTickMinor:jo.neutral60,axisLabel:jo.neutral70,axisSplitLine:jo.neutral15,axisMinorSplitLine:jo.neutral05}),jo)if(jo.hasOwnProperty(Vo)){var zo=jo[Vo];"theme"===Vo?No.darkColor.theme=jo.theme.slice():"highlight"===Vo?No.darkColor.highlight="rgba(255,231,130,0.4)":0===Vo.indexOf("accent")?No.darkColor[Vo]=Object(yt.g)(zo,null,(function(d){return.5*d}),(function(d){return Math.min(1,1.3-d)})):No.darkColor[Vo]=Object(yt.g)(zo,null,(function(d){return.9*d}),(function(d){return 1-Math.pow(d,1.5)}))}No.size={xxs:2,xs:5,s:10,m:15,l:20,xl:30,xxl:40,xxxl:50};var Fo=No,Ho="";"undefined"!=typeof navigator&&(Ho=navigator.platform||"");var Go="rgba(0, 0, 0, 0.2)",$o=Fo.color.theme[0],Wo=Object(yt.g)($o,null,null,.9),Uo={darkMode:"auto",colorBy:"series",color:Fo.color.theme,gradientColor:[Wo,$o],aria:{decal:{decals:[{color:Go,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:Go,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:Go,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:Go,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:Go,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:Go,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:Ho.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1}
808,Yo=Object(H.f)(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),qo=1,Zo=2,Xo=3,Ko=makeInner();function makeSeriesEncodeForAxisCoordSys(d,b,x){var T={},D=querySeriesUpstreamDatasetModel(b);if(!D||!d)return T;var z,W,U=[],Y=[],Z=b.ecModel,J=Ko(Z).datasetMap,ee=D.uid+"_"+x.seriesLayoutBy;d=d.slice(),Object(H.k)(d,(function(b,x){var D=Object(H.A)(b)?b:d[x]={name:b};"ordinal"===D.type&&null==z&&(z=x,W=getDataDimCountOnCoordDim(D)),T[D.name]=[]}));var te=J.get(ee)||J.set(ee,{categoryWayDim:W,valueWayDim:0});function pushDim(d,b,x){for(var T=0;T<x;T++)d.push(b+T)}function getDataDimCountOnCoordDim(d){var b=d.dimsDef;return b?b.length:1}return Object(H.k)(d,(function(d,b){var x=d.name,D=getDataDimCountOnCoordDim(d);if(null==z){var H=te.valueWayDim;pushDim(T[x],H,D),pushDim(Y,H,D),te.valueWayDim+=D}else if(z===b)pushDim(T[x],0,D),pushDim(U,0,D);else{H=te.categoryWayDim;pushDim(T[x],H,D),pushDim(Y,H,D),te.categoryWayDim+=D}})),U.length&&(T.itemName=U),Y.length&&(T.seriesName=Y),T}function makeSeriesEncodeForNameBased(d,b,x){var T={};if(!querySeriesUpstreamDatasetModel(d))return T;var D,z=b.sourceFormat,W=b.dimensionsDefine;"objectRows"!==z&&"keyedColumns"!==z||Object(H.k)(W,(function(d,b){"name"===(Object(H.A)(d)?d.name:d)&&(D=b)}));var U=function(){for(var d={},T={},H=[],U=0,Y=Math.min(5,x);U<Y;U++){var Z=doGuessOrdinal(b.data,z,b.seriesLayoutBy,W,b.startIndex,U);H.push(Z);var J=Z===Xo;if(J&&null==d.v&&U!==D&&(d.v=U),(null==d.n||d.n===d.v||!J&&H[d.n]===Xo)&&(d.n=U),fulfilled(d)&&H[d.n]!==Xo)return d;J||(Z===Zo&&null==T.v&&U!==D&&(T.v=U),null!=T.n&&T.n!==T.v||(T.n=U))}function fulfilled(d){return null!=d.v&&null!=d.n}return fulfilled(d)?d:fulfilled(T)?T:null}();if(U){T.value=[U.v];var Y=null!=D?D:U.n;T.itemName=[Y],T.seriesName=[Y]}return T}function querySeriesUpstreamDatasetModel(d){if(!d.get("data",!0))return queryReferringComponents(d.ecModel,"dataset",{index:d.get("datasetIndex",!0),id:d.get("datasetId",!0)},si).models[0]}function guessOrdinal(d,b){return doGuessOrdinal(d.data,d.sourceFormat,d.seriesLayoutBy,d.dimensionsDefine,d.startIndex,b)}function doGuessOrdinal(d,b,x,T,D,z){var W,U,Y;if(Object(H.E)(d))return Xo;if(T){var Z=T[z];Object(H.A)(Z)?(U=Z.name,Y=Z.type):Object(H.C)(Z)&&(U=Z)}if(null!=Y)return"ordinal"===Y?qo:Xo;if("arrayRows"===b){var J=d;if("row"===x){for(var ee=J[z],te=0;te<(ee||[]).length&&te<5;te++)if(null!=(W=detectValue(ee[D+te])))return W}else for(te=0;te<J.length&&te<5;te++){var ne=J[D+te];if(ne&&null!=(W=detectValue(ne[z])))return W}}else if("objectRows"===b){var ie=d;if(!U)return Xo;for(te=0;te<ie.length&&te<5;te++){if((se=ie[te])&&null!=(W=detectValue(se[U])))return W}}else if("keyedColumns"===b){if(!U)return Xo;if(!(ee=d[U])||Object(H.E)(ee))return Xo;for(te=0;te<ee.length&&te<5;te++)if(null!=(W=detectValue(ee[te])))return W}else if("original"===b){var oe=d;for(te=0;te<oe.length&&te<5;te++){var se,le=getDataItemValue(se=oe[te]);if(!Object(H.t)(le))return Xo;if(null!=(W=detectValue(le[z])))return W}}function detectValue(d){var b=Object(H.C)(d);return null!=d&&Number.isFinite(Number(d))&&""!==d?b?Zo:Xo:b&&"-"!==d?qo:void 0}return Xo}var Jo=Object(H.f)();var Qo=makeInner(),ea=makeInner(),ta=function(){function PaletteMixin(){}return PaletteMixin.prototype.getColorFromPalette=function(d,b,x){var T=normalizeToArray(this.get("color",!0)),D=this.get("colorLayer",!0);return getFromPalette(this,Qo,T,D,d,b,x)},PaletteMixin.prototype.clearColorPalette=function(){var d,b;(b=Qo)(d=this).paletteIdx=0,b(d).paletteNameMap={}},PaletteMixin}();function getDecalFromPalette(d,b,x,T){var D=normalizeToArray(d.get(["aria","decal","decals"]));return getFromPalette(d,ea,D,null,b,x,T)}function getFromPalette(d,b,x,T,D,z,H){var W=b(z=z||d),U=W.paletteIdx||0,Y=W.paletteNameMap=W.paletteNameMap||{};if(Y.hasOwnProperty(D))return Y[D];var Z=null!=H&&T?function(d,b){for(var x=d.length,T=0;T<x;T++)if(d[T].length>b)return d[T];return d[x-1]}(T,H):x;if((Z=Z||x)&&Z.length){var J=Z[U];return D&&(Y[D]=J),W.paletteIdx=(U+1)%Z.length,J}}var na,ia,ra,oa={},aa="undefined"!=typeof console&&console.warn&&console.log;function outputLog(d,b,x){if(aa){if(x){if(oa[b])return;oa[b]=!0}console[d]("[ECharts] "+b)}}function error(d,b){outputLog("error",d,b)}function throwError(d){throw new Error(d)}function Global_typeof(d){return(Global_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}var sa=function(d){function GlobalModel(){return null!==d&&d.apply(this,arguments)||this}return __extends(GlobalModel,d),GlobalModel.prototype.init=function(d,b,x,T,D,z){T=T||{},this.option=null,this._theme=new oo(T),this._locale=new oo(D),this._optionManager=z},GlobalModel.prototype.setOption=function(d,b,x){var T=normalizeSetOptionInput(b);this._optionManager.setOption(d,x,T),this._resetOption(null,T)},GlobalModel.prototype.resetOption=function(d,b){return this._resetOption(d,normalizeSetOptionInput(b))},GlobalModel.prototype._resetOption=function(d,b){var x=!1,T=this._optionManager;if(!d||"recreate"===d){var D=T.mountOption("recreate"===d);0,this.option&&"recreate"!==d?(this.restoreData(),this._mergeOption(D,b)):ra(this,D),x=!0}if("timeline"!==d&&"media"!==d||this.restoreData(),!d||"recreate"===d||"timeline"===d){var z=T.getTimelineOption(this);z&&(x=!0,this._mergeOption(z,b))}if(!d||"recreate"===d||"media"===d){var W=T.getMediaOption(this);W.length&&Object(H.k)(W,(function(d){x=!0,this._mergeOption(d,b)}),this)}return x},GlobalModel.prototype.mergeOption=function(d){this._mergeOption(d,null)},GlobalModel.prototype._mergeOption=function(d,b){var x=this.option,T=this._componentsMap,D=this._componentsCount,z=[],W=Object(H.f)(),U=b&&b.replaceMergeMainTypeMap;Ko(this).datasetMap=Object(H.f)(),Object(H.k)(d,(function(d,b){null!=d&&(Bo.hasClass(b)?b&&(z.push(b),W.set(b,!0)):x[b]=null==x[b]?Object(H.d)(d):Object(H.I)(x[b],d,!0))})),U&&U.each((function(d,b){Bo.hasClass(b)&&!W.get(b)&&(z.push(b),W.set(b,!0))})),Bo.topologicalTravel(z,Bo.getAllClassMainTypes(),(function(b){var z=function(d,b,x){var T=Jo.get(b);if(!T)return x;var D=T(d);
808return D?x.concat(D):x}(this,b,normalizeToArray(d[b])),W=T.get(b),Y=W?U&&U.get(b)?"replaceMerge":"normalMerge":"replaceAll",Z=mappingToExists(W,z,Y);(function(d,b,x){Object(H.k)(d,(function(d){var T=d.newOption;Object(H.A)(T)&&(d.keyInfo.mainType=b,d.keyInfo.subType=function(d,b,x,T){return b.type?b.type:x?x.subType:T.determineSubType(d,b)}(b,T,d.existing,x))}))})(Z,b,Bo),x[b]=null,T.set(b,null),D.set(b,0);var J,ee=[],te=[],ne=0;Object(H.k)(Z,(function(d,x){var T=d.existing,D=d.newOption;if(D){var z="series"===b,W=Bo.getClass(b,d.keyInfo.subType,!z);if(!W)return;if("tooltip"===b){if(J)return void 0;J=!0}if(T&&T.constructor===W)T.name=d.keyInfo.name,T.mergeOption(D,this),T.optionUpdated(D,!1);else{var U=Object(H.m)({componentIndex:x},d.keyInfo);T=new W(D,this,this,U),Object(H.m)(T,U),d.brandNew&&(T.__requireNewView=!0),T.init(D,this,this),T.optionUpdated(null,!0)}}else T&&(T.mergeOption({},this),T.optionUpdated({},!1));T?(ee.push(T.option),te.push(T),ne++):(ee.push(void 0),te.push(void 0))}),this),x[b]=ee,T.set(b,te),D.set(b,ne),"series"===b&&na(this)}),this),this._seriesIndices||na(this)},GlobalModel.prototype.getOption=function(){var d=Object(H.d)(this.option);return Object(H.k)(d,(function(b,x){if(Bo.hasClass(x)){for(var T=normalizeToArray(b),D=T.length,z=!1,H=D-1;H>=0;H--)T[H]&&!isComponentIdInternal(T[H])?z=!0:(T[H]=null,!z&&D--);T.length=D,d[x]=T}})),delete d["\0_ec_inner"],d},GlobalModel.prototype.setTheme=function(d){this._theme=new oo(d),this._resetOption("recreate",null)},GlobalModel.prototype.getTheme=function(){return this._theme},GlobalModel.prototype.getLocaleModel=function(){return this._locale},GlobalModel.prototype.setUpdatePayload=function(d){this._payload=d},GlobalModel.prototype.getUpdatePayload=function(){return this._payload},GlobalModel.prototype.getComponent=function(d,b){var x=this._componentsMap.get(d);if(x){var T=x[b||0];if(T)return T;if(null==b)for(var D=0;D<x.length;D++)if(x[D])return x[D]}},GlobalModel.prototype.queryComponents=function(d){var b=d.mainType;if(!b)return[];var x,T=d.index,D=d.id,z=d.name,W=this._componentsMap.get(b);return W&&W.length?(null!=T?(x=[],Object(H.k)(normalizeToArray(T),(function(d){W[d]&&x.push(W[d])}))):x=null!=D?queryByIdOrName("id",D,W):null!=z?queryByIdOrName("name",z,W):Object(H.n)(W,(function(d){return!!d})),filterBySubType(x,d)):[]},GlobalModel.prototype.findComponents=function(d){var b,x,T,D,z,W=d.query,U=d.mainType,Y=(x=U+"Index",T=U+"Id",D=U+"Name",!(b=W)||null==b[x]&&null==b[T]&&null==b[D]?null:{mainType:U,index:b[x],id:b[T],name:b[D]}),Z=Y?this.queryComponents(Y):Object(H.n)(this._componentsMap.get(U),(function(d){return!!d}));return z=filterBySubType(Z,d),d.filter?Object(H.n)(z,d.filter):z},GlobalModel.prototype.eachComponent=function(d,b,x){var T=this._componentsMap;if(Object(H.w)(d)){var D=b,z=d;T.each((function(d,b){for(var x=0;d&&x<d.length;x++){var T=d[x];T&&z.call(D,b,T,T.componentIndex)}}))}else for(var W=Object(H.C)(d)?T.get(d):Object(H.A)(d)?this.findComponents(d):null,U=0;W&&U<W.length;U++){var Y=W[U];Y&&b.call(x,Y,Y.componentIndex)}},GlobalModel.prototype.getSeriesByName=function(d){var b=convertOptionIdName(d,null);return Object(H.n)(this._componentsMap.get("series"),(function(d){return!!d&&null!=b&&d.name===b}))},GlobalModel.prototype.getSeriesByIndex=function(d){return this._componentsMap.get("series")[d]},GlobalModel.prototype.getSeriesByType=function(d){return Object(H.n)(this._componentsMap.get("series"),(function(b){return!!b&&b.subType===d}))},GlobalModel.prototype.getSeries=function(){return Object(H.n)(this._componentsMap.get("series"),(function(d){return!!d}))},GlobalModel.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},GlobalModel.prototype.eachSeries=function(d,b){ia(this),Object(H.k)(this._seriesIndices,(function(x){var T=this._componentsMap.get("series")[x];d.call(b,T,x)}),this)},GlobalModel.prototype.eachRawSeries=function(d,b){Object(H.k)(this._componentsMap.get("series"),(function(x){x&&d.call(b,x,x.componentIndex)}))},GlobalModel.prototype.eachSeriesByType=function(d,b,x){ia(this),Object(H.k)(this._seriesIndices,(function(T){var D=this._componentsMap.get("series")[T];D.subType===d&&b.call(x,D,T)}),this)},GlobalModel.prototype.eachRawSeriesByType=function(d,b,x){return Object(H.k)(this.getSeriesByType(d),b,x)},GlobalModel.prototype.isSeriesFiltered=function(d){return ia(this),null==this._seriesIndicesMap.get(d.componentIndex)},GlobalModel.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},GlobalModel.prototype.filterSeries=function(d,b){ia(this);var x=[];Object(H.k)(this._seriesIndices,(function(T){var D=this._componentsMap.get("series")[T];d.call(b,D,T)&&x.push(T)}),this),this._seriesIndices=x,this._seriesIndicesMap=Object(H.f)(x)},GlobalModel.prototype.restoreData=function(d){na(this);var b=this._componentsMap,x=[];b.each((function(d,b){Bo.hasClass(b)&&x.push(b)})),Bo.topologicalTravel(x,Bo.getAllClassMainTypes(),(function(x){Object(H.k)(b.get(x),(function(b){!b||"series"===x&&function(d,b){if(b){var x=b.seriesIndex,T=b.seriesId,D=b.seriesName;return null!=x&&d.componentIndex!==x||null!=T&&d.id!==T||null!=D&&d.name!==D}}(b,d)||b.restoreData()}))}))},GlobalModel.internalField=(na=function(d){var b=d._seriesIndices=[];Object(H.k)(d._componentsMap.get("series"),(function(d){d&&b.push(d.componentIndex)})),d._seriesIndicesMap=Object(H.f)(b)},ia=function(d){},void(ra=function(d,b){d.option={},d.option["\0_ec_inner"]=1,d._componentsMap=Object(H.f)({series:[]}),d._componentsCount=Object(H.f)();var x,T,D,z=b.aria;Object(H.A)(z)&&null==z.enabled&&(z.enabled=!0),x=b,T=d._theme.option,D=x.color&&!x.colorLayer,Object(H.k)(T,(function(d,b){"colorLayer"===b&&D||"color"===b&&x.color||Bo.hasClass(b)||("object"===Global_typeof(d)?x[b]=x[b]?Object(H.I)(x[b],d,!1):Object(H.d)(d):null==x[b]&&(x[b]=d))})),Object(H.I)(b,Uo,!1),d._mergeOption(b,null)})),GlobalModel}(oo);function queryByIdOrName(d,b,x){if(Object(H.t)(b)){var T=Object(H.f)();return Object(H.k)(b,(function(d){null!=d&&(null!=convertOptionIdName(d,null)&&T.set(d,!0))})),Object(H.n)(x,(function(b){return b&&T.get(b[d])}))}var D=convertOptionIdName(b,null);return Object(H.n)(x,(function(b){return b&&null!=D&&b[d]===D}))}function filterBySubType(d,b){return b.hasOwnProperty("subType")?Object(H.n)(d,(function(d){return d&&d.subType===b.subType})):d}function normalizeSetOptionInput(d){var b=Object(H.f)();return d&&Object(H.k)(normalizeToArray(d.replaceMerge),(function(d){b.set(d,!0)})),{replaceMergeMainTypeMap:b}}Object(H.K)(sa,ta);var la=sa,ua=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],core_ExtensionAPI=function(d){H.k(ua,(function(b){this[b]=H.c(d[b],d)}),this)},ca=/^(min|max)?(.+)$/;function applyMediaQuery(d,b,x){var T={width:b,height:x,aspectratio:b/x},D=!0;return Object(H.k)(d,(function(d,b){var x=b.match(ca);if(x&&x[1]&&x[2]){var z=x[1],H=x[2].toLowerCase();(function(d,b,x){return"min"===x?d>=b:"max"===x?d<=b:d===b})(T[H],d,z)||(D=!1)}})),D}var da=function(){function OptionManager(d){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=d}return OptionManager.prototype.setOption=function(d,b,x){d&&(Object(H.k)(normalizeToArray(d.series),(function(d){d&&d.data&&Object(H.E)(d.data)&&Object(H.R)(d.data)})),Object(H.k)(normalizeToArray(d.dataset),(function(d){d&&d.source&&Object(H.E)(d.source)&&Object(H.R)(d.source)}))),d=Object(H.d)(d);var T=this._optionBackup,D=function(d,b,x){var T,D,z=[],W=d.baseOption,U=d.timeline,Y=d.options,Z=d.media,J=!!d.media,ee=!!(Y||U||W&&W.timeline);W?(D=W).timeline||(D.timeline=U):((ee||J)&&(d.options=d.media=null),D=d);J&&Object(H.t)(Z)&&Object(H.k)(Z,(function(d){d&&d.option&&(d.query?z.push(d):T||(T=d))}));function doPreprocess(d){Object(H.k)(b,(function(b){b(d,x)}))}return doPreprocess(D),Object(H.k)(Y,(function(d){return doPreprocess(d)})),Object(H.k)(z,(function(d){return doPreprocess(d.option)})),{baseOption:D,timelineOptions:Y||[],mediaDefault:T,mediaList:z}}(d,b,!T);this._newBaseOption=D.baseOption,T?(D.timelineOptions.length&&(T.timelineOptions=D.timelineOptions),D.mediaList.length&&(T.mediaList=D.mediaList),D.mediaDefault&&(T.mediaDefault=D.mediaDefault)):this._optionBackup=D},OptionManager.prototype.mountOption=function(d){var b=this._optionBackup;return this._timelineOptions=b.timelineOptions,this._mediaList=b.mediaList,this._mediaDefault=b.mediaDefault,this._currentMediaIndices=[],Object(H.d)(d?b.baseOption:this._newBaseOption)},OptionManager.prototype.getTimelineOption=function(d){var b,x=this._timelineOptions;if(x.length){var T=d.getComponent("timeline");
vendor: 4,608 bytes, line 808
808T&&(b=Object(H.d)(x[T.getCurrentIndex()]))}return b},OptionManager.prototype.getMediaOption=function(d){var b,x,T=this._api.getWidth(),D=this._api.getHeight(),z=this._mediaList,W=this._mediaDefault,U=[],Y=[];if(!z.length&&!W)return Y;for(var Z=0,J=z.length;Z<J;Z++)applyMediaQuery(z[Z].query,T,D)&&U.push(Z);return!U.length&&W&&(U=[-1]),U.length&&(b=U,x=this._currentMediaIndices,b.join(",")!==x.join(","))&&(Y=Object(H.H)(U,(function(d){return Object(H.d)(-1===d?W.option:z[d].option)}))),this._currentMediaIndices=U,Y},OptionManager}(),ha=H.k,pa=H.A,fa=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function compatEC2ItemStyle(d){var b=d&&d.itemStyle;if(b)for(var x=0,T=fa.length;x<T;x++){var D=fa[x],z=b.normal,W=b.emphasis;z&&z[D]&&(d[D]=d[D]||{},d[D].normal?H.I(d[D].normal,z[D]):d[D].normal=z[D],z[D]=null),W&&W[D]&&(d[D]=d[D]||{},d[D].emphasis?H.I(d[D].emphasis,W[D]):d[D].emphasis=W[D],W[D]=null)}}function convertNormalEmphasis(d,b,x){if(d&&d[b]&&(d[b].normal||d[b].emphasis)){var T=d[b].normal,D=d[b].emphasis;T&&(x?(d[b].normal=d[b].emphasis=null,H.i(d[b],T)):d[b]=T),D&&(d.emphasis=d.emphasis||{},d.emphasis[b]=D,D.focus&&(d.emphasis.focus=D.focus),D.blurScope&&(d.emphasis.blurScope=D.blurScope))}}function removeEC3NormalStatus(d){convertNormalEmphasis(d,"itemStyle"),convertNormalEmphasis(d,"lineStyle"),convertNormalEmphasis(d,"areaStyle"),convertNormalEmphasis(d,"label"),convertNormalEmphasis(d,"labelLine"),convertNormalEmphasis(d,"upperLabel"),convertNormalEmphasis(d,"edgeLabel")}function compatTextStyle(d,b){var x=pa(d)&&d[b],T=pa(x)&&x.textStyle;if(T){0;for(var D=0,z=oi.length;D<z;D++){var H=oi[D];T.hasOwnProperty(H)&&(x[H]=T[H])}}}function compatEC3CommonStyles(d){d&&(removeEC3NormalStatus(d),compatTextStyle(d,"label"),d.emphasis&&compatTextStyle(d.emphasis,"label"))}function toArr(d){return H.t(d)?d:d?[d]:[]}function toObj(d){return(H.t(d)?d[0]:d)||{}}function globalCompatStyle(d,b){ha(toArr(d.series),(function(d){pa(d)&&function(d){if(pa(d)){compatEC2ItemStyle(d),removeEC3NormalStatus(d),compatTextStyle(d,"label"),compatTextStyle(d,"upperLabel"),compatTextStyle(d,"edgeLabel"),d.emphasis&&(compatTextStyle(d.emphasis,"label"),compatTextStyle(d.emphasis,"upperLabel"),compatTextStyle(d.emphasis,"edgeLabel"));var b=d.markPoint;b&&(compatEC2ItemStyle(b),compatEC3CommonStyles(b));var x=d.markLine;x&&(compatEC2ItemStyle(x),compatEC3CommonStyles(x));var T=d.markArea;T&&compatEC3CommonStyles(T);var D=d.data;if("graph"===d.type){D=D||d.nodes;var z=d.links||d.edges;if(z&&!H.E(z))for(var W=0;W<z.length;W++)compatEC3CommonStyles(z[W]);H.k(d.categories,(function(d){removeEC3NormalStatus(d)}))}if(D&&!H.E(D))for(W=0;W<D.length;W++)compatEC3CommonStyles(D[W]);if((b=d.markPoint)&&b.data){var U=b.data;for(W=0;W<U.length;W++)compatEC3CommonStyles(U[W])}if((x=d.markLine)&&x.data){var Y=x.data;for(W=0;W<Y.length;W++)H.t(Y[W])?(compatEC3CommonStyles(Y[W][0]),compatEC3CommonStyles(Y[W][1])):compatEC3CommonStyles(Y[W])}"gauge"===d.type?(compatTextStyle(d,"axisLabel"),compatTextStyle(d,"title"),compatTextStyle(d,"detail")):"treemap"===d.type?(convertNormalEmphasis(d.breadcrumb,"itemStyle"),H.k(d.levels,(function(d){removeEC3NormalStatus(d)}))):"tree"===d.type&&removeEC3NormalStatus(d.leaves)}}(d)}));var x=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];b&&x.push("valueAxis","categoryAxis","logAxis","timeAxis"),ha(x,(function(b){ha(toArr(d[b]),(function(d){d&&(compatTextStyle(d,"axisLabel"),compatTextStyle(d.axisPointer,"label"))}))})),ha(toArr(d.parallel),(function(d){var b=d&&d.parallelAxisDefault;compatTextStyle(b,"axisLabel"),compatTextStyle(b&&b.axisPointer,"label")})),ha(toArr(d.calendar),(function(d){convertNormalEmphasis(d,"itemStyle"),compatTextStyle(d,"dayLabel"),compatTextStyle(d,"monthLabel"),compatTextStyle(d,"yearLabel")})),ha(toArr(d.radar),(function(d){compatTextStyle(d,"name"),d.name&&null==d.axisName&&(d.axisName=d.name,delete d.name),null!=d.nameGap&&null==d.axisNameGap&&(d.axisNameGap=d.nameGap,delete d.nameGap)})),ha(toArr(d.geo),(function(d){pa(d)&&(compatEC3CommonStyles(d),ha(toArr(d.regions),(function(d){compatEC3CommonStyles(d)})))})),ha(toArr(d.timeline),(function(d){compatEC3CommonStyles(d),convertNormalEmphasis(d,"label"),convertNormalEmphasis(d,"itemStyle"),convertNormalEmphasis(d,"controlStyle",!0);var b=d.data;H.t(b)&&H.k(b,(function(d){H.A(d)&&(convertNormalEmphasis(d,"label"),convertNormalEmphasis(d,"itemStyle"))}))})),ha(toArr(d.toolbox),(function(d){convertNormalEmphasis(d,"iconStyle"),ha(d.feature,(function(d){convertNormalEmphasis(d,"iconStyle")}
808))})),compatTextStyle(toObj(d.axisPointer),"label"),compatTextStyle(toObj(d.tooltip).axisPointer,"label")}function backwardCompat_typeof(d){return(backwardCompat_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}function compatLayoutProperties(d){d&&Object(H.k)(ga,(function(b){b[0]in d&&!(b[1]in d)&&(d[b[1]]=d[b[0]])}))}var ga=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],ma=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],ya=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function compatBarItemStyle(d){var b=d&&d.itemStyle;if(b)for(var x=0;x<ya.length;x++){var T=ya[x][1],D=ya[x][0];null!=b[T]&&(b[D]=b[T])}}function compatPieLabel(d){d&&"edge"===d.alignTo&&null!=d.margin&&null==d.edgeDistance&&(d.edgeDistance=d.margin)}function compatSunburstState(d){d&&d.downplay&&!d.blur&&(d.blur=d.downplay)}function globalBackwardCompat(d,b){globalCompatStyle(d,b),d.series=normalizeToArray(d.series),Object(H.k)(d.series,(function(d){if(Object(H.A)(d)){var b=d.type;if("line"===b)null!=d.clipOverflow&&(d.clip=d.clipOverflow);else if("pie"===b||"gauge"===b){if(null!=d.clockWise&&(d.clockwise=d.clockWise),compatPieLabel(d.label),(D=d.data)&&!Object(H.E)(D))for(var x=0;x<D.length;x++)compatPieLabel(D[x]);null!=d.hoverOffset&&(d.emphasis=d.emphasis||{},(d.emphasis.scaleSize=null)&&(d.emphasis.scaleSize=d.hoverOffset))}else if("gauge"===b){var T=function(d,b){for(var x=b.split(","),T=d,D=0;D<x.length&&null!=(T=T&&T[x[D]]);D++);return T}(d,"pointer.color");null!=T&&function(d,b,x,T){for(var D,z=b.split(","),H=d,W=0;W<z.length-1;W++)null==H[D=z[W]]&&(H[D]={}),H=H[D];(T||null==H[z[W]])&&(H[z[W]]=x)}(d,"itemStyle.color",T)}else if("bar"===b){var D;if(compatBarItemStyle(d),compatBarItemStyle(d.backgroundStyle),compatBarItemStyle(d.emphasis),(D=d.data)&&!Object(H.E)(D))for(x=0;x<D.length;x++)"object"===backwardCompat_typeof(D[x])&&(compatBarItemStyle(D[x]),compatBarItemStyle(D[x]&&D[x].emphasis))}else if("sunburst"===b){var z=d.highlightPolicy;z&&(d.emphasis=d.emphasis||{},d.emphasis.focus||(d.emphasis.focus=z)),compatSunburstState(d),function traverseTree(d,b){if(d)for(var x=0;x<d.length;x++)b(d[x]),d[x]&&traverseTree(d[x].children,b)}(d.data,compatSunburstState)}else"graph"===b||"sankey"===b?function(d){d&&null!=d.focusNodeAdjacency&&(d.emphasis=d.emphasis||{},null==d.emphasis.focus&&(d.emphasis.focus="adjacency"))}(d):"map"===b&&(d.mapType&&!d.map&&(d.map=d.mapType),d.mapLocation&&Object(H.i)(d,d.mapLocation));null!=d.hoverAnimation&&(d.emphasis=d.emphasis||{},d.emphasis&&null==d.emphasis.scale&&(d.emphasis.scale=d.hoverAnimation)),compatLayoutProperties(d)}})),d.dataRange&&(d.visualMap=d.dataRange),Object(H.k)(ma,(function(b){var x=d[b];x&&(Object(H.t)(x)||(x=[x]),Object(H.k)(x,(function(d){compatLayoutProperties(d)})))}))}var va,ba,xa,wa,Sa,Ma,Source_SourceImpl=function(d){this.data=d.data||("keyedColumns"===d.sourceFormat?{}:[]),this.sourceFormat=d.sourceFormat||"unknown",this.seriesLayoutBy=d.seriesLayoutBy||"column",this.startIndex=d.startIndex||
8080,this.dimensionsDetectedCount=d.dimensionsDetectedCount,this.metaRawOption=d.metaRawOption;var b=this.dimensionsDefine=d.dimensionsDefine;if(b)for(var x=0;x<b.length;x++){var T=b[x];null==T.type&&guessOrdinal(this,x)===qo&&(T.type="ordinal")}};function isSourceInstance(d){return d instanceof Source_SourceImpl}function createSource(d,b,x){x=x||detectSourceFormat(d);var T=b.seriesLayoutBy,D=function(d,b,x,T,D){var z,W;if(!d)return{dimensionsDefine:normalizeDimensionsOption(D),startIndex:W,dimensionsDetectedCount:z};if("arrayRows"===b){var U=d;"auto"===T||null==T?arrayRowsTravelFirst((function(d){null!=d&&"-"!==d&&(Object(H.C)(d)?null==W&&(W=1):W=0)}),x,U,10):W=Object(H.z)(T)?T:T?1:0,D||1!==W||(D=[],arrayRowsTravelFirst((function(d,b){D[b]=null!=d?d+"":""}),x,U,1/0)),z=D?D.length:"row"===x?U.length:U[0]?U[0].length:null}else if("objectRows"===b)D||(D=function(d){var b,x=0;for(;x<d.length&&!(b=d[x++]););if(b)return Object(H.F)(b)}(d));else if("keyedColumns"===b)D||(D=[],Object(H.k)(d,(function(d,b){D.push(b)})));else if("original"===b){var Y=getDataItemValue(d[0]);z=Object(H.t)(Y)&&Y.length||1}return{startIndex:W,dimensionsDefine:normalizeDimensionsOption(D),dimensionsDetectedCount:z}}(d,x,T,b.sourceHeader,b.dimensions);return new Source_SourceImpl({data:d,sourceFormat:x,seriesLayoutBy:T,dimensionsDefine:D.dimensionsDefine,startIndex:D.startIndex,dimensionsDetectedCount:D.dimensionsDetectedCount,metaRawOption:Object(H.d)(b)})}function createSourceFromSeriesDataOption(d){return new Source_SourceImpl({data:d,sourceFormat:Object(H.E)(d)?"typedArray":"original"})}function detectSourceFormat(d){var b="unknown";if(Object(H.E)(d))b="typedArray";else if(Object(H.t)(d)){0===d.length&&(b="arrayRows");for(var x=0,T=d.length;x<T;x++){var D=d[x];if(null!=D){if(Object(H.t)(D)||Object(H.E)(D)){b="arrayRows";break}if(Object(H.A)(D)){b="objectRows";break}}}}else if(Object(H.A)(d))for(var z in d)if(Object(H.q)(d,z)&&Object(H.u)(d[z])){b="keyedColumns";break}return b}function normalizeDimensionsOption(d){if(d){var b=Object(H.f)();return Object(H.H)(d,(function(d,x){var T={name:(d=Object(H.A)(d)?d:{name:d}).name,displayName:d.displayName,type:d.type};if(null==T.name)return T;T.name+="",null==T.displayName&&(T.displayName=T.name);var D=b.get(T.name);return D?T.name+="-"+D.count++:b.set(T.name,{count:1}),T}))}}function arrayRowsTravelFirst(d,b,x,T){if("row"===b)for(var D=0;D<x.length&&D<T;D++)d(x[D]?x[D][0]:null,D);else{var z=x[0]||[];for(D=0;D<z.length&&D<T;D++)d(z[D],D)}}function shouldRetrieveDataByName(d){var b=d.sourceFormat;return"objectRows"===b||"keyedColumns"===b}var Ca=function(){function DefaultDataProvider(d,b){var x=isSourceInstance(d)?d:createSourceFromSeriesDataOption(d);this._source=x;var T=this._data=x.data,D=x.sourceFormat;x.seriesLayoutBy;"typedArray"===D&&(this._offset=0,this._dimSize=b,this._data=T),Ma(this,T,x)}var d;return DefaultDataProvider.prototype.getSource=function(){return this._source},DefaultDataProvider.prototype.count=function(){return 0},DefaultDataProvider.prototype.getItem=function(d,b){},DefaultDataProvider.prototype.appendData=function(d){},DefaultDataProvider.prototype.clean=function(){},DefaultDataProvider.protoInitialize=((d=DefaultDataProvider.prototype).pure=!1,void(d.persistent=!0)),DefaultDataProvider.internalField=function(){var d;Ma=function(d,b,x){var T=x.sourceFormat,D=x.seriesLayoutBy,z=x.startIndex,W=x.dimensionsDefine,U=Sa[getMethodMapKey(T,D)];if(Object(H.m)(d,U),"typedArray"===T)d.getItem=getItemForTypedArray,d.count=countForTypedArray,d.fillStorage=fillStorageForTypedArray;else{var Y=getRawSourceItemGetter(T,D);d.getItem=Object(H.c)(Y,null,b,z,W);var Z=getRawSourceDataCounter(T,D);d.count=Object(H.c)(Z,null,b,z,W)}};var getItemForTypedArray=function(d,b){d-=this._offset,b=b||[];for(var x=this._data,T=this._dimSize,D=T*d,z=0;z<T;z++)b[z]=x[D+z];return b},fillStorageForTypedArray=function(d,b,x,T){for(var D=this._data,z=this._dimSize,H=0;H<z;H++){for(var W=T[H],U=null==W[0]?1/0:W[0],Y=null==W[1]?-1/0:W[1],Z=b-d,J=x[H],ee=0;ee<Z;ee++){var te=D[ee*z+H];J[d+ee]=te,te<U&&(U=te),te>Y&&(Y=te)}W[0]=U,W[1]=Y}},countForTypedArray=function(){return this._data?this._data.length/this._dimSize:0};function appendDataSimply(d){for(var b=0;b<d.length;b++)this._data.push(d[b])}(d={}).arrayRows_column={pure:!0,appendData:appendDataSimply},d.arrayRows_row={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},d.objectRows={pure:!0,appendData:appendDataSimply},d.keyedColumns={pure:!0,appendData:function(d){var b=this._data;Object(H.k)(d,(function(d,x){for(var T=b[x]||(b[x]=[]),D=0;D<(d||[]).length;D++)T.push(d[D])}))}},d.original={appendData:appendDataSimply},d.typedArray={persistent:!1,pure:!0,appendData:function(d){this._data=d},clean:function(){this._offset+=this.count(),this._data=null}},Sa=d}(),DefaultDataProvider}(),dataProvider_validateSimply=function(d){Object(H.t)(d)||error("series.data or dataset.source must be an array.")},Ta=((va={}).arrayRows_column=dataProvider_validateSimply,va.arrayRows_row=dataProvider_validateSimply,va.objectRows=dataProvider_validateSimply,va.keyedColumns=function(d,b){for(var x=0;x<b.length;x++){null==b[x].name&&error("dimension name must not be null/undefined.")}},va.original=dataProvider_validateSimply,function(d,b,x,T){return d[T]}),ka=((ba={}).arrayRows_column=function(d,b,x,T){return d[T+b]},ba.arrayRows_row=function(d,b,x,T,D){T+=b;for(var z=D||[],H=d,W=0;W<H.length;W++){var U=H[W];z[W]=U?U[T]:null}return z},ba.objectRows=Ta,ba.keyedColumns=function(d,b,x,T,D){for(var z=D||[],H=0;H<x.length;H++){var W=x[H].name,U=null!=W?d[W]:null;z[H]=U?U[T]:null}return z},ba.original=Ta,ba);function getRawSourceItemGetter(d,b){return ka[getMethodMapKey(d,b)]}var countSimply=function(d,b,x){return d.length},Aa=((xa={}).arrayRows_column=function(d,b,x){return Math.max(0,d.length-b)},xa.arrayRows_row=function(d,b,x){var T=d[0];return T?Math.max(0,T.length-b):0},xa.objectRows=countSimply,xa.keyedColumns=function(d,b,x){var T=x[0].name,D=null!=T?d[T]:null;return D?D.length:0},xa.original=countSimply,xa);function getRawSourceDataCounter(d,b){return Aa[getMethodMapKey(d,b)]}var getRawValueSimply=function(d,b,x){return d[b]},Pa=((wa={}).arrayRows=getRawValueSimply,wa.objectRows=function(d,b,x){return d[x]},wa.keyedColumns=getRawValueSimply,wa.original=function(d,b,x){var T=getDataItemValue(d);return T instanceof Array?T[b]:T}
vendor: 4,801 bytes, line 808
808,wa.typedArray=getRawValueSimply,wa);function getRawSourceValueGetter(d){return Pa[d]}function getMethodMapKey(d,b){return"arrayRows"===d?d+"_"+b:d}function retrieveRawValue(d,b,x){if(d){var T=d.getRawDataItem(b);if(null!=T){var D=d.getStore(),z=D.getSource().sourceFormat;if(null!=x){var H=d.getDimensionIndex(x),W=D.getDimensionProperty(H);return getRawSourceValueGetter(z)(T,H,W)}var U=T;return"original"===z&&(U=getDataItemValue(T)),U}}}var Oa=/\{@(.+?)\}/g,Ia=function(){function DataFormatMixin(){}return DataFormatMixin.prototype.getDataParams=function(d,b){var x=this.getData(b),T=this.getRawValue(d,b),D=x.getRawIndex(d),z=x.getName(d),H=x.getRawDataItem(d),W=x.getItemVisual(d,"style"),U=W&&W[x.getItemVisual(d,"drawType")||"fill"],Y=W&&W.stroke,Z=this.mainType,J="series"===Z,ee=x.userOutput&&x.userOutput.get();return{componentType:Z,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:J?this.subType:null,seriesIndex:this.seriesIndex,seriesId:J?this.id:null,seriesName:J?this.name:null,name:z,dataIndex:D,data:H,dataType:b,value:T,color:U,borderColor:Y,dimensionNames:ee?ee.fullDimensions:null,encode:ee?ee.encode:null,$vars:["seriesName","name","value"]}},DataFormatMixin.prototype.getFormattedLabel=function(d,b,x,T,D,z){b=b||"normal";var W=this.getData(x),U=this.getDataParams(d,x);(z&&(U.value=z.interpolatedValue),null!=T&&H.t(U.value)&&(U.value=U.value[T]),D)||(D=W.getItemModel(d).get("normal"===b?["label","formatter"]:[b,"label","formatter"]));return H.w(D)?(U.status=b,U.dimensionIndex=T,D(U)):H.C(D)?formatTpl(D,U).replace(Oa,(function(b,x){var T=x.length,D=x;"["===D.charAt(0)&&"]"===D.charAt(T-1)&&(D=+D.slice(1,T-1));var U=retrieveRawValue(W,d,D);if(z&&H.t(z.interpolatedValue)){var Y=W.getDimensionIndex(D);Y>=0&&(U=z.interpolatedValue[Y])}return null!=U?U+"":""})):void 0},DataFormatMixin.prototype.getRawValue=function(d,b){return retrieveRawValue(this.getData(b),d)},DataFormatMixin.prototype.formatTooltip=function(d,b,x){},DataFormatMixin}();function normalizeTooltipFormatResult(d){var b,x;return H.A(d)?d.type&&(x=d):b=d,{text:b,frag:x}}function createTask(d){return new Da(d)}var Da=function(){function Task(d){d=d||{},this._reset=d.reset,this._plan=d.plan,this._count=d.count,this._onDirty=d.onDirty,this._dirty=!0}return Task.prototype.perform=function(d){var b,x=this._upstream,T=d&&d.skip;if(this._dirty&&x){var D=this.context;D.data=D.outputData=x.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!T&&(b=this._plan(this.context));var z,W=normalizeModBy(this._modBy),U=this._modDataCount||0,Y=normalizeModBy(d&&d.modBy),Z=d&&d.modDataCount||0;function normalizeModBy(d){return!(d>=1)&&(d=1),d}W===Y&&U===Z||(b="reset"),(this._dirty||"reset"===b)&&(this._dirty=!1,z=this._doReset(T)),this._modBy=Y,this._modDataCount=Z;var J=d&&d.step;if(this._dueEnd=x?x._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var ee=this._dueIndex,te=Math.min(null!=J?this._dueIndex+J:1/0,this._dueEnd);if(!T&&(z||ee<te)){var ne=this._progress;if(Object(H.t)(ne))for(var ie=0;ie<ne.length;ie++)this._doProgress(ne[ie],ee,te,Y,Z);else this._doProgress(ne,ee,te,Y,Z)}this._dueIndex=te;var oe=null!=this._settedOutputEnd?this._settedOutputEnd:te;0,this._outputDueEnd=oe}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()},Task.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},Task.prototype._doProgress=function(d,b,x,T,D){Ea.reset(b,x,T,D),this._callingProgress=d,this._callingProgress({start:b,end:x,count:x-b,next:Ea.next},this.context)},Task.prototype._doReset=function(d){var b,x;this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null,!d&&this._reset&&((b=this._reset(this.context))&&b.progress&&(x=b.forceFirstProgress,b=b.progress),Object(H.t)(b)&&!b.length&&(b=null)),this._progress=b,this._modBy=this._modDataCount=null;var T=this._downstream;return T&&T.dirty(),x},Task.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},Task.prototype.pipe=function(d){(this._downstream!==d||this._dirty)&&(this._downstream=d,d._upstream=this,d.dirty())},Task.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},Task.prototype.getUpstream=function(){return this._upstream},Task.prototype.getDownstream=function(){return this._downstream},Task.prototype.setOutputEnd=function(d){this._outputDueEnd=this._settedOutputEnd=d},Task}(),Ea=function(){var d,b,x,T,D,z={reset:function(H,W,U,Y){b=H,d=W,x=U,T=Y,D=Math.ceil(T/x),z.next=x>1&&T>0?modNext:sequentialNext}};return z;function sequentialNext(){return b<d?b++:null}
808function modNext(){var z=b%D*x+Math.ceil(b/D),H=b>=d?null:z<T?z:b;return b++,H}}();function dataValueHelper_typeof(d){return(dataValueHelper_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}function parseDataValue(d,b){var x=b&&b.type;return"ordinal"===x?d:("time"!==x||Object(H.z)(d)||null==d||"-"===d||(d=+parseDate(d)),null==d||""===d?NaN:Number(d))}var La=Object(H.f)({number:function(d){return parseFloat(d)},time:function(d){return+parseDate(d)},trim:function(d){return Object(H.C)(d)?Object(H.T)(d):d}});function getRawValueParser(d){return La.get(d)}var Ra={lt:function(d,b){return d<b},lte:function(d,b){return d<=b},gt:function(d,b){return d>b},gte:function(d,b){return d>=b}},Ba=function(){function FilterOrderComparator(d,b){if(!Object(H.z)(b)){0,throwError("")}this._opFn=Ra[d],this._rvalFloat=numericToNumber(b)}return FilterOrderComparator.prototype.evaluate=function(d){return Object(H.z)(d)?this._opFn(d,this._rvalFloat):this._opFn(numericToNumber(d),this._rvalFloat)},FilterOrderComparator}(),Na=function(){function SortOrderComparator(d,b){var x="desc"===d;this._resultLT=x?1:-1,null==b&&(b=x?"min":"max"),this._incomparable="min"===b?-1/0:1/0}return SortOrderComparator.prototype.evaluate=function(d,b){var x=Object(H.z)(d)?d:numericToNumber(d),T=Object(H.z)(b)?b:numericToNumber(b),D=isNaN(x),z=isNaN(T);if(D&&(x=this._incomparable),z&&(T=this._incomparable),D&&z){var W=Object(H.C)(d),U=Object(H.C)(b);W&&(x=U?d:0),U&&(T=W?b:0)}return x<T?this._resultLT:x>T?-this._resultLT:0},SortOrderComparator}(),ja=function(){function FilterEqualityComparator(d,b){this._rval=b,this._isEQ=d,this._rvalTypeof=dataValueHelper_typeof(b),this._rvalFloat=numericToNumber(b)}return FilterEqualityComparator.prototype.evaluate=function(d){var b=d===this._rval;if(!b){var x=dataValueHelper_typeof(d);x===this._rvalTypeof||"number"!==x&&"number"!==this._rvalTypeof||(b=numericToNumber(d)===this._rvalFloat)}return this._isEQ?b:!b},FilterEqualityComparator}();function createFilterComparator(d,b){return"eq"===d||"ne"===d?new ja("eq"===d,b):Object(H.q)(Ra,d)?new Ba(d,b):null}var Va=function(){function ExternalSource(){}return ExternalSource.prototype.getRawData=function(){throw new Error("not supported")},ExternalSource.prototype.getRawDataItem=function(d){throw new Error("not supported")},ExternalSource.prototype.cloneRawData=function(){},ExternalSource.prototype.getDimensionInfo=function(d){},ExternalSource.prototype.cloneAllDimensionInfo=function(){},ExternalSource.prototype.count=function(){},ExternalSource.prototype.retrieveValue=function(d,b){},ExternalSource.prototype.retrieveValueFromItem=function(d,b){},ExternalSource.prototype.convertValue=function(d,b){return parseDataValue(d,b)},ExternalSource}();function getRawData(d){if(!isSupportedSourceFormat(d.sourceFormat)){0,throwError("")}return d.data}function cloneRawData(d){var b=d.sourceFormat,x=d.data;if(!isSupportedSourceFormat(b)){0,throwError("")}if("arrayRows"===b){for(var T=[],D=0,z=x.length;D<z;D++)T.push(x[D].slice());return T}if("objectRows"===b){for(T=[],D=0,z=x.length;D<z;D++)T.push(Object(H.m)({},x[D]));return T}}function getDimensionInfo(d,b,x){if(null!=x)return Object(H.z)(x)||!isNaN(x)&&!Object(H.q)(b,x)?d[x]:Object(H.q)(b,x)?b[x]:void 0}function cloneAllDimensionInfo(d){return Object(H.d)(d)}var za=Object(H.f)();function applySingleDataTransform(d,b,x,T){b.length||throwError(""),Object(H.A)(d)||throwError("");var D=d.type,z=za.get(D);z||throwError("");var W=Object(H.H)(b,(function(d){return function(d,b){var x=new Va,T=d.data,D=x.sourceFormat=d.sourceFormat,z=d.startIndex;"column"!==d.seriesLayoutBy&&throwError("");var W=[],U={},Y=d.dimensionsDefine;if(Y)Object(H.k)(Y,(function(d,b){var x=d.name,T={index:b,name:x,displayName:d.displayName};if(W.push(T),null!=x){Object(H.q)(U,x)&&throwError(""),U[x]=T}}));else for(var Z=0;Z<d.dimensionsDetectedCount;Z++)W.push({index:Z});var J=getRawSourceItemGetter(D,"column");b.__isBuiltIn&&(x.getRawDataItem=function(d){return J(T,z,W,d)},x.getRawData=Object(H.c)(getRawData,null,d)),x.cloneRawData=Object(H.c)(cloneRawData,null,d);var ee=getRawSourceDataCounter(D,"column");x.count=Object(H.c)(ee,null,T,z,W);var te=getRawSourceValueGetter(D);x.retrieveValue=function(d,b){var x=J(T,z,W,d);return ne(x,b)};var ne=x.retrieveValueFromItem=function(d,b){if(null!=d){var x=W[b];return x?te(d,b,x.name):void 0}};return x.getDimensionInfo=Object(H.c)(getDimensionInfo,null,W,U),x.cloneAllDimensionInfo=Object(H.c)(cloneAllDimensionInfo,null,W),x}(d,z)})),U=normalizeToArray(z.transform({upstream:W[0],upstreamList:W,config:Object(H.d)(d.config)}));
vendor: 4,524 bytes, line 808
808return Object(H.H)(U,(function(d,x){var T;Object(H.A)(d)||throwError(""),d.data||throwError(""),isSupportedSourceFormat(detectSourceFormat(d.data))||throwError("");var D=b[0];if(D&&0===x&&!d.dimensions){var z=D.startIndex;z&&(d.data=D.data.slice(0,z).concat(d.data)),T={seriesLayoutBy:"column",sourceHeader:z,dimensions:D.metaRawOption.dimensions}}else T={seriesLayoutBy:"column",sourceHeader:0,dimensions:d.dimensions};return createSource(d.data,T,null)}))}function isSupportedSourceFormat(d){return"arrayRows"===d||"objectRows"===d}function DataStore_typeof(d){return(DataStore_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}var Fa,Ha="undefined"===("undefined"==typeof Uint32Array?"undefined":DataStore_typeof(Uint32Array))?Array:Uint32Array,Ga="undefined"===("undefined"==typeof Uint16Array?"undefined":DataStore_typeof(Uint16Array))?Array:Uint16Array,$a="undefined"===("undefined"==typeof Int32Array?"undefined":DataStore_typeof(Int32Array))?Array:Int32Array,Wa="undefined"===("undefined"==typeof Float64Array?"undefined":DataStore_typeof(Float64Array))?Array:Float64Array,Ua={float:Wa,int:$a,ordinal:Array,number:Array,time:Wa};function getIndicesCtor(d){return d>65535?Ha:Ga}function prepareStore(d,b,x,T,D){var z=Ua[x||"float"];if(D){var H=d[b],W=H&&H.length;if(W!==T){for(var U=new z(T),Y=0;Y<W;Y++)U[Y]=H[Y];d[b]=U}}else d[b]=new z(T)}var Ya=function(){function DataStore(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=Object(H.f)()}return DataStore.prototype.initData=function(d,b,x){this._provider=d,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var T=d.getSource(),D=this.defaultDimValueGetter=Fa[T.sourceFormat];this._dimValueGetter=x||D,this._rawExtent=[];shouldRetrieveDataByName(T);this._dimensions=Object(H.H)(b,(function(d){return{type:d.type,property:d.property}})),this._initDataFromProvider(0,d.count())},DataStore.prototype.getProvider=function(){return this._provider},DataStore.prototype.getSource=function(){return this._provider.getSource()},DataStore.prototype.ensureCalculationDimension=function(d,b){var x=this._calcDimNameToIdx,T=this._dimensions,D=x.get(d);if(null!=D){if(T[D].type===b)return D}else D=T.length;return T[D]={type:b},x.set(d,D),this._chunks[D]=new Ua[b||"float"](this._rawCount),this._rawExtent[D]=[1/0,-1/0],D},DataStore.prototype.collectOrdinalMeta=function(d,b){var x=this._chunks[d],T=this._dimensions[d],D=this._rawExtent,z=T.ordinalOffset||0,H=x.length;0===z&&(D[d]=[1/0,-1/0]);for(var W=D[d],U=z;U<H;U++){var Y=x[U]=b.parseAndCollect(x[U]);isNaN(Y)||(W[0]=Math.min(Y,W[0]),W[1]=Math.max(Y,W[1]))}T.ordinalMeta=b,T.ordinalOffset=H,T.type="ordinal"},DataStore.prototype.getOrdinalMeta=function(d){return this._dimensions[d].ordinalMeta},DataStore.prototype.getDimensionProperty=function(d){var b=this._dimensions[d];return b&&b.property},DataStore.prototype.appendData=function(d){var b=this._provider,x=this.count();b.appendData(d);var T=b.count();return b.persistent||(T+=x),x<T&&this._initDataFromProvider(x,T,!0),[x,T]},DataStore.prototype.appendValues=function(d,b){for(var x=this._chunks,T=this._dimensions,D=T.length,z=this._rawExtent,H=this.count(),W=H+Math.max(d.length,b||0),U=0;U<D;U++){prepareStore(x,U,(te=T[U]).type,W,!0)}for(var Y=[],Z=H;Z<W;Z++)for(var J=Z-H,ee=0;ee<D;ee++){var te=T[ee],ne=Fa.arrayRows.call(this,d[J]||Y,te.property,J,ee);x[ee][Z]=ne;var ie=z[ee];ne<ie[0]&&(ie[0]=ne),ne>ie[1]&&(ie[1]=ne)}return this._rawCount=this._count=W,{start:H,end:W}},DataStore.prototype._initDataFromProvider=function(d,b,x){for(var T=this._provider,D=this._chunks,z=this._dimensions,W=z.length,U=this._rawExtent,Y=Object(H.H)(z,(function(d){return d.property})),Z=0;Z<W;Z++){var J=z[Z];U[Z]||(U[Z]=[1/0,-1/0]),prepareStore(D,Z,J.type,b,x)}if(T.fillStorage)T.fillStorage(d,b,D,U);else for(var ee=[],te=d;te<b;te++){ee=T.getItem(te,ee);for(var ne=0;ne<W;ne++){var ie=D[ne],oe=this._dimValueGetter(ee,Y[ne],te,ne);ie[te]=oe;var se=U[ne];oe<se[0]&&(se[0]=oe),oe>se[1]&&(se[1]=oe)}}!T.persistent&&T.clean&&T.clean(),this._rawCount=this._count=b,this._extent=[]},DataStore.prototype.count=function(){return this._count},DataStore.prototype.get=function(d,b){if(!(b>=0&&b<this._count))return NaN;var x=this._chunks[d];return x?x[this.getRawIndex(b)]:NaN},DataStore.prototype.getValues=function(d,b){var x=[],T=[];
vendor: 5,341 bytes, line 808
808if(null==b){b=d,d=[];for(var D=0;D<this._dimensions.length;D++)T.push(D)}else T=d;D=0;for(var z=T.length;D<z;D++)x.push(this.get(T[D],b));return x},DataStore.prototype.getByRawIndex=function(d,b){if(!(b>=0&&b<this._rawCount))return NaN;var x=this._chunks[d];return x?x[b]:NaN},DataStore.prototype.getSum=function(d){var b=0;if(this._chunks[d])for(var x=0,T=this.count();x<T;x++){var D=this.get(d,x);isNaN(D)||(b+=D)}return b},DataStore.prototype.getMedian=function(d){var b=[];this.each([d],(function(d){isNaN(d)||b.push(d)}));var x=b.sort((function(d,b){return d-b})),T=this.count();return 0===T?0:T%2==1?x[(T-1)/2]:(x[T/2]+x[T/2-1])/2},DataStore.prototype.indexOfRawIndex=function(d){if(d>=this._rawCount||d<0)return-1;if(!this._indices)return d;var b=this._indices,x=b[d];if(null!=x&&x<this._count&&x===d)return d;for(var T=0,D=this._count-1;T<=D;){var z=(T+D)/2|0;if(b[z]<d)T=z+1;else{if(!(b[z]>d))return z;D=z-1}}return-1},DataStore.prototype.getIndices=function(){var d,b=this._indices;if(b){var x=b.constructor,T=this._count;if(x===Array){d=new x(T);for(var D=0;D<T;D++)d[D]=b[D]}else d=new x(b.buffer,0,T)}else{d=new(x=getIndicesCtor(this._rawCount))(this.count());for(D=0;D<d.length;D++)d[D]=D}return d},DataStore.prototype.filter=function(d,b){if(!this._count)return this;for(var x=this.clone(),T=x.count(),D=new(getIndicesCtor(x._rawCount))(T),z=[],H=d.length,W=0,U=d[0],Y=x._chunks,Z=0;Z<T;Z++){var J=void 0,ee=x.getRawIndex(Z);if(0===H)J=b(Z);else if(1===H){J=b(Y[U][ee],Z)}else{for(var te=0;te<H;te++)z[te]=Y[d[te]][ee];z[te]=Z,J=b.apply(null,z)}J&&(D[W++]=ee)}return W<T&&(x._indices=D),x._count=W,x._extent=[],x._updateGetRawIdx(),x},DataStore.prototype.selectRange=function(d){var b=this.clone(),x=b._count;if(!x)return this;var T=Object(H.F)(d),D=T.length;if(!D)return this;var z=b.count(),W=new(getIndicesCtor(b._rawCount))(z),U=0,Y=T[0],Z=d[Y][0],J=d[Y][1],ee=b._chunks,te=!1;if(!b._indices){var ne=0;if(1===D){for(var ie=ee[T[0]],oe=0;oe<x;oe++){((de=ie[oe])>=Z&&de<=J||isNaN(de))&&(W[U++]=ne),ne++}te=!0}else if(2===D){ie=ee[T[0]];var se=ee[T[1]],le=d[T[1]][0],ce=d[T[1]][1];for(oe=0;oe<x;oe++){var de=ie[oe],he=se[oe];(de>=Z&&de<=J||isNaN(de))&&(he>=le&&he<=ce||isNaN(he))&&(W[U++]=ne),ne++}te=!0}}if(!te)if(1===D)for(oe=0;oe<z;oe++){var pe=b.getRawIndex(oe);((de=ee[T[0]][pe])>=Z&&de<=J||isNaN(de))&&(W[U++]=pe)}else for(oe=0;oe<z;oe++){for(var fe=!0,ge=(pe=b.getRawIndex(oe),0);ge<D;ge++){var me=T[ge];((de=ee[me][pe])<d[me][0]||de>d[me][1])&&(fe=!1)}fe&&(W[U++]=b.getRawIndex(oe))}return U<z&&(b._indices=W),b._count=U,b._extent=[],b._updateGetRawIdx(),b},DataStore.prototype.map=function(d,b){var x=this.clone(d);return this._updateDims(x,d,b),x},DataStore.prototype.modify=function(d,b){this._updateDims(this,d,b)},DataStore.prototype._updateDims=function(d,b,x){for(var T=d._chunks,D=[],z=b.length,H=d.count(),W=[],U=d._rawExtent,Y=0;Y<b.length;Y++)U[b[Y]]=[1/0,-1/0];for(var Z=0;Z<H;Z++){for(var J=d.getRawIndex(Z),ee=0;ee<z;ee++)W[ee]=T[b[ee]][J];W[z]=Z;var te=x&&x.apply(null,W);if(null!=te){"object"!==DataStore_typeof(te)&&(D[0]=te,te=D);for(Y=0;Y<te.length;Y++){var ne=b[Y],ie=te[Y],oe=U[ne],se=T[ne];se&&(se[J]=ie),ie<oe[0]&&(oe[0]=ie),ie>oe[1]&&(oe[1]=ie)}}}},DataStore.prototype.lttbDownSample=function(d,b){var x,T,D,z=this.clone([d],!0),H=z._chunks[d],W=this.count(),U=0,Y=Math.floor(1/b),Z=this.getRawIndex(0),J=new(getIndicesCtor(this._rawCount))(Math.min(2*(Math.ceil(W/Y)+2),W));J[U++]=Z;for(var ee=1;ee<W-1;ee+=Y){for(var te=Math.min(ee+Y,W-1),ne=Math.min(ee+2*Y,W),ie=(ne+te)/2,oe=0,se=te;se<ne;se++){var le=H[me=this.getRawIndex(se)];isNaN(le)||(oe+=le)}oe/=ne-te;var ce=ee,de=Math.min(ee+Y,W),he=ee-1,pe=H[Z];x=-1,D=ce;var fe=-1,ge=0;for(se=ce;se<de;se++){var me;le=H[me=this.getRawIndex(se)];isNaN(le)?(ge++,fe<0&&(fe=me)):(T=Math.abs((he-ie)*(le-pe)-(he-se)*(oe-pe)))>x&&(x=T,D=me)}ge>0&&ge<de-ce&&(J[U++]=Math.min(fe,D),D=Math.max(fe,D)),J[U++]=D,Z=D}return J[U++]=this.getRawIndex(W-1),z._count=U,z._indices=J,z.getRawIndex=this._getRawIdx,z},DataStore.prototype.minmaxDownSample=function(d,b){for(var x=this.clone([d],!0),T=x._chunks,D=Math.floor(1/b),z=T[d],H=this.count(),W=new(getIndicesCtor(this._rawCount))(2*Math.ceil(H/D)),U=0,Y=0;Y<H;Y+=D){var Z=Y,J=z[this.getRawIndex(Z)],ee=Y,te=z[this.getRawIndex(ee)],ne=D;Y+D>H&&(ne=H-Y);for(var ie=0;ie<ne;ie++){var oe=z[this.getRawIndex(Y+ie)];oe<J&&(J=oe,Z=Y+ie),oe>te&&(te=oe,ee=Y+ie)}var se=this.getRawIndex(Z),le=this.getRawIndex(ee);Z<ee?(W[U++]=se,W[U++]=le):(W[U++]=le,W[U++]=se)}return x._count=U,x._indices=W,x._updateGetRawIdx(),x},DataStore.prototype.downSample=function(d,b,x,T){for(var D=this.clone([d],!0),z=D._chunks,H=[],W=Math.floor(1/b),U=z[d],Y=this.count(),Z=D._rawExtent[d]=[1/0,-1/0],J=new(getIndicesCtor(this._rawCount))(Math.ceil(Y/W)),ee=0,te=0;te<Y;te+=W){W>Y-te&&(W=Y-te,H.length=W);for(var ne=0;ne<W;ne++){var ie=this.getRawIndex(te+ne);H[ne]=U[ie]}var oe=x(H),se=this.getRawIndex(Math.min(te+T(H,oe)||0,Y-1));U[se]=oe,oe<Z[0]&&(Z[0]=oe),oe>Z[1]&&(Z[1]=oe),J[ee++]=se}return D._count=ee,D._indices=J,D._updateGetRawIdx(),D},DataStore.prototype.each=function(d,b){if(this._count)for(var x=d.length,T=this._chunks,D=0,z=this.count();D<z;D++){var H=this.getRawIndex(D);switch(x){case 0:b(D);break;case 1:b(T[d[0]][H],D);break;case 2:b(T[d[0]][H],T[d[1]][H],D);break;default:for(var W=0,U=[];W<x;W++)U[W]=T[d[W]][H];
808U[W]=D,b.apply(null,U)}}},DataStore.prototype.getDataExtent=function(d){var b=this._chunks[d],x=[1/0,-1/0];if(!b)return x;var T,D=this.count();if(!this._indices)return this._rawExtent[d].slice();if(T=this._extent[d])return T.slice();for(var z=(T=x)[0],H=T[1],W=0;W<D;W++){var U=b[this.getRawIndex(W)];U<z&&(z=U),U>H&&(H=U)}return T=[z,H],this._extent[d]=T,T},DataStore.prototype.getRawDataItem=function(d){var b=this.getRawIndex(d);if(this._provider.persistent)return this._provider.getItem(b);for(var x=[],T=this._chunks,D=0;D<T.length;D++)x.push(T[D][b]);return x},DataStore.prototype.clone=function(d,b){var x,T,D=new DataStore,z=this._chunks,W=d&&Object(H.N)(d,(function(d,b){return d[b]=!0,d}),{});if(W)for(var U=0;U<z.length;U++)D._chunks[U]=W[U]?(x=z[U],T=void 0,(T=x.constructor)===Array?x.slice():new T(x)):z[U];else D._chunks=z;return this._copyCommonProps(D),b||(D._indices=this._cloneIndices()),D._updateGetRawIdx(),D},DataStore.prototype._copyCommonProps=function(d){d._count=this._count,d._rawCount=this._rawCount,d._provider=this._provider,d._dimensions=this._dimensions,d._extent=Object(H.d)(this._extent),d._rawExtent=Object(H.d)(this._rawExtent)},DataStore.prototype._cloneIndices=function(){if(this._indices){var d=this._indices.constructor,b=void 0;if(d===Array){var x=this._indices.length;b=new d(x);for(var T=0;T<x;T++)b[T]=this._indices[T]}else b=new d(this._indices);return b}return null},DataStore.prototype._getRawIdxIdentity=function(d){return d},DataStore.prototype._getRawIdx=function(d){return d<this._count&&d>=0?this._indices[d]:-1},DataStore.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},DataStore.internalField=function(){function getDimValueSimply(d,b,x,T){return parseDataValue(d[T],this._dimensions[T])}Fa={arrayRows:getDimValueSimply,objectRows:function(d,b,x,T){return parseDataValue(d[b],this._dimensions[T])},keyedColumns:getDimValueSimply,original:function(d,b,x,T){var D=d&&(null==d.value?d:d.value);return parseDataValue(D instanceof Array?D[T]:D,this._dimensions[T])},typedArray:function(d,b,x,T){return d[T]}}}(),DataStore}(),qa=function(){function SourceManager(d){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=d}return SourceManager.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},SourceManager.prototype._setLocalSource=function(d,b){this._sourceList=d,this._upstreamSignList=b,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},SourceManager.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},SourceManager.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},SourceManager.prototype._createSource=function(){this._setLocalSource([],[]);var d,b,x=this._sourceHost,T=this._getUpstreamSourceManagers(),D=!!T.length;if(isSeries(x)){var z=x,W=void 0,U=void 0,Y=void 0;if(D){var Z=T[0];Z.prepareSource(),W=(Y=Z.getSource()).data,U=Y.sourceFormat,b=[Z._getVersionSign()]}else W=z.get("data",!0),U=Object(H.E)(W)?"typedArray":"original",b=[];var J=this._getSourceMetaRawOption()||{},ee=Y&&Y.metaRawOption||{},te=Object(H.P)(J.seriesLayoutBy,ee.seriesLayoutBy)||null,ne=Object(H.P)(J.sourceHeader,ee.sourceHeader),ie=Object(H.P)(J.dimensions,ee.dimensions);d=te!==ee.seriesLayoutBy||!!ne!=!!ee.sourceHeader||ie?[createSource(W,{seriesLayoutBy:te,sourceHeader:ne,dimensions:ie},U)]:[]}else{var oe=x;if(D){var se=this._applyTransform(T);d=se.sourceList,b=se.upstreamSignList}else{d=[createSource(oe.get("source",!0),this._getSourceMetaRawOption(),null)],b=[]}}this._setLocalSource(d,b)},SourceManager.prototype._applyTransform=function(d){var b,x=this._sourceHost,T=x.get("transform",!0),D=x.get("fromTransformResult",!0);if(null!=D){1!==d.length&&doThrow("")}var z,W=[],U=[];return Object(H.k)(d,(function(d){d.prepareSource();var b=d.getSource(D||0);null==D||b||doThrow(""),W.push(b),U.push(d._getVersionSign())})),T?b=function(d,b,x){var T=normalizeToArray(d),D=T.length;D||throwError("");for(var z=0,H=D;z<H;z++){b=applySingleDataTransform(T[z],b,x,1===D?null:z),z!==H-1&&(b.length=Math.max(b.length,1))}return b}(T,W,{datasetIndex:x.componentIndex}
808):null!=D&&(b=[(z=W[0],new Source_SourceImpl({data:z.data,sourceFormat:z.sourceFormat,seriesLayoutBy:z.seriesLayoutBy,dimensionsDefine:Object(H.d)(z.dimensionsDefine),startIndex:z.startIndex,dimensionsDetectedCount:z.dimensionsDetectedCount}))]),{sourceList:b,upstreamSignList:U}},SourceManager.prototype._isDirty=function(){if(this._dirty)return!0;for(var d=this._getUpstreamSourceManagers(),b=0;b<d.length;b++){var x=d[b];if(x._isDirty()||this._upstreamSignList[b]!==x._getVersionSign())return!0}},SourceManager.prototype.getSource=function(d){d=d||0;var b=this._sourceList[d];if(!b){var x=this._getUpstreamSourceManagers();return x[0]&&x[0].getSource(d)}return b},SourceManager.prototype.getSharedDataStore=function(d){var b=d.makeStoreSchema();return this._innerGetDataStore(b.dimensions,d.source,b.hash)},SourceManager.prototype._innerGetDataStore=function(d,b,x){var T=this._storeList,D=T[0];D||(D=T[0]={});var z=D[x];if(!z){var H=this._getUpstreamSourceManagers()[0];isSeries(this._sourceHost)&&H?z=H._innerGetDataStore(d,b,x):(z=new Ya).initData(new Ca(b,d.length),d),D[x]=z}return z},SourceManager.prototype._getUpstreamSourceManagers=function(){var d=this._sourceHost;if(isSeries(d)){var b=querySeriesUpstreamDatasetModel(d);return b?[b.getSourceManager()]:[]}return Object(H.H)(function(d){return d.get("transform",!0)||d.get("fromTransformResult",!0)?queryReferringComponents(d.ecModel,"dataset",{index:d.get("fromDatasetIndex",!0),id:d.get("fromDatasetId",!0)},si).models:[]}(d),(function(d){return d.getSourceManager()}))},SourceManager.prototype._getSourceMetaRawOption=function(){var d,b,x,T=this._sourceHost;if(isSeries(T))d=T.get("seriesLayoutBy",!0),b=T.get("sourceHeader",!0),x=T.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var D=T;d=D.get("seriesLayoutBy",!0),b=D.get("sourceHeader",!0),x=D.get("dimensions",!0)}return{seriesLayoutBy:d,sourceHeader:b,dimensions:x}},SourceManager}();function disableTransformOptionMerge(d){d.option.transform&&Object(H.R)(d.option.transform)}function isSeries(d){return"series"===d.mainType}function doThrow(d){throw new Error(d)}function getTooltipLineHeight(d){var b=d.lineHeight;return null==b?"line-height:1":"line-height:"+encodeHTML(b+"")+"px"}function getTooltipTextStyle(d,b){var x=d.color||Fo.color.tertiary,T=d.fontSize||12,D=d.fontWeight||"400",z=d.color||Fo.color.secondary,H=d.fontSize||14,W=d.fontWeight||"900";return"html"===b?{nameStyle:"font-size:"+encodeHTML(T+"")+"px;color:"+encodeHTML(x)+";font-weight:"+encodeHTML(D+""),valueStyle:"font-size:"+encodeHTML(H+"")+"px;color:"+encodeHTML(z)+";font-weight:"+encodeHTML(W+"")}:{nameStyle:{fontSize:T,fill:x,fontWeight:D},valueStyle:{fontSize:H,fill:z,fontWeight:W}}}var Za=[0,10,20,30],Xa=["","\n","\n\n","\n\n\n"];function createTooltipMarkup(d,b){return b.type=d,b}function isSectionFragment(d){return"section"===d.type}function getBuilder(d){return isSectionFragment(d)?buildSection:buildNameValue}function buildSection(d,b,x,T){var D,z=b.noHeader,W=(D=function getBlockGapLevel(d){if(isSectionFragment(d)){var b=0,x=d.blocks.length,T=x>1||x>0&&!d.noHeader;return Object(H.k)(d.blocks,(function(d){var x=getBlockGapLevel(d);x>=b&&(b=x+ +(T&&(!x||isSectionFragment(d)&&!d.noHeader)))})),b}return 0}(b),{html:Za[D],richText:Xa[D]}),U=[],Y=b.blocks||[];Object(H.b)(!Y||Object(H.t)(Y)),Y=Y||[];var Z=d.orderMode;if(b.sortBlocks&&Z){Y=Y.slice();var J={valueAsc:"asc",valueDesc:"desc"};if(Object(H.q)(J,Z)){var ee=new Na(J[Z],null);Y.sort((function(d,b){return ee.evaluate(d.sortParam,b.sortParam)}))}else"seriesDesc"===Z&&Y.reverse()}Object(H.k)(Y,(function(x,D){var z=b.valueFormatter,Y=getBuilder(x)(z?Object(H.m)(Object(H.m)({},d),{valueFormatter:z}):d,x,D>0?W.html:0,T);null!=Y&&U.push(Y)}));var te="richText"===d.renderMode?U.join(W.richText):wrapBlockHTML(T,U.join(""),z?x:W.html);if(z)return te;var ne=makeValueReadable(b.header,"ordinal",d.useUTC),ie=getTooltipTextStyle(T,d.renderMode).nameStyle,oe=getTooltipLineHeight(T);return"richText"===d.renderMode?wrapInlineNameRichText(d,ne,ie)+W.richText+te:wrapBlockHTML(T,'<div style="'+ie+";"+oe+';">'+encodeHTML(ne)+"</div>"+te,x)}function buildNameValue(d,b,x,T){var D=d.renderMode,z=b.noName,W=b.noValue,U=!b.markerType,Y=b.name,Z=d.useUTC,J=b.valueFormatter||d.valueFormatter||function(d){return d=Object(H.t)(d)?d:[d],Object(H.H)(d,(function(d,b){return makeValueReadable(d,Object(H.t)(ne)?ne[b]:ne,Z)}))};if(!z||!W){var ee=U?"":d.markupStyleCreator.makeTooltipMarker(b.markerType,b.markerColor||Fo.color.secondary,D),te=z?"":makeValueReadable(Y,"ordinal",Z),ne=b.valueType,ie=W?[]:J(b.value,b.dataIndex),oe=!U||!z,se=!U&&z,le=getTooltipTextStyle(T,D),ce=le.nameStyle,de=le.valueStyle;return"richText"===D?(U?"":ee)+(z?"":wrapInlineNameRichText(d,te,ce))+(W?"":function(d,b,x,T,D){var z=[D],W=T?10:20;return x&&z.push({padding:[0,0,0,W],align:"right"}),d.markupStyleCreator.wrapRichTextStyle(Object(H.t)(b)?b.join("  "):b,z)}(d,ie,oe,se,de)):wrapBlockHTML(T,(U?"":ee)+(z?"":function(d,b,x){return'<span style="'+x+";"+(b?"margin-left:2px":"")+'">'+encodeHTML(d)+"</span>"}(te,!U,ce))+(W?"":function(d,b,x,T){var D=x?"10px":"20px",z=b?"float:right;margin-left:"+D:"";return d=Object(H.t)(d)?d:[d],'<span style="'+z+";"+T+'">'+Object(H.H)(d,(function(d){return encodeHTML(d)})).join("&nbsp;&nbsp;")+"</span>"}(ie,oe,se,de)),x)}}function buildTooltipMarkup(d,b,x,T,D,z){if(d)return getBuilder(d)({useUTC:D,renderMode:x,orderMode:T,markupStyleCreator:b,valueFormatter:d.valueFormatter},d,0,z)}function wrapBlockHTML(d,b,x){return'<div style="'+("margin: "+x+"px 0 0")+";"+getTooltipLineHeight(d)+';">'+b+'<div style="clear:both"></div></div>'}function wrapInlineNameRichText(d,b,x){return d.markupStyleCreator.wrapRichTextStyle(b,x)}function retrieveVisualColorForTooltipMarker(d,b){return convertToColorString(d.getData().getItemVisual(b,"style")[d.visualDrawType])}function getPaddingFromTooltipModel(d,b){var x=d.get("padding");return null!=x?x:"richText"===b?[8,10]:10}var Ka=function(){function TooltipMarkupStyleCreator(){this.richTextStyles={},this._nextStyleNameId=getRandomIdBase()}return TooltipMarkupStyleCreator.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},TooltipMarkupStyleCreator.prototype.makeTooltipMarker=function(d,b,x){var T="richText"===x?this._generateStyleName():null,D=function(d,b){var x=H.C(d)?{color:d,extraCssText:b}:d||{},T=x.color,D=x.type;b=x.extraCssText;var z=x.renderMode||"html";return T?"html"===z?"subItem"===D?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+encodeHTML(T)+";"+(b||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+encodeHTML(T)+";"+(b||"")+'"></span>':{renderMode:z,content:"{"+(x.markerId||"markerX")+"|}  ",style:"subItem"===D?{width:4,height:4,borderRadius:2,backgroundColor:T}:{width:10,height:10,borderRadius:5,backgroundColor:T}}:""}({color:b,type:d,renderMode:x,markerId:T});return Object(H.C)(D)?D:(this.richTextStyles[T]=D.style,D.content)},TooltipMarkupStyleCreator.prototype.wrapRichTextStyle=function(d,b){var x={};Object(H.t)(b)?Object(H.k)(b,(function(d){return Object(H.m)(x,d)})):Object(H.m)(x,b);var T=this._generateStyleName();return this.richTextStyles[T]=x,"{"+T+"|"+d+"}"},TooltipMarkupStyleCreator}();function defaultSeriesFormatTooltip(d){var b,x,T,D,z=d.series,W=d.dataIndex,U=d.multipleSeries,Y=z.getData(),Z=Y.mapDimensionsAll("defaultedTooltip"),J=Z.length,ee=z.getRawValue(W),te=Object(H.t)(ee),ne=retrieveVisualColorForTooltipMarker(z,W);if(J>1||te&&!J){var ie=function(d,b,x,T,D){var z=b.getData(),W=Object(H.N)(d,(function(d,b,x){var T=z.getDimensionInfo(x);return d||T&&!1!==T.tooltip&&null!=T.displayName}),!1),U=[],Y=[],Z=[];function setEachItem(d,b){var x=z.getDimensionInfo(b);x&&!1!==x.otherDims.tooltip&&(W?Z.push(createTooltipMarkup("nameValue",{markerType:"subItem",markerColor:D,name:x.displayName,value:d,valueType:x.type})):(U.push(d),Y.push(x.type)))}return T.length?Object(H.k)(T,(function(d){setEachItem(retrieveRawValue(z,x,d),d)})):Object(H.k)(d,setEachItem),{inlineValues:U,inlineValueTypes:Y,blocks:Z}}(ee,z,W,Z,ne);b=ie.inlineValues,x=ie.inlineValueTypes,T=ie.blocks,D=ie.inlineValues[0]}else if(J){var oe=Y.getDimensionInfo(Z[0]);D=b=retrieveRawValue(Y,W,Z[0]),x=oe.type}else D=b=te?ee[0]:ee;var se=isNameSpecified(z),le=se&&z.name||"",ce=Y.getName(W),de=U?le:ce;return createTooltipMarkup("section",{header:le,noHeader:U||!se,sortParam
vendor: 6,444 bytes, line 808
808:D,blocks:[createTooltipMarkup("nameValue",{markerType:"item",markerColor:ne,name:de,noName:!Object(H.T)(de),value:b,valueType:x,dataIndex:W})].concat(T||[])})}var Ja=makeInner();function getSelectionKey(d,b){return d.getName(b)||d.getId(b)}var Qa=function(d){function SeriesModel(){var b=null!==d&&d.apply(this,arguments)||this;return b._selectedDataIndicesMap={},b}var b;return __extends(SeriesModel,d),SeriesModel.prototype.init=function(d,b,x){this.seriesIndex=this.componentIndex,this.dataTask=createTask({count:dataTaskCount,reset:dataTaskReset}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(d,x),(Ja(this).sourceManager=new qa(this)).prepareSource();var T=this.getInitialData(d,x);wrapData(T,this),this.dataTask.context.data=T,Ja(this).dataBeforeProcessed=T,autoSeriesName(this),this._initSelectedMapFromData(T)},SeriesModel.prototype.mergeDefaultAndTheme=function(d,b){var x=fetchLayoutMode(this),T=x?getLayoutParams(d):{},D=this.subType;Bo.hasClass(D)&&(D+="Series"),H.I(d,b.getTheme().get(this.subType)),H.I(d,this.getDefaultOption()),defaultEmphasis(d,"label",["show"]),this.fillDataTextStyle(d.data),x&&mergeLayoutParam(d,T,x)},SeriesModel.prototype.mergeOption=function(d,b){d=H.I(this.option,d,!0),this.fillDataTextStyle(d.data);var x=fetchLayoutMode(this);x&&mergeLayoutParam(this.option,d,x);var T=Ja(this).sourceManager;T.dirty(),T.prepareSource();var D=this.getInitialData(d,b);wrapData(D,this),this.dataTask.dirty(),this.dataTask.context.data=D,Ja(this).dataBeforeProcessed=D,autoSeriesName(this),this._initSelectedMapFromData(D)},SeriesModel.prototype.fillDataTextStyle=function(d){if(d&&!H.E(d))for(var b=["show"],x=0;x<d.length;x++)d[x]&&d[x].label&&defaultEmphasis(d[x],"label",b)},SeriesModel.prototype.getInitialData=function(d,b){},SeriesModel.prototype.appendData=function(d){this.getRawData().appendData(d.data)},SeriesModel.prototype.getData=function(d){var b=getCurrentTask(this);if(b){var x=b.context.data;return null!=d&&x.getLinkedData?x.getLinkedData(d):x}return Ja(this).data},SeriesModel.prototype.getAllData=function(){var d=this.getData();return d&&d.getLinkedDataAll?d.getLinkedDataAll():[{data:d}]},SeriesModel.prototype.setData=function(d){var b=getCurrentTask(this);if(b){var x=b.context;x.outputData=d,b!==this.dataTask&&(x.data=d)}Ja(this).data=d},SeriesModel.prototype.getEncode=function(){var d=this.get("encode",!0);if(d)return H.f(d)},SeriesModel.prototype.getSourceManager=function(){return Ja(this).sourceManager},SeriesModel.prototype.getSource=function(){return this.getSourceManager().getSource()},SeriesModel.prototype.getRawData=function(){return Ja(this).dataBeforeProcessed},SeriesModel.prototype.getColorBy=function(){return this.get("colorBy")||"series"},SeriesModel.prototype.isColorBySeries=function(){return"series"===this.getColorBy()},SeriesModel.prototype.getBaseAxis=function(){var d=this.coordinateSystem;return d&&d.getBaseAxis&&d.getBaseAxis()},SeriesModel.prototype.indicesOfNearest=function(d,b,x,T){var D=this.getData(),z=this.coordinateSystem,H=z&&z.getAxis(d);if(!z||!H)return[];var W=H.dataToCoord(x);null==T&&(T=1/0);var U=[],Y=1/0,Z=-1,J=0;return D.each(b,(function(d,b){var x=H.dataToCoord(d),D=W-x,z=Math.abs(D);z<=T&&((z<Y||z===Y&&D>=0&&Z<0)&&(Y=z,Z=D,J=0),D===Z&&(U[J++]=b))})),U.length=J,U},SeriesModel.prototype.formatTooltip=function(d,b,x){return defaultSeriesFormatTooltip({series:this,dataIndex:d,multipleSeries:b})},SeriesModel.prototype.isAnimationEnabled=function(){var d=this.ecModel;if(z.a.node&&(!d||!d.ssr))return!1;var b=this.getShallow("animation");return b&&this.getData().count()>this.getShallow("animationThreshold")&&(b=!1),!!b},SeriesModel.prototype.restoreData=function(){this.dataTask.dirty()},SeriesModel.prototype.getColorFromPalette=function(d,b,x){var T=this.ecModel,D=ta.prototype.getColorFromPalette.call(this,d,b,x);return D||(D=T.getColorFromPalette(d,b,x)),D},SeriesModel.prototype.coordDimToDataDim=function(d){return this.getRawData().mapDimensionsAll(d)},SeriesModel.prototype.getProgressive=function(){return this.get("progressive")},SeriesModel.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},SeriesModel.prototype.select=function(d,b){this._innerSelect(this.getData(b),d)},SeriesModel.prototype.unselect=function(d,b){var x=this.option.selectedMap;if(x){var T=this.option.selectedMode,D=this.getData(b);if("series"===T||"all"===x)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var z=0;z<d.length;z++){var H=getSelectionKey(D,d[z]);x[H]=!1,this._selectedDataIndicesMap[H]=-1}}},SeriesModel.prototype.toggleSelect=function(d,b){for(var x=[],T=0;T<d.length;T++)x[0]=d[T],this.isSelected(d[T],b)?this.unselect(x,b):this.select(x,b)},SeriesModel.prototype.getSelectedDataIndices=function(){if("all"===this.option.selectedMap)return[].slice.call(this.getData().getIndices());for(var d=this._selectedDataIndicesMap,b=H.F(d),x=[],T=0;T<b.length;T++){var D=d[b[T]];D>=0&&x.push(D)}return x},SeriesModel.prototype.isSelected=function(d,b){var x=this.option.selectedMap;if(!x)return!1;var T=this.getData(b);return("all"===x||x[getSelectionKey(T,d)])&&!T.getItemModel(d).get(["select","disabled"])},SeriesModel.prototype.isUniversalTransitionEnabled=function(){if(this.__universalTransitionEnabled)return!0;var d=this.option.universalTransition;return!!d&&(!0===d||d&&d.enabled)},SeriesModel.prototype._innerSelect=function(d,b){var x,T,D=this.option,z=D.selectedMode,W=b.length;if(z&&W)if("series"===z)D.selectedMap="all";else if("multiple"===z){H.A(D.selectedMap)||(D.selectedMap={});for(var U=D.selectedMap,Y=0;Y<W;Y++){var Z=b[Y];U[ee=getSelectionKey(d,Z)]=!0,this._selectedDataIndicesMap[ee]=d.getRawIndex(Z)}}else if("single"===z||!0===z){var J=b[W-1],ee=getSelectionKey(d,J);D.selectedMap=((x={})[ee]=!0,x),this._selectedDataIndicesMap=((T={})[ee]=d.getRawIndex(J),T)}},SeriesModel.prototype._initSelectedMapFromData=function(d){if(!this.option.selectedMap){var b=[];d.hasItemOption&&d.each((function(x){var T=d.getRawDataItem(x);T&&T.selected&&b.push(x)})),b.length>0&&this._innerSelect(d,b)}},SeriesModel.registerClass=function(d){return Bo.registerClass(d)},SeriesModel.protoInitialize=((b=SeriesModel.prototype).type="series.__base__",b.seriesIndex=0,b.ignoreStyleOnData=!1,b.hasSymbolVisual=!1,b.defaultSymbol="circle",b.visualStyleAccessPath="itemStyle",void(b.visualDrawType="fill")),SeriesModel}(Bo);function autoSeriesName(d){var b=d.name;
vendor: 4,040 bytes, line 808
808isNameSpecified(d)||(d.name=function(d){var b=d.getRawData(),x=b.mapDimensionsAll("seriesName"),T=[];return H.k(x,(function(d){var x=b.getDimensionInfo(d);x.displayName&&T.push(x.displayName)})),T.join(" ")}(d)||b)}function dataTaskCount(d){return d.model.getRawData().count()}function dataTaskReset(d){var b=d.model;return b.setData(b.getRawData().cloneShallow()),dataTaskProgress}function dataTaskProgress(d,b){b.outputData&&d.end>b.outputData.count()&&b.model.getRawData().cloneShallow(b.outputData)}function wrapData(d,b){H.k(H.e(d.CHANGABLE_METHODS,d.DOWNSAMPLE_METHODS),(function(x){d.wrapMethod(x,H.h(onDataChange,b))}))}function onDataChange(d,b){var x=getCurrentTask(d);return x&&x.setOutputEnd((b||this).count()),b}function getCurrentTask(d){var b=(d.ecModel||{}).scheduler,x=b&&b.getPipeline(d.uid);if(x){var T=x.currentTask;if(T){var D=T.agentStubMap;D&&(T=D.get(d.uid))}return T}}H.K(Qa,Ia),H.K(Qa,ta),mountExtend(Qa,Bo);var es=Qa,ts=function(){function ComponentView(){this.group=new Xn,this.uid=getUID("viewComponent")}return ComponentView.prototype.init=function(d,b){},ComponentView.prototype.render=function(d,b,x,T){},ComponentView.prototype.dispose=function(d,b){},ComponentView.prototype.updateView=function(d,b,x,T){},ComponentView.prototype.updateLayout=function(d,b,x,T){},ComponentView.prototype.updateVisual=function(d,b,x,T){},ComponentView.prototype.toggleBlurSeries=function(d,b,x){},ComponentView.prototype.eachRendered=function(d){var b=this.group;b&&b.traverse(d)},ComponentView}();enableClassExtend(ts),enableClassManagement(ts);var ns=ts;function createRenderPlanner(){var d=makeInner();return function(b){var x=d(b),T=b.pipelineContext,D=!!x.large,z=!!x.progressiveRender,H=x.large=!(!T||!T.large),W=x.progressiveRender=!(!T||!T.progressiveRender);return!(D===H&&z===W)&&"reset"}}var is=er.CMD,rs=[[],[],[]],os=Math.sqrt,as=Math.atan2;function transformPath(d,b){if(b){var x,T,D,z,H,W,U=d.data,Y=d.len(),Z=is.M,J=is.C,ee=is.L,te=is.R,ne=is.A,ie=is.Q;for(D=0,z=0;D<Y;){switch(x=U[D++],z=D,T=0,x){case Z:case ee:T=1;break;case J:T=3;break;case ie:T=2;break;case ne:var oe=b[4],se=b[5],le=os(b[0]*b[0]+b[1]*b[1]),ce=os(b[2]*b[2]+b[3]*b[3]),de=as(-b[1]/ce,b[0]/le);U[D]*=le,U[D++]+=oe,U[D]*=ce,U[D++]+=se,U[D++]*=le,U[D++]*=ce,U[D++]+=de,U[D++]+=de,z=D+=2;break;case te:W[0]=U[D++],W[1]=U[D++],applyTransform(W,W,b),U[z++]=W[0],U[z++]=W[1],W[0]+=U[D++],W[1]+=U[D++],applyTransform(W,W,b),U[z++]=W[0],U[z++]=W[1]}for(H=0;H<T;H++){var he=rs[H];he[0]=U[D++],he[1]=U[D++],applyTransform(he,he,b),U[z++]=he[0],U[z++]=he[1]}}d.increaseVersion()}}var ss=Math.sqrt,ls=Math.sin,us=Math.cos,cs=Math.PI;function vMag(d){return Math.sqrt(d[0]*d[0]+d[1]*d[1])}function vRatio(d,b){return(d[0]*b[0]+d[1]*b[1])/(vMag(d)*vMag(b))}function vAngle(d,b){return(d[0]*b[1]<d[1]*b[0]?-1:1)*Math.acos(vRatio(d,b))}function processArc(d,b,x,T,D,z,H,W,U,Y,Z){var J=U*(cs/180),ee=us(J)*(d-x)/2+ls(J)*(b-T)/2,te=-1*ls(J)*(d-x)/2+us(J)*(b-T)/2,ne=ee*ee/(H*H)+te*te/(W*W);ne>1&&(H*=ss(ne),W*=ss(ne));var ie=(D===z?-1:1)*ss((H*H*(W*W)-H*H*(te*te)-W*W*(ee*ee))/(H*H*(te*te)+W*W*(ee*ee)))||0,oe=ie*H*te/W,se=ie*-W*ee/H,le=(d+x)/2+us(J)*oe-ls(J)*se,ce=(b+T)/2+ls(J)*oe+us(J)*se,de=vAngle([1,0],[(ee-oe)/H,(te-se)/W]),he=[(ee-oe)/H,(te-se)/W],pe=[(-1*ee-oe)/H,(-1*te-se)/W],fe=vAngle(he,pe);if(vRatio(he,pe)<=-1&&(fe=cs),vRatio(he,pe)>=1&&(fe=0),fe<0){var ge=Math.round(fe/cs*1e6)/1e6;fe=2*cs+ge%2*cs}Z.addData(Y,le,ce,H,W,de,fe,J,z)}var ds=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,hs=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;var ps=function(d){function SVGPath(){return null!==d&&d.apply(this,arguments)||this}return tslib_es6_extends(SVGPath,d),SVGPath.prototype.applyTransform=function(d){},SVGPath}(cr);function isPathProxy(d){return null!=d.setData}function createPathOptions(d,b){var x=function(d){var b=new er;if(!d)return b;var x,T=0,D=0,z=T,H=D,W=er.CMD,U=d.match(ds);if(!U)return b;for(var Y=0;Y<U.length;Y++){for(var Z=U[Y],J=Z.charAt(0),ee=void 0,te=Z.match(hs)||[],ne=te.length,ie=0;ie<ne;ie++)te[ie]=parseFloat(te[ie]);for(var oe=0;oe<ne;
vendor: 4,667 bytes, line 808
808){var se=void 0,le=void 0,ce=void 0,de=void 0,he=void 0,pe=void 0,fe=void 0,ge=T,me=D,ye=void 0,ve=void 0;switch(J){case"l":T+=te[oe++],D+=te[oe++],ee=W.L,b.addData(ee,T,D);break;case"L":T=te[oe++],D=te[oe++],ee=W.L,b.addData(ee,T,D);break;case"m":T+=te[oe++],D+=te[oe++],ee=W.M,b.addData(ee,T,D),z=T,H=D,J="l";break;case"M":T=te[oe++],D=te[oe++],ee=W.M,b.addData(ee,T,D),z=T,H=D,J="L";break;case"h":T+=te[oe++],ee=W.L,b.addData(ee,T,D);break;case"H":T=te[oe++],ee=W.L,b.addData(ee,T,D);break;case"v":D+=te[oe++],ee=W.L,b.addData(ee,T,D);break;case"V":D=te[oe++],ee=W.L,b.addData(ee,T,D);break;case"C":ee=W.C,b.addData(ee,te[oe++],te[oe++],te[oe++],te[oe++],te[oe++],te[oe++]),T=te[oe-2],D=te[oe-1];break;case"c":ee=W.C,b.addData(ee,te[oe++]+T,te[oe++]+D,te[oe++]+T,te[oe++]+D,te[oe++]+T,te[oe++]+D),T+=te[oe-2],D+=te[oe-1];break;case"S":se=T,le=D,ye=b.len(),ve=b.data,x===W.C&&(se+=T-ve[ye-4],le+=D-ve[ye-3]),ee=W.C,ge=te[oe++],me=te[oe++],T=te[oe++],D=te[oe++],b.addData(ee,se,le,ge,me,T,D);break;case"s":se=T,le=D,ye=b.len(),ve=b.data,x===W.C&&(se+=T-ve[ye-4],le+=D-ve[ye-3]),ee=W.C,ge=T+te[oe++],me=D+te[oe++],T+=te[oe++],D+=te[oe++],b.addData(ee,se,le,ge,me,T,D);break;case"Q":ge=te[oe++],me=te[oe++],T=te[oe++],D=te[oe++],ee=W.Q,b.addData(ee,ge,me,T,D);break;case"q":ge=te[oe++]+T,me=te[oe++]+D,T+=te[oe++],D+=te[oe++],ee=W.Q,b.addData(ee,ge,me,T,D);break;case"T":se=T,le=D,ye=b.len(),ve=b.data,x===W.Q&&(se+=T-ve[ye-4],le+=D-ve[ye-3]),T=te[oe++],D=te[oe++],ee=W.Q,b.addData(ee,se,le,T,D);break;case"t":se=T,le=D,ye=b.len(),ve=b.data,x===W.Q&&(se+=T-ve[ye-4],le+=D-ve[ye-3]),T+=te[oe++],D+=te[oe++],ee=W.Q,b.addData(ee,se,le,T,D);break;case"A":ce=te[oe++],de=te[oe++],he=te[oe++],pe=te[oe++],fe=te[oe++],processArc(ge=T,me=D,T=te[oe++],D=te[oe++],pe,fe,ce,de,he,ee=W.A,b);break;case"a":ce=te[oe++],de=te[oe++],he=te[oe++],pe=te[oe++],fe=te[oe++],processArc(ge=T,me=D,T+=te[oe++],D+=te[oe++],pe,fe,ce,de,he,ee=W.A,b)}}"z"!==J&&"Z"!==J||(ee=W.Z,b.addData(ee),T=z,D=H),x=ee}return b.toStatic(),b}(d),T=Object(H.m)({},b);return T.buildPath=function(d){var b,T=isPathProxy(d);T&&d.canSave()?(d.appendPath(x),(b=d.getContext())&&d.rebuildPath(b,1)):(b=T?d.getContext():d)&&x.rebuildPath(b,1)},T.applyTransform=function(d){transformPath(x,d),this.dirtyShape()},T}function createFromString(d,b){return new ps(createPathOptions(d,b))}function clonePath(d,b){b=b||{};var x=new cr;return d.shape&&x.setShape(d.shape),x.setStyle(d.style),b.bakeTransform?transformPath(x.path,d.getComputedTransform()):b.toLocal?x.setLocalTransform(d.getComputedTransform()):x.copyTransform(d),x.buildPath=d.buildPath,x.applyTransform=x.applyTransform,x.z=d.z,x.z2=d.z2,x.zlevel=d.zlevel,x}var CircleShape=function(){this.cx=0,this.cy=0,this.r=0},fs=function(d){function Circle(b){return d.call(this,b)||this}return tslib_es6_extends(Circle,d),Circle.prototype.getDefaultShape=function(){return new CircleShape},Circle.prototype.buildPath=function(d,b){d.moveTo(b.cx+b.r,b.cy),d.arc(b.cx,b.cy,b.r,0,2*Math.PI)},Circle}(cr);fs.prototype.type="circle";var gs=fs,EllipseShape=function(){this.cx=0,this.cy=0,this.rx=0,this.ry=0},ms=function(d){function Ellipse(b){return d.call(this,b)||this}return tslib_es6_extends(Ellipse,d),Ellipse.prototype.getDefaultShape=function(){return new EllipseShape},Ellipse.prototype.buildPath=function(d,b){var x=.5522848,T=b.cx,D=b.cy,z=b.rx,H=b.ry,W=z*x,U=H*x;d.moveTo(T-z,D),d.bezierCurveTo(T-z,D-U,T-W,D-H,T,D-H),d.bezierCurveTo(T+W,D-H,T+z,D-U,T+z,D),d.bezierCurveTo(T+z,D+U,T+W,D+H,T,D+H),d.bezierCurveTo(T-W,D+H,T-z,D+U,T-z,D),d.closePath()},Ellipse}(cr);ms.prototype.type="ellipse";var ys=ms,vs=Math.PI,bs=2*vs,xs=Math.sin,_s=Math.cos,ws=Math.acos,Ss=Math.atan2,Ms=Math.abs,Cs=Math.sqrt,Ts=Math.max,ks=Math.min;function computeCornerTangents(d,b,x,T,D,z,H){var W=d-x,U=b-T,Y=(H?z:-z)/Cs(W*W+U*U),Z=Y*U,J=-Y*W,ee=d+Z,te=b+J,ne=x+Z,ie=T+J,oe=(ee+ne)/2,se=(te+ie)/2,le=ne-ee,ce=ie-te,de=le*le+ce*ce,he=D-z,pe=ee*ie-ne*te,fe=(ce<0?-1:1)*Cs(Ts(0,he*he*de-pe*pe)),ge=(pe*ce-le*fe)/de,me=(-pe*le-ce*fe)/de,ye=(pe*ce+le*fe)/de,ve=(-pe*le+ce*fe)/de,xe=ge-oe,_e=me-se,we=ye-oe,Se=ve-se;return xe*xe+_e*_e>we*we+Se*Se&&(ge=ye,me=ve),{cx:ge,cy:me,x0:-Z,y0:-J,x1:ge*(D/he-1),y1:me*(D/he-1)}}function roundSector_buildPath(d,b){var x,T=Ts(b.r,0),D=Ts(b.r0||0,0),z=T>0;if(z||D>0){if(z||(T=D,D=0),D>T){var W=T;T=D,D=W}var U=b.startAngle,Y=b.endAngle;if(!isNaN(U)&&!isNaN(Y)){var Z=b.cx,J=b.cy,ee=!!b.clockwise,te=Ms(Y-U),ne=te>bs&&te%bs;if(ne>1e-4&&(te=ne),T>1e-4)if(te>bs-1e-4)d.moveTo(Z+T*_s(U),J+T*xs(U)),d.arc(Z,J,T,U,Y,!ee),D>1e-4&&(d.moveTo(Z+D*_s(Y),J+D*xs(Y)),d.arc(Z,J,D,Y,U,ee));else{var ie=void 0,oe=void 0,se=void 0,le=void 0,ce=void 0,de=void 0,he=void 0,pe
vendor: 6,775 bytes, line 808
808=void 0,fe=void 0,ge=void 0,me=void 0,ye=void 0,ve=void 0,xe=void 0,_e=void 0,we=void 0,Se=T*_s(U),Me=T*xs(U),Te=D*_s(Y),ke=D*xs(Y),Pe=te>1e-4;if(Pe){var Ee=b.cornerRadius;Ee&&(ie=(x=function(d){var b;if(Object(H.t)(d)){var x=d.length;if(!x)return d;b=1===x?[d[0],d[0],0,0]:2===x?[d[0],d[0],d[1],d[1]]:3===x?d.concat(d[2]):d}else b=[d,d,d,d];return b}(Ee))[0],oe=x[1],se=x[2],le=x[3]);var Le=Ms(T-D)/2;if(ce=ks(Le,se),de=ks(Le,le),he=ks(Le,ie),pe=ks(Le,oe),me=fe=Ts(ce,de),ye=ge=Ts(he,pe),(fe>1e-4||ge>1e-4)&&(ve=T*_s(Y),xe=T*xs(Y),_e=D*_s(U),we=D*xs(U),te<vs)){var Ne=function(d,b,x,T,D,z,H,W){var U=x-d,Y=T-b,Z=H-D,J=W-z,ee=J*U-Z*Y;if(!(ee*ee<1e-4))return[d+(ee=(Z*(b-z)-J*(d-D))/ee)*U,b+ee*Y]}(Se,Me,_e,we,ve,xe,Te,ke);if(Ne){var Ve=Se-Ne[0],Fe=Me-Ne[1],Ge=ve-Ne[0],Ye=xe-Ne[1],Xe=1/xs(ws((Ve*Ge+Fe*Ye)/(Cs(Ve*Ve+Fe*Fe)*Cs(Ge*Ge+Ye*Ye)))/2),Ke=Cs(Ne[0]*Ne[0]+Ne[1]*Ne[1]);me=ks(fe,(T-Ke)/(Xe+1)),ye=ks(ge,(D-Ke)/(Xe-1))}}}if(Pe)if(me>1e-4){var Qe=ks(se,me),et=ks(le,me),tt=computeCornerTangents(_e,we,Se,Me,T,Qe,ee),nt=computeCornerTangents(ve,xe,Te,ke,T,et,ee);d.moveTo(Z+tt.cx+tt.x0,J+tt.cy+tt.y0),me<fe&&Qe===et?d.arc(Z+tt.cx,J+tt.cy,me,Ss(tt.y0,tt.x0),Ss(nt.y0,nt.x0),!ee):(Qe>0&&d.arc(Z+tt.cx,J+tt.cy,Qe,Ss(tt.y0,tt.x0),Ss(tt.y1,tt.x1),!ee),d.arc(Z,J,T,Ss(tt.cy+tt.y1,tt.cx+tt.x1),Ss(nt.cy+nt.y1,nt.cx+nt.x1),!ee),et>0&&d.arc(Z+nt.cx,J+nt.cy,et,Ss(nt.y1,nt.x1),Ss(nt.y0,nt.x0),!ee))}else d.moveTo(Z+Se,J+Me),d.arc(Z,J,T,U,Y,!ee);else d.moveTo(Z+Se,J+Me);if(D>1e-4&&Pe)if(ye>1e-4){Qe=ks(ie,ye),tt=computeCornerTangents(Te,ke,ve,xe,D,-(et=ks(oe,ye)),ee),nt=computeCornerTangents(Se,Me,_e,we,D,-Qe,ee);d.lineTo(Z+tt.cx+tt.x0,J+tt.cy+tt.y0),ye<ge&&Qe===et?d.arc(Z+tt.cx,J+tt.cy,ye,Ss(tt.y0,tt.x0),Ss(nt.y0,nt.x0),!ee):(et>0&&d.arc(Z+tt.cx,J+tt.cy,et,Ss(tt.y0,tt.x0),Ss(tt.y1,tt.x1),!ee),d.arc(Z,J,D,Ss(tt.cy+tt.y1,tt.cx+tt.x1),Ss(nt.cy+nt.y1,nt.cx+nt.x1),ee),Qe>0&&d.arc(Z+nt.cx,J+nt.cy,Qe,Ss(nt.y1,nt.x1),Ss(nt.y0,nt.x0),!ee))}else d.lineTo(Z+Te,J+ke),d.arc(Z,J,D,Y,U,ee);else d.lineTo(Z+Te,J+ke)}else d.moveTo(Z,J);d.closePath()}}}var SectorShape=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0},As=function(d){function Sector(b){return d.call(this,b)||this}return tslib_es6_extends(Sector,d),Sector.prototype.getDefaultShape=function(){return new SectorShape},Sector.prototype.buildPath=function(d,b){roundSector_buildPath(d,b)},Sector.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},Sector}(cr);As.prototype.type="sector";var Ps=As,RingShape=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},Os=function(d){function Ring(b){return d.call(this,b)||this}return tslib_es6_extends(Ring,d),Ring.prototype.getDefaultShape=function(){return new RingShape},Ring.prototype.buildPath=function(d,b){var x=b.cx,T=b.cy,D=2*Math.PI;d.moveTo(x+b.r,T),d.arc(x,T,b.r,0,D,!1),d.moveTo(x+b.r0,T),d.arc(x,T,b.r0,0,D,!0)},Ring}(cr);Os.prototype.type="ring";var Is=Os;function poly_buildPath(d,b,x){var T=b.smooth,D=b.points;if(D&&D.length>=2){if(T){var z=function(d,b,x,T){var D,z,H,W,U=[],Y=[],Z=[],J=[];if(T){H=[1/0,1/0],W=[-1/0,-1/0];for(var ee=0,te=d.length;ee<te;ee++)vector_min(H,H,d[ee]),vector_max(W,W,d[ee]);vector_min(H,H,T[0]),vector_max(W,W,T[1])}for(ee=0,te=d.length;ee<te;ee++){var ne=d[ee];if(x)D=d[ee?ee-1:te-1],z=d[(ee+1)%te];else{if(0===ee||ee===te-1){U.push(vector_clone(d[ee]));continue}D=d[ee-1],z=d[ee+1]}vector_sub(Y,z,D),vector_scale(Y,Y,b);var ie=vector_distance(ne,D),oe=vector_distance(ne,z),se=ie+oe;0!==se&&(ie/=se,oe/=se),vector_scale(Z,Y,-ie),vector_scale(J,Y,oe);var le=vector_add([],ne,Z),ce=vector_add([],ne,J);T&&(vector_max(le,le,H),vector_min(le,le,W),vector_max(ce,ce,H),vector_min(ce,ce,W)),U.push(le),U.push(ce)}return x&&U.push(U.shift()),U}(D,T,x,b.smoothConstraint);d.moveTo(D[0][0],D[0][1]);for(var H=D.length,W=0;W<(x?H:H-1);W++){var U=z[2*W],Y=z[2*W+1],Z=D[(W+1)%H];d.bezierCurveTo(U[0],U[1],Y[0],Y[1],Z[0],Z[1])}}else{d.moveTo(D[0][0],D[0][1]);W=1;for(var J=D.length;W<J;W++)d.lineTo(D[W][0],D[W][1])}x&&d.closePath()}}var PolygonShape=function(){this.points=null,this.smooth=0,this.smoothConstraint=null},Ds=function(d){function Polygon(b){return d.call(this,b)||this}return tslib_es6_extends(Polygon,d),Polygon.prototype.getDefaultShape=function(){return new PolygonShape},Polygon.prototype.buildPath=function(d,b){poly_buildPath(d,b,!0)},Polygon}(cr);Ds.prototype.type="polygon";var Es=Ds,PolylineShape=function(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null},Ls=function(d){function Polyline(b){return d.call(this,b)||this}return tslib_es6_extends(Polyline,d),Polyline.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},Polyline.prototype.getDefaultShape=function(){return new PolylineShape},Polyline.prototype.buildPath=function(d,b){poly_buildPath(d,b,!1)},Polyline}(cr);Ls.prototype.type="polyline";var Rs=Ls,Bs={},LineShape=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1},Ns=function(d){function Line(b){return d.call(this,b)||this}return tslib_es6_extends(Line,d),Line.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},Line.prototype.getDefaultShape=function(){return new LineShape},Line.prototype.buildPath=function(d,b){var x,T,D,z;if(this.subPixelOptimize){var H=subPixelOptimizeLine(Bs,b,this.style);x=H.x1,T=H.y1,D=H.x2,z=H.y2}else x=b.x1,T=b.y1,D=b.x2,z=b.y2;var W=b.percent;0!==W&&(d.moveTo(x,T),W<1&&(D=x*(1-W)+D*W,z=T*(1-W)+z*W),d.lineTo(D,z))},Line.prototype.pointAt=function(d){var b=this.shape;return[b.x1*(1-d)+b.x2*d,b.y1*(1-d)+b.y2*d]},Line}(cr);Ns.prototype.type="line";var js=Ns,Vs=[],BezierCurveShape=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1};function someVectorAt(d,b,x){var T=d.cpx2,D=d.cpy2;return null!=T||null!=D?[(x?cubicDerivativeAt:curve_cubicAt)(d.x1,d.cpx1,d.cpx2,d.x2,b),(x?cubicDerivativeAt:curve_cubicAt)(d.y1,d.cpy1,d.cpy2,d.y2,b)]:[(x?curve_quadraticDerivativeAt:curve_quadraticAt)(d.x1,d.cpx1,d.x2,b),(x?curve_quadraticDerivativeAt:curve_quadraticAt)(d.y1,d.cpy1,d.y2,b)]}var zs=function(d){function BezierCurve(b){return d.call(this,b)||this}return tslib_es6_extends(BezierCurve,d),BezierCurve.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},BezierCurve.prototype.getDefaultShape=function(){return new BezierCurveShape},BezierCurve.prototype.buildPath=function(d,b){var x=b.x1,T=b.y1,D=b.x2,z=b.y2,H=b.cpx1,W=b.cpy1,U=b.cpx2,Y=b.cpy2,Z=b.percent;0!==Z&&(d.moveTo(x,T),null==U||null==Y?(Z<1&&(curve_quadraticSubdivide(x,H,D,Z,Vs),H=Vs[1],D=Vs[2],curve_quadraticSubdivide(T,W,z,Z,Vs),W=Vs[1],z=Vs[2]),d.quadraticCurveTo(H,W,D,z)):(Z<1&&(cubicSubdivide(x,H,U,D,Z,Vs),H=Vs[1],U=Vs[2],D=Vs[3],cub
vendor: 6,771 bytes, line 808
808icSubdivide(T,W,Y,z,Z,Vs),W=Vs[1],Y=Vs[2],z=Vs[3]),d.bezierCurveTo(H,W,U,Y,D,z)))},BezierCurve.prototype.pointAt=function(d){return someVectorAt(this.shape,d,!1)},BezierCurve.prototype.tangentAt=function(d){var b=someVectorAt(this.shape,d,!0);return normalize(b,b)},BezierCurve}(cr);zs.prototype.type="bezier-curve";var Fs=zs,ArcShape=function(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},Hs=function(d){function Arc(b){return d.call(this,b)||this}return tslib_es6_extends(Arc,d),Arc.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},Arc.prototype.getDefaultShape=function(){return new ArcShape},Arc.prototype.buildPath=function(d,b){var x=b.cx,T=b.cy,D=Math.max(b.r,0),z=b.startAngle,H=b.endAngle,W=b.clockwise,U=Math.cos(z),Y=Math.sin(z);d.moveTo(U*D+x,Y*D+T),d.arc(x,T,D,z,H,!W)},Arc}(cr);Hs.prototype.type="arc";var Gs=Hs,$s=function(d){function CompoundPath(){var b=null!==d&&d.apply(this,arguments)||this;return b.type="compound",b}return tslib_es6_extends(CompoundPath,d),CompoundPath.prototype._updatePathDirty=function(){for(var d=this.shape.paths,b=this.shapeChanged(),x=0;x<d.length;x++)b=b||d[x].shapeChanged();b&&this.dirtyShape()},CompoundPath.prototype.beforeBrush=function(){this._updatePathDirty();for(var d=this.shape.paths||[],b=this.getGlobalScale(),x=0;x<d.length;x++)d[x].path||d[x].createPathProxy(),d[x].path.setScale(b[0],b[1],d[x].segmentIgnoreThreshold)},CompoundPath.prototype.buildPath=function(d,b){for(var x=b.paths||[],T=0;T<x.length;T++)x[T].buildPath(d,x[T].shape,!0)},CompoundPath.prototype.afterBrush=function(){for(var d=this.shape.paths||[],b=0;b<d.length;b++)d[b].pathUpdated()},CompoundPath.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),cr.prototype.getBoundingRect.call(this)},CompoundPath}(cr),Ws=function(){function Gradient(d){this.colorStops=d||[]}return Gradient.prototype.addColorStop=function(d,b){this.colorStops.push({offset:d,color:b})},Gradient}(),Us=function(d){function LinearGradient(b,x,T,D,z,H){var W=d.call(this,z)||this;return W.x=null==b?0:b,W.y=null==x?0:x,W.x2=null==T?1:T,W.y2=null==D?0:D,W.type="linear",W.global=H||!1,W}return tslib_es6_extends(LinearGradient,d),LinearGradient}(Ws),Ys=function(d){function RadialGradient(b,x,T,D,z){var H=d.call(this,D)||this;return H.x=null==b?.5:b,H.y=null==x?.5:x,H.r=null==T?.5:T,H.type="radial",H.global=z||!1,H}return tslib_es6_extends(RadialGradient,d),RadialGradient}(Ws),qs=Math.min,Zs=Math.max,Xs=Math.abs,Ks=[0,0],Js=[0,0],Qs=createIntersectContext(),el=Qs.minTv,tl=Qs.maxTv,nl=function(){function OrientedBoundingRect(d,b){this._corners=[],this._axes=[],this._origin=[0,0];for(var x=0;x<4;x++)this._corners[x]=new ce;for(x=0;x<2;x++)this._axes[x]=new ce;d&&this.fromBoundingRect(d,b)}return OrientedBoundingRect.prototype.fromBoundingRect=function(d,b){var x=this._corners,T=this._axes,D=d.x,z=d.y,H=D+d.width,W=z+d.height;if(x[0].set(D,z),x[1].set(H,z),x[2].set(H,W),x[3].set(D,W),b)for(var U=0;U<4;U++)x[U].transform(b);ce.sub(T[0],x[1],x[0]),ce.sub(T[1],x[3],x[0]),T[0].normalize(),T[1].normalize();for(U=0;U<2;U++)this._origin[U]=T[U].dot(x[0])},OrientedBoundingRect.prototype.intersect=function(d,b,x){var T=!0,D=!b;return b&&ce.set(b,0,0),Qs.reset(x,!D),!this._intersectCheckOneSide(this,d,D,1)&&(T=!1,D)||!this._intersectCheckOneSide(d,this,D,-1)&&(T=!1,D)||D||Qs.negativeSize||ce.copy(b,T?Qs.useDir?Qs.dirMinTv:el:tl),T},OrientedBoundingRect.prototype._intersectCheckOneSide=function(d,b,x,T){for(var D=!0,z=0;z<2;z++){var H=d._axes[z];if(d._getProjMinMaxOnAxis(z,d._corners,Ks),d._getProjMinMaxOnAxis(z,b._corners,Js),Qs.negativeSize||Ks[1]<Js[0]||Ks[0]>Js[1]){if(D=!1,Qs.negativeSize||x)return D;var W=Xs(Js[0]-Ks[1]),U=Xs(Ks[0]-Js[1]);qs(W,U)>tl.len()&&(W<U?ce.scale(tl,H,-W*T):ce.scale(tl,H,U*T))}else if(!x){W=Xs(Js[0]-Ks[1]),U=Xs(Ks[0]-Js[1]);(Qs.useDir||qs(W,U)<el.len())&&((W<U||!Qs.bidirectional)&&(ce.scale(el,H,W*T),Qs.useDir&&Qs.calcDirMTV()),(W>=U||!Qs.bidirectional)&&(ce.scale(el,H,-U*T),Qs.useDir&&Qs.calcDirMTV()))}}return D},OrientedBoundingRect.prototype._getProjMinMaxOnAxis=function(d,b,x){for(var T=this._axes[d],D=this._origin,z=b[0].dot(T)+D[d],H=z,W=z,U=1;U<b.length;U++){var Y=b[U].dot(T)+D[d];H=qs(Y,H),W=Zs(Y,W)}x[0]=H+Qs.touchThreshold,x[1]=W-Qs.touchThreshold,Qs.negativeSize=x[1]<x[0]},OrientedBoundingRect}(),il=[],rl=function(d){function IncrementalDisplayable(){var b=null!==d&&d.apply(this,arguments)||this;return b.notClear=!0,b.incremental=!0,b._displayables=[],b._temporaryDisplayables=[],b._cursor=0,b}return tslib_es6_extends(IncrementalDisplayable,d),IncrementalDisplayable.prototype.traverse=function(d,b){d.call(b,this)},IncrementalDisplayable.prototype.useStyle=function(){this.style={}},IncrementalDisplayable.prototype.getCursor=function(){return this._cursor},IncrementalDisplayable.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},IncrementalDisplayable.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},IncrementalDisplayable.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},IncrementalDisplayable.prototype.addDisplayable=function(d,b){b?this._temporaryDisplayables.push(d):this._displayables.push(d),this.markRedraw()},IncrementalDisplayable.prototype.addDisplayables=function(d,b){b=b||!1;for(var x=0;x<d.length;x++)this.addDisplayable(d[x],b)},IncrementalDisplayable.prototype.getDisplayables=function(){return this._displayables},IncrementalDisplayable.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},IncrementalDisplayable.prototype.eachPendingDisplayable=function(d){for(var b=this._cursor;b<this._displayables.length;b++)d&&d(this._displayables[b]);for(b=0;b<this._temporaryDisplayables.length;b++)d&&d(this._temporaryDisplayables[b])},IncrementalDisplayable.prototype.update=function(){this.updateTransform();for(var d=this._cursor;d<this._displayables.length;d++){(b=this._displayables[d]).parent=this,b.update(),b.parent=null}for(d=0;d<this._temporaryDisplayables.length;d++){var b;(b=this._temporaryDisplayables[d]).parent=this,b.update(),b.parent=null}},IncrementalDisplayable.prototype.getBoundingRect=function(){if(!this._rect){for(var d=new Ee(1/0,1/0,-1/0,-1/0),b=0;b<this._displayables.length;b++){var x=this._displayables[b],T=x.getBoundingRect().clone();x.needLocalTransform()&&T.applyTransform(x.getLocalTransform(il)),d.union(T)}this._rect=d}return this._rect},IncrementalDisplayable.prototype.contain=function(d,b){var x=this.transformCoordToLocal(d,b);if(this.getBoundingRect().contain(x[0],x[1]))for(var T=0;T<this._displayables.length;T++){if(this._displayables[T].contain(d,b))return!0}return!1}
vendor: 5,275 bytes, line 808
808,IncrementalDisplayable}(ki),ol={},al=["x","y"],sl=["width","height"];function extendShape(d){return cr.extend(d)}var extendPathFromString=function(d,b){var x=createPathOptions(d,b);return function(d){function Sub(b){var T=d.call(this,b)||this;return T.applyTransform=x.applyTransform,T.buildPath=x.buildPath,T}return tslib_es6_extends(Sub,d),Sub}(ps)};function extendPath(d,b){return extendPathFromString(d,b)}function registerShape(d,b){ol[d]=b}function getShapeClass(d){if(ol.hasOwnProperty(d))return ol[d]}function makePath(d,b,x,T){var D=createFromString(d,b);return x&&("center"===T&&(x=centerGraphic(x,D.getBoundingRect())),resizePath(D,x)),D}function makeImage(d,b,x){var T=new yr({style:{image:d,x:b.x,y:b.y,width:b.width,height:b.height},onload:function(d){if("center"===x){var D={width:d.width,height:d.height};T.setStyle(centerGraphic(b,D))}}});return T}function centerGraphic(d,b){var x,T=b.width/b.height,D=d.height*T;return x=D<=d.width?d.height:(D=d.width)/T,{x:d.x+d.width/2-D/2,y:d.y+d.height/2-x/2,width:D,height:x}}var graphic_mergePath=function(d,b){for(var x=[],T=d.length,D=0;D<T;D++){var z=d[D];x.push(z.getUpdatedPathProxy(!0))}var H=new cr(b);return H.createPathProxy(),H.buildPath=function(d){if(isPathProxy(d)){d.appendPath(x);var b=d.getContext();b&&d.rebuildPath(b,1)}},H};function resizePath(d,b){if(d.applyTransform){var x=d.getBoundingRect().calculateTransform(b);d.applyTransform(x)}}function graphic_subPixelOptimizeLine(d,b){return subPixelOptimizeLine(d,d,{lineWidth:b}),d}function graphic_subPixelOptimizeRect(d,b){return subPixelOptimizeRect(d,d,b),d}var ll=subPixelOptimize;function getTransform(d,b){for(var x=identity([]);d&&d!==b;)matrix_mul(x,d.getLocalTransform(),x),d=d.parent;return x}function graphic_applyTransform(d,b,x){return b&&!Object(H.u)(b)&&(b=Nn.getLocalTransform(b)),x&&(b=matrix_invert([],b)),applyTransform([],d,b)}function transformDirection(d,b,x){var T=0===b[4]||0===b[5]||0===b[0]?1:ii(2*b[4]/b[0]),D=0===b[4]||0===b[5]||0===b[2]?1:ii(2*b[4]/b[2]),z=["left"===d?-T:"right"===d?T:0,"top"===d?-D:"bottom"===d?D:0];return z=graphic_applyTransform(z,b,x),ii(z[0])>ii(z[1])?z[0]>0?"right":"left":z[1]>0?"bottom":"top"}function isNotGroup(d){return!d.isGroup}function groupTransition(d,b,x){if(d&&b){var T,D=(T={},d.traverse((function(d){isNotGroup(d)&&d.anid&&(T[d.anid]=d)})),T);b.traverse((function(d){if(isNotGroup(d)&&d.anid){var b=D[d.anid];if(b){var T=getAnimatableProps(d);d.attr(getAnimatableProps(b)),updateProps(d,T,x,Or(d).dataIndex)}}}))}function getAnimatableProps(d){var b={x:d.x,y:d.y,rotation:d.rotation};return function(d){return null!=d.shape}(d)&&(b.shape=Object(H.d)(d.shape)),b}}function clipPointsByRect(d,b){return Object(H.H)(d,(function(d){var x=d[0];x=ni(x,b.x),x=ti(x,b.x+b.width);var T=d[1];return T=ni(T,b.y),[x,T=ti(T,b.y+b.height)]}))}function clipRectByRect(d,b){var x=ni(d.x,b.x),T=ti(d.x+d.width,b.x+b.width),D=ni(d.y,b.y),z=ti(d.y+d.height,b.y+b.height);if(T>=x&&z>=D)return{x:x,y:D,width:T-x,height:z-D}}function createIcon(d,b,x){var T=Object(H.m)({rectHover:!0},b),D=T.style={strokeNoScale:!0};if(x=x||{x:-1,y:-1,width:2,height:2},d)return 0===d.indexOf("image://")?(D.image=d.slice(8),Object(H.i)(D,x),new yr(T)):makePath(d.replace("path://",""),T,x,"center")}function linePolygonIntersect(d,b,x,T,D){for(var z=0,H=D[D.length-1];z<D.length;z++){var W=D[z];if(lineLineIntersect(d,b,x,T,W[0],W[1],H[0],H[1]))return!0;H=W}}function lineLineIntersect(d,b,x,T,D,z,H,W){var U,Y=x-d,Z=T-b,J=H-D,ee=W-z,te=crossProduct2d(J,ee,Y,Z);if((U=te)<=1e-6&&U>=-1e-6)return!1;var ne=d-D,ie=b-z,oe=crossProduct2d(ne,ie,Y,Z)/te;if(oe<0||oe>1)return!1;var se=crossProduct2d(ne,ie,J,ee)/te;return!(se<0||se>1)}function crossProduct2d(d,b,x,T){return d*T-x*b}function expandOrShrinkRect(d,b,x,T,D){return null==b||(Object(H.z)(b)?ul[0]=ul[1]=ul[2]=ul[3]=b:(ul[0]=b[0],ul[1]=b[1],ul[2]=b[2],ul[3]=b[3]),T&&(ul[0]=ni(0,ul[0]),ul[1]=ni(0,ul[1]),ul[2]=ni(0,ul[2]),ul[3]=ni(0,ul[3])),x&&(ul[0]=-ul[0],ul[1]=-ul[1],ul[2]=-ul[2],ul[3]=-ul[3]),expandRectOnOneDimension(d,ul,"x","width",3,1,D&&D[0]||0),expandRectOnOneDimension(d,ul,"y","height",0,2,D&&D[1]||0)),d}var ul=[0,0,0,0];function expandRectOnOneDimension(d,b,x,T,D,z,H){var W=b[z]+b[D],U=d[T];d[T]+=W,H=ni(0,ti(H,U)),d[T]<H?(d[T]=H,d[x]+=b[D]>=0?-b[D]:b[z]>=0?U+b[z]:ii(W)>1e-8?(U-H)*b[D]/W:0):d[x]-=b[D]}function setTooltipConfig(d){var b=d.itemTooltipOption,x=d.componentModel,T=d.itemName,D=Object(H.C)(b)?{formatter:b}:b,z=x.mainType,W=x.componentIndex,U={componentType:z,name:T,$vars:["name"]};U[z+"Index"]=W;var Y=d.formatterParamsExtra;Y&&Object(H.k)(Object(H.F)(Y),(function(d){Object(H.q)(U,d)||(U[d]=Y[d],U.$vars.push(d))}));var Z=Or(d.el);Z.componentMainType=z,Z.componentIndex=W,Z.tooltipConfig={name:T,option:Object(H.i)({content:T,encodeHTMLContent:!0,formatterParams:U},D)}}function traverseElement(d,b){var x;d.isGroup&&(x=b(d)),x||d.traverse(b)}function traverseElements(d,b){if(d)if(Object(H.t)(d))for(var x=0;x<d.length;x++)traverseElement(d[x],b);else traverseElement(d,b)}function isBoundingRectAxisAligned(d){return!d||ii(d[1])<cl&&ii(d[2])<cl||ii(d[0])<cl&&ii(d[3])<cl}var cl=1e-5;function ensureCopyRect(d,b){return d?Ee.copy(d,b):b.clone()}function ensureCopyTransform(d,b){return b?matrix_copy(d||[1,0,0,1,0,0],b):void 0}
808function retrieveZInfo(d){return{z:d.get("z")||0,zlevel:d.get("zlevel")||0}}function calcZ2Range(d){var b=-1/0,x=1/0;function visitEl(d){if(d&&!d.isGroup){var b=d.currentStates;if(b.length)for(var x=0;x<b.length;x++)calcZ2(d.states[b[x]]);calcZ2(d)}}function calcZ2(d){if(d){var T=d.z2;T>b&&(b=T),T<x&&(x=T)}}return traverseElement(d,(function(d){visitEl(d),visitEl(d.getTextContent()),visitEl(d.getTextGuideLine())})),x>b&&(x=b=0),{min:x,max:b}}function traverseUpdateZ(d,b,x){!function doUpdateZ(d,b,x,T){if(d.ignoreModelZ)return T;var D=d.getTextContent(),z=d.getTextGuideLine();if(d.isGroup)for(var H=d.childrenRef(),W=0;W<H.length;W++)T=ni(doUpdateZ(H[W],b,x,T),T);else d.z=b,d.zlevel=x,T=ni(d.z2||0,T);D&&(D.z=b,D.zlevel=x,isFinite(T)&&(D.z2=T+2));if(z){var U=d.textGuideLineConfig;z.z=b,z.zlevel=x,isFinite(T)&&(z.z2=T+(U&&U.showAbove?1:-1))}return T}(d,b,x,-1/0)}registerShape("circle",gs),registerShape("ellipse",ys),registerShape("sector",Ps),registerShape("ring",Is),registerShape("polygon",Es),registerShape("polyline",Rs),registerShape("rect",_r),registerShape("line",js),registerShape("bezierCurve",Fs),registerShape("arc",Gs);var dl=makeInner(),hl=createRenderPlanner(),pl=function(){function ChartView(){this.group=new Xn,this.uid=getUID("viewChart"),this.renderTask=createTask({plan:renderTaskPlan,reset:renderTaskReset}),this.renderTask.context={view:this}}return ChartView.prototype.init=function(d,b){},ChartView.prototype.render=function(d,b,x,T){0},ChartView.prototype.highlight=function(d,b,x,T){var D=d.getData(T&&T.dataType);D&&toggleHighlight(D,T,"emphasis")},ChartView.prototype.downplay=function(d,b,x,T){var D=d.getData(T&&T.dataType);D&&toggleHighlight(D,T,"normal")},ChartView.prototype.remove=function(d,b){this.group.removeAll()},ChartView.prototype.dispose=function(d,b){},ChartView.prototype.updateView=function(d,b,x,T){this.render(d,b,x,T)},ChartView.prototype.updateLayout=function(d,b,x,T){this.render(d,b,x,T)},ChartView.prototype.updateVisual=function(d,b,x,T){this.render(d,b,x,T)},ChartView.prototype.eachRendered=function(d){traverseElements(this.group,d)},ChartView.markUpdateMethod=function(d,b){dl(d).updateMethod=b},ChartView.protoInitialize=void(ChartView.prototype.type="chart"),ChartView}();function elSetState(d,b,x){d&&isHighDownDispatcher(d)&&("emphasis"===b?enterEmphasis:leaveEmphasis)(d,x)}function toggleHighlight(d,b,x){var T=queryDataIndex(d,b),D=b&&null!=b.highlightKey?function(d){var b=Dr[d];return null==b&&Ir<=32&&(b=Dr[d]=Ir++),b}(b.highlightKey):null;null!=T?Object(H.k)(normalizeToArray(T),(function(b){elSetState(d.getItemGraphicEl(b),x,D)})):d.eachItemGraphicEl((function(d){elSetState(d,x,D)}))}function renderTaskPlan(d){return hl(d.model)}function renderTaskReset(d){var b=d.model,x=d.ecModel,T=d.api,D=d.payload,z=b.pipelineContext.progressiveRender,H=d.view,W=D&&dl(D).updateMethod,U=z?"incrementalPrepareRender":W&&H[W]?W:"render";return"render"!==U&&H[U](b,x,T,D),fl[U]}enableClassExtend(pl),enableClassManagement(pl);var fl={incrementalPrepareRender:{progress:function(d,b){b.view.incrementalRender(d,b.model,b.ecModel,b.api,b.payload)}},render:{forceFirstProgress:!0,progress:function(d,b){b.view.render(b.model,b.ecModel,b.api,b.payload)}}},gl=pl,ml="\0__throttleOriginMethod",yl="\0__throttleRate";function throttle(d,b,x){var T,D,z,H,W,U=0,Y=0,Z=null;function exec(){Y=(new Date).getTime(),Z=null,d.apply(z,H||[])}b=b||0;var cb=function(){for(var d=[],J=0;J<arguments.length;J++)d[J]=arguments[J];T=(new Date).getTime(),z=this,H=d;var ee=W||b,te=W||x;W=null,D=T-(te?U:Y)-ee,clearTimeout(Z),te?Z=setTimeout(exec,ee):D>=0?exec():Z=setTimeout(exec,-D),U=T};return cb.clear=function(){Z&&(clearTimeout(Z),Z=null)},cb.debounceNextCall=function(d){W=d},cb}function createOrUpdate(d,b,x,T){var D=d[b];if(D){var z=D[ml]||D,H=D["\0__throttleType"];if(D[yl]!==x||H!==T){if(null==x||!T)return d[b]=z;(D=d[b]=throttle(z,x,"debounce"===T))[ml]=z,D["\0__throttleType"]=T,D[yl]=x}return D}}function clear(d,b){var x=d[b];x&&x[ml]&&(x.clear&&x.clear(),d[b]=x[ml])}var vl=makeInner(),bl={itemStyle:makeStyleMapper(Qr,!0),lineStyle:makeStyleMapper(Xr,!0)},xl={lineStyle:"stroke",itemStyle:"fill"};function getStyleMapper(d,b){var x=d.visualStyleMapper||bl[b];return x||(console.warn("Unknown style type '"+b+"'."),bl.itemStyle)}function getDefaultColorKey(d,b){var x=d.visualDrawType||xl[b];return x||(console.warn("Unknown style type '"+b+"'."),"fill")}var _l={createOnAllSeries:!0,performRawSeries:!0,reset:function(d,b){var x=d.getData(),T=d.visualStyleAccessPath||"itemStyle",D=d.getModel(T),z=getStyleMapper(d,T)(D),W=D.getShallow("decal");W&&(x.setVisual("decal",W),W.dirty=!0);var U=getDefaultColorKey(d,T),Y=z[U],Z=Object(H.w)(Y)?Y:null,J="auto"===z.fill||"auto"===z.stroke;if(!z[U]||Z||J){var ee=d.getColorFromPalette(d.name,null,b.getSeriesCount());z[U]||(z[U]=ee,x.setVisual("colorFromPalette",!0)),z.fill="auto"===z.fill||Object(H.w)(z.fill)?ee:z.fill,z.stroke="auto"===z.stroke||Object(H.w)(z.stroke)?ee:z.stroke}if(x.setVisual("style",z),x.setVisual("drawType",U),!b.isSeriesFiltered(d)&&Z)return x.setVisual("colorFromPalette",!1),{dataEach:function(b,x){var T=d.getDataParams(x),D=Object(H.m)({},z);D[U]=Z(T),b.setItemVisual(x,"style",D)}}}},wl=new oo,Sl={createOnAllSeries:!0,performRawSeries:!0,reset:function(d,b){if(!d.ignoreStyleOnData&&!b.isSeriesFiltered(d)){var x=d.getData(),T=d.visualStyleAccessPath||"itemStyle",D=getStyleMapper(d,T),z=x.getVisual("drawType");return{dataEach:x.hasItemOption?function(d,b){var x=d.getRawDataItem(b);if(x&&x[T]){wl.option=x[T];var W=D(wl),U=d.ensureUniqueItemVisual(b,"style");Object(H.m)(U,W),wl.option.decal&&(d.setItemVisual(b,"decal",wl.option.decal),wl.option.decal.dirty=!0),z in W&&d.setItemVisual(b,"colorFromPalette",!1)}}:null}}}},Ml={performRawSeries:!0,overallReset:function(d){var b=Object(H.f)();d.eachSeries((function(d){var x=d.getColorBy();if(!d.isColorBySeries()){var T=d.type+"-"+x,D=b.get(T);D||(D={},b.set(T,D)),vl(d).scope=D}})),d.eachSeries((function(b){if(!b.isColorBySeries()&&!d.isSeriesFiltered(b)){var x=b.getRawData(),T={},D=b.getData(),z=vl(b).scope,H=b.visualStyleAccessPath||"itemStyle",W=getDefaultColorKey(b,H);D.each((function(d){var b=D.getRawIndex(d);T[b]=d})),x.each((function(d){var H=T[d];if(D.getItemVisual(H,"colorFromPalette")){var U=D.ensureUniqueItemVisual(H,"style"),Y=x.getName(d)||d+"",Z=x.count();U[W]=b.getColorFromPalette(Y,z,Z)}}))}}))}},Cl=Math.PI;var Tl=function(){function Scheduler(d,b,x,T){this._stageTaskMap=Object(H.f)(),this.ecInstance=d,this.api=b,x=this._dataProcessorHandlers=x.slice(),T=this._visualHandlers=T.slice(),this._allHandlers=x.concat(T)}return Scheduler.prototype.restoreData=function(d,b){d.restoreData(b),this._stageTaskMap.each((function(d){var b=d.overallTask;b&&b.dirty()}))},Scheduler.prototype.getPerformArgs=function(d,b){if(d.__pipeline){var x=this._pipelineMap.get(d.__pipeline.id),T=x.context,D=!b&&x.progressiveEnabled&&(!T||T.progressiveRen
vendor: 4,371 bytes, line 808
808der)&&d.__idxInPipeline>x.blockIndex?x.step:null,z=T&&T.modDataCount;return{step:D,modBy:null!=z?Math.ceil(z/D):null,modDataCount:z}}},Scheduler.prototype.getPipeline=function(d){return this._pipelineMap.get(d)},Scheduler.prototype.updateStreamModes=function(d,b){var x=this._pipelineMap.get(d.uid),T=d.getData().count(),D=x.progressiveEnabled&&b.incrementalPrepareRender&&T>=x.threshold,z=d.get("large")&&T>=d.get("largeThreshold"),H="mod"===d.get("progressiveChunkMode")?T:null;d.pipelineContext=x.context={progressiveRender:D,modDataCount:H,large:z}},Scheduler.prototype.restorePipelines=function(d){var b=this,x=b._pipelineMap=Object(H.f)();d.eachSeries((function(d){var T=d.getProgressive(),D=d.uid;x.set(D,{id:D,head:null,tail:null,threshold:d.getProgressiveThreshold(),progressiveEnabled:T&&!(d.preventIncremental&&d.preventIncremental()),blockIndex:-1,step:Math.round(T||700),count:0}),b._pipe(d,d.dataTask)}))},Scheduler.prototype.prepareStageTasks=function(){var d=this._stageTaskMap,b=this.api.getModel(),x=this.api;Object(H.k)(this._allHandlers,(function(T){var D=d.get(T.uid)||d.set(T.uid,{});Object(H.b)(!(T.reset&&T.overallReset),""),T.reset&&this._createSeriesStageTask(T,D,b,x),T.overallReset&&this._createOverallStageTask(T,D,b,x)}),this)},Scheduler.prototype.prepareView=function(d,b,x,T){var D=d.renderTask,z=D.context;z.model=b,z.ecModel=x,z.api=T,D.__block=!d.incrementalPrepareRender,this._pipe(b,D)},Scheduler.prototype.performDataProcessorTasks=function(d,b){this._performStageTasks(this._dataProcessorHandlers,d,b,{block:!0})},Scheduler.prototype.performVisualTasks=function(d,b,x){this._performStageTasks(this._visualHandlers,d,b,x)},Scheduler.prototype._performStageTasks=function(d,b,x,T){T=T||{};var D=!1,z=this;function needSetDirty(d,b){return d.setDirty&&(!d.dirtyMap||d.dirtyMap.get(b.__pipeline.id))}Object(H.k)(d,(function(d,H){if(!T.visualType||T.visualType===d.visualType){var W=z._stageTaskMap.get(d.uid),U=W.seriesTaskMap,Y=W.overallTask;if(Y){var Z,J=Y.agentStubMap;J.each((function(d){needSetDirty(T,d)&&(d.dirty(),Z=!0)})),Z&&Y.dirty(),z.updatePayload(Y,x);var ee=z.getPerformArgs(Y,T.block);J.each((function(d){d.perform(ee)})),Y.perform(ee)&&(D=!0)}else U&&U.each((function(H,W){needSetDirty(T,H)&&H.dirty();var U=z.getPerformArgs(H,T.block);U.skip=!d.performRawSeries&&b.isSeriesFiltered(H.context.model),z.updatePayload(H,x),H.perform(U)&&(D=!0)}))}})),this.unfinished=D||this.unfinished},Scheduler.prototype.performSeriesTasks=function(d){var b;d.eachSeries((function(d){b=d.dataTask.perform()||b})),this.unfinished=b||this.unfinished},Scheduler.prototype.plan=function(){this._pipelineMap.each((function(d){var b=d.tail;do{if(b.__block){d.blockIndex=b.__idxInPipeline;break}b=b.getUpstream()}while(b)}))},Scheduler.prototype.updatePayload=function(d,b){"remain"!==b&&(d.context.payload=b)},Scheduler.prototype._createSeriesStageTask=function(d,b,x,T){var D=this,z=b.seriesTaskMap,W=b.seriesTaskMap=Object(H.f)(),U=d.seriesType,Y=d.getTargetSeries;function create(b){var H=b.uid,U=W.set(H,z&&z.get(H)||createTask({plan:seriesTaskPlan,reset:seriesTaskReset,count:seriesTaskCount}));U.context={model:b,ecModel:x,api:T,useClearVisual:d.isVisual&&!d.isLayout,plan:d.plan,reset:d.reset,scheduler:D},D._pipe(b,U)}d.createOnAllSeries?x.eachRawSeries(create):U?x.eachRawSeriesByType(U,create):Y&&Y(x,T).each(create)},Scheduler.prototype._createOverallStageTask=function(d,b,x,T){var D=this,z=b.overallTask=b.overallTask||createTask({reset:overallTaskReset});z.context={ecModel:x,api:T,overallReset:d.overallReset,scheduler:D};var W=z.agentStubMap,U=z.agentStubMap=Object(H.f)(),Y=d.seriesType,Z=d.getTargetSeries,J=!0,ee=!1;function createStub(d){var b=d.uid,x=U.set(b,W&&W.get(b)||(ee=!0,createTask({reset:stubReset,onDirty:stubOnDirty})));x.context={model:d,overallProgress:J},x.agent=z,x.__block=J,D._pipe(d,x)}Object(H.b)(!d.createOnAllSeries,""),Y?x.eachRawSeriesByType(Y,createStub):Z?Z(x,T).each(createStub):(J=!1,Object(H.k)(x.getSeries(),createStub)),ee&&z.dirty()},Scheduler.prototype._pipe=function(d,b){var x=d.uid,T=this._pipelineMap.get(x);!T.head&&(T.head=b),T.tail&&T.tail.pipe(b),T.tail=b,b.__idxInPipeline=T.count++,b.__pipeline=T},Scheduler.wrapStageHandler=function(d,b){return Object(H.w)(d)&&(d={overallReset:d,seriesType:detectSeriseType(d)}),d.uid=getUID("stageHandler"),b&&(d.visualType=b),d},Scheduler}();
vendor: 1,281 bytes, line 808
808function overallTaskReset(d){d.overallReset(d.ecModel,d.api,d.payload)}function stubReset(d){return d.overallProgress&&stubProgress}function stubProgress(){this.agent.dirty(),this.getDownstream().dirty()}function stubOnDirty(){this.agent&&this.agent.dirty()}function seriesTaskPlan(d){return d.plan?d.plan(d.model,d.ecModel,d.api,d.payload):null}function seriesTaskReset(d){d.useClearVisual&&d.data.clearAllVisual();var b=d.resetDefines=normalizeToArray(d.reset(d.model,d.ecModel,d.api,d.payload));return b.length>1?Object(H.H)(b,(function(d,b){return makeSeriesTaskProgress(b)})):kl}var kl=makeSeriesTaskProgress(0);function makeSeriesTaskProgress(d){return function(b,x){var T=x.data,D=x.resetDefines[d];if(D&&D.dataEach)for(var z=b.start;z<b.end;z++)D.dataEach(T,z);else D&&D.progress&&D.progress(b,T)}}function seriesTaskCount(d){return d.data.count()}function detectSeriseType(d){Al=null;try{d(Pl,Ol)}catch(d){}return Al}var Al,Pl={},Ol={};function mockMethods(d,b){for(var x in b.prototype)d[x]=H.L}mockMethods(Pl,la),mockMethods(Ol,core_ExtensionAPI),Pl.eachSeriesByType=Pl.eachRawSeriesByType=function(d){Al=d},Pl.eachComponent=function(d){"series"===d.mainType&&d.subType&&(Al=d.subType)};var Il,Dl=Tl,El=Fo.darkColor,Ll=El.background,axisCommon=function(){return{axisLine
808:{lineStyle:{color:El.axisLine}},splitLine:{lineStyle:{color:El.axisSplitLine}},splitArea:{areaStyle:{color:[El.backgroundTint,El.backgroundTransparent]}},minorSplitLine:{lineStyle:{color:El.axisMinorSplitLine}},axisLabel:{color:El.axisLabel},axisName:{}}},Rl={label:{color:El.secondary},itemStyle:{borderColor:El.borderTint},dividerLineStyle:{color:El.border}},Bl={darkMode:!0,color:El.theme,backgroundColor:Ll,axisPointer:{lineStyle:{color:El.border},crossStyle:{color:El.borderShade},label:{color:El.tertiary}},legend:{textStyle:{color:El.secondary},pageTextStyle:{color:El.tertiary}},textStyle:{color:El.secondary},title:{textStyle:{color:El.primary},subtextStyle:{color:El.quaternary}},toolbox:{iconStyle:{borderColor:El.accent50}},tooltip:{backgroundColor:El.neutral20,defaultBorderColor:El.border,textStyle:{color:El.tertiary}},dataZoom:{borderColor:El.accent10,textStyle:{color:El.tertiary},brushStyle:{color:El.backgroundTint},handleStyle:{color:El.neutral00,borderColor:El.accent20},moveHandleStyle:{color:El.accent40},emphasis:{handleStyle:{borderColor:El.accent50}},dataBackground:{lineStyle:{color:El.accent30},areaStyle:{color:El.accent20}},selectedDataBackground:{lineStyle:{color:El.accent50},areaStyle:{color:El.accent30}}},visualMap:{textStyle:{color:El.secondary},handleStyle:{borderColor:El.neutral30}},timeline:{lineStyle:{color:El.accent10},label:{color:El.tertiary},controlStyle:{color:El.accent30,borderColor:El.accent30}},calendar:{itemStyle:{color:El.neutral00,borderColor:El.neutral20},dayLabel:{color:El.tertiary},monthLabel:{color:El.secondary},yearLabel:{color:El.secondary}},matrix:{x:Rl,y:Rl,backgroundColor:{borderColor:El.axisLine},body:{itemStyle:{borderColor:El.borderTint}}},timeAxis:axisCommon(),logAxis:axisCommon(),valueAxis:axisCommon(),categoryAxis:axisCommon(),line:{symbol:"circle"},graph:{color:El.theme},gauge:{title:{color:El.secondary},axisLine:{lineStyle:{color:[[1,El.neutral05]]}},axisLabel:{color:El.axisLabel},detail:{color:El.primary}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}},funnel:{itemStyle:{borderColor:El.background}},radar:(Il=axisCommon(),Il.axisName={color:El.axisLabel},Il.axisLine.lineStyle.color=El.neutral20,Il),treemap:{breadcrumb:{itemStyle:{color:El.neutral20,textStyle:{color:El.secondary}},emphasis:{itemStyle:{color:El.neutral30}}}},sunburst:{itemStyle:{borderColor:El.background}},map:{itemStyle:{borderColor:El.border,areaColor:El.neutral10},label:{color:El.tertiary},emphasis:{label:{color:El.primary},itemStyle:{areaColor:El.highlight}},select:{label:{color:El.primary},itemStyle:{areaColor:El.highlight}}},geo:{itemStyle:{borderColor:El.border,areaColor:El.neutral10},emphasis:{label:{color:El.primary},itemStyle:{areaColor:El.highlight}},select:{label:{color:El.primary},itemStyle:{color:El.highlight}}}};Bl.categoryAxis.splitLine.show=!1;var Nl=Bl,jl=function(){function ECEventProcessor(){}return ECEventProcessor.prototype.normalizeQuery=function(d){var b={},x={},T={};if(H.C(d)){var D=parseClassType(d);b.mainType=D.main||null,b.subType=D.sub||null}else{var z=["Index","Name","Id"],W={name:1,dataIndex:1,dataType:1};H.k(d,(function(d,D){for(var H=!1,U=0;U<z.length;U++){var Y=z[U],Z=D.lastIndexOf(Y);if(Z>0&&Z===D.length-Y.length){var J=D.slice(0,Z);"data"!==J&&(b.mainType=J,b[Y.toLowerCase()]=d,H=!0)}}W.hasOwnProperty(D)&&(x[D]=d,H=!0),H||(T[D]=d)}))}return{cptQuery:b,dataQuery:x,otherQuery:T}},ECEventProcessor.prototype.filter=function(d,b){var x=this.eventInfo;if(!x)return!0;var T=x.targetEl,D=x.packedEvent,z=x.model,H=x.view;if(!z||!H)return!0;var W=b.cptQuery,U=b.dataQuery;return check(W,z,"mainType")&&check(W,z,"subType")&&check(W,z,"index","componentIndex")&&check(W,z,"name")&&check(W,z,"id")&&check(U,D,"name")&&check(U,D,"dataIndex")&&check(U,D,"dataType")&&(!H.filterForExposedEvent||H.filterForExposedEvent(d,b.otherQuery,T,D));function check(d,b,x,T){return null==d[x]||b[T||x]===d[x]}},ECEventProcessor.prototype.afterTrigger=function(){this.eventInfo=null},ECEventProcessor}(),Vl=["symbol","symbolSize","symbolRotate","symbolOffset"],zl=Vl.concat(["symbolKeepAspect"]),Fl={createOnAllSeries:!0,performRawSeries:!0,reset:function(d,b){var x=d.getData();if(d.legendIcon&&x.setVisual("legendIcon",d.legendIcon),d.hasSymbolVisual){for(var T={},D={},z=!1,W=0;W<Vl.length;W++){var U=Vl[W],Y=d.get(U);Object(H.w)(Y)?(z=!0,D[U]=Y):T[U]=Y}if(T.symbol=T.symbol||d.defaultSymbol,x.setVisual(Object(H.m)({legendIcon:d.legendIcon||T.symbol,symbolKeepAspect:d.get("symbolKeepAspect")},T)),!b.isSeriesFiltered(d)){var Z=Object(H.F)(D);return{dataEach:z?function(b,x){for(var T=d.getRawValue(x),z=d.getDataParams(x),H=0;H<Z.length;H++){var W=Z[H];b.setItemVisual(x,W,D[W](T,z))}}:null}}}}},Hl={createOnAllSeries:!0,performRawSeries:!0,reset:function(d,b){if(d.hasSymbolVisual&&!b.isSeriesFiltered(d))return{dataEach:d.getData().hasItemOption?function(d,b){for(var x=d.getItemModel(b),T=0;T<zl.length;T++){var D=zl[T],z=x.getShallow(D,!0);null!=z&&d.setItemVisual(b,D,z)}}:null}}};function getItemVisualFromData(d,b,x){switch(x){case"color":return d.getItemVisual(b,"style")[d.getVisual("drawType")];case"opacity":return d.getItemVisual(b,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return d.getItemVisual(b,x);default:0}}function getVisualFromData(d,b){switch(b){case"color":return d.getVisual("style")[d.getVisual("drawType")];case"opacity":return d.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return d.getVisual(b);default:0}}function setItemVisualFromData(d,b,x,T){switch(x){case"color":d.ensureUniqueItemVisual(b,"style")[d.getVisual("drawType")]=T,d.setItemVisual(b,"colorFromPalette",!1);break;case"opacity":d.ensureUniqueItemVisual(b,"style").opacity=T;break;case"symbol":case"symbolSize":case"liftZ":d.setItemVisual(b,x,T);break;default:0}}function createLegacyDataSelectAction(d,b){function getSeriesIndices(b,x){var T=[];return b.eachComponent({mainType:"series",subType:d,query:x},(function(d){T.push(d.seriesIndex)})),T}Object(H.k)([[d+"ToggleSelect","toggleSelect"],[d+"Select","select"],[d+"UnSelect","unselect"]],(function(d){b(d[0],(function(b,x,T){b=Object(H.m)({},b),T.dispatchAction(Object(H.m)(b,{type:d[1],seriesIndex:getSeriesIndices(x,b)}))}))}))}function handleSeriesLegacySelectEvents(d,b,x,T,D){var z=d+b;x.isSilent(z)||T.eachComponent({mainType:"series",subType:"pie"},(function(d){for(var b=d.seriesIndex,T=d.option.selectedMap,W=D.selected,U=0;U<W.length;U++)if(W[U].seriesIndex===b){var Y=d.getData(),Z=queryDataIndex(Y,D.fromActionPayload);x.trigger(z,{type:z,seriesId:d.id,name:Object(H.t)(Z)?Y.getName(Z[0]):Y.getName(Z),selected:Object(H.C)(T)?T:Object(H.m)({},T)})}}))}function findEventDispatcher(d,b,x){for(var T;d&&(!b(d)||(T=d,!x));)d=d.__hostTarget||d.parent;return T}var Gl=Math.round(9*Math.random()),$l="function"==typeof Object.defineProperty,Wl=function(){function WeakMap(){this._id="__ec_inner_"+Gl++}return WeakMap.prototype.get=function(d){return this._guard(d)[this._id]},WeakMap.prototype.set=function(d,b){var x=this._guard(d);return $l?Object.defineProperty(x,this._id,{value:b,enumerable:!1,
vendor: 4,538 bytes, line 808
808configurable:!0}):x[this._id]=b,this},WeakMap.prototype.delete=function(d){return!!this.has(d)&&(delete this._guard(d)[this._id],!0)},WeakMap.prototype.has=function(d){return!!this._guard(d)[this._id]},WeakMap.prototype._guard=function(d){if(d!==Object(d))throw TypeError("Value of WeakMap is not a non-null object.");return d},WeakMap}(),Ul=cr.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(d,b){var x=b.cx,T=b.cy,D=b.width/2,z=b.height/2;d.moveTo(x,T-z),d.lineTo(x+D,T+z),d.lineTo(x-D,T+z),d.closePath()}}),Yl=cr.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(d,b){var x=b.cx,T=b.cy,D=b.width/2,z=b.height/2;d.moveTo(x,T-z),d.lineTo(x+D,T),d.lineTo(x,T+z),d.lineTo(x-D,T),d.closePath()}}),ql=cr.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(d,b){var x=b.x,T=b.y,D=b.width/5*3,z=Math.max(D,b.height),H=D/2,W=H*H/(z-H),U=T-z+H+W,Y=Math.asin(W/H),Z=Math.cos(Y)*H,J=Math.sin(Y),ee=Math.cos(Y),te=.6*H,ne=.7*H;d.moveTo(x-Z,U+W),d.arc(x,U,H,Math.PI-Y,2*Math.PI+Y),d.bezierCurveTo(x+Z-J*te,U+W+ee*te,x,T-ne,x,T),d.bezierCurveTo(x,T-ne,x-Z+J*te,U+W+ee*te,x-Z,U+W),d.closePath()}}),Zl=cr.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(d,b){var x=b.height,T=b.width,D=b.x,z=b.y,H=T/3*2;d.moveTo(D,z),d.lineTo(D+H,z+x),d.lineTo(D,z+x/4*3),d.lineTo(D-H,z+x),d.lineTo(D,z),d.closePath()}}),Xl={line:js,rect:_r,roundRect:_r,square:_r,circle:gs,diamond:Yl,pin:ql,arrow:Zl,triangle:Ul},Kl={line:function(d,b,x,T,D){D.x1=d,D.y1=b+T/2,D.x2=d+x,D.y2=b+T/2},rect:function(d,b,x,T,D){D.x=d,D.y=b,D.width=x,D.height=T},roundRect:function(d,b,x,T,D){D.x=d,D.y=b,D.width=x,D.height=T,D.r=Math.min(x,T)/4},square:function(d,b,x,T,D){var z=Math.min(x,T);D.x=d,D.y=b,D.width=z,D.height=z},circle:function(d,b,x,T,D){D.cx=d+x/2,D.cy=b+T/2,D.r=Math.min(x,T)/2},diamond:function(d,b,x,T,D){D.cx=d+x/2,D.cy=b+T/2,D.width=x,D.height=T},pin:function(d,b,x,T,D){D.x=d+x/2,D.y=b+T/2,D.width=x,D.height=T},arrow:function(d,b,x,T,D){D.x=d+x/2,D.y=b+T/2,D.width=x,D.height=T},triangle:function(d,b,x,T,D){D.cx=d+x/2,D.cy=b+T/2,D.width=x,D.height=T}},Jl={};Object(H.k)(Xl,(function(d,b){Jl[b]=new d}));var Ql=cr.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(d,b,x){var T=text_calculateTextPosition(d,b,x),D=this.shape;return D&&"pin"===D.symbolType&&"inside"===b.position&&(T.y=x.y+.4*x.height),T},buildPath:function(d,b,x){var T=b.symbolType;if("none"!==T){var D=Jl[T];D||(D=Jl[T="rect"]),Kl[T](b.x,b.y,b.width,b.height,D.shape),D.buildPath(d,D.shape,x)}}});function symbolPathSetColor(d,b){if("image"!==this.type){var x=this.style;this.__isEmptyBrush?(x.stroke=d,x.fill=b||Fo.color.neutral00,x.lineWidth=2):"line"===this.shape.symbolType?x.stroke=d:x.fill=d,this.markRedraw()}}function symbol_createSymbol(d,b,x,T,D,z,H){var W,U=0===d.indexOf("empty");return U&&(d=d.substr(5,1).toLowerCase()+d.substr(6)),(W=0===d.indexOf("image://")?makeImage(d.slice(8),new Ee(b,x,T,D),H?"center":"cover"):0===d.indexOf("path://")?makePath(d.slice(7),{},new Ee(b,x,T,D),H?"center":"cover"):new Ql({shape:{symbolType:d,x:b,y:x,width:T,height:D}})).__isEmptyBrush=U,W.setColor=symbolPathSetColor,z&&W.setColor(z),W}function normalizeSymbolSize(d){return Object(H.t)(d)||(d=[+d,+d]),[d[0]||0,d[1]||0]}function normalizeSymbolOffset(d,b){if(null!=d)return Object(H.t)(d)||(d=[d,d]),[number_parsePercent(d[0],b[0])||0,number_parsePercent(Object(H.P)(d[1],d[0]),b[1])||0]}function isSafeNum(d){return isFinite(d)}function getCanvasGradient(d,b,x){for(var T="radial"===b.type?function(d,b,x){var T=x.width,D=x.height,z=Math.min(T,D),H=null==b.x?.5:b.x,W=null==b.y?.5:b.y,U=null==b.r?.5:b.r;return b.global||(H=H*T+x.x,W=W*D+x.y,U*=z),H=isSafeNum(H)?H:.5,W=isSafeNum(W)?W:.5,U=U>=0&&isSafeNum(U)?U:.5,d.createRadialGradient(H,W,0,H,W,U)}(d,b,x):function(d,b,x){var T=null==b.x?0:b.x,D=null==b.x2?1:b.x2,z=null==b.y?0:b.y,H=null==b.y2?0:b.y2;return b.global||(T=T*x.width+x.x,D=D*x.width+x.x,z=z*x.height+x.y,H=H*x.height+x.y),T=isSafeNum(T)?T:0,D=isSafeNum(D)?D:1,z=isSafeNum(z)?z:0,H=isSafeNum(H)?H:0,d.createLinearGradient(T,z,D,H)}(d,b,x),D=b.colorStops,z=0;z<D.length;z++)T.addColorStop(D[z].offset,D[z].color);return T}function parseInt10(d){return parseInt(d,10)}function getSize(d,b,x){var T=["width","height"][b],D=["clientWidth","clientHeight"][b],z=["paddingLeft","paddingTop"][b],H=["paddingRight","paddingBottom"][b];if(null!=x[T]&&"auto"!==x[T])return parseFloat(x[T]);var W=document.defaultView.getComputedStyle(d);
vendor: 8,791 bytes, line 808
808return(d[D]||parseInt10(W[T])||parseInt10(d.style[T]))-(parseInt10(W[z])||0)-(parseInt10(W[H])||0)|0}function getLineDash(d){var b,x,T=d.style,D=T.lineDash&&T.lineWidth>0&&(b=T.lineDash,x=T.lineWidth,b&&"solid"!==b&&x>0?"dashed"===b?[4*x,2*x]:"dotted"===b?[x]:Object(H.z)(b)?[b]:Object(H.t)(b)?b:null:null),z=T.lineDashOffset;if(D){var W=T.strokeNoScale&&d.getLineScale?d.getLineScale():1;W&&1!==W&&(D=Object(H.H)(D,(function(d){return d/W})),z/=W)}return[D,z]}var eu=new er(!0);function styleHasStroke(d){var b=d.stroke;return!(null==b||"none"===b||!(d.lineWidth>0))}function isValidStrokeFillStyle(d){return"string"==typeof d&&"none"!==d}function styleHasFill(d){var b=d.fill;return null!=b&&"none"!==b}function doFillPath(d,b){if(null!=b.fillOpacity&&1!==b.fillOpacity){var x=d.globalAlpha;d.globalAlpha=b.fillOpacity*b.opacity,d.fill(),d.globalAlpha=x}else d.fill()}function doStrokePath(d,b){if(null!=b.strokeOpacity&&1!==b.strokeOpacity){var x=d.globalAlpha;d.globalAlpha=b.strokeOpacity*b.opacity,d.stroke(),d.globalAlpha=x}else d.stroke()}function createCanvasPattern(d,b,x){var T=createOrUpdateImage(b.image,b.__image,x);if(isImageReady(T)){var D=d.createPattern(T,b.repeat||"repeat");if("function"==typeof DOMMatrix&&D&&D.setTransform){var z=new DOMMatrix;z.translateSelf(b.x||0,b.y||0),z.rotateSelf(0,0,(b.rotation||0)*H.a),z.scaleSelf(b.scaleX||1,b.scaleY||1),D.setTransform(z)}return D}}var tu=["shadowBlur","shadowOffsetX","shadowOffsetY"],nu=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function bindCommonProps(d,b,x,T,D){var z=!1;if(!T&&b===(x=x||{}))return!1;if(T||b.opacity!==x.opacity){flushPathDrawn(d,D),z=!0;var H=Math.max(Math.min(b.opacity,1),0);d.globalAlpha=isNaN(H)?xi.opacity:H}(T||b.blend!==x.blend)&&(z||(flushPathDrawn(d,D),z=!0),d.globalCompositeOperation=b.blend||xi.blend);for(var W=0;W<tu.length;W++){var U=tu[W];(T||b[U]!==x[U])&&(z||(flushPathDrawn(d,D),z=!0),d[U]=d.dpr*(b[U]||0))}return(T||b.shadowColor!==x.shadowColor)&&(z||(flushPathDrawn(d,D),z=!0),d.shadowColor=b.shadowColor||xi.shadowColor),z}function bindPathAndTextCommonStyle(d,b,x,T,D){var z=graphic_getStyle(b,D.inHover),H=T?null:x&&graphic_getStyle(x,D.inHover)||{};if(z===H)return!1;var W=bindCommonProps(d,z,H,T,D);if((T||z.fill!==H.fill)&&(W||(flushPathDrawn(d,D),W=!0),isValidStrokeFillStyle(z.fill)&&(d.fillStyle=z.fill)),(T||z.stroke!==H.stroke)&&(W||(flushPathDrawn(d,D),W=!0),isValidStrokeFillStyle(z.stroke)&&(d.strokeStyle=z.stroke)),(T||z.opacity!==H.opacity)&&(W||(flushPathDrawn(d,D),W=!0),d.globalAlpha=null==z.opacity?1:z.opacity),b.hasStroke()){var U=z.lineWidth/(z.strokeNoScale&&b.getLineScale?b.getLineScale():1);d.lineWidth!==U&&(W||(flushPathDrawn(d,D),W=!0),d.lineWidth=U)}for(var Y=0;Y<nu.length;Y++){var Z=nu[Y],J=Z[0];(T||z[J]!==H[J])&&(W||(flushPathDrawn(d,D),W=!0),d[J]=z[J]||Z[1])}return W}function setContextTransform(d,b){var x=b.transform,T=d.dpr||1;x?d.setTransform(T*x[0],T*x[1],T*x[2],T*x[3],T*x[4],T*x[5]):d.setTransform(T,0,0,T,0,0)}function flushPathDrawn(d,b){b.batchFill&&d.fill(),b.batchStroke&&d.stroke(),b.batchFill="",b.batchStroke=""}function graphic_getStyle(d,b){return b&&d.__hoverStyle||d.style}function brushSingle(d,b){brush(d,b,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function brush(d,b,x,T){var D=b.transform;if(!b.shouldBePainted(x.viewWidth,x.viewHeight,!1,!1))return b.__dirty&=-2,void(b.__isRendered=!1);var z=b.__clipPaths,H=x.prevElClipPaths,W=!1,U=!1;if(H&&!function(d,b){if(d===b||!d&&!b)return!1;if(!d||!b||d.length!==b.length)return!0;for(var x=0;x<d.length;x++)if(d[x]!==b[x])return!0;return!1}(z,H)||(H&&H.length&&(flushPathDrawn(d,x),d.restore(),U=W=!0,x.prevElClipPaths=null,x.allClipped=!1,x.prevEl=null),z&&z.length&&(flushPathDrawn(d,x),d.save(),function(d,b,x){for(var T=!1,D=0;D<d.length;D++){var z=d[D];T=T||z.isZeroArea(),setContextTransform(b,z),b.beginPath(),z.buildPath(b,z.shape),b.clip()}x.allClipped=T}(z,d,x),W=!0),x.prevElClipPaths=z),x.allClipped)b.__isRendered=!1;else{b.beforeBrush&&b.beforeBrush(),b.innerBeforeBrush();var Y=x.prevEl;Y||(U=W=!0);var Z,J,ee=b instanceof cr&&b.autoBatch&&function(d){var b=styleHasFill(d),x=styleHasStroke(d);return!(d.lineDash||!(+b^+x)||b&&"string"!=typeof d.fill||x&&"string"!=typeof d.stroke||d.strokePercent<1||d.strokeOpacity<1||d.fillOpacity<1)}(b.style);W||(Z=D,J=Y.transform,Z&&J?Z[0]!==J[0]||Z[1]!==J[1]||Z[2]!==J[2]||Z[3]!==J[3]||Z[4]!==J[4]||Z[5]!==J[5]:Z||J)?(flushPathDrawn(d,x),setContextTransform(d,b)):ee||flushPathDrawn(d,x);var te=graphic_getStyle(b,x.inHover);b instanceof cr?(1!==x.lastDrawType&&(U=!0,x.lastDrawType=1),bindPathAndTextCommonStyle(d,b,Y,U,x),ee&&(x.batchFill||x.batchStroke)||d.beginPath(),function(d,b,x,T){var D,z=styleHasStroke(x),H=styleHasFill(x),W=x.strokePercent,U=W<1,Y=!b.path;b.silent&&!U||!Y||b.createPathProxy();var Z=b.path||eu,J=b.__dirty;if(!T){var ee=x.fill,te=x.stroke,ne=H&&!!ee.colorStops,ie=z&&!!te.colorStops,oe=H&&!!ee.image,se=z&&!!te.image,le=void 0,ce=void 0,de=void 0,he=void 0,pe=void 0;(ne||ie)&&(pe=b.getBoundingRect()),ne&&(le=J?getCanvasGradient(d,ee,pe):b.__canvasFillGradient,b.__canvasFillGradient=le),ie&&(ce=J?getCanvasGradient(d,te,pe):b.__canvasStrokeGradient,b.__canvasStrokeGradient=ce),oe&&(de=J||!b.__canvasFillPattern?createCanvasPattern(d,ee,b):b.__canvasFillPattern,b.__canvasFillPattern=de),se&&(he=J||!b.__canvasStrokePattern?createCanvasPattern(d,te,b):b.__canvasStrokePattern,b.__canvasStrokePattern=he),ne?d.fillStyle=le:oe&&(de?d.fillStyle=de:H=!1),ie?d.strokeStyle=ce:se&&(he?d.strokeStyle=he:z=!1)}var fe,ge,me=b.getGlobalScale();Z.setScale(me[0],me[1],b.segmentIgnoreThreshold),d.setLineDash&&x.lineDash&&(fe=(D=getLineDash(b))[0],ge=D[1]);var ye=!0;(Y||4&J)&&(Z.setDPR(d.dpr),U?Z.setContext(null):(Z.setContext(d),ye=!1),Z.reset(),b.buildPath(Z,b.shape,T),Z.toStatic(),b.pathUpdated()),ye&&Z.rebuildPath(d,U?W:1),fe&&(d.setLineDash(fe),d.lineDashOffset=ge),T||(x.strokeFirst?(z&&doStrokePath(d,x),H&&doFillPath(d,x)):(H&&doFillPath(d,x),z&&doStrokePath(d,x))),fe&&d.setLineDash([])}(d,b,te,ee),ee&&(x.batchFill=te.fill||"",x.batchStroke=te.stroke||"")):b instanceof pr?(3!==x.lastDrawType&&(U=!0,x.lastDrawType=3),bindPathAndTextCommonStyle(d,b,Y,U,x),function(d,b,x){var T,D=x.text;if(null!=D&&(D+=""),D){d.font=x.font||Vn.a,d.textAlign=x.textAlign,d.textBaseline=x.textBaseline;var z=void 0,H=void 0;d.setLineDash&&x.lineDash&&(z=(T=getLineDash(b))[0],H=T[1]),z&&(d.setLineDash(z),d.lineDashOffset=H),x.strokeFirst?(styleHasStroke(x)&&d.strokeText(D,x.x,x.y),styleHasFill(x)&&d.fillText(D,x.x,x.y)):(styleHasFill(x)&&d.fillText(D,x.x,x.y),styleHasStroke(x)&&d.strokeText(D,x.x,x.y)),z&&d.setLineDash([])}}(d,b,te)):b instanceof yr?(2!==x.lastDrawType&&(U=!0,x.lastDrawType=2),function(d,b,x,T,D){bindCommonProps(d,graphic_getStyle(b,D.inHover),x&&graphic_getStyle(x,D.inHover),T,D)}(d,b,Y,U,x),function(d,b,x){var T=b.__image=createOrUpdateImage(x.image,b.__image,b,b.onload);if(T&&isImageReady(T)){var D=x.x||0,z=x.y||0,H=b.getWidth(),W=b.getHeight(),U=T.width/T.height;if(null==H&&null!=W?H=W*U:null==W&&null!=H?W=H/U:null==H&&null==W&&(H=T.width,W=T.height),x.sWidth&&x.sHeight){var Y=x.sx||0,Z=x.sy||0;d.drawImage(T,Y,Z,x.sWidth,x.sHeight,D,z,H,W)}else if(x.sx&&x.sy){var J=H-(Y=x.sx),ee=W-(Z=x.sy);d.drawImage(T,Y,Z,J,ee,D,z,H,W)}else d.drawImage(T,D,z,H,W)}}(d,b,te)):b.getTemporalDisplayables&&(4!==x.lastDrawType&&(U=!0,x.lastDrawType=4),function(d,b,x){var T=b.getDisplayables(),D=b.getTemporalDisplayables();d.save();var z,H,W={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:x.viewWidth,viewHeight:x.viewHeight,inHover:x.inHover};for(z=b.getCursor(),H=T.length;z<H;z++){(Z=T[z]).beforeBrush&&Z.beforeBrush(),Z.innerBeforeBrush(),brush(d,Z,W,z===H-1),Z.innerAfterBrush(),Z.afterBrush&&Z.afterBrush(),W.prevEl=Z}for(var U=0,Y=D.length;U<Y;U++){var Z;(Z=D[U]).beforeBrush&&Z.beforeBrush(),Z.innerBeforeBrush(),brush(d,Z,W,U===Y-1),Z.innerAfterBrush(),Z.afterBrush&&Z.afterBrush(),W.prevEl=Z}b.clearTemporalDisplayables(),b.notClear=!0,d.restore()}(d,b,x)),ee&&T&&flushPathDrawn(d,x),b.innerAfterBrush(),b.afterBrush&&b.afterBrush(),x.prevEl=b,b.__dirty=0,b.__isRendered=!0}}function decal_typeof(d){return(decal_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}var iu=new Wl,ru=new jn.a(100),ou=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function createOrUpdatePatternFromDecal(d,b){if("none"===d)return null;var x=b.getDevicePixelRatio(),T=b.getZr(),D="svg"===T.painter.type;d.dirty&&iu.delete(d);var z=iu.get(d);if(z)return z;var W=Object(H.i)(d,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,
808color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});"none"===W.backgroundColor&&(W.backgroundColor=null);var U={repeat:"repeat"};return function(d){for(var b,z=[x],U=!0,Y=0;Y<ou.length;++Y){var Z=W[ou[Y]];if(null!=Z&&!Object(H.t)(Z)&&!Object(H.C)(Z)&&!Object(H.z)(Z)&&"boolean"!=typeof Z){U=!1;break}z.push(Z)}if(U){b=z.join(",")+(D?"-svg":"");var J=ru.get(b);J&&(D?d.svgElement=J:d.image=J)}var ee,te=function normalizeDashArrayX(d){if(!d||0===d.length)return[[0,0]];if(Object(H.z)(d)){return[[D=Math.ceil(d),D]]}for(var b=!0,x=0;x<d.length;++x)if(!Object(H.z)(d[x])){b=!1;break}if(b)return normalizeDashArrayX([d]);var T=[];for(x=0;x<d.length;++x)if(Object(H.z)(d[x])){var D=Math.ceil(d[x]);T.push([D,D])}else{(D=Object(H.H)(d[x],(function(d){return Math.ceil(d)}))).length%2==1?T.push(D.concat(D)):T.push(D)}return T}(W.dashArrayX),ne=function(d){if(!d||"object"===decal_typeof(d)&&0===d.length)return[0,0];if(Object(H.z)(d)){var b=Math.ceil(d);return[b,b]}var x=Object(H.H)(d,(function(d){return Math.ceil(d)}));return d.length%2?x.concat(x):x}(W.dashArrayY),ie=function normalizeSymbolArray(d){if(!d||0===d.length)return[["rect"]];if(Object(H.C)(d))return[[d]];for(var b=!0,x=0;x<d.length;++x)if(!Object(H.C)(d[x])){b=!1;break}if(b)return normalizeSymbolArray([d]);var T=[];for(x=0;x<d.length;++x)Object(H.C)(d[x])?T.push([d[x]]):T.push(d[x]);return T}(W.symbol),oe=(he=te,Object(H.H)(he,(function(d){return getLineBlockLengthY(d)}))),se=getLineBlockLengthY(ne),le=!D&&Vn.d.createCanvas(),ce=D&&{tag:"g",attrs:{},key:"dcl",children:[]},de=function(){for(var d=1,b=0,x=oe.length;b<x;++b)d=getLeastCommonMultiple(d,oe[b]);var T=1;for(b=0,x=ie.length;b<x;++b)T=getLeastCommonMultiple(T,ie[b].length);d*=T;var D=se*oe.length*ie.length;0;return{width:Math.max(1,Math.min(d,W.maxTileWidth)),height:Math.max(1,Math.min(D,W.maxTileHeight))}}();var he;le&&(le.width=de.width*x,le.height=de.height*x,ee=le.getContext("2d"));(function(){ee&&(ee.clearRect(0,0,le.width,le.height),W.backgroundColor&&(ee.fillStyle=W.backgroundColor,ee.fillRect(0,0,le.width,le.height)));for(var d=0,b=0;b<ne.length;++b)d+=ne[b];if(d<=0)return;var z=-se,H=0,U=0,Y=0;for(;z<de.height;){if(H%2==0){for(var Z=U/2%ie.length,J=0,oe=0,he=0;J<2*de.width;){var pe=0;for(b=0;b<te[Y].length;++b)pe+=te[Y][b];if(pe<=0)break;if(oe%2==0){var fe=.5*(1-W.symbolSize),ge=J+te[Y][oe]*fe,me=z+ne[H]*fe,ye=te[Y][oe]*W.symbolSize,ve=ne[H]*W.symbolSize,xe=he/2%ie[Z].length;brushSymbol(ge,me,ye,ve,ie[Z][xe])}J+=te[Y][oe],++he,++oe===te[Y].length&&(oe=0)}++Y===te.length&&(Y=0)}z+=ne[H],++U,++H===ne.length&&(H=0)}function brushSymbol(d,b,z,H,U){var Y=D?1:x,Z=symbol_createSymbol(U,d*Y,b*Y,z*Y,H*Y,W.color,W.symbolKeepAspect);if(D){var J=T.painter.renderOneToVNode(Z);J&&ce.children.push(J)}else brushSingle(ee,Z)}})(),U&&ru.put(b,le||ce);d.image=le,d.svgElement=ce,d.svgWidth=de.width,d.svgHeight=de.height}(U),U.rotation=W.rotation,U.scaleX=U.scaleY=D?1:1/x,iu.set(d,U),d.dirty=!1,U}function getLineBlockLengthY(d){for(var b=0,x=0;x<d.length;++x)b+=d[x];return d.length%2==1?2*b:b}var au=new Y,su={};function getImpl(d){return su[d]}var lu={};function customSeriesRegister_registerCustomSeries(d,b){lu[d]=b}var uu={PROCESSOR:{FILTER:1e3,SERIES_FILTER:800,STATISTIC:5e3},VISUAL:{LAYOUT:1e3,PROGRESSIVE_LAYOUT:1100,GLOBAL:2e3,CHART:3e3,POST_CHART_LAYOUT:4600,COMPONENT:4e3,BRUSH:5e3,CHART_ITEM:4500,ARIA:6e3,DECAL:7e3}},cu="__pendingUpdate",du=/^[a-zA-Z0-9_]+$/;function createRegisterEventWithLowercaseECharts(d){return function(){for(var b=[],x=0;x<arguments.length;x++)b[x]=arguments[x];if(!this.isDisposed())return toLowercaseNameAndCallEventful(this,d,b);
808disposedWarning(this.id)}}function createRegisterEventWithLowercaseMessageCenter(d){return function(){for(var b=[],x=0;x<arguments.length;x++)b[x]=arguments[x];return toLowercaseNameAndCallEventful(this,d,b)}}function toLowercaseNameAndCallEventful(d,b,x){return x[0]=x[0]&&x[0].toLowerCase(),Y.prototype[b].apply(d,x)}var hu,pu,fu,gu,mu,yu,vu,bu,xu,_u,wu,Su,Mu,Cu,Tu,ku,Au,Pu,Ou,Iu=function(d){function MessageCenter(){return null!==d&&d.apply(this,arguments)||this}return __extends(MessageCenter,d),MessageCenter}(Y),Du=Iu.prototype;Du.on=createRegisterEventWithLowercaseMessageCenter("on"),Du.off=createRegisterEventWithLowercaseMessageCenter("off");var Eu=function(d){function ECharts(b,x,T){var D=d.call(this,new jl)||this;D._chartsViews=[],D._chartsMap={},D._componentsViews=[],D._componentsMap={},D._pendingActions=[],T=T||{},D._dom=b;D.__mainProcessVersion=1,T.ssr&&(Qn=function(d){var b=Or(d),x=b.dataIndex;if(null!=x){var T=Object(H.f)();return T.set("series_index",b.seriesIndex),T.set("data_index",x),b.ssrType&&T.set("ssr_type",b.ssrType),T}});var z=D._zr=zrender_init(b,{renderer:T.renderer||"canvas",devicePixelRatio:T.devicePixelRatio,width:T.width,height:T.height,ssr:T.ssr,useDirtyRect:Object(H.P)(T.useDirtyRect,!1),useCoarsePointer:Object(H.P)(T.useCoarsePointer,"auto"),pointerSize:T.pointerSize});D._ssr=T.ssr,D._throttledZrFlush=throttle(Object(H.c)(z.flush,z),17),D._updateTheme(x),D._locale=function(d){if(Object(H.C)(d)){var b=so[d.toUpperCase()]||{};return"ZH"===d||"EN"===d?Object(H.d)(b):Object(H.I)(Object(H.d)(b),Object(H.d)(so.EN),!1)}return Object(H.I)(Object(H.d)(d),Object(H.d)(so.EN),!1)}(T.locale||uo),D._coordSysMgr=new Ao;var W=D._api=Tu(D);function prioritySortFunc(d,b){return d.__prio-b.__prio}return timsort_sort(Fu,prioritySortFunc),timsort_sort(Vu,prioritySortFunc),D._scheduler=new Dl(D,W,Vu,Fu),D._messageCenter=new Iu,D._initEvents(),D.resize=Object(H.c)(D.resize,D),z.animation.on("frame",D._onframe,D),_u(z,D),wu(z,D),Object(H.R)(D),D}return __extends(ECharts,d),ECharts.prototype._onframe=function(){if(!this._disposed){Pu(this);var d=this._scheduler;if(this[cu]){var b=this[cu].silent;this.__flagInMainProcess=!0,Ou(this);try{hu(this),gu.update.call(this,null,this[cu].updateParams)}catch(d){throw this.__flagInMainProcess=!1,this[cu]=null,d}this._zr.flush(),this.__flagInMainProcess=!1,this[cu]=null,bu.call(this,b),xu.call(this,b)}else if(d.unfinished){var x=1,T=this._model,D=this._api;d.unfinished=!1;do{var z=+new Date;d.performSeriesTasks(T),d.performDataProcessorTasks(T),yu(this,T),d.performVisualTasks(T),Cu(this,this._model,D,"remain",{}),x-=+new Date-z}while(x>0&&d.unfinished);d.unfinished||this._zr.flush()}}},ECharts.prototype.getDom=function(){return this._dom},ECharts.prototype.getId=function(){return this.id},ECharts.prototype.getZr=function(){return this._zr},ECharts.prototype.isSSR=function(){return this._ssr},ECharts.prototype.setOption=function(d,b,x){if(!this.__flagInMainProcess)if(this._disposed)disposedWarning(this.id
808);else{var T,D,z;if(Object(H.A)(b)&&(x=b.lazyUpdate,T=b.silent,D=b.replaceMerge,z=b.transition,b=b.notMerge),this.__flagInMainProcess=!0,Ou(this),!this._model||b){var W=new da(this._api),U=this._theme,Y=this._model=new la;Y.scheduler=this._scheduler,Y.ssr=this._ssr,Y.init(null,null,null,U,this._locale,W)}this._model.setOption(d,{replaceMerge:D},zu);var Z={seriesTransition:z,optionChanged:!0};if(x)this[cu]={silent:T,updateParams:Z},this.__flagInMainProcess=!1,this.getZr().wakeUp();else{try{hu(this),gu.update.call(this,null,Z)}catch(d){throw this[cu]=null,this.__flagInMainProcess=!1,d}this._ssr||this._zr.flush(),this[cu]=null,this.__flagInMainProcess=!1,bu.call(this,T),xu.call(this,T)}}},ECharts.prototype.setTheme=function(d,b){if(!this.__flagInMainProcess)if(this._disposed)disposedWarning(this.id);else{var x=this._model;if(x){var T=b&&b.silent,D=null;this[cu]&&(null==T&&(T=this[cu].silent),D=this[cu].updateParams,this[cu]=null),this.__flagInMainProcess=!0,Ou(this);try{this._updateTheme(d),x.setTheme(this._theme),hu(this),gu.update.call(this,{type:"setTheme"},D)}catch(d){throw this.__flagInMainProcess=!1,d}this.__flagInMainProcess=!1,bu.call(this,T),xu.call(this,T)}}},ECharts.prototype._updateTheme=function(d){Object(H.C)(d)&&(d=Hu[d]),d&&((d=Object(H.d)(d))&&globalBackwardCompat(d,!0),this._theme=d)},ECharts.prototype.getModel=function(){return this._model},ECharts.prototype.getOption=function(){return this._model&&this._model.getOption()},ECharts.prototype.getWidth=function(){return this._zr.getWidth()},ECharts.prototype.getHeight=function(){return this._zr.getHeight()},ECharts.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||z.a.hasGlobalWindow&&window.devicePixelRatio||1},ECharts.prototype.getRenderedCanvas=function(d){return this.renderToCanvas(d)},ECharts.prototype.renderToCanvas=function(d){return d=d||{},this._zr.painter.getRenderedCanvas({backgroundColor:d.backgroundColor||this._model.get("backgroundColor"),pixelRatio:d.pixelRatio||this.getDevicePixelRatio()})},ECharts.prototype.renderToSVGString=function(d){return d=d||{},this._zr.painter.renderToString({useViewBox:d.useViewBox})},ECharts.prototype.getSvgDataURL=function(){var d=this._zr,b=d.storage.getDisplayList();return Object(H.k)(b,(function(d){d.stopAnimation(null,!0)})),d.painter.toDataURL()},ECharts.prototype.getDataURL=function(d){if(!this._disposed){var b=(d=d||{}).excludeComponents,x=this._model,T=[],D=this;Object(H.k)(b,(function(d){x.eachComponent({mainType:d},(function(d){var b=D._componentsMap[d.__viewId];b.group.ignore||(T.push(b),b.group.ignore=!0)}))}));var z="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(d).toDataURL("image/"+(d&&d.type||"png"));return Object(H.k)(T,(function(d){d.group.ignore=!1})),z}
808disposedWarning(this.id)},ECharts.prototype.getConnectedDataURL=function(d){if(!this._disposed){var b="svg"===d.type,x=this.group,T=Math.min,D=Math.max;if(Wu[x]){var z=1/0,W=1/0,U=-1/0,Y=-1/0,Z=[],J=d&&d.pixelRatio||this.getDevicePixelRatio();Object(H.k)($u,(function(J,ee){if(J.group===x){var te=b?J.getZr().painter.getSvgDom().innerHTML:J.renderToCanvas(Object(H.d)(d)),ne=J.getDom().getBoundingClientRect();z=T(ne.left,z),W=T(ne.top,W),U=D(ne.right,U),Y=D(ne.bottom,Y),Z.push({dom:te,left:ne.left,top:ne.top})}}));var ee=(U*=J)-(z*=J),te=(Y*=J)-(W*=J),ne=Vn.d.createCanvas(),ie=zrender_init(ne,{renderer:b?"svg":"canvas"});if(ie.resize({width:ee,height:te}),b){var oe="";return Object(H.k)(Z,(function(d){var b=d.left-z,x=d.top-W;oe+='<g transform="translate('+b+","+x+')">'+d.dom+"</g>"})),ie.painter.getSvgRoot().innerHTML=oe,d.connectedBackgroundColor&&ie.painter.setBackgroundColor(d.connectedBackgroundColor),ie.refreshImmediately(),ie.painter.toDataURL()}return d.connectedBackgroundColor&&ie.add(new _r({shape:{x:0,y:0,width:ee,height:te},style:{fill:d.connectedBackgroundColor}})),Object(H.k)(Z,(function(d){var b=new yr({style:{x:d.left*J-z,y:d.top*J-W,image:d.dom}});ie.add(b)})),ie.refreshImmediately(),ne.toDataURL("image/"+(d&&d.type||"png"))}return this.getDataURL(d)}
808disposedWarning(this.id)},ECharts.prototype.convertToPixel=function(d,b,x){return mu(this,"convertToPixel",d,b,x)},ECharts.prototype.convertToLayout=function(d,b,x){return mu(this,"convertToLayout",d,b,x)},ECharts.prototype.convertFromPixel=function(d,b,x){return mu(this,"convertFromPixel",d,b,x)},ECharts.prototype.containPixel=function(d,b){if(!this._disposed){var x,T=parseFinder(this._model,d);return Object(H.k)(T,(function(d,T){T.indexOf("Models")>=0&&Object(H.k)(d,(function(d){var D=d.coordinateSystem;if(D&&D.containPoint)x=x||!!D.containPoint(b);else if("seriesModels"===T){var z=this._chartsMap[d.__viewId];z&&z.containPoint&&(x=x||z.containPoint(b,d))}else 0}),this)}),this),!!x}disposedWarning(this.id)},ECharts.prototype.getVisual=function(d,b){var x=parseFinder(this._model,d,{defaultMainType:"series"});var T=x.seriesModel.getData(),D=x.hasOwnProperty("dataIndexInside")?x.dataIndexInside:x.hasOwnProperty("dataIndex")?T.indexOfRawIndex(x.dataIndex):null;return null!=D?getItemVisualFromData(T,D,b):getVisualFromData(T,b)},ECharts.prototype.getViewOfComponentModel=function(d){return this._componentsMap[d.__viewId]},ECharts.prototype.getViewOfSeriesModel=function(d){return this._chartsMap[d.__viewId]},ECharts.prototype._initEvents=function(){var d=this;Object(H.k)(Ru,(function(b){var handler=function(x){var T,D=d.getModel(),z=x.target;if("globalout"===b?T={}:z&&findEventDispatcher(z,(function(d){var b=Or(d);if(b&&null!=b.dataIndex){var x=b.dataModel||D.getSeriesByIndex(b.seriesIndex);return T=x&&x.getDataParams(b.dataIndex,b.dataType,z)||{},!0}if(b.eventData)return T=Object(H.m)({},b.eventData),!0}),!0),T){var W=T.componentType,U=T.componentIndex;"markLine"!==W&&"markPoint"!==W&&"markArea"!==W||(W="series",U=T.seriesIndex);var Y=W&&null!=U&&D.getComponent(W,U),Z=Y&&d["series"===Y.mainType?"_chartsMap":"_componentsMap"][Y.__viewId];0,T.event=x,T.type=b,d._$eventProcessor.eventInfo={targetEl:z,packedEvent:T,model:Y,view:Z},d.trigger(b,T)}};handler.zrEventfulCallAtLast=!0,d._zr.on(b,handler,d)}));var b=this._messageCenter;Object(H.k)(ju,(function(x,T){b.on(T,(function(b){d.trigger(T,b)}))})),function(d,b,x){d.on("selectchanged",(function(d){var T=x.getModel();d.isFromClick?(handleSeriesLegacySelectEvents("map","selectchanged",b,T,d),handleSeriesLegacySelectEvents("pie","selectchanged",b,T,d)):"select"===d.fromAction?(handleSeriesLegacySelectEvents("map","selected",b,T,d),handleSeriesLegacySelectEvents("pie","selected",b,T,d)):"unselect"===d.fromAction&&(handleSeriesLegacySelectEvents("map","unselected",b,T,d),handleSeriesLegacySelectEvents("pie","unselected",b,T,d))}))}(b,this,this._api)},ECharts.prototype.isDisposed=function(){return this._disposed},ECharts.prototype.clear=function(){this._disposed?disposedWarning(this.id
808):this.setOption({series:[]},!0)},ECharts.prototype.dispose=function(){if(this._disposed)disposedWarning(this.id);else{this._disposed=!0,this.getDom()&&setAttribute(this.getDom(),Yu,"");var d=this._api,b=this._model;Object(H.k)(this._componentsViews,(function(x){x.dispose(b,d)})),Object(H.k)(this._chartsViews,(function(x){x.dispose(b,d)})),this._zr.dispose(),this._dom=this._model=this._chartsMap=this._componentsMap=this._chartsViews=this._componentsViews=this._scheduler=this._api=this._zr=this._throttledZrFlush=this._theme=this._coordSysMgr=this._messageCenter=null,delete $u[this.id]}},ECharts.prototype.resize=function(d){if(!this.__flagInMainProcess)if(this._disposed)disposedWarning(this.id);else{this._zr.resize(d);var b=this._model;if(this._loadingFX&&this._loadingFX.resize(),b){var x=b.resetOption("media"),T=d&&d.silent;this[cu]&&(null==T&&(T=this[cu].silent),x=!0,this[cu]=null),this.__flagInMainProcess=!0,Ou(this);try{x&&hu(this),gu.update.call(this,{type:"resize",animation:Object(H.m)({duration:0},d&&d.animation)})}catch(d){throw this.__flagInMainProcess=!1,d}this.__flagInMainProcess=!1,bu.call(this,T),xu.call(this,T)}}},ECharts.prototype.showLoading=function(d,b){if(this._disposed)disposedWarning(this.id
vendor: 4,195 bytes, line 808
808);else if(Object(H.A)(d)&&(b=d,d=""),d=d||"default",this.hideLoading(),Gu[d]){var x=Gu[d](this._api,b),T=this._zr;this._loadingFX=x,T.add(x)}},ECharts.prototype.hideLoading=function(){this._disposed?disposedWarning(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},ECharts.prototype.makeActionFromEvent=function(d){var b=Object(H.m)({},d);return b.type=Nu[d.type],b},ECharts.prototype.dispatchAction=function(d,b){if(this._disposed)disposedWarning(this.id);else if(Object(H.A)(b)||(b={silent:!!b}),Bu[d.type]&&this._model)if(this.__flagInMainProcess)this._pendingActions.push(d);else{var x=b.silent;vu.call(this,d,x);var T=b.flush;T?this._zr.flush():!1!==T&&z.a.browser.weChat&&this._throttledZrFlush(),bu.call(this,x),xu.call(this,x)}},ECharts.prototype.updateLabelLayout=function(){au.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},ECharts.prototype.appendData=function(d){if(this._disposed)disposedWarning(this.id);else{var b=d.seriesIndex;0,this.getModel().getSeriesByIndex(b).appendData(d),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},ECharts.internalField=function(){function clearColorPalette(d){d.clearColorPalette(),d.eachSeries((function(d){d.clearColorPalette()}))}function applyElementStates(d){for(var b=[],x=d.currentStates,T=0;T<x.length;T++){var D=x[T];"emphasis"!==D&&"blur"!==D&&"select"!==D&&b.push(D)}d.selected&&d.states.select&&b.push("select"),2===d.hoverState&&d.states.emphasis?b.push("emphasis"):1===d.hoverState&&d.states.blur&&b.push("blur"),d.useStates(b)}function updateZ(d,b){if(!d.preventAutoZ){var x=retrieveZInfo(d);b.eachRendered((function(d){return traverseUpdateZ(d,x.z,x.zlevel),!0}))}}function clearStates(d,b){b.eachRendered((function(d){if(!isElementRemoved(d)){var b=d.getTextContent(),x=d.getTextGuideLine();d.stateTransition&&(d.stateTransition=null),b&&b.stateTransition&&(b.stateTransition=null),x&&x.stateTransition&&(x.stateTransition=null),d.hasState()?(d.prevStates=d.currentStates,d.clearStates()):d.prevStates&&(d.prevStates=null)}}))}function updateStates(d,b){var x=d.getModel("stateAnimation"),T=d.isAnimationEnabled(),D=x.get("duration"),z=D>0?{duration:D,delay:x.get("delay"),easing:x.get("easing")}:null;b.eachRendered((function(d){if(d.states&&d.states.emphasis){if(isElementRemoved(d))return;if(d instanceof cr&&function(d){var b=Er(d);b.normalFill=d.style.fill,b.normalStroke=d.style.stroke;var x=d.states.select||{};b.selectFill=x.style&&x.style.fill||null,b.selectStroke=x.style&&x.style.stroke||null}(d),d.__dirty){var b=d.prevStates;b&&d.useStates(b)}if(T){d.stateTransition=z;var x=d.getTextContent(),D=d.getTextGuideLine();x&&(x.stateTransition=z),D&&(D.stateTransition=z)}d.__dirty&&applyElementStates(d)}}))}hu=function(d){var b=d._scheduler;b.restorePipelines(d._model),b.prepareStageTasks(),pu(d,!0),pu(d,!1),b.plan()},pu=function(d,b){for(var x=d._model,T=d._scheduler,D=b?d._componentsViews:d._chartsViews,z=b?d._componentsMap:d._chartsMap,H=d._zr,W=d._api,U=0;U<D.length;U++)D[U].__alive=!1;function doPrepare(d){var U=d.__requireNewView;d.__requireNewView=!1;var Y="_ec_"+d.id+"_"+d.type,Z=!U&&z[Y];if(!Z){var J=parseClassType(d.type);0,(Z=new(b?ns.getClass(J.main,J.sub):gl.getClass(J.sub))).init(x,W),z[Y]=Z,D.push(Z),H.add(Z.group)}d.__viewId=Z.__id=Y,Z.__alive=!0,Z.__model=d,Z.group.__ecComponentInfo={mainType:d.mainType,index:d.componentIndex},!b&&T.prepareView(Z,d,x,W)}b?x.eachComponent((function(d,b){"series"!==d&&doPrepare(b)})):x.eachSeries(doPrepare);for(U=0;U<D.length;){var Y=D[U];Y.__alive?U++:(!b&&Y.renderTask.dispose(),H.remove(Y.group),Y.dispose(x,W),D.splice(U,1),z[Y.__id]===Y&&delete z[Y.__id],Y.__id=Y.group.__ecComponentInfo=null)}},fu=function(d,b,x,T,D){var z=d._model;if(z.setUpdatePayload(x),T){var W={};W[T+"Id"]=x[T+"Id"],W[T+"Index"]=x[T+"Index"],W[T+"Name"]=x[T+"Name"];var U={mainType:T,query:W};D&&(U.subType=D);var Y,Z=x.excludeSeriesId;null!=Z&&(Y=Object(H.f)(),Object(H.k)(normalizeToArray(Z),(function(d){var b=convertOptionIdName(d,null);null!=b&&Y.set(b,!0)}))),z&&z.eachComponent(U,(function(b){if(!(Y&&null!=Y.get(b.id)))if(isHighDownPayload(x))if(b instanceof es)"highlight"!==x.type||x.notBlur||b.get(["emp
808hasis","disabled"])||function(d,b,x){var T=d.seriesIndex,D=d.getData(b.dataType);if(D){var z=queryDataIndex(D,b);z=(Object(H.t)(z)?z[0]:z)||0;var W=D.getItemGraphicEl(z);if(!W)for(var U=D.count(),Y=0;!W&&Y<U;)W=D.getItemGraphicEl(Y++);if(W){var Z=Or(W);blurSeries(T,Z.focus,Z.blurScope,x)}else{var J=d.get(["emphasis","focus"]),ee=d.get(["emphasis","blurScope"]);null!=J&&blurSeries(T,J,ee,x)}}}(b,x,d._api);else{var T=findComponentHighDownDispatchers(b.mainType,b.componentIndex,x.name,d._api),D=T.focusSelf,z=T.dispatchers;"highlight"===x.type&&D&&!x.notBlur&&blurComponent(b.mainType,b.componentIndex,d._api),z&&Object(H.k)(z,(function(d){"highlight"===x.type?enterEmphasis(d):leaveEmphasis(d)}))}else isSelectChangePayload(x)&&b instanceof es&&(!function(d,b,x){if(isSelectChangePayload(b)){var T=b.dataType,D=queryDataIndex(d.getData(T),b);Object(H.t)(D)||(D=[D]),d["toggleSelect"===b.type?"toggleSelect":"select"===b.type?"select":"unselect"](D,T)}}(b,x,d._api),updateSeriesElementSelection(b),Au(d))}),d),z&&z.eachComponent(U,(function(b){Y&&null!=Y.get(b.id)||callView(d["series"===T?"_chartsMap":"_componentsMap"][b.__viewId])}),d)}else Object(H.k)([].concat(d._componentsViews).concat(d._chartsViews),callView);function callView(T){T&&T.__alive&&T[b]&&T[b](T.__model,z,d._api,x)}},gu={prepareAndUpdate:function(d){hu(this),gu.update.call(this,d,d&&{optionChanged:null!=d.newOption})},update:function(d,b){var x=this._model,T=this._api,D=this._zr,z=this._coordSysMgr,H=this._scheduler;if(x){x.setUpdatePayload(d),H.restoreData(x,d),H.performSeriesTasks(x),z.create(x,T),H.performDataProcessorTasks(x,d),yu(this,x),z.update(x,T),clearColorPalette(x),H.performVisualTasks(x,d);var W=x.get("backgroundColor")||"transparent";D.setBackgroundColor(W);var U=x.get("darkMode");null!=U&&"auto"!==U&&D.setDarkMode(U),Su(this,x,T,d,b),au.trigger("afterupdate",x,T)}},updateTransform:function(d){var b=this,x=this._model,T=this._api;if(x){x.setUpdatePayload(d);var D=[];x.eachComponent((function(z,H){if("series"!==z){var W=b.getViewOfComponentModel(H);if(W&&W.__alive)if(W.updateTransform){var U=W.updateTransform(H,x,T,d);U&&U.update&&D.push(W)}else D.push(W)}}));var z=Object(H.f)();x.eachSeries((function(D){var H=b._chartsMap[D.__viewId];if(H.updateTransform){var W=H.updateTransform(D,x,T,d);W&&W.update&&z.set(D.uid,1)}else z.set(D.uid,1)})),clearColorPalette(x),this._scheduler.performVisualTasks(x,d,{setDirty:!0,dirtyMap:z}),Cu(this,x,T,d,{},z),au.trigger("afterupdate",x,T)}},updateView:function(d){var b=this._model;b&&(b.setUpdatePayload(d),gl.markUpdateMethod(d,"updateView"),clearColorPalette(b),this._scheduler.performVisualTasks(b,d,{setDirty:!0}),Su(this,b,this._api,d,{}),au.trigger("afterupdate",b,this._api))},updateVisual:function(d){var b=this,x=this._model;x&&(x.setUpdatePayload(d),x.eachSeries((function(d){d.getData().clearAllVisual()})),gl.markUpdateMethod(d,"updateVisual"),clearColorPalette(x),this._scheduler.performVisualTasks(x,d,{visualType:"visual",setDirty:!0}),x.eachComponent((function(T,D){if("series"!==T){var z=b.getViewOfComponentModel(D);z&&z.__alive&&z.updateVisual(D,x,b._api,d)}})),x.eachSeries((function(T){b._chartsMap[T.__viewId].updateVisual(T,x,b._api,d)})),au.trigger("afterupdate",x,this._api))},updateLayout:function(d){gu.update.call(this,d)}},mu=function(d,b,x,T,D){if(d._disposed)disposedWarning(d.id);else{for(var z,H=d._model,W=d._coordSysMgr.getCoordinateSystems(),U=parseFinder(H,x),Y=0;Y<W.length;Y++){var Z=W[Y];if(Z[b]&&null!=(z=Z[b](H,U,T,D)))return z}0}},yu=function(d,b){var x=d._chartsMap,T=d._scheduler;b.eachSeries((function(d){T.updateStreamModes(d,x[d.__viewId])}))},vu=function(d,b){var x=this,T=this.getModel(),D=d.type,z=d.escapeConnect,W=Bu[D],U=(W.update||"update").split(":"),Y=U.pop(),Z=null!=U[0]&&parseClassType(U[0]);this.__flagInMainProcess=!0,Ou(this);var J=[d],ee=!1;d.batch&&(ee=!0,J=Object(H.H)(d.batch,(function(b){return(b=Object(H.i)(Object(H.m)({},b),d)).batch=null,b})));var te,ne=[],ie=[],oe=W.nonRefinedEventType,se=isSelectChangePayload(d),le=isHighDownPayload(d);if(le&&allLeaveBlur(this._api),Object(H.k)(J,(function(b){var D=W.action(b,T,x._api);if(W.refineEvent?ie.push(D):te=D,(te=te||Object(H.m)({},b)).type=oe,ne.push(te),le){var z=preParseFinder(d),U=z.queryOptionMap,J=z.mainTypeSpecified?U.
808keys()[0]:"series";fu(x,Y,b,J),Au(x)}else se?(fu(x,Y,b,"series"),Au(x)):Z&&fu(x,Y,b,Z.main,Z.sub)})),"none"!==Y&&!le&&!se&&!Z)try{this[cu]?(hu(this),gu.update.call(this,d),this[cu]=null):gu[Y].call(this,d)}catch(d){throw this.__flagInMainProcess=!1,d}if(te=ee?{type:oe,escapeConnect:z,batch:ne}:ne[0],this.__flagInMainProcess=!1,!b){var ce=void 0;if(W.refineEvent){var de=W.refineEvent(ie,d,T,this._api).eventContent;Object(H.b)(Object(H.A)(de)),(ce=Object(H.i)({type:W.refinedEventType},de)).fromAction=d.type,ce.fromActionPayload=d,ce.escapeConnect=!0}var he=this._messageCenter;he.trigger(te.type,te),ce&&he.trigger(ce.type,ce)}},bu=function(d){for(var b=this._pendingActions;b.length;){var x=b.shift();vu.call(this,x,d)}},xu=function(d){!d&&this.trigger("updated")},_u=function(d,b){d.on("rendered",(function(x){b.trigger("rendered",x),!d.animation.isFinished()||b[cu]||b._scheduler.unfinished||b._pendingActions.length||b.trigger("finished")}))},wu=function(d,b){d.on("mouseover",(function(d){var x=findEventDispatcher(d.target,isHighDownDispatcher);x&&(!function(d,b,x){var T=Or(d),D=findComponentHighDownDispatchers(T.componentMainType,T.componentIndex,T.componentHighDownName,x),z=D.dispatchers,W=D.focusSelf;z?(W&&blurComponent(T.componentMainType,T.componentIndex,x),Object(H.k)(z,(function(d){return enterEmphasisWhenMouseOver(d,b)}))):(blurSeries(T.seriesIndex,T.focus,T.blurScope,x),"self"===T.focus&&blurComponent(T.componentMainType,T.componentIndex,x),enterEmphasisWhenMouseOver(d,b))}(x,d,b._api),Au(b))})).on("mouseout",(function(d){var x=findEventDispatcher(d.target,isHighDownDispatcher);x&&(!function(d,b,x){allLeaveBlur(x);var T=Or(d),D=findComponentHighDownDispatchers(T.componentMainType,T.componentIndex,T.componentHighDownName,x).dispatchers;D?Object(H.k)(D,(function(d){return leaveEmphasisWhenMouseOut(d,b)})):leaveEmphasisWhenMouseOut(d,b)}(x,d,b._api),Au(b))})).on("click",(function(d){var x=findEventDispatcher(d.target,(function(d){return null!=Or(d).dataIndex}),!0);if(x){var T=x.selected?"unselect":"select",D=Or(x);b._api.dispatchAction({type:T,dataType:D.dataType,dataIndexInside:D.dataIndex,seriesIndex:D.seriesIndex,isFromClick:!0})}}))},Su=function(d,b,x,T,D){!function(d){var b=[],x=[],T=!1;if(d.eachComponent((function(d,D){var z=D.get("zlevel")||0,H=D.get("z")||0,W=D.getZLevelKey();T=T||!!W,("series"===d?x:b).push({zlevel:z,z:H,idx:D.componentIndex,type:d,key:W})})),T){var D,z,W=b.concat(x);timsort_sort(W,(function(d,b){return d.zlevel===b.zlevel?d.z-b.z:d.zlevel-b.zlevel})),Object(H.k)(W,(function(b){var x=d.getComponent(b.type,b.idx),T=b.zlevel,H=b.key;null!=D&&(T=Math.max(D,T)),H?(T===D&&H!==z&&T++,z=H):z&&(T===D&&T++,z=""),D=T,x.setZLevel(T)}))}}(b),Mu(d,b,x,T,D),Object(H.k)(d._chartsViews,(function(d){d.__alive=!1})),Cu(d,b,x,T,D),Object(H.k)(d._chartsViews,(function(d){d.__alive||d.remove(b,x)}))},Mu=function(d,b,x,T,D,z){Object(H.k)(z||d._componentsViews,(function(d){var D=d.__model;clearStates(D,d),d.render(D,b,x,T),updateZ(D,d),updateStates(D,d)}))},Cu=function(d,b,x,T,D,W){var U=d._scheduler;D=Object(H.m)(D||{},{updatedSeries:b.getSeries()}),au.trigger("series:beforeupdate",b,x,D);var Y=!1;b.eachSeries((function(b){var x=d._chartsMap[b.__viewId];x.__alive=!0;var D=x.renderTask;U.updatePayload(D,T),clearStates(b,x),W&&W.get(b.uid)&&D.dirty(),D.perform(U.getPerformArgs(D))&&(Y=!0),x.group.silent=!!b.get("silent"),function(d,b){var x=d.get("blendMode")||null;b.eachRendered((function(d){d.isGroup||(d.style.blend=x)}))}(b,x),updateSeriesElementSelection(b)})),U.unfinished=Y||U.unfinished,au.trigger("series:layoutlabels",b,x,D),au.trigger("series:transition",b,x,D),b.eachSeries((function(b){var x=d._chartsMap[b.__viewId];updateZ(b,x),updateStates(b,x)})),function(d,b){var x=d._zr.storage,T=0;x.traverse((function(d){d.isGroup||T++})),T>b.get("hoverLayerThreshold")&&!z.a.node&&!z.a.worker&&b.eachSeries((function(b){if(!b.preventUsingHoverLayer){var x=d._chartsMap[b.__viewId];x.__alive&&x.eachRendered((function(d){d.states.emphasis&&(d.states.emphasis.hoverLayer=!0)}))}}))}(d,b),au.trigger("series:afterupdate",b,x,D)},Au=function(d){d.__needsUpdateStatus=!0,d.getZr().wakeUp()},Ou=function(d){d.__mainProcessVersion=(d.__mainProcessVersion+1)%1e3},Pu=function(d){d.__needsUpdateStatus&&(d.getZr().storage.traverse((function(d){isElementRemoved(d)||applyElementStates(d)})),d.__needsUpdateStatus=!1)},Tu=function(d){return new(function(b){function class_1(){return null!==b&&b.apply(this,arguments)||this}return __extends(class_1,b),class_1.prototype.getCoordinateSystems=function(){return d._coordSysMgr.getCoordinateSystems()},class_1.prototype.getComponentByElement=function(b){for(;b;){var x=b.__ecComponentInfo;if(null!=x)return d._model.getComponent(x.mainType,x.index);b=b.parent}},class_1.prototype.enterEmphasis=function(b,x){enterEmphasis(b,x),Au(d)},class_1.prototype.leaveEmphasis=function(b,x){leaveEmphasis(b,x),Au(d)},class_1.prototype.enterBlur=function(b){enterBlur(b),Au(d)},class_1.prototype.leaveBlur=function(b){leaveBlur(b),Au(d)},class_1.prototype.enterSelect=function(b){enterSelect(b),Au(d)},class_1.prototype.leaveSelect=function(b){leaveSelect(b),Au(d)},class_1.prototype.getModel=function(){return d.getModel()},class_1.prototype.getViewOfComponentModel=function(b){return d.getViewOfComponentModel(b)},class_1.prototype.getViewOfSeriesModel=function(b){return d.getViewOfSeriesModel(b)},class_1.prototype.getMainProcessVersion=function(){return d.__mainProcessVersion},class_1}(core_ExtensionAPI))(d)},ku=function(d){function updateConnectedChartsStatus(d,b){for(var x=0;x<d.length;x++){d[x].__connectUpdateStatus=b}}Object(H.k)(Nu,(function(b,x){d._messageCenter.on(x,(function(b){if(Wu[d.group]&&0!==d.__connectUpdateStatus){if(b&&b.escapeConnect)return;var x=d.makeActionFromEvent(b),T=[];Object(H.k)($u,(function(b){b!==d&&b.group===d.group&&T.push(b)})),updateConnectedChartsStatus(T,0),Object(H.k)(T,(function(d){1!==d.__connectUpdateStatus&&d.dispatchAction(x)})),updateConnectedChartsStatus(T,2)}}))}))}}(),ECharts}(Y),Lu=Eu.prototype;Lu.on=createRegisterEventWithLowercaseECharts("on"),Lu.off=createRegisterEventWithLowercaseECharts("off"),Lu.one=function(d,b,x){var T=this;this.on.call(this,d,(function wrapped(){for(var x=[],D=0;D<arguments.length;D++)x[D]=arguments[D];b&&b.apply&&b.apply(this,x),T.off(d,wrapped)}),x)};var Ru=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function disposedWarning(d){0}var Bu={},Nu={},ju={},Vu=[],zu=[],Fu=[],Hu={},Gu={},$u={},Wu={},Uu=+new Date-0,Yu=(new Date,"_echarts_instance_");function echarts_init(d,b,x){var T=!(x&&x.ssr);if(T){0;var D=getInstanceByDom(d);if(D)return D;0}var z=new Eu(d,b,x);return z.id="ec_"+Uu++,$u[z.id]=z,T&&setAttribute(d,Yu,z.id),ku(z),au.trigger("afterinit",z),z}function getInstanceByDom(d){return $u[function(d,b){return d.getAttribute?d.getAttribute(b):d[b]}(d,Yu)]}function registerTheme(d,b){Hu[d]=b}function registerPreprocessor(d){Object(H.r)(zu,d)<0&&zu.push(d)}function registerProcessor(d,b){normalizeRegister(Vu,d,b,2e3)}function registerUpdateLifecycle(d,b){au.on(d,b)}function registerAction(d,b,x){var T,D,z,W,U;function createEventType(d){return d.toLowerCase()}Object(H.w)(b)&&(x=b,b=""),Object(H.A)(d)?(T=d.type,D=d.event,W=d.update,U=d.publishNonRef
808inedEvent,x||(x=d.action),z=d.refineEvent):(T=d,D=b),D=createEventType(D||T);var Y=z?createEventType(T):D;Bu[T]||(Object(H.b)(du.test(T)&&du.test(D)),z&&Object(H.b)(D!==T),Bu[T]={actionType:T,refinedEventType:D,nonRefinedEventType:Y,update:W,action:x,refineEvent:z},ju[D]=1,z&&U&&(ju[Y]=1),Nu[Y]=T)}function registerVisual(d,b){normalizeRegister(Fu,d,b,3e3,"visual")}var qu=[];function normalizeRegister(d,b,x,T,D){if((Object(H.w)(b)||Object(H.A)(b))&&(x=b,b=T),!(Object(H.r)(qu,x)>=0)){qu.push(x);var z=Dl.wrapStageHandler(x,D);z.__prio=b,z.__raw=x,d.push(z)}}function registerLoading(d,b){Gu[d]=b}var registerTransform=function(d){var b=(d=Object(H.d)(d)).type;b||throwError("");var x=b.split(":");2!==x.length&&throwError("");var T=!1;"echarts"===x[0]&&(b=x[1],T=!0),d.__isBuiltIn=T,za.set(b,d)};function makeSelectChangedEvent(d,b,x,T){return{eventContent:{selected:getAllSelectedIndices(x),isFromClick:b.isFromClick||!1}}}registerVisual(2e3,_l),registerVisual(4500,Sl),registerVisual(4500,Ml),registerVisual(2e3,Fl),registerVisual(4500,Hl),registerVisual(7e3,(function(d,b){d.eachRawSeries((function(x){if(!d.isSeriesFiltered(x)){var T=x.getData();T.hasItemVisual()&&T.each((function(d){var x=T.getItemVisual(d,"decal");x&&(T.ensureUniqueItemVisual(d,"style").decal=createOrUpdatePatternFromDecal(x,b))}));var D=T.getVisual("decal");if(D)T.getVisual("style").decal=createOrUpdatePatternFromDecal(D,b)}}))})),registerPreprocessor(globalBackwardCompat),registerProcessor(900,(function(d){var b=Object(H.f)();d.eachSeries((function(d){var x=d.get("stack");if(x){var T=b.get(x)||b.set(x,[]),D=d.getData(),z={stackResultDimension:D.getCalculationInfo("stackResultDimension"),stackedOverDimension:D.getCalculationInfo("stackedOverDimension"),stackedDimension:D.getCalculationInfo("stackedDimension"),stackedByDimension:D.getCalculationInfo("stackedByDimension"),isStackedByIndex:D.getCalculationInfo("isStackedByIndex"),data:D,seriesModel:d};if(!z.stackedDimension||!z.isStackedByIndex&&!z.stackedByDimension)return;T.push(z)}})),b.each((function(d){0!==d.length&&("seriesDesc"===(d[0].seriesModel.get("stackOrder")||"seriesAsc")&&d.reverse(),Object(H.k)(d,(function(b,x){b.data.setCalculationInfo("stackedOnSeries",x>0?d[x-1].seriesModel:null)})),function(d){Object(H.k)(d,(function(b,x){var T=[],D=[NaN,NaN],z=[b.stackResultDimension,b.stackedOverDimension],H=b.data,W=b.isStackedByIndex,U=b.seriesModel.get("stackStrategy")||"samesign";H.modify(z,(function(z,Y,Z){var J,ee,te=H.get(b.stackedDimension,Z);if(isNaN(te))return D;W?ee=H.getRawIndex(Z):J=H.get(b.stackedByDimension,Z);for(var ne=NaN,ie=x-1;ie>=0;ie--){var oe=d[ie];if(W||(ee=oe.data.rawIndexOf(oe.stackedByDimension,J)),ee>=0){var se=oe.data.getByRawIndex(oe.stackResultDimension,ee);if("all"===U||"positive"===U&&se>0||"negative"===U&&se<0||"samesign"===U&&te>=0&&se>0||"samesign"===U&&te<=0&&se<0){te=addSafe(te,se),ne=se;break}}}return T[0]=te,T[1]=ne,T}))}))}(d))}))})),registerLoading("default",(function(d,b){b=b||{},H.i(b,{text:"loading",textColor:Fo.color.primary,fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255,255,255,0.8)",showSpinner:!0,color:Fo.color.theme[0],spinnerRadius:10,lineWidth:5,zlevel:0});var x=new Xn,T=new _r({style:{fill:b.maskColor},zlevel:b.zlevel,z:1e4});x.add(T);var D,z=new Pr({style:{text:b.text,fill:b.textColor,fontSize:b.fontSize,fontWeight:b.fontWeight,fontStyle:b.fontStyle,fontFamily:b.fontFamily},zlevel:b.zlevel,z:10001}),W=new _r({style:{fill:"none"},textContent:z,textConfig:{position:"right",distance:10},zlevel:b.zlevel,z:10001});return x.add(W),b.showSpinner&&((D=new Gs({shape:{startAngle:-Cl/2,endAngle:-Cl/2+.1,r:b.spinnerRadius},style:{stroke:b.color,lineCap:"round",lineWidth:b.lineWidth},zlevel:b.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*Cl/2}).start("circularInOut"),D.animateShape(!0).when(1e3,{startAngle:3*Cl/2}).delay(300).start("circularInOut"),x.add(D)),x.resize=function(){var x=z.getBoundingRect().width,H=b.showSpinner?b.spinnerRadius:0,U=(d.getWidth()-2*H-(b.showSpinner&&x?10:0)-x)/2-(b.showSpinner&&x?0:5+x/2)+(b.showSpinner?0:x/2)+(x?0:H),Y=d.getHeight()/2;b.showSpinner&&D.setShape({cx:U,cy:Y}),W.setShape({x:U-H,y:Y-H,width:2*H,height:2*H}),T.setShape({x:0,y:0,width:d.getWidth(),height:d.getHeight()})},x.resize(),x})),registerAction({type:"highlight",event:"highlight",update:"highlight"},H.L),registerAction({type:"downplay",event:"downplay",update:"downplay"},H.L),registerAction({type:"select",event:"selectchanged",update:"select",action:H.L,refineEvent:makeSelectChangedEvent,publishNonRef
vendor: 4,346 bytes, line 808
808inedEvent:!0}),registerAction({type:"unselect",event:"selectchanged",update:"unselect",action:H.L,refineEvent:makeSelectChangedEvent,publishNonRefinedEvent:!0}),registerAction({type:"toggleSelect",event:"selectchanged",update:"toggleSelect",action:H.L,refineEvent:makeSelectChangedEvent,publishNonRefinedEvent:!0}),registerTheme("default",{}),registerTheme("dark",Nl);var Zu=[],Xu={registerPreprocessor:registerPreprocessor,registerProcessor:registerProcessor,registerPostInit:function(d){registerUpdateLifecycle("afterinit",d)},registerPostUpdate:function(d){registerUpdateLifecycle("afterupdate",d)},registerUpdateLifecycle:registerUpdateLifecycle,registerAction:registerAction,registerCoordinateSystem:function(d,b){Ao.register(d,b)},registerLayout:function(d,b){normalizeRegister(Fu,d,b,1e3,"layout")},registerVisual:registerVisual,registerTransform:registerTransform,registerLoading:registerLoading,registerMap:function(d,b,x){var T=getImpl("registerMap");T&&T(d,b,x)},registerImpl:function(d,b){su[d]=b},PRIORITY:uu,ComponentModel:Bo,ComponentView:ns,SeriesModel:es,ChartView:gl,registerComponentModel:function(d){Bo.registerClass(d)},registerComponentView:function(d){ns.registerClass(d)},registerSeriesModel:function(d){es.registerClass(d)},registerChartView:function(d){gl.registerClass(d)},registerCustomSeries:function(d,b){customSeriesRegister_registerCustomSeries(d,b)},registerSubTypeDefaulter:function(d,b){Bo.registerSubTypeDefaulter(d,b)},registerPainter:function(d,b){var x;x=b,Kn[d]=x}};function use(d){Object(H.t)(d)?Object(H.k)(d,(function(d){use(d)})):Object(H.r)(Zu,d)>=0||(Zu.push(d),Object(H.w)(d)&&(d={install:d}),d.install(Xu))}var Ku=2*Math.PI,Ju=er.CMD,Qu=["top","right","bottom","left"];function getCandidateAnchor(d,b,x,T,D){var z=x.width,H=x.height;switch(d){case"top":T.set(x.x+z/2,x.y-b),D.set(0,-1);break;case"bottom":T.set(x.x+z/2,x.y+H+b),D.set(0,1);break;case"left":T.set(x.x-b,x.y+H/2),D.set(-1,0);break;case"right":T.set(x.x+z+b,x.y+H/2),D.set(1,0)}}function projectPointToArc(d,b,x,T,D,z,H,W,U){H-=d,W-=b;var Y=Math.sqrt(H*H+W*W),Z=(H/=Y)*x+d,J=(W/=Y)*x+b;if(Math.abs(T-D)%Ku<1e-4)return U[0]=Z,U[1]=J,Y-x;if(z){var ee=T;T=normalizeRadian(D),D=normalizeRadian(ee)}else T=normalizeRadian(T),D=normalizeRadian(D);T>D&&(D+=Ku);var te=Math.atan2(W,H);if(te<0&&(te+=Ku),te>=T&&te<=D||te+Ku>=T&&te+Ku<=D)return U[0]=Z,U[1]=J,Y-x;var ne=x*Math.cos(T)+d,ie=x*Math.sin(T)+b,oe=x*Math.cos(D)+d,se=x*Math.sin(D)+b,le=(ne-H)*(ne-H)+(ie-W)*(ie-W),ce=(oe-H)*(oe-H)+(se-W)*(se-W);return le<ce?(U[0]=ne,U[1]=ie,Math.sqrt(le)):(U[0]=oe,U[1]=se,Math.sqrt(ce))}function projectPointToLine(d,b,x,T,D,z,H,W){var U=D-d,Y=z-b,Z=x-d,J=T-b,ee=Math.sqrt(Z*Z+J*J),te=(U*(Z/=ee)+Y*(J/=ee))/ee;W&&(te=Math.min(Math.max(te,0),1)),te*=ee;var ne=H[0]=d+te*Z,ie=H[1]=b+te*J;return Math.sqrt((ne-D)*(ne-D)+(ie-z)*(ie-z))}function projectPointToRect(d,b,x,T,D,z,H){x<0&&(d+=x,x=-x),T<0&&(b+=T,T=-T);var W=d+x,U=b+T,Y=H[0]=Math.min(Math.max(D,d),W),Z=H[1]=Math.min(Math.max(z,b),U);return Math.sqrt((Y-D)*(Y-D)+(Z-z)*(Z-z))}var ec=[];function nearestPointOnRect(d,b,x){var T=projectPointToRect(b.x,b.y,b.width,b.height,d.x,d.y,ec);return x.set(ec[0],ec[1]),T}function nearestPointOnPath(d,b,x){for(var T,D,z=0,H=0,W=0,U=0,Y=1/0,Z=b.data,J=d.x,ee=d.y,te=0;te<Z.length;){var ne=Z[te++];1===te&&(W=z=Z[te],U=H=Z[te+1]);var ie=Y;switch(ne){case Ju.M:z=W=Z[te++],H=U=Z[te++];break;case Ju.L:ie=projectPointToLine(z,H,Z[te],Z[te+1],J,ee,ec,!0),z=Z[te++],H=Z[te++];break;case Ju.C:ie=cubicProjectPoint(z,H,Z[te++],Z[te++],Z[te++],Z[te++],Z[te],Z[te+1],J,ee,ec),z=Z[te++],H=Z[te++];break;case Ju.Q:ie=quadraticProjectPoint(z,H,Z[te++],Z[te++],Z[te],Z[te+1],J,ee,ec),z=Z[te++],H=Z[te++];break;case Ju.A:var oe=Z[te++],se=Z[te++],le=Z[te++],ce=Z[te++],de=Z[te++],he=Z[te++];te+=1;var pe=!!(1-Z[te++]);T=Math.cos(de)*le+oe,D=Math.sin(de)*ce+se,te<=1&&(W=T,U=D),ie=projectPointToArc(oe,se,ce,de,de+he,pe,(J-oe)*ce/le+oe,ee,ec),z=Math.cos(de+he)*le+oe,H=Math.sin(de+he)*ce+se;break;case Ju.R:ie=projectPointToRect(W=z=Z[te++],U=H=Z[te++],Z[te++],Z[te++],J,ee,ec);break;case Ju.Z:ie=projectPointToLine(z,H,W,U,J,ee,ec,!0),z=W,H=U}ie<Y&&(Y=ie,x.set(ec[0],ec[1]))}return Y}var tc=new ce,nc=new ce,ic=new ce,rc=new ce,oc=new ce;function updateLabelLinePoints(d,b){if(d){var x=d.getTextGuideLine(),T=d.getTextContent();if(T&&x){var D=d.textGuideLineConfig||{}
vendor: 11,782 bytes, line 808
808,z=[[0,0],[0,0],[0,0]],H=D.candidates||Qu,W=T.getBoundingRect().clone();W.applyTransform(T.getComputedTransform());var U=1/0,Y=D.anchor,Z=d.getComputedTransform(),J=Z&&matrix_invert([],Z),ee=b.get("length2")||0;Y&&ic.copy(Y);for(var te=0;te<H.length;te++){getCandidateAnchor(H[te],0,W,tc,rc),ce.scaleAndAdd(nc,tc,rc,ee),nc.transform(J);var ne=d.getBoundingRect(),ie=Y?Y.distance(nc):d instanceof cr?nearestPointOnPath(nc,d.path,ic):nearestPointOnRect(nc,ne,ic);ie<U&&(U=ie,nc.transform(Z),ic.transform(Z),ic.toArray(z[0]),nc.toArray(z[1]),tc.toArray(z[2]))}limitTurnAngle(z,b.get("minTurnAngle")),x.setShape({points:z})}}}var ac=[],sc=new ce;function limitTurnAngle(d,b){if(b<=180&&b>0){b=b/180*Math.PI,tc.fromArray(d[0]),nc.fromArray(d[1]),ic.fromArray(d[2]),ce.sub(rc,tc,nc),ce.sub(oc,ic,nc);var x=rc.len(),T=oc.len();if(!(x<.001||T<.001)){rc.scale(1/x),oc.scale(1/T);var D=rc.dot(oc);if(Math.cos(b)<D){var z=projectPointToLine(nc.x,nc.y,ic.x,ic.y,tc.x,tc.y,ac,!1);sc.fromArray(ac),sc.scaleAndAdd(oc,z/Math.tan(Math.PI-b));var H=ic.x!==nc.x?(sc.x-nc.x)/(ic.x-nc.x):(sc.y-nc.y)/(ic.y-nc.y);if(isNaN(H))return;H<0?ce.copy(sc,nc):H>1&&ce.copy(sc,ic),sc.toArray(d[1])}}}}function limitSurfaceAngle(d,b,x){if(x<=180&&x>0){x=x/180*Math.PI,tc.fromArray(d[0]),nc.fromArray(d[1]),ic.fromArray(d[2]),ce.sub(rc,nc,tc),ce.sub(oc,ic,nc);var T=rc.len(),D=oc.len();if(!(T<.001||D<.001))if(rc.scale(1/T),oc.scale(1/D),rc.dot(b)<Math.cos(x)){var z=projectPointToLine(nc.x,nc.y,ic.x,ic.y,tc.x,tc.y,ac,!1);sc.fromArray(ac);var H=Math.PI/2,W=H+Math.acos(oc.dot(b))-x;if(W>=H)ce.copy(sc,ic);else{sc.scaleAndAdd(oc,z/Math.tan(Math.PI/2-W));var U=ic.x!==nc.x?(sc.x-nc.x)/(ic.x-nc.x):(sc.y-nc.y)/(ic.y-nc.y);if(isNaN(U))return;U<0?ce.copy(sc,nc):U>1&&ce.copy(sc,ic)}sc.toArray(d[1])}}}function setLabelLineState(d,b,x,T){var D="normal"===x,z=D?d:d.ensureState(x);z.ignore=b;var H=T.get("smooth");H&&!0===H&&(H=.3),z.shape=z.shape||{},H>0&&(z.shape.smooth=H);var W=T.getModel("lineStyle").getLineStyle();D?d.useStyle(W):z.style=W}function buildLabelLinePath(d,b){var x=b.smooth,T=b.points;if(T)if(d.moveTo(T[0][0],T[0][1]),x>0&&T.length>=3){var D=W(T[0],T[1]),z=W(T[1],T[2]);if(!D||!z)return d.lineTo(T[1][0],T[1][1]),void d.lineTo(T[2][0],T[2][1]);var H=Math.min(D,z)*x,U=lerp([],T[1],T[0],H/D),Y=lerp([],T[1],T[2],H/z),Z=lerp([],U,Y,.5);d.bezierCurveTo(U[0],U[1],U[0],U[1],Z[0],Z[1]),d.bezierCurveTo(Y[0],Y[1],Y[0],Y[1],T[2][0],T[2][1])}else for(var J=1;J<T.length;J++)d.lineTo(T[J][0],T[J][1])}function setLabelLineStyle(d,b,x){var T=d.getTextGuideLine(),D=d.getTextContent();if(D){for(var z=b.normal,W=z.get("show"),U=D.ignore,Y=0;Y<Br.length;Y++){var Z=Br[Y],J=b[Z],ee="normal"===Z;if(J){var te=J.get("show");if((ee?U:Object(H.P)(D.states[Z]&&D.states[Z].ignore,U))||!Object(H.P)(te,W)){var ne=ee?T:T&&T.states[Z];ne&&(ne.ignore=!0),T&&setLabelLineState(T,!0,Z,J);continue}T||(T=new Rs,d.setTextGuideLine(T),ee||!U&&W||setLabelLineState(T,!0,"normal",b.normal),d.stateProxy&&(T.stateProxy=d.stateProxy)),setLabelLineState(T,!1,Z,J)}}if(T){Object(H.i)(T.style,x),T.style.fill=null;var ie=z.get("showAbove");(d.textGuideLineConfig=d.textGuideLineConfig||{}).showAbove=ie||!1,T.buildPath=buildLabelLinePath}}else T&&d.removeTextGuideLine()}function getLabelLineStatesModels(d,b){b=b||"labelLine";for(var x={normal:d.getModel(b)},T=0;T<Rr.length;T++){var D=Rr[T];x[D]=d.getModel([D,b])}return x}var lc=["label","labelLine","layoutOption","priority","defaultAttr","marginForce","minMarginForce","marginDefault","suggestIgnore"];function setLabelLayoutDirty(d,b,x){x=x||3,b?d.dirty|=x:d.dirty&=~x}function isLabelLayoutDirty(d,b){return b=b||3,null==d.dirty||!!(d.dirty&b)}function ensureLabelLayoutWithGeometry(d){if(d)return isLabelLayoutDirty(d)&&computeLabelGeometry(d,d.label,d),d}function computeLabelGeometry(d,b,x){var T=b.getComputedTransform();d.transform=ensureCopyTransform(d.transform,T);var D=d.localRect=ensureCopyRect(d.localRect,b.getBoundingRect()),z=b.style,H=z.margin,W=x&&x.marginForce,U=x&&x.minMarginForce,Y=x&&x.marginDefault,Z=z.__marginType;null==Z&&Y&&(H=Y,Z=Wr.textMargin);for(var J=0;J<4;J++)uc[J]=Z===Wr.minMargin&&U&&null!=U[J]?U[J]:W&&null!=W[J]?W[J]:H?H[J]:0;Z===Wr.textMargin&&expandOrShrinkRect(D,uc,!1,!1);var ee=d.rect=ensureCopyRect(d.rect,D);return T&&ee.applyTransform(T),Z===Wr.minMargin&&expandOrShrinkRect(ee,uc,!1,!1),d.axisAligned=isBoundingRectAxisAligned(T),(d.label=d.label||{}).ignore=b.ignore,setLabelLayoutDirty(d,!1),setLabelLayoutDirty(d,!0,2),d}var uc=[0,0,0,0];function labelLayoutApplyTranslation(d,b){if(d){d.label.x+=b.x,d.label.y+=b.y,d.label.markRedraw();var x=d.transform;x&&(x[4]+=b.x,x[5]+=b.y);var T=d.rect;T&&(T.x+=b.x,T.y+=b.y);var D=d.obb;D&&D.fromBoundingRect(d.localRect,x)}}function newLabelLayoutWithGeometry(d,b){for(var x=0;x<lc.length;x++){var T=lc[x];null==d[T]&&(d[T]=b[T])}return ensureLabelLayoutWithGeometry(d)}function ensureOBB(d){var b=d.obb;return b&&!isLabelLayoutDirty(d,2)||(d.obb=b=b||new nl,b.fromBoundingRect(d.localRect,d.transform),setLabelLayoutDirty(d,!1,2)),b}function shiftLayoutOnXY(d,b,x,T,D){var z=d.length,H=al[b],W=sl[b];if(z<2)return!1;d.sort((function(d,b){return d.rect[H]-b.rect[H]}));for(var U,Y=0,Z=!1,J=0,ee=0;ee<z;ee++){var te=d[ee],ne=te.rect;(U=ne[H]-Y)<0&&(ne[H]-=U,te.label[H]-=U,Z=!0),J+=Math.max(-U,0),Y=ne[H]+ne[W]}J>0&&D&&shiftList(-J/z,0,z);var ie,oe,se=d[0],le=d[z-1];function updateMinMaxGap(){ie=se.rect[H]-x,oe=T-le.rect[H]-le.rect[W]}function takeBoundsGap(d,b,x){if(d<0){var T=Math.min(b,-d);if(T>0){shiftList(T*x,0,z);var D=T+d;D<0&&squeezeGaps(-D*x,1)}else squeezeGaps(-d*x,1)}}function shiftList(b,x,T){0!==b&&(Z=!0);for(var D=x;D<T;D++){var z=d[D];z.rect[H]+=b,z.label[H]+=b}}function squeezeGaps(b,x){for(var T=[],D=0,U=1;U<z;U++){var Y=d[U-1].rect,Z=Math.max(d[U].rect[H]-Y[H]-Y[W],0);T.push(Z),D+=Z}if(D){var J=Math.min(Math.abs(b)/D,x);if(b>0)for(U=0;U<z-1;U++){shiftList(T[U]*J,0,U+1)}else for(U=z-1;U>0;U--){shiftList(-(T[U-1]*J),U,z)}}}function squeezeWhenBailout(d){var b=d<0?-1:1;d=Math.abs(d);for(var x=Math.ceil(d/(z-1)),T=0;T<z-1;T++)if(b>0?shiftList(x,0,T+1):shiftList(-x,z-T-1,z),(d-=x)<=0)return}return updateMinMaxGap(),ie<0&&squeezeGaps(-ie,.8),oe<0&&squeezeGaps(oe,.8),updateMinMaxGap(),takeBoundsGap(ie,oe,1),takeBoundsGap(oe,ie,-1),updateMinMaxGap(),ie<0&&squeezeWhenBailout(-ie),oe<0&&squeezeWhenBailout(oe),Z}function hideOverlap(d){var b=[];function hideEl(d){if(!d.ignore){var b=d.ensureState("emphasis");null==b.ignore&&(b.ignore=!1)}d.ignore=!0}d.sort((function(d,b){return(b.suggestIgnore?1:0)-(d.suggestIgnore?1:0)||b.priority-d.priority}));for(var x=0;x<d.length;x++){var T=ensureLabelLayoutWithGeometry(d[x]);if(!T.label.ignore){for(var D=T.label,z=T.labelLine,H=!1,W=0;W<b.length;W++)if(labelIntersect(T,b[W],null,{touchThreshold:.05})){H=!0;break}H?(hideEl(D),z&&hideEl(z)):b.push(T)}}}function labelIntersect(d,b,x,T){return!(!d||!b)&&(!(d.label&&d.label.ignore||b.label&&b.label.ignore)&&(!!d.rect.intersect(b.rect,x,T)&&(!(!d.axisAligned||!b.axisAligned)||ensureOBB(d).intersect(ensureOBB(b),x,T))))}function cloneArr(d){if(d){for(var b=[],x=0;x<d.length;x++)b.push(d[x].slice());return b}}function prepareLayoutCallbackParams(d,b){var x=d.label,T=b&&b.getTextGuideLine();return{dataIndex:d.dataIndex,dataType:d.dataType,seriesIndex:d.seriesModel.seriesIndex,text:d.label.style.text,rect:d.hostRect,labelRect:d.rect,align:x.style.align,verticalAlign:x.style.verticalAlign,labelLinePoints:cloneArr(T&&T.shape.points)}}var cc=["align","verticalAlign","width","height","fontSize"],dc=new Nn,hc=makeInner(),pc=makeInner();function extendWithKeys(d,b,x){for(var T=0;T<x.length;T++){var D=x[T];null!=b[D]&&(d[D]=b[D])}}var fc=["x","y","rotation"],gc=function(){function LabelManager(){this._labelList=[],this._chartViewList=[]}return LabelManager.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},LabelManager.prototype._addLabel=function(d,b,x,T,D){var z=T.style,H=T.__hostTarget.textConfig||{},W=T.getComputedTransform(),U=T.getBoundingRect().plain();Ee.applyTransform(U,U,W),W?dc.setLocalTransform(W):(dc.x=dc.y=dc.rotation=dc.originX=dc.originY=0,dc.scaleX=dc.scaleY=1),dc.rotation=normalizeRadian(dc.rotation);var Y,Z=T.__hostTarget;if(Z){Y=Z.getBoundingRect().plain();var J=Z.getComputedTransform();Ee.applyTransform(Y,Y,J)}var ee=Y&&Z.getTextGuideLine();this._labelList.push({label:T,labelLine:ee,seriesModel:x,dataIndex:d,dataType:b,layoutOptionOrCb:D,layoutOption:null,rect:U,hostRect:Y,priority:Y?Y.width*Y.height:0,defaultAttr:{ignore:T.ignore,labelGuideIgnore:ee&&ee.ignore,x:dc.x,y:dc.y,scaleX:dc.scaleX,scaleY:dc.scaleY,rotation:dc.rotation,style:{x:z.x,y:z.y,align:z.align,verticalAlign:z.verticalAlign,width:z.width,height:z.height,fontSize:z.fontSize},cursor:T.cursor,attachedPos:H.position,attachedRot:H.rotation}})},LabelManager.prototype.addLabelsOfSeries=function(d){var b=this;this._chartViewList.push(d);var x=d.__model,T=x.get("labelLayout");(Object(H.w)(T)||Object(H.F)(T).length)&&d.group.traverse((function(d){if(d.ignore)return!0;var D=d.getTextContent(),z=Or(d);D&&!D.disableLabelLayout&&b._addLabel(z.dataIndex,z.dataType,x,D,T)}))},LabelManager.prototype.updateLayoutConfig=function(d){var b=d.getWidth(),x=d.getHeight();function createDragHandler(d,b){return function(){updateLabelLinePoints(d,b)}}for(var T=0;T<this._labelList.length;T++){var D=this._labelList[T],z=D.label,W=z.__hostTarget,U=D.defaultAttr,Y=void 0;Y=(Y=Object(H.w)(D.layoutOptionOrCb)?D.layoutOptionOrCb(prepareLayoutCallbackParams(D,W)):D.layoutOptionOrCb)||{},D.layoutOption=Y;var Z=Math.PI/180;W&&W.setTextConfig({local:!1,position:null!=Y.x||null!=Y.y?null:U.attachedPos,rotation:null!=Y.rotate?Y.rotate*Z:U.attachedRot,offset:[Y.dx||0,Y.dy||0]});var J=!1;if(null!=Y.x?(z.x=number_parsePercent(Y.x,b),z.setStyle("x",0),J=!0):(z.x=U.x,z.setStyle("x",U.style.x)),null!=Y.y?(z.y=number_parsePercent(Y.y,x),z.setStyle("y",0),J=!0):(z.y=U.y,z.setStyle("y",U.style.y)),Y.labelLinePoints){var ee=W.getTextGuideLine();ee&&(ee.setShape({points:Y.labelLinePoints}),J=!1)}hc(z).needsUpdateLabelLine=J,z.rotation=null!=Y.rotate?Y.rotate*Z:U.rotation,z.scaleX=U.scaleX,z.scaleY=U.scaleY;for(var te=0;te<cc.length;te++){var ne=cc[te];z.setStyle(ne,null!=Y[ne]?Y[ne]:U.style[ne])}if(Y.draggable){if(z.draggable=!0,z.cursor="move",W){var ie=D.seriesModel;if(null!=D.dataIndex)ie=D.seriesModel.getData(D.dataType).getItemModel(D.dataIndex);z.on("drag",createDragHandler(W,ie.getModel("labelLine")))}}else z.off("drag"),z.cursor=U.cursor}},LabelManager.prototype.layout=function(d){var b=d.getWidth(),x=d.getHeight(),T=[];Object(H.k)(this._labelList,(function(d){d.defaultAttr.ignore||T.push(newLabelLayoutWithGeometry({},d))}));var D=Object(H.n)(T,(function(d){return"shiftX"===d.layoutOption.moveOverlap})),z=Object(H.n)(T,(function(d){return"shiftY"===d.layoutOption.moveOverlap}));shiftLayoutOnXY(D,0,0,b),shiftLayoutOnXY(z,1,0,x);var W=Object(H.n)(T,(function(d){return d.layoutOption.hideOverlap}));!function(d){for(var b=0;b<d.length;b++){var x=d[b],T=x.defaultAttr,D=x.labelLine;x.label.attr("ignore",T.ignore),D&&D.attr("ignore",T.labelGuideIgnore)}}(W),hideOverlap(W)},LabelManager.prototype.processLabelsOverall=function(){var d=this;Object(H.k)(this._chartViewList,(function(b){var x=b.__model,T=b.ignoreLabelLineUpdate,D=x.isAnimationEnabled();b.group.traverse((function(b){if(b.ignore&&!b.forceLabelAnimation)return!0;var z=!T,H=b.getTextContent();!z&&H&&(z=hc(H).needsUpdateLabelLine),z&&d._updateLabelLine(b,x),D&&d._animateLabels(b,x)}))}))},LabelManager.prototype._updateLabelLine=function(d,b){var x=d.getTextContent(),T=Or(d),D=T.dataIndex;if(x&&null!=D){var z=b.getData(T.dataType),H=z.getItemModel(D),W={},U=z.getItemVisual(D,"style");if(U){var Y=z.getVisual("drawType");W.stroke=U[Y]}var Z=H.getModel("labelLine");
vendor: 18,914 bytes, line 808
808setLabelLineStyle(d,getLabelLineStatesModels(H),W),updateLabelLinePoints(d,Z)}},LabelManager.prototype._animateLabels=function(d,b){var x=d.getTextContent(),T=d.getTextGuideLine();if(x&&(d.forceLabelAnimation||!x.ignore&&!x.invisible&&!d.disableLabelAnimation&&!isElementRemoved(d))){var D=(ne=hc(x)).oldLayout,z=Or(d),W=z.dataIndex,U={x:x.x,y:x.y,rotation:x.rotation},Y=b.getData(z.dataType);if(D){x.attr(D);var Z=d.prevStates;Z&&(Object(H.r)(Z,"select")>=0&&x.attr(ne.oldLayoutSelect),Object(H.r)(Z,"emphasis")>=0&&x.attr(ne.oldLayoutEmphasis)),updateProps(x,U,b,W)}else if(x.attr(U),!$r(x).valueAnimation){var J=Object(H.P)(x.style.opacity,1);x.style.opacity=0,initProps(x,{style:{opacity:J}},b,W)}if(ne.oldLayout=U,x.states.select){var ee=ne.oldLayoutSelect={};extendWithKeys(ee,U,fc),extendWithKeys(ee,x.states.select,fc)}if(x.states.emphasis){var te=ne.oldLayoutEmphasis={};extendWithKeys(te,U,fc),extendWithKeys(te,x.states.emphasis,fc)}animateLabelValue(x,W,Y,b,b)}if(T&&!T.ignore&&!T.invisible){D=(ne=pc(T)).oldLayout;var ne,ie={points:T.shape.points};D?(T.attr({shape:D}),updateProps(T,{shape:ie},b)):(T.setShape(ie),T.style.strokePercent=0,initProps(T,{style:{strokePercent:1}},b)),ne.oldLayout=ie}},LabelManager}(),mc=makeInner();function installLabelLayout(d){d.registerUpdateLifecycle("series:beforeupdate",(function(d,b,x){var T=mc(b).labelManager;T||(T=mc(b).labelManager=new gc),T.clearLabels()})),d.registerUpdateLifecycle("series:layoutlabels",(function(d,b,x){var T=mc(b).labelManager;x.updatedSeries.forEach((function(d){T.addLabelsOfSeries(b.getViewOfSeriesModel(d))})),T.updateLayoutConfig(b),T.layout(b),T.processLabelsOverall()}))}function createDom(d,b,x){var T=Vn.d.createCanvas(),D=b.getWidth(),z=b.getHeight(),H=T.style;return H&&(H.position="absolute",H.left="0",H.top="0",H.width=D+"px",H.height=z+"px",T.setAttribute("data-zr-dom-id",d)),T.width=D*x,T.height=z*x,T}use(installLabelLayout);var yc=function(d){function Layer(b,x,T){var D,z=d.call(this)||this;z.motionBlur=!1,z.lastFrameAlpha=.7,z.dpr=1,z.virtual=!1,z.config={},z.incremental=!1,z.zlevel=0,z.maxRepaintRectCount=5,z.__dirty=!0,z.__firstTimePaint=!0,z.__used=!1,z.__drawIndex=0,z.__startIndex=0,z.__endIndex=0,z.__prevStartIndex=null,z.__prevEndIndex=null,T=T||An,"string"==typeof b?D=createDom(b,x,T):H.A(b)&&(b=(D=b).id),z.id=b,z.dom=D;var W=D.style;return W&&(H.j(D),D.onselectstart=function(){return!1},W.padding="0",W.margin="0",W.borderWidth="0"),z.painter=x,z.dpr=T,z}return tslib_es6_extends(Layer,d),Layer.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},Layer.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},Layer.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},Layer.prototype.setUnpainted=function(){this.__firstTimePaint=!0},Layer.prototype.createBackBuffer=function(){var d=this.dpr;this.domBack=createDom("back-"+this.id,this.painter,d),this.ctxBack=this.domBack.getContext("2d"),1!==d&&this.ctxBack.scale(d,d)},Layer.prototype.createRepaintRects=function(d,b,x,T){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var D,z=[],H=this.maxRepaintRectCount,W=!1,U=new Ee(0,0,0,0);function addRectToMergePool(d){if(d.isFinite()&&!d.isZero())if(0===z.length){(b=new Ee(0,0,0,0)).copy(d),z.push(b)}else{for(var b,x=!1,T=1/0,D=0,Y=0;Y<z.length;++Y){var Z=z[Y];if(Z.intersect(d)){var J=new Ee(0,0,0,0);J.copy(Z),J.union(d),z[Y]=J,x=!0;break}if(W){U.copy(d),U.union(Z);var ee=d.width*d.height,te=Z.width*Z.height,ne=U.width*U.height-ee-te;ne<T&&(T=ne,D=Y)}}if(W&&(z[D].union(d),x=!0),!x)(b=new Ee(0,0,0,0)).copy(d),z.push(b);W||(W=z.length>=H)}}for(var Y=this.__startIndex;Y<this.__endIndex;++Y){if(ee=d[Y]){var Z=ee.shouldBePainted(x,T,!0,!0);(te=ee.__isRendered&&(1&ee.__dirty||!Z)?ee.getPrevPaintRect():null)&&addRectToMergePool(te);var J=Z&&(1&ee.__dirty||!ee.__isRendered)?ee.getPaintRect():null;J&&addRectToMergePool(J)}}for(Y=this.__prevStartIndex;Y<this.__prevEndIndex;++Y){var ee,te;Z=(ee=b[Y])&&ee.shouldBePainted(x,T,!0,!0);if(ee&&(!Z||!ee.__zr)&&ee.__isRendered)(te=ee.getPrevPaintRect())&&addRectToMergePool(te)}do{D=!1;for(Y=0;Y<z.length;)if(z[Y].isZero())z.splice(Y,1);else{for(var ne=Y+1;ne<z.length;)z[Y].intersect(z[ne])?(D=!0,z[Y].union(z[ne]),z.splice(ne,1)):ne++;Y++}}while(D);return this._paintRects=z,z},Layer.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},Layer.prototype.resize=function(d,b){var x=this.dpr,T=this.dom,D=T.style,z=this.domBack;D&&(D.width=d+"px",D.height=b+"px"),T.width=d*x,T.height=b*x,z&&(z.width=d*x,z.height=b*x,1!==x&&this.ctxBack.scale(x,x))},Layer.prototype.clear=function(d,b,x){var T=this.dom,D=this.ctx,z=T.width,W=T.height;b=b||this.clearColor;var U=this.motionBlur&&!d,Y=this.lastFrameAlpha,Z=this.dpr,J=this;U&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(T,0,0,z/Z,W/Z));var ee=this.domBack;function doClear(d,x,T,z){if(D.clearRect(d,x,T,z),b&&"transparent"!==b){var W=void 0;if(H.x(b))W=(b.global||b.__width===T&&b.__height===z)&&b.__canvasGradient||getCanvasGradient(D,b,{x:0,y:0,width:T,height:z}),b.__canvasGradient=W,b.__width=T,b.__height=z;else H.y(b)&&(b.scaleX=b.scaleX||Z,b.scaleY=b.scaleY||Z,W=createCanvasPattern(D,b,{dirty:function(){J.setUnpainted(),J.painter.refresh()}}));D.save(),D.fillStyle=W||b,D.fillRect(d,x,T,z),D.restore()}U&&(D.save(),D.globalAlpha=Y,D.drawImage(ee,d,x,T,z),D.restore())}!x||U?doClear(0,0,z,W):x.length&&H.k(x,(function(d){doClear(d.x*Z,d.y*Z,d.width*Z,d.height*Z)}))},Layer}(Y);var vc=function(){function CanvasPainter(d,b,x,T){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var D=!d.nodeName||"CANVAS"===d.nodeName.toUpperCase();this._opts=x=H.m({},x||{}),this.dpr=x.devicePixelRatio||An,this._singleCanvas=D,this.root=d,d.style&&(H.j(d),d.innerHTML=""),this.storage=b;var z=this._zlevelList;this._prevDisplayList=[];var W=this._layers;if(D){var U=d,Y=U.width,Z=U.height;null!=x.width&&(Y=x.width),null!=x.height&&(Z=x.height),this.dpr=x.devicePixelRatio||1,U.width=Y*this.dpr,U.height=Z*this.dpr,this._width=Y,this._height=Z;var J=new yc(U,this,this.dpr);J.__builtin__=!0,J.initContext(),W[314159]=J,J.zlevel=314159,z.push(314159),this._domRoot=d}else{this._width=getSize(d,0,x),this._height=getSize(d,1,x);var ee=this._domRoot=function(d,b){var x=document.createElement("div");return x.style.cssText=["position:relative","width:"+d+"px","height:"+b+"px","padding:0","margin:0","border-width:0"].join(";")+";",x}(this._width,this._height);d.appendChild(ee)}}return CanvasPainter.prototype.getType=function(){return"canvas"},CanvasPainter.prototype.isSingleCanvas=function(){return this._singleCanvas},CanvasPainter.prototype.getViewportRoot=function(){return this._domRoot},CanvasPainter.prototype.getViewportRootOffset=function(){var d=this.getViewportRoot();if(d)return{offsetLeft:d.offsetLeft||0,offsetTop:d.offsetTop||0}},CanvasPainter.prototype.refresh=function(d){var b=this.storage.getDisplayList(!0),x=this._prevDisplayList,T=this._zlevelList;this._redrawId=Math.random(),this._paintList(b,x,d,this._redrawId);for(var D=0;D<T.length;D++){var z=T[D],H=this._layers[z];if(!H.__builtin__&&H.refresh){var W=0===D?this._backgroundColor:null;H.refresh(W)}}return this._opts.useDirtyRect&&(this._prevDisplayList=b.slice()),this},CanvasPainter.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},CanvasPainter.prototype._paintHoverList=function(d){var b=d.length,x=this._hoverlayer;if(x&&x.clear(),b){for(var T,D={inHover:!0,viewWidth:this._width,viewHeight:this._height},z=0;z<b;z++){var H=d[z];H.__inHover&&(x||(x=this._hoverlayer=this.getLayer(1e5)),T||(T=x.ctx).save(),brush(T,H,D,z===b-1))}T&&T.restore()}},CanvasPainter.prototype.getHoverLayer=function(){return this.getLayer(1e5)},CanvasPainter.prototype.paintOne=function(d,b){brushSingle(d,b)},CanvasPainter.prototype._paintList=function(d,b,x,T){if(this._redrawId===T){x=x||!1,this._updateLayerStatus(d);var D=this._doPaintList(d,b,x),z=D.finished,H=D.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),H&&this._paintHoverList(d),z)this.eachLayer((function(d){d.afterBrush&&d.afterBrush()}));else{var W=this;Ke((function(){W._paintList(d,b,x,T)}))}}},CanvasPainter.prototype._compositeManually=function(){var d=this.getLayer(314159).ctx,b=this._domRoot.width,x=this._domRoot.height;d.clearRect(0,0,b,x),this.eachBuiltinLayer((function(T){T.virtual&&d.drawImage(T.dom,0,0,b,x)}))},CanvasPainter.prototype._doPaintList=function(d,b,x){for(var T=this,D=[],W=this._opts.useDirtyRect,U=0;U<this._zlevelList.length;U++){var Y=this._zlevelList[U],Z=this._layers[Y];Z.__builtin__&&Z!==this._hoverlayer&&(Z.__dirty||x)&&D.push(Z)}for(var J=!0,ee=!1,_loop_1=function(z){var H,U=D[z],Y=U.ctx,Z=W&&U.createRepaintRects(d,b,te._width,te._height),ne=x?U.__startIndex:U.__drawIndex,ie=!x&&U.incremental&&Date.now,oe=ie&&Date.now(),se=U.zlevel===te._zlevelList[0]?te._backgroundColor:null;if(U.__startIndex===U.__endIndex)U.clear(!1,se,Z);else if(ne===U.__startIndex){var le=d[ne];le.incremental&&le.notClear&&!x||U.clear(!1,se,Z)}-1===ne&&(console.error("For some unknown reason. drawIndex is -1"),ne=U.__startIndex);var repaint=function(b){var x={inHover:!1,allClipped:!1,prevEl:null,viewWidth:T._width,viewHeight:T._height};for(H=ne;H<U.__endIndex;H++){var D=d[H];if(D.__inHover&&(ee=!0),T._doPaintEl(D,U,W,b,x,H===U.__endIndex-1),ie)if(Date.now()-oe>15)break}x.prevElClipPaths&&Y.restore()};if(Z)if(0===Z.length)H=U.__endIndex;else for(var ce=te.dpr,de=0;de<Z.length;++de){var he=Z[de];Y.save(),Y.beginPath(),Y.rect(he.x*ce,he.y*ce,he.width*ce,he.height*ce),Y.clip(),repaint(he),Y.restore()}else Y.save(),repaint(),Y.restore();U.__drawIndex=H,U.__drawIndex<U.__endIndex&&(J=!1)},te=this,ne=0;ne<D.length;ne++)_loop_1(ne);return z.a.wxa&&H.k(this._layers,(function(d){d&&d.ctx&&d.ctx.draw&&d.ctx.draw()})),{finished:J,needsRefreshHover:ee}},CanvasPainter.prototype._doPaintEl=function(d,b,x,T,D,z){var H=b.ctx;if(x){var W=d.getPaintRect();(!T||W&&W.intersect(T))&&(brush(H,d,D,z),d.setPrevPaintRect(W))}else brush(H,d,D,z)},CanvasPainter.prototype.getLayer=function(d,b){this._singleCanvas&&!this._needsManuallyCompositing&&(d=314159);var x=this._layers[d];return x||((x=new yc("zr_"+d,this,this.dpr)).zlevel=d,x.__builtin__=!0,this._layerConfig[d]?H.I(x,this._layerConfig[d],!0):this._layerConfig[d-.01]&&H.I(x,this._layerConfig[d-.01],!0),b&&(x.virtual=b),this.insertLayer(d,x),x.initContext()),x},CanvasPainter.prototype.insertLayer=function(d,b){var x=this._layers,T=this._zlevelList,D=T.length,z=this._domRoot,H=null,W=-1;if(!x[d]&&function(d){return!!d&&(!!d.__builtin__||"function"==typeof d.resize&&"function"==typeof d.refresh)}(b)){if(D>0&&d>T[0]){for(W=0;W<D-1&&!(T[W]<d&&T[W+1]>d);W++);H=x[T[W]]}if(T.splice(W+1,0,d),x[d]=b,!b.virtual)if(H){var U=H.dom;U.nextSibling?z.insertBefore(b.dom,U.nextSibling):z.appendChild(b.dom)}else z.firstChild?z.insertBefore(b.dom,z.firstChild):z.appendChild(b.dom);b.painter||(b.painter=this)}},CanvasPainter.prototype.eachLayer=function(d,b){for(var x=this._zlevelList,T=0;T<x.length;T++){var D=x[T];d.call(b,this._layers[D],D)}},CanvasPainter.prototype.eachBuiltinLayer=function(d,b){for(var x=this._zlevelList,T=0;T<x.length;T++){var D=x[T],z=this._layers[D];z.__builtin__&&d.call(b,z,D)}},CanvasPainter.prototype.eachOtherLayer=function(d,b){for(var x=this._zlevelList,T=0;T<x.length;T++){var D=x[T],z=this._layers[D];z.__builtin__||d.call(b,z,D)}},CanvasPainter.prototype.getLayers=function(){return this._layers},CanvasPainter.prototype._updateLayerStatus=function(d){function updatePrevLayer(d){D&&(D.__endIndex!==d&&(D.__dirty=!0),D.__endIndex=d)}if(this.eachBuiltinLayer((function(d,b){d.__dirty=d.__used=!1})),this._singleCanvas)for(var b=1;b<d.length;b++){if((W=d[b]).zlevel!==d[b-1].zlevel||W.incremental){this._needsManuallyCompositing=!0;break}}var x,T,D=null,z=0;for(T=0;T<d.length;T++){var W,U=(W=d[T]).zlevel,Y=void 0;x!==U&&(x=U,z=0),W.incremental?((Y=this.getLayer(U+.001,this._needsManuallyCompositing)).incremental=!0,z=1):Y=this.getLayer(U+(z>0?.01:0),this._needsManuallyCompositing),Y.__builtin__||H.G("ZLevel "+U+" has been used by unkown layer "+Y.id),Y!==D&&(Y.__used=!0,Y.__startIndex!==T&&(Y.__dirty=!0),Y.__startIndex=T,Y.incremental?Y.__drawIndex=-1:Y.__drawIndex=T,updatePrevLayer(T),D=Y),1&W.__dirty&&!W.__inHover&&(Y.__dirty=!0,Y.incremental&&Y.__drawIndex<0&&(Y.__drawIndex=T))}updatePrevLayer(T),this.eachBuiltinLayer((function(d,b){!d.__used&&d.getElementCount()>0&&(d.__dirty=!0,d.__startIndex=d.__endIndex=d.__drawIndex=0),d.__dirty&&d.__drawIndex<0&&(d.__drawIndex=d.__startIndex)}))},CanvasPainter.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},CanvasPainter.prototype._clearLayer=function(d){d.clear()},CanvasPainter.prototype.setBackgroundColor=function(d){this._backgroundColor=d,H.k(this._layers,(function(d){d.setUnpainted()}))},CanvasPainter.prototype.configLayer=function(d,b){if(b){var x=this._layerConfig;x[d]?H.I(x[d],b,!0):x[d]=b;for(var T=0;T<this._zlevelList.length;T++){var D=this._zlevelList[T];if(D===d||D===d+.01){var z=this._layers[D];H.I(z,x[d],!0)}}}},CanvasPainter.prototype.delLayer=function(d){var b=this._layers,x=this._zlevelList,T=b[d];T&&(T.dom.parentNode.removeChild(T.dom),delete b[d],x.splice(H.r(x,d),1))},CanvasPainter.prototype.resize=function(d,b){if(this._domRoot.style){var x=this._domRoot;x.style.display="none";var T=this._opts,D=this.root;if(null!=d&&(T.width=d),null!=b&&(T.height=b),d=getSize(D,0,T),b=getSize(D,1,T),x.style.display="",this._width!==d||b!==this._height){for(var z in x.style.width=d+"px",x.style.height=b+"px",this._layers)this._layers.hasOwnProperty(z)&&this._layers[z].resize(d,b);this.refresh(!0)}this._width=d,this._height=b}else{if(null==d||null==b)return;this._width=d,this._height=b,this.getLayer(314159).resize(d,b)}return this},CanvasPainter.prototype.clearLayer=function(d){var b=this._layers[d];b&&b.clear()},CanvasPainter.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},CanvasPainter.prototype.getRenderedCanvas=function(d){if(d=d||{},this._singleCanvas&&!this._compositeManually)return this._layers[314159].dom;var b=new yc("image",this,d.pixelRatio||this.dpr);b.initContext(),b.clear(!1,d.backgroundColor||this._backgroundColor);var x=b.ctx;if(d.pixelRatio<=this.dpr){this.refresh();var T=b.dom.width,D=b.dom.height;this.eachLayer((function(d){d.__builtin__?x.drawImage(d.dom,0,0,T,D):d.renderToCanvas&&(x.save(),d.renderToCanvas(x),x.restore())}))}else for(var z={inHover:!1,viewWidth:this._width,viewHeight:this._height},H=this.storage.getDisplayList(!0),W=0,U=H.length;W<U;W++){var Y=H[W];brush(x,Y,z,W===U-1)}return b.dom},CanvasPainter.prototype.getWidth=function(){return this._width},CanvasPainter.prototype.getHeight=function(){return this._height},CanvasPainter}();var bc=Math.sin,xc=Math.cos,_c=Math.PI,wc=2*Math.PI,Sc=180/_c,Mc=function(){function SVGPathRebuilder(){}return SVGPathRebuilder.prototype.reset=function(d){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,d||4)},SVGPathRebuilder.prototype.moveTo=function(d,b){this._add("M",d,b)},SVGPathRebuilder.prototype.lineTo=function(d,b){this._add("L",d,b)},SVGPathRebuilder.prototype.bezierCurveTo=function(d,b,x,T,D,z){this._add("C",d,b,x,T,D,z)},SVGPathRebuilder.prototype.quadraticCurveTo=function(d,b,x,T){this._add("Q",d,b,x,T)},SVGPathRebuilder.prototype.arc=function(d,b,x,T,D,z){this.ellipse(d,b,x,x,0,T,D,z)},SVGPathRebuilder.prototype.ellipse=function(d,b,x,T,D,z,H,W){var U=H-z,Y=!W,Z=Math.abs(U),J=Object(vt.j)(Z-wc)||(Y?U>=wc:-U>=wc),ee=U>0?U%wc:U%wc+wc,te=!1;te=!!J||!Object(vt.j)(Z)&&ee>=_c==!!Y;var ne=d+x*xc(z),ie=b+T*bc(z);this._start&&this._add("M",ne,ie);var oe=Math.round(D*Sc);if(J){var se=1/this._p,le=(Y?1:-1)*(wc-se);this._add("A",x,T,oe,1,+Y,d+x*xc(z+le),b+T*bc(z+le)),se>.01&&this._add("A",x,T,oe,0,+Y,ne,ie)}else{var ce=d+x*xc(H),de=b+T*bc(H);this._add("A",x,T,oe,+te,+Y,ce,de)}},SVGPathRebuilder.prototype.rect=function(d,b,x,T){this._add("M",d,b),this._add("l",x,0),this._add("l",0,T),this._add("l",-x,0),this._add("Z")},SVGPathRebuilder.prototype.closePath=function(){this._d.length>0&&this._add("Z")},SVGPathRebuilder.prototype._add=function(d,b,x,T,D,z,H,W,U){for(var Y=[],Z=this._p,J=1;J<arguments.length;J++){var ee=arguments[J];if(isNaN(ee))return void(this._invalid=!0);Y.push(Math.round(ee*Z)/Z)}this._d.push(d+Y.join(" ")),this._start="Z"===d},SVGPathRebuilder.prototype.generateStr=function(){this._str=this._invalid?"":this._d.join(""),this._d=[]},SVGPathRebuilder.prototype.getStr=function(){return this._str},SVGPathRebuilder}(),Cc=Math.round;var Tc=["lineCap","miterLimit","lineJoin"],kc=Object(H.H)(Tc,(function(d){return"stroke-"+d.toLowerCase()}));var Ac="http://www.w3.org/2000/svg",Pc="http://www.w3.org/1999/xlink";function createElement(d){return document.createElementNS(Ac,d)}function createVNode(d,b,x,T,D){return{tag:d,attrs:x||{},children:T,text:D,key:b}}function vNodeToString(d,b){var x=(b=b||{}).newline?"\n":"";return function convertElToString(d){var b=d.children,T=d.tag,D=d.attrs,z=d.text;return function(d,b){var x=[];if(b)for(var T in b){var D=b[T],z=T;!1!==D&&(!0!==D&&null!=D&&(z+='="'+D+'"'),x.push(z))}return"<"+d+" "+x.join(" ")+">"}(T,D)+("style"!==T?encodeHTML(z):z||"")+(b?""+x+Object(H.H)(b,(function(d){return convertElToString(d)})).join(x)+x:"")+("</"+T+">")}(d)}function createBrushScope(d){return{zrId:d,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function createSVGVNode(d,b,x,T){return createVNode("svg","root",{width:d,height:b,xmlns:Ac,"xmlns:xlink":Pc,version:"1.1",baseProfile:"full",viewBox:!!T&&"0 0 "+d+" "+b},x)}var Oc=0;function getClassId(){return Oc++}var Ic={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"};function buildPathString(d,b,x){var T=Object(H.m)({},d.shape);Object(H.m)(T,b),d.buildPath(x,T);var D=new Mc;return D.reset(Object(vt.f)(d)),x.rebuildPath(D,1),D.generateStr(),D.getStr()}function setTransformOrigin(d,b){var x=b.originX,T=b.originY;
808(x||T)&&(d["transform-origin"]=x+"px "+T+"px")}var Dc={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function addAnimation(d,b){var x=b.zrId+"-ani-"+b.cssAnimIdx++;return b.cssAnims[x]=d,x}function getEasingFunc(d){return Object(H.C)(d)?Ic[d]?"cubic-bezier("+Ic[d]+")":createCubicEasingFunc(d)?d:"":""}function createCSSAnimation(d,b,x,T){var D=d.animators,z=D.length,W=[];if(d instanceof $s){if(oe=function(d,b,x){var T,D,z=d.shape.paths,W={};if(Object(H.k)(z,(function(d){var b=createBrushScope(x.zrId);b.animation=!0,createCSSAnimation(d,{},b,!0);var z=b.cssAnims,U=b.cssNodes,Y=Object(H.F)(z),Z=Y.length;if(Z){var J=z[D=Y[Z-1]];for(var ee in J){var te=J[ee];W[ee]=W[ee]||{d:""},W[ee].d+=te.d||""}for(var ne in U){var ie=U[ne].animation;ie.indexOf(D)>=0&&(T=ie)}}})),T){b.d=!1;var U=addAnimation(W,x);return T.replace(D,U)}}(d,b,x))W.push(oe);else if(!z)return}else if(!z)return;for(var U={},Y=0;Y<z;Y++){var Z=D[Y],J=[Z.getMaxTime()/1e3+"s"],ee=getEasingFunc(Z.getClip().easing),te=Z.getDelay();ee?J.push(ee):J.push("linear"),te&&J.push(te/1e3+"s"),Z.getLoop()&&J.push("infinite");var ne=J.join(" ");U[ne]=U[ne]||[ne,[]],U[ne][1].push(Z)}function createSingleCSSAnimation(D){var z,W=D[1],U=W.length,Y={},Z={},J={};function saveAnimatorTrackToCssKfs(d,b,x){for(var T=d.getTracks(),D=d.getMaxTime(),z=0;z<T.length;z++){var W=T[z];if(W.needsAnimate()){var U=W.keyframes,Y=W.propName;if(x&&(Y=x(Y)),Y)for(var Z=0;Z<U.length;Z++){var J=U[Z],ee=Math.round(J.time/D*100)+"%",te=getEasingFunc(J.easing),ne=J.rawValue;(Object(H.C)(ne)||Object(H.z)(ne))&&(b[ee]=b[ee]||{},b[ee][Y]=J.rawValue,te&&(b[ee]["animation-timing-function"]=te))}}}}for(var ee=0;ee<U;ee++){(pe=(he=W[ee]).targetName)?"shape"===pe&&saveAnimatorTrackToCssKfs(he,Z):!T&&saveAnimatorTrackToCssKfs(he,Y)}for(var te in Y){var ne={};copyTransform(ne,d),Object(H.m)(ne,Y[te]);var ie=Object(vt.g)(ne),oe=Y[te]["animation-timing-function"];J[te]=ie?{transform:ie}:{},setTransformOrigin(J[te],ne),oe&&(J[te]["animation-timing-function"]=oe)}var se=!0;for(var te in Z){J[te]=J[te]||{};var le=!z;oe=Z[te]["animation-timing-function"];le&&(z=new er);var ce=z.len();z.reset(),J[te].d=buildPathString(d,Z[te],z);var de=z.len();if(!le&&ce!==de){se=!1;break}oe&&(J[te]["animation-timing-function"]=oe)}if(!se)for(var te in J)delete J[te].d;if(!T)for(ee=0;ee<U;ee++){var he,pe;"style"===(pe=(he=W[ee]).targetName)&&saveAnimatorTrackToCssKfs(he,J,(function(d){return Dc[d]}))}var fe,ge=Object(H.F)(J),me=!0;for(ee=1;ee<ge.length;ee++){var ye=ge[ee-1],ve=ge[ee];if(J[ye]["transform-origin"]!==J[ve]["transform-origin"]){me=!1;break}fe=J[ye]["transform-origin"]}if(me&&fe){for(var te in J)J[te]["transform-origin"]&&delete J[te]["transform-origin"];b["transform-origin"]=fe}if(Object(H.n)(ge,(function(d){return Object(H.F)(J[d]).length>0})).length)return addAnimation(J,x)+" "+D[0]+" both"}for(var ie in U){var oe;(oe=createSingleCSSAnimation(U[ie]))&&W.push(oe)}if(W.length){var se=x.zrId+"-cls-"+getClassId();x.cssNodes["."+se]={animation:W.join(",")},b.class=se}}function setClassAttribute(d,b,x,T){var D=JSON.stringify(d),z=x.cssStyleCache[D];z||(z=x.zrId+"-cls-"+getClassId(),x.cssStyleCache[D]=z,x.cssNodes["."+z+(T?":hover":"")]=d),b.class=b.class?b.class+" "+z:z}var Ec=Math.round;function graphic_isImageLike(d){return d&&Object(H.C)(d.src)}function isCanvasLike(d){return d&&Object(H.w)(d.toDataURL)}function setStyleAttrs(d,b,x,T){!function(d,b,x,T){var D=null==b.opacity?1:b.opacity;if(x instanceof yr)d("opacity",D);else{if(function(d){var b=d.fill;return null!=b&&"none"!==b}(b)){var z=Object(vt.p)(b.fill);d("fill",z.color);var H=null!=b.fillOpacity?b.fillOpacity*z.opacity*D:z.opacity*D;(T||H<1)&&d("fill-opacity",H)}else d("fill","none");if(function(d){var b=d.stroke;return null!=b&&"none"!==b}(b)){var W=Object(vt.p)(b.stroke);d("stroke",W.color);var U=b.strokeNoScale?x.getLineScale():1,Y=U?(b.lineWidth||0)/U:0,Z=null!=b.strokeOpacity?b.strokeOpacity*W.opacity*D:W.opacity*D,J=b.strokeFirst;if((T||1!==Y)&&d("stroke-width",Y),(T||J)&&d("paint-order",J?"stroke":"fill"),(T||Z<1)&&d("stroke-opacity",Z),b.lineDash){var ee=getLineDash(x),te=ee[0],ne=ee[1];te&&(ne=Cc(ne||0),d("stroke-dasharray",te.join(",")),(ne||T)&&d("stroke-dashoffset",ne))}else T&&d("stroke-dasharray","none");for(var ie=0;ie<Tc.length;ie++){var oe=Tc[ie];if(T||b[oe]!==sr[oe]){var se=b[oe]||sr[oe];se&&d(kc[ie],se)}}}else T&&d("stroke","none")}}((function(D,z){var H="fill"===D||"stroke"===D;H&&Object(vt.k)(z)?setGradient(b,d,D,T):H&&Object(vt.n)(z)?setPattern(x,d,D,T):d[D]=z,H&&T.ssr&&"none"===z&&(d["pointer-events"]="visible")}),b,x,!1),function(d,b,x){var T=d.style;if(Object(vt.i)(T)){var D=Object(vt.h)(d),z=x.shadowCache,H=z[D];if(!H){var W=d.getGlobalScale(),U=W[0],Y=W[1];if(!U||!Y)return;var Z=T.shadowOffsetX||0,J=T.shadowOffsetY||0,ee=T.shadowBlur,te=Object(vt.p)(T.shadowColor),ne=te.opacity,ie=te.color,oe=ee/2/U+" "+ee/2/Y;H=x.zrId+"-s"+x.shadowIdx++,x.defs[H]=createVNode("filter",H,{id:H,x:"-100%",y:"-100%",width:"300%",height:"300%"},[createVNode("feDropShadow","",{dx:Z/U,dy:J/Y,stdDeviation:oe,"flood-color":ie,"flood-opacity":ne})]),z[D]=H}b.filter=Object(vt.d)(H)}}(x,d,T)}function setMetaData(d,b){var x=function(d){if("function"==typeof Qn)return Qn(d)}(b);x&&(x.each((function(b,x){null!=b&&(d[("ecmeta_"+x).toLowerCase()]=b+"")})),b.isSilent()&&(d.ecmeta_silent="true"))}function noRotateScale(d){return Object(vt.j)(d[0]-1)&&Object(vt.j)(d[1])&&Object(vt.j)(d[2])&&Object(vt.j)(d[3]-1)}function setTransform(d,b,x){if(b&&(!function(d){return Object(vt.j)(d[4])&&Object(vt.j)(d[5])}(b)||!noRotateScale(b))){var T=x?10:1e4;d.transform=noRotateScale(b)?"translate("+Ec(b[4]*T)/T+" "+Ec(b[5]*T)/T+")":Object(vt.e)(b)}}function convertPolyShape(d,b,x){for(var T=d.points,D=[],z=0;z<T.length;z++)D.push(Ec(T[z][0]*x)/x),D.push(Ec(T[z][1]*x)/x);b.points=D.join(" ")}function validatePolyShape(d){return!d.smooth}var Lc,Rc,Bc={circle:[(Lc=["cx","cy","r"],Rc=Object(H.H)(Lc,(function(d){return"string"==typeof d?[d,d]:d})),function(d,b,x){for(var T=0;T<Rc.length;T++){var D=Rc[T],z=d[D[0]];null!=z&&(b[D[1]]=Ec(z*x)/x)}}
808)],polyline:[convertPolyShape,validatePolyShape],polygon:[convertPolyShape,validatePolyShape]};function brushSVGPath(d,b){var x=d.style,T=d.shape,D=Bc[d.type],z={},H=b.animation,W="path",U=d.style.strokePercent,Y=b.compress&&Object(vt.f)(d)||4;if(!D||b.willUpdate||D[1]&&!D[1](T)||H&&function(d){for(var b=d.animators,x=0;x<b.length;x++)if("shape"===b[x].targetName)return!0;return!1}(d)||U<1){var Z=!d.path||d.shapeChanged();d.path||d.createPathProxy();var J=d.path;Z&&(J.beginPath(),d.buildPath(J,d.shape),d.pathUpdated());var ee=J.getVersion(),te=d,ne=te.__svgPathBuilder;te.__svgPathVersion===ee&&ne&&U===te.__svgPathStrokePercent||(ne||(ne=te.__svgPathBuilder=new Mc),ne.reset(Y),J.rebuildPath(ne,U),ne.generateStr(),te.__svgPathVersion=ee,te.__svgPathStrokePercent=U),z.d=ne.getStr()}else{W=d.type;var ie=Math.pow(10,Y);D[0](T,z,ie)}return setTransform(z,d.transform),setStyleAttrs(z,x,d,b),setMetaData(z,d),b.animation&&createCSSAnimation(d,z,b),b.emphasis&&function(d,b,x){if(!d.ignore)if(d.isSilent()){setClassAttribute(Y={"pointer-events":"none"},b,x,!0)}else{var T=d.states.emphasis&&d.states.emphasis.style?d.states.emphasis.style:{},D=T.fill;if(!D){var z=d.style&&d.style.fill,H=d.states.select&&d.states.select.style&&d.states.select.style.fill,W=d.currentStates.indexOf("select")>=0&&H||z;W&&(D=Object(yt.d)(W))}var U=T.lineWidth;if(U)U/=!T.strokeNoScale&&d.transform?d.transform[0]:1;var Y={cursor:"pointer"};D&&(Y.fill=D),T.stroke&&(Y.stroke=T.stroke),U&&(Y["stroke-width"]=U),setClassAttribute(Y,b,x,!0)}}(d,z,b),createVNode(W,d.id+"",z)}function graphic_brush(d,b){return d instanceof cr?brushSVGPath(d,b):d instanceof yr?function(d,b){var x=d.style,T=x.image;if(T&&!Object(H.C)(T)&&(graphic_isImageLike(T)?T=T.src:isCanvasLike(T)&&(T=T.toDataURL())),T){var D=x.x||0,z=x.y||0,W={href:T,width:x.width,height:x.height};return D&&(W.x=D),z&&(W.y=z),setTransform(W,d.transform),setStyleAttrs(W,x,d,b),setMetaData(W,d),b.animation&&createCSSAnimation(d,W,b),createVNode("image",d.id+"",W)}}(d,b):d instanceof pr?function(d,b){var x=d.style,T=x.text;if(null!=T&&(T+=""),T&&!isNaN(x.x)&&!isNaN(x.y)){var D=x.font||Vn.a,z=x.x||0,H=Object(vt.b)(x.y||0,getLineHeight(D),x.textBaseline),W={"dominant-baseline":"central","text-anchor":vt.a[x.textAlign]||x.textAlign};if(hasSeparateFont(x)){var U="",Y=x.fontStyle,Z=parseFontSize(x.fontSize);if(!parseFloat(Z))return;var J=x.fontFamily||Vn.b,ee=x.fontWeight;U+="font-size:"+Z+";font-family:"+J+";",Y&&"normal"!==Y&&(U+="font-style:"+Y+";"),ee&&"normal"!==ee&&(U+="font-weight:"+ee+";"),W.style=U}else W.style="font: "+D;return T.match(/\s/)&&(W["xml:space"]="preserve"),z&&(W.x=z),H&&(W.y=H),setTransform(W,d.transform),setStyleAttrs(W,x,d,b),setMetaData(W,d),b.animation&&createCSSAnimation(d,W,b),createVNode("text",d.id+"",W,void 0,T)}}(d,b):void 0}function setGradient(d,b,x,T){var D,z=d[x],W={gradientUnits:z.global?"userSpaceOnUse":"objectBoundingBox"};if(Object(vt.m)(z))D="linearGradient",W.x1=z.x,W.y1=z.y,W.x2=z.x2,W.y2=z.y2;else{if(!Object(vt.o)(z))return void 0;D="radialGradient",W.cx=Object(H.P)(z.x,.5),W.cy=Object(H.P)(z.y,.5),W.r=Object(H.P)(z.r,.5)}for(var U=z.colorStops,Y=[],Z=0,J=U.length;Z<J;++Z){var ee=100*Object(vt.q)(U[Z].offset)+"%",te=U[Z].color,ne=Object(vt.p)(te),ie=ne.color,oe=ne.opacity,se={offset:ee};se["stop-color"]=ie,oe<1&&(se["stop-opacity"]=oe),Y.push(createVNode("stop",Z+"",se))}var le=vNodeToString(createVNode(D,"",W,Y)),ce=T.gradientCache,de=ce[le];de||(de=T.zrId+"-g"+T.gradientIdx++,ce[le]=de,W.id=de,T.defs[de]=createVNode(D,de,W,Y)),b[x]=Object(vt.d)(de)}function setPattern(d,b,x,T){var D,z=d.style[x],W=d.getBoundingRect(),U={},Y=z.repeat,Z="no-repeat"===Y,J="repeat-x"===Y,ee="repeat-y"===Y;if(Object(vt.l)(z)){var te=z.imageWidth,ne=z.imageHeight,ie=void 0,oe=z.image;if(Object(H.C)(oe)?ie=oe:graphic_isImageLike(oe)?ie=oe.src:isCanvasLike(oe)&&(ie=oe.toDataURL()),"undefined"==typeof Image){var se="Image width/height must been given explictly in svg-ssr renderer.";Object(H.b)(te,se),Object(H.b)(ne,se)}else if(null==te||null==ne){var setSizeToVNode_1=function(d,b){if(d){var x=d.elm,T=te||b.width,D=ne||b.height;"pattern"===d.tag&&(J?(D=1,T/=W.width):ee&&(T=1,D/=W.height)),d.attrs.width=T,d.attrs.height=D,x&&(x.setAttribute("width",T),x.setAttribute("height",D))}},le=createOrUpdateImage(ie,null,d,(function(d){Z||setSizeToVNode_1(pe,d),setSizeToVNode_1(D,d)}));le&&le.width&&le.height&&(te=te||le.width,ne=ne||le.height)}D=createVNode("image","img",{href:ie,width:te,height:ne}),U.width=te,U.height=ne}else z.svgElement&&(D=Object(H.d)(z.svgElement),U.width=z.svgWidth,U.height=z.svgHeight);if(D){var ce,de;Z?ce=de=1:J?(de=1,ce=U.width/W.width):ee?(ce=1,de=U.height/W.height):U.patternUnits="userSpaceOnUse",null==ce||isNaN(ce)||(U.width=ce),null==de||isNaN(de)||(U.height=de);var he=Object(vt.g)(z);he&&(U.patternTransform=he);var pe=createVNode("pattern","",U,[D]),fe=vNodeToString(pe),ge=T.patternCache,me=ge[fe];me||(me=T.zrId+"-p"+T.patternIdx++,ge[fe]=me,U.id=me,pe=T.defs[me]=createVNode("pattern",me,U,[D])),b[x]=Object(vt.d)(me)}}function setClipPath(d,b,x){var T=x.clipPathCache,D=x.defs,z=T[d.id];if(!z){var H={id:z=x.zrId+"-c"+x.clipPathIdx++};T[d.id]=z,D[z]=createVNode("clipPath",z,H,[brushSVGPath(d,x)])}b["clip-path"]=Object(vt.d)(z)}
vendor: 4,582 bytes, line 808
808function createTextNode(d){return document.createTextNode(d)}function insertBefore(d,b,x){d.insertBefore(b,x)}function removeChild(d,b){d.removeChild(b)}function appendChild(d,b){d.appendChild(b)}function domapi_parentNode(d){return d.parentNode}function nextSibling(d){return d.nextSibling}function setTextContent(d,b){d.textContent=b}var Nc=createVNode("","");function isUndef(d){return void 0===d}function isDef(d){return void 0!==d}function createKeyToOldIdx(d,b,x){for(var T={},D=b;D<=x;++D){var z=d[D].key;void 0!==z&&(T[z]=D)}return T}function sameVnode(d,b){var x=d.key===b.key;return d.tag===b.tag&&x}function createElm(d){var b,x=d.children,T=d.tag;if(isDef(T)){var D=d.elm=createElement(T);if(updateAttrs(Nc,d),Object(H.t)(x))for(b=0;b<x.length;++b){var z=x[b];null!=z&&appendChild(D,createElm(z))}else isDef(d.text)&&!Object(H.A)(d.text)&&appendChild(D,createTextNode(d.text))}else d.elm=createTextNode(d.text);return d.elm}function addVnodes(d,b,x,T,D){for(;T<=D;++T){var z=x[T];null!=z&&insertBefore(d,createElm(z),b)}}function removeVnodes(d,b,x,T){for(;x<=T;++x){var D=b[x];if(null!=D)if(isDef(D.tag))removeChild(domapi_parentNode(D.elm),D.elm);else removeChild(d,D.elm)}}function updateAttrs(d,b){var x,T=b.elm,D=d&&d.attrs||{},z=b.attrs||{};if(D!==z){for(x in z){var H=z[x];D[x]!==H&&(!0===H?T.setAttribute(x,""):!1===H?T.removeAttribute(x):"style"===x?T.style.cssText=H:120!==x.charCodeAt(0)?T.setAttribute(x,H):"xmlns:xlink"===x||"xmlns"===x?T.setAttributeNS("http://www.w3.org/2000/xmlns/",x,H):58===x.charCodeAt(3)?T.setAttributeNS("http://www.w3.org/XML/1998/namespace",x,H):58===x.charCodeAt(5)?T.setAttributeNS(Pc,x,H):T.setAttribute(x,H))}for(x in D)x in z||T.removeAttribute(x)}}function patchVnode(d,b){var x=b.elm=d.elm,T=d.children,D=b.children;d!==b&&(updateAttrs(d,b),isUndef(b.text)?isDef(T)&&isDef(D)?T!==D&&function(d,b,x){for(var T,D,z,H=0,W=0,U=b.length-1,Y=b[0],Z=b[U],J=x.length-1,ee=x[0],te=x[J];H<=U&&W<=J;)null==Y?Y=b[++H]:null==Z?Z=b[--U]:null==ee?ee=x[++W]:null==te?te=x[--J]:sameVnode(Y,ee)?(patchVnode(Y,ee),Y=b[++H],ee=x[++W]):sameVnode(Z,te)?(patchVnode(Z,te),Z=b[--U],te=x[--J]):sameVnode(Y,te)?(patchVnode(Y,te),insertBefore(d,Y.elm,nextSibling(Z.elm)),Y=b[++H],te=x[--J]):sameVnode(Z,ee)?(patchVnode(Z,ee),insertBefore(d,Z.elm,Y.elm),Z=b[--U],ee=x[++W]):(isUndef(T)&&(T=createKeyToOldIdx(b,H,U)),isUndef(D=T[ee.key])||(z=b[D]).tag!==ee.tag?insertBefore(d,createElm(ee),Y.elm):(patchVnode(z,ee),b[D]=void 0,insertBefore(d,z.elm,Y.elm)),ee=x[++W]);(H<=U||W<=J)&&(H>U?addVnodes(d,null==x[J+1]?null:x[J+1].elm,x,W,J):removeVnodes(d,b,H,U))}(x,T,D):isDef(D)?(isDef(d.text)&&setTextContent(x,""),addVnodes(x,null,D,0,D.length-1)):isDef(T)?removeVnodes(x,T,0,T.length-1):isDef(d.text)&&setTextContent(x,""):d.text!==b.text&&(isDef(T)&&removeVnodes(x,T,0,T.length-1),setTextContent(x,b.text)))}var jc=0;var Vc=function(){function SVGPainter(d,b,x){if(this.type="svg",this.refreshHover=function(){0},this.configLayer=function(){0},this.storage=b,this._opts=x=Object(H.m)({},x),this.root=d,this._id="zr"+jc++,this._oldVNode=createSVGVNode(x.width,x.height),d&&!x.ssr){var T=this._viewport=document.createElement("div");T.style.cssText="position:relative;overflow:hidden";var D=this._svgDom=this._oldVNode.elm=createElement("svg");updateAttrs(null,this._oldVNode),T.appendChild(D),d.appendChild(T)}this.resize(x.width,x.height)}return SVGPainter.prototype.getType=function(){return this.type},SVGPainter.prototype.getViewportRoot=function(){return this._viewport},SVGPainter.prototype.getViewportRootOffset=function(){var d=this.getViewportRoot();if(d)return{offsetLeft:d.offsetLeft||0,offsetTop:d.offsetTop||0}},SVGPainter.prototype.getSvgDom=function(){return this._svgDom},SVGPainter.prototype.refresh=function(){if(this.root){var d=this.renderToVNode({willUpdate:!0});d.attrs.style="position:absolute;left:0;top:0;user-select:none",function(d,b){if(sameVnode(d,b))patchVnode(d,b);else{var x=d.elm,T=domapi_parentNode(x);createElm(b),null!==T&&(insertBefore(T,b.elm,nextSibling(x)),removeVnodes(T,[d],0,0))}}(this._oldVNode,d),this._oldVNode=d}},SVGPainter.prototype.renderOneToVNode=function(d){return graphic_brush(d,createBrushScope(this._id))},SVGPainter.prototype.renderToVNode=function(d){d=d||{};var b=this.storage.getDisplayList(!0),x=this._width,T=this._height,D=createBrushScope(this._id);D.animation=d.animation,D.willUpdate=d.willUpdate,D.compress=d.compress,D.emphasis=d.emphasis,D.ssr=this._opts.ssr;var z=[],W=this._bgVNode=function(d,b,x,T){var D;if(x&&"none"!==x)if(D=createVNode("rect","bg",{width:d,height:b,x:"0",y:"0"}
vendor: 8,445 bytes, line 808
808),Object(vt.k)(x))setGradient({fill:x},D.attrs,"fill",T);else if(Object(vt.n)(x))setPattern({style:{fill:x},dirty:H.L,getBoundingRect:function(){return{width:d,height:b}}},D.attrs,"fill",T);else{var z=Object(vt.p)(x),W=z.color,U=z.opacity;D.attrs.fill=W,U<1&&(D.attrs["fill-opacity"]=U)}return D}(x,T,this._backgroundColor,D);W&&z.push(W);var U=d.compress?null:this._mainVNode=createVNode("g","main",{},[]);this._paintList(b,D,U?U.children:z),U&&z.push(U);var Y=Object(H.H)(Object(H.F)(D.defs),(function(d){return D.defs[d]}));if(Y.length&&z.push(createVNode("defs","defs",{},Y)),d.animation){var Z=function(d,b,x){var T=(x=x||{}).newline?"\n":"",D=" {"+T,z=T+"}",W=Object(H.H)(Object(H.F)(d),(function(b){return b+D+Object(H.H)(Object(H.F)(d[b]),(function(x){return x+":"+d[b][x]+";"})).join(T)+z})).join(T),U=Object(H.H)(Object(H.F)(b),(function(d){return"@keyframes "+d+D+Object(H.H)(Object(H.F)(b[d]),(function(x){return x+D+Object(H.H)(Object(H.F)(b[d][x]),(function(T){var D=b[d][x][T];return"d"===T&&(D='path("'+D+'")'),T+":"+D+";"})).join(T)+z})).join(T)+z})).join(T);return W||U?["<![CDATA[",W,U,"]]>"].join(T):""}(D.cssNodes,D.cssAnims,{newline:!0});if(Z){var J=createVNode("style","stl",{},[],Z);z.push(J)}}return createSVGVNode(x,T,z,d.useViewBox)},SVGPainter.prototype.renderToString=function(d){return d=d||{},vNodeToString(this.renderToVNode({animation:Object(H.P)(d.cssAnimation,!0),emphasis:Object(H.P)(d.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:Object(H.P)(d.useViewBox,!0)}),{newline:!0})},SVGPainter.prototype.setBackgroundColor=function(d){this._backgroundColor=d},SVGPainter.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},SVGPainter.prototype._paintList=function(d,b,x){for(var T,D,z=d.length,H=[],W=0,U=0,Y=0;Y<z;Y++){var Z=d[Y];if(!Z.invisible){var J=Z.__clipPaths,ee=J&&J.length||0,te=D&&D.length||0,ne=void 0;for(ne=Math.max(ee-1,te-1);ne>=0&&(!J||!D||J[ne]!==D[ne]);ne--);for(var ie=te-1;ie>ne;ie--)T=H[--W-1];for(var oe=ne+1;oe<ee;oe++){var se={};setClipPath(J[oe],se,b);var le=createVNode("g","clip-g-"+U++,se,[]);(T?T.children:x).push(le),H[W++]=le,T=le}D=J;var ce=graphic_brush(Z,b);ce&&(T?T.children:x).push(ce)}}},SVGPainter.prototype.resize=function(d,b){var x=this._opts,T=this.root,D=this._viewport;if(null!=d&&(x.width=d),null!=b&&(x.height=b),T&&D&&(D.style.display="none",d=getSize(T,0,x),b=getSize(T,1,x),D.style.display=""),this._width!==d||this._height!==b){if(this._width=d,this._height=b,D){var z=D.style;z.width=d+"px",z.height=b+"px"}if(Object(vt.n)(this._backgroundColor))this.refresh();else{var H=this._svgDom;H&&(H.setAttribute("width",d),H.setAttribute("height",b));var W=this._bgVNode&&this._bgVNode.elm;W&&(W.setAttribute("width",d),W.setAttribute("height",b))}}},SVGPainter.prototype.getWidth=function(){return this._width},SVGPainter.prototype.getHeight=function(){return this._height},SVGPainter.prototype.dispose=function(){this.root&&(this.root.innerHTML=""),this._svgDom=this._viewport=this.storage=this._oldVNode=this._bgVNode=this._mainVNode=null},SVGPainter.prototype.clear=function(){this._svgDom&&(this._svgDom.innerHTML=null),this._oldVNode=null},SVGPainter.prototype.toDataURL=function(d){var b=this.renderToString(),x="data:image/svg+xml;";return d?(b=Object(vt.c)(b))&&x+"base64,"+b:x+"charset=UTF-8,"+encodeURIComponent(b)},SVGPainter}();function dataIndexMapValueLength(d){return null==d?0:d.length||1}function defaultKeyGetter(d){return d}var zc=function(){function DataDiffer(d,b,x,T,D,z){this._old=d,this._new=b,this._oldKeyGetter=x||defaultKeyGetter,this._newKeyGetter=T||defaultKeyGetter,this.context=D,this._diffModeMultiple="multiple"===z}return DataDiffer.prototype.add=function(d){return this._add=d,this},DataDiffer.prototype.update=function(d){return this._update=d,this},DataDiffer.prototype.updateManyToOne=function(d){return this._updateManyToOne=d,this},DataDiffer.prototype.updateOneToMany=function(d){return this._updateOneToMany=d,this},DataDiffer.prototype.updateManyToMany=function(d){return this._updateManyToMany=d,this},DataDiffer.prototype.remove=function(d){return this._remove=d,this},DataDiffer.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},DataDiffer.prototype._executeOneToOne=function(){var d=this._old,b=this._new,x={},T=new Array(d.length),D=new Array(b.length);this._initIndexMap(d,null,T,"_oldKeyGetter"),this._initIndexMap(b,x,D,"_newKeyGetter");for(var z=0;z<d.length;z++){var H=T[z],W=x[H],U=dataIndexMapValueLength(W);if(U>1){var Y=W.shift();1===W.length&&(x[H]=W[0]),this._update&&this._update(Y,z)}else 1===U?(x[H]=null,this._update&&this._update(W,z)):this._remove&&this._remove(z)}this._performRestAdd(D,x)},DataDiffer.prototype._executeMultiple=function(){var d=this._old,b=this._new,x={},T={},D=[],z=[];this._initIndexMap(d,x,D,"_oldKeyGetter"),this._initIndexMap(b,T,z,"_newKeyGetter");for(var H=0;H<D.length;H++){var W=D[H],U=x[W],Y=T[W],Z=dataIndexMapValueLength(U),J=dataIndexMapValueLength(Y);if(Z>1&&1===J)this._updateManyToOne&&this._updateManyToOne(Y,U),T[W]=null;else if(1===Z&&J>1)this._updateOneToMany&&this._updateOneToMany(Y,U),T[W]=null;else if(1===Z&&1===J)this._update&&this._update(Y,U),T[W]=null;else if(Z>1&&J>1)this._updateManyToMany&&this._updateManyToMany(Y,U),T[W]=null;else if(Z>1)for(var ee=0;ee<Z;ee++)this._remove&&this._remove(U[ee]);else this._remove&&this._remove(U)}this._performRestAdd(z,T)},DataDiffer.prototype._performRestAdd=function(d,b){for(var x=0;x<d.length;x++){var T=d[x],D=b[T],z=dataIndexMapValueLength(D);if(z>1)for(var H=0;H<z;H++)this._add&&this._add(D[H]);else 1===z&&this._add&&this._add(D);b[T]=null}},DataDiffer.prototype._initIndexMap=function(d,b,x,T){for(var D=this._diffModeMultiple,z=0;z<d.length;z++){var H="_ec_"+this[T](d[z],z);if(D||(x[z]=H),b){var W=b[H],U=dataIndexMapValueLength(W);0===U?(b[H]=z,D&&x.push(H)):1===U?b[H]=[W,z]:W.push(z)}}},DataDiffer}(),Fc=function(){function DimensionUserOuput(d,b){this._encode=d,this._schema=b}return DimensionUserOuput.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},DimensionUserOuput.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},DimensionUserOuput}();function getOrCreateEncodeArr(d,b){return d.hasOwnProperty(b)||(d[b]=[]),d[b]}function getDimensionTypeByAxis(d){return"category"===d?"ordinal":"time"===d?"time":"float"}var data_SeriesDimensionDefine=function(d){this.otherDims={},null!=d&&H.m(this,d)},Hc=makeInner(),Gc={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},$c=function(){function SeriesDataSchema(d){this.dimensions=d.dimensions,this._dimOmitted=d.dimensionOmitted,this.source=d.source,this._fullDimCount=d.fullDimensionCount,this._updateDimOmitted(d.dimensionOmitted)}return SeriesDataSchema.prototype.isDimensionOmitted=function(){return this._dimOmitted},SeriesDataSchema.prototype._updateDimOmitted=function(d){this._dimOmitted=d,d&&(this._dimNameMap||(this._dimNameMap=ensureSourceDimNameMap(this.source)))},SeriesDataSchema.prototype.getSourceDimensionIndex=function(d){return Object(H.P)(this._dimNameMap.get(d),-1)},SeriesDataSchema.prototype.getSourceDimension=function(d){var b=this.source.dimensionsDefine;if(b)return b[d]},SeriesDataSchema.prototype.makeStoreSchema=function(){for(var d=this._fullDimCount,b=shouldRetrieveDataByName(this.source),x=!shouldOmitUnusedDimensions(d),T="",D=[],z=0,H=0;z<d;z++){var W=void 0,U=void 0,Y=void 0,Z=this.dimensions[H];if(Z&&Z.storeDimIndex===z)W=b?Z.name:null,U=Z.type,Y=Z.ordinalMeta,H++;else{var J=this.getSourceDimension(z);J&&(W=b?J.name:null,U=J.type)}D.push({property:W,type:U,ordinalMeta:Y}),!b||null==W||Z&&Z.isCalculationCoord||(T+=x?W.replace(/\`/g,"`1").replace(/\$/g,"`2"):W),T+="$",T+=Gc[U]||"f",Y&&(T+=Y.uid),T+="$"}var ee=this.source;return{dimensions:D,hash:[ee.seriesLayoutBy,ee.startIndex,T].join("$$")}},SeriesDataSchema.prototype.makeOutputDimensionNames=function(){for(var d=[],b=0,x=0;b<this._fullDimCount;b++){var T=void 0,D=this.dimensions[x];if(D&&D.storeDimIndex===b)D.isCalculationCoord||(T=D.name),x++;else{var z=this.getSourceDimension(b);z&&(T=z.name)}d.push(T)}return d},SeriesDataSchema.prototype.appendCalculationDimension=function(d){this.dimensions.push(d),d.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},SeriesDataSchema}();
vendor: 4,385 bytes, line 808
808function isSeriesDataSchema(d){return d instanceof $c}function createDimNameMap(d){for(var b=Object(H.f)(),x=0;x<(d||[]).length;x++){var T=d[x],D=Object(H.A)(T)?T.name:T;null!=D&&null==b.get(D)&&b.set(D,x)}return b}function ensureSourceDimNameMap(d){var b=Hc(d);return b.dimNameMap||(b.dimNameMap=createDimNameMap(d.dimensionsDefine))}function shouldOmitUnusedDimensions(d){return d>30}var Wc,Uc,Yc,qc,Zc,Xc,Kc,Jc=H.A,Qc=H.H,ed="undefined"==typeof Int32Array?Array:Int32Array,td=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],nd=["_approximateExtent"],id=function(){function SeriesData(d,b){var x;this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","minmaxDownSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","minmaxDownSample","lttbDownSample"];var T=!1;isSeriesDataSchema(d)?(x=d.dimensions,this._dimOmitted=d.isDimensionOmitted(),this._schema=d):(T=!0,x=d),x=x||["x","y"];for(var D={},z=[],W={},U=!1,Y={},Z=0;Z<x.length;Z++){var J=x[Z],ee=H.C(J)?new data_SeriesDimensionDefine({name:J}):J instanceof data_SeriesDimensionDefine?J:new data_SeriesDimensionDefine(J),te=ee.name;ee.type=ee.type||"float",ee.coordDim||(ee.coordDim=te,ee.coordDimIndex=0);var ne=ee.otherDims=ee.otherDims||{};z.push(te),D[te]=ee,null!=Y[te]&&(U=!0),ee.createInvertedIndices&&(W[te]=[]);var ie=Z;H.z(ee.storeDimIndex)&&(ie=ee.storeDimIndex),0===ne.itemName&&(this._nameDimIdx=ie),0===ne.itemId&&(this._idDimIdx=ie),T&&(ee.storeDimIndex=Z)}if(this.dimensions=z,this._dimInfos=D,this._initGetDimensionInfo(U),this.hostModel=b,this._invertedIndicesMap=W,this._dimOmitted){var oe=this._dimIdxToName=H.f();H.k(z,(function(d){oe.set(D[d].storeDimIndex,d)}))}}return SeriesData.prototype.getDimension=function(d){var b=this._recognizeDimIndex(d);if(null==b)return d;if(b=d,!this._dimOmitted)return this.dimensions[b];var x=this._dimIdxToName.get(b);if(null!=x)return x;var T=this._schema.getSourceDimension(b);return T?T.name:void 0},SeriesData.prototype.getDimensionIndex=function(d){var b=this._recognizeDimIndex(d);if(null!=b)return b;if(null==d)return-1;var x=this._getDimInfo(d);return x?x.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(d):-1},SeriesData.prototype._recognizeDimIndex=function(d){if(H.z(d)||null!=d&&!isNaN(d)&&!this._getDimInfo(d)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(d)<0))return+d},SeriesData.prototype._getStoreDimIndex=function(d){return this.getDimensionIndex(d)},SeriesData.prototype.getDimensionInfo=function(d){return this._getDimInfo(this.getDimension(d))},SeriesData.prototype._initGetDimensionInfo=function(d){var b=this._dimInfos;this._getDimInfo=d?function(d){return b.hasOwnProperty(d)?b[d]:void 0}:function(d){return b[d]}},SeriesData.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},SeriesData.prototype.mapDimension=function(d,b){var x=this._dimSummary;if(null==b)return x.encodeFirstDimNotExtra[d];var T=x.encode[d];return T?T[b]:null},SeriesData.prototype.mapDimensionsAll=function(d){return(this._dimSummary.encode[d]||[]).slice()},SeriesData.prototype.getStore=function(){return this._store},SeriesData.prototype.initData=function(d,b,x){var T,D=this;if(d instanceof Ya&&(T=d),!T){var z=this.dimensions,W=isSourceInstance(d)||H.u(d)?new Ca(d,z.length):d;T=new Ya;var U=Qc(z,(function(d){return{type:D._dimInfos[d].type,property:d}}));T.initData(W,U,x)}this._store=T,this._nameList=(b||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,T.count()),this._dimSummary=function(d,b){var x={},T=x.encode={},D=Object(H.f)(),z=[],W=[],U={};Object(H.k)(d.dimensions,(function(b){var x,H=d.getDimensionInfo(b),Y=H.coordDim;if(Y){0;var Z=H.coordDimIndex;getOrCreateEncodeArr(T,Y)[Z]=b,H.isExtraCoord||(D.set(Y,1),"ordinal"!==(x=H.type)&&"time"!==x&&(z[0]=b),getOrCreateEncodeArr(U,Y)[Z]=d.getDimensionIndex(H.name)),H.defaultTooltip&&W.push(b)}Yo.each((function(d,b){var x=getOrCreateEncodeArr(T,b),D=H.otherDims[b];null!=D&&!1!==D&&(x[D]=H.name)}))}
vendor: 16,663 bytes, line 808
808));var Y=[],Z={};D.each((function(d,b){var x=T[b];Z[b]=x[0],Y=Y.concat(x)})),x.dataDimsOnCoord=Y,x.dataDimIndicesOnCoord=Object(H.H)(Y,(function(b){return d.getDimensionInfo(b).storeDimIndex})),x.encodeFirstDimNotExtra=Z;var J=T.label;J&&J.length&&(z=J.slice());var ee=T.tooltip;return ee&&ee.length?W=ee.slice():W.length||(W=z.slice()),T.defaultedLabel=z,T.defaultedTooltip=W,x.userOutput=new Fc(U,b),x}(this,this._schema),this.userOutput=this._dimSummary.userOutput},SeriesData.prototype.appendData=function(d){var b=this._store.appendData(d);this._doInit(b[0],b[1])},SeriesData.prototype.appendValues=function(d,b){var x=this._store.appendValues(d,b&&b.length),T=x.start,D=x.end,z=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),b)for(var H=T;H<D;H++){var W=H-T;this._nameList[H]=b[W],z&&Kc(this,H)}},SeriesData.prototype._updateOrdinalMeta=function(){for(var d=this._store,b=this.dimensions,x=0;x<b.length;x++){var T=this._dimInfos[b[x]];T.ordinalMeta&&d.collectOrdinalMeta(T.storeDimIndex,T.ordinalMeta)}},SeriesData.prototype._shouldMakeIdFromName=function(){var d=this._store.getProvider();return null==this._idDimIdx&&"typedArray"!==d.getSource().sourceFormat&&!d.fillStorage},SeriesData.prototype._doInit=function(d,b){if(!(d>=b)){var x=this._store.getProvider();this._updateOrdinalMeta();var T=this._nameList,D=this._idList;if("original"===x.getSource().sourceFormat&&!x.pure)for(var z=[],H=d;H<b;H++){var W=x.getItem(H,z);if(!this.hasItemOption&&isDataItemOption(W)&&(this.hasItemOption=!0),W){var U=W.name;null==T[H]&&null!=U&&(T[H]=convertOptionIdName(U,null));var Y=W.id;null==D[H]&&null!=Y&&(D[H]=convertOptionIdName(Y,null))}}if(this._shouldMakeIdFromName())for(H=d;H<b;H++)Kc(this,H);Wc(this)}},SeriesData.prototype.getApproximateExtent=function(d){return this._approximateExtent[d]||this._store.getDataExtent(this._getStoreDimIndex(d))},SeriesData.prototype.setApproximateExtent=function(d,b){b=this.getDimension(b),this._approximateExtent[b]=d.slice()},SeriesData.prototype.getCalculationInfo=function(d){return this._calculationInfo[d]},SeriesData.prototype.setCalculationInfo=function(d,b){Jc(d)?H.m(this._calculationInfo,d):this._calculationInfo[d]=b},SeriesData.prototype.getName=function(d){var b=this.getRawIndex(d),x=this._nameList[b];return null==x&&null!=this._nameDimIdx&&(x=Yc(this,this._nameDimIdx,b)),null==x&&(x=""),x},SeriesData.prototype._getCategory=function(d,b){var x=this._store.get(d,b),T=this._store.getOrdinalMeta(d);return T?T.categories[x]:x},SeriesData.prototype.getId=function(d){return Uc(this,this.getRawIndex(d))},SeriesData.prototype.count=function(){return this._store.count()},SeriesData.prototype.get=function(d,b){var x=this._store,T=this._dimInfos[d];if(T)return x.get(T.storeDimIndex,b)},SeriesData.prototype.getByRawIndex=function(d,b){var x=this._store,T=this._dimInfos[d];if(T)return x.getByRawIndex(T.storeDimIndex,b)},SeriesData.prototype.getIndices=function(){return this._store.getIndices()},SeriesData.prototype.getDataExtent=function(d){return this._store.getDataExtent(this._getStoreDimIndex(d))},SeriesData.prototype.getSum=function(d){return this._store.getSum(this._getStoreDimIndex(d))},SeriesData.prototype.getMedian=function(d){return this._store.getMedian(this._getStoreDimIndex(d))},SeriesData.prototype.getValues=function(d,b){var x=this,T=this._store;return H.t(d)?T.getValues(Qc(d,(function(d){return x._getStoreDimIndex(d)})),b):T.getValues(d)},SeriesData.prototype.hasValue=function(d){for(var b=this._dimSummary.dataDimIndicesOnCoord,x=0,T=b.length;x<T;x++)if(isNaN(this._store.get(b[x],d)))return!1;return!0},SeriesData.prototype.indexOfName=function(d){for(var b=0,x=this._store.count();b<x;b++)if(this.getName(b)===d)return b;return-1},SeriesData.prototype.getRawIndex=function(d){return this._store.getRawIndex(d)},SeriesData.prototype.indexOfRawIndex=function(d){return this._store.indexOfRawIndex(d)},SeriesData.prototype.rawIndexOf=function(d,b){var x=d&&this._invertedIndicesMap[d];var T=x&&x[b];return null==T||isNaN(T)?-1:T},SeriesData.prototype.each=function(d,b,x){H.w(d)&&(x=b,b=d,d=[]);var T=x||this,D=Qc(qc(d),this._getStoreDimIndex,this);this._store.each(D,T?H.c(b,T):b)},SeriesData.prototype.filterSelf=function(d,b,x){H.w(d)&&(x=b,b=d,d=[]);var T=x||this,D=Qc(qc(d),this._getStoreDimIndex,this);return this._store=this._store.filter(D,T?H.c(b,T):b),this},SeriesData.prototype.selectRange=function(d){var b=this,x={},T=H.F(d),D=[];return H.k(T,(function(T){var z=b._getStoreDimIndex(T);x[z]=d[T],D.push(z)})),this._store=this._store.selectRange(x),this},SeriesData.prototype.mapArray=function(d,b,x){H.w(d)&&(x=b,b=d,d=[]),x=x||this;var T=[];return this.each(d,(function(){T.push(b&&b.apply(this,arguments))}),x),T},SeriesData.prototype.map=function(d,b,x,T){var D=x||T||this,z=Qc(qc(d),this._getStoreDimIndex,this),W=Xc(this);return W._store=this._store.map(z,D?H.c(b,D):b),W},SeriesData.prototype.modify=function(d,b,x,T){var D=x||T||this;var z=Qc(qc(d),this._getStoreDimIndex,this);this._store.modify(z,D?H.c(b,D):b)},SeriesData.prototype.downSample=function(d,b,x,T){var D=Xc(this);return D._store=this._store.downSample(this._getStoreDimIndex(d),b,x,T),D},SeriesData.prototype.minmaxDownSample=function(d,b){var x=Xc(this);return x._store=this._store.minmaxDownSample(this._getStoreDimIndex(d),b),x},SeriesData.prototype.lttbDownSample=function(d,b){var x=Xc(this);return x._store=this._store.lttbDownSample(this._getStoreDimIndex(d),b),x},SeriesData.prototype.getRawDataItem=function(d){return this._store.getRawDataItem(d)},SeriesData.prototype.getItemModel=function(d){var b=this.hostModel,x=this.getRawDataItem(d);return new oo(x,b,b&&b.ecModel)},SeriesData.prototype.diff=function(d){var b=this;return new zc(d?d.getStore().getIndices():[],this.getStore().getIndices(),(function(b){return Uc(d,b)}),(function(d){return Uc(b,d)}))},SeriesData.prototype.getVisual=function(d){var b=this._visual;return b&&b[d]},SeriesData.prototype.setVisual=function(d,b){this._visual=this._visual||{},Jc(d)?H.m(this._visual,d):this._visual[d]=b},SeriesData.prototype.getItemVisual=function(d,b){var x=this._itemVisuals[d],T=x&&x[b];return null==T?this.getVisual(b):T},SeriesData.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},SeriesData.prototype.ensureUniqueItemVisual=function(d,b){var x=this._itemVisuals,T=x[d];T||(T=x[d]={});var D=T[b];return null==D&&(D=this.getVisual(b),H.t(D)?D=D.slice():Jc(D)&&(D=H.m({},D)),T[b]=D),D},SeriesData.prototype.setItemVisual=function(d,b,x){var T=this._itemVisuals[d]||{};this._itemVisuals[d]=T,Jc(b)?H.m(T,b):T[b]=x},SeriesData.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},SeriesData.prototype.setLayout=function(d,b){Jc(d)?H.m(this._layout,d):this._layout[d]=b},SeriesData.prototype.getLayout=function(d){return this._layout[d]},SeriesData.prototype.getItemLayout=function(d){return this._itemLayouts[d]},SeriesData.prototype.setItemLayout=function(d,b,x){this._itemLayouts[d]=x?H.m(this._itemLayouts[d]||{},b):b},SeriesData.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},SeriesData.prototype.setItemGraphicEl=function(d,b){var x=this.hostModel&&this.hostModel.seriesIndex;setCommonECData(x,this.dataType,d,b),this._graphicEls[d]=b},SeriesData.prototype.getItemGraphicEl=function(d){return this._graphicEls[d]},SeriesData.prototype.eachItemGraphicEl=function(d,b){H.k(this._graphicEls,(function(x,T){x&&d&&d.call(b,x,T)}))},SeriesData.prototype.cloneShallow=function(d){return d||(d=new SeriesData(this._schema?this._schema:Qc(this.dimensions,this._getDimInfo,this),this.hostModel)),Zc(d,this),d._store=this._store,d},SeriesData.prototype.wrapMethod=function(d,b){var x=this[d];H.w(x)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(d),this[d]=function(){var d=x.apply(this,arguments);return b.apply(this,[d].concat(H.S(arguments)))})},SeriesData.internalField=(Wc=function(d){var b=d._invertedIndicesMap;H.k(b,(function(x,T){var D=d._dimInfos[T],z=D.ordinalMeta,H=d._store;if(z){x=b[T]=new ed(z.categories.length);for(var W=0;W<x.length;W++)x[W]=-1;for(W=0;W<H.count();W++)x[H.get(D.storeDimIndex,W)]=W}}))},Yc=function(d,b,x){return convertOptionIdName(d._getCategory(b,x),null)},Uc=function(d,b){var x=d._idList[b];return null==x&&null!=d._idDimIdx&&(x=Yc(d,d._idDimIdx,b)),null==x&&(x="e\0\0"+b),x},qc=function(d){return H.t(d)||(d=null!=d?[d]:[]),d},Xc=function(d){var b=new SeriesData(d._schema?d._schema:Qc(d.dimensions,d._getDimInfo,d),d.hostModel);return Zc(b,d),b},Zc=function(d,b){H.k(td.concat(b.__wrappedMethods||[]),(function(x){b.hasOwnProperty(x)&&(d[x]=b[x])})),d.__wrappedMethods=b.__wrappedMethods,H.k(nd,(function(x){d[x]=H.d(b[x])})),d._calculationInfo=H.m({},b._calculationInfo)},void(Kc=function(d,b){var x=d._nameList,T=d._idList,D=d._nameDimIdx,z=d._idDimIdx,H=x[b],W=T[b];if(null==H&&null!=D&&(x[b]=H=Yc(d,D,b)),null==W&&null!=z&&(T[b]=W=Yc(d,z,b)),null==W&&null!=H){var U=d._nameRepeatCount,Y=U[H]=(U[H]||0)+1;W=H,Y>1&&(W+="__ec__"+Y),T[b]=W}})),SeriesData}();function prepareSeriesDataSchema(d,b){isSourceInstance(d)||(d=createSourceFromSeriesDataOption(d));var x=(b=b||{}).coordDimensions||[],T=b.dimensionsDefine||d.dimensionsDefine||[],D=Object(H.f)(),z=[],W=function(d,b,x,T){var D=Math.max(d.dimensionsDetectedCount||1,b.length,x.length,T||0);return Object(H.k)(b,(function(d){var b;Object(H.A)(d)&&(b=d.dimsDef)&&(D=Math.max(D,b.length))})),D}(d,x,T,b.dimensionsCount),U=b.canOmitUnusedDimensions&&shouldOmitUnusedDimensions(W),Y=T===d.dimensionsDefine,Z=Y?ensureSourceDimNameMap(d):createDimNameMap(T),J=b.encodeDefine;!J&&b.encodeDefaulter&&(J=b.encodeDefaulter(d,W));for(var ee=Object(H.f)(J),te=new $a(W),ne=0;ne<te.length;ne++)te[ne]=-1;function getResultItem(d){var b=te[d];if(b<0){var x=T[d],D=Object(H.A)(x)?x:{name:x},W=new data_SeriesDimensionDefine,U=D.name;null!=U&&null!=Z.get(U)&&(W.name=W.displayName=U),null!=D.type&&(W.type=D.type),null!=D.displayName&&(W.displayName=D.displayName);var Y=z.length;return te[d]=Y,W.storeDimIndex=d,z.push(W),W}return z[b]}if(!U)for(ne=0;ne<W;ne++)getResultItem(ne);ee.each((function(d,b){var x=normalizeToArray(d).slice();if(1===x.length&&!Object(H.C)(x[0])&&x[0]<0)ee.set(b,!1);else{var T=ee.set(b,[]);Object(H.k)(x,(function(d,x){var D=Object(H.C)(d)?Z.get(d):d;null!=D&&D<W&&(T[x]=D,applyDim(getResultItem(D),b,x))}))}}));var ie=0;function applyDim(d,b,x){null!=Yo.get(b)?d.otherDims[b]=x:(d.coordDim=b,d.coordDimIndex=x,D.set(b,!0))}Object(H.k)(x,(function(d){var b,x,T,D;if(Object(H.C)(d))b=d,D={};else{b=(D=d).name;var z=D.ordinalMeta;D.ordinalMeta=null,(D=Object(H.m)({},D)).ordinalMeta=z,x=D.dimsDef,T=D.otherDims,D.name=D.coordDim=D.coordDimIndex=D.dimsDef=D.otherDims=null}var U=ee.get(b);if(!1!==U){if(!(U=normalizeToArray(U)).length)for(var Z=0;Z<(x&&x.length||1);Z++){for(;ie<W&&null!=getResultItem(ie).coordDim;)ie++;ie<W&&U.push(ie++)}Object(H.k)(U,(function(d,z){var W=getResultItem(d);if(Y&&null!=D.type&&(W.type=D.type),applyDim(Object(H.i)(W,D),b,z),null==W.name&&x){var U=x[z];!Object(H.A)(U)&&(U={name:U}),W.name=W.displayName=U.name,W.defaultTooltip=U.defaultTooltip}T&&Object(H.i)(W.otherDims,T)}))}}));var oe=b.generateCoord,se=b.generateCoordCount,le=null!=se;se=oe?se||1:0;var ce=oe||"value";function ifNoNameFillWithCoordName(d){null==d.name&&(d.name=d.coordDim)}if(U)Object(H.k)(z,(function(d){ifNoNameFillWithCoordName(d)})),z.sort((function(d,b){return d.storeDimIndex-b.storeDimIndex}));else for(var de=0;de<W;de++){var he=getResultItem(de);null==he.coordDim&&(he.coordDim=genCoordDimName(ce,D,le),he.coordDimIndex=0,(!oe||se<=0)&&(he.isExtraCoord=!0),se--),ifNoNameFillWithCoordName(he),null!=he.type||guessOrdinal(d,de)!==qo&&(!he.isExtraCoord||null==he.otherDims.itemName&&null==he.otherDims.seriesName)||(he.type="ordinal")}return function(d){for(var b=Object(H.f)(),x=0;x<d.length;x++){var T=d[x],D=T.name,z=b.get(D)||0;z>0&&(T.name=D+(z-1)),z++,b.set(D,z)}}(z),new $c({source:d,dimensions:z,fullDimensionCount:W,dimensionOmitted:U})}function genCoordDimName(d,b,x){if(x||b.hasKey(d)){for(var T=0;b.hasKey(d+T);)T++;d+=T}return b.set(d,!0),d}var referHelper_CoordSysInfo=function(d){this.coordSysDims=[],this.axisMap=Object(H.f)(),this.categoryAxisMap=Object(H.f)(),this.coordSysName=d};var rd={cartesian2d:function(d,b,x,T){var D=d.getReferringComponents("xAxis",si).models[0],z=d.getReferringComponents("yAxis",si).models[0];b.coordSysDims=["x","y"],x.set("x",D),x.set("y",z),referHelper_isCategory(D)&&(T.set("x",D),b.firstCategoryDimIndex=0),referHelper_isCategory(z)&&(T.set("y",z),null==b.firstCategoryDimIndex&&(b.firstCategoryDimIndex=1))},singleAxis:function(d,b,x,T){var D=d.getReferringComponents("singleAxis",si).models[0];b.coordSysDims=["single"],x.set("single",D),referHelper_isCategory(D)&&(T.set("single",D),b.firstCategoryDimIndex=0)},polar:function(d,b,x,T){var D=d.getReferringComponents("polar",si).models[0],z=D.findAxisModel("radiusAxis"),H=D.findAxisModel("angleAxis");b.coordSysDims=["radius","angle"],x.set("radius",z),x.set("angle",H),referHelper_isCategory(z)&&(T.set("radius",z),b.firstCategoryDimIndex=0),referHelper_isCategory(H)&&(T.set("angle",H),null==b.firstCategoryDimIndex&&(b.firstCategoryDimIndex=1))},geo:function(d,b,x,T){b.coordSysDims=["lng","lat"]},parallel:function(d,b,x,T){var D=d.ecModel,z=D.getComponent("parallel",d.get("parallelIndex")),W=b.coordSysDims=z.dimensions.slice();Object(H.k)(z.parallelAxisIndex,(function(d,z){var H=D.getComponent("parallelAxis",d),U=W[z];x.set(U,H),referHelper_isCategory(H)&&(T.set(U,H),null==b.firstCategoryDimIndex&&(b.firstCategoryDimIndex=z))}))},matrix:function(d,b,x,T){var D=d.getReferringComponents("matrix",si).models[0];b.coordSysDims=["x","y"];var z=D.getDimensionModel("x"),H=D.getDimensionModel("y");x.set("x",z),x.set("y",H),T.set("x",z),T.set("y",H)}};function referHelper_isCategory(d){return"category"===d.get("type")}function enableDataStack(d,b,x){var T,D,z,W=(x=x||{}).byIndex,U=x.stackedCoordDimension;!function(d){return!isSeriesDataSchema(d.schema)}(b)?(D=b.schema,T=D.dimensions,z=b.store):T=b;var Y,Z,J,ee,te=!(!d||!d.get("stack"));if(Object(H.k)(T,(function(d,b){Object(H.C)(d)&&(T[b]=d={name:d}),te&&!d.isExtraCoord&&(W||Y||!d.ordinalMeta||(Y=d),Z||"ordinal"===d.type||"time"===d.type||U&&U!==d.coordDim||(Z=d))})),!Z||W||Y||(W=!0),Z){J="__\0ecstackresult_"+d.id,ee="__\0ecstackedover_"+d.id,Y&&(Y.createInvertedIndices=!0);var ne=Z.coordDim,ie=Z.type,oe=0;Object(H.k)(T,(function(d){d.coordDim===ne&&oe++}));var se={name:J,coordDim:ne,coordDimIndex:oe,type:ie,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:T.length},le={name:ee,coordDim:ee,coordDimIndex:oe+1,type:ie,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:T.length+1};D?(z&&(se.storeDimIndex=z.ensureCalculationDimension(ee,ie),le.storeDimIndex=z.ensureCalculationDimension(J,ie)),D.appendCalculationDimension(se),D.appendCalculationDimension(le)):(T.push(se),T.push(le))}return{stackedDimension:Z&&Z.name,stackedByDimension:Y&&Y.name,isStackedByIndex:W,stackedOverDimension:ee,stackResultDimension:J}}function isDimensionStacked(d,b){return!!b&&b===d.getCalculationInfo("stackedDimension")}function getStackedDimension(d,b){return isDimensionStacked(d,b)?d.getCalculationInfo("stackResultDimension"):b}var helper_createSeriesData=function(d,b,x){x=x||{};var T,D=b.getSourceManager(),z=!1;d?(z=!0,T=createSourceFromSeriesDataOption(d)):z="original"===(T=D.getSource()).sourceFormat;var W=function(d){var b=d.get("coordinateSystem"),x=new referHelper_CoordSysInfo(b),T=rd[b];if(T)return T(d,x,x.axisMap,x.categoryAxisMap),x}(b),U=function(d,b){var x,T=d.get("coordinateSystem"),D=Ao.get(T);return b&&b.coordSysDims&&(x=H.H(b.coordSysDims,(function(d){var x={name:d},T=b.axisMap.get(d);if(T){var D=T.get("type");x.type=getDimensionTypeByAxis(D)}return x}))),x||(x=D&&(D.getDimensionsInfo?D.getDimensionsInfo():D.dimensions.slice())||["x","y"]),x}(b,W),Y=x.useEncodeDefaulter,Z=H.w(Y)?Y:Y?H.h(makeSeriesEncodeForAxisCoordSys,U,b):null,J=prepareSeriesDataSchema(T,{coordDimensions:U,generateCoord:x.generateCoord,encodeDefine:b.getEncode(),encodeDefaulter:Z,canOmitUnusedDimensions:!z}),ee=function(d,b,x){var T,D;return x&&H.k(d,(function(d,z){var H=d.coordDim,W=x.categoryAxisMap.get(H);W&&(null==T&&(T=z),d.ordinalMeta=W.getOrdinalMeta(),b&&(d.createInvertedIndices=!0)),null!=d.otherDims.itemName&&(D=!0)})),D||null==T||(d[T].otherDims.itemName=0),T}(J.dimensions,x.createInvertedIndices,W),te=z?null:D.getSharedDataStore(J),ne=enableDataStack(b,{schema:J,store:te}),ie=new id(J,b);ie.setCalculationInfo(ne);var oe=null!=ee&&function(d){if("original"===d.sourceFormat){var b=function(d){var b=0;for(;b<d.length&&null==d[b];
vendor: 4,153 bytes, line 808
808)b++;return d[b]}(d.data||[]);return!H.t(getDataItemValue(b))}}(T)?function(d,b,x,T){return T===ee?x:this.defaultDimValueGetter(d,b,x,T)}:null;return ie.hasItemOption=!1,ie.initData(z?T:te,null,oe),ie},od=function(d){function LineSeriesModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=LineSeriesModel.type,b.hasSymbolVisual=!0,b}return __extends(LineSeriesModel,d),LineSeriesModel.prototype.getInitialData=function(d){return helper_createSeriesData(null,this,{useEncodeDefaulter:!0})},LineSeriesModel.prototype.getLegendIcon=function(d){var b=new Xn,x=symbol_createSymbol("line",0,d.itemHeight/2,d.itemWidth,0,d.lineStyle.stroke,!1);b.add(x),x.setStyle(d.lineStyle);var T=this.getData().getVisual("symbol"),D=this.getData().getVisual("symbolRotate"),z="none"===T?"circle":T,H=.8*d.itemHeight,W=symbol_createSymbol(z,(d.itemWidth-H)/2,(d.itemHeight-H)/2,H,H,d.itemStyle.fill);b.add(W),W.setStyle(d.itemStyle);var U="inherit"===d.iconRotate?D:d.iconRotate||0;return W.rotation=U*Math.PI/180,W.setOrigin([d.itemWidth/2,d.itemHeight/2]),z.indexOf("empty")>-1&&(W.style.stroke=W.style.fill,W.style.fill=Fo.color.neutral00,W.style.lineWidth=2),b},LineSeriesModel.type="series.line",LineSeriesModel.dependencies=["grid","polar"],LineSeriesModel.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:6,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},LineSeriesModel}(es);function getDefaultLabel(d,b){var x=d.mapDimensionsAll("defaultedLabel"),T=x.length;if(1===T){var D=retrieveRawValue(d,b,x[0]);return null!=D?D+"":null}if(T){for(var z=[],H=0;H<x.length;H++)z.push(retrieveRawValue(d,b,x[H]));return z.join(" ")}}function getDefaultInterpolatedLabel(d,b){var x=d.mapDimensionsAll("defaultedLabel");if(!Object(H.t)(b))return b+"";for(var T=[],D=0;D<x.length;D++){var z=d.getDimensionIndex(x[D]);z>=0&&T.push(b[z])}return T.join(" ")}function driftSymbol(d,b){this.parent.drift(d,b)}var ad=function(d){function _Symbol2(b,x,T,D){var z=d.call(this)||this;return z.updateData(b,x,T,D),z}return __extends(_Symbol2,d),_Symbol2.prototype._createSymbol=function(d,b,x,T,D,z){this.removeAll();var W=symbol_createSymbol(d,-1,-1,2,2,null,z);W.attr({z2:Object(H.P)(D,100),culling:!0,scaleX:T[0]/2,scaleY:T[1]/2}),W.drift=driftSymbol,this._symbolType=d,this.add(W)},_Symbol2.prototype.stopSymbolAnimation=function(d){this.childAt(0).stopAnimation(null,d)},_Symbol2.prototype.getSymbolType=function(){return this._symbolType},_Symbol2.prototype.getSymbolPath=function(){return this.childAt(0)},_Symbol2.prototype.highlight=function(){enterEmphasis(this.childAt(0))},_Symbol2.prototype.downplay=function(){leaveEmphasis(this.childAt(0))},_Symbol2.prototype.setZ=function(d,b){var x=this.childAt(0);x.zlevel=d,x.z=b},_Symbol2.prototype.setDraggable=function(d,b){var x=this.childAt(0);x.draggable=d,x.cursor=!b&&d?"move":x.cursor},_Symbol2.prototype.updateData=function(d,b,x,T){this.silent=!1;var D=d.getItemVisual(b,"symbol")||"circle",z=d.hostModel,H=_Symbol2.getSymbolSize(d,b),W=_Symbol2.getSymbolZ2(d,b),U=D!==this._symbolType,Y=T&&T.disableAnimation;if(U){var Z=d.getItemVisual(b,"symbolKeepAspect");this._createSymbol(D,d,b,H,W,Z)}else{(ee=this.childAt(0)).silent=!1;var J={scaleX:H[0]/2,scaleY:H[1]/2};Y?ee.attr(J):updateProps(ee,J,z,b),saveOldStyle(ee)}if(this._updateCommon(d,b,H,x,T),U){var ee=this.childAt(0);if(!Y){J={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:ee.style.opacity}};ee.scaleX=ee.scaleY=0,ee.style.opacity=0,initProps(ee,J,z,b)}}Y&&this.childAt(0).stopAnimation("leave")},_Symbol2.prototype._updateCommon=function(d,b,x,T,D){var z,W,U,Y,Z,J,ee,te,ne,ie=this.childAt(0),oe=d.hostModel;if(T&&(z=T.emphasisItemStyle,W=T.blurItemStyle,U=T.selectItemStyle,Y=T.focus,Z=T.blurScope,ee=T.labelStatesModels,te=T.hoverScale,ne=T.cursorStyle,J=T.emp
vendor: 46,578 bytes, line 808
808hasisDisabled),!T||d.hasItemOption){var se=T&&T.itemModel?T.itemModel:d.getItemModel(b),le=se.getModel("emphasis");z=le.getModel("itemStyle").getItemStyle(),U=se.getModel(["select","itemStyle"]).getItemStyle(),W=se.getModel(["blur","itemStyle"]).getItemStyle(),Y=le.get("focus"),Z=le.get("blurScope"),J=le.get("disabled"),ee=getLabelStatesModels(se),te=le.getShallow("scale"),ne=se.getShallow("cursor")}var ce=d.getItemVisual(b,"symbolRotate");ie.attr("rotation",(ce||0)*Math.PI/180||0);var de=normalizeSymbolOffset(d.getItemVisual(b,"symbolOffset"),x);de&&(ie.x=de[0],ie.y=de[1]),ne&&ie.attr("cursor",ne);var he=d.getItemVisual(b,"style"),pe=he.fill;if(ie instanceof yr){var fe=ie.style;ie.useStyle(Object(H.m)({image:fe.image,x:fe.x,y:fe.y,width:fe.width,height:fe.height},he))}else ie.__isEmptyBrush?ie.useStyle(Object(H.m)({},he)):ie.useStyle(he),ie.style.decal=null,ie.setColor(pe,D&&D.symbolInnerColor),ie.style.strokeNoScale=!0;var ge=d.getItemVisual(b,"liftZ"),me=this._z2;null!=ge?null==me&&(this._z2=ie.z2,ie.z2+=ge):null!=me&&(ie.z2=me,this._z2=null);var ye=D&&D.useNameLabel;setLabelStyle(ie,ee,{labelFetcher:oe,labelDataIndex:b,defaultText:function(b){return ye?d.getName(b):getDefaultLabel(d,b)},inheritColor:pe,defaultOpacity:he.opacity}),this._sizeX=x[0]/2,this._sizeY=x[1]/2;var ve=ie.ensureState("emphasis");ve.style=z,ie.ensureState("select").style=U,ie.ensureState("blur").style=W;var xe=null==te||!0===te?Math.max(1.1,3/this._sizeY):isFinite(te)&&te>0?+te:1;ve.scaleX=this._sizeX*xe,ve.scaleY=this._sizeY*xe,this.setSymbolScale(1),toggleHoverEmphasis(this,Y,Z,J)},_Symbol2.prototype.setSymbolScale=function(d){this.scaleX=this.scaleY=d},_Symbol2.prototype.fadeOut=function(d,b,x){var T=this.childAt(0),D=Or(this).dataIndex,z=x&&x.animation;if(this.silent=T.silent=!0,x&&x.fadeLabel){var H=T.getTextContent();H&&removeElement(H,{style:{opacity:0}},b,{dataIndex:D,removeOpt:z,cb:function(){T.removeTextContent()}})}else T.removeTextContent();removeElement(T,{style:{opacity:0},scaleX:0,scaleY:0},b,{dataIndex:D,cb:d,removeOpt:z})},_Symbol2.getSymbolSize=function(d,b){return normalizeSymbolSize(d.getItemVisual(b,"symbolSize"))},_Symbol2.getSymbolZ2=function(d,b){return d.getItemVisual(b,"z2")},_Symbol2}(Xn);function symbolNeedsDraw(d,b,x,T){return b&&!isNaN(b[0])&&!isNaN(b[1])&&!(T.isIgnore&&T.isIgnore(x))&&!(T.clipShape&&!T.clipShape.contain(b[0],b[1]))&&"none"!==d.getItemVisual(x,"symbol")}function normalizeUpdateOpt(d){return null==d||Object(H.A)(d)||(d={isIgnore:d}),d||{}}function makeSeriesScope(d){var b=d.hostModel,x=b.getModel("emphasis");return{emphasisItemStyle:x.getModel("itemStyle").getItemStyle(),blurItemStyle:b.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:b.getModel(["select","itemStyle"]).getItemStyle(),focus:x.get("focus"),blurScope:x.get("blurScope"),emphasisDisabled:x.get("disabled"),hoverScale:x.get("scale"),labelStatesModels:getLabelStatesModels(b),cursorStyle:b.get("cursor")}}var sd=function(){function SymbolDraw(d){this.group=new Xn,this._SymbolCtor=d||ad}return SymbolDraw.prototype.updateData=function(d,b){this._progressiveEls=null,b=normalizeUpdateOpt(b);var x=this.group,T=d.hostModel,D=this._data,z=this._SymbolCtor,H=b.disableAnimation,W=makeSeriesScope(d),U={disableAnimation:H},Y=b.getSymbolPoint||function(b){return d.getItemLayout(b)};D||x.removeAll(),d.diff(D).add((function(T){var D=Y(T);if(symbolNeedsDraw(d,D,T,b)){var H=new z(d,T,W,U);H.setPosition(D),d.setItemGraphicEl(T,H),x.add(H)}})).update((function(Z,J){var ee=D.getItemGraphicEl(J),te=Y(Z);if(symbolNeedsDraw(d,te,Z,b)){var ne=d.getItemVisual(Z,"symbol")||"circle",ie=ee&&ee.getSymbolType&&ee.getSymbolType();if(!ee||ie&&ie!==ne)x.remove(ee),(ee=new z(d,Z,W,U)).setPosition(te);else{ee.updateData(d,Z,W,U);var oe={x:te[0],y:te[1]};H?ee.attr(oe):updateProps(ee,oe,T)}x.add(ee),d.setItemGraphicEl(Z,ee)}else x.remove(ee)})).remove((function(d){var b=D.getItemGraphicEl(d);b&&b.fadeOut((function(){x.remove(b)}),T)})).execute(),this._getSymbolPoint=Y,this._data=d},SymbolDraw.prototype.updateLayout=function(){var d=this,b=this._data;b&&b.eachItemGraphicEl((function(b,x){var T=d._getSymbolPoint(x);b.setPosition(T),b.markRedraw()}))},SymbolDraw.prototype.incrementalPrepareUpdate=function(d){this._seriesScope=makeSeriesScope(d),this._data=null,this.group.removeAll()},SymbolDraw.prototype.incrementalUpdate=function(d,b,x){function updateIncrementalAndHover(d){d.isGroup||(d.incremental=!0,d.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],x=normalizeUpdateOpt(x);for(var T=d.start;T<d.end;T++){var D=b.getItemLayout(T);if(symbolNeedsDraw(b,D,T,x)){var z=new this._SymbolCtor(b,T,this._seriesScope);z.traverse(updateIncrementalAndHover),z.setPosition(D),this.group.add(z),b.setItemGraphicEl(T,z),this._progressiveEls.push(z)}}},SymbolDraw.prototype.eachRendered=function(d){traverseElements(this._progressiveEls||this.group,d)},SymbolDraw.prototype.remove=function(d){var b=this.group,x=this._data;x&&d?x.eachItemGraphicEl((function(d){d.fadeOut((function(){b.remove(d)}),x.hostModel)})):b.removeAll()},SymbolDraw}();function prepareDataCoordInfo(d,b,x){var T=d.getBaseAxis(),D=d.getOtherAxis(T),z=function(d,b){var x=0,T=d.scale.getExtent();"start"===b?x=T[0]:"end"===b?x=T[1]:Object(H.z)(b)&&!isNaN(b)?x=b:T[0]>0?x=T[0]:T[1]<0&&(x=T[1]);return x}(D,x),W=T.dim,U=D.dim,Y=b.mapDimension(U),Z=b.mapDimension(W),J="x"===U||"radius"===U?1:0,ee=Object(H.H)(d.dimensions,(function(d){return b.mapDimension(d)})),te=!1,ne=b.getCalculationInfo("stackResultDimension");return isDimensionStacked(b,ee[0])&&(te=!0,ee[0]=ne),isDimensionStacked(b,ee[1])&&(te=!0,ee[1]=ne),{dataDimsForPoint:ee,valueStart:z,valueAxisDim:U,baseAxisDim:W,stacked:!!te,valueDim:Y,baseDim:Z,baseDataOffset:J,stackedOverDimension:b.getCalculationInfo("stackedOverDimension")}}function getStackedOnPoint(d,b,x,T){var D=NaN;d.stacked&&(D=x.get(x.getCalculationInfo("stackedOverDimension"),T)),isNaN(D)&&(D=d.valueStart);var z=d.baseDataOffset,H=[];return H[z]=x.get(d.baseDim,T),H[1-z]=D,b.dataToPoint(H)}var ld="undefined"!=typeof Float32Array,ud=ld?Float32Array:Array;function createFloat32Array(d){return Object(H.t)(d)?ld?new Float32Array(d):d:new ud(d)}var cd=Math.min,dd=Math.max;function isPointNull(d,b){return isNaN(d)||isNaN(b)}function drawSegment(d,b,x,T,D,z,H,W,U){for(var Y,Z,J,ee,te,ne,ie=x,oe=0;oe<T;oe++){var se=b[2*ie],le=b[2*ie+1];if(ie>=D||ie<0)break;if(isPointNull(se,le)){if(U){ie+=z;continue}break}if(ie===x)d[z>0?"moveTo":"lineTo"](se,le),J=se,ee=le;else{var ce=se-Y,de=le-Z;if(ce*ce+de*de<.5){ie+=z;continue}if(H>0){for(var he=ie+z,pe=b[2*he],fe=b[2*he+1];pe===se&&fe===le&&oe<T;)oe++,ie+=z,pe=b[2*(he+=z)],fe=b[2*he+1],ce=(se=b[2*ie])-Y,de=(le=b[2*ie+1])-Z;var ge=oe+1;if(U)for(;isPointNull(pe,fe)&&ge<T;)ge++,pe=b[2*(he+=z)],fe=b[2*he+1];var me=.5,ye=0,ve=0,xe=void 0,_e=void 0;if(ge>=T||isPointNull(pe,fe))te=se,ne=le;else{ye=pe-Y,ve=fe-Z;var we=se-Y,Se=pe-se,Me=le-Z,Te=fe-le,ke=void 0,Pe=void 0;if("x"===W){var Ee=ye>0?1:-1;te=se-Ee*(ke=Math.abs(we))*H,ne=le,xe=se+Ee*(Pe=Math.abs(Se))*H,_e=le}else if("y"===W){var Le=ve>0?1:-1;te=se,ne=le-Le*(ke=Math.abs(Me))*H,xe=se,_e=le+Le*(Pe=Math.abs(Te))*H}else ke=Math.sqrt(we*we+Me*Me),te=se-ye*H*(1-(me=(Pe=Math.sqrt(Se*Se+Te*Te))/(Pe+ke))),ne=le-ve*H*(1-me),_e=le+ve*H*me,xe=cd(xe=se+ye*H*me,dd(pe,se)),_e=cd(_e,dd(fe,le)),xe=dd(xe,cd(pe,se)),ne=le-(ve=(_e=dd(_e,cd(fe,le)))-le)*ke/Pe,te=cd(te=se-(ye=xe-se)*ke/Pe,dd(Y,se)),ne=cd(ne,dd(Z,le)),xe=se+(ye=se-(te=dd(te,cd(Y,se))))*Pe/ke,_e=le+(ve=le-(ne=dd(ne,cd(Z,le))))*Pe/ke}d.bezierCurveTo(J,ee,te,ne,se,le),J=xe,ee=_e}else d.lineTo(se,le)}Y=se,Z=le,ie+=z}return oe}var ECPolylineShape=function(){this.smooth=0,this.smoothConstraint=!0},hd=function(d){function ECPolyline(b){var x=d.call(this,b)||this;return x.type="ec-polyline",x}return __extends(ECPolyline,d),ECPolyline.prototype.getDefaultStyle=function(){return{stroke:Fo.color.neutral99,fill:null}},ECPolyline.prototype.getDefaultShape=function(){return new ECPolylineShape},ECPolyline.prototype.buildPath=function(d,b){var x=b.points,T=0,D=x.length/2;if(b.connectNulls){for(;D>0&&isPointNull(x[2*D-2],x[2*D-1]);D--);for(;T<D&&isPointNull(x[2*T],x[2*T+1]);T++);}for(;T<D;)T+=drawSegment(d,x,T,D,D,1,b.smooth,b.smoothMonotone,b.connectNulls)+1},ECPolyline.prototype.getPointOn=function(d,b){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var x,T,D=this.path.data,z=er.CMD,H="x"===b,W=[],U=0;U<D.length;){var Y=void 0,Z=void 0,J=void 0,ee=void 0,te=void 0,ne=void 0,ie=void 0;switch(D[U++]){case z.M:x=D[U++],T=D[U++];break;case z.L:if(Y=D[U++],Z=D[U++],(ie=H?(d-x)/(Y-x):(d-T)/(Z-T))<=1&&ie>=0){var oe=H?(Z-T)*ie+T:(Y-x)*ie+x;return H?[d,oe]:[oe,d]}x=Y,T=Z;break;case z.C:Y=D[U++],Z=D[U++],J=D[U++],ee=D[U++],te=D[U++],ne=D[U++];var se=H?cubicRootAt(x,Y,J,te,d,W):cubicRootAt(T,Z,ee,ne,d,W);if(se>0)for(var le=0;le<se;le++){var ce=W[le];if(ce<=1&&ce>=0){oe=H?curve_cubicAt(T,Z,ee,ne,ce):curve_cubicAt(x,Y,J,te,ce);return H?[d,oe]:[oe,d]}}x=te,T=ne}}},ECPolyline}(cr),pd=function(d){function ECPolygonShape(){return null!==d&&d.apply(this,arguments)||this}return __extends(ECPolygonShape,d),ECPolygonShape}(ECPolylineShape),fd=function(d){function ECPolygon(b){var x=d.call(this,b)||this;return x.type="ec-polygon",x}return __extends(ECPolygon,d),ECPolygon.prototype.getDefaultShape=function(){return new pd},ECPolygon.prototype.buildPath=function(d,b){var x=b.points,T=b.stackedOnPoints,D=0,z=x.length/2,H=b.smoothMonotone;if(b.connectNulls){for(;z>0&&isPointNull(x[2*z-2],x[2*z-1]);z--);for(;D<z&&isPointNull(x[2*D],x[2*D+1]);D++);}for(;D<z;){var W=drawSegment(d,x,D,z,z,1,b.smooth,H,b.connectNulls);drawSegment(d,T,D+W-1,W,z,-1,b.stackedOnSmooth,H,b.connectNulls),D+=W+1,d.closePath()}},ECPolygon}(cr);function createGridClipPath(d,b,x,T,D){var z=d.getArea(),W=z.x,U=z.y,Y=z.width,Z=z.height,J=x.get(["lineStyle","width"])||0;W-=J/2,U-=J/2,Y+=J,Z+=J,Y=Math.ceil(Y),W!==Math.floor(W)&&(W=Math.floor(W),Y++);var ee=new _r({shape:{x:W,y:U,width:Y,height:Z}});if(b){var te=d.getBaseAxis(),ne=te.isHorizontal(),ie=te.inverse;ne?(ie&&(ee.shape.x+=Y),ee.shape.width=0):(ie||(ee.shape.y+=Z),ee.shape.height=0);var oe=Object(H.w)(D)?function(d){D(d,ee)}:null;initProps(ee,{shape:{width:Y,height:Z,x:W,y:U}},x,null,T,oe)}return ee}function createPolarClipPath(d,b,x){var T=d.getArea(),D=round(T.r0,1),z=round(T.r,1),H=new Ps({shape:{cx:round(d.cx,1),cy:round(d.cy,1),r0:D,r:z,startAngle:T.startAngle,endAngle:T.endAngle,clockwise:T.clockwise}});b&&("angle"===d.getBaseAxis().dim?H.shape.endAngle=T.startAngle:H.shape.r=D,initProps(H,{shape:{endAngle:T.endAngle,r:z}},x));return H}function createClipPath(d,b,x,T,D){return d?"polar"===d.type?createPolarClipPath(d,b,x):"cartesian2d"===d.type?createGridClipPath(d,b,x,T,D):null:null}function isCoordinateSystemType(d,b){return d.type===b}function isPointsSame(d,b){if(d.length===b.length){for(var x=0;x<d.length;x++)if(d[x]!==b[x])return;return!0}}function bboxFromPoints(d){for(var b=1/0,x=1/0,T=-1/0,D=-1/0,z=0;z<d.length;){var H=d[z++],W=d[z++];isNaN(H)||(b=Math.min(H,b),T=Math.max(H,T)),isNaN(W)||(x=Math.min(W,x),D=Math.max(W,D))}return[[b,x],[T,D]]}function getBoundingDiff(d,b){var x=bboxFromPoints(d),T=x[0],D=x[1],z=bboxFromPoints(b),H=z[0],W=z[1];return Math.max(Math.abs(T[0]-H[0]),Math.abs(T[1]-H[1]),Math.abs(D[0]-W[0]),Math.abs(D[1]-W[1]))}function getSmooth(d){return H.z(d)?d:d?.5:0}function turnPointsIntoStep(d,b,x,T,D){var z=x.getBaseAxis(),H="x"===z.dim||"radius"===z.dim?0:1,W=[],U=0,Y=[],Z=[],J=[],ee=[];if(D){for(U=0;U<d.length;U+=2){var te=b||d;isNaN(te[U])||isNaN(te[U+1])||ee.push(d[U],d[U+1])}d=ee}for(U=0;U<d.length-2;U+=2)switch(J[0]=d[U+2],J[1]=d[U+3],Z[0]=d[U],Z[1]=d[U+1],W.push(Z[0],Z[1]),T){case"end":Y[H]=J[H],Y[1-H]=Z[1-H],W.push(Y[0],Y[1]);break;case"middle":var ne=(Z[H]+J[H])/2,ie=[];Y[H]=ie[H]=ne,Y[1-H]=Z[1-H],ie[1-H]=J[1-H],W.push(Y[0],Y[1]),W.push(ie[0],ie[1]);break;default:Y[H]=Z[H],Y[1-H]=J[1-H],W.push(Y[0],Y[1])}return W.push(d[U++],d[U++]),W}function getVisualGradient(d,b,x){var T=d.getVisual("visualMeta");if(T&&T.length&&d.count()&&"cartesian2d"===b.type){for(var D,z,W=T.length-1;W>=0;W--){var U=d.getDimensionInfo(T[W].dimension);if("x"===(D=U&&U.coordDim)||"y"===D){z=T[W];break}}if(z){var Y=b.getAxis(D),Z=H.H(z.stops,(function(d){return{coord:Y.toGlobalCoord(Y.dataToCoord(d.value)),color:d.color}})),J=Z.length,ee=z.outerColors.slice();J&&Z[0].coord>Z[J-1].coord&&(Z.reverse(),ee.reverse());var te=function(d,b){var x,T,D=[],z=d.length;function lerpStop(d,b,x){var T=d.coord,D=(x-T)/(b.coord-T);return{coord:x,color:Object(yt.b)(D,[d.color,b.color])}}for(var H=0;H<z;H++){var W=d[H],U=W.coord;if(U<0)x=W;else{if(U>b){T?D.push(lerpStop(T,W,b)):x&&D.push(lerpStop(x,W,0),lerpStop(x,W,b));break}x&&(D.push(lerpStop(x,W,0)),x=null),D.push(W),T=W}}return D}(Z,"x"===D?x.getWidth():x.getHeight()),ne=te.length;if(!ne&&J)return Z[0].coord<0?ee[1]?ee[1]:Z[J-1].color:ee[0]?ee[0]:Z[0].color;var ie=te[0].coord-10,oe=te[ne-1].coord+10,se=oe-ie;if(se<.001)return"transparent";H.k(te,(function(d){d.offset=(d.coord-ie)/se})),te.push({offset:ne?te[ne-1].offset:.5,color:ee[1]||"transparent"}),te.unshift({offset:ne?te[0].offset:.5,color:ee[0]||"transparent"});var le=new Us(0,0,0,0,te,!0);return le[D]=ie,le[D+"2"]=oe,le}}}function getIsIgnoreFunc(d,b,x){var T=d.get("showAllSymbol"),D="auto"===T;if(!T||D){var z=x.getAxesByScale("ordinal")[0];if(z&&(!D||!function(d,b){var x=d.getExtent(),T=Math.abs(x[1]-x[0])/d.scale.count();isNaN(T)&&(T=0);for(var D=b.count(),z=Math.max(1,Math.round(D/5)),H=0;H<D;H+=z)if(1.5*ad.getSymbolSize(b,H)[d.isHorizontal()?1:0]>T)return!1;return!0}(z,b))){var W=b.mapDimension(z.dim),U={};return H.k(z.getViewLabels(),(function(d){var b=z.scale.getRawOrdinalNumber(d.tickValue);U[b]=1})),function(d){return!U.hasOwnProperty(b.get(W,d))}}}}function getPointAtIndex(d,b){return[d[2*b],d[2*b+1]]}function anyStateShowEndLabel(d){if(d.get(["endLabel","show"]))return!0;for(var b=0;b<Rr.length;b++)if(d.get([Rr[b],"endLabel","show"]))return!0;return!1}function createLineClipPath(d,b,x,T){if(isCoordinateSystemType(b,"cartesian2d")){var D=T.getModel("endLabel"),z=D.get("valueAnimation"),H=T.getData(),W={lastFrameIndex:0},U=anyStateShowEndLabel(T)?function(x,T){d._endLabelOnDuring(x,T,H,W,z,D,b)}:null,Y=b.getBaseAxis().isHorizontal(),Z=createGridClipPath(b,x,T,(function(){var b=d._endLabel;b&&x&&null!=W.originalX&&b.attr({x:W.originalX,y:W.originalY})}),U);if(!T.get("clip",!0)){var J=Z.shape,ee=Math.max(J.width,J.height);Y?(J.y-=ee,J.height+=2*ee):(J.x-=ee,J.width+=2*ee)}return U&&U(1,Z),Z}return createPolarClipPath(b,x,T)}var gd=function(d){function LineView(){return null!==d&&d.apply(this,arguments)||this}return __extends(LineView,d),LineView.prototype.init=function(){var d=new Xn,b=new sd;this.group.add(b.group),this._symbolDraw=b,this._lineGroup=d,this._changePolyState=H.c(this._changePolyState,this)},LineView.prototype.render=function(d,b,x){var T=d.coordinateSystem,D=this.group,z=d.getData(),W=d.getModel("lineStyle"),U=d.getModel("areaStyle"),Y=z.getLayout("points")||[],Z="polar"===T.type,J=this._coordSys,ee=this._symbolDraw,te=this._polyline,ne=this._polygon,ie=this._lineGroup,oe=!b.ssr&&d.get("animation"),se=!U.isEmpty(),le=U.get("origin"),ce=prepareDataCoordInfo(T,z,le),de=se&&function(d,b,x){if(!x.valueDim)return[];for(var T=b.count(),D=createFloat32Array(2*T),z=0;z<T;z++){var H=getStackedOnPoint(x,d,b,z);D[2*z]=H[0],D[2*z+1]=H[1]}return D}(T,z,ce),he=d.get("showSymbol"),pe=d.get("connectNulls"),fe=he&&!Z&&getIsIgnoreFunc(d,z,T),ge=this._data;ge&&ge.eachItemGraphicEl((function(d,b){d.__temp&&(D.remove(d),ge.setItemGraphicEl(b,null))})),he||ee.remove(),D.add(ie);var me,ye=!Z&&d.get("step");T&&T.getArea&&d.get("clip",!0)&&(null!=(me=T.getArea()).width?(me.x-=.1,me.y-=.1,me.width+=.2,me.height+=.2):me.r0&&(me.r0-=.5,me.r+=.5)),this._clipShapeForSymbol=me;var ve=getVisualGradient(z,T,x)||z.getVisual("style")[z.getVisual("drawType")];if(te&&J.type===T.type&&ye===this._step){se&&!ne?ne=this._newPolygon(Y,de):ne&&!se&&(ie.remove(ne),ne=this._polygon=null),Z||this._initOrUpdateEndLabel(d,T,convertToColorString(ve));var xe=ie.getClipPath();if(xe)initProps(xe,{shape:createLineClipPath(this,T,!1,d).shape},d);else ie.setClipPath(createLineClipPath(this,T,!0,d));he&&ee.updateData(z,{isIgnore:fe,clipShape:me,disableAnimation:!0,getSymbolPoint:function(d){return[Y[2*d],Y[2*d+1]]}}),isPointsSame(this._stackedOnPoints,de)&&isPointsSame(this._points,Y)||(oe?this._doUpdateAnimation(z,de,T,x,ye,le,pe):(ye&&(de&&(de=turnPointsIntoStep(de,Y,T,ye,pe)),Y=turnPointsIntoStep(Y,null,T,ye,pe)),te.setShape({points:Y}),ne&&ne.setShape({points:Y,stackedOnPoints:de})))}else he&&ee.updateData(z,{isIgnore:fe,clipShape:me,disableAnimation:!0,getSymbolPoint:function(d){return[Y[2*d],Y[2*d+1]]}}),oe&&this._initSymbolLabelAnimation(z,T,me),ye&&(de&&(de=turnPointsIntoStep(de,Y,T,ye,pe)),Y=turnPointsIntoStep(Y,null,T,ye,pe)),te=this._newPolyline(Y),se?ne=this._newPolygon(Y,de):ne&&(ie.remove(ne),ne=this._polygon=null),Z||this._initOrUpdateEndLabel(d,T,convertToColorString(ve)),ie.setClipPath(createLineClipPath(this,T,!0,d));var _e=d.getModel("emphasis"),we=_e.get("focus"),Se=_e.get("blurScope"),Me=_e.get("disabled");(te.useStyle(H.i(W.getLineStyle(),{fill:"none",stroke:ve,lineJoin:"bevel"})),setStatesStylesFromModel(te,d,"lineStyle"),te.style.lineWidth>0&&"bolder"===d.get(["emphasis","lineStyle","width"]))&&(te.getState("emphasis").style.lineWidth=+te.style.lineWidth+1);Or(te).seriesIndex=d.seriesIndex,toggleHoverEmphasis(te,we,Se,Me);var Te=getSmooth(d.get("smooth")),ke=d.get("smoothMonotone");if(te.setShape({smooth:Te,smoothMonotone:ke,connectNulls:pe}),ne){var Pe=z.getCalculationInfo("stackedOnSeries"),Ee=0;ne.useStyle(H.i(U.getAreaStyle(),{fill:ve,opacity:.7,lineJoin:"bevel",decal:z.getVisual("style").decal})),Pe&&(Ee=getSmooth(Pe.get("smooth"))),ne.setShape({smooth:Te,stackedOnSmooth:Ee,smoothMonotone:ke,connectNulls:pe}),setStatesStylesFromModel(ne,d,"areaStyle"),Or(ne).seriesIndex=d.seriesIndex,toggleHoverEmphasis(ne,we,Se,Me)}var Le=this._changePolyState;z.eachItemGraphicEl((function(d){d&&(d.onHoverStateChange=Le)})),this._polyline.onHoverStateChange=Le,this._data=z,this._coordSys=T,this._stackedOnPoints=de,this._points=Y,this._step=ye,this._valueOrigin=le,d.get("triggerLineEvent")&&(this.packEventData(d,te),ne&&this.packEventData(d,ne))},LineView.prototype.packEventData=function(d,b){Or(b).eventData={componentType:"series",componentSubType:"line",componentIndex:d.componentIndex,seriesIndex:d.seriesIndex,seriesName:d.name,seriesType:"line"}},LineView.prototype.highlight=function(d,b,x,T){var D=d.getData(),z=queryDataIndex(D,T);if(this._changePolyState("emphasis"),!(z instanceof Array)&&null!=z&&z>=0){var H=D.getLayout("points"),W=D.getItemGraphicEl(z);if(!W){var U=H[2*z],Y=H[2*z+1];if(isNaN(U)||isNaN(Y))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(U,Y))return;var Z=d.get("zlevel")||0,J=d.get("z")||0;(W=new ad(D,z)).x=U,W.y=Y,W.setZ(Z,J);var ee=W.getSymbolPath().getTextContent();ee&&(ee.zlevel=Z,ee.z=J,ee.z2=this._polyline.z2+1),W.__temp=!0,D.setItemGraphicEl(z,W),W.stopSymbolAnimation(!0),this.group.add(W)}W.highlight()}else gl.prototype.highlight.call(this,d,b,x,T)},LineView.prototype.downplay=function(d,b,x,T){var D=d.getData(),z=queryDataIndex(D,T);if(this._changePolyState("normal"),null!=z&&z>=0){var H=D.getItemGraphicEl(z);H&&(H.__temp?(D.setItemGraphicEl(z,null),this.group.remove(H)):H.downplay())}else gl.prototype.downplay.call(this,d,b,x,T)},LineView.prototype._changePolyState=function(d){var b=this._polygon;setStatesFlag(this._polyline,d),b&&setStatesFlag(b,d)},LineView.prototype._newPolyline=function(d){var b=this._polyline;return b&&this._lineGroup.remove(b),b=new hd({shape:{points:d},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(b),this._polyline=b,b},LineView.prototype._newPolygon=function(d,b){var x=this._polygon;return x&&this._lineGroup.remove(x),x=new fd({shape:{points:d,stackedOnPoints:b},segmentIgnoreThreshold:2}),this._lineGroup.add(x),this._polygon=x,x},LineView.prototype._initSymbolLabelAnimation=function(d,b,x){var T,D,z=b.getBaseAxis(),W=z.inverse;"cartesian2d"===b.type?(T=z.isHorizontal(),D=!1):"polar"===b.type&&(T="angle"===z.dim,D=!0);var U=d.hostModel,Y=U.get("animationDuration");H.w(Y)&&(Y=Y(null));var Z=U.get("animationDelay")||0,J=H.w(Z)?Z(null):Z;d.eachItemGraphicEl((function(d,z){var U=d;if(U){var ee=[d.x,d.y],te=void 0,ne=void 0,ie=void 0;if(x)if(D){var oe=x,se=b.pointToCoord(ee);T?(te=oe.startAngle,ne=oe.endAngle,ie=-se[1]/180*Math.PI):(te=oe.r0,ne=oe.r,ie=se[0])}else{var le=x;T?(te=le.x,ne=le.x+le.width,ie=d.x):(te=le.y+le.height,ne=le.y,ie=d.y)}var ce=ne===te?0:(ie-te)/(ne-te);W&&(ce=1-ce);var de=H.w(Z)?Z(z):Y*ce+J,he=U.getSymbolPath(),pe=he.getTextContent();U.attr({scaleX:0,scaleY:0}),U.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:de}),pe&&pe.animateFrom({style:{opacity:0}},{duration:300,delay:de}),he.disableLabelAnimation=!0}}))},LineView.prototype._initOrUpdateEndLabel=function(d,b,x){var T=d.getModel("endLabel");if(anyStateShowEndLabel(d)){var D=d.getData(),z=this._polyline,H=D.getLayout("points");if(!H)return z.removeTextContent(),void(this._endLabel=null);var W=this._endLabel;W||((W=this._endLabel=new Pr({z2:200})).ignoreClip=!0,z.setTextContent(this._endLabel),z.disableLabelAnimation=!0);var U=function(d){for(var b,x,T=d.length/2;T>0&&(b=d[2*T-2],x=d[2*T-1],isNaN(b)||isNaN(x));T--);return T-1}(H);U>=0&&(setLabelStyle(z,getLabelStatesModels(d,"endLabel"),{inheritColor:x,labelFetcher:d,labelDataIndex:U,defaultText:function(d,b,x){return null!=x?getDefaultInterpolatedLabel(D,x):getDefaultLabel(D,d)},enableTextSetter:!0},function(d,b){var x=b.getBaseAxis(),T=x.isHorizontal(),D=x.inverse,z=T?D?"right":"left":"center",H=T?"middle":D?"top":"bottom";return{normal:{align:d.get("align")||z,verticalAlign:d.get("verticalAlign")||H}}}(T,b)),z.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},LineView.prototype._endLabelOnDuring=function(d,b,x,T,D,z,H){var W=this._endLabel,U=this._polyline;if(W){d<1&&null==T.originalX&&(T.originalX=W.x,T.originalY=W.y);var Y=x.getLayout("points"),Z=x.hostModel,J=Z.get("connectNulls"),ee=z.get("precision"),te=z.get("distance")||0,ne=H.getBaseAxis(),ie=ne.isHorizontal(),oe=ne.inverse,se=b.shape,le=oe?ie?se.x:se.y+se.height:ie?se.x+se.width:se.y,ce=(ie?te:0)*(oe?-1:1),de=(ie?0:-te)*(oe?-1:1),he=ie?"x":"y",pe=function(d,b,x){for(var T,D,z=d.length/2,H="x"===x?0:1,W=0,U=-1,Y=0;Y<z;Y++)if(D=d[2*Y+H],!isNaN(D)&&!isNaN(d[2*Y+1-H]))if(0!==Y){if(T<=b&&D>=b||T>=b&&D<=b){U=Y;break}W=Y,T=D}else T=D;return{range:[W,U],t:(b-T)/(D-T)}}(Y,le,he),fe=pe.range,ge=fe[1]-fe[0],me=void 0;if(ge>=1){if(ge>1&&!J){var ye=getPointAtIndex(Y,fe[0]);W.attr({x:ye[0]+ce,y:ye[1]+de}),D&&(me=Z.getRawValue(fe[0]))}else{(ye=U.getPointOn(le,he))&&W.attr({x:ye[0]+ce,y:ye[1]+de});var ve=Z.getRawValue(fe[0]),xe=Z.getRawValue(fe[1]);D&&(me=interpolateRawValues(x,ee,ve,xe,pe.t))}T.lastFrameIndex=fe[0]}else{var _e=1===d||T.lastFrameIndex>0?fe[0]:0;ye=getPointAtIndex(Y,_e);D&&(me=Z.getRawValue(_e)),W.attr({x:ye[0]+ce,y:ye[1]+de})}if(D){var we=$r(W);"function"==typeof we.setLabelText&&we.setLabelText(me)}}},LineView.prototype._doUpdateAnimation=function(d,b,x,T,D,z,H){var W=this._polyline,U=this._polygon,Y=d.hostModel,Z=function(d,b,x,T,D,z,H,W){for(var U=function(d,b){var x=[];return b.diff(d).add((function(d){x.push({cmd:"+",idx:d})})).update((function(d,b){x.push({cmd:"=",idx:b,idx1:d})})).remove((function(d){x.push({cmd:"-",idx:d})})).execute(),x}(d,b),Y=[],Z=[],J=[],ee=[],te=[],ne=[],ie=[],oe=prepareDataCoordInfo(D,b,H),se=d.getLayout("points")||[],le=b.getLayout("points")||[],ce=0;ce<U.length;ce++){var de=U[ce],he=!0,pe=void 0,fe=void 0;switch(de.cmd){case"=":pe=2*de.idx,fe=2*de.idx1;var ge=se[pe],me=se[pe+1],ye=le[fe],ve=le[fe+1];(isNaN(ge)||isNaN(me))&&(ge=ye,me=ve),Y.push(ge,me),Z.push(ye,ve),J.push(x[pe],x[pe+1]),ee.push(T[fe],T[fe+1]),ie.push(b.getRawIndex(de.idx1));break;case"+":var xe=de.idx,_e=oe.dataDimsForPoint,we=D.dataToPoint([b.get(_e[0],xe),b.get(_e[1],xe)]);fe=2*xe,Y.push(we[0],we[1]),Z.push(le[fe],le[fe+1]);var Se=getStackedOnPoint(oe,D,b,xe);J.push(Se[0],Se[1]),ee.push(T[fe],T[fe+1]),ie.push(b.getRawIndex(xe));break;case"-":he=!1}he&&(te.push(de),ne.push(ne.length))}ne.sort((function(d,b){return ie[d]-ie[b]}));var Me=Y.length,Te=createFloat32Array(Me),ke=createFloat32Array(Me),Pe=createFloat32Array(Me),Ee=createFloat32Array(Me),Le=[];for(ce=0;ce<ne.length;ce++){var Ne=ne[ce],Ve=2*ce,Fe=2*Ne;Te[Ve]=Y[Fe],Te[Ve+1]=Y[Fe+1],ke[Ve]=Z[Fe],ke[Ve+1]=Z[Fe+1],Pe[Ve]=J[Fe],Pe[Ve+1]=J[Fe+1],Ee[Ve]=ee[Fe],Ee[Ve+1]=ee[Fe+1],Le[ce]=te[Ne]}return{current:Te,next:ke,stackedOnCurrent:Pe,stackedOnNext:Ee,status:Le}}(this._data,d,this._stackedOnPoints,b,this._coordSys,0,this._valueOrigin),J=Z.current,ee=Z.stackedOnCurrent,te=Z.next,ne=Z.stackedOnNext;if(D&&(ee=turnPointsIntoStep(Z.stackedOnCurrent,Z.current,x,D,H),J=turnPointsIntoStep(Z.current,null,x,D,H),ne=turnPointsIntoStep(Z.stackedOnNext,Z.next,x,D,H),te=turnPointsIntoStep(Z.next,null,x,D,H)),getBoundingDiff(J,te)>3e3||U&&getBoundingDiff(ee,ne)>3e3)return W.stopAnimation(),W.setShape({points:te}),void(U&&(U.stopAnimation(),U.setShape({points:te,stackedOnPoints:ne})));W.shape.__points=Z.current,W.shape.points=J;var ie={shape:{points:te}};Z.current!==J&&(ie.shape.__points=Z.next),W.stopAnimation(),updateProps(W,ie,Y),U&&(U.setShape({points:J,stackedOnPoints:ee}),U.stopAnimation(),updateProps(U,{shape:{stackedOnPoints:ne}},Y),W.shape.points!==U.shape.points&&(U.shape.points=W.shape.points));for(var oe=[],se=Z.status,le=0;le<se.length;le++){if("="===se[le].cmd){var ce=d.getItemGraphicEl(se[le].idx1);ce&&oe.push({el:ce,ptIdx:le})}}W.animators&&W.animators.length&&W.animators[0].during((function(){U&&U.dirtyShape();for(var d=W.shape.__points,b=0;b<oe.length;b++){var x=oe[b].el,T=2*oe[b].ptIdx;x.x=d[T],x.y=d[T+1],x.markRedraw()}}))},LineView.prototype.remove=function(d){var b=this.group,x=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),x&&x.eachItemGraphicEl((function(d,T){d.__temp&&(b.remove(d),x.setItemGraphicEl(T,null))})),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},LineView.type="line",LineView}(gl);function pointsLayout(d,b){return{seriesType:d,plan:createRenderPlanner(),reset:function(d){var x=d.getData(),T=d.coordinateSystem,D=d.pipelineContext,z=b||D.large;if(T){var W=Object(H.H)(T.dimensions,(function(d){return x.mapDimension(d)})).slice(0,2),U=W.length,Y=x.getCalculationInfo("stackResultDimension");isDimensionStacked(x,W[0])&&(W[0]=Y),isDimensionStacked(x,W[1])&&(W[1]=Y);var Z=x.getStore(),J=x.getDimensionIndex(W[0]),ee=x.getDimensionIndex(W[1]);return U&&{progress:function(d,b){for(var x=d.end-d.start,D=z&&createFloat32Array(x*U),H=[],W=[],Y=d.start,te=0;Y<d.end;Y++){var ne=void 0;if(1===U){var ie=Z.get(J,Y);ne=T.dataToPoint(ie,null,W)}else H[0]=Z.get(J,Y),H[1]=Z.get(ee,Y),ne=T.dataToPoint(H,null,W);z?(D[te++]=ne[0],D[te++]=ne[1]):b.setItemLayout(Y,ne.slice())}z&&b.setLayout("points",D)}}}}}}var md={average:function(d){for(var b=0,x=0,T=0;T<d.length;T++)isNaN(d[T])||(b+=d[T],x++);return 0===x?NaN:b/x},sum:function(d){for(var b=0,x=0;x<d.length;x++)b+=d[x]||0;return b},max:function(d){for(var b=-1/0,x=0;x<d.length;x++)d[x]>b&&(b=d[x]);return isFinite(b)?b:NaN},min:function(d){for(var b=1/0,x=0;x<d.length;x++)d[x]<b&&(b=d[x]);return isFinite(b)?b:NaN},nearest:function(d){return d[0]}},indexSampler=function(d){return Math.round(d.length/2)};function dataSample(d){return{seriesType:d,reset:function(d,b,x){var T=d.getData(),D=d.get("sampling"),z=d.coordinateSystem,W=T.count();if(W>10&&"cartesian2d"===z.type&&D){var U=z.getBaseAxis(),Y=z.getOtherAxis(U),Z=U.getExtent(),J=x.getDevicePixelRatio(),ee=Math.abs(Z[1]-Z[0])*(J||1),te=Math.round(W/ee);if(isFinite(te)&&te>1){"lttb"===D?d.setData(T.lttbDownSample(T.mapDimension(Y.dim),1/te)):"minmax"===D&&d.setData(T.minmaxDownSample(T.mapDimension(Y.dim),1/te));var ne=void 0;Object(H.C)(D)?ne=md[D]:Object(H.w)(D)&&(ne=D),ne&&d.setData(T.downSample(T.mapDimension(Y.dim),1/te,ne,indexSampler))}}}}}function getSeriesStackId(d){return d.get("stack")||"__ec_stack_"+d.seriesIndex}function getAxisKey(d){return d.dim+d.index}function prepareLayoutBarSeries(d,b){var x=[];return b.eachSeriesByType(d,(function(d){isOnCartesian(d)&&x.push(d)})),x}function makeColumnLayout(d){var b=function(d){var b={};Object(H.k)(d,(function(d){var x=d.coordinateSystem.getBaseAxis();if("time"===x.type||"value"===x.type)for(var T=d.getData(),D=x.dim+"_"+x.index,z=T.getDimensionIndex(T.mapDimension(x.dim)),H=T.getStore(),W=0,U=H.count();W<U;++W){var Y=H.get(z,W);b[D]?b[D].push(Y):b[D]=[Y]}}));var x={};for(var T in b)if(b.hasOwnProperty(T)){var D=b[T];if(D){D.sort((function(d,b){return d-b}));for(var z=null,W=1;W<D.length;++W){var U=D[W]-D[W-1];U>0&&(z=null===z?U:Math.min(z,U))}x[T]=z}}return x}(d),x=[];return Object(H.k)(d,(function(d){var T,D=d.coordinateSystem.getBaseAxis(),z=D.getExtent();if("category"===D.type)T=D.getBandWidth();else if("value"===D.type||"time"===D.type){var H=D.dim+"_"+D.index,W=b[H],U=Math.abs(z[1]-z[0]),Y=D.scale.getExtent(),Z=Math.abs(Y[1]-Y[0]);T=W?U/Z*W:U}else{var J=d.getData();T=Math.abs(z[1]-z[0])/J.count()}var ee=number_parsePercent(d.get("barWidth"),T),te=number_parsePercent(d.get("barMaxWidth"),T),ne=number_parsePercent(d.get("barMinWidth")||(isInLargeMode(d)?.5:1),T),ie=d.get("barGap"),oe=d.get("barCategoryGap"),se=d.get("defaultBarGap");x.push({bandWidth:T,barWidth:ee,barMaxWidth:te,barMinWidth:ne,barGap:ie,barCategoryGap:oe,defaultBarGap:se,axisKey:getAxisKey(D),stackId:getSeriesStackId(d)})})),doCalBarWidthAndOffset(x)}function doCalBarWidthAndOffset(d){var b={};Object(H.k)(d,(function(d,x){var T=d.axisKey,D=d.bandWidth,z=b[T]||{bandWidth:D,remainedWidth:D,autoWidthCount:0,categoryGap:null,gap:d.defaultBarGap||0,stacks:{}},H=z.stacks;b[T]=z;var W=d.stackId;H[W]||z.autoWidthCount++,H[W]=H[W]||{width:0,maxWidth:0};var U=d.barWidth;U&&!H[W].width&&(H[W].width=U,U=Math.min(z.remainedWidth,U),z.remainedWidth-=U);var Y=d.barMaxWidth;Y&&(H[W].maxWidth=Y);var Z=d.barMinWidth;Z&&(H[W].minWidth=Z);var J=d.barGap;null!=J&&(z.gap=J);var ee=d.barCategoryGap;null!=ee&&(z.categoryGap=ee)}));var x={};return Object(H.k)(b,(function(d,b){x[b]={};var T=d.stacks,D=d.bandWidth,z=d.categoryGap;if(null==z){var W=Object(H.F)(T).length;z=Math.max(35-4*W,15)+"%"}var U=number_parsePercent(z,D),Y=number_parsePercent(d.gap,1),Z=d.remainedWidth,J=d.autoWidthCount,ee=(Z-U)/(J+(J-1)*Y);ee=Math.max(ee,0),Object(H.k)(T,(function(d){var b=d.maxWidth,x=d.minWidth;if(d.width){T=d.width;b&&(T=Math.min(T,b)),x&&(T=Math.max(T,x)),d.width=T,Z-=T+Y*T,J--}else{var T=ee;b&&b<T&&(T=Math.min(b,Z)),x&&x>T&&(T=x),T!==ee&&(d.width=T,Z-=T+Y*T,J--)}})),ee=(Z-U)/(J+(J-1)*Y),ee=Math.max(ee,0);var te,ne=0;Object(H.k)(T,(function(d,b){d.width||(d.width=ee),te=d,ne+=d.width*(1+Y)})),te&&(ne-=te.width*Y);var ie=-ne/2;Object(H.k)(T,(function(d,T){x[b][T]=x[b][T]||{bandWidth:D,offset:ie,width:d.width},ie+=d.width*(1+Y)}))})),x}function barGrid_layout(d,b){var x=prepareLayoutBarSeries(d,b),T=makeColumnLayout(x);Object(H.k)(x,(function(d){var b=d.getData(),x=d.coordinateSystem.getBaseAxis(),D=getSeriesStackId(d),z=T[getAxisKey(x)][D],H=z.offset,W=z.width;b.setLayout({bandWidth:z.bandWidth,offset:H,size:W})}))}function createProgressiveLayout(d){return{seriesType:d,plan:createRenderPlanner(),reset:function(d){if(isOnCartesian(d)){var b=d.getData(),x=d.coordinateSystem,T=x.getBaseAxis(),D=x.getOtherAxis(T),z=b.getDimensionIndex(b.mapDimension(D.dim)),H=b.getDimensionIndex(b.mapDimension(T.dim)),W=d.get("showBackground",!0),U=b.mapDimension(D.dim),Y=b.getCalculationInfo("stackResultDimension"),Z=isDimensionStacked(b,U)&&!!b.getCalculationInfo("stackedOnSeries"),J=D.isHorizontal(),ee=function(d,b){var x=b.model.get("startValue");x||(x=0);return b.toGlobalCoord(b.dataToCoord("log"===b.type?x>0?x:1:x))}(0,D),te=isInLargeMode(d),ne=d.get("barMinHeight")||0,ie=Y&&b.getDimensionIndex(Y),oe=b.getLayout("size"),se=b.getLayout("offset");return{progress:function(d,b){for(var T,D=d.count,U=te&&createFloat32Array(3*D),Y=te&&W&&createFloat32Array(3*D),le=te&&createFloat32Array(D),ce=x.master.getRect(),de=J?ce.width:ce.height,he=b.getStore(),pe=0;null!=(T=d.next());){var fe=he.get(Z?ie:z,T),ge=he.get(H,T),me=ee,ye=void 0;Z&&(ye=+fe-he.get(z,T));var ve=void 0,xe=void 0,_e=void 0,we=void 0;if(J){var Se=x.dataToPoint([fe,ge]);if(Z)me=x.dataToPoint([ye,ge])[0];ve=me,xe=Se[1]+se,_e=Se[0]-me,we=oe,Math.abs(_e)<ne&&(_e=(_e<0?-1:1)*ne)}else{Se=x.dataToPoint([ge,fe]);if(Z)me=x.dataToPoint([ge,ye])[1];ve=Se[0]+se,xe=me,_e=oe,we=Se[1]-me,Math.abs(we)<ne&&(we=(we<=0?-1:1)*ne)}te?(U[pe]=ve,U[pe+1]=xe,U[pe+2]=J?_e:we,Y&&(Y[pe]=J?ce.x:ve,Y[pe+1]=J?xe:ce.y,Y[pe+2]=de),le[T]=T):b.setItemLayout(T,{x:ve,y:xe,width:_e,height:we}),pe+=3}te&&b.setLayout({largePoints:U,largeDataIndices:le,largeBackgroundPoints:Y,valueAxisHorizontal:J})}}}}}}function isOnCartesian(d){return d.coordinateSystem&&"cartesian2d"===d.coordinateSystem.type}function isInLargeMode(d){return d.pipelineContext&&d.pipelineContext.large}var yd=function(d){function BaseBarSeriesModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=BaseBarSeriesModel.type,b}return __extends(BaseBarSeriesModel,d),BaseBarSeriesModel.prototype.getInitialData=function(d,b){return helper_createSeriesData(null,this,{useEncodeDefaulter:!0})},BaseBarSeriesModel.prototype.getMarkerPosition=function(d,b,x){var T=this.coordinateSystem;if(T&&T.clampData){var D=T.clampData(d),z=T.dataToPoint(D);if(x)Object(H.k)(T.getAxes(),(function(d,x){if("category"===d.type&&null!=b){var T=d.getTicksCoords(),H=d.getTickModel().get("alignWithLabel"),W=D[x],U="x1"===b[x]||"y1"===b[x];if(U&&!H&&(W+=1),T.length<2)return;if(2===T.length)return void(z[x]=d.toGlobalCoord(d.getExtent()[U?1:0]));for(var Y=void 0,Z=void 0,J=1,ee=0;ee<T.length;ee++){var te=T[ee].coord,ne=ee===T.length-1?T[ee-1].tickValue+J:T[ee].tickValue;if(ne===W){Z=te;break}if(ne<W)Y=te;else if(null!=Y&&ne>W){Z=(te+Y)/2;break}1===ee&&(J=ne-T[0].tickValue)}null==Z&&(Y?Y&&(Z=T[T.length-1].coord):Z=T[0].coord),z[x]=d.toGlobalCoord(Z)}}));else{var W=this.getData(),U=W.getLayout("offset"),Y=W.getLayout("size"),Z=T.getBaseAxis().isHorizontal()?0:1;z[Z]+=U+Y/2}return z}return[NaN,NaN]},BaseBarSeriesModel.type="series.__base_bar__",BaseBarSeriesModel.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod",defaultBarGap:"10%"},BaseBarSeriesModel}(es);es.registerClass(yd);var vd=yd,bd=function(d){function BarSeriesModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=BarSeriesModel.type,b}return __extends(BarSeriesModel,d),BarSeriesModel.prototype.getInitialData=function(){return helper_createSeriesData(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},BarSeriesModel.prototype.getProgressive=function(){return!!this.get("large")&&this.get("progressive")},BarSeriesModel.prototype.getProgressiveThreshold=function(){var d=this.get("progressiveThreshold"),b=this.get("largeThreshold");return b>d&&(d=b),d},BarSeriesModel.prototype.brushSelector=function(d,b,x){return x.rect(b.getItemLayout(d))},BarSeriesModel.type="series.bar",BarSeriesModel.dependencies=["grid","polar"],BarSeriesModel.defaultOption=inheritDefaultOption(vd.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:Fo.color.primary,borderWidth:2}},realtimeSort:!1}),BarSeriesModel}(vd),SausageShape=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},xd=function(d){function SausagePath(b){var x=d.call(this,b)||this;return x.type="sausage",x}return __extends(SausagePath,d),SausagePath.prototype.getDefaultShape=function(){return new SausageShape},SausagePath.prototype.buildPath=function(d,b){var x=b.cx,T=b.cy,D=Math.max(b.r0||0,0),z=Math.max(b.r,0),H=.5*(z-D),W=D+H,U=b.startAngle,Y=b.endAngle,Z=b.clockwise,J=2*Math.PI,ee=Z?Y-U<J:U-Y<J;ee||(U=Y-(Z?J:-J));var te=Math.cos(U),ne=Math.sin(U),ie=Math.cos(Y),oe=Math.sin(Y);ee?(d.moveTo(te*D+x,ne*D+T),d.arc(te*W+x,ne*W+T,H,-Math.PI+U,U,!Z)):d.moveTo(te*z+x,ne*z+T),d.arc(x,T,z,U,Y,!Z),d.arc(ie*W+x,oe*W+T,H,Y-2*Math.PI,Y-Math.PI,!Z),0!==D&&d.arc(x,T,D,Y,U,Z)},SausagePath}(cr);function adjustAngleDistanceX(d,b,x){return b*Math.sin(d)*(x?-1:1)}function adjustAngleDistanceY(d,b,x){return b*Math.cos(d)*(x?1:-1)}function getSectorCornerRadius(d,b,x){var T=d.get("borderRadius");if(null==T)return x?{cornerRadius:0}:null;Object(H.t)(T)||(T=[T,T,T,T]);var D=Math.abs(b.r||0-b.r0||0);return{cornerRadius:Object(H.H)(T,(function(d){return parsePercent(d,D)}))}}var _d=Math.max,wd=Math.min;var Sd=function(d){function BarView(){var b=d.call(this)||this;return b.type=BarView.type,b._isFirstFrame=!0,b}return __extends(BarView,d),BarView.prototype.render=function(d,b,x,T){this._model=d,this._removeOnRenderedListener(x),this._updateDrawMode(d);var D=d.get("coordinateSystem");("cartesian2d"===D||"polar"===D)&&(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(d,b,x):this._renderNormal(d,b,x,T))},BarView.prototype.incrementalPrepareRender=function(d){this._clear(),this._updateDrawMode(d),this._updateLargeClip(d)},BarView.prototype.incrementalRender=function(d,b){this._progressiveEls=[],this._incrementalRenderLarge(d,b)},BarView.prototype.eachRendered=function(d){traverseElements(this._progressiveEls||this.group,d)},BarView.prototype._updateDrawMode=function(d){var b=d.pipelineContext.large;null!=this._isLargeDraw&&b===this._isLargeDraw||(this._isLargeDraw=b,this._clear())},BarView.prototype._renderNormal=function(d,b,x,T){var D,z=this.group,H=d.getData(),W=this._data,U=d.coordinateSystem,Y=U.getBaseAxis();"cartesian2d"===U.type?D=Y.isHorizontal():"polar"===U.type&&(D="angle"===Y.dim);var Z=d.isAnimationEnabled()?d:null,J=function(d,b){var x=d.get("realtimeSort",!0),T=b.getBaseAxis();0;if(x&&"category"===T.type&&"cartesian2d"===b.type)return{baseAxis:T,otherAxis:b.getOtherAxis(T)}}(d,U);J&&this._enableRealtimeSort(J,H,x);var ee=d.get("clip",!0)||J,te=function(d,b){var x=d.getArea&&d.getArea();if(isCoordinateSystemType(d,"cartesian2d")){var T=d.getBaseAxis();if("category"!==T.type||!T.onBand){var D=b.getLayout("bandWidth");T.isHorizontal()?(x.x-=D,x.width+=2*D):(x.y-=D,x.height+=2*D)}}return x}(U,H);z.removeClipPath();var ne=d.get("roundCap",!0),ie=d.get("showBackground",!0),oe=d.getModel("backgroundStyle"),se=oe.get("borderRadius")||0,le=[],ce=this._backgroundEls,de=T&&T.isInitSort,he=T&&"changeAxisOrder"===T.type;function createBackground(d){var b=Pd[U.type](H,d);if(!b)return null;var x=function(d,b,x){return new("polar"===d.type?Ps:_r)({shape:createBackgroundShape(b,x,d),silent:!0,z2:0})}(U,D,b);return x.useStyle(oe.getItemStyle()),"cartesian2d"===U.type?x.setShape("r",se):x.setShape("cornerRadius",se),le[d]=x,x}H.diff(W).add((function(b){var x=H.getItemModel(b),T=Pd[U.type](H,b,x);if(T&&(ie&&createBackground(b),H.hasValue(b)&&Ad[U.type](T))){var W=!1;ee&&(W=Md[U.type](te,T));var oe=Cd[U.type](d,H,b,T,D,Z,Y.model,!1,ne);J&&(oe.forceLabelAnimation=!0),updateStyle(oe,H,b,x,T,d,D,"polar"===U.type),de?oe.attr({shape:T}):J?updateRealtimeAnimation(J,Z,oe,T,b,D,!1,!1):initProps(oe,{shape:T},d,b),H.setItemGraphicEl(b,oe),z.add(oe),oe.ignore=W}})).update((function(b,x){var T=H.getItemModel(b),pe=Pd[U.type](H,b,T);if(pe){if(ie){var fe=void 0;0===ce.length?fe=createBackground(x):((fe=ce[x]).useStyle(oe.getItemStyle()),"cartesian2d"===U.type?fe.setShape("r",se):fe.setShape("cornerRadius",se),le[b]=fe);var ge=Pd[U.type](H,b);updateProps(fe,{shape:createBackgroundShape(D,ge,U)},Z,b)}var me=W.getItemGraphicEl(x);if(H.hasValue(b)&&Ad[U.type](pe)){var ye=!1;if(ee&&(ye=Md[U.type](te,pe))&&z.remove(me),me&&("sector"===me.type&&ne||"sausage"===me.type&&!ne)&&(me&&removeElementWithFadeOut(me,d,x),me=null),me?saveOldStyle(me):me=Cd[U.type](d,H,b,pe,D,Z,Y.model,!0,ne),J&&(me.forceLabelAnimation=!0),he){var ve=me.getTextContent();if(ve){var xe=$r(ve);null!=xe.prevValue&&(xe.prevValue=xe.value)}}else updateStyle(me,H,b,T,pe,d,D,"polar"===U.type);de?me.attr({shape:pe}):J?updateRealtimeAnimation(J,Z,me,pe,b,D,!0,he):updateProps(me,{shape:pe},d,b,null),H.setItemGraphicEl(b,me),me.ignore=ye,z.add(me)}else z.remove(me)}})).remove((function(b){var x=W.getItemGraphicEl(b);x&&removeElementWithFadeOut(x,d,b)})).execute();var pe=this._backgroundGroup||(this._backgroundGroup=new Xn);pe.removeAll();for(var fe=0;fe<le.length;++fe)pe.add(le[fe]);z.add(pe),this._backgroundEls=le,this._data=H},BarView.prototype._renderLarge=function(d,b,x){this._clear(),createLarge(d,this.group),this._updateLargeClip(d)},BarView.prototype._incrementalRenderLarge=function(d,b){this._removeBackground(),createLarge(b,this.group,this._progressiveEls,!0)},BarView.prototype._updateLargeClip=function(d){var b=d.get("clip",!0)&&createClipPath(d.coordinateSystem,!1,d),x=this.group;b?x.setClipPath(b):x.removeClipPath()},BarView.prototype._enableRealtimeSort=function(d,b,x){var T=this;if(b.count()){var D=d.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(b,d,x),this._isFirstFrame=!1;else{var orderMapping_1=function(d){var x=b.getItemGraphicEl(d),T=x&&x.shape;return T&&Math.abs(D.isHorizontal()?T.height:T.width)||0};this._onRendered=function(){T._updateSortWithinSameData(b,orderMapping_1,D,x)},x.getZr().on("rendered",this._onRendered)}}},BarView.prototype._dataSort=function(d,b,x){var T=[];return d.each(d.mapDimension(b.dim),(function(d,b){var D=x(b);D=null==D?NaN:D,T.push({dataIndex:b,mappedValue:D,ordinalNumber:d})})),T.sort((function(d,b){return b.mappedValue-d.mappedValue})),{ordinalNumbers:Object(H.H)(T,(function(d){return d.ordinalNumber}))}},BarView.prototype._isOrderChangedWithinSameData=function(d,b,x){for(var T=x.scale,D=d.mapDimension(x.dim),z=Number.MAX_VALUE,H=0,W=T.getOrdinalMeta().categories.length;H<W;++H){var U=d.rawIndexOf(D,T.getRawOrdinalNumber(H)),Y=U<0?Number.MIN_VALUE:b(d.indexOfRawIndex(U));if(Y>z)return!0;z=Y}return!1},BarView.prototype._isOrderDifferentInView=function(d,b){for(var x=b.scale,T=x.getExtent(),D=Math.max(0,T[0]),z=Math.min(T[1],x.getOrdinalMeta().categories.length-1);D<=z;++D)if(d.ordinalNumbers[D]!==x.getRawOrdinalNumber(D))return!0},BarView.prototype._updateSortWithinSameData=function(d,b,x,T){if(this._isOrderChangedWithinSameData(d,b,x)){var D=this._dataSort(d,x,b);this._isOrderDifferentInView(D,x)&&(this._removeOnRenderedListener(T),T.dispatchAction({type:"changeAxisOrder",componentType:x.dim+"Axis",axisId:x.index,sortInfo:D}))}},BarView.prototype._dispatchInitSort=function(d,b,x){var T=b.baseAxis,D=this._dataSort(d,T,(function(x){return d.get(d.mapDimension(b.otherAxis.dim),x)}));x.dispatchAction({type:"changeAxisOrder",componentType:T.dim+"Axis",isInitSort:!0,axisId:T.index,sortInfo:D})},BarView.prototype.remove=function(d,b){this._clear(this._model),this._removeOnRenderedListener(b)},BarView.prototype.dispose=function(d,b){this._removeOnRenderedListener(b)},BarView.prototype._removeOnRenderedListener=function(d){this._onRendered&&(d.getZr().off("rendered",this._onRendered),this._onRendered=null)},BarView.prototype._clear=function(d){var b=this.group,x=this._data;d&&d.isAnimationEnabled()&&x&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],x.eachItemGraphicEl((function(b){removeElementWithFadeOut(b,d,Or(b).dataIndex)}))):b.removeAll(),this._data=null,this._isFirstFrame=!0},BarView.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},BarView.type="bar",BarView}(gl),Md={cartesian2d:function(d,b){var x=b.width<0?-1:1,T=b.height<0?-1:1;x<0&&(b.x+=b.width,b.width=-b.width),T<0&&(b.y+=b.height,b.height=-b.height);var D=d.x+d.width,z=d.y+d.height,H=_d(b.x,d.x),W=wd(b.x+b.width,D),U=_d(b.y,d.y),Y=wd(b.y+b.height,z),Z=W<H,J=Y<U;return b.x=Z&&H>D?W:H,b.y=J&&U>z?Y:U,b.width=Z?0:W-H,b.height=J?0:Y-U,x<0&&(b.x+=b.width,b.width=-b.width),T<0&&(b.y+=b.height,b.height=-b.height),Z||J},polar:function(d,b){var x=b.r0<=b.r?1:-1;if(x<0){var T=b.r;b.r=b.r0,b.r0=T}var D=wd(b.r,d.r),z=_d(b.r0,d.r0);b.r=D,b.r0=z;var H=D-z<0;if(x<0){T=b.r;b.r=b.r0,b.r0=T}return H}},Cd={cartesian2d:function(d,b,x,T,D,z,W,U,Y){var Z=new _r({shape:Object(H.m)({},T),z2:1});(Z.__dataIndex=x,Z.name="item",z)&&(Z.shape[D?"height":"width"]=0);return Z},polar:function(d,b,x,T,D,z,H,W,U){var Y=!D&&U?xd:Ps,Z=new Y({shape:T,z2:1});Z.name="item";var J,ee,te=createPolarPositionMapping(D);if(Z.calculateTextPosition=(J=te,ee=({isRoundCap:Y===xd}||{}).isRoundCap,function(d,b,x){var T=b.position;if(!T||T instanceof Array)return text_calculateTextPosition(d,b,x);var D=J(T),z=null!=b.distance?b.distance:5,H=this.shape,W=H.cx,U=H.cy,Y=H.r,Z=H.r0,te=(Y+Z)/2,ne=H.startAngle,ie=H.endAngle,oe=(ne+ie)/2,se=ee?Math.abs(Y-Z)/2:0,le=Math.cos,ce=Math.sin,de=W+Y*le(ne),he=U+Y*ce(ne),pe="left",fe="top";switch(D){case"startArc":de=W+(Z-z)*le(oe),he=U+(Z-z)*ce(oe),pe="center",fe="top";break;case"insideStartArc":de=W+(Z+z)*le(oe),he=U+(Z+z)*ce(oe),pe="center",fe="bottom";break;case"startAngle":de=W+te*le(ne)+adjustAngleDistanceX(ne,z+se,!1),he=U+te*ce(ne)+adjustAngleDistanceY(ne,z+se,!1),pe="right",fe="middle";break;case"insideStartAngle":de=W+te*le(ne)+adjustAngleDistanceX(ne,-z+se,!1),he=U+te*ce(ne)+adjustAngleDistanceY(ne,-z+se,!1),pe="left",fe="middle";break;case"middle":de=W+te*le(oe),he=U+te*ce(oe),pe="center",fe="middle";break;case"endArc":de=W+(Y+z)*le(oe),he=U+(Y+z)*ce(oe),pe="center",fe="bottom";break;case"insideEndArc":de=W+(Y-z)*le(oe),he=U+(Y-z)*ce(oe),pe="center",fe="top";break;case"endAngle":de=W+te*le(ie)+adjustAngleDistanceX(ie,z+se,!0),he=U+te*ce(ie)+adjustAngleDistanceY(ie,z+se,!0),pe="left",fe="middle";break;case"insideEndAngle":de=W+te*le(ie)+adjustAngleDistanceX(ie,-z+se,!0),he=U+te*ce(ie)+adjustAngleDistanceY(ie,-z+se,!0),pe="right",fe="middle";break;default:return text_calculateTextPosition(d,b,x)}return(d=d||{}).x=de,d.y=he,d.align=pe,d.verticalAlign=fe,d}),z){var ne=D?"r":"endAngle",ie={};Z.shape[ne]=D?T.r0:T.startAngle,ie[ne]=T[ne],(W?updateProps:initProps)(Z,{shape:ie},z)}return Z}};function updateRealtimeAnimation(d,b,x,T,D,z,H,W){var U,Y;z?(Y={x:T.x,width:T.width},U={y:T.y,height:T.height}
vendor: 4,748 bytes, line 808
808):(Y={y:T.y,height:T.height},U={x:T.x,width:T.width}),W||(H?updateProps:initProps)(x,{shape:U},b,D,null),(H?updateProps:initProps)(x,{shape:Y},b?d.baseAxis.model:null,D)}function checkPropertiesNotValid(d,b){for(var x=0;x<b.length;x++)if(!isFinite(d[b[x]]))return!0;return!1}var Td=["x","y","width","height"],kd=["cx","cy","r","startAngle","endAngle"],Ad={cartesian2d:function(d){return!checkPropertiesNotValid(d,Td)},polar:function(d){return!checkPropertiesNotValid(d,kd)}},Pd={cartesian2d:function(d,b,x){var T=d.getItemLayout(b);if(!T)return null;var D=x?function(d,b){var x=d.get(["itemStyle","borderColor"]);if(!x||"none"===x)return 0;var T=d.get(["itemStyle","borderWidth"])||0,D=isNaN(b.width)?Number.MAX_VALUE:Math.abs(b.width),z=isNaN(b.height)?Number.MAX_VALUE:Math.abs(b.height);return Math.min(T,D,z)}(x,T):0,z=T.width>0?1:-1,H=T.height>0?1:-1;return{x:T.x+z*D/2,y:T.y+H*D/2,width:T.width-z*D,height:T.height-H*D}},polar:function(d,b,x){var T=d.getItemLayout(b);return{cx:T.cx,cy:T.cy,r0:T.r0,r:T.r,startAngle:T.startAngle,endAngle:T.endAngle,clockwise:T.clockwise}}};function createPolarPositionMapping(d){return function(d){var b=d?"Arc":"Angle";return function(d){switch(d){case"start":case"insideStart":case"end":case"insideEnd":return d+b;default:return d}}}(d)}function updateStyle(d,b,x,T,D,z,W,U){var Y=b.getItemVisual(x,"style");if(U){if(!z.get("roundCap")){var Z=d.shape,J=getSectorCornerRadius(T.getModel("itemStyle"),Z,!0);Object(H.m)(Z,J),d.setShape(Z)}}else{var ee=T.get(["itemStyle","borderRadius"])||0;d.setShape("r",ee)}d.useStyle(Y);var te=T.getShallow("cursor");te&&d.attr("cursor",te);var ne=U?W?D.r>=D.r0?"endArc":"startArc":D.endAngle>=D.startAngle?"endAngle":"startAngle":W?D.height>=0?"bottom":"top":D.width>=0?"right":"left",ie=getLabelStatesModels(T);setLabelStyle(d,ie,{labelFetcher:z,labelDataIndex:x,defaultText:getDefaultLabel(z.getData(),x),inheritColor:Y.fill,defaultOpacity:Y.opacity,defaultOutsidePosition:ne});var oe=d.getTextContent();if(U&&oe){var se=T.get(["label","position"]);d.textConfig.inside="middle"===se||null,function(d,b,x,T){if(Object(H.z)(T))d.setTextConfig({rotation:T});else if(Object(H.t)(b))d.setTextConfig({rotation:0});else{var D,z=d.shape,W=z.clockwise?z.startAngle:z.endAngle,U=z.clockwise?z.endAngle:z.startAngle,Y=(W+U)/2,Z=x(b);switch(Z){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":D=Y;break;case"startAngle":case"insideStartAngle":D=W;break;case"endAngle":case"insideEndAngle":D=U;break;default:return void d.setTextConfig({rotation:0})}var J=1.5*Math.PI-D;"middle"===Z&&J>Math.PI/2&&J<1.5*Math.PI&&(J-=Math.PI),d.setTextConfig({rotation:J})}}(d,"outside"===se?ne:se,createPolarPositionMapping(W),T.get(["label","rotate"]))}setLabelValueAnimation(oe,ie,z.getRawValue(x),(function(d){return getDefaultInterpolatedLabel(b,d)}));var le=T.getModel(["emphasis"]);toggleHoverEmphasis(d,le.get("focus"),le.get("blurScope"),le.get("disabled")),setStatesStylesFromModel(d,T),function(d){return null!=d.startAngle&&null!=d.endAngle&&d.startAngle===d.endAngle}(D)&&(d.style.fill="none",d.style.stroke="none",Object(H.k)(d.states,(function(d){d.style&&(d.style.fill=d.style.stroke="none")})))}var LagePathShape=function(){},Od=function(d){function LargePath(b){var x=d.call(this,b)||this;return x.type="largeBar",x}return __extends(LargePath,d),LargePath.prototype.getDefaultShape=function(){return new LagePathShape},LargePath.prototype.buildPath=function(d,b){for(var x=b.points,T=this.baseDimIdx,D=1-this.baseDimIdx,z=[],H=[],W=this.barWidth,U=0;U<x.length;U+=3)H[T]=W,H[D]=x[U+2],z[T]=x[U+T],z[D]=x[U+D],d.rect(z[0],z[1],H[0],H[1])},LargePath}(cr);function createLarge(d,b,x,T){var D=d.getData(),z=D.getLayout("valueAxisHorizontal")?1:0,H=D.getLayout("largeDataIndices"),W=D.getLayout("size"),U=d.getModel("backgroundStyle"),Y=D.getLayout("largeBackgroundPoints");if(Y){var Z=new Od({shape:{points:Y},incremental:!!T,silent:!0,z2:0});Z.baseDimIdx=z,Z.largeDataIndices=H,Z.barWidth=W,Z.useStyle(U.getItemStyle()),b.add(Z),x&&x.push(Z)}var J=new Od({shape:{points:D.getLayout("largePoints")},incremental:!!T,ignoreCoarsePointer:!0,z2:1});J.baseDimIdx=z,J.largeDataIndices=H,J.barWidth=W,b.add(J),J.useStyle(D.getVisual("style")),J.style.stroke=null,Or(J).seriesIndex=d.seriesIndex,d.get("silent")||(J.on("mousedown",Id),J.on("mousemove",Id)),x&&x.push(J)}var Id=throttle((function(d){var b=function(d,b,x){for(var T=d.baseDimIdx,D=1-T,z=d.shape.points,H=d.largeDataIndices,W=[],U=[],Y=d.barWidth,Z=0,J=z.length/3;Z<J;Z++){var ee=3*Z;if(U[T]=Y,U[D]=z[ee+2],W[T]=z[ee+T],W[D]=z[ee+D],U[D]<0&&(W[D]+=U[D],U[D]=-U[D]),b>=W[0]&&b<=W[0]+U[0]&&x>=W[1]&&x<=W[1]+U[1])return H[Z]}return-1}(this,d.offsetX,d.offsetY);Or(this).dataIndex=b>=0?b:null}),30,!1);
vendor: 4,180 bytes, line 808
808function createBackgroundShape(d,b,x){if(isCoordinateSystemType(x,"cartesian2d")){var T=b,D=x.getArea();return{x:d?T.x:D.x,y:d?D.y:T.y,width:d?T.width:D.width,height:d?D.height:T.height}}var z=b;return{cx:(D=x.getArea()).cx,cy:D.cy,r0:d?D.r0:z.r0,r:d?D.r:z.r,startAngle:d?z.startAngle:0,endAngle:d?z.endAngle:2*Math.PI}}var Dd=Sd;var Ed=2*Math.PI,Ld=Math.PI/180;function pieLayout(d,b,x){b.eachSeriesByType(d,(function(d){var b=d.getData(),T=b.mapDimension("value"),D=getCircleLayout(d,x),z=D.cx,H=D.cy,W=D.r,U=D.r0,Y=D.viewRect,Z=-d.get("startAngle")*Ld,J=d.get("endAngle"),ee=d.get("padAngle")*Ld;J="auto"===J?Z-Ed:-J*Ld;var te=d.get("minAngle")*Ld+ee,ne=0;b.each(T,(function(d){!isNaN(d)&&ne++}));var ie=b.getSum(T),oe=Math.PI/(ie||ne)*2,se=d.get("clockwise"),le=d.get("roseType"),ce=d.get("stillShowZeroSum"),de=b.getDataExtent(T);de[0]=0;var he=se?1:-1,pe=[Z,J],fe=he*ee/2;normalizeArcAngles(pe,!se),Z=pe[0],J=pe[1];var ge=Rd(d);ge.startAngle=Z,ge.endAngle=J,ge.clockwise=se,ge.cx=z,ge.cy=H,ge.r=W,ge.r0=U;var me=Math.abs(J-Z),ye=me,ve=0,xe=Z;if(b.setLayout({viewRect:Y,r:W}),b.each(T,(function(d,x){var T;if(isNaN(d))b.setItemLayout(x,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:se,cx:z,cy:H,r0:U,r:le?NaN:W});else{(T="area"!==le?0===ie&&ce?oe:d*oe:me/ne)<te?(T=te,ye-=te):ve+=d;var D=xe+he*T,Y=0,Z=0;ee>T?Z=Y=xe+he*T/2:(Y=xe+fe,Z=D-fe),b.setItemLayout(x,{angle:T,startAngle:Y,endAngle:Z,clockwise:se,cx:z,cy:H,r0:U,r:le?linearMap(d,de,[U,W]):W}),xe=D}})),ye<Ed&&ne)if(ye<=.001){var _e=me/ne;b.each(T,(function(d,x){if(!isNaN(d)){var T=b.getItemLayout(x);T.angle=_e;var D=0,z=0;_e<ee?z=D=Z+he*(x+.5)*_e:(D=Z+he*x*_e+fe,z=Z+he*(x+1)*_e-fe),T.startAngle=D,T.endAngle=z}}))}else oe=ye/ve,xe=Z,b.each(T,(function(d,x){if(!isNaN(d)){var T=b.getItemLayout(x),D=T.angle===te?te:d*oe,z=0,H=0;D<ee?H=z=xe+he*D/2:(z=xe+fe,H=xe+he*D-fe),T.startAngle=z,T.endAngle=H,xe+=he*D}}))}))}var Rd=makeInner();function dataFilter(d){return{seriesType:d,reset:function(d,b){var x=b.findComponents({mainType:"legend"});if(x&&x.length){var T=d.getData();T.filterSelf((function(d){for(var b=T.getName(d),D=0;D<x.length;D++)if(!x[D].isSelected(b))return!1;return!0}))}}}}var Bd=Math.PI/180;function adjustSingleSide(d,b,x,T,D,z,H,W,U,Y){if(!(d.length<2)){for(var Z=d.length,J=0;J<Z;J++)if("outer"===d[J].position&&"labelLine"===d[J].labelAlignTo){var ee=d[J].label.x-Y;d[J].linePoints[1][0]+=ee,d[J].label.x=Y}shiftLayoutOnXY(d,1,U,U+H)&&function(d){for(var z={list:[],maxY:0},H={list:[],maxY:0},W=0;W<d.length;W++)if("none"===d[W].labelAlignTo){var U=d[W],Y=U.label.y>x?H:z,Z=Math.abs(U.label.y-x);if(Z>=Y.maxY){var J=U.label.x-b-U.len2*D,ee=T+U.len,te=Math.abs(J)<ee?Math.sqrt(Z*Z/(1-J*J/ee/ee)):ee;Y.rB=te,Y.maxY=Z}Y.list.push(U)}recalculateXOnSemiToAlignOnEllipseCurve(z),recalculateXOnSemiToAlignOnEllipseCurve(H)}(d)}function recalculateXOnSemiToAlignOnEllipseCurve(d){for(var z=d.rB,H=z*z,W=0;W<d.list.length;W++){var U=d.list[W],Y=Math.abs(U.label.y-x),Z=T+U.len,J=Z*Z,ee=Math.sqrt(Math.abs((1-Y*Y/H)*J)),te=b+(ee+U.len2)*D,ne=te-U.label.x;constrainTextWidth(U,U.targetTextWidth-ne*D,!0),U.label.x=te}}}function constrainTextWidth(d,b,x){if(null==d.labelStyleWidth){var T=d.label,D=T.style,z=d.rect,H=D.backgroundColor,W=D.padding,U=W?W[1]+W[3]:0,Y=D.overflow,Z=z.width+(H?0:U);if(b<Z||x){if(Y&&Y.match("break")){T.setStyle("backgroundColor",null),T.setStyle("width",b-U);var J=T.getBoundingRect();T.setStyle("width",Math.ceil(J.width)),T.setStyle("backgroundColor",H)}else{var ee=b-U,te=b<Z?ee:x?ee>d.unconstrainedWidth?null:ee:null;T.setStyle("width",te)}computeLabelGlobalRect(z,T)}}}function computeLabelGlobalRect(d,b){jd.rect=d,computeLabelGeometry(jd,b,Nd)}var Nd={minMarginForce:[null,0,null,0],marginDefault:[1,0,1,0]},jd={};function isPositionCenter(d){return"center"===d.position}function pieLabelLayout(d){var b,x,T=d.getData(),D=[],z=!1,W=(d.get("minShowLabelAngle")||0)*Bd,U=T.getLayout("viewRect"),Y=T.getLayout("r"),Z=U.width,J=U.x,ee=U.y,te=U.height;function setNotShow(d){d.ignore=!0}T.each((function(d){var U=T.getItemGraphicEl(d),ee=U.shape,ne=U.getTextContent(),ie=U.getTextGuideLine(),oe=T.getItemModel(d),se=oe.getModel("label"),le=se.get("position")||oe.get(["emp
808hasis","label","position"]),de=se.get("distanceToLabelLine"),he=se.get("alignTo"),pe=number_parsePercent(se.get("edgeDistance"),Z),fe=se.get("bleedMargin");null==fe&&(fe=Math.min(Z,te)>200?10:2);var ge=oe.getModel("labelLine"),me=ge.get("length");me=number_parsePercent(me,Z);var ye=ge.get("length2");if(ye=number_parsePercent(ye,Z),Math.abs(ee.endAngle-ee.startAngle)<W)return Object(H.k)(ne.states,setNotShow),ne.ignore=!0,void(ie&&(Object(H.k)(ie.states,setNotShow),ie.ignore=!0));if(function(d){if(!d.ignore)return!0;for(var b in d.states)if(!1===d.states[b].ignore)return!0;return!1}(ne)){var ve,xe,_e,we,Se=(ee.startAngle+ee.endAngle)/2,Me=Math.cos(Se),Te=Math.sin(Se);b=ee.cx,x=ee.cy;var ke="inside"===le||"inner"===le;if("center"===le)ve=ee.cx,xe=ee.cy,we="center";else{var Pe=(ke?(ee.r+ee.r0)/2*Me:ee.r*Me)+b,Le=(ke?(ee.r+ee.r0)/2*Te:ee.r*Te)+x;if(ve=Pe+3*Me,xe=Le+3*Te,!ke){var Ne=Pe+Me*(me+Y-ee.r),Ve=Le+Te*(me+Y-ee.r),Fe=Ne+(Me<0?-1:1)*ye;ve="edge"===he?Me<0?J+pe:J+Z-pe:Fe+(Me<0?-de:de),xe=Ve,_e=[[Pe,Le],[Ne,Ve],[Fe,Ve]]}we=ke?"center":"edge"===he?Me>0?"right":"left":Me>0?"left":"right"}var Ge=Math.PI,Ye=0,Xe=se.get("rotate");if(Object(H.z)(Xe))Ye=Xe*(Ge/180);else if("center"===le)Ye=0;else if("radial"===Xe||!0===Xe){Ye=Me<0?-Se+Ge:-Se}else if("tangential"===Xe&&"outside"!==le&&"outer"!==le){var Ke=Math.atan2(Me,Te);Ke<0&&(Ke=2*Ge+Ke),Te>0&&(Ke=Ge+Ke),Ye=Ke-Ge}if(z=!!Ye,ne.x=ve,ne.y=xe,ne.rotation=Ye,ne.setStyle({verticalAlign:"middle"}),ke){ne.setStyle({align:we});var Qe=ne.states.select;Qe&&(Qe.x+=ne.x,Qe.y+=ne.y)}else{var et=new Ee(0,0,0,0);computeLabelGlobalRect(et,ne),D.push({label:ne,labelLine:ie,position:le,len:me,len2:ye,minTurnAngle:ge.get("minTurnAngle"),maxSurfaceAngle:ge.get("maxSurfaceAngle"),surfaceNormal:new ce(Me,Te),linePoints:_e,textAlign:we,labelDistance:de,labelAlignTo:he,edgeDistance:pe,bleedMargin:fe,rect:et,unconstrainedWidth:et.width,labelStyleWidth:ne.style.width})}U.setTextConfig({inside:ke})}})),!z&&d.get("avoidLabelOverlap")&&function(d,b,x,T,D,z,H,W){for(var U=[],Y=[],Z=Number.MAX_VALUE,J=-Number.MAX_VALUE,ee=0;ee<d.length;ee++){var te=d[ee].label;isPositionCenter(d[ee])||(te.x<b?(Z=Math.min(Z,te.x),U.push(d[ee])):(J=Math.max(J,te.x),Y.push(d[ee])))}for(ee=0;ee<d.length;ee++){if(!isPositionCenter(oe=d[ee])&&oe.linePoints){if(null!=oe.labelStyleWidth)continue;te=oe.label;var ne=oe.linePoints,ie=void 0;ie="edge"===oe.labelAlignTo?te.x<b?ne[2][0]-oe.labelDistance-H-oe.edgeDistance:H+D-oe.edgeDistance-ne[2][0]-oe.labelDistance:"labelLine"===oe.labelAlignTo?te.x<b?Z-H-oe.bleedMargin:H+D-J-oe.bleedMargin:te.x<b?te.x-H-oe.bleedMargin:H+D-te.x-oe.bleedMargin,oe.targetTextWidth=ie,constrainTextWidth(oe,ie,!1)}}for(adjustSingleSide(Y,b,x,T,1,0,z,0,W,J),adjustSingleSide(U,b,x,T,-1,0,z,0,W,Z),ee=0;ee<d.length;ee++){var oe;if(!isPositionCenter(oe=d[ee])&&oe.linePoints){te=oe.label,ne=oe.linePoints;var se="edge"===oe.labelAlignTo,le=te.style.padding,ce=le?le[1]+le[3]:0,de=te.style.backgroundColor?0:ce,he=oe.rect.width+de,pe=ne[1][0]-ne[2][0];se?te.x<b?ne[2][0]=H+oe.edgeDistance+he+oe.labelDistance:ne[2][0]=H+D-oe.edgeDistance-he-oe.labelDistance:(te.x<b?ne[2][0]=te.x+oe.labelDistance:ne[2][0]=te.x-oe.labelDistance,ne[1][0]=ne[2][0]+pe),ne[1][1]=ne[2][1]=te.y}}}(D,b,x,Y,Z,te,J,ee);for(var ne=0;ne<D.length;ne++){var ie=D[ne],oe=ie.label,se=ie.labelLine,le=isNaN(oe.x)||isNaN(oe.y);if(oe){oe.setStyle({align:ie.textAlign}),le&&(Object(H.k)(oe.states,setNotShow),oe.ignore=!0);var de=oe.states.select;de&&(de.x+=oe.x,de.y+=oe.y)}if(se){var he=ie.linePoints;le||!he?(Object(H.k)(se.states,setNotShow),se.ignore=!0):(limitTurnAngle(he,ie.minTurnAngle),limitSurfaceAngle(he,ie.surfaceNormal,ie.maxSurfaceAngle),se.setShape({points:he}),oe.__hostTarget.textGuideLineConfig={anchor:new ce(he[0][0],he[0][1])})}}}var Vd=function(d){function PiePiece(b,x,T){var D=d.call(this)||this;D.z2=2;var z=new Pr;return D.setTextContent(z),D.updateData(b,x,T,!0),D}return __extends(PiePiece,d),PiePiece.prototype.updateData=function(d,b,x,T){var D=d.hostModel,z=d.getItemModel(b),W=z.getModel("emphasis"),U=d.getItemLayout(b),Y=Object(H.m)(getSectorCornerRadius(z.getModel("itemStyle"),U,!0),U);if(isNaN(Y.startAngle))this.setShape(Y);else{if(T){this.setShape(Y);var Z=D.getShallow("animationType");D.ecModel.ssr?(initProps(this,{scaleX:0,scaleY:0},D,{dataIndex:b,isFrom:!0}),this.originX=Y.cx,this.originY=Y.cy):"scale"===Z?(this.shape.r=U.r0,initProps(this,{shape:{r:U.r}},D,b)):null!=x?(this.setShape({startAngle:x,endAngle:x}),initProps(this,{shape:{startAngle:U.startAngle,endAngle:U.endAngle}},D,b)):(this.shape.endAngle=U.startAngle,updateProps(this,{shape:{endAngle:U.endAngle}},D,b))}else saveOldStyle(this),updateProps(this,{shape:Y},D,b);this.useStyle(d.getItemVisual(b,"style")),setStatesStylesFromModel(this,z);var J=(U.startAngle+U.endAngle)/2,ee=D.get("selectedOffset"),te=Math.cos(J)*ee,ne=Math.sin(J)*ee,ie=z.getShallow("cursor");ie&&this.attr("cursor",ie),this._updateLabel(D,d,b),this.ensureState("emphasis").shape=Object(H.m)({r:U.r+(W.get("scale")&&W.get("scaleSize")||0)},getSectorCornerRadius(W.getModel("itemStyle"),U)),Object(H.m)(this.ensureState("select"),{x:te,y:ne,shape:getSectorCornerRadius(z.getModel(["select","itemStyle"]),U)}),Object(H.m)(this.ensureState("blur"),{shape:getSectorCornerRadius(z.getModel(["blur","itemStyle"]),U)});var oe=this.getTextGuideLine(),se=this.getTextContent();oe&&Object(H.m)(oe.ensureState("select"),{x:te,y:ne}),Object(H.m)(se.ensureState("select"),{x:te,y:ne}),toggleHoverEmphasis(this,W.get("focus"),W.get("blurScope"),W.get("disabled"))}},PiePiece.prototype._updateLabel=function(d,b,x){var T=b.getItemModel(x),D=T.getModel("labelLine"),z=b.getItemVisual(x,"style"),W=z&&z.fill,U=z&&z.opacity;setLabelStyle(this,getLabelStatesModels(T),{labelFetcher:b.hostModel,labelDataIndex:x,inheritColor:W,defaultOpacity:U,defaultText:d.getFormattedLabel(x,"normal")||b.getName(x
vendor: 4,301 bytes, line 808
808)});var Y=this.getTextContent();this.setTextConfig({position:null,rotation:null}),Y.attr({z2:10});var Z=T.get(["label","position"]);if("outside"!==Z&&"outer"!==Z)this.removeTextGuideLine();else{var J=this.getTextGuideLine();J||(J=new Rs,this.setTextGuideLine(J)),setLabelLineStyle(this,getLabelLineStatesModels(T),{stroke:W,opacity:Object(H.Q)(D.get(["lineStyle","opacity"]),U,1)})}},PiePiece}(Ps),zd=function(d){function PieView(){var b=null!==d&&d.apply(this,arguments)||this;return b.ignoreLabelLineUpdate=!0,b}return __extends(PieView,d),PieView.prototype.render=function(d,b,x,T){var D,z=d.getData(),W=this._data,U=this.group;if(!W&&z.count()>0){for(var Y=z.getItemLayout(0),Z=1;isNaN(Y&&Y.startAngle)&&Z<z.count();++Z)Y=z.getItemLayout(Z);Y&&(D=Y.startAngle)}if(this._emptyCircleSector&&U.remove(this._emptyCircleSector),0===z.count()&&d.get("showEmptyCircle")){var J=Rd(d),ee=new Ps({shape:Object(H.d)(J)});ee.useStyle(d.getModel("emptyCircleStyle").getItemStyle()),this._emptyCircleSector=ee,U.add(ee)}z.diff(W).add((function(d){var b=new Vd(z,d,D);z.setItemGraphicEl(d,b),U.add(b)})).update((function(d,b){var x=W.getItemGraphicEl(b);x.updateData(z,d,D),x.off("click"),U.add(x),z.setItemGraphicEl(d,x)})).remove((function(b){removeElementWithFadeOut(W.getItemGraphicEl(b),d,b)})).execute(),pieLabelLayout(d),"expansion"!==d.get("animationTypeUpdate")&&(this._data=z)},PieView.prototype.dispose=function(){},PieView.prototype.containPoint=function(d,b){var x=b.getData().getItemLayout(0);if(x){var T=d[0]-x.cx,D=d[1]-x.cy,z=Math.sqrt(T*T+D*D);return z<=x.r&&z>=x.r0}},PieView.type="pie",PieView}(gl);function createSeriesDataSimply(d,b,x){b=Object(H.t)(b)&&{coordDimensions:b}||Object(H.m)({encodeDefine:d.getEncode()},b);var T=d.getSource(),D=prepareSeriesDataSchema(T,b).dimensions,z=new id(D,d);return z.initData(T,x),z}var Fd,Hd=function(){function LegendVisualProvider(d,b){this._getDataWithEncodedVisual=d,this._getRawData=b}return LegendVisualProvider.prototype.getAllNames=function(){var d=this._getRawData();return d.mapArray(d.getName)},LegendVisualProvider.prototype.containName=function(d){return this._getRawData().indexOfName(d)>=0},LegendVisualProvider.prototype.indexOfName=function(d){return this._getDataWithEncodedVisual().indexOfName(d)},LegendVisualProvider.prototype.getItemVisual=function(d,b){return this._getDataWithEncodedVisual().getItemVisual(d,b)},LegendVisualProvider}(),Gd=makeInner(),$d=function(d){function PieSeriesModel(){return null!==d&&d.apply(this,arguments)||this}return __extends(PieSeriesModel,d),PieSeriesModel.prototype.init=function(b){d.prototype.init.apply(this,arguments),this.legendVisualProvider=new Hd(H.c(this.getData,this),H.c(this.getRawData,this)),this._defaultLabelLine(b)},PieSeriesModel.prototype.mergeOption=function(){d.prototype.mergeOption.apply(this,arguments)},PieSeriesModel.prototype.getInitialData=function(){return createSeriesDataSimply(this,{coordDimensions:["value"],encodeDefaulter:H.h(makeSeriesEncodeForNameBased,this)})},PieSeriesModel.prototype.getDataParams=function(b){var x=this.getData(),T=Gd(x),D=T.seats;if(!D){var z=[];x.each(x.mapDimension("value"),(function(d){z.push(d)})),D=T.seats=getPercentSeats(z,x.hostModel.get("percentPrecision"))}var H=d.prototype.getDataParams.call(this,b);return H.percent=D[b]||0,H.$vars.push("percent"),H},PieSeriesModel.prototype._defaultLabelLine=function(d){defaultEmphasis(d,"labelLine",["show"]);var b=d.labelLine,x=d.emphasis.labelLine;b.show=b.show&&d.label.show,x.show=x.show&&d.emphasis.label.show},PieSeriesModel.type="series.pie",PieSeriesModel.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"50%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,coordinateSystemUsage:"box",left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:30,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5}
vendor: 2,068 bytes, line 808
808,avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},PieSeriesModel}(es);Fd={fullType:$d.type,getCoord2:function(d){return d.getShallow("center")}},Mo.set(Fd.fullType,{getCoord2:void 0}).getCoord2=Fd.getCoord2;var Wd=$d;var Ud=function(d){function ScatterSeriesModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=ScatterSeriesModel.type,b.hasSymbolVisual=!0,b}return __extends(ScatterSeriesModel,d),ScatterSeriesModel.prototype.getInitialData=function(d,b){return helper_createSeriesData(null,this,{useEncodeDefaulter:!0})},ScatterSeriesModel.prototype.getProgressive=function(){var d=this.option.progressive;return null==d?this.option.large?5e3:this.get("progressive"):d},ScatterSeriesModel.prototype.getProgressiveThreshold=function(){var d=this.option.progressiveThreshold;return null==d?this.option.large?1e4:this.get("progressiveThreshold"):d},ScatterSeriesModel.prototype.brushSelector=function(d,b,x){return x.point(b.getItemLayout(d))},ScatterSeriesModel.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},ScatterSeriesModel.type="series.scatter",ScatterSeriesModel.dependencies=["grid","polar","geo","singleAxis","calendar","matrix"],ScatterSeriesModel.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:Fo.color.primary}},universalTransition:{divideShape:"clone"}},ScatterSeriesModel}(es),LargeSymbolPathShape=function(){},Yd=function(d){function LargeSymbolPath(b){var x=d.call(this,b)||this;return x._off=0,x.hoverDataIdx=-1,x}return __extends(LargeSymbolPath,d),LargeSymbolPath.prototype.getDefaultShape=function(){return new LargeSymbolPathShape},LargeSymbolPath.prototype.reset=function(){this.notClear=!1,this._off=0},LargeSymbolPath.prototype.buildPath=function(d,b){var x,T=b.points,D=b.size,z
vendor: 3,145 bytes, line 808
808=this.symbolProxy,H=z.shape,W=d.getContext?d.getContext():d,U=W&&D[0]<4,Y=this.softClipShape;if(U)this._ctx=W;else{for(this._ctx=null,x=this._off;x<T.length;){var Z=T[x++],J=T[x++];isNaN(Z)||isNaN(J)||(Y&&!Y.contain(Z,J)||(H.x=Z-D[0]/2,H.y=J-D[1]/2,H.width=D[0],H.height=D[1],z.buildPath(d,H,!0)))}this.incremental&&(this._off=x,this.notClear=!0)}},LargeSymbolPath.prototype.afterBrush=function(){var d,b=this.shape,x=b.points,T=b.size,D=this._ctx,z=this.softClipShape;if(D){for(d=this._off;d<x.length;){var H=x[d++],W=x[d++];isNaN(H)||isNaN(W)||(z&&!z.contain(H,W)||D.fillRect(H-T[0]/2,W-T[1]/2,T[0],T[1]))}this.incremental&&(this._off=d,this.notClear=!0)}},LargeSymbolPath.prototype.findDataIndex=function(d,b){for(var x=this.shape,T=x.points,D=x.size,z=Math.max(D[0],4),H=Math.max(D[1],4),W=T.length/2-1;W>=0;W--){var U=2*W,Y=T[U]-z/2,Z=T[U+1]-H/2;if(d>=Y&&b>=Z&&d<=Y+z&&b<=Z+H)return W}return-1},LargeSymbolPath.prototype.contain=function(d,b){var x=this.transformCoordToLocal(d,b),T=this.getBoundingRect();return d=x[0],b=x[1],T.contain(d,b)?(this.hoverDataIdx=this.findDataIndex(d,b))>=0:(this.hoverDataIdx=-1,!1)},LargeSymbolPath.prototype.getBoundingRect=function(){var d=this._rect;if(!d){for(var b=this.shape,x=b.points,T=b.size,D=T[0],z=T[1],H=1/0,W=1/0,U=-1/0,Y=-1/0,Z=0;Z<x.length;){var J=x[Z++],ee=x[Z++];H=Math.min(J,H),U=Math.max(J,U),W=Math.min(ee,W),Y=Math.max(ee,Y)}d=this._rect=new Ee(H-D/2,W-z/2,U-H+D,Y-W+z)}return d},LargeSymbolPath}(cr),qd=function(){function LargeSymbolDraw(){this.group=new Xn}return LargeSymbolDraw.prototype.updateData=function(d,b){this._clear();var x=this._create();x.setShape({points:d.getLayout("points")}),this._setCommon(x,d,b)},LargeSymbolDraw.prototype.updateLayout=function(d){var b=d.getLayout("points");this.group.eachChild((function(d){if(null!=d.startIndex){var x=2*(d.endIndex-d.startIndex),T=4*d.startIndex*2;b=new Float32Array(b.buffer,T,x)}d.setShape("points",b),d.reset()}))},LargeSymbolDraw.prototype.incrementalPrepareUpdate=function(d){this._clear()},LargeSymbolDraw.prototype.incrementalUpdate=function(d,b,x){var T=this._newAdded[0],D=b.getLayout("points"),z=T&&T.shape.points;if(z&&z.length<2e4){var H=z.length,W=new Float32Array(H+D.length);W.set(z),W.set(D,H),T.endIndex=d.end,T.setShape({points:W})}else{this._newAdded=[];var U=this._create();U.startIndex=d.start,U.endIndex=d.end,U.incremental=!0,U.setShape({points:D}),this._setCommon(U,b,x)}},LargeSymbolDraw.prototype.eachRendered=function(d){this._newAdded[0]&&d(this._newAdded[0])},LargeSymbolDraw.prototype._create=function(){var d=new Yd({cursor:"default"});return d.ignoreCoarsePointer=!0,this.group.add(d),this._newAdded.push(d),d},LargeSymbolDraw.prototype._setCommon=function(d,b,x){var T=b.hostModel;x=x||{};var D=b.getVisual("symbolSize");d.setShape("size",D instanceof Array?D:[D,D]),d.softClipShape=x.clipShape||null,d.symbolProxy=symbol_createSymbol(b.getVisual("symbol"),0,0,0,0),d.setColor=d.symbolProxy.setColor;var z=d.shape.size[0]<4;d.useStyle(T.getModel("itemStyle").getItemStyle(z?["color","shadowBlur","shadowColor"]:["color"]));var H=b.getVisual("style"),W=H&&H.fill;W&&d.setColor(W);var U=Or(d);
vendor: 4,319 bytes, line 808
808U.seriesIndex=T.seriesIndex,d.on("mousemove",(function(b){U.dataIndex=null;var x=d.hoverDataIdx;x>=0&&(U.dataIndex=x+(d.startIndex||0))}))},LargeSymbolDraw.prototype.remove=function(){this._clear()},LargeSymbolDraw.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},LargeSymbolDraw}(),Zd=function(d){function ScatterView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=ScatterView.type,b}return __extends(ScatterView,d),ScatterView.prototype.render=function(d,b,x){var T=d.getData();this._updateSymbolDraw(T,d).updateData(T,{clipShape:this._getClipShape(d)}),this._finished=!0},ScatterView.prototype.incrementalPrepareRender=function(d,b,x){var T=d.getData();this._updateSymbolDraw(T,d).incrementalPrepareUpdate(T),this._finished=!1},ScatterView.prototype.incrementalRender=function(d,b,x){this._symbolDraw.incrementalUpdate(d,b.getData(),{clipShape:this._getClipShape(b)}),this._finished=d.end===b.getData().count()},ScatterView.prototype.updateTransform=function(d,b,x){var T=d.getData();if(this.group.dirty(),!this._finished||T.count()>1e4)return{update:!0};var D=pointsLayout("").reset(d,b,x);D.progress&&D.progress({start:0,end:T.count(),count:T.count()},T),this._symbolDraw.updateLayout(T)},ScatterView.prototype.eachRendered=function(d){this._symbolDraw&&this._symbolDraw.eachRendered(d)},ScatterView.prototype._getClipShape=function(d){if(d.get("clip",!0)){var b=d.coordinateSystem;return b&&b.getArea&&b.getArea(.1)}},ScatterView.prototype._updateSymbolDraw=function(d,b){var x=this._symbolDraw,T=b.pipelineContext.large;return x&&T===this._isLargeDraw||(x&&x.remove(),x=this._symbolDraw=T?new qd:new sd,this._isLargeDraw=T,this.group.removeAll()),this.group.add(x.group),x},ScatterView.prototype.remove=function(d,b){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},ScatterView.prototype.dispose=function(){},ScatterView.type="scatter",ScatterView}(gl),Xd={left:0,right:0,top:0,bottom:0},Kd=["25%","25%"],Jd=function(d){function GridModel(){return null!==d&&d.apply(this,arguments)||this}return __extends(GridModel,d),GridModel.prototype.mergeDefaultAndTheme=function(b,x){var T=getLayoutParams(b.outerBounds);d.prototype.mergeDefaultAndTheme.apply(this,arguments),T&&b.outerBounds&&mergeLayoutParam(b.outerBounds,T)},GridModel.prototype.mergeOption=function(b,x){d.prototype.mergeOption.apply(this,arguments),this.option.outerBounds&&b.outerBounds&&mergeLayoutParam(this.option.outerBounds,b.outerBounds)},GridModel.type="grid",GridModel.dependencies=["xAxis","yAxis"],GridModel.layoutMode="box",GridModel.defaultOption={show:!1,z:0,left:"15%",top:65,right:"10%",bottom:80,containLabel:!1,outerBoundsMode:"auto",outerBounds:Xd,outerBoundsContain:"all",outerBoundsClampWidth:Kd[0],outerBoundsClampHeight:Kd[1],backgroundColor:Fo.color.transparent,borderWidth:1,borderColor:Fo.color.neutral30},GridModel}(Bo),Qd=function(){function AxisModelCommonMixin(){}return AxisModelCommonMixin.prototype.getNeedCrossZero=function(){return!this.option.scale},AxisModelCommonMixin.prototype.getCoordSysModel=function(){},AxisModelCommonMixin}(),eh=function(d){function CartesianAxisModel(){return null!==d&&d.apply(this,arguments)||this}return __extends(CartesianAxisModel,d),CartesianAxisModel.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",si).models[0]},CartesianAxisModel.type="cartesian2dAxis",CartesianAxisModel}(Bo);H.K(eh,Qd);var th={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:Fo.color.axisLine,width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15],breakLine:!0},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12,color:Fo.color.axisLabel,textMargin:[0,3]},splitLine:{show:!0,showMinLine:!0,showMaxLine:!0,lineStyle:{color:Fo.color.axisSplitLine,width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:[Fo.color.backgroundTint,Fo.color.backgroundTransparent]}},breakArea:{show:!0,itemStyle:{color:Fo.color.neutral00,borderColor:Fo.color.border,borderWidth:1,borderType:[3,3],op
808acity:.6},zigzagAmplitude:4,zigzagMinSpan:4,zigzagMaxSpan:20,zigzagZ:100,expandOnClick:!0},breakLabelLayout:{moveOverlap:"auto"}},nh=H.I({boundaryGap:!0,deduplication:null,jitter:0,jitterOverlap:!0,jitterMargin:2,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto",show:"auto"},axisLabel:{interval:"auto"}},th),ih=H.I({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:Fo.color.axisMinorSplitLine,width:1}}},th),rh={category:nh,value:ih,time:H.I({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},ih),log:H.i({logBase:10},ih)},oh=0;function getName(d){return Object(H.A)(d)&&null!=d.value?d.value:d+""}var ah=function(){function OrdinalMeta(d){this.categories=d.categories||[],this._needCollect=d.needCollect,this._deduplication=d.deduplication,this.uid=++oh,this._onCollect=d.onCollect}return OrdinalMeta.createByAxisModel=function(d){var b=d.option,x=b.data,T=x&&Object(H.H)(x,getName);return new OrdinalMeta({categories:T,needCollect:!T,deduplication:!1!==b.dedplication})},OrdinalMeta.prototype.getOrdinal=function(d){return this._getOrCreateMap().get(d)},OrdinalMeta.prototype.parseAndCollect=function(d){var b,x=this._needCollect;if(!Object(H.C)(d)&&!x)return d;if(x&&!this._deduplication)return b=this.categories.length,this.categories[b]=d,this._onCollect&&this._onCollect(d,b),b;var T=this._getOrCreateMap();
808return null==(b=T.get(d))&&(x?(b=this.categories.length,this.categories[b]=d,T.set(d,b),this._onCollect&&this._onCollect(d,b)):b=NaN),b},OrdinalMeta.prototype._getOrCreateMap=function(){return this._map||(this._map=Object(H.f)(this.categories))},OrdinalMeta}(),sh={value:1,category:1,time:1,log:1},lh=null;function getAxisBreakHelper(){return lh}function axisModelCreator(d,b,x,T){Object(H.k)(sh,(function(D,z){var W=Object(H.I)(Object(H.I)({},rh[z],!0),T,!0),U=function(d){function AxisModel(){var x=null!==d&&d.apply(this,arguments)||this;return x.type=b+"Axis."+z,x}return __extends(AxisModel,d),AxisModel.prototype.mergeDefaultAndTheme=function(d,b){var x=fetchLayoutMode(this),T=x?getLayoutParams(d):{},D=b.getTheme();Object(H.I)(d,D.get(z+"Axis")),Object(H.I)(d,this.getDefaultOption()),d.type=getAxisType(d),x&&mergeLayoutParam(d,T,x)},AxisModel.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=ah.createByAxisModel(this))},AxisModel.prototype.getCategories=function(d){var b=this.option;if("category"===b.type)return d?b.data:this.__ordinalMeta.categories},AxisModel.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},AxisModel.prototype.updateAxisBreaks=function(d){var b=getAxisBreakHelper();return b?b.updateModelAxisBreak(this,d):{breaks:[]}},AxisModel.type=b+"Axis."+z,AxisModel.defaultOption=W,AxisModel}(x);d.registerComponentModel(U)})),d.registerSubTypeDefaulter(b+"Axis",getAxisType)}function getAxisType(d){return d.type||(d.data?"category":"value")}function isIntervalOrLogScale(d){return"interval"===d.type||"log"===d.type}function intervalScaleNiceTicks(d,b,x,T,D){var z={},H=z.interval=nice(b/x,!0);null!=T&&H<T&&(H=z.interval=T),null!=D&&H>D&&(H=z.interval=D);var W=z.intervalPrecision=getIntervalPrecision(H);return function(d,b){!isFinite(d[0])&&(d[0]=b[0]),!isFinite(d[1])&&(d[1]=b[1]),helper_clamp(d,0,b),helper_clamp(d,1,b),d[0]>d[1]&&(d[0]=d[1])}(z.niceTickExtent=[round(Math.ceil(d[0]/H)*H,W),round(Math.floor(d[1]/H)*H,W)],d),z}function increaseInterval(d){var b=Math.pow(10,quantityExponent(d)),x=d/b;return x?2===x?x=3:3===x?x=5:x*=2:x=1,round(x*b)}function getIntervalPrecision(d){return getPrecision(d)+2}function helper_clamp(d,b,x){d[b]=Math.max(Math.min(d[b],x[1]),x[0])}function helper_contain(d,b){return d>=b[0]&&d<=b[1]}var uh=function(){function ScaleCalculator(){this.normalize=helper_normalize,this.scale=helper_scale}return ScaleCalculator.prototype.updateMethods=function(d){d.hasBreaks()?(this.normalize=Object(H.c)(d.normalize,d),this.scale=Object(H.c)(d.scale,d)):(this.normalize=helper_normalize,this.scale=helper_scale)},ScaleCalculator}();function helper_normalize(d,b){return b[1]===b[0]?.5:(d-b[0])/(b[1]-b[0])}function helper_scale(d,b){return d*(b[1]-b[0])+b[0]}function logTransform(d,b,x){var T=Math.log(d);return[Math.log(x?b[0]:Math.max(0,b[0]))/T,Math.log(x?b[1]:Math.max(0,b[1]))/T]}var ch=function(){function Scale(d){this._calculator=new uh,this._setting=d||{},this._extent=[1/0,-1/0];var b=getScaleBreakHelper();b&&(this._brkCtx=b.createScaleBreakContext(),this._brkCtx.update(this._extent))}return Scale.prototype.getSetting=function(d){return this._setting[d]},Scale.prototype._innerUnionExtent=function(d){var b=this._extent;this._innerSetExtent(d[0]<b[0]?d[0]:b[0],d[1]>b[1]?d[1]:b[1])},Scale.prototype.unionExtentFromData=function(d,b){this._innerUnionExtent(d.getApproximateExtent(b))},Scale.prototype.getExtent=function(){return this._extent.slice()},Scale.prototype.setExtent=function(d,b){this._innerSetExtent(d,b)},Scale.prototype._innerSetExtent=function(d,b){var x=this._extent;isNaN(d)||(x[0]=d),isNaN(b)||(x[1]=b),this._brkCtx&&this._brkCtx.update(x)},Scale.prototype.setBreaksFromOption=function(d){var b=getScaleBreakHelper();b&&this._innerSetBreak(b.parseAxisBreakOption(d,Object(H.c)(this.parse,this)))},Scale.prototype._innerSetBreak=function(d){this._brkCtx&&(this._brkCtx.setBreaks(d),this._calculator.updateMethods(this._brkCtx),this._brkCtx.update(this._extent))},Scale.prototype._innerGetBreaks=function(){return this._brkCtx?this._brkCtx.breaks:[]},Scale.prototype.hasBreaks=function(){return!!this._brkCtx&&this._brkCtx.hasBreaks()},Scale.prototype._getExtentSpanWithBreaks=function(){return this._brkCtx&&this._brkCtx.hasBreaks()?this._brkCtx.getExtentSpan():this._extent[1]-this._extent[0]},Scale.prototype.isInExtentRange=function(d){return this._extent[0]<=d&&this._extent[1]>=d},Scale.prototype.isBlank=function(){return this._isBlank},Scale.prototype.setBlank=function(d){this._isBlank=d},Scale}();enableClassManagement(ch);var dh=ch,hh=function(d){function OrdinalScale(b){var x=d.call(this,b)||this;x.type="ordinal";var T=x.getSetting("ordinalMeta");return T||(T=new ah({})),Object(H.t)(T)&&(T=new ah({categories:Object(H.H)(T,(function(d){return Object(H.A)(d)?d.value:d}))})),x._ordinalMeta=T,x._extent=x.getSetting("extent")||[0,T.categories.length-1],x}return __extends(OrdinalScale,d),OrdinalScale.prototype.parse=function(d){return null==d?NaN:Object(H.C)(d)?this._ordinalMeta.getOrdinal(d):Math.round(d)},OrdinalScale.prototype.contain=function(d){return helper_contain(d,this._extent)&&d>=0&&d<this._ordinalMeta.categories.length},OrdinalScale.prototype.normalize=function(d){return d=this._getTickNumber(d),this._calculator.normalize(d,this._extent)},OrdinalScale.prototype.scale=function(d){return d=Math.round(this._calculator.scale(d,this._extent)),this.getRawOrdinalNumber(d)},OrdinalScale.prototype.getTicks=function(){for(var d=[],b=this._extent,x=b[0];x<=b[1];)d.push({value:x}),x++;return d},OrdinalScale.prototype.getMinorTicks=function(d){},OrdinalScale.prototype.setSortInfo=function(d){if(null!=d){for(var b=d.ordinalNumbers,x=this._ordinalNumbersByTick=[],T=this._ticksByOrdinalNumber=[],D=0,z=this._ordinalMeta.categories.length,H=Math.min(z,b.length);D<H;++D){var W=b[D];x[D]=W,T[W]=D}for(var U=0;D<z;++D){for(;null!=T[U];)U++;x.push(U),T[U]=D}}else this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null},OrdinalScale.prototype._getTickNumber=function(d){var b=this._ticksByOrdinalNumber;return b&&d>=0&&d<b.length?b[d]:d},OrdinalScale.prototype.getRawOrdinalNumber=function(d){var b=this._ordinalNumbersByTick;return b&&d>=0&&d<b.length?b[d]:d},OrdinalScale.prototype.getLabel=function(d){if(!this.isBlank()){var b=this.getRawOrdinalNumber(d.value),x=this._ordinalMeta.categories[b];return null==x?"":x+""}},OrdinalScale.prototype.count=function(){return this._extent[1]-this._extent[0]+1},OrdinalScale.prototype.isInExtentRange=function(d){return d=this._getTickNumber(d),this._extent[0]<=d&&this._extent[1]>=d},OrdinalScale.prototype.getOrdinalMeta=function(){return this._ordinalMeta},OrdinalScale.prototype.calcNiceTicks=function(){},OrdinalScale.prototype.calcNiceExtent=function(){},OrdinalScale.type="ordinal",OrdinalScale}(dh);dh.registerClass(hh);var ph=hh,fh=round,gh=function(d){function IntervalScale(){var b=null!==d&&d.apply(this,arguments)||this;return b.type="interval",b._interval=0,b._intervalPrecision=2,b}return __extends(IntervalScale,d),IntervalScale.prototype.parse=function(d){return null==d||""===d?NaN:Number(d)},IntervalScale.prototype.contain=function(d){return helper_contain(d,this._extent)},IntervalScale.prototype.normalize=function(d){return this._calculator.normalize(d,this._extent)},IntervalScale.prototype.scale=function(d){return this._calculator.scale(d,this._extent)},IntervalScale.prototype.getInterval=function(){return this._interval},IntervalScale.prototype.setInterval=function(d){this._interval=d,this._niceExtent=this._extent.slice(),this._intervalPrecision=getIntervalPrecision(d)},IntervalScale.prototype.getTicks=function(d){d=d||{};var b=this._interval,x=this._extent,T=this._niceExtent,D=this._intervalPrecision,z=getScaleBreakHelper(),H=[];if(!b)return H;if("only_break"===d.breakTicks&&z)return z.addBreaksToTicks(H,this._brkCtx.breaks,this._extent),H;x[0]<T[0]&&(d.expandToNicedExtent?H.push({value:fh(T[0]-b,D)}):H.push({value:x[0]}));for(var estimateNiceMultiple=function(d,x){return Math.round((x-d)/b)},W=T[0];W<=T[1];){if(H.push({value:W}),W=fh(W+b,D),this._brkCtx){var U=this._brkCtx.calcNiceTickMultiple(W,estimateNiceMultiple);U>=0&&(W=fh(W+U*b,D))}if(H.length>0&&W===H[H.length-1].value)break;
808if(H.length>1e4)return[]}var Y=H.length?H[H.length-1].value:T[1];return x[1]>Y&&(d.expandToNicedExtent?H.push({value:fh(Y+b,D)}):H.push({value:x[1]})),z&&z.pruneTicksByBreak(d.pruneByBreak,H,this._brkCtx.breaks,(function(d){return d.value}),this._interval,this._extent),"none"!==d.breakTicks&&z&&z.addBreaksToTicks(H,this._brkCtx.breaks,this._extent),H},IntervalScale.prototype.getMinorTicks=function(d){for(var b=this.getTicks({expandToNicedExtent:!0}),x=[],T=this.getExtent(),D=1;D<b.length;D++){var z=b[D],H=b[D-1];if(!H.break&&!z.break){for(var W=0,U=[],Y=(z.value-H.value)/d,Z=getIntervalPrecision(Y);W<d-1;){var J=fh(H.value+(W+1)*Y,Z);J>T[0]&&J<T[1]&&U.push(J),W++}var ee=getScaleBreakHelper();ee&&ee.pruneTicksByBreak("auto",U,this._getNonTransBreaks(),(function(d){return d}),this._interval,T),x.push(U)}}return x},IntervalScale.prototype._getNonTransBreaks=function(){return this._brkCtx?this._brkCtx.breaks:[]},IntervalScale.prototype.getLabel=function(d,b){if(null==d)return"";var x=b&&b.precision;return null==x?x=getPrecision(d.value)||0:"auto"===x&&(x=this._intervalPrecision),addCommas(fh(d.value,x,!0))},IntervalScale.prototype.calcNiceTicks=function(d,b,x){d=d||5;var T=this._extent.slice(),D=this._getExtentSpanWithBreaks();if(isFinite(D)){D<0&&(D=-D,T.reverse(),this._innerSetExtent(T[0],T[1]),T=this._extent.slice());var z=intervalScaleNiceTicks(T,D,d,b,x);this._intervalPrecision=z.intervalPrecision,this._interval=z.interval,this._niceExtent=z.niceTickExtent}},IntervalScale.prototype.calcNiceExtent=function(d){var b=this._extent.slice();if(b[0]===b[1])if(0!==b[0]){var x=Math.abs(b[0]);d.fixMax||(b[1]+=x/2),b[0]-=x/2}else b[1]=1;var T=b[1]-b[0];isFinite(T)||(b[0]=0,b[1]=1),this._innerSetExtent(b[0],b[1]),b=this._extent.slice(),this.calcNiceTicks(d.splitNumber,d.minInterval,d.maxInterval);var D=this._interval,z=this._intervalPrecision;d.fixMin||(b[0]=fh(Math.floor(b[0]/D)*D,z)),d.fixMax||(b[1]=fh(Math.ceil(b[1]/D)*D,z)),this._innerSetExtent(b[0],b[1])},IntervalScale.prototype.setNiceExtent=function(d,b){this._niceExtent=[d,b]},IntervalScale.type="interval",IntervalScale}(dh);dh.registerClass(gh);var mh=gh,yh=function(d){function TimeScale(b){var x=d.call(this,b)||this;return x.type="time",x}return __extends(TimeScale,d),TimeScale.prototype.getLabel=function(d){var b=this.getSetting("useUTC");return format(d.value,fo[function(d){switch(d){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}(getPrimaryTimeUnit(this._minLevelUnit))]||fo.second,b,this.getSetting("locale"))},TimeScale.prototype.getFormattedLabel=function(d,b,x){var T=this.getSetting("useUTC");return function(d,b,x,T,D){var z=null;if(H.C(x))z=x;else if(H.w(x)){var W={time:d.time,level:d.time.level},U=getScaleBreakHelper();U&&U.makeAxisLabelFormatterParamBreak(W,d.break),z=x(d.value,b,W)}else{var Y=d.time;if(Y){var Z=x[Y.lowerTimeUnit][Y.upperTimeUnit];z=Z[Math.min(Y.level,Z.length-1)]||""}else{var J=getUnitFromValue(d.value,D);z=x[J][J][0]}}return format(new Date(d.value),z,D,T)}(d,b,x,this.getSetting("locale"),T)},TimeScale.prototype.getTicks=function(d){d=d||{};var b=this._interval,x=this._extent,T=getScaleBreakHelper(),D=[];if(!b)return D;var z=this.getSetting("useUTC");if(T&&"only_break"===d.breakTicks)return getScaleBreakHelper().addBreaksToTicks(D,this._brkCtx.breaks,this._extent),D;var W=getUnitFromValue(x[1],z);D.push({value:x[0],time:{level:0,upperTimeUnit:W,lowerTimeUnit:W}});var U=function(d,b,x,T,D,z){var W=mo,U=0;function addTicksInSpan(d,b,x,D,H,W,Y){for(var Z=function(d,b){var x=new Date(0);x[d](1);var T=x.getTime();x[d](1+b);var D=x.getTime()-T;return function(d,b){return Math.max(0,Math.round((b-d)/D))}}(H,d),J=b,ee=new Date(J);J<x&&J<=T[1];){if(Y.push({value:J}),U++>1e4){0;break}if(ee[H](ee[D]()+d),J=ee.getTime(),z){var te=z.calcNiceTickMultiple(J,Z);te>0&&(ee[H](ee[D]()+te*d),J=ee.getTime())}}Y.push({value:J,notAdd:!0})}function addLevelTicks(d,D,z){var H=[],W=!D.length;if(!isPrimaryUnitValueAndGreaterSame(getPrimaryTimeUnit(d),T[0],T[1],x)){W&&(D=[{value:getFirstTimestampOfUnit(T[0],d,x)},{value:T[1]}]);for(var U=0;U<D.length-1;U++){var Y=D[U].value,Z=D[U+1].value;if(Y!==Z){var J=void 0,ee=void 0,te=void 0;switch(d){case"year":J=Math.max(1,Math.round(b/864e5/365)),ee=fullYearGetterName(x),te=fullYearSetterName(x);break;case"half-year":case"quarter":case"month":J=getMonthInterval(b),ee=monthGetterName(x),te=monthSetterName(x);break;case"week":case"half-week":case"day":J=getDateInterval(b,31),ee=dateGetterName(x),te=dateSetterName(x),!0;break;case"half-day":case"quarter-day":case"hour":J=getHourInterval(b),ee=hoursGetterName(x),te=hoursSetterName(x);break;case"minute":J=getMinutesAndSecondsInterval(b,!0),ee=minutesGetterName(x),te=minutesSetterName(x);break;case"second":J=getMinutesAndSecondsInterval(b,!1),ee=secondsGetterName(x),te=secondsSetterName(x);break;case"millisecond":J=getMillisecondsInterval(b),ee=millisecondsGetterName(x),te=millisecondsSetterName(x)}Z>=T[0]&&Y<=T[1]&&addTicksInSpan(J,Y,Z,ee,te,0,H),"year"===d&&z.length>1&&0===U&&z.unshift({value:z[0].value-J})}}for(U=0;U<H.length;U++)z.push(H[U])}}for(var Y=[],Z=[],J=0,ee=0,te=0;te<W.length;++te){var ne=getPrimaryTimeUnit(W[te]);if((de=W[te])===getPrimaryTimeUnit(de)){addLevelTicks(W[te],Y[Y.length-1]||[],Z);var ie=W[te+1]?getPrimaryTimeUnit(W[te+1]):null;if(ne!==ie){if(Z.length){ee=J,Z.sort((function(d,b){return d.value-b.value}));for(var oe=[],se=0;se<Z.length;++se){var le=Z[se].value;0!==se&&Z[se-1].value===le||(oe.push(Z[se]),le>=T[0]&&le<=T[1]&&J++)}var ce=D/b;if(J>1.5*ce&&ee>ce/1.5)break;if(Y.push(oe),J>ce||d===W[te])break}Z=[]}}}var de;var he=Object(H.n)(Object(H.H)(Y,(function(d){return Object(H.n)(d,(function(d){return d.value>=T[0]&&d.value<=T[1]&&!d.notAdd}))})),(function(d){return d.length>0})),pe=[],fe=he.length-1;for(te=0;te<he.length;++te)for(var ge=he[te],me=0;me<ge.length;++me){var ye=getUnitFromValue(ge[me].value,x);pe.push({value:ge[me].value,time:{level:fe-te,upperTimeUnit:ye,lowerTimeUnit:ye}})}pe.sort((function(d,b){return d.value-b.value}));var ve=[];for(te=0;te<pe.length;++te)0!==te&&pe[te].value===pe[te-1].value||ve.push(pe[te]);return ve}(this._minLevelUnit,this._approxInterval,z,x,this._getExtentSpanWithBreaks(),this._brkCtx);D=D.concat(U);var Y=getUnitFromValue(x[1],z);D.push({value:x[1],time:{level:0,upperTimeUnit:Y,lowerTimeUnit:Y}});var Z=this.getSetting("useUTC"),J=go.length-1,ee=0;return Object(H.k)(D,(function(d){J=Math.min(J,Object(H.r)(go,d.time.upperTimeUnit)),ee=Math.max(ee,d.time.level)})),T&&getScaleBreakHelper().pruneTicksByBreak(d.pruneByBreak,D,this._brkCtx.breaks,(function(d){return d.value}),this._approxInterval,this._extent),T&&"none"!==d.breakTicks&&getScaleBreakHelper().addBreaksToTicks(D,this._brkCtx.breaks,this._extent,(function(d){for(var b=Math.max(Object(H.r)(go,getUnitFromValue(d.vmin,Z)),Object(H.r)(go,getUnitFromValue(d.vmax,Z))),x=0,T=0;T<go.length;T++)if(!isPrimaryUnitValueAndGreaterSame(go[T],d.vmin,d.vmax,Z)){x=T;break}var D=Math.min(x,J),z=Math.max(D,b);return{level:ee,lowerTimeUnit:go[z],upperTimeUnit:go[D]}})),D},TimeScale.prototype.calcNiceExtent=function(d){var b=this.getExtent();if(b[0]===b[1]&&(b[0]-=864e5,b[1]+=864e5),b[1]===-1/0&&b[0]===1/0){var x=new Date;b[1]=+new Date(x.getFullYear(),x.getMonth(),x.getDate()),b[0]=b[1]-864e5}this._innerSetExtent(b[0],b[1]),this.calcNiceTicks(d.splitNumber,d.minInterval,d.maxInterval)},TimeScale.prototype.calcNiceTicks=function(d,b,x){d=d||10;var T=this._getExtentSpanWithBreaks();this._approxInterval=T/d,null!=b&&this._approxInterval<b&&(this._approxInterval=b),null!=x&&this._approxInterval>x&&(this._approxInterval=x);var D=vh.length,z=Math.min(function(d,b,x,T){for(;x<T;){var D=x+T>>>1;d[D][1]<b?x=D+1:T=D}return x}(vh,this._approxInterval,0,D),D-1);this._interval=vh[z][1],this._intervalPrecision=getIntervalPrecision(this._interval),this._minLevelUnit=vh[Math.max(z-1,0)][0]},TimeScale.prototype.parse=function(d){return Object(H.z)(d)?d:+parseDate(d)},TimeScale.prototype.contain=function(d){return helper_contain(d,this._extent)},TimeScale.prototype.normalize=function(d){return this._calculator.normalize(d,this._extent)},TimeScale.prototype.scale=function(d){return this._calculator.scale(d,this._extent)},TimeScale.type="time",TimeScale}(mh),vh=[["second",1e3],["minute",6e4],["hour",36e5],["quarter-day",216e5],["half-day",432e5],["day",10368e4],["half-week",3024e5],["week",6048e5],["month",26784e5],["quarter",8208e6],["half-year",15768e
8086],["year",31536e6]];function isPrimaryUnitValueAndGreaterSame(d,b,x,T){return roundTime(new Date(b),d,T).getTime()===roundTime(new Date(x),d,T).getTime()}function getDateInterval(d,b){return(d/=864e5)>16?16:d>7.5?7:d>3.5?4:d>1.5?2:1}function getMonthInterval(d){return(d/=2592e6)>6?6:d>3?3:d>2?2:1}function getHourInterval(d){return(d/=36e5)>12?12:d>6?6:d>3.5?4:d>2?2:1}function getMinutesAndSecondsInterval(d,b){return(d/=b?6e4:1e3)>30?30:d>20?20:d>15?15:d>10?10:d>5?5:d>2?2:1}function getMillisecondsInterval(d){return nice(d,!0)}function getFirstTimestampOfUnit(d,b,x){var T=Math.max(0,Object(H.r)(go,b)-1);return roundTime(new Date(d),go[T],x).getTime()}dh.registerClass(yh);var bh=yh,xh=round,_h=Math.floor,wh=Math.ceil,Sh=Math.pow,Mh=Math.log,Ch=function(d){function LogScale(){var b=null!==d&&d.apply(this,arguments)||this;return b.type="log",b.base=10,b._originalScale=new mh,b}return __extends(LogScale,d),LogScale.prototype.getTicks=function(b){b=b||{};var x=this._extent.slice(),T=this._originalScale.getExtent(),D=d.prototype.getTicks.call(this,b),z=this.base,W=this._originalScale._innerGetBreaks(),U=getScaleBreakHelper();return H.H(D,(function(d){var b,D=d.value,H=null,Y=Sh(z,D);if(D===x[0]&&this._fixMin?H=T[0]:D===x[1]&&this._fixMax&&(H=T[1]),U){var Z=U.getTicksLogTransformBreak(d,z,W,Log_fixRoundingError);b=Z.vBreak,null==H&&(H=Z.brkRoundingCriterion)}return null!=H&&(Y=Log_fixRoundingError(Y,H)),{value:Y,break:b}}),this)},LogScale.prototype._getNonTransBreaks=function(){return this._originalScale._innerGetBreaks()},LogScale.prototype.setExtent=function(b,x){this._originalScale.setExtent(b,x);var T=logTransform(this.base,[b,x]);d.prototype.setExtent.call(this,T[0],T[1])},LogScale.prototype.getExtent=function(){var b=this.base,x=d.prototype.getExtent.call(this);x[0]=Sh(b,x[0]),x[1]=Sh(b,x[1]);var T=this._originalScale.getExtent();return this._fixMin&&(x[0]=Log_fixRoundingError(x[0],T[0])),this._fixMax&&(x[1]=Log_fixRoundingError(x[1],T[1])),x},LogScale.prototype.unionExtentFromData=function(d,b){this._originalScale.unionExtentFromData(d,b);var x=logTransform(this.base,d.getApproximateExtent(b),!0);this._innerUnionExtent(x)},LogScale.prototype.calcNiceTicks=function(d){d=d||10;var b=this._extent.slice(),x=this._getExtentSpanWithBreaks();if(isFinite(x)&&!(x<=0)){var T,D=(T=x,Math.pow(10,quantityExponent(T)));for(d/x*D<=.5&&(D*=10);!isNaN(D)&&Math.abs(D)<1&&Math.abs(D)>0;)D*=10;var z=[xh(wh(b[0]/D)*D),xh(_h(b[1]/D)*D)];this._interval=D,this._intervalPrecision=getIntervalPrecision(D),this._niceExtent=z}},LogScale.prototype.calcNiceExtent=function(b){d.prototype.calcNiceExtent.call(this,b),this._fixMin=b.fixMin,this._fixMax=b.fixMax},LogScale.prototype.contain=function(b){return b=Mh(b)/Mh(this.base),d.prototype.contain.call(this,b)},LogScale.prototype.normalize=function(b){return b=Mh(b)/Mh(this.base),d.prototype.normalize.call(this,b)},LogScale.prototype.scale=function(b){return b=d.prototype.scale.call(this,b),Sh(this.base,b)},LogScale.prototype.setBreaksFromOption=function(d){var b=getScaleBreakHelper();if(b){var x=b.logarithmicParseBreaksFromOption(d,this.base,H.c(this.parse,this)),T=x.parsedOriginal,D=x.parsedLogged;this._originalScale._innerSetBreak(T),this._innerSetBreak(D)}},LogScale.type="log",LogScale}(mh);function Log_fixRoundingError(d,b){return xh(d,getPrecision(b))}dh.registerClass(Ch);var Th=Ch,kh=function(){function ScaleRawExtentInfo(d,b,x){this._prepareParams(d,b,x)}return ScaleRawExtentInfo.prototype._prepareParams=function(d,b,x){x[1]<x[0]&&(x=[NaN,NaN]),this._dataMin=x[0],this._dataMax=x[1];var T=this._isOrdinal="ordinal"===d.type;this._needCrossZero="interval"===d.type&&b.getNeedCrossZero&&b.getNeedCrossZero();var D=b.get("min",!0);null==D&&(D=b.get("startValue",!0));var z=this._modelMinRaw=D;Object(H.w)(z)?this._modelMinNum=parseAxisModelMinMax(d,z({min:x[0],max:x[1]})):"dataMin"!==z&&(this._modelMinNum=parseAxisModelMinMax(d,z));var W=this._modelMaxRaw=b.get("max",!0);if(Object(H.w)(W)?this._modelMaxNum=parseAxisModelMinMax(d,W({min:x[0],max:x[1]})):"dataMax"!==W&&(this._modelMaxNum=parseAxisModelMinMax(d,W)),T)this._axisDataLen=b.getCategories().length;else{var U=b.get("boundaryGap"),Y=Object(H.t)(U)?U:[U||0,U||0];"boolean"==typeof Y[0]||"boolean"==typeof Y[1]?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[parsePercent(Y[0],1),parsePercent(Y[1],1)]}},ScaleRawExtentInfo.prototype.calculate=function(){var d=this._isOrdinal,b=this._dataMin,x=this._dataMax,T=this._axisDataLen,D=this._boundaryGapInner,z=d?null:x-b||Math.abs(b),W="dataMin"===this._modelMinRaw?b:this._modelMinNum,U="dataMax"===this._modelMaxRaw?x:this._modelMaxNum,Y=null!=W,Z=null!=U;null==W&&(W=d?T?0:NaN:b-D[0]*z),null==U&&(U=d?T?T-1:NaN:x+D[1]*z),(null==W||!isFinite(W))&&(W=NaN),(null==U||!isFinite(U))&&(U=NaN);var J=Object(H.l)(W)||Object(H.l)(U)||d&&!T;this._needCrossZero&&(W>0&&U>0&&!Y&&(W=0),W<0&&U<0&&!Z&&(U=0));var ee=this._determinedMin,te=this._determinedMax;return null!=ee&&(W=ee,Y=!0),null!=te&&(U=te,Z=!0),{min:W,max:U,minFixed:Y,maxFixed:Z,isBlank:J}},ScaleRawExtentInfo.prototype.modifyDataMinMax=function(d,b){this[Ph[d]]=b},ScaleRawExtentInfo.prototype.setDeterminedMinMax=function(d,b){this[Ah[d]]=b},ScaleRawExtentInfo.prototype.freeze=function(){this.frozen=!0},ScaleRawExtentInfo}(),Ah={min:"_determinedMin",max:"_determinedMax"},Ph={min:"_dataMin",max:"_dataMax"};function ensureScaleRawExtentInfo(d,b,x){var T=d.rawExtentInfo;return T||(T=new kh(d,b,x),d.rawExtentInfo=T,T)}function parseAxisModelMinMax(d,b){return null==b?null:Object(H.l)(b)?NaN:d.parse(b)}function getScaleExtent(d,b){var x=d.type,T=ensureScaleRawExtentInfo(d,b,d.getExtent()).c
808alculate();d.setBlank(T.isBlank);var D=T.min,z=T.max,W=b.ecModel;if(W&&"time"===x){var U=prepareLayoutBarSeries("bar",W),Y=!1;if(H.k(U,(function(d){Y=Y||d.getBaseAxis()===b.axis})),Y){var Z=makeColumnLayout(U),J=function(d,b,x,T){var D=x.axis.getExtent(),z=Math.abs(D[1]-D[0]),W=function(d,b,x){if(d&&b){var T=d[getAxisKey(b)];return null!=T&&null!=x?T[getSeriesStackId(x)]:T}}(T,x.axis);if(void 0===W)return{min:d,max:b};var U=1/0;H.k(W,(function(d){U=Math.min(d.offset,U)}));var Y=-1/0;H.k(W,(function(d){Y=Math.max(d.offset+d.width,Y)})),U=Math.abs(U),Y=Math.abs(Y);var Z=U+Y,J=b-d,ee=J/(1-(U+Y)/z)-J;return{min:d-=ee*(U/Z),max:b+=ee*(Y/Z)}}(D,z,b,Z);D=J.min,z=J.max}}return{extent:[D,z],fixMin:T.minFixed,fixMax:T.maxFixed}}function niceScaleExtent(d,b){var x=b,T=getScaleExtent(d,x),D=T.extent,z=x.get("splitNumber");d instanceof Th&&(d.base=x.get("logBase"));var H=d.type,W=x.get("interval"),U="interval"===H||"time"===H;d.setBreaksFromOption(retrieveAxisBreaksOption(x)),d.setExtent(D[0],D[1]),d.calcNiceExtent({splitNumber:z,fixMin:T.fixMin,fixMax:T.fixMax,minInterval:U?x.get("minInterval"):null,maxInterval:U?x.get("maxInterval"):null}),null!=W&&d.setInterval&&d.setInterval(W)}function createScaleByModel(d,b){if(b=b||d.get("type"))switch(b){case"category":return new ph({ordinalMeta:d.getOrdinalMeta?d.getOrdinalMeta():d.getCategories(),extent:[1/0,-1/0]});case"time":return new bh({locale:d.ecModel.getLocaleModel(),useUTC:d.ecModel.get("useUTC")});default:return new(dh.getClass(b)||mh)}}function makeLabelFormatter(d){var b=d.getLabelModel().get("formatter");if("time"===d.type){var x=parseTimeAxisLabelFormatter(b);return function(b,T){return d.scale.getFormattedLabel(b,T,x)}}if(H.C(b))return function(x){var T=d.scale.getLabel(x);return b.replace("{value}",null!=T?T:"")};if(H.w(b)){if("category"===d.type)return function(x,T){return b(getAxisRawValue(d,x),x.value-d.scale.getExtent()[0],null)};var T=getScaleBreakHelper();return function(x,D){var z=null;return T&&(z=T.makeAxisLabelFormatterParamBreak(z,x.break)),b(getAxisRawValue(d,x),D,z)}}return function(b){return d.scale.getLabel(b)}}function getAxisRawValue(d,b){return"category"===d.type?d.scale.getLabel(b):b.value}function getOptionCategoryInterval(d){var b=d.get("interval");return null==b?"auto":b}function shouldShowAllLabels(d){return"category"===d.type&&0===getOptionCategoryInterval(d.getLabelModel())}function getDataDimensionsOnAxis(d,b){var x={};return H.k(d.mapDimensionsAll(b),(function(b){x[getStackedDimension(d,b)]=!0})),H.F(x)}function isNameLocationCenter(d){return"middle"===d||"center"===d}function shouldAxisShow(d){return d.getShallow("show")}function retrieveAxisBreaksOption(d){var b,x=d.get("breaks",!0);if(null!=x)return getScaleBreakHelper()?"x"!==(b=d.axis).dim&&"y"!==b.dim&&"z"!==b.dim&&"single"!==b.dim||"category"===b.type?void 0:x:void 0}var Oh=function(){function Cartesian(d){this.type="cartesian",this._dimList=[],this._axes={},this.name=d||""}return Cartesian.prototype.getAxis=function(d){return this._axes[d]},Cartesian.prototype.getAxes=function(){return H.H(this._dimList,(function(d){return this._axes[d]}),this)},Cartesian.prototype.getAxesByScale=function(d){return d=d.toLowerCase(),H.n(this.getAxes(),(function(b){return b.scale.type===d}))},Cartesian.prototype.addAxis=function(d){var b=d.dim;this._axes[b]=d,this._dimList.push(b)},Cartesian}(),Ih=["x","y"];function canCalculateAffineTransform(d){return("interval"===d.type||"time"===d.type)&&!d.hasBreaks()}var Dh=function(d){function Cartesian2D(){var b=null!==d&&d.apply(this,arguments)||this;return b.type="cartesian2d",b.dimensions=Ih,b}return __extends(Cartesian2D,d),Cartesian2D.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var d=this.getAxis("x").scale,b=this.getAxis("y").scale;if(canCalculateAffineTransform(d)&&canCalculateAffineTransform(b)){var x=d.getExtent(),T=b.getExtent(),D=this.dataToPoint([x[0],T[0]]),z=this.dataToPoint([x[1],T[1]]),H=x[1]-x[0],W=T[1]-T[0];if(H&&W){var U=(z[0]-D[0])/H,Y=(z[1]-D[1])/W,Z=D[0]-x[0]*U,J=D[1]-T[0]*Y,ee=this._transform=[U,0,0,Y,Z,J];this._invTransform=matrix_invert([],ee)}}},Cartesian2D.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},Cartesian2D.prototype.containPoint=function(d){var b=this.getAxis("x"),x=this.getAxis("y");return b.contain(b.toLocalCoord(d[0]))&&x.contain(x.toLocalCoord(d[1]))},Cartesian2D.prototype.containData=function(d){return this.getAxis("x").containData(d[0])&&this.getAxis("y").containData(d[1])},Cartesian2D.prototype.containZone=function(d,b){var x=this.dataToPoint(d),T=this.dataToPoint(b),D=this.getArea(),z=new Ee(x[0],x[1],T[0]-x[0],T[1]-x[1]);return D.intersect(z)},Cartesian2D.prototype.dataToPoint=function(d,b,x){x=x||[];var T=d[0],D=d[1];if(this._transform&&null!=T&&isFinite(T)&&null!=D&&isFinite(D))return applyTransform(x,d,this._transform);var z=this.getAxis("x"),H=this.getAxis("y");return x[0]=z.toGlobalCoord(z.dataToCoord(T,b)),x[1]=H.toGlobalCoord(H.dataToCoord(D,b)),x},Cartesian2D.prototype.clampData=function(d,b){var x=this.getAxis("x").scale,T=this.getAxis("y").scale,D=x.getExtent(),z=T.getExtent(),H=x.parse(d[0]),W=T.parse(d[1]);return(b=b||[])[0]=Math.min(Math.max(Math.min(D[0],D[1]),H),Math.max(D[0],D[1])),b[1]=Math.min(Math.max(Math.min(z[0],z[1]),W),Math.max(z[0],z[1])),b},Cartesian2D.prototype.pointToData=function(d,b,x){if(x=x||[],this._invTransform)return applyTransform(x,d,this._invTransform);var T=this.getAxis("x"),D=this.getAxis("y");return x[0]=T.coordToData(T.toLocalCoord(d[0]),b),x[1]=D.coordToData(D.toLocalCoord(d[1]),b),x},Cartesian2D.prototype.getOtherAxis=function(d){return this.getAxis("x"===d.dim?"y":"x")},Cartesian2D.prototype.getArea=function(d){d=d||0;var b=this.getAxis("x").getGlobalExtent(),x=this.getAxis("y").getGlobalExtent(),T=Math.min(b[0],b[1])-d,D=Math.min(x[0],x[1])-d,z=Math.max(b[0],b[1])-T+d,H=Math.max(x[0],x[1])-D+d;return new Ee(T,D,z,H)},Cartesian2D}(Oh),Eh=makeInner(),Lh=makeInner(),Rh=1,Bh=2;function createAxisLabelsComputingContext(d){return{out:{noPxChangeTryDetermine:[]},kind:d}}function tickValuesToNumbers(d,b){var x=H.H(b,(function(b){return d.scale.parse(b)}));return"time"===d.type&&x.length>0&&(x.sort(),x.unshift(x[0]),x.push(x[x.length-1])),x}function createAxisLabels(d,b){var x=d.getLabelModel().get("customValues");if(x){var T=makeLabelFormatter(d),D=d.scale.getExtent(),z=tickValuesToNumbers(d,x),W=H.n(z,(function(d){return d>=D[0]&&d<=D[1]}));return{labels:H.H(W,(function(b){var x={value:b};return{formattedLabel:T(x),rawLabel:d.scale.getLabel(x),tickValue:b,time:void 0,break:void 0}}))}}return"category"===d.type?function(d,b){var x=d.getLabelModel(),T=makeCategoryLabelsActually(d,x,b);return!x.get("show")||d.scale.isBlank()?{labels:[]}:T}(d,b):function(d){var b=d.scale.getTicks(),x=makeLabelFormatter(d);return{labels:H.H(b,(function(b,T){return{formattedLabel:x(b,T),rawLabel:d.scale.getLabel(b),tickValue:b.value,time:b.time,break:b.break}}
808))}}(d)}function createAxisTicks(d,b,x){var T=d.getTickModel().get("customValues");if(T){var D=d.scale.getExtent(),z=tickValuesToNumbers(d,T);return{ticks:H.n(z,(function(d){return d>=D[0]&&d<=D[1]}))}}return"category"===d.type?function(d,b){var x,T,D=Nh(d),z=getOptionCategoryInterval(b),W=axisCacheGet(D,z);if(W)return W;b.get("show")&&!d.scale.isBlank()||(x=[]);if(H.w(z))x=makeLabelsByCustomizedCategoryInterval(d,z,!0);else if("auto"===z){var U=makeCategoryLabelsActually(d,d.getLabelModel(),createAxisLabelsComputingContext(Bh));T=U.labelCategoryInterval,x=H.H(U.labels,(function(d){return d.tickValue}))}else x=makeLabelsByNumericCategoryInterval(d,T=z,!0);return axisCacheSet(D,z,{ticks:x,tickCategoryInterval:T})}(d,b):{ticks:H.H(d.scale.getTicks(x),(function(d){return d.value}))}}function makeCategoryLabelsActually(d,b,x){var T,D,z=jh(d),W=getOptionCategoryInterval(b),U=x.kind===Rh;if(!U){var Y=axisCacheGet(z,W);if(Y)return Y}H.w(W)?T=makeLabelsByCustomizedCategoryInterval(d,W):(D="auto"===W?function(d,b){if(b.kind===Rh){var x=d.calculateCategoryInterval(b);return b.out.noPxChangeTryDetermine.push((function(){return Lh(d).autoInterval=x,!0})),x}var T=Lh(d).autoInterval;return null!=T?T:Lh(d).autoInterval=d.calculateCategoryInterval(b)}(d,x):W,T=makeLabelsByNumericCategoryInterval(d,D));var Z={labels:T,labelCategoryInterval:D};return U?x.out.noPxChangeTryDetermine.push((function(){return axisCacheSet(z,W,Z),!0})):axisCacheSet(z,W,Z),Z}var Nh=initAxisCacheMethod("axisTick"),jh=initAxisCacheMethod("axisLabel");function initAxisCacheMethod(d){return function(b){return Lh(b)[d]||(Lh(b)[d]={list:[]})}}function axisCacheGet(d,b){for(var x=0;x<d.list.length;x++)if(d.list[x].key===b)return d.list[x].value}function axisCacheSet(d,b,x){return d.list.push({key:b,value:x}),x}function calculateCategoryIntervalTryDetermine(d,b,x){return null==calculateCategoryIntervalDealCache(d,b,x)}function calculateCategoryIntervalDealCache(d,b,x){var T=Eh(d.model),D=d.getExtent(),z=T.lastAutoInterval,H=T.lastTickCount;if(null!=z&&null!=H&&Math.abs(z-b)<=1&&Math.abs(H-x)<=1&&z>b&&T.axisExtent0===D[0]&&T.axisExtent1===D[1])return z;T.lastTickCount=x,T.lastAutoInterval=b,T.axisExtent0=D[0],T.axisExtent1=D[1]}function makeLabelsByNumericCategoryInterval(d,b,x){var T=makeLabelFormatter(d),D=d.scale,z=D.getExtent(),H=d.getLabelModel(),W=[],U=Math.max((b||0)+1,1),Y=z[0],Z=D.count();0!==Y&&U>1&&Z/U>2&&(Y=Math.round(Math.ceil(Y/U)*U));var J=shouldShowAllLabels(d),ee=H.get("showMinLabel")||J,te=H.get("showMaxLabel")||J;ee&&Y!==z[0]&&addItem(z[0]);for(var ne=Y;ne<=z[1];ne+=U)addItem(ne);function addItem(d){var b={value:d};W.push(x?d:{formattedLabel:T(b),rawLabel:D.getLabel(b),tickValue:d,time:void 0,break:void 0})}return te&&ne-U!==z[1]&&addItem(z[1]),W}function makeLabelsByCustomizedCategoryInterval(d,b,x){var T=d.scale,D=makeLabelFormatter(d),z=[];return H.k(T.getTicks(),(function(d){var H=T.getLabel(d),W=d.value;b(d.value,H)&&z.push(x?W:{formattedLabel:D(d),rawLabel:H,tickValue:W,time:void 0,break:void 0})})),z}var Vh=[0,1];function fixExtentWithBands(d,b){var x=(d[1]-d[0])/b/2;d[0]+=x,d[1]-=x}var zh=function(){function Axis(d,b,x){this.onBand=!1,this.inverse=!1,this.dim=d,this.scale=b,this._extent=x||[0,0]}return Axis.prototype.contain=function(d){var b=this._extent,x=Math.min(b[0],b[1]),T=Math.max(b[0],b[1]);return d>=x&&d<=T},Axis.prototype.containData=function(d){return this.scale.contain(this.scale.parse(d))},Axis.prototype.getExtent=function(){return this._extent.slice()},Axis.prototype.getPixelPrecision=function(d){return getPixelPrecision(d||this.scale.getExtent(),this._extent)},Axis.prototype.setExtent=function(d,b){var x=this._extent;x[0]=d,x[1]=b},Axis.prototype.dataToCoord=function(d,b){var x=this._extent,T=this.scale;return d=T.normalize(T.parse(d)),this.onBand&&"ordinal"===T.type&&fixExtentWithBands(x=x.slice(),T.count()),linearMap(d,Vh,x,b)},Axis.prototype.coordToData=function(d,b){var x=this._extent,T=this.scale;this.onBand&&"ordinal"===T.type&&fixExtentWithBands(x=x.slice(),T.count());var D=linearMap(d,x,Vh,b);return this.scale.scale(D)},Axis.prototype.pointToData=function(d,b){},Axis.prototype.getTicksCoords=function(d){var b=(d=d||{}).tickModel||this.getTickModel(),x=createAxisTicks(this,b,{breakTicks:d.breakTicks,pruneByBreak:d.pruneByBreak}).ticks,T=Object(H.H)(x,(function(d){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(d):d),tickValue:d}}),this);return function(d,b,x,T){var D=b.length;if(!d.onBand||x||!D)return;var z,W,U=d.getExtent();if(1===D)b[0].coord=U[0],b[0].onBand=!0,z=b[1]={coord:U[1],tickValue:b[0].tickValue,onBand:!0};else{var Y=b[D-1].tickValue-b[0].tickValue,Z=(b[D-1].coord-b[0].coord)/Y;Object(H.k)(b,(function(d){d.coord-=Z/2,d.onBand=!0}));var J=d.scale.getExtent();
808W=1+J[1]-b[D-1].tickValue,z={coord:b[D-1].coord+Z*W,tickValue:J[1]+1,onBand:!0},b.push(z)}var ee=U[0]>U[1];littleThan(b[0].coord,U[0])&&(T?b[0].coord=U[0]:b.shift());T&&littleThan(U[0],b[0].coord)&&b.unshift({coord:U[0],onBand:!0});littleThan(U[1],z.coord)&&(T?z.coord=U[1]:b.pop());T&&littleThan(z.coord,U[1])&&b.push({coord:U[1],onBand:!0});function littleThan(d,b){return d=round(d),b=round(b),ee?d>b:d<b}}(this,T,b.get("alignWithLabel"),d.clamp),T},Axis.prototype.getMinorTicksCoords=function(){if("ordinal"===this.scale.type)return[];var d=this.model.getModel("minorTick").get("splitNumber");d>0&&d<100||(d=5);var b=this.scale.getMinorTicks(d);return Object(H.H)(b,(function(d){return Object(H.H)(d,(function(d){return{coord:this.dataToCoord(d),tickValue:d}}),this)}),this)},Axis.prototype.getViewLabels=function(d){return createAxisLabels(this,d=d||createAxisLabelsComputingContext(Bh)).labels},Axis.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},Axis.prototype.getTickModel=function(){return this.model.getModel("axisTick")},Axis.prototype.getBandWidth=function(){var d=this._extent,b=this.scale.getExtent(),x=b[1]-b[0]+(this.onBand?1:0);0===x&&(x=1);var T=Math.abs(d[1]-d[0]);return Math.abs(T)/x},Axis.prototype.calculateCategoryInterval=function(d){return function(d,b){var x=b.kind,T=function(d){var b=d.getLabelModel();return{axisRotate:d.getRotate?d.getRotate():d.isHorizontal&&!d.isHorizontal()?90:0,labelRotate:b.get("rotate")||0,font:b.getFont()}}(d),D=makeLabelFormatter(d),z=(T.axisRotate-T.labelRotate)/180*Math.PI,W=d.scale,U=W.getExtent(),Y=W.count();if(U[1]-U[0]<1)return 0;var Z=1;Y>40&&(Z=Math.max(1,Math.floor(Y/40)));for(var J=U[0],ee=d.dataToCoord(J+1)-d.dataToCoord(J),te=Math.abs(ee*Math.cos(z)),ne=Math.abs(ee*Math.sin(z)),ie=0,oe=0;J<=U[1];J+=Z){var se,le,ce=getBoundingRect(D({value:J}),T.font,"center","top");se=1.3*ce.width,le=1.3*ce.height,ie=Math.max(ie,se,7),oe=Math.max(oe,le,7)}var de=ie/te,he=oe/ne;isNaN(de)&&(de=1/0),isNaN(he)&&(he=1/0);var pe=Math.max(0,Math.floor(Math.min(de,he)));if(x===Rh)return b.out.noPxChangeTryDetermine.push(H.c(calculateCategoryIntervalTryDetermine,null,d,pe,Y)),pe;var fe=calculateCategoryIntervalDealCache(d,pe,Y);return null!=fe?fe:pe}(this,d=d||createAxisLabelsComputingContext(Bh))},Axis}(),Fh=function(d){function Axis2D(b,x,T,D,z){var H=d.call(this,b,x,T)||this;return H.index=0,H.type=D||"value",H.position=z||"bottom",H}return __extends(Axis2D,d),Axis2D.prototype.isHorizontal=function(){var d=this.position;return"top"===d||"bottom"===d},Axis2D.prototype.getGlobalExtent=function(d){var b=this.getExtent();return b[0]=this.toGlobalCoord(b[0]),b[1]=this.toGlobalCoord(b[1]),d&&b[0]>b[1]&&b.reverse(),b},Axis2D.prototype.pointToData=function(d,b){return this.coordToData(this.toLocalCoord(d["x"===this.dim?0:1]),b)},Axis2D.prototype.setCategorySortInfo=function(d){if("category"!==this.type)return!1;this.model.option.categorySortInfo=d,this.scale.setSortInfo(d)},Axis2D}(zh),Hh={type:"expandAxisBreak",event:"axisbreakchanged",update:"update",refineEvent:refineAxisBreakChangeEvent},Gh={type:"collapseAxisBreak",event:"axisbreakchanged",update:"update",refineEvent:refineAxisBreakChangeEvent},$h={type:"toggleAxisBreak",event:"axisbreakchanged",update:"update",refineEvent:refineAxisBreakChangeEvent};function refineAxisBreakChangeEvent(d,b,x,T){var D=[];return Object(H.k)(d,(function(d){D=D.concat(d.eventBreaks)})),{eventContent:{breaks:D}}}var Wh=Math.PI,Uh=[[1,2,1,2],[5,3,5,3],[8,3,8,3]],Yh=[[0,1,0,1],[0,3,0,3],[0,3,0,3]],qh=makeInner(),Zh=makeInner(),Xh=function(){function AxisBuilderSharedContext(d){this.recordMap={},this.resolveAxisNameOverlap=d}return AxisBuilderSharedContext.prototype.ensureRecord=function(d){var b=d.axis.dim,x=d.componentIndex,T=this.recordMap,D=T[b]||(T[b]=[]);return D[x]||(D[x]={ready:{}})},AxisBuilderSharedContext}();var Kh=[1,0,0,1,0,0],Jh=new Ee(0,0,0,0),AxisBuilder_resolveAxisNameOverlapDefault=function(d,b,x,T,D,z){if(isNameLocationCenter(d.nameLocation)){var H=z.stOccupiedRect;H&&moveIfOverlap((W={},U=H,Y=z.transGroup.transform,W.transform=ensureCopyTransform(W.transform,Y),W.localRect=ensureCopyRect(W.localRect,U),W.rect=ensureCopyRect(W.rect,U),Y&&W.rect.applyTransform(Y),W.axisAligned=isBoundingRectAxisAligned(Y),W.obb=void 0,(W.label=W.label||{}).ignore=!1,W),T,D)}else moveIfOverlapByLinearLabels(z.labelInfoList,z.dirVec,T,D);var W,U,Y};function moveIfOverlap(d,b,x){var T=new ce;labelIntersect(d,b,T,{direction:Math.atan2(x.y,x.x),bidirectional:!1,touchThreshold:.05})&&labelLayoutApplyTranslation(b,T)}function moveIfOverlapByLinearLabels(d,b,x,T){for(var D=ce.dot(T,b)>=0,z=0,H=d.length;z<H;z++){var W=d[D?z:H-1-z];W.label.ignore||moveIfOverlap(W,x,T)}}var Qh=function(){function AxisBuilder(d,b,x,T){this.group=new Xn,this._axisModel=d,this._api=b,this._local={},this._shared=T||new Xh(AxisBuilder_resolveAxisNameOverlapDefault),this._resetCfgDetermined(x)}return AxisBuilder.prototype.updateCfg=function(d){var b=this._cfg.raw;b.position=d.position,b.labelOffset=d.labelOffset,this._resetCfgDetermined(b)},AxisBuilder.prototype.__getRawCfg=function(){return this._cfg.raw},AxisBuilder.prototype._resetCfgDetermined=function(d){var b=this._axisModel,x=b.getDefaultOption?b.getDefaultOption():{},T=Object(H.P)(d.axisName,b.get("name")),D=b.get("nameMoveOverlap");null!=D&&"auto"!==D||(D=Object(H.P)(d.defaultNameMoveOverlap,!0));var z={raw:d,position:d.position,rotation:d.rotation,nameDirection:Object(H.P)(d.nameDirection,1),tickDirection:Object(H.P)(d.tickDirection,1),labelDirection:Object(H.P)(d.labelDirection,1),labelOffset:Object(H.P)(d.labelOffset,0),silent:Object(H.P)(d.silent,!0),axisName:T,nameLocation:Object(H.Q)(b.get("nameLocation"),x.nameLocation,"end"),shouldNameMoveOverlap:hasAxisName(T)&&D,optionHideOverlap:b.get(["axisLabel","hideOverlap"]),showMinorTicks:b.get(["minorTick","show"])};this._cfg=z;var W=new Xn({x:z.position[0],y:z.position[1],rotation:z.rotation});W.updateTransform(),this._transformGroup=W;var U=this._shared.ensureRecord(b);U.transGroup=this._transformGroup,U.dirVec=new ce(Math.cos(-z.rotation),Math.sin(-z.rotation))},AxisBuilder.prototype.build=function(d,b){var x=this;
vendor: 7,504 bytes, line 808
808return d||(d={axisLine:!0,axisTickLabelEstimate:!1,axisTickLabelDetermine:!0,axisName:!0}),Object(H.k)(ep,(function(T){d[T]&&tp[T](x._cfg,x._local,x._shared,x._axisModel,x.group,x._transformGroup,x._api,b||{})})),this},AxisBuilder.innerTextLayout=function(d,b,x){var T,D,z=remRadian(b-d);return isRadianAroundZero(z)?(D=x>0?"top":"bottom",T="center"):isRadianAroundZero(z-Wh)?(D=x>0?"bottom":"top",T="center"):(D="middle",T=z>0&&z<Wh?x>0?"right":"left":x>0?"left":"right"),{rotation:z,textAlign:T,textVerticalAlign:D}},AxisBuilder.makeAxisEventDataBase=function(d){var b={componentType:d.mainType,componentIndex:d.componentIndex};return b[d.mainType+"Index"]=d.componentIndex,b},AxisBuilder.isLabelSilent=function(d){var b=d.get("tooltip");return d.get("silent")||!(d.get("triggerEvent")||b&&b.show)},AxisBuilder}(),ep=["axisLine","axisTickLabelEstimate","axisTickLabelDetermine","axisName"],tp={axisLine:function(d,b,x,T,D,z,W){var U=T.get(["axisLine","show"]);if("auto"===U&&(U=!0,null!=d.raw.axisLineAutoShow&&(U=!!d.raw.axisLineAutoShow)),U){var Y=T.axis.getExtent(),Z=z.transform,J=[Y[0],0],ee=[Y[1],0],te=J[0]>ee[0];Z&&(applyTransform(J,J,Z),applyTransform(ee,ee,Z));var ne=Object(H.m)({lineCap:"round"},T.getModel(["axisLine","lineStyle"]).getLineStyle()),ie={strokeContainThreshold:d.raw.strokeContainThreshold||5,silent:!0,z2:1,style:ne};if(T.get(["axisLine","breakLine"])&&T.axis.scale.hasBreaks())getAxisBreakHelper().buildAxisBreakLine(T,D,z,ie);else{var oe=new js(Object(H.m)({shape:{x1:J[0],y1:J[1],x2:ee[0],y2:ee[1]}},ie));graphic_subPixelOptimizeLine(oe.shape,oe.style.lineWidth),oe.anid="line",D.add(oe)}var se=T.get(["axisLine","symbol"]);if(null!=se){var le=T.get(["axisLine","symbolSize"]);Object(H.C)(se)&&(se=[se,se]),(Object(H.C)(le)||Object(H.z)(le))&&(le=[le,le]);var ce=normalizeSymbolOffset(T.get(["axisLine","symbolOffset"])||0,le),de=le[0],he=le[1];Object(H.k)([{rotate:d.rotation+Math.PI/2,offset:ce[0],r:0},{rotate:d.rotation-Math.PI/2,offset:ce[1],r:Math.sqrt((J[0]-ee[0])*(J[0]-ee[0])+(J[1]-ee[1])*(J[1]-ee[1]))}],(function(b,x){if("none"!==se[x]&&null!=se[x]){var T=symbol_createSymbol(se[x],-de/2,-he/2,de,he,ne.stroke,!0),z=b.r+b.offset,H=te?ee:J;T.attr({rotation:b.rotate,x:H[0]+z*Math.cos(d.rotation),y:H[1]-z*Math.sin(d.rotation),silent:!0,z2:11}),D.add(T)}}))}}},axisTickLabelEstimate:function(d,b,x,T,D,z,H,W){dealLastTickLabelResultReusable(b,D,W)&&layOutAxisTickLabel(d,b,x,T,D,z,H,Rh)},axisTickLabelDetermine:function(d,b,x,T,D,z,W,U){dealLastTickLabelResultReusable(b,D,U)&&layOutAxisTickLabel(d,b,x,T,D,z,W,Bh);var Y=function(d,b,x,T){var D=T.axis,z=T.getModel("axisTick"),W=z.get("show");"auto"===W&&(W=!0,null!=d.raw.axisTickAutoShow&&(W=!!d.raw.axisTickAutoShow));if(!W||D.scale.isBlank())return[];for(var U=z.getModel("lineStyle"),Y=d.tickDirection*z.get("length"),Z=createTicks(D.getTicksCoords(),x.transform,Y,Object(H.i)(U.getLineStyle(),{stroke:T.get(["axisLine","lineStyle","color"])}),"ticks"),J=0;J<Z.length;J++)b.add(Z[J]);return Z}(d,D,z,T);!function(d,b,x){if(d.showMinorTicks)return;Object(H.k)(b,(function(d){if(d&&d.label.ignore)for(var b=0;b<x.length;b++){var T=x[b],D=Zh(T),z=qh(d.label);if(null!=D.tickValue&&!D.onBand&&D.tickValue===z.tickValue)return void ignoreEl(T)}}))}(d,b.labelLayoutList,Y),function(d,b,x,T,D){var z=T.axis,W=T.getModel("minorTick");if(!d.showMinorTicks||z.scale.isBlank())return;var U=z.getMinorTicksCoords();if(!U.length)return;for(var Y=W.getModel("lineStyle"),Z=D*W.get("length"),J=Object(H.i)(Y.getLineStyle(),Object(H.i)(T.getModel("axisTick").getLineStyle(),{stroke:T.get(["axisLine","lineStyle","color"])})),ee=0;ee<U.length;ee++)for(var te=createTicks(U[ee],x.transform,Z,J,"minorticks_"+ee),ne=0;ne<te.length;ne++)b.add(te[ne])}(d,D,z,T,d.tickDirection)},axisName:function(d,b,x,T,D,z,W,U){var Y=x.ensureRecord(T);b.nameEl&&(D.remove(b.nameEl),b.nameEl=Y.nameLayout=Y.nameLocation=null);var Z=d.axisName;if(hasAxisName(Z)){var J=d.nameLocation,ee=d.nameDirection,te=T.getModel("nameTextStyle"),ne=T.get("nameGap")||0,ie=T.axis.getExtent(),oe=T.axis.inverse?-1:1,se=new ce(0,0),le=new ce(0,0);"start"===J?(se.x=ie[0]-oe*ne,le.x=-oe):"end"===J?(se.x=ie[1]+oe*ne,le.x=oe):(se.x=(ie[0]+ie[1])/2,se.y=d.labelOffset+ee*ne,le.y=ee);var de=[1,0,0,1,0,0];le.transform(matrix_rotate(de,de,d.rotation));var he,pe,fe=T.get("nameRotate");null!=fe&&(fe=fe*Wh/180),isNameLocationCenter(J)?he=Qh.innerTextLayout(d.rotation,null!=fe?fe:d.rotation,ee):(he=function(d,b,x,T){var D,z,H=remRadian(x-d),W=T[0]>T[1],U="start"===b&&!W||"start"!==b&&W;isRadianAroundZero(H-Wh/2)?(z=U?"bottom":"top",D="center"):isRadianAroundZero(H-1.5*Wh)?(z=U?"top":"bottom",D="center"):(z="middle",D=H<1.5*Wh&&H>Wh/2?U?"left":"right":U?"right":"left");return{rotation:H,textAlign:D,textVerticalAlign:z}}(d.rotation,J,fe||0,ie),null!=(pe=d.raw.axisNameAvailableWidth)&&(pe=Math.abs(pe/Math.sin(he.rotation)),!isFinite(pe)&&(pe=null)));var ge=te.getFont(),me=T.get("nameTruncate",!0)||{},ye=me.ellipsis,ve=Object(H.O)(d.raw.nameTruncateMaxWidth,me.maxWidth,pe),xe=U.nameMarginLevel||0,_e=new Pr({x:se.x,y:se.y,rotation:he.rotation,silent:Qh.isLabelSilent(T),style:createTextStyle(te,{text:Z,font:ge,overflow:"truncate",width:ve,ellipsis:ye,fill:te.getTextColor()||T.get(["axisLine","lineStyle","color"]),align:te.get("align")||he.textAlign,verticalAlign:te.get("verticalAlign")||he.textVerticalAlign}),z2:1});if(setTooltipConfig({el:_e,componentModel:T,itemName:Z}),_e.__fullText=Z,_e.anid="name",T.get("triggerEvent")){var we=Qh.makeAxisEventDataBase(T);we.targetType="axisName",we.name=Z,Or(_e).eventData=we}z.add(_e),_e.updateTransform(),b.nameEl=_e;var Se=Y.nameLayout=ensureLabelLayoutWithGeometry({label:_e,priority:_e.z2,defaultAttr:{ignore:_e.ignore},marginDefault:isNameLocationCenter(J)?Uh[xe]:Yh[xe]});if(Y.nameLocation=J,D.add(_e),_e.decomposeTransform(),d.shouldNameMoveOverlap&&Se){var Me=x.ensureRecord(T);0,x.resolveAxisNameOverlap(d,x,T,Se,le,Me)}}}};function layOutAxisTickLabel(d,b,x,T,D,z,W,U){axisLabelBuildResultExists(b)||function(d,b,x,T,D,z){var W=D.axis,U=Object(H.O)(d.raw.axisLabelShow,D.get(["axisLabel","show"])),Y=new Xn;x.add(Y);var Z=createAxisLabelsComputingContext(T);if(!U||W.scale.isBlank())return void axisLabelBuildResultSet(b,[],Y,Z);var J=D.getModel("axisLabel"),ee=W.getViewLabels(Z),te=(Object(H.O)(d.raw.labelRotate,J.get("rotate"))||0)*Wh/180,ne=Qh.innerTextLayout(d.rotation,te,d.labelDirection),ie=D.getCategories&&D.getCategories(!0),oe=[],se=D.get("triggerEvent"),le=1/0,ce=-1/0;Object(H.k)(ee,(function(d,b){var x,T="ordinal"===W.scale.type?W.scale.getRawOrdinalNumber(d.tickValue):d.tickValue,U=d.formattedLabel,Z=d.rawLabel,te=J;if(ie&&ie[T]){var de=ie[T];Object(H.A)(de)&&de.textStyle&&(te=new oo(de.textStyle,J,D.ecModel))}var he=te.getTextColor()||D.get(["axisLine","lineStyle","color"]),pe=te.getShallow("align",!0)||ne.textAlign,fe=Object(H.P)(te.getShallow("alignMinLabel",!0),pe),ge=Object(H.P)(te.getShallow("alignMaxLabel",!0),pe),me=te.getShallow("verticalAlign",!0)||te.getShallow("baseline",!0)||ne.textVerticalAlign,ye=Object(H.P)(te.getShallow("verticalAlignMinLabel",!0),me),ve=Object(H.P)(te.getShallow("verticalAlignMaxLabel",!0),me),xe=10+((null===(x=d.time)||void 0===x?void 0:x.level)||0);le=Math.min(le,xe),ce=Math.max(ce,xe);var _e=new Pr({x:0,y:0,rotation:0,silent:Qh.isLabelSilent(D),z2:xe,style:createTextStyle(te,{text:U,align:0===b?fe:b===ee.length-1?ge:pe,verticalAlign:0===b?ye:b===ee.length-1?ve:me,fill:Object(H.w)(he)?he("category"===W.type?Z:"value"===W.type?T
808+"":T,b):he})});_e.anid="label_"+T;var we=qh(_e);if(we.break=d.break,we.tickValue=T,we.layoutRotation=ne.rotation,setTooltipConfig({el:_e,componentModel:D,itemName:U,formatterParamsExtra:{isTruncated:function(){return _e.isTruncated},value:Z,tickIndex:b}}),se){var Se=Qh.makeAxisEventDataBase(D);Se.targetType="axisLabel",Se.value=Z,Se.tickIndex=b,d.break&&(Se.break={start:d.break.parsedBreak.vmin,end:d.break.parsedBreak.vmax}),"category"===W.type&&(Se.dataIndex=T),Or(_e).eventData=Se,d.break&&function(d,b,x,T){x.on("click",(function(x){var D={type:"expandAxisBreak",breaks:[{start:T.parsedBreak.breakOption.start,end:T.parsedBreak.breakOption.end}]};D[d.axis.dim+"AxisIndex"]=d.componentIndex,b.dispatchAction(D)}))}(D,z,_e,d.break)}oe.push(_e),Y.add(_e)}));var de=Object(H.H)(oe,(function(d){return{label:d,priority:qh(d).break?d.z2+(ce-le+1):d.z2,defaultAttr:{ignore:d.ignore}}}));axisLabelBuildResultSet(b,de,Y,Z)}(d,b,D,U,T,W);var Y=b.labelLayoutList;!function(d,b,x,T){var D=b.get(["axisLabel","margin"]);Object(H.k)(x,(function(x,z){var H=ensureLabelLayoutWithGeometry(x);if(H){var W=H.label,U=qh(W);H.suggestIgnore=W.ignore,W.ignore=!1,copyTransform(np,ip),np.x=b.axis.dataToCoord(U.tickValue),np.y=d.labelOffset+d.labelDirection*D,np.rotation=U.layoutRotation,T.add(np),np.updateTransform(),T.remove(np),np.decomposeTransform(),copyTransform(W,np),W.markRedraw(),setLabelLayoutDirty(H,!0),ensureLabelLayoutWithGeometry(H)}}))}(d,T,Y,z),function(d,b,x){var T=getScaleBreakHelper();if(!T)return;var D=T.retrieveAxisBreakPairs(x,(function(d){return d&&qh(d.label).break}),!0),z=d.get(["breakLabelLayout","moveOverlap"],!0);!0!==z&&"auto"!==z||Object(H.k)(D,(function(T){getAxisBreakHelper().adjustBreakLabelPair(d.axis.inverse,b,[ensureLabelLayoutWithGeometry(x[T[0]]),ensureLabelLayoutWithGeometry(x[T[1]])])}))}(T,d.rotation,Y);var Z=d.optionHideOverlap;!function(d,b,x){if(shouldShowAllLabels(d.axis))return;function deal(d,T,D){var z=ensureLabelLayoutWithGeometry(b[T]),H=ensureLabelLayoutWithGeometry(b[D]);if(z&&H)if(!1===d||z.suggestIgnore)ignoreEl(z.label);else if(H.suggestIgnore)ignoreEl(H.label);else{if(!x){var W=[0,0,0,0];z=newLabelLayoutWithGeometry({marginForce:W},z),H=newLabelLayoutWithGeometry({marginForce:W},H)}labelIntersect(z,H,null,{touchThreshold:.1})&&ignoreEl(d?H.label:z.label)}}var T=d.get(["axisLabel","showMinLabel"]),D=d.get(["axisLabel","showMaxLabel"]),z=b.length;deal(T,0,1),deal(D,z-1,z-2)}(T,Y,Z),Z&&hideOverlap(Object(H.n)(Y,(function(d){return d&&!d.label.ignore}))),function(d,b,x,T){var D,z=x.axis,W=b.ensureRecord(x),U=[],Y=hasAxisName(d.axisName)&&isNameLocationCenter(d.nameLocation);Object(H.k)(T,(function(d){var b=ensureLabelLayoutWithGeometry(d);if(b&&!b.label.ignore){U.push(b);var x=W.transGroup;Y&&(x.transform?matrix_invert(Kh,x.transform):identity(Kh),b.transform&&matrix_mul(Kh,Kh,b.transform),Ee.copy(Jh,b.localRect),Jh.applyTransform(Kh),D?D.union(Jh):Ee.copy(D=new Ee(0,0,0,0),Jh))}}));var Z=Math.abs(W.dirVec.x)>.1?"x":"y",J=W.transGroup[Z];if(U.sort((function(d,b){return Math.abs(d.label[Z]-J)-Math.abs(b.label[Z]-J)})),Y&&D){var ee=z.getExtent(),te=Math.min(ee[0],ee[1]),ne=Math.max(ee[0],ee[1])-te;D.union(new Ee(te,0,ne,1))}W.stOccupiedRect=D,W.labelInfoList=U}(d,x,T,Y)}function ignoreEl(d){d&&(d.ignore=!0)}function createTicks(d,b,x,T,D){for(var z=[],H=[],W=[],U=0;U<d.length;U++){var Y=d[U].coord;H[0]=Y,H[1]=0,W[0]=Y,W[1]=x,b&&(applyTransform(H,H,b),applyTransform(W,W,b));var Z=new js({shape:{x1:H[0],y1:H[1],x2:W[0],y2:W[1]},style:T,z2:2,autoBatch:!0,silent:!0});graphic_subPixelOptimizeLine(Z.shape,Z.style.lineWidth),Z.anid=D+"_"+d[U].tickValue,z.push(Z);var J=Zh(Z);J.onBand=!!d[U].onBand,J.tickValue=d[U].tickValue}return z}function dealLastTickLabelResultReusable(d,b,x){if(axisLabelBuildResultExists(d)){0;var T=d.axisLabelsCreationContext.out.noPxChangeTryDetermine;if(x.noPxChange){for(var D=!0,z=0;z<T.length;z++)D=D&&T[z]();if(D)return!1}T.length&&(b.remove(d.labelGroup),axisLabelBuildResultSet(d,null,null,null))}return!0}function axisLabelBuildResultExists(d){return!!d.labelLayoutList}function axisLabelBuildResultSet(d,b,x,T){d.labelLayoutList=b,d.labelGroup=x,d.axisLabelsCreationContext=T}var np=new _r,ip=new _r;
808function hasAxisName(d){return!!d}var rp=Qh;function cartesianAxisHelper_layout(d,b,x){x=x||{};var T=b.axis,D={},z=T.getAxesOnZeroOf()[0],W=T.position,U=z?"onZero":W,Y=T.dim,Z=[d.x,d.x+d.width,d.y,d.y+d.height],J={left:0,right:1,top:0,bottom:1,onZero:2},ee=b.get("offset")||0,te="x"===Y?[Z[2]-ee,Z[3]+ee]:[Z[0]-ee,Z[1]+ee];if(z){var ne=z.toGlobalCoord(z.dataToCoord(0));te[J.onZero]=Math.max(Math.min(ne,te[1]),te[0])}D.position=["y"===Y?te[J[U]]:Z[0],"x"===Y?te[J[U]]:Z[3]],D.rotation=Math.PI/2*("x"===Y?0:1);D.labelDirection=D.tickDirection=D.nameDirection={top:-1,bottom:1,left:-1,right:1}[W],D.labelOffset=z?te[J[W]]-te[J.onZero]:0,b.get(["axisTick","inside"])&&(D.tickDirection=-D.tickDirection),H.O(x.labelInside,b.get(["axisLabel","inside"]))&&(D.labelDirection=-D.labelDirection);var ie=b.get(["axisLabel","rotate"]);return D.labelRotate="top"===U?-ie:ie,D.z2=1,D}function findAxisModels(d){var b={xAxisModel:null,yAxisModel:null};return H.k(b,(function(x,T){var D=T.replace(/Model$/,""),z=d.getReferringComponents(D,si).models[0];b[T]=z})),b}function alignScaleTicks(d,b,x){var T=mh.prototype,D=T.getTicks.call(x),z=T.getTicks.call(x,{expandToNicedExtent:!0}),H=D.length-1,W=T.getInterval.call(x),U=getScaleExtent(d,b),Y=U.extent,Z=U.fixMin,J=U.fixMax;"log"===d.type&&(Y=logTransform(d.base,Y,!0)),d.setBreaksFromOption(retrieveAxisBreaksOption(b)),d.setExtent(Y[0],Y[1]),d.calcNiceExtent({splitNumber:H,fixMin:Z,fixMax:J});var ee=T.getExtent.call(d);Z&&(Y[0]=ee[0]),J&&(Y[1]=ee[1]);var te=T.getInterval.call(d),ne=Y[0],ie=Y[1];if(Z&&J)te=(ie-ne)/H;else if(Z)for(ie=Y[0]+te*H;ie<Y[1]&&isFinite(ie)&&isFinite(Y[1]);)te=increaseInterval(te),ie=Y[0]+te*H;else if(J)for(ne=Y[1]-te*H;ne>Y[0]&&isFinite(ne)&&isFinite(Y[0]);)te=increaseInterval(te),ne=Y[1]-te*H;else{d.getTicks().length-1>H&&(te=increaseInterval(te));var oe=te*H;(ne=round((ie=Math.ceil(Y[1]/te)*te)-oe))<0&&Y[0]>=0?(ne=0,ie=round(oe)):ie>0&&Y[1]<=0&&(ie=0,ne=-round(oe))}var se=(D[0].value-z[0].value)/W,le=(D[H].value-z[H].value)/W;T.setExtent.call(d,ne+te*se,ie+te*le),T.setInterval.call(d,te),(se||le)&&T.setNiceExtent.call(d,ne+te,ie-te)}var op,ap=[[3,1],[0,2]],sp=function(){function Grid(d,b,x){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=Ih,this._initCartesian(d,b,x),this.model=d}return Grid.prototype.getRect=function(){return this._rect},Grid.prototype.update=function(d,b){var x=this._axesMap;function updateAxisTicks(d){var b,x=Object(H.F)(d),T=x.length;if(T){for(var D=[],z=T-1;z>=0;z--){var W=d[+x[z]],U=W.model,Y=W.scale;isIntervalOrLogScale(Y)&&U.get("alignTicks")&&null==U.get("interval")?D.push(W):(niceScaleExtent(Y,U),isIntervalOrLogScale(Y)&&(b=W))}D.length&&(b||niceScaleExtent((b=D.pop()).scale,b.model),Object(H.k)(D,(function(d){alignScaleTicks(d.scale,d.model,b.scale)})))}}this._updateScale(d,this.model),updateAxisTicks(x.x),updateAxisTicks(x.y);var T={};Object(H.k)(x.x,(function(d){fixAxisOnZero(x,"y",d,T)})),Object(H.k)(x.y,(function(d){fixAxisOnZero(x,"x",d,T)})),this.resize(this.model,b)},Grid.prototype.resize=function(d,b,x){var T=createBoxLayoutReference(d,b),D=this._rect=getLayoutRect(d.getBoxLayoutParams(),T.refContainer),z=this._axesMap,W=this._coordsList,U=d.get("containLabel");if(updateAllAxisExtentTransByGridRect(z,D),!x){var Y=function(d,b,x,T,D){var z=new Xh(Grid_resolveAxisNameOverlapForGrid);return Object(H.k)(x,(function(x){return Object(H.k)(x,(function(x){if(shouldAxisShow(x.model)){var H=!T;x.axisBuilder=function(d,b,x,T,D,z){for(var H=cartesianAxisHelper_layout(d,x),W=!1,U=!1,Y=0;Y<b.length;Y++)isIntervalOrLogScale(b[Y].getOtherAxis(x.axis).scale)&&(W=U=!0,"category"===x.axis.type&&x.axis.onBand&&(U=!1));return H.axisLineAutoShow=W,H.axisTickAutoShow=U,H.defaultNameMoveOverlap=z,new rp(x,T,H,D)}(d,b,x.model,D,z,H)}}))})),z}(D,W,z,U,b),Z=void 0;if(U)op?(op(this._axesList,D),updateAllAxisExtentTransByGridRect(z,D)):Z=layOutGridByOuterBounds(D.clone(),"axisLabel",null,D,z,Y,T);else{var J=function(d,b,x){var T,D=d.get("outerBoundsMode",!0);"same"===D?T=b.clone():null!=D&&"auto"!==D||(T=getLayoutRect(d.get("outerBounds",!0)||Xd,x.refContainer));var z,W=d.get("outerBoundsContain",!0);z=null==W||"auto"===W||Object(H.r)(["all","axisLabel"],W)<0?"all":W;var U=[parsePositionSizeOption(Object(H.P)(d.get("outerBoundsClampWidth",!0),Kd[0]),b.width),parsePositionSizeOption(Object(H.P)(d.get("outerBoundsClampHeight",!0),Kd[1]),b.height)];return{outerBoundsRect:T,parsedOuterBoundsContain:z,outerBoundsClamp:U}}(d,D,T),ee=J.outerBoundsRect,te=J.parsedOuterBoundsContain,ne=J.outerBoundsClamp;ee&&(Z=layOutGridByOuterBounds(ee,te,ne,D,z,Y,T))}createOrUpdateAxesView(D,z,Bh,null,Z,T)}Object(H.k)(this._coordsList,(function(d){d.calcAffineTransform()}))},Grid.prototype.getAxis=function(d,b){var x=this._axesMap[d];if(null!=x)return x[b||0]},Grid.prototype.getAxes=function(){return this._axesList.slice()},Grid.prototype.getCartesian=function(d,b){if(null!=d&&null!=b){var x="x"+
808d+"y"+b;return this._coordsMap[x]}Object(H.A)(d)&&(b=d.yAxisIndex,d=d.xAxisIndex);for(var T=0,D=this._coordsList;T<D.length;T++)if(D[T].getAxis("x").index===d||D[T].getAxis("y").index===b)return D[T]},Grid.prototype.getCartesians=function(){return this._coordsList.slice()},Grid.prototype.convertToPixel=function(d,b,x){var T=this._findConvertTarget(b);return T.cartesian?T.cartesian.dataToPoint(x):T.axis?T.axis.toGlobalCoord(T.axis.dataToCoord(x)):null},Grid.prototype.convertFromPixel=function(d,b,x){var T=this._findConvertTarget(b);return T.cartesian?T.cartesian.pointToData(x):T.axis?T.axis.coordToData(T.axis.toLocalCoord(x)):null},Grid.prototype._findConvertTarget=function(d){var b,x,T=d.seriesModel,D=d.xAxisModel||T&&T.getReferringComponents("xAxis",si).models[0],z=d.yAxisModel||T&&T.getReferringComponents("yAxis",si).models[0],W=d.gridModel,U=this._coordsList;if(T)b=T.coordinateSystem,Object(H.r)(U,b)<0&&(b=null);else if(D&&z)b=this.getCartesian(D.componentIndex,z.componentIndex);else if(D)x=this.getAxis("x",D.componentIndex);else if(z)x=this.getAxis("y",z.componentIndex);else if(W){W.coordinateSystem===this&&(b=this._coordsList[0])}return{cartesian:b,axis:x}},Grid.prototype.containPoint=function(d){var b=this._coordsList[0];if(b)return b.containPoint(d)},Grid.prototype._initCartesian=function(d,b,x){var T=this,D=this,z={left:!1,right:!1,top:!1,bottom:!1},W={x:{},y:{}},U={x:0,y:0};if(b.eachComponent("xAxis",createAxisCreator("x"),this),b.eachComponent("yAxis",createAxisCreator("y"),this),!U.x||!U.y)return this._axesMap={},void(this._axesList=[]);function createAxisCreator(b){return function(x,T){if(isAxisUsedInTheGrid(x,d)){var H=x.get("position");"x"===b?"top"!==H&&"bottom"!==H&&(H=z.bottom?"top":"bottom"):"left"!==H&&"right"!==H&&(H=z.left?"right":"left"),z[H]=!0;var Y=new Fh(b,createScaleByModel(x),[0,0],x.get("type"),H),Z="category"===Y.type;Y.onBand=Z&&x.get("boundaryGap"),Y.inverse=x.get("inverse"),x.axis=Y,Y.model=x,Y.grid=D,Y.index=T,D._axesList.push(Y),W[b][T]=Y,U[b]++}}}this._axesMap=W,Object(H.k)(W.x,(function(b,x){Object(H.k)(W.y,(function(D,z){var H="x"+x+"y"+z,W=new Dh(H);W.master=T,W.model=d,T._coordsMap[H]=W,T._coordsList.push(W),W.addAxis(b),W.addAxis(D)}))}))},Grid.prototype._updateScale=function(d,b){function unionExtent(d,b){Object(H.k)(getDataDimensionsOnAxis(d,b.dim),(function(x){b.scale.unionExtentFromData(d,x)}))}Object(H.k)(this._axesList,(function(d){if(d.scale.setExtent(1/0,-1/0),"category"===d.type){var b=d.model.get("categorySortInfo");d.scale.setSortInfo(b)}})),d.eachSeries((function(d){if(function(d){return d.coordinateSystem&&"cartesian2d"===d.coordinateSystem.type}(d)){var x=findAxisModels(d),T=x.xAxisModel,D=x.yAxisModel;if(!isAxisUsedInTheGrid(T,b)||!isAxisUsedInTheGrid(D,b))return;var z=this.getCartesian(T.componentIndex,D.componentIndex),H=d.getData(),W=z.getAxis("x"),U=z.getAxis("y");unionExtent(H,W),unionExtent(H,U)}}),this)},Grid.prototype.getTooltipAxes=function(d){var b=[],x=[];return Object(H.k)(this.getCartesians(),(function(T){var D=null!=d&&"auto"!==d?T.getAxis(d):T.getBaseAxis(),z=T.getOtherAxis(D);Object(H.r)(b,D)<0&&b.push(D),Object(H.r)(x,z)<0&&x.push(z)})),{baseAxes:b,otherAxes:x}},Grid.create=function(d,b){var x=[];return d.eachComponent("grid",(function(T,D){var z=new Grid(T,d,b);z.name="grid_"+D,z.resize(T,b,!0),T.coordinateSystem=z,x.push(z)})),d.eachSeries((function(d){injectCoordSysByOption({targetModel:d,coordSysType:"cartesian2d",coordSysProvider:function(){var b=findAxisModels(d),x=b.xAxisModel,T=b.yAxisModel;0;return x.getCoordSysModel().coordinateSystem.getCartesian(x.componentIndex,T.componentIndex)}})})),x},Grid.dimensions=Ih,Grid}();function isAxisUsedInTheGrid(d,b){return d.getCoordSysModel()===b}function fixAxisOnZero(d,b,x,T){x.getAxesOnZeroOf=function(){return D?[D]:[]};var D,z=d[b],H=x.model,W=H.get(["axisLine","onZero"]),U=H.get(["axisLine","onZeroAxisIndex"]);if(W){if(null!=U)canOnZeroToAxis(z[U])&&(D=z[U]);else for(var Y in z)if(z.hasOwnProperty(Y)&&canOnZeroToAxis(z[Y])&&!T[getOnZeroRecordKey(z[Y])]){D=z[Y];break}D&&(T[getOnZeroRecordKey(D)]=!0)}function getOnZeroRecordKey(d){return d.dim+"_"+d.index}}function canOnZeroToAxis(d){return d&&"category"!==d.type&&"time"!==d.type&&function(d){var b=d.scale.getExtent(),x=b[0],T=b[1];return!(x>0&&T>0||x<0&&T<0)}(d)}function updateAllAxisExtentTransByGridRect(d,b){Object(H.k)(d.x,(function(d){return updateAxisExtentTransByGridRect(d,b.x,b.width)})),Object(H.k)(d.y,(function(d){return updateAxisExtentTransByGridRect(d,b.y,b.height)}))}function updateAxisExtentTransByGridRect(d,b,x){var T=[0,x],D=d.inverse?1:0;d.setExtent(T[D],T[1-D]),function(d,b){var x=d.getExtent(),T=x[0]+x[1];d.toGlobalCoord="x"===d.dim?function(d){return d+b}:function(d){return T-d+b},d.toLocalCoord="x"===d.dim?function(d){return d-b}:function(d){return T-d+b}}(d,b)}function layOutGridByOuterBounds(d,b,x,T,D,z,W){createOrUpdateAxesView(T,D,Rh,b,!1,W);var U=[0,0,0,0];fillLabelNameOverflowOnOneDimension(0),fillLabelNameOverflowOnOneDimension(1),fillMarginOnOneDimension(T,0,NaN),fillMarginOnOneDimension(T,1,NaN);var Y=null==Object(H.o)(U,(function(d){return d>0}));return expandOrShrinkRect(T,U,!0,!0,x),updateAllAxisExtentTransByGridRect(D,T),Y;function fillLabelNameOverflowOnOneDimension(d){Object(H.k)(D[al[d]],(function(b){if(shouldAxisShow(b.model)){var x=z.ensureRecord(b.model),T=x.labelInfoList;if(T)for(var D=0;D<T.length;D++){var H=T[D],W=b.scale.normalize(qh(H.label).tickValue);W=1===d?1-W:W,fillMarginOnOneDimension(H.rect,d,W),fillMarginOnOneDimension(H.rect,1-d,NaN)}var U=x.nameLayout;if(U){W=isNameLocationCenter(x.nameLocation)?.5:NaN;fillMarginOnOneDimension(U.rect,d,W),fillMarginOnOneDimension(U.rect,1-d,NaN)}}}))}function fillMarginOnOneDimension(b,x,T){var D=d[al[x]]-b[al[x]],z=b[sl[x]]+b[al[x
808]]-(d[sl[x]]+d[al[x]]);D=applyProportion(D,1-T),z=applyProportion(z,T);var H=ap[x][0],W=ap[x][1];U[H]=ni(U[H],D),U[W]=ni(U[W],z)}function applyProportion(d,b){return d>0&&!Object(H.l)(b)&&b>1e-4&&(d/=b),d}}function createOrUpdateAxesView(d,b,x,T,D,z){var W=x===Bh;Object(H.k)(b,(function(b){return Object(H.k)(b,(function(b){shouldAxisShow(b.model)&&(!function(d,b,x){var T=cartesianAxisHelper_layout(b,x);d.updateCfg(T)}(b.axisBuilder,d,b.model),b.axisBuilder.build(W?{axisTickLabelDetermine:!0}:{axisTickLabelEstimate:!0},{noPxChange:D}))}))}));var U={x:0,y:0};function calcNameMarginLevel(b){U[al[1-b]]=d[sl[b]]<=.5*z.refContainer[sl[b]]?0:1-b==1?2:1}calcNameMarginLevel(0),calcNameMarginLevel(1),Object(H.k)(b,(function(d,b){return Object(H.k)(d,(function(d){shouldAxisShow(d.model)&&(("all"===T||W)&&d.axisBuilder.build({axisName:!0},{nameMarginLevel:U[b]}),W&&d.axisBuilder.build({axisLine:!0}))}))}))}var Grid_resolveAxisNameOverlapForGrid=function(d,b,x,T,D,z){var W="x"===x.axis.dim?"y":"x";AxisBuilder_resolveAxisNameOverlapDefault(d,0,0,T,D,z),isNameLocationCenter(d.nameLocation)||Object(H.k)(b.recordMap[W],(function(d){d&&d.labelInfoList&&d.dirVec&&moveIfOverlapByLinearLabels(d.labelInfoList,d.dirVec,T,D)}))},lp=sp;function collect(d,b){var x={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return function(d,b,x){var T=b.getComponent("tooltip"),D=b.getComponent("axisPointer"),z=D.get("link",!0)||[],W=[];Object(H.k)(x.getCoordinateSystems(),(function(x){if(x.axisPointerEnabled){var U=makeKey(x.model),Y=d.coordSysAxesInfo[U]={};d.coordSysMap[U]=x;var Z=x.model.getModel("tooltip",T);if(Object(H.k)(x.getAxes(),Object(H.h)(saveTooltipAxisInfo,!1,null)),x.getTooltipAxes&&T&&Z.get("show")){var J="axis"===Z.get("trigger"),ee="cross"===Z.get(["axisPointer","type"]),te=x.getTooltipAxes(Z.get(["axisPointer","axis"]));(J||ee)&&Object(H.k)(te.baseAxes,Object(H.h)(saveTooltipAxisInfo,!ee||"cross",J)),ee&&Object(H.k)(te.otherAxes,Object(H.h)(saveTooltipAxisInfo,"cross",!1))}}function saveTooltipAxisInfo(T,U,J){var ee=J.model.getModel("axisPointer",D),te=ee.get("show");if(te&&("auto"!==te||T||isHandleTrigger(ee))){null==U&&(U=ee.get("triggerTooltip"));var ne=(ee=T?function(d,b,x,T,D,z){var W=b.getModel("axisPointer"),U={};Object(H.k)(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],(function(d){U[d]=Object(H.d)(W.get(d))})),U.snap="category"!==d.type&&!!z,"cross"===W.get("type")&&(U.type="line");var Y=U.label||(U.label={});if(null==Y.show&&(Y.show=!1),"cross"===D){var Z=W.get(["label","show"]);if(Y.show=null==Z||Z,!z){var J=U.lineStyle=W.get("crossStyle");J&&Object(H.i)(Y,J.textStyle)}}return d.model.getModel("axisPointer",new oo(U,x,T))}(J,Z,D,b,T,U):ee).get("snap"),ie=ee.get("triggerEmphasis"),oe=makeKey(J.model),se=U||ne||"category"===J.type,le=d.axesInfo[oe]={key:oe,axis:J,coordSys:x,axisPointerModel:ee,triggerTooltip:U,triggerEmphasis:ie,involveSeries:se,snap:ne,useHandle:isHandleTrigger(ee),seriesModels:[],linkGroup:null};Y[oe]=le,d.seriesInvolved=d.seriesInvolved||se;var ce=function(d,b){for(var x=b.model,T=b.dim,D=0;D<d.length;D++){var z=d[D]||{};if(checkPropInLink(z[T+"AxisId"],x.id)||checkPropInLink(z[T+"AxisIndex"],x.componentIndex)||checkPropInLink(z[T+"AxisName"],x.name))return D}}(z,J);if(null!=ce){var de=W[ce]||(W[ce]={axesInfo:{}});de.axesInfo[oe]=le,de.mapper=z[ce].mapper,le.linkGroup=de}}}}))}(x,d,b),x.seriesInvolved&&function(d,b){b.eachSeries((function(b){var x=b.coordinateSystem,T=b.get(["tooltip","trigger"],!0),D=b.get(["tooltip","show"],!0);x&&x.model&&"none"!==T&&!1!==T&&"item"!==T&&!1!==D&&!1!==b.get(["axisPointer","show"],!0)&&Object(H.k)(d.coordSysAxesInfo[makeKey(x.model)],(function(d){var T=d.axis;x.getAxis(T.dim)===T&&(d.seriesModels.push(b),null==d.seriesDataCount&&(d.seriesDataCount=0),d.seriesDataCount+=b.getData().count())}))}))}(x,d),x}function checkPropInLink(d,b){return"all"===d||Object(H.t)(d)&&Object(H.r)(d,b)>=0||d===b}function fixValue(d){var b=getAxisInfo(d);if(b){var x=b.axisPointerModel,T=b.axis.scale,D=x.option,z=x.get("status"),H=x.get("value");null!=H&&(H=T.parse(H));var W=isHandleTrigger(x);null==z&&(D.status=W?"show":"hide");var U=T.getExtent().slice();U[0]>U[1]&&U.reverse(),(null==H||H>U[1])&&(H=U[1]),H<U[0]&&(H=U[0]),D.value=H,W&&(D.status=b.axis.scale.isBlank()?"hide":"show")}}function getAxisInfo(d){var b=(d.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return b&&b.axesInfo[makeKey(d)]}function isHandleTrigger(d){return!!d.get(["handle","show"])}function makeKey(d){return d.type+"||"+d.id}var up={},cp=function(d){function AxisView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=AxisView.type,b}return __extends(AxisView,d),AxisView.prototype.render=function(b,x,T,D){this.axisPointerClass&&fixValue(b),d.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(b,T,!0)},AxisView.prototype.updateAxisPointer=function(d,b,x,T){this._doUpdateAxisPointerClass(d,x,!1)},AxisView.prototype.remove=function(d,b){var x=this._axisPointer;x&&x.remove(b)},AxisView.prototype.dispose=function(b,x){this._disposeAxisPointer(x),d.prototype.dispose.apply(this,arguments)},AxisView.prototype._doUpdateAxisPointerClass=function(d,b,x){var T=AxisView.getAxisPointerClass(this.axisPointerClass);if(T){var D=function(d){var b=getAxisInfo(d);return b&&b.axisPointerModel}(d);D?(this._axisPointer||(this._axisPointer=new T)).render(d,D,b,x):this._disposeAxisPointer(b)}},AxisView.prototype._disposeAxisPointer=function(d){this._axisPointer&&this._axisPointer.dispose(d),this._axisPointer=null},AxisView.registerAxisPointerClass=function(d,b){up[d]=b},AxisView.getAxisPointerClass=function(d){return d&&up[d]},AxisView.type="axis",AxisView}(ns),dp=makeInner();function rectCoordAxisBuildSplitArea(d,b,x,T){var D=x.axis;if(!D.scale.isBlank()){var z=x.getModel("splitArea"),W=z.getModel("areaStyle"),U=W.get("color"),Y=T.coordinateSystem.getRect(),Z=D.getTicksCoords({tickModel:z,clamp:!0,breakTicks:"none",pruneByBreak:"preserve_extent_bound"});if(Z.length){var J=U.length,ee=dp(d).splitAreaColors,te=H.f(),ne=0;if(ee)for(var ie=0;ie<Z.length;ie++){var oe=ee.get(Z[ie].tickValue);if(null!=oe){ne=(oe+(J-1)*ie)%J;break}}
vendor: 4,270 bytes, line 808
808var se=D.toGlobalCoord(Z[0].coord),le=W.getAreaStyle();U=H.t(U)?U:[U];for(ie=1;ie<Z.length;ie++){var ce=D.toGlobalCoord(Z[ie].coord),de=void 0,he=void 0,pe=void 0,fe=void 0;D.isHorizontal()?(de=se,he=Y.y,pe=ce-de,fe=Y.height,se=de+pe):(de=Y.x,he=se,pe=Y.width,se=he+(fe=ce-he));var ge=Z[ie-1].tickValue;null!=ge&&te.set(ge,ne),b.add(new _r({anid:null!=ge?"area_"+ge:null,shape:{x:de,y:he,width:pe,height:fe},style:H.i({fill:U[ne]},le),autoBatch:!0,silent:!0})),ne=(ne+1)%J}dp(d).splitAreaColors=te}}}function rectCoordAxisHandleRemove(d){dp(d).splitAreaColors=null}var hp=["splitArea","splitLine","minorSplitLine","breakArea"],pp=function(d){function CartesianAxisView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=CartesianAxisView.type,b.axisPointerClass="CartesianAxisPointer",b}return __extends(CartesianAxisView,d),CartesianAxisView.prototype.render=function(b,x,T,D){this.group.removeAll();var z=this._axisGroup;(this._axisGroup=new Xn,this.group.add(this._axisGroup),shouldAxisShow(b))&&(this._axisGroup.add(b.axis.axisBuilder.group),H.k(hp,(function(d){b.get([d,"show"])&&fp[d](this,this._axisGroup,b,b.getCoordSysModel(),T)}),this),D&&"changeAxisOrder"===D.type&&D.isInitSort||groupTransition(z,this._axisGroup,b),d.prototype.render.call(this,b,x,T,D))},CartesianAxisView.prototype.remove=function(){rectCoordAxisHandleRemove(this)},CartesianAxisView.type="cartesianAxis",CartesianAxisView}(cp),fp={splitLine:function(d,b,x,T,D){var z=x.axis;if(!z.scale.isBlank()){var W=x.getModel("splitLine"),U=W.getModel("lineStyle"),Y=U.get("color"),Z=!1!==W.get("showMinLine"),J=!1!==W.get("showMaxLine");Y=H.t(Y)?Y:[Y];for(var ee=T.coordinateSystem.getRect(),te=z.isHorizontal(),ne=0,ie=z.getTicksCoords({tickModel:W,breakTicks:"none",pruneByBreak:"preserve_extent_bound"}),oe=[],se=[],le=U.getLineStyle(),ce=0;ce<ie.length;ce++){var de=z.toGlobalCoord(ie[ce].coord);if((0!==ce||Z)&&(ce!==ie.length-1||J)){var he=ie[ce].tickValue;te?(oe[0]=de,oe[1]=ee.y,se[0]=de,se[1]=ee.y+ee.height):(oe[0]=ee.x,oe[1]=de,se[0]=ee.x+ee.width,se[1]=de);var pe=ne++%Y.length,fe=new js({anid:null!=he?"line_"+he:null,autoBatch:!0,shape:{x1:oe[0],y1:oe[1],x2:se[0],y2:se[1]},style:H.i({stroke:Y[pe]},le),silent:!0});graphic_subPixelOptimizeLine(fe.shape,le.lineWidth),b.add(fe)}}}},minorSplitLine:function(d,b,x,T,D){var z=x.axis,H=x.getModel("minorSplitLine").getModel("lineStyle"),W=T.coordinateSystem.getRect(),U=z.isHorizontal(),Y=z.getMinorTicksCoords();if(Y.length)for(var Z=[],J=[],ee=H.getLineStyle(),te=0;te<Y.length;te++)for(var ne=0;ne<Y[te].length;ne++){var ie=z.toGlobalCoord(Y[te][ne].coord);U?(Z[0]=ie,Z[1]=W.y,J[0]=ie,J[1]=W.y+W.height):(Z[0]=W.x,Z[1]=ie,J[0]=W.x+W.width,J[1]=ie);var oe=new js({anid:"minor_line_"+Y[te][ne].tickValue,autoBatch:!0,shape:{x1:Z[0],y1:Z[1],x2:J[0],y2:J[1]},style:ee,silent:!0});graphic_subPixelOptimizeLine(oe.shape,ee.lineWidth),b.add(oe)}},splitArea:function(d,b,x,T,D){rectCoordAxisBuildSplitArea(d,b,x,T)},breakArea:function(d,b,x,T,D){var z=getAxisBreakHelper(),H=x.axis.scale;z&&"ordinal"!==H.type&&z.rectCoordBuildBreakAxis(b,d,x,T.coordinateSystem.getRect(),D)}},gp=function(d){function CartesianXAxisView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=CartesianXAxisView.type,b}return __extends(CartesianXAxisView,d),CartesianXAxisView.type="xAxis",CartesianXAxisView}(pp),mp=function(d){function CartesianYAxisView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=gp.type,b}return __extends(CartesianYAxisView,d),CartesianYAxisView.type="yAxis",CartesianYAxisView}(pp),yp=function(d){function GridView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type="grid",b}return __extends(GridView,d),GridView.prototype.render=function(d,b){this.group.removeAll(),d.get("show")&&this.group.add(new _r({shape:d.coordinateSystem.getRect(),style:Object(H.i)({fill:d.get("backgroundColor")},d.getItemStyle()),silent:!0,z2:-1}))},GridView.type="grid",GridView}(ns),vp={offset:0};function installSimple_install(d){d.registerComponentView(yp),d.registerComponentModel(Jd),d.registerCoordinateSystem("cartesian2d",lp),axisModelCreator(d,"x",eh,vp),axisModelCreator(d,"y",eh,vp),d.registerComponentView(gp),d.registerComponentView(mp),d.registerPreprocessor((function(d){d.xAxis&&d.yAxis&&!d.grid&&
808(d.grid={})}))}var bp=makeInner();function fixJitter(d,b,x,T){if(d instanceof Fh){var D=d.scale.type;if("category"!==D&&"ordinal"!==D)return x}var z=d.model,H=z.get("jitter"),W=z.get("jitterOverlap"),U=z.get("jitterMargin")||0,Y="ordinal"===d.scale.type?d.getBandWidth():null;return H>0?W?fixJitterIgnoreOverlaps(x,H,Y,T):function(d,b,x,T,D,z){var H=bp(d);H.items||(H.items=[]);var W=H.items,U=placeJitterOnDirection(W,b,x,T,D,z,1),Y=placeJitterOnDirection(W,b,x,T,D,z,-1),Z=Math.abs(U-x)<Math.abs(Y-x)?U:Y,J="ordinal"===d.scale.type?d.getBandWidth():null,ee=Math.abs(Z-x);if(ee>D/2||J&&ee>J/2-T)return fixJitterIgnoreOverlaps(x,D,J,T);return W.push({fixedCoord:b,floatCoord:Z,r:T}),Z}(d,b,x,T,H,U):x}function fixJitterIgnoreOverlaps(d,b,x,T){if(null===x)return d+(Math.random()-.5)*b;var D=x-2*T,z=Math.min(Math.max(0,b),D);return d+(Math.random()-.5)*z}function placeJitterOnDirection(d,b,x,T,D,z,H){for(var W=x,U=0;U<d.length;U++){var Y=d[U],Z=b-Y.fixedCoord,J=W-Y.floatCoord,ee=Z*Z+J*J,te=T+Y.r+z;if(ee<te*te){var ne=Y.floatCoord+Math.sqrt(te*te-Z*Z)*H;if(Math.abs(ne-x)>D/2)return Number.MAX_VALUE;if(1===H&&ne>W||-1===H&&ne<W){W=ne,U=-1;continue}}}return W}function jitterLayout(d){d.eachSeriesByType("scatter",(function(d){var b=d.coordinateSystem;if(b&&("cartesian2d"===b.type||"single"===b.type)){var x=b.getBaseAxis?b.getBaseAxis():null;if(x&&function(d,b){var x=d.coordinateSystem,T=x&&x.type,D=x&&x.getBaseAxis&&x.getBaseAxis(),z=D&&D.scale&&D.scale.type,H="cartesian2d"===T&&"ordinal"===z||"single"===T,W=b.model.get("jitter")>0;return H&&W}(d,x)){var T=d.getData();T.each((function(d){var b=x.dim,D=x.orient,z="horizontal"===D&&"category"!==x.type||"vertical"===D&&"category"===x.type,H=T.getItemLayout(d),W=T.getItemVisual(d,"symbolSize"),U=W instanceof Array?(W[1]+W[0])/2:W;if("y"===b||"single"===b&&z){var Y=fixJitter(x,H[0],H[1],U/2);T.setItemLayout(d,[H[0],Y])}else if("x"===b||"single"===b&&!z){Y=fixJitter(x,H[1],H[0],U/2);T.setItemLayout(d,[Y,H[1]])}}))}}}))}function radarLayout(d){d.eachSeriesByType("radar",(function(d){var b=d.getData(),x=[],T=d.coordinateSystem;if(T){var D=T.getIndicatorAxes();H.k(D,(function(d,z){b.each(b.mapDimension(D[z].dim),(function(d,b){x[b]=x[b]||[];var D=T.dataToPoint(d,z);x[b][z]=isValidPoint(D)?D:getValueMissingPoint(T)}))})),b.each((function(d){var D=H.o(x[d],(function(d){return isValidPoint(d)}))||getValueMissingPoint(T);x[d].push(D.slice()),b.setItemLayout(d,x[d])}))}}))}function isValidPoint(d){return!isNaN(d[0])&&!isNaN(d[1])}function getValueMissingPoint(d){return[d.cx,d.cy]}function radarBackwardCompat(d){var b=d.polar;if(b){H.t(b)||(b=[b]);var x=[];H.k(b,(function(b,T){b.indicator?(b.type&&!b.shape&&(b.shape=b.type),d.radar=d.radar||[],H.t(d.radar)||(d.radar=[d.radar]),d.radar.push(b)):x.push(b)})),d.polar=x}H.k(d.series,(function(d){d&&"radar"===d.type&&d.polarIndex&&(d.radarIndex=d.polarIndex)}))}var xp=function(d){function RadarView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=RadarView.type,b}return __extends(RadarView,d),RadarView.prototype.render=function(d,b,x){var D=d.coordinateSystem,z=this.group,W=d.getData(),U=this._data;function createSymbol(d,b){var x=d.getItemVisual(b,"symbol")||"circle";if("none"!==x){var T=normalizeSymbolSize(d.getItemVisual(b,"symbolSize")),D=symbol_createSymbol(x,-1,-1,2,2),z=d.getItemVisual(b,"symbolRotate")||0;return D.attr({style:{strokeNoScale:!0},z2:100,scaleX:T[0]/2,scaleY:T[1]/2,rotation:z*Math.PI/180||0}),D}}function updateSymbols(b,x,D,z,H,W){D.removeAll();for(var U=0;U<x.length-1;U++){var Y=createSymbol(z,H);Y&&(Y.__dimIdx=U,b[U]?(Y.setPosition(b[U]),T[W?"initProps":"updateProps"](Y,{x:x[U][0],y:x[U][1]},d,H)):Y.setPosition(x[U]),D.add(Y))}}function getInitialPoints(d){return H.H(d,(function(d){return[D.cx,D.cy]}))}W.diff(U).add((function(b){var x=W.getItemLayout(b);if(x){var T=new Es,D=new Rs,z={shape:{points:x}};T.shape.points=getInitialPoints(x),D.shape.points=getInitialPoints(x),initProps(T,z,d,b),initProps(D,z,d,b);var H=new Xn,U=new Xn;H.add(D),H.add(T),H.add(U),updateSymbols(D.shape.points,x,U,W,b,!0),W.setItemGraphicEl(b,H)}})).update((function(b,x){var T=U.getItemGraphicEl(x),D=T.childAt(0),z=T.childAt(1),H=T.childAt(2),Y={shape:{points:W.getItemLayout(b)}};Y.shape.points&&(updateSymbols(D.shape.points,Y.shape.points,H,W,b,!1),saveOldStyle(z),saveOldStyle(D),updateProps(D,Y,d),updateProps(z,Y,d),W.setItemGraphicEl(b,T))})).remove((function(d){z.remove(U.getItemGraphicEl(d))})).execute(),W.eachItemGraphicEl((function(d,b){var x=W.getItemModel(b),T=d.childAt(0),D=d.childAt(1),U=d.childAt(2),Y=W.getItemVisual(b,"style"),Z=Y.fill;z.add(d),T.useStyle(H.i(x.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:Z})),setStatesStylesFromModel(T,x,"lineStyle"),setStatesStylesFromModel(D,x,"areaStyle");var J=x.getModel("areaStyle"),ee=J.isEmpty()&&J.parentModel.isEmpty();D.ignore=ee,H.k(["emphasis","select","blur"],(function(d){var b=x.getModel([d,"areaStyle"]),z=b.isEmpty()&&b.parentModel.isEmpty();D.ensureState(d).ignore=z&&ee;var W=x.getModel([d,"lineStyle"]).getLineStyle();T.ensureState(d).style=W;var Y=b.getAreaStyle();D.ensureState(d).style=Y;var Z=x.getModel([d,"itemStyle"]).getItemStyle();U.eachChild((function(b){b.ensureState(d).style=H.d(Z)}))})),D.useStyle(H.i(x.getModel("areaStyle").getAreaStyle(),{fill:Z,opacity:.7,decal:Y.decal}));var te=x.getModel("emphasis");U.eachChild((function(d){if(d instanceof yr){var T=d.style;d.useStyle(H.m({image:T.image,x:T.x,y:T.y,width:T.width,height:T.height},Y))}else d.useStyle(Y),d.setColor(Z),d.style.strokeNoScale=!0;var D=W.getStore().get(W.getDimensionIndex(d.__dimIdx),b);(null==D||isNaN(D))&&(D=""),setLabelStyle(d,getLabelStatesModels(x),{labelFetcher:W.hostModel,labelDataIndex:b,labelDimIndex:d.__dimIdx,defaultText:D,inheritColor:Z,defaultOpacity:Y.opacity})})),toggleHoverEmphasis(d,te.get("focus"),te.get("blurScope"),te.get("disabled"))})),this._data=W},RadarView.prototype.remove=function(){this.group.removeAll(),this._data=null},RadarView.type="radar",RadarView}(gl),_p=function(d){function RadarSeriesModel(){var b=null!==d&&d.apply(this,arguments)||this;
vendor: 4,801 bytes, line 808
808return b.type=RadarSeriesModel.type,b.hasSymbolVisual=!0,b}return __extends(RadarSeriesModel,d),RadarSeriesModel.prototype.init=function(b){d.prototype.init.apply(this,arguments),this.legendVisualProvider=new Hd(H.c(this.getData,this),H.c(this.getRawData,this))},RadarSeriesModel.prototype.getInitialData=function(d,b){return createSeriesDataSimply(this,{generateCoord:"indicator_",generateCoordCount:1/0})},RadarSeriesModel.prototype.formatTooltip=function(d,b,x){var T=this.getData(),D=this.coordinateSystem.getIndicatorAxes(),z=this.getData().getName(d),W=""===z?this.name:z,U=retrieveVisualColorForTooltipMarker(this,d);return createTooltipMarkup("section",{header:W,sortBlocks:!0,blocks:H.H(D,(function(b){var x=T.get(T.mapDimension(b.dim),d);return createTooltipMarkup("nameValue",{markerType:"subItem",markerColor:U,name:b.name,value:x,sortParam:x})}))})},RadarSeriesModel.prototype.getTooltipPosition=function(d){if(null!=d)for(var b=this.getData(),x=this.coordinateSystem,T=b.getValues(H.H(x.dimensions,(function(d){return b.mapDimension(d)})),d),D=0,z=T.length;D<z;D++)if(!isNaN(T[D])){var W=x.getIndicatorAxes();return x.coordToPoint(W[D].dataToCoord(T[D]),D)}},RadarSeriesModel.type="series.radar",RadarSeriesModel.dependencies=["radar"],RadarSeriesModel.defaultOption={z:2,colorBy:"data",coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid",join:"round"},label:{position:"top"},symbolSize:8},RadarSeriesModel}(es),wp=rh.value;function defaultsShow(d,b){return H.i({show:b},d)}var Sp=function(d){function RadarModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=RadarModel.type,b}return __extends(RadarModel,d),RadarModel.prototype.optionUpdated=function(){var d=this.get("boundaryGap"),b=this.get("splitNumber"),x=this.get("scale"),T=this.get("axisLine"),D=this.get("axisTick"),z=this.get("axisLabel"),W=this.get("axisName"),U=this.get(["axisName","show"]),Y=this.get(["axisName","formatter"]),Z=this.get("axisNameGap"),J=this.get("triggerEvent"),ee=H.H(this.get("indicator")||[],(function(ee){null!=ee.max&&ee.max>0&&!ee.min?ee.min=0:null!=ee.min&&ee.min<0&&!ee.max&&(ee.max=0);var te=W;null!=ee.color&&(te=H.i({color:ee.color},W));var ne=H.I(H.d(ee),{boundaryGap:d,splitNumber:b,scale:x,axisLine:T,axisTick:D,axisLabel:z,name:ee.text,showName:U,nameLocation:"end",nameGap:Z,nameTextStyle:te,triggerEvent:J},!1);if(H.C(Y)){var ie=ne.name;ne.name=Y.replace("{value}",null!=ie?ie:"")}else H.w(Y)&&(ne.name=Y(ne.name,ne));var oe=new oo(ne,null,this.ecModel);return H.K(oe,Qd.prototype),oe.mainType="radar",oe.componentIndex=this.componentIndex,oe}),this);this._indicatorModels=ee},RadarModel.prototype.getIndicatorModels=function(){return this._indicatorModels},RadarModel.type="radar",RadarModel.defaultOption={z:0,center:["50%","50%"],radius:"50%",startAngle:90,axisName:{show:!0,color:Fo.color.axisLabel},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:H.I({lineStyle:{color:Fo.color.neutral20}},wp.axisLine),axisLabel:defaultsShow(wp.axisLabel,!1),axisTick:defaultsShow(wp.axisTick,!1),splitLine:defaultsShow(wp.splitLine,!0),splitArea:defaultsShow(wp.splitArea,!0),indicator:[]},RadarModel}(Bo),Mp=function(d){function RadarView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=RadarView.type,b}return __extends(RadarView,d),RadarView.prototype.render=function(d,b,x){this.group.removeAll(),this._buildAxes(d,x),this._buildSplitLineAndArea(d)},RadarView.prototype._buildAxes=function(d,b){var x=d.coordinateSystem,T=x.getIndicatorAxes(),D=H.H(T,(function(d){var T=d.model.get("showName")?d.name:"";return new rp(d.model,b,{axisName:T,position:[x.cx,x.cy],rotation:d.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})}));H.k(D,(function(d){d.build(),this.group.add(d.group)}),this)},RadarView.prototype._buildSplitLineAndArea=function(d){var b=d.coordinateSystem,x=b.getIndicatorAxes();if(x.length){var T=d.get("shape"),D=d.getModel("splitLine"),z=d.getModel("splitArea"),W=D.getModel("lineStyle"),U=z.getModel("areaStyle"),Y=D.get("show"),Z=z.get("show"),J=W.get("color"),ee=U.get("color"),te=H.t(J)?J:[J],ne=H.t(ee)?ee:[ee],ie=[],oe=[];if("circle"===T)for(var se=x[0].getTicksCoords(),le=b.cx,ce=b.cy,de=0;de<se.length;de++){if(Y)ie[getColorIndex(ie,te,de)].push(new gs({shape:{cx:le,cy:ce,r:se[de].coord}}));if(Z&&de<se.length-1)oe[getColorIndex(oe,ne,de)].push(new Is({shape:{cx:le,cy:ce,r0:se[de].coord,r:se[de+1].coord}}))}else{var he,pe=H.H(x,(function(d,x){var T=d.getTicksCoords();return he=null==he?T.length-1:Math.min(T.length-1,he),H.H(T,(function(d){return b.coordToPoint(d.coord,x)}))})),fe=[];for(de=0;de<=he;de++){for(var ge=[],me=0;me<x.length;me++)ge.push(pe[me][de]);if(ge[0]&&ge.push(ge[0].slice()),Y)ie[getColorIndex(ie,te,de)].push(new Rs({shape:{points:ge}}
808));if(Z&&fe)oe[getColorIndex(oe,ne,de-1)].push(new Es({shape:{points:ge.concat(fe)}}));fe=ge.slice().reverse()}}var ye=W.getLineStyle(),ve=U.getAreaStyle();H.k(oe,(function(d,b){this.group.add(graphic_mergePath(d,{style:H.i({stroke:"none",fill:ne[b%ne.length]},ve),silent:!0}))}),this),H.k(ie,(function(d,b){this.group.add(graphic_mergePath(d,{style:H.i({fill:"none",stroke:te[b%te.length]},ye),silent:!0}))}),this)}function getColorIndex(d,b,x){var T=x%b.length;return d[T]=d[T]||[],T}},RadarView.type="radar",RadarView}(ns),Cp=function(d){function IndicatorAxis(b,x,T){var D=d.call(this,b,x,T)||this;return D.type="value",D.angle=0,D.name="",D}return __extends(IndicatorAxis,d),IndicatorAxis}(zh),Tp=function(){function Radar(d,b,x){this.dimensions=[],this._model=d,this._indicatorAxes=Object(H.H)(d.getIndicatorModels(),(function(d,b){var x="indicator_"+b,T=new Cp(x,new mh);return T.name=d.get("name"),T.model=d,d.axis=T,this.dimensions.push(x),T}),this),this.resize(d,x)}return Radar.prototype.getIndicatorAxes=function(){return this._indicatorAxes},Radar.prototype.dataToPoint=function(d,b){var x=this._indicatorAxes[b];return this.coordToPoint(x.dataToCoord(d),b)},Radar.prototype.coordToPoint=function(d,b){var x=this._indicatorAxes[b].angle;return[this.cx+d*Math.cos(x),this.cy-d*Math.sin(x)]},Radar.prototype.pointToData=function(d){var b=d[0]-this.cx,x=d[1]-this.cy,T=Math.sqrt(b*b+x*x);b/=T,x/=T;for(var D,z=Math.atan2(-x,b),H=1/0,W=-1,U=0;U<this._indicatorAxes.length;U++){var Y=this._indicatorAxes[U],Z=Math.abs(z-Y.angle);Z<H&&(D=Y,W=U,H=Z)}return[W,+(D&&D.coordToData(T))]},Radar.prototype.resize=function(d,b){var x=createBoxLayoutReference(d,b).refContainer,T=d.get("center"),D=Math.min(x.width,x.height)/2;this.cx=number_parsePercent(T[0],x.width)+x.x,this.cy=number_parsePercent(T[1],x.height)+x.y,this.startAngle=d.get("startAngle")*Math.PI/180;var z=d.get("radius");(Object(H.C)(z)||Object(H.z)(z))&&(z=[0,z]),this.r0=number_parsePercent(z[0],D),this.r=number_parsePercent(z[1],D),Object(H.k)(this._indicatorAxes,(function(d,b){d.setExtent(this.r0,this.r);var x=this.startAngle+b*Math.PI*2/this._indicatorAxes.length;x=Math.atan2(Math.sin(x),Math.cos(x)),d.angle=x}),this)},Radar.prototype.update=function(d,b){var x=this._indicatorAxes,T=this._model;Object(H.k)(x,(function(d){d.scale.setExtent(1/0,-1/0)})),d.eachSeriesByType("radar",(function(b,D){if("radar"===b.get("coordinateSystem")&&d.getComponent("radar",b.get("radarIndex"))===T){var z=b.getData();Object(H.k)(x,(function(d){d.scale.unionExtentFromData(z,z.mapDimension(d.dim))}))}}),this);var D=T.get("splitNumber"),z=new mh;z.setExtent(0,D),z.setInterval(1),Object(H.k)(x,(function(d,b){alignScaleTicks(d.scale,d.model,z)}))},Radar.prototype.convertToPixel=function(d,b,x){return console.warn("Not implemented."),null},Radar.prototype.convertFromPixel=function(d,b,x){return console.warn("Not implemented."),null},Radar.prototype.containPoint=function(d){return console.warn("Not implemented."),!1},Radar.create=function(d,b){var x=[];return d.eachComponent("radar",(function(T){var D=new Radar(T,d,b);x.push(D),T.coordinateSystem=D})),d.eachSeriesByType("radar",(function(d){"radar"===d.get("coordinateSystem")&&(d.coordinateSystem=x[d.get("radarIndex")||0])})),x},Radar.dimensions=[],Radar}();function radar_install_install(d){d.registerCoordinateSystem("radar",Tp),d.registerComponentModel(Sp),d.registerComponentView(Mp),d.registerVisual({seriesType:"radar",reset:function(d){var b=d.getData();b.each((function(d){b.setItemVisual(d,"legendIcon","roundRect")})),b.setVisual("legendIcon","roundRect")}})}var kp=makeInner();function isTaken(d,b){return!!kp(d)[b]}registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},H.L);var Ap={axisPointer:1,tooltip:1,brush:1};function onIrrelevantElement(d,b,x){var T=b.getComponentByElement(d.topTarget);if(!T||T===x||Ap.hasOwnProperty(T.mainType))return!1;var D=T.coordinateSystem;if(!D||D.model===x)return!1;var z=retrieveZInfo(T),H=retrieveZInfo(x);return!((z.zlevel-H.zlevel||z.z-H.z)<=0)}var Pp=function(d){function RoamController(b){var x=d.call(this)||this;x._zr=b;var T=Object(H.c)(x._mousedownHandler,x),D=Object(H.c)(x._mousemoveHandler,x),z=Object(H.c)(x._mouseupHandler,x),W=Object(H.c)(x._mousewheelHandler,x),U=Object(H.c)(x._pinchHandler,x);return x.enable=function(d,x){var Y=x.zInfo,Z=retrieveZInfo(Y.component),J=Z.z,ee=Z.zlevel,te={component:Y.component,z:J,zlevel:ee,z2:Object(H.P)(Y.z2,-1/0)},ne=Object(H.m)({},x.triggerInfo);this._opt=Object(H.i)(Object(H.m)({},x),{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0,zInfoParsed:te,triggerInfo:ne}),null==d&&(d=!0),this._enabled&&this._controlType===d||(this._enabled=!0,this.disable(),!0!==d&&"move"!==d&&"pan"!==d||(addRoamZrListener(b,"mousedown",T,te),addRoamZrListener(b,"mousemove",D,te),addRoamZrListener(b,"mouseup",z,te)),!0!==d&&"scale"!==d&&"zoom"!==d||(addRoamZrListener(b,"mousewheel",W,te),addRoamZrListener(b,"pinch",U,te)))},x.disable=function(){this._enabled=!1,removeRoamZrListener(b,"mousedown",T),removeRoamZrListener(b,"mousemove",D),removeRoamZrListener(b,"mouseup",z),removeRoamZrListener(b,"mousewheel",W),removeRoamZrListener(b,"pinch",U)},x}return __extends(RoamController,d),RoamController.prototype.isDragging=function(){return this._dragging},RoamController.prototype.isPinching=function(){return this._pinching},RoamController.prototype._checkPointer=function(d,b,x){var T=this._opt,D=T.zInfoParsed;
vendor: 2,871 bytes, line 808
808if(onIrrelevantElement(d,T.api,D.component))return!1;var z=T.triggerInfo,H=!1;return"global"===z.roamTrigger&&(H=!0),H||(H=z.isInSelf(d,b,x)),H&&z.isInClip&&!z.isInClip(d,b,x)&&(H=!1),H},RoamController.prototype._decideCursorStyle=function(d,b,x,T){var D=d.target;return!D&&this._checkPointer(d,b,x)?"grab":T?D&&D.cursor||"default":void 0},RoamController.prototype.dispose=function(){this.disable()},RoamController.prototype._mousedownHandler=function(d){if(!isMiddleOrRightButtonOnMouseUpDown(d)&&!eventConsumed(d)){for(var b=d.target;b;){if(b.draggable)return;b=b.__hostTarget||b.parent}var x=d.offsetX,T=d.offsetY;this._checkPointer(d,x,T)&&(this._x=x,this._y=T,this._dragging=!0)}},RoamController.prototype._mousemoveHandler=function(d){var b=this._zr;if("pinch"!==d.gestureEvent&&!isTaken(b,"globalPan")&&!eventConsumed(d)){var x=d.offsetX,T=d.offsetY;if(this._dragging&&isAvailableBehavior("moveOnMouseMove",d,this._opt)){b.setCursorStyle("grabbing");var D=this._x,z=this._y,H=x-D,W=T-z;this._x=x,this._y=T,this._opt.preventDefaultMouseMove&&event_stop(d.event),d.__ecRoamConsumed=!0,RoamController_trigger(this,"pan","moveOnMouseMove",d,{dx:H,dy:W,oldX:D,oldY:z,newX:x,newY:T,isAvailableBehavior:null})}else{var U=this._decideCursorStyle(d,x,T,!1);U&&b.setCursorStyle(U)}}},RoamController.prototype._mouseupHandler=function(d){if(!eventConsumed(d)){var b=this._zr;if(!isMiddleOrRightButtonOnMouseUpDown(d)){this._dragging=!1;var x=this._decideCursorStyle(d,d.offsetX,d.offsetY,!0);x&&b.setCursorStyle(x)}}},RoamController.prototype._mousewheelHandler=function(d){if(!eventConsumed(d)){var b=isAvailableBehavior("zoomOnMouseWheel",d,this._opt),x=isAvailableBehavior("moveOnMouseWheel",d,this._opt),T=d.wheelDelta,D=Math.abs(T),z=d.offsetX,H=d.offsetY;if(0!==T&&(b||x)){if(b){var W=D>3?1.4:D>1?1.2:1.1,U=T>0?W:1/W;this._checkTriggerMoveZoom(this,"zoom","zoomOnMouseWheel",d,{scale:U,originX:z,originY:H,isAvailableBehavior:null})}if(x){var Y=Math.abs(T),Z=(T>0?1:-1)*(Y>3?.4:Y>1?.15:.05);this._checkTriggerMoveZoom(this,"scrollMove","moveOnMouseWheel",d,{scrollDelta:Z,originX:z,originY:H,isAvailableBehavior:null})}}}},RoamController.prototype._pinchHandler=function(d){if(!isTaken(this._zr,"globalPan")&&!eventConsumed(d)){var b=d.pinchScale>1?1.1:1/1.1;this._checkTriggerMoveZoom(this,"zoom",null,d,{scale:b,originX:d.pinchX,originY:d.pinchY,isAvailableBehavior:null})}},RoamController.prototype._checkTriggerMoveZoom=function(d,b,x,T,D){d._checkPointer(T,D.originX,D.originY)&&(event_stop(T.event),T.__ecRoamConsumed=!0,RoamController_trigger(d,b,x,T,D))},RoamController}(Y);function eventConsumed(d){return d.__ecRoamConsumed}var Op=makeInner();function ensureZrStore(d){var b=Op(d);return b.roam=b.roam||{},b.uniform=b.uniform||{},b}function addRoamZrListener(d,b,x,T){for(var D=ensureZrStore(d).roam,z=D[b]=D[b]||[],H=0;H<z.length;H++){var W=z[H].zInfoParsed;
808if((W.zlevel-T.zlevel||W.z-T.z||W.z2-T.z2)<=0)break}z.splice(H,0,{listener:x,zInfoParsed:T}),function(d,b){var x=ensureZrStore(d);x.uniform[b]||d.on(b,x.uniform[b]=function(d){var T=x.roam[b];if(T)for(var D=0;D<T.length;D++)T[D].listener(d)})}(d,b)}function removeRoamZrListener(d,b,x){for(var T=ensureZrStore(d).roam[b]||[],D=0;D<T.length;D++)if(T[D].listener===x)return T.splice(D,1),void(T.length||removeUniformListener(d,b))}function removeUniformListener(d,b){var x=ensureZrStore(d).uniform;x[b]&&(d.off(b,x[b]),x[b]=null)}function RoamController_trigger(d,b,x,T,D){D.isAvailableBehavior=Object(H.c)(isAvailableBehavior,null,x,T),d.trigger(b,D)}function isAvailableBehavior(d,b,x){var T=x[d];return!d||T&&(!Object(H.C)(T)||b.event[T+"Key"])}var Ip,Dp=Pp;function updateViewOnPan(d,b,x){var T=d.target;T.x+=b,T.y+=x,T.dirty()}function updateViewOnZoom(d,b,x,T){var D=d.target,z=d.zoomLimit,H=d.zoom=d.zoom||1,W=(H=clampByZoomLimit(H*=b,z))/d.zoom;d.zoom=H,zoomTransformableByOrigin(D,x,T,W),D.dirty()}function updateController(d,b,x,T,D,z){var H=new Ee(0,0,0,0);T.enable(d.get("roam"),{api:b,zInfo:{component:d},triggerInfo:{roamTrigger:d.get("roamTrigger"),isInSelf:function(d,b,T){return H.copy(x.getBoundingRect()),H.applyTransform(x.getComputedTransform()),H.contain(b,T)},isInClip:function(d,b,x){return!z||z.contain(b,x)}}}),D.zoomLimit=d.get("scaleLimit");var W=d.coordinateSystem;D.zoom=W?W.getZoom():1;var U=d.subType+"Roam";T.off("pan").off("zoom").on("pan",(function(x){updateViewOnPan(D,x.dx,x.dy),b.dispatchAction({seriesId:d.id,type:U,dx:x.dx,dy:x.dy})})).on("zoom",(function(x){updateViewOnZoom(D,x.scale,x.originX,x.originY),b.dispatchAction({seriesId:d.id,type:U,zoom:x.scale,originX:x.originX,originY:x.originY}),b.updateLabelLayout()}))}function getCenterCoord(d,b){return d.pointToProjected?d.pointToProjected(b):d.pointToData(b)}function updateCenterAndZoomInAction(d,b,x){var T=d.getZoom(),D=d.getCenter(),z=b.zoom,H=d.projectedToPoint?d.projectedToPoint(D):d.dataToPoint(D);return null!=b.dx&&null!=b.dy&&(H[0]-=b.dx,H[1]-=b.dy,d.setCenter(getCenterCoord(d,H))),null!=z&&(z=clampByZoomLimit(T*z,x)/T,zoomTransformableByOrigin(d,b.originX,b.originY,z),d.updateTransform(),d.setCenter(getCenterCoord(d,H)),d.setZoom(z*T)),{center:d.getCenter(),zoom:d.getZoom()}}function zoomTransformableByOrigin(d,b,x,T){d.x-=(b-d.x)*(T-1),d.y-=(x-d.y)*(T-1),d.scaleX*=T,d.scaleY*=T}function clampByZoomLimit(d,b){if(b){var x=b.min||0,T=b.max||1/0;d=Math.max(Math.min(T,d),x)}return d}function parseXML(d){Object(H.C)(d)&&(d=(new DOMParser).parseFromString(d,"text/xml"));var b=d;for(9===b.nodeType&&(b=b.firstChild);"svg"!==b.nodeName.toLowerCase()||1!==b.nodeType;)b=b.nextSibling;return b}var Ep={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},Lp=Object(H.F)(Ep),Rp={"alignment-baseline":"textBaseline","stop-color":"stopColor"},Bp=Object(H.F)(Rp),Np=function(){function SVGParser(){this._defs={},this._root=null}return SVGParser.prototype.parse=function(d,b){b=b||{};var x=parseXML(d);this._defsUsePending=[];var T=new Xn;this._root=T;var D=[],z=x.getAttribute("viewBox")||"",H=parseFloat(x.getAttribute("width")||b.width),W=parseFloat(x.getAttribute("height")||b.height);isNaN(H)&&(H=null),isNaN(W)&&(W=null),parseAttributes(x,T,null,!0,!1);for(var U,Y,Z=x.firstChild;Z;)this._parseNode(Z,T,D,null,!1,!1),Z=Z.nextSibling;if(function(d,b){for(var x=0;x<b.length;x++){var T=b[x];T[0].style[T[1]]=d[T[2]]}}(this._defs,this._defsUsePending),this._defsUsePending=[],z){var J=splitNumberSequence(z);J.length>=4&&(U={x:parseFloat(J[0]||0),y:parseFloat(J[1]||0),width:parseFloat(J[2]),height:parseFloat(J[3])})}if(U&&null!=H&&null!=W&&(Y=makeViewBoxTransform(U,{x:0,y:0,width:H,height:W}),!b.ignoreViewBox)){var ee=T;(T=new Xn).add(ee),ee.scaleX=ee.scaleY=Y.scale,ee.x=Y.x,ee.y=Y.y}return b.ignoreRootClip||null==H||null==W||T.setClipPath(new _r({shape:{x:0,y:0,width:H,height:W}})),{root:T,width:H,height:W,viewBoxRect:U,viewBoxTransform:Y,named:D}},SVGParser.prototype._parseNode=function(d,b,x,T,D,z){var W,U=d.nodeName.toLowerCase(),Y=T;if("defs"===U&&(D=!0),"text"===U&&(z=!0),"defs"===U||"switch"===U)W=b;else{if(!D){var Z=Ip[U];if(Z&&Object(H.q)(Ip,U)){W=Z.call(this,d,b);var J=d.getAttribute("name");if(J){var ee={name:J,namedFrom:null,svgNodeTagLower:U,el:W};x.push(ee),"g"===U&&(Y=ee)}else T&&x.push({name:T.name,namedFrom:T,svgNodeTagLower:U,el:W});b.add(W)}}var te=jp[U];if(te&&Object(H.q)(jp,U)){var ne=te.call(this,d),ie=d.getAttribute("id");ie&&(this._defs[ie]=ne)}}if(W&&W.isGroup)for(var oe=d.firstChild;oe;)1===oe.nodeType?this._parseNode(oe,W,x,Y,D,z):3===oe.nodeType&&z&&this._parseText(oe,W),oe=oe.nextSibling},SVGParser.prototype._parseText=function(d,b){var x=new pr({style:{text:d.textContent},silent:!0,x:this._textX||0,y:this._textY||0});inheritStyle(b,x),parseAttributes(d,x,this._defsUsePending,!1,!1),function(d,b){var x=b.__selfStyle;if(x){var T=x.textBaseline,D=T;
vendor: 4,439 bytes, line 808
808T&&"auto"!==T?"baseline"===T?D="alphabetic":"before-edge"===T||"text-before-edge"===T?D="top":"after-edge"===T||"text-after-edge"===T?D="bottom":"central"!==T&&"mathematical"!==T||(D="middle"):D="alphabetic",d.style.textBaseline=D}var z=b.__inheritedStyle;if(z){var H=z.textAlign,W=H;H&&("middle"===H&&(W="center"),d.style.textAlign=W)}}(x,b);var T=x.style,D=T.fontSize;D&&D<9&&(T.fontSize=9,x.scaleX*=D/9,x.scaleY*=D/9);var z=(T.fontSize||T.fontFamily)&&[T.fontStyle,T.fontWeight,(T.fontSize||12)+"px",T.fontFamily||"sans-serif"].join(" ");T.font=z;var H=x.getBoundingRect();return this._textX+=H.width,b.add(x),x},SVGParser.internalField=void(Ip={g:function(d,b){var x=new Xn;return inheritStyle(b,x),parseAttributes(d,x,this._defsUsePending,!1,!1),x},rect:function(d,b){var x=new _r;return inheritStyle(b,x),parseAttributes(d,x,this._defsUsePending,!1,!1),x.setShape({x:parseFloat(d.getAttribute("x")||"0"),y:parseFloat(d.getAttribute("y")||"0"),width:parseFloat(d.getAttribute("width")||"0"),height:parseFloat(d.getAttribute("height")||"0")}),x.silent=!0,x},circle:function(d,b){var x=new gs;return inheritStyle(b,x),parseAttributes(d,x,this._defsUsePending,!1,!1),x.setShape({cx:parseFloat(d.getAttribute("cx")||"0"),cy:parseFloat(d.getAttribute("cy")||"0"),r:parseFloat(d.getAttribute("r")||"0")}),x.silent=!0,x},line:function(d,b){var x=new js;return inheritStyle(b,x),parseAttributes(d,x,this._defsUsePending,!1,!1),x.setShape({x1:parseFloat(d.getAttribute("x1")||"0"),y1:parseFloat(d.getAttribute("y1")||"0"),x2:parseFloat(d.getAttribute("x2")||"0"),y2:parseFloat(d.getAttribute("y2")||"0")}),x.silent=!0,x},ellipse:function(d,b){var x=new ys;return inheritStyle(b,x),parseAttributes(d,x,this._defsUsePending,!1,!1),x.setShape({cx:parseFloat(d.getAttribute("cx")||"0"),cy:parseFloat(d.getAttribute("cy")||"0"),rx:parseFloat(d.getAttribute("rx")||"0"),ry:parseFloat(d.getAttribute("ry")||"0")}),x.silent=!0,x},polygon:function(d,b){var x,T=d.getAttribute("points");T&&(x=parsePoints(T));var D=new Es({shape:{points:x||[]},silent:!0});return inheritStyle(b,D),parseAttributes(d,D,this._defsUsePending,!1,!1),D},polyline:function(d,b){var x,T=d.getAttribute("points");T&&(x=parsePoints(T));var D=new Rs({shape:{points:x||[]},silent:!0});return inheritStyle(b,D),parseAttributes(d,D,this._defsUsePending,!1,!1),D},image:function(d,b){var x=new yr;return inheritStyle(b,x),parseAttributes(d,x,this._defsUsePending,!1,!1),x.setStyle({image:d.getAttribute("xlink:href")||d.getAttribute("href"),x:+d.getAttribute("x"),y:+d.getAttribute("y"),width:+d.getAttribute("width"),height:+d.getAttribute("height")}),x.silent=!0,x},text:function(d,b){var x=d.getAttribute("x")||"0",T=d.getAttribute("y")||"0",D=d.getAttribute("dx")||"0",z=d.getAttribute("dy")||"0";this._textX=parseFloat(x)+parseFloat(D),this._textY=parseFloat(T)+parseFloat(z);var H=new Xn;return inheritStyle(b,H),parseAttributes(d,H,this._defsUsePending,!1,!0),H},tspan:function(d,b){var x=d.getAttribute("x"),T=d.getAttribute("y");null!=x&&(this._textX=parseFloat(x)),null!=T&&(this._textY=parseFloat(T));var D=d.getAttribute("dx")||"0",z=d.getAttribute("dy")||"0",H=new Xn;return inheritStyle(b,H),parseAttributes(d,H,this._defsUsePending,!1,!0),this._textX+=parseFloat(D),this._textY+=parseFloat(z),H},path:function(d,b){var x=createFromString(d.getAttribute("d")||"");return inheritStyle(b,x),parseAttributes(d,x,this._defsUsePending,!1,!1),x.silent=!0,x}}),SVGParser}(),jp={lineargradient:function(d){var b=parseInt(d.getAttribute("x1")||"0",10),x=parseInt(d.getAttribute("y1")||"0",10),T=parseInt(d.getAttribute("x2")||"10",10),D=parseInt(d.getAttribute("y2")||"0",10),z=new Us(b,x,T,D);return parsePaintServerUnit(d,z),parseGradientColorStops(d,z),z},radialgradient:function(d){var b=parseInt(d.getAttribute("cx")||"0",10),x=parseInt(d.getAttribute("cy")||"0",10),T=parseInt(d.getAttribute("r")||"0",10),D=new Ys(b,x,T);return parsePaintServerUnit(d,D),parseGradientColorStops(d,D),D}};function parsePaintServerUnit(d,b){"userSpaceOnUse"===d.getAttribute("gradientUnits")&&(b.global=!0)}function parseGradientColorStops(d,b){for(var x=d.firstChild;x;){if(1===x.nodeType&&"stop"===x.nodeName.toLocaleLowerCase()){var T=x.getAttribute("offset"),D=void 0;D=T&&T.indexOf("%")>0?parseInt(T,10)/100:T?parseFloat(T):0;var z={};parseInlineStyle(x,z,z);var H=z.stopColor||x.getAttribute("stop-color")||"#000000",W=z.stopOpacity||x.getAttribute("stop-opacity");if(W){var U=yt.h(H);
vendor: 14,775 bytes, line 808
808U&&U[3]&&(U[3]*=yt.i(W),H=yt.j(U,"rgba"))}b.colorStops.push({offset:D,color:H})}x=x.nextSibling}}function inheritStyle(d,b){d&&d.__inheritedStyle&&(b.__inheritedStyle||(b.__inheritedStyle={}),Object(H.i)(b.__inheritedStyle,d.__inheritedStyle))}function parsePoints(d){for(var b=splitNumberSequence(d),x=[],T=0;T<b.length;T+=2){var D=parseFloat(b[T]),z=parseFloat(b[T+1]);x.push([D,z])}return x}function parseAttributes(d,b,x,T,D){var z=b,W=z.__inheritedStyle=z.__inheritedStyle||{},U={};1===d.nodeType&&(function(d,b){var x=d.getAttribute("transform");if(x){x=x.replace(/,/g," ");var T=[],D=null;x.replace(Fp,(function(d,b,x){return T.push(b,x),""}));for(var z=T.length-1;z>0;z-=2){var H=T[z],W=T[z-1],U=splitNumberSequence(H);switch(D=D||[1,0,0,1,0,0],W){case"translate":matrix_translate(D,D,[parseFloat(U[0]),parseFloat(U[1]||"0")]);break;case"scale":matrix_scale(D,D,[parseFloat(U[0]),parseFloat(U[1]||U[0])]);break;case"rotate":matrix_rotate(D,D,-parseFloat(U[0])*Hp,[parseFloat(U[1]||"0"),parseFloat(U[2]||"0")]);break;case"skewX":var Y=Math.tan(parseFloat(U[0])*Hp);matrix_mul(D,[1,0,Y,1,0,0],D);break;case"skewY":var Z=Math.tan(parseFloat(U[0])*Hp);matrix_mul(D,[1,Z,0,1,0,0],D);break;case"matrix":D[0]=parseFloat(U[0]),D[1]=parseFloat(U[1]),D[2]=parseFloat(U[2]),D[3]=parseFloat(U[3]),D[4]=parseFloat(U[4]),D[5]=parseFloat(U[5])}}b.setLocalTransform(D)}}(d,b),parseInlineStyle(d,W,U),T||function(d,b,x){for(var T=0;T<Lp.length;T++){var D=Lp[T];null!=(z=d.getAttribute(D))&&(b[Ep[D]]=z)}for(T=0;T<Bp.length;T++){var z;D=Bp[T];null!=(z=d.getAttribute(D))&&(x[Rp[D]]=z)}}(d,W,U)),z.style=z.style||{},null!=W.fill&&(z.style.fill=getFillStrokeStyle(z,"fill",W.fill,x)),null!=W.stroke&&(z.style.stroke=getFillStrokeStyle(z,"stroke",W.stroke,x)),Object(H.k)(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],(function(d){null!=W[d]&&(z.style[d]=parseFloat(W[d]))})),Object(H.k)(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign"],(function(d){null!=W[d]&&(z.style[d]=W[d])})),D&&(z.__selfStyle=U),W.lineDash&&(z.style.lineDash=Object(H.H)(splitNumberSequence(W.lineDash),(function(d){return parseFloat(d)}))),"hidden"!==W.visibility&&"collapse"!==W.visibility||(z.invisible=!0),"none"===W.display&&(z.ignore=!0)}var Vp=/^url\(\s*#(.*?)\)/;function getFillStrokeStyle(d,b,x,T){var D=x&&x.match(Vp);if(!D)return"none"===x&&(x=null),x;var z=Object(H.T)(D[1]);T.push([d,b,z])}var zp=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function splitNumberSequence(d){return d.match(zp)||[]}var Fp=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g,Hp=Math.PI/180;var Gp=/([^\s:;]+)\s*:\s*([^:;]+)/g;function parseInlineStyle(d,b,x){var T,D=d.getAttribute("style");if(D)for(Gp.lastIndex=0;null!=(T=Gp.exec(D));){var z=T[1],W=Object(H.q)(Ep,z)?Ep[z]:null;W&&(b[W]=T[2]);var U=Object(H.q)(Rp,z)?Rp[z]:null;U&&(x[U]=T[2])}}function makeViewBoxTransform(d,b){var x=b.width/d.width,T=b.height/d.height,D=Math.min(x,T);return{scale:D,x:-(d.x+d.width/2)*D+(b.x+b.width/2),y:-(d.y+d.height/2)*D+(b.y+b.height/2)}}function polygon_isAroundEqual(d,b){return Math.abs(d-b)<1e-8}function polygon_contain(d,b,x){var T=0,D=d[0];if(!D)return!1;for(var z=1;z<d.length;z++){var H=d[z];T+=windingLine(D[0],D[1],H[0],H[1],b,x),D=H}var W=d[0];return polygon_isAroundEqual(D[0],W[0])&&polygon_isAroundEqual(D[1],W[1])||(T+=windingLine(D[0],D[1],W[0],W[1],b,x)),0!==T}var $p=[];function transformPoints(d,b){for(var x=0;x<d.length;x++)applyTransform(d[x],d[x],b)}function updateBBoxFromPoints(d,b,x,T){for(var D=0;D<d.length;D++){var z=d[D];T&&(z=T.project(z)),z&&isFinite(z[0])&&isFinite(z[1])&&(vector_min(b,b,z),vector_max(x,x,z))}}var Wp=function(){function Region(d){this.name=d}return Region.prototype.setCenter=function(d){this._center=d},Region.prototype.getCenter=function(){var d=this._center;return d||(d=this._center=this.calcCenter()),d},Region}(),GeoJSONPolygonGeometry=function(d,b){this.type="polygon",this.exterior=d,this.interiors=b},GeoJSONLineStringGeometry=function(d){this.type="linestring",this.points=d},Up=function(d){function GeoJSONRegion(b,x,T){var D=d.call(this,b)||this;return D.type="geoJSON",D.geometries=x,D._center=T&&[T[0],T[1]],D}return __extends(GeoJSONRegion,d),GeoJSONRegion.prototype.calcCenter=function(){for(var d,b=this.geometries,x=0,T=0;T<b.length;T++){var D=b[T],z=D.exterior,H=z&&z.length;H>x&&(d=D,x=H)}if(d)return function(d){for(var b=0,x=0,T=0,D=d.length,z=d[D-1][0],H=d[D-1][1],W=0;W<D;W++){var U=d[W][0],Y=d[W][1],Z=z*Y-U*H;b+=Z,x+=(z+U)*Z,T+=(H+Y)*Z,z=U,H=Y}return b?[x/b/3,T/b/3,b]:[d[0][0]||0,d[0][1]||0]}(d.exterior);var W=this.getBoundingRect();return[W.x+W.width/2,W.y+W.height/2]},GeoJSONRegion.prototype.getBoundingRect=function(d){var b=this._rect;if(b&&!d)return b;var x=[1/0,1/0],T=[-1/0,-1/0],D=this.geometries;return Object(H.k)(D,(function(b){"polygon"===b.type?updateBBoxFromPoints(b.exterior,x,T,d):Object(H.k)(b.points,(function(b){updateBBoxFromPoints(b,x,T,d)}))})),isFinite(x[0])&&isFinite(x[1])&&isFinite(T[0])&&isFinite(T[1])||(x[0]=x[1]=T[0]=T[1]=0),b=new Ee(x[0],x[1],T[0]-x[0],T[1]-x[1]),d||(this._rect=b),b},GeoJSONRegion.prototype.contain=function(d){var b=this.getBoundingRect(),x=this.geometries;if(!b.contain(d[0],d[1]))return!1;e:for(var T=0,D=x.length;T<D;T++){var z=x[T];if("polygon"===z.type){var H=z.exterior,W=z.interiors;if(polygon_contain(H,d[0],d[1])){for(var U=0;U<(W?W.length:0);U++)if(polygon_contain(W[U],d[0],d[1]))continue e;return!0}}}return!1},GeoJSONRegion.prototype.transformTo=function(d,b,x,T){var D=this.getBoundingRect(),z=D.width/D.height;x?T||(T=x/z):x=z*T;for(var W=new Ee(d,b,x,T),U=D.calculateTransform(W),Y=this.geometries,Z=0;Z<Y.length;Z++){var J=Y[Z];"polygon"===J.type?(transformPoints(J.exterior,U),Object(H.k)(J.interiors,(function(d){transformPoints(d,U)}))):Object(H.k)(J.points,(function(d){transformPoints(d,U)}))}(D=this._rect).copy(W),this._center=[D.x+D.width/2,D.y+D.height/2]},GeoJSONRegion.prototype.cloneShallow=function(d){null==d&&(d=this.name);var b=new GeoJSONRegion(d,this.geometries,this._center);return b._rect=this._rect,b.transformTo=null,b},GeoJSONRegion}(Wp),Yp=function(d){function GeoSVGRegion(b,x){var T=d.call(this,b)||this;return T.type="geoSVG",T._elOnlyForCalculate=x,T}return __extends(GeoSVGRegion,d),GeoSVGRegion.prototype.calcCenter=function(){for(var d=this._elOnlyForCalculate,b=d.getBoundingRect(),x=[b.x+b.width/2,b.y+b.height/2],T=identity($p),D=d;D&&!D.isGeoSVGGraphicRoot;)matrix_mul(T,D.getLocalTransform(),T),D=D.parent;return matrix_invert(T,T),applyTransform(x,x,T),x},GeoSVGRegion}(Wp),qp=Object(H.f)(["rect","circle","line","ellipse","polygon","polyline","path","text","tspan","g"]),Zp=function(){function GeoSVGResource(d,b){this.type="geoSVG",this._usedGraphicMap=Object(H.f)(),this._freedGraphics=[],this._mapName=d,this._parsedXML=parseXML(b)}return GeoSVGResource.prototype.load=function(){var d=this._firstGraphic;if(!d){d=this._firstGraphic=this._buildGraphic(this._parsedXML),this._freedGraphics.push(d),this._boundingRect=this._firstGraphic.boundingRect.clone();var b=function(d){var b=[],x=Object(H.f)();return Object(H.k)(d,(function(d){if(null==d.namedFrom){var T=new Yp(d.name,d.el);b.push(T),x.set(d.name,T)}})),{regions:b,regionsMap:x}}(d.named),x=b.regions,T=b.regionsMap;this._regions=x,this._regionsMap=T}return{boundingRect:this._boundingRect,regions:this._regions,regionsMap:this._regionsMap}},GeoSVGResource.prototype._buildGraphic=function(d){var b,x;try{x=(b=d&&function(d,b){return(new Np).parse(d,b)}(d,{ignoreViewBox:!0,ignoreRootClip:!0})||{}).root,Object(H.b)(null!=x)}catch(d){throw new Error("Invalid svg format\n"+d.message)}var T=new Xn;T.add(x),T.isGeoSVGGraphicRoot=!0;var D=b.width,z=b.height,W=b.viewBoxRect,U=this._boundingRect;if(!U){var Y=void 0,Z=void 0,J=void 0,ee=void 0;if(null!=D?(Y=0,J=D):W&&(Y=W.x,J=W.width),null!=z?(Z=0,ee=z):W&&(Z=W.y,ee=W.height),null==Y||null==Z){var te=x.getBoundingRect();null==Y&&(Y=te.x,J=te.width),null==Z&&(Z=te.y,ee=te.height)}U=this._boundingRect=new Ee(Y,Z,J,ee)}if(W){var ne=makeViewBoxTransform(W,U);x.scaleX=x.scaleY=ne.scale,x.x=ne.x,x.y=ne.y}T.setClipPath(new _r({shape:U.plain()}));var ie=[];return Object(H.k)(b.named,(function(d){var b;null!=qp.get(d.svgNodeTagLower)&&(ie.push(d),(b=d.el).silent=!1,b.isGroup&&b.traverse((function(d){d.silent=!1})))})),{root:T,boundingRect:U,named:ie}},GeoSVGResource.prototype.useGraphic=function(d){var b=this._usedGraphicMap,x=b.get(d);return x||(x=this._freedGraphics.pop()||this._buildGraphic(this._parsedXML),b.set(d,x),x)},GeoSVGResource.prototype.freeGraphic=function(d){var b=this._usedGraphicMap,x=b.get(d);x&&(b.removeKey(d),this._freedGraphics.push(x))},GeoSVGResource}();function decodeRings(d,b,x){for(var T=0;T<d.length;T++)d[T]=decodeRing(d[T],b[T],x)}function decodeRing(d,b,x){for(var T=[],D=b[0],z=b[1],H=0;H<d.length;H+=2){var W=d.charCodeAt(H)-64,U=d.charCodeAt(H+1)-64;W=W>>1^-(1&W),U=U>>1^-(1&U),D=W+=D,z=U+=z,T.push([W/x,U/x])}return T}function parseGeoJSON(d,b){return d=function(d){if(!d.UTF8Encoding)return d;var b=d,x=b.UTF8Scale;null==x&&(x=1024);var T=b.features;return H.k(T,(function(d){var b=d.geometry,T=b.encodeOffsets,D=b.coordinates;if(T)switch(b.type){case"LineString":b.coordinates=decodeRing(D,T,x);break;case"Polygon":case"MultiLineString":decodeRings(D,T,x);break;case"MultiPolygon":H.k(D,(function(d,b){return decodeRings(d,T[b],x)}))}})),b.UTF8Encoding=!1,b}(d),H.H(H.n(d.features,(function(d){return d.geometry&&d.properties&&d.geometry.coordinates.length>0})),(function(d){var x=d.properties,T=d.geometry,D=[];switch(T.type){case"Polygon":var z=T.coordinates;D.push(new GeoJSONPolygonGeometry(z[0],z.slice(1)));break;case"MultiPolygon":H.k(T.coordinates,(function(d){d[0]&&D.push(new GeoJSONPolygonGeometry(d[0],d.slice(1)))}));break;case"LineString":D.push(new GeoJSONLineStringGeometry([T.coordinates]));break;case"MultiLineString":D.push(new GeoJSONLineStringGeometry(T.coordinates))}var W=new Up(x[b||"name"],D,x.cp);return W.properties=x,W}))}for(var Xp=[126,25],Kp=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],Jp=0;Jp<Kp.length;Jp++)for(var Qp=0;Qp<Kp[Jp].length;Qp++)Kp[Jp][Qp][0]/=10.5,Kp[Jp][Qp][1]/=-14,Kp[Jp][Qp][0]+=Xp[0],Kp[Jp][Qp][1]+=Xp[1];var ef={"南海诸岛":[32,80],"广东":[0,-10],"香港":[10,5],"澳门":[-10,10],"天津":[5,5]};var tf=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];var nf=function(){function GeoJSONResource(d,b,x){var T;this.type="geoJSON",this._parsedMap=Object(H.f)(),this._mapName=d,this._specialAreas=x,this._geoJSON=(T=b,Object(H.C)(T)?"undefined"!=typeof JSON&&JSON.parse?JSON.parse(T):new Function("return ("+T+");")():T)}return GeoJSONResource.prototype.load=function(d,b){b=b||"name";var x=this._parsedMap.get(b);if(!x){var T=this._parseToRegions(b);x=this._parsedMap.set(b,{regions:T,boundingRect:calculateBoundingRect(T)})}var D=Object(H.f)(),z=[];return Object(H.k)(x.regions,(function(b){var x=b.name;d&&Object(H.q)(d,x)&&(b=b.cloneShallow(x=d[x])),z.push(b),D.set(x,b)})),{regions:z,boundingRect:x.boundingRect||new Ee(0,0,0,0),regionsMap:D}},GeoJSONResource.prototype._parseToRegions=function(d){var b,x=this._mapName,T=this._geoJSON;try{b=T?parseGeoJSON(T,d):[]}catch(d){throw new Error("Invalid geoJson format\n"+d.message)}return function(d,b){if("china"===d){for(var x=0;x<b.length;x++)if("南海诸岛"===b[x].name)return;b.push(new Up("南海诸岛",H.H(Kp,(function(d){return{type:"polygon",exterior:d}})),Xp))}}(x,b),Object(H.k)(b,(function(d){var b=d.name;!function(d,b){if("china"===d){var x=ef[b.name];if(x){var T=b.getCenter();T[0]+=x[0]/10.5,T[1]+=-x[1]/14,b.setCenter(T)}}}(x,d),function(d,b){"china"===d&&"台湾"===b.name&&b.geometries.push({type:"polygon",exterior:tf[0]})}(x,d);var T=this._specialAreas&&this._specialAreas[b];T&&d.transformTo(T.left,T.top,T.width,T.height)}),this),b},GeoJSONResource.prototype.getMapForUser=function(){return{geoJson:this._geoJSON,geoJSON:this._geoJSON,specialAreas:this._specialAreas}},GeoJSONResource}();function calculateBoundingRect(d){for(var b,x=0;x<d.length;x++){var T=d[x].getBoundingRect();(b=b||T.clone()).union(T)}return b}var rf=Object(H.f)(),geoSourceManager_registerMap=function(d,b,x){if(b.svg){var T=new Zp(d,b.svg);rf.set(d,T)}else{var D=b.geoJson||b.geoJSON;D&&!b.features?x=b.specialAreas:D=b;T=new nf(d,D,x);rf.set(d,T)}},geoSourceManager_getGeoResource=function(d){return rf.get(d)},geoSourceManager_getMapForUser=function(d){var b=rf.get(d);return b&&"geoJSON"===b.type&&b.getMapForUser()},geoSourceManager_load=function(d,b,x){var T=rf.get(d);if(T)return T.load(b,x)},of=["rect","circle","line","ellipse","polygon","polyline","path"],af=H.f(of),sf=H.f(of.concat(["g"])),lf=H.f(of.concat(["g"])),uf=makeInner();function getFixedItemStyle(d){var b=d.getItemStyle(),x=d.get("areaColor");return null!=x&&(b.fill=x),b}function fixLineStyle(d){var b=d.style;b&&(b.stroke=b.stroke||b.fill,b.fill=null)}function applyOptionStyleForRegion(d,b,x,T){var D=T.getModel("itemStyle"),z=T.getModel(["emphasis","itemStyle"]),H=T.getModel(["blur","itemStyle"]),W=T.getModel(["select","itemStyle"]),U=getFixedItemStyle(D),Y=getFixedItemStyle(z),Z=getFixedItemStyle(W),J=getFixedItemStyle(H),ee=d.data;if(ee){var te=ee.getItemVisual(x,"style"),ne=ee.getItemVisual(x,"decal");d.isVisualEncodedByVisualMap&&te.fill&&(U.fill=te.fill),ne&&(U.decal=createOrUpdatePatternFromDecal(ne,d.api))}b.setStyle(U),b.style.strokeNoScale=!0,b.ensureState("emphasis").style=Y,b.ensureState("select").style=Z,b.ensureState("blur").style=J,setDefaultStateProxy(b)}function resetLabelForRegion(d,b,x,T,D,z,H){var W=d.data,U=d.isGeo,Y=W&&isNaN(W.get(W.mapDimension("value"),z)),Z=W&&W.getItemLayout(z);if(U||Y||Z&&Z.showLabel){var J=U?x:z,ee=void 0;(!W||z>=0)&&(ee=D);var te=H?{normal:{align:"center",verticalAlign:"middle"}}:null;setLabelStyle(b,getLabelStatesModels(T),{labelFetcher:ee,labelDataIndex:J,defaultText:x},te);var ne=b.getTextContent();if(ne&&(uf(ne).ignore=ne.ignore,b.textConfig&&H)){var ie=b.getBoundingRect
vendor: 6,801 bytes, line 808
808().clone();b.textConfig.layoutRect=ie,b.textConfig.position=[(H[0]-ie.x)/ie.width*100+"%",(H[1]-ie.y)/ie.height*100+"%"]}b.disableLabelAnimation=!0}else b.removeTextContent(),b.removeTextConfig(),b.disableLabelAnimation=null}function resetEventTriggerForRegion(d,b,x,T,D,z){d.data?d.data.setItemGraphicEl(z,b):Or(b).eventData={componentType:"geo",componentIndex:D.componentIndex,geoIndex:D.componentIndex,name:x,region:T&&T.option||{}}}function resetTooltipForRegion(d,b,x,T,D){d.data||setTooltipConfig({el:b,componentModel:D,itemName:x,itemTooltipOption:T.get("tooltip")})}function resetStateTriggerForRegion(d,b,x,T,D){b.highDownSilentOnTouch=!!D.get("selectedMode");var z=T.getModel("emphasis"),H=z.get("focus");return toggleHoverEmphasis(b,H,z.get("blurScope"),z.get("disabled")),d.isGeo&&function(d,b,x){var T=Or(d);T.componentMainType=b.mainType,T.componentIndex=b.componentIndex,T.componentHighDownName=x}(b,D,x),H}function projectPolys(d,b,x){var T,D=[];function startPolygon(){T=[]}function endPolygon(){T.length&&(D.push(T),T=[])}var z=b({polygonStart:startPolygon,polygonEnd:endPolygon,lineStart:startPolygon,lineEnd:endPolygon,point:function(d,b){isFinite(d)&&isFinite(b)&&T.push([d,b])},sphere:function(){}});return!x&&z.polygonStart(),H.k(d,(function(d){z.lineStart();for(var b=0;b<d.length;b++)z.point(d[b][0],d[b][1]);z.lineEnd()})),!x&&z.polygonEnd(),D}var cf=function(){function MapDraw(d){var b=this.group=new Xn,x=this._transformGroup=new Xn;b.add(x),this.uid=getUID("ec_map_draw"),this._controller=new Dp(d.getZr()),this._controllerHost={target:x},x.add(this._regionsGroup=new Xn),x.add(this._svgGroup=new Xn)}return MapDraw.prototype.draw=function(d,b,x,T,D){var z="geo"===d.mainType,H=d.getData&&d.getData();z&&b.eachComponent({mainType:"series",subType:"map"},(function(b){H||b.getHostGeoModel()!==d||(H=b.getData())}));var W,U=d.coordinateSystem,Y=this._regionsGroup,Z=this._transformGroup,J=U.getTransformInfo(),ee=J.raw,te=J.roam,ne=!Y.childAt(0)||D;d.getShallow("clip",!0)?(W=U.getViewRect().clone(),this.group.setClipPath(new _r({shape:W.clone()}))):this.group.removeClipPath(),ne?(Z.x=te.x,Z.y=te.y,Z.scaleX=te.scaleX,Z.scaleY=te.scaleY,Z.dirty()):updateProps(Z,te,d);var ie=H&&H.getVisual("visualMeta")&&H.getVisual("visualMeta").length>0,oe={api:x,geo:U,mapOrGeoModel:d,data:H,isVisualEncodedByVisualMap:ie,isGeo:z,transformInfoRaw:ee};"geoJSON"===U.resourceType?this._buildGeoJSON(oe):"geoSVG"===U.resourceType&&this._buildSVG(oe),this._updateController(d,W,b,x),this._updateMapSelectHandler(d,Y,x,T)},MapDraw.prototype._buildGeoJSON=function(d){var b=this._regionsGroupByName=H.f(),x=H.f(),T=this._regionsGroup,D=d.transformInfoRaw,z=d.mapOrGeoModel,W=d.data,U=d.geo.projection,Y=U&&U.stream;function transformPoint(d,b){return b&&(d=b(d)),d&&[d[0]*D.scaleX+D.x,d[1]*D.scaleY+D.y]}function transformPolygonPoints(d){for(var b=[],x=!Y&&U&&U.project,T=0;T<d.length;++T){var D=transformPoint(d[T],x);D&&b.push(D)}return b}function getPolyShape(d){return{shape:{points:transformPolygonPoints(d)}}}T.removeAll(),H.k(d.geo.regions,(function(D){var Z=D.name,J=b.get(Z),ee=x.get(Z)||{},te=ee.dataIdx,ne=ee.regionModel;if(!J){J=b.set(Z,new Xn),T.add(J),te=W?W.indexOfName(Z):null;var ie=(ne=d.isGeo?z.getRegionModel(Z):W?W.getItemModel(te):null).get("silent",!0);null!=ie&&(J.silent=ie),x.set(Z,{dataIdx:te,regionModel:ne})}var oe=[],se=[];H.k(D.geometries,(function(d){if("polygon"===d.type){var b=[d.exterior].concat(d.interiors||[]);Y&&(b=projectPolys(b,Y)),H.k(b,(function(d){oe.push(new Es(getPolyShape(d)))}))}else{var x=d.points;Y&&(x=projectPolys(x,Y,!0)),H.k(x,(function(d){se.push(new Rs(getPolyShape(d)))}))}}));var le=transformPoint(D.getCenter(),U&&U.project);function createCompoundPath(b,x){if(b.length){var T=new $s({culling:!0,segmentIgnoreThreshold:1,shape:{paths:b}});J.add(T),applyOptionStyleForRegion(d,T,te,ne),resetLabelForRegion(d,T,Z,ne,z,te,le),x&&(fixLineStyle(T),H.k(T.states,fixLineStyle))}}createCompoundPath(oe),createCompoundPath(se,!0)})),b.each((function(b,T){var D=x.get(T),H=D.dataIdx,W=D.regionModel;resetEventTriggerForRegion(d,b,T,W,z,H),resetTooltipForRegion(d,b,T,W,z),resetStateTriggerForRegion(d,b,T,W,z)}),this)},MapDraw.prototype._buildSVG=function(d){var b=d.geo.map,x=d.transformInfoRaw;this._svgGroup.x=x.x,this._svgGroup.y=x.y,this._svgGroup.scaleX=x.scaleX,this._svgGroup.scaleY=x.scaleY,this._svgResourceChanged(b)&&(this._freeSVG(),this._useSVG(b));var T=this._svgDispatcherMap=H.f(),D=!1;H.k(this._svgGraphicRecord.named,(function(b){var x=b.name,z=d.mapOrGeoModel,H=d.data,W=b.svgNodeTagLower,U=b.el,Y=H?H.indexOfName(x):null,Z=z.getRegionModel(x);null!=af.get(W)&&U instanceof ki&&applyOptionStyleForRegion(d,U,Y,Z),U instanceof ki&&(U.culling=!0);var J=Z.get("silent",!0);(null!=J&&(U.silent=J),U.z2EmphasisLift=0,b.namedFrom)||(null!=lf.get(W)&&resetLabelForRegion(d,U,x,Z,z,Y,null),resetEventTriggerForRegion(d,U,x,Z,z,Y),resetTooltipForRegion(d,U,x,Z,z),null!=sf.get(W)&&("self"===resetStateTriggerForRegion(d,U,x,Z,z)&&(D=!0),(T.get(x)||T.set(x,[])).push(U)))}),this),this._enableBlurEntireSVG(D,d)},MapDraw.prototype._enableBlurEntireSVG=function(d,b){if(d&&b.isGeo){var x=b.mapOrGeoModel.getModel(["blur","itemStyle"]).getItemStyle().opacity;this._svgGraphicRecord.root.traverse((function(d){if(!d.isGroup){setDefaultStateProxy(d);var b=d.ensureState("blur").style||{};null==b.opacity&&null!=x&&(b.opacity=x),d.ensureState("emphasis")}}))}},MapDraw.prototype.remove=function(){this._regionsGroup.removeAll(),this._regionsGroupByName=null,this._svgGroup.removeAll(),this._freeSVG(),this._controller.dispose(),this._controllerHost=null},MapDraw.prototype.findHighDownDispatchers=function(d,b){if(null==d)return[];var x=b.coordinateSystem;if("geoJSON"===x.resourceType){var T=this._regionsGroupByName;if(T){var D=T.get(d);return D?[D]:[]}}else if("geoSVG"===x.resourceType)return this._svgDispatcherMap&&this._svgDispatcherMap.get(d)||[]},MapDraw.prototype._svgResourceChanged=function(d){return this._svgMapName!==d},MapDraw.prototype._useSVG=function(d){var b=geoSourceManager_getGeoResource(d);if(b&&"geoSVG"===b.type){var x=b.useGraphic(this.uid);this._svgGroup.add(x.root),this._svgGraphicRecord=x,this._svgMapName=d}},MapDraw.prototype._freeSVG=function(){var d=this._svgMapName;if(null!=d){var b=geoSourceManager_getGeoResource(d);b&&"geoSVG"===b.type&&b.freeGraphic(this.uid),this._svgGraphicRecord=null,this._svgDispatcherMap=null,this._svgGroup.removeAll(),this._svgMapName=null}},MapDraw.prototype._updateController=function(d,b,x,T){var D=d.coordinateSystem,z=this._controller,W=this._controllerHost;W.zoomLimit=d.get("scaleLimit"),W.zoom=D.getZoom(),z.enable(d.get("roam")||!1,{api:T,zInfo:{component:d},triggerInfo:{roamTrigger:d.get("roamTrigger"),isInSelf:function(d,b,x){return D.containPoint([b,x])}
vendor: 7,668 bytes, line 808
808,isInClip:function(d,x,T){return!b||b.contain(x,T)}}});var U=d.mainType;function makeActionBase(){var b={type:"geoRoam",componentType:U};return b[U+"Id"]=d.id,b}z.off("pan").on("pan",(function(d){this._mouseDownFlag=!1,updateViewOnPan(W,d.dx,d.dy),T.dispatchAction(H.m(makeActionBase(),{dx:d.dx,dy:d.dy,animation:{duration:0}}))}),this),z.off("zoom").on("zoom",(function(d){this._mouseDownFlag=!1,updateViewOnZoom(W,d.scale,d.originX,d.originY),T.dispatchAction(H.m(makeActionBase(),{totalZoom:W.zoom,zoom:d.scale,originX:d.originX,originY:d.originY,animation:{duration:0}}))}),this)},MapDraw.prototype.resetForLabelLayout=function(){this.group.traverse((function(d){var b=d.getTextContent();b&&(b.ignore=uf(b).ignore)}))},MapDraw.prototype._updateMapSelectHandler=function(d,b,x,T){var D=this;b.off("mousedown"),b.off("click"),d.get("selectedMode")&&(b.on("mousedown",(function(){D._mouseDownFlag=!0})),b.on("click",(function(d){D._mouseDownFlag&&(D._mouseDownFlag=!1)})))},MapDraw}(),df=function(d){function MapView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=MapView.type,b}return __extends(MapView,d),MapView.prototype.render=function(d,b,x,T){if(!T||"mapToggleSelect"!==T.type||T.from!==this.uid){var D=this.group;if(D.removeAll(),!d.getHostGeoModel()){if(this._mapDraw&&T&&"geoRoam"===T.type&&this._mapDraw.resetForLabelLayout(),T&&"geoRoam"===T.type&&"series"===T.componentType&&T.seriesId===d.id)(z=this._mapDraw)&&D.add(z.group);else if(d.needsDrawMap){var z=this._mapDraw||new cf(x);D.add(z.group),z.draw(d,b,x,this,T),this._mapDraw=z}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;d.get("showLegendSymbol")&&b.getComponent("legend")&&this._renderSymbols(d,b,x)}}},MapView.prototype.remove=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},MapView.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},MapView.prototype._renderSymbols=function(d,b,x){var T=d.originalData,D=this.group;T.each(T.mapDimension("value"),(function(b,x){if(!isNaN(b)){var z=T.getItemLayout(x);if(z&&z.point){var H=z.point,W=z.offset,U=new gs({style:{fill:d.getData().getVisual("style").fill},shape:{cx:H[0]+9*W,cy:H[1],r:3},silent:!0,z2:8+(W?0:11)});if(!W){var Y=d.mainSeries.getData(),Z=T.getName(x),J=Y.indexOfName(Z),ee=T.getItemModel(x),te=ee.getModel("label"),ne=Y.getItemGraphicEl(J);setLabelStyle(U,getLabelStatesModels(ee),{labelFetcher:{getFormattedLabel:function(b,x){return d.getFormattedLabel(J,x)}},defaultText:Z}),U.disableLabelAnimation=!0,te.get("position")||U.setTextConfig({position:"bottom"}),ne.onHoverStateChange=function(d){setStatesFlag(U,d)}}D.add(U)}}}))},MapView.type="map",MapView}(gl),hf=function(d){function MapSeries(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=MapSeries.type,b.needsDrawMap=!1,b.seriesGroup=[],b.getTooltipPosition=function(d){if(null!=d){var b=this.getData().getName(d),x=this.coordinateSystem,T=x.getRegion(b);return T&&x.dataToPoint(T.getCenter())}},b}return __extends(MapSeries,d),MapSeries.prototype.getInitialData=function(d){for(var b=createSeriesDataSimply(this,{coordDimensions:["value"],encodeDefaulter:H.h(makeSeriesEncodeForNameBased,this)}),x=H.f(),T=[],D=0,z=b.count();D<z;D++){var W=b.getName(D);x.set(W,D)}var U=geoSourceManager_load(this.getMapType(),this.option.nameMap,this.option.nameProperty);return H.k(U.regions,(function(d){var D,z=d.name,W=x.get(z),U=d.properties&&d.properties.echartsStyle;null==W?(D={name:z},T.push(D)):D=b.getRawDataItem(W),U&&H.I(D,U)})),b.appendData(T),b},MapSeries.prototype.getHostGeoModel=function(){if(decideCoordSysUsageKind(this).kind!==ko)return this.getReferringComponents("geo",{useDefault:!1,enableAll:!1,enableNone:!1}).models[0]},MapSeries.prototype.getMapType=function(){return(this.getHostGeoModel()||this).option.map},MapSeries.prototype.getRawValue=function(d){var b=this.getData();return b.get(b.mapDimension("value"),d)},MapSeries.prototype.getRegionModel=function(d){var b=this.getData();return b.getItemModel(b.indexOfName(d))},MapSeries.prototype.formatTooltip=function(d,b,x){for(var T=this.getData(),D=this.getRawValue(d),z=T.getName(d),H=this.seriesGroup,W=[],U=0;U<H.length;U++){var Y=H[U].originalData.indexOfName(z),Z=T.mapDimension("value");isNaN(H[U].originalData.get(Z,Y))||W.push(H[U].name)}return createTooltipMarkup("section",{header:W.join(", "),noHeader:!W.length,blocks:[createTooltipMarkup("nameValue",{name:z,value:D})]})},MapSeries.prototype.setZoom=function(d){this.option.zoom=d},MapSeries.prototype.setCenter=function(d){this.option.center=d},MapSeries.prototype.getLegendIcon=function(d){var b=d.icon||"roundRect",x=symbol_createSymbol(b,0,0,d.itemWidth,d.itemHeight,d.itemStyle.fill);return x.setStyle(d.itemStyle),x.style.stroke="none",b.indexOf("empty")>-1&&(x.style.stroke=x.style.fill,x.style.fill=Fo.color.neutral00,x.style.lineWidth=2),x},MapSeries.type="series.map",MapSeries.dependencies=["geo"],MapSeries.layoutMode="box",MapSeries.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:Fo.color.tertiary},itemStyle:{borderWidth:.5,borderColor:Fo.color.border,areaColor:Fo.color.background},emphasis:{label:{show:!0,color:Fo.color.primary},itemStyle:{areaColor:Fo.color.highlight}},select:{label:{show:!0,color:Fo.color.primary},itemStyle:{color:Fo.color.highlight}},nameProperty:"name"},MapSeries}(es);function mapDataStatistic(d){var b={};d.eachSeriesByType("map",(function(d){var x=d.getHostGeoModel(),T=x?"o"+x.id:"i"+d.getMapType();(b[T]=b[T]||[]).push(d)})),H.k(b,(function(d,b){for(var x,T,D,z=(x=H.H(d,(function(d){return d.getData()})),T=d[0].get("mapValueCalculation"),D={},H.k(x,(function(d){d.each(d.mapDimension("value"),(function(b,x){var T="ec-"+d.getName(x);D[T]=D[T]||[],isNaN(b)||D[T].push(b)}))})),x[0].map(x[0].mapDimension("value"),(function(d,b){for(var z,H="ec-"+x[0].getName(b),W=0,U=1/0,Y=-1/0,Z=D[H].length,J=0;J<Z;J++)U=Math.min(U,D[H][J]),Y=Math.max(Y,D[H][J]),W+=D[H][J];return z="min"===T?U:"max"===T?Y:"average"===T?W/Z:W,0===Z?NaN:z}))),W=0;W<d.length;W++)d[W].originalData=d[W].getData();for(W=0;W<d.length;W++)d[W].seriesGroup=d,d[W].needsDrawMap=0===W&&!d[W].getHostGeoModel(),d[W].setData(z.cloneShallow()),d[W].mainSeries=d[0]}))}function mapSymbolLayout(d){var b={};d.eachSeriesByType("map",(function(x){var T=x.getMapType();if(!x.getHostGeoModel()&&!b[T]){var D={};H.k(x.seriesGroup,(function(b){var x=b.coordinateSystem,T=b.originalData;b.get("showLegendSymbol")&&d.getComponent("legend")&&T.each(T.mapDimension("value"),(function(d,b){var z=T.getName(b),H=x.getRegion(z);if(H&&!isNaN(d)){var W=D[z]||0,U=x.dataToPoint(H.getCenter());D[z]=W+1,T.setItemLayout(b,{point:U,offset:W})}}))}));var z=x.getData();z.each((function(d){var b=z.getName(d),x=z.getItemLayout(d)||{};x.showLabel=!D[b],z.setItemLayout(d,x)})),b[T]=!0}}))}var pf=applyTransform;function getCoordSys(d){var b=d.seriesModel;return b?b.coordinateSystem:null}var ff=function(d){function View(b,x){var T=d.call(this)||this;return T.type="view",T.dimensions=["x","y"],T._roamTransformable=new Nn,T._rawTransformable=new Nn,T.name=b,T._opt=x,T}return __extends(View,d),View.prototype.setBoundingRect=function(d,b,x,T){return this._rect=new Ee(d,b,x,T),this._updateCenterAndZoom(),this._rect},View.prototype.getBoundingRect=function(){return this._rect},View.prototype.setViewRect=function(d,b,x,T){this._transformTo(d,b,x,T),this._viewRect=new Ee(d,b,x,T)},View.prototype._transformTo=function(d,b,x,T){var D=this.getBoundingRect(),z=this._rawTransformable;
808z.transform=D.calculateTransform(new Ee(d,b,x,T));var H=z.parent;z.parent=null,z.decomposeTransform(),z.parent=H,this._updateTransform()},View.prototype.setCenter=function(d){var b=this._opt;b&&b.api&&b.ecModel&&b.ecModel.getShallow("legacyViewCoordSysCenterBase")&&d&&(d=[number_parsePercent(d[0],b.api.getWidth()),number_parsePercent(d[1],b.api.getWidth())]),this._centerOption=Object(H.d)(d),this._updateCenterAndZoom()},View.prototype.setZoom=function(d){this._zoom=clampByZoomLimit(d||1,this.zoomLimit),this._updateCenterAndZoom()},View.prototype.getDefaultCenter=function(){var d=this.getBoundingRect();return[d.x+d.width/2,d.y+d.height/2]},View.prototype.getCenter=function(){return this._center||this.getDefaultCenter()},View.prototype.getZoom=function(){return this._zoom||1},View.prototype.getRoamTransform=function(){return this._roamTransformable.getLocalTransform()},View.prototype._updateCenterAndZoom=function(){var d=this._centerOption,b=this._rect;d&&b&&(this._center=[number_parsePercent(d[0],b.width,b.x),number_parsePercent(d[1],b.height,b.y)]);var x=this._rawTransformable.getLocalTransform(),T=this._roamTransformable,D=this.getDefaultCenter(),z=this.getCenter(),H=this.getZoom();z=applyTransform([],z,x),D=applyTransform([],D,x),T.originX=z[0],T.originY=z[1],T.x=D[0]-z[0],T.y=D[1]-z[1],T.scaleX=T.scaleY=H,this._updateTransform()},View.prototype._updateTransform=function(){var d=this._roamTransformable,b=this._rawTransformable;b.parent=d,d.updateTransform(),b.updateTransform(),matrix_copy(this.transform||(this.transform=[]),b.transform||[1,0,0,1,0,0]),this._rawTransform=b.getLocalTransform(),this.invTransform=this.invTransform||[],matrix_invert(this.invTransform,this.transform),this.decomposeTransform()},View.prototype.getTransformInfo=function(){var d=this._rawTransformable,b=this._roamTransformable,x=new Nn;return x.transform=b.transform,x.decomposeTransform(),{roam:{x:x.x,y:x.y,scaleX:x.scaleX,scaleY:x.scaleY},raw:{x:d.x,y:d.y,scaleX:d.scaleX,scaleY:d.scaleY}}},View.prototype.getViewRect=function(){return this._viewRect},View.prototype.getViewRectAfterRoam=function(){var d=this.getBoundingRect().clone();return d.applyTransform(this.transform),d},View.prototype.dataToPoint=function(d,b,x){var T=b?this._rawTransform:this.transform;return x=x||[],T?pf(x,d,T):vector_copy(x,d)},View.prototype.pointToData=function(d,b,x){x=x||[];var T=this.invTransform;return T?pf(x,d,T):(x[0]=d[0],x[1]=d[1],x)},View.prototype.convertToPixel=function(d,b,x){var T=getCoordSys(b);return T===this?T.dataToPoint(x):null},View.prototype.convertFromPixel=function(d,b,x){var T=getCoordSys(b);return T===this?T.pointToData(x):null},View.prototype.containPoint=function(d){return this.getViewRectAfterRoam().contain(d[0],d[1])},View.dimensions=["x","y"],View}(Nn),gf={geoJSON:{aspectScale:.75,invertLongitute:!0},geoSVG:{aspectScale:1,invertLongitute:!1}},mf=["lng","lat"],yf=function(d){function Geo(b,x,T){var D=d.call(this,b,{api:T.api,ecModel:T.ecModel})||this;D.dimensions=mf,D.type="geo",D._nameCoordMap=H.f(),D.map=x;var z,W=T.projection,U=geoSourceManager_load(x,T.nameMap,T.nameProperty),Y=geoSourceManager_getGeoResource(x),Z=(D.resourceType=Y?Y.type:null,D.regions=U.regions),J=gf[Y.type];if(D._regionsMap=U.regionsMap,D.regions=U.regions,D.projection=W,W)for(var ee=0;ee<Z.length;ee++){var te=Z[ee].getBoundingRect(W);(z=z||te.clone()).union(te)}else z=U.boundingRect;return D.setBoundingRect(z.x,z.y,z.width,z.height),D.aspectScale=W?1:H.P(T.aspectScale,J.aspectScale),D._invertLongitute=!W&&J.invertLongitute,D}return __extends(Geo,d),Geo.prototype._transformTo=function(d,b,x,T){var D=this.getBoundingRect(),z=this._invertLongitute;D=D.clone(),z&&(D.y=-D.y-D.height);var H=this._rawTransformable;
808H.transform=D.calculateTransform(new Ee(d,b,x,T));var W=H.parent;H.parent=null,H.decomposeTransform(),H.parent=W,z&&(H.scaleY=-H.scaleY),this._updateTransform()},Geo.prototype.getRegion=function(d){return this._regionsMap.get(d)},Geo.prototype.getRegionByCoord=function(d){for(var b=this.regions,x=0;x<b.length;x++){var T=b[x];if("geoJSON"===T.type&&T.contain(d))return b[x]}},Geo.prototype.addGeoCoord=function(d,b){this._nameCoordMap.set(d,b)},Geo.prototype.getGeoCoord=function(d){var b=this._regionsMap.get(d);return this._nameCoordMap.get(d)||b&&b.getCenter()},Geo.prototype.dataToPoint=function(d,b,x){if(H.C(d)&&(d=this.getGeoCoord(d)),d){var T=this.projection;return T&&(d=T.project(d)),d&&this.projectedToPoint(d,b,x)}},Geo.prototype.pointToData=function(d,b,x){var T=this.projection;return T&&(d=T.unproject(d)),d&&this.pointToProjected(d,x)},Geo.prototype.pointToProjected=function(b,x){return d.prototype.pointToData.call(this,b,0,x)},Geo.prototype.projectedToPoint=function(b,x,T){return d.prototype.dataToPoint.call(this,b,x,T)},Geo.prototype.convertToPixel=function(d,b,x){var T=Geo_getCoordSys(b);return T===this?T.dataToPoint(x):null},Geo.prototype.convertFromPixel=function(d,b,x){var T=Geo_getCoordSys(b);return T===this?T.pointToData(x):null},Geo}(ff);function Geo_getCoordSys(d){var b=d.geoModel,x=d.seriesModel;return b?b.coordinateSystem:x?x.coordinateSystem||(x.getReferringComponents("geo",si).models[0]||{}).coordinateSystem:null}H.K(yf,ff);var vf=yf;function resizeGeo(d,b){var x=d.get("boundingCoords");if(null!=x){var T=x[0],D=x[1];if(isFinite(T[0])&&isFinite(T[1])&&isFinite(D[0])&&isFinite(D[1])){var z=this.projection;if(z){var H=T[0],W=T[1],U=D[0],Y=D[1];T=[1/0,1/0],D=[-1/0,-1/0];var sampleLine=function(d,b,x,H){for(var W=x-d,U=H-b,Y=0;Y<=100;Y++){var Z=Y/100,J=z.project([d+W*Z,b+U*Z]);vector_min(T,T,J),vector_max(D,D,J)}};sampleLine(H,W,U,W),sampleLine(U,W,U,Y),sampleLine(U,Y,H,Y),sampleLine(H,Y,U,W)}this.setBoundingRect(T[0],T[1],D[0]-T[0],D[1]-T[1])}else 0}var Z,J,ee,te=this.getBoundingRect(),ne=d.get("layoutCenter"),ie=d.get("layoutSize"),oe=createBoxLayoutReference(d,b).refContainer,se=te.width/te.height*this.aspectScale,le=!1;if(ne&&ie&&(Z=[number_parsePercent(ne[0],oe.width)+oe.x,number_parsePercent(ne[1],oe.height)+oe.y],J=number_parsePercent(ie,Math.min(oe.width,oe.height)),isNaN(Z[0])||isNaN(Z[1])||isNaN(J)||(le=!0)),le)ee={},se>1?(ee.width=J,ee.height=J/se):(ee.height=J,ee.width=J*se),ee.y=Z[1]-ee.height/2,ee.x=Z[0]-ee.width/2;else{var ce=d.getBoxLayoutParams();ce.aspect=se,ee=applyPreserveAspect(d,ee=getLayoutRect(ce,oe),se)}this.setViewRect(ee.x,ee.y,ee.width,ee.height),this.setCenter(d.get("center")),this.setZoom(d.get("zoom"))}var bf=new(function(){function GeoCreator(){this.dimensions=mf}return GeoCreator.prototype.create=function(d,b){var x=[];function getCommonGeoProperties(d){return{nameProperty:d.get("nameProperty"),aspectScale:d.get("aspectScale"),projection:d.get("projection")}}d.eachComponent("geo",(function(T,D){var z=T.get("map"),W=new vf(z+D,z,H.m({nameMap:T.get("nameMap"),api:b,ecModel:d},getCommonGeoProperties(T)));W.zoomLimit=T.get("scaleLimit"),x.push(W),T.coordinateSystem=W,W.model=T,W.resize=resizeGeo,W.resize(T,b)})),d.eachSeries((function(d){injectCoordSysByOption({targetModel:d,coordSysType:"geo",coordSysProvider:function(){var b="map"===d.subType?d.getHostGeoModel():d.getReferringComponents("geo",si).models[0];return b&&b.coordinateSystem},allowNotFound:!0})}));var T={};return d.eachSeriesByType("map",(function(d){if(!d.getHostGeoModel()){var b=d.getMapType();T[b]=T[b]||[],T[b].push(d)}})),H.k(T,(function(T,D){var z=H.H(T,(function(d){return d.get("nameMap")})),W=new vf(D,D,H.m({nameMap:H.J(z),api:b,ecModel:d},getCommonGeoProperties(T[0])));W.zoomLimit=H.O.apply(null,H.H(T,(function(d){return d.get("scaleLimit")}))),x.push(W),W.resize=resizeGeo,W.resize(T[0],b),H.k(T,(function(d){d.coordinateSystem=W,function(d,b){H.k(b.get("geoCoord"),(function(b,x){d.addGeoCoord(x,b)}))}(W,d)}))})),x},GeoCreator.prototype.getFilledRegions=function(d,b,x,T){for(var D=(d||[]).slice(),z=H.f(),W=0;W<D.length;W++)z.set(D[W].name,D[W]);var U=geoSourceManager_load(b,x,T);return H.k(U.regions,(function(d){var b=d.name,x=z.get(b),T=d.properties&&d.properties.echartsStyle;x||(x={name:b},D.push(x)),T&&H.I(x,T)})),D},GeoCreator}()),xf=function(d){function GeoModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=GeoModel.type,b}return __extends(GeoModel,d),GeoModel.prototype.init=function(d,b,x){this.mergeDefaultAndTheme(d,x);var T=geoSourceManager_getGeoResource(d.map);if(T&&"geoJSON"===T.type){var D=d.itemStyle=d.itemStyle||{};"color"in D||(D.color=d.defaultItemStyleColor||Fo.color.backgroundTint)}defaultEmphasis(d,"label",["show"])},GeoModel.prototype.optionUpdated=function(){var d=this,b=this.option;
vendor: 4,839 bytes, line 808
808b.regions=bf.getFilledRegions(b.regions,b.map,b.nameMap,b.nameProperty);var x={};this._optionModelMap=H.N(b.regions||[],(function(b,T){var D=T.name;return D&&(b.set(D,new oo(T,d,d.ecModel)),T.selected&&(x[D]=!0)),b}),H.f()),b.selectedMap||(b.selectedMap=x)},GeoModel.prototype.getRegionModel=function(d){return this._optionModelMap.get(d)||new oo(null,this,this.ecModel)},GeoModel.prototype.getFormattedLabel=function(d,b){var x=this.getRegionModel(d),T="normal"===b?x.get(["label","formatter"]):x.get(["emphasis","label","formatter"]),D={name:d};return H.w(T)?(D.status=b,T(D)):H.C(T)?T.replace("{a}",null!=d?d:""):void 0},GeoModel.prototype.setZoom=function(d){this.option.zoom=d},GeoModel.prototype.setCenter=function(d){this.option.center=d},GeoModel.prototype.select=function(d){var b=this.option,x=b.selectedMode;x&&("multiple"!==x&&(b.selectedMap=null),(b.selectedMap||(b.selectedMap={}))[d]=!0)},GeoModel.prototype.unSelect=function(d){var b=this.option.selectedMap;b&&(b[d]=!1)},GeoModel.prototype.toggleSelected=function(d){this[this.isSelected(d)?"unSelect":"select"](d)},GeoModel.prototype.isSelected=function(d){var b=this.option.selectedMap;return!(!b||!b[d])},GeoModel.type="geo",GeoModel.layoutMode="box",GeoModel.defaultOption={z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:Fo.color.tertiary},itemStyle:{borderWidth:.5,borderColor:Fo.color.border},emphasis:{label:{show:!0,color:Fo.color.primary},itemStyle:{color:Fo.color.highlight}},select:{label:{show:!0,color:Fo.color.primary},itemStyle:{color:Fo.color.highlight}},regions:[]},GeoModel}(Bo),_f=function(d){function GeoView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=GeoView.type,b.focusBlurEnabled=!0,b}return __extends(GeoView,d),GeoView.prototype.init=function(d,b){this._api=b},GeoView.prototype.render=function(d,b,x,T){if(this._model=d,!d.get("show"))return this._mapDraw&&this._mapDraw.remove(),void(this._mapDraw=null);this._mapDraw||(this._mapDraw=new cf(x));var D=this._mapDraw;D.draw(d,b,x,this,T),D.group.on("click",this._handleRegionClick,this),D.group.silent=d.get("silent"),this.group.add(D.group),this.updateSelectStatus(d,b,x)},GeoView.prototype._handleRegionClick=function(d){var b;findEventDispatcher(d.target,(function(d){return null!=(b=Or(d).eventData)}),!0),b&&this._api.dispatchAction({type:"geoToggleSelect",geoId:this._model.id,name:b.name})},GeoView.prototype.updateSelectStatus=function(d,b,x){var T=this;this._mapDraw.group.traverse((function(d){var b=Or(d).eventData;if(b)return T._model.isSelected(b.name)?x.enterSelect(d):x.leaveSelect(d),!0}))},GeoView.prototype.findHighDownDispatchers=function(d){return this._mapDraw&&this._mapDraw.findHighDownDispatchers(d,this._model)},GeoView.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove()},GeoView.type="geo",GeoView}(ns);function install_registerMap(d,b,x){geoSourceManager_registerMap(d,b,x)}function geo_install_install(d){function makeAction(b,x){x.update="geo:updateSelectStatus",d.registerAction(x,(function(d,x){var T={},D=[];return x.eachComponent({mainType:"geo",query:d},(function(x){x[b](d.name);var z=x.coordinateSystem;Object(H.k)(z.regions,(function(d){T[d.name]=x.isSelected(d.name)||!1}));var W=[];Object(H.k)(T,(function(d,b){T[b]&&W.push(b)})),D.push({geoIndex:x.componentIndex,name:W})})),{selected:T,allSelected:D,name:d.name}}))}d.registerCoordinateSystem("geo",bf),d.registerComponentModel(xf),d.registerComponentView(_f),d.registerImpl("registerMap",install_registerMap),d.registerImpl("getMap",(function(d){return geoSourceManager_getMapForUser(d)})),makeAction("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),makeAction("select",{type:"geoSelect",event:"geoselected"}),makeAction("unSelect",{type:"geoUnSelect",event:"geounselected"}),d.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},(function(d,b,x){var T=d.componentType;T||(null!=d.geoId?T="geo":null!=d.seriesId&&(T="series")),T||(T="series"),b.eachComponent({mainType:T,query:d},(function(b){var x=b.coordinateSystem;if("geo"===x.type){var D=updateCenterAndZoomInAction(x,d,b.get("scaleLimit"));b.setCenter&&b.setCenter(D.center),b.setZoom&&b.setZoom(D.zoom),"series"===T&&Object(H.k)(b.seriesGroup,(function(d){d.setCenter(D.center),d.setZoom(D.zoom)}))}}))}))}function firstWalk(d,b){var x=d.isExpand?d.children:[],T=d.parentNode.children,D=d.hierNode.i?T[d.hierNode.i-1]:null;if(x.length){!function(d){var b=d.children,x=b.length,T=0,D=0;for(;--x>=0;){var z=b[x];z.hierNode.prelim+=T,z.hierNode.modifier+=T,D+=z.hierNode.change,T+=z.hierNode.shift+D}}(d);var z=(x[0].hierNode.prelim+x[x.length-1].hierNode.prelim)/2;D?(d.hierNode.prelim=D.hierNode.prelim+b(d,D),d.hierNode.modifier=d.hierNode.prelim-z):d.hierNode.prelim=z}
vendor: 4,127 bytes, line 808
808else D&&(d.hierNode.prelim=D.hierNode.prelim+b(d,D));d.parentNode.hierNode.defaultAncestor=function(d,b,x,T){if(b){for(var D=d,z=d,H=z.parentNode.children[0],W=b,U=D.hierNode.modifier,Y=z.hierNode.modifier,Z=H.hierNode.modifier,J=W.hierNode.modifier;W=nextRight(W),z=nextLeft(z),W&&z;){D=nextRight(D),H=nextLeft(H),D.hierNode.ancestor=d;var ee=W.hierNode.prelim+J-z.hierNode.prelim-Y+T(W,z);ee>0&&(moveSubtree(nextAncestor(W,d,x),d,ee),Y+=ee,U+=ee),J+=W.hierNode.modifier,Y+=z.hierNode.modifier,U+=D.hierNode.modifier,Z+=H.hierNode.modifier}W&&!nextRight(D)&&(D.hierNode.thread=W,D.hierNode.modifier+=J-U),z&&!nextLeft(H)&&(H.hierNode.thread=z,H.hierNode.modifier+=Y-Z,x=d)}return x}(d,D,d.parentNode.hierNode.defaultAncestor||T[0],b)}function secondWalk(d){var b=d.hierNode.prelim+d.parentNode.hierNode.modifier;d.setLayout({x:b},!0),d.hierNode.modifier+=d.parentNode.hierNode.modifier}function layoutHelper_separation(d){return arguments.length?d:defaultSeparation}function radialCoordinate(d,b){return d-=Math.PI/2,{x:b*Math.cos(d),y:b*Math.sin(d)}}function nextRight(d){var b=d.children;return b.length&&d.isExpand?b[b.length-1]:d.hierNode.thread}function nextLeft(d){var b=d.children;return b.length&&d.isExpand?b[0]:d.hierNode.thread}function nextAncestor(d,b,x){return d.hierNode.ancestor.parentNode===b.parentNode?d.hierNode.ancestor:x}function moveSubtree(d,b,x){var T=x/(b.hierNode.i-d.hierNode.i);b.hierNode.change-=T,b.hierNode.shift+=x,b.hierNode.modifier+=x,b.hierNode.prelim+=x,d.hierNode.change+=T}function defaultSeparation(d,b){return d.parentNode===b.parentNode?1:2}var TreeEdgeShape=function(){this.parentPoint=[],this.childPoints=[]},wf=function(d){function TreePath(b){return d.call(this,b)||this}return __extends(TreePath,d),TreePath.prototype.getDefaultStyle=function(){return{stroke:Fo.color.neutral99,fill:null}},TreePath.prototype.getDefaultShape=function(){return new TreeEdgeShape},TreePath.prototype.buildPath=function(d,b){var x=b.childPoints,T=x.length,D=b.parentPoint,z=x[0],H=x[T-1];if(1===T)return d.moveTo(D[0],D[1]),void d.lineTo(z[0],z[1]);var W=b.orient,U="TB"===W||"BT"===W?0:1,Y=1-U,Z=number_parsePercent(b.forkPosition,1),J=[];J[U]=D[U],J[Y]=D[Y]+(H[Y]-D[Y])*Z,d.moveTo(D[0],D[1]),d.lineTo(J[0],J[1]),d.moveTo(z[0],z[1]),J[U]=z[U],d.lineTo(J[0],J[1]),J[U]=H[U],d.lineTo(J[0],J[1]),d.lineTo(H[0],H[1]);for(var ee=1;ee<T-1;ee++){var te=x[ee];d.moveTo(te[0],te[1]),J[U]=te[U],d.lineTo(J[0],J[1])}},TreePath}(cr);function TreeView_symbolNeedsDraw(d,b){var x=d.getItemLayout(b);return x&&!isNaN(x.x)&&!isNaN(x.y)}function updateNode(d,b,x,T,D){var z=!x,W=d.tree.getNodeByDataIndex(b),U=W.getModel(),Y=W.getVisual("style").fill,Z=!1===W.isExpand&&0!==W.children.length?Y:Fo.color.neutral00,J=d.tree.root,ee=W.parentNode===J?W:W.parentNode||W,te=d.getItemGraphicEl(ee.dataIndex),ne=ee.getLayout(),ie=te?{x:te.__oldX,y:te.__oldY,rawX:te.__radialOldRawX,rawY:te.__radialOldRawY}:ne,oe=W.getLayout();z?((x=new ad(d,b,null,{symbolInnerColor:Z,useNameLabel:!0})).x=ie.x,x.y=ie.y):x.updateData(d,b,null,{symbolInnerColor:Z,useNameLabel:!0}),x.__radialOldRawX=x.__radialRawX,x.__radialOldRawY=x.__radialRawY,x.__radialRawX=oe.rawX,x.__radialRawY=oe.rawY,T.add(x),d.setItemGraphicEl(b,x),x.__oldX=x.x,x.__oldY=x.y,updateProps(x,{x:oe.x,y:oe.y},D);var se=x.getSymbolPath();if("radial"===D.get("layout")){var le=J.children[0],ce=le.getLayout(),de=le.children.length,he=void 0,pe=void 0;if(oe.x===ce.x&&!0===W.isExpand&&le.children.length){var fe={x:(le.children[0].getLayout().x+le.children[de-1].getLayout().x)/2,y:(le.children[0].getLayout().y+le.children[de-1].getLayout().y)/2};(he=Math.atan2(fe.y-ce.y,fe.x-ce.x))<0&&(he=2*Math.PI+he),(pe=fe.x<ce.x)&&(he-=Math.PI)}else(he=Math.atan2(oe.y-ce.y,oe.x-ce.x))<0&&(he=2*Math.PI+he),0===W.children.length||0!==W.children.length&&!1===W.isExpand?(pe=oe.x<ce.x)&&(he-=Math.PI):(pe=oe.x>ce.x)||(he-=Math.PI);var ge=pe?"left":"right",me=U.getModel("label"),ye=me.get("rotate"),ve=ye*(Math.PI/180),xe=se.getTextContent();xe&&(se.setTextConfig({position:me.get("position")||ge,rotation:null==ye?-he:ve,origin:"center"}),xe.setStyle("verticalAlign","middle"))}
vendor: 17,384 bytes, line 808
808var _e=U.get(["emphasis","focus"]),we="relative"===_e?H.e(W.getAncestorsIndices(),W.getDescendantIndices()):"ancestor"===_e?W.getAncestorsIndices():"descendant"===_e?W.getDescendantIndices():null;we&&(Or(x).focus=we),function(d,b,x,T,D,z,W,U){var Y=b.getModel(),Z=d.get("edgeShape"),J=d.get("layout"),ee=d.getOrient(),te=d.get(["lineStyle","curveness"]),ne=d.get("edgeForkPosition"),ie=Y.getModel("lineStyle").getLineStyle(),oe=T.__edge;if("curve"===Z)b.parentNode&&b.parentNode!==x&&(oe||(oe=T.__edge=new Fs({shape:getEdgeShape(J,ee,te,D,D)})),updateProps(oe,{shape:getEdgeShape(J,ee,te,z,W)},d));else if("polyline"===Z)if("orthogonal"===J){if(b!==x&&b.children&&0!==b.children.length&&!0===b.isExpand){for(var se=b.children,le=[],ce=0;ce<se.length;ce++){var de=se[ce].getLayout();le.push([de.x,de.y])}oe||(oe=T.__edge=new wf({shape:{parentPoint:[W.x,W.y],childPoints:[[W.x,W.y]],orient:ee,forkPosition:ne}})),updateProps(oe,{shape:{parentPoint:[W.x,W.y],childPoints:le}},d)}}else 0;oe&&("polyline"!==Z||b.isExpand)&&(oe.useStyle(H.i({strokeNoScale:!0,fill:null},ie)),setStatesStylesFromModel(oe,Y,"lineStyle"),setDefaultStateProxy(oe),U.add(oe))}(D,W,J,x,ie,ne,oe,T),x.__edge&&(x.onHoverStateChange=function(b){if("blur"!==b){var T=W.parentNode&&d.getItemGraphicEl(W.parentNode.dataIndex);T&&1===T.hoverState||setStatesFlag(x.__edge,b)}})}function removeNodeEdge(d,b,x,T,D){var z=getSourceNode(b.tree.root,d),H=z.source,W=z.sourceLayout,U=b.getItemGraphicEl(d.dataIndex);if(U){var Y=b.getItemGraphicEl(H.dataIndex).__edge,Z=U.__edge||(!1===H.isExpand||1===H.children.length?Y:void 0),J=T.get("edgeShape"),ee=T.get("layout"),te=T.get("orient"),ne=T.get(["lineStyle","curveness"]);Z&&("curve"===J?removeElement(Z,{shape:getEdgeShape(ee,te,ne,W,W),style:{opacity:0}},T,{cb:function(){x.remove(Z)},removeOpt:D}):"polyline"===J&&"orthogonal"===T.get("layout")&&removeElement(Z,{shape:{parentPoint:[W.x,W.y],childPoints:[[W.x,W.y]]},style:{opacity:0}},T,{cb:function(){x.remove(Z)},removeOpt:D}))}}function getSourceNode(d,b){for(var x,T=b.parentNode===d?b:b.parentNode||b;null==(x=T.getLayout());)T=T.parentNode===d?T:T.parentNode||T;return{source:T,sourceLayout:x}}function TreeView_removeNode(d,b,x,T,D){var z=d.tree.getNodeByDataIndex(b),H=getSourceNode(d.tree.root,z).sourceLayout,W={duration:D.get("animationDurationUpdate"),easing:D.get("animationEasingUpdate")};removeElement(x,{x:H.x+1,y:H.y+1},D,{cb:function(){T.remove(x),d.setItemGraphicEl(b,null)},removeOpt:W}),x.fadeOut(null,d.hostModel,{fadeLabel:!0,animation:W}),z.children.forEach((function(b){removeNodeEdge(b,d,T,D,W)})),removeNodeEdge(z,d,T,D,W)}function getEdgeShape(d,b,x,T,D){var z,H,W,U,Y,Z,J,ee;if("radial"===d){Y=T.rawX,J=T.rawY,Z=D.rawX,ee=D.rawY;var te=radialCoordinate(Y,J),ne=radialCoordinate(Y,J+(ee-J)*x),ie=radialCoordinate(Z,ee+(J-ee)*x),oe=radialCoordinate(Z,ee);return{x1:te.x||0,y1:te.y||0,x2:oe.x||0,y2:oe.y||0,cpx1:ne.x||0,cpy1:ne.y||0,cpx2:ie.x||0,cpy2:ie.y||0}}return Y=T.x,J=T.y,Z=D.x,ee=D.y,"LR"!==b&&"RL"!==b||(z=Y+(Z-Y)*x,H=J,W=Z+(Y-Z)*x,U=ee),"TB"!==b&&"BT"!==b||(z=Y,H=J+(ee-J)*x,W=Z,U=ee+(J-ee)*x),{x1:Y,y1:J,x2:Z,y2:ee,cpx1:z,cpy1:H,cpx2:W,cpy2:U}}var Sf=function(d){function TreeView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=TreeView.type,b._mainGroup=new Xn,b}return __extends(TreeView,d),TreeView.prototype.init=function(d,b){this._controller=new Dp(b.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},TreeView.prototype.render=function(d,b,x){var T=d.getData(),D=d.layoutInfo,z=this._mainGroup;"radial"===d.get("layout")?(z.x=D.x+D.width/2,z.y=D.y+D.height/2):(z.x=D.x,z.y=D.y),this._updateViewCoordSys(d,x),this._updateController(d,null,b,x);var H=this._data;T.diff(H).add((function(b){TreeView_symbolNeedsDraw(T,b)&&updateNode(T,b,null,z,d)})).update((function(b,x){var D=H.getItemGraphicEl(x);TreeView_symbolNeedsDraw(T,b)?updateNode(T,b,D,z,d):D&&TreeView_removeNode(H,x,D,z,d)})).remove((function(b){var x=H.getItemGraphicEl(b);x&&TreeView_removeNode(H,b,x,z,d)})).execute(),this._nodeScaleRatio=d.get("nodeScaleRatio"),this._updateNodeAndLinkScale(d),!0===d.get("expandAndCollapse")&&T.eachItemGraphicEl((function(b,T){b.off("click").on("click",(function(){x.dispatchAction({type:"treeExpandAndCollapse",seriesId:d.id,dataIndex:T})}))})),this._data=T},TreeView.prototype._updateViewCoordSys=function(d,b){var x=d.getData(),T=[];x.each((function(d){var b=x.getItemLayout(d);!b||isNaN(b.x)||isNaN(b.y)||T.push([+b.x,+b.y])}));var D=[],z=[];fromPoints(T,D,z);var H=this._min,W=this._max;z[0]-D[0]==0&&(D[0]=H?H[0]:D[0]-1,z[0]=W?W[0]:z[0]+1),z[1]-D[1]==0&&(D[1]=H?H[1]:D[1]-1,z[1]=W?W[1]:z[1]+1);var U=d.coordinateSystem=new ff(null,{api:b,ecModel:d.ecModel});U.zoomLimit=d.get("scaleLimit"),U.setBoundingRect(D[0],D[1],z[0]-D[0],z[1]-D[1]),U.setCenter(d.get("center")),U.setZoom(d.get("zoom")),this.group.attr({x:U.x,y:U.y,scaleX:U.scaleX,scaleY:U.scaleY}),this._min=D,this._max=z},TreeView.prototype._updateController=function(d,b,x,T){var D=this;updateController(d,T,this.group,this._controller,this._controllerHost,b),this._controller.on("zoom",(function(b){D._updateNodeAndLinkScale(d)}))},TreeView.prototype._updateNodeAndLinkScale=function(d){var b=d.getData(),x=this._getNodeGlobalScale(d);b.eachItemGraphicEl((function(d,b){d.setSymbolScale(x)}))},TreeView.prototype._getNodeGlobalScale=function(d){var b=d.coordinateSystem;if("view"!==b.type)return 1;var x=this._nodeScaleRatio,T=b.scaleX||1;return((b.getZoom()-1)*x+1)/T},TreeView.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},TreeView.prototype.remove=function(){this._mainGroup.removeAll(),this._data=null},TreeView.type="tree",TreeView}(gl),Mf=makeInner();function transferInjection(d,b){if(Mf(T=this).mainData===T){var x=Object(H.m)({},Mf(this).datas);x[this.dataType]=b,linkAll(b,x,d)}else linkSingle(b,this.dataType,Mf(this).mainData,d);var T;return b}function changeInjection(d,b){return d.struct&&d.struct.update(),b}function cloneShallowInjection(d,b){return Object(H.k)(Mf(b).datas,(function(x,T){x!==b&&linkSingle(x.cloneShallow(),T,b,d)})),b}function getLinkedData(d){var b=Mf(this).mainData;return null==d||null==b?b:Mf(b).datas[d]}function getLinkedDataAll(){var d=Mf(this).mainData;return null==d?[{data:d}]:Object(H.H)(Object(H.F)(Mf(d).datas),(function(b){return{type:b,data:Mf(d).datas[b]}}))}function linkAll(d,b,x){Mf(d).datas={},Object(H.k)(b,(function(b,T){linkSingle(b,T,d,x)}))}function linkSingle(d,b,x,T){Mf(x).datas[b]=d,Mf(d).mainData=x,d.dataType=b,T.struct&&(d[T.structAttr]=T.struct,T.struct[T.datasAttr[b]]=d),d.getLinkedData=getLinkedData,d.getLinkedDataAll=getLinkedDataAll}var helper_linkSeriesData=function(d){var b=d.mainData,x=d.datas;x||(x={main:b},d.datasAttr={main:"data"}),d.datas=d.mainData=null,linkAll(b,x,d),Object(H.k)(x,(function(x){Object(H.k)(b.TRANSFERABLE_METHODS,(function(b){x.wrapMethod(b,Object(H.h)(transferInjection,d))}))})),b.wrapMethod("cloneShallow",Object(H.h)(cloneShallowInjection,d)),Object(H.k)(b.CHANGABLE_METHODS,(function(x){b.wrapMethod(x,Object(H.h)(changeInjection,d))})),Object(H.b)(x[b.dataType]===b)},Cf=function(){function TreeNode(d,b){this.depth=0,this.height=0,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.isExpand=!1,this.name=d||"",this.hostTree=b}return TreeNode.prototype.isRemoved=function(){return this.dataIndex<0},TreeNode.prototype.eachNode=function(d,b,x){H.w(d)&&(x=b,b=d,d=null),d=d||{},H.C(d)&&(d={order:d});var T,D=d.order||"preorder",z=this[d.attr||"children"];"preorder"===D&&(T=b.call(x,this));for(var W=0;!T&&W<z.length;W++)z[W].eachNode(d,b,x);"postorder"===D&&b.call(x,this)},TreeNode.prototype.updateDepthAndHeight=function(d){var b=0;this.depth=d;for(var x=0;x<this.children.length;x++){var T=this.children[x];T.updateDepthAndHeight(d+1),T.height>b&&(b=T.height)}this.height=b+1},TreeNode.prototype.getNodeById=function(d){if(this.getId()===d)return this;for(var b=0,x=this.children,T=x.length;b<T;b++){var D=x[b].getNodeById(d);if(D)return D}},TreeNode.prototype.contains=function(d){if(d===this)return!0;for(var b=0,x=this.children,T=x.length;b<T;b++){var D=x[b].contains(d);if(D)return D}},TreeNode.prototype.getAncestors=function(d){for(var b=[],x=d?this:this.parentNode;x;)b.push(x),x=x.parentNode;return b.reverse(),b},TreeNode.prototype.getAncestorsIndices=function(){for(var d=[],b=this;b;)d.push(b.dataIndex),b=b.parentNode;return d.reverse(),d},TreeNode.prototype.getDescendantIndices=function(){var d=[];return this.eachNode((function(b){d.push(b.dataIndex)})),d},TreeNode.prototype.getValue=function(d){var b=this.hostTree.data;return b.getStore().get(b.getDimensionIndex(d||"value"),this.dataIndex)},TreeNode.prototype.setLayout=function(d,b){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,d,b)},TreeNode.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},TreeNode.prototype.getModel=function(d){if(!(this.dataIndex<0))return this.hostTree.data.getItemModel(this.dataIndex).getModel(d)},TreeNode.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},TreeNode.prototype.setVisual=function(d,b){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,d,b)},TreeNode.prototype.getVisual=function(d){return this.hostTree.data.getItemVisual(this.dataIndex,d)},TreeNode.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},TreeNode.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},TreeNode.prototype.getChildIndex=function(){if(this.parentNode){for(var d=this.parentNode.children,b=0;b<d.length;++b)if(d[b]===this)return b;return-1}return-1},TreeNode.prototype.isAncestorOf=function(d){for(var b=d.parentNode;b;){if(b===this)return!0;b=b.parentNode}return!1},TreeNode.prototype.isDescendantOf=function(d){return d!==this&&d.isAncestorOf(this)},TreeNode}();var Tf=function(){function Tree(d){this.type="tree",this._nodes=[],this.hostModel=d}return Tree.prototype.eachNode=function(d,b,x){this.root.eachNode(d,b,x)},Tree.prototype.getNodeByDataIndex=function(d){var b=this.data.getRawIndex(d);return this._nodes[b]},Tree.prototype.getNodeById=function(d){return this.root.getNodeById(d)},Tree.prototype.update=function(){for(var d=this.data,b=this._nodes,x=0,T=b.length;x<T;x++)b[x].dataIndex=-1;for(x=0,T=d.count();x<T;x++)b[d.getRawIndex(x)].dataIndex=x},Tree.prototype.clearLayouts=function(){this.data.clearItemLayouts()},Tree.createTree=function(d,b,x){var T=new Tree(b),D=[],z=1;!function buildHierarchy(d,b){var x=d.value;z=Math.max(z,H.t(x)?x.length:1),D.push(d);var W=new Cf(convertOptionIdName(d.name,""),T);b?function(d,b){var x=b.children;if(d.parentNode===b)return;x.push(d),d.parentNode=b}(W,b):T.root=W,T._nodes.push(W);var U=d.children;if(U)for(var Y=0;Y<U.length;Y++)buildHierarchy(U[Y],W)}(d),T.root.updateDepthAndHeight(0);var W=prepareSeriesDataSchema(D,{coordDimensions:["value"],dimensionsCount:z}).dimensions,U=new id(W,b);return U.initData(D),x&&x(U),helper_linkSeriesData({mainData:U,struct:T,structAttr:"tree"}),T.update(),T},Tree}();function retrieveTargetInfo(d,b,x){if(d&&H.r(b,d.type)>=0){var T=x.getData().tree.root,D=d.targetNode;if(H.C(D)&&(D=T.getNodeById(D)),D&&T.contains(D))return{node:D};var z=d.targetNodeId;if(null!=z&&(D=T.getNodeById(z)))return{node:D}}}function getPathToRoot(d){for(var b=[];d;)(d=d.parentNode)&&b.push(d);return b.reverse()}function aboveViewRoot(d,b){var x=getPathToRoot(d);return H.r(x,b)>=0}function wrapTreePathInfo(d,b){for(var x=[];d;){var T=d.dataIndex;x.push({name:d.name,dataIndex:T,value:b.getRawValue(T)}),d=d.parentNode}return x.reverse(),x}var kf=function(d){function TreeSeriesModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.hasSymbolVisual=!0,b.ignoreStyleOnData=!0,b}return __extends(TreeSeriesModel,d),TreeSeriesModel.prototype.getInitialData=function(d){var b={name:d.name,children:d.data},x=d.leaves||{},T=new oo(x,this,this.ecModel),D=Tf.createTree(b,this,(function(d){d.wrapMethod("getItemModel",(function(d,b){var x=D.getNodeByDataIndex(b);return x&&x.children.length&&x.isExpand||(d.parentModel=T),d}))}));var z=0;D.eachNode("preorder",(function(d){d.depth>z&&(z=d.depth)}));var H=d.expandAndCollapse&&d.initialTreeDepth>=0?d.initialTreeDepth:z;return D.root.eachNode("preorder",(function(d){var b=d.hostTree.data.getRawDataItem(d.dataIndex);d.isExpand=b&&null!=b.collapsed?!b.collapsed:d.depth<=H})),D.data},TreeSeriesModel.prototype.getOrient=function(){var d=this.get("orient");return"horizontal"===d?d="LR":"vertical"===d&&(d="TB"),d},TreeSeriesModel.prototype.setZoom=function(d){this.option.zoom=d},TreeSeriesModel.prototype.setCenter=function(d){this.option.center=d},TreeSeriesModel.prototype.formatTooltip=function(d,b,x){for(var T=this.getData().tree,D=T.root.children[0],z=T.getNodeByDataIndex(d),H=z.getValue(),W=z.name;z&&z!==D;)W=z.parentNode.name+"."+W,z=z.parentNode;return createTooltipMarkup("nameValue",{name:W,value:H,noValue:isNaN(H)||null==H})},TreeSeriesModel.prototype.getDataParams=function(b){var x=d.prototype.getDataParams.apply(this,arguments),T=this.getData().tree.getNodeByDataIndex(b);return x.treeAncestors=wrapTreePathInfo(T,this),x.collapsed=!T.isExpand,x},TreeSeriesModel.type="series.tree",TreeSeriesModel.layoutMode="box",TreeSeriesModel.defaultOption={z:2,coordinateSystemUsage:"box",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,roamTrigger:"global",nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:Fo.color.borderTint,width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},TreeSeriesModel}(es);function eachBefore(d,b){for(var x,T=[d];x=T.pop();)if(b(x),x.isExpand){var D=x.children;if(D.length)for(var z=D.length-1;z>=0;z--)T.push(D[z])}}function treeLayout(d,b){d.eachSeriesByType("tree",(function(d){!function(d,b){var x=createBoxLayoutReference(d,b).refContainer,T=getLayoutRect(d.getBoxLayoutParams(),x);d.layoutInfo=T;var D=d.get("layout"),z=0,H=0,W=null;"radial"===D?(z=2*Math.PI,H=Math.min(T.height,T.width)/2,W=layoutHelper_separation((function(d,b){return(d.parentNode===b.parentNode?1:2)/d.depth}))):(z=T.width,H=T.height,W=layoutHelper_separation());var U=d.getData().tree.root,Y=U.children[0];if(Y){!function(d){var b=d;b.hierNode={defaultAncestor:null,ancestor:b,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var x,T,D=[b];x=D.pop();)if(T=x.children,x.isExpand&&T.length)for(var z=T.length-1;z>=0;z--){var H=T[z];H.hierNode={defaultAncestor:null,ancestor:H,prelim:0,modifier:0,change:0,shift:0,i:z,thread:null},D.push(H)}}(U),function(d,b,x){for(var T,D=[d],z=[];T=D.pop();)if(z.push(T),T.isExpand){var H=T.children;if(H.length)for(var W=0;W<H.length;W++)D.push(H[W])}for(;T=z.pop();)b(T,x)}(Y,firstWalk,W),U.hierNode.modifier=-Y.hierNode.prelim,eachBefore(Y,secondWalk);var Z=Y,J=Y,ee=Y;eachBefore(Y,(function(d){var b=d.getLayout().x;b<Z.getLayout().x&&(Z=d),b>J.getLayout().x&&(J=d),d.depth>ee.depth&&(ee=d)}));var te=Z===J?1:W(Z,J)/2,ne=te-Z.getLayout().x,ie=0,oe=0,se=0,le=0;if("radial"===D)ie=z/(J.getLayout().x+te+ne),oe=H/(ee.depth-1||1),eachBefore(Y,(function(d){se=(d.getLayout().x+ne)*ie,le=(d.depth-1)*oe;var b=radialCoordinate(se,le);d.setLayout({x:b.x,y:b.y,rawX:se,rawY:le},!0)}));else{var ce=d.getOrient();"RL"===ce||"LR"===ce?(oe=H/(J.getLayout().x+te+ne),ie=z/(ee.depth-1||1),eachBefore(Y,(function(d){le=(d.getLayout().x+ne)*oe,se="LR"===ce?(d.depth-1)*ie:z-(d.depth-1)*ie,d.setLayout({x:se,y:le},!0)}))):"TB"!==ce&&"BT"!==ce||(ie=z/(J.getLayout().x+te+ne),oe=H/(ee.depth-1||1),eachBefore(Y,(function(d){se=(d.getLayout().x+ne)*ie,le="TB"===ce?(d.depth-1)*oe:H-(d.depth-1)*oe,d.setLayout({x:se,y:le},!0)})))}}}(d,b)}))}function treeVisual(d){d.eachSeriesByType("tree",(function(d){var b=d.getData();b.tree.eachNode((function(d){var x=d.getModel().getModel("itemStyle").getItemStyle(),T=b.ensureUniqueItemVisual(d.dataIndex,"style");Object(H.m)(T,x)}))}))}var Af=["treemapZoomToNode","treemapRender","treemapMove"];function enableAriaDecalForTree(d){var b=d.getData().tree,x={};b.eachNode((function(b){for(var T=b;T&&T.depth>1;)T=T.parentNode;var D=getDecalFromPalette(d.ecModel,T.name||T.dataIndex+"",x);b.setVisual("decal",D)}))}var Pf=function(d){function TreemapSeriesModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=TreemapSeriesModel.type,b.preventUsingHoverLayer=!0,b}return __extends(TreemapSeriesModel,d),TreemapSeriesModel.prototype.getInitialData=function(d,b){var x={name:d.name,children:d.data};!function completeTreeValue(d){var b=0;H.k(d.children,(function(d){completeTreeValue(d);var x=d.value;H.t(x)&&(x=x[0]),b+=x}));var x=d.value;H.t(x)&&(x=x[0]);(null==x||isNaN(x))&&(x=b);x<0&&(x=0);H.t(d.value)?d.value[0]=x:d.value=x}(x);var T=d.levels||[],D=this.designatedVisualItemStyle={},z=new oo({itemStyle:D},this,b);T=d.levels=function(d,b){var x,T,D=normalizeToArray(b.get("color")),z=normalizeToArray(b.get(["aria","decal","decals"]));if(!D)return;d=d||[],H.k(d,(function(d){var b=new oo(d),D=b.get("color"),z=b.get("decal");(b.get(["itemStyle","color"])||D&&"none"!==D)&&(x=!0),(b.get(["itemStyle","decal"])||z&&"none"!==z)&&(T=!0)}));
vendor: 9,895 bytes, line 808
808var W=d[0]||(d[0]={});x||(W.color=D.slice());!T&&z&&(W.decal=z.slice());return d}(T,b);var W=H.H(T||[],(function(d){return new oo(d,z,b)}),this),U=Tf.createTree(x,this,(function(d){d.wrapMethod("getItemModel",(function(d,b){var x=U.getNodeByDataIndex(b),T=x?W[x.depth]:null;return d.parentModel=T||z,d}))}));return U.data},TreemapSeriesModel.prototype.optionUpdated=function(){this.resetViewRoot()},TreemapSeriesModel.prototype.formatTooltip=function(d,b,x){var T=this.getData(),D=this.getRawValue(d);return createTooltipMarkup("nameValue",{name:T.getName(d),value:D})},TreemapSeriesModel.prototype.getDataParams=function(b){var x=d.prototype.getDataParams.apply(this,arguments),T=this.getData().tree.getNodeByDataIndex(b);return x.treeAncestors=wrapTreePathInfo(T,this),x.treePathInfo=x.treeAncestors,x},TreemapSeriesModel.prototype.setLayoutInfo=function(d){this.layoutInfo=this.layoutInfo||{},H.m(this.layoutInfo,d)},TreemapSeriesModel.prototype.mapIdToIndex=function(d){var b=this._idIndexMap;b||(b=this._idIndexMap=H.f(),this._idIndexMapCount=0);var x=b.get(d);return null==x&&b.set(d,x=this._idIndexMapCount++),x},TreemapSeriesModel.prototype.getViewRoot=function(){return this._viewRoot},TreemapSeriesModel.prototype.resetViewRoot=function(d){d?this._viewRoot=d:d=this._viewRoot;var b=this.getRawData().tree.root;d&&(d===b||b.contains(d))||(this._viewRoot=b)},TreemapSeriesModel.prototype.enableAriaDecal=function(){enableAriaDecalForTree(this)},TreemapSeriesModel.type="series.treemap",TreemapSeriesModel.layoutMode="box",TreemapSeriesModel.defaultOption={progressive:0,coordinateSystemUsage:"box",left:Fo.size.l,top:Fo.size.xxxl,right:Fo.size.l,bottom:Fo.size.xxxl,sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.1024,scaleLimit:{max:5,min:.2},roam:!0,roamTrigger:"global",nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",bottom:Fo.size.m,emptyItemWidth:25,itemStyle:{color:Fo.color.backgroundShade,textStyle:{color:Fo.color.secondary}},emphasis:{itemStyle:{color:Fo.color.background}}},label:{show:!0,distance:0,padding:5,position:"inside",color:Fo.color.neutral00,overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:Fo.color.neutral00,borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},TreemapSeriesModel}(es);function makeItemPoints(d,b,x,T,D,z){var H=[[D?d:d-5,b],[d+x,b],[d+x,b+T],[D?d:d-5,b+T]];return!z&&H.splice(2,0,[d+x+5,b+T/2]),!D&&H.push([d,b+T/2]),H}function packEventData(d,b,x){Or(d).eventData={componentType:"series",componentSubType:"treemap",componentIndex:b.componentIndex,seriesIndex:b.seriesIndex,seriesName:b.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:x&&x.dataIndex,name:x&&x.name},treePathInfo:x&&wrapTreePathInfo(x,b)}}var Of=function(){function Breadcrumb(d){this.group=new Xn,d.add(this.group)}return Breadcrumb.prototype.render=function(d,b,x,T){var D=d.getModel("breadcrumb"),z=this.group;if(z.removeAll(),D.get("show")&&x){var H=D.getModel("itemStyle"),W=D.getModel("emphasis"),U=H.getModel("textStyle"),Y=W.getModel(["itemStyle","textStyle"]),Z=createBoxLayoutReference(d,b).refContainer,J={left:D.get("left"),right:D.get("right"),top:D.get("top"),bottom:D.get("bottom")},ee={emptyItemWidth:D.get("emptyItemWidth"),totalWidth:0,renderList:[]},te=getLayoutRect(J,Z);this._prepare(x,ee,U),this._renderContent(d,ee,te,H,W,U,Y,T),positionElement(z,J,Z)}},Breadcrumb.prototype._prepare=function(d,b,x){for(var T=d;T;T=T.parentNode){var D=convertOptionIdName(T.getModel().get("name"),""),z=x.getTextRect(D),H=Math.max(z.width+16,b.emptyItemWidth);b.totalWidth+=H+8,b.renderList.push({node:T,text:D,width:H})}},Breadcrumb.prototype._renderContent=function(d,b,x,T,D,z,W,U){for(var Y=0,Z=b.emptyItemWidth,J=d.get(["breadcrumb","height"]),ee=b.totalWidth,te=b.renderList,ne=D.getModel("itemStyle").getItemStyle(),ie=te.length-1;ie>=0;ie--){var oe=te[ie],se=oe.node,le=oe.width,ce=oe.text;ee>x.width&&(ee-=le-Z,le=Z,ce=null);var de=new Es({shape:{points:makeItemPoints(Y,0,le,J,ie===te.length-1,0===ie)},style:Object(H.i)(T.getItemStyle(),{lineJoin:"bevel"}),textContent:new Pr({style:createTextStyle(z,{text:ce})}),textConfig:{position:"inside"},z2:1e5,onclick:Object(H.h)(U,se)});de.disableLabelAnimation=!0,de.getTextContent().ensureState("emphasis").style=createTextStyle(W,{text:ce}),de.ensureState("emphasis").style=ne,toggleHoverEmphasis(de,D.get("focus"),D.get("blurScope"),D.get("disabled")),this.group.add(de),packEventData(de,d,se),Y+=le+8}},Breadcrumb.prototype.remove=function(){this.group.removeAll()},Breadcrumb}(),If=function(){function AnimationWrap(){this._storage=[],this._elExistsMap={}}return AnimationWrap.prototype.add=function(d,b,x,T,D){return!this._elExistsMap[d.id]&&(this._elExistsMap[d.id]=!0,this._storage.push({el:d,target:b,duration:x,delay:T,easing:D}),!0)},AnimationWrap.prototype.finished=function(d){return this._finishedCallback=d,this},AnimationWrap.prototype.start=function(){for(var d=this,b=this._storage.length,checkTerminate=function(){--b<=0&&(d._storage.length=0,d._elExistsMap={},d._finishedCallback&&d._finishedCallback())},x=0,T=this._storage.length;x<T;x++){var D=this._storage[x];D.el.animateTo(D.target,{duration:D.duration,delay:D.delay,easing:D.easing,setToFinal:!0,done:checkTerminate,aborted:checkTerminate})}return this},AnimationWrap}();var Df=Xn,Ef=_r,Lf=makeStyleMapper([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),getItemStyleNormal=function(d){var b=Lf(d);return b.stroke=b.fill=b.lineWidth=null,b},Rf=makeInner();var Bf=function(d){function TreemapView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=TreemapView.type,b._state="ready",b._storage={nodeGroup:[],background:[],content:[]},b}return __extends(TreemapView,d),TreemapView.prototype.render=function(d,b,x,T){var D=b.findComponents({mainType:"series",subType:"treemap",query:T});if(!(Object(H.r)(D,d)<0)){this.seriesModel=d,this.api=x,this.ecModel=b;var z=retrieveTargetInfo(T,["treemapZoomToNode","treemapRootToNode"],d),W=T&&T.type,U=d.layoutInfo,Y=!this._oldTree,Z=this._storage,J="treemapRootToNode"===W&&z&&Z?{rootNodeGroup:Z.nodeGroup[z.node.getRawIndex()],direction:T.direction}:null,ee=this._giveContainerGroup(U),te=d.get("animation"),ne=this._doRender(ee,d,J);!te||Y||W&&"treemapZoomToNode"!==W&&"treemapRootToNode"!==W?ne.renderFinally():this._doAnimation(ee,ne,d,J),this._resetController(x),this._renderBreadcrumb(d,x,z)}},TreemapView.prototype._giveContainerGroup=function(d){var b=this._containerGroup;return b||(b=this._containerGroup=new Df,this._initEvents(b),this.group.add(b)),b.x=d.x,b.y=d.y,b},TreemapView.prototype._doRender=function(d,b,x){var T=b.getData().tree,D=this._oldTree,z={nodeGroup:[],background:[],content:[]},W={nodeGroup:[],background:[],content:[]},U=this._storage,Y=[];function doRenderNode(d,T,D,Z){return function(d,b,x,T,D,z,W,U,Y,Z){if(!W)return;var J=W.getLayout(),ee=d.getData(),te=W.getModel();if(ee.setItemGraphicEl(W.dataIndex,null),!J||!J.isInView)return;var ne=J.width,ie=J.height,oe=J.borderWidth,se=J.invisible,le=W.getRawIndex(),ce=U&&U.getRawIndex(),de=W.viewChildren,he=J.upperHeight,pe=de&&de.length,fe=te.getModel("itemStyle"),ge=te.getModel(["emphasis","itemStyle"]),me=te.getModel(["blur","itemStyle"]),ye=te.getModel(["select","itemStyle"]),ve=fe.get("borderRadius")||0,xe=giveGraphic("nodeGroup",Df);if(!xe)return;if(Y.add(xe),xe.x=J.x||0,xe.y=J.y||0,xe.markRedraw(),Rf(xe).nodeWidth=ne,Rf(xe).nodeHeight=ie,J.isAboveViewRoot)return xe;var _e=giveGraphic("background",Ef,Z,20);_e&&function(b,x,T){var D=Or(x);if(D.dataIndex=W.dataIndex,D.seriesIndex=d.seriesIndex,x.setShape({x:0,y:0,width:ne,height:ie,r:ve}),se)processInvisible(x);else{x.invisible=!1;var z=W.getVisual("style"),H=z.stroke,U=getItemStyleNormal(fe);U.fill=H;var Y=Lf(ge);Y.fill=ge.get("borderColor");var Z=Lf(me);Z.fill=me.get("borderColor");var J=Lf(ye);if(J.fill=ye.get("borderColor"),T){var ee=ne-2*oe;prepareText(x,H,z.opacity,{x:oe,y:0,width:ee,height:he})}else x.removeTextContent();x.setStyle(U),x.ensureState("emphasis").style=Y,x.ensureState("blur").style=Z,x.ensureState("select").style=J,setDefaultStateProxy(x)}b.add(x)}(xe,_e,pe&&J.upperLabelHeight);var we=te.getModel("emphasis"),Se=we.get("focus"),Me=we.get("blurScope"),Te=we.get("disabled"),ke="ancestor"===Se?W.getAncestorsIndices():"descendant"===Se?W.getDescendantIndices():Se;if(pe)isHighDownDispatcher(xe)&&setAsHighDownDispatcher(xe,!1),_e&&(setAsHighDownDispatcher(_e,!Te),ee.setItemGraphicEl(W.dataIndex,_e),enableHoverFocus(_e,ke,Me));else{var Pe=giveGraphic("content",Ef,Z,30);Pe&&function(b,x){var T=Or(x);T.dataIndex=W.dataIndex,T.seriesIndex=d.seriesIndex;var D=Math.max(ne-2*oe,0),z=Math.max(ie-2*oe,0);if(x.culling=!0,x.setShape({x:oe,y:oe,width:D,height:z,r:ve}),se)processInvisible(x);else{x.invisible=!1;var H=W.getVisual("style"),U=H.fill,Y=getItemStyleNormal(fe);Y.fill=U,Y.decal=H.decal;var Z=Lf(ge),J=Lf(me),ee=Lf(ye);prepareText(x,U,H.opacity,null),x.setStyle(Y),x.ensureState("emphasis").style=Z,x.ensureState("blur").style=J,x.ensureState("select").style=ee,setDefaultStateProxy(x)}b.add(x)}(xe,Pe),_e.disableMorphing=!0,_e&&isHighDownDispatcher(_e)&&setAsHighDownDispatcher(_e,!1),setAsHighDownDispatcher(xe,!Te),ee.setItemGraphicEl(W.dataIndex,xe);var Ee=te.getShallow("cursor");Ee&&Pe.attr("cursor",Ee),enableHoverFocus(xe,ke,Me)}return xe;
808function processInvisible(d){!d.invisible&&z.push(d)}function prepareText(b,x,T,D){var z=te.getModel(D?"upperLabel":"label"),U=convertOptionIdName(te.get("name"),null),Y=z.getShallow("show");setLabelStyle(b,getLabelStatesModels(te,D?"upperLabel":"label"),{defaultText:Y?U:null,inheritColor:x,defaultOpacity:T,labelFetcher:d,labelDataIndex:W.dataIndex});var Z=b.getTextContent();if(Z){var ee=Z.style,ne=Object(H.M)(ee.padding||0);D&&(b.setTextConfig({layoutRect:D}),Z.disableLabelLayout=!0),Z.beforeUpdate=function(){var d=Math.max((D?D.width:b.shape.width)-ne[1]-ne[3],0),x=Math.max((D?D.height:b.shape.height)-ne[0]-ne[2],0);ee.width===d&&ee.height===x||Z.setStyle({width:d,height:x})},ee.truncateMinChar=2,ee.lineOverflow="truncate",addDrillDownIcon(ee,D,J);var ie=Z.getState("emphasis");addDrillDownIcon(ie?ie.style:null,D,J)}}function addDrillDownIcon(b,x,T){var D=b?b.text:null;if(!x&&T.isLeafRoot&&null!=D){var z=d.get("drillDownIcon",!0);b.text=z?z+" "+D:D}}function giveGraphic(d,z,U,Y){var Z=null!=ce&&x[d][ce],J=D[d];return Z?(x[d][ce]=null,function(d,b){var x=d[le]={};b instanceof Df?(x.oldX=b.x,x.oldY=b.y):x.oldShape=Object(H.m)({},b.shape)}(J,Z)):se||((Z=new z)instanceof ki&&(Z.z2=function(d,b){return 100*d+b}(U,Y)),function(d,b){var x=d[le]={},z=W.parentNode,H=b instanceof Xn;if(z&&(!T||"drillDown"===T.direction)){var U=0,Y=0,Z=D.background[z.getRawIndex()];!T&&Z&&Z.oldShape&&(U=Z.oldShape.width,Y=Z.oldShape.height),H?(x.oldX=0,x.oldY=Y):x.oldShape={x:U,y:Y,width:0,height:0}}x.fadein=!H}(J,Z)),b[d][le]=Z}}(b,W,U,x,z,Y,d,T,D,Z)}!function dualTravel(d,b,x,T,D){T?(b=d,Object(H.k)(d,(function(d,b){!d.isRemoved()&&processNode(b,b)}))):new zc(b,d,getKey,getKey).add(processNode).update(processNode).remove(Object(H.h)(processNode,null)).execute();function getKey(d){return d.getId()}function processNode(z,H){var W=null!=z?d[z]:null,U=null!=H?b[H]:null,Y=doRenderNode(W,U,x,D);Y&&dualTravel(W&&W.viewChildren||[],U&&U.viewChildren||[],Y,T,D+1)}}(T.root?[T.root]:[],D&&D.root?[D.root]:[],d,T===D||!D,0);var Z=function(d){var b={nodeGroup:[],background:[],content:[]};return d&&Object(H.k)(d,(function(d,x){var T=b[x];
vendor: 9,848 bytes, line 808
808Object(H.k)(d,(function(d){d&&(T.push(d),Rf(d).willDelete=!0)}))})),b}(U);if(this._oldTree=T,this._storage=W,this._controllerHost){var J=this.seriesModel.layoutInfo,ee=T.root.getLayout();ee.width===J.width&&ee.height===J.height&&(this._controllerHost.zoom=1)}return{lastsForAnimation:z,willDeleteEls:Z,renderFinally:function(){Object(H.k)(Z,(function(d){Object(H.k)(d,(function(d){d.parent&&d.parent.remove(d)}))})),Object(H.k)(Y,(function(d){d.invisible=!0,d.dirty()}))}}},TreemapView.prototype._doAnimation=function(d,b,x,T){var D=x.get("animationDurationUpdate"),z=x.get("animationEasing"),W=(Object(H.w)(D)?0:D)||0,U=(Object(H.w)(z)?null:z)||"cubicOut",Y=new If;Object(H.k)(b.willDeleteEls,(function(d,b){Object(H.k)(d,(function(d,x){if(!d.invisible){var D,z=d.parent,H=Rf(z);if(T&&"drillDown"===T.direction)D=z===T.rootNodeGroup?{shape:{x:0,y:0,width:H.nodeWidth,height:H.nodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var Z=0,J=0;H.willDelete||(Z=H.nodeWidth/2,J=H.nodeHeight/2),D="nodeGroup"===b?{x:Z,y:J,style:{opacity:0}}:{shape:{x:Z,y:J,width:0,height:0},style:{opacity:0}}}D&&Y.add(d,D,W,0,U)}}))})),Object(H.k)(this._storage,(function(d,x){Object(H.k)(d,(function(d,T){var D=b.lastsForAnimation[x][T],z={};D&&(d instanceof Xn?null!=D.oldX&&(z.x=d.x,z.y=d.y,d.x=D.oldX,d.y=D.oldY):(D.oldShape&&(z.shape=Object(H.m)({},d.shape),d.setShape(D.oldShape)),D.fadein?(d.setStyle("opacity",0),z.style={opacity:1}):1!==d.style.opacity&&(z.style={opacity:1})),Y.add(d,z,W,0,U))}))}),this),this._state="animating",Y.finished(Object(H.c)((function(){this._state="ready",b.renderFinally()}),this)).start()},TreemapView.prototype._resetController=function(d){var b=this,x=this._controller,T=this._controllerHost;T||(this._controllerHost={target:this.group},T=this._controllerHost);var D=this.seriesModel;x||((x=this._controller=new Dp(d.getZr())).on("pan",Object(H.c)(this._onPan,this)),x.on("zoom",Object(H.c)(this._onZoom,this))),x.enable(D.get("roam"),{api:d,zInfo:{component:D},triggerInfo:{roamTrigger:D.get("roamTrigger"),isInSelf:function(d,x,T){var D=b._containerGroup;return!!D&&D.getBoundingRect().contain(x-D.x,T-D.y)}}}),T.zoomLimit=D.get("scaleLimit"),T.zoom=D.get("zoom")},TreemapView.prototype._clearController=function(){var d=this._controller;this._controllerHost=null,d&&(d.dispose(),d=null)},TreemapView.prototype._onPan=function(d){if("animating"!==this._state&&(Math.abs(d.dx)>3||Math.abs(d.dy)>3)){var b=this.seriesModel.getData().tree.root;if(!b)return;var x=b.getLayout();if(!x)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:x.x+d.dx,y:x.y+d.dy,width:x.width,height:x.height}})}},TreemapView.prototype._onZoom=function(d){var b=d.originX,x=d.originY,T=d.scale;if("animating"!==this._state){var D=this.seriesModel.getData().tree.root;if(!D)return;var z=D.getLayout();if(!z)return;var H,W=new Ee(z.x,z.y,z.width,z.height),U=this._controllerHost;H=U.zoomLimit;var Y=U.zoom=U.zoom||1;if(Y*=T,H){var Z=H.min||0,J=H.max||1/0;Y=Math.max(Math.min(J,Y),Z)}var ee=Y/U.zoom;U.zoom=Y;var te=this.seriesModel.layoutInfo,ne=[1,0,0,1,0,0];matrix_translate(ne,ne,[-(b-=te.x),-(x-=te.y)]),matrix_scale(ne,ne,[ee,ee]),matrix_translate(ne,ne,[b,x]),W.applyTransform(ne),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:W.x,y:W.y,width:W.width,height:W.height}})}},TreemapView.prototype._initEvents=function(d){var b=this;d.on("click",(function(d){if("ready"===b._state){var x=b.seriesModel.get("nodeClick",!0);if(x){var T=b.findTarget(d.offsetX,d.offsetY);if(T){var D=T.node;if(D.getLayout().isLeafRoot)b._rootToNode(T);else if("zoomToNode"===x)b._zoomToNode(T);else if("link"===x){var z=D.hostTree.data.getItemModel(D.dataIndex),H=z.get("link",!0),W=z.get("target",!0)||"blank";H&&windowOpen(H,W)}}}}}),this)},TreemapView.prototype._renderBreadcrumb=function(d,b,x){var T=this;x||(x=null!=d.get("leafDepth",!0)?{node:d.getViewRoot()}:this.findTarget(b.getWidth()/2,b.getHeight()/2))||(x={node:d.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new Of(this.group))).render(d,b,x.node,(function(b){"animating"!==T._state&&(aboveViewRoot(d.getViewRoot(),b)?T._rootToNode({node:b}):T._zoomToNode({node:b}))}))},TreemapView.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage={nodeGroup:[],background:[],content:[]},this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},TreemapView.prototype.dispose=function(){this._clearController()},TreemapView.prototype._zoomToNode=function(d){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:d.node})},TreemapView.prototype._rootToNode=function(d){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:d.node})},TreemapView.prototype.findTarget=function(d,b){var x;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},(function(T){var D=this._storage.background[T.getRawIndex()];if(D){var z=D.transformCoordToLocal(d,b),H=D.shape;if(!(H.x<=z[0]&&z[0]<=H.x+H.width&&H.y<=z[1]&&z[1]<=H.y+H.height))return!1;x={node:T,offsetX:z[0],offsetY:z[1]}}}),this),x},TreemapView.type="treemap",TreemapView}(gl),Nf=H.k,jf=H.A,Vf=function(){function VisualMapping(d){var b=d.mappingMethod,x=d.type,T=this.option=H.d(d);this.type=x,this.mappingMethod=b,this._normalizeData=zf[b];var D=VisualMapping.visualHandlers[x];this.applyVisual=D.applyVisual,this.getColorMapper=D.getColorMapper,this._normalizedToVisual=D._normalizedToVisual[b],"piecewise"===b?(normalizeVisualRange(T),function(d){var b=d.pieceList;d.hasSpecialVisual=!1,H.k(b,(function(b,x){b.originIndex=x,null!=b.visual&&(d.hasSpecialVisual=!0)}))}(T)):"category"===b?T.categories?function(d){var b=d.categories,x=d.categoryMap={},T=d.visual;if(Nf(b,(function(d,b){x[d]=b})),!H.t(T)){var D=[];H.A(T)?Nf(T,(function(d,b){var T=x[b];D[null!=T?T:-1]=d})):D[-1]=T,T=setVisualToOption(d,D)}for(var z=b.length-1;z>=0;z--)null==T[z]&&(delete x[b[z]],b.pop())}(T):normalizeVisualRange(T,!0):(H.b("linear"!==b||T.dataExtent),normalizeVisualRange(T))}return VisualMapping.prototype.mapValueToVisual=function(d){var b=this._normalizeData(d);return this._normalizedToVisual(b,d)},VisualMapping.prototype.getNormalizer=function(){return H.c(this._normalizeData,this)},VisualMapping.listVisualTypes=function(){return H.F(VisualMapping.visualHandlers)},VisualMapping.isValidType=function(d){return VisualMapping.visualHandlers.hasOwnProperty(d)},VisualMapping.eachVisual=function(d,b,x){H.A(d)?H.k(d,b,x):b.call(x,d)},VisualMapping.mapVisual=function(d,b,x){var T,D=H.t(d)?[]:H.A(d)?{}:(T=!0,null);return VisualMapping.eachVisual(d,(function(d,z){var H=b.call(x,d,z);T?D=H:D[z]=H})),D},VisualMapping.retrieveVisuals=function(d){var b,x={};return d&&Nf(VisualMapping.visualHandlers,(function(T,D){d.hasOwnProperty(D)&&(x[D]=d[D],b=!0)})),b?x:null},VisualMapping.prepareVisualTypes=function(d){if(H.t(d))d=d.slice();else{if(!jf(d))return[];var b=[];Nf(d,(function(d,x){b.push(x)})),d=b}return d.sort((function(d,b){return"color"===b&&"color"!==d&&0===d.indexOf("color")?1:-1})),d},VisualMapping.dependsOn=function(d,b){return"color"===b?!(!d||0!==d.indexOf(b)):d===b},VisualMapping.findPieceIndex=function(d,b,x){for(var T,D=1/0,z=0,W=b.length;z<W;z++){var U=b[z].value;if(null!=U){if(U===d||H.C(U)&&U===d+"")return z;x&&updatePossible(U,z)}}for(z=0,W=b.length;z<W;z++){var Y=b[z],Z=Y.interval,J=Y.close;if(Z){if(Z[0]===-1/0){if(VisualMapping_littleThan(J[1],d,Z[1]))return z}else if(Z[1]===1/0){if(VisualMapping_littleThan(J[0],Z[0],d))return z}else if(VisualMapping_littleThan(J[0],Z[0],d)&&VisualMapping_littleThan(J[1],d,Z[1]))return z;x&&updatePossible(Z[0],z),x&&updatePossible(Z[1],z)}}if(x)return d===1/0?b.length-1:d===-1/0?0:T;function updatePossible(b,x){var z=Math.abs(b-d);z<D&&(D=z,T=x)}},VisualMapping.visualHandlers={color:{applyVisual:makeApplyVisual("color"),getColorMapper:function(){var d=this.option;return H.c("category"===d.mappingMethod?function(d,b){return!b&&(d=this._normalizeData(d)),doMapCategory.call(this,d)}:function(b,x,T){var D=!!T;return!x&&(b=this._normalizeData(b)),T=yt.a(b,d.parsedVisual,T),D?T:yt.j(T,"rgba")},this)},_normalizedToVisual:{linear:function(d){return yt.j(yt.a(d,this.option.parsedVisual),"rgba")},category:doMapCategory,piecewise:function(d,b){var x=getSpecifiedVisual.call(this,b);return null==x&&(x=yt.j(yt.a(d,this.option.parsedVisual),"rgba")),x},fixed:doMapFixed}},colorHue:makePartialColorVisualHandler((function(d,b){return yt.g(d,b)})),colorSaturation:makePartialColorVisualHandler((function(d,b){return yt.g(d,null,b)})),colorLightness:makePartialColorVisualHandler((function(d,b){return yt.g(d,null,null,b)})),colorAlpha:makePartialColorVisualHandler((function(d,b){return yt.f(d,b)})),decal:{applyVisual:makeApplyVisual("decal"),_normalizedToVisual:{linear:null,category:doMapCategory,piecewise:null,fixed:null}},opacity:{applyVisual:makeApplyVisual("opacity"),_normalizedToVisual:createNormalizedToNumericVisual([0,1])},liftZ:{applyVisual:makeApplyVisual("liftZ"),_normalizedToVisual:{linear:doMapFixed,category:doMapFixed,piecewise:doMapFixed,fixed:doMapFixed}},symbol:{applyVisual:function(d,b,x){x("symbol",this.mapValueToVisual(d))},_normalizedToVisual:{linear:doMapToArray,category:doMapCategory,piecewise:function(d,b){var x=getSpecifiedVisual.call(this,b);return null==x&&(x=doMapToArray.call(this,d)),x},fixed:doMapFixed}},symbolSize:{applyVisual:makeApplyVisual("symbolSize"),_normalizedToVisual:createNormalizedToNumericVisual([0,1])}},VisualMapping}();function normalizeVisualRange(d,b){var x=d.visual,T=[];H.A(x)?Nf(x,(function(d){T.push(d)})):null!=x&&T.push(x);b||1!==T.length||{color:1,symbol:1}.hasOwnProperty(d.type)||(T[1]=T[0]),setVisualToOption(d,T)}
808function makePartialColorVisualHandler(d){return{applyVisual:function(b,x,T){var D=this.mapValueToVisual(b);T("color",d(x("color"),D))},_normalizedToVisual:createNormalizedToNumericVisual([0,1])}}function doMapToArray(d){var b=this.option.visual;return b[Math.round(linearMap(d,[0,1],[0,b.length-1],!0))]||{}}function makeApplyVisual(d){return function(b,x,T){T(d,this.mapValueToVisual(b))}}function doMapCategory(d){var b=this.option.visual;return b[this.option.loop&&-1!==d?d%b.length:d]}function doMapFixed(){return this.option.visual[0]}function createNormalizedToNumericVisual(d){return{linear:function(b){return linearMap(b,d,this.option.visual,!0)},category:doMapCategory,piecewise:function(b,x){var T=getSpecifiedVisual.call(this,x);return null==T&&(T=linearMap(b,d,this.option.visual,!0)),T},fixed:doMapFixed}}function getSpecifiedVisual(d){var b=this.option,x=b.pieceList;if(b.hasSpecialVisual){var T=x[Vf.findPieceIndex(d,x)];if(T&&T.visual)return T.visual[this.type]}}function setVisualToOption(d,b){return d.visual=b,"color"===d.type&&(d.parsedVisual=H.H(b,(function(d){var b=yt.h(d);return b||[0,0,0,1]}))),b}var zf={linear:function(d){return linearMap(d,this.option.dataExtent,[0,1],!0)},piecewise:function(d){var b=this.option.pieceList,x=Vf.findPieceIndex(d,b,!0);if(null!=x)return linearMap(x,[0,b.length-1],[0,1],!0)},category:function(d){var b=this.option.categories?this.option.categoryMap[d]:d;return null==b?-1:b},fixed:H.L};function VisualMapping_littleThan(d,b,x){return d?b<=x:b<x}var Ff=Vf,Hf=makeInner(),Gf={seriesType:"treemap",reset:function(d){var b=d.getData().tree.root;b.isRemoved()||function travelTree(d,b,x,T){var D=d.getModel(),z=d.getLayout(),W=d.hostTree.data;if(!z||z.invisible||!z.isInView)return;var U,Y=D.getModel("itemStyle"),Z=function(d,b,x){var T=Object(H.m)({},b),D=x.designatedVisualItemStyle;return Object(H.k)(["color","colorAlpha","colorSaturation"],(function(x){D[x]=b[x];var z=d.get(x);D[x]=null,null!=z&&(T[x]=z)})),T}(Y,b,T),J=W.ensureUniqueItemVisual(d.dataIndex,"style"),ee=Y.get("borderColor"),te=Y.get("borderColorSaturation");null!=te&&(U=calculateColor(Z),ee=function(d,b){return null!=b?Ob
vendor: 1,141 bytes, line 808
808ject(yt.g)(b,null,null,d):null}(te,U));J.stroke=ee;var ne=d.viewChildren;if(ne&&ne.length){var ie=function(d,b,x,T,D,z){if(!z||!z.length)return;var H=getRangeVisual(b,"color")||null!=D.color&&"none"!==D.color&&(getRangeVisual(b,"colorAlpha")||getRangeVisual(b,"colorSaturation"));if(!H)return;var W=b.get("visualMin"),U=b.get("visualMax"),Y=x.dataExtent.slice();null!=W&&W<Y[0]&&(Y[0]=W),null!=U&&U>Y[1]&&(Y[1]=U);var Z=b.get("colorMappingBy"),J={type:H.name,dataExtent:Y,visual:H.range};"color"!==J.type||"index"!==Z&&"id"!==Z?J.mappingMethod="linear":(J.mappingMethod="category",J.loop=!0);var ee=new Ff(J);return Hf(ee).drColorMappingBy=Z,ee}(0,D,z,0,Z,ne);Object(H.k)(ne,(function(d,b){if(d.depth>=x.length||d===x[d.depth]){var z=function(d,b,x,T,D,z){var W=Object(H.m)({},b);if(D){var U=D.type,Y="color"===U&&Hf(D).drColorMappingBy,Z="index"===Y?T:"id"===Y?z.mapIdToIndex(x.getId()):x.getValue(d.get("visualDimension"));W[U]=D.mapValueToVisual(Z)}return W}(D,Z,d,b,ie,T);travelTree(d,z,x,T)}}))}else U=calculateColor(Z),J.fill=U}(b,{},d.getViewRoot().getAncestors(),d)}};function calculateColor(d){var b=getValueVisualDefine(d,"color");
808if(b){var x=getValueVisualDefine(d,"colorAlpha"),T=getValueVisualDefine(d,"colorSaturation");return T&&(b=Object(yt.g)(b,null,null,T)),x&&(b=Object(yt.f)(b,x)),b}}function getValueVisualDefine(d,b){var x=d[b];if(null!=x&&"none"!==x)return x}function getRangeVisual(d,b){var x=d.get(b);return Object(H.t)(x)&&x.length?{name:b,range:x}:null}var $f=Math.max,Wf=Math.min,Uf=H.O,Yf=H.k,qf=["itemStyle","borderWidth"],Zf=["itemStyle","gapWidth"],Xf=["upperLabel","show"],Kf=["upperLabel","height"],Jf={seriesType:"treemap",reset:function(d,b,x,T){var D=d.option,z=createBoxLayoutReference(d,x).refContainer,W=getLayoutRect(d.getBoxLayoutParams(),z),U=D.size||[],Y=number_parsePercent(Uf(W.width,U[0]),z.width),Z=number_parsePercent(Uf(W.height,U[1]),z.height),J=T&&T.type,ee=retrieveTargetInfo(T,["treemapZoomToNode","treemapRootToNode"],d),te="treemapRender"===J||"treemapMove"===J?T.rootRect:null,ne=d.getViewRoot(),ie=getPathToRoot(ne);if("treemapMove"!==J){var oe="treemapZoomToNode"===J?function(d,b,x,T,D){var z,H=(b||{}).node,W=[T,D];if(!H||H===x)return W;var U=T*D,Y=U*d.option.zoomToNodeRatio;for(;z=H.parentNode;){for(var Z=0,J=z.children,ee=0,te=J.length;ee<te;ee++)Z+=J[ee].getValue();var ne=H.getValue();if(0===ne)return W;Y*=Z/ne;var ie=z.getModel(),oe=ie.get(qf),se=Math.max(oe,getUpperLabelHeight(ie));(Y+=4*oe*oe+(3*oe+se)*Math.pow(Y,.5))>9007199254740991&&(Y=9007199254740991),H=z}Y<U&&(Y=U);var le=Math.pow(Y/U,.5);return[T*le,D*le]}(d,ee,ne,Y,Z):te?[te.width,te.height]:[Y,Z],se=D.sort;se&&"asc"!==se&&"desc"!==se&&(se="desc");var le={squareRatio:D.squareRatio,sort:se,leafDepth:D.leafDepth};ne.hostTree.clearLayouts();var ce={x:0,y:0,width:oe[0],height:oe[1],area:oe[0]*oe[1]};ne.setLayout(ce),function squarify(d,b,x,T){var D,z;if(d.isRemoved())return;var W=d.getLayout();D=W.width,z=W.height;var U=d.getModel(),Y=U.get(qf),Z=U.get(Zf)/2,J=getUpperLabelHeight(U),ee=Math.max(Y,J),te=Y-Z,ne=ee-Z;d.setLayout({borderWidth:Y,upperHeight:ee,upperLabelHeight:J},!0),D=$f(D-2*te,0),z=$f(z-te-ne,0);var ie=D*z,oe=function(d,b,x,T,D,z){var W=d.children||[],U=T.sort;"asc"!==U&&"desc"!==U&&(U=null);var Y=null!=T.leafDepth&&T.leafDepth<=z;if(D&&!Y)return d.viewChildren=[];!function(d,b){b&&d.sort((function(d,x){var T="asc"===b?d.getValue()-x.getValue():x.getValue()-d.getValue();return 0===T?"asc"===b?d.dataIndex-x.dataIndex:x.dataIndex-d.dataIndex:T}))}(W=H.n(W,(function(d){return!d.isRemoved()})),U);var Z=function(d,b,x){for(var T=0,D=0,z=b.length;D<z;D++)T+=b[D].getValue();var H,W=d.get("visualDimension");b&&b.length?"value"===W&&x?(H=[b[b.length-1].getValue(),b[0].getValue()],"asc"===x&&H.reverse()):(H=[1/0,-1/0],Yf(b,(function(d){var b=d.getValue(W);b<H[0]&&(H[0]=b),b>H[1]&&(H[1]=b)}))):H=[NaN,NaN];return{sum:T,dataExtent:H}}(b,W,U);if(0===Z.sum)return d.viewChildren=[];if(Z.sum=function(d,b,x,T,D){if(!T)return x;for(var z=d.get("visibleMin"),H=D.length,W=H,U=H-1;U>=0;U--){var Y=D["asc"===T?H-U-1:U].getValue();Y/x*b<z&&(W=U,x-=Y)}return"asc"===T?D.splice(0,H-W):D.splice(W,H-W),x}(b,x,Z.sum,U,W),0===Z.sum)return d.viewChildren=[];for(var J=0,ee=W.length;J<ee;J++){var te=W[J].getValue()/Z.sum*x;W[J].setLayout({area:te})}Y&&(W.length&&d.setLayout({isLeafRoot:!0},!0),W.length=0);return d.viewChildren=W,d.setLayout({dataExtent:Z.dataExtent},!0),W}(d,U,ie,b,x,T);if(!oe.length)return;var se={x:te,y:ne,width:D,height:z},le=Wf(D,z),ce=1/0,de=[];de.area=0;for(var he=0,pe=oe.length;he<pe;){var fe=oe[he];de.push(fe),de.area+=fe.getLayout().area;var ge=worst(de,le,b.squareRatio);ge<=ce?(he++,ce=ge):(de.area-=de.pop().getLayout().area,treemapLayout_position(de,le,se,Z,!1),le=Wf(se.width,se.height),de.length=de.area=0,ce=1/0)}de.length&&treemapLayout_position(de,le,se,Z,!0);if(!x){var me=U.get("childrenVisibleMin");null!=me&&ie<me&&(x=!0)}for(he=0,pe=oe.length;he<pe;he++)squarify(oe[he],b,x,T+1)}(ne,le,!1,0),ce=ne.getLayout(),Yf(ie,(function(d,b){var x=(ie[b+1]||ne).getValue();d.setLayout(H.m({dataExtent:[x,x],borderWidth:0,upperHeight:0},ce))}))}var de=d.getData().tree.root;de.setLayout(function(d,b,x){if(b)return{x:b.x,y:b.y};var T={x:0,y:0};if(!x)return T;var D=x.node,z=D.getLayout();if(!z)return T;var H=[z.width/2,z.height/2],W=D;for(;W;){var U=W.getLayout();H[0]+=U.x,H[1]+=U.y,W=W.parentNode}return{x:d.width/2-H[0],y:d.height/2-H[1]}}(W,te,ee),!0),d.setLayoutInfo(W),function prunning(d,b,x,T,D){var z=d.getLayout(),H=x[D],W=H&&H===d;
vendor: 8,931 bytes, line 808
808if(H&&!W||D===x.length&&d!==T)return;d.setLayout({isInView:!0,invisible:!W&&!b.intersect(z),isAboveViewRoot:W},!0);var U=new Ee(b.x-z.x,b.y-z.y,b.width,b.height);Yf(d.viewChildren||[],(function(d){prunning(d,U,x,T,D+1)}))}(de,new Ee(-W.x,-W.y,x.getWidth(),x.getHeight()),ie,ne,0)}};function worst(d,b,x){for(var T=0,D=1/0,z=0,H=void 0,W=d.length;z<W;z++)(H=d[z].getLayout().area)&&(H<D&&(D=H),H>T&&(T=H));var U=d.area*d.area,Y=b*b*x;return U?$f(Y*T/U,U/(Y*D)):1/0}function treemapLayout_position(d,b,x,T,D){var z=b===x.width?0:1,H=1-z,W=["x","y"],U=["width","height"],Y=x[W[z]],Z=b?d.area/b:0;(D||Z>x[U[H]])&&(Z=x[U[H]]);for(var J=0,ee=d.length;J<ee;J++){var te=d[J],ne={},ie=Z?te.getLayout().area/Z:0,oe=ne[U[H]]=$f(Z-2*T,0),se=x[W[z]]+x[U[z]]-Y,le=J===ee-1||se<ie?se:ie,ce=ne[U[z]]=$f(le-2*T,0);ne[W[H]]=x[W[H]]+Wf(T,oe/2),ne[W[z]]=Y+Wf(T,ce/2),Y+=le,te.setLayout(ne,!0)}x[W[H]]+=Z,x[U[H]]-=Z}function getUpperLabelHeight(d){return d.get(Xf)?d.get(Kf):0}function categoryFilter(d){var b=d.findComponents({mainType:"legend"});b&&b.length&&d.eachSeriesByType("graph",(function(d){var x=d.getCategoriesData(),T=d.getGraph().data,D=x.mapArray(x.getName);T.filterSelf((function(d){var x=T.getItemModel(d).getShallow("category");if(null!=x){Object(H.z)(x)&&(x=D[x]);for(var z=0;z<b.length;z++)if(!b[z].isSelected(x))return!1}return!0}))}))}function categoryVisual(d){var b={};d.eachSeriesByType("graph",(function(d){var x=d.getCategoriesData(),T=d.getData(),D={};x.each((function(T){var z=x.getName(T);D["ec-"+z]=T;var H=x.getItemModel(T),W=H.getModel("itemStyle").getItemStyle();W.fill||(W.fill=d.getColorFromPalette(z,b)),x.setItemVisual(T,"style",W);for(var U=["symbol","symbolSize","symbolKeepAspect"],Y=0;Y<U.length;Y++){var Z=H.getShallow(U[Y],!0);null!=Z&&x.setItemVisual(T,U[Y],Z)}})),x.count()&&T.each((function(d){var b=T.getItemModel(d).getShallow("category");if(null!=b){Object(H.C)(b)&&(b=D["ec-"+b]);var z=x.getItemVisual(b,"style"),W=T.ensureUniqueItemVisual(d,"style");Object(H.m)(W,z);for(var U=["symbol","symbolSize","symbolKeepAspect"],Y=0;Y<U.length;Y++)T.setItemVisual(d,U[Y],x.getItemVisual(b,U[Y]))}}))}))}function edgeVisual_normalize(d){return d instanceof Array||(d=[d,d]),d}function graphEdgeVisual(d){d.eachSeriesByType("graph",(function(d){var b=d.getGraph(),x=d.getEdgeData(),T=edgeVisual_normalize(d.get("edgeSymbol")),D=edgeVisual_normalize(d.get("edgeSymbolSize"));x.setVisual("fromSymbol",T&&T[0]),x.setVisual("toSymbol",T&&T[1]),x.setVisual("fromSymbolSize",D&&D[0]),x.setVisual("toSymbolSize",D&&D[1]),x.setVisual("style",d.getModel("lineStyle").getLineStyle()),x.each((function(d){var T=x.getItemModel(d),D=b.getEdgeByIndex(d),z=edgeVisual_normalize(T.getShallow("symbol",!0)),W=edgeVisual_normalize(T.getShallow("symbolSize",!0)),U=T.getModel("lineStyle").getLineStyle(),Y=x.ensureUniqueItemVisual(d,"style");switch(Object(H.m)(Y,U),Y.stroke){case"source":var Z=D.node1.getVisual("style");Y.stroke=Z&&Z.fill;break;case"target":Z=D.node2.getVisual("style");Y.stroke=Z&&Z.fill}z[0]&&D.setVisual("fromSymbol",z[0]),z[1]&&D.setVisual("toSymbol",z[1]),W[0]&&D.setVisual("fromSymbolSize",W[0]),W[1]&&D.setVisual("toSymbolSize",W[1])}))}))}var getAutoCurvenessParams=function(d){return d.get("autoCurveness")||null},multipleGraphEdgeHelper_createCurveness=function(d,b){var x=getAutoCurvenessParams(d),T=20,D=[];if(H.z(x))T=x;else if(H.t(x))return void(d.__curvenessList=x);b>T&&(T=b);var z=T%2?T+2:T+3;D=[];for(var W=0;W<z;W++)D.push((W%2?W+1:W)/10*(W%2?-1:1));d.__curvenessList=D},getKeyOfEdges=function(d,b,x){var T=[d.id,d.dataIndex].join("."),D=[b.id,b.dataIndex].join(".");return[x.uid,T,D].join("--\x3e")},getOppositeKey=function(d){var b=d.split("--\x3e");return[b[0],b[2],b[1]].join("--\x3e")},getEdgeMapLengthWithKey=function(d,b){var x=b.__edgeMap;return x[d]?x[d].length:0};function getCurvenessForEdge(d,b,x,T){var D=getAutoCurvenessParams(b),z=H.t(D);if(!D)return null;var W=function(d,b){var x=getKeyOfEdges(d.node1,d.node2,b);return b.__edgeMap[x]}(d,b);if(!W)return null;for(var U=-1,Y=0;Y<W.length;Y++)if(W[Y]===x){U=Y;break}var Z=function(d,b){return getEdgeMapLengthWithKey(getKeyOfEdges(d.node1,d.node2,b),b)+getEdgeMapLengthWithKey(getKeyOfEdges(d.node2,d.node1,b),b)}(d,b);multipleGraphEdgeHelper_createCurveness(b,Z),d.lineStyle=d.lineStyle||{};var J=getKeyOfEdges(d.node1,d.node2,b),ee=b.__curvenessList,te=z||Z%2?0:1;if(W.isForward)return ee[te+U];var ne=getOppositeKey(J),ie=getEdgeMapLengthWithKey(ne,b),oe=ee[U+ie+te];return T?z?D&&0===D[0]?(ie+te)%2?oe:-oe:((ie%2?0:1)+te)%2?oe:-oe:(ie+te)%2?oe:-oe:ee[U+ie+te]}function simpleLayout(d){var b=d.coordinateSystem;if(!b||"view"===b.type){var x=d.getGraph();x.eachNode((function(d){var b=d.getModel();d.setLayout([+b.get("x"),+b.get("y")])})),simpleLayoutEdge(x,d)}}function simpleLayoutEdge(d,b){d.eachEdge((function(d,x){var T=H.Q(d.getModel().get(["lineStyle","curveness"]),-getCurvenessForEdge(d,b,x,!0),0),D=vector_clone(d.node1.getLayout()),z=vector_clone(d.node2.getLayout()),W=[D,z];+T&&W.push([(D[0]+z[0])/2-(D[1]-z[1])*T,(D[1]+z[1])/2-(z[0]-D[0])*T]),d.setLayout(W)}))}function graphSimpleLayout(d,b){d.eachSeriesByType("graph",(function(d){var b=d.get("layout"),x=d.coordinateSystem;if(x&&"view"!==x.type){var T=d.getData(),D=[];Object(H.k)(x.dimensions,(function(d){D=D.concat(T.mapDimensionsAll(d))}));for(var z=0;z<T.count();z++){for(var W=[],U=!1,Y=0;Y<D.length;Y++){var Z=T.get(D[Y],z);isNaN(Z)||(U=!0),W.push(Z)}U?T.setItemLayout(z,x.dataToPoint(W)):T.setItemLayout(z,[NaN,NaN])}simpleLayoutEdge(T.graph,d)}else b&&"none"!==b||simpleLayout(d)}))}function getNodeGlobalScale(d){var b=d.coordinateSystem;if("view"!==b.type)return 1;var x=d.option.nodeScaleRatio,T=b.scaleX;return((b.getZoom()-1)*x+1)/T}function getSymbolSize(d){var b=d.getVisual("symbolSize");return b instanceof Array&&(b=(b[0]+b[1])/2),+b}var Qf=Math.PI,eg=[];function circularLayout(d,b,x,T){var D=d.coordinateSystem;if(!D||"view"===D.type){var z=D.getBoundingRect(),W=d.getData(),U=W.graph,Y=z.width/2+z.x,Z=z.height/2+z.y,J=Math.min(z.width,z.height)/2,ee=W.count();if(W.setLayout({cx:Y,cy:Z}),ee){if(x){var te=D.pointToData(T),ne=te[0],ie=te[1],oe=[ne-Y,ie-Z];normalize(oe,oe),vector_scale(oe,oe,J),x.setLayout([Y+oe[0],Z+oe[1]],!0),rotateNodeLabel(x,d.get(["circular","rotateLabel"]),Y,Z)}tg[b](d,U,W,J,Y,Z,ee),U.eachEdge((function(b,x){var T,D=H.Q(b.getModel().get(["lineStyle","curveness"]),getCurvenessForEdge(b,d,x),0),z=vector_clone(b.node1.getLayout()),W=vector_clone(b.node2.getLayout()),U=(z[0]+W[0])/2,J=(z[1]+W[1])/2;+D&&(T=[Y*(D*=3)+U*(1-D),Z*D+J*(1-D)]),b.setLayout([z,W,T])}))}}}var tg={value:function(d,b,x,T,D,z,H){var W=0,U=x.getSum("value"),Y=2*Math.PI/(U||H);b.eachNode((function(d){var b=d.getValue("value"),x=Y*(U?b:1)/2;W+=x,d.setLayout([T*Math.cos(W)+D,T*Math.sin(W)+z]),W+=x}))},symbolSize:function(d,b,x,T,D,z,H){var W=0;eg.length=H;var U=getNodeGlobalScale(d);b.eachNode((function(d){var b=getSymbolSize(d);isNaN(b)&&(b=2),b<0&&(b=0),b*=U;var x=Math.asin(b/2/T);isNaN(x)&&(x=Qf/2),eg[d.dataIndex]=x,W+=2*x}));var Y=(2*Qf-W)/H/2,Z=0;b.eachNode((function(d){var b=Y+eg[d.dataIndex];Z+=b,(!d.getLayout()||!d.getLayout().fixed)&&d.setLayout([T*Math.cos(Z)+D,T*Math.sin(Z)+z]),Z+=b}))}};function rotateNodeLabel(d,b,x,T){var D=d.getGraphicEl();if(D){var z=d.getModel().get(["label","rotate"])||0,W=D.getSymbolPath();if(b){var U=d.getLayout(),Y=Math.atan2(U[1]-T,U[0]-x);Y<0&&(Y=2*Math.PI+Y);var Z=U[0]<x;Z&&(Y-=Math.PI);var J=Z?"left":"right";W.setTextConfig({rotation:-Y,position:J,origin:"center"});var ee=W.ensureState("emphasis");H.m(ee.textConfig||(ee.textConfig={}),{position:J})}else W.setTextConfig({rotation:z*=Math.PI/180})}}function graphCircularLayout(d){d.eachSeriesByType("graph",(function(d){"circular"===d.get("layout")&&circularLayout(d,"symbolSize")}))}var ng=scaleAndAdd;function graphForceLayout(d){d.eachSeriesByType("graph",(function(d){var b=d.coordinateSystem;if(!b||"view"===b.type)if("force"===d.get("layout")){var x=d.preservedPoints||{},T=d.getGraph(),D=T.data,z=T.edgeData,W=d.getModel("force"),U=W.get("initLayout");d.preservedPoints?D.each((function(d){var b=D.getId(d);D.setItemLayout(d,x[b]||[NaN,NaN])})):U&&"none"!==U?"circular"===U&&circularLayout(d,"value"):simpleLayout(d);var Y=D.getDataExtent("value"),Z=z.getDataExtent("value"),J=W.get("repulsion"),ee=W.get("edgeLength"),te=H.t(J)?J:[J,J],ne=H.t(ee)?ee:[ee,ee];ne=[ne[1],ne[0]];var ie=D.mapArray("value",(function(d,b){var x=D.getItemLayout(b),T=linearMap(d,Y,te);return isNaN(T)&&(T=(te[0]+te[1])/2),{w:T,rep:T,fixed:D.getItemModel(b).get("fixed"),p:!x||isNaN(x[0])||isNaN(x[1])?null:x}})),oe=z.mapArray("value",(function(b,x){var D=T.getEdgeByIndex(x),z=linearMap(b,Z,ne);isNaN(z)&&(z=(ne[0]+ne[1])/2);var W=D.getModel(),U=H.Q(D.getModel().get(["lineStyle","curveness"]),-getCurvenessForEdge(D,d,x,!0),0);return{n1:ie[D.node1.dataIndex],n2:ie[D.node2.dataIndex],d:z,curveness:U,ignoreForceLayout:W.get("ignoreForceLayout")}}
vendor: 5,447 bytes, line 808
808)),se=b.getBoundingRect(),le=function(d,b,x){for(var T=d,D=b,z=x.rect,H=z.width,W=z.height,U=[z.x+H/2,z.y+W/2],Y=null==x.gravity?.1:x.gravity,Z=0;Z<T.length;Z++){var J=T[Z];J.p||(J.p=vector_create(H*(Math.random()-.5)+U[0],W*(Math.random()-.5)+U[1])),J.pp=vector_clone(J.p),J.edges=null}var ee,te,ne=null==x.friction?.6:x.friction,ie=ne;return{warmUp:function(){ie=.8*ne},setFixed:function(d){T[d].fixed=!0},setUnfixed:function(d){T[d].fixed=!1},beforeStep:function(d){ee=d},afterStep:function(d){te=d},step:function(d){ee&&ee(T,D);for(var b=[],x=T.length,z=0;z<D.length;z++){var H=D[z];if(!H.ignoreForceLayout){var W=H.n1;vector_sub(b,(oe=H.n2).p,W.p);var Z=vector_len(b)-H.d,J=oe.w/(W.w+oe.w);isNaN(J)&&(J=0),normalize(b,b),!W.fixed&&ng(W.p,W.p,b,J*Z*ie),!oe.fixed&&ng(oe.p,oe.p,b,-(1-J)*Z*ie)}}for(z=0;z<x;z++){(ce=T[z]).fixed||(vector_sub(b,U,ce.p),ng(ce.p,ce.p,b,Y*ie))}for(z=0;z<x;z++){W=T[z];for(var ne=z+1;ne<x;ne++){var oe;vector_sub(b,(oe=T[ne]).p,W.p),0===(Z=vector_len(b))&&(set(b,Math.random()-.5,Math.random()-.5),Z=1);var se=(W.rep+oe.rep)/Z/Z;!W.fixed&&ng(W.pp,W.pp,b,se),!oe.fixed&&ng(oe.pp,oe.pp,b,-se)}}var le=[];for(z=0;z<x;z++){var ce;(ce=T[z]).fixed||(vector_sub(le,ce.p,ce.pp),ng(ce.p,ce.p,le,ie),vector_copy(ce.pp,ce.p))}var de=(ie*=.992)<.01;te&&te(T,D,de),d&&d(de)}}}(ie,oe,{rect:se,gravity:W.get("gravity"),friction:W.get("friction")});le.beforeStep((function(d,b){for(var x=0,D=d.length;x<D;x++)d[x].fixed&&vector_copy(d[x].p,T.getNodeByIndex(x).getLayout())})),le.afterStep((function(d,b,z){for(var H=0,W=d.length;H<W;H++)d[H].fixed||T.getNodeByIndex(H).setLayout(d[H].p),x[D.getId(H)]=d[H].p;for(H=0,W=b.length;H<W;H++){var U=b[H],Y=T.getEdgeByIndex(H),Z=U.n1.p,J=U.n2.p,ee=Y.getLayout();(ee=ee?ee.slice():[])[0]=ee[0]||[],ee[1]=ee[1]||[],vector_copy(ee[0],Z),vector_copy(ee[1],J),+U.curveness&&(ee[2]=[(Z[0]+J[0])/2-(Z[1]-J[1])*U.curveness,(Z[1]+J[1])/2-(J[0]-Z[0])*U.curveness]),Y.setLayout(ee)}})),d.forceLayout=le,d.preservedPoints=x,le.step()}else d.forceLayout=null}))}function createView_createViewCoordSys(d,b){var x=[];return d.eachSeriesByType("graph",(function(T){injectCoordSysByOption({targetModel:T,coordSysType:"view",coordSysProvider:function(){var D=T.getData(),z=D.mapArray((function(d){var b=D.getItemModel(d);return[+b.get("x"),+b.get("y")]})),W=[],U=[];fromPoints(z,W,U),U[0]-W[0]==0&&(U[0]+=1,W[0]-=1);U[1]-W[1]==0&&(U[1]+=1,W[1]-=1);var Y=(U[0]-W[0])/(U[1]-W[1]),Z=function(d,b,x){var T=createBoxLayoutReference(d,b),D=Object(H.m)(d.getBoxLayoutParams(),{aspect:x});return applyPreserveAspect(d,getLayoutRect(D,T.refContainer),x)}(T,b,Y);isNaN(Y)&&(W=[Z.x,Z.y],U=[Z.x+Z.width,Z.y+Z.height]);var J=U[0]-W[0],ee=U[1]-W[1],te=new ff(null,{api:b,ecModel:d});return te.zoomLimit=T.get("scaleLimit"),te.setBoundingRect(W[0],W[1],J,ee),te.setViewRect(Z.x,Z.y,Z.width,Z.height),te.setCenter(T.get("center")),te.setZoom(T.get("zoom")),x.push(te),te},isDefaultDataCoordSys:!0})})),x}var ig=js.prototype,rg=Fs.prototype,StraightLineShape=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1};!function(d){function CurveShape(){return null!==d&&d.apply(this,arguments)||this}__extends(CurveShape,d)}(StraightLineShape);function isStraightLine(d){return isNaN(+d.cpx1)||isNaN(+d.cpy1)}var og=function(d){function ECLinePath(b){var x=d.call(this,b)||this;return x.type="ec-line",x}return __extends(ECLinePath,d),ECLinePath.prototype.getDefaultStyle=function(){return{stroke:Fo.color.neutral99,fill:null}},ECLinePath.prototype.getDefaultShape=function(){return new StraightLineShape},ECLinePath.prototype.buildPath=function(d,b){isStraightLine(b)?ig.buildPath.call(this,d,b):rg.buildPath.call(this,d,b)},ECLinePath.prototype.pointAt=function(d){return isStraightLine(this.shape)?ig.pointAt.call(this,d):rg.pointAt.call(this,d)},ECLinePath.prototype.tangentAt=function(d){var b=this.shape,x=isStraightLine(b)?[b.x2-b.x1,b.y2-b.y1]:rg.tangentAt.call(this,d);return normalize(x,x)},ECLinePath}(cr),ag=["fromSymbol","toSymbol"];function makeSymbolTypeKey(d){return"_"+d+"Type"}function makeSymbolTypeValue(d,b,x){var T=b.getItemVisual(x,d);if(!T||"none"===T)return T;var D=b.getItemVisual(x,d+"Size"),z=b.getItemVisual(x,d+"Rotate"),H=b.getItemVisual(x,d+"Offset"),W=b.getItemVisual(x,d+"KeepAspect"),U=normalizeSymbolSize(D);return T+U+normalizeSymbolOffset(H||0,U)+(z||"")+(W||"")}function Line_createSymbol(d,b,x){var T=b.getItemVisual(x,d);if(T&&"none"!==T){var D=b.getItemVisual(x,d+"Size"),z=b.getItemVisual(x,d+"Rotate"),H=b.getItemVisual(x,d+"Offset"),W=b.getItemVisual(x,d+"KeepAspect"),U=normalizeSymbolSize(D),Y=normalizeSymbolOffset(H||0,U),Z=symbol_createSymbol(T,-U[0]/2+Y[0],-U[1]/2+Y[1],U[0],U[1],null,W);return Z.__specifiedRotation=null==z||isNaN(z)?void 0:+z*Math.PI/180||0,Z.name=d,Z}}function setLinePoints(d,b){d.x1=b[0][0],d.y1=b[0][1],d.x2=b[1][0],d.y2=b[1][1],d.percent=1;var x=b[2];x?(d.cpx1=x[0],d.cpy1=x[1]):(d.cpx1=NaN,d.cpy1=NaN)}var sg=function(d){function Line(b,x,T){var D=d.call(this)||this;return D._createLine(b,x,T),D}return __extends(Line,d),Line.prototype._createLine=function(d,b,x){var T=d.hostModel,D=d.getItemLayout(b),z=d.getItemVisual(b,"z2"),W=function(d){var b=new og({name:"line",subPixelOptimize:!0});return setLinePoints(b.shape,d),b}(D);W.shape.percent=0,initProps(W,{z2:Object(H.P)(z,0),shape:{percent:1}},T,b),this.add(W),Object(H.k)(ag,(function(x){var T=Line_createSymbol(x,d,b);this.add(T),this[makeSymbolTypeKey(x)]=makeSymbolTypeValue(x,d,b)}
vendor: 11,273 bytes, line 808
808),this),this._updateCommonStl(d,b,x)},Line.prototype.updateData=function(d,b,x){var T=d.hostModel,D=this.childOfName("line"),z=d.getItemLayout(b),W={shape:{}};setLinePoints(W.shape,z),updateProps(D,W,T,b),Object(H.k)(ag,(function(x){var T=makeSymbolTypeValue(x,d,b),D=makeSymbolTypeKey(x);if(this[D]!==T){this.remove(this.childOfName(x));var z=Line_createSymbol(x,d,b);this.add(z)}this[D]=T}),this),this._updateCommonStl(d,b,x)},Line.prototype.getLinePath=function(){return this.childAt(0)},Line.prototype._updateCommonStl=function(d,b,x){var T=d.hostModel,D=this.childOfName("line"),z=x&&x.emphasisLineStyle,W=x&&x.blurLineStyle,U=x&&x.selectLineStyle,Y=x&&x.labelStatesModels,Z=x&&x.emphasisDisabled,J=x&&x.focus,ee=x&&x.blurScope;if(!x||d.hasItemOption){var te=d.getItemModel(b),ne=te.getModel("emphasis");z=ne.getModel("lineStyle").getLineStyle(),W=te.getModel(["blur","lineStyle"]).getLineStyle(),U=te.getModel(["select","lineStyle"]).getLineStyle(),Z=ne.get("disabled"),J=ne.get("focus"),ee=ne.get("blurScope"),Y=getLabelStatesModels(te)}var ie=d.getItemVisual(b,"style"),oe=ie.stroke;D.useStyle(ie),D.style.fill=null,D.style.strokeNoScale=!0,D.ensureState("emphasis").style=z,D.ensureState("blur").style=W,D.ensureState("select").style=U,Object(H.k)(ag,(function(d){var b=this.childOfName(d);if(b){b.setColor(oe),b.style.opacity=ie.opacity;for(var x=0;x<Rr.length;x++){var T=Rr[x],z=D.getState(T);if(z){var H=z.style||{},W=b.ensureState(T),U=W.style||(W.style={});null!=H.stroke&&(U[b.__isEmptyBrush?"stroke":"fill"]=H.stroke),null!=H.opacity&&(U.opacity=H.opacity)}}b.markRedraw()}}),this);var se=T.getRawValue(b);setLabelStyle(this,Y,{labelDataIndex:b,labelFetcher:{getFormattedLabel:function(b,x){return T.getFormattedLabel(b,x,d.dataType)}},inheritColor:oe||Fo.color.neutral99,defaultOpacity:ie.opacity,defaultText:(null==se?d.getName(b):isFinite(se)?round(se):se)+""});var le=this.getTextContent();if(le){var ce=Y.normal;le.__align=le.style.align,le.__verticalAlign=le.style.verticalAlign,le.__position=ce.get("position")||"middle";var de=ce.get("distance");Object(H.t)(de)||(de=[de,de]),le.__labelDistance=de}this.setTextConfig({position:null,local:!0,inside:!1}),toggleHoverEmphasis(this,J,ee,Z)},Line.prototype.highlight=function(){enterEmphasis(this)},Line.prototype.downplay=function(){leaveEmphasis(this)},Line.prototype.updateLayout=function(d,b){this.setLinePoints(d.getItemLayout(b))},Line.prototype.setLinePoints=function(d){var b=this.childOfName("line");setLinePoints(b.shape,d),b.dirty()},Line.prototype.beforeUpdate=function(){var d=this.childOfName("fromSymbol"),b=this.childOfName("toSymbol"),x=this.getTextContent();if(d||b||x&&!x.ignore){for(var T=1,D=this.parent;D;)D.scaleX&&(T/=D.scaleX),D=D.parent;var z=this.childOfName("line");if(this.__dirty||z.__dirty){var H=z.shape.percent,W=z.pointAt(0),U=z.pointAt(H),Y=vector_sub([],U,W);if(normalize(Y,Y),d&&(d.setPosition(W),setSymbolRotation(d,0),d.scaleX=d.scaleY=T*H,d.markRedraw()),b&&(b.setPosition(U),setSymbolRotation(b,1),b.scaleX=b.scaleY=T*H,b.markRedraw()),x&&!x.ignore){x.x=x.y=0,x.originX=x.originY=0;var Z=void 0,J=void 0,ee=x.__labelDistance,te=ee[0]*T,ne=ee[1]*T,ie=H/2,oe=z.tangentAt(ie),se=[oe[1],-oe[0]],le=z.pointAt(ie);se[1]>0&&(se[0]=-se[0],se[1]=-se[1]);var ce=oe[0]<0?-1:1;if("start"!==x.__position&&"end"!==x.__position){var de=-Math.atan2(oe[1],oe[0]);U[0]<W[0]&&(de=Math.PI+de),x.rotation=de}var he=void 0;switch(x.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":he=-ne,J="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":he=ne,J="top";break;default:he=0,J="middle"}switch(x.__position){case"end":x.x=Y[0]*te+U[0],x.y=Y[1]*ne+U[1],Z=Y[0]>.8?"left":Y[0]<-.8?"right":"center",J=Y[1]>.8?"top":Y[1]<-.8?"bottom":"middle";break;case"start":x.x=-Y[0]*te+W[0],x.y=-Y[1]*ne+W[1],Z=Y[0]>.8?"right":Y[0]<-.8?"left":"center",J=Y[1]>.8?"bottom":Y[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":x.x=te*ce+W[0],x.y=W[1]+he,Z=oe[0]<0?"right":"left",x.originX=-te*ce,x.originY=-he;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":x.x=le[0],x.y=le[1]+he,Z="center",x.originY=-he;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":x.x=-te*ce+U[0],x.y=U[1]+he,Z=oe[0]>=0?"right":"left",x.originX=te*ce,x.originY=-he}x.scaleX=x.scaleY=T,x.setStyle({verticalAlign:x.__verticalAlign||J,align:x.__align||Z})}}}function setSymbolRotation(d,b){var x=d.__specifiedRotation;if(null==x){var T=z.tangentAt(b);d.attr("rotation",(1===b?-1:1)*Math.PI/2-Math.atan2(T[1],T[0]))}else d.attr("rotation",x)}},Line}(Xn);function LineDraw_makeSeriesScope(d){var b=d.hostModel,x=b.getModel("emphasis");return{lineStyle:b.getModel("lineStyle").getLineStyle(),emphasisLineStyle:x.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:b.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:b.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:x.get("disabled"),blurScope:x.get("blurScope"),focus:x.get("focus"),labelStatesModels:getLabelStatesModels(b)}}function isPointNaN(d){return isNaN(d[0])||isNaN(d[1])}function lineNeedsDraw(d){return d&&!isPointNaN(d[0])&&!isPointNaN(d[1])}var lg=function(){function LineDraw(d){this.group=new Xn,this._LineCtor=d||sg}return LineDraw.prototype.updateData=function(d){var b=this;this._progressiveEls=null;var x=this.group,T=this._lineData;this._lineData=d,T||x.removeAll();var D=LineDraw_makeSeriesScope(d);d.diff(T).add((function(x){b._doAdd(d,x,D)})).update((function(x,z){b._doUpdate(T,d,z,x,D)})).remove((function(d){x.remove(T.getItemGraphicEl(d))})).execute()},LineDraw.prototype.updateLayout=function(){var d=this._lineData;d&&d.eachItemGraphicEl((function(b,x){b.updateLayout(d,x)}),this)},LineDraw.prototype.incrementalPrepareUpdate=function(d){this._seriesScope=LineDraw_makeSeriesScope(d),this._lineData=null,this.group.removeAll()},LineDraw.prototype.incrementalUpdate=function(d,b){function updateIncrementalAndHover(d){d.isGroup||function(d){return d.animators&&d.animators.length>0}(d)||(d.incremental=!0,d.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[];for(var x=d.start;x<d.end;x++){if(lineNeedsDraw(b.getItemLayout(x))){var T=new this._LineCtor(b,x,this._seriesScope);T.traverse(updateIncrementalAndHover),this.group.add(T),b.setItemGraphicEl(x,T),this._progressiveEls.push(T)}}},LineDraw.prototype.remove=function(){this.group.removeAll()},LineDraw.prototype.eachRendered=function(d){traverseElements(this._progressiveEls||this.group,d)},LineDraw.prototype._doAdd=function(d,b,x){if(lineNeedsDraw(d.getItemLayout(b))){var T=new this._LineCtor(d,b,x);d.setItemGraphicEl(b,T),this.group.add(T)}},LineDraw.prototype._doUpdate=function(d,b,x,T,D){var z=d.getItemGraphicEl(x);lineNeedsDraw(b.getItemLayout(T))?(z?z.updateData(b,T,D):z=new this._LineCtor(b,T,D),b.setItemGraphicEl(T,z),this.group.add(z)):this.group.remove(z)},LineDraw}(),ug=[],cg=[],dg=[],hg=curve_quadraticAt,pg=distSquare,fg=Math.abs;function intersectCurveCircle(d,b,x){for(var T,D=d[0],z=d[1],H=d[2],W=1/0,U=x*x,Y=.1,Z=.1;Z<=.9;Z+=.1){ug[0]=hg(D[0],z[0],H[0],Z),ug[1]=hg(D[1],z[1],H[1],Z),(te=fg(pg(ug,b)-U))<W&&(W=te,T=Z)}for(var J=0;J<32;J++){var ee=T+Y;cg[0]=hg(D[0],z[0],H[0],T),cg[1]=hg(D[1],z[1],H[1],T),dg[0]=hg(D[0],z[0],H[0],ee),dg[1]=hg(D[1],z[1],H[1],ee);var te=pg(cg,b)-U;if(fg(te)<.01)break;var ne=pg(dg,b)-U;Y/=2,te<0?ne>=0?T+=Y:T-=Y:ne>=0?T-=Y:T+=Y}return T}function adjustEdge(d,b){var x=[],T=curve_quadraticSubdivide,D=[[],[],[]],z=[[],[]],H=[];b/=2,d.eachEdge((function(d,W){var U=d.getLayout(),Y=d.getVisual("fromSymbol"),Z=d.getVisual("toSymbol");U.__original||(U.__original=[vector_clone(U[0]),vector_clone(U[1])],U[2]&&U.__original.push(vector_clone(U[2])));var J=U.__original;if(null!=U[2]){if(vector_copy(D[0],J[0]),vector_copy(D[1],J[2]),vector_copy(D[2],J[1]),Y&&"none"!==Y){var ee=getSymbolSize(d.node1),te=intersectCurveCircle(D,J[0],ee*b);T(D[0][0],D[1][0],D[2][0],te,x),D[0][0]=x[3],D[1][0]=x[4],T(D[0][1],D[1][1],D[2][1],te,x),D[0][1]=x[3],D[1][1]=x[4]}if(Z&&"none"!==Z){ee=getSymbolSize(d.node2),te=intersectCurveCircle(D,J[1],ee*b);T(D[0][0],D[1][0],D[2][0],te,x),D[1][0]=x[1],D[2][0]=x[2],T(D[0][1],D[1][1],D[2][1],te,x),D[1][1]=x[1],D[2][1]=x[2]}vector_copy(U[0],D[0]),vector_copy(U[1],D[2]),vector_copy(U[2],D[1])}else{if(vector_copy(z[0],J[0]),vector_copy(z[1],J[1]),vector_sub(H,z[1],z[0]),normalize(H,H),Y&&"none"!==Y){ee=getSymbolSize(d.node1);scaleAndAdd(z[0],z[0],H,ee*b)}if(Z&&"none"!==Z){ee=getSymbolSize(d.node2);scaleAndAdd(z[1],z[1],H,-ee*b)}vector_copy(U[0],z[0]),vector_copy(U[1],z[1])}}))}var gg=makeInner();function injectThumbnailBridge(d,b){d&&(gg(d).bridge=b)}function isViewCoordSys(d){return"view"===d.type}var mg=function(d){function GraphView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=GraphView.type,b}return __extends(GraphView,d),GraphView.prototype.init=function(d,b){var x=new sd,T=new lg,D=this.group,z=new Xn;this._controller=new Dp(b.getZr()),this._controllerHost={target:z},z.add(x.group),z.add(T.group),D.add(z),this._symbolDraw=x,this._lineDraw=T,this._mainGroup=z,this._firstRender=!0},GraphView.prototype.render=function(d,b,x){var T=this,D=d.coordinateSystem,z=!1;this._model=d,this._api=x,this._active=!0;var H=this._getThumbnailInfo();H&&H.bridge.reset(x);var W=this._symbolDraw,U=this._lineDraw;if(isViewCoordSys(D)){var Y={x:D.x,y:D.y,scaleX:D.scaleX,scaleY:D.scaleY};this._firstRender?this._mainGroup.attr(Y):updateProps(this._mainGroup,Y,d)}adjustEdge(d.getGraph(),getNodeGlobalScale(d));var Z=d.getData();W.updateData(Z);var J=d.getEdgeData();U.updateData(J),this._updateNodeAndLinkScale(),this._updateController(null,d,x),clearTimeout(this._layoutTimeout);var ee=d.forceLayout,te=d.get(["force","layoutAnimation"]);ee&&(z=!0,this._startForceLayoutIteration(ee,x,te));var ne=d.get("layout");Z.graph.eachNode((function(b){var D=b.dataIndex,z=b.getGraphicEl(),H=b.getModel();if(z){z.off("drag").off("dragend");var W=H.get("draggable");W&&z.on("drag",(function(H){switch(ne){case"force":ee.warmUp(),!T._layouting&&T._startForceLayoutIteration(ee,x,te),ee.setFixed(D),Z.setItemLayout(D,[z.x,z.y]);break;case"circular":Z.setItemLayout(D,[z.x,z.y]),b.setLayout({fixed:!0},!0),circularLayout(d,"symbolSize",b,[H.offsetX,H.offsetY]),T.updateLayout(d);break;case"none":default:Z.setItemLayout(D,[z.x,z.y]),simpleLayoutEdge(d.getGraph(),d),T.updateLayout(d)}})).on("dragend",(function(){ee&&ee.setUnfixed(D)})),z.setDraggable(W,!!H.get("cursor")),"adjacency"===H.get(["emphasis","focus"])&&(Or(z).focus=b.getAdjacentDataIndices())}})),Z.graph.eachEdge((function(d){var b=d.getGraphicEl(),x=d.getModel().get(["emphasis","focus"]);b&&"adjacency"===x&&(Or(b).focus={edge:[d.dataIndex],node:[d.node1.dataIndex,d.node2.dataIndex]})}));var ie="circular"===d.get("layout")&&d.get(["circular","rotateLabel"]),oe=Z.getLayout("cx"),se=Z.getLayout("cy");Z.graph.eachNode((function(d){rotateNodeLabel(d,ie,oe,se)})),this._firstRender=!1,z||this._renderThumbnail(d,x,this._symbolDraw,this._lineDraw)},GraphView.prototype.dispose=function(){this.remove(),this._controller&&this._controller.dispose(),this._controllerHost=null},GraphView.prototype._startForceLayoutIteration=function(d,b,x){var T=this,D=!1;
808!function step(){d.step((function(d){T.updateLayout(T._model),!d&&D||(D=!0,T._renderThumbnail(T._model,b,T._symbolDraw,T._lineDraw)),(T._layouting=!d)&&(x?T._layoutTimeout=setTimeout(step,16):step())}))}()},GraphView.prototype._updateController=function(d,b,x){var T=this._controller,D=this._controllerHost,z=b.coordinateSystem;isViewCoordSys(z)?(T.enable(b.get("roam"),{api:x,zInfo:{component:b},triggerInfo:{roamTrigger:b.get("roamTrigger"),isInSelf:function(d,b,x){return z.containPoint([b,x])},isInClip:function(b,x,T){return!d||d.contain(x,T)}}}),D.zoomLimit=b.get("scaleLimit"),D.zoom=z.getZoom(),T.off("pan").off("zoom").on("pan",(function(d){x.dispatchAction({seriesId:b.id,type:"graphRoam",dx:d.dx,dy:d.dy})})).on("zoom",(function(d){x.dispatchAction({seriesId:b.id,type:"graphRoam",zoom:d.scale,originX:d.originX,originY:d.originY})}))):T.disable()},GraphView.prototype.updateViewOnPan=function(d,b,x){this._active&&(updateViewOnPan(this._controllerHost,x.dx,x.dy),this._updateThumbnailWindow())},GraphView.prototype.updateViewOnZoom=function(d,b,x){this._active&&(updateViewOnZoom(this._controllerHost,x.zoom,x.originX,x.originY),this._updateNodeAndLinkScale(),adjustEdge(d.getGraph(),getNodeGlobalScale(d)),this._lineDraw.updateLayout(),b.updateLabelLayout(),this._updateThumbnailWindow())},GraphView.prototype._updateNodeAndLinkScale=function(){var d=this._model,b=d.getData(),x=getNodeGlobalScale(d);
vendor: 9,249 bytes, line 808
808b.eachItemGraphicEl((function(d,b){d&&d.setSymbolScale(x)}))},GraphView.prototype.updateLayout=function(d){this._active&&(adjustEdge(d.getGraph(),getNodeGlobalScale(d)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout())},GraphView.prototype.remove=function(){this._active=!1,clearTimeout(this._layoutTimeout),this._layouting=!1,this._layoutTimeout=null,this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove(),this._controller&&this._controller.disable()},GraphView.prototype._getThumbnailInfo=function(){var d=this._model,b=d.coordinateSystem;if("view"===b.type){var x=function(d){if(d)return gg(d).bridge}(d);if(x)return{bridge:x,coordSys:b}}},GraphView.prototype._updateThumbnailWindow=function(){var d=this._getThumbnailInfo();d&&d.bridge.updateWindow(d.coordSys.transform,this._api)},GraphView.prototype._renderThumbnail=function(d,b,x,T){var D=this._getThumbnailInfo();if(D){var z=new Xn,W=x.group.children(),U=T.group.children(),Y=new Xn,Z=new Xn;z.add(Z),z.add(Y);for(var J=0;J<W.length;J++){var ee=(ce=W[J]).children()[0],te=ce.x,ne=ce.y,ie=Object(H.d)(ee.shape),oe=Object(H.m)(ie,{width:ee.scaleX,height:ee.scaleY,x:te-ee.scaleX/2,y:ne-ee.scaleY/2}),se=Object(H.d)(ee.style),le=new ee.constructor({shape:oe,style:se,z2:151});Z.add(le)}for(J=0;J<U.length;J++){var ce,de=(ce=U[J]).children()[0],he=(se=Object(H.d)(de.style),oe=Object(H.d)(de.shape),new og({style:se,shape:oe,z2:151}));Y.add(he)}D.bridge.renderContent({api:b,roamType:d.get("roam"),viewportRect:null,group:z,targetTrans:D.coordSys.transform})}},GraphView.type="graph",GraphView}(gl);function generateNodeKey(d){return"_EC_"+d}var yg=function(){function Graph(d){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=d||!1}return Graph.prototype.isDirected=function(){return this._directed},Graph.prototype.addNode=function(d,b){d=null==d?""+b:""+d;var x=this._nodesMap;if(!x[generateNodeKey(d)]){var T=new vg(d,b);return T.hostGraph=this,this.nodes.push(T),x[generateNodeKey(d)]=T,T}},Graph.prototype.getNodeByIndex=function(d){var b=this.data.getRawIndex(d);return this.nodes[b]},Graph.prototype.getNodeById=function(d){return this._nodesMap[generateNodeKey(d)]},Graph.prototype.addEdge=function(d,b,x){var T=this._nodesMap,D=this._edgesMap;if(H.z(d)&&(d=this.nodes[d]),H.z(b)&&(b=this.nodes[b]),d instanceof vg||(d=T[generateNodeKey(d)]),b instanceof vg||(b=T[generateNodeKey(b)]),d&&b){var z=d.id+"-"+b.id,W=new bg(d,b,x);return W.hostGraph=this,this._directed&&(d.outEdges.push(W),b.inEdges.push(W)),d.edges.push(W),d!==b&&b.edges.push(W),this.edges.push(W),D[z]=W,W}},Graph.prototype.getEdgeByIndex=function(d){var b=this.edgeData.getRawIndex(d);return this.edges[b]},Graph.prototype.getEdge=function(d,b){d instanceof vg&&(d=d.id),b instanceof vg&&(b=b.id);var x=this._edgesMap;return this._directed?x[d+"-"+b]:x[d+"-"+b]||x[b+"-"+d]},Graph.prototype.eachNode=function(d,b){for(var x=this.nodes,T=x.length,D=0;D<T;D++)x[D].dataIndex>=0&&d.call(b,x[D],D)},Graph.prototype.eachEdge=function(d,b){for(var x=this.edges,T=x.length,D=0;D<T;D++)x[D].dataIndex>=0&&x[D].node1.dataIndex>=0&&x[D].node2.dataIndex>=0&&d.call(b,x[D],D)},Graph.prototype.breadthFirstTraverse=function(d,b,x,T){if(b instanceof vg||(b=this._nodesMap[generateNodeKey(b)]),b){for(var D="out"===x?"outEdges":"in"===x?"inEdges":"edges",z=0;z<this.nodes.length;z++)this.nodes[z].__visited=!1;if(!d.call(T,b,null))for(var H=[b];H.length;){var W=H.shift(),U=W[D];for(z=0;z<U.length;z++){var Y=U[z],Z=Y.node1===W?Y.node2:Y.node1;if(!Z.__visited){if(d.call(T,Z,W))return;H.push(Z),Z.__visited=!0}}}}},Graph.prototype.update=function(){for(var d=this.data,b=this.edgeData,x=this.nodes,T=this.edges,D=0,z=x.length;D<z;D++)x[D].dataIndex=-1;for(D=0,z=d.count();D<z;D++)x[d.getRawIndex(D)].dataIndex=D;b.filterSelf((function(d){var x=T[b.getRawIndex(d)];return x.node1.dataIndex>=0&&x.node2.dataIndex>=0}));for(D=0,z=T.length;D<z;D++)T[D].dataIndex=-1;for(D=0,z=b.count();D<z;D++)T[b.getRawIndex(D)].dataIndex=D},Graph.prototype.clone=function(){for(var d=new Graph(this._directed),b=this.nodes,x=this.edges,T=0;T<b.length;T++)d.addNode(b[T].id,b[T].dataIndex);for(T=0;T<x.length;T++){var D=x[T];d.addEdge(D.node1.id,D.node2.id,D.dataIndex)}return d},Graph}(),vg=function(){function GraphNode(d,b){this.inEdges=[],this.outEdges=[],this.edges=[],this.dataIndex=-1,this.id=null==d?"":d,this.dataIndex=null==b?-1:b}return GraphNode.prototype.degree=function(){return this.edges.length},GraphNode.prototype.inDegree=function(){return this.inEdges.length},GraphNode.prototype.outDegree=function(){return this.outEdges.length},GraphNode.prototype.getModel=function(d){if(!(this.dataIndex<0))return this.hostGraph.data.getItemModel(this.dataIndex).getModel(d)},GraphNode.prototype.getAdjacentDataIndices=function(){for(var d={edge:[],node:[]},b=0;b<this.edges.length;b++){var x=this.edges[b];x.dataIndex<0||(d.edge.push(x.dataIndex),d.node.push(x.node1.dataIndex,x.node2.dataIndex))}return d},GraphNode.prototype.getTrajectoryDataIndices=function(){for(var d=H.f(),b=H.f(),x=0,T=this.edges.length;x<T;x++){var D=this.edges[x];if(!(D.dataIndex<0)){d.set(D.dataIndex,!0);for(var z=[D.node1],W=[D.node2],U=0;U<z.length;){var Y=z[U];U++,b.set(Y.dataIndex,!0);for(var Z=Y.inEdges,J=0,ee=Z.length,te=void 0,ne=void 0;J<ee;J++)(ne=(te=Z[J]).dataIndex)>=0&&!d.hasKey(ne)&&(d.set(ne,!0),z.push(te.node1))}for(U=0;U<W.length;){var ie=W[U];U++,b.set(ie.dataIndex,!0);for(var oe=ie.outEdges,se=(J=0,oe.length),le=void 0,ce=void 0;J<se;J++)(ce=(le=oe[J]).dataIndex)>=0&&!d.hasKey(ce)&&(d.set(ce,!0),W.push(le.node2))}}}return{edge:d.keys(),node:b.keys()}},GraphNode}(),bg=function(){function GraphEdge(d,b,x){this.dataIndex=-1,this.node1=d,this.node2=b,this.dataIndex=null==x?-1:x}return GraphEdge.prototype.getModel=function(d){if(!(this.dataIndex<0))return this.hostGraph.edgeData.getItemModel(this.dataIndex).getModel(d)},GraphEdge.prototype.getAdjacentDataIndices=function(){return{edge:[this.dataIndex],node:[this.node1.dataIndex,this.node2.dataIndex]}},GraphEdge.prototype.getTrajectoryDataIndices=function(){var d=H.f(),b=H.f();d.set(this.dataIndex,!0);for(var x=[this.node1],T=[this.node2],D=0;D<x.length;){var z=x[D];D++,b.set(z.dataIndex,!0);for(var W=0,U=z.inEdges.length,Y=void 0,Z=void 0;W<U;W++)(Z=(Y=z.inEdges[W]).dataIndex)>=0&&!d.hasKey(Z)&&(d.set(Z,!0),x.push(Y.node1))}for(D=0;D<T.length;){var J=T[D];D++,b.set(J.dataIndex,!0);W=0,U=J.outEdges.length;for(var ee=void 0,te=void 0;W<U;W++)(te=(ee=J.outEdges[W]).dataIndex)>=0&&!d.hasKey(te)&&(d.set(te,!0),T.push(ee.node2))}return{edge:d.keys(),node:b.keys()}},GraphEdge}();function createGraphDataProxyMixin(d,b){return{getValue:function(x){var T=this[d][b];return T.getStore().get(T.getDimensionIndex(x||"value"),this.dataIndex)},setVisual:function(x,T){this.dataIndex>=0&&this[d][b].setItemVisual(this.dataIndex,x,T)},getVisual:function(x){return this[d][b].getItemVisual(this.dataIndex,x)},setLayout:function(x,T){this.dataIndex>=0&&this[d][b].setItemLayout(this.dataIndex,x,T)},getLayout:function(){return this[d][b].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[d][b].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[d][b].getRawIndex(this.dataIndex)}}}H.K(vg,createGraphDataProxyMixin("hostGraph","data")),H.K(bg,createGraphDataProxyMixin("hostGraph","edgeData"));var xg=yg;function createGraphFromNodeEdge(d,b,x,T,D){for(var z=new xg(T),W=0;W<d.length;W++)z.addNode(H.O(d[W].id,d[W].name,W),W);var U=[],Y=[],Z=0;for(W=0;W<b.length;W++){var J=b[W],ee=J.source,te=J.target;z.addEdge(ee,te,Z)&&(Y.push(J),U.push(H.O(convertOptionIdName(J.id,null),ee+" > "+te)),Z++)}var ne,ie=x.get("coordinateSystem");if("cartesian2d"===ie||"polar"===ie||"matrix"===ie)ne=helper_createSeriesData(d,x);else{var oe=Ao.get(ie),se=oe&&oe.dimensions||[];H.r(se,"value")<0&&se.concat(["value"]);var le=prepareSeriesDataSchema(d,{coordDimensions:se,encodeDefine:x.getEncode()}).dimensions;(ne=new id(le,x)).initData(d)}var ce=new id(["value"],x);return ce.initData(Y,U),D&&D(ne,ce),helper_linkSeriesData({mainData:ne,struct:z,structAttr:"graph",datas:{node:ne,edge:ce},datasAttr:{node:"data",edge:"edgeData"}}),z.update(),z}var _g=function(d){function GraphSeriesModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=GraphSeriesModel.type,b.hasSymbolVisual=!0,b}return __extends(GraphSeriesModel,d),GraphSeriesModel.prototype.init=function(b){d.prototype.init.apply(this,arguments);var x=this;function getCategoriesData(){return x._categoriesData}this.legendVisualProvider=new Hd(getCategoriesData,getCategoriesData),this.fillDataTextStyle(b.edges||b.links),this._updateCategoriesData()},GraphSeriesModel.prototype.mergeOption=function(b){d.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(b.edges||b.links),this._updateCategoriesData()},GraphSeriesModel.prototype.mergeDefaultAndTheme=function(b){d.prototype.mergeDefaultAndTheme.apply(this,arguments),defaultEmphasis(b,"edgeLabel",["show"])},GraphSeriesModel.prototype.getInitialData=function(d,b){var x,T=d.edges||d.links||[],D=d.data||d.nodes||[],z=this;if(D&&T){getAutoCurvenessParams(x=this)&&(x.__curvenessList=[],x.__edgeMap={},multipleGraphEdgeHelper_createCurveness(x));
808var W=createGraphFromNodeEdge(D,T,this,!0,(function(d,b){d.wrapMethod("getItemModel",(function(d){var b=z._categoriesModels[d.getShallow("category")];return b&&(b.parentModel=d.parentModel,d.parentModel=b),d}));var x=oo.prototype.getModel;function newGetModel(d,b){var T=x.call(this,d,b);return T.resolveParentPath=resolveParentPath,T}function resolveParentPath(d){if(d&&("label"===d[0]||"label"===d[1])){var b=d.slice();return"label"===d[0]?b[0]="edgeLabel":"label"===d[1]&&(b[1]="edgeLabel"),b}return d}b.wrapMethod("getItemModel",(function(d){return d.resolveParentPath=resolveParentPath,d.getModel=newGetModel,d}))}));return H.k(W.edges,(function(d){!function(d,b,x,T){if(getAutoCurvenessParams(x)){var D=getKeyOfEdges(d,b,x),z=x.__edgeMap,H=z[getOppositeKey(D)];z[D]&&!H?z[D].isForward=!0:H&&z[D]&&(H.isForward=!0,z[D].isForward=!1),z[D]=z[D]||[],z[D].push(T)}}(d.node1,d.node2,this,d.dataIndex)}),this),W.data}},GraphSeriesModel.prototype.getGraph=function(){return this.getData().graph},GraphSeriesModel.prototype.getEdgeData=function(){return this.getGraph().edgeData},GraphSeriesModel.prototype.getCategoriesData=function(){return this._categoriesData},GraphSeriesModel.prototype.formatTooltip=function(d,b,x){if("edge"===x){var T=this.getData(),D=this.getDataParams(d,x),z=T.graph.getEdgeByIndex(d),H=T.getName(z.node1.dataIndex),W=T.getName(z.node2.dataIndex),U=[];return null!=H&&U.push(H),null!=W&&U.push(W),createTooltipMarkup("nameValue",{name:U.join(" > "),value:D.value,noValue:null==D.value})}return defaultSeriesFormatTooltip({series:this,dataIndex:d,multipleSeries:b})},GraphSeriesModel.prototype._updateCategoriesData=function(){var d=H.H(this.option.categories||[],(function(d){return null!=d.value?d:H.m({value:0},d)})),b=new id(["value"],this);b.initData(d),this._categoriesData=b,this._categoriesModels=b.mapArray((function(d){return b.getItemModel(d)}))},GraphSeriesModel.prototype.setZoom=function(d){this.option.zoom=d},GraphSeriesModel.prototype.setCenter=function(d){this.option.center=d},GraphSeriesModel.prototype.isAnimationEnabled=function(){return d.prototype.isAnimationEnabled.call(this)&&!("force"===this.get("layout")&&this.get(["force","layoutAnimation"]))},GraphSeriesModel.type="series.graph",GraphSeriesModel.dependencies=["grid","polar","geo","singleAxis","calendar"],GraphSeriesModel.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:Fo.color.neutral50,width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:Fo.color.primary}}},GraphSeriesModel}(es);var wg=function(d){function ChordPiece(b,x,T){var D=d.call(this)||this;Or(D).dataType="node",D.z2=2;var z=new Pr;return D.setTextContent(z),D.updateData(b,x,T,!0),D}return __extends(ChordPiece,d),ChordPiece.prototype.updateData=function(d,b,x,T){var D=d.graph.getNodeByIndex(b),z=d.hostModel,W=D.getModel(),U=W.getModel("emphasis"),Y=d.getItemLayout(b),Z=Object(H.m)(getSectorCornerRadius(W.getModel("itemStyle"),Y,!0),Y),J=this;if(isNaN(Z.startAngle))J.setShape(Z);else{T?J.setShape(Z):updateProps(J,{shape:Z},z,b);var ee=Object(H.m)(getSectorCornerRadius(W.getModel("itemStyle"),Y,!0),Y);this.setShape(ee),this.useStyle(d.getItemVisual(b,"style")),setStatesStylesFromModel(this,W),this._updateLabel(z,W,D),d.setItemGraphicEl(b,J),setStatesStylesFromModel(J,W,"itemStyle");var te=U.get("focus");toggleHoverEmphasis(this,"adjacency"===te?D.getAdjacentDataIndices():te,U.get("blurScope"),U.get("disabled"))}},ChordPiece.prototype._updateLabel=function(d,b,x){var T=this.getTextContent(),D=x.getLayout(),z=(D.startAngle+D.endAngle)/2,W=Math.cos(z),U=Math.sin(z),Y=b.getModel("label");T.ignore=!Y.get("show");var Z=getLabelStatesModels(b),J=x.getVisual("style");setLabelStyle(T,Z,{labelFetcher:{getFormattedLabel:function(x,T,D,z,W,U){return d.getFormattedLabel(x,T,"node",z,Object(H.Q)(W,Z.normal&&Z.normal.get("formatter"),b.get("name")),U)}},labelDataIndex:x.dataIndex,defaultText:x.dataIndex+"",inheritColor:J.fill,defaultOpacity:J.opacity,defaultOutsidePosition:"startArc"});var ee,te=Y.get("position")||"outside",ne=Y.get("distance")||0;ee="outside"===te?D.r+ne:(D.r+D.r0)/2,this.textConfig={inside:"outside"!==te};var ie="outside"!==te?Y.get("align")||"center":W>0?"left":"right",oe="outside"!==te?Y.get("verticalAlign")||"middle":U>0?"top":"bottom";T.attr({x:W*ee+D.cx,y:U*ee+D.cy,rotation:0,style:{align:ie,verticalAlign:oe}})},ChordPiece}
vendor: 8,785 bytes, line 808
808(Ps),Sg=function(d){function ChordEdge(b,x,T,D){var z=d.call(this)||this;return Or(z).dataType="edge",z.updateData(b,x,T,D,!0),z}return __extends(ChordEdge,d),ChordEdge.prototype.buildPath=function(d,b){d.moveTo(b.s1[0],b.s1[1]);var x=b.clockwise;d.arc(b.cx,b.cy,b.r,b.sStartAngle,b.sEndAngle,!x),d.bezierCurveTo(.7*(b.cx-b.s2[0])+b.s2[0],.7*(b.cy-b.s2[1])+b.s2[1],.7*(b.cx-b.t1[0])+b.t1[0],.7*(b.cy-b.t1[1])+b.t1[1],b.t1[0],b.t1[1]),d.arc(b.cx,b.cy,b.r,b.tStartAngle,b.tEndAngle,!x),d.bezierCurveTo(.7*(b.cx-b.t2[0])+b.t2[0],.7*(b.cy-b.t2[1])+b.t2[1],.7*(b.cx-b.s1[0])+b.s1[0],.7*(b.cy-b.s1[1])+b.s1[1],b.s1[0],b.s1[1]),d.closePath()},ChordEdge.prototype.updateData=function(d,b,x,T,D){var z=d.hostModel,W=b.graph.getEdgeByIndex(x),U=W.getLayout(),Y=W.node1.getModel(),Z=b.getItemModel(W.dataIndex),J=Z.getModel("lineStyle"),ee=Z.getModel("emphasis"),te=ee.get("focus"),ne=Object(H.m)(getSectorCornerRadius(Y.getModel("itemStyle"),U,!0),U),ie=this;isNaN(ne.sStartAngle)||isNaN(ne.tStartAngle)?ie.setShape(ne):(D?(ie.setShape(ne),applyEdgeFill(ie,W,d,J)):(saveOldStyle(ie),applyEdgeFill(ie,W,d,J),updateProps(ie,{shape:ne},z,x)),toggleHoverEmphasis(this,"adjacency"===te?W.getAdjacentDataIndices():te,ee.get("blurScope"),ee.get("disabled")),setStatesStylesFromModel(ie,Z,"lineStyle"),b.setItemGraphicEl(W.dataIndex,ie))},ChordEdge}(cr);function applyEdgeFill(d,b,x,T){var D=b.node1,z=b.node2,W=d.style;switch(d.setStyle(T.getLineStyle()),T.get("color")){case"source":W.fill=x.getItemVisual(D.dataIndex,"style").fill,W.decal=D.getVisual("style").decal;break;case"target":W.fill=x.getItemVisual(z.dataIndex,"style").fill,W.decal=z.getVisual("style").decal;break;case"gradient":var U=x.getItemVisual(D.dataIndex,"style").fill,Y=x.getItemVisual(z.dataIndex,"style").fill;if(Object(H.C)(U)&&Object(H.C)(Y)){var Z=d.shape,J=(Z.s1[0]+Z.s2[0])/2,ee=(Z.s1[1]+Z.s2[1])/2,te=(Z.t1[0]+Z.t2[0])/2,ne=(Z.t1[1]+Z.t2[1])/2;W.fill=new Us(J,ee,te,ne,[{offset:0,color:U},{offset:1,color:Y}],!0)}}}var Mg=Math.PI/180,Cg=function(d){function ChordView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=ChordView.type,b}return __extends(ChordView,d),ChordView.prototype.init=function(d,b){},ChordView.prototype.render=function(d,b,x){var T=d.getData(),D=this._data,z=this.group,H=-d.get("startAngle")*Mg;if(T.diff(D).add((function(d){if(T.getItemLayout(d)){var b=new wg(T,d,H);Or(b).dataIndex=d,z.add(b)}})).update((function(b,x){var W=D.getItemGraphicEl(x);T.getItemLayout(b)?(W?W.updateData(T,b,H):W=new wg(T,b,H),z.add(W)):W&&removeElementWithFadeOut(W,d,x)})).remove((function(b){var x=D.getItemGraphicEl(b);x&&removeElementWithFadeOut(x,d,b)})).execute(),!D){var W=d.get("center");this.group.scaleX=.01,this.group.scaleY=.01,this.group.originX=number_parsePercent(W[0],x.getWidth()),this.group.originY=number_parsePercent(W[1],x.getHeight()),initProps(this.group,{scaleX:1,scaleY:1},d)}this._data=T,this.renderEdges(d,H)},ChordView.prototype.renderEdges=function(d,b){var x=d.getData(),T=d.getEdgeData(),D=this._edgeData,z=this.group;T.diff(D).add((function(d){var D=new Sg(x,T,d,b);Or(D).dataIndex=d,z.add(D)})).update((function(d,H){var W=D.getItemGraphicEl(H);W.updateData(x,T,d,b),z.add(W)})).remove((function(b){var x=D.getItemGraphicEl(b);x&&removeElementWithFadeOut(x,d,b)})).execute(),this._edgeData=T},ChordView.prototype.dispose=function(){},ChordView.type="chord",ChordView}(gl),Tg=function(d){function ChordSeriesModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=ChordSeriesModel.type,b}return __extends(ChordSeriesModel,d),ChordSeriesModel.prototype.init=function(b){d.prototype.init.apply(this,arguments),this.fillDataTextStyle(b.edges||b.links),this.legendVisualProvider=new Hd(H.c(this.getData,this),H.c(this.getRawData,this))},ChordSeriesModel.prototype.mergeOption=function(b){d.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(b.edges||b.links)},ChordSeriesModel.prototype.getInitialData=function(d,b){var x=d.edges||d.links||[],T=d.data||d.nodes||[];if(T&&x)return createGraphFromNodeEdge(T,x,this,!0,(function(d,b){var x=oo.prototype.getModel;function newGetModel(d,b){var T=x.call(this,d,b);return T.resolveParentPath=resolveParentPath,T}function resolveParentPath(d){if(d&&("label"===d[0]||"label"===d[1])){var b=d.slice();return"label"===d[0]?b[0]="edgeLabel":"label"===d[1]&&(b[1]="edgeLabel"),b}return d}b.wrapMethod("getItemModel",(function(d){return d.resolveParentPath=resolveParentPath,d.getModel=newGetModel,d}))})).data},ChordSeriesModel.prototype.getGraph=function(){return this.getData().graph},ChordSeriesModel.prototype.getEdgeData=function(){return this.getGraph().edgeData},ChordSeriesModel.prototype.formatTooltip=function(d,b,x){var T=this.getDataParams(d,x);if("edge"===x){var D=this.getData(),z=D.graph.getEdgeByIndex(d),H=D.getName(z.node1.dataIndex),W=D.getName(z.node2.dataIndex),U=[];return null!=H&&U.push(H),null!=W&&U.push(W),createTooltipMarkup("nameValue",{name:U.join(" > "),value:T.value,noValue:null==T.value})}return createTooltipMarkup("nameValue",{name:T.name,value:T.value,noValue:null==T.value})},ChordSeriesModel.prototype.getDataParams=function(b,x){var T=d.prototype.getDataParams.call(this,b,x);if("node"===x){var D=this.getData(),z=this.getGraph().getNodeByIndex(b);if(null==T.name&&(T.name=D.getName(b)),null==T.value){var H=z.getLayout().value;T.value=H}}return T},ChordSeriesModel.type="series.chord",ChordSeriesModel.defaultOption={z:2,coordinateSystem:"none",legendHoverLink:!0,colorBy:"data",left:0,top:0,right:0,bottom:0,width:null,height:null,center:["50%","50%"],radius:["70%","80%"],clockwise:!0,startAngle:90,endAngle:"auto",minAngle:0,padAngle:3,itemStyle:{borderRadius:[0,0,5,5]},lineStyle:{width:0,color:"source",opacity:.2},label:{show:!0,position:"outside",distance:5},emphasis:{focus:"adjacency",lineStyle:{opacity:.5}}},ChordSeriesModel}(es),kg=Math.PI/180;function chordCircularLayout(d,b){d.eachSeriesByType("chord",(function(d){!function(d,b){var x=d.getData(),T=x.graph,D=d.getEdgeData();if(!D.count())return;var z=getCircleLayout(d,b),H=z.cx,W=z.cy,U=z.r,Y=z.r0,Z=Math.max((d.get("padAngle")||0)*kg,0),J=Math.max((d.get("minAngle")||0)*kg,0),ee=-d.get("startAngle")*kg,te=ee+2*Math.PI,ne=d.get("clockwise"),ie=ne?1:-1,oe=[ee,te];normalizeArcAngles(oe,!ne);var se=oe[0],le=oe[1]-se,ce=0===x.getSum("value")&&0===D.getSum("value"),de=[],he=0;T.eachEdge((function(d){var b=ce?1:d.getValue("value");ce&&(b>0||J)&&(he+=2);var x=d.node1.dataIndex,T=d.node2.dataIndex;de[x]=(de[x]||0)+b,de[T]=(de[T]||0)+b}));var pe=0;if(T.eachNode((function(d){var b=d.getValue("value");isNaN(b)||(de[d.dataIndex]=Math.max(b,de[d.dataIndex]||0)),!ce&&(de[d.dataIndex]>0||J)&&he++,pe+=de[d.dataIndex]||0})),0===he||0===pe)return;Z*he>=Math.abs(le)&&(Z=Math.max(0,(Math.abs(le)-J*he)/he));(Z+J)*he>=Math.abs(le)&&(J=(Math.abs(le)-Z*he)/he);var fe=(le-Z*he*ie)/pe,ge=0,me=0,ye=0,ve=1/0;T.eachNode((function(d){var b=de[d.dataIndex]||0,x=fe*(pe?b:1)*ie;Math.abs(x)<J?ge+=J-Math.abs(x):(ve=Math.min(ve,Math.abs(x)-J),me+=Math.abs(x)-J,ye+=Math.abs(x)),d.setLayout({angle:x,value:b})}));var xe=!1;if(ge>me){var _e=ge/me;T.eachNode((function(d){var b=d.getLayout().angle;Math.abs(b)>=J?d.setLayout({angle:b*_e,ratio:_e},!0):d.setLayout({angle:J,ratio:0===J?1:b/J},!0)}))}else T.eachNode((function(d){if(!xe){var b=d.getLayout().angle;b-Math.min(b/ye,1)*ge<J&&(xe=!0)}}));var we=ge;T.eachNode((function(d){if(!(we<=0)){var b=d.getLayout().angle;if(b>J&&J>0){var x=xe?1:Math.min(b/ye,1),T=b-J,D=Math.min(T,Math.min(we,ge*x));we-=D,d.setLayout({angle:b-D,ratio:(b-D)/b},!0)}else J>0&&d.setLayout({angle:J,ratio:0===b?1:J/b},!0)}}));var Se=se,Me=[];T.eachNode((function(d){var b=Math.max(d.getLayout().angle,J);d.setLayout({cx:H,cy:W,r0:Y,r:U,startAngle:Se,endAngle:Se+b*ie,clockwise:ne},!0),Me[d.dataIndex]=Se,Se+=(b+Z)*ie})),T.eachEdge((function(d){var b=ce?1:d.getValue("value"),x=fe*(pe?b:1)*ie,T=d.node1.dataIndex,D=Me[T]||0,z=D+Math.abs((d.node1.getLayout().ratio||1)*x)*ie,U=[H+Y*Math.cos(D),W+Y*Math.sin(D)],Z=[H+Y*Math.cos(z),W+Y*Math.sin(z)],J=d.node2.dataIndex,ee=Me[J]||0,te=ee+Math.abs((d.node2.getLayout().ratio||1)*x)*ie,oe=[H+Y*Math.cos(ee),W+Y*Math.sin(ee)],se=[H+Y*Math.cos(te),W+Y*Math.sin(te)];d.setLayout({s1:U,s2:Z,sStartAngle:D,sEndAngle:z,t1:oe,t2:se,tStartAngle:ee,tEndAngle:te,cx:H,cy:W,r:Y,value:b,clockwise:ne}),Me[T]=z,Me[J]=te}))}(d,b)}))}var PointerShape=function(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0},Ag=function(d){function PointerPath(b){var x=d.call(this,b)||this;return x.type="pointer",x}return __extends(PointerPath,d),PointerPath.prototype.getDefaultShape=function(){return new PointerShape},PointerPath.prototype.buildPath=function(d,b){var x=Math.cos,T=Math.sin,D=b.r,z=b.width,H=b.angle,W=b.x-x(H)*z*(z>=D/3?1:2),U=b.y-T(H)*z*(z>=D/3?1:2);
vendor: 8,860 bytes, line 808
808H=b.angle-Math.PI/2,d.moveTo(W,U),d.lineTo(b.x+x(H)*z,b.y+T(H)*z),d.lineTo(b.x+x(b.angle)*D,b.y+T(b.angle)*D),d.lineTo(b.x-x(H)*z,b.y-T(H)*z),d.lineTo(W,U)},PointerPath}(cr);function formatLabel(d,b){var x=null==d?"":d+"";return b&&(Object(H.C)(b)?x=b.replace("{value}",x):Object(H.w)(b)&&(x=b(d))),x}var Pg=function(d){function GaugeView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=GaugeView.type,b}return __extends(GaugeView,d),GaugeView.prototype.render=function(d,b,x){this.group.removeAll();var T=d.get(["axisLine","lineStyle","color"]),D=function(d,b){var x=d.get("center"),T=b.getWidth(),D=b.getHeight(),z=Math.min(T,D);return{cx:number_parsePercent(x[0],b.getWidth()),cy:number_parsePercent(x[1],b.getHeight()),r:number_parsePercent(d.get("radius"),z/2)}}(d,x);this._renderMain(d,b,x,T,D),this._data=d.getData()},GaugeView.prototype.dispose=function(){},GaugeView.prototype._renderMain=function(d,b,x,T,D){var z=this.group,W=d.get("clockwise"),U=-d.get("startAngle")/180*Math.PI,Y=-d.get("endAngle")/180*Math.PI,Z=d.getModel("axisLine"),J=Z.get("roundCap")?xd:Ps,ee=Z.get("show"),te=Z.getModel("lineStyle"),ne=te.get("width"),ie=[U,Y];normalizeArcAngles(ie,!W);for(var oe=(Y=ie[1])-(U=ie[0]),se=U,le=[],ce=0;ee&&ce<T.length;ce++){var de=new J({shape:{startAngle:se,endAngle:Y=U+oe*Math.min(Math.max(T[ce][0],0),1),cx:D.cx,cy:D.cy,clockwise:W,r0:D.r-ne,r:D.r},silent:!0});de.setStyle({fill:T[ce][1]}),de.setStyle(te.getLineStyle(["color","width"])),le.push(de),se=Y}le.reverse(),Object(H.k)(le,(function(d){return z.add(d)}));var getColor=function(d){if(d<=0)return T[0][1];var b;for(b=0;b<T.length;b++)if(T[b][0]>=d&&(0===b?0:T[b-1][0])<d)return T[b][1];return T[b-1][1]};this._renderTicks(d,b,x,getColor,D,U,Y,W,ne),this._renderTitleAndDetail(d,b,x,getColor,D),this._renderAnchor(d,D),this._renderPointer(d,b,x,getColor,D,U,Y,W,ne)},GaugeView.prototype._renderTicks=function(d,b,x,T,D,z,W,U,Y){for(var Z,J,ee=this.group,te=D.cx,ne=D.cy,ie=D.r,oe=+d.get("min"),se=+d.get("max"),le=d.getModel("splitLine"),ce=d.getModel("axisTick"),de=d.getModel("axisLabel"),he=d.get("splitNumber"),pe=ce.get("splitNumber"),fe=number_parsePercent(le.get("length"),ie),ge=number_parsePercent(ce.get("length"),ie),me=z,ye=(W-z)/he,ve=ye/pe,xe=le.getModel("lineStyle").getLineStyle(),_e=ce.getModel("lineStyle").getLineStyle(),we=le.get("distance"),Se=0;Se<=he;Se++){if(Z=Math.cos(me),J=Math.sin(me),le.get("show")){var Me=new js({shape:{x1:Z*(ie-(Te=we?we+Y:Y))+te,y1:J*(ie-Te)+ne,x2:Z*(ie-fe-Te)+te,y2:J*(ie-fe-Te)+ne},style:xe,silent:!0});"auto"===xe.stroke&&Me.setStyle({stroke:T(Se/he)}),ee.add(Me)}if(de.get("show")){var Te=de.get("distance")+we,ke=formatLabel(round(Se/he*(se-oe)+oe),de.get("formatter")),Pe=T(Se/he),Ee=Z*(ie-fe-Te)+te,Le=J*(ie-fe-Te)+ne,Ne=de.get("rotate"),Ve=0;"radial"===Ne?(Ve=-me+2*Math.PI)>Math.PI/2&&(Ve+=Math.PI):"tangential"===Ne?Ve=-me-Math.PI/2:Object(H.z)(Ne)&&(Ve=Ne*Math.PI/180),0===Ve?ee.add(new Pr({style:createTextStyle(de,{text:ke,x:Ee,y:Le,verticalAlign:J<-.8?"top":J>.8?"bottom":"middle",align:Z<-.4?"left":Z>.4?"right":"center"},{inheritColor:Pe}),silent:!0})):ee.add(new Pr({style:createTextStyle(de,{text:ke,x:Ee,y:Le,verticalAlign:"middle",align:"center"},{inheritColor:Pe}),silent:!0,originX:Ee,originY:Le,rotation:Ve}))}if(ce.get("show")&&Se!==he){Te=(Te=ce.get("distance"))?Te+Y:Y;for(var Fe=0;Fe<=pe;Fe++){Z=Math.cos(me),J=Math.sin(me);var Ge=new js({shape:{x1:Z*(ie-Te)+te,y1:J*(ie-Te)+ne,x2:Z*(ie-ge-Te)+te,y2:J*(ie-ge-Te)+ne},silent:!0,style:_e});"auto"===_e.stroke&&Ge.setStyle({stroke:T((Se+Fe/pe)/he)}),ee.add(Ge),me+=ve}me-=ve}else me+=ye}},GaugeView.prototype._renderPointer=function(d,b,x,T,D,z,W,U,Y){var Z=this.group,J=this._data,ee=this._progressEls,te=[],ne=d.get(["pointer","show"]),ie=d.getModel("progress"),oe=ie.get("show"),se=d.getData(),le=se.mapDimension("value"),ce=+d.get("min"),de=+d.get("max"),he=[ce,de],pe=[z,W];function createPointer(b,x){var T,z=se.getItemModel(b).getModel("pointer"),H=number_parsePercent(z.get("width"),D.r),W=number_parsePercent(z.get("length"),D.r),U=d.get(["pointer","icon"]),Y=z.get("offsetCenter"),Z=number_parsePercent(Y[0],D.r),J=number_parsePercent(Y[1],D.r),ee=z.get("keepAspect");return(T=U?symbol_createSymbol(U,Z-H/2,J-W,H,W,null,ee):new Ag({shape:{angle:-Math.PI/2,width:H,r:W,x:Z,y:J}})).rotation=-(x+Math.PI/2),T.x=D.cx,T.y=D.cy,T}function createProgress(d,b){var x=ie.get("roundCap")?xd:Ps,T=ie.get("overlap"),H=T?ie.get("width"):Y/se.count(),W=T?D.r-H:D.r-(d+1)*H,Z=T?D.r:D.r-d*H,J=new x({shape:{startAngle:z,endAngle:b,cx:D.cx,cy:D.cy,clockwise:U,r0:W,r:Z}});return T&&(J.z2=linearMap(se.get(le,d),[ce,de],[100,0],!0)),J}(oe||ne)&&(se.diff(J).add((function(b){var x=se.get(le,b);if(ne){var T=createPointer(b,z);initProps(T,{rotation:-((isNaN(+x)?pe[0]:linearMap(x,he,pe,!0))+Math.PI/2)},d),Z.add(T),se.setItemGraphicEl(b,T)}if(oe){var D=createProgress(b,z),H=ie.get("clip");initProps(D,{shape:{endAngle:linearMap(x,he,pe,H)}},d),Z.add(D),setCommonECData(d.seriesIndex,se.dataType,b,D),te[b]=D}})).update((function(b,x){var T=se.get(le,b);if(ne){var D=J.getItemGraphicEl(x),H=D?D.rotation:z,W=createPointer(b,H);W.rotation=H,updateProps(W,{rotation:-((isNaN(+T)?pe[0]:linearMap(T,he,pe,!0))+Math.PI/2)},d),Z.add(W),se.setItemGraphicEl(b,W)}if(oe){var U=ee[x],Y=createProgress(b,U?U.shape.endAngle:z),ce=ie.get("clip");updateProps(Y,{shape:{endAngle:linearMap(T,he,pe,ce)}},d),Z.add(Y),setCommonECData(d.seriesIndex,se.dataType,b,Y),te[b]=Y}})).execute(),se.each((function(d){var b=se.getItemModel(d),x=b.getModel("emphasis"),D=x.get("focus"),z=x.get("blurScope"),W=x.get("disabled");if(ne){var U=se.getItemGraphicEl(d),Y=se.getItemVisual(d,"style"),Z=Y.fill;if(U instanceof yr){var J=U.style;U.useStyle(Object(H.m)({image:J.image,x:J.x,y:J.y,width:J.width,height:J.height},Y))}else U.useStyle(Y),"pointer"!==U.type&&U.setColor(Z);U.setStyle(b.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===U.style.fill&&U.setStyle("fill",T(linearMap(se.get(le,d),he,[0,1],!0))),U.z2EmphasisLift=0,setStatesStylesFromModel(U,b),toggleHoverEmphasis(U,D,z,W)}if(oe){var ee=te[d];ee.useStyle(se.getItemVisual(d,"style")),ee.setStyle(b.getModel(["progress","itemStyle"]).getItemStyle()),ee.z2EmphasisLift=0,setStatesStylesFromModel(ee,b),toggleHoverEmphasis(ee,D,z,W)}})),this._progressEls=te)},GaugeView.prototype._renderAnchor=function(d,b){var x=d.getModel("anchor");if(x.get("show")){var T=x.get("size"),D=x.get("icon"),z=x.get("offsetCenter"),H=x.get("keepAspect"),W=symbol_createSymbol(D,b.cx-T/2+number_parsePercent(z[0],b.r),b.cy-T/2+number_parsePercent(z[1],b.r),T,T,null,H);W.z2=x.get("showAbove")?1:0,W.setStyle(x.getModel("itemStyle").getItemStyle()),this.group.add(W)}},GaugeView.prototype._renderTitleAndDetail=function(d,b,x,T,D){var z=this,H=d.getData(),W=H.mapDimension("value"),U=+d.get("min"),Y=+d.get("max"),Z=new Xn,J=[],ee=[],te=d.isAnimationEnabled(),ne=d.get(["pointer","showAbove"]);H.diff(this._data).add((function(d){J[d]=new Pr({silent:!0}),ee[d]=new Pr({silent:!0})})).update((function(d,b){J[d]=z._titleEls[b],ee[d]=z._detailEls[b]})).execute(),H.each((function(b){var x=H.getItemModel(b),z=H.get(W,b),ie=new Xn,oe=T(linearMap(z,[U,Y],[0,1],!0)),se=x.getModel("title");if(se.get("show")){var le=se.get("offsetCenter"),ce=D.cx+number_parsePercent(le[0],D.r),de=D.cy+number_parsePercent(le[1],D.r);(xe=J[b]).attr({z2:ne?0:2,style:createTextStyle(se,{x:ce,y:de,text:H.getName(b),align:"center",verticalAlign:"middle"},{inheritColor:oe})}),ie.add(xe)}var he=x.getModel("detail");if(he.get("show")){var pe=he.get("offsetCenter"),fe=D.cx+number_parsePercent(pe[0],D.r),ge=D.cy+number_parsePercent(pe[1],D.r),me=number_parsePercent(he.get("width"),D.r),ye=number_parsePercent(he.get("height"),D.r),ve=d.get(["progress","show"])?H.getItemVisual(b,"style").fill:oe,xe=ee[b],_e=he.get("formatter");xe.attr({z2:ne?0:2,style:createTextStyle(he,{x:fe,y:ge,text:formatLabel(z,_e),width:isNaN(me)?null:me,height:isNaN(ye)?null:ye,align:"center",verticalAlign:"middle"},{inheritColor:ve})}),setLabelValueAnimation(xe,{normal:he},z,(function(d){return formatLabel(d,_e)})),te&&animateLabelValue(xe,b,H,d,{getFormattedLabel:function(d,b,x,T,D,H){return formatLabel(H?H.interpolatedValue:z,_e)}}),ie.add(xe)}Z.add(ie)})),this.group.add(Z),this._titleEls=J,this._detailEls=ee},GaugeView.type="gauge",GaugeView}(gl),Og=function(d){function GaugeSeriesModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=GaugeSeriesModel.type,b.visualStyleAccessPath="itemStyle",b}return __extends(GaugeSeriesModel,d),GaugeSeriesModel.prototype.getInitialData=function(d,b){return createSeriesDataSimply(this,["value"])},GaugeSeriesModel.type="series.gauge",GaugeSeriesModel.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine
808:{show:!0,roundCap:!1,lineStyle:{color:[[1,Fo.color.neutral10]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:Fo.color.axisTick,width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:Fo.color.axisTickMinor,width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:Fo.color.axisLabel,fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:Fo.color.neutral00,borderWidth:0,borderColor:Fo.color.theme[0]}},title:{show:!0,offsetCenter:[0,"20%"],color:Fo.color.secondary,fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:Fo.color.transparent,borderWidth:0,borderColor:Fo.color.neutral40,width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:Fo.color.primary,fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},GaugeSeriesModel}(es);var Ig=["itemStyle","opacity"],Dg=function(d){function FunnelPiece(b,x){var T=d.call(this)||this,D=T,z=new Rs,H=new Pr;return D.setTextContent(H),T.setTextGuideLine(z),T.updateData(b,x,!0),T}return __extends(FunnelPiece,d),FunnelPiece.prototype.updateData=function(d,b,x){var T=d.hostModel,D=d.getItemModel(b),z=d.getItemLayout(b),H=D.getModel("emphasis"),W=D.get(Ig);W=null==W?1:W,x||saveOldStyle(this),this.useStyle(d.getItemVisual(b,"style")),this.style.lineJoin="round",x?(this.setShape({points:z.points}),this.style.opacity=0,initProps(this,{style:{opacity:W}},T,b)):updateProps(this,{style:{opacity:W},shape:{points:z.points}},T,b),setStatesStylesFromModel(this,D),this._updateLabel(d,b),toggleHoverEmphasis(this,H.get("focus"),H.get("blurScope"),H.get("disabled"))},FunnelPiece.prototype._updateLabel=function(d,b){var x=this.getTextGuideLine(),T=this.getTextContent(),D=d.hostModel,z=d.getItemModel(b),H=d.getItemLayout(b).label,W=d.getItemVisual(b,"style"),U=W.fill;setLabelStyle(T,getLabelStatesModels(z),{labelFetcher:d.hostModel,labelDataIndex:b,defaultOpacity:W.opacity,defaultText:d.getName(b)},{normal:{align:H.textAlign,verticalAlign:H.verticalAlign}});var Y="inherit"===z.getModel("label").get("color")?U:null;this.setTextConfig({local:!0,inside:!!H.inside,insideStroke:Y,outsideFill:Y});var Z=H.linePoints;x.setShape({points:Z}),this.textGuideLineConfig={anchor:Z?new ce(Z[0][0],Z[0][1]):null},updateProps(T,{style:{x:H.x,y:H.y}},D,b),T.attr({rotation:H.rotation,originX:H.x,originY:H.y,z2:10}),setLabelLineStyle(this,getLabelLineStatesModels(z),{stroke:U})},FunnelPiece}(Es),Eg=function(d){function FunnelView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=FunnelView.type,b.ignoreLabelLineUpdate=!0,b}return __extends(FunnelView,d),FunnelView.prototype.render=function(d,b,x){var T=d.getData(),D=this._data,z=this.group;T.diff(D).add((function(d){var b=new Dg(T,d);T.setItemGraphicEl(d,b),z.add(b)})).update((function(d,b){var x=D.getItemGraphicEl(b);x.updateData(T,d),z.add(x),T.setItemGraphicEl(d,x)})).remove((function(b){removeElementWithFadeOut(D.getItemGraphicEl(b),d,b)})).execute(),this._data=T},FunnelView.prototype.remove=function(){this.group.removeAll(),this._data=null},FunnelView.prototype.dispose=function(){},FunnelView.type="funnel",FunnelView}(gl),Lg=function(d){function FunnelSeriesModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=FunnelSeriesModel.type,b}return __extends(FunnelSeriesModel,d),FunnelSeriesModel.prototype.init=function(b){d.prototype.init.apply(this,arguments),this.legendVisualProvider=new Hd(H.c(this.getData,this),H.c(this.getRawData,this)),this._defaultLabelLine(b)},FunnelSeriesModel.prototype.getInitialData=function(d,b){return createSeriesDataSimply(this,{coordDimensions:["value"],encodeDefaulter:H.h(makeSeriesEncodeForNameBased,this)})},FunnelSeriesModel.prototype._defaultLabelLine=function(d){defaultEmphasis(d,"labelLine",["show"]);var b=d.labelLine,x=d.emphasis.labelLine;b.show=b.show&&d.label.show,x.show=x.show&&d.emphasis.label.show},FunnelSeriesModel.prototype.getDataParams=function(b){var x=this.getData(),T=d.prototype.getDataParams.call(this,b),D=x.mapDimension("value"),z=x.getSum(D);return T.percent=z?+(x.get(D,b)/z*100).toFixed(2):0,T.$vars.push("percent"),T},FunnelSeriesModel.type="series.funnel",FunnelSeriesModel.defaultOption={coordinateSystemUsage:"box",z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:65,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",ga
vendor: 35,449 bytes, line 808
808p:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:Fo.color.neutral00,borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:Fo.color.primary}}},FunnelSeriesModel}(es);function funnelLayout(d,b){d.eachSeriesByType("funnel",(function(d){var x=d.getData(),T=x.mapDimension("value"),D=d.get("sort"),z=createBoxLayoutReference(d,b),W=getLayoutRect(d.getBoxLayoutParams(),z.refContainer),U=d.get("orient"),Y=W.width,Z=W.height,J=function(d,b){for(var x=d.mapDimension("value"),T=d.mapArray(x,(function(d){return d})),D=[],z="ascending"===b,W=0,U=d.count();W<U;W++)D[W]=W;return Object(H.w)(b)?D.sort(b):"none"!==b&&D.sort((function(d,b){return z?T[d]-T[b]:T[b]-T[d]})),D}(x,D),ee=W.x,te=W.y,ne="horizontal"===U?[number_parsePercent(d.get("minSize"),Z),number_parsePercent(d.get("maxSize"),Z)]:[number_parsePercent(d.get("minSize"),Y),number_parsePercent(d.get("maxSize"),Y)],ie=x.getDataExtent(T),oe=d.get("min"),se=d.get("max");null==oe&&(oe=Math.min(ie[0],0)),null==se&&(se=ie[1]);var le=d.get("funnelAlign"),ce=d.get("gap"),de=(("horizontal"===U?Y:Z)-ce*(x.count()-1))/x.count(),getLinePoints=function(d,b){if("horizontal"===U){var D=linearMap(x.get(T,d)||0,[oe,se],ne,!0),z=void 0;switch(le){case"top":z=te;break;case"center":z=te+(Z-D)/2;break;case"bottom":z=te+(Z-D)}return[[b,z],[b,z+D]]}var H,W=linearMap(x.get(T,d)||0,[oe,se],ne,!0);switch(le){case"left":H=ee;break;case"center":H=ee+(Y-W)/2;break;case"right":H=ee+Y-W}return[[H,b],[H+W,b]]};"ascending"===D&&(de=-de,ce=-ce,"horizontal"===U?ee+=Y:te+=Z,J=J.reverse());for(var he=0;he<J.length;he++){var pe=J[he],fe=J[he+1],ge=x.getItemModel(pe);if("horizontal"===U){var me=ge.get(["itemStyle","width"]);null==me?me=de:(me=number_parsePercent(me,Y),"ascending"===D&&(me=-me));var ye=getLinePoints(pe,ee),ve=getLinePoints(fe,ee+me);ee+=me+ce,x.setItemLayout(pe,{points:ye.concat(ve.slice().reverse())})}else{var xe=ge.get(["itemStyle","height"]);null==xe?xe=de:(xe=number_parsePercent(xe,Z),"ascending"===D&&(xe=-xe));ye=getLinePoints(pe,te),ve=getLinePoints(fe,te+xe);te+=xe+ce,x.setItemLayout(pe,{points:ye.concat(ve.slice().reverse())})}}!function(d){var b=d.hostModel.get("orient");d.each((function(x){var T,D,z,H,W=d.getItemModel(x),U=W.getModel("label").get("position"),Y=W.getModel("labelLine"),Z=d.getItemLayout(x),J=Z.points,ee="inner"===U||"inside"===U||"center"===U||"insideLeft"===U||"insideRight"===U;if(ee)"insideLeft"===U?(D=(J[0][0]+J[3][0])/2+5,z=(J[0][1]+J[3][1])/2,T="left"):"insideRight"===U?(D=(J[1][0]+J[2][0])/2-5,z=(J[1][1]+J[2][1])/2,T="right"):(D=(J[0][0]+J[1][0]+J[2][0]+J[3][0])/4,z=(J[0][1]+J[1][1]+J[2][1]+J[3][1])/4,T="center"),H=[[D,z],[D,z]];else{var te=void 0,ne=void 0,ie=void 0,oe=void 0,se=Y.get("length");0,"left"===U?(te=(J[3][0]+J[0][0])/2,ne=(J[3][1]+J[0][1])/2,D=(ie=te-se)-5,T="right"):"right"===U?(te=(J[1][0]+J[2][0])/2,ne=(J[1][1]+J[2][1])/2,D=(ie=te+se)+5,T="left"):"top"===U?(te=(J[3][0]+J[0][0])/2,z=(oe=(ne=(J[3][1]+J[0][1])/2)-se)-5,T="center"):"bottom"===U?(te=(J[1][0]+J[2][0])/2,z=(oe=(ne=(J[1][1]+J[2][1])/2)+se)+5,T="center"):"rightTop"===U?(te="horizontal"===b?J[3][0]:J[1][0],ne="horizontal"===b?J[3][1]:J[1][1],"horizontal"===b?(z=(oe=ne-se)-5,T="center"):(D=(ie=te+se)+5,T="top")):"rightBottom"===U?(te=J[2][0],ne=J[2][1],"horizontal"===b?(z=(oe=ne+se)+5,T="center"):(D=(ie=te+se)+5,T="bottom")):"leftTop"===U?(te=J[0][0],ne="horizontal"===b?J[0][1]:J[1][1],"horizontal"===b?(z=(oe=ne-se)-5,T="center"):(D=(ie=te-se)-5,T="right")):"leftBottom"===U?(te="horizontal"===b?J[1][0]:J[3][0],ne="horizontal"===b?J[1][1]:J[2][1],"horizontal"===b?(z=(oe=ne+se)+5,T="center"):(D=(ie=te-se)-5,T="right")):(te=(J[1][0]+J[2][0])/2,ne=(J[1][1]+J[2][1])/2,"horizontal"===b?(z=(oe=ne+se)+5,T="center"):(D=(ie=te+se)+5,T="left")),"horizontal"===b?D=ie=te:z=oe=ne,H=[[te,ne],[ie,oe]]}Z.label={linePoints:H,x:D,y:z,verticalAlign:"middle",textAlign:T,inside:ee}}))}(x)}))}function createLinePoints(d,b,x,T){for(var D,z=[],H=0;H<x.length;H++){var W=x[H],U=d.get(d.mapDimension(W),b);D=U,("category"===T.getAxis(W).type?null==D:null==D||isNaN(D))||z.push(T.dataToPoint(U,W))}return z}function addEl(d,b,x,T,D){var z=createLinePoints(d,x,T,D),H=new Rs({shape:{points:z},z2:10});return b.add(H),d.setItemGraphicEl(x,H),H}function ParallelView_makeSeriesScope(d){var b=d.get("smooth",!0);return!0===b&&(b=.3),b=numericToNumber(b),Object(H.l)(b)&&(b=0),{smooth:b}}function updateElCommon(d,b,x,T){d.useStyle(b.getItemVisual(x,"style")),d.style.fill=null,d.setShape("smooth",T.smooth);var D=b.getItemModel(x),z=D.getModel("emphasis");setStatesStylesFromModel(d,D,"lineStyle"),toggleHoverEmphasis(d,z.get("focus"),z.get("blurScope"),z.get("disabled"))}var Rg=function(d){function ParallelView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=ParallelView.type,b._dataGroup=new Xn,b._initialized=!1,b}return __extends(ParallelView,d),ParallelView.prototype.init=function(){this.group.add(this._dataGroup)},ParallelView.prototype.render=function(d,b,x,T){this._progressiveEls=null;var D=this._dataGroup,z=d.getData(),H=this._data,W=d.coordinateSystem,U=W.dimensions,Y=ParallelView_makeSeriesScope(d);if(z.diff(H).add((function(d){updateElCommon(addEl(z,D,d,U,W),z,d,Y)})).update((function(b,x){var T=H.getItemGraphicEl(x),D=createLinePoints(z,b,U,W);z.setItemGraphicEl(b,T),updateProps(T,{shape:{points:D}},d,b),saveOldStyle(T),updateElCommon(T,z,b,Y)})).remove((function(d){var b=H.getItemGraphicEl(d);D.remove(b)})).execute(),!this._initialized){this._initialized=!0;var Z=function(d,b,x){var T=d.model,D=d.getRect(),z=new _r({shape:{x:D.x,y:D.y,width:D.width,height:D.height}}),H="horizontal"===T.get("layout")?"width":"height";return z.setShape(H,0),initProps(z,{shape:{width:D.width,height:D.height}},b,x),z}(W,d,(function(){setTimeout((function(){D.removeClipPath()}))}));D.setClipPath(Z)}this._data=z},ParallelView.prototype.incrementalPrepareRender=function(d,b,x){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},ParallelView.prototype.incrementalRender=function(d,b,x){for(var T=b.getData(),D=b.coordinateSystem,z=D.dimensions,H=ParallelView_makeSeriesScope(b),W=this._progressiveEls=[],U=d.start;U<d.end;U++){var Y=addEl(T,this._dataGroup,U,z,D);Y.incremental=!0,updateElCommon(Y,T,U,H),W.push(Y)}},ParallelView.prototype.remove=function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null},ParallelView.type="parallel",ParallelView}(gl);function makeDefaultEncode(d){var b=d.ecModel.getComponent("parallel",d.get("parallelIndex"));if(b){var x={};return Object(H.k)(b.dimensions,(function(d){var b=+d.replace("dim","");x[d]=b})),x}}var Bg=function(d){function ParallelSeriesModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=ParallelSeriesModel.type,b.visualStyleAccessPath="lineStyle",b.visualDrawType="stroke",b}return __extends(ParallelSeriesModel,d),ParallelSeriesModel.prototype.getInitialData=function(d,b){return helper_createSeriesData(null,this,{useEncodeDefaulter:Object(H.c)(makeDefaultEncode,null,this)})},ParallelSeriesModel.prototype.getRawIndicesByActiveState=function(d){var b=this.coordinateSystem,x=this.getData(),T=[];return b.eachActiveState(x,(function(b,D){d===b&&T.push(x.getRawIndex(D))})),T},ParallelSeriesModel.type="series.parallel",ParallelSeriesModel.dependencies=["parallel"],ParallelSeriesModel.defaultOption={z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"},ParallelSeriesModel}(es),Ng=["lineStyle","opacity"],jg={seriesType:"parallel",reset:function(d,b){var x=d.coordinateSystem,T={normal:d.get(["lineStyle","opacity"]),active:d.get("activeOpacity"),inactive:d.get("inactiveOpacity")};return{progress:function(d,b){x.eachActiveState(b,(function(d,x){var D=T[d];if("normal"===d&&b.hasItemOption){var z=b.getItemModel(x).get(Ng,!0);null!=z&&(D=z)}b.ensureUniqueItemVisual(x,"style").opacity=D}),d.start,d.end)}}}};function parallelPreprocessor(d){!function(d){if(d.parallel)return;var b=!1;H.k(d.series,(function(d){d&&"parallel"===d.type&&(b=!0)})),b&&(d.parallel=[{}])}(d),function(d){var b=normalizeToArray(d.parallelAxis);H.k(b,(function(b){if(H.A(b)){var x=b.parallelIndex||0,T=normalizeToArray(d.parallel)[x];T&&T.parallelAxisDefault&&H.I(b,T.parallelAxisDefault,!1)}}))}(d)}var Vg=function(d){function ParallelView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=ParallelView.type,b}return __extends(ParallelView,d),ParallelView.prototype.render=function(d,b,x){this._model=d,this._api=x,this._handlers||(this._handlers={},Object(H.k)(zg,(function(d,b){x.getZr().on(b,this._handlers[b]=Object(H.c)(d,this))}),this)),createOrUpdate(this,"_throttledDispatchExpand",d.get("axisExpandRate"),"fixRate")},ParallelView.prototype.dispose=function(d,b){clear(this,"_throttledDispatchExpand"),Object(H.k)(this._handlers,(function(d,x){b.getZr().off(x,d)})),this._handlers=null},ParallelView.prototype._throttledDispatchExpand=function(d){this._dispatchExpand(d)},ParallelView.prototype._dispatchExpand=function(d){d&&this._api.dispatchAction(Object(H.m)({type:"parallelAxisExpand"},d))},ParallelView.type="parallel",ParallelView}(ns),zg={mousedown:function(d){checkTrigger(this,"click")&&(this._mouseDownPoint=[d.offsetX,d.offsetY])},mouseup:function(d){var b=this._mouseDownPoint;if(checkTrigger(this,"click")&&b){var x=[d.offsetX,d.offsetY];if(Math.pow(b[0]-x[0],2)+Math.pow(b[1]-x[1],2)>5)return;var T=this._model.coordinateSystem.getSlidedAxisExpandWindow([d.offsetX,d.offsetY]);"none"!==T.behavior&&this._dispatchExpand({axisExpandWindow:T.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(d){if(!this._mouseDownPoint&&checkTrigger(this,"mousemove")){var b=this._model,x=b.coordinateSystem.getSlidedAxisExpandWindow([d.offsetX,d.offsetY]),T=x.behavior;"jump"===T&&this._throttledDispatchExpand.debounceNextCall(b.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===T?null:{axisExpandWindow:x.axisExpandWindow,animation:"jump"===T?null:{duration:0}})}}};function checkTrigger(d,b){var x=d._model;return x.get("axisExpandable")&&x.get("axisExpandTriggerOn")===b}var Fg=Vg,Hg=function(d){function ParallelModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=ParallelModel.type,b}return __extends(ParallelModel,d),ParallelModel.prototype.init=function(){d.prototype.init.apply(this,arguments),this.mergeOption({})},ParallelModel.prototype.mergeOption=function(d){var b=this.option;d&&H.I(b,d,!0),this._initDimensions()},ParallelModel.prototype.contains=function(d,b){var x=d.get("parallelIndex");return null!=x&&b.getComponent("parallel",x)===this},ParallelModel.prototype.setAxisExpand=function(d){H.k(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],(function(b){d.hasOwnProperty(b)&&(this.option[b]=d[b])}),this)},ParallelModel.prototype._initDimensions=function(){var d=this.dimensions=[],b=this.parallelAxisIndex=[],x=H.n(this.ecModel.queryComponents({mainType:"parallelAxis"}),(function(d){return(d.get("parallelIndex")||0)===this.componentIndex}),this);H.k(x,(function(x){d.push("dim"+x.get("dim")),b.push(x.componentIndex)}))},ParallelModel.type="parallel",ParallelModel.dependencies=["parallelAxis"],ParallelModel.layoutMode="box",ParallelModel.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},ParallelModel}(Bo),Gg=function(d){function ParallelAxis(b,x,T,D,z){var H=d.call(this,b,x,T)||this;return H.type=D||"value",H.axisIndex=z,H}return __extends(ParallelAxis,d),ParallelAxis.prototype.isHorizontal=function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")},ParallelAxis}(zh);function sliderMove(d,b,x,T,D,z){d=d||0;var H=x[1]-x[0];if(null!=D&&(D=restrict(D,[0,H])),null!=z&&(z=Math.max(z,null!=D?D:0)),"all"===T){var W=Math.abs(b[1]-b[0]);W=restrict(W,[0,H]),D=z=restrict(W,[D,z]),T=0}b[0]=restrict(b[0],x),b[1]=restrict(b[1],x);var U=getSpanSign(b,T);b[T]+=d;var Y,Z=D||0,J=x.slice();return U.sign<0?J[0]+=Z:J[1]-=Z,b[T]=restrict(b[T],J),Y=getSpanSign(b,T),null!=D&&(Y.sign!==U.sign||Y.span<D)&&(b[1-T]=b[T]+U.sign*D),Y=getSpanSign(b,T),null!=z&&Y.span>z&&(b[1-T]=b[T]+Y.sign*z),b}function getSpanSign(d,b){var x=d[b]-d[1-b];return{span:Math.abs(x),sign:x>0?-1:x<0?1:b?-1:1}}function restrict(d,b){return Math.min(null!=b[1]?b[1]:1/0,Math.max(null!=b[0]?b[0]:-1/0,d))}var $g=H.k,Wg=Math.min,Ug=Math.max,Yg=Math.floor,qg=Math.ceil,Zg=round,Xg=Math.PI;function Parallel_restrict(d,b){return Wg(Ug(d,b[0]),b[1])}function layoutAxisWithoutExpand(d,b){var x=b.layoutLength/(b.axisCount-1);return{position:x*d,axisNameAvailableWidth:x,axisLabelShow:!0}}function layoutAxisWithExpand(d,b){var x,T,D=b.layoutLength,z=b.axisExpandWidth,H=b.axisCount,W=b.axisCollapseWidth,U=b.winInnerIndices,Y=W,Z=!1;return d<U[0]?(x=d*W,T=W):d<=U[1]?(x=b.axisExpandWindow0Pos+d*z-b.axisExpandWindow[0],Y=z,Z=!0):(x=D-(H-1-d)*W,T=W),{position:x,axisNameAvailableWidth:Y,axisLabelShow:Z,nameTruncateMaxWidth:T}}var Kg=function(){function Parallel(d,b,x){this.type="parallel",this._axesMap=H.f(),this._axesLayout={},this.dimensions=d.dimensions,this._model=d,this._init(d,b,x)}return Parallel.prototype._init=function(d,b,x){var T=d.dimensions,D=d.parallelAxisIndex;$g(T,(function(d,x){var T=D[x],z=b.getComponent("parallelAxis",T),H=this._axesMap.set(d,new Gg(d,createScaleByModel(z),[0,0],z.get("type"),T)),W="category"===H.type;H.onBand=W&&z.get("boundaryGap"),H.inverse=z.get("inverse"),z.axis=H,H.model=z,H.coordinateSystem=z.coordinateSystem=this}),this)},Parallel.prototype.update=function(d,b){this._updateAxesFromSeries(this._model,d)},Parallel.prototype.containPoint=function(d){var b=this._makeLayoutInfo(),x=b.axisBase,T=b.layoutBase,D=b.pixelDimIndex,z=d[1-D],H=d[D];return z>=x&&z<=x+b.axisLength&&H>=T&&H<=T+b.layoutLength},Parallel.prototype.getModel=function(){return this._model},Parallel.prototype._updateAxesFromSeries=function(d,b){b.eachSeries((function(x){if(d.contains(x,b)){var T=x.getData();$g(this.dimensions,(function(d){var b=this._axesMap.get(d);b.scale.unionExtentFromData(T,T.mapDimension(d)),niceScaleExtent(b.scale,b.model)}),this)}}),this)},Parallel.prototype.resize=function(d,b){var x=createBoxLayoutReference(d,b).refContainer;this._rect=getLayoutRect(d.getBoxLayoutParams(),x),this._layoutAxes()},Parallel.prototype.getRect=function(){return this._rect},Parallel.prototype._makeLayoutInfo=function(){var d,b=this._model,x=this._rect,T=["x","y"],D=["width","height"],z=b.get("layout"),H="horizontal"===z?0:1,W=x[D[H]],U=[0,W],Y=this.dimensions.length,Z=Parallel_restrict(b.get("axisExpandWidth"),U),J=Parallel_restrict(b.get("axisExpandCount")||0,[0,Y]),ee=b.get("axisExpandable")&&Y>3&&Y>J&&J>1&&Z>0&&W>0,te=b.get("axisExpandWindow");te?(d=Parallel_restrict(te[1]-te[0],U),te[1]=te[0]+d):(d=Parallel_restrict(Z*(J-1),U),(te=[Z*(b.get("axisExpandCenter")||Yg(Y/2))-d/2])[1]=te[0]+d);var ne=(W-d)/(Y-J);ne<3&&(ne=0);var ie=[Yg(Zg(te[0]/Z,1))+1,qg(Zg(te[1]/Z,1))-1],oe=ne/Z*te[0];return{layout:z,pixelDimIndex:H,layoutBase:x[T[H]],layoutLength:W,axisBase:x[T[1-H]],axisLength:x[D[1-H]],axisExpandable:ee,axisExpandWidth:Z,axisCollapseWidth:ne,axisExpandWindow:te,axisCount:Y,winInnerIndices:ie,axisExpandWindow0Pos:oe}},Parallel.prototype._layoutAxes=function(){var d=this._rect,b=this._axesMap,x=this.dimensions,T=this._makeLayoutInfo(),D=T.layout;b.each((function(d){var b=[0,T.axisLength],x=d.inverse?1:0;d.setExtent(b[x],b[1-x])})),$g(x,(function(b,x){var z=(T.axisExpandable?layoutAxisWithExpand:layoutAxisWithoutExpand)(x,T),H={horizontal:{x:z.position,y:T.axisLength},vertical:{x:0,y:z.position}},W={horizontal:Xg/2,vertical:0},U=[H[D].x+d.x,H[D].y+d.y],Y=W[D],Z=[1,0,0,1,0,0];matrix_rotate(Z,Z,Y),matrix_translate(Z,Z,U),this._axesLayout[b]={position:U,rotation:Y,transform:Z,axisNameAvailableWidth:z.axisNameAvailableWidth,axisLabelShow:z.axisLabelShow,nameTruncateMaxWidth:z.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},Parallel.prototype.getAxis=function(d){return this._axesMap.get(d)},Parallel.prototype.dataToPoint=function(d,b){return this.axisCoordToPoint(this._axesMap.get(b).dataToCoord(d),b)},Parallel.prototype.eachActiveState=function(d,b,x,T){null==x&&(x=0),null==T&&(T=d.count());var D=this._axesMap,z=this.dimensions,W=[],U=[];H.k(z,(function(b){W.push(d.mapDimension(b)),U.push(D.get(b).model)}));for(var Y=this.hasAxisBrushed(),Z=x;Z<T;Z++){var J=void 0;if(Y){J="active";for(var ee=d.getValues(W,Z),te=0,ne=z.length;te<ne;te++){if("inactive"===U[te].getActiveState(ee[te])){J="inactive";break}}}else J="normal";b(J,Z)}},Parallel.prototype.hasAxisBrushed=function(){for(var d=this.dimensions,b=this._axesMap,x=!1,T=0,D=d.length;T<D;T++)"normal"!==b.get(d[T]).model.getActiveState()&&(x=!0);return x},Parallel.prototype.axisCoordToPoint=function(d,b){return graphic_applyTransform([d,0],this._axesLayout[b].transform)},Parallel.prototype.getAxisLayout=function(d){return H.d(this._axesLayout[d])},Parallel.prototype.getSlidedAxisExpandWindow=function(d){var b=this._makeLayoutInfo(),x=b.pixelDimIndex,T=b.axisExpandWindow.slice(),D=T[1]-T[0],z=[0,b.axisExpandWidth*(b.axisCount-1)];if(!this.containPoint(d))return{behavior:"none",axisExpandWindow:T};var H,W=d[x]-b.layoutBase-b.axisExpandWindow0Pos,U="slide",Y=b.axisCollapseWidth,Z=this._model.get("axisExpandSlideTriggerArea"),J=null!=Z[0];if(Y)J&&Y&&W<D*Z[0]?(U="jump",H=W-D*Z[2]):J&&Y&&W>D*(1-Z[0])?(U="jump",H=W-D*(1-Z[2])):(H=W-D*Z[1])>=0&&(H=W-D*(1-Z[1]))<=0&&(H=0),(H*=b.axisExpandWidth/Y)?sliderMove(H,T,z,"all"):U="none";else{var ee=T[1]-T[0];(T=[Ug(0,z[1]*W/ee-ee/2)])[1]=Wg(z[1],T[0]+ee),T[0]=T[1]-ee}return{axisExpandWindow:T,behavior:U}},Parallel}();var Jg={create:function(d,b){var x=[];return d.eachComponent("parallel",(function(T,D){var z=new Kg(T,d,b);z.name="parallel_"+D,z.resize(T,b),T.coordinateSystem=z,z.model=T,x.push(z)})),d.eachSeries((function(d){if("parallel"===d.get("coordinateSystem")){var b=d.getReferringComponents("parallel",si).models[0];d.coordinateSystem=b.coordinateSystem}})),x}},Qg=function(d){function ParallelAxisModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=ParallelAxisModel.type,b.activeIntervals=[],b}return __extends(ParallelAxisModel,d),ParallelAxisModel.prototype.getAreaSelectStyle=function(){return makeStyleMapper([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},ParallelAxisModel.prototype.setActiveIntervals=function(d){var b=this.activeIntervals=H.d(d);if(b)for(var x=b.length-1;x>=0;x--)asc(b[x])},ParallelAxisModel.prototype.getActiveState=function(d){var b=this.activeIntervals;if(!b.length)return"normal";if(null==d||isNaN(+d))return"inactive";if(1===b.length){var x=b[0];if(x[0]<=d&&d<=x[1])return"active"}else for(var T=0,D=b.length;T<D;T++)if(b[T][0]<=d&&d<=b[T][1])return"active";return"inactive"},ParallelAxisModel}(Bo);H.K(Qg,Qd);var em=Qg,tm=Math.min,nm=Math.max,im=Math.pow,rm={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},om={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},am={brushStyle:{lineWidth:2,stroke:Fo.color.backgroundTint,fill:Fo.color.borderTint},transformable:!0,brushMode:"single",removeOnClick:!1},sm=0,lm=function(d){function BrushController(b){var x=d.call(this)||this;return x._track=[],x._covers=[],x._handlers={},x._zr=b,x.group=new Xn,x._uid="brushController_"+sm++,Object(H.k)(um,(function(d,b){this._handlers[b]=Object(H.c)(d,this)}),x),x}return __extends(BrushController,d),BrushController.prototype.enableBrush=function(d){return this._brushType&&this._doDisableBrush(),d.brushType&&this._doEnableBrush(d),this},BrushController.prototype._doEnableBrush=function(d){var b=this._zr;this._enableGlobalPan||function(d,b,x){kp(d)[b]=x}(b,"globalPan",this._uid),Object(H.k)(this._handlers,(function(d,x){b.on(x,d)})),this._brushType=d.brushType,this._brushOption=Object(H.I)(Object(H.d)(am),d,!0)},BrushController.prototype._doDisableBrush=function(){var d=this._zr;!function(d,b,x){var T=kp(d);T[b]===x&&(T[b]=null)}(d,"globalPan",this._uid),Object(H.k)(this._handlers,(function(b,x){d.off(x,b)})),this._brushType=this._brushOption=null},BrushController.prototype.setPanels=function(d){if(d&&d.length){var b=this._panels={};Object(H.k)(d,(function(d){b[d.panelId]=Object(H.d)(d)}))}else this._panels=null;return this},BrushController.prototype.mount=function(d){d=d||{},this._enableGlobalPan=d.enableGlobalPan;var b=this.group;return this._zr.add(b),b.attr({x:d.x||0,y:d.y||0,rotation:d.rotation||0,scaleX:d.scaleX||1,scaleY:d.scaleY||1}),this._transform=b.getLocalTransform(),this},BrushController.prototype.updateCovers=function(d){d=Object(H.H)(d,(function(d){return Object(H.I)(Object(H.d)(am),d,!0)}));var b=this._covers,x=this._covers=[],T=this,D=this._creatingCover;return new zc(b,d,(function(d,b){return getKey(d.__brushOption,b)}),getKey).add(addOrUpdate).update(addOrUpdate).remove((function(d){b[d]!==D&&T.group.remove(b[d])})).execute(),this;function getKey(d,b){return(null!=d.id?d.id:"\0-brush-index-"+b)+"-"+d.brushType}function addOrUpdate(z,H){var W=d[z];if(null!=H&&b[H]===D)x[z]=b[H];else{var U=x[z]=null!=H?(b[H].__brushOption=W,b[H]):BrushController_endCreating(T,BrushController_createCover(T,W));updateCoverAfterCreation(T,U)}}},BrushController.prototype.unmount=function(){return this.enableBrush(!1),clearCovers(this),this._zr.remove(this.group),this},BrushController.prototype.dispose=function(){this.unmount(),this.off()},BrushController}(Y);function BrushController_createCover(d,b){var x=cm[b.brushType].createCover(d,b);return x.__brushOption=b,BrushController_updateZ(x,b),d.group.add(x),x}function BrushController_endCreating(d,b){var x=getCoverRenderer(b);return x.endCreating&&(x.endCreating(d,b),BrushController_updateZ(b,b.__brushOption)),b}function updateCoverShape(d,b){var x=b.__brushOption;getCoverRenderer(b).updateCoverShape(d,b,x.range,x)}function BrushController_updateZ(d,b){var x=b.z;null==x&&(x=1e4),d.traverse((function(d){d.z=x,d.z2=x}))}function updateCoverAfterCreation(d,b){getCoverRenderer(b).updateCommon(d,b),updateCoverShape(d,b)}function getCoverRenderer(d){return cm[d.__brushOption.brushType]}function getPanelByPoint(d,b,x){var T,D=d._panels;if(!D)return!0;var z=d._transform;return Object(H.k)(D,(function(d){d.isTargetByCursor(b,x,z)&&(T=d)})),T}function getPanelByCover(d,b){var x=d._panels;if(!x)return!0;var T=b.__brushOption.panelId;return null==T||x[T]}function clearCovers(d){var b=d._covers,x=b.length;return Object(H.k)(b,(function(b){d.group.remove(b)}),d),b.length=0,!!x}function BrushController_trigger(d,b){var x=Object(H.H)(d._covers,(function(d){var b=d.__brushOption,x=Object(H.d)(b.range);return{brushType:b.brushType,panelId:b.panelId,range:x}}));d.trigger("brush",{areas:x,isEnd:!!b.isEnd,removeOnClick:!!b.removeOnClick})}function getTrackEnds(d){var b=d.length-1;return b<0&&(b=0),[d[0],d[b]]}function createBaseRectCover(d,b,x,T){var D=new Xn;return D.add(new _r({name:"main",style:makeStyle(x),silent:!0,draggable:!0,cursor:"move",drift:Object(H.h)(driftRect,d,b,D,["n","s","w","e"]),ondragend:Object(H.h)(BrushController_trigger,b,{isEnd:!0})})),Object(H.k)(T,(function(x){D.add(new _r({name:x.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:Object(H.h)(driftRect,d,b,D,x),ondragend:Object(H.h)(BrushController_trigger,b,{isEnd:!0})}))})),D}function updateBaseRect(d,b,x,T){var D=T.brushStyle.lineWidth||0,z=nm(D,6),H=x[0][0],W=x[1][0],U=H-D/2,Y=W-D/2,Z=x[0][1],J=x[1][1],ee=Z-z+D/2,te=J-z+D/2,ne=Z-H,ie=J-W,oe=ne+D,se=ie+D;updateRectShape(d,b,"main",H,W,ne,ie),T.transformable&&(updateRectShape(d,b,"w",U,Y,z,se),updateRectShape(d,b,"e",ee,Y,z,se),updateRectShape(d,b,"n",U,Y,oe,z),updateRectShape(d,b,"s",U,te,oe,z),updateRectShape(d,b,"nw",U,Y,z,z),updateRectShape(d,b,"ne",ee,Y,z,z),updateRectShape(d,b,"sw",U,te,z,z),updateRectShape(d,b,"se",ee,te,z,z))}function updateCommon(d,b){var x=b.__brushOption,T=x.transformable,D=b.childAt(0);D.useStyle(makeStyle(x)),D.attr({silent:!T,cursor:T?"move":"default"}),Object(H.k)([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],(function(x){var D=b.childOfName(x.join("")),z=1===x.length?getGlobalDirection1(d,x[0]):function(d,b){var x=[getGlobalDirection1(d,b[0]),getGlobalDirection1(d,b[1])];return("e"===x[0]||"w"===x[0])&&x.reverse(),x.join("")}(d,x);D&&D.attr({silent:!T,invisible:!T,cursor:T?om[z]+"-resize":null})}))}function updateRectShape(d,b,x,T,D,z,H){var W,U,Y,Z,J,ee=b.childOfName(x);ee&&ee.setShape((W=clipByPanel(d,b,[[T,D],[T+z,D+H]]),U=tm(W[0][0],W[1][0]),Y=tm(W[0][1],W[1][1]),Z=nm(W[0][0],W[1][0]),J=nm(W[0][1],W[1][1]),{x:U,y:Y,width:Z-U,height:J-Y}))}function makeStyle(d){return Object(H.i)({strokeNoScale:!0},d.brushStyle)}function formatRectRange(d,b,x,T){var D=[tm(d,x),tm(b,T)],z=[nm(d,x),nm(b,T)];return[[D[0],z[0]],[D[1],z[1]]]}function getGlobalDirection1(d,b){return{left:"w",right:"e",top:"n",bottom:"s"}[transformDirection({w:"left",e:"right",n:"top",s:"bottom"}[b],function(d){return getTransform(d.group)}(d))]}function driftRect(d,b,x,T,D,z){var W=x.__brushOption,U=d.toRectRange(W.range),Y=toLocalDelta(b,D,z);Object(H.k)(T,(function(d){var b=rm[d];U[b[0]][b[1]]+=Y[b[0]]})),W.range=d.fromRectRange(formatRectRange(U[0][0],U[1][0],U[0][1],U[1][1])),updateCoverAfterCreation(b,x),BrushController_trigger(b,{isEnd:!1})}function driftPolygon(d,b,x,T){var D=b.__brushOption.range,z=toLocalDelta(d,x,T);Object(H.k)(D,(function(d){d[0]+=z[0],d[1]+=z[1]})),updateCoverAfterCreation(d,b),BrushController_trigger(d,{isEnd:!1})}function toLocalDelta(d,b,x){var T=d.group,D=T.transformCoordToLocal(b,x),z=T.transformCoordToLocal(0,0);return[D[0]-z[0],D[1]-z[1]]}function clipByPanel(d,b,x){var T=getPanelByCover(d,b);return T&&!0!==T?T.clipPath(x,d._transform):Object(H.d)(x)}function preventDefault(d){var b=d.event;b.preventDefault&&b.preventDefault()}function mainShapeContain(d,b,x){return d.childOfName("main").contain(b,x)}function updateCoverByMouse(d,b,x,T){var D,z=d._creatingCover,W=d._creatingPanel,U=d._brushOption;if(d._track.push(x.slice()),function(d){var b=d._track;if(!b.length)return!1;var x=b[b.length-1],T=b[0],D=x[0]-T[0],z=x[1]-T[1];return im(D*D+z*z,.5)>6}(d)||z){if(W&&!z){"single"===U.brushMode&&clearCovers(d);var Y=Object(H.d)(U);Y.brushType=determineBrushType(Y.brushType,W),Y.panelId=!0===W?null:W.panelId,z=d._creatingCover=BrushController_createCover(d,Y),d._covers.push(z)}if(z){var Z=cm[determineBrushType(d._brushType,W)];z.__brushOption.range=Z.getCreatingRange(clipByPanel(d,z,d._track)),T&&(BrushController_endCreating(d,z),Z.updateCommon(d,z)),updateCoverShape(d,z),D={isEnd:T}}}else T&&"single"===U.brushMode&&U.removeOnClick&&getPanelByPoint(d,b,x)&&clearCovers(d)&&(D={isEnd:T,removeOnClick:!0});return D}function determineBrushType(d,b){return"auto"===d?b.defaultBrushType:d}var um={mousedown:function(d){if(this._dragging)handleDragEnd(this,d);else if(!d.target||!d.target.draggable){preventDefault(d);var b=this.group.transformCoordToLocal(d.offsetX,d.offsetY);this._creatingCover=null,(this._creatingPanel=getPanelByPoint(this,d,b))&&(this._dragging=!0,this._track=[b.slice()])}},mousemove:function(d){var b=d.offsetX,x=d.offsetY,T=this.group.transformCoordToLocal(b,x);if(function(d,b,x){if(d._brushType&&!function(d,b,x){var T=d._zr;return b<0||b>T.getWidth()||x<0||x>T.getHeight()}(d,b.offsetX,b.offsetY)){var T=d._zr,D=d._covers,z=getPanelByPoint(d,b,x);if(!d._dragging)for(var H=0;H<D.length;H++){var W=D[H].__brushOption;if(z&&(!0===z||W.panelId===z.panelId)&&cm[W.brushType].contain(D[H],x[0],x[1]))return}z&&T.setCursorStyle("crosshair")}}(this,d,T),this._dragging){preventDefault(d);var D=updateCoverByMouse(this,d,T,!1);D&&BrushController_trigger(this,D)}},mouseup:function(d){handleDragEnd(this,d)}};function handleDragEnd(d,b){if(d._dragging){preventDefault(b);var x=b.offsetX,T=b.offsetY,D=d.group.transformCoordToLocal(x,T),z=updateCoverByMouse(d,b,D,!0);d._dragging=!1,d._track=[],d._creatingCover=null,z&&BrushController_trigger(d,z)}}var cm={lineX:getLineRenderer(0),lineY:getLineRenderer(1),rect:{createCover:function(d,b){function returnInput(d){return d}return createBaseRectCover({toRectRange:returnInput,fromRectRange:returnInput},d,b,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(d){var b=getTrackEnds(d);return formatRectRange(b[1][0],b[1][1],b[0][0],b[0][1])},updateCoverShape:function(d,b,x,T){updateBaseRect(d,b,x,T)},updateCommon:updateCommon,contain:mainShapeContain},polygon:{createCover:function(d,b){var x=new Xn;return x.add(new Rs({name:"main",style:makeStyle(b),silent:!0})),x},getCreatingRange:function(d){return d},endCreating:function(d,b){b.remove(b.childAt(0)),b.add(new Es({name:"main",draggable:!0,drift:Object(H.h)(driftPolygon,d,b),ondragend:Object(H.h)(BrushController_trigger,d,{isEnd:!0})}))},updateCoverShape:function(d,b,x,T){b.childAt(0).setShape({points:clipByPanel(d,b,x)})},updateCommon:updateCommon,contain:mainShapeContain}};function getLineRenderer(d){return{createCover:function(b,x){return createBaseRectCover({toRectRange:function(b){var x=[b,[0,100]];return d&&x.reverse(),x},fromRectRange:function(b){return b[d]}},b,x,[[["w"],["e"]],[["n"],["s"]]][d])},getCreatingRange:function(b){var x=getTrackEnds(b);return[tm(x[0][d],x[1][d]),nm(x[0][d],x[1][d])]},updateCoverShape:function(b,x,T,D){var z,H=getPanelByCover(b,x);if(!0!==H&&H.getLinearBrushOtherExtent)z=H.getLinearBrushOtherExtent(d);else{var W=b._zr;z=[0,[W.getWidth(),W.getHeight()][1-d]]}var U=[T,z];d&&U.reverse(),updateBaseRect(b,x,U,D)},updateCommon:updateCommon,contain:mainShapeContain}}var dm=lm;function makeRectPanelClipPath(d){return d=normalizeRect(d),function(b){return clipPointsByRect(b,d)}}function makeLinearBrushOtherExtent(d,b){return d=normalizeRect(d),function(x){var T=null!=b?b:x,D=T?d.width:d.height,z=T?d.x:d.y;return[z,z+(D||0)]}}function makeRectIsTargetByCursor(d,b,x){var T=normalizeRect(d);return function(d,D){return T.contain(D[0],D[1])&&!onIrrelevantElement(d,b,x)}}function normalizeRect(d){return Ee.create(d)}var hm=function(d){function ParallelAxisView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=ParallelAxisView.type,b}return __extends(ParallelAxisView,d),ParallelAxisView.prototype.init=function(b,x){d.prototype.init.apply(this,arguments),(this._brushController=new dm(x.getZr())).on("brush",H.c(this._onBrush,this))},ParallelAxisView.prototype.render=function(d,b,x,T){if(!function(d,b,x){return x&&"axisAreaSelect"===x.type&&b.findComponents({mainType:"parallelAxis",query:x})[0]===d}(d,b,T)){this.axisModel=d,this.api=x,this.group.removeAll();var D=this._axisGroup;if(this._axisGroup=new Xn,this.group.add(this._axisGroup),d.get("show")){var z=function(d,b){return b.getComponent("parallel",d.get("parallelIndex"))}(d,b),W=z.coordinateSystem,U=d.getAreaSelectStyle(),Y=U.width,Z=d.axis.dim,J=W.getAxisLayout(Z),ee=H.m({strokeContainThreshold:Y},J),te=new rp(d,x,ee);te.build(),this._axisGroup.add(te.group),this._refreshBrushController(ee,U,d,z,Y,x),groupTransition(D,this._axisGroup,d)}}},ParallelAxisView.prototype._refreshBrushController=function(d,b,x,T,D,z){var W=x.axis.getExtent(),U=W[1]-W[0],Y=Math.min(30,.1*Math.abs(U)),Z=Ee.create({x:W[0],y:-D/2,width:U,height:D});Z.x-=Y,Z.width+=2*Y,this._brushController.mount({enableGlobalPan:!0,rotation:d.rotation,x:d.position[0],y:d.position[1]}).setPanels([{panelId:"pl",clipPath:makeRectPanelClipPath(Z),isTargetByCursor:makeRectIsTargetByCursor(Z,z,T),getLinearBrushOtherExtent:makeLinearBrushOtherExtent(Z,0)}]).enableBrush({brushType:"lineX",brushStyle:b,removeOnClick:!0}).updateCovers(function(d){var b=d.axis;return H.H(d.activeIntervals,(function(d){return{brushType:"lineX",panelId:"pl",range:[b.dataToCoord(d[0],!0),b.dataToCoord(d[1],!0)]}}))}(x))},ParallelAxisView.prototype._onBrush=function(d){var b=d.areas,x=this.axisModel,T=x.axis,D=H.H(b,(function(d){return[T.coordToData(d.range[0],!0),T.coordToData(d.range[1],!0)]}));(!x.option.realtime===d.isEnd||d.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:x.id,intervals:D})},ParallelAxisView.prototype.dispose=function(){this._brushController.dispose()},ParallelAxisView.type="parallelAxis",ParallelAxisView}(ns),pm={type:"axisAreaSelect",event:"axisAreaSelected"};var fm={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function parallel_install_install(d){d.registerComponentView(Fg),d.registerComponentModel(Hg),d.registerCoordinateSystem("parallel",Jg),d.registerPreprocessor(parallelPreprocessor),d.registerComponentModel(em),d.registerComponentView(hm),axisModelCreator(d,"parallel",em,fm),function(d){d.registerAction(pm,(function(d,b){b.eachComponent({mainType:"parallelAxis",query:d},(function(b){b.axis.model.setActiveIntervals(d.intervals)}))})),d.registerAction("parallelAxisExpand",(function(d,b){b.eachComponent({mainType:"parallel",query:d},(function(b){b.setAxisExpand(d)}))}))}(d)}var SankeyPathShape=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0},gm=function(d){function SankeyPath(b){return d.call(this,b)||this}return __extends(SankeyPath,d),SankeyPath.prototype.getDefaultShape=function(){return new SankeyPathShape},SankeyPath.prototype.buildPath=function(d,b){var x=b.extent;d.moveTo(b.x1,b.y1),d.bezierCurveTo(b.cpx1,b.cpy1,b.cpx2,b.cpy2,b.x2,b.y2),"vertical"===b.orient?(d.lineTo(b.x2+x,b.y2),d.bezierCurveTo(b.cpx2+x,b.cpy2,b.cpx1+x,b.cpy1,b.x1+x,b.y1)):(d.lineTo(b.x2,b.y2+x),d.bezierCurveTo(b.cpx2,b.cpy2+x,b.cpx1,b.cpy1+x,b.x1,b.y1+x)),d.closePath()},SankeyPath.prototype.highlight=function(){enterEmphasis(this)},SankeyPath.prototype.downplay=function(){leaveEmphasis(this)},SankeyPath}(cr);function applyCurveStyle(d,b,x){switch(d.fill){case"source":d.fill=x.node1.getVisual("color"),d.decal=x.node1.getVisual("style").decal;break;case"target":d.fill=x.node2.getVisual("color"),d.decal=x.node2.getVisual("style").decal;break;case"gradient":var T=x.node1.getVisual("color"),D=x.node2.getVisual("color");Object(H.C)(T)&&Object(H.C)(D)&&(d.fill=new Us(0,0,+("horizontal"===b),+("vertical"===b),[{color:T,offset:0},{color:D,offset:1}]))}}var mm=function(d){function SankeyView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=SankeyView.type,b._mainGroup=new Xn,b._focusAdjacencyDisabled=!1,b}return __extends(SankeyView,d),SankeyView.prototype.init=function(d,b){this._controller=new Dp(b.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},SankeyView.prototype.render=function(d,b,x){var T=this,D=d.getGraph(),z=this._mainGroup,W=d.layoutInfo,U=W.width,Y=W.height,Z=d.getData(),J=d.getData("edge"),ee=d.get("orient");this._model=d,z.removeAll(),z.x=W.x,z.y=W.y,this._updateViewCoordSys(d,x),updateController(d,x,z,this._controller,this._controllerHost,null),D.eachEdge((function(b){var x=new gm,T=Or(x);T.dataIndex=b.dataIndex,T.seriesIndex=d.seriesIndex,T.dataType="edge";var D,W,Z,te,ne,ie,oe,se,le=b.getModel(),ce=le.getModel("lineStyle"),de=ce.get("
808curveness"),he=b.node1.getLayout(),pe=b.node1.getModel(),fe=pe.get("localX"),ge=pe.get("localY"),me=b.node2.getLayout(),ye=b.node2.getModel(),ve=ye.get("localX"),xe=ye.get("localY"),_e=b.getLayout();x.shape.extent=Math.max(1,_e.dy),x.shape.orient=ee,"vertical"===ee?(D=(null!=fe?fe*U:he.x)+_e.sy,W=(null!=ge?ge*Y:he.y)+he.dy,Z=(null!=ve?ve*U:me.x)+_e.ty,ne=D,ie=W*(1-de)+(te=null!=xe?xe*Y:me.y)*de,oe=Z,se=W*de+te*(1-de)):(D=(null!=fe?fe*U:he.x)+he.dx,W=(null!=ge?ge*Y:he.y)+_e.sy,ne=D*(1-de)+(Z=null!=ve?ve*U:me.x)*de,ie=W,oe=D*de+Z*(1-de),se=te=(null!=xe?xe*Y:me.y)+_e.ty),x.setShape({x1:D,y1:W,x2:Z,y2:te,cpx1:ne,cpy1:ie,cpx2:oe,cpy2:se}),x.useStyle(ce.getItemStyle()),applyCurveStyle(x.style,ee,b);var we=""+le.get("value"),Se=getLabelStatesModels(le,"edgeLabel");setLabelStyle(x,Se,{labelFetcher:{getFormattedLabel:function(b,x,T,D,z,W){return d.getFormattedLabel(b,x,"edge",D,Object(H.Q)(z,Se.normal&&Se.normal.get("formatter"),we),W)}},labelDataIndex:b.dataIndex,defaultText:we}),x.setTextConfig({position:"inside"});var Me=le.getModel("emphasis");setStatesStylesFromModel(x,le,"lineStyle",(function(d){var x=d.getItemStyle();return applyCurveStyle(x,ee,b),x})),z.add(x),J.setItemGraphicEl(b.dataIndex,x);var Te=Me.get("focus");toggleHoverEmphasis(x,"adjacency"===Te?b.getAdjacentDataIndices():"trajectory"===Te?b.getTrajectoryDataIndices():Te,Me.get("blurScope"),Me.get("disabled"))})),D.eachNode((function(b){var x=b.getLayout(),T=b.getModel(),D=T.get("localX"),H=T.get("localY"),W=T.getModel("emphasis"),J=T.get(["itemStyle","borderRadius"])||0,ee=new _r({shape:{x:null!=D?D*U:x.x,y:null!=H?H*Y:x.y,width:x.dx,height:x.dy,r:J},style:T.getModel("itemStyle").getItemStyle(),z2:10});setLabelStyle(ee,getLabelStatesModels(T),{labelFetcher:{getFormattedLabel:function(b,x){return d.getFormattedLabel(b,x,"node")}},labelDataIndex:b.dataIndex,defaultText:b.id}),ee.disableLabelAnimation=!0,ee.setStyle("fill",b.getVisual("color")),ee.setStyle("decal",b.getVisual("style").decal),setStatesStylesFromModel(ee,T),z.add(ee),Z.setItemGraphicEl(b.dataIndex,ee),Or(ee).dataType="node";var te=W.get("focus");toggleHoverEmphasis(ee,"adjacency"===te?b.getAdjacentDataIndices():"trajectory"===te?b.getTrajectoryDataIndices():te,W.get("blurScope"),W.get("disabled"))})),Z.eachItemGraphicEl((function(b,D){Z.getItemModel(D).get("draggable")&&(b.drift=function(b,z){T._focusAdjacencyDisabled=!0,this.shape.x+=b,this.shape.y+=z,this.dirty(),x.dispatchAction({type:"dragNode",seriesId:d.id,dataIndex:Z.getRawIndex(D),localX:this.shape.x/U,localY:this.shape.y/Y})},b.ondragend=function(){T._focusAdjacencyDisabled=!1},b.draggable=!0,b.cursor="move")})),!this._data&&d.isAnimationEnabled()&&z.setClipPath(function(d,b,x){var T=new _r({shape:{x:d.x-10,y:d.y-10,width:0,height:d.height+20}});return initProps(T,{shape:{width:d.width+20}},b,x),T}(z.getBoundingRect(),d,(function(){z.removeClipPath()}))),this._data=d.getData()},SankeyView.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},SankeyView.prototype._updateViewCoordSys=function(d,b){var x=d.layoutInfo,T=x.width,D=x.height,z=d.coordinateSystem=new ff(null,{api:b,ecModel:d.ecModel});z.zoomLimit=d.get("scaleLimit"),z.setBoundingRect(0,0,T,D),z.setCenter(d.get("center")),z.setZoom(d.get("zoom")),this._controllerHost.target.attr({x:z.x,y:z.y,scaleX:z.scaleX,scaleY:z.scaleY})},SankeyView.type="sankey",SankeyView}(gl),ym=function(d){function SankeySeriesModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=SankeySeriesModel.type,b}return __extends(SankeySeriesModel,d),SankeySeriesModel.prototype.getInitialData=function(d,b){var x=d.edges||d.links||[],T=d.data||d.nodes||[],D=d.levels||[];this.levelModels=[];for(var z=this.levelModels,H=0;H<D.length;H++)null!=D[H].depth&&D[H].depth>
vendor: 4,256 bytes, line 808
808=0&&(z[D[H].depth]=new oo(D[H],this,b));return createGraphFromNodeEdge(T,x,this,!0,(function(d,b){d.wrapMethod("getItemModel",(function(d,b){var x=d.parentModel,T=x.getData().getItemLayout(b);if(T){var D=T.depth,z=x.levelModels[D];z&&(d.parentModel=z)}return d})),b.wrapMethod("getItemModel",(function(d,b){var x=d.parentModel,T=x.getGraph().getEdgeByIndex(b).node1.getLayout();if(T){var D=T.depth,z=x.levelModels[D];z&&(d.parentModel=z)}return d}))})).data},SankeySeriesModel.prototype.setNodePosition=function(d,b){var x=(this.option.data||this.option.nodes)[d];x.localX=b[0],x.localY=b[1]},SankeySeriesModel.prototype.setCenter=function(d){this.option.center=d},SankeySeriesModel.prototype.setZoom=function(d){this.option.zoom=d},SankeySeriesModel.prototype.getGraph=function(){return this.getData().graph},SankeySeriesModel.prototype.getEdgeData=function(){return this.getGraph().edgeData},SankeySeriesModel.prototype.formatTooltip=function(d,b,x){function noValue(d){return isNaN(d)||null==d}if("edge"===x){var T=this.getDataParams(d,x),D=T.data,z=T.value;return createTooltipMarkup("nameValue",{name:D.source+" -- "+D.target,value:z,noValue:noValue(z)})}var H=this.getGraph().getNodeByIndex(d).getLayout().value,W=this.getDataParams(d,x).data.name;return createTooltipMarkup("nameValue",{name:null!=W?W+"":null,value:H,noValue:noValue(H)})},SankeySeriesModel.prototype.optionUpdated=function(){},SankeySeriesModel.prototype.getDataParams=function(b,x){var T=d.prototype.getDataParams.call(this,b,x);if(null==T.value&&"node"===x){var D=this.getGraph().getNodeByIndex(b).getLayout().value;T.value=D}return T},SankeySeriesModel.type="series.sankey",SankeySeriesModel.layoutMode="box",SankeySeriesModel.defaultOption={z:2,coordinateSystemUsage:"box",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,roam:!1,roamTrigger:"global",center:null,zoom:1,label:{show:!0,position:"right",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:Fo.color.neutral50,opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:Fo.color.primary}},animationEasing:"linear",animationDuration:1e3},SankeySeriesModel}(es);function sankeyLayout(d,b){d.eachSeriesByType("sankey",(function(d){var x=d.get("nodeWidth"),T=d.get("nodeGap"),D=createBoxLayoutReference(d,b).refContainer,z=getLayoutRect(d.getBoxLayoutParams(),D);d.layoutInfo=z;var W=z.width,U=z.height,Y=d.getGraph(),Z=Y.nodes,J=Y.edges;!function(d){H.k(d,(function(d){var b=sankeyLayout_sum(d.outEdges,getEdgeValue),x=sankeyLayout_sum(d.inEdges,getEdgeValue),T=d.getValue()||0,D=Math.max(b,x,T);d.setLayout({value:D},!0)}))}(Z),function(d,b,x,T,D,z,W,U,Y){(function(d,b,x,T,D,z,W){for(var U=[],Y=[],Z=[],J=[],ee=0,te=0;te<b.length;te++)U[te]=1;for(te=0;te<d.length;te++)Y[te]=d[te].inEdges.length,0===Y[te]&&Z.push(d[te]);var ne=-1;for(;Z.length;){for(var ie=0;ie<Z.length;ie++){var oe=Z[ie],se=oe.hostGraph.data.getRawDataItem(oe.dataIndex),le=null!=se.depth&&se.depth>=0;le&&se.depth>ne&&(ne=se.depth),oe.setLayout({depth:le?se.depth:ee},!0),"vertical"===z?oe.setLayout({dy:x},!0):oe.setLayout({dx:x},!0);for(var ce=0;ce<oe.outEdges.length;ce++){var de=oe.outEdges[ce],he=b.indexOf(de);U[he]=0;var pe=de.node2,fe=d.indexOf(pe);0==--Y[fe]&&J.indexOf(pe)<0&&J.push(pe)}}++ee,Z=J,J=[]}for(te=0;te<U.length;te++)if(1===U[te])throw new Error("Sankey is a DAG, the original data has cycle!");var ge=ne>ee-1?ne:ee-1;W&&"left"!==W&&function(d,b,x,T){if("right"===b){for(var D=[],z=d,W=0;z.length;){for(var U=0;U<z.length;U++){var Y=z[U];Y.setLayout({skNodeHeight:W},!0);for(var Z=0;Z<Y.inEdges.length;Z++){var J=Y.inEdges[Z];D.indexOf(J.node1)<0&&D.push(J.node1)}}z=D,D=[],++W}H.k(d,(function(d){isNodeDepth(d)||d.setLayout({depth:Math.max(0,T-d.getLayout().skNodeHeight)},!0)}))}else"justify"===b&&function(d,b){H.k(d,(function(d){isNodeDepth(d)||d.outEdges.length||d.setLayout({depth:b},!0)}))}(d,T)}(d,W,0,ge);!function(d,b,x){H.k(d,(function(d){var T=d.getLayout().depth*b;"vertical"===x?d.setLayout({y:T},!0):d.setLayout({x:T},!0)}))}(d,"vertical"===z?(D-x)/ge:(T-x)/ge,z)})(d,b,x,D,z,U,Y),function(d,b,x,T,D,z,W){var U=function(d,b){var x=[],T="vertical"===b?"
808y":"x",D=groupData(d,(function(d){return d.getLayout()[T]}));return D.keys.sort((function(d,b){return d-b})),H.k(D.keys,(function(d){x.push(D.buckets.get(d))})),x}(d,W);(function(d,b,x,T,D,z){var W=1/0;H.k(d,(function(d){var b=d.length,U=0;H.k(d,(function(d){U+=d.getLayout().value}));var Y="vertical"===z?(T-(b-1)*D)/U:(x-(b-1)*D)/U;Y<W&&(W=Y)})),H.k(d,(function(d){H.k(d,(function(d,b){var x=d.getLayout().value*W;"vertical"===z?(d.setLayout({x:b},!0),d.setLayout({dx:x},!0)):(d.setLayout({y:b},!0),d.setLayout({dy:x},!0))}))})),H.k(b,(function(d){var b=+d.getValue()*W;d.setLayout({dy:b},!0)}))})(U,b,x,T,D,W),resolveCollisions(U,D,x,T,W);for(var Y=1;z>0;z--)relaxRightToLeft(U,Y*=.99,W),resolveCollisions(U,D,x,T,W),relaxLeftToRight(U,Y,W),resolveCollisions(U,D,x,T,W)}(d,b,z,D,T,W,U),function(d,b){var x="vertical"===b?"x":"y";H.k(d,(function(d){d.outEdges.sort((function(d,b){return d.node2.getLayout()[x]-b.node2.getLayout()[x]})),d.inEdges.sort((function(d,b){return d.node1.getLayout()[x]-b.node1.getLayout()[x]}))})),H.k(d,(function(d){var b=0,x=0;H.k(d.outEdges,(function(d){d.setLayout({sy:b},!0),b+=d.getLayout().dy})),H.k(d.inEdges,(function(d){d.setLayout({ty:x},!0),x+=d.getLayout().dy}))}))}(d,U)}(Z,J,x,T,W,U,0!==H.n(Z,(function(d){return 0===d.getLayout().value})).length?0:d.get("layoutIterations"),d.get("orient"),d.get("nodeAlign"))}))}function isNodeDepth(d){var b=d.hostGraph.data.getRawDataItem(d.dataIndex);return null!=b.depth&&b.depth>=0}function resolveCollisions(d,b,x,T,D){var z="vertical"===D?"x":"y";H.k(d,(function(d){var H,W,U;d.sort((function(d,b){return d.getLayout()[z]-b.getLayout()[z]}));for(var Y=0,Z=d.length,J="vertical"===D?"dx":"dy",ee=0;ee<Z;ee++)(U=Y-(W=d[ee]).getLayout()[z])>0&&(H=W.getLayout()[z]+U,"vertical"===D?W.setLayout({x:H},!0):W.setLayout({y:H},!0)),Y=W.getLayout()[z]+W.getLayout()[J]+b;if((U=Y-b-("vertical"===D?T:x))>0){H=W.getLayout()[z]-U,"vertical"===D?W.setLayout({x:H},!0):W.setLayout({y:H},!0),Y=H;for(ee=Z-2;ee>=0;--ee)(U=(W=d[ee]).getLayout()[z]+W.getLayout()[J]+b-Y)>0&&(H=W.getLayout()[z]-U,"vertical"===D?W.setLayout({x:H},!0):W.setLayout({y:H},!0)),Y=W.getLayout()[z]}}))}function relaxRightToLeft(d,b,x){H.k(d.slice().reverse(),(function(d){H.k(d,(function(d){if(d.outEdges.length){var T=sankeyLayout_sum(d.outEdges,weightedTarget,x)/sankeyLayout_sum(d.outEdges,getEdgeValue);if(isNaN(T)){var D=d.outEdges.length;T=D?sankeyLayout_sum(d.outEdges,centerTarget,x)/D:0}if("vertical"===x){var z=d.getLayout().x+(T-sankeyLayout_center(d,x))*b;d.setLayout({x:z},!0)}else{var H=d.getLayout().y+(T-sankeyLayout_center(d,x))*b;d.setLayout({y:H},!0)}}}))}))}function weightedTarget(d,b){return sankeyLayout_center(d.node2,b)*d.getValue()}function centerTarget(d,b){return sankeyLayout_center(d.node2,b)}function weightedSource(d,b){return sankeyLayout_center(d.node1,b)*d.getValue()}function centerSource(d,b){return sankeyLayout_center(d.node1,b)}function sankeyLayout_center(d,b){return"vertical"===b?d.getLayout().x+d.getLayout().dx/2:d.getLayout().y+d.getLayout().dy/2}function getEdgeValue(d){return d.getValue()}function sankeyLayout_sum(d,b,x){for(var T=0,D=d.length,z=-1;++z<D;){var H=+b(d[z],x);isNaN(H)||(T+=H)}return T}function relaxLeftToRight(d,b,x){H.k(d,(function(d){H.k(d,(function(d){if(d.inEdges.length){var T=sankeyLayout_sum(d.inEdges,weightedSource,x)/sankeyLayout_sum(d.inEdges,getEdgeValue);if(isNaN(T)){var D=d.inEdges.length;T=D?sankeyLayout_sum(d.inEdges,centerSource,x)/D:0}if("vertical"===x){var z=d.getLayout().x+(T-sankeyLayout_center(d,x))*b;d.setLayout({x:z},!0)}else{var H=d.getLayout().y+(T-sankeyLayout_center(d,x))*b;d.setLayout({y:H},!0)}}}))}))}function sankeyVisual(d){d.eachSeriesByType("sankey",(function(d){var b=d.getGraph(),x=b.nodes,T=b.edges;if(x.length){var D=1/0,z=-1/0;H.k(x,(function(d){var b=d.getLayout().value;b<D&&(D=b),b>z&&(z=b)})),H.k(x,(function(b){var x=new Ff({type:"color",mappingMethod:"linear",dataExtent:[D,z],visual:d.get("color")}).mapValueToVisual(b.getLayout().value),T=b.getModel().get(["itemStyle","color"]);null!=T?(b.setVisual("color",T),b.setVisual("style",{fill:T})):(b.setVisual("color",x),b.setVisual("style",{fill:x}))}))}T.length&&H.k(T,(function(d){var b=d.getModel().get("lineStyle");d.setVisual("style",b)}))}))}var vm=function(){function WhiskerBoxCommonMixin(){}return WhiskerBoxCommonMixin.prototype._hasEncodeRule=function(d){var b=this.getEncode();return b&&null!=b.get(d)},WhiskerBoxCommonMixin.prototype.getInitialData=function(d,b){var x,T,D=b.getComponent("xAxis",this.get("xAxisIndex")),z=b.getComponent("yAxis",this.get("yAxisIndex")),W=D.get("type"),U=z.get("type");"category"===W?(d.layout="horizontal",x=D.getOrdinalMeta(),T=!this._hasEncodeRule("x")):"category"===U?(d.layout="vertical",x=z.getOrdinalMeta(),T=!this._hasEncodeRule("y")):d.layout=d.layout||"horizontal";var Y=["x","y"],Z="horizontal"===d.layout?0:1,J=this._baseAxisDim=Y[Z],ee=Y[1-Z],te=[D,z],ne=te[Z].get("type"),ie=te[1-Z].get("type"),oe=d.data;if(oe&&T){var se=[];H.k(oe,(function(d,b){var x;H.t(d)?(x=d.slice(),d.unshift(b)):H.t(d.value)?((x=H.m({},d)).value=x.value.slice(),d.value.unshift(b)):x=d,se.push(x)})),d.data=se}var le=this.defaultValueDimensions,ce=[{name:J,type:getDimensionTypeByAxis(ne),ordinalMeta:x,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:ee,type:getDimensionTypeByAxis(ie),dimsDef:le.slice()}];return createSeriesDataSimply(this,{coordDimensions:ce,dimensionsCount:le.length+1,encodeDefaulter:H.h(makeSeriesEncodeForAxisCoordSys,ce,this)})},WhiskerBoxCommonMixin.prototype.getBaseAxis=function(){var d=this._baseAxisDim;return this.ecModel.getComponent(d+"Axis",this.get(d+"AxisIndex")).axis},WhiskerBoxCommonMixin}(),bm=function(d){function BoxplotSeriesModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=BoxplotSeriesModel.type,b.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],b.visualDrawType="stroke",b}return __extends(BoxplotSeriesModel,d),BoxplotSeriesModel.type="series.boxplot",BoxplotSeriesModel.dependencies=["xAxis","yAxis","grid"],BoxplotSeriesModel.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:Fo.color.neutral00,borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:Fo.color.shadow}},animationDuration:800},BoxplotSeriesModel}(es);Object(H.K)(bm,vm,!0);
vendor: 5,506 bytes, line 808
808var xm=bm,_m=function(d){function BoxplotView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=BoxplotView.type,b}return __extends(BoxplotView,d),BoxplotView.prototype.render=function(d,b,x){var T=d.getData(),D=this.group,z=this._data;this._data||D.removeAll();var H="horizontal"===d.get("layout")?1:0;T.diff(z).add((function(d){if(T.hasValue(d)){var b=createNormalBox(T.getItemLayout(d),T,d,H,!0);T.setItemGraphicEl(d,b),D.add(b)}})).update((function(d,b){var x=z.getItemGraphicEl(b);if(T.hasValue(d)){var W=T.getItemLayout(d);x?(saveOldStyle(x),updateNormalBoxData(W,x,T,d)):x=createNormalBox(W,T,d,H),D.add(x),T.setItemGraphicEl(d,x)}else D.remove(x)})).remove((function(d){var b=z.getItemGraphicEl(d);b&&D.remove(b)})).execute(),this._data=T},BoxplotView.prototype.remove=function(d){var b=this.group,x=this._data;this._data=null,x&&x.eachItemGraphicEl((function(d){d&&b.remove(d)}))},BoxplotView.type="boxplot",BoxplotView}(gl),BoxPathShape=function(){},wm=function(d){function BoxPath(b){var x=d.call(this,b)||this;return x.type="boxplotBoxPath",x}return __extends(BoxPath,d),BoxPath.prototype.getDefaultShape=function(){return new BoxPathShape},BoxPath.prototype.buildPath=function(d,b){var x=b.points,T=0;for(d.moveTo(x[T][0],x[T][1]),T++;T<4;T++)d.lineTo(x[T][0],x[T][1]);for(d.closePath();T<x.length;T++)d.moveTo(x[T][0],x[T][1]),T++,d.lineTo(x[T][0],x[T][1])},BoxPath}(cr);function createNormalBox(d,b,x,T,D){var z=d.ends,H=new wm({shape:{points:D?transInit(z,T,d):z}});return updateNormalBoxData(d,H,b,x,D),H}function updateNormalBoxData(d,b,x,D,z){var H=x.hostModel;(0,T[z?"initProps":"updateProps"])(b,{shape:{points:d.ends}},H,D),b.useStyle(x.getItemVisual(D,"style")),b.style.strokeNoScale=!0,b.z2=100;var W=x.getItemModel(D),U=W.getModel("emphasis");setStatesStylesFromModel(b,W),toggleHoverEmphasis(b,U.get("focus"),U.get("blurScope"),U.get("disabled"))}function transInit(d,b,x){return H.H(d,(function(d){return(d=d.slice())[b]=x.initBaseline,d}))}var Sm=_m,Mm=H.k;function boxplotLayout(d){var b=function(d){var b=[],x=[];return d.eachSeriesByType("boxplot",(function(d){var T=d.getBaseAxis(),D=H.r(x,T);D<0&&(D=x.length,x[D]=T,b[D]={axis:T,seriesModels:[]}),b[D].seriesModels.push(d)})),b}(d);Mm(b,(function(d){var b=d.seriesModels;b.length&&(!function(d){var b,x=d.axis,T=d.seriesModels,D=T.length,z=d.boxWidthList=[],W=d.boxOffsetList=[],U=[];if("category"===x.type)b=x.getBandWidth();else{var Y=0;Mm(T,(function(d){Y=Math.max(Y,d.getData().count())}));var Z=x.getExtent();b=Math.abs(Z[1]-Z[0])/Y}Mm(T,(function(d){var x=d.get("boxWidth");H.t(x)||(x=[x,x]),U.push([number_parsePercent(x[0],b)||0,number_parsePercent(x[1],b)||0])}));var J=.8*b-2,ee=J/D*.3,te=(J-ee*(D-1))/D,ne=te/2-J/2;Mm(T,(function(d,b){W.push(ne),ne+=ee+te,z.push(Math.min(Math.max(te,U[b][0]),U[b][1]))}))}(d),Mm(b,(function(b,x){!function(d,b,x){var T=d.coordinateSystem,D=d.getData(),z=x/2,H="horizontal"===d.get("layout")?0:1,W=1-H,U=["x","y"],Y=D.mapDimension(U[H]),Z=D.mapDimensionsAll(U[W]);if(null==Y||Z.length<5)return;for(var J=0;J<D.count();J++){var ee=D.get(Y,J),te=getPoint(ee,Z[2],J),ne=getPoint(ee,Z[0],J),ie=getPoint(ee,Z[1],J),oe=getPoint(ee,Z[3],J),se=getPoint(ee,Z[4],J),le=[];addBodyEnd(le,ie,!1),addBodyEnd(le,oe,!0),le.push(ne,ie,se,oe),layEndLine(le,ne),layEndLine(le,se),layEndLine(le,te),D.setItemLayout(J,{initBaseline:te[W],ends:le})}function getPoint(d,x,z){var U,Y=D.get(x,z),Z=[];return Z[H]=d,Z[W]=Y,isNaN(d)||isNaN(Y)?U=[NaN,NaN]:(U=T.dataToPoint(Z))[H]+=b,U}function addBodyEnd(d,b,x){var T=b.slice(),D=b.slice();T[H]+=z,D[H]-=z,x?d.push(T,D):d.push(D,T)}function layEndLine(d,b){var x=b.slice(),T=b.slice();x[H]-=z,T[H]+=z,d.push(x,T)}}(b,d.boxOffsetList[x],d.boxWidthList[x])})))}))}var Cm={type:"echarts:boxplot",transform:function(d){var b=d.upstream;if("arrayRows"!==b.sourceFormat){0,throwError("")}var x=function(d,b){for(var x=[],T=[],D=(b=b||{}).boundIQR,z="none"===D||0===D,W=0;W<d.length;W++){var U=asc(d[W].slice()),Y=quantile(U,.25),Z=quantile(U,.5),J=quantile(U,.75),ee=U[0],te=U[U.length-1],ne=(null==D?1.5:D)*(J-Y),ie=z?ee:Math.max(ee,Y-ne),oe=z?te:Math.min(te,J+ne),se=b.itemNameFormatter,le=Object(H.w)(se)?se({value:W}):Object(H.C)(se)?se.replace("{value}",W+""):W+"";x.push([le,ie,Y,Z,J,oe]);for(var ce=0;ce<U.length;ce++){var de=U[ce];if(de<ie||de>oe){var he=[le,de];T.push(he)}}}return{boxData:x,outliers:T}}(b.getRawData(),d.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:x.boxData},{data:x.outliers}]}};var Tm=["itemStyle","borderColor"],km=["itemStyle","borderColor0"],Am=["itemStyle","borderColorDoji"],Pm=["itemStyle","color"],Om=["itemStyle","color0"];function candlestickVisual_getColor(d,b){return b.get(d>0?Pm:Om)}function getBorderColor(d,b){return b.get(0===d?Am:d>0?Tm:km)}var Im={seriesType:"candlestick",plan:createRenderPlanner(),performRawSeries:!0,reset:function(d,b){if(!b.isSeriesFiltered(d))return!d.pipelineContext.large&&{progress:function(d,b){for(var x;null!=(x=d.next());){var T=b.getItemModel(x),D=b.getItemLayout(x).sign,z=T.getItemStyle();z.fill=candlestickVisual_getColor(D,T),z.stroke=getBorderColor(D,T)||z.fill;var W=b.ensureUniqueItemVisual(x,"style");Object(H.m)(W,z)}}}}},Dm=["color","borderColor"],Em=function(d){function CandlestickView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=CandlestickView.type,b}return __extends(CandlestickView,d),CandlestickView.prototype.render=function(d,b,x){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(d
vendor: 4,868 bytes, line 808
808),this._isLargeDraw?this._renderLarge(d):this._renderNormal(d)},CandlestickView.prototype.incrementalPrepareRender=function(d,b,x){this._clear(),this._updateDrawMode(d)},CandlestickView.prototype.incrementalRender=function(d,b,x,T){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(d,b):this._incrementalRenderNormal(d,b)},CandlestickView.prototype.eachRendered=function(d){traverseElements(this._progressiveEls||this.group,d)},CandlestickView.prototype._updateDrawMode=function(d){var b=d.pipelineContext.large;null!=this._isLargeDraw&&b===this._isLargeDraw||(this._isLargeDraw=b,this._clear())},CandlestickView.prototype._renderNormal=function(d){var b=d.getData(),x=this._data,T=this.group,D=b.getLayout("isSimpleBox"),z=d.get("clip",!0),H=d.coordinateSystem,W=H.getArea&&H.getArea();this._data||T.removeAll(),b.diff(x).add((function(x){if(b.hasValue(x)){var H=b.getItemLayout(x);if(z&&isNormalBoxClipped(W,H))return;var U=CandlestickView_createNormalBox(H,x,!0);initProps(U,{shape:{points:H.ends}},d,x),setBoxCommon(U,b,x,D),T.add(U),b.setItemGraphicEl(x,U)}})).update((function(H,U){var Y=x.getItemGraphicEl(U);if(b.hasValue(H)){var Z=b.getItemLayout(H);z&&isNormalBoxClipped(W,Z)?T.remove(Y):(Y?(updateProps(Y,{shape:{points:Z.ends}},d,H),saveOldStyle(Y)):Y=CandlestickView_createNormalBox(Z,H),setBoxCommon(Y,b,H,D),T.add(Y),b.setItemGraphicEl(H,Y))}else T.remove(Y)})).remove((function(d){var b=x.getItemGraphicEl(d);b&&T.remove(b)})).execute(),this._data=b},CandlestickView.prototype._renderLarge=function(d){this._clear(),CandlestickView_createLarge(d,this.group);var b=d.get("clip",!0)?createClipPath(d.coordinateSystem,!1,d):null;b?this.group.setClipPath(b):this.group.removeClipPath()},CandlestickView.prototype._incrementalRenderNormal=function(d,b){for(var x,T=b.getData(),D=T.getLayout("isSimpleBox");null!=(x=d.next());){var z=CandlestickView_createNormalBox(T.getItemLayout(x),x);setBoxCommon(z,T,x,D),z.incremental=!0,this.group.add(z),this._progressiveEls.push(z)}},CandlestickView.prototype._incrementalRenderLarge=function(d,b){CandlestickView_createLarge(b,this.group,this._progressiveEls,!0)},CandlestickView.prototype.remove=function(d){this._clear()},CandlestickView.prototype._clear=function(){this.group.removeAll(),this._data=null},CandlestickView.type="candlestick",CandlestickView}(gl),NormalBoxPathShape=function(){},Lm=function(d){function NormalBoxPath(b){var x=d.call(this,b)||this;return x.type="normalCandlestickBox",x}return __extends(NormalBoxPath,d),NormalBoxPath.prototype.getDefaultShape=function(){return new NormalBoxPathShape},NormalBoxPath.prototype.buildPath=function(d,b){var x=b.points;this.__simpleBox?(d.moveTo(x[4][0],x[4][1]),d.lineTo(x[6][0],x[6][1])):(d.moveTo(x[0][0],x[0][1]),d.lineTo(x[1][0],x[1][1]),d.lineTo(x[2][0],x[2][1]),d.lineTo(x[3][0],x[3][1]),d.closePath(),d.moveTo(x[4][0],x[4][1]),d.lineTo(x[5][0],x[5][1]),d.moveTo(x[6][0],x[6][1]),d.lineTo(x[7][0],x[7][1]))},NormalBoxPath}(cr);function CandlestickView_createNormalBox(d,b,x){var T=d.ends;return new Lm({shape:{points:x?CandlestickView_transInit(T,d):T},z2:100})}function isNormalBoxClipped(d,b){for(var x=!0,T=0;T<b.ends.length;T++)if(d.contain(b.ends[T][0],b.ends[T][1])){x=!1;break}return x}function setBoxCommon(d,b,x,T){var D=b.getItemModel(x);d.useStyle(b.getItemVisual(x,"style")),d.style.strokeNoScale=!0,d.__simpleBox=T,setStatesStylesFromModel(d,D);var z=b.getItemLayout(x).sign;H.k(d.states,(function(d,b){var x=D.getModel(b),T=candlestickVisual_getColor(z,x),H=getBorderColor(z,x)||T,W=d.style||(d.style={});T&&(W.fill=T),H&&(W.stroke=H)}));var W=D.getModel("emphasis");toggleHoverEmphasis(d,W.get("focus"),W.get("blurScope"),W.get("disabled"))}function CandlestickView_transInit(d,b){return H.H(d,(function(d){return(d=d.slice())[1]=b.initBaseline,d}))}var LargeBoxPathShape=function(){},Rm=function(d){function LargeBoxPath(b){var x=d.call(this,b)||this;return x.type="largeCandlestickBox",x}return __extends(LargeBoxPath,d),LargeBoxPath.prototype.getDefaultShape=function(){return new LargeBoxPathShape},LargeBoxPath.prototype.buildPath=function(d,b){for(var x=b.points,T=0;T<x.length;)if(this.__sign===x[T++]){var D=x[T++];d.moveTo(D,x[T++]),d.lineTo(D,x[T++])}else T+=3},LargeBoxPath}(cr);function CandlestickView_createLarge(d,b,x,T){var D=d.getData(),z=D.getLayout("largePoints"),H=new Rm({shape:{points:z},__sign:1,ignoreCoarsePointer:!0});b.add(H);var W=new Rm({shape:{points:z},__sign:-1,ignoreCoarsePointer:!0});b.add(W);var U=new Rm({shape:{points:z},__sign:0,ignoreCoarsePointer:!0});b.add(U),setLargeStyle(1,H,d,D),setLargeStyle(-1,W,d,D),setLargeStyle(0,U,d,D),T&&(H.incremental=!0,W.incremental=!0),x&&x.push(H,W)}function setLargeStyle(d,b,x,T){var D=getBorderColor(d,x)||candlestickVisual_getColor(d,x),z=x.getModel("itemStyle").getItemStyle(Dm);b.useStyle(z),b.style.fill=null,b.style.stroke=D}
vendor: 18,419 bytes, line 808
808var Bm=Em,Nm=function(d){function CandlestickSeriesModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=CandlestickSeriesModel.type,b.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],b}return __extends(CandlestickSeriesModel,d),CandlestickSeriesModel.prototype.getShadowDim=function(){return"open"},CandlestickSeriesModel.prototype.brushSelector=function(d,b,x){var T=b.getItemLayout(d);return T&&x.rect(T.brushRect)},CandlestickSeriesModel.type="series.candlestick",CandlestickSeriesModel.dependencies=["xAxis","yAxis","grid"],CandlestickSeriesModel.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderColorDoji:null,borderWidth:1},emphasis:{itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},CandlestickSeriesModel}(es);Object(H.K)(Nm,vm,!0);var jm=Nm;function candlestickPreprocessor(d){d&&H.t(d.series)&&H.k(d.series,(function(d){H.A(d)&&"k"===d.type&&(d.type="candlestick")}))}function getSign(d,b,x,T,D,z){return x>T?-1:x<T?1:z?0:b>0?d.get(D,b-1)<=T?1:-1:1}var Vm={seriesType:"candlestick",plan:createRenderPlanner(),reset:function(d){var b=d.coordinateSystem,x=d.getData(),T=function(d,b){var x,T=d.getBaseAxis(),D="category"===T.type?T.getBandWidth():(x=T.getExtent(),Math.abs(x[1]-x[0])/b.count()),z=number_parsePercent(Object(H.P)(d.get("barMaxWidth"),D),D),W=number_parsePercent(Object(H.P)(d.get("barMinWidth"),1),D),U=d.get("barWidth");return null!=U?number_parsePercent(U,D):Math.max(Math.min(D/2,z),W)}(d,x),D=["x","y"],z=x.getDimensionIndex(x.mapDimension(D[0])),W=Object(H.H)(x.mapDimensionsAll(D[1]),x.getDimensionIndex,x),U=W[0],Y=W[1],Z=W[2],J=W[3];if(x.setLayout({candleWidth:T,isSimpleBox:T<=1.3}),!(z<0||W.length<4))return{progress:d.pipelineContext.large?function(x,T){var D,H,W=createFloat32Array(4*x.count),ee=0,te=[],ne=[],ie=T.getStore(),oe=!!d.get(["itemStyle","borderColorDoji"]);for(;null!=(H=x.next());){var se=ie.get(z,H),le=ie.get(U,H),ce=ie.get(Y,H),de=ie.get(Z,H),he=ie.get(J,H);isNaN(se)||isNaN(de)||isNaN(he)?(W[ee++]=NaN,ee+=3):(W[ee++]=getSign(ie,H,le,ce,Y,oe),te[0]=se,te[1]=de,D=b.dataToPoint(te,null,ne),W[ee++]=D?D[0]:NaN,W[ee++]=D?D[1]:NaN,te[1]=he,D=b.dataToPoint(te,null,ne),W[ee++]=D?D[1]:NaN)}T.setLayout("largePoints",W)}:function(d,x){var D,H=x.getStore();for(;null!=(D=d.next());){var W=H.get(z,D),ee=H.get(U,D),te=H.get(Y,D),ne=H.get(Z,D),ie=H.get(J,D),oe=Math.min(ee,te),se=Math.max(ee,te),le=getPoint(oe,W),ce=getPoint(se,W),de=getPoint(ne,W),he=getPoint(ie,W),pe=[];addBodyEnd(pe,ce,0),addBodyEnd(pe,le,1),pe.push(subPixelOptimizePoint(he),subPixelOptimizePoint(ce),subPixelOptimizePoint(de),subPixelOptimizePoint(le));var fe=!!x.getItemModel(D).get(["itemStyle","borderColorDoji"]);x.setItemLayout(D,{sign:getSign(H,D,ee,te,Y,fe),initBaseline:ee>te?ce[1]:le[1],ends:pe,brushRect:makeBrushRect(ne,ie,W)})}function getPoint(d,x){var T=[];return T[0]=x,T[1]=d,isNaN(x)||isNaN(d)?[NaN,NaN]:b.dataToPoint(T)}function addBodyEnd(d,b,x){var D=b.slice(),z=b.slice();D[0]=ll(D[0]+T/2,1,!1),z[0]=ll(z[0]-T/2,1,!0),x?d.push(D,z):d.push(z,D)}function makeBrushRect(d,b,x){var D=getPoint(d,x),z=getPoint(b,x);return D[0]-=T/2,z[0]-=T/2,{x:D[0],y:D[1],width:T,height:z[1]-D[1]}}function subPixelOptimizePoint(d){return d[0]=ll(d[0],1),d}}}}};function updateRipplePath(d,b){var x=b.rippleEffectColor||b.color;d.eachChild((function(d){d.attr({z:b.z,zlevel:b.zlevel,style:{stroke:"stroke"===b.brushType?x:null,fill:"fill"===b.brushType?x:null}})}))}var zm=function(d){function EffectSymbol(b,x){var T=d.call(this)||this,D=new ad(b,x),z=new Xn;return T.add(D),T.add(z),T.updateData(b,x),T}return __extends(EffectSymbol,d),EffectSymbol.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},EffectSymbol.prototype.startEffectAnimation=function(d){for(var b=d.symbolType,x=d.color,T=d.rippleNumber,D=this.childAt(1),z=0;z<T;z++){var H=symbol_createSymbol(b,-1,-1,2,2,x);H.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scaleX:.5,scaleY:.5});var W=-z/T*d.period+d.effectOffset;H.animate("",!0).when(d.period,{scaleX:d.rippleScale/2,scaleY:d.rippleScale/2}).delay(W).start(),H.animateStyle(!0).when(d.period,{opacity:0}).delay(W).start(),D.add(H)}updateRipplePath(D,d)},EffectSymbol.prototype.updateEffectAnimation=function(d){for(var b=this._effectCfg,x=this.childAt(1),T=["symbolType","period","rippleScale","rippleNumber"],D=0;D<T.length;D++){var z=T[D];if(b[z]!==d[z])return this.stopEffectAnimation(),void this.startEffectAnimation(d)}updateRipplePath(x,d)},EffectSymbol.prototype.highlight=function(){enterEmphasis(this)},EffectSymbol.prototype.downplay=function(){leaveEmphasis(this)},EffectSymbol.prototype.getSymbolType=function(){var d=this.childAt(0);return d&&d.getSymbolType()},EffectSymbol.prototype.updateData=function(d,b){var x=this,T=d.hostModel;this.childAt(0).updateData(d,b);var D=this.childAt(1),z=d.getItemModel(b),H=d.getItemVisual(b,"symbol"),W=normalizeSymbolSize(d.getItemVisual(b,"symbolSize")),U=d.getItemVisual(b,"style"),Y=U&&U.fill,Z=z.getModel("emphasis");D.setScale(W),D.traverse((function(d){d.setStyle("fill",Y)}));var J=normalizeSymbolOffset(d.getItemVisual(b,"symbolOffset"),W);J&&(D.x=J[0],D.y=J[1]);var ee=d.getItemVisual(b,"symbolRotate");D.rotation=(ee||0)*Math.PI/180||0;var te={};te.showEffectOn=T.get("showEffectOn"),te.rippleScale=z.get(["rippleEffect","scale"]),te.brushType=z.get(["rippleEffect","brushType"]),te.period=1e3*z.get(["rippleEffect","period"]),te.effectOffset=b/d.count(),te.z=T.getShallow("z")||0,te.zlevel=T.getShallow("zlevel")||0,te.symbolType=H,te.color=Y,te.rippleEffectColor=z.get(["rippleEffect","color"]),te.rippleNumber=z.get(["rippleEffect","number"]),"render"===te.showEffectOn?(this._effectCfg?this.updateEffectAnimation(te):this.startEffectAnimation(te),this._effectCfg=te):(this._effectCfg=null,this.stopEffectAnimation(),this.onHoverStateChange=function(d){"emphasis"===d?"render"!==te.showEffectOn&&x.startEffectAnimation(te):"normal"===d&&"render"!==te.showEffectOn&&x.stopEffectAnimation()}),this._effectCfg=te,toggleHoverEmphasis(this,Z.get("focus"),Z.get("blurScope"),Z.get("disabled"))},EffectSymbol.prototype.fadeOut=function(d){d&&d()},EffectSymbol}(Xn),Fm=function(d){function EffectScatterView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=EffectScatterView.type,b}return __extends(EffectScatterView,d),EffectScatterView.prototype.init=function(){this._symbolDraw=new sd(zm)},EffectScatterView.prototype.render=function(d,b,x){var T=d.getData(),D=this._symbolDraw;D.updateData(T,{clipShape:this._getClipShape(d)}),this.group.add(D.group)},EffectScatterView.prototype._getClipShape=function(d){var b=d.coordinateSystem,x=b&&b.getArea&&b.getArea();return d.get("clip",!0)?x:null},EffectScatterView.prototype.updateTransform=function(d,b,x){var T=d.getData();this.group.dirty();var D=pointsLayout("").reset(d,b,x);D.progress&&D.progress({start:0,end:T.count(),count:T.count()},T),this._symbolDraw.updateLayout()},EffectScatterView.prototype._updateGroupTransform=function(d){var b,x,T=d.coordinateSystem;T&&T.getRoamTransform&&(this.group.transform=(b=T.getRoamTransform(),matrix_copy(x=[1,0,0,1,0,0],b),x),this.group.decomposeTransform())},EffectScatterView.prototype.remove=function(d,b){this._symbolDraw&&this._symbolDraw.remove(!0)},EffectScatterView.type="effectScatter",EffectScatterView}(gl),Hm=function(d){function EffectScatterSeriesModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=EffectScatterSeriesModel.type,b.hasSymbolVisual=!0,b}return __extends(EffectScatterSeriesModel,d),EffectScatterSeriesModel.prototype.getInitialData=function(d,b){return helper_createSeriesData(null,this,{useEncodeDefaulter:!0})},EffectScatterSeriesModel.prototype.brushSelector=function(d,b,x){return x.point(b.getItemLayout(d))},EffectScatterSeriesModel.type="series.effectScatter",EffectScatterSeriesModel.dependencies=["grid","polar"],EffectScatterSeriesModel.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",clip:!0,rippleEffect:{period:4,scale:2.5,brushType:"fill",number:3},universalTransition:{divideShape:"clone"},symbolSize:10},EffectScatterSeriesModel}(es);var Gm=function(d){function EffectLine(b,x,T){var D=d.call(this)||this;return D.add(D.createLine(b,x,T)),D._updateEffectSymbol(b,x),D}return __extends(EffectLine,d),EffectLine.prototype.createLine=function(d,b,x){return new sg(d,b,x)},EffectLine.prototype._updateEffectSymbol=function(d,b){var x=d.getItemModel(b).getModel("effect"),T=x.get("symbolSize"),D=x.get("symbol");H.t(T)||(T=[T,T]);var z=d.getItemVisual(b,"style"),W=x.get("color")||z&&z.stroke,U=this.childAt(1);this._symbolType!==D&&(this.remove(U),(U=symbol_createSymbol(D,-.5,-.5,1,1,W)).z2=100,U.culling=!0,this.add(U)),U&&(U.setStyle("shadowColor",W),U.setStyle(x.getItemStyle(["color"])),U.scaleX=T[0],U.scaleY=T[1],U.setColor(W),this._symbolType=D,this._symbolScale=T,this._updateEffectAnimation(d,x,b))},EffectLine.prototype._updateEffectAnimation=function(d,b,x){var T=this.childAt(1);if(T){var D=d.getItemLayout(x),z=1e3*b.get("period"),W=b.get("loop"),U=b.get("roundTrip"),Y=b.get("constantSpeed"),Z=H.O(b.get("delay"),(function(b){return b/d.count()*z/3}));if(T.ignore=!0,this._updateAnimationPoints(T,D),Y>0&&(z=this._getLineLength(T)/Y*1e3),z!==this._period||W!==this._loop||U!==this._roundTrip){T.stopAnimation();var J=void 0;J=H.w(Z)?Z(x):Z,T.__t>0&&(J=-z*T.__t),this._animateSymbol(T,z,J,W,U)}this._period=z,this._loop=W,this._roundTrip=U}},EffectLine.prototype._animateSymbol=function(d,b,x,T,D){if(b>0){d.__t=0;var z=this,H=d.animate("",T).when(D?2*b:b,{__t:D?2:1}).delay(x).during((function(){z._updateSymbolPosition(d)}));T||H.done((function(){z.remove(d)})),H.start()}},EffectLine.prototype._getLineLength=function(d){return W(d.__p1,d.__cp1)+W(d.__cp1,d.__p2)},EffectLine.prototype._updateAnimationPoints=function(d,b){d.__p1=b[0],d.__p2=b[1],d.__cp1=b[2]||[(b[0][0]+b[1][0])/2,(b[0][1]+b[1][1])/2]},EffectLine.prototype.updateData=function(d,b,x){this.childAt(0).updateData(d,b,x),this._updateEffectSymbol(d,b)},EffectLine.prototype._updateSymbolPosition=function(d){var b=d.__p1,x=d.__p2,T=d.__cp1,D=d.__t<1?d.__t:2-d.__t,z=[d.x,d.y],H=z.slice(),U=curve_quadraticAt,Y=curve_quadraticDerivativeAt;z[0]=U(b[0],T[0],x[0],D),z[1]=U(b[1],T[1],x[1],D);var Z=d.__t<1?Y(b[0],T[0],x[0],D):Y(x[0],T[0],b[0],1-D),J=d.__t<1?Y(b[1],T[1],x[1],D):Y(x[1],T[1],b[1],1-D);d.rotation=-Math.atan2(J,Z)-Math.PI/2,"line"!==this._symbolType&&"rect"!==this._symbolType&&"roundRect"!==this._symbolType||(void 0!==d.__lastT&&d.__lastT<d.__t?(d.scaleY=1.05*W(H,z),1===D&&(z[0]=H[0]+(z[0]-H[0])/2,z[1]=H[1]+(z[1]-H[1])/2)):1===d.__lastT?d.scaleY=2*W(b,z):d.scaleY=this._symbolScale[1]),d.__lastT=d.__t,d.ignore=!1,d.x=z[0],d.y=z[1]},EffectLine.prototype.updateLayout=function(d,b){this.childAt(0).updateLayout(d,b);var x=d.getItemModel(b).getModel("effect");this._updateEffectAnimation(d,x,b)},EffectLine}(Xn),$m=function(d){function Polyline(b,x,T){var D=d.call(this)||this;return D._createPolyline(b,x,T),D}return __extends(Polyline,d),Polyline.prototype._createPolyline=function(d,b,x){var T=d.getItemLayout(b),D=new Rs({shape:{points:T}});this.add(D),this._updateCommonStl(d,b,x)},Polyline.prototype.updateData=function(d,b,x){var T=d.hostModel;updateProps(this.childAt(0),{shape:{points:d.getItemLayout(b)}},T,b),this._updateCommonStl(d,b,x)},Polyline.prototype._updateCommonStl=function(d,b,x){var T=this.childAt(0),D=d.getItemModel(b),z=x&&x.emphasisLineStyle,H=x&&x.focus,W=x&&x.blurScope,U=x&&x.emphasisDisabled;if(!x||d.hasItemOption){var Y=D.getModel("emphasis");z=Y.getModel("lineStyle").getLineStyle(),U=Y.get("disabled"),H=Y.get("focus"),W=Y.get("blurScope")}T.useStyle(d.getItemVisual(b,"style")),T.style.fill=null,T.style.strokeNoScale=!0,T.ensureState("emphasis").style=z,toggleHoverEmphasis(this,H,W,U)},Polyline.prototype.updateLayout=function(d,b){this.childAt(0).setShape("points",d.getItemLayout(b))},Polyline}(Xn),Wm=function(d){function EffectPolyline(){var b=null!==d&&d.apply(this,arguments)||this;return b._lastFrame=0,b._lastFramePercent=0,b}return __extends(EffectPolyline,d),EffectPolyline.prototype.createLine=function(d,b,x){return new $m(d,b,x)},EffectPolyline.prototype._updateAnimationPoints=function(d,b){this._points=b;for(var x=[0],T=0,D=1;D<b.length;D++){var z=b[D-1],H=b[D];T+=W(z,H),x.push(T)}if(0!==T){for(D=0;D<x.length;D++)x[D]/=T;this._offsets=x,this._length=T}else this._length=0},EffectPolyline.prototype._getLineLength=function(){return this._length},EffectPolyline.prototype._updateSymbolPosition=function(d){var b=d.__t<1?d.__t:2-d.__t,x=this._points,T=this._offsets,D=x.length;if(T){var z,H=this._lastFrame;if(b<this._lastFramePercent){for(z=Math.min(H+1,D-1);z>=0&&!(T[z]<=b);z--);z=Math.min(z,D-2)}else{for(z=H;z<D&&!(T[z]>b);z++);z=Math.min(z-1,D-2)}var W=(b-T[z])/(T[z+1]-T[z]),U=x[z],Y=x[z+1];d.x=U[0]*(1-W)+W*Y[0],d.y=U[1]*(1-W)+W*Y[1];var Z=d.__t<1?Y[0]-U[0]:U[0]-Y[0],J=d.__t<1?Y[1]-U[1]:U[1]-Y[1];d.rotation=-Math.atan2(J,Z)-Math.PI/2,this._lastFrame=z,this._lastFramePercent=b,d.ignore=!1}},EffectPolyline}(Gm),LargeLinesPathShape=function(){this.polyline=!1,this.curveness=0,this.segs=[]},Um=function(d){function LargeLinesPath(b){var x=d.call(this,b)||this;return x._off=0,x.hoverDataIdx=-1,x}return __extends(LargeLinesPath,d),LargeLinesPath.prototype.reset=function(){this.notClear=!1,this._off=0},LargeLinesPath.prototype.getDefaultStyle=function(){return{stroke:Fo.color.neutral99,fill:null}},LargeLinesPath.prototype.getDefaultShape=function(){return new LargeLinesPathShape},LargeLinesPath.prototype.buildPath=function(d,b){var x,T=b.segs,D=b.curveness;if(b.polyline)for(x=this._off;x<T.length;){var z=T[x++];if(z>0){d.moveTo(T[x++],T[x++]);for(var H=1;H<z;H++)d.lineTo(T[x++],T[x++])}}else for(x=this._off;x<T.length;){var W=T[x++],U=T[x++],Y=T[x++],Z=T[x++];if(d.moveTo(W,U),D>0){var J=(W+Y)/2-(U-Z)*D,ee=(U+Z)/2-(Y-W)*D;d.quadraticCurveTo(J,ee,Y,Z)}else d.lineTo(Y,Z)}this.incremental&&(this._off=x,this.notClear=!0)},LargeLinesPath.prototype.findDataIndex=function(d,b){var x=this.shape,T=x.segs,D=x.curveness,z=this.style.lineWidth;if(x.polyline)for(var H=0,W=0;W<T.length;){var U=T[W++];if(U>0)for(var Y=T[W++],Z=T[W++],J=1;J<U;J++){if(containStroke(Y,Z,ee=T[W++],te=T[W++],z,d,b))return H}H++}else for(H=0,W=0;W<T.length;){Y=T[W++],Z=T[W++];var ee=T[W++],te=T[W++];if(D>0){if(quadratic_containStroke(Y,Z,(Y+ee)/2-(Z-te)*D,(Z+te)/2-(ee-Y)*D,ee,te,z,d,b))return H}else if(containStroke(Y,Z,ee,te,z,d,b))return H;H++}return-1},LargeLinesPath.prototype.contain=function(d,b){var x=this.transformCoordToLocal(d,b),T=this.getBoundingRect();return d=x[0],b=x[1],T.contain(d,b)?(this.hoverDataIdx=this.findDataIndex(d,b))>=0:(this.hoverDataIdx=-1,!1)},LargeLinesPath.prototype.getBoundingRect=function(){var d=this._rect;if(!d){for(var b=this.shape.segs,x=1/0,T=1/0,D=-1/0,z=-1/0,H=0;H<b.length;){var W=b[H++],U=b[H++];x=Math.min(W,x),D=Math.max(W,D),T=Math.min(U,T),z=Math.max(U,z)}d=this._rect=new Ee(x,T,D,z)}return d},LargeLinesPath}(cr),Ym=function(){function LargeLineDraw(){this.group=new Xn}return LargeLineDraw.prototype.updateData=function(d){this._clear();var b=this._create();b.setShape({segs:d.getLayout("linesPoints")}),this._setCommon(b,d)},LargeLineDraw.prototype.incrementalPrepareUpdate=function(d){this.group.removeAll(),this._clear()},LargeLineDraw.prototype.incrementalUpdate=function(d,b){var x=this._newAdded[0],T=b.getLayout("linesPoints"),D=x&&x.shape.segs;if(D&&D.length<2e4){var z=D.length,H=new Float32Array(z+T.length);H.set(D),H.set(T,z),x.setShape({segs:H})}else{this._newAdded=[];var W=this._create();W.incremental=!0,W.setShape({segs:T}),this._setCommon(W,b),W.__startIndex=d.start}},LargeLineDraw.prototype.remove=function(){this._clear()},LargeLineDraw.prototype.eachRendered=function(d){this._newAdded[0]&&d(this._newAdded[0])},LargeLineDraw.prototype._create=function(){var d=new Um({cursor:"default",ignoreCoarsePointer:!0});return this._newAdded.push(d),this.group.add(d),d},LargeLineDraw.prototype._setCommon=function(d,b,x){var T=b.hostModel;d.setShape({polyline:T.get("polyline"),curveness:T.get(["lineStyle","curveness"])}),d.useStyle(T.getModel("lineStyle").getLineStyle()),d.style.strokeNoScale=!0;var D=b.getVisual("style");D&&D.stroke&&d.setStyle("stroke",D.stroke),d.setStyle("fill",null);var z=Or(d);z.seriesIndex=T.seriesIndex,d.on("mousemove",(function(b){z.dataIndex=null;var x=d.hoverDataIdx;x>0&&(z.dataIndex=x+d.__startIndex)}))},LargeLineDraw.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},LargeLineDraw}(),qm={seriesType:"lines",plan:createRenderPlanner(),reset:function(d){var b=d.coordinateSystem;if(b){var x=d.get("polyline"),T=d.pipelineContext.large;return{progress:function(D,z){var H=[];if(T){var W=void 0,U=D.end-D.start;if(x){for(var Y=0,Z=D.start;Z<D.end;Z++)Y+=d.getLineCoordsCount(Z);W=new Float32Array(U+2*Y)}else W=new Float32Array(4*U);var J=0,ee=[];for(Z=D.start;Z<D.end;Z++){var te=d.getLineCoords(Z,H);x&&(W[J++]=te);for(var ne=0;ne<te;ne++)ee=b.dataToPoint(H[ne],!1,ee),W[J++]=ee[0],W[J++]=ee[1]}z.setLayout("linesPoints",W)}else for(Z=D.start;Z<D.end;Z++){var ie=z.getItemModel(Z),oe=(te=d.getLineCoords(Z,H),[]);if(x)for(var se=0;se<te;se++)oe.push(b.dataToPoint(H[se]));else{oe[0]=b.dataToPoint(H[0]),oe[1]=b.dataToPoint(H[1]);var le=ie.get(["lineStyle","curveness"]);+le&&(oe[2]=[(oe[0][0]+oe[1][0])/2-(oe[0][1]-oe[1][1])*le,(oe[0][1]+oe[1][1])/2-(oe[1][0]-oe[0][0])*le])}z.setItemLayout(Z,oe)}}}}}},Zm=function(d){function LinesView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=LinesView.type,b}return __extends(LinesView,d),LinesView.prototype.render=function(d,b,x){var T=d.getData(),D=this._updateLineDraw(T,d),z=d.get("zlevel"),H=d.get(["effect","trailLength"]),W=x.getZr(),U="svg"===W.painter.getType();U||W.painter.getLayer(z).clear(!0),null==this._lastZlevel||U||W.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(d)&&H>0&&(U||W.configLayer(z,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(H/10+.9,1),0)})),D.updateData(T);
vendor: 4,259 bytes, line 808
808var Y=d.get("clip",!0)&&createClipPath(d.coordinateSystem,!1,d);Y?this.group.setClipPath(Y):this.group.removeClipPath(),this._lastZlevel=z,this._finished=!0},LinesView.prototype.incrementalPrepareRender=function(d,b,x){var T=d.getData();this._updateLineDraw(T,d).incrementalPrepareUpdate(T),this._clearLayer(x),this._finished=!1},LinesView.prototype.incrementalRender=function(d,b,x){this._lineDraw.incrementalUpdate(d,b.getData()),this._finished=d.end===b.getData().count()},LinesView.prototype.eachRendered=function(d){this._lineDraw&&this._lineDraw.eachRendered(d)},LinesView.prototype.updateTransform=function(d,b,x){var T=d.getData(),D=d.pipelineContext;if(!this._finished||D.large||D.progressiveRender)return{update:!0};var z=qm.reset(d,b,x);z.progress&&z.progress({start:0,end:T.count(),count:T.count()},T),this._lineDraw.updateLayout(),this._clearLayer(x)},LinesView.prototype._updateLineDraw=function(d,b){var x=this._lineDraw,T=this._showEffect(b),D=!!b.get("polyline"),z=b.pipelineContext.large;return x&&T===this._hasEffet&&D===this._isPolyline&&z===this._isLargeDraw||(x&&x.remove(),x=this._lineDraw=z?new Ym:new lg(D?T?Wm:$m:T?Gm:sg),this._hasEffet=T,this._isPolyline=D,this._isLargeDraw=z),this.group.add(x.group),x},LinesView.prototype._showEffect=function(d){return!!d.get(["effect","show"])},LinesView.prototype._clearLayer=function(d){var b=d.getZr();"svg"===b.painter.getType()||null==this._lastZlevel||b.painter.getLayer(this._lastZlevel).clear(!0)},LinesView.prototype.remove=function(d,b){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(b)},LinesView.prototype.dispose=function(d,b){this.remove(d,b)},LinesView.type="lines",LinesView}(gl),Xm="undefined"==typeof Uint32Array?Array:Uint32Array,Km="undefined"==typeof Float64Array?Array:Float64Array;function compatEc2(d){var b=d.data;b&&b[0]&&b[0][0]&&b[0][0].coord&&(d.data=Object(H.H)(b,(function(d){var b={coords:[d[0].coord,d[1].coord]};return d[0].name&&(b.fromName=d[0].name),d[1].name&&(b.toName=d[1].name),Object(H.J)([b,d[0],d[1]])})))}var Jm=function(d){function LinesSeriesModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=LinesSeriesModel.type,b.visualStyleAccessPath="lineStyle",b.visualDrawType="stroke",b}return __extends(LinesSeriesModel,d),LinesSeriesModel.prototype.init=function(b){b.data=b.data||[],compatEc2(b);var x=this._processFlatCoordsArray(b.data);this._flatCoords=x.flatCoords,this._flatCoordsOffset=x.flatCoordsOffset,x.flatCoords&&(b.data=new Float32Array(x.count)),d.prototype.init.apply(this,arguments)},LinesSeriesModel.prototype.mergeOption=function(b){if(compatEc2(b),b.data){var x=this._processFlatCoordsArray(b.data);this._flatCoords=x.flatCoords,this._flatCoordsOffset=x.flatCoordsOffset,x.flatCoords&&(b.data=new Float32Array(x.count))}d.prototype.mergeOption.apply(this,arguments)},LinesSeriesModel.prototype.appendData=function(d){var b=this._processFlatCoordsArray(d.data);b.flatCoords&&(this._flatCoords?(this._flatCoords=Object(H.e)(this._flatCoords,b.flatCoords),this._flatCoordsOffset=Object(H.e)(this._flatCoordsOffset,b.flatCoordsOffset)):(this._flatCoords=b.flatCoords,this._flatCoordsOffset=b.flatCoordsOffset),d.data=new Float32Array(b.count)),this.getRawData().appendData(d.data)},LinesSeriesModel.prototype._getCoordsFromItemModel=function(d){var b=this.getData().getItemModel(d);return b.option instanceof Array?b.option:b.getShallow("coords")},LinesSeriesModel.prototype.getLineCoordsCount=function(d){return this._flatCoordsOffset?this._flatCoordsOffset[2*d+1]:this._getCoordsFromItemModel(d).length},LinesSeriesModel.prototype.getLineCoords=function(d,b){if(this._flatCoordsOffset){for(var x=this._flatCoordsOffset[2*d],T=this._flatCoordsOffset[2*d+1],D=0;D<T;D++)b[D]=b[D]||[],b[D][0]=this._flatCoords[x+2*D],b[D][1]=this._flatCoords[x+2*D+1];return T}var z=this._getCoordsFromItemModel(d);for(D=0;D<z.length;D++)b[D]=b[D]||[],b[D][0]=z[D][0],b[D][1]=z[D][1];return z.length},LinesSeriesModel.prototype._processFlatCoordsArray=function(d){var b=0;if(this._flatCoords&&(b=this._flatCoords.length),Object(H.z)(d[0])){for(var x=d.length,T=new Xm(x),D=new Km(x),z=0,W=0,U=0,Y=0;Y<x;){U++;var Z=d[Y++];T[W++]=z+b,T[W++]=Z;for(var J=0;J<Z;J++){var ee=d[Y++],te=d[Y++];D[z++]=ee,D[z++]=te}}
vendor: 4,427 bytes, line 808
808return{flatCoordsOffset:new Uint32Array(T.buffer,0,W),flatCoords:D,count:U}}return{flatCoordsOffset:null,flatCoords:null,count:d.length}},LinesSeriesModel.prototype.getInitialData=function(d,b){var x=new id(["value"],this);return x.hasItemOption=!1,x.initData(d.data,[],(function(d,b,T,D){if(d instanceof Array)return NaN;x.hasItemOption=!0;var z=d.value;return null!=z?z instanceof Array?z[D]:z:void 0})),x},LinesSeriesModel.prototype.formatTooltip=function(d,b,x){var T=this.getData().getItemModel(d),D=T.get("name");if(D)return D;var z=T.get("fromName"),H=T.get("toName"),W=[];return null!=z&&W.push(z),null!=H&&W.push(H),createTooltipMarkup("nameValue",{name:W.join(" > ")})},LinesSeriesModel.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},LinesSeriesModel.prototype.getProgressive=function(){var d=this.option.progressive;return null==d?this.option.large?1e4:this.get("progressive"):d},LinesSeriesModel.prototype.getProgressiveThreshold=function(){var d=this.option.progressiveThreshold;return null==d?this.option.large?2e4:this.get("progressiveThreshold"):d},LinesSeriesModel.prototype.getZLevelKey=function(){var d=this.getModel("effect"),b=d.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:d.get("show")&&b>0?b+"":""},LinesSeriesModel.type="series.lines",LinesSeriesModel.dependencies=["grid","polar","geo","calendar"],LinesSeriesModel.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},LinesSeriesModel}(es);function linesVisual_normalize(d){return d instanceof Array||(d=[d,d]),d}var Qm={seriesType:"lines",reset:function(d){var b=linesVisual_normalize(d.get("symbol")),x=linesVisual_normalize(d.get("symbolSize")),T=d.getData();return T.setVisual("fromSymbol",b&&b[0]),T.setVisual("toSymbol",b&&b[1]),T.setVisual("fromSymbolSize",x&&x[0]),T.setVisual("toSymbolSize",x&&x[1]),{dataEach:T.hasItemOption?function(d,b){var x=d.getItemModel(b),T=linesVisual_normalize(x.getShallow("symbol",!0)),D=linesVisual_normalize(x.getShallow("symbolSize",!0));T[0]&&d.setItemVisual(b,"fromSymbol",T[0]),T[1]&&d.setItemVisual(b,"toSymbol",T[1]),D[0]&&d.setItemVisual(b,"fromSymbolSize",D[0]),D[1]&&d.setItemVisual(b,"toSymbolSize",D[1])}:null}}};var ey=function(){function HeatmapLayer(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var d=Vn.d.createCanvas();this.canvas=d}return HeatmapLayer.prototype.update=function(d,b,x,T,D,z){var H=this._getBrush(),W=this._getGradient(D,"inRange"),U=this._getGradient(D,"outOfRange"),Y=this.pointSize+this.blurSize,Z=this.canvas,J=Z.getContext("2d"),ee=d.length;Z.width=b,Z.height=x;for(var te=0;te<ee;++te){var ne=d[te],ie=ne[0],oe=ne[1],se=T(ne[2]);J.globalAlpha=se,J.drawImage(H,ie-Y,oe-Y)}if(!Z.width||!Z.height)return Z;for(var le=J.getImageData(0,0,Z.width,Z.height),ce=le.data,de=0,he=ce.length,pe=this.minOpacity,fe=this.maxOpacity-pe;de<he;){se=ce[de+3]/256;var ge=4*Math.floor(255*se);if(se>0){var me=z(se)?W:U;se>0&&(se=se*fe+pe),ce[de++]=me[ge],ce[de++]=me[ge+1],ce[de++]=me[ge+2],ce[de++]=me[ge+3]*se*256}else de+=4}return J.putImageData(le,0,0),Z},HeatmapLayer.prototype._getBrush=function(){var d=this._brushCanvas||(this._brushCanvas=Vn.d.createCanvas()),b=this.pointSize+this.blurSize,x=2*b;d.width=x,d.height=x;var T=d.getContext("2d");return T.clearRect(0,0,x,x),T.shadowOffsetX=x,T.shadowBlur=this.blurSize,T.shadowColor=Fo.color.neutral99,T.beginPath(),T.arc(-b,b,this.pointSize,0,2*Math.PI,!0),T.closePath(),T.fill(),d},HeatmapLayer.prototype._getGradient=function(d,b){for(var x=this._gradientPixels,T=x[b]||(x[b]=new Uint8ClampedArray(1024)),D=[0,0,0,0],z=0,H=0;H<256;H++)d[b](H/255,!0,D),T[z++]=D[0],T[z++]=D[1],T[z++]=D[2],T[z++]=D[3];return T},HeatmapLayer}();function isGeoCoordSys(d){var b=d.dimensions;return"lng"===b[0]&&"lat"===b[1]}var ty=function(d){function HeatmapView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=HeatmapView.type,b}return __extends(HeatmapView,d),HeatmapView.prototype.render=function(d,b,x){var T;b.eachComponent("visualMap",(function(b){b.eachTargetSeries((function(x){x===d&&(T=b)}))}
vendor: 5,493 bytes, line 808
808)),this._progressiveEls=null,this.group.removeAll();var D=d.coordinateSystem;"cartesian2d"===D.type||"calendar"===D.type||"matrix"===D.type?this._renderOnGridLike(d,x,0,d.getData().count()):isGeoCoordSys(D)&&this._renderOnGeo(D,d,T,x)},HeatmapView.prototype.incrementalPrepareRender=function(d,b,x){this.group.removeAll()},HeatmapView.prototype.incrementalRender=function(d,b,x,T){var D=b.coordinateSystem;D&&(isGeoCoordSys(D)?this.render(b,x,T):(this._progressiveEls=[],this._renderOnGridLike(b,T,d.start,d.end,!0)))},HeatmapView.prototype.eachRendered=function(d){traverseElements(this._progressiveEls||this.group,d)},HeatmapView.prototype._renderOnGridLike=function(d,b,x,T,D){var z,W,U,Y,Z=d.coordinateSystem,J=isCoordinateSystemType(Z,"cartesian2d"),ee=isCoordinateSystemType(Z,"matrix");if(J){var te=Z.getAxis("x"),ne=Z.getAxis("y");0,z=te.getBandWidth()+.5,W=ne.getBandWidth()+.5,U=te.scale.getExtent(),Y=ne.scale.getExtent()}for(var ie=this.group,oe=d.getData(),se=d.getModel(["emphasis","itemStyle"]).getItemStyle(),le=d.getModel(["blur","itemStyle"]).getItemStyle(),ce=d.getModel(["select","itemStyle"]).getItemStyle(),de=d.get(["itemStyle","borderRadius"]),he=getLabelStatesModels(d),pe=d.getModel("emphasis"),fe=pe.get("focus"),ge=pe.get("blurScope"),me=pe.get("disabled"),ye=J||ee?[oe.mapDimension("x"),oe.mapDimension("y"),oe.mapDimension("value")]:[oe.mapDimension("time"),oe.mapDimension("value")],ve=x;ve<T;ve++){var xe=void 0,_e=oe.getItemVisual(ve,"style");if(J){var we=oe.get(ye[0],ve),Se=oe.get(ye[1],ve);if(isNaN(oe.get(ye[2],ve))||isNaN(we)||isNaN(Se)||we<U[0]||we>U[1]||Se<Y[0]||Se>Y[1])continue;var Me=Z.dataToPoint([we,Se]);xe=new _r({shape:{x:Me[0]-z/2,y:Me[1]-W/2,width:z,height:W},style:_e})}else if(ee){var Te=Z.dataToLayout([oe.get(ye[0],ve),oe.get(ye[1],ve)]).rect;if(H.l(Te.x))continue;xe=new _r({z2:1,shape:Te,style:_e})}else{if(isNaN(oe.get(ye[1],ve)))continue;var ke=Z.dataToLayout([oe.get(ye[0],ve)]);Te=ke.contentRect||ke.rect;if(H.l(Te.x)||H.l(Te.y))continue;xe=new _r({z2:1,shape:Te,style:_e})}if(oe.hasItemOption){var Pe=oe.getItemModel(ve),Ee=Pe.getModel("emphasis");se=Ee.getModel("itemStyle").getItemStyle(),le=Pe.getModel(["blur","itemStyle"]).getItemStyle(),ce=Pe.getModel(["select","itemStyle"]).getItemStyle(),de=Pe.get(["itemStyle","borderRadius"]),fe=Ee.get("focus"),ge=Ee.get("blurScope"),me=Ee.get("disabled"),he=getLabelStatesModels(Pe)}xe.shape.r=de;var Le=d.getRawValue(ve),Ne="-";Le&&null!=Le[2]&&(Ne=Le[2]+""),setLabelStyle(xe,he,{labelFetcher:d,labelDataIndex:ve,defaultOpacity:_e.opacity,defaultText:Ne}),xe.ensureState("emphasis").style=se,xe.ensureState("blur").style=le,xe.ensureState("select").style=ce,toggleHoverEmphasis(xe,fe,ge,me),xe.incremental=D,D&&(xe.states.emphasis.hoverLayer=!0),ie.add(xe),oe.setItemGraphicEl(ve,xe),this._progressiveEls&&this._progressiveEls.push(xe)}},HeatmapView.prototype._renderOnGeo=function(d,b,x,T){var D=x.targetVisuals.inRange,z=x.targetVisuals.outOfRange,W=b.getData(),U=this._hmLayer||this._hmLayer||new ey;U.blurSize=b.get("blurSize"),U.pointSize=b.get("pointSize"),U.minOpacity=b.get("minOpacity"),U.maxOpacity=b.get("maxOpacity");var Y=d.getViewRect().clone(),Z=d.getRoamTransform();Y.applyTransform(Z);var J=Math.max(Y.x,0),ee=Math.max(Y.y,0),te=Math.min(Y.width+Y.x,T.getWidth()),ne=Math.min(Y.height+Y.y,T.getHeight()),ie=te-J,oe=ne-ee,se=[W.mapDimension("lng"),W.mapDimension("lat"),W.mapDimension("value")],le=W.mapArray(se,(function(b,x,T){var D=d.dataToPoint([b,x]);return D[0]-=J,D[1]-=ee,D.push(T),D})),ce=x.getExtent(),de="visualMap.continuous"===x.type?function(d,b){var x=d[1]-d[0];return b=[(b[0]-d[0])/x,(b[1]-d[0])/x],function(d){return d>=b[0]&&d<=b[1]}}(ce,x.option.range):function(d,b,x){var T=d[1]-d[0],D=(b=H.H(b,(function(b){return{interval:[(b.interval[0]-d[0])/T,(b.interval[1]-d[0])/T]}}))).length,z=0;return function(d){var T;for(T=z;T<D;T++){if((H=b[T].interval)[0]<=d&&d<=H[1]){z=T;break}}if(T===D)for(T=z-1;T>=0;T--){var H;if((H=b[T].interval)[0]<=d&&d<=H[1]){z=T;break}}return T>=0&&T<D&&x[T]}}(ce,x.getPieceList(),x.option.selected);U.update(le,ie,oe,D.color.getNormalizer(),{inRange:D.color.getColorMapper(),outOfRange:z.color.getColorMapper()},de);var he=new yr({style:{width:ie,height:oe,x:J,y:ee,image:U.canvas},silent:!0});this.group.add(he)},HeatmapView.type="heatmap",HeatmapView}(gl),ny=function(d){function HeatmapSeriesModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=HeatmapSeriesModel.type,b}return __extends(HeatmapSeriesModel,d),HeatmapSeriesModel.prototype.getInitialData=function(d,b){return helper_createSeriesData(null,this,{generateCoord:"value"})},HeatmapSeriesModel.prototype.preventIncremental=function(){var d=Ao.get(this.get("coordinateSystem"));if(d&&d.dimensions)return"lng"===d.dimensions[0]&&"lat"===d.dimensions[1]},HeatmapSeriesModel.type="series.heatmap",HeatmapSeriesModel.dependencies=["grid","geo","calendar","matrix"],HeatmapSeriesModel.defaultOption={coordinateSystem:"cartesian2d",z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:Fo.color.primary}}},HeatmapSeriesModel}(es);var iy=["itemStyle","borderWidth"],ry=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],oy=new gs;function getSymbolMeta(d,b,x,T){var D=d.getItemLayout(b),z=x.get("symbolRepeat"),W=x.get("symbolClip"),U=x.get("symbolPosition")||"start",Y=(x.get("symbolRotate")||0)*Math.PI/180||0,Z=x.get("symbolPatternSize")||2,J=x.isA
vendor: 4,531 bytes, line 808
808nimationEnabled(),ee={dataIndex:b,layout:D,itemModel:x,symbolType:d.getItemVisual(b,"symbol")||"circle",style:d.getItemVisual(b,"style"),symbolClip:W,symbolRepeat:z,symbolRepeatDirection:x.get("symbolRepeatDirection"),symbolPatternSize:Z,rotation:Y,animationModel:J?x:null,hoverScale:J&&x.get(["emphasis","scale"]),z2:x.getShallow("z",!0)||0};!function(d,b,x,T,D){var z,W=T.valueDim,U=d.get("symbolBoundingData"),Y=T.coordSys.getOtherAxis(T.coordSys.getBaseAxis()),Z=Y.toGlobalCoord(Y.dataToCoord(0)),J=1-+(x[W.wh]<=0);if(H.t(U)){var ee=[convertToCoordOnAxis(Y,U[0])-Z,convertToCoordOnAxis(Y,U[1])-Z];ee[1]<ee[0]&&ee.reverse(),z=ee[J]}else z=null!=U?convertToCoordOnAxis(Y,U)-Z:b?T.coordSysExtent[W.index][J]-Z:x[W.wh];D.boundingLength=z,b&&(D.repeatCutLength=x[W.wh]);var te="x"===W.xy,ne=Y.inverse;D.pxSign=te&&!ne||!te&&ne?z>=0?1:-1:z>0?1:-1}(x,z,D,T,ee),function(d,b,x,T,D,z,W,U,Y,Z){var J,ee=Y.valueDim,te=Y.categoryDim,ne=Math.abs(x[te.wh]),ie=d.getItemVisual(b,"symbolSize");J=H.t(ie)?ie.slice():null==ie?["100%","100%"]:[ie,ie];J[te.index]=number_parsePercent(J[te.index],ne),J[ee.index]=number_parsePercent(J[ee.index],T?ne:Math.abs(z)),Z.symbolSize=J,(Z.symbolScale=[J[0]/U,J[1]/U])[ee.index]*=(Y.isHorizontal?-1:1)*W}(d,b,D,z,0,ee.boundingLength,ee.pxSign,Z,T,ee),function(d,b,x,T,D){var z=d.get(iy)||0;z&&(oy.attr({scaleX:b[0],scaleY:b[1],rotation:x}),oy.updateTransform(),z/=oy.getLineScale(),z*=b[T.valueDim.index]);D.valueLineWidth=z||0}(x,ee.symbolScale,Y,T,ee);var te=ee.symbolSize,ne=normalizeSymbolOffset(x.get("symbolOffset"),te);return function(d,b,x,T,D,z,W,U,Y,Z,J,ee){var te=J.categoryDim,ne=J.valueDim,ie=ee.pxSign,oe=Math.max(b[ne.index]+U,0),se=oe;if(T){var le=Math.abs(Y),ce=H.O(d.get("symbolMargin"),"15%")+"",de=!1;ce.lastIndexOf("!")===ce.length-1&&(de=!0,ce=ce.slice(0,ce.length-1));var he=number_parsePercent(ce,b[ne.index]),pe=Math.max(oe+2*he,0),fe=de?0:2*he,ge=isNumeric(T),me=ge?T:toIntTimes((le+fe)/pe);he=(le-me*oe)/2/(de?me:Math.max(me-1,1)),pe=oe+2*he,fe=de?0:2*he,ge||"fixed"===T||(me=Z?toIntTimes((Math.abs(Z)+fe)/pe):0),se=me*pe-fe,ee.repeatTimes=me,ee.symbolMargin=he}var ye=ie*(se/2),ve=ee.pathPosition=[];ve[te.index]=x[te.wh]/2,ve[ne.index]="start"===W?ye:"end"===W?Y-ye:Y/2,z&&(ve[0]+=z[0],ve[1]+=z[1]);var xe=ee.bundlePosition=[];xe[te.index]=x[te.xy],xe[ne.index]=x[ne.xy];var _e=ee.barRectShape=H.m({},x);_e[ne.wh]=ie*Math.max(Math.abs(x[ne.wh]),Math.abs(ve[ne.index]+ye)),_e[te.wh]=x[te.wh];var we=ee.clipShape={};we[te.xy]=-x[te.xy],we[te.wh]=J.ecSize[te.wh],we[ne.xy]=0,we[ne.wh]=x[ne.wh]}(x,te,D,z,0,ne,U,ee.valueLineWidth,ee.boundingLength,ee.repeatCutLength,T,ee),ee}function convertToCoordOnAxis(d,b){return d.toGlobalCoord(d.dataToCoord(d.scale.parse(b)))}function createPath(d){var b=d.symbolPatternSize,x=symbol_createSymbol(d.symbolType,-b/2,-b/2,b,b);return x.attr({culling:!0}),"image"!==x.type&&x.setStyle({strokeNoScale:!0}),x}function createOrUpdateRepeatSymbols(d,b,x,T){var D=d.__pictorialBundle,z=x.symbolSize,H=x.valueLineWidth,W=x.pathPosition,U=b.valueDim,Y=x.repeatTimes||0,Z=0,J=z[b.valueDim.index]+H+2*x.symbolMargin;for(eachPath(d,(function(d){d.__pictorialAnimationIndex=Z,d.__pictorialRepeatTimes=Y,Z<Y?PictorialBarView_updateAttr(d,null,makeTarget(Z),x,T):PictorialBarView_updateAttr(d,null,{scaleX:0,scaleY:0},x,T,(function(){D.remove(d)})),Z++}));Z<Y;Z++){var ee=createPath(x);ee.__pictorialAnimationIndex=Z,ee.__pictorialRepeatTimes=Y,D.add(ee);var te=makeTarget(Z);PictorialBarView_updateAttr(ee,{x:te.x,y:te.y,scaleX:0,scaleY:0},{scaleX:te.scaleX,scaleY:te.scaleY,rotation:te.rotation},x,T)}function makeTarget(d){var b=W.slice(),T=x.pxSign,D=d;return("start"===x.symbolRepeatDirection?T>0:T<0)&&(D=Y-1-d),b[U.index]=J*(D-Y/2+.5)+W[U.index],{x:b[0],y:b[1],scaleX:x.symbolScale[0],scaleY:x.symbolScale[1],rotation:x.rotation}}}function createOrUpdateSingleSymbol(d,b,x,T){var D=d.__pictorialBundle,z=d.__pictorialMainPath;z?PictorialBarView_updateAttr(z,null,{x:x.pathPosition[0],y:x.pathPosition[1],scaleX:x.symbolScale[0],scaleY:x.symbolScale[1],rotation:x.rotation},x,T):(z=d.__pictorialMainPath=createPath(x),D.add(z),PictorialBarView_updateAttr(z,{x:x.pathPosition[0],y:x.pathPosition[1],scaleX:0,scaleY:0,rotation:x.rotation},{scaleX:x.symbolScale[0],scaleY:x.symbolScale[1]},x,T))}function createOrUpdateBarRect(d,b,x){var T=H.m({},b.barRectShape),D=d.__pictorialBarRect;D?PictorialBarView_updateAttr(D,null,{shape:T},b,x):((D=d.__pictorialBarRect=new _r({z2:2,shape:T,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}
vendor: 26,004 bytes, line 808
808)).disableMorphing=!0,d.add(D))}function createOrUpdateClip(d,b,x,D){if(x.symbolClip){var z=d.__pictorialClipPath,W=H.m({},x.clipShape),U=b.valueDim,Y=x.animationModel,Z=x.dataIndex;if(z)updateProps(z,{shape:W},Y,Z);else{W[U.wh]=0,z=new _r({shape:W}),d.__pictorialBundle.setClipPath(z),d.__pictorialClipPath=z;var J={};J[U.wh]=x.clipShape[U.wh],T[D?"updateProps":"initProps"](z,{shape:J},Y,Z)}}}function PictorialBarView_getItemModel(d,b){var x=d.getItemModel(b);return x.getAnimationDelayParams=getAnimationDelayParams,x.isAnimationEnabled=PictorialBarView_isAnimationEnabled,x}function getAnimationDelayParams(d){return{index:d.__pictorialAnimationIndex,count:d.__pictorialRepeatTimes}}function PictorialBarView_isAnimationEnabled(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function createBar(d,b,x,T){var D=new Xn,z=new Xn;return D.add(z),D.__pictorialBundle=z,z.x=x.bundlePosition[0],z.y=x.bundlePosition[1],x.symbolRepeat?createOrUpdateRepeatSymbols(D,b,x):createOrUpdateSingleSymbol(D,0,x),createOrUpdateBarRect(D,x,T),createOrUpdateClip(D,b,x,T),D.__pictorialShapeStr=getShapeStr(d,x),D.__pictorialSymbolMeta=x,D}function removeBar(d,b,x,T){var D=T.__pictorialBarRect;D&&D.removeTextContent();var z=[];eachPath(T,(function(d){z.push(d)})),T.__pictorialMainPath&&z.push(T.__pictorialMainPath),T.__pictorialClipPath&&(x=null),H.k(z,(function(d){removeElement(d,{scaleX:0,scaleY:0},x,b,(function(){T.parent&&T.parent.remove(T)}))})),d.setItemGraphicEl(b,null)}function getShapeStr(d,b){return[d.getItemVisual(b.dataIndex,"symbol")||"none",!!b.symbolRepeat,!!b.symbolClip].join(":")}function eachPath(d,b,x){H.k(d.__pictorialBundle.children(),(function(T){T!==d.__pictorialBarRect&&b.call(x,T)}))}function PictorialBarView_updateAttr(d,b,x,D,z,H){b&&d.attr(b),D.symbolClip&&!z?x&&d.attr(x):x&&T[z?"updateProps":"initProps"](d,x,D.animationModel,D.dataIndex,H)}function PictorialBarView_updateCommon(d,b,x){var T=x.dataIndex,D=x.itemModel,z=D.getModel("emphasis"),W=z.getModel("itemStyle").getItemStyle(),U=D.getModel(["blur","itemStyle"]).getItemStyle(),Y=D.getModel(["select","itemStyle"]).getItemStyle(),Z=D.getShallow("cursor"),J=z.get("focus"),ee=z.get("blurScope"),te=z.get("scale");eachPath(d,(function(d){if(d instanceof yr){var b=d.style;d.useStyle(H.m({image:b.image,x:b.x,y:b.y,width:b.width,height:b.height},x.style))}else d.useStyle(x.style);var T=d.ensureState("emphasis");T.style=W,te&&(T.scaleX=1.1*d.scaleX,T.scaleY=1.1*d.scaleY),d.ensureState("blur").style=U,d.ensureState("select").style=Y,Z&&(d.cursor=Z),d.z2=x.z2}));var ne=b.valueDim.posDesc[+(x.boundingLength>0)],ie=d.__pictorialBarRect;ie.ignoreClip=!0,setLabelStyle(ie,getLabelStatesModels(D),{labelFetcher:b.seriesModel,labelDataIndex:T,defaultText:getDefaultLabel(b.seriesModel.getData(),T),inheritColor:x.style.fill,defaultOpacity:x.style.opacity,defaultOutsidePosition:ne}),toggleHoverEmphasis(d,J,ee,z.get("disabled"))}function toIntTimes(d){var b=Math.round(d);return Math.abs(d-b)<1e-4?b:Math.ceil(d)}var ay=function(d){function PictorialBarView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=PictorialBarView.type,b}return __extends(PictorialBarView,d),PictorialBarView.prototype.render=function(d,b,x){var T=this.group,D=d.getData(),z=this._data,H=d.coordinateSystem,W=H.getBaseAxis().isHorizontal(),U=H.master.getRect(),Y={ecSize:{width:x.getWidth(),height:x.getHeight()},seriesModel:d,coordSys:H,coordSysExtent:[[U.x,U.x+U.width],[U.y,U.y+U.height]],isHorizontal:W,valueDim:ry[+W],categoryDim:ry[1-+W]};D.diff(z).add((function(d){if(D.hasValue(d)){var b=PictorialBarView_getItemModel(D,d),x=getSymbolMeta(D,d,b,Y),z=createBar(D,Y,x);D.setItemGraphicEl(d,z),T.add(z),PictorialBarView_updateCommon(z,Y,x)}})).update((function(d,b){var x=z.getItemGraphicEl(b);if(D.hasValue(d)){var H=PictorialBarView_getItemModel(D,d),W=getSymbolMeta(D,d,H,Y),U=getShapeStr(D,W);x&&U!==x.__pictorialShapeStr&&(T.remove(x),D.setItemGraphicEl(d,null),x=null),x?function(d,b,x){var T=x.animationModel,D=x.dataIndex;updateProps(d.__pictorialBundle,{x:x.bundlePosition[0],y:x.bundlePosition[1]},T,D),x.symbolRepeat?createOrUpdateRepeatSymbols(d,b,x,!0):createOrUpdateSingleSymbol(d,b,x,!0);createOrUpdateBarRect(d,x,!0),createOrUpdateClip(d,b,x,!0)}(x,Y,W):x=createBar(D,Y,W,!0),D.setItemGraphicEl(d,x),x.__pictorialSymbolMeta=W,T.add(x),PictorialBarView_updateCommon(x,Y,W)}else T.remove(x)})).remove((function(d){var b=z.getItemGraphicEl(d);b&&removeBar(z,d,b.__pictorialSymbolMeta.animationModel,b)})).execute();var Z=d.get("clip",!0)?createClipPath(d.coordinateSystem,!1,d):null;return Z?T.setClipPath(Z):T.removeClipPath(),this._data=D,this.group},PictorialBarView.prototype.remove=function(d,b){var x=this.group,T=this._data;d.get("animation")?T&&T.eachItemGraphicEl((function(b){removeBar(T,Or(b).dataIndex,d,b)})):x.removeAll()},PictorialBarView.type="pictorialBar",PictorialBarView}(gl),sy=function(d){function PictorialBarSeriesModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=PictorialBarSeriesModel.type,b.hasSymbolVisual=!0,b.defaultSymbol="roundRect",b}return __extends(PictorialBarSeriesModel,d),PictorialBarSeriesModel.prototype.getInitialData=function(b){return b.stack=null,d.prototype.getInitialData.apply(this,arguments)},PictorialBarSeriesModel.type="series.pictorialBar",PictorialBarSeriesModel.dependencies=["grid"],PictorialBarSeriesModel.defaultOption=inheritDefaultOption(vd.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",clip:!1,progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:Fo.color.primary}}}),PictorialBarSeriesModel}(vd);var ly=function(d){function ThemeRiverView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=ThemeRiverView.type,b._layers=[],b}return __extends(ThemeRiverView,d),ThemeRiverView.prototype.render=function(d,b,x){var T=d.getData(),D=this,z=this.group,W=d.getLayerSeries(),U=T.getLayout("layoutInfo"),Y=U.rect,Z=U.boundaryGap;function keyGetter(d){return d.name}z.x=0,z.y=Y.y+Z[0];var J=new zc(this._layersSeries||[],W,keyGetter,keyGetter),ee=[];function process(b,x,H){var U=D._layers;if("remove"!==b){for(var Y,Z,J=[],te=[],ne=W[x].indices,ie=0;ie<ne.length;ie++){var oe=T.getItemLayout(ne[ie]),se=oe.x,le=oe.y0,ce=oe.y;J.push(se,le),te.push(se,le+ce),Y=T.getItemVisual(ne[ie],"style")}var de=T.getItemLayout(ne[0]),he=d.getModel("label").get("margin"),pe=d.getModel("emphasis");if("add"===b){var fe=ee[x]=new Xn;Z=new fd({shape:{points:J,stackedOnPoints:te,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),fe.add(Z),z.add(fe),d.isAnimationEnabled()&&Z.setClipPath(function(d,b,x){var T=new _r({shape:{x:d.x-10,y:d.y-10,width:0,height:d.height+20}});return initProps(T,{shape:{x:d.x-50,width:d.width+100,height:d.height+20}},b,x),T}(Z.getBoundingRect(),d,(function(){Z.removeClipPath()})))}else{fe=U[H];Z=fe.childAt(0),z.add(fe),ee[x]=fe,updateProps(Z,{shape:{points:J,stackedOnPoints:te}},d),saveOldStyle(Z)}setLabelStyle(Z,getLabelStatesModels(d),{labelDataIndex:ne[ie-1],defaultText:T.getName(ne[ie-1]),inheritColor:Y.fill},{normal:{verticalAlign:"middle"}}),Z.setTextConfig({position:null,local:!0});var ge=Z.getTextContent();ge&&(ge.x=de.x-he,ge.y=de.y0+de.y/2),Z.useStyle(Y),T.setItemGraphicEl(x,Z),setStatesStylesFromModel(Z,d),toggleHoverEmphasis(Z,pe.get("focus"),pe.get("blurScope"),pe.get("disabled"))}else z.remove(U[x])}J.add(Object(H.c)(process,this,"add")).update(Object(H.c)(process,this,"update")).remove(Object(H.c)(process,this,"remove")).execute(),this._layersSeries=W,this._layers=ee},ThemeRiverView.type="themeRiver",ThemeRiverView}(gl),uy=function(d){function ThemeRiverSeriesModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=ThemeRiverSeriesModel.type,b}return __extends(ThemeRiverSeriesModel,d),ThemeRiverSeriesModel.prototype.init=function(b){d.prototype.init.apply(this,arguments),this.legendVisualProvider=new Hd(H.c(this.getData,this),H.c(this.getRawData,this))},ThemeRiverSeriesModel.prototype.fixData=function(d){var b=d.length,x={},T=groupData(d,(function(d){return x.hasOwnProperty(d[0]+"")||(x[d[0]+""]=-1),d[2]})),D=[];T.buckets.each((function(d,b){D.push({name:b,dataList:d})}));for(var z=D.length,H=0;H<z;++H){for(var W=D[H].name,U=0;U<D[H].dataList.length;++U){var Y=D[H].dataList[U][0]+"";x[Y]=H}for(var Y in x)x.hasOwnProperty(Y)&&x[Y]!==H&&(x[Y]=H,d[b]=[Y,0,W],b++)}return d},ThemeRiverSeriesModel.prototype.getInitialData=function(d,b){for(var x=this.getReferringComponents("singleAxis",si).models[0].get("type"),T=H.n(d.data,(function(d){return void 0!==d[2]})),D=this.fixData(T||[]),z=[],W=this.nameMap=H.f(),U=0,Y=0;Y<D.length;++Y)z.push(D[Y][2]),W.get(D[Y][2])||(W.set(D[Y][2],U),U++);var Z=prepareSeriesDataSchema(D,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:getDimensionTypeByAxis(x)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}).dimensions,J=new id(Z,this);return J.initData(D),J},ThemeRiverSeriesModel.prototype.getLayerSeries=function(){for(var d=this.getData(),b=d.count(),x=[],T=0;T<b;++T)x[T]=T;var D=d.mapDimension("single"),z=groupData(x,(function(b){return d.get("name",b)})),H=[];return z.buckets.each((function(b,x){b.sort((function(b,x){return d.get(D,b)-d.get(D,x)})),H.push({name:x,indices:b})})),H},ThemeRiverSeriesModel.prototype.getAxisTooltipData=function(d,b,x){H.t(d)||(d=d?[d]:[]);for(var T,D=this.getData(),z=this.getLayerSeries(),W=[],U=z.length,Y=0;Y<U;++Y){for(var Z=Number.MAX_VALUE,J=-1,ee=z[Y].indices.length,te=0;te<ee;++te){var ne=D.get(d[0],z[Y].indices[te]),ie=Math.abs(ne-b);ie<=Z&&(T=ne,Z=ie,J=z[Y].indices[te])}W.push(J)}return{dataIndices:W,nestestValue:T}},ThemeRiverSeriesModel.prototype.formatTooltip=function(d,b,x){var T=this.getData();return createTooltipMarkup("nameValue",{name:T.getName(d),value:T.get(T.mapDimension("value"),d)})},ThemeRiverSeriesModel.type="series.themeRiver",ThemeRiverSeriesModel.dependencies=["singleAxis"],ThemeRiverSeriesModel.defaultOption={z:2,colorBy:"data",coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",fontSize:11},emphasis:{label:{show:!0}}},ThemeRiverSeriesModel}(es);function themeRiverLayout(d,b){d.eachSeriesByType("themeRiver",(function(d){var b=d.getData(),x=d.coordinateSystem,T={},D=x.getRect();T.rect=D;var z=d.get("boundaryGap"),H=x.getAxis();(T.boundaryGap=z,"horizontal"===H.orient)?(z[0]=number_parsePercent(z[0],D.height),z[1]=number_parsePercent(z[1],D.height),doThemeRiverLayout(b,d,D.height-z[0]-z[1])):(z[0]=number_parsePercent(z[0],D.width),z[1]=number_parsePercent(z[1],D.width),doThemeRiverLayout(b,d,D.width-z[0]-z[1]));b.setLayout("layoutInfo",T)}))}function doThemeRiverLayout(d,b,x){if(d.count())for(var T,D=b.coordinateSystem,z=b.getLayerSeries(),W=d.mapDimension("single"),U=d.mapDimension("value"),Y=H.H(z,(function(b){return H.H(b.indices,(function(b){var x=D.dataToPoint(d.get(W,b));return x[1]=d.get(U,b),x}))})),Z=function(d){for(var b=d.length,x=d[0].length,T=[],D=[],z=0,H=0;H<x;++H){for(var W=0,U=0;U<b;++U)W+=d[U][H][1];W>z&&(z=W),T.push(W)}for(var Y=0;Y<x;++Y)D[Y]=(z-T[Y])/2;z=0;for(var Z=0;Z<x;++Z){var J=T[Z]+D[Z];J>z&&(z=J)}return{y0:D,max:z}}(Y),J=Z.y0,ee=x/Z.max,te=z.length,ne=z[0].indices.length,ie=0;ie<ne;++ie){T=J[ie]*ee,d.setItemLayout(z[0].indices[ie],{layerIndex:0,x:Y[0][ie][0],y0:T,y:Y[0][ie][1]*ee});for(var oe=1;oe<te;++oe)T+=Y[oe-1][ie][1]*ee,d.setItemLayout(z[oe].indices[ie],{layerIndex:oe,x:Y[oe][ie][0],y0:T,y:Y[oe][ie][1]*ee})}}var cy=function(d){function SunburstPiece(b,x,T,D){var z=d.call(this)||this;z.z2=2,z.textConfig={inside:!0},Or(z).seriesIndex=x.seriesIndex;var H=new Pr({z2:4,silent:b.getModel().get(["label","silent"])});return z.setTextContent(H),z.updateData(!0,b,x,T,D),z}return __extends(SunburstPiece,d),SunburstPiece.prototype.updateData=function(d,b,x,T,D){this.node=b,b.piece=this,x=x||this._seriesModel,T=T||this._ecModel;var z=this;Or(z).dataIndex=b.dataIndex;var W=b.getModel(),U=W.getModel("emphasis"),Y=b.getLayout(),Z=H.m({},Y);Z.label=null;var J=b.getVisual("style");J.lineJoin="bevel";var ee=b.getVisual("decal");ee&&(J.decal=createOrUpdatePatternFromDecal(ee,D));var te=getSectorCornerRadius(W.getModel("itemStyle"),Z,!0);H.m(Z,te),H.k(Rr,(function(d){var b=z.ensureState(d),x=W.getModel([d,"itemStyle"]);b.style=x.getItemStyle();var T=getSectorCornerRadius(x,Z);T&&(b.shape=T)})),d?(z.setShape(Z),z.shape.r=Y.r0,initProps(z,{shape:{r:Y.r}},x,b.dataIndex)):(updateProps(z,{shape:Z},x),saveOldStyle(z)),z.useStyle(J),this._updateLabel(x);var ne=W.getShallow("cursor");ne&&z.attr("cursor",ne),this._seriesModel=x||this._seriesModel,this._ecModel=T||this._ecModel;var ie=U.get("focus");toggleHoverEmphasis(this,"relative"===ie?H.e(b.getAncestorsIndices(),b.getDescendantIndices()):"ancestor"===ie?b.getAncestorsIndices():"descendant"===ie?b.getDescendantIndices():ie,U.get("blurScope"),U.get("disabled"))},SunburstPiece.prototype._updateLabel=function(d){var b=this,x=this.node.getModel(),T=x.getModel("label"),D=this.node.getLayout(),z=D.endAngle-D.startAngle,W=(D.startAngle+D.endAngle)/2,U=Math.cos(W),Y=Math.sin(W),Z=this,J=Z.getTextContent(),ee=this.node.dataIndex,te=T.get("minAngle")/180*Math.PI,ne=T.get("show")&&!(null!=te&&Math.abs(z)<te);function getLabelAttr(d,b){var x=d.get(b);return null==x?T.get(b):x}J.ignore=!ne,H.k(Br,(function(T){var te="normal"===T?x.getModel("label"):x.getModel([T,"label"]),ne="normal"===T,ie=ne?J:J.ensureState(T),oe=d.getFormattedLabel(ee,T);ne&&(oe=oe||b.node.name),ie.style=createTextStyle(te,{},null,"normal"!==T,!0),oe&&(ie.style.text=oe);var se=te.get("show");null==se||ne||(ie.ignore=!se);var le,ce=getLabelAttr(te,"position"),de=ne?Z:Z.states[T],he=de.style.fill;de.textConfig={outsideFill:"inherit"===te.get("color")?he:null,inside:"outside"!==ce};var pe=getLabelAttr(te,"distance")||0,fe=getLabelAttr(te,"align"),ge=getLabelAttr(te,"rotate"),me=.5*Math.PI,ye=1.5*Math.PI,ve=normalizeRadian("tangential"===ge?Math.PI/2-W:W),xe=ve>me&&!isRadianAroundZero(ve-me)&&ve<ye;"outside"===ce?(le=D.r+pe,fe=xe?"right":"left"):fe&&"center"!==fe?"left"===fe?(le=D.r0+pe,fe=xe?"right":"left"):"right"===fe&&(le=D.r-pe,fe=xe?"left":"right"):(le=z===2*Math.PI&&0===D.r0?0:(D.r+D.r0)/2,fe="center"),ie.style.align=fe,ie.style.verticalAlign=getLabelAttr(te,"verticalAlign")||"middle",ie.x=le*U+D.cx,ie.y=le*Y+D.cy;var _e=0;"radial"===ge?_e=normalizeRadian(-W)+(xe?Math.PI:0):"tangential"===ge?_e=normalizeRadian(Math.PI/2-W)+(xe?Math.PI:0):H.z(ge)&&(_e=ge*Math.PI/180),ie.rotation=normalizeRadian(_e)})),J.dirtyStyle()},SunburstPiece}(Ps);var dy=function(d){function SunburstView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=SunburstView.type,b}return __extends(SunburstView,d),SunburstView.prototype.render=function(d,b,x,T){var D=this;this.seriesModel=d,this.api=x,this.ecModel=b;var z=d.getData(),W=z.tree.root,U=d.getViewRoot(),Y=this.group,Z=d.get("renderLabelForZeroData"),J=[];U.eachNode((function(d){J.push(d)}));var ee=this._oldChildren||[];!function(T,D){if(0===T.length&&0===D.length)return;function getKey(d){return d.getId()}function processNode(H,U){!function(T,D){Z||!T||T.getValue()||(T=null);if(T!==W&&D!==W)if(D&&D.piece)T?(D.piece.updateData(!1,T,d,b,x),z.setItemGraphicEl(T.dataIndex,D.piece)):function(d){if(!d)return;d.piece&&(Y.remove(d.piece),d.piece=null)}(D);else if(T){var H=new cy(T,d,b,x);Y.add(H),z.setItemGraphicEl(T.dataIndex,H)}}(null==H?null:T[H],null==U?null:D[U])}new zc(D,T,getKey,getKey).add(processNode).update(processNode).remove(H.h(processNode,null)).execute()}(J,ee),function(T,z){z.depth>0?(D.virtualPiece?D.virtualPiece.updateData(!1,T,d,b,x):(D.virtualPiece=new cy(T,d,b,x),Y.add(D.virtualPiece)),z.piece.off("click"),D.virtualPiece.on("click",(function(d){D._rootToNode(z.parentNode)}))):D.virtualPiece&&(Y.remove(D.virtualPiece),D.virtualPiece=null)}(W,U),this._initEvents(),this._oldChildren=J},SunburstView.prototype._initEvents=function(){var d=this;this.group.off("click"),this.group.on("click",(function(b){var x=!1;d.seriesModel.getViewRoot().eachNode((function(T){if(!x&&T.piece&&T.piece===b.target){var D=T.getModel().get("nodeClick");if("rootToNode"===D)d._rootToNode(T);else if("link"===D){var z=T.getModel(),H=z.get("link");if(H)windowOpen(H,z.get("target",!0)||"_blank")}x=!0}}))}))},SunburstView.prototype._rootToNode=function(d){d!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:"sunburstRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:d})},SunburstView.prototype.containPoint=function(d,b){var x=b.getData().getItemLayout(0);if(x){var T=d[0]-x.cx,D=d[1]-x.cy,z=Math.sqrt(T*T+D*D);return z<=x.r&&z>=x.r0}},SunburstView.type="sunburst",SunburstView}(gl);var hy=function(d){function SunburstSeriesModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=SunburstSeriesModel.type,b.ignoreStyleOnData=!0,b}return __extends(SunburstSeriesModel,d),SunburstSeriesModel.prototype.getInitialData=function(d,b){var x={name:d.name,children:d.data};!function SunburstSeries_completeTreeValue(d){var b=0;H.k(d.children,(function(d){SunburstSeries_completeTreeValue(d);var x=d.value;H.t(x)&&(x=x[0]),b+=x}));var x=d.value;H.t(x)&&(x=x[0]);(null==x||isNaN(x))&&(x=b);x<0&&(x=0);H.t(d.value)?d.value[0]=x:d.value=x}(x);var T=this._levelModels=H.H(d.levels||[],(function(d){return new oo(d,this,b)}),this),D=Tf.createTree(x,this,(function(d){d.wrapMethod("getItemModel",(function(d,b){var x=D.getNodeByDataIndex(b),z=T[x.depth];return z&&(d.parentModel=z),d}))}));return D.data},SunburstSeriesModel.prototype.optionUpdated=function(){this.resetViewRoot()},SunburstSeriesModel.prototype.getDataParams=function(b){var x=d.prototype.getDataParams.apply(this,arguments),T=this.getData().tree.getNodeByDataIndex(b);return x.treePathInfo=wrapTreePathInfo(T,this),x},SunburstSeriesModel.prototype.getLevelModel=function(d){return this._levelModels&&this._levelModels[d.depth]},SunburstSeriesModel.prototype.getViewRoot=function(){return this._viewRoot},SunburstSeriesModel.prototype.resetViewRoot=function(d){d?this._viewRoot=d:d=this._viewRoot;var b=this.getRawData().tree.root;d&&(d===b||b.contains(d))||(this._viewRoot=b)},SunburstSeriesModel.prototype.enableAriaDecal=function(){enableAriaDecalForTree(this)},SunburstSeriesModel.type="series.sunburst",SunburstSeriesModel.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},SunburstSeriesModel}(es),py=Math.PI/180;function sunburstLayout(d,b,x){b.eachSeriesByType(d,(function(d){var b=d.get("center"),T=d.get("radius");H.t(T)||(T=[0,T]),H.t(b)||(b=[b,b]);var D=x.getWidth(),z=x.getHeight(),W=Math.min(D,z),U=number_parsePercent(b[0],D),Y=number_parsePercent(b[1],z),Z=number_parsePercent(T[0],W/2),J=number_parsePercent(T[1],W/2),ee=-d.get("startAngle")*py,te=d.get("minAngle")*py,ne=d.getData().tree.root,ie=d.getViewRoot(),oe=ie.depth,se=d.get("sort");null!=se&&function sunburstLayout_initChildren(d,b){var x=d.children||[];d.children=function(d,b){if(H.w(b)){var x=H.H(d,(function(d,b){var x=d.getValue();return{params:{depth:d.depth,height:d.height,dataIndex:d.dataIndex,getValue:function(){return x}},index:b}}));return x.sort((function(d,x){return b(d.params,x.params)})),H.H(x,(function(b){return d[b.index]}))}var T="asc"===b;return d.sort((function(d,b){var x=(d.getValue()-b.getValue())*(T?1:-1);return 0===x?(d.dataIndex-b.dataIndex)*(T?-1:1):x}))}(x,b),x.length&&H.k(d.children,(function(d){sunburstLayout_initChildren(d,b)}))}(ie,se);var le=0;H.k(ie.children,(function(d){!isNaN(d.getValue())&&le++}));var ce=ie.getValue(),de=Math.PI/(ce||le)*2,he=ie.depth>0,pe=ie.height-(he?-1:1),fe=(J-Z)/(pe||1),ge=d.get("clockwise"),me=d.get("stillShowZeroSum"),ye=ge?1:-1;if(he){var ve=Z,xe=Z+fe,_e=2*Math.PI;ne.setLayout({angle:_e,startAngle:ee,endAngle:ee+_e,clockwise:ge,cx:U,cy:Y,r0:ve,r:xe})}!function renderNode(b,x){if(b){var T=x;if(b!==ne){var D=b.getValue(),z=0===ce&&me?de:D*de;z<te&&(z=te),T=x+ye*z;var J=b.depth-oe-(he?-1:1),ee=Z+fe*J,ie=Z+fe*(J+1),se=d.getLevelModel(b);if(se){var le=se.get("r0",!0),pe=se.get("r",!0),ve=se.get("radius",!0);null!=ve&&(le=ve[0],pe=ve[1]),null!=le&&(ee=number_parsePercent(le,W/2)),null!=pe&&(ie=number_parsePercent(pe,W/2))}b.setLayout({angle:z,startAngle:x,endAngle:T,clockwise:ge,cx:U,cy:Y,r0:ee,r:ie})}if(b.children&&b.children.length){var xe=0;H.k(b.children,(function(d){xe+=renderNode(d,x+xe)}))}return T-x}}(ie,ee)}))}function sunburstVisual(d){var b={};d.eachSeriesByType("sunburst",(function(d){var x=d.getData(),T=x.tree;T.eachNode((function(D){var z=D.getModel().getModel("itemStyle").getItemStyle();z.fill||(z.fill=function(d,x,T){if(0===d.depth)return Fo.color.neutral50;for(var D=d;D&&D.depth>1;)D=D.parentNode;var z=x.getColorFromPalette(D.name||D.dataIndex+"",b);return d.depth>1&&Object(H.C)(z)&&(z=Object(yt.c)(z,(d.depth-1)/(T-1)*.5)),z}(D,d,T.root.height));var W=x.ensureUniqueItemVisual(D.dataIndex,"style");Object(H.m)(W,z)}))}))}var fy={color:"fill",borderColor:"stroke"},gy={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},my=makeInner(),yy=function(d){function CustomSeriesModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=CustomSeriesModel.type,b}return __extends(CustomSeriesModel,d),CustomSeriesModel.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},CustomSeriesModel.prototype.getInitialData=function(d,b){return helper_createSeriesData(null,this)},CustomSeriesModel.prototype.getDataParams=function(b,x,T){var D=d.prototype.getDataParams.call(this,b,x);return T&&(D.info=my(T).info),D},CustomSeriesModel.type="series.custom",CustomSeriesModel.dependencies=["grid","polar","geo","singleAxis","calendar","matrix"],CustomSeriesModel.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},CustomSeriesModel}(es);function dataToCoordSize(d,b){return b=b||[0,0],H.H(["x","y"],(function(x,T){var D=this.getAxis(x),z=b[T],H=d[T]/2;return"category"===D.type?D.getBandWidth():Math.abs(D.dataToCoord(z-H)-D.dataToCoord(z+H))}),this)}function prepareCustom_dataToCoordSize(d,b){return b=b||[0,0],H.H([0,1],(function(x){var T=b[x],D=d[x]/2,z=[],H=[];return z[x]=T-D,H[x]=T+D,z[1-x]=H[1-x]=b[1-x],Math.abs(this.dataToPoint(z)[x]-this.dataToPoint(H)[x])}),this)}function single_prepareCustom_dataToCoordSize(d,b){var x=this.getAxis(),T=b instanceof Array?b[0]:b,D=(d instanceof Array?d[0]:d)/2;return"category"===x.type?x.getBandWidth():Math.abs(x.dataToCoord(T-D)-x.dataToCoord(T+D))}function polar_prepareCustom_dataToCoordSize(d,b){return b=b||[0,0],H.H(["Radius","Angle"],(function(x,T){var D=this["get"+x+"Axis"](),z=b[T],H=d[T]/2,W="category"===D.type?D.getBandWidth():Math.abs(D.dataToCoord(z-H)-D.dataToCoord(z+H));return"Angle"===x&&(W=W*Math.PI/180),W}),this)}function isEC4CompatibleStyle(d,b,x,T){return d&&(d.legacy||!1!==d.legacy&&!x&&!T&&"tspan"!==b&&("text"===b||Object(H.q)(d,"text")))}function convertFromEC4CompatibleStyle(d,b,x){var T,D,z,W=d;if("text"===b)z=W;else{z={},Object(H.q)(W,"text")&&(z.text=W.text),Object(H.q)(W,"rich")&&(z.rich=W.rich),Object(H.q)(W,"textFill")&&(z.fill=W.textFill),Object(H.q)(W,"textStroke")&&(z.stroke=W.textStroke),Object(H.q)(W,"fontFamily")&&(z.fontFamily=W.fontFamily),Object(H.q)(W,"fontSize")&&(z.fontSize=W.fontSize),Object(H.q)(W,"fontStyle")&&(z.fontStyle=W.fontStyle),Object(H.q)(W,"fontWeight")&&(z.fontWeight=W.fontWeight),D={type:"text",style:z,silent:!0},T={};var U=Object(H.q)(W,"textPosition");x?T.position=U?W.textPosition:"inside":U&&(T.position=W.textPosition),Object(H.q)(W,"textPosition")&&(T.position=W.textPosition),Object(H.q)(W,"textOffset")&&(T.offset=W.textOffset),Object(H.q)(W,"textRotation")&&(T.rotation=W.textRotation),Object(H.q)(W,"textDistance")&&(T.distance=W.textDistance)}return convertEC4CompatibleRichItem(z,d),Object(H.k)(z.rich,(function(d){convertEC4CompatibleRichItem(d,d)})),{textConfig:T,textContent:D}}function convertEC4CompatibleRichItem(d,b){b&&(b.font=b.textFont||b.font,Object(H.q)(b,"textStrokeWidth")&&(d.lineWidth=b.textStrokeWidth),Object(H.q)(b,"textAlign")&&(d.align=b.textAlign),Object(H.q)(b,"textVerticalAlign")&&(d.verticalAlign=b.textVerticalAlign),Object(H.q)(b,"textLineHeight")&&(d.lineHeight=b.textLineHeight),Object(H.q)(b,"textWidth")&&(d.width=b.textWidth),Object(H.q)(b,"textHeight")&&(d.height=b.textHeight),Object(H.q)(b,"textBackgroundColor")&&(d.backgroundColor=b.textBackgroundColor),Object(H.q)(b,"textPadding")&&(d.padding=b.textPadding),Object(H.q)(b,"textBorderColor")&&(d.borderColor=b.textBorderColor),Object(H.q)(b,"textBorderWidth")&&(d.borderWidth=b.textBorderWidth),Object(H.q)(b,"textBorderRadius")&&(d.borderRadius=b.textBorderRadius),Object(H.q)(b,"textBoxShadowColor")&&(d.shadowColor=b.textBoxShadowColor),Object(H.q)(b,"textBoxShadowBlur")&&(d.shadowBlur=b.textBoxShadowBlur),Object(H.q)(b,"textBoxShadowOffsetX")&&(d.shadowOffsetX=b.textBoxShadowOffsetX),Object(H.q)(b,"textBoxShadowOffsetY")&&(d.shadowOffsetY=b.textBoxShadowOffsetY))}function convertToEC4StyleForCustomSerise(d,b,x){var T=d;T.textPosition=T.textPosition||x.position||"inside",null!=x.offset&&(T.textOffset=x.offset),null!=x.rotation&&(T.textRotation=x.rotation),null!=x.distance&&(T.textDistance=x.distance);var D=T.textPosition.indexOf("inside")>
808=0,z=d.fill||Fo.color.neutral99;convertToEC4RichItem(T,b);var W=null==T.textFill;return D?W&&(T.textFill=x.insideFill||Fo.color.neutral00,!T.textStroke&&x.insideStroke&&(T.textStroke=x.insideStroke),!T.textStroke&&(T.textStroke=z),null==T.textStrokeWidth&&(T.textStrokeWidth=2)):(W&&(T.textFill=d.fill||x.outsideFill||Fo.color.neutral00),!T.textStroke&&x.outsideStroke&&(T.textStroke=x.outsideStroke)),T.text=b.text,T.rich=b.rich,Object(H.k)(b.rich,(function(d){convertToEC4RichItem(d,d)})),T}function convertToEC4RichItem(d,b){b&&(Object(H.q)(b,"fill")&&(d.textFill=b.fill),Object(H.q)(b,"stroke")&&(d.textStroke=b.fill),Object(H.q)(b,"lineWidth")&&(d.textStrokeWidth=b.lineWidth),Object(H.q)(b,"font")&&(d.font=b.font),Object(H.q)(b,"fontStyle")&&(d.fontStyle=b.fontStyle),Object(H.q)(b,"fontWeight")&&(d.fontWeight=b.fontWeight),Object(H.q)(b,"fontSize")&&(d.fontSize=b.fontSize),Object(H.q)(b,"fontFamily")&&(d.fontFamily=b.fontFamily),Object(H.q)(b,"align")&&(d.textAlign=b.align),Object(H.q)(b,"verticalAlign")&&(d.textVerticalAlign=b.verticalAlign),Object(H.q)(b,"lineHeight")&&(d.textLineHeight=b.lineHeight),Object(H.q)(b,"width")&&(d.textWidth=b.width),Object(H.q)(b,"height")&&(d.textHeight=b.height),Object(H.q)(b,"backgroundColor")&&(d.textBackgroundColor=b.backgroundColor),Object(H.q)(b,"padding")&&(d.textPadding=b.padding),Object(H.q)(b,"borderColor")&&(d.textBorderColor=b.borderColor),Object(H.q)(b,"borderWidth")&&(d.textBorderWidth=b.borderWidth),Object(H.q)(b,"borderRadius")&&(d.textBorderRadius=b.borderRadius),Object(H.q)(b,"shadowColor")&&(d.textBoxShadowColor=b.shadowColor),Object(H.q)(b,"shadowBlur")&&(d.textBoxShadowBlur=b.shadowBlur),Object(H.q)(b,"shadowOffsetX")&&(d.textBoxShadowOffsetX=b.shadowOffsetX),Object(H.q)(b,"shadowOffsetY")&&(d.textBoxShadowOffsetY=b.shadowOffsetY),Object(H.q)(b,"textShadowColor")&&(d.textShadowColor=b.textShadowColor),Object(H.q)(b,"textShadowBlur")&&(d.textShadowBlur=b.textShadowBlur),Object(H.q)(b,"textShadowOffsetX")&&(d.textShadowOffsetX=b.textShadowOffsetX),Object(H.q)(b,"textShadowOffsetY")&&(d.textShadowOffsetY=b.textShadowOffsetY))}var vy={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},by=Object(H.F)(vy),xy=(Object(H.N)(Rn,(function(d,b){return d[b]=1,d}),{}),Rn.join(", "),["","style","shape","extra"]),_y=makeInner();function getElementAnimationConfig(d,b,x,T,D){var z=d+"Animation",W=getAnimationConfig(d,T,D)||{},U=_y(b).userDuring;return W.duration>0&&(W.during=U?Object(H.c)(duringCall,{el:b,userDuring:U}):null,W.setToFinal=!0,W.scope=d),Object(H.m)(W,x[z]),W}function applyUpdateTransition(d,b,x,T){var D=(T=T||{}).dataIndex,z=T.isInit,W=T.clearStyle,U=x.isAnimationEnabled(),Y=_y(d),Z=b.style;Y.userDuring=b.during;var J={},ee={};if(function(d,b,x){for(var T=0;T<by.length;T++){var D=by[T],z=vy[D],H=b[D];H&&(x[z[0]]=H[0],x[z[1]]=H[1])}for(T=0;T<Rn.length;T++){var W=Rn[T];null!=b[W]&&(x[W]=b[W])}}(0,b,ee),"compound"===d.type)for(var te=d.shape.paths,ne=b.shape.paths,ie=0;ie<ne.length;ie++){prepareShapeOrExtraAllPropsFinal("shape",ne[ie],te[ie])}else prepareShapeOrExtraAllPropsFinal("shape",b,ee),prepareShapeOrExtraAllPropsFinal("extra",b,ee);if(!z&&U&&(function(d,b,x){for(var T=b.transition,D=isTransitionAll(T)?Rn:normalizeToArray(T||[]),z=0;z<D.length;z++){var H=D[z];if("style"!==H&&"shape"!==H&&"extra"!==H){var W=d[H];0,x[H]=W}}}(d,b,J),prepareShapeOrExtraTransitionFrom("shape",d,b,J),prepareShapeOrExtraTransitionFrom("extra",d,b,J),function(d,b,x,T){if(!x)return;var D,z=d.style;if(z){var W=x.transition,U=b.transition;if(W&&!isTransitionAll(W)){var Y=normalizeToArray(W);!D&&(D=T.style={});for(var Z=0;Z<Y.length;Z++){var J=Y[Z],ee=z[J];D[J]=ee}}else if(d.getAnimationStyleProps&&(isTransitionAll(U)||isTransitionAll(W)||Object(H.r)(U,"style")>=0)){var te=d.getAnimationStyleProps(),ne=te?te.style:null;if(ne){!D&&(D=T.style={});var ie=Object(H.F)(x);for(Z=0;Z<ie.length;Z++){J=ie[Z];if(ne[J]){ee=z[J];D[J]=ee}}}}}}(d,b,Z,J)),ee.style=Z,function(d,b,x){var T=b.style;if(!d.isGroup&&T){if(x){d.useStyle({});for(var D=d.animators,z=0;z<D.length;z++){var H=D[z];"style"===H.targetName&&H.changeTarget(d.style)}}d.setStyle(T)}b&&(b.style=null,b&&d.attr(b),b.style=T)}(d,ee,W),function(d,b){Object(H.q)(b,"silent")&&(d.silent=b.silent),Object(H.q)(b,"ignore")&&(d.ignore=b.ignore),d instanceof ki&&Object(H.q)(b,"invisible")&&(d.invisible=b.invisible);d instanceof cr&&Object(H.q)(b,"autoBatch")&&(d.autoBatch=b.autoBatch)}(d,b),U)if(z){var oe={};Object(H.k)(xy,(function(d){var x=d?b[d]:b;x&&x.enterFrom&&(d&&(oe[d]=oe[d]||{}
808),Object(H.m)(d?oe[d]:oe,x.enterFrom))}));var se=getElementAnimationConfig("enter",d,b,x,D);se.duration>0&&d.animateFrom(oe,se)}else!function(d,b,x,T,D){if(D){var z=getElementAnimationConfig("update",d,b,T,x);z.duration>0&&d.animateFrom(D,z)}}(d,b,D||0,x,J);updateLeaveTo(d,b),Z?d.dirty():d.markRedraw()}function updateLeaveTo(d,b){for(var x=_y(d).leaveToProps,T=0;T<xy.length;T++){var D=xy[T],z=D?b[D]:b;z&&z.leaveTo&&(x||(x=_y(d).leaveToProps={}),D&&(x[D]=x[D]||{}),Object(H.m)(D?x[D]:x,z.leaveTo))}}function applyLeaveTransition(d,b,x,T){if(d){var D=d.parent,z=_y(d).leaveToProps;if(z){var H=getElementAnimationConfig("update",d,b,x,0);H.done=function(){D&&D.remove(d),T&&T()},d.animateTo(z,H)}else D&&D.remove(d),T&&T()}}function isTransitionAll(d){return"all"===d}var wy={},Sy={setTransform:function(d,b){return wy.el[d]=b,this},getTransform:function(d){return wy.el[d]},setShape:function(d,b){var x=wy.el;return(x.shape||(x.shape={}))[d]=b,x.dirtyShape&&x.dirtyShape(),this},getShape:function(d){var b=wy.el.shape;if(b)return b[d]},setStyle:function(d,b){var x=wy.el,T=x.style;return T&&(T[d]=b,x.dirtyStyle&&x.dirtyStyle()),this},getStyle:function(d){var b=wy.el.style;if(b)return b[d]},setExtra:function(d,b){return(wy.el.extra||(wy.el.extra={}))[d]=b,this},getExtra:function(d){var b=wy.el.extra;if(b)return b[d]}};function duringCall(){var d=this.el;if(d){var b=_y(d).userDuring,x=this.userDuring;b===x?(wy.el=d,x(Sy)):this.el=this.userDuring=null}}function prepareShapeOrExtraTransitionFrom(d,b,x,T){var D=x[d];if(D){var z,W=b[d];if(W){var U=x.transition,Y=D.transition;if(Y)if(!z&&(z=T[d]={}),isTransitionAll(Y))Object(H.m)(z,W);else for(var Z=normalizeToArray(Y),J=0;J<Z.length;J++){var ee=W[ne=Z[J]];z[ne]=ee}else if(isTransitionAll(U)||Object(H.r)(U,d)>=0){!z&&(z=T[d]={});var te=Object(H.F)(W);for(J=0;J<te.length;J++){var ne;ee=W[ne=te[J]];isNonStyleTransitionEnabled(D[ne],ee)&&(z[ne]=ee)}}}}}function prepareShapeOrExtraAllPropsFinal(d,b,x){var T=b[d];if(T)for(var D=x[d]={},z=Object(H.F)(T),W=0;W<z.length;W++){var U=z[W];D[U]=cloneValue(T[U])}}function isNonStyleTransitionEnabled(d,b){return Object(H.u)(d)?d!==b:null!=d&&isFinite(d)}var My=makeInner(),Cy=["percent","easing","shape","style","extra"];function stopPreviousKeyframeAnimationAndRestore(d){d.stopAnimation("keyframe"),d.attr(My(d))}function applyKeyframeAnimation(d,b,x){if(x.isAnimationEnabled()&&b)if(Object(H.t)(b))Object(H.k)(b,(function(b){applyKeyframeAnimation(d,b,x)}));else{var T=b.keyframes,D=b.duration;if(x&&null==D){var z=getAnimationConfig("enter",x,0);D=z&&z.duration}if(T&&D){var W=My(d);Object(H.k)(xy,(function(x){if(!x||d[x]){var z;T.sort((function(d,b){return d.percent-b.percent})),Object(H.k)(T,(function(T){var U=d.animators,Y=x?T[x]:T;if(Y){var Z=Object(H.F)(Y);if(x||(Z=Object(H.n)(Z,(function(d){return Object(H.r)(Cy,d)<0}))),Z.length){z||((z=d.animate(x,b.loop,!0)).scope="keyframe");for(var J=0;J<U.length;J++)U[J]!==z&&U[J].targetName===z.targetName&&U[J].stopTracks(Z);x&&(W[x]=W[x]||{});var ee=x?W[x]:W;Object(H.k)(Z,(function(b){ee[b]=((x?d[x]:d)||{})[b]})),z.whenWithKeys(D*T.percent,Y,Z,T.easing)}}})),z&&z.delay(b.delay||0).duration(D).start(b.easing)}}))}}}var Ty=["normal","emphasis","blur","select"],ky={normal:["itemStyle"],emphasis:["emphasis","itemStyle"],blur:["blur","itemStyle"],select:["select","itemStyle"]},Ay={normal:["label"],emphasis:["emphasis","label"],blur:["blur","label"],select:["select","label"]},Py=["x","y"],Oy={normal:{},emphasis:{},blur:{},select:{}},Iy={cartesian2d:function(d){var b=d.master.getRect();return{coordSys:{type:"cartesian2d",x:b.x,y:b.y,width:b.width,height:b.height},api:{coord:function(b){return d.dataToPoint(b)},size:H.c(dataToCoordSize,d)}}},geo:function(d){var b=d.getBoundingRect();return{coordSys:{type:"geo",x:b.x,y:b.y,width:b.width,height:b.height,zoom:d.getZoom()},api:{coord:function(b){return d.dataToPoint(b)},size:H.c(prepareCustom_dataToCoordSize,d)}}},single:function(d){var b=d.getRect();return{coordSys:{type:"singleAxis",x:b.x,y:b.y,width:b.width,height:b.height},api:{coord:function(b){return d.dataToPoint(b)},size:Object(H.c)(single_prepareCustom_dataToCoordSize,d)}}},polar:function(d){var b=d.getRadiusAxis(),x=d.getAngleAxis(),T=b.getExtent();return T[0]>T[1]&&T.reverse(),{coordSys:{type:"polar",cx:d.cx,cy:d.cy,r:T[1],r0:T[0]},api:{coord:function(T){var D=b.dataToRadius(T[0]),z=x.dataToAngle(T[1]),H=d.coordToPoint([D,z]);return H.push(D,z*Math.PI/180),H},size:H.c(polar_prepareCustom_dataToCoordSize,d)}}},calendar:function(d){var b=d.getRect(),x=d.getRangeInfo();
vendor: 5,907 bytes, line 808
808return{coordSys:{type:"calendar",x:b.x,y:b.y,width:b.width,height:b.height,cellWidth:d.getCellWidth(),cellHeight:d.getCellHeight(),rangeInfo:{start:x.start,end:x.end,weeks:x.weeks,dayCount:x.allDay}},api:{coord:function(b,x){return d.dataToPoint(b,x)},layout:function(b,x){return d.dataToLayout(b,x)}}}},matrix:function(d){var b=d.getRect();return{coordSys:{type:"matrix",x:b.x,y:b.y,width:b.width,height:b.height},api:{coord:function(b,x){return d.dataToPoint(b,x)},layout:function(b,x){return d.dataToLayout(b,x)}}}}};function CustomView_isPath(d){return d instanceof cr}function isDisplayable(d){return d instanceof ki}var Dy=function(d){function CustomChartView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=CustomChartView.type,b}return __extends(CustomChartView,d),CustomChartView.prototype.render=function(d,b,x,T){this._progressiveEls=null;var D=this._data,z=d.getData(),H=this.group,W=makeRenderItem(d,z,b,x);D||H.removeAll(),z.diff(D).add((function(b){createOrUpdateItem(x,null,b,W(b,T),d,H,z)})).remove((function(b){var x=D.getItemGraphicEl(b);x&&applyLeaveTransition(x,my(x).option,d)})).update((function(b,U){var Y=D.getItemGraphicEl(U);createOrUpdateItem(x,Y,b,W(b,T),d,H,z)})).execute();var U=d.get("clip",!0)?createClipPath(d.coordinateSystem,!1,d):null;U?H.setClipPath(U):H.removeClipPath(),this._data=z},CustomChartView.prototype.incrementalPrepareRender=function(d,b,x){this.group.removeAll(),this._data=null},CustomChartView.prototype.incrementalRender=function(d,b,x,T,D){var z=b.getData(),H=makeRenderItem(b,z,x,T),W=this._progressiveEls=[];function setIncrementalAndHoverLayer(d){d.isGroup||(d.incremental=!0,d.ensureState("emphasis").hoverLayer=!0)}for(var U=d.start;U<d.end;U++){var Y=createOrUpdateItem(null,null,U,H(U,D),b,this.group,z);Y&&(Y.traverse(setIncrementalAndHoverLayer),W.push(Y))}},CustomChartView.prototype.eachRendered=function(d){traverseElements(this._progressiveEls||this.group,d)},CustomChartView.prototype.filterForExposedEvent=function(d,b,x,T){var D=b.element;if(null==D||x.name===D)return!0;for(;(x=x.__hostTarget||x.parent)&&x!==this.group;)if(x.name===D)return!0;return!1},CustomChartView.type="custom",CustomChartView}(gl);function createEl(d){var b,x=d.type;if("path"===x){var T=null!=(z=d.shape).width&&null!=z.height?{x:z.x||0,y:z.y||0,width:z.width,height:z.height}:null,D=getPathData(z);b=makePath(D,null,T,z.layout||"center"),my(b).customPathData=D}else if("image"===x)b=new yr({}),my(b).customImagePath=d.style.image;else if("text"===x)b=new Pr({});else if("group"===x)b=new Xn;else if("compoundPath"===x){var z;if(!(z=d.shape)||!z.paths)0,throwError("");var W=Object(H.H)(z.paths,(function(d){if("path"===d.type)return makePath(d.shape.pathData,d,null);var b=getShapeClass(d.type);if(!b){0,throwError("")}return new b}));b=new $s({shape:{paths:W}})}else{var U=getShapeClass(x);if(!U)0,throwError("");b=new U}return my(b).customGraphicType=x,b.name=d.name,b.z2EmphasisLift=1,b.z2SelectLift=1,b}function updateElNormal(d,b,x,T,D,z,W){stopPreviousKeyframeAnimationAndRestore(b);var U=D&&D.normal.cfg;U&&b.setTextConfig(U),T&&null==T.transition&&(T.transition=Py);var Y=T&&T.style;if(Y){if("text"===b.type){var Z=Y;Object(H.q)(Z,"textFill")&&(Z.fill=Z.textFill),Object(H.q)(Z,"textStroke")&&(Z.stroke=Z.textStroke)}var J=void 0,ee=CustomView_isPath(b)?Y.decal:null;d&&ee&&(ee.dirty=!0,J=createOrUpdatePatternFromDecal(ee,d)),Y.__decalPattern=J}isDisplayable(b)&&(Y&&(J=Y.__decalPattern)&&(Y.decal=J));applyUpdateTransition(b,T,z,{dataIndex:x,isInit:W,clearStyle:!0}),applyKeyframeAnimation(b,T.keyframeAnimation,z)}function updateElOnState(d,b,x,T,D){var z=b.isGroup?null:b,H=D&&D[d].cfg;if(z){var W=z.ensureState(d);if(!1===T){var U=z.getState(d);U&&(U.style=null)}else W.style=T||null;H&&(W.textConfig=H),setDefaultStateProxy(z)}}function updateZForEachState(d,b,x){var T="normal"===x,D=T?b:retrieveStateOption(b,x),z=D?D.z2:null;null!=z&&((T?d:d.ensureState(x)).z2=z||0)}function makeRenderItem(d,b,x,T){var D=d.get("renderItem");if("string"==typeof D){var z=lu[D];z&&(D=z)}var W=d.coordinateSystem,U={};W&&(U=W.prepareCustoms?W.prepareCustoms(W):Iy[W.type](W));for(var Y,Z,J=Object(H.i)({getWidth:T.getWidth,getHeight:T.getHeight,getZr:T.getZr,getDevicePixelRatio:T.getDevicePixelRatio,value:function(d,x){return null==x&&(x=Y),b.getStore().get(b.getDimensionIndex(d||0),x)},style:function(x,T){0;null==T&&(T=Y);var D=b.getItemVisual(T,"style"),z=D&&D.fill,W=D&&D.opacity,U=getItemStyleModel(T,"normal").getItemStyle();null!=z&&(U.fill=z),null!=W&&(U.opacity=W);var Z={inheritColor:Object(H.C)(z)?z:Fo.color.neutral99},J=getLabelModel(T,"normal"),ee=createTextStyle(J,null,Z,!1,!0);ee.text=J.getShallow("show")?Object(H.P)(d.getFormattedLabel(T,"normal"),getDefaultLabel(b,T)):null;var te=createTextConfig(J,Z,!1);return preFetchFromExtra(x,U),U=convertToEC4StyleForCustomSerise(U,ee,te),x&&applyUserPropsAfter(U,x),U.legacy=!0,U},ordinalRawValue:function(d,x){null==x&&(x=Y),d=d||0;var T=b.getDimensionInfo(d);if(!T){var D=b.getDimensionIndex(d);return D>=0?b.getStore().get(D,x):void 0}var z=b.get(T.name,x),H=T&&T.ordinalMeta;return H?H.categories[z]:z},styleEmphasis:function(x,T){0;null==T&&(T=Y);var D=getItemStyleModel(T,"emphasis").getItemStyle(),z=getLabelModel(T,"emphasis"),W=createTextStyle(z,null,null,!0,!0);W.text=z.getShallow("show")?Object(H.Q)(d.getFormattedLabel(T,"emphasis"),d.getFormattedLabel(T,"normal"),getDefaultLabel(b,T)):null;var U=createTextConfig(z,null,!0);return preFetchFromExtra(x,D),D=convertToEC4StyleForCustomSerise(D,W,U),x&&applyUserPropsAfter(D,x),D.legacy=!0,D},visual:function(d,x){if(null==x&&(x=Y),Object(H.q)(fy,d)){var T=b.getItemVisual(x,"style");return T?T[fy[d]]:null}if(Object(H.q)(gy,d))return b.getItemVisual(x,d)},barLayout:function(d){if("cartesian2d"===W.type){var b=W.getBaseAxis();return function(d){var b=[],x=d.axis;if("category"===x.type){for(var T=x.getBandWidth(),D=0;
vendor: 17,341 bytes, line 808
808D<d.count;D++)b.push(Object(H.i)({bandWidth:T,axisKey:"axis0",stackId:"__ec_stack_"+D},d));var z=doCalBarWidthAndOffset(b),W=[];for(D=0;D<d.count;D++){var U=z.axis0["__ec_stack_"+D];U.offsetCenter=U.offset+U.width/2,W.push(U)}return W}}(Object(H.i)({axis:b},d))}},currentSeriesIndices:function(){return x.getCurrentSeriesIndices()},font:function(d){return getFont(d,x)}},U.api||{}),ee={context:{},seriesId:d.id,seriesName:d.name,seriesIndex:d.seriesIndex,coordSys:U.coordSys,dataInsideLength:b.count(),encode:wrapEncodeDef(d.getData()),itemPayload:d.get("itemPayload")||{}},te={},ne={},ie={},oe={},se=0;se<Ty.length;se++){var le=Ty[se];ie[le]=d.getModel(ky[le]),oe[le]=d.getModel(Ay[le])}function getItemModel(d){return d===Y?Z||(Z=b.getItemModel(d)):b.getItemModel(d)}function getItemStyleModel(d,x){return b.hasItemOption?d===Y?te[x]||(te[x]=getItemModel(d).getModel(ky[x])):getItemModel(d).getModel(ky[x]):ie[x]}function getLabelModel(d,x){return b.hasItemOption?d===Y?ne[x]||(ne[x]=getItemModel(d).getModel(Ay[x])):getItemModel(d).getModel(Ay[x]):oe[x]}return function(d,x){return Y=d,Z=null,te={},ne={},D&&D(Object(H.i)({dataIndexInside:d,dataIndex:b.getRawIndex(d),actionType:x?x.type:null},ee),J)};function applyUserPropsAfter(d,b){for(var x in b)Object(H.q)(b,x)&&(d[x]=b[x])}function preFetchFromExtra(d,b){d&&(d.textFill&&(b.textFill=d.textFill),d.textPosition&&(b.textPosition=d.textPosition))}}function wrapEncodeDef(d){var b={};return Object(H.k)(d.dimensions,(function(x){var T=d.getDimensionInfo(x);if(!T.isExtraCoord){var D=T.coordDim;(b[D]=b[D]||[])[T.coordDimIndex]=d.getDimensionIndex(x)}})),b}function createOrUpdateItem(d,b,x,T,D,z,H){if(T){var W=doCreateOrUpdateEl(d,b,x,T,D,z);return W&&H.setItemGraphicEl(x,W),W&&toggleHoverEmphasis(W,T.focus,T.blurScope,T.emphasisDisabled),W}z.remove(b)}function doCreateOrUpdateEl(d,b,x,T,D,z){var W=-1,U=b;b&&doesElNeedRecreate(b,T,D)&&(W=Object(H.r)(z.childrenRef(),b),b=null);var Y,Z,J=!b,ee=b;ee?ee.clearStates():(ee=createEl(T),U&&(Y=U,(Z=ee).copyTransform(Y),isDisplayable(Z)&&isDisplayable(Y)&&(Z.setStyle(Y.style),Z.z=Y.z,Z.z2=Y.z2,Z.zlevel=Y.zlevel,Z.invisible=Y.invisible,Z.ignore=Y.ignore,CustomView_isPath(Z)&&CustomView_isPath(Y)&&Z.setShape(Y.shape)))),!1===T.morph?ee.disableMorphing=!0:ee.disableMorphing&&(ee.disableMorphing=!1),T.tooltipDisabled&&(ee.tooltipDisabled=!0),Oy.normal.cfg=Oy.normal.conOpt=Oy.emphasis.cfg=Oy.emphasis.conOpt=Oy.blur.cfg=Oy.blur.conOpt=Oy.select.cfg=Oy.select.conOpt=null,Oy.isLegacy=!1,function(d,b,x,T,D,z){if(d.isGroup||"compoundPath"===d.type)return;processTxInfo(x,null,z),processTxInfo(x,"emphasis",z);var H=z.normal.conOpt,W=z.emphasis.conOpt,U=z.blur.conOpt,Y=z.select.conOpt;if(null!=H||null!=W||null!=Y||null!=U){var Z=d.getTextContent();if(!1===H)Z&&d.removeTextContent();else{H=z.normal.conOpt=H||{type:"text"},Z?Z.clearStates():(Z=createEl(H),d.setTextContent(Z)),updateElNormal(null,Z,b,H,null,T,D);for(var J=H&&H.style,ee=0;ee<Ty.length;ee++){var te=Ty[ee];if("normal"!==te){var ne=z[te].conOpt;updateElOnState(te,Z,0,retrieveStyleOptionOnState(H,ne,te),null)}}J?Z.dirty():Z.markRedraw()}}}(ee,x,T,D,J,Oy),function(d,b,x,T,D){var z=x.clipPath;if(!1===z)d&&d.getClipPath()&&d.removeClipPath();else if(z){var H=d.getClipPath();H&&doesElNeedRecreate(H,z,T)&&(H=null),H||(H=createEl(z),d.setClipPath(H)),updateElNormal(null,H,b,z,null,T,D)}}(ee,x,T,D,J),updateElNormal(d,ee,x,T,Oy,D,J),Object(H.q)(T,"info")&&(my(ee).info=T.info);for(var te=0;te<Ty.length;te++){var ne=Ty[te];if("normal"!==ne){var ie=retrieveStateOption(T,ne);updateElOnState(ne,ee,0,retrieveStyleOptionOnState(T,ie,ne),Oy)}}return function(d,b,x){if(!d.isGroup){var T=d,D=x.currentZ,z=x.currentZLevel;T.z=D,T.zlevel=z;var H=b.z2;null!=H&&(T.z2=H||0);for(var W=0;W<Ty.length;W++)updateZForEachState(T,b,Ty[W])}}(ee,T,D),"group"===T.type&&function(d,b,x,T,D){var z=T.children,H=z?z.length:0,W=T.$mergeChildren,U="byName"===W||T.diffChildrenByName,Y=!1===W;if(!H&&!U&&!Y)return;if(U)return Z={api:d,oldChildren:b.children()||[],newChildren:z||[],dataIndex:x,seriesModel:D,group:b},void new zc(Z.oldChildren,Z.newChildren,CustomView_getKey,CustomView_getKey,Z).add(processAddUpdate).update(processAddUpdate).remove(processRemove).execute();var Z;Y&&b.removeAll();for(var J=0;J<H;J++){var ee=z[J],te=b.childAt(J);ee?(null==ee.ignore&&(ee.ignore=!1),doCreateOrUpdateEl(d,te,x,ee,D,b)):te.ignore=!0}for(var ne=b.childCount()-1;ne>=J;ne--){var ie=b.childAt(ne);removeChildFromGroup(b,ie,D)}}(d,ee,x,T,D),W>=0?z.replaceAt(ee,W):z.add(ee),ee}function doesElNeedRecreate(d,b,x){var T,D=my(d),z=b.type,W=b.shape,U=b.style;return x.isUniversalTransitionEnabled()||null!=z&&z!==D.customGraphicType||"path"===z&&((T=W)&&(Object(H.q)(T,"pathData")||Object(H.q)(T,"d")))&&getPathData(W)!==D.customPathData||"image"===z&&Object(H.q)(U,"image")&&U.image!==D.customImagePath}function processTxInfo(d,b,x){var T=b?retrieveStateOption(d,b):d,D=b?retrieveStyleOptionOnState(d,T,"emphasis"):d.style,z=d.type,H=T?T.textConfig:null,W=d.textContent,U=W?b?retrieveStateOption(W,b):W:null;if(D&&(x.isLegacy||isEC4CompatibleStyle(D,z,!!H,!!U))){x.isLegacy=!0;var Y=convertFromEC4CompatibleStyle(D,z,!b);!H&&Y.textConfig&&(H=Y.textConfig),!U&&Y.textContent&&(U=Y.textContent)}if(!b&&U){var Z=U;!Z.type&&(Z.type="text")}var J=b?x[b]:x.normal;J.cfg=H,J.conOpt=U}function retrieveStateOption(d,b){return b?d?d[b]:null:d}function retrieveStyleOptionOnState(d,b,x){var T=b&&b.style;return null==T&&"emphasis"===x&&d&&(T=d.styleEmphasis),T}function removeChildFromGroup(d,b,x){b&&applyLeaveTransition(b,my(d).option,x)}function CustomView_getKey(d,b){var x=d&&d.name;return null!=x?x:"e\0\0"+b}function processAddUpdate(d,b){var x=this.context,T=null!=d?x.newChildren[d]:null,D=null!=b?x.oldChildren[b]:null;doCreateOrUpdateEl(x.api,D,x.dataIndex,T,x.seriesModel,x.group)}function processRemove(d){var b=this.context,x=b.oldChildren[d];x&&applyLeaveTransition(x,my(x).option,b.seriesModel)}function getPathData(d){return d&&(d.pathData||d.d)}var Ey=makeInner(),Ly=H.d,Ry=H.c;function BaseAxisPointer_updateProps(d,b,x,T){(function propsEqual(d,b){if(H.A(d)&&H.A(b)){var x=!0;return H.k(b,(function(b,T){x=x&&propsEqual(d[T],b)})),!!x}return d===b})(Ey(x).lastProp,T)||(Ey(x).lastProp=T,b?updateProps(x,T,d):(x.stopAnimation(),x.attr(T)))}function updateLabelShowHide(d,b){d[b.get(["label","show"])?"show":"hide"]()}function getHandleTransProps(d){return{x:d.x||0,y:d.y||0,rotation:d.rotation||0}}function updateMandatoryProps(d,b,x){var T=b.get("z"),D=b.get("zlevel");d&&d.traverse((function(d){"group"!==d.type&&(null!=T&&(d.z=T),null!=D&&(d.zlevel=D),d.silent=x)}))}var By=function(){function BaseAxisPointer(){this._dragging=!1,this.animationThreshold=15}return BaseAxisPointer.prototype.render=function(d,b,x,T){var D=b.get("value"),z=b.get("status");if(this._axisModel=d,this._axisPointerModel=b,this._api=x,T||this._lastValue!==D||this._lastStatus!==z){this._lastValue=D,this._lastStatus=z;var W=this._group,U=this._handle;if(!z||"hide"===z)return W&&W.hide(),void(U&&U.hide());W&&W.show(),U&&U.show();var Y={};this.makeElOption(Y,D,d,b,x);var Z=Y.graphicKey;Z!==this._lastGraphicKey&&this.clear(x),this._lastGraphicKey=Z;var J=this._moveAnimation=this.determineAnimation(d,b);if(W){var ee=H.h(BaseAxisPointer_updateProps,b,J);this.updatePointerEl(W,Y,ee),this.updateLabelEl(W,Y,ee,b)}else W=this._group=new Xn,this.createPointerEl(W,Y,d,b),this.createLabelEl(W,Y,d,b),x.getZr().add(W);updateMandatoryProps(W,b,!0),this._renderHandle(D)}},BaseAxisPointer.prototype.remove=function(d){this.clear(d)},BaseAxisPointer.prototype.dispose=function(d){this.clear(d)},BaseAxisPointer.prototype.determineAnimation=function(d,b){var x=b.get("animation"),T=d.axis,D="category"===T.type,z=b.get("snap");if(!z&&!D)return!1;if("auto"===x||null==x){var H=this.animationThreshold;if(D&&T.getBandWidth()>H)return!0;if(z){var W=getAxisInfo(d).seriesDataCount,U=T.getExtent();return Math.abs(U[0]-U[1])/W>H}return!1}return!0===x},BaseAxisPointer.prototype.makeElOption=function(d,b,x,T,D){},BaseAxisPointer.prototype.createPointerEl=function(d,b,x,D){var z=b.pointer;if(z){var H=Ey(d).pointerEl=new T[z.type](Ly(b.pointer));d.add(H)}},BaseAxisPointer.prototype.createLabelEl=function(d,b,x,T){if(b.label){var D=Ey(d).labelEl=new Pr(Ly(b.label));d.add(D),updateLabelShowHide(D,T)}},BaseAxisPointer.prototype.updatePointerEl=function(d,b,x){var T=Ey(d).pointerEl;T&&b.pointer&&(T.setStyle(b.pointer.style),x(T,{shape:b.pointer.shape}))},BaseAxisPointer.prototype.updateLabelEl=function(d,b,x,T){var D=Ey(d).labelEl;D&&(D.setStyle(b.label.style),x(D,{x:b.label.x,y:b.label.y}),updateLabelShowHide(D,T))},BaseAxisPointer.prototype._renderHandle=function(d){if(!this._dragging&&this.updateHandleTransform){var b,x=this._axisPointerModel,T=this._api.getZr(),D=this._handle,z=x.getModel("handle"),W=x.get("status");if(!z.get("show")||!W||"hide"===W)return D&&T.remove(D),void(this._handle=null);this._handle||(b=!0,D=this._handle=createIcon(z.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(d){event_stop(d.event)},onmousedown:Ry(this._onHandleDragMove,this,0,0),drift:Ry(this._onHandleDragMove,this),ondragend:Ry(this._onHandleDragEnd,this)}),T.add(D)),updateMandatoryProps(D,x,!1),D.setStyle(z.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var U=z.get("size");H.t(U)||(U=[U,U]),D.scaleX=U[0]/2,D.scaleY=U[1]/2,createOrUpdate(this,"_doDispatchAxisPointer",z.get("throttle")||0,"fixRate"),this._moveHandleToValue(d,b)}},BaseAxisPointer.prototype._moveHandleToValue=function(d,b){BaseAxisPointer_updateProps(this._axisPointerModel,!b&&this._moveAnimation,this._handle,getHandleTransProps(this.getHandleTransform(d,this._axisModel,this._axisPointerModel)))},BaseAxisPointer.prototype._onHandleDragMove=function(d,b){var x=this._handle;if(x){this._dragging=!0;var T=this.updateHandleTransform(getHandleTransProps(x),[d,b],this._axisModel,this._axisPointerModel);this._payloadInfo=T,x.stopAnimation(),x.attr(getHandleTransProps(T)),Ey(x).lastProp=null,this._doDispatchAxisPointer()}},BaseAxisPointer.prototype._doDispatchAxisPointer=function(){if(this._handle){var d=this._payloadInfo,b=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:d.cursorPoint[0],y:d.cursorPoint[1],tooltipOption:d.tooltipOption,axesInfo:[{axisDim:b.axis.dim,axisIndex:b.componentIndex}]})}},BaseAxisPointer.prototype._onHandleDragEnd=function(){if(this._dragging=!1,this._handle){var d=this._axisPointerModel.get("value");this._moveHandleToValue(d),this._api.dispatchAction({type:"hideTip"})}},BaseAxisPointer.prototype.clear=function(d){this._lastValue=null,this._lastStatus=null;var b=d.getZr(),x=this._group,T=this._handle;b&&x&&(this._lastGraphicKey=null,x&&b.remove(x),T&&b.remove(T),this._group=null,this._handle=null,this._payloadInfo=null),clear(this,"_doDispatchAxisPointer")},BaseAxisPointer.prototype.doClear=function(){},BaseAxisPointer.prototype.buildLabel=function(d,b,x){return{x:d[x=x||0],y:d[1-x],width:b[x],height:b[1-x]}},BaseAxisPointer}();function buildElStyle(d){var b,x=d.get("type"),T=d.getModel(x+"Style");return"line"===x?(b=T.getLineStyle()).fill=null:"shadow"===x&&((b=T.getAreaStyle()).stroke=null),b}function buildLabelElOption(d,b,x,T,D){var z=getValueLabel(x.get("value"),b.axis,b.ecModel,x.get("seriesDataIndices"),{precision:x.get(["label","precision"]),formatter:x.get(["label","formatter"])}),H=x.getModel("label"),W=yo(H.get("padding")||0),U=H.getFont(),Y=getBoundingRect(z,U),Z=D.position,J=Y.width+W[1]+W[3],ee=Y.height+W[0]+W[2],te=D.align;"right"===te&&(Z[0]-=J),"center"===te&&(Z[0]-=J/2);var ne=D.verticalAlign;"bottom"===ne&&(Z[1]-=ee),"middle"===ne&&(Z[1]-=ee/2),function(d,b,x,T){var D=T.getWidth(),z=T.getHeight();d[0]=Math.min(d[0]+b,D)-b,d[1]=Math.min(d[1]+x,z)-x,d[0]=Math.max(d[0],0),d[1]=Math.max(d[1],0)}(Z,J,ee,T);var ie=H.get("backgroundColor");ie&&"auto"!==ie||(ie=b.get(["axisLine","lineStyle","color"])),d.label={x:Z[0],y:Z[1],style:createTextStyle(H,{text:z,font:U,fill:H.getTextColor(),padding:W,backgroundColor:ie}),z2:10}}function getValueLabel(d,b,x,T,D){d=b.scale.parse(d);var z=b.scale.getLabel({value:d},{precision:D.precision}),W=D.formatter;if(W){var U={value:getAxisRawValue(b,{value:d}),axisDimension:b.dim,axisIndex:b.index,seriesData:[]};H.k(T,(function(d){var b=x.getSeriesByIndex(d.seriesIndex),T=d.dataIndexInside,D=b&&b.getDataParams(T);D&&U.seriesData.push(D)})),H.C(W)?z=W.replace("{value}",z):H.w(W)&&(z=W(U))}return z}function getTransformedPosition(d,b,x){var T=[1,0,0,1,0,0];return matrix_rotate(T,T,x.rotation),matrix_translate(T,T,x.position),graphic_applyTransform([d.dataToCoord(b),(x.labelOffset||0)+(x.labelDirection||1)*(x.labelMargin||0)],T)}function buildCartesianSingleLabelElOption(d,b,x,T,D,z){var H=rp.innerTextLayout(x.rotation,0,x.labelDirection);x.labelMargin=D.get(["label","margin"]),buildLabelElOption(b,T,D,z,{position:getTransformedPosition(T.axis,d,x),align:H.textAlign,verticalAlign:H.textVerticalAlign})}function makeLineShape(d,b,x){return{x1:d[x=x||0],y1:d[1-x],x2:b[x],y2:b[1-x]}}function makeRectShape(d,b,x){return{x:d[x=x||0],y:d[1-x],width:b[x],height:b[1-x]}}function makeSectorShape(d,b,x,T,D,z){return{cx:d,cy:b,r0:x,r:T,startAngle:D,endAngle:z,clockwise:!0}}var Ny=function(d){function CartesianAxisPointer(){return null!==d&&d.apply(this,arguments)||this}return __extends(CartesianAxisPointer,d),CartesianAxisPointer.prototype.makeElOption=function(d,b,x,T,D){var z=x.axis,H=z.grid,W=T.get("type"),U=getCartesian(H,z).getOtherAxis(z).getGlobalExtent(),Y=z.toGlobalCoord(z.dataToCoord(b,!0));if(W&&"none"!==W){var Z=buildElStyle(T),J=jy[W](z,Y,U);J.style=Z,d.graphicKey=J.type,d.pointer=J}buildCartesianSingleLabelElOption(b,d,cartesianAxisHelper_layout(H.getRect(),x),x,T,D)},CartesianAxisPointer.prototype.getHandleTransform=function(d,b,x){var T=cartesianAxisHelper_layout(b.axis.grid.getRect(),b,{labelInside:!1});T.labelMargin=x.get(["handle","margin"]);var D=getTransformedPosition(b.axis,d,T);return{x:D[0],y:D[1],rotation:T.rotation+(T.labelDirection<0?Math.PI:0)}},CartesianAxisPointer.prototype.updateHandleTransform=function(d,b,x,T){var D=x.axis,z=D.grid,H=D.getGlobalExtent(!0),W=getCartesian(z,D).getOtherAxis(D).getGlobalExtent(),U="x"===D.dim?0:1,Y=[d.x,d.y];Y[U]+=b[U],Y[U]=Math.min(H[1],Y[U]),Y[U]=Math.max(H[0],Y[U]);var Z=(W[1]+W[0])/2,J=[Z,Z];J[U]=Y[U];return{x:Y[0],y:Y[1],rotation:d.rotation,cursorPoint:J,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][U]}},CartesianAxisPointer}(By);function getCartesian(d,b){var x={};return x[b.dim+"AxisIndex"]=b.index,d.getCartesian(x)}var jy={line:function(d,b,x){return{type:"Line",subPixelOptimize:!0,shape:makeLineShape([b,x[0]],[b,x[1]],getAxisDimIndex(d))}},shadow:function(d,b,x){var T=Math.max(1,d.getBandWidth()),D=x[1]-x[0];return{type:"Rect",shape:makeRectShape([b-T/2,x[0]],[T,D],getAxisDimIndex(d))}}};function getAxisDimIndex(d){return"x"===d.dim?0:1}var Vy=Ny,zy=function(d){function AxisPointerModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=AxisPointerModel.type,b}return __extends(AxisPointerModel,d),AxisPointerModel.type="axisPointer",AxisPointerModel.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:Fo.color.border,width:1,type:"dashed"},shadowStyle:{color:Fo.color.shadowTint},label:{show:!0,formatter:null,precision:"auto",margin:3,color:Fo.color.neutral00,padding:[5,7,5,7],backgroundColor:Fo.color.accent60,borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:Fo.color.accent40,throttle:40}},AxisPointerModel}(Bo),Fy=makeInner(),Hy=H.k;function register(d,b,x){if(!z.a.node){var T=b.getZr();Fy(T).records||(Fy(T).records={}),function(d,b){if(Fy(d).initialized)return;function useHandler(x,T){d.on(x,(function(x){var D=function(d){var b={showTip:[],hideTip:[]};return{dispatchAction:function dispatchAction(x){var T=b[x.type];T?T.push(x):(x.dispatchAction=dispatchAction,d.dispatchAction(x))},pendings:b}}(b);Hy(Fy(d).records,(function(d){d&&T(d,x,D.dispatchAction)})),function(d,b){var x,T=d.showTip.length,D=d.hideTip.length;T?x=d.showTip[T-1]:D&&(x=d.hideTip[D-1]);x&&(x.dispatchAction=null,b.dispatchAction(x))}(D.pendings,b)}))}Fy(d).initialized=!0,useHandler("click",H.h(doEnter,"click")),useHandler("mousemove",H.h(doEnter,"mousemove")),useHandler("globalout",onLeave)}(T,b),(Fy(T).records[d]||(Fy(T).records[d]={})).handler=x}}function onLeave(d,b,x){d.handler("leave",null,x)}function doEnter(d,b,x,T){b.handler(d,x,T)}function unregister(d,b){if(!z.a.node){var x=b.getZr();(Fy(x).records||{})[d]&&(Fy(x).records[d]=null)}}var Gy=function(d){function AxisPointerView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=AxisPointerView.type,b}return __extends(AxisPointerView,d),AxisPointerView.prototype.render=function(d,b,x){var T=b.getComponent("tooltip"),D=d.get("triggerOn")||T&&T.get("triggerOn")||"mousemove|click";register("axisPointer",x,(function(d,b,x){"none"!==D&&("leave"===d||D.indexOf(d)>
vendor: 1,898 bytes, line 808
808=0)&&x({type:"updateAxisPointer",currTrigger:d,x:b&&b.offsetX,y:b&&b.offsetY})}))},AxisPointerView.prototype.remove=function(d,b){unregister("axisPointer",b)},AxisPointerView.prototype.dispose=function(d,b){unregister("axisPointer",b)},AxisPointerView.type="axisPointer",AxisPointerView}(ns);function findPointFromSeries(d,b){var x,T=[],D=d.seriesIndex;if(null==D||!(x=b.getSeriesByIndex(D)))return{point:[]};var z=x.getData(),W=queryDataIndex(z,d);if(null==W||W<0||H.t(W))return{point:[]};var U=z.getItemGraphicEl(W),Y=x.coordinateSystem;if(x.getTooltipPosition)T=x.getTooltipPosition(W)||[];else if(Y&&Y.dataToPoint)if(d.isStacked){var Z=Y.getBaseAxis(),J=Y.getOtherAxis(Z).dim,ee=Z.dim,te="x"===J||"radius"===J?1:0,ne=z.mapDimension(ee),ie=[];ie[te]=z.get(ne,W),ie[1-te]=z.get(z.getCalculationInfo("stackResultDimension"),W),T=Y.dataToPoint(ie)||[]}else T=Y.dataToPoint(z.getValues(H.H(Y.dimensions,(function(d){return z.mapDimension(d)})),W))||[];else if(U){var oe=U.getBoundingRect().clone();oe.applyTransform(U.transform),T=[oe.x+oe.width/2,oe.y+oe.height/2]}return{point:T,el:U}}var $y=makeInner();function axisTrigger(d,b,x){var T=d.currTrigger,D=[d.x,d.y],z=d,W=d.dispatchAction||Object(H.c)(x.dispatchAction,x),U=b.getComponent("axisPointer").coordSysAxesInfo;if(U){illegalPoint(D)&&(D=findPointFromSeries({seriesIndex:z.seriesIndex,dataIndex:z.dataIndex},b).point);var Y=illegalPoint(D),Z=z.axesInfo,J=U.axesInfo,ee="leave"===T||illegalPoint(D),te={},ne={},ie={list:[],map:{}},oe={showPointer:Object(H.h)(axisTrigger_showPointer,ne),showTooltip:Object(H.h)(showTooltip,ie)};Object(H.k)(U.coordSysMap,(function(d,b){var x=Y||d.containPoint(D);Object(H.k)(U.coordSysAxesInfo[b],(function(d,b){var T=d.axis,z=function(d,b){for(var x=0;x<(d||[]).length;x++){var T=d[x];if(b.axis.dim===T.axisDim&&b.axis.model.componentIndex===T.axisIndex)return T}}(Z,d);if(!ee&&x&&(!Z||z)){var H=z&&z.value;
vendor: 9,896 bytes, line 808
808null!=H||Y||(H=T.pointToData(D)),null!=H&&processOnAxis(d,H,oe,!1,te)}}))}));var se={};return Object(H.k)(J,(function(d,b){var x=d.linkGroup;x&&!ne[b]&&Object(H.k)(x.axesInfo,(function(b,T){var D=ne[T];if(b!==d&&D){var z=D.value;x.mapper&&(z=d.axis.scale.parse(x.mapper(z,makeMapperParam(b),makeMapperParam(d)))),se[d.key]=z}}))})),Object(H.k)(se,(function(d,b){processOnAxis(J[b],d,oe,!0,te)})),function(d,b,x){var T=x.axesInfo=[];Object(H.k)(b,(function(b,x){var D=b.axisPointerModel.option,z=d[x];z?(!b.useHandle&&(D.status="show"),D.value=z.value,D.seriesDataIndices=(z.payloadBatch||[]).slice()):!b.useHandle&&(D.status="hide"),"show"===D.status&&T.push({axisDim:b.axis.dim,axisIndex:b.axis.model.componentIndex,value:D.value})}))}(ne,J,te),function(d,b,x,T){if(illegalPoint(b)||!d.list.length)return void T({type:"hideTip"});var D=((d.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};T({type:"showTip",escapeConnect:!0,x:b[0],y:b[1],tooltipOption:x.tooltipOption,position:x.position,dataIndexInside:D.dataIndexInside,dataIndex:D.dataIndex,seriesIndex:D.seriesIndex,dataByCoordSys:d.list})}(ie,D,d,W),function(d,b,x){var T=x.getZr(),D=$y(T).axisPointerLastHighlights||{},z=$y(T).axisPointerLastHighlights={};Object(H.k)(d,(function(d,b){var x=d.axisPointerModel.option;"show"===x.status&&d.triggerEmphasis&&Object(H.k)(x.seriesDataIndices,(function(d){var b=d.seriesIndex+" | "+d.dataIndex;z[b]=d}))}));var W=[],U=[];Object(H.k)(D,(function(d,b){!z[b]&&U.push(d)})),Object(H.k)(z,(function(d,b){!D[b]&&W.push(d)})),U.length&&x.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:U}),W.length&&x.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:W})}(J,0,x),te}}function processOnAxis(d,b,x,T,D){var z=d.axis;if(!z.scale.isBlank()&&z.containData(b))if(d.involveSeries){var W=function(d,b){var x=b.axis,T=x.dim,D=d,z=[],W=Number.MAX_VALUE,U=-1;return Object(H.k)(b.seriesModels,(function(b,Y){var Z,J,ee=b.getData().mapDimensionsAll(T);if(b.getAxisTooltipData){var te=b.getAxisTooltipData(ee,d,x);J=te.dataIndices,Z=te.nestestValue}else{if(!(J=b.indicesOfNearest(T,ee[0],d,"category"===x.type?.5:null)).length)return;Z=b.getData().get(ee[0],J[0])}if(null!=Z&&isFinite(Z)){var ne=d-Z,ie=Math.abs(ne);ie<=W&&((ie<W||ne>=0&&U<0)&&(W=ie,U=ne,D=Z,z.length=0),Object(H.k)(J,(function(d){z.push({seriesIndex:b.seriesIndex,dataIndexInside:d,dataIndex:b.getData().getRawIndex(d)})})))}})),{payloadBatch:z,snapToValue:D}}(b,d),U=W.payloadBatch,Y=W.snapToValue;U[0]&&null==D.seriesIndex&&Object(H.m)(D,U[0]),!T&&d.snap&&z.containData(Y)&&null!=Y&&(b=Y),x.showPointer(d,b,U),x.showTooltip(d,W,Y)}else x.showPointer(d,b)}function axisTrigger_showPointer(d,b,x,T){d[b.key]={value:x,payloadBatch:T}}function showTooltip(d,b,x,T){var D=x.payloadBatch,z=b.axis,H=z.model,W=b.axisPointerModel;if(b.triggerTooltip&&D.length){var U=b.coordSys.model,Y=makeKey(U),Z=d.map[Y];Z||(Z=d.map[Y]={coordSysId:U.id,coordSysIndex:U.componentIndex,coordSysType:U.type,coordSysMainType:U.mainType,dataByAxis:[]},d.list.push(Z)),Z.dataByAxis.push({axisDim:z.dim,axisIndex:H.componentIndex,axisType:H.type,axisId:H.id,value:T,valueLabelOpt:{precision:W.get(["label","precision"]),formatter:W.get(["label","formatter"])},seriesDataIndices:D.slice()})}}function makeMapperParam(d){var b=d.axis.model,x={},T=x.axisDim=d.axis.dim;return x.axisIndex=x[T+"AxisIndex"]=b.componentIndex,x.axisName=x[T+"AxisName"]=b.name,x.axisId=x[T+"AxisId"]=b.id,x}function illegalPoint(d){return!d||null==d[0]||isNaN(d[0])||null==d[1]||isNaN(d[1])}function axisPointer_install_install(d){cp.registerAxisPointerClass("CartesianAxisPointer",Vy),d.registerComponentModel(zy),d.registerComponentView(Gy),d.registerPreprocessor((function(d){if(d){(!d.axisPointer||0===d.axisPointer.length)&&(d.axisPointer={});var b=d.axisPointer.link;b&&!Object(H.t)(b)&&(d.axisPointer.link=[b])}})),d.registerProcessor(d.PRIORITY.PROCESSOR.STATISTIC,(function(d,b){d.getComponent("axisPointer").coordSysAxesInfo=collect(d,b)})),d.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},axisTrigger)}var Wy=function(d){function PolarAxisPointer(){return null!==d&&d.apply(this,arguments)||this}return __extends(PolarAxisPointer,d),PolarAxisPointer.prototype.makeElOption=function(d,b,x,T,D){var z=x.axis;"angle"===z.dim&&(this.animationThreshold=Math.PI/18);var H=z.polar,W=H.getOtherAxis(z).getExtent(),U=z.dataToCoord(b),Y=T.get("type");if(Y&&"none"!==Y){var Z=buildElStyle(T),J=Uy[Y](z,H,U,W);J.style=Z,d.graphicKey=J.type,d.pointer=J}var ee=function(d,b,x,T,D){var z=b.axis,H=z.dataToCoord(d),W=T.getAngleAxis().getExtent()[0];W=W/180*Math.PI;var U,Y,Z,J=T.getRadiusAxis().getExtent();if("radius"===z.dim){var ee=[1,0,0,1,0,0];matrix_rotate(ee,ee,W),matrix_translate(ee,ee,[T.cx,T.cy]),U=graphic_applyTransform([H,-D],ee);var te=b.getModel("axisLabel").get("rotate")||0,ne=rp.innerTextLayout(W,te*Math.PI/180,-1);Y=ne.textAlign,Z=ne.textVerticalAlign}else{var ie=J[1];U=T.coordToPoint([ie+D,H]);var oe=T.cx,se=T.cy;Y=Math.abs(U[0]-oe)/ie<.3?"center":U[0]>oe?"left":"right",Z=Math.abs(U[1]-se)/ie<.3?"middle":U[1]>se?"top":"bottom"}return{position:U,align:Y,verticalAlign:Z}}(b,x,0,H,T.get(["label","margin"]));buildLabelElOption(d,x,T,D,ee)},PolarAxisPointer}(By);var Uy={line:function(d,b,x,T){return"angle"===d.dim?{type:"Line",shape:makeLineShape(b.coordToPoint([T[0],x]),b.coordToPoint([T[1],x]))}:{type:"Circle",shape:{cx:b.cx,cy:b.cy,r:x}}},shadow:function(d,b,x,T){var D=Math.max(1,d.getBandWidth()),z=Math.PI/180;return"angle"===d.dim?{type:"Sector",shape:makeSectorShape(b.cx,b.cy,T[0],T[1],(-x-D/2)*z,(D/2-x)*z)}:{type:"Sector",shape:makeSectorShape(b.cx,b.cy,x-D/2,x+D/2,0,2*Math.PI)}}},Yy=Wy,qy=function(d){function PolarModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=PolarModel.type,b}return __extends(PolarModel,d),PolarModel.prototype.findAxisModel=function(d){var b;return this.ecModel.eachComponent(d,(function(d){d.getCoordSysModel()===this&&(b=d)}),this),b},PolarModel.type="polar",PolarModel.dependencies=["radiusAxis","angleAxis"],PolarModel.defaultOption={z:0,center:["50%","50%"],radius:"80%"},PolarModel}(Bo),Zy=function(d){function PolarAxisModel(){return null!==d&&d.apply(this,arguments)||this}return __extends(PolarAxisModel,d),PolarAxisModel.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",si).models[0]},PolarAxisModel.type="polarAxis",PolarAxisModel}(Bo);H.K(Zy,Qd);var Xy=function(d){function AngleAxisModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=AngleAxisModel.type,b}return __extends(AngleAxisModel,d),AngleAxisModel.type="angleAxis",AngleAxisModel}(Zy),Ky=function(d){function RadiusAxisModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=RadiusAxisModel.type,b}return __extends(RadiusAxisModel,d),RadiusAxisModel.type="radiusAxis",RadiusAxisModel}(Zy),Jy=function(d){function RadiusAxis(b,x){return d.call(this,"radius",b,x)||this}return __extends(RadiusAxis,d),RadiusAxis.prototype.pointToData=function(d,b){return this.polar.pointToData(d,b)["radius"===this.dim?0:1]},RadiusAxis}(zh);Jy.prototype.dataToRadius=zh.prototype.dataToCoord,Jy.prototype.radiusToData=zh.prototype.coordToData;var Qy=Jy,ev=makeInner(),tv=function(d){function AngleAxis(b,x){return d.call(this,"angle",b,x||[0,360])||this}return __extends(AngleAxis,d),AngleAxis.prototype.pointToData=function(d,b){return this.polar.pointToData(d,b)["radius"===this.dim?0:1]},AngleAxis.prototype.calculateCategoryInterval=function(){var d=this.getLabelModel(),b=this.scale,x=b.getExtent(),T=b.count();if(x[1]-x[0]<1)return 0;var D=x[0],z=this.dataToCoord(D+1)-this.dataToCoord(D),H=Math.abs(z),W=getBoundingRect(null==D?"":D+"",d.getFont(),"center","top"),U=Math.max(W.height,7)/H;isNaN(U)&&(U=1/0);var Y=Math.max(0,Math.floor(U)),Z=ev(this.model),J=Z.lastAutoInterval,ee=Z.lastTickCount;return null!=J&&null!=ee&&Math.abs(J-Y)<=1&&Math.abs(ee-T)<=1&&J>Y?Y=J:(Z.lastTickCount=T,Z.lastAutoInterval=Y),Y},AngleAxis}(zh);tv.prototype.dataToAngle=zh.prototype.dataToCoord,tv.prototype.angleToData=zh.prototype.coordToData;var nv=tv,iv=["radius","angle"];function Polar_getCoordSys(d){var b=d.seriesModel,x=d.polarModel;return x&&x.coordinateSystem||b&&b.coordinateSystem}var rv=function(){function Polar(d){this.dimensions=iv,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new Qy,this._angleAxis=new nv,this.axisPointerEnabled=!0,this.name=d||"",this._radiusAxis.polar=this._angleAxis.polar=this}return Polar.prototype.containPoint=function(d){var b=this.pointToCoord(d);return this._radiusAxis.contain(b[0])&&this._angleAxis.contain(b[1])},Polar.prototype.containData=function(d){return this._radiusAxis.containData(d[0])&&this._angleAxis.containData(d[1])},Polar.prototype.getAxis=function(d){return this["_"+d+"Axis"]},Polar.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},Polar.prototype.getAxesByScale=function(d){var b=[],x=this._angleAxis,T=this._radiusAxis;return x.scale.type===d&&b.push(x),T.scale.type===d&&b.push(T),b},Polar.prototype.getAngleAxis=function(){return this._angleAxis},Polar.prototype.getRadiusAxis=function(){return this._radiusAxis},Polar.prototype.getOtherAxis=function(d){var b=this._angleAxis;return d===b?this._radiusAxis:b},Polar.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},Polar.prototype.getTooltipAxes=function(d){var b=null!=d&&"auto"!==d?this.getAxis(d):this.getBaseAxis();return{baseAxes:[b],otherAxes:[this.getOtherAxis(b)]}},Polar.prototype.dataToPoint=function(d,b,x){return this.coordToPoint([this._radiusAxis.dataToRadius(d[0],b),this._angleAxis.dataToAngle(d[1],b)],x)},Polar.prototype.pointToData=function(d,b,x){x=x||[];var T=this.pointToCoord(d);return x[0]=this._radiusAxis.radiusToData(T[0],b),x[1]=this._angleAxis.angleToData(T[1],b),x}
vendor: 4,172 bytes, line 808
808,Polar.prototype.pointToCoord=function(d){var b=d[0]-this.cx,x=d[1]-this.cy,T=this.getAngleAxis(),D=T.getExtent(),z=Math.min(D[0],D[1]),H=Math.max(D[0],D[1]);T.inverse?z=H-360:H=z+360;var W=Math.sqrt(b*b+x*x);b/=W,x/=W;for(var U=Math.atan2(-x,b)/Math.PI*180,Y=U<z?1:-1;U<z||U>H;)U+=360*Y;return[W,U]},Polar.prototype.coordToPoint=function(d,b){b=b||[];var x=d[0],T=d[1]/180*Math.PI;return b[0]=Math.cos(T)*x+this.cx,b[1]=-Math.sin(T)*x+this.cy,b},Polar.prototype.getArea=function(){var d=this.getAngleAxis(),b=this.getRadiusAxis().getExtent().slice();b[0]>b[1]&&b.reverse();var x=d.getExtent(),T=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:b[0],r:b[1],startAngle:-x[0]*T,endAngle:-x[1]*T,clockwise:d.inverse,contain:function(d,b){var x=d-this.cx,T=b-this.cy,D=x*x+T*T,z=this.r,H=this.r0;return z!==H&&D-1e-4<=z*z&&D+1e-4>=H*H},x:this.cx-b[1],y:this.cy-b[1],width:2*b[1],height:2*b[1]}},Polar.prototype.convertToPixel=function(d,b,x){return Polar_getCoordSys(b)===this?this.dataToPoint(x):null},Polar.prototype.convertFromPixel=function(d,b,x){return Polar_getCoordSys(b)===this?this.pointToData(x):null},Polar}();function updatePolarScale(d,b){var x=this,T=x.getAngleAxis(),D=x.getRadiusAxis();if(T.scale.setExtent(1/0,-1/0),D.scale.setExtent(1/0,-1/0),d.eachSeries((function(d){if(d.coordinateSystem===x){var b=d.getData();H.k(getDataDimensionsOnAxis(b,"radius"),(function(d){D.scale.unionExtentFromData(b,d)})),H.k(getDataDimensionsOnAxis(b,"angle"),(function(d){T.scale.unionExtentFromData(b,d)}))}})),niceScaleExtent(T.scale,T.model),niceScaleExtent(D.scale,D.model),"category"===T.type&&!T.onBand){var z=T.getExtent(),W=360/T.scale.count();T.inverse?z[1]+=W:z[1]-=W,T.setExtent(z[0],z[1])}}function setAxis(d,b){var x;if(d.type=b.get("type"),d.scale=createScaleByModel(b),d.onBand=b.get("boundaryGap")&&"category"===d.type,d.inverse=b.get("inverse"),function(d){return"angleAxis"===d.mainType}(b)){d.inverse=d.inverse!==b.get("clockwise");var T=b.get("startAngle"),D=null!==(x=b.get("endAngle"))&&void 0!==x?x:T+(d.inverse?-360:360);d.setExtent(T,D)}b.axis=d,d.model=b}var ov={dimensions:iv,create:function(d,b){var x=[];return d.eachComponent("polar",(function(d,T){var D=new rv(T+"");D.update=updatePolarScale;var z=D.getRadiusAxis(),W=D.getAngleAxis(),U=d.findAxisModel("radiusAxis"),Y=d.findAxisModel("angleAxis");setAxis(z,U),setAxis(W,Y),function(d,b,x){var T=b.get("center"),D=createBoxLayoutReference(b,x).refContainer;d.cx=number_parsePercent(T[0],D.width)+D.x,d.cy=number_parsePercent(T[1],D.height)+D.y;var z=d.getRadiusAxis(),W=Math.min(D.width,D.height)/2,U=b.get("radius");null==U?U=[0,"100%"]:H.t(U)||(U=[0,U]);var Y=[number_parsePercent(U[0],W),number_parsePercent(U[1],W)];z.inverse?z.setExtent(Y[1],Y[0]):z.setExtent(Y[0],Y[1])}(D,d,b),x.push(D),d.coordinateSystem=D,D.model=d})),d.eachSeries((function(d){if("polar"===d.get("coordinateSystem")){var b=d.getReferringComponents("polar",si).models[0];0,d.coordinateSystem=b.coordinateSystem}})),x}},av=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function getAxisLineShape(d,b,x){b[1]>b[0]&&(b=b.slice().reverse());var T=d.coordToPoint([b[0],x]),D=d.coordToPoint([b[1],x]);return{x1:T[0],y1:T[1],x2:D[0],y2:D[1]}}function getRadiusIdx(d){return d.getRadiusAxis().inverse?0:1}function fixAngleOverlap(d){var b=d[0],x=d[d.length-1];b&&x&&Math.abs(Math.abs(b.coord-x.coord)-360)<1e-4&&d.pop()}var sv=function(d){function AngleAxisView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=AngleAxisView.type,b.axisPointerClass="PolarAxisPointer",b}return __extends(AngleAxisView,d),AngleAxisView.prototype.render=function(d,b){if(this.group.removeAll(),d.get("show")){var x=d.axis,T=x.polar,D=T.getRadiusAxis().getExtent(),z=x.getTicksCoords({breakTicks:"none"}),W=x.getMinorTicksCoords(),U=H.H(x.getViewLabels(),(function(d){d=H.d(d);var b=x.scale,T="ordinal"===b.type?b.getRawOrdinalNumber(d.tickValue):d.tickValue;return d.coord=x.dataToCoord(T),d}));fixAngleOverlap(U),fixAngleOverlap(z),H.k(av,(function(b){!d.get([b,"show"])||x.scale.isBlank()&&"axisLine"!==b||lv[b](this.group,d,T,z,W,D,U)}),this)}},AngleAxisView.type="angleAxis",AngleAxisView}
vendor: 8,210 bytes, line 808
808(cp),lv={axisLine:function(d,b,x,D,z,H){var W,U=b.getModel(["axisLine","lineStyle"]),Y=x.getAngleAxis(),Z=Math.PI/180,J=Y.getExtent(),ee=getRadiusIdx(x),te=ee?0:1,ne=360===Math.abs(J[1]-J[0])?"Circle":"Arc";(W=0===H[te]?new T[ne]({shape:{cx:x.cx,cy:x.cy,r:H[ee],startAngle:-J[0]*Z,endAngle:-J[1]*Z,clockwise:Y.inverse},style:U.getLineStyle(),z2:1,silent:!0}):new Is({shape:{cx:x.cx,cy:x.cy,r:H[ee],r0:H[te]},style:U.getLineStyle(),z2:1,silent:!0})).style.fill=null,d.add(W)},axisTick:function(d,b,x,T,D,z){var W=b.getModel("axisTick"),U=(W.get("inside")?-1:1)*W.get("length"),Y=z[getRadiusIdx(x)],Z=H.H(T,(function(d){return new js({shape:getAxisLineShape(x,[Y,Y+U],d.coord)})}));d.add(graphic_mergePath(Z,{style:H.i(W.getModel("lineStyle").getLineStyle(),{stroke:b.get(["axisLine","lineStyle","color"])})}))},minorTick:function(d,b,x,T,D,z){if(D.length){for(var W=b.getModel("axisTick"),U=b.getModel("minorTick"),Y=(W.get("inside")?-1:1)*U.get("length"),Z=z[getRadiusIdx(x)],J=[],ee=0;ee<D.length;ee++)for(var te=0;te<D[ee].length;te++)J.push(new js({shape:getAxisLineShape(x,[Z,Z+Y],D[ee][te].coord)}));d.add(graphic_mergePath(J,{style:H.i(U.getModel("lineStyle").getLineStyle(),H.i(W.getLineStyle(),{stroke:b.get(["axisLine","lineStyle","color"])}))}))}},axisLabel:function(d,b,x,T,D,z,W){var U=b.getCategories(!0),Y=b.getModel("axisLabel"),Z=Y.get("margin"),J=b.get("triggerEvent");H.k(W,(function(T,D){var W=Y,ee=T.tickValue,te=z[getRadiusIdx(x)],ne=x.coordToPoint([te+Z,T.coord]),ie=x.cx,oe=x.cy,se=Math.abs(ne[0]-ie)/te<.3?"center":ne[0]>ie?"left":"right",le=Math.abs(ne[1]-oe)/te<.3?"middle":ne[1]>oe?"top":"bottom";if(U&&U[ee]){var ce=U[ee];H.A(ce)&&ce.textStyle&&(W=new oo(ce.textStyle,Y,Y.ecModel))}var de=new Pr({silent:rp.isLabelSilent(b),style:createTextStyle(W,{x:ne[0],y:ne[1],fill:W.getTextColor()||b.get(["axisLine","lineStyle","color"]),text:T.formattedLabel,align:se,verticalAlign:le})});if(d.add(de),setTooltipConfig({el:de,componentModel:b,itemName:T.formattedLabel,formatterParamsExtra:{isTruncated:function(){return de.isTruncated},value:T.rawLabel,tickIndex:D}}),J){var he=rp.makeAxisEventDataBase(b);he.targetType="axisLabel",he.value=T.rawLabel,Or(de).eventData=he}}),this)},splitLine:function(d,b,x,T,D,z){var W=b.getModel("splitLine").getModel("lineStyle"),U=W.get("color"),Y=0;U=U instanceof Array?U:[U];for(var Z=[],J=0;J<T.length;J++){var ee=Y++%U.length;Z[ee]=Z[ee]||[],Z[ee].push(new js({shape:getAxisLineShape(x,z,T[J].coord)}))}for(J=0;J<Z.length;J++)d.add(graphic_mergePath(Z[J],{style:H.i({stroke:U[J%U.length]},W.getLineStyle()),silent:!0,z:b.get("z")}))},minorSplitLine:function(d,b,x,T,D,z){if(D.length){for(var H=b.getModel("minorSplitLine").getModel("lineStyle"),W=[],U=0;U<D.length;U++)for(var Y=0;Y<D[U].length;Y++)W.push(new js({shape:getAxisLineShape(x,z,D[U][Y].coord)}));d.add(graphic_mergePath(W,{style:H.getLineStyle(),silent:!0,z:b.get("z")}))}},splitArea:function(d,b,x,T,D,z){if(T.length){var W=b.getModel("splitArea").getModel("areaStyle"),U=W.get("color"),Y=0;U=U instanceof Array?U:[U];for(var Z=[],J=Math.PI/180,ee=-T[0].coord*J,te=Math.min(z[0],z[1]),ne=Math.max(z[0],z[1]),ie=b.get("clockwise"),oe=1,se=T.length;oe<=se;oe++){var le=oe===se?T[0].coord:T[oe].coord,ce=Y++%U.length;Z[ce]=Z[ce]||[],Z[ce].push(new Ps({shape:{cx:x.cx,cy:x.cy,r0:te,r:ne,startAngle:ee,endAngle:-le*J,clockwise:ie},silent:!0})),ee=-le*J}for(oe=0;oe<Z.length;oe++)d.add(graphic_mergePath(Z[oe],{style:H.i({fill:U[oe%U.length]},W.getAreaStyle()),silent:!0}))}}},uv=sv,cv=["splitLine","splitArea","minorSplitLine"],dv=function(d){function RadiusAxisView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=RadiusAxisView.type,b.axisPointerClass="PolarAxisPointer",b}return __extends(RadiusAxisView,d),RadiusAxisView.prototype.render=function(d,b,x){if(this.group.removeAll(),d.get("show")){var T=this._axisGroup,D=this._axisGroup=new Xn;this.group.add(D);var z=d.axis,W=z.polar,U=W.getAngleAxis(),Y=z.getTicksCoords(),Z=z.getMinorTicksCoords(),J=U.getExtent()[0],ee=z.getExtent(),te=function(d,b,x){return{position:[d.cx,d.cy],rotation:x/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:b.getModel("axisLabel").get("rotate"),z2:1}}(W,d,J),ne=new rp(d,x,te);ne.build(),D.add(ne.group),groupTransition(T,D,d),H.k(cv,(function(b){d.get([b,"show"])&&!z.scale.isBlank()&&hv[b](this.group,d,W,J,ee,Y,Z)}),this)}},RadiusAxisView.type="radiusAxis",RadiusAxisView}(cp),hv={splitLine:function(d,b,x,D,z,W){var U=b.getModel("splitLine").getModel("lineStyle"),Y=U.get("color"),Z=0,J=x.getAngleAxis(),ee=Math.PI/180,te=J.getExtent(),ne=360===Math.abs(te[1]-te[0])?"Circle":"Arc";Y=Y instanceof Array?Y:[Y];for(var ie=[],oe=0;oe<W.length;oe++){var se=Z++%Y.length;ie[se]=ie[se]||[],ie[se].push(new T[ne]({shape:{cx:x.cx,cy:x.cy,r:Math.max(W[oe].coord,0),startAngle:-te[0]*ee,endAngle:-te[1]*ee,clockwise:J.inverse}}))}for(oe=0;oe<ie.length;oe++)d.add(graphic_mergePath(ie[oe],{style:H.i({stroke:Y[oe%Y.length],fill:null},U.getLineStyle()),silent:!0}))},minorSplitLine:function(d,b,x,T,D,z,W){if(W.length){for(var U=b.getModel("minorSplitLine").getModel("lineStyle"),Y=[],Z=0;Z<W.length;Z++)for(var J=0;J<W[Z].length;J++)Y.push(new gs({shape:{cx:x.cx,cy:x.cy,r:W[Z][J].coord}}));d.add(graphic_mergePath(Y,{style:H.i({fill:null},U.getLineStyle()),silent:!0}))}},splitArea:function(d,b,x,T,D,z){if(z.length){var W=b.getModel("splitArea").getModel("areaStyle"),U=W.get("color"),Y=0;U=U instanceof Array?U:[U];for(var Z=[],J=z[0].coord,ee=1;ee<z.length;ee++){var te=Y++%U.length;Z[te]=Z[te]||[],Z[te].push(new Ps({shape:{cx:x.cx,cy:x.cy,r0:J,r:z[ee].coord,startAngle:0,endAngle:2*Math.PI},silent:!0})),J=z[ee].coord}for(ee=0;ee<Z.length;ee++)d.add(graphic_mergePath(Z[ee],{style:H.i({fill:U[ee%U.length]},W.getAreaStyle()),silent:!0}))}}};var pv=dv;function barPolar_getSeriesStackId(d){return d.get("stack")||"__ec_stack_"+d.seriesIndex}function barPolar_getAxisKey(d,b){return b.dim+d.model.componentIndex}var barPolar=function(d,b,x){var T={},D=function(d){var b={};H.k(d,(function(d,x){var T=d.getData(),D=d.coordinateSystem,z=D.getBaseAxis(),H=barPolar_getAxisKey(D,z),W=z.getExtent(),U="category"===z.type?z.getBandWidth():Math.abs(W[1]-W[0])/T.count(),Y=b[H]||{bandWidth:U,remainedWidth:U,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},Z=Y.stacks;b[H]=Y;var J=barPolar_getSeriesStackId(d);Z[J]||Y.autoWidthCount++,Z[J]=Z[J]||{width:0,maxWidth:0};var ee=number_parsePercent(d.get("barWidth"),U),te=number_parsePercent(d.get("barMaxWidth"),U),ne=d.get("barGap"),ie=d.get("barCategoryGap");ee&&!Z[J].width&&(ee=Math.min(Y.remainedWidth,ee),Z[J].width=ee,Y.remainedWidth-=ee),te&&(Z[J].maxWidth=te),null!=ne&&(Y.gap=ne),null!=ie&&(Y.categoryGap=ie)}));var x={};return H.k(b,(function(d,b){x[b]={};var T=d.stacks,D=d.bandWidth,z=number_parsePercent(d.categoryGap,D),W=number_parsePercent(d.gap,1),U=d.remainedWidth,Y=d.autoWidthCount,Z=(U-z)/(Y+(Y-1)*W);Z=Math.max(Z,0),H.k(T,(function(d,b){var x=d.maxWidth;x&&x<Z&&(x=Math.min(x,U),d.width&&(x=Math.min(x,d.width)),U-=x,d.width=x,Y--)})),Z=(U-z)/(Y+(Y-1)*W),Z=Math.max(Z,0);var J,ee=0;H.k(T,(function(d,b){d.width||(d.width=Z),J=d,ee+=d.width*(1+W)})),J&&(ee-=J.width*W);var te=-ee/2;H.k(T,(function(d,T){x[b][T]=x[b][T]||{offset:te,width:d.width},te+=d.width*(1+W)}))})),x}(H.n(b.getSeriesByType(d),(function(d){return!b.isSeriesFiltered(d)&&d.coordinateSystem&&"polar"===d.coordinateSystem.type})));b.eachSeriesByType(d,(function(d){if("polar"===d.coordinateSystem.type){var b=d.getData(),x=d.coordinateSystem,z=x.getBaseAxis(),H=barPolar_getAxisKey(x,z),W=barPolar_getSeriesStackId(d),U=D[H][W],Y=U.offset,Z=U.width,J=x.getOtherAxis(z),ee=d.coordinateSystem.cx,te=d.coordinateSystem.cy,ne=d.get("barMinHeight")||0,ie=d.get("barMinAngle")||0;T[W]=T[W]||[];for(var oe=b.mapDimension(J.dim),se=b.mapDimension(z.dim),le=isDimensionStacked(b,oe),ce="radius"!==z.dim||!d.get("roundCap",!0),de=J.model.get("startValue"),he=J.dataToCoord(de||0),pe=0,fe=b.count();pe<fe;pe++){var ge=b.get(oe,pe),me=b.get(se,pe),ye=ge>=0?"p":"n",ve=he;le&&(T[W][me]||(T[W][me]={p:he,n:he}),ve=T[W][me][ye]);var xe=void 0,_e=void 0,we=void 0,Se=void 0;if("radius"===J.dim){var Me=J.dataToCoord(ge)-he,Te=z.dataToCoord(me);
vendor: 4,316 bytes, line 808
808Math.abs(Me)<ne&&(Me=(Me<0?-1:1)*ne),xe=ve,_e=ve+Me,Se=(we=Te-Y)-Z,le&&(T[W][me][ye]=_e)}else{var ke=J.dataToCoord(ge,ce)-he,Pe=z.dataToCoord(me);Math.abs(ke)<ie&&(ke=(ke<0?-1:1)*ie),_e=(xe=Pe+Y)+Z,we=ve,Se=ve+ke,le&&(T[W][me][ye]=Se)}b.setItemLayout(pe,{cx:ee,cy:te,r0:xe,r:_e,startAngle:-we*Math.PI/180,endAngle:-Se*Math.PI/180,clockwise:we>=Se})}}}))},fv={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},gv={splitNumber:5},mv=function(d){function PolarView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=PolarView.type,b}return __extends(PolarView,d),PolarView.type="polar",PolarView}(ns);function singleAxisHelper_layout(d,b){b=b||{};var x=d.coordinateSystem,T=d.axis,D={},z=T.position,W=T.orient,U=x.getRect(),Y=[U.x,U.x+U.width,U.y,U.y+U.height],Z={horizontal:{top:Y[2],bottom:Y[3]},vertical:{left:Y[0],right:Y[1]}};D.position=["vertical"===W?Z.vertical[z]:Y[0],"horizontal"===W?Z.horizontal[z]:Y[3]];D.rotation=Math.PI/2*{horizontal:0,vertical:1}[W];D.labelDirection=D.tickDirection=D.nameDirection={top:-1,bottom:1,right:1,left:-1}[z],d.get(["axisTick","inside"])&&(D.tickDirection=-D.tickDirection),H.O(b.labelInside,d.get(["axisLabel","inside"]))&&(D.labelDirection=-D.labelDirection);var J=d.get(["axisLabel","rotate"]);return D.labelRotate="top"===z?-J:J,D.z2=1,D}var yv=["splitArea","splitLine","breakArea"],vv=function(d){function SingleAxisView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=SingleAxisView.type,b.axisPointerClass="SingleAxisPointer",b}return __extends(SingleAxisView,d),SingleAxisView.prototype.render=function(b,x,T,D){var z=this.group;z.removeAll();var W=this._axisGroup;this._axisGroup=new Xn;var U=singleAxisHelper_layout(b),Y=new rp(b,T,U);Y.build(),z.add(this._axisGroup),z.add(Y.group),H.k(yv,(function(d){b.get([d,"show"])&&bv[d](this,this.group,this._axisGroup,b,T)}),this),groupTransition(W,this._axisGroup,b),d.prototype.render.call(this,b,x,T,D)},SingleAxisView.prototype.remove=function(){rectCoordAxisHandleRemove(this)},SingleAxisView.type="singleAxis",SingleAxisView}(cp),bv={splitLine:function(d,b,x,T,D){var z=T.axis;if(!z.scale.isBlank()){var W=T.getModel("splitLine"),U=W.getModel("lineStyle"),Y=U.get("color");Y=Y instanceof Array?Y:[Y];for(var Z=U.get("width"),J=T.coordinateSystem.getRect(),ee=z.isHorizontal(),te=[],ne=0,ie=z.getTicksCoords({tickModel:W,breakTicks:"none",pruneByBreak:"preserve_extent_bound"}),oe=[],se=[],le=0;le<ie.length;++le){var ce=z.toGlobalCoord(ie[le].coord);ee?(oe[0]=ce,oe[1]=J.y,se[0]=ce,se[1]=J.y+J.height):(oe[0]=J.x,oe[1]=ce,se[0]=J.x+J.width,se[1]=ce);var de=new js({shape:{x1:oe[0],y1:oe[1],x2:se[0],y2:se[1]},silent:!0});graphic_subPixelOptimizeLine(de.shape,Z);var he=ne++%Y.length;te[he]=te[he]||[],te[he].push(de)}var pe=U.getLineStyle(["color"]);for(le=0;le<te.length;++le)b.add(graphic_mergePath(te[le],{style:H.i({stroke:Y[le%Y.length]},pe),silent:!0}))}},splitArea:function(d,b,x,T,D){rectCoordAxisBuildSplitArea(d,x,T,T)},breakArea:function(d,b,x,T,D){var z=getAxisBreakHelper(),H=T.axis.scale;z&&"ordinal"!==H.type&&z.rectCoordBuildBreakAxis(b,d,T,T.coordinateSystem.getRect(),D)}},xv=vv,_v=function(d){function SingleAxisModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=SingleAxisModel.type,b}return __extends(SingleAxisModel,d),SingleAxisModel.prototype.getCoordSysModel=function(){return this},SingleAxisModel.type="singleAxis",SingleAxisModel.layoutMode="box",SingleAxisModel.defaultOption={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}},jitter:0,jitterOverlap:!0,jitterMargin:2},SingleAxisModel}(Bo);Object(H.K)(_v,Qd.prototype);var wv=_v,Sv=function(d){function SingleAxis(b,x,T,D,z){var H=d.call(this,b,x,T)||this;return H.type=D||"value",H.position=z||"bottom",H}return __extends(SingleAxis,d),SingleAxis.prototype.isHorizontal=function(){var d=this.position;return"top"===d||"bottom"===d},SingleAxis.prototype.pointToData=function(d,b){return this.coordinateSystem.pointToData(d)[0]},SingleAxis}(zh),Mv=["single"];function Single_getCoordSys(d){var b=d.seriesModel,x=d.singleAxisModel;
vendor: 5,286 bytes, line 808
808return x&&x.coordinateSystem||b&&b.coordinateSystem}var Cv=function(){function Single(d,b,x){this.type="single",this.dimension="single",this.dimensions=Mv,this.axisPointerEnabled=!0,this.model=d,this._init(d,b,x)}return Single.prototype._init=function(d,b,x){var T=this.dimension,D=new Sv(T,createScaleByModel(d),[0,0],d.get("type"),d.get("position")),z="category"===D.type;D.onBand=z&&d.get("boundaryGap"),D.inverse=d.get("inverse"),D.orient=d.get("orient"),d.axis=D,D.model=d,D.coordinateSystem=this,this._axis=D},Single.prototype.update=function(d,b){d.eachSeries((function(d){if(d.coordinateSystem===this){var b=d.getData();Object(H.k)(b.mapDimensionsAll(this.dimension),(function(d){this._axis.scale.unionExtentFromData(b,d)}),this),niceScaleExtent(this._axis.scale,this._axis.model)}}),this)},Single.prototype.resize=function(d,b){var x=createBoxLayoutReference(d,b).refContainer;this._rect=getLayoutRect(d.getBoxLayoutParams(),x),this._adjustAxis()},Single.prototype.getRect=function(){return this._rect},Single.prototype._adjustAxis=function(){var d=this._rect,b=this._axis,x=b.isHorizontal(),T=x?[0,d.width]:[0,d.height],D=b.inverse?1:0;b.setExtent(T[D],T[1-D]),this._updateAxisTransform(b,x?d.x:d.y)},Single.prototype._updateAxisTransform=function(d,b){var x=d.getExtent(),T=x[0]+x[1],D=d.isHorizontal();d.toGlobalCoord=D?function(d){return d+b}:function(d){return T-d+b},d.toLocalCoord=D?function(d){return d-b}:function(d){return T-d+b}},Single.prototype.getAxis=function(){return this._axis},Single.prototype.getBaseAxis=function(){return this._axis},Single.prototype.getAxes=function(){return[this._axis]},Single.prototype.getTooltipAxes=function(){return{baseAxes:[this.getAxis()],otherAxes:[]}},Single.prototype.containPoint=function(d){var b=this.getRect(),x=this.getAxis();return"horizontal"===x.orient?x.contain(x.toLocalCoord(d[0]))&&d[1]>=b.y&&d[1]<=b.y+b.height:x.contain(x.toLocalCoord(d[1]))&&d[0]>=b.y&&d[0]<=b.y+b.height},Single.prototype.pointToData=function(d,b,x){x=x||[];var T=this.getAxis();return x[0]=T.coordToData(T.toLocalCoord(d["horizontal"===T.orient?0:1])),x},Single.prototype.dataToPoint=function(d,b,x){var T=this.getAxis(),D=this.getRect();x=x||[];var z="horizontal"===T.orient?0:1;return d instanceof Array&&(d=d[0]),x[z]=T.toGlobalCoord(T.dataToCoord(+d)),x[1-z]=0===z?D.y+D.height/2:D.x+D.width/2,x},Single.prototype.convertToPixel=function(d,b,x){return Single_getCoordSys(b)===this?this.dataToPoint(x):null},Single.prototype.convertFromPixel=function(d,b,x){return Single_getCoordSys(b)===this?this.pointToData(x):null},Single}();var Tv={create:function(d,b){var x=[];return d.eachComponent("singleAxis",(function(T,D){var z=new Cv(T,d,b);z.name="single_"+D,z.resize(T,b),T.coordinateSystem=z,x.push(z)})),d.eachSeries((function(d){if("singleAxis"===d.get("coordinateSystem")){var b=d.getReferringComponents("singleAxis",si).models[0];d.coordinateSystem=b&&b.coordinateSystem}})),x},dimensions:Mv},kv=["x","y"],Av=["width","height"],Pv=function(d){function SingleAxisPointer(){return null!==d&&d.apply(this,arguments)||this}return __extends(SingleAxisPointer,d),SingleAxisPointer.prototype.makeElOption=function(d,b,x,T,D){var z=x.axis,H=z.coordinateSystem,W=getGlobalExtent(H,1-getPointDimIndex(z)),U=H.dataToPoint(b)[0],Y=T.get("type");if(Y&&"none"!==Y){var Z=buildElStyle(T),J=Ov[Y](z,U,W);J.style=Z,d.graphicKey=J.type,d.pointer=J}buildCartesianSingleLabelElOption(b,d,singleAxisHelper_layout(x),x,T,D)},SingleAxisPointer.prototype.getHandleTransform=function(d,b,x){var T=singleAxisHelper_layout(b,{labelInside:!1});T.labelMargin=x.get(["handle","margin"]);var D=getTransformedPosition(b.axis,d,T);return{x:D[0],y:D[1],rotation:T.rotation+(T.labelDirection<0?Math.PI:0)}},SingleAxisPointer.prototype.updateHandleTransform=function(d,b,x,T){var D=x.axis,z=D.coordinateSystem,H=getPointDimIndex(D),W=getGlobalExtent(z,H),U=[d.x,d.y];U[H]+=b[H],U[H]=Math.min(W[1],U[H]),U[H]=Math.max(W[0],U[H]);var Y=getGlobalExtent(z,1-H),Z=(Y[1]+Y[0])/2,J=[Z,Z];return J[H]=U[H],{x:U[0],y:U[1],rotation:d.rotation,cursorPoint:J,tooltipOption:{verticalAlign:"middle"}}},SingleAxisPointer}(By),Ov={line:function(d,b,x){return{type:"Line",subPixelOptimize:!0,shape:makeLineShape([b,x[0]],[b,x[1]],getPointDimIndex(d))}},shadow:function(d,b,x){var T=d.getBandWidth(),D=x[1]-x[0];return{type:"Rect",shape:makeRectShape([b-T/2,x[0]],[T,D],getPointDimIndex(d))}}};function getPointDimIndex(d){return d.isHorizontal()?0:1}function getGlobalExtent(d,b){var x=d.getRect();return[x[kv[b]],x[kv[b]]+x[Av[b]]]}var Iv=Pv,Dv=function(d){function SingleView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=SingleView.type,b}return __extends(SingleView,d),SingleView.type="single",SingleView}(ns);function mergeAndNormalizeLayoutParams(d,b){var x,T=d.cellSize;1===(x=H.t(T)?T:d.cellSize=[T,T]).length&&(x[1]=x[0]);var D=H.H([0,1],(function(d){return function(d,b){return null!=d[Io[b][0]]||null!=d[Io[b][1]]&&null!=d[Io[b][2]]}(b,d)&&(x[d]="auto"),null!=x[d]&&"auto"!==x[d]}));mergeLayoutParam(d,b,{type:"box",ignoreSize:D})}var Ev=function(d){function CalendarModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=CalendarModel.type,b}return __extends(CalendarModel,d),CalendarModel.prototype.init=function(b,x,T){var D=getLayoutParams(b);
vendor: 32,972 bytes, line 808
808d.prototype.init.apply(this,arguments),mergeAndNormalizeLayoutParams(b,D)},CalendarModel.prototype.mergeOption=function(b){d.prototype.mergeOption.apply(this,arguments),mergeAndNormalizeLayoutParams(this.option,b)},CalendarModel.prototype.getCellSize=function(){return this.option.cellSize},CalendarModel.type="calendar",CalendarModel.layoutMode="box",CalendarModel.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:Fo.color.axisLine,width:1,type:"solid"}},itemStyle:{color:Fo.color.neutral00,borderWidth:1,borderColor:Fo.color.neutral10},dayLabel:{show:!0,firstDay:0,position:"start",margin:Fo.size.s,color:Fo.color.secondary},monthLabel:{show:!0,position:"start",margin:Fo.size.s,align:"center",formatter:null,color:Fo.color.secondary},yearLabel:{show:!0,position:null,margin:Fo.size.xl,formatter:null,color:Fo.color.quaternary,fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},CalendarModel}(Bo),Lv=function(d){function CalendarView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=CalendarView.type,b}return __extends(CalendarView,d),CalendarView.prototype.render=function(d,b,x){var T=this.group;T.removeAll();var D=d.coordinateSystem,z=D.getRangeInfo(),H=D.getOrient(),W=b.getLocaleModel();this._renderDayRect(d,z,T),this._renderLines(d,z,H,T),this._renderYearText(d,z,H,T),this._renderMonthText(d,W,H,T),this._renderWeekText(d,W,z,H,T)},CalendarView.prototype._renderDayRect=function(d,b,x){for(var T=d.coordinateSystem,D=d.getModel("itemStyle").getItemStyle(),z=T.getCellWidth(),H=T.getCellHeight(),W=b.start.time;W<=b.end.time;W=T.getNextNDay(W,1).time){var U=T.dataToCalendarLayout([W],!1).tl,Y=new _r({shape:{x:U[0],y:U[1],width:z,height:H},cursor:"default",style:D});x.add(Y)}},CalendarView.prototype._renderLines=function(d,b,x,T){var D=this,z=d.coordinateSystem,H=d.getModel(["splitLine","lineStyle"]).getLineStyle(),W=d.get(["splitLine","show"]),U=H.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var Y=b.start,Z=0;Y.time<=b.end.time;Z++){addPoints(Y.formatedDate),0===Z&&(Y=z.getDateInfo(b.start.y+"-"+b.start.m));var J=Y.date;J.setMonth(J.getMonth()+1),Y=z.getDateInfo(J)}function addPoints(b){D._firstDayOfMonth.push(z.getDateInfo(b)),D._firstDayPoints.push(z.dataToCalendarLayout([b],!1).tl);var U=D._getLinePointsOfOneWeek(d,b,x);D._tlpoints.push(U[0]),D._blpoints.push(U[U.length-1]),W&&D._drawSplitline(U,H,T)}addPoints(z.getNextNDay(b.end.time,1).formatedDate),W&&this._drawSplitline(D._getEdgesPoints(D._tlpoints,U,x),H,T),W&&this._drawSplitline(D._getEdgesPoints(D._blpoints,U,x),H,T)},CalendarView.prototype._getEdgesPoints=function(d,b,x){var T=[d[0].slice(),d[d.length-1].slice()],D="horizontal"===x?0:1;return T[0][D]=T[0][D]-b/2,T[1][D]=T[1][D]+b/2,T},CalendarView.prototype._drawSplitline=function(d,b,x){var T=new Rs({z2:20,shape:{points:d},style:b});x.add(T)},CalendarView.prototype._getLinePointsOfOneWeek=function(d,b,x){for(var T=d.coordinateSystem,D=T.getDateInfo(b),z=[],H=0;H<7;H++){var W=T.getNextNDay(D.time,H),U=T.dataToCalendarLayout([W.time],!1);z[2*W.day]=U.tl,z[2*W.day+1]=U["horizontal"===x?"bl":"tr"]}return z},CalendarView.prototype._formatterLabel=function(d,b){return Object(H.C)(d)&&d?(x=d,T=b,H.k(T,(function(d,b){x=x.replace("{"+b+"}",D?encodeHTML(d):d)})),x):Object(H.w)(d)?d(b):b.nameMap;var x,T,D},CalendarView.prototype._yearTextPositionControl=function(d,b,x,T,D){var z=b[0],H=b[1],W=["center","bottom"];"bottom"===T?(H+=D,W=["center","top"]):"left"===T?z-=D:"right"===T?(z+=D,W=["center","top"]):H-=D;var U=0;return"left"!==T&&"right"!==T||(U=Math.PI/2),{rotation:U,x:z,y:H,style:{align:W[0],verticalAlign:W[1]}}},CalendarView.prototype._renderYearText=function(d,b,x,T){var D=d.getModel("yearLabel");if(D.get("show")){var z=D.get("margin"),H=D.get("position");H||(H="horizontal"!==x?"top":"left");var W=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],U=(W[0][0]+W[1][0])/2,Y=(W[0][1]+W[1][1])/2,Z="horizontal"===x?0:1,J={top:[U,W[Z][1]],bottom:[U,W[1-Z][1]],left:[W[1-Z][0],Y],right:[W[Z][0],Y]},ee=b.start.y;+b.end.y>+b.start.y&&(ee=ee+"-"+b.end.y);var te=D.get("formatter"),ne={start:b.start.y,end:b.end.y,nameMap:ee},ie=this._formatterLabel(te,ne),oe=new Pr({z2:30,style:createTextStyle(D,{text:ie}),silent:D.get("silent")});oe.attr(this._yearTextPositionControl(oe,J[H],x,H,z)),T.add(oe)}},CalendarView.prototype._monthTextPositionControl=function(d,b,x,T,D){var z="left",H="top",W=d[0],U=d[1];return"horizontal"===x?(U+=D,b&&(z="center"),"start"===T&&(H="bottom")):(W+=D,b&&(H="middle"),"start"===T&&(z="right")),{x:W,y:U,align:z,verticalAlign:H}},CalendarView.prototype._renderMonthText=function(d,b,x,T){var D=d.getModel("monthLabel");if(D.get("show")){var z=D.get("nameMap"),W=D.get("margin"),U=D.get("position"),Y=D.get("align"),Z=[this._tlpoints,this._blpoints];z&&!Object(H.C)(z)||(z&&(b=getLocaleModel(z)||b),z=b.get(["time","monthAbbr"])||[]);var J="start"===U?0:1,ee="horizontal"===x?0:1;W="start"===U?-W:W;for(var te="center"===Y,ne=D.get("silent"),ie=0;ie<Z[J].length-1;ie++){var oe=Z[J][ie].slice(),se=this._firstDayOfMonth[ie];if(te){var le=this._firstDayPoints[ie];oe[ee]=(le[ee]+Z[0][ie+1][ee])/2}var ce=D.get("formatter"),de=z[+se.m-1],he={yyyy:se.y,yy:(se.y+"").slice(2),MM:se.m,M:+se.m,nameMap:de},pe=this._formatterLabel(ce,he),fe=new Pr({z2:30,style:Object(H.m)(createTextStyle(D,{text:pe}),this._monthTextPositionControl(oe,te,x,U,W)),silent:ne});T.add(fe)}}},CalendarView.prototype._weekTextPositionControl=function(d,b,x,T,D){var z="center",H="middle",W=d[0],U=d[1],Y="start"===x;return"horizontal"===b?(W=W+T+(Y?1:-1)*D[0]/2,z=Y?"right":"left"):(U=U+T+(Y?1:-1)*D[1]/2,H=Y?"bottom":"top"),{x:W,y:U,align:z,verticalAlign:H}},CalendarView.prototype._renderWeekText=function(d,b,x,T,D){var z=d.getModel("dayLabel");if(z.get("show")){var W=d.coordinateSystem,U=z.get("position"),Y=z.get("nameMap"),Z=z.get("margin"),J=W.getFirstDayOfWeek();if(!Y||Object(H.C)(Y))Y&&(b=getLocaleModel(Y)||b),Y=b.get(["time","dayOfWeekShort"])||Object(H.H)(b.get(["time","dayOfWeekAbbr"]),(function(d){return d[0]}));var ee=W.getNextNDay(x.end.time,7-x.lweek).time,te=[W.getCellWidth(),W.getCellHeight()];Z=number_parsePercent(Z,Math.min(te[1],te[0])),"start"===U&&(ee=W.getNextNDay(x.start.time,-(7+x.fweek)).time,Z=-Z);for(var ne=z.get("silent"),ie=0;ie<7;ie++){var oe,se=W.getNextNDay(ee,ie),le=W.dataToCalendarLayout([se.time],!1).center;oe=Math.abs((ie+J)%7);var ce=new Pr({z2:30,style:Object(H.m)(createTextStyle(z,{text:Y[oe]}),this._weekTextPositionControl(le,T,U,Z,te)),silent:ne});D.add(ce)}}},CalendarView.type="calendar",CalendarView}(ns);function Calendar_getCoordSys(d){var b=d.calendarModel,x=d.seriesModel;return b?b.coordinateSystem:x?x.coordinateSystem:null}var Rv=function(){function Calendar(d,b,x){this.type="calendar",this.dimensions=Calendar.dimensions,this.getDimensionsInfo=Calendar.getDimensionsInfo,this._model=d,this._update(b,x)}return Calendar.getDimensionsInfo=function(){return[{name:"time",type:"time"},"value"]},Calendar.prototype.getRangeInfo=function(){return this._rangeInfo},Calendar.prototype.getModel=function(){return this._model},Calendar.prototype.getRect=function(){return this._rect},Calendar.prototype.getCellWidth=function(){return this._sw},Calendar.prototype.getCellHeight=function(){return this._sh},Calendar.prototype.getOrient=function(){return this._orient},Calendar.prototype.getFirstDayOfWeek=function(){return this._firstDayOfWeek},Calendar.prototype.getDateInfo=function(d){var b=(d=parseDate(d)).getFullYear(),x=d.getMonth()+1,T=x<10?"0"+x:""+x,D=d.getDate(),z=D<10?"0"+D:""+D,H=d.getDay();return{y:b+"",m:T,d:z,day:H=Math.abs((H+7-this.getFirstDayOfWeek())%7),time:d.getTime(),formatedDate:b+"-"+T+"-"+z,date:d}},Calendar.prototype.getNextNDay=function(d,b){return 0===(b=b||0)||(d=new Date(this.getDateInfo(d).time)).setDate(d.getDate()+b),this.getDateInfo(d)},Calendar.prototype._update=function(d,b){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var x=this._rangeInfo.weeks||1,T=["width","height"],D=this._model.getCellSize().slice(),z=this._model.getBoxLayoutParams(),W="horizontal"===this._orient?[x,7]:[7,x];H.k([0,1],(function(d){cellSizeSpecified(D,d)&&(z[T[d]]=D[d]*W[d])}));var U={width:b.getWidth(),height:b.getHeight()},Y=this._rect=getLayoutRect(z,U);function cellSizeSpecified(d,b){return null!=d[b]&&"auto"!==d[b]}H.k([0,1],(function(d){cellSizeSpecified(D,d)||(D[d]=Y[T[d]]/W[d])})),this._sw=D[0],this._sh=D[1]},Calendar.prototype.dataToPoint=function(d,b,x){x=x||[],H.t(d)&&(d=d[0]),null==b&&(b=!0);var T=this.getDateInfo(d),D=this._rangeInfo,z=T.formatedDate;if(b&&!(T.time>=D.start.time&&T.time<D.end.time+864e5))return x[0]=x[1]=NaN,x;var W=T.day,U=this._getRangeInfo([D.start.time,z]).nthWeek;return"vertical"===this._orient?(x[0]=this._rect.x+W*this._sw+this._sw/2,x[1]=this._rect.y+U*this._sh+this._sh/2):(x[0]=this._rect.x+U*this._sw+this._sw/2,x[1]=this._rect.y+W*this._sh+this._sh/2),x},Calendar.prototype.pointToData=function(d){var b=this.pointToDate(d);return b&&b.time},Calendar.prototype.dataToLayout=function(d,b,x){var T=(x=x||{}).rect=x.rect||{},D=x.contentRect=x.contentRect||{},z=this.dataToPoint(d,b);return T.x=z[0]-this._sw/2,T.y=z[1]-this._sh/2,T.width=this._sw,T.height=this._sh,Ee.copy(D,T),expandOrShrinkRect(D,this._lineWidth/2,!0,!0),x},Calendar.prototype.dataToCalendarLayout=function(d,b){var x=this.dataToPoint(d,b);return{center:x,tl:[x[0]-this._sw/2,x[1]-this._sh/2],tr:[x[0]+this._sw/2,x[1]-this._sh/2],br:[x[0]+this._sw/2,x[1]+this._sh/2],bl:[x[0]-this._sw/2,x[1]+this._sh/2]}},Calendar.prototype.pointToDate=function(d){var b=Math.floor((d[0]-this._rect.x)/this._sw)+1,x=Math.floor((d[1]-this._rect.y)/this._sh)+1,T=this._rangeInfo.range;return"vertical"===this._orient?this._getDateByWeeksAndDay(x,b-1,T):this._getDateByWeeksAndDay(b,x-1,T)},Calendar.prototype.convertToPixel=function(d,b,x){var T=Calendar_getCoordSys(b);return T===this?T.dataToPoint(x):null},Calendar.prototype.convertToLayout=function(d,b,x){var T=Calendar_getCoordSys(b);return T===this?T.dataToLayout(x):null},Calendar.prototype.convertFromPixel=function(d,b,x){var T=Calendar_getCoordSys(b);return T===this?T.pointToData(x):null},Calendar.prototype.containPoint=function(d){return console.warn("Not implemented."),!1},Calendar.prototype._initRangeOption=function(){var d,b=this._model.get("range");if(H.t(b)&&1===b.length&&(b=b[0]),H.t(b))d=b;else{var x=b.toString();if(/^\d{4}$/.test(x)&&(d=[x+"-01-01",x+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(x)){var T=this.getDateInfo(x),D=T.date;D.setMonth(D.getMonth()+1);var z=this.getNextNDay(D,-1);d=[T.formatedDate,z.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(x)&&(d=[x,x])}if(!d)return b;var W=this._getRangeInfo(d);return W.start.time>W.end.time&&d.reverse(),d},Calendar.prototype._getRangeInfo=function(d){var b,x=[this.getDateInfo(d[0]),this.getDateInfo(d[1])];x[0].time>x[1].time&&(b=!0,x.reverse());var T=Math.floor(x[1].time/864e5)-Math.floor(x[0].time/864e5)+1,D=new Date(x[0].time),z=D.getDate(),H=x[1].date.getDate();D.setDate(z+T-1);var W=D.getDate();if(W!==H)for(var U=D.getTime()-x[1].time>0?1:-1;(W=D.getDate())!==H&&(D.getTime()-x[1].time)*U>0;)T-=U,D.setDate(W-U);var Y=Math.floor((T+x[0].day+6)/7),Z=b?1-Y:Y-1;return b&&x.reverse(),{range:[x[0].formatedDate,x[1].formatedDate],start:x[0],end:x[1],allDay:T,weeks:Y,nthWeek:Z,fweek:x[0].day,lweek:x[1].day}},Calendar.prototype._getDateByWeeksAndDay=function(d,b,x){var T=this._getRangeInfo(x);if(d>T.weeks||0===d&&b<T.fweek||d===T.weeks&&b>T.lweek)return null;var D=7*(d-1)-T.fweek+b,z=new Date(T.start.time);return z.setDate(+T.start.d+D),this.getDateInfo(z)},Calendar.create=function(d,b){var x=[];return d.eachComponent("calendar",(function(T){var D=new Calendar(T,d,b);x.push(D),T.coordinateSystem=D})),d.eachComponent((function(d,b){injectCoordSysByOption({targetModel:b,coordSysType:"calendar",coordSysProvider:CoordinateSystem_simpleCoordSysInjectionProvider})})),x},Calendar.dimensions=["time","value"],Calendar}();var Bv=1,Nv=2,jv=3,Vv={none:0,all:1,body:2,corner:3};function coordDataToAllCellLevelLayout(d,b,x){var T=b[al[x]].getCell(d);return!T&&Object(H.z)(d)&&d<0&&(T=b[al[1-x]].getUnitLayoutInfo(x,Math.round(d))),T}function resetXYLocatorRange(d){var b=d||[];return b[0]=b[0]||[],b[1]=b[1]||[],b[0][0]=b[0][1]=b[1][0]=b[1][1]=NaN,b}function parseCoordRangeOption(d,b,x,T,D){parseCoordRangeOptionOnOneDim(d[0],b,D,x,T,0),parseCoordRangeOptionOnOneDim(d[1],b,D,x,T,1)}function parseCoordRangeOptionOnOneDim(d,b,x,T,D,z){d[0]=1/0,d[1]=-1/0;var W=T[z],U=Object(H.t)(W)?W:[W],Y=U.length,Z=!!x;if(Y>=1?(parseCoordRangeOptionOnOneDimOnePart(d,b,U,Z,D,z,0),Y>1&&parseCoordRangeOptionOnOneDimOnePart(d,b,U,Z,D,z,Y-1)):d[0]=d[1]=NaN,Z){var J=-D[al[1-z]].getLocatorCount(z),ee=D[al[z]].getLocatorCount(z)-1;x===Vv.body?J=ni(0,J):x===Vv.corner&&(ee=ti(-1,ee)),ee<J&&(J=ee=NaN),Object(H.l)(d[0])&&(d[0]=J),Object(H.l)(d[1])&&(d[1]=ee),d[0]=ni(ti(d[0],ee),J),d[1]=ni(ti(d[1],ee),J)}}function parseCoordRangeOptionOnOneDimOnePart(d,b,x,T,D,z,H){var W=coordDataToAllCellLevelLayout(x[H],D,z);if(W){var U,Y=W.id[al[z]],Z=Y,J=!(U=W)||U.type!==Nv&&U.type!==jv?null:U;J&&(Z+=J.span[al[z]]-1),d[0]=ti(d[0],Y,Z),d[1]=ni(d[1],Y,Z)}else d[0]=d[1]=NaN}function isXYLocatorRangeInvalidOnDim(d,b){return Object(H.l)(d[b][0])||Object(H.l)(d[b][1])}function resolveXYLocatorRangeByCellMerge(d,b,x,T){b=b||zv;for(var D=0;D<T;D++)b[D]=!1;for(;;){var z=!1;for(D=0;D<T;D++){var H=x[D];!b[D]&&H.cellMergeOwner&&expandXYLocatorRangeIfIntersect(d,H.locatorRange)&&(b[D]=!0,z=!0)}if(!z)break}}var zv=[];function expandXYLocatorRangeIfIntersect(d,b){return!(!locatorRangeIntersectOneDim(d[0],b[0])||!locatorRangeIntersectOneDim(d[1],b[1]))&&(d[0][0]=ti(d[0][0],b[0][0]),d[0][1]=ni(d[0][1],b[0][1]),d[1][0]=ti(d[1][0],b[1][0]),d[1][1]=ni(d[1][1],b[1][1]),!0)}function locatorRangeIntersectOneDim(d,b){return d[1]>=b[0]&&d[0]<=b[1]}function fillIdSpanFromLocatorRange(d,b){d.id.set(b[0][0],b[1][0]),d.span.set(b[0][1]-d.id.x+1,b[1][1]-d.id.y+1)}function xyLocatorRangeToRectOneDim(d,b,x,T){var D=coordDataToAllCellLevelLayout(b[T][0],x,T),z=coordDataToAllCellLevelLayout(b[T][1],x,T);d[al[T]]=d[sl[T]]=NaN,D&&z&&(d[al[T]]=D.xy,d[sl[T]]=z.xy+z.wh-D.xy)}function setDimXYValue(d,b,x,T){return d[al[b]]=x,d[al[1-b]]=T,d}var Fv=function(){function MatrixDim(d,b){this._cells=[],this._levels=[],this.dim=d,this.dimIdx="x"===d?0:1,this._model=b,this._uniqueValueGen=function(d){var b=d.toUpperCase(),x=new RegExp("^"+b+"([0-9]+)$"),T=0;return{calcDupBase:function(d){var b;null!=d&&(b=d.match(x))&&(T=ni(T,+b[1]+1))},ensureValueUnique:function(d,x){for(var D=Object(H.f)(),z=0;z<d.length;z++){var W=d[z];null!=W&&null==D.get(W)||(d[z]=W=""+b+T++,x[z].option=Object(H.i)({value:W},x[z].option)),D.set(W,!0)}}}}(d);var x=b.get("data",!0);null==x||Object(H.t)(x)||(x=[]),x?this._initByDimModelData(x):this._initBySeriesData()}return MatrixDim.prototype._initByDimModelData=function(d){var b=this,x=b._cells,T=b._levels,D=[],z=0;return b._leavesCount=function traverseInitCells(d,x,W){var U=0;if(!d)return U;return Object(H.k)(d,(function(d,Y){var Z;Object(H.C)(d)?Z={value:d}:Object(H.A)(d)?(Z=d,null==d.value||Object(H.C)(d.value)||(!0,Z={value:null})):Z={value:null};var J={type:jv,ordinal:NaN,level:W,firstLeafLocator:x,id:new ce,span:setDimXYValue(new ce,b.dimIdx,1,1),option:Z,xy:NaN,wh:NaN,dim:b,rect:{x:NaN,y:NaN,width:NaN,height:NaN}};z++,(D[x]||(D[x]=[])).push(J),T[W]||(T[W]={type:Bv,xy:NaN,wh:NaN,option:null,id:new ce,dim:b});var ee=traverseInitCells(Z.children,x,W+1),te=Math.max(1,ee);J.span[al[b.dimIdx]]=te,U+=te,x+=te})),U}(d,0,0),void function(){var d=[];for(;x.length<z;)for(var T=0;T<D.length;T++){var H=D[T].pop();if(H){H.ordinal=d.length;var W=H.option.value;d.push(W),x.push(H),b._uniqueValueGen.calcDupBase(W)}}b._uniqueValueGen.ensureValueUnique(d,x);var U=b._ordinalMeta=new ah({categories:d,needCollect:!1,deduplication:!1});b._scale=new ph({ordinalMeta:U});for(var Y=0;Y<b._leavesCount;Y++){var Z=b._cells[Y];Z.type=Nv,Z.span[al[1-b.dimIdx]]=b._levels.length-Z.level}b._initCellsId(),b._initLevelIdOptions()}()},MatrixDim.prototype._initBySeriesData=function(){var d=this;d._leavesCount=0,d._levels=[{type:Bv,xy:NaN,wh:NaN,option:null,id:new ce,dim:d}],d._initLevelIdOptions();var b=d._ordinalMeta=new ah({needCollect:!0,deduplication:!0,onCollect:function(b,x){var T=d._cells[x]={type:Nv,ordinal:x,level:0,firstLeafLocator:x,id:new ce,span:setDimXYValue(new ce,d.dimIdx,1,1),option:{value:b+""},xy:NaN,wh:NaN,dim:d,rect:{x:NaN,y:NaN,width:NaN,height:NaN}};d._leavesCount++,d._setCellId(T)}});d._scale=new ph({ordinalMeta:b})},MatrixDim.prototype._setCellId=function(d){var b=this._levels.length,x=this.dimIdx;setDimXYValue(d.id,x,d.firstLeafLocator,d.level-b)},MatrixDim.prototype._initCellsId=function(){var d=this._levels.length,b=this.dimIdx;Object(H.k)(this._cells,(function(x){setDimXYValue(x.id,b,x.firstLeafLocator,x.level-d)}))},MatrixDim.prototype._initLevelIdOptions=function(){var d=this._levels.length,b=this.dimIdx,x=this._model.get("levels",!0);x=Object(H.t)(x)?x:[],Object(H.k)(this._levels,(function(T,D){setDimXYValue(T.id,b,0,D-d),T.option=x[D]}))},MatrixDim.prototype.shouldShow=function(){return!!this._model.getShallow("show",!0)},MatrixDim.prototype.resetLayoutIterator=function(d,b,x,T){if(d=d||new ui,b===this.dimIdx){var D=this._leavesCount,z=null!=x?Math.max(0,x):0;T=null!=T?Math.min(T,D):D,d.reset(this._cells,z,z+T)}else{D=this._levels.length,z=null!=x?Math.max(0,x+D):0;T=null!=T?Math.min(T,D):D,d.reset(this._levels,z,z+T)}return d},MatrixDim.prototype.resetCellIterator=function(d){return(d||new ui).reset(this._cells,0)},MatrixDim.prototype.resetLevelIterator=function(d){return(d||new ui).reset(this._levels,0)},MatrixDim.prototype.getLayout=function(d,b,x){var T=this.getUnitLayoutInfo(b,x);d[al[b]]=T?T.xy:NaN,d[sl[b]]=T?T.wh:NaN},MatrixDim.prototype.getUnitLayoutInfo=function(d,b){return d===this.dimIdx?b<this._leavesCount?this._cells[b]:void 0:this._levels[b+this._levels.length]},MatrixDim.prototype.getCell=function(d){var b=this._scale.parse(d);return Object(H.l)(b)?void 0:this._cells[b]},MatrixDim.prototype.getLocatorCount=function(d){return d===this.dimIdx?this._leavesCount:this._levels.length},MatrixDim.prototype.getOrdinalMeta=function(){return this._ordinalMeta},MatrixDim}();var Hv=function(){function MatrixBodyCorner(d,b,x){this._model=b,this._dims=x,this._kind=d,this._cellMergeOwnerList=[]}return MatrixBodyCorner.prototype._ensureCellMap=function(){var d=this,b=d._cellMap;return b||(b=d._cellMap=Object(H.f)(),function(){var b=[],x=d._model.getShallow("data");x&&!Object(H.t)(x)&&(x=null);Object(H.k)(x,(function(x,T){if(Object(H.A)(x)&&Object(H.t)(x.coord)){var D=resetXYLocatorRange([]);if(parseCoordRangeOption(D,null,x.coord,d._dims,x.coordClamp?Vv[d._kind]:Vv.none),!isXYLocatorRangeInvalidOnDim(D,0)&&!isXYLocatorRangeInvalidOnDim(D,1)){var z=x&&x.mergeCells,W={id:new ce,span:new ce,locatorRange:D,option:x,cellMergeOwner:z};fillIdSpanFromLocatorRange(W,D),b.push(W)}}}));for(var T=[],D=0;D<b.length;D++){var z=b[D];if(z.cellMergeOwner){var W=z.locatorRange;resolveXYLocatorRangeByCellMerge(W,T,b,D);for(var U=0;U<D;U++)T[U]&&(b[U].cellMergeOwner=!1);if(W[0][0]!==z.id.x||W[1][0]!==z.id.y){z.cellMergeOwner=!1;var Y=Object(H.m)({},z.option);Y.coord=null;var Z={id:new ce,span:new ce,locatorRange:W,option:Y,cellMergeOwner:!0};fillIdSpanFromLocatorRange(Z,W),b.push(Z)}}}Object(H.k)(b,(function(b){var x=ensureBodyOrCornerCell(b.id.x,b.id.y);if(b.cellMergeOwner&&(x.cellMergeOwner=!0,x.span=b.span,x.locatorRange=b.locatorRange,x.spanRect={x:NaN,y:NaN,width:NaN,height:NaN},d._cellMergeOwnerList.push(x)),b.cellMergeOwner||b.option)for(var T=0;T<b.span.y;T++)for(var D=0;D<b.span.x;D++){var z=ensureBodyOrCornerCell(b.id.x+D,b.id.y+T);z.option=b.option,b.cellMergeOwner&&(z.inSpanOf=x)}}))}()),b;function ensureBodyOrCornerCell(d,x){var T=makeCellMapKey(d,x),D=b.get(T);return D||(D=b.set(T,{id:new ce(d,x),option:null,inSpanOf:null,span:null,spanRect:null,locatorRange:null,cellMergeOwner:!1})),D}},MatrixBodyCorner.prototype.getCell=function(d){return this._ensureCellMap().get(makeCellMapKey(d[0],d[1]))},MatrixBodyCorner.prototype.travelExistingCells=function(d){this._ensureCellMap().each(d)},MatrixBodyCorner.prototype.expandRangeByCellMerge=function(d){if(!isXYLocatorRangeInvalidOnDim(d,0)&&!isXYLocatorRangeInvalidOnDim(d,1)&&d[0][0]===d[0][1]&&d[1][0]===d[1][1]){Gv[0]=d[0][0],Gv[1]=d[1][0];var b=this.getCell(Gv),x=b&&b.inSpanOf;if(x)return void function(d,b){d[0][0]=b[0][0],d[0][1]=b[0][1],d[1][0]=b[1][0],d[1][1]=b[1][1]}(d,x.locatorRange)}var T=this._cellMergeOwnerList;resolveXYLocatorRangeByCellMerge(d,null,T,T.length)},MatrixBodyCorner}(),Gv=[];function makeCellMapKey(d,b){return d+"|"+b}var $v={show:!0,color:Fo.color.secondary,overflow:"break",lineOverflow:"truncate",padding:[2,3,2,3],distance:0};function makeDefaultCellItemStyleOption(d){return{color:"none",borderWidth:1,borderColor:d?"none":Fo.color.borderTint}}var Wv={show:!0,label:$v,itemStyle:makeDefaultCellItemStyleOption(!1),silent:void 0,dividerLineStyle:{width:1,color:Fo.color.border}},Uv={z:-50,left:"10%",top:"10%",right:"10%",bottom:"10%",x:Wv,y:Wv,body:{label:$v,itemStyle:makeDefaultCellItemStyleOption(!1),silent:void 0},corner:{label:$v,itemStyle:makeDefaultCellItemStyleOption(!0),silent:void 0},backgroundStyle:{color:"none",borderColor:Fo.color.axisLine,borderWidth:1}},Yv=function(d){function MatrixModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=MatrixModel.type,b}return __extends(MatrixModel,d),MatrixModel.prototype.optionUpdated=function(){var d=this._dimModels={x:new qv(this.get("x",!0)||{}),y:new qv(this.get("y",!0)||{})};d.x.option.type=d.y.option.type="category";var b={x:d.x.dim=new Fv("x",d.x),y:d.y.dim=new Fv("y",d.y)};this._body=new Hv("body",new oo(this.getShallow("body")),b),this._corner=new Hv("corner",new oo(this.getShallow("corner")),b)},MatrixModel.prototype.getDimensionModel=function(d){return this._dimModels[d]},MatrixModel.prototype.getBody=function(){return this._body},MatrixModel.prototype.getCorner=function(){return this._corner},MatrixModel.type="matrix",MatrixModel.layoutMode="box",MatrixModel.defaultOption=Uv,MatrixModel}(Bo),qv=function(d){function MatrixDimensionModel(){return null!==d&&d.apply(this,arguments)||this}return __extends(MatrixDimensionModel,d),MatrixDimensionModel.prototype.getOrdinalMeta=function(){return this.dim.getOrdinalMeta()},MatrixDimensionModel}(oo),Zv=Yv,Xv=Math.round,Kv={normal:25,special:100},Jv={normal:50,special:125},Qv=function(d){function MatrixView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=MatrixView.type,b}return __extends(MatrixView,d),MatrixView.prototype.render=function(d,b){this.group.removeAll();var x=this.group,T=d.coordinateSystem.getRect(),D=d.getDimensionModel("x"),z=d.getDimensionModel("y"),W=D.dim,U=z.dim;!function(d,b,x){function renderOnDimension(T){var D=b.getDimensionModel(al[T]),z=D.dim;if(z.shouldShow())for(var H=D.getModel("itemStyle"),W=D.getModel("label"),U=b.getShallow("tooltip",!0),Y=[],Z=z.resetCellIterator();Z.next();){var J=Z.item,ee={};Ee.copy(ee,J.rect),set(Y,J.id.x,J.id.y),createMatrixCell(Y,b,d,x,J.option,H,W,D,ee,J.option.value,Jv,U)}}renderOnDimension(0),renderOnDimension(1)}(x,d,b),function(d,b,x,T,D){createBodyOrCornerCells("body",b.getBody(),x,T),x.shouldShow()&&T.shouldShow()&&createBodyOrCornerCells("corner",b.getCorner(),T,x);function createBodyOrCornerCells(x,T,z,H){var W=new oo(b.getShallow(x,!0)),U=W.getModel("itemStyle"),Y=W.getModel("label"),Z=new ui,J=new ui,ee=[],te=b.getShallow("tooltip",!0);for(H.resetLayoutIterator(J,1);J.next();)for(z.resetLayoutIterator(Z,0);Z.next();){var ne=Z.item,ie=J.item;set(ee,ne.id.x,ie.id.y);var oe=T.getCell(ee);if(!oe||!oe.inSpanOf||oe.inSpanOf===oe){var se={};oe&&oe.span?Ee.copy(se,oe.spanRect):(ne.dim.getLayout(se,0,ee[0]),ie.dim.getLayout(se,1,ee[1]));var le=oe?oe.option:null;createMatrixCell(ee,b,d,D,le,U,Y,W,se,le?le.value:null,Kv,te)}}}}(x,d,W,U,b);var Y=d.getShallow("borderZ2",!0),Z=Object(H.P)(Y,99),J=Z-1,ee=d.getModel("backgroundStyle").getItemStyle(["borderWidth"]);ee.lineWidth=0;var te=d.getModel("backgroundStyle").getItemStyle(["color","decal","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]);te.fill="none";var ne=createMatrixRect(T.clone(),ee,0),ie=createMatrixRect(T.clone(),te,Z);ne.silent=!0,ie.silent=!0,x.add(ne),x.add(ie);var oe=W.getUnitLayoutInfo(0,0),se=U.getUnitLayoutInfo(1,0);oe&&se&&(W.shouldShow()&&x.add(createMatrixLine({x1:T.x,y1:se.xy,x2:T.x+T.width,y2:se.xy},D.getModel("dividerLineStyle").getLineStyle(),J)),U.shouldShow()&&x.add(createMatrixLine({x1:oe.xy,y1:T.y,x2:oe.xy,y2:T.y+T.height},z.getModel("dividerLineStyle").getLineStyle(),J)))},MatrixView.type="matrix",MatrixView}(ns);function createMatrixCell(d,b,x,T,D,z,W,U,Y,Z,J,ee){var te;tb.option=D?D.itemStyle:null,tb.parentModel=z,eb.option=D,eb.parentModel=U;var ne=Object(H.P)(eb.getShallow("z2"),D&&D.itemStyle?J.special:J.normal),ie=ee&&ee.show,oe=createMatrixRect(Y,tb.getItemStyle(),ne);x.add(oe);var se,le=eb.get("cursor");if(null!=le&&oe.attr("cursor",le),null!=Z){var ce=Z+"";if(nb.option=D?D.label:null,nb.parentModel=W,nb.ecModel=T,setLabelStyle(oe,{normal:nb},{defaultText:ce,autoOverflowArea:!0,layoutRect:Object(H.d)(oe.shape)}),se=oe.getTextContent()){se.z2=ne+1;var de=se.style;if(de&&de.overflow&&"none"!==de.overflow&&de.lineOverflow){var he={};Ee.copy(he,Y),expandOrShrinkRect(he,((null===(te=oe.style)||void 0===te?void 0:te.lineWidth)||0)/2,!0,!0),oe.updateInnerText(),se.getLocalTransform(ib),matrix_invert(ib,ib),Ee.applyTransform(he,he,ib),se.setClipPath(new _r({shape:he}))}}setTooltipConfig({el:oe,componentModel:b,itemName:ce,itemTooltipOption:ee,formatterParamsExtra:{xyLocator:d.slice()}})}if(se){var pe=nb.get("silent");null==pe&&(pe=!ie),se.silent=pe,se.ignoreHostSilent=!0}var fe=eb.get("silent");null==fe&&(fe=!oe.style||"none"===oe.style.fill||!oe.style.fill),oe.silent=fe,clearTmpModel(eb),clearTmpModel(tb),clearTmpModel(nb)}var eb=new oo,tb=new oo,nb=new oo,ib=[];function createMatrixRect(d,b,x){var T=b.lineWidth;if(T){var D=d.x+d.width,z=d.y+d.height;d.x=subPixelOptimize(d.x,T,!0),d.y=subPixelOptimize(d.y,T,!0),d.width=subPixelOptimize(D,T,!0)-d.x,d.height=subPixelOptimize(z,T,!0)-d.y}return new _r({shape:d,style:b,z2:x})}function createMatrixLine(d,b,x){var T=b.lineWidth;return T&&(Xv(2*d.x1)===Xv(2*d.x2)&&(d.x1=d.x2=subPixelOptimize(d.x1,T,!0)),Xv(2*d.y1)===Xv(2*d.y2)&&(d.y1=d.y2=subPixelOptimize(d.y1,T,!0))),new js({shape:d,style:b,silent:!0,z2:x})}var rb=Qv,ob=function(){function Matrix(d,b,x){this.dimensions=Matrix.dimensions,this.type="matrix",this._model=d;var T=this._dimModels={x:d.getDimensionModel("x"),y:d.getDimensionModel("y")};this._dims={x:T.x.dim,y:T.y.dim},this._resize(d,x)}return Matrix.getDimensionsInfo=function(){return[{name:"x",type:"ordinal"},{name:"y",type:"ordinal"},{name:"value"}]},Matrix.create=function(d,b){var x=[];return d.eachComponent("matrix",(function(T){var D=new Matrix(T,d,b);x.push(D),T.coordinateSystem=D})),d.eachComponent((function(d,b){injectCoordSysByOption({targetModel:b,coordSysType:"matrix",coordSysProvider:CoordinateSystem_simpleCoordSysInjectionProvider})})),x},Matrix.prototype.getRect=function(){return this._rect},Matrix.prototype._resize=function(d,b){var x=this._dims,T=this._dimModels,D=this._rect=getLayoutRect(d.getBoxLayoutParams(),{width:b.getWidth(),height:b.getHeight()});layOutUnitsOnDimension(T,x,D,0),layOutUnitsOnDimension(T,x,D,1),layOutDimCellsRestInfoByUnit(0,x),layOutDimCellsRestInfoByUnit(1,x),layOutBodyCornerCellMerge(this._model.getBody(),x),layOutBodyCornerCellMerge(this._model.getCorner(),x)},Matrix.prototype.dataToPoint=function(d,b,x){return x=x||[],this.dataToLayout(d,b,ab),x[0]=ab.rect.x+ab.rect.width/2,x[1]=ab.rect.y+ab.rect.height/2,x},Matrix.prototype.dataToLayout=function(d,b,x){var T=this._dims,D=(x=x||{}).rect=x.rect||{};D.x=D.y=D.width=D.height=NaN;var z=x.matrixXYLocatorRange=resetXYLocatorRange(x.matrixXYLocatorRange);return Object(H.t)(d)?(parseCoordRangeOption(z,null,d,T,Object(H.P)(b&&b.clamp,Vv.none)),b&&b.ignoreMergeCells||(b&&b.clamp===Vv.corner||this._model.getBody().expandRangeByCellMerge(z),b&&b.clamp===Vv.body||this._model.getCorner().expandRangeByCellMerge(z)),xyLocatorRangeToRectOneDim(D,z,T,0),xyLocatorRangeToRectOneDim(D,z,T,1),x):x},Matrix.prototype.pointToData=function(d,b,x){var T=this._dims;return pointToDataOneDimPrepareCtx(db,0,T,d,b&&b.clamp),pointToDataOneDimPrepareCtx(db,1,T,d,b&&b.clamp),(x=x||[])[0]=x[1]=NaN,db.y===ub.inCorner&&db.x===ub.inBody?pointToDataOnlyHeaderFillOut(db,x,0,T):db.x===ub.inCorner&&db.y===ub.inBody?pointToDataOnlyHeaderFillOut(db,x,1,T):(pointToDataBodyCornerFillOut(db,x,0,T),pointToDataBodyCornerFillOut(db,x,1,T)),x},Matrix.prototype.convertToPixel=function(d,b,x,T){var D=Matrix_getCoordSys(b);return D===this?D.dataToPoint(x,T):void 0},Matrix.prototype.convertToLayout=function(d,b,x,T){var D=Matrix_getCoordSys(b);return D===this?D.dataToLayout(x,T):void 0},Matrix.prototype.convertFromPixel=function(d,b,x,T){var D=Matrix_getCoordSys(b);return D===this?D.pointToData(x,T):void 0},Matrix.prototype.containPoint=function(d){return this._rect.contain(d[0],d[1])},Matrix.dimensions=["x","y","value"],Matrix}(),ab={rect:{x:NaN,y:NaN,width:NaN,height:NaN}},sb=new ui,lb=new ui;function layOutUnitsOnDimension(d,b,x,T){for(var D=1-T,z=b[al[T]],W=b[al[D]],U=W.shouldShow(),Y=z.resetCellIterator();Y.next();)Y.item.wh=Y.item.xy=NaN;for(var Z=W.resetLayoutIterator(null,T);Z.next();)Z.item.wh=Z.item.xy=NaN;for(var J=x[sl[T]],ee=z.getLocatorCount(T)+W.getLocatorCount(T),te=new oo,ne=W.resetLevelIterator();ne.next();)te.option=ne.item.option,te.parentModel=d[al[D]],layOutSpecified(ne.item,U?te.get("levelSize"):0);for(var ie=new oo,oe=z.resetCellIterator();oe.next();)oe.item.type===Nv&&(ie.option=oe.item.option,ie.parentModel=void 0,layOutSpecified(oe.item,ie.get("size")));function layOutSpecified(d,b){var D=function(d,b,x){return confineSize(parsePositionSizeOption(d,x[sl[b]]),x[sl[b]])}(b,T,x);Object(H.l)(D)||(d.wh=confineSize(D,J),J=confineSize(J-d.wh),ee--)}var se=ee?J/ee:0,le=!ee&&J>=1,ce=x[al[T]],de=z.getLocatorCount(T)-1,he=new ui;for(W.resetLayoutIterator(he,T);he.next();)layOutUnspecified(he.item);for(z.resetLayoutIterator(he,T);he.next();)layOutUnspecified(he.item);function layOutUnspecified(d){Object(H.l)(d.wh)&&(d.wh=se),d.xy=ce,d.id[al[T]]!==de||le||(d.wh=x[al[T]]+x[sl[T]]-d.xy),ce+=d.wh}}function layOutDimCellsRestInfoByUnit(d,b){for(var x=b[al[d]].resetCellIterator();x.next();){var T=x.item;layOutRectOneDimBasedOnUnit(T.rect,d,T.id,T.span,b),layOutRectOneDimBasedOnUnit(T.rect,1-d,T.id,T.span,b),T.type===jv&&(T.xy=T.rect[al[d]],T.wh=T.rect[sl[d]])}}function layOutBodyCornerCellMerge(d,b){d.travelExistingCells((function(d){var x=d.span;if(x){var T=d.spanRect,D=d.id;layOutRectOneDimBasedOnUnit(T,0,D,x,b),layOutRectOneDimBasedOnUnit(T,1,D,x,b)}}))}function layOutRectOneDimBasedOnUnit(d,b,x,T,D){d[sl[b]]=0;var z=x[al[b]]<0?D[al[1-b]]:D[al[b]],H=z.getUnitLayoutInfo(b,x[al[b]]);if(d[al[b]]=H.xy,d[sl[b]]=H.wh,T[al[b]]>1){var W=z.getUnitLayoutInfo(b,x[al[b]]+T[al[b]]-1);d[sl[b]]=W.xy+W.wh-H.xy}}function confineSize(d,b){return Math.max(Math.min(d,Object(H.P)(b,1/0)),0)}function Matrix_getCoordSys(d){var b=d.matrixModel,x=d.seriesModel;return b?b.coordinateSystem:x?x.coordinateSystem:null}var ub={inBody:1,inCorner:2,outside:3},db={x:null,y:null,point:[]};function pointToDataOneDimPrepareCtx(d,b,x,T,D){var z=x[al[b]],H=x[al[1-b]],W=z.getUnitLayoutInfo(b,z.getLocatorCount(b)-1),U=z.getUnitLayoutInfo(b,0),Y=H.getUnitLayoutInfo(b,-H.getLocatorCount(b)),Z=H.shouldShow()?H.getUnitLayoutInfo(b,-1):null,J=d.point[b]=T[b];if(U||Z)if(D!==Vv.body)if(D!==Vv.corner){var ee=U?U.xy:Z?Z.xy+Z.wh:NaN,te=Y?Y.xy:ee,ne=W?W.xy+W.wh:ee;if(J<te){if(!D)return void(d[al[b]]=ub.outside);J=te}else if(J>ne){if(!D)return void(d[al[b]]=ub.outside);J=ne}d.point[b]=J,d[al[b]]=ee<=J&&J<=ne?ub.inBody:te<=J&&J<=ee?ub.inCorner:ub.outside}else Z?(d[al[b]]=ub.inCorner,J=ti(Z.xy+Z.wh,ni(Y.xy,J)),d.point[b]=J):d[al[b]]=ub.outside;else U?(d[al[b]]=ub.inBody,J=ti(W.xy+W.wh,ni(U.xy,J)),d.point[b]=J):d[al[b]]=ub.outside;else d[al[b]]=ub.outside}function pointToDataOnlyHeaderFillOut(d,b,x,T){var D=1-x;if(d[al[x]]!==ub.outside)for(T[al[x]].resetCellIterator(lb);lb.next();){var z=lb.item;if(isCoordInRect(d.point[x],z.rect,x)&&isCoordInRect(d.point[D],z.rect,D))return b[x]=z.ordinal,void(b[D]=z.id[al[D]])}}function pointToDataBodyCornerFillOut(d,b,x,T){var D,z;if(d[al[x]]!==ub.outside)for((d[al[x]]===ub.inCorner?T[al[1-x]]:T[al[x]]).resetLayoutIterator(sb,x);sb.next();)if(D=d.point[x],(z=sb.item).xy<=D&&D<=z.xy+z.wh)return void(b[x]=sb.item.id[al[x]])}
vendor: 16,929 bytes, line 808
808function isCoordInRect(d,b,x){return b[al[x]]<=d&&d<=b[al[x]]+b[sl[x]]}var hb=ob;function isSetLoc(d,b){var x;return H.k(b,(function(b){null!=d[b]&&"auto"!==d[b]&&(x=!0)})),x}var pb=["transition","enterFrom","leaveTo"],fb=pb.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function copyTransitionInfo(d,b,x){if(x&&(!d[x]&&b[x]&&(d[x]={}),d=d[x],b=b[x]),d&&b)for(var T=x?pb:fb,D=0;D<T.length;D++){var z=T[D];null==d[z]&&null!=b[z]&&(d[z]=b[z])}}var gb=function(d){function GraphicComponentModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=GraphicComponentModel.type,b.preventAutoZ=!0,b}return __extends(GraphicComponentModel,d),GraphicComponentModel.prototype.mergeOption=function(b,x){var T=this.option.elements;this.option.elements=null,d.prototype.mergeOption.call(this,b,x),this.option.elements=T},GraphicComponentModel.prototype.optionUpdated=function(d,b){var x=this.option,T=(b?x:d).elements,D=x.elements=b?[]:x.elements,z=[];this._flatten(T,z,null);var W=mappingToExists(D,z,"normalMerge"),U=this._elOptionsToUpdate=[];H.k(W,(function(d,b){var x=d.newOption;x&&(U.push(x),function(d,b){var x=d.existing;if(b.id=d.keyInfo.id,!b.type&&x&&(b.type=x.type),null==b.parentId){var T=b.parentOption;T?b.parentId=T.id:x&&(b.parentId=x.parentId)}b.parentOption=null}(d,x),function(d,b,x){var T=H.m({},x),D=d[b],z=x.$action||"merge";"merge"===z?D?(H.I(D,T,!0),mergeLayoutParam(D,T,{ignoreSize:!0}),copyLayoutParams(x,D),copyTransitionInfo(x,D),copyTransitionInfo(x,D,"shape"),copyTransitionInfo(x,D,"style"),copyTransitionInfo(x,D,"extra"),x.clipPath=D.clipPath):d[b]=T:"replace"===z?d[b]=T:"remove"===z&&D&&(d[b]=null)}(D,b,x),function(d,b){if(d&&(d.hv=b.hv=[isSetLoc(b,["left","right"]),isSetLoc(b,["top","bottom"])],"group"===d.type)){var x=d,T=b;null==x.width&&(x.width=T.width=0),null==x.height&&(x.height=T.height=0)}}(D[b],x))}),this),x.elements=H.n(D,(function(d){return d&&delete d.$action,null!=d}))},GraphicComponentModel.prototype._flatten=function(d,b,x){H.k(d,(function(d){if(d){x&&(d.parentOption=x),b.push(d);var T=d.children;T&&T.length&&this._flatten(T,b,d),delete d.children}}),this)},GraphicComponentModel.prototype.useElOptionsToUpdate=function(){var d=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,d},GraphicComponentModel.type="graphic",GraphicComponentModel.defaultOption={elements:[]},GraphicComponentModel}(Bo),mb={path:null,compoundPath:null,group:Xn,image:yr,text:Pr},yb=makeInner(),vb=function(d){function GraphicComponentView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=GraphicComponentView.type,b}return __extends(GraphicComponentView,d),GraphicComponentView.prototype.init=function(){this._elMap=H.f()},GraphicComponentView.prototype.render=function(d,b,x){d!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=d,this._updateElements(d),this._relocate(d,x)},GraphicComponentView.prototype._updateElements=function(d){var b=d.useElOptionsToUpdate();if(b){var x=this._elMap,T=this.group,D=d.get("z"),z=d.get("zlevel");H.k(b,(function(b){var W=convertOptionIdName(b.id,null),U=null!=W?x.get(W):null,Y=convertOptionIdName(b.parentId,null),Z=null!=Y?x.get(Y):T,J=b.type,ee=b.style;"text"===J&&ee&&b.hv&&b.hv[1]&&(ee.textVerticalAlign=ee.textBaseline=ee.verticalAlign=ee.align=null);var te=b.textContent,ne=b.textConfig;if(ee&&isEC4CompatibleStyle(ee,J,!!ne,!!te)){var ie=convertFromEC4CompatibleStyle(ee,J,!0);!ne&&ie.textConfig&&(ne=b.textConfig=ie.textConfig),!te&&ie.textContent&&(te=ie.textContent)}var oe=function(d){return d=H.m({},d),H.k(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(Oo),(function(b){delete d[b]})),d}(b);var se=b.$action||"merge",le="merge"===se,ce="replace"===se;if(le){var de=U;(ve=!U)?de=GraphicView_createEl(W,Z,b.type,x):(de&&(yb(de).isNew=!1),stopPreviousKeyframeAnimationAndRestore(de)),de&&(applyUpdateTransition(de,oe,d,{isInit:ve}),updateCommonAttrs(de,b,D,z))}else if(ce){removeEl(U,b,x,d);var he=GraphicView_createEl(W,Z,b.type,x);he&&(applyUpdateTransition(he,oe,d,{isInit:!0}),updateCommonAttrs(he,b,D,z))}else"remove"===se&&(updateLeaveTo(U,b),removeEl(U,b,x,d));var pe=x.get(W);if(pe&&te)if(le){var fe=pe.getTextContent();fe?fe.attr(te):pe.setTextContent(new Pr(te))}else ce&&pe.setTextContent(new Pr(te));if(pe){var ge=b.clipPath;if(ge){var me=ge.type,ye=void 0,ve=!1;if(le){var xe=pe.getClipPath();ye=(ve=!xe||yb(xe).type!==me)?GraphicView_newEl(me):xe}else ce&&(ve=!0,ye=GraphicView_newEl(me));pe.setClipPath(ye),applyUpdateTransition(ye,ge,d,{isInit:ve}),applyKeyframeAnimation(ye,ge.keyframeAnimation,d)}var _e=yb(pe);pe.setTextConfig(ne),_e.option=b,function(d,b,x){var T=Or(d).eventData;d.silent||d.ignore||T||(T=Or(d).eventData={componentType:"graphic",componentIndex:b.componentIndex,name:d.name});T&&(T.info=x.info)}(pe,d,b),setTooltipConfig({el:pe,componentModel:d,itemName:pe.name,itemTooltipOption:b.tooltip}),applyKeyframeAnimation(pe,b.keyframeAnimation,d)}}))}},GraphicComponentView.prototype._relocate=function(d,b){for(var x=d.option.elements,T=this.group,D=this._elMap,z=b.getWidth(),W=b.getHeight(),U=["x","y"],Y=0;Y<x.length;Y++){if((ie=null!=(ne=convertOptionIdName((te=x[Y]).id,null))?D.get(ne):null)&&ie.isGroup){var Z=(oe=ie.parent)===T,J=yb(ie),ee=yb(oe);J.width=number_parsePercent(J.option.width,Z?z:ee.width)||0,J.height=number_parsePercent(J.option.height,Z?W:ee.height)||0}}for(Y=x.length-1;Y>=0;Y--){var te,ne,ie;if(ie=null!=(ne=convertOptionIdName((te=x[Y]).id,null))?D.get(ne):null){var oe=ie.parent,se=(ee=yb(oe),{}),le=positionElement(ie,te,oe===T?{width:z,height:W}:{width:ee.width,height:ee.height},null,{hv:te.hv,boundingMode:te.bounding},se);if(!yb(ie).isNew&&le){for(var ce=te.transition,de={},he=0;he<U.length;he++){var pe=U[he],fe=se[pe];ce&&(isTransitionAll(ce)||H.r(ce,pe)>=0)?de[pe]=fe:ie[pe]=fe}updateProps(ie,de,d,0)}else ie.attr(se)}}},GraphicComponentView.prototype._clear=function(){var d=this,b=this._elMap;b.each((function(x){removeEl(x,yb(x).option,b,d._lastGraphicModel)})),this._elMap=H.f()},GraphicComponentView.prototype.dispose=function(){this._clear()},GraphicComponentView.type="graphic",GraphicComponentView}(ns);function GraphicView_newEl(d){var b=new(H.q(mb,d)?mb[d]:getShapeClass(d))({});return yb(b).type=d,b}function GraphicView_createEl(d,b,x,T){var D=GraphicView_newEl(x);return b.add(D),T.set(d,D),yb(D).id=d,yb(D).isNew=!0,D}function removeEl(d,b,x,T){d&&d.parent&&("group"===d.type&&d.traverse((function(d){removeEl(d,b,x,T)})),applyLeaveTransition(d,b,T),x.removeKey(yb(d).id))}function updateCommonAttrs(d,b,x,T){d.isGroup||H.k([["cursor",ki.prototype.cursor],["zlevel",T||0],["z",x||0],["z2",0]],(function(x){var T=x[0];H.q(b,T)?d[T]=H.P(b[T],x[1]):null==d[T]&&(d[T]=x[1])})),H.k(H.F(b),(function(x){if(0===x.indexOf("on")){var T=b[x];d[x]=H.w(T)?T:null}})),H.q(b,"draggable")&&(d.draggable=b.draggable),null!=b.name&&(d.name=b.name),null!=b.id&&(d.id=b.id)}var bb=["x","y","radius","angle","single"],xb=["cartesian2d","polar","singleAxis"];function getAxisMainType(d){return d+"Axis"}function findEffectedDataZooms(d,b){var x,T=Object(H.f)(),D=[],z=Object(H.f)();d.eachComponent({mainType:"dataZoom",query:b},(function(d){z.get(d.uid)||addToEffected(d)}));do{x=!1,d.eachComponent("dataZoom",processSingle)}while(x);function processSingle(d){!z.get(d.uid)&&function(d){var b=!1;return d.eachTargetAxis((function(d,x){var D=T.get(d);D&&D[x]&&(b=!0)})),b}(d)&&(addToEffected(d),x=!0)}function addToEffected(d){z.set(d.uid,!0),D.push(d),d.eachTargetAxis((function(d,b){(T.get(d)||T.set(d,[]))[b]=!0}))}return D}function collectReferCoordSysModelInfo(d){var b=d.ecModel,x={infoList:[],infoMap:Object(H.f)()};return d.eachTargetAxis((function(d,T){var D=b.getComponent(getAxisMainType(d),T);if(D){var z=D.getCoordSysModel();if(z){var H=z.uid,W=x.infoMap.get(H);W||(W={model:z,axisModels:[]},x.infoList.push(W),x.infoMap.set(H,W)),W.axisModels.push(D)}}})),x}var _b=function(){function DataZoomAxisInfo(){this.indexList=[],this.indexMap=[]}return DataZoomAxisInfo.prototype.add=function(d){this.indexMap[d]||(this.indexList.push(d),this.indexMap[d]=!0)},DataZoomAxisInfo}();function retrieveRawOption(d){var b={};return Object(H.k)(["start","end","startValue","endValue","throttle"],(function(x){d.hasOwnProperty(x)&&(b[x]=d[x])})),b}var wb=function(d){function DataZoomModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=DataZoomModel.type,b._autoThrottle=!0,b._noTarget=!0,b._rangePropMode=["percent","percent"],b}return __extends(DataZoomModel,d),DataZoomModel.prototype.init=function(d,b,x){var T=retrieveRawOption(d);this.settledOption=T,this.mergeDefaultAndTheme(d,x),this._doInit(T)},DataZoomModel.prototype.mergeOption=function(d){var b=retrieveRawOption(d);Object(H.I)(this.option,d,!0),Object(H.I)(this.settledOption,b,!0),this._doInit(b)},DataZoomModel.prototype._doInit=function(d){var b=this.option;this._setDefaultThrottle(d),this._updateRangeUse(d);var x=this.settledOption;Object(H.k)([["start","startValue"],["end","endValue"]],(function(d,T){"value"===this._rangePropMode[T]&&(b[d[0]]=x[d[0]]=null)}),this),this._resetTarget()},DataZoomModel.prototype._resetTarget=function(){var d=this.get("orient",!0),b=this._targetAxisInfoMap=Object(H.f)();this._fillSpecifiedTargetAxis(b)?this._orient=d||this._makeAutoOrientByTargetAxis():(this._orient=d||"horizontal",this._fillAutoTargetAxisByOrient(b,this._orient)),this._noTarget=!0,b.each((function(d){d.indexList.length&&(this._noTarget=!1)}),this)},DataZoomModel.prototype._fillSpecifiedTargetAxis=function(d){var b=!1;return Object(H.k)(bb,(function(x){var T=this.getReferringComponents(getAxisMainType(x),li);if(T.specified){b=!0;var D=new _b;Object(H.k)(T.models,(function(d){D.add(d.componentIndex)})),d.set(x,D)}}),this),b},DataZoomModel.prototype._fillAutoTargetAxisByOrient=function(d,b){var x=this.ecModel,T=!0;if(T){var D="vertical"===b?"y":"x";setParallelAxis(x.findComponents({mainType:D+"Axis"}),D)}T&&setParallelAxis(x.findComponents({mainType:"singleAxis",filter:function(d){return d.get("orient",!0)===b}}),"single");function setParallelAxis(b,x){var D=b[0];if(D){var z=new _b;if(z.add(D.componentIndex),d.set(x,z),T=!1,"x"===x||"y"===x){var W=D.getReferringComponents("grid",si).models[0];W&&Object(H.k)(b,(function(d){D.componentIndex!==d.componentIndex&&W===d.getReferringComponents("grid",si).models[0]&&z.add(d.componentIndex)}))}}}T&&Object(H.k)(bb,(function(b){if(T){var D=x.findComponents({mainType:getAxisMainType(b),filter:function(d){return"category"===d.get("type",!0)}});if(D[0]){var z=new _b;z.add(D[0].componentIndex),d.set(b,z),T=!1}}}),this)},DataZoomModel.prototype._makeAutoOrientByTargetAxis=function(){var d;return this.eachTargetAxis((function(b){!d&&(d=b)}),this),"y"===d?"vertical":"horizontal"},DataZoomModel.prototype._setDefaultThrottle=function(d){if(d.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var b=this.ecModel.option;this.option.throttle=b.animation&&b.animationDurationUpdate>0?100:20}},DataZoomModel.prototype._updateRangeUse=function(d){var b=this._rangePropMode,x=this.get("rangeMode");Object(H.k)([["start","startValue"],["end","endValue"]],(function(T,D){var z=null!=d[T[0]],H=null!=d[T[1]];z&&!H?b[D]="percent":!z&&H?b[D]="value":x?b[D]=x[D]:z&&(b[D]="percent")}))},DataZoomModel.prototype.noTarget=function(){return this._noTarget},DataZoomModel.prototype.getFirstTargetAxisModel=function(){var d;return this.eachTargetAxis((function(b,x){null==d&&(d=this.ecModel.getComponent(getAxisMainType(b),x))}),this),d},DataZoomModel.prototype.eachTargetAxis=function(d,b){this._targetAxisInfoMap.each((function(x,T){Object(H.k)(x.indexList,(function(x){d.call(b,T,x)}))}))},DataZoomModel.prototype.getAxisProxy=function(d,b){var x=this.getAxisModel(d,b);if(x)return x.__dzAxisProxy},DataZoomModel.prototype.getAxisModel=function(d,b){var x=this._targetAxisInfoMap.get(d);if(x&&x.indexMap[b])return this.ecModel.getComponent(getAxisMainType(d),b)},DataZoomModel.prototype.setRawRange=function(d){var b=this.option,x=this.settledOption;Object(H.k)([["start","startValue"],["end","endValue"]],(function(T){null==d[T[0]]&&null==d[T[1]]||(b[T[0]]=x[T[0]]=d[T[0]],b[T[1]]=x[T[1]]=d[T[1]])}),this),this._updateRangeUse(d)},DataZoomModel.prototype.setCalculatedRange=function(d){var b=this.option;Object(H.k)(["start","startValue","end","endValue"],(function(x){b[x]=d[x]}))},DataZoomModel.prototype.getPercentRange=function(){var d=this.findRepresentativeAxisProxy();if(d)return d.getDataPercentWindow()},DataZoomModel.prototype.getValueRange=function(d,b){if(null!=d||null!=b)return this.getAxisProxy(d,b).getDataValueWindow();var x=this.findRepresentativeAxisProxy();return x?x.getDataValueWindow():void 0},DataZoomModel.prototype.findRepresentativeAxisProxy=function(d){if(d)return d.__dzAxisProxy;for(var b,x=this._targetAxisInfoMap.keys(),T=0;T<x.length;T++)for(var D=x[T],z=this._targetAxisInfoMap.get(D),H=0;H<z.indexList.length;H++){var W=this.getAxisProxy(D,z.indexList[H]);if(W.hostedBy(this))return W;b||(b=W)}return b},DataZoomModel.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},DataZoomModel.prototype.getOrient=function(){return this._orient},DataZoomModel.type="dataZoom",DataZoomModel.dependencies=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","series","toolbox"],DataZoomModel.defaultOption={z:4,filterMode:"filter",start:0,end:100},DataZoomModel}(Bo),Sb=function(d){function SelectDataZoomModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=SelectDataZoomModel.type,b}return __extends(SelectDataZoomModel,d),SelectDataZoomModel.type="dataZoom.select",SelectDataZoomModel}(wb),Mb=function(d){function DataZoomView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=DataZoomView.type,b}return __extends(DataZoomView,d),DataZoomView.prototype.render=function(d,b,x,T){this.dataZoomModel=d,this.ecModel=b,this.api=x},DataZoomView.type="dataZoom",DataZoomView}(ns),Cb=function(d){function SelectDataZoomView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=SelectDataZoomView.type,b}return __extends(SelectDataZoomView,d),SelectDataZoomView.type="dataZoom.select",SelectDataZoomView}(Mb),Tb=H.k,kb=asc;var Ab=function(){function AxisProxy(d,b,x,T){this._dimName=d,this._axisIndex=b,this.ecModel=T,this._dataZoomModel=x}return AxisProxy.prototype.hostedBy=function(d){return this._dataZoomModel===d},AxisProxy.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},AxisProxy.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},AxisProxy.prototype.getTargetSeriesModels=function(){var d=[];return this.ecModel.eachSeries((function(b){if(function(d){var b=d.get("coordinateSystem");return Object(H.r)(xb,b)>=0}(b)){var x=getAxisMainType(this._dimName),T=b.getReferringComponents(x,si).models[0];T&&this._axisIndex===T.componentIndex&&d.push(b)}}),this),d},AxisProxy.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},AxisProxy.prototype.getMinMaxSpan=function(){return H.d(this._minMaxSpan)},AxisProxy.prototype.calculateDataWindow=function(d){var b,x=this._dataExtent,T=this.getAxisModel().axis.scale,D=this._dataZoomModel.getRangePropMode(),z=[0,100],H=[],W=[];Tb(["start","end"],(function(U,Y){var Z=d[U],J=d[U+"Value"];"percent"===D[Y]?(null==Z&&(Z=z[Y]),J=T.parse(linearMap(Z,z,x))):(b=!0,Z=linearMap(J=null==J?x[Y]:T.parse(J),x,z)),W[Y]=null==J||isNaN(J)?x[Y]:J,H[Y]=null==Z||isNaN(Z)?z[Y]:Z})),kb(W),kb(H);var U=this._minMaxSpan;function restrictSet(d,b,x,D,z){var H=z?"Span":"ValueSpan";sliderMove(0,d,x,"all",U["min"+H],U["max"+H]);for(var W=0;W<2;W++)b[W]=linearMap(d[W],x,D,!0),z&&(b[W]=T.parse(b[W]))}return b?restrictSet(W,H,x,z,!1):restrictSet(H,W,z,x,!0),{valueWindow:W,percentWindow:H}},AxisProxy.prototype.reset=function(d){if(d===this._dataZoomModel){var b=this.getTargetSeriesModels();this._dataExtent=function(d,b,x){var T=[1/0,-1/0];Tb(x,(function(d){!function(d,b,x){b&&H.k(getDataDimensionsOnAxis(b,x),(function(x){var T=b.getApproximateExtent(x);T[0]<d[0]&&(d[0]=T[0]),T[1]>d[1]&&(d[1]=T[1])}))}(T,d.getData(),b)}));var D=d.getAxisModel(),z=ensureScaleRawExtentInfo(D.axis.scale,D,T).calculate();return[z.min,z.max]}(this,this._dimName,b),this._updateMinMaxSpan();var x=this.calculateDataWindow(d.settledOption);this._valueWindow=x.valueWindow,this._percentWindow=x.percentWindow,this._setAxisModel()}},AxisProxy.prototype.filterData=function(d,b){if(d===this._dataZoomModel){var x=this._dimName,T=this.getTargetSeriesModels(),D=d.get("filterMode"),z=this._valueWindow;"none"!==D&&Tb(T,(function(d){var b=d.getData(),T=b.mapDimensionsAll(x);if(T.length){if("weakFilter"===D){var W=b.getStore(),U=H.H(T,(function(d){return b.getDimensionIndex(d)}),b);b.filterSelf((function(d){for(var b,x,D,H=0;H<T.length;H++){var Y=W.get(U[H],d),Z=!isNaN(Y),J=Y<z[0],ee=Y>z[1];if(Z&&!J&&!ee)return!0;Z&&(D=!0),J&&(b=!0),ee&&(x=!0)}return D&&b&&x}
vendor: 4,374 bytes, line 808
808))}else Tb(T,(function(x){if("empty"===D)d.setData(b=b.map(x,(function(d){return function(d){return d>=z[0]&&d<=z[1]}(d)?d:NaN})));else{var T={};T[x]=z,b.selectRange(T)}}));Tb(T,(function(d){b.setApproximateExtent(z,d)}))}}))}},AxisProxy.prototype._updateMinMaxSpan=function(){var d=this._minMaxSpan={},b=this._dataZoomModel,x=this._dataExtent;Tb(["min","max"],(function(T){var D=b.get(T+"Span"),z=b.get(T+"ValueSpan");null!=z&&(z=this.getAxisModel().axis.scale.parse(z)),null!=z?D=linearMap(x[0]+z,x,[0,100],!0):null!=D&&(z=linearMap(D,[0,100],x,!0)-x[0]),d[T+"Span"]=D,d[T+"ValueSpan"]=z}),this)},AxisProxy.prototype._setAxisModel=function(){var d=this.getAxisModel(),b=this._percentWindow,x=this._valueWindow;if(b){var T=getPixelPrecision(x,[0,500]);T=Math.min(T,20);var D=d.axis.scale.rawExtentInfo;0!==b[0]&&D.setDeterminedMinMax("min",+x[0].toFixed(T)),100!==b[1]&&D.setDeterminedMinMax("max",+x[1].toFixed(T)),D.freeze()}},AxisProxy}(),Pb={getTargetSeries:function(d){function eachAxisModel(b){d.eachComponent("dataZoom",(function(x){x.eachTargetAxis((function(T,D){var z=d.getComponent(getAxisMainType(T),D);b(T,D,z,x)}))}))}eachAxisModel((function(d,b,x,T){x.__dzAxisProxy=null}));var b=[];eachAxisModel((function(x,T,D,z){D.__dzAxisProxy||(D.__dzAxisProxy=new Ab(x,T,z,d),b.push(D.__dzAxisProxy))}));var x=Object(H.f)();return Object(H.k)(b,(function(d){Object(H.k)(d.getTargetSeriesModels(),(function(d){x.set(d.uid,d)}))})),x},overallReset:function(d,b){d.eachComponent("dataZoom",(function(d){d.eachTargetAxis((function(b,x){d.getAxisProxy(b,x).reset(d)})),d.eachTargetAxis((function(x,T){d.getAxisProxy(x,T).filterData(d,b)}))})),d.eachComponent("dataZoom",(function(d){var b=d.findRepresentativeAxisProxy();if(b){var x=b.getDataPercentWindow(),T=b.getDataValueWindow();d.setCalculatedRange({start:x[0],end:x[1],startValue:T[0],endValue:T[1]})}}))}};var Ob=!1;function installCommon(d){Ob||(Ob=!0,d.registerProcessor(d.PRIORITY.PROCESSOR.FILTER,Pb),function(d){d.registerAction("dataZoom",(function(d,b){var x=findEffectedDataZooms(b,d);Object(H.k)(x,(function(b){b.setRawRange({start:d.start,end:d.end,startValue:d.startValue,endValue:d.endValue})}))}))}(d),d.registerSubTypeDefaulter("dataZoom",(function(){return"slider"})))}function installDataZoomSelect_install(d){d.registerComponentModel(Sb),d.registerComponentView(Cb),installCommon(d)}var ToolboxFeature=function(){},Ib={};function registerFeature(d,b){Ib[d]=b}function getFeature(d){return Ib[d]}var Db=function(d){function ToolboxModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=ToolboxModel.type,b}return __extends(ToolboxModel,d),ToolboxModel.prototype.optionUpdated=function(){d.prototype.optionUpdated.apply(this,arguments);var b=this.ecModel;H.k(this.option.feature,(function(d,x){var T=getFeature(x);T&&(T.getDefaultOption&&(T.defaultOption=T.getDefaultOption(b)),H.I(d,T.defaultOption))}))},ToolboxModel.type="toolbox",ToolboxModel.layoutMode={type:"box",ignoreSize:!0},ToolboxModel.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:Fo.color.border,borderRadius:0,borderWidth:0,padding:Fo.size.m,itemSize:15,itemGap:Fo.size.s,showTitle:!0,iconStyle:{borderColor:Fo.color.accent50,color:"none"},emphasis:{iconStyle:{borderColor:Fo.color.accent50}},tooltip:{show:!1,position:"bottom"}},ToolboxModel}(Bo);function makeBackground(d,b){var x=yo(b.get("padding")),T=b.getItemStyle(["color","opacity"]);return T.fill=b.get("backgroundColor"),new _r({shape:{x:d.x-x[3],y:d.y-x[0],width:d.width+x[1]+x[3],height:d.height+x[0]+x[2],r:b.get("borderRadius")},style:T,silent:!0,z2:-1})}var Eb=function(d){function ToolboxView(){return null!==d&&d.apply(this,arguments)||this}return __extends(ToolboxView,d),ToolboxView.prototype.render=function(d,b,x,T){var D=this.group;if(D.removeAll(),d.get("show")){var z=+d.get("itemSize"),W="vertical"===d.get("orient"),U=d.get("feature")||{},Y=this._features||(this._features={}),Z=[];H.k(U,(function(d,b){Z.push(b)})),new zc(this._featureNames||[],Z).add(processFeature).update(processFeature).remove(H.h(processFeature,null)).execute(),this._featureNames=Z;var J=createBoxLayoutReference(d,x).refContainer,ee=d.getBoxLayoutParams(),te=d.get("padding"),ne=getLayoutRect(ee,J,te);Do(d.get("orient"),D,d.get("itemGap"),ne.width,ne.height),positionElement(D,ee,J,te),D.add(makeBackgroun
vendor: 25,730 bytes, line 808
808d(D.getBoundingRect(),d)),W||D.eachChild((function(d){var b=d.__title,T=d.ensureState("emphasis"),W=T.textConfig||(T.textConfig={}),U=d.getTextContent(),Y=U&&U.ensureState("emphasis");if(Y&&!H.w(Y)&&b){var Z=Y.style||(Y.style={}),J=getBoundingRect(b,Pr.makeFont(Z)),ee=d.x+D.x,te=!1;d.y+D.y+z+J.height>x.getHeight()&&(W.position="top",te=!0);var ne=te?-5-J.height:z+10;ee+J.width/2>x.getWidth()?(W.position=["100%",ne],Z.align="right"):ee-J.width/2<0&&(W.position=[0,ne],Z.align="left")}}))}function processFeature(J,ee){var te,ne=Z[J],ie=Z[ee],oe=U[ne],se=new oo(oe,d,d.ecModel);if(T&&null!=T.newTitle&&T.featureName===ne&&(oe.title=T.newTitle),ne&&!ie){if(function(d){return 0===d.indexOf("my")}(ne))te={onclick:se.option.onclick,featureName:ne};else{var le=getFeature(ne);if(!le)return;te=new le}Y[ne]=te}else if(!(te=Y[ie]))return;te.uid=getUID("toolbox-feature"),te.model=se,te.ecModel=b,te.api=x;var ce=te instanceof ToolboxFeature;ne||!ie?!se.get("show")||ce&&te.unusable?ce&&te.remove&&te.remove(b,x):(!function(T,U,Y){var Z,J,ee=T.getModel("iconStyle"),te=T.getModel(["emphasis","iconStyle"]),ne=U instanceof ToolboxFeature&&U.getIcons?U.getIcons():T.get("icon"),ie=T.get("title")||{};H.C(ne)?(Z={})[Y]=ne:Z=ne;H.C(ie)?(J={})[Y]=ie:J=ie;var oe=T.iconPaths={};H.k(Z,(function(Y,Z){var ne=createIcon(Y,{},{x:-z/2,y:-z/2,width:z,height:z});ne.setStyle(ee.getItemStyle()),ne.ensureState("emphasis").style=te.getItemStyle();var ie=new Pr({style:{text:J[Z],align:te.get("textAlign"),borderRadius:te.get("textBorderRadius"),padding:te.get("textPadding"),fill:null,font:getFont({fontStyle:te.get("textFontStyle"),fontFamily:te.get("textFontFamily"),fontSize:te.get("textFontSize"),fontWeight:te.get("textFontWeight")},b)},ignore:!0});ne.setTextContent(ie),setTooltipConfig({el:ne,componentModel:d,itemName:Z,formatterParamsExtra:{title:J[Z]}}),ne.__title=J[Z],ne.on("mouseover",(function(){var b=te.getItemStyle(),T=W?null==d.get("right")&&"right"!==d.get("left")?"right":"left":null==d.get("bottom")&&"bottom"!==d.get("top")?"bottom":"top";ie.setStyle({fill:te.get("textFill")||b.fill||b.stroke||Fo.color.neutral99,backgroundColor:te.get("textBackgroundColor")}),ne.setTextConfig({position:te.get("textPosition")||T}),ie.ignore=!d.get("showTitle"),x.enterEmphasis(this)})).on("mouseout",(function(){"emphasis"!==T.get(["iconStatus",Z])&&x.leaveEmphasis(this),ie.hide()})),("emphasis"===T.get(["iconStatus",Z])?enterEmphasis:leaveEmphasis)(ne),D.add(ne),ne.on("click",H.c(U.onclick,U,b,x,Z)),oe[Z]=ne}))}(se,te,ne),se.setIconStatus=function(d,b){var x=this.option,T=this.iconPaths;x.iconStatus=x.iconStatus||{},x.iconStatus[d]=b,T[d]&&("emphasis"===b?enterEmphasis:leaveEmphasis)(T[d])},te instanceof ToolboxFeature&&te.render&&te.render(se,b,x,T)):ce&&te.dispose&&te.dispose(b,x)}},ToolboxView.prototype.updateView=function(d,b,x,T){H.k(this._features,(function(d){d instanceof ToolboxFeature&&d.updateView&&d.updateView(d.model,b,x,T)}))},ToolboxView.prototype.remove=function(d,b){H.k(this._features,(function(x){x instanceof ToolboxFeature&&x.remove&&x.remove(d,b)})),this.group.removeAll()},ToolboxView.prototype.dispose=function(d,b){H.k(this._features,(function(x){x instanceof ToolboxFeature&&x.dispose&&x.dispose(d,b)}))},ToolboxView.type="toolbox",ToolboxView}(ns),Lb=function(d){function SaveAsImage(){return null!==d&&d.apply(this,arguments)||this}return __extends(SaveAsImage,d),SaveAsImage.prototype.onclick=function(d,b){var x=this.model,T=x.get("name")||d.get("title.0.text")||"echarts",D="svg"===b.getZr().painter.getType(),H=D?"svg":x.get("type",!0)||"png",W=b.getConnectedDataURL({type:H,backgroundColor:x.get("backgroundColor",!0)||d.get("backgroundColor")||Fo.color.neutral00,connectedBackgroundColor:x.get("connectedBackgroundColor"),excludeComponents:x.get("excludeComponents"),pixelRatio:x.get("pixelRatio")}),U=z.a.browser;if("function"!=typeof MouseEvent||!U.newEdge&&(U.ie||U.edge))if(window.navigator.msSaveOrOpenBlob||D){var Y=W.split(","),Z=Y[0].indexOf("base64")>-1,J=D?decodeURIComponent(Y[1]):Y[1];Z&&(J=window.atob(J));var ee=T+"."+H;if(window.navigator.msSaveOrOpenBlob){for(var te=J.length,ne=new Uint8Array(te);te--;)ne[te]=J.charCodeAt(te);var ie=new Blob([ne]);window.navigator.msSaveOrOpenBlob(ie,ee)}else{var oe=document.createElement("iframe");document.body.appendChild(oe);var se=oe.contentWindow,le=se.document;le.open("image/svg+xml","replace"),le.write(J),le.close(),se.focus(),le.execCommand("SaveAs",!0,ee),document.body.removeChild(oe)}}else{var ce=x.get("lang"),de='<body style="margin:0;"><img src="'+W+'" style="max-width:100%;" title="'+(ce&&ce[0]||"")+'" /></body>',he=window.open();he.document.write(de),he.document.title=T}else{var pe=document.createElement("a");pe.download=T+"."+H,pe.target="_blank",pe.href=W;var fe=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});pe.dispatchEvent(fe)}},SaveAsImage.getDefaultOption=function(d){return{show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:d.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:Fo.color.neutral00,name:"",excludeComponents:["toolbox"],lang:d.getLocaleModel().get(["toolbox","saveAsImage","lang"])}},SaveAsImage}(ToolboxFeature),Rb=[["line","bar"],["stack"]],Bb=function(d){function MagicType(){return null!==d&&d.apply(this,arguments)||this}return __extends(MagicType,d),MagicType.prototype.getIcons=function(){var d=this.model,b=d.get("icon"),x={};return H.k(d.get("type"),(function(d){b[d]&&(x[d]=b[d])})),x},MagicType.getDefaultOption=function(d){return{show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:d.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}}},MagicType.prototype.onclick=function(d,b,x){var T=this.model,D=T.get(["seriesIndex",x]);if(Nb[x]){var z,W={series:[]};H.k(Rb,(function(d){H.r(d,x)>=0&&H.k(d,(function(d){T.setIconStatus(d,"normal")}))})),T.setIconStatus(x,"emphasis"),d.eachComponent({mainType:"series",query:null==D?null:{seriesIndex:D}},(function(d){var b=d.subType,D=d.id,z=Nb[x](b,D,d,T);z&&(H.i(z,d.option),W.series.push(z));var U=d.coordinateSystem;if(U&&"cartesian2d"===U.type&&("line"===x||"bar"===x)){var Y=U.getAxesByScale("ordinal")[0];if(Y){var Z=Y.dim+"Axis",J=d.getReferringComponents(Z,si).models[0].componentIndex;W[Z]=W[Z]||[];for(var ee=0;ee<=J;ee++)W[Z][J]=W[Z][J]||{};W[Z][J].boundaryGap="bar"===x}}}));var U=x;"stack"===x&&(z=H.I({stack:T.option.title.tiled,tiled:T.option.title.stack},T.option.title),"emphasis"!==T.get(["iconStatus",x])&&(U="tiled")),b.dispatchAction({type:"changeMagicType",currentType:U,newOption:W,newTitle:z,featureName:"magicType"})}},MagicType}(ToolboxFeature),Nb={line:function(d,b,x,T){if("bar"===d)return H.I({id:b,type:"line",data:x.get("data"),stack:x.get("stack"),markPoint:x.get("markPoint"),markLine:x.get("markLine")},T.get(["option","line"])||{},!0)},bar:function(d,b,x,T){if("line"===d)return H.I({id:b,type:"bar",data:x.get("data"),stack:x.get("stack"),markPoint:x.get("markPoint"),markLine:x.get("markLine")},T.get(["option","bar"])||{},!0)},stack:function(d,b,x,T){var D="__ec_magicType_stack__"===x.get("stack");if("line"===d||"bar"===d)return T.setIconStatus("stack",D?"normal":"emphasis"),H.I({id:b,stack:D?"":"__ec_magicType_stack__"},T.get(["option","stack"])||{},!0)}};registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(d,b){b.mergeOption(d.newOption)}));var jb=Bb,Vb=new Array(60).join("-");function DataView_trim(d){return d.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}var zb=new RegExp("[\t]+","g");function parseContents(d,b){var x=d.split(new RegExp("\n*"+Vb+"\n*","g")),T={series:[]};return H.k(x,(function(d,x){if(function(d){if(d.slice(0,d.indexOf("\n")).indexOf("\t")>=0)return!0}(d)){var D=function(d){for(var b=d.split(/\n+/g),x=DataView_trim(b.shift()).split(zb),T=[],D=H.H(x,(function(d){return{name:d,data:[]}})),z=0;z<b.length;z++){var W=DataView_trim(b[z]).split(zb);T.push(W.shift());for(var U=0;U<W.length;U++)D[U]&&(D[U].data[z]=W[U])}return{series:D,categories:T}}(d),z=b[x],W=z.axisDim+"Axis";z&&(T[W]=T[W]||[],T[W][z.axisIndex]={data:D.categories},T.series=T.series.concat(D.series))}else{D=function(d){for(var b=d.split(/\n+/g),x=DataView_trim(b.shift()),T=[],D=0;D<b.length;D++){var z=DataView_trim(b[D]);if(z){var H=z.split(zb),W="",U=void 0,Y=!1;isNaN(H[0])?(Y=!0,W=H[0],H=H.slice(1),T[D]={name:W,value:[]},U=T[D].value):U=T[D]=[];for(var Z=0;Z<H.length;Z++)U.push(+H[Z]);1===U.length&&(Y?T[D].value=U[0]:T[D]=U[0])}}return{name:x,data:T}}(d);T.series.push(D)}})),T}var Fb=function(d){function DataView(){return null!==d&&d.apply(this,arguments)||this}return __extends(DataView,d),DataView.prototype.onclick=function(d,b){setTimeout((function(){b.dispatchAction({type:"hideTip"})}));var x=b.getDom(),T=this.model;this._dom&&x.removeChild(this._dom);var D=document.createElement("div");D.style.cssText="position:absolute;top:0;bottom:0;left:0;right:0;padding:5px",D.style.backgroundColor=T.get("backgroundColor")||Fo.color.neutral00;var z=document.createElement("h4"),W=T.get("lang")||[];z.innerHTML=W[0]||T.get("title"),z.style.cssText="margin:10px 20px",z.style.color=T.get("textColor");var U=document.createElement("div"),Y=document.createElement("textarea");U.style.cssText="overflow:auto";var Z=T.get("optionToContent"),J=T.get("contentToOption"),ee=function(d){var b,x,T,D=function(d){var b={},x=[],T=[];return d.eachRawSeries((function(d){var D=d.coordinateSystem;if(!D||"cartesian2d"!==D.type&&"polar"!==D.type)x.push(d);else{var z=D.getBaseAxis();if("category"===z.type){var H=z.dim+"_"+z.index;b[H]||(b[H]={categoryAxis:z,valueAxis:D.getOtherAxis(z),series:[]},T.push({axisDim:z.dim,axisIndex:z.index})),b[H].series.push(d)}else x.push(d)}})),{seriesGroupByCategoryAxis:b,other:x,meta:T}}(d);return{value:H.n([(x=D.seriesGroupByCategoryAxis,T=[],H.k(x,(function(d,b){var x=d.categoryAxis,D=d.valueAxis.dim,z=[" "].concat(H.H(d.series,(function(d){return d.name}))),W=[x.model.getCategories()];H.k(d.series,(function(d){var b=d.getRawData();W.push(d.getRawData().mapArray(b.mapDimension(D),(function(d){return d})))}));for(var U=[z.join("\t")],Y=0;Y<W[0].length;Y++){for(var Z=[],J=0;J<W.length;J++)Z.push(W[J][Y]);U.push(Z.join("\t"))}T.push(U.join("\n"))})),T.join("\n\n"+Vb+"\n\n")),(b=D.other,H.H(b,(function(d){var b=d.getRawData(),x=[d.name],T=[];return b.each(b.dimensions,(function(){for(var d=arguments.length,D=arguments[d-1],z=b.getName(D),H=0;H<d-1;H++)T[H]=arguments[H];x.push((z?z+"\t":"")+T.join("\t"))})),x.join("\n")})).join("\n\n"+Vb+"\n\n"))],(function(d){return!!d.replace(/[\n\t\s]/g,"")})).join("\n\n"+Vb+"\n\n"),meta:D.meta}}(d);if(H.w(Z)){var te=Z(b.getOption());H.C(te)?U.innerHTML=te:H.v(te)&&U.appendChild(te)}else{Y.readOnly=T.get("readOnly");var ne=Y.style;ne.cssText="display:block;width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;resize:none;box-sizing:border-box;outline:none",ne.color=T.get("textColor"),ne.borderColor=T.get("textareaBorderColor"),ne.backgroundColor=T.get("textareaColor"),Y.value=ee.value,U.appendChild(Y)}var ie=ee.meta,oe=document.createElement("div");oe.style.cssText="position:absolute;bottom:5px;left:0;right:0";var se="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",le=document.createElement("div"),ce=document.createElement("div");se+=";background-color:"+T.get("buttonColor"),se+=";color:"+T.get("buttonTextColor");var de=this;function close(){x.removeChild(D),de._dom=null}addEventListener(le,"click",close),addEventListener(ce,"click",(function(){if(null==J&&null!=Z||null!=J&&null==Z)close();else{var d;try{d=H.w(J)?J(U,b.getOption()):parseContents(Y.value,ie)}catch(d){throw close(),new Error("Data view format error "+d)}d&&b.dispatchAction({type:"changeDataView",newOption:d}),close()}})),le.innerHTML=W[1],ce.innerHTML=W[2],ce.style.cssText=le.style.cssText=se,!T.get("readOnly")&&oe.appendChild(ce),oe.appendChild(le),D.appendChild(z),D.appendChild(U),D.appendChild(oe),U.style.height=x.clientHeight-80+"px",x.appendChild(D),this._dom=D},DataView.prototype.remove=function(d,b){this._dom&&b.getDom().removeChild(this._dom)},DataView.prototype.dispose=function(d,b){this.remove(d,b)},DataView.getDefaultOption=function(d){return{show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:d.getLocaleModel().get(["toolbox","dataView","title"]),lang:d.getLocaleModel().get(["toolbox","dataView","lang"]),backgroundColor:Fo.color.background,textColor:Fo.color.primary,textareaColor:Fo.color.background,textareaBorderColor:Fo.color.border,buttonColor:Fo.color.accent50,buttonTextColor:Fo.color.neutral00}},DataView}(ToolboxFeature);function tryMergeDataOption(d,b){return H.H(d,(function(d,x){var T=b&&b[x];if(H.A(T)&&!H.t(T)){H.A(d)&&!H.t(d)||(d={value:d});var D=null!=T.name&&null==d.name;return d=H.i(d,T),D&&delete d.name,d}return d}))}registerAction({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},(function(d,b){var x=[];H.k(d.newOption.series,(function(d){var T=b.getSeriesByName(d.name)[0];if(T){var D=T.get("data");x.push({name:d.name,data:tryMergeDataOption(d.data,D)})}else x.push(H.m({type:"scatter"},d))})),b.mergeOption(H.i({series:x},d.newOption))}));var Hb=Fb,Gb=H.k,$b=makeInner();function getStoreSnapshots(d){var b=$b(d);return b.snapshots||(b.snapshots=[{}]),b.snapshots}var Wb=function(d){function RestoreOption(){return null!==d&&d.apply(this,arguments)||this}return __extends(RestoreOption,d),RestoreOption.prototype.onclick=function(d,b){!function(d){$b(d).snapshots=null}(d),b.dispatchAction({type:"restore",from:this.uid})},RestoreOption.getDefaultOption=function(d){return{show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:d.getLocaleModel().get(["toolbox","restore","title"])}},RestoreOption}(ToolboxFeature);registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},(function(d,b){b.resetOption("recreate")}));var Ub=Wb,Yb=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],qb=function(){function BrushTargetManager(d,b,x){var T=this;this._targetInfoList=[];var D=BrushTargetManager_parseFinder(b,d);Object(H.k)(Zb,(function(d,b){(!x||!x.include||Object(H.r)(x.include,b)>=0)&&d(D,T._targetInfoList)}))}return BrushTargetManager.prototype.setOutputRanges=function(d,b){return this.matchOutputRanges(d,b,(function(d,b,x){if((d.coordRanges||(d.coordRanges=[])).push(b),!d.coordRange){d.coordRange=b;var T=Jb[d.brushType](0,x,b);d.__rangeOffset={offset:Qb[d.brushType](T.values,d.range,[1,1]),xyMinMax:T.xyMinMax}}})),d},BrushTargetManager.prototype.matchOutputRanges=function(d,b,x){Object(H.k)(d,(function(d){var T=this.findTargetInfo(d,b);T&&!0!==T&&Object(H.k)(T.coordSyses,(function(T){var D=Jb[d.brushType](1,T,d.range,!0);x(d,D.values,T,b)}))}),this)},BrushTargetManager.prototype.setInputRanges=function(d,b){Object(H.k)(d,(function(d){var x,T,D,z,H,W=this.findTargetInfo(d,b);if(d.range=d.range||[],W&&!0!==W){d.panelId=W.panelId;var U=Jb[d.brushType](0,W.coordSys,d.coordRange),Y=d.__rangeOffset;d.range=Y?Qb[d.brushType](U.values,Y.offset,(x=U.xyMinMax,T=Y.xyMinMax,D=BrushTargetManager_getSize(x),z=BrushTargetManager_getSize(T),H=[D[0]/z[0],D[1]/z[1]],isNaN(H[0])&&(H[0]=1),isNaN(H[1])&&(H[1]=1),H)):U.values}}),this)},BrushTargetManager.prototype.makePanelOpts=function(d,b){return Object(H.H)(this._targetInfoList,(function(x){var T=x.getPanelRect();return{panelId:x.panelId,defaultBrushType:b?b(x):null,clipPath:makeRectPanelClipPath(T),isTargetByCursor:makeRectIsTargetByCursor(T,d,x.coordSysModel),getLinearBrushOtherExtent:makeLinearBrushOtherExtent(T)}}))},BrushTargetManager.prototype.controlSeries=function(d,b,x){var T=this.findTargetInfo(d,x);return!0===T||T&&Object(H.r)(T.coordSyses,b.coordinateSystem)>=0},BrushTargetManager.prototype.findTargetInfo=function(d,b){for(var x=this._targetInfoList,T=BrushTargetManager_parseFinder(b,d),D=0;D<x.length;D++){var z=x[D],H=d.panelId;if(H){if(z.panelId===H)return z}else for(var W=0;W<Xb.length;W++)if(Xb[W](T,z))return z}return!0},BrushTargetManager}();function formatMinMax(d){return d[0]>d[1]&&d.reverse(),d}function BrushTargetManager_parseFinder(d,b){return parseFinder(d,b,{includeMainTypes:Yb})}var Zb={grid:function(d,b){var x=d.xAxisModels,T=d.yAxisModels,D=d.gridModels,z=Object(H.f)(),W={},U={};(x||T||D)&&(Object(H.k)(x,(function(d){var b=d.axis.grid.model;z.set(b.id,b),W[b.id]=!0})),Object(H.k)(T,(function(d){var b=d.axis.grid.model;z.set(b.id,b),U[b.id]=!0})),Object(H.k)(D,(function(d){z.set(d.id,d),W[d.id]=!0,U[d.id]=!0})),z.each((function(d){var D=d.coordinateSystem,z=[];Object(H.k)(D.getCartesians(),(function(d,b){(Object(H.r)(x,d.getAxis("x").model)>=0||Object(H.r)(T,d.getAxis("y").model)>=0)&&z.push(d)})),b.push({panelId:"grid--"+d.id,gridModel:d,coordSysModel:d,coordSys:z[0],coordSyses:z,getPanelRect:Kb.grid,xAxisDeclared:W[d.id],yAxisDeclared:U[d.id]})})))},geo:function(d,b){Object(H.k)(d.geoModels,(function(d){var x=d.coordinateSystem;b.push({panelId:"geo--"+d.id,geoModel:d,coordSysModel:d,coordSys:x,coordSyses:[x],getPanelRect:Kb.geo})}))}},Xb=[function(d,b){var x=d.xAxisModel,T=d.yAxisModel,D=d.gridModel;return!D&&x&&(D=x.axis.grid.model),!D&&T&&(D=T.axis.grid.model),D&&D===b.gridModel},function(d,b){var x=d.geoModel;return x&&x===b.geoModel}],Kb={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var d=this.coordSys,b=d.getBoundingRect().clone();return b.applyTransform(getTransform(d)),b}},Jb={lineX:Object(H.h)(axisConvert,0),lineY:Object(H.h)(axisConvert,1),rect:function(d,b,x,T){var D=d?b.pointToData([x[0][0],x[1][0]],T):b.dataToPoint([x[0][0],x[1][0]],T),z=d?b.pointToData([x[0][1],x[1][1]],T):b.dataToPoint([x[0][1],x[1][1]],T),H=[formatMinMax([D[0],z[0]]),formatMinMax([D[1],z[1]])];return{values:H,xyMinMax:H}},polygon:function(d,b,x,T){var D=[[1/0,-1/0],[1/0,-1/0]];return{values:Object(H.H)(x,(function(x){var z=d?b.pointToData(x,T):b.dataToPoint(x,T);return D[0][0]=Math.min(D[0][0],z[0]),D[1][0]=Math.min(D[1][0],z[1]),D[0][1]=Math.max(D[0][1],z[0]),D[1][1]=Math.max(D[1][1],z[1]),z})),xyMinMax:D}}};function axisConvert(d,b,x,T){var D=x.getAxis(["x","y"][d]),z=formatMinMax(Object(H.H)([0,1],(function(d){return b?D.coordToData(D.toLocalCoord(T[d]),!0):D.toGlobalCoord(D.dataToCoord(T[d]))}))),W=[];return W[d]=z,W[1-d]=[NaN,NaN],{values:z,xyMinMax:W}}var Qb={lineX:Object(H.h)(axisDiffProcessor,0),lineY:Object(H.h)(axisDiffProcessor,1),rect:function(d,b,x){return[[d[0][0]-x[0]*b[0][0],d[0][1]-x[0]*b[0][1]],[d[1][0]-x[1]*b[1][0],d[1][1]-x[1]*b[1][1]]]},polygon:function(d,b,x){return Object(H.H)(d,(function(d,T){return[d[0]-x[0]*b[T][0],d[1]-x[1]*b[T][1]]}))}};function axisDiffProcessor(d,b,x,T){return[b[0]-T[d]*x[0],b[1]-T[d]*x[1]]}function BrushTargetManager_getSize(d){return d?[d[0][1]-d[0][0],d[1][1]-d[1][0]]:[NaN,NaN]}var ex,tx,nx=qb,ix=H.k,rx="\0_ec_\0"+"toolbox-dataZoom_",ox=function(d){function DataZoomFeature(){return null!==d&&d.apply(this,arguments)||this}return __extends(DataZoomFeature,d),DataZoomFeature.prototype.render=function(d,b,x,T){this._brushController||(this._brushController=new dm(x.getZr()),this._brushController.on("brush",H.c(this._onBrush,this)).mount()),function(d,b,x,T,D){var z=x._isZoomActive;T&&"takeGlobalCursor"===T.type&&(z="dataZoomSelect"===T.key&&T.dataZoomSelectActive);x._isZoomActive=z,d.setIconStatus("zoom",z?"emphasis":"normal");var H=new nx(makeAxisFinder(d),b,{include:["grid"]}).makePanelOpts(D,(function(d){return d.xAxisDeclared&&!d.yAxisDeclared?"lineX":!d.xAxisDeclared&&d.yAxisDeclared?"lineY":"rect"}));x._brushController.setPanels(H).enableBrush(!(!z||!H.length)&&{brushType:"auto",brushStyle:d.getModel("brushStyle").getItemStyle()})}(d,b,this,T,x),function(d,b){d.setIconStatus("back",function(d){return getStoreSnapshots(d).length}(b)>1?"emphasis":"normal")}(d,b)},DataZoomFeature.prototype.onclick=function(d,b,x){ax[x].call(this)},DataZoomFeature.prototype.remove=function(d,b){this._brushController&&this._brushController.unmount()},DataZoomFeature.prototype.dispose=function(d,b){this._brushController&&this._brushController.dispose()},DataZoomFeature.prototype._onBrush=function(d){var b=d.areas;if(d.isEnd&&b.length){var x={},T=this.ecModel;this._brushController.updateCovers([]),new nx(makeAxisFinder(this.model),T,{include:["grid"]}).matchOutputRanges(b,T,(function(d,b,x){if("cartesian2d"===x.type){var T=d.brushType;"rect"===T?(setBatch("x",x,b[0]),setBatch("y",x,b[1])):setBatch({lineX:"x",lineY:"y"}[T],x,b)}})),function(d,b){var x=getStoreSnapshots(d);Gb(b,(function(b,T){for(var D=x.length-1;D>=0;D--){if(x[D][T])break}if(D<0){var z=d.queryComponents({mainType:"dataZoom",subType:"select",id:T})[0];if(z){var H=z.getPercentRange();x[0][T]={dataZoomId:T,start:H[0],end:H[1]}}}})),x.push(b)}(T,x),this._dispatchZoomAction(x)}function setBatch(d,b,D){var z=b.getAxis(d),H=z.model,W=function(d,b,x){var T;return x.eachComponent({mainType:"dataZoom",subType:"select"},(function(x){x.getAxisModel(d,b.componentIndex)&&(T=x)})),T}(d,H,T),U=W.findRepresentativeAxisProxy(H).getMinMaxSpan();null==U.minValueSpan&&null==U.maxValueSpan||(D=sliderMove(0,D.slice(),z.scale.getExtent(),0,U.minValueSpan,U.maxValueSpan)),W&&(x[W.id]={dataZoomId:W.id,startValue:D[0],endValue:D[1]})}},DataZoomFeature.prototype._dispatchZoomAction=function(d){var b=[];ix(d,(function(d,x){b.push(H.d(d))})),b.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:b})},DataZoomFeature.getDefaultOption=function(d){return{show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:d.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:Fo.color.backgroundTint}}},DataZoomFeature}(ToolboxFeature),ax={zoom:function(){var d=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:d})},back:function(){this._dispatchZoomAction(function(d){var b=getStoreSnapshots(d),x=b[b.length-1];b.length>1&&b.pop();var T={};return Gb(x,(function(d,x){for(var D=b.length-1;D>=0;D--)if(d=b[D][x]){T[x]=d;break}})),T}(this.ecModel))}};function makeAxisFinder(d){var b={xAxisIndex:d.get("xAxisIndex",!0),yAxisIndex:d.get("yAxisIndex",!0),xAxisId:d.get("xAxisId",!0),yAxisId:d.get("yAxisId",!0)};return null==b.xAxisIndex&&null==b.xAxisId&&(b.xAxisIndex="all"),null==b.yAxisIndex&&null==b.yAxisId&&(b.yAxisIndex="all"),b}ex="dataZoom",tx=function(d){var b=d.getComponent("toolbox",0),x=["feature","dataZoom"];if(b&&null!=b.get(x)){var T=b.getModel(x),D=[],z=parseFinder(d,makeAxisFinder(T));return ix(z.xAxisModels,(function(d){return buildInternalOptions(d,"xAxis","xAxisIndex")})),ix(z.yAxisModels,(function(d){return buildInternalOptions(d,"yAxis","yAxisIndex")})),D}function buildInternalOptions(d,b,x){var z=d.componentIndex,H={type:"select",$fromToolbox:!0,filterMode:T.get("filterMode",!0)||"filter",id:rx+b+z};H[x]=z,D.push(H)}},Object(H.b)(null==Jo.get(ex)&&tx),Jo.set(ex,tx);var sx=ox;var lx=function(d){function TooltipModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=TooltipModel.type,b}return __extends(TooltipModel,d),TooltipModel.type="tooltip",TooltipModel.dependencies=["axisPointer"],TooltipModel.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,displayTransition:!0,enterable:!1,backgroundColor:Fo.color.neutral00,shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,defaultBorderColor:Fo.color.border,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:Fo.color.borderShade,width:1,type:"dashed",textStyle:{}}},textStyle:{color:Fo.color.tertiary,fontSize:14}},TooltipModel}(Bo);function shouldTooltipConfine(d){var b=d.get("confine");return null!=b?!!b:"richText"===d.get("renderMode")}function testStyle(d){if(z.a.domSupported)for(var b=document.documentElement.style,x=0,T=d.length;x<T;x++)if(d[x]in b)return d[x]}var ux=testStyle(["transform","webkitTransform","OTransform","MozTransform","msTransform"]);function toCSSVendorPrefix(d,b){if(!d)return b;b=toCamelCase(b,!0);var x=d.indexOf(b);return(d=-1===x?b:"-"+d.slice(0,x)+"-"+b).toLowerCase()}var cx=toCSSVendorPrefix(testStyle(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),"transition"),dx=toCSSVendorPrefix(ux,"transform"),hx="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(z.a.transform3dSupported?"will-change:transform;":"");function assembleTransform(d,b,x){var T=d.toFixed(0)+"px",D=b.toFixed(0)+"px";if(!z.a.transformSupported)return x?"top:"+D+";left:"+T+";
808":[["top",D],["left",T]];var H=z.a.transform3dSupported,W="translate"+(H?"3d":"")+"("+T+","+D+(H?",0":"")+")";return x?"top:0;left:0;"+dx+":"+W+";":[["top",0],["left",0],[ux,W]]}function assembleCssText(d,b,x,T){var D=[],W=d.get("transitionDuration"),U=d.get("backgroundColor"),Y=d.get("shadowBlur"),Z=d.get("shadowColor"),J=d.get("shadowOffsetX"),ee=d.get("shadowOffsetY"),te=d.getModel("textStyle"),ne=getPaddingFromTooltipModel(d,"html"),ie=J+"px "+ee+"px "+Y+"px "+Z;return D.push("box-shadow:"+ie),b&&W>0&&D.push(function(d,b,x){var T="",D="";return x&&(D="opacity"+(T=" "+d/2+"s cubic-bezier(0.23,1,0.32,1)")+",visibility"+T),b||(T=" "+d+"s cubic-bezier(0.23,1,0.32,1)",D+=(D.length?",":"")+(z.a.transformSupported?""+dx+T:",left"+T+",top"+T)),cx+":"+D}(W,x,T)),U&&D.push("background-color:"+U),Object(H.k)(["width","color","radius"],(function(b){var x="border-"+b,T=toCamelCase(x),z=d.get(T);null!=z&&D.push(x+":"+z+("color"===b?"":"px"))})),D.push(function(d){var b=[],x=d.get("fontSize"),T=d.getTextColor();T&&b.push("color:"+T),b.push("font:"+d.getFont());var D=Object(H.P)(d.get("lineHeight"),Math.round(3*x/2));x&&b.push("line-height:"+D+"px");var z=d.get("textShadowColor"),W=d.get("textShadowBlur")||0,U=d.get("textShadowOffsetX")||0,Y=d.get("textShadowOffsetY")||0;return z&&W&&b.push("text-shadow:"+U+"px "+Y+"px "+W+"px "+z),Object(H.k)(["decoration","align"],(function(x){var T=d.get(x);T&&b.push("text-"+x+":"+T)})),b.join(";")}(te)),null!=ne&&D.push("padding:"+yo(ne).join("px ")+"px"),D.join(";")+";"}function makeStyleCoord(d,b,x,T,D){var z=b&&b.painter;if(x){var H=z&&z.getViewportRoot();H&&function(d,b,x,T,D){transformCoordWithViewport(J,b,T,D,!0)&&transformCoordWithViewport(d,x,J[0],J[1])}(d,H,x,T,D)}else{d[0]=T,d[1]=D;var W=z&&z.getViewportRootOffset();W&&(d[0]+=W.offsetLeft,d[1]+=W.offsetTop)}d[2]=d[0]/b.getWidth(),d[3]=d[1]/b.getHeight()}var px=function(){function TooltipHTMLContent(d,b){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,z.a.wxa)return null;var x=document.createElement("div");x.domBelongToZr=!0,this.el=x;var T=this._zr=d.getZr(),D=b.appendTo,W=D&&(Object(H.C)(D)?document.querySelector(D):Object(H.v)(D)?D:Object(H.w)(D)&&D(d.getDom()));makeStyleCoord(this._styleCoord,T,W,d.getWidth()/2,d.getHeight()/2),(W||d.getDom()).appendChild(x),this._api=d,this._container=W;var U=this;x.onmouseenter=function(){U._enterable&&(clearTimeout(U._hideTimeout),U._show=!0),U._inContent=!0},x.onmousemove=function(d){if(d=d||window.event,!U._enterable){var b=T.handler;normalizeEvent(T.painter.getViewportRoot(),d,!0),b.dispatch("mousemove",d)}},x.onmouseleave=function(){U._inContent=!1,U._enterable&&U._show&&U.hideLater(U._hideDelay)}}return TooltipHTMLContent.prototype.update=function(d){if(!this._container){var b=this._api.getDom(),x=(z="position",(H=(D=b).currentStyle||document.defaultView&&document.defaultView.getComputedStyle(D))?z?H[z]:H:null),T=b.style;"absolute"!==T.position&&"absolute"!==x&&(T.position="relative")}var D,z,H,W=d.get("alwaysShowContent");W&&this._moveIfResized(),this._alwaysShowContent=W,this._enableDisplayTransition=d.get("displayTransition")&&d.get("transitionDuration")>0,this.el.className=d.get("className")||""},TooltipHTMLContent.prototype.show=function(d,b){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var x=this.el,T=x.style,D=this._styleCoord;x.innerHTML?T.cssText=hx+assembleCssText(d,!this._firstShow,this._longHide,this._enableDisplayTransition)+assembleTransform(D[0],D[1],!0)+"border-color:"+convertToColorString(b)+";"+(d.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):T.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},TooltipHTMLContent.prototype.setContent=function(d,b,x,T,D){var z=this.el;if(null!=d){var W="";if(Object(H.C)(D)&&"item"===x.get("trigger")&&!shouldTooltipConfine(x)&&(W=function(d,b,x){if(!Object(H.C)(x)||"inside"===x)return"";var T=d.get("backgroundColor"),D=d.get("borderWidth");b=convertToColorString(b);var z,W,U=z="left"===(z=x)?"right":"right"===z?"left":"top"===z?"bottom":"top",Y=Math.max(1.5*Math.round(D),6),Z="",J=dx+":";Object(H.r)(["left","right"],U)>
808-1?(Z+="top:50%",J+="translateY(-50%) rotate("+(W="left"===U?-225:-45)+"deg)"):(Z+="left:50%",J+="translateX(-50%) rotate("+(W="top"===U?225:45)+"deg)");var ee=W*Math.PI/180,te=Y+D,ne=te*Math.abs(Math.cos(ee))+te*Math.abs(Math.sin(ee)),ie=b+" solid "+D+"px;";return'<div style="'+["position:absolute;width:"+Y+"px;height:"+Y+"px;z-index:-1;",(Z+=";"+U+":-"+Math.round(100*((ne-Math.SQRT2*D)/2+Math.SQRT2*D-(ne-te)/2))/100+"px")+";"+J+";","border-bottom:"+ie,"border-right:"+ie,"background-color:"+T+";"].join("")+'"></div>'}(x,T,D)),Object(H.C)(d))z.innerHTML=d+W;else if(d){z.innerHTML="",Object(H.t)(d)||(d=[d]);for(var U=0;U<d.length;U++)Object(H.v)(d[U])&&d[U].parentNode!==z&&z.appendChild(d[U]);if(W&&z.childNodes.length){var Y=document.createElement("div");Y.innerHTML=W,z.appendChild(Y)}}}else z.innerHTML=""},TooltipHTMLContent.prototype.setEnterable=function(d){this._enterable=d},TooltipHTMLContent.prototype.getSize=function(){var d=this.el;return d?[d.offsetWidth,d.offsetHeight]:[0,0]},TooltipHTMLContent.prototype.moveTo=function(d,b){if(this.el){var x=this._styleCoord;if(makeStyleCoord(x,this._zr,this._container,d,b),null!=x[0]&&null!=x[1]){var T=this.el.style,D=assembleTransform(x[0],x[1]);Object(H.k)(D,(function(d){T[d[0]]=d[1]}))}}},TooltipHTMLContent.prototype._moveIfResized=function(){var d=this._styleCoord[2],b=this._styleCoord[3];this.moveTo(d*this._zr.getWidth(),b*this._zr.getHeight())},TooltipHTMLContent.prototype.hide=function(){var d=this,b=this.el.style;this._enableDisplayTransition?(b.visibility="hidden",b.opacity="0"):b.display="none",z.a.transform3dSupported&&(b.willChange=""),this._show=!1,this._longHideTimeout=setTimeout((function(){return d._longHide=!0}),500)},TooltipHTMLContent.prototype.hideLater=function(d){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(d?(this._hideDelay=d,this._show=!1,this._hideTimeout=setTimeout(Object(H.c)(this.hide,this),d)):this.hide())},TooltipHTMLContent.prototype.isShow=function(){return this._show},TooltipHTMLContent.prototype.dispose=function(){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var d=this._zr;!function(d,b){function dealClear(d){var b=d.___zrEVENTSAVED;b&&(b.clearMarkers&&b.clearMarkers(),delete d.___zrEVENTSAVED)}d&&dealClear(d),b&&dealClear(b)}(d&&d.painter&&d.painter.getViewportRoot(),this._container);var b=this.el;if(b){b.onmouseenter=b.onmousemove=b.onmouseleave=null;var x=b.parentNode;x&&x.removeChild(b)}this.el=this._container=null},TooltipHTMLContent}();function mathMaxWith0(d){return Math.max(0,d)}function calcShadowOuterSize(d){var b=mathMaxWith0(d.shadowBlur||0),x=mathMaxWith0(d.shadowOffsetX||0),T=mathMaxWith0(d.shadowOffsetY||0);return{left:mathMaxWith0(b-x),right:mathMaxWith0(b+x),top:mathMaxWith0(b-T),bottom:mathMaxWith0(b+T)}}function TooltipRichContent_makeStyleCoord(d,b,x,T){d[0]=x,d[1]=T,d[2]=d[0]/b.getWidth(),d[3]=d[1]/b.getHeight()}var fx=function(){function TooltipRichContent(d){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=d.getZr(),TooltipRichContent_makeStyleCoord(this._styleCoord,this._zr,d.getWidth()/2,d.getHeight()/2)}return TooltipRichContent.prototype.update=function(d){var b=d.get("alwaysShowContent");b&&this._moveIfResized(),this._alwaysShowContent=b},TooltipRichContent.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},TooltipRichContent.prototype.setContent=function(d,b,x,T,D){var z=this;H.A(d)&&throwError(""),this.el&&this._zr.remove(this.el);var W=x.getModel("textStyle");this.el=new Pr({style:{rich:b.richTextStyles,text:d,lineHeight:22,borderWidth:1,borderColor:T,textShadowColor:W.get("textShadowColor"),fill:x.get(["textStyle","color"]),padding:getPaddingFromTooltipModel(x,"richText"),verticalAlign:"top",align:"left"},z:x.get("z")}),H.k(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],(function(d){z.el.style[d]=x.get(d)})),H.k(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],(function(d){z.el.style[d]=W.get(d)||0})),this._zr.add(this.el);var U=this;this.el.on("mouseover",(function(){U._enterable&&(clearTimeout(U._hideTimeout),U._show=!0),U._inContent=!0})),this.el.on("mouseout",(function(){U._enterable&&U._show&&U.hideLater(U._hideDelay),U._inContent=!1}))},TooltipRichContent.prototype.setEnterable=function(d){this._enterable=d},TooltipRichContent.prototype.getSize=function(){var d=this.el,b=this.el.getBoundingRect
vendor: 7,333 bytes, line 808
808(),x=calcShadowOuterSize(d.style);return[b.width+x.left+x.right,b.height+x.top+x.bottom]},TooltipRichContent.prototype.moveTo=function(d,b){var x=this.el;if(x){var T=this._styleCoord;TooltipRichContent_makeStyleCoord(T,this._zr,d,b),d=T[0],b=T[1];var D=x.style,z=mathMaxWith0(D.borderWidth||0),H=calcShadowOuterSize(D);x.x=d+z+H.left,x.y=b+z+H.top,x.markRedraw()}},TooltipRichContent.prototype._moveIfResized=function(){var d=this._styleCoord[2],b=this._styleCoord[3];this.moveTo(d*this._zr.getWidth(),b*this._zr.getHeight())},TooltipRichContent.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},TooltipRichContent.prototype.hideLater=function(d){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(d?(this._hideDelay=d,this._show=!1,this._hideTimeout=setTimeout(H.c(this.hide,this),d)):this.hide())},TooltipRichContent.prototype.isShow=function(){return this._show},TooltipRichContent.prototype.dispose=function(){this._zr.remove(this.el)},TooltipRichContent}(),gx=new _r({shape:{x:-1,y:-1,width:2,height:2}});function buildTooltipModel(d,b,x){var T,D=b.ecModel;x?(T=new oo(x,D,D),T=new oo(b.option,T,D)):T=b;for(var z=d.length-1;z>=0;z--){var W=d[z];W&&(W instanceof oo&&(W=W.get("tooltip",!0)),Object(H.C)(W)&&(W={formatter:W}),W&&(T=new oo(W,T,D)))}return T}function TooltipView_makeDispatchAction(d,b){return d.dispatchAction||Object(H.c)(b.dispatchAction,b)}function isCenterAlign(d){return"center"===d||"middle"===d}var mx=function(d){function TooltipView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=TooltipView.type,b}return __extends(TooltipView,d),TooltipView.prototype.init=function(d,b){if(!z.a.node&&b.getDom()){var x,T=d.getComponent("tooltip"),D=this._renderMode="auto"===(x=T.get("renderMode"))?z.a.domSupported?"html":"richText":x||"html";this._tooltipContent="richText"===D?new fx(b):new px(b,{appendTo:T.get("appendToBody",!0)?"body":T.get("appendTo",!0)})}},TooltipView.prototype.render=function(d,b,x){if(!z.a.node&&x.getDom()){this.group.removeAll(),this._tooltipModel=d,this._ecModel=b,this._api=x;var T=this._tooltipContent;T.update(d),T.setEnterable(d.get("enterable")),this._initGlobalListener(),this._keepShow(),"richText"!==this._renderMode&&d.get("transitionDuration")?createOrUpdate(this,"_updatePosition",50,"fixRate"):clear(this,"_updatePosition")}},TooltipView.prototype._initGlobalListener=function(){var d=this._tooltipModel.get("triggerOn");register("itemTooltip",this._api,Object(H.c)((function(b,x,T){"none"!==d&&(d.indexOf(b)>=0?this._tryShow(x,T):"leave"===b&&this._hide(T))}),this))},TooltipView.prototype._keepShow=function(){var d=this._tooltipModel,b=this._ecModel,x=this._api,T=d.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==T&&"click"!==T){var D=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!x.isDisposed()&&D.manuallyShowTip(d,b,x,{x:D._lastX,y:D._lastY,dataByCoordSys:D._lastDataByCoordSys})}))}},TooltipView.prototype.manuallyShowTip=function(d,b,x,T){if(T.from!==this.uid&&!z.a.node&&x.getDom()){var D=TooltipView_makeDispatchAction(T,x);this._ticket="";var H=T.dataByCoordSys,W=function(d,b,x){var T=preParseFinder(d).queryOptionMap,D=T.keys()[0];if(!D||"series"===D)return;var z,H=queryReferringComponents(b,D,T.get(D),{useDefault:!1,enableAll:!1,enableNone:!1}).models[0];if(!H)return;if(x.getViewOfComponentModel(H).group.traverse((function(b){var x=Or(b).tooltipConfig;if(x&&x.name===d.name)return z=b,!0})),z)return{componentMainType:D,componentIndex:H.componentIndex,el:z}}(T,b,x);if(W){var U=W.el.getBoundingRect().clone();U.applyTransform(W.el.transform),this._tryShow({offsetX:U.x+U.width/2,offsetY:U.y+U.height/2,target:W.el,position:T.position,positionDefault:"bottom"},D)}else if(T.tooltip&&null!=T.x&&null!=T.y){var Y=gx;Y.x=T.x,Y.y=T.y,Y.update(),Or(Y).tooltipConfig={name:null,option:T.tooltip},this._tryShow({offsetX:T.x,offsetY:T.y,target:Y},D)}else if(H)this._tryShow({offsetX:T.x,offsetY:T.y,position:T.position,dataByCoordSys:H,tooltipOption:T.tooltipOption},D);else if(null!=T.seriesIndex){if(this._manuallyAxisShowTip(d,b,x,T))return;var Z=findPointFromSeries(T,b),J=Z.point[0],ee=Z.point[1];null!=J&&null!=ee&&this._tryShow({offsetX:J,offsetY:ee,target:Z.el,position:T.position,positionDefault:"bottom"},D)}else null!=T.x&&null!=T.y&&(x.dispatchAction({type:"updateAxisPointer",x:T.x,y:T.y}),this._tryShow({offsetX:T.x,offsetY:T.y,position:T.position,target:x.getZr().findHover(T.x,T.y).target},D))}},TooltipView.prototype.manuallyHideTip=function(d,b,x,T){var D=this._tooltipContent;this._tooltipModel&&D.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,T.from!==this.uid&&this._hide(TooltipView_makeDispatchAction(T,x))},TooltipView.prototype._manuallyAxisShowTip=function(d,b,x,T){var D=T.seriesIndex,z=T.dataIndex,H=b.getComponent("axisPointer").coordSysAxesInfo;if(null!=D&&null!=z&&null!=H){var W=b.getSeriesByIndex(D);if(W)if("axis"===buildTooltipModel([W.getData().getItemModel(z),W,(W.coordinateSystem||{}).model],this._tooltipModel).get("trigger"))return x.dispatchAction({type:"updateAxisPointer",seriesIndex:D,dataIndex:z,position:T.position}),!0}},TooltipView.prototype._tryShow=function(d,b){var x=d.target;if(this._tooltipModel){this._lastX=d.offsetX,this._lastY=d.offsetY;var T=d.dataByCoordSys;if(T&&T.length)this._showAxisTooltip(T,d);else if(x){var D,z;if("legend"===Or(x).ssrType)return;this._lastDataByCoordSys=null,findEventDispatcher(x,(function(d){if(d.tooltipDisabled)return D=z=null,!0;D||z||(null!=Or(d).dataIndex?D=d:null!=Or(d).tooltipConfig&&(z=d))}),!0),D?this._showSeriesItemTooltip(d,D,b):z?this._showComponentItemTooltip(d,z,b):this._hide(b)}else this._lastDataByCoordSys=null,this._hide(b)}},TooltipView.prototype._showOrMove=function(d,b){var x=d.get("showDelay");b=Object(H.c)(b,this),clearTimeout(this._showTimout),x>0?this._showTimout=setTimeout(b,x):b()},TooltipView.prototype._showAxisTooltip=function(d,b){var x=this._ecModel,T=this._tooltipModel,D=[b.offsetX,b.offsetY],z=buildTooltipModel([b.tooltipOption],T),W=this._renderMode,U=[],Y=createTooltipMarkup("section",{blocks:[],noHeader:!0}),Z=[],J=new Ka;Object(H.k)(d,(function(d){Object(H.k)(d.dataByAxis,(function(d){var b=x.getComponent(d.axisDim+"Axis",d.axisIndex),D=d.value;if(b&&null!=D){var z=getValueLabel(D,b.axis,x,d.seriesDataIndices,d.valueLabelOpt),ee=createTooltipMarkup("section",{header:z,noHeader:!Object(H.T)(z),sortBlocks:!0,blocks:[]});Y.blocks.push(ee),Object(H.k)(d.seriesDataIndices,(function(Y){var te=x.getSeriesByIndex(Y.seriesIndex),ne=Y.dataIndexInside,ie=te.getDataParams(ne);if(!(ie.dataIndex<0)){ie.axisDim=d.axisDim,ie.axisIndex=d.axisIndex,ie.axisType=d.axisType,ie.axisId=d.axisId,ie.axisValue=getAxisRawValue(b.axis,{value:D}),ie.axisValueLabel=z,ie.marker=J.makeTooltipMarker("item",convertToColorString(ie.color),W);var oe=normalizeTooltipFormatResult(te.formatTooltip(ne,!0,null)),se=oe.frag;if(se){var le=buildTooltipModel([te],T).get("valueFormatter");ee.blocks.push(le?Object(H.m)({valueFormatter:le},se):se)}oe.text&&Z.push(oe.text),U.push(ie)}}))}}))})),Y.blocks.reverse(),Z.reverse();var ee=b.position,te=z.get("order"),ne=buildTooltipMarkup(Y,J,W,te,x.get("useUTC"),z.get("textStyle"));ne&&Z.unshift(ne);var ie="richText"===W?"\n\n":"<br/>
808",oe=Z.join(ie);this._showOrMove(z,(function(){this._updateContentNotChangedOnAxis(d,U)?this._updatePosition(z,ee,D[0],D[1],this._tooltipContent,U):this._showTooltipContent(z,oe,U,Math.random()+"",D[0],D[1],ee,null,J)}))},TooltipView.prototype._showSeriesItemTooltip=function(d,b,x){var T=this._ecModel,D=Or(b),z=D.seriesIndex,W=T.getSeriesByIndex(z),U=D.dataModel||W,Y=D.dataIndex,Z=D.dataType,J=U.getData(Z),ee=this._renderMode,te=d.positionDefault,ne=buildTooltipModel([J.getItemModel(Y),U,W&&(W.coordinateSystem||{}).model],this._tooltipModel,te?{position:te}:null),ie=ne.get("trigger");if(null==ie||"item"===ie){var oe=U.getDataParams(Y,Z),se=new Ka;oe.marker=se.makeTooltipMarker("item",convertToColorString(oe.color),ee);var le=normalizeTooltipFormatResult(U.formatTooltip(Y,!1,Z)),ce=ne.get("order"),de=ne.get("valueFormatter"),he=le.frag,pe=he?buildTooltipMarkup(de?Object(H.m)({valueFormatter:de},he):he,se,ee,ce,T.get("useUTC"),ne.get("textStyle")):le.text,fe="item_"+U.name+"_"+Y;this._showOrMove(ne,(function(){this._showTooltipContent(ne,pe,oe,fe,d.offsetX,d.offsetY,d.position,d.target,se)})),x({type:"showTip",dataIndexInside:Y,dataIndex:J.getRawIndex(Y),seriesIndex:z,from:this.uid})}},TooltipView.prototype._showComponentItemTooltip=function(d,b,x){var T="html"===this._renderMode,D=Or(b),z=D.tooltipConfig.option||{},W=z.encodeHTMLContent;if(Object(H.C)(z)){z={content:z,formatter:z},W=!0}W&&T&&z.content&&((z=Object(H.d)(z)).content=encodeHTML(z.content));var U=[z],Y=this._ecModel.getComponent(D.componentMainType,D.componentIndex);Y&&U.push(Y),U.push({formatter:z.content});var Z=d.positionDefault,J=buildTooltipModel(U,this._tooltipModel,Z?{position:Z}:null),ee=J.get("content"),te=Math.random()+"",ne=new Ka;this._showOrMove(J,(function(){var x=Object(H.d)(J.get("formatterParams")||{});this._showTooltipContent(J,ee,x,te,d.offsetX,d.offsetY,d.position,b,ne)})),x({type:"showTip",from:this.uid})},TooltipView.prototype._showTooltipContent=function(d,b,x,T,D,z,W,U,Y){if(this._ticket="",d.get("showContent")&&d.get("show")){var Z=this._tooltipContent;Z.setEnterable(d.get("enterable"));var J=d.get("formatter");W=W||d.get("position");var ee=b,te=this._getNearestPoint([D,z],x,d.get("trigger"),d.get("borderColor"),d.get("defaultBorderColor",!0)).color;if(J)if(Object(H.C)(J)){var ne=d.ecModel.get("useUTC"),ie=Object(H.t)(x)?x[0]:x;ee=J,ie&&ie.axisType&&ie.axisType.indexOf("time")>=0&&(ee=format(ie.axisValue,ee,ne)),ee=formatTpl(ee,x,!0)}else if(Object(H.w)(J)){var oe=Object(H.c)((function(b,T){b===this._ticket&&(Z.setContent(T,Y,d,te,W),this._updatePosition(d,W,D,z,Z,x,U))}),this);this._ticket=T,ee=J(x,T,oe)}else ee=J;Z.setContent(ee,Y,d,te,W),Z.show(d,te),this._updatePosition(d,W,D,z,Z,x,U)}},TooltipView.prototype._getNearestPoint=function(d,b,x,T,D){return"axis"===x||Object(H.t)(b)?{color:T||D}:Object(H.t)(b)?void 0:{color:T||b.color||b.borderColor}},TooltipView.prototype._updatePosition=function(d,b,x,T,D,z,W){var U=this._api.getWidth(),Y=this._api.getHeight();b=b||d.get("position");var Z=D.getSize(),J=d.get("align"),ee=d.get("verticalAlign"),te=W&&W.getBoundingRect().clone();if(W&&te.applyTransform(W.transform),Object(H.w)(b)&&(b=b([x,T],z,D.el,te,{viewSize:[U,Y],contentSize:Z.slice()})),Object(H.t)(b))x=number_parsePercent(b[0],U),T=number_parsePercent(b[1],Y);else if(Object(H.A)(b)){var ne=b;ne.width=Z[0],ne.height=Z[1];var ie=getLayoutRect(ne,{width:U,height:Y});x=ie.x,T=ie.y,J=null,ee=null}else if(Object(H.C)(b)&&W){var oe=function(d,b,x,T){var D=x[0],z=x[1],H=Math.ceil(Math.SQRT2*T)+8,W=0,U=0,Y=b.width,Z=b.height;switch(d){case"inside":W=b.x+Y/2-D/2,U=b.y+Z/2-z/2;break;case"top":W=b.x+Y/2-D/2,U=b.y-z-H;break;case"bottom":W=b.x+Y/2-D/2,U=b.y+Z+H;break;case"left":W=b.x-D-H,U=b.y+Z/2-z/2;break;case"right":W=b.x+Y+H,U=b.y+Z/2-z/2}return[W,U]}(b,te,Z,d.get("borderWidth"));x=oe[0],T=oe[1]}else{oe=function(d,b,x,T,D,z,H){var W=x.getSize(),U=W[0],Y=W[1];null!=z&&(d+U+z+2>T?d-=U+z:d+=z);null!=H&&(b+Y+H>D?b-=Y+H:b+=H);return[d,b]}(x,T,D,U,Y,J?null:20,ee?null:20);x=oe[0],T=oe[1]}if(J&&(x-=isCenterAlign(J)?Z[0]/2:"right"===J?Z[0]:0),ee&&(T-=isCenterAlign(ee)?Z[1]/2:"bottom"===ee?Z[1]:0),shouldTooltipConfine(d)){oe=function(d,b,x,T,D){var z=x.getSize(),H=z[0],W=z[1];return d=Math.min(d+H,T)-H,b=Math.min(b+W,D)-W,d=Math.max(d,0),b=Math.max(b,0),[d,b]}(x,T,D,U,Y);x=oe[0],T=oe[1]}D.moveTo(x,T)},TooltipView.prototype._updateContentNotChangedOnAxis=function(d,b){var x=this._lastDataByCoordSys,T=this._cbParam
vendor: 15,690 bytes, line 808
808sList,D=!!x&&x.length===d.length;return D&&Object(H.k)(x,(function(x,z){var W=x.dataByAxis||[],U=(d[z]||{}).dataByAxis||[];(D=D&&W.length===U.length)&&Object(H.k)(W,(function(d,x){var z=U[x]||{},W=d.seriesDataIndices||[],Y=z.seriesDataIndices||[];(D=D&&d.value===z.value&&d.axisType===z.axisType&&d.axisId===z.axisId&&W.length===Y.length)&&Object(H.k)(W,(function(d,b){var x=Y[b];D=D&&d.seriesIndex===x.seriesIndex&&d.dataIndex===x.dataIndex})),T&&Object(H.k)(d.seriesDataIndices,(function(d){var x=d.seriesIndex,z=b[x],H=T[x];z&&H&&H.data!==z.data&&(D=!1)}))}))})),this._lastDataByCoordSys=d,this._cbParamsList=b,!!D},TooltipView.prototype._hide=function(d){this._lastDataByCoordSys=null,d({type:"hideTip",from:this.uid})},TooltipView.prototype.dispose=function(d,b){!z.a.node&&b.getDom()&&(clear(this,"_updatePosition"),this._tooltipContent.dispose(),unregister("itemTooltip",b))},TooltipView.type="tooltip",TooltipView}(ns);var yx=["rect","polygon","keep","clear"];function brushPreprocessor(d,b){var x=normalizeToArray(d?d.brush:[]);if(x.length){var T=[];H.k(x,(function(d){var b=d.hasOwnProperty("toolbox")?d.toolbox:[];b instanceof Array&&(T=T.concat(b))}));var D=d&&d.toolbox;H.t(D)&&(D=D[0]),D||(D={feature:{}},d.toolbox=[D]);var z,W,U=D.feature||(D.feature={}),Y=U.brush||(U.brush={}),Z=Y.type||(Y.type=[]);Z.push.apply(Z,T),z=Z,W={},H.k(z,(function(d){W[d]=1})),z.length=0,H.k(W,(function(d,b){z.push(b)})),b&&!Z.length&&Z.push.apply(Z,yx)}}var vx=H.k;function hasKeys(d){if(d)for(var b in d)if(d.hasOwnProperty(b))return!0}function createVisualMappings(d,b,x){var T={};return vx(b,(function(b){var D,z=T[b]=((D=function(){}).prototype.__hidden=D.prototype,new D);vx(d[b],(function(d,T){if(Ff.isValidType(T)){var D={type:T,visual:d};x&&x(D,b),z[T]=new Ff(D),"opacity"===T&&((D=H.d(D)).type="colorAlpha",z.__hidden.__alphaForOpacity=new Ff(D))}}))})),T}function replaceVisualOption(d,b,x){var T;H.k(x,(function(d){b.hasOwnProperty(d)&&hasKeys(b[d])&&(T=!0)})),T&&H.k(x,(function(x){b.hasOwnProperty(x)&&hasKeys(b[x])?d[x]=H.d(b[x]):delete d[x]}))}var bx={lineX:getLineSelectors(0),lineY:getLineSelectors(1),rect:{point:function(d,b,x){return d&&x.boundingRect.contain(d[0],d[1])},rect:function(d,b,x){return d&&x.boundingRect.intersect(d)}},polygon:{point:function(d,b,x){return d&&x.boundingRect.contain(d[0],d[1])&&polygon_contain(x.range,d[0],d[1])},rect:function(d,b,x){var T=x.range;if(!d||T.length<=1)return!1;var D=d.x,z=d.y,H=d.width,W=d.height,U=T[0];return!!(polygon_contain(T,D,z)||polygon_contain(T,D+H,z)||polygon_contain(T,D,z+W)||polygon_contain(T,D+H,z+W)||Ee.create(d).contain(U[0],U[1])||linePolygonIntersect(D,z,D+H,z,T)||linePolygonIntersect(D,z,D,z+W,T)||linePolygonIntersect(D+H,z,D+H,z+W,T)||linePolygonIntersect(D,z+W,D+H,z+W,T))||void 0}}};function getLineSelectors(d){var b=["x","y"],x=["width","height"];return{point:function(b,x,T){if(b){var D=T.range;return inLineRange(b[d],D)}},rect:function(T,D,z){if(T){var H=z.range,W=[T[b[d]],T[b[d]]+T[x[d]]];return W[1]<W[0]&&W.reverse(),inLineRange(W[0],H)||inLineRange(W[1],H)||inLineRange(H[0],W)||inLineRange(H[1],W)}}}}function inLineRange(d,b){return b[0]<=d&&d<=b[1]}var xx=["inBrush","outOfBrush"];function layoutCovers(d){d.eachComponent({mainType:"brush"},(function(b){(b.brushTargetManager=new nx(b.option,d)).setInputRanges(b.areas,d)}))}function brushVisual(d,b,x){var T,D,z=[];d.eachComponent({mainType:"brush"},(function(d){x&&"takeGlobalCursor"===x.type&&d.setBrushOption("brush"===x.key?x.brushOption:{brushType:!1})})),layoutCovers(d),d.eachComponent({mainType:"brush"},(function(b,x){var W={brushId:b.id,brushIndex:x,brushName:b.name,areas:H.d(b.areas),selected:[]};z.push(W);var U=b.option,Y=U.brushLink,Z=[],J=[],ee=[],te=!1;x||(T=U.throttleType,D=U.throttleDelay);var ne=H.H(b.areas,(function(d){var b=_x[d.brushType],x=H.i({boundingRect:b?b(d):void 0},d);return x.selectors=function(d){var b=d.brushType,x={point:function(T){return bx[b].point(T,x,d)},rect:function(T){return bx[b].rect(T,x,d)}};return x}(x),x})),ie=createVisualMappings(b.option,xx,(function(d){d.mappingMethod="fixed"}));function linkOthers(d){return"all"===Y||!!Z[d]}function brushed(d){return!!d.length}H.t(Y)&&H.k(Y,(function(d){Z[d]=1})),d.eachSeries((function(x,T){var D=ee[T]=[];"parallel"===x.subType?function(d,b){var x=d.coordinateSystem;te=te||x.hasAxisBrushed(),linkOthers(b)&&x.eachActiveState(d.getData(),(function(d,b){"active"===d&&(J[b]=1)}))}(x,T):function(x,T,D){if(!x.brushSelector||function(d,b){var x=d.option.seriesIndex;return null!=x&&"all"!==x&&(H.t(x)?H.r(x,b)<0:b!==x)}(b,T))return;if(H.k(ne,(function(T){b.brushTargetManager.controlSeries(T,x,d)&&D.push(T),te=te||brushed(D)})),linkOthers(T)&&brushed(D)){var z=x.getData();z.each((function(d){checkInRange(x,D,z,d)&&(J[d]=1)}))}}(x,T,D)})),d.eachSeries((function(d,b){var x={seriesId:d.id,seriesIndex:b,seriesName:d.name,dataIndex:[]};W.selected.push(x);var T=ee[b],D=d.getData(),z=linkOthers(b)?function(d){return J[d]?(x.dataIndex.push(D.getRawIndex(d)),"inBrush"):"outOfBrush"}:function(b){return checkInRange(d,T,D,b)?(x.dataIndex.push(D.getRawIndex(b)),"inBrush"):"outOfBrush"};(linkOthers(b)?te:brushed(T))&&function(d,b,x,T,D,z){var W,U={};function getVisual(d){return getItemVisualFromData(x,W,d)}function setVisual(d,b){setItemVisualFromData(x,W,d,b)}function eachItem(d,H){W=null==z?d:H;var Y=x.getRawDataItem(W);if(!Y||!1!==Y.visualMap)for(var Z=T.call(D,d),J=b[Z],ee=U[Z],te=0,ne=ee.length;te<ne;te++){var ie=ee[te];J[ie]&&J[ie].applyVisual(d,getVisual,setVisual)}}H.k(d,(function(d){var x=Ff.prepareVisualTypes(b[d]);U[d]=x})),null==z?x.each(eachItem):x.each([z],eachItem)}(xx,ie,D,z)}))})),function(d,b,x,T,D){if(!D)return;var z=d.getZr();if(z.__ecInBrushSelectEvent)return;z.__ecBrushSelect||(z.__ecBrushSelect=doDispatch);createOrUpdate(z,"__ecBrushSelect",x,b)(d,T)}(b,T,D,z,x)}function doDispatch(d,b){if(!d.isDisposed()){var x=d.getZr();x.__ecInBrushSelectEvent=!0,d.dispatchAction({type:"brushSelect",batch:b}),x.__ecInBrushSelectEvent=!1}}function checkInRange(d,b,x,T){for(var D=0,z=b.length;D<z;D++){var H=b[D];if(d.brushSelector(T,x,H.selectors,H))return!0}}var _x={rect:function(d){return getBoundingRectFromMinMax(d.range)},polygon:function(d){for(var b,x=d.range,T=0,D=x.length;T<D;T++){b=b||[[1/0,-1/0],[1/0,-1/0]];var z=x[T];z[0]<b[0][0]&&(b[0][0]=z[0]),z[0]>b[0][1]&&(b[0][1]=z[0]),z[1]<b[1][0]&&(b[1][0]=z[1]),z[1]>b[1][1]&&(b[1][1]=z[1])}return b&&getBoundingRectFromMinMax(b)}};function getBoundingRectFromMinMax(d){return new Ee(d[0][0],d[1][0],d[0][1]-d[0][0],d[1][1]-d[1][0])}var wx=function(d){function BrushView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=BrushView.type,b}return __extends(BrushView,d),BrushView.prototype.init=function(d,b){this.ecModel=d,this.api=b,this.model,(this._brushController=new dm(b.getZr())).on("brush",H.c(this._onBrush,this)).mount()},BrushView.prototype.render=function(d,b,x,T){this.model=d,this._updateController(d,b,x,T)},BrushView.prototype.updateTransform=function(d,b,x,T){layoutCovers(b),this._updateController(d,b,x,T)},BrushView.prototype.updateVisual=function(d,b,x,T){this.updateTransform(d,b,x,T)},BrushView.prototype.updateView=function(d,b,x,T){this._updateController(d,b,x,T)},BrushView.prototype._updateController=function(d,b,x,T){(!T||T.$from!==d.id)&&this._brushController.setPanels(d.brushTargetManager.makePanelOpts(x)).enableBrush(d.brushOption).updateCovers(d.areas.slice())},BrushView.prototype.dispose=function(){this._brushController.dispose()},BrushView.prototype._onBrush=function(d){var b=this.model.id,x=this.model.brushTargetManager.setOutputRanges(d.areas,this.ecModel);(!d.isEnd||d.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:b,areas:H.d(x),$from:b}),d.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:b,areas:H.d(x),$from:b})},BrushView.type="brush",BrushView}(ns);function generateBrushOption(d,b){return H.I({brushType:d.brushType,brushMode:d.brushMode,transformable:d.transformable,brushStyle:new oo(d.brushStyle).getItemStyle(),removeOnClick:d.removeOnClick,z:d.z},b,!0)}var Sx=function(d){function BrushModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=BrushModel.type,b.areas=[],b.brushOption={},b}return __extends(BrushModel,d),BrushModel.prototype.optionUpdated=function(d,b){var x=this.option;!b&&replaceVisualOption(x,d,["inBrush","outOfBrush"]);var T=x.inBrush=x.inBrush||{};x.outOfBrush=x.outOfBrush||{color:this.option.defaultOutOfBrushColor},T.hasOwnProperty("liftZ")||(T.liftZ=5)},BrushModel.prototype.setAreas=function(d){d&&(this.areas=H.H(d,(function(d){return generateBrushOption(this.option,d)}),this))},BrushModel.prototype.setBrushOption=function(d){this.brushOption=generateBrushOption(this.option,d),this.brushType=this.brushOption.brushType},BrushModel.type="brush",BrushModel.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],BrushModel.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:Fo.color.backgroundTint,borderColor:Fo.color.borderTint},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4,defaultOutOfBrushColor:Fo.color.disabled},BrushModel}(Bo),Mx=["rect","polygon","lineX","lineY","keep","clear"],Cx=function(d){function BrushFeature(){return null!==d&&d.apply(this,arguments)||this}return __extends(BrushFeature,d),BrushFeature.prototype.render=function(d,b,x){var T,D,z;b.eachComponent({mainType:"brush"},(function(d){T=d.brushType,D=d.brushOption.brushMode||"single",z=z||!!d.areas.length})),this._brushType=T,this._brushMode=D,H.k(d.get("type",!0),(function(b){d.setIconStatus(b,("keep"===b?"multiple"===D:"clear"===b?z:b===T)?"emphasis":"normal")}))},BrushFeature.prototype.updateView=function(d,b,x){this.render(d,b,x)},BrushFeature.prototype.getIcons=function(){var d=this.model,b=d.get("icon",!0),x={};return H.k(d.get("type",!0),(function(d){b[d]&&(x[d]=b[d])})),x},BrushFeature.prototype.onclick=function(d,b,x){var T=this._brushType,D=this._brushMode;"clear"===x?(b.dispatchAction({type:"axisAreaSelect",intervals:[]}),b.dispatchAction({type:"brush",command:"clear",areas:[]})):b.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===x?T:T!==x&&x,brushMode:"keep"===x?"multiple"===D?"single":"multiple":D}})},BrushFeature.getDefaultOption=function(d){return{show:!0,type:Mx.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:d.getLocaleModel().get(["toolbox","brush","title"])}},BrushFeature}(ToolboxFeature);var Tx=function(d){function TitleModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=TitleModel.type,b.layoutMode={type:"box",ignoreSize:!0},b}return __extends(TitleModel,d),TitleModel.type="title",TitleModel.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:"center",top:Fo.size.m,backgroundColor:Fo.color.transparent,borderColor:Fo.color.primary,borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:Fo.color.primary},subtextStyle:{fontSize:12,color:Fo.color.quaternary}},TitleModel}(Bo),kx=function(d){function TitleView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=TitleView.type,b}return __extends(TitleView,d),TitleView.prototype.render=function(d,b,x){if(this.group.removeAll(),d.get("show")){var T=this.group,D=d.getModel("textStyle"),z=d.getModel("subtextStyle"),W=d.get("textAlign"),U=H.P(d.get("textBaseline"),d.get("textVerticalAlign")),Y=new Pr({style:createTextStyle(D,{text:d.get("text"),fill:D.getTextColor()},{disableBox:!0}),z2:10}),Z=Y.getBoundingRect(),J=d.get("subtext"),ee=new Pr({style:createTextStyle(z,{text:J,fill:z.getTextColor(),y:Z.height+d.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),te=d.get("link"),ne=d.get("sublink"),ie=d.get("triggerEvent",!0);Y.silent=!te&&!ie,ee.silent=!ne&&!ie,te&&Y.on("click",(function(){windowOpen(te,"_"+d.get("target"))})),ne&&ee.on("click",(function(){windowOpen(ne,"_"+d.get("subtarget"))})),Or(Y).eventData=Or(ee).eventData=ie?{componentType:"title",componentIndex:d.componentIndex}:null,T.add(Y),J&&T.add(ee);var oe=T.getBoundingRect(),se=d.getBoxLayoutParams();se.width=oe.width,se.height=oe.height;var le=getLayoutRect(se,createBoxLayoutReference(d,x).refContainer,d.get("padding"));W||("middle"===(W=d.get("left")||d.get("right"))&&(W="center"),"right"===W?le.x+=le.width:"center"===W&&(le.x+=le.width/2)),U||("center"===(U=d.get("top")||d.get("bottom"))&&(U="middle"),"bottom"===U?le.y+=le.height:"middle"===U&&(le.y+=le.height/2),U=U||"top"),T.x=le.x,T.y=le.y,T.markRedraw();var ce={align:W,verticalAlign:U};Y.setStyle(ce),ee.setStyle(ce),oe=T.getBoundingRect();var de=le.margin,he=d.getItemStyle(["color","opacity"]);he.fill=d.get("backgroundColor");var pe=new _r({shape:{x:oe.x-de[3],y:oe.y-de[0],width:oe.width+de[1]+de[3],height:oe.height+de[0]+de[2],r:d.get("borderRadius")},style:he,subPixelOptimize:!0,silent:!0});T.add(pe)}},TitleView.type="title",TitleView}(ns);var Ax=function(d){function TimelineModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=TimelineModel.type,b.layoutMode="box",b}return __extends(TimelineModel,d),TimelineModel.prototype.init=function(d,b,x){this.mergeDefaultAndTheme(d,x),this._initData()},TimelineModel.prototype.mergeOption=function(b){d.prototype.mergeOption.apply(this,arguments),this._initData()},TimelineModel.prototype.setCurrentIndex=function(d){null==d&&(d=this.option.currentIndex);var b=this._data.count();this.option.loop?d=(d%b+b)%b:(d>=b&&(d=b-1),d<0&&(d=0)),this.option.currentIndex=d},TimelineModel.prototype.getCurrentIndex=function(){return this.option.currentIndex},TimelineModel.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},TimelineModel.prototype.setPlayState=function(d){this.option.autoPlay=!!d},TimelineModel.prototype.getPlayState=function(){return!!this.option.autoPlay},TimelineModel.prototype._initData=function(){var d,b=this.option,x=b.data||[],T=b.axisType,D=this._names=[];"category"===T?(d=[],Object(H.k)(x,(function(b,x){var T,z=convertOptionIdName(getDataItemValue(b),"");Object(H.A)(b)?(T=Object(H.d)(b)).value=x:T=x,d.push(T),D.push(z)}))):d=x;var z={category:"ordinal",time:"time",value:"number"}[T]||"number";
vendor: 4,561 bytes, line 808
808(this._data=new id([{name:"value",type:z}],this)).initData(d,D)},TimelineModel.prototype.getData=function(){return this._data},TimelineModel.prototype.getCategories=function(){if("category"===this.get("axisType"))return this._names.slice()},TimelineModel.type="timeline",TimelineModel.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:Fo.size.m,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:Fo.color.secondary},data:[]},TimelineModel}(Bo),Px=function(d){function SliderTimelineModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=SliderTimelineModel.type,b}return __extends(SliderTimelineModel,d),SliderTimelineModel.type="timeline.slider",SliderTimelineModel.defaultOption=inheritDefaultOption(Ax.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:Fo.color.border,borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:Fo.color.accent10},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:Fo.color.tertiary},itemStyle:{color:Fo.color.accent20,borderWidth:0},checkpointStyle:{symbol:"circle",symbolSize:15,color:Fo.color.accent50,borderColor:Fo.color.accent50,borderWidth:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"rgba(0, 0, 0, 0)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M15 0C23.2843 0 30 6.71573 30 15C30 23.2843 23.2843 30 15 30C6.71573 30 0 23.2843 0 15C0 6.71573 6.71573 0 15 0ZM15 3C8.37258 3 3 8.37258 3 15C3 21.6274 8.37258 27 15 27C21.6274 27 27 21.6274 27 15C27 8.37258 21.6274 3 15 3ZM11.5 10.6699C11.5 9.90014 12.3333 9.41887 13 9.80371L20.5 14.1338C21.1667 14.5187 21.1667 15.4813 20.5 15.8662L13 20.1963C12.3333 20.5811 11.5 20.0999 11.5 19.3301V10.6699Z",stopIcon:"path://M15 0C23.2843 0 30 6.71573 30 15C30 23.2843 23.2843 30 15 30C6.71573 30 0 23.2843 0 15C0 6.71573 6.71573 0 15 0ZM15 3C8.37258 3 3 8.37258 3 15C3 21.6274 8.37258 27 15 27C21.6274 27 27 21.6274 27 15C27 8.37258 21.6274 3 15 3ZM11.5 10C12.3284 10 13 10.6716 13 11.5V18.5C13 19.3284 12.3284 20 11.5 20C10.6716 20 10 19.3284 10 18.5V11.5C10 10.6716 10.6716 10 11.5 10ZM18.5 10C19.3284 10 20 10.6716 20 11.5V18.5C20 19.3284 19.3284 20 18.5 20C17.6716 20 17 19.3284 17 18.5V11.5C17 10.6716 17.6716 10 18.5 10Z",nextIcon:"path://M0.838834 18.7383C0.253048 18.1525 0.253048 17.2028 0.838834 16.617L7.55635 9.89949L0.838834 3.18198C0.253048 2.59619 0.253048 1.64645 0.838834 1.06066C1.42462 0.474874 2.37437 0.474874 2.96015 1.06066L10.7383 8.83883L10.8412 8.95277C11.2897 9.50267 11.2897 10.2963 10.8412 10.8462L10.7383 10.9602L2.96015 18.7383C2.37437 19.3241 1.42462 19.3241 0.838834 18.7383Z",prevIcon:"path://M10.9602 1.06066C11.5459 1.64645 11.5459 2.59619 10.9602 3.18198L4.24264 9.89949L10.9602 16.617C11.5459 17.2028 11.5459 18.1525 10.9602 18.7383C10.3744 19.3241 9.42462 19.3241 8.83883 18.7383L1.06066 10.9602L0.957771 10.8462C0.509245 10.2963 0.509245 9.50267 0.957771 8.95277L1.06066 8.83883L8.83883 1.06066C9.42462 0.474874 10.3744 0.474874 10.9602 1.06066Z",prevBtnSize:18,nextBtnSize:18,color:Fo.color.accent50,borderColor:Fo.color.accent50,borderWidth:0},emphasis:{label:{show:!0,color:Fo.color.accent60},itemStyle:{color:Fo.color.accent60,borderColor:Fo.color.accent60},controlStyle:{color:Fo.color.accent70,borderColor:Fo.color.accent70}},progress:{lineStyle:{color:Fo.color.accent30},itemStyle:{color:Fo.color.accent40}},data:[]}),SliderTimelineModel}(Ax);Object(H.K)(Px,Ia.prototype);var Ox=Px,Ix=function(d){function TimelineView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=TimelineView.type,b}return __extends(TimelineView,d),TimelineView.type="timeline",TimelineView}(ns),Dx=function(d){function TimelineAxis(b,x,T,D){var z=d.call(this,b,x,T)||this;return z.type=D||"value",z}return __extends(TimelineAxis,d),TimelineAxis.prototype.getLabelModel=function(){return this.model.getModel("label")},TimelineAxis.prototype.isHorizontal=function(){return"horizontal"===this.model.get("orient")},TimelineAxis}(zh),Ex=Math.PI,Lx=makeInner();function giveSymbol(d,b,x,T,D,z){var W=b.get("color");D?(D.setColor(W),x.add(D),z&&z.onUpdate(D)):((D=symbol_createSymbol(d.get("symbol"),-1,-1,2,2,W)).setStyle("strokeNoScale",!0),x.add(D),z&&z.onCreate(D));var U=b.getItemStyle(["color"]);D.setStyle(U),T=Object(H.I)({rectHover:!0,z2:100}
vendor: 14,161 bytes, line 808
808,T,!0);var Y=normalizeSymbolSize(d.get("symbolSize"));T.scaleX=Y[0]/2,T.scaleY=Y[1]/2;var Z=normalizeSymbolOffset(d.get("symbolOffset"),Y);Z&&(T.x=(T.x||0)+Z[0],T.y=(T.y||0)+Z[1]);var J=d.get("symbolRotate");return T.rotation=(J||0)*Math.PI/180||0,D.attr(T),D.updateTransform(),D}function pointerMoveTo(d,b,x,T,D,z){if(!d.dragging){var H=D.getModel("checkpointStyle"),W=T.dataToCoord(D.getData().get("value",x));if(z||!H.get("animation",!0))d.attr({x:W,y:0}),b&&b.attr({shape:{x2:W}});else{var U={duration:H.get("animationDuration",!0),easing:H.get("animationEasing",!0)};d.stopAnimation(null,!0),d.animateTo({x:W,y:0},U),b&&b.animateTo({shape:{x2:W}},U)}}}var Rx=function(d){function SliderTimelineView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=SliderTimelineView.type,b}return __extends(SliderTimelineView,d),SliderTimelineView.prototype.init=function(d,b){this.api=b},SliderTimelineView.prototype.render=function(d,b,x){if(this.model=d,this.api=x,this.ecModel=b,this.group.removeAll(),d.get("show",!0)){var T=this._layout(d,x),D=this._createGroup("_mainGroup"),z=this._createGroup("_labelGroup"),W=this._axis=this._createAxis(T,d);d.formatTooltip=function(d){return createTooltipMarkup("nameValue",{noName:!0,value:W.scale.getLabel({value:d})})},Object(H.k)(["AxisLine","AxisTick","Control","CurrentPointer"],(function(b){this["_render"+b](T,D,W,d)}),this),this._renderAxisLabel(T,z,W,d),this._position(T,d)}this._doPlayStop(),this._updateTicksStatus()},SliderTimelineView.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},SliderTimelineView.prototype.dispose=function(){this._clearTimer()},SliderTimelineView.prototype._layout=function(d,b){var x,T,D,z,W=d.get(["label","position"]),U=d.get("orient"),Y=function(d,b){return getLayoutRect(d.getBoxLayoutParams(),createBoxLayoutReference(d,b).refContainer,d.get("padding"))}(d,b),Z={horizontal:"center",vertical:(x=null==W||"auto"===W?"horizontal"===U?Y.y+Y.height/2<b.getHeight()/2?"-":"+":Y.x+Y.width/2<b.getWidth()/2?"+":"-":Object(H.C)(W)?{horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[U][W]:W)>=0||"+"===x?"left":"right"},J={horizontal:x>=0||"+"===x?"top":"bottom",vertical:"middle"},ee={horizontal:0,vertical:Ex/2},te="vertical"===U?Y.height:Y.width,ne=d.getModel("controlStyle"),ie=ne.get("show",!0),oe=ie?ne.get("itemSize"):0,se=ie?ne.get("itemGap"):0,le=oe+se,ce=d.get(["label","rotate"])||0;ce=ce*Ex/180;var de=ne.get("position",!0),he=ie&&ne.get("showPlayBtn",!0),pe=ie&&ne.get("showPrevBtn",!0),fe=ie&&ne.get("showNextBtn",!0),ge=0,me=te;"left"===de||"bottom"===de?(he&&(T=[0,0],ge+=le),pe&&(D=[ge,0],ge+=le),fe&&(z=[me-oe,0],me-=le)):(he&&(T=[me-oe,0],me-=le),pe&&(D=[0,0],ge+=le),fe&&(z=[me-oe,0],me-=le));var ye=[ge,me];return d.get("inverse")&&ye.reverse(),{viewRect:Y,mainLength:te,orient:U,rotation:ee[U],labelRotation:ce,labelPosOpt:x,labelAlign:d.get(["label","align"])||Z[U],labelBaseline:d.get(["label","verticalAlign"])||d.get(["label","baseline"])||J[U],playPosition:T,prevBtnPosition:D,nextBtnPosition:z,axisExtent:ye,controlSize:oe,controlGap:se}},SliderTimelineView.prototype._position=function(d,b){var x=this._mainGroup,T=this._labelGroup,D=d.viewRect;if("vertical"===d.orient){var z=[1,0,0,1,0,0],W=D.x,U=D.y+D.height;matrix_translate(z,z,[-W,-U]),matrix_rotate(z,z,-Ex/2),matrix_translate(z,z,[W,U]),(D=D.clone()).applyTransform(z)}var Y=getBound(D),Z=getBound(x.getBoundingRect()),J=getBound(T.getBoundingRect()),ee=[x.x,x.y],te=[T.x,T.y];te[0]=ee[0]=Y[0][0];var ne,ie=d.labelPosOpt;null==ie||Object(H.C)(ie)?(toBound(ee,Z,Y,1,ne="+"===ie?0:1),toBound(te,J,Y,1,1-ne)):(toBound(ee,Z,Y,1,ne=ie>=0?0:1),te[1]=ee[1]+ie);function setOrigin(d){d.originX=Y[0][0]-d.x,d.originY=Y[1][0]-d.y}function getBound(d){return[[d.x,d.x+d.width],[d.y,d.y+d.height]]}function toBound(d,b,x,T,D){d[T]+=x[T][D]-b[T][D]}x.setPosition(ee),T.setPosition(te),x.rotation=T.rotation=d.rotation,setOrigin(x),setOrigin(T)},SliderTimelineView.prototype._createAxis=function(d,b){var x=b.getData(),T=b.get("axisType"),D=function(d,b){if(b=b||d.get("type"))switch(b){case"category":return new ph({ordinalMeta:d.getCategories(),extent:[1/0,-1/0]});case"time":return new bh({locale:d.ecModel.getLocaleModel(),useUTC:d.ecModel.get("useUTC")});default:return new mh}}(b,T);D.getTicks=function(){return x.mapArray(["value"],(function(d){return{value:d}}))};var z=x.getDataExtent("value");D.setExtent(z[0],z[1]),D.calcNiceTicks();var H=new Dx("value",D,d.axisExtent,T);return H.model=b,H},SliderTimelineView.prototype._createGroup=function(d){var b=this[d]=new Xn;return this.group.add(b),b},SliderTimelineView.prototype._renderAxisLine=function(d,b,x,T){var D=x.getExtent();if(T.get(["lineStyle","show"])){var z=new js({shape:{x1:D[0],y1:0,x2:D[1],y2:0},style:Object(H.m)({lineCap:"round"},T.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});b.add(z);var W=this._progressLine=new js({shape:{x1:D[0],x2:this._currentPointer?this._currentPointer.x:D[0],y1:0,y2:0},style:Object(H.i)({lineCap:"round",lineWidth:z.style.lineWidth},T.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});b.add(W)}},SliderTimelineView.prototype._renderAxisTick=function(d,b,x,T){var D=this,z=T.getData(),W=x.scale.getTicks();this._tickSymbols=[],Object(H.k)(W,(function(d){var W=x.dataToCoord(d.value),U=z.getItemModel(d.value),Y=U.getModel("itemStyle"),Z=U.getModel(["emphasis","itemStyle"]),J=U.getModel(["progress","itemStyle"]),ee={x:W,y:0,onclick:Object(H.c)(D._changeTimeline,D,d.value)},te=giveSymbol(U,Y,b,ee);te.ensureState("emphasis").style=Z.getItemStyle(),te.ensureState("progress").style=J.getItemStyle(),enableHoverEmphasis(te);var ne=Or(te);U.get("tooltip")?(ne.dataIndex=d.value,ne.dataModel=T):ne.dataIndex=ne.dataModel=null,D._tickSymbols.push(te)}))},SliderTimelineView.prototype._renderAxisLabel=function(d,b,x,T){var D=this;if(x.getLabelModel().get("show")){var z=T.getData(),W=x.getViewLabels();this._tickLabels=[],Object(H.k)(W,(function(T){var W=T.tickValue,U=z.getItemModel(W),Y=U.getModel("label"),Z=U.getModel(["emphasis","label"]),J=U.getModel(["progress","label"]),ee=x.dataToCoord(T.tickValue),te=new Pr({x:ee,y:0,rotation:d.labelRotation-d.rotation,onclick:Object(H.c)(D._changeTimeline,D,W),silent:!1,style:createTextStyle(Y,{text:T.formattedLabel,align:d.labelAlign,verticalAlign:d.labelBaseline})});te.ensureState("emphasis").style=createTextStyle(Z),te.ensureState("progress").style=createTextStyle(J),b.add(te),enableHoverEmphasis(te),Lx(te).dataIndex=W,D._tickLabels.push(te)}))}},SliderTimelineView.prototype._renderControl=function(d,b,x,T){var D=d.controlSize,z=d.rotation,W=T.getModel("controlStyle").getItemStyle(),U=T.getModel(["emphasis","controlStyle"]).getItemStyle(),Y=T.getPlayState(),Z=T.get("inverse",!0);function makeBtn(d,x,Y,Z){if(d){var J=parsePercent(Object(H.P)(T.get(["controlStyle",x+"BtnSize"]),D),D),ee=function(d,b,x,T){var D=T.style,z=createIcon(d.get(["controlStyle",b]),T||{},new Ee(x[0],x[1],x[2],x[3]));D&&z.setStyle(D);return z}(T,x+"Icon",[0,-J/2,J,J],{x:d[0],y:d[1],originX:D/2,originY:0,rotation:Z?-z:0,rectHover:!0,style:W,onclick:Y});ee.ensureState("emphasis").style=U,b.add(ee),enableHoverEmphasis(ee)}}makeBtn(d.nextBtnPosition,"next",Object(H.c)(this._changeTimeline,this,Z?"-":"+")),makeBtn(d.prevBtnPosition,"prev",Object(H.c)(this._changeTimeline,this,Z?"+":"-")),makeBtn(d.playPosition,Y?"stop":"play",Object(H.c)(this._handlePlayClick,this,!Y),!0)},SliderTimelineView.prototype._renderCurrentPointer=function(d,b,x,T){var D=T.getData(),z=T.getCurrentIndex(),W=D.getItemModel(z).getModel("checkpointStyle"),U=this,Y={onCreate:function(d){d.draggable=!0,d.drift=Object(H.c)(U._handlePointerDrag,U),d.ondragend=Object(H.c)(U._handlePointerDragend,U),pointerMoveTo(d,U._progressLine,z,x,T,!0)},onUpdate:function(d){pointerMoveTo(d,U._progressLine,z,x,T)}};this._currentPointer=giveSymbol(W,W,this._mainGroup,{},this._currentPointer,Y)},SliderTimelineView.prototype._handlePlayClick=function(d){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:d,from:this.uid})},SliderTimelineView.prototype._handlePointerDrag=function(d,b,x){this._clearTimer(),this._pointerChangeTimeline([x.offsetX,x.offsetY])},SliderTimelineView.prototype._handlePointerDragend=function(d){this._pointerChangeTimeline([d.offsetX,d.offsetY],!0)},SliderTimelineView.prototype._pointerChangeTimeline=function(d,b){var x=this._toAxisCoord(d)[0],T=asc(this._axis.getExtent().slice());x>T[1]&&(x=T[1]),x<T[0]&&(x=T[0]),this._currentPointer.x=x,this._currentPointer.markRedraw();var D=this._progressLine;D&&(D.shape.x2=x,D.dirty());var z=this._findNearestTick(x),H=this.model;(b||z!==H.getCurrentIndex()&&H.get("realtime"))&&this._changeTimeline(z)},SliderTimelineView.prototype._doPlayStop=function(){var d=this;this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout((function(){var b=d.model;d._changeTimeline(b.getCurrentIndex()+(b.get("rewind",!0)?-1:1))}),this.model.get("playInterval")))},SliderTimelineView.prototype._toAxisCoord=function(d){return graphic_applyTransform(d,this._mainGroup.getLocalTransform(),!0)},SliderTimelineView.prototype._findNearestTick=function(d){var b,x=this.model.getData(),T=1/0,D=this._axis;return x.each(["value"],(function(x,z){var H=D.dataToCoord(x),W=Math.abs(H-d);W<T&&(T=W,b=z)})),b},SliderTimelineView.prototype._clearTimer=function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},SliderTimelineView.prototype._changeTimeline=function(d){var b=this.model.getCurrentIndex();"+"===d?d=b+1:"-"===d&&(d=b-1),this.api.dispatchAction({type:"timelineChange",currentIndex:d,from:this.uid})},SliderTimelineView.prototype._updateTicksStatus=function(){var d=this.model.getCurrentIndex(),b=this._tickSymbols,x=this._tickLabels;if(b)for(var T=0;T<b.length;T++)b&&b[T]&&b[T].toggleState("progress",T<d);if(x)for(T=0;T<x.length;T++)x&&x[T]&&x[T].toggleState("progress",Lx(x[T]).dataIndex<=d)},SliderTimelineView.type="timeline.slider",SliderTimelineView}(Ix);function timelinePreprocessor(d){var b=d&&d.timeline;H.t(b)||(b=b?[b]:[]),H.k(b,(function(d){d&&function(d){var b=d.type,x={number:"value",time:"time"};x[b]&&(d.axisType=x[b],delete d.type);if(transferItem(d),preprocessor_has(d,"controlPosition")){var T=d.controlStyle||(d.controlStyle={});preprocessor_has(T,"position")||(T.position=d.controlPosition),"none"!==T.position||preprocessor_has(T,"show")||(T.show=!1,delete T.position),delete d.controlPosition}H.k(d.data||[],(function(d){H.A(d)&&!H.t(d)&&(!preprocessor_has(d,"value")&&preprocessor_has(d,"name")&&(d.value=d.name),transferItem(d))}))}(d)}))}function transferItem(d){var b=d.itemStyle||(d.itemStyle={}),x=b.emphasis||(b.emphasis={}),T=d.label||d.label||{},D=T.normal||(T.normal={}),z={normal:1,emphasis:1};H.k(T,(function(d,b){z[b]||preprocessor_has(D,b)||(D[b]=d)})),x.label&&!preprocessor_has(T,"emphasis")&&(T.emphasis=x.label,delete x.label)}function preprocessor_has(d,b){return d.hasOwnProperty(b)}function checkMarkerInSeries(d,b){if(!d)return!1;for(var x=Object(H.t)(d)?d:[d],T=0;T<x.length;T++)if(x[T]&&x[T][b])return!0;return!1}function fillLabel(d){defaultEmphasis(d,"label",["show"])}var Bx=makeInner(),Nx=function(d){function MarkerModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=MarkerModel.type,b.createdBySelf=!1,b.preventAutoZ=!0,b}return __extends(MarkerModel,d),MarkerModel.prototype.init=function(d,b,x){this.mergeDefaultAndTheme(d,x),this._mergeOption(d,x,!1,!0)},MarkerModel.prototype.isAnimationEnabled=function(){if(z.a.node)return!1;var d=this.__hostSeries;return this.getShallow("animation")&&d&&d.isAnimationEnabled()},MarkerModel.prototype.mergeOption=function(d,b){this._mergeOption(d,b,!1,!1)},MarkerModel.prototype._mergeOption=function(d,b,x,T){var D=this.mainType;x||b.eachSeries((function(d){var x=d.get(this.mainType,!0),z=Bx(d)[D];x&&x.data?(z?z._mergeOption(x,b,!0):(T&&fillLabel(x),H.k(x.data,(function(d){d instanceof Array?(fillLabel(d[0]),fillLabel(d[1])):fillLabel(d)})),z=this.createMarkerModelFromSeries(x,this,b),H.m(z,{mainType:this.mainType,seriesIndex:d.seriesIndex,name:d.name,createdBySelf:!0}),z.__hostSeries=d),Bx(d)[D]=z):Bx(d)[D]=null}),this)},MarkerModel.prototype.formatTooltip=function(d,b,x){var T=this.getData(),D=this.getRawValue(d),z=T.getName(d);return createTooltipMarkup("section",{header:this.name,blocks:[createTooltipMarkup("nameValue",{name:z,value:D,noName:!z,noValue:null==D})]})},MarkerModel.prototype.getData=function(){return this._data},MarkerModel.prototype.setData=function(d){this._data=d},MarkerModel.prototype.getDataParams=function(d,b){var x=Ia.prototype.getDataParams.call(this,d,b),T=this.__hostSeries;return T&&(x.seriesId=T.id,x.seriesName=T.name,x.seriesType=T.subType),x},MarkerModel.getMarkerModelFromSeries=function(d,b){return Bx(d)[b]},MarkerModel.type="marker",MarkerModel.dependencies=["series","grid","polar","geo"],MarkerModel}(Bo);H.K(Nx,Ia.prototype);var jx=Nx,Vx=function(d){function MarkPointModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=MarkPointModel.type,b}return __extends(MarkPointModel,d),MarkPointModel.prototype.createMarkerModelFromSeries=function(d,b,x){return new MarkPointModel(d,b,x)},MarkPointModel.type="markPoint",MarkPointModel.defaultOption={z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}},MarkPointModel}(jx);function hasXOrY(d){return!(isNaN(parseFloat(d.x))&&isNaN(parseFloat(d.y)))}function markerTypeCalculatorWithExtent(d,b,x,T,D,z,H){var W=[],U=isDimensionStacked(b,D)?b.getCalculationInfo("stackResultDimension"):D,Y=numCalculate(b,U,d),Z=b.hostModel.indicesOfNearest(x,U,Y)[0];W[z]=b.get(T,Z),W[H]=b.get(U,Z);var J=b.get(D,Z),ee=getPrecision(b.get(D,Z));return(ee=Math.min(ee,20))>=0&&(W[H]=+W[H].toFixed(ee)),[W,J]}var zx={min:Object(H.h)(markerTypeCalculatorWithExtent,"min"),max:Object(H.h)(markerTypeCalculatorWithExtent,"max"),average:Object(H.h)(markerTypeCalculatorWithExtent,"average"),median:Object(H.h)(markerTypeCalculatorWithExtent,"median")};function dataTransform(d,b){if(b){var x=d.getData(),T=d.coordinateSystem,D=T&&T.dimensions;
808if(!function(d){return!isNaN(parseFloat(d.x))&&!isNaN(parseFloat(d.y))}(b)&&!Object(H.t)(b.coord)&&Object(H.t)(D)){var z=markerHelper_getAxisInfo(b,x,T,d);if((b=Object(H.d)(b)).type&&zx[b.type]&&z.baseAxis&&z.valueAxis){var W=Object(H.r)(D,z.baseAxis.dim),U=Object(H.r)(D,z.valueAxis.dim),Y=zx[b.type](x,z.valueAxis.dim,z.baseDataDim,z.valueDataDim,W,U);b.coord=Y[0],b.value=Y[1]}else b.coord=[null!=b.xAxis?b.xAxis:b.radiusAxis,null!=b.yAxis?b.yAxis:b.angleAxis]}if(null!=b.coord&&Object(H.t)(D))for(var Z=b.coord,J=0;J<2;J++)zx[Z[J]]&&(Z[J]=numCalculate(x,x.mapDimension(D[J]),Z[J]));else{b.coord=[];var ee=d.getBaseAxis();if(ee&&b.type&&zx[b.type]){var te=T.getOtherAxis(ee);te&&(b.value=numCalculate(x,x.mapDimension(te.dim),b.type))}}return b}}function markerHelper_getAxisInfo(d,b,x,T){var D={};return null!=d.valueIndex||null!=d.valueDim?(D.valueDataDim=null!=d.valueIndex?b.getDimension(d.valueIndex):d.valueDim,D.valueAxis=x.getAxis(function(d,b){var x=d.getData().getDimensionInfo(b);return x&&x.coordDim}(T,D.valueDataDim)),D.baseAxis=x.getOtherAxis(D.valueAxis),D.baseDataDim=b.mapDimension(D.baseAxis.dim)):(D.baseAxis=T.getBaseAxis(),D.valueAxis=x.getOtherAxis(D.baseAxis),D.baseDataDim=b.mapDimension(D.baseAxis.dim),D.valueDataDim=b.mapDimension(D.valueAxis.dim)),D}function markerHelper_dataFilter(d,b){return!(d&&d.containData&&b.coord&&!hasXOrY(b))||d.containData(b.coord)}function createMarkerDimValueGetter(d,b){return d?function(d,x,T,D){return parseDataValue(D<2?d.coord&&d.coord[D]:d.value,b[D])}:function(d,x,T,D){return parseDataValue(d.value,b[D])}}function numCalculate(d,b,x){if("average"===x){var T=0,D=0;return d.each(b,(function(d,b){isNaN(d)||(T+=d,D++)})),T/D}return"median"===x?d.getMedian(b):d.getDataExtent(b)["max"===x?1:0]}var Fx=makeInner();var Hx=function(d){function MarkerView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=MarkerView.type,b}return __extends(MarkerView,d),MarkerView.prototype.init=function(){this.markerGroupMap=Object(H.f)()},MarkerView.prototype.render=function(d,b,x){var T=this,D=this.markerGroupMap;D.each((function(d){Fx(d).keep=!1})),b.eachSeries((function(d){var D=jx.getMarkerModelFromSeries(d,T.type);D&&T.renderSeries(d,D,b,x)})),D.each((function(d){!Fx(d).keep&&T.group.remove(d.group)})),function(d,b,x){d.eachSeries((function(d){var T=jx.getMarkerModelFromSeries(d,x),D=b.get(d.id);if(T&&D&&D.group){var z=retrieveZInfo(T),H=z.z,W=z.zlevel;traverseUpdateZ(D.group,H,W)}}))}(b,D,this.type)},MarkerView.prototype.markKeep=function(d){Fx(d).keep=!0},MarkerView.prototype.toggleBlurSeries=function(d,b){var x=this;Object(H.k)(d,(function(d){var T=jx.getMarkerModelFromSeries(d,x.type);T&&T.getData().eachItemGraphicEl((function(d){d&&(b?enterBlur(d):leaveBlur(d))}))}))},MarkerView.type="marker",MarkerView}(ns);function updateMarkerLayout(d,b,x){var T=b.coordinateSystem,D=x.getWidth(),z=x.getHeight(),H=T&&T.getArea&&T.getArea();d.each((function(x){var W,U=d.getItemModel(x),Y="coordinate"===U.get("relativeTo"),Z=Y?H?H.width:0:D,J=Y?H?H.height:0:z,ee=Y&&H?H.x:0,te=Y&&H?H.y:0,ne=number_parsePercent(U.get("x"),Z)+ee,ie=number_parsePercent(U.get("y"),J)+te;if(isNaN(ne)||isNaN(ie)){if(b.getMarkerPosition)W=b.getMarkerPosition(d.getValues(d.dimensions,x));else if(T){var oe=d.get(T.dimensions[0],x),se=d.get(T.dimensions[1],x);W=T.dataToPoint([oe,se])}}else W=[ne,ie];isNaN(ne)||(W[0]=ne),isNaN(ie)||(W[1]=ie),d.setItemLayout(x,W)}))}var Gx=function(d){function MarkPointView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=MarkPointView.type,b}return __extends(MarkPointView,d),MarkPointView.prototype.updateTransform=function(d,b,x){b.eachSeries((function(d){var b=jx.getMarkerModelFromSeries(d,"markPoint");b&&(updateMarkerLayout(b.getData(),d,x),this.markerGroupMap.get(d.id).updateLayout())}),this)},MarkPointView.prototype.renderSeries=function(d,b,x,T){var D=d.coordinateSystem,z=d.id,W=d.getData(),U=this.markerGroupMap,Y=U.get(z)||U.set(z,new sd),Z=function(d,b,x){var T;T=d?Object(H.H)(d&&d.dimensions,(function(d){var x=b.getData().getDimensionInfo(b.getData().mapDimension(d))||{};return Object(H.m)(Object(H.m)({},x),{name:d,ordinalMeta:null})})):[{name:"value",type:"float"}];var D=new id(T,x),z=Object(H.H)(x.get("data"),Object(H.h)(dataTransform,b));d&&(z=Object(H.n)(z,Object(H.h)(markerHelper_dataFilter,d)));var W=createMarkerDimValueGetter(!!d,T);return D.initData(z,null,W),D}(D,d,b);b.setData(Z),updateMarkerLayout(b.getData(),d,T),Z.each((function(d){var x=Z.getItemModel(d),T=x.getShallow("symbol"),D=x.getShallow("symbolSize"),z=x.getShallow("symbolRotate"),U=x.getShallow("symbolOffset"),Y=x.getShallow("symbolKeepAspect");
808if(Object(H.w)(T)||Object(H.w)(D)||Object(H.w)(z)||Object(H.w)(U)){var J=b.getRawValue(d),ee=b.getDataParams(d);Object(H.w)(T)&&(T=T(J,ee)),Object(H.w)(D)&&(D=D(J,ee)),Object(H.w)(z)&&(z=z(J,ee)),Object(H.w)(U)&&(U=U(J,ee))}var te=x.getModel("itemStyle").getItemStyle(),ne=x.get("z2"),ie=getVisualFromData(W,"color");te.fill||(te.fill=ie),Z.setItemVisual(d,{z2:Object(H.P)(ne,0),symbol:T,symbolSize:D,symbolRotate:z,symbolOffset:U,symbolKeepAspect:Y,style:te})})),Y.updateData(Z),this.group.add(Y.group),Z.eachItemGraphicEl((function(d){d.traverse((function(d){Or(d).dataModel=b}))})),this.markKeep(Y),Y.group.silent=b.get("silent")||d.get("silent")},MarkPointView.type="markPoint",MarkPointView}(Hx);var $x=function(d){function MarkLineModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=MarkLineModel.type,b}return __extends(MarkLineModel,d),MarkLineModel.prototype.createMarkerModelFromSeries=function(d,b,x){return new MarkLineModel(d,b,x)},MarkLineModel.type="markLine",MarkLineModel.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},MarkLineModel}(jx),Wx=makeInner(),MarkLineView_markLineTransform=function(d,b,x,T){var D,z=d.getData();if(Object(H.t)(T))D=T;else{var W=T.type;if("min"===W||"max"===W||"average"===W||"median"===W||null!=T.xAxis||null!=T.yAxis){var U=void 0,Y=void 0;if(null!=T.yAxis||null!=T.xAxis)U=b.getAxis(null!=T.yAxis?"y":"x"),Y=Object(H.O)(T.yAxis,T.xAxis);else{var Z=markerHelper_getAxisInfo(T,z,b,d);U=Z.valueAxis,Y=numCalculate(z,getStackedDimension(z,Z.valueDataDim),W)}var J="x"===U.dim?0:1,ee=1-J,te=Object(H.d)(T),ne={coord:[]};te.type=null,te.coord=[],te.coord[ee]=-1/0,ne.coord[ee]=1/0;var ie=x.get("precision");ie>=0&&Object(H.z)(Y)&&(Y=+Y.toFixed(Math.min(ie,20))),te.coord[J]=ne.coord[J]=Y,D=[te,ne,{type:W,valueIndex:T.valueIndex,value:Y}]}else D=[]}var oe=[dataTransform(d,D[0]),dataTransform(d,D[1]),Object(H.m)({},D[2])];return oe[2].type=oe[2].type||null,Object(H.I)(oe[2],oe[0]),Object(H.I)(oe[2],oe[1]),oe};function isInfinity(d){return!isNaN(d)&&!isFinite(d)}function ifMarkLineHasOnlyDim(d,b,x,T){var D=1-d,z=T.dimensions[d];return isInfinity(b[D])&&isInfinity(x[D])&&b[d]===x[d]&&T.getAxis(z).containData(b[d])}function markLineFilter(d,b){if("cartesian2d"===d.type){var x=b[0].coord,T=b[1].coord;if(x&&T&&(ifMarkLineHasOnlyDim(1,x,T,d)||ifMarkLineHasOnlyDim(0,x,T,d)))return!0}return markerHelper_dataFilter(d,b[0])&&markerHelper_dataFilter(d,b[1])}function updateSingleMarkerEndLayout(d,b,x,T,D){var z,H=T.coordinateSystem,W=d.getItemModel(b),U=number_parsePercent(W.get("x"),D.getWidth()),Y=number_parsePercent(W.get("y"),D.getHeight());if(isNaN(U)||isNaN(Y)){if(T.getMarkerPosition)z=T.getMarkerPosition(d.getValues(d.dimensions,b));else{var Z=H.dimensions,J=d.get(Z[0],b),ee=d.get(Z[1],b);z=H.dataToPoint([J,ee])}if(isCoordinateSystemType(H,"cartesian2d")){var te=H.getAxis("x"),ne=H.getAxis("y");Z=H.dimensions;isInfinity(d.get(Z[0],b))?z[0]=te.toGlobalCoord(te.getExtent()[x?0:1]):isInfinity(d.get(Z[1],b))&&(z[1]=ne.toGlobalCoord(ne.getExtent()[x?0:1]))}isNaN(U)||(z[0]=U),isNaN(Y)||(z[1]=Y)}else z=[U,Y];d.setItemLayout(b,z)}var Ux=function(d){function MarkLineView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=MarkLineView.type,b}return __extends(MarkLineView,d),MarkLineView.prototype.updateTransform=function(d,b,x){b.eachSeries((function(d){var b=jx.getMarkerModelFromSeries(d,"markLine");if(b){var T=b.getData(),D=Wx(b).from,z=Wx(b).to;D.each((function(b){updateSingleMarkerEndLayout(D,b,!0,d,x),updateSingleMarkerEndLayout(z,b,!1,d,x)})),T.each((function(d){T.setItemLayout(d,[D.getItemLayout(d),z.getItemLayout(d)])})),this.markerGroupMap.get(d.id).updateLayout()}}),this)},MarkLineView.prototype.renderSeries=function(d,b,x,T){var D=d.coordinateSystem,z=d.id,W=d.getData(),U=this.markerGroupMap,Y=U.get(z)||U.set(z,new lg);this.group.add(Y.group);var Z=function(d,b,x){var T;T=d?Object(H.H)(d&&d.dimensions,(function(d){var x=b.getData().getDimensionInfo(b.getData().mapDimension(d))||{};return Object(H.m)(Object(H.m)({},x),{name:d,ordinalMeta:null})})):[{name:"value",type:"float"}];var D=new id(T,x),z=new id(T,x),W=new id([],x),U=Object(H.H)(x.get("data"),Object(H.h)(MarkLineView_markLineTransform,b,d,x));d&&(U=Object(H.n)(U,Object(H.h)(markLineFilter,d)));var Y=createMarkerDimValueGetter(!!d,T);
vendor: 16,639 bytes, line 808
808return D.initData(Object(H.H)(U,(function(d){return d[0]})),null,Y),z.initData(Object(H.H)(U,(function(d){return d[1]})),null,Y),W.initData(Object(H.H)(U,(function(d){return d[2]}))),W.hasItemOption=!0,{from:D,to:z,line:W}}(D,d,b),J=Z.from,ee=Z.to,te=Z.line;Wx(b).from=J,Wx(b).to=ee,b.setData(te);var ne=b.get("symbol"),ie=b.get("symbolSize"),oe=b.get("symbolRotate"),se=b.get("symbolOffset");function updateDataVisualAndLayout(b,x,D){var z=b.getItemModel(x);updateSingleMarkerEndLayout(b,x,D,d,T);var U=z.getModel("itemStyle").getItemStyle();null==U.fill&&(U.fill=getVisualFromData(W,"color")),b.setItemVisual(x,{symbolKeepAspect:z.get("symbolKeepAspect"),symbolOffset:Object(H.P)(z.get("symbolOffset",!0),se[D?0:1]),symbolRotate:Object(H.P)(z.get("symbolRotate",!0),oe[D?0:1]),symbolSize:Object(H.P)(z.get("symbolSize"),ie[D?0:1]),symbol:Object(H.P)(z.get("symbol",!0),ne[D?0:1]),style:U})}Object(H.t)(ne)||(ne=[ne,ne]),Object(H.t)(ie)||(ie=[ie,ie]),Object(H.t)(oe)||(oe=[oe,oe]),Object(H.t)(se)||(se=[se,se]),Z.from.each((function(d){updateDataVisualAndLayout(J,d,!0),updateDataVisualAndLayout(ee,d,!1)})),te.each((function(d){var b=te.getItemModel(d),x=b.getModel("lineStyle").getLineStyle();te.setItemLayout(d,[J.getItemLayout(d),ee.getItemLayout(d)]);var T=b.get("z2");null==x.stroke&&(x.stroke=J.getItemVisual(d,"style").fill),te.setItemVisual(d,{z2:Object(H.P)(T,0),fromSymbolKeepAspect:J.getItemVisual(d,"symbolKeepAspect"),fromSymbolOffset:J.getItemVisual(d,"symbolOffset"),fromSymbolRotate:J.getItemVisual(d,"symbolRotate"),fromSymbolSize:J.getItemVisual(d,"symbolSize"),fromSymbol:J.getItemVisual(d,"symbol"),toSymbolKeepAspect:ee.getItemVisual(d,"symbolKeepAspect"),toSymbolOffset:ee.getItemVisual(d,"symbolOffset"),toSymbolRotate:ee.getItemVisual(d,"symbolRotate"),toSymbolSize:ee.getItemVisual(d,"symbolSize"),toSymbol:ee.getItemVisual(d,"symbol"),style:x})})),Y.updateData(te),Z.line.eachItemGraphicEl((function(d){Or(d).dataModel=b,d.traverse((function(d){Or(d).dataModel=b}))})),this.markKeep(Y),Y.group.silent=b.get("silent")||d.get("silent")},MarkLineView.type="markLine",MarkLineView}(Hx);var Yx=function(d){function MarkAreaModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=MarkAreaModel.type,b}return __extends(MarkAreaModel,d),MarkAreaModel.prototype.createMarkerModelFromSeries=function(d,b,x){return new MarkAreaModel(d,b,x)},MarkAreaModel.type="markArea",MarkAreaModel.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},MarkAreaModel}(jx),qx=makeInner(),MarkAreaView_markAreaTransform=function(d,b,x,T){var D=T[0],z=T[1];if(D&&z){var W=dataTransform(d,D),U=dataTransform(d,z),Y=W.coord,Z=U.coord;Y[0]=Object(H.O)(Y[0],-1/0),Y[1]=Object(H.O)(Y[1],-1/0),Z[0]=Object(H.O)(Z[0],1/0),Z[1]=Object(H.O)(Z[1],1/0);var J=Object(H.J)([{},W,U]);return J.coord=[W.coord,U.coord],J.x0=W.x,J.y0=W.y,J.x1=U.x,J.y1=U.y,J}};function MarkAreaView_isInfinity(d){return!isNaN(d)&&!isFinite(d)}function ifMarkAreaHasOnlyDim(d,b,x,T){var D=1-d;return MarkAreaView_isInfinity(b[D])&&MarkAreaView_isInfinity(x[D])}function markAreaFilter(d,b){var x=b.coord[0],T=b.coord[1],D={coord:x,x:b.x0,y:b.y0},z={coord:T,x:b.x1,y:b.y1};return isCoordinateSystemType(d,"cartesian2d")?!(!x||!T||!ifMarkAreaHasOnlyDim(1,x,T)&&!ifMarkAreaHasOnlyDim(0,x,T))||function(d,b,x){return!(d&&d.containZone&&b.coord&&x.coord&&!hasXOrY(b)&&!hasXOrY(x))||d.containZone(b.coord,x.coord)}(d,D,z):markerHelper_dataFilter(d,D)||markerHelper_dataFilter(d,z)}function getSingleMarkerEndPoint(d,b,x,T,D){var z,H=T.coordinateSystem,W=d.getItemModel(b),U=number_parsePercent(W.get(x[0]),D.getWidth()),Y=number_parsePercent(W.get(x[1]),D.getHeight());if(isNaN(U)||isNaN(Y)){if(T.getMarkerPosition){var Z=d.getValues(["x0","y0"],b),J=d.getValues(["x1","y1"],b),ee=H.clampData(Z),te=H.clampData(J),ne=[];"x0"===x[0]?ne[0]=ee[0]>te[0]?J[0]:Z[0]:ne[0]=ee[0]>te[0]?Z[0]:J[0],"y0"===x[1]?ne[1]=ee[1]>te[1]?J[1]:Z[1]:ne[1]=ee[1]>te[1]?Z[1]:J[1],z=T.getMarkerPosition(ne,x,!0)}else{var ie=[le=d.get(x[0],b),ce=d.get(x[1],b)];H.clampData&&H.clampData(ie,ie),z=H.dataToPoint(ie,!0)}if(isCoordinateSystemType(H,"cartesian2d")){var oe=H.getAxis("x"),se=H.getAxis("y"),le=d.get(x[0],b),ce=d.get(x[1],b);MarkAreaView_isInfinity(le)?z[0]=oe.toGlobalCoord(oe.getExtent()["x0"===x[0]?0:1]):MarkAreaView_isInfinity(ce)&&(z[1]=se.toGlobalCoord(se.getExtent()["y0"===x[1]?0:1]))}isNaN(U)||(z[0]=U),isNaN(Y)||(z[1]=Y)}else z=[U,Y];return z}var Zx=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];var Xx=function(d){function MarkAreaView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=MarkAreaView.type,b}return __extends(MarkAreaView,d),MarkAreaView.prototype.updateTransform=function(d,b,x){b.eachSeries((function(d){var b=jx.getMarkerModelFromSeries(d,"markArea");if(b){var T=b.getData();T.each((function(b){var D=Object(H.H)(Zx,(function(D){return getSingleMarkerEndPoint(T,b,D,d,x)}));T.setItemLayout(b,D),T.getItemGraphicEl(b).setShape("points",D)}))}}),this)},MarkAreaView.prototype.renderSeries=function(d,b,x,T){var D=d.coordinateSystem,z=d.id,W=d.getData(),U=this.markerGroupMap,Y=U.get(z)||U.set(z,{group:new Xn});this.group.add(Y.group),this.markKeep(Y);var Z=function(d,b,x){var T,D;if(d){var z=Object(H.H)(d&&d.dimensions,(function(d){var x=b.getData(),T=x.getDimensionInfo(x.mapDimension(d))||{};return Object(H.m)(Object(H.m)({},T),{name:d,ordinalMeta:null})}));D=Object(H.H)(["x0","y0","x1","y1"],(function(d,b){return{name:d,type:z[b%2].type}})),T=new id(D,x)}else T=new id(D=[{name:"value",type:"float"}],x);var W=Object(H.H)(x.get("data"),Object(H.h)(MarkAreaView_markAreaTransform,b,d,x));d&&(W=Object(H.n)(W,Object(H.h)(markAreaFilter,d)));var U=d?function(d,b,x,T){return parseDataValue(d.coord[Math.floor(T/2)][T%2],D[T])}:function(d,b,x,T){return parseDataValue(d.value,D[T])};return T.initData(W,null,U),T.hasItemOption=!0,T}(D,d,b);b.setData(Z),Z.each((function(b){var x=Object(H.H)(Zx,(function(x){return getSingleMarkerEndPoint(Z,b,x,d,T)})),z=D.getAxis("x").scale,U=D.getAxis("y").scale,Y=z.getExtent(),J=U.getExtent(),ee=[z.parse(Z.get("x0",b)),z.parse(Z.get("x1",b))],te=[U.parse(Z.get("y0",b)),U.parse(Z.get("y1",b))];asc(ee),asc(te);var ne=!!(Y[0]>ee[1]||Y[1]<ee[0]||J[0]>te[1]||J[1]<te[0]);Z.setItemLayout(b,{points:x,allClipped:ne});var ie=Z.getItemModel(b),oe=ie.getModel("itemStyle").getItemStyle(),se=ie.get("z2"),le=getVisualFromData(W,"color");oe.fill||(oe.fill=le,Object(H.C)(oe.fill)&&(oe.fill=yt.f(oe.fill,.4))),oe.stroke||(oe.stroke=le),Z.setItemVisual(b,"style",oe),Z.setItemVisual(b,"z2",Object(H.P)(se,0))})),Z.diff(qx(Y).data).add((function(d){var b=Z.getItemLayout(d),x=Z.getItemVisual(d,"z2");if(!b.allClipped){var T=new Es({z2:Object(H.P)(x,0),shape:{points:b.points}});Z.setItemGraphicEl(d,T),Y.group.add(T)}})).update((function(d,x){var T=qx(Y).data.getItemGraphicEl(x),D=Z.getItemLayout(d),z=Z.getItemVisual(d,"z2");D.allClipped?T&&Y.group.remove(T):(T?updateProps(T,{z2:Object(H.P)(z,0),shape:{points:D.points}},b,d):T=new Es({shape:{points:D.points}}),Z.setItemGraphicEl(d,T),Y.group.add(T))})).remove((function(d){var b=qx(Y).data.getItemGraphicEl(d);Y.group.remove(b)})).execute(),Z.eachItemGraphicEl((function(d,x){var T=Z.getItemModel(x),D=Z.getItemVisual(x,"style");d.useStyle(Z.getItemVisual(x,"style")),setLabelStyle(d,getLabelStatesModels(T),{labelFetcher:b,labelDataIndex:x,defaultText:Z.getName(x)||"",inheritColor:Object(H.C)(D.fill)?yt.f(D.fill,1):Fo.color.neutral99}),setStatesStylesFromModel(d,T),toggleHoverEmphasis(d,null,null,T.get(["emphasis","disabled"])),Or(d).dataModel=b})),qx(Y).data=Z,Y.group.silent=b.get("silent")||d.get("silent")},MarkAreaView.type="markArea",MarkAreaView}(Hx);var Kx=function(d){function LegendModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=LegendModel.type,b.layoutMode={type:"box",ignoreSize:!0},b}return __extends(LegendModel,d),LegendModel.prototype.init=function(d,b,x){this.mergeDefaultAndTheme(d,x),d.selected=d.selected||{},this._updateSelector(d)},LegendModel.prototype.mergeOption=function(b,x){d.prototype.mergeOption.call(this,b,x),this._updateSelector(b)},LegendModel.prototype._updateSelector=function(d){var b=d.selector,x=this.ecModel;!0===b&&(b=d.selector=["all","inverse"]),H.t(b)&&H.k(b,(function(d,T){H.C(d)&&(d={type:d}),b[T]=H.I(d,function(d,b){return"all"===b?{type:"all",title:d.getLocaleModel().get(["legend","selector","all"])}:"inverse"===b?{type:"inverse",title:d.getLocaleModel().get(["legend","selector","inverse"])}:void 0}(x,d.type))}))},LegendModel.prototype.optionUpdated=function(){this._updateData(this.ecModel);var d=this._data;if(d[0]&&"single"===this.get("selectedMode")){for(var b=!1,x=0;x<d.length;x++){var T=d[x].get("name");if(this.isSelected(T)){this.select(T),b=!0;break}}!b&&this.select(d[0].get("name"))}},LegendModel.prototype._updateData=function(d){var b=[],x=[];d.eachRawSeries((function(T){var D,z=T.name;if(x.push(z),T.legendVisualProvider){var H=T.legendVisualProvider.getAllNames();d.isSeriesFiltered(T)||(x=x.concat(H)),H.length?b=b.concat(H):D=!0}else D=!0;D&&isNameSpecified(T)&&b.push(T.name)})),this._availableNames=x;var T=this.get("data")||b,D=H.f(),z=H.H(T,(function(d){return(H.C(d)||H.z(d))&&(d={name:d}),D.get(d.name)?null:(D.set(d.name,!0),new oo(d,this,this.ecModel))}),this);this._data=H.n(z,(function(d){return!!d}))},LegendModel.prototype.getData=function(){return this._data},LegendModel.prototype.select=function(d){var b=this.option.selected;if("single"===this.get("selectedMode")){var x=this._data;H.k(x,(function(d){b[d.get("name")]=!1}))}b[d]=!0},LegendModel.prototype.unSelect=function(d){"single"!==this.get("selectedMode")&&(this.option.selected[d]=!1)},LegendModel.prototype.toggleSelected=function(d){var b=this.option.selected;b.hasOwnProperty(d)||(b[d]=!0),this[b[d]?"unSelect":"select"](d)},LegendModel.prototype.allSelect=function(){var d=this._data,b=this.option.selected;H.k(d,(function(d){b[d.get("name",!0)]=!0}))},LegendModel.prototype.inverseSelect=function(){var d=this._data,b=this.option.selected;H.k(d,(function(d){var x=d.get("name",!0);b.hasOwnProperty(x)||(b[x]=!0),b[x]=!b[x]}))},LegendModel.prototype.isSelected=function(d){var b=this.option.selected;return!(b.hasOwnProperty(d)&&!b[d])&&H.r(this._availableNames,d)>=0},LegendModel.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},LegendModel.type="legend.plain",LegendModel.dependencies=["series"],LegendModel.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",bottom:Fo.size.m,align:"auto",backgroundColor:Fo.color.transparent,borderColor:Fo.color.border,borderRadius:0,borderWidth:0,padding:5,itemGap:8,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:Fo.color.disabled,inactiveBorderColor:Fo.color.disabled,inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:Fo.color.disabled,inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:Fo.color.secondary},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:Fo.color.tertiary,borderWidth:1,borderColor:Fo.color.border},emphasis:{selectorLabel:{show:!0,color:Fo.color.quaternary}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1},triggerEvent:!1},LegendModel}(Bo),Jx=H.h,Qx=H.k,e_=Xn;function dispatchSelectAction(d,b,x,T){dispatchDownplayAction(d,b,x,T),x.dispatchAction({type:"legendToggleSelect",name:null!=d?d:b}),dispatchHighlightAction(d,b,x,T)}function isUseHoverLayer(d){for(var b,x=d.getZr().storage.getDisplayList(),T=0,D=x.length;T<D&&!(b=x[T].states.emphasis);)T++;return b&&b.hoverLayer}function dispatchHighlightAction(d,b,x,T){isUseHoverLayer(x)||x.dispatchAction({type:"highlight",seriesName:d,name:b,excludeSeriesId:T})}function dispatchDownplayAction(d,b,x,T){isUseHoverLayer(x)||x.dispatchAction({type:"downplay",seriesName:d,name:b,excludeSeriesId:T})}var t_=function(d){function LegendView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=LegendView.type,b.newlineDisabled=!1,b}return __extends(LegendView,d),LegendView.prototype.init=function(){this.group.add(this._contentGroup=new e_),this.group.add(this._selectorGroup=new e_),this._isFirstRender=!0},LegendView.prototype.getContentGroup=function(){return this._contentGroup},LegendView.prototype.getSelectorGroup=function(){return this._selectorGroup},LegendView.prototype.render=function(d,b,x){var T=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),d.get("show",!0)){var D=d.get("align"),z=d.get("orient");D&&"auto"!==D||(D="right"===d.get("left")&&"vertical"===z?"right":"left");var W=d.get("selector",!0),U=d.get("selectorPosition",!0);!W||U&&"auto"!==U||(U="horizontal"===z?"end":"start"),this.renderInner(D,d,b,x,W,z,U);var Y=createBoxLayoutReference(d,x).refContainer,Z=d.getBoxLayoutParams(),J=d.get("padding"),ee=getLayoutRect(Z,Y,J),te=this.layoutInner(d,D,ee,T,W,U),ne=getLayoutRect(H.i({width:te.width,height:te.height},Z),Y,J);this.group.x=ne.x-te.x,this.group.y=ne.y-te.y,this.group.markRedraw(),this.group.add(this._backgroundEl=makeBackground(te,d))}},LegendView.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},LegendView.prototype.renderInner=function(d,b,x,T,D,z,W){var U=this.getContentGroup(),Y=H.f(),Z=b.get("selectedMode"),J=b.get("triggerEvent"),ee=[];x.eachRawSeries((function(d){!d.get("legendHoverLink")&&ee.push(d.id)})),Qx(b.getData(),(function(D,z){var W=this,te=D.get("name");if(!this.newlineDisabled&&(""===te||"\n"===te)){var ne=new e_;return ne.newline=!0,void U.add(ne)}var ie=x.getSeriesByName(te)[0];if(!Y.get(te)){if(ie){var oe=ie.getData(),se=oe.getVisual("legendLineStyle")||{},le=oe.getVisual("legendIcon"),ce=oe.getVisual("style"),de=this._createItem(ie,te,z,D,b,d,se,ce,le,Z,T);de.on("click",Jx(dispatchSelectAction,te,null,T,ee)).on("mouseover",Jx(dispatchHighlightAction,ie.name,null,T,ee)).on("mouseout",Jx(dispatchDownplayAction,ie.name,null,T,ee)),x.ssr&&de.eachChild((function(d){var b=Or(d);b.seriesIndex=ie.seriesIndex,b.dataIndex=z,b.ssrType="legend"})),J&&de.eachChild((function(d){W.packEventData(d,b,ie,z,te)})),Y.set(te,!0)}else x.eachRawSeries((function(W){var U=this;if(!Y.get(te)&&W.legendVisualProvider){var ne=W.legendVisualProvider;if(!ne.containName(te))return;var ie=ne.indexOfName(te),oe=ne.getItemVisual(ie,"style"),se=ne.getItemVisual(ie,"legendIcon"),le=Object(yt.h)(oe.fill);le&&0===le[3]&&(le[3]=.2,oe=H.m(H.m({},oe),{fill:Object(yt.j)(le,"rgba")}));var ce=this._createItem(W,te,z,D,b,d,{},oe,se,Z,T);ce.on("click",Jx(dispatchSelectAction,null,te,T,ee)).on("mouseover",Jx(dispatchHighlightAction,null,te,T,ee)).on("mouseout",Jx(dispatchDownplayAction,null,te,T,ee)),x.ssr&&ce.eachChild((function(d){var b=Or(d);b.seriesIndex=W.seriesIndex,b.dataIndex=z,b.ssrType="legend"})),J&&ce.eachChild((function(d){U.packEventData(d,b,W,z,te)})),Y.set(te,!0)}}),this);0}}),this),D&&this._createSelector(D,b,T,z,W)},LegendView.prototype.packEventData=function(d,b,x,T,D){var z={componentType:"legend",componentIndex:b.componentIndex,dataIndex:T,value:D,seriesIndex:x.seriesIndex};Or(d).eventData=z},LegendView.prototype._createSelector=function(d,b,x,T,D){var z=this.getSelectorGroup();Qx(d,(function(d){var T=d.type,D=new Pr({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){x.dispatchAction({type:"all"===T?"legendAllSelect":"legendInverseSelect",legendId:b.id})}});z.add(D),setLabelStyle(D,{normal:b.getModel("selectorLabel"),emphasis:b.getModel(["emphasis","selectorLabel"])},{defaultText:d.title}),enableHoverEmphasis(D)}))},LegendView.prototype._createItem=function(d,b,x,T,D,z,W,U,Y,Z,J){var ee=d.visualDrawType,te=D.get("itemWidth"),ne=D.get("itemHeight"),ie=D.isSelected(b),oe=T.get("symbolRotate"),se=T.get("symbolKeepAspect"),le=T.get("icon"),ce=function(d,b,x,T,D,z,H){function handleCommonProps(d,b){"auto"===d.lineWidth&&(d.lineWidth=b.lineWidth>0?2:0),Qx(d,(function(x,T){"inherit"===d[T]&&(d[T]=b[T])}))}var W=b.getModel("itemStyle"),U=W.getItemStyle(),Y=0===d.lastIndexOf("empty",0)?"fill":"stroke",Z=W.getShallow("decal");U.decal=Z&&"inherit"!==Z?createOrUpdatePatternFromDecal(Z,H):T.decal,"
808inherit"===U.fill&&(U.fill=T[D]);"inherit"===U.stroke&&(U.stroke=T[Y]);"inherit"===U.opacity&&(U.opacity=("fill"===D?T:x).opacity);handleCommonProps(U,T);var J=b.getModel("lineStyle"),ee=J.getLineStyle();if(handleCommonProps(ee,x),"auto"===U.fill&&(U.fill=T.fill),"auto"===U.stroke&&(U.stroke=T.fill),"auto"===ee.stroke&&(ee.stroke=T.fill),!z){var te=b.get("inactiveBorderWidth"),ne=U[Y];U.lineWidth="auto"===te?T.lineWidth>0&&ne?2:0:U.lineWidth,U.fill=b.get("inactiveColor"),U.stroke=b.get("inactiveBorderColor"),ee.stroke=J.get("inactiveColor"),ee.lineWidth=J.get("inactiveWidth")}return{itemStyle:U,lineStyle:ee}}(Y=le||Y||"roundRect",T,W,U,ee,ie,J),de=new e_,he=T.getModel("textStyle");if(!H.w(d.getLegendIcon)||le&&"inherit"!==le){var pe="inherit"===le&&d.getData().getVisual("symbol")?"inherit"===oe?d.getData().getVisual("symbolRotate"):oe:0;de.add(function(d){var b=d.icon||"roundRect",x=symbol_createSymbol(b,0,0,d.itemWidth,d.itemHeight,d.itemStyle.fill,d.symbolKeepAspect);x.setStyle(d.itemStyle),x.rotation=(d.iconRotate||0)*Math.PI/180,x.setOrigin([d.itemWidth/2,d.itemHeight/2]),b.indexOf("empty")>-1&&(x.style.stroke=x.style.fill,x.style.fill=Fo.color.neutral00,x.style.lineWidth=2);return x}({itemWidth:te,itemHeight:ne,icon:Y,iconRotate:pe,itemStyle:ce.itemStyle,lineStyle:ce.lineStyle,symbolKeepAspect:se}))}else de.add(d.getLegendIcon({itemWidth:te,itemHeight:ne,icon:Y,iconRotate:oe,itemStyle:ce.itemStyle,lineStyle:ce.lineStyle,symbolKeepAspect:se}));var fe="left"===z?te+5:-5,ge=z,me=D.get("formatter"),ye=b;H.C(me)&&me?ye=me.replace("{name}",null!=b?b:""):H.w(me)&&(ye=me(b));var ve=ie?he.getTextColor():T.get("inactiveColor");de.add(new Pr({style:createTextStyle(he,{text:ye,x:fe,y:ne/2,fill:ve,align:ge,verticalAlign:"middle"},{inheritColor:ve})}));var xe=new _r({shape:de.getBoundingRect(),style:{fill:"transparent"}}),_e=T.getModel("tooltip");return _e.get("show")&&setTooltipConfig({el:xe,componentModel:D,itemName:b,itemTooltipOption:_e.option}),de.add(xe),de.eachChild((function(d){d.silent=!0})),xe.silent=!Z,this.getContentGroup().add(de),enableHoverEmphasis(de),de.__legendDataIndex=x,de},LegendView.prototype.layoutInner=function(d,b,x,T,D,z){var H=this.getContentGroup(),W=this.getSelectorGroup();Do(d.get("orient"),H,d.get("itemGap"),x.width,x.height);var U=H.getBoundingRect(),Y=[-U.x,-U.y];if(W.markRedraw(),H.markRedraw(),D){Do("horizontal",W,d.get("selectorItemGap",!0));var Z=W.getBoundingRect(),J=[-Z.x,-Z.y],ee=d.get("selectorButtonGap",!0),te=d.getOrient().index,ne=0===te?"width":"height",ie=0===te?"height":"width",oe=0===te?"y":"x";"end"===z?J[te]+=U[ne]+ee:Y[te]+=Z[ne]+ee,J[1-te]+=U[ie]/2-Z[ie]/2,W.x=J[0],W.y=J[1],H.x=Y[0],H.y=Y[1];var se={x:0,y:0};return se[ne]=U[ne]+ee+Z[ne],se[ie]=Math.max(U[ie],Z[ie]),se[oe]=Math.min(0,Z[oe]+J[1-te]),se}return H.x=Y[0],H.y=Y[1],this.group.getBoundingRect()},LegendView.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},LegendView.type="legend.plain",LegendView}(ns);function legendFilter(d){var b=d.findComponents({mainType:"legend"});b&&b.length&&d.filterSeries((function(d){for(var x=0;x<b.length;x++)if(!b[x].isSelected(d.name))return!1;return!0}))}function legendSelectActionHandler(d,b,x){var T="allSelect"===d||"inverseSelect"===d,D={},z=[];x.eachComponent({mainType:"legend",query:b},(function(x){T?x[d]():x[d](b.name),makeSelectedMap(x,D),z.push(x.componentIndex)}));var W={};return x.eachComponent("legend",(function(d){Object(H.k)(D,(function(b,x){d[b?"select":"unSelect"](x)})),makeSelectedMap(d,W)})),T?{selected:W,legendIndex:z}:{name:b.name,selected:W}}function makeSelectedMap(d,b){var x=b||{};return Object(H.k)(d.getData(),(function(b){var T=b.get("name");if("\n"!==T&&""!==T){var D=d.isSelected(T);Object(H.q)(x,T)?x[T]=x[T]&&D:x[T]=D}})),x}function installLegendPlain_install(d){d.registerComponentModel(Kx),d.registerComponentView(t_),d.registerProcessor(d.PRIORITY.PROCESSOR.SERIES_FILTER,legendFilter),d.registerSubTypeDefaulter("legend",(function(){return"plain"})),function(d){d.registerAction("legendToggleSelect","legendselectchanged",Object(H.h)(legendSelectActionHandler,"toggleSelected")),d.registerAction("legendAllSelect","legendselectall",Object(H.h)(legendSelectActionHandler,"allSelect")),d.registerAction("legendInverseSelect","legendinverseselect",Object(H.h)(legendSelectActionHandler,"inverseSelect")),d.registerAction("legendSelect","legendselected",Object(H.h)(legendSelectActionHandler,"select")),d.registerAction("legendUnSelect","legendunselected",Object(H.h)(legendSelectActionHandler,"unSelect"))}(d)}function ScrollableLegendModel_mergeAndNormalizeLayoutParams(d,b,x){var T=[1,1];T[d.getOrient().index]=0,mergeLayoutParam(b,x,{type:"box",ignoreSize:!!T})}var n_=function(d){function ScrollableLegendModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=ScrollableLegendModel.type,b}return __extends(ScrollableLegendModel,d),ScrollableLegendModel.prototype.setScrollDataIndex=function(d){this.option.scrollDataIndex=d},ScrollableLegendModel.prototype.init=function(b,x,T){var D=getLayoutParams(b);d.prototype.init.call(this,b,x,T),ScrollableLegendModel_mergeAndNormalizeLayoutParams(this,b,D)},ScrollableLegendModel.prototype.mergeOption=function(b,x){d.prototype.mergeOption.call(this,b,x),ScrollableLegendModel_mergeAndNormalizeLayoutParams(this,this.option,b)},ScrollableLegendModel.type="legend.scroll",ScrollableLegendModel.defaultOption=inheritDefaultOption(Kx.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:Fo.color.accent50,pageIconInactiveColor:Fo.color.accent10,pageIconSize:15,pageTextStyle:{color:Fo.color.tert
vendor: 5,341 bytes, line 808
808iary},animationDurationUpdate:800}),ScrollableLegendModel}(Kx),i_=Xn,r_=["width","height"],o_=["x","y"],a_=function(d){function ScrollableLegendView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=ScrollableLegendView.type,b.newlineDisabled=!0,b._currentIndex=0,b}return __extends(ScrollableLegendView,d),ScrollableLegendView.prototype.init=function(){d.prototype.init.call(this),this.group.add(this._containerGroup=new i_),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new i_)},ScrollableLegendView.prototype.resetInner=function(){d.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},ScrollableLegendView.prototype.renderInner=function(b,x,T,D,z,W,U){var Y=this;d.prototype.renderInner.call(this,b,x,T,D,z,W,U);var Z=this._controllerGroup,J=x.get("pageIconSize",!0),ee=H.t(J)?J:[J,J];createPageButton("pagePrev",0);var te=x.getModel("pageTextStyle");function createPageButton(d,b){var T=d+"DataIndex",z=createIcon(x.get("pageIcons",!0)[x.getOrient().name][b],{onclick:H.c(Y._pageGo,Y,T,x,D)},{x:-ee[0]/2,y:-ee[1]/2,width:ee[0],height:ee[1]});z.name=d,Z.add(z)}Z.add(new Pr({name:"pageText",style:{text:"xx/xx",fill:te.getTextColor(),font:te.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),createPageButton("pageNext",1)},ScrollableLegendView.prototype.layoutInner=function(d,b,x,T,D,z){var W=this.getSelectorGroup(),U=d.getOrient().index,Y=r_[U],Z=o_[U],J=r_[1-U],ee=o_[1-U];D&&Do("horizontal",W,d.get("selectorItemGap",!0));var te=d.get("selectorButtonGap",!0),ne=W.getBoundingRect(),ie=[-ne.x,-ne.y],oe=H.d(x);D&&(oe[Y]=x[Y]-ne[Y]-te);var se=this._layoutContentAndController(d,T,oe,U,Y,J,ee,Z);if(D){if("end"===z)ie[U]+=se[Y]+te;else{var le=ne[Y]+te;ie[U]-=le,se[Z]-=le}se[Y]+=ne[Y]+te,ie[1-U]+=se[ee]+se[J]/2-ne[J]/2,se[J]=Math.max(se[J],ne[J]),se[ee]=Math.min(se[ee],ne[ee]+ie[1-U]),W.x=ie[0],W.y=ie[1],W.markRedraw()}return se},ScrollableLegendView.prototype._layoutContentAndController=function(d,b,x,T,D,z,W,U){var Y=this.getContentGroup(),Z=this._containerGroup,J=this._controllerGroup;Do(d.get("orient"),Y,d.get("itemGap"),T?x.width:null,T?null:x.height),Do("horizontal",J,d.get("pageButtonItemGap",!0));var ee=Y.getBoundingRect(),te=J.getBoundingRect(),ne=this._showController=ee[D]>x[D],ie=[-ee.x,-ee.y];b||(ie[T]=Y[U]);var oe=[0,0],se=[-te.x,-te.y],le=H.P(d.get("pageButtonGap",!0),d.get("itemGap",!0));ne&&("end"===d.get("pageButtonPosition",!0)?se[T]+=x[D]-te[D]:oe[T]+=te[D]+le);se[1-T]+=ee[z]/2-te[z]/2,Y.setPosition(ie),Z.setPosition(oe),J.setPosition(se);var ce={x:0,y:0};if(ce[D]=ne?x[D]:ee[D],ce[z]=Math.max(ee[z],te[z]),ce[W]=Math.min(0,te[W]+se[1-T]),Z.__rectSize=x[D],ne){var de={x:0,y:0};de[D]=Math.max(x[D]-te[D]-le,0),de[z]=ce[z],Z.setClipPath(new _r({shape:de})),Z.__rectSize=de[D]}else J.eachChild((function(d){d.attr({invisible:!0,silent:!0})}));var he=this._getPageInfo(d);return null!=he.pageIndex&&updateProps(Y,{x:he.contentPosition[0],y:he.contentPosition[1]},ne?d:null),this._updatePageInfoView(d,he),ce},ScrollableLegendView.prototype._pageGo=function(d,b,x){var T=this._getPageInfo(b)[d];null!=T&&x.dispatchAction({type:"legendScroll",scrollDataIndex:T,legendId:b.id})},ScrollableLegendView.prototype._updatePageInfoView=function(d,b){var x=this._controllerGroup;H.k(["pagePrev","pageNext"],(function(T){var D=null!=b[T+"DataIndex"],z=x.childOfName(T);z&&(z.setStyle("fill",D?d.get("pageIconColor",!0):d.get("pageIconInactiveColor",!0)),z.cursor=D?"pointer":"default")}));var T=x.childOfName("pageText"),D=d.get("pageFormatter"),z=b.pageIndex,W=null!=z?z+1:0,U=b.pageCount;T&&D&&T.setStyle("text",H.C(D)?D.replace("{current}",null==W?"":W+"").replace("{total}",null==U?"":U+""):D({current:W,total:U}))},ScrollableLegendView.prototype._getPageInfo=function(d){var b=d.get("scrollDataIndex",!0),x=this.getContentGroup(),T=this._containerGroup.__rectSize,D=d.getOrient().index,z=r_[D],H=o_[D],W=this._findTargetItemIndex(b),U=x.children(),Y=U[W],Z=U.length,J=Z?1:0,ee={contentPosition:[x.x,x.y],pageCount:J,pageIndex:J-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!Y)return ee;var te=getItemInfo(Y);ee.contentPosition[D]=-te.s;for(var ne=W+1,ie=te,oe=te,se=null;ne<=Z;++ne)(!(se=getItemInfo(U[ne]))&&oe.e>ie.s+T||se&&!intersect(se,ie.s))&&(ie=oe.i>ie.i?oe:se)&&(null==ee.pageNextDataIndex&&(ee.pageNextDataIndex=ie.i),++ee.pageCount),oe=se;for(ne=W-1,ie=te,oe=te,se=null;ne>=-1;--ne)(se=getItemInfo(U[ne]))&&intersect(oe,se.s)||!(ie.i<oe.i)||(oe=ie,null==ee.pagePrevDataIndex&&(ee.pagePrevDataIndex=ie.i),++ee.pageCount,++ee.pageIndex),ie=se;return ee;function getItemInfo(d){if(d){var b=d.getBoundingRect(),x=b[H]+d[H];return{s:x,e:x+b[z],i:d.__legendDataIndex}}}function intersect(d,b){return d.e>=b&&d.s<=b+T}},ScrollableLegendView.prototype._findTargetItemIndex=function(d){return this._showController?(this.getContentGroup().eachChild((function(T,D){var z=T.__legendDataIndex;null==x&&null!=z&&(x=D),z===d&&(b=D)})),null!=b?b:x):0;var b,x},ScrollableLegendView.type="legend.scroll",ScrollableLegendView}(t_);function installLegendScroll_install(d){use(installLegendPlain_install),d.registerComponentModel(n_),d.registerComponentView(a_),function(d){d.registerAction("legendScroll","legendscroll",(function(d,b){var x=d.scrollDataIndex;
vendor: 5,099 bytes, line 808
808null!=x&&b.eachComponent({mainType:"legend",subType:"scroll",query:d},(function(d){d.setScrollDataIndex(x)}))}))}(d)}var s_=function(d){function InsideZoomModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=InsideZoomModel.type,b}return __extends(InsideZoomModel,d),InsideZoomModel.type="dataZoom.inside",InsideZoomModel.defaultOption=inheritDefaultOption(wb.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),InsideZoomModel}(wb),l_=makeInner();function setViewInfoToCoordSysRecord(d,b,x){l_(d).coordSysRecordMap.each((function(d){var T=d.dataZoomInfoMap.get(b.uid);T&&(T.getRange=x)}))}function disposeCoordSysRecord(d,b){if(b){d.removeKey(b.model.uid);var x=b.controller;x&&x.dispose()}}function roams_dispatchAction(d,b){d.isDisposed()||d.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:b})}function containsPoint(d,b,x,T){return d.coordinateSystem.containPoint([x,T])}function installDataZoomRoamProcessor(d){d.registerProcessor(d.PRIORITY.PROCESSOR.FILTER,(function(d,b){var x=l_(b),T=x.coordSysRecordMap||(x.coordSysRecordMap=Object(H.f)());T.each((function(d){d.dataZoomInfoMap=null})),d.eachComponent({mainType:"dataZoom",subType:"inside"},(function(d){var x=collectReferCoordSysModelInfo(d);Object(H.k)(x.infoList,(function(x){var D=x.model.uid,z=T.get(D)||T.set(D,function(d,b){var x={model:b,containsPoint:Object(H.h)(containsPoint,b),dispatchAction:Object(H.h)(roams_dispatchAction,d),dataZoomInfoMap:null,controller:null},T=x.controller=new Dp(d.getZr());return Object(H.k)(["pan","zoom","scrollMove"],(function(d){T.on(d,(function(b){var T=[];x.dataZoomInfoMap.each((function(D){if(b.isAvailableBehavior(D.model.option)){var z=(D.getRange||{})[d],H=z&&z(D.dzReferCoordSysInfo,x.model.mainType,x.controller,b);!D.model.get("disabled",!0)&&H&&T.push({dataZoomId:D.model.id,start:H[0],end:H[1]})}})),T.length&&x.dispatchAction(T)}))})),x}(b,x.model));(z.dataZoomInfoMap||(z.dataZoomInfoMap=Object(H.f)())).set(d.uid,{dzReferCoordSysInfo:x,model:d,getRange:null})}))})),T.each((function(d){var x,D=d.controller,z=d.dataZoomInfoMap;if(z){var H=z.keys()[0];null!=H&&(x=z.get(H))}if(x){var W=function(d,b,x){var T,D={type_true:2,type_move:1,type_false:0,type_undefined:-1},z=!0;return d.each((function(d){var b=d.model,x=!b.get("disabled",!0)&&(!b.get("zoomLock",!0)||"move");D["type_"+x]>D["type_"+T]&&(T=x),z=z&&b.get("preventDefaultMouseMove",!0)})),{controlType:T,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!z,api:x,zInfo:{component:b.model},triggerInfo:{roamTrigger:null,isInSelf:b.containsPoint}}}}(z,d,b);D.enable(W.controlType,W.opt),createOrUpdate(d,"dispatchAction",x.model.get("throttle",!0),"fixRate")}else disposeCoordSysRecord(T,d)}))}))}var u_=function(d){function InsideZoomView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type="dataZoom.inside",b}return __extends(InsideZoomView,d),InsideZoomView.prototype.render=function(b,x,T){d.prototype.render.apply(this,arguments),b.noTarget()?this._clear():(this.range=b.getPercentRange(),setViewInfoToCoordSysRecord(T,b,{pan:Object(H.c)(c_.pan,this),zoom:Object(H.c)(c_.zoom,this),scrollMove:Object(H.c)(c_.scrollMove,this)}))},InsideZoomView.prototype.dispose=function(){this._clear(),d.prototype.dispose.apply(this,arguments)},InsideZoomView.prototype._clear=function(){!function(d,b){for(var x=l_(d).coordSysRecordMap,T=x.keys(),D=0;D<T.length;D++){var z=T[D],H=x.get(z),W=H.dataZoomInfoMap;if(W){var U=b.uid;W.get(U)&&(W.removeKey(U),W.keys().length||disposeCoordSysRecord(x,H))}}}(this.api,this.dataZoomModel),this.range=null},InsideZoomView.type="dataZoom.inside",InsideZoomView}(Mb),c_={zoom:function(d,b,x,T){var D=this.range,z=D.slice(),H=d.axisModels[0];if(H){var W=d_[b](null,[T.originX,T.originY],H,x,d),U=(W.signal>0?W.pixelStart+W.pixelLength-W.pixel:W.pixel-W.pixelStart)/W.pixelLength*(z[1]-z[0])+z[0],Y=Math.max(1/T.scale,0);z[0]=(z[0]-U)*Y+U,z[1]=(z[1]-U)*Y+U;var Z=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return sliderMove(0,z,[0,100],0,Z.minSpan,Z.maxSpan),this.range=z,D[0]!==z[0]||D[1]!==z[1]?z:void 0}},pan:makeMover((function(d,b,x,T,D,z){var H=d_[T]([z.oldX,z.oldY],[z.newX,z.newY],b,D,x);return H.signal*(d[1]-d[0])*H.pixel/H.pixelLength})),scrollMove:makeMover((function(d,b,x,T,D,z){return d_[T]([0,0],[z.scrollDelta,z.scrollDelta],b,D,x).signal*(d[1]-d[0])*z.scrollDelta}))};function makeMover(d){return function(b,x,T,D){var z=this.range,H=z.slice(),W=b.axisModels[0];if(W)return sliderMove(d(H,W,b,x,T,D),H,[0,100],"all"),this.range=H,z[0]!==H[0]||z[1]!==H[1]?H:void 0}}var d_={grid:function(d,b,x,T,D){var z=x.axis,H={},W=D.model.coordinateSystem.getRect();return d=d||[0,0],"x"===z.dim?(H.pixel=b[0]-d[0],H.pixelLength=W.width,H.pixelStart=W.x,H.signal=z.inverse?1:-1):(H.pixel=b[1]-d[1],H.pixelLength=W.height,H.pixelStart=W.y,H.signal=z.inverse?-1:1),H},polar:function(d,b,x,T,D){var z=x.axis,H={},W=D.model.coordinateSystem,U=W.getRadiusAxis().getExtent(),Y=W.getAngleAxis().getExtent();
vendor: 4,934 bytes, line 808
808return d=d?W.pointToCoord(d):[0,0],b=W.pointToCoord(b),"radiusAxis"===x.mainType?(H.pixel=b[0]-d[0],H.pixelLength=U[1]-U[0],H.pixelStart=U[0],H.signal=z.inverse?1:-1):(H.pixel=b[1]-d[1],H.pixelLength=Y[1]-Y[0],H.pixelStart=Y[0],H.signal=z.inverse?-1:1),H},singleAxis:function(d,b,x,T,D){var z=x.axis,H=D.model.coordinateSystem.getRect(),W={};return d=d||[0,0],"horizontal"===z.orient?(W.pixel=b[0]-d[0],W.pixelLength=H.width,W.pixelStart=H.x,W.signal=z.inverse?1:-1):(W.pixel=b[1]-d[1],W.pixelLength=H.height,W.pixelStart=H.y,W.signal=z.inverse?-1:1),W}},h_=u_;function installDataZoomInside_install(d){installCommon(d),d.registerComponentModel(s_),d.registerComponentView(h_),installDataZoomRoamProcessor(d)}var p_=function(d){function SliderZoomModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=SliderZoomModel.type,b}return __extends(SliderZoomModel,d),SliderZoomModel.type="dataZoom.slider",SliderZoomModel.layoutMode="box",SliderZoomModel.defaultOption=inheritDefaultOption(wb.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:Fo.color.accent10,borderRadius:0,backgroundColor:Fo.color.transparent,dataBackground:{lineStyle:{color:Fo.color.accent30,width:.5},areaStyle:{color:Fo.color.accent20,opacity:.2}},selectedDataBackground:{lineStyle:{color:Fo.color.accent40,width:.5},areaStyle:{color:Fo.color.accent20,opacity:.3}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:Fo.color.neutral00,borderColor:Fo.color.accent20},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:Fo.color.accent40,opacity:.5},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:Fo.color.tertiary},brushSelect:!0,brushStyle:{color:Fo.color.accent30,opacity:.3},emphasis:{handleLabel:{show:!0},handleStyle:{borderColor:Fo.color.accent40},moveHandleStyle:{opacity:.8}},defaultLocationEdgeGap:15}),SliderZoomModel}(wb),f_=_r,g_=["line","bar","candlestick","scatter"],m_={easing:"cubicOut",duration:100,delay:0};var y_=function(d){function SliderZoomView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=SliderZoomView.type,b._displayables={},b}return __extends(SliderZoomView,d),SliderZoomView.prototype.init=function(d,b){this.api=b,this._onBrush=Object(H.c)(this._onBrush,this),this._onBrushEnd=Object(H.c)(this._onBrushEnd,this)},SliderZoomView.prototype.render=function(b,x,T,D){if(d.prototype.render.apply(this,arguments),createOrUpdate(this,"_dispatchZoomAction",b.get("throttle"),"fixRate"),this._orient=b.getOrient(),!1!==b.get("show")){if(b.noTarget())return this._clear(),void this.group.removeAll();D&&"dataZoom"===D.type&&D.from===this.uid||this._buildView(),this._updateView()}else this.group.removeAll()},SliderZoomView.prototype.dispose=function(){this._clear(),d.prototype.dispose.apply(this,arguments)},SliderZoomView.prototype._clear=function(){clear(this,"_dispatchZoomAction");var d=this.api.getZr();d.off("mousemove",this._onBrush),d.off("mouseup",this._onBrushEnd)},SliderZoomView.prototype._buildView=function(){var d=this.group;d.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var b=this._displayables.sliderGroup=new Xn;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),d.add(b),this._positionGroup()},SliderZoomView.prototype._resetLocation=function(){var d=this.dataZoomModel,b=this.api,x=d.get("brushSelect")?7:0,T=createBoxLayoutReference(d,b).refContainer,D=this._findCoordRect(),z=d.get("defaultLocationEdgeGap",!0)||0,W="horizontal"===this._orient?{right:T.width-D.x-D.width,top:T.height-30-z-x,width:D.width,height:30}:{right:z,top:D.y,width:30,height:D.height},U=getLayoutParams(d.option);Object(H.k)(["right","top","width","height"],(function(d){"ph"===U[d]&&(U[d]=W[d])}));var Y=getLayoutRect(U,T);this._location={x:Y.x,y:Y.y},this._size=[Y.width,Y.height],"vertical"===this._orient&&this._size.reverse()},SliderZoomView.prototype._positionGroup=function(){var d=this.group,b=this._location,x=this._orient,T=this.dataZoomModel.getFirstTargetAxisModel(),D=T&&T.get("inverse"),z=this._displayables.sliderGroup,H=(this._dataShadowInfo||{}).otherAxisInverse;z.attr("horizontal"!==x||D?"horizontal"===x&&D?{scaleY:H?1:-1,scaleX:-1}:"vertical"!==x||D?{scaleY:H?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:H?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:H?1:-1,scaleX:1});
vendor: 4,136 bytes, line 808
808var W=d.getBoundingRect([z]);d.x=b.x-W.x,d.y=b.y-W.y,d.markRedraw()},SliderZoomView.prototype._getViewExtent=function(){return[0,this._size[0]]},SliderZoomView.prototype._renderBackground=function(){var d=this.dataZoomModel,b=this._size,x=this._displayables.sliderGroup,T=d.get("brushSelect");x.add(new f_({silent:!0,shape:{x:0,y:0,width:b[0],height:b[1]},style:{fill:d.get("backgroundColor")},z2:-40}));var D=new f_({shape:{x:0,y:0,width:b[0],height:b[1]},style:{fill:"transparent"},z2:0,onclick:Object(H.c)(this._onClickPanel,this)}),z=this.api.getZr();T?(D.on("mousedown",this._onBrushStart,this),D.cursor="crosshair",z.on("mousemove",this._onBrush),z.on("mouseup",this._onBrushEnd)):(z.off("mousemove",this._onBrush),z.off("mouseup",this._onBrushEnd)),x.add(D)},SliderZoomView.prototype._renderDataShadow=function(){var d=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],d){var b=this._size,x=this._shadowSize||[],T=d.series,D=T.getRawData(),z=T.getShadowDim&&T.getShadowDim(),H=z&&D.getDimensionInfo(z)?T.getShadowDim():d.otherDim;if(null!=H){var W=this._shadowPolygonPts,U=this._shadowPolylinePts;if(D!==this._shadowData||H!==this._shadowDim||b[0]!==x[0]||b[1]!==x[1]){var Y=D.getDataExtent(d.thisDim),Z=D.getDataExtent(H),J=.3*(Z[1]-Z[0]);Z=[Z[0]-J,Z[1]+J];var ee,te=[0,b[1]],ne=[0,b[0]],ie=[[b[0],0],[0,0]],oe=[],se=ne[1]/Math.max(1,D.count()-1),le=b[0]/(Y[1]-Y[0]),ce="time"===d.thisAxis.type,de=-se,he=Math.round(D.count()/b[0]);D.each([d.thisDim,H],(function(d,b,x){if(he>0&&x%he)ce||(de+=se);else{de=ce?(+d-Y[0])*le:de+se;var T=null==b||isNaN(b)||""===b,D=T?0:linearMap(b,Z,te,!0);T&&!ee&&x?(ie.push([ie[ie.length-1][0],0]),oe.push([oe[oe.length-1][0],0])):!T&&ee&&(ie.push([de,0]),oe.push([de,0])),T||(ie.push([de,D]),oe.push([de,D])),ee=T}})),W=this._shadowPolygonPts=ie,U=this._shadowPolylinePts=oe}this._shadowData=D,this._shadowDim=H,this._shadowSize=[b[0],b[1]];for(var pe=this.dataZoomModel,fe=0;fe<3;fe++){var ge=createDataShadowGroup(1===fe);this._displayables.sliderGroup.add(ge),this._displayables.dataShadowSegs.push(ge)}}}function createDataShadowGroup(d){var b=pe.getModel(d?"selectedDataBackground":"dataBackground"),x=new Xn,T=new Es({shape:{points:W},segmentIgnoreThreshold:1,style:b.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),D=new Rs({shape:{points:U},segmentIgnoreThreshold:1,style:b.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return x.add(T),x.add(D),x}},SliderZoomView.prototype._prepareDataShadowInfo=function(){var d=this.dataZoomModel,b=d.get("showDataShadow");if(!1!==b){var x,T=this.ecModel;return d.eachTargetAxis((function(D,z){var W=d.getAxisProxy(D,z).getTargetSeriesModels();Object(H.k)(W,(function(d){if(!(x||!0!==b&&Object(H.r)(g_,d.get("type"))<0)){var W,U=T.getComponent(getAxisMainType(D),z).axis,Y=function(d){return{x:"y",y:"x",radius:"angle",angle:"radius"}[d]}(D),Z=d.coordinateSystem;null!=Y&&Z.getOtherAxis&&(W=Z.getOtherAxis(U).inverse),Y=d.getData().mapDimension(Y);var J=d.getData().mapDimension(D);x={thisAxis:U,series:d,thisDim:J,otherDim:Y,otherAxisInverse:W}}}),this)}),this),x}},SliderZoomView.prototype._renderHandle=function(){var d=this.group,b=this._displayables,x=b.handles=[null,null],T=b.handleLabels=[null,null],D=this._displayables.sliderGroup,z=this._size,W=this.dataZoomModel,U=this.api,Y=W.get("borderRadius")||0,Z=W.get("brushSelect"),J=b.filler=new f_({silent:Z,style:{fill:W.get("fillerColor")},textConfig:{position:"inside"}});D.add(J),D.add(new f_({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:z[0],height:z[1],r:Y},style:{stroke:W.get("dataBackgroundColor")||W.get("borderColor"),lineWidth:1,fill:Fo.color.transparent}})),Object(H.k)([0,1],(function(b){var z=W.get("handleIcon");!Jl[z]&&z.indexOf("path://")<0&&z.indexOf("image://")<0&&(z="path://"+z);var U,Y=symbol_createSymbol(z,-1,0,2,2,null,!0);Y.attr({cursor:(U=this._orient,"vertical"===U?"ns-resize":"ew-resize"),draggable:!0,drift:Object(H.c)(this._onDragMove,this,b),ondragend:Object(H.c)(this._onDragEnd,this),onmouseover:Object(H.c)(this._showDataInfo,this,!0),onmouseout:Object(H.c)(this._showDataInfo,this,!1),z2:5});
vendor: 4,650 bytes, line 808
808var Z=Y.getBoundingRect(),J=W.get("handleSize");this._handleHeight=number_parsePercent(J,this._size[1]),this._handleWidth=Z.width/Z.height*this._handleHeight,Y.setStyle(W.getModel("handleStyle").getItemStyle()),Y.style.strokeNoScale=!0,Y.rectHover=!0,Y.ensureState("emphasis").style=W.getModel(["emphasis","handleStyle"]).getItemStyle(),enableHoverEmphasis(Y);var ee=W.get("handleColor");null!=ee&&(Y.style.fill=ee),D.add(x[b]=Y);var te=W.getModel("textStyle"),ne=(W.get("handleLabel")||{}).show||!1;d.add(T[b]=new Pr({silent:!0,invisible:!ne,style:createTextStyle(te,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:te.getTextColor(),font:te.getFont()}),z2:10}))}),this);var ee=J;if(Z){var te=number_parsePercent(W.get("moveHandleSize"),z[1]),ne=b.moveHandle=new _r({style:W.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:z[1]-.5,height:te}}),ie=.8*te,oe=b.moveHandleIcon=symbol_createSymbol(W.get("moveHandleIcon"),-ie/2,-ie/2,ie,ie,Fo.color.neutral00,!0);oe.silent=!0,oe.y=z[1]+te/2-.5,ne.ensureState("emphasis").style=W.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var se=Math.min(z[1]/2,Math.max(te,10));(ee=b.moveZone=new _r({invisible:!0,shape:{y:z[1]-se,height:te+se}})).on("mouseover",(function(){U.enterEmphasis(ne)})).on("mouseout",(function(){U.leaveEmphasis(ne)})),D.add(ne),D.add(oe),D.add(ee)}ee.attr({draggable:!0,cursor:"default",drift:Object(H.c)(this._onDragMove,this,"all"),ondragstart:Object(H.c)(this._showDataInfo,this,!0),ondragend:Object(H.c)(this._onDragEnd,this),onmouseover:Object(H.c)(this._showDataInfo,this,!0),onmouseout:Object(H.c)(this._showDataInfo,this,!1)})},SliderZoomView.prototype._resetInterval=function(){var d=this._range=this.dataZoomModel.getPercentRange(),b=this._getViewExtent();this._handleEnds=[linearMap(d[0],[0,100],b,!0),linearMap(d[1],[0,100],b,!0)]},SliderZoomView.prototype._updateInterval=function(d,b){var x=this.dataZoomModel,T=this._handleEnds,D=this._getViewExtent(),z=x.findRepresentativeAxisProxy().getMinMaxSpan(),H=[0,100];sliderMove(b,T,D,x.get("zoomLock")?"all":d,null!=z.minSpan?linearMap(z.minSpan,H,D,!0):null,null!=z.maxSpan?linearMap(z.maxSpan,H,D,!0):null);var W=this._range,U=this._range=asc([linearMap(T[0],D,H,!0),linearMap(T[1],D,H,!0)]);return!W||W[0]!==U[0]||W[1]!==U[1]},SliderZoomView.prototype._updateView=function(d){var b=this._displayables,x=this._handleEnds,T=asc(x.slice()),D=this._size;Object(H.k)([0,1],(function(d){var T=b.handles[d],z=this._handleHeight;T.attr({scaleX:z/2,scaleY:z/2,x:x[d]+(d?-1:1),y:D[1]/2-z/2})}),this),b.filler.setShape({x:T[0],y:0,width:T[1]-T[0],height:D[1]});var z={x:T[0],width:T[1]-T[0]};b.moveHandle&&(b.moveHandle.setShape(z),b.moveZone.setShape(z),b.moveZone.getBoundingRect(),b.moveHandleIcon&&b.moveHandleIcon.attr("x",z.x+z.width/2));for(var W=b.dataShadowSegs,U=[0,T[0],T[1],D[0]],Y=0;Y<W.length;Y++){var Z=W[Y],J=Z.getClipPath();J||(J=new _r,Z.setClipPath(J)),J.setShape({x:U[Y],y:0,width:U[Y+1]-U[Y],height:D[1]})}this._updateDataInfo(d)},SliderZoomView.prototype._updateDataInfo=function(d){var b=this.dataZoomModel,x=this._displayables,T=x.handleLabels,D=this._orient,z=["",""];if(b.get("showDetail")){var H=b.findRepresentativeAxisProxy();if(H){var W=H.getAxisModel().axis,U=this._range,Y=d?H.calculateDataWindow({start:U[0],end:U[1]}).valueWindow:H.getDataValueWindow();z=[this._formatLabel(Y[0],W),this._formatLabel(Y[1],W)]}}var Z=asc(this._handleEnds.slice());function setLabel(d){var b=getTransform(x.handles[d].parent,this.group),H=transformDirection(0===d?"right":"left",b),W=this._handleWidth/2+5,U=graphic_applyTransform([Z[d]+(0===d?-W:W),this._size[1]/2],b);T[d].setStyle({x:U[0],y:U[1],verticalAlign:"horizontal"===D?"middle":H,align:"horizontal"===D?H:"center",text:z[d]})}setLabel.call(this,0),setLabel.call(this,1)},SliderZoomView.prototype._formatLabel=function(d,b){var x=this.dataZoomModel,T=x.get("labelFormatter"),D=x.get("labelPrecision");null!=D&&"auto"!==D||(D=b.getPixelPrecision());var z=null==d||isNaN(d)?"":"category"===b.type||"time"===b.type?b.scale.getLabel({value:Math.round(d)}):d.toFixed(Math.min(D,20));return Object(H.w)(T)?T(d,z):Object(H.C)(T)?T.replace("{value}",z):z},SliderZoomView.prototype._showDataInfo=function(d){var b=(this.dataZoomModel.get("handleLabel")||{}).show||!1,x=this.dataZoomModel.getModel(["emphasis","handleLabel"]).get("show")||!1,T=d||this._dragging?x:b,D=this._displayables,z=D.handleLabels;z[0].attr("invisible",!T),z[1].attr("invisible",!T),D.moveHandle&&this.api[T?"enterEmphasis":"leaveEmphasis"](D.moveHandle,1)},SliderZoomView.prototype._onDragMove=function(d,b,x,T){this._dragging=!0,event_stop(T.event);
vendor: 6,338 bytes, line 808
808var D=graphic_applyTransform([b,x],this._displayables.sliderGroup.getLocalTransform(),!0),z=this._updateInterval(d,D[0]),H=this.dataZoomModel.get("realtime");this._updateView(!H),z&&H&&this._dispatchZoomAction(!0)},SliderZoomView.prototype._onDragEnd=function(){this._dragging=!1,this._showDataInfo(!1),!this.dataZoomModel.get("realtime")&&this._dispatchZoomAction(!1)},SliderZoomView.prototype._onClickPanel=function(d){var b=this._size,x=this._displayables.sliderGroup.transformCoordToLocal(d.offsetX,d.offsetY);if(!(x[0]<0||x[0]>b[0]||x[1]<0||x[1]>b[1])){var T=this._handleEnds,D=(T[0]+T[1])/2,z=this._updateInterval("all",x[0]-D);this._updateView(),z&&this._dispatchZoomAction(!1)}},SliderZoomView.prototype._onBrushStart=function(d){var b=d.offsetX,x=d.offsetY;this._brushStart=new ce(b,x),this._brushing=!0,this._brushStartTime=+new Date},SliderZoomView.prototype._onBrushEnd=function(d){if(this._brushing){var b=this._displayables.brushRect;if(this._brushing=!1,b){b.attr("ignore",!0);var x=b.shape;if(!(+new Date-this._brushStartTime<200&&Math.abs(x.width)<5)){var T=this._getViewExtent(),D=[0,100],z=this._handleEnds=[x.x,x.x+x.width],H=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();sliderMove(0,z,T,0,null!=H.minSpan?linearMap(H.minSpan,D,T,!0):null,null!=H.maxSpan?linearMap(H.maxSpan,D,T,!0):null),this._range=asc([linearMap(z[0],T,D,!0),linearMap(z[1],T,D,!0)]),this._updateView(),this._dispatchZoomAction(!1)}}}},SliderZoomView.prototype._onBrush=function(d){this._brushing&&(event_stop(d.event),this._updateBrushRect(d.offsetX,d.offsetY))},SliderZoomView.prototype._updateBrushRect=function(d,b){var x=this._displayables,T=this.dataZoomModel,D=x.brushRect;D||(D=x.brushRect=new f_({silent:!0,style:T.getModel("brushStyle").getItemStyle()}),x.sliderGroup.add(D)),D.attr("ignore",!1);var z=this._brushStart,H=this._displayables.sliderGroup,W=H.transformCoordToLocal(d,b),U=H.transformCoordToLocal(z.x,z.y),Y=this._size;W[0]=Math.max(Math.min(Y[0],W[0]),0),D.setShape({x:U[0],y:0,width:W[0]-U[0],height:Y[1]})},SliderZoomView.prototype._dispatchZoomAction=function(d){var b=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:d?m_:null,start:b[0],end:b[1]})},SliderZoomView.prototype._findCoordRect=function(){var d,b=collectReferCoordSysModelInfo(this.dataZoomModel).infoList;if(!d&&b.length){var x=b[0].model.coordinateSystem;d=x.getRect&&x.getRect()}if(!d){var T=this.api.getWidth(),D=this.api.getHeight();d={x:.2*T,y:.2*D,width:.6*T,height:.6*D}}return d},SliderZoomView.type="dataZoom.slider",SliderZoomView}(Mb);function installDataZoomSlider_install(d){d.registerComponentModel(p_),d.registerComponentView(y_),installCommon(d)}var v_={get:function(d,b,x){var T=H.d((b_[d]||{})[b]);return x&&H.t(T)?T[T.length-1]:T}},b_={color:{active:["#006edd","#e0ffff"],inactive:[Fo.color.transparent]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},x_=v_,w_=Ff.mapVisual,S_=Ff.eachVisual,M_=H.t,C_=H.k,T_=asc,k_=linearMap,A_=function(d){function VisualMapModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=VisualMapModel.type,b.stateList=["inRange","outOfRange"],b.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],b.layoutMode={type:"box",ignoreSize:!0},b.dataBound=[-1/0,1/0],b.targetVisuals={},b.controllerVisuals={},b}return __extends(VisualMapModel,d),VisualMapModel.prototype.init=function(d,b,x){this.mergeDefaultAndTheme(d,x)},VisualMapModel.prototype.optionUpdated=function(d,b){var x=this.option;!b&&replaceVisualOption(x,d,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},VisualMapModel.prototype.resetVisual=function(d){var b=this.stateList;d=H.c(d,this),this.controllerVisuals=createVisualMappings(this.option.controller,b,d),this.targetVisuals=createVisualMappings(this.option.target,b,d)},VisualMapModel.prototype.getItemSymbol=function(){return null},VisualMapModel.prototype.getTargetSeriesIndices=function(){var d=this.option.seriesId,b=this.option.seriesIndex;null==b&&null==d&&(b="all");var x=queryReferringComponents(this.ecModel,"series",{index:b,id:d},{useDefault:!1,enableAll:!0,enableNone:!1}).models;return H.H(x,(function(d){return d.componentIndex}))},VisualMapModel.prototype.eachTargetSeries=function(d,b){H.k(this.getTargetSeriesIndices(),(function(x){var T=this.ecModel.getSeriesByIndex(x);T&&d.call(b,T)}),this)},VisualMapModel.prototype.isTargetSeries=function(d){var b=!1;return this.eachTargetSeries((function(x){x===d&&(b=!0)})),b},VisualMapModel.prototype.formatValueText=function(d,b,x){var T,D=this.option,z=D.precision,W=this.dataBound,U=D.formatter;x=x||["<",">"],H.t(d)&&(d=d.slice(),T=!0);var Y=b?d:T?[toFixed(d[0]),toFixed(d[1])]:toFixed(d);return H.C(U)?U.replace("{value}",T?Y[0]:Y).replace("{value2}",T?Y[1]:Y):H.w(U)?T?U(d[0],d[1]):U(d):T?d[0]===W[0]?x[0]+" "+Y[1]:d[1]===W[1]?x[1]+" "+Y[0]:Y[0]+" - "+Y[1]:Y;function toFixed(d){return d===W[0]?"min":d===W[1]?"max":(+d).toFixed(Math.min(z,20))}},VisualMapModel.prototype.resetExtent=function(){var d=this.option,b=T_([d.min,d.max]);this._dataExtent=b},VisualMapModel.prototype.getDataDimensionIndex=function(d){var b=this.option.dimension;if(null!=b)return d.getDimensionIndex(b);for(var x=d.dimensions,T=x.length-1;T>=0;T--){var D=x[T],z=d.getDimensionInfo(D);if(!z.isCalculationCoord)return z.storeDimIndex}},VisualMapModel.prototype.getExtent=function(){return this._dataExtent.slice()},VisualMapModel.prototype.completeVisualOption=function(){var d=this.ecModel,b=this.option,x={inRange:b.inRange,outOfRange:b.outOfRange},T=b.target||(b.target={}),D=b.controller||(b.controller={});H.I(T,x),H.I(D,x);var z=this.isCategory();function completeSingle(x){M_(b.color)&&!x.inRange&&(x.inRange={color:b.color.slice().reverse()}),x.inRange=x.inRange||{color:d.get("gradientColor")}}completeSingle.call(this,T),completeSingle.call(this,D),function(d,b,x){var T=d[b],D=d[x];T&&!D&&(D=d[x]={},C_(T,(function(d,b){if(Ff.isValidType(b)){var x=x_.get(b,"inactive",z);
vendor: 5,363 bytes, line 808
808null!=x&&(D[b]=x,"color"!==b||D.hasOwnProperty("opacity")||D.hasOwnProperty("colorAlpha")||(D.opacity=[0,0]))}})))}.call(this,T,"inRange","outOfRange"),function(d){var b=(d.inRange||{}).symbol||(d.outOfRange||{}).symbol,x=(d.inRange||{}).symbolSize||(d.outOfRange||{}).symbolSize,T=this.get("inactiveColor"),D=this.getItemSymbol()||"roundRect";C_(this.stateList,(function(W){var U=this.itemSize,Y=d[W];Y||(Y=d[W]={color:z?T:[T]}),null==Y.symbol&&(Y.symbol=b&&H.d(b)||(z?D:[D])),null==Y.symbolSize&&(Y.symbolSize=x&&H.d(x)||(z?U[0]:[U[0],U[0]])),Y.symbol=w_(Y.symbol,(function(d){return"none"===d?D:d}));var Z=Y.symbolSize;if(null!=Z){var J=-1/0;S_(Z,(function(d){d>J&&(J=d)})),Y.symbolSize=w_(Z,(function(d){return k_(d,[0,J],[0,U[0]],!0)}))}}),this)}.call(this,D)},VisualMapModel.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},VisualMapModel.prototype.isCategory=function(){return!!this.option.categories},VisualMapModel.prototype.setSelected=function(d){},VisualMapModel.prototype.getSelected=function(){return null},VisualMapModel.prototype.getValueState=function(d){return null},VisualMapModel.prototype.getVisualMeta=function(d){return null},VisualMapModel.type="visualMap",VisualMapModel.dependencies=["series"],VisualMapModel.defaultOption={show:!0,z:4,min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:Fo.color.transparent,borderColor:Fo.color.borderTint,contentColor:Fo.color.theme[0],inactiveColor:Fo.color.disabled,borderWidth:0,padding:Fo.size.m,textGap:10,precision:0,textStyle:{color:Fo.color.secondary}},VisualMapModel}(Bo),P_=[20,140];function getColorStopValues(d,b,x){if(x[0]===x[1])return x.slice();for(var T=(x[1]-x[0])/200,D=x[0],z=[],H=0;H<=200&&D<x[1];H++)z.push(D),D+=T;return z.push(x[1]),z}var O_=function(d){function ContinuousModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=ContinuousModel.type,b}return __extends(ContinuousModel,d),ContinuousModel.prototype.optionUpdated=function(b,x){d.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual((function(d){d.mappingMethod="linear",d.dataExtent=this.getExtent()})),this._resetRange()},ContinuousModel.prototype.resetItemSize=function(){d.prototype.resetItemSize.apply(this,arguments);var b=this.itemSize;(null==b[0]||isNaN(b[0]))&&(b[0]=P_[0]),(null==b[1]||isNaN(b[1]))&&(b[1]=P_[1])},ContinuousModel.prototype._resetRange=function(){var d=this.getExtent(),b=this.option.range;!b||b.auto?(d.auto=1,this.option.range=d):H.t(b)&&(b[0]>b[1]&&b.reverse(),b[0]=Math.max(b[0],d[0]),b[1]=Math.min(b[1],d[1]))},ContinuousModel.prototype.completeVisualOption=function(){d.prototype.completeVisualOption.apply(this,arguments),H.k(this.stateList,(function(d){var b=this.option.controller[d].symbolSize;b&&b[0]!==b[1]&&(b[0]=b[1]/3)}),this)},ContinuousModel.prototype.setSelected=function(d){this.option.range=d.slice(),this._resetRange()},ContinuousModel.prototype.getSelected=function(){var d=this.getExtent(),b=asc((this.get("range")||[]).slice());return b[0]>d[1]&&(b[0]=d[1]),b[1]>d[1]&&(b[1]=d[1]),b[0]<d[0]&&(b[0]=d[0]),b[1]<d[0]&&(b[1]=d[0]),b},ContinuousModel.prototype.getValueState=function(d){var b=this.option.range,x=this.getExtent(),T=H.P(this.option.unboundedRange,!0);return(T&&b[0]<=x[0]||b[0]<=d)&&(T&&b[1]>=x[1]||d<=b[1])?"inRange":"outOfRange"},ContinuousModel.prototype.findTargetDataIndices=function(d){var b=[];return this.eachTargetSeries((function(x){var T=[],D=x.getData();D.each(this.getDataDimensionIndex(D),(function(b,x){d[0]<=b&&b<=d[1]&&T.push(x)}),this),b.push({seriesId:x.id,dataIndex:T})}),this),b},ContinuousModel.prototype.getVisualMeta=function(d){var b=getColorStopValues(this,"outOfRange",this.getExtent()),x=getColorStopValues(this,"inRange",this.option.range.slice()),T=[];function setStop(b,x){T.push({value:b,color:d(b,x)})}for(var D=0,z=0,H=x.length,W=b.length;z<W&&(!x.length||b[z]<=x[0]);z++)b[z]<x[D]&&setStop(b[z],"outOfRange");for(var U=1;D<H;D++,U=0)U&&T.length&&setStop(x[D],"outOfRange"),setStop(x[D],"inRange");for(U=1;z<W;z++)(!x.length||x[x.length-1]<b[z])&&(U&&(T.length&&setStop(T[T.length-1].value,"outOfRange"),U=0),setStop(b[z],"outOfRange"));var Y=T.length;return{stops:T,outerColors:[Y?T[0].color:"transparent",Y?T[Y-1].color:"transparent"]}},ContinuousModel.type="visualMap.continuous",ContinuousModel.defaultOption=inheritDefaultOption(A_.defaultOption,{align:"auto",calculable:!1,hoverLink:!0,realtime:!0,handleIcon:"path://M-11.39,9.77h0a3.5,3.5,0,0,1-3.5,3.5h-22a3.5,3.5,0,0,1-3.5-3.5h0a3.5,3.5,0,0,1,3.5-3.5h22A3.5,3.5,0,0,1-11.39,9.77Z",handleSize:"120%",handleStyle:{borderColor:Fo.color.neutral00,borderWidth:1},indicatorIcon:"circle",indicatorSize:"50%",indicatorStyle:{borderColor:Fo.color.neutral00,borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:Fo.color.shadow}}),ContinuousModel}(A_),I_=function(d){function VisualMapView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=VisualMapView.type,b.autoPositionValues={left:1,right:1,top:1,bottom:1},b}return __extends(VisualMapView,d),VisualMapView.prototype.init=function(d,b){this.ecModel=d,this.api=b},VisualMapView.prototype.render=function(d,b,x,T){this.visualMapModel=d,!1!==d.get("show")?this.doRender(d,b,x,T):this.group.removeAll()}
vendor: 9,098 bytes, line 808
808,VisualMapView.prototype.renderBackground=function(d){var b=this.visualMapModel,x=yo(b.get("padding")||0),T=d.getBoundingRect();d.add(new _r({z2:-1,silent:!0,shape:{x:T.x-x[3],y:T.y-x[0],width:T.width+x[3]+x[1],height:T.height+x[0]+x[2]},style:{fill:b.get("backgroundColor"),stroke:b.get("borderColor"),lineWidth:b.get("borderWidth")}}))},VisualMapView.prototype.getControllerVisual=function(d,b,x){var T=(x=x||{}).forceState,D=this.visualMapModel,z={};if("color"===b){var W=D.get("contentColor");z.color=W}function getter(d){return z[d]}function setter(d,b){z[d]=b}var U=D.controllerVisuals[T||D.getValueState(d)],Y=Ff.prepareVisualTypes(U);return H.k(Y,(function(T){var D=U[T];x.convertOpacityToAlpha&&"opacity"===T&&(T="colorAlpha",D=U.__alphaForOpacity),Ff.dependsOn(T,b)&&D&&D.applyVisual(d,getter,setter)})),z[b]},VisualMapView.prototype.positionGroup=function(d){var b=this.visualMapModel,x=createBoxLayoutReference(b,this.api).refContainer;positionElement(d,b.getBoxLayoutParams(),x)},VisualMapView.prototype.doRender=function(d,b,x,T){},VisualMapView.type="visualMap",VisualMapView}(ns),D_=[["left","right","width"],["top","bottom","height"]];function getItemAlign(d,b,x){var T=d.option,D=T.align;if(null!=D&&"auto"!==D)return D;for(var z={width:b.getWidth(),height:b.getHeight()},H="horizontal"===T.orient?1:0,W=D_[H],U=[0,null,10],Y={},Z=0;Z<3;Z++)Y[D_[1-H][Z]]=U[Z],Y[W[Z]]=2===Z?x[0]:T[W[Z]];var J=[["x","width",3],["y","height",0]][H],ee=getLayoutRect(Y,z,T.padding);return W[(ee.margin[J[2]]||0)+ee[J[0]]+.5*ee[J[1]]<.5*z[J[1]]?0:1]}function makeHighDownBatch(d,b){return H.k(d||[],(function(d){null!=d.dataIndex&&(d.dataIndexInside=d.dataIndex,d.dataIndex=null),d.highlightKey="visualMap"+(b?b.componentIndex:"")})),d}var E_=linearMap,L_=H.k,R_=Math.min,B_=Math.max;function createPolygon(d,b,x,T){return new Es({shape:{points:d},draggable:!!x,cursor:b,drift:x,onmousemove:function(d){event_stop(d.event)},ondragend:T})}function useHoverLinkOnHandle(d){var b=d.get("hoverLinkOnHandle");return!!(null==b?d.get("realtime"):b)}function ContinuousView_getCursor(d){return"vertical"===d?"ns-resize":"ew-resize"}var N_=function(d){function ContinuousView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=ContinuousView.type,b._shapes={},b._dataInterval=[],b._handleEnds=[],b._hoverLinkDataIndices=[],b}return __extends(ContinuousView,d),ContinuousView.prototype.init=function(b,x){d.prototype.init.call(this,b,x),this._hoverLinkFromSeriesMouseOver=H.c(this._hoverLinkFromSeriesMouseOver,this),this._hideIndicator=H.c(this._hideIndicator,this)},ContinuousView.prototype.doRender=function(d,b,x,T){T&&"selectDataRange"===T.type&&T.from===this.uid||this._buildView()},ContinuousView.prototype._buildView=function(){this.group.removeAll();var d=this.visualMapModel,b=this.group;this._orient=d.get("orient"),this._useHandle=d.get("calculable"),this._resetInterval(),this._renderBar(b);var x=d.get("text");this._renderEndsText(b,x,0),this._renderEndsText(b,x,1),this._updateView(!0),this.renderBackground(b),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(b)},ContinuousView.prototype._renderEndsText=function(d,b,x){if(b){var T=b[1-x];T=null!=T?T+"":"";var D=this.visualMapModel,z=D.get("textGap"),H=D.itemSize,W=this._shapes.mainGroup,U=this._applyTransform([H[0]/2,0===x?-z:H[1]+z],W),Y=this._applyTransform(0===x?"bottom":"top",W),Z=this._orient,J=this.visualMapModel.textStyleModel;this.group.add(new Pr({style:createTextStyle(J,{x:U[0],y:U[1],verticalAlign:J.get("verticalAlign")||("horizontal"===Z?"middle":Y),align:J.get("align")||("horizontal"===Z?Y:"center"),text:T})}))}},ContinuousView.prototype._renderBar=function(d){var b=this.visualMapModel,x=this._shapes,T=b.itemSize,D=this._orient,z=this._useHandle,W=getItemAlign(b,this.api,T),U=x.mainGroup=this._createBarGroup(W),Y=new Xn;U.add(Y),Y.add(x.outOfRange=createPolygon()),Y.add(x.inRange=createPolygon(null,z?ContinuousView_getCursor(this._orient):null,H.c(this._dragHandle,this,"all",!1),H.c(this._dragHandle,this,"all",!0))),Y.setClipPath(new _r({shape:{x:0,y:0,width:T[0],height:T[1],r:3}}));var Z=b.textStyleModel.getTextRect("国"),J=B_(Z.width,Z.height);z&&(x.handleThumbs=[],x.handleLabels=[],x.handleLabelPoints=[],this._createHandle(b,U,0,T,J,D),this._createHandle(b,U,1,T,J,D)),this._createIndicator(b,U,T,J,D),d.add(U)},ContinuousView.prototype._createHandle=function(d,b,x,T,D,z){var W=H.c(this._dragHandle,this,x,!1),U=H.c(this._dragHandle,this,x,!0),Y=parsePercent(d.get("handleSize"),T[0]),Z=symbol_createSymbol(d.get("handleIcon"),-Y/2,-Y/2,Y,Y,null,!0),J=ContinuousView_getCursor(this._orient);Z.attr({cursor:J,draggable:!0,drift:W,ondragend:U,onmousemove:function(d){event_stop(d.event)}}),Z.x=T[0]/2,Z.useStyle(d.getModel("handleStyle").getItemStyle()),Z.setStyle({strokeNoScale:!0,strokeFirst:!0}),Z.style.lineWidth*=2,Z.ensureState("emphasis").style=d.getModel(["emphasis","handleStyle"]).getItemStyle(),setAsHighDownDispatcher(Z,!0),b.add(Z);var ee=this.visualMapModel.textStyleModel,te=new Pr({cursor:J,draggable:!0,drift:W,onmousemove:function(d){event_stop(d.event)},ondragend:U,style:createTextStyle(ee,{x:0,y:0,text:""})});te.ensureState("blur").style={opacity:.1},te.stateTransition={duration:200},this.group.add(te);var ne=[Y,0],ie=this._shapes;ie.handleThumbs[x]=Z,ie.handleLabelPoints[x]=ne,ie.handleLabels[x]=te},ContinuousView.prototype._createIndicator=function(d,b,x,T,D){var z=parsePercent(d.get("indicatorSize"),x[0]),W=symbol_createSymbol(d.get("indicatorIcon"),-z/2,-z/2,z,z,null,!0);W.attr({cursor:"move",invisible:!0,silent:!0,x:x[0]/2});var U=d.getModel("indicatorStyle").getItemStyle();if(W instanceof yr){var Y=W.style;W.useStyle(H.m({image:Y.image,x:Y.x,y:Y.y,width:Y.width,height:Y.height},U))}else W.useStyle(U);b.add(W);var Z=this.visualMapModel.textStyleModel,J=new Pr({silent:!0,invisible:!0,style:createTextStyle(Z,{x:0,y:0,text:""})});this.group.add(J);var ee=[("horizontal"===D?T/2:6)+x[0]/2,0],te=this._shapes;te.indicator=W,te.indicatorLabel=J,te.indicatorLabelPoint=ee,this._firstShowIndicator=!0},ContinuousView.prototype._dragHandle=function(d,b,x,T){if(this._useHandle){if(this._dragging=!b,!b){var D=this._applyTransform([x,T],this._shapes.mainGroup,!0);this._updateInterval(d,D[1]),this._hideIndicator(),this._updateView()}b===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),b?!this._hovering&&this._clearHoverLinkToSeries():useHoverLinkOnHandle(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[d],!1)}},ContinuousView.prototype._resetInterval=function(){var d=this.visualMapModel,b=this._dataInterval=d.getSelected(),x=d.getExtent(),T=[0,d.itemSize[1]];this._handleEnds=[E_(b[0],x,T,!0),E_(b[1],x,T,!0)]},ContinuousView.prototype._updateInterval=function(d,b){b=b||0;var x=this.visualMapModel,T=this._handleEnds,D=[0,x.itemSize[1]];sliderMove(b,T,D,d,0);var z=x.getExtent();this._dataInterval=[E_(T[0],D,z,!0),E_(T[1],D,z,!0)]},ContinuousView.prototype._updateView=function(d){var b=this.visualMapModel,x=b.getExtent(),T=this._shapes,D=[0,b.itemSize[1]],z=d?D:this._handleEnds,H=this._createBarVisual(this._dataInterval,x,z,"inRange"),W=this._createBarVisual(x,x,D,"outOfRange");T.inRange.setStyle({fill:H.barColor}).setShape("points",H.barPoints),T.outOfRange.setStyle({fill:W.barColor}).setShape("points",W.barPoints),this._updateHandle(z,H)},ContinuousView.prototype._createBarVisual=function(d,b,x,T){var D={forceState:T,convertOpacityToAlpha:!0},z=this._makeColorGradient(d,D),H=[this.getControllerVisual(d[0],"symbolSize",D),this.getControllerVisual(d[1],"symbolSize",D)],W=this._createBarPoints(x,H);return{barColor:new Us(0,0,0,1,z),barPoints:W,handlesColor:[z[0].color,z[z.length-1].color]}},ContinuousView.prototype._makeColorGradient=function(d,b){var x=[],T=(d[1]-d[0])/100;x.push({color:this.getControllerVisual(d[0],"color",b),offset:0});for(var D=1;D<100;D++){var z=d[0]+T*D;if(z>d[1])break;x.push({color:this.getControllerVisual(z,"color",b),offset:D/100})}return x.push({color:this.getControllerVisual(d[1],"color",b),offset:1}),x},ContinuousView.prototype._createBarPoints=function(d,b){var x=this.visualMapModel.itemSize;return[[x[0]-b[0],d[0]],[x[0],d[0]],[x[0],d[1]],[x[0]-b[1],d[1]]]},ContinuousView.prototype._createBarGroup=function(d){var b=this._orient,x=this.visualMapModel.get("inverse");return new Xn("horizontal"!==b||x?"horizontal"===b&&x?{scaleX:"bottom"===d?-1:1,rotation:-Math.PI/2}:"vertical"!==b||x?{scaleX:"left"===d?1:-1}:{scaleX:"left"===d?1:-1,scaleY:-1}:{scaleX:"bottom"===d?1:-1,rotation:Math.PI/2})},ContinuousView.prototype._updateHandle=function(d,b){if(this._useHandle){var x=this._shapes,T=this.visualMapModel,D=x.handleThumbs,z=x.handleLabels,H=T.itemSize,W=T.getExtent(),U=this._applyTransform("left",x.mainGroup);L_([0,1],(function(Y){var Z=D[Y];Z.setStyle("fill",b.handlesColor[Y]),Z.y=d[Y];var J=E_(d[Y],[0,H[1]],W,!0),ee=this.getControllerVisual(J,"symbolSize");Z.scaleX=Z.scaleY=ee/H[0],Z.x=H[0]-ee/2;
vendor: 4,572 bytes, line 808
808var te=graphic_applyTransform(x.handleLabelPoints[Y],getTransform(Z,this.group));if("horizontal"===this._orient){var ne="left"===U||"top"===U?(H[0]-ee)/2:(H[0]-ee)/-2;te[1]+=ne}z[Y].setStyle({x:te[0],y:te[1],text:T.formatValueText(this._dataInterval[Y]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",x.mainGroup):"center"})}),this)}},ContinuousView.prototype._showIndicator=function(d,b,x,T){var D=this.visualMapModel,z=D.getExtent(),H=D.itemSize,W=[0,H[1]],U=this._shapes,Y=U.indicator;if(Y){Y.attr("invisible",!1);var Z=this.getControllerVisual(d,"color",{convertOpacityToAlpha:!0}),J=this.getControllerVisual(d,"symbolSize"),ee=E_(d,z,W,!0),te=H[0]-J/2,ne={x:Y.x,y:Y.y};Y.y=ee,Y.x=te;var ie=graphic_applyTransform(U.indicatorLabelPoint,getTransform(Y,this.group)),oe=U.indicatorLabel;oe.attr("invisible",!1);var se=this._applyTransform("left",U.mainGroup),le="horizontal"===this._orient;oe.setStyle({text:(x||"")+D.formatValueText(b),verticalAlign:le?se:"middle",align:le?"center":se});var ce={x:te,y:ee,style:{fill:Z}},de={style:{x:ie[0],y:ie[1]}};if(D.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var he={duration:100,easing:"cubicInOut",additive:!0};Y.x=ne.x,Y.y=ne.y,Y.animateTo(ce,he),oe.animateTo(de,he)}else Y.attr(ce),oe.attr(de);this._firstShowIndicator=!1;var pe=this._shapes.handleLabels;if(pe)for(var fe=0;fe<pe.length;fe++)this.api.enterBlur(pe[fe])}},ContinuousView.prototype._enableHoverLinkToSeries=function(){var d=this;this._shapes.mainGroup.on("mousemove",(function(b){if(d._hovering=!0,!d._dragging){var x=d.visualMapModel.itemSize,T=d._applyTransform([b.offsetX,b.offsetY],d._shapes.mainGroup,!0,!0);T[1]=R_(B_(0,T[1]),x[1]),d._doHoverLinkToSeries(T[1],0<=T[0]&&T[0]<=x[0])}})).on("mouseout",(function(){d._hovering=!1,!d._dragging&&d._clearHoverLinkToSeries()}))},ContinuousView.prototype._enableHoverLinkFromSeries=function(){var d=this.api.getZr();this.visualMapModel.option.hoverLink?(d.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),d.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},ContinuousView.prototype._doHoverLinkToSeries=function(d,b){var x=this.visualMapModel,T=x.itemSize;if(x.option.hoverLink){var D=[0,T[1]],z=x.getExtent();d=R_(B_(D[0],d),D[1]);var H=function(d,b,x){var T=6,D=d.get("hoverLinkDataSize");D&&(T=E_(D,b,x,!0)/2);return T}(x,z,D),W=[d-H,d+H],U=E_(d,D,z,!0),Y=[E_(W[0],D,z,!0),E_(W[1],D,z,!0)];W[0]<D[0]&&(Y[0]=-1/0),W[1]>D[1]&&(Y[1]=1/0),b&&(Y[0]===-1/0?this._showIndicator(U,Y[1],"< ",H):Y[1]===1/0?this._showIndicator(U,Y[0],"> ",H):this._showIndicator(U,U,"≈ ",H));var Z=this._hoverLinkDataIndices,J=[];(b||useHoverLinkOnHandle(x))&&(J=this._hoverLinkDataIndices=x.findTargetDataIndices(Y));var ee=function(d,b){var x={},T={};return makeMap(d||[],x),makeMap(b||[],T,x),[mapToArray(x),mapToArray(T)];function makeMap(d,b,x){for(var T=0,D=d.length;T<D;T++){var z=convertOptionIdName(d[T].seriesId,null);if(null==z)return;for(var H=normalizeToArray(d[T].dataIndex),W=x&&x[z],U=0,Y=H.length;U<Y;U++){var Z=H[U];W&&W[Z]?W[Z]=null:(b[z]||(b[z]={}))[Z]=1}}}function mapToArray(d,b){var x=[];for(var T in d)if(d.hasOwnProperty(T)&&null!=d[T])if(b)x.push(+T);else{var D=mapToArray(d[T],!0);D.length&&x.push({seriesId:T,dataIndex:D})}return x}}(Z,J);this._dispatchHighDown("downplay",makeHighDownBatch(ee[0],x)),this._dispatchHighDown("highlight",makeHighDownBatch(ee[1],x))}},ContinuousView.prototype._hoverLinkFromSeriesMouseOver=function(d){var b;if(findEventDispatcher(d.target,(function(d){var x=Or(d);if(null!=x.dataIndex)return b=x,!0}),!0),b){var x=this.ecModel.getSeriesByIndex(b.seriesIndex),T=this.visualMapModel;if(T.isTargetSeries(x)){var D=x.getData(b.dataType),z=D.getStore().get(T.getDataDimensionIndex(D),b.dataIndex);isNaN(z)||this._showIndicator(z,z)}}},ContinuousView.prototype._hideIndicator=function(){var d=this._shapes;d.indicator&&d.indicator.attr("invisible",!0),d.indicatorLabel&&d.indicatorLabel.attr("invisible",!0);var b=this._shapes.handleLabels;if(b)for(var x=0;x<b.length;x++)this.api.leaveBlur(b[x])},ContinuousView.prototype._clearHoverLinkToSeries=function(){this._hideIndicator();var d=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",makeHighDownBatch(d,this.visualMapModel)),d.length=0},ContinuousView.prototype._clearHoverLinkFromSeries=function(){this._hideIndicator();var d=this.api.getZr();d.off("mouseover",this._hoverLinkFromSeriesMouseOver),d.off("mouseout",this._hideIndicator)},ContinuousView.prototype._applyTransform=function(d,b,x,T){var D=getTransform(b,T?null:this.group);
vendor: 5,298 bytes, line 808
808return H.t(d)?graphic_applyTransform(d,D,x):transformDirection(d,D,x)},ContinuousView.prototype._dispatchHighDown=function(d,b){b&&b.length&&this.api.dispatchAction({type:d,batch:b})},ContinuousView.prototype.dispose=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},ContinuousView.type="visualMap.continuous",ContinuousView}(I_),j_={type:"selectDataRange",event:"dataRangeSelected",update:"update"},visualMapActionHander=function(d,b){b.eachComponent({mainType:"visualMap",query:d},(function(b){b.setSelected(d.selected)}))},V_=[{createOnAllSeries:!0,reset:function(d,b){var x=[];return b.eachComponent("visualMap",(function(b){var T,D,z,W,U,Y=d.pipelineContext;!b.isTargetSeries(d)||Y&&Y.large||x.push((T=b.stateList,D=b.targetVisuals,z=H.c(b.getValueState,b),W=b.getDataDimensionIndex(d.getData()),U={},H.k(T,(function(d){var b=Ff.prepareVisualTypes(D[d]);U[d]=b})),{progress:function(d,b){var x,T;function getVisual(d){return getItemVisualFromData(b,T,d)}function setVisual(d,x){setItemVisualFromData(b,T,d,x)}null!=W&&(x=b.getDimensionIndex(W));for(var H=b.getStore();null!=(T=d.next());){var Y=b.getRawDataItem(T);if(!Y||!1!==Y.visualMap)for(var Z=null!=W?H.get(x,T):T,J=z(Z),ee=D[J],te=U[J],ne=0,ie=te.length;ne<ie;ne++){var oe=te[ne];ee[oe]&&ee[oe].applyVisual(Z,getVisual,setVisual)}}}}))})),x}},{createOnAllSeries:!0,reset:function(d,b){var x=d.getData(),T=[];b.eachComponent("visualMap",(function(b){if(b.isTargetSeries(d)){var D=b.getVisualMeta(H.c(visualEncoding_getColorVisual,null,d,b))||{stops:[],outerColors:[]},z=b.getDataDimensionIndex(x);z>=0&&(D.dimension=z,T.push(D))}})),d.getData().setVisual("visualMeta",T)}}];function visualEncoding_getColorVisual(d,b,x,T){for(var D=b.targetVisuals[T],z=Ff.prepareVisualTypes(D),H={color:getVisualFromData(d.getData(),"color")},W=0,U=z.length;W<U;W++){var Y=z[W],Z=D["opacity"===Y?"__alphaForOpacity":Y];Z&&Z.applyVisual(x,getVisual,setVisual)}return H.color;function getVisual(d){return H[d]}function setVisual(d,b){H[d]=b}}var z_=H.k;function visualMapPreprocessor(d){var b=d&&d.visualMap;H.t(b)||(b=b?[b]:[]),z_(b,(function(d){if(d){visualMap_preprocessor_has(d,"splitList")&&!visualMap_preprocessor_has(d,"pieces")&&(d.pieces=d.splitList,delete d.splitList);var b=d.pieces;b&&H.t(b)&&z_(b,(function(d){H.A(d)&&(visualMap_preprocessor_has(d,"start")&&!visualMap_preprocessor_has(d,"min")&&(d.min=d.start),visualMap_preprocessor_has(d,"end")&&!visualMap_preprocessor_has(d,"max")&&(d.max=d.end))}))}}))}function visualMap_preprocessor_has(d,b){return d&&d.hasOwnProperty&&d.hasOwnProperty(b)}var F_=!1;function installCommon_installCommon(d){F_||(F_=!0,d.registerSubTypeDefaulter("visualMap",(function(d){return d.categories||(d.pieces?d.pieces.length>0:d.splitNumber>0)&&!d.calculable?"piecewise":"continuous"})),d.registerAction(j_,visualMapActionHander),Object(H.k)(V_,(function(b){d.registerVisual(d.PRIORITY.VISUAL.COMPONENT,b)})),d.registerPreprocessor(visualMapPreprocessor))}function installVisualMapContinuous_install(d){d.registerComponentModel(O_),d.registerComponentView(N_),installCommon_installCommon(d)}var H_=function(d){function PiecewiseModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=PiecewiseModel.type,b._pieceList=[],b}return __extends(PiecewiseModel,d),PiecewiseModel.prototype.optionUpdated=function(b,x){d.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var T=this._mode=this._determineMode();this._pieceList=[],G_[this._mode].call(this,this._pieceList),this._resetSelected(b,x);var D=this.option.categories;this.resetVisual((function(d,b){"categories"===T?(d.mappingMethod="category",d.categories=H.d(D)):(d.dataExtent=this.getExtent(),d.mappingMethod="piecewise",d.pieceList=H.H(this._pieceList,(function(d){return d=H.d(d),"inRange"!==b&&(d.visual=null),d})))}))},PiecewiseModel.prototype.completeVisualOption=function(){var b=this.option,x={},T=Ff.listVisualTypes(),D=this.isCategory();function has(d,b,x){return d&&d[b]&&d[b].hasOwnProperty(x)}H.k(b.pieces,(function(d){H.k(T,(function(b){d.hasOwnProperty(b)&&(x[b]=1)}))})),H.k(x,(function(d,x){var T=!1;H.k(this.stateList,(function(d){T=T||has(b,d,x)||has(b.target,d,x)}),this),!T&&H.k(this.stateList,(function(d){(b[d]||(b[d]={}))[x]=x_.get(x,"inRange"===d?"active":"inactive",D)}))}),this),d.prototype.completeVisualOption.apply(this,arguments)},PiecewiseModel.prototype._resetSelected=function(d,b){var x=this.option,T=this._pieceList,D=(b?x:d).selected||{};if(x.selected=D,H.k(T,(function(d,b){var x=this.getSelectedMapKey(d);D.hasOwnProperty(x)||(D[x]=!0)}),this),"single"===x.selectedMode){var z=!1;H.k(T,(function(d,b){var x=this.getSelectedMapKey(d);D[x]&&(z?D[x]=!1:z=!0)}),this)}},PiecewiseModel.prototype.getItemSymbol=function(){return this.get("itemSymbol")},PiecewiseModel.prototype.getSelectedMapKey=function(d){return"categories"===this._mode?d.value+"":d.index+""},PiecewiseModel.prototype.getPieceList=function(){return this._pieceList},PiecewiseModel.prototype._determineMode=function(){var d=this.option;return d.pieces&&d.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},PiecewiseModel.prototype.setSelected=function(d){this.option.selected=H.d(d)},PiecewiseModel.prototype.getValueState=function(d){var b=Ff.findPieceIndex(d,this._pieceList);
vendor: 4,267 bytes, line 808
808return null!=b&&this.option.selected[this.getSelectedMapKey(this._pieceList[b])]?"inRange":"outOfRange"},PiecewiseModel.prototype.findTargetDataIndices=function(d){var b=[],x=this._pieceList;return this.eachTargetSeries((function(T){var D=[],z=T.getData();z.each(this.getDataDimensionIndex(z),(function(b,T){Ff.findPieceIndex(b,x)===d&&D.push(T)}),this),b.push({seriesId:T.id,dataIndex:D})}),this),b},PiecewiseModel.prototype.getRepresentValue=function(d){var b;if(this.isCategory())b=d.value;else if(null!=d.value)b=d.value;else{var x=d.interval||[];b=x[0]===-1/0&&x[1]===1/0?0:(x[0]+x[1])/2}return b},PiecewiseModel.prototype.getVisualMeta=function(d){if(!this.isCategory()){var b=[],x=["",""],T=this,D=this._pieceList.slice();if(D.length){var z=D[0].interval[0];z!==-1/0&&D.unshift({interval:[-1/0,z]}),(z=D[D.length-1].interval[1])!==1/0&&D.push({interval:[z,1/0]})}else D.push({interval:[-1/0,1/0]});var W=-1/0;return H.k(D,(function(d){var b=d.interval;b&&(b[0]>W&&setStop([W,b[0]],"outOfRange"),setStop(b.slice()),W=b[1])}),this),{stops:b,outerColors:x}}function setStop(D,z){var H=T.getRepresentValue({interval:D});z||(z=T.getValueState(H));var W=d(H,z);D[0]===-1/0?x[0]=W:D[1]===1/0?x[1]=W:b.push({value:D[0],color:W},{value:D[1],color:W})}},PiecewiseModel.type="visualMap.piecewise",PiecewiseModel.defaultOption=inheritDefaultOption(A_.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),PiecewiseModel}(A_),G_={splitNumber:function(d){var b=this.option,x=Math.min(b.precision,20),T=this.getExtent(),D=b.splitNumber;D=Math.max(parseInt(D,10),1),b.splitNumber=D;for(var z=(T[1]-T[0])/D;+z.toFixed(x)!==z&&x<5;)x++;b.precision=x,z=+z.toFixed(x),b.minOpen&&d.push({interval:[-1/0,T[0]],close:[0,0]});for(var W=0,U=T[0];W<D;U+=z,W++){var Y=W===D-1?T[1]:U+z;d.push({interval:[U,Y],close:[1,1]})}b.maxOpen&&d.push({interval:[T[1],1/0],close:[0,0]}),reformIntervals(d),H.k(d,(function(d,b){d.index=b,d.text=this.formatValueText(d.interval)}),this)},categories:function(d){var b=this.option;H.k(b.categories,(function(b){d.push({text:this.formatValueText(b,!0),value:b})}),this),normalizeReverse(b,d)},pieces:function(d){var b=this.option;H.k(b.pieces,(function(b,x){H.A(b)||(b={value:b});var T={text:"",index:x};if(null!=b.label&&(T.text=b.label),b.hasOwnProperty("value")){var D=T.value=b.value;T.interval=[D,D],T.close=[1,1]}else{for(var z=T.interval=[],W=T.close=[0,0],U=[1,0,1],Y=[-1/0,1/0],Z=[],J=0;J<2;J++){for(var ee=[["gte","gt","min"],["lte","lt","max"]][J],te=0;te<3&&null==z[J];te++)z[J]=b[ee[te]],W[J]=U[te],Z[J]=2===te;null==z[J]&&(z[J]=Y[J])}Z[0]&&z[1]===1/0&&(W[0]=0),Z[1]&&z[0]===-1/0&&(W[1]=0),z[0]===z[1]&&W[0]&&W[1]&&(T.value=z[0])}T.visual=Ff.retrieveVisuals(b),d.push(T)}),this),normalizeReverse(b,d),reformIntervals(d),H.k(d,(function(d){var b=d.close,x=[["<","≤"][b[1]],[">","≥"][b[0]]];d.text=d.text||this.formatValueText(null!=d.value?d.value:d.interval,!1,x)}),this)}};function normalizeReverse(d,b){var x=d.inverse;("vertical"===d.orient?!x:x)&&b.reverse()}var $_=H_,W_=function(d){function PiecewiseVisualMapView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=PiecewiseVisualMapView.type,b}return __extends(PiecewiseVisualMapView,d),PiecewiseVisualMapView.prototype.doRender=function(){var d=this.group;d.removeAll();var b=this.visualMapModel,x=b.get("textGap"),T=b.textStyleModel,D=this._getItemAlign(),z=b.itemSize,W=this._getViewData(),U=W.endsText,Y=H.O(b.get("showLabel",!0),!U),Z=!b.get("selectedMode");U&&this._renderEndsText(d,U[0],z,Y,D),H.k(W.viewPieceList,(function(W){var U=W.piece,J=new Xn;J.onclick=H.c(this._onItemClick,this,U),this._enableHoverLink(J,W.indexInModelPieceList);var ee=b.getRepresentValue(U);if(this._createItemSymbol(J,ee,[0,0,z[0],z[1]],Z),Y){var te=this.visualMapModel.getValueState(ee),ne=T.get("align")||D;J.add(new Pr({style:createTextStyle(T,{x:"right"===ne?-x:z[0]+x,y:z[1]/2,text:U.text,verticalAlign:T.get("verticalAlign")||"middle",align:ne,opacity:H.P(T.get("opacity"),"outOfRange"===te?.5:1)}),silent:Z}))}d.add(J)}),this),U&&this._renderEndsText(d,U[1],z,Y,D),Do(b.get("orient"),d,b.get("itemGap")),this.renderBackgroun
vendor: 9,014 bytes, line 808
808d(d),this.positionGroup(d)},PiecewiseVisualMapView.prototype._enableHoverLink=function(d,b){var x=this;d.on("mouseover",(function(){return onHoverLink("highlight")})).on("mouseout",(function(){return onHoverLink("downplay")}));var onHoverLink=function(d){var T=x.visualMapModel;T.option.hoverLink&&x.api.dispatchAction({type:d,batch:makeHighDownBatch(T.findTargetDataIndices(b),T)})}},PiecewiseVisualMapView.prototype._getItemAlign=function(){var d=this.visualMapModel,b=d.option;if("vertical"===b.orient)return getItemAlign(d,this.api,d.itemSize);var x=b.align;return x&&"auto"!==x||(x="left"),x},PiecewiseVisualMapView.prototype._renderEndsText=function(d,b,x,T,D){if(b){var z=new Xn,H=this.visualMapModel.textStyleModel;z.add(new Pr({style:createTextStyle(H,{x:T?"right"===D?x[0]:0:x[0]/2,y:x[1]/2,verticalAlign:"middle",align:T?D:"center",text:b})})),d.add(z)}},PiecewiseVisualMapView.prototype._getViewData=function(){var d=this.visualMapModel,b=H.H(d.getPieceList(),(function(d,b){return{piece:d,indexInModelPieceList:b}})),x=d.get("text"),T=d.get("orient"),D=d.get("inverse");return("horizontal"===T?D:!D)?b.reverse():x&&(x=x.slice().reverse()),{viewPieceList:b,endsText:x}},PiecewiseVisualMapView.prototype._createItemSymbol=function(d,b,x,T){var D=symbol_createSymbol(this.getControllerVisual(b,"symbol"),x[0],x[1],x[2],x[3],this.getControllerVisual(b,"color"));D.silent=T,d.add(D)},PiecewiseVisualMapView.prototype._onItemClick=function(d){var b=this.visualMapModel,x=b.option,T=x.selectedMode;if(T){var D=H.d(x.selected),z=b.getSelectedMapKey(d);"single"===T||!0===T?(D[z]=!0,H.k(D,(function(d,b){D[b]=b===z}))):D[z]=!D[z],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:D})}},PiecewiseVisualMapView.type="visualMap.piecewise",PiecewiseVisualMapView}(I_);function installVisualMapPiecewise_install(d){d.registerComponentModel($_),d.registerComponentView(W_),installCommon_installCommon(d)}var U_=function(){function ThumbnailBridgeImpl(d){this._thumbnailModel=d}return ThumbnailBridgeImpl.prototype.reset=function(d){this._renderVersion=d.getMainProcessVersion()},ThumbnailBridgeImpl.prototype.renderContent=function(d){var b=d.api.getViewOfComponentModel(this._thumbnailModel);b&&(d.group.silent=!0,b.renderContent({group:d.group,targetTrans:d.targetTrans,z2Range:calcZ2Range(d.group),roamType:d.roamType,viewportRect:d.viewportRect,renderVersion:this._renderVersion}))},ThumbnailBridgeImpl.prototype.updateWindow=function(d,b){var x=b.getViewOfComponentModel(this._thumbnailModel);x&&x.updateWindow({targetTrans:d,renderVersion:this._renderVersion})},ThumbnailBridgeImpl}(),Y_=function(d){function ThumbnailModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=ThumbnailModel.type,b.preventAutoZ=!0,b}return __extends(ThumbnailModel,d),ThumbnailModel.prototype.optionUpdated=function(d,b){this._updateBridge()},ThumbnailModel.prototype._updateBridge=function(){var d=this._birdge=this._birdge||new U_(this);(this._target=null,this.ecModel.eachSeries((function(d){injectThumbnailBridge(d,null)})),this.shouldShow())&&injectThumbnailBridge(this.getTarget().baseMapProvider,d)},ThumbnailModel.prototype.shouldShow=function(){return this.getShallow("show",!0)},ThumbnailModel.prototype.getBridge=function(){return this._birdge},ThumbnailModel.prototype.getTarget=function(){if(this._target)return this._target;var d=this.getReferringComponents("series",{useDefault:!1,enableAll:!1,enableNone:!1}).models[0];return d?"graph"!==d.subType&&(d=null):d=this.ecModel.queryComponents({mainType:"series",subType:"graph"})[0],this._target={baseMapProvider:d},this._target},ThumbnailModel.type="thumbnail",ThumbnailModel.layoutMode="box",ThumbnailModel.dependencies=["series","geo"],ThumbnailModel.defaultOption={show:!0,right:1,bottom:1,height:"25%",width:"25%",itemStyle:{borderColor:Fo.color.border,borderWidth:2},windowStyle:{borderWidth:1,color:Fo.color.neutral30,borderColor:Fo.color.neutral40,opacity:.3},z:10},ThumbnailModel}(Bo),q_=function(d){function ThumbnailView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type=ThumbnailView.type,b}return __extends(ThumbnailView,d),ThumbnailView.prototype.render=function(d,b,x){if(this._api=x,this._model=d,this._coordSys||(this._coordSys=new ff),this._isEnabled()){this._renderVersion=x.getMainProcessVersion();var T=this.group;T.removeAll();var D=d.getModel("itemStyle"),z=D.getItemStyle();null==z.fill&&(z.fill=b.get("backgroundColor")||Fo.color.neutral00);var H=createBoxLayoutReference(d,x).refContainer,W=getLayoutRect(getBoxLayoutParams(d,!0),H),U=z.lineWidth||0,Y=this._contentRect=expandOrShrinkRect(W.clone(),U/2,!0,!0),Z=new Xn;T.add(Z),Z.setClipPath(new _r({shape:Y.plain()}));var J=this._targetGroup=new Xn;Z.add(J);var ee=W.plain();ee.r=D.getShallow("borderRadius",!0),T.add(this._bgRect=new _r({style:z,shape:ee,silent:!1,cursor:"grab"}));var te=d.getModel("windowStyle"),ne=te.getShallow("borderRadius",!0);Z.add(this._windowRect=new _r({shape:{x:0,y:0,width:0,height:0,r:ne},style:te.getItemStyle(),silent:!1,cursor:"grab"})),this._dealRenderContent(),this._dealUpdateWindow(),ThumbnailView_updateZ(d,this)}else this._clear()},ThumbnailView.prototype.renderContent=function(d){this._bridgeRendered=d,this._isEnabled()&&(this._dealRenderContent(),this._dealUpdateWindow(),ThumbnailView_updateZ(this._model,this))},ThumbnailView.prototype._dealRenderContent=function(){var d=this._bridgeRendered;if(d&&d.renderVersion===this._renderVersion){var b=this._targetGroup,x=this._coordSys,T=this._contentRect;if(b.removeAll(),d){var D=d.group,z=D.getBoundingRect();b.add(D),this._bgRect.z2=d.z2Range.min-10,x.setBoundingRect(z.x,z.y,z.width,z.height);var H=getLayoutRect({left:"center",top:"center",aspect:z.width/z.height},T);x.setViewRect(H.x,H.y,H.width,H.height),D.attr(x.getTransformInfo().raw),this._windowRect.z2=d.z2Range.max+10,this._resetRoamController(d.roamType)}}},ThumbnailView.prototype.updateWindow=function(d){var b=this._bridgeRendered;b&&b.renderVersion===d.renderVersion&&(b.targetTrans=d.targetTrans),this._isEnabled()&&this._dealUpdateWindow()},ThumbnailView.prototype._dealUpdateWindow=function(){var d=this._bridgeRendered;if(d&&d.renderVersion===this._renderVersion){var b=matrix_invert([],d.targetTrans),x=matrix_mul([],this._coordSys.transform,b);this._transThisToTarget=matrix_invert([],x);var T=d.viewportRect;(T=T?T.clone():new Ee(0,0,this._api.getWidth(),this._api.getHeight())).applyTransform(x);var D=this._windowRect,z=D.shape.r;D.setShape(Object(H.i)({r:z},T))}},ThumbnailView.prototype._resetRoamController=function(d){var b=this,x=this._api,T=this._roamController;T||(T=this._roamController=new Dp(x.getZr())),d&&this._isEnabled()?(T.enable(d,{api:x,zInfo:{component:this._model},triggerInfo:{roamTrigger:null,isInSelf:function(d,x,T){return b._contentRect.contain(x,T)}}}),T.off("pan").off("zoom").on("pan",Object(H.c)(this._onPan,this)).on("zoom",Object(H.c)(this._onZoom,this))):T.disable()},ThumbnailView.prototype._onPan=function(d){var b=this._transThisToTarget;if(this._isEnabled()&&b){var x=applyTransform([],[d.oldX,d.oldY],b),T=applyTransform([],[d.oldX-d.dx,d.oldY-d.dy],b);this._api.dispatchAction(makeRoamPayload(this._model.getTarget().baseMapProvider,{dx:T[0]-x[0],dy:T[1]-x[1]}))}},ThumbnailView.prototype._onZoom=function(d){var b=this._transThisToTarget;if(this._isEnabled()&&b){var x=applyTransform([],[d.originX,d.originY],b);this._api.dispatchAction(makeRoamPayload(this._model.getTarget().baseMapProvider,{zoom:1/d.scale,originX:x[0],originY:x[1]}))}},ThumbnailView.prototype._isEnabled=function(){var d=this._model;return!(!d||!d.shouldShow())&&!!d.getTarget().baseMapProvider},ThumbnailView.prototype._clear=function(){this.group.removeAll(),this._bridgeRendered=null,this._roamController&&this._roamController.disable()},ThumbnailView.prototype.remove=function(){this._clear()},ThumbnailView.prototype.dispose=function(){this._clear()},ThumbnailView.type="thumbnail",ThumbnailView}(ns);function makeRoamPayload(d,b){var x={type:"series"===d.mainType?d.subType+"Roam":d.mainType+"Roam"};return x[d.mainType+"Id"]=d.id,Object(H.m)(x,b),x}function ThumbnailView_updateZ(d,b){var x=retrieveZInfo(d);traverseUpdateZ(b.group,x.z,x.zlevel)}var Z_={label:{enabled:!0},decal:{show:!1}},X_=makeInner(),K_={};function ariaVisual(d,b){var x=d.getModel("aria");if(x.get("enabled")){var T=H.d(Z_);H.I(T.label,d.getLocaleModel().get("aria"),!1),H.I(x.option,T,!1),function(){if(x.getModel("decal").get("show")){var b=H.f();d.eachSeries((function(d){if(!d.isColorBySeries()){var x=b.get(d.type);x||(x={},b.set(d.type,x)),X_(d).scope=x}})),d.eachRawSeries((function(b){if(!d.isSeriesFiltered(b))if(H.w(b.enableAriaDecal))b.enableAriaDecal();else{var x=b.getData();if(b.isColorBySeries()){var T=getDecalFromPalette(b.ecModel,b.name,K_,d.getSeriesCount()),D=x.getVisual("decal");x.setVisual("decal",mergeDecal(D,T))}else{var z=b.getRawData(),W={},U=X_(b).scope;x.each((function(d){var b=x.getRawIndex(d);W[b]=d}));var Y=z.count();
808z.each((function(d){var T=W[d],D=z.getName(d)||d+"",H=getDecalFromPalette(b.ecModel,D,U,Y),Z=x.getItemVisual(T,"decal");x.setItemVisual(T,"decal",mergeDecal(Z,H))}))}}function mergeDecal(d,b){var x=d?H.m(H.m({},b),d):b;return x.dirty=!0,x}}))}}(),function(){var T=b.getZr().dom;if(!T)return;var D=d.getLocaleModel().get("aria"),z=x.getModel("label");if(z.option=H.i(z.option,D),!z.get("enabled"))return;if(T.setAttribute("role","img"),z.get("description"))return void T.setAttribute("aria-label",z.get("description"));var W,U=d.getSeriesCount(),Y=z.get(["data","maxCount"])||10,Z=z.get(["series","maxCount"])||10,J=Math.min(U,Z);if(U<1)return;var ee=function(){var b=d.get("title");b&&b.length&&(b=b[0]);return b&&b.text}();if(ee){var te=z.get(["general","withTitle"]);W=replace(te,{title:ee})}else W=z.get(["general","withoutTitle"]);var ne=[],ie=U>1?z.get(["series","multiple","prefix"]):z.get(["series","single","prefix"]);W+=replace(ie,{seriesCount:U}),d.eachSeries((function(b,x){if(x<J){var T=void 0,D=b.get("name")?"withName":"withoutName";T=replace(T=U>1?z.get(["series","multiple",D]):z.get(["series","single",D]),{seriesId:b.seriesIndex,seriesName:b.get("name"),seriesType:(de=b.subType,he=d.getLocaleModel().get(["series","typeNames"]),he[de]||he.chart)});var W=b.getData();if(W.count()>Y)T+=replace(z.get(["data","partialData"]),{displayCnt:Y});else T+=z.get(["data","allData"]);for(var Z=z.get(["data","separator","middle"]),ee=z.get(["data","separator","end"]),te=z.get(["data","excludeDimensionId"]),ie=[],oe=0;oe<W.count();oe++)if(oe<Y){var se=W.getName(oe),le=te?H.n(W.getValues(oe),(function(d,b){return-1===H.r(te,b)})):W.getValues(oe),ce=z.get(["data",se?"withName":"withoutName"]);ie.push(replace(ce,{name:se,value:le.join(Z)}))}T+=ie.join(Z)+ee,ne.push(T)}var de,he}));var oe=z.getModel(["series","multiple","separator"]),se=oe.get("middle"),le=oe.get("end");W+=ne.join(se)+le,T.setAttribute("aria-label",W)}()}function replace(d,b){if(!H.C(d))return d;var x=d;return H.k(b,(function(d,b){x=x.replace(new RegExp("\\{\\s*"+b+"\\s*\\}","g"),d)})),x}}function ariaPreprocessor(d){if(d&&d.aria){var b=d.aria;null!=b.show&&(b.enabled=b.show),b.label=b.label||{},H.k(["description","general","series","data"],(function(d){null!=b[d]&&(b.label[d]=b[d])}))}}function conditionalExpression_typeof(d){return(conditionalExpression_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}var J_={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},Q_=function(){function RegExpEvaluator(d){if(null==(this._condVal=Object(H.C)(d)?new RegExp(d):Object(H.B)(d)?d:null)){0,throwError("")}}return RegExpEvaluator.prototype.evaluate=function(d){var b=conditionalExpression_typeof(d);return Object(H.C)(b)?this._condVal.test(d):!!Object(H.z)(b)&&this._condVal.test(d+"")},RegExpEvaluator}(),ew=function(){function ConstConditionInternal(){}return ConstConditionInternal.prototype.evaluate=function(){return this.value},ConstConditionInternal}(),tw=function(){function AndConditionInternal(){}return AndConditionInternal.prototype.evaluate=function(){for(var d=this.children,b=0;b<d.length;b++)if(!d[b].evaluate())return!1;return!0},AndConditionInternal}(),nw=function(){function OrConditionInternal(){}return OrConditionInternal.prototype.evaluate=function(){for(var d=this.children,b=0;b<d.length;b++)if(d[b].evaluate())return!0;return!1},OrConditionInternal}(),iw=function(){function NotConditionInternal(){}return NotConditionInternal.prototype.evaluate=function(){return!this.child.evaluate()},NotConditionInternal}(),rw=function(){function RelationalConditionInternal(){}return RelationalConditionInternal.prototype.evaluate=function(){for(var d=!!this.valueParser,b=(0,this.getValue)(this.valueGetterParam),x=d?this.valueParser(b):null,T=0;T<this.subCondList.length;T++)if(!this.subCondList[T].evaluate(d?x:b))return!1;return!0},RelationalConditionInternal}();function parseOption(d,b){if(!0===d||!1===d){var x=new ew;return x.value=d,x}return isObjectNotArray(d)||throwError(""),d.and?parseAndOrOption("and",d,b):d.or?parseAndOrOption("or",d,b):d.not?function(d,b){var x=d.not;0;isObjectNotArray(x)||throwError("");var T=new iw;T.child=parseOption(x,b),T.child||throwError("");return T}(d,b):function(d,b){for(var x=b.prepareGetValue(d),T=[],D=Object(H.F)(d),z=d.parser,W=z?getRawValueParser(z):null,U=0;U<D.length;U++){var Y=D[U];if("parser"!==Y&&!b.valueGetterAttrMap.get(Y)){var Z=Object(H.q)(J_,Y)?J_[Y]:Y,J=d[Y],ee=W?W(J):J,te=createFilterComparator(Z,ee)||"reg"===Z&&new Q_(ee);te||throwError(""),T.push(te)}}T.length||throwError("");var ne=new rw;return ne.valueGetterParam=x,ne.valueParser=W,ne.getValue=b.getValue,ne.subCondList=T,ne}(d,b)}
808function parseAndOrOption(d,b,x){var T=b[d];Object(H.t)(T)||throwError(""),T.length||throwError("");var D="and"===d?new tw:new nw;return D.children=Object(H.H)(T,(function(d){return parseOption(d,x)})),D.children.length||throwError(""),D}function isObjectNotArray(d){return Object(H.A)(d)&&!Object(H.u)(d)}var ow=function(){function ConditionalExpressionParsed(d,b){this._cond=parseOption(d,b)}return ConditionalExpressionParsed.prototype.evaluate=function(){return this._cond.evaluate()},ConditionalExpressionParsed}();var aw={type:"echarts:filter",transform:function(d){for(var b,x=d.upstream,T=function(d,b){return new ow(d,b)}(d.config,{valueGetterAttrMap:Object(H.f)({dimension:!0}),prepareGetValue:function(d){var b=d.dimension;Object(H.q)(d,"dimension")||throwError("");var T=x.getDimensionInfo(b);return T||throwError(""),{dimIdx:T.index}},getValue:function(d){return x.retrieveValueFromItem(b,d.dimIdx)}}),D=[],z=0,W=x.count();z<W;z++)b=x.getRawDataItem(z),T.evaluate()&&D.push(b);return{data:D}}};var sw={type:"echarts:sort",transform:function(d){var b=d.upstream,x=d.config,T=normalizeToArray(x);T.length||throwError("");var D=[];Object(H.k)(T,(function(d){var x=d.dimension,T=d.order,z=d.parser,H=d.incomparable;if(null==x&&throwError(""),"asc"!==T&&"desc"!==T&&throwError(""),H&&"min"!==H&&"max"!==H){0,throwError("")}if("asc"!==T&&"desc"!==T){0,throwError("")}var W=b.getDimensionInfo(x);W||throwError("");var U=z?getRawValueParser(z):null;z&&!U&&throwError(""),D.push({dimIdx:W.index,parser:U,comparator:new Na(T,H)})}));var z=b.sourceFormat;"arrayRows"!==z&&"objectRows"!==z&&throwError("");for(var W=[],U=0,Y=b.count();U<Y;U++)W.push(b.getRawDataItem(U));return W.sort((function(d,x){for(var T=0;T<D.length;T++){var z=D[T],H=b.retrieveValueFromItem(d,z.dimIdx),W=b.retrieveValueFromItem(x,z.dimIdx);z.parser&&(H=z.parser(H),W=z.parser(W));var U=z.comparator.evaluate(H,W);if(0!==U)return U}return 0})),{data:W}}};var lw=function(d){function DatasetModel(){var b=null!==d&&d.apply(this,arguments)||this;return b.type="dataset",b}return __extends(DatasetModel,d),DatasetModel.prototype.init=function(b,x,T){d.prototype.init.call(this,b,x,T),this._sourceManager=new qa(this),disableTransformOptionMerge(this)},DatasetModel.prototype.mergeOption=function(b,x){d.prototype.mergeOption.call(this,b,x),disableTransformOptionMerge(this)},DatasetModel.prototype.optionUpdated=function(){this._sourceManager.dirty()},DatasetModel.prototype.getSourceManager=function(){return this._sourceManager},DatasetModel.type="dataset",DatasetModel.defaultOption={seriesLayoutBy:"column"},DatasetModel}(Bo),uw=function(d){function DatasetView(){var b=null!==d&&d.apply(this,arguments)||this;return b.type="dataset",b}return __extends(DatasetView,d),DatasetView.type="dataset",DatasetView}(ns);var cw=er.CMD;function aroundEqual(d,b){return Math.abs(d-b)<1e-5}function pathToBezierCurves(d){var b,x,T,D,z,H=d.data,W=d.len(),U=[],Y=0,Z=0,J=0,ee=0;function createNewSubpath(d,x){b&&b.length>2&&U.push(b),b=[d,x]}function addLine(d,x,T,D){aroundEqual(d,T)&&aroundEqual(x,D)||b.push(d,x,T,D,T,D)}function addArc(d,x,T,D,z,H){var W=Math.abs(x-d),U=4*Math.tan(W/4)/3,Y=x<d?-1:1,Z=Math.cos(d),J=Math.sin(d),ee=Math.cos(x),te=Math.sin(x),ne=Z*z+T,ie=J*H+D,oe=ee*z+T,se=te*H+D,le=z*U*Y,ce=H*U*Y;b.push(ne-le*J,ie+ce*Z,oe+le*te,se-ce*ee,oe,se)}for(var te=0;te<W;){var ne=H[te++],ie=1===te;switch(ie&&(J=Y=H[te],ee=Z=H[te+1],ne!==cw.L&&ne!==cw.C&&ne!==cw.Q||(b=[J,ee])),ne){case cw.M:Y=J=H[te++],Z=ee=H[te++],createNewSubpath(J,ee);break;case cw.L:addLine(Y,Z,x=H[te++],T=H[te++]),Y=x,Z=T;break;case cw.C:b.push(H[te++],H[te++],H[te++],H[te++],Y=H[te++],Z=H[te++]);break;case cw.Q:x=H[te++],T=H[te++],D=H[te++],z=H[te++],b.push(Y+2/3*(x-Y),Z+2/3*(T-Z),D+2/3*(x-D),z+2/3*(T-z),D,z),Y=D,Z=z;break;case cw.A:var oe=H[te++],se=H[te++],le=H[te++],ce=H[te++],de=H[te++],he=H[te++]+de;te+=1;var pe=!H[te++];x=Math.cos(de)*le+oe,T=Math.sin(de)*ce+se,ie?createNewSubpath(J=x,ee=T):addLine(Y,Z,x,T),Y=Math.cos(he)*le+oe,Z=Math.sin(he)*ce+se;for(var fe=(pe?-1:1)*Math.PI/2,ge=de;pe?ge>he:ge<he;ge+=fe){addArc(ge,pe?Math.max(ge+fe,he):Math.min(ge+fe,he),oe,se,le,ce)}break;
vendor: 18,518 bytes, line 808
808case cw.R:J=Y=H[te++],ee=Z=H[te++],x=J+H[te++],T=ee+H[te++],createNewSubpath(x,ee),addLine(x,ee,x,T),addLine(x,T,J,T),addLine(J,T,J,ee),addLine(J,ee,x,ee);break;case cw.Z:b&&addLine(Y,Z,J,ee),Y=J,Z=ee}}return b&&b.length>2&&U.push(b),U}function adpativeBezier(d,b,x,T,D,z,H,W,U,Y){if(aroundEqual(d,x)&&aroundEqual(b,T)&&aroundEqual(D,H)&&aroundEqual(z,W))U.push(H,W);else{var Z=2/Y,J=Z*Z,ee=H-d,te=W-b,ne=Math.sqrt(ee*ee+te*te);ee/=ne,te/=ne;var ie=x-d,oe=T-b,se=D-H,le=z-W,ce=ie*ie+oe*oe,de=se*se+le*le;if(ce<J&&de<J)U.push(H,W);else{var he=ee*ie+te*oe,pe=-ee*se-te*le;if(ce-he*he<J&&he>=0&&de-pe*pe<J&&pe>=0)U.push(H,W);else{var fe=[],ge=[];cubicSubdivide(d,x,D,H,.5,fe),cubicSubdivide(b,T,z,W,.5,ge),adpativeBezier(fe[0],ge[0],fe[1],ge[1],fe[2],ge[2],fe[3],ge[3],U,Y),adpativeBezier(fe[4],ge[4],fe[5],ge[5],fe[6],ge[6],fe[7],ge[7],U,Y)}}}}function getDividingGrids(d,b,x){var T=d[b],D=d[1-b],z=Math.abs(T/D),H=Math.ceil(Math.sqrt(z*x)),W=Math.floor(x/H);0===W&&(W=1,H=x);for(var U=[],Y=0;Y<H;Y++)U.push(W);var Z=x-H*W;if(Z>0)for(Y=0;Y<Z;Y++)U[Y%H]+=1;return U}function divideSector(d,b,x){for(var T=d.r0,D=d.r,z=d.startAngle,H=d.endAngle,W=Math.abs(H-z),U=W*D,Y=D-T,Z=U>Math.abs(Y),J=getDividingGrids([U,Y],Z?0:1,b),ee=(Z?W:Y)/J.length,te=0;te<J.length;te++)for(var ne=(Z?Y:W)/J[te],ie=0;ie<J[te];ie++){var oe={};Z?(oe.startAngle=z+ee*te,oe.endAngle=z+ee*(te+1),oe.r0=T+ne*ie,oe.r=T+ne*(ie+1)):(oe.startAngle=z+ne*ie,oe.endAngle=z+ne*(ie+1),oe.r0=T+ee*te,oe.r=T+ee*(te+1)),oe.clockwise=d.clockwise,oe.cx=d.cx,oe.cy=d.cy,x.push(oe)}}function dividePath_crossProduct2d(d,b,x,T){return d*T-x*b}function dividePath_lineLineIntersect(d,b,x,T,D,z,H,W){var U=x-d,Y=T-b,Z=H-D,J=W-z,ee=dividePath_crossProduct2d(Z,J,U,Y);if(Math.abs(ee)<1e-6)return null;var te=dividePath_crossProduct2d(d-D,b-z,Z,J)/ee;return te<0||te>1?null:new ce(te*U+d,te*Y+b)}function projPtOnLine(d,b,x){var T=new ce;ce.sub(T,x,b),T.normalize();var D=new ce;return ce.sub(D,d,b),D.dot(T)}function addToPoly(d,b){var x=d[d.length-1];x&&x[0]===b[0]&&x[1]===b[1]||d.push(b)}function binaryDividePolygon(d){var b=d.points,x=[],T=[];fromPoints(b,x,T);var D=new Ee(x[0],x[1],T[0]-x[0],T[1]-x[1]),z=D.width,H=D.height,W=D.x,U=D.y,Y=new ce,Z=new ce;return z>H?(Y.x=Z.x=W+z/2,Y.y=U,Z.y=U+H):(Y.y=Z.y=U+H/2,Y.x=W,Z.x=W+z),function(d,b,x){for(var T=d.length,D=[],z=0;z<T;z++){var H=d[z],W=d[(z+1)%T],U=dividePath_lineLineIntersect(H[0],H[1],W[0],W[1],b.x,b.y,x.x,x.y);U&&D.push({projPt:projPtOnLine(U,b,x),pt:U,idx:z})}if(D.length<2)return[{points:d},{points:d}];D.sort((function(d,b){return d.projPt-b.projPt}));var Y=D[0],Z=D[D.length-1];if(Z.idx<Y.idx){var J=Y;Y=Z,Z=J}var ee=[Y.pt.x,Y.pt.y],te=[Z.pt.x,Z.pt.y],ne=[ee],ie=[te];for(z=Y.idx+1;z<=Z.idx;z++)addToPoly(ne,d[z].slice());for(addToPoly(ne,te),addToPoly(ne,ee),z=Z.idx+1;z<=Y.idx+T;z++)addToPoly(ie,d[z%T].slice());return addToPoly(ie,ee),addToPoly(ie,te),[{points:ne},{points:ie}]}(b,Y,Z)}function binaryDivideRecursive(d,b,x,T){if(1===x)T.push(b);else{var D=Math.floor(x/2),z=d(b);binaryDivideRecursive(d,z[0],D,T),binaryDivideRecursive(d,z[1],x-D,T)}return T}function copyPathProps(d,b){b.setStyle(d.style),b.z=d.z,b.z2=d.z2,b.zlevel=d.zlevel}function split(d,b){var x,T=[],D=d.shape;switch(d.type){case"rect":!function(d,b,x){for(var T=d.width,D=d.height,z=T>D,H=getDividingGrids([T,D],z?0:1,b),W=z?"width":"height",U=z?"height":"width",Y=z?"x":"y",Z=z?"y":"x",J=d[W]/H.length,ee=0;ee<H.length;ee++)for(var te=d[U]/H[ee],ne=0;ne<H[ee];ne++){var ie={};ie[Y]=ee*J,ie[Z]=ne*te,ie[W]=J,ie[U]=te,ie.x+=d.x,ie.y+=d.y,x.push(ie)}}(D,b,T),x=_r;break;case"sector":divideSector(D,b,T),x=Ps;break;case"circle":divideSector({r0:0,r:D.r,startAngle:0,endAngle:2*Math.PI,cx:D.cx,cy:D.cy},b,T),x=Ps;break;default:var z=d.getComputedTransform(),W=z?Math.sqrt(Math.max(z[0]*z[0]+z[1]*z[1],z[2]*z[2]+z[3]*z[3])):1,U=Object(H.H)(function(d,b){var x=pathToBezierCurves(d),T=[];b=b||1;for(var D=0;D<x.length;D++){var z=x[D],H=[],W=z[0],U=z[1];H.push(W,U);for(var Y=2;Y<z.length;){var Z=z[Y++],J=z[Y++],ee=z[Y++],te=z[Y++],ne=z[Y++],ie=z[Y++];adpativeBezier(W,U,Z,J,ee,te,ne,ie,H,b),W=ne,U=ie}T.push(H)}return T}(d.getUpdatedPathProxy(),W),(function(d){return function(d){for(var b=[],x=0;x<d.length;)b.push([d[x++],d[x++]]);return b}(d)})),Y=U.length;if(0===Y)binaryDivideRecursive(binaryDividePolygon,{points:U[0]},b,T);else if(Y===b)for(var Z=0;Z<Y;Z++)T.push({points:U[Z]});else{var J=0,ee=Object(H.H)(U,(function(d){var b=[],x=[];fromPoints(d,b,x);var T=(x[1]-b[1])*(x[0]-b[0]);return J+=T,{poly:d,area:T}}));ee.sort((function(d,b){return b.area-d.area}));var te=b;for(Z=0;Z<Y;Z++){var ne=ee[Z];if(te<=0)break;var ie=Z===Y-1?te:Math.ceil(ne.area/J*b);ie<0||(binaryDivideRecursive(binaryDividePolygon,{points:ne.poly},ie,T),te-=ie)}}x=Es}if(!x)return function(d,b){for(var x=[],T=0;T<b;T++)x.push(clonePath(d));return x}(d,b);var oe=[];for(Z=0;Z<T.length;Z++){var se=new x;se.setShape(T[Z]),copyPathProps(d,se),oe.push(se)}return oe}function alignSubpath(d,b){var x=d.length,T=b.length;if(x===T)return[d,b];for(var D=[],z=[],H=x<T?d:b,W=Math.min(x,T),U=Math.abs(T-x)/6,Y=(W-2)/6,Z=Math.ceil(U/Y)+1,J=[H[0],H[1]],ee=U,te=2;te<W;){var ne=H[te-2],ie=H[te-1],oe=H[te++],se=H[te++],le=H[te++],ce=H[te++],de=H[te++],he=H[te++];if(ee<=0)J.push(oe,se,le,ce,de,he);else{for(var pe=Math.min(ee,Z-1)+1,fe=1;fe<=pe;fe++){var ge=fe/pe;cubicSubdivide(ne,oe,le,de,ge,D),cubicSubdivide(ie,se,ce,he,ge,z),ne=D[3],ie=z[3],J.push(D[1],z[1],D[2],z[2],ne,ie),oe=D[5],se=z[5],le=D[6],ce=z[6]}ee-=pe-1}}return H===d?[J,b]:[d,J]}function createSubpath(d,b){for(var x=d.length,T=d[x-2],D=d[x-1],z=[],H=0;H<b.length;)z[H++]=T,z[H++]=D;return z}function morphPath_centroid(d){for(var b=0,x=0,T=0,D=d.length,z=0,H=D-2;z<D;H=z,z+=2){var W=d[H],U=d[H+1],Y=d[z],Z=d[z+1],J=W*Z-Y*U;b+=J,x+=(W+Y)*J,T+=(U+Z)*J}return 0===b?[d[0]||0,d[1]||0]:[x/b/3,T/b/3,b]}function findBestRingOffset(d,b,x,T){for(var D=(d.length-2)/6,z=1/0,H=0,W=d.length,U=W-2,Y=0;Y<D;Y++){for(var Z=6*Y,J=0,ee=0;ee<W;ee+=2){var te=0===ee?Z:(Z+ee-2)%U+2,ne=d[te]-x[0],ie=d[te+1]-x[1],oe=b[ee]-T[0]-ne,se=b[ee+1]-T[1]-ie;J+=oe*oe+se*se}J<z&&(z=J,H=Y)}return H}function morphPath_reverse(d){for(var b=[],x=d.length,T=0;T<x;T+=2)b[T]=d[x-T-2],b[T+1]=d[x-T-1];return b}function isCombineMorphing(d){return d.__isCombineMorphing}function saveAndModifyMethod(d,b,x){var T="__mOriginal_"+b,D=d[T]||d[b];d[T]||(d[T]=d[b]);var z=x.replace,H=x.after,W=x.before;d[b]=function(){var d,b=arguments;return W&&W.apply(this,b),d=z?z.apply(this,b):D.apply(this,b),H&&H.apply(this,b),d}}function restoreMethod(d,b){var x="__mOriginal_"+b;d[x]&&(d[b]=d[x],d[x]=null)}function applyTransformOnBeziers(d,b){for(var x=0;x<d.length;x++)for(var T=d[x],D=0;D<T.length;){var z=T[D],H=T[D+1];T[D++]=b[0]*z+b[2]*H+b[4],T[D++]=b[1]*z+b[3]*H+b[5]}}function prepareMorphPath(d,b){var x=d.getUpdatedPathProxy(),T=b.getUpdatedPathProxy(),D=function(d,b){for(var x,T,D,z=[],H=[],W=0;W<Math.max(d.length,b.length);W++){var U=d[W],Y=b[W],Z=void 0,J=void 0;U?Y?(T=Z=(x=alignSubpath(U,Y))[0],D=J=x[1]):(J=createSubpath(D||U,U),Z=U):(Z=createSubpath(T||Y,Y),J=Y),z.push(Z),H.push(J)}return[z,H]}(pathToBezierCurves(x),pathToBezierCurves(T)),z=D[0],H=D[1],W=d.getComputedTransform(),U=b.getComputedTransform();W&&applyTransformOnBeziers(z,W),U&&applyTransformOnBeziers(H,U),saveAndModifyMethod(b,"updateTransform",{replace:function(){this.transform=null}}),b.transform=null;var Y=function(d,b,x,T){for(var D,z=[],H=0;H<d.length;H++){var W=d[H],U=b[H],Y=morphPath_centroid(W),Z=morphPath_centroid(U);null==D&&(D=Y[2]<0!=Z[2]<0);var J=[],ee=[],te=0,ne=1/0,ie=[],oe=W.length;D&&(W=morphPath_reverse(W));for(var se=6*findBestRingOffset(W,U,Y,Z),le=oe-2,ce=0;ce<le;ce+=2){var de=(se+ce)%le+2;J[ce+2]=W[de]-Y[0],J[ce+3]=W[de+1]-Y[1]}if(J[0]=W[se]-Y[0],J[1]=W[se+1]-Y[1],x>0)for(var he=T/x,pe=-T/2;pe<=T/2;pe+=he){var fe=Math.sin(pe),ge=Math.cos(pe),me=0;for(ce=0;ce<W.length;ce+=2){var ye=J[ce],ve=J[ce+1],xe=U[ce]-Z[0],_e=U[ce+1]-Z[1],we=xe*ge-_e*fe,Se=xe*fe+_e*ge;ie[ce]=we,ie[ce+1]=Se;var Me=we-ye,Te=Se-ve;me+=Me*Me+Te*Te}if(me<ne){ne=me,te=pe;for(var ke=0;ke<ie.length;ke++)ee[ke]=ie[ke]}}else for(var Pe=0;Pe<oe;Pe+=2)ee[Pe]=U[Pe]-Z[0],ee[Pe+1]=U[Pe+1]-Z[1];z.push({from:J,to:ee,fromCp:Y,toCp:Z,rotation:-te})}return z}(z,H,10,Math.PI),Z=[];saveAndModifyMethod(b,"buildPath",{replace:function(d){for(var x=b.__morphT,T=1-x,D=[],z=0;z<Y.length;z++){var H=Y[z],W=H.from,U=H.to,J=H.rotation*x,ee=H.fromCp,te=H.toCp,ne=Math.sin(J),ie=Math.cos(J);lerp(D,ee,te,x);for(var oe=0;oe<W.length;oe+=2){var se=W[oe],le=W[oe+1],ce=se*T+(fe=U[oe])*x,de=le*T+(ge=U[oe+1])*x;Z[oe]=ce*ie-de*ne+D[0],Z[oe+1]=ce*ne+de*ie+D[1]}var he=Z[0],pe=Z[1];d.moveTo(he,pe);for(oe=2;oe<W.length;){var fe=Z[oe++],ge=Z[oe++],me=Z[oe++],ye=Z[oe++],ve=Z[oe++],xe=Z[oe++];he===fe&&pe===ge&&me===ve&&ye===xe?d.lineTo(ve,xe):d.bezierCurveTo(fe,ge,me,ye,ve,xe),he=ve,pe=xe}}}})}function morphPath(d,b,x){if(!d||!b)return b;var T=x.done,D=x.during;return prepareMorphPath(d,b),b.__morphT=0,b.animateTo({__morphT:1},Object(H.i)({during:function(d){b.dirtyShape(),D&&D(d)},done:function(){restoreMethod(b,"buildPath"),restoreMethod(b,"updateTransform"),b.__morphT=-1,b.createPathProxy(),b.dirtyShape(),T&&T()}},x)),b}function hilbert(d,b,x,T,D,z){d=D===x?0:Math.round(32767*(d-x)/(D-x)),b=z===T?0:Math.round(32767*(b-T)/(z-T));for(var H,W=0,U=32768;U>0;U/=2){var Y=0,Z=0;(d&U)>0&&(Y=1),(b&U)>0&&(Z=1),W+=U*U*(3*Y^Z),0===Z&&(1===Y&&(d=U-1-d,b=U-1-b),H=d,d=b,b=H)}return W}function sortPaths(d){var b=1/0,x=1/0,T=-1/0,D=-1/0,z=Object(H.H)(d,(function(d){var z=d.getBoundingRect(),H=d.getComputedTransform(),W=z.x+z.width/2+(H?H[4]:0),U=z.y+z.height/2+(H?H[5]:0);return b=Math.min(W,b),x=Math.min(U,x),T=Math.max(W,T),D=Math.max(U,D),[W,U]}));return Object(H.H)(z,(function(z,H){return{cp:z,z:hilbert(z[0],z[1],b,x,T,D),path:d[H]}})).sort((function(d,b){return d.z-b.z})).map((function(d){return d.path}))}function defaultDividePath(d){return split(d.path,d.count)}function isMultiple(d){return Object(H.t)(d[0])}function prepareMorphBatches(d,b){for(var x=[],T=d.length,D=0;D<T;D++)x.push({one:d[D],many:[]});for(D=0;D<b.length;D++){var z=b[D].length,H=void 0;for(H=0;H<z;H++)x[H%T].many.push(b[D][H])}var W=0;for(D=T-1;D>=0;D--)if(!x[D].many.length){var U=x[W].many;if(U.length<=1){if(!W)return x;W=0}z=U.length;var Y=Math.ceil(z/2);x[D].many=U.slice(Y,z),x[W].many=U.slice(0,Y),W++}return x}var dw={clone:function(d){for(var b=[],x=1-Math.pow(1-d.path.style.opacity,1/d.count),T=0;T<d.count;T++){var D=clonePath(d.path);D.setStyle("opacity",x),b.push(D)}return b},split:null};function applyMorphAnimation(d,b,x,T,D,z){if(d.length&&b.length){var W=getAnimationConfig("update",T,D);if(W&&W.duration>0){var U,Y,Z=T.getModel("universalTransition").get("delay"),J=Object.assign({setToFinal:!0},W);isMultiple(d)&&(U=d,Y=b),isMultiple(b)&&(U=b,Y=d);for(var ee=U?U===d:d.length>b.length,te=U?prepareMorphBatches(Y,U):prepareMorphBatches(ee?b:d,[ee?d:b]),ne=0,ie=0;ie<te.length;ie++)ne+=te[ie].many.length;var oe=0;for(ie=0;ie<te.length;ie++)morphOneBatch(te[ie],ee,oe,ne),oe+=te[ie].many.length}}function morphOneBatch(d,b,T,D,W){var U=d.many,Y=d.one;if(1!==U.length||W)for(var ee=Object(H.i)({dividePath:dw[x],individualDelay:Z&&function(d,b,x,z){return Z(d+T,D)}},J),te=b?function(d,b,x){var T=[];!function addFromPath(d){for(var b=0;b<d.length;b++){var x=d[b];isCombineMorphing(x)?addFromPath(x.childrenRef()):x instanceof cr&&T.push(x)}}(d);var D=T.length;if(!D)return{fromIndividuals:[],toIndividuals:[],count:0};var z=(x.dividePath||defaultDividePath)({path:b,count:D});if(z.length!==D)return console.error("Invalid morphing: unmatched splitted path"),{fromIndividuals:[],toIndividuals:[],count:0};T=sortPaths(T),z=sortPaths(z);for(var W=x.done,U=x.during,Y=x.individualDelay,Z=new Nn,J=0;J<D;J++){var ee=T[J],te=z[J];te.parent=b,te.copyTransform(Z),Y||prepareMorphPath(ee,te)}function addToSubPathListToZr(d){for(var b=0;b<z.length;b++)z[b].addSelfToZr(d)}function restoreToPath(){b.__isCombineMorphing=!1,b.__morphT=-1,b.childrenRef=null,restoreMethod(b,"addSelfToZr"),restoreMethod(b,"removeSelfFromZr")}b.__isCombineMorphing=!0,b.childrenRef=function(){return z},saveAndModifyMethod(b,"addSelfToZr",{after:function(d){addToSubPathListToZr(d)}}),saveAndModifyMethod(b,"removeSelfFromZr",{after:function(d){for(var b=0;b<z.length;b++)z[b].removeSelfFromZr(d)}});var ne=z.length;if(Y){var ie=ne,eachDone=function(){0===--ie&&(restoreToPath(),W&&W())};for(J=0;J<ne;J++){var oe=Y?Object(H.i)({delay:(x.delay||0)+Y(J,ne,T[J],z[J]),done:eachDone},x):x;morphPath(T[J],z[J],oe)}}else b.__morphT=0,b.animateTo({__morphT:1},Object(H.i)({during:function(d){for(var x=0;x<ne;x++){var T=z[x];T.__morphT=b.__morphT,T.dirtyShape()}U&&U(d)},done:function(){restoreToPath();for(var b=0;b<d.length;b++)restoreMethod(d[b],"updateTransform");W&&W()}},x));return b.__zr&&addToSubPathListToZr(b.__zr),{fromIndividuals:T,toIndividuals:z,count:ne}}(U,Y,ee):function(d,b,x){var T=b.length,D=[],z=x.dividePath||defaultDividePath;if(isCombineMorphing(d)){!function addFromPath(d){for(var b=0;b<d.length;b++){var x=d[b];isCombineMorphing(x)?addFromPath(x.childrenRef()):x instanceof cr&&D.push(x)}}(d.childrenRef());var W=D.length;if(W<T)for(var U=0,Y=W;Y<T;Y++)D.push(clonePath(D[U++%W]));D.length=T}else{D=z({path:d,count:T});var Z=d.getComputedTransform();for(Y=0;Y<D.length;Y++)D[Y].setLocalTransform(Z);if(D.length!==T)return console.error("Invalid morphing: unmatched splitted path"),{fromIndividuals:[],toIndividuals:[],count:0}}D=sortPaths(D),b=sortPaths(b);var J=x.individualDelay;for(Y=0;Y<T;Y++){var ee=J?Object(H.i)({delay:(x.delay||0)+J(Y,T,D[Y],b[Y])},x):x;morphPath(D[Y],b[Y],ee)}return{fromIndividuals:D,toIndividuals:b,count:b.length}}(Y,U,ee),ne=te.fromIndividuals,ie=te.toIndividuals,oe=ne.length,se=0;se<oe;se++){le=Z?Object(H.i)({delay:Z(se,oe)},J):J;z(ne[se],ie[se],b?U[se]:d.one,b?d.one:U[se],le)}else{var le,ce=b?U[0]:Y,de=b?Y:U[0];if(isCombineMorphing(ce))morphOneBatch({many:[ce],one:de},!0,T,D,!0);else morphPath(ce,de,le=Z?Object(H.i)({delay:Z(T,D)},J):J),z(ce,de,ce,de,le)}}}function getPathList(d){if(!d)return[];if(Object(H.t)(d)){for(var b=[],x=0;x<d.length;x++)b.push(getPathList(d[x]));return b}var T=[];return d.traverse((function(d){d instanceof cr&&!d.disableMorphing&&!d.invisible&&!d.ignore&&T.push(d)})),T}var hw=makeInner();function getGroupId(d,b,x,T){var D=function(d,b){for(var x=d.dimensions,T=0;T<x.length;T++){var D=d.getDimensionInfo(x[T]);if(D&&0===D.otherDims[b])return x[T]}}(d,T?"itemChildGroupId":"itemGroupId");if(D)return function(d,b,x){var T=d.getDimensionInfo(x),D=T&&T.ordinalMeta;if(T){var z=d.get(T.name,b);return D&&D.categories[z]||z+""}}(d,b,D);var z=d.getRawDataItem(b),H=T?"childGroupId":"groupId";return z&&z[H]?z[H]+"":T?void 0:x||d.getId(b)}function flattenDataDiffItems(d){var b=[];return Object(H.k)(d,(function(d){var x=d.data,T=d.dataGroupId;if(!(x.count()>1e4))for(var D=x.getIndices(),z=0;z<D.length;z++)b.push({data:x,groupId:getGroupId(x,z,T,!1),childGroupId:getGroupId(x,z,T,!0),divide:d.divide,dataIndex:z})})),b}function fadeInElement(d,b,x){d.traverse((function(d){d instanceof cr&&initProps(d,{style:{opacity:0}},b,{dataIndex:x,isFrom:!0})}))}function universalTransition_removeEl(d){if(d.parent){var b=d.getComputedTransform();d.setLocalTransform(b),d.parent.remove(d)}}function stopAnimation(d){d.stopAnimation(),d.isGroup&&d.traverse((function(d){d.stopAnimation()}))}function animateElementStyles(d,b,x){var T=getAnimationConfig("update",x,b);T&&d.traverse((function(d){if(d instanceof ki){var b=function(d){return Vr(d).oldStyle}(d);b&&d.animateFrom({style:b},T)}}))}function transitionBetween(d,b,x){var T=flattenDataDiffItems(d),D=flattenDataDiffItems(b);function updateMorphingPathProps(d,b,x,T,D){(x||d)&&b.animateFrom({style:x&&x!==d?Object(H.m)(Object(H.m)({},x.style),d.style):d.style},D)}var z=!1,W=0,U=Object(H.f)(),Y=Object(H.f)();T.forEach((function(d){d.groupId&&U.set(d.groupId,!0),d.childGroupId&&Y.set(d.childGroupId,!0)}));for(var Z=0;Z<D.length;Z++){var J=D[Z].groupId;if(Y.get(J)){W=1;break}var ee=D[Z].childGroupId;if(ee&&U.get(ee)){W=2;break}}function createKeyGetter(d,b){return function(x){var T=x.data,D=x.dataIndex;return b?T.getId(D):d?1===W?x.childGroupId:x.groupId:2===W?x.childGroupId:x.groupId}}var te=function(d,b){var x=d.length;if(x!==b.length)return!1;for(var T=0;T<x;T++){var D=d[T],z=b[T];if(D.data.getId(D.dataIndex)!==z.data.getId(z.dataIndex))return!1}return!0}(T,D),ne={};if(!te)for(Z=0;Z<D.length;Z++){var ie=D[Z],oe=ie.data.getItemGraphicEl(ie.dataIndex);oe&&(ne[oe.id]=!0)}function updateOneToOne(d,b){var x=T[b],H=D[d],W=H.data.hostModel,U=x.data.getItemGraphicEl(x.dataIndex),Y=H.data.getItemGraphicEl(H.dataIndex);U!==Y?U&&ne[U.id]||Y&&(stopAnimation(Y),U?(stopAnimation(U),universalTransition_removeEl(U),z=!0,applyMorphAnimation(getPathList(U),getPathList(Y),H.divide,W,d,updateMorphingPathProps)):fadeInElement(Y,W,d)):Y&&animateElementStyles(Y,H.dataIndex,W)}new zc(T,D,createKeyGetter(!0,te),createKeyGetter(!1,te),null,"multiple").update(updateOneToOne).updateManyToOne((function(d,b){var x=D[d],W=x.data,U=W.hostModel,Y=W.getItemGraphicEl(x.dataIndex),Z=Object(H.n)(Object(H.H)(b,(function(d){return T[d].data.getItemGraphicEl(T[d].dataIndex)})),(function(d){return d&&d!==Y&&!ne[d.id]}));Y&&(stopAnimation(Y),Z.length?(Object(H.k)(Z,(function(d){stopAnimation(d),universalTransition_removeEl(d)})),z=!0,applyMorphAnimation(getPathList(Z),getPathList(Y),x.divide,U,d,updateMorphingPathProps)):fadeInElement(Y,U,x.dataIndex))})).updateOneToMany((function(d,b){var x=T[b],W=x.data.getItemGraphicEl(x.dataIndex);if(!W||!ne[W.id]){var U=Object(H.n)(Object(H.H)(d,(function(d){return D[d].data.getItemGraphicEl(D[d].dataIndex)})),(function(d){return d&&d!==W})),Y=D[d[0]].data.hostModel;U.length&&(Object(H.k)(U,(function(d){return stopAnimation(d)})),W?(stopAnimation(W),universalTransition_removeEl(W),z=!0,applyMorphAnimation(getPathList(W),getPathList(U),x.divide,Y,d[0],updateMorphingPathProps)):Object(H.k)(U,(function(b){return fadeInElement(b,Y,d[0])})))}})).updateManyToMany((function(d,b){new zc(b,d,(function(d){return T[d].data.getId(T[d].dataIndex)}),(function(d){return D[d].data.getId(D[d].dataIndex)})).update((function(x,T){updateOneToOne(d[x],b[T])})).execute()})).execute(),z&&Object(H.k)(b,(function(d){var b=d.data.hostModel,T=b&&x.getViewOfSeriesModel(b),D=getAnimationConfig("update",b,0);T&&b.isAnimationEnabled()&&D&&D.duration>0&&T.group.traverse((function(d){d instanceof cr&&!d.animators.length&&d.animateFrom({style:{opacity:0}
808},D)}))}))}function getSeriesTransitionKey(d){var b=d.getModel("universalTransition").get("seriesKey");return b||d.id}function convertArraySeriesKeyToString(d){return Object(H.t)(d)?d.sort().join(","):d}function getDivideShapeFromData(d){if(d.hostModel)return d.hostModel.getModel("universalTransition").get("divideShape")}function querySeries(d,b){for(var x=0;x<d.length;x++){if(null!=b.seriesIndex&&b.seriesIndex===d[x].seriesIndex||null!=b.seriesId&&b.seriesId===d[x].id)return x}}var pw=function(){function ScaleBreakContextImpl(){this.breaks=[],this._elapsedExtent=[1/0,-1/0]}return ScaleBreakContextImpl.prototype.setBreaks=function(d){this.breaks=d.breaks},ScaleBreakContextImpl.prototype.update=function(d){!function(d,b){var x=0,T={tpAbs:{span:0,val:0},tpPrct:{span:0,val:0}},D={S:{tpAbs:{has:!1,span:NaN,inExtFrac:NaN,val:NaN},tpPrct:{has:!1,span:NaN,inExtFrac:NaN,val:NaN}},E:{tpAbs:{has:!1,span:NaN,inExtFrac:NaN,val:NaN},tpPrct:{has:!1,span:NaN,inExtFrac:NaN,val:NaN}}};Object(H.k)(d.breaks,(function(d){var z=d.gapParsed;"tpPrct"===z.type&&(x+=z.val);var H=clampBreakByExtent(d,b);if(H){var W=H.vmin!==d.vmin,U=H.vmax!==d.vmax,Y=H.vmax-H.vmin;if(W&&U);else if(W||U){var Z=W?"S":"E";D[Z][z.type].has=!0,D[Z][z.type].span=Y,D[Z][z.type].inExtFrac=Y/(d.vmax-d.vmin),D[Z][z.type].val=z.val}else T[z.type].span+=Y,T[z.type].val+=z.val}}));var z=x*(b[1]-b[0]+0+(T.tpAbs.val-T.tpAbs.span)+(D.S.tpAbs.has?(D.S.tpAbs.val-D.S.tpAbs.span)*D.S.tpAbs.inExtFrac:0)+(D.E.tpAbs.has?(D.E.tpAbs.val-D.E.tpAbs.span)*D.E.tpAbs.inExtFrac:0)-T.tpPrct.span-(D.S.tpPrct.has?D.S.tpPrct.span*D.S.tpPrct.inExtFrac:0)-(D.E.tpPrct.has?D.E.tpPrct.span*D.E.tpPrct.inExtFrac:0))/(1-T.tpPrct.val-(D.S.tpPrct.has?D.S.tpPrct.val*D.S.tpPrct.inExtFrac:0)-(D.E.tpPrct.has?D.E.tpPrct.val*D.E.tpPrct.inExtFrac:0));Object(H.k)(d.breaks,(function(d){var b=d.gapParsed;"tpPrct"===b.type&&(d.gapReal=0!==x?Math.max(z,0)*b.val/x:0),"tpAbs"===b.type&&(d.gapReal=b.val),null==d.gapReal&&(d.gapReal=0)}))}(this,d);var b=this._elapsedExtent;b[0]=this.elapse(d[0]),b[1]=this.elapse(d[1])},ScaleBreakContextImpl.prototype.hasBreaks=function(){return!!this.breaks.length},ScaleBreakContextImpl.prototype.calcNiceTickMultiple=function(d,b){for(var x=0;x<this.breaks.length;x++){var T=this.breaks[x];if(T.vmin<d&&d<T.vmax)return b(d,T.vmax)}return 0},ScaleBreakContextImpl.prototype.getExtentSpan=function(){return this._elapsedExtent[1]-this._elapsedExtent[0]},ScaleBreakContextImpl.prototype.normalize=function(d){var b=this._elapsedExtent[1]-this._elapsedExtent[0];return 0===b?.5:(this.elapse(d)-this._elapsedExtent[0])/b},ScaleBreakContextImpl.prototype.scale=function(d){return this.unelapse(d*(this._elapsedExtent[1]-this._elapsedExtent[0])+this._elapsedExtent[0])},ScaleBreakContextImpl.prototype.elapse=function(d){for(var b=fw,x=gw,T=!0,D=0;D<this.breaks.length;D++){var z=this.breaks[D];if(d<=z.vmax){d>z.vmin?b+=z.vmin-x+(d-z.vmin)/(z.vmax-z.vmin)*z.gapReal:b+=d-x,x=z.vmax,T=!1;break}b+=z.vmin-x+z.gapReal,x=z.vmax}return T&&(b+=d-x),b},ScaleBreakContextImpl.prototype.unelapse=function(d){for(var b=fw,x=gw,T=!0,D=0,z=0;z<this.breaks.length;z++){var H=this.breaks[z],W=b+H.vmin-x,U=W+H.gapReal;if(d<=U){D=d>W?H.vmin+(d-W)/(U-W)*(H.vmax-H.vmin):x+d-b,x=H.vmax,T=!1;break}b=U,x=H.vmax}return T&&(D=x+d-b),D},ScaleBreakContextImpl}();function createScaleBreakContext(){return new pw}var fw=0,gw=0;function pruneTicksByBreak(d,b,x,T,D,z){"no"!==d&&Object(H.k)(x,(function(x){var H=clampBreakByExtent(x,z);if(H)for(var W=b.length-1;W>=0;W--){var U=b[W],Y=T(U),Z=3*D/4;Y>H.vmin-Z&&Y<H.vmax+Z&&("preserve_extent_bound"!==d||Y!==z[0]&&Y!==z[1])&&b.splice(W,1)}}))}function addBreaksToTicks(d,b,x,T){Object(H.k)(b,(function(b){var D=clampBreakByExtent(b,x);D&&(d.push({value:D.vmin,break:{type:"vmin",parsedBreak:D},time:T?T(D):void 0}),d.push({value:D.vmax,break:{type:"vmax",parsedBreak:D},time:T?T(D):void 0}))})),b.length&&d.sort((function(d,b){return d.value-b.value}))}function clampBreakByExtent(d,b){var x=Math.max(d.vmin,b[0]),T=Math.min(d.vmax,b[1]);return x<T||x===T&&x>b[0]&&x<b[1]?{vmin:x,vmax:T,breakOption:d.breakOption,gapParsed:d.gapParsed,gapReal:d.gapReal}:null}function parseAxisBreakOption(d,b,x){var T=[];
808if(!d)return{breaks:T};Object(H.k)(d,(function(d){if(d&&null!=d.start&&null!=d.end&&!d.isExpanded){var D={breakOption:Object(H.d)(d),vmin:b(d.start),vmax:b(d.end),gapParsed:{type:"tpAbs",val:0},gapReal:null};if(null!=d.gap){var z=!1;if(Object(H.C)(d.gap)){var W=Object(H.T)(d.gap);if(W.match(/%$/)){var U=parseFloat(W)/100;(function(d,b){return d>=0&&d<.99999})(U)||(U=0),D.gapParsed.type="tpPrct",D.gapParsed.val=U,z=!0}}if(!z){var Y=b(d.gap);(!isFinite(Y)||Y<0)&&(Y=0),D.gapParsed.type="tpAbs",D.gapParsed.val=Y}}if(D.vmin===D.vmax&&(D.gapParsed.type="tpAbs",D.gapParsed.val=0),x&&x.noNegative&&Object(H.k)(["vmin","vmax"],(function(d){D[d]<0&&(D[d]=0)})),D.vmin>D.vmax){var Z=D.vmax;D.vmax=D.vmin,D.vmin=Z}T.push(D)}})),T.sort((function(d,b){return d.vmin-b.vmin}));var D=-1/0;return Object(H.k)(T,(function(d,b){D>d.vmin&&(T[b]=null),D=d.vmax})),{breaks:T.filter((function(d){return!!d}))}}function identifyAxisBreak(d,b){return serializeAxisBreakIdentifier(b)===serializeAxisBreakIdentifier(d)}function serializeAxisBreakIdentifier(d){return d.start+"_\0_"+d.end}function retrieveAxisBreakPairs(d,b,x){var T=[];Object(H.k)(d,(function(d,x){var D=b(d);D&&"vmin"===D.type&&T.push([x])})),Object(H.k)(d,(function(x,D){var z=b(x);if(z&&"vmax"===z.type){var W=Object(H.o)(T,(function(x){return identifyAxisBreak(b(d[x[0]]).parsedBreak.breakOption,z.parsedBreak.breakOption)}));W&&W.push(D)}}));var D=[];return Object(H.k)(T,(function(b){2===b.length&&D.push(x?b:[d[b[0]],d[b[1]]])})),D}function getTicksLogTransformBreak(d,b,x,T){var D,z;if(d.break){var W=d.break.parsedBreak,U=Object(H.o)(x,(function(b){return identifyAxisBreak(b.breakOption,d.break.parsedBreak.breakOption)})),Y=T(Math.pow(b,W.vmin),U.vmin),Z=T(Math.pow(b,W.vmax),U.vmax),J={type:W.gapParsed.type,val:"tpAbs"===W.gapParsed.type?round(Math.pow(b,W.vmin+W.gapParsed.val))-Y:W.gapParsed.val};D={type:d.break.type,parsedBreak:{breakOption:W.breakOption,vmin:Y,vmax:Z,gapParsed:J,gapReal:W.gapReal}},z=U[d.break.type]}return{brkRoundingCriterion:z,vBreak:D}}function logarithmicParseBreaksFromOption(d,b,x){var T={noNegative:!0},D=parseAxisBreakOption(d,x,T),z=parseAxisBreakOption(d,x,T),W=Math.log(b);return z.breaks=Object(H.H)(z.breaks,(function(d){var b=Math.log(d.vmin)/W;return{vmin:b,vmax:Math.log(d.vmax)/W,gapParsed:{type:d.gapParsed.type,val:"tpAbs"===d.gapParsed.type?Math.log(d.vmin+d.gapParsed.val)/W-b:d.gapParsed.val},gapReal:d.gapReal,breakOption:d.breakOption}})),{parsedOriginal:D,parsedLogged:z}}var mw={vmin:"start",vmax:"end"};function makeAxisLabelFormatterParamBreak(d,b){return b&&((d=d||{}).break={type:mw[b.type],start:b.parsedBreak.vmin,end:b.parsedBreak.vmax}),d}function installScaleBreakHelper(){var d;d={createScaleBreakContext:createScaleBreakContext,pruneTicksByBreak:pruneTicksByBreak,addBreaksToTicks:addBreaksToTicks,parseAxisBreakOption:parseAxisBreakOption,identifyAxisBreak:identifyAxisBreak,serializeAxisBreakIdentifier:serializeAxisBreakIdentifier,retrieveAxisBreakPairs:retrieveAxisBreakPairs,getTicksLogTransformBreak:getTicksLogTransformBreak,logarithmicParseBreaksFromOption:logarithmicParseBreaksFromOption,makeAxisLabelFormatterParamBreak:makeAxisLabelFormatterParamBreak},co||(co=d)}var yw=makeInner();function rectCoordBuildBreakAxis(d,b,x,T,D){var z=x.axis;if(!z.scale.isBlank()&&getScaleBreakHelper()){var W=getScaleBreakHelper().retrieveAxisBreakPairs(z.scale.getTicks({breakTicks:"only_break"}),(function(d){return d.break}),!1);if(W.length){var U=x.getModel("breakArea"),Y=U.get("zigzagAmplitude"),Z=U.get("zigzagMinSpan"),J=U.get("zigzagMaxSpan");Z=Math.max(2,Z||0),J=Math.max(Z,J||0);var ee,te=U.get("expandOnClick"),ne=U.get("zigzagZ"),ie=U.getModel("itemStyle").getItemStyle(),oe=ie.stroke,se=ie.lineWidth,le=ie.lineDash,ce=ie.fill,de=new Xn({ignoreModelZ:!0}),he=z.isHorizontal(),pe=yw(b).visualList||(yw(b).visualList=[]);ee=pe,Object(H.k)(ee,(function(d){return d.shouldRemove=!0}));for(var _loop_1=function(d){var b=W[d][0].break.parsedBreak,U=[];U[0]=z.toGlobalCoord(z.dataToCoord(b.vmin,!0)),U[1]=z.toGlobalCoord(z.dataToCoord(b.vmax,!0)),U[1]<U[0]&&U.reverse();var ee=function(d,b){var x=Object(H.o)(d,(function(d){return getScaleBreakHelper().identifyAxisBreak(d.parsedBreak.breakOption,b.breakOption)}));return x||d.push(x={zigzagRandomList:[],parsedBreak:b,shouldRemove:!1}),x}(pe,b);ee.shouldRemove=!1;var fe=new Xn;!function(d,b,x,D,z,H){var W={stroke:oe,lineWidth:se,lineDash:le,fill:"none"},U=z?0:1,ee=1-U,te=T[al[ee]]+T[sl[ee]];function subPixelOpt(d){var b=[],x=[];b[U]=x[U]=d,b[ee]=T[al[ee]],x[ee]=te;var D={x1:b[0],y1:b[1],x2:x[0],y2:x[1]};return subPixelOptimizeLine(D,D,{lineWidth:1}),b[0]=D.x1,b[1]=D.y1,b[U]}x=subPixelOpt(x),D=subPixelOpt(D);for(var de=[],he=[],pe=!0,fe=T[al[ee]],ge=0;;ge++){var me=fe===T[al[ee]],ye=fe>=te;ye&&(fe=te);var ve=[],xe=[];ve[U]=x,xe[U]=D,me||ye||(ve[U]+=pe?-Y:Y,xe[U]-=pe?Y:-Y),ve[ee]=fe,xe[ee]=fe,de.push(ve),he.push(xe);var _e=void 0;if(ge<d.length?_e=d[ge]:(_e=Math.random(),d.push(_e)),fe+=_e*(J-Z)+Z,pe=!pe,ye)break}var we=getScaleBreakHelper().serializeAxisBreakIdentifier(H.breakOption);if(b.add(new Rs({anid:"break_a_"+we,shape:{points:de},style:W,z:ne})),0!==H.gapReal){b.add(new Rs({anid:"break_b_"+we,shape:{points:he},style:W,z:ne}));var Se=he.slice();Se.reverse();var Me=de.concat(Se);b.add(new Es({anid:"break_c_"+we,shape:{points:Me},style:{fill:ce,opacity:ie.opacity},z:ne}))}}(ee.zigzagRandomList,fe,U[0],U[1],he,b),te&&fe.on("click",(function(){var d={type:"exp
808andAxisBreak",breaks:[{start:b.breakOption.start,end:b.breakOption.end}]};d[z.dim+"AxisIndex"]=x.componentIndex,D.dispatchAction(d)})),fe.silent=!te,de.add(fe)},fe=0;fe<W.length;fe++)_loop_1(fe);d.add(de),function(d){for(var b=d.length-1;b>=0;b--)d[b].shouldRemove&&d.splice(b,1)}(pe)}}}function buildAxisBreakLine(d,b,x,T){var D=d.axis,z=x.transform;Object(H.b)(T.style);var W=D.getExtent();D.inverse&&(W=W.slice()).reverse();var U=getScaleBreakHelper().retrieveAxisBreakPairs(D.scale.getTicks({breakTicks:"only_break"}),(function(d){return d.break}),!1),Y=Object(H.H)(U,(function(d){var b=d[0].break.parsedBreak,x=[D.dataToCoord(b.vmin,!0),D.dataToCoord(b.vmax,!0)];return x[0]>x[1]&&x.reverse(),{coordPair:x,brkId:getScaleBreakHelper().serializeAxisBreakIdentifier(b.breakOption)}}));Y.sort((function(d,b){return d.coordPair[0]-b.coordPair[0]}));for(var Z=W[0],J=null,ee=0;ee<Y.length;ee++){var te=Y[ee],ne=Math.max(te.coordPair[0],W[0]),ie=Math.min(te.coordPair[1],W[1]);Z<=ne&&addSeg(Z,ne,J,te),Z=ie,J=te}function addSeg(d,x,D,W){function trans(d,b){z&&(applyTransform(d,d,z),applyTransform(b,b,z))}function subPixelOptimizePP(d,b){var x={x1:d[0],y1:d[1],x2:b[0],y2:b[1]};subPixelOptimizeLine(x,x,T.style),d[0]=x.x1,d[1]=x.y1,b[0]=x.x2,b[1]=x.y2}var U=[d,0],Y=[x,0],Z=[d,5],J=[x,5];trans(U,Z),subPixelOptimizePP(U,Z),trans(Y,J),subPixelOptimizePP(Y,J),subPixelOptimizePP(U,Y);var ee=new js(Object(H.m)({shape:{x1:U[0],y1:U[1],x2:Y[0],y2:Y[1]}},T));b.add(ee),ee.anid="breakLine_"+(D?D.brkId:"\0")+"_\0_"+(W?W.brkId:"\0")}Z<=W[1]&&addSeg(Z,W[1],J,null)}function adjustBreakLabelPair(d,b,x){if(!Object(H.o)(x,(function(d){return!d}))){var T=new ce;if(labelIntersect(x[0],x[1],T,{direction:-(d?b+Math.PI:b),touchThreshold:0,bidirectional:!1})){var D=[1,0,0,1,0,0];matrix_rotate(D,D,-b);var z=Object(H.H)(x,(function(d){return d.transform?matrix_mul([1,0,0,1,0,0],D,d.transform):D})),W=.5;if(isParallelToAxis(0)||isParallelToAxis(1)){var U=Object(H.H)(x,(function(d,b){var x=d.localRect.clone();return x.applyTransform(z[b]),x})),Y=new ce;Y.copy(x[0].label).add(x[1].label).scale(.5),Y.transform(D);var Z=T.clone().transform(D),J=(U[0].x+U[1].x+(Z.x>=0?U[0].width:U[1].width)+Z.x)/2-Y.x,ee=Math.min(J,J-Z.x),te=Math.max(J,J-Z.x);W=(J-(te<0?te:ee>0?ee:0))/Z.x}var ne=new ce,ie=new ce;ce.scale(ne,T,-W),ce.scale(ie,T,1-W),labelLayoutApplyTranslation(x[0],ne),labelLayoutApplyTranslation(x[1],ie)}}function isParallelToAxis(d){var b=x[0].localRect,T=new ce(b[sl[d]]*z[0][0],b[sl[d]]*z[0][1]);return Math.abs(T.y)<1e-5}}function updateModelAxisBreak(d,b){var x={breaks:[]};return Object(H.k)(b.breaks,(function(T){if(T){var D=Object(H.o)(d.get("breaks",!0),(function(d){return getScaleBreakHelper().identifyAxisBreak(d,T)}));if(D){var z=b.type,W={isExpanded:!!D.isExpanded};D.isExpanded="expandAxisBreak"===z||"collapseAxisBreak"!==z&&("toggleAxisBreak"===z?!D.isExpanded:D.isExpanded),x.breaks.push({start:D.start,end:D.end,isExpanded:!!D.isExpanded,old:W})}}})),x}function installAxisBreakHelper(){var d;d={adjustBreakLabelPair:adjustBreakLabelPair,buildAxisBreakLine:buildAxisBreakLine,rectCoordBuildBreakAxis:rectCoordBuildBreakAxis,updateModelAxisBreak:updateModelAxisBreak},lh||(lh=d)}function legacyLayOutGridByContained(d,b){Object(H.k)(d,(function(d){if(!d.model.get(["axisLabel","inside"])){var x=function(d){var b,x,T=d.model,D=d.scale;if(!T.get(["axisLabel","show"])||D.isBlank())return;var z=D.getExtent();D instanceof ph?x=D.count():(b=D.getTicks(),x=b.length);var H,W=d.getLabelModel(),U=makeLabelFormatter(d),Y=1;x>40&&(Y=Math.ceil(x/40));for(var Z=0;Z<x;Z+=Y){var J=b?b[Z]:{value:z[0]+Z},ee=U(J,Z),te=W.getTextRect(ee),ne=(ie=te,oe=W.get("rotate")||0,se=void 0,le=void 0,ce=void 0,de=void 0,he=void 0,void 0,se=oe*Math.PI/180,le=ie.width,ce=ie.height,de=le*Math.abs(Math.cos(se))+Math.abs(ce*Math.sin(se)),he=le*Math.abs(Math.sin(se))+Math.abs(ce*Math.cos(se)),new Ee(ie.x,ie.y,de,he));H?H.union(ne):H=ne}var ie,oe,se,le,ce,de,he;return H}(d);if(x){var T=d.isHorizontal()?"height":"width",D=d.model.get(["axisLabel","margin"]);b[T]-=x[T]+D,"top"===d.position?b.y+=x.height+D:"left"===d.position&&(b.x+=x.width+D)}}}))}x.d(b,"b",(function(){return echarts_init})),x.d(b,"a",(function(){return D})),use([function(d){d.registerPainter("canvas",vc)}]),use([function(d){d.registerPainter("svg",Vc)}]),use([function(d){d.registerChartView(gd),d.registerSeriesModel(od),d.registerLayout(pointsLayout("line",!0)),d.registerVisual({seriesType:"line",reset:function(d){var b=d.getData(),x=d.getModel("lineStyle").getLineStyle();x&&!x.stroke&&(x.stroke=b.getVisual("style").fill),b.setVisual("legendLineStyle",x)}}),d.registerProcessor(d.PRIORITY.PROCESSOR.STATISTIC,dataSample("line"))},function(d){d.registerChartView(Dd),d.registerSeriesModel(bd),d.registerLayout(d.PRIORITY.VISUAL.LAYOUT,H.h(barGrid_layout,"bar")),d.registerLayout(d.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,createProgressiveLayout("bar")),d.registerProcessor(d.PRIORITY.PROCESSOR.STATISTIC,dataSample("bar")),d.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},(function(d,b){var x=d.componentType||"series";b.eachComponent({mainType:x,query:d},(function(b){d.sortInfo&&b.axis.setCategorySortInfo(d.sortInfo)}))}))},function(d){d.registerChartView(zd),d.registerSeriesModel(Wd),createLegacyDataSelectAction("pie",d.registerAction),d.registerLayout(Object(H.h)(pieLayout,"pie")),d.registerProcessor(dataFilter("pie")),d.registerProcessor({seriesType:"pie",reset:function(d,b){var x=d.getData();x.filterSelf((function(d){var b=x.mapDimension("value"),T=x.get(b,d);return!(Object(H.z)(T)&&!isNaN(T)&&T<0)}))}})},function(d){use(installSimple_install),d.registerSeriesModel(Ud),d.registerChartView(Zd),d.registerLayout(pointsLayout("scatter"))},function(d){use(radar_install_install),d.registerChartView(xp),d.registerSeriesModel(_p),d.registerLayout(radarLayout),d.registerProcessor(dataFilter("radar")),d.registerPreprocessor(radarBackwardCompat)},function(d){use(geo_install_install),d.registerChartView(df),d.registerSeriesModel(hf),d.registerLayout(mapSymbol
808Layout),d.registerProcessor(d.PRIORITY.PROCESSOR.STATISTIC,mapDataStatistic),createLegacyDataSelectAction("map",d.registerAction)},function(d){d.registerChartView(Sf),d.registerSeriesModel(kf),d.registerLayout(treeLayout),d.registerVisual(treeVisual),function(d){d.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},(function(d,b){b.eachComponent({mainType:"series",subType:"tree",query:d},(function(b){var x=d.dataIndex,T=b.getData().tree.getNodeByDataIndex(x);T.isExpand=!T.isExpand}))})),d.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},(function(d,b,x){b.eachComponent({mainType:"series",subType:"tree",query:d},(function(b){var x=updateCenterAndZoomInAction(b.coordinateSystem,d,b.get("scaleLimit"));b.setCenter(x.center),b.setZoom(x.zoom)}))}))}(d)},function(d){d.registerSeriesModel(Pf),d.registerChartView(Bf),d.registerVisual(Gf),d.registerLayout(Jf),function(d){for(var b=0;b<Af.length;b++)d.registerAction({type:Af[b],update:"updateView"},H.L);d.registerAction({type:"treemapRootToNode",update:"updateView"},(function(d,b){b.eachComponent({mainType:"series",subType:"treemap",query:d},(function(b,x){var T=retrieveTargetInfo(d,["treemapZoomToNode","treemapRootToNode"],b);if(T){var D=b.getViewRoot();D&&(d.direction=aboveViewRoot(D,T.node)?"rollUp":"drillDown"),b.resetViewRoot(T.node)}}))}))}(d)},function(d){d.registerChartView(mg),d.registerSeriesModel(_g),d.registerProcessor(categoryFilter),d.registerVisual(categoryVisual),d.registerVisual(graphEdgeVisual),d.registerLayout(graphSimpleLayout),d.registerLayout(d.PRIORITY.VISUAL.POST_CHART_LAYOUT,graphCircularLayout),d.registerLayout(graphForceLayout),d.registerCoordinateSystem("graphView",{dimensions:ff.dimensions,create:createView_createViewCoordSys}),d.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},H.L),d.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},H.L),d.registerAction({type:"graphRoam",event:"graphRoam",update:"none"},(function(d,b,x){b.eachComponent({mainType:"series",query:d},(function(b){var T=x.getViewOfSeriesModel(b);T&&(null!=d.dx&&null!=d.dy&&T.updateViewOnPan(b,x,d),null!=d.zoom&&null!=d.originX&&null!=d.originY&&T.updateViewOnZoom(b,x,d));var D=updateCenterAndZoomInAction(b.coordinateSystem,d,b.get("scaleLimit"));b.setCenter&&b.setCenter(D.center),b.setZoom&&b.setZoom(D.zoom)}))}))},function(d){d.registerChartView(Cg),d.registerSeriesModel(Tg),d.registerLayout(d.PRIORITY.VISUAL.POST_CHART_LAYOUT,chordCircularLayout),d.registerProcessor(dataFilter("chord"))},function(d){d.registerChartView(Pg),d.registerSeriesModel(Og)},function(d){d.registerChartView(Eg),d.registerSeriesModel(Lg),d.registerLayout(funnelLayout),d.registerProcessor(dataFilter("funnel"))},function(d){use(parallel_install_install),d.registerChartView(Rg),d.registerSeriesModel(Bg),d.registerVisual(d.PRIORITY.VISUAL.BRUSH,jg)},function(d){d.registerChartView(mm),d.registerSeriesModel(ym),d.registerLayout(sankeyLayout),d.registerVisual(sankeyVisual),d.registerAction({type:"dragNode",event:"dragnode",update:"update"},(function(d,b){b.eachComponent({mainType:"series",subType:"sankey",query:d},(function(b){b.setNodePosition(d.dataIndex,[d.localX,d.localY])}))})),d.registerAction({type:"sankeyRoam",event:"sankeyRoam",update:"none"},(function(d,b,x){b.eachComponent({mainType:"series",subType:"sankey",query:d},(function(b){var x=updateCenterAndZoomInAction(b.coordinateSystem,d,b.get("scaleLimit"));b.setCenter(x.center),b.setZoom(x.zoom)}))}))},function(d){d.registerSeriesModel(xm),d.registerChartView(Sm),d.registerLayout(boxplotLayout),d.registerTransform(Cm)},function(d){d.registerChartView(Bm),d.registerSeriesModel(jm),d.registerPreprocessor(candlestickPreprocessor),d.registerVisual(Im),d.registerLayout(Vm)},function(d){d.registerChartView(Fm),d.registerSeriesModel(Hm),d.registerLayout(pointsLayout("effectScatter"))},function(d){d.registerChartView(Zm),d.registerSeriesModel(Jm),d.registerLayout(qm),d.registerVisual(Qm)},function(d){d.registerChartView(ty),d.registerSeriesModel(ny)},function(d){d.registerChartView(ay),d.registerSeriesModel(sy),d.registerLayout(d.PRIORITY.VISUAL.LAYOUT,Object(H.h)(barGrid_layout,"pictorialBar")),d.registerLayout(d.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,createProgressiveLayout("pictorialBar"))},function(d){d.registerChartView(ly),d.registerSeriesModel(uy),d.registerLayout(themeRiverLayout),d.registerProcessor(dataFilter("themeRiver"))},function(d){d.registerChartView(dy),d.registerSeriesModel(hy),d.registerLayout(Object(H.h)(sunburstLayout,"sunburst")),d.registerProcessor(Object(H.h)(dataFilter,"sunburst")),d.registerVisual(sunburstVisual),function(d){d.registerAction({type:"sunburstRootToNode",update:"updateView"},(function(d,b){b.eachComponent({mainType:"series",subType:"sunburst",query:d},(function(b,x){var T=retrieveTargetInfo(d,["sunburstRootToNode"],b);if(T){var D=b.getViewRoot();D&&(d.direction=aboveViewRoot(D,T.node)?"rollUp":"drillDown"),b.resetViewRoot(T.node)}}))})),d.registerAction({type:"sunburstHighlight",update:"none"},(function(d,b,x){d=Object(H.m)({},d),b.eachComponent({mainType:"series",subType:"sunburst",query:d},(function(b){var x=retrieveTargetInfo(d,["sunburstHighlight"],b);x&&(d.dataIndex=x.node.dataIndex)})),x.dispatchAction(Object(H.m)(d,{type:"highlight"}))})),d.registerAction({type:"sunburstUnhighlight",update:"updateView"},(function(d,b,x){d=Object(H.m)({},d),x.dispatchAction(Object(H.m)(d,{type:"downplay"}))}))}(d)},function(d){d.registerChartView(Dy),d.registerSeriesModel(yy)}]),use((function(d){use(installSimple_install),use(axisPointer_install_install)})),use((function(d){use(axisPointer_install_install),cp.registerAxisPointerClass("PolarAxisPointer",Yy),d.registerCoordinateSystem("polar",ov),d.registerComponentModel(qy),d.registerComponentView(mv),axisModelCreator(d,"angle",Xy,fv),axisModelCreator(d,"radius",Ky,gv),d.registerComponentView(uv),d.registerComponentView(
vendor: 5,089 bytes, line 808
808pv),d.registerLayout(Object(H.h)(barPolar,"bar"))})),use(geo_install_install),use((function(d){use(axisPointer_install_install),cp.registerAxisPointerClass("SingleAxisPointer",Iv),d.registerComponentView(Dv),d.registerComponentView(xv),d.registerComponentModel(wv),axisModelCreator(d,"single",wv,wv.defaultOption),d.registerCoordinateSystem("single",Tv)})),use(parallel_install_install),use((function(d){d.registerComponentModel(Ev),d.registerComponentView(Lv),d.registerCoordinateSystem("calendar",Rv)})),use((function(d){d.registerComponentModel(Zv),d.registerComponentView(rb),d.registerCoordinateSystem("matrix",hb)})),use((function(d){d.registerComponentModel(gb),d.registerComponentView(vb),d.registerPreprocessor((function(d){var b=d.graphic;Object(H.t)(b)?b[0]&&b[0].elements?d.graphic=[d.graphic[0]]:d.graphic=[{elements:b}]:b&&!b.elements&&(d.graphic=[{elements:[b]}])}))})),use((function(d){d.registerComponentModel(Db),d.registerComponentView(Eb),registerFeature("saveAsImage",Lb),registerFeature("magicType",jb),registerFeature("dataView",Hb),registerFeature("dataZoom",sx),registerFeature("restore",Ub),use(installDataZoomSelect_install)})),use((function(d){use(axisPointer_install_install),d.registerComponentModel(lx),d.registerComponentView(mx),d.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},H.L),d.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},H.L)})),use(axisPointer_install_install),use((function(d){d.registerComponentView(wx),d.registerComponentModel(Sx),d.registerPreprocessor(brushPreprocessor),d.registerVisual(d.PRIORITY.VISUAL.BRUSH,brushVisual),d.registerAction({type:"brush",event:"brush",update:"updateVisual"},(function(d,b){b.eachComponent({mainType:"brush",query:d},(function(b){b.setAreas(d.areas)}))})),d.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},H.L),d.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},H.L),registerFeature("brush",Cx)})),use((function(d){d.registerComponentModel(Tx),d.registerComponentView(kx)})),use((function(d){d.registerComponentModel(Ox),d.registerComponentView(Rx),d.registerSubTypeDefaulter("timeline",(function(){return"slider"})),function(d){d.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},(function(d,b,x){var T=b.getComponent("timeline");return T&&null!=d.currentIndex&&(T.setCurrentIndex(d.currentIndex),!T.get("loop",!0)&&T.isIndexMax()&&T.getPlayState()&&(T.setPlayState(!1),x.dispatchAction({type:"timelinePlayChange",playState:!1,from:d.from}))),b.resetOption("timeline",{replaceMerge:T.get("replaceMerge",!0)}),Object(H.i)({currentIndex:T.option.currentIndex},d)})),d.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},(function(d,b){var x=b.getComponent("timeline");x&&null!=d.playState&&x.setPlayState(d.playState)}))}(d),d.registerPreprocessor(timelinePreprocessor)})),use((function(d){d.registerComponentModel(Vx),d.registerComponentView(Gx),d.registerPreprocessor((function(d){checkMarkerInSeries(d.series,"markPoint")&&(d.markPoint=d.markPoint||{})}))})),use((function(d){d.registerComponentModel($x),d.registerComponentView(Ux),d.registerPreprocessor((function(d){checkMarkerInSeries(d.series,"markLine")&&(d.markLine=d.markLine||{})}))})),use((function(d){d.registerComponentModel(Yx),d.registerComponentView(Xx),d.registerPreprocessor((function(d){checkMarkerInSeries(d.series,"markArea")&&(d.markArea=d.markArea||{})}))})),use((function(d){use(installLegendPlain_install),use(installLegendScroll_install)})),use((function(d){use(installDataZoomInside_install),use(installDataZoomSlider_install)})),use(installDataZoomInside_install),use(installDataZoomSlider_install),use((function(d){use(installVisualMapContinuous_install),use(installVisualMapPiecewise_install)})),use(installVisualMapContinuous_install),use(installVisualMapPiecewise_install),use((function(d){d.registerComponentModel(Y_),d.registerComponentView(q_)})),use((function(d){d.registerPreprocessor(ariaPreprocessor),d.registerVisual(d.PRIORITY.VISUAL.ARIA,ariaVisual)})),use((function(d){d.registerTransform(aw),d.registerTransform(sw)})),use((function(d){d.registerComponentModel(lw),d.registerComponentView(uw)})),use((function(d){d.registerUpdateLifecycle("series:beforeupdate",(function(d,b,x){Object(H.k)(normalizeToArray(x.seriesTransition),(function(d){Object(H.k)(normalizeToArray(d.to),(function(d){for(var b=x.updatedSeries,T=0;T<b.length;T++)(null!=d.seriesIndex&&d.seriesIndex===b[T].seriesIndex||null!=d.seriesId&&d.seriesId===b[T].id)&&(b[T].__universalTransitionEnabled=!0)}))}))})),d.registerUpdateLifecycle("series:transition",(function(d,b,x){var T=hw(b);if(T.oldSeries&&x.updatedSeries&&x.optionChanged){var D=x.seriesTransition;if(D)Object(H.k)(normalizeToArray(D),(function(d){!function(d,b,x,T){var D=[],z=[];Object(H.k)(normalizeToArray(d.from),(function(d){var x=querySeries(b.oldSeries,d);x>=0&&D.push({dataGroupId:b.oldDataGroupIds[x],data:b.oldData[x],divide:getDivideShapeFromData(b.oldData[x]),groupIdDim:d.dimension})}
808)),Object(H.k)(normalizeToArray(d.to),(function(d){var T=querySeries(x.updatedSeries,d);if(T>=0){var D=x.updatedSeries[T].getData();z.push({dataGroupId:b.oldDataGroupIds[T],data:D,divide:getDivideShapeFromData(D),groupIdDim:d.dimension})}})),D.length>0&&z.length>0&&transitionBetween(D,z,T)}(d,T,x,b)}));else{var z=function(d,b){var x=Object(H.f)(),T=Object(H.f)(),D=Object(H.f)();return Object(H.k)(d.oldSeries,(function(b,x){var z=d.oldDataGroupIds[x],W=d.oldData[x],U=getSeriesTransitionKey(b),Y=convertArraySeriesKeyToString(U);T.set(Y,{dataGroupId:z,data:W}),Object(H.t)(U)&&Object(H.k)(U,(function(d){D.set(d,{key:Y,dataGroupId:z,data:W})}))})),Object(H.k)(b.updatedSeries,(function(d){if(d.isUniversalTransitionEnabled()&&d.isAnimationEnabled()){var b=d.get("dataGroupId"),z=d.getData(),W=getSeriesTransitionKey(d),U=convertArraySeriesKeyToString(W),Y=T.get(U);if(Y)x.set(U,{oldSeries:[{dataGroupId:Y.dataGroupId,divide:getDivideShapeFromData(Y.data),data:Y.data}],newSeries:[{dataGroupId:b,divide:getDivideShapeFromData(z),data:z}]});else if(Object(H.t)(W)){0;var Z=[];Object(H.k)(W,(function(d){var b=T.get(d);b.data&&Z.push({dataGroupId:b.dataGroupId,divide:getDivideShapeFromData(b.data),data:b.data})})),Z.length&&x.set(U,{oldSeries:Z,newSeries:[{dataGroupId:b,data:z,divide:getDivideShapeFromData(z)}]})}else{var J=D.get(W);if(J){var ee=x.get(J.key);ee||(ee={oldSeries:[{dataGroupId:J.dataGroupId,data:J.data,divide:getDivideShapeFromData(J.data)}],newSeries:[]},x.set(J.key,ee)),ee.newSeries.push({dataGroupId:b,data:z,divide:getDivideShapeFromData(z)})}}}})),x}(T,x);Object(H.k)(z.keys(),(function(d){var x=z.get(d);transitionBetween(x.oldSeries,x.newSeries,b)}))}Object(H.k)(x.updatedSeries,(function(d){d.__universalTransitionEnabled&&(d.__universalTransitionEnabled=!1)}))}for(var W=d.getSeries(),U=T.oldSeries=[],Y=T.oldDataGroupIds=[],Z=T.oldData=[],J=0;J<W.length;J++){var ee=W[J].getData();ee.count()<1e4&&(U.push(W[J]),Y.push(W[J].get("dataGroupId")),Z.push(ee))}}))})),use(installLabelLayout),use((function(d){!function(d){function actionHandler(d,b){var x=[],T=parseFinder(b,d);function dealUpdate(b,D){Object(H.k)(T[b],(function(b){var T=b.updateAxisBreaks(d);Object(H.k)(T.breaks,(function(d){var T;x.push(Object(H.i)(((T={})[D]=b.componentIndex,T),d))}))}))}return dealUpdate("xAxisModels","xAxisIndex"),dealUpdate("yAxisModels","yAxisIndex"),dealUpdate("singleAxisModels","singleAxisIndex"),{eventBreaks:x}}d.registerAction(Hh,actionHandler),d.registerAction(Gh,actionHandler),d.registerAction($h,actionHandler)}(d),installScaleBreakHelper(),installAxisBreakHelper()})),use((function(){op=legacyLayOutGridByContained})),use((function(d){d.registerLayout(d.PRIORITY.VISUAL.POST_CHART_LAYOUT,jitterLayout)}))},Mn2d:function(d){d.exports={fontFamily:"Verdana, Geneva, sans-serif",values:[{avg:1.9013624924879808,height:3.55078125,size:3},{avg:5.070299979967949,height:9.54296875,size:8},{avg:6.337874974959936,height:12.015625,size:10},{avg:7.605449969951923,height:14.5,size:12},{avg:10.140599959935898,height:19.5,size:16},{avg:12.675749949919872,height:24.03125,size:20},{avg:20.281199919871796,height:38.52734375,size:32},{avg:30.421799879807693,height:58.5,size:48}]}},NKaG:function(d,b){window.App=window.App||{},App.AdaptiveImg=function(){"use strict";var d={imgs:[],confirmedPaths:[],media:{lg:{max:1e5},md:{max:1279},sm:{max:991},xs:{max:679}},dataPrefix:"img",resizeTimeOut:500};function initAdaptive(){$(window).on("resize",(function(){var b,x;b=getMediaQueries(),x=getOrientation(),$.each(d.imgs,(function(d){resizeImg(d,b,x)}))}))}function getOrientation(){return window.innerHeight>window.innerWidth?"portrait":"landscape"}function resizeImg(b,x,T){var D=d.imgs[b];$.each(x,(function(b,x){if(D[x]){var z="";if((z=isRetina()?D[x+"2x"]:D[x])in d.confirmedPaths)setSource(D.$el,z,T);else{var H=new window.Image;H.src=z,$(H).on("load",(function(){return!!this.complete&&((void 0===this.naturalWidth||0!==this.naturalWidth)&&(d.confirmedPaths.push(this.src),void setSource(D.$el,this.src,T)))}))}return!1}}))}function setSource(d,b,x){var T=d;if("IMG"==T.prop("tagName"))T.attr("src",b);else{var D=new window.Image;if(D.onload=function(){T.css({"background-image":"url('"+b+"')"}),isRetina()&&0===T.css("background-size").indexOf("auto")&&T.css("background-size",D.width/2+"px auto")},D.src=b,T.hasClass("loop1")&&"landscape"===x){$("#loop1").remove();var z=document.createElement("img");z.setAttribute("src",b),z.setAttribute("class","visible-print"),z.setAttribute("id","loop1"),z.setAttribute("alt",$("title").text()),$(".header-logo").after(z)}}}function getMediaQueries(){var b=function(){var d=window,b="inner";"innerWidth"in window||(b="client",d=document.documentElement||document.body);return d[b+"Width"]}(),x=[];return $.each(d.media,(function(d,T){var D=!0,z=!0;T.max&&T.max<b&&(D=!1),T.min&&T.min>b&&(z=!1),D&&z&&x.unshift(d)})),x}function isRetina(){return window.devicePixelRatio>1||!(!window.matchMedia||!window.matchMedia("(-webkit-min-device-pixel-ratio: 1.5), (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3/2), (min-resolution: 1.5dppx)").matches)}return{init:function(){initAdaptive();var b=getMediaQueries();$(".adaptive-img").each((function(){var x,T,D,z,H=$(this);if(!H.data("am.adaptiveimg")){H.data("am.adaptiveimg",!0);var W=(T={$el:x=H},D=d.imgs.length,z=!1,$.each(x.data(),(function(b,x){if(0===b.indexOf(d.dataPrefix)){z=!0;var D=b.substring(d.dataPrefix.length);T[D.toLowerCase()]=x}})),!!z&&(d.imgs[D]=T,D));if(!1!==W){var U=getOrientation();resizeImg(W,b,U)}}}))}}}()},NTps:function(d,b,x){"use strict";function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}var T=x("VF6F"),D=T("Boolean.prototype.toString"),z=T("Object.prototype.toString"),H=x("B6Q+")();d.exports=function(d){return"boolean"==typeof d||null!==d&&"object"===_typeof(d)&&(H&&Symbol.toStringTag in d?function(d){try{return D(d),!0}catch(d){return!1}}(d):"[object Boolean]"===z(d))}},Ncs0:function(d,b){
809/**
810 * [jQuery-stickit]{@link https://github.com/emn178/jquery-stickit}
811 *
812 * @version 0.2.6
813 * @author Chen, Yi-Cyuan [[email protected]]
814 * @copyright Chen, Yi-Cyuan 2014-2016
815 * @license MIT
816 */
817!function(d,b,x){function u(d){var b,x=0;return function(){var T=this,D=arguments,f=function(){x=new Date,d.apply(T,D)};b&&(clearTimeout(b),b=null);var z=new Date-x;10<z?f():b=setTimeout(f,10-z)}}function c(b,x){this.element=d(b),d.isArray(x)||(x=[x||{}]),x.length||x.push({}),this.optionList=x;var T=this.element.css("transform")||"";
817this.defaultZIndex=this.element.css("z-index")||100,("auto"==this.defaultZIndex||"0"==this.defaultZIndex&&"none"!=T)&&(this.defaultZIndex=100),this.updateOptions(),this.lastY=this.offsetY=0,this.stick=W.None,this.spacer=d("<div />"),this.spacer[0].id=b.id,this.spacer[0].className=b.className,this.spacer[0].style.cssText=b.style.cssText,this.spacer.addClass("jquery-stickit-spacer"),this.spacer[0].style.cssText+=";visibility: hidden !important;display: none !important",this.spacer.insertAfter(this.element),"static"==this.element.parent().css("position")&&this.element.parent().css("position","relative"),"auto"==this.element.css("will-change")&&this.element.css("will-change","transform"),"none"==T?this.element.css("transform","translateZ(0)"):-1==T.indexOf("matrix3d")&&this.element.css("transform",this.element.css("transform")+" translateZ(0)"),this.bound(),this.precalculate(),this.store()}function n(){Y=b.innerHeight||x.documentElement.clientHeight,Z=b.innerWidth||x.documentElement.clientWidth,d(":jquery-stickit").each((function(){d(this).data("jquery-stickit").resize()}))}var T=-1!=navigator.userAgent.indexOf("MSIE 7.0"),D=T?-2:0,z=void 0!==b.MutationObserver,H=b.StickScope={Parent:0,Document:1},W={None:0,Fixed:1,Absolute:2},U=!1;d.expr[":"]["jquery-stickit"]=function(b){return!!d(b).data("jquery-stickit")},c.prototype.trigger=function(d){var b="on"+d.charAt(0).toUpperCase()+d.slice(1);this.options[b]&&this.options[b].call(this.element),this.element.trigger("stickit:"+d)},c.prototype.isActive=function(d){return(void 0===d.screenMinWidth||Z>=d.screenMinWidth)&&(void 0===d.screenMaxWidth||Z<=d.screenMaxWidth)},c.prototype.updateCss=function(d){this.element.hasClass(this.options.className)&&d.className!=this.options.className&&this.element.removeClass(this.options.className).addClass(d.className);var b={};this.stick==W.Absolute?this.options.extraHeight!=d.extraHeight&&(b.bottom=-this.options.extraHeight+"px"):this.options.top!=d.top&&(b.top=d.top+this.offsetY+"px"),this.options.zIndex!=d.zIndex&&(b.zIndex=this.getZIndex(d)),this.element.css(b)},c.prototype.updateOptions=function(){var d=this.getActiveOptionsKey();if(this.activeKey!=d){this.activeKey=d;var b=this.getActiveOptions();this.options&&(d?this.stick!=W.None&&(b.scope==this.options.scope?this.updateCss(b):(this.reset(),setTimeout(this.locate.bind(this)))):this.reset()),this.options=b,this.zIndex=this.getZIndex(b)}},c.prototype.getZIndex=function(d){return void 0===d.zIndex?this.defaultZIndex:d.zIndex},c.prototype.getActiveOptionsKey=function(){for(var d=[],b=0;b<this.optionList.length;++b)this.isActive(this.optionList[b])&&d.push(b);return d.join("_")},c.prototype.getActiveOptions=function(){for(var b={},x=0;x<this.optionList.length;++x){var T=this.optionList[x];this.isActive(T)&&d.extend(b,T)}return b.scope=b.scope||H.Parent,b.className=b.className||"stick",b.top=b.top||0,b.extraHeight=b.extraHeight||0,void 0===b.overflowScrolling&&(b.overflowScrolling=!0),b},c.prototype.store=function(){var d=this.element[0];this.origStyle={width:d.style.width,position:d.style.position,left:d.style.left,top:d.style.top,bottom:d.style.bottom,zIndex:d.style.zIndex}},c.prototype.restore=function(){this.element.css(this.origStyle)},c.prototype.bound=function(){var d=this.element;if(T||"border-box"!=d.css("box-sizing"))this.extraWidth=0;else{var b=parseInt(d.css("border-left-width"))||0,x=parseInt(d.css("border-right-width"))||0,D=parseInt(d.css("padding-left"))||0,z=parseInt(d.css("padding-right"))||0;this.extraWidth=b+x+D+z}this.margin={top:parseInt(d.css("margin-top"))||0,bottom:parseInt(d.css("margin-bottom"))||0,left:parseInt(d.css("margin-left"))||0,right:parseInt(d.css("margin-right"))||0},this.parent={border:{bottom:parseInt(d.parent().css("border-bottom-width"))||0}}},c.prototype.precalculate=function(){this.baseTop=this.margin.top+this.options.top,this.basePadding=this.baseTop+this.margin.bottom,this.baseParentOffset=this.options.extraHeight-this.parent.border.bottom,this.offsetHeight=Math.max(this.element.height()-Y,0)},c.prototype.reset=function(){this.stick==W.Absolute?(this.trigger("unend"),this.trigger("unstick")):this.stick==W.Fixed&&this.trigger("unstick"),this.stick=W.None,this.spacer.css("width",""),this.spacer[0].style.cssText+=";
817display: none !important",this.restore(),this.element.removeClass(this.options.className)},c.prototype.setAbsolute=function(d){this.stick==W.None&&(this.element.addClass(this.options.className),this.trigger("stick")),this.trigger("end"),this.stick=W.Absolute,this.element.css({width:this.element.width()+this.extraWidth+"px",position:"absolute",top:this.origStyle.top,left:d+"px",bottom:-this.options.extraHeight+"px","z-index":this.zIndex})},c.prototype.setFixed=function(d,b,x){this.stick==W.None?(this.element.addClass(this.options.className),this.trigger("stick")):this.trigger("unend"),this.stick=W.Fixed,this.lastY=b,this.offsetY=x,this.element.css({width:this.element.width()+this.extraWidth+"px",position:"fixed",top:this.options.top+x+"px",left:d+"px",bottom:this.origStyle.bottom,"z-index":this.zIndex})},c.prototype.updateScroll=function(d){0!=this.offsetHeight&&this.options.overflowScrolling&&(this.offsetY=Math.max(this.offsetY+d-this.lastY,-(this.options.top+this.offsetHeight)),this.offsetY=Math.min(this.offsetY,0),this.lastY=d,this.element.css("top",this.options.top+this.offsetY+"px"))},c.prototype.locate=function(){if(this.activeKey){var d,b,x,T=this.element,z=this.spacer;switch(this.stick){case W.Fixed:0<=(b=(d=z[0].getBoundingClientRect()).top-this.baseTop)?this.reset():this.options.scope==H.Parent?(d=T.parent()[0].getBoundingClientRect()).bottom+this.baseParentOffset+this.offsetHeight<=T.outerHeight(!1)+this.basePadding?this.setAbsolute(this.spacer.position().left):this.updateScroll(d.bottom):this.updateScroll(d.bottom);break;case W.Absolute:b=(d=z[0].getBoundingClientRect()).top-this.baseTop,x=d.left-this.margin.left,0<=b?this.reset():(d=T.parent()[0].getBoundingClientRect()).bottom+this.baseParentOffset+this.offsetHeight>T.outerHeight(!1)+this.basePadding&&this.setFixed(x+D,d.bottom,-this.offsetHeight);break;default:0<=(b=(d=T[0].getBoundingClientRect()).top-this.baseTop)||(b=T.parent()[0].getBoundingClientRect(),z.height(T.height()),z.show(),x=d.left-this.margin.left,this.options.scope==H.Document?this.setFixed(x,d.bottom,0):b.bottom+this.baseParentOffset<=T.outerHeight(!1)+this.basePadding?this.setAbsolute(this.element.position().left):this.setFixed(x+D,d.bottom,0),z.width()||z.width(T.width()))}}},c.prototype.resize=function(){if(this.updateOptions(),this.bound(),this.precalculate(),this.stick!=W.None){var d=this.element,b=this.spacer;d.width(b.width()),b.height(d.height()),this.stick==W.Fixed&&(b=this.spacer[0].getBoundingClientRect().left-this.margin.left,d.css("left",b+"px"))}this.locate()},c.prototype.destroy=function(){this.reset(),this.spacer.remove(),this.element.removeData("jquery-stickit")};var Y,Z,m=function(){d(":jquery-stickit").each((function(){d(this).data("jquery-stickit").locate()}))},J=["destroy"];d.fn.stickit=function(T,D){return"string"==typeof T?-1!=d.inArray(T,J)&&this.each((function(){var b=d(this).data("jquery-stickit");b&&b[T].apply(b,D)})):(U||(U=!0,n(),d(x).ready((function(){d(b).bind("resize",n).bind("scroll",m),d(x.body).on("animationend webkitAnimationEnd oAnimationEnd transitionend webkitTransitionEnd oTransitionEnd",m)})),z&&new MutationObserver(u(m)).observe(x,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),D=d.isArray(T)?T:Array.prototype.slice.call(arguments,0),this.each((function(){var b=new c(this,D);d(this).data("jquery-stickit",b),b.locate()}))),this}}(jQuery,window,document)},NyRB:function(d,b){!function(d){d.fn.cookieNotice=function(b){d(this).each((function(){new CookieNotice(this,b).showCookieBanner()}))};var CookieNotice=function(b,x){var T=this;this.options=d.extend({},this.options,x),this.element=d(b),this.element.on("click",this.options.acceptButton,(function(b){T.acceptCookieBanner(d(this)),b.preventDefault()}))};CookieNotice.prototype={element:null,options:{cookieName:"cookie_banner_seen",acceptButton:".accept",htmlClass:"cookie-banner-active"},showCookieBanner:function(){var b=Cookies.get(this.options.cookieName);(b=void 0!==b&&b)||(this.element.show(),d("html").addClass(this.options.htmlClass))},acceptCookieBanner:function(){Cookies.set(this.options.cookieName,1,{expires:365,path:"/"}),this.element.hide(),d("html").removeClass(this.options.htmlClass)}},d.fn.disableNonFunctionalCookies=function(b){d(this).each((function(){new NonFunctionalCookies(this,b).checkCookies()}))};var NonFunctionalCookies=function(b,x){var T=this;this.options=d.extend({},this.options,x),this.element=d(b),this.element.on("change",(function(d){T.setCookie(),d.preventDefault()})),this.setCheckBox()};NonFunctionalCookies.prototype={element:null,options:{whitelist:["non_functional_cookies","cookie_banner_seen"],cookieName:"non_functional_cookies"},checkCookies:function(){var b=Cookies.get(this.options.cookieName);if(b=void 0!==b&&b){var x=Cookies.get(),T=this;d.each(x,(function(d,b){-1==T.options.whitelist.indexOf(d)&&Cookies.remove(d)}))}}
817,setCookie:function(){this.element.is(":checked")?(Cookies.set(this.options.cookieName,1,{expires:365,path:"/",secure:!0}),this.checkCookies()):Cookies.remove(this.options.cookieName)},setCheckBox:function(){var d=Cookies.get(this.options.cookieName);d=void 0!==d,this.element.prop("checked",d)}}}(jQuery)},O1Cb:function(d,b){window.App=window.App||{},App.PressContactFlyout={init:function(){$('[data-module~="press-contact-flyout"]').addClass("offscreen"),$('[data-module~="press-contact-flyout"]').on("click",'[data-action="toggle-flyout"]',(function(){$('[data-module~="press-contact-flyout"]').toggleClass("offscreen")}))}}},OlIF:function(d,b){window.App=window.App||{},App.SearchHighlight={init:function(){var d=decodeURIComponent(window.location.hash.slice(8)).replace(/(\%20)+/g," ").replace("&","&amp;").split(new RegExp([" ","\\+","-","\\(","\\)","\\*","/",":","\\?"].join("|"),"g")),b=!1;d[0]&&$("main *").each((function(){if($(this).text().toLowerCase().indexOf(d[0].toLowerCase())>-1){if(!b){var x=this;window.setTimeout((function(){App.FUNCTIONS.performantScrollBody($(x).offset().top-100,500)}),500),b=!0}if(0===this.childElementCount){for(var T=[],D=0;D<d.length;D++)T.push('<span class="search-highlight">'+d[D]+"</span>");this.innerHTML=function(d,b,x){var T,D=[],z={};for(T=0;T<b.length;T++)D.push(b[T].replace(/([-[\]{}()*+?.\\^$|#,])/g,"\\$1")),z[b[T]]=x[T];return D=D.join("|"),d=d.replace(new RegExp(D,"g"),(function(d){return z[d]}))}(this.innerHTML,d,T)}}}))}}},Oyi2:function(d,b,x){"use strict";function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}var T=x("VF6F")("SharedArrayBuffer.prototype.byteLength",!0);d.exports=T?function(d){if(!d||"object"!==_typeof(d))return!1;try{return T(d),!0}catch(d){return!1}}:function(d){return!1}},PiyM:function(d,b,x){!function(b){"use strict";function isPrimitive(d){return d!==Object(d)}function copyValue(d){return isPrimitive(d)?d:Array.isArray(d)?mergeArray(d.slice(0),d):mergeObject({},d)}function mergeArray(d,b){var x,T;for(x=0,T=b.length;x<T;x+=1)d[x]=copyValue(b[x]);return d}function mergeObject(d,b){var x;for(x in b)b.hasOwnProperty(x)&&(d[x]=copyValue(b[x]));return d}Array.isArray||(Array.isArray=function(d){return"[object Array]"===Object.prototype.toString.call(d)}),d.exports=function(d){var b,x,T;if(d&&!isPrimitive(d)){for(b=1,x=arguments.length;b<x;b+=1)isPrimitive(T=arguments[b])||(Array.isArray(T)?mergeArray(d,T):mergeObject(d,T));return d}}}()},PrET:function(d,b,x){"use strict";var T=x("eyOE"),D=x("AM7I"),z=x("0Ake"),H=x("DSU0"),W=D("%Function.prototype.apply%"),U=D("%Function.prototype.call%"),Y=
817D("%Reflect.apply%",!0)||T.call(U,W),Z=x("cckQ"),J=D("%Math.max%");d.exports=function(d){if("function"!=typeof d)throw new H("a function is required");var b=Y(T,U,arguments);return z(b,1+J(0,d.length-(arguments.length-1)),!0)};var applyBind=function(){return Y(T,W,arguments)};Z?Z(d.exports,"apply",{value:applyBind}):d.exports.apply=applyBind},Py83:function(d,b,x){"use strict";var T=function(){function ContentContact(d){var b=this;this.swiper=null,this.mediaQueryList=null,this.updateSwiper=function(){b.mediaQueryList&&b.mediaQueryList.matches?b.initSwiper():b.destroySwiper()},this.updateNavigationState=function(d){var x=b.$element.find(".content-contact__controls").get(0),T=b.$element.find(".content-contact__control--prev").get(0),D=b.$element.find(".content-contact__control--next").get(0),z=d||b.swiper;if(z&&(x&&z.slides.length<=1&&x.classList.add("hidden"),T&&D)){var H=!!(z.isLocked||z.isBeginning&&z.isEnd),W=H||!!z.isBeginning,U=H||!!z.isEnd;T.disabled=W,D.disabled=U,T.classList.toggle("button-disabled",W),D.classList.toggle("button-disabled",U),T.setAttribute("aria-disabled",String(W)),D.setAttribute("aria-disabled",String(U))}},this.$element=d,this.initModule()}return ContentContact.prototype.initModule=function(){this.mediaQueryList=window.matchMedia("(max-width: 1199px)");var d=this.mediaQueryList;"function"==typeof d.addEventListener?d.addEventListener("change",this.updateSwiper):"function"==typeof d.addListener&&d.addListener(this.updateSwiper),this.updateSwiper()},ContentContact.prototype.initSwiper=function(){if(!this.swiper){var d=this.$element.find('[data-role="content-contact-swiper"]').get(0),b=this.$element.find(".content-contact__control--prev").get(0),x=this.$element.find(".content-contact__control--next").get(0),T=window.Swiper;d&&T&&(this.swiper=new T(d,{slidesPerView:1.1,spaceBetween:16,watchOverflow:!0,observer:!0,observeParents:!0,navigation:{prevEl:b,nextEl:x,disabledClass:"button-disabled",lockClass:"content-contact__control--lock"}}),this.swiper.on("slideChange reachBeginning reachEnd fromEdge update resize",this.updateNavigationState),this.updateNavigationState())}},ContentContact.prototype.destroySwiper=function(){this.swiper&&"function"==typeof this.swiper.destroy&&this.swiper.destroy(!0,!0),this.swiper=null;var d=this.$element.find(".content-contact__controls").get(0),b=this.$element.find(".content-contact__control--prev").get(0),x=this.$element.find(".content-contact__control--next").get(0);d&&(d.hidden=!1),b&&(b.disabled=!1,b.classList.remove("button-disabled"),b.removeAttribute("aria-disabled")),x&&(x.disabled=!1,x.classList.remove("button-disabled"),x.removeAttribute("aria-disabled"))},ContentContact}();b.a=T},Q4Qj:function(d,b,x){var T,D,z,H,W,U,Y,Z,J,ee,te,ne,ie;window.App=window.App||{},App.DefaultForm=(T=['input[type="text"]','input[type="number"]','input[type="email"]','input[type="tel"]','input[type="search"]','input[type="url"]','input[type="password"]'].join(","),D=function(d){var b=d.map((function(){return $(this).attr("name")})).toArray(),x={};return d.each((function(){var d=$(this).attr("name");if(d.match(/(.+)Confirmation$/)||$(this).data("confirmation-for")){var T;T=$(this).data("confirmation-for")?$(this).data("confirmation-for"):d.match(/(.+)Confirmation$/)[1];var D=$(this).closest("form").find('[name="'+T+'"]').attr("id");-1!==b.indexOf(T)&&(x[d]=x[d]||{},x[d].equalTo='[id="'+D+'"]'),$(this).on("paste drop",(function(){return!1})),$(this).attr("autocomplete","off")}$(this).attr("pattern")&&(x[d]=x[d]||{},x[d].pattern=$(this).attr("pattern")),$(this).attr("data-additional-pattern")&&(x[d]=x[d]||{},x[d].additionalPattern=$(this).attr("data-additional-pattern")),$(this).attr("data-filesize")&&(x[d]=x[d]||{},x[d].fileSize=Math.round(parseInt($(this).attr("data-filesize"),10)/1024/1024*10)/10+" MB"),$(this).attr("data-extension")&&(x[d]=x[d]||{},x[d].fileExtension=$(this).attr("data-extension")),"email"===$(this).attr("type")&&$(this).attr("pattern")&&(x[d]=x[d]||{},x[d].email=!0)})),x},z=function(d){!function(){if("validationMessages"in App){var d={};for(var b in App.validationMessages){var x=App.validationMessages[b];x.match(/\{\d+\}/g)?d[b]=$.validator.format(x):d[b]=x}$.extend($.validator.messages,d)}}(),$.validator.addMethod("pattern",(function(d,b,x){return!!this.optional(b)||("string"==typeof x&&(x=new RegExp("^(?:"+x+")$")),x.test(d))}
817)),$.validator.addMethod("additionalPattern",(function(d,b,x){if(this.optional(b))return!0;"string"==typeof x&&(x=new RegExp("^(?:"+x+")$"));var T=$(b).attr("pattern");return"string"==typeof T&&new RegExp("^(?:"+T+")$").test(d),x.test(d)})),$.validator.addMethod("fileSize",(function(d,b,x){var T=App.DefaultForm.files.get(b),D=!1;if(T)for(var z=0;z<T.length;z++)T[z].size/1024/1024>parseFloat(x)&&(D=!0);return this.optional(b)||!D})),$.validator.addMethod("phone",(function(d,b){return this.optional(b)||/^[0-9\- ()+/]+$/.test(d)}),"This is not a valid number"),$.validator.addMethod("fileExtension",(function(d,b,x){var T=App.DefaultForm.files.get(b),D=x.split(",").map((function(d){return d.trim().toLowerCase()})),z=!1;if(T)for(var H=0;H<T.length;H++)if(!D.includes(T[H].name.split(".").pop().toLowerCase())){z=!0;break}return this.optional(b)||!z})),$.validator.addMethod("mindate",(function(d,b,x){if(this.optional(b))return!0;var T=moment(x);return moment(d,"DD.MM.YYYY").isAfter(T)})),$.validator.addMethod("maxdate",(function(d,b,x){if(this.optional(b))return!0;var T=moment(x);return moment(d,"DD.MM.YYYY").isBefore(T)})),$.validator.addMethod("iban",(function(d,b){return x("aks9").isValidIBAN(d)})),$.validator.addMethod("bic",(function(d,b){return x("aks9").isValidBIC(d)}));var b=d.find("input[name], select[name], textarea[name]");return d.validate({onsubmit:!1,errorClass:"with-error",validClass:"with-success",rules:D(b),ignore:":disabled",errorElement:"span",messages:{email:{pattern:$.validator.messages.email},phone:{pattern:$.validator.messages.phone}},success:function(d,b){var x=$(b),T=$(b).closest('[data-role="form-field"]');""===x.val()?T.removeClass(this.errorClass+" "+this.validClass):T.addClass(this.validClass).removeClass(this.errorClass)},highlight:function(d,b,x){var T=$(d),D=T.closest('[data-role="form-field"]');T.is(":radio, :checkbox")&&(D.addClass(b).removeClass(x),D=D.parent()),D.addClass(b).removeClass(x)},unhighlight:function(d,b){var x=$(d),T=x.closest('[data-role="form-field"]');x.is(":radio, :checkbox")&&(T.removeClass(b),T=T.parent()),T.removeClass(b)},errorPlacement:function(d,b){var x=$(b),T=$(b).closest('[data-role="form-field"]');x.is(":radio, :checkbox")&&(T=T.parent()),d.attr("role","alert"),d.attr("aria-live","polite"),T.find('[data-role="error-label"]').html(d)}})},W=function(d,b){var x=d.find('button[type="submit"]');x.find('[data-role="default-label"]').toggleClass("hidden",b),x.find('[data-role="success-label"]').toggleClass("hidden",!b),x.find('[data-role="loading-label"]').toggleClass("hidden",!0),x.toggleClass("button--success",b),x.prop("disabled",b);var T=d.find('[data-role="print-button"]');b&&(T.removeClass("hidden"),T.prop("disabled",!1),d.find('[data-action="go-back"]').addClass("hidden"),d.find(".form-field__textarea").each((function(){$(this).after('<div class="form-field__textarea-replacement">'+$(this).val().replace(/\n/g,"<br>")+"</div>")})),d.data("show-thank-you-content")&&$.get(d.data("thank-you-content-url"),(function(b){d.addClass("hidden"),d.after(b),$('[data-hide-after-submit="true"]').addClass("hidden"),window.App.FUNCTIONS.performantScrollBody($('[data-role="thank-you-content"]').offset().top-$('[data-role="layout-header"]').height(),500)})));var D=d.find('[data-module="form-submit-overlay"]');b&&D.length&&U(D)},U=function(d){$(document).on("keyup.formOverlay",(function(b){27===b.keyCode&&Y(d)})),d.on("click",(function(d){0===$(d.target).closest('[data-role="modal-dialog"]').length&&Y($(this))})),d.on("click",'[data-action="close-modal"]',(function(b){b.preventDefault(),Y(d)})),d.find("a").on("click",(function(){var b=$(this).attr("target");b&&"_blank"===b||Y(d)})),d.addClass("onscreen"),window.setTimeout((function(){d.addClass("opaque")}),10),d.find('[data-action="close-modal"]').prop("disabled",!1)},Y=function(d){$(document).off("keyup.overlay"),d.removeClass("opaque"),0!==parseInt(d.css("transitionDuration"),10)?d.on("transitionend",(function onTransitionEnd(b){b.target===d[0]&&(d.off("transitionend",onTransitionEnd),d.removeClass("onscreen"))})):d.removeClass("onscreen")}
817,Z=function(d,b,x){var T=JSON.parse(d).errors;T&&(T.forEach((function(d){var b=x.find('[name="'+d.field+'"]').closest('[data-role="form-field"]');b.addClass("with-error"),b.find('[data-role="error-label"]').text(d.errors[0])})),x.find('[data-role="form-field"].with-error:first').find("input, select, textarea").focus(),x.trigger("validationerror",[T,b]))},J=function(d,b,x){var T=x.attr("data-server-error-message");window.alert(T)},ee=function(d,b,x){var T=x.attr("data-unknown-error-message");window.alert(T)},te=function(d){var b;if(d.find(T).length>0)b=d.find(T)[0].value,d.toggleClass("filled",0!==b.trim().length);else if(d.find("select").length>0){b=d.find("select")[0].value,d.toggleClass("filled",0!==b.trim().length),""!==b&&d.removeClass("with-error");var x=d.parents('[data-role="form-step"]').first();if(x.length){var D=x.parents('[data-module="default-form multi-step-form"]').first().find('[data-action="go-forward"]');x.find('[data-role="form-conditional-required"]:visible').length?(D.addClass("button--disabled"),D.attr("tabindex","-1")):(D.removeClass("button--disabled"),D.attr("tabindex","0"))}}else d.find('input[type="file"]').length>0&&(b=d.find('input[type="file"]')[0].files,d.toggleClass("filled",0!==b.length))},ne=function(d,b){var x=d.attr("data-tracking-parameter");if("dataLayer"in window&&x&&window.dataLayer.push({event:"formSubmit",successParam:x}),window.App.FORM_TRACKING_QUEUE_URL){var T=d.find('[name="path"]').val(),D=T.split("/")[2].toUpperCase(),z=JSON.stringify({formType:d.data("formType"),success:b,path:T,website:D}),H='<?xml version="1.0" encoding="UTF-8"?>\n<QueueMessage>\n  <MessageText>'.concat(z,"</MessageText>\n</QueueMessage>");fetch(window.App.FORM_TRACKING_QUEUE_URL,{method:"POST",headers:{"Content-Type":"application/xml"},body:H})}},ie=function(d,b){if(b){if(!d.data("success-page"))return;window.location.href=d.data("success-page")}else{if(!d.data("error-page"))return;window.location.href=d.data("error-page")}},{init:function(){$('[data-module~="default-form"]').each((function(){var d=$(this),b=new Date;d.find('[data-role="container-outer"]').hide();var x=z(d);d.on("submit",(function(d){d.preventDefault();var x=$(this);if(x.data("hasBeenSubmitted"))return!1;H(x).then((function(){return App.Recaptcha.run(x)})).then((function(){(new Date).getTime()/1e3-b.getTime()/1e3<x.find('[data-role="container-outer"]').data("time")&&""===x.find('[name$="-captcha"]').val()&&x.find('[data-role="container-outer"]').append('<input type="hidden" value="1" name="b6fd75d8-captcha-check" />'),x.find('[data-role="captcha-control"]').val(b.getTime()),x.data("flexibleform-instance")&&x.data("flexibleform-instance").handleMultiPageSubmit();var d=function(d){var b=new window.FormData(d[0]);b.append("referrer",window.document.referrer);for(var x=d[0],T="",D=0;D<x.length;D++){var z=$("label[for='"+$(x[D]).attr("id")+"']");0===z.length&&(z=$(x[D]).closest("label"));var H,W="";if(0!==z.length){if(H=""===x[D].name?$(x[D]).data("name"):x[D].name,"radio"===x[D].type||"checkbox"===x[D].type){var U=$(x[D]).parents(".form-group").first();W=$.trim(U.data("group-label"))}else W=$.trim(z.text());if("file"===x[D].type&&App.DefaultForm.files.has(x[D])){var Y=App.DefaultForm.files.get(x[D]);if(Y.length>0){b.set(x[D].name,Y.shift());var Z=!0,J=!1,ee=void 0;try{for(var te,ne=Y[Symbol.iterator]();!(Z=(te=ne.next()).done);Z=!0){var ie=te.value;b.append(x[D].name,ie)}}catch(d){J=!0,ee=d}finally{try{Z||null==ne.return||ne.return()}finally{if(J)throw ee}}}}-1!==W.indexOf("\n")&&(W=W.substring(0,W.indexOf("\n")).trim()),T!==H&&""!==H&&b.append(H+"_label",W),T=H}else"date"===$(x[D]).data("type")&&(H=$(x[D]).data("name"),W=$(x[D]).closest('[data-module="date-select"]').data("label"),T!==H&&""!==H&&b.append(H+"_label",W),T=H)}return b}(x);!function(d){d.find("input, select, textarea, button").prop("disabled",!0)}(x),function(d){d.find('[data-role="form-field"]').each((function(){var d=$(this);d.removeClass("with-error"),d.find('[data-role="error-label"]').text()}))}(x),function(d){var b=d.find('button[type="submit"]');b.find('[data-role="default-label"]').toggleClass("hidden",!0),b.find('[data-role="success-label"]').toggleClass("hidden",!0),b.find('[data-role="loading-label"]').toggleClass("hidden",!1)}(x),function(d,b){return $.ajax({url:b.attr("action"),type:b.attr("method"),data:d,dataType:"json",accept:"application/json",processData:!1,contentType:!1})}(d,x).then((function(d){x.trigger("form-success",d),void 0!==d.formPage?(W(x,!1),App.Recaptcha.reset(x)):(x.data("hasBeenSubmitted",!0),ne(x,!0),W(x,!0),App.Recaptcha.reset(x),d.webserviceFailed&&x.data("error-page")?ie(x,!1):ie(x,!0))}),(function(d,b,T){!function(d){d.find("input, select, textarea, button").prop("disabled",!1),d.find("input, select, textarea, button").trigger("change"),d.trigger("fieldsEnabled")}(x),W(x,!1),App.Recaptcha.reset(x),function(d,b,x){switch(b){case 400:Z(d,b,x);break;case 500:J(d,b,x);break;default:ee(d,b,x)}}(d.responseText,d.status,x),ne(x,!1),JSON.parse(d.responseText).errors||window.setTimeout((function(){ie(x,!1)}),3e3)}))}))})),d.on("focus",[T,"select"].join(", "),(function(){$(this).closest('[data-role="form-field"]').addClass("focused")})),d.on("blur",[T,"select"].join(", "),(function(){$(this).closest('[data-role="form-field"]').removeClass("focused")})),d.on("input",T,(function(){te($(this).closest('[data-role="form-field"]'))})),d.on("change","select",(function(){te($(this).closest('[data-role="form-field"]'))})),d.on("change","input[type=file]",(function(){te($(this).closest('[data-role="form-field"]'))})),d.on("click",'button[data-action="refresh-captcha"]',(function(){var b=$(this).siblings('[data-role="captcha-image"]').first(),x=b.attr("src");x=x.replace(/\s+/,"&").split("&")[0],b.attr("src",x+"&"+Date.now());var T=d.find('input[name="captcha"]').val("");te(T.closest('[data-role="form-field"]'))})),window.autosize(d.find("textarea")),d.find('[data-role="form-field"]').each((function(){te($(this))})),d.find('[data-role="print-button"]').on("click",(function(){$("body").addClass("form-print"),window.print()})),d.find("[data-eager-validation-input-field]").blur((function(){var d=$(this).parent().find("[data-eager-validation-value-field]");
817d.length&&x.element(d)})),d.find('[data-role="form-field"]').each((function(){var d=$(this),b=d.find('[data-action="form-show-more-toggle"]'),x=d.find('[data-role="form-show-more-content"]');b.length&&x.length&&b.on("click",(function(){x.toggleClass("hidden"),b.toggleClass("button--show-more-active",!x.hasClass("hidden")),b[0].innerText=x.hasClass("hidden")?b.attr("data-show-more"):b.attr("data-show-less")}))}))}))},validate:H=function(d){var b=$.Deferred();return d.valid()?(d.find(".contact-form__footer-message--error").addClass("hidden"),b.resolve(d)):(d.find(".contact-form__footer-message--error").removeClass("hidden"),b.reject(d)),b.promise()},validateSection:function(d){var b=$.Deferred();return d.find("input, select, textarea").not(":disabled").valid()?(d.parents("form").first().find(".contact-form__footer-message--error").addClass("hidden"),b.resolve(d)):(d.parents("form").first().find(".contact-form__footer-message--error").removeClass("hidden"),b.reject(d)),b.promise()},files:new WeakMap})},QUZ9:function(d,b,x){"use strict";function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}var T=Object.prototype.toString;if(x("IepT")()){var D=Symbol.prototype.toString,z=/^Symbol\(.*\)$/;d.exports=function(d){if("symbol"===_typeof(d))return!0;if("[object Symbol]"!==T.call(d))return!1;try{return function(d){return"symbol"===_typeof(d.valueOf())&&z.test(D.call(d))}(d)}catch(d){return!1}}}else d.exports=function(d){return!1}},QX98:function(d,b,x){"use strict";d.exports=EvalError},QdZy:function(d,b,x){"use strict";var T="undefined"==typeof document?{body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},location:{hash:""}}:document,D="undefined"==typeof window?{document:T,navigator:{userAgent:""},location:{},history:{},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){}}:window;var z=function Dom7(d){!function(d,b){if(!(d instanceof b))throw new TypeError("Cannot call a class as a function")}(this,Dom7);for(var b=0;b<d.length;b+=1)this[b]=d[b];return this.length=d.length,this};function $(d,b){var x=[],H=0;if(d&&!b&&d instanceof z)return d;if(d)if("string"==typeof d){var W,U,Y=d.trim();if(Y.indexOf("<")>=0&&Y.indexOf(">")>=0){var Z="div";for(0===Y.indexOf("<li")&&(Z="ul"),0===Y.indexOf("<tr")&&(Z="tbody"),0!==Y.indexOf("<td")&&0!==Y.indexOf("<th")||(Z="tr"),0===Y.indexOf("<tbody")&&(Z="table"),0===Y.indexOf("<option")&&(Z="select"),(U=T.createElement(Z)).innerHTML=Y,H=0;H<U.childNodes.length;H+=1)x.push(U.childNodes[H])}else for(W=b||"#"!==d[0]||d.match(/[ .<>:~]/)?(b||T).querySelectorAll(d.trim()):[T.getElementById(d.trim().split("#")[1])],H=0;H<W.length;H+=1)W[H]&&x.push(W[H])}else if(d.nodeType||d===D||d===T)x.push(d);else if(d.length>0&&d[0].nodeType)for(H=0;H<d.length;H+=1)x.push(d[H]);return new z(x)}function unique(d){for(var b=[],x=0;x<d.length;x+=1)-1===b.indexOf(d[x])&&b.push(d[x]);return b}$.fn=z.prototype,$.Class=z,$.Dom7=z;"resize scroll".split(" ");function _possibleConstructorReturn(d,b){return!b||"object"!==_typeof(b)&&"function"!=typeof b?_assertThisInitialized(d):b}function _getPrototypeOf(d){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(d){return d.__proto__||Object.getPrototypeOf(d)})(d)}function _assertThisInitialized(d){if(void 0===d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d}function _setPrototypeOf(d,b){return(_setPrototypeOf=Object.setPrototypeOf||function(d,b){return d.__proto__=b,d})(d,b)}function swiper_esm_bundle_classCallCheck(d,b){if(!(d instanceof b))throw new TypeError("Cannot call a class as a function")}function _defineProperties(d,b){for(var x=0;x<b.length;x++){var T=b[x];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(d,T.key,T)}}function _createClass(d,b,x){return b&&_defineProperties(d.prototype,b),x&&_defineProperties(d,x),d}function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}var H={addClass:function(d){if(void 0===d)return this;for(var b=d.split(" "),x=0;x<b.length;x+=1)for(var T=0;T<this.length;T+=1)void 0!==this[T]&&void 0!==this[T].classList&&this[T].classList.add(b[x]);return this},removeClass:function(d){for(var b=d.split(" "),x=0;x<b.length;x+=1)for(var T=0;T<this.length;T+=1)void 0!==this[T]&&void 0!==this[T].classList&&this[T].classList.remove(b[x]);return this},hasClass:function(d){return!!this[0]&&this[0].classList.contains(d)},toggleClass:function(d){for(var b=d.split(" "),x=0;x<b.length;x+=1)for(var T=0;T<this.length;T+=1)void 0!==this[T]&&void 0!==this[T].classList&&this[T].classList.toggle(b[x]);return this},attr:function(d,b){if(1===arguments.length&&"string"==typeof d)return this[0]?this[0].getAttribute(d):void 0;for(var x=0;x<this.length;x+=1)if(2===arguments.length)this[x].setAttribute(d,b);else for(var T in d)this[x][T]=d[T],this[x].setAttribute(T,d[T]);return this},removeAttr:function(d){for(var b=0;b<this.length;b+=1)this[b].removeAttribute(d);return this},data:function(d,b){var x;if(void 0!==b){for(var T=0;T<this.length;T+=1)(x=this[T]).dom7ElementDataStorage||(x.dom7ElementDataStorage={}),x.dom7ElementDataStorage[d]=b;return this}if(x=this[0]){if(x.dom7ElementDataStorage&&d in x.dom7ElementDataStorage)return x.dom7ElementDataStorage[d];var D=x.getAttribute("data-".concat(d));return D||void 0}},transform:function(d){for(var b=0;b<this.length;b+=1){var x=this[b].style;x.webkitTransform=d,x.transform=d}return this},transition:function(d){"string"!=typeof d&&(d="".concat(d,"ms"));for(var b=0;b<this.length;b+=1){var x=this[b].style;x.webkitTransitionDuration=d,x.transitionDuration=d}return this},on:function(){for(var d=arguments.length,b=new Array(d),x=0;x<d;x++)b[x]=arguments[x];var T=b[0],D=b[1],z=b[2],H=b[3];function handleLiveEvent(d){var b=d.target;if(b){var x=d.target.dom7EventData||[];if(x.indexOf(d)<0&&x.unshift(d),$(b).is(D))z.apply(b,x);else for(var T=$(b).parents(),H=0;H<T.length;H+=1)$(T[H]).is(D)&&z.apply(T[H],x)}}function handleEvent(d){var b=d&&d.target&&d.target.dom7EventData||[];b.indexOf(d)<0&&b.unshift(d),z.apply(this,b)}"function"==typeof b[1]&&(T=b[0],z=b[1],H=b[2],D=void 0),H||(H=!1);for(var W,U=T.split(" "),Y=0;Y<this.length;Y+=1){var Z=this[Y];if(D)for(W=0;W<U.length;W+=1){var J=U[W];Z.dom7LiveListeners||(Z.dom7LiveListeners={}),Z.dom7LiveListeners[J]||(Z.dom7LiveListeners[J]=[]),Z.dom7LiveListeners[J].push({listener:z,proxyListener:handleLiveEvent}),Z.addEventListener(J,handleLiveEvent,H)}else for(W=0;W<U.length;W+=1){var ee=U[W];Z.dom7Listeners||(Z.dom7Listeners={}),Z.dom7Listeners[ee]||(Z.dom7Listeners[ee]=[]),Z.dom7Listeners[ee].push({listener:z,proxyListener:handleEvent}),Z.addEventListener(ee,handleEvent,H)}}return this},off:function(){for(var d=arguments.length,b=new Array(d),x=0;x<d;x++)b[x]=arguments[x];var T=b[0],D=b[1],z=b[2],H=b[3];"function"==typeof b[1]&&(T=b[0],z=b[1],H=b[2],D=void 0),H||(H=!1);for(var W=T.split(" "),U=0;U<W.length;U+=1)for(var Y=W[U],Z=0;Z<this.length;Z+=1){var J=this[Z],ee=void 0;if(!D&&J.dom7Listeners?ee=J.dom7Listeners[Y]:D&&J.dom7LiveListeners&&(ee=J.dom7LiveListeners[Y]),ee&&ee.length)for(var te=ee.length-1;te>=0;te-=1){var ne=ee[te];z&&ne.listener===z||z&&ne.listener&&ne.listener.dom7proxy&&ne.listener.dom7proxy===z?(J.removeEventListener(Y,ne.proxyListener,H),ee.splice(te,1)):z||(J.removeEventListener(Y,ne.proxyListener,H),ee.splice(te,1))}}return this},trigger:function(){for(var d=arguments.length,b=new Array(d),x=0;x<d;x++)b[x]=arguments[x];for(var z=b[0].split(" "),H=b[1],W=0;W<z.length;W+=1)for(var U=z[W],Y=0;Y<this.length;Y+=1){var Z=this[Y],J=void 0;try{J=new D.CustomEvent(U,{detail:H,bubbles:!0,cancelable:!0})}catch(d){(J=T.createEvent("Event")).initEvent(U,!0,!0),J.detail=H}Z.dom7EventData=b.filter((function(d,b){return b>0})),Z.dispatchEvent(J),Z.dom7EventData=[],delete Z.dom7EventData}return this},transitionEnd:function(d){var b,x=["webkitTransitionEnd","transitionend"],T=this;function fireCallBack(D){if(D.target===this)for(d.call(this,D),b=0;b<x.length;b+=1)T.off(x[b],fireCallBack)}if(d)for(b=0;b<x.length;b+=1)T.on(x[b],fireCallBack);return this},outerWidth:function(d){if(this.length>0){if(d){var b=this.styles();return this[0].offsetWidth+parseFloat(b.getPropertyValue("margin-right"))+
vendor: 8,385 bytes, line 817
817parseFloat(b.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(d){if(this.length>0){if(d){var b=this.styles();return this[0].offsetHeight+parseFloat(b.getPropertyValue("margin-top"))+parseFloat(b.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},offset:function(){if(this.length>0){var d=this[0],b=d.getBoundingClientRect(),x=T.body,z=d.clientTop||x.clientTop||0,H=d.clientLeft||x.clientLeft||0,W=d===D?D.scrollY:d.scrollTop,U=d===D?D.scrollX:d.scrollLeft;return{top:b.top+W-z,left:b.left+U-H}}return null},css:function(d,b){var x;if(1===arguments.length){if("string"!=typeof d){for(x=0;x<this.length;x+=1)for(var T in d)this[x].style[T]=d[T];return this}if(this[0])return D.getComputedStyle(this[0],null).getPropertyValue(d)}if(2===arguments.length&&"string"==typeof d){for(x=0;x<this.length;x+=1)this[x].style[d]=b;return this}return this},each:function(d){if(!d)return this;for(var b=0;b<this.length;b+=1)if(!1===d.call(this[b],b,this[b]))return this;return this},html:function(d){if(void 0===d)return this[0]?this[0].innerHTML:void 0;for(var b=0;b<this.length;b+=1)this[b].innerHTML=d;return this},text:function(d){if(void 0===d)return this[0]?this[0].textContent.trim():null;for(var b=0;b<this.length;b+=1)this[b].textContent=d;return this},is:function(d){var b,x,H=this[0];if(!H||void 0===d)return!1;if("string"==typeof d){if(H.matches)return H.matches(d);if(H.webkitMatchesSelector)return H.webkitMatchesSelector(d);if(H.msMatchesSelector)return H.msMatchesSelector(d);for(b=$(d),x=0;x<b.length;x+=1)if(b[x]===H)return!0;return!1}if(d===T)return H===T;if(d===D)return H===D;if(d.nodeType||d instanceof z){for(b=d.nodeType?[d]:d,x=0;x<b.length;x+=1)if(b[x]===H)return!0;return!1}return!1},index:function(){var d,b=this[0];if(b){for(d=0;null!==(b=b.previousSibling);)1===b.nodeType&&(d+=1);return d}},eq:function(d){if(void 0===d)return this;var b,x=this.length;return new z(d>x-1?[]:d<0?(b=x+d)<0?[]:[this[b]]:[this[d]])},append:function(){for(var d,b=0;b<arguments.length;b+=1){d=b<0||arguments.length<=b?void 0:arguments[b];for(var x=0;x<this.length;x+=1)if("string"==typeof d){var D=T.createElement("div");for(D.innerHTML=d;D.firstChild;)this[x].appendChild(D.firstChild)}else if(d instanceof z)for(var H=0;H<d.length;H+=1)this[x].appendChild(d[H]);else this[x].appendChild(d)}return this},prepend:function(d){var b,x;for(b=0;b<this.length;b+=1)if("string"==typeof d){var D=T.createElement("div");for(D.innerHTML=d,x=D.childNodes.length-1;x>=0;x-=1)this[b].insertBefore(D.childNodes[x],this[b].childNodes[0])}else if(d instanceof z)for(x=0;x<d.length;x+=1)this[b].insertBefore(d[x],this[b].childNodes[0]);else this[b].insertBefore(d,this[b].childNodes[0]);return this},next:function(d){return this.length>0?d?this[0].nextElementSibling&&$(this[0].nextElementSibling).is(d)?new z([this[0].nextElementSibling]):new z([]):this[0].nextElementSibling?new z([this[0].nextElementSibling]):new z([]):new z([])},nextAll:function(d){var b=[],x=this[0];if(!x)return new z([]);for(;x.nextElementSibling;){var T=x.nextElementSibling;d?$(T).is(d)&&b.push(T):b.push(T),x=T}return new z(b)},prev:function(d){if(this.length>0){var b=this[0];return d?b.previousElementSibling&&$(b.previousElementSibling).is(d)?new z([b.previousElementSibling]):new z([]):b.previousElementSibling?new z([b.previousElementSibling]):new z([])}return new z([])},prevAll:function(d){var b=[],x=this[0];if(!x)return new z([]);for(;x.previousElementSibling;){var T=x.previousElementSibling;d?$(T).is(d)&&b.push(T):b.push(T),x=T}return new z(b)},parent:function(d){for(var b=[],x=0;x<this.length;x+=1)null!==this[x].parentNode&&(d?$(this[x].parentNode).is(d)&&b.push(this[x].parentNode):b.push(this[x].parentNode));return $(unique(b))},parents:function(d){for(var b=[],x=0;x<this.length;x+=1)for(var T=this[x].parentNode;T;)d?$(T).is(d)&&b.push(T):b.push(T),T=T.parentNode;return $(unique(b))},closest:function(d){var b=this;return void 0===d?new z([]):(b.is(d)||(b=b.parents(d).eq(0)),b)},find:function(d){for(var b=[],x=0;x<this.length;x+=1)for(var T=this[x].querySelectorAll(d),D=0;D<T.length;D+=1)b.push(T[D]);return new z(b)},children:function(d){for(var b=[],x=0;x<this.length;x+=1)for(var T=this[x].childNodes,D=0;D<T.length;D+=1)d?1===T[D].nodeType&&$(T[D]).is(d)&&b.push(T[D]):1===T[D].nodeType&&b.push(T[D]);return new z(unique(b))},remove:function(){for(var d=0;d<this.length;d+=1)this[d].parentNode&&this[d].parentNode.removeChild(this[d]);return this},add:function(){for(var d,b,x=this,T=arguments.length,D=new Array(T),z=0;z<T;z++)D[z]=arguments[z];for(d=0;d<D.length;d+=1){var H=$(D[d]);for(b=0;b<H.length;b+=1)x[x.length]=H[b],x.length+=1}return x},styles:function(){return this[0]?D.getComputedStyle(this[0],null):{}}};Object.keys(H).forEach((function(d){$.fn[d]=H[d]}));var W,U,Y,Z={deleteProps:function(d){var b=d;Object.keys(b).forEach((function(d){try{b[d]=null}catch(d){}try{delete b[d]}catch(d){}}))},nextTick:function(d){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return setTimeout(d,b)},now:function(){return Date.now()},getTranslate:function(d){var b,x,T,z=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"x",H=D.getComputedStyle(d,null);return D.WebKitCSSMatrix?((x=H.transform||H.webkitTransform).split(",").length>6&&(x=x.split(", ").map((function(d){return d.replace(",",".")})).join(", ")),T=new D.WebKitCSSMatrix("none"===x?"":x)):b=(T=H.MozTransform||H.OTransform||H.MsTransform||H.msTransform||H.transform||H.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===z&&(x=D.WebKitCSSMatrix?T.m41:16===b.length?parseFloat(b[12]):parseFloat(b[4])),"y"===z&&(x=D.WebKitCSSMatrix?T.m42:16===b.length?parseFloat(b[13]):parseFloat(b[5])),x||0},parseUrlQuery:function(d){var b,x,T,z,H={},W=d||D.location.href;if("string"==typeof W&&W.length)for(z=(x=(W=W.indexOf("?")>-1?W.replace(/\S*\?/,""):"").split("&").filter((function(d){return""!==d}))).length,b=0;b<z;b+=1)T=x[b].replace(/#\S+/g,"").split("="),H[decodeURIComponent(T[0])]=void 0===T[1]?void 0:decodeURIComponent(T[1])||"";return H},isObject:function(d){return"object"===_typeof(d)&&null!==d&&d.constructor&&d.constructor===Object},extend:function(){for(var d=Object(arguments.length<=0?void 0:arguments[0]),b=1;b<arguments.length;b+=1){var x=b<0||arguments.length<=b?void 0:arguments[b];if(null!=x)for(var T=Object.keys(Object(x)),D=0,z=T.length;D<z;D+=1){var H=T[D],W=Object.getOwnPropertyDescriptor(x,H);void 0!==W&&W.enumerable&&(Z.isObject(d[H])&&Z.isObject(x[H])?Z.extend(d[H],x[H]):!Z.isObject(d[H])&&Z.isObject(x[H])?(d[H]={},Z.extend(d[H],x[H])):d[H]=x[H])}}return d}},J=(U=T.createElement("div"),{touch:D.Modernizr&&!0===D.Modernizr.touch||!!(D.navigator.maxTouchPoints>0||"ontouchstart"in D||D.DocumentTouch&&T instanceof D.DocumentTouch),pointerEvents:!!(D.navigator.pointerEnabled||D.PointerEvent||"maxTouchPoints"in D.navigator&&D.navigator.maxTouchPoints>0),prefixedPointerEvents:!!D.navigator.msPointerEnabled,transition:(W=U.style,"transition"in W||"webkitTransition"in W||"MozTransition"in W),transforms3d:D.Modernizr&&!0===D.Modernizr.csstransforms3d||function(){var d=U.style;return"webkitPerspective"in d||"MozPerspective"in d||"OPerspective"in d||"MsPerspective"in d||"perspective"in d}(),flexbox:function(){for(var d=U.style,b="alignItems webkitAlignItems webkitBoxAlign msFlexAlign mozBoxAlign webkitFlexDirection msFlexDirection mozBoxDirection mozBoxOrient webkitBoxDirection webkitBoxOrient".split(" "),x=0;x<b.length;x+=1)if(b[x]in d)return!0;return!1}(),observer:"MutationObserver"in D||"WebkitMutationObserver"in D,passiveListener:function(){var d=!1;try{var b=Object.defineProperty({},"passive",{get:function(){d=!0}});D.addEventListener("testPassiveListener",null,b)}catch(d){}return d}(),gestures:"ongesturestart"in D}),ee={isIE:!!D.navigator.userAgent.match(/Trident/g)||!!D.navigator.userAgent.match(/MSIE/g),isEdge:!!D.navigator.userAgent.match(/Edge/g),isSafari:(Y=D.navigator.userAgent.toLowerCase(),Y.indexOf("safari")>=0&&Y.indexOf("chrome")<0&&Y.indexOf("android")<0),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(D.navigator.userAgent)},te=function(){function SwiperClass(){var d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};swiper_esm_bundle_classCallCheck(this,SwiperClass);var b=this;b.params=d,b.eventsListeners={}
817,b.params&&b.params.on&&Object.keys(b.params.on).forEach((function(d){b.on(d,b.params.on[d])}))}return _createClass(SwiperClass,[{key:"on",value:function(d,b,x){var T=this;if("function"!=typeof b)return T;var D=x?"unshift":"push";return d.split(" ").forEach((function(d){T.eventsListeners[d]||(T.eventsListeners[d]=[]),T.eventsListeners[d][D](b)})),T}},{key:"once",value:function(d,b,x){var T=this;if("function"!=typeof b)return T;function onceHandler(){for(var x=arguments.length,D=new Array(x),z=0;z<x;z++)D[z]=arguments[z];b.apply(T,D),T.off(d,onceHandler),onceHandler.f7proxy&&delete onceHandler.f7proxy}return onceHandler.f7proxy=b,T.on(d,onceHandler,x)}},{key:"off",value:function(d,b){var x=this;return x.eventsListeners?(d.split(" ").forEach((function(d){void 0===b?x.eventsListeners[d]=[]:x.eventsListeners[d]&&x.eventsListeners[d].length&&x.eventsListeners[d].forEach((function(T,D){(T===b||T.f7proxy&&T.f7proxy===b)&&x.eventsListeners[d].splice(D,1)}))})),x):x}},{key:"emit",value:function(){var d,b,x,T=this;if(!T.eventsListeners)return T;for(var D=arguments.length,z=new Array(D),H=0;H<D;H++)z[H]=arguments[H];"string"==typeof z[0]||Array.isArray(z[0])?(d=z[0],b=z.slice(1,z.length),x=T):(d=z[0].events,b=z[0].data,x=z[0].context||T);var W=Array.isArray(d)?d:d.split(" ");return W.forEach((function(d){if(T.eventsListeners&&T.eventsListeners[d]){var D=[];T.eventsListeners[d].forEach((function(d){D.push(d)})),D.forEach((function(d){d.apply(x,b)}))}})),T}},{key:"useModulesParams",value:function(d){var b=this;b.modules&&Object.keys(b.modules).forEach((function(x){var T=b.modules[x];T.params&&Z.extend(d,T.params)}))}},{key:"useModules",value:function(){var d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},b=this;b.modules&&Object.keys(b.modules).forEach((function(x){var T=b.modules[x],D=d[x]||{};T.instance&&Object.keys(T.instance).forEach((function(d){var x=T.instance[d];b[d]="function"==typeof x?x.bind(b):x})),T.on&&b.on&&Object.keys(T.on).forEach((function(d){b.on(d,T.on[d])})),T.create&&T.create.bind(b)(D)}))}}],[{key:"installModule",value:function(d){var b=this;b.prototype.modules||(b.prototype.modules={});var x=d.name||"".concat(Object.keys(b.prototype.modules).length,"_").concat(Z.now());if(b.prototype.modules[x]=d,d.proto&&Object.keys(d.proto).forEach((function(x){b.prototype[x]=d.proto[x]})),d.static&&Object.keys(d.static).forEach((function(x){b[x]=d.static[x]})),d.install){for(var T=arguments.length,D=new Array(T>1?T-1:0),z=1;z<T;z++)D[z-1]=arguments[z];d.install.apply(b,D)}return b}},{key:"use",value:function(d){var b=this;if(Array.isArray(d))return d.forEach((function(d){return b.installModule(d)})),b;for(var x=arguments.length,T=new Array(x>1?x-1:0),D=1;D<x;D++)T[D-1]=arguments[D];return b.installModule.apply(b,[d].concat(T))}},{key:"components",set:function(d){this.use&&this.use(d)}}]),SwiperClass}();var ne={updateSize:function(){var d,b,x=this.$el;d=void 0!==this.params.width?this.params.width:x[0].clientWidth,b=void 0!==this.params.height?this.params.height:x[0].clientHeight,0===d&&this.isHorizontal()||0===b&&this.isVertical()||(d=d-parseInt(x.css("padding-left"),10)-parseInt(x.css("padding-right"),10),b=b-parseInt(x.css("padding-top"),10)-parseInt(x.css("padding-bottom"),10),Z.extend(this,{width:d,height:b,size:this.isHorizontal()?d:b}))},updateSlides:function(){var d=this.params,b=this.$wrapperEl,x=this.size,T=this.rtlTranslate,z=this.wrongRTL,H=this.virtual&&d.virtual.enabled,W=H?this.virtual.slides.length:this.slides.length,U=b.children(".".concat(this.params.slideClass)),Y=H?this.virtual.slides.length:U.length,ee=[],te=[],ne=[],ie=d.slidesOffsetBefore;"function"==typeof ie&&(ie=d.slidesOffsetBefore.call(this));var oe=d.slidesOffsetAfter;"function"==typeof oe&&(oe=d.slidesOffsetAfter.call(this));var se=this.snapGrid.length,le=this.snapGrid.length,ce=d.spaceBetween,de=-ie,he=0,pe=0;if(void 0!==x){var fe,ge;"string"==typeof ce&&ce.indexOf("%")>=0&&(ce=parseFloat(ce.replace("%",""))/100*x),this.virtualSize=-ce,T?U.css({marginLeft:"",marginTop:""}):U.css({marginRight:"",marginBottom:""}),d.slidesPerColumn>1&&(fe=Math.floor(Y/d.slidesPerColumn)===Y/this.params.slidesPerColumn?Y:Math.ceil(Y/d.slidesPerColumn)*d.slidesPerColumn,"auto"!==d.slidesPerView&&"row"===d.slidesPerColumnFill&&(fe=Math.max(fe,d.slidesPerView*d.slidesPerColumn)));for(var me,ye=d.slidesPerColumn,ve=fe/ye,xe=Math.floor(Y/d.slidesPerColumn),_e=0;_e<Y;_e+=1){ge=0;var we=U.eq(_e);if(d.slidesPerColumn>1){var Se=void 0,Me=void 0,Te=void 0;"column"===d.slidesPerColumnFill?(Te=_e-(Me=Math.floor(_e/ye))*ye,(Me>xe||Me===xe&&Te===ye-1)&&(Te+=1)>=ye&&(Te=0,Me+=1),Se=Me+Te*fe/ye,we.css({"-webkit-box-ordinal-group":Se,"-moz-box-ordinal-group":Se,"-ms-flex-order":Se,"-webkit-order":Se,order:Se})):Me=_e-(Te=Math.floor(_e/ve))*ve,we.css("margin-".concat(this.isHorizontal()?"top":"left"),0!==Te&&d.spaceBetween&&"".concat(d.spaceBetween,"px")).attr("data-swiper-column",Me).attr("data-swiper-row",Te)}if("none"!==we.css("display")){if("auto"===d.slidesPerView){var ke=D.getComputedStyle(we[0],null),Pe=we[0].style.transform,Ee=we[0].style.webkitTransform;if(Pe&&(we[0].style.transform="none"),Ee&&(we[0].style.webkitTransform="none"),d.roundLengths)ge=this.isHorizontal()?we.outerWidth(!0):we.outerHeight(!0);else if(this.isHorizontal()){var Le=parseFloat(ke.getPropertyValue("width")),Ne=parseFloat(ke.getPropertyValue("padding-left")),Ve=parseFloat(ke.getPropertyValue("padding-right")),Fe=parseFloat(ke.getPropertyValue("margin-left")),Ge=parseFloat(ke.getPropertyValue("margin-right")),Ye=ke.getPropertyValue("box-sizing");ge=Ye&&"border-box"===Ye?Le+Fe+Ge:Le+Ne+Ve+Fe+Ge}else{var Xe=parseFloat(ke.getPropertyValue("height")),Ke=parseFloat(ke.getPropertyValue("padding-top")),Qe=parseFloat(ke.getPropertyValue("padding-bottom")),et=parseFloat(ke.getPropertyValue("margin-top")),tt=parseFloat(ke.getPropertyValue("margin-bottom")),nt=ke.getPropertyValue("box-sizing");ge=nt&&"border-box"===nt?Xe+et+tt:Xe+Ke+Qe+et+tt}Pe&&(we[0].style.transform=Pe),Ee&&(we[0].style.webkitTransform=Ee),d.roundLengths&&(ge=Math.floor(ge))}else ge=(x-(d.slidesPerView-1)*ce)/d.slidesPerView,d.roundLengths&&(ge=Math.floor(ge)),U[_e]&&(this.isHorizontal()?U[_e].style.width="".concat(ge,"px"):U[_e].style.height="".concat(ge,"px"));U[_e]&&(U[_e].swiperSlideSize=ge),ne.push(ge),d.centeredSlides?(de=de+ge/2+he/2+ce,0===he&&0!==_e&&(de=de-x/2-ce),0===_e&&(de=de-x/2-ce),Math.abs(de)<.001&&(
817de=0),d.roundLengths&&(de=Math.floor(de)),pe%d.slidesPerGroup==0&&ee.push(de),te.push(de)):(d.roundLengths&&(de=Math.floor(de)),pe%d.slidesPerGroup==0&&ee.push(de),te.push(de),de=de+ge+ce),this.virtualSize+=ge+ce,he=ge,pe+=1}}if(this.virtualSize=Math.max(this.virtualSize,x)+oe,T&&z&&("slide"===d.effect||"coverflow"===d.effect)&&b.css({width:"".concat(this.virtualSize+d.spaceBetween,"px")}),J.flexbox&&!d.setWrapperSize||(this.isHorizontal()?b.css({width:"".concat(this.virtualSize+d.spaceBetween,"px")}):b.css({height:"".concat(this.virtualSize+d.spaceBetween,"px")})),d.slidesPerColumn>1&&(this.virtualSize=(ge+d.spaceBetween)*fe,this.virtualSize=Math.ceil(this.virtualSize/d.slidesPerColumn)-d.spaceBetween,this.isHorizontal()?b.css({width:"".concat(this.virtualSize+d.spaceBetween,"px")}):b.css({height:"".concat(this.virtualSize+d.spaceBetween,"px")}),d.centeredSlides)){me=[];for(var ot=0;ot<ee.length;ot+=1){var lt=ee[ot];d.roundLengths&&(lt=Math.floor(lt)),ee[ot]<this.virtualSize+ee[0]&&me.push(lt)}ee=me}if(!d.centeredSlides){me=[];for(var ut=0;ut<ee.length;ut+=1){var ht=ee[ut];d.roundLengths&&(ht=Math.floor(ht)),ee[ut]<=this.virtualSize-x&&me.push(ht)}ee=me,Math.floor(this.virtualSize-x)-Math.floor(ee[ee.length-1])>1&&ee.push(this.virtualSize-x)}if(0===ee.length&&(ee=[0]),0!==d.spaceBetween&&(this.isHorizontal()?T?U.css({marginLeft:"".concat(ce,"px")}):U.css({marginRight:"".concat(ce,"px")}):U.css({marginBottom:"".concat(ce,"px")})),d.centerInsufficientSlides){var pt=0;if(ne.forEach((function(b){pt+=b+(d.spaceBetween?d.spaceBetween:0)})),(pt-=d.spaceBetween)<x){var gt=(x-pt)/2;ee.forEach((function(d,b){ee[b]=d-gt})),te.forEach((function(d,b){te[b]=d+gt}))}}Z.extend(this,{slides:U,snapGrid:ee,slidesGrid:te,slidesSizesGrid:ne}),Y!==W&&this.emit("slidesLengthChange"),ee.length!==se&&(this.params.watchOverflow&&this.checkOverflow(),this.emit("snapGridLengthChange")),te.length!==le&&this.emit("slidesGridLengthChange"),(d.watchSlidesProgress||d.watchSlidesVisibility)&&this.updateSlidesOffset()}},updateAutoHeight:function(d){var b,x=[],T=0;if("number"==typeof d?this.setTransition(d):!0===d&&this.setTransition(this.params.speed),"auto"!==this.params.slidesPerView&&this.params.slidesPerView>1)for(b=0;b<Math.ceil(this.params.slidesPerView);b+=1){var D=this.activeIndex+b;if(D>this.slides.length)break;x.push(this.slides.eq(D)[0])}else x.push(this.slides.eq(this.activeIndex)[0]);for(b=0;b<x.length;b+=1)if(void 0!==x[b]){var z=x[b].offsetHeight;T=z>T?z:T}T&&this.$wrapperEl.css("height","".concat(T,"px"))},updateSlidesOffset:function(){for(var d=this.slides,b=0;b<d.length;b+=1)d[b].swiperSlideOffset=this.isHorizontal()?d[b].offsetLeft:d[b].offsetTop},updateSlidesProgress:function(){var d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this&&this.translate||0,b=this,x=b.params,T=b.slides,D=b.rtlTranslate;if(0!==T.length){void 0===T[0].swiperSlideOffset&&b.updateSlidesOffset();var z=-d;D&&(z=d),T.removeClass(x.slideVisibleClass),b.visibleSlidesIndexes=[],b.visibleSlides=[];for(var H=0;H<T.length;H+=1){var W=T[H],U=(z+(x.centeredSlides?b.minTranslate():0)-W.swiperSlideOffset)/(W.swiperSlideSize+x.spaceBetween);if(x.watchSlidesVisibility){var Y=-(z-W.swiperSlideOffset),Z=Y+b.slidesSizesGrid[H],J=Y>=0&&Y<b.size||Z>0&&Z<=b.size||Y<=0&&Z>=b.size;J&&(b.visibleSlides.push(W),b.visibleSlidesIndexes.push(H),T.eq(H).addClass(x.slideVisibleClass))}W.progress=D?-U:U}b.visibleSlides=$(b.visibleSlides)}},updateProgress:function(){var d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this&&this.translate||0,b=this,x=b.params,T=b.maxTranslate()-b.minTranslate(),D=b.progress,z=b.isBeginning,H=b.isEnd,W=z,U=H;0===T?(D=0,z=!0,H=!0):(z=(D=(d-b.minTranslate())/T)<=0,H=D>=1),Z.extend(b,{progress:D,isBeginning:z,isEnd:H}),(x.watchSlidesProgress||x.watchSlidesVisibility)&&b.updateSlidesProgress(d),z&&!W&&b.emit("reachBeginning toEdge"),H&&!U&&b.emit("reachEnd toEdge"),(W&&!z||U&&!H)&&b.emit("fromEdge"),b.emit("progress",D)},updateSlidesClasses:function(){var d,b=this.slides,x=this.params,T=this.$wrapperEl,D=this.activeIndex,z=this.realIndex,H=this.virtual&&x.virtual.enabled;b.removeClass("".concat(x.slideActiveClass," ").concat(x.slideNextClass," ").concat(x.slidePrevClass," ").concat(x.slideDuplicateActiveClass," ").concat(x.slideDuplicateNextClass," ").concat(x.slideDuplicatePrevClass)),(d=H?this.$wrapperEl.find(".".concat(x.slideClass,'[data-swiper-slide-index="').concat(D,'"]')):b.eq(D)).addClass(x.slideActiveClass),x.loop&&(d.hasClass(x.slideDuplicateClass)?T.children(".".concat(x.slideClass,":not(.").concat(x.slideDuplicateClass,')[data-swiper-slide-index="').concat(z,'"]')).addClass(x.slideDuplicateActiveClass):T.children(".".concat(x.slideClass,".").concat(x.slideDuplicateClass,'[data-swiper-slide-index="').concat(z,'"]')).addClass(x.slideDuplicateActiveClass));var W=d.nextAll(".".concat(x.slideClass)).eq(0).addClass(x.slideNextClass);x.loop&&0===W.length&&(W=b.eq(0)).addClass(x.slideNextClass);var U=d.prevAll(".".concat(x.slideClass)).eq(0).addClass(x.slidePrevClass);x.loop&&0===U.length&&(U=b.eq(-1)).addClass(x.slidePrevClass),x.loop&&(W.hasClass(x.slideDuplicateClass)?T.children(".".concat(x.slideClass,":not(.").concat(x.slideDuplicateClass,')[data-swiper-slide-index="').concat(W.attr("data-swiper-slide-index"),'"]')).addClass(x.slideDuplicateNextClass):T.children(".".concat(x.slideClass,".").concat(x.slideDuplicateClass,'[data-swiper-slide-index="').concat(W.attr("data-swiper-slide-index"),'"]')).addClass(x.slideDuplicateNextClass),U.hasClass(x.slideDuplicateClass)?T.children(".".concat(x.slideClass,":not(.").concat(x.slideDuplicateClass,')[data-swiper-slide-index="').concat(U.attr("data-swiper-slide-index"),'"]')).addClass(x.slideDuplicatePrevClass):T.children(".".concat(x.slideClass,".").concat(x.slideDuplicateClass,'[data-swiper-slide-index="').concat(U.attr("data-swiper-slide-index"),'"]')).addClass(x.slideDuplicatePrevClass))},updateActiveIndex:function(d){var b,x=this.rtlTranslate?this.translate:-this.translate,T=this.slidesGrid,D=this.snapGrid,z=this.params,H=this.activeIndex,W=this.realIndex,U=this.snapIndex,Y=d;if(void 0===Y){for(var J=0;J<T.length;J+=1)void 0!==T[J+1]?x>=T[J]&&x<T[J+1]-(T[J+1]-T[J])/2?Y=J:x>=T[J]&&x<T[J+1]&&(Y=J+1):x>=T[J]&&(Y=J);z.normalizeSlideIndex&&(Y<0||void 0===Y)&&(Y=0)}if((b=D.indexOf(x)>=0?D.indexOf(x):Math.floor(Y/z.slidesPerGroup))>=D.length&&(b=D.length-1),Y!==H){var ee=parseInt(this.slides.eq(Y).attr("data-swiper-slide-index")||Y,10);Z.extend(this,{snapIndex:b,realIndex:ee,previousIndex:H,activeIndex:Y}
817),this.emit("activeIndexChange"),this.emit("snapIndexChange"),W!==ee&&this.emit("realIndexChange"),this.emit("slideChange")}else b!==U&&(this.snapIndex=b,this.emit("snapIndexChange"))},updateClickedSlide:function(d){var b=this.params,x=$(d.target).closest(".".concat(b.slideClass))[0],T=!1;if(x)for(var D=0;D<this.slides.length;D+=1)this.slides[D]===x&&(T=!0);if(!x||!T)return this.clickedSlide=void 0,void(this.clickedIndex=void 0);this.clickedSlide=x,this.virtual&&this.params.virtual.enabled?this.clickedIndex=parseInt($(x).attr("data-swiper-slide-index"),10):this.clickedIndex=$(x).index(),b.slideToClickedSlide&&void 0!==this.clickedIndex&&this.clickedIndex!==this.activeIndex&&this.slideToClickedSlide()}};var ie={getTranslate:function(){var d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.isHorizontal()?"x":"y",b=this,x=b.params,T=b.rtlTranslate,D=b.translate,z=b.$wrapperEl;if(x.virtualTranslate)return T?-D:D;var H=Z.getTranslate(z[0],d);return T&&(H=-H),H||0},setTranslate:function(d,b){var x=this.rtlTranslate,T=this.params,D=this.$wrapperEl,z=this.progress,H=0,W=0;this.isHorizontal()?H=x?-d:d:W=d,T.roundLengths&&(H=Math.floor(H),W=Math.floor(W)),T.virtualTranslate||(J.transforms3d?D.transform("translate3d(".concat(H,"px, ").concat(W,"px, ").concat(0,"px)")):D.transform("translate(".concat(H,"px, ").concat(W,"px)"))),this.previousTranslate=this.translate,this.translate=this.isHorizontal()?H:W;var U=this.maxTranslate()-this.minTranslate();(0===U?0:(d-this.minTranslate())/U)!==z&&this.updateProgress(d),this.emit("setTranslate",this.translate,b)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]}};var oe={setTransition:function(d,b){this.$wrapperEl.transition(d),this.emit("setTransition",d,b)},transitionStart:function(){var d=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],b=arguments.length>1?arguments[1]:void 0,x=this,T=x.activeIndex,D=x.params,z=x.previousIndex;D.autoHeight&&x.updateAutoHeight();var H=b;if(H||(H=T>z?"next":T<z?"prev":"reset"),x.emit("transitionStart"),d&&T!==z){if("reset"===H)return void x.emit("slideResetTransitionStart");x.emit("slideChangeTransitionStart"),"next"===H?x.emit("slideNextTransitionStart"):x.emit("slidePrevTransitionStart")}},transitionEnd:function(){var d=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],b=arguments.length>1?arguments[1]:void 0,x=this,T=x.activeIndex,D=x.previousIndex;x.animating=!1,x.setTransition(0);var z=b;if(z||(z=T>D?"next":T<D?"prev":"reset"),x.emit("transitionEnd"),d&&T!==D){if("reset"===z)return void x.emit("slideResetTransitionEnd");x.emit("slideChangeTransitionEnd"),"next"===z?x.emit("slideNextTransitionEnd"):x.emit("slidePrevTransitionEnd")}}};var se={slideTo:function(){var d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.params.speed,x=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],T=arguments.length>3?arguments[3]:void 0,D=this,z=d;z<0&&(z=0);var H=D.params,W=D.snapGrid,U=D.slidesGrid,Y=D.previousIndex,Z=D.activeIndex,ee=D.rtlTranslate;if(D.animating&&H.preventInteractionOnTransition)return!1;var te=Math.floor(z/H.slidesPerGroup);te>=W.length&&(te=W.length-1),(Z||H.initialSlide||0)===(Y||0)&&x&&D.emit("beforeSlideChangeStart");var ne,ie=-W[te];if(D.updateProgress(ie),H.normalizeSlideIndex)for(var oe=0;oe<U.length;oe+=1)-Math.floor(100*ie)>=Math.floor(100*U[oe])&&(z=oe);if(D.initialized&&z!==Z){if(!D.allowSlideNext&&ie<D.translate&&ie<D.minTranslate())return!1;if(!D.allowSlidePrev&&ie>D.translate&&ie>D.maxTranslate()&&(Z||0)!==z)return!1}return ne=z>Z?"next":z<Z?"prev":"reset",ee&&-ie===D.translate||!ee&&ie===D.translate?(D.updateActiveIndex(z),H.autoHeight&&D.updateAutoHeight(),D.updateSlidesClasses(),"slide"!==H.effect&&D.setTranslate(ie),"reset"!==ne&&(D.transitionStart(x,ne),D.transitionEnd(x,ne)),!1):(0!==b&&J.transition?(D.setTransition(b),D.setTranslate(ie),D.updateActiveIndex(z),D.updateSlidesClasses(),D.emit("beforeTransitionStart",b,T),D.transitionStart(x,ne),D.animating||(D.animating=!0,D.onSlideToWrapperTransitionEnd||(D.onSlideToWrapperTransitionEnd=function(d){D&&!D.destroyed&&d.target===this&&(D.$wrapperEl[0].removeEventListener("transitionend",D.onSlideToWrapperTransitionEnd),D.$wrapperEl[0].removeEventListener("webkitTransitionEnd",D.onSlideToWrapperTransitionEnd),D.onSlideToWrapperTransitionEnd=null,delete D.onSlideToWrapperTransitionEnd,D.transitionEnd(x,ne))}),D.$wrapperEl[0].addEventListener("transitionend",D.onSlideToWrapperTransitionEnd),D.$wrapperEl[0].addEventListener("webkitTransitionEnd",D.onSlideToWrapperTransitionEnd))):(D.setTransition(0),D.setTranslate(ie),D.updateActiveIndex(z),D.updateSlidesClasses(),D.emit("beforeTransitionStart",b,T),D.transitionStart(x,ne),D.transitionEnd(x,ne)),!0)},slideToLoop:function(){var d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.params.speed,x=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],T=arguments.length>3?arguments[3]:void 0,D=this,z=d;return D.params.loop&&(z+=D.loopedSlides),D.slideTo(z,b,x,T)},slideNext:function(){var d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,b=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],x=arguments.length>2?arguments[2]:void 0,T=this,D=T.params,z=T.animating;return D.loop?!z&&(T.loopFix(),T._clientLeft=T.$wrapperEl[0].clientLeft,T.slideTo(T.activeIndex+D.slidesPerGroup,d,b,x)):T.slideTo(T.activeIndex+D.slidesPerGroup,d,b,x)},slidePrev:function(){var d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,b=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],x=arguments.length>2?arguments[2]:void 0,T=this,D=T.params,z=T.animating,H=T.snapGrid,W=T.slidesGrid,U=T.rtlTranslate;if(D.loop){if(z)return!1;T.loopFix(),T._clientLeft=T.$wrapperEl[0].clientLeft}var Y=U?T.translate:-T.translate;function normalize(d){return d<0?-Math.floor(Math.abs(d)):Math.floor(d)}var Z,J=normalize(Y),ee=H.map((function(d){return normalize(d)}
817)),te=(W.map((function(d){return normalize(d)})),H[ee.indexOf(J)],H[ee.indexOf(J)-1]);return void 0!==te&&(Z=W.indexOf(te))<0&&(Z=T.activeIndex-1),T.slideTo(Z,d,b,x)},slideReset:function(){var d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,b=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],x=arguments.length>2?arguments[2]:void 0,T=this;return T.slideTo(T.activeIndex,d,b,x)},slideToClosest:function(){var d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,b=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],x=arguments.length>2?arguments[2]:void 0,T=this,D=T.activeIndex,z=Math.floor(D/T.params.slidesPerGroup);if(z<T.snapGrid.length-1){var H=T.rtlTranslate?T.translate:-T.translate,W=T.snapGrid[z],U=T.snapGrid[z+1];H-W>(U-W)/2&&(D=T.params.slidesPerGroup)}return T.slideTo(D,d,b,x)},slideToClickedSlide:function(){var d,b=this,x=b.params,T=b.$wrapperEl,D="auto"===x.slidesPerView?b.slidesPerViewDynamic():x.slidesPerView,z=b.clickedIndex;if(x.loop){if(b.animating)return;d=parseInt($(b.clickedSlide).attr("data-swiper-slide-index"),10),x.centeredSlides?z<b.loopedSlides-D/2||z>b.slides.length-b.loopedSlides+D/2?(b.loopFix(),z=T.children(".".concat(x.slideClass,'[data-swiper-slide-index="').concat(d,'"]:not(.').concat(x.slideDuplicateClass,")")).eq(0).index(),Z.nextTick((function(){b.slideTo(z)}))):b.slideTo(z):z>b.slides.length-D?(b.loopFix(),z=T.children(".".concat(x.slideClass,'[data-swiper-slide-index="').concat(d,'"]:not(.').concat(x.slideDuplicateClass,")")).eq(0).index(),Z.nextTick((function(){b.slideTo(z)}))):b.slideTo(z)}else b.slideTo(z)}};var le={loopCreate:function(){var d=this,b=d.params,x=d.$wrapperEl;x.children(".".concat(b.slideClass,".").concat(b.slideDuplicateClass)).remove();var D=x.children(".".concat(b.slideClass));if(b.loopFillGroupWithBlank){var z=b.slidesPerGroup-D.length%b.slidesPerGroup;if(z!==b.slidesPerGroup){for(var H=0;H<z;H+=1){var W=$(T.createElement("div")).addClass("".concat(b.slideClass," ").concat(b.slideBlankClass));x.append(W)}D=x.children(".".concat(b.slideClass))}}"auto"!==b.slidesPerView||b.loopedSlides||(b.loopedSlides=D.length),d.loopedSlides=parseInt(b.loopedSlides||b.slidesPerView,10),d.loopedSlides+=b.loopAdditionalSlides,d.loopedSlides>D.length&&(d.loopedSlides=D.length);var U=[],Y=[];D.each((function(b,x){var T=$(x);b<d.loopedSlides&&Y.push(x),b<D.length&&b>=D.length-d.loopedSlides&&U.push(x),T.attr("data-swiper-slide-index",b)}));for(var Z=0;Z<Y.length;Z+=1)x.append($(Y[Z].cloneNode(!0)).addClass(b.slideDuplicateClass));for(var J=U.length-1;J>=0;J-=1)x.prepend($(U[J].cloneNode(!0)).addClass(b.slideDuplicateClass))},loopFix:function(){var d,b=this.params,x=this.activeIndex,T=this.slides,D=this.loopedSlides,z=this.allowSlidePrev,H=this.allowSlideNext,W=this.snapGrid,U=this.rtlTranslate;this.allowSlidePrev=!0,this.allowSlideNext=!0;var Y=-W[x]-this.getTranslate();if(x<D)d=T.length-3*D+x,d+=D,this.slideTo(d,0,!1,!0)&&0!==Y&&this.setTranslate((U?-this.translate:this.translate)-Y);else if("auto"===b.slidesPerView&&x>=2*D||x>=T.length-D){d=-T.length+x+D,d+=D,this.slideTo(d,0,!1,!0)&&0!==Y&&this.setTranslate((U?-this.translate:this.translate)-Y)}this.allowSlidePrev=z,this.allowSlideNext=H},loopDestroy:function(){var d=this.$wrapperEl,b=this.params,x=this.slides;d.children(".".concat(b.slideClass,".").concat(b.slideDuplicateClass,",.").concat(b.slideClass,".").concat(b.slideBlankClass)).remove(),x.removeAttr("data-swiper-slide-index")}};var ce={setGrabCursor:function(d){if(!(J.touch||!this.params.simulateTouch||this.params.watchOverflow&&this.isLocked)){var b=this.el;b.style.cursor="move",b.style.cursor=d?"-webkit-grabbing":"-webkit-grab",b.style.cursor=d?"-moz-grabbin":"-moz-grab",b.style.cursor=d?"grabbing":"grab"}},unsetGrabCursor:function(){J.touch||this.params.watchOverflow&&this.isLocked||(this.el.style.cursor="")}};var de={appendSlide:function(d){var b=this.$wrapperEl,x=this.params;if(x.loop&&this.loopDestroy(),"object"===_typeof(d)&&"length"in d)for(var T=0;T<d.length;T+=1)d[T]&&b.append(d[T]);else b.append(d);x.loop&&this.loopCreate(),x.observer&&J.observer||this.update()},prependSlide:function(d){var b=this.params,x=this.$wrapperEl,T=this.activeIndex;b.loop&&this.loopDestroy();var D=T+1;if("object"===_typeof(d)&&"length"in d){for(var z=0;z<d.length;z+=1)d[z]&&x.prepend(d[z]);D=T+d.length}else x.prepend(d);b.loop&&this.loopCreate(),b.observer&&J.observer||this.update(),this.slideTo(D,0,!1)},addSlide:function(d,b){var x=this.$wrapperEl,T=this.params,D=this.activeIndex;T.loop&&(D-=this.loopedSlides,this.loopDestroy(),this.slides=x.children(".".concat(T.slideClass)));var z=this.slides.length;if(d<=0)this.prependSlide(b);else if(d>=z)this.appendSlide(b);else{for(var H=D>d?D+1:D,W=[],U=z-1;U>=d;U-=1){var Y=this.slides.eq(U);Y.remove(),W.unshift(Y)}if("object"===_typeof(b)&&"length"in b){for(var Z=0;Z<b.length;Z+=1)b[Z]&&x.append(b[Z]);H=D>d?D+b.length:D}else x.append(b);for(var ee=0;ee<W.length;ee+=1)x.append(W[ee]);T.loop&&this.loopCreate(),T.observer&&J.observer||this.update(),T.loop?this.slideTo(H+this.loopedSlides,0,!1):this.slideTo(H,0,!1)}},removeSlide:function(d){var b=this.params,x=this.$wrapperEl,T=this.activeIndex;b.loop&&(T-=this.loopedSlides,this.loopDestroy(),this.slides=x.children(".".concat(b.slideClass)));var D,z=T;if("object"===_typeof(d)&&"length"in d){for(var H=0;H<d.length;H+=1)D=d[H],this.slides[D]&&this.slides.eq(D).remove(),D<z&&(z-=1);z=Math.max(z,0)}else D=d,this.slides[D]&&this.slides.eq(D).remove(),D<z&&(z-=1),z=Math.max(z,0);b.loop&&this.loopCreate(),b.observer&&J.observer||this.update(),b.loop?this.slideTo(z+this.loopedSlides,0,!1):this.slideTo(z,0,!1)},removeAllSlides:function(){for(var d=[],b=0;b<this.slides.length;b+=1)d.push(b);this.removeSlide(d)}},he=function(){var d=D.navigator.userAgent,b={ios:!1,android:!1,androidChrome:!1,desktop:!1,windows:!1,iphone:!1,ipod:!1,ipad:!1,cordova:D.cordova||D.phonegap,phonegap:D.cordova||D.phonegap},x=d.match(/(Windows Phone);?[\s\/]+([\d.]+)?/),z=d.match(/(Android);?[\s\/]+([\d.]+)?/),H=d.match(/(iPad).*OS\s([\d_]+)/),W=d.match(/(iPod)(.*OS\s([\d_]+))?/),U=!H&&d.match(/(iPhone\sOS|iOS)\s([\d_]+)/);if(x&&(b.os="windows",b.osVersion=x[2],b.windows=!0),z&&!x&&(b.os="android",b.osVersion=z[2],b.android=!0,b.androidChrome=d.toLowerCase().indexOf("chrome")>
817=0),(H||U||W)&&(b.os="ios",b.ios=!0),U&&!W&&(b.osVersion=U[2].replace(/_/g,"."),b.iphone=!0),H&&(b.osVersion=H[2].replace(/_/g,"."),b.ipad=!0),W&&(b.osVersion=W[3]?W[3].replace(/_/g,"."):null,b.iphone=!0),b.ios&&b.osVersion&&d.indexOf("Version/")>=0&&"10"===b.osVersion.split(".")[0]&&(b.osVersion=d.toLowerCase().split("version/")[1].split(" ")[0]),b.desktop=!(b.os||b.android||b.webView),b.webView=(U||H||W)&&d.match(/.*AppleWebKit(?!.*Safari)/i),b.os&&"ios"===b.os){var Y=b.osVersion.split("."),Z=T.querySelector('meta[name="viewport"]');b.minimalUi=!b.webView&&(W||U)&&(1*Y[0]==7?1*Y[1]>=1:1*Y[0]>7)&&Z&&Z.getAttribute("content").indexOf("minimal-ui")>=0}return b.pixelRatio=D.devicePixelRatio||1,b}();function onTouchStart(d){var b=this.touchEventsData,x=this.params,z=this.touches;if(!this.animating||!x.preventInteractionOnTransition){var H=d;if(H.originalEvent&&(H=H.originalEvent),b.isTouchEvent="touchstart"===H.type,(b.isTouchEvent||!("which"in H)||3!==H.which)&&!(!b.isTouchEvent&&"button"in H&&H.button>0||b.isTouched&&b.isMoved))if(x.noSwiping&&$(H.target).closest(x.noSwipingSelector?x.noSwipingSelector:".".concat(x.noSwipingClass))[0])this.allowClick=!0;else if(!x.swipeHandler||$(H).closest(x.swipeHandler)[0]){z.currentX="touchstart"===H.type?H.targetTouches[0].pageX:H.pageX,z.currentY="touchstart"===H.type?H.targetTouches[0].pageY:H.pageY;var W=z.currentX,U=z.currentY,Y=x.edgeSwipeDetection||x.iOSEdgeSwipeDetection,J=x.edgeSwipeThreshold||x.iOSEdgeSwipeThreshold;if(!Y||!(W<=J||W>=D.screen.width-J)){if(Z.extend(b,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),z.startX=W,z.startY=U,b.touchStartTime=Z.now(),this.allowClick=!0,this.updateSize(),this.swipeDirection=void 0,x.threshold>0&&(b.allowThresholdMove=!1),"touchstart"!==H.type){var ee=!0;$(H.target).is(b.formElements)&&(ee=!1),T.activeElement&&$(T.activeElement).is(b.formElements)&&T.activeElement!==H.target&&T.activeElement.blur();var te=ee&&this.allowTouchMove&&x.touchStartPreventDefault;(x.touchStartForcePreventDefault||te)&&H.preventDefault()}this.emit("touchStart",H)}}}}function onTouchMove(d){var b=this.touchEventsData,x=this.params,D=this.touches,z=this.rtlTranslate,H=d;if(H.originalEvent&&(H=H.originalEvent),b.isTouched){if(!b.isTouchEvent||"mousemove"!==H.type){var W="touchmove"===H.type?H.targetTouches[0].pageX:H.pageX,U="touchmove"===H.type?H.targetTouches[0].pageY:H.pageY;if(H.preventedByNestedSwiper)return D.startX=W,void(D.startY=U);if(!this.allowTouchMove)return this.allowClick=!1,void(b.isTouched&&(Z.extend(D,{startX:W,startY:U,currentX:W,currentY:U}),b.touchStartTime=Z.now()));if(b.isTouchEvent&&x.touchReleaseOnEdges&&!x.loop)if(this.isVertical()){if(U<D.startY&&this.translate<=this.maxTranslate()||U>D.startY&&this.translate>=this.minTranslate())return b.isTouched=!1,void(b.isMoved=!1)}else if(W<D.startX&&this.translate<=this.maxTranslate()||W>D.startX&&this.translate>=this.minTranslate())return;if(b.isTouchEvent&&T.activeElement&&H.target===T.activeElement&&$(H.target).is(b.formElements))return b.isMoved=!0,void(this.allowClick=!1);if(b.allowTouchCallbacks&&this.emit("touchMove",H),!(H.targetTouches&&H.targetTouches.length>1)){D.currentX=W,D.currentY=U;var Y=D.currentX-D.startX,J=D.currentY-D.startY;if(!(this.params.threshold&&Math.sqrt(Math.pow(Y,2)+Math.pow(J,2))<this.params.threshold)){var ee;if(void 0===b.isScrolling)this.isHorizontal()&&D.currentY===D.startY||this.isVertical()&&D.currentX===D.startX?b.isScrolling=!1:Y*Y+J*J>=25&&(ee=180*Math.atan2(Math.abs(J),Math.abs(Y))/Math.PI,b.isScrolling=this.isHorizontal()?ee>x.touchAngle:90-ee>x.touchAngle);if(b.isScrolling&&this.emit("touchMoveOpposite",H),void 0===b.startMoving&&(D.currentX===D.startX&&D.currentY===D.startY||(b.startMoving=!0)),b.isScrolling)b.isTouched=!1;else if(b.startMoving){this.allowClick=!1,H.preventDefault(),x.touchMoveStopPropagation&&!x.nested&&H.stopPropagation(),b.isMoved||(x.loop&&this.loopFix(),b.startTranslate=this.getTranslate(),this.setTransition(0),this.animating&&this.$wrapperEl.trigger("webkitTransitionEnd transitionend"),b.allowMomentumBounce
817=!1,!x.grabCursor||!0!==this.allowSlideNext&&!0!==this.allowSlidePrev||this.setGrabCursor(!0),this.emit("sliderFirstMove",H)),this.emit("sliderMove",H),b.isMoved=!0;var te=this.isHorizontal()?Y:J;D.diff=te,te*=x.touchRatio,z&&(te=-te),this.swipeDirection=te>0?"prev":"next",b.currentTranslate=te+b.startTranslate;var ne=!0,ie=x.resistanceRatio;if(x.touchReleaseOnEdges&&(ie=0),te>0&&b.currentTranslate>this.minTranslate()?(ne=!1,x.resistance&&(b.currentTranslate=this.minTranslate()-1+Math.pow(-this.minTranslate()+b.startTranslate+te,ie))):te<0&&b.currentTranslate<this.maxTranslate()&&(ne=!1,x.resistance&&(b.currentTranslate=this.maxTranslate()+1-Math.pow(this.maxTranslate()-b.startTranslate-te,ie))),ne&&(H.preventedByNestedSwiper=!0),!this.allowSlideNext&&"next"===this.swipeDirection&&b.currentTranslate<b.startTranslate&&(b.currentTranslate=b.startTranslate),!this.allowSlidePrev&&"prev"===this.swipeDirection&&b.currentTranslate>b.startTranslate&&(b.currentTranslate=b.startTranslate),x.threshold>0){if(!(Math.abs(te)>x.threshold||b.allowThresholdMove))return void(b.currentTranslate=b.startTranslate);
vendor: 7,978 bytes, line 817
817if(!b.allowThresholdMove)return b.allowThresholdMove=!0,D.startX=D.currentX,D.startY=D.currentY,b.currentTranslate=b.startTranslate,void(D.diff=this.isHorizontal()?D.currentX-D.startX:D.currentY-D.startY)}x.followFinger&&((x.freeMode||x.watchSlidesProgress||x.watchSlidesVisibility)&&(this.updateActiveIndex(),this.updateSlidesClasses()),x.freeMode&&(0===b.velocities.length&&b.velocities.push({position:D[this.isHorizontal()?"startX":"startY"],time:b.touchStartTime}),b.velocities.push({position:D[this.isHorizontal()?"currentX":"currentY"],time:Z.now()})),this.updateProgress(b.currentTranslate),this.setTranslate(b.currentTranslate))}}}}}else b.startMoving&&b.isScrolling&&this.emit("touchMoveOpposite",H)}function onTouchEnd(d){var b=this,x=b.touchEventsData,T=b.params,D=b.touches,z=b.rtlTranslate,H=b.$wrapperEl,W=b.slidesGrid,U=b.snapGrid,Y=d;if(Y.originalEvent&&(Y=Y.originalEvent),x.allowTouchCallbacks&&b.emit("touchEnd",Y),x.allowTouchCallbacks=!1,!x.isTouched)return x.isMoved&&T.grabCursor&&b.setGrabCursor(!1),x.isMoved=!1,void(x.startMoving=!1);T.grabCursor&&x.isMoved&&x.isTouched&&(!0===b.allowSlideNext||!0===b.allowSlidePrev)&&b.setGrabCursor(!1);var J,ee=Z.now(),te=ee-x.touchStartTime;if(b.allowClick&&(b.updateClickedSlide(Y),b.emit("tap",Y),te<300&&ee-x.lastClickTime>300&&(x.clickTimeout&&clearTimeout(x.clickTimeout),x.clickTimeout=Z.nextTick((function(){b&&!b.destroyed&&b.emit("click",Y)}),300)),te<300&&ee-x.lastClickTime<300&&(x.clickTimeout&&clearTimeout(x.clickTimeout),b.emit("doubleTap",Y))),x.lastClickTime=Z.now(),Z.nextTick((function(){b.destroyed||(b.allowClick=!0)})),!x.isTouched||!x.isMoved||!b.swipeDirection||0===D.diff||x.currentTranslate===x.startTranslate)return x.isTouched=!1,x.isMoved=!1,void(x.startMoving=!1);if(x.isTouched=!1,x.isMoved=!1,x.startMoving=!1,J=T.followFinger?z?b.translate:-b.translate:-x.currentTranslate,T.freeMode){if(J<-b.minTranslate())return void b.slideTo(b.activeIndex);if(J>-b.maxTranslate())return void(b.slides.length<U.length?b.slideTo(U.length-1):b.slideTo(b.slides.length-1));if(T.freeModeMomentum){if(x.velocities.length>1){var ne=x.velocities.pop(),ie=x.velocities.pop(),oe=ne.position-ie.position,se=ne.time-ie.time;b.velocity=oe/se,b.velocity/=2,Math.abs(b.velocity)<T.freeModeMinimumVelocity&&(b.velocity=0),(se>150||Z.now()-ne.time>300)&&(b.velocity=0)}else b.velocity=0;b.velocity*=T.freeModeMomentumVelocityRatio,x.velocities.length=0;var le=1e3*T.freeModeMomentumRatio,ce=b.velocity*le,de=b.translate+ce;z&&(de=-de);var he,pe,fe=!1,ge=20*Math.abs(b.velocity)*T.freeModeMomentumBounceRatio;if(de<b.maxTranslate())T.freeModeMomentumBounce?(de+b.maxTranslate()<-ge&&(de=b.maxTranslate()-ge),he=b.maxTranslate(),fe=!0,x.allowMomentumBounce=!0):de=b.maxTranslate(),T.loop&&T.centeredSlides&&(pe=!0);else if(de>b.minTranslate())T.freeModeMomentumBounce?(de-b.minTranslate()>ge&&(de=b.minTranslate()+ge),he=b.minTranslate(),fe=!0,x.allowMomentumBounce=!0):de=b.minTranslate(),T.loop&&T.centeredSlides&&(pe=!0);else if(T.freeModeSticky){for(var me,ye=0;ye<U.length;ye+=1)if(U[ye]>-de){me=ye;break}de=-(de=Math.abs(U[me]-de)<Math.abs(U[me-1]-de)||"next"===b.swipeDirection?U[me]:U[me-1])}if(pe&&b.once("transitionEnd",(function(){b.loopFix()})),0!==b.velocity)le=z?Math.abs((-de-b.translate)/b.velocity):Math.abs((de-b.translate)/b.velocity);else if(T.freeModeSticky)return void b.slideToClosest();T.freeModeMomentumBounce&&fe?(b.updateProgress(he),b.setTransition(le),b.setTranslate(de),b.transitionStart(!0,b.swipeDirection),b.animating=!0,H.transitionEnd((function(){b&&!b.destroyed&&x.allowMomentumBounce&&(b.emit("momentumBounce"),b.setTransition(T.speed),b.setTranslate(he),H.transitionEnd((function(){b&&!b.destroyed&&b.transitionEnd()})))}))):b.velocity?(b.updateProgress(de),b.setTransition(le),b.setTranslate(de),b.transitionStart(!0,b.swipeDirection),b.animating||(b.animating=!0,H.transitionEnd((function(){b&&!b.destroyed&&b.transitionEnd()})))):b.updateProgress(de),b.updateActiveIndex(),b.updateSlidesClasses()}else if(T.freeModeSticky)return void b.slideToClosest();(!T.freeModeMomentum||te>=T.longSwipesMs)&&(b.updateProgress(),b.updateActiveIndex(),b.updateSlidesClasses())}else{for(var ve=0,xe=b.slidesSizesGrid[0],_e=0;_e<W.length;_e+=T.slidesPerGroup)void 0!==W[_e+T.slidesPerGroup]?J>=W[_e]&&J<W[_e+T.slidesPerGroup]&&(ve=_e,xe=W[_e+T.slidesPerGroup]-W[_e]):J>=W[_e]&&(ve=_e,xe=W[W.length-1]-W[W.length-2]);var we=(J-W[ve])/xe;if(te>T.longSwipesMs){if(!T.longSwipes)return void b.slideTo(b.activeIndex);"next"===b.swipeDirection&&(we>=T.longSwipesRatio?b.slideTo(ve+T.slidesPerGroup):b.slideTo(ve)),"prev"===b.swipeDirection&&(we>1-T.longSwipesRatio?b.slideTo(ve+T.slidesPerGroup):b.slideTo(ve))}else{if(!T.shortSwipes)return void b.slideTo(b.activeIndex);"next"===b.swipeDirection&&b.slideTo(ve+T.slidesPerGroup),"prev"===b.swipeDirection&&b.slideTo(ve)}}}function onResize(){var d=this.params,b=this.el;if(!b||0!==b.offsetWidth){d.breakpoints&&this.setBreakpoint();var x=this.allowSlideNext,T=this.allowSlidePrev,D=this.snapGrid;if(this.allowSlideNext=!0,this.allowSlidePrev=!0,this.updateSize(),this.updateSlides(),d.freeMode){var z=Math.min(Math.max(this.translate,this.maxTranslate()),this.minTranslate());this.setTranslate(z),this.updateActiveIndex(),this.updateSlidesClasses(),d.autoHeight&&this.updateAutoHeight()}else this.updateSlidesClasses(),("auto"===d.slidesPerView||d.slidesPerView>1)&&this.isEnd&&!this.params.centeredSlides?this.slideTo(this.slides.length-1,0,!1,!0):this.slideTo(this.activeIndex,0,!1,!0);this.allowSlidePrev=T,this.allowSlideNext=x,this.params.watchOverflow&&D!==this.snapGrid&&this.checkOverflow()}}function swiper_esm_bundle_onClick(d){this.allowClick||(this.params.preventClicks&&d.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(d.stopPropagation(),d.stopImmediatePropagation()))}var pe={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,preventInteractionOnTransition:!1,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsInverse:!1,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!0,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0},fe={update:ne,translate:ie,transition:oe,slide:se,loop:le,grabCursor:ce,manipulation:de,events:{attachEvents:function(){var d=this.params,b=this.touchEvents,x=this.el,D=this.wrapperEl;
817this.onTouchStart=onTouchStart.bind(this),this.onTouchMove=onTouchMove.bind(this),this.onTouchEnd=onTouchEnd.bind(this),this.onClick=swiper_esm_bundle_onClick.bind(this);var z="container"===d.touchEventsTarget?x:D,H=!!d.nested;if(J.touch||!J.pointerEvents&&!J.prefixedPointerEvents){if(J.touch){var W=!("touchstart"!==b.start||!J.passiveListener||!d.passiveListeners)&&{passive:!0,capture:!1};z.addEventListener(b.start,this.onTouchStart,W),z.addEventListener(b.move,this.onTouchMove,J.passiveListener?{passive:!1,capture:H}:H),z.addEventListener(b.end,this.onTouchEnd,W)}(d.simulateTouch&&!he.ios&&!he.android||d.simulateTouch&&!J.touch&&he.ios)&&(z.addEventListener("mousedown",this.onTouchStart,!1),T.addEventListener("mousemove",this.onTouchMove,H),T.addEventListener("mouseup",this.onTouchEnd,!1))}else z.addEventListener(b.start,this.onTouchStart,!1),T.addEventListener(b.move,this.onTouchMove,H),T.addEventListener(b.end,this.onTouchEnd,!1);(d.preventClicks||d.preventClicksPropagation)&&z.addEventListener("click",this.onClick,!0),this.on(he.ios||he.android?"resize orientationchange observerUpdate":"resize observerUpdate",onResize,!0)},detachEvents:function(){var d=this.params,b=this.touchEvents,x=this.el,D=this.wrapperEl,z="container"===d.touchEventsTarget?x:D,H=!!d.nested;if(J.touch||!J.pointerEvents&&!J.prefixedPointerEvents){if(J.touch){var W=!("onTouchStart"!==b.start||!J.passiveListener||!d.passiveListeners)&&{passive:!0,capture:!1};z.removeEventListener(b.start,this.onTouchStart,W),z.removeEventListener(b.move,this.onTouchMove,H),z.removeEventListener(b.end,this.onTouchEnd,W)}(d.simulateTouch&&!he.ios&&!he.android||d.simulateTouch&&!J.touch&&he.ios)&&(z.removeEventListener("mousedown",this.onTouchStart,!1),T.removeEventListener("mousemove",this.onTouchMove,H),T.removeEventListener("mouseup",this.onTouchEnd,!1))}else z.removeEventListener(b.start,this.onTouchStart,!1),T.removeEventListener(b.move,this.onTouchMove,H),T.removeEventListener(b.end,this.onTouchEnd,!1);(d.preventClicks||d.preventClicksPropagation)&&z.removeEventListener("click",this.onClick,!0),this.off(he.i
817os||he.android?"resize orientationchange observerUpdate":"resize observerUpdate",onResize)}},breakpoints:{setBreakpoint:function(){var d=this.activeIndex,b=this.initialized,x=this.loopedSlides,T=void 0===x?0:x,D=this.params,z=D.breakpoints;if(z&&(!z||0!==Object.keys(z).length)){var H=this.getBreakpoint(z);if(H&&this.currentBreakpoint!==H){var W=H in z?z[H]:void 0;W&&["slidesPerView","spaceBetween","slidesPerGroup"].forEach((function(d){var b=W[d];void 0!==b&&(W[d]="slidesPerView"!==d||"AUTO"!==b&&"auto"!==b?"slidesPerView"===d?parseFloat(b):parseInt(b,10):"auto")}));var U=W||this.originalParams,Y=U.direction&&U.direction!==D.direction,J=D.loop&&(U.slidesPerView!==D.slidesPerView||Y);Y&&b&&this.changeDirection(),Z.extend(this.params,U),Z.extend(this,{allowTouchMove:this.params.allowTouchMove,allowSlideNext:this.params.allowSlideNext,allowSlidePrev:this.params.allowSlidePrev}),this.currentBreakpoint=H,J&&b&&(this.loopDestroy(),this.loopCreate(),this.updateSlides(),this.slideTo(d-T+this.loopedSlides,0,!1)),this.emit("breakpoint",U)}}},getBreakpoint:function(d){if(d){var b=!1,x=[];Object.keys(d).forEach((function(d){x.push(d)})),x.sort((function(d,b){return parseInt(d,10)-parseInt(b,10)}));for(var T=0;T<x.length;T+=1){var z=x[T];this.params.breakpointsInverse?z<=D.innerWidth&&(b=z):z>=D.innerWidth&&!b&&(b=z)}return b||"max"}}},checkOverflow:{checkOverflow:function(){var d=this.isLocked;this.isLocked=1===this.snapGrid.length,this.allowSlideNext=!this.isLocked,this.allowSlidePrev=!this.isLocked,d!==this.isLocked&&this.emit(this.isLocked?"lock":"unlock"),d&&d!==this.isLocked&&(this.isEnd=!1,this.navigation.update())}},classes:{addClasses:function(){var d=this.classNames,b=this.params,x=this.rtl,T=this.$el,D=[];D.push("initialized"),D.push(b.direction),b.freeMode&&D.push("free-mode"),J.flexbox||D.push("no-flexbox"),b.autoHeight&&D.push("autoheight"),x&&D.push("rtl"),b.slidesPerColumn>1&&D.push("multirow"),he.android&&D.push("android"),he.ios&&D.push("ios"),(ee.isIE||ee.isEdge)&&(J.pointerEvents||J.prefixedPointerEvents)&&D.push("wp8-".concat(b.direction)),D.forEach((function(x){d.push(b.containerModifierClass+x)})),T.addClass(d.join(" "))},removeClasses:function(){var d=this.$el,b=this.classNames;d.removeClass(b.join(" "))}},images:{loadImage:function(d,b,x,T,z,H){var W;function onReady(){H&&H()}d.complete&&z?onReady():b?((W=new D.Image).onload=onReady,W.onerror=onReady,T&&(W.sizes=T),x&&(W.srcset=x),b&&(W.src=b)):onReady()},preloadImages:function(){var d=this;function onReady(){null!=d&&d&&!d.destroyed&&(void 0!==d.imagesLoaded&&(d.imagesLoaded+=1),d.imagesLoaded===d.imagesToLoad.length&&(d.params.updateOnImagesReady&&d.update(),d.emit("imagesReady")))}d.imagesToLoad=d.$el.find("img");for(var b=0;b<d.imagesToLoad.length;b+=1){var x=d.imagesToLoad[b];d.loadImage(x,x.currentSrc||x.getAttribute("src"),x.srcset||x.getAttribute("srcset"),x.sizes||x.getAttribute("sizes"),!0,onReady)}}}},ge={},me=function(d){function Swiper(){var d,b,x;swiper_esm_bundle_classCallCheck(this,Swiper);for(var T=arguments.length,D=new Array(T),z=0;z<T;z++)D[z]=arguments[z];1===D.length&&D[0].constructor&&D[0].constructor===Object?x=D[0]:(b=D[0],x=D[1]),x||(x={}),x=Z.extend({},x),b&&!x.el&&(x.el=b),d=_possibleConstructorReturn(this,_getPrototypeOf(Swiper).call(this,x)),Object.keys(fe).forEach((function(d){Object.keys(fe[d]).forEach((function(b){Swiper.prototype[b]||(Swiper.prototype[b]=fe[d][b])}))}));var H=_assertThisInitialized(d);void 0===H.modules&&(H.modules={}),Object.keys(H.modules).forEach((function(d){var b=H.modules[d];if(b.params){var T=Object.keys(b.params)[0],D=b.params[T];if("object"!==_typeof(D)||null===D)return;if(!(T in x)||!("enabled"in D))return;!0===x[T]&&(x[T]={enabled:!0}),"object"!==_typeof(x[T])||"enabled"in x[T]||(x[T].enabled=!0),x[T]||(x[T]={enabled:!1})}}));var W=Z.extend({},pe);H.useModulesParams(W),H.params=Z.extend({},W,ge,x),H.originalParams=Z.extend({},H.params),H.passedParams=Z.extend({},x),H.$=$;var U=$(H.params.el);if(!(b=U[0]))return _possibleConstructorReturn(d,void 0);if(U.length>1){var Y=[];return U.each((function(d,b){var T=Z.extend({},x,{el:b});Y.push(new Swiper(T))})),_possibleConstructorReturn(d,Y)}b.swiper=H,U.data("swiper",H);var ee,te,ne=U.children(".".concat(H.params.wrapperClass));return Z.extend(H,{$el:U,el:b,$wrapperEl:ne,wrapperEl:ne[0],classNames:[],slides:$(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===H.params.direction},isVertical:function(){return"vertical"===H.params.direction},rtl:"rtl"===b.dir.toLowerCase()||"rtl"===U.css("direction"),rtlTranslate:"horizontal"===H.params.direction&&("rtl"===b.dir.toLowerCase()||"rtl"===U.css("direction")),wrongRTL:"-webkit-box"===ne.css("display"),activeIndex:0,realIndex:0,isBeg
817inning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:H.params.allowSlideNext,allowSlidePrev:H.params.allowSlidePrev,touchEvents:(ee=["touchstart","touchmove","touchend"],te=["mousedown","mousemove","mouseup"],J.pointerEvents?te=["pointerdown","pointermove","pointerup"]:J.prefixedPointerEvents&&(te=["MSPointerDown","MSPointerMove","MSPointerUp"]),H.touchEventsTouch={start:ee[0],move:ee[1],end:ee[2]},H.touchEventsDesktop={start:te[0],move:te[1],end:te[2]},J.touch||!H.params.simulateTouch?H.touchEventsTouch:H.touchEventsDesktop),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,formElements:"input, select, option, textarea, button, video",lastClickTime:Z.now(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:H.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),H.useModules(),H.params.init&&H.init(),_possibleConstructorReturn(d,H)}return function(d,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(b&&b.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),b&&_setPrototypeOf(d,b)}(Swiper,d),_createClass(Swiper,[{key:"slidesPerViewDynamic",value:function(){var d=this.params,b=this.slides,x=this.slidesGrid,T=this.size,D=this.activeIndex,z=1;if(d.centeredSlides){for(var H,W=b[D].swiperSlideSize,U=D+1;U<b.length;U+=1)b[U]&&!H&&(z+=1,(W+=b[U].swiperSlideSize)>T&&(H=!0));for(var Y=D-1;Y>=0;Y-=1)b[Y]&&!H&&(z+=1,(W+=b[Y].swiperSlideSize)>T&&(H=!0))}else for(var Z=D+1;Z<b.length;Z+=1)x[Z]-x[D]<T&&(z+=1);return z}},{key:"update",value:function(){var d=this;if(d&&!d.destroyed){var b=d.snapGrid,x=d.params;x.breakpoints&&d.setBreakpoint(),d.updateSize(),d.updateSlides(),d.updateProgress(),d.updateSlidesClasses(),d.params.freeMode?(setTranslate(),d.params.autoHeight&&d.updateAutoHeight()):(("auto"===d.params.slidesPerView||d.params.slidesPerView>1)&&d.isEnd&&!d.params.centeredSlides?d.slideTo(d.slides.length-1,0,!1,!0):d.slideTo(d.activeIndex,0,!1,!0))||setTranslate(),x.watchOverflow&&b!==d.snapGrid&&d.checkOverflow(),d.emit("update")}function setTranslate(){var b=d.rtlTranslate?-1*d.translate:d.translate,x=Math.min(Math.max(b,d.maxTranslate()),d.minTranslate());d.setTranslate(x),d.updateActiveIndex(),d.updateSlidesClasses()}}},{key:"changeDirection",value:function(d){var b=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],x=this,T=x.params.direction;return d||(d="horizontal"===T?"vertical":"horizontal"),d===T||"horizontal"!==d&&"vertical"!==d||("vertical"===T&&(x.$el.removeClass("".concat(x.params.containerModifierClass,"vertical wp8-vertical")).addClass("".concat(x.params.containerModifierClass).concat(d)),(ee.isIE||ee.isEdge)&&(J.pointerEvents||J.prefixedPointerEvents)&&x.$el.addClass("".concat(x.params.containerModifierClass,"wp8-").concat(d))),"horizontal"===T&&(x.$el.removeClass("".concat(x.params.containerModifierClass,"horizontal wp8-horizontal")).addClass("".concat(x.params.containerModifierClass).concat(d)),(ee.isIE||ee.isEdge)&&(J.pointerEvents||J.prefixedPointerEvents)&&x.$el.addClass("".concat(x.params.containerModifierClass,"wp8-").concat(d))),x.params.direction=d,x.slides.each((function(b,x){"vertical"===d?x.style.width="":x.style.height=""})),x.emit("changeDirection"),b&&x.update()),x}},{key:"init",value:function(){this.initialized||(this.emit("beforeInit"),this.params.breakpoints&&this.setBreakpoint(),this.addClasses(),this.params.loop&&this.loopCreate(),this.updateSize(),this.updateSlides(),this.params.watchOverflow&&this.checkOverflow(),this.params.grabCursor&&this.setGrabCursor(),this.params.preloadImages&&this.preloadImages(),this.params.loop?this.slideTo(this.params.initialSlide+this.loopedSlides,0,this.params.runCallbacksOnInit):this.slideTo(this.params.initialSlide,0,this.params.runCallbacksOnInit),this.attachEvents(),this.initialized=!0,this.emit
817("init"))}},{key:"destroy",value:function(){var d=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],b=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],x=this,T=x.params,D=x.$el,z=x.$wrapperEl,H=x.slides;return void 0===x.params||x.destroyed||(x.emit("beforeDestroy"),x.initialized=!1,x.detachEvents(),T.loop&&x.loopDestroy(),b&&(x.removeClasses(),D.removeAttr("style"),z.removeAttr("style"),H&&H.length&&H.removeClass([T.slideVisibleClass,T.slideActiveClass,T.slideNextClass,T.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index").removeAttr("data-swiper-column").removeAttr("data-swiper-row")),x.emit("destroy"),Object.keys(x.eventsListeners).forEach((function(d){x.off(d)})),!1!==d&&(x.$el[0].swiper=null,x.$el.data("swiper",null),Z.deleteProps(x)),x.destroyed=!0),null}}],[{key:"extendDefaults",value:function(d){Z.extend(ge,d)}},{key:"extendedDefaults",get:function(){return ge}},{key:"defaults",get:function(){return pe}},{key:"Class",get:function(){return te}},{key:"$",get:function(){return $}}]),Swiper}(te),ye={name:"device",proto:{device:he},static:{device:he}},ve={name:"support",proto:{support:J},static:{support:J}},xe={name:"browser",proto:{browser:ee},static:{browser:ee}},_e={name:"resize",create:function(){var d=this;Z.extend(d,{resize:{resizeHandler:function(){d&&!d.destroyed&&d.initialized&&(d.emit("beforeResize"),d.emit("resize"))},orientationChangeHandler:function(){d&&!d.destroyed&&d.initialized&&d.emit("orientationchange")}}})},on:{init:function(){D.addEventListener("resize",this.resize.resizeHandler),D.addEventListener("orientationchange",this.resize.orientationChangeHandler)},destroy:function(){D.removeEventListener("resize",this.resize.resizeHandler),D.removeEventListener("orientationchange",this.resize.orientationChangeHandler)}}},we={func:D.MutationObserver||D.WebkitMutationObserver,attach:function(d){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},x=this,T=we.func,z=new T((function(d){if(1!==d.length){var observerUpdate=function(){x.emit("observerUpdate",d[0])};D.requestAnimationFrame?D.requestAnimationFrame(observerUpdate):D.setTimeout(observerUpdate,0)}else x.emit("observerUpdate",d[0])}));z.observe(d,{attributes:void 0===b.attributes||b.attributes,childList:void 0===b.childList||b.childList,characterData:void 0===b.characterData||b.characterData}),x.observer.observers.push(z)},init:function(){if(J.observer&&this.params.observer){if(this.params.observeParents)for(var d=this.$el.parents(),b=0;b<d.length;b+=1)this.observer.attach(d[b]);this.observer.attach(this.$el[0],{childList:this.params.observeSlideChildren}),this.observer.attach(this.$wrapperEl[0],{attributes:!1})}},destroy:function(){this.observer.observers.forEach((function(d){d.disconnect()})),this.observer.observers=[]}},Se={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){Z.extend(this,{observer:{init:we.init.bind(this),attach:we.attach.bind(this),destroy:we.destroy.bind(this),observers:[]}})},on:{init:function(){this.observer.init()},destroy:function(){this.observer.destroy()}}},Me={update:function(d){var b=this,x=b.params,T=x.slidesPerView,D=x.slidesPerGroup,z=x.centeredSlides,H=b.params.virtual,W=H.addSlidesBefore,U=H.addSlidesAfter,Y=b.virtual,J=Y.from,ee=Y.to,te=Y.slides,ne=Y.slidesGrid,ie=Y.renderSlide,oe=Y.offset;b.updateActiveIndex();var se,le,ce,de=b.activeIndex||0;se=b.rtlTranslate?"right":b.isHorizontal()?"left":"top",z?(le=Math.floor(T/2)+D+W,ce=Math.floor(T/2)+D+U):(le=T+(D-1)+W,ce=D+U);var he=Math.max((de||0)-ce,0),pe=Math.min((de||0)+le,te.length-1),fe=(b.slidesGrid[he]||0)-(b.slidesGrid[0]||0);function onRendered(){b.updateSlides(),b.updateProgress(),b.updateSlidesClasses(),b.lazy&&b.params.lazy.enabled&&b.lazy.load()}if(Z.extend(b.virtual,{from:he,to:pe,offset:fe,slidesGrid:b.slidesGrid}),J===he&&ee===pe&&!d)return b.slidesGrid!==ne&&fe!==oe&&b.slides.css(se,"".concat(fe,"px")),void b.updateProgress();if(b.params.virtual.renderExternal)return b.params.virtual.renderExternal.call(b,{offset:fe,from:he,to:pe,slides:function(){for(var d=[],b=he;b<=pe;b+=1)d.push(te[b]);return d}()}),void onRendered();var ge=[],me=[];
817if(d)b.$wrapperEl.find(".".concat(b.params.slideClass)).remove();else for(var ye=J;ye<=ee;ye+=1)(ye<he||ye>pe)&&b.$wrapperEl.find(".".concat(b.params.slideClass,'[data-swiper-slide-index="').concat(ye,'"]')).remove();for(var ve=0;ve<te.length;ve+=1)ve>=he&&ve<=pe&&(void 0===ee||d?me.push(ve):(ve>ee&&me.push(ve),ve<J&&ge.push(ve)));me.forEach((function(d){b.$wrapperEl.append(ie(te[d],d))})),ge.sort((function(d,b){return b-d})).forEach((function(d){b.$wrapperEl.prepend(ie(te[d],d))})),b.$wrapperEl.children(".swiper-slide").css(se,"".concat(fe,"px")),onRendered()},renderSlide:function(d,b){var x=this.params.virtual;if(x.cache&&this.virtual.cache[b])return this.virtual.cache[b];var T=x.renderSlide?$(x.renderSlide.call(this,d,b)):$('<div class="'.concat(this.params.slideClass,'" data-swiper-slide-index="').concat(b,'">').concat(d,"</div>"));return T.attr("data-swiper-slide-index")||T.attr("data-swiper-slide-index",b),x.cache&&(this.virtual.cache[b]=T),T},appendSlide:function(d){if("object"===_typeof(d)&&"length"in d)for(var b=0;b<d.length;b+=1)d[b]&&this.virtual.slides.push(d[b]);else this.virtual.slides.push(d);this.virtual.update(!0)},prependSlide:function(d){var b=this.activeIndex,x=b+1,T=1;if(Array.isArray(d)){for(var D=0;D<d.length;D+=1)d[D]&&this.virtual.slides.unshift(d[D]);x=b+d.length,T=d.length}else this.virtual.slides.unshift(d);if(this.params.virtual.cache){var z=this.virtual.cache,H={};Object.keys(z).forEach((function(d){H[parseInt(d,10)+T]=z[d]})),this.virtual.cache=H}this.virtual.update(!0),this.slideTo(x,0)},removeSlide:function(d){if(null!=d){var b=this.activeIndex;if(Array.isArray(d))for(var x=d.length-1;x>=0;x-=1)this.virtual.slides.splice(d[x],1),this.params.virtual.cache&&delete this.virtual.cache[d[x]],d[x]<b&&(b-=1),b=Math.max(b,0);else this.virtual.slides.splice(d,1),this.params.virtual.cache&&delete this.virtual.cache[d],d<b&&(b-=1),b=Math.max(b,0);this.virtual.update(!0),this.slideTo(b,0)}},removeAllSlides:function(){this.virtual.slides=[],this.params.virtual.cache&&(this.virtual.cache={}),this.virtual.update(!0),this.slideTo(0,0)}},Te={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,addSlidesBefore:0,addSlidesAfter:0}},create:function(){Z.extend(this,{virtual:{update:Me.update.bind(this),appendSlide:Me.appendSlide.bind(this),prependSlide:Me.prependSlide.bind(this),removeSlide:Me.removeSlide.bind(this),removeAllSlides:Me.removeAllSlides.bind(this),renderSlide:Me.renderSlide.bind(this),slides:this.params.virtual.slides,cache:{}}})},on:{beforeInit:function(){if(this.params.virtual.enabled){this.classNames.push("".concat(this.params.containerModifierClass,"virtual"));var d={watchSlidesProgress:!0};Z.extend(this.params,d),Z.extend(this.originalParams,d),this.params.initialSlide||this.virtual.update(
817)}},setTranslate:function(){this.params.virtual.enabled&&this.virtual.update()}}},ke={handle:function(d){var b=this.rtlTranslate,x=d;x.originalEvent&&(x=x.originalEvent);var z=x.keyCode||x.charCode;if(!this.allowSlideNext&&(this.isHorizontal()&&39===z||this.isVertical()&&40===z))return!1;if(!this.allowSlidePrev&&(this.isHorizontal()&&37===z||this.isVertical()&&38===z))return!1;if(!(x.shiftKey||x.altKey||x.ctrlKey||x.metaKey||T.activeElement&&T.activeElement.nodeName&&("input"===T.activeElement.nodeName.toLowerCase()||"textarea"===T.activeElement.nodeName.toLowerCase()))){if(this.params.keyboard.onlyInViewport&&(37===z||39===z||38===z||40===z)){var H=!1;if(this.$el.parents(".".concat(this.params.slideClass)).length>0&&0===this.$el.parents(".".concat(this.params.slideActiveClass)).length)return;var W=D.innerWidth,U=D.innerHeight,Y=this.$el.offset();b&&(Y.left-=this.$el[0].scrollLeft);for(var Z=[[Y.left,Y.top],[Y.left+this.width,Y.top],[Y.left,Y.top+this.height],[Y.left+this.width,Y.top+this.height]],J=0;J<Z.length;J+=1){var ee=Z[J];ee[0]>=0&&ee[0]<=W&&ee[1]>=0&&ee[1]<=U&&(H=!0)}if(!H)return}this.isHorizontal()?(37!==z&&39!==z||(x.preventDefault?x.preventDefault():x.returnValue=!1),(39===z&&!b||37===z&&b)&&this.slideNext(),(37===z&&!b||39===z&&b)&&this.slidePrev()):(38!==z&&40!==z||(x.preventDefault?x.preventDefault():x.returnValue=!1),40===z&&this.slideNext(),38===z&&this.slidePrev()),this.emit("keyPress",z)}},enable:function(){this.keyboard.enabled||($(T).on("keydown",this.keyboard.handle),this.keyboard.enabled=!0)},disable:function(){this.keyboard.enabled&&($(T).off("keydown",this.keyboard.handle),this.keyboard.enabled=!1)}},Pe={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0}},create:function(){Z.extend(this,{keyboard:{enabled:!1,enable:ke.enable.bind(this),disable:ke.disable.bind(this),handle:ke.handle.bind(this)}})},on:{init:function(){this.params.keyboard.enabled&&this.keyboard.enable()},destroy:function(){this.keyboard.enabled&&this.keyboard.disable()}}};var Ee={lastScrollTime:Z.now(),event:D.navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":function(){var d="onwheel"in T;if(!d){var b=T.createElement("div");b.setAttribute("onwheel","return;"),d="function"==typeof b.onwheel}return!d&&T.implementation&&T.implementation.hasFeature&&!0!==T.implementation.hasFeature("","")&&(d=T.implementation.hasFeature("Events.wheel","3.0")),d}()?"wheel":"mousewheel",normalize:function(d){var b=0,x=0,T=0,D=0;return"detail"in d&&(x=d.detail),"wheelDelta"in d&&(x=-d.wheelDelta/120),"wheelDeltaY"in d&&(x=-d.wheelDeltaY/120),"wheelDeltaX"in d&&(b=-d.wheelDeltaX/120),"axis"in d&&d.axis===d.HORIZONTAL_AXIS&&(b=x,x=0),T=10*b,D=10*x,"deltaY"in d&&(D=d.deltaY),"deltaX"in d&&(T=d.deltaX),(T||D)&&d.deltaMode&&(1===d.deltaMode?(T*=40,D*=40):(T*=800,D*=800)),T&&!b&&(b=T<1?-1:1),D&&!x&&(x=D<1?-1:1),{spinX:b,spinY:x,pixelX:T,pixelY:D}},handleMouseEnter:function(){this.mouseEntered=!0},handleMouseLeave:function(){this.mouseEntered=!1},handle:function(d){var b=d,x=this,T=x.params.mousewheel;if(!x.mouseEntered&&!T.releaseOnEdges)return!0;b.originalEvent&&(b=b.originalEvent);var z=0,H=x.rtlTranslate?-1:1,W=Ee.normalize(b);if(T.forceToAxis)if(x.isHorizontal()){if(!(Math.abs(W.pixelX)>Math.abs(W.pixelY)))return!0;z=W.pixelX*H}else{if(!(Math.abs(W.pixelY)>Math.abs(W.pixelX)))return!0;z=W.pixelY}else z=Math.abs(W.pixelX)>Math.abs(W.pixelY)?-W.pixelX*H:-W.pixelY;if(0===z)return!0;if(T.invert&&(z=-z),x.params.freeMode){x.params.loop&&x.loopFix();var U=x.getTranslate()+z*T.sensitivity,Y=x.isBeginning,J=x.isEnd;if(U>=x.minTranslate()&&(U=x.minTranslate()),U<=x.maxTranslate()&&(U=x.maxTranslate()),x.setTransition(0),x.setTranslate(U),x.updateProgress(),x.updateActiveIndex(),x.updateSlidesClasses(),(!Y&&x.isBeginning||!J&&x.isEnd)&&x.updateSlidesClasses(),x.params.freeModeSticky&&(clearTimeout(x.mousewheel.timeout),x.mousewheel.timeout=Z.nextTick((function(){x.slideToClosest()}),300)),x.emit("scroll",b),x.params.autoplay&&x.params.autoplayDisableOnInteraction&&x.autoplay.stop(),U===x.minTranslate()||U===x.maxTranslate())return!0}else{if(Z.now()-x.mousewheel.lastScrollTime>60)if(z<0)if(x.isEnd&&!x.params.loop||x.animating){if(T.releaseOnEdges)return!0}else x.slideNext(),x.emit("scroll",b);else if(x.isBeginning&&!x.params.loop||x.animating){if(T.releaseOnEdges)return!0}else x.slidePrev(),x.emit("scroll",b);x.mousewheel.lastScrollTime=(new D.Date).getTime()}return b.preventDefault?b.preventDefault():b.returnValue=!1,!1},enable:function(){if(!Ee.event)return!1;if(this.mousewheel.enabled)return!1;var d=this.$el;return"container"!==this.params.mousewheel.eventsTarged&&(d=$(this.params.mousewheel.eventsTarged)),d.on("mouseenter",this.mousewheel.handleMouseEnter),d.on("mouseleave",this.mousewheel.handleMouseLeave),d.on(Ee.event,this.mousewheel.handle),this.mousewheel.enabled=!0,!0},disable:function(){if(!Ee.event)return!1;if(!this.mousewheel.enabled)return!1;var d=this.$el;return"container"!==this.params.mousewheel.eventsTarged&&(d=$(this.params.mousewheel.eventsTarged)),d.off(Ee.event,this.mousewheel.handle),this.mousewheel.enabled=!1,!0}},Le={update:function(){var d=this.params.navigation;if(!this.params.loop){var b=this.navigation,x=b.$nextEl,T=b.$prevEl;T&&T.length>
8170&&(this.isBeginning?T.addClass(d.disabledClass):T.removeClass(d.disabledClass),T[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](d.lockClass)),x&&x.length>0&&(this.isEnd?x.addClass(d.disabledClass):x.removeClass(d.disabledClass),x[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](d.lockClass))}},onPrevClick:function(d){d.preventDefault(),this.isBeginning&&!this.params.loop||this.slidePrev()},onNextClick:function(d){d.preventDefault(),this.isEnd&&!this.params.loop||this.slideNext()},init:function(){var d,b,x=this.params.navigation;(x.nextEl||x.prevEl)&&(x.nextEl&&(d=$(x.nextEl),this.params.uniqueNavElements&&"string"==typeof x.nextEl&&d.length>1&&1===this.$el.find(x.nextEl).length&&(d=this.$el.find(x.nextEl))),x.prevEl&&(b=$(x.prevEl),this.params.uniqueNavElements&&"string"==typeof x.prevEl&&b.length>1&&1===this.$el.find(x.prevEl).length&&(b=this.$el.find(x.prevEl))),d&&d.length>0&&d.on("click",this.navigation.onNextClick),b&&b.length>0&&b.on("click",this.navigation.onPrevClick),Z.extend(this.navigation,{$nextEl:d,nextEl:d&&d[0],$prevEl:b,prevEl:b&&b[0]}))},destroy:function(){var d=this.navigation,b=d.$nextEl,x=d.$prevEl;b&&b.length&&(b.off("click",this.navigation.onNextClick),b.removeClass(this.params.navigation.disabledClass)),x&&x.length&&(x.off("click",this.navigation.onPrevClick),x.removeClass(this.params.navigation.disabledClass))}},Ne={update:function(){var d=this.rtl,b=this.params.pagination;if(b.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var x,T=this.virtual&&this.params.virtual.enabled?this.virtual.slides.length:this.slides.length,D=this.pagination.$el,z=this.params.loop?Math.ceil((T-2*this.loopedSlides)/this.params.slidesPerGroup):this.snapGrid.length;if(this.params.loop?((x=Math.ceil((this.activeIndex-this.loopedSlides)/this.params.slidesPerGroup))>T-1-2*this.loopedSlides&&(x-=T-2*this.loopedSlides),x>z-1&&(x-=z),x<0&&"bullets"!==this.params.paginationType&&(x=z+x)):x=void 0!==this.snapIndex?this.snapIndex:this.activeIndex||0,"bullets"===b.type&&this.pagination.bullets&&this.pagination.bullets.length>0){var H,W,U,Y=this.pagination.bullets;if(b.dynamicBullets&&(this.pagination.bulletSize=Y.eq(0)[this.isHorizontal()?"outerWidth":"outerHeight"](!0),D.css(this.isHorizontal()?"width":"height","".concat(this.pagination.bulletSize*(b.dynamicMainBullets+4),"px")),b.dynamicMainBullets>1&&void 0!==this.previousIndex&&(this.pagination.dynamicBulletIndex+=x-this.previousIndex,this.pagination.dynamicBulletIndex>b.dynamicMainBullets-1?this.pagination.dynamicBulletIndex=b.dynamicMainBullets-1:this.pagination.dynamicBulletIndex<0&&(this.pagination.dynamicBulletIndex=0)),H=x-this.pagination.dynamicBulletIndex,U=((W=H+(Math.min(Y.length,b.dynamicMainBullets)-1))+H)/2),Y.removeClass("".concat(b.bulletActiveClass," ").concat(b.bulletActiveClass,"-next ").concat(b.bulletActiveClass,"-next-next ").concat(b.bulletActiveClass,"-prev ").concat(b.bulletActiveClass,"-prev-prev ").concat(b.bulletActiveClass,"-main")),D.length>1)Y.each((function(d,T){var D=$(T),z=D.index();z===x&&D.addClass(b.bulletActiveClass),b.dynamicBullets&&(z>=H&&z<=W&&D.addClass("".concat(b.bulletActiveClass,"-main")),z===H&&D.prev().addClass("".concat(b.bulletActiveClass,"-prev")).prev().addClass("".concat(b.bulletActiveClass,"-prev-prev")),z===W&&D.next().addClass("".concat(b.bulletActiveClass,"-next")).next().addClass("".concat(b.bulletActiveClass,"-next-next")))}));else if(Y.eq(x).addClass(b.bulletActiveClass),b.dynamicBullets){for(var Z=Y.eq(H),J=Y.eq(W),ee=H;ee<=W;ee+=1)Y.eq(ee).addClass("".concat(b.bulletActiveClass,"-main"));Z.prev().addClass("".concat(b.bulletActiveClass,"-prev")).prev().addClass("".concat(b.bulletActiveClass,"-prev-prev")),J.next().addClass("".concat(b.bulletActiveClass,"-next")).next().addClass("".concat(b.bulletActiveClass,"-next-next"))}if(b.dynamicBullets){var te=Math.min(Y.length,b.dynamicMainBullets+4),ne=(this.pagination.bulletSize*te-this.pagination.bulletSize)/2-U*this.pagination.bulletSize,ie=d?"right":"left";Y.css(this.isHorizontal()?ie:"top","".concat(ne,"px"))}}if("fraction"===b.type&&(D.find(".".concat(b.currentClass)).text(b.formatFractionCurrent(x+1)),D.find(".".concat(b.totalClass)).text(b.formatFractionTotal(z))),"progressbar"===b.type){var oe;oe=b.progressbarOpposite?this.isHorizontal()?"vertical":"horizontal":this.isHorizontal()?"horizontal":"vertical";var se=(x+1)/z,le=1,ce=1;"horizontal"===oe?le=se:ce=se,D.find(".".concat(b.progressbarFillClass)).transform("translate3d(0,
8170,0) scaleX(".concat(le,") scaleY(").concat(ce,")")).transition(this.params.speed)}"custom"===b.type&&b.renderCustom?(D.html(b.renderCustom(this,x+1,z)),this.emit("paginationRender",this,D[0])):this.emit("paginationUpdate",this,D[0]),D[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](b.lockClass)}},render:function(){var d=this.params.pagination;if(d.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var b=this.virtual&&this.params.virtual.enabled?this.virtual.slides.length:this.slides.length,x=this.pagination.$el,T="";if("bullets"===d.type){for(var D=this.params.loop?Math.ceil((b-2*this.loopedSlides)/this.params.slidesPerGroup):this.snapGrid.length,z=0;z<D;z+=1)d.renderBullet?T+=d.renderBullet.call(this,z,d.bulletClass):T+="<".concat(d.bulletElement,' class="').concat(d.bulletClass,'"></').concat(d.bulletElement,">");x.html(T),this.pagination.bullets=x.find(".".concat(d.bulletClass))}"fraction"===d.type&&(T=d.renderFraction?d.renderFraction.call(this,d.currentClass,d.totalClass):'<span class="'.concat(d.currentClass,'"></span>')+" / "+'<span class="'.concat(d.totalClass,'"></span>'),x.html(T)),"progressbar"===d.type&&(T=d.renderProgressbar?d.renderProgressbar.call(this,d.progressbarFillClass):'<span class="'.concat(d.progressbarFillClass,'"></span>'),x.html(T)),"custom"!==d.type&&this.emit("paginationRender",this.pagination.$el[0])}},init:function(){var d=this,b=d.params.pagination;if(b.el){var x=$(b.el);0!==x.length&&(d.params.uniqueNavElements&&"string"==typeof b.el&&x.length>1&&1===d.$el.find(b.el).length&&(x=d.$el.find(b.el)),"bullets"===b.type&&b.clickable&&x.addClass(b.clickableClass),x.addClass(b.modifierClass+b.type),"bullets"===b.type&&b.dynamicBullets&&(x.addClass("".concat(b.modifierClass).concat(b.type,"-dynamic")),d.pagination.dynamicBulletIndex=0,b.dynamicMainBullets<1&&(b.dynamicMainBullets=1)),"progressbar"===b.type&&b.progressbarOpposite&&x.addClass(b.progressbarOppositeClass),b.clickable&&x.on("click",".".concat(b.bulletClass),(function(b){b.preventDefault();var x=$(this).index()*d.params.slidesPerGroup;d.params.loop&&(x+=d.loopedSlides),d.slideTo(x)})),Z.extend(d.pagination,{$el:x,el:x[0]}))}},destroy:function(){var d=this.params.pagination;if(d.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var b=this.pagination.$el;b.removeClass(d.hiddenClass),b.removeClass(d.modifierClass+d.type),this.pagination.bullets&&this.pagination.bullets.removeClass(d.bulletActiveClass),d.clickable&&b.off("click",".".concat(d.bulletClass))}}},Ve={setTranslate:function(){if(this.params.scrollbar.el&&this.scrollbar.el){var d=this.scrollbar,b=this.rtlTranslate,x=this.progress,T=d.dragSize,D=d.trackSize,z=d.$dragEl,H=d.$el,W=this.params.scrollbar,U=T,Y=(D-T)*x;b?(Y=-Y)>0?(U=T-Y,Y=0):-Y+T>D&&(U=D+Y):Y<0?(U=T+Y,Y=0):Y+T>D&&(U=D-Y),this.isHorizontal()?(J.transforms3d?z.transform("translate3d(".concat(Y,"px, 0, 0)")):z.transform("translateX(".concat(Y,"px)")),z[0].style.width="".concat(U,"px")):(J.transforms3d?z.transform("translate3d(0px, ".concat(Y,"px, 0)")):z.transform("translateY(".concat(Y,"px)")),z[0].style.height="".concat(U,"px")),W.hide&&(clearTimeout(this.scrollbar.timeout),H[0].style.opacity=1,this.scrollbar.timeout=setTimeout((function(){H[0].style.opacity=0,H.transition(400)}),1e3))}},setTransition:function(d){this.params.scrollbar.el&&this.scrollbar.el&&this.scrollbar.$dragEl.transition(d)},updateSize:function(){if(this.params.scrollbar.el&&this.scrollbar.el){var d=this.scrollbar,b=d.$dragEl,x=d.$el;b[0].style.width="",b[0].style.height="";var T,D=this.isHorizontal()?x[0].offsetWidth:x[0].offsetHeight,z=this.size/this.virtualSize,H=z*(D/this.size);T="auto"===this.params.scrollbar.dragSize?D*z:parseInt(this.params.scrollbar.dragSize,10),this.isHorizontal()?b[0].style.width="".concat(T,"px"):b[0].style.height="".concat(T,"px"),x[0].style.display=z>=1?"none":"",this.params.scrollbar.hide&&(x[0].style.opacity=0),Z.extend(d,{trackSize:D,divider:z,moveDivider:H,dragSize:T}),d.$el[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](this.params.scrollbar.lockClass)}},setDragPosition:function(d){var b,x=this.scrollbar,T=this.rtlTranslate,D=x.$el,z=x.dragSize,H=x.trackSize;b=((this.isHorizontal()?"touchstart"===d.type||"touchmove"===d.type?d.targetTouches[0].pageX:d.pageX||d.clientX:"touchstart"===d.type||"touchmove"===d.type?d.targetTouches[0].pageY:d.pageY||d.clientY)-D.offset()[this.isHorizontal()?"left":"top"]-z/2)/(H-z),b=Math.max(Math.min(b,1),0),T&&(b=1-b);var W=this.minTranslate()+(this.maxTranslate()-this.minTranslate())*b;this.updateProgress(W),this.setTranslate(W),this.updateActiveIndex(),this.updateSlidesClasses()},onDragStart:function(d){var b=this.params.scrollbar,x=this.scrollbar,T=this.$wrapperEl,D=x.$el,z=x.$dragEl;this.scrollbar.isTouched=!0,d.preventDefault(),d.stopPropagation(),T.transition(100),z.transition(100),x.setDragPosition(d),clearTimeout(this.scrollbar.dragTimeout),D.transition(0),b.hide&&D.css("opacity",1),this.emit
817("scrollbarDragStart",d)},onDragMove:function(d){var b=this.scrollbar,x=this.$wrapperEl,T=b.$el,D=b.$dragEl;this.scrollbar.isTouched&&(d.preventDefault?d.preventDefault():d.returnValue=!1,b.setDragPosition(d),x.transition(0),T.transition(0),D.transition(0),this.emit("scrollbarDragMove",d))},onDragEnd:function(d){var b=this.params.scrollbar,x=this.scrollbar.$el;this.scrollbar.isTouched&&(this.scrollbar.isTouched=!1,b.hide&&(clearTimeout(this.scrollbar.dragTimeout),this.scrollbar.dragTimeout=Z.nextTick((function(){x.css("opacity",0),x.transition(400)}),1e3)),this.emit("scrollbarDragEnd",d),b.snapOnRelease&&this.slideToClosest())},enableDraggable:function(){if(this.params.scrollbar.el){var d=this.scrollbar,b=this.touchEventsTouch,x=this.touchEventsDesktop,D=this.params,z=d.$el[0],H=!(!J.passiveListener||!D.passiveListeners)&&{passive:!1,capture:!1},W=!(!J.passiveListener||!D.passiveListeners)&&{passive:!0,capture:!1};J.touch?(z.addEventListener(b.start,this.scrollbar.onDragStart,H),z.addEventListener(b.move,this.scrollbar.onDragMove,H),z.addEventListener(b.end,this.scrollbar.onDragEnd,W)):(z.addEventListener(x.start,this.scrollbar.onDragStart,H),T.addEventListener(x.move,this.scrollbar.onDragMove,H),T.addEventListener(x.end,this.scrollbar.onDragEnd,W))}},disableDraggable:function(){if(this.params.scrollbar.el){var d=this.scrollbar,b=this.touchEventsTouch,x=this.touchEventsDesktop,D=this.params,z=d.$el[0],H=!(!J.passiveListener||!D.passiveListeners)&&{passive:!1,capture:!1},W=!(!J.passiveListener||!D.passiveListeners)&&{passive:!0,capture:!1};J.touch?(z.removeEventListener(b.start,this.scrollbar.onDragStart,H),z.removeEventListener(b.move,this.scrollbar.onDragMove,H),z.removeEventListener(b.end,this.scrollbar.onDragEnd,W)):(z.removeEventListener(x.start,this.scrollbar.onDragStart,H),T.removeEventListener(x.move,this.scrollbar.onDragMove,H),T.removeEventListener(x.end,this.scrollbar.onDragEnd,W))}},init:function(){if(this.params.scrollbar.el){var d=this.scrollbar,b=this.$el,x=this.params.scrollbar,T=$(x.el);this.params.uniqueNavElements&&"string"==typeof x.el&&T.length>1&&1===b.find(x.el).length&&(T=b.find(x.el));var D=T.find(".".concat(this.params.scrollbar.dragClass));0===D.length&&(D=$('<div class="'.concat(this.params.scrollbar.dragClass,'"></div>')),T.append(D)),Z.extend(d,{$el:T,el:T[0],$dragEl:D,dragEl:D[0]}),x.draggable&&d.enableDraggable()}},destroy:function(){this.scrollbar.disableDraggable()}},Fe={setTransform:function(d,b){var x=this.rtl,T=$(d),D=x?-1:1,z=T.attr("data-swiper-parallax")||"0",H=T.attr("data-swiper-parallax-x"),W=T.attr("data-swiper-parallax-y"),U=T.attr("data-swiper-parallax-scale"),Y=T.attr("data-swiper-parallax-opacity");if(H||W?(H=H||"0",W=W||"0"):this.isHorizontal()?(H=z,W="0"):(W=z,H="0"),H=H.indexOf("%")>=0?"".concat(parseInt(H,10)*b*D,"%"):"".concat(H*b*D,"px"),W=W.indexOf("%")>=0?"".concat(parseInt(W,10)*b,"%"):"".concat(W*b,"px"),null!=Y){var Z=Y-(Y-1)*(1-Math.abs(b));T[0].style.opacity=Z}if(null==U)T.transform("translate3d(".concat(H,", ").concat(W,", 0px)"));else{var J=U-(U-1)*(1-Math.abs(b));T.transform("translate3d(".concat(H,", ").concat(W,", 0px) scale(").concat(J,")"))}},setTranslate:function(){var d=this,b=d.$el,x=d.slides,T=d.progress,D=d.snapGrid;b.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each((function(b,x){d.parallax.setTransform(x,T)})),x.each((function(b,x){var z=x.progress;d.params.slidesPerGroup>1&&"auto"!==d.params.slidesPerView&&(z+=Math.ceil(b/2)-T*(D.length-1)),z=Math.min(Math.max(z,-1),1),$(x).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each((function(b,x){d.parallax.setTransform(x,z)}))}))},setTransition:function(){var d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,b=this,x=b.$el;x.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each((function(b,x){var T=$(x),D=parseInt(T.attr("data-swiper-parallax-duration"),10)||d;0===d&&(D=0),T.transition(D)}))}},Ge={getDistanceBetweenTouches:function(d){if(d.targetTouches.length<2)return 1;var b=d.targetTouches[0].pageX,x=d.targetTouches[0].pageY,T=d.targetTouches[1].pageX,D=d.targetTouches[1].pageY;return Math.sqrt(Math.pow(T-b,2)+Math.pow(D-x,2))},onGestureStart:function(d){var b=this.params.zoom,x=this.zoom,T=x.gesture;if(x.fakeGestureTouched=!1,x.fakeGestureMoved=!1,!J.gestures){if("touchstart"!==d.type||"touchstart"===d.type&&d.targetTouches.length<2)return;x.fakeGestureTouched=!0,T.scaleStart=Ge.getDistanceBetweenTouches(d)}T.$slideEl&&T.$slideEl.length||(T.$slideEl=$(d.target).closest(".swiper-slide"),0===T.$slideEl.length&&(T.$slideEl=this.slides.eq(this.activeIndex)),T.$imageEl=T.$slideEl.find("img, svg, canvas"),T.$imageWrapEl=T.$imageEl.parent(".".concat(b.containerClass)),T.maxRatio=T.$imageWrapEl.attr("data-swiper-zoom")||b.maxRatio,0!==T.$imageWrapEl.length)?(T.$imageEl.transition(0),this.zoom.isScaling=!0):T.$imageEl=void 0},onGestureChange:function(d){var b=this.params.zoom,x=this.zoom,T=x.gesture;if(!J.gestures){if("touchmove"!==d.type||"touchmove"===d.type&&d.targetTouches.length<2)return;x.fakeGestureMoved=!0,T.scaleMove=Ge.getDistanceBetweenTouches(d)}T.$imageEl&&0!==T.$imageEl.length&&(x.scale=J.gestures?d.scale*x.currentScale:T.scaleMove/T.scaleStart*x.currentScale,x.scale>T.maxRatio&&(x.scale=T.maxRatio-1+Math.pow(x.scale-T.maxRatio+1,.5)),x.scale<b.minRatio&&(x.scale=b.minRatio+1-Math.pow(b.minRatio-x.scale+1,.5)),T.$imageEl.transform("translate3d(0,
8170,0) scale(".concat(x.scale,")")))},onGestureEnd:function(d){var b=this.params.zoom,x=this.zoom,T=x.gesture;if(!J.gestures){if(!x.fakeGestureTouched||!x.fakeGestureMoved)return;if("touchend"!==d.type||"touchend"===d.type&&d.changedTouches.length<2&&!he.android)return;x.fakeGestureTouched=!1,x.fakeGestureMoved=!1}T.$imageEl&&0!==T.$imageEl.length&&(x.scale=Math.max(Math.min(x.scale,T.maxRatio),b.minRatio),T.$imageEl.transition(this.params.speed).transform("translate3d(0,0,0) scale(".concat(x.scale,")")),x.currentScale=x.scale,x.isScaling=!1,1===x.scale&&(T.$slideEl=void 0))},onTouchStart:function(d){var b=this.zoom,x=b.gesture,T=b.image;x.$imageEl&&0!==x.$imageEl.length&&(T.isTouched||(he.android&&d.preventDefault(),T.isTouched=!0,T.touchesStart.x="touchstart"===d.type?d.targetTouches[0].pageX:d.pageX,T.touchesStart.y="touchstart"===d.type?d.targetTouches[0].pageY:d.pageY))},onTouchMove:function(d){var b=this.zoom,x=b.gesture,T=b.image,D=b.velocity;if(x.$imageEl&&0!==x.$imageEl.length&&(this.allowClick=!1,T.isTouched&&x.$slideEl)){T.isMoved||(T.width=x.$imageEl[0].offsetWidth,T.height=x.$imageEl[0].offsetHeight,T.startX=Z.getTranslate(x.$imageWrapEl[0],"x")||0,T.startY=Z.getTranslate(x.$imageWrapEl[0],"y")||0,x.slideWidth=x.$slideEl[0].offsetWidth,x.slideHeight=x.$slideEl[0].offsetHeight,x.$imageWrapEl.transition(0),this.rtl&&(T.startX=-T.startX,T.startY=-T.startY));var z=T.width*b.scale,H=T.height*b.scale;if(!(z<x.slideWidth&&H<x.slideHeight)){if(T.minX=Math.min(x.slideWidth/2-z/2,0),T.maxX=-T.minX,T.minY=Math.min(x.slideHeight/2-H/2,0),T.maxY=-T.minY,T.touchesCurrent.x="touchmove"===d.type?d.targetTouches[0].pageX:d.pageX,T.touchesCurrent.y="touchmove"===d.type?d.targetTouches[0].pageY:d.pageY,!T.isMoved&&!b.isScaling){if(this.isHorizontal()&&(Math.floor(T.minX)===Math.floor(T.startX)&&T.touchesCurrent.x<T.touchesStart.x||Math.floor(T.maxX)===Math.floor(T.startX)&&T.touchesCurrent.x>T.touchesStart.x))return void(T.isTouched=!1);if(!this.isHorizontal()&&(Math.floor(T.minY)===Math.floor(T.startY)&&T.touchesCurrent.y<T.touchesStart.y||Math.floor(T.maxY)===Math.floor(T.startY)&&T.touchesCurrent.y>T.touchesStart.y))return void(T.isTouched=!1)}d.preventDefault(),d.stopPropagation(),T.isMoved=!0,T.currentX=T.touchesCurrent.x-T.touchesStart.x+T.startX,T.currentY=T.touchesCurrent.y-T.touchesStart.y+T.startY,T.currentX<T.minX&&(T.currentX=T.minX+1-Math.pow(T.minX-T.currentX+1,.8)),T.currentX>T.maxX&&(T.currentX=T.maxX-1+Math.pow(T.currentX-T.maxX+1,.8)),T.currentY<T.minY&&(T.currentY=T.minY+1-Math.pow(T.minY-T.currentY+1,.8)),T.currentY>T.maxY&&(T.currentY=T.maxY-1+Math.pow(T.currentY-T.maxY+1,.8)),D.prevPositionX||(D.prevPositionX=T.touchesCurrent.x),D.prevPositionY||(D.prevPositionY=T.touchesCurrent.y),D.prevTime||(D.prevTime=Date.now()),D.x=(T.touchesCurrent.x-D.prevPositionX)/(Date.now()-D.prevTime)/2,D.y=(T.touchesCurrent.y-D.prevPositionY)/(Date.now()-D.prevTime)/2,Math.abs(T.touchesCurrent.x-D.prevPositionX)<2&&(D.x=0),Math.abs(T.touchesCurrent.y-D.prevPositionY)<2&&(D.y=0),D.prevPositionX=T.touchesCurrent.x,D.prevPositionY=T.touchesCurrent.y,D.prevTime=Date.now(),x.$imageWrapEl.transform("translate3d(".concat(T.currentX,"px, ").concat(T.currentY,"px,0)"))}}},onTouchEnd:function(){var d=this.zoom,b=d.gesture,x=d.image,T=d.velocity;if(b.$imageEl&&0!==b.$imageEl.length){if(!x.isTouched||!x.isMoved)return x.isTouched=!1,void(x.isMoved=!1);x.isTouched=!1,x.isMoved=!1;var D=300,z=300,H=T.x*D,W=x.currentX+H,U=T.y*z,Y=x.currentY+U;0!==T.x&&(D=Math.abs((W-x.currentX)/T.x)),0!==T.y&&(z=Math.abs((Y-x.currentY)/T.y));var Z=Math.max(D,z);x.currentX=W,x.currentY=Y;var J=x.width*d.scale,ee=x.height*d.scale;x.minX=Math.min(b.slideWidth/2-J/2,0),x.maxX=-x.minX,x.minY=Math.min(b.slideHeight/2-ee/2,0),x.maxY=-x.minY,x.currentX=Math.max(Math.min(x.currentX,x.maxX),x.minX),x.currentY=Math.max(Math.min(x.currentY,x.maxY),x.minY),b.$imageWrapEl.transition(Z).transform("translate3d(".concat(x.currentX,"px, ").concat(x.currentY,"px,0)"))}},onTransitionEnd:function(){var d=this.zoom,b=d.gesture;b.$slideEl&&this.previousIndex!==this.activeIndex&&(b.$imageEl.transform("translate3d(0,
8170,0) scale(1)"),b.$imageWrapEl.transform("translate3d(0,0,0)"),d.scale=1,d.currentScale=1,b.$slideEl=void 0,b.$imageEl=void 0,b.$imageWrapEl=void 0)},toggle:function(d){var b=this.zoom;b.scale&&1!==b.scale?b.out():b.in(d)},in:function(d){var b,x,T,D,z,H,W,U,Y,Z,J,ee,te,ne,ie,oe,se=this.zoom,le=this.params.zoom,ce=se.gesture,de=se.image;(ce.$slideEl||(ce.$slideEl=this.clickedSlide?$(this.clickedSlide):this.slides.eq(this.activeIndex),ce.$imageEl=ce.$slideEl.find("img, svg, canvas"),ce.$imageWrapEl=ce.$imageEl.parent(".".concat(le.containerClass))),ce.$imageEl&&0!==ce.$imageEl.length)&&(ce.$slideEl.addClass("".concat(le.zoomedSlideClass)),void 0===de.touchesStart.x&&d?(b="touchend"===d.type?d.changedTouches[0].pageX:d.pageX,x="touchend"===d.type?d.changedTouches[0].pageY:d.pageY):(b=de.touchesStart.x,x=de.touchesStart.y),se.scale=ce.$imageWrapEl.attr("data-swiper-zoom")||le.maxRatio,se.currentScale=ce.$imageWrapEl.attr("data-swiper-zoom")||le.maxRatio,d?(ie=ce.$slideEl[0].offsetWidth,oe=ce.$slideEl[0].offsetHeight,T=ce.$slideEl.offset().left+ie/2-b,D=ce.$slideEl.offset().top+oe/2-x,W=ce.$imageEl[0].offsetWidth,U=ce.$imageEl[0].offsetHeight,Y=W*se.scale,Z=U*se.scale,te=-(J=Math.min(ie/2-Y/2,0)),ne=-(ee=Math.min(oe/2-Z/2,0)),(z=T*se.scale)<J&&(z=J),z>te&&(z=te),(H=D*se.scale)<ee&&(H=ee),H>ne&&(H=ne)):(z=0,H=0),ce.$imageWrapEl.transition(300).transform("translate3d(".concat(z,"px, ").concat(H,"px,0)")),ce.$imageEl.transition(300).transform("translate3d(0,0,0) scale(".concat(se.scale,")")))},out:function(){var d=this.zoom,b=this.params.zoom,x=d.gesture;x.$slideEl||(x.$slideEl=this.clickedSlide?$(this.clickedSlide):this.slides.eq(this.activeIndex),x.$imageEl=x.$slideEl.find("img, svg, canvas"),x.$imageWrapEl=x.$imageEl.parent(".".concat(b.containerClass))),x.$imageEl&&0!==x.$imageEl.length&&(d.scale=1,d.currentScale=1,x.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),x.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),x.$slideEl.removeClass("".concat(b.zoomedSlideClass)),x.$slideEl=void 0)},enable:function(){var d=this.zoom;if(!d.enabled){d.enabled=!0;var b=!("touchstart"!==this.touchEvents.start||!J.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1};J.gestures?(this.$wrapperEl.on("gesturestart",".swiper-slide",d.onGestureStart,b),this.$wrapperEl.on("gesturechange",".swiper-slide",d.onGestureChange,b),this.$wrapperEl.on("gestureend",".swiper-slide",d.onGestureEnd,b)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.on(this.touchEvents.start,".swiper-slide",d.onGestureStart,b),this.$wrapperEl.on(this.touchEvents.move,".swiper-slide",d.onGestureChange,b),this.$wrapperEl.on(this.touchEvents.end,".swiper-slide",d.onGestureEnd,b)),this.$wrapperEl.on(this.touchEvents.move,".".concat(this.params.zoom.containerClass),d.onTouchMove)}},disable:function(){var d=this.zoom;if(d.enabled){this.zoom.enabled=!1;var b=!("touchstart"!==this.touchEvents.start||!J.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1};J.gestures?(this.$wrapperEl.off("gesturestart",".swiper-slide",d.onGestureStart,b),this.$wrapperEl.off("gesturechange",".swiper-slide",d.onGestureChange,b),this.$wrapperEl.off("gestureend",".swiper-slide",d.onGestureEnd,b)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.off(this.touchEvents.start,".swiper-slide",d.onGestureStart,b),this.$wrapperEl.off(this.touchEvents.move,".swiper-slide",d.onGestureChange,b),this.$wrapperEl.off(this.touchEvents.end,".swiper-slide",d.onGestureEnd,b)),this.$wrapperEl.off(this.touchEvents.move,".".concat(this.params.zoom.containerClass),d.onTouchMove)}}},Ye={loadInSlide:function(d){var b=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],x=this,T=x.params.lazy;if(void 0!==d&&0!==x.slides.length){var D=x.virtual&&x.params.virtual.enabled,z=D?x.$wrapperEl.children(".".concat(x.params.slideClass,'[data-swiper-slide-index="').concat(d,'"]')):x.slides.eq(d),H=z.find(".".concat(T.elementClass,":not(.").concat(T.loadedClass,"):not(.").concat(T.loadingClass,")"));!z.hasClass(T.elementClass)||z.hasClass(T.loadedClass)||z.hasClass(T.loadingClass)||(H=H.add(z[0])),0!==H.length&&H.each((function(d,D){var H=$(D);H.addClass(T.loadingClass);var W=H.attr("data-background"),U=H.attr("data-src"),Y=H.attr("data-srcset"),Z=H.attr("data-sizes");x.loadImage(H[0],U||W,Y,Z,!1,(function(){if(null!=x&&x&&(!x||x.params)&&!x.destroyed){
817if(W?(H.css("background-image",'url("'.concat(W,'")')),H.removeAttr("data-background")):(Y&&(H.attr("srcset",Y),H.removeAttr("data-srcset")),Z&&(H.attr("sizes",Z),H.removeAttr("data-sizes")),U&&(H.attr("src",U),H.removeAttr("data-src"))),H.addClass(T.loadedClass).removeClass(T.loadingClass),z.find(".".concat(T.preloaderClass)).remove(),x.params.loop&&b){var d=z.attr("data-swiper-slide-index");if(z.hasClass(x.params.slideDuplicateClass)){var D=x.$wrapperEl.children('[data-swiper-slide-index="'.concat(d,'"]:not(.').concat(x.params.slideDuplicateClass,")"));x.lazy.loadInSlide(D.index(),!1)}else{var J=x.$wrapperEl.children(".".concat(x.params.slideDuplicateClass,'[data-swiper-slide-index="').concat(d,'"]'));x.lazy.loadInSlide(J.index(),!1)}}x.emit("lazyImageReady",z[0],H[0])}})),x.emit("lazyImageLoad",z[0],H[0])}))}},load:function(){var d=this,b=d.$wrapperEl,x=d.params,T=d.slides,D=d.activeIndex,z=d.virtual&&x.virtual.enabled,H=x.lazy,W=x.slidesPerView;function slideExist(d){if(z){if(b.children(".".concat(x.slideClass,'[data-swiper-slide-index="').concat(d,'"]')).length)return!0}else if(T[d])return!0;return!1}function slideIndex(d){return z?$(d).attr("data-swiper-slide-index"):$(d).index()}if("auto"===W&&(W=0),d.lazy.initialImageLoaded||(d.lazy.initialImageLoaded=!0),d.params.watchSlidesVisibility)b.children(".".concat(x.slideVisibleClass)).each((function(b,x){var T=z?$(x).attr("data-swiper-slide-index"):$(x).index();d.lazy.loadInSlide(T)}));else if(W>1)for(var U=D;U<D+W;U+=1)slideExist(U)&&d.lazy.loadInSlide(U);else d.lazy.loadInSlide(D);if(H.loadPrevNext)if(W>1||H.loadPrevNextAmount&&H.loadPrevNextAmount>1){for(var Y=H.loadPrevNextAmount,Z=W,J=Math.min(D+Z+Math.max(Y,Z),T.length),ee=Math.max(D-Math.max(Z,Y),0),te=D+W;te<J;te+=1)slideExist(te)&&d.lazy.loadInSlide(te);for(var ne=ee;ne<D;ne+=1)slideExist(ne)&&d.lazy.loadInSlide(ne)}else{var ie=b.children(".".concat(x.slideNextClass));ie.length>0&&d.lazy.loadInSlide(slideIndex(ie));var oe=b.children(".".concat(x.slidePrevClass));oe.length>0&&d.lazy.loadInSlide(slideIndex(oe))}}},Xe={LinearSpline:function(d,b){var x,T,D,z,H,binarySearch=function(d,b){for(T=-1,x=d.length;x-T>1;)d[D=x+T>>1]<=b?T=D:x=D;return x};return this.x=d,this.y=b,this.lastIndex=d.length-1,this.interpolate=function(d){return d?(H=binarySearch(this.x,d),z=H-1,(d-this.x[z])*(this.y[H]-this.y[z])/(this.x[H]-this.x[z])+this.y[z]):0},this},getInterpolateFunction:function(d){this.controller.spline||(this.controller.spline=this.params.loop?new Xe.LinearSpline(this.slidesGrid,d.slidesGrid):new Xe.LinearSpline(this.snapGrid,d.snapGrid))},setTranslate:function(d,b){var x,T,D=this,z=D.controller.control;function setControlledTranslate(d){var b=D.rtlTranslate?-D.translate:D.translate;"slide"===D.params.controller.by&&(D.controller.getInterpolateFunction(d),T=-D.controller.spline.interpolate(-b)),T&&"container"!==D.params.controller.by||(x=(d.maxTranslate()-d.minTranslate())/(D.maxTranslate()-D.minTranslate()),T=(b-D.minTranslate())*x+d.minTranslate()),D.params.controller.inverse&&(T=d.maxTranslate()-T),d.updateProgress(T),d.setTranslate(T,D),d.updateActiveIndex(),d.updateSlidesClasses()}if(Array.isArray(z))for(var H=0;H<z.length;H+=1)z[H]!==b&&z[H]instanceof me&&setControlledTranslate(z[H]);else z instanceof me&&b!==z&&setControlledTranslate(z)},setTransition:function(d,b){var x,T=this,D=T.controller.control;function setControlledTransition(b){b.setTransition(d,T),0!==d&&(b.transitionStart(),b.params.autoHeight&&Z.nextTick((function(){b.updateAutoHeight()})),b.$wrapperEl.transitionEnd((function(){D&&(b.params.loop&&"slide"===T.params.controller.by&&b.loopFix(),b.transitionEnd())})))}if(Array.isArray(D))for(x=0;x<D.length;x+=1)D[x]!==b&&D[x]instanceof me&&setControlledTransition(D[x]);else D instanceof me&&b!==D&&setControlledTransition(D)}},Ke={makeElFocusable:function(d){return d.attr("tabIndex","0"),d},addElRole:function(d,b){return d.attr("role",b),d},addElLabel:function(d,b){return d.attr("aria-label",b),d},disableEl:function(d){return d.attr("aria-disabled",!0),d},enableEl:function(d){return d.attr("aria-disabled",!1),d},onEnterKey:function(d){var b=this.params.a11y;if(13===d.keyCode){var x=$(d.target);this.navigation&&this.navigation.$nextEl&&x.is(this.navigation.$nextEl)&&(this.isEnd&&!this.params.loop||this.slideNext(),this.isEnd?this.a11y.notify(b.lastSlideMessage):this.a11y.notify(b.nextSlideMessage)),this.navigation&&this.navigation.$prevEl&&x.is(this.navigation.$prevEl)&&(this.isBeg
817inning&&!this.params.loop||this.slidePrev(),this.isBeginning?this.a11y.notify(b.firstSlideMessage):this.a11y.notify(b.prevSlideMessage)),this.pagination&&x.is(".".concat(this.params.pagination.bulletClass))&&x[0].click()}},notify:function(d){var b=this.a11y.liveRegion;0!==b.length&&(b.html(""),b.html(d))},updateNavigation:function(){if(!this.params.loop){var d=this.navigation,b=d.$nextEl,x=d.$prevEl;x&&x.length>0&&(this.isBeginning?this.a11y.disableEl(x):this.a11y.enableEl(x)),b&&b.length>0&&(this.isEnd?this.a11y.disableEl(b):this.a11y.enableEl(b))}},updatePagination:function(){var d=this,b=d.params.a11y;d.pagination&&d.params.pagination.clickable&&d.pagination.bullets&&d.pagination.bullets.length&&d.pagination.bullets.each((function(x,T){var D=$(T);d.a11y.makeElFocusable(D),d.a11y.addElRole(D,"button"),d.a11y.addElLabel(D,b.paginationBulletMessage.replace(/{{index}}/,D.index()+1))}))},init:function(){this.$el.append(this.a11y.liveRegion);var d,b,x=this.params.a11y;this.navigation&&this.navigation.$nextEl&&(d=this.navigation.$nextEl),this.navigation&&this.navigation.$prevEl&&(b=this.navigation.$prevEl),d&&(this.a11y.makeElFocusable(d),this.a11y.addElRole(d,"button"),this.a11y.addElLabel(d,x.nextSlideMessage),d.on("keydown",this.a11y.onEnterKey)),b&&(this.a11y.makeElFocusable(b),this.a11y.addElRole(b,"button"),this.a11y.addElLabel(b,x.prevSlideMessage),b.on("keydown",this.a11y.onEnterKey)),this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.on("keydown",".".concat(this.params.pagination.bulletClass),this.a11y.onEnterKey)},destroy:function(){var d,b;this.a11y.liveRegion&&this.a11y.liveRegion.length>0&&this.a11y.liveRegion.remove(),this.navigation&&this.navigation.$nextEl&&(d=this.navigation.$nextEl),this.navigation&&this.navigation.$prevEl&&(b=this.navigation.$prevEl),d&&d.off("keydown",this.a11y.onEnterKey),b&&b.off("keydown",this.a11y.onEnterKey),this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.off("keydown",".".concat(this.params.pagination.bulletClass),this.a11y.onEnterKey)}},Qe={init:function(){if(this.params.history){if(!D.history||!D.history.pushState)return this.params.history.enabled=!1,void(this.params.hashNavigation.enabled=!0);var d=this.history;d.initialized=!0,d.paths=Qe.getPathValues(),(d.paths.key||d.paths.value)&&(d.scrollToSlide(0,d.paths.value,this.params.runCallbacksOnInit),this.params.history.replaceState||D.addEventListener("popstate",this.history.setHistoryPopState))}},destroy:function(){this.params.history.replaceState||D.removeEventListener("popstate",this.history.setHistoryPopState)},setHistoryPopState:function(){this.history.paths=Qe.getPathValues(),this.history.scrollToSlide(this.params.speed,this.history.paths.value,!1)},getPathValues:function(){var d=D.location.pathname.slice(1).split("/").filter((function(d){return""!==d})),b=d.length;return{key:d[b-2],value:d[b-1]}},setHistory:function(d,b){if(this.history.initialized&&this.params.history.enabled){var x=this.slides.eq(b),T=Qe.slugify(x.attr("data-history"));D.location.pathname.includes(d)||(T="".concat(d,"/").concat(T));var z=D.history.state;z&&z.value===T||(this.params.history.replaceState?D.history.replaceState({value:T},null,T):D.history.pushState({value:T},null,T))}},slugify:function(d){return d.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(d,b,x){if(b)for(var T=0,D=this.slides.length;T<D;T+=1){var z=this.slides.eq(T);if(Qe.slugify(z.attr("data-history"))===b&&!z.hasClass(this.params.slideDuplicateClass)){var H=z.index();this.slideTo(H,d,x)}}else this.slideTo(0,d,x)}},et={onHashCange:function(){var d=T.location.hash.replace("#","");if(d!==this.slides.eq(this.activeIndex).attr("data-hash")){var b=this.$wrapperEl.children(".".concat(this.params.slideClass,'[data-hash="').concat(d,'"]')).index();if(void 0===b)return;this.slideTo(b)}},setHash:function(){if(this.hashNavigation.initialized&&this.params.hashNavigation.enabled)if(this.params.hashNavigation.replaceState&&D.history&&D.history.replaceState)D.history.replaceState(null,null,"#".concat(this.slides.eq(this.activeIndex).attr("data-hash"))||!1);else{var d=this.slides.eq(this.activeIndex),b=d.attr("data-hash")||d.attr("data-history");T.location.hash=b||""}},init:function(){if(!(!this.params.hashNavigation.enabled||this.params.history&&this.params.history.enabled)){this.hashNavigation.initialized=!0;var d=T.location.hash.replace("#","");if(d)for(var b=0,x=this.slides.length;b<x;b+=1){var z=this.slides.eq(b);if((z.attr("data-hash")||z.attr("data-history"))===d&&!z.hasClass(this.params.slideDuplicateClass)){var H=z.index();this.slideTo(H,0,this.params.runCallbacksOnInit,!0)}}this.params.hashNavigation.watchState&&$(D).on("hashchange",this.hashNavigation.onHashCange)}},destroy:function(){this.params.hashNavigation.watchState&&$(D).off("hashchange",this.hashNavigation.onHashCange)}},tt={run:function(){var d=this,b=d.slides.eq(d.activeIndex),x=d.params.autoplay.delay;b.attr("data-swiper-autoplay")&&(x=b.attr("data-swiper-autoplay")||d.params.autoplay.delay),d.autoplay.timeout=Z.nextTick((function(){d.params.autoplay.reverseDirection?d.params.loop?(d.loopFix(),d.slidePrev(d.params.speed,!0,
817!0),d.emit("autoplay")):d.isBeginning?d.params.autoplay.stopOnLastSlide?d.autoplay.stop():(d.slideTo(d.slides.length-1,d.params.speed,!0,!0),d.emit("autoplay")):(d.slidePrev(d.params.speed,!0,!0),d.emit("autoplay")):d.params.loop?(d.loopFix(),d.slideNext(d.params.speed,!0,!0),d.emit("autoplay")):d.isEnd?d.params.autoplay.stopOnLastSlide?d.autoplay.stop():(d.slideTo(0,d.params.speed,!0,!0),d.emit("autoplay")):(d.slideNext(d.params.speed,!0,!0),d.emit("autoplay"))}),x)},start:function(){return void 0===this.autoplay.timeout&&(!this.autoplay.running&&(this.autoplay.running=!0,this.emit("autoplayStart"),this.autoplay.run(),!0))},stop:function(){return!!this.autoplay.running&&(void 0!==this.autoplay.timeout&&(this.autoplay.timeout&&(clearTimeout(this.autoplay.timeout),this.autoplay.timeout=void 0),this.autoplay.running=!1,this.emit("autoplayStop"),!0))},pause:function(d){this.autoplay.running&&(this.autoplay.paused||(this.autoplay.timeout&&clearTimeout(this.autoplay.timeout),this.autoplay.paused=!0,0!==d&&this.params.autoplay.waitForTransition?(this.$wrapperEl[0].addEventListener("transitionend",this.autoplay.onTransitionEnd),this.$wrapperEl[0].addEventListener("webkitTransitionEnd",this.autoplay.onTransitionEnd)):(this.autoplay.paused=!1,this.autoplay.run())))}},nt={setTranslate:function(){for(var d=this.slides,b=0;b<d.length;b+=1){var x=this.slides.eq(b),T=-x[0].swiperSlideOffset;this.params.virtualTranslate||(T-=this.translate);var D=0;this.isHorizontal()||(D=T,T=0);var z=this.params.fadeEffect.crossFade?Math.max(1-Math.abs(x[0].progress),0):1+Math.min(Math.max(x[0].progress,-1),0);x.css({opacity:z}).transform("translate3d(".concat(T,"px, ").concat(D,"px, 0px)"))}},setTransition:function(d){var b=this,x=b.slides,T=b.$wrapperEl;if(x.transition(d),b.params.virtualTranslate&&0!==d){var D=!1;x.transitionEnd((function(){if(!D&&b&&!b.destroyed){D=!0,b.animating=!1;for(var d=["webkitTransitionEnd","transitionend"],x=0;x<d.length;x+=1)T.trigger(d[x])}}))}}},ot={setTranslate:function(){var d,b=this.$el,x=this.$wrapperEl,T=this.slides,D=this.width,z=this.height,H=this.rtlTranslate,W=this.size,U=this.params.cubeEffect,Y=this.isHorizontal(),Z=this.virtual&&this.params.virtual.enabled,J=0;U.shadow&&(Y?(0===(d=x.find(".swiper-cube-shadow")).length&&(d=$('<div class="swiper-cube-shadow"></div>'),x.append(d)),d.css({height:"".concat(D,"px")})):0===(d=b.find(".swiper-cube-shadow")).length&&(d=$('<div class="swiper-cube-shadow"></div>'),b.append(d)));for(var te=0;te<T.length;te+=1){var ne=T.eq(te),ie=te;Z&&(ie=parseInt(ne.attr("data-swiper-slide-index"),10));var oe=90*ie,se=Math.floor(oe/360);H&&(oe=-oe,se=Math.floor(-oe/360));var le=Math.max(Math.min(ne[0].progress,1),-1),ce=0,de=0,he=0;ie%4==0?(ce=4*-se*W,he=0):(ie-1)%4==0?(ce=0,he=4*-se*W):(ie-2)%4==0?(ce=W+4*se*W,he=W):(ie-3)%4==0&&(ce=-W,he=3*W+4*W*se),H&&(ce=-ce),Y||(de=ce,ce=0);var pe="rotateX(".concat(Y?0:-oe,"deg) rotateY(").concat(Y?oe:0,"deg) translate3d(").concat(ce,"px, ").concat(de,"px, ").concat(he,"px)");if(le<=1&&le>-1&&(J=90*ie+90*le,H&&(J=90*-ie-90*le)),ne.transform(pe),U.slideShadows){var fe=Y?ne.find(".swiper-slide-shadow-left"):ne.find(".swiper-slide-shadow-top"),ge=Y?ne.find(".swiper-slide-shadow-right"):ne.find(".swiper-slide-shadow-bottom");0===fe.length&&(fe=$('<div class="swiper-slide-shadow-'.concat(Y?"left":"top",'"></div>')),ne.append(fe)),0===ge.length&&(ge=$('<div class="swiper-slide-shadow-'.concat(Y?"right":"bottom",'"></div>')),ne.append(ge)),fe.length&&(fe[0].style.opacity=Math.max(-le,0)),ge.length&&(ge[0].style.opacity=Math.max(le,0))}}if(x.css({"-webkit-transform-origin":"50% 50% -".concat(W/2,"px"),"-moz-transform-origin":"50% 50% -".concat(W/2,"px"),"-ms-transform-origin":"50% 50% -".concat(W/2,"px"),"transform-origin":"50% 50% -".concat(W/2,"px")}),U.shadow)if(Y)d.transform("translate3d(0px, ".concat(D/2+U.shadowOffset,"px, ").concat(-D/2,"px) rotateX(90deg) rotateZ(0deg) scale(").concat(U.shadowScale,")"));else{var me=Math.abs(J)-90*Math.floor(Math.abs(J)/90),ye=1.5-(Math.sin(2*me*Math.PI/360)/2+Math.cos(2*me*Math.PI/360)/2),ve=U.shadowScale,xe=U.shadowScale/ye,_e=U.shadowOffset;d.transform("scale3d(".concat(ve,", 1, ").concat(xe,") translate3d(0px, ").concat(z/2+_e,"px, ").concat(-z/2/xe,"px) rotateX(-90deg)"))}var we=ee.isSafari||ee.isUiWebView?-W/2:0;x.transform("translate3d(0px,0,".concat(we,"px) rotateX(").concat(this.isHorizontal()?0:J,"deg) rotateY(").concat(this.isHorizontal()?-J:0,"deg)"))},setTransition:function(d){var b=this.$el;this.slides.transition(d).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(d),this.params.cubeEffect.shadow&&!this.isHorizontal()&&b.find(".swiper-cube-shadow").transition(d)}},lt={setTranslate:function(){for(var d=this.slides,b=this.rtlTranslate,x=0;x<d.length;x+=1){var T=d.eq(x),D=T[0].progress;this.params.flipEffect.limitRotation&&(D=Math.max(Math.min(T[0].progress,
8171),-1));var z=-180*D,H=0,W=-T[0].swiperSlideOffset,U=0;if(this.isHorizontal()?b&&(z=-z):(U=W,W=0,H=-z,z=0),T[0].style.zIndex=-Math.abs(Math.round(D))+d.length,this.params.flipEffect.slideShadows){var Y=this.isHorizontal()?T.find(".swiper-slide-shadow-left"):T.find(".swiper-slide-shadow-top"),Z=this.isHorizontal()?T.find(".swiper-slide-shadow-right"):T.find(".swiper-slide-shadow-bottom");0===Y.length&&(Y=$('<div class="swiper-slide-shadow-'.concat(this.isHorizontal()?"left":"top",'"></div>')),T.append(Y)),0===Z.length&&(Z=$('<div class="swiper-slide-shadow-'.concat(this.isHorizontal()?"right":"bottom",'"></div>')),T.append(Z)),Y.length&&(Y[0].style.opacity=Math.max(-D,0)),Z.length&&(Z[0].style.opacity=Math.max(D,0))}T.transform("translate3d(".concat(W,"px, ").concat(U,"px, 0px) rotateX(").concat(H,"deg) rotateY(").concat(z,"deg)"))}},setTransition:function(d){var b=this,x=b.slides,T=b.activeIndex,D=b.$wrapperEl;if(x.transition(d).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(d),b.params.virtualTranslate&&0!==d){var z=!1;x.eq(T).transitionEnd((function(){if(!z&&b&&!b.destroyed){z=!0,b.animating=!1;for(var d=["webkitTransitionEnd","transitionend"],x=0;x<d.length;x+=1)D.trigger(d[x])}}))}}},ut={setTranslate:function(){for(var d=this.width,b=this.height,x=this.slides,T=this.$wrapperEl,D=this.slidesSizesGrid,z=this.params.coverflowEffect,H=this.isHorizontal(),W=this.translate,U=H?d/2-W:b/2-W,Y=H?z.rotate:-z.rotate,Z=z.depth,ee=0,te=x.length;ee<te;ee+=1){var ne=x.eq(ee),ie=D[ee],oe=(U-ne[0].swiperSlideOffset-ie/2)/ie*z.modifier,se=H?Y*oe:0,le=H?0:Y*oe,ce=-Z*Math.abs(oe),de=H?0:z.stretch*oe,he=H?z.stretch*oe:0;Math.abs(he)<.001&&(he=0),Math.abs(de)<.001&&(de=0),Math.abs(ce)<.001&&(ce=0),Math.abs(se)<.001&&(se=0),Math.abs(le)<.001&&(le=0);var pe="translate3d(".concat(he,"px,").concat(de,"px,").concat(ce,"px)  rotateX(").concat(le,"deg) rotateY(").concat(se,"deg)");if(ne.transform(pe),ne[0].style.zIndex=1-Math.abs(Math.round(oe)),z.slideShadows){var fe=H?ne.find(".swiper-slide-shadow-left"):ne.find(".swiper-slide-shadow-top"),ge=H?ne.find(".swiper-slide-shadow-right"):ne.find(".swiper-slide-shadow-bottom");0===fe.length&&(fe=$('<div class="swiper-slide-shadow-'.concat(H?"left":"top",'"></div>')),ne.append(fe)),0===ge.length&&(ge=$('<div class="swiper-slide-shadow-'.concat(H?"right":"bottom",'"></div>')),ne.append(ge)),fe.length&&(fe[0].style.opacity=oe>0?oe:0),ge.length&&(ge[0].style.opacity=-oe>0?-oe:0)}}(J.pointerEvents||J.prefixedPointerEvents)&&(T[0].style.perspectiveOrigin="".concat(U,"px 50%"))},setTransition:function(d){this.slides.transition(d).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(d)}},ht={init:function(){var d=this.params.thumbs,b=this.constructor;d.swiper instanceof b?(this.thumbs.swiper=d.swiper,Z.extend(this.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Z.extend(this.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):Z.isObject(d.swiper)&&(this.thumbs.swiper=new b(Z.extend({},d.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),this.thumbs.swiperCreated=!0),this.thumbs.swiper.$el.addClass(this.params.thumbs.thumbsContainerClass),this.thumbs.swiper.on("tap",this.thumbs.onThumbClick)},onThumbClick:function(){var d=this.thumbs.swiper;if(d){var b=d.clickedIndex,x=d.clickedSlide;if(!(x&&$(x).hasClass(this.params.thumbs.slideThumbActiveClass)||null==b)){var T;if(T=d.params.loop?parseInt($(d.clickedSlide).attr("data-swiper-slide-index"),10):b,this.params.loop){var D=this.activeIndex;this.slides.eq(D).hasClass(this.params.slideDuplicateClass)&&(this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft,D=this.activeIndex);var z=this.slides.eq(D).prevAll('[data-swiper-slide-index="'.concat(T,'"]')).eq(0).index(),H=this.slides.eq(D).nextAll('[data-swiper-slide-index="'.concat(T,'"]')).eq(0).index();T=void 0===z?H:void 0===H?z:H-D<D-z?H:z}this.slideTo(T)}}},update:function(d){var b=this.thumbs.swiper;if(b){var x="auto"===b.params.slidesPerView?b.slidesPerViewDynamic():b.params.slidesPerView;if(this.realIndex!==b.realIndex){var T,D=b.activeIndex;if(b.params.loop){b.slides.eq(D).hasClass(b.params.slideDuplicateClass)&&(b.loopFix(),b._clientLeft=b.$wrapperEl[0].clientLeft,D=b.activeIndex);var z=b.slides.eq(D).prevAll('[data-swiper-slide-index="'.concat(this.realIndex,'"]')).eq(0).index(),H=b.slides.eq(D).nextAll('[data-swiper-slide-index="'.concat(this.realIndex,'"]')).eq(0).index();T=void 0===z?H:void 0===H?z:H-D==D-z?D:H-D<D-z?H:z}else T=this.realIndex;b.visibleSlidesIndexes.indexOf(T)<0&&(b.params.centeredSlides?T=T>D?T-Math.floor(x/2)+1:T+Math.floor(x/2)-1:T>D&&(T=T-x+1),b.slideTo(T,d?0:void 0))}var W=1,U=this.params.thumbs.slideThumbActiveClass;if(this.params.slidesPerView>1&&!this.params.centeredSlides&&(W=this.params.slidesPerView),b.slides.removeClass(U),b.params.loop)for(var Y=0;Y<W;Y+=1)b.$wrapperEl.children('[data-swiper-slide-index="'.concat(this.realIndex+Y,'"]')).addClass(U);else for(var Z=0;Z<W;Z+=1)b.slides.eq(this.realIndex+Z).addClass(U)}}},pt=[ye,ve,xe,_e,Se,Te,Pe,{name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarged:"container"}},create:function(){Z.extend(this,{mousewheel:{enabled:!1,enable:Ee.enable.bind(this),disable:Ee.disable.bind(this),handle:Ee.handle.bind(this),handleMouseEnter:Ee.handleMouseEnter.bind(this),handleMouseLeave:Ee.handleMouseLeave.bind(this),lastScrollTime:Z.now()}})},on:{init:function(){this.params.mousewheel.enabled&&this.mousewheel.enable()},destroy:function(){this.mousewheel.enabled&&this.mousewheel.disable()}}},{name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create:function(){Z.extend(this,{navigation:{init:Le.init.bind(this),update:Le.update.bind(this),destroy:Le.destroy.bind(this),onNextClick:Le.onNextClick.bind(this),onPrevClick:Le.onPrevClick.bind(this)}})},on:{init:function(){this.navigation.init(),this.navigation.update()},toEdge:function(){this.navigation.update()},fromEdge:function(){this.navigation.update()},destroy:function(){this.navigation.destroy()},click:function(d){var b,x=this.navigation,T=x.$nextEl,D=x.$prevEl;!this.params.navigation.hideOnClick||$(d.target).is(D)||$(d.target).is(T)||(T?b=T.hasClass(this.params.navigation.hiddenClass):D&&(b=D.hasClass(this.params.navigation.hiddenClass)),!0===b?this.emit
817("navigationShow",this):this.emit("navigationHide",this),T&&T.toggleClass(this.params.navigation.hiddenClass),D&&D.toggleClass(this.params.navigation.hiddenClass))}}},{name:"pagination",params:{pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:function(d){return d},formatFractionTotal:function(d){return d},bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create:function(){Z.extend(this,{pagination:{init:Ne.init.bind(this),render:Ne.render.bind(this),update:Ne.update.bind(this),destroy:Ne.destroy.bind(this),dynamicBulletIndex:0}})},on:{init:function(){this.pagination.init(),this.pagination.render(),this.pagination.update()},activeIndexChange:function(){(this.params.loop||void 0===this.snapIndex)&&this.pagination.update()},snapIndexChange:function(){this.params.loop||this.pagination.update()},slidesLengthChange:function(){this.params.loop&&(this.pagination.render(),this.pagination.update())},snapGridLengthChange:function(){this.params.loop||(this.pagination.render(),this.pagination.update())},destroy:function(){this.pagination.destroy()},click:function(d){this.params.pagination.el&&this.params.pagination.hideOnClick&&this.pagination.$el.length>0&&!$(d.target).hasClass(this.params.pagination.bulletClass)&&(!0===this.pagination.$el.hasClass(this.params.pagination.hiddenClass)?this.emit("paginationShow",this):this.emit("paginationHide",this),this.pagination.$el.toggleClass(this.params.pagination.hiddenClass))}}},{name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create:function(){Z.extend(this,{scrollbar:{init:Ve.init.bind(this),destroy:Ve.destroy.bind(this),updateSize:Ve.updateSize.bind(this),setTranslate:Ve.setTranslate.bind(this),setTransition:Ve.setTransition.bind(this),enableDraggable:Ve.enableDraggable.bind(this),disableDraggable:Ve.disableDraggable.bind(this),setDragPosition:Ve.setDragPosition.bind(this),onDragStart:Ve.onDragStart.bind(this),onDragMove:Ve.onDragMove.bind(this),onDragEnd:Ve.onDragEnd.bind(this),isTouched:!1,timeout:null,dragTimeout:null}})},on:{init:function(){this.scrollbar.init(),this.scrollbar.updateSize(),this.scrollbar.setTranslate()},update:function(){this.scrollbar.updateSize()},resize:function(){this.scrollbar.updateSize()},observerUpdate:function(){this.scrollbar.updateSize()},setTranslate:function(){this.scrollbar.setTranslate()},setTransition:function(d){this.scrollbar.setTransition(d)},destroy:function(){this.scrollbar.destroy()}}},{name:"parallax",params:{parallax:{enabled:!1}},create:function(){Z.extend(this,{parallax:{setTransform:Fe.setTransform.bind(this),setTranslate:Fe.setTranslate.bind(this),setTransition:Fe.setTransition.bind(this)}})},on:{beforeInit:function(){this.params.parallax.enabled&&(this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},init:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTranslate:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTransition:function(d){this.params.parallax.enabled&&this.parallax.setTransition(d)}}},{name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var d=this,b={enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0}};"onGestureStart onGestureChange onGestureEnd onTouchStart onTouchMove onTouchEnd onTransitionEnd toggle enable disable in out".split(" ").forEach((function(x){b[x]=Ge[x].bind(d)})),Z.extend(d,{zoom:b});var x=1;Object.defineProperty(d.zoom,"scale",{get:function(){return x},set:function(b){if(x!==b){var T=d.zoom.gesture.$imageEl?d.zoom.gesture.$imageEl[0]:void 0,D=d.zoom.gesture.$slideEl?d.zoom.gesture.$slideEl[0]:void 0;d.emit("zoomChange",b,T,D)}x=b}})},on:{init:function(){this.params.zoom.enabled&&this.zoom.enable()},destroy:function(){this.zoom.disable()},touchStart:function(d){this.zoom.enabled&&this.zoom.onTouchStart(d)},touchEnd:function(d){this.zoom.enabled&&this.zoom.onTouchEnd(d)},doubleTap:function(d){this.params.zoom.enabled&&this.zoom.enabled&&this.params.zoom.toggle&&this.zoom.toggle(d)},transitionEnd:function(){this.zoom.enabled&&this.params.zoom.enabled&&this.zoom.onTransitionEnd()}}},{name:"lazy",params:{lazy:{enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create:function(){Z.extend(this,{lazy:{initialImageLoaded:!1,load:Ye.load.bind(this),loadInSlide:Ye.loadInSlide.bind(this)}})},on:{beforeInit:function(){this.params.lazy.enabled&&this.params.preloadImages&&(this.params.preloadImages=!1)},init:function(){this.params.lazy.enabled&&!this.params.loop&&0===this.params.initialSlide&&this.lazy.load()},scroll:function(){this.params.freeMode&&!this.params.freeModeSticky&&this.lazy.load()},resize:function(){this.params.lazy.enabled&&this.lazy.load()},scrollbarDragMove:function(){this.params.lazy.enabled&&this.lazy.load()},transitionStart:function(){this.params.lazy.enabled&&(this.params.lazy.loadOnTransitionStart||!this.params.lazy.loadOnTransitionStart&&!this.lazy.initialImageLoaded)&&this.lazy.load()},transitionEnd:function(){this.params.lazy.enabled&&!this.params.lazy.loadOnTransitionStart&&this.lazy.load()}}},{name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create:function(){Z.extend(this,{controller:{control:this.params.controller.control,getInterpolateFunction:Xe.getInterpolateFunction.bind(this),setTranslate:Xe.setTranslate.bind(this),setTransition:Xe.setTransition.bind(this)}})},on:{update:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},resize:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},observerUpdate:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},setTranslate:function(d,b){this.controller.control&&this.controller.setTranslate(d,b)},setTransition:function(d,b){this.controller.control&&this.controller.setTransition(d,b)}}},{name:"a11y",params:{a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}"}},create:function(){var d=this;Z.extend(d,{a11y:{liveRegion:$('<span class="'.concat(d.params.a11y.notificationClass,'" aria-live="assertive" aria-atomic="true"></span>'))}}),Object.keys(Ke).forEach((function(b){d.a11y[b]=Ke[b].bind(d)}))},on:{init:function(){this.params.a11y.enabled&&(this.a11y.init(),this.a11y.updateNavigation())},toEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},fromEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},paginationUpdate:function(){this.params.a11y.enabled&&this.a11y.updatePagination()},destroy:function(){this.params.a11y.enabled&&this.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create:function(){Z.extend(this,{history:{init:Qe.init.bind(this),setHistory:Qe.setHistory.bind(this),setHistoryPopState:Qe.setHistoryPopState.bind(this),scrollToSlide:Qe.scrollToSlide.bind(this),destroy:Qe.destroy.bind(this)}})},on:{init:function(){this.params.history.enabled&&this.history.init()},destroy:function(){this.params.history.enabled&&this.history.destroy()},transitionEnd:function(){this.history.initialized&&this.history.setHistory(this.params.history.key,this.activeIndex)}}},{name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){Z.extend(this,{hashNavigation:{initialized:!1,init:et.init.bind(this),destroy:et.destroy.bind(this),setHash:et.setHash.bind(this),onHashCange:et.onHashCange.bind(this)}})},on:{init:function(){this.params.hashNavigation.enabled&&this.hashNavigation.init()},destroy:function(){this.params.hashNavigation.enabled&&this.hashNavigation.destroy()},transitionEnd:function(){this.hashNavigation.initialized&&this.hashNavigation.setHash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create:function(){var d=this;Z.extend(d,{autoplay:{running:!1,paused:!1,run:tt.run.bind(d),start:tt.start.bind(d),stop:tt.stop.bind(d),pause:tt.pause.bind(d),onTransitionEnd:function(b){d&&!d.destroyed&&d.$wrapperEl&&b.target===this&&(d.$wrapperEl[0].removeEventListener("transitionend",d.autoplay.onTransitionEnd),d.$wrapperEl[0].removeEventListener("webkitTransitionEnd",d.autoplay.onTransitionEnd),d.autoplay.paused=!1,d.autoplay.running?d.autoplay.run():d.autoplay.stop())}}})},on:{init:function(){this.params.autoplay.enabled&&this.autoplay.start()},beforeTransitionStart:function(d,b){this.autoplay.running&&(b||!this.params.autoplay.disableOnInteraction?this.autoplay.pause(d):this.autoplay.stop())},sliderFirstMove:function(){this.autoplay.running&&(this.params.autoplay.disableOnInteraction?this.autoplay.stop():this.autoplay.pause())},destroy:function(){this.autoplay.running&&this.autoplay.stop()}}},{name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){Z.extend(this,{fadeEffect:{setTranslate:nt.setTranslate.bind(this),setTransition:nt.setTransition.bind(this)}})},on:{beforeInit:function(){if("fade"===this.params.effect){this.classNames.push("".concat(this.params.containerModifierClass,"fade"));var d={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};Z.extend(this.params,d),Z.extend(this.originalParams,d)}},setTranslate:function(){"fade"===this.params.effect&&this.fadeEffect.setTranslate()},setTransition:function(d){"fade"===this.params.effect&&this.fadeEffect.setTransition(d)}}},{name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){Z.extend(this,{cubeEffect:{setTranslate:ot.setTranslate.bind(this),setTransition:ot.setTransition.bind(this)}})},on:{beforeInit:function(){if("cube"===this.params.effect){this.classNames.push("".concat(this.params.containerModifierClass,"cube")),this.classNames.push("".concat(this.params.containerModifierClass,"3d"));var d={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};Z.extend(this.params,d),Z.extend(this.originalParams,d)}},setTranslate:function(){"cube"===this.params.effect&&this.cubeEffect.setTranslate()},setTransition:function(d){"cube"===this.params.effect&&this.cubeEffect.setTransition(d)}}},{name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){Z.extend(this,{flipEffect:{setTranslate:lt.setTranslate.bind(this),setTransition:lt.setTransition.bind(this)}})},on:{beforeInit:function(){if("flip"===this.params.effect){this.classNames.push("".concat(this.params.containerModifierClass,"flip")),this.classNames.push("".concat(this.params.containerModifierClass,"3d"));var d={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};Z.extend(this.params,d),Z.extend(this.originalParams,d)}},setTranslate:function(){"flip"===this.params.effect&&this.flipEffect.setTranslate()},setTransition:function(d){"flip"===this.params.effect&&this.flipEffect.setTransition(d)}}},{name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0}},create:function(){Z.extend(this,{coverflowEffect:{setTranslate:ut.setTranslate.bind(this),setTransition:ut.setTransition.bind(this)}})},on:{beforeInit:function(){"coverflow"===this.params.effect&&(this.classNames.push("".concat(this.params.containerModifierClass,"coverflow")),this.classNames.push("".concat(this.params.containerModifierClass,"3d")),this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},setTranslate:function(){"coverflow"===this.params.effect&&this.coverflowEffect.setTranslate()},setTransition:function(d){"coverflow"===this.params.effect&&this.coverflowEffect.setTransition(d)}}},{name:"thumbs",params:{thumbs:{swiper:null,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create:function(){Z.extend(this,{thumbs:{swiper:null,init:ht.init.bind(this),update:ht.update.bind(this),onThumbClick:ht.onThumbClick.bind(this)}})},on:{beforeInit:function(){var d=this.params.thumbs;d&&d.swiper&&(this.thumbs.init(),this.thumbs.update(!0))},slideChange:function(){this.thumbs.swiper&&this.thumbs.update()},update:function(){this.thumbs.swiper&&this.thumbs.update()},resize:function(){this.thumbs.swiper&&this.thumbs.update()},observerUpdate:function(){this.thumbs.swiper&&this.thumbs.update()},setTransition:function(d){var b=this.thumbs.swiper;b&&b.setTransition(d)},beforeDestroy:function(){var d=this.thumbs.swiper;d&&this.thumbs.swiperCreated&&d&&d.destroy()}}}];void 0===me.use&&(me.use=me.Class.use,me.installModule=me.Class.installModule),me.use(pt);b.a=me},Qe9p:function(d,b,x){"use strict";x.d(b,"i",(function(){return parseCssFloat})),x.d(b,"h",(function(){return parse})),x.d(b,"c",(function(){return lift})),x.d(b,"a",(function(){return fastLerp})),x.d(b,"b",(function(){return lerp})),x.d(b,"g",(function(){return modifyHSL})),x.d(b,"f",(function(){return modifyAlpha}
817)),x.d(b,"j",(function(){return stringify})),x.d(b,"e",(function(){return lum})),x.d(b,"d",(function(){return liftColor}));var T=x("1RvN"),D=x("bYtY"),z={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function clampCssByte(d){return(d=Math.round(d))<0?0:d>255?255:d}function clampCssFloat(d){return d<0?0:d>1?1:d}function parseCssInt(d){var b=d;return b.length&&"%"===b.charAt(b.length-1)?clampCssByte(parseFloat(b)/100*255):clampCssByte(parseInt(b,10))}
817function parseCssFloat(d){var b=d;return b.length&&"%"===b.charAt(b.length-1)?clampCssFloat(parseFloat(b)/100):clampCssFloat(parseFloat(b))}function cssHueToRgb(d,b,x){return x<0?x+=1:x>1&&(x-=1),6*x<1?d+(b-d)*x*6:2*x<1?b:3*x<2?d+(b-d)*(2/3-x)*6:d}function lerpNumber(d,b,x){return d+(b-d)*x}function setRgba(d,b,x,T,D){return d[0]=b,d[1]=x,d[2]=T,d[3]=D,d}function copyRgba(d,b){return d[0]=b[0],d[1]=b[1],d[2]=b[2],d[3]=b[3],d}var H=new T.a(20),W=null;function putToCache(d,b){W&&copyRgba(W,b),W=H.put(d,W||b.slice())}function parse(d,b){if(d){b=b||[];var x=H.get(d);if(x)return copyRgba(b,x);var T=(d+="").replace(/ /g,"").toLowerCase();if(T in z)return copyRgba(b,z[T]),putToCache(d,b),b;var D,W=T.length;if("#"===T.charAt(0))return 4===W||5===W?(D=parseInt(T.slice(1,4),16))>=0&&D<=4095?(setRgba(b,(3840&D)>>4|(3840&D)>>8,240&D|(240&D)>>4,15&D|(15&D)<<4,5===W?parseInt(T.slice(4),16)/15:1),putToCache(d,b),b):void setRgba(b,0,0,0,1):7===W||9===W?(D=parseInt(T.slice(1,7),16))>=0&&D<=16777215?(setRgba(b,(16711680&D)>>16,(65280&D)>>8,255&D,9===W?parseInt(T.slice(7),16)/255:1),putToCache(d,b),b):void setRgba(b,0,0,0,1):void 0;var U=T.indexOf("("),Y=T.indexOf(")");if(-1!==U&&Y+1===W){var Z=T.substr(0,U),J=T.substr(U+1,Y-(U+1)).split(","),ee=1;switch(Z){case"rgba":if(4!==J.length)return 3===J.length?setRgba(b,+J[0],+J[1],+J[2],1):setRgba(b,0,0,0,1);ee=parseCssFloat(J.pop());case"rgb":return J.length>=3?(setRgba(b,parseCssInt(J[0]),parseCssInt(J[1]),parseCssInt(J[2]),3===J.length?ee:parseCssFloat(J[3])),putToCache(d,b),b):void setRgba(b,0,0,0,1);case"hsla":return 4!==J.length?void setRgba(b,0,0,0,1):(J[3]=parseCssFloat(J[3]),hsla2rgba(J,b),putToCache(d,b),b);case"hsl":return 3!==J.length?void setRgba(b,0,0,0,1):(hsla2rgba(J,b),putToCache(d,b),b);default:return}}setRgba(b,0,0,0,1)}}function hsla2rgba(d,b){var x=(parseFloat(d[0])%360+360)%360/360,T=parseCssFloat(d[1]),D=parseCssFloat(d[2]),z=D<=.5?D*(T+1):D+T-D*T,H=2*D-z;return setRgba(b=b||[],clampCssByte(255*cssHueToRgb(H,z,x+1/3)),clampCssByte(255*cssHueToRgb(H,z,x)),clampCssByte(255*cssHueToRgb(H,z,x-1/3)),1),4===d.length&&(b[3]=d[3]),b}function lift(d,b){var x=parse(d);if(x){for(var T=0;T<3;T++)x[T]=b<0?x[T]*(1-b)|0:(255-x[T])*b+x[T]|0,x[T]>255?x[T]=255:x[T]<0&&(x[T]=0);return stringify(x,4===x.length?"rgba":"rgb")}}function fastLerp(d,b,x){if(b&&b.length&&d>=0&&d<=1){x=x||[];var T=d*(b.length-1),D=Math.floor(T),z=Math.ceil(T),H=b[D],W=b[z],U=T-D;return x[0]=clampCssByte(lerpNumber(H[0],W[0],U)),x[1]=clampCssByte(lerpNumber(H[1],W[1],U)),x[2]=clampCssByte(lerpNumber(H[2],W[2],U)),x[3]=clampCssFloat(lerpNumber(H[3],W[3],U)),x}}function lerp(d,b,x){if(b&&b.length&&d>=0&&d<=1){var T=d*(b.length-1),D=Math.floor(T),z=Math.ceil(T),H=parse(b[D]),W=parse(b[z]),U=T-D,Y=stringify([clampCssByte(lerpNumber(H[0],W[0],U)),clampCssByte(lerpNumber(H[1],W[1],U)),clampCssByte(lerpNumber(H[2],W[2],U)),clampCssFloat(lerpNumber(H[3],W[3],U))],"rgba");return x?{color:Y,leftIndex:D,rightIndex:z,value:T}:Y}}function modifyHSL(d,b,x,T){var z,H=parse(d);if(d)return H=function(d){if(d){var b,x,T=d[0]/255,D=d[1]/255,z=d[2]/255,H=Math.min(T,D,z),W=Math.max(T,D,z),U=W-H,Y=(W+H)/2;if(0===U)b=0,x=0;else{x=Y<.5?U/(W+H):U/(2-W-H);var Z=((W-T)/6+U/2)/U,J=((W-D)/6+U/2)/U,ee=((W-z)/6+U/2)/U;T===W?b=ee-J:D===W?b=1/3+Z-ee:z===W&&(b=2/3+J-Z),b<0&&(b+=1),b>1&&(b-=1)}var te=[360*b,x,Y];return null!=d[3]&&te.push(d[3]),te}}(H),null!=b&&(H[0]=(z=Object(D.w)(b)?b(H[0]):b,(z=Math.round(z))<0?0:z>360?360:z)),null!=x&&(H[1]=parseCssFloat(Object(D.w)(x)?x(H[1]):x)),null!=T&&(H[2]=parseCssFloat(Object(D.w)(T)?T(H[2]):T)),stringify(hsla2rgba(H),"rgba")}function modifyAlpha(d,b){var x=parse(d);if(x&&null!=b)return x[3]=clampCssFloat(b),stringify(x,"rgba")}function stringify(d,b){if(d&&d.length){var x=d[0]+","+d[1]+","+d[2];return"rgba"!==b&&"hsva"!==b&&"hsla"!==b||(x+=","+d[3]),b+"("+x+")"}}function lum(d,b){var x=parse(d);return x?(.299*x[0]+.587*x[1]+.114*x[2])*x[3]/255+(1-x[3])*b:0}var U=new T.a(100);function liftColor(d){if(Object(D.C)(d)){var b=U.get(d);return b||(b=lift(d,-.1),U.put(d,b)),b}if(Object(D.x)(d)){var x=Object(D.m)({},d);return x.colorStops=Object(D.H)(d.colorStops,(function(d){return{offset:d.offset,color:lift(d.color,-.1)}})),x}return d}},QkDI:function(d,b,x){"use strict";var T=function(){function WebChatV3(d){var b=this;this.$element=d;var x=window.webchatController;x.cognigyEndpoint=this.$element.data("webchat-endpoint"),x.greeting=this.$element.data("webchat-engagement-message"),Number.isInteger(x.nextEngagement)?(x.logger("[Engagement Message]: Exists"),x.nextEngagement<Date.now()?(x.logger("[Engagement Message]: The Disabled Time is Over"),x.init(x.greeting,(function(d){b.initCallBack(d)}))):(x.logger("[Engagement Message]: Remains Disabled"),x.init("",(function(d){b.initCallBack(d)})))):(x.logger("[Engagement Message]: Does not exist; So automatically show"),x.init(x.greeting,(function(d){b.initCallBack(d)}))),this.runCustomizations()}return WebChatV3.prototype.initCallBack=function(d){if(console.log("webchat",d),this.$element.data("webchatInstance",d),this.$element.data("webchat-load-by-parameter")){var b=window.location.search,x=new URLSearchParams(b);if("1"===x.get("openbot")){d.open();var T=x.has("label")?{label:x.get("label")}:void 0;d.sendMessage(x.get("payload"),{},T),setTimeout((function(){window.$(".webchat-root .webchat-homescreen-send-button").click()}),200)}}},WebChatV3.prototype.runCustomizations=function(){var d=this,b=new MutationObserver((function(b){d.iconSwitcher(b)}));this.waitForElementToExist(".webchat-root .webchat-toggle-button",(function(b){d.animationHandler(b)})),this.waitForElementToExist(".webchat-root",(function(d){b.observe(d,{childList:!0})}
817)),this.waitForElementToExist(".webchat-root .webchat-unread-message-preview",(function(b){d.constructEngagementMessageCloseButton(b)}))},WebChatV3.prototype.waitForElementToExist=function(d,b){var x=this;try{var T=document.querySelector(d);T?b(T):window.requestAnimationFrame((function(){x.waitForElementToExist(d,b)}))}catch(d){console.error("Could not wait for element to exist!",d)}},WebChatV3.prototype.animationHandler=function(d){var b=this;this.chatButton=d,this.chatButton.classList.add("cognigy-pulse","avatar"),this.waitForElementToExist(".webchat-root .webchat-unread-message-preview, .webchat-root .webchat ",(function(){b.chatButton.classList.remove("cognigy-pulse")}))},WebChatV3.prototype.constructEngagementMessageCloseButton=function(d){var b=document.createElement("div");b.classList.add("gg-close-o"),b.addEventListener("click",(function(b){b.stopPropagation(),d.classList.add("close-animtaion")})),d.appendChild(b)},WebChatV3.prototype.iconSwitcher=function(d){var b=this;d.filter((function(d){var x=Array.from(d.addedNodes).reduce((function(d,b){return!!d||b.classList.contains("webchat")}),!1),T=Array.from(d.removedNodes).reduce((function(d,b){return!!d||b.classList.contains("webchat")}),!1);x?b.chatButton.classList.remove("avatar"):T&&b.chatButton.classList.add("avatar")}))},WebChatV3}();b.a=T},"QqA/":function(d,b){var x,T,D,z,H;window.App=window.App||{},App.ConditionalContent=(x=function(d,b){var x=$("#"+b);return x.is('button[aria-haspopup="listbox"]')&&(x=x.parent().find("select")),x.is('[role="group"]')&&(x=x.find('input[type="radio"]')),x},T=function(d){var b=!1;if(d.attr("data-dependent-id").includes(",")){var T=d.attr("data-dependent-id").split(","),W=!0,U=!1,Y=void 0;try{for(var Z,J=T[Symbol.iterator]();!(W=(Z=J.next()).done);W=!0){var ee=Z.value,te=x(0,ee),ne=d.attr("data-dependent-value");b=b||D(d,ne,te)}}catch(d){U=!0,Y=d}finally{try{W||null==J.return||J.return()}finally{if(U)throw Y}}}else{var ie=x(0,d.attr("data-dependent-id"));ne=d.attr("data-dependent-value"),b=D(d,ne,ie)}b?H(d):z(d),d.find("input, select, textarea").each((function(){$(this).trigger("change")}))},D=function(d,b,x){return!x.is(":disabled")&&(b?x.is('input[type="radio"], input[type="checkbox"]')?x.filter('[value="'+b+'"]').is(":checked"):-1!==b.split("|").indexOf(x.val()):x.is("input")?x.is(":checked"):x.is("button")?!!x.data("clicked")&&(x.remove(),!0):void 0)},z=function(d){d.addClass("hidden"),d.find("input, select, textarea").attr("disabled","disabled"),d.find("input, select, textarea").prop("disabled",!0)},H=function(d){d.removeClass("hidden"),0===d.find('> [data-module="conditional-content"]').length&&(d.find("input, select, textarea").removeAttr("disabled"),d.find("input, select, textarea").prop("disabled",!1))},{init:function(){$('[data-module~="conditional-content"]').each((function(){T($(this)),function(d){if(d.attr("data-dependent-id").includes(",")){var b=d.attr("data-dependent-id").split(","),D=!0,z=!1,H=void 0;try{for(var W,U=b[Symbol.iterator]();!(D=(W=U.next()).done);D=!0){var Y=W.value;(Z=x(0,Y)).is("button")?Z.on("click",(function(){$(this).data("clicked",!0),T(d)})):$('[name="'+Z[0].name+'"]').on("change",(function(b){T(d)}))}}catch(d){z=!0,H=d}finally{try{D||null==U.return||U.return()}finally{if(z)throw H}}}else{var Z;(Z=x(0,d.attr("data-dependent-id"))).is("button")?Z.on("click",(function(){$(this).data("clicked",!0),T(d)})):$('[name="'+Z[0].name+'"]').on("change",(function(b){T(d)}))}}($(this))}))},updateVisibility:T})},Qth2:function(d,b){window.App=window.App||{},App.TimeControl={init:function(){$('[data-module~="time-control"]').each((function(){$(this).find('[data-grid-role="time-control-grid"]').children().each((function(){App.FUNCTIONS.isEmpty(this)&&$(this).remove()}))}))}}},R6en:function(d){d.exports={fontFamily:'"Lucida Console", Monaco, monospace',values:[{avg:1.80029296875,height:4,size:3},{avg:4.80078125,height:10,size:8},{avg:6.0009765625,height:12.5,size:10},{avg:7.201171875,height:15,size:12},{avg:9.6015625,height:20,size:16},{avg:12.001953125,height:25,size:20},{avg:19.203125,height:40,size:32},{avg:28.8046875,height:60,size:48}]}},RRgz:function(d,b){Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(d,b){if(null==this)throw new TypeError('"this" is null or not defined');var x=Object(this),T=x.length>>>0;if(0===T)return!1;var D,z,H=0|b,W=Math.max(H>=0?H:T-Math.abs(H),0);for(;W<T;){if((D=x[W])===(z=d)||"number"==typeof D&&"number"==typeof z&&isNaN(D)&&isNaN(z))return!0;W++}return!1}})},RmHE:function(d,b){window.App=window.App||{},App.Tooltip={init:function(){$('[data-module~="tooltip"]').each((function(){!function(d){var b=d.data("tooltip-class")?d.data("tooltip-class"):"",x="",T="",D="";b&&(x=" "+b,T=" "+b+"-arrow",D=" "+b+"-inner");var z="";"click"===d.data("trigger")&&(z='<div class="tooltip__close"></div>',d.on("click",(function(d){d.preventDefault()})));var H={animation:!0,template:'<div class="tooltip'+x+'" role="tooltip">'+z+'<div class="tooltip-arrow'+T+'"></div><div class="tooltip-inner'+D+'"></div></div>'};""!==d.attr("title")&&void 0!==d.attr("title")||(H.title=function(){return $($(this).find('[data-role="content"]')).html()},H.sanitize=!1),d.tooltip(H)}($(this))})),$("body").on("click",".tooltip__close",(function(){var d=$(this).parents(".tooltip--clickable");$('[aria-describedby="'+d.attr("id")+'"]').trigger("click")}))}}},"U+4o":function(d,b,x){var T=x("nnox");function fromOtherValue(d,b){var x=d/b.size;return{avg:b.avg*x,size:d,height:b.height*x}}d.exports=function(d,b,x){for(var D,z,H,W=null,U=0,Y=x.length;U<Y;U++){var Z=x[U];if(D=z=null,Z.fontFamily===d){for(var J=0,ee=Z.values.length;J<ee;J++){var te=Z.values[J];if(te.size===b){W=te;break}te.size<b?D=te:!z&&te.size>b&&(z=te)}break}}W||("undefined"!=typeof window?W=T(d,b).values[0]:D?z?(H=(b-D.size)/(z.size-D.size),W={avg
817:D.avg+(z.avg-D.avg)*H,height:D.height+(z.height-D.height)*H,size:b}):W=fromOtherValue(b,D):W=z?fromOtherValue(b,z):{avg:b*(1/1.946),height:1.01567*b,size:b});return W}},"U+fN":function(d,b,x){"use strict";var T=x("eZIG"),D=x("ZLCw")(),z=x("JQAW").functionsHaveConfigurableNames(),H=x("DSU0");d.exports=function(d,b){if("function"!=typeof d)throw new H("`fn` is not a function");var x=arguments.length>2&&!!arguments[2];return x&&!z||(D?T(d,"name",b,!0,!0):T(d,"name",b)),d}},URgk:function(d,b,x){(function(d){var T=void 0!==d&&d||"undefined"!=typeof self&&self||window,D=Function.prototype.apply;function Timeout(d,b){this._id=d,this._clearFn=b}b.setTimeout=function(){return new Timeout(D.call(setTimeout,T,arguments),clearTimeout)},b.setInterval=function(){return new Timeout(D.call(setInterval,T,arguments),clearInterval)},b.clearTimeout=b.clearInterval=function(d){d&&d.close()},Timeout.prototype.unref=Timeout.prototype.ref=function(){},Timeout.prototype.close=function(){this._clearFn.call(T,this._id)},b.enroll=function(d,b){clearTimeout(d._idleTimeoutId),d._idleTimeout=b},b.unenroll=function(d){clearTimeout(d._idleTimeoutId),d._idleTimeout=-1},b._unrefActive=b.active=function(d){clearTimeout(d._idleTimeoutId);var b=d._idleTimeout;b>=0&&(d._idleTimeoutId=setTimeout((function(){d._onTimeout&&d._onTimeout()}),b))},x("YBdB"),b.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==d&&d.setImmediate||this&&this.setImmediate,b.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==d&&d.clearImmediate||this&&this.clearImmediate}).call(this,x("yLpj"))},UjIZ:function(d,b,x){"use strict";var T=[["top-left","top","top-right"],["left","default","right"],["bottom-left","bottom","bottom-right"]],clampCellIndex=function(d){return Math.min(2,Math.max(0,d))},resolveDirection=function(d,b,x,D){if(![d,b,x,D].every(isFinite)||x<=0||D<=0)return"default";var z=clampCellIndex(Math.floor(d/x*3)),H=clampCellIndex(Math.floor(b/D*3));return T[H][z]},D=function(){function ContentChatbot(d){"undefined"!=typeof window&&"undefined"!=typeof document&&"function"==typeof window.setInterval&&ContentChatbot.installBlink(),ContentChatbot.canTrackPointer()&&ContentChatbot.installListener()}return ContentChatbot.canTrackPointer=function(){if("undefined"==typeof window||"undefined"==typeof document||"function"!=typeof window.matchMedia||"function"!=typeof window.addEventListener)return!1;var d=window.matchMedia("(prefers-reduced-motion: reduce)").matches,b=window.matchMedia("(pointer: coarse)").matches||window.matchMedia("(any-pointer: coarse)").matches;return!d&&!b},ContentChatbot.installListener=function(){ContentChatbot.listenerInstalled||(window.addEventListener("mousemove",ContentChatbot.handleMouseMove),ContentChatbot.listenerInstalled=!0)},ContentChatbot.installBlink=function(){ContentChatbot.blinkInstalled||(window.setInterval(ContentChatbot.handleBlink,ContentChatbot.blinkInterval),ContentChatbot.blinkInstalled=!0)},ContentChatbot.handleBlink=function(){for(var d=document.querySelectorAll('[data-module~="content-chatbot"]'),_loop_1=function(b){var x=d[b],T=x.getAttribute("data-direction")||"default";x.setAttribute("data-direction","closed"),window.setTimeout((function(){"closed"===x.getAttribute("data-direction")&&x.setAttribute("data-direction",T)}),ContentChatbot.blinkDuration)},b=0;b<d.length;b++)_loop_1(b)},ContentChatbot.handleMouseMove=function(d){for(var b=document.querySelectorAll('[data-module~="content-chatbot"]'),x=0;x<b.length;x++){var T=b[x],D=T.getBoundingClientRect(),z=resolveDirection(d.clientX-D.left,d.clientY-D.top,D.right-D.left,D.bottom-D.top);z!==T.getAttribute("data-direction")&&T.setAttribute("data-direction",z)}},ContentChatbot.listenerInstalled=!1,ContentChatbot.blinkInstalled=!1,ContentChatbot.blinkInterval=3e3,ContentChatbot.blinkDuration=150,ContentChatbot}();b.a=D},"V+xs":function(d,b,x){"use strict";var T=x("VwiP"),D=x("WeaP").supportsDescriptors,z=Object.getOwnPropertyDescriptor;d.exports=function(){if(D&&"gim"===/a/gim.flags){var d=z(RegExp.prototype,"flags");if(d&&"function"==typeof d.get&&"boolean"==typeof RegExp.prototype.dotAll&&"boolean"==typeof RegExp.prototype.hasIndices){var b="",x={};if(Object.defineProperty(x,"hasIndices",{get:function(){b+="d"}}),Object.defineProperty(x,"sticky",{get:function(){b+="y"}}),"dy"===b)return d.get}}return T}},VAJa:function(d,b,x){"use strict";function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}var T=x("AM7I"),D=x("VF6F"),z=x("JxQ3"),H=x("DSU0"),W=T("%WeakMap%",!0),U=T("%Map%",!0),Y=D("WeakMap.prototype.get",!0),Z=D("WeakMap.prototype.set",!0),J=D("WeakMap.prototype.has",!0),ee=D("Map.prototype.get",!0),te=D("Map.prototype.set",!0),ne=D("Map.prototype.has",!0),listGetNode=function(d,b){for(var x,T=d;null!==(x=T.next);
817T=x)if(x.key===b)return T.next=x.next,x.next=d.next,d.next=x,x};d.exports=function(){var d,b,x,T={assert:function(d){if(!T.has(d))throw new H("Side channel does not contain "+z(d))},get:function(T){if(W&&T&&("object"===_typeof(T)||"function"==typeof T)){if(d)return Y(d,T)}else if(U){if(b)return ee(b,T)}else if(x)return function(d,b){var x=listGetNode(d,b);return x&&x.value}(x,T)},has:function(T){if(W&&T&&("object"===_typeof(T)||"function"==typeof T)){if(d)return J(d,T)}else if(U){if(b)return ne(b,T)}else if(x)return function(d,b){return!!listGetNode(d,b)}(x,T);return!1},set:function(T,D){W&&T&&("object"===_typeof(T)||"function"==typeof T)?(d||(d=new W),Z(d,T,D)):U?(b||(b=new U),te(b,T,D)):(x||(x={key:{},next:null}),function(d,b,x){var T=listGetNode(d,b);T?T.value=x:d.next={key:b,next:d.next,value:x}}(x,T,D))}};return T}},VDUF:function(d,b,x){(function(d){var T,D;function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}!function(z,H){"object"==_typeof(b)&&void 0!==d?d.exports=H():void 0===(D="function"==typeof(T=H)?T.call(b,x,b,d):T)||(d.exports=D)}(0,(function(){"use strict";var b;function _(){return b.apply(null,arguments)}function y(d){return d instanceof Array||"[object Array]"===Object.prototype.toString.call(d)}function F(d){return null!=d&&"[object Object]"===Object.prototype.toString.call(d)}function c(d,b){return Object.prototype.hasOwnProperty.call(d,b)}function L(d){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(d).length;for(var b in d)if(c(d,b))return;return 1}function g(d){return void 0===d}function w(d){return"number"==typeof d||"[object Number]"===Object.prototype.toString.call(d)}function V(d){return d instanceof Date||"[object Date]"===Object.prototype.toString.call(d)}function G(d,b){for(var x=[],T=d.length,D=0;D<T;++D)x.push(b(d[D],D));return x}function E(d,b){for(var x in b)c(b,x)&&(d[x]=b[x]);return c(b,"toString")&&(d.toString=b.toString),c(b,"valueOf")&&(d.valueOf=b.valueOf),d}function l(d,b,x,T){return Wt(d,b,x,T,!0).utc()}function p(d){return null==d._pf&&(d._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),d._pf}function A(d){var b,T,D=d._d&&!isNaN(d._d.getTime());return D&&(b=p(d),T=x.call(b.parsedDateParts,(function(d){return null!=d})),D=b.overflow<0&&!b.empty&&!b.invalidEra&&!b.invalidMonth&&!b.invalidWeekday&&!b.weekdayMismatch&&!b.nullInput&&!b.invalidFormat&&!b.userInvalidated&&(!b.meridiem||b.meridiem&&T),d._strict)&&(D=D&&0===b.charsLeftOver&&0===b.unusedTokens.length&&void 0===b.bigHour),null!=Object.isFrozen&&Object.isFrozen(d)?D:(d._isValid=D,d._isValid)}function I(d){var b=l(NaN);return null!=d?E(p(b),d):p(b).userInvalidated=!0,b}var x=Array.prototype.some||function(d){for(var b=Object(this),x=b.length>>>0,T=0;T<x;T++)if(T in b&&d.call(this,b[T],T,b))return!0;return!1},T=_.momentProperties=[],D=!1;function q(d,b){var x,D,z,H=T.length;if(g(b._isAMomentObject)||(d._isAMomentObject=b._isAMomentObject),g(b._i)||(d._i=b._i),g(b._f)||(d._f=b._f),g(b._l)||(d._l=b._l),g(b._strict)||(d._strict=b._strict),g(b._tzm)||(d._tzm=b._tzm),g(b._isUTC)||(d._isUTC=b._isUTC),g(b._offset)||(d._offset=b._offset),g(b._pf)||(d._pf=p(b)),g(b._locale)||(d._locale=b._locale),0<H)for(x=0;x<H;x++)g(z=b[D=T[x]])||(d[D]=z);return d}function $(d){q(this,d),this._d=new Date(null!=d._d?d._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===D&&(D=!0,_.updateOffset(this),D=!1)}function k(d){return d instanceof $||null!=d&&null!=d._isAMomentObject}function B(d){!1===_.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+d)}function e(d,b){var x=!0;return E((function(){if(null!=_.deprecationHandler&&_.deprecationHandler(null,d),x){for(var T,D,z=[],H=arguments.length,W=0;W<H;W++){if(T="","object"==_typeof(arguments[W])){for(D in T+="\n["+W+"] ",arguments[0])c(arguments[0],D)&&(T+=D+": "+arguments[0][D]+", ");T=T.slice(0,-2)}else T=arguments[W];z.push(T)}B(d+"\nArguments: "+Array.prototype.slice.call(z).join("")+"\n"+(new Error).stack),x=!1}return b.apply(this,arguments)}),b)}var z={};function Q(d,b){null!=_.deprecationHandler&&_.deprecationHandler(d,b),z[d]||(B(b),z[d]=!0)}function a(d){return"undefined"!=typeof Function&&d instanceof Function||"[object Function]"===Object.prototype.toString.call(d)}function X(d,b){var x,T=E({},d);
vendor: 4,923 bytes, line 817
817for(x in b)c(b,x)&&(F(d[x])&&F(b[x])?(T[x]={},E(T[x],d[x]),E(T[x],b[x])):null!=b[x]?T[x]=b[x]:delete T[x]);for(x in d)c(d,x)&&!c(b,x)&&F(d[x])&&(T[x]=E({},T[x]));return T}function K(d){null!=d&&this.set(d)}_.suppressDeprecationWarnings=!1,_.deprecationHandler=null;var H=Object.keys||function(d){var b,x=[];for(b in d)c(d,b)&&x.push(b);return x};function r(d,b,x){var T=""+Math.abs(d);return(0<=d?x?"+":"":"-")+Math.pow(10,Math.max(0,b-T.length)).toString().substr(1)+T}var W=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,U=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Y={},Z={};function s(d,b,x,T){var D="string"==typeof T?function(){return this[T]()}:T;d&&(Z[d]=D),b&&(Z[b[0]]=function(){return r(D.apply(this,arguments),b[1],b[2])}),x&&(Z[x]=function(){return this.localeData().ordinal(D.apply(this,arguments),d)})}function re(d,b){return d.isValid()?(b=ae(b,d.localeData()),Y[b]=Y[b]||function(d){for(var b,x=d.match(W),T=0,D=x.length;T<D;T++)Z[x[T]]?x[T]=Z[x[T]]:x[T]=(b=x[T]).match(/\[[\s\S]/)?b.replace(/^\[|\]$/g,""):b.replace(/\\/g,"");return function(b){for(var T="",z=0;z<D;z++)T+=a(x[z])?x[z].call(b,d):x[z];return T}}(b),Y[b](d)):d.localeData().invalidDate()}function ae(d,b){var x=5;function s(d){return b.longDateFormat(d)||d}for(U.lastIndex=0;0<=x&&U.test(d);)d=d.replace(U,s),U.lastIndex=0,--x;return d}var J={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function o(d){return"string"==typeof d?J[d]||J[d.toLowerCase()]:void 0}function ue(d){var b,x,T={};for(x in d)c(d,x)&&(b=o(x))&&(T[b]=d[x]);return T}var ee={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1},te=/\d/,ne=/\d\d/,ie=/\d{3}/,oe=/\d{4}/,se=/[+-]?\d{6}/,le=/\d\d?/,ce=/\d\d\d\d?/,de=/\d\d\d\d\d\d?/,he=/\d{1,3}/,pe=/\d{1,4}/,fe=/[+-]?\d{1,6}/,ge=/\d+/,me=/[+-]?\d+/,ye=/Z|[+-]\d\d:?\d\d/gi,ve=/Z|[+-]\d\d(?::?\d\d)?/gi,xe=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,_e=/^[1-9]\d?/,we=/^([1-9]\d|\d)/;function h(d,b,x){Se[d]=a(b)?b:function(d,T){return d&&x?x:b}}function De(d,b){return c(Se,d)?Se[d](b._strict,b._locale):new RegExp(f(d.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(d,b,x,T,D){return b||x||T||D}))))}function f(d){return d.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function m(d){return d<0?Math.ceil(d)||0:Math.floor(d)}function M(d){var b=0;return 0!=(d=+d)&&isFinite(d)?m(d):b}var Se={},Me={};function v(d,b){var x,T,D=b;for("string"==typeof d&&(d=[d]),w(b)&&(D=function(d,x){x[b]=M(d)}),T=d.length,x=0;x<T;x++)Me[d[x]]=D}function Oe(d,b){v(d,(function(d,x,T,D){T._w=T._w||{},b(d,T._w,T,D)}))}function be(d){return d%4==0&&d%100!=0||d%400==0}function We(d){return be(d)?366:365}s("Y",0,0,(function(){var d=this.year();return d<=9999?r(d,4):"+"+d})),s(0,["YY",2],0,(function(){return this.year()%100})),s(0,["YYYY",4],0,"year"),s(0,["YYYYY",5],0,"year"),s(0,["YYYYYY",6,!0],0,"year"),h("Y",me),h("YY",le,ne),h("YYYY",pe,oe),h("YYYYY",fe,se),h("YYYYYY",fe,se),v(["YYYYY","YYYYYY"],0),v("YYYY",(function(d,b){b[0]=2===d.length?_.parseTwoDigitYear(d):M(d)})),v("YY",(function(d,b){b[0]=_.parseTwoDigitYear(d)})),v("Y",(function(d,b){b[0]=parseInt(d,10)})),_.parseTwoDigitYear=function(d){return M(d)+(68<M(d)?1900:2e3)};var Te,ke=Re("FullYear",!0);function Re(d,b){return function(x){return null!=x?(Ue(this,d,x),_.updateOffset(this,b),this):Ce(this,d)}}function Ce(d,b){if(!d.isValid())return NaN;var x=d._d,T=d._isUTC;switch(b){case"Milliseconds":return T?x.getUTCMilliseconds():x.getMilliseconds();case"Seconds":return T?x.getUTCSeconds():x.getSeconds();case"Minutes":return T?x.getUTCMinutes():x.getMinutes();case"Hours":return T?x.getUTCHours():x.getHours();case"Date":return T?x.getUTCDate():x.getDate();case"Day":return T?x.getUTCDay():x.getDay();case"Month":return T?x.getUTCMonth():x.getMonth();case"FullYear":return T?x.getUTCFullYear():x.getFullYear();default:return NaN}}function Ue(d,b,x){var T,D,z;
817if(d.isValid()&&!isNaN(x)){switch(T=d._d,D=d._isUTC,b){case"Milliseconds":return D?T.setUTCMilliseconds(x):T.setMilliseconds(x);case"Seconds":return D?T.setUTCSeconds(x):T.setSeconds(x);case"Minutes":return D?T.setUTCMinutes(x):T.setMinutes(x);case"Hours":return D?T.setUTCHours(x):T.setHours(x);case"Date":return D?T.setUTCDate(x):T.setDate(x);case"FullYear":break;default:return}b=x,z=d.month(),d=29!==(d=d.date())||1!==z||be(b)?d:28,D?T.setUTCFullYear(b,z,d):T.setFullYear(b,z,d)}}function He(d,b){var x;return isNaN(d)||isNaN(b)?NaN:(d+=(b-(x=(b%(x=12)+x)%x))/12,1==x?be(d)?29:28:31-x%7%2)}Te=Array.prototype.indexOf||function(d){for(var b=0;b<this.length;++b)if(this[b]===d)return b;return-1},s("M",["MM",2],"Mo",(function(){return this.month()+1})),s("MMM",0,0,(function(d){return this.localeData().monthsShort(this,d)})),s("MMMM",0,0,(function(d){return this.localeData().months(this,d)})),h("M",le,_e),h("MM",le,ne),h("MMM",(function(d,b){return b.monthsShortRegex(d)})),h("MMMM",(function(d,b){return b.monthsRegex(d)})),v(["M","MM"],(function(d,b){b[1]=M(d)-1})),v(["MMM","MMMM"],(function(d,b,x,T){null!=(T=x._locale.monthsParse(d,T,x._strict))?b[1]=T:p(x).invalidMonth=d}));var Pe="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ee="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Le=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ne=xe,Ve=xe;function Ae(d,b){if(d.isValid()){if("string"==typeof b)if(/^\d+$/.test(b))b=M(b);else if(!w(b=d.localeData().monthsParse(b)))return;var x=(x=d.date())<29?x:Math.min(x,He(d.year(),b));d._isUTC?d._d.setUTCMonth(b,x):d._d.setMonth(b,x)}}function Ie(d){return null!=d?(Ae(this,d),_.updateOffset(this,!0),this):Ce(this,"Month")}function je(){function e(d,b){return b.length-d.length}for(var d,b,x=[],T=[],D=[],z=0;z<12;z++)b=l([2e3,z]),d=f(this.monthsShort(b,"")),b=f(this.months(b,"")),x.push(d),T.push(b),D.push(b),D.push(d);x.sort(e),T.sort(e),D.sort(e),this._monthsRegex=new RegExp("^("+D.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+T.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+x.join("|")+")","i")}function Ze(d,b,x,T,D,z,H){var W;return d<100&&0<=d?(W=new Date(d+400,b,x,T,D,z,H),isFinite(W.getFullYear())&&W.setFullYear(d)):W=new Date(d,b,x,T,D,z,H),W}function ze(d){var b;return d<100&&0<=d?((b=Array.prototype.slice.call(arguments))[0]=d+400,b=new Date(Date.UTC.apply(null,b)),isFinite(b.getUTCFullYear())&&b.setUTCFullYear(d)):b=new Date(Date.UTC.apply(null,arguments)),b}function qe(d,b,x){return(x=7+b-x)-(7+ze(d,0,x).getUTCDay()-b)%7-1}function $e(d,b,x,T,D){var z;x=(b=1+7*(b-1)+(7+x-T)%7+qe(d,T,D))<=0?We(z=d-1)+b:b>We(d)?(z=d+1,b-We(d)):(z=d,b);return{year:z,dayOfYear:x}}function Be(d,b,x){var T,D,z=qe(d.year(),b,x);return(z=Math.floor((d.dayOfYear()-z-1)/7)+1)<1?T=z+N(D=d.year()-1,b,x):z>N(d.year(),b,x)?(T=z-N(d.year(),b,x),D=d.year()+1):(D=d.year(),T=z),{week:T,year:D}}function N(d,b,x){var T=qe(d,b,x);b=qe(d+1,b,x);return(We(d)-T+b)/7}function Je(d,b){return d.slice(b,7).concat(d.slice(0,b))}s("w",["ww",2],"wo","week"),s("W",["WW",2],"Wo","isoWeek"),h("w",le,_e),h("ww",le,ne),h("W",le,_e),h("WW",le,ne),Oe(["w","ww","W","WW"],(function(d,b,x,T){b[T.substr(0,1)]=M(d)})),s("d",0,"do","day"),s("dd",0,0,(function(d){return this.localeData().weekdaysMin(this,d)})),s("ddd",0,0,(function(d){return this.localeData().weekdaysShort(this,d)})),s("dddd",0,0,(function(d){return this.localeData().weekdays(this,d)})),s("e",0,0,"weekday"),s("E",0,0,"isoWeekday"),h("d",le),h("e",le),h("E",le),h("dd",(function(d,b){return b.weekdaysMinRegex(d)})),h("ddd",(function(d,b){return b.weekdaysShortRegex(d)})),h("dddd",(function(d,b){return b.weekdaysRegex(d)})),Oe(["dd","ddd","dddd"],(function(d,b,x,T){null!=(T=x._locale.weekdaysParse(d,T,x._strict))?b.d=T:p(x).invalidWeekday=d})),Oe(["d","e","E"],(function(d,b,x,T){b[T]=M(d)}));var Fe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ge="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ye="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Xe=xe,Ke=xe,Qe=xe;function st(){function e(d,b){return b.length-d.length}for(var d,b,x,T=[],D=[],z=[],H=[],W=0;W<7;W++)x=l([2e3,1]).day(W),d=f(this.weekdaysMin(x,"")),b=f(this.weekdaysShort(x,"")),x=f(this.weekdays(x,"")),T.push(d),D.push(b),z.push(x),H.push(d),H.push(b),H.push(x);T.sort(e),D.sort(e),z.sort(e),H.sort(e),this._weekdaysRegex=new RegExp("^("+H.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+z.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+D.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+T.join("|")+")","i")}function it(){return this.hours()%12||12}function rt(d,b){s(d,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),b)}))}function at(d,b){return b._meridiemParse}s("H",["HH",2],0,"hour"),s("h",["hh",2],0,it),s("k",["kk",2],0,(function(){return this.hours()||24})),s("hmm",0,0,(function(){return""+it.apply(this)+r(this.minutes(),2)}
817)),s("hmmss",0,0,(function(){return""+it.apply(this)+r(this.minutes(),2)+r(this.seconds(),2)})),s("Hmm",0,0,(function(){return""+this.hours()+r(this.minutes(),2)})),s("Hmmss",0,0,(function(){return""+this.hours()+r(this.minutes(),2)+r(this.seconds(),2)})),rt("a",!0),rt("A",!1),h("a",at),h("A",at),h("H",le,we),h("h",le,_e),h("k",le,_e),h("HH",le,ne),h("hh",le,ne),h("kk",le,ne),h("hmm",ce),h("hmmss",de),h("Hmm",ce),h("Hmmss",de),v(["H","HH"],3),v(["k","kk"],(function(d,b,x){d=M(d),b[3]=24===d?0:d})),v(["a","A"],(function(d,b,x){x._isPm=x._locale.isPM(d),x._meridiem=d})),v(["h","hh"],(function(d,b,x){b[3]=M(d),p(x).bigHour=!0})),v("hmm",(function(d,b,x){var T=d.length-2;b[3]=M(d.substr(0,T)),b[4]=M(d.substr(T)),p(x).bigHour=!0})),v("hmmss",(function(d,b,x){var T=d.length-4,D=d.length-2;b[3]=M(d.substr(0,T)),b[4]=M(d.substr(T,2)),b[5]=M(d.substr(D)),p(x).bigHour=!0})),v("Hmm",(function(d,b,x){var T=d.length-2;b[3]=M(d.substr(0,T)),b[4]=M(d.substr(T))})),v("Hmmss",(function(d,b,x){var T=d.length-4,D=d.length-2;b[3]=M(d.substr(0,T)),b[4]=M(d.substr(T,2)),b[5]=M(d.substr(D))})),xe=Re("Hours",!0);var et,tt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Pe,monthsShort:Ee,week:{dow:0,doy:6},weekdays:Fe,weekdaysMin:Ye,weekdaysShort:Ge,meridiemParse:/[ap]\.?m?\.?/i},nt={},ot={};function dt(d){return d&&d.toLowerCase().replace("_","-")}function ct(b){var x,T;if(void 0===nt[b]&&void 0!==d&&d&&d.exports&&(T=b)&&T.match("^[^/\\\\]*$"))try{x=et._abbr,function(){var d=new Error("Cannot find module 'undefined'");throw d.code="MODULE_NOT_FOUND",d}(),ft(x)}catch(x){nt[b]=null}return nt[b]}function ft(d,b){return d&&((b=g(b)?P(d):mt(d,b))?et=b:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+d+" not found. Did you forget to load it?")),et._abbr}function mt(d,b){if(null===b)return delete nt[d],null;var x,T=tt;if(b.abbr=d,null!=nt[d])Q("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),T=nt[d]._config;else if(null!=b.parentLocale)if(null!=nt[b.parentLocale])T=nt[b.parentLocale]._config;else{if(null==(x=ct(b.parentLocale)))return ot[b.parentLocale]||(ot[b.parentLocale]=[]),ot[b.parentLocale].push({name:d,config:b}),null;T=x._config}return nt[d]=new K(X(T,b)),ot[d]&&ot[d].forEach((function(d){mt(d.name,d.config)})),ft(d),nt[d]}function P(d){var b;if(!(d=d&&d._locale&&d._locale._abbr?d._locale._abbr:d))return et;if(!y(d)){if(b=ct(d))return b;d=[d]}return function(d){for(var b,x,T,D,z=0;z<d.length;){for(b=(D=dt(d[z]).split("-")).length,x=(x=dt(d[z+1]))?x.split("-"):null;0<b;){if(T=ct(D.slice(0,b).join("-")))return T;if(x&&x.length>=b&&function(d,b){for(var x=Math.min(d.length,b.length),T=0;T<x;T+=1)if(d[T]!==b[T])return T;return x}(D,x)>=b-1)break;b--}z++}return et}(d)}function _t(d){var b=d._a;return b&&-2===p(d).overflow&&(b=b[1]<0||11<b[1]?1:b[2]<1||b[2]>He(b[0],b[1])?2:b[3]<0||24<b[3]||24===b[3]&&(0!==b[4]||0!==b[5]||0!==b[6])?3:b[4]<0||59<b[4]?4:b[5]<0||59<b[5]?5:b[6]<0||999<b[6]?6:-1,p(d)._overflowDayOfYear&&(b<0||2<b)&&(b=2),p(d)._overflowWeeks&&-1===b&&(b=7),p(d)._overflowWeekday&&-1===b&&(b=8),p(d).overflow=b),d}var lt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ut=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ht=/Z|[+-]\d\d(?::?\d\d)?/,pt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}
817/,!1]],gt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],yt=/^\/?Date\((-?\d+)/i,vt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,wt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Yt(d){var b,x,T,D,z,H,W=d._i,U=lt.exec(W)||ut.exec(W),Y=(W=pt.length,gt.length);if(U){for(p(d).iso=!0,b=0,x=W;b<x;b++)if(pt[b][1].exec(U[1])){D=pt[b][0],T=!1!==pt[b][2];break}if(null==D)d._isValid=!1;else{if(U[3]){for(b=0,x=Y;b<x;b++)if(gt[b][1].exec(U[3])){z=(U[2]||" ")+gt[b][0];break}if(null==z)return void(d._isValid=!1)}if(T||null==z){if(U[4]){if(!ht.exec(U[4]))return void(d._isValid=!1);H="Z"}d._f=D+(z||"")+(H||""),xt(d)}else d._isValid=!1}}else d._isValid=!1}function Ot(d){var b,x,T=vt.exec(d._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));T?(b=function(d,b,x,T,D,z){return d=[function(d){return(d=parseInt(d,10))<=49?2e3+d:d<=999?1900+d:d}(d),Ee.indexOf(b),parseInt(x,10),parseInt(T,10),parseInt(D,10)],z&&d.push(parseInt(z,10)),d}(T[4],T[3],T[2],T[5],T[6],T[7]),function(d,b,x){if(!d||Ge.indexOf(d)===new Date(b[0],b[1],b[2]).getDay())return 1;p(x).weekdayMismatch=!0,x._isValid=!1}(T[1],b,d)&&(d._a=b,d._tzm=(b=T[8],x=T[9],T=T[10],b?wt[b]:x?0:((b=parseInt(T,10))-(x=b%100))/100*60+x),d._d=ze.apply(null,d._a),d._d.setUTCMinutes(d._d.getUTCMinutes()-d._tzm),p(d).rfc2822=!0)):d._isValid=!1}function bt(d,b,x){return null!=d?d:null!=b?b:x}function Tt(d){var b,x,T,D,z,H,W,U,Y,Z,J,ee=[];if(!d._d){for(T=d,D=new Date(_.now()),x=T._useUTC?[D.getUTCFullYear(),D.getUTCMonth(),D.getUTCDate()]:[D.getFullYear(),D.getMonth(),D.getDate()],d._w&&null==d._a[2]&&null==d._a[1]&&(null!=(D=(T=d)._w).GG||null!=D.W||null!=D.E?(U=1,Y=4,z=bt(D.GG,T._a[0],Be(R(),1,4).year),H=bt(D.W,1),((W=bt(D.E,1))<1||7<W)&&(Z=!0)):(U=T._locale._week.dow,Y=T._locale._week.doy,J=Be(R(),U,Y),z=bt(D.gg,T._a[0],J.year),H=bt(D.w,J.week),null!=D.d?((W=D.d)<0||6<W)&&(Z=!0):null!=D.e?(W=D.e+U,(D.e<0||6<D.e)&&(Z=!0)):W=U),H<1||H>N(z,U,Y)?p(T)._overflowWeeks=!0:null!=Z?p(T)._overflowWeekday=!0:(J=$e(z,H,W,U,Y),T._a[0]=J.year,T._dayOfYear=J.dayOfYear)),null!=d._dayOfYear&&(D=bt(d._a[0],x[0]),(d._dayOfYear>We(D)||0===d._dayOfYear)&&(p(d)._overflowDayOfYear=!0),Z=ze(D,0,d._dayOfYear),d._a[1]=Z.getUTCMonth(),d._a[2]=Z.getUTCDate()),b=0;b<3&&null==d._a[b];++b)d._a[b]=ee[b]=x[b];for(;b<7;b++)d._a[b]=ee[b]=null==d._a[b]?2===b?1:0:d._a[b];24===d._a[3]&&0===d._a[4]&&0===d._a[5]&&0===d._a[6]&&(d._nextDay=!0,d._a[3]=0),d._d=(d._useUTC?ze:Ze).apply(null,ee),z=d._useUTC?d._d.getUTCDay():d._d.getDay(),null!=d._tzm&&d._d.setUTCMinutes(d._d.getUTCMinutes()-d._tzm),d._nextDay&&(d._a[3]=24),d._w&&void 0!==d._w.d&&d._w.d!==z&&(p(d).weekdayMismatch=!0)}}function xt(d){if(d._f===_.ISO_8601)Yt(d);else if(d._f===_.RFC_2822)Ot(d);else{d._a=[],p(d).empty=!0;for(var b,x,T,D,z,H=""+d._i,U=H.length,Y=0,J=ae(d._f,d._locale).match(W)||[],ee=J.length,te=0;te<ee;te++)x=J[te],(b=(H.match(De(x,d))||[])[0])&&(0<(T=H.substr(0,H.indexOf(b))).length&&p(d).unusedInput.push(T),H=H.slice(H.indexOf(b)+b.length),Y+=b.length),Z[x]?(b?p(d).empty=!1:p(d).unusedTokens.push(x),T=x,z=d,null!=(D=b)&&c(Me,T)&&Me[T](D,z._a,z,T)):d._strict&&!b&&p(d).unusedTokens.push(x);p(d).charsLeftOver=U-Y,0<H.length&&p(d).unusedInput.push(H),d._a[3]<=12&&!0===p(d).bigHour&&0<d._a[3]&&(p(d).bigHour=void 0),p(d).parsedDateParts=d._a.slice(0),p(d).meridiem=d._meridiem,d._a[3]=function(d,b,x){return null==x?b:null!=d.meridiemHour?d.meridiemHour(b,x):null!=d.isPM?((d=d.isPM(x))&&b<12&&(b+=12),b=d||12!==b?b:0):b}(d._locale,d._a[3],d._meridiem),null!==(U=p(d).era)&&(d._a[0]=d._locale.erasConvertYear(U,d._a[0])),Tt(d),_t(d)}}function Nt(d){var b,x,T,D=d._i,z=d._f;if(d._locale=d._locale||P(d._l),null===D||void 0===z&&""===D)return I({nullInput:!0});if("string"==typeof D&&(d._i=D=d._locale.preparse(D)),k(D))return new $(_t(D));if(V(D))d._d=D;else if(y(z)){var H,W,U,Y,Z,J,ee=d,te=!1,ne=ee._f.length;if(0===ne)p(ee).invalidFormat=!0,ee._d=new Date(NaN);else{for(Y=0;Y<ne;Y++)Z=0,J=!1,H=q({},ee),null!=ee._useUTC&&(H._useUTC=ee._useUTC),H._f=ee._f[Y],xt(H),A(H)&&(J=!0),Z=(Z+=p(H).charsLeftOver)+10*p(H).unusedTokens.length,p(H).score=Z,te?Z<U&&(U=Z,W=H):(null==U||Z<U||J)&&(U=Z,W=H,J)&&(te=!0);E(ee,W||H)}}else z?xt(d):g(z=(D=d)._i)?D._d=new Date(_.now()):V(z)?D._d=new Date(z.valueOf()):"string"==typeof z?(x=D,null!==(b=yt.exec(x._i))?x._d=new Date(+b[1]):(Yt(x),!1===x._isValid&&
817(delete x._isValid,Ot(x),!1===x._isValid)&&(delete x._isValid,x._strict?x._isValid=!1:_.createFromInputFallback(x)))):y(z)?(D._a=G(z.slice(0),(function(d){return parseInt(d,10)})),Tt(D)):F(z)?(b=D)._d||(T=void 0===(x=ue(b._i)).day?x.date:x.day,b._a=G([x.year,x.month,T,x.hour,x.minute,x.second,x.millisecond],(function(d){return d&&parseInt(d,10)})),Tt(b)):w(z)?D._d=new Date(z):_.createFromInputFallback(D);return A(d)||(d._d=null),d}function Wt(d,b,x,T,D){var z={};return!0!==b&&!1!==b||(T=b,b=void 0),!0!==x&&!1!==x||(T=x,x=void 0),(F(d)&&L(d)||y(d)&&0===d.length)&&(d=void 0),z._isAMomentObject=!0,z._useUTC=z._isUTC=D,z._l=x,z._i=d,z._f=b,z._strict=T,(D=new $(_t(Nt(D=z))))._nextDay&&(D.add(1,"d"),D._nextDay=void 0),D}function R(d,b,x,T){return Wt(d,b,x,T,!1)}function Pt(d,b){var x,T;if(!(b=1===b.length&&y(b[0])?b[0]:b).length)return R();for(x=b[0],T=1;T<b.length;++T)b[T].isValid()&&!b[T][d](x)||(x=b[T]);return x}_.createFromInputFallback=e("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(d){d._d=new Date(d._i+(d._useUTC?" UTC":""))})),_.ISO_8601=function(){},_.RFC_2822=function(){},ce=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var d=R.apply(null,arguments);return this.isValid()&&d.isValid()?d<this?this:d:I()})),de=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var d=R.apply(null,arguments);return this.isValid()&&d.isValid()?this<d?this:d:I()}));var St=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ct(d){var b=(d=ue(d)).year||0,x=d.quarter||0,T=d.month||0,D=d.week||d.isoWeek||0,z=d.day||0,H=d.hour||0,W=d.minute||0,U=d.second||0,Y=d.millisecond||0;this._isValid=function(d){var b,x,T=!1,D=St.length;for(b in d)if(c(d,b)&&(-1===Te.call(St,b)||null!=d[b]&&isNaN(d[b])))return!1;for(x=0;x<D;++x)if(d[St[x]]){if(T)return!1;parseFloat(d[St[x]])!==M(d[St[x]])&&(T=!0)}return!0}(d),this._milliseconds=+Y+1e3*U+6e4*W+1e3*H*60*60,this._days=+z+7*D,this._months=+T+3*x+12*b,this._data={},this._locale=P(),this._bubble()}function Ut(d){return d instanceof Ct}function Ht(d){return d<0?-1*Math.round(-1*d):Math.round(d)}function Ft(d,b){s(d,0,0,(function(){var d=this.utcOffset(),x="+";return d<0&&(d=-d,x="-"),x+r(~~(d/60),2)+b+r(~~d%60,2)}))}Ft("Z",":"),Ft("ZZ",""),h("Z",ve),h("ZZ",ve),v(["Z","ZZ"],(function(d,b,x){x._useUTC=!0,x._tzm=Vt(ve,d)}));var Mt=/([\+\-]|\d\d)/gi;function Vt(d,b){return null===(b=(b||"").match(d))?null:0===(b=60*(d=((b[b.length-1]||[])+"").match(Mt)||["-",0,0])[1]+M(d[2]))?0:"+"===d[0]?b:-b}function Gt(d,b){var x;return b._isUTC?(b=b.clone(),x=(k(d)||V(d)?d:R(d)).valueOf()-b.valueOf(),b._d.setTime(b._d.valueOf()+x),_.updateOffset(b,!1),b):R(d).local()}function Et(d){return-Math.round(d._d.getTimezoneOffset())}function At(){return!!this.isValid()&&this._isUTC&&0===this._offset}_.updateOffset=function(){};var kt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,It=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function C(d,b){var x,T=d;return Ut(d)?T={ms:d._milliseconds,d:d._days,M:d._months}:w(d)||!isNaN(+d)?(T={},b?T[b]=+d:T.milliseconds=+d):(b=kt.exec(d))?(x="-"===b[1]?-1:1,T={y:0,d:M(b[2])*x,h:M(b[3])*x,m:M(b[4])*x,s:M(b[5])*x,ms:M(Ht(1e3*b[6])
817)*x}):(b=It.exec(d))?(x="-"===b[1]?-1:1,T={y:Zt(b[2],x),M:Zt(b[3],x),w:Zt(b[4],x),d:Zt(b[5],x),h:Zt(b[6],x),m:Zt(b[7],x),s:Zt(b[8],x)}):null==T?T={}:"object"==_typeof(T)&&("from"in T||"to"in T)&&(b=function(d,b){var x;return d.isValid()&&b.isValid()?(b=Gt(b,d),d.isBefore(b)?x=zt(d,b):((x=zt(b,d)).milliseconds=-x.milliseconds,x.months=-x.months),x):{milliseconds:0,months:0}}(R(T.from),R(T.to)),(T={}).ms=b.milliseconds,T.M=b.months),x=new Ct(T),Ut(d)&&c(d,"_locale")&&(x._locale=d._locale),Ut(d)&&c(d,"_isValid")&&(x._isValid=d._isValid),x}function Zt(d,b){return d=d&&parseFloat(d.replace(",",".")),(isNaN(d)?0:d)*b}function zt(d,b){var x={};return x.months=b.month()-d.month()+12*(b.year()-d.year()),d.clone().add(x.months,"M").isAfter(b)&&--x.months,x.milliseconds=+b-+d.clone().add(x.months,"M"),x}function qt(d,b){return function(x,T){var D;return null===T||isNaN(+T)||(Q(b,"moment()."+b+"(period, number) is deprecated. Please use moment()."+b+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),D=x,x=T,T=D),$t(this,C(x,T),d),this}}function $t(d,b,x,T){var D=b._milliseconds,z=Ht(b._days);b=Ht(b._months);d.isValid()&&(T=null==T||T,b&&Ae(d,Ce(d,"Month")+b*x),z&&Ue(d,"Date",Ce(d,"Date")+z*x),D&&d._d.setTime(d._d.valueOf()+D*x),T)&&_.updateOffset(d,z||b)}function Bt(d){return"string"==typeof d||d instanceof String}function Jt(d){return k(d)||V(d)||Bt(d)||w(d)||function(d){var b=y(d),x=!1;return b&&(x=0===d.filter((function(b){return!w(b)&&Bt(d)})).length),b&&x}(d)||function(d){var b,x=F(d)&&!L(d),T=!1,D=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],z=D.length;for(b=0;b<z;b+=1)T=T||c(d,D[b]);return x&&T}(d)||null==d}function Qt(d,b){var x,T;return d.date()<b.date()?-Qt(b,d):-((x=12*(b.year()-d.year())+(b.month()-d.month()))+(b-(T=d.clone().add(x,"months"))<0?(b-T)/(T-d.clone().add(x-1,"months")):(b-T)/(d.clone().add(1+x,"months")-T)))||0}function Xt(d){return void 0===d?this._locale._abbr:(null!=(d=P(d))&&(this._locale=d),this)}function Kt(){return this._locale}C.fn=Ct.prototype,C.invalid=function(){return C(NaN)},Pe=qt(1,"add"),Fe=qt(-1,"subtract"),_.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",_.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]",Ye=e("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(d){return void 0===d?this.localeData():this.locale(d)}));var Dt=126227808e5;function tn(d,b){return(d%b+b)%b}function nn(d,b,x){return d<100&&0<=d?new Date(d+400,b,x)-Dt:new Date(d,b,x).valueOf()}function sn(d,b,x){return d<100&&0<=d?Date.UTC(d+400,b,x)-Dt:Date.UTC(d,b,x)}function rn(d,b){return b.erasAbbrRegex(d)}function an(){for(var d,b,x,T=[],D=[],z=[],H=[],W=this.eras(),U=0,Y=W.length;U<Y;++U)d=f(W[U].name),b=f(W[U].abbr),x=f(W[U].narrow),D.push(d),T.push(b),z.push(x),H.push(d),H.push(b),H.push(x);this._erasRegex=new RegExp("^("+H.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+D.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+T.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+z.join("|")+")","i")}function on(d,b){s(0,[d,d.length],0,b)}function un(d,b,x,T,D){var z;return null==d?Be(this,T,D).year:(z=N(d,T,D),function(d,b,x,T,D){return b=ze((d=$e(d,b,x,T,D)).year,0,d.dayOfYear),this.year(b.getUTCFullYear()),this.month(b.getUTCMonth()),this.date(b.getUTCDate()),this}.call(this,d,b=z<b?z:b,x,T,D))}s("N",0,0,"eraAbbr"),s("NN",0,0,"eraAbbr"),s("NNN",0,0,"eraAbbr"),s("NNNN",0,0,"eraName"),s("NNNNN",0,0,"eraNarrow"),s("y",["y",1],"yo","eraYear"),s("y",["yy",2],0,"eraYear"),s("y",["yyy",3],0,"eraYear"),s("y",["yyyy",4],0,"eraYear"),h("N",rn),h("NN",rn),h("NNN",rn),h("NNNN",(function(d,b){return b.erasNameRegex(d)})),h("NNNNN",(function(d,b){return b.erasNarrowRegex(d)})),v(["N","NN","NNN","NNNN","NNNNN"],(function(d,b,x,T){(T=x._locale.erasParse(d,T,x._strict))?p(x).era=T:p(x).invalidEra=d})),h("y",ge),h("yy",ge),h("yyy",ge),h("yyyy",ge),h("yo",(function(d,b){return b._eraYearOrdinalRegex||ge})),v(["y","yy","yyy","yyyy"],0),v(["yo"],(function(d,b,x,T){var D;x._locale._eraYearOrdinalRegex&&(D=d.match(x._locale._eraYearOrdinalRegex)),x._locale.eraYearOrdinalParse?b[0]=x._locale.eraYearOrdinalParse(d,D):b[0]=parseInt(d,10)})),s(0,["gg",2],0,(function(){return this.weekYear()%100})),s(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),on("gggg","weekYear"),on("ggggg","weekYear"),on("GGGG","isoWeekYear"),on("GGGGG","isoWeekYear"),h("G",me),h("g",me),h("GG",le,ne),h("gg",le,ne),h("GGGG",pe,oe),h("gggg",pe,oe),h("GGGGG",fe,se),h("ggggg",fe,se),Oe(["gggg","ggggg","GGGG","GGGGG"],(function(d,b,x,T){b[T.substr(0,2)]=M(d)})),Oe(["gg","GG"],(function(d,b,x,T){b[T]=_.parseTwoDigitYear(d)})),s("Q",0,"Qo","quarter"),h("Q",te),v("Q",(function(d,b){b[1]=3*(M(d)-1)})),s("D",["DD",2],"Do","date"),h("D",le,_e),h("DD",le,ne),h("Do",(function(d,b){return d?b._dayOfMonthOrdinalParse||b._ordinalParse:b._dayOfMonthOrdinalParseLenient})),v(["D","DD"],2),v("Do",(function(d,b){b[2]=M(d.match(le)[0])})),pe=Re("Date",!0),s("DDD",["DDDD",3],"DDDo","dayOfYear"),h("DDD",he),h("DDDD",ie),v(["DDD","DDDD"],(function(d,b,x){x._dayOfYear=M(d)})),s("m",["mm",2],0,"minute"),h("m",le,we),h("mm",le,ne),v(["m","mm"],4);var Lt;oe=Re("Minutes",!1),s("s",["ss",2],0,"second"),h("s",le,we),h("ss",le,ne),v(["s","ss"],5),fe=Re("Seconds",!1);for(s("S",0,0,(function(){return~~(this.millisecond()/100)})),s(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),s(0,["SSS",3],0,"millisecond"),s(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),s(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),s(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),s(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),s(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),s(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),h("S",he,te),h("SS",he,ne),h("SSS",he,ie),Lt="SSSS";Lt.length<=9;Lt+="S")h(Lt,ge);function dn(d,b){b[6]=M(1e3*("0."+d))}for(Lt="S";Lt.length<=9;Lt+="S")v(Lt,dn);function hn(d){return d}function cn(d,b,x,T){var D=P();T=l().set(T,b);return D[x](T,d)}function fn(d,b,x){if(w(d)&&(b=d,d=void 0),d=d||"",null!=b)return cn(d,b,x,"month");for(var T=[],D=0;D<12;D++)T[D]=cn(d,D,x,"month");return T}function mn(d,b,x,T){"boolean"==typeof d?w(b)&&(x=b,b=void 0):(b=d,d=!1,w(x=b)&&(x=b,b=void 0)),b=b||"";var D,z=P(),H=d?z._week.dow:0,W=[];if(null!=x)return cn(b,(x+H)%7,T,"day");for(D=0;D<7;D++)W[D]=cn(b,(D+H)%7,T,"day");return W}se=Re("Milliseconds",!1),s("z",0,0,"zoneAbbr"),s("zz",0,0,"zoneName"),(_e=$.prototype).add=Pe,_e.calendar=function(d,b){1===arguments.length&&(arguments[0]?Jt(arguments[0])?(d=arguments[0],b=void 0):function(d){for(var b=F(d)&&!L(d),x=!1,T=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],D=0;D<T.length;D+=1)x=x||c(d,T[D]);return b&&x}(arguments[0])&&(b=arguments[0],d=void 0):b=d=void 0);var x=Gt(d=d||R(),this).startOf("day");x=_.calendarFormat(this,x)||"sameElse",b=b&&(a(b[x])?b[x].call(this,d):b[x]);return this.format(b||this.localeData().calendar(x,this,R(d)))},_e.clone=function(){return new $(this)},_e.diff=function(d,b,x){var T,D,z;if(!this.isValid())return NaN;if(!(T=Gt(d,this)).isValid())return NaN;switch(D=6e4*(T.utcOffset()-this.utcOffset()),b=o(b)){case"year":z=Qt(this,T)/12;break;case"month":z=Qt(this,T);break;case"quarter":z=Qt(this,T)/3;break;case"second":z=(this-T)/1e3;break;case"minute":z=(this-T)/6e4;break;case"hour":z=(this-T)/36e5;break;case"day":z=(this-T-D)/864e5;break;case"week":z=(this-T-D)/6048e5;break;default:z=this-T}return x?z:m(z)},_e.endOf=function(d){var b,x;if(void 0!==(d=o(d))&&"millisecond"!==d&&this.isValid()){switch(x=this._isUTC?sn:nn,d){case"year":b=x(this.year()+1,0,1)-1;break;case"quarter":b=x(this.year(),this.month()-this.month()%3+3,1)-1;break;
vendor: 4,195 bytes, line 817
817case"month":b=x(this.year(),this.month()+1,1)-1;break;case"week":b=x(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":b=x(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":b=x(this.year(),this.month(),this.date()+1)-1;break;case"hour":b=this._d.valueOf(),b+=36e5-tn(b+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":b=this._d.valueOf(),b+=6e4-tn(b,6e4)-1;break;case"second":b=this._d.valueOf(),b+=1e3-tn(b,1e3)-1}this._d.setTime(b),_.updateOffset(this,!0)}return this},_e.format=function(d){return d=re(this,d=d||(this.isUtc()?_.defaultFormatUtc:_.defaultFormat)),this.localeData().postformat(d)},_e.from=function(d,b){return this.isValid()&&(k(d)&&d.isValid()||R(d).isValid())?C({to:this,from:d}).locale(this.locale()).humanize(!b):this.localeData().invalidDate()},_e.fromNow=function(d){return this.from(R(),d)},_e.to=function(d,b){return this.isValid()&&(k(d)&&d.isValid()||R(d).isValid())?C({from:this,to:d}).locale(this.locale()).humanize(!b):this.localeData().invalidDate()},_e.toNow=function(d){return this.to(R(),d)},_e.get=function(d){return a(this[d=o(d)])?this[d]():this},_e.invalidAt=function(){return p(this).overflow},_e.isAfter=function(d,b){return d=k(d)?d:R(d),!(!this.isValid()||!d.isValid())&&("millisecond"===(b=o(b)||"millisecond")?this.valueOf()>d.valueOf():d.valueOf()<this.clone().startOf(b).valueOf())},_e.isBefore=function(d,b){return d=k(d)?d:R(d),!(!this.isValid()||!d.isValid())&&("millisecond"===(b=o(b)||"millisecond")?this.valueOf()<d.valueOf():this.clone().endOf(b).valueOf()<d.valueOf())},_e.isBetween=function(d,b,x,T){return d=k(d)?d:R(d),b=k(b)?b:R(b),!!(this.isValid()&&d.isValid()&&b.isValid())&&("("===(T=T||"()")[0]?this.isAfter(d,x):!this.isBefore(d,x))&&(")"===T[1]?this.isBefore(b,x):!this.isAfter(b,x))},_e.isSame=function(d,b){d=k(d)?d:R(d);return!(!this.isValid()||!d.isValid())&&("millisecond"===(b=o(b)||"millisecond")?this.valueOf()===d.valueOf():(d=d.valueOf(),this.clone().startOf(b).valueOf()<=d&&d<=this.clone().endOf(b).valueOf()))},_e.isSameOrAfter=function(d,b){return this.isSame(d,b)||this.isAfter(d,b)},_e.isSameOrBefore=function(d,b){return this.isSame(d,b)||this.isBefore(d,b)},_e.isValid=function(){return A(this)},_e.lang=Ye,_e.locale=Xt,_e.localeData=Kt,_e.max=de,_e.min=ce,_e.parsingFlags=function(){return E({},p(this))},_e.set=function(d,b){if("object"==_typeof(d))for(var x=function(d){var b,x=[];for(b in d)c(d,b)&&x.push({unit:b,priority:ee[b]});return x.sort((function(d,b){return d.priority-b.priority})),x}(d=ue(d)),T=x.length,D=0;D<T;D++)this[x[D].unit](d[x[D].unit]);else if(a(this[d=o(d)]))return this[d](b);return this},_e.startOf=function(d){var b,x;if(void 0!==(d=o(d))&&"millisecond"!==d&&this.isValid()){switch(x=this._isUTC?sn:nn,d){case"year":b=x(this.year(),0,1);break;case"quarter":b=x(this.year(),this.month()-this.month()%3,1);break;case"month":b=x(this.year(),this.month(),1);break;case"week":b=x(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":b=x(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":b=x(this.year(),this.month(),this.date());break;case"hour":b=this._d.valueOf(),b-=tn(b+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":b=this._d.valueOf(),b-=tn(b,6e4);break;case"second":b=this._d.valueOf(),b-=tn(b,1e3)}this._d.setTime(b),_.updateOffset(this,!0)}return this},_e.subtract=Fe,_e.toArray=function(){var d=this;return[d.year(),d.month(),d.date(),d.hour(),d.minute(),d.second(),d.millisecond()]},_e.toObject=function(){var d=this;return{years:d.year(),months:d.month(),date:d.date(),hours:d.hours(),minutes:d.minutes(),seconds:d.seconds(),milliseconds:d.milliseconds()}},_e.toDate=function(){return new Date(this.valueOf())},_e.toISOString=function(d){var b;return this.isValid()?(b=(d=!0!==d)?this.clone().utc():this).year()<0||9999<b.year()?re(b,d?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):a(Date.prototype.toISOString)?d?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",re(b,"Z")):re(b,d?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ"):null}
vendor: 16,384 bytes, line 817
817,_e.inspect=function(){var d,b,x;return this.isValid()?(b="moment",d="",this.isLocal()||(b=0===this.utcOffset()?"moment.utc":"moment.parseZone",d="Z"),b="["+b+'("]',x=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(b+x+"-MM-DD[T]HH:mm:ss.SSS"+d+'[")]')):"moment.invalid(/* "+this._i+" */)"},"undefined"!=typeof Symbol&&null!=Symbol.for&&(_e[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),_e.toJSON=function(){return this.isValid()?this.toISOString():null},_e.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},_e.unix=function(){return Math.floor(this.valueOf()/1e3)},_e.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},_e.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},_e.eraName=function(){for(var d,b=this.localeData().eras(),x=0,T=b.length;x<T;++x){if(d=this.clone().startOf("day").valueOf(),b[x].since<=d&&d<=b[x].until)return b[x].name;if(b[x].until<=d&&d<=b[x].since)return b[x].name}return""},_e.eraNarrow=function(){for(var d,b=this.localeData().eras(),x=0,T=b.length;x<T;++x){if(d=this.clone().startOf("day").valueOf(),b[x].since<=d&&d<=b[x].until)return b[x].narrow;if(b[x].until<=d&&d<=b[x].since)return b[x].narrow}return""},_e.eraAbbr=function(){for(var d,b=this.localeData().eras(),x=0,T=b.length;x<T;++x){if(d=this.clone().startOf("day").valueOf(),b[x].since<=d&&d<=b[x].until)return b[x].abbr;if(b[x].until<=d&&d<=b[x].since)return b[x].abbr}return""},_e.eraYear=function(){for(var d,b,x=this.localeData().eras(),T=0,D=x.length;T<D;++T)if(d=x[T].since<=x[T].until?1:-1,b=this.clone().startOf("day").valueOf(),x[T].since<=b&&b<=x[T].until||x[T].until<=b&&b<=x[T].since)return(this.year()-_(x[T].since).year())*d+x[T].offset;return this.year()},_e.year=ke,_e.isLeapYear=function(){return be(this.year())},_e.weekYear=function(d){return un.call(this,d,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)},_e.isoWeekYear=function(d){return un.call(this,d,this.isoWeek(),this.isoWeekday(),1,4)},_e.quarter=_e.quarters=function(d){return null==d?Math.ceil((this.month()+1)/3):this.month(3*(d-1)+this.month()%3)},_e.month=Ie,_e.daysInMonth=function(){return He(this.year(),this.month())},_e.week=_e.weeks=function(d){var b=this.localeData().week(this);return null==d?b:this.add(7*(d-b),"d")},_e.isoWeek=_e.isoWeeks=function(d){var b=Be(this,1,4).week;return null==d?b:this.add(7*(d-b),"d")},_e.weeksInYear=function(){var d=this.localeData()._week;return N(this.year(),d.dow,d.doy)},_e.weeksInWeekYear=function(){var d=this.localeData()._week;return N(this.weekYear(),d.dow,d.doy)},_e.isoWeeksInYear=function(){return N(this.year(),1,4)},_e.isoWeeksInISOWeekYear=function(){return N(this.isoWeekYear(),1,4)},_e.date=pe,_e.day=_e.days=function(d){var b,x,T;return this.isValid()?(b=Ce(this,"Day"),null!=d?(x=d,T=this.localeData(),d="string"!=typeof x?x:isNaN(x)?"number"==typeof(x=T.weekdaysParse(x))?x:null:parseInt(x,10),this.add(d-b,"d")):b):null!=d?this:NaN},_e.weekday=function(d){var b;return this.isValid()?(b=(this.day()+7-this.localeData()._week.dow)%7,null==d?b:this.add(d-b,"d")):null!=d?this:NaN},_e.isoWeekday=function(d){var b,x;return this.isValid()?null!=d?(b=d,x=this.localeData(),x="string"==typeof b?x.weekdaysParse(b)%7||7:isNaN(b)?null:b,this.day(this.day()%7?x:x-7)):this.day()||7:null!=d?this:NaN},_e.dayOfYear=function(d){var b=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==d?b:this.add(d-b,"d")},_e.hour=_e.hours=xe,_e.minute=_e.minutes=oe,_e.second=_e.seconds=fe,_e.millisecond=_e.milliseconds=se,_e.utcOffset=function(d,b,x){var T,D=this._offset||0;if(!this.isValid())return null!=d?this:NaN;if(null==d)return this._isUTC?D:Et(this);if("string"==typeof d){if(null===(d=Vt(ve,d)))return this}else Math.abs(d)<16&&!x&&(d*=60);return!this._isUTC&&b&&(T=Et(this)),this._offset=d,this._isUTC=!0,null!=T&&this.add(T,"m"),D!==d&&(!b||this._changeInProgress?$t(this,C(d-D,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,_.updateOffset(this,!0),this._changeInProgress=null)),this},_e.utc=function(d){return this.utcOffset(0,d)},_e.local=function(d){return this._isUTC&&(this.utcOffset(0,d),this._isUTC=!1,d)&&this.subtract(Et(this),"m"),this},_e.parseZone=function(){var d;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(d=Vt(ye,this._i))?this.utcOffset(d):this.utcOffset(0,!0)),this},_e.hasAlignedHourOffset=function(d){return!!this.isValid()&&(d=d?R(d).utcOffset():0,(this.utcOffset()-d)%60==0)},_e.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},_e.isLocal=function(){return!!this.isValid()&&!this._isUTC},_e.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},_e.isUtc=At,_e.isUTC=At,_e.zoneAbbr=function(){return this._isUTC?"UTC":""},_e.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},_e.dates=e("dates accessor is deprecated. Use date instead.",pe),_e.months=e("months accessor is deprecated. Use month instead",Ie),_e.years=e("years accessor is deprecated. Use year instead",ke),_e.zone=e("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(d,b){return null!=d?(this.utcOffset(d="string"!=typeof d?-d:d,b),this):-this.utcOffset()})),_e.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){var d,b;return g(this._isDSTShifted)&&(q(d={},this),(d=Nt(d))._a?(b=(d._isUTC?l:R)(d._a),this._isDSTShifted=this.isValid()&&0<function(d,b,x){for(var T=Math.min(d.length,b.length),D=Math.abs(d.length-b.length),z=0,H=0;H<T;H++)M(d[H])!==M(b[H])&&z++;return z+D}(d._a,b.toArray())):this._isDSTShifted=!1),this._isDSTShifted})),(we=K.prototype).calendar=function(d,b,x){return a(d=this._calendar[d]||this._calendar.sameElse)?d.call(b,x):d},we.longDateFormat=function(d){var b=this._longDateFormat[d],x=this._longDateFormat[d.toUpperCase()];return b||!x?b:(this._longDateFormat[d]=x.match(W).map((function(d){return"MMMM"===d||"MM"===d||"DD"===d||"dddd"===d?d.slice(1):d})).join(""),this._longDateFormat[d])},we.invalidDate=function(){return this._invalidDate},we.ordinal=function(d){return this._ordinal.replace("%d",d)},we.preparse=hn,we.postformat=hn,we.relativeTime=function(d,b,x,T){var D=this._relativeTime[x];return a(D)?D(d,b,x,T):D.replace(/%d/i,d)},we.pastFuture=function(d,b){return a(d=this._relativeTime[0<d?"future":"past"])?d(b):d.replace(/%s/i,b)},we.set=function(d){var b,x;for(x in d)c(d,x)&&(a(b=d[x])?this[x]=b:this["_"+x]=b);this._config=d,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},we.eras=function(d,b){for(var x,T=this._eras||P("en")._eras,D=0,z=T.length;D<z;++D){switch(_typeof(T[D].since)){case"string":x=_(T[D].since).startOf("day"),T[D].since=x.valueOf()}switch(_typeof(T[D].until)){case"undefined":T[D].until=1/0;break;case"string":x=_(T[D].until).startOf("day").valueOf(),T[D].until=x.valueOf()}}return T},we.erasParse=function(d,b,x){var T,D,z,H,W,U=this.eras();for(d=d.toUpperCase(),T=0,D=U.length;T<D;++T)if(z=U[T].name.toUpperCase(),H=U[T].abbr.toUpperCase(),W=U[T].narrow.toUpperCase(),x)switch(b){case"N":case"NN":case"NNN":if(H===d)return U[T];break;case"NNNN":if(z===d)return U[T];break;case"NNNNN":if(W===d)return U[T]}else if(0<=[z,H,W].indexOf(d))return U[T]},we.erasConvertYear=function(d,b){var x=d.since<=d.until?1:-1;return void 0===b?_(d.since).year():_(d.since).year()+(b-d.offset)*x},we.erasAbbrRegex=function(d){return c(this,"_erasAbbrRegex")||an.call(this),d?this._erasAbbrRegex:this._erasRegex},we.erasNameRegex=function(d){return c(this,"_erasNameRegex")||an.call(this),d?this._erasNameRegex:this._erasRegex},we.erasNarrowRegex=function(d){return c(this,"_erasNarrowRegex")||an.call(this),d?this._erasNarrowRegex:this._erasRegex},we.months=function(d,b){return d?(y(this._months)?this._months:this._months[(this._months.isFormat||Le).test(b)?"format":"standalone"])[d.month()]:y(this._months)?this._months:this._months.standalone},we.monthsShort=function(d,b){return d?(y(this._monthsShort)?this._monthsShort:this._monthsShort[Le.test(b)?"format":"standalone"])[d.month()]:y(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},we.monthsParse=function(d,b,x){var T,D;if(this._monthsParseExact)return function(d,b,x){var T,D,z;d=d.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],T=0;T<12;++T)z=l([2e3,T]),this._shortMonthsParse[T]=this.monthsShort(z,"").toLocaleLowerCase(),this._longMonthsParse[T]=this.months(z,"").toLocaleLowerCase();return x?"MMM"===b?-1!==(D=Te.call(this._shortMonthsParse,d))?D:null:-1!==(D=Te.call(this._longMonthsParse,d))?D:null:"MMM"===b?-1!==(D=Te.call(this._shortMonthsParse,d))||-1!==(D=Te.call(this._longMonthsParse,d))?D:null:-1!==(D=Te.call(this._longMonthsParse,d))||-1!==(D=Te.call(this._shortMonthsParse,d))?D:null}.call(this,d,b,x);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),T=0;T<12;T++){if(D=l([2e3,T]),x&&!this._longMonthsParse[T]&&(this._longMonthsParse[T]=new RegExp("^"+this.months(D,"").replace(".","")+"$","i"),this._shortMonthsParse[T]=new RegExp("^"+this.monthsShort(D,"").replace(".","")+"$","i")),x||this._monthsParse[T]||(D="^"+this.months(D,"")+"|^"+this.monthsShort(D,""),this._monthsParse[T]=new RegExp(D.replace(".",""),"i")),x&&"MMMM"===b&&this._longMonthsParse[T].test(d))return T;if(x&&"MMM"===b&&this._shortMonthsParse[T].test(d))return T;if(!x&&this._monthsParse[T].test(d))return T}},we.monthsRegex=function(d){return this._monthsParseExact?(c(this,"_monthsRegex")||je.call(this),d?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=Ve),this._monthsStrictRegex&&d?this._monthsStrictRegex:this._monthsRegex)},we.monthsShortRegex=function(d){return this._monthsParseExact?(c(this,"_monthsRegex")||je.call(this),d?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=Ne),this._monthsShortStrictRegex&&d?this._monthsShortStrictRegex:this._monthsShortRegex)},we.week=function(d){return Be(d,this._week.dow,this._week.doy).week},we.firstDayOfYear=function(){return this._week.doy},we.firstDayOfWeek=function(){return this._week.dow},we.weekdays=function(d,b){return b=y(this._weekdays)?this._weekdays:this._weekdays[d&&!0!==d&&this._weekdays.isFormat.test(b)?"format":"standalone"],!0===d?Je(b,this._week.dow):d?b[d.day()]:b},we.weekdaysMin=function(d){return!0===d?Je(this._weekdaysMin,this._week.dow):d?this._weekdaysMin[d.day()]:this._weekdaysMin},we.weekdaysShort=function(d){return!0===d?Je(this._weekdaysShort,this._week.dow):d?this._weekdaysShort[d.day()]:this._weekdaysShort},we.weekdaysParse=function(d,b,x){var T,D;if(this._weekdaysParseExact)return function(d,b,x){var T,D,z;d=d.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],T=0;T<7;++T)z=l([2e3,1]).day(T),this._minWeekdaysParse[T]=this.weekdaysMin(z,"").toLocaleLowerCase(),this._shortWeekdaysParse[T]=this.weekdaysShort(z,"").toLocaleLowerCase(),this._weekdaysParse[T]=this.weekdays(z,"").toLocaleLowerCase();return x?"dddd"===b?-1!==(D=Te.call(this._weekdaysParse,d))?D:null:"ddd"===b?-1!==(D=Te.call(this._shortWeekdaysParse,d))?D:null:-1!==(D=Te.call(this._minWeekdaysParse,d))?D:null:"dddd"===b?-1!==(D=Te.call(this._weekdaysParse,d))||-1!==(D=Te.call(this._shortWeekdaysParse,d))||-1!==(D=Te.call(this._minWeekdaysParse,d))?D:null:"ddd"===b?-1!==(D=Te.call(this._shortWeekdaysParse,d))||-1!==(D=Te.call(this._weekdaysParse,d))||-1!==(D=Te.call(this._minWeekdaysParse,d))?D:null:-1!==(D=Te.call(this._minWeekdaysParse,d))||-1!==(D=Te.call(this._weekdaysParse,d))||-1!==(D=Te.call(this._shortWeekdaysParse,d))?D:null}.call(this,d,b,x);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),T=0;T<7;T++){if(D=l([2e3,1]).day(T),x&&!this._fullWeekdaysParse[T]&&(this._fullWeekdaysParse[T]=new RegExp("^"+this.weekdays(D,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[T]=new RegExp("^"+this.weekdaysShort(D,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[T]=new RegExp("^"+this.weekdaysMin(D,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[T]||(D="^"+this.weekdays(D,"")+"|^"+this.weekdaysShort(D,"")+"|^"+this.weekdaysMin(D,""),this._weekdaysParse[T]=new RegExp(D.replace(".",""),"i")),x&&"dddd"===b&&this._fullWeekdaysParse[T].test(d))return T;if(x&&"ddd"===b&&this._shortWeekdaysParse[T].test(d))return T;if(x&&"dd"===b&&this._minWeekdaysParse[T].test(d))return T;if(!x&&this._weekdaysParse[T].test(d))return T}},we.weekdaysRegex=function(d){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||st.call(this),d?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=Xe),this._weekdaysStrictRegex&&d?this._weekdaysStrictRegex:this._weekdaysRegex)},we.weekdaysShortRegex=function(d){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||st.call(this),d?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ke),this._weekdaysShortStrictRegex&&d?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},we.weekdaysMinRegex=function(d){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||st.call(this),d?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Qe),this._weekdaysMinStrictRegex&&d?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},we.isPM=function(d){return"p"===(d+"").toLowerCase().charAt(0)},we.meridiem=function(d,b,x){return 11<d?x?"pm":"PM":x?"am":"AM"},ft("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(d){var b=d%10;return d+(1===M(d%100/10)?"th":1==b?"st":2==b?"nd":3==b?"rd":"th")}}),_.lang=e("moment.lang is deprecated. Use moment.locale instead.",ft),_.langData=e("moment.langData is deprecated. Use moment.localeData instead.",P);var Rt=Math.abs;function yn(d,b,x,T){return b=C(b,x),d._milliseconds+=T*b._milliseconds,d._days+=T*b._days,d._months+=T*b._months,d._bubble()}function gn(d){return d<0?Math.floor(d):Math.ceil(d)}function wn(d){return 4800*d/146097}function pn(d){return 146097*d/4800}function kn(d){return function(){return this.as(d)}}function Mn(d){return function(){return this.isValid()?this._data[d]:NaN}}te=kn("ms"),ne=kn("s"),he=kn("m"),ie=kn("h"),Pe=kn("d"),de=kn("w"),ce=kn("M"),Fe=kn("Q"),xe=kn("y"),oe=te;fe=Mn("milliseconds"),se=Mn("seconds"),pe=Mn("minutes"),ke=Mn("hours"),we=Mn("days");var jt=Mn("months"),en=Mn("years"),ln=Math.round,vn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};var bn=Math.abs;function Tn(d){return(0<d)-(d<0)||+d}function xn(){var d,b,x,T,D,z,H,W,U,Y,Z;return this.isValid()?(d=bn(this._milliseconds)/1e3,b=bn(this._days),x=bn(this._months),(W=this.asSeconds())?(T=m(d/60),D=m(T/60),d%=60,T%=60,z=m(x/12),x%=12,H=d?d.toFixed(3).replace(/\.?0+$/,""):"",U=Tn(this._months)!==Tn(W)?"-":"",Y=Tn(this._days)!==Tn(W)?"-":"",Z=Tn(this._milliseconds)!==Tn(W)?"-":"",(W<0?"-":"")+"P"+(z?U+z+"Y":"")+(x?U+x+"M":"")+(b?Y+b+"D":"")+(D||T||d?"T":"")+(D?Z+D+"H":"")+(T?Z+T+"M":"")+(d?Z+H+"S":"")):"P0D"):this.localeData().invalidDate()}var _n=Ct.prototype;return _n.isValid=function(){return this._isValid},_n.abs=function(){var d=this._data;return this._milliseconds=Rt(this._milliseconds),this._days=Rt(this._days),this._months=Rt(this._months),d.milliseconds=Rt(d.milliseconds),d.seconds=Rt(d.seconds),d.minutes=Rt(d.minutes),d.hours=Rt(d.hours),d.months=Rt(d.months),d.years=Rt(d.years),this},_n.add=function(d,b){return yn(this,d,b,1)},_n.subtract=function(d,b){return yn(this,d,b,-1)},_n.as=function(d){if(!this.isValid())return NaN;var b,x,T=this._milliseconds;if("month"===(d=o(d))||"quarter"===d||"year"===d)switch(b=this._days+T/864e5,x=this._mont
817hs+wn(b),d){case"month":return x;case"quarter":return x/3;case"year":return x/12}else switch(b=this._days+Math.round(pn(this._months)),d){case"week":return b/7+T/6048e5;case"day":return b+T/864e5;case"hour":return 24*b+T/36e5;case"minute":return 1440*b+T/6e4;case"second":return 86400*b+T/1e3;case"millisecond":return Math.floor(864e5*b)+T;default:throw new Error("Unknown unit "+d)}},_n.asMilliseconds=te,_n.asSeconds=ne,_n.asMinutes=he,_n.asHours=ie,_n.asDays=Pe,_n.asWeeks=de,_n.asMonths=ce,_n.asQuarters=Fe,_n.asYears=xe,_n.valueOf=oe,_n._bubble=function(){var d=this._milliseconds,b=this._days,x=this._months,T=this._data;return 0<=d&&0<=b&&0<=x||d<=0&&b<=0&&x<=0||(d+=864e5*gn(pn(x)+b),x=b=0),T.milliseconds=d%1e3,d=m(d/1e3),T.seconds=d%60,d=m(d/60),T.minutes=d%60,d=m(d/60),T.hours=d%24,b+=m(d/24),x+=d=m(wn(b)),b-=gn(pn(d)),d=m(x/12),x%=12,T.days=b,T.months=x,T.years=d,this},_n.clone=function(){return C(this)},_n.get=function(d){return d=o(d),this.isValid()?this[d+"s"]():NaN},_n.milliseconds=fe,_n.seconds=se,_n.minutes=pe,_n.hours=ke,_n.days=we,_n.weeks=function(){return m(this.days()/7)},_n.months=jt,_n.years=en,_n.humanize=function(d,b){var x,T;return this.isValid()?(x=!1,T=vn,"object"==_typeof(d)&&(b=d,d=!1),"boolean"==typeof d&&(x=d),"object"==_typeof(b)&&(T=Object.assign({},vn,b),null!=b.s)&&null==b.ss&&(T.ss=b.s-1),b=function(d,b,x,T){var D=C(d).abs(),z=ln(D.as("s")),H=ln(D.as("m")),W=ln(D.as("h")),U=ln(D.as("d")),Y=ln(D.as("M")),Z=ln(D.as("w"));return D=ln(D.as("y")),z=(z<=x.ss?["s",z]:z<x.s&&["ss",z])||(H<=1?["m"]:H<x.m&&["mm",H])||(W<=1?["h"]:W<x.h&&["hh",W])||(U<=1?["d"]:U<x.d&&["dd",U]),(z=(z=null!=x.w?z||(Z<=1?["w"]:Z<x.w&&["ww",Z]):z)||(Y<=1?["M"]:Y<x.M&&["MM",Y])||(D<=1?["y"]:["yy",D]))[2]=b,z[3]=0<+d,z[4]=T,function(d,b,x,T,D){return D.relativeTime(b||1,!!x,d,T)}.apply(null,z)}(this,!x,T,d=this.localeData()),x&&(b=d.pastFuture(+this,b)),d.postformat(b)):this.localeData().invalidDate()},_n.toISOString=xn,_n.toString=xn,_n.toJSON=xn,_n.locale=Xt,_n.localeData=Kt,_n.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",xn),_n.lang=Ye,s("X",0,0,"unix"),s("x",0,0,"valueOf"),h("x",me),h("X",/[+-]?\d+(\.\d{1,3})?/),v("X",(function(d,b,x){x._d=new Date(1e3*parseFloat(d))})),v("x",(function(d,b,x){x._d=new Date(M(d))})),_.version="2.30.1",b=R,_.fn=_e,_.min=function(){return Pt("isBefore",[].slice.call(arguments,0))},_.max=function(){return Pt("isAfter",[].slice.call(arguments,0))},_.now=function(){return Date.now?Date.now():+new Date},_.utc=l,_.unix=function(d){return R(1e3*d)},_.months=function(d,b){return fn(d,b,"months")},_.isDate=V,_.locale=ft,_.invalid=I,_.duration=C,_.isMoment=k,_.weekdays=function(d,b,x){return mn(d,b,x,"weekdays")},_.parseZone=function(){return R.apply(null,arguments).parseZone()},_.localeData=P,_.isDuration=Ut,_.monthsShort=function(d,b){return fn(d,b,"monthsShort")},_.weekdaysMin=function(d,b,x){return mn(d,b,x,"weekdaysMin")},_.defineLocale=mt,_.updateLocale=function(d,b){var x,T;return null!=b?(T=tt,null!=nt[d]&&null!=nt[d].parentLocale?nt[d].set(X(nt[d]._config,b)):(b=X(T=null!=(x=ct(d))?x._config:T,b),null==x&&(b.abbr=d),(T=new K(b)).parentLocale=nt[d],nt[d]=T),ft(d)):null!=nt[d]&&(null!=nt[d].parentLocale?(nt[d]=nt[d].parentLocale,d===ft()&&ft(d)):null!=nt[d]&&delete nt[d]),nt[d]},_.locales=function(){return H(nt)},_.weekdaysShort=function(d,b,x){return mn(d,b,x,"weekdaysShort")},_.normalizeUnits=o,_.relativeTimeRounding=function(d){return void 0===d?ln:"function"==typeof d&&(ln=d,!0)},_.relativeTimeThreshold=function(d,b){return void 0!==vn[d]&&(void 0===b?vn[d]:(vn[d]=b,"s"===d&&(vn.ss=b-1),!0))},_.calendarFormat=function(d,b){return(d=d.diff(b,"days",!0))<-6?"sameElse":d<-1?"lastWeek":d<0?"lastDay":d<1?"sameDay":d<2?"nextDay":d<7?"nextWeek":"sameElse"},_.prototype=_e,_.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},_}))}).call(this,x("YuTi")(d))},VF6F:function(d,b,x){"use strict";var T=x("AM7I"),D=x("PrET"),z=D(T("String.prototype.indexOf"));d.exports=function(d,b){var x=T(d,!!b);return"function"==typeof x&&z(d,".prototype.")>-1?D(x):x}},VZf0:function(d,b,x){"use strict";var T=x("EVdn"),D=x.n(T),z=function(){function CustomStickyHeader(d){this.initModule(d)}return CustomStickyHeader.prototype.initModule=function(d){this.addScrollDirectionListener()},CustomStickyHeader.prototype.addScrollDirectionListener=function(){var d=window.pageYOffset||document.documentElement.scrollTop,b=null,x=D()('[data-module="sticky-header"]');
817D()(window).on("scroll.stickyHeader",(function(){var T=window.pageYOffset||document.documentElement.scrollTop,D=T-d;if(!(Math.abs(D)<10||T<100)){var z=D>0?"down":"up";z!==b&&("down"===z?(x.removeClass("affix-top").addClass("affix"),document.activeElement&&"header-search-field"===document.activeElement.id&&document.activeElement.blur()):x.removeClass("affix").addClass("affix-top"),b=z),d=T}}))},CustomStickyHeader}();b.a=z},VbLK:function(d,b,x){"use strict";function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}var T=String.prototype.valueOf,D=Object.prototype.toString,z=x("B6Q+")();d.exports=function(d){return"string"==typeof d||"object"===_typeof(d)&&(z?function(d){try{return T.call(d),!0}catch(d){return!1}}(d):"[object String]"===D.call(d))}},VnTP:function(d){d.exports={fontFamily:"Arial, Helvetica, sans-serif",values:[{avg:1.6878916422526042,height:3.03125,size:3},{avg:4.501044379340278,height:8.54296875,size:8},{avg:5.626305474175347,height:11.0234375,size:10},{avg:6.751566569010417,height:13.50390625,size:12},{avg:9.002088758680555,height:18,size:16},{avg:11.252610948350695,height:22.05078125,size:20},{avg:18.00417751736111,height:36,size:32},{avg:27.006266276041668,height:53.5234375,size:48}]}},VwiP:function(d,b,x){"use strict";var T=x("U+fN"),D=x("DSU0"),z=Object;d.exports=T((function(){if(null==this||this!==z(this))throw new D("RegExp.prototype.flags getter called on non-object");var d="";return this.hasIndices&&(d+="d"),this.global&&(d+="g"),this.ignoreCase&&(d+="i"),this.multiline&&(d+="m"),this.dotAll&&(d+="s"),this.unicode&&(d+="u"),this.unicodeSets&&(d+="v"),this.sticky&&(d+="y"),d}),"get flags",!0)},WDQk:function(d,b,x){"use strict";var T=x("1u+m");d.exports=function(){return"function"==typeof Object.is?Object.is:T}},WPbS:function(d,b){var x,T,D,z;window.App=window.App||{},App.PressDownload=(x={initialItems:9,itemsPerRow:void 0},T={"max:xs":{initialItems:5,itemsPerRow:void 0},"max:sm":{initialItems:6,itemsPerRow:void 0}},D=function(d){for(var b in T)if(App.matchesScreenDimensions(b,App.breakpoints))return T[b][d]||x[d];return x[d]},z=function(d){var b=d.find('[data-action="show-more"]'),x=d.find('[data-role="grid-item"]').length;if(0!==b.length&&x>D("initialItems")){var T=":nth-child(n+"+(D("initialItems")+1)+")";d.find('[data-role="grid-item"]:not('+T+")").show(),d.find('[data-role="grid-item"]'+T).hide()}0!==b.length&&b.toggle(x>D("initialItems"))},{init:function(){$('[data-module~="press-download"]').each((function(){var d;d=$(this),z(d),d.on("click",'[data-action="show-more"]',(function(b){b.preventDefault(),D("itemsPerRow")?d.find('[data-role="grid-item"]:not(:visible):lt('+D("itemsPerRow")+")").show():d.find('[data-role="grid-item"]:not(:visible)').show(),0===d.find('[data-role="grid-item"]:not(:visible)').length&&$(this).hide()})),$(window).on("resize.pressDownload",window._.throttle((function(){z(d)}),25))}))}})},WeaP:function(d,b,x){"use strict";function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}var T=x("1seS"),D="function"==typeof Symbol&&"symbol"===_typeof(Symbol("foo")),z=Object.prototype.toString,H=Array.prototype.concat,W=x("eZIG"),U=x("ZLCw")(),defineProperty=function(d,b,x,T){if(b in d)if(!0===T){if(d[b]===x)return}else if("function"!=typeof(D=T)||"[object Function]"!==z.call(D)||!T())return;var D;U?W(d,b,x,!0):W(d,b,x)},defineProperties=function(d,b){var x=arguments.length>2?arguments[2]:{},z=T(b);D&&(z=H.call(z,Object.getOwnPropertySymbols(b)));for(var W=0;W<z.length;W+=1)defineProperty(d,z[W],b[z[W]],x[z[W]])};defineProperties.supportsDescriptors=!!U,d.exports=defineProperties},Xkac:function(d,b,x){"use strict";var T=function(){function CustomOverlay(d,b){this.imageCB=b,this.initOverlay(),this.bounds=new google.maps.LatLngBounds(new google.maps.LatLng(d[1],d[0]),new google.maps.LatLng(d[3],d[2]))}return CustomOverlay.prototype.initOverlay=function(){var d=this;this.parent=new google.maps.OverlayView,this.parent.onAdd=function(){return d.onAdd()},this.parent.draw=function(){return d.draw()},this.parent.onRemove=function(){return d.onRemove()}},CustomOverlay.prototype.onAdd=function(){var d=this.imageCB(this.parent.getProjection());this.div=document.createElement("div"),this.div.style.position="absolute",this.div.appendChild(d);var b=this.parent.getPanes();b&&b.overlayLayer.appendChild(this.div)},CustomOverlay.prototype.draw=function(){if(this.div){var d=this.parent.getProjection(),b=d.fromLatLngToDivPixel(this.bounds.getSouthWest
817()),x=d.fromLatLngToDivPixel(this.bounds.getNorthEast());this.div&&(this.div.style.left=b.x+"px",this.div.style.top=x.y+"px",this.div.style.width=x.x-b.x+"px",this.div.style.height=b.y-x.y+"px")}},CustomOverlay.prototype.onRemove=function(){this.div&&this.div.remove()},CustomOverlay.prototype.setMap=function(d){this.parent.setMap(d)},CustomOverlay}(),D=x("byIv"),z=x.n(D),H=x("f66B"),W=x.n(H);function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}function _defineProperties(d,b){for(var x=0;x<b.length;x++){var T=b[x];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(d,T.key,T)}}var U=Object.defineProperty,__name=function(d,b){return U(d,"name",{value:b,configurable:!0})},Y=function(){function _GeojsonEquality(d){var b,x,T;!function(d,b){if(!(d instanceof b))throw new TypeError("Cannot call a class as a function")}(this,_GeojsonEquality),this.direction=!1,this.compareProperties=!0,this.precision=Math.pow(10,-(null!=(b=null==d?void 0:d.precision)?b:17)),this.direction=null!=(x=null==d?void 0:d.direction)&&x,this.compareProperties=null==(T=null==d?void 0:d.compareProperties)||T}var d,b,x;return d=_GeojsonEquality,(b=[{key:"compare",value:function(d,b){var x=this;if(d.type!==b.type)return!1;if(!sameLength(d,b))return!1;switch(d.type){case"Point":return this.compareCoord(d.coordinates,b.coordinates);case"LineString":return this.compareLine(d.coordinates,b.coordinates);case"Polygon":return this.comparePolygon(d,b);case"GeometryCollection":return this.compareGeometryCollection(d,b);case"Feature":return this.compareFeature(d,b);case"FeatureCollection":return this.compareFeatureCollection(d,b);default:if(d.type.startsWith("Multi")){var T=explode(d),D=explode(b);return T.every((function(d){return D.some((function(b){return x.compare(d,b)}))}))}}return!1}},{key:"compareCoord",value:function(d,b){var x=this;return d.length===b.length&&d.every((function(d,T){return Math.abs(d-b[T])<x.precision}))}},{key:"compareLine",value:function(d,b){var x=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,T=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!sameLength(d,b))return!1;var D=d,z=b;if(T&&!this.compareCoord(D[0],z[0])){var H=this.fixStartIndex(z,D);if(!H)return!1;z=H}var W=this.compareCoord(D[x],z[x]);return this.direction||W?this.comparePath(D,z):!!this.compareCoord(D[x],z[z.length-(1+x)])&&this.comparePath(D.slice().reverse(),z)}},{key:"fixStartIndex",value:function(d,b){for(var x,T=-1,D=0;D<d.length;D++)if(this.compareCoord(d[D],b[0])){T=D;break}return T>=0&&(x=[].concat(d.slice(T,d.length),d.slice(1,T+1))),x}},{key:"comparePath",value:function(d,b){var x=this;return d.every((function(d,T){return x.compareCoord(d,b[T])}))}},{key:"comparePolygon",value:function(d,b){var x=this;if(this.compareLine(d.coordinates[0],b.coordinates[0],1,!0)){var T=d.coordinates.slice(1,d.coordinates.length),D=b.coordinates.slice(1,b.coordinates.length);return T.every((function(d){return D.some((function(b){return x.compareLine(d,b,1,!0)}))}))}return!1}},{key:"compareGeometryCollection",value:function(d,b){var x=this;return sameLength(d.geometries,b.geometries)&&this.compareBBox(d,b)&&d.geometries.every((function(d,T){return x.compare(d,b.geometries[T])}))}},{key:"compareFeature",value:function(d,b){return d.id===b.id&&(!this.compareProperties||W()(d.properties,b.properties))&&this.compareBBox(d,b)&&this.compare(d.geometry,b.geometry)}},{key:"compareFeatureCollection",value:function(d,b){var x=this;return sameLength(d.features,b.features)&&this.compareBBox(d,b)&&d.features.every((function(d,T){return x.compare(d,b.features[T])}))}},{key:"compareBBox",value:function(d,b){return Boolean(!d.bbox&&!b.bbox)||!(!d.bbox||!b.bbox)&&this.compareCoord(d.bbox,b.bbox)}}])&&_defineProperties(d.prototype,b),x&&_defineProperties(d,x),_GeojsonEquality}();__name(Y,"GeojsonEquality");function sameLength(d,b){return d.coordinates?d.coordinates.length===b.coordinates.length:d.length===b.length}function explode(d){return d.coordinates.map((function(b){return{type:d.type.replace("Multi",""),coordinates:b}}))}__name(sameLength,"sameLength"),__name(explode,"explode");var Z={centimeters:637100880,centimetres:637100880,degrees:360/(2*Math.PI),feet:20902260.511392,inches:6371008.8*39.37,kilometers:6371.0088,kilometres:6371.0088,meters:6371008.8,metres:6371008.8,miles:3958.761333810546,millimeters:6371008800,millimetres:6371008800,nauticalmiles:6371008.8/1852,radians:1,yards:6371008.8*1.0936},J={acres:247105e-9,centimeters:1e4,centimetres:1e4,feet:10.763910417,hectares:1e-4,inches:1550.003100006,kilometers:1e-6,kilometres:1e-6,meters:1,metres:1,miles:386e-9,nauticalmiles:2.9155334959812285e-7,millimeters:1e6,millimetres:1e6,yards:1.195990046};function feature(d,b){var x=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},T={type:"Feature"};return(0===x.id||x.id)&&(T.id=x.id),x.bbox&&(T.bbox=x.bbox),T.properties=b||{},T.geometry=d,T}function point(d,b){var x=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!d)throw new Error("coordinates is required");if(!Array.isArray(d))throw new Error("coordinates must be an Array");if(d.length<2)throw new Error("coordinates must be at least 2 numbers long");if(!isNumber(d[0])||!isNumber(d[1]))throw new Error("coordinates must contain numbers");var T={type:"Point",coordinates:d};return feature(T,b,x)}function polygon(d,b){var x=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},T=!0,D=!1,z=void 0;try{for(var H,W=d[Symbol.iterator]();!(T=(H=W.next()).done);T=!0){var U=H.value;
817if(U.length<4)throw new Error("Each LinearRing of a Polygon must have 4 or more Positions.");if(U[U.length-1].length!==U[0].length)throw new Error("First and last Position are not equivalent.");for(var Y=0;Y<U[U.length-1].length;Y++)if(U[U.length-1][Y]!==U[0][Y])throw new Error("First and last Position are not equivalent.")}}catch(d){D=!0,z=d}finally{try{T||null==W.return||W.return()}finally{if(D)throw z}}var Z={type:"Polygon",coordinates:d};return feature(Z,b,x)}function lineString(d,b){var x=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(d.length<2)throw new Error("coordinates must be an array of two or more positions");var T={type:"LineString",coordinates:d};return feature(T,b,x)}function featureCollection(d){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},x={type:"FeatureCollection"};return b.id&&(x.id=b.id),b.bbox&&(x.bbox=b.bbox),x.features=d,x}function multiLineString(d,b){var x=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},T={type:"MultiLineString",coordinates:d};return feature(T,b,x)}function multiPoint(d,b){var x=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},T={type:"MultiPoint",coordinates:d};return feature(T,b,x)}function multiPolygon(d,b){var x=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},T={type:"MultiPolygon",coordinates:d};return feature(T,b,x)}function radiansToLength(d){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"kilometers",x=Z[b];
817if(!x)throw new Error(b+" units is invalid");return d*x}function lengthToRadians(d){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"kilometers",x=Z[b];if(!x)throw new Error(b+" units is invalid");return d/x}function radiansToDegrees(d){return 180*(d%(2*Math.PI))/Math.PI}function isNumber(d){return!isNaN(d)&&null!==d&&!Array.isArray(d)}function isObject(d){return null!==d&&"object"===_typeof(d)&&!Array.isArray(d)}__name(feature,"feature"),__name((function(d,b){switch(d){case"Point":return point(b).geometry;case"LineString":return lineString(b).geometry;case"Polygon":return polygon(b).geometry;case"MultiPoint":return multiPoint(b).geometry;case"MultiLineString":return multiLineString(b).geometry;case"MultiPolygon":return multiPolygon(b).geometry;default:throw new Error(d+" is invalid")}}),"geometry"),__name(point,"point"),__name((function(d,b){var x=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return featureCollection(d.map((function(d){return point(d,b)})),x)}),"points"),__name(polygon,"polygon"),__name((function(d,b){var x=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return featureCollection(d.map((function(d){return polygon(d,b)})),x)}),"polygons"),__name(lineString,"lineString"),__name((function(d,b){var x=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return featureCollection(d.map((function(d){return lineString(d,b)})),x)}),"lineStrings"),__name(featureCollection,"featureCollection"),__name(multiLineString,"multiLineString"),__name(multiPoint,"multiPoint"),__name(multiPolygon,"multiPolygon"),__name((function(d,b){var x=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},T={type:"GeometryCollection",geometries:d};return feature(T,b,x)}),"geometryCollection"),__name((function(d){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(b&&!(b>=0))throw new Error("precision must be a positive number");var x=Math.pow(10,b||0);return Math.round(d*x)/x}),"round"),__name(radiansToLength,"radiansToLength"),__name(lengthToRadians,"lengthToRadians"),__name((function(d,b){return radiansToDegrees(lengthToRadians(d,b))}),"lengthToDegrees"),__name((function(d){var b=d%360;return b<0&&(b+=360),b}),"bearingToAzimuth"),__name(radiansToDegrees,"radiansToDegrees"),__name((function(d){return d%360*Math.PI/180}),"degreesToRadians"),__name((function(d){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"kilometers",x=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"kilometers";if(!(d>=0))throw new Error("length must be a positive number");return radiansToLength(lengthToRadians(d,b),x)}),"convertLength"),__name((function(d){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"meters",x=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"kilometers";if(!(d>=0))throw new Error("area must be a positive number");var T=J[b];if(!T)throw new Error("invalid original units");var D=J[x];if(!D)throw new Error("invalid final units");return d/T*D}),"convertArea"),__name(isNumber,"isNumber"),__name(isObject,"isObject"),__name((function(d){if(!d)throw new Error("bbox is required");if(!Array.isArray(d))throw new Error("bbox must be an Array");if(4!==d.length&&6!==d.length)throw new Error("bbox must be an Array of 4 or 6 numbers");d.forEach((function(d){if(!isNumber(d))throw new Error("bbox must only contain numbers")}))}),"validateBBox"),__name((function(d){if(!d)throw new Error("id is required");if(-1===["string","number"].indexOf(_typeof(d)))throw new Error("id must be a number or a string")}),"validateId");var ee=Object.defineProperty,esm_name=function(d,b){return ee(d,"name",{value:b,configurable:!0})};function coordEach(d,b,x){if(null!==d)for(var T,D,z,H,W,U,Y,Z,J=0,ee=0,te=d.type,ne="FeatureCollection"===te,ie="Feature"===te,oe=ne?d.features.length:1,se=0;se<oe;se++){W=(Z=!!(Y=ne?d.features[se].geometry:ie?d.geometry:d)&&"GeometryCollection"===Y.type)?Y.geometries.length:1;for(var le=0;le<W;le++){var ce=0,de=0;if(null!==(H=Z?Y.geometries[le]:Y)){U=H.coordinates;var he=H.type;switch(J=!x||"Polygon"!==he&&"MultiPolygon"!==he?0:1,he){case null:break;case"Point":if(!1===b(U,ee,se,ce,de))return!1;ee++,ce++;break;case"LineString":case"MultiPoint":for(T=0;T<U.length;T++){if(!1===b(U[T],ee,se,ce,de))return!1;ee++,"MultiPoint"===he&&ce++}"LineString"===he&&ce++;break;case"Polygon":case"MultiLineString":for(T=0;T<U.length;T++){for(D=0;D<U[T].length-J;D++){if(!1===b(U[T][D],ee,se,ce,de))return!1;ee++}"MultiLineString"===he&&ce++,"Polygon"===he&&de++}"Polygon"===he&&ce++;break;case"MultiPolygon":for(T=0;T<U.length;T++){for(de=0,D=0;D<U[T].length;D++){for(z=0;z<U[T][D].length-J;z++){if(!1===b(U[T][D][z],ee,se,ce,de))return!1;ee++}de++}ce++}break;case"GeometryCollection":for(T=0;T<H.geometries.length;T++)if(!1===coordEach(H.geometries[T],b,x))return!1;break;default:throw new Error("Unknown Geometry Type")}}}}}function propEach(d,b){var x;switch(d.type){case"FeatureCollection":for(x=0;x<d.features.length&&!1!==b(d.features[x].properties,x);x++);break;case"Feature":b(d.properties,0)}}
vendor: 2,386 bytes, line 817
817function featureEach(d,b){if("Feature"===d.type)b(d,0);else if("FeatureCollection"===d.type)for(var x=0;x<d.features.length&&!1!==b(d.features[x],x);x++);}function geomEach(d,b){var x,T,D,z,H,W,U,Y,Z,J,ee=0,te="FeatureCollection"===d.type,ne="Feature"===d.type,ie=te?d.features.length:1;for(x=0;x<ie;x++){for(W=te?d.features[x].geometry:ne?d.geometry:d,Y=te?d.features[x].properties:ne?d.properties:{},Z=te?d.features[x].bbox:ne?d.bbox:void 0,J=te?d.features[x].id:ne?d.id:void 0,H=(U=!!W&&"GeometryCollection"===W.type)?W.geometries.length:1,D=0;D<H;D++)if(null!==(z=U?W.geometries[D]:W))switch(z.type){case"Point":case"LineString":case"MultiPoint":case"Polygon":case"MultiLineString":case"MultiPolygon":if(!1===b(z,ee,Y,Z,J))return!1;break;case"GeometryCollection":for(T=0;T<z.geometries.length;T++)if(!1===b(z.geometries[T],ee,Y,Z,J))return!1;break;default:throw new Error("Unknown Geometry Type")}else if(!1===b(null,ee,Y,Z,J))return!1;ee++}}function flattenEach(d,b){geomEach(d,(function(d,x,T,D,z){var H,W=null===d?null:d.type;switch(W){case null:case"Point":case"LineString":case"Polygon":return!1!==b(feature(d,T,{bbox:D,id:z}),x,0)&&void 0}switch(W){case"MultiPoint":H="Point";break;case"MultiLineString":H="LineString";break;case"MultiPolygon":H="Polygon"}for(var U=0;U<d.coordinates.length;U++){var Y=d.coordinates[U];if(!1===b(feature({type:H,coordinates:Y},T),x,U))return!1}}))}function segmentEach(d,b){flattenEach(d,(function(d,x,T){var D=0;if(d.geometry){var z=d.geometry.type;if("Point"!==z&&"MultiPoint"!==z){var H,W=0,U=0,Y=0;return!1!==coordEach(d,(function(z,Z,J,ee,te){if(void 0===H||x>W||ee>U||te>Y)return H=z,W=x,U=ee,Y=te,void(D=0);var ne=lineString([H,z],d.properties);if(!1===b(ne,x,T,te,D))return!1;D++,H=z}))&&void 0}}}))}function lineEach(d,b){if(!d)throw new Error("geojson is required");flattenEach(d,(function(d,x,T){if(null!==d.geometry){var D=d.geometry.type,z=d.geometry.coordinates;switch(D){case"LineString":if(!1===b(d,x,T,0,0))return!1;break;case"Polygon":for(var H=0;H<z.length;H++)if(!1===b(lineString(z[H],d.properties),x,T,H))return!1}}}))}esm_name(coordEach,"coordEach"),esm_name((function(d,b,x,T){var D=x;return coordEach(d,(function(d,T,z,H,W){D=0===T&&void 0===x?d:b(D,d,T,z,H,W)}),T),D}),"coordReduce"),esm_name(propEach,"propEach"),esm_name((function(d,b,x){var T=x;return propEach(d,(function(d,D){T=0===D&&void 0===x?d:b(T,d,D)})),T}
817),"propReduce"),esm_name(featureEach,"featureEach"),esm_name((function(d,b,x){var T=x;return featureEach(d,(function(d,D){T=0===D&&void 0===x?d:b(T,d,D)})),T}),"featureReduce"),esm_name((function(d){var b=[];return coordEach(d,(function(d){b.push(d)})),b}),"coordAll"),esm_name(geomEach,"geomEach"),esm_name((function(d,b,x){var T=x;return geomEach(d,(function(d,D,z,H,W){T=0===D&&void 0===x?d:b(T,d,D,z,H,W)})),T}),"geomReduce"),esm_name(flattenEach,"flattenEach"),esm_name((function(d,b,x){var T=x;return flattenEach(d,(function(d,D,z){T=0===D&&0===z&&void 0===x?d:b(T,d,D,z)})),T}),"flattenReduce"),esm_name(segmentEach,"segmentEach"),esm_name((function(d,b,x){var T=x,D=!1;return segmentEach(d,(function(d,z,H,W,U){T=!1===D&&void 0===x?d:b(T,d,z,H,W,U),D=!0})),T}),"segmentReduce"),esm_name(lineEach,"lineEach"),esm_name((function(d,b,x){var T=x;return lineEach(d,(function(d,D,z,H){T=0===D&&void 0===x?d:b(T,d,D,z,H)})),T}),"lineReduce"),esm_name((function(d,b){if(!isObject(b=b||{}))throw new Error("options is invalid");var x,T=b.featureIndex||0,D=b.multiFeatureIndex||0,z=b.geometryIndex||0,H=b.segmentIndex||0,W=b.properties;switch(d.type){case"FeatureCollection":T<0&&(T=d.features.length+T),W=W||d.features[T].properties,x=d.features[T].geometry;break;case"Feature":W=W||d.properties,x=d.geometry;break;case"Point":case"MultiPoint":return null;case"LineString":case"Polygon":case"MultiLineString":case"MultiPolygon":x=d;break;default:throw new Error("geojson is invalid")}if(null===x)return null;var U=x.coordinates;switch(x.type){case"Point":case"MultiPoint":return null;case"LineString":return H<0&&(H=U.length+H-1),lineString([U[H],U[H+1]],W,b);case"Polygon":return z<0&&(z=U.length+z),H<0&&(H=U[z].length+H-1),lineString([U[z][H],U[z][H+1]],W,b);case"MultiLineString":return D<0&&(D=U.length+D),H<0&&(H=U[D].length+H-1),lineString([U[D][H],U[D][H+1]],W,b);case"MultiPolygon":return D<0&&(D=U.length+D),z<0&&(z=U[D].length+z),H<0&&(H=U[D][z].length-H-1),lineString([U[D][z][H],U[D][z][H+1]],W,b)}throw new Error("geojson is invalid")}),"findSegment"),esm_name((function(d,b){if(!isObject(b=b||{}))throw new Error("options is invalid");var x,T=b.featureIndex||0,D=b.multiFeatureIndex||0,z=b.geometryIndex||0,H=b.coordIndex||0,W=b.properties;switch(d.type){case"FeatureCollection":T<0&&(T=d.features.length+T),W=W||d.features[T].properties,x=d.features[T].geometry;break;case"Feature":W=W||d.properties,x=d.geometry;break;case"Point":case"MultiPoint":return null;case"LineString":case"Polygon":case"MultiLineString":case"MultiPolygon":x=d;break;default:throw new Error("geojson is invalid")}if(null===x)return null;var U=x.coordinates;switch(x.type){case"Point":return point(U,W,b);case"MultiPoint":return D<0&&(D=U.length+D),point(U[D],W,b);case"LineString":return H<0&&(H=U.length+H),point(U[H],W,b);case"Polygon":return z<0&&(z=U.length+z),H<0&&(H=U[z].length+H),point(U[z][H],W,b);case"MultiLineString":return D<0&&(D=U.length+D),H<0&&(H=U[D].length+H),point(U[D][H],W,b);case"MultiPolygon":return D<0&&(D=U.length+D),z<0&&(z=U[D].length+z),H<0&&(H=U[D][z].length-H),point(U[D][z][H],W,b)}throw new Error("geojson is invalid")}),"findPoint");function esm_bbox(d){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null!=d.bbox&&!0!==b.recompute)return d.bbox;var x=[1/0,1/0,-1/0,-1/0];return coordEach(d,(function(d){x[0]>d[0]&&(x[0]=d[0]),x[1]>d[1]&&(x[1]=d[1]),x[2]<d[0]&&(x[2]=d[0]),x[3]<d[1]&&(x[3]=d[1])})),x}(0,Object.defineProperty)(esm_bbox,"name",{value:"bbox",configurable:!0});var __awaiter=function(d,b,x,T){return new(x||(x=Promise))((function(D,z){function fulfilled(d){try{step(T.next(d))}catch(d){z(d)}}function rejected(d){try{step(T.throw(d))}catch(d){z(d)}}function step(d){d.done?D(d.value):new x((function(b){b(d.value)})).then(fulfilled,rejected)}step((T=T.apply(d,b||[])).next())}))},__generator=function(d,b){var x,T,D,z,H={label:0,sent:function(){if(1&D[0])throw D[1];return D[1]},trys:[],ops:[]};return z={next:verb(0),throw:verb(1),return:verb(2)},"function"==typeof Symbol&&(z[Symbol.iterator]=function(){return this}),z;function verb(z){return function(W){return function(z){if(x)throw new TypeError("Generator is already executing.");for(;H;)try{if(x=1,T&&(D=2&z[0]?T.return:z[0]?T.throw||((D=T.return)&&D.call(T),0):T.next)&&!(D=D.call(T,z[1])).done)return D;switch(T=0,D&&(z=[2&z[0],D.value]),z[0]){case 0:case 1:D=z;break;case 4:return H.label++,{value:z[1],done:!1};case 5:H.label++,T=z[1],z=[0];continue;case 7:z=H.ops.pop(),H.trys.pop();continue;default:if(!(D=H.trys,(D=D.length>0&&D[D.length-1])||6!==z[0]&&2!==z[0])){H=0;continue}if(3===z[0]&&(!D||z[1]>
817D[0]&&z[1]<D[3])){H.label=z[1];break}if(6===z[0]&&H.label<D[1]){H.label=D[1],D=z;break}if(D&&H.label<D[2]){H.label=D[2],H.ops.push(z);break}D[2]&&H.ops.pop(),H.trys.pop();continue}z=b.call(d,H)}catch(d){z=[6,d],T=0}finally{x=D=0}if(5&z[0])throw z[1];return{value:z[0]?z[1]:void 0,done:!0}}([z,W])}}},te=function(){function CoverageMap(d){this.currentMarker=null,this.overlays=[],this.overlayGeoJson={},this.MapLayerFilters=[],this.$element=d,this.$map=this.$element.find('[data-role="map"]'),this.$locateUser=this.$element.find('[data-action="locate-user"]'),this.$autocomplete=this.$element.find('[data-role="autocomplete"]'),this.$form=this.$element.find('[data-role="form"]'),this.pins=this.$map.data("pins"),this.clientlib=this.$map.data("clientlib"),this.geoLocationErrorMessage=this.$element.data("geolocation-error-message"),this.initModule()}return CoverageMap.prototype.initModule=function(){var d=this,b=this.$map.data("api-key"),x=["v=3","key="+b,"callback=window.CoverageMap.initMap","libraries=places"];if(this.$form.on("submit",(function(b){d.doGeoCoding(d.$autocomplete.val()),b.preventDefault()})),0!==this.$map.length){if(!b)return void window.alert("Missing API key for Google Maps!");this.$map.append("<div></div>"),0===$("#google-maps-api").length&&$("body").append('<script id="google-maps-api" src="https://maps.googleapis.com/maps/api/js?'+x.join("&")+'"><\/script>')}},CoverageMap.prototype.addSingleMarker=function(d,b,x){var T=this,D=new google.maps.Marker({position:new google.maps.LatLng(b.latitude,b.longitude),map:d,clickable:x,zIndex:100,icon:{url:"/etc.clientlibs/"+this.clientlib+"/clientlib-site/resources/dist/images/icons/pin_icon.svg",scaledSize:new google.maps.Size(40,40)}});return x&&D.addListener("click",(function(d){T.showOverlay(b,D)})),D},CoverageMap.prototype.closeAllOverlays=function(){for(var d=0;d<this.overlays.length;d++)this.overlays[d].close();this.overlays=[]},CoverageMap.prototype.showOverlay=function(d,b){this.closeAllOverlays();var x=this.$element.find('[data-role="overlay-template"]').clone();x.removeClass("hidden"),x.find("h4").text(d.title),d.image?x.find("img").attr("src",d.image):(x.find('[data-role="image-container"]').remove(),x.find('[data-role="text-container"]').removeClass("col-xs-9").addClass("col-xs-12")),x.find('[data-role="text"]').html(d.text);var T=new google.maps.InfoWindow({content:x.get(0),maxWidth:this.$map.width()-100});T.open(this.$map.data("map"),b),this.overlays.push(T)},CoverageMap.prototype.renderMap=function(){return __awaiter(this,void 0,void 0,(function(){var d,b,x,T,D,z=this;return __generator(this,(function(H){return this.$map.data("isInitialized")||this.$map.data("map")||(d=new google.maps.places.Autocomplete(this.$autocomplete.get(0),{types:["address"],componentRestrictions:{country:CoverageMap.COUNTRY}}),this.$autocomplete.bind("keydown",(function(d){13===d.keyCode&&d.preventDefault()})),d.addListener("place_changed",(function(){z.handleAutocomplete(d)})),b=new google.maps.LatLng(47.5198,12.9902),x={zoom:9,center:b,gestureHandling:"cooperative",mapTypeControl:!1,streetViewControl:!1,mapTypeControlOptions:{mapTypeIds:[google.maps.MapTypeId.ROADMAP,"custom_style"]},mapTypeId:"custom_style"},T=new google.maps.Map(this.$map.find("> div").get(0),x),D=new google.maps.StyledMapType(CoverageMap.CUSTOM_MAP_STYLE,{name:"WEB18"}),T.mapTypes.set("custom_style",D),T.data.setStyle({strokeWeight:0}),this.$element.find('[data-role="loading"]').removeClass("hidden"),this.initMapFilter(T),this.$element.find('[data-role="loading"]').addClass("hidden"),this.pins.forEach((function(d){z.addSingleMarker(T,d,!0)})),this.$map.data("map",T),this.$map.data("isInitialized",!0),this.initGeoLocation()),[2]}))}))},CoverageMap.prototype.drawLayers=function(d,b){return __awaiter(this,void 0,Promise,(function(){return __generator(this,(function(x){switch(x.label){case 0:return this.overlay&&this.overlay.setMap(null),0===d.length?[2]:[4,this.loadData(d)];case 1:return x.sent(),this.createOverlay(b),[2]}}))}))},CoverageMap.prototype.loadData=function(d){return __awaiter(this,void 0,Promise,(function(){var b,x,T;return __generator(this,(function(D){switch(D.label){case 0:d=Array.from(new Set(d).values()).sort((function(d,b){return b-d})),x=0,D.label=1;case 1:return x<d.length&&x<10?this.$map.data("overlay-path"+d[x])?b?[3,3]:[4,$.get(this.$map.data("overlay-path"+d[x]))]:[3,6]:[3,8];case 2:return b=D.sent(),[3,5];case 3:return[4,$.get(this.$map.data("overlay-path"+d[x]))];case 4:T=D.sent(),b.features.push(T.features[0]),D.label=5;case 5:return b.features[x]&&(b.features[x].properties={fill:""+this.$map.data("overlay-color"+d[x])}),[3,7];case 6:b?b.features.push(null):b={type:"FeatureCollection",features:[null]},D.label=7;case 7:return x++,[3,1];case 8:return b.features=b.features.filter((function(d){return null!==d})),this.overlayGeoJson=b,[2]}}))}))},CoverageMap.prototype.createOverlay=function(d){var b=this;if(this.overlay&&this.overlay.setMap(null),this.overlayGeoJson&&0!==this.overlayGeoJson.features.length){var x=esm_bbox(this.overlayGeoJson);this.overlay=new T(x,(function(d){return b.createImageElement(d)})),this.overlay.setMap(d)}},CoverageMap.prototype.createImageElement=function(d){var b=document.createElement("div");return b.style.opacity="0.3",b.innerHTML=z()(this.overlayGeoJson,{MultiPolygon:{strokeWidth:0}},null,(function(b){var x=d.fromLatLngToDivPixel(new google.maps.LatLng(b[1],b[0]));return[x.x,x.y]})).render(),b},CoverageMap.prototype.initMapFilter=function(d){var b=this;this.$element.find("[data-apply-filter]").on("click",(function(){b.$element.find("[data-collapsible-toggle]").trigger("click")})),this.updateLayers(d),this.$element.find("[data-map-filter-input]").on("change",(function(x){var T=x.target.dataset.sibling;b.$element.find("#"+T).prop("checked",$(x.target).prop("checked")),b.updateLayers(d),b.setResetButtonText()})),this.initResetFiltersButton(d)},CoverageMap.prototype.initResetFiltersButton=function(d){var b=this;this.setResetButtonText(),this.$element.find("[data-reset-button]").on("click",(function(){var x=b.$element.find("[data-map-filter-input]"),T=x.length===x.filter(":checked").length;x.prop("checked",!T),b.updateLayers(d),b.setResetButtonText()}))},CoverageMap.prototype.setResetButtonText=function(){var d=this.$element.find("[data-reset-button]").data("check-all-button-text"),b=this.$element.find("[data-reset-button]").data("uncheck-all-button-text"),x=this.$element.find("[data-map-filter-input]"),T=x.length===x.filter(":checked").length;this.$element.find("[data-reset-button]").html(T?b:d)},CoverageMap.prototype.updateLayers=function(d){var b=this.$element.find(".coverage-map__loading").removeClass("hidden"),x=[];this.$element.find("[data-map-filter-input]").each((function(){if($(this).prop("checked")){var d=this.getAttribute("id").split("-")[1];x.push(Number(d))}})),this.drawLayers(x,d).then((function(){b.addClass("hidden")}))},CoverageMap.prototype.handleAutocomplete=function(d){if(void 0!==d.getPlace().geometry){var b=d.getPlace().geometry.location;this.handleGeoLocation({latitude:b.lat(),longitude:b.lng(),accuracy:1,altitude:null,altitudeAccuracy:null,heading:null,speed:null})}else this.doGeoCoding(d.getPlace().name)},CoverageMap.prototype.addMarkerForCurrentPosition=function(d){null!==this.currentMarker&&this.currentMarker.setMap(null),this.currentMarker=new google.maps.Marker({position:new google.maps.LatLng(d.latitude,d.longitude),map:this.$map.data("map"),clickable:!1,zIndex:100,icon:{url:"/etc.clientlibs/"+this.clientlib+"/clientlib-site/resources/dist/images/icons/location_icon_red.svg",scaledSize:new google.maps.Size(40,40)}})},CoverageMap.initMap=function(){return"undefined"!=typeof google&&($('[data-module~="coverage-map"]').each((function(){$(this).data("instance").renderMap()})),!0)},CoverageMap.prototype.initGeoLocation=function(){var d=this;this.$locateUser.on("click",(function(){window.navigator.geolocation.getCurrentPosition((function(b){d.handleGeoLocation(b.coords)}),(function(){window.alert(d.geoLocationErrorMessage)}),{timeout:CoverageMap.GEOLOCATION_TIMEOUT})}))},CoverageMap.prototype.handleGeoLocation=function(d){this.addMarkerForCurrentPosition(d),this.$map.data("map").setCenter({lat:d.latitude,lng:d.longitude}),this.$map.data("map").setZoom(15)},CoverageMap.prototype.doGeoCoding=function(d){var b=this;(new google.maps.Geocoder).geocode({address:d+", "+CoverageMap.COUNTRY,componentRestrictions:{country:CoverageMap.COUNTRY},region:CoverageMap.COUNTRY},(function(d,x){if(x===google.maps.GeocoderStatus.OK&&void 0!==d[0].geometry){var T=d[0].geometry.location;b.handleGeoLocation({latitude:T.lat(),longitude:T.lng(),accuracy:1,altitude:null,altitudeAccuracy:null,heading:null,speed:null})}}))},CoverageMap.GEOLOCATION_TIMEOUT=1e4,CoverageMap.COUNTRY="AT",CoverageMap.CUSTOM_MAP_STYLE=[{featureType:"administrative",elementType:"labels.text.fill",stylers:[{color:"#444444"}]},{featureType:"landscape",stylers:[{color:"#f2f2f2"}]},{featureType:"landscape.natural",elementType:"labels.icon",stylers:[{visibility:"off"}]},{featureType:"poi",stylers:[{visibility:"off"}]},{featureType:"road",stylers:[{saturation:-100},{lightness:45}]},{featureType:"road.arterial",elementType:"labels.icon",stylers:[{visibility:"off"}]}
817,{featureType:"road.highway",stylers:[{visibility:"simplified"}]},{featureType:"transit",stylers:[{visibility:"off"}]},{featureType:"water",stylers:[{color:"#46bcec"},{visibility:"on"}]}],CoverageMap}();b.a=te},YBdB:function(d,b,x){(function(d,b){!function(d,x){"use strict";if(!d.setImmediate){var T,D,z,H,W,U=1,Y={},Z=!1,J=d.document,ee=Object.getPrototypeOf&&Object.getPrototypeOf(d);ee=ee&&ee.setTimeout?ee:d,"[object process]"==={}.toString.call(d.process)?T=function(d){b.nextTick((function(){runIfPresent(d)}))}:!function(){if(d.postMessage&&!d.importScripts){var b=!0,x=d.onmessage;return d.onmessage=function(){b=!1},d.postMessage("","*"),d.onmessage=x,b}}()?d.MessageChannel?((z=new MessageChannel).port1.onmessage=function(d){runIfPresent(d.data)},T=function(d){z.port2.postMessage(d)}):J&&"onreadystatechange"in J.createElement("script")?(D=J.documentElement,T=function(d){var b=J.createElement("script");b.onreadystatechange=function(){runIfPresent(d),b.onreadystatechange=null,D.removeChild(b),b=null},D.appendChild(b)}):T=function(d){setTimeout(runIfPresent,0,d)}:(H="setImmediate$"+Math.random()+"$",W=function(b){b.source===d&&"string"==typeof b.data&&0===b.data.indexOf(H)&&runIfPresent(+b.data.slice(H.length))},d.addEventListener?d.addEventListener("message",W,!1):d.attachEvent("onmessage",W),T=function(b){d.postMessage(H+b,"*")}),ee.setImmediate=function(d){"function"!=typeof d&&(d=new Function(""+d));for(var b=new Array(arguments.length-1),x=0;x<b.length;x++)b[x]=arguments[x+1];var D={callback:d,args:b};return Y[U]=D,T(U),U++},ee.clearImmediate=clearImmediate}function clearImmediate(d){delete Y[d]}function runIfPresent(d){if(Z)setTimeout(runIfPresent,0,d);else{var b=Y[d];if(b){Z=!0;try{!function(d){var b=d.callback,x=d.args;switch(x.length){case 0:b();break;case 1:b(x[0]);break;case 2:b(x[0],x[1]);break;case 3:b(x[0],x[1],x[2]);break;default:b.apply(void 0,x)}}(b)}finally{clearImmediate(d),Z=!1}}}}}("undefined"==typeof self?void 0===d?this:d:self)}).call(this,x("yLpj"),x("KCCg"))},YFzs:function(d,b){var x;window.App=window.App||{},App.TeaserSlider=(x=function(d){d.length&&(d.find(".swiper-slide-visible").find("a").attr("tabindex","0"),d.find(".swiper-slide").not(".swiper-slide-visible").find("a").attr("tabindex","-1"))},{init:function(){$('[data-module~="teaser-slider"]').each((function(){!function(d){var b={480:{slidesPerView:1.5},760:{slidesPerView:2},1024:{slidesPerView:2.5},1200:{slidesPerView:3.5}},T=new window.Swiper(d.find(".swiper-container")[0],{init:!1,freeMode:!0,freeModeSticky:!0,slidesPerView:4.25,breakpoints:b,watchSlidesVisibility:!0,navigation:{nextEl:d.find('[data-action="slide-to-next"]')[0],prevEl:d.find('[data-action="slide-to-previous"]')[0]}});T.on("init resize",(function(b){this.slides.length<=this.params.slidesPerView?($(this.navigation.prevEl).hide(),$(this.navigation.nextEl).hide()):($(this.navigation.prevEl).show(),$(this.navigation.nextEl).show());var x=d.parents(".container").first();if(x.length){var T=0;this.slides.each((function(){T+=$(this).outerWidth(!0)})),T+parseInt(x.css("marginLeft"))<window.innerWidth?($(this.navigation.prevEl).hide(),$(this.navigation.nextEl).hide()):($(this.navigation.prevEl).show(),$(this.navigation.nextEl).show())}})),T.on("init fromEdge reachBeginning reachEnd",(function(d){$(this.navigation.prevEl).css({visibility:this.isBeginning?"hidden":""}).prop("disabled",this.isBeginning),$(this.navigation.nextEl).css({visibility:this.isEnd?"hidden":""}).prop("disabled",this.isEnd)})),d.find(".swiper-slide").each((function(){App.FUNCTIONS.isEmpty(this)&&$(this).removeClass("swiper-slide").attr("data-role","slider-slide--empty")})),T.init();var D=d.find(".swiper-container");x(D),T.on("slideChange",(function(d){x(D)})),$(window).on("load",(function(){T.update()})),d.on("lazybeforeunveil","img",(function onLazyBeforeUnveil(){d.off("lazybeforeunveil","img",onLazyBeforeUnveil),T.update()}))}($(this))}))}})},Yea8:function(d,b){var x="#333333",T={Polygon:{weight:.25,color:x,opacity:.75},LineString:{weight:.25,color:x,opacity:.75},Point:{radius:3,stroke:x,weight:.25,color:x,fill:"#000000"},textbox:{fontFamily:"Helvetica, Arial, sans-serif",fontColor:x,weight:0,color:x}};T.MultiPolygon=T.Polygon,T.MultiLineString=T.LineString,T.MultiPoint=T.Point,d.exports=T},YtIf:function(d,b,x){"use strict";var T=x("EVdn"),D=x.n(T),z=function(){function AnchorNavigation(d){this.$element=d,this.initModule(
817)}return AnchorNavigation.prototype.initModule=function(){var d=this;this.anchorDisplayElements=this.findAllAnchorDisplayElements(),this.anchorLinkTemplate=D()("[data-anchor-navigation-template-link]"),this.anchorOptionTemplate=D()("[data-anchor-navigation-template-option]"),this.anchorLinkList=D()(".anchor-navigation__list"),this.anchorSelect=D()(".anchor-navigation__select"),this.anchorProgressBar=D()(".anchor-navigation__progress-bar"),this.initLinkElements(),this.setupIntersectionObserver(),this.setActiveLink(),this.addEventListeners(),this.percentPerPixel=100/this.anchorLinkList.get(0).getBoundingClientRect().width,D()(window).on("resize",(function(){d.percentPerPixel=100/d.anchorLinkList.get(0).getBoundingClientRect().width}))},AnchorNavigation.prototype.findAllAnchorDisplayElements=function(){return D()("[data-anchor-display-name]")},AnchorNavigation.prototype.initLinkElements=function(){var d=this;this.anchorDisplayElements.each((function(b,x){var T=D()(x).data("anchor-display-name"),z=D()(x).data("anchor-id"),H=d.anchorLinkTemplate.clone(),W=d.anchorOptionTemplate.clone();H.find("a").text(T),H.find("a").attr("href","#"+z),W.text(T),W.attr("value","#"+z),H.removeClass("anchor-navigation__link-template"),d.anchorLinkList.append(H),d.anchorSelect.append(W)})),this.anchorDisplayElements.length>0&&this.$element.addClass("anchor-navigation__wrapper--initialized")},AnchorNavigation.prototype.setupIntersectionObserver=function(){var d=this,b=new IntersectionObserver((function(b){b.forEach((function(b){b.isIntersecting?d.$element.addClass("anchor-navigation__wrapper--viewport"):b.boundingClientRect.top>0&&d.$element.removeClass("anchor-navigation__wrapper--viewport")}))}),{root:null,threshold:1}),x=document.querySelector(".layout-body__anchor-navigation");x&&b.observe(x)},AnchorNavigation.prototype.setActiveLink=function(){var d=this,b=0,x=this.anchorDisplayElements.get(0),T=this.anchorDisplayElements.get(this.anchorDisplayElements.length-1),z=new IntersectionObserver((function(z,H){z.forEach((function(z){var H=D()(z.target).find("[data-anchor-id]").data("anchor-id"),W=d.anchorLinkList.find('[href="#'+H+'"]');if(z.isIntersecting)d.setActiveAnchorLink(W);else{var U=z.target===x.parentElement,Y=z.boundingClientRect.top>b,Z=z.target===T.parentElement;U&&Y&&(d.removeActiveAnchorLink(),d.anchorProgressBar.css("width","0%")),Z&&!Y&&(d.removeActiveAnchorLink(),d.anchorProgressBar.css("width","100%"))}b=z.boundingClientRect.top}))}),{rootMargin:"-40% 0px -40% 0px"});this.anchorDisplayElements.toArray().forEach((function(d){d.parentElement&&z.observe(d.parentElement)}))},AnchorNavigation.prototype.setActiveAnchorLink=function(d){this.anchorLinkList.find(".anchor-navigation__link--active").removeClass("anchor-navigation__link--active"),d.addClass("anchor-navigation__link--active"),this.anchorProgressBar.css("width",(d.get(0).getBoundingClientRect().right-15)*this.percentPerPixel+"%"),d.length&&d[0].hash&&this.anchorSelect.val(d[0].hash).change({isUserEvent:!1})},AnchorNavigation.prototype.removeActiveAnchorLink=function(){this.anchorLinkList.find(".anchor-navigation__link--active").removeClass("anchor-navigation__link--active"),this.anchorSelect.val("").change({isUserEvent:!1})},AnchorNavigation.prototype.addEventListeners=function(){this.anchorSelect.on("change",(function(d){if(!d.data||!d.data.isUserEvent){var b=D()(this).val();""!==b&&(location.href=""+b)}}))},AnchorNavigation}();b.a=z},YuTi:function(d,b){d.exports=function(d){return d.webpackPolyfill||(d.deprecate=function(){},d.paths=[],d.children||(d.children=[]),Object.defineProperty(d,"loaded",{enumerable:!0,get:function(){return d.l}}),Object.defineProperty(d,"id",{enumerable:!0,get:function(){return d.i}}),d.webpackPolyfill=1),d}},"Z+6F":function(d,b,x){"use strict";d.exports=SyntaxError},Z9lY:function(d,b,x){"use strict";d.exports=URIError},Z9y6:function(d,b,x){"use strict";var T="Function.prototype.bind called on incompatible ",D=Object.prototype.toString,z=Math.max,concatty=function(d,b){for(var x=[],T=0;T<d.length;T+=1)x[T]=d[T];for(var D=0;D<b.length;D+=1)x[D+d.length]=b[D];return x},slicy=function(d,b){for(var x=[],T=b||0,D=0;T<d.length;T+=1,D+=1)x[D]=d[T];return x},joiny=function(d,b){for(var x="",T=0;T<d.length;T+=1)x+=d[T],T+1<d.length&&(x+=b);return x};d.exports=function(d){var b=this;if("function"!=typeof b||"[object Function]"!==D.apply(b))throw new TypeError(T+b);
817for(var x,H=slicy(arguments,1),binder=function(){if(this instanceof x){var T=b.apply(this,concatty(H,arguments));return Object(T)===T?T:this}return b.apply(d,concatty(H,arguments))},W=z(0,b.length-H.length),U=[],Y=0;Y<W;Y++)U[Y]="$"+Y;if(x=Function("binder","return function ("+joiny(U,",")+"){ return binder.apply(this,arguments); }")(binder),b.prototype){var Empty=function(){};Empty.prototype=b.prototype,x.prototype=new Empty,Empty.prototype=null}return x}},ZFWI:function(d,b,x){"use strict";var T="Function.prototype.bind called on incompatible ",D=Object.prototype.toString,z=Math.max,concatty=function(d,b){for(var x=[],T=0;T<d.length;T+=1)x[T]=d[T];for(var D=0;D<b.length;D+=1)x[D+d.length]=b[D];return x},slicy=function(d,b){for(var x=[],T=b||0,D=0;T<d.length;T+=1,D+=1)x[D]=d[T];return x},joiny=function(d,b){for(var x="",T=0;T<d.length;T+=1)x+=d[T],T+1<d.length&&(x+=b);return x};d.exports=function(d){var b=this;if("function"!=typeof b||"[object Function]"!==D.apply(b))throw new TypeError(T+b);for(var x,H=slicy(arguments,1),binder=function(){if(this instanceof x){var T=b.apply(this,concatty(H,arguments));return Object(T)===T?T:this}return b.apply(d,concatty(H,arguments))},W=z(0,b.length-H.length),U=[],Y=0;Y<W;Y++)U[Y]="$"+Y;if(x=Function("binder","return function ("+joiny(U,",")+"){ return binder.apply(this,arguments); }")(binder),b.prototype){var Empty=function(){};Empty.prototype=b.prototype,x.prototype=new Empty,Empty.prototype=null}return x}},ZLCw:function(d,b,x){"use strict";var T=x("cckQ"),hasPropertyDescriptors=function(){return!!T};hasPropertyDescriptors.hasArrayLengthDefineBug=function(){if(!T)return null;try{return 1!==T([],"length",{value:1}).length}catch(d){return!0}},d.exports=hasPropertyDescriptors},Zesl:function(d,b,x){"use strict";function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}var T=x("lnE3"),D=x("VAJa")(),z=x("DSU0"),H={assert:function(d,b){if(!d||"object"!==_typeof(d)&&"function"!=typeof d)throw new z("`O` is not an object");if("string"!=typeof b)throw new z("`slot` must be a string");if(D.assert(d),!H.has(d,b))throw new z("`"+b+"` is not present on `O`")},get:function(d,b){if(!d||"object"!==_typeof(d)&&"function"!=typeof d)throw new z("`O` is not an object");if("string"!=typeof b)throw new z("`slot` must be a string");var x=D.get(d);return x&&x["$"+b]},has:function(d,b){if(!d||"object"!==_typeof(d)&&"function"!=typeof d)throw new z("`O` is not an object");if("string"!=typeof b)throw new z("`slot` must be a string");var x=D.get(d);return!!x&&T(x,"$"+b)},set:function(d,b,x){if(!d||"object"!==_typeof(d)&&"function"!=typeof d)throw new z("`O` is not an object");if("string"!=typeof b)throw new z("`slot` must be a string");var T=D.get(d);T||(T={},D.set(d,T)),T["$"+b]=x}};Object.freeze&&Object.freeze(H),d.exports=H},Zyd1:function(d,b,x){"use strict";function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}d.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===_typeof(Symbol.iterator))return!0;var d={},b=Symbol("test"),x=Object(b);if("string"==typeof b)return!1;if("[object Symbol]"!==Object.prototype.toString.call(b))return!1;if("[object Symbol]"!==Object.prototype.toString.call(x))return!1;for(b in d[b]=42,d)return!1;if("function"==typeof Object.keys&&0!==Object.keys(d).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(d).length)return!1;var T=Object.getOwnPropertySymbols(d);if(1!==T.length||T[0]!==b)return!1;if(!Object.prototype.propertyIsEnumerable.call(d,b))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var D=Object.getOwnPropertyDescriptor(d,b);if(42!==D.value||!0!==D.enumerable)return!1}return!0}},a0AV:function(d,b,x){"use strict";var T=x("EVdn"),D=x.n(T),Lightbox=function(d){this.$element=d;var b=D()('[data-module~="video-modal"]'),x=b.find('[data-role="video-container"]'),T=this.$element.attr("href");this.$element.on("click",(function(d){d.preventDefault(),x.empty(),x.addClass("video-container--image"),x.append('<img src="'+T+'" />'),x.find("img").on("load",(function(d){var b=D()(d.currentTarget);b.width()>320?x.parents(".container").css("max-width",b.width()):x.parents(".container").css("max-width","")})),App.Modal.open(b),b.on("closed.modal",(function onModalClosed(){b.off("closed.modal",onModalClosed),x.removeClass("video-container--image"),x.empty()}))})),console.log(T)};b.a=Lightbox},aE5D:function(d,b,x){"use strict";x.r(b),function(d){var b=x("B/eG"),T=x("/pFH"),D=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==d)return d;throw new Error("unable to locate global object")}();"Promise"in D?D.Promise.prototype.finally||(D.Promise.prototype.finally=T.a):D.Promise=b.a}.call(this,x("yLpj"))},aZpx:function(d,b,x){"use strict";function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}d.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===_typeof(Symbol.iterator))return!0;var d={},b=Symbol("test"),x=Object(b);if("string"==typeof b)return!1;if("[object Symbol]"!==Object.prototype.toString.call(b))return!1;if("[object Symbol]"!==Object.prototype.toString.call(x))return!1;for(b in d[b]=42,d)return!1;if("function"==typeof Object.keys&&0!==Object.keys(d).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(d).length)return!1;var T=Object.getOwnPropertySymbols(d);if(1!==T.length||T[0]!==b)return!1;if(!Object.prototype.propertyIsEnumerable.call(d,b))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var D=Object.getOwnPropertyDescriptor(d,b);if(42!==D.value||!0!==D.enumerable)return!1}return!0}},agaU:function(d,b){var x;window.App=window.App||{},App.FakeLinks=(x=function(d,b){var x=$('[data-module~="fake-link"]');
817if(App.matchesScreenDimensions(x.attr("data-media"),App.breakpoints))return!0;b.preventDefault();var T=$(d).data("href");$(d).data("target")?window.open(T,"_blank"):window.location=T},{init:function(){var d=$("body");d.on("click",'[data-module~="fake-link"]',(function(d){x(this,d)})),d.on("keydown",'[data-module~="fake-link"]',(function(d){13===(d.which||d.keyCode)&&x(this,d)}))}})},aks9:function(d,b,x){"use strict";
818/*!
819 * @license
820 * This Source Code Form is subject to the terms of the Mozilla Public
821 * License, v. 2.0. If a copy of the MPL was not distributed with this
822 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
823/**
824 * @file Validation, extraction and creation of IBAN, BBAN, BIC/SWIFT numbers plus some other helpful stuff
825 * @author Saša Jovanić
826 * @module ibantools
827 * @see module:ibantools
828 * @version 3.1.0
829 * @license MPL-2.0
830 */
831function isValidIBAN(d){if(null!=d){var b=new RegExp("^[0-9]{2}$",""),x=T[d.slice(0,2)];if(void 0!==x&&x.chars===d.length&&b.test(d.slice(2,4))&&checkFormatBBAN(d.slice(4),x.bban_regexp)&&function(d){for(var b=parseInt(d.slice(2,4),10),x=d.slice(3)+d.slice(0,2)+"00",T="",D=1;D<x.length;D++){var z=x.charCodeAt(D);T+=z>=65?(z-55).toString():x[D]}for(;T.length>2;){var H=T.slice(0,6);T=(parseInt(H,10)%97).toString()+T.slice(H.length)}return 98-parseInt(T,10)%97===b}(d))return!0}return!1}function isValidBBAN(d,b){if(null!=d&&null!=b){var x=T[b];if(void 0!==x&&x.chars-4===d.length&&checkFormatBBAN(d,x.bban_regexp))return!0}return!1}function isSEPACountry(d){if(null!=d){var b=T[d];if(void 0!==b)return b.SEPA}return!1}function composeIBAN(d){var b=electronicFormatIBAN(d.bban),x=T[d.countryCode];if(null!==b&&void 0!==x&&x.chars===b.length+4&&checkFormatBBAN(b,x.bban_regexp)){var D=function(d){d=d.slice(3)+d.slice(0,4);for(var b="",x=1;x<d.length;x++){var T=d.charCodeAt(x);b+=T>=65?(T-55).toString():d[x]}for(;b.length>2;){var D=b.slice(0,6);b=(parseInt(D,10)%97).toString()+b.slice(D.length)}return parseInt(b,10)%97}(d.countryCode+"00"+b);return d.countryCode+("0"+(98-D)).slice(-2)+b}return null}function extractIBAN(d){var b={};return b.iban=d,isValidIBAN(d)?(b.bban=d.slice(4),b.countryCode=d.slice(0,2),b.valid=!0):b.valid=!1,b}function checkFormatBBAN(d,b){return new RegExp(b,"").test(d)}function electronicFormatIBAN(d){return"string"!=typeof d?null:d.replace(/[-\ ]/g,"").toUpperCase()}function friendlyFormatIBAN(d,b){return"string"!=typeof d?null:(void 0===b&&(b=" "),electronicFormatIBAN(d).replace(/(.{4})(?!$)/g,"$1"+b))}function getCountrySpecifications(){return T}function isValidBIC(d){var b=new RegExp("^[a-zA-Z]{6}[a-zA-Z0-9]{2}([a-zA-Z0-9]{3})?$",""),x=T[d.toUpperCase().slice(4,6)];return b.test(d)&&void 0!==x}function extractBIC(d){var b={},x=d.toUpperCase();return isValidBIC(x)?(b.bankCode=x.slice(0,4),b.countryCode=x.slice(4,6),b.locationCode=x.slice(6,8),b.testBIC="0"===b.locationCode[1],b.branchCode=x.length>8?x.slice(8):"619",b.valid=!0):b.valid=!1,b}x.r(b),x.d(b,"isValidIBAN",(function(){return isValidIBAN})),x.d(b,"isValidBBAN",(function(){return isValidBBAN})),x.d(b,"isSEPACountry",(function(){return isSEPACountry})),x.d(b,"composeIBAN",(function(){return composeIBAN})),x.d(b,"extractIBAN",(function(){return extractIBAN})),x.d(b,"electronicFormatIBAN",(function(){return electronicFormatIBAN})),x.d(b,"friendlyFormatIBAN",(function(){return friendlyFormatIBAN})),x.d(b,"getCountrySpecifications",(function(){return getCountrySpecifications})),x.d(b,"isValidBIC",(function(){return isValidBIC})),x.d(b,"extractBIC",(function(){return extractBIC}));var T={AD:{chars:24,bban_regexp:"^[0-9]{8}[A-Z0-9]{12}$",IBANRegistry:!0,SEPA:!1},AE:{chars:23,bban_regexp:"^[0-9]{3}[0-9]{16}$",IBANRegistry:!0,SEPA:!1},AF:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},AG:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},AI:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},AL:{chars:28,bban_regexp:"^[0-9]{8}[A-Z0-9]{16}$",IBANRegistry:!0,SEPA:!1},AM:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},AO:{chars:25,bban_regexp:"^[0-9]{21}$",IBANRegistry:!1,SEPA:!1},AQ:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},AR:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},AS:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},AT:{chars:20,bban_regexp:"^[0-9]{16}$",IBANRegistry:!0,SEPA:!0},AU:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},AW:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},AX:{chars:18,bban_regexp:"^[0-9]{14}$",IBANRegistry:!0,SEPA:!1},AZ:{chars:28,bban_regexp:"^[A-Z]{4}[0-9]{20}$",IBANRegistry:!0,SEPA:!1},BA:{chars:20,bban_regexp:"^[0-9]{16}$",IBANRegistry:!0,SEPA:!1},BB:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},BD:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},BE:{chars:16,bban_regexp:"^[0-9]{12}$",IBANRegistry:!0,SEPA:!0},BF:{chars:27,bban_regexp:"^[0-9]{23}$",IBANRegistry:!1,SEPA:!1},BG:{chars:22,bban_regexp:"^[A-Z]{4}[0-9]{6}[A-Z0-9]{8}$",IBANRegistry:!0,SEPA:!0},BH:{chars:22,bban_regexp:"^[A-Z]{4}[A-Z0-9]{14}$",IBANRegistry:!0,SEPA:!1},BI:{chars:16,bban_regexp:"^[0-9]{12}$",IBANRegistry:!1,SEPA:!1},BJ:{chars:28,bban_regexp:"^[A-Z]{1}[0-9]{23}$",IBANRegistry:!1,SEPA:!1},BL:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",IBANRegistry:!0,SEPA:!1},BM:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},BN:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},BO:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},BQ:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},BR:{chars:29,bban_regexp:"^[0-9]{23}[A-Z]{1}[A-Z0-9]{1}$",IBANRegistry:!0,SEPA:!1},BS:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},BT:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},BV:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},BW:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},BY:{chars:28,bban_regexp:"^[A-Z]{4}[0-9]{4}[A-Z0-9]{16}$",IBANRegistry:!0,SEPA:!1},BZ:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},CA:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},CC:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},CD:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},CF:{chars:27,bban_regexp:"^[0-9]{23}$",IBANRegistry:!1,SEPA:!1},CG:{chars:27,bban_regexp:"^[0-9]{23}$",IBANRegistry:!1,SEPA:!1},CH:{chars:21,bban_regexp:"^[0-9]{5}[A-Z0-9]{12}$",IBANRegistry:!0,SEPA:!0},CI:{chars:28,bban_regexp:"^[A-Z]{1}[0-9]{23}$",IBANRegistry:!1,SEPA:!1},CK:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},CL:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},CM:{chars:27,bban_regexp:"^[0-9]{23}$",IBANRegistry:!1,SEPA:!1},CN:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},CO:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},CR:{chars:22,bban_regexp:"^[0-9]{18}$",IBANRegistry:!0,SEPA:!1},CU:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},CV:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},CW:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},CX:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},CY:{chars:28,bban_regexp:"^[0-9]{8}[A-Z0-9]{16}$",IBANRegistry:!0,SEPA:!0},CZ:{chars:24,bban_regexp:"^[0-9]{20}$",IBANRegistry:!0,SEPA:!0},DE:{chars:22,bban_regexp:"^[0-9]{18}$",IBANRegistry:!0,SEPA:!0},DJ:{chars:27,bban_regexp:"^[0-9]{23}$",IBANRegistry:!1,SEPA:!1},DK:{chars:18,bban_regexp:"^[0-9]{14}$",IBANRegistry:!0,SEPA:!0},DM:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},DO:{chars:28,bban_regexp:"^[A-Z]{4}[0-9]{20}$",IBANRegistry:!0,SEPA:!1},DZ:{chars:24,bban_regexp:"^[0-9]{20}$",IBANRegistry:!1,SEPA:!1},EC:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},EE:{chars:20,bban_regexp:"^[0-9]{16}$",IBANRegistry:!0,SEPA:!0},EG:{chars:29,bban_regexp:"^[0-9]{25}",IBANRegistry:!0,SEPA:!1},EH:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},ER:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},ES:{chars:24,bban_regexp:"^[0-9]{20}$",IBANRegistry:!0,SEPA:!0},ET:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},FI:{chars:18,bban_regexp:"^[0-9]{14}$",IBANRegistry:!0,SEPA:!0},FJ:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},FK:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},FM:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},FO:{chars:18,bban_regexp:"^[0-9]{14}$",IBANRegistry:!0,SEPA:!0},FR:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",IBANRegistry:!0,SEPA:!0},GA:{chars:27,bban_regexp:"^[0-9]{23}$",IBANRegistry:!1,SEPA:!1},GB:{chars:22,bban_regexp:"^[A-Z]{4}[0-9]{14}$",IBANRegistry:!0,SEPA:!0},GD:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},GE:{chars:22,bban_regexp:"^[A-Z0-9]{2}[0-9]{16}$",IBANRegistry:!0,SEPA:!1},GF:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",IBANRegistry:!0,SEPA:!1},GG:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},GH:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},GI:{chars:23,bban_regexp:"^[A-Z]{4}[A-Z0-9]{15}$",IBANRegistry:!0,SEPA:!0},GL:{chars:18,bban_regexp:"^[0-9]{14}$",IBANRegistry:!0,SEPA:!0},GM:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},GN:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},GP:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",IBANRegistry:!0,SEPA:!1},GQ:{chars:27,bban_regexp:"^[0-9]{23}$",IBANRegistry:!1,SEPA:!1},GR:{chars:27,bban_regexp:"^[0-9]{7}[A-Z0-9]{16}$",IBANRegistry:!0,SEPA:!0},GS:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},GT:{chars:28,bban_regexp:"^[A-Z0-9]{24}$",IBANRegistry:!0,SEPA:!1},GU:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},GW:{chars:25,bban_regexp:"^[A-Z]{2}[0-9]{19}$",IBANRegistry:!1,SEPA:!1},GY:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},HK:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},HM:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},HN:{chars:28,bban_regexp:"^[A-Z]{4}[0-9]{20}$",IBANRegistry:!1,SEPA:!1},HR:{chars:21,bban_regexp:"^[0-9]{17}$",IBANRegistry:!0,SEPA:!0},HT:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},HU:{chars:28,bban_regexp:"^[0-9]{24}$",IBANRegistry:!0,SEPA:!0},ID:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},IE:{chars:22,bban_regexp:"^[A-Z0-9]{4}[0-9]{14}$",IBANRegistry:!0,SEPA:!0},IL:{chars:23,bban_regexp:"^[0-9]{19}$",IBANRegistry:!0,SEPA:!1},IM:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},IN:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},IO:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},IQ:{chars:23,bban_regexp:"^[A-Z]{4}[0-9]{15}$",IBANRegistry:!0,SEPA:!1},IR:{chars:26,bban_regexp:"^[0-9]{22}$",IBANRegistry:!1,SEPA:!1},IS:{chars:26,bban_regexp:"^[0-9]{22}$",IBANRegistry:!0,SEPA:!0},IT:{chars:27,bban_regexp:"^[A-Z]{1}[0-9]{10}[A-Z0-9]{12}$",IBANRegistry:!0,SEPA:!0},JE:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},JM:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},JO:{chars:30,bban_regexp:"^[A-Z]{4}[0-9]{4}[A-Z0-9]{18}$",IBANRegistry:!0,SEPA:!1},JP:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},KE:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},KG:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},KH:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},KI:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},KM:{chars:27,bban_regexp:"^[0-9]{23}$",IBANRegistry:!1,SEPA:!1},KN:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},KP:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},KR:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},KW:{chars:30,bban_regexp:"^[A-Z]{4}[A-Z0-9]{22}$",IBANRegistry:!0,SEPA:!1}
831,KY:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},KZ:{chars:20,bban_regexp:"^[0-9]{3}[A-Z0-9]{13}$",IBANRegistry:!0,SEPA:!1},LA:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},LB:{chars:28,bban_regexp:"^[0-9]{4}[A-Z0-9]{20}$",IBANRegistry:!0,SEPA:!1},LC:{chars:32,bban_regexp:"^[A-Z]{4}[A-Z0-9]{24}$",IBANRegistry:!0,SEPA:!1},LI:{chars:21,bban_regexp:"^[0-9]{5}[A-Z0-9]{12}$",IBANRegistry:!0,SEPA:!0},LK:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},LR:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},LS:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},LT:{chars:20,bban_regexp:"^[0-9]{16}$",IBANRegistry:!0,SEPA:!0},LU:{chars:20,bban_regexp:"^[0-9]{3}[A-Z0-9]{13}$",IBANRegistry:!0,SEPA:!0},LV:{chars:21,bban_regexp:"^[A-Z]{4}[A-Z0-9]{13}$",IBANRegistry:!0,SEPA:!0},LY:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},MA:{chars:28,bban_regexp:"^[0-9]{24}$",IBANRegistry:!1,SEPA:!1},MC:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",IBANRegistry:!0,SEPA:!0},MD:{chars:24,bban_regexp:"^[A-Z0-9]{2}[A-Z0-9]{18}$",IBANRegistry:!0,SEPA:!1},ME:{chars:22,bban_regexp:"^[0-9]{18}$",IBANRegistry:!0,SEPA:!1},MF:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",IBANRegistry:!0,SEPA:!1},MG:{chars:27,bban_regexp:"^[0-9]{23}$",IBANRegistry:!1,SEPA:!1},MH:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},MK:{chars:19,bban_regexp:"^[0-9]{3}[A-Z0-9]{10}[0-9]{2}$",IBANRegistry:!0,SEPA:!1},ML:{chars:28,bban_regexp:"^[A-Z]{1}[0-9]{23}$",IBANRegistry:!1,SEPA:!1},MM:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},MN:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},MO:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},MP:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},MQ:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",IBANRegistry:!0,SEPA:!1},MR:{chars:27,bban_regexp:"^[0-9]{23}$",IBANRegistry:!0,SEPA:!1},MS:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},MT:{chars:31,bban_regexp:"^[A-Z]{4}[0-9]{5}[A-Z0-9]{18}$",IBANRegistry:!0,SEPA:!0},MU:{chars:30,bban_regexp:"^[A-Z]{4}[0-9]{19}[A-Z]{3}$",IBANRegistry:!0,SEPA:!1},MV:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},MW:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},MX:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},MY:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},MZ:{chars:25,bban_regexp:"^[0-9]{21}$",IBANRegistry:!1,SEPA:!1},NA:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},NC:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",IBANRegistry:!0,SEPA:!1},NE:{chars:28,bban_regexp:"^[A-Z]{2}[0-9]{22}$",IBANRegistry:!1,SEPA:!1},NF:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},NG:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},NI:{chars:32,bban_regexp:"^[A-Z]{4}[0-9]{24}$",IBANRegistry:!1,SEPA:!1},NL:{chars:18,bban_regexp:"^[A-Z]{4}[0-9]{10}$",IBANRegistry:!0,SEPA:!0},NO:{chars:15,bban_regexp:"^[0-9]{11}$",IBANRegistry:!0,SEPA:!0},NP:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},NR:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},NU:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},NZ:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},OM:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},PA:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},PE:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},PF:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",IBANRegistry:!0,SEPA:!1},PG:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},PH:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},PK:{chars:24,bban_regexp:"^[A-Z0-9]{4}[0-9]{16}$",IBANRegistry:!0,SEPA:!1},PL:{chars:28,bban_regexp:"^[0-9]{24}$",IBANRegistry:!0,SEPA:!0},PM:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",IBANRegistry:!0,SEPA:!1},PN:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},PR:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},PS:{chars:29,bban_regexp:"^[A-Z0-9]{4}[0-9]{21}$",IBANRegistry:!0,SEPA:!1},PT:{chars:25,bban_regexp:"^[0-9]{21}$",IBANRegistry:!0,SEPA:!0},PW:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},PY:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},QA:{chars:29,bban_regexp:"^[A-Z]{4}[A-Z0-9]{21}$",IBANRegistry:!0,SEPA:!1},RE:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",IBANRegistry:!0,SEPA:!1},RO:{chars:24,bban_regexp:"^[A-Z]{4}[A-Z0-9]{16}$",IBANRegistry:!0,SEPA:!0},RS:{chars:22,bban_regexp:"^[0-9]{18}$",IBANRegistry:!0,SEPA:!1},RU:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},RW:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},SA:{chars:24,bban_regexp:"^[0-9]{2}[A-Z0-9]{18}$",IBANRegistry:!0,SEPA:!1},SB:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},SC:{chars:31,bban_regexp:"^[A-Z]{4}[0-9]{20}[A-Z]{3}$",IBANRegistry:!0,SEPA:!1},SD:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},SE:{chars:24,bban_regexp:"^[0-9]{20}$",IBANRegistry:!0,SEPA:!0},SG:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},SH:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},SI:{chars:19,bban_regexp:"^[0-9]{15}$",IBANRegistry:!0,SEPA:!0},SJ:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},SK:{chars:24,bban_regexp:"^[0-9]{20}$",IBANRegistry:!0,SEPA:!0},SL:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},SM:{chars:27,bban_regexp:"^[A-Z]{1}[0-9]{10}[A-Z0-9]{12}$",IBANRegistry:!0,SEPA:!0},SN:{chars:28,bban_regexp:"^[A-Z]{1}[0-9]{23}$",IBANRegistry:!1,SEPA:!1},SO:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},SR:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},SS:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},ST:{chars:25,bban_regexp:"^[0-9]{21}$",IBANRegistry:!0,SEPA:!1},SV:{chars:28,bban_regexp:"^[A-Z]{4}[0-9]{20}$",IBANRegistry:!0,SEPA:!1},SX:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},SY:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},SZ:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},TC:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},TD:{chars:27,bban_regexp:"^[0-9]{23}$",IBANRegistry:!1,SEPA:!1},TF:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",IBANRegistry:!0,SEPA:!1},TG:{chars:28,bban_regexp:"^[A-Z]{2}[0-9]{22}$",IBANRegistry:!1,SEPA:!1},TH:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},TJ:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},TK:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},TL:{chars:23,bban_regexp:"^[0-9]{19}$",IBANRegistry:!0,SEPA:!1},TM:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},TN:{chars:24,bban_regexp:"^[0-9]{20}$",IBANRegistry:!0,SEPA:!1},TO:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},TR:{chars:26,bban_regexp:"^[0-9]{5}[A-Z0-9]{17}$",IBANRegistry:!0,SEPA:!1},TT:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},TV:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},TW:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},TZ:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},UA:{chars:29,bban_regexp:"^[0-9]{6}[A-Z0-9]{19}$",IBANRegistry:!0,SEPA:!1},UG:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},UM:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},US:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},UY:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},UZ:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},VA:{chars:22,bban_regexp:"^[0-9]{18}",IBANRegistry:!0,SEPA:!1},VC:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},VE:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},VG:{chars:24,bban_regexp:"^[A-Z0-9]{4}[0-9]{16}$",IBANRegistry:!0,SEPA:!1},VI:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},VN:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},VU:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},WF:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",IBANRegistry:!0,SEPA:!1},WS:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},XK:{chars:20,bban_regexp:"^[0-9]{16}$",IBANRegistry:!0,SEPA:!1},YE:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},YT:{chars:27,bban_regexp:"^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$",IBANRegistry:!0,SEPA:!1},ZA:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},ZM:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1},ZW:{chars:null,bban_regexp:null,IBANRegistry:!1,SEPA:!1}}},amqe:function(d,b,x){"use strict";function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}var T=x("1seS"),D="function"==typeof Symbol&&"symbol"===_typeof(Symbol("foo")),z=Object.prototype.toString,H=Array.prototype.concat,W=x("eZIG"),U=x("ZLCw")(),defineProperty=function(d,b,x,T){if(b in d)if(!0===T){if(d[b]===x)return}else if("function"!=typeof(D=T)||"[object Function]"!==z.call(D)||!T())return;var D;U?W(d,b,x,!0):W(d,b,x)},defineProperties=function(d,b){var x=arguments.length>2?arguments[2]:{},z=T(b);D&&(z=H.call(z,Object.getOwnPropertySymbols(b)));for(var W=0;W<z.length;W+=1)defineProperty(d,z[W],b[z[W]],x[z[W]])};defineProperties.supportsDescriptors=!!U,d.exports=defineProperties},b6la:function(d,b){var x,T;window.App=window.App||{},App.SiteSearchField=(x=function(d){var b=d.closest('[data-role="layout-header"]'),x=b.find('[data-role="search-overlay"]'),T=x.find('[data-role="search-bar"]').not(".search-bar--results-page-mobile"),D=x.find(".search-bar--results-page-mobile");x.removeClass("onscreen opaque"),x.removeClass("onscreen opaque"),T.removeClass("spread"),D&&$(".search-results-layout__search-field--mobile").append(D),b.find('[data-role="inline-search-container"] [data-role="placeholder-icon"]').off("
831click"),b.find('[data-role="inline-search-container"] [data-role="placeholder-icon"]').remove(),b.find('[data-role="inline-search-container"]').append(T),$(window).off("keydown.search-overlay")},T=function(d){var b=$('[data-role="search-overlay"]');d.on("focus",'input[type="search"]',(function(){App.matchesScreenDimensions("max:tablet",App.breakpoints)&&(b.find('input[type="search"]').is(":focus")||(function(d){var b=$('[data-role="search-overlay"]'),T=d.closest('[data-role="search-bar"]'),D=$('<span class="search-form__icon search-form__icon--active" data-role="placeholder-icon">'+T.find(".search-form__icon").html()+"</span>");d.closest('[data-role="layout-header"]').find('[data-role="inline-search-container"]').append(D),b.find('[data-role="search-form-container"]').append(T),b.addClass("onscreen"),window.setTimeout((function(){b.addClass("opaque")}),10),T.addClass("spread"),$(window).on("keydown.search-overlay",(function(b){27===(b.which||b.keyCode)&&x(d)}))}(d),b.find('input[type="search"]').focus()))})),b.on("click",'[data-action="close-search-results"]',(function(b){b.preventDefault(),x(d),d.find('input[type="search"]').val("").trigger("input")}))},{init:function(){$('[data-module~="site-search-field"]').each((function(){var d;(d=$(this)).attr("data-results-url")&&T(d)}))}})},bYtY:function(d,b,x){"use strict";x.d(b,"p",(function(){return guid})),x.d(b,"G",(function(){return logError})),x.d(b,"d",(function(){return clone})),x.d(b,"I",(function(){return merge})),x.d(b,"J",(function(){return mergeAll})),x.d(b,"m",(function(){return extend})),x.d(b,"i",(function(){return defaults})),x.d(b,"r",(function(){return indexOf})),x.d(b,"s",(function(){return inherits})),x.d(b,"K",(function(){return mixin})),x.d(b,"u",(function(){return isArrayLike})),x.d(b,"k",(function(){return each})),x.d(b,"H",(function(){return map})),x.d(b,"N",(function(){return reduce})),x.d(b,"n",(function(){return filter})),x.d(b,"o",(function(){return find})),x.d(b,"F",(function(){return keys})),x.d(b,"c",(function(){return ie})),x.d(b,"h",(function(){return curry})),x.d(b,"t",(function(){return isArray})),x.d(b,"w",(function(){return isFunction})),x.d(b,"C",(function(){return isString})),x.d(b,"D",(function(){return isStringSafe})),x.d(b,"z",(function(){return isNumber})),x.d(b,"A",(function(){return isObject})),x.d(b,"E",(function(){return isTypedArray})),x.d(b,"v",(function(){return isDom})),x.d(b,"x",(function(){return isGradientObject})),x.d(b,"y",(function(){return isImagePatternObject})),x.d(b,"B",(function(){return isRegExp})),x.d(b,"l",(function(){return eqNaN})),x.d(b,"O",(function(){return retrieve})),x.d(b,"P",(function(){return retrieve2})),x.d(b,"Q",(function(){return retrieve3})),x.d(b,"S",(function(){return slice})),x.d(b,"M",(function(){return normalizeCssArray})),x.d(b,"b",(function(){return assert})),x.d(b,"T",(function(){return trim})),x.d(b,"R",(function(){return setAsPrimitive})),x.d(b,"f",(function(){return createHashMap})),x.d(b,"e",(function(){return concatArray})),x.d(b,"g",(function(){return createObject})),x.d(b,"j",(function(){return disableUserSelect})),x.d(b,"q",(function(){return hasOwn})),x.d(b,"L",(function(){return noop})),x.d(b,"a",(function(){return ce}));var T=x("cm6r");function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}var D=reduce(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],(function(d,b){return d["[object "+b+"]"]=!0,d}),{}),z=reduce(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],(function(d,b){return d["[object "+b+"Array]"]=!0,d}),{}),H=Object.prototype.toString,W=Array.prototype,U=W.forEach,Y=W.filter,Z=W.slice,J=W.map,ee=function(){}.constructor,te=ee?ee.prototype:null,ne=2311;function guid(){return ne++}function logError(){for(var d=[],b=0;b<arguments.length;b++)d[b]=arguments[b];"undefined"!=typeof console&&console.error.apply(console,d)}function clone(d){if(null==d||"object"!==_typeof(d))return d;var b=d,x=H.call(d);
vendor: 4,070 bytes, line 831
831if("[object Array]"===x){if(!isPrimitive(d)){b=[];for(var T=0,W=d.length;T<W;T++)b[T]=clone(d[T])}}else if(z[x]){if(!isPrimitive(d)){var U=d.constructor;if(U.from)b=U.from(d);else{b=new U(d.length);for(T=0,W=d.length;T<W;T++)b[T]=d[T]}}}else if(!D[x]&&!isPrimitive(d)&&!isDom(d))for(var Y in b={},d)d.hasOwnProperty(Y)&&"__proto__"!==Y&&(b[Y]=clone(d[Y]));return b}function merge(d,b,x){if(!isObject(b)||!isObject(d))return x?clone(b):d;for(var T in b)if(b.hasOwnProperty(T)&&"__proto__"!==T){var D=d[T],z=b[T];!isObject(z)||!isObject(D)||isArray(z)||isArray(D)||isDom(z)||isDom(D)||isBuiltInObject(z)||isBuiltInObject(D)||isPrimitive(z)||isPrimitive(D)?!x&&T in d||(d[T]=clone(b[T])):merge(D,z,x)}return d}function mergeAll(d,b){for(var x=d[0],T=1,D=d.length;T<D;T++)x=merge(x,d[T],b);return x}function extend(d,b){if(Object.assign)Object.assign(d,b);else for(var x in b)b.hasOwnProperty(x)&&"__proto__"!==x&&(d[x]=b[x]);return d}function defaults(d,b,x){for(var T=keys(b),D=0,z=T.length;D<z;D++){var H=T[D];(x?null!=b[H]:null==d[H])&&(d[H]=b[H])}return d}T.d.createCanvas;function indexOf(d,b){if(d){if(d.indexOf)return d.indexOf(b);for(var x=0,T=d.length;x<T;x++)if(d[x]===b)return x}return-1}function inherits(d,b){var x=d.prototype;function F(){}for(var T in F.prototype=b.prototype,d.prototype=new F,x)x.hasOwnProperty(T)&&(d.prototype[T]=x[T]);d.prototype.constructor=d,d.superClass=b}function mixin(d,b,x){if(d="prototype"in d?d.prototype:d,b="prototype"in b?b.prototype:b,Object.getOwnPropertyNames)for(var T=Object.getOwnPropertyNames(b),D=0;D<T.length;D++){var z=T[D];"constructor"!==z&&(x?null!=b[z]:null==d[z])&&(d[z]=b[z])}else defaults(d,b,x)}function isArrayLike(d){return!!d&&("string"!=typeof d&&"number"==typeof d.length)}function each(d,b,x){if(d&&b)if(d.forEach&&d.forEach===U)d.forEach(b,x);else if(d.length===+d.length)for(var T=0,D=d.length;T<D;T++)b.call(x,d[T],T,d);else for(var z in d)d.hasOwnProperty(z)&&b.call(x,d[z],z,d)}function map(d,b,x){if(!d)return[];if(!b)return slice(d);if(d.map&&d.map===J)return d.map(b,x);for(var T=[],D=0,z=d.length;D<z;D++)T.push(b.call(x,d[D],D,d));return T}function reduce(d,b,x,T){if(d&&b){for(var D=0,z=d.length;D<z;D++)x=b.call(T,x,d[D],D,d);return x}}function filter(d,b,x){if(!d)return[];if(!b)return slice(d);if(d.filter&&d.filter===Y)return d.filter(b,x);for(var T=[],D=0,z=d.length;D<z;D++)b.call(x,d[D],D,d)&&T.push(d[D]);return T}function find(d,b,x){if(d&&b)for(var T=0,D=d.length;T<D;T++)if(b.call(x,d[T],T,d))return d[T]}function keys(d){if(!d)return[];if(Object.keys)return Object.keys(d);var b=[];for(var x in d)d.hasOwnProperty(x)&&b.push(x);return b}var ie=te&&isFunction(te.bind)?te.call.bind(te.bind):function(d,b){for(var x=[],T=2;T<arguments.length;T++)x[T-2]=arguments[T];return function(){return d.apply(b,x.concat(Z.call(arguments)))}};function curry(d){for(var b=[],x=1;x<arguments.length;x++)b[x-1]=arguments[x];return function(){return d.apply(this,b.concat(Z.call(arguments)))}}function isArray(d){return Array.isArray?Array.isArray(d):"[object Array]"===H.call(d)}function isFunction(d){return"function"==typeof d}function isString(d){return"string"==typeof d}function isStringSafe(d){return"[object String]"===H.call(d)}function isNumber(d){return"number"==typeof d}function isObject(d){var b=_typeof(d);return"function"===b||!!d&&"object"===b}function isBuiltInObject(d){return!!D[H.call(d)]}function isTypedArray(d){return!!z[H.call(d)]}function isDom(d){return"object"===_typeof(d)&&"number"==typeof d.nodeType&&"object"===_typeof(d.ownerDocument)}function isGradientObject(d){return null!=d.colorStops}function isImagePatternObject(d){return null!=d.image}function isRegExp(d){return"[object RegExp]"===H.call(d)}function eqNaN(d){return d!=d}function retrieve(){for(var d=[],b=0;b<arguments.length;b++)d[b]=arguments[b];for(var x=0,T=d.length;x<T;x++)if(null!=d[x])return d[x]}function retrieve2(d,b){return null!=d?d:b}function retrieve3(d,b,x){return null!=d?d:null!=b?b:x}function slice(d){for(var b=[],x=1;x<arguments.length;x++)b[x-1]=arguments[x];return Z.apply(d,b)}
vendor: 2,363 bytes, line 831
831function normalizeCssArray(d){if("number"==typeof d)return[d,d,d,d];var b=d.length;return 2===b?[d[0],d[1],d[0],d[1]]:3===b?[d[0],d[1],d[2],d[1]]:d}function assert(d,b){if(!d)throw new Error(b)}function trim(d){return null==d?null:"function"==typeof d.trim?d.trim():d.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}function setAsPrimitive(d){d.__ec_primitive__=!0}function isPrimitive(d){return d.__ec_primitive__}var oe=function(){function MapPolyfill(){this.data={}}return MapPolyfill.prototype.delete=function(d){var b=this.has(d);return b&&delete this.data[d],b},MapPolyfill.prototype.has=function(d){return this.data.hasOwnProperty(d)},MapPolyfill.prototype.get=function(d){return this.data[d]},MapPolyfill.prototype.set=function(d,b){return this.data[d]=b,this},MapPolyfill.prototype.keys=function(){return keys(this.data)},MapPolyfill.prototype.forEach=function(d){var b=this.data;for(var x in b)b.hasOwnProperty(x)&&d(b[x],x)},MapPolyfill}(),se="function"==typeof Map;var le=function(){function HashMap(d){var b=isArray(d);this.data=se?new Map:new oe;var x=this;function visit(d,T){b?x.set(d,T):x.set(T,d)}d instanceof HashMap?d.each(visit):d&&each(d,visit)}return HashMap.prototype.hasKey=function(d){return this.data.has(d)},HashMap.prototype.get=function(d){return this.data.get(d)},HashMap.prototype.set=function(d,b){return this.data.set(d,b),b},HashMap.prototype.each=function(d,b){this.data.forEach((function(x,T){d.call(b,x,T)}))},HashMap.prototype.keys=function(){var d=this.data.keys();return se?Array.from(d):d},HashMap.prototype.removeKey=function(d){this.data.delete(d)},HashMap}();function createHashMap(d){return new le(d)}function concatArray(d,b){for(var x=new d.constructor(d.length+b.length),T=0;T<d.length;T++)x[T]=d[T];var D=d.length;for(T=0;T<b.length;T++)x[T+D]=b[T];return x}function createObject(d,b){var x;if(Object.create)x=Object.create(d);else{var StyleCtor=function(){};StyleCtor.prototype=d,x=new StyleCtor}return b&&extend(x,b),x}function disableUserSelect(d){var b=d.style;b.webkitUserSelect="none",b.userSelect="none",b.webkitTapHighlightColor="rgba(0,0,0,0)",b["-webkit-touch-callout"]="none"}function hasOwn(d,b){return d.hasOwnProperty(b)}function noop(){}var ce=180/Math.PI;Number.EPSILON||Math.pow(2,-52)},bbcx:function(d,b,x){"use strict";var T=x("amqe"),D=x("PrET"),z=x("1u+m"),H=x("WDQk"),W=x("wVpn"),U=D(H(),Ob
831ject);T(U,{getPolyfill:H,implementation:z,shim:W}),d.exports=U},bmZV:function(d,b){Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(d){if(null==this)throw new TypeError('"this" is null or not defined');var b=Object(this),x=b.length>>>0;if("function"!=typeof d)throw new TypeError("predicate must be a function");for(var T=arguments[1],D=0;D<x;){var z=b[D];if(d.call(T,z,D,b))return z;D++}}})},byIv:function(d,b,x){
832/**
833 * @preserve
834 * GeoJSON -> SVG text renderer
835 *
836 * @license MIT
837 * @copyright 2020 Alexander Milevski <[email protected]>
838 */
839d.exports=x("9mcg")},cckQ:function(d,b,x){"use strict";var T=x("AM7I")("%Object.defineProperty%",!0)||!1;if(T)try{T({},"a",{value:1})}catch(d){T=!1}d.exports=T},cibw:function(d,b,x){"use strict";(function(b){var T=x("gZ/1"),D="undefined"==typeof globalThis?b:globalThis;d.exports=function(){for(var d=[],b=0;b<T.length;b++)"function"==typeof D[T[b]]&&(d[d.length]=T[b]);return d}}).call(this,x("yLpj"))},cm6r:function(d,b,x){"use strict";x.d(b,"c",(function(){return T})),x.d(b,"b",(function(){return D})),x.d(b,"a",(function(){return z})),x.d(b,"d",(function(){return Y})),x.d(b,"e",(function(){return setPlatformAPI}));var T=12,D="sans-serif",z=T+"px "+D;var H,W,U=function(d){var b={};if("undefined"==typeof JSON)return b;for(var x=0;x<d.length;x++){var T=String.fromCharCode(x+32),D=(d.charCodeAt(x)-20)/100;b[T]=D}return b}("007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N"),Y={createCanvas:function(){return"undefined"!=typeof document&&document.createElement("canvas")},measureText:function(d,b){if(!H){var x=Y.createCanvas();H=x&&x.getContext("2d")}if(H)return W!==b&&(W=H.font=b||z),H.measureText(d);d=d||"";var D=/((?:\d+)?\.?\d*)px/.exec(b=b||z),Z=D&&+D[1]||T,J=0;if(b.indexOf("mono")>=0)J=Z*d.length;else for(var ee=0;ee<d.length;ee++){var te=U[d[ee]];J+=null==te?Z:te*Z}return{width:J}},loadImage:function(d,b,x){var T=new Image;return T.onload=b,T.onerror=x,T.src=d,T}};function setPlatformAPI(d){for(var b in Y)d[b]&&(Y[b]=d[b])}},"dXK/":function(d,b){var x,T,D,z;window.App=window.App||{},App.ContentTeaser=(x={default:{initialItems:3,itemsPerRow:3},breakpoints:{"max:xs":{initialItems:1,itemsPerRow:3},"max:sm":{initialItems:2,itemsPerRow:2}}},T=function(d,b){for(var x in b.breakpoints)if(App.matchesScreenDimensions(x,App.breakpoints))return b.breakpoints[x][d]||b.default[d];return b.default[d]},D=function(d){var b=d.find('[data-action="show-more"]'),D=d.find('[data-role="slider-slide"]').length,z=T("initialItems",x);if(d.data("initialItems")!==z){if(0!==b.length&&D>z){var H=":nth-child(n+"+(z+1)+")";d.find('[data-role="slider-slide"]:not('+H+")").removeClass("hidden"),d.find('[data-role="slider-slide"]'+H).addClass("hidden")}0!==b.length&&b.toggle(D>z),d.data("initialItems",z)}},z=function(d){d.find(".swiper-slide").each((function(){App.FUNCTIONS.isEmpty(this)&&$(this).remove()})),D(d),d.on("click",'[data-action="show-more"]',(function(b){b.preventDefault(),function(d){var b=d.find('[data-action="show-more"]'),D=T("itemsPerRow",x);d.find('[data-role="slider-slide"]:not(:visible):lt('+D+")").removeClass("hidden"),0===d.find('[data-role="slider-slide"]:not(:visible)').length&&b.hide()}(d)})),$(window).on("resize.contentTeaser",window._.throttle((function(){D(d)}),25))},{init:function(){$('[data-module~="content-teaser"]').each((function(){z($(this))}))}})},"do2/":function(d,b){var x={}.toString;d.exports=Array.isArray||function(d){return"[object Array]"==x.call(d)}},eZIG:function(d,b,x){"use strict";function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}var T=x("cckQ"),D=x("Z+6F"),z=x("DSU0"),H=x("Kqna");d.exports=function(d,b,x){if(!d||"object"!==_typeof(d)&&"function"!=typeof d)throw new z("`obj` must be an object or a function`");if("string"!=typeof b&&"symbol"!==_typeof(b))throw new z("`property` must be a string or a symbol`");
839if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new z("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new z("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new z("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new z("`loose`, if provided, must be a boolean");var W=arguments.length>3?arguments[3]:null,U=arguments.length>4?arguments[4]:null,Y=arguments.length>5?arguments[5]:null,Z=arguments.length>6&&arguments[6],J=!!H&&H(d,b);if(T)T(d,b,{configurable:null===Y&&J?J.configurable:!Y,enumerable:null===W&&J?J.enumerable:!W,value:x,writable:null===U&&J?J.writable:!U});else{if(!Z&&(W||U||Y))throw new D("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");d[b]=x}}},einR:function(d,b,x){"use strict";(function(d){x.d(b,"p",(function(){return normalizeColor})),x.d(b,"j",(function(){return isAroundZero})),x.d(b,"q",(function(){return round4})),x.d(b,"e",(function(){return getMatrixStr})),x.d(b,"a",(function(){return W})),x.d(b,"b",(function(){return adjustTextY})),x.d(b,"i",(function(){return hasShadow})),x.d(b,"h",(function(){return getShadowKey})),x.d(b,"l",(function(){return isImagePattern})),x.d(b,"n",(function(){return isPattern})),x.d(b,"m",(function(){return isLinearGradient})),x.d(b,"o",(function(){return isRadialGradient})),x.d(b,"k",(function(){return isGradient})),x.d(b,"d",(function(){return getIdURL})),x.d(b,"f",(function(){return getPathPrecision})),x.d(b,"g",(function(){return getSRTTransformString})),x.d(b,"c",(function(){return U}));var T=x("bYtY"),D=x("Qe9p"),z=x("ItGF"),H=Math.round;function normalizeColor(d){var b;if(d&&"transparent"!==d){if("string"==typeof d&&d.indexOf("rgba")>-1){var x=Object(D.h)(d);x&&(d="rgb("+x[0]+","+x[1]+","+x[2]+")",b=x[3])}}else d="none";return{color:d,opacity:null==b?1:b}}function isAroundZero(d){return d<1e-4&&d>-1e-4}function round3(d){return H(1e3*d)/1e3}function round4(d){return H(1e4*d)/1e4}function getMatrixStr(d){return"matrix("+round3(d[0])+","+round3(d[1])+","+round3(d[2])+","+round3(d[3])+","+round4(d[4])+","+round4(d[5])+")"}var W={left:"start",right:"end",center:"middle",middle:"middle"};function adjustTextY(d,b,x){return"top"===x?d+=b/2:"bottom"===x&&(d-=b/2),d}function hasShadow(d){return d&&(d.shadowBlur||d.shadowOffsetX||d.shadowOffsetY)}function getShadowKey(d){var b=d.style,x=d.getGlobalScale();return[b.shadowColor,(b.shadowBlur||0).toFixed(2),(b.shadowOffsetX||0).toFixed(2),(b.shadowOffsetY||0).toFixed(2),x[0],x[1]].join(",")}function isImagePattern(d){return d&&!!d.image}function isPattern(d){return isImagePattern(d)||function(d){return d&&!!d.svgElement}(d)}function isLinearGradient(d){return"linear"===d.type}function isRadialGradient(d){return"radial"===d.type}function isGradient(d){return d&&("linear"===d.type||"radial"===d.type)}function getIdURL(d){return"url(#"+d+")"}function getPathPrecision(d){var b=d.getGlobalScale(),x=Math.max(b[0],b[1]);return Math.max(Math.ceil(Math.log(x)/Math.log(10)),1)}function getSRTTransformString(d){var b=d.x||0,x=d.y||0,D=(d.rotation||0)*T.a,z=Object(T.P)(d.scaleX,1),W=Object(T.P)(d.scaleY,1),U=d.skewX||0,Y=d.skewY||0,Z=[];return(b||x)&&Z.push("translate("+b+"px,"+x+"px)"),D&&Z.push("rotate("+D+")"),1===z&&1===W||Z.push("scale("+z+","+W+")"),(U||Y)&&Z.push("skew("+H(U*T.a)+"deg, "+H(Y*T.a)+"deg)"),Z.join(" ")}var U=z.a.hasGlobalWindow&&Object(T.w)(window.btoa)?function(d){return window.btoa(unescape(encodeURIComponent(d)))}:void 0!==d?function(b){return d.from(b).toString("base64")}:function(d){return null}}).call(this,x("HDXh").Buffer)},eyOE:function(d,b,x){"use strict";var T=x("Z9y6");d.exports=Function.prototype.bind||T},f66B:function(d,b,x){"use strict";function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}var T=x("Koq/"),D=x("VF6F"),z=x("5xAX"),H=x("AM7I"),W=x("srjY"),U=x("VAJa"),Y=x("bbcx"),Z=x("45zb"),J=x("do2/"),ee=x("0+DU"),te=x("DBXz"),ne=x("EhwW"),ie=x("Oyi2"),oe=x("1seS"),se=x("L7mI"),le=x("vSUW"),ce=x("7cSL"),de=x("nGMq"),he=D("SharedArrayBuffer.prototype.byteLength",!0),pe=D("Date.prototype.getTime"),fe=Object.getPrototypeOf,ge=D("Object.prototype.toString"),me=H("%Set%",!0),ye=D("Map.prototype.has",!0),ve=D("Map.prototype.get",!0),xe=D("Map.prototype.size",!0),_e=D("Set.prototype.add",!0),we=D("Set.prototype.delete",!0),Se=D("Set.prototype.has",!0),Me=D("Set.prototype.size",!0);function setHasEqualElement(d,b,x,T){for(var D,z=W(d);(D=z.next())&&!D.done;)if(internalDeepEqual(b,D.value,x,T))return we(d,D.value),!0;return!1}function findLooseMatchingPrimitives(d){return void 0===d?null:"object"!==_typeof(d)?"symbol"!==_typeof(d)&&("string"!=typeof d&&"number"!=typeof d||+d==+d):void 0}function mapMightHaveLoosePrim(d,b,x,D,z,H){var W=findLooseMatchingPrimitives(x);if(null!=W)return W;var U=ve(b,W),Y=T({},z,{strict:!1});return!(void 0===U&&!ye(b,W)||!internalDeepEqual(D,U,Y,H))&&(!ye(d,W)&&internalDeepEqual(D,U,Y,H))}function setMightHaveLoosePrim(d,b,x){var T=findLooseMatchingPrimitives(x);return null!=T?T:Se(b,T)&&!Se(d,T)}function mapHasEqualEntry(d,b,x,T,D,z){for(var H,U,Y=W(d);(H=Y.next())&&!H.done;)if(internalDeepEqual(x,U=H.value,D,z)&&internalDeepEqual(T,ve(b,U
839),D,z))return we(d,U),!0;return!1}function internalDeepEqual(d,b,x,D){var H=x||{};if(H.strict?Y(d,b):d===b)return!0;if(se(d)!==se(b))return!1;if(!d||!b||"object"!==_typeof(d)&&"object"!==_typeof(b))return H.strict?Y(d,b):d==b;var U,we=D.has(d),Te=D.has(b);if(we&&Te){if(D.get(d)===D.get(b))return!0}else U={};return we||D.set(d,U),Te||D.set(b,U),function(d,b,x,D){var H,U;if(_typeof(d)!==_typeof(b))return!1;if(null==d||null==b)return!1;if(ge(d)!==ge(b))return!1;if(Z(d)!==Z(b))return!1;var Y=J(d),se=J(b);if(Y!==se)return!1;var we=d instanceof Error,Te=b instanceof Error;if(we!==Te)return!1;if((we||Te)&&(d.name!==b.name||d.message!==b.message))return!1;var ke=ne(d),Pe=ne(b);if(ke!==Pe)return!1;if((ke||Pe)&&(d.source!==b.source||z(d)!==z(b)))return!1;var Ee=te(d),Le=te(b);if(Ee!==Le)return!1;if((Ee||Le)&&pe(d)!==pe(b))return!1;if(x.strict&&fe&&fe(d)!==fe(b))return!1;var Ne=ce(d),Ve=ce(b);if(Ne!==Ve)return!1;if(Ne||Ve){if(d.length!==b.length)return!1;for(H=0;H<d.length;H++)if(d[H]!==b[H])return!1;return!0}var Fe=isBuffer(d),Ge=isBuffer(b);if(Fe!==Ge)return!1;if(Fe||Ge){if(d.length!==b.length)return!1;for(H=0;H<d.length;H++)if(d[H]!==b[H])return!1;return!0}var Ye=ee(d),Xe=ee(b);if(Ye!==Xe)return!1;if(Ye||Xe)return de(d)===de(b)&&("function"==typeof Uint8Array&&internalDeepEqual(new Uint8Array(d),new Uint8Array(b),x,D));var Ke=ie(d),Qe=ie(b);if(Ke!==Qe)return!1;if(Ke||Qe)return he(d)===he(b)&&("function"==typeof Uint8Array&&internalDeepEqual(new Uint8Array(d),new Uint8Array(b),x,D));if(_typeof(d)!==_typeof(b))return!1;var et=oe(d),tt=oe(b);if(et.length!==tt.length)return!1;for(et.sort(),tt.sort(),H=et.length-1;H>=0;H--)if(et[H]!=tt[H])return!1;for(H=et.length-1;H>=0;H--)if(U=et[H],!internalDeepEqual(d[U],b[U],x,D))return!1;var nt=le(d),ot=le(b);if(nt!==ot)return!1;if("Set"===nt||"Set"===ot)return function(d,b,x,T){if(Me(d)!==Me(b))return!1;var D,z,H,U=W(d),Y=W(b);for(;(D=U.next())&&!D.done;)if(D.value&&"object"===_typeof(D.value))H||(H=new me),_e(H,D.value);else if(!Se(b,D.value)){if(x.strict)return!1;if(!setMightHaveLoosePrim(d,b,D.value))return!1;H||(H=new me),_e(H,D.value)}if(H){for(;(z=Y.next())&&!z.done;)if(z.value&&"object"===_typeof(z.value)){if(!setHasEqualElement(H,z.value,x.strict,T))return!1}else if(!x.strict&&!Se(d,z.value)&&!setHasEqualElement(H,z.value,x.strict,T))return!1;return 0===Me(H)}return!0}(d,b,x,D);if("Map"===nt)return function(d,b,x,D){if(xe(d)!==xe(b))return!1;var z,H,U,Y,Z,J,ee=W(d),te=W(b);for(;(z=ee.next())&&!z.done;)if(Y=z.value[0],Z=z.value[1],Y&&"object"===_typeof(Y))U||(U=new me),_e(U,Y);else if(void 0===(J=ve(b,Y))&&!ye(b,Y)||!internalDeepEqual(Z,J,x,D)){if(x.strict)return!1;if(!mapMightHaveLoosePrim(d,b,Y,Z,x,D))return!1;U||(U=new me),_e(U,Y)}if(U){for(;(H=te.next())&&!H.done;)if(Y=H.value[0],J=H.value[1],Y&&"object"===_typeof(Y)){if(!mapHasEqualEntry(U,d,Y,J,x,D))return!1}else if(!(x.strict||d.has(Y)&&internalDeepEqual(ve(d,Y),J,x,D)||mapHasEqualEntry(U,d,Y,J,T({},x,{strict:!1}),D)))return!1;return 0===Me(U)}return!0}(d,b,x,D);return!0}(d,b,H,D)}function isBuffer(d){return!(!d||"object"!==_typeof(d)||"number"!=typeof d.length)&&("function"==typeof d.copy&&"function"==typeof d.slice&&(!(d.length>0&&"number"!=typeof d[0])&&!!(d.constructor&&d.constructor.isBuffer&&d.constructor.isBuffer(d))))}d.exports=function(d,b,x){return internalDeepEqual(d,b,x,U())}},fIE9:function(d,b,x){"use strict";var T=function(){function ChatBotApi(d){this.$element=d,this.initModule()}return ChatBotApi.prototype.initModule=function(){var d=this;if(this.$element.data("chat-bot-open")||this.$element.data("chat-bot-send-message")){var b=this.$element.closest("[data-chat-bot-input-wrapper]").find("[data-chat-bot-input]");
839b.on("keydown",(function(b){"Enter"!==b.key&&13!==b.keyCode||(b.preventDefault(),d.$element.trigger("click"))})),this.$element.on("click",(function(){var x=b.length?String(b.val()||""):"";if(!b.length||x.trim()){var T=window.$('[data-module~="webchat"]').data("webchatInstance");if((T||(T=window.$('[data-module~="webchatv3"]').data("webchatInstance")))&&(d.$element.data("chat-bot-open")&&T.open(),setTimeout((function(){window.$(".webchat-root .webchat-homescreen-send-button").click()}),200),d.$element.data("chat-bot-send-message"))){var D=x||d.$element.data("chat-bot-payload"),z=x||d.$element.data("chat-bot-label"),H=z?{label:z}:void 0;T.sendMessage(D,{},H)}}})),this.$element.on("keydown",(function(b){b.currentTarget!==d.$element[0]||"Enter"!==b.key&&13!==b.keyCode&&32!==b.keyCode||(b.preventDefault(),d.$element.trigger("click"))}))}},ChatBotApi}();b.a=T},"gZ/1":function(d,b,x){"use strict";d.exports=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]},haPQ:function(d,b){window.App=window.App||{},App.TipSlider={init:function(){$('[data-module~="tip-slider"]').each((function(){var d,b,x,T;d=$(this),b=d.find('[data-action="slide-to-next"]'),x=d.find('[data-action="slide-to-previous"]'),(T=new window.Swiper(d.find(".swiper-container")[0],{init:!1,effect:"fade"})).on("init",(function(d){this.slides.length<=this.params.slidesPerView?(x.hide(),b.hide()):(x.show(),b.show())})),T.on("init fromEdge reachBeginning reachEnd",(function(d){x.css({visibility:this.isBeginning?"hidden":""}).prop("disabled",this.isBeginning),b.css({visibility:this.isEnd?"hidden":""}).prop("disabled",this.isEnd)})),d.on("click",'[data-action="slide-to-next"]',(function(){T.slideNext()})),d.on("click",'[data-action="slide-to-previous"]',(function(){T.slidePrev()})),$(window).on("load",(function(){T.update()})),d.on("lazybeforeunveil","img",(function onLazyBeforeUnveil(){d.off("lazybeforeunveil","img",onLazyBeforeUnveil),T.update()})),d.find(".swiper-slide").each((function(){App.FUNCTIONS.isEmpty(this)&&$(this).removeClass("swiper-slide").attr("data-role","slider-slide--empty")})),T.init()}))}}},hqgj:function(d,b){var x,T,D;window.App=window.App||{},App.TimePicker=function(d){this.options=d,this.$field=$(d.field),this.$trigger=d.trigger?$(d.trigger):this.$field,this.$container=$(d.container),this.date=new Date;var b=38,x=40,T=13,D=32,z=27,_update=function(){var b=window.moment(this.date).format(d.format||"HH.MM");d.suffix&&b.length>0&&(b+=" "+d.suffix),this.$trigger.text(b),this.$field.val(this.date).trigger("change")},_scheduleDisappearance=function(){var d=this;window.setTimeout((function(){d.$trigger.is(":focus")||d.$container.find(":focus").length>0||(d.hide(),d.$trigger.removeAttr("aria-expanded"))}),200)},_scrollIntoView=function(){var d=this.$container[0].getBoundingClientRect(),b=window.innerHeight-d.bottom;b<0&&(App.GLOBALS.IS_IE?$("html").animate({scrollTop:"+="+(Math.abs(b)+20)+"px"},150):$("html, body").animate({scrollTop:"+="+(Math.abs(b)+20)+"px"},150))},_selectOption=function(d){if(0!==d.length&&"true"!==d.attr("aria-disabled")){d.closest('[role="listbox"]').find('[role="option"]').removeClass("selected").removeAttr("aria-selected"),d.addClass("selected").attr("aria-selected",!0);var b=new Date(this.date);d.closest('[data-role="time-picker-hours"]').length>0?b.setHours(window.parseInt(d.attr("value"),10)):b.setMinutes(window.parseInt(d.attr("value"),10)),this.date=b,_update.apply(this)}},_focusOption=function(d){if(0!==d.length&&"true"!==d.attr("aria-disabled")){var b=d.closest('[role="listbox"]'),x=b.find(".simplebar-scroll-content"),T=b.height(),D=x.scrollTop(),z=d.position().top,H=d.outerHeight(!0);z<D?x.scrollTop(z+parseInt(d.css("marginTop"))):z-D+H>T&&x.scrollTop(z+H-T-parseInt(d.css("marginBottom"))),b.find('[role="option"]').removeClass("focused"),d.addClass("focused")}};this._centerOption=function(d){var b=d.closest('[role="listbox"]'),x=b.find(".simplebar-scroll-content"),T=b.height(),D=d.position().top,z=d.outerHeight(!0);x.scrollTop(D-T/2+z/2)};var _handleArrowKeyAction=function(d,T){var D,z;switch(d.which||d.keyCode){case b:d.preventDefault(),D=T.find('[role="option"].focused'),z=T.find('[role="option"].selected'),0!==D.length?_focusOption.apply(this,[D.prev('[role="option"]:not([aria-disabled="true"])')]):0!==z.length?_focusOption.apply(this,[z.next('[role="option"]:not([aria-disabled="true"])')]):_focusOption.apply(this,[T.find('[role="option"]:not([aria-disabled="true"]):last')]);break;case x:d.preventDefault(),D=T.find('[role="option"].focused'),z=T.find('[role="option"].selected'),0!==D.length?_focusOption.apply(this,[D.next('[role="option"]:not([aria-disabled="true"])')]):0!==z.length?_focusOption.apply(this,[z.next('[role="option"]:not([aria-disabled="true"])')]):_focusOption.apply(this,[T.find('[role="option"]:not([aria-disabled="true"]):first')])}},_handleKeyAction=function(d,b){var x;switch(d.which||d.keyCode){case T:case D:d.preventDefault(),x=b.find('[role="option"].focused'),_selectOption.apply(this,[x])}};(function(){for(var d=[],b=0;b<24;b++){var x=[],T=[];this.date.getHours()===b&&(T.push("selected"),x.push('aria-selected="true"')),d.push('<li value="'+b+'" role="option" class="'+T.join(" ")+'" '+x.join(" ")+">"+("00"+b).slice(-2)+"</li>")}this.$container.find('[data-role="time-picker-hours"]').attr("tabindex","0").html("<ul>"+d.join(" ")+"</ul>"),new window.SimpleBar(this.$container.find('[data-role="time-picker-hours"]')[0],{autoHide:!1,scrollbarMinSize:40})}).apply(this),function(){for(var d=[],b=0;b<60;b++){var x=[],T=[];this.date.getMinutes()===b&&(T.push("selected"),x.push('aria-selected="true"')),d.push('<li value="'+b+'" role="option" class="'+T.join(" ")+'" '+x.join(" ")+">"+("00"+b).slice(-2)+"</li>")}this.$container.find('[data-role="time-picker-minutes"]').attr("tabindex","0").html("<ul>"+d.join(" ")+"</ul>"),new window.SimpleBar(this.$container.find('[data-role="time-picker-minutes"]')[0],{autoHide:!1,scrollbarMinSize:40})}.apply(this),function(){var d=this;this.$trigger.on("focus click",(function(){d.$container.is(":visible")||(d.show(),d.$trigger.attr("aria-expanded",!0),_scrollIntoView.apply(d)
839)})),this.$trigger.on("blur",(function(){_scheduleDisappearance.apply(d)})),this.$trigger.on("keydown",(function(T){var D=T.which||T.keyCode;D===b||D===x?(T.preventDefault(),d.$container.find('[data-role="time-picker-hours"]').focus(),_handleArrowKeyAction.apply(d,[T,d.$container.find('[data-role="time-picker-hours"]')])):D===z&&(T.preventDefault(),d.hide())})),this.$container.on("click",'[data-action="confirm"]',(function(){$(this).trigger("blur")})),this.$container.on("click",'[data-role="time-picker-hours"] [role="option"], [data-role="time-picker-minutes"] [role="option"]',(function(){_focusOption.apply(d,[$(this)]),_selectOption.apply(d,[$(this)])})),this.$container.on("keydown",'[data-role="time-picker-hours"], [data-role="time-picker-minutes"]',(function(b){_handleArrowKeyAction.apply(d,[b,$(this)]),_handleKeyAction.apply(d,[b,$(this)])})),this.$container.on("blur","*",(function(){_scheduleDisappearance.apply(d)})),this.$container.on("keydown","*",(function(b){(b.which||b.keyCode)===z&&(b.preventDefault(),d.hide())}))}.apply(this),d.defaultDate&&(this.date=d.defaultDate,_update.apply(this))},App.TimePicker.prototype.getDate=function(){return this.date},App.TimePicker.prototype.show=function(){this.$container.removeClass("hidden"),this._centerOption(this.$container.find('[data-role="time-picker-hours"] [role="option"].selected')),this._centerOption(this.$container.find('[data-role="time-picker-minutes"] [role="option"].selected'))},App.TimePicker.prototype.hide=function(){this.$container.addClass("hidden")},App.DateTimeField=(x=function(d,b,x){var T=d.find('[data-role="datetime-field"]'),D=new Date(b.getFullYear(),b.getMonth(),b.getDate(),x.getHours(),x.getMinutes());T.val(window.moment(D).format("YYYY-MM-DDTHH:mm"))},T=function(){if(this.length){var d=this[0].getBoundingClientRect(),b=window.innerHeight-d.bottom;b<0&&(App.GLOBALS.IS_IE?$("html").animate({scrollTop:"+="+(Math.abs(b)+20)+"px"},150):$("html, body").animate({scrollTop:"+="+(Math.abs(b)+20)+"px"},150))}},D=function(d){var b=new Date;x(d,b,b);var D=new window.Pikaday({field:d.find('[data-role="date-field"]')[0],container:d.find('[data-role="date-picker"]')[0],trigger:d.find('[data-role="date-trigger"]')[0],format:"DD.MM.YYYY",showDaysInNextAndPreviousMonths:!0,defaultDate:b,setDefaultDate:!0,firstDay:1,theme:"web18",i18n:App.DateTimeFieldI18n.date,onOpen:function(){var b=d.find('[data-role="date-picker"]').removeClass("hidden");T.apply(b)},onClose:function(){d.find('[data-role="date-picker"]').addClass("hidden")}}),z=new App.TimePicker({field:d.find('[data-role="time-field"]')[0],container:d.find('[data-role="time-picker"]')[0],trigger:d.find('[data-role="time-trigger"]')[0],defaultDate:b,format:"HH.mm",suffix:App.DateTimeFieldI18n.time.suffix});d.find('[data-role="date-trigger"]').text(d.find('[data-role="date-field"]').val()),d.find('[data-role="date-field"]').on("change",(function(){d.find('[data-role="date-trigger"]').text(d.find('[data-role="date-field"]').val()),x(d,D.getDate(),z.getDate())})),d.find('[data-role="time-field"]').on("change",(function(){x(d,D.getDate(),z.getDate())}))},{init:function(){$('[data-module~="date-time-field"]').each((function(){D($(this))}))}})},j0LS:function(d,b){d.exports={extend:function(d,b){var x=b[0],T=b[1];d[0]=Math.min(x,d[0]),d[1]=Math.min(T,d[1]),d[2]=Math.max(x,d[2]),d[3]=Math.max(T,d[3])},pad:function(d,b){d[0]-=b,d[1]-=b,d[2]+=b,d[3]+=b},getDefault:function(){return[1/0,1/0,-1/0,-1/0]}}},"j9q+":function(d,b){var x,T,D,z,H,W,U,Y,Z,J,ee,te,ne,ie,oe;window.App=window.App||{},App.SelectField=(x=38,T=40,D=13,z=32,H=27,W=0,U="",Y="",Z=function(d){var b=d.closest('[role="listbox"]'),x=b.data("trigger"),T=x.data("select");"true"!==d.attr("aria-selected")&&(b.find('[role="option"]').removeClass("selected").attr("aria-selected","false"),d.addClass("selected").attr("aria-selected","true"),T.val(d.attr("value")).trigger("change")),"true"!==d.attr("aria-disabled")?ee(x,d.text()):ee(x,"")},J=function(d,b){if("true"!==d.attr("aria-disabled")){var x=d.closest('[role="listbox"]');x.find('[role="option"]').removeClass("focused"),d.addClass("focused");var T=d.attr("id");if(T&&x.attr("aria-activedescendant",T),d.length&&b){var D=x.children("ul").first();D.scrollTop(D.scrollTop()+d.position().top)}}},ee=function(d,b){d.find("span:first").text(b)},te=function(d,b){var x=b.attr("data-placeholder"),T=x&&0!==x.length,D=d.attr("id")||"list-"+Date.now();d.attr("id",D);var z=b.find("option").toArray().map((function(d,b){var x=d.value,z=$(d).text(),H=d.selected,W=d.disabled,U=0===b&&d.disabled&&T||$(d).hasClass("hidden"),Y=[],Z=[];return Z.push('aria-selected="'+(H?"true":"false")+'"'),Z.push('id="'+D+"-opt-"+b+'"'),U&&Y.push("hidden"),W&&(Y.push("disabled"),Z.push('aria-disabled="true"')),H?(Y.push("selected"),Z.push('aria-selected="true"')):Z.push('aria-selected="false"'),'<li value="'+x+'" data-value="'+x+'" role="option" class="'+Y.join(" ")+'" '+Z.join(" ")+">"+z+"</li>"})).join("");d.html("<ul>"+z+"</ul>")},ne=function(d){d.data("trigger").attr("aria-expanded",!0),d.removeClass("hidden").focus(),$(".layout-body__content").addClass("layout-body__content--overflow--allowed"),0===d.find('[role="option"].focused').length&&J(d.find('[role="option"][aria-selected="true"]:not([aria-disabled="true"])').first().addBack().filter('[role="option"]').first().length?d.find('[role="option"][aria-selected="true"]:not([aria-disabled="true"])').first():d.find('[role="option"]:not([aria-disabled="true"]):first'),!1)},ie=function(d){d.data("trigger").attr("aria-expanded",!1).focus(),d.addClass("hidden"),$(".layout-body__content").addClass("layout-body__content--overflow--allowed"),d.find('[role="option"].focused').removeClass("focused"),d.find('[role="option"][aria-selected="true"]:not([aria-disabled="true"])').addClass("focused")},oe=function(d){var b=d.closest('[data-module~="select-field"]'),D=d.data("list");b.on("focus",'[data-role="select-trigger"]',(function(){App.env.isTouchDevice()&&d.data("select").trigger("focus").trigger("click")})),b.on("click",'[data-role="select-trigger"]',(function(){App.env.isTouchDevice()?d.data("select").trigger("focus").trigger("click"):D.is(":visible")?ie(D):ne(D)})),b.on("keyup",'[data-role="select-trigger"]',(function(b){var z=b.which||b.keyCode;if(App.env.isTouchDevice())d.data("select").trigger("focus").trigger("click");else switch(z){case x:case T:b.preventDefault(),ne(D)}}))},{init:function(){$('[data-module~="select-field"]').each((function(){var d=$(this),b=d.find('[data-role="select-list"]'),se=d.find('[data-role="select-trigger"]'),le=d.find("select");!function(d,b,x){te(d,x),d.attr("tabindex","-1"),x.attr("tabindex","-1"),$(window).on("touchstart",(function onTouchstart(){$(window).off("touchstart",onTouchstart),b.attr("tabindex","-1"),x.attr("tabindex","0")})),d.data("trigger",b),b.data("list",d),b.data("select",x),oe(b);var T=d.find('[role="option"][aria-selected="true"]:not([aria-disabled="true"])');0!==T.length?Z(T):ee(b,x.attr("data-placeholder"))}(b,se,le),d.on("options","select",(function(d){te(b,le)})),d.on("change","select",(function(d){!function(d,b){var x=d.find('[role="option"]');b.find("option").each((function(d){var b=$(x[d]);this.selected?Z(b):b.removeClass("selected").attr("aria-selected","false")}));var T=d.data("trigger"),D=d.find('[role="option"][aria-selected="true"]:not([aria-disabled="true"])');D.length?ee(T,D.text()):ee(T,b.attr("data-placeholder")||"")}(b,le)})),d.on("blur",'[data-role="select-list"]',(function(d){ie($(this))})),d.on("click",'[data-role="select-list"] [role="option"]',(function(){var d=$(this);"true"!==d.attr("aria-disabled")&&(J(d,!0),Z(d),ie(d.closest('[role="listbox"]')))})),d.on("keydown",'[data-role="select-list"]',(function(d){!function(d,b){var W;switch(d.which||d.keyCode){case x:d.preventDefault(),ne(b),0!==(W=b.find('[role="option"].focused')).length?J(W.prev('[role="option"]:not([aria-disabled="true"])'),!0):J(b.find('[role="option"]:not([aria-disabled="true"]):last'),!0);break;case T:d.preventDefault(),ne(b),0!==(W=b.find('[role="option"].focused')).length?J(W.next('[role="option"]:not([aria-disabled="true"])'),!0):J(b.find('[role="option"]:not([aria-disabled="true"]):first'),!0);break;case D:case z:d.preventDefault(),W=b.find('[role="option"].focused'),Z(W),ie(b);break;case H:d.preventDefault(),ie(b)}}(d,$(this))})),d.on("keypress",'[data-role="select-list"]',(function(d){!function(d,b){var x=d.which||d.keyCode,T=b.find('[role="option"]:not([aria-disabled="true"])'),D=[],z=String.fromCharCode(x).toLowerCase();ne(b),Y+=z,T.each((function(){Y===$(this).text().slice(0,Y.length).toLowerCase()&&D.push($(this))})),U===Y?(D[W]&&J(D[W],!0),W<D.length?W++:W===D.length&&(W=0)):D[W=0]&&J(D[W],!0),U=Y}(d,$(this))})),d.on("keyup",'[data-role="select-list"]',window._.debounce((function(){Y=""}),500))}))}})},jbXW:function(d,b,x){function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}!function(b){if("undefined"!=typeof window){var x=!0,T="",D=0,z="",H=null,W="",U=!1,Y={resize:1,click:1},Z=!0,J=1,ee="bodyOffset",te=!0,ne="",ie={},oe=32,se=null,le=!1,ce=!1,de="[iFrameSizer]",he=de.length,pe="",fe={max:1,min:1,bodyScroll:1,documentElementScroll:1},ge="child",me=window.parent,ye="*",ve=0,xe=!1,_e=null,we=16,Se=1,Me="scroll",Te=window,onMessage=function(){warn("onMessage function not defined")},onReady=function(){},onPageInfo=function(){},ke={height:function(){return warn("Custom height calculation function not defined"),document.documentElement.offsetHeight},width:function(){return warn("Custom width calculation function not defined"),document.body.scrollWidth}},Pe={},Ee=!1;try{var Le=Object.create({},{passive:{get:function(){Ee=!0}}});window.addEventListener("test",noop,Le),window.removeEventListener("test",noop,Le)}catch(d){}var Ne,Ve,Fe,Ge,Ye,Xe,Ke,Qe={bodyOffset:function(){return document.body.offsetHeight+getComputedStyle("marginTop")+getComputedStyle("marginBottom")},offset:function(){return Qe.bodyOffset()},bodyScroll:function(){return document.body.scrollHeight},custom:function(){return ke.height()},documentElementOffset:function(){return document.documentElement.offsetHeight},documentElementScroll:function(){return document.documentElement.scrollHeight},max:function(){return Math.max.apply(null,getAllMeasurements(Qe))},min:function(){return Math.min.apply(null,getAllMeasurements(Qe))},grow:function(){return Qe.max()},lowestElement:function(){return Math.max(Qe.bodyOffset()||Qe.documentElementOffset(),getMaxElement("bottom",getAllElements()))},taggedElement:function(){return getTaggedElements("bottom","data-iframe-height")}},et={bodyScroll:function(){return document.body.scrollWidth},bodyOffset:function(){return document.body.offsetWidth},custom:function(){return ke.width()},documentElementScroll:function(){return document.documentElement.scrollWidth},documentElementOffset:function(){return document.documentElement.offsetWidth},scroll:function(){return Math.max(et.bodyScroll(),et.documentElementScroll())},max:function(){return Math.max.apply(null,getAllMeasurements(et))},min:function(){return Math.min.apply(null,getAllMeasurements(et))},rightMostElement:function(){return getMaxElement("right",getAllElements())},taggedElement:function(){return getTaggedElements("right","data-iframe-width")}},tt=(Ne=sizeIFrame,Ye=null,Xe=0,Ke=function(){Xe=Date.now(),Ye=null,Ge=Ne.apply(Ve,Fe),Ye||(Ve=Fe=null)},function(){var d=Date.now();Xe||(Xe=d);var b=we-(d-Xe);return Ve=this,Fe=arguments,b<=0||b>we?(Ye&&(clearTimeout(Ye),Ye=null),Xe=d,Ge=Ne.apply(Ve,Fe),Ye||(Ve=Fe=null)):Ye||(Ye=setTimeout(Ke,b)),Ge});addEventListener(window,"message",(function(b){var x={init:function(){ne=b.data,me=b.source,init(),Z=!1,setTimeout((function(){te=!1}),128)},reset:function(){te?log("Page reset ignored by init"):(log("Page size reset by host page"),triggerReset("resetPage"))},resize:function(){sendSize("resizeParent","Parent window requested size check")},moveToAnchor:function(){ie.findTarget(getData())},inPageLink:function(){this.moveToAnchor()},pageInfo:function(){var d=getData();log("PageInfoFromParent called from parent: "+d),onPageInfo(JSON.parse(d)),log(" --")},message:function(){var d=getData();log("onMessage called from parent: "+d),onMessage(JSON.parse(d)),log(" --")}};
839function getMessageType(){return b.data.split("]")[1].split(":")[0]}function getData(){return b.data.slice(b.data.indexOf(":")+1)}function isInitMsg(){return b.data.split(":")[2]in{true:1,false:1}}function callFromParent(){var T=getMessageType();T in x?x[T]():!d.exports&&"iFrameResize"in window||void 0!==window.jQuery&&"iFrameResize"in window.jQuery.prototype||isInitMsg()||warn("Unexpected message ("+b.data+")")}de===(""+b.data).slice(0,he)&&(!1===Z?callFromParent():isInitMsg()?x.init():log('Ignored message of type "'+getMessageType()+'". Received before initialization.'))})),addEventListener(window,"readystatechange",chkLateLoaded),chkLateLoaded()}function noop(){}function addEventListener(d,b,x,T){d.addEventListener(b,x,!!Ee&&(T||{}))}function capitalizeFirstLetter(d){return d.charAt(0).toUpperCase()+d.slice(1)}function formatLogMsg(d){return de+"["+pe+"] "+d}function log(d){le&&"object"===_typeof(window.console)&&console.log(formatLogMsg(d))}function warn(d){"object"===_typeof(window.console)&&console.warn(formatLogMsg(d))}function init(){var d;!function(){function strBool(d){return"true"===d}var d=ne.slice(he).split(":");pe=d[0],D=void 0===d[1]?D:Number(d[1]),U=void 0===d[2]?U:strBool(d[2]),le=void 0===d[3]?le:strBool(d[3]),oe=void 0===d[4]?oe:Number(d[4]),x=void 0===d[6]?x:strBool(d[6]),z=d[7],ee=void 0===d[8]?ee:d[8],T=d[9],W=d[10],ve=void 0===d[11]?ve:Number(d[11]),ie.enable=void 0!==d[12]&&strBool(d[12]),ge=void 0===d[13]?ge:d[13],Me=void 0===d[14]?Me:d[14],ce=void 0===d[15]?ce:strBool(d[15])}(),log("Initialising iFrame ("+window.location.href+")"),function(){function setupCustomCalcMethods(d,b){return"function"==typeof d&&(log("Setup custom "+b+"CalcMethod"),ke[b]=d,d="custom"),d}"iFrameResizer"in window&&Object===window.iFrameResizer.constructor&&(d=window.iFrameResizer,log("Reading data from page: "+JSON.stringify(d)),Object.keys(d).forEach(depricate,d),onMessage="onMessage"in d?d.onMessage:onMessage,onReady="onReady"in d?d.onReady:onReady,ye="targetOrigin"in d?d.targetOrigin:ye,ee="heightCalculationMethod"in d?d.heightCalculationMethod:ee,Me="widthCalculationMethod"in d?d.widthCalculationMethod:Me,ee=setupCustomCalcMethods(ee,"height"),Me=setupCustomCalcMethods(Me,"width"));var d;log("TargetOrigin for parent set to: "+ye)}(),function(){void 0===z&&(z=D+"px");setBodyStyle("margin",function(d,b){-1!==b.indexOf("-")&&(warn("Negative CSS value ignored for "+d),b="");return b}("margin",z))}(),setBodyStyle("background",T),setBodyStyle("padding",W),(d=document.createElement("div")).style.clear="both",d.style.display="block",d.style.height="0",document.body.appendChild(d),checkHeightMode(),checkWidthMode(),document.documentElement.style.height="",document.body.style.height="",log('HTML & body height set to "auto"'),log("Enable public methods"),Te.parentIFrame={autoResize:function(d){return!0===d&&!1===x?(x=!0,startEventListeners()):!1===d&&!0===x&&(x=!1,manageEventListeners("remove"),null!==H&&H.disconnect(),clearInterval(se)),sendMsg(0,0,"autoResize",JSON.stringify(x)),x},close:function(){sendMsg(0,0,"close")},getId:function(){return pe},getPageInfo:function(d){"function"==typeof d?(onPageInfo=d,sendMsg(0,0,"pageInfo")):(onPageInfo=function(){},sendMsg(0,0,"pageInfoStop"))},moveToAnchor:function(d){ie.findTarget(d)},reset:function(){resetIFrame("parentIFrame.reset")},scrollTo:function(d,b){sendMsg(b,d,"scrollTo")},scrollToOffset:function(d,b){sendMsg(b,d,"scrollToOffset")},sendMessage:function(d,b){sendMsg(0,0,"message",JSON.stringify(d),b)},setHeightCalculationMethod:function(d){ee=d,checkHeightMode()},setWidthCalculationMethod:function(d){Me=d,checkWidthMode()},setTargetOrigin:function(d){log("Set targetOrigin: "+d),ye=d},size:function(d,b){sendSize("size","parentIFrame.size("+(d||"")+(b?","+b:"")+")",d,b)}},function(){if(!0!==ce)return;function sendMouse(d){sendMsg(0,0,d.type,d.screenY+":"+d.screenX)}function addMouseListener(d,b){log("Add event listener: "+b),addEventListener(window.document,d,sendMouse)}addMouseListener("mouseenter","Mouse Enter"),addMouseListener("mouseleave","Mouse Leave")}(),startEventListeners(),ie=function(){function getElementPosition(d){var b=d.getBoundingClientRect(),x={x:void 0===window.pageXOffset?document.documentElement.scrollLeft:window.pageXOffset,y:void 0===window.pageYOffset?document.documentElement.scrollTop:window.pageYOffset};return{x:parseInt(b.left,10)+parseInt(x.x,10),y:parseInt(b.top,10)+parseInt(x.y,10)}}function findTarget(d){var b=d.split("#")[1]||d,x=decodeURIComponent(b),T=document.getElementById(x)||document.getElementsByName(x)[0];void 0===T?(log("In page link (#"+b+") not found in iFrame, so sending to parent"),sendMsg(0,0,"inPageLink","#"+b)):function(d){var x=getElementPosition(d);log("Moving to in page link (#"+b+") at x: "+x.x+" y: "+x.y),sendMsg(x.y,x.x,"scrollToOffset")}(T)}function checkLocationHash(){var d=window.location.hash,b=window.location.href;""!==d&&"#"!==d&&findTarget(b)}ie.enable?Array.prototype.forEach&&document.querySelectorAll?(log("Setting up location.hash handlers"),Array.prototype.forEach.call(document.querySelectorAll('a[href^="#"]'),(function(d){"#"!==d.getAttribute("href")&&addEventListener(d,"click",(function(d){d.preventDefault(),findTarget(this.getAttribute("href"))}))})),addEventListener(window,"hashchange",checkLocationHash),setTimeout(checkLocationHash,128)):warn("In page linking not fully supported in this browser! (See README.md for IE8 workaround)"):log("In page linking not enabled");return{findTarget:findTarget}}(),sendSize("init","Init message from host page"),onReady()}function depricate(d){var b=d.split("Callback");if(2===b.length){var x="on"+b[0].charAt(0).toUpperCase()+b[0].slice(1);this[x]=this[d],delete this[d],warn("Deprecated: '"+d+"' has been renamed '"+x+"'. The old method will be removed in the next major version.")}}function setBodyStyle(d,b){void 0!==b&&""!==b&&"null"!==b&&(document.body.style[d
vendor: 4,229 bytes, line 839
839]=b,log("Body "+d+' set to "'+b+'"'))}function manageTriggerEvent(d){var b={add:function(b){function handleEvent(){sendSize(d.eventName,d.eventType)}Pe[b]=handleEvent,addEventListener(window,b,handleEvent,{passive:!0})},remove:function(d){var b,x,T,D=Pe[d];delete Pe[d],b=window,x=d,T=D,b.removeEventListener(x,T,!1)}};d.eventNames&&Array.prototype.map?(d.eventName=d.eventNames[0],d.eventNames.map(b[d.method])):b[d.method](d.eventName),log(capitalizeFirstLetter(d.method)+" event listener: "+d.eventType)}function manageEventListeners(d){manageTriggerEvent({method:d,eventType:"Animation Start",eventNames:["animationstart","webkitAnimationStart"]}),manageTriggerEvent({method:d,eventType:"Animation Iteration",eventNames:["animationiteration","webkitAnimationIteration"]}),manageTriggerEvent({method:d,eventType:"Animation End",eventNames:["animationend","webkitAnimationEnd"]}),manageTriggerEvent({method:d,eventType:"Input",eventName:"input"}),manageTriggerEvent({method:d,eventType:"Mouse Up",eventName:"mouseup"}),manageTriggerEvent({method:d,eventType:"Mouse Down",eventName:"mousedown"}),manageTriggerEvent({method:d,eventType:"Orientation Change",eventName:"orientationchange"}),manageTriggerEvent({method:d,eventType:"Print",eventNames:["afterprint","beforeprint"]}),manageTriggerEvent({method:d,eventType:"Ready State Change",eventName:"readystatechange"}),manageTriggerEvent({method:d,eventType:"Touch Start",eventName:"touchstart"}),manageTriggerEvent({method:d,eventType:"Touch End",eventName:"touchend"}),manageTriggerEvent({method:d,eventType:"Touch Cancel",eventName:"touchcancel"}),manageTriggerEvent({method:d,eventType:"Transition Start",eventNames:["transitionstart","webkitTransitionStart","MSTransitionStart","oTransitionStart","otransitionstart"]}),manageTriggerEvent({method:d,eventType:"Transition Iteration",eventNames:["transitioniteration","webkitTransitionIteration","MSTransitionIteration","oTransitionIteration","otransitioniteration"]}),manageTriggerEvent({method:d,eventType:"Transition End",eventNames:["transitionend","webkitTransitionEnd","MSTransitionEnd","oTransitionEnd","otransitionend"]}),"child"===ge&&manageTriggerEvent({method:d,eventType:"IFrame Resized",eventName:"resize"})}function checkCalcMode(d,b,x,T){return b!==d&&(d in x||(warn(d+" is not a valid option for "+T+"CalculationMethod."),d=b),log(T+' calculation method set to "'+d+'"')),d}function checkHeightMode(){ee=checkCalcMode(ee,"bodyOffset",Qe,"height")}function checkWidthMode(){Me=checkCalcMode(Me,"scroll",et,"width")}function startEventListeners(){var d;!0===x?(manageEventListeners("add"),d=0>oe,window.MutationObserver||window.WebKitMutationObserver?d?initInterval():H=function(){function addImageLoadListners(b){function addImageLoadListener(b){!1===b.complete&&(log("Attach listeners to "+b.src),b.addEventListener("load",imageLoaded,!1),b.addEventListener("error",imageError,!1),d.push(b))}"attributes"===b.type&&"src"===b.attributeName?addImageLoadListener(b.target):"childList"===b.type&&Array.prototype.forEach.call(b.target.querySelectorAll("img"),addImageLoadListener)}function removeImageLoadListener(b){log("Remove listeners from "+b.src),b.removeEventListener("load",imageLoaded,!1),b.removeEventListener("error",imageError,!1),function(b){d.splice(d.indexOf(b),1)}(b)}function imageEventTriggered(d,b,x){removeImageLoadListener(d.target),sendSize(b,x+": "+d.target.src)}function imageLoaded(d){imageEventTriggered(d,"imageLoad","Image loaded")}function imageError(d){imageEventTriggered(d,"imageLoadFailed","Image load failed")}function mutationObserved(d){sendSize("mutationObserver","mutationObserver: "+d[0].target+" "+d[0].type),d.forEach(addImageLoadListners)}var d=[],b=window.MutationObserver||window.WebKitMutationObserver,x=function(){var d=document.querySelector("body");return x=new b(mutationObserved),log("Create body MutationObserver"),x.observe(d,{attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0}),x}();return{disconnect:function(){"disconnect"in x&&(log("Disconnect body MutationObserver"),x.disconnect(),d.forEach(removeImageLoadListener))}}}():(log("MutationObserver not supported in this browser!"),initInterval())):log("Auto Re
839size disabled")}function initInterval(){0!==oe&&(log("setInterval: "+oe+"ms"),se=setInterval((function(){sendSize("interval","setInterval: "+oe)}),Math.abs(oe)))}function getComputedStyle(d,b){var x=0;return b=b||document.body,x=null===(x=document.defaultView.getComputedStyle(b,null))?0:x[d],parseInt(x,10)}function getMaxElement(d,b){for(var x=b.length,T=0,D=0,z=capitalizeFirstLetter(d),H=Date.now(),W=0;W<x;W++)(T=b[W].getBoundingClientRect()[d]+getComputedStyle("margin"+z,b[W]))>D&&(D=T);return H=Date.now()-H,log("Parsed "+x+" HTML elements"),log("Element position calculated in "+H+"ms"),function(d){d>we/2&&log("Event throttle increased to "+(we=2*d)+"ms")}(H),D}function getAllMeasurements(d){return[d.bodyOffset(),d.bodyScroll(),d.documentElementOffset(),d.documentElementScroll()]}function getTaggedElements(d,b){var x=document.querySelectorAll("["+b+"]");return 0===x.length&&(warn("No tagged elements ("+b+") found on page"),document.querySelectorAll("body *")),getMaxElement(d,x)}function getAllElements(){return document.querySelectorAll("body *")}function sizeIFrame(d,b,x,T){var D,z;!function(){function checkTolarance(d,b){return!(Math.abs(d-b)<=ve)}return D=void 0===x?Qe[ee]():x,z=void 0===T?et[Me]():T,checkTolarance(J,D)||U&&checkTolarance(Se,z)}()&&"init"!==d?!(d in{init:1,interval:1,size:1})&&(ee in fe||U&&Me in fe)?resetIFrame(b):d in{interval:1}||log("No change in size detected"):(lockTrigger(),sendMsg(J=D,Se=z,d))}function sendSize(d,b,x,T){xe&&d in Y?log("Trigger event cancelled: "+d):(d in{reset:1,resetPage:1,init:1}||log("Trigger event: "+b),"init"===d?sizeIFrame(d,b,x,T):tt(d,b,x,T))}function lockTrigger(){xe||(xe=!0,log("Trigger event lock on")),clearTimeout(_e),_e=setTimeout((function(){xe=!1,log("Trigger event lock off"),log("--")}),128)}function triggerReset(d){J=Qe[ee](),Se=et[Me](),sendMsg(J,Se,d)}function resetIFrame(d){var b=ee;ee="bodyOffset",log("Reset trigger event: "+d),lockTrigger(),triggerReset("reset"),ee=b}function sendMsg(d,b,x,T,D){var z;void 0===D?D=ye:log("Message targetOrigin: "+D),log("Sending message to host page ("+(z=pe+":"+d+":"+b+":"+x+(void 0===T?"":":"+T))+")"),me.postMessage(de+z,D)}function chkLateLoaded(){"loading"!==document.readyState&&window.parent.postMessage("[iFrameResizerChild]Ready","*")}}()},jpXb:function(d,b,x){var T=x("wZXL");d.exports=new T},kCCV:function(d,b){function QueryHandler(d){this.options=d,!d.deferSetup&&this.setup()}QueryHandler.prototype={constructor:QueryHandler,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(d){return this.options===d||this.options.match===d}},d.exports=QueryHandler},"kVK+":function(d,b){b.read=function(d,b,x,T,D){var z,H,W=8*D-T-1,U=(1<<W)-1,Y=U>>1,Z=-7,J=x?D-1:0,ee=x?-1:1,te=d[b+J];for(J+=ee,z=te&(1<<-Z)-1,te>>=-Z,Z+=W;Z>0;z=256*z+d[b+J],J+=ee,Z-=8);for(H=z&(1<<-Z)-1,z>>=-Z,Z+=T;Z>0;H=256*H+d[b+J],J+=ee,Z-=8);if(0===z)z=1-Y;else{if(z===U)return H?NaN:1/0*(te?-1:1);H+=Math.pow(2,T),z-=Y}return(te?-1:1)*H*Math.pow(2,z-T)},b.write=function(d,b,x,T,D,z){var H,W,U,Y=8*z-D-1,Z=(1<<Y)-1,J=Z>>1,ee=23===D?Math.pow(2,-24)-Math.pow(2,-77):0,te=T?0:z-1,ne=T?1:-1,ie=b<0||0===b&&1/b<0?1:0;for(b=Math.abs(b),isNaN(b)||b===1/0?(W=isNaN(b)?1:0,H=Z):(H=Math.floor(Math.log(b)/Math.LN2),b*(U=Math.pow(2,-H))<1&&(H--,U*=2),(b+=H+J>=1?ee/U:ee*Math.pow(2,1-J))*U>=2&&(H++,U/=2),H+J>=Z?(W=0,H=Z):H+J>=1?(W=(b*U-1)*Math.pow(2,D),H+=J):(W=b*Math.pow(2,J-1)*Math.pow(2,D),H=0));D>=8;d[x+te]=255&W,te+=ne,W/=256,D-=8);for(H=H<<D|W,Y+=D;Y>0;d[x+te]=255&H,te+=ne,H/=256,Y-=8);d[x+te-ne]|=128*ie}},lNRW:function(d,b){var x,T,D,z;window.App=window.App||{},App.MultiStepForm=(x=function(d){var b=d.find('[data-role="form-step"]:not(.ignore)');return b.index(b.filter(":not(.hidden):first"))},T=function(d){var b=d.find(".pagination");b.html(""),d.find('[data-role="form-step"]:not(.ignore)').each((function(d){b.append('<span class="pagination__item">'+(d+1)+"</span>")}))},D=function(d,b){(function(d){var b=d.find(".pagination").children(),T=x(d);b.removeClass("active"),b.filter(":eq("+T+")").addClass("active")})(d),function(d){var b=d.find('[data-role="form-step"]:not(.ignore)'),T=x(d),D=0===T,z=T===b.length-1;d.find('[data-action="go-back"]').toggle(!D),d.find('[data-action="go-forward"]').toggle(!z),d.find('[data-role="final-action"]').toggle(z)}
839(d),b&&d[0].getBoundingClientRect().top<150&&App.FUNCTIONS.performantScrollBody(d.offset().top-150,200)},z=function(d,b){var x=b.find('[data-role="form-step"]:not(.ignore)');x.addClass("hidden"),x.filter(":eq("+d+")").removeClass("hidden"),x.filter(":eq("+d+")").trigger("stepupdate")},{init:function(){$('[data-module~="multi-step-form"]').each((function(){var d,b=$(this);T(b),D(b),(d=b).on("click",'[data-action="go-back"]',(function(){var b=x(d);z(b-1,d),D(d,!0)})),d.on("click",'[data-action="go-forward"]',(function(){var b=d.find('[data-role="form-step"]:not(.ignore)'),T=x(d),H=b.filter(":eq("+T+")"),successFunction=function(){z(T+1,d),H.trigger("step-changed"),D(d,!0)};H.data("step-validate")?H.data("step-validate")(H).then(successFunction).catch((function(d){console.warn(d)})):App.DefaultForm.validateSection(H).then(successFunction).catch((function(d){console.warn(d)}))})),d.on("validationerror",(function(b,x,T){var H=d.find('[data-role="form-step"]:not(.ignore)'),W=Number.MAX_VALUE;x.forEach((function(b){var x=d.find('[name="'+b.field+'"]').closest('[data-role="form-field"]').parents('[data-role="form-step"]');x.index()<W&&(W=H.index(x))})),z(W,d),D(d,!0)})),d.on("click",".pagination__item",(function(b){var T=x(d);$(b.currentTarget).index()<T&&(z($(b.currentTarget).index(),d),D(d,!0))})),d.data("multi-step-form",{goTo:function(b){z(b,d),D(d,!0)},updatePagination:function(){T(d),D(d,!0)}})}))}})},lRIc:function(d,b){var x;window.App=window.App||{},App.SaleTeaserSlider=(x=function(d){d.length&&(d.find(".swiper-slide-visible").find("a").attr("tabindex","0"),d.find(".swiper-slide").not(".swiper-slide-visible").find("a").attr("tabindex","-1"))},{init:function(){$('[data-module="sale-teaser-slider"]').each((function(){!function(d){var b={};b[App.breakpoints.max.xs]={slidesPerView:1,spaceBetween:10},b[App.breakpoints.max.sm]={slidesPerView:1.5,spaceBetween:20};var T=!1,D=new window.Swiper(d.find(".swiper-container")[0],{init:!1,freeMode:!0,freeModeSticky:!0,slidesPerView:2,spaceBetween:30,breakpoints:b,watchSlidesVisibility:!0,pagination:{type:"bullets",clickable:!0,el:d.find('[data-role="pagination"]')[0],bulletActiveClass:"active"},navigation:{nextEl:d.find('[data-action="slide-to-next"]')[0],prevEl:d.find('[data-action="slide-to-previous"]')[0]}});D.on("init resize",(function(b){this.slides.length<=this.params.slidesPerView?($(this.navigation.prevEl).hide(),$(this.navigation.nextEl).hide()):($(this.navigation.prevEl).show(),$(this.navigation.nextEl).show());var x=d.parents(".container").first();if(x.length){var D=0;this.slides.each((function(){D+=$(this).outerWidth(!0)})),D+parseInt(x.css("marginLeft"))<window.innerWidth?($(this.navigation.prevEl).hide(),$(this.navigation.nextEl).hide(),T=!0):($(this.navigation.prevEl).show(),$(this.navigation.nextEl).show(),T=!1)}})),D.on("init",(function(d){$(this.navigation.prevEl).hide()})),D.on("fromEdge",(function(d){T||$(this.navigation.prevEl).show()})),D.on("init fromEdge reachBeginning reachEnd",(function(d){$(this.navigation.prevEl).css({visibility:this.isBeginning?"hidden":""}).prop("disabled",this.isBeginning),$(this.navigation.nextEl).css({visibility:this.isEnd?"hidden":""}).prop("disabled",this.isEnd)})),d.find(".swiper-slide").each((function(){App.FUNCTIONS.isEmpty(this)&&$(this).removeClass("swiper-slide").attr("data-role","slider-slide--empty")})),D.init();var z=d.find(".swiper-container");x(z),D.on("slideChange",(function(d){x(z)})),$(window).on("load",(function(){D.update()})),d.on("lazybeforeunveil","img",(function onLazyBeforeUnveil(){d.off("lazybeforeunveil","img",onLazyBeforeUnveil),D.update()}))}($(this))}))}})},"lYy+":function(d,b,x){"use strict";function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}d.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===_typeof(Symbol.iterator))return!0;var d={},b=Symbol("test"),x=Object(b);if("string"==typeof b)return!1;if("[object Symbol]"!==Object.prototype.toString.call(b))return!1;if("[object Symbol]"!==Object.prototype.toString.call(x))return!1;for(b in d[b]=42,d)return!1;if("function"==typeof Object.keys&&0!==Object.keys(d).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(d).length)return!1;var T=Object.getOwnPropertySymbols(d);if(1!==T.length||T[0]!==b)return!1;if(!Object.prototype.propertyIsEnumerable.call(d,b))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var D=Object.getOwnPropertyDescriptor(d,b);if(42!==D.value||!0!==D.enumerable)return!1}return!0}},lahl:function(d,b,x){"use strict";var T=x("DRYN"),D=function(){function IbanField(d){this.$element=d,this.$inputField=this.$element.find('[data-role="iban-input"]'),this.$hiddenField=this.$element.find('[data-role="iban-raw"]'),this.initModule(
839)}return IbanField.prototype.initModule=function(){var d=this,b={mask:"BC00 0000 0000 0000 0000",lazy:!1,prepare:function(d){return/[a-z]/.test(d)?d.toUpperCase():d},definitions:{C:/[A-Z]/,"#":/[A-Z0-9]/},blocks:{BC:{mask:T.a.MaskedEnum,enum:Object.keys(IbanField.COUNTRY_MASKS)}}},x=Object(T.a)(this.$inputField.get(0),b);x.on("accept",(function(){var b=x.unmaskedValue.substr(0,2);2===b.length&&IbanField.COUNTRY_MASKS[b]&&x.updateOptions({mask:IbanField.COUNTRY_MASKS[b]}),d.$hiddenField.val(x.unmaskedValue),d.$hiddenField.trigger("keyup")})),this.$inputField.data("mask",x)},IbanField.COUNTRY_MASKS={AT:"BC00 0000 0000 0000 0000",DE:"BC00 0000 0000 0000 0000 00",CH:"BC00 0000 0### #### #### #",LI:"BC00 0000 0### #### #### #",LU:"BC00 000# #### #### ####",AD:"BC00 0000 0000 #### #### ####",BE:"BC00 0000 0000 0000",BG:"BC00 #### 0000 00## #### ##",DK:"BC00 0000 0000 0000 00",EE:"BC00 0000 0000 0000 0000",FI:"BC00 0000 0000 0000 00",FR:"BC00 0000 0000 00## #### #### #00",GR:"BC00 0000 000# #### #### #### ###",IE:"BC00 #### 0000 0000 0000 00",IS:"BC00 0000 0000 0000 0000 0000 00",IT:"BC00 C000 0000 000# #### #### ###",HR:"BC00 0000 0000 0000 0000 0",LV:"BC00 CCCC #### #### #### #",LT:"BC00 0000 0000 0000 0000",MT:"BC00 CCCC 0000 0### #### #### #### ###",MC:"BC00 0000 0000 00## #### #### #00",NL:"BC00 CCCC 0000 0000 00",NO:"BC00 0000 0000 000",PL:"BC00 0000 0000 0000 0000 0000 0000",PT:"BC00 0000 0000 0000 0000 0000 0",RO:"BC00 CCCC 0000 0000 0000 0000",SM:"BC00 C000 0000 000# #### #### ###",SE:"BC00 0000 0000 0000 0000 0000",SK:"BC00 0000 0000 0000 0000 0000",SI:"BC00 0000 0000 0000 000",ES:"BC00 0000 0000 0000 0000 0000",CZ:"BC00 0000 0000 0000 0000 0000",HU:"BC00 0000 0000 0000 0000 0000 0000",VA:"BC00 0000 0000 0000 0000 0000 00",GB:"BC00 CCCC 0000 0000 0000 00",CY:"BC00 0000 0000 #### #### #### ####"},IbanField}();b.a=D},lmVY:function(d,b){var x={}.toString;d.exports=Array.isArray||function(d){return"[object Array]"==x.call(d)}},lnE3:function(d,b,x){"use strict";var T=Function.prototype.call,D=Object.prototype.hasOwnProperty,z=x("qt7G");d.exports=z.call(T,D)},m6qu:function(d,b){var x,T;window.App=window.App||{},App.SearchFlyout=(x=function(d,b){var x=d.text().split("");d.text(""),window.setTimeout((function(){x.forEach((function(b,T){window.setTimeout((function(){var b=x.length===T+1,D=x.slice(0,T+1);d.text(D.join("")+(b?"":"|"))}),500+100*T)}))}),b||1)},T=function(d){var b=$(window).height(),T=$("html").scrollTop()+b,D=$('[data-role="layout-footer"]').offset().top;d.is(".offscreen")&&T>D-b&&(d.removeClass("offscreen"),function(d,b){var T=b||1,D=T+1500,z=D+0,H=d.find('input[type="search"]'),W=d.find('label[for="'+H.attr("id")+'"]:first');App.GLOBALS.IS_IE?(W.find("circle").css({strokeDasharray:"0px",strokeDashoffset:"0px"}),z=D=T):window.setTimeout((function(){W.addClass("fill-animated")}),T),window.setTimeout((function(){W.addClass("pulse-animated")}),D),x(H.next(),z)}(d,500))},{init:function(){var d=$('[data-module~="search-flyout"]'),b=$('[data-action="search-flyout-toggle"]'),x=!0;$(window).on("scroll.searchFlyout",window._.throttle((function(){T(d)}),25)),d.on("click",(function(){x&&$(this).find('input[type="search"]').removeClass("hidden").trigger("focus")})),d.on("focus",'input[type="search"]',(function(){d.addClass("focused"),$(this).removeClass("hidden"),$(this).next().addClass("hidden")})),d.on("blur",'input[type="search"]',(function(){var b=$(this);window.setTimeout((function(){d.find('input[type="search"]').is(":focus")||(d.removeClass("focused"),d.find('[data-action="clear-search"]').addClass("hidden"),b.val(""),b.addClass("hidden"),b.next().removeClass("hidden"))}),200)})),b.on("click",(function(b){b.stopPropagation(),d.find(".search-flyout__toggle--open").toggleClass("search-flyout__toggle-icon--hidden",!x),d.find(".search-flyout__toggle--close").toggleClass("search-flyout__toggle-icon--hidden",x),d.toggleClass("closed",x),x=!x})),d.addClass("offscreen"),T(d)}})},mcAC:function(d,b){function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}Object.keys||(Object.keys=function(){"use strict";var d=Object.prototype.hasOwnProperty,b=!{toString:null}
839.propertyIsEnumerable("toString"),x=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],T=x.length;return function(D){if("function"!=typeof D&&("object"!==_typeof(D)||null===D))throw new TypeError("Object.keys called on non-object");var z,H,W=[];for(z in D)d.call(D,z)&&W.push(z);if(b)for(H=0;H<T;H++)d.call(D,x[H])&&W.push(x[H]);return W}}())},mdrt:function(d,b,x){var T=x("A2PF");d.exports={iframeResize:T,iframeResizer:T,contentWindow:x("jbXW")}},nGMq:function(d,b,x){"use strict";var T=x("VF6F")("ArrayBuffer.prototype.byteLength",!0),D=x("0+DU");d.exports=function(d){return D(d)?T?T(d):d.byteLength:NaN}},nnox:function(d,b){d.exports=function(d,b,x){function measure(d,b){for(var x=0,T=0,D=[],z=arguments.length-2,H=2,W=arguments.length;H<W;H++){var U=arguments[H];U.setAttribute("font-size",d);var Y=U.textContent.length,Z=U.getComputedTextLength(),J=U.getBBox();x+=Z/Y,T+=J.height,b&&D.push({length:Z,width:J.width,height:J.height,n:Y,avg:Z/Y})}var ee={avg:x/z,height:T/z,size:d};return b&&(ee.measurements=D),ee}function createText(d,b,x){var T=create("text");T.setAttribute("font-family",b);var D=document.createTextNode(d||"");return T.appendChild(D),x.appendChild(T),T}function create(d){return document.createElementNS("http://www.w3.org/2000/svg",d)}var T=create("svg");"number"==typeof b&&(b=[b]);var D=createText("abcdefghijklmnopqrstuvwxyz",d,T),z=createText("ABCDEFGHIJKLMNOPQRTSUVWXYZ",d,T),H=createText("0123456789",d,T),W=createText(function(){for(var d="",b=160;b<256;b++)d+="&#"+b+";";return d}(),d,T);T.style.position="absolute",T.style.top=T.style.left="-9999px",document.body.appendChild(T);for(var U=[],Y=0,Z=b.length;Y<Z;Y++)U.push(measure(b[Y],x,D,z,H,W));return T.parentNode.removeChild(T),{fontFamily:d,values:U}}},oQEw:function(d,b,x){"use strict";function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}var T=x("AM7I"),D=x("VF6F"),z=T("%WeakSet%",!0),H=D("WeakSet.prototype.has",!0);if(H){var W=D("WeakMap.prototype.has",!0);d.exports=function(d){if(!d||"object"!==_typeof(d))return!1;try{if(H(d,H),W)try{W(d,W)}catch(d){return!0}return d instanceof z}catch(d){}return!1}}else d.exports=function(d){return!1}},oUxl:function(d,b){var x,T,D,z,H,W,U,Y,Z,J,ee,te,ne,ie,oe,se,le;window.App=window.App||{},App.BillExplanation=(T=$('[data-module="bill-explanation"]'),D=[],z=[],H=T.find('[data-module="billExplanation-detail-page1"]'),W=T.find('[data-module="billExplanation-detail-page2"]'),U=T.find('[data-action="billExplanation-details-none"]'),Y=T.find('[data-action="billExplanation-create-bill"]'),Z=T.find(".billExplanation__page-container"),J=T.find(".billExplanation__loading-indicator"),ee=J.find(".spinner"),te=function(){ne();for(var d=T.find('[data-role="billExplanation-options"]').find("input[type='hidden'], :input:not(:hidden)").serializeArray(),b=0;b<d.length;b++)"billExplanation-product"===d[b].name&&(T.find('[data-module="billExplanation-rb-'+d[b].value+'"]').removeClass("hidden"),z.push(d[b].value))},ne=function(){z=[];for(var d=0;d<D.length;d++)T.find('[data-module="billExplanation-rb-'+D[d]+'"]').addClass("hidden")},ie=function(){oe(),te(),D.forEach((function(d){var b,x;b=z.includes(d),x=d,b?T.find('[data-title="'+x+'"]').removeClass("hidden"):T.find('[data-title="'+x+'"]').addClass("hidden")})),0===z.length&&(void 0!==x&&x.slideTo(0),se()),T.find(".billExplanation__indicator-animation").removeClass("billExplanation__ringring"),window.setTimeout((function(){T.find(".billExplanation__indicator-animation").addClass("billExplanation__ringring")}),1),le()},oe=function(){Y.addClass("billExplanation__button--hidden"),J.removeClass("billExplanation__loading-indicator--hidden"),Z.addClass("billExplanation__page-container--hidden"),ee.addClass("spinner"),window.setTimeout((function(){Y.removeClass("billExplanation__button--hidden"),J.addClass("billExplanation__loading-indicator--hidden"),Z.removeClass("billExplanation__page-container--hidden")}),900),window.setTimeout((function(){ee.removeClass("spinner")}),1200)},se=function(){H.addClass("hidden"),W.addClass("hidden")}
839,le=function(d){if(void 0===x){var b=$('[data-module="bill-explanation"]').find(".swiper-container");b.length&&(x=b[0].swiper)}void 0!==x&&(x.update(),x.pagination.update(),x.navigation.update(),void 0!==d&&x.slideTo(d),window.setTimeout((function(){x.updateAutoHeight()}),500))},{init:function(){for(var d=T.find('[data-role="billExplanation-product-label"]'),b=0;b<d.length;b++)D.push(d[b].innerText);$("input[name='billExplanation-product']").on("change",(function(){ie(),$(this).is(":checked")||$("input[name='billExplanation-details']:checked").val()!==$(this).val()||(U.prop("checked",!0),se(),le(0))})),$("input[name='billExplanation-details']").on("change",(function(){te(),"NONE"===$(this).val()?(se(),le(0)):function(d){var b,x,D;se();for(var z=1;z<=2;z++){(b=T.find('[data-module="billExplanation-detail-page'+z+'"]')).find(".billExplanation__detail"+z).addClass("hidden"),b[0].innerHTML="",x=T.find('[data-title="'+d+'"]').find(".billExplanation__detail"+z),D=T.find('[data-title="'+d+'"]').find(".billExplanation__tooltip-page"+z),x.length>0&&b.removeClass("hidden");var H=x.first().clone();H.appendTo(b),D.first().clone().appendTo(b),H.removeClass("hidden")}le(2)}($(this).val())})),Y.on("click",(function(){ie()})),$(window).on("step-by-step-initialized",(function(){var d=$('[data-module="bill-explanation"]').find(".swiper-container");d.length&&(x=d[0].swiper),te(),le()})),ee.removeClass("spinner"),$("body").tooltip({selector:'[data-toggle="tooltip"]'})}})},oamV:function(d){d.exports={fontFamily:"Helvetica, Arial, sans-serif",values:[{avg:1.6879063630715394,height:3.5390625,size:3},{avg:4.501083634857439,height:9,size:8},{avg:5.626354543571798,height:11.5,size:10},{avg:6.751625452286158,height:14,size:12},{avg:9.002167269714878,height:18.5078125,size:16},{avg:11.252709087143597,height:23,size:20},{avg:18.004334539429756,height:37,size:32},{avg:27.00650180914463,height:55,size:48}]}},p46w:function(d,b,x){var T,D;function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}
840/*!
841 * JavaScript Cookie v2.2.0
842 * https://github.com/js-cookie/js-cookie
843 *
844 * Copyright 2006, 2015 Klaus Hartl & Fagner Brack
845 * Released under the MIT license
846 */!function(z){var H=!1;if(void 0===(D="function"==typeof(T=z)?T.call(b,x,b,d):T)||(d.exports=D),H=!0,"object"===_typeof(b)&&(d.exports=z(),H=!0),!H){var W=window.Cookies,U=window.Cookies=z();U.noConflict=function(){return window.Cookies=W,U}}}((function(){function extend(){for(var d=0,b={};d<arguments.length;d++){var x=arguments[d];for(var T in x)b[T]=x[T]}return b}return function init(d){function api(b,x,T){var D;if("undefined"!=typeof document){if(arguments.length>1){if("number"==typeof(T=extend({path:"/"},api.defaults,T)).expires){var z=new Date;z.setMilliseconds(z.getMilliseconds()+864e5*T.expires),T.expires=z}T.expires=T.expires?T.expires.toUTCString():"";try{D=JSON.stringify(x),/^[\{\[]/.test(D)&&(x=D)}catch(d){}x=d.write?d.write(x,b):encodeURIComponent(String(x)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),b=(b=(b=encodeURIComponent(String(b))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape);var H="";for(var W in T)T[W]&&(H+="; "+W,!0!==T[W]&&(H+="="+T[W]));return document.cookie=b+"="+x+H}b||(D={});for(var U=document.cookie?document.cookie.split("; "):[],Y=/(%[0-9A-Z]{2})+/g,Z=0;Z<U.length;Z++){var J=U[Z].split("="),ee=J.slice(1).join("=");this.json||'"'!==ee.charAt(0)||(ee=ee.slice(1,-1));try{var te=J[0].replace(Y,decodeURIComponent);if(ee=d.read?d.read(ee,te):d(ee,te)||ee.replace(Y,decodeURIComponent),this.json)try{ee=JSON.parse(ee)}catch(d){}if(b===te){D=ee;break}b||(D[te]=ee)}catch(d){}}return D}}return api.set=api,api.get=function(d){return api.call(api,d)},api.getJSON=function(){return api.apply({json:!0},[].slice.call(arguments))},api.defaults={},api.remove=function(d,b){api(d,"",extend(b,{expires:-1}))},api.withConverter=init,api}((function(){}))}))},pkW7:function(d,b,x){"use strict";d.exports=Error},qGip:function(d,b,x){"use strict";function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}d.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===_typeof(Symbol.iterator))return!0;var d={},b=Symbol("test"),x=Object(b);if("string"==typeof b)return!1;if("[object Symbol]"!==Object.prototype.toString.call(b))return!1;if("[object Symbol]"!==Object.prototype.toString.call(x))return!1;for(b in d[b]=42,d)return!1;if("function"==typeof Object.keys&&0!==Object.keys(d).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(d).length)return!1;var T=Object.getOwnPropertySymbols(d);if(1!==T.length||T[0]!==b)return!1;if(!Object.prototype.propertyIsEnumerable.call(d,b))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var D=Object.getOwnPropertyDescriptor(d,b);if(42!==D.value||!0!==D.enumerable)return!1}return!0}},qTT0:function(d,b){var x,T;window.App=window.App||{},App.BackToTop=(x=$('[data-action="go-top"]'),T=function checkButtonVisibility(){$(window).scrollTop()>100?x.removeClass("button-back-to-top--hidden"):x.addClass("button-back-to-top--hidden"),void 0!==window.requestAnimationFrame&&window.requestAnimationFrame(checkButtonVisibility.bind(this))},{init:function(){void 0!==window.requestAnimationFrame?window.requestAnimationFrame(T.bind(this)):$(window).on("scroll",(function(){T()}
846)),x.on("click",(function(){return x.addClass("button-back-to-top--hidden"),App.FUNCTIONS.scrollTop(),!1}))}})},qeHm:function(d,b){var x;window.App=window.App||{},App.RangeField=(x=function(d,b){var x=b.max,T=b.value,D=parseInt(b.step,10),z=b.min,H=(parseInt($(b).outerHeight(),10),1/((x-z)/D)),W=(T-z)/D,U=d.find('[data-role="active-track"]');U.children().addClass("hidden").filter(":lt("+(W+1)+")").removeClass("hidden"),U.css({width:100*H*W+"%"})},{init:function(){$('[data-module~="range-field"]').each((function(){var d=$(this);d.on("change",'input[type="range"]',(function(){x(d,this)})),x(d,d.find('input[type="range"]')[0])}))}})},qt7G:function(d,b,x){"use strict";var T=x("ZFWI");d.exports=Function.prototype.bind||T},rFQY:function(d,b){window.App=window.App||{},App.CookieCheckbox={init:function(){$('[data-module~="cookie-checkbox"] input[type=checkbox]:first').disableNonFunctionalCookies(),$('[data-module~="cookie-checkbox"]').on("change","input[type=checkbox]",(function(){window.setTimeout((function(){window.location.reload()}),100)}))}}},rIKr:function(d,b,x){var T,D,z;function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}
847/*!
848 * jQuery Validation Plugin v1.19.3
849 *
850 * https://jqueryvalidation.org/
851 *
852 * Copyright (c) 2021 Jörn Zaefferer
853 * Released under the MIT license
854 */D=[x("EVdn")],void 0===(z="function"==typeof(T=function(d){d.extend(d.fn,{validate:function(b){if(this.length){var x=d.data(this[0],"validator");return x||(this.attr("novalidate","novalidate"),x=new d.validator(b,this[0]),d.data(this[0],"validator",x),x.settings.onsubmit&&(this.on("click.validate",":submit",(function(b){x.submitButton=b.currentTarget,d(this).hasClass("cancel")&&(x.cancelSubmit=!0),void 0!==d(this).attr("formnovalidate")&&(x.cancelSubmit=!0)})),this.on("submit.validate",(function(b){function handle(){var T,D;return x.submitButton&&(x.settings.submitHandler||x.formSubmitted)&&(T=d("<input type='hidden'/>").attr("name",x.submitButton.name).val(d(x.submitButton).val()).appendTo(x.currentForm)),!(x.settings.submitHandler&&!x.settings.debug)||(D=x.settings.submitHandler.call(x,x.currentForm,b),T&&T.remove(),void 0!==D&&D)}return x.settings.debug&&b.preventDefault(),x.cancelSubmit?(x.cancelSubmit=!1,handle()):x.form()?x.pendingRequest?(x.formSubmitted=!0,!1):handle():(x.focusInvalid(),!1)}))),x)}b&&b.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing.")},valid:function(){var b,x,T;return d(this[0]).is("form")?b=this.validate().form():(T=[],b=!0,x=d(this[0].form).validate(),this.each((function(){b=x.element
854(this)&&b,b||(T=T.concat(x.errorList))})),x.errorList=T),b},rules:function(b,x){var T,D,z,H,W,U,Y=this[0],Z=void 0!==this.attr("contenteditable")&&"false"!==this.attr("contenteditable");if(null!=Y&&(!Y.form&&Z&&(Y.form=this.closest("form")[0],Y.name=this.attr("name")),null!=Y.form)){if(b)switch(D=(T=d.data(Y.form,"validator").settings).rules,z=d.validator.staticRules(Y),b){case"add":d.extend(z,d.validator.normalizeRule(x)),delete z.messages,D[Y.name]=z,x.messages&&(T.messages[Y.name]=d.extend(T.messages[Y.name],x.messages));break;case"remove":return x?(U={},d.each(x.split(/\s/),(function(d,b){U[b]=z[b],delete z[b]})),U):(delete D[Y.name],z)}return(H=d.validator.normalizeRules(d.extend({},d.validator.classRules(Y),d.validator.attributeRules(Y),d.validator.dataRules(Y),d.validator.staticRules(Y)),Y)).required&&(W=H.required,delete H.required,H=d.extend({required:W},H)),H.remote&&(W=H.remote,delete H.remote,H=d.extend(H,{remote:W})),H}}});var b,trim=function(d){return d.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")};d.extend(d.expr.pseudos||d.expr[":"],{blank:function(b){return!trim(""+d(b).val())},filled:function(b){var x=d(b).val();return null!==x&&!!trim(""+x)},unchecked:function(b){return!d(b).prop("checked")}}),d.validator=function(b,x){this.settings=d.extend(!0,{},d.validator.defaults,b),this.currentForm=x,this.init()},d.validator.format=function(b,x){return 1===arguments.length?function(){var x=d.makeArray(arguments);return x.unshift(b),d.validator.format.apply(this,x)}:(void 0===x||(arguments.length>2&&x.constructor!==Array&&(x=d.makeArray(arguments).slice(1)),x.constructor!==Array&&(x=[x]),d.each(x,(function(d,x){b=b.replace(new RegExp("\\{"+d+"\\}","g"),(function(){return x}))}))),b)},d.extend(d.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",pendingClass:"pending",validClass:"valid",errorElement:"label",focusCleanup:!1,focusInvalid:!0,errorContainer:d([]),errorLabelContainer:d([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,onfocusin:function(d){this.lastActive=d,this.settings.focusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,d,this.settings.errorClass,this.settings.validClass),this.hideThese(this.errorsFor(d)))},onfocusout:function(d){this.checkable(d)||!(d.name in this.submitted)&&this.optional(d)||this.element(d)},onkeyup:function(b,x){9===x.which&&""===this.elementValue(b)||-1!==d.inArray(x.keyCode,[16,17,18,20,35,36,37,38,39,40,45,144,225])||(b.name in this.submitted||b.name in this.invalid)&&this.element(b)},onclick:function(d){d.name in this.submitted?this.element(d):d.parentNode.name in this.submitted&&this.element(d.parentNode)},highlight:function(b,x,T){"radio"===b.type?this.findByName(b.name).addClass(x).removeClass(T):d(b).addClass(x).removeClass(T)},unhighlight:function(b,x,T){"radio"===b.type?this.findByName(b.name).removeClass(x).addClass(T):d(b).removeClass(x).addClass(T)}},setDefaults:function(b){d.extend(d.validator.defaults,b)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",equalTo:"Please enter the same value again.",maxlength:d.validator.format("Please enter no more than {0} characters."),minlength:d.validator.format("Please enter at least {0} characters."),rangelength:d.validator.format("Please enter a value between {0} and {1} characters long."),range:d.validator.format("Please enter a value between {0} and {1}."),max:d.validator.format("Please enter a value less than or equal to {0}."),min:d.validator.format("Please enter a value greater than or equal to {0}."),step:d.validator.format("Please enter a multiple of {0}.")},autoCreateRanges:!1,prototype:{init:function(){this.labelContainer=d(this.settings.errorLabelContainer),this.errorContext=this.labelContainer.length&&this.labelContainer||d(this.currentForm),this.containers=d(this.settings.errorContainer).add(this.settings.errorLabelContainer),this.submitted={},this.valueCache={},this.pendingRequest=0,this.pending={},this.invalid={},this.reset();var b,x=this.currentForm,T=this.groups={};function delegate(b){var T=void 0!==d(this).attr("contenteditable")&&"false"!==d(this).attr("contenteditable");if(!this.form&&T&&(this.form=d(this).closest("form")[0],this.name=d(this).attr("name")),x===this.form){var D=d.data(this.form,"validator"),z="on"+b.type.replace(/^validate/,""),H=D.settings;H[z]&&!d(this).is(H.ignore)&&H[z].call(D,this,b)}}
854d.each(this.settings.groups,(function(b,x){"string"==typeof x&&(x=x.split(/\s/)),d.each(x,(function(d,x){T[x]=b}))})),b=this.settings.rules,d.each(b,(function(x,T){b[x]=d.validator.normalizeRule(T)})),d(this.currentForm).on("focusin.validate focusout.validate keyup.validate",":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'], [type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'], [type='radio'], [type='checkbox'], [contenteditable], [type='button']",delegate).on("click.validate","select, option, [type='radio'], [type='checkbox']",delegate),this.settings.invalidHandler&&d(this.currentForm).on("invalid-form.validate",this.settings.invalidHandler)},form:function(){return this.checkForm(),d.extend(this.submitted,this.errorMap),this.invalid=d.extend({},this.errorMap),this.valid()||d(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid()},checkForm:function(){this.prepareForm();for(var d=0,b=this.currentElements=this.elements();b[d];d++)this.check(b[d]);return this.valid()},element:function(b){var x,T,D=this.clean(b),z=this.validationTargetFor(D),H=this,W=!0;return void 0===z?delete this.invalid[D.name]:(this.prepareElement(z),this.currentElements=d(z),(T=this.groups[z.name])&&d.each(this.groups,(function(d,b){b===T&&d!==z.name&&(D=H.validationTargetFor(H.clean(H.findByName(d))))&&D.name in H.invalid&&(H.currentElements.push(D),W=H.check(D)&&W)})),x=!1!==this.check(z),W=W&&x,this.invalid[z.name]=!x,this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers)),this.showErrors(),d(b).attr("aria-invalid",!x)),W},showErrors:function(b){if(b){var x=this;d.extend(this.errorMap,b),this.errorList=d.map(this.errorMap,(function(d,b){return{message:d,element:x.findByName(b)[0]}})),this.successList=d.grep(this.successList,(function(d){return!(d.name in b)}))}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){d.fn.resetForm&&d(this.currentForm).resetForm(),this.invalid={},this.submitted={},this.prepareForm(),this.hideErrors();var b=this.elements().removeData("previousValue").removeAttr("aria-invalid");this.resetElements(b)},resetElements:function(d){var b;if(this.settings.unhighlight)for(b=0;d[b];b++)this.settings.unhighlight.call(this,d[b],this.settings.errorClass,""),this.findByName(d[b].name).removeClass(this.settings.validClass);else d.removeClass(this.settings.errorClass).removeClass(this.settings.validClass)},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(d){var b,x=0;for(b in d)void 0!==d[b]&&null!==d[b]&&!1!==d[b]&&x++;return x},hideErrors:function(){this.hideThese(this.toHide)},hideThese:function(d){d.not(this.containers).text(""),this.addWrapper(d).hide()},valid:function(){return 0===this.size()},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{d(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").trigger("focus").trigger("focusin")}catch(d){}},findLastActive:function(){var b=this.lastActive;return b&&1===d.grep(this.errorList,(function(d){return d.element.name===b.name})).length&&b},elements:function(){var b=this,x={};return d(this.currentForm).find("input, select, textarea, [contenteditable]").not(":submit, :reset, :image, :disabled").not(this.settings.ignore).filter((function(){var T=this.name||d(this).attr("name"),D=void 0!==d(this).attr("contenteditable")&&"false"!==d(this).attr("contenteditable");return!T&&b.settings.debug&&window.console&&console.error("%o has no name assigned",this),D&&(this.form=d(this).closest("form")[0],this.name=T),!(this.form!==b.currentForm||T in x||!b.objectLength(d(this).rules())||(x[T]=!0,0))}))},clean:function(b){return d(b)[0]},errors:function(){var b=this.settings.errorClass.split(" ").join(".");return d(this.settings.errorElement+"."+b,this.errorContext)},resetInternals:function(){this.successList=[],this.errorList=[],this.errorMap={},this.toShow=d([]),this.toHide=d([])},reset:function(){this.resetInternals(),this.currentElements=d([])},prepareForm:function(){this.reset(),this.toHide=this.errors().add(this.containers
854)},prepareElement:function(d){this.reset(),this.toHide=this.errorsFor(d)},elementValue:function(b){var x,T,D=d(b),z=b.type,H=void 0!==D.attr("contenteditable")&&"false"!==D.attr("contenteditable");return"radio"===z||"checkbox"===z?this.findByName(b.name).filter(":checked").val():"number"===z&&void 0!==b.validity?b.validity.badInput?"NaN":D.val():(x=H?D.text():D.val(),"file"===z?"C:\\fakepath\\"===x.substr(0,12)?x.substr(12):(T=x.lastIndexOf("/"))>=0||(T=x.lastIndexOf("\\"))>=0?x.substr(T+1):x:"string"==typeof x?x.replace(/\r/g,""):x)},check:function(b){b=this.validationTargetFor(this.clean(b));var x,T,D,z,H=d(b).rules(),W=d.map(H,(function(d,b){return b})).length,U=!1,Y=this.elementValue(b);for(T in"function"==typeof H.normalizer?z=H.normalizer:"function"==typeof this.settings.normalizer&&(z=this.settings.normalizer),z&&(Y=z.call(b,Y),delete H.normalizer),H){D={method:T,parameters:H[T]};try{if("dependency-mismatch"===(x=d.validator.methods[T].call(this,Y,b,D.parameters))&&1===W){U=!0;continue}if(U=!1,"pending"===x)return void(this.toHide=this.toHide.not(this.errorsFor(b)));if(!x)return this.formatAndAdd(b,D),!1}catch(d){throw this.settings.debug&&window.console&&console.log("Exception occurred when checking element "+b.id+", check the '"+D.method+"' method.",d),d instanceof TypeError&&(d.message+=".  Exception occurred when checking element "+b.id+", check the '"+D.method+"' method."),d}}if(!U)return this.objectLength(H)&&this.successList.push(b),!0},customDataMessage:function(b,x){return d(b).data("msg"+x.charAt(0).toUpperCase()+x.substring(1).toLowerCase())||d(b).data("msg")},customMessage:function(d,b){var x=this.settings.messages[d];return x&&(x.constructor===String?x:x[b])},findDefined:function(){for(var d=0;d<arguments.length;d++)if(void 0!==arguments[d])return arguments[d]},defaultMessage:function(b,x){"string"==typeof x&&(x={method:x});var T=this.findDefined(this.customMessage(b.name,x.method),this.customDataMessage(b,x.method),!this.settings.ignoreTitle&&b.title||void 0,d.validator.messages[x.method],"<strong>Warning: No message defined for "+b.name+"</strong>"),D=/\$?\{(\d+)\}/g;return"function"==typeof T?T=T.call(this,x.parameters,b):D.test(T)&&(T=d.validator.format(T.replace(D,"{$1}"),x.parameters)),T},formatAndAdd:function(d,b){var x=this.defaultMessage(d,b);this.errorList.push({message:x,element:d,method:b.method}),this.errorMap[d.name]=x,this.submitted[d.name]=x},addWrapper:function(d){return this.settings.wrapper&&(d=d.add(d.parent(this.settings.wrapper))),d},defaultShowErrors:function(){var d,b,x;for(d=0;this.errorList[d];d++)x=this.errorList[d],this.settings.highlight&&this.settings.highlight.call(this,x.element,this.settings.errorClass,this.settings.validClass),this.showLabel(x.element,x.message);if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(d=0;this.successList[d];d++)this.showLabel(this.successList[d]);if(this.settings.unhighlight)for(d=0,b=this.validElements();b[d];d++)this.settings.unhighlight.call(this,b[d],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow),this.hideErrors(),this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return d(this.errorList).map((function(){return this.element}))},showLabel:function(b,x){var T,D,z,H,W=this.errorsFor(b),U=this.idOrName(b),Y=d(b).attr("aria-describedby");W.length?(W.removeClass(this.settings.validClass).addClass(this.settings.errorClass),W.html(x)):(T=W=d("<"+this.settings.errorElement+">").attr("id",U+"-error").addClass(this.settings.errorClass).html(x||""),this.settings.wrapper&&(T=W.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.length?this.labelContainer.append(T):this.settings.errorPlacement?this.settings.errorPlacement.call(this,T,d(b)):T.insertAfter(b),W.is("label")?W.attr("for",U):0===W.parents("label[for='"+this.escapeCssMeta(U)+"']").length&&(z=W.attr("id"),Y?Y.match(new RegExp("\\b"+this.escapeCssMeta(z)+"\\b"))||(Y+=" "+z):Y=z,d(b).attr("aria-describedby",Y),(D=this.groups[b.n
854ame])&&(H=this,d.each(H.groups,(function(b,x){x===D&&d("[name='"+H.escapeCssMeta(b)+"']",H.currentForm).attr("aria-describedby",W.attr("id"))}))))),!x&&this.settings.success&&(W.text(""),"string"==typeof this.settings.success?W.addClass(this.settings.success):this.settings.success(W,b)),this.toShow=this.toShow.add(W)},errorsFor:function(b){var x=this.escapeCssMeta(this.idOrName(b)),T=d(b).attr("aria-describedby"),D="label[for='"+x+"'], label[for='"+x+"'] *";return T&&(D=D+", #"+this.escapeCssMeta(T).replace(/\s+/g,", #")),this.errors().filter(D)},escapeCssMeta:function(d){return d.replace(/([\\!"#$%&'()*+,./:;<=>?@\[\]^`{|}~])/g,"\\$1")},idOrName:function(d){return this.groups[d.name]||(this.checkable(d)?d.name:d.id||d.name)},validationTargetFor:function(b){return this.checkable(b)&&(b=this.findByName(b.name)),d(b).not(this.settings.ignore)[0]},checkable:function(d){return/radio|checkbox/i.test(d.type)},findByName:function(b){return d(this.currentForm).find("[name='"+this.escapeCssMeta(b)+"']")},getLength:function(b,x){switch(x.nodeName.toLowerCase()){case"select":return d("option:selected",x).length;case"input":if(this.checkable(x))return this.findByName(x.name).filter(":checked").length}return b.length},depend:function(d,b){return!this.dependTypes[_typeof(d)]||this.dependTypes[_typeof(d)](d,b)},dependTypes:{boolean:function(d){return d},string:function(b,x){return!!d(b,x.form).length},function:function(d,b){return d(b)}},optional:function(b){var x=this.elementValue(b);return!d.validator.methods.required.call(this,x,b)&&"dependency-mismatch"},startRequest:function(b){this.pending[b.name]||(this.pendingRequest++,d(b).addClass(this.settings.pendingClass),this.pending[b.name]=!0)},stopRequest:function(b,x){this.pendingRequest--,this.pendingRequest<0&&(this.pendingRequest=0),delete this.pending[b.name],d(b).removeClass(this.settings.pendingClass),x&&0===this.pendingRequest&&this.formSubmitted&&this.form()?(d(this.currentForm).submit(),this.submitButton&&d("input:hidden[name='"+this.submitButton.name+"']",this.currentForm).remove(),this.formSubmitted=!1):!x&&0===this.pendingRequest&&this.formSubmitted&&(d(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(b,x){return x="string"==typeof x&&x||"remote",d.data(b,"previousValue")||d.data(b,"previousValue",{old:null,valid:!0,message:this.defaultMessage(b,{method:x})})},destroy:function(){this.resetForm(),d(this.currentForm).off(".validate").removeData("validator").find(".validate-equalTo-blur").off(".validate-equalTo").removeClass("validate-equalTo-blur").find(".validate-lessThan-blur").off(".validate-lessThan").removeClass("validate-lessThan-blur").find(".validate-lessThanEqual-blur").off(".validate-lessThanEqual").removeClass("validate-lessThanEqual-blur").find(".validate-greaterThanEqual-blur").off(".validate-greaterThanEqual").removeClass("validate-greaterThanEqual-blur").find(".validate-greaterThan-blur").off(".validate-greaterThan").removeClass("validate-greaterThan-blur")}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},number:{number:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(b,x){b.constructor===String?this.classRuleSettings[b]=x:d.extend(this.classRuleSettings,b)},classRules:function(b){var x={},T=d(b).attr("class");return T&&d.each(T.split(" "),(function(){this in d.validator.classRuleSettings&&d.extend(x,d.validator.classRuleSettings[this])})),x},normalizeAttributeRule:function(d,b,x,T){/min|max|step/.test(x)&&(null===b||/number|range|text/.test(b))&&(T=Number(T),isNaN(T)&&(T=void 0)),T||0===T?d[x]=T:b===x&&"range"!==b&&(d[x]=!0)},attributeRules:function(b){var x,T,D={},z=d(b),H=b.getAttribute("type");for(x in d.validator.methods)"required"===x?(""===(T=b.getAttribute(x))&&(T=!0),T=!!T):T=z.attr(x),this.normalizeAttributeRule(D,H,x,T);return D.maxlength&&/-1|2147483647|524288/.test(D.maxlength)&&delete D.maxlength,D},dataRules:function(b){var x,T,D={},z=d(b),H=b.getAttribute("type");for(x in d.validator.methods)""===(T=z.data("rule"+x.charAt(0).toUpperCase()+x.substring(1).toLowerCase()))&&
854(T=!0),this.normalizeAttributeRule(D,H,x,T);return D},staticRules:function(b){var x={},T=d.data(b.form,"validator");return T.settings.rules&&(x=d.validator.normalizeRule(T.settings.rules[b.name])||{}),x},normalizeRules:function(b,x){return d.each(b,(function(T,D){if(!1!==D){if(D.param||D.depends){var z=!0;switch(_typeof(D.depends)){case"string":z=!!d(D.depends,x.form).length;break;case"function":z=D.depends.call(x,x)}z?b[T]=void 0===D.param||D.param:(d.data(x.form,"validator").resetElements(d(x)),delete b[T])}}else delete b[T]})),d.each(b,(function(d,T){b[d]="function"==typeof T&&"normalizer"!==d?T(x):T})),d.each(["minlength","maxlength"],(function(){b[this]&&(b[this]=Number(b[this]))})),d.each(["rangelength","range"],(function(){var d;b[this]&&(Array.isArray(b[this])?b[this]=[Number(b[this][0]),Number(b[this][1])]:"string"==typeof b[this]&&(d=b[this].replace(/[\[\]]/g,"").split(/[\s,]+/),b[this]=[Number(d[0]),Number(d[1])]))})),d.validator.autoCreateRanges&&(null!=b.min&&null!=b.max&&(b.range=[b.min,b.max],delete b.min,delete b.max),null!=b.minlength&&null!=b.maxlength&&(b.rangelength=[b.minlength,b.maxlength],delete b.minlength,delete b.maxlength)),b},normalizeRule:function(b){if("string"==typeof b){var x={};d.each(b.split(/\s/),(function(){x[this]=!0})),b=x}return b},addMethod:function(b,x,T){d.validator.methods[b]=x,d.validator.messages[b]=void 0!==T?T:d.validator.messages[b],x.length<3&&d.validator.addClassRules(b,d.validator.normalizeRule(b))},methods:{required:function(b,x,T){if(!this.depend(T,x))return"dependency-mismatch";if("select"===x.nodeName.toLowerCase()){var D=d(x).val();return D&&D.length>0}return this.checkable(x)?this.getLength(b,x)>0:null!=b&&b.length>0},email:function(d,b){return this.optional(b)||/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(d)},url:function(d,b){return this.optional(b)||/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[/?#]\S*)?$/i.test(d)},date:(b=!1,function(d,x){return b||(b=!0,this.settings.debug&&window.console&&console.warn("The `date` method is deprecated and will be removed in version '2.0.0'.\nPlease don't use it, since it relies on the Date constructor, which\nbehaves very differently across browsers and locales. Use `dateISO`\ninstead or one of the locale specific methods in `localizations/`\nand `additional-methods.js`.")),this.optional(x)||!/Invalid|NaN/.test(new Date(d).toString())}),dateISO:function(d,b){return this.optional(b)||/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(d)},number:function(d,b){return this.optional(b)||/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(d)},digits:function(d,b){return this.optional(b)||/^\d+$/.test(d)},minlength:function(d,b,x){var T=Array.isArray(d)?d.length:this.getLength(d,b);return this.optional(b)||T>=x},maxlength:function(d,b,x){var T=Array.isArray(d)?d.length:this.getLength(d,b);return this.optional(b)||T<=x},rangelength:function(d,b,x){var T=Array.isArray(d)?d.length:this.getLength(d,b);return this.optional(b)||T>=x[0]&&T<=x[1]},min:function(d,b,x){return this.optional(b)||d>=x},max:function(d,b,x){return this.optional(b)||d<=x},range:function(d,b,x){return this.optional(b)||d>=x[0]&&d<=x[1]},step:function(b,x,T){var D,z=d(x).attr("type"),H="Step attribute on input type "+z+" is not supported.",W=new RegExp("\\b"+z+"\\b"),decimalPlaces=function(d){var b=(""+d).match(/(?:\.(\d+))?$/);return b&&b[1]?b[1].length:0},toInt=function(d){return Math.round(d*Math.pow(10,D))},U=!0;if(z&&!W.test(["text","number","range"].join()))throw new Error(H);return D=decimalPlaces(T),(decimalPlaces(b)>D||toInt(b)%toInt(T)!=0)&&(U=!1),this.optional(x)||U},equalTo:function(b,x,T){var D=d(T);return this.settings.onfocusout&&D.not(".validate-equalTo-blur").length&&D.addClass("val
854idate-equalTo-blur").on("blur.validate-equalTo",(function(){d(x).valid()})),b===D.val()},remote:function(b,x,T,D){if(this.optional(x))return"dependency-mismatch";D="string"==typeof D&&D||"remote";var z,H,W,U=this.previousValue(x,D);return this.settings.messages[x.name]||(this.settings.messages[x.name]={}),U.originalMessage=U.originalMessage||this.settings.messages[x.name][D],this.settings.messages[x.name][D]=U.message,T="string"==typeof T&&{url:T}||T,W=d.param(d.extend({data:b},T.data)),U.old===W?U.valid:(U.old=W,z=this,this.startRequest(x),(H={})[x.name]=b,d.ajax(d.extend(!0,{mode:"abort",port:"validate"+x.name,dataType:"json",data:H,context:z.currentForm,success:function(d){var T,H,W,Y=!0===d||"true"===d;z.settings.messages[x.name][D]=U.originalMessage,Y?(W=z.formSubmitted,z.resetInternals(),z.toHide=z.errorsFor(x),z.formSubmitted=W,z.successList.push(x),z.invalid[x.name]=!1,z.showErrors()):(T={},H=d||z.defaultMessage(x,{method:D,parameters:b}),T[x.name]=U.message=H,z.invalid[x.name]=!0,z.showErrors(T)),U.valid=Y,z.stopRequest(x,Y)}},T)),"pending")}}});var x,T={};return d.ajaxPrefilter?d.ajaxPrefilter((function(d,b,x){var D=d.port;"abort"===d.mode&&(T[D]&&T[D].abort(),T[D]=x)})):(x=d.ajax,d.ajax=function(b){var D=("mode"in b?b:d.ajaxSettings).mode,z=("port"in b?b:d.ajaxSettings).port;return"abort"===D?(T[z]&&T[z].abort(),T[z]=x.apply(this,arguments),T[z]):x.apply(this,arguments)}),d})?T.apply(b,D):T)||(d.exports=z)},"s+lh":function(d,b,x){(function(d){function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}!function(b,x){var T=function(d,b){"use strict";if(!b.getElementsByClassName)return;var x,T,D=b.documentElement,z=d.Date,H=d.HTMLPictureElement,W=d.addEventListener,U=d.setTimeout,Y=d.requestAnimationFrame||U,Z=d.requestIdleCallback,J=/^picture$/i,ee=["load","error","lazyincluded","_lazyloaded"],te={},ne=Array.prototype.forEach,hasClass=function(d,b){return te[b]||(te[b]=new RegExp("(\\s|^)"+b+"(\\s|$)")),te[b].test(d.getAttribute("class")||"")&&te[b]},addClass=function(d,b){hasClass(d,b)||d.setAttribute("class",(d.getAttribute("class")||"").trim()+" "+b)},removeClass=function(d,b){var x;(x=hasClass(d,b))&&d.setAttribute("class",(d.getAttribute("class")||"").replace(x," "))},ie=function addRemoveLoadEvents(d,b,x){var T=x?"addEventListener":"removeEventListener";x&&addRemoveLoadEvents(d,b),ee.forEach((function(x){d[T](x,b)}))},triggerEvent=function(d,T,D,z,H){var W=b.createEvent("Event");return D||(D={}),D.instance=x,W.initEvent(T,!z,!H),W.detail=D,d.dispatchEvent(W),W},updatePolyfill=function(b,x){var D;!H&&(D=d.picturefill||T.pf)?(x&&x.src&&!b.getAttribute("srcset")&&b.setAttribute("srcset",x.src),D({reevaluate:!0,elements:[b]})):x&&x.src&&(b.src=x.src)},getCSS=function(d,b){return(getComputedStyle(d,null)||{})[b]},getWidth=function(d,b,x){for(x=x||d.offsetWidth;x<T.minSize&&b&&!d._lazysizesWidth;)x=b.offsetWidth,b=b.parentNode;return x},oe=(ce=[],de=[],he=ce,pe=function(){var d=he;for(he=ce.length?de:ce,se=!0,le=!1;d.length;)d.shift()();se=!1},fe=function(d,x){se&&!x?d.apply(this,arguments):(he.push(d),le||(le=!0,(b.hidden?U:Y)(pe)))},fe._lsFlush=pe,fe),rAFIt=function(d,b){return b?function(){oe(d)}:function(){var b=this,x=arguments;oe((function(){d.apply(b,x)}))}},debounce=function(d){var b,x,run=function(){b=null,d()},T=function later(){var d=z.now()-x;d<99?U(later,99-d):(Z||run)(run)};return function(){x=z.now(),b||(b=U(T,99))}};var se,le,ce,de,he,pe,fe;!function(){var b,x={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};for(b in T=d.lazySizesConfig||d.lazysizesConfig||{},x)b in T||(T[b]=x[b]);d.lazySizesConfig=T,U((function(){T.init&&ye()}))}();var ge=(Xe=/^img$/i,Ke=/^iframe$/i,Qe="onscroll"in d&&!/(gle|ing)bot/.test(navigator.userAgent),et=0,tt=0,nt=-1,ot=function(d){tt--,(!d||tt<0||!d.target)&&(tt=0)},lt=function(d){return null==Ye&&(Ye="hidden"==getCSS(b.body,"visibility")),Ye||"hidden"
854!=getCSS(d.parentNode,"visibility")&&"hidden"!=getCSS(d,"visibility")},ut=function(d,x){var T,z=d,H=lt(d);for(Ne-=x,Ge+=x,Ve-=x,Fe+=x;H&&(z=z.offsetParent)&&z!=b.body&&z!=D;)(H=(getCSS(z,"opacity")||1)>0)&&"visible"!=getCSS(z,"overflow")&&(T=z.getBoundingClientRect(),H=Fe>T.left&&Ve<T.right&&Ge>T.top-1&&Ne<T.bottom+1);return H},ht=function(){var d,z,H,W,U,Y,Z,J,ee,te,ne,ie,oe=x.elements;if((ke=T.loadMode)&&tt<8&&(d=oe.length)){for(z=0,nt++,te=!T.expand||T.expand<1?D.clientHeight>500&&D.clientWidth>500?500:370:T.expand,x._defEx=te,ne=te*T.expFactor,ie=T.hFac,Ye=null,et<ne&&tt<1&&nt>2&&ke>2&&!b.hidden?(et=ne,nt=0):et=ke>1&&nt>1&&tt<6?te:0;z<d;z++)if(oe[z]&&!oe[z]._lazyRace)if(Qe)if((J=oe[z].getAttribute("data-expand"))&&(Y=1*J)||(Y=et),ee!==Y&&(Ee=innerWidth+Y*ie,Le=innerHeight+Y,Z=-1*Y,ee=Y),H=oe[z].getBoundingClientRect(),(Ge=H.bottom)>=Z&&(Ne=H.top)<=Le&&(Fe=H.right)>=Z*ie&&(Ve=H.left)<=Ee&&(Ge||Fe||Ve||Ne)&&(T.loadHidden||lt(oe[z]))&&(Me&&tt<3&&!J&&(ke<3||nt<4)||ut(oe[z],Y))){if(Mt(oe[z]),U=!0,tt>9)break}else!U&&Me&&!W&&tt<4&&nt<4&&ke>2&&(Se[0]||T.preloadAfterLoad)&&(Se[0]||!J&&(Ge||Fe||Ve||Ne||"auto"!=oe[z].getAttribute(T.sizesAttr)))&&(W=Se[0]||oe[z]);else Mt(oe[z]);W&&!U&&Mt(W)}},pt=function(d){var b,x=0,D=T.throttleDelay,H=T.ricTimeout,run=function(){b=!1,x=z.now(),d()},W=Z&&H>49?function(){Z(run,{timeout:H}),H!==T.ricTimeout&&(H=T.ricTimeout)}:rAFIt((function(){U(run)}),!0);return function(d){var T;(d=!0===d)&&(H=33),b||(b=!0,(T=D-(z.now()-x))<0&&(T=0),d||T<9?W():U(W,T))}}(ht),gt=function(d){var b=d.target;b._lazyCache?delete b._lazyCache:(ot(d),addClass(b,T.loadedClass),removeClass(b,T.loadingClass),ie(b,vt),triggerEvent(b,"lazyloaded"))},yt=rAFIt(gt),vt=function(d){yt({target:d.target})},wt=function(d){var b,x=d.getAttribute(T.srcsetAttr);(b=T.customMedia[d.getAttribute("data-media")||d.getAttribute("media")])&&d.setAttribute("media",b),x&&d.setAttribute("srcset",x)},St=rAFIt((function(d,b,x,D,z){var H,W,Y,Z,ee,te;(ee=triggerEvent(d,"lazybeforeunveil",b)).defaultPrevented||(D&&(x?addClass(d,T.autosizesClass):d.setAttribute("sizes",D)),W=d.getAttribute(T.srcsetAttr),H=d.getAttribute(T.srcAttr),z&&(Z=(Y=d.parentNode)&&J.test(Y.nodeName||"")),te=b.firesLoad||"src"in d&&(W||H||Z),ee={target:d},addClass(d,T.loadingClass),te&&(clearTimeout(Te),Te=U(ot,2500),ie(d,vt,!0)),Z&&ne.call(Y.getElementsByTagName("source"),wt),W?d.setAttribute("srcset",W):H&&!Z&&(Ke.test(d.nodeName)?function(d,b){try{d.contentWindow.location.replace(b)}catch(x){d.src=b}}(d,H):d.src=H),z&&(W||Z)&&updatePolyfill(d,{src:H})),d._lazyRace&&delete d._lazyRace,removeClass(d,T.lazyClass),oe((function(){var b=d.complete&&d.naturalWidth>1;te&&!b||(b&&addClass(d,"ls-is-cached"),gt(ee),d._lazyCache=!0,U((function(){"_lazyCache"in d&&delete d._lazyCache}),9))}),!0)})),Mt=function(d){var b,x=Xe.test(d.nodeName),D=x&&(d.getAttribute(T.sizesAttr)||d.getAttribute("sizes")),z="auto"==D;(!z&&Me||!x||!d.getAttribute("src")&&!d.srcset||d.complete||hasClass(d,T.errorClass)||!hasClass(d,T.lazyClass))&&(b=triggerEvent(d,"lazyunveilread").detail,z&&me.updateElem(d,!0,d.offsetWidth),d._lazyRace=!0,tt++,St(d,b,z,D,x))},kt=function onload(){if(!Me)if(z.now()-Pe<999)U(onload,999);else{var d=debounce((function(){T.loadMode=3,pt()}));Me=!0,T.loadMode=3,pt(),W("scroll",(function(){3==T.loadMode&&(T.loadMode=2),d()}),!0)}},{_:function(){Pe=z.now(),x.elements=b.getElementsByClassName(T.lazyClass),Se=b.getElementsByClassName(T.lazyClass+" "+T.preloadClass),W("scroll",pt,!0),W("resize",pt,!0),d.MutationObserver?new MutationObserver(pt).observe(D,{childList:!0,subtree:!0,attributes:!0}):(D.addEventListener("DOMNodeInserted",pt,!0),D.addEventListener("DOMAttrModified",pt,!0),setInterval(pt,999)),W("hashchange",pt,!0),["focus","mouseover","click","load","transitionend","animationend","webkitAnimationEnd"].forEach((function(d){b.addEventListener(d,pt,!0)})),/d$|^c/.test(b.readyState)?kt():(W("load",kt),b.addEventListener("DOMContentLoaded",pt),U(kt,2e4)),x.elements.length?(ht(),oe._lsFlush()):pt()},checkElems:pt,unveil:Mt}),me=(xe=rAFIt((function(d,b,x,T){var D,z,H;if(d._lazysizesWidth=T,T+="px",d.setAttribute("sizes",T),J.test(b.nodeName||""))for(z=0,H=(D=b.getElementsByTagName("source")).length;z<H;z++)D[z].setAttribute("sizes",T);x.detail.dataAttr||updatePolyfill(d,x.detail)})),_e=function(d,b,x){var T,D=d.parentNode;D&&(x=getWidth(d,D,x),(T=triggerEvent(d,"lazybeforesizes",{width:x,dataAttr:!!b})).defaultPrevented||(x=T.detail.width)&&x!==d._lazysizesWidth&&xe(d,D,T,x))},we=debounce((function(){var d,b=ve.length;if(b)for(d=0;d<b;d++)_e(ve[d])})),{_:function(){ve=b.getElementsByClassName(T.autosizesClass),W("resize",we)},checkElems:we,updateElem:_e}
854),ye=function init(){init.i||(init.i=!0,me._(),ge._())};var ve,xe,_e,we;var Se,Me,Te,ke,Pe,Ee,Le,Ne,Ve,Fe,Ge,Ye,Xe,Ke,Qe,et,tt,nt,ot,lt,ut,ht,pt,gt,yt,vt,wt,St,Mt,kt;return x={cfg:T,autoSizer:me,loader:ge,init:ye,uP:updatePolyfill,aC:addClass,rC:removeClass,hC:hasClass,fire:triggerEvent,gW:getWidth,rAF:oe}}(b,b.document);b.lazySizes=T,"object"==_typeof(d)&&d.exports&&(d.exports=T)}(window)}).call(this,x("YuTi")(d))},sYn3:function(d,b,x){"use strict";function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}var T;if(!Object.keys){var D=Object.prototype.hasOwnProperty,z=Object.prototype.toString,H=x("1KsK"),W=Object.prototype.propertyIsEnumerable,U=!W.call({toString:null},"toString"),Y=W.call((function(){}),"prototype"),Z=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],equalsConstructorPrototype=function(d){var b=d.constructor;return b&&b.prototype===d},J={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},ee=function(){if("undefined"==typeof window)return!1;for(var d in window)try{if(!J["$"+d]&&D.call(window,d)&&null!==window[d]&&"object"===_typeof(window[d]))try{equalsConstructorPrototype(window[d])}catch(d){return!0}}catch(d){return!0}return!1}();T=function(d){var b=null!==d&&"object"===_typeof(d),x="[object Function]"===z.call(d),T=H(d),W=b&&"[object String]"===z.call(d),J=[];if(!b&&!x&&!T)throw new TypeError("Object.keys called on a non-object");var te=Y&&x;if(W&&d.length>0&&!D.call(d,0))for(var ne=0;ne<d.length;++ne)J.push(String(ne));if(T&&d.length>0)for(var ie=0;ie<d.length;++ie)J.push(String(ie));else for(var oe in d)te&&"prototype"===oe||!D.call(d,oe)||J.push(String(oe));if(U)for(var se=function(d){if("undefined"==typeof window||!ee)return equalsConstructorPrototype(d);try{return equalsConstructorPrototype(d)}catch(d){return!1}}(d),le=0;le<Z.length;++le)se&&"constructor"===Z[le]||!D.call(d,Z[le])||J.push(Z[le]);return J}}d.exports=T},srjY:function(d,b,x){"use strict";(function(b){var T=x("45zb"),D=x("vaOV");if(x("4wIo")()||x("563l")()){var z=Symbol.iterator;d.exports=function(d){return null!=d&&void 0!==d[z]?d[z]():T(d)?Array.prototype[z].call(d):void 0}}else{var H=x("lmVY"),W=x("VbLK"),U=x("AM7I"),Y=U("%Map%",!0),Z=U("%Set%",!0),J=x("VF6F"),ee=J("Array.prototype.push"),te=J("String.prototype.charCodeAt"),ne=J("String.prototype.slice"),getArrayIterator=function(d){var b=0;return{next:function(){var x,T=b>=d.length;return T||(x=d[b],b+=1),{done:T,value:x}}}},getNonCollectionIterator=function(d,b){if(H(d)||T(d))return getArrayIterator(d);if(W(d)){var x=0;return{next:function(){var b=function(d,b){if(b+1>=d.length)return b+1;var x=te(d,b);if(x<55296||x>56319)return b+1;var T=te(d,b+1);return T<56320||T>57343?b+1:b+2}(d,x),T=ne(d,x,b);return x=b,{done:b>d.length,value:T}}}}return b&&void 0!==d["_es6-shim iterator_"]?d["_es6-shim iterator_"]():void 0};if(Y||Z){var ie=x("/RMt"),oe=x("vgOX"),se=J("Map.prototype.forEach",!0),le=J("Set.prototype.forEach",!0);if(void 0===b||!b.versions||!b.versions.node)var ce=J("Map.prototype.iterator",!0),de=J("Set.prototype.iterator",!0);var he=J("Map.prototype.@@iterator",!0)||J("Map.prototype._es6-shim iterator_",!0),pe=J("Set.prototype.@@iterator",!0)||J("Set.prototype._es6-shim iterator_",!0);d.exports=function(d){return function(d){if(ie(d)){if(ce)return D(ce(d));if(he)return he(d);if(se){var b=[];return se(d,(function(d,x){ee(b,[x,d])})),getArrayIterator(b)}}if(oe(d)){if(de)return D(de(d));if(pe)return pe(d);if(le){var x=[];return le(d,(function(d){ee(x,d)})),getArrayIterator(x)}}}(d)||getNonCollectionIterator(d)}}else d.exports=function(d){if(null!=d)return getNonCollectionIterator(d,!0)}}}).call(this,x("KCCg"))},tkaw:function(d,b,x){function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}var T,D,z;window.App=window.App||{}
854,App.Modal=(T="a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, *[tabindex], *[contenteditable]",{init:function(){$("body").on("click",'[data-action="open-modal"]',(function(d){d.preventDefault();var b=$(this).attr("data-target");D($("#"+b))}))},open:D=function(d){d.trigger("willOpen.modal"),$(document).on("keyup.modal",(function(b){27===b.keyCode&&z(d)})),d.on("click",(function(d){0===$(d.target).closest('[data-role="modal-dialog"]').length&&z($(this))})),d.on("click",'[data-action="close-modal"]',(function(b){b.preventDefault(),z(d)})),d.addClass("onscreen"),d.find('[data-action="close-modal"]').focus(),window.setTimeout((function(){d.addClass("opaque")}),10),$(T).not("[tabindex=-1], [disabled], :hidden").each((function(){var d=$(this).attr("tabindex");"undefined"!==_typeof(d)&&!1!==d&&$(this).data("tabindex",d),0===$(this).parents(".modal.onscreen").length&&$(this).attr("tabindex",-1)}))},close:z=function(d){d.trigger("willClose.modal"),$(document).off("keyup.modal"),d.removeClass("opaque"),0!==parseInt(d.css("transitionDuration"),10)?d.on("transitionend",(function onTransitionEnd(b){b.target===d[0]&&(d.off("transitionend",onTransitionEnd),d.removeClass("onscreen"))})):(d.removeClass("onscreen"),d.trigger("closed.modal")),d.find(".container").css("max-width",""),$(T).not("[disabled], :hidden").each((function(){var d=$(this).data("tabindex");d?$(this).attr("tabindex",d):$(this).removeAttr("tabindex")}))}})},tppf:function(d,b,x){"use strict";var T=x("EVdn"),D=x.n(T),z=function(){function ContentCounter(d){this.$element=d,this.initModule()}return ContentCounter.prototype.initModule=function(){var d=this,b=new IntersectionObserver((function(b,x){b.forEach((function(b){if(b.isIntersecting){var T=b.target,z=D()(T).find('[data-role="counter-value"]').get(0);z&&d.animateCounter(T,z),x.unobserve(T)}}))}));this.$element.find('[data-role="counter-value"]').each((function(d,x){var T=D()(x).closest(".content-counter__item").get(0);T&&b.observe(T)}))},ContentCounter.prototype.animateCounter=function(d,b){var x=this,T=parseFloat(d.getAttribute("data-number")||"");if(isFinite(T)){var D=d.hasAttribute("data-count-down"),z=D?T:0,H=D?0:T;if(window.matchMedia("(prefers-reduced-motion: reduce)").matches)b.textContent=this.formatNumber(H);else{var W=Date.now();!function update(){var d=Math.min(Date.now()-W,2e3),T=d/2e3,D=T<1?Math.round(z+(H-z)*T):H;b.textContent=x.formatNumber(D),d<2e3&&window.requestAnimationFrame(update)}()}}},ContentCounter.prototype.formatNumber=function(d){var b=Math.round(100*d)/100;return 0===b?"0":b.toLocaleString("de-DE",{useGrouping:!0,maximumFractionDigits:2})},ContentCounter}();b.a=z},"uJ/6":function(d,b,x){"use strict";var __assign=function(){return(__assign=Object.assign||function(d){for(var b,x=1,T=arguments.length;x<T;x++)for(var D in b=arguments[x])Object.prototype.hasOwnProperty.call(b,D)&&(d[D]=b[D]);return d}).apply(this,arguments)},T=function(){function TariffCalculator(d){this.slider=null,this.$element=d,this.allowedPostalcodes=this.parseAllowedPostalcodes(),this.priceFields=this.parsePriceFields(),this.monthlyPriceUnitHtml=this.$element.attr("data-monthly-price-unit")||"",this.excludeTax="true"===(this.$element.attr("data-exclude-tax")||"").trim().toLowerCase(),this.$form=this.$element.find("[data-tariff-calculator-form]"),this.$postalCodeInput=this.$element.find("[data-tariff-calculator-postal-code]"),this.$personCountSelect=this.$element.find("[data-tariff-calculator-person-count]"),this.$consumptionInput=this.$element.find("[data-tariff-calculator-consumption]"),this.$submitButton=this.$element.find("[data-tariff-calculator-submit]"),this.$errorMessage=this.$element.find("[data-tariff-calculator-error]"),this.$consumptionErrorMessage=this.$element.find("[data-tariff-calculator-consumption-error]"),this.initTariffCardFootnotes(),this.isCalculatorDisabled()?this.initSlider():(this.bindEvents(),this.initSlider(),this.initPersonCountPlaceholder())}return TariffCalculator.prototype.isCalculatorDisabled=function(){return"true"===(this.$element.attr("data-disable-calculator")||"").trim().toLowerCase()||0===this.$form.length},TariffCalculator.prototype.initPersonCountPlaceholder=function(){if(0!==this.$personCountSelect.length){var d=this.$personCountSelect[0];if(d){var b=Array.from(d.options).find((function(d){return""===d.value}));b||((b=document.createElement("option")).value="",b.textContent="",d.insertBefore(b,d.firstChild)),b.disabled=!1,b.removeAttribute("disabled");if(this.$postalCodeInput.length>0)0===(this.$postalCodeInput.val()||"").trim().length&&this.$postalCodeInput.val("5020");this.$personCountSelect.val(String(2)),this.$consumptionInput.length>0&&this.$consumptionInput.val(String(TariffCalculator.calculateDefaultConsumption(2)))}}},TariffCalculator.calculateDefaultConsumption=function(d){return d<=0?0:1300+1e3*(d-1)},TariffCalculator.prototype.initSlider=function(){var d=this,b=window.Swiper;if(b){var x=this.$element.find("[data-tariff-calculator-slider]")[0];if(x){var T=this.$element.find("[data-tariff-calculator-prev]")[0],D=this.$element.find("[data-tariff-calculator-next]")[0],z=this.$element.find("[data-tariff-calculator-pagination]")[0],H=this.$element.find("[data-tariff-calculator-floating-prev]")[0],W=this.$element.find("[data-tariff-calculator-floating-next]")[0],U=this.$element.find("[data-tariff-calculator-fadeout], .tariff-calculator__slider-right-fadeout")[0];this.slider=new b(x,{slidesPerView:3.2,spaceBetween:32,watchOverflow:!0,navigation:{prevEl:T,nextEl:D,disabledClass:"swiper-button-disabled"},pagination:{el:z,clickable:!0,bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active"},breakpoints:{740:{slidesPerView:1,spaceBetween:8},1110:{slidesPerView:2.2,spaceBetween:32},1400:{slidesPerView:"auto",spaceBetween:32}}}),this.initFloatingNav(H,W,T,D,U),this.initPaginationVisibility(this.$element.find(".tariff-calculator__slider-control
854s")[0]),this.slider&&"function"==typeof this.slider.on&&this.slider.on("init",(function(){return d.hideLoadingIndicator()})),this.hideLoadingIndicator()}else this.hideLoadingIndicator()}else window.setTimeout((function(){return d.initSlider()}),100)},TariffCalculator.prototype.hideLoadingIndicator=function(){this.$element.find("[data-tariff-calculator-cards]").removeClass("is-loading"),this.$element.find("[data-tariff-calculator-loading]").addClass("is-hidden").attr("hidden","hidden")},TariffCalculator.prototype.initFloatingNav=function(d,b,x,T,D){var z=this;if(this.slider&&(d||b||x||T||D)){d&&d.addEventListener("click",(function(d){d.preventDefault(),z.slider.slidePrev()})),b&&b.addEventListener("click",(function(d){d.preventDefault(),z.slider.slideNext()}));var setHidden=function(d,b){d&&(d.disabled=b,d.classList.toggle("swiper-button-disabled",b),b?(d.classList.add("is-hidden"),d.setAttribute("hidden","hidden")):(d.classList.remove("is-hidden"),d.removeAttribute("hidden")))},updateVisibility=function(){"function"==typeof z.slider.updateProgress&&z.slider.updateProgress();var H,W=!!z.slider.isLocked,U=!!z.slider.isBeginning,Y=!!z.slider.isEnd;setHidden(d,W||U),setHidden(b,W||Y),setHidden(x,W||U),setHidden(T,W||Y),H=W||Y,D&&(D.classList.toggle("is-hidden",H),D.setAttribute("aria-hidden",String(H)))};this.slider.on("init",updateVisibility),this.slider.on("slideChange",updateVisibility),this.slider.on("transitionEnd",updateVisibility),this.slider.on("resize",updateVisibility),this.slider.on("breakpoint",updateVisibility),this.slider.on("observerUpdate",updateVisibility),this.slider.on("update",updateVisibility),this.slider.on("slidesLengthChange",updateVisibility),this.slider.on("lock",updateVisibility),this.slider.on("unlock",updateVisibility),this.slider.on("reachBeginning",updateVisibility),this.slider.on("reachEnd",updateVisibility),this.slider.on("fromEdge",updateVisibility),updateVisibility()}},TariffCalculator.prototype.initPaginationVisibility=function(d){var b=this;if(this.slider&&d){var updatePaginationVisibility=function(){!!b.slider.isLocked?(d.classList.add("hidden"),d.setAttribute("hidden","hidden")):(d.classList.remove("hidden"),d.removeAttribute("hidden"))};this.slider.on("init",updatePaginationVisibility),this.slider.on("resize",updatePaginationVisibility),this.slider.on("breakpoint",updatePaginationVisibility),this.slider.on("observerUpdate",updatePaginationVisibility),this.slider.on("lock",updatePaginationVisibility),this.slider.on("unlock",updatePaginationVisibility),updatePaginationVisibility()}},TariffCalculator.prototype.parseAllowedPostalcodes=function(){var d=this.$element.attr("data-allowed-postalcodes");return d?d.split(",").map((function(d){return d.trim()})).filter((function(d){return d.length>0})):[]},TariffCalculator.parseNumber=function(d){if(null==d)return null;var b=String(d).trim();if(0===b.length)return null;var x=Number(b.replace(",","."));return Number.isFinite(x)?x:null},TariffCalculator.parseNumberAttr=function(d,b){return TariffCalculator.parseNumber(d.getAttribute(b))},TariffCalculator.prototype.parseNumberAttr=function(d){var b=this.$element.attr(d);return TariffCalculator.parseNumber(void 0===b?null:b)},TariffCalculator.prototype.parsePriceFields=function(){return{basicFee:this.parseNumberAttr("data-basic-fee"),workingPrice:this.parseNumberAttr("data-working-price"),gridLossFee:this.parseNumberAttr("data-grid-loss-fee"),meteringPrice:this.parseNumberAttr("data-metering-price"),electricityTax:this.parseNumberAttr("data-electricity-tax"),renewableSupportFlatFee:this.parseNumberAttr("data-renewable-support-flat-fee"),usageFee:this.parseNumberAttr("data-usage-fee"),renewableSupportContributionGridUsage:this.parseNumberAttr("data-renewable-support-contribution-grid-usage"),renewableSupportContributionGridLoss:this.parseNumberAttr("data-renewable-support-contribution-grid-loss"),renewableSupportContributionFlat:this.parseNumberAttr("data-renewable-support-contribution-flat"),biomassSupportSurchargeSbg:this.parseNumberAttr("data-biomass-support-surcharge-sbg")}},TariffCalculator.prototype.bindEvents=function(){var d=this;this.$form.length>0?this.$form.on("submit",(function(b){b.preventDefault(),d.calculate()})):this.$submitButton.length>0&&this.$submitButton.on("click",(function(b){b.preventDefault(),d.calculate()})),this.$postalCodeInput.add(this.$personCountSelect).add(this.$consumptionInput).on("input change",(function(){return d.hideError()})),this.$personCountSelect.length>0&&this.$personCountSelect.on("change",(function(){var b=TariffCalculator.parseNumber(d.$personCountSelect.val());null!==b?d.$consumptionInput.length>0&&d.$consumptionInput.val(String(TariffCalculator.calculateDefaultConsumption(b))):d.resetAllTariffCards()}))},TariffCalculator.prototype.resetAllTariffCards=function(){var d=this;this.parseTariffCards().filter((function(d){return!d.showSpotTariff}
854)).forEach((function(b){return d.resetCardPrice(b)})),this.hideError()},TariffCalculator.prototype.showError=function(){this.showMessage(this.$errorMessage)},TariffCalculator.prototype.showConsumptionError=function(){this.showMessage(this.$consumptionErrorMessage)},TariffCalculator.prototype.showMessage=function(d){this.hideError(),d.length>0&&d.removeClass("is-hidden").removeAttr("hidden")},TariffCalculator.prototype.hideError=function(){[this.$errorMessage,this.$consumptionErrorMessage].forEach((function(d){d.length>0&&d.addClass("is-hidden").attr("hidden","hidden")}))},TariffCalculator.prototype.initTariffCardFootnotes=function(){var d=this,b=this.$element[0];if(b){var x=Array.from(document.querySelectorAll('[data-module="tariff-calculator"]')).indexOf(b);x<0||this.$element.find('[data-module="tariff-card"]').each((function(b,T){var D=T,z=Array.from(D.querySelectorAll(".tariff-card__footnote"));Array.from(D.querySelectorAll("sup")).forEach((function(T){var D=(T.textContent||"").trim();if(0!==D.length&&!T.querySelector("a")){for(var H=D.split(",").map((function(d){return d.trim()})).filter((function(d){return d.length>0}));T.firstChild;)T.removeChild(T.firstChild);H.forEach((function(D,W){var U=/^\d+$/.test(D)?z.find((function(d){var b=d.querySelector(".tariff-card__footnote-number");return(b?b.textContent:"").trim()===D})):void 0,Y="card-footnote-"+x+"-"+b+"-"+D;U&&(U.id=Y);var Z=document.createElement("a");Z.href="#"+Y,Z.textContent=D,T.appendChild(Z),U&&Z.addEventListener("click",(function(b){b.preventDefault();var scrollToFootnote=function(){d.scrollToTariffCardFootnote(U),window.location.hash!==Z.hash&&window.history.pushState(null,"",Z.hash)};d.openTariffCardFootnote(U)?window.setTimeout(scrollToFootnote,200):scrollToFootnote()})),W<H.length-1&&T.appendChild(document.createTextNode(", "))}))}}))}))}},TariffCalculator.prototype.openTariffCardFootnote=function(d){var b=$(d).closest('[data-module~="collapsible"]')[0];if(!b||!b.classList.contains("collapsed"))return!1;var x=window.App;if(x&&x.Collapsible&&"function"==typeof x.Collapsible.expand)return x.Collapsible.expand($(b)),!0;b.classList.remove("collapsed");var T=Array.from(b.children).find((function(d){return"collapsible-content"===d.getAttribute("data-role")}));T&&(T.style.removeProperty("display"),T.removeAttribute("hidden"));var D=Array.from(b.children).find((function(d){return"toggle-collapsible"===d.getAttribute("data-action")}));return D&&D.setAttribute("aria-expanded","true"),!0},TariffCalculator.prototype.scrollToTariffCardFootnote=function(d){var b=$(d).offset();if(b){var x=$('[data-role="layout-header"]').outerHeight()||0,T=Math.max(0,b.top-x-100),D=window.App;D&&D.FUNCTIONS&&"function"==typeof D.FUNCTIONS.performantScrollBody?D.FUNCTIONS.performantScrollBody(T,500):"function"==typeof window.scrollTo&&window.scrollTo(0,T)}},TariffCalculator.prototype.parseTariffCards=function(){var d=[];return this.$element.find('[data-module="tariff-card"]').each((function(b,x){var T=x,D=T.querySelector(".tariff-card__details-working-price"),z=T.querySelector(".tariff-card__details-working-price-unit"),H=T.querySelector(".tariff-card__details-headline"),W=T.getAttribute("data-default-working-price-html")||"",U=T.getAttribute("data-default-working-price-unit-html")||"",Y=T.getAttribute("data-default-headline-html")||"";!T.hasAttribute("data-default-working-price-html")&&D&&(W=D.innerHTML,T.setAttribute("data-default-working-price-html",W)),!T.hasAttribute("data-default-working-price-unit-html")&&z&&(U=z.innerHTML,T.setAttribute("data-default-working-price-unit-html",U)),!T.hasAttribute("data-default-headline-html")&&H&&(Y=H.innerHTML,T.setAttribute("data-default-headline-html",Y)),d.push({element:T,workingPrice:TariffCalculator.parseNumberAttr(T,"data-working-price"),basePrice:TariffCalculator.parseNumberAttr(T,"data-base-price"),bonus:TariffCalculator.parseNumberAttr(T,"data-bonus"),electricityPriceCap:TariffCalculator.parseNumberAttr(T,"data-electricity-price-cap"),electricityPriceCapLimit:TariffCalculator.parseNumberAttr(T,"data-electricity-price-cap-limit"),freeDays:TariffCalculator.parseNumberAttr(T,"data-free-days"),showSpotTariff:T.hasAttribute("data-show-spot-tariff"),defaultPriceHtml:W,defaultUnitHtml:U,afterCalculationHeadline:(T.getAttribute("data-tariff-details-headline-after")||"").trim(),defaultHeadlineHtml:Y})})),d},TariffCalculator.prototype.getInputs=function(){return{postalCode:(this.$postalCodeInput.val()||"").trim(),personCount:TariffCalculator.parseNumber(this.$personCountSelect.val()),consumption:TariffCalculator.parseNumber(this.$consumptionInput.val())}},TariffCalculator.prototype.calculate=function(){var d=this,b=this.parseTariffCards().filter((function(d){return!d.showSpotTariff})),x=this.getInputs(),T=x.postalCode,D=x.personCount,z=x.consumption;if(0===T.length||null===D||null===z)return b.forEach((function(b){return d.resetCardPrice(b)})),void this.showError();if(z>25e3)return b.forEach((function(b){return d.resetCardPrice(b)})),void this.showConsumptionError();if(this.hideError(),!this.allowedPostalcodes.includes(T))return b.forEach((function(b){return d.resetCardPrice(b)})),void this.showError();
854var H=z,W=this.calculateGridCosts(H),U=this.calculateTaxes(H);b.forEach((function(b){var x=d.calculateMonthlyPrice(b,H,W,U);null===x?d.resetCardPrice(b):d.updateCardPrice(b,x)}))},TariffCalculator.prototype.calculateGridCosts=function(d){var b=this.priceFields;return TariffCalculator.numberOrZero(b.basicFee)+TariffCalculator.numberOrZero(b.workingPrice)*d/100+TariffCalculator.numberOrZero(b.gridLossFee)*d/100+12*TariffCalculator.numberOrZero(b.meteringPrice)},TariffCalculator.prototype.calculateTaxes=function(d){var b=this.priceFields,x=TariffCalculator.numberOrZero(b.electricityTax)*d/100,T=TariffCalculator.numberOrZero(b.usageFee)*d/100,D=TariffCalculator.numberOrZero(b.renewableSupportContributionGridUsage)*d/100,z=TariffCalculator.numberOrZero(b.renewableSupportContributionGridLoss)*d/100,H=TariffCalculator.numberOrZero(b.biomassSupportSurchargeSbg)*d/100;return x+TariffCalculator.numberOrZero(b.renewableSupportFlatFee)+T+D+z+H+TariffCalculator.numberOrZero(b.renewableSupportContributionFlat)},TariffCalculator.numberOrZero=function(d){return null===d?0:d},TariffCalculator.prototype.calculateMonthlyPrice=function(d,b,x,T){if(null===d.workingPrice||null===d.basePrice)return null;var D=TariffCalculator.numberOrZero(d.bonus),z=TariffCalculator.numberOrZero(d.freeDays),H=TariffCalculator.numberOrZero(d.electricityPriceCap),W=TariffCalculator.numberOrZero(d.electricityPriceCapLimit),U=z/365,Y=d.workingPrice*b/100,Z=D*b/100,J=(d.workingPrice-d.workingPrice*U-H)*W/100,ee=(Y+d.basePrice)*U,te=Y+d.basePrice-J-ee-Z+T+x;return(this.excludeTax?te:1.2*te)/12},TariffCalculator.prototype.formatPrice=function(d){return d.toLocaleString("de-AT",{minimumFractionDigits:2,maximumFractionDigits:2})},TariffCalculator.prototype.updateCardPrice=function(d,b){var x=d.element.querySelector(".tariff-card__details-working-price"),T=d.element.querySelector(".tariff-card__details-working-price-unit"),D=d.element.querySelector(".tariff-card__details-headline"),z=d.element.querySelector(".tariff-card__details-working-price-from");z&&(z.style.display="none"),x&&(x.textContent=this.formatPrice(b)),T&&this.monthlyPriceUnitHtml.length>0&&(T.innerHTML=this.monthlyPriceUnitHtml),D&&d.afterCalculationHeadline.length>0&&(D.textContent=d.afterCalculationHeadline)},TariffCalculator.prototype.resetCardPrice=function(d){var b=d.element.querySelector(".tariff-card__details-working-price"),x=d.element.querySelector(".tariff-card__details-working-price-unit"),T=d.element.querySelector(".tariff-card__details-headline"),D=d.element.querySelector(".tariff-card__details-working-price-from");D&&D.style.removeProperty("display"),b&&(b.innerHTML=d.defaultPriceHtml),x&&(x.innerHTML=d.defaultUnitHtml),T&&d.afterCalculationHeadline.length>0&&(T.innerHTML=d.defaultHeadlineHtml)},TariffCalculator.prototype.getAllowedPostalcodes=function(){return this.allowedPostalcodes.slice()},TariffCalculator.prototype.isAllowed=function(d){return-1!==this.allowedPostalcodes.indexOf(d)},TariffCalculator.prototype.getPriceFields=function(){return __assign({},this.priceFields)},TariffCalculator.prototype.getTariffCards=function(){return this.parseTariffCards()},TariffCalculator}();b.a=T},uti1:function(d,b,x){"use strict";var T=x("DRYN"),D=x("lahl"),z=function(){function BicField(d){this.$element=d,this.initModule()}return BicField.prototype.initModule=function(){var d={mask:"CCCCBC##[###]",prepare:function(d){return/[a-z]/.test(d)?d.toUpperCase():d},definitions:{C:/[A-Z]/,"#":/[A-Z0-9]/},blocks:{BC:{mask:T.a.MaskedEnum,enum:Object.keys(D.a.COUNTRY_MASKS)}}},b=Object(T.a)(this.$element.get(0),d);this.$element.data("mask",b)},BicField}();b.a=z},"vMU+":function(d,b){var x,T,D,z,H;window.App=window.App||{},App.NewsSlider=(x={default:{itemsPerRow:3},breakpoints:{"max:xs":{itemsPerRow:1},"max:sm":{itemsPerRow:2},"max:md":{itemsPerRow:App.env&&App.env.isNarrowLayout()?2:3}}},T=function(d){var b=function(d){var b=d.attr("data-news-url"),x=[function(d){return d.find('[data-action="toggle-tag-filter"]:checked').map((function(){return $(this).val()})).toArray().join(",")}(d),"html"].filter((function(d){return d&&0!==d.trim().length}));return b.replace(/\.html$/,"."+x.join("."))}(d),x=(d.find('[data-role="slides-container"]'),new Date);d.addClass("loading"),function(d){d.find('[data-role="slider-slide"] > *').css({transitionDelay:""}).addClass("faded")}(d),function(d){d.find('[data-role="news-filter"]').find("input, button").prop("disabled",!0)}(d),function(d){var b=$.Deferred();return $.ajax({accepts:"text/html",dataType:"html",type:"GET",url:d}).done((function(d,x,T){b.resolve(d,!0)})).fail((function(d,x,T){b.resolve(d.responseText,!1)})),b.promise()}(b).then((function(b,T){var z=new Date,H=Math.max(1,1250-(z.getTime()-x.getTime()));window.setTimeout((function(){d.removeClass("loading"),function(d){d.find('[data-role="news-filter"]').find("input, button").prop("disabled",!1)}(d),function(d,b){var x,T=d.find('[data-role="slides-container"]'),z=$("<div></div>").html(b);D(z);var H=z.find('[data-role="slider-slide"]');d.data("slider")?(d.data("slider").removeAllSlides(),x="disappeared-x"):(T.empty(),x="disappeared-y"),H.each((function(b){$(this).find("> *").css({transitionDelay:100+150*b+"ms"}).addClass(x),d.data("slider")?d.data("slider").appendSlide($(this)[0].outerHTML):T.append($(this)[0].outerHTML),window.setTimeout((function(){d.find('[data-role="slider-slide"] > *').removeClass(x)}),10)}))}(d,b)}),H)}))},D=function(d,b){var T=d.find(".swiper-wrapper"),D=T.find(".teaser-panel").clone(!0),z=b*function(d,b){for(var x in b.breakpoints)if(App.matchesScreenDimensions(x)
854)return b.breakpoints[x][d]||b.default[d];return b.default[d]}("itemsPerRow",x),H=Math.max(0,Math.ceil(D.length/z)-1);T.empty();for(var W=0;W<=H;W++)T.append($('<div class="swiper-slide" data-role="slider-slide"></div>').append(D.slice(W*z,W*z+z)))},z=function(d){d.length&&(d.find(".swiper-slide-visible").find(".teaser-panel__body-action").attr("tabindex","0"),d.find(".swiper-slide").not(".swiper-slide-visible").find("a").attr("tabindex","-1"))},H=function(d){d.find(".swiper-wrapper").find("> *:not(.swiper-slide)").each((function(){$(this).wrap('<div class="swiper-slide" data-role="slider-slide"></div>')})),App.env.isEditMode()&&App.env.isIframe()||(d.find(".swiper-container").length>0&&function(d){var b,x,T=d.find('[data-role="slides-container"]'),H=parseInt(d.attr("data-rows-per-page"),10)||1,W=App.matchesScreenDimensions("max:sm"),U={};0!==d.find(".pagination").length?(W&&d.find(".pagination").addClass("pagination--dynamic"),b={el:d.find(".pagination")[0],type:"bullets",clickable:!0,dynamicBullets:W,dynamicMainBullets:1,bulletClass:"pagination__item",bulletActiveClass:"active",renderBullet:function(d,b){return'<span class="'+b+'">'+(d+1)+"</span>"}},x={},D(d,H)):(U[App.breakpoints.max.xs]={slidesPerView:1.2,spaceBetween:15},U[App.breakpoints.max.sm]={slidesPerView:2,spaceBetween:20},U[App.breakpoints.max.md]={slidesPerView:App.env.isNarrowLayout()?2:3},x={slidesPerView:3,spaceBetween:30,slidesPerColumn:H});var Y=new window.Swiper(d.find(".swiper-container")[0],$.extend(x,{init:!1,freeMode:!b,freeModeSticky:!b,autoHeight:!!b,breakpoints:U,pagination:b||{},watchSlidesVisibility:!0,navigation:{nextEl:d.find('[data-action="slide-to-next"]')[0],prevEl:d.find('[data-action="slide-to-previous"]')[0]}}));Y.on("init resize",(function(b){this.slides.length<=this.params.slidesPerView*this.params.slidesPerColumn?($(this.navigation.prevEl).hide(),$(this.navigation.nextEl).hide(),d.find('[data-role="slider-controls"]').hide()):($(this.navigation.prevEl).show(),$(this.navigation.nextEl).show(),d.find('[data-role="slider-controls"]').show());var x=T.parents(".container").first();if(x.length){var D=0;this.slides.each((function(){D+=$(this).outerWidth(!0)})),D+parseInt(x.css("marginLeft"))<window.innerWidth?($(this.navigation.prevEl).hide(),$(this.navigation.nextEl).hide()):($(this.navigation.prevEl).show(),$(this.navigation.nextEl).show())}})),Y.on("init resize fromEdge reachBeginning reachEnd",(function(d){$(this.navigation.prevEl).css({visibility:this.isBeginning?"hidden":""}).prop("disabled",this.isBeginning),$(this.navigation.nextEl).css({visibility:this.isEnd?"hidden":""}).prop("disabled",this.isEnd)})),b&&Y.on("resize",(function(){D(d,H),this.update()})),Y.init(),z(T),Y.on("slideChange",(function(d){z(T)})),$(window).on("load",(function(){Y.update()})),d.on("lazybeforeunveil","img",(function onLazyBeforeUnveil(){d.off("lazybeforeunveil","img",onLazyBeforeUnveil),Y.update()})),d.data("slider",Y)}(d),d.on("click",'[data-action="toggle-tag-filter"]',(function(b){T(d)})))},{init:function(){$('[data-module~="news-slider"]').each((function(){H($(this))}))}})},"vPd/":function(d,b,x){var T=x("kCCV"),D=x("IX3V").each;function MediaQuery(d,b){this.query=d,this.isUnconditional=b,this.handlers=[],this.mql=window.matchMedia(d);var x=this;this.listener=function(d){x.mql=d.currentTarget||d,x.assess()},this.mql.addListener(this.listener)}MediaQuery.prototype={constuctor:MediaQuery,addHandler:function(d){var b=new T(d);this.handlers.push(b),this.matches()&&b.on()},removeHandler:function(d){var b=this.handlers;D(b,(function(x,T){if(x.equals(d))return x.destroy(),!b.splice(T,1)}))},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){D(this.handlers,(function(d){d.destroy()})),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var d=this.matches()?"on":"off";D(this.handlers,(function(b){b[d]()}))}},d.exports=MediaQuery},vSUW:function(d,b,x){"use strict";function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}var T=x("/RMt"),D=x("vgOX"),z=x("4+NP"),H=x("oQEw");d.exports=function(d){if(d&&"object"===_typeof(d)){if(T(d))return"Map";if(D(d))return"Set";if(z(d))return"WeakMap";if(H(d))return"WeakSet"}return!1}},vXaL:function(d,b){var x;window.App=window.App||{},App.ContentTeaserTags=(x=function(d){var b=function(d){var b=d.attr("data-teasers-url"),x=[function(d){return d.find('[data-action="toggle-tag-filter"]:checked').map((function(){return $(this).val()})).toArray().join(",")}(d),"html"].filter((function(d){return d&&0!==d.trim().length}));return b.replace(/\.html$/,"."+x.join("."))}(d),x=(d.find('[data-role="teaser-tiles-container"]'),new Date);d.addClass("loading"),function(d){d.find('[data-role="teaser-tiles-container"]').find('[data-role="grid-item"]').remove()}(d),function(d){var b=d.find('[data-action="toggle-tag-filter"]').map((function(){return $(this).is(":checked")})).toArray().reduce((function(d,b){return d&&b}),!0);d.find('[data-action="reset-filter"]').toggle(!b)}(d),function(d){d.find('[data-role="teasers-filter"]').find("input, button").prop("disabled",!0)}(d),function(d){var b=$.Deferred();return $.ajax({accepts:"text/html",dataType:"html",type:"GET",url:d}).done((function(d,x,T){b.resolve(d,!0)})).fail((function(d,x,T){b.resolve(d.responseText,!1)})),b.promise()}(b).then((function(b,T){var D=new Date,z=Math.max(1,1250-(D.getTime()-x.getTime()));window.setTimeout((function(){d.removeClass("loading"),function(d){d.find('[data-role="teasers-filter"]').find("input, button").prop("disabled",!1)}(d),function(d,b){var x=d.find('[data-role="teaser-tiles-container"]'),T=$(b);T.filter('[data-role="grid-item"]').each((function(d){$(this).css({transitionDelay:100*d+"ms"}).addClass("disappeared")})),x.prepend(T),App.EmbeddedVideo.init(x),window.setTimeout((function(){T.filter('[data-role="grid-item"]').removeClass("disappeared")}),100)}
854(d,b),App.BackgroundPicture.refresh()}),z)}))},{init:function(){$('[data-module~="content-teaser-tags"]').each((function(){var d=$(this);d.on("click",'[data-action="toggle-tag-filter"]',(function(b){x(d)})),d.on("click",'[data-action="reset-filter"]',(function(b){b.preventDefault(),function(d){d.find('[data-action="toggle-tag-filter"]').each((function(){$(this).prop("checked",!0)})),x(d)}(d)}))}))}})},vaOV:function(d,b,x){"use strict";function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}var T=x("Zesl"),D=SyntaxError,z="object"===("undefined"==typeof StopIteration?"undefined":_typeof(StopIteration))?StopIteration:null;d.exports=function(d){if(!z)throw new D("this environment lacks StopIteration");T.set(d,"[[Done]]",!1);var b={next:function(){var d=T.get(this,"[[Iterator]]"),b=T.get(d,"[[Done]]");try{return{done:b,value:b?void 0:d.next()}}catch(b){if(T.set(d,"[[Done]]",!0),b!==z)throw b;return{done:!0,value:void 0}}}};return T.set(b,"[[Iterator]]",d),b}},vgOX:function(d,b,x){"use strict";function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}var T,D="function"==typeof Map&&Map.prototype?Map:null,z="function"==typeof Set&&Set.prototype?Set:null;z||(T=function(d){return!1});var H=D?Map.prototype.has:null,W=z?Set.prototype.has:null;T||W||(T=function(d){return!1}),d.exports=T||function(d){if(!d||"object"!==_typeof(d))return!1;try{if(W.call(d),H)try{H.call(d)}catch(d){return!0}return d instanceof z}catch(d){}return!1}},vsUU:function(d,b){window.App=window.App||{},App.TextareaCharCounter={init:function(){$('[data-module~="char-counter"]').each((function(){var d=$(this),b=$(this).find("textarea"),x=$(this).find('[data-role="char-counter-label"]'),T=d.attr("data-template");b.on("input focus blur change",(function(){var d=this.value,b=$(this).attr("maxlength");0===d.length?x.text(""):x.text(T.replace("{0}",b-d.length))}))}))}}},wCSH:function(d,b,x){"use strict";x.r(b);var ResizableIFrame=function(d){this.$element=d,this.$element.iFrameResize({log:!0})};b.default=ResizableIFrame},wVpn:function(d,b,x){"use strict";var T=x("WDQk"),D=x("amqe");d.exports=function(){var d=T();return D(Object,{is:d},{is:function(){return Object.is!==d}}),d}},wZXL:function(d,b,x){var T=x("vPd/"),D=x("IX3V"),z=D.each,H=D.isFunction,W=D.isArray;function MediaQueryDispatch(){if(!window.matchMedia)throw new Error("matchMedia n
854ot present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}MediaQueryDispatch.prototype={constructor:MediaQueryDispatch,register:function(d,b,x){var D=this.queries,U=x&&this.browserIsIncapable;return D[d]||(D[d]=new T(d,U)),H(b)&&(b={match:b}),W(b)||(b=[b]),z(b,(function(b){H(b)&&(b={match:b}),D[d].addHandler(b)})),this},unregister:function(d,b){var x=this.queries[d];return x&&(b?x.removeHandler(b):(x.clear(),delete this.queries[d])),this}},d.exports=MediaQueryDispatch},"weX+":function(d,b){window.App=window.App||{},App.ImageCopyright={init:function(){$(".image-source").each((function(){this.addEventListener("touchstart",(function(d){var b=$(d.target).parents(".image-source");b.length&&(d.preventDefault(),d.stopPropagation(),b.toggleClass("image-source--active"))}),{passive:!1})}))}}},xG9w:function(d,b,x){"use strict";var T={};x.r(T),x.d(T,"VERSION",(function(){return D.e})),x.d(T,"restArguments",(function(){return restArguments})),x.d(T,"isObject",(function(){return isObject})),x.d(T,"isNull",(function(){return isNull})),x.d(T,"isUndefined",(function(){return isUndefined})),x.d(T,"isBoolean",(function(){return isBoolean})),x.d(T,"isElement",(function(){return isElement})),x.d(T,"isString",(function(){return z})),x.d(T,"isNumber",(function(){return H})),x.d(T,"isDate",(function(){return W})),x.d(T,"isRegExp",(function(){return U})),x.d(T,"isError",(function(){return Y})),x.d(T,"isSymbol",(function(){return Z})),x.d(T,"isArrayBuffer",(function(){return J})),x.d(T,"isDataView",(function(){return ce})),x.d(T,"isArray",(function(){return de})),x.d(T,"isFunction",(function(){return ne})),x.d(T,"isArguments",(function(){return pe})),x.d(T,"isFinite",(function(){return isFinite_isFinite})),x.d(T,"isNaN",(function(){return isNaN_isNaN})),x.d(T,"isTypedArray",(function(){return ye})),x.d(T,"isEmpty",(function(){return isEmpty})),x.d(T,"isMatch",(function(){return isMatch})),x.d(T,"isEqual",(function(){return isEqual})),x.d(T,"isMap",(function(){return ke})),x.d(T,"isWeakMap",(function(){return Pe})),x.d(T,"isSet",(function(){return Ee})),x.d(T,"isWeakSet",(function(){return Le})),x.d(T,"keys",(function(){return keys_keys})),x.d(T,"allKeys",(function(){return allKeys})),x.d(T,"values",(function(){return values_values})),x.d(T,"pairs",(function(){return pairs_pairs})),x.d(T,"invert",(function(){return invert})),x.d(T,"functions",(function(){return functions})),x.d(T,"methods",(function(){return functions})),x.d(T,"extend",(function(){return Ne})),x.d(T,"extendOwn",(function(){return Ve})),x.d(T,"assign",(function(){return Ve})),x.d(T,"defaults",(function(){return Fe})),x.d(T,"create",(function(){return create})),x.d(T,"clone",(function(){return clone})),x.d(T,"tap",(function(){return tap})),x.d(T,"get",(function(){return get})),x.d(T,"has",(function(){return has_has})),x.d(T,"mapObject",(function(){return mapObject})),x.d(T,"identity",(function(){return identity})),x.d(T,"constant",(function(){return constant})),x.d(T,"noop",(function(){return noop})),x.d(T,"toPath",(function(){return toPath})),x.d(T,"property",(function(){return property})),x.d(T,"propertyOf",(function(){return propertyOf})),x.d(T,"matcher",(function(){return matcher_matcher})),x.d(T,"matches",(function(){return matcher_matcher})),x.d(T,"times",(function(){return times})),x.d(T,"random",(function(){return random})),x.d(T,"now",(function(){return Ge})),x.d(T,"escape",(function(){return Xe})),x.d(T,"unescape",(function(){return Ke})),x.d(T,"templateSettings",(function(){return Qe})),x.d(T,"template",(function(){return template_template})),x.d(T,"result",(function(){return result_result})),x.d(T,"uniqueId",(function(){return uniqueId})),x.d(T,"chain",(function(){return chain})),x.d(T,"iteratee",(function(){return iteratee_iteratee})),x.d(T,"partial",(function(){return ht})),x.d(T,"bind",(function(){return pt})),x.d(T,"bindAll",(function(){return yt})),x.d(T,"memoize",(function(){return memoize_memoize})),x.d(T,"delay",(function(){return vt})),x.d(T,"defer",(function(){return wt})),x.d(T,"throttle",(function(){return throttle})),x.d(T,"debounce",(function(){return debounce})),x.d(T,"wrap",(function(){return wrap})),x.d(T,"negate",(function(){return negate})),x.d(T,"compose",(function(){return compose})),x.d(T,"after",(function(){return after})),x.d(T,"before",(function(){return before})),x.d(T,"once",(function(){return St})),x.d(T,"findKey",(function(){return findKey})),x.d(T,"findIndex",(function(){return Mt})),x.d(T,"findLastIndex",(function(){return kt})),x.d(T,"sortedIndex",(function(){return sortedIndex_sortedIndex})),x.d(T,"indexOf",(function(){return It})),x.d(T,"lastIndexOf",(function(){return Dt})),x.d(T,"find",(function(){return find})),x.d(T,"detect",(function(){return find})),x.d(T,"findWhere",(function(){return findWhere})),x.d(T,"each",(function(){return each})),x.d(T,"forEach",(function(){return each})),x.d(T,"map",(function(){return map_map})),x.d(T,"collect",(function(){return map_map})),x.d(T,"reduce",(function(){return Lt})),x.d(T,"foldl",(function(){return Lt})),x.d(T,"inject",(function(){return Lt})),x.d(T,"reduceRight",(function(){return Rt})),x.d(T,"foldr",(function(){return Rt})),x.d(T,"filter",(function(){return filter})),x.d(T,"select",(function(){return filter})),x.d(T,"reject",(function(){return reject})),x.d(T,"every",(function(){return every})),x.d(T,"all",(function(){return every})),x.d(T,"some",(function(){return some})),x.d(T,"any",(function(){return some})),x.d(T,"contains",(function(){return contains})),x.d(T,"includes",(function(){return contains})),x.d(T,"include",(function(){return contains})),x.d(T,"invoke",(function(){return jt})),x.d(T,"pluck",(function(){return pluck})),x.d(T,"where",(function(){return where})),x.d(T,"max",(function(){return max})),x.d(T,"min",(function(){return min})),x.d(T,"shuffle",(function(){return shuffle})),x.d(T,"sample",(function(){return sample_sample})),x.d(T,"sortBy",(function(){return sortBy})),x.d(T,"groupBy",(function(){return ln})),x.d(T,"indexBy",(function(){return vn})),x.d(T,"countBy",(function(){return bn}
vendor: 4,562 bytes, line 854
854)),x.d(T,"partition",(function(){return _n})),x.d(T,"toArray",(function(){return toArray})),x.d(T,"size",(function(){return size})),x.d(T,"pick",(function(){return Sn})),x.d(T,"omit",(function(){return Cn})),x.d(T,"first",(function(){return first})),x.d(T,"head",(function(){return first})),x.d(T,"take",(function(){return first})),x.d(T,"initial",(function(){return initial_initial})),x.d(T,"last",(function(){return last_last})),x.d(T,"rest",(function(){return rest_rest})),x.d(T,"tail",(function(){return rest_rest})),x.d(T,"drop",(function(){return rest_rest})),x.d(T,"compact",(function(){return compact})),x.d(T,"flatten",(function(){return flatten_flatten})),x.d(T,"without",(function(){return Pn})),x.d(T,"uniq",(function(){return uniq})),x.d(T,"unique",(function(){return uniq})),x.d(T,"union",(function(){return On})),x.d(T,"intersection",(function(){return intersection})),x.d(T,"difference",(function(){return An})),x.d(T,"unzip",(function(){return unzip})),x.d(T,"transpose",(function(){return unzip})),x.d(T,"zip",(function(){return In})),x.d(T,"object",(function(){return object_object})),x.d(T,"range",(function(){return range})),x.d(T,"chunk",(function(){return chunk})),x.d(T,"mixin",(function(){return mixin})),x.d(T,"default",(function(){return Dn}));var D=x("L0c3");function restArguments(d,b){return b=null==b?d.length-1:+b,function(){for(var x=Math.max(arguments.length-b,0),T=Array(x),D=0;D<x;D++)T[D]=arguments[D+b];switch(b){case 0:return d.call(this,T);case 1:return d.call(this,arguments[0],T);case 2:return d.call(this,arguments[0],arguments[1],T)}var z=Array(b+1);for(D=0;D<b;D++)z[D]=arguments[D];return z[b]=T,d.apply(this,z)}}function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}function isObject(d){var b=_typeof(d);return"function"===b||"object"===b&&!!d}function isNull(d){return null===d}function isUndefined(d){return void 0===d}function isBoolean(d){return!0===d||!1===d||"[object Boolean]"===D.t.call(d)}function isElement(d){return!(!d||1!==d.nodeType)}function tagTester(d){var b="[object "+d+"]";return function(d){return D.t.call(d)===b}}var z=tagTester("String"),H=tagTester("Number"),W=tagTester("Date"),U=tagTester("RegExp"),Y=tagTester("Error"),Z=tagTester("Symbol"),J=tagTester("ArrayBuffer");function isFunction_typeof(d){return(isFunction_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}var ee=tagTester("Function"),te=D.p.document&&D.p.document.childNodes;"object"!=("undefined"==typeof Int8Array?"undefined":isFunction_typeof(Int8Array))&&"function"!=typeof te&&(ee=function(d){return"function"==typeof d||!1});var ne=ee,ie=tagTester("Object"),oe=D.s&&(!/\[native code\]/.test(String(DataView))||ie(new DataView(new ArrayBuffer(8)))),se="undefined"!=typeof Map&&ie(new Map),le=tagTester("DataView");var ce=oe?function(d){return null!=d&&ne(d.getInt8)&&J(d.buffer)}:le,de=D.k||tagTester("Array");function has(d,b){return null!=d&&D.i.call(d,b)}var he=tagTester("Arguments");!function(){he(arguments)||(he=function(d){return has(d,"callee")})}();var pe=he;function isFinite_isFinite(d){return!Z(d)&&Object(D.f)(d)&&!isNaN(parseFloat(d))}function isNaN_isNaN(d){return H(d)&&Object(D.g)(d)}function constant(d){return function(){return d}}function createSizePropertyCheck(d){return function(b){var x=d(b);return"number"==typeof x&&x>=0&&x<=D.b}}function shallowProperty(d){return function(b){return null==b?void 0:b[d]}}var fe=shallowProperty("byteLength"),ge=createSizePropertyCheck(fe),me=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;var ye=D.r?function(d){return D.l?Object(D.l)(d)&&!ce(d):ge(d)&&me.test(D.t.call(d))}:constant(!1),ve=shallowProperty("length");function collectNonEnumProps(d,b){b=function(d){for(var b={},x=d.length,T=0;T<x;++T)b[d[T]]=!0;return{contains:function(d){return!0===b[d]},push:function(x){return b[x]=!0,d.push(x)}}}(b);var x=D.n.length,T=d.constructor,z=ne(T)&&T.prototype||D.c,H="constructor";for(has(d,H)&&!b.contains(H)&&b.push(H);x--;)(H=D.n[x])in d&&d[H]!==z[H]&&!b.contains(H)&&b.push(H)}function keys_keys(d){if(!isObject(d))return[];if(D.m)return Object(D.m)(d);var b=[];for(var x in d)has(d,x)&&b.push(x);return D.h&&collectNonEnumProps(d,b),b}function isEmpty(d){if(null==d)return!0;
vendor: 4,442 bytes, line 854
854var b=ve(d);return"number"==typeof b&&(de(d)||z(d)||pe(d))?0===b:0===ve(keys_keys(d))}function isMatch(d,b){var x=keys_keys(b),T=x.length;if(null==d)return!T;for(var D=Object(d),z=0;z<T;z++){var H=x[z];if(b[H]!==D[H]||!(H in D))return!1}return!0}function _(d){return d instanceof _?d:this instanceof _?void(this._wrapped=d):new _(d)}function toBufferView(d){return new Uint8Array(d.buffer||d,d.byteOffset||0,fe(d))}function isEqual_typeof(d){return(isEqual_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}_.VERSION=D.e,_.prototype.value=function(){return this._wrapped},_.prototype.valueOf=_.prototype.toJSON=_.prototype.value,_.prototype.toString=function(){return String(this._wrapped)};function isEqual(d,b){for(var x=[{a:d,b:b}],T=[],z=[];x.length;){var H=x.pop();if(!0!==H){if((d=H.a)===(b=H.b)){if(0!==d||1/d==1/b)continue;return!1}if(null==d||null==b)return!1;if(d!=d){if(b!=b)continue;return!1}var W=isEqual_typeof(d);if("function"!==W&&"object"!==W&&"object"!=isEqual_typeof(b))return!1;d instanceof _&&(d=d._wrapped),b instanceof _&&(b=b._wrapped);var U=D.t.call(d);if(U!==D.t.call(b))return!1;if(oe&&"[object Object]"==U&&ce(d)){if(!ce(b))return!1;U="[object DataView]"}switch(U){case"[object RegExp]":case"[object String]":if(""+d==""+b)continue;return!1;case"[object Number]":x.push({a:+d,b:+b});continue;case"[object Date]":case"[object Boolean]":if(+d==+b)continue;return!1;case"[object Symbol]":if(D.d.valueOf.call(d)===D.d.valueOf.call(b))continue;return!1;case"[object ArrayBuffer]":case"[object DataView]":x.push({a:toBufferView(d),b:toBufferView(b)});continue}var Y="[object Array]"===U;if(!Y&&ye(d)){if(fe(d)!==fe(b))return!1;if(d.buffer===b.buffer&&d.byteOffset===b.byteOffset)continue;Y=!0}if(!Y){if("object"!=isEqual_typeof(d)||"object"!=isEqual_typeof(b))return!1;var Z=d.constructor,J=b.constructor;if(Z!==J&&!(ne(Z)&&Z instanceof Z&&ne(J)&&J instanceof J)&&"constructor"in d&&"constructor"in b)return!1}for(var ee=T.length;ee--;)if(T[ee]===d){if(z[ee]===b)break;return!1}if(!(ee>=0))if(T.push(d),z.push(b),x.push(!0),Y){if((ee=d.length)!==b.length)return!1;for(;ee--;)x.push({a:d[ee],b:b[ee]})}else{var te,ie=keys_keys(d);if(ee=ie.length,keys_keys(b).length!==ee)return!1;for(;ee--;){if(!has(b,te=ie[ee]))return!1;x.push({a:d[te],b:b[te]})}}}else T.pop(),z.pop()}return!0}function allKeys(d){if(!isObject(d))return[];var b=[];for(var x in d)b.push(x);return D.h&&collectNonEnumProps(d,b),b}function ie11fingerprint(d){var b=ve(d);return function(x){if(null==x)return!1;var T=allKeys(x);if(ve(T))return!1;for(var D=0;D<b;D++)if(!ne(x[d[D]]))return!1;return d!==Me||!ne(x[xe])}}var xe="forEach",_e=["clear","delete"],we=["get","has","set"],Se=_e.concat(xe,we),Me=_e.concat(we),Te=["add"].concat(_e,xe,"has"),ke=se?ie11fingerprint(Se):tagTester("Map"),Pe=se?ie11fingerprint(Me):tagTester("WeakMap"),Ee=se?ie11fingerprint(Te):tagTester("Set"),Le=tagTester("WeakSet");function values_values(d){for(var b=keys_keys(d),x=b.length,T=Array(x),D=0;D<x;D++)T[D]=d[b[D]];return T}function pairs_pairs(d){for(var b=keys_keys(d),x=b.length,T=Array(x),D=0;D<x;D++)T[D]=[b[D],d[b[D]]];return T}function invert(d){for(var b={},x=keys_keys(d),T=0,D=x.length;T<D;T++)b[d[x[T]]]=x[T];return b}function functions(d){var b=[];for(var x in d)ne(d[x])&&b.push(x);return b.sort()}function createAssigner(d,b){return function(x){var T=arguments.length;if(b&&(x=Object(x)),T<2||null==x)return x;for(var D=1;D<T;D++)for(var z=arguments[D],H=d(z),W=H.length,U=0;U<W;U++){var Y=H[U];b&&void 0!==x[Y]||(x[Y]=z[Y])}return x}}var Ne=createAssigner(allKeys),Ve=createAssigner(keys_keys),Fe=createAssigner(allKeys,!0);function baseCreate(d){if(!isObject(d))return{};if(D.j)return Object(D.j)(d);var Ctor=function(){};Ctor.prototype=d;var b=new Ctor;return Ctor.prototype=null,b}function create(d,b){var x=baseCreate(d);return b&&Ve(x,b),x}function clone(d){return isObject(d)?de(d)?d.slice():Ne({},d):d}function tap(d,b){return b(d),d}function toPath(d){return de(d)?d:[d]}function _toPath_toPath(d){return _.toPath(d)}function deepGet(d,b){for(var x=b.length,T=0;T<x;T++){if(null==d)return;d=d[b[T]]}return x?d:void 0}function get(d,b,x){var T=deepGet(d,_toPath_toPath(b));return isUndefined(T)?x:T}function has_has(d,b){for(var x=(b=_toPath_toPath(b)).length,T=0;T<x;T++){var D=b[T];
vendor: 7,088 bytes, line 854
854if(!has(d,D))return!1;d=d[D]}return!!x}function identity(d){return d}function matcher_matcher(d){return d=Ve({},d),function(b){return isMatch(b,d)}}function property(d){return d=_toPath_toPath(d),function(b){return deepGet(b,d)}}function optimizeCb(d,b,x){if(void 0===b)return d;switch(null==x?3:x){case 1:return function(x){return d.call(b,x)};case 3:return function(x,T,D){return d.call(b,x,T,D)};case 4:return function(x,T,D,z){return d.call(b,x,T,D,z)}}return function(){return d.apply(b,arguments)}}function baseIteratee(d,b,x){return null==d?identity:ne(d)?optimizeCb(d,b,x):isObject(d)&&!de(d)?matcher_matcher(d):property(d)}function iteratee_iteratee(d,b){return baseIteratee(d,b,1/0)}function cb(d,b,x){return _.iteratee!==iteratee_iteratee?_.iteratee(d,b):baseIteratee(d,b,x)}function mapObject(d,b,x){b=cb(b,x);for(var T=keys_keys(d),D=T.length,z={},H=0;H<D;H++){var W=T[H];z[W]=b(d[W],W,d)}return z}function noop(){}function propertyOf(d){return null==d?noop:function(b){return get(d,b)}}function times(d,b,x){var T=Array(Math.max(0,d));b=optimizeCb(b,x,1);for(var D=0;D<d;D++)T[D]=b(D);return T}function random(d,b){return null==b&&(b=d,d=0),d+Math.floor(Math.random()*(b-d+1))}_.toPath=toPath,_.iteratee=iteratee_iteratee;var Ge=Date.now||function(){return(new Date).getTime()};function createEscaper(d){var escaper=function(b){return d[b]},b="(?:"+keys_keys(d).join("|")+")",x=RegExp(b),T=RegExp(b,"g");return function(d){return d=null==d?"":""+d,x.test(d)?d.replace(T,escaper):d}}var Ye={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},Xe=createEscaper(Ye),Ke=createEscaper(invert(Ye)),Qe=_.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},et=/(.)^/,tt={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},nt=/\\|'|\r|\n|\u2028|\u2029/g;function escapeChar(d){return"\\"+tt[d]}var ot=/^\s*(\w|\$)+\s*$/;function template_template(d,b,x){!b&&x&&(b=x),b=Fe({},b,_.templateSettings);var T=RegExp([(b.escape||et).source,(b.interpolate||et).source,(b.evaluate||et).source].join("|")+"|$","g"),D=0,z="__p+='";d.replace(T,(function(b,x,T,H,W){return z+=d.slice(D,W).replace(nt,escapeChar),D=W+b.length,x?z+="'+\n((__t=("+x+"))==null?'':_.escape(__t))+\n'":T?z+="'+\n((__t=("+T+"))==null?'':__t)+\n'":H&&(z+="';\n"+H+"\n__p+='"),b})),z+="';\n";var H,W=b.variable;if(W){if(!ot.test(W))throw new Error("variable is not a bare identifier: "+W)}else z="with(obj||{}){\n"+z+"}\n",W="obj";z="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+z+"return __p;\n";try{H=new Function(W,"_",z)}catch(d){throw d.source=z,d}var template=function(d){return H.call(this,d,_)};return template.source="function("+W+"){\n"+z+"}",template}function result_result(d,b,x){var T=(b=_toPath_toPath(b)).length;if(!T)return ne(x)?x.call(d):x;for(var D=0;D<T;D++){var z=null==d?void 0:d[b[D]];void 0===z&&(z=x,D=T),d=ne(z)?z.call(d):z}return d}var lt=0;function uniqueId(d){var b=++lt+"";return d?d+b:b}function chain(d){var b=_(d);return b._chain=!0,b}function executeBound(d,b,x,T,D){if(!(T instanceof b))return d.apply(x,D);var z=baseCreate(d.prototype),H=d.apply(z,D);return isObject(H)?H:z}var ut=restArguments((function(d,b){var x=ut.placeholder;return function bound(){for(var T=0,D=b.length,z=Array(D),H=0;H<D;H++)z[H]=b[H]===x?arguments[T++]:b[H];for(;T<arguments.length;)z.push(arguments[T++]);return executeBound(d,bound,this,this,z)}}));ut.placeholder=_;var ht=ut,pt=restArguments((function(d,b,x){if(!ne(d))throw new TypeError("Bind must be called on a function");var T=restArguments((function(D){return executeBound(d,T,b,this,x.concat(D))}));return T})),gt=createSizePropertyCheck(ve);function flatten(d,b,x){b||0===b||(b=1/0);for(var T=[],D=0,z=0,H=ve(d)||0,W=[];;)if(z>=H){if(!W.length)break;var U=W.pop();z=U.i,d=U.v,H=ve(d)}else{var Y=d[z++];W.length>=b?T[D++]=Y:gt(Y)&&(de(Y)||pe(Y))?(W.push({i:z,v:d}),z=0,H=ve(d=Y)):x||(T[D++]=Y)}return T}var yt=restArguments((function(d,b){var x=(b=flatten(b,!1,!1)).length;if(x<1)throw new Error("bindAll must be passed function names");for(;x--;){var T=b[x];d[T]=pt(d[T],d)}return d}));function memoize_memoize(d,b){var x=function memoize(x){var T=memoize.cache,D=""+(b?b.apply(this,arguments):x);return has(T,D)||(T[D]=d.apply(this,arguments)),T[D]};return x.cache={},x}var vt=restArguments((function(d,b,x){return setTimeout((function(){return d.apply(null,x)}),b)})),wt=ht(vt,_,1);function throttle(d,b,x){var T,D,z,H,W=0;x||(x={});var later=function(){W=!1===x.leading?0:Ge(),T=null,H=d.apply(D,z),T||(D=z=null)},throttled=function(){var U=Ge();W||!1!==x.leading||(W=U);var Y=b-(U-W);return D=this,z=arguments,Y<=0||Y>b?(T&&(clearTimeout(T),T=null),W=U,H=d.apply(D,z),T||(D=z=null)):T||!1===x.trailing||(T=setTimeout(later,Y)),H};return throttled.cancel=function(){clearTimeout(T),W=0,T=D=z=null},throttled}function debounce(d,b,x){var T,D,z,H,W,U=function later(){var U=Ge()-D;b>U?T=setTimeout(later,b-U):(T=null,x||(H=d.apply(W,z)),T||(z=W=null))},Y=restArguments((function(Y){return W=this,z=Y,D=Ge(),T||(T=setTimeout(U,b),x&&(H=d.apply(W,z))),H}));return Y.cancel=function(){clearTimeout(T),T=z=W=null},Y}function wrap(d,b){return ht(b,d)}function negate(d){return function(){return!d.apply(this,arguments)}}function compose(){var d=arguments,b=d.length-1;return function(){for(var x=b,T=d[b].apply(this,arguments);x--;)T=d[x].call(this,T);return T}}function after(d,b){return function(){if(--d<1)return b.apply(this,arguments)}}function before(d,b){var x;return function(){return--d>0&&(x=b.apply(this,arguments)),d<=1&&(b=null),x}}var St=ht(before,2);function findKey(d,b,x){b=cb(b,x);for(var T,D=keys_keys(d),z=0,H=D.length;z<H;z++)if(b(d[T=D[z]],T,d))return T}function createPredicateIndexFinder(d){return function(b,x,T){x=cb(x,T);for(var D=ve(b),z=d>0?0:D-1;z>=0&&z<D;z+=d)if(x(b[z],z,b))return z;return-1}}var Mt=createPredicateIndexFinder(1),kt=createPredicateIndexFinder(-1);function sortedIndex_sortedIndex(d,b,x,T){for(var D=(x=cb(x,T,1))(b),z=0,H=ve(d);z<H;){var W=Math.floor((z+H)/2);x(d[W])<D?z=W+1:H=W}return z}function createIndexFinder(d,b,x){return function(T,z,H){var W=0,U=ve(T);if("number"==typeof H)d>0?W=H>=0?H:Math.max(H+U,W):U=H>=0?Math.min(H+1,U):H+U+1;else if(x&&H&&U)return T[H=x(T,z)]===z?H:-1;if(z!=z)return(H=b(D.q.call(T,W,U),isNaN_isNaN))>=0?H+W:-1;for(H=d>0?W:U-1;H>=0&&H<U;H+=d)if(T[H]===z)return H;return-1}}var It=createIndexFinder(1,Mt,sortedIndex_sortedIndex),Dt=createIndexFinder(-1,kt);function find(d,b,x){var T=(gt(d)?Mt:findKey)(d,b,x);if(void 0!==T&&-1!==T)return d[T]}function findWhere(d,b){return find(d,matcher_matcher(b))}function each(d,b,x){var T,D;if(b=optimizeCb(b,x),gt(d))for(T=0,D=d.length;T<D;T++)b(d[T],T,d);else{var z=keys_keys(d);for(T=0,D=z.length;T<D;T++)b(d[z[T]],z[T],d)}return d}function map_map(d,b,x){b=cb(b,x);for(var T=!gt(d)&&keys_keys(d),D=(T||d).length,z=Array(D),H=0;H<D;H++){var W=T?T[H]:H;z[H]=b(d[W],W,d)}return z}function createReduce(d){var reducer=function(b,x,T,D){var z=!gt(b)&&keys_keys(b),H=(z||b).length,W=d>0?0:H-1;
vendor: 1,401 bytes, line 854
854for(D||(T=b[z?z[W]:W],W+=d);W>=0&&W<H;W+=d){var U=z?z[W]:W;T=x(T,b[U],U,b)}return T};return function(d,b,x,T){var D=arguments.length>=3;return reducer(d,optimizeCb(b,T,4),x,D)}}var Lt=createReduce(1),Rt=createReduce(-1);function filter(d,b,x){var T=[];return b=cb(b,x),each(d,(function(d,x,D){b(d,x,D)&&T.push(d)})),T}function reject(d,b,x){return filter(d,negate(cb(b)),x)}function every(d,b,x){b=cb(b,x);for(var T=!gt(d)&&keys_keys(d),D=(T||d).length,z=0;z<D;z++){var H=T?T[z]:z;if(!b(d[H],H,d))return!1}return!0}function some(d,b,x){b=cb(b,x);for(var T=!gt(d)&&keys_keys(d),D=(T||d).length,z=0;z<D;z++){var H=T?T[z]:z;if(b(d[H],H,d))return!0}return!1}function contains(d,b,x,T){return gt(d)||(d=values_values(d)),("number"!=typeof x||T)&&(x=0),It(d,b,x)>=0}var jt=restArguments((function(d,b,x){var T,D;return ne(b)?D=b:(b=_toPath_toPath(b),T=b.slice(0,-1),b=b[b.length-1]),map_map(d,(function(d){var z=D;if(!z){if(T&&T.length&&(d=deepGet(d,T)),null==d)return;z=d[b]}return null==z?z:z.apply(d,x)}))}));function pluck(d,b){return map_map(d,property(b))}function where(d,b){return filter(d,matcher_matcher(b))}function max_typeof(d){return(max_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}function max(d,b,x){var T,D,z=-1/0,H=-1/0;
854if(null==b||"number"==typeof b&&"object"!=max_typeof(d[0])&&null!=d)for(var W=0,U=(d=gt(d)?d:values_values(d)).length;W<U;W++)null!=(T=d[W])&&T>z&&(z=T);else b=cb(b,x),each(d,(function(d,x,T){((D=b(d,x,T))>H||D===-1/0&&z===-1/0)&&(z=d,H=D)}));return z}function min_typeof(d){return(min_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}function min(d,b,x){var T,D,z=1/0,H=1/0;if(null==b||"number"==typeof b&&"object"!=min_typeof(d[0])&&null!=d)for(var W=0,U=(d=gt(d)?d:values_values(d)).length;W<U;W++)null!=(T=d[W])&&T<z&&(z=T);else b=cb(b,x),each(d,(function(d,x,T){((D=b(d,x,T))<H||D===1/0&&z===1/0)&&(z=d,H=D)}));return z}var en=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function toArray(d){return d?de(d)?D.q.call(d):z(d)?d.match(en):gt(d)?map_map(d,identity):values_values(d):[]}function sample_sample(d,b,x){if(null==b||x)return gt(d)||(d=values_values(d)),d[random(d.length-1)];var T=toArray(d),D=ve(T);b=Math.max(Math.min(b,D),0);for(var z=D-1,H=0;H<b;H++){var W=random(H,z),U=T[H];T[H]=T[W],T[W]=U}return T.slice(0,b)}function shuffle(d){return sample_sample(d,1/0)}function sortBy(d,b,x){var T=0;return b=cb(b,x),pluck(map_map(d,(function(d,x,D){return{value:d,index:T++,criteria:b(d,x,D)}})).sort((function(d,b){var x=d.criteria,T=b.criteria;if(x!==T){if(x>T||void 0===x)return 1;if(x<T||void 0===T)return-1}return d.index-b.index})),"value")}function group(d,b){return function(x,T,D){var z=b?[[],[]]:{};return T=cb(T,D),each(x,(function(b,D){var H=T(b,D,x);d(z,b,H)})),z}}var ln=group((function(d,b,x){has(d,x)?d[x].push(b):d[x]=[b]})),vn=group((function(d,b,x){d[x]=b})),bn=group((function(d,b,x){has(d,x)?d[x]++:d[x]=1})),_n=group((function(d,b,x){d[x?0:1].push(b)}),!0);function size(d){return null==d?0:gt(d)?d.length:keys_keys(d).length}function keyInObj(d,b,x){return b in x}var Sn=restArguments((function(d,b){var x={},T=b[0];if(null==d)return x;ne(T)?(b.length>1&&(T=optimizeCb(T,b[1])),b=allKeys(d)):(T=keyInObj,b=flatten(b,!1,!1),d=Object(d));for(var D=0,z=b.length;D<z;D++){var H=b[D],W=d[H];T(W,H,d)&&(x[H]=W)}return x})),Cn=restArguments((function(d,b){var x,T=b[0];return ne(T)?(T=negate(T),b.length>1&&(x=b[1])):(b=map_map(flatten(b,!1,!1),String),T=function(d,x){return!contains(b,x)}),Sn(d,T,x)}));function initial_initial(d,b,x){return D.q.call(d,0,Math.max(0,d.length-(null==b||x?1:b)))}function first(d,b,x){return null==d||d.length<1?null==b||x?void 0:[]:null==b||x?d[0]:initial_initial(d,d.length-b)}function rest_rest(d,b,x){return D.q.call(d,null==b||x?1:b)}function last_last(d,b,x){return null==d||d.length<1?null==b||x?void 0:[]:null==b||x?d[d.length-1]:rest_rest(d,Math.max(0,d.length-b))}function compact(d){return filter(d,Boolean)}function flatten_flatten(d,b){return flatten(d,b,!1)}var An=restArguments((function(d,b){return b=flatten(b,!0,!0),filter(d,(function(d){return!contains(b,d)}))})),Pn=restArguments((function(d,b){return An(d,b)}));function uniq(d,b,x,T){isBoolean(b)||(T=x,x=b,b=!1),null!=x&&(x=cb(x,T));for(var D=[],z=[],H=0,W=ve(d);H<W;H++){var U=d[H],Y=x?x(U,H,d):U;b&&!x?(H&&z===Y||D.push(U),z=Y):x?contains(z,Y)||(z.push(Y),D.push(U)):contains(D,U)||D.push(U)}return D}var On=restArguments((function(d){return uniq(flatten(d,!0,!0))}));function intersection(d){for(var b=[],x=arguments.length,T=0,D=ve(d);T<D;T++){var z=d[T];if(!contains(b,z)){var H;for(H=1;H<x&&contains(arguments[H],z);H++);H===x&&b.push(z)}}return b}function unzip(d){for(var b=d&&max(d,ve).length||0,x=Array(b),T=0;T<b;T++)x[T]=pluck(d,T);return x}var In=restArguments(unzip);function object_object(d,b){for(var x={},T=0,D=ve(d);T<D;T++)b?x[d[T]]=b[T]:x[d[T][0]]=d[T][1];return x}function range(d,b,x){null==b&&(b=d||0,d=0),x||(x=b<d?-1:1);for(var T=Math.max(Math.ceil((b-d)/x),0),D=Array(T),z=0;z<T;z++,d+=x)D[z]=d;return D}function chunk(d,b){if(null==b||b<1)return[];for(var x=[],T=0,z=d.length;T<z;)x.push(D.q.call(d,T,T+=b));return x}function chainResult(d,b){return d._chain?_(b).chain():b}function mixin(d){return each(functions(d),(function(b){var x=_[b]=d[b];_.prototype[b]=function(){var d=[this._wrapped];return D.o.apply(d,arguments),chainResult(this,x.apply(_,d))}})),_}each(["pop","push","reverse","shift","sort","splice","unshift"],(function(d){var b=D.a[d];_.prototype[d]=function(){var x=this._wrapped;return null!=x&&(b.apply(x,arguments),"shift"!==d&&"splice"!==d||0!==x.length||delete x[0]),chainResult(this,x)}})),each(["concat","join","slice"],(function(d){var b=D.a[d];_.prototype[d]=function(){var d=this._wrapped;return null!=d&&(d=b.apply(d,arguments)),chainResult(this,d)}}));var Dn=_,En=mixin(T);En._=En;var Ln=En;x.d(b,"a",(function(){return Ln}))},yLpj:function(d,b){function _typeof(d){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(d)}var x;x=function(){return this}();try{x=x||new Function("return this")()}catch(d){"object"===("undefined"==typeof window?"undefined":_typeof(window))&&(x=window)}d.exports=x},yLpt:function(d,b,x){"use strict";var T=x("FufO");d.exports=function(){return Object.assign?function(){if(!Object.assign)return!1;for(var d="abcdefghijklmnopqrst",b=d.split(""),x={},T=0;T<b.length;++T)x[b[T]]=b[T];var D=Object.assign({},x),z="";for(var H in D)z+=H;return d!==z}()||function(){if(!Object.assign||!Object.preventExtensions)return!1;var d=Object.preventExtensions({1:2});try{Object.assign(d,"xy")}catch(b){return"y"===d[1]}return!1}()?T:Object.assign:T}},zWbz:function(d,b,x){"use strict";x.r(b);var T,D,z,H,W,U,Y,Z,J,ee,te,ne,ie,oe,se,le,ce,de,he,pe,fe,ge,me,ye,ve,xe,_e,we,Se,Me,Te,ke,Pe=x("Xkac");window.App=window.App||{},App.Powerstations=(Z=$('[data-module~="powerstations"]'),J=Z.find('[data-role="type-select"]'),ee=Z.find('[data-role="country-select"]'),te=Z.find('[data-role="region-select"]'),ne=Z.find('[data-role="district-select"]'),ie=Z.find('[data-action="powerstations__toggle-list"]'),oe=Z.find('[data-role="powerstations-list-table"]'),se=Z.find('[data-role="map"]'),le=!1,ce=[],de=[],he=function(){se.toggleClass("powerstations__map-hidden"),Z.find('[data-role="powerstations-map-legend"]').toggleClass("powerstations__map-legend-area--hidden"),Z.find('[data-role="powerstations-map-legend"]').last().toggleClass("powerstations__clear-bottom"),Z.find('[data-role="powerstations-button"]').toggleClass("powerstations__button--small"),Z.find('[data-role="powerstations-btntext-show-list"]').toggleClass("hidden"),Z.find('[data-role="powerstations-btntext-show-map"]').toggleClass("hidden"),Z.find('[data-role="powerstations-list"]').toggleClass("hidden"),Z.find('[data-role="powerstations-map-view-toggle-btn-container"]').toggleClass("powerstations__pull-bottom")},pe=function(d){if(d=void 0!==d&&d,le){var b=Z.attr("data-servlet-path"),x="?"+Z.find('[data-role="filter"]').serialize();$.ajax(b+x).done((function(b){fe(b,d,!0),ge(b)})).fail((function(d){window.alert("Error requesting AJAX")}))}},fe=function(d,b,x){if(xe(),Z.find('[data-role="map-error"]').addClass("hidden"),d.length>0){for(var z=new google.maps.LatLngBounds,H=0;H<d.length;H++){var W=d[H];W&&z.extend(me(W,x).getPosition())}b&&T.fitBounds(z),T.getZoom()>14&&T.setZoom(14)}else T.setZoom(9),T.setCenter(D),Z.find('[data-role="map-error"]').removeClass("hidden")},ge=function(d){oe[0].innerHTML="";for(var b=0;b<d.length;b++)if(d[b]){var x='<tr><td><a href="'+d[b].path+'">'+d[b].title+"</a></td><td>"+d[b].mapTypeLabel+"</td><td>"+d[b].region+"</td></tr>";$(x).appendTo(oe)}},me=function(d,b){var x=new google.maps.Marker({position:new google.maps.LatLng(d.latitude,d.longitude),map:T,clickable:b,zIndex:100,icon:ye(d.mapType)});return b&&x.addListener("click",(function(b){_e(d,b.pixel,x)})),ce.push(x),x},ye=function(d){var b;switch(d){case"wasserkraftwerk":b=z;break;case"heizkraftwerk":b=U;break;case"abwaermeanlagen":case"warmespeicher":b=W;break;case"biomasse":b=H;break;case"photovoltaikanlage":b=Y}return b},ve=function(){Z.find('[data-role="filter"]')[0].reset(),J.val(""),ee.val(""),te.val(""),ne.val(""),J.change(),ee.change(),te.change(),ne.change(),Se(te,""),Se(ne,""),pe(!0),ke()},xe=function(){for(var d=0;d<ce.length;d++)ce[d].setMap(null);ce=[]},_e=function(d,b,x){we();var D=Z.find('[data-role="overlay-template"]').clone();D.removeClass("hidden"),D.find("h4").text(d.title),d.image?D.find("img").attr("src",d.image):(D.find('[data-role="image-container"]').remove(),D.find('[data-role="text-container"]').removeClass("col-xs-9").addClass("col-xs-12")),D.find("a").attr("href",d.path);var z=D.find('[data-role="table-row"]').clone();D.find('[data-role="table-row"]').remove();var H=D.find('[data-role="table"]');$.each(d.tableItems||[],(function(){var d=z.clone();d.find('[data-content="key"]').text(this.key),d.find('[data-content="value"]').text(this.value),H.append(d)}));var W=new google.maps.InfoWindow({content:D.get(0),maxWidth:se.width()-100});W.open(T,x),de.push(W)},we=function(){for(var d=0;d<de.length;d++)de[d].close();de=[]},Se=function(d,b){var x=d.find('option[data-parent="'+b+'"]');x.length>0?(d.parents('[data-role="select-container"]').removeClass("hidden"),d.find("option").addClass("hidden"),d.find("option:first-child").removeClass("hidden"),x.removeClass("hidden"),d.parents('[data-module="select-field"]').find('[data-role="select-list"] [role="option"]:first').trigger("click"),d.trigger("options")):d.parents('[data-role="select-container"]').addClass("hidden")},Me=function(){se.length>0&&$("body").append('<script src="https://maps.googleapis.com/ma
854ps/api/js?v=3.exp&libraries=places&callback=App.Powerstations.initMap&key='+se.data("apikey")+'"><\/script>')},Te=function(){window.sessionStorage.getItem("displayState")&&"null"!==window.sessionStorage.getItem("displayState")&&"list"===window.sessionStorage.getItem("displayState")&&Z.find('[data-role="filter"]').is(":visible")&&he(),window.sessionStorage.getItem("type")&&"null"!==window.sessionStorage.getItem("type")&&(J.val(window.sessionStorage.getItem("type")),J.change()),window.sessionStorage.getItem("country")&&"null"!==window.sessionStorage.getItem("country")&&(ee.val(window.sessionStorage.getItem("country")),ee.change()),window.sessionStorage.getItem("region")&&"null"!==window.sessionStorage.getItem("region")&&""!==window.sessionStorage.getItem("region")&&(te.val(window.sessionStorage.getItem("region")),te.change(),te.parents('[data-role="select-container"]').removeClass("hidden"),window.sessionStorage.getItem("district")&&"null"!==window.sessionStorage.getItem("district")&&""!==window.sessionStorage.getItem("district")&&(ne.val(window.sessionStorage.getItem("district")),ne.change(),ne.parents('[data-role="select-container"]').removeClass("hidden")))},ke=function(){window.sessionStorage.setItem("type",J.val()),window.sessionStorage.setItem("country",ee.val()),window.sessionStorage.setItem("region",te.val()),window.sessionStorage.setItem("district",ne.val())},{init:function(){ee.on("change",(function(){te.parents('[data-module="select-field"]').find('[data-role="select-list"] [role="option"]:first').trigger("click"),ne.parents('[data-module="select-field"]').find('[data-role="select-list"] [role="option"]:first').trigger("click"),Se(te,$(this).val())})),te.on("change",(function(){ne.parents('[data-module="select-field"]').find('[data-role="select-list"] [role="option"]:first').trigger("click"),Se(ne,$(this).val())})),Z.find('[data-role="filter"]').on("change","select",(function(){pe(!0)})),Z.find('[data-action="powerstations__show-all"]').on("click",(function(){ve()})),ie.on("click",(function(){he(),window.sessionStorage.getItem("displayState")&&"map"!==window.sessionStorage.getItem("displayState")?window.sessionStorage.setItem("displayState","map"):window.sessionStorage.setItem("displayState","list")})),$(window).bind("beforeunload",(function(){Z.find('[data-role="filter"]').is(":visible")&&ke()})),Te(),Me()},initMap:function(){if("undefined"==typeof google||!se)return!1;var d={zoom:9,center:D=new google.maps.LatLng(47.5198,12.9902),gestureHandling:"cooperative",mapTypeControl:!1,streetViewControl:!1,mapTypeControlOptions:{mapTypeIds:[google.maps.MapTypeId.ROADMAP,"custom_style"]},mapTypeId:"custom_style"};T=new google.maps.Map(se.get(0),d);var b=new google.maps.StyledMapType(Pe.a.CUSTOM_MAP_STYLE,{name:"WEB18"});if(T.mapTypes.set("custom_style",b),z={url:"/etc.clientlibs/web18/clientlib-site/resources/dist/images/icons/icon_blue_wasserkraft_40x40.svg",scaledSize:new google.maps.Size(40,40)},W={url:"/etc.clientlibs/web18/clientlib-site/resources/dist/images/icons/icon_purple_abwaerme_40x40.svg",scaledSize:new google.maps.Size(40,40)},U={url:"/etc.clientlibs/web18/clientlib-site/resources/dist/images/icons/icon_red_heizkraft_40x40.svg",scaledSize:new google.maps.Size(40,40)},Y={url:"/etc.clientlibs/web18/clientlib-site/resources/dist/images/icons/icon_yellow_photovoltaik_40x40.svg",scaledSize:new google.maps.Size(40,40)},H={url:"/etc.clientlibs/web18/clientlib-site/resources/dist/images/icons/icon_green_oeko_40x40.svg",scaledSize:new google.maps.Size(40,40)},le=!0,"single"===se.attr("data-mode")){var x={mapType:se.attr("data-powerstation-type"),latitude:parseFloat(se.attr("data-powerstation-latitude"),10),longitude:parseFloat(se.attr("data-powerstation-longitude"),10)};T.setCenter({lat:x.latitude,lng:x.longitude}),T.setZoom(20),fe([x],!1,!1)}else pe(!1)}})},zbEo:function(d,b){window.App=window.App||{},App.MultiFileGroup={init:function(){$('[data-module~="multi-file-group"]').each((function(){var d=$(this),b=d.find('[data-action="add-field"]'),x=d.find('[data-role="file-group-item"]:first').clone();d.on("change",'input[type="file"]',(function(){var x=d.find('input[type="file"]').toArray().reduce((function(d,b){return d&&0!==b.value.trim().length}),!0);b.toggleClass("hidden",!x)})),d.on("click",'[data-action="add-field"]',(function(){var b,T,D;d.find('[data-role="file-group-item"]:last').after((T=[(b=x).find('input[type="file"]').attr("id"),(new Date).getTime()].join("-"),(D=b.clone()).find('input[type="file"]').attr("id",T),D.find("label[for]").attr("for",T),D[0].outerHTML)),$(this).addClass("hidden")}))}
854))}}},zdCM:function(d,b){window.App=window.App||{},App.ContentHeader={init:function(){$('[data-module~="content-header"]').each((function(){!function(d){if(App.env.isEditMode()&&App.env.isIframe())d.find('[data-role="slider-slide"]').addClass("animate-in");else if(d.find(".swiper-slide").each((function(){App.FUNCTIONS.isEmpty(this)&&$(this).removeClass("swiper-slide").attr("data-role","slider-slide--empty")})),d.find('[data-role="slider-slide"]').length<=1)d.find('[data-role="slider-slide"]').addClass("animate-in");else{var b=new window.Swiper(d[0],{init:!1,effect:"fade",autoplay:{delay:5e3,disableOnInteraction:!0},pagination:{el:".swiper-pagination",type:"bullets",clickable:!0}});b.on("init slideChangeTransitionEnd",(function(){var b=d.find('[data-role="slider-slide"]');b.eq(this.previousIndex).removeClass("animate-in"),b.eq(this.activeIndex).addClass("animate-in")})),$(window).on("load",(function(){b.update()})),d.on("lazybeforeunveil","img",(function onLazyBeforeUnveil(){d.off("lazybeforeunveil","img",onLazyBeforeUnveil),b.update()})),b.init()}}($(this))}))}}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.