text: /**
   * ANinit.js v1.0.4 | THE RIGHT THING SOLUTIONS d.o.o. | Andrej Grlica | andrej.grlica@right-thing.solutions.si 
   * User with Oracle APEX plug-in to render data
   * © 2020 Andrej Grlica
   * Dependencies : autonumeric.js@4.6.0
   * Released under the MIT License.
   */
  function ANgetNumStr(e,t,s){var i=document.createElement("input");return i.setAttribute("type","hidden"),{val:new AutoNumeric(i,s?(""+e).replace(",","."):e,t).getFormatted(),class:$(i).attr("class")}}function ANIGsetAliment(e){var t=$("div.ig-div-autonumeric:has(input[id^='"+e+"_']):first").parent();t.hasClass("u-tE")?$("#"+e).css("text-align","right"):t.hasClass("u-tC")&&$("#"+e).css("text-align","center")}function ANIGinit(e,t,s){var i=0;const a=$("#"+e);a.addClass("u-vh is-focusable").parent();$(document).ready(function(){ANIGsetAliment(e)}),apex.item.create(e,{setValue:function(i,a){if(AutoNumeric.isManagedByAutoNumeric("#"+this.id)){var u=AutoNumeric.getAutoNumericElement("#"+this.id);i?u.set(s?(""+i).replace(",","."):i):u.set(""),""==i&&u.settings.styleRules&&(u.settings.styleRules.ranges?Object.getOwnPropertyNames(u.settings.styleRules.ranges).forEach(function(t,s,i){"class"==t&&$("#"+e).removeClass(u.settings.styleRules.ranges[t])}):Object.getOwnPropertyNames(u.settings.styleRules).forEach(function(t,s,i){$("#"+e).removeClass(u.settings.styleRules[t])})),u.reformat()}else apex.jQuery("#"+this.id).val(s?(""+i).replace(",","."):i),new AutoNumeric("#"+this.id,t)},getValue:function(){var e="";if(AutoNumeric.isManagedByAutoNumeric("#"+this.id)){var t=AutoNumeric.getAutoNumericElement("#"+this.id);if(t.get()&&""!=t.get()){var i=t.getNumber();e=s?(""+i).replace(".",","):""+i}}return e},disable:function(){a.closest(".ig-div-autonumeric").removeClass("ig-div-autonumeric-enabled"),a.closest(".ig-div-autonumeric").addClass("ig-div-autonumeric-disabled"),a.attr("readonly","readonly"),a.addClass("apex_disabled")},isDisabled:function(){return a.closest(".ig-div-autonumeric").hasClass("ig-div-autonumeric-disabled")},enable:function(){a.closest(".ig-div-autonumeric").removeClass("ig-div-autonumeric-disabled"),a.closest(".ig-div-autonumeric").addClass("ig-div-autonumeric-enabled"),a.removeAttr("readonly"),a.removeClass("apex_disabled")},displayValueFor:function(a){return function(a){var u=ANgetNumStr(a,t,s);const r=apex.util.htmlBuilder();return r.markup("<div").attr("class","ig-div-autonumeric "+(u.class?"ig-autonumeric-custom "+u.class:"")).attr("class").markup("><input").attr("type","hidden").attr("class","ig-auto-numeric").attr("id",e+"_"+i+"_0").attr("name",e+"_"+i).attr("value",s?(""+a).replace(".",","):a).attr("tabindex",-1).markup(" /><label").attr("for",e+"_"+i+"_0").markup(">").content(u.val).markup("</label>").markup("</div>"),i+=1,r.toString()}(a)}})}function ANForminit(e,t,s){new AutoNumeric("#"+e,t),apex.widget.initPageItem(e,{setValue:function(i,a){if(AutoNumeric.isManagedByAutoNumeric("#"+this.id)){var u=AutoNumeric.getAutoNumericElement("#"+this.id);i?u.set(s?(""+i).replace(",","."):i):u.set(""),""==i&&u.settings.styleRules&&(u.settings.styleRules.ranges?Object.getOwnPropertyNames(u.settings.styleRules.ranges).forEach(function(t,s,i){"class"==t&&$("#"+e).removeClass(u.settings.styleRules.ranges[t])}):Object.getOwnPropertyNames(u.settings.styleRules).forEach(function(t,s,i){$("#"+e).removeClass(u.settings.styleRules[t])})),u.reformat()}else apex.jQuery("#"+this.id).val(s?(""+i).replace(",","."):i),new AutoNumeric("#"+this.id,t)},isChanged:function(){return this.node.defaultValue!=this.getValue()},getValue:function(){var e="";if(AutoNumeric.isManagedByAutoNumeric("#"+this.id)){var t=AutoNumeric.getAutoNumericElement("#"+this.id);if(t.get()&&""!=t.get()){var i=t.getNumber();e=s?(""+i).replace(".",","):""+i}}return e}}),$("#"+e).focusin(function(e){$(this).parents(":eq(2)").addClass("is-active")}),$("#"+e).focusout(function(){$(this).parents(":eq(2)").removeClass("is-active")})}