vendor: 5,340 bytes, lines 1-2
1/*! For license information please see 3443.js.LICENSE.txt */ 2(self.webpackChunk=self.webpackChunk||[]).push([[3443],{2292:(t,e,r)=>{"use strict";r.d(e,{Z:()=>s});var n=r(7897),a=r.n(n),i=r(1519),o=r.n(i)()(a());o.push([t.id,".flip-card__back-bottom,.flip-card__back:after,.flip-card__back:before,.flip-card__bottom,.flip-card__top{background:rgba(40,29,105,.897)!important;color:#fff!important}.flip-card{font-size:2rem!important}.flip-clock__slot{font-size:1rem!important}.container.flip-clock{background:#fff!important}","",{version:3,sources:["webpack://./resources/js/Pages/TargetKegiatan/ShowProgram.vue"],names:[],mappings:"AACA,0GAME,yCAAA,CADA,oBACF,CAGA,WACE,wBAAF,CAGA,kBACE,wBAAF,CAGA,sBACE,yBAAF",sourcesContent:["\n.flip-card__top,\n.flip-card__bottom,\n.flip-card__back-bottom,\n.flip-card__back::before,\n.flip-card__back::after {\n color: white !important;\n background: rgba(40, 29, 105, 0.897) !important;\n}\n\n.flip-card {\n font-size: 2rem !important;\n}\n\n.flip-clock__slot {\n font-size: 1rem !important;\n}\n\n.container.flip-clock {\n background: white !important;\n}\n"],sourceRoot:""}]);const s=o},3443:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>v});var n=r(4938),a=r(7124),i=r(5167),o=r.n(i),s=r(4907),l=r(8818);function d(t){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},d(t)}function c(){c=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",o=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function u(t,e,r,a){var i=e&&e.prototype instanceof g?e:g,o=Object.create(i.prototype),s=new T(a||[]);return n(o,"_invoke",{value:k(t,r,s)}),o}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var f={};function g(){}function h(){}function m(){}var v={};l(v,i,(function(){return this}));var b=Object.getPrototypeOf,x=b&&b(b(j([])));x&&x!==e&&r.call(x,i)&&(v=x);var w=m.prototype=g.prototype=Object.create(v);function y(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function _(t,e){function a(n,i,o,s){var l=p(t[n],t,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==d(u)&&r.call(u,"__await")?e.resolve(u.__await).then((function(t){a("next",t,o,s)}),(function(t){a("throw",t,o,s)})):e.resolve(u).then((function(t){c.value=t,o(c)}),(function(t){return a("throw",t,o,s)}))}s(l.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){a(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function k(t,e,r){var n="suspendedStart";return function(a,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===a)throw i;return P()}for(r.method=a,r.arg=i;;){var o=r.delegate;if(o){var s=C(o,r);if(s){if(s===f)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=p(t,e,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===f)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}function C(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,C(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var a=p(n,t.iterator,e.arg);if("throw"===a.type)return e.method="throw",e.arg=a.arg,e.delegate=null,f;var i=a.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function M(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(M,this),this.reset(!0)}function j(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,a=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return a.next=a}}return{next:P}}function P(){return{value:void 0,done:!0}}return h.prototype=m,n(w,"constructor",{value:m,configurable:!0}),n(m,"constructor",{value:h,configurable:!0}),h.displayName=l(m,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,l(t,s,"GeneratorFunction")),t.prototype=Object.create(w),t},t.awrap=function(t){return{__await:t}}
2,y(_.prototype),l(_.prototype,o,(function(){return this})),t.AsyncIterator=_,t.async=function(e,r,n,a,i){void 0===i&&(i=Promise);var o=new _(u(e,r,n,a),i);return t.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},y(w),l(w,s,"Generator"),l(w,i,(function(){return this})),l(w,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=j,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return o.type="throw",o.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],o=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),l=r.call(i,"finallyLoc");if(s&&l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var i=a;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=t,o.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),S(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var a=n.arg;S(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:j(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function u(t,e,r,n,a,i,o){try{var s=t[i](o),l=s.value}catch(t){return void r(t)}s.done?e(l):Promise.resolve(l).then(n,a)}const p={metaInfo:{title:"Target Program"},components:{TextInput:a.Z,LayoutWithHeader:n.Z,FlipCountdown:o(),Dropdown:s.Z},props:{skpd:String,kodeSkpd:String,subunit:String,kodeSubunit:String,bidang:String,kodeBidang:String,program:String,kodeProgram:String,programTahunan:Object,jadwalPerencanaan:Object,endDate:String},data:function(){return{showCountdownTimer:!!this.jadwalPerencanaan,labels:{days:"Hari",hours:"Jam",minutes:"Menit",seconds:"Detik"},editMode:!1,editedData:null,addIndikator:!1,selectedIndikator:[],selectAll:!1,editedIndikators:[]}},computed:{jadwalActive:function(){return!!this.jadwalPerencanaan}},methods:{back:function(){this.$inertia.get("/perencanaan/target-kegiatan?skpd=".concat(this.kodeSkpd,"&subunit=").concat(this.kodeSubunit,"&bidang=").concat(this.kodeBidang,"&program=").concat(this.kodeProgram))},timeElapsedHandler:function(){this.showCountdownTimer=!1},select:function(){if(this.selectedIndikator=[],!this.selectAll)for(var t in this.programTahunan.indikator_programs)0!=this.programTahunan.indikator_programs[t].status_validasi_perencanaan&&2!=this.programTahunan.indikator_programs[t].status_validasi_perencanaan||this.selectedIndikator.push(this.programTahunan.indikator_programs[t].id)},reset:function(){this.editMode=!1,this.addIndikator=!1,this.editedIndikators=[],this.selectedIndikator=[]},editTargetIndikator:function(){for(var t in this.programTahunan.indikator_programs)0!=this.programTahunan.indikator_programs[t].status_validasi_perencanaan&&2!=this.programTahunan.indikator_programs[t].status_validasi_perencanaan||this.editedIndikators.push(this.programTahunan.indikator_programs[t]);this.editMode=!0},addTargetIndikator:function(){for(var t=0;t<5;t++)this.editedIndikators.push({uraian:"",satuan:"",target:0,program_tahunan_id:this.programTahunan.id});this.editMode=!0,this.addIndikator=!0},saveIndikator:function(){var t=this;this.addIndikator?this.$inertia.post("/perencanaan/target-program/".concat(this.programTahunan.id,"/add-indikators"),this.editedIndikators,{onSuccess:function(){t.$inertia.reload({only:["programTahunan"]}),t.reset()}}):this.$inertia.put("/perencanaan/target-program/".concat(this.programTahunan.id,"/update-indikators"),this.editedIndikators,{onSuccess:function(){t.$inertia.reload({only:["programTahunan"]}),t.reset()}})},deleteTargetIndikator:function(){var t=this;this.$swal.fire({title:"Konfirmasi",text:"Yakin hapus data?",icon:"question",showCancelButton:!0,confirmButtonText:"<i class='fas fa-check' /> Ya",cancelButtonText:"<i class='fas fa-ban' /> Batal",buttonsStyling:!1,customClass:{confirmButton:"text-white bg-green-600 hover:bg-green-500 font-bold border border-solid border-green-500 uppercase px-12 py-3 rounded text-sm outline-none focus:outline-none mr-2 ease-linear transition-all duration-150",cancelButton:"text-red-500 bg-transparent border border-solid border-red-500 hover:bg-red-500 hover:text-white active:bg-red-600 font-bold uppercase text-sm px-6 py-3 rounded outline-none focus:outline-none ease-linear transition-all duration-150"}}).then((function(e){e.isConfirmed&&t.$inertia.post("/perencanaan/target-program/".concat(t.programTahunan.id,"/delete-indikators"),t.selectedIndikator,{onSuccess:function(){t.$inertia.reload({only:["programTahunan"]}),t.reset()}})}))},ajukan:function(t){var e=this;this.$swal.fire({title:"Konfirmasi",text:"Yakin ajukan data untuk verifikasi?",icon:"question",showCancelButton:!0,confirmButtonText:"<i class='fas fa-check' /> Ya",cancelButtonText:"<i class='fas fa-ban' /> Batal",buttonsStyling:!1,customClass:{confirmButton:"text-white bg-green-600 hover:bg-green-500 font-bold border border-solid border-green-500 uppercase px-12 py-3 rounded text-sm outline-none focus:outline-none mr-2 ease-linear transition-all duration-150",cancelButton:"text-red-500 bg-transparent border border-solid border-red-500 hover:bg-red-500 hover:text-white active:bg-red-600 font-bold uppercase text-sm px-6 py-3 rounded outline-none focus:outline-none ease-linear transition-all duration-150"}}).then((function(r){r.isConfirmed&&e.$inertia.post("/perencanaan/target-program/".concat(e.programTahunan.id,"/ajukan-indikator/").concat(t.id),null,{onSuccess:function(){e.$inertia.reload({only:["programTahunan"]}),e.reset()}})}))},showTransactionLog:function(t){var e='\n <table style="width: 100%; border-collapse: collapse;" border="1">\n <thead>\n <tr style="background-color: #f2f2f2;">\n <th style="padding: 8px;">Tanggal</th>\n <th style="padding: 8px;">Pengguna</th>\n <th style="padding: 8px;">Aktivitas</th>\n <th style="padding: 8px;">Catatan</th>\n </tr>\n </thead>\n <tbody>\n'.concat(t.logs.map((function(t){var e;return'\n <tr>\n <td style="padding: 8px; text-align: center;">'.concat((0,l.WU)(new Date(t.created_at),"dd-MM-yyyy HH:mm:ss"),'</td>\n <td style="padding: 8px;">').concat(t.full_name,'</td>\n <td style="padding: 8px;">').concat(t.aktivitas,'</td>\n <td style="padding: 8px;">').concat(null!==(e=t.catatan)&&void 0!==e?e:"-","</td>\n </tr>\n ")})).join(""),"\n </tbody>\n </table>\n ");this.$swal.fire({title:"Log Transaksi",html:e,width:"700px",confirmButtonText:"Tutup"})},verify:function(t){var e,r=this;return(e=c().mark((function e(){var n,a,i;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.$swal.fire({title:"Pilih Aksi Verifikasi",text:"Silakan pilih tindakan untuk verifikasi",icon:"question",showCancelButton:!0,showDenyButton:!0,confirmButtonText:"Setujui",denyButtonText:"Tolak",cancelButtonText:"Batalkan"});case 2:if(!(n=e.sent).isDenied){e.next=10;break}return e.next=6,r.$swal.fire({title:"Masukkan Catatan Hasil Verifikasi",input:"textarea",inputPlaceholder:"Tuliskan alasan penolakan di sini...",showCancelButton:!0,confirmButtonText:"Kirim",cancelButtonText:"Batal"});case 6:(a=e.sent).isConfirmed&&((i=a.value)?(t.catatan_verifikator=i,r.$inertia.post("/perencanaan/target-program/".concat(r.programTahunan.id,"/tolak-indikator"),t,{onSuccess:function(){r.$inertia.reload({only:["programTahunan"]}),r.reset()}}),r.$swal.fire("Catatan Tersimpan","Catatan Anda telah disimpan.","success")):r.$swal.fire("Gagal","Catatan tidak boleh kosong.","error")),e.next=11;break;case 10:n.isConfirmed&&r.$inertia.post("/perencanaan/target-program/".concat(r.programTahunan.id,"/setujui-indikator"),t,{onSuccess:function(){r.$inertia.reload({only:["programTahunan"]}),r.reset(),r.$swal.fire("Verifikasi Berhasil","Data telah diverifikasi.","success")}});case 11:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,a){var i=e.apply(t,r);function o(t){u(i,n,a,o,s,"next",t)}function s(t){u(i,n,a,o,s,"throw",t)}o(void 0)}))})()}}};var f=r(3379),g=r.n(f),h=r(2292),m={insert:"head",singleton:!1};g()(h.Z,m);h.Z.locals;const v=(0,r(1900).Z)(p,(function(){var t=this,e=t._self._c;return e("layout-with-header",{scopedSlots:t._u([{key:"header",fn:function(){return[t.showCountdownTimer?e("flip-countdown",{staticClass:"py-2",attrs:{deadline:t.endDate,labels:t.labels},on:{timeElapsed:t.timeElapsedHandler}}):t._e()]},proxy:!0},{key:"content",fn:function(){return[e("h1",{staticClass:"mb-8 font-bold text-3xl"},[t._v("Target Program")]),t._v(" "),e("div",{staticClass:"w-full bg-gray-700 rounded-t py-10 px-10"},[e("div",{staticClass:"w-full justify-end flex items-right mb-4"},[t.editMode?t._e():e("button",{staticClass:"px-4 py-4 bg-orange-600 mr-1 rounded",on:{click:t.back}},[e("i",{staticClass:"fa fa-reply text-white"})])]),t._v(" "),e("div",{staticClass:"md:flex items-center mb-2"},[e("label",{staticClass:"mt-1 md:w-3/12 sm:w-full text-white"},[t._v("Tahun")]),t._v(" "),e("text-input",{staticClass:"sm:w-full md:w-2/12",attrs:{value:t.$page.props.tahun,readonly:""}})],1),t._v(" "),e("div",{staticClass:"md:flex items-center mb-2"},[e("label",{staticClass:"mt-1 md:w-3/12 sm:w-full text-white"},[t._v("Perangkat Daerah")]),t._v(" "),e("text-input",{staticClass:"md:w-9/12 sm:w-full",attrs:{value:t.skpd,readonly:""}})],1),t._v(" "),e("div",{staticClass:"md:flex items-center mb-2"},[e("label",{staticClass:"mt-1 md:w-3/12 sm:w-full text-white"},[t._v("Sub Unit")]),t._v(" "),e("text-input",{staticClass:"md:w-9/12 sm:w-full",attrs:{value:t.subunit,readonly:""}})],1),t._v(" "),e("div",{staticClass:"md:flex items-center mb-2"},[e("label",{staticClass:"mt-1 md:w-3/12 sm:w-full text-white"},[t._v("Bidang Urusan")]),t._v(" "),e("text-input",{staticClass:"md:w-9/12 sm:w-full",attrs:{value:t.bidang,readonly:""}})],1),t._v(" "),e("div",{staticClass:"md:flex items-center mb-2"},[e("label",{staticClass:"mt-1 md:w-3/12 sm:w-full text-white"},[t._v("Program")]),t._v(" "),e("text-input",{staticClass:"md:w-9/12 sm:w-full",attrs:{value:t.program,readonly:""}})],1)]),t._v(" "),e("div",{staticClass:"bg-white shadow overflow-x-auto mb-10"},[e("table",{staticClass:"w-full table-auto border-collapse border border-indigo-800"},[e("tr",{staticClass:"text-center font-bold"},[e("th",{staticClass:"px-6 pt-6 pb-4 border border-indigo-600 bg-blue-50",attrs:{colspan:"10"}},[e("div",{staticClass:"w-full flex items-center"},["PA/KPA"!=t.$page.props.auth.user.role&&"Super Admin"!=t.$page.props.auth.user.role&&"Admin Kota"!=t.$page.props.auth.user.role||t.$page.props.auth.can.read_only_access||!t.showCountdownTimer||t.programTahunan.perencanaan_locked?t._e(
2):e("div",{staticClass:"flex w-3/12"},[!t.editMode&&t.jadwalPerencanaan.indikator_program_active?e("button",{staticClass:"px-4 py-4 bg-green-600 mr-1 rounded",on:{click:t.addTargetIndikator}},[e("i",{staticClass:"fa fa-plus text-white"})]):t._e(),t._v(" "),!t.editMode&&t.jadwalPerencanaan.target_indikator_program_active?e("button",{staticClass:"px-4 py-4 bg-blue-500 mr-1 rounded",on:{click:t.editTargetIndikator}},[e("i",{staticClass:"fa fa-edit text-white"})]):t._e(),t._v(" "),!t.editMode&&t.jadwalPerencanaan.indikator_program_active?e("button",{staticClass:"px-4 py-4 bg-red-500 rounded",attrs:{disabled:0==t.selectedIndikator.length},on:{click:t.deleteTargetIndikator}},[e("i",{staticClass:"fa fa-trash text-white"})]):t._e(),t._v(" "),t.editMode?e("button",{staticClass:"px-4 py-4 bg-green-600 mr-1 rounded",on:{click:t.saveIndikator}},[e("i",{staticClass:"fa fa-save text-white"})]):t._e(),t._v(" "),t.editMode?e("button",{staticClass:"px-4 py-4 bg-red-500 rounded",on:{click:t.reset}},[e("i",{staticClass:"fa fa-ban text-white"})]):t._e()]),t._v(" "),e("div",{staticClass:"text-center w-9/12"},[t._v("Target Indikator Program")])])])]),t._v(" "),e("tr",{staticClass:"text-center font-bold"},[e("th",{staticClass:"px-6 pt-6 pb-4 border border-indigo-600 bg-blue-50"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.selectAll,expression:"selectAll"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.selectAll)?t._i(t.selectAll,null)>-1:t.selectAll},on:{click:t.select,change:function(e){var r=t.selectAll,n=e.target,a=!!n.checked;if(Array.isArray(r)){var i=t._i(r,null);n.checked?i<0&&(t.selectAll=r.concat([null])):i>-1&&(t.selectAll=r.slice(0,i).concat(r.slice(i+1)))}else t.selectAll=a}}})]),t._v(" "),e("th",{staticClass:"px-6 pt-6 pb-4 border border-indigo-600 bg-blue-50"},[t._v("No.")]),t._v(" "),e("th",{staticClass:"px-6 pt-6 pb-4 border border-indigo-600 bg-blue-50"},[t._v("Uraian Indikator")]),t._v(" "),e("th",{staticClass:"px-6 pt-6 pb-4 border border-indigo-600 bg-blue-50"},[t._v("Satuan")]),t._v(" "),e("th",{staticClass:"px-6 pt-6 pb-4 border border-indigo-600 bg-blue-50"},[t._v("Target")]),t._v(" "),e("th",{staticClass:"px-6 pt-6 pb-4 border border-indigo-600 bg-blue-50"},[t._v("Aksi")])]),t._v(" "),t.editMode?t._e():e("tbody",t._l(t.programTahunan.indikator_programs,(function(r,n){return e("tr",{key:r.id,staticClass:"hover:bg-gray-100 focus-within:bg-gray-100"},[e("td",{staticClass:"border-t text-center px-4 border border-indigo-600"},[0==r.status_validasi_perencanaan||2==r.status_validasi_perencanaan?e("input",{directives:[{name:"model",rawName:"v-model",value:t.selectedIndikator,expression:"selectedIndikator"}],attrs:{type:"checkbox"},domProps:{value:r.id,checked:Array.isArray(t.selectedIndikator)?t._i(t.selectedIndikator,r.id)>-1:t.selectedIndikator},on:{change:function(e){var n=t.selectedIndikator,a=e.target,i=!!a.checked;if(Array.isArray(n)){var o=r.id,s=t._i(n,o);a.checked?s<0&&(t.selectedIndikator=n.concat([o])):s>-1&&(t.selectedIndikator=n.slice(0,s).concat(n.slice(s+1)))}else t.selectedIndikator=i}}}):t._e()]),t._v(" "),e("td",{staticClass:"border-t text-right px-4 border border-indigo-600"},[t._v("\n "+t._s(n+1)+"\n ")]),t._v(" "),e("td",{staticClass:"w-4/12 border-t px-4 py-4 border border-indigo-600"},[e("p",{staticClass:"break-normal"},[t._v("\n "+t._s(r.uraian)+"\n ")]),t._v(" "),e("p",{staticClass:"break-normal mt-2"},[0==r.status_validasi_perencanaan?e("span",{staticClass:"text-xs font-semibold inline-block py-1 px-2 uppercase rounded-full text-red-600 bg-red-200 uppercase last:mr-0 mr-1"},[t._v(" Draft ")]):t._e(),t._v(" "),1==r.status_validasi_perencanaan?e("span",{staticClass:"text-xs font-semibold inline-block py-1 px-2 uppercase rounded-full text-orange-600 bg-orange-200 uppercase last:mr-0 mr-1"},[t._v(" Pengajuan ")]):t._e(),t._v(" "),2==r.status_validasi_perencanaan?e("span",{staticClass:"text-xs font-semibold inline-block py-1 px-2 rounded-sm text-green-600 bg-orange-200 last:mr-0 mr-1"},[t._v(" Butuh Revisi : "+t._s(r.catatan_verifikasi_perencanaan)+" ")]):t._e(),t._v(" "),10==r.status_validasi_perencanaan?e("span",{staticClass:"text-xs font-semibold inline-block py-1 px-2 uppercase rounded-full text-orange-600 bg-green-200 uppercase last:mr-0 mr-1"},[t._v(" Disetujui ")]):t._e()])]),t._v(" "),e("td",{staticClass:"border-t text-right px-4 border border-indigo-600"},[t._v("\n "+t._s(r.satuan)+"\n ")]),t._v(" "),e("td",{staticClass:"border-t text-right px-4 border border-indigo-600"},[e("input",{directives:[{name:"model",rawName:"v-model.number",value:r.target,expression:"indikator.target",modifiers:{number:!0}}],staticClass:"text-right form-input",attrs:{type:"number",readonly:""},domProps:{value:r.target},on:{input:function(e){e.target.composing||t.$set(r,"target",t._n(e.target.value))},blur:function(e){return t.$forceUpdate()}}})]),t._v(" "),e("td",{staticClass:"border-t text-right px-4 border border-indigo-600"},[e("dropdown",{staticClass:"mt-1 bg-blue-500 text-white px-4 py-2 rounded",attrs:{placement:"bottom-end"}},[e("div",{staticClass:"flex items-center cursor-pointer select-none group"},[e("div",{staticClass:"text-white group-hover:text-gray-100 focus:text-gray-100 mr-1 whitespace-nowrap"},[t._v("Aksi")]),t._v(" "),e("i",{staticClass:"fas fa-chevron-down fa-sm border-l ml-2 pl-2"})]),t._v(" "),e("div",{staticClass:"mt-2 py-2 shadow-xl bg-white rounded text-sm",attrs:{slot:"dropdown"},slot:"dropdown"},["PA/KPA"!=t.$page.props.auth.user.role&&"Super Admin"!=t.$page.props.auth.user.role&&"Admin Kota"!=t.$page.props.auth.user.role||t.$page.props.auth.can.read_only_access||!t.showCountdownTimer||0!=r.status_validasi_perencanaan&&2!=r.status_validasi_perencanaan?t._e():e("a",{staticClass:"block px-6 py-2 text-sm leading-5 text-gray-700 transition duration-150 ease-in-out hover:bg-gray-100 focus:outline-none focus:bg-gray-100",attrs:{href:"#"},on:{click:function(e){return t.ajukan(r)}}},[e("i",{staticClass:"fa fa-check text-green-600"}),t._v(" Ajukan")]),t._v(" "),"Mitra Perencanaan"!=t.$page.props.auth.user.role&&"PA/KPA"!=t.$page.props.auth.user.role&&"Super Admin"!=t.$page.props.auth.user.role&&"Admin Kota"!=t.$page.props.auth.user.role||t.$page.props.auth.can.read_only_access?t._e():e("a",{staticClass:"block px-6 py-2 text-sm leading-5 text-gray-700 transition duration-150 ease-in-out hover:bg-gray-100 focus:outline-none focus:bg-gray-100",attrs:{href:"#"},on:{click:function(e){return t.showTransactionLog(r)}}},[e("i",{staticClass:"fa fa-clock text-green-600"}),t._v(" Lihat Log")]),t._v(" "),"Mitra Perencanaan"!=t.$page.props.auth.user.role&&"Super Admin"!=t.$page.props.auth.user.role&&"Admin Kota"!=t.$page.props.auth.user.role||t.$page.props.auth.can.read_only_access||!t.showCountdownTimer||1!=r.status_validasi_perencanaan&&3!=r.status_validasi_perencanaan?t._e():e("a",{staticClass:"block px-6 py-2 text-sm leading-5 text-gray-700 transition duration-150 ease-in-out hover:bg-gray-100 focus:outline-none focus:bg-gray-100",attrs:{href:"#"},on:{click:function(e){return t.verify(r)}}},[e("i",{staticClass:"fa fa-check text-green-600"}
2),t._v(" Verifikasi")])])])],1)])})),0),t._v(" "),t.editMode?e("tbody",t._l(t.editedIndikators,(function(r,n){return e("tr",{key:r.id,staticClass:"hover:bg-gray-100 focus-within:bg-gray-100"},[e("td",{staticClass:"border-t text-right px-4 border border-indigo-600",attrs:{colspan:"2"}},[t._v("\n "+t._s(n+1)+"\n ")]),t._v(" "),e("td",{staticClass:"w-4/12 border-t px-4 py-4 border border-indigo-600"},[e("p",{staticClass:"break-normal"},[e("input",{directives:[{name:"model",rawName:"v-model",value:r.uraian,expression:"indikator.uraian"}],staticClass:"form-input",attrs:{type:"text",required:""},domProps:{value:r.uraian},on:{input:function(e){e.target.composing||t.$set(r,"uraian",e.target.value)}}})])]),t._v(" "),e("td",{staticClass:"border-t text-right px-4 border border-indigo-600"},[e("input",{directives:[{name:"model",rawName:"v-model",value:r.satuan,expression:"indikator.satuan"}],staticClass:"form-input",attrs:{type:"text",required:""},domProps:{value:r.satuan},on:{input:function(e){e.target.composing||t.$set(r,"satuan",e.target.value)}}})]),t._v(" "),e("td",{staticClass:"border-t text-right px-4 border border-indigo-600"},[e("input",{directives:[{name:"model",rawName:"v-model.number",value:r.target,expression:"indikator.target",modifiers:{number:!0}}],staticClass:"text-right form-input",attrs:{type:"number"},domProps:{value:r.target},on:{input:function(e){e.target.composing||t.$set(r,"target",t._n(e.target.value))},blur:function(e){return t.$forceUpdate()}}})])])})),0):t._e(),t._v(" "),0===t.programTahunan.indikator_programs.length?e("tr",[e("td",{staticClass:"border-t px-6 py-4",attrs:{colspan:"4"}},[t._v("Data indikator tidak ada.")])]):t._e()])])]},proxy:!0}])})}),[],!1,null,null,null).exports},4907:(t,e,r)=>{"use strict";r.d(e,{Z:()=>lt});var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,a=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(n&&navigator.userAgent.indexOf(t[e])>=0)return 1;return 0}();var i=n&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),a))}};function o(t){return t&&"[object Function]"==={}.toString.call(t)}function s(t,e){if(1!==t.nodeType)return[];var r=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?r[e]:r}function l(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function d(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=s(t),r=e.overflow,n=e.overflowX,a=e.overflowY;return/(auto|scroll|overlay)/.test(r+a+n)?t:d(l(t))}function c(t){return t&&t.referenceNode?t.referenceNode:t}var u=n&&!(!window.MSInputMethodContext||!document.documentMode),p=n&&/MSIE 10/.test(navigator.userAgent);function f(t){return 11===t?u:10===t?p:u||p}function g(t){if(!t)return document.documentElement;for(var e=f(10)?document.body:null,r=t.offsetParent||null;r===e&&t.nextElementSibling;)r=(t=t.nextElementSibling).offsetParent;var n=r&&r.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TH","TD","TABLE"].indexOf(r.nodeName)&&"static"===s(r,"position")?g(r):r:t?t.ownerDocument.documentElement:document.documentElement}function h(t){return null!==t.parentNode?h(t.parentNode):t}function m(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var r=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,n=r?t:e,a=r?e:t,i=document.createRange();i.setStart(n,0),i.setEnd(a,0);var o,s,l=i.commonAncestorContainer;if(t!==l&&e!==l||n.contains(a))return"BODY"===(s=(o=l).nodeName)||"HTML"!==s&&g(o.firstElementChild)!==o?g(l):l;var d=h(t);return d.host?m(d.host,e):m(t,h(e).host)}function v(t){var e="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",r=t.nodeName;if("BODY"===r||"HTML"===r){var n=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||n)[e]}return t[e]}function b(t,e){var r="x"===e?"Left":"Top",n="Left"===r?"Right":"Bottom";return parseFloat(t["border"+r+"Width"])+parseFloat(t["border"+n+"Width"])}function x(t,e,r,n){return Math.max(e["offset"+t],e["scroll"+t],r["client"+t],r["offset"+t],r["scroll"+t],f(10)?parseInt(r["offset"+t])+parseInt(n["margin"+("Height"===t?"Top":"Left")])+parseInt(n["margin"+("Height"===t?"Bottom":"Right")]):0)}function w(t){var e=t.body,r=t.documentElement,n=f(10)&&getComputedStyle(r);return{height:x("Height",e,r,n),width:x("Width",e,r,n)}}var y=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),_=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},k=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];
vendor: 4,297 bytes, line 2
2for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};function C(t){return k({},t,{right:t.left+t.width,bottom:t.top+t.height})}function M(t){var e={};try{if(f(10)){e=t.getBoundingClientRect();var r=v(t,"top"),n=v(t,"left");e.top+=r,e.left+=n,e.bottom+=r,e.right+=n}else e=t.getBoundingClientRect()}catch(t){}var a={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},i="HTML"===t.nodeName?w(t.ownerDocument):{},o=i.width||t.clientWidth||a.width,l=i.height||t.clientHeight||a.height,d=t.offsetWidth-o,c=t.offsetHeight-l;if(d||c){var u=s(t);d-=b(u,"x"),c-=b(u,"y"),a.width-=d,a.height-=c}return C(a)}function S(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=f(10),a="HTML"===e.nodeName,i=M(t),o=M(e),l=d(t),c=s(e),u=parseFloat(c.borderTopWidth),p=parseFloat(c.borderLeftWidth);r&&a&&(o.top=Math.max(o.top,0),o.left=Math.max(o.left,0));var g=C({top:i.top-o.top-u,left:i.left-o.left-p,width:i.width,height:i.height});if(g.marginTop=0,g.marginLeft=0,!n&&a){var h=parseFloat(c.marginTop),m=parseFloat(c.marginLeft);g.top-=u-h,g.bottom-=u-h,g.left-=p-m,g.right-=p-m,g.marginTop=h,g.marginLeft=m}return(n&&!r?e.contains(l):e===l&&"BODY"!==l.nodeName)&&(g=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=v(e,"top"),a=v(e,"left"),i=r?-1:1;return t.top+=n*i,t.bottom+=n*i,t.left+=a*i,t.right+=a*i,t}(g,e)),g}function T(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===s(t,"position"))return!0;var r=l(t);return!!r&&T(r)}function j(t){if(!t||!t.parentElement||f())return document.documentElement;for(var e=t.parentElement;e&&"none"===s(e,"transform");)e=e.parentElement;return e||document.documentElement}function P(t,e,r,n){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},o=a?j(t):m(t,c(e));if("viewport"===n)i=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t.ownerDocument.documentElement,n=S(t,r),a=Math.max(r.clientWidth,window.innerWidth||0),i=Math.max(r.clientHeight,window.innerHeight||0),o=e?0:v(r),s=e?0:v(r,"left");return C({top:o-n.top+n.marginTop,left:s-n.left+n.marginLeft,width:a,height:i})}(o,a);else{var s=void 0;"scrollParent"===n?"BODY"===(s=d(l(e))).nodeName&&(s=t.ownerDocument.documentElement):s="window"===n?t.ownerDocument.documentElement:n;var u=S(s,o,a);if("HTML"!==s.nodeName||T(o))i=u;else{var p=w(t.ownerDocument),f=p.height,g=p.width;i.top+=u.top-u.marginTop,i.bottom=f+u.top,i.left+=u.left-u.marginLeft,i.right=g+u.left}}var h="number"==typeof(r=r||0);return i.left+=h?r:r.left||0,i.top+=h?r:r.top||0,i.right-=h?r:r.right||0,i.bottom-=h?r:r.bottom||0,i}function E(t,e,r,n,a){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var o=P(r,n,i,a),s={top:{width:o.width,height:e.top-o.top},right:{width:o.right-e.right,height:o.height},bottom:{width:o.width,height:o.bottom-e.bottom},left:{width:e.left-o.left,height:o.height}},l=Object.keys(s).map((function(t){return k({key:t},s[t],{area:(e=s[t],e.width*e.height)});var e})).sort((function(t,e){return e.area-t.area})),d=l.filter((function(t){var e=t.width,n=t.height;return e>=r.clientWidth&&n>=r.clientHeight})),c=d.length>0?d[0].key:l[0].key,u=t.split("-")[1];return c+(u?"-"+u:"")}function U(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return S(r,n?j(e):m(e,c(r)),n)}function A(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),r=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),n=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+n,height:t.offsetHeight+r}}function $(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function L(t,e,r){r=r.split("-")[0];var n=A(t),a={width:n.width,height:n.height},i=-1!==["right","left"].indexOf(r),o=i?"top":"left",s=i?"left":"top",l=i?"height":"width",d=i?"width":"height";return a[o]=e[o]+e[l]/2-n[l]/2,a[s]=r===s?e[s]-n[d]:e[$(s)],a}function D(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function O(t,e,r){return(void 0===r?t:t.slice(0,function(t,e,r){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===r}));var n=D(t,(function(t){return t[e]===r}));return t.indexOf(n)}
vendor: 10,633 bytes, line 2
2(t,"name",r))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var r=t.function||t.fn;t.enabled&&o(r)&&(e.offsets.popper=C(e.offsets.popper),e.offsets.reference=C(e.offsets.reference),e=r(e,t))})),e}function B(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=U(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=E(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=L(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=O(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function z(t,e){return t.some((function(t){var r=t.name;return t.enabled&&r===e}))}function H(t){for(var e=[!1,"ms","Webkit","Moz","O"],r=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<e.length;n++){var a=e[n],i=a?""+a+r:t;if(void 0!==document.body.style[i])return i}return null}function N(){return this.state.isDestroyed=!0,z(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[H("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function I(t){var e=t.ownerDocument;return e?e.defaultView:window}function W(t,e,r,n){var a="BODY"===t.nodeName,i=a?t.ownerDocument.defaultView:t;i.addEventListener(e,r,{passive:!0}),a||W(d(i.parentNode),e,r,n),n.push(i)}function F(t,e,r,n){r.updateBound=n,I(t).addEventListener("resize",r.updateBound,{passive:!0});var a=d(t);return W(a,"scroll",r.updateBound,r.scrollParents),r.scrollElement=a,r.eventsEnabled=!0,r}function R(){this.state.eventsEnabled||(this.state=F(this.reference,this.options,this.state,this.scheduleUpdate))}function V(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,I(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.updateBound)})),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function q(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function Y(t,e){Object.keys(e).forEach((function(r){var n="";-1!==["width","height","top","right","bottom","left"].indexOf(r)&&q(e[r])&&(n="px"),t.style[r]=e[r]+n}))}var K=n&&/Firefox/i.test(navigator.userAgent);function G(t,e,r){var n=D(t,(function(t){return t.name===e})),a=!!n&&t.some((function(t){return t.name===r&&t.enabled&&t.order<n.order}));if(!a){var i="`"+e+"`",o="`"+r+"`";console.warn(o+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return a}var Z=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],X=Z.slice(3);function J(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=X.indexOf(t),n=X.slice(r+1).concat(X.slice(0,r));return e?n.reverse():n}var Q="flip",tt="clockwise",et="counterclockwise";function rt(t,e,r,n){var a=[0,0],i=-1!==["right","left"].indexOf(n),o=t.split(/(\+|\-)/).map((function(t){return t.trim()})),s=o.indexOf(D(o,(function(t){return-1!==t.search(/,|\s/)})));o[s]&&-1===o[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,d=-1!==s?[o.slice(0,s).concat([o[s].split(l)[0]]),[o[s].split(l)[1]].concat(o.slice(s+1))]:[o];return d=d.map((function(t,n){var a=(1===n?!i:i)?"height":"width",o=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,o=!0,t):o?(t[t.length-1]+=e,o=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,r,n){var a=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+a[1],o=a[2];if(!i)return t;if(0===o.indexOf("%")){return C("%p"===o?r:n)[e]/100*i}if("vh"===o||"vw"===o)return("vh"===o?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i;return i}(t,a,e,r)}))})),d.forEach((function(t,e){t.forEach((function(r,n){q(r)&&(a[e]+=r*("-"===t[n-1]?-1:1))}))})),a}var nt={shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,r=e.split("-")[0],n=e.split("-")[1];if(n){var a=t.offsets,i=a.reference,o=a.popper,s=-1!==["bottom","top"].indexOf(r),l=s?"left":"top",d=s?"width":"height",c={start:_({},l,i[l]),end:_({},l,i[l]+i[d]-o[d])};t.offsets.popper=k({},o,c[n])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var r=e.offset,n=t.placement,a=t.offsets,i=a.popper,o=a.reference,s=n.split("-")[0],l=void 0;return l=q(+r)?[+r,0]:rt(r,i,o,s),"left"===s?(i.top+=l[0],i.left-=l[1]):"right"===s?(i.top+=l[0],i.left+=l[1]):"top"===s?(i.left+=l[0],i.top-=l[1]):"bottom"===s&&(i.left+=l[0],i.top+=l[1]),t.popper=i,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var r=e.boundariesElement||g(t.instance.popper);t.instance.reference===r&&(r=g(r));var n=H("transform"),a=t.instance.popper.style,i=a.top,o=a.left,s=a[n];a.top="",a.left="",a[n]="";var l=P(t.instance.popper,t.instance.reference,e.padding,r,t.positionFixed);a.top=i,a.left=o,a[n]=s,e.boundaries=l;var d=e.priority,c=t.offsets.popper,u={primary:function(t){var r=c[t];return c[t]<l[t]&&!e.escapeWithReference&&(r=Math.max(c[t],l[t])),_({},t,r)},secondary:function(t){var r="right"===t?"left":"top",n=c[r];return c[t]>l[t]&&!e.escapeWithReference&&(n=Math.min(c[r],l[t]-("right"===t?c.width:c.height))),_({},r,n)}};return d.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";c=k({},c,u[e](t))})),t.offsets.popper=c,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,r=e.popper,n=e.reference,a=t.placement.split("-")[0],i=Math.floor,o=-1!==["top","bottom"].indexOf(a),s=o?"right":"bottom",l=o?"left":"top",d=o?"width":"height";return r[s]<i(n[l])&&(t.offsets.popper[l]=i(n[l])-r[d]),r[l]>i(n[s])&&(t.offsets.popper[l]=i(n[s])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var r;if(!G(t.instance.modifiers,"arrow","keepTogether"))return t;var n=e.element;if("string"==typeof n){if(!(n=t.instance.popper.querySelector(n)))return t}else if(!t.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var a=t.placement.split("-")[0],i=t.offsets,o=i.popper,l=i.reference,d=-1!==["left","right"].indexOf(a),c=d?"height":"width",u=d?"Top":"Left",p=u.toLowerCase(),f=d?"left":"top",g=d?"bottom":"right",h=A(n)[c];l[g]-h<o[p]&&(t.offsets.popper[p]-=o[p]-(l[g]-h)),l[p]+h>o[g]&&(t.offsets.popper[p]+=l[p]+h-o[g]),t.offsets.popper=C(t.offsets.popper);var m=l[p]+l[c]/2-h/2,v=s(t.instance.popper),b=parseFloat(v["margin"+u]),x=parseFloat(v["border"+u+"Width"]),w=m-t.offsets.popper[p]-b-x;return w=Math.max(Math.min(o[c]-h,w),0),t.arrowElement=n,t.offsets.arrow=(_(r={},p,Math.round(w)),_(r,f,""),r),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(z(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var r=P(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),n=t.placement.split("-")[0],a=$(n),i=t.placement.split("-")[1]||"",o=[];switch(e.behavior){case Q:o=[n,a];break;case tt:o=J(n);break;case et:o=J(n,!0);break;default:o=e.behavior}return o.forEach((function(s,l){if(n!==s||o.length===l+1)return t;n=t.placement.split("-")[0],a=$(n);var d=t.offsets.popper,c=t.offsets.reference,u=Math.floor,p="left"===n&&u(d.right)>u(c.left)||"right"===n&&u(d.left)<u(c.right)||"top"===n&&u(d.bottom)>u(c.top)||"bottom"===n&&u(d.top)<u(c.bottom),f=u(d.left)<u(r.left),g=u(d.right)>u(r.right),h=u(d.top)<u(r.top),m=u(d.bottom)>u(r.bottom),v="left"===n&&f||"right"===n&&g||"top"===n&&h||"bottom"===n&&m,b=-1!==["top","bottom"].indexOf(n),x=!!e.flipVariations&&(b&&"start"===i&&f||b&&"end"===i&&g||!b&&"start"===i&&h||!b&&"end"===i&&m),w=!!e.flipVariationsByContent&&(b&&"start"===i&&g||b&&"end"===i&&f||!b&&"start"===i&&m||!b&&"end"===i&&h),y=x||w;(p||v||y)&&(t.flipped=!0,(p||v)&&(n=o[l+1]),y&&(i=function(t){return"end"===t?"start":"start"===t?"end":t}(i)),t.placement=n+(i?"-"+i:""),t.offsets.popper=k({},t.offsets.popper,L(t.instance.popper,t.offsets.reference,t.placement)),t=O(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,r=e.split("-")[0],n=t.offsets,a=n.popper,i=n.reference,o=-1!==["left","right"].indexOf(r),s=-1===["top","left"].indexOf(r);return a[o?"left":"top"]=i[r]-(s?a[o?"width":"height"]:0),t.placement=$(e),t.offsets.popper=C(a),t}},hide:{order:800,enabled:!0,fn:function(t){if(!G(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,r=D(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottom<r.top||e.left>r.right||e.top>r.bottom||e.right<r.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var r=e.x,n=e.y,a=t.offsets.popper,i=D(t.instance.modifiers,(function(t){return"applyStyle"===t.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var o=void 0!==i?i:e.gpuAcceleration,s=g(t.instance.popper),l=M(s),d={position:a.position},c=function(t,e){var r=t.offsets,n=r.popper,a=r.reference,i=Math.round,o=Math.floor,s=function(t){return t},l=i(a.width),d=i(n.width),c=-1!==["left","right"].indexOf(t.placement),u=-1!==t.placement.indexOf("-"),p=e?c||u||l%2==d%2?i:o:s,f=e?i:s;return{left:p(l%2==1&&d%2==1&&!u&&e?n.left-1:n.left),top:f(n.top),bottom:f(n.bottom),right:p(n.right)}}(t,window.devicePixelRatio<2||!K),u="bottom"===r?"top":"bottom",p="right"===n?"left":"right",f=H("transform"),h=void 0,m=void 0;if(m="bottom"===u?"HTML"===s.nodeName?-s.clientHeight+c.bottom:-l.he
2ight+c.bottom:c.top,h="right"===p?"HTML"===s.nodeName?-s.clientWidth+c.right:-l.width+c.right:c.left,o&&f)d[f]="translate3d("+h+"px, "+m+"px, 0)",d[u]=0,d[p]=0,d.willChange="transform";else{var v="bottom"===u?-1:1,b="right"===p?-1:1;d[u]=m*v,d[p]=h*b,d.willChange=u+", "+p}var x={"x-placement":t.placement};return t.attributes=k({},x,t.attributes),t.styles=k({},d,t.styles),t.arrowStyles=k({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,r;return Y(t.instance.popper,t.styles),e=t.instance.popper,r=t.attributes,Object.keys(r).forEach((function(t){!1!==r[t]?e.setAttribute(t,r[t]):e.removeAttribute(t)})),t.arrowElement&&Object.keys(t.arrowStyles).length&&Y(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,r,n,a){var i=U(a,e,t,r.positionFixed),o=E(r.placement,i,e,t,r.modifiers.flip.boundariesElement,r.modifiers.flip.padding);return e.setAttribute("x-placement",o),Y(e,{position:r.positionFixed?"fixed":"absolute"}),r},gpuAcceleration:void 0}},at={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:nt},it=function(){function t(e,r){var n=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=i(this.update.bind(this)),this.options=k({},t.Defaults,a),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=r&&r.jquery?r[0]:r,this.options.modifiers={},Object.keys(k({},t.Defaults.modifiers,a.modifiers)).forEach((function(e){n.options.modifiers[e]=k({},t.Defaults.modifiers[e]||{},a.modifiers?a.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return k({name:t},n.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&o(t.onLoad)&&t.onLoad(n.reference,n.popper,n.options,t,n.state)})),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return y(t,[{key:"update",value:function(){return B.call(this)}},{key:"destroy",value:function(){return N.call(this)}},{key:"enableEventListeners",value:function(){return R.call(this)}},{key:"disableEventListeners",value:function(){return V.call(this)}}]),t}();it.Utils=("undefined"!=typeof window?window:r.g).PopperUtils,it.placements=Z,it.Defaults=at;const ot=it,st={props:{placement:{type:String,default:"bottom-end"},boundary:{type:String,default:"scrollParent"},autoClose:{type:Boolean,default:!0}},data:function(){return{show:!1}},watch:{show:function(t){var e=this;t?this.$nextTick((function(){e.popper=new ot(e.$el,e.$refs.dropdown,{placement:e.placement,modifiers:{preventOverflow:{boundariesElement:e.boundary}}})})):this.popper&&setTimeout((function(){return e.popper.destroy()}),100)}},mounted:function(){var t=this;document.addEventListener("keydown",(function(e){27===e.keyCode&&(t.show=!1)}))}};const lt=(0,r(1900).Z)(st,(function(){var t=this,e=t._self._c;return e("button",{attrs:{type:"button"},on:{click:function(e){t.show=!0}}},[t._t("default"),t._v(" "),t.show?e("portal",{attrs:{to:"dropdown"}},[e("div",[e("div",{staticStyle:{position:"fixed",top:"0",right:"0",left:"0",bottom:"0","z-index":"99998",background:"black",opacity:".2"},on:{click:function(e){t.show=!1}}}),t._v(" "),e("div",{ref:"dropdown",staticStyle:{position:"absolute","z-index":"99999"},on:{click:function(e){e.stopPropagation(),t.show=!t.autoClose}}},[t._t("dropdown")],2)])]):t._e()],2)}),[],!1,null,null,null).exports},2082:(t,e,r)=>{"use strict";r.d(e,{Z:()=>a});const n={data:function(){return{show:!0}},watch:{"$page.props.flash.success":function(t){var e=this;null!==t&&this.$swal.fire({icon:"success",title:"Berhasil",text:this.$page.props.flash.success}).then((function(){e.$page.props.flash.success=null}))},"$page.props.flash.error":function(t){var e=this;null!==t&&this.$swal.fire({icon:"error",title:"Error",text:this.$page.props.flash.error}).then((function(){e.$page.props.flash.error=null}))},"$page.props.errors":function(t){var e=this;Object.keys(t).length>0&&this.$swal.fire({icon:"error",title:"Error",text:"Terdapat ".concat(Object.keys(this.$page.props.errors).length," error.\n Periksa kembali inputan anda.")}).then((function(){e.$page.props.errors={}}))}}};const a=(0,r(1900).Z)(n,(function(){return(0,this._self._c)("div")}),[],!1,null,null,null).exports},3052:(t,e,r)=>{"use strict";r.d(e,{Z:()=>a});const n={props:{name:String}};const a=(0,r(1900).Z)(n,(function(){var t=this,e=t._self._c;return"apple"===t.name?e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"100",viewBox:"0 0 100 100"}},[e("g",{attrs:{"fill-rule":"nonzero"}},[e("path",{attrs:{d:"M46.173 19.967C49.927-1.838 19.797-.233 14.538.21c-.429.035-.648.4-.483.8 2.004 4.825 14.168 31.66 32.118 18.957zm13.18 1.636c1.269-.891 1.35-1.614.047-2.453l-2.657-1.71c-.94-.607-1.685-.606-2.532.129-5.094 4.42-7.336 9.18-8.211 15.24 1.597.682 3.55.79 5.265.328 1.298-4.283 3.64-8.412 8.088-11.534z"}}),t._v(" "),e("path",{attrs:{d:"M88.588 67.75c9.65-27.532-13.697-45.537-35.453-32.322-1.84 1.118-4.601 1.118-6.441 0-21.757-13.215-45.105 4.79-35.454 32.321 5.302 15.123 17.06 39.95 37.295 29.995.772-.38 1.986-.38 2.758 0 20.235 9.955 31.991-14.872 37.295-29.995z"}})])]):"book"===t.name?e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[e("path",{attrs:{d:"M6 4H5a1 1 0 1 1 0-2h11V1a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v16c0 1.1.9 2 2 2h12a2 2 0 0 0 2-2V5a1 1 0 0 0-1-1h-7v8l-2-2-2 2V4z"}})]):"cheveron-down"===t.name?e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[e("path",{attrs:{d:"M9.293 12.95l.707.707L15.657 8l-1.414-1.414L10 10.828 5.757 6.586 4.343 8z"}})]):"cheveron-right"===t.name?e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[e("polygon",{attrs:{points:"12.95 10.707 13.657 10 8 4.343 6.586 5.757 10.828 10 6.586 14.243 8 15.657 12.95 10.707"}})]):"dashboard"===t.name?e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[e("path",{attrs:{d:"M10 20a10 10 0 1 1 0-20 10 10 0 0 1 0 20zm-5.6-4.29a9.95 9.95 0 0 1 11.2 0 8 8 0 1 0-11.2 0zm6.12-7.64l3.02-3.02 1.41 1.41-3.02 3.02a2 2 0 1 1-1.41-1.41z"}}
2)]):"location"===t.name?e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[e("path",{attrs:{d:"M10 20S3 10.87 3 7a7 7 0 1 1 14 0c0 3.87-7 13-7 13zm0-11a2 2 0 1 0 0-4 2 2 0 0 0 0 4z"}})]):"office"===t.name?e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"100",viewBox:"0 0 100 100"}},[e("path",{attrs:{"fill-rule":"evenodd",d:"M7 0h86v100H57.108V88.418H42.892V100H7V0zm9 64h11v15H16V64zm57 0h11v15H73V64zm-19 0h11v15H54V64zm-19 0h11v15H35V64zM16 37h11v15H16V37zm57 0h11v15H73V37zm-19 0h11v15H54V37zm-19 0h11v15H35V37zM16 11h11v15H16V11zm57 0h11v15H73V11zm-19 0h11v15H54V11zm-19 0h11v15H35V11z"}})]):"printer"===t.name?e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[e("path",{attrs:{d:"M4 16H0V6h20v10h-4v4H4v-4zm2-4v6h8v-6H6zM4 0h12v5H4V0zM2 8v2h2V8H2zm4 0v2h2V8H6z"}})]):"shopping-cart"===t.name?e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[e("path",{attrs:{d:"M4 2h16l-3 9H4a1 1 0 1 0 0 2h13v2H4a3 3 0 0 1 0-6h.33L3 5 2 2H0V0h3a1 1 0 0 1 1 1v1zm1 18a2 2 0 1 1 0-4 2 2 0 0 1 0 4zm10 0a2 2 0 1 1 0-4 2 2 0 0 1 0 4z"}})]):"store-front"===t.name?e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[e("path",{attrs:{d:"M18 9.87V20H2V9.87a4.25 4.25 0 0 0 3-.38V14h10V9.5a4.26 4.26 0 0 0 3 .37zM3 0h4l-.67 6.03A3.43 3.43 0 0 1 3 9C1.34 9 .42 7.73.95 6.15L3 0zm5 0h4l.7 6.3c.17 1.5-.91 2.7-2.42 2.7h-.56A2.38 2.38 0 0 1 7.3 6.3L8 0zm5 0h4l2.05 6.15C19.58 7.73 18.65 9 17 9a3.42 3.42 0 0 1-3.33-2.97L13 0z"}})]):"trash"===t.name?e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[e("path",{attrs:{d:"M6 2l2-2h4l2 2h4v2H2V2h4zM3 6h14l-1 14H4L3 6zm5 2v10h1V8H8zm3 0v10h1V8h-1z"}})]):"users"===t.name?e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[e("path",{attrs:{d:"M7 8a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm0 1c2.15 0 4.2.4 6.1 1.09L12 16h-1.25L10 20H4l-.75-4H2L.9 10.09A17.93 17.93 0 0 1 7 9zm8.31.17c1.32.18 2.59.48 3.8.92L18 16h-1.25L16 20h-3.96l.37-2h1.25l1.65-8.83zM13 0a4 4 0 1 1-1.33 7.76 5.96 5.96 0 0 0 0-7.52C12.1.1 12.53 0 13 0z"}})]):"home"===t.name?e("svg",{staticClass:"w-6 mr-2",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[e("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"}})]):"edit"===t.name?e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[e("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z"}})]):"question"===t.name?e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[e("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}})]):"refresh"===t.name?e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[e("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"}})]):"finger-print"===t.name?e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[e("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 11c0 3.517-1.009 6.799-2.753 9.571m-3.44-2.04l.054-.09A13.916 13.916 0 008 11a4 4 0 118 0c0 1.017-.07 2.019-.203 3m-2.118 6.844A21.88 21.88 0 0015.171 17m3.839 1.132c.645-2.266.99-4.659.99-7.132A8 8 0 008 4.07M3 15.364c.64-1.319 1-2.8 1-4.364 0-1.457.39-2.823 1.07-4"}})]):"identification"===t.name?e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[e("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M10 6H5a2 2 0 00-2 2v9a2 2 0 002 2h14a2 2 0 002-2V8a2 2 0 00-2-2h-5m-4 0V5a2 2 0 114 0v1m-4 0a2 2 0 104 0m-5 8a2 2 0 100-4 2 2 0 000 4zm0 0c1.306 0 2.417.835 2.83 2M9 14a3.001 3.001 0 00-2.83 2M15 11h3m-3 4h2"}})]):"plus"===t.name?e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[e("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 6v6m0 0v6m0-6h6m-6 0H6"}}
2)]):"eye"===t.name?e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[e("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"}}),t._v(" "),e("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"}})]):t._e()}),[],!1,null,null,null).exports},4938:(t,e,r)=>{"use strict";r.d(e,{Z:()=>d});var n=r(3052),a=r(5343),i=r(4907),o=r(932),s=r(2082);const l={components:{Dropdown:i.Z,FlashMessages:s.Z,Icon:n.Z,Logo:a.Z,MainMenu:o.Z},data:function(){return{showSidebar:!1}},methods:{pilihTahun:function(t){var e=this;console.log("Tahun ",t),this.$inertia.post("/change-year",{year:t},{onSuccess:function(){e.$inertia.reload()}})}}};const d=(0,r(1900).Z)(l,(function(){var t=this,e=t._self._c;return e("div",[e("portal-target",{attrs:{name:"dropdown",slim:""}}),t._v(" "),e("div",{staticClass:"md:flex md:flex-col"},[e("div",{staticClass:"md:h-screen md:flex md:flex-col"},[e("div",{staticClass:"lg:flex lg:flex-shrink-0"},[e("div",{staticClass:"bg-gray-800 md:flex-shrink-0 lg:w-72 px-6 py-4 flex items-center justify-between lg:justify-center"},[e("inertia-link",{staticClass:"mt-1",attrs:{href:"/"}},[e("logo",{staticClass:"fill-white",attrs:{width:"120",height:"28"}})],1),t._v(" "),e("button",{staticClass:"lg:hidden text-white",attrs:{placement:"bottom-end"},on:{click:function(e){t.showSidebar=!t.showSidebar}}},[e("svg",{staticClass:"w-6 h-6",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",stroke:"currentColor"}},[e("path",{class:t.showSidebar?"hidden":"block",attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 6h16M4 12h16m-7 6h7"}}),t._v(" "),e("path",{class:t.showSidebar?"block":"hidden",attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"}})])])],1),t._v(" "),e("div",{staticClass:"bg-white border-b w-full p-4 lg:py-0 lg:px-12 text-sm lg:text-md flex justify-start lg:justify-start"},[e("dropdown",{staticClass:"mt-1",attrs:{placement:"bottom-end"}},[e("div",{staticClass:"flex items-center cursor-pointer select-none group"},[e("div",{staticClass:"text-gray-700 flex items-center group-hover:text-indigo-600 focus:text-indigo-600 mr-1 whitespace-nowrap"},[e("span",[t._v("Tahun Aktif : "),e("b",[t._v(t._s(t.$page.props.tahun))])])]),t._v(" "),e("icon",{staticClass:"w-5 h-5 group-hover:fill-indigo-600 fill-gray-700 focus:fill-indigo-600",attrs:{name:"cheveron-down"}})],1),t._v(" "),e("div",{staticClass:"mt-2 py-2 shadow-xl bg-white rounded text-sm w-48",attrs:{slot:"dropdown"},slot:"dropdown"},t._l(t.$page.props.tahuns,(function(r){return e("button",{key:r,staticClass:"px-6 py-2 hover:bg-indigo-500 hover:text-white w-full",on:{click:function(e){return t.pilihTahun(r)}}},[t._v("\n Tahun "),e("b",[t._v(" "+t._s(r)+" ")])])})),0)])],1),t._v(" "),t._t("header"),t._v(" "),e("div",{staticClass:"bg-white border-b w-full p-4 lg:py-0 lg:px-12 text-sm lg:text-md flex justify-start lg:justify-end"},[e("dropdown",{staticClass:"mt-1",attrs:{placement:"bottom-end"}},[e("div",{staticClass:"flex items-center cursor-pointer select-none group"},[e("div",{staticClass:"text-gray-700 flex items-center group-hover:text-indigo-600 focus:text-indigo-600 mr-1 whitespace-nowrap"},[t.$page.props.auth.user.photo?e("img",{staticClass:"block w-8 h-8 rounded-full mr-2",attrs:{src:t.$page.props.auth.user.photo}}):e("svg",{staticClass:"h-6 w-6 mr-2",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[e("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M5.121 17.804A13.937 13.937 0 0112 16c2.5 0 4.847.655 6.879 1.804M15 10a3 3 0 11-6 0 3 3 0 016 0zm6 2a9 9 0 11-18 0 9 9 0 0118 0z"}})]),t._v(" "),e("span",[t._v(t._s(t.$page.props.auth.user.full_name))])]),t._v(" "),e("icon",{staticClass:"w-5 h-5 group-hover:fill-indigo-600 fill-gray-700 focus:fill-indigo-600",attrs:{name:"cheveron-down"}})],1),t._v(" "),e("div",{staticClass:"mt-2 py-2 shadow-xl bg-white rounded text-sm w-48",attrs:{slot:"dropdown"},slot:"dropdown"},[e("inertia-link",{staticClass:"block px-6 py-2 hover:bg-indigo-500 hover:text-white flex",attrs:{href:t.route("profile")}},[e("svg",{staticClass:"h-4 w-4 mr-2",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[e("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"}})]),t._v("\n Profile\n ")]),t._v(" "),e("inertia-link",{staticClass:"block px-6 py-2 hover:bg-indigo-500 hover:text-white w-full text-left flex",attrs:{href:t.route("logout"),method:"post",as:"button"}},[e("svg",{staticClass:"h-4 w-4 mr-2",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[e("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1"}})]),t._v("\n Logout\n ")])],1)])],1)],2),t._v(" "),e("div",{staticClass:"lg:flex lg:flex-grow lg:overflow-hidden"},[e("main-menu",{staticClass:"w-screen bg-white lg:block shadow flex-shrink-0 lg:w-72 p-4 pt-8 overflow-y-auto",class:t.showSidebar?"block":"hidden"}),t._v(" "),e("div",{staticClass:"lg:flex flex-col w-screen lg:overflow-y-auto",attrs:{"scroll-region":""}},[e("div",{staticClass:"flex-grow px-4 py-8 lg:p-12"},[e("flash-messages"),t._v(" "),t._t("content")],2),t._v(" "),t._m(0)])],1)])])],1
2)}),[function(){var t=this,e=t._self._c;return e("div",{staticClass:"mt-4 p-6 bg-gray-800 text-right text-md font-semibold text-white"},[t._v("© 2021 "),e("a",{attrs:{href:"https://cilegondev.com",target:"_blank"}},[t._v("CilegonDev")])])}],!1,null,null,null).exports},5343:(t,e,r)=>{"use strict";r.d(e,{Z:()=>a});const n={components:{Icon:r(3052).Z}};const a=(0,r(1900).Z)(n,(function(){this._self._c;return this._m(0)}),[function(){var t=this._self._c;return t("div",{staticClass:"flex items-center text-white"},[t("img",{staticClass:"w-32 mr-4",attrs:{src:"/images/logo.png",alt:"Logo Kota Cilegon"}})])}],!1,null,null,null).exports},932:(t,e,r)=>{"use strict";r.d(e,{Z:()=>l});var n=r(3052);const a={props:{title:{type:String},icon:{type:String}},data:function(){return{active:!1}},methods:{dropdown:function(t){var e=t.currentTarget,r=e.getElementsByTagName("svg")[0];r.classList.add("rotate-90");var n=e.nextElementSibling,a=n.classList.contains("hidden");console.log(n),a?n.classList.remove("hidden"):(n.classList.add("hidden"),r.classList.remove("rotate-90"))}}};var i=r(1900);const o=(0,i.Z)(a,(function(){var t=this,e=t._self._c;return e("div",{},[e("button",{staticClass:"inline-flex items-center justify-between w-full text-sm font-semibold transition-colors duration-150 hover:text-gray-800 dark:hover:text-gray-200 my-4",on:{click:t.dropdown}},[e("div",{staticClass:"inline-flex items-center"},[e("i",{staticClass:"fas",class:""!==t.icon?"fa-"+t.icon:""}),t._v(" "),e("div",{staticClass:"ml-4"},[t._v(t._s(t.title))])]),t._v(" "),e("svg",{staticClass:"h-5 w-5 transition-transform duration-200 transform pointer-events-none",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"}},[e("path",{attrs:{"fill-rule":"evenodd",d:"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z","clip-rule":"evenodd"}})])]),t._v(" "),e("div",{staticClass:"hidden tab__content bg-gray-100 rounded shadow mt-2 animate-accordion overflow-hidden"},[t._t("default")],2)])}),[],!1,null,null,null).exports,s={components:{Icon:n.Z,Accordion:o},methods:{isUrl:function(){for(var t=this.$page.url.substr(1),e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return""===r[0]?""===t:r.filter((function(e){return t.startsWith(e)})).length}}};const l=(0,i.Z)(s,(function(){var t=this,e=t._self._c;return e("div",[e("accordion",{attrs:{icon:"tachometer-alt",title:"Dashboard"}},[e("div",[e("inertia-link",{staticClass:"flex items-center group",attrs:{href:t.route("dashboard.kontrol-realisasi")}},[e("div",{staticClass:"text-sm font-semibold py-2 px-4",class:t.isUrl("")?"text-indigo-600":"transition-colors duration-150 text-gray-600 group-hover:text-indigo-400"},[t._v("Kontrol Realisasi")])]),t._v(" "),e("inertia-link",{staticClass:"flex items-center group",attrs:{href:t.route("dashboard.perencanaan")}},[e("div",{staticClass:"text-sm font-semibold py-2 px-4",class:t.isUrl("perencanaan")?"text-indigo-600":"transition-colors duration-150 text-gray-600 group-hover:text-indigo-400"},[t._v("Kontrol Perencanaan")])])],1),t._v(" "),t.$page.props.auth.can.manage_admin_page||t.$page.props.auth.can.read_only_access?e("div",{staticClass:"mb-2"},[e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("mri/matriks-pemda")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("mri.matriks-pemda.index")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("mri/matriks-pemda")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"},[t._v("Matriks DPR Pemda")])])],1):t._e(),t._v(" "),e("div",[e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("mri/matriks-opd")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("mri.matriks-opd.index")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("mri/matriks-opd")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"},[t._v("Matriks DPR OPD")])])],1),t._v(" "),t.$page.props.auth.can.manage_admin_page||t.$page.props.auth.can.read_only_access?e("div",{staticClass:"mb-2"},[e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("realisasi/dashboard/grafik")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("realisasi.dashboard.grafik")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("realisasi/dashboard/grafik")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"},[t._v("Grafik")])])],1):t._e()]),t._v(" "),t.$page.props.auth.can.manage_admin_page?e("accordion",{attrs:{icon:"sitemap",title:"Data Master"}},[t.$page.props.auth.can.manage_admin_page?e("div",{staticClass:"mb-2"},[e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("tahuns")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("tahuns.index")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("tahuns")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"},[t._v("Tahun Anggaran")])])],1):t._e(),t._v(" "),t.$page.props.auth.can.manage_admin_page?e("div",{staticClass:"mb-2"},[e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("bidangs")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("bidangs.index")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("bidangs")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"},[t._v("Bidang Urusan")])])],1):t._e(),t._v(" "),t.$page.props.auth.can.manage_admin_page?e("div",{staticClass:"mb-2"},[e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("kegiatans")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("kegiatans.index")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("kegiatans")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"}
2,[t._v("Kegiatan")])])],1):t._e(),t._v(" "),t.$page.props.auth.can.manage_admin_page?e("div",{staticClass:"mb-2"},[e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("subkegiatans")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("subkegiatans.index")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("subkegiatans")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"},[t._v("Sub Kegiatan")])])],1):t._e(),t._v(" "),t.$page.props.auth.can.manage_admin_page?e("div",{staticClass:"mb-2"},[e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("skpds")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("skpds.index")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("skpds")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"},[t._v("SKPD")])])],1):t._e(),t._v(" "),t.$page.props.auth.can.manage_admin_page?e("div",{staticClass:"mb-2"},[e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("users")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("users")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("users")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"},[t._v("Manage User")])])],1):t._e(),t._v(" "),t.$page.props.auth.can.manage_admin_page?e("div",{staticClass:"mb-2"},[e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("pegawai")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("pegawai.index")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("pegawai")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"},[t._v("Manage Pegawai")])])],1):t._e(),t._v(" "),t.$page.props.auth.can.manage_admin_page?e("div",{staticClass:"mb-2"},[e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("kategori-permasalahans")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("kategori-permasalahans.index")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("kategori-permasalahans")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"},[t._v("Kategori Permasalahan")])])],1):t._e(),t._v(" "),t.$page.props.auth.can.manage_admin_page?e("div",{staticClass:"mb-2"},[e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("kategori-tindak-lanjuts")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("kategori-tindak-lanjuts.index")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("kategori-tindak-lanjuts")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"},[t._v("Kategori Tindak Lanjut")])])],1):t._e(),t._v(" "),t.$page.props.auth.can.manage_admin_page?e("div",{staticClass:"mb-2"},[e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("tags")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("tags.index")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("tags")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"},[t._v("Tag")])])],1):t._e(),t._v(" "),t.$page.props.auth.can.manage_admin_page?e("div",{staticClass:"mb-2"},[e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("kamus-risikos")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("kamus-risikos.index")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("kamus-risikos")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"},[t._v("Kamus Risiko")])])],1):t._e(),t._v(" "),t.$page.props.auth.can.manage_admin_page?e("div",{staticClass:"mb-2"},[e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("skala-risikos")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("skala-risikos.index")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("skala-risikos")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"},[t._v("Skala Risiko")])])],1):t._e(),t._v(" "),t.$page.props.auth.can.manage_admin_page?e("div",{staticClass:"mb-2"},[e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("skala-kemungkinans")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("skala-kemungkinans.index")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("skala-kemungkinans")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"},[t._v("Kemungkinan Risiko")])])],1):t._e()]):t._e(),t._v(" "),t.$page.props.auth.can.manage_admin_page||t.$page.props.auth.can.read_only_access?e("accordion",{attrs:{icon:"book",title:"RPJMD"}},[e("div",{staticClass:"mb-2"},[e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("rpjmd/periodes")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("rpjmd.periodes.index")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("rpjmd/periodes")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"},[t._v("Periode")])])],1),t._v(" "),e("div",{staticClass:"mb-2"},[e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("rpjmd/visis")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("rpjmd.visis.index")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("rpjmd/visis")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"}
2,[t._v("Visi")])])],1),t._v(" "),e("div",{staticClass:"mb-2"},[e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("rpjmd/misis")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("rpjmd.misis.index")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("rpjmd/misis")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"},[t._v("Misi")])])],1),t._v(" "),e("div",{staticClass:"mb-2"},[e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("rpjmd/tujuans")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("rpjmd.tujuans.index")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("rpjmd/tujuans")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"},[t._v("Tujuan")])])],1),t._v(" "),e("div",{staticClass:"mb-2"},[e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("rpjmd/sasarans")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("rpjmd.sasarans.index")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("rpjmd/sasarans")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"},[t._v("Sasaran")])])],1),t._v(" "),e("div",{staticClass:"mb-2"},[e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("rpjmd/indikator-sasarans")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("rpjmd.indikator-sasarans.index")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("rpjmd/indikator-sasarans")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"},[t._v("Indikator Sasaran - Program")])])],1),t._v(" "),e("div",{staticClass:"mb-2"},[e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("rpjmd/pohon-kinerja")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("rpjmd.pohon-kinerja")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("rpjmd/pohon-kinerja")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"},[t._v("Pohon Kinerja")])])],1)]):t._e(),t._v(" "),e("hr",{staticClass:"my-4 md:min-w-full border-gray-400 border-opacity-25"}),t._v(" "),e("accordion",{attrs:{icon:"book",title:"Konteks Manajemen Resiko"}},[t.$page.props.auth.can.manage_admin_page||t.$page.props.auth.can.read_only_access?e("div",{staticClass:"mb-2"},[e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("mri/konteks-pemda")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("mri.konteks-pemda.index")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("mri/konteks-pemda")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"},[t._v("Konteks Pemda")])])],1):t._e(),t._v(" "),e("div",{staticClass:"mb-2"},[e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("mri/konteks-skpd")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("mri.konteks-skpd.index")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("mri/konteks-skpd")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"},[t._v("Konteks SKPD")])])],1),t._v(" "),e("div",{staticClass:"mb-2"},[e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("mri/konteks-operasional")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("mri.konteks-operasional.index")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("mri/konteks-operasional")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"},[t._v("Konteks Operasional")])])],1)]),t._v(" "),e("accordion",{attrs:{icon:"book",title:"Penilaian Resiko"}},[t.$page.props.auth.can.manage_admin_page||t.$page.props.auth.can.read_only_access?e("div",{staticClass:"mb-2"},[e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("mri/jadwal-monevs")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("mri.jadwal-monevs.index")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("mri/jadwal-monevs")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"},[t._v("Jadwal Monev")])])],1):t._e(),t._v(" "),t.$page.props.auth.can.manage_admin_page||t.$page.props.auth.can.read_only_access?e("div",{staticClass:"mb-2"},[e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("mri/dpr-pemda")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("mri.dpr-pemda.index")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("mri/dpr-pemda")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"},[t._v("DPR Pemda")])])],1):t._e(),t._v(" "),e("div",{staticClass:"mb-2"},[e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("mri/dpr-skpd")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("mri.dpr-skpd.index")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("mri/dpr-skpd")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"},[t._v("DPR SKPD")])])],1),t._v(" "),e("div",{staticClass:"mb-2"},[e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("mri/dpr-operasional")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("mri.dpr-operasional.index")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("mri/dpr-operasional")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"},[t._v("DPR Operasional")])])],1)]),t._v(" "),e("hr",{staticClass:"my-4 md:min-w-full border-gray-400 border-opacity-25"}),t._v(" "),e("accordion",{attrs:{icon:"calendar",title:"Rencana Strategis"}},[t.$page.props.auth.can.manage_admin_page?e("div",{staticClass:"mb-2"},[e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("rencana-strategis/schedules")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("rencana-strategis.schedules.index")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("rencana-strategis/schedules")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"},[t._v("Jadwal")])])],1):t._e(),t._v(" "),e("div",{staticClass:"mb-2"},[e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("rencana-strategis/target-renstra")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("rencana-strategis.target-renstra.index")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("rencana-strategis/target-renstra")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"}
2,[t._v("Program/ Kegiatan/ Sub Kegiatan")])])],1)]),t._v(" "),e("accordion",{attrs:{icon:"calendar",title:"Rencana Kerja"}},[t.$page.props.auth.can.manage_admin_page?e("div",{staticClass:"mb-2"},[e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("rencana-kerja/schedules")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("rencana-kerja.schedules.index")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("rencana-kerja/schedules")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"},[t._v("Jadwal")])])],1):t._e(),t._v(" "),e("div",{staticClass:"mb-2"},[e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("rencana-kerja/target-renja")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("rencana-kerja.target-renja.index")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("rencana-kerja/target-renja")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"},[t._v("Program/ Kegiatan/ Sub Kegiatan")])])],1)]),t._v(" "),e("accordion",{attrs:{icon:"calendar",title:"Perencanaan"}},["PA/KPA"===t.$page.props.auth.user.role||"Super Admin"===t.$page.props.auth.user.role||"Admin"===t.$page.props.auth.user.role?e("div",{staticClass:"mb-2"},[e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("perencanaan/pengampus")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("perencanaan.pengampus.index")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("perencanaan/pengampus")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"},[t._v("Pengampu")])])],1):t._e(),t._v(" "),t.$page.props.auth.can.manage_admin_page?e("div",{staticClass:"mb-2"},[e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("perencanaan/schedules")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("perencanaan.schedules.index")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("perencanaan/schedules")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"},[t._v("Jadwal")])])],1):t._e(),t._v(" "),e("div",{staticClass:"mb-2"},[e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("perencanaan/target-kegiatan")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("perencanaan.target-kegiatan.index")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("perencanaan/target-kegiatan")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"},[t._v("Program/ Kegiatan/ Sub Kegiatan")])])],1)]),t._v(" "),e("hr",{staticClass:"my-4 md:min-w-full border-gray-400 border-opacity-25"}),t._v(" "),e("accordion",{attrs:{icon:"chart-pie",title:"Realisasi"}},[t.$page.props.auth.can.manage_admin_page?e("div",{staticClass:"mb-2"},[e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("realisasi/schedules")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("realisasi.schedules.index")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("realisasi/schedules")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"},[t._v("Jadwal")])])],1):t._e(),t._v(" "),e("div",{staticClass:"mb-2"},[e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("realisasi/kegiatan")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("realisasi.kegiatan.index")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("realisasi/kegiatan")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"},[t._v("Program/ Kegiatan/ Sub Kegiatan")])])],1)]),t._v(" "),e("hr",{staticClass:"my-4 md:min-w-full border-gray-400 border-opacity-25"}),t._v(" "),e("accordion",{attrs:{icon:"chart-bar",title:"Laporan"}},[e("div",{staticClass:"mb-2"},[t.$page.props.auth.can.manage_admin_page||t.$page.props.auth.can.read_only_access?e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("laporan/rpjmd")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("laporan.rpjmd")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("laporan/rpjmd")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"},[t._v("RPJMD")])]):t._e()],1),t._v(" "),e("div",{staticClass:"mb-2"},[e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("laporan/renstra")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("laporan.renstra")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("laporan/renstra")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"},[t._v("Renstra")])])],1),t._v(" "),e("div",{staticClass:"mb-2"},[e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("laporan/realisasi-tahunan")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("laporan.realisasi-tahunan")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("laporan/realisasi-tahunan")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"},[t._v("Realisasi Tahunan")])])],1),t._v(" "),e("div",{staticClass:"mb-2"},[e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("laporan/realisasi-proses-per-opd")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("laporan.realisasi-proses-per-opd")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("laporan/realisasi-proses-per-opd")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"},[t._v("Realisasi Proses Per OPD")])])],1),t._v(" "),e("div",{staticClass:"mb-2"},[e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("laporan/detail-rencana-proses")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("laporan.detail-rencana-proses")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("laporan/detail-rencana-proses")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"},[t._v("Detail Renc. Proses Per Sub")])])],1),t._v(" "),e("div",{staticClass:"mb-2"},[e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("laporan/rekap-rencana-realisasi-proses")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("laporan.rekap-rencana-realisasi-proses")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("laporan/rekap-rencana-realisasi-proses")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"},[t._v("Rekap Renc. & Realisasi Proses")])])],1),t._v(" "),e("div",{staticClass:"mb-2"},[e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("laporan/rekap-kinerj
2a-individu")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("laporan.rekap-kinerja-individu")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("laporan/rekap-kinerja-individu")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"},[t._v("Rekap Kinerja Individu")])])],1)]),t._v(" "),e("hr",{staticClass:"my-4 md:min-w-full border-gray-400 border-opacity-25"}),t._v(" "),e("accordion",{attrs:{icon:"chart-bar",title:"Laporan Renja"}},[e("div",{staticClass:"mb-2"},[t.$page.props.auth.can.manage_admin_page||t.$page.props.auth.can.read_only_access?e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("laporan/renja/kontrol-renja")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("laporan.renja.kontrol-renja")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("laporan/renja/kontrol-renja")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"},[t._v("Kontrol Renja")])]):t._e()],1),t._v(" "),e("div",{staticClass:"mb-2"},[e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("laporan/renja/rekapitulasi")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("laporan.renja.rekapitulasi")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("laporan/renja/rekapitulasi")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"},[t._v("Rekapitulasi")])])],1)]),t._v(" "),e("hr",{staticClass:"my-4 md:min-w-full border-gray-400 border-opacity-25"}),t._v(" "),e("accordion",{attrs:{icon:"chart-bar",title:"Laporan MRI"}},[e("div",{staticClass:"mb-2"},[t.$page.props.auth.can.manage_admin_page||t.$page.props.auth.can.read_only_access?e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("laporan/mri/analis-resiko-pemda")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("laporan.mri.analis-resiko-pemda")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("laporan/mri/analis-resiko-pemda")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"},[t._v("Analisis Resiko Pemda")])]):t._e(),t._v(" "),e("inertia-link",{staticClass:"flex items-center group py-2 px-4",class:t.isUrl("laporan/mri/analis-resiko-opd")?"text-indigo-600 mr-2 border-l-4 border-indigo-400 bg-gray-200 w-full":"",attrs:{href:t.route("laporan.mri.analis-resiko-opd")}},[e("div",{staticClass:"text-sm font-semibold",class:t.isUrl("laporan/mri/analis-resiko-opd")?"text-indigo-600":"text-gray-600 group-hover:text-indigo-400"},[t._v("Analisis Resiko")])])],1)])],1)}),[],!1,null,null,null).exports},7124:(t,e,r)=>{"use strict";r.d(e,{Z:()=>a});const n={inheritAttrs:!1,props:{id:{type:String,default:function(){return"text-input-".concat(this._uid)}},type:{type:String,default:"text"},value:String,label:String,error:String,inputClass:String},methods:{focus:function(){this.$refs.input.focus()},select:function(){this.$refs.input.select()},setSelectionRange:function(t,e){this.$refs.input.setSelectionRange(t,e)}}};const a=(0,r(1900).Z)(n,(function(){var t=this,e=t._self._c;return e("div",[t.label?e("label",{staticClass:"form-label",attrs:{for:t.id}},[t._v(t._s(t.label)+":")]):t._e(),t._v(" "),e("input",t._b({ref:"input",staticClass:"form-input",class:[t.error,t.inputClass],attrs:{id:t.id,type:t.type},domProps:{value:t.value},on:{input:function(e){return t.$emit("input",e.target.value)}}},"input",t.$attrs,!1)),t._v(" "),t.error?e("div",{staticClass:"form-error"},[t._v(t._s(t.error))]):t._e()])}),[],!1,null,null,null).exports},1900:(t,e,r)=>{"use strict";function n(t,e,r,n,a,i,o,s){var l,d="function"==typeof t?t.options:t;if(e&&(d.render=e,d.staticRenderFns=r,d._compiled=!0),n&&(d.functional=!0),i&&(d._scopeId="data-v-"+i),o?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),a&&a.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},d._ssrRegister=l):a&&(l=s?function(){a.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:a),l)if(d.functional){d._injectStyles=l;var c=d.render;d.render=function(t,e){return l.call(e),c(t,e)}}else{var u=d.beforeCreate;d.beforeCreate=u?[].concat(u,l):[l]}return{exports:t,options:d}}r.d(e,{Z:()=>n})},5167:function(t){"undefined"!=typeof self&&self,t.exports=function(t){function e(n){if(r[n])return r[n].exports;var a=r[n]={i:n,l:!1,exports:{}};return t[n].call(a.exports,a,a.exports,e),a.l=!0,a.exports}var r={};return e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=1)}([function(t,e,r){"use strict";
2Object.defineProperty(e,"__esModule",{value:!0});var n=r(7);e.default={name:"flipCountdown",props:{deadline:{type:String},stop:{type:Boolean},showDays:{type:Boolean,required:!1,default:!0},showHours:{type:Boolean,required:!1,default:!0},showMinutes:{type:Boolean,required:!1,default:!0},showSeconds:{type:Boolean,required:!1,default:!0},labels:{type:Object,required:!1,default:function(){return{days:"Days",hours:"Hours",minutes:"Minutes",seconds:"Seconds"}}},countdownSize:{type:String,required:!1},labelSize:{type:String,required:!1}},data:function(){var t=n();return{now:Math.trunc((new Date).getTime()/1e3),date:null,interval:null,diff:0,show:!1,timeData:[{current:0,previous:0,label:this.labels.days,elementId:"flip-card-days-"+t,show:this.showDays},{current:0,previous:0,label:this.labels.hours,elementId:"flip-card-hours-"+t,show:this.showHours},{current:0,previous:0,label:this.labels.minutes,elementId:"flip-card-minutes-"+t,show:this.showMinutes},{current:0,previous:0,label:this.labels.seconds,elementId:"flip-card-seconds-"+t,show:this.showSeconds}]}},created:function(){var t=this;if(!this.deadline)throw new Error("Missing props 'deadline'");var e=this.deadline;if(this.date=Math.trunc(Date.parse(e.replace(/-/g,"/"))/1e3),!this.date)throw new Error("Invalid props value, correct the 'deadline'");this.interval=setInterval((function(){t.now=Math.trunc((new Date).getTime()/1e3)}),1e3)},mounted:function(){0!==this.diff&&(this.show=!0)},computed:{seconds:function(){return Math.trunc(this.diff)%60},minutes:function(){return Math.trunc(this.diff/60)%60},hours:function(){return Math.trunc(this.diff/60/60)%24},days:function(){return Math.trunc(this.diff/60/60/24)}},watch:{deadline:function(t,e){var r=this.deadline;if(this.date=Math.trunc(Date.parse(r.replace(/-/g,"/"))/1e3),!this.date)throw new Error("Invalid props value, correct the 'deadline'")},now:function(t){this.diff=this.date-this.now,this.diff<=0||this.stop?(this.diff=0,this.updateTime(3,0)):this.updateAllCards()},diff:function(t){0===t&&(this.$emit("timeElapsed"),this.updateAllCards())}},filters:{twoDigits:function(t){return t.toString().length<=1?"0"+t.toString():t.toString()}},methods:{updateAllCards:function(){this.updateTime(0,this.days),this.updateTime(1,this.hours),this.updateTime(2,this.minutes),this.updateTime(3,this.seconds)},updateTime:function(t,e){if(!(t>=this.timeData.length||void 0===e)){window.requestAnimationFrame&&(this.frame=requestAnimationFrame(this.updateTime.bind(this)));var r=this.timeData[t],n=e<0?0:e,a=document.querySelector("#"+r.elementId);if(n!==r.current&&(r.previous=r.current,r.current=n,a&&(a.classList.remove("flip"),a.offsetWidth,a.classList.add("flip")),0===t)){var i=a.querySelectorAll("span b");if(i){var o=!0,s=!1,l=void 0;try{for(var d,c=i[Symbol.iterator]();!(o=(d=c.next()).done);o=!0){var u=d.value,p=u.classList[0];if(e/1e3>=1){if(!p.includes("-4digits")){var f=p+"-4digits";u.classList.add(f),u.classList.remove(p)}}else if(p.includes("-4digits")){var g=p.replace("-4digits","");u.classList.add(g),u.classList.remove(p)}}}catch(t){s=!0,l=t}finally{try{!o&&c.return&&c.return()}finally{if(s)throw l}}}}}}},beforeDestroy:function(){window.cancelAnimationFrame&&cancelAnimationFrame(this.frame)},destroyed:function(){clearInterval(this.interval)}}},function(t,e,r){"use strict";function n(t){r(2)}Object.defineProperty(e,"__esModule",{value:!0});var a=r(0),i=r.n(a);for(var o in a)"default"!==o&&function(t){r.d(e,t,(function(){return a[t]}))}(o);var s=r(10),l=r(11),d=n,c=Object(l.a)(i.a,s.a,s.b,!1,d,"data-v-cff81de8",null);e.default=c.exports},function(t,e,r){var n=r(3);"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals),(0,r(5).default)("49966720",n,!0,{})},function(t,e,r){(t.exports=r(4)(!1)).push([t.i,"\n.flip-clock[data-v-cff81de8] {\n text-align: center;\n perspective: 600px;\n margin: 0 auto;\n}\n.flip-clock *[data-v-cff81de8],\n.flip-clock *[data-v-cff81de8]:before,\n.flip-clock *[data-v-cff81de8]:after {\n box-sizing: border-box;\n}\n.flip-clock__piece[data-v-cff81de8] {\n display: inline-block;\n margin: 0 0.2vw;\n}\n@media (min-width: 1000px) {\n.flip-clock__piece[data-v-cff81de8] {\n margin: 0 5px;\n}\n}\n.flip-clock__slot[data-v-cff81de8] {\n font-size: 1rem;\n line-height: 1.5;\n display: block;\n}\n.flip-card[data-v-cff81de8] {\n display: block;\n position: relative;\n padding-bottom: 0.72em;\n font-size: 2.25rem;\n line-height: 0.95;\n}\n@media (min-width: 1000px) {\n.flip-clock__slot[data-v-cff81de8] {\n font-size: 1.2rem;\n}\n.flip-card[data-v-cff81de8] {\n font-size: 3rem;\n}\n}\n.flip-card__top[data-v-cff81de8],\n.flip-card__bottom[data-v-cff81de8],\n.flip-card__back-bottom[data-v-cff81de8],\n.flip-card__back[data-v-cff81de8]::before,\n.flip-card__back[data-v-cff81de8]::after {\n display: block;\n color: #cca900;\n background: #222;\n padding: 0.23em 0.15em 0.4em;\n border-radius: 0.15em 0.15em 0 0;\n backface-visibility: hidden;\n -webkit-backface-visibility: hidden;\n transform-style: preserve-3d;\n width: 2.1em;\n height: 0.72em;\n}\n.flip-card__top-4digits[data-v-cff81de8],\n.flip-card__bottom-4digits[data-v-cff81de8],\n.flip-card__back-bottom-4digits[data-v-cff81de8],\n.flip-card__back-4digits[data-v-cff81de8]::before,\n.flip-card__back-4digits[data-v-cff81de8]::after {\n display: block;\n color: #cca900;\n background: #222;\n padding: 0.23em 0.15em 0.4em;\n border-radius: 0.15em 0.15em 0 0;\n backface-visibility: hidden;\n -webkit-backface-visibility: hidden;\n transform-style: preserve-3d;\n width: 2.65em;\n height: 0.72em;\n}\n.flip-card__bottom[data-v-cff81de8],\n.flip-card__back-bottom[data-v-cff81de8],\n.flip-card__bottom-4digits[data-v-cff81de8],\n.flip-card__back-bottom-4digits[data-v-cff81de8] {\n color: #ffdc00;\n position: absolute;\n top: 50%;\n left: 0;\n border-top: solid 1px #000;\n background: #393939;\n border-radius: 0 0 0.15em 0.15em;\n pointer-events: none;\n overflow: hidden;\n z-index: 2;\n}\n.flip-card__back-bottom[data-v-cff81de8],\n.flip-card__back-bottom-4digits[data-v-cff81de8] {\n z-index: 1;\n}\n.flip-card__bottom[data-v-cff81de8]::after,\n.flip-card__back-bottom[data-v-cff81de8]::after,\n.flip-card__bottom-4digits[data-v-cff81de8]::after,\n.flip-card__back-bottom-4digits[data-v-cff81de8]::after {\n display: block;\n margin-top: -0.72em;\n}\n.flip-card__back[data-v-cff81de8]::before,\n.flip-card__bottom[data-v-cff81de8]::after,\n.flip-card__back-bottom[data-v-cff81de8]::after,\n.flip-card__back-4digits[data-v-cff81de8]::before,\n.flip-card__bottom-4digits[data-v-cff81de8]::after,\n.flip-card__back-bottom-4digits[data-v-cff81de8]::after {\n
2content: attr(data-value);\n}\n.flip-card__back[data-v-cff81de8],\n.flip-card__back-4digits[data-v-cff81de8] {\n position: absolute;\n top: 0;\n height: 100%;\n left: 0%;\n pointer-events: none;\n}\n.flip-card__back[data-v-cff81de8]::before,\n.flip-card__back-4digits[data-v-cff81de8]::before {\n position: relative;\n overflow: hidden;\n z-index: -1;\n}\n.flip .flip-card__back[data-v-cff81de8]::before,\n.flip .flip-card__back-4digits[data-v-cff81de8]::before {\n z-index: 1;\n animation: flipTop-data-v-cff81de8 0.3s cubic-bezier(0.37, 0.01, 0.94, 0.35);\n animation-fill-mode: both;\n transform-origin: center bottom;\n}\n.flip .flip-card__bottom[data-v-cff81de8],\n.flip .flip-card__bottom-4digits[data-v-cff81de8] {\n transform-origin: center top;\n animation-fill-mode: both;\n animation: flipBottom-data-v-cff81de8 0.6s cubic-bezier(0.15, 0.45, 0.28, 1);\n}\n@keyframes flipTop-data-v-cff81de8 {\n0% {\n transform: rotateX(0deg);\n z-index: 2;\n}\n0%,\n 99% {\n opacity: 1;\n}\n100% {\n transform: rotateX(-90deg);\n opacity: 0;\n}\n}\n@keyframes flipBottom-data-v-cff81de8 {\n0%,\n 50% {\n z-index: -1;\n transform: rotateX(90deg);\n opacity: 0;\n}\n51% {\n opacity: 1;\n}\n100% {\n opacity: 1;\n transform: rotateX(0deg);\n z-index: 5;\n}\n}\n",""])},function(t,e,r){"use strict";function n(t,e){var r=t[1]||"",n=t[3];if(!n)return r;if(e&&"function"==typeof btoa){var i=a(n);return[r].concat(n.sources.map((function(t){return"/*# sourceURL=".concat(n.sourceRoot).concat(t," */")}))).concat([i]).join("\n")}return[r].join("\n")}function a(t){return"/*# ".concat("sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(t)))))," */")}t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r=n(e,t);return e[2]?"@media ".concat(e[2],"{").concat(r,"}"):r})).join("")},e.i=function(t,r){"string"==typeof t&&(t=[[null,t,""]]);for(var n={},a=0;a<this.length;a++){var i=this[a][0];null!=i&&(n[i]=!0)}for(var o=0;o<t.length;o++){var s=t[o];null!=s[0]&&n[s[0]]||(r&&!s[2]?s[2]=r:r&&(s[2]="(".concat(s[2],") and (").concat(r,")")),e.push(s))}},e}},function(t,e,r){"use strict";function n(t,e,r,n){h=r,v=n||{};var i=Object(d.a)(t,e);return a(i),function(e){for(var r=[],n=0;n<i.length;n++){var o=i[n];(s=u[o.id]).refs--,r.push(s)}for(e?a(i=Object(d.a)(t,e)):i=[],n=0;n<r.length;n++){var s;if(0===(s=r[n]).refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete u[s.id]}}}}function a(t){for(var e=0;e<t.length;e++){var r=t[e],n=u[r.id];if(n){n.refs++;for(var a=0;a<n.parts.length;a++)n.parts[a](r.parts[a]);for(;a<r.parts.length;a++)n.parts.push(o(r.parts[a]));n.parts.length>r.parts.length&&(n.parts.length=r.parts.length)}else{var i=[];for(a=0;a<r.parts.length;a++)i.push(o(r.parts[a]));u[r.id]={id:r.id,refs:1,parts:i}}}}function i(){var t=document.createElement("style");return t.type="text/css",p.appendChild(t),t}function o(t){var e,r,n=document.querySelector("style["+b+'~="'+t.id+'"]');if(n){if(h)return m;n.parentNode.removeChild(n)}if(x){var a=g++;n=f||(f=i()),e=s.bind(null,n,a,!1),r=s.bind(null,n,a,!0)}else n=i(),e=l.bind(null,n),r=function(){n.parentNode.removeChild(n)};return e(t),function(n){if(n){if(n.css===t.css&&n.media===t.media&&n.sourceMap===t.sourceMap)return;e(t=n)}else r()}}function s(t,e,r,n){var a=r?"":n.css;if(t.styleSheet)t.styleSheet.cssText=w(e,a);else{var i=document.createTextNode(a),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(i,o[e]):t.appendChild(i)}}function l(t,e){var r=e.css,n=e.media,a=e.sourceMap;if(n&&t.setAttribute("media",n),v.ssrId&&t.setAttribute(b,e.id),a&&(r+="\n/*# sourceURL="+a.sources[0]+" */",r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),t.styleSheet)t.styleSheet.cssText=r;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(r))}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;var d=r(6),c="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!c)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var u={}
2,p=c&&(document.head||document.getElementsByTagName("head")[0]),f=null,g=0,h=!1,m=function(){},v=null,b="data-vue-ssr-id",x="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase()),w=function(){var t=[];return function(e,r){return t[e]=r,t.filter(Boolean).join("\n")}}()},function(t,e,r){"use strict";function n(t,e){for(var r=[],n={},a=0;a<e.length;a++){var i=e[a],o=i[0],s={id:t+":"+a,css:i[1],media:i[2],sourceMap:i[3]};n[o]?n[o].parts.push(s):r.push(n[o]={id:o,parts:[s]})}return r}e.a=n},function(t,e,r){function n(t,e,r){var n=e&&r||0;"string"==typeof t&&(e="binary"===t?new Array(16):null,t=null);var o=(t=t||{}).random||(t.rng||a)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,e)for(var s=0;s<16;++s)e[n+s]=o[s];return e||i(o)}var a=r(8),i=r(9);t.exports=n},function(t,e){var r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(r){var n=new Uint8Array(16);t.exports=function(){return r(n),n}}else{var a=new Array(16);t.exports=function(){for(var t,e=0;e<16;e++)0==(3&e)&&(t=4294967296*Math.random()),a[e]=t>>>((3&e)<<3)&255;return a}}},function(t,e){function r(t,e){var r=e||0,a=n;return[a[t[r++]],a[t[r++]],a[t[r++]],a[t[r++]],"-",a[t[r++]],a[t[r++]],"-",a[t[r++]],a[t[r++]],"-",a[t[r++]],a[t[r++]],"-",a[t[r++]],a[t[r++]],a[t[r++]],a[t[r++]],a[t[r++]],a[t[r++]]].join("")}for(var n=[],a=0;a<256;++a)n[a]=(a+256).toString(16).substr(1);t.exports=r},function(t,e,r){"use strict";r.d(e,"a",(function(){return n})),r.d(e,"b",(function(){return a}));var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"container flip-clock"},[t._l(t.timeData,(function(e){return[r("span",{directives:[{name:"show",rawName:"v-show",value:e.show,expression:"data.show"}],key:e.label,staticClass:"flip-clock__piece",attrs:{id:e.elementId}},[r("span",{staticClass:"flip-clock__card flip-card",style:t.countdownSize?"font-size:"+t.countdownSize:""},[r("b",{staticClass:"flip-card__top"},[t._v(t._s(t._f("twoDigits")(e.current)))]),t._v(" "),r("b",{staticClass:"flip-card__bottom",attrs:{"data-value":t._f("twoDigits")(e.current)}}),t._v(" "),r("b",{staticClass:"flip-card__back",attrs:{"data-value":t._f("twoDigits")(e.previous)}}),t._v(" "),r("b",{staticClass:"flip-card__back-bottom",attrs:{"data-value":t._f("twoDigits")(e.previous)}})]),t._v(" "),r("span",{staticClass:"flip-clock__slot",style:t.labelSize?"font-size:"+t.labelSize:""},[t._v(t._s(e.label))])])]}))],2)},a=[]},function(t,e,r){"use strict";function n(t,e,r,n,a,i,o,s){var l=typeof(t=t||{}).default;"object"!==l&&"function"!==l||(t=t.default);var d,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=r,c._compiled=!0),n&&(c.functional=!0),i&&(c._scopeId=i),o?(d=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),a&&a.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},c._ssrRegister=d):a&&(d=s?function(){a.call(this,this.$root.$options.shadowRoot)}:a),d)if(c.functional){c._injectStyles=d;var u=c.render;c.render=function(t,e){return d.call(e),u(t,e)}}else{var p=c.beforeCreate;c.beforeCreate=p?[].concat(p,d):[d]}return{exports:t,options:c}}e.a=n}])},8818:(t,e,r)=>{"use strict";r.d(e,{WU:()=>rt});const n={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function a(t){return(e={})=>{const r=e.width?String(e.width):t.defaultWidth;return t.formats[r]||t.formats[t.defaultWidth]}}const i={date:a({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:a({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:a({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},o={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function s(t){return(e,r)=>{let n;if("formatting"===(r?.context?String(r.context):"standalone")&&t.formattingValues){const e=t.defaultFormattingWidth||t.defaultWidth,a=r?.width?String(r.width):e;n=t.formattingValues[a]||t.formattingValues[e]}else{const e=t.defaultWidth,a=r?.width?String(r.width):t.defaultWidth;n=t.values[a]||t.values[e]}return n[t.argumentCallback?t.argumentCallback(e):e]}}function l(t){return(e,r={})=>{const n=r.width,a=n&&t.matchPatterns[n]||t.matchPatterns[t.defaultMatchWidth],i=e.match(a);if(!i)return null;const o=i[0],s=n&&t.parsePatterns[n]||t.parsePatterns[t.defaultParseWidth],l=Array.isArray(s)?function(t,e){for(let r=0;r<t.length;r++)if(e(t[r]))return r;return}(s,(t=>t.test(o))):function(t,e){for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&e(t[r]))return r;return}(s,(t=>t.test(o)));let d;d=t.valueCallback?t.valueCallback(l):l,d=r.valueCallback?r.valueCallback(d):d;return{value:d,rest:e.slice(o.length)}}}var d;const c={code:"en-US",formatDistance:(t,e,r)=>{let a;const i=n[t];
2return a="string"==typeof i?i:1===e?i.one:i.other.replace("{{count}}",e.toString()),r?.addSuffix?r.comparison&&r.comparison>0?"in "+a:a+" ago":a},formatLong:i,formatRelative:(t,e,r,n)=>o[t],localize:{ordinalNumber:(t,e)=>{const r=Number(t),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},era:s({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:s({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:t=>t-1}),month:s({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:s({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:s({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(d={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:t=>parseInt(t,10)},(t,e={})=>{const r=t.match(d.matchPattern);if(!r)return null;const n=r[0],a=t.match(d.parsePattern);if(!a)return null;let i=d.valueCallback?d.valueCallback(a[0]):a[0];return i=e.valueCallback?e.valueCallback(i):i,{value:i,rest:t.slice(n.length)}}),era:l({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:l({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:t=>t+1}),month:l({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:l({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:l({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};let u={};function p(){return u}Math.pow(10,8);const f=6048e5,g=864e5,h=Symbol.for("constructDateFrom");function m(t,e){return"function"==typeof t?t(e):t&&"object"==typeof t&&h in t?t[h](e):t instanceof Date?new t.constructor(e):new Date(e)}function v(t,e){return m(e||t,t)}function b(t){const e=v(t),r=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return r.setUTCFullYear(e.getFullYear()),+t-+r}function x(t,e){const r=v(t,e?.in);return r.setHours(0,0,0,0),r}function w(t,e,r){const[n,a]=function(t,...e){const r=m.bind(null,t||e.find((t=>"object"==typeof t)));return e.map(r)}(r?.in,t,e),i=x(n),o=x(a),s=+i-b(i),l=+o-b(o);return Math.round((s-l)/g)}function y(t,e){const r=v(t,e?.in);return r.setFullYear(r.getFullYear(),0,1),r.setHours(0,0,0,0),r}function _(t,e){const r=v(t,e?.in);return w(r,y(r))+1}function k(t,e){const r=p(),n=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,a=v(t,e?.in),i=a.getDay(),o=(i<n?7:0)+i-n;return a.setDate(a.getDate()-o),a.setHours(0,0,0,0),a}function C(t,e){return k(t,{...e,weekStartsOn:1}
vendor: 11,029 bytes, line 2
2)}function M(t,e){const r=v(t,e?.in),n=r.getFullYear(),a=m(r,0);a.setFullYear(n+1,0,4),a.setHours(0,0,0,0);const i=C(a),o=m(r,0);o.setFullYear(n,0,4),o.setHours(0,0,0,0);const s=C(o);return r.getTime()>=i.getTime()?n+1:r.getTime()>=s.getTime()?n:n-1}function S(t,e){const r=M(t,e),n=m(e?.in||t,0);return n.setFullYear(r,0,4),n.setHours(0,0,0,0),C(n)}function T(t,e){const r=v(t,e?.in),n=+C(r)-+S(r);return Math.round(n/f)+1}function j(t,e){const r=v(t,e?.in),n=r.getFullYear(),a=p(),i=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,o=m(e?.in||t,0);o.setFullYear(n+1,0,i),o.setHours(0,0,0,0);const s=k(o,e),l=m(e?.in||t,0);l.setFullYear(n,0,i),l.setHours(0,0,0,0);const d=k(l,e);return+r>=+s?n+1:+r>=+d?n:n-1}function P(t,e){const r=p(),n=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,a=j(t,e),i=m(e?.in||t,0);i.setFullYear(a,0,n),i.setHours(0,0,0,0);return k(i,e)}function E(t,e){const r=v(t,e?.in),n=+k(r,e)-+P(r,e);return Math.round(n/f)+1}function U(t,e){return(t<0?"-":"")+Math.abs(t).toString().padStart(e,"0")}const A={y(t,e){const r=t.getFullYear(),n=r>0?r:1-r;return U("yy"===e?n%100:n,e.length)},M(t,e){const r=t.getMonth();return"M"===e?String(r+1):U(r+1,2)},d:(t,e)=>U(t.getDate(),e.length),a(t,e){const r=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];default:return"am"===r?"a.m.":"p.m."}},h:(t,e)=>U(t.getHours()%12||12,e.length),H:(t,e)=>U(t.getHours(),e.length),m:(t,e)=>U(t.getMinutes(),e.length),s:(t,e)=>U(t.getSeconds(),e.length),S(t,e){const r=e.length,n=t.getMilliseconds();return U(Math.trunc(n*Math.pow(10,r-3)),e.length)}},$="midnight",L="noon",D="morning",O="afternoon",B="evening",z="night",H={G:function(t,e,r){const n=t.getFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});default:return r.era(n,{width:"wide"})}},y:function(t,e,r){if("yo"===e){const e=t.getFullYear(),n=e>0?e:1-e;return r.ordinalNumber(n,{unit:"year"})}return A.y(t,e)},Y:function(t,e,r,n){const a=j(t,n),i=a>0?a:1-a;if("YY"===e){return U(i%100,2)}return"Yo"===e?r.ordinalNumber(i,{unit:"year"}):U(i,e.length)},R:function(t,e){return U(M(t),e.length)},u:function(t,e){return U(t.getFullYear(),e.length)},Q:function(t,e,r){const n=Math.ceil((t.getMonth()+1)/3);switch(e){case"Q":return String(n);case"QQ":return U(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(t,e,r){const n=Math.ceil((t.getMonth()+1)/3);switch(e){case"q":return String(n);case"qq":return U(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(t,e,r){const n=t.getMonth();switch(e){case"M":case"MM":return A.M(t,e);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(t,e,r){const n=t.getMonth();switch(e){case"L":return String(n+1);case"LL":return U(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(t,e,r,n){const a=E(t,n);return"wo"===e?r.ordinalNumber(a,{unit:"week"}):U(a,e.length)},I:function(t,e,r){const n=T(t);return"Io"===e?r.ordinalNumber(n,{unit:"week"}):U(n,e.length)},d:function(t,e,r){return"do"===e?r.ordinalNumber(t.getDate(),{unit:"date"}):A.d(t,e)},D:function(t,e,r){const n=_(t);return"Do"===e?r.ordinalNumber(n,{unit:"dayOfYear"}):U(n,e.length)},E:function(t,e,r){const n=t.getDay();switch(e){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(t,e,r,n){const a=t.getDay(),i=(a-n.weekStartsOn+8)%7||7;switch(e){case"e":return String(i);case"ee":return U(i,2);case"eo":return r.ordinalNumber(i,{unit:"day"});case"eee":return r.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(a,{width:"short",context:"formatting"});default:return r.day(a,{width:"wide",context:"formatting"})}},c:function(t,e,r,n){const a=t.getDay(),i=(a-n.weekStartsOn+8)%7||7;switch(e){case"c":return String(i);case"cc":return U(i,e.length);case"co":return r.ordinalNumber(i,{unit:"day"});case"ccc":return r.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(a,{width:"narrow",context:"standalone"});case"cccccc":return r.day(a,{width:"short",context:"standalone"});default:return r.day(a,{width:"wide",context:"standalone"})}},i:function(t,e,r){const n=t.getDay(),a=0===n?7:n;switch(e){case"i":return String(a);case"ii":return U(a,e.length);case"io":return r.ordinalNumber(a,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(t,e,r){const n=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(t,e,r){const n=t.getHours();let a;switch(a=12===n?L:0===n?$:n/12>=1?"pm":"am",e){case"b":case"bb":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(a,{width:"narrow",context:"formatting"});default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(t,e,r){const n=t.getHours();let a;switch(a=n>=17?B:n>=12?O:n>=4?D:z,e){case"B":case"BB":case"BBB":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(a,{width:"narrow",context:"formatting"});default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(t,e,r){if("ho"===e){let e=t.getHours()%12;return 0===e&&(e=12),r.ordinalNumber(e,{unit:"hour"})}return A.h(t,e)},H:function(t,e,r){return"Ho"===e?r.ordinalNumber(t.getHours(),{unit:"hour"}):A.H(t,e)},K:function(t,e,r){const n=t.getHours()%12;return"Ko"===e?r.ordinalNumber(n,{unit:"hour"}):U(n,e.length)},k:function(t,e,r){let n=t.getHours();return 0===n&&(n=24),"ko"===e?r.ordinalNumber(n,{unit:"hour"}):U(n,e.length)},m:function(t,e,r){return"mo"===e?r.ordinalNumber(t.getMinutes(),{unit:"minute"}):A.m(t,e)},s:function(t,e,r){return"so"===e?r.ordinalNumber(t.getSeconds(),{unit:"second"}):A.s(t,e)},S:function(t,e){return A.S(t,e)},X:function(t,e,r){const n=t.getTimezoneOffset();if(0===n)return"Z";switch(e){case"X":return I(n);case"XXXX":case"XX":return W(n);default:return W(n,":")}},x:function(t,e,r){const n=t.getTimezoneOffset();switch(e){case"x":return I(n);case"xxxx":case"xx":return W(n);default:return W(n,":")}},O:function(t,e,r){const n=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+N(n,":");default:return"GMT"+W(n,":")}},z:function(t,e,r){const n=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+N(n,":");default:return"GMT"+W(n,":")}},t:function(t,e,r){return U(Math.trunc(+t/1e3),e.length)},T:function(t,e,r){return U(+t,e.length)}};function N(t,e=""){const r=t>0?"-":"+",n=Math.abs(t),a=Math.trunc(n/60),i=n%60;return 0===i?r+String(a):r+String(a)+e+U(i,2)}function I(t,e){if(t%60==0){return(t>0?"-":"+")+U(Math.abs(t)/60,2)}return W(t,e)}function W(t,e=""){const r=t>0?"-":"+",n=Math.abs(t);return r+U(Math.trunc(n/60),2)+e+U(n%60,2)}const F=(t,e)=>{switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});default:return e.date({width:"full"})}},R=(t,e)=>{switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});default:return e.time({width:"full"})}},V={p:R,P:(t,e)=>{const r=t.match(/(P+)(p+)?/)||[],n=r[1],a=r[2];if(!a)return F(t,e);let i;switch(n){case"P":i=e.dateTime({width:"short"});break;case"PP":i=e.dateTime({width:"medium"});break;case"PPP":i=e.dateTime({width:"long"});break;default:i=e.dateTime({width:"full"})}return i.replace("{{date}}",F(n,e)).replace("{{time}}",R(a,e))}},q=/^D+$/,Y=/^Y+$/,K=["D","DD","YY","YYYY"];function G(t){return t instanceof Date||"object"==typeof t&&"[object Date]"===Object.prototype.toString.call(t)}function Z(t){return!(!G(t)&&"number"!=typeof t||isNaN(+v(t)))}const X=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,J=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Q=/^'([^]*?)'?$/,tt=/''/g,et=/[a-zA-Z]/;function rt(t,e,r){const n=p(),a=r?.locale??n.locale??c,i=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,o=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,s=v(t,r?.in);if(!Z(s))throw new RangeError("Invalid time value");let l=e.match(J).map((t=>{const e=t[0];if("p"===e||"P"===e){return(0,V[e])(t,a.formatLong)}return t})).join("").match(X).map((t=>{if("''"===t)return{isToken:!1,value:"'"};const e=t[0];if("'"===e)return{isToken:!1,value:nt(t)};if(H[e])return{isToken:!0,value:t};if(e.match(et))throw new RangeError("Format string contains an unescaped latin alphabet character `"+e+"`");return{isToken:!1,value:t}}));a.localize.preprocessor&&(l=a.localize.preprocessor(s,l));const d={firstWeekContainsDate:i,weekStartsOn:o,locale:a};return l.map((n=>{if(!n.isToken)return n.value;const i=n.value;(!r?.useAdditionalWeekYearTokens&&function(t){return Y.test(t)}(i)||!r?.useAdditionalDayOfYearTokens&&function(t){return q.test(t)}(i))&&function(t,e,r){const n=function(t,e,r){const n="Y"===t[0]?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${e}\`) for formatting ${n} to the input \`${r}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(t,e,r);
2if(console.warn(n),K.includes(t))throw new RangeError(n)}(i,e,String(t));return(0,H[i[0]])(s,i,a.localize,d)})).join("")}function nt(t){const e=t.match(Q);return e?e[1].replace(tt,"'"):t}}}]); 3//# sourceMappingURL=3443.js.map?id=5bc00f3f15ef67dc
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.