(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4abcab2a"],{"0584":function(e,t,o){"use strict";var n=o("b3df"),a=o.n(n);a.a},"05bc":function(e,t,o){},1565:function(e,t,o){},"1b27":function(e,t,o){"use strict";var n=o("77c8"),a=o.n(n);a.a},"1db6":function(e,t,o){},"28eb":function(e,t,o){},"29b2":function(e,t,o){"use strict";var n;o.d(t,"a",(function(){return a})),o.d(t,"b",(function(){return i}));var a={Data:"jsondata",Send:"getJson",Connection:"connection",Disconnect:"disconnect"};function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=Object({NODE_ENV:"production",VUE_APP_CDN_URL:"",VUE_APP_HIDE_MENU:"scene,decor,virtual,vrhouse,business",VUE_APP_INCLUDEAPPS:"embed,shop,decor,discover,reserve,grave,fire-control,rtc-live",VUE_APP_LANGS:"zh#中文,en#英文,de#德文,fr#法文,jp#日文,kr#韩文,es#西班牙文",VUE_APP_LOCAL_PAGE:"embed",VUE_APP_OEM:"localshow",VUE_APP_OEM_NAEM:"本地版展示页面",VUE_APP_OPENAPI:"",VUE_APP_RTC_SOCKETURL:"",VUE_APP_SERVER_URL:"",VUE_APP_SHOP_ADMIN_URL:"",VUE_APP_SHOP_SOCKETURL:"",VUE_APP_SHOP_URL:"",VUE_APP_STATIC_DIR:"static",VUE_APP_STATIC_URL:"static/",VUE_APP_TESTKEY:"test",VUE_APP_TESTPWD:"11111111Aa",VUE_APP_TESTUSR:"13112311178",VUE_APP_VRHOUSE_OPENAPI:"",VUE_APP_VRHOUSE_URL:"",BASE_URL:""}).VUE_APP_SOCKETURL||e.url,a=Object({NODE_ENV:"production",VUE_APP_CDN_URL:"",VUE_APP_HIDE_MENU:"scene,decor,virtual,vrhouse,business",VUE_APP_INCLUDEAPPS:"embed,shop,decor,discover,reserve,grave,fire-control,rtc-live",VUE_APP_LANGS:"zh#中文,en#英文,de#德文,fr#法文,jp#日文,kr#韩文,es#西班牙文",VUE_APP_LOCAL_PAGE:"embed",VUE_APP_OEM:"localshow",VUE_APP_OEM_NAEM:"本地版展示页面",VUE_APP_OPENAPI:"",VUE_APP_RTC_SOCKETURL:"",VUE_APP_SERVER_URL:"",VUE_APP_SHOP_ADMIN_URL:"",VUE_APP_SHOP_SOCKETURL:"",VUE_APP_SHOP_URL:"",VUE_APP_STATIC_DIR:"static",VUE_APP_STATIC_URL:"static/",VUE_APP_TESTKEY:"test",VUE_APP_TESTPWD:"11111111Aa",VUE_APP_TESTUSR:"13112311178",VUE_APP_VRHOUSE_OPENAPI:"",VUE_APP_VRHOUSE_URL:"",BASE_URL:""}).VUE_APP_SOCKETPATH||e.path;return n=io(o,{path:a||"/",query:t}),n}},"2e3e":function(e,t,o){"use strict";var n=o("1565"),a=o.n(n);a.a},"39ca":function(e,t,o){"use strict";var n=o("05bc"),a=o.n(n);a.a},"3d1b":function(e,t,o){},"3e47":function(e,t,o){},"45d7":function(e,t,o){"use strict";var n=o("6be0"),a=o.n(n);a.a},"496a":function(e,t,o){"use strict";var n=o("3e47"),a=o.n(n);a.a},"516b":function(e,t,o){},"5d48":function(e,t,o){"use strict";var n=o("cd0f"),a=o.n(n);a.a},6135:function(e,t,o){},"6be0":function(e,t,o){},"6dc3":function(e,t,o){},7064:function(e,t,o){"use strict";var n=o("f149"),a=o.n(n);a.a},"733a":function(e,t,o){"use strict";var n=o("3d1b"),a=o.n(n);a.a},7463:function(e,t,o){},"77c8":function(e,t,o){},8229:function(e,t,o){"use strict";var n=o("28eb"),a=o.n(n);a.a},8605:function(e,t,o){},"86a5":function(e,t,o){"use strict";var n=o("f18e"),a=o.n(n);a.a},"8d72":function(e,t,o){},"94ba":function(e,t,o){},"98f1":function(e,t,o){},"9a39":function(e,t,o){"use strict";o.d(t,"e",(function(){return m})),o.d(t,"d",(function(){return P})),o.d(t,"b",(function(){return k})),o.d(t,"a",(function(){return x})),o.d(t,"c",(function(){return O}));var n=o("53ca"),a=(o("7f7f"),o("ac6a"),o("6b54"),o("c75e")),i=o("617a"),s=o("c7b2"),r=o("80c5"),c=o("eb02"),l=o("29b2"),u=null,d=!1,p=null,h=null,f=null,m=i["a"].urlQueryValue("role"),v=i["a"].urlQueryValue("user_id"),y=i["a"].urlQueryValue("room_id");function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";u.emit(t||l["a"].Send,{role:m,roomId:y,userId:v,content:e})}function w(e){if(null==p)return _(e),!1;if(p.mode!=e.mode)return _(e),!1;if(p.mode==r["a"].PANORAMA)return!!p.qua.equals(e.qua)||(_(e),!1);if(p.mode==r["a"].DOLLHOUSE){var t=!0;return e.qua&&p.qua&&(p.qua.equals(e.qua)||(t=!1)),e.pos&&p.pos&&(p.pos.equals(e.pos)||(t=!1)),e.target&&p.target&&(p.target.equals(e.target)||(t=!1)),p.zoom&&(p.zoom.equals(e.zoom)||(t=!1)),t||_(e),t}var o=!0;return p.qua.equals(e.qua)?(p.pos&&(p.pos.equals(e.pos)||(o=!1)),p.zoom&&p.zoom!=e.zoom&&(o=!1)):o=!1,o||_(e),o}function _(e){p={},p.mode=e.mode,e.pos&&(p.pos=new THREE.Vector3,p.pos.set(e.pos.x,e.pos.y,e.pos.z)),e.qua&&(p.qua=new THREE.Quaternion,p.qua.set(e.qua._x,e.qua._y,e.qua._z,e.qua._w)),e.target&&(p.target=new THREE.Vector3,p.target.set(e.target.x,e.target.y,e.target.z)),e.zoom&&(p.zoom=e.zoom)}function b(){var e=c["a"].getters["scene/metadata"],t=0;e.entry&&(t=e.entry.pano);var o=new THREE.Quaternion;e.entry&&e.entry.camera&&(o=e.entry.camera.quaternion),C(t,o)}function C(e,t){if(s["app"].player.mode!=r["a"].PANORAMA||e!=s["app"].player.currentPano.id){var o;o=t instanceof Array?(new THREE.Quaternion).fromArray(t):(new THREE.Quaternion).set(t._x,t._y,t._z,t._w);var n={mode:r["a"].PANORAMA,pano:e,qua:o};isNaN(n.qua.x)&&console.log("NaN??????"),s["app"].player.flyToItem(n,null)}}function P(){u?u.emit("startCall"):(u=Object(l["b"])({url:"",path:"/vr-node"},{role:m,roomId:y,userId:v,scene_num:i["a"].urlQueryValue("m"),customContent:window._houseInfo?window._houseInfo.customContent:""}),u.on(l["a"].Connection,(function(e){console.log(e)})),u.on(l["a"].Disconnect,(function(){s["app"].play.control.onUpdate=!0,d=!1,!1,!1,h&&clearInterval(h),f&&clearInterval(f)})),u.on("vr_request",(function(e){h&&clearInterval(h),f&&clearInterval(f),d=!1,!1,!1;var t=!1,o=!1;if(u.emit("startCall"),e.persons&&e.persons.forEach((function(e){"agent"==e.role?t=!0:"customer"==e.role&&(o=!0,a["a"].emit("vrhouse/socket/action","userId",e.userId))})),t&&o){b();var n=0,i=3;h=setInterval((function(){--i>=1?a["a"].emit("player/counting",i):(a["a"].emit("player/counting",0),d=!0,s["app"].play.control.onUpdate=!1,"agent"==m&&!0,"customer"==m&&!0,clearInterval(h),f=setInterval((function(){a["a"].emit("vrhouse/socket/action","time",++n)}),1e3),a["a"].emit("vrhouse/socket/action","time",n))}),1e3),a["a"].emit("player/counting",i),a["a"].emit("vrhouse/socket/action","sync",!0)}else a["a"].emit("vrhouse/socket/action","sync",!1),a["a"].emit("vrhouse/socket/action","time",-1)})),u.on("action",(function(e){e&&("string"===typeof e?a["a"].emit("vrhouse/socket/action",e):a["a"].emit("vrhouse/socket/action",e.name,e.data,e.role))})),u.on("vr_response",(function(e){if(e.content.drawing)a["a"].emit("vrhouse/socket/action","drawing",e);else if(d&&s["app"].player.cameraControls.activeControl){if(e.role==m)return;if("undefined"!=typeof e.content.onUpdate&&(s["app"].play.control.onUpdate=e.content.onUpdate,console.log(s["app"].play.control.onUpdate),"agent"!=m||s["app"].play.control.onUpdate||a["a"].emit("vrhouse/socket/action","operation-tips")),"undefined"!=typeof e.content.scale&&(s["app"].player.cameraControls.activeControl.absoluteScale=e.content.scale,s["app"].player.cameraControls.activeControl.updateZoom()),s["app"].play.control.onUpdate)return;if(e.content.item){if(w(e.content.item))return;(e.content.item.mode!=s["app"].player.mode||e.content.item.mode==s["app"].player.mode&&e.content.item.mode==r["a"].PANORAMA)&&C(e.content.item.pano,e.content.item.qua),s["app"].player.copyCameraProp(s["app"].player.cameraControls.activeControl,e.content.item),s["app"].player.adjustControlAngel()}else if(e.content.toPano)e.content.toPano.pano=s["app"].player.model.panos.get(e.content.toPano.panoId),s["app"].player.adjustControlAngel({target:new THREE.Vector3(s["app"].player.cameraControls.activeControl.target.x,s["app"].player.cameraControls.activeControl.target.y,s["app"].player.cameraControls.activeControl.target.z)}),s["app"].player.currentPano.id!=e.content.toPano&&s["app"].player.flyToPano(e.content.toPano);else if(e.content.newModeInfo){if(e.content.newModeInfo.panoId&&(e.content.newModeInfo.pano=s["app"].player.model.panos.get(e.content.newModeInfo.panoId)),e.content.newModeInfo.quaternion){var t=e.content.newModeInfo.quaternion;e.content.newModeInfo.quaternion=new THREE.Quaternion,e.content.newModeInfo.quaternion.set(t._x,t._y,t._z,t._w)}s["app"].player.flyToNewMode(e.content.newModeInfo)}else console.warn(e)}})))}function k(){f&&clearInterval(f),a["a"].emit("vrhouse/socket/action","time",-1),u&&(u.emit("stopCall"),u.disconnect(),u=null,"customer"==m&&a["a"].emit("vrhouse/socket/action","sync",!1))}function x(e){u&&("object"===Object(n["a"])(e)&&(e.role=m),g({action:e}))}function O(e){g({drawing:e})}s["app"].player.cameraControls.on("vr_freedom",(function(e){d&&!s["app"].play.control.onUpdate&&(u.emit(l["a"].Send,{role:m,roomId:y,userId:v,content:{onUpdate:!1}}),s["app"].play.control.onUpdate=!0)})),s["app"].player.on("vr_Rotate",(function(e){if(d){var t={};t.qua=e.quaternion,t.mode=e.mode,t.pos=e.position,e.cameraControls.activeControl.currentScale&&(t.zoom=e.cameraControls.activeControl.currentScale/($("#player").width()/$("#player").height())),t.type="Rotate",w(t)||(e.mode==r["a"].PANORAMA?t.pano=e.currentPano.id:e.mode==r["a"].FLOORPLAN&&(t.pos=(new THREE.Vector3).set(e.position.x,e.position.y,e.position.z),t.zoom=e.cameraControls.activeControl.currentScale/($("#player").width()/$("#player").height())),e.cameraControls.activeControl.target&&(t.pos=e.position,t.target=e.cameraControls.activeControl.target),s["app"].play.control.onUpdate&&u.emit(l["a"].Send,{role:m,roomId:y,userId:v,content:{item:t}}))}})),s["app"].player.on("vr_Zoom",(function(e){if(d){var t=e.cameraControls.activeControl.absoluteScale;u.emit(l["a"].Send,{role:m,roomId:y,userId:v,content:{scale:t}})}})),s["app"].player.on("vr_FlyToPano",(function(e){d&&(e.socketed=!0,u.emit(l["a"].Send,{role:m,roomId:y,userId:v,content:{toPano:e}}),console.log("flytopano"+e.toString()))})),s["app"].player.on("vr_FlyToNewMode",(function(e){d&&(e.socketed=!0,u.emit(l["a"].Send,{role:m,roomId:y,userId:v,content:{newModeInfo:e}}),s["app"].play.control.onUpdate=!1)})),a["a"].on("vrhouse/painting",(function(e){u.emit(l["a"].Send,{role:m,roomId:y,userId:v,content:{drawing:e}})}))},"9c10":function(e,t,o){},"9c66":function(e,t,o){"use strict";var n=o("1db6"),a=o.n(n);a.a},"9f87":function(e,t,o){"use strict";var n=o("8d72"),a=o.n(n);a.a},aede:function(e,t,o){"use strict";var n=o("6135"),a=o.n(n);a.a},b040:function(e,t,o){},b3df:function(e,t,o){},ccb8:function(e,t,o){"use strict";o.r(t);var n=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"app-layout"},[o("div",{staticClass:"app-player"},[o("player"),o("Floor")],1),e.show?o("app-header",{style:{zIndex:e.showGoods?1:9999}}):e._e(),e.show?o("app-main"):e._e()],1)},a=[],i=(o("8e6e"),o("ac6a"),o("456d"),o("ade3")),s=o("2f62"),r=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("player",{ref:"player"})},c=[],l=o("b31b"),u=o("c7b2"),d={components:{Player:l["a"]},created:function(){var e=this;this.$store.commit("SetPlayerOptions",{showUI:!1}),this.$bus.on("ready",(function(){u["app"].player.tagManager.hideAllTags(),e.$bus.emit("rule/Visible",!1,"vrhouse")}))},mounted:function(){var e=this;this.$refs.player.start(),u["app"].player.on("player/flyToNext",(function(t){e.$bus.emit("shop/player/mode",t)}))},methods:{init:function(){}}},p=d,h=o("2877"),f=Object(h["a"])(p,r,c,!1,null,null,null),m=f.exports,v=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"header",class:{disable:e.disable}},[e.showHeader?[o("div",{directives:[{name:"show",rawName:"v-show",value:e.show,expression:"show"}],staticClass:"bg",on:{click:e.bgClick}}),e.showTitle?o("div",[o("h2",{staticClass:"title",class:{active:e.show},on:{click:e.changeShow}},[o("p",[e._v("\n "+e._s(e.tempdata.title)+"\n "),o("i",{directives:[{name:"show",rawName:"v-show",value:e.tempdata.description,expression:"tempdata.description"}],staticClass:"iconfont iconscene_tit_arrow"})])]),e.newView?[o("div",{staticClass:"banner-layer"},[e.show?o("Banner",{staticClass:"banner",attrs:{screens:e.banner,type:0,index:e.index},on:{changeIndex:e.changeBanner},scopedSlots:e._u([{key:"item",fn:function(t){var n=t.data;return o(n.component,e._b({tag:"component",staticClass:"item",on:{cb:function(e){return n.cb&&n.cb(e)}}},"component",n.data,!1))}}],null,!1,3555985452)}):e._e()],1),e.imgsShow?o("Dialog",{staticClass:"imgs-dialog"},[o("ImgQuery",{attrs:{info:e.info},on:{quit:e.quitImgs}})],1):e._e(),e.mapShow?o("Dialog",{on:{quit:e.quitMap}},[o("Gaode",{attrs:{lat:e.info.latitude,lng:e.info.longitude}})],1):e._e()]:o("div",{staticClass:"description",class:{show:e.show},on:{click:e.changeShow}},[o("div",[o("div",{staticClass:"stitle"},[e._v(e._s(e.tempdata.title))]),o("div",{staticClass:"content",domProps:{innerHTML:e._s(e.tempdata.description)}})])])],2):e._e(),e.isMiniprogram?o("div",{staticClass:"share",on:{click:function(t){return t.stopPropagation(),e.onShare(t)},touchstart:function(e){e.stopPropagation()}}},[o("i",{staticClass:"iconfont iconscene_tit_share"})]):e._e(),o("Map",{directives:[{name:"show",rawName:"v-show",value:!e.show,expression:"!show"}],ref:"map"})]:o("span",{staticClass:"back",on:{click:e.onBack}},[o("i",{staticClass:"iconfont icon_back"})])],2)},y=[],g=(o("96cf"),o("1da1")),w=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"map",class:{hide:e.isSide,hyaline:!e.show}},[o("div",{directives:[{name:"show",rawName:"v-show",value:"pano"!=e.mode,expression:"mode!='pano'"}],staticClass:"tab-layer"},[o("div",{staticClass:"tabs",class:{disable:!e.modeCanSwitch}},[o("span",{class:{active:"2d"===e.mode},on:{click:function(t){return e.changeMode("2d")}}},[o("i",{staticClass:"iconfont iconscene_map_2d"}),e._v("\n "+e._s(e.$t("show.switch_2d"))+"\n ")]),o("span",{class:{active:"3d"===e.mode},on:{click:function(t){return e.changeMode("3d")}}},[o("i",{staticClass:"iconfont iconscene_map_3d"}),e._v("\n "+e._s(e.$t("show.switch_3d"))+"\n ")])])]),o("div",{directives:[{name:"show",rawName:"v-show",value:"pano"==e.mode,expression:"mode=='pano'"}],staticClass:"map-layer",on:{click:function(t){return e.changeMode("2d")}}},[o("div",{ref:"cad",staticClass:"cad",staticStyle:{width:"90px",height:"110px"}}),o("p",{staticClass:"change",on:{click:function(t){return t.stopPropagation(),e.changeMode("3d")}}},[o("i",{staticClass:"iconfont iconscene_map_3d"}),e._v("\n "+e._s(e.$t("show.switch_3d"))+"\n ")])]),o("span",{directives:[{name:"show",rawName:"v-show",value:"pano"==e.mode,expression:"mode=='pano'"}],staticClass:"btn-side",on:{click:function(t){t.stopPropagation(),e.isSide=!e.isSide}}},[o("i",{staticClass:"iconfont",class:[e.isSide?"icon_back":"icon_forward"]})])])},_=[],b=o("26d4"),C=o("6860");o("9a39");function P(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function k(e){for(var t=1;t280?e.info.simpleDesc.substr(0,280)+"...":e.info.simpleDesc)+"\n ")]),e.info.introduceVideo?o("div",{staticClass:"video"},[o("ivideo",{attrs:{info:e.info}})],1):e._e()])},z=[],F=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"video-layer"},[o("div",{on:{click:e.clickHandle}},[o("video",{ref:"video",attrs:{src:e.info.introduceVideo,poster:e.info.introduceVideoCover,"x5-video-player-type":"h5-page",controlslist:"nodownload",disablepictureinpicture:"","webkit-playsinline":"","x-webkit-airplay":"",playsinline:""}}),e.paused?o("span",{staticClass:"pause"},[o("i",{staticClass:"iconfont iconrinfo_play"})]):o("span",{staticClass:"play"},[o("i",{staticClass:"iconfont iconCombinedShape"})])])])},Q=[],G={props:["info"],data:function(){return{paused:!0}},methods:{clickHandle:function(){this.paused?this.$refs.video.play():this.$refs.video.pause()}},mounted:function(){var e=this;this.onPlay=function(){return e.paused=!1},this.onPause=function(){return e.paused=!0},this.$refs.video.addEventListener("play",this.onPlay,!1),this.$refs.video.addEventListener("pause",this.onPause,!1)},beforeDestroy:function(){this.$refs.video.pause(),this.$refs.video.removeEventListener("play",this.onPlay,!1),this.$refs.video.removeEventListener("pause",this.onPause,!1)}},W=G,J=(o("e93e"),Object(h["a"])(W,F,Q,!1,null,"4125d536",null)),K=J.exports,Y={0:"服饰",1:"家具",2:"数码",3:"娱乐",4:"其他"},Z={props:["info"],computed:{typeName:function(){return Y[this.info.type]}},components:{ivideo:K}},X=Z,ee=(o("2e3e"),Object(h["a"])(X,B,z,!1,null,"10cfb278",null)),te=ee.exports,oe=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"img-layer"},[o("i",{staticClass:"iconfont iconclose",on:{click:function(t){return e.$emit("quit")}}}),e.current?o("div",{staticClass:"banner-layer",on:{touchstart:function(e){e.stopPropagation()}}},[e.showBanner?o("Banner",{staticClass:"banner",attrs:{screens:e.current,index:e.index},on:{changeIndex:e.changeIndex},scopedSlots:e._u([{key:"item",fn:function(t){var n=t.data;return o("div",{staticClass:"item"},[o("img",{attrs:{src:~e.origins.indexOf(n)?n.origin:n.abridge,alt:""}})])}}],null,!1,619343202)}):e._e(),o("a",{directives:[{name:"show",rawName:"v-show",value:!~e.origins.indexOf(e.current[e.index]),expression:"!~origins.indexOf(current[index])"}],staticClass:"query-origin",on:{click:function(t){return e.clickLoadding()}}},[~e.loads.indexOf(e.current[e.index])?[o("i",{staticClass:"iconfont icon_loading_"}),e._v("加载中\n ")]:[e._v("查看原图")]],2)],1):e._e()])},ne=[],ae=(o("7514"),o("28a5"),[]),ie={props:["info","estate"],data:function(){return{left:0,index:0,showBanner:!0,current:null,screens:[],origins:ae,loads:[]}},watch:{current:function(){var e=this;this.showBanner=!1,this.index=0,this.$nextTick((function(){return e.showBanner=!0}))},info:function(){this.extract()}},methods:{clickLoadding:function(){this.loading()},loading:function(){var e=this,t=this.current[this.index];if(!~this.loads.indexOf(t)){var o=new Image;o.onload=function(){ae.push(t),e.origins.push(t),e.loads.splice(e.loads.indexOf(t),1)},o.onerror=function(e){console.log("-0-",e)},o.src=t.origin,this.loads.push(t)}},changeIndex:function(e){this.index=e},changeCurrent:function(e,t){this.left=e.target.offsetLeft+"px",this.current=t},extract:function(){var e=this.info.picList.split("#$#"),t=[];t=e.map((function(e){return{abridge:e,origin:e}})),this.origins=t.filter((function(e){return ae.some((function(t){return t.origin===e.origin}))})),console.log(this.origins,ae),this.current=t}},mounted:function(){this.extract()},components:{Banner:N}},se=ie,re=(o("fa0f"),Object(h["a"])(se,oe,ne,!1,null,"0fadf222",null)),ce=re.exports,le=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"album",on:{click:e.clickHandle}},[o("div",{staticClass:"single",style:e.images[0]&&{backgroundImage:"url("+e.images[0]+")"}}),e.images.length>=2?o("div",{staticClass:"more"},[e.images[1]?o("div",{style:e.images[1]&&{backgroundImage:"url("+e.images[1]+")"}}):e._e(),o("div",{style:e.images[2]&&{backgroundImage:"url("+e.images[2]+")"}},[e.images[2]?o("div",[o("span",[o("b",[e._v("+"+e._s(e.picList.length))]),e._v("\n 查看更多\n ")])]):e._e()])]):e._e()])},ue=[],de={props:["info"],data:function(){return{images:[],picList:[]}},methods:{clickHandle:function(){this.$emit("cb")},extract:function(){console.log(this.info.picList),this.picList=this.info.picList.split("#$#"),this.images=this.info.picList.split("#$#").splice(0,3)}},watch:{info:function(){this.extract()}},mounted:function(){this.extract()}},pe=de,he=(o("e037"),Object(h["a"])(pe,le,ue,!1,null,"49de09ce",null)),fe=he.exports,me=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{ref:"layer",staticClass:"map-layer",class:{abridge:e.abridge},on:{click:e.clickHandle}},[e.abridge?[o("img",{attrs:{src:e.img}}),e._m(0)]:o("div",{ref:"map",staticClass:"container"})],2)},ve=[function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("span",[e._v("\n 查看周边\n "),o("i",{staticClass:"iconfont iconmaps_enlarge"})])}],ye="e661b00bdf2c44cccf71ef6070ef41b8",ge="3bddec1685d461c2271a6099cde02fd2";function we(){return new Promise((function(e,t){if(window.AMap)e(window.AMap);else{var o=document.createElement("script");o.type="text/javascript",o.async=!0,o.src="https://webapi.amap.com/maps?v=1.4.15&key=".concat(ye,"&plugin=AMap.Geocoder&callback=initAMap"),o.onerror=t,document.head.appendChild(o)}window.initAMap=function(){e(window.AMap)}}))}var _e="http://webapi.amap.com/theme/v1.3/markers/n/mark_b.png",be={props:["abridge","lat","lng"],data:function(){return{width:0,height:0,zoom:13}},methods:{initAMap:function(){var e=Object(g["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,we();case 2:t=e.sent,this.map=new t.Map(this.$refs.map,{resizeEnable:!0,zoom:this.zoom,center:[this.lng,this.lat]}),new t.Marker({position:new t.LngLat(this.lng,this.lat),map:this.map,icon:_e,clickable:!1});case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),clickHandle:function(){this.$emit("cb")}},computed:{img:function(){return 0===this.width||0===this.height?"":"https://restapi.amap.com/v3/staticmap?location=".concat(this.lng,",").concat(this.lat,"&zoom=").concat(this.zoom,"&size=").concat(this.width,"*").concat(this.height,"&key=").concat(ge,"&markers=-1,").concat(_e,",:").concat(this.lng,",").concat(this.lat)}},mounted:function(){this.abridge?(this.width=this.$refs.layer.offsetWidth,this.height=this.$refs.layer.offsetHeight):this.initAMap()}},Ce=be,Pe=(o("9f87"),Object(h["a"])(Ce,me,ve,!1,null,"4aecea1a",null)),ke=Pe.exports,xe=o("617a"),Oe=o("c75e"),Se=o("80c5"),Te=o("29b2"),Ee=xe["a"].urlQueryValue("role")||"leader",$e=xe["a"].urlQueryValue("user_id"),Ie=xe["a"].urlQueryValue("room_id");var Ae,je=null,Me=!1,Ve=null,Le=!1;function Re(){Ae&&clearTimeout(Ae)&&(Ae=null),u["app"].player.model.fadePanoMarkers(null,null,{vrCustomer:!1})}function De(){u["app"].player.model?(u["app"].player.model.fadePanoMarkers(0,0,{vrCustomer:!0,hideVideoFlag:!0}),Ae=null):Ae=setTimeout((function(){De()}),30)}function Ue(e,t){("leader"==Ee||t)&&je&&je.emit("webSyncAction",e)}function qe(e,t){je&&je.emit("clientSyncAction",{sender:"h5",type:e,data:t})}function He(e){if(null==Ve)return Ne(e),!1;if(Ve.mode!=e.mode)return Ne(e),!1;if(Ve.mode==Se["a"].PANORAMA)return!!Ve.qua.equals(e.qua)||(Ne(e),!1);if(Ve.mode==Se["a"].DOLLHOUSE){var t=!0;return e.qua&&Ve.qua&&(Ve.qua.equals(e.qua)||(t=!1)),e.pos&&Ve.pos&&(Ve.pos.equals(e.pos)||(t=!1)),e.target&&Ve.target&&(Ve.target.equals(e.target)||(t=!1)),Ve.zoom&&(Ve.zoom.equals(e.zoom)||(t=!1)),t||Ne(e),t}var o=!0;return Ve.qua.equals(e.qua)?(Ve.pos&&(Ve.pos.equals(e.pos)||(o=!1)),Ve.zoom&&Ve.zoom!=e.zoom&&(o=!1)):o=!1,o||Ne(e),o}function Ne(e){Ve={},Ve.mode=e.mode,e.pos&&(Ve.pos=new THREE.Vector3,Ve.pos.set(e.pos.x,e.pos.y,e.pos.z)),e.qua&&(Ve.qua=new THREE.Quaternion,Ve.qua.set(e.qua._x,e.qua._y,e.qua._z,e.qua._w)),e.target&&(Ve.target=new THREE.Vector3,Ve.target.set(e.target.x,e.target.y,e.target.z)),e.zoom&&(Ve.zoom=e.zoom)}function Be(e,t,o,n,a,i){var s;console.log(arguments),s=t instanceof Array?(new THREE.Quaternion).fromArray(t):(new THREE.Quaternion).set(t._x,t._y,t._z,t._w);var r={mode:o,pano:e,qua:s,pos:n,target:a,zoom:i};isNaN(r.qua.x)&&console.log("NaN??????"),u["app"].player.flyToItem(r,(function(){u["app"].play.control.noFly=!0,Le=!0}))}function ze(e){if(!je&&Ie&&$e){var t={url:"",path:"/vr-node"},o={role:Ee,roomId:Ie,userId:$e,sceneNum:xe["a"].urlQueryValue("m"),userLimitNum:5},n=xe["a"].urlHashValue("socket");if(n)try{n=JSON.parse(decodeURIComponent(n)),t={url:n.socketHost,path:n.path},o.userLimitNum=n.options.userLimitNum}catch(a){console.error("socket参数转换出错")}je=Object(Te["b"])(t,o),je.on("connect",(function(){e&&(qe("cart",!0),qe("ready",xe["a"].urlQueryValue("m")))})),je.on("disconnect",(function(){})),je.on("webSyncAction",(function(e){if(e.type&&Oe["a"].emit("shop/sync/action",e),"leader"==Ee&&e.init){var t={follow:1,mode:u["app"].player.mode,qua:u["app"].player.quaternion,panoId:u["app"].player.currentPano.id};"floorplan"==t.mode&&(t.zoom=u["app"].player.cameraControls.activeControl.currentScale/($("#player").width()/$("#player").height())),("floorplan"==t.mode||"dollhouse"==t.mode)&&(t.target=u["app"].player.cameraControls.activeControl.target,t.pos=u["app"].player.cameraControls.activeControl.camera.position),Ue(t)}if(Me&&u["app"].player.cameraControls.activeControl){if(e.follow){var o=u["app"].model.panos.get(e.panoId);return void(o||u["app"].player.linkViewManager.inited?Be(e.panoId,e.qua,e.mode,e.pos,e.target,e.zoom):Oe["a"].on("link/data/load",(function(){Be(e.panoId,e.qua,e.mode,e.pos,e.target,e.zoom)})))}if("undefined"!=typeof e.onUpdate&&(u["app"].play.control.onUpdate=e.onUpdate,"leader"!=Ee||u["app"].play.control.onUpdate||Oe["a"].emit("vrhouse/socket/action","operation-tips")),"undefined"!=typeof e.scale&&(u["app"].player.cameraControls.activeControl.absoluteScale=e.scale,u["app"].player.cameraControls.activeControl.updateZoom()),u["app"].play.control.onUpdate)return;if(e.item){if(He(e.item))return;Le?e.item.mode==Se["a"].PANORAMA&&e.item.pano!=u["app"].player.currentPano.id?a():(u["app"].player.copyCameraProp(u["app"].player.cameraControls.activeControl,e.item,{transitionQua:!0}),u["app"].player.adjustControlAngel()):e.item.pano==u["app"].player.currentPano.id?(Le=!0,u["app"].player.copyCameraProp(u["app"].player.cameraControls.activeControl,e.item),u["app"].player.adjustControlAngel()):a()}else if(e.toPano){if(e.toPano.pano=u["app"].player.model.panos.get(e.toPano.panoId),u["app"].player.currentPano.id!=e.toPano){if(e.toPano.follow=!0,e.toPano.quaternion){var n=e.toPano.quaternion;e.toPano.quaternion=new THREE.Quaternion(n._x,n._y,n._z,n._w)}u["app"].player.flyToPano(e.toPano,(function(){Le=!0}))}}else if(e.newModeInfo){if(e.newModeInfo.panoId&&(e.newModeInfo.pano=u["app"].player.model.panos.get(e.newModeInfo.panoId)),e.newModeInfo.follow=!0,e.newModeInfo.callback=function(){Le=!0},e.newModeInfo.quaternion){n=e.newModeInfo.quaternion;e.newModeInfo.quaternion=new THREE.Quaternion(n._x,n._y,n._z,n._w)}u["app"].player.flyToNewMode(e.newModeInfo)}}function a(){var t;t=e.item.qua instanceof Array?(new THREE.Quaternion).fromArray(e.item.qua):(new THREE.Quaternion).set(e.item.qua._x,e.item.qua._y,e.item.qua._z,e.item.qua._w);var o={mode:Se["a"].PANORAMA,pano:e.item.pano,qua:t};isNaN(o.qua.x)&&console.log("NaN??????"),u["app"].play.control.noFly=!1,u["app"].player.flyToItem(o,(function(){Le=!0})),u["app"].play.control.noFly=!0}})),je.on("clientSyncAction",(function(e){"sync"==e.type?Qe():"back"==e.type?Ge():"newRoom"==e.type&&e.data&&e.data.roomId&&("customer"==Ee&&Re(),Ee="leader",Ie=e.data.roomId,$e=e.data.userId,Fe(),setTimeout((function(){ze(!0)}),100)),Oe["a"].emit("shop/app/action",e)})),je.on("changeVoiceStatus",(function(e){Oe["a"].emit("shop/sync/action",{type:"users",data:e.roomsPerson})})),je.on("roomIn",(function(e){Me=!0,!0,!0,"customer"==Ee&&(u["app"].play.control.onUpdate=!1,setTimeout((function(){u["app"].ready?Ue({init:1},!0):Oe["a"].on("loaded",(function(){Ue({init:1},!0)}))}),100)),Oe["a"].emit("shop/sync/action",{type:"users",data:e.roomsPerson})})),je.on("roomInFail",(function(e){setTimeout((function(){Oe["a"].emit("shop/sync/action",{type:e.type})}),1500)})),je.on("roomClose",(function(e){Me=!1,!1,!1,e&&"3002"==e.code?Oe["a"].emit("shop/sync/action",{type:"dissolve"}):Oe["a"].emit("shop/sync/action",{type:"close"})})),je.on("someOneInRoom",(function(e){Oe["a"].emit("shop/sync/action",{type:"users",user:e.user,data:e.roomsPerson}),Oe["a"].emit("shop/sync/action",{type:"online",user:e.user,isOnline:!0})})),je.on("someOneLeaveRoom",(function(e){Oe["a"].emit("shop/sync/action",{type:"users",user:e.user,data:e.roomsPerson}),Oe["a"].emit("shop/sync/action",{type:"online",user:e.user,isOnline:!1})})),je.on("roomPersonChange",(function(e){Oe["a"].emit("shop/sync/action",{type:"userChange",data:e.roomsPerson,user:e.user,isOnline:"inRoom"==e.actionName})})),je.on("action",(function(e){}))}}function Fe(){je&&(Ge(),je.close(),je=null)}function Qe(){je&&je.emit("startCall"),"customer"==Ee&&De()}function Ge(){je&&je.emit("stopCall"),u["app"].play.control.noFly=!1,Me=!1,!1,!1,u["app"].play.control.onUpdate=!0}function We(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Je(e){for(var t=1;t0?o("div",{staticClass:"iconfont ",class:[this.status.isPlaying?"iconscene_stop":"iconguided"],style:e.status.isPlaying?"color:#ED5D18;":"",on:{click:function(t){return e.tabBarClick(1)}}},[1==e.tabBarType&&e.showTabbarTip&&e.status.isPlaying?o("div",{staticClass:"iconTip"},[e._v(e._s(e.$t("rtcLive.openGuided")))]):e._e(),1==e.tabBarType&&e.showTabbarTip&&!e.status.isPlaying?o("div",{staticClass:"iconTip"},[e._v(e._s(e.$t("rtcLive.closeGuided")))]):e._e()]):e._e(),o("div",{staticClass:"iconfont iconshowing",on:{click:function(t){return e.tabBarClick(2)}}}),o("div",{staticClass:"iconfont iconhot_spot",style:e.hotSpot?"color:#ED5D18;":"",on:{click:function(t){return e.tabBarClick(3)}}},[3==e.tabBarType&&e.showTabbarTip&&e.hotSpot?o("div",{staticClass:"iconTip"},[e._v(e._s(e.$t("rtcLive.openHotSpot")))]):e._e(),3==e.tabBarType&&e.showTabbarTip&&!e.hotSpot?o("div",{staticClass:"iconTip"},[e._v(e._s(e.$t("rtcLive.closeHotSpot")))]):e._e()]),o("div",{staticClass:"iconfont iconvr",on:{click:function(t){return e.tabBarClick(4)}}})]),o("div",{staticClass:"tabBtn iconfont iconarrows",class:{hide:!e.showMore},on:{click:e.onShowMore}})]):e._e()])},it=[],st=o("f121"),rt=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("popup",{attrs:{show:e.show,"is-close":e.showClose},on:{close:function(t){return e.$emit("close")}}},[o("div",{staticClass:"share-x-window",style:{height:e.height},on:{touchstart:function(e){e.stopPropagation()}}},[e.showClose?o("div",{staticClass:"header"},[o("span",{staticClass:"close",on:{click:function(t){return t.stopPropagation(),e.$emit("close")},touchstart:function(t){return t.stopPropagation(),e.$emit("close")}}})]):e._e(),o("div",{staticClass:"main"},[e._t("default")],2),o("div",{staticClass:"footer"},[e._t("footer")],2)])])},ct=[],lt=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("transition",{attrs:{appear:"",name:"custom-classes-transition","enter-active-class":"animated fadeIn faster","leave-active-class":"animated fadeOut faster"}},[e.show?o("div",{staticClass:"x-popup-layer",style:{"z-index":e.zIndex,"background-color":e.bgColor},on:{touchmove:function(e){e.preventDefault()},touchstart:e.onClick}},[e._t("default")],2):e._e()])},ut=[],dt=999;function pt(){return++dt}var ht={name:"x-popup-layer",props:{show:Boolean,isClose:Boolean,bgColor:String},data:function(){return{zIndex:pt()}},methods:{onClick:function(){this.isClose&&this.$emit("close")}}},ft=ht,mt=(o("fff0"),Object(h["a"])(ft,lt,ut,!1,null,"069790dc",null)),vt=mt.exports,yt={components:{Popup:vt},props:{show:Boolean,height:String,showClose:{type:Boolean,default:function(){return!0}}}},gt=yt,wt=(o("496a"),Object(h["a"])(gt,rt,ct,!1,null,"3d9d5ea3",null)),_t=wt.exports,bt=o("ff11");function Ct(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Pt(e){for(var t=1;t=3?2:6-(n-.1)/2.9*2,-1==this._lastLineWidth?o:2*this._lastLineWidth/3+1*o/3},calcDistance:function(e,t){return Math.sqrt((e.x-t.x)*(e.x-t.x)+(e.y-t.y)*(e.y-t.y))},windowToCanvas:function(e,t){var o=this.canvas.getBoundingClientRect();return{x:Math.round(e-o.left),y:Math.round(t-o.top)}},drawing:function(e){for(var t=this,o=function(o){e[o].t&&setTimeout((function(){t.context.beginPath(),t.context.strokeStyle=e[o].role==t.role?t.colorA:t.colorB,t.context.moveTo(e[o].x*t.ratio,e[o].y*t.ratio),t.context.lineTo(e[o+1].x*t.ratio,e[o+1].y*t.ratio),t.context.lineWidth=e[o].width*t.ratio,t.context.lineCap="round",t.context.linJoin="round",t.context.stroke()}),5)},n=0;n=0;o--)if(this.drawHistory[o][0].role==e){this.drawHistory.splice(o,1);break}this.drawHistory.forEach((function(e){for(var o=0;o0)){e.next=33;break}return e.next=30,AgoraRTC.createCameraVideoTrack();case 30:return _o.localVideoTrack=e.sent,e.next=33,_o.client.publish([_o.localVideoTrack]);case 33:if(!(o.audioDevices.length>0)){e.next=39;break}return e.next=36,AgoraRTC.createMicrophoneAudioTrack();case 36:return _o.localAudioTrack=e.sent,e.next=39,_o.client.publish([_o.localAudioTrack]);case 39:console.log("publish success!"),e.next=49;break;case 42:if(!(o.audioDevices.length>0)){e.next=48;break}return e.next=45,AgoraRTC.createMicrophoneAudioTrack();case 45:return _o.localAudioTrack=e.sent,e.next=48,_o.client.publish([_o.localAudioTrack]);case 48:console.log(" publish success!");case 49:i=document.createElement("div"),i.id=a.toString(),i.className="videoPlayer",i.style.width="1.94rem",i.style.height="1.94rem","1"==vo?(Oe["a"].emit("rtc/video_play",1),document.getElementById("myVideo").append(i),_o.localVideoTrack.play(i)):"leader"==yo&&o.videoDevices.length>0&&(Oe["a"].emit("rtc/video_play",2),document.getElementById("userVideo").append(i),_o.localVideoTrack.play(i));case 55:case"end":return e.stop()}}),e)}))),Oo.apply(this,arguments)}function So(e,t){return To.apply(this,arguments)}function To(){return To=Object(g["a"])(regeneratorRuntime.mark((function e(t,o){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("video"!=t){e.next=8;break}if(_o.localVideoTrack){e.next=3;break}return e.abrupt("return");case 3:return e.next=5,_o.localVideoTrack.setEnabled(o);case 5:bo.videoTrackEnabled=o,e.next=13;break;case 8:if(_o.localAudioTrack){e.next=10;break}return e.abrupt("return");case 10:return e.next=12,_o.localAudioTrack.setEnabled(o);case 12:bo.audioTrackEnabled=o;case 13:Oe["a"].emit("rtc/change_media",{type:t,status:o});case 14:case"end":return e.stop()}}),e)}))),To.apply(this,arguments)}function Eo(e,t){return $o.apply(this,arguments)}function $o(){return $o=Object(g["a"])(regeneratorRuntime.mark((function e(t,o){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(_o.localAudioTrack){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,_o.localAudioTrack.setEnabled(!t);case 4:bo.audioTrackEnabled=!t,Oe["a"].emit("socket/memberAudioMuted",t,o);case 6:case"end":return e.stop()}}),e)}))),$o.apply(this,arguments)}function Io(){return Ao.apply(this,arguments)}function Ao(){return Ao=Object(g["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,_o.client.leave();case 2:try{_o.localAudioTrack.close(),_o.localVideoTrack.close()}catch(t){}Co();case 4:case"end":return e.stop()}}),e)}))),Ao.apply(this,arguments)}function jo(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Mo(e){for(var t=1;t1&&(this.$tips({content:this.$t("rtcLive.actionSuccess")}),eo(e,t))},sendCanUndo:function(e){this.canUndo=e},onDraw:function(){this.isBrushes=!this.isBrushes,Ft("paint",this.isBrushes),this.isBrushes?(this.$refs["draw"].onDraw("drawStart"),this.canUndo=this.$refs["draw"].canUndo):this.$refs["draw"].onDraw("drawStop")},onDrawUndo:function(){this.$refs["draw"].onDraw("drawUndo"),this.canUndo=this.$refs["draw"].canUndo},closeSocket:function(){Kt(),Io(),window.location.replace(window.location.href.split("#")[0]+"#/"),this.$parent.page="Home"},handleGetOut:function(e){e==this.user_info.userId&&(this.closeSocket(),this.$tips({content:this.$t("rtcLive.isRemove")}))},sendText:function(){var e=this;if(""!=this.text){var t={role:this.role,mode:this.mode,userName:this.user_info.userName,userId:this.user_info.userId,text:this.text};Zt(t),this.chatList.push(t),this.$nextTick((function(){try{e.$refs["chat"].autoScroll()}catch(t){}e.closeInput()}))}},changeMedia:function(e,t){So(e,t),Xt(Mo({type:e,status:t},this.user_info))},userGetOut:function(e){Yt(e),this.$tips({content:this.$t("rtcLive.removeSuccess")})},userCanSpeak:function(e){to(e)},openDialog:function(e,t){this.$emit("openDialog",e,t)},closeInput:function(){this.showInput=!1,st["a"].isTyping=!1,this.text=""},openMember:function(){this.showMember=!0,this.animateActive=!0},closeMember:function(){var e=this;this.animateActive=!1;setTimeout((function(){e.showMember=!1}),200)},onFocus:function(){this.showInput=!0,this.$nextTick((function(){var e=document.getElementById("input_msg");e.focus(),st["a"].isTyping=!0}))}}),oo),Lo=Vo,Ro=(o("0584"),Object(h["a"])(Lo,Tt,Et,!1,null,"54a10bdd",null)),Do=Ro.exports,Uo=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{attrs:{id:"createdRoom"}},[o("div",{staticClass:"created_dialog"},[o("div",{staticClass:"blurBox"}),o("div",{staticClass:"content"},["leader"==e.role?o("div",{staticClass:"dialog_title"},[e._v(" "+e._s(e.$t("rtcLive.create_VR")))]):o("div",{staticClass:"dialog_title"},[e._v(" "+e._s(e.$t("rtcLive.enter_VR")))]),o("div",{staticClass:"user_name"},[o("input",{directives:[{name:"model",rawName:"v-model.trim",value:e.userName,expression:"userName",modifiers:{trim:!0}}],staticClass:"input_name",attrs:{maxlength:"8",type:"text",placeholder:e.$t("rtcLive.inputName")},domProps:{value:e.userName},on:{input:function(t){t.target.composing||(e.userName=t.target.value.trim())},blur:function(t){return e.$forceUpdate()}}})]),o("div",{staticClass:"created_btn"},[o("div",{staticClass:"created_cancel",on:{click:e.closeCreated}},[e._v(e._s(e.$t("rtcLive.cancel")))]),o("div",{staticClass:"created_confirm",on:{click:e.createdConfirm}},[e._v(e._s(e.$t("rtcLive.confirm")))])])])])])},qo=[];function Ho(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function No(e){for(var t=1;t