PageSourceSearch

https://chiringuitoblueibiza.com/_next/static/chunks/87.5992dfcec6e2b8bc.js

js chiringuitoblueibiza.com collected 2026-10-07 18:59:57 UTC 13,637 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[87,293,959],{3293:function(e,t,n){n.r(t);var r=n(4051),a=n.n(r),o=n(5893),l=n(7294),i=n(2909),s=n(1163);function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(e,t,n,r,a,o,l){try{var i=e[o](l),s=i.value}catch(u){return void n(u)}i.done?t(s):Promise.resolve(s).then(r,a)}function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o=[],l=!0,i=!1;try{for(n=n.call(e);!(l=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);l=!0);}catch(s){i=!0,a=s}finally{try{l||null==n.return||n.return()}finally{if(i)throw a}}return o}}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}t.default=function(e){var t=d(l.useState(""),2),n=t[0],r=t[1],u=d(l.useState(""),2),f=u[0],m=u[1],p=d(l.useState(""),2),h=p[0],b=p[1],x=(0,s.useRouter)(),g=function(){var t,n=(t=a().mark((function t(){var n,r,o;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,fetch(e.captchaImageUrl,{headers:{identity:"".concat((new Date).getTime())}});case 3:return n=t.sent,t.next=6,n.blob();case 6:r=t.sent,o=URL.createObjectURL(r),document.getElementById("login_captcha_modal").src=o,document.getElementById("login_captcha_modal").onload=function(){URL.revokeObjectURL(o)},t.next=14;break;case 12:t.prev=12,t.t0=t.catch(0);case 14:case"end":return t.stop()}}),t,null,[[0,12]])})),function(){var e=this,n=arguments;return new Promise((function(r,a){var o=t.apply(e,n);function l(e){c(o,r,a,l,i,"next",e)}function i(e){c(o,r,a,l,i,"throw",e)}l(void 0)}))});return function(){return n.apply(this,arguments)}}();return l.useEffect((function(){e.isModalOpen&&e.captchaImageUrl&&""!==e.captchaImageUrl&&g()}),[e.isModalOpen,e.captchaImageUrl]),(0,o.jsx)(o.Fragment,{children:(0,o.jsx)(i.default,{isOpen:e.isModalOpen,onClose:function(){e.disabledAllForms||e.onClose()},children:(0,o.jsx)("div",{className:"inline-block w-full max-w-md overflow-hidden text-left align-middle transition-all transform bg-white shadow-xl rounded-md",children:(0,o.jsxs)("div",{className:"w-full bg-dark flex flex-col justify-center items-center",children:[(0,o.jsx)("div",{className:"w-full text-common p-4 text-center flex flex-col justify-center items-center bg-primary-gradient-card bg-header-modal",children:(0,o.jsx)("div",{className:"flex justify-center items-center",children:(0,o.jsx)("img",{loading:"lazy",src:e.webLogo,alt:"Web Logo",className:"w-1/2"})})}),(0,o.jsxs)("form",{method:"POST",onSubmit:function(e){return e.preventDefault()},className:"w-full flex flex-col p-4 bg-white border-t border-dark text-sm text-common",children:[(0,o.jsxs)("div",{className:"form-group",children:[(0,o.jsx)("label",{htmlFor:"",className:"text-black",children:"Username"}),(0,o.jsx)("input",{type:"text",className:"w-full rounded-md h-8 my-1 px-2 bg-dark border-primary border",placeholder:"Masukkan username anda",value:n,onChange:function(e){return r(e.target.value)},disabled:e.disabledAllForms,autoComplete:"off",autoCorrect:"off"})]}),(0,o.jsxs)("div",{className:"form-group",children:[(0,o.jsx)("label",{htmlFor:"",className:"text-black",children:"Password"}),(0,o.jsx)("input",{type:"password",className:"w-full rounded-md h-8 my-1 px-2 bg-dark border-primary border",placeholder:"Masukkan password anda",value:f,onChange:function(e){return m(e.target.value)},disabled:e.disabledAllForms,autoComplete:"off",autoCorrect:"off"})]}),(0,o.jsxs)("div",{className:"form-group mb-2",children:[(0,o.jsx)("label",{htmlFor:"",className:"text-black",children:"Masukkan Captcha"}),(0,o.jsxs)("div",{className:"relative rounded-l-md shadow-sm my-1",children:[(0,o.jsx)("div",{className:"absolute rounded-l-md inset-y-0 left-0 px-2 bg-white flex items-center pointer-events-none",children:(0,o.jsx)("img",{className:"object-contain w-12 h-6 rounded-l-md",id:"login_captcha_modal",alt:"Captcha image"})}),(0,o.jsx)("input",{type:"text",name:"captcha",id:"captcha",className:"border border-primary text-common block w-full bg-dark pl-20 pr-1 py-1 text-sm border-gray-300 rounded-l-md rounded-r-md",placeholder:"Captcha",value:h,onChange:function(e){return b(e.target.value)},disabled:e.disabledAllForms,autoComplete:"off",autoCorrect:"off"})]})]}),(0,o.jsx)("div",{className:"w-full flex flex-row justify-end items-right",children:(0,o.jsx)("span",{className:"text-right text-info py-2 text-sm font-semi-bold underline",role:"button",onClick:function(){return e.onForgotPasswordCl
1icked()},children:"Lupa Password ?"})}),(0,o.jsxs)("button",{type:"submit",className:"py-2 bg-success rounded-md shadow-md mt-2 font-bold",onClick:function(){return e.onLoginClicked({username:null!==n&&void 0!==n?n:"",password:null!==f&&void 0!==f?f:"",captcha:null!==h&&void 0!==h?h:""})},disabled:e.disabledAllForms,children:[(0,o.jsx)("i",{className:"fas fa-sign-in-alt mr-1"}),"LOGIN"]}),(0,o.jsx)("span",{className:"text-center my-2 text-black",children:"Belum punya akun ?"}),(0,o.jsxs)("button",{type:"button",className:"py-2 bg-secondary-gradient rounded-md shadow-md mt-2 font-bold border border-secondary",onClick:function(){e.onClose(),x.push("/register")},children:[(0,o.jsx)("i",{className:"fas fa-user-plus mr-1"}),"DAFTAR"]})]}),(0,o.jsx)("div",{className:"w-full bg-primary-gradient-card border-t border-dark p-2 text-center text-secondary text-sm text-white",children:(0,o.jsxs)("p",{children:["Dengan menekan tombol login anda telah menyetujui segala bentuk ",(0,o.jsx)("span",{className:"text-warning",children:"Syarat & Ketentuan"})," yang ada."]})})]})})})})}},2909:function(e,t,n){n.r(t);var r=n(5893),a=n(3587),o=n(5211),l=n(7294);t.default=function(e){return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(a.u,{appear:!0,show:e.isOpen,as:l.Fragment,children:(0,r.jsx)(o.V,{as:"div",className:"fixed inset-0 z-50 overflow-y-auto px-1",onClose:e.onClose,children:(0,r.jsxs)("div",{className:"min-h-screen px-4 text-center",children:[(0,r.jsx)(a.u.Child,{as:l.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,r.jsx)(o.V.Overlay,{className:"fixed inset-0 bg-black bg-opacity-40 transition-opacity"})}),(0,r.jsx)("span",{className:"inline-block h-screen align-middle","aria-hidden":"true",children:"\u200b"}),(0,r.jsx)(a.u.Child,{as:l.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95",children:(0,r.jsx)("div",{className:"inline-block w-full max-w-md overflow-hidden text-left align-middle transition-all transform bg-dark shadow-xl rounded-md",children:e.children})})]})})})})}},1363:function(e,t,n){n.d(t,{R:function(){return a}});var r,a=((r=a||{}).Space=" ",r.Enter="Enter",r.Escape="Escape",r.Backspace="Backspace",r.Delete="Delete",r.ArrowLeft="ArrowLeft",r.ArrowUp="ArrowUp",r.ArrowRight="ArrowRight",r.ArrowDown="ArrowDown",r.Home="Home",r.End="End",r.PageUp="PageUp",r.PageDown="PageDown",r.Tab="Tab",r)},9946:function(e,t,n){n.d(t,{M:function(){return u}});var r,a=n(7294),o=n(6723),l=n(2180);let i=0;function s(){return++i}let u=null!=(r=a.useId)?r:function(){let e=(0,l.H)(),[t,n]=a.useState(e?s:null);return(0,o.e)((()=>{null===t&&n(s())}),[t]),null!=t?""+t:void 0}},6723:function(e,t,n){n.d(t,{e:function(){return a}});var r=n(7294);const a="undefined"!=typeof window?r.useLayoutEffect:r.useEffect},3855:function(e,t,n){n.d(t,{E:function(){return o}});var r=n(7294),a=n(6723);function o(e){let t=(0,r.useRef)(e);return(0,a.e)((()=>{t.current=e}),[e]),t}},2180:function(e,t,n){n.d(t,{H:function(){return o}});var r=n(7294);let a={serverHandoffComplete:!1};function o(){let[e,t]=(0,r.useState)(a.serverHandoffComplete);return(0,r.useEffect)((()=>{!0!==e&&t(!0)}),[e]),(0,r.useEffect)((()=>{!1===a.serverHandoffComplete&&(a.serverHandoffComplete=!0)}),[]),e}},3784:function(e,t,n){n.d(t,{T:function(){return l},h:function(){return o}});var r=n(7294);let a=Symbol();function o(e,t=!0){return Object.assign(e,{[a]:t})}function l(...e){let t=(0,r.useRef)(e);(0,r.useEffect)((()=>{t.current=e}),[e]);let n=(0,r.useCallback)((e=>{for(let n of t.current)null!=n&&("function"==typeof n?n(e):n.current=e)}),[t]);return e.every((e=>null==e||(null==e?void 0:e[a])))?void 0:n}},4575:function(e,t,n){n.d(t,{C5:function(){return d},TO:function(){return i},fE:function(){return s},jA:function(){return p},z2:function(){return m}});let r=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map((e=>`${e}:not([tabindex='-1'])`)).join(",");var a,o,l,i=((l=i||{})[l.First=1]="First",l[l.Previous=2]="Previous",l[l.Next=4]="Next",l[l.Last=8]="Last",l[l.WrapAround=16]="WrapAround",l[l.NoScroll=32]="NoScroll",l),s=((o=s||{})[o.Error=0]="Error",o[o.Overflow=1]="Overflow",o[o.Success=2]="Success",o[o.Underflow=3]="Underflow",o),u=((a=u||{})[a.Previous=-1]="Previous",a[a.Next=1]="Next",a);var c=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(c||{});function d(e){null==e||e.focus({preventScroll:!0})}let f=["textarea","input"].join(",");
1function m(e,t=(e=>e)){return e.slice().sort(((e,n)=>{let r=t(e),a=t(n);if(null===r||null===a)return 0;let o=r.compareDocumentPosition(a);return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0}))}function p(e,t){let n,a=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,o=Array.isArray(e)?m(e):function(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(r))}(e),l=a.activeElement,i=(()=>{if(5&t)return 1;if(10&t)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),s=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,o.indexOf(l))-1;if(4&t)return Math.max(0,o.indexOf(l))+1;if(8&t)return o.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=32&t?{preventScroll:!0}:{},c=0,d=o.length;do{if(c>=d||c+d<=0)return 0;let e=s+c;if(16&t)e=(e+d)%d;else{if(e<0)return 3;if(e>=d)return 1}n=o[e],null==n||n.focus(u),c+=i}while(n!==a.activeElement);return 6&t&&function(e){var t,n;return null!=(n=null==(t=null==e?void 0:e.matches)?void 0:t.call(e,f))&&n}(n)&&n.select(),n.hasAttribute("tabindex")||n.setAttribute("tabindex","0"),2}},2984:function(e,t,n){function r(e,t,...n){if(e in t){let r=t[e];return"function"==typeof r?r(...n):r}let a=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((e=>`"${e}"`)).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(a,r),a}n.d(t,{E:function(){return r}})},2351:function(e,t,n){n.d(t,{AN:function(){return i},l4:function(){return s},sY:function(){return u},yV:function(){return f}});var r,a,o=n(7294),l=n(2984),i=((a=i||{})[a.None=0]="None",a[a.RenderStrategy=1]="RenderStrategy",a[a.Static=2]="Static",a),s=((r=s||{})[r.Unmount=0]="Unmount",r[r.Hidden=1]="Hidden",r);function u({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:a,visible:o=!0,name:i}){let s=d(t,e);if(o)return c(s,n,r,i);let u=null!=a?a:0;if(2&u){let{static:e=!1,...t}=s;if(e)return c(t,n,r,i)}if(1&u){let{unmount:e=!0,...t}=s;return(0,l.E)(e?0:1,{0:()=>null,1:()=>c({...t,hidden:!0,style:{display:"none"}},n,r,i)})}return c(s,n,r,i)}function c(e,t={},n,r){let{as:a=n,children:l,refName:i="ref",...s}=p(e,["unmount","static"]),u=void 0!==e.ref?{[i]:e.ref}:{},c="function"==typeof l?l(t):l;if(s.className&&"function"==typeof s.className&&(s.className=s.className(t)),a===o.Fragment&&Object.keys(m(s)).length>0){if(!(0,o.isValidElement)(c)||Array.isArray(c)&&c.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(s).map((e=>`  - ${e}`)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map((e=>`  - ${e}`)).join("\n")].join("\n"));return(0,o.cloneElement)(c,Object.assign({},d(c.props,m(p(s,["ref"]))),u))}return(0,o.createElement)(a,Object.assign({},p(s,["ref"]),a!==o.Fragment&&u),c)}function d(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=n[e]||(n[e]=[]),n[e].push(r[e])):t[e]=r[e];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map((e=>[e,void 0]))));for(let r in n)Object.assign(t,{[r](e){let t=n[r];for(let n of t){if(e.defaultPrevented)return;n(e)}}});return t}function f(e){var t;return Object.assign((0,o.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function m(e){let t=Object.assign({},e);for(let n in t)void 0===t[n]&&delete t[n];return t}function p(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}}}]);

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.