1"use strict";(self.webpackChunknodebb=self.webpackChunknodebb||[]).push([[2067,3602],{5303(y,i,s){s.r(i),s.d(i,{alert:()=>f,confirm:()=>c,dialog:()=>m,prompt:()=>u,promptPassword:()=>d});var a=s(3530),P=s.n(a),r=s(7459),E=s.n(r);a.setDefaults({locale:config.userLang}),r.translateKeys(["modules:bootbox.ok","modules:bootbox.cancel","modules:bootbox.confirm"]).then(e=>{a.addLocale(config.userLang,{OK:e[0],CANCEL:e[1],CONFIRM:e[2]}),a.setLocale(config.userLang)});async function m(e){const[t,n,l]=await Promise.all([r.translate(e.title||""),o(e)||"",g(e.buttons)]);return a.dialog({...e,title:t,message:n,buttons:l})}async function f(e,t){const[n,l]=await Promise.all([e&&e.title?r.translate(e.title):null,o(e)]);return t=typeof t=="function"?t:e.callback,a.alert({...e,title:n,message:l,callback:t})}async function c(e,t){const[n,l]=await Promise.all([e&&e.title?r.translate(e.title):null,o(e)]);return t=typeof t=="function"?t:e.callback,a.confirm({...e,title:n,message:l,callback:t})}async function u(e,t){const[n,l]=await Promise.all([r.translate(typeof e=="string"?e:e.title),e&&e.message?o(e):null]);return t=typeof t=="function"?t:e.callback,a.prompt({...e,title:n,message:l,callback:t})}async function d(e){return typeof e=="string"&&(e={title:e}),e=e||{title:"[[user:current-password]]",message:"[[user:emailUpdate.password-challenge]]"},await new Promise(t=>{u({...e,inputType:"password",required:!0,value:"",callback:t})})}function o(e){const t=e&&e.message?e.message:e;return t instanceof jQuery?t:r.translate(t||"")}async function g(e){if(!Object.keys(e||{}).length)return;const t=Object.values(e);return await Promise.all(t.map(async n=>({...n,label:await r.translateKey(n.label)})))}}}]);
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.