hi-ucs/front/public/leaflet/libs/iClientfor3D/Cesium.js

27 lines
2.2 MiB
Vue
Raw Normal View History

2022-06-14 09:32:49 +08:00
/**
* Modifications copyright (C) 2016 <SuperMap Software Co., Ltd.>
* Cesium - https://github.com/AnalyticalGraphicsInc/cesium
*
* Copyright 2011-2016 Cesium Contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Columbus View (Pat. Pend.)
*
* Portions licensed separately.
* See https://github.com/AnalyticalGraphicsInc/cesium/blob/master/LICENSE.md for full licensing details.
*/
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('!1d(){1f 2WQ,wN,1B;!1d(e){1d t(e,t){1g g.8y(e,t)}1d r(e,t){1f r,n,i,o,a,s,l,u,d,c,1b,f,h=t&&t.gj("/"),p=m.mN,v=p&&p["*"]||{};if(e){1s(e=e.gj("/"),a=e.1r-1,m.5nG&&b.7s(e[a])&&(e[a]=e[a].4z(b,"")),"."===e[0].pI(0)&&h&&(f=h.6t(0,h.1r-1),e=f.tO(e)),d=0;d<e.1r;d++){if(1b=e[d],"."===1b){e.7j(d,1),d-=1}1H{if(".."===1b){if(0===d||1===d&&".."===e[2]||".."===e[d-1]){i5}d>0&&(e.7j(d-1,2),d-=2)}}}e=e.j5("/")}if((h||v)&&p){1s(r=e.gj("/"),d=r.1r;d>0;d-=1){if(n=r.6t(0,d).j5("/"),h){1s(c=h.1r;c>0;c-=1){if(i=p[h.6t(0,c).j5("/")],i&&(i=i[n])){o=i,s=d;1E}}}if(o){1E}!l&&v&&v[n]&&(l=v[n],u=d)}!o&&l&&(o=l,s=u),o&&(r.7j(0,s,o),e=r.j5("/"))}1g e}1d n(t,r){1g 1d(){1f n=y.8y(7r,0);1g"3G"!=1P n[0]&&1===n.1r&&n.1A(1y),c.dS(e,n.tO([t,r]))}}1d i(e){1g 1d(t){1g r(t,e)}}1d o(e){1g 1d(t){h[e]=t}}1d a(r){if(t(p,r)){1f n=p[r];5y p[r],v[r]=!0,d.dS(e,n)}if(!t(h,r)&&!t(v,r)){1v 1h 7f("No "+r)}1g h[r]}1d s(e){1f t,r=e?e.4E("!"):-1;1g r>-1&&(t=e.gT(0,r),e=e.gT(r+1,e.1r)),[t,e]}1d l(e){1g e?s(e):[]}1d u(e){1g 1d(){1g m&&m.1r0&&m.1r0[e]||{}}}1f d,c,1b,f,h={},p={},m={},v={},g=6c.1q.1Z,y=[].6t,b=/\\.js$/;1b=1d(e,t){1f n,o=s(e),l=o[0],u=t[1];1g e=o[1],l&&(l=r(l,u),n=a(l)),l?e=n&&n.2g?n.2g(e,i(u)):r(e,u):(e=r(e,u),o=s(e),l=o[0],e=o[1],l&&(n=a(l))),{f:l?l+"!"+e:e,n:e,pr:l,p:n}},f={wN:1d(e){1g n(e)},cR:1d(e){1f t=h[e];1g"7Z"!=1P t?t:h[e]={}},s6:1d(e){1g{id:e,lD:"",cR:h[e],1r0:u(e)}}},d=1d(r,i,s,u){1f d,c,m,g,y,b,C,w=[],T=1P s;if(u=u||r,b=l(u),"7Z"===T||"1d"===T){1s(i=!i.1r&&s.1r?["wN","cR","s6"]:i,y=0;y<i.1r;y+=1){if(g=1b(i[y],b),c=g.f,"wN"===c){w[y]=f.wN(r)}1H{if("cR"===c){w[y]=f.cR(r),C=!0}1H{if("s6"===c){d=w[y]=f.s6(r)}1H{if(t(h,c)||t(p,c)||t(v,c)){w[y]=a(c)}1H{if(!g.p){1v 1h 7f(r+" 36M "+c)}g.p.lX(g.n,n(u,!0),o(c),{}),w[y]=h[c]}}}}}m=s?s.dS(h[r],w):1i 0,r&&(d&&d.cR!==e&&d.cR!==h[r]?h[r]=d.cR:m===e&&C||(h[r]=m))}1H{r&&(h[r]=s)}},2WQ=wN=c=1d(t,r,n,i,o){if("3G"==1P t){1g f[t]?f[t](r):a(1b(t,l(r)).f)}if(!t.7j){if(m=t,m.3J8&&c(m.3J8,m.WC),!r){1g}r.7j?(t=r,r=n,n=1y):t=e}1g r=r||1d(){},"1d"==1P n&&(n=i,i=o),i?d(e,t,r,n):mM(1d(){d(e,t,r,n)},4),c},c.1r0=1d(e){1g c(e)},2WQ.5nF=h,1B=1d(e,r,n){if("3G"!=1P e){1v 1h 7f("3l5 5nE 2Hf: 2ad s6 Ty, no s6 2N")}r.7j||(n=r,r=[]),t(h,e)||t(p,e)||(p[e]=[e,r,n])},1B.13Q={1zy:!0}}(),1B("1j/1Kk",[],1d(){1d e(e){1g(0===e.1r||"/"!==e[e.1r-1])&&(e+="/"),e}1g e}),1B("1j/1N",[],1d(){1d e(e){1g 1i 0!==e&&1y!==e}1g e}),1B("1j/2I",["./1N"],1d(e){1d t(e){1a.2N="2I",1a.p8=e;1f t;9f{1v 1h 7f}a5(r){t=r.p7}1a.p7=t}1g e(6c.7R)&&(t.1q=6c.7R(7f.1q),t.1q.5r=t),t.1q.6F=1d(){1f t=1a.2N+": "+1a.p8;1g e(1a.p7)&&(t+="\\n"+1a.p7.6F()),t},t.4I=1d(){1v 1h t("fP 1d 5N an 5nD 4y 10c 3c be 7S 2Dm.")},t}),1B("1j/6p",["./1N","./2I"],1d(e,t){1d r(e){1g e+" is 1I, 1wQ 1Y Tm 7Z"}1d n(e,t,r){1g"XA "+r+" to be 1P "+t+", 1wQ 1P Tm "+e}1f i={};1g i.1K={},i.1N=1d(n,i){if(!e(i)){1v 1h t(r(n))}},i.1K.cq=1d(e,r){if("1d"!=1P r){1v 1h t(n(1P r,"1d",e))}},i.1K.3G=1d(e,r){if("3G"!=1P r){1v 1h t(n(1P r,"3G",e))}},i.1K.2a=1d(e,r){if("2a"!=1P r){1v 1h t(n(1P r,"2a",e))}},i.1K.2a.uV=1d(e,r,n){if(i.1K.2a(e,r),r>=n){1v 1h t("XA "+e+" to be hU 4U "+n+", 1wQ 1Y Tm "+r)}},i.1K.2a.h6=1d(e,r,n){if(i.1K.2a(e,r),r>n){1v 1h t("XA "+e+" to be hU 4U or 9n to "+n+", 1wQ 1Y Tm "+r)}},i.1K.2a.j2=1d(e,r,n){if(i.1K.2a(e,r),n>=r){1v 1h t("XA "+e+" to be 6Q 4U "+n+", 1wQ 1Y Tm "+r)}},i.1K.2a.7m=1d(e,r,n){if(i.1K.2a(e,r),n>r){1v 1h t("XA "+e+" to be 6Q 4U or 9n to"+n+", 1wQ 1Y Tm "+r)}},i.1K.1F=1d(e,r){if("1F"!=1P r){1v 1h t(n(1P r,"1F",e))}},i.1K.9I=1d(e,r){if("7v"!=1P r){1v 1h t(n(1P r,"7v",e))}},i.1K.2a.2w=1d(e,r,n,o){if(i.1K.2a(e,n),i.1K.2a(r,o),n!==o){1v 1h t(e+" 2x be 9n to "+r+", 2W 1wQ 2m 9l "+n+" 4y "+o)}},i}),1B("1j/6T",["./1N"],1d(e){1f t=6c.1X1;1g e(t)||(t=1d(e){1g e}),t}),1B("1j/2L",["./6T"],1d(e){1d t(e,t){1g 1i 0!==e&&1y!==e?e:t}1g t.4i=e({}),t}),1B("1j/1Kj",["./6p","./2L"