(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors~90da32df"],{"05e7":function(t,e,n){},"0aa5":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t._self._c;return e("div",[e("q-card",{staticClass:"bg-primary text-white full-height",staticStyle:{width:"100%"}},[e("q-bar",[e("q-space"),!1!==t.close?e("q-btn",{directives:[{name:"close-popup",rawName:"v-close-popup"}],attrs:{dense:"",flat:"",icon:"close"},on:{click:t.onClose}},[e("q-tooltip",{attrs:{"content-class":"bg-white text-primary"}},[t._v("Close")])],1):t._e()],1),e("div",{staticClass:"row justify-center col-12 col-md-6 bg-primary"},[e("q-card-section",{staticClass:"row col-12 col-sm-10 col-md-7"},[t._t("header")],2),e("q-card-section",{staticClass:"q-pt-none row col-12 col-sm-10 col-md-7"},[e("div",{staticStyle:{width:"100%"}},[t._t("default")],2)])],1)],1)],1)},r=[],o=n("f09f"),a=n("a370"),s=n("2c91"),c=n("d847"),u=n("05c0");const l={QCard:o["a"],QCardSection:a["a"],QSpace:s["a"],QBar:c["a"],QTooltip:u["a"]};var d={props:["title","btn-right","btnRight2","close"],components:{...l},methods:{onClickbtn(){this.$emit("on-confirm")},onClickbtn2(){this.$emit("on-express")},onClose(){this.$emit("on-close")}}},f=d,p=n("2877"),b=Object(p["a"])(f,i,r,!1,null,null,null);e["default"]=b.exports},1833:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var i=function(t){return"function"===typeof ArrayBuffer&&t instanceof ArrayBuffer||"[object ArrayBuffer]"===Object.prototype.toString.call(t)}},"19de":function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var i=n("d72f"),r=n("f6fb"),o=n("2e10"),a=n("991b"),s=n("108d"),c=function(t){function e(e){var n=t.call(this)||this;return n.input=e,n}return Object(i["c"])(e,t),e.prototype.resolveMiddleware=function(t,e,n){this.middlewareStack.use(Object(a["a"])(e,this.serialize,this.deserialize));var i=t.concat(this.middlewareStack),o=e.logger,s="PinpointClient",c="PutEventsCommand",u={logger:o,clientName:s,commandName:c,inputFilterSensitiveLog:r["a"].filterSensitiveLog,outputFilterSensitiveLog:r["b"].filterSensitiveLog},l=e.requestHandler;return i.resolve((function(t){return l.handle(t.request,n||{})}),u)},e.prototype.serialize=function(t,e){return Object(o["c"])(t,e)},e.prototype.deserialize=function(t,e){return Object(o["a"])(t,e)},e}(s["b"])},2767:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var i=function(t){return function(){return Promise.reject(t)}}},"2d49":function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return u}));var i=n("9ab4"),r=n("1279"),o=n("ded1");function a(t){return void 0===t&&(t=0),new Promise((function(e,n){t&&setTimeout((function(){var e=new Error("Request did not complete within "+t+" ms");e.name="TimeoutError",n(e)}),t)}))}var s=function(){function t(t){var e=void 0===t?{}:t,n=e.requestTimeout;this.requestTimeout=n}return t.prototype.destroy=function(){},t.prototype.handle=function(t,e){var n=void 0===e?{}:e,s=n.abortSignal,c=this.requestTimeout;if(null===s||void 0===s?void 0:s.aborted){var u=new Error("Request aborted");return u.name="AbortError",Promise.reject(u)}var l=t.path;if(t.query){var d=Object(o["a"])(t.query);d&&(l+="?"+d)}var f=t.port,p=t.method,b=t.protocol+"//"+t.hostname+(f?":"+f:"")+l,v="GET"===p||"HEAD"===p?void 0:t.body,g={body:v,headers:new Headers(t.headers),method:p};"undefined"!==typeof AbortController&&(g["signal"]=s);var m=new Request(b,g),h=[fetch(m).then((function(t){var e,n,o=t.headers,a={};try{for(var s=Object(i["__values"])(o.entries()),c=s.next();!c.done;c=s.next()){var u=c.value;a[u[0]]=u[1]}}catch(d){e={error:d}}finally{try{c&&!c.done&&(n=s.return)&&n.call(s)}finally{if(e)throw e.error}}var l=void 0!==t.body;return l?{response:new r["b"]({headers:a,statusCode:t.status,body:t.body})}:t.blob().then((function(e){return{response:new r["b"]({headers:a,statusCode:t.status,body:e})}}))})),a(c)];return s&&h.push(new Promise((function(t,e){s.onabort=function(){var t=new Error("Request aborted");t.name="AbortError",e(t)}}))),Promise.race(h)},t}(),c=n("4b75"),u=function(t){return"function"===typeof Blob&&t instanceof Blob?l(t):d(t)};function l(t){return Object(i["__awaiter"])(this,void 0,void 0,(function(){var e,n;return Object(i["__generator"])(this,(function(i){switch(i.label){case 0:return[4,f(t)];case 1:return e=i.sent(),n=Object(c["a"])(e),[2,new Uint8Array(n)]}}))}))}function d(t){return Object(i["__awaiter"])(this,void 0,void 0,(function(){var e,n,r,o,a,s,c;return Object(i["__generator"])(this,(function(i){switch(i.label){case 0:e=new Uint8Array(0),n=t.getReader(),r=!1,i.label=1;case 1:return r?[3,3]:[4,n.read()];case 2:return o=i.sent(),a=o.done,s=o.value,s&&(c=e,e=new Uint8Array(c.length+s.length),e.set(c),e.set(s,c.length)),r=a,[3,1];case 3:return[2,e]}}))}))}function f(t){return new Promise((function(e,n){var i=new FileReader;i.onloadend=function(){var t;if(2!==i.readyState)return n(new Error("Reader aborted too early"));var r=null!==(t=i.result)&&void 0!==t?t:"",o=r.indexOf(","),a=o>-1?o+1:r.length;e(r.substring(a))},i.onabort=function(){return n(new Error("Read aborted"))},i.onerror=function(){return n(i.error)},i.readAsDataURL(t)}))}},"311b":function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var i=n("9ab4"),r=n("44e3"),o=n("7807"),a=n("3492"),s="IdentityIds",c=function(){function t(t){void 0===t&&(t="aws:cognito-identity-ids"),this.dbName=t}return t.prototype.getItem=function(t){return this.withObjectStore("readonly",(function(e){var n=e.get(t);return new Promise((function(t){n.onerror=function(){return t(null)},n.onsuccess=function(){return t(n.result?n.result.value:null)}}))})).catch((function(){return null}))},t.prototype.removeItem=function(t){return this.withObjectStore("readwrite",(function(e){var n=e.delete(t);return new Promise((function(t,e){n.onerror=function(){return e(n.error)},n.onsuccess=function(){return t()}}))}))},t.prototype.setItem=function(t,e){return this.withObjectStore("readwrite",(function(n){var i=n.put({id:t,value:e});return new Promise((function(t,e){i.onerror=function(){return e(i.error)},i.onsuccess=function(){return t()}}))}))},t.prototype.getDb=function(){var t=self.indexedDB.open(this.dbName,1);return new Promise((function(e,n){t.onsuccess=function(){e(t.result)},t.onerror=function(){n(t.error)},t.onblocked=function(){n(new Error("Unable to access DB"))},t.onupgradeneeded=function(){var e=t.result;e.onerror=function(){n(new Error("Failed to create object store"))},e.createObjectStore(s,{keyPath:"id"})}}))},t.prototype.withObjectStore=function(t,e){return this.getDb().then((function(n){var i=n.transaction(s,t);return i.oncomplete=function(){return n.close()},new Promise((function(t,n){i.onerror=function(){return n(i.error)},t(e(i.objectStore(s)))})).catch((function(t){throw n.close(),t}))}))},t}(),u=function(){function t(t){void 0===t&&(t={}),this.store=t}return t.prototype.getItem=function(t){return t in this.store?this.store[t]:null},t.prototype.removeItem=function(t){delete this.store[t]},t.prototype.setItem=function(t,e){this.store[t]=e},t}(),l=new u;function d(){return"object"===typeof self&&self.indexedDB?new c:"object"===typeof window&&window.localStorage?window.localStorage:l}var f=n("3caf");function p(t){var e=this,n=t.accountId,o=t.cache,s=void 0===o?d():o,c=t.client,u=t.customRoleArn,l=t.identityPoolId,p=t.logins,v=t.userIdentifier,g=void 0===v?p&&0!==Object.keys(p).length?void 0:"ANONYMOUS":v,m=g?"aws:cognito-identity-credentials:"+l+":"+g:void 0,h=function(){return Object(i["__awaiter"])(e,void 0,void 0,(function(){var t,e,o,d,v,g,w,y,j;return Object(i["__generator"])(this,(function(i){switch(i.label){case 0:return e=m,e?[4,s.getItem(m)]:[3,2];case 1:e=i.sent(),i.label=2;case 2:return t=e,t?[3,7]:(g=(v=c).send,w=r["a"].bind,j={AccountId:n,IdentityPoolId:l},p?[4,Object(f["a"])(p)]:[3,4]);case 3:return y=i.sent(),[3,5];case 4:y=void 0,i.label=5;case 5:return[4,g.apply(v,[new(w.apply(r["a"],[void 0,(j.Logins=y,j)]))])];case 6:o=i.sent().IdentityId,d=void 0===o?b():o,t=d,m&&Promise.resolve(s.setItem(m,t)).catch((function(){})),i.label=7;case 7:return h=Object(a["a"])({client:c,customRoleArn:u,logins:p,identityId:t}),[2,h()]}}))}))};return function(){return h().catch((function(t){return Object(i["__awaiter"])(e,void 0,void 0,(function(){return Object(i["__generator"])(this,(function(e){throw m&&Promise.resolve(s.removeItem(m)).catch((function(){})),t}))}))}))}}function b(){throw new o["a"]("Response from Amazon Cognito contained no identity ID")}},3492:function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var i=n("9ab4"),r=n("822f"),o=n("7f29"),a=n("ed04"),s=n("991b"),c=n("108d"),u=function(t){function e(e){var n=t.call(this)||this;return n.input=e,n}return Object(r["c"])(e,t),e.prototype.resolveMiddleware=function(t,e,n){this.middlewareStack.use(Object(s["a"])(e,this.serialize,this.deserialize));var i=t.concat(this.middlewareStack),r=e.logger,a="CognitoIdentityClient",c="GetCredentialsForIdentityCommand",u={logger:r,clientName:a,commandName:c,inputFilterSensitiveLog:o["a"].filterSensitiveLog,outputFilterSensitiveLog:o["b"].filterSensitiveLog},l=e.requestHandler;return i.resolve((function(t){return l.handle(t.request,n||{})}),u)},e.prototype.serialize=function(t,e){return Object(a["c"])(t,e)},e.prototype.deserialize=function(t,e){return Object(a["a"])(t,e)},e}(c["b"]),l=n("7807"),d=n("3caf");function f(t){var e=this;return function(){return Object(i["__awaiter"])(e,void 0,void 0,(function(){var e,n,r,o,a,s,c,l,f,g,m,h,w;return Object(i["__generator"])(this,(function(i){switch(i.label){case 0:return g=(f=t.client).send,m=u.bind,w={CustomRoleArn:t.customRoleArn,IdentityId:t.identityId},t.logins?[4,Object(d["a"])(t.logins)]:[3,2];case 1:return h=i.sent(),[3,3];case 2:h=void 0,i.label=3;case 3:return[4,g.apply(f,[new(m.apply(u,[void 0,(w.Logins=h,w)]))])];case 4:return e=i.sent().Credentials,n=void 0===e?b():e,r=n.AccessKeyId,o=void 0===r?p():r,a=n.Expiration,s=n.SecretKey,c=void 0===s?v():s,l=n.SessionToken,[2,{identityId:t.identityId,accessKeyId:o,secretAccessKey:c,sessionToken:l,expiration:a}]}}))}))}}function p(){throw new l["a"]("Response from Amazon Cognito contained no access key ID")}function b(){throw new l["a"]("Response from Amazon Cognito contained no credentials")}function v(){throw new l["a"]("Response from Amazon Cognito contained no secret key")}},"36d4":function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return s}));var i=n("9ab4"),r=function(t){var e;return Object(i["__assign"])(Object(i["__assign"])({},t),{tls:null===(e=t.tls)||void 0===e||e,endpoint:t.endpoint?o(t):function(){return a(t)},isCustomEndpoint:!!t.endpoint})},o=function(t){var e=t.endpoint,n=t.urlParser;if("string"===typeof e){var i=Promise.resolve(n(e));return function(){return i}}if("object"===typeof e){var r=Promise.resolve(e);return function(){return r}}return e},a=function(t){return Object(i["__awaiter"])(void 0,void 0,void 0,(function(){var e,n,r,o,a,s;return Object(i["__generator"])(this,(function(i){switch(i.label){case 0:return e=t.tls,n=void 0===e||e,[4,t.region()];case 1:if(r=i.sent(),o=new RegExp(/^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9])$/),!o.test(r))throw new Error("Invalid region in client config");return[4,t.regionInfoProvider(r)];case 2:if(a=(null!==(s=i.sent())&&void 0!==s?s:{}).hostname,!a)throw new Error("Cannot resolve hostname from client config");return[2,t.urlParser((n?"https:":"http:")+"//"+a)]}}))}))},s=function(t){if(!t.region)throw new Error("Region is missing");return Object(i["__assign"])(Object(i["__assign"])({},t),{region:c(t.region)})},c=function(t){if("string"===typeof t){var e=Promise.resolve(t);return function(){return e}}return t}},"3caf":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("9ab4");function r(t){return Promise.all(Object.keys(t).reduce((function(e,n){var i=t[n];return"string"===typeof i?e.push([n,i]):e.push(i().then((function(t){return[n,t]}))),e}),[])).then((function(t){return t.reduce((function(t,e){var n=Object(i["__read"])(e,2),r=n[0],o=n[1];return t[r]=o,t}),{})}))}},"44e3":function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var i=n("822f"),r=n("7f29"),o=n("ed04"),a=n("991b"),s=n("108d"),c=function(t){function e(e){var n=t.call(this)||this;return n.input=e,n}return Object(i["c"])(e,t),e.prototype.resolveMiddleware=function(t,e,n){this.middlewareStack.use(Object(a["a"])(e,this.serialize,this.deserialize));var i=t.concat(this.middlewareStack),o=e.logger,s="CognitoIdentityClient",c="GetIdCommand",u={logger:o,clientName:s,commandName:c,inputFilterSensitiveLog:r["c"].filterSensitiveLog,outputFilterSensitiveLog:r["d"].filterSensitiveLog},l=e.requestHandler;return i.resolve((function(t){return l.handle(t.request,n||{})}),u)},e.prototype.serialize=function(t,e){return Object(o["d"])(t,e)},e.prototype.deserialize=function(t,e){return Object(o["b"])(t,e)},e}(s["b"])},"4b41":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"text-h6 q-pb-md"},[t._v("Choose your prefer branch ?")]),e("q-input",{staticClass:"full-width q-mb-sm",attrs:{color:"white","bg-color":"white",dense:"",rounded:"",outlined:"",placeholder:"Search",clearable:""},scopedSlots:t._u([{key:"prepend",fn:function(){return[e("q-icon",{attrs:{name:"search"}})]},proxy:!0}]),model:{value:t.keyword,callback:function(e){t.keyword=e},expression:"keyword"}}),e("q-list",{staticClass:"bg-white",attrs:{separator:""}},t._l(t.filteredStore,(function(n,i){return e("q-item",{key:i,staticClass:"branch-item",attrs:{name:n.name,clickable:"",active:n.name===t.tab,"active-class":"bg-primary-2"},on:{click:function(e){return t.onChange(n.name)}}},[e("q-item-section",[e("q-item-label",{staticClass:"text-primary"},[t._v(t._s(t.getBranchName(n)))]),e("q-item-label",{class:{"text-primary":n.name===t.tab},attrs:{caption:""}},[t._v(" "+t._s(t.getBranchAddress(n))+" ")])],1)],1)})),1)],1)},r=[],o=(n("14d9"),n("429b")),a=n("7460"),s=n("74f7"),c=n("2b0e"),u=n("594d"),l=c["default"].extend({name:"QSpinnerGears",mixins:[u["a"]],render(t){return t("svg",{staticClass:"q-spinner",class:this.classes,on:{...this.qListeners},attrs:{focusable:"false",width:this.cSize,height:this.cSize,viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid",xmlns:"http://www.w3.org/2000/svg"}},[t("g",{attrs:{transform:"translate(-20,-20)"}},[t("path",{attrs:{d:"M79.9,52.6C80,51.8,80,50.9,80,50s0-1.8-0.1-2.6l-5.1-0.4c-0.3-2.4-0.9-4.6-1.8-6.7l4.2-2.9c-0.7-1.6-1.6-3.1-2.6-4.5 L70,35c-1.4-1.9-3.1-3.5-4.9-4.9l2.2-4.6c-1.4-1-2.9-1.9-4.5-2.6L59.8,27c-2.1-0.9-4.4-1.5-6.7-1.8l-0.4-5.1C51.8,20,50.9,20,50,20 s-1.8,0-2.6,0.1l-0.4,5.1c-2.4,0.3-4.6,0.9-6.7,1.8l-2.9-4.1c-1.6,0.7-3.1,1.6-4.5,2.6l2.1,4.6c-1.9,1.4-3.5,3.1-5,4.9l-4.5-2.1 c-1,1.4-1.9,2.9-2.6,4.5l4.1,2.9c-0.9,2.1-1.5,4.4-1.8,6.8l-5,0.4C20,48.2,20,49.1,20,50s0,1.8,0.1,2.6l5,0.4 c0.3,2.4,0.9,4.7,1.8,6.8l-4.1,2.9c0.7,1.6,1.6,3.1,2.6,4.5l4.5-2.1c1.4,1.9,3.1,3.5,5,4.9l-2.1,4.6c1.4,1,2.9,1.9,4.5,2.6l2.9-4.1 c2.1,0.9,4.4,1.5,6.7,1.8l0.4,5.1C48.2,80,49.1,80,50,80s1.8,0,2.6-0.1l0.4-5.1c2.3-0.3,4.6-0.9,6.7-1.8l2.9,4.2 c1.6-0.7,3.1-1.6,4.5-2.6L65,69.9c1.9-1.4,3.5-3,4.9-4.9l4.6,2.2c1-1.4,1.9-2.9,2.6-4.5L73,59.8c0.9-2.1,1.5-4.4,1.8-6.7L79.9,52.6 z M50,65c-8.3,0-15-6.7-15-15c0-8.3,6.7-15,15-15s15,6.7,15,15C65,58.3,58.3,65,50,65z",fill:"currentColor"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"90 50 50",to:"0 50 50",dur:"1s",repeatCount:"indefinite"}})])]),t("g",{attrs:{transform:"translate(20,20) rotate(15 50 50)"}},[t("path",{attrs:{d:"M79.9,52.6C80,51.8,80,50.9,80,50s0-1.8-0.1-2.6l-5.1-0.4c-0.3-2.4-0.9-4.6-1.8-6.7l4.2-2.9c-0.7-1.6-1.6-3.1-2.6-4.5 L70,35c-1.4-1.9-3.1-3.5-4.9-4.9l2.2-4.6c-1.4-1-2.9-1.9-4.5-2.6L59.8,27c-2.1-0.9-4.4-1.5-6.7-1.8l-0.4-5.1C51.8,20,50.9,20,50,20 s-1.8,0-2.6,0.1l-0.4,5.1c-2.4,0.3-4.6,0.9-6.7,1.8l-2.9-4.1c-1.6,0.7-3.1,1.6-4.5,2.6l2.1,4.6c-1.9,1.4-3.5,3.1-5,4.9l-4.5-2.1 c-1,1.4-1.9,2.9-2.6,4.5l4.1,2.9c-0.9,2.1-1.5,4.4-1.8,6.8l-5,0.4C20,48.2,20,49.1,20,50s0,1.8,0.1,2.6l5,0.4 c0.3,2.4,0.9,4.7,1.8,6.8l-4.1,2.9c0.7,1.6,1.6,3.1,2.6,4.5l4.5-2.1c1.4,1.9,3.1,3.5,5,4.9l-2.1,4.6c1.4,1,2.9,1.9,4.5,2.6l2.9-4.1 c2.1,0.9,4.4,1.5,6.7,1.8l0.4,5.1C48.2,80,49.1,80,50,80s1.8,0,2.6-0.1l0.4-5.1c2.3-0.3,4.6-0.9,6.7-1.8l2.9,4.2 c1.6-0.7,3.1-1.6,4.5-2.6L65,69.9c1.9-1.4,3.5-3,4.9-4.9l4.6,2.2c1-1.4,1.9-2.9,2.6-4.5L73,59.8c0.9-2.1,1.5-4.4,1.8-6.7L79.9,52.6 z M50,65c-8.3,0-15-6.7-15-15c0-8.3,6.7-15,15-15s15,6.7,15,15C65,58.3,58.3,65,50,65z",fill:"currentColor"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 50 50",to:"90 50 50",dur:"1s",repeatCount:"indefinite"}})])])])}}),d=n("27f9"),f=n("66e5"),p=n("4074"),b=n("0170"),v=n("1c1c"),g=n("d8af");const m={QTabs:o["a"],QTab:a["a"],QInnerLoading:s["a"],QSpinnerGears:l,QInput:d["a"],QItem:f["a"],QItemSection:p["a"],QItemLabel:b["a"],QList:v["a"]};var h={name:"ChooseBranchDialog",components:{...m},data(){return{tab:null,store:[],visible:!1,keyword:""}},computed:{filteredStore(){return this.keyword?this.store.filter(t=>this.fullTextSearch(t,this.keyword)):this.store}},mounted(){this.store=Object(g["e"])(),this.sortStore(),this.tab=this.$store.getters["branch/name"]},methods:{getBranchName(t){const e="th"===this.$i18n.locale;return e?t.name_th:t.name},getBranchAddress(t){const e="th"===this.$i18n.locale;let n=[];if(e){n.push(t.address_th);const e=t.address_th.toLocaleLowerCase().includes(t.province_th.toLocaleLowerCase());e||n.push(t.province_th)}else{n.push(t.address);const e=t.address.toLocaleLowerCase().includes(t.subDistrict.toLocaleLowerCase());e||n.push(t.subDistrict);const i=t.address.toLocaleLowerCase().includes(t.district.toLocaleLowerCase());i||n.push(t.district);const r=t.address.toLocaleLowerCase().includes(t.province.toLocaleLowerCase());r||n.push(t.province)}const i=t.address.toLocaleLowerCase().includes(t.postcode.toLocaleLowerCase());return i||n.push(t.postcode),n.filter(t=>t&&"-"!==t.trim()).join(" ")},fullTextSearch(t,e){const n=[t.code,t.name,t.name_th,t.phoneNumber,t.address,t.address_th,t.subDistrict,t.district,t.province,t.province_th,t.postcode],i=String(n);return i.toLocaleLowerCase().includes(e.toLocaleLowerCase())},sortStore(){this.store.sort((t,e)=>t.name.localeCompare(e.name,void 0,{numeric:!0,sensitivity:"base"})),this.store.sort((t,e)=>"1000"===t.code?-1:0)},async onChange(t){this.visible=!0,await this.$store.dispatch("branch/update",{name:t}),this.visible=!1,this.$emit("choosed-branch",t),void 0!=dataLayer&&dataLayer.push({event:"header_navigation",event_action:"click_location-"+t,event_label:"page-"+this.$route.path})}}},w=h,y=(n("ffc0"),n("2877")),j=Object(y["a"])(w,i,r,!1,null,"44872ab6",null);e["default"]=j.exports},"64cf":function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var i=n("d72f"),r=n("f6fb"),o=n("2e10"),a=n("991b"),s=n("108d"),c=function(t){function e(e){var n=t.call(this)||this;return n.input=e,n}return Object(i["c"])(e,t),e.prototype.resolveMiddleware=function(t,e,n){this.middlewareStack.use(Object(a["a"])(e,this.serialize,this.deserialize));var i=t.concat(this.middlewareStack),o=e.logger,s="PinpointClient",c="UpdateEndpointCommand",u={logger:o,clientName:s,commandName:c,inputFilterSensitiveLog:r["c"].filterSensitiveLog,outputFilterSensitiveLog:r["d"].filterSensitiveLog},l=e.requestHandler;return i.resolve((function(t){return l.handle(t.request,n||{})}),u)},e.prototype.serialize=function(t,e){return Object(o["d"])(t,e)},e.prototype.deserialize=function(t,e){return Object(o["b"])(t,e)},e}(s["b"])},"7f29":function(t,e,n){"use strict";n.d(e,"a",(function(){return S})),n.d(e,"b",(function(){return k})),n.d(e,"c",(function(){return _})),n.d(e,"d",(function(){return x}));var i,r,o,a,s,c,u,l,d,f,p,b,v,g,m,h,w,y,j,O,S,L,k,C,_,x,I,E,z,A,P,T,R,$,q,D,N,B,M,V,Q,U,H,F,K,G,J,W,Y,Z,X,tt,et,nt,it,rt,ot,at=n("822f");(function(t){t["AUTHENTICATED_ROLE"]="AuthenticatedRole",t["DENY"]="Deny"})(i||(i={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(r||(r={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(o||(o={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(a||(a={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(s||(s={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(c||(c={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(u||(u={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(l||(l={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(d||(d={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(f||(f={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(p||(p={})),function(t){t["ACCESS_DENIED"]="AccessDenied",t["INTERNAL_SERVER_ERROR"]="InternalServerError"}(b||(b={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(v||(v={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(g||(g={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(m||(m={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(h||(h={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(w||(w={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(y||(y={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(j||(j={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(O||(O={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(S||(S={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(L||(L={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(k||(k={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(C||(C={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(_||(_={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(x||(x={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(I||(I={})),function(t){t["CONTAINS"]="Contains",t["EQUALS"]="Equals",t["NOT_EQUAL"]="NotEqual",t["STARTS_WITH"]="StartsWith"}(E||(E={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(z||(z={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(A||(A={})),function(t){t["RULES"]="Rules",t["TOKEN"]="Token"}(P||(P={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(T||(T={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(R||(R={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}($||($={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(q||(q={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(D||(D={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(N||(N={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(B||(B={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(M||(M={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(V||(V={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(Q||(Q={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(U||(U={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(H||(H={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(F||(F={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(K||(K={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(G||(G={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(J||(J={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(W||(W={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(Y||(Y={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(Z||(Z={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(X||(X={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(tt||(tt={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(et||(et={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(nt||(nt={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(it||(it={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(rt||(rt={})),function(t){t.filterSensitiveLog=function(t){return Object(at["a"])({},t)}}(ot||(ot={}))},"822f":function(t,e,n){"use strict";n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a})),n.d(e,"d",(function(){return s})),n.d(e,"e",(function(){return c}));var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},i(t,e)};function r(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},o.apply(this,arguments)};function a(t,e,n,i){function r(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,o){function a(t){try{c(i.next(t))}catch(e){o(e)}}function s(t){try{c(i["throw"](t))}catch(e){o(e)}}function c(t){t.done?n(t.value):r(t.value).then(a,s)}c((i=i.apply(t,e||[])).next())}))}function s(t,e){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(e){return c([t,e])}}function c(s){if(n)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(a=0)),a)try{if(n=1,i&&(r=2&s[0]?i["return"]:s[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,s[1])).done)return r;switch(i=0,r&&(s=[2&s[0],r.value]),s[0]){case 0:case 1:r=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(r=a.trys,!(r=r.length>0&&r[r.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]<r[3])){a.label=s[1];break}if(6===s[0]&&a.label<r[1]){a.label=r[1],r=s;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(s);break}r[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(c){s=[6,c],i=0}finally{n=r=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}Object.create;function c(t,e){var n="function"===typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,o=n.call(t),a=[];try{while((void 0===e||e-- >0)&&!(i=o.next()).done)a.push(i.value)}catch(s){r={error:s}}finally{try{i&&!i.done&&(n=o["return"])&&n.call(o)}finally{if(r)throw r.error}}return a}Object.create;"function"===typeof SuppressedError&&SuppressedError},8265:function(t,e,n){"use strict";n.d(e,"a",(function(){return T}));var i=n("822f"),r=n("f8a3"),o=n("be23"),a=n("2d49"),s=n("2767"),c=n("50c7"),u=n("4b75"),l=n("37db"),d=n("c14f"),f=n("5d63"),p="cognito-identity.{region}.amazonaws.com",b="cognito-identity.{region}.amazonaws.com.cn",v="cognito-identity.{region}.c2s.ic.gov",g="cognito-identity.{region}.sc2s.sgov.gov",m="cognito-identity.{region}.amazonaws.com",h=new Set(["af-south-1","ap-east-1","ap-northeast-1","ap-northeast-2","ap-south-1","ap-southeast-1","ap-southeast-2","ca-central-1","eu-central-1","eu-north-1","eu-south-1","eu-west-1","eu-west-2","eu-west-3","me-south-1","sa-east-1","us-east-1","us-east-2","us-west-1","us-west-2"]),w=new Set(["cn-north-1","cn-northwest-1"]),y=new Set(["us-iso-east-1"]),j=new Set(["us-isob-east-1"]),O=new Set(["us-gov-east-1","us-gov-west-1"]),S=function(t,e){var n=void 0;switch(t){case"ap-northeast-1":n={hostname:"cognito-identity.ap-northeast-1.amazonaws.com",partition:"aws"};break;case"ap-northeast-2":n={hostname:"cognito-identity.ap-northeast-2.amazonaws.com",partition:"aws"};break;case"ap-south-1":n={hostname:"cognito-identity.ap-south-1.amazonaws.com",partition:"aws"};break;case"ap-southeast-1":n={hostname:"cognito-identity.ap-southeast-1.amazonaws.com",partition:"aws"};break;case"ap-southeast-2":n={hostname:"cognito-identity.ap-southeast-2.amazonaws.com",partition:"aws"};break;case"ca-central-1":n={hostname:"cognito-identity.ca-central-1.amazonaws.com",partition:"aws"};break;case"cn-north-1":n={hostname:"cognito-identity.cn-north-1.amazonaws.com.cn",partition:"aws-cn"};break;case"eu-central-1":n={hostname:"cognito-identity.eu-central-1.amazonaws.com",partition:"aws"};break;case"eu-north-1":n={hostname:"cognito-identity.eu-north-1.amazonaws.com",partition:"aws"};break;case"eu-west-1":n={hostname:"cognito-identity.eu-west-1.amazonaws.com",partition:"aws"};break;case"eu-west-2":n={hostname:"cognito-identity.eu-west-2.amazonaws.com",partition:"aws"};break;case"eu-west-3":n={hostname:"cognito-identity.eu-west-3.amazonaws.com",partition:"aws"};break;case"fips-us-east-1":n={hostname:"cognito-identity-fips.us-east-1.amazonaws.com",partition:"aws",signingRegion:"us-east-1"};break;case"fips-us-east-2":n={hostname:"cognito-identity-fips.us-east-2.amazonaws.com",partition:"aws",signingRegion:"us-east-2"};break;case"fips-us-gov-west-1":n={hostname:"cognito-identity-fips.us-gov-west-1.amazonaws.com",partition:"aws-us-gov",signingRegion:"us-gov-west-1"};break;case"fips-us-west-2":n={hostname:"cognito-identity-fips.us-west-2.amazonaws.com",partition:"aws",signingRegion:"us-west-2"};break;case"sa-east-1":n={hostname:"cognito-identity.sa-east-1.amazonaws.com",partition:"aws"};break;case"us-east-1":n={hostname:"cognito-identity.us-east-1.amazonaws.com",partition:"aws"};break;case"us-east-2":n={hostname:"cognito-identity.us-east-2.amazonaws.com",partition:"aws"};break;case"us-gov-west-1":n={hostname:"cognito-identity.us-gov-west-1.amazonaws.com",partition:"aws-us-gov"};break;case"us-west-1":n={hostname:"cognito-identity.us-west-1.amazonaws.com",partition:"aws"};break;case"us-west-2":n={hostname:"cognito-identity.us-west-2.amazonaws.com",partition:"aws"};break;default:h.has(t)&&(n={hostname:p.replace("{region}",t),partition:"aws"}),w.has(t)&&(n={hostname:b.replace("{region}",t),partition:"aws-cn"}),y.has(t)&&(n={hostname:v.replace("{region}",t),partition:"aws-iso"}),j.has(t)&&(n={hostname:g.replace("{region}",t),partition:"aws-iso-b"}),O.has(t)&&(n={hostname:m.replace("{region}",t),partition:"aws-us-gov"}),void 0===n&&(n={hostname:p.replace("{region}",t),partition:"aws"})}return Promise.resolve(Object(i["a"])({signingService:"cognito-identity"},n))},L=n("da3e"),k={apiVersion:"2014-06-30",disableHostPrefix:!1,logger:{},regionInfoProvider:S,serviceId:"Cognito Identity",urlParser:L["a"]},C=Object(i["a"])(Object(i["a"])({},k),{runtime:"browser",base64Decoder:u["a"],base64Encoder:u["b"],bodyLengthChecker:l["a"],credentialDefaultProvider:function(t){return function(){return Promise.reject(new Error("Credential is missing"))}},defaultUserAgentProvider:Object(d["a"])({serviceId:k.serviceId,clientVersion:r.version}),maxAttempts:c["a"],region:Object(s["a"])("Region is missing"),requestHandler:new a["a"],sha256:o["Sha256"],streamCollector:a["b"],utf8Decoder:f["fromUtf8"],utf8Encoder:f["toUtf8"]}),_=n("36d4"),x=n("9dac"),I=n("365f"),E=n("fad4"),z=n("a9cb"),A=n("f3b6"),P=n("108d"),T=function(t){function e(e){var n=this,r=Object(i["a"])(Object(i["a"])({},C),e),o=Object(_["b"])(r),a=Object(_["a"])(o),s=Object(z["b"])(a),u=Object(c["c"])(s),l=Object(I["b"])(u),d=Object(A["b"])(l);return n=t.call(this,d)||this,n.config=d,n.middlewareStack.use(Object(c["b"])(n.config)),n.middlewareStack.use(Object(x["a"])(n.config)),n.middlewareStack.use(Object(I["a"])(n.config)),n.middlewareStack.use(Object(E["a"])(n.config)),n.middlewareStack.use(Object(A["a"])(n.config)),n}return Object(i["c"])(e,t),e.prototype.destroy=function(){t.prototype.destroy.call(this)},e}(P["a"])},a213:function(t,e,n){"use strict";n("05e7")},b932:function(t){t.exports=JSON.parse('{"name":"@aws-sdk/client-pinpoint","description":"AWS SDK for JavaScript Pinpoint Client for Node.js, Browser and React Native","version":"3.6.1","scripts":{"clean":"yarn remove-definitions && yarn remove-dist && yarn remove-documentation","build-documentation":"yarn remove-documentation && typedoc ./","prepublishOnly":"yarn build","pretest":"yarn build:cjs","remove-definitions":"rimraf ./types","remove-dist":"rimraf ./dist","remove-documentation":"rimraf ./docs","test":"exit 0","build:cjs":"tsc -p tsconfig.json","build:es":"tsc -p tsconfig.es.json","build":"yarn build:cjs && yarn build:es","postbuild":"downlevel-dts types types/ts3.4"},"main":"./dist/cjs/index.js","types":"./types/index.d.ts","module":"./dist/es/index.js","browser":{"./runtimeConfig":"./runtimeConfig.browser"},"react-native":{"./runtimeConfig":"./runtimeConfig.native"},"sideEffects":false,"dependencies":{"@aws-crypto/sha256-browser":"^1.0.0","@aws-crypto/sha256-js":"^1.0.0","@aws-sdk/config-resolver":"3.6.1","@aws-sdk/credential-provider-node":"3.6.1","@aws-sdk/fetch-http-handler":"3.6.1","@aws-sdk/hash-node":"3.6.1","@aws-sdk/invalid-dependency":"3.6.1","@aws-sdk/middleware-content-length":"3.6.1","@aws-sdk/middleware-host-header":"3.6.1","@aws-sdk/middleware-logger":"3.6.1","@aws-sdk/middleware-retry":"3.6.1","@aws-sdk/middleware-serde":"3.6.1","@aws-sdk/middleware-signing":"3.6.1","@aws-sdk/middleware-stack":"3.6.1","@aws-sdk/middleware-user-agent":"3.6.1","@aws-sdk/node-config-provider":"3.6.1","@aws-sdk/node-http-handler":"3.6.1","@aws-sdk/protocol-http":"3.6.1","@aws-sdk/smithy-client":"3.6.1","@aws-sdk/types":"3.6.1","@aws-sdk/url-parser":"3.6.1","@aws-sdk/url-parser-native":"3.6.1","@aws-sdk/util-base64-browser":"3.6.1","@aws-sdk/util-base64-node":"3.6.1","@aws-sdk/util-body-length-browser":"3.6.1","@aws-sdk/util-body-length-node":"3.6.1","@aws-sdk/util-user-agent-browser":"3.6.1","@aws-sdk/util-user-agent-node":"3.6.1","@aws-sdk/util-utf8-browser":"3.6.1","@aws-sdk/util-utf8-node":"3.6.1","tslib":"^2.0.0"},"devDependencies":{"@aws-sdk/client-documentation-generator":"3.6.1","@types/node":"^12.7.5","downlevel-dts":"0.7.0","jest":"^26.1.0","rimraf":"^3.0.0","typedoc":"^0.19.2","typescript":"~4.1.2"},"engines":{"node":">=10.0.0"},"typesVersions":{"<4.0":{"types/*":["types/ts3.4/*"]}},"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-pinpoint","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"clients/client-pinpoint"}}')},bb2d:function(t,e,n){"use strict";n.d(e,"a",(function(){return T}));var i=n("d72f"),r=n("b932"),o=n("be23"),a=n("2d49"),s=n("2767"),c=n("50c7"),u=n("4b75"),l=n("37db"),d=n("c14f"),f=n("5d63"),p="pinpoint.{region}.amazonaws.com",b="pinpoint.{region}.amazonaws.com.cn",v="pinpoint.{region}.c2s.ic.gov",g="pinpoint.{region}.sc2s.sgov.gov",m="pinpoint.{region}.amazonaws.com",h=new Set(["af-south-1","ap-east-1","ap-northeast-1","ap-northeast-2","ap-south-1","ap-southeast-1","ap-southeast-2","ca-central-1","eu-central-1","eu-north-1","eu-south-1","eu-west-1","eu-west-2","eu-west-3","me-south-1","sa-east-1","us-east-1","us-east-2","us-west-1","us-west-2"]),w=new Set(["cn-north-1","cn-northwest-1"]),y=new Set(["us-iso-east-1"]),j=new Set(["us-isob-east-1"]),O=new Set(["us-gov-east-1","us-gov-west-1"]),S=function(t,e){var n=void 0;switch(t){case"ap-northeast-1":n={hostname:"pinpoint.ap-northeast-1.amazonaws.com",partition:"aws",signingService:"mobiletargeting"};break;case"ap-northeast-2":n={hostname:"pinpoint.ap-northeast-2.amazonaws.com",partition:"aws",signingService:"mobiletargeting"};break;case"ap-south-1":n={hostname:"pinpoint.ap-south-1.amazonaws.com",partition:"aws",signingService:"mobiletargeting"};break;case"ap-southeast-1":n={hostname:"pinpoint.ap-southeast-1.amazonaws.com",partition:"aws",signingService:"mobiletargeting"};break;case"ap-southeast-2":n={hostname:"pinpoint.ap-southeast-2.amazonaws.com",partition:"aws",signingService:"mobiletargeting"};break;case"ca-central-1":n={hostname:"pinpoint.ca-central-1.amazonaws.com",partition:"aws",signingService:"mobiletargeting"};break;case"eu-central-1":n={hostname:"pinpoint.eu-central-1.amazonaws.com",partition:"aws",signingService:"mobiletargeting"};break;case"eu-west-1":n={hostname:"pinpoint.eu-west-1.amazonaws.com",partition:"aws",signingService:"mobiletargeting"};break;case"eu-west-2":n={hostname:"pinpoint.eu-west-2.amazonaws.com",partition:"aws",signingService:"mobiletargeting"};break;case"fips-us-east-1":n={hostname:"pinpoint-fips.us-east-1.amazonaws.com",partition:"aws",signingRegion:"us-east-1"};break;case"fips-us-gov-west-1":n={hostname:"pinpoint-fips.us-gov-west-1.amazonaws.com",partition:"aws-us-gov",signingRegion:"us-gov-west-1"};break;case"fips-us-west-2":n={hostname:"pinpoint-fips.us-west-2.amazonaws.com",partition:"aws",signingRegion:"us-west-2"};break;case"us-east-1":n={hostname:"pinpoint.us-east-1.amazonaws.com",partition:"aws",signingRegion:"us-east-1"};break;case"us-gov-west-1":n={hostname:"pinpoint.us-gov-west-1.amazonaws.com",partition:"aws-us-gov",signingRegion:"us-gov-west-1"};break;case"us-west-2":n={hostname:"pinpoint.us-west-2.amazonaws.com",partition:"aws",signingRegion:"us-west-2"};break;default:h.has(t)&&(n={hostname:p.replace("{region}",t),partition:"aws",signingService:"mobiletargeting"}),w.has(t)&&(n={hostname:b.replace("{region}",t),partition:"aws-cn"}),y.has(t)&&(n={hostname:v.replace("{region}",t),partition:"aws-iso"}),j.has(t)&&(n={hostname:g.replace("{region}",t),partition:"aws-iso-b"}),O.has(t)&&(n={hostname:m.replace("{region}",t),partition:"aws-us-gov",signingService:"mobiletargeting"}),void 0===n&&(n={hostname:p.replace("{region}",t),partition:"aws",signingService:"mobiletargeting"})}return Promise.resolve(Object(i["a"])({signingService:"mobiletargeting"},n))},L=n("da3e"),k={apiVersion:"2016-12-01",disableHostPrefix:!1,logger:{},regionInfoProvider:S,serviceId:"Pinpoint",urlParser:L["a"]},C=Object(i["a"])(Object(i["a"])({},k),{runtime:"browser",base64Decoder:u["a"],base64Encoder:u["b"],bodyLengthChecker:l["a"],credentialDefaultProvider:function(t){return function(){return Promise.reject(new Error("Credential is missing"))}},defaultUserAgentProvider:Object(d["a"])({serviceId:k.serviceId,clientVersion:r.version}),maxAttempts:c["a"],region:Object(s["a"])("Region is missing"),requestHandler:new a["a"],sha256:o["Sha256"],streamCollector:a["b"],utf8Decoder:f["fromUtf8"],utf8Encoder:f["toUtf8"]}),_=n("36d4"),x=n("9dac"),I=n("365f"),E=n("fad4"),z=n("a9cb"),A=n("f3b6"),P=n("108d"),T=function(t){function e(e){var n=this,r=Object(i["a"])(Object(i["a"])({},C),e),o=Object(_["b"])(r),a=Object(_["a"])(o),s=Object(z["b"])(a),u=Object(c["c"])(s),l=Object(I["b"])(u),d=Object(A["b"])(l);return n=t.call(this,d)||this,n.config=d,n.middlewareStack.use(Object(z["a"])(n.config)),n.middlewareStack.use(Object(c["b"])(n.config)),n.middlewareStack.use(Object(x["a"])(n.config)),n.middlewareStack.use(Object(I["a"])(n.config)),n.middlewareStack.use(Object(E["a"])(n.config)),n.middlewareStack.use(Object(A["a"])(n.config)),n}return Object(i["c"])(e,t),e.prototype.destroy=function(){t.prototype.destroy.call(this)},e}(P["a"])},d72f:function(t,e,n){"use strict";n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a})),n.d(e,"d",(function(){return s})),n.d(e,"e",(function(){return c}));var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},i(t,e)};function r(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},o.apply(this,arguments)};function a(t,e,n,i){function r(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,o){function a(t){try{c(i.next(t))}catch(e){o(e)}}function s(t){try{c(i["throw"](t))}catch(e){o(e)}}function c(t){t.done?n(t.value):r(t.value).then(a,s)}c((i=i.apply(t,e||[])).next())}))}function s(t,e){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(e){return c([t,e])}}function c(s){if(n)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(a=0)),a)try{if(n=1,i&&(r=2&s[0]?i["return"]:s[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,s[1])).done)return r;switch(i=0,r&&(s=[2&s[0],r.value]),s[0]){case 0:case 1:r=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(r=a.trys,!(r=r.length>0&&r[r.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]<r[3])){a.label=s[1];break}if(6===s[0]&&a.label<r[1]){a.label=r[1],r=s;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(s);break}r[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(c){s=[6,c],i=0}finally{n=r=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}Object.create;function c(t,e){var n="function"===typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,o=n.call(t),a=[];try{while((void 0===e||e-- >0)&&!(i=o.next()).done)a.push(i.value)}catch(s){r={error:s}}finally{try{i&&!i.done&&(n=o["return"])&&n.call(o)}finally{if(r)throw r.error}}return a}Object.create;"function"===typeof SuppressedError&&SuppressedError},ed04:function(t,e,n){"use strict";n.d(e,"c",(function(){return o})),n.d(e,"d",(function(){return a})),n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return u}));var i=n("822f"),r=n("1279"),o=function(t,e){return Object(i["b"])(void 0,void 0,void 0,(function(){var n,r;return Object(i["d"])(this,(function(i){return n={"content-type":"application/x-amz-json-1.1","x-amz-target":"AWSCognitoIdentityService.GetCredentialsForIdentity"},r=JSON.stringify(y(t,e)),[2,D(e,n,"/",void 0,r)]}))}))},a=function(t,e){return Object(i["b"])(void 0,void 0,void 0,(function(){var n,r;return Object(i["d"])(this,(function(i){return n={"content-type":"application/x-amz-json-1.1","x-amz-target":"AWSCognitoIdentityService.GetId"},r=JSON.stringify(j(t,e)),[2,D(e,n,"/",void 0,r)]}))}))},s=function(t,e){return Object(i["b"])(void 0,void 0,void 0,(function(){var n,r,o;return Object(i["d"])(this,(function(a){switch(a.label){case 0:return t.statusCode>=300?[2,c(t,e)]:[4,N(t.body,e)];case 1:return n=a.sent(),r={},r=k(n,e),o=Object(i["a"])({$metadata:R(t)},r),[2,Promise.resolve(o)]}}))}))},c=function(t,e){return Object(i["b"])(void 0,void 0,void 0,(function(){var n,r,o,a,s,c,u,l,v,y,j,O,S,L,k,C;return Object(i["d"])(this,(function(_){switch(_.label){case 0:return r=[Object(i["a"])({},t)],C={},[4,N(t.body,e)];case 1:switch(n=i["a"].apply(void 0,r.concat([(C.body=_.sent(),C)])),a="UnknownError",a=B(t,n.body),s=a,s){case"ExternalServiceException":return[3,2];case"com.amazonaws.cognitoidentity#ExternalServiceException":return[3,2];case"InternalErrorException":return[3,4];case"com.amazonaws.cognitoidentity#InternalErrorException":return[3,4];case"InvalidIdentityPoolConfigurationException":return[3,6];case"com.amazonaws.cognitoidentity#InvalidIdentityPoolConfigurationException":return[3,6];case"InvalidParameterException":return[3,8];case"com.amazonaws.cognitoidentity#InvalidParameterException":return[3,8];case"NotAuthorizedException":return[3,10];case"com.amazonaws.cognitoidentity#NotAuthorizedException":return[3,10];case"ResourceConflictException":return[3,12];case"com.amazonaws.cognitoidentity#ResourceConflictException":return[3,12];case"ResourceNotFoundException":return[3,14];case"com.amazonaws.cognitoidentity#ResourceNotFoundException":return[3,14];case"TooManyRequestsException":return[3,16];case"com.amazonaws.cognitoidentity#TooManyRequestsException":return[3,16]}return[3,18];case 2:return c=[{}],[4,d(n,e)];case 3:return o=i["a"].apply(void 0,[i["a"].apply(void 0,c.concat([_.sent()])),{name:a,$metadata:R(t)}]),[3,19];case 4:return u=[{}],[4,f(n,e)];case 5:return o=i["a"].apply(void 0,[i["a"].apply(void 0,u.concat([_.sent()])),{name:a,$metadata:R(t)}]),[3,19];case 6:return l=[{}],[4,p(n,e)];case 7:return o=i["a"].apply(void 0,[i["a"].apply(void 0,l.concat([_.sent()])),{name:a,$metadata:R(t)}]),[3,19];case 8:return v=[{}],[4,b(n,e)];case 9:return o=i["a"].apply(void 0,[i["a"].apply(void 0,v.concat([_.sent()])),{name:a,$metadata:R(t)}]),[3,19];case 10:return y=[{}],[4,g(n,e)];case 11:return o=i["a"].apply(void 0,[i["a"].apply(void 0,y.concat([_.sent()])),{name:a,$metadata:R(t)}]),[3,19];case 12:return j=[{}],[4,m(n,e)];case 13:return o=i["a"].apply(void 0,[i["a"].apply(void 0,j.concat([_.sent()])),{name:a,$metadata:R(t)}]),[3,19];case 14:return O=[{}],[4,h(n,e)];case 15:return o=i["a"].apply(void 0,[i["a"].apply(void 0,O.concat([_.sent()])),{name:a,$metadata:R(t)}]),[3,19];case 16:return S=[{}],[4,w(n,e)];case 17:return o=i["a"].apply(void 0,[i["a"].apply(void 0,S.concat([_.sent()])),{name:a,$metadata:R(t)}]),[3,19];case 18:L=n.body,a=L.code||L.Code||a,o=Object(i["a"])(Object(i["a"])({},L),{name:""+a,message:L.message||L.Message||a,$fault:"client",$metadata:R(t)}),_.label=19;case 19:return k=o.message||o.Message||a,o.message=k,delete o.Message,[2,Promise.reject(Object.assign(new Error(k),o))]}}))}))},u=function(t,e){return Object(i["b"])(void 0,void 0,void 0,(function(){var n,r,o;return Object(i["d"])(this,(function(a){switch(a.label){case 0:return t.statusCode>=300?[2,l(t,e)]:[4,N(t.body,e)];case 1:return n=a.sent(),r={},r=C(n,e),o=Object(i["a"])({$metadata:R(t)},r),[2,Promise.resolve(o)]}}))}))},l=function(t,e){return Object(i["b"])(void 0,void 0,void 0,(function(){var n,r,o,a,s,c,u,l,p,y,j,O,S,L,k,C;return Object(i["d"])(this,(function(_){switch(_.label){case 0:return r=[Object(i["a"])({},t)],C={},[4,N(t.body,e)];case 1:switch(n=i["a"].apply(void 0,r.concat([(C.body=_.sent(),C)])),a="UnknownError",a=B(t,n.body),s=a,s){case"ExternalServiceException":return[3,2];case"com.amazonaws.cognitoidentity#ExternalServiceException":return[3,2];case"InternalErrorException":return[3,4];case"com.amazonaws.cognitoidentity#InternalErrorException":return[3,4];case"InvalidParameterException":return[3,6];case"com.amazonaws.cognitoidentity#InvalidParameterException":return[3,6];case"LimitExceededException":return[3,8];case"com.amazonaws.cognitoidentity#LimitExceededException":return[3,8];case"NotAuthorizedException":return[3,10];case"com.amazonaws.cognitoidentity#NotAuthorizedException":return[3,10];case"ResourceConflictException":return[3,12];case"com.amazonaws.cognitoidentity#ResourceConflictException":return[3,12];case"ResourceNotFoundException":return[3,14];case"com.amazonaws.cognitoidentity#ResourceNotFoundException":return[3,14];case"TooManyRequestsException":return[3,16];case"com.amazonaws.cognitoidentity#TooManyRequestsException":return[3,16]}return[3,18];case 2:return c=[{}],[4,d(n,e)];case 3:return o=i["a"].apply(void 0,[i["a"].apply(void 0,c.concat([_.sent()])),{name:a,$metadata:R(t)}]),[3,19];case 4:return u=[{}],[4,f(n,e)];case 5:return o=i["a"].apply(void 0,[i["a"].apply(void 0,u.concat([_.sent()])),{name:a,$metadata:R(t)}]),[3,19];case 6:return l=[{}],[4,b(n,e)];case 7:return o=i["a"].apply(void 0,[i["a"].apply(void 0,l.concat([_.sent()])),{name:a,$metadata:R(t)}]),[3,19];case 8:return p=[{}],[4,v(n,e)];case 9:return o=i["a"].apply(void 0,[i["a"].apply(void 0,p.concat([_.sent()])),{name:a,$metadata:R(t)}]),[3,19];case 10:return y=[{}],[4,g(n,e)];case 11:return o=i["a"].apply(void 0,[i["a"].apply(void 0,y.concat([_.sent()])),{name:a,$metadata:R(t)}]),[3,19];case 12:return j=[{}],[4,m(n,e)];case 13:return o=i["a"].apply(void 0,[i["a"].apply(void 0,j.concat([_.sent()])),{name:a,$metadata:R(t)}]),[3,19];case 14:return O=[{}],[4,h(n,e)];case 15:return o=i["a"].apply(void 0,[i["a"].apply(void 0,O.concat([_.sent()])),{name:a,$metadata:R(t)}]),[3,19];case 16:return S=[{}],[4,w(n,e)];case 17:return o=i["a"].apply(void 0,[i["a"].apply(void 0,S.concat([_.sent()])),{name:a,$metadata:R(t)}]),[3,19];case 18:L=n.body,a=L.code||L.Code||a,o=Object(i["a"])(Object(i["a"])({},L),{name:""+a,message:L.message||L.Message||a,$fault:"client",$metadata:R(t)}),_.label=19;case 19:return k=o.message||o.Message||a,o.message=k,delete o.Message,[2,Promise.reject(Object.assign(new Error(k),o))]}}))}))},d=function(t,e){return Object(i["b"])(void 0,void 0,void 0,(function(){var n,r,o;return Object(i["d"])(this,(function(a){return n=t.body,r=L(n,e),o=Object(i["a"])({name:"ExternalServiceException",$fault:"client",$metadata:R(t)},r),[2,o]}))}))},f=function(t,e){return Object(i["b"])(void 0,void 0,void 0,(function(){var n,r,o;return Object(i["d"])(this,(function(a){return n=t.body,r=_(n,e),o=Object(i["a"])({name:"InternalErrorException",$fault:"server",$metadata:R(t)},r),[2,o]}))}))},p=function(t,e){return Object(i["b"])(void 0,void 0,void 0,(function(){var n,r,o;return Object(i["d"])(this,(function(a){return n=t.body,r=x(n,e),o=Object(i["a"])({name:"InvalidIdentityPoolConfigurationException",$fault:"client",$metadata:R(t)},r),[2,o]}))}))},b=function(t,e){return Object(i["b"])(void 0,void 0,void 0,(function(){var n,r,o;return Object(i["d"])(this,(function(a){return n=t.body,r=I(n,e),o=Object(i["a"])({name:"InvalidParameterException",$fault:"client",$metadata:R(t)},r),[2,o]}))}))},v=function(t,e){return Object(i["b"])(void 0,void 0,void 0,(function(){var n,r,o;return Object(i["d"])(this,(function(a){return n=t.body,r=E(n,e),o=Object(i["a"])({name:"LimitExceededException",$fault:"client",$metadata:R(t)},r),[2,o]}))}))},g=function(t,e){return Object(i["b"])(void 0,void 0,void 0,(function(){var n,r,o;return Object(i["d"])(this,(function(a){return n=t.body,r=z(n,e),o=Object(i["a"])({name:"NotAuthorizedException",$fault:"client",$metadata:R(t)},r),[2,o]}))}))},m=function(t,e){return Object(i["b"])(void 0,void 0,void 0,(function(){var n,r,o;return Object(i["d"])(this,(function(a){return n=t.body,r=A(n,e),o=Object(i["a"])({name:"ResourceConflictException",$fault:"client",$metadata:R(t)},r),[2,o]}))}))},h=function(t,e){return Object(i["b"])(void 0,void 0,void 0,(function(){var n,r,o;return Object(i["d"])(this,(function(a){return n=t.body,r=P(n,e),o=Object(i["a"])({name:"ResourceNotFoundException",$fault:"client",$metadata:R(t)},r),[2,o]}))}))},w=function(t,e){return Object(i["b"])(void 0,void 0,void 0,(function(){var n,r,o;return Object(i["d"])(this,(function(a){return n=t.body,r=T(n,e),o=Object(i["a"])({name:"TooManyRequestsException",$fault:"client",$metadata:R(t)},r),[2,o]}))}))},y=function(t,e){return Object(i["a"])(Object(i["a"])(Object(i["a"])({},void 0!==t.CustomRoleArn&&null!==t.CustomRoleArn&&{CustomRoleArn:t.CustomRoleArn}),void 0!==t.IdentityId&&null!==t.IdentityId&&{IdentityId:t.IdentityId}),void 0!==t.Logins&&null!==t.Logins&&{Logins:O(t.Logins,e)})},j=function(t,e){return Object(i["a"])(Object(i["a"])(Object(i["a"])({},void 0!==t.AccountId&&null!==t.AccountId&&{AccountId:t.AccountId}),void 0!==t.IdentityPoolId&&null!==t.IdentityPoolId&&{IdentityPoolId:t.IdentityPoolId}),void 0!==t.Logins&&null!==t.Logins&&{Logins:O(t.Logins,e)})},O=function(t,e){return Object.entries(t).reduce((function(t,e){var n,r=Object(i["e"])(e,2),o=r[0],a=r[1];return null===a?t:Object(i["a"])(Object(i["a"])({},t),(n={},n[o]=a,n))}),{})},S=function(t,e){return{AccessKeyId:void 0!==t.AccessKeyId&&null!==t.AccessKeyId?t.AccessKeyId:void 0,Expiration:void 0!==t.Expiration&&null!==t.Expiration?new Date(Math.round(1e3*t.Expiration)):void 0,SecretKey:void 0!==t.SecretKey&&null!==t.SecretKey?t.SecretKey:void 0,SessionToken:void 0!==t.SessionToken&&null!==t.SessionToken?t.SessionToken:void 0}},L=function(t,e){return{message:void 0!==t.message&&null!==t.message?t.message:void 0}},k=function(t,e){return{Credentials:void 0!==t.Credentials&&null!==t.Credentials?S(t.Credentials,e):void 0,IdentityId:void 0!==t.IdentityId&&null!==t.IdentityId?t.IdentityId:void 0}},C=function(t,e){return{IdentityId:void 0!==t.IdentityId&&null!==t.IdentityId?t.IdentityId:void 0}},_=function(t,e){return{message:void 0!==t.message&&null!==t.message?t.message:void 0}},x=function(t,e){return{message:void 0!==t.message&&null!==t.message?t.message:void 0}},I=function(t,e){return{message:void 0!==t.message&&null!==t.message?t.message:void 0}},E=function(t,e){return{message:void 0!==t.message&&null!==t.message?t.message:void 0}},z=function(t,e){return{message:void 0!==t.message&&null!==t.message?t.message:void 0}},A=function(t,e){return{message:void 0!==t.message&&null!==t.message?t.message:void 0}},P=function(t,e){return{message:void 0!==t.message&&null!==t.message?t.message:void 0}},T=function(t,e){return{message:void 0!==t.message&&null!==t.message?t.message:void 0}},R=function(t){var e;return{httpStatusCode:t.statusCode,requestId:null!==(e=t.headers["x-amzn-requestid"])&&void 0!==e?e:t.headers["x-amzn-request-id"],extendedRequestId:t.headers["x-amz-id-2"],cfId:t.headers["x-amz-cf-id"]}},$=function(t,e){return void 0===t&&(t=new Uint8Array),t instanceof Uint8Array?Promise.resolve(t):e.streamCollector(t)||Promise.resolve(new Uint8Array)},q=function(t,e){return $(t,e).then((function(t){return e.utf8Encoder(t)}))},D=function(t,e,n,o,a){return Object(i["b"])(void 0,void 0,void 0,(function(){var s,c,u,l,d,f;return Object(i["d"])(this,(function(i){switch(i.label){case 0:return[4,t.endpoint()];case 1:return s=i.sent(),c=s.hostname,u=s.protocol,l=void 0===u?"https":u,d=s.port,f={protocol:l,hostname:c,port:d,method:"POST",path:n,headers:e},void 0!==o&&(f.hostname=o),void 0!==a&&(f.body=a),[2,new r["a"](f)]}}))}))},N=function(t,e){return q(t,e).then((function(t){return t.length?JSON.parse(t):{}}))},B=function(t,e){var n=function(t,e){return Object.keys(t).find((function(t){return t.toLowerCase()===e.toLowerCase()}))},i=function(t){var e=t;return e.indexOf(":")>=0&&(e=e.split(":")[0]),e.indexOf("#")>=0&&(e=e.split("#")[1]),e},r=n(t.headers,"x-amzn-errortype");return void 0!==r?i(t.headers[r]):void 0!==e.code?i(e.code):void 0!==e["__type"]?i(e["__type"]):""}},f3a9:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"campaign-body"},[e("div",{staticClass:"campaign-body__content-en",domProps:{innerHTML:t._s(t.enHtml)}}),e("div",{staticClass:"content-wrapper tw-mt-4"},[t.showThai?e("div",{staticClass:"campaign-body__content-th tw-mb-4",domProps:{innerHTML:t._s(t.thHtml)}}):t._e(),e("button",{staticClass:"campaign-body__th-toggle-btn hover:tw-underline tw-text-primary",on:{click:function(e){t.showThai=!t.showThai}}},[t._v(" "+t._s(t.showThai?"Hide Thai":"Show Thai")+" ")])])])},r=[],o=n("0e54"),a=n.n(o),s={name:"CampaignBody",props:{content:Object},data(){return{showThai:!1,enHtml:null,thHtml:null}},created(){const{en:t,th:e}=this.content.content.text;t&&(this.enHtml=a()(t)),e&&(this.thHtml=a()(e))}},c=s,u=n("2877"),l=Object(u["a"])(c,i,r,!1,null,"9ef34370",null);e["default"]=l.exports},f625:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"cctv-policy row justify-center"},[e("h1",{staticStyle:{display:"none"}},[t._v("CCTV policy")]),t.$q.screen.lt.sm?e("TitleBar",{attrs:{"center-slot":"Privacy policy"}}):t._e(),t.$q.screen.gt.xs?e("TileBar",{staticClass:"col-12 col-sm-10 col-md-9",attrs:{optionButton:"Back"},on:{"on-button":function(e){return t.$router.go(-1)}}}):t._e(),e("div",{staticClass:"col-12 col-sm-10 col-md-9 q-px-sm"},[e("Markdown",{staticClass:"privacy-text",attrs:{data:t.md}})],1)],1)},r=[],o=(n("ddb0"),n("e6e0")),a="##### <center>คำประà¸à¸²à¸¨à¹€à¸à¸µà¹ˆà¸¢à¸§à¸à¸±à¸šà¸„วามเป็นส่วนตัวในà¸à¸²à¸£à¹ƒà¸Šà¹‰à¸à¸¥à¹‰à¸à¸‡à¸§à¸‡à¸ˆà¸£à¸›à¸´à¸”</center>\n##### <center>(CCTV Privacy Notice)</center>\n-----------------------------------------------------------------------\n\nบริษัท วิลล่า มาร์เà¸à¹‡à¸— เจพี จà¹à¸²à¸à¸±à¸”ซึ่งต่à¸à¹„ปในประà¸à¸²à¸¨à¸™à¸µà¹‰ เรียà¸à¸§à¹ˆà¸² (“วิลล่ามาร์เà¸à¹‡à¸—เจพีâ€,“วิลล่าâ€, “วิลล่า มาร์เà¸à¹‡à¸—â€, “เราâ€, “พวà¸à¹€à¸£à¸²â€ หรืภ“ขà¸à¸‡à¹€à¸£à¸²â€) à¸à¸³à¸¥à¸±à¸‡à¸”ำเนินà¸à¸²à¸£à¹ƒà¸Šà¹‰à¸à¸¥à¹‰à¸à¸‡à¸§à¸‡à¸ˆà¸£à¸›à¸´à¸” (CCTV) สำหรับà¸à¸²à¸£à¹€à¸à¹‰à¸²à¸£à¸°à¸§à¸±à¸‡à¸ªà¸±à¸‡à¹€à¸à¸•à¸à¸²à¸£à¸“์ในพื้นที่ภายในà¹à¸¥à¸°à¸£à¸à¸šà¸šà¸£à¸´à¹€à¸§à¸“ à¸à¸²à¸„าร/สิ่งà¸à¸³à¸™à¸§à¸¢à¸„วามสะดวà¸/สถานที่ (“พื้นที่â€) ขà¸à¸‡à¹€à¸£à¸² เพื่à¸à¸à¸²à¸£à¸›à¸à¸›à¹‰à¸à¸‡à¸Šà¸µà¸§à¸´à¸• สุขภาพ à¹à¸¥à¸°à¸—รัพย์สิน ทั้งนี้ เราทำà¸à¸²à¸£à¹€à¸à¹‡à¸šà¸£à¸§à¸šà¸£à¸§à¸¡à¸‚้à¸à¸¡à¸¹à¸¥à¸ªà¹ˆà¸§à¸™à¸šà¸¸à¸„คลขà¸à¸‡à¹€à¸ˆà¹‰à¸²à¸«à¸™à¹‰à¸²à¸—ี่ ผู้ปà¸à¸´à¸šà¸±à¸•ิงาน ลูà¸à¸„้า ลูà¸à¸ˆà¹‰à¸²à¸‡ ผู้รับเหมา ผู้มาติดต่ภหรืภบุคคลใด ๆ (ซึ่งต่à¸à¹„ปนี้จะเรียà¸à¸£à¸§à¸¡à¸à¸±à¸™à¸§à¹ˆà¸² “ท่านâ€) ที่เข้ามายังพื้นที่ โดยผ่านà¸à¸²à¸£à¹ƒà¸Šà¹‰à¸‡à¸²à¸™à¸à¸¸à¸›à¸à¸£à¸“์à¸à¸¥à¹‰à¸à¸‡à¸§à¸‡à¸ˆà¸£à¸›à¸´à¸”ดังà¸à¸¥à¹ˆà¸²à¸§\n\nประà¸à¸²à¸¨à¸„วามเป็นส่วนตัวในà¸à¸²à¸£à¹ƒà¸Šà¹‰à¸à¸¥à¹‰à¸à¸‡à¸§à¸‡à¸ˆà¸£à¸›à¸´à¸” (“ประà¸à¸²à¸¨â€) ฉบับนี้ให้ข้à¸à¸¡à¸¹à¸¥à¹€à¸à¸µà¹ˆà¸¢à¸§à¸à¸±à¸šà¸à¸²à¸£à¸”ำเนินà¸à¸²à¸£à¹€à¸à¹‡à¸šà¸£à¸§à¸šà¸£à¸§à¸¡ ใช้หรืà¸à¹€à¸›à¸´à¸”เผย ซึ่งข้à¸à¸¡à¸¹à¸¥à¸—ี่สามารถทำให้สามารถระบุตัวท่านได้ (“ข้à¸à¸¡à¸¹à¸¥à¸ªà¹ˆà¸§à¸™à¸šà¸¸à¸„คลâ€) รวมทั้งสิทธิต่าง ๆ ขà¸à¸‡à¸—่าน ดังนี้\n\n1. **à¸à¸²à¸™à¸à¸Žà¸«à¸¡à¸²à¸¢à¹ƒà¸™à¸à¸²à¸£à¸›à¸£à¸°à¸¡à¸§à¸¥à¸œà¸¥à¸‚้à¸à¸¡à¸¹à¸¥à¸ªà¹ˆà¸§à¸™à¸šà¸¸à¸„คล** \n เราดำเนินà¸à¸²à¸£à¹€à¸à¹‡à¸šà¸£à¸§à¸šà¸£à¸§à¸¡à¸‚้à¸à¸¡à¸¹à¸¥à¸ªà¹ˆà¸§à¸™à¸šà¸¸à¸„คลขà¸à¸‡à¸—่านภายใต้à¸à¸²à¸™à¸à¸Žà¸«à¸¡à¸²à¸¢à¸”ังต่à¸à¹„ปนี้ \n - ความจำเป็นในà¸à¸²à¸£à¸›à¹‰à¸à¸‡à¸à¸±à¸™à¸«à¸£à¸·à¸à¸£à¸°à¸‡à¸±à¸šà¸à¸±à¸™à¸•รายต่à¸à¸Šà¸µà¸§à¸´à¸• ร่างà¸à¸²à¸¢ หรืà¸à¸ªà¸¸à¸‚ภาพขà¸à¸‡à¸—่านหรืà¸à¸šà¸¸à¸„คลà¸à¸·à¹ˆà¸™\n - ความจำเป็นเพื่à¸à¸›à¸£à¸°à¹‚ยชน์โดยชà¸à¸šà¸”้วยà¸à¸Žà¸«à¸¡à¸²à¸¢à¸‚à¸à¸‡à¹€à¸£à¸²à¸«à¸£à¸·à¸à¸šà¸¸à¸„คลà¸à¸·à¹ˆà¸™ โดยประโยชน์ดังà¸à¸¥à¹ˆà¸²à¸§à¸¡à¸µà¸„วามสำคัà¸à¹„ม่น้à¸à¸¢à¹„ปà¸à¸§à¹ˆà¸²à¸ªà¸´à¸—ธิขั้นพื้นà¸à¸²à¸™à¹ƒà¸™à¸‚้à¸à¸¡à¸¹à¸¥à¸ªà¹ˆà¸§à¸™à¸šà¸¸à¸„คลขà¸à¸‡à¸—่าน\n - ความจำเป็นในà¸à¸²à¸£à¸›à¸à¸´à¸šà¸±à¸•ิตามà¸à¸Žà¸«à¸¡à¸²à¸¢à¸—ี่เà¸à¸µà¹ˆà¸¢à¸§à¸‚้à¸à¸‡ ซึ่งควบคุมดูà¹à¸¥à¹€à¸à¸µà¹ˆà¸¢à¸§à¸à¸±à¸šà¸„วามปลà¸à¸”ภัยà¹à¸¥à¸°à¸ªà¸ าพà¹à¸§à¸”ล้à¸à¸¡à¹ƒà¸™à¸ªà¸–านที่ทำงาน à¹à¸¥à¸°à¸—รัพย์สินขà¸à¸‡à¹€à¸£à¸²\n\n\n2. **วัตถุประสงค์ในà¸à¸²à¸£à¹€à¸à¹‡à¸šà¸£à¸§à¸šà¸£à¸§à¸¡à¸‚้à¸à¸¡à¸¹à¸¥à¸ªà¹ˆà¸§à¸™à¸šà¸¸à¸„คลขà¸à¸‡à¸—่าน** \n เราดำเนินà¸à¸²à¸£à¹€à¸à¹‡à¸šà¸£à¸§à¸šà¸£à¸§à¸¡à¸‚้à¸à¸¡à¸¹à¸¥à¸ªà¹ˆà¸§à¸™à¸šà¸¸à¸„คลขà¸à¸‡à¸—่านเพื่à¸à¸§à¸±à¸•ถุประสงค์ ดังต่à¸à¹„ปนี้\n 1. เพื่à¸à¸à¸²à¸£à¸›à¸à¸›à¹‰à¸à¸‡à¸ªà¸¸à¸‚ภาพà¹à¸¥à¸°à¸„วามปลà¸à¸”ภัยส่วนตัวขà¸à¸‡à¸—่าน ซึ่งรวมไปถึงทรัพย์สินขà¸à¸‡à¸—่าน\n 2. เพื่à¸à¸à¸²à¸£à¸›à¸à¸›à¹‰à¸à¸‡à¸à¸²à¸„าร สิ่งà¸à¸³à¸™à¸§à¸¢à¸„วามสะดวà¸à¹à¸¥à¸°à¸—รัพย์สินขà¸à¸‡à¹€à¸£à¸²à¸ˆà¸²à¸à¸„วามเสียหาย à¸à¸²à¸£à¸‚ัดขวาง à¸à¸²à¸£à¸—ำลายซึ่งทรัพย์สินหรืà¸à¸à¸²à¸Šà¸à¸²à¸à¸£à¸£à¸¡à¸à¸·à¹ˆà¸™\n 3. เพื่à¸à¸ªà¸™à¸±à¸šà¸ªà¸™à¸¸à¸™à¸«à¸™à¹ˆà¸§à¸¢à¸‡à¸²à¸™à¸—ี่เà¸à¸µà¹ˆà¸¢à¸§à¸‚้à¸à¸‡à¹ƒà¸™à¸à¸²à¸£à¸šà¸±à¸‡à¸„ับใช้à¸à¸Žà¸«à¸¡à¸²à¸¢à¹€à¸žà¸·à¹ˆà¸à¸à¸²à¸£à¸¢à¸±à¸šà¸¢à¸±à¹‰à¸‡ ป้à¸à¸‡à¸à¸±à¸™ สืบค้น à¹à¸¥à¸° ดำเนินคดีทางà¸à¸Žà¸«à¸¡à¸²à¸¢\n 4. เพื่à¸à¸à¸²à¸£à¹ƒà¸«à¹‰à¸„วามช่วยเหลืà¸à¹ƒà¸™à¸à¸£à¸°à¸šà¸§à¸™à¸à¸²à¸£à¸£à¸°à¸‡à¸±à¸šà¸‚้à¸à¸žà¸´à¸žà¸²à¸—ซึ่งเà¸à¸´à¸”ขึ้นในระหว่างที่มีà¸à¸£à¸°à¸šà¸§à¸™à¸à¸²à¸£à¸—างวินัยหรืà¸à¸à¸£à¸°à¸šà¸§à¸™à¸à¸²à¸£à¸£à¹‰à¸à¸‡à¸—ุà¸à¸‚์\n 5. เพื่à¸à¸à¸²à¸£à¹ƒà¸«à¹‰à¸„วามช่วยเหลืà¸à¹ƒà¸™à¸à¸£à¸°à¸šà¸§à¸™à¸à¸²à¸£à¸ªà¸à¸šà¸ªà¸§à¸™ หรืภà¸à¸£à¸°à¸šà¸§à¸™à¸à¸²à¸£à¹€à¸à¸µà¹ˆà¸¢à¸§à¸à¸±à¸šà¸à¸²à¸£à¸ªà¹ˆà¸‡à¹€à¸£à¸·à¹ˆà¸à¸‡à¸£à¹‰à¸à¸‡à¹€à¸£à¸µà¸¢à¸™\n 6. เพื่à¸à¸à¸²à¸£à¹ƒà¸«à¹‰à¸„วามช่วยเหลืà¸à¹ƒà¸™à¸à¸£à¸°à¸šà¸§à¸™à¸à¸²à¸£à¸£à¸´à¹€à¸£à¸´à¹ˆà¸¡à¸«à¸£à¸·à¸à¸›à¹‰à¸à¸‡à¸à¸±à¸™à¸à¸²à¸£à¸Ÿà¹‰à¸à¸‡à¸£à¹‰à¸à¸‡à¸—างà¹à¸žà¹ˆà¸‡ ซึ่งรวมไปถึงà¹à¸•่ไม่จำà¸à¸±à¸”เพียงà¸à¸²à¸£à¸”ำเนินà¸à¸²à¸£à¸—างà¸à¸Žà¸«à¸¡à¸²à¸¢à¸—ี่เà¸à¸µà¹ˆà¸¢à¸§à¸‚้à¸à¸‡à¸à¸±à¸šà¸à¸²à¸£à¸ˆà¹‰à¸²à¸‡à¸‡à¸²à¸™\n\n\n3. **ข้à¸à¸¡à¸¹à¸¥à¸ªà¹ˆà¸§à¸™à¸šà¸¸à¸„คลที่เราเà¸à¹‡à¸šà¸£à¸§à¸šà¸£à¸§à¸¡à¹à¸¥à¸°à¹ƒà¸Šà¹‰** \n ตามวัตถุประสงค์ตามที่ได้à¹à¸ˆà¹‰à¸‡à¹ƒà¸™à¸‚้ภ2. เราทำà¸à¸²à¸£à¸•ิดตั้งà¸à¸¥à¹‰à¸à¸‡à¸§à¸‡à¸ˆà¸£à¸›à¸´à¸”ในตำà¹à¸«à¸™à¹ˆà¸‡à¸—ี่มà¸à¸‡à¹€à¸«à¹‡à¸™à¹„ด้ โดยจะจัดวางป้ายเตืà¸à¸™à¸§à¹ˆà¸²à¸¡à¸µà¸à¸²à¸£à¹ƒà¸Šà¹‰à¸‡à¸²à¸™à¸à¸¥à¹‰à¸à¸‡à¸§à¸‡à¸ˆà¸£à¸›à¸´à¸” ณ ทางเข้าà¹à¸¥à¸°à¸—างà¸à¸à¸ รวมถึงพื้นที่ที่เราเห็นสมควรว่าเป็นจุดที่ต้à¸à¸‡à¸¡à¸µà¸à¸²à¸£à¹€à¸à¹‰à¸²à¸£à¸°à¸§à¸±à¸‡ เพื่à¸à¹€à¸à¹‡à¸šà¸£à¸§à¸šà¸£à¸§à¸¡à¸‚้à¸à¸¡à¸¹à¸¥à¸ªà¹ˆà¸§à¸™à¸šà¸¸à¸„คลขà¸à¸‡à¸—่านเมื่à¸à¸—่านเข้ามายังพื้นที่ ดังต่à¸à¹„ปนี้\n - ภาพนิ่ง\n - ภาพเคลื่à¸à¸™à¹„หว\n - เสียง\n - ภาพทรัพย์สินขà¸à¸‡à¸—่าน เช่น พาหนะ à¸à¸£à¸°à¹€à¸›à¹‹à¸² หมวภเครื่à¸à¸‡à¹à¸•่งà¸à¸²à¸¢ เป็นต้น \n ทั้งนี้ เราจะไม่ทำà¸à¸²à¸£à¸•ิดตั้งà¸à¸¥à¹‰à¸à¸‡à¸§à¸‡à¸ˆà¸£à¸›à¸´à¸”ในพื้นที่ที่à¸à¸²à¸ˆà¸¥à¹ˆà¸§à¸‡à¸¥à¸°à¹€à¸¡à¸´à¸”สิทธิขั้นพื้นà¸à¸²à¸™à¸‚à¸à¸‡à¸—่านจนเà¸à¸´à¸™à¸ªà¸¡à¸„วร ได้à¹à¸à¹ˆ ห้à¸à¸‡à¸žà¸±à¸ ห้à¸à¸‡à¸™à¹‰à¸³ ห้à¸à¸‡à¸à¸²à¸šà¸™à¹‰à¸³ หรืà¸à¸ªà¸–านที่เพื่à¸à¹ƒà¸Šà¹‰à¹ƒà¸™à¸à¸²à¸£à¸žà¸±à¸à¸œà¹ˆà¸à¸™à¸‚à¸à¸‡à¸œà¸¹à¹‰à¸›à¸à¸´à¸šà¸±à¸•ิงาน\n\n\n4. **à¸à¸²à¸£à¹€à¸›à¸´à¸”เผยข้à¸à¸¡à¸¹à¸¥à¸ªà¹ˆà¸§à¸™à¸šà¸¸à¸„คลขà¸à¸‡à¸—่าน** \n เราจะเà¸à¹‡à¸šà¸£à¸±à¸à¸©à¸²à¸‚้à¸à¸¡à¸¹à¸¥à¹ƒà¸™à¸à¸¥à¹‰à¸à¸‡à¸§à¸‡à¸ˆà¸£à¸›à¸´à¸”ที่เà¸à¸µà¹ˆà¸¢à¸§à¸à¸±à¸šà¸—่านไว้เป็นความลับ à¹à¸¥à¸°à¸ˆà¸°à¹„ม่ทำà¸à¸²à¸£à¹€à¸›à¸´à¸”เผย เว้นà¹à¸•่ à¸à¸£à¸“ีที่เรามีความจำเป็นเพื่à¸à¹ƒà¸«à¹‰à¸ªà¸²à¸¡à¸²à¸£à¸–บรรลุวัตถุประสงค์ในà¸à¸²à¸£à¹€à¸à¹‰à¸²à¸£à¸°à¸§à¸±à¸‡à¸ªà¸±à¸‡à¹€à¸à¸•à¸à¸²à¸£à¸“์ตามที่ได้ระบุในประà¸à¸²à¸¨à¸‰à¸šà¸±à¸šà¸™à¸µà¹‰ เราà¸à¸²à¸ˆà¹€à¸›à¸´à¸”เผยข้à¸à¸¡à¸¹à¸¥à¹ƒà¸™à¸à¸¥à¹‰à¸à¸‡à¸§à¸‡à¸ˆà¸£à¸›à¸´à¸”à¹à¸à¹ˆà¸›à¸£à¸°à¹€à¸ ทขà¸à¸‡à¸šà¸¸à¸„คลหรืà¸à¸™à¸´à¸•ิบุคคล ดังต่à¸à¹„ปนี้\n 1. หน่วยงานที่มีà¸à¸³à¸™à¸²à¸ˆà¸«à¸™à¹‰à¸²à¸—ี่ตามที่à¸à¸Žà¸«à¸¡à¸²à¸¢à¸à¸³à¸«à¸™à¸” เพื่à¸à¸Šà¹ˆà¸§à¸¢à¹€à¸«à¸¥à¸·à¸ สนับสนุนในà¸à¸²à¸£à¸šà¸±à¸‡à¸„ับใช้à¸à¸Žà¸«à¸¡à¸²à¸¢ หรืà¸à¹€à¸žà¸·à¹ˆà¸à¸à¸²à¸£à¸”ำเนินà¸à¸²à¸£à¸ªà¸·à¸šà¸ªà¸§à¸™ สà¸à¸šà¸ªà¸§à¸™ หรืà¸à¸à¸²à¸£à¸”ำเนินคดีความต่าง ๆ\n 2. ผู้ให้บริà¸à¸²à¸£à¸‹à¸¶à¹ˆà¸‡à¹€à¸›à¹‡à¸™à¸šà¸¸à¸„คลภายนà¸à¸ เพื่à¸à¸„วามจำเป็นในà¸à¸²à¸£à¸ªà¸£à¹‰à¸²à¸‡à¸„วามมั่นใจในเรื่à¸à¸‡à¸à¸²à¸£à¸›à¹‰à¸à¸‡à¸à¸±à¸™à¸«à¸£à¸·à¸à¸£à¸°à¸‡à¸±à¸šà¸à¸±à¸™à¸•รายต่à¸à¸Šà¸µà¸§à¸´à¸• ร่างà¸à¸²à¸¢ สุขภาพ รวมทั้งทรัพย์สินขà¸à¸‡à¸—่านหรืà¸à¸šà¸¸à¸„คลà¸à¸·à¹ˆà¸™\n\n\n5. **สิทธิตามพระราชบัà¸à¸à¸±à¸•ิคุ้มครà¸à¸‡à¸‚้à¸à¸¡à¸¹à¸¥à¸ªà¹ˆà¸§à¸™à¸šà¸¸à¸„คล พ.ศ. 2562 ขà¸à¸‡à¸—่าน** \n พระราชบัà¸à¸à¸±à¸•ิคุ้มครà¸à¸‡à¸‚้à¸à¸¡à¸¹à¸¥à¸ªà¹ˆà¸§à¸™à¸šà¸¸à¸„คล พ.ศ. 2562 มีวัตถุประสงค์เพื่à¸à¹ƒà¸«à¹‰à¸‚้à¸à¸¡à¸¹à¸¥à¸ªà¹ˆà¸§à¸™à¸šà¸¸à¸„คลขà¸à¸‡à¸—่านà¸à¸¢à¸¹à¹ˆà¹ƒà¸™à¸„วามควบคุมขà¸à¸‡à¸—่านได้มาà¸à¸‚ึ้น โดยท่านสามารถใช้สิทธิตามพระราชบัà¸à¸à¸±à¸•ิคุ้มครà¸à¸‡à¸‚้à¸à¸¡à¸¹à¸¥à¸ªà¹ˆà¸§à¸™à¸šà¸¸à¸„คล พ.ศ. 2562 เมื่à¸à¸šà¸—บัà¸à¸à¸±à¸•ิในส่วนที่เà¸à¸µà¹ˆà¸¢à¸§à¸à¸±à¸šà¸ªà¸´à¸—ธิขà¸à¸‡à¹€à¸ˆà¹‰à¸²à¸‚à¸à¸‡à¸‚้à¸à¸¡à¸¹à¸¥à¸ªà¹ˆà¸§à¸™à¸šà¸¸à¸„คลมีผลใช้บังคับ ซึ่งมีรายละเà¸à¸µà¸¢à¸”ดังต่à¸à¹„ปนี้\n 1. สิทธิในà¸à¸²à¸£à¹€à¸‚้าถึง รับสำเนา à¹à¸¥à¸°à¸‚à¸à¹ƒà¸«à¹‰à¹€à¸›à¸´à¸”เผยที่มาขà¸à¸‡à¸‚้à¸à¸¡à¸¹à¸¥à¸ªà¹ˆà¸§à¸™à¸šà¸¸à¸„คลขà¸à¸‡à¸—่านที่เราเà¸à¹‡à¸šà¸£à¸§à¸šà¸£à¸§à¸¡à¸à¸¢à¸¹à¹ˆ เว้นà¹à¸•่à¸à¸£à¸“ีที่เรามีสิทธิปà¸à¸´à¹€à¸ªà¸˜à¸„ำขà¸à¸‚à¸à¸‡à¸—่านตามà¸à¸Žà¸«à¸¡à¸²à¸¢à¸«à¸£à¸·à¸à¸„ำสั่งศาล หรืà¸à¸à¸£à¸“ีที่คำขà¸à¸‚à¸à¸‡à¸—่านจะมีผลà¸à¸£à¸°à¸—บที่à¸à¸²à¸ˆà¸à¹ˆà¸à¹ƒà¸«à¹‰à¹€à¸à¸´à¸”ความเสียหายต่à¸à¸ªà¸´à¸—ธิà¹à¸¥à¸°à¹€à¸ªà¸£à¸µà¸ าพขà¸à¸‡à¸šà¸¸à¸„คลà¸à¸·à¹ˆà¸™\n 2. สิทธิในà¸à¸²à¸£à¸‚à¸à¹à¸à¹‰à¹„ขข้à¸à¸¡à¸¹à¸¥à¸ªà¹ˆà¸§à¸™à¸šà¸¸à¸„คลขà¸à¸‡à¸—่านที่ไม่ถูà¸à¸•้à¸à¸‡à¸«à¸£à¸·à¸à¹„ม่ครบถ้วน เพื่à¸à¹ƒà¸«à¹‰à¸¡à¸µà¸„วามถูà¸à¸•้à¸à¸‡ เป็นปัจจุบัน สมบูรณ์ à¹à¸¥à¸°à¹„ม่à¸à¹ˆà¸à¹ƒà¸«à¹‰à¹€à¸à¸´à¸”ความเข้าใจผิด\n 3. สิทธิในà¸à¸²à¸£à¸‚à¸à¹ƒà¸«à¹‰à¸£à¸°à¸‡à¸±à¸šà¸à¸²à¸£à¹ƒà¸Šà¹‰à¸‚้à¸à¸¡à¸¹à¸¥à¸ªà¹ˆà¸§à¸™à¸šà¸¸à¸„คลขà¸à¸‡à¸—่านในà¸à¸£à¸“ีหนึ่งà¸à¸£à¸“ีใด ดังต่à¸à¹„ปนี้\n 1. เมื่à¸à¸à¸¢à¸¹à¹ˆà¹ƒà¸™à¸Šà¹ˆà¸§à¸‡à¹€à¸§à¸¥à¸²à¸—ี่เราทำà¸à¸²à¸£à¸•รวจสà¸à¸šà¸•ามคำร้à¸à¸‡à¸‚à¸à¸‚à¸à¸‡à¸—่านให้à¹à¸à¹‰à¹„ขข้à¸à¸¡à¸¹à¸¥à¸ªà¹ˆà¸§à¸™à¸šà¸¸à¸„คลขà¸à¸‡à¸—่านให้ถูà¸à¸•้à¸à¸‡ สมบูรณ์à¹à¸¥à¸°à¹€à¸›à¹‡à¸™à¸›à¸±à¸ˆà¸ˆà¸¸à¸šà¸±à¸™\n 2. ข้à¸à¸¡à¸¹à¸¥à¸ªà¹ˆà¸§à¸™à¸šà¸¸à¸„คลขà¸à¸‡à¸—่านถูà¸à¹€à¸à¹‡à¸šà¸£à¸§à¸šà¸£à¸§à¸¡ ใช้หรืà¸à¹€à¸›à¸´à¸”เผยโดยมิชà¸à¸šà¸”้วยà¸à¸Žà¸«à¸¡à¸²à¸¢\n 3. เมื่à¸à¸‚้à¸à¸¡à¸¹à¸¥à¸ªà¹ˆà¸§à¸™à¸šà¸¸à¸„คลขà¸à¸‡à¸—่านหมดความจำเป็นในà¸à¸²à¸£à¹€à¸à¹‡à¸šà¸£à¸±à¸à¸©à¸²à¹„ว้ตามวัตถุประสงค์เราได้à¹à¸ˆà¹‰à¸‡à¹„ว้ในà¸à¸²à¸£à¹€à¸à¹‡à¸šà¸£à¸§à¸šà¸£à¸§à¸¡ à¹à¸•่ท่านประสงค์ให้เราเà¸à¹‡à¸šà¸£à¸±à¸à¸©à¸²à¸‚้à¸à¸¡à¸¹à¸¥à¸™à¸±à¹‰à¸™à¸•่à¸à¹„ปเพื่à¸à¸›à¸£à¸°à¸à¸à¸šà¸à¸²à¸£à¹ƒà¸Šà¹‰à¸ªà¸´à¸—ธิตามà¸à¸Žà¸«à¸¡à¸²à¸¢à¸‚à¸à¸‡à¸—่าน\n 4. เมื่à¸à¸à¸¢à¸¹à¹ˆà¹ƒà¸™à¸Šà¹ˆà¸§à¸‡à¹€à¸§à¸¥à¸²à¸—ี่เราà¸à¸³à¸¥à¸±à¸‡à¸žà¸´à¸ªà¸¹à¸ˆà¸™à¹Œà¹ƒà¸«à¹‰à¸—่านเห็นถึงเหตุà¸à¸±à¸™à¸Šà¸à¸šà¸”้วยà¸à¸Žà¸«à¸¡à¸²à¸¢à¹ƒà¸™à¸à¸²à¸£à¹€à¸à¹‡à¸šà¸£à¸§à¸šà¸£à¸§à¸¡ ใช้หรืà¸à¹€à¸›à¸´à¸”เผยข้à¸à¸¡à¸¹à¸¥à¸ªà¹ˆà¸§à¸™à¸šà¸¸à¸„คลขà¸à¸‡à¸—่าน หรืà¸à¸•รวจสà¸à¸šà¸„วามจำเป็นในà¸à¸²à¸£à¹€à¸à¹‡à¸šà¸£à¸§à¸šà¸£à¸§à¸¡ ใช้ หรืà¸à¹€à¸›à¸´à¸”เผยข้à¸à¸¡à¸¹à¸¥à¸ªà¹ˆà¸§à¸™à¸šà¸¸à¸„คลขà¸à¸‡à¸—่านเพื่à¸à¸›à¸£à¸°à¹‚ยชน์สาธารณะ à¸à¸±à¸™à¹€à¸™à¸·à¹ˆà¸à¸‡à¸¡à¸²à¸ˆà¸²à¸à¸à¸²à¸£à¸—ี่ท่านได้ใช้สิทธิคัดค้านà¸à¸²à¸£à¹€à¸à¹‡à¸šà¸£à¸§à¸šà¸£à¸§à¸¡ ใช้ หรืà¸à¹€à¸›à¸´à¸”เผยข้à¸à¸¡à¸¹à¸¥à¸ªà¹ˆà¸§à¸™à¸šà¸¸à¸„คลขà¸à¸‡à¸—่าน\n 4. สิทธิในà¸à¸²à¸£à¸„ัดค้านà¸à¸²à¸£à¹€à¸à¹‡à¸šà¸£à¸§à¸šà¸£à¸§à¸¡ ใช้ หรืà¸à¹€à¸›à¸´à¸”เผยข้à¸à¸¡à¸¹à¸¥à¸ªà¹ˆà¸§à¸™à¸šà¸¸à¸„คลขà¸à¸‡à¸—่าน เว้นà¹à¸•่à¸à¸£à¸“ีที่เราเหตุในà¸à¸²à¸£à¸›à¸à¸´à¹€à¸ªà¸˜à¸„ำขà¸à¸‚à¸à¸‡à¸—่านโดยชà¸à¸šà¸”้วยà¸à¸Žà¸«à¸¡à¸²à¸¢ (เช่น เราสามารถà¹à¸ªà¸”งให้เห็นว่าà¸à¸²à¸£à¹€à¸à¹‡à¸šà¸£à¸§à¸šà¸£à¸§à¸¡ ใช้ หรืà¸à¹€à¸›à¸´à¸”เผยข้à¸à¸¡à¸¹à¸¥à¸ªà¹ˆà¸§à¸™à¸šà¸¸à¸„คลขà¸à¸‡à¸—่านมีเหตุà¸à¸±à¸™à¸Šà¸à¸šà¸”้วยà¸à¸Žà¸«à¸¡à¸²à¸¢à¸¢à¸´à¹ˆà¸‡à¸à¸§à¹ˆà¸² หรืà¸à¹€à¸žà¸·à¹ˆà¸à¸à¸²à¸£à¸à¹ˆà¸à¸•ั้งสิทธิเรียà¸à¸£à¹‰à¸à¸‡à¸•ามà¸à¸Žà¸«à¸¡à¸²à¸¢ à¸à¸²à¸£à¸›à¸à¸´à¸šà¸±à¸•ิตามหรืà¸à¸à¸²à¸£à¹ƒà¸Šà¹‰à¸ªà¸´à¸—ธิเรียà¸à¸£à¹‰à¸à¸‡à¸—างà¸à¸Žà¸«à¸¡à¸²à¸¢ หรืà¸à¹€à¸žà¸·à¹ˆà¸à¸›à¸£à¸°à¹‚ยชน์สาธารณะตามภารà¸à¸´à¸ˆà¸‚à¸à¸‡à¹€à¸£à¸²)\n\n\n6. **ระยะเวลาในà¸à¸²à¸£à¹€à¸à¹‡à¸šà¸£à¸±à¸à¸©à¸²à¸‚้à¸à¸¡à¸¹à¸¥à¸ªà¹ˆà¸§à¸™à¸šà¸¸à¸„คล** \n เพื่à¸à¸šà¸£à¸£à¸¥à¸¸à¸§à¸±à¸•ถุประสงค์ขà¸à¸‡à¸à¸²à¸£à¹€à¸à¹‰à¸²à¸£à¸°à¸§à¸±à¸‡à¸ªà¸±à¸‡à¹€à¸à¸•โดยà¸à¸²à¸£à¹ƒà¸Šà¹‰à¸à¸¸à¸›à¸à¸£à¸“์à¸à¸¥à¹‰à¸à¸‡à¸§à¸‡à¸ˆà¸£à¸›à¸´à¸”ตามที่ประà¸à¸²à¸¨à¸™à¸µà¹‰à¸à¸³à¸«à¸™à¸” เราจะเà¸à¹‡à¸šà¸£à¸±à¸à¸©à¸²à¸‚้à¸à¸¡à¸¹à¸¥à¸ªà¹ˆà¸§à¸™à¸šà¸¸à¸„คลในà¸à¸¥à¹‰à¸à¸‡à¸§à¸‡à¸ˆà¸£à¸›à¸´à¸”ที่เà¸à¸µà¹ˆà¸¢à¸§à¸‚้à¸à¸‡à¸à¸±à¸šà¸—่าน เป็นระยะเวลาประมาณ 30 วันทั้งนี้ขึ้นà¸à¸¢à¸¹à¹ˆà¸à¸±à¸šà¸‚นาดขà¸à¸‡à¸„วามจุà¸à¸¸à¸›à¸à¸£à¸“์ที่ใช้จัดเà¸à¹‡à¸š à¹à¸¥à¸°à¸£à¸¸à¹ˆà¸™ ในà¸à¸²à¸£à¸ˆà¸±à¸”เà¸à¹‡à¸š หรืภเมื่à¸à¹€à¸ˆà¹‰à¸²à¸«à¸™à¹‰à¸²à¸—ี่ขà¸à¸‡à¸šà¸£à¸´à¸©à¸±à¸—ได้ทำà¸à¸²à¸£à¸•รวจสà¸à¸šà¸¢à¹‰à¸à¸™à¸«à¸¥à¸±à¸‡à¹€à¸£à¸µà¸¢à¸šà¸£à¹‰à¸à¸¢à¹à¸¥à¹‰à¸§ ทั้งนี้ เมื่à¸à¸žà¹‰à¸™à¸£à¸°à¸¢à¸°à¹€à¸§à¸¥à¸² à¹à¸¥à¸°à¸”ำเนินà¸à¸²à¸£à¸•รวจสà¸à¸šà¹€à¸£à¸µà¸¢à¸šà¸£à¹‰à¸à¸¢ เราจะทำà¸à¸²à¸£ ลบ ทำลายข้à¸à¸¡à¸¹à¸¥à¸ªà¹ˆà¸§à¸™à¸šà¸¸à¸„คลขà¸à¸‡à¸—่านต่à¸à¹„ป\n\n\n7. **à¸à¸²à¸£à¸£à¸±à¸à¸©à¸²à¸„วามมั่นคงปลà¸à¸”ภัยข้à¸à¸¡à¸¹à¸¥à¸ªà¹ˆà¸§à¸™à¸šà¸¸à¸„คล** \n เรามีมาตรà¸à¸²à¸£à¹ƒà¸™à¸à¸²à¸£à¸£à¸±à¸à¸©à¸²à¸„วามมั่นคงปลà¸à¸”ภัยข้à¸à¸¡à¸¹à¸¥à¸ªà¹ˆà¸§à¸™à¸šà¸¸à¸„คลขà¸à¸‡à¸—่านà¸à¸¢à¹ˆà¸²à¸‡à¹€à¸«à¸¡à¸²à¸°à¸ªà¸¡ ทั้งในเชิงเทคนิคà¹à¸¥à¸°à¸à¸²à¸£à¸šà¸£à¸´à¸«à¸²à¸£à¸ˆà¸±à¸”à¸à¸²à¸£ เพื่à¸à¸›à¹‰à¸à¸‡à¸à¸±à¸™à¸¡à¸´à¹ƒà¸«à¹‰à¸‚้à¸à¸¡à¸¹à¸¥à¸ªà¸¹à¸à¸«à¸²à¸¢ หรืà¸à¸¡à¸µà¸à¸²à¸£à¹€à¸‚้าถึง ลบ ทำลาย ใช้ เปลี่ยนà¹à¸›à¸¥à¸‡ à¹à¸à¹‰à¹„ข หรืà¸à¹€à¸›à¸´à¸”เผยข้à¸à¸¡à¸¹à¸¥à¸ªà¹ˆà¸§à¸™à¸šà¸¸à¸„คลโดยไม่ได้รับà¸à¸™à¸¸à¸à¸²à¸• ซึ่งสà¸à¸”คล้à¸à¸‡à¸à¸±à¸šà¸™à¹‚ยบายà¹à¸¥à¸°à¹à¸™à¸§à¸›à¸à¸´à¸šà¸±à¸•ิด้านความมั่นคงปลà¸à¸”ภัยสารสนเทศ (Information Security Policy) ขà¸à¸‡à¹€à¸£à¸²\n \n นà¸à¸à¸ˆà¸²à¸à¸™à¸µà¹‰ เราได้à¸à¸³à¸«à¸™à¸”ให้มีนโยบายà¸à¸²à¸£à¸„ุ้มครà¸à¸‡à¸‚้à¸à¸¡à¸¹à¸¥à¸ªà¹ˆà¸§à¸™à¸šà¸¸à¸„คลขึ้นโดยประà¸à¸²à¸¨à¹ƒà¸«à¹‰à¸—ราบà¸à¸±à¸™à¹‚ดยทั่วทั้งà¸à¸‡à¸„์à¸à¸£ พร้à¸à¸¡à¹à¸™à¸§à¸—างปà¸à¸´à¸šà¸±à¸•ิเพื่à¸à¹ƒà¸«à¹‰à¹€à¸à¸´à¸”ความมั่นคงปลà¸à¸”ภัยในà¸à¸²à¸£à¹€à¸à¹‡à¸šà¸£à¸§à¸šà¸£à¸§à¸¡ ใช้ หรืà¸à¹€à¸›à¸´à¸”เผยข้à¸à¸¡à¸¹à¸¥à¸ªà¹ˆà¸§à¸™à¸šà¸¸à¸„คล โดยธำรงไว้ซึ่งความเป็นความลับ (Confidentiality) ความถูà¸à¸•้à¸à¸‡à¸„รบถ้วน (Integrity) à¹à¸¥à¸°à¸ªà¸ าพพร้à¸à¸¡à¹ƒà¸Šà¹‰à¸‡à¸²à¸™ (Availability) ขà¸à¸‡à¸‚้à¸à¸¡à¸¹à¸¥à¸ªà¹ˆà¸§à¸™à¸šà¸¸à¸„คล โดยเราได้จัดให้มีà¸à¸²à¸£à¸—บทวนนโยบายดังà¸à¸¥à¹ˆà¸²à¸§à¸£à¸§à¸¡à¸–ึงประà¸à¸²à¸¨à¸™à¸µà¹‰à¹ƒà¸™à¸£à¸°à¸¢à¸°à¹€à¸§à¸¥à¸²à¸•ามที่เหมาะสม\n\n\n8. **ความรับผิดชà¸à¸šà¸‚à¸à¸‡à¸œà¸¹à¹‰à¸„วบคุมข้à¸à¸¡à¸¹à¸¥à¸ªà¹ˆà¸§à¸™à¸šà¸¸à¸„คล** \n เราได้à¸à¸³à¸«à¸™à¸”ให้เจ้าหน้าที่เฉพาะผู้ที่มีà¸à¸³à¸™à¸²à¸ˆà¸«à¸™à¹‰à¸²à¸—ี่เà¸à¸µà¹ˆà¸¢à¸§à¸‚้à¸à¸‡à¹ƒà¸™à¸à¸²à¸£à¸ˆà¸±à¸”เà¸à¹‡à¸šà¸£à¸§à¸šà¸£à¸§à¸¡ ใช้ หรืà¸à¹€à¸›à¸´à¸”เผยข้à¸à¸¡à¸¹à¸¥à¸ªà¹ˆà¸§à¸™à¸šà¸¸à¸„คลขà¸à¸‡à¸à¸´à¸ˆà¸à¸£à¸£à¸¡à¸à¸²à¸£à¸›à¸£à¸°à¸¡à¸§à¸¥à¸œà¸¥à¸™à¸µà¹‰à¹€à¸—่านั้นที่จะสามารถเข้าถึงข้à¸à¸¡à¸¹à¸¥à¸ªà¹ˆà¸§à¸™à¸šà¸¸à¸„คลขà¸à¸‡à¸—่านได้ โดยเราจะดำเนินà¸à¸²à¸£à¹ƒà¸«à¹‰à¹€à¸ˆà¹‰à¸²à¸«à¸™à¹‰à¸²à¸—ี่ปà¸à¸´à¸šà¸±à¸•ิตามประà¸à¸²à¸¨à¸™à¸µà¹‰à¸à¸¢à¹ˆà¸²à¸‡à¹€à¸„ร่งครัด\n\n\n9. **à¸à¸²à¸£à¹€à¸›à¸¥à¸µà¹ˆà¸¢à¸™à¹à¸›à¸¥à¸‡à¹à¸à¹‰à¹„ขคำประà¸à¸²à¸¨à¹€à¸à¸µà¹ˆà¸¢à¸§à¸à¸±à¸šà¸„วามเป็นส่วนตัว** \n ในà¸à¸²à¸£à¸›à¸£à¸±à¸šà¸›à¸£à¸¸à¸‡à¸«à¸£à¸·à¸à¹€à¸›à¸¥à¸µà¹ˆà¸¢à¸™à¹à¸›à¸¥à¸‡à¸›à¸£à¸°à¸à¸²à¸¨à¸™à¸µà¹‰ เราà¸à¸²à¸ˆà¸žà¸´à¸ˆà¸²à¸£à¸“าà¹à¸à¹‰à¹„ขเปลี่ยนà¹à¸›à¸¥à¸‡à¸•ามที่เห็นสมควร à¹à¸¥à¸°à¸ˆà¸°à¸—ำà¸à¸²à¸£à¹à¸ˆà¹‰à¸‡à¹ƒà¸«à¹‰à¸—่านทราบผ่านช่à¸à¸‡à¸—างสื่à¸à¸ªà¸²à¸£ บริเวณบริษัท เช่น à¹à¸›à¸°à¹„ว้ที่ทางเข้า หรืà¸à¹à¸ªà¸”ง QR Code ที่ป้à¸à¸¡ รปภ. หรืà¸à¹‚ต๊ะประชาสัมพันธ์ เป็นต้น โดยมีวันที่ขà¸à¸‡à¹€à¸§à¸à¸£à¹Œà¸Šà¸±à¸™à¸¥à¹ˆà¸²à¸ªà¸¸à¸”à¸à¸³à¸à¸±à¸šà¸à¸¢à¸¹à¹ˆà¸•à¸à¸™à¸—้าย à¸à¸¢à¹ˆà¸²à¸‡à¹„รà¸à¹‡à¸”ี เราขà¸à¹à¸™à¸°à¸™à¸³à¹ƒà¸«à¹‰à¸—่านโปรดตรวจสà¸à¸šà¹€à¸žà¸·à¹ˆà¸à¸£à¸±à¸šà¸—ราบประà¸à¸²à¸¨à¸‰à¸šà¸±à¸šà¹ƒà¸«à¸¡à¹ˆà¸à¸¢à¹ˆà¸²à¸‡à¸ªà¸¡à¹ˆà¸³à¹€à¸ªà¸¡à¸ โดยเฉพาะà¸à¹ˆà¸à¸™à¸—ี่ท่านจะเข้ามาในพื้นที่ขà¸à¸‡à¹€à¸£à¸²\n\n à¸à¸²à¸£à¹€à¸‚้ามาในพื้นที่ขà¸à¸‡à¸—่าน ถืà¸à¹€à¸›à¹‡à¸™à¸à¸²à¸£à¸£à¸±à¸šà¸—ราบตามข้à¸à¸•à¸à¸¥à¸‡à¹ƒà¸™à¸›à¸£à¸°à¸à¸²à¸¨à¸™à¸µà¹‰ ทั้งนี้ โปรดระงับà¸à¸²à¸£à¹€à¸‚้าพื้นที่ หาà¸à¸—่านไม่เห็นด้วยà¸à¸±à¸šà¸‚้à¸à¸•à¸à¸¥à¸‡à¹ƒà¸™à¸›à¸£à¸°à¸à¸²à¸¨à¸‰à¸šà¸±à¸šà¸™à¸µà¹‰ หาà¸à¸—่านยังคงเข้ามาในพื้นที่ต่à¸à¹„ปภายหลังจาà¸à¸—ี่ประà¸à¸²à¸¨à¸™à¸µà¹‰à¸¡à¸µà¸à¸²à¸£à¹à¸à¹‰à¹„ขà¹à¸¥à¸°à¸™à¸³à¸‚ึ้นประà¸à¸²à¸¨à¹ƒà¸™à¸Šà¹ˆà¸à¸‡à¸—างข้างต้นà¹à¸¥à¹‰à¸§ จะถืà¸à¸§à¹ˆà¸²à¸—่านได้รับทราบà¸à¸²à¸£à¹€à¸›à¸¥à¸µà¹ˆà¸¢à¸™à¹à¸›à¸¥à¸‡à¸”ังà¸à¸¥à¹ˆà¸²à¸§à¹à¸¥à¹‰à¸§\n\n\n10. **à¸à¸²à¸£à¸•ิดต่à¸à¸ªà¸à¸šà¸–าม** \n ท่านสามารถติดต่à¸à¸ªà¸à¸šà¸–ามเà¸à¸µà¹ˆà¸¢à¸§à¸à¸±à¸šà¸›à¸£à¸°à¸à¸²à¸¨à¸‰à¸šà¸±à¸šà¸™à¸µà¹‰à¹„ด้ที่\n 1. **ผู้ควบคุมข้à¸à¸¡à¸¹à¸¥à¸ªà¹ˆà¸§à¸™à¸šà¸¸à¸„คล (Data Controller)**\n - ชื่à¸: **บริษัท วิลล่า มาร์เà¸à¹‡à¸— เจพี จà¹à¸²à¸à¸±à¸”**\n - สถานที่ติดต่à¸: เลขที่ 591/1, 4-7 ถนนสุขุมวิท à¹à¸‚วงคลà¸à¸‡à¸•้นเหนืภเขตวัฒนา à¸à¸£à¸¸à¸‡à¹€à¸—พมหานคร 10110\n - ช่à¸à¸‡à¸—างà¸à¸²à¸£à¸•ิดต่à¸: contact@villa-marketjp.com<br> Call Center : 02-502-7300\n 2. **เจ้าหน้าที่คุ้มครà¸à¸‡à¸‚้à¸à¸¡à¸¹à¸¥à¸ªà¹ˆà¸§à¸™à¸šà¸¸à¸„คล (Data Protection Officer: DPO)**\n - สถานที่ติดต่à¸: เลขที่ 591/1, 4-7 ถนนสุขุมวิท à¹à¸‚วงคลà¸à¸‡à¸•้นเหนืภเขตวัฒนา à¸à¸£à¸¸à¸‡à¹€à¸—พมหานคร 10110\n - ช่à¸à¸‡à¸—างà¸à¸²à¸£à¸•ิดต่à¸: villa_pdpa@villa-marketjp.com\n\n\nบังคับใช้เมื่ภ27 พฤษภาคม 2565",s={name:"CCTVPolicy",components:{Markdown:o["a"],TitleBar:()=>n.e("signin~31ecd969").then(n.bind(null,"1e1d")),TileBar:()=>n.e("chunk-vendors~cfbf0a2e").then(n.bind(null,"7112"))},data(){return{md:a}},metaInfo(){return{title:"CCTV Policy | Villa Market - Thailand's Original International Supermarket",meta:[{name:"description",content:"Villa Market CCTV Policy: Security and Consent Information."},{property:"og:title",content:"CCTV Policy | Villa Market - Thailand's Original International Supermarket"},{property:"og:site_name",content:"Villa Market"},{property:"og:type",content:"website"},{name:"robots",content:"index,follow"}]}}},c=s,u=n("2877"),l=Object(u["a"])(c,i,r,!1,null,null,null);e["default"]=l.exports},f6fb:function(t,e,n){"use strict";n.d(e,"a",(function(){return pt})),n.d(e,"b",(function(){return bt})),n.d(e,"c",(function(){return Wt})),n.d(e,"d",(function(){return Yt}));var i,r,o,a,s,c,u,l,d,f,p,b,v,g,m,h,w,y,j,O,S,L,k,C,_,x,I,E,z,A,P,T,R,$,q,D,N,B,M,V,Q,U,H,F,K,G,J,W,Y,Z,X,tt,et,nt,it,rt,ot,at,st,ct,ut,lt,dt,ft,pt,bt,vt,gt,mt,ht,wt,yt,jt,Ot,St,Lt,kt,Ct,_t,xt,It,Et,zt,At,Pt,Tt,Rt,$t,qt,Dt,Nt,Bt,Mt,Vt,Qt,Ut,Ht,Ft,Kt,Gt,Jt,Wt,Yt,Zt,Xt,te,ee,ne,ie,re,oe,ae,se,ce,ue,le,de,fe,pe,be,ve,ge,me,he,we,ye,je,Oe,Se,Le,ke,Ce=n("d72f");(function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}})(i||(i={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(r||(r={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(o||(o={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(a||(a={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(s||(s={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(c||(c={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(u||(u={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(l||(l={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(d||(d={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(f||(f={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(p||(p={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(b||(b={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(v||(v={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(g||(g={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(m||(m={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(h||(h={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(w||(w={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(y||(y={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(j||(j={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(O||(O={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(S||(S={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(L||(L={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(k||(k={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(C||(C={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(_||(_={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(x||(x={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(I||(I={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(E||(E={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(z||(z={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(A||(A={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(P||(P={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(T||(T={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(R||(R={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}($||($={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(q||(q={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(D||(D={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(N||(N={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(B||(B={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(M||(M={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(V||(V={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(Q||(Q={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(U||(U={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(H||(H={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(F||(F={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(K||(K={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(G||(G={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(J||(J={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(W||(W={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(Y||(Y={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(Z||(Z={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(X||(X={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(tt||(tt={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(et||(et={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(nt||(nt={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(it||(it={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(rt||(rt={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(ot||(ot={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(at||(at={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(st||(st={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(ct||(ct={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(ut||(ut={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(lt||(lt={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(dt||(dt={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(ft||(ft={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(pt||(pt={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(bt||(bt={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(vt||(vt={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(gt||(gt={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(mt||(mt={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(ht||(ht={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(wt||(wt={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(yt||(yt={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(jt||(jt={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(Ot||(Ot={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(St||(St={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(Lt||(Lt={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(kt||(kt={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(Ct||(Ct={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(_t||(_t={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(xt||(xt={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(It||(It={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(Et||(Et={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(zt||(zt={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(At||(At={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(Pt||(Pt={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(Tt||(Tt={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(Rt||(Rt={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}($t||($t={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(qt||(qt={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(Dt||(Dt={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(Nt||(Nt={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(Bt||(Bt={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(Mt||(Mt={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(Vt||(Vt={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(Qt||(Qt={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(Ut||(Ut={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(Ht||(Ht={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(Ft||(Ft={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(Kt||(Kt={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(Gt||(Gt={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(Jt||(Jt={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(Wt||(Wt={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(Yt||(Yt={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(Zt||(Zt={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(Xt||(Xt={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(te||(te={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(ee||(ee={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(ne||(ne={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(ie||(ie={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(re||(re={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(oe||(oe={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(ae||(ae={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(se||(se={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(ce||(ce={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(ue||(ue={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(le||(le={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(de||(de={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(fe||(fe={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(pe||(pe={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(be||(be={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(ve||(ve={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(ge||(ge={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(me||(me={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(he||(he={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(we||(we={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(ye||(ye={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(je||(je={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(Oe||(Oe={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(Se||(Se={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(Le||(Le={})),function(t){t.filterSensitiveLog=function(t){return Object(Ce["a"])({},t)}}(ke||(ke={}))},f735:function(t,e,n){},f8a3:function(t){t.exports=JSON.parse('{"name":"@aws-sdk/client-cognito-identity","description":"AWS SDK for JavaScript Cognito Identity Client for Node.js, Browser and React Native","version":"3.6.1","scripts":{"clean":"yarn remove-definitions && yarn remove-dist && yarn remove-documentation","build-documentation":"yarn remove-documentation && typedoc ./","prepublishOnly":"yarn build","pretest":"yarn build:cjs","remove-definitions":"rimraf ./types","remove-dist":"rimraf ./dist","remove-documentation":"rimraf ./docs","test:unit":"mocha **/cjs/**/*.spec.js","test:e2e":"mocha **/cjs/**/*.ispec.js && karma start karma.conf.js","test":"yarn test:unit","build:cjs":"tsc -p tsconfig.json","build:es":"tsc -p tsconfig.es.json","build":"yarn build:cjs && yarn build:es","postbuild":"downlevel-dts types types/ts3.4"},"main":"./dist/cjs/index.js","types":"./types/index.d.ts","module":"./dist/es/index.js","browser":{"./runtimeConfig":"./runtimeConfig.browser"},"react-native":{"./runtimeConfig":"./runtimeConfig.native"},"sideEffects":false,"dependencies":{"@aws-crypto/sha256-browser":"^1.0.0","@aws-crypto/sha256-js":"^1.0.0","@aws-sdk/config-resolver":"3.6.1","@aws-sdk/credential-provider-node":"3.6.1","@aws-sdk/fetch-http-handler":"3.6.1","@aws-sdk/hash-node":"3.6.1","@aws-sdk/invalid-dependency":"3.6.1","@aws-sdk/middleware-content-length":"3.6.1","@aws-sdk/middleware-host-header":"3.6.1","@aws-sdk/middleware-logger":"3.6.1","@aws-sdk/middleware-retry":"3.6.1","@aws-sdk/middleware-serde":"3.6.1","@aws-sdk/middleware-signing":"3.6.1","@aws-sdk/middleware-stack":"3.6.1","@aws-sdk/middleware-user-agent":"3.6.1","@aws-sdk/node-config-provider":"3.6.1","@aws-sdk/node-http-handler":"3.6.1","@aws-sdk/protocol-http":"3.6.1","@aws-sdk/smithy-client":"3.6.1","@aws-sdk/types":"3.6.1","@aws-sdk/url-parser":"3.6.1","@aws-sdk/url-parser-native":"3.6.1","@aws-sdk/util-base64-browser":"3.6.1","@aws-sdk/util-base64-node":"3.6.1","@aws-sdk/util-body-length-browser":"3.6.1","@aws-sdk/util-body-length-node":"3.6.1","@aws-sdk/util-user-agent-browser":"3.6.1","@aws-sdk/util-user-agent-node":"3.6.1","@aws-sdk/util-utf8-browser":"3.6.1","@aws-sdk/util-utf8-node":"3.6.1","tslib":"^2.0.0"},"devDependencies":{"@aws-sdk/client-documentation-generator":"3.6.1","@aws-sdk/client-iam":"3.6.1","@types/chai":"^4.2.11","@types/mocha":"^8.0.4","@types/node":"^12.7.5","downlevel-dts":"0.7.0","jest":"^26.1.0","rimraf":"^3.0.0","typedoc":"^0.19.2","typescript":"~4.1.2"},"engines":{"node":">=10.0.0"},"typesVersions":{"<4.0":{"types/*":["types/ts3.4/*"]}},"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-cognito-identity","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"clients/client-cognito-identity"}}')},fa20:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"article row justify-center row"},[this.articleDetail?e("h1",{staticStyle:{display:"none"}},[t._v(" "+t._s(t.articleName)+" ")]):t._e(),t.$q.screen.lt.sm?e("TitleBar",{attrs:{"center-slot":"Article"}}):t._e(),t.$q.screen.gt.xs?e("TileBar",{staticClass:"col-12 col-sm-10 col-md-9",attrs:{optionButton:"Back"},on:{"on-button":function(e){return t.$router.go(-1)}}}):t._e(),t.loading?e("div",{staticClass:"fixed-center"},[e("q-spinner",{attrs:{color:"primary",size:"3em"}})],1):e("div",{staticClass:"row col-12 col-sm-10 col-md-9 article-content"},[e("div",{staticClass:"col-12"},[e("div",{staticClass:"text-h6 text-center",staticStyle:{color:"rgba(41, 41, 41, 1)","font-weight":"bold","font-size":"32px",margin:"0px 10px 20px 10px"}},[t._v(" "+t._s(t.articleName)+" ")]),e("q-img",{attrs:{src:t.articleDetail.imageUrl,ratio:16/9}})],1),e("div",{staticClass:"col-12 article-detail bg-white",attrs:{id:"my-content"}},[t._l(t.paragraph,(function(n,i){return e("div",{key:i,staticClass:"paragraph"},[e("div",{staticClass:"text-h7 text-left",staticStyle:{"font-weight":"bold"}},[t._v(" "+t._s(n.paragraph_title)+" ")]),e("div",{staticClass:"text-left paragraph-detail",staticStyle:{"white-space":"normal"},domProps:{innerHTML:t._s(t.urlify(n.detail))}}),e("q-separator",{attrs:{spaced:""}})],1)})),e("div",{directives:[{name:"observe-visibility",rawName:"v-observe-visibility",value:{callback:(e,n)=>t.endParagraphVisibilityChanged(e,n),intersection:{threshold:1}},expression:"{\n callback: (isVisible, entry) =>\n endParagraphVisibilityChanged(isVisible, entry),\n intersection: {\n threshold: 1,\n },\n }"}],staticClass:"end-paragraph",attrs:{id:"end_paragraph"}},[t.articleDetail.article_detail_en.author?e("div",{staticClass:"text-h7 text-left"},[t._v(" "+t._s(t.$t("Author:"))+" "+t._s(t.articleDetail.article_detail_en.author)+" ")]):t._e(),t.articleDetail.article_detail_en.credit?e("div",{staticClass:"text-h7 text-left"},[e("a",{staticClass:"text-primary",attrs:{href:t.articleDetail.article_detail_en.credit}},[t._v("Credit")])]):t._e()])],2),t.productList.length>0?e("div",{staticClass:"col-12 ingredients"},[e("div",{staticClass:"row col-12"},[e("div",{staticClass:"text-h6 text-center",staticStyle:{color:"rgba(41, 41, 41, 1)",margin:"0px 10px 20px 10px"}},[t._v(" "+t._s(t.articleName)+" ")]),e("div",{staticClass:"col-12 row justify-end"},[e("q-btn",{attrs:{label:t.$t("Add all to cart"),"no-caps":"",color:"primary",flat:""},on:{click:t.onAddAll}})],1),e("div",{staticClass:"col-12 row",staticStyle:{"padding-bottom":"1rem"}},t._l(t.productList,(function(n,i){return e("ProductCardV",{directives:[{name:"observe-visibility",rawName:"v-observe-visibility",value:{callback:(e,i)=>t.visibilityChanged(e,i,n),intersection:{threshold:1}},expression:"{\n callback: (isVisible, entry) =>\n visibilityChanged(isVisible, entry, item),\n intersection: {\n threshold: 1,\n },\n }"}],key:(n.cprcode<<16)+i,staticClass:"product-card-v col-4",attrs:{small:!0,info:n,index:i,source:"content",maxRetry:10},on:{"add-to-cart":function(e){return t.AddToCart(n)}}})})),1)])]):t._e()]),e("q-dialog",{attrs:{persistent:""},model:{value:t.dialogArticle.show,callback:function(e){t.$set(t.dialogArticle,"show",e)},expression:"dialogArticle.show"}},[e("DialogAlert",{attrs:{message:t.dialogArticle.message,"left-btn":t.dialogArticle.leftButtonText,"right-btn":t.dialogArticle.rightButtonText},on:{leftClick:t.dialogArticle.leftButtonCallback,rightClick:t.dialogArticle.rightButtonCallback}})],1)],1)},r=[],o=(n("ddb0"),n("5319"),n("14d9"),n("068f")),a=n("0d59"),s=n("eb85"),c=n("2b0e"),u=n("6900"),l=n("87e8"),d=c["default"].extend({name:"QVideo",mixins:[u["a"],l["a"]],props:{src:{type:String,required:!0},title:String,fetchpriority:{type:String,default:"auto"},loading:{type:String,default:"eager"},referrerpolicy:{type:String,default:"strict-origin-when-cross-origin"}},computed:{iframeData(){return{attrs:{src:this.src,frameborder:"0",title:this.title,allowfullscreen:!0,fetchpriority:this.fetchpriority,loading:this.loading,referrerpolicy:this.referrerpolicy}}},classes(){return"q-video"+(void 0!==this.ratio?" q-video--responsive":"")}},render(t){return t("div",{class:this.classes,style:this.ratioStyle,on:{...this.qListeners}},[t("iframe",this.iframeData)])}}),f=n("24e8"),p=n("2f62"),b=n("256a"),v=n("c487"),g=n("0e54"),m=n.n(g),h=n("bd6e"),w=n("0bb6");const y={QVideo:d,QImg:o["a"],QSpinner:a["a"],QSeparator:s["a"],QDialog:f["a"]};var j={name:"Article",components:{...y,TitleBar:()=>n.e("signin~31ecd969").then(n.bind(null,"1e1d")),TileBar:()=>n.e("chunk-vendors~cfbf0a2e").then(n.bind(null,"7112")),ProductCardV:v["default"],DialogAlert:()=>Promise.resolve().then(n.bind(null,"bb5b"))},mixins:[b["a"],w["a"]],data(){return{productList:[],dialogArticle:{show:!1,message:void 0,leftButtonText:null,leftButtonCallback:()=>{},rightButtonText:null,rightButtonCallback:()=>{}},isSend:!1,itemListName:"content"}},metaInfo(){if(this.articleDetail)return{title:""+this.articleDetail.article_name_en,meta:[{name:"description",content:""+this.articleDetail.description_en},{property:"og:title",content:""+this.articleDetail.article_name_en},{property:"og:site_name",content:"Villa Market"},{property:"og:type",content:"website"},{name:"robots",content:"index,follow"}]}},async created(){this.isSend=!1,await this.$store.dispatch("article/GetOneArticle",this.$route.params.id)},mounted(){document.addEventListener("scroll",this.onScroll)},computed:{...Object(p["b"])(["IsProductPriceInventoryLoaded"]),...Object(p["b"])({loading:"article/loading",articleDetail:"article/articleDetail"}),...Object(p["b"])(["IsProductPriceInventoryLoaded"]),IsLoaded(){return this.IsProductPriceInventoryLoaded&&!this.loading},paragraph(){return"th"===this.$i18n.locale?[void 0,null,""].indexOf(this.articleDetail.article_detail_en)>=0?this.articleDetail.article_detail_en.paragraph_list:this.articleDetail.article_detail_th.paragraph_list:this.articleDetail.article_detail_en.paragraph_list},ingredientList(){return this.articleDetail.ingredient_list},articleName(){return"th"===this.$i18n.locale?[void 0,null,""].indexOf(this.articleDetail.article_name_th)>=0?this.articleDetail.article_name_en:this.articleDetail.article_name_th:this.articleDetail.article_name_en},md(){return""},indexRefs(){return this.productList}},watch:{IsLoaded:{immediate:!0,handler:function(t){t?this.loadProducts():this.productList=[]}}},methods:{async loadProducts(){const t=this.$store.getters["branch/code"],e=await this.$store.dispatch("catalogs/GetMultiple",{list:this.ingredientList.map(t=>({cprcode:t})),branch:t});this.productList=e},urlify(t){var e=/(https?:\/\/[^\s]+)/g;const n=t.replace(e,(function(t){return t.search("youtube")>=0?'<div class="text-center" style="position: relative; overflow: hidden; width: 100%; padding-top: 56.25%;" ><iframe frameBorder="0" style="position: absolute; top: 0;left: 0; bottom: 0; right: 0; width: 100%; height: 100%;" src="'+t+'"></iframe></div>':t.search("image")>=0?``:t}));return m()(n,{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1})},onAddAll(){this.dialogArticle.show=!0,this.dialogArticle.message="Add all ingredient to cart?",this.dialogArticle.rightButtonText="Yes",this.dialogArticle.leftButtonText="Cancel",this.dialogArticle.rightButtonCallback=async()=>{if(this.$store.dispatch("cart/AddAllIngredient",this.productList),dataLayer){const t=this.productList.map((t,e)=>Object(h["b"])({...t,quantity:1},e,"content"));dataLayer.push({event:"add_to_cart",ecommerce:{items:t}})}this.dialogArticle.show=!1,this.$router.push("/cart")},this.dialogArticle.leftButtonCallback=async()=>{this.dialogArticle.show=!1}},endParagraphVisibilityChanged(t,e){this.isVisible=t,t&&!this.isSend&&this.sendEndContent()},sendEndContent(){var t,e,n,i,r;dataLayer&&(dataLayer.push({event:"content",event_action:"read_completed",event_label:"content-"+(null===(t=this.articleDetail)||void 0===t?void 0:t.article_name_en),content_id:null!==(e=null===(n=this.articleDetail)||void 0===n?void 0:n.article_id)&&void 0!==e?e:"None",content_type:null!==(i=null===(r=this.articleDetail)||void 0===r?void 0:r.artiale_type_en)&&void 0!==i?i:"None",content_date:"None"}),this.isSend=!0)},onScroll(){if(!this.isSend){const t=document.getElementById("end_paragraph"),e=t.getBoundingClientRect();window.innerHeight,window.pageYOffset,e.top,e.height}}},destroyed(){window.removeEventListener("scroll",this.onScroll)}},O=j,S=(n("a213"),n("2877")),L=Object(S["a"])(O,i,r,!1,null,"eb011ca8",null);e["default"]=L.exports},ffc0:function(t,e,n){"use strict";n("f735")}}]);