1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 00:11:35 +02:00
invoiceninja/public/js/localization.min.js

6 lines
126 KiB
JavaScript
Raw Normal View History

2019-04-26 12:51:02 +02:00
!function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=4)}({"162o":function(e,t,n){(function(e){function r(e,t){this._id=e,this._clearFn=t}var i=void 0!==e&&e||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;t.setTimeout=function(){return new r(o.call(setTimeout,i,arguments),clearTimeout)},t.setInterval=function(){return new r(o.call(setInterval,i,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(i,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n("mypn"),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(t,n("DuR2"))},4:function(e,t,n){e.exports=n("W5/q")},DuR2:function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},"I3G/":function(e,t,n){"use strict";(function(t,n){function r(e){return void 0===e||null===e}function i(e){return void 0!==e&&null!==e}function o(e){return!0===e}function a(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function s(e){return null!==e&&"object"==typeof e}function c(e){return"[object Object]"===zn.call(e)}function u(e){return"[object RegExp]"===zn.call(e)}function l(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function f(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function p(e){var t=parseFloat(e);return isNaN(t)?e:t}function d(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}function h(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}function v(e,t){return Kn.call(e,t)}function m(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}function g(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function y(e,t){for(var n in t)e[n]=t[n];return e}function b(e){for(var t={},n=0;n<e.length;n++)e[n]&&y(t,e[n]);return t}function _(e,t,n){}function x(e,t){if(e===t)return!0;var n=s(e),r=s(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{var i=Array.isArray(e),o=Array.isArray(t);if(i&&o)return e.length===t.length&&e.every(function(e,n){return x(e,t[n])});if(i||o)return!1;var a=Object.keys(e),c=Object.keys(t);return a.length===c.length&&a.every(function(n){return x(e[n],t[n])})}catch(e){return!1}}function w(e,t){for(var n=0;n<e.length;n++)if(x(e[n],t))return n;return-1}function O(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}function $(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function C(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function k(e){return"function"==typeof e&&/native code/.test(e.toString())}function S(e){Cr.target&&kr.push(Cr.target),Cr.target=e}function A(){Cr.target=kr.pop()}function T(e){return new Sr(void 0,void 0,void 0,String(e))}function j(e){var t=new Sr(e.tag,e.data,e.children,e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fn
for(var a=o.css,c=o.type,u=o.enterClass,l=o.enterToClass,f=o.enterActiveClass,d=o.appearClass,h=o.appearToClass,v=o.appearActiveClass,m=o.beforeEnter,g=o.enter,y=o.afterEnter,b=o.enterCancelled,_=o.beforeAppear,x=o.appear,w=o.afterAppear,$=o.appearCancelled,C=o.duration,k=qr,S=qr.$vnode;S&&S.parent;)k=(S=S.parent).context;var A=!k._isMounted||!e.isRootInsert;if(!A||x||""===x){var T=A&&d?d:u,j=A&&v?v:f,E=A&&h?h:l,L=A&&_||m,M=A&&"function"==typeof x?x:g,P=A&&w||y,I=A&&$||b,N=p(s(C)?C.enter:C),D=!1!==a&&!dr,F=Yt(M),R=n._enterCb=O(function(){D&&(zt(n,E),zt(n,j)),R.cancelled?(D&&zt(n,T),I&&I(n)):P&&P(n),n._enterCb=null});e.data.show||ne(e,"insert",function(){var t=n.parentNode,r=t&&t._pending&&t._pending[e.key];r&&r.tag===e.tag&&r.elm._leaveCb&&r.elm._leaveCb(),M&&M(n,R)}),L&&L(n),D&&(Ut(n,T),Ut(n,j),Ht(function(){zt(n,T),R.cancelled||(Ut(n,E),F||(Xt(N)?setTimeout(R,N):Jt(n,c,R)))})),e.data.show&&(t&&t(),M&&M(n,R)),D||F||R()}}}function Zt(e,t){function n(){$.cancelled||(e.data.show||((o.parentNode._pending||(o.parentNode._pending={}))[e.key]=e),h&&h(o),_&&(Ut(o,l),Ut(o,d),Ht(function(){zt(o,l),$.cancelled||(Ut(o,f),x||(Xt(w)?setTimeout($,w):Jt(o,u,$)))})),v&&v(o,$),_||x||$())}var o=e.elm;i(o._enterCb)&&(o._enterCb.cancelled=!0,o._enterCb());var a=Vt(e.data.transition);if(r(a)||1!==o.nodeType)return t();if(!i(o._leaveCb)){var c=a.css,u=a.type,l=a.leaveClass,f=a.leaveToClass,d=a.leaveActiveClass,h=a.beforeLeave,v=a.leave,m=a.afterLeave,g=a.leaveCancelled,y=a.delayLeave,b=a.duration,_=!1!==c&&!dr,x=Yt(v),w=p(s(b)?b.leave:b),$=o._leaveCb=O(function(){o.parentNode&&o.parentNode._pending&&(o.parentNode._pending[e.key]=null),_&&(zt(o,f),zt(o,d)),$.cancelled?(_&&zt(o,l),g&&g(o)):(t(),m&&m(o)),o._leaveCb=null});y?y(n):n()}}function Xt(e){return"number"==typeof e&&!isNaN(e)}function Yt(e){if(r(e))return!1;var t=e.fns;return i(t)?Yt(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function Qt(e,t){!0!==t.data.show&&Gt(t)}function en(e,t,n){tn(e,t,n),(pr||hr)&&setTimeout(function(){tn(e,t,n)},0)}function tn(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,c=e.options.length;s<c;s++)if(a=e.options[s],i)o=w(r,rn(a))>-1,a.selected!==o&&(a.selected=o);else if(x(rn(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function nn(e,t){return t.every(function(t){return!x(t,e)})}function rn(e){return"_value"in e?e._value:e.value}function on(e){e.target.composing=!0}function an(e){e.target.composing&&(e.target.composing=!1,sn(e.target,"input"))}function sn(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function cn(e){return!e.componentInstance||e.data&&e.data.transition?e:cn(e.componentInstance._vnode)}function un(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?un(ce(t.children)):e}function ln(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var o in i)t[Gn(o)]=i[o];return t}function fn(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function pn(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function dn(e){e.data.newPos=e.elm.getBoundingClientRect()}function hn(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}function vn(e,t){var n=t?Oo(t):xo;if(n.test(e)){for(var r,i,o,a=[],s=[],c=n.lastIndex=0;r=n.exec(e);){(i=r.index)>c&&(s.push(o=e.slice(c,i)),a.push(JSON.stringify(o)));var u=dt(r[1].trim());a.push("_s("+u+")"),s.push({"@binding":u}),c=i+r[0].length}return c<e.length&&(s.push(o=e.slice(c)),a.push(JSON.stringify(o))),{expression:a.join("+"),tokens:s}}}function mn(e,t){var n=t?ea:Qo;return e.replace(n,function(e){return Yo[e]})}function gn(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:function(e){for(var t={},n=0,r=e.length;n<r;n++)t[e[n].name]=e[n].value;return t}(t),parent:n,children:[]}}function yn(e,t){function n(e){e.pre&&(s=!1),Jo(e.tag)&&(c=!1);for(var n=0;n<zo.length;n++)
;if(t.indexOf(e)>-1)return this;var n=g(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=H(this.options,e),this}}(e),Je(e),function(e){rr.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&c(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}(e)}(ze),Object.defineProperty(ze.prototype,"$isServer",{get:_r}),Object.defineProperty(ze.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(ze,"FunctionalRenderContext",{value:De}),ze.version="2.5.17";var pi,di,hi,vi,mi,gi,yi,bi,_i=d("style,class"),xi=d("input,textarea,option,select,progress"),wi=function(e,t,n){return"value"===n&&xi(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Oi=d("contenteditable,draggable,spellcheck"),$i=d("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Ci="http://www.w3.org/1999/xlink",ki=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Si=function(e){return ki(e)?e.slice(6,e.length):""},Ai=function(e){return null==e||!1===e},Ti={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},ji=d("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Ei=d("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Li=function(e){return ji(e)||Ei(e)},Mi=Object.create(null),Pi=d("text,number,password,search,email,tel,url"),Ii=Object.freeze({createElement:function(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)},createElementNS:function(e,t){return document.createElementNS(Ti[e],t)},createTextNode:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},insertBefore:function(e,t,n){e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){e.textContent=t},setStyleScope:function(e,t){e.setAttribute(t,"")}}),Ni={create:function(e,t){nt(t)},update:function(e,t){e.data.ref!==t.data.ref&&(nt(e,!0),nt(t))},destroy:function(e){nt(e,!0)}},Di=new Sr("",{},[]),Fi=["create","activate","update","remove","destroy"],Ri={create:ot,update:ot,destroy:function(e){ot(e,Di)}},Bi=Object.create(null),Vi=[Ni,Ri],Hi={create:ut,update:ut},Ui={create:pt,update:pt},zi=/[\w).+\-_$\]]/,Ji="__r",Wi="__c",Ki={create:Mt,update:Mt},qi={create:Pt,update:Pt},Gi=m(function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach(function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}),Zi=/^--/,Xi=/\s*!important$/,Yi=function(e,t,n){if(Zi.test(t))e.
var e,t=n(32)("iframe"),r=o.length;for(t.style.display="none",n(60).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),u=e.F;r--;)delete u[c][o[r]];return u()};e.exports=Object.create||function(e,t){var n;return null!==e?(s[c]=r(e),n=new s,s[c]=null,n[a]=e):n=u(),void 0===t?n:i(n,t)}},function(e,t,n){var r=n(38),i=n(17).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(4),i=n(7),o=n(57)(!1),a=n(22)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),c=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);for(;t.length>c;)r(s,n=t[c++])&&(~o(u,n)||u.push(n));return u}},function(e,t,n){e.exports=n(6)},function(e,t,n){var r=n(16);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=r(n(45)),o=r(n(48)),a=r(n(43)),s=r(n(49)),c=r(n(29)),u=r(n(30)),l=r(n(28));t.default={mixins:[c.default,u.default,l.default],props:{value:{default:null},options:{type:Array,default:function(){return[]}},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},maxHeight:{type:String,default:"400px"},searchable:{type:Boolean,default:!0},multiple:{type:Boolean,default:!1},placeholder:{type:String,default:""},transition:{type:String,default:"fade"},clearSearchOnSelect:{type:Boolean,default:!0},closeOnSelect:{type:Boolean,default:!0},label:{type:String,default:"label"},index:{type:String,default:null},getOptionLabel:{type:Function,default:function(e){return this.index&&(e=this.findOptionByIndexValue(e)),"object"===(void 0===e?"undefined":(0,s.default)(e))?e.hasOwnProperty(this.label)?e[this.label]:console.warn('[vue-select warn]: Label key "option.'+this.label+'" does not exist in options object '+(0,a.default)(e)+".\nhttp://sagalbot.github.io/vue-select/#ex-labels"):e}},onChange:{type:Function,default:function(e){this.$emit("input",e)}},onTab:{type:Function,default:function(){this.selectOnTab&&this.typeAheadSelect()}},taggable:{type:Boolean,default:!1},tabindex:{type:Number,default:null},pushTags:{type:Boolean,default:!1},filterable:{type:Boolean,default:!0},filterBy:{type:Function,default:function(e,t,n){return(t||"").toLowerCase().indexOf(n.toLowerCase())>-1}},filter:{type:Function,default:function(e,t){var n=this;return e.filter(function(e){var r=n.getOptionLabel(e);return"number"==typeof r&&(r=r.toString()),n.filterBy(e,r,t)})}},createOption:{type:Function,default:function(e){return"object"===(0,s.default)(this.mutableOptions[0])&&(e=(0,o.default)({},this.label,e)),this.$emit("option:created",e),e}},resetOnOptionsChange:{type:Boolean,default:!1},noDrop:{type:Boolean,default:!1},inputId:{type:String},dir:{type:String,default:"auto"},selectOnTab:{type:Boolean,default:!1}},data:function(){return{search:"",open:!1,mutableValue:null,mutableOptions:[]}},watch:{value:function(e){this.mutableValue=e},mutableValue:function(e,t){this.multiple?this.onChange&&this.onChange(e):this.onChange&&e!==t&&this.onChange(e)},options:function(e){this.mutableOptions=e},mutableOptions:function(){!this.taggable&&this.resetOnOptionsChange&&(this.mutableValue=this.multiple?[]:null)},multiple:function(e){this.mutableValue=e?[]:null}},created:function(){this.mutableValue=this.value,this.mutableOptions=this.options.slice(0),this.mutableLoading=this.loading,this.$on("option:created",this.maybePushTag)},methods:{select:function(e){if(!this.isOptionSelected(e)){if(this.taggable&&!this.optionExists(e)&&(e=this.createOption(e)),this.index){if(!e.hasOwnProperty(this.index))return console.warn('[vue-select warn]: Index key "option.'+this.index+'" does not exist in options object '+(0,a.default)(e)+".");e=e[this.index]}this.multiple&&!this.mutableValue?this.mutableValue=[e]:this.multiple?this.mutableValue.push(e):this.mutableValue=e}this.onAfterSelect(e)},deselect:function(e){var t=this;if(this.multiple){var n=-1;this.mutableValue.forEach(function(r){(r===e||t.index&&r===e[t.in
t.nextTick(function(){i(e)})}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?(c="setImmediate$"+Math.random()+"$",u=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(c)&&i(+t.data.slice(c.length))},e.addEventListener?e.addEventListener("message",u,!1):e.attachEvent("onmessage",u),o=function(t){e.postMessage(c+t,"*")}):e.MessageChannel?((s=new MessageChannel).port1.onmessage=function(e){i(e.data)},o=function(e){s.port2.postMessage(e)}):d&&"onreadystatechange"in d.createElement("script")?(a=d.documentElement,o=function(e){var t=d.createElement("script");t.onreadystatechange=function(){i(e),t.onreadystatechange=null,a.removeChild(t),t=null},a.appendChild(t)}):o=function(e){setTimeout(i,0,e)},h.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var r={callback:e,args:t};return f[l]=r,o(l),l++},h.clearImmediate=r}}("undefined"==typeof self?void 0===e?this:e:self)}).call(t,n("DuR2"),n("W2nU"))}});