"use strict";const e=require("../../common/vendor.js"),r=require("../../common/libraries/map.js"),o=require("./method.js"),u=require("./model.js");require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../gen/Apis.js"),require("../../common/store/useWatermarkStore.js"),require("../../common/store/useWorkStore.js"),require("../../common/libraries/apiLoading.js"),require("../../common/libraries/day.js"),require("../../common/libraries/naviHelper.js"),require("../../common/libraries/upload.js");const l=e.defineComponent({__name:"index",setup:l=>(e.onLoad((e=>{let o=r.getMapAddress();u.useModel.source.value=(null==e?void 0:e.source)||"save",o.then((e=>{u.useModel.address.value=e,console.log(e,"地址")}))})),(r,l)=>{var n,i,s,d,a,t,m,v,c,h,q,f,j,p;return{a:e.t(null==(i=null==(n=e.unref(u.useModel))?void 0:n.time)?void 0:i.value),b:e.t((null==(a=null==(d=null==(s=e.unref(u.useModel))?void 0:s.userInfo)?void 0:d.value)?void 0:a.name)||""),c:e.t(null==(m=null==(t=e.unref(u.useModel))?void 0:t.day)?void 0:m.value),d:e.t(null==(c=null==(v=e.unref(u.useModel))?void 0:v.weekDay)?void 0:c.value),e:e.t((null==(f=null==(q=null==(h=e.unref(u.useModel))?void 0:h.address)?void 0:q.value)?void 0:f.address)||""),f:null==(p=null==(j=e.unref(u.useModel))?void 0:j.devicePosition)?void 0:p.value,g:e.o(((...r)=>{var u,l;return(null==(u=e.unref(o.method))?void 0:u.takePhoto)&&(null==(l=e.unref(o.method))?void 0:l.takePhoto(...r))})),h:e.o(((...r)=>{var u,l;return(null==(u=e.unref(o.method))?void 0:u.handleWatermarkCameraSwitch)&&(null==(l=e.unref(o.method))?void 0:l.handleWatermarkCameraSwitch(...r))}))}})});wx.createPage(l);
