PageSourceSearch

https://mobile-dtg.com/js/chunk-37a6b32c.bf2ac74b.js

js mobile-dtg.com collected 2026-10-02 00:53:21 UTC 9,057 bytes, 2 lines download raw bytes

1(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-37a6b32c"],{"320f":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-card",[n("v-toolbar",{attrs:{dense:"",color:"transparent",flat:""}},[t._v(" 최근 위치 "),n("v-spacer"),n("v-sheet",{staticClass:"mr-4",attrs:{"max-width":"120"}},[t.existsCompany&&t.isCompanyAdmin?n("CompanySelect"):t._e()],1),n("v-sheet",{attrs:{"max-width":"120"}},[t.existsGroup?n("GroupSelect"):t._e()],1)],1),n("v-divider"),t.existsCompany?n("MonitorMapList"):n("CompanyNotFound")],1)},r=[],a=n("d4ec"),c=n("bee2"),s=n("262e"),o=n("2caf"),u=n("9ab4"),l=n("1b40"),m=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.markers.length?n("GmapMap",{ref:"map",style:t.style,attrs:{center:t.firstMarker,zoom:14}},[n("cluster",t._l(t.filteredDocs,(function(t){return n("DeviceMarker",{key:t.id,attrs:{doc:t}})})),1)],1):n("v-container",[n("v-alert",{staticClass:"mb-0",attrs:{type:"warning",border:"left",outlined:""}},[t._v(" 위치정보가 없습니다 ")])],1)},d=[],v=n("1da1"),b=(n("96cf"),n("4de4"),n("d81d"),n("159b"),n("36cb")),f=n("80a6"),p=n("3879"),h=function(t){Object(s["a"])(n,t);var e=Object(o["a"])(n);function n(){var t;return Object(a["a"])(this,n),t=e.apply(this,arguments),t.unsubscribe=null,t.docs=[],t.bounded=!1,t}return Object(c["a"])(n,[{key:"onChangeCompany",value:function(){this.subscribe()}},{key:"onChangeGroup",value:function(){this.subscribe()}},{key:"style",get:function(){var t=180;this.$vuetify.breakpoint.xs&&(t-=74);var e=this.$vuetify.breakpoint.height-t;return"height: ".concat(e,"px")}},{key:"selectedCompany",get:function(){return f["a"].selectedCompany}},{key:"selectedGroup",get:function(){return f["a"].selectedGroup}},{key:"deviceRef",get:function(){return f["a"].deviceRef}},{key:"filteredDocs",get:function(){return this.docs.filter((function(t){var e=t.data();return e.lastSecond.latitude&&e.lastSecond.longitude}))}},{key:"items",get:function(){return this.filteredDocs.map((function(t){return t.data()}))}},{key:"markers",get:function(){return this.items.map((function(t){return{lat:t.lastSecond.latitude,lng:t.lastSecond.longitude}}))}},{key:"firstMarker",get:function(){return this.markers[0]}},{key:"lastMarker",get:function(){return this.markers[this.markers.length-1]}},{key:"subscribe",value:function(){var t=this;this.unsubscribe=this.deviceRef.limit(100).onSnapshot((function(e){t.docs=e.docs,t.$nextTick((function(){t.fitBounds()}))}))}},{key:"fitBounds",value:function(){var t=Object(v["a"])(regeneratorRuntime.mark((function t(){var e,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(this.items.length){t.next=2;break}return t.abrupt("return");case 2:if(!this.bounded){t.next=4;break}return t.abrupt("return");case 4:return t.next=6,this.map.$mapPromise;case 6:e=t.sent,n=new google.maps.LatLngBounds,this.markers.forEach((function(t){n.extend(t)})),e.fitBounds(n),this.bounded=!0;case 11:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()}]),n}(l["d"]);Object(u["c"])([Object(l["c"])("map")],h.prototype,"map",void 0),Object(u["c"])([Object(l["e"])("selectedCompany")],h.prototype,"onChangeCompany",null),Object(u["c"])([Object(l["e"])("selectedGroup")],h.prototype,"onChangeGroup",null),h=Object(u["c"])([Object(l["a"])({components:{DeviceItem:b["a"],DeviceMarker:p["a"]},mounted:function(){this.subscribe()},destroyed:function(){this.unsubscribe&&this.unsubscribe()}})],h);var y=h,k=y,g=n("2877"),j=n("6544"),O=n.n(j),_=n("0798"),C=n("a523"),x=Object(g["a"])(k,m,d,!1,null,"12f17672",null),V=x.exports;O()(x,{VAlert:_["a"],VContainer:C["a"]});var S=n("4ec6"),w=n("a53e"),D=n("9254"),M=function(t){Object(s["a"])(n,t);var e=Object(o["a"])(n);function n(){var t;return Object(a["a"])(this,n),t=e.apply(this,arguments),t.company=null,t}return Object(c["a"])(n,[{key:"existsCompany",get:function(){return!!f["a"].companies.length}},{key:"existsGroup",get:function(){return!!f["a"].groups.length}},{key:"isCompanyAdmin",get:function(){return f["a"].isCompanyAdmin}}]),n}(l["d"]);M=Object(u["c"])([Object(l["a"])({components:{MonitorMapList:V,CompanySelect:S["a"],GroupSelect:w["a"],CompanyNotFound:D["a"]}})],M);var G=M,I=G,N=n("b0af"),L=n("ce7e"),$=n("8dd9"),T=n("2fa4"),B=n("71d9"),E=Object(g["a"])(I,i,r,!1,null,"3e102a1f",null);e["default"]=E.exports;O()(E,{VCard:N["a"],VDivider:L["a"],VSheet:$["a"],VSpacer:T["a"],VToolbar:B["a"]})},3879:function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("GmapCustomMarker",{attrs:{marker:t.marker,alignment:"center"}},[n("v-menu",{attrs:{"offset-y":""},scopedSlots:t._u([{key:"activator",fn:function(e){var i=e.on;return[n("v-container",{staticClass:"text-center mb-0"},[n("v-chip",{attrs:{label:"",small:"",color:t.color}},[n("v-icon",{attrs:{left:"",small:""}},[t._v(" "+t._s(t.carIcon)+" ")]),t._v(" "+t._s(t.info.plateNo)+" ")],1),n("br"),n("v-icon",t._g({attrs:{large:"",color:"primary"}},i),[t._v(" "+t._s(t.icon)+" ")])],1)]}}]),model:{value:t.menu,callback:function(e){t.menu=e},expression:"menu"}},[n("v-card",[n("v-subheader",[t._v(" 차량정보 "),n("v-spacer"),n("v-btn",{attrs:{icon:""},on:{click:function(e){t.menu=!t.menu}}},[n("v-icon",{attrs:{small:""}},[t._v(" mdi-close ")])],1)],1),n("DeviceInfo",{attrs:{doc:t.doc}})],1)],1)],1)},r=[],a=n("d4ec"),c=n("bee2"),s=n("262e"),o=n("2caf"),u=(n("a9e3"),n("9ab4")),l=n("1b40"),m=n("6cee"),d=n("dc9c"),v=n("752a"),b=n("ba18"),f=function(t){Object(s["a"])(n,t);var e=Object(o["a"])(n);function n(){var t;return Object(a["a"])(this,n),t=e.apply(this,arguments),t.menu=!1,t}return Object(c["a"])(n,[{key:"item",get:function(){return this.doc.data()}},{key:"info",get:function(){return this.item.info}},{key:"second",get:function(){return this.item.lastSecond}},{key:"marker",get:function(){return{lat:this.second.latitude,lng:this.second.longitude}}},{key:"color",get:function(){var t=Object(v["a"])().diff(this.second.time,"seconds");return t<600?"success":"error"}},{key:"icon",get:function(){var t=this.item.lastSecond.azimuth,e=Number((t+22.5)/45);return e>
17&&(e=0),"mdi-arrow-up-bold-circle-outline mdi-rotate-".concat(45*e)}},{key:"carIcon",get:function(){var t={11:"mdi-dump-truck",12:"mdi-bus"},e=t[this.info.vehicleTypeIndex];return e||"mdi-car"}}]),n}(l["d"]);Object(u["c"])([Object(l["b"])({type:Object,required:!0})],f.prototype,"doc",void 0),f=Object(u["c"])([Object(l["a"])({components:{GmapCustomMarker:m["a"],DisplayPhoneNumber:d["a"],DeviceInfo:b["a"]}})],f);var p=f,h=p,y=n("2877"),k=n("6544"),g=n.n(k),j=n("8336"),O=n("b0af"),_=n("cc20"),C=n("a523"),x=n("132d"),V=n("e449"),S=n("2fa4"),w=n("e0c7"),D=Object(y["a"])(h,i,r,!1,null,"0fecbb80",null);e["a"]=D.exports;g()(D,{VBtn:j["a"],VCard:O["a"],VChip:_["a"],VContainer:C["a"],VIcon:x["a"],VMenu:V["a"],VSpacer:S["a"],VSubheader:w["a"]})},ba18:function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-list",[n("v-list-item",[n("v-list-item-content",[n("v-list-item-title",[t._v(" 최종수신시간 ")]),n("v-list-item-subtitle",[n("DisplayTime",{attrs:{time:new Date(t.item.lastSecond.time)}})],1)],1)],1),n("v-list-item",[n("v-list-item-content",[n("v-list-item-title",[t._v(" 장치번호 ")]),n("v-list-item-subtitle",[n("DisplayPhoneNumber",{attrs:{text:t.doc.id}})],1)],1)],1),n("v-list-item",[n("v-list-item-content",[n("v-list-item-title",[t._v(" 차대번호 ")]),n("v-list-item-subtitle",[t._v(" "+t._s(t.item.info.vin||"지정안됨")+" ")])],1)],1),n("v-list-item",[n("v-list-item-content",[n("v-list-item-title",[t._v(" 운전자이름 ")]),n("v-list-item-subtitle",[t._v(" "+t._s(t.item.info.driverName||"지정안됨")+" ")])],1)],1),n("v-list-item",[n("v-list-item-content",[n("v-list-item-title",[t._v(" 펌웨어버전 ")]),n("v-list-item-subtitle",[t._v(" "+t._s(t.item.info.version)+" ")])],1)],1),n("v-list-item",[n("v-list-item-content",[n("v-list-item-title",[t._v(" 장치일련번호 ")]),n("v-list-item-subtitle",[t._v(" "+t._s(t.item.info.serialNo)+" ")])],1)],1)],1)},r=[],a=n("d4ec"),c=n("bee2"),s=n("262e"),o=n("2caf"),u=n("9ab4"),l=n("1b40"),m=n("dc9c"),d=n("8537"),v=function(t){Object(s["a"])(n,t);var e=Object(o["a"])(n);function n(){return Object(a["a"])(this,n),e.apply(this,arguments)}return Object(c["a"])(n,[{key:"item",get:function(){return this.doc.data()||null}},{key:"driverName",get:function(){var t;return(null===(t=this.item)||void 0===t?void 0:t.info.driverName)||"이름없음"}}]),n}(l["d"]);Object(u["c"])([Object(l["b"])({type:Object,required:!0})],v.prototype,"doc",void 0),v=Object(u["c"])([Object(l["a"])({components:{DisplayPhoneNumber:m["a"],DisplayTime:d["a"]}})],v);var b=v,f=b,p=n("2877"),h=n("6544"),y=n.n(h),k=n("8860"),g=n("da13"),j=n("5d23"),O=Object(p["a"])(f,i,r,!1,null,"4fe26a98",null);e["a"]=O.exports;y()(O,{VList:k["a"],VListItem:g["a"],VListItemContent:j["a"],VListItemSubtitle:j["b"],VListItemTitle:j["c"]})}}]);
2//# sourceMappingURL=chunk-37a6b32c.bf2ac74b.js.map

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