PageSourceSearch

https://app.localzen.com/js/260.20b21a51.js

js localzen.com collected 2026-10-02 15:26:17 UTC 20,813 bytes, 2 lines download raw bytes

1"use strict";(globalThis["webpackChunkcenter_local"]=globalThis["webpackChunkcenter_local"]||[]).push([[260],{62812(t,e,s){s.d(e,{A:()=>c});var a=function(){var t=this,e=t._self._c;return t.count?e("div",{staticClass:"items-counter"},[t.suffixText?[t._v(" "+t._s(t.$t(t.suffixText,[t.count]))+" ")]:[t._v(" "+t._s(t.$t(t.prefixText,[t.count]))+" ")]],2):t._e()},i=[];const o={name:"ItemsCounter",props:{count:{type:Number,default:()=>0},prefixText:{type:String,default:"message.common.selectedCount"},suffixText:{type:String}}},n=o;var r=s(81656),l=(0,r.A)(n,a,i,!1,null,"2afb255e",null);const c=l.exports},84169(t,e,s){s.d(e,{A:()=>v});var a=s(73847),i=s(16684),o=s(34636),n=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"show",rawName:"v-show",value:t.totalCount||t.showIfEmpty,expression:"totalCount || showIfEmpty"}],staticClass:"pagination"},[e("div",{staticClass:"pagination-item-container flex-shrink-0",class:{"pagination-item-container--no-overflow":t.centered}},[e("PerPageSelect",{directives:[{name:"show",rawName:"v-show",value:t.showOptions,expression:"showOptions"}],class:{pagination__dropdown:t.centered},attrs:{items:t.perPageOptions,disabled:t.disabled},on:{change:t.onPerPageChange},model:{value:t.selectedPerPage,callback:function(e){t.selectedPerPage=e},expression:"selectedPerPage"}}),t.selectedCount?e("ItemsCounter",{attrs:{count:t.selectedCount}}):t._e()],1),t._t("default"),e("div",{staticClass:"pagination-item-container flex-grow-1"},[t.pages>1?e("div",{staticClass:"pagination-nav"},[e(a.A,{staticClass:"pagination-nav-btn prev-btn",attrs:{icon:"",disabled:t.currentPage<=1||t.disabled},on:{click:function(e){t.currentPage--}}},[e(i.A,{attrs:{size:"24"}},[t._v("mdi-chevron-left")])],1),e(o.A,{staticClass:"page-input",attrs:{value:t.currentPage,outlined:"",rounded:"","hide-details":!0,disabled:t.disabled},on:{input:t.onPageChange}}),e("div",{staticClass:"pages"},[e("span",{staticClass:"pages-of"},[t._v(" "+t._s(t.$t("message.common.ofPages"))+" ")]),e("span",{staticClass:"pages-count"},[t._v(t._s(t.pages))])]),e(a.A,{staticClass:"pagination-nav-btn next-btn",attrs:{icon:"",disabled:t.currentPage>=t.pages||t.disabled},on:{click:function(e){t.currentPage++}}},[e(i.A,{attrs:{size:"24"}},[t._v("mdi-chevron-right")])],1)],1):t._e()]),t.centered?e("div",{staticClass:"pagination-item-container flex-shrink-0 flex-grow-1"}):t._e()],2)},r=[],l=(s(74423),s(44114),s(18111),s(20116),s(61701),s(26203)),c=s(62812),d=s(37584),u=s.n(d),g=s(2543),h=s(16436);const m={name:"Pagination",inheritAttrs:!1,components:{PerPageSelect:l.A,ItemsCounter:c.A},props:{page:{type:Number,required:!0},perPage:{type:Number,required:!0},selectedCount:{type:Number},totalCount:{type:Number,required:!0},options:{type:Array,default:()=>[5,10,15]},disabled:{type:Boolean},showOptions:{type:Boolean,default:()=>!0},showIfEmpty:{type:Boolean,default:!1},centered:{type:Boolean,default:!1}},watch:{perPage(t,e){t!==e&&this.selectPerPage()}},data(){return{selectedPerPage:{name:15,value:15,id:u()()},perPageOptions:[]}},computed:{pages(){return Math.ceil(this.totalCount/this.selectedPerPage.value)},currentPage:{get:function(){return this.page},set:function(t){let e=1;t>=1&&(e=t>this.pages?+this.pages:+t),e!==this.page&&this.$emit("change",{page:e,perPage:this.selectedPerPage.value})}}},mounted(){this.initOptions(),this.selectPerPage()},methods:{initOptions(){this.perPageOptions=this.options.map(t=>({name:this.getOptionLabel(t),value:t,id:u()()})),this.options.includes(this.perPage)||(this.perPageOptions.push({name:this.getOptionLabel(this.perPage),value:this.perPage,id:u()()}),this.perPageOptions=(0,g.sortBy)(this.perPageOptions,"value"))},selectPerPage(){this.selectedPerPage=this.perPageOptions.find(({value:t})=>t===this.perPage)||this.perPageOptions[0]},onPerPageChange(){this.$emit("change",{page:1,perPage:this.selectedPerPage.value})},onPageChange:(0,h.sg)(function(t){this.currentPage=t},500),getOptionLabel(t){return this.$t("message.common.show",[t])}}},p=m;var _=s(81656),P=(0,_.A)(p,n,r,!1,null,"246be5d0",null);const v=P.exports},26203(t,e,s){s.d(e,{A:()=>d});var a=s(96765),i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"per-page"},[e(a.A,t._g(t._b({staticClass:"per-page-select",attrs:{name:"perPageSelect","return-object":"","item-text":"name","hide-details":!0,dense:"",outlined:"","item-value":"value","append-icon":"icon-arrow-down","full-width":""}},"v-select",t.$attrs,!1),t.$listeners))],1)},o=[];const n={name:"PerPageSelect",inheritAttrs:!1},r=n;var l=s(81656),c=(0,l.A)(r,i,o,!1,null,null,null);const d=c.exports},7985(t,e,s){s.d(e,{A:()=>c});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"category"},[t._v(" "+t._s(t.categoryName)+" ")])},i=[];const o={name:"PostListItemCategory",props:{categoryName:{type:String,required:!0}}},n=o;
1var r=s(81656),l=(0,r.A)(n,a,i,!1,null,"08a05972",null);const c=l.exports},51579(t,e,s){s.d(e,{A:()=>d});var a=s(1231),i=function(){var t=this,e=t._self._c;return e(a.A,{staticClass:"d-flex flex-row justify-space-between align-center",attrs:{cols:"12"}},[e("h2",[t._v(" "+t._s(t.title)+" ")]),t._t("default")],2)},o=[];const n={name:"ViewHeader",props:{title:{type:[String,Object],default:""}}},r=n;var l=s(81656),c=(0,l.A)(r,i,o,!1,null,"dc590c72",null);const d=c.exports},60260(t,e,s){s.r(e),s.d(e,{default:()=>Z});var a=s(30089),i=s(70793),o=function(){var t=this,e=t._self._c;return e(i.A,{staticClass:"photos"},[e("ViewHeader",{attrs:{title:t.$t("message.photos.list.title")}},[t.canAddAndDeletePhotos?e("ui-button",{attrs:{to:{name:"photos-add"},color:"primary",icon:"icon-plus"}},[t._v(" "+t._s(t.$t("message.photos.list.addNew"))+" ")]):t._e()],1),e(a.A,{staticClass:"photos__body"},[e("SectionLoader",{attrs:{status:t.initLoading,opacity:1}}),t.hasAnyPhotos&&!t.initLoading?[e("Pagination",t._b({attrs:{"show-options":t.totalCount>0,"show-if-empty":""},on:{change:t.onPaginationChange}},"Pagination",t.paginationProps,!1),[e("div",{staticClass:"d-flex ml-3"},[e("DatePeriodPicker",{attrs:{"initial-date":t.getQueryDateRange(),"preselected-option":t.defaultPeriod,label:t.$t("message.photos.list.sendDate").toString(),"disable-comparison":""},on:{change:t.onDateChange}})],1)]),e("div",{staticClass:"photos__list"},[e("SectionLoader",{attrs:{status:t.loading}}),0!==t.totalCount||t.loading?t._l(t.items,function(s){return e("PhotoListItem",{key:s.id,attrs:{item:s,"show-delete":t.canAddAndDeletePhotos,"show-store-locator":t.hasStoreLocator},on:{delete:function(e){return t.onDelete(s.id,s.created_at,s.sent_count)},"sl-visible":function(e){return t.onToggleVisibility(s.id,e)}}})}):e("PhotosEmpty",{attrs:{message:t.$t("message.photos.list.notFound").toString(),"show-button":t.canAddAndDeletePhotos}})],2),e("Pagination",t._b({attrs:{"show-options":!1,"show-if-empty":""},on:{change:t.onPaginationChange}},"Pagination",t.paginationProps,!1))]:e("PhotosEmpty",{attrs:{"show-button":t.canAddAndDeletePhotos,"main-text":t.optionalEmptyPhotosMessage}})],2)],1)},n=[],r=s(51579),l=s(77972),c=s(92223),d=s(84169),u=s(27977),g=s(85040),h=s(32982),m=s(73847),p=s(15137),_=s(16684),P=s(84551),v=function(){var t=this,e=t._self._c;return e("div",{staticClass:"item",class:{"item--deleted":t.statusText}},[e("div",{staticClass:"item__image",class:{"item__image--empty":!t.hasImage},style:{backgroundImage:t.hasImage?`url('${t.item.data.source_url}')`:""}},[t.hasImage?t._e():[e(_.A,{staticClass:"mb-1",attrs:{color:"primary",size:t.iconSize}},[t._v("icon-photo-add")]),e("p",[t._v(t._s(t.$t("message.posts.list.noPhoto")))])],t.statusText?e("div",{staticClass:"badge badge--deleted"},[e(p.A,{attrs:{color:t.isDeleted?"pink":"teal"}},[t._v(" "+t._s(t.statusText)+" ")])],1):t._e(),e("PostListItemCategory",{attrs:{"category-name":t.categoryName}})],2),e("div",{staticClass:"item__details",class:{"item__details--one-col":!t.showStoreLocator}},[e("div",{staticClass:"item__details--maps"},[e("div",{staticClass:"item__label"},[t._v(" "+t._s(t.$t("message.photos.list.mapsStatus"))+" ")]),e("div",{staticClass:"item__send-status"},[t.isFinished?[e(_.A,{staticClass:"mr-2",attrs:{color:"primary"}},[t._v("icon-status-confirmed")]),e("span",{staticClass:"mr-1"},[t._v(" "+t._s(t.$t("message.photos.list.sendToFacilities",[]))+" ")])]:t.isProcessing?[e(_.A,{staticClass:"mr-2",attrs:{color:"primary"}},[t._v(" icon-status-pending ")]),e("span",{staticClass:"mr-1"},[t._v(" "+t._s(t.$t("message.posts.list.sendingInProgress"))+" ")])]:t._e(),e("button",{staticClass:"item__send-status-btn",on:{click:function(e){return t.showFacilitiesDialog()}}},[t._v(" "+t._s(t.facilityCountLabel)+" ")])],2),e("div",{staticClass:"item__statuses"},[e("div",[e("div",{staticClass:"item__label-light"},[t._v(" "+t._s(t.$t("message.photos.list.sendStatus"))+" ")]),t._v(" "+t._s(t.$t(`message.photos.list.status.${t.item.status}`))+" ")]),t.isFinished?e("div",[e("div",{staticClass:"item__label-light"},[t._v(" "+t._s(t.$t("message.photos.list.details"))+" ")]),t.item.sent_count>0?e("button",{staticClass:"item__status success-status",on:{click:function(e){return t.showFacilitiesDialog(t.POST_BY_FACILITY_STATUS.OK)}}},[e(_.A,[t._v("icon-status-success")]),e("span",[t._v(t._s(t.$t("message.photos.list.successCount",[t.item.sent_count])))])],1):t._e(),t.item.failed_count>0?e("button",{staticClass:"item__status failed-status",on:{click:function(e){return t.showFacilitiesDialog(t.POST_BY_FACILITY_STATUS.FAILED)}}},[e(_.A,[t._v("icon-status-warning")]),e("span",[t._v(t._s(t.$t("message.photos.list.failedCount",[t.item.failed_count])))])],1):t._e()]):t._e()])]),t.showStoreLocator?e("div",{staticClass:"item__details--sl"},[e("div",{staticClass:"item__label"},[t._v(" "+t._s(t.$t("message.photos.list.slStatus"))+" ")]),e("ui-switch",{attrs:{label:t.$t("message.photos.list.visible"),color:"cyan"},on:{change:t.onVisibilityChange},model:{value:t.slVisible,callback:function(e){t.slVisible=e},expression:"slVisible"}})],1):t._e()]),e("div",{staticClass:"item__additional"},[e("div",{staticClass:"item__date"},[e("div",{staticClass:"item__label-light mb-1"},[t._v(" "+t._s(t.$t("message.photos.list.sendDate"))+" ")]),e("span",[t._v(t._s(t.formattedDate))])]),e("div",{staticClass:"item__actions"},[t.showDelete&&!t.item.can_be_deleted?e(P.A,{attrs:{"max-width":"370",bottom:""},scopedSlots:t._u([{key:"activator",fn:function({on:s}){return[e("div",t._g({},s),[e(m.A,{attrs:{disabled:"",icon:""}},[e(_.A,{attrs:{color:"pink"}},[t._v("icon-trash")])],1)],1)]}}],null,!1,2885316640)},[e("span",[t._v(t._s(t.$t("message.photos.list.delete.tooltip")))])]):t._e(),t.showDelete&&t.item.can_be_deleted?e(m.A,{attrs:{icon:"",disabled:t.isDeleted||t.isProcessing},on:{click:t.onDelete}},[e(_.A,{attrs:{color:"pink"}},[t._v("icon-trash")])],1):t._e()],1)]),e("PostFacilitiesDialog",{attrs:{"is-open":t.facilityDialogVisible,"media-id":t.item.id,status:t.chosenSendingStatus,"fetch-method":t.fetchFacilities()},on:{close:t.closeFacilitiesDialog}})],1)},b=[],y=(s(62953),s(16436)),f=s(95093),C=s.n(f),A=s(7985),S=s(1182),w=s(24383);const D={name:"PhotoListItem",components:{PostListItemCategory:A.A,PostFacilitiesDialog:()=>s.e(8743).then(s.bind(s,98743))},props:{item:{type:Object,required:!0},showDelete:{type:Boolean,default:!1},showStoreLocator:{type:Boolean,default:!1}},data:()=>
1({slVisible:null,facilityDialogVisible:!1,chosenSendingStatus:null,POST_BY_FACILITY_STATUS:S.Od}),computed:{facilityCountLabel(){return(0,y.wA)("message.pluralForms.facilityGenitive",this.item.facilities_count)},formattedDate(){return C()(this.item.created_at).format("DD.MM.YYYY")},hasImage(){return!!this.item.data.source_url},isDeleted(){return this.item&&this.item.is_deleted},isFinished(){return this.item&&this.item.status&&(this.item.status===S.Is.COMPLETED||this.item.status===S.Is.FINISHED_WITH_PROBLEMS)},statusText(){if(this.isProcessing){if(this.isDeleting)return this.$t("message.posts.list.deletingInProgress");if(this.isCreating)return this.$t("message.posts.list.creatingInProgress")}if(this.isDeleted)return this.$t("message.posts.list.deleted")},isProcessing(){return this.item&&this.item.status&&this.item.status===S.Is.PENDING},isCreating(){return this.item&&this.item.data&&this.item.data.action===S.et.CREATE},isDeleting(){return this.item&&this.item.data&&this.item.data.action===S.et.DELETE},categoryName(){const t=this.item&&this.item.data&&this.item.data.location_association&&this.item.data.location_association.category;return t?this.$t(`message.photos.list.${t}`):""}},created(){this.slVisible=this.item.visible_in_store_locator},methods:{fetchFacilities(){return w.A.getMediaFacilities},onVisibilityChange(){this.$emit("sl-visible",this.slVisible)},onDelete(){this.$emit("delete")},showFacilitiesDialog(t){this.chosenSendingStatus=t,this.facilityDialogVisible=!0},closeFacilitiesDialog(){this.chosenSendingStatus=null,this.facilityDialogVisible=!1}}},T=D;var $=s(81656),x=(0,$.A)(T,v,b,!1,null,"384f4049",null);const L=x.exports;var I=s(42301),O=function(){var t=this,e=t._self._c;return e("ui-dialog",{attrs:{show:t.isOpen,title:t.$t("message.photos.list.delete.title").toString(),closable:!1,persistent:"",scrollable:"","custom-class":"photo-delete-dialog"},on:{input:t.close},scopedSlots:t._u([{key:"actions",fn:function(){return[e("div",{staticClass:"d-flex justify-center mx-auto"},[e("ui-button",{staticClass:"mr-5",attrs:{outlined:""},on:{click:t.cancel}},[t._v(" "+t._s(t.$t("message.common.cancel"))+" ")]),e("ui-button",{attrs:{color:"primary",loading:t.loading},on:{click:t.confirm}},[t._v(" "+t._s(t.$t("message.photos.list.delete.confirm"))+" ")])],1)]},proxy:!0}])},[e("p",[t._v(t._s(t.$t("message.photos.list.delete.body1")))]),e("p",[t._v(t._s(t.$t("message.photos.list.delete.body2")))])])},k=[],E=s(94956);const K={name:"PhotoDeleteDialog",props:{photoId:{type:Number,required:!0},numLocations:{type:Number,required:!0},publishDate:{type:String,required:!0}},data(){return{isOpen:!1,loading:!1}},mounted(){this.isOpen=!0},methods:{async deletePhoto(){this.loading=!0,await(0,l.A)(c.A.deletePhoto(this.photoId)),this.loading=!1,this.$gtm.trackCustomEvent({event:E.ID.BULK_PHOTO_DELETE,photo_id:this.photoId,num_locations:this.numLocations,publish_date:this.publishDate})},close(){this.isOpen=!1,this.$emit("close"),setTimeout(()=>{this.$destroy()},200)},async confirm(){await this.deletePhoto(),this.$emit("confirm"),this.close()},cancel(){this.$emit("cancel"),this.close()}}},F=K;var M=(0,$.A)(F,O,k,!1,null,"42749985",null);const N=M.exports;var q=s(8889),B=function(){var t=this,e=t._self._c;return e("div",{staticClass:"photos-empty"},[e("div",{staticClass:"photos-empty__image"}),e("div",{staticClass:"photos-empty__text"},[t.message?e("div",[t._v(t._s(t.message))]):t._e(),e("div",[t._v(t._s(t.mainText))])]),t.showButton?e("ui-button",{attrs:{to:{name:"photos-add"},color:"primary",icon:"icon-plus"}},[t._v(" "+t._s(t.$t("message.photos.list.addNew"))+" ")]):t._e()],1)},V=[];const R={name:"PhotosEmpty",props:{message:{type:String,default:""},mainText:{type:String,default:function(){return this.$t("message.photos.list.empty")}},showButton:{type:Boolean,default:!1}}},H=R;var Y=(0,$.A)(H,B,V,!1,null,"256aaa5a",null);const j=Y.exports;var z=s(57509),G=s(95353),U=s(9060);const Q=g.rd.FROM_BEGINNING,W={name:"Photos",mixins:[u.b,z.F,U.o],components:{ViewHeader:r.A,Pagination:d.A,DatePeriodPicker:h.A,PhotoListItem:L,SectionLoader:q["default"],PhotosEmpty:j},data(){return{initLoading:!1,loading:!1,items:null,totalCount:0,page:1,perPageOptions:[10,25,50,100],perPage:10,defaultPeriod:Q,date:this.getStartDate(Q),hasAnyPhotos:!1}},computed:{...(0,G.L8)({hasStoreLocator:"company/hasStoreLocator"}),optionalEmptyPhotosMessage(){return this.hasAnyPhotos||this.canAddAndDeletePhotos?void 0:this.$t("message.photos.list.noPhotos")},queryParams(){return{page:this.page,page_size:this.perPage,date_from:this.date[0],date_to:this.date[1]}},paginationProps(){return{page:this.page,perPage:this.perPage,options:this.perPageOptions,totalCount:this.totalCount,disabled:this.loading}}},watch:{queryParams:{handler(){this.fetchPage()}}},async created(){this.initLoading=!0,await this.checkHasAnyPhotos(),await this.fetchPage(),this.initLoading=!1},mounted(){this.mixin__setGtmEngagementTimeouts()},methods:{async fetchPage(){this.loading=!0;const{count:t,results:e}=await(0,l.A)(c.A.getPhotos(this.queryParams));this.totalCount=t,this.items=e,this.loading=!1},async checkHasAnyPhotos(){const t=await(0,l.A)(c.A.getPhotos({only_ids:!0}));this.hasAnyPhotos=!!t.length},async onPaginationChange({page:t,perPage:e}){this.page=t||this.page,this.perPage=e||this.perPage},onDateChange(t){this.updateDateRange(t)&&(this.page=1)},async onToggleVisibility(t,e){await(0,l.A)(c.A.setStoreLocatorVisibility(t,e))},onDelete(t,e,s){I.$.showDialog(N,{photoId:t,publishDate:e,numLocations:s},[{event:"confirm",callback:()=>{this.checkHasAnyPhotos(),this.fetchPage()}}])}}},J=W;var X=(0,$.A)(J,o,n,!1,null,"bc1bfc60",null);const Z=X.exports},55014(t,e,s){s.d(e,{i:()=>a});const a={LOCAL_POST:1,PHOTO:2}},27977(t,e,s){s.d(e,{b:()=>n});var a=s(2404),i=s.n(a),o=s(85040);const n={methods:{getQueryDateRange(){const{dateFrom:t,dateTo:e}=this.$route.query;return t&&e?[t,e]:null},getStartDate(t=o.rd.LAST_30_DAYS){return this.getQueryDateRange()||(0,o.$b)(t)},updateDateRange({date_from:t=null,date_to:e=null}){const s=[t,e];return!i()(s,this.date)&&(this.date=s,!0)}}}},9060(t,e,s){s.d(e,{o:()=>o});s(18111),s(7588);var a=s(20377),i=s(94956);const o={data(){return{gtmEngagementTimeouts:{[i.xP.FIRST]:null,[i.xP.SECOND]:null}}},beforeDestroy(){Object.values(this.gtmEngagementTimeouts).forEac
1h(t=>{t&&clearTimeout(t)})},methods:{async mixin__setGtmEngagementTimeouts(){await this.$nextTick(()=>{Object.keys(this.gtmEngagementTimeouts).forEach(t=>{this.gtmEngagementTimeouts[t]=setTimeout(()=>{(0,a.av)({path:this.$route.path,pageName:this.$route.name,time:t})},1e3*t)})})}}}},24383(t,e,s){s.d(e,{A:()=>r});var a=s(72013),i=s(72575),o=s(55014),n=s(2543);const r={getPosts({page:t,perPage:e,query:s,date:o,showDeleted:r}){const l={page:t,page_size:e,q:s,date_from:o[0],date_to:o[1]};return a.K.get(i.v.gmbPosts,{params:{...(0,n.pickBy)(l),show_deleted:r}})},getPostsSchedule({page:t,perPage:e,query:s,date:o}){const r={page:t,page_size:e,q:s,date_from:o[0],date_to:o[1]};return a.K.get(i.v.gmbPostsSchedule,{params:(0,n.pickBy)(r)})},getScheduledPost(t){return a.K.get(i.v.gmbPostScheduled(t))},editScheduledPost(t,e){return a.K.put(i.v.gmbPostScheduled(t),e)},getPostsScheduleCalendar(){return a.K.get(i.v.gmbPostsScheduleCalendar)},getPostFacilities({postId:t,page:e,perPage:s,query:o,statuses:r}){const l={page:e,page_size:s,q:o,status:r.join(",")};return a.K.get(i.v.gmbPostsFacilities(t),{params:(0,n.pickBy)(l)})},getMediaFacilities({mediaId:t,page:e,perPage:s,query:o,statuses:r}){const l={page:e,page_size:s,q:o,status:r.join(",")};return a.K.get(i.v.gmbMediaFacilities(t),{params:(0,n.pickBy)(l)})},postPost(t){return a.K.post(i.v.gmbPosts,t)},deletePost(t){return a.K.delete(i.v.gmbPost(t))},cancelPost(t){return a.K.post(i.v.gmbPostCancel(t))},deleteScheduledPost(t){return a.K.delete(i.v.gmbPostScheduled(t))},getImageUrl(t){return t.append("type",o.i.LOCAL_POST),a.K.post(i.v.gmbMediaStorage,t)},getPostsInsights(t){return a.K.post(i.v.gmbPostsInsights,{post_ids:t.join(",")})},setStoreLocatorVisibility(t,e){return e?a.K.post(i.v.gmbPostsStoreLocator(t)):a.K.delete(i.v.gmbPostsStoreLocator(t))}}},92223(t,e,s){s.d(e,{A:()=>n});var a=s(72013),i=s(72575),o=s(55014);const n={getPhotos(t){return a.K.get(i.v.gmbMedia,{params:t})},getCustomerPhotos(t){return a.K.get(i.v.gmbCustomerMedia,{params:t})},getCustomerPhotosSummary(t){return a.K.get(i.v.gmbCustomerMediaSummary,{params:t})},setCustomerPhotoAssessment(t,{isOk:e,reportReason:s=null}){return a.K.post(i.v.gmbCustomerMediaAssessment(t),{is_ok:e,report_reason:s})},clearCustomerPhotoAssessment(t){return a.K.delete(i.v.gmbCustomerMediaAssessment(t))},setCustomerPhotoNote(t,e){return a.K.post(i.v.gmbCustomerMediaNote(t),{note:e})},clearCustomerPhotoNote(t){return a.K.delete(i.v.gmbCustomerMediaNote(t))},reportCustomerPhoto(t){return a.K.post(i.v.gmbCustomerMediaReport(t))},clearCustomerPhotoReport(t){return a.K.delete(i.v.gmbCustomerMediaReport(t))},setCustomerPhotoAiAccuracy(t,{isAccurate:e,comment:s=""}){return a.K.post(i.v.gmbCustomerMediaAiAccuracy(t),{is_accurate:e,comment:s})},postPhoto(t){return a.K.post(i.v.gmbMedia,t)},deletePhoto(t){return a.K.delete(i.v.gmbMediaId(t))},getMediaTypes(){return a.K.get(i.v.gmbMediaTypes)},getImageUrl(t){return t.append("type",o.i.PHOTO),a.K.post(i.v.gmbMediaStorage,t,{headers:{"Content-Type":"multipart/form-data"}})},setStoreLocatorVisibility(t,e){return e?a.K.post(i.v.gmbMediaStoreLocator(t)):a.K.delete(i.v.gmbMediaStoreLocator(t))}}}}]);
2//# sourceMappingURL=260.20b21a51.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.