EOX GitLab Instance
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
VS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ESA
PRISM
VS
Commits
aee3669a
Commit
aee3669a
authored
4 years ago
by
Lubomir Dolezal
Browse files
Options
Downloads
Patches
Plain Diff
update client bundle with kml kmz aoi input
parent
a915a37c
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
client/html/ed6090683ac14375de89.worker.js
+1
-1
1 addition, 1 deletion
client/html/ed6090683ac14375de89.worker.js
client/html/prism.js
+190080
-424
190080 additions, 424 deletions
client/html/prism.js
with
190081 additions
and
425 deletions
client/html/ed6090683ac14375de89.worker.js
+
1
−
1
View file @
aee3669a
/*!
* PRISM version: 1.1.0-rc.26
* eoxc version: 1.1.
0
* eoxc version: 1.1.
1
*/
!function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return t[r].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){(function(t){"use strict";function e(e,n){return self.services[e]||(n?self.services[e]=t.resolve((0,s.deserialize)(n)):self.services[e]=(0,s.discover)(e)),self.services[e]}function r(t,n,r,i,o,s,a,c,l,p){var h=o.maxCount,f=o.totalResults,d=o.itemsPerPage;return e(t,a).then(function(t){var e=(0,u.convertFilters)(r,i,o,s,t),a=t.getPaginator(e,{type:s,method:n,baseOffset:o.startIndex,maxUrlLength:c,dropEmptyParameters:l,parseOptions:p,totalResults:f,preferredItemsPerPage:d});return a.searchFirstRecords(h)})}function i(){self.search&&(self.search.cancel(),self.search=null),self.emitter&&(self.emitter.emit("cancel"),self.emitter=null)}var o=function(){function t(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var s,a=t[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&a.return&&a.return()}finally{if(i)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();n(95),n(96);var s=n(61),a=n(147),u=n(52);t.config({cancellation:!0}),(0,s.config)({useXHR:!0}),self.DOMParser=a.DOMParser,self.services={},self.promises={},self.onmessage=function(t){var e=t.data,n=o(e,2),s=n[0],a=n[1];switch(s){case"searchAll":var c=a.url,l=a.method,p=a.filterParams,h=a.mapParams,f=a.options,d=a.format,g=a.description,y=a.maxUrlLength,_=a.dropEmptyParameters,m=a.parseOptions,v=a.switchMultiPolygonCoordinates;self.search=r(c,l,p,h,f,d,g,y,_,m),self.search.then(function(t){self.emitter=t,t.on("page",function(t){return self.postMessage(["progress",Object.assign(t,{records:(0,u.prepareRecords)(t.records,v)})])}).on("success",function(t){return self.postMessage(["success",t])}).on("error",function(t){return self.postMessage(["error",t.toString()])})},function(t){return self.postMessage(["error",t.toString()])});break;case"cancel":i();break;case"terminate":i(),self.close()}}}).call(e,n(4))},function(t,e,n){(function(e,r,i){"use strict";function o(){try{var t=R;return R=null,t.apply(this,arguments)}catch(t){return T.e=t,T}}function s(t){return R=t,o}function a(t){return null==t||t===!0||t===!1||"string"==typeof t||"number"==typeof t}function u(t){return"function"==typeof t||"object"==typeof t&&null!==t}function c(t){return a(t)?new Error(m(t)):t}function l(t,e){var n,r=t.length,i=new Array(r+1);for(n=0;n<r;++n)i[n]=t[n];return i[n]=e,i}function p(t,e,n){if(!O.isES5)return{}.hasOwnProperty.call(t,e)?t[e]:void 0;var r=Object.getOwnPropertyDescriptor(t,e);return null!=r?null==r.get&&null==r.set?r.value:n:void 0}function h(t,e,n){if(a(t))return t;var r={value:n,configurable:!0,enumerable:!1,writable:!0};return O.defineProperty(t,e,r),t}function f(t){throw t}function d(t){try{if("function"==typeof t){var e=O.names(t.prototype),n=O.isES5&&e.length>1,r=e.length>0&&!(1===e.length&&"constructor"===e[0]),i=M.test(t+"")&&O.names(t).length>0;if(n||r||i)return!0}return!1}catch(t){return!1}}function g(t){function e(){}function n(){return typeof r.foo}e.prototype=t;var r=new e;return n(),n(),t}function y(t){return F.test(t)}function _(t,e,n){for(var r=new Array(t),i=0;i<t;++i)r[i]=e+i+n;return r}function m(t){try{return t+""}catch(t){return"[no string representation]"}}function v(t){return t instanceof Error||null!==t&&"object"==typeof t&&"string"==typeof t.message&&"string"==typeof t.name}function b(t){try{h(t,"isOperational",!0)}catch(t){}}function E(t){return null!=t&&(t instanceof Error.__BluebirdErrorTypes__.OperationalError||t.isOperational===!0)}function x(t){return v(t)&&O.propertyIsWritable(t,"stack")}function w(t){return{}.toString.call(t)}function I(t,e,n){for(var r=O.names(t),i=0;i<r.length;++i){var o=r[i];if(n(o))try{O.defineProperty(e,o,O.getDescriptor(t,o))}catch(t){}}}function N(t){return B?r.env[t]:void 0}function C(){if("function"==typeof i)try{var t=new i(function(){});if("[object Promise]"==={}.toString.call(t))return i}catch(t){}}function S(t,e){return t.bind(e)}var O=n(5),P="undefined"==typeof navigator,T={e:{}},R,L="undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof e?e:void 0!==this?this:null,A=function(t,e){function n(){this.constructor=t,this.constructor$=e;for(var n in e.prototype)r.call(e.prototype,n)&&"$"!==n.charAt(n.length-1)&&(this[n+"$"]=e.prototype[n])}var r={}.hasOwnProperty;return n.prototype=e.prototype,t.prototype=new n,t.prototype},D=function(){var t=[Array.prototype,Object.prototype,Function.prototype],e=function(e){for(var n=0;n<t.length;++n)if(t[n]===e)return!0;return!1};if(O.isES5){var n=Object.getOwnPropertyNames;return function(t){for(var r=[],i=Object.create(null);null!=t&&!e(t);){var o;try{o=n(t)}catch(t){return r}for(var s=0;s<o.length;++s){var a=o[s];if(!i[a]){i[a]=!0;var u=Object.getOwnPropertyDescriptor(t,a);null!=u&&null==u.get&&null==u.set&&r.push(a)}}t=O.getPrototypeOf(t)}return r}}var r={}.hasOwnProperty;return function(n){if(e(n))return[];var i=[];t:for(var o in n)if(r.call(n,o))i.push(o);else{for(var s=0;s<t.length;++s)if(r.call(t[s],o))continue t;i.push(o)}return i}}(),M=/this\s*\.\s*\S+\s*=/,F=/^[a-z$_][a-z$_0-9]*$/i,k=function(){return"stack"in new Error?function(t){return x(t)?t:new Error(m(t))}:function(t){if(x(t))return t;try{throw new Error(m(t))}catch(t){return t}}}(),j=function(t){return O.isArray(t)?t:null};if("undefined"!=typeof Symbol&&Symbol.iterator){var G="function"==typeof Array.from?function(t){return Array.from(t)}:function(t){for(var e,n=[],r=t[Symbol.iterator]();!(e=r.next()).done;)n.push(e.value);return n};j=function(t){return O.isArray(t)?t:null!=t&&"function"==typeof t[Symbol.iterator]?G(t):null}}var U="undefined"!=typeof r&&"[object process]"===w(r).toLowerCase(),B="undefined"!=typeof r&&"undefined"!=typeof r.env,q={isClass:d,isIdentifier:y,inheritedDataKeys:D,getDataPropertyOrDefault:p,thrower:f,isArray:O.isArray,asArray:j,notEnumerableProp:h,isPrimitive:a,isObject:u,isError:v,canEvaluate:P,errorObj:T,tryCatch:s,inherits:A,withAppended:l,maybeWrapAsError:c,toFastProperties:g,filledRange:_,toString:m,canAttachTrace:x,ensureErrorObject:k,originatesFromRejection:E,markAsOriginatingFromRejection:b,classString:w,copyDescriptors:I,hasDevTools:"undefined"!=typeof chrome&&chrome&&"function"==typeof chrome.loadTimes,isNode:U,hasEnvVariables:B,env:N,global:L,getNativePromise:C,domainBind:S};q.isRecentNode=q.isNode&&function(){var t;return r.versions&&r.versions.node?t=r.versions.node.split(".").map(Number):r.version&&(t=r.version.split(".").map(Number)),0===t[0]&&t[1]>10||t[0]>0}(),q.isNode&&q.toFastProperties(r);try{throw new Error}catch(t){q.lastLineError=t}t.exports=q}).call(e,function(){return this}(),n(9),n(4))},function(t,e,n){"use strict";function r(t){for(var e=t.indexOf("?")===-1?t:t.substring(t.indexOf("?")),n=e.split("&"),r={},i=0;i<n.length;i++){var o=n[i].split("=");r[decodeURIComponent(o[0])]=decodeURIComponent(o[1])}return r}function i(t){if("undefined"!=typeof DOMParser)return(new DOMParser).parseFromString(t,"text/xml");if("undefined"!=typeof ActiveXObject){var e=new ActiveXObject("Microsoft.XMLDOM");return e.async="false",e.loadXML(t),e}throw new Error("Could not parse XML document.")}function o(t){return t.children?Array.from(t.children):Array.from(t.childNodes).filter(function(t){return 1===t.nodeType})}function s(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:I;if(!t)return[];var i=r[e]||e,s=o(t);return n&&i?s.filter(function(t){return t.localName===n&&t.namespaceURI===i}):n?s.filter(function(t){return t.localName===n}):s}function a(t,e,n,r){if(!e&&!n&&t.firstElementChild)return t.firstElementChild;var i=s(t,e,n,r);return i.length?i[0]:null}function u(t,e,n,r){var i=a(t,e,n,r);return i?i.textContent:null}function c(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:I,o=i[e]||e;return t.hasAttributeNS(o,n)?t.getAttributeNS(o,n):r}function l(t){return t.indexOf(":")!==-1?t.split(":"):[null,t]}function p(t,e){for(var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0,i=e.split("/").filter(function(t){return t.length}),o=n?t:[t],u=0;u<i.length;++u){var p=i[u];if(n){if("text()"===p)return o.textContent;if(p.indexOf("@")!==-1){var h=p.split("@"),f=w(h,2),d=f[0],g=f[1],y=l(d),_=w(y,2),m=_[0],v=_[1],b=l(g),E=w(b,2),I=E[0],N=E[1];return o=a(o,m,v,r),o?c(o,I,N,void 0,r):null}var C=l(p),S=w(C,2),O=S[0],P=S[1];if(o=a(o,O,P,r),!o)return null}else{if("text()"===p)return o.map(function(t){return t.textContent});if(p.indexOf("@")!==-1){var T=function(){var t=p.split("@"),e=w(t,2),n=e[0],i=e[1],a=l(n),u=w(a,2),h=u[0],f=u[1],d=l(i),g=w(d,2),y=g[0],_=g[1];return{v:o.map(function(t){return s(t,h,f,r)}).reduce(function(t,e){return t.concat(e)},[]).map(function(t){return c(t,y,_,void 0,r)})}}();if("object"===("undefined"==typeof T?"undefined":x(T)))return T.v}else!function(){var t=l(p),e=w(t,2),n=e[0],i=e[1];o=o.map(function(t){return s(t,n,i,r)}).reduce(function(t,e){return t.concat(e)},[])}()}}return o}function h(t,e){var n=/^xmlns:(.*)$/;if(e.namespaceURI&&e.namespaceURI===t&&e.lookupNamespaceURI(e.prefix)===t)return e.prefix;if(e.attributes&&e.attributes.length)for(var r=0;r<e.attributes.length;r++){var i=e.attributes[r];n.lastIndex=0;var o=i.localName||i.name.substr(i.name.indexOf(":")+1);if(o.indexOf(":")!==-1&&(o=o.substr(i.name.indexOf(":")+1)),n.test(i.name)&&i.value===t)return o}return e.parentNode?h(t,e.parentNode):null}function f(t,e){if(t.lookupPrefix)return t.lookupPrefix(e);if(null===e||""===e)return null;switch(t.nodeType){case 1:return h(e,t);case 9:return h(e,t.documentElement);case 6:case 12:case 11:case 10:return null;case 2:return t.ownerElement?h(e,t.ownerElement):null;default:return t.parentNode?h(e,t.parentNode):null}}function d(){return fetch.apply(void 0,arguments).then(function(t){if(t.status>=400)throw new Error("Bad response from server");return t})}function g(t){return"undefined"==typeof t||null===t}function y(t){function e(t){return"("+t+")"}function n(t){return t.join(" ")}function r(t){return t.map(n).join(", ")}function i(t){return t.map(r).map(e).join(", ")}function o(t){return t.map(i).map(e).join(", ")}switch("Feature"===t.type&&(t=t.geometry),t.type){case"Point":return"POINT("+n(t.coordinates)+")";case"LineString":return"LINESTRING("+r(t.coordinates)+")";case"Polygon":return"POLYGON("+i(t.coordinates)+")";case"MultiPoint":return"MULTIPOINT("+r(t.coordinates)+")";case"MultiPolygon":return"MULTIPOLYGON("+o(t.coordinates)+")";case"MultiLineString":return"MULTILINESTRING("+i(t.coordinates)+")";case"GeometryCollection":return"GEOMETRYCOLLECTION("+t.geometries.map(y).join(", ")+")";default:throw new Error("stringify requires a valid GeoJSON Feature or geometry object as input")}}function _(t,e){return new Request(t,e)}function m(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=new XMLHttpRequest;return n.open(e.method||"GET",t),e.headers&&Object.keys(e.headers).forEach(function(t){n.setRequestHeader(t,e.headers[t])}),n.send(e.body?e.body:null),n}function v(t,e,n){if(Array.prototype.find)return t.find(e,n);for(var r=0;r<t.length;++r){var i=t[r];if(e(i,r,t))return i}}function b(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];if(Object.assign)return Object.assign.apply(Object,[t].concat(n));for(var i=0;i<n.length;++i){var o=n[i];if(o)for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&(t[s]=o[s])}return t}var E="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};Object.defineProperty(e,"__esModule",{value:!0}),e.namespaces=void 0;var x="function"==typeof Symbol&&"symbol"===E(Symbol.iterator)?function(t){return"undefined"==typeof t?"undefined":E(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":"undefined"==typeof t?"undefined":E(t)},w=function(){function t(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var s,a=t[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&a.return&&a.return()}finally{if(i)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();e.parseURLQuery=r,e.parseXml=i,e.getElements=s,e.getFirstElement=a,e.getText=u,e.getAttributeNS=c,e.simplePath=p,e.lookupPrefix=f,e.fetchAndCheck=d,e.isNullOrUndefined=g,e.toWKT=y,e.createRequest=_,e.createXHR=m,e.find=v,e.assign=b,n(45);var I=e.namespaces={os:"http://a9.com/-/spec/opensearch/1.1/",parameters:"http://a9.com/-/spec/opensearch/extensions/parameters/1.0/",atom:"http://www.w3.org/2005/Atom",georss:"http://www.georss.org/georss",dc:"http://purl.org/dc/elements/1.1/",media:"http://search.yahoo.com/mrss/",opt:"http://www.opengis.net/opt/2.1",om:"http://www.opengis.net/om/2.0",eop:"http://www.opengis.net/eop/2.0"}},function(t,e,n){"use strict";function r(t,e){function n(r){return this instanceof n?(p(this,"message","string"==typeof r?r:e),p(this,"name",t),void(Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this))):new n(r)}return l(n,Error),n}function i(t){return this instanceof i?(p(this,"name","OperationalError"),p(this,"message",t),this.cause=t,this.isOperational=!0,void(t instanceof Error?(p(this,"message",t.message),p(this,"stack",t.stack)):Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor))):new i(t)}var o,s,a=n(5),u=a.freeze,c=n(1),l=c.inherits,p=c.notEnumerableProp,h=r("Warning","warning"),f=r("CancellationError","cancellation error"),d=r("TimeoutError","timeout error"),g=r("AggregateError","aggregate error");try{o=TypeError,s=RangeError}catch(t){o=r("TypeError","type error"),s=r("RangeError","range error")}for(var y="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" "),_=0;_<y.length;++_)"function"==typeof Array.prototype[y[_]]&&(g.prototype[y[_]]=Array.prototype[y[_]]);a.defineProperty(g.prototype,"length",{value:0,configurable:!1,writable:!0,enumerable:!0}),g.prototype.isOperational=!0;var m=0;g.prototype.toString=function(){var t=Array(4*m+1).join(" "),e="\n"+t+"AggregateError of:\n";m++,t=Array(4*m+1).join(" ");for(var n=0;n<this.length;++n){for(var r=this[n]===this?"[Circular AggregateError]":this[n]+"",i=r.split("\n"),o=0;o<i.length;++o)i[o]=t+i[o];r=i.join("\n"),e+=r+"\n"}return m--,e},l(i,Error);var v=Error.__BluebirdErrorTypes__;v||(v=u({CancellationError:f,TimeoutError:d,OperationalError:i,RejectionError:i,AggregateError:g}),a.defineProperty(Error,"__BluebirdErrorTypes__",{value:v,writable:!1,enumerable:!1,configurable:!1})),t.exports={Error:Error,TypeError:o,RangeError:s,CancellationError:v.CancellationError,OperationalError:v.OperationalError,TimeoutError:v.TimeoutError,AggregateError:v.AggregateError,Warning:h}},function(t,e,n){(function(e){"use strict";function r(){try{e===o&&(e=i)}catch(t){}return o}var i;"undefined"!=typeof e&&(i=e);var o=n(81)();o.noConflict=r,t.exports=o}).call(e,n(4))},function(t,e){var n=function(){"use strict";return void 0===this}();if(n)t.exports={freeze:Object.freeze,defineProperty:Object.defineProperty,getDescriptor:Object.getOwnPropertyDescriptor,keys:Object.keys,names:Object.getOwnPropertyNames,getPrototypeOf:Object.getPrototypeOf,isArray:Array.isArray,isES5:n,propertyIsWritable:function(t,e){var n=Object.getOwnPropertyDescriptor(t,e);return!(n&&!n.writable&&!n.set)}};else{var r={}.hasOwnProperty,i={}.toString,o={}.constructor.prototype,s=function(t){var e=[];for(var n in t)r.call(t,n)&&e.push(n);return e},a=function(t,e){return{value:t[e]}},u=function(t,e,n){return t[e]=n.value,t},c=function(t){return t},l=function(t){try{return Object(t).constructor.prototype}catch(t){return o}},p=function(t){try{return"[object Array]"===i.call(t)}catch(t){return!1}};t.exports={isArray:p,keys:s,names:s,defineProperty:u,getDescriptor:a,freeze:c,getPrototypeOf:l,isES5:n,propertyIsWritable:function(){return!0}}}},function(t,e,n){var r=n(24)("wks"),i=n(27),o=n(8).Symbol,s="function"==typeof o,a=t.exports=function(t){return r[t]||(r[t]=s&&o[t]||(s?o:i)("Symbol."+t))};a.store=r},function(t,e){var n=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(t){if(l===setTimeout)return setTimeout(t,0);if((l===n||!l)&&setTimeout)return l=setTimeout,setTimeout(t,0);try{return l(t,0)}catch(e){try{return l.call(null,t,0)}catch(e){return l.call(this,t,0)}}}function o(t){if(p===clearTimeout)return clearTimeout(t);if((p===r||!p)&&clearTimeout)return p=clearTimeout,clearTimeout(t);try{return p(t)}catch(e){try{return p.call(null,t)}catch(e){return p.call(this,t)}}}function s(){g&&f&&(g=!1,f.length?d=f.concat(d):y=-1,d.length&&a())}function a(){if(!g){var t=i(s);g=!0;for(var e=d.length;e;){for(f=d,d=[];++y<e;)f&&f[y].run();y=-1,e=d.length}f=null,g=!1,o(t)}}function u(t,e){this.fun=t,this.array=e}function c(){}var l,p,h=t.exports={};!function(){try{l="function"==typeof setTimeout?setTimeout:n}catch(t){l=n}try{p="function"==typeof clearTimeout?clearTimeout:r}catch(t){p=r}}();var f,d=[],g=!1,y=-1;h.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];d.push(new u(t,e)),1!==d.length||g||i(a)},u.prototype.run=function(){this.fun.apply(null,this.array)},h.title="browser",h.browser=!0,h.env={},h.argv=[],h.version="",h.versions={},h.on=c,h.addListener=c,h.once=c,h.off=c,h.removeListener=c,h.removeAllListeners=c,h.emit=c,h.prependListener=c,h.prependOnceListener=c,h.listeners=function(t){return[]},h.binding=function(t){throw new Error("process.binding is not supported")},h.cwd=function(){return"/"},h.chdir=function(t){throw new Error("process.chdir is not supported")},h.umask=function(){return 0}},function(t,e,n){t.exports=!n(19)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){(function(t){"use strict";function n(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(!t)return r;for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(r[e]=t[e]);return r}Object.defineProperty(e,"__esModule",{value:!0}),e.config=n;var r={useXHR:!1,Promise:t}}).call(e,n(4))},function(t,e,n){var r=n(20);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(15),i=n(22);t.exports=n(10)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(12),i=n(103),o=n(117),s=Object.defineProperty;e.f=n(10)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){"use strict";function r(){return Object.keys(l)}function i(t){return l[t]}function o(t,e){l[t]=e}Object.defineProperty(e,"__esModule",{value:!0}),e.getSupportedTypes=r,e.getFormat=i,e.registerFormat=o;var s=n(57),a=n(59),u=n(58),c=n(60),l={};o("application/atom+xml",new s.AtomFormat),o("application/rss+xml",new a.RSSFormat),o("application/json",new u.GeoJSONFormat),o("application/vnd.geo+json",new u.GeoJSONFormat),o("application/x-suggestions+json",new c.SuggestionsJSONFormat)},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(8),i=n(7),o=n(14),s=n(41),a=n(35),u="prototype",c=function(t,e,n){var l,p,h,f,d=t&c.F,g=t&c.G,y=t&c.S,_=t&c.P,m=t&c.B,v=g?r:y?r[e]||(r[e]={}):(r[e]||{})[u],b=g?i:i[e]||(i[e]={}),E=b[u]||(b[u]={});g&&(n=e);for(l in n)p=!d&&v&&void 0!==v[l],h=(p?v:n)[l],f=m&&p?a(h,r):_&&"function"==typeof h?a(Function.call,h):h,v&&s(v,l,h,t&c.U),b[l]!=h&&o(b,l,f),_&&E[l]!=h&&(E[l]=h)};r.core=i,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){t.exports={}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(24)("keys"),i=n(27);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,e,n){var r=n(7),i=n(8),o="__core-js_shared__",s=i[o]||(i[o]={});(t.exports=function(t,e){return s[t]||(s[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(39)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(17);t.exports=function(t){return Object(r(t))}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){"use strict";var r=n(123)();t.exports=function(t){return t!==r&&null!==t}},function(t,e){"use strict";function n(t,e,n){if(n=n||{},!N(n))throw new Error("options is invalid");var r=n.bbox,i=n.id;if(void 0===t)throw new Error("geometry is required");if(e&&e.constructor!==Object)throw new Error("properties must be an Object");r&&C(r),i&&S(i);var o={type:"Feature"};return i&&(o.id=i),r&&(o.bbox=r),o.properties=e||{},o.geometry=t,o}function r(t,e,n){if(n=n||{},!N(n))throw new Error("options is invalid");var r=n.bbox;if(!t)throw new Error("type is required");if(!e)throw new Error("coordinates is required");if(!Array.isArray(e))throw new Error("coordinates must be an Array");r&&C(r);var o;switch(t){case"Point":o=i(e).geometry;break;case"LineString":o=u(e).geometry;break;case"Polygon":o=s(e).geometry;break;case"MultiPoint":o=h(e).geometry;break;case"MultiLineString":o=p(e).geometry;break;case"MultiPolygon":o=f(e).geometry;break;default:throw new Error(t+" is invalid")}return r&&(o.bbox=r),o}function i(t,e,r){if(!t)throw new Error("coordinates is required");if(!Array.isArray(t))throw new Error("coordinates must be an Array");if(t.length<2)throw new Error("coordinates must be at least 2 numbers long");if(!I(t[0])||!I(t[1]))throw new Error("coordinates must contain numbers");return n({type:"Point",coordinates:t},e,r)}function o(t,e,n){if(!t)throw new Error("coordinates is required");if(!Array.isArray(t))throw new Error("coordinates must be an Array");return l(t.map(function(t){return i(t,e)}),n)}function s(t,e,r){if(!t)throw new Error("coordinates is required");for(var i=0;i<t.length;i++){var o=t[i];if(o.length<4)throw new Error("Each LinearRing of a Polygon must have 4 or more Positions.");for(var s=0;s<o[o.length-1].length;s++){if(0===i&&0===s&&!I(o[0][0])||!I(o[0][1]))throw new Error("coordinates must contain numbers");if(o[o.length-1][s]!==o[0][s])throw new Error("First and last Position are not equivalent.")}}return n({type:"Polygon",coordinates:t},e,r)}function a(t,e,n){if(!t)throw new Error("coordinates is required");if(!Array.isArray(t))throw new Error("coordinates must be an Array");return l(t.map(function(t){return s(t,e)}),n)}function u(t,e,r){if(!t)throw new Error("coordinates is required");if(t.length<2)throw new Error("coordinates must be an array of two or more positions");if(!I(t[0][1])||!I(t[0][1]))throw new Error("coordinates must contain numbers");return n({type:"LineString",coordinates:t},e,r)}function c(t,e,n){if(!t)throw new Error("coordinates is required");if(!Array.isArray(t))throw new Error("coordinates must be an Array");return l(t.map(function(t){return u(t,e)}),n)}function l(t,e){if(e=e||{},!N(e))throw new Error("options is invalid");var n=e.bbox,r=e.id;if(!t)throw new Error("No features passed");if(!Array.isArray(t))throw new Error("features must be an Array");n&&C(n),r&&S(r);var i={type:"FeatureCollection"};return r&&(i.id=r),n&&(i.bbox=n),i.features=t,i}function p(t,e,r){if(!t)throw new Error("coordinates is required");return n({type:"MultiLineString",coordinates:t},e,r)}function h(t,e,r){if(!t)throw new Error("coordinates is required");return n({type:"MultiPoint",coordinates:t},e,r)}function f(t,e,r){if(!t)throw new Error("coordinates is required");return n({type:"MultiPolygon",coordinates:t},e,r)}function d(t,e,r){if(!t)throw new Error("geometries is required");if(!Array.isArray(t))throw new Error("geometries must be an Array");return n({type:"GeometryCollection",geometries:t},e,r)}function g(t,e){if(void 0===t||null===t||isNaN(t))throw new Error("num is required");if(e&&!(e>=0))throw new Error("precision must be a positive number");var n=Math.pow(10,e||0);return Math.round(t*n)/n}function y(t,e){if(void 0===t||null===t)throw new Error("radians is required");if(e&&"string"!=typeof e)throw new Error("units must be a string");var n=F[e||"kilometers"];if(!n)throw new Error(e+" units is invalid");return t*n}function _(t,e){if(void 0===t||null===t)throw new Error("distance is required");if(e&&"string"!=typeof e)throw new Error("units must be a string");var n=F[e||"kilometers"];if(!n)throw new Error(e+" units is invalid");return t/n}function m(t,e){return b(_(t,e))}function v(t){if(null===t||void 0===t)throw new Error("bearing is required");var e=t%360;return e<0&&(e+=360),e}function b(t){if(null===t||void 0===t)throw new Error("radians is required");var e=t%(2*Math.PI);return 180*e/Math.PI}function E(t){if(null===t||void 0===t)throw new Error("degrees is required");var e=t%360;return e*Math.PI/180}function x(t,e,n){if(null===t||void 0===t)throw new Error("length is required");if(!(t>=0))throw new Error("length must be a positive number");return y(_(t,e),n||"kilometers")}function w(t,e,n){if(null===t||void 0===t)throw new Error("area is required");if(!(t>=0))throw new Error("area must be a positive number");var r=j[e||"meters"];if(!r)throw new Error("invalid original units");var i=j[n||"kilometers"];if(!i)throw new Error("invalid final units");return t/r*i}function I(t){return!isNaN(t)&&null!==t&&!Array.isArray(t)}function N(t){return!!t&&t.constructor===Object}function C(t){if(!t)throw new Error("bbox is required");if(!Array.isArray(t))throw new Error("bbox must be an Array");if(4!==t.length&&6!==t.length)throw new Error("bbox must be an Array of 4 or 6 numbers");t.forEach(function(t){if(!I(t))throw new Error("bbox must only contain numbers")})}function S(t){if(!t)throw new Error("id is required");if(["string","number"].indexOf(typeof t)===-1)throw new Error("id must be a number or a string")}function O(){throw new Error("method has been renamed to `radiansToDegrees`")}function P(){throw new Error("method has been renamed to `degreesToRadians`")}function T(){throw new Error("method has been renamed to `lengthToDegrees`")}function R(){throw new Error("method has been renamed to `lengthToRadians`")}function L(){throw new Error("method has been renamed to `radiansToLength`")}function A(){throw new Error("method has been renamed to `bearingToAzimuth`")}function D(){throw new Error("method has been renamed to `convertLength`")}Object.defineProperty(e,"__esModule",{value:!0});var M=6371008.8,F={meters:M,metres:M,millimeters:1e3*M,millimetres:1e3*M,centimeters:100*M,centimetres:100*M,kilometers:M/1e3,kilometres:M/1e3,miles:M/1609.344,nauticalmiles:M/1852,inches:39.37*M,yards:M/1.0936,feet:3.28084*M,radians:1,degrees:M/111325},k={meters:1,metres:1,millimeters:1e3,millimetres:1e3,centimeters:100,centimetres:100,kilometers:.001,kilometres:.001,miles:1/1609.344,nauticalmiles:1/1852,inches:39.37,yards:1/1.0936,feet:3.28084,radians:1/M,degrees:1/111325},j={meters:1,metres:1,millimeters:1e6,millimetres:1e6,centimeters:1e4,centimetres:1e4,kilometers:1e-6,kilometres:1e-6,acres:247105e-9,miles:3.86e-7,yards:1.195990046,feet:10.763910417,inches:1550.003100006};e.earthRadius=M,e.factors=F,e.unitsFactors=k,e.areaFactors=j,e.feature=n,e.geometry=r,e.point=i,e.points=o,e.polygon=s,e.polygons=a,e.lineString=u,e.lineStrings=c,e.featureCollection=l,e.multiLineString=p,e.multiPoint=h,e.multiPolygon=f,e.geometryCollection=d,e.round=g,e.radiansToLength=y,e.lengthToRadians=_,e.lengthToDegrees=m,e.bearingToAzimuth=v,e.radiansToDegrees=b,e.degreesToRadians=E,e.convertLength=x,e.convertArea=w,e.isNumber=I,e.isObject=N,e.validateBBox=C,e.validateId=S,e.radians2degrees=O,e.degrees2radians=P,e.distanceToDegrees=T,e.distanceToRadians=R,e.radiansToDistance=L,e.bearingToAngle=A,e.convertDistance=D},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function o(t){for(var e=[],n=0;n<t.length;n+=2){var r=t[n],i=t[n+1];e.push([i,r])}return e}function s(t){var e=t.trim().split(/\s+/).map(parseFloat);return o(e)}function a(t){return o((0,d.getText)(t,t.namespaceURI,"posList").trim().split(/\s+/).map(parseFloat))}function u(t,e){var n=(0,d.getFirstElement)(t,e,"exterior"),r=(0,d.getElements)(t,e,"interior"),o=a((0,d.getFirstElement)(n,e,"LinearRing"),e),s=r.map(function(t){return a((0,d.getFirstElement)(t,e,"LinearRing"),e)});return[o].concat(i(s))}function c(t,e){var n=(0,d.getText)(t,e,"lowerCorner").trim().split(/\s+/).map(parseFloat),r=(0,d.getText)(t,e,"upperCorner").trim().split(/\s+/).map(parseFloat),i=[[[n[1],n[0]],[r[1],n[0]],[r[1],r[0]],[n[1],r[0]],[n[1],n[0]]]];return i}function l(t){switch(t.localName){case"Point":var e=(0,d.getText)(t,t.namespaceURI,"pos").trim().split(/\s+/).map(parseFloat);return{type:"Point",coordinates:[e[1],e[0]]};case"LineString":var n=a(t,t.namespaceURI);return{type:"LineString",coordinates:n};case"Polygon":var r=u(t,t.namespaceURI);return{type:"Polygon",coordinates:r};case"Envelope":var i=c(t,t.namespaceURI);return{type:"Polygon",coordinates:i};case"MultiPolygon":var o=(0,d.getElements)(t,t.namespaceURI,"polygonMember").map(function(t){return(0,d.getFirstElement)(t,t.namespaceURI,"Polygon")}),s=o.map(function(e){return u(e,t.namespaceURI)});return{type:"MultiPolygon",coordinates:s};case"MultiSurface":var p=(0,d.getElements)(t,t.namespaceURI,"surfaceMember").map(function(t){return(0,d.getFirstElement)(t,t.namespaceURI,"Polygon")}),h=(0,d.getFirstElement)(t,t.namespaceURI,"surfaceMembers");h&&(p=p.concat((0,d.getElements)(h,h.namespaceURI,"Polygon")));var f=p.map(function(e){return u(e,t.namespaceURI)});return{type:"MultiPolygon",coordinates:f};case"geometryMember":return l((0,d.getFirstElement)(t))}return null}function p(t){for(var e=null,n=null,r=null,i=null,o=0;o<t.length;++o){var s=f(t[o],2),a=s[0],u=s[1];e=null===e||a<e?a:e,n=null===n||u<n?u:n,r=null===r||a>r?a:r,i=null===i||u>i?u:i}return[e,n,r,i]}Object.defineProperty(e,"__esModule",{value:!0}),e.BaseFeedFormat=void 0;var h=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),f=function(){function t(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var s,a=t[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&a.return&&a.return()}finally{if(i)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance");
}}(),d=n(2);e.BaseFeedFormat=function(){function t(){r(this,t)}return h(t,[{key:"parseGeometry",value:function(t){var e=(0,d.getFirstElement)(t,"georss","where"),n=(0,d.getText)(t,"georss","point"),r=(0,d.getText)(t,"georss","line"),i=(0,d.getText)(t,"georss","polygon");if(e){var o=(0,d.getFirstElement)(e);if(o)return l(o)}else{if(n)return{type:"Point",coordinates:s(n)[0]};if(r)return{type:"LineString",coordinates:s(r)};if(i)return{type:"Polygon",coordinates:[s(i)]}}return null}},{key:"parseBox",value:function(t){var e=(0,d.getText)(t,"georss","box");if(e){var n=e.split(/\s+/).map(parseFloat);return[n[1],n[0],n[3],n[2]]}return null}},{key:"getBoxFromGeometry",value:function(t){var e=t.coordinates;switch(t.type){case"Point":return[e[0],e[1],e[0],e[1]];case"LineString":return p(e);case"Polygon":return p(e[0]);case"MultiPolygon":for(var n=e.map(function(t){return p(t[0])}),r=n[0],i=1;i<n.length;++i){var o=n[i];r[0]=Math.min(r[0],o[0]),r[1]=Math.min(r[1],o[1]),r[2]=Math.max(r[2],o[2]),r[3]=Math.max(r[3],o[3])}return r;default:return null}}},{key:"parseDate",value:function(t){var e=(0,d.getText)(t,"dc","date");if(e){var n=e.split("/");if(1===n.length)return new Date(e);if(n.length>=1)return[new Date(n[0]),new Date(n[1])]}return null}},{key:"parseLinks",value:function(t){return(0,d.getElements)(t,"atom","link").map(function(t){var e={href:t.getAttribute("href")},n=t.getAttribute("rel"),r=t.getAttribute("type"),i=t.getAttribute("title");return n&&(e.rel=n),r&&(e.type=r),i&&(e.title=i),e})}},{key:"parseMedia",value:function(t){var e=(0,d.getElements)(t,"media","content"),n=(0,d.getElements)(t,"media","group"),r=n.map(function(t){return(0,d.getElements)(t,"media","content")}).reduce(function(t,e){return t.concat(e)},[]),i=e.concat(r);return i.map(function(t){var e=(0,d.getFirstElement)(t,"media","category");return{url:t.getAttribute("url"),category:e?e.textContent:void 0,scheme:e?e.getAttribute("scheme"):void 0}})}},{key:"parseEOP",value:function(t){var e=(0,d.getFirstElement)(t,null,"EarthObservation");if(e){var n=(0,d.simplePath)(e,"om:procedure/EarthObservationEquipment",!0);return{productType:(0,d.simplePath)(e,"metaDataProperty/EarthObservationMetaData/productType/text()",!0),processingLevel:(0,d.simplePath)(e,"metaDataProperty/EarthObservationMetaData/processing/ProcessingInformation/processingLevel/text()",!0),platformShortName:(0,d.simplePath)(n,"platform/Platform/shortName/text()",!0),platformSerialIdentifier:(0,d.simplePath)(n,"platform/Platform/serialIdentifier/text()",!0),instrumentShortName:(0,d.simplePath)(n,"instrument/Instrument/shortName/text()",!0),sensorType:(0,d.simplePath)(n,"sensor/Sensor/sensorType/text()",!0),resolution:(0,d.simplePath)(n,"sensor/Sensor/resolution/text()",!0)+(0,d.simplePath)(n,"sensor/Sensor/resolution@uom",!0),orbitNumber:(0,d.simplePath)(n,"acquisitionParameters/Acquisition/orbitNumber/text()",!0),cloudCoverPercentage:(0,d.simplePath)(e,"om:result/opt:EarthObservationResult/opt:cloudCoverPercentage/text()",!0)}}return null}},{key:"parseS3Path",value:function(t){return(0,d.getText)(t,null,"s3Path")}},{key:"parseExtraFields",value:function(t,e,n,r){for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=e[i],s=void 0,a=!0;if(Array.isArray(o)){var u=f(o,2);s=u[0],a=u[1]}else s=o;for(var c=i.split("."),l=r,p=0;p<c.length-1;++p){var h=c[p];l[h]||(l[h]={}),l=l[h]}l[c[c.length-1]]=(0,d.simplePath)(t,s,a,n)}}}]),t}()},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e,n,r){Object.keys(e).forEach(function(e){if(!Object.prototype.hasOwnProperty.call(t._parametersByType,e)&&!Object.prototype.hasOwnProperty.call(t._parametersByName,e))throw new Error("Invalid parameter '"+e+"'.")});var i=t.getMissingMandatoryParameters(e).map(function(t){return t.type});if(i.length)throw new Error("Missing mandatory parameters: "+i.join(", "));var o=t.serializeValues(e);if("GET"===t.method){for(var a=t.url,c=0;c<o.length;++c){var l=s(o[c],3),p=l[1],h=l[2];a=a.replace(new RegExp("{"+p+"[?]?}"),h)}if(n){var f=(0,u.default)(a,!1),d=f.query.split("&").map(function(t){return t.split("=")}).filter(function(t){return""!==t[1]}).map(function(t){return t.join("=")}).join("&");f.set("query",d),a=f.toString()}return{method:t.method,url:a,headers:r}}var g=t.enctype||"application/x-www-form-urlencoded",y=null;if("application/x-www-form-urlencoded"===g)y=o.map(function(t){var e=s(t,3),n=e[0],r=e[2];return encodeURIComponent(n)+"="+encodeURIComponent(r)}).join("&");else{if("multipart/form-data"!==g)throw new Error("Unsupported enctype '"+g+"'.");y=new FormData,o.forEach(function(t){var e=s(t,3),n=e[0],r=e[2];return y.append(n,r)})}return{method:t.method,url:t.url,headers:{"Content-Type":g},body:y}}function o(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.type,o=n.raw,a=n.maxUrlLength,u=n.dropEmptyParameters,f=n.parseOptions,d=n.headers,g=i(t,e,u,d),y=(0,h.config)(),_=y.useXHR,m=y.Promise;if("undefined"!=typeof a&&g.url.length>a)return m.reject(new Error("Search URL too long: "+g.url.length+", maximum: "+a));var v=null;if(_)v=new m(function(t,e,n){var r=(0,l.createXHR)(g.url,g);r.onload=function(){o&&t(r),t([r.responseText,r.status])},r.onerror=function(){e(new TypeError("Failed to fetch"))},n&&"function"==typeof n&&n(function(){r.abort()})});else{if(v=fetch((0,l.createRequest)(g.url,g)),o)return v;v=v.then(function(t){return t.text().then(function(e){return[e,t.status]})})}return v.then(function(e){var n=s(e,2),i=n[0],o=n[1];if(o>=400){var a=(0,p.getErrorFromXml)(i);throw a||new Error(i)}var u=(0,c.getFormat)(r||t.type);if(!u)throw new Error("Could not parse response of type '"+r+"'.");return u.parse(i,f)})}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){function t(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var s,a=t[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&a.return&&a.return()}finally{if(i)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();e.createBaseRequest=i,e.search=o;var a=n(47),u=r(a),c=n(16),l=n(2),p=n(56),h=n(11)},function(t,e,n){"use strict";t.exports=function(t){function e(e,n,a){return function(u){var c=a._boundValue();t:for(var l=0;l<e.length;++l){var p=e[l];if(p===Error||null!=p&&p.prototype instanceof Error){if(u instanceof p)return o(n).call(c,u)}else if("function"==typeof p){var h=o(p).call(c,u);if(h===s)return h;if(h)return o(n).call(c,u)}else if(r.isObject(u)){for(var f=i(p),d=0;d<f.length;++d){var g=f[d];if(p[g]!=u[g])continue t}return o(n).call(c,u)}}return t}}var r=n(1),i=n(5).keys,o=r.tryCatch,s=r.errorObj;return e}},function(t,e,n){"use strict";function r(t){return t instanceof Error&&l.getPrototypeOf(t)===Error.prototype}function i(t){var e;if(r(t)){e=new c(t),e.name=t.name,e.message=t.message,e.stack=t.stack;for(var n=l.keys(t),i=0;i<n.length;++i){var o=n[i];p.test(o)||(e[o]=t[o])}return e}return s.markAsOriginatingFromRejection(t),t}function o(t,e){return function(n,r){if(null!==t){if(n){var o=i(a(n));t._attachExtraTrace(o),t._reject(o)}else if(e){for(var s=arguments.length,u=new Array(Math.max(s-1,0)),c=1;c<s;++c)u[c-1]=arguments[c];t._fulfill(u)}else t._fulfill(r);t=null}}}var s=n(1),a=s.maybeWrapAsError,u=n(3),c=u.OperationalError,l=n(5),p=/^(?:name|message|stack|cause)$/;t.exports=o},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(97);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(20),i=n(8).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(34);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){t.exports=!1},function(t,e,n){var r=n(114),i=n(37);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e,n){var r=n(8),i=n(14),o=n(13),s=n(27)("src"),a=n(101),u="toString",c=(""+a).split(u);n(7).inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,n,a){var u="function"==typeof n;u&&(o(n,"name")||i(n,"name",e)),t[e]!==n&&(u&&(o(n,s)||i(n,s,t[e]?""+t[e]:c.join(String(e)))),t===r?t[e]=n:a?t[e]?t[e]=n:i(t,e,n):(delete t[e],i(t,e,n)))})(Function.prototype,u,function(){return"function"==typeof this&&this[s]||a.call(this)})},function(t,e,n){var r=n(15).f,i=n(13),o=n(6)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},function(t,e,n){var r=n(38),i=n(17);t.exports=function(t){return r(i(t))}},function(t,e,n){var r=n(25),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e,n){n(146),t.exports=self.fetch.bind(self)},function(t,e){"use strict";var n=void 0;t.exports=function(t){return t!==n&&null!==t}},function(t,e,n){(function(e){"use strict";function r(t){return(t?t:"").toString().replace(g,"")}function i(t){var n;n="undefined"!=typeof window?window:"undefined"!=typeof e?e:"undefined"!=typeof self?self:{};var r=n.location||{};t=t||r;var i,o={},s=typeof t;if("blob:"===t.protocol)o=new a(unescape(t.pathname),{});else if("string"===s){o=new a(t,{});for(i in _)delete o[i]}else if("object"===s){for(i in t)i in _||(o[i]=t[i]);void 0===o.slashes&&(o.slashes=h.test(t.href))}return o}function o(t){t=r(t);var e=f.exec(t);return{protocol:e[1]?e[1].toLowerCase():"",slashes:!!e[2],rest:e[3]}}function s(t,e){if(""===t)return e;for(var n=(e||"/").split("/").slice(0,-1).concat(t.split("/")),r=n.length,i=n[r-1],o=!1,s=0;r--;)"."===n[r]?n.splice(r,1):".."===n[r]?(n.splice(r,1),s++):s&&(0===r&&(o=!0),n.splice(r,1),s--);return o&&n.unshift(""),"."!==i&&".."!==i||n.push(""),n.join("/")}function a(t,e,n){if(t=r(t),!(this instanceof a))return new a(t,e,n);var u,c,h,f,d,g,_=y.slice(),m=typeof e,v=this,b=0;for("object"!==m&&"string"!==m&&(n=e,e=null),n&&"function"!=typeof n&&(n=p.parse),e=i(e),c=o(t||""),u=!c.protocol&&!c.slashes,v.slashes=c.slashes||u&&e.slashes,v.protocol=c.protocol||e.protocol||"",t=c.rest,c.slashes||(_[3]=[/(.*)/,"pathname"]);b<_.length;b++)f=_[b],"function"!=typeof f?(h=f[0],g=f[1],h!==h?v[g]=t:"string"==typeof h?~(d=t.indexOf(h))&&("number"==typeof f[2]?(v[g]=t.slice(0,d),t=t.slice(d+f[2])):(v[g]=t.slice(d),t=t.slice(0,d))):(d=h.exec(t))&&(v[g]=d[1],t=t.slice(0,d.index)),v[g]=v[g]||(u&&f[3]?e[g]||"":""),f[4]&&(v[g]=v[g].toLowerCase())):t=f(t);n&&(v.query=n(v.query)),u&&e.slashes&&"/"!==v.pathname.charAt(0)&&(""!==v.pathname||""!==e.pathname)&&(v.pathname=s(v.pathname,e.pathname)),l(v.port,v.protocol)||(v.host=v.hostname,v.port=""),v.username=v.password="",v.auth&&(f=v.auth.split(":"),v.username=f[0]||"",v.password=f[1]||""),v.origin=v.protocol&&v.host&&"file:"!==v.protocol?v.protocol+"//"+v.host:"null",v.href=v.toString()}function u(t,e,n){var r=this;switch(t){case"query":"string"==typeof e&&e.length&&(e=(n||p.parse)(e)),r[t]=e;break;case"port":r[t]=e,l(e,r.protocol)?e&&(r.host=r.hostname+":"+e):(r.host=r.hostname,r[t]="");break;case"hostname":r[t]=e,r.port&&(e+=":"+r.port),r.host=e;break;case"host":r[t]=e,/:\d+$/.test(e)?(e=e.split(":"),r.port=e.pop(),r.hostname=e.join(":")):(r.hostname=e,r.port="");break;case"protocol":r.protocol=e.toLowerCase(),r.slashes=!n;break;case"pathname":case"hash":if(e){var i="pathname"===t?"/":"#";r[t]=e.charAt(0)!==i?i+e:e}else r[t]=e;break;default:r[t]=e}for(var o=0;o<y.length;o++){var s=y[o];s[4]&&(r[s[1]]=r[s[1]].toLowerCase())}return r.origin=r.protocol&&r.host&&"file:"!==r.protocol?r.protocol+"//"+r.host:"null",r.href=r.toString(),r}function c(t){t&&"function"==typeof t||(t=p.stringify);var e,n=this,r=n.protocol;r&&":"!==r.charAt(r.length-1)&&(r+=":");var i=r+(n.slashes?"//":"");return n.username&&(i+=n.username,n.password&&(i+=":"+n.password),i+="@"),i+=n.host+n.pathname,e="object"==typeof n.query?t(n.query):n.query,e&&(i+="?"!==e.charAt(0)?"?"+e:e),n.hash&&(i+=n.hash),i}var l=n(138),p=n(137),h=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,f=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\S\s]*)/i,d="[\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF]",g=new RegExp("^"+d+"+"),y=[["#","hash"],["?","query"],function(t){return t.replace("\\","/")},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d+)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],_={hash:1,query:1};a.prototype={set:u,toString:c},a.extractProtocol=o,a.location=i,a.trimLeft=r,a.qs=p,t.exports=a}).call(e,function(){return this}())},function(t,e){function n(t,e){for(var n in t)e[n]=t[n]}function r(t,e){function r(){}var i=t.prototype;if(Object.create){var o=Object.create(e.prototype);i.__proto__=o}i instanceof e||(r.prototype=e.prototype,r=new r,n(i,r),t.prototype=i=r),i.constructor!=t&&("function"!=typeof t&&console.error("unknow Class:"+t),i.constructor=t)}function i(t,e){if(e instanceof Error)var n=e;else n=this,Error.call(this,it[t]),this.message=it[t],Error.captureStackTrace&&Error.captureStackTrace(this,i);return n.code=t,e&&(this.message=this.message+": "+e),n}function o(){}function s(t,e){this._node=t,this._refresh=e,a(this)}function a(t){var e=t._node._inc||t._node.ownerDocument._inc;if(t._inc!=e){var r=t._refresh(t._node);B(t,"length",r.length),n(r,t),t._inc=e}}function u(){}function c(t,e){for(var n=t.length;n--;)if(t[n]===e)return n}function l(t,e,n,r){if(r?e[c(e,r)]=n:e[e.length++]=n,t){n.ownerElement=t;var i=t.ownerDocument;i&&(r&&m(i,t,r),_(i,t,n))}}function p(t,e,n){var r=c(e,n);if(!(r>=0))throw i(st,new Error(t.tagName+"@"+n));for(var o=e.length-1;r<o;)e[r]=e[++r];if(e.length=o,t){var s=t.ownerDocument;s&&(m(s,t,n),n.ownerElement=null)}}function h(t){if(this._features={},t)for(var e in t)this._features=t[e]}function f(){}function d(t){return"<"==t&&"<"||">"==t&&">"||"&"==t&&"&"||'"'==t&&"""||"&#"+t.charCodeAt()+";"}function g(t,e){if(e(t))return!0;if(t=t.firstChild)do if(g(t,e))return!0;while(t=t.nextSibling)}function y(){}function _(t,e,n){t&&t._inc++;var r=n.namespaceURI;"http://www.w3.org/2000/xmlns/"==r&&(e._nsMap[n.prefix?n.localName:""]=n.value)}function m(t,e,n,r){t&&t._inc++;var i=n.namespaceURI;"http://www.w3.org/2000/xmlns/"==i&&delete e._nsMap[n.prefix?n.localName:""]}function v(t,e,n){if(t&&t._inc){t._inc++;var r=e.childNodes;if(n)r[r.length++]=n;else{for(var i=e.firstChild,o=0;i;)r[o++]=i,i=i.nextSibling;r.length=o}}}function b(t,e){var n=e.previousSibling,r=e.nextSibling;return n?n.nextSibling=r:t.firstChild=r,r?r.previousSibling=n:t.lastChild=n,v(t.ownerDocument,t),e}function E(t,e,n){var r=e.parentNode;if(r&&r.removeChild(e),e.nodeType===et){var i=e.firstChild;if(null==i)return e;var o=e.lastChild}else i=o=e;var s=n?n.previousSibling:t.lastChild;i.previousSibling=s,o.nextSibling=n,s?s.nextSibling=i:t.firstChild=i,null==n?t.lastChild=o:n.previousSibling=o;do i.parentNode=t;while(i!==o&&(i=i.nextSibling));return v(t.ownerDocument||t,t),e.nodeType==et&&(e.firstChild=e.lastChild=null),e}function x(t,e){var n=e.parentNode;if(n){var r=t.lastChild;n.removeChild(e);var r=t.lastChild}var r=t.lastChild;return e.parentNode=t,e.previousSibling=r,e.nextSibling=null,r?r.nextSibling=e:t.firstChild=e,t.lastChild=e,v(t.ownerDocument,t,e),e}function w(){this._nsMap={}}function I(){}function N(){}function C(){}function S(){}function O(){}function P(){}function T(){}function R(){}function L(){}function A(){}function D(){}function M(){}function F(t,e){var n=[],r=9==this.nodeType?this.documentElement:this,i=r.prefix,o=r.namespaceURI;if(o&&null==i){var i=r.lookupPrefix(o);if(null==i)var s=[{namespace:o,prefix:null}]}return j(this,n,t,e,s),n.join("")}function k(t,e,n){var r=t.prefix||"",i=t.namespaceURI;if(!r&&!i)return!1;if("xml"===r&&"http://www.w3.org/XML/1998/namespace"===i||"http://www.w3.org/2000/xmlns/"==i)return!1;for(var o=n.length;o--;){var s=n[o];if(s.prefix==r)return s.namespace!=i}return!0}function j(t,e,n,r,i){if(r){if(t=r(t),!t)return;if("string"==typeof t)return void e.push(t)}switch(t.nodeType){case X:i||(i=[]);var o=(i.length,t.attributes),s=o.length,a=t.firstChild,u=t.tagName;n=V===t.namespaceURI||n,e.push("<",u);for(var c=0;c<s;c++){var l=o.item(c);"xmlns"==l.prefix?i.push({prefix:l.localName,namespace:l.value}):"xmlns"==l.nodeName&&i.push({prefix:"",namespace:l.value})}for(var c=0;c<s;c++){var l=o.item(c);if(k(l,n,i)){var p=l.prefix||"",h=l.namespaceURI,f=p?" xmlns:"+p:" xmlns";e.push(f,'="',h,'"'),i.push({prefix:p,namespace:h})}j(l,e,n,r,i)}if(k(t,n,i)){var p=t.prefix||"",h=t.namespaceURI,f=p?" xmlns:"+p:" xmlns";e.push(f,'="',h,'"'),i.push({prefix:p,namespace:h})}if(a||n&&!/^(?:meta|link|img|br|hr|input)$/i.test(u)){if(e.push(">"),n&&/^script$/i.test(u))for(;a;)a.data?e.push(a.data):j(a,e,n,r,i),a=a.nextSibling;else for(;a;)j(a,e,n,r,i),a=a.nextSibling;e.push("</",u,">")}else e.push("/>");return;case Z:case et:for(var a=t.firstChild;a;)j(a,e,n,r,i),a=a.nextSibling;return;case Y:return e.push(" ",t.name,'="',t.value.replace(/[<&"]/g,d),'"');case H:return e.push(t.data.replace(/[<&]/g,d));case W:return e.push("<![CDATA[",t.data,"]]>");case J:return e.push("<!--",t.data,"-->");case tt:var g=t.publicId,y=t.systemId;if(e.push("<!DOCTYPE ",t.name),g)e.push(' PUBLIC "',g),y&&"."!=y&&e.push('" "',y),e.push('">');else if(y&&"."!=y)e.push(' SYSTEM "',y,'">');else{var _=t.internalSubset;_&&e.push(" [",_,"]"),e.push(">")}return;case K:return e.push("<?",t.target," ",t.data,"?>");case $:return e.push("&",t.nodeName,";");default:e.push("??",t.nodeName)}}function G(t,e,n){var r;switch(e.nodeType){case X:r=e.cloneNode(!1),r.ownerDocument=t;case et:break;case Y:n=!0}if(r||(r=e.cloneNode(!1)),r.ownerDocument=t,r.parentNode=null,n)for(var i=e.firstChild;i;)r.appendChild(G(t,i,n)),i=i.nextSibling;return r}function U(t,e,n){var r=new e.constructor;for(var i in e){var s=e[i];"object"!=typeof s&&s!=r[i]&&(r[i]=s)}switch(e.childNodes&&(r.childNodes=new o),r.ownerDocument=t,r.nodeType){case X:var a=e.attributes,c=r.attributes=new u,l=a.length;c._ownerElement=r;for(var p=0;p<l;p++)r.setAttributeNode(U(t,a.item(p),!0));break;case Y:n=!0}if(n)for(var h=e.firstChild;h;)r.appendChild(U(t,h,n)),h=h.nextSibling;return r}function B(t,e,n){t[e]=n}function q(t){switch(t.nodeType){case X:case et:var e=[];for(t=t.firstChild;t;)7!==t.nodeType&&8!==t.nodeType&&e.push(q(t)),t=t.nextSibling;return e.join("");default:return t.nodeValue}}var V="http://www.w3.org/1999/xhtml",z={},X=z.ELEMENT_NODE=1,Y=z.ATTRIBUTE_NODE=2,H=z.TEXT_NODE=3,W=z.CDATA_SECTION_NODE=4,$=z.ENTITY_REFERENCE_NODE=5,Q=z.ENTITY_NODE=6,K=z.PROCESSING_INSTRUCTION_NODE=7,J=z.COMMENT_NODE=8,Z=z.DOCUMENT_NODE=9,tt=z.DOCUMENT_TYPE_NODE=10,et=z.DOCUMENT_FRAGMENT_NODE=11,nt=z.NOTATION_NODE=12,rt={},it={},ot=(rt.INDEX_SIZE_ERR=(it[1]="Index size error",1),rt.DOMSTRING_SIZE_ERR=(it[2]="DOMString size error",2),rt.HIERARCHY_REQUEST_ERR=(it[3]="Hierarchy request error",3)),st=(rt.WRONG_DOCUMENT_ERR=(it[4]="Wrong document",4),rt.INVALID_CHARACTER_ERR=(it[5]="Invalid character",5),rt.NO_DATA_ALLOWED_ERR=(it[6]="No data allowed",6),rt.NO_MODIFICATION_ALLOWED_ERR=(it[7]="No modification allowed",7),rt.NOT_FOUND_ERR=(it[8]="Not found",8)),at=(rt.NOT_SUPPORTED_ERR=(it[9]="Not supported",9),rt.INUSE_ATTRIBUTE_ERR=(it[10]="Attribute in use",10));rt.INVALID_STATE_ERR=(it[11]="Invalid state",11),rt.SYNTAX_ERR=(it[12]="Syntax error",12),rt.INVALID_MODIFICATION_ERR=(it[13]="Invalid modification",13),rt.NAMESPACE_ERR=(it[14]="Invalid namespace",14),rt.INVALID_ACCESS_ERR=(it[15]="Invalid access",15);i.prototype=Error.prototype,n(rt,i),o.prototype={length:0,item:function(t){return this[t]||null},toString:function(t,e){for(var n=[],r=0;r<this.length;r++)j(this[r],n,t,e);return n.join("")}},s.prototype.item=function(t){return a(this),this[t]},r(s,o),u.prototype={length:0,item:o.prototype.item,getNamedItem:function(t){for(var e=this.length;e--;){var n=this[e];if(n.nodeName==t)return n}},setNamedItem:function(t){var e=t.ownerElement;if(e&&e!=this._ownerElement)throw new i(at);var n=this.getNamedItem(t.nodeName);return l(this._ownerElement,this,t,n),n},setNamedItemNS:function(t){var e,n=t.ownerElement;if(n&&n!=this._ownerElement)throw new i(at);return e=this.getNamedItemNS(t.namespaceURI,t.localName),l(this._ownerElement,this,t,e),e},removeNamedItem:function(t){var e=this.getNamedItem(t);return p(this._ownerElement,this,e),e},removeNamedItemNS:function(t,e){var n=this.getNamedItemNS(t,e);return p(this._ownerElement,this,n),n},getNamedItemNS:function(t,e){for(var n=this.length;n--;){var r=this[n];if(r.localName==e&&r.namespaceURI==t)return r}return null}},h.prototype={hasFeature:function(t,e){var n=this._features[t.toLowerCase()];return!(!n||e&&!(e in n))},createDocument:function(t,e,n){var r=new y;if(r.implementation=this,r.childNodes=new o,r.doctype=n,n&&r.appendChild(n),e){var i=r.createElementNS(t,e);r.appendChild(i)}return r},createDocumentType:function(t,e,n){var r=new P;return r.name=t,r.nodeName=t,r.publicId=e,r.systemId=n,r}},f.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(t,e){return E(this,t,e)},replaceChild:function(t,e){this.insertBefore(t,e),e&&this.removeChild(e)},removeChild:function(t){return b(this,t)},appendChild:function(t){return this.insertBefore(t,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(t){return U(this.ownerDocument||this,this,t)},normalize:function(){for(var t=this.firstChild;t;){var e=t.nextSibling;e&&e.nodeType==H&&t.nodeType==H?(this.removeChild(e),t.appendData(e.data)):(t.normalize(),t=e)}},isSupported:function(t,e){return this.ownerDocument.implementation.hasFeature(t,e)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(t){for(var e=this;e;){var n=e._nsMap;if(n)for(var r in n)if(n[r]==t)return r;e=e.nodeType==Y?e.ownerDocument:e.parentNode}return null},lookupNamespaceURI:function(t){for(var e=this;e;){var n=e._nsMap;if(n&&t in n)return n[t];e=e.nodeType==Y?e.ownerDocument:e.parentNode}return null},isDefaultNamespace:function(t){var e=this.lookupPrefix(t);return null==e}},n(z,f),n(z,f.prototype),y.prototype={nodeName:"#document",nodeType:Z,doctype:null,documentElement:null,_inc:1,insertBefore:function(t,e){if(t.nodeType==et){for(var n=t.firstChild;n;){var r=n.nextSibling;this.insertBefore(n,e),n=r}return t}return null==this.documentElement&&t.nodeType==X&&(this.documentElement=t),E(this,t,e),t.ownerDocument=this,t},removeChild:function(t){return this.documentElement==t&&(this.documentElement=null),b(this,t)},importNode:function(t,e){return G(this,t,e)},getElementById:function(t){var e=null;return g(this.documentElement,function(n){if(n.nodeType==X&&n.getAttribute("id")==t)return e=n,!0}),e},createElement:function(t){var e=new w;e.ownerDocument=this,e.nodeName=t,e.tagName=t,e.childNodes=new o;var n=e.attributes=new u;return n._ownerElement=e,e},createDocumentFragment:function(){var t=new A;return t.ownerDocument=this,t.childNodes=new o,t},createTextNode:function(t){var e=new C;return e.ownerDocument=this,e.appendData(t),e},createComment:function(t){var e=new S;return e.ownerDocument=this,e.appendData(t),e},createCDATASection:function(t){var e=new O;return e.ownerDocument=this,e.appendData(t),e},createProcessingInstruction:function(t,e){var n=new D;return n.ownerDocument=this,n.tagName=n.target=t,n.nodeValue=n.data=e,n},createAttribute:function(t){var e=new I;return e.ownerDocument=this,e.name=t,e.nodeName=t,e.localName=t,e.specified=!0,e},createEntityReference:function(t){var e=new L;return e.ownerDocument=this,e.nodeName=t,e},createElementNS:function(t,e){var n=new w,r=e.split(":"),i=n.attributes=new u;return n.childNodes=new o,n.ownerDocument=this,n.nodeName=e,n.tagName=e,n.namespaceURI=t,2==r.length?(n.prefix=r[0],n.localName=r[1]):n.localName=e,i._ownerElement=n,n},createAttributeNS:function(t,e){var n=new I,r=e.split(":");return n.ownerDocument=this,n.nodeName=e,n.name=e,n.namespaceURI=t,n.specified=!0,2==r.length?(n.prefix=r[0],n.localName=r[1]):n.localName=e,n}},r(y,f),w.prototype={nodeType:X,hasAttribute:function(t){return null!=this.getAttributeNode(t)},getAttribute:function(t){var e=this.getAttributeNode(t);return e&&e.value||""},getAttributeNode:function(t){return this.attributes.getNamedItem(t)},setAttribute:function(t,e){var n=this.ownerDocument.createAttribute(t);n.value=n.nodeValue=""+e,this.setAttributeNode(n)},removeAttribute:function(t){var e=this.getAttributeNode(t);e&&this.removeAttributeNode(e)},appendChild:function(t){return t.nodeType===et?this.insertBefore(t,null):x(this,t)},setAttributeNode:function(t){return this.attributes.setNamedItem(t)},setAttributeNodeNS:function(t){return this.attributes.setNamedItemNS(t)},removeAttributeNode:function(t){return this.attributes.removeNamedItem(t.nodeName)},removeAttributeNS:function(t,e){var n=this.getAttributeNodeNS(t,e);n&&this.removeAttributeNode(n)},hasAttributeNS:function(t,e){return null!=this.getAttributeNodeNS(t,e)},getAttributeNS:function(t,e){var n=this.getAttributeNodeNS(t,e);return n&&n.value||""},setAttributeNS:function(t,e,n){var r=this.ownerDocument.createAttributeNS(t,e);r.value=r.nodeValue=""+n,this.setAttributeNode(r)},getAttributeNodeNS:function(t,e){return this.attributes.getNamedItemNS(t,e)},getElementsByTagName:function(t){return new s(this,function(e){var n=[];return g(e,function(r){r===e||r.nodeType!=X||"*"!==t&&r.tagName!=t||n.push(r)}),n})},getElementsByTagNameNS:function(t,e){return new s(this,function(n){var r=[];return g(n,function(i){i===n||i.nodeType!==X||"*"!==t&&i.namespaceURI!==t||"*"!==e&&i.localName!=e||r.push(i)}),r})}},y.prototype.getElementsByTagName=w.prototype.getElementsByTagName,y.prototype.getElementsByTagNameNS=w.prototype.getElementsByTagNameNS,r(w,f),I.prototype.nodeType=Y,r(I,f),N.prototype={data:"",substringData:function(t,e){return this.data.substring(t,t+e)},appendData:function(t){t=this.data+t,this.nodeValue=this.data=t,this.length=t.length},insertData:function(t,e){this.replaceData(t,0,e)},appendChild:function(t){throw new Error(it[ot])},deleteData:function(t,e){this.replaceData(t,e,"")},replaceData:function(t,e,n){var r=this.data.substring(0,t),i=this.data.substring(t+e);n=r+n+i,this.nodeValue=this.data=n,this.length=n.length}},r(N,f),C.prototype={nodeName:"#text",nodeType:H,splitText:function(t){var e=this.data,n=e.substring(t);e=e.substring(0,t),this.data=this.nodeValue=e,this.length=e.length;var r=this.ownerDocument.createTextNode(n);return this.parentNode&&this.parentNode.insertBefore(r,this.nextSibling),r}},r(C,N),S.prototype={nodeName:"#comment",nodeType:J},r(S,N),O.prototype={nodeName:"#cdata-section",nodeType:W},r(O,N),P.prototype.nodeType=tt,r(P,f),T.prototype.nodeType=nt,r(T,f),R.prototype.nodeType=Q,r(R,f),L.prototype.nodeType=$,r(L,f),A.prototype.nodeName="#document-fragment",A.prototype.nodeType=et,r(A,f),D.prototype.nodeType=K,r(D,f),M.prototype.serializeToString=function(t,e,n){return F.call(t,e,n)},f.prototype.toString=F;try{Object.defineProperty&&(Object.defineProperty(s.prototype,"length",{get:function(){return a(this),this.$$length}}),Object.defineProperty(f.prototype,"textContent",{get:function(){return q(this)},set:function(t){switch(this.nodeType){case X:case et:for(;this.firstChild;)this.removeChild(this.firstChild);(t||String(t))&&this.appendChild(this.ownerDocument.createTextNode(t));break;default:this.data=t,this.value=t,this.nodeValue=t}}}),B=function(t,e,n){t["$$"+e]=n})}catch(t){}e.DOMImplementation=h,e.XMLSerializer=M},function(t,e,n){"use strict";function r(t){var e=[1/0,1/0,-(1/0),-(1/0)];return i.coordEach(t,function(t){e[0]>t[0]&&(e[0]=t[0]),e[1]>t[1]&&(e[1]=t[1]),e[2]<t[0]&&(e[2]=t[0]),e[3]<t[1]&&(e[3]=t[1])}),e}var i=n(50);t.exports=r,t.exports.default=r},function(t,e,n){"use strict";function r(t,e,n){if(null!==t)for(var i,o,s,a,u,c,l,p,h=0,f=0,d=t.type,g="FeatureCollection"===d,y="Feature"===d,_=g?t.features.length:1,m=0;m<_;m++){l=g?t.features[m].geometry:y?t.geometry:t,p=!!l&&"GeometryCollection"===l.type,u=p?l.geometries.length:1;for(var v=0;v<u;v++){var b=0,E=0;if(a=p?l.geometries[v]:l,null!==a){c=a.coordinates;var x=a.type;switch(h=!n||"Polygon"!==x&&"MultiPolygon"!==x?0:1,x){case null:break;case"Point":if(e(c,f,m,b,E)===!1)return!1;f++,b++;break;case"LineString":case"MultiPoint":for(i=0;i<c.length;i++){if(e(c[i],f,m,b,E)===!1)return!1;f++,"MultiPoint"===x&&b++}"LineString"===x&&b++;break;case"Polygon":case"MultiLineString":for(i=0;i<c.length;i++){for(o=0;o<c[i].length-h;o++){if(e(c[i][o],f,m,b,E)===!1)return!1;f++}"MultiLineString"===x&&b++,"Polygon"===x&&E++}"Polygon"===x&&b++;break;case"MultiPolygon":for(i=0;i<c.length;i++){for("MultiPolygon"===x&&(E=0),o=0;o<c[i].length;o++){for(s=0;s<c[i][o].length-h;s++){if(e(c[i][o][s],f,m,b,E)===!1)return!1;f++}E++}b++}break;case"GeometryCollection":for(i=0;i<a.geometries.length;i++)if(r(a.geometries[i],e,n)===!1)return!1;break;default:throw new Error("Unknown Geometry Type")}}}}}function i(t,e,n,i){var o=n;return r(t,function(t,r,i,s,a){o=0===r&&void 0===n?t:e(o,t,r,i,s,a)},i),o}function o(t,e){var n;switch(t.type){case"FeatureCollection":for(n=0;n<t.features.length&&e(t.features[n].properties,n)!==!1;n++);break;case"Feature":e(t.properties,0)}}function s(t,e,n){var r=n;return o(t,function(t,i){r=0===i&&void 0===n?t:e(r,t,i)}),r}function a(t,e){if("Feature"===t.type)e(t,0);else if("FeatureCollection"===t.type)for(var n=0;n<t.features.length&&e(t.features[n],n)!==!1;n++);}function u(t,e,n){var r=n;return a(t,function(t,i){r=0===i&&void 0===n?t:e(r,t,i)}),r}function c(t){var e=[];return r(t,function(t){e.push(t)}),e}function l(t,e){var n,r,i,o,s,a,u,c,l,p,h=0,f="FeatureCollection"===t.type,d="Feature"===t.type,g=f?t.features.length:1;for(n=0;n<g;n++){for(a=f?t.features[n].geometry:d?t.geometry:t,c=f?t.features[n].properties:d?t.properties:{},l=f?t.features[n].bbox:d?t.bbox:void 0,p=f?t.features[n].id:d?t.id:void 0,u=!!a&&"GeometryCollection"===a.type,s=u?a.geometries.length:1,i=0;i<s;i++)if(o=u?a.geometries[i]:a,null!==o)switch(o.type){case"Point":case"LineString":case"MultiPoint":case"Polygon":case"MultiLineString":case"MultiPolygon":if(e(o,h,c,l,p)===!1)return!1;break;case"GeometryCollection":for(r=0;r<o.geometries.length;r++)if(e(o.geometries[r],h,c,l,p)===!1)return!1;break;default:throw new Error("Unknown Geometry Type")}else if(e(null,h,c,l,p)===!1)return!1;h++}}function p(t,e,n){var r=n;return l(t,function(t,i,o,s,a){r=0===i&&void 0===n?t:e(r,t,i,o,s,a)}),r}function h(t,e){l(t,function(t,n,r,i,o){var s=null===t?null:t.type;switch(s){case null:case"Point":case"LineString":case"Polygon":if(e(b.feature(t,r,{bbox:i,id:o}),n,0)===!1)return!1;return}var a;switch(s){case"MultiPoint":a="Point";break;case"MultiLineString":a="LineString";break;case"MultiPolygon":a="Polygon"}for(var u=0;u<t.coordinates.length;u++){var c=t.coordinates[u],l={type:a,coordinates:c};if(e(b.feature(l,r),n,u)===!1)return!1}})}function f(t,e,n){var r=n;return h(t,function(t,i,o){r=0===i&&0===o&&void 0===n?t:e(r,t,i,o)}),r}function d(t,e){h(t,function(t,n,i){var o=0;if(t.geometry){var s=t.geometry.type;if("Point"!==s&&"MultiPoint"!==s){var a;return r(t,function(r,s,u,c,l){if(void 0===a)return void(a=r);var p=b.lineString([a,r],t.properties);return e(p,n,i,l,o)!==!1&&(o++,void(a=r))})!==!1&&void 0}}})}function g(t,e,n){var r=n,i=!1;return d(t,function(t,o,s,a,u){r=i===!1&&void 0===n?t:e(r,t,o,s,a,u),i=!0}),r}function y(t,e){if(!t)throw new Error("geojson is required");
...
...
This diff is collapsed.
Click to expand it.
client/html/prism.js
+
190080
−
424
View file @
aee3669a
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment