icegl-three-vue-tres/dist/js/buildings.1DaIix631725416517797.js
2024-09-04 10:33:50 +08:00

2 lines
4.2 KiB
JavaScript

import{P as t}from"./tweakpane.yHWGBmom1725416517797.js";import{_ as n,a as o,b as e,l as r}from"./pagesShow.vue_vue_type_script_setup_true_lang.ss_nL2AI1725416517797.js";import{d as s,b as i,a5 as a,q as l,r as c,o as u,f as p,g as f,u as d,J as g}from"./@vue._6MD2XyK1725416517797.js";import"./three.VTQVqxMx1725416517797.js";import"./@tresjs.5lh7VmqZ1725416517797.js";import"./@vueuse.L-salR9N1725416517797.js";import"./three-custom-shader-material.R9Qrt3ei1725416517797.js";import"./object-hash.UdqO8HjX1725416517797.js";import"./@amap.LUDXTi4z1725416517797.js";import"./jszip.7CKSmb6c1725416517797.js";import"./glsl-tokenizer.dGVPr_M11725416517797.js";import"./glsl-token-string.7HmLwuvT1725416517797.js";import"./glsl-token-functions.fONiiOsX1725416517797.js";const h=m;function m(t,n){const o=y();return(m=function(t,n){return o[t-=202]})(t,n)}!function(t,n){const o=m,e=y();for(;;)try{if(193886===-parseInt(o(258))/1+-parseInt(o(220))/2*(-parseInt(o(204))/3)+-parseInt(o(216))/4+-parseInt(o(230))/5*(parseInt(o(232))/6)+parseInt(o(208))/7*(parseInt(o(226))/8)+parseInt(o(225))/9*(parseInt(o(217))/10)+parseInt(o(224))/11)break;e.push(e.shift())}catch(r){e.push(e.shift())}}();const b=function(){let t=!0;return function(n,o){const e=t?function(){if(o){const t=o[m(249)](n,arguments);return o=null,t}}:function(){};return t=!1,e}}();!function(){b(this,(function(){const t=m,n=new RegExp(t(257)),o=new RegExp(t(210),"i"),e=_("init");n.test(e+t(209))&&o[t(242)](e+t(240))?_():e("0")}))()}();const w=function(){let t=!0;return function(n,o){const e=t?function(){if(o){const t=o[m(249)](n,arguments);return o=null,t}}:function(){};return t=!1,e}}();function y(){const t=["call","buildings","length","pagesShowRef","建筑物","994596yslojE","1565180gVTcTJ","action","show","10tfsYBh","console","builds","city","2340712pADhlm","9xyxlcx","1206032EazWIk","addFolder","建筑效果","while (true) {}","30fwsmSy","string","121146SJBjPR","opacity","addBinding","width","bulidingsColor","warn","stateObject","楼宇颜色","input","toString","test","__proto__","log","bind","model",'{}.constructor("return this")( )',"gradient","apply","color","debu","value","constructor","landColor","table","#112233","function *\\( *\\)","41018JaiUER","return (function() ","#000","50781BZvWCh","地面颜色","trace","prototype","7LzVzbk","chain","\\+\\+ *(?:[a-zA-Z_$][0-9a-zA-Z_$]*)"];return(y=function(){return t})()}w(void 0,(function(){const t=m;let n;try{n=Function(t(202)+t(247)+");")()}catch(r){n=window}const o=n[t(221)]=n[t(221)]||{},e=[t(244),t(237),"info","error","exception",t(255),t(206)];for(let s=0;s<e.length;s++){const n=w[t(253)][t(207)][t(245)](w),r=e[s],i=o[r]||n;n[t(243)]=w[t(245)](w),n[t(241)]=i[t(241)][t(245)](i),o[r]=n}}))();const j=s({__name:h(212),async setup(s){const m=h;let b,w;const y=i(),j=i(!1),_=([b,w]=a((()=>r())),b=await b,w(),b);j[m(252)]=!0,l((()=>{const n=m,o=new t({title:n(228),expanded:!0}),e=o[n(227)]({title:"线条"});e[n(234)](I,n(219),{label:"显示"}),e[n(234)](I,"color",{label:"颜色"}),e.addBinding(I,n(235),{label:"宽度",min:0,max:10,step:1}),e[n(234)](I,n(233),{label:"透明度",min:0,max:1,step:.1});const r=o[n(227)]({title:n(215)});r[n(234)](k,"show",{label:"显示"}),r[n(234)](k,n(236),{label:n(239)}),r.addBinding(k,n(248),{label:"渐变"}),r[n(234)](k,n(233),{label:"透明度",min:0,max:1,step:.1}),r[n(234)](k,n(254),{label:n(205)})}));const I=c({width:1,color:m(203),opacity:1,show:!0}),k=c({bulidingsColor:"#e523ff",landColor:m(256),opacity:.9,show:!0,gradient:!0});return(t,r)=>{const s=m;return u(),p(e,{ref_key:s(214),ref:y,showBuildings:!1},{ability:f((()=>[k.show&&j.value?(u(),p(n,{key:0,model:d(_),bulidingsColor:k.bulidingsColor,landColor:k[s(254)],gradient:k.gradient,opacity:k.opacity},null,8,[s(246),s(236),s(254),s(248),s(233)])):g("",!0),I[s(219)]&&j.value?(u(),p(o,{key:1,builds:d(_)[s(223)],width:I[s(235)],color:I[s(250)],opacity:I[s(233)]},null,8,[s(222),"width",s(250),s(233)])):g("",!0)])),_:1},512)}}});function _(t){function n(t){const o=m;if(typeof t===o(231))return function(t){}[o(253)](o(229))[o(249)]("counter");1!==(""+t/t)[o(213)]||t%20==0?function(){return!0}[o(253)](o(251)+"gger")[o(211)](o(218)):function(){return!1}[o(253)](o(251)+"gger")[o(249)](o(238)),n(++t)}try{if(t)return n;n(0)}catch(o){}}export{j as default};